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 AccountingPaymentsAddGlobals = { /** * 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 AccountingPaymentsAddRequest = { /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * 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; payment: components.PaymentInput; }; export type AccountingPaymentsAddResponse = { httpMeta: components.HTTPMetadata; /** * Payment created */ createPaymentResponse?: components.CreatePaymentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingPaymentsAddGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingPaymentsAddGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingPaymentsAddGlobals$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 AccountingPaymentsAddGlobals$ { /** @deprecated use `AccountingPaymentsAddGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsAddGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsAddGlobals$Outbound` instead. */ type Outbound = AccountingPaymentsAddGlobals$Outbound; } export declare function accountingPaymentsAddGlobalsToJSON(accountingPaymentsAddGlobals: AccountingPaymentsAddGlobals): string; export declare function accountingPaymentsAddGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPaymentsAddRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingPaymentsAddRequest$Outbound = { raw: boolean; serviceId?: string | undefined; Payment: components.PaymentInput$Outbound; }; /** @internal */ export declare const AccountingPaymentsAddRequest$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 AccountingPaymentsAddRequest$ { /** @deprecated use `AccountingPaymentsAddRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsAddRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsAddRequest$Outbound` instead. */ type Outbound = AccountingPaymentsAddRequest$Outbound; } export declare function accountingPaymentsAddRequestToJSON(accountingPaymentsAddRequest: AccountingPaymentsAddRequest): string; export declare function accountingPaymentsAddRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPaymentsAddResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingPaymentsAddResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; CreatePaymentResponse?: components.CreatePaymentResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingPaymentsAddResponse$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 AccountingPaymentsAddResponse$ { /** @deprecated use `AccountingPaymentsAddResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsAddResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsAddResponse$Outbound` instead. */ type Outbound = AccountingPaymentsAddResponse$Outbound; } export declare function accountingPaymentsAddResponseToJSON(accountingPaymentsAddResponse: AccountingPaymentsAddResponse): string; export declare function accountingPaymentsAddResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingpaymentsadd.d.ts.map