@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
15 lines • 710 B
JavaScript
/*
* Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
*/
import * as z from "zod/v3";
import { RatelimitRequest$outboundSchema, } from "./ratelimitrequest.js";
/** @internal */
export const V2IdentitiesCreateIdentityRequestBody$outboundSchema = z.object({
externalId: z.string(),
meta: z.record(z.any()).optional(),
ratelimits: z.array(RatelimitRequest$outboundSchema).optional(),
});
export function v2IdentitiesCreateIdentityRequestBodyToJSON(v2IdentitiesCreateIdentityRequestBody) {
return JSON.stringify(V2IdentitiesCreateIdentityRequestBody$outboundSchema.parse(v2IdentitiesCreateIdentityRequestBody));
}
//# sourceMappingURL=v2identitiescreateidentityrequestbody.js.map