import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type ListServiceAccountApiKeysRequest = { orgId: string; saId: string; /** * Optional external end-user identifier forwarded by the API gateway. */ xOnBehalfOf?: string | undefined; }; export declare const ListServiceAccountApiKeysUserType: { readonly User: "user"; readonly ServiceAccount: "service-account"; }; export type ListServiceAccountApiKeysUserType = ClosedEnum; export type ListServiceAccountApiKeysResponseBody = { id: string; name?: string | null | undefined; key?: string | undefined; prefix?: string | null | undefined; start?: string | null | undefined; userId: string; userType: ListServiceAccountApiKeysUserType; orgId: string | null; teamId: string | null; scopes: Array; expiresAt?: string | null | undefined; }; /** @internal */ export declare const ListServiceAccountApiKeysRequest$inboundSchema: z.ZodType; /** @internal */ export type ListServiceAccountApiKeysRequest$Outbound = { orgId: string; saId: string; "X-On-Behalf-Of"?: string | undefined; }; /** @internal */ export declare const ListServiceAccountApiKeysRequest$outboundSchema: z.ZodType; export declare function listServiceAccountApiKeysRequestToJSON(listServiceAccountApiKeysRequest: ListServiceAccountApiKeysRequest): string; export declare function listServiceAccountApiKeysRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const ListServiceAccountApiKeysUserType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListServiceAccountApiKeysUserType$outboundSchema: z.ZodNativeEnum; /** @internal */ export declare const ListServiceAccountApiKeysResponseBody$inboundSchema: z.ZodType; /** @internal */ export type ListServiceAccountApiKeysResponseBody$Outbound = { id: string; name?: string | null | undefined; key?: string | undefined; prefix?: string | null | undefined; start?: string | null | undefined; userId: string; userType: string; orgId: string | null; teamId: string | null; scopes: Array; expiresAt?: string | null | undefined; }; /** @internal */ export declare const ListServiceAccountApiKeysResponseBody$outboundSchema: z.ZodType; export declare function listServiceAccountApiKeysResponseBodyToJSON(listServiceAccountApiKeysResponseBody: ListServiceAccountApiKeysResponseBody): string; export declare function listServiceAccountApiKeysResponseBodyFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=listserviceaccountapikeys.d.ts.map