attio-js
Version:
Developer-friendly & type-safe JS/TS SDK based on the official OpenAPI spec of Attio.
26 lines (23 loc) • 654 B
text/typescript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import { metaIdentify } from "../funcs/metaIdentify.js";
import { ClientSDK, RequestOptions } from "../lib/sdks.js";
import { GetV2SelfResponse } from "../models/operations/getv2self.js";
import { unwrapAsync } from "../types/fp.js";
export class Meta extends ClientSDK {
/**
* Identify
*
* @remarks
* Identify the current access token, the workspace it is linked to, and any permissions it has.
*/
async identify(
options?: RequestOptions,
): Promise<GetV2SelfResponse> {
return unwrapAsync(metaIdentify(
this,
options,
));
}
}