import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type UpdateOrgRateLimitRequestBody = { rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; rateLimitMax?: number | null | undefined; }; export type UpdateOrgRateLimitRequest = { orgId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; requestBody?: UpdateOrgRateLimitRequestBody | undefined; }; /** * OK */ export type UpdateOrgRateLimitResponseBody = { id: string; rateLimitEnabled: boolean; rateLimitTimeWindow: number | null; rateLimitMax: number | null; }; /** @internal */ export declare const UpdateOrgRateLimitRequestBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateOrgRateLimitRequestBody$Outbound = { rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; rateLimitMax?: number | null | undefined; }; /** @internal */ export declare const UpdateOrgRateLimitRequestBody$outboundSchema: z.ZodType; export declare function updateOrgRateLimitRequestBodyToJSON(updateOrgRateLimitRequestBody: UpdateOrgRateLimitRequestBody): string; export declare function updateOrgRateLimitRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateOrgRateLimitRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdateOrgRateLimitRequest$Outbound = { orgId: string; "X-On-Behalf-Of"?: string | undefined; RequestBody?: UpdateOrgRateLimitRequestBody$Outbound | undefined; }; /** @internal */ export declare const UpdateOrgRateLimitRequest$outboundSchema: z.ZodType; export declare function updateOrgRateLimitRequestToJSON(updateOrgRateLimitRequest: UpdateOrgRateLimitRequest): string; export declare function updateOrgRateLimitRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateOrgRateLimitResponseBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateOrgRateLimitResponseBody$Outbound = { id: string; rateLimitEnabled: boolean; rateLimitTimeWindow: number | null; rateLimitMax: number | null; }; /** @internal */ export declare const UpdateOrgRateLimitResponseBody$outboundSchema: z.ZodType; export declare function updateOrgRateLimitResponseBodyToJSON(updateOrgRateLimitResponseBody: UpdateOrgRateLimitResponseBody): string; export declare function updateOrgRateLimitResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=updateorgratelimit.d.ts.map