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 AccountingInvoicesDeleteGlobals = { /** * 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 AccountingInvoicesDeleteRequest = { /** * 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 AccountingInvoicesDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Invoice deleted */ deleteInvoiceResponse?: components.DeleteInvoiceResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingInvoicesDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoicesDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingInvoicesDeleteGlobals$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 AccountingInvoicesDeleteGlobals$ { /** @deprecated use `AccountingInvoicesDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesDeleteGlobals$Outbound` instead. */ type Outbound = AccountingInvoicesDeleteGlobals$Outbound; } export declare function accountingInvoicesDeleteGlobalsToJSON(accountingInvoicesDeleteGlobals: AccountingInvoicesDeleteGlobals): string; export declare function accountingInvoicesDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingInvoicesDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoicesDeleteRequest$Outbound = { id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const AccountingInvoicesDeleteRequest$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 AccountingInvoicesDeleteRequest$ { /** @deprecated use `AccountingInvoicesDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesDeleteRequest$Outbound` instead. */ type Outbound = AccountingInvoicesDeleteRequest$Outbound; } export declare function accountingInvoicesDeleteRequestToJSON(accountingInvoicesDeleteRequest: AccountingInvoicesDeleteRequest): string; export declare function accountingInvoicesDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingInvoicesDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingInvoicesDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteInvoiceResponse?: components.DeleteInvoiceResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingInvoicesDeleteResponse$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 AccountingInvoicesDeleteResponse$ { /** @deprecated use `AccountingInvoicesDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingInvoicesDeleteResponse$Outbound` instead. */ type Outbound = AccountingInvoicesDeleteResponse$Outbound; } export declare function accountingInvoicesDeleteResponseToJSON(accountingInvoicesDeleteResponse: AccountingInvoicesDeleteResponse): string; export declare function accountingInvoicesDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountinginvoicesdelete.d.ts.map