import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import * as components from "../components/index.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; export declare const AccountingAttachmentsUploadServerList: readonly ["https://upload.apideck.com"]; export type AccountingAttachmentsUploadGlobals = { /** * 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 AccountingAttachmentsUploadRequest = { /** * The reference type of the document. */ referenceType: components.AttachmentReferenceType; /** * The reference id of the object to retrieve. */ referenceId: string; /** * Include raw response. Mostly used for debugging purposes */ raw?: boolean | undefined; /** * Metadata to attach to the attachment file (JSON string) */ xApideckMetadata?: string | undefined; /** * 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; /** * 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; requestBody: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; export type AccountingAttachmentsUploadResponse = { httpMeta: components.HTTPMetadata; /** * Attachments */ createAttachmentResponse?: components.CreateAttachmentResponse | undefined; /** * Unexpected error */ unexpectedErrorResponse?: components.UnexpectedErrorResponse | undefined; }; /** @internal */ export type AccountingAttachmentsUploadRequest$Outbound = { reference_type: string; reference_id: string; raw: boolean; "x-apideck-metadata"?: string | undefined; consumerId?: string | undefined; appId?: string | undefined; serviceId?: string | undefined; RequestBody: ReadableStream | Blob | ArrayBuffer | Uint8Array; }; /** @internal */ export declare const AccountingAttachmentsUploadRequest$outboundSchema: z.ZodType; export declare function accountingAttachmentsUploadRequestToJSON(accountingAttachmentsUploadRequest: AccountingAttachmentsUploadRequest): string; /** @internal */ export declare const AccountingAttachmentsUploadResponse$inboundSchema: z.ZodType; export declare function accountingAttachmentsUploadResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=accountingattachmentsupload.d.ts.map