UNPKG

attio-js

Version:

Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.

16 lines 976 B
import { AttioCore } from "../core.js"; import { RequestOptions } from "../lib/sdks.js"; import { APIError } from "../models/errors/apierror.js"; import { ConnectionError, InvalidRequestError, RequestAbortedError, RequestTimeoutError, UnexpectedClientError } from "../models/errors/httpclienterrors.js"; import { SDKValidationError } from "../models/errors/sdkvalidationerror.js"; import { GetV2SelfResponse } from "../models/operations/getv2self.js"; import { APIPromise } from "../types/async.js"; import { Result } from "../types/fp.js"; /** * Identify * * @remarks * Identify the current access token, the workspace it is linked to, and any permissions it has. */ export declare function metaIdentify(client: AttioCore, options?: RequestOptions): APIPromise<Result<GetV2SelfResponse, APIError | SDKValidationError | UnexpectedClientError | InvalidRequestError | RequestAbortedError | RequestTimeoutError | ConnectionError>>; //# sourceMappingURL=metaIdentify.d.ts.map