UNPKG

@unkey/api

Version:

Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.

22 lines (19 loc) 658 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import { identitiesCreateIdentity } from "../funcs/identitiesCreateIdentity.js"; import { ClientSDK, RequestOptions } from "../lib/sdks.js"; import * as components from "../models/components/index.js"; import { unwrapAsync } from "../types/fp.js"; export class Identities extends ClientSDK { async createIdentity( request: components.V2IdentitiesCreateIdentityRequestBody, options?: RequestOptions, ): Promise<components.V2IdentitiesCreateIdentityResponseBody> { return unwrapAsync(identitiesCreateIdentity( this, request, options, )); } }