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 AtsApplicationsUpdateGlobals = { /** * 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 AtsApplicationsUpdateRequest = { /** * ID of the record you are acting upon. */ id: string; /** * Provide the service id you want to call (e.g., pipedrive). Only needed when a consumer has activated multiple integrations for a Unified API. */ serviceId?: string | undefined; /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; application: components.ApplicationInput; }; export type AtsApplicationsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Applications */ updateApplicationResponse?: components.UpdateApplicationResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AtsApplicationsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AtsApplicationsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AtsApplicationsUpdateGlobals$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 AtsApplicationsUpdateGlobals$ { /** @deprecated use `AtsApplicationsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AtsApplicationsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AtsApplicationsUpdateGlobals$Outbound` instead. */ type Outbound = AtsApplicationsUpdateGlobals$Outbound; } export declare function atsApplicationsUpdateGlobalsToJSON(atsApplicationsUpdateGlobals: AtsApplicationsUpdateGlobals): string; export declare function atsApplicationsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtsApplicationsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AtsApplicationsUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Application: components.ApplicationInput$Outbound; }; /** @internal */ export declare const AtsApplicationsUpdateRequest$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 AtsApplicationsUpdateRequest$ { /** @deprecated use `AtsApplicationsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AtsApplicationsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AtsApplicationsUpdateRequest$Outbound` instead. */ type Outbound = AtsApplicationsUpdateRequest$Outbound; } export declare function atsApplicationsUpdateRequestToJSON(atsApplicationsUpdateRequest: AtsApplicationsUpdateRequest): string; export declare function atsApplicationsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AtsApplicationsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AtsApplicationsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateApplicationResponse?: components.UpdateApplicationResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AtsApplicationsUpdateResponse$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 AtsApplicationsUpdateResponse$ { /** @deprecated use `AtsApplicationsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AtsApplicationsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AtsApplicationsUpdateResponse$Outbound` instead. */ type Outbound = AtsApplicationsUpdateResponse$Outbound; } export declare function atsApplicationsUpdateResponseToJSON(atsApplicationsUpdateResponse: AtsApplicationsUpdateResponse): string; export declare function atsApplicationsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=atsapplicationsupdate.d.ts.map