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 AccountingPaymentsUpdateGlobals = { /** * 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 AccountingPaymentsUpdateRequest = { /** * 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; payment: components.PaymentInput; }; export type AccountingPaymentsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Payment Updated */ updatePaymentResponse?: components.UpdatePaymentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingPaymentsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingPaymentsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingPaymentsUpdateGlobals$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 AccountingPaymentsUpdateGlobals$ { /** @deprecated use `AccountingPaymentsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsUpdateGlobals$Outbound` instead. */ type Outbound = AccountingPaymentsUpdateGlobals$Outbound; } export declare function accountingPaymentsUpdateGlobalsToJSON(accountingPaymentsUpdateGlobals: AccountingPaymentsUpdateGlobals): string; export declare function accountingPaymentsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPaymentsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingPaymentsUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; Payment: components.PaymentInput$Outbound; }; /** @internal */ export declare const AccountingPaymentsUpdateRequest$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 AccountingPaymentsUpdateRequest$ { /** @deprecated use `AccountingPaymentsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsUpdateRequest$Outbound` instead. */ type Outbound = AccountingPaymentsUpdateRequest$Outbound; } export declare function accountingPaymentsUpdateRequestToJSON(accountingPaymentsUpdateRequest: AccountingPaymentsUpdateRequest): string; export declare function accountingPaymentsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPaymentsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingPaymentsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdatePaymentResponse?: components.UpdatePaymentResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingPaymentsUpdateResponse$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 AccountingPaymentsUpdateResponse$ { /** @deprecated use `AccountingPaymentsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsUpdateResponse$Outbound` instead. */ type Outbound = AccountingPaymentsUpdateResponse$Outbound; } export declare function accountingPaymentsUpdateResponseToJSON(accountingPaymentsUpdateResponse: AccountingPaymentsUpdateResponse): string; export declare function accountingPaymentsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingpaymentsupdate.d.ts.map