import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type UpdateServiceAccountApiKeyRequestBody = { scopes: Array; name?: string | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; rateLimitMax?: number | undefined; }; export type UpdateServiceAccountApiKeyRequest = { orgId: string; saId: string; keyId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; requestBody?: UpdateServiceAccountApiKeyRequestBody | undefined; }; /** * OK */ export type UpdateServiceAccountApiKeyResponseBody = { id: string; updated: boolean; }; /** @internal */ export declare const UpdateServiceAccountApiKeyRequestBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateServiceAccountApiKeyRequestBody$Outbound = { scopes: Array; name?: string | undefined; rateLimitEnabled?: boolean | undefined; rateLimitTimeWindow?: number | undefined; rateLimitMax?: number | undefined; }; /** @internal */ export declare const UpdateServiceAccountApiKeyRequestBody$outboundSchema: z.ZodType; export declare function updateServiceAccountApiKeyRequestBodyToJSON(updateServiceAccountApiKeyRequestBody: UpdateServiceAccountApiKeyRequestBody): string; export declare function updateServiceAccountApiKeyRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateServiceAccountApiKeyRequest$inboundSchema: z.ZodType; /** @internal */ export type UpdateServiceAccountApiKeyRequest$Outbound = { orgId: string; saId: string; keyId: string; "X-On-Behalf-Of"?: string | undefined; RequestBody?: UpdateServiceAccountApiKeyRequestBody$Outbound | undefined; }; /** @internal */ export declare const UpdateServiceAccountApiKeyRequest$outboundSchema: z.ZodType; export declare function updateServiceAccountApiKeyRequestToJSON(updateServiceAccountApiKeyRequest: UpdateServiceAccountApiKeyRequest): string; export declare function updateServiceAccountApiKeyRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const UpdateServiceAccountApiKeyResponseBody$inboundSchema: z.ZodType; /** @internal */ export type UpdateServiceAccountApiKeyResponseBody$Outbound = { id: string; updated: boolean; }; /** @internal */ export declare const UpdateServiceAccountApiKeyResponseBody$outboundSchema: z.ZodType; export declare function updateServiceAccountApiKeyResponseBodyToJSON(updateServiceAccountApiKeyResponseBody: UpdateServiceAccountApiKeyResponseBody): string; export declare function updateServiceAccountApiKeyResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=updateserviceaccountapikey.d.ts.map