@unkey/api
Version:
Developer-friendly & type-safe Typescript SDK specifically catered to leverage *@unkey/api* API.
33 lines • 2.03 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 { RatelimitOverride, RatelimitOverride$Outbound } from "./ratelimitoverride.js";
export type V2RatelimitGetOverrideResponseBody = {
meta: Meta;
data: RatelimitOverride;
};
/** @internal */
export declare const V2RatelimitGetOverrideResponseBody$inboundSchema: z.ZodType<V2RatelimitGetOverrideResponseBody, z.ZodTypeDef, unknown>;
/** @internal */
export type V2RatelimitGetOverrideResponseBody$Outbound = {
meta: Meta$Outbound;
data: RatelimitOverride$Outbound;
};
/** @internal */
export declare const V2RatelimitGetOverrideResponseBody$outboundSchema: z.ZodType<V2RatelimitGetOverrideResponseBody$Outbound, z.ZodTypeDef, V2RatelimitGetOverrideResponseBody>;
/**
* @internal
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
*/
export declare namespace V2RatelimitGetOverrideResponseBody$ {
/** @deprecated use `V2RatelimitGetOverrideResponseBody$inboundSchema` instead. */
const inboundSchema: z.ZodType<V2RatelimitGetOverrideResponseBody, z.ZodTypeDef, unknown>;
/** @deprecated use `V2RatelimitGetOverrideResponseBody$outboundSchema` instead. */
const outboundSchema: z.ZodType<V2RatelimitGetOverrideResponseBody$Outbound, z.ZodTypeDef, V2RatelimitGetOverrideResponseBody>;
/** @deprecated use `V2RatelimitGetOverrideResponseBody$Outbound` instead. */
type Outbound = V2RatelimitGetOverrideResponseBody$Outbound;
}
export declare function v2RatelimitGetOverrideResponseBodyToJSON(v2RatelimitGetOverrideResponseBody: V2RatelimitGetOverrideResponseBody): string;
export declare function v2RatelimitGetOverrideResponseBodyFromJSON(jsonString: string): SafeParseResult<V2RatelimitGetOverrideResponseBody, SDKValidationError>;
//# sourceMappingURL=v2ratelimitgetoverrideresponsebody.d.ts.map