import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type CreateServiceAccountRequestBody = { name: string; }; export type CreateServiceAccountRequest = { orgId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; requestBody?: CreateServiceAccountRequestBody | undefined; }; export type ServiceAccount = { id: string; orgId: string; name: string; createdAt: string; }; /** * Service account created */ export type CreateServiceAccountResponseBody = { serviceAccount: ServiceAccount; }; /** @internal */ export declare const CreateServiceAccountRequestBody$inboundSchema: z.ZodType; /** @internal */ export type CreateServiceAccountRequestBody$Outbound = { name: string; }; /** @internal */ export declare const CreateServiceAccountRequestBody$outboundSchema: z.ZodType; export declare function createServiceAccountRequestBodyToJSON(createServiceAccountRequestBody: CreateServiceAccountRequestBody): string; export declare function createServiceAccountRequestBodyFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateServiceAccountRequest$inboundSchema: z.ZodType; /** @internal */ export type CreateServiceAccountRequest$Outbound = { orgId: string; "X-On-Behalf-Of"?: string | undefined; RequestBody?: CreateServiceAccountRequestBody$Outbound | undefined; }; /** @internal */ export declare const CreateServiceAccountRequest$outboundSchema: z.ZodType; export declare function createServiceAccountRequestToJSON(createServiceAccountRequest: CreateServiceAccountRequest): string; export declare function createServiceAccountRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ServiceAccount$inboundSchema: z.ZodType; /** @internal */ export type ServiceAccount$Outbound = { id: string; orgId: string; name: string; createdAt: string; }; /** @internal */ export declare const ServiceAccount$outboundSchema: z.ZodType; export declare function serviceAccountToJSON(serviceAccount: ServiceAccount): string; export declare function serviceAccountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const CreateServiceAccountResponseBody$inboundSchema: z.ZodType; /** @internal */ export type CreateServiceAccountResponseBody$Outbound = { serviceAccount: ServiceAccount$Outbound; }; /** @internal */ export declare const CreateServiceAccountResponseBody$outboundSchema: z.ZodType; export declare function createServiceAccountResponseBodyToJSON(createServiceAccountResponseBody: CreateServiceAccountResponseBody): string; export declare function createServiceAccountResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=createserviceaccount.d.ts.map