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 AccountingAttachmentsDeleteGlobals = { /** * 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 AccountingAttachmentsDeleteRequest = { /** * The reference type of the document. */ referenceType: components.AttachmentReferenceType; /** * The reference id of the object to retrieve. */ referenceId: string; /** * 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 AccountingAttachmentsDeleteResponse = { httpMeta: components.HTTPMetadata; /** * Attachments */ deleteAttachmentResponse?: components.DeleteAttachmentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export declare const AccountingAttachmentsDeleteGlobals$inboundSchema: z.ZodType; /** @internal */ export type AccountingAttachmentsDeleteGlobals$Outbound = { consumerId?: string | undefined; appId?: string | undefined; }; /** @internal */ export declare const AccountingAttachmentsDeleteGlobals$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 AccountingAttachmentsDeleteGlobals$ { /** @deprecated use `AccountingAttachmentsDeleteGlobals$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingAttachmentsDeleteGlobals$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingAttachmentsDeleteGlobals$Outbound` instead. */ type Outbound = AccountingAttachmentsDeleteGlobals$Outbound; } export declare function accountingAttachmentsDeleteGlobalsToJSON(accountingAttachmentsDeleteGlobals: AccountingAttachmentsDeleteGlobals): string; export declare function accountingAttachmentsDeleteGlobalsFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingAttachmentsDeleteRequest$inboundSchema: z.ZodType; /** @internal */ export type AccountingAttachmentsDeleteRequest$Outbound = { reference_type: string; reference_id: string; id: string; serviceId?: string | undefined; raw: boolean; }; /** @internal */ export declare const AccountingAttachmentsDeleteRequest$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 AccountingAttachmentsDeleteRequest$ { /** @deprecated use `AccountingAttachmentsDeleteRequest$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingAttachmentsDeleteRequest$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingAttachmentsDeleteRequest$Outbound` instead. */ type Outbound = AccountingAttachmentsDeleteRequest$Outbound; } export declare function accountingAttachmentsDeleteRequestToJSON(accountingAttachmentsDeleteRequest: AccountingAttachmentsDeleteRequest): string; export declare function accountingAttachmentsDeleteRequestFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const AccountingAttachmentsDeleteResponse$inboundSchema: z.ZodType; /** @internal */ export type AccountingAttachmentsDeleteResponse$Outbound = { HttpMeta: components.HTTPMetadata$Outbound; DeleteAttachmentResponse?: components.DeleteAttachmentResponse$Outbound | undefined; UnexpectedErrorResponse?: components.UnexpectedErrorResponse$Outbound | undefined; }; /** @internal */ export declare const AccountingAttachmentsDeleteResponse$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 AccountingAttachmentsDeleteResponse$ { /** @deprecated use `AccountingAttachmentsDeleteResponse$inboundSchema` instead. */ const inboundSchema: z.ZodType; /** @deprecated use `AccountingAttachmentsDeleteResponse$outboundSchema` instead. */ const outboundSchema: z.ZodType; /** @deprecated use `AccountingAttachmentsDeleteResponse$Outbound` instead. */ type Outbound = AccountingAttachmentsDeleteResponse$Outbound; } export declare function accountingAttachmentsDeleteResponseToJSON(accountingAttachmentsDeleteResponse: AccountingAttachmentsDeleteResponse): string; export declare function accountingAttachmentsDeleteResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingattachmentsdelete.d.ts.map