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 AccountingPaymentsDeleteGlobals = { /** * 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 AccountingPaymentsDeleteRequest = { /** * 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; }; export type AccountingPaymentsDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Payment deleted */ deletePaymentResponse?: components.DeletePaymentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingPaymentsDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingPaymentsDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingPaymentsDeleteGlobals$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 AccountingPaymentsDeleteGlobals$ { /** @deprecated use `AccountingPaymentsDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsDeleteGlobals$Outbound` instead. */ type Outbound = AccountingPaymentsDeleteGlobals$Outbound; } export declare function accountingPaymentsDeleteGlobalsToJSON(accountingPaymentsDeleteGlobals: AccountingPaymentsDeleteGlobals): string; export declare function accountingPaymentsDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPaymentsDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingPaymentsDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const AccountingPaymentsDeleteRequest$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 AccountingPaymentsDeleteRequest$ { /** @deprecated use `AccountingPaymentsDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsDeleteRequest$Outbound` instead. */ type Outbound = AccountingPaymentsDeleteRequest$Outbound; } export declare function accountingPaymentsDeleteRequestToJSON(accountingPaymentsDeleteRequest: AccountingPaymentsDeleteRequest): string; export declare function accountingPaymentsDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingPaymentsDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingPaymentsDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeletePaymentResponse?: components.DeletePaymentResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingPaymentsDeleteResponse$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 AccountingPaymentsDeleteResponse$ { /** @deprecated use `AccountingPaymentsDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingPaymentsDeleteResponse$Outbound` instead. */ type Outbound = AccountingPaymentsDeleteResponse$Outbound; } export declare function accountingPaymentsDeleteResponseToJSON(accountingPaymentsDeleteResponse: AccountingPaymentsDeleteResponse): string; export declare function accountingPaymentsDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingpaymentsdelete.d.ts.map