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 AccountingBillPaymentsUpdateGlobals = { /** * 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 AccountingBillPaymentsUpdateRequest = { /** * 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; billPayment: components.BillPaymentInput; }; export type AccountingBillPaymentsUpdateResponse = { httpMeta: components.HTTPMetadata; /** * Bill Payment updated */ updateBillPaymentResponse?: components.UpdateBillPaymentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingBillPaymentsUpdateGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingBillPaymentsUpdateGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingBillPaymentsUpdateGlobals$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 AccountingBillPaymentsUpdateGlobals$ { /** @deprecated use `AccountingBillPaymentsUpdateGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingBillPaymentsUpdateGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingBillPaymentsUpdateGlobals$Outbound` instead. */ type Outbound = AccountingBillPaymentsUpdateGlobals$Outbound; } export declare function accountingBillPaymentsUpdateGlobalsToJSON(accountingBillPaymentsUpdateGlobals: AccountingBillPaymentsUpdateGlobals): string; export declare function accountingBillPaymentsUpdateGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingBillPaymentsUpdateRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingBillPaymentsUpdateRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; BillPayment: components.BillPaymentInput$Outbound; }; /** @internal */ export declare const AccountingBillPaymentsUpdateRequest$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 AccountingBillPaymentsUpdateRequest$ { /** @deprecated use `AccountingBillPaymentsUpdateRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingBillPaymentsUpdateRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingBillPaymentsUpdateRequest$Outbound` instead. */ type Outbound = AccountingBillPaymentsUpdateRequest$Outbound; } export declare function accountingBillPaymentsUpdateRequestToJSON(accountingBillPaymentsUpdateRequest: AccountingBillPaymentsUpdateRequest): string; export declare function accountingBillPaymentsUpdateRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingBillPaymentsUpdateResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingBillPaymentsUpdateResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; UpdateBillPaymentResponse?: components.UpdateBillPaymentResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingBillPaymentsUpdateResponse$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 AccountingBillPaymentsUpdateResponse$ { /** @deprecated use `AccountingBillPaymentsUpdateResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingBillPaymentsUpdateResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingBillPaymentsUpdateResponse$Outbound` instead. */ type Outbound = AccountingBillPaymentsUpdateResponse$Outbound; } export declare function accountingBillPaymentsUpdateResponseToJSON(accountingBillPaymentsUpdateResponse: AccountingBillPaymentsUpdateResponse): string; export declare function accountingBillPaymentsUpdateResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingbillpaymentsupdate.d.ts.map