import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type GetServiceAccountRequest = { orgId: string; saId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; }; export type GetServiceAccountServiceAccount = { id: string; orgId: string; name: string; createdAt: string; }; export type GetServiceAccountTeams = { id: string; teamId: string; }; /** * OK */ export type GetServiceAccountResponseBody = { serviceAccount: GetServiceAccountServiceAccount; teams: Array; }; /** @internal */ export declare const GetServiceAccountRequest$inboundSchema: z.ZodType; /** @internal */ export type GetServiceAccountRequest$Outbound = { orgId: string; saId: string; "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const GetServiceAccountRequest$outboundSchema: z.ZodType; export declare function getServiceAccountRequestToJSON(getServiceAccountRequest: GetServiceAccountRequest): string; export declare function getServiceAccountRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetServiceAccountServiceAccount$inboundSchema: z.ZodType; /** @internal */ export type GetServiceAccountServiceAccount$Outbound = { id: string; orgId: string; name: string; createdAt: string; }; /** @internal */ export declare const GetServiceAccountServiceAccount$outboundSchema: z.ZodType; export declare function getServiceAccountServiceAccountToJSON(getServiceAccountServiceAccount: GetServiceAccountServiceAccount): string; export declare function getServiceAccountServiceAccountFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetServiceAccountTeams$inboundSchema: z.ZodType; /** @internal */ export type GetServiceAccountTeams$Outbound = { id: string; teamId: string; }; /** @internal */ export declare const GetServiceAccountTeams$outboundSchema: z.ZodType; export declare function getServiceAccountTeamsToJSON(getServiceAccountTeams: GetServiceAccountTeams): string; export declare function getServiceAccountTeamsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const GetServiceAccountResponseBody$inboundSchema: z.ZodType; /** @internal */ export type GetServiceAccountResponseBody$Outbound = { serviceAccount: GetServiceAccountServiceAccount$Outbound; teams: Array; }; /** @internal */ export declare const GetServiceAccountResponseBody$outboundSchema: z.ZodType; export declare function getServiceAccountResponseBodyToJSON(getServiceAccountResponseBody: GetServiceAccountResponseBody): string; export declare function getServiceAccountResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=getserviceaccount.d.ts.map