@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
15 lines • 708 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 V2IdentitiesUpdateIdentityRequestBody$outboundSchema = z.object({
identity: z.string(),
meta: z.record(z.any()).optional(),
ratelimits: z.array(RatelimitRequest$outboundSchema).optional(),
});
export function v2IdentitiesUpdateIdentityRequestBodyToJSON(v2IdentitiesUpdateIdentityRequestBody) {
return JSON.stringify(V2IdentitiesUpdateIdentityRequestBody$outboundSchema.parse(v2IdentitiesUpdateIdentityRequestBody));
}
//# sourceMappingURL=v2identitiesupdateidentityrequestbody.js.map