import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type RegenerateServiceAccountApiKeyRequest = { orgId: string; saId: string; keyId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; }; /** * Rotated (new plaintext returned once) */ export type RegenerateServiceAccountApiKeyResponseBody = { id: string; key: string; start: string; }; /** @internal */ export declare const RegenerateServiceAccountApiKeyRequest$inboundSchema: z.ZodType; /** @internal */ export type RegenerateServiceAccountApiKeyRequest$Outbound = { orgId: string; saId: string; keyId: string; "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const RegenerateServiceAccountApiKeyRequest$outboundSchema: z.ZodType; export declare function regenerateServiceAccountApiKeyRequestToJSON(regenerateServiceAccountApiKeyRequest: RegenerateServiceAccountApiKeyRequest): string; export declare function regenerateServiceAccountApiKeyRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const RegenerateServiceAccountApiKeyResponseBody$inboundSchema: z.ZodType; /** @internal */ export type RegenerateServiceAccountApiKeyResponseBody$Outbound = { id: string; key: string; start: string; }; /** @internal */ export declare const RegenerateServiceAccountApiKeyResponseBody$outboundSchema: z.ZodType; export declare function regenerateServiceAccountApiKeyResponseBodyToJSON(regenerateServiceAccountApiKeyResponseBody: RegenerateServiceAccountApiKeyResponseBody): string; export declare function regenerateServiceAccountApiKeyResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=regenerateserviceaccountapikey.d.ts.map