import * as z from "zod"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export type VaultCustomFieldsAllGlobals = { /** * ID of the consumer which you want to get or push data from */ consumerId?: string | undefined; /** * The ID of your Unify application */ appId?: string | undefined; }; export type VaultCustomFieldsAllRequest = { /** * Unified API */ unifiedApi: string; /** * Service ID of the resource to return */ serviceId: string; /** * Name of the resource (plural) */ resource: string; /** * This is the id of the resource you want to fetch when listing custom fields. For example, if you want to fetch custom fields for a specific contact, you would use the contact id. */ resourceId?: string | undefined; }; export type VaultCustomFieldsAllResponse = { httpMeta: components.HTTPMetadata; /** * Custom mapping */ getCustomFieldsResponse?: components.GetCustomFieldsResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const VaultCustomFieldsAllGlobals$inboundSchema: z.ZodType; /** @internal */ export type VaultCustomFieldsAllGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const VaultCustomFieldsAllGlobals$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace VaultCustomFieldsAllGlobals$ { /** @deprecated use `VaultCustomFieldsAllGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultCustomFieldsAllGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultCustomFieldsAllGlobals$Outbound` instead. */ type Outbound = VaultCustomFieldsAllGlobals$Outbound; } export declare function vaultCustomFieldsAllGlobalsToJSON(vaultCustomFieldsAllGlobals: VaultCustomFieldsAllGlobals): string; export declare function vaultCustomFieldsAllGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VaultCustomFieldsAllRequest$inboundSchema: z.ZodType; /** @internal */ export type VaultCustomFieldsAllRequest$Outbound = { unified_api: string; service_id: string; resource: string; resource_id?: string | undefined; }; /** @internal */ export declare const VaultCustomFieldsAllRequest$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace VaultCustomFieldsAllRequest$ { /** @deprecated use `VaultCustomFieldsAllRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultCustomFieldsAllRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultCustomFieldsAllRequest$Outbound` instead. */ type Outbound = VaultCustomFieldsAllRequest$Outbound; } export declare function vaultCustomFieldsAllRequestToJSON(vaultCustomFieldsAllRequest: VaultCustomFieldsAllRequest): string; export declare function vaultCustomFieldsAllRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const VaultCustomFieldsAllResponse$inboundSchema: z.ZodType; /** @internal */ export type VaultCustomFieldsAllResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; GetCustomFieldsResponse?: components.GetCustomFieldsResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const VaultCustomFieldsAllResponse$outboundSchema: z.ZodType; /** * @internal * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module. */ export declare namespace VaultCustomFieldsAllResponse$ { /** @deprecated use `VaultCustomFieldsAllResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `VaultCustomFieldsAllResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `VaultCustomFieldsAllResponse$Outbound` instead. */ type Outbound = VaultCustomFieldsAllResponse$Outbound; } export declare function vaultCustomFieldsAllResponseToJSON(vaultCustomFieldsAllResponse: VaultCustomFieldsAllResponse): string; export declare function vaultCustomFieldsAllResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=vaultcustomfieldsall.d.ts.map