UNPKG

@unkey/api

Version:

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

19 lines 1.07 kB
import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { KeyCreditsData } from "./keycreditsdata.js"; import { Meta } from "./meta.js"; export type V2KeysUpdateCreditsResponseBody = { /** * Metadata object included in every API response. This provides context about the request and is essential for debugging, audit trails, and support inquiries. The `requestId` is particularly important when troubleshooting issues with the Unkey support team. */ meta: Meta; /** * Credit configuration and remaining balance for this key. */ data: KeyCreditsData; }; /** @internal */ export declare const V2KeysUpdateCreditsResponseBody$inboundSchema: z.ZodType<V2KeysUpdateCreditsResponseBody, z.ZodTypeDef, unknown>; export declare function v2KeysUpdateCreditsResponseBodyFromJSON(jsonString: string): SafeParseResult<V2KeysUpdateCreditsResponseBody, SDKValidationError>; //# sourceMappingURL=v2keysupdatecreditsresponsebody.d.ts.map