/** * 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"; /** * Retrieve estimate data using a shareable token. No authentication required. Returns full estimate data for rendering. * @summary View shareable estimate */ export declare const GetShareableEstimateParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; export declare const getShareableEstimateResponseIdMax = 36; export declare const getShareableEstimateResponseNumberMax = 100; export declare const getShareableEstimateResponseIssuerCountryCodeMin = 2; export declare const getShareableEstimateResponseIssuerCountryCodeMax = 2; export declare const getShareableEstimateResponseIssuerBankAccountTypeDefault = "iban"; export declare const getShareableEstimateResponseCustomerIdMax = 36; export declare const getShareableEstimateResponseCustomerCountryCodeMin = 2; export declare const getShareableEstimateResponseCustomerCountryCodeMax = 2; export declare const getShareableEstimateResponseCustomerBankAccountTypeDefault = "iban"; export declare const getShareableEstimateResponseFooterMax = 500; export declare const getShareableEstimateResponseTotalMin = -140737488355328; export declare const getShareableEstimateResponseTotalMax = 140737488355327; export declare const getShareableEstimateResponseTotalWithTaxMin = -140737488355328; export declare const getShareableEstimateResponseTotalWithTaxMax = 140737488355327; export declare const getShareableEstimateResponseCurrencyCodeMax = 3; export declare const getShareableEstimateResponseEntityIdMax = 36; export declare const getShareableEstimateResponseDateYearMin = -2147483648; export declare const getShareableEstimateResponseDateYearMax = 2147483647; export declare const getShareableEstimateResponseShareableIdMax = 100; export declare const getShareableEstimateResponseTotalConvertedMin = -140737488355328; export declare const getShareableEstimateResponseTotalConvertedMax = 140737488355327; export declare const getShareableEstimateResponseTotalWithTaxConvertedMin = -140737488355328; export declare const getShareableEstimateResponseTotalWithTaxConvertedMax = 140737488355327; export declare const getShareableEstimateResponseDateDueRegExp: RegExp; export declare const getShareableEstimateResponseDateServiceRegExp: RegExp; export declare const getShareableEstimateResponseDateServiceToRegExp: RegExp; export declare const getShareableEstimateResponseItemsItemIdMax = 36; export declare const getShareableEstimateResponseItemsItemNameMax = 500; export declare const getShareableEstimateResponseItemsItemUnitMax = 50; export declare const getShareableEstimateResponseItemsItemDiscountsItemValueMin = 0; export declare const getShareableEstimateResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const getShareableEstimateResponseItemsItemDiscountsMax = 5; export declare const getShareableEstimateResponseItemsItemTotalConvertedMin = -140737488355328; export declare const getShareableEstimateResponseItemsItemTotalConvertedMax = 140737488355327; export declare const getShareableEstimateResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const getShareableEstimateResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const getShareableEstimateResponseItemsItemEstimateIdMax = 36; export declare const getShareableEstimateResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const getShareableEstimateResponseItemsItemDeliveryNoteIdMax = 36; export declare const getShareableEstimateResponseItemsItemItemIdMax = 36; export declare const GetShareableEstimateResponse: zod.ZodObject<{ id: zod.ZodString; number: zod.ZodString; is_draft: zod.ZodBoolean; date: zod.z.ZodISODateTime; issuer: zod.ZodObject<{ name: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; creation_source: zod.ZodEnum<{ standard: "standard"; custom: "custom"; }>; calculation_mode: zod.ZodEnum<{ b2b_standard: "b2b_standard"; b2c_gross_discount: "b2c_gross_discount"; }>; taxes: zod.ZodArray; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>; currency_code: zod.ZodString; entity_id: zod.ZodString; date_year: zod.ZodNumber; shareable_id: zod.ZodOptional>; voided_at: zod.ZodOptional>; transaction_type: zod.ZodOptional, zod.ZodLiteral<"intra_eu_b2b">, zod.ZodLiteral<"intra_eu_b2c">, zod.ZodLiteral<"3w_b2b">, zod.ZodLiteral<"3w_b2c">, zod.ZodLiteral<"export">, zod.ZodLiteral]>>>; metadata: zod.ZodOptional>>; exchange_rate: zod.ZodOptional>>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; rounding_correction: zod.ZodOptional>; eslog: zod.ZodOptional>; validation_status: zod.ZodOptional, zod.ZodLiteral<"invalid">, zod.ZodLiteral<"not_validated">, zod.ZodLiteral]>>>; validation_errors: zod.ZodOptional>>; validated_at: zod.ZodOptional>; }, zod.z.core.$strip>>>; reference: zod.ZodOptional>; vies: zod.ZodOptional; skipped: zod.ZodNullable; }, zod.z.core.$strip>>>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; pt: zod.ZodOptional, zod.ZodArray]>>; date_valid_till: zod.ZodOptional>; title_type: zod.ZodOptional, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>>; date_due: zod.ZodOptional>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodString; description: zod.ZodNullable; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodArray>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>; discounts: zod.ZodArray>; }, zod.z.core.$strip>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; estimate_id: zod.ZodOptional>; advance_invoice_id: zod.ZodOptional>; delivery_note_id: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; document_relations: zod.ZodOptional; source_id: zod.ZodString; target_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; target_id: zod.ZodString; relation_type: zod.ZodString; entity_id: zod.ZodString; created_at: zod.z.ZodISODateTime; linked_document_voided_at: zod.ZodOptional>; related_document: zod.ZodOptional; number: zod.ZodString; date: zod.ZodString; total_with_tax: zod.ZodNumber; currency_code: zod.ZodString; is_draft: zod.ZodBoolean; voided_at: zod.ZodNullable; paid_in_full: zod.ZodNullable; title_type: zod.ZodNullable, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>; hide_prices: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * Get estimate as HTML preview using a shareable token. No authentication required. Supports multiple languages via locale query parameter. * @summary Get shareable estimate as HTML */ export declare const GetShareableEstimateHtmlParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; export declare const GetShareableEstimateHtmlQueryParams: zod.ZodObject<{ locale: zod.ZodOptional>; language: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Download estimate as PDF using a shareable token. No authentication required. Supports multiple languages via locale query parameter. * @summary Download shareable estimate as PDF */ export declare const GetShareableEstimatePdfParams: zod.ZodObject<{ shareableId: zod.ZodString; }, zod.z.core.$strip>; export declare const GetShareableEstimatePdfQueryParams: zod.ZodObject<{ locale: zod.ZodOptional>; language: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Create a new estimate with line items. Customer is optional - can be omitted or added inline without referencing a customer_id. The estimate number is auto-generated based on the entity's number format settings. Taxes are calculated automatically based on the tax rates provided. Estimates are valid until the date_valid_till field (defaults to 30 days from creation). * @summary Create a new estimate */ export declare const CreateEstimateHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const createEstimateBodyDateRegExp: RegExp; export declare const createEstimateBodyIssuerCountryCodeMin = 2; export declare const createEstimateBodyIssuerCountryCodeMax = 2; export declare const createEstimateBodyIssuerBankAccountTypeDefault = "iban"; export declare const createEstimateBodyCustomerOneCountryCodeMin = 2; export declare const createEstimateBodyCustomerOneCountryCodeMax = 2; export declare const createEstimateBodyCustomerOneBankAccountTypeDefault = "iban"; export declare const createEstimateBodyFooterMax = 500; export declare const createEstimateBodyCurrencyCodeMax = 3; export declare const createEstimateBodyPtManualSeriesCodeMax = 35; export declare const createEstimateBodyDateDueRegExp: RegExp; export declare const createEstimateBodyDateServiceRegExp: RegExp; export declare const createEstimateBodyDateServiceToRegExp: RegExp; export declare const createEstimateBodyItemsItemDescriptionMax = 2000; export declare const createEstimateBodyItemsItemQuantityMin = -140737488355328; export declare const createEstimateBodyItemsItemQuantityMax = 140737488355327; export declare const createEstimateBodyItemsItemUnitMax = 50; export declare const createEstimateBodyItemsItemDiscountsItemValueMin = 0; export declare const createEstimateBodyItemsItemDiscountsItemTypeDefault = "percent"; export declare const createEstimateBodyItemsItemDiscountsMax = 5; export declare const createEstimateBodyExpectedTotalWithTaxExclusiveMin = 0; export declare const CreateEstimateBody: zod.ZodObject<{ is_draft: zod.ZodOptional; date: zod.ZodOptional; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; calculation_mode: zod.ZodOptional, zod.ZodLiteral<"b2c_gross_discount">, zod.ZodLiteral]>>>; currency_code: zod.ZodOptional; metadata: zod.ZodOptional>>; reference: zod.ZodOptional>; pt: zod.ZodOptional>; manual: zod.ZodOptional>; manual_sequential_number: zod.ZodOptional>; manual_series_code: zod.ZodOptional>; operator_first_name: zod.ZodOptional>; operator_last_name: zod.ZodOptional>; operator_tax_number: zod.ZodOptional>; account_first_name: zod.ZodOptional>; account_last_name: zod.ZodOptional>; account_tax_number: zod.ZodOptional>; }, zod.z.core.$strip>>>; date_valid_till: zod.ZodOptional>; title_type: zod.ZodOptional, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>>; date_due: zod.ZodOptional>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodOptional>; description: zod.ZodOptional>; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodOptional>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>>; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; save_item: zod.ZodOptional>; }, zod.z.core.$strip>>; eslog: zod.ZodOptional>; }, zod.z.core.$strip>>>; expected_total_with_tax: zod.ZodOptional>; }, zod.z.core.$strip>; /** * Retrieve a paginated list of estimates with optional filtering and sorting. Supports cursor-based pagination, flexible JSON querying with MongoDB-style operators, full-text search, and sorting. * @summary List all estimates */ export declare const getEstimatesQueryLimitDefault = 10; export declare const getEstimatesQueryLimitMax = 100; export declare const GetEstimatesQueryParams: zod.ZodObject<{ limit: zod.ZodDefault; next_cursor: zod.ZodOptional; prev_cursor: zod.ZodOptional; include_total_count: zod.ZodOptional; order_by: zod.ZodOptional, zod.ZodArray>]>>; query: zod.ZodOptional; search: zod.ZodOptional; include: zod.ZodOptional; deleted: zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetEstimatesHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getEstimatesResponseDataItemIdMax = 36; export declare const getEstimatesResponseDataItemNumberMax = 100; export declare const getEstimatesResponseDataItemIssuerCountryCodeMin = 2; export declare const getEstimatesResponseDataItemIssuerCountryCodeMax = 2; export declare const getEstimatesResponseDataItemIssuerBankAccountTypeDefault = "iban"; export declare const getEstimatesResponseDataItemCustomerIdMax = 36; export declare const getEstimatesResponseDataItemCustomerCountryCodeMin = 2; export declare const getEstimatesResponseDataItemCustomerCountryCodeMax = 2; export declare const getEstimatesResponseDataItemCustomerBankAccountTypeDefault = "iban"; export declare const getEstimatesResponseDataItemFooterMax = 500; export declare const getEstimatesResponseDataItemTotalMin = -140737488355328; export declare const getEstimatesResponseDataItemTotalMax = 140737488355327; export declare const getEstimatesResponseDataItemTotalWithTaxMin = -140737488355328; export declare const getEstimatesResponseDataItemTotalWithTaxMax = 140737488355327; export declare const getEstimatesResponseDataItemCurrencyCodeMax = 3; export declare const getEstimatesResponseDataItemEntityIdMax = 36; export declare const getEstimatesResponseDataItemDateYearMin = -2147483648; export declare const getEstimatesResponseDataItemDateYearMax = 2147483647; export declare const getEstimatesResponseDataItemShareableIdMax = 100; export declare const getEstimatesResponseDataItemTotalConvertedMin = -140737488355328; export declare const getEstimatesResponseDataItemTotalConvertedMax = 140737488355327; export declare const getEstimatesResponseDataItemTotalWithTaxConvertedMin = -140737488355328; export declare const getEstimatesResponseDataItemTotalWithTaxConvertedMax = 140737488355327; export declare const getEstimatesResponseDataItemDateDueRegExp: RegExp; export declare const getEstimatesResponseDataItemDateServiceRegExp: RegExp; export declare const getEstimatesResponseDataItemDateServiceToRegExp: RegExp; export declare const getEstimatesResponseDataItemItemsItemIdMax = 36; export declare const getEstimatesResponseDataItemItemsItemNameMax = 500; export declare const getEstimatesResponseDataItemItemsItemUnitMax = 50; export declare const getEstimatesResponseDataItemItemsItemDiscountsItemValueMin = 0; export declare const getEstimatesResponseDataItemItemsItemDiscountsItemTypeDefault = "percent"; export declare const getEstimatesResponseDataItemItemsItemDiscountsMax = 5; export declare const getEstimatesResponseDataItemItemsItemTotalConvertedMin = -140737488355328; export declare const getEstimatesResponseDataItemItemsItemTotalConvertedMax = 140737488355327; export declare const getEstimatesResponseDataItemItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const getEstimatesResponseDataItemItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const getEstimatesResponseDataItemItemsItemEstimateIdMax = 36; export declare const getEstimatesResponseDataItemItemsItemAdvanceInvoiceIdMax = 36; export declare const getEstimatesResponseDataItemItemsItemDeliveryNoteIdMax = 36; export declare const getEstimatesResponseDataItemItemsItemItemIdMax = 36; export declare const GetEstimatesResponse: zod.ZodObject<{ data: zod.ZodArray>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; creation_source: zod.ZodEnum<{ standard: "standard"; custom: "custom"; }>; calculation_mode: zod.ZodEnum<{ b2b_standard: "b2b_standard"; b2c_gross_discount: "b2c_gross_discount"; }>; taxes: zod.ZodArray; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>; currency_code: zod.ZodString; entity_id: zod.ZodString; date_year: zod.ZodNumber; shareable_id: zod.ZodOptional>; voided_at: zod.ZodOptional>; transaction_type: zod.ZodOptional, zod.ZodLiteral<"intra_eu_b2b">, zod.ZodLiteral<"intra_eu_b2c">, zod.ZodLiteral<"3w_b2b">, zod.ZodLiteral<"3w_b2c">, zod.ZodLiteral<"export">, zod.ZodLiteral]>>>; metadata: zod.ZodOptional>>; exchange_rate: zod.ZodOptional>>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; rounding_correction: zod.ZodOptional>; eslog: zod.ZodOptional>; validation_status: zod.ZodOptional, zod.ZodLiteral<"invalid">, zod.ZodLiteral<"not_validated">, zod.ZodLiteral]>>>; validation_errors: zod.ZodOptional>>; validated_at: zod.ZodOptional>; }, zod.z.core.$strip>>>; reference: zod.ZodOptional>; vies: zod.ZodOptional; skipped: zod.ZodNullable; }, zod.z.core.$strip>>>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; pt: zod.ZodOptional, zod.ZodArray]>>; date_valid_till: zod.ZodOptional>; title_type: zod.ZodOptional, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>>; date_due: zod.ZodOptional>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodString; description: zod.ZodNullable; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodArray>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>; discounts: zod.ZodArray>; }, zod.z.core.$strip>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; estimate_id: zod.ZodOptional>; advance_invoice_id: zod.ZodOptional>; delivery_note_id: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; document_relations: zod.ZodOptional; source_id: zod.ZodString; target_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; target_id: zod.ZodString; relation_type: zod.ZodString; entity_id: zod.ZodString; created_at: zod.z.ZodISODateTime; linked_document_voided_at: zod.ZodOptional>; related_document: zod.ZodOptional; number: zod.ZodString; date: zod.ZodString; total_with_tax: zod.ZodNumber; currency_code: zod.ZodString; is_draft: zod.ZodBoolean; voided_at: zod.ZodNullable; paid_in_full: zod.ZodNullable; title_type: zod.ZodNullable, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>; hide_prices: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>; pagination: zod.ZodObject<{ total: zod.ZodNumber; next_cursor: zod.ZodNullable; prev_cursor: zod.ZodNullable; has_more: zod.ZodBoolean; }, zod.z.core.$strip>; }, zod.z.core.$strip>; /** * Create an estimate with pre-calculated totals from an external system. The caller provides `total`, `total_with_tax`, `total_discount`, and `taxes` at the document level, and `total`/`total_with_tax` on each line item. When `calculation_mode` is omitted, Space Invoices preserves pass-through behavior and accepts the supplied totals as-is. When `calculation_mode` is provided, Space Invoices validates the supplied totals against that calculation mode before creating the document. All other logic (numbering, customer handling, lifecycle hooks) is identical to the standard create endpoint. * @summary Create estimate with pre-calculated totals */ export declare const CreateCustomEstimateHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const createCustomEstimateBodyIssuerOneCountryCodeMin = 2; export declare const createCustomEstimateBodyIssuerOneCountryCodeMax = 2; export declare const createCustomEstimateBodyIssuerOneBankAccountTypeDefault = "iban"; export declare const createCustomEstimateBodyCustomerOneCountryCodeMin = 2; export declare const createCustomEstimateBodyCustomerOneCountryCodeMax = 2; export declare const createCustomEstimateBodyCustomerOneBankAccountTypeDefault = "iban"; export declare const createCustomEstimateBodyDateDueRegExp: RegExp; export declare const createCustomEstimateBodyDateServiceRegExp: RegExp; export declare const createCustomEstimateBodyDateServiceToRegExp: RegExp; export declare const createCustomEstimateBodyItemsItemDescriptionMax = 2000; export declare const createCustomEstimateBodyItemsItemUnitMax = 50; export declare const createCustomEstimateBodyItemsItemDiscountsItemValueMin = 0; export declare const createCustomEstimateBodyItemsItemDiscountsItemTypeDefault = "percent"; export declare const createCustomEstimateBodyItemsItemDiscountsMax = 5; export declare const CreateCustomEstimateBody: zod.ZodObject<{ is_draft: zod.ZodOptional>; date: zod.ZodOptional>; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; calculation_mode: zod.ZodOptional, zod.ZodLiteral<"b2c_gross_discount">, zod.ZodLiteral]>>>; currency_code: zod.ZodOptional>; metadata: zod.ZodOptional>>; reference: zod.ZodOptional>; pt: zod.ZodOptional, zod.ZodArray]>>; date_valid_till: zod.ZodOptional>; title_type: zod.ZodOptional, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>>; date_due: zod.ZodOptional>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodOptional>; description: zod.ZodOptional>; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodOptional>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>>; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; save_item: zod.ZodOptional>; }, zod.z.core.$strip>>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodOptional>; taxes: zod.ZodOptional; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>>; eslog: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * Retrieve a single estimate by its unique identifier. Returns the complete estimate details including all line items, customer information, and calculated totals. * @summary Get estimate by ID */ export declare const getEstimateByIdPathIdRegExp: RegExp; export declare const GetEstimateByIdParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GetEstimateByIdQueryParams: zod.ZodObject<{ include: zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetEstimateByIdHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const getEstimateByIdResponseIdMax = 36; export declare const getEstimateByIdResponseNumberMax = 100; export declare const getEstimateByIdResponseIssuerCountryCodeMin = 2; export declare const getEstimateByIdResponseIssuerCountryCodeMax = 2; export declare const getEstimateByIdResponseIssuerBankAccountTypeDefault = "iban"; export declare const getEstimateByIdResponseCustomerIdMax = 36; export declare const getEstimateByIdResponseCustomerCountryCodeMin = 2; export declare const getEstimateByIdResponseCustomerCountryCodeMax = 2; export declare const getEstimateByIdResponseCustomerBankAccountTypeDefault = "iban"; export declare const getEstimateByIdResponseFooterMax = 500; export declare const getEstimateByIdResponseTotalMin = -140737488355328; export declare const getEstimateByIdResponseTotalMax = 140737488355327; export declare const getEstimateByIdResponseTotalWithTaxMin = -140737488355328; export declare const getEstimateByIdResponseTotalWithTaxMax = 140737488355327; export declare const getEstimateByIdResponseCurrencyCodeMax = 3; export declare const getEstimateByIdResponseEntityIdMax = 36; export declare const getEstimateByIdResponseDateYearMin = -2147483648; export declare const getEstimateByIdResponseDateYearMax = 2147483647; export declare const getEstimateByIdResponseShareableIdMax = 100; export declare const getEstimateByIdResponseTotalConvertedMin = -140737488355328; export declare const getEstimateByIdResponseTotalConvertedMax = 140737488355327; export declare const getEstimateByIdResponseTotalWithTaxConvertedMin = -140737488355328; export declare const getEstimateByIdResponseTotalWithTaxConvertedMax = 140737488355327; export declare const getEstimateByIdResponseDateDueRegExp: RegExp; export declare const getEstimateByIdResponseDateServiceRegExp: RegExp; export declare const getEstimateByIdResponseDateServiceToRegExp: RegExp; export declare const getEstimateByIdResponseItemsItemIdMax = 36; export declare const getEstimateByIdResponseItemsItemNameMax = 500; export declare const getEstimateByIdResponseItemsItemUnitMax = 50; export declare const getEstimateByIdResponseItemsItemDiscountsItemValueMin = 0; export declare const getEstimateByIdResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const getEstimateByIdResponseItemsItemDiscountsMax = 5; export declare const getEstimateByIdResponseItemsItemTotalConvertedMin = -140737488355328; export declare const getEstimateByIdResponseItemsItemTotalConvertedMax = 140737488355327; export declare const getEstimateByIdResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const getEstimateByIdResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const getEstimateByIdResponseItemsItemEstimateIdMax = 36; export declare const getEstimateByIdResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const getEstimateByIdResponseItemsItemDeliveryNoteIdMax = 36; export declare const getEstimateByIdResponseItemsItemItemIdMax = 36; export declare const GetEstimateByIdResponse: zod.ZodObject<{ id: zod.ZodString; number: zod.ZodString; is_draft: zod.ZodBoolean; date: zod.z.ZodISODateTime; issuer: zod.ZodObject<{ name: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; creation_source: zod.ZodEnum<{ standard: "standard"; custom: "custom"; }>; calculation_mode: zod.ZodEnum<{ b2b_standard: "b2b_standard"; b2c_gross_discount: "b2c_gross_discount"; }>; taxes: zod.ZodArray; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>; currency_code: zod.ZodString; entity_id: zod.ZodString; date_year: zod.ZodNumber; shareable_id: zod.ZodOptional>; voided_at: zod.ZodOptional>; transaction_type: zod.ZodOptional, zod.ZodLiteral<"intra_eu_b2b">, zod.ZodLiteral<"intra_eu_b2c">, zod.ZodLiteral<"3w_b2b">, zod.ZodLiteral<"3w_b2c">, zod.ZodLiteral<"export">, zod.ZodLiteral]>>>; metadata: zod.ZodOptional>>; exchange_rate: zod.ZodOptional>>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; rounding_correction: zod.ZodOptional>; eslog: zod.ZodOptional>; validation_status: zod.ZodOptional, zod.ZodLiteral<"invalid">, zod.ZodLiteral<"not_validated">, zod.ZodLiteral]>>>; validation_errors: zod.ZodOptional>>; validated_at: zod.ZodOptional>; }, zod.z.core.$strip>>>; reference: zod.ZodOptional>; vies: zod.ZodOptional; skipped: zod.ZodNullable; }, zod.z.core.$strip>>>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; pt: zod.ZodOptional, zod.ZodArray]>>; date_valid_till: zod.ZodOptional>; title_type: zod.ZodOptional, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>>; date_due: zod.ZodOptional>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodString; description: zod.ZodNullable; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodArray>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>; discounts: zod.ZodArray>; }, zod.z.core.$strip>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; estimate_id: zod.ZodOptional>; advance_invoice_id: zod.ZodOptional>; delivery_note_id: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; document_relations: zod.ZodOptional; source_id: zod.ZodString; target_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; target_id: zod.ZodString; relation_type: zod.ZodString; entity_id: zod.ZodString; created_at: zod.z.ZodISODateTime; linked_document_voided_at: zod.ZodOptional>; related_document: zod.ZodOptional; number: zod.ZodString; date: zod.ZodString; total_with_tax: zod.ZodNumber; currency_code: zod.ZodString; is_draft: zod.ZodBoolean; voided_at: zod.ZodNullable; paid_in_full: zod.ZodNullable; title_type: zod.ZodNullable, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>; hide_prices: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * Update an existing estimate. Creates a version snapshot before applying changes. Cannot update voided estimates. If items are provided, they replace all existing items. * @summary Update an estimate */ export declare const updateEstimatePathIdRegExp: RegExp; export declare const UpdateEstimateParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const UpdateEstimateHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const updateEstimateBodyDateRegExp: RegExp; export declare const updateEstimateBodyIssuerOneCountryCodeMin = 2; export declare const updateEstimateBodyIssuerOneCountryCodeMax = 2; export declare const updateEstimateBodyIssuerOneBankAccountTypeDefault = "iban"; export declare const updateEstimateBodyCustomerOneCountryCodeMin = 2; export declare const updateEstimateBodyCustomerOneCountryCodeMax = 2; export declare const updateEstimateBodyCustomerOneBankAccountTypeDefault = "iban"; export declare const updateEstimateBodyItemsItemDescriptionMax = 2000; export declare const updateEstimateBodyItemsItemQuantityMin = -140737488355328; export declare const updateEstimateBodyItemsItemQuantityMax = 140737488355327; export declare const updateEstimateBodyItemsItemUnitMax = 50; export declare const updateEstimateBodyItemsItemDiscountsItemValueMin = 0; export declare const updateEstimateBodyItemsItemDiscountsItemTypeDefault = "percent"; export declare const updateEstimateBodyItemsItemDiscountsMax = 5; export declare const updateEstimateBodyReferenceMax = 100; export declare const updateEstimateBodyChangeReasonMax = 500; export declare const updateEstimateBodyDateValidTillRegExp: RegExp; export declare const UpdateEstimateBody: zod.ZodObject<{ date: zod.ZodOptional; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodUnknown>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; items: zod.ZodOptional, zod.ZodLiteral]>>>; name: zod.ZodOptional>; description: zod.ZodOptional>; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodOptional>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>>; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; save_item: zod.ZodOptional>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; currency_code: zod.ZodOptional; reference: zod.ZodOptional>; metadata: zod.ZodOptional>>; change_reason: zod.ZodOptional; date_valid_till: zod.ZodOptional>; title_type: zod.ZodOptional>; eslog: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; export declare const updateEstimateResponseIdMax = 36; export declare const updateEstimateResponseNumberMax = 100; export declare const updateEstimateResponseIssuerCountryCodeMin = 2; export declare const updateEstimateResponseIssuerCountryCodeMax = 2; export declare const updateEstimateResponseIssuerBankAccountTypeDefault = "iban"; export declare const updateEstimateResponseCustomerIdMax = 36; export declare const updateEstimateResponseCustomerCountryCodeMin = 2; export declare const updateEstimateResponseCustomerCountryCodeMax = 2; export declare const updateEstimateResponseCustomerBankAccountTypeDefault = "iban"; export declare const updateEstimateResponseFooterMax = 500; export declare const updateEstimateResponseTotalMin = -140737488355328; export declare const updateEstimateResponseTotalMax = 140737488355327; export declare const updateEstimateResponseTotalWithTaxMin = -140737488355328; export declare const updateEstimateResponseTotalWithTaxMax = 140737488355327; export declare const updateEstimateResponseCurrencyCodeMax = 3; export declare const updateEstimateResponseEntityIdMax = 36; export declare const updateEstimateResponseDateYearMin = -2147483648; export declare const updateEstimateResponseDateYearMax = 2147483647; export declare const updateEstimateResponseShareableIdMax = 100; export declare const updateEstimateResponseTotalConvertedMin = -140737488355328; export declare const updateEstimateResponseTotalConvertedMax = 140737488355327; export declare const updateEstimateResponseTotalWithTaxConvertedMin = -140737488355328; export declare const updateEstimateResponseTotalWithTaxConvertedMax = 140737488355327; export declare const updateEstimateResponseDateDueRegExp: RegExp; export declare const updateEstimateResponseDateServiceRegExp: RegExp; export declare const updateEstimateResponseDateServiceToRegExp: RegExp; export declare const updateEstimateResponseItemsItemIdMax = 36; export declare const updateEstimateResponseItemsItemNameMax = 500; export declare const updateEstimateResponseItemsItemUnitMax = 50; export declare const updateEstimateResponseItemsItemDiscountsItemValueMin = 0; export declare const updateEstimateResponseItemsItemDiscountsItemTypeDefault = "percent"; export declare const updateEstimateResponseItemsItemDiscountsMax = 5; export declare const updateEstimateResponseItemsItemTotalConvertedMin = -140737488355328; export declare const updateEstimateResponseItemsItemTotalConvertedMax = 140737488355327; export declare const updateEstimateResponseItemsItemTotalWithTaxConvertedMin = -140737488355328; export declare const updateEstimateResponseItemsItemTotalWithTaxConvertedMax = 140737488355327; export declare const updateEstimateResponseItemsItemEstimateIdMax = 36; export declare const updateEstimateResponseItemsItemAdvanceInvoiceIdMax = 36; export declare const updateEstimateResponseItemsItemDeliveryNoteIdMax = 36; export declare const updateEstimateResponseItemsItemItemIdMax = 36; export declare const UpdateEstimateResponse: zod.ZodObject<{ id: zod.ZodString; number: zod.ZodString; is_draft: zod.ZodBoolean; date: zod.z.ZodISODateTime; issuer: zod.ZodObject<{ name: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; total: zod.ZodNumber; total_with_tax: zod.ZodNumber; total_discount: zod.ZodNumber; creation_source: zod.ZodEnum<{ standard: "standard"; custom: "custom"; }>; calculation_mode: zod.ZodEnum<{ b2b_standard: "b2b_standard"; b2c_gross_discount: "b2c_gross_discount"; }>; taxes: zod.ZodArray; tax_id: zod.ZodOptional>; base: zod.ZodNumber; amount: zod.ZodNumber; reverse_charge: zod.ZodOptional>; }, zod.z.core.$strip>>; currency_code: zod.ZodString; entity_id: zod.ZodString; date_year: zod.ZodNumber; shareable_id: zod.ZodOptional>; voided_at: zod.ZodOptional>; transaction_type: zod.ZodOptional, zod.ZodLiteral<"intra_eu_b2b">, zod.ZodLiteral<"intra_eu_b2c">, zod.ZodLiteral<"3w_b2b">, zod.ZodLiteral<"3w_b2c">, zod.ZodLiteral<"export">, zod.ZodLiteral]>>>; metadata: zod.ZodOptional>>; exchange_rate: zod.ZodOptional>>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; rounding_correction: zod.ZodOptional>; eslog: zod.ZodOptional>; validation_status: zod.ZodOptional, zod.ZodLiteral<"invalid">, zod.ZodLiteral<"not_validated">, zod.ZodLiteral]>>>; validation_errors: zod.ZodOptional>>; validated_at: zod.ZodOptional>; }, zod.z.core.$strip>>>; reference: zod.ZodOptional>; vies: zod.ZodOptional; skipped: zod.ZodNullable; }, zod.z.core.$strip>>>; deleted_at: zod.ZodOptional>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; pt: zod.ZodOptional, zod.ZodArray]>>; date_valid_till: zod.ZodOptional>; title_type: zod.ZodOptional, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>>; date_due: zod.ZodOptional>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodString; description: zod.ZodNullable; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodArray>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>; discounts: zod.ZodArray>; }, zod.z.core.$strip>>; total: zod.ZodOptional>; total_with_tax: zod.ZodOptional>; total_converted: zod.ZodOptional>; total_with_tax_converted: zod.ZodOptional>; estimate_id: zod.ZodOptional>; advance_invoice_id: zod.ZodOptional>; delivery_note_id: zod.ZodOptional>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; created_at: zod.z.ZodISODateTime; updated_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; document_relations: zod.ZodOptional; source_id: zod.ZodString; target_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; delivery_note: "delivery_note"; }>; target_id: zod.ZodString; relation_type: zod.ZodString; entity_id: zod.ZodString; created_at: zod.z.ZodISODateTime; linked_document_voided_at: zod.ZodOptional>; related_document: zod.ZodOptional; number: zod.ZodString; date: zod.ZodString; total_with_tax: zod.ZodNumber; currency_code: zod.ZodString; is_draft: zod.ZodBoolean; voided_at: zod.ZodNullable; paid_in_full: zod.ZodNullable; title_type: zod.ZodNullable, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>; hide_prices: zod.ZodNullable; }, zod.z.core.$strip>>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>; /** * Retrieve the version history for an estimate. Each version represents the document state before an update was applied. * @summary Get estimate version history */ export declare const getEstimateVersionsPathIdRegExp: RegExp; export declare const GetEstimateVersionsParams: zod.ZodObject<{ id: zod.ZodCustomStringFormat<"resource-id">; }, zod.z.core.$strip>; export declare const GetEstimateVersionsHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetEstimateVersionsResponse: zod.ZodObject<{ versions: zod.ZodArray; document_id: zod.ZodString; version: zod.ZodNumber; snapshot: zod.ZodRecord; changed_fields: zod.ZodArray; user: zod.ZodNullable; email: zod.ZodString; }, zod.z.core.$strip>>; reason: zod.ZodNullable; created_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>>; count: zod.ZodNumber; }, zod.z.core.$strip>; /** * Retrieve a specific version snapshot of an estimate. * @summary Get specific estimate version */ export declare const GetEstimateVersionParams: zod.ZodObject<{ id: zod.ZodString; version: zod.ZodNumber; }, zod.z.core.$strip>; export declare const GetEstimateVersionHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const GetEstimateVersionResponse: zod.ZodObject<{ id: zod.ZodString; document_type: zod.ZodEnum<{ estimate: "estimate"; invoice: "invoice"; credit_note: "credit_note"; advance_invoice: "advance_invoice"; }>; document_id: zod.ZodString; version: zod.ZodNumber; snapshot: zod.ZodRecord; changed_fields: zod.ZodArray; user: zod.ZodNullable; email: zod.ZodString; }, zod.z.core.$strip>>; reason: zod.ZodNullable; created_at: zod.z.ZodISODateTime; }, zod.z.core.$strip>; /** * Render an HTML preview of an estimate without saving to the database. Perfect for displaying live previews in estimate creation/edit forms. Supports both partial mode (allows incomplete data for drafts) and complete mode (validates all required fields). * @summary Render estimate preview */ export declare const renderEstimatePreviewQueryLocaleMin = 2; export declare const renderEstimatePreviewQueryLocaleMax = 5; export declare const renderEstimatePreviewQueryLanguageMin = 2; export declare const renderEstimatePreviewQueryLanguageMax = 5; export declare const renderEstimatePreviewQueryPartialDefault = "true"; export declare const RenderEstimatePreviewQueryParams: zod.ZodObject<{ template: zod.ZodOptional>; locale: zod.ZodOptional>; language: zod.ZodOptional>; partial: zod.ZodDefault>; upn_qr_enabled: zod.ZodOptional>; upn_qr_display_mode: zod.ZodOptional>; epc_qr_enabled: zod.ZodOptional>; }, zod.z.core.$strip>; export declare const RenderEstimatePreviewHeader: zod.ZodObject<{ "x-entity-id": zod.ZodOptional; }, zod.z.core.$strip>; export declare const renderEstimatePreviewBodyOneDateRegExp: RegExp; export declare const renderEstimatePreviewBodyOneIssuerCountryCodeMin = 2; export declare const renderEstimatePreviewBodyOneIssuerCountryCodeMax = 2; export declare const renderEstimatePreviewBodyOneIssuerBankAccountTypeDefault = "iban"; export declare const renderEstimatePreviewBodyOneCustomerOneCountryCodeMin = 2; export declare const renderEstimatePreviewBodyOneCustomerOneCountryCodeMax = 2; export declare const renderEstimatePreviewBodyOneCustomerOneBankAccountTypeDefault = "iban"; export declare const renderEstimatePreviewBodyOneFooterMax = 500; export declare const renderEstimatePreviewBodyOneCurrencyCodeMax = 3; export declare const renderEstimatePreviewBodyOnePtManualSeriesCodeMax = 35; export declare const renderEstimatePreviewBodyOneDateDueRegExp: RegExp; export declare const renderEstimatePreviewBodyOneDateServiceRegExp: RegExp; export declare const renderEstimatePreviewBodyOneDateServiceToRegExp: RegExp; export declare const renderEstimatePreviewBodyOneExpectedTotalWithTaxExclusiveMin = 0; export declare const renderEstimatePreviewBodyTwoDateRegExp: RegExp; export declare const renderEstimatePreviewBodyTwoIssuerCountryCodeMin = 2; export declare const renderEstimatePreviewBodyTwoIssuerCountryCodeMax = 2; export declare const renderEstimatePreviewBodyTwoIssuerBankAccountTypeDefault = "iban"; export declare const renderEstimatePreviewBodyTwoCustomerOneCountryCodeMin = 2; export declare const renderEstimatePreviewBodyTwoCustomerOneCountryCodeMax = 2; export declare const renderEstimatePreviewBodyTwoCustomerOneBankAccountTypeDefault = "iban"; export declare const renderEstimatePreviewBodyTwoFooterMax = 500; export declare const renderEstimatePreviewBodyTwoCurrencyCodeMax = 3; export declare const renderEstimatePreviewBodyTwoPtManualSeriesCodeMax = 35; export declare const renderEstimatePreviewBodyTwoDateDueRegExp: RegExp; export declare const renderEstimatePreviewBodyTwoDateServiceRegExp: RegExp; export declare const renderEstimatePreviewBodyTwoDateServiceToRegExp: RegExp; export declare const renderEstimatePreviewBodyTwoItemsItemDescriptionMax = 2000; export declare const renderEstimatePreviewBodyTwoItemsItemQuantityMin = -140737488355328; export declare const renderEstimatePreviewBodyTwoItemsItemQuantityMax = 140737488355327; export declare const renderEstimatePreviewBodyTwoItemsItemUnitMax = 50; export declare const renderEstimatePreviewBodyTwoItemsItemDiscountsItemValueMin = 0; export declare const renderEstimatePreviewBodyTwoItemsItemDiscountsItemTypeDefault = "percent"; export declare const renderEstimatePreviewBodyTwoItemsItemDiscountsMax = 5; export declare const renderEstimatePreviewBodyTwoExpectedTotalWithTaxExclusiveMin = 0; export declare const RenderEstimatePreviewBody: zod.ZodUnion; date: zod.ZodOptional; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; calculation_mode: zod.ZodOptional, zod.ZodLiteral<"b2c_gross_discount">, zod.ZodLiteral]>>>; currency_code: zod.ZodOptional; metadata: zod.ZodOptional>>; reference: zod.ZodOptional>; pt: zod.ZodOptional>; manual: zod.ZodOptional>; manual_sequential_number: zod.ZodOptional>; manual_series_code: zod.ZodOptional>; operator_first_name: zod.ZodOptional>; operator_last_name: zod.ZodOptional>; operator_tax_number: zod.ZodOptional>; account_first_name: zod.ZodOptional>; account_last_name: zod.ZodOptional>; account_tax_number: zod.ZodOptional>; }, zod.z.core.$strip>>>; date_valid_till: zod.ZodOptional>; title_type: zod.ZodOptional, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>>; date_due: zod.ZodOptional>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; items: zod.ZodArray>; name: zod.ZodOptional; quantity: zod.ZodOptional; price: zod.ZodOptional; gross_price: zod.ZodOptional; description: zod.ZodOptional; unit: zod.ZodOptional; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; taxes: zod.ZodOptional; tax_id: zod.ZodOptional; }, zod.z.core.$strip>>>; metadata: zod.ZodOptional>; }, zod.z.core.$strip>>; expected_total_with_tax: zod.ZodOptional>; }, zod.z.core.$strip>, zod.ZodObject<{ is_draft: zod.ZodOptional; date: zod.ZodOptional; issuer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>>; customer_id: zod.ZodOptional>; customer: zod.ZodOptional>; email: zod.ZodOptional>; address: zod.ZodOptional>; address_2: zod.ZodOptional>; post_code: zod.ZodOptional>; city: zod.ZodOptional>; state: zod.ZodOptional>; country: zod.ZodOptional>; country_code: zod.ZodOptional>; tax_number: zod.ZodOptional>; tax_number_2: zod.ZodOptional>; company_number: zod.ZodOptional>; phone: zod.ZodOptional>; peppol_id: zod.ZodOptional>; is_end_consumer: zod.ZodOptional>; bank_account: zod.ZodOptional>; name: zod.ZodOptional>; bank_name: zod.ZodOptional>; iban: zod.ZodOptional>; account_number: zod.ZodOptional>; bic: zod.ZodOptional>; routing_number: zod.ZodOptional>; sort_code: zod.ZodOptional>; }, zod.z.core.$strip>>>; }, zod.z.core.$strip>, zod.ZodNullable>; }, zod.z.core.$strip>>>>; note: zod.ZodOptional>; payment_terms: zod.ZodOptional>; tax_clause: zod.ZodOptional>; footer: zod.ZodOptional>; signature: zod.ZodOptional>; calculation_mode: zod.ZodOptional, zod.ZodLiteral<"b2c_gross_discount">, zod.ZodLiteral]>>>; currency_code: zod.ZodOptional; metadata: zod.ZodOptional>>; reference: zod.ZodOptional>; pt: zod.ZodOptional>; manual: zod.ZodOptional>; manual_sequential_number: zod.ZodOptional>; manual_series_code: zod.ZodOptional>; operator_first_name: zod.ZodOptional>; operator_last_name: zod.ZodOptional>; operator_tax_number: zod.ZodOptional>; account_first_name: zod.ZodOptional>; account_last_name: zod.ZodOptional>; account_tax_number: zod.ZodOptional>; }, zod.z.core.$strip>>>; date_valid_till: zod.ZodOptional>; title_type: zod.ZodOptional, zod.ZodLiteral<"proforma_invoice">, zod.ZodLiteral]>>>; date_due: zod.ZodOptional>; date_service: zod.ZodOptional>; date_service_to: zod.ZodOptional>; items: zod.ZodArray, zod.ZodLiteral]>>>; name: zod.ZodOptional>; description: zod.ZodOptional>; classification: zod.ZodOptional, zod.ZodLiteral<"service">, zod.ZodLiteral<"advance">, zod.ZodLiteral]>>>; price: zod.ZodOptional>; gross_price: zod.ZodOptional>; quantity: zod.ZodOptional>; unit: zod.ZodOptional>; taxes: zod.ZodOptional>; tax_id: zod.ZodOptional>; classification: zod.ZodOptional>; reverse_charge: zod.ZodOptional>; amount: zod.ZodOptional>; pt_exemption_code: zod.ZodOptional>; pt_exemption_reason: zod.ZodOptional>; }, zod.z.core.$strip>>>; discounts: zod.ZodOptional>; }, zod.z.core.$strip>>>; item_id: zod.ZodOptional>; metadata: zod.ZodOptional>>; save_item: zod.ZodOptional>; }, zod.z.core.$strip>>; expected_total_with_tax: zod.ZodOptional>; }, zod.z.core.$strip>]>; //# sourceMappingURL=estimates.d.ts.map