/** * Invoices API - Auto-generated typed wrapper. * DO NOT EDIT - Regenerate with: bun run generate * @generated */ import type { RenderDocumentPdfParams } from "../generated/model"; import type { SDKMethodOptions } from "./types"; export declare const invoices: { /** @see getShareableInvoice */ readonly getShareableInvoice: (shareableId: string, args_1?: SDKMethodOptions | undefined) => Promise; /** @see getShareableInvoiceHtml */ readonly getShareableInvoiceHtml: (shareableId: string, params?: import("..").GetShareableInvoiceHtmlParams | undefined, args_2?: SDKMethodOptions | undefined) => Promise; /** @see getShareableInvoicePdf */ readonly getShareableInvoicePdf: (shareableId: string, params?: import("..").GetShareableInvoicePdfParams | undefined, args_2?: SDKMethodOptions | undefined) => Promise; /** @see getShareableInvoiceEslog */ readonly getShareableInvoiceEslog: (shareableId: string, args_1?: SDKMethodOptions | undefined) => Promise; /** @see createInvoice */ readonly create: (createInvoice: import("..").CreateInvoice, args_1?: SDKMethodOptions | undefined) => Promise; /** @see getInvoices */ readonly list: (options?: (Omit & { order_by?: string | string[]; } & SDKMethodOptions) | undefined) => Promise; /** @see createCustomInvoice */ readonly createCustom: (customCreateInvoice: import("..").CustomCreateInvoice, args_1?: SDKMethodOptions | undefined) => Promise; /** @see getInvoiceById */ readonly get: (id: string, params?: import("..").GetInvoiceByIdParams | undefined, args_2?: SDKMethodOptions | undefined) => Promise; /** @see updateInvoice */ readonly update: (id: string, updateInvoice: import("..").UpdateInvoice, args_2?: SDKMethodOptions | undefined) => Promise; /** @see getInvoiceVersions */ readonly getVersions: (id: string, args_1?: SDKMethodOptions | undefined) => Promise; /** @see getInvoiceVersion */ readonly getVersion: (id: string, version: number, args_2?: SDKMethodOptions | undefined) => Promise; /** @see renderInvoicePreview */ readonly renderInvoicePreview: (partialInvoicePreviewCompleteInvoicePreview: import("..").CompleteInvoicePreview | import("..").PartialInvoicePreview, params?: import("..").RenderInvoicePreviewParams | undefined, args_2?: SDKMethodOptions | undefined) => Promise; /** @see voidInvoice */ readonly void: (id: string, voidInvoiceBody: import("..").VoidInvoiceBody, args_2?: SDKMethodOptions | undefined) => Promise; /** @see fiscalizeInvoice */ readonly fiscalizeInvoice: (id: string, args_1?: SDKMethodOptions | undefined) => Promise; /** @see renderDocumentHtml */ readonly renderHtml: (id: string, params?: import("..").RenderDocumentHtmlParams | undefined, args_2?: SDKMethodOptions | undefined) => Promise; /** @see renderDocumentPdf — returns a Blob */ readonly renderPdf: (id: string, params?: RenderDocumentPdfParams | undefined, args_2?: SDKMethodOptions | undefined) => Promise; /** * Download a document as PDF. * Convenience wrapper: calls renderPdf then triggers a browser download. */ readonly downloadPdf: (id: string, filename: string, params?: RenderDocumentPdfParams, options?: SDKMethodOptions) => Promise; }; export type InvoicesApi = typeof invoices; //# sourceMappingURL=invoices.d.ts.map