/** * Generated by orval v8.5.3 🍺 * Do not edit manually. * Space Invoices API * REST API for invoice management, customer management, and accounting operations. Features include cursor-based pagination for efficient data navigation, flexible JSON querying with MongoDB-style operators, full-text search across multiple fields, and comprehensive metadata support for custom tracking. * OpenAPI spec version: 1.0.0 */ import * as zod from "zod"; /** * Export filtered documents to Excel (XLSX) or CSV format. Supports date range filtering (maximum 1 year) and the same query filters as list endpoints. Returns a downloadable file with all base document fields including flattened customer/issuer data and tax breakdowns. * @summary Export documents to Excel or CSV */ export declare const ExportDocumentsQueryParams: zod.ZodObject<{ type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; format: zod.ZodEnum<{ xlsx: "xlsx"; csv: "csv"; }>; date_from: zod.ZodOptional; date_to: zod.ZodOptional; language: zod.ZodOptional>; query: zod.ZodOptional; search: zod.ZodOptional; }, zod.z.core.$strip>; export declare const ExportDocumentsHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; /** * Export aggregated sales data per item (product/service) for a given date range. Includes quantities sold/returned, average price, and totals. Aggregates across invoices, credit notes, and advance invoices. Items are grouped by catalog item ID when available, or by exact name match. * @summary Export sales per item for a period */ export declare const ExportSalesPerItemQueryParams: zod.ZodObject<{ format: zod.ZodEnum<{ xlsx: "xlsx"; csv: "csv"; }>; date_from: zod.ZodString; date_to: zod.ZodString; language: zod.ZodOptional>; }, zod.z.core.$strip>; export declare const ExportSalesPerItemHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; /** * Start a background job to export documents as a ZIP archive of PDFs. Supports date range filtering (maximum 1 year) or specific document IDs. When using a user access token, you will receive an email with a download link when the export is ready. When using an API key, poll the job status endpoint for progress. * @summary Start bulk PDF export */ export declare const StartPdfExportHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const StartPdfExportBody: zod.ZodUnion; locale: zod.ZodOptional, zod.ZodLiteral<"de-DE">, zod.ZodLiteral<"it-IT">, zod.ZodLiteral<"fr-FR">, zod.ZodLiteral<"es-ES">, zod.ZodLiteral<"sl-SI">, zod.ZodLiteral<"pt-PT">, zod.ZodLiteral<"nl-NL">, zod.ZodLiteral<"pl-PL">, zod.ZodLiteral<"hr-HR">, zod.ZodLiteral<"sv-SE">, zod.ZodLiteral<"fi-FI">, zod.ZodLiteral<"et-EE">, zod.ZodLiteral<"bg-BG">, zod.ZodLiteral<"cs-CZ">, zod.ZodLiteral<"sk-SK">, zod.ZodLiteral<"nb-NO">, zod.ZodLiteral<"is-IS">, zod.ZodLiteral]>>>; language: zod.ZodOptional, zod.ZodLiteral<"de">, zod.ZodLiteral<"sl">, zod.ZodLiteral<"it">, zod.ZodLiteral<"fr">, zod.ZodLiteral<"es">, zod.ZodLiteral<"pt">, zod.ZodLiteral<"nl">, zod.ZodLiteral<"pl">, zod.ZodLiteral<"hr">, zod.ZodLiteral<"sv">, zod.ZodLiteral<"fi">, zod.ZodLiteral<"et">, zod.ZodLiteral<"bg">, zod.ZodLiteral<"cs">, zod.ZodLiteral<"sk">, zod.ZodLiteral<"nb">, zod.ZodLiteral<"is">, zod.ZodLiteral]>>>; }, zod.z.core.$strip>, zod.ZodObject<{ types: zod.ZodArray>; date_from: zod.ZodOptional>; date_to: zod.ZodOptional>; locale: zod.ZodOptional, zod.ZodLiteral<"de-DE">, zod.ZodLiteral<"it-IT">, zod.ZodLiteral<"fr-FR">, zod.ZodLiteral<"es-ES">, zod.ZodLiteral<"sl-SI">, zod.ZodLiteral<"pt-PT">, zod.ZodLiteral<"nl-NL">, zod.ZodLiteral<"pl-PL">, zod.ZodLiteral<"hr-HR">, zod.ZodLiteral<"sv-SE">, zod.ZodLiteral<"fi-FI">, zod.ZodLiteral<"et-EE">, zod.ZodLiteral<"bg-BG">, zod.ZodLiteral<"cs-CZ">, zod.ZodLiteral<"sk-SK">, zod.ZodLiteral<"nb-NO">, zod.ZodLiteral<"is-IS">, zod.ZodLiteral]>>>; language: zod.ZodOptional, zod.ZodLiteral<"de">, zod.ZodLiteral<"sl">, zod.ZodLiteral<"it">, zod.ZodLiteral<"fr">, zod.ZodLiteral<"es">, zod.ZodLiteral<"pt">, zod.ZodLiteral<"nl">, zod.ZodLiteral<"pl">, zod.ZodLiteral<"hr">, zod.ZodLiteral<"sv">, zod.ZodLiteral<"fi">, zod.ZodLiteral<"et">, zod.ZodLiteral<"bg">, zod.ZodLiteral<"cs">, zod.ZodLiteral<"sk">, zod.ZodLiteral<"nb">, zod.ZodLiteral<"is">, zod.ZodLiteral]>>>; }, zod.z.core.$strip>]>; /** * Check the status and progress of a bulk PDF export job. * @summary Get PDF export job status */ export declare const GetPdfExportStatusParams: zod.ZodObject<{ jobId: zod.ZodString; }, zod.z.core.$strip>; export declare const GetPdfExportStatusHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetPdfExportStatusResponse: zod.ZodObject<{ id: zod.ZodString; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; completed: "completed"; }>; progress: zod.ZodNumber; total_docs: zod.ZodNullable; file_url: zod.ZodNullable; file_name: zod.ZodNullable; error: zod.ZodNullable; result: zod.ZodNullable>; }, zod.z.core.$strip>; /** * Download a completed PDF export ZIP archive through the authenticated API. * @summary Download completed PDF export archive */ export declare const DownloadPdfExportParams: zod.ZodObject<{ jobId: zod.ZodString; }, zod.z.core.$strip>; export declare const DownloadPdfExportHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; /** * Start a background job to export valid e-SLOG XML documents as a ZIP archive. Supports date range filtering (maximum 1 year) or specific document IDs. Only available for Slovenian entities with e-SLOG support. Documents without valid e-SLOG validation are skipped. * @summary Start bulk e-SLOG export */ export declare const StartEslogExportHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const StartEslogExportBody: zod.ZodUnion; }, zod.z.core.$strip>, zod.ZodObject<{ types: zod.ZodArray>; date_from: zod.ZodOptional>; date_to: zod.ZodOptional>; }, zod.z.core.$strip>]>; /** * Check the status and progress of a bulk e-SLOG export job. * @summary Get e-SLOG export job status */ export declare const GetEslogExportStatusParams: zod.ZodObject<{ jobId: zod.ZodString; }, zod.z.core.$strip>; export declare const GetEslogExportStatusHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetEslogExportStatusResponse: zod.ZodObject<{ id: zod.ZodString; status: zod.ZodEnum<{ pending: "pending"; failed: "failed"; processing: "processing"; completed: "completed"; }>; progress: zod.ZodNumber; total_docs: zod.ZodNullable; file_url: zod.ZodNullable; file_name: zod.ZodNullable; error: zod.ZodNullable; result: zod.ZodNullable>; }, zod.z.core.$strip>; /** * Download a completed e-SLOG export ZIP archive through the authenticated API. * @summary Download completed e-SLOG export archive */ export declare const DownloadEslogExportParams: zod.ZodObject<{ jobId: zod.ZodString; }, zod.z.core.$strip>; export declare const DownloadEslogExportHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; //# sourceMappingURL=exports.d.ts.map