@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
33 lines • 2.18 kB
TypeScript
import * as z from "zod";
import { Result as SafeParseResult } from "../../types/fp.js";
import { SDKValidationError } from "../errors/sdkvalidationerror.js";
import { Meta, Meta$Outbound } from "./meta.js";
import { RatelimitDeleteOverrideResponseData, RatelimitDeleteOverrideResponseData$Outbound } from "./ratelimitdeleteoverrideresponsedata.js";
export type V2RatelimitDeleteOverrideResponseBody = {
meta: Meta;
data: RatelimitDeleteOverrideResponseData;
};
/** @internal */
export declare const V2RatelimitDeleteOverrideResponseBody$inboundSchema: z.ZodType<V2RatelimitDeleteOverrideResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type V2RatelimitDeleteOverrideResponseBody$Outbound = {
meta: Meta$Outbound;
data: RatelimitDeleteOverrideResponseData$Outbound;
};
/** @internal */
export declare const V2RatelimitDeleteOverrideResponseBody$outboundSchema: z.ZodType<V2RatelimitDeleteOverrideResponseBody$Outbound, z.ZodTypeDef, V2RatelimitDeleteOverrideResponseBody>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace V2RatelimitDeleteOverrideResponseBody$ {
/** @deprecated use `V2RatelimitDeleteOverrideResponseBody$inboundSchema` instead. */
const inboundSchema: z.ZodType<V2RatelimitDeleteOverrideResponseBody, z.ZodTypeDef, unknown>;
/** @deprecated use `V2RatelimitDeleteOverrideResponseBody$outboundSchema` instead. */
const outboundSchema: z.ZodType<V2RatelimitDeleteOverrideResponseBody$Outbound, z.ZodTypeDef, V2RatelimitDeleteOverrideResponseBody>;
/** @deprecated use `V2RatelimitDeleteOverrideResponseBody$Outbound` instead. */
type Outbound = V2RatelimitDeleteOverrideResponseBody$Outbound;
}
export declare function v2RatelimitDeleteOverrideResponseBodyToJSON(v2RatelimitDeleteOverrideResponseBody: V2RatelimitDeleteOverrideResponseBody): string;
export declare function v2RatelimitDeleteOverrideResponseBodyFromJSON(jsonString: string): SafeParseResult<V2RatelimitDeleteOverrideResponseBody, SDKValidationError>;
//# sourceMappingURL=v2ratelimitdeleteoverrideresponsebody.d.ts.map