@voyant-travel/finance-react 0.119.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +201 -0
- package/README.md +75 -0
- package/dist/admin/booking-invoices-widget.d.ts +19 -0
- package/dist/admin/booking-invoices-widget.d.ts.map +1 -0
- package/dist/admin/booking-invoices-widget.js +204 -0
- package/dist/admin/booking-payment-policy-widget.d.ts +21 -0
- package/dist/admin/booking-payment-policy-widget.d.ts.map +1 -0
- package/dist/admin/booking-payment-policy-widget.js +128 -0
- package/dist/admin/booking-pending-payment-sessions-widget.d.ts +24 -0
- package/dist/admin/booking-pending-payment-sessions-widget.d.ts.map +1 -0
- package/dist/admin/booking-pending-payment-sessions-widget.js +139 -0
- package/dist/admin/credit-note-dialog.d.ts +9 -0
- package/dist/admin/credit-note-dialog.d.ts.map +1 -0
- package/dist/admin/credit-note-dialog.js +70 -0
- package/dist/admin/finance-shared.d.ts +7 -0
- package/dist/admin/finance-shared.d.ts.map +1 -0
- package/dist/admin/finance-shared.js +30 -0
- package/dist/admin/index.d.ts +99 -0
- package/dist/admin/index.d.ts.map +1 -0
- package/dist/admin/index.js +286 -0
- package/dist/admin/invoice-detail-host.d.ts +19 -0
- package/dist/admin/invoice-detail-host.d.ts.map +1 -0
- package/dist/admin/invoice-detail-host.js +147 -0
- package/dist/admin/invoice-detail-sections.d.ts +31 -0
- package/dist/admin/invoice-detail-sections.d.ts.map +1 -0
- package/dist/admin/invoice-detail-sections.js +109 -0
- package/dist/admin/invoice-detail-skeleton.d.ts +11 -0
- package/dist/admin/invoice-detail-skeleton.d.ts.map +1 -0
- package/dist/admin/invoice-detail-skeleton.js +33 -0
- package/dist/admin/line-item-dialog.d.ts +10 -0
- package/dist/admin/line-item-dialog.d.ts.map +1 -0
- package/dist/admin/line-item-dialog.js +91 -0
- package/dist/admin/pages/invoice-detail.d.ts +8 -0
- package/dist/admin/pages/invoice-detail.d.ts.map +1 -0
- package/dist/admin/pages/invoice-detail.js +11 -0
- package/dist/admin/pages/invoices-index.d.ts +8 -0
- package/dist/admin/pages/invoices-index.d.ts.map +1 -0
- package/dist/admin/pages/invoices-index.js +14 -0
- package/dist/admin/pages/payment-detail.d.ts +8 -0
- package/dist/admin/pages/payment-detail.d.ts.map +1 -0
- package/dist/admin/pages/payment-detail.js +11 -0
- package/dist/admin/pages/payments-index.d.ts +9 -0
- package/dist/admin/pages/payments-index.d.ts.map +1 -0
- package/dist/admin/pages/payments-index.js +21 -0
- package/dist/admin/pages/profitability.d.ts +10 -0
- package/dist/admin/pages/profitability.d.ts.map +1 -0
- package/dist/admin/pages/profitability.js +32 -0
- package/dist/admin/pages/supplier-invoice-detail.d.ts +20 -0
- package/dist/admin/pages/supplier-invoice-detail.d.ts.map +1 -0
- package/dist/admin/pages/supplier-invoice-detail.js +102 -0
- package/dist/admin/pages/supplier-invoices-index.d.ts +9 -0
- package/dist/admin/pages/supplier-invoices-index.d.ts.map +1 -0
- package/dist/admin/pages/supplier-invoices-index.js +16 -0
- package/dist/admin/payment-detail-host.d.ts +12 -0
- package/dist/admin/payment-detail-host.d.ts.map +1 -0
- package/dist/admin/payment-detail-host.js +108 -0
- package/dist/admin/payment-detail-skeleton.d.ts +8 -0
- package/dist/admin/payment-detail-skeleton.d.ts.map +1 -0
- package/dist/admin/payment-detail-skeleton.js +15 -0
- package/dist/admin/payment-dialog.d.ts +9 -0
- package/dist/admin/payment-dialog.d.ts.map +1 -0
- package/dist/admin/payment-dialog.js +99 -0
- package/dist/admin/record-payment-dialog.d.ts +16 -0
- package/dist/admin/record-payment-dialog.d.ts.map +1 -0
- package/dist/admin/record-payment-dialog.js +219 -0
- package/dist/admin/supplier-payment-policy-widget.d.ts +18 -0
- package/dist/admin/supplier-payment-policy-widget.d.ts.map +1 -0
- package/dist/admin/supplier-payment-policy-widget.js +31 -0
- package/dist/admin/use-supplier-picker.d.ts +19 -0
- package/dist/admin/use-supplier-picker.d.ts.map +1 -0
- package/dist/admin/use-supplier-picker.js +30 -0
- package/dist/checkout-components/collect-payment-dialog.d.ts +45 -0
- package/dist/checkout-components/collect-payment-dialog.d.ts.map +1 -0
- package/dist/checkout-components/collect-payment-dialog.js +121 -0
- package/dist/checkout-components/payment-link-landing-page.d.ts +76 -0
- package/dist/checkout-components/payment-link-landing-page.d.ts.map +1 -0
- package/dist/checkout-components/payment-link-landing-page.js +173 -0
- package/dist/checkout-components/payment-step.d.ts +42 -0
- package/dist/checkout-components/payment-step.d.ts.map +1 -0
- package/dist/checkout-components/payment-step.js +113 -0
- package/dist/checkout-hooks/index.d.ts +5 -0
- package/dist/checkout-hooks/index.d.ts.map +1 -0
- package/dist/checkout-hooks/index.js +4 -0
- package/dist/checkout-hooks/use-checkout-payment-link-config.d.ts +20 -0
- package/dist/checkout-hooks/use-checkout-payment-link-config.d.ts.map +1 -0
- package/dist/checkout-hooks/use-checkout-payment-link-config.js +26 -0
- package/dist/checkout-hooks/use-collect-payment.d.ts +227 -0
- package/dist/checkout-hooks/use-collect-payment.d.ts.map +1 -0
- package/dist/checkout-hooks/use-collect-payment.js +80 -0
- package/dist/checkout-hooks/use-initiate-checkout-collection.d.ts +308 -0
- package/dist/checkout-hooks/use-initiate-checkout-collection.d.ts.map +1 -0
- package/dist/checkout-hooks/use-initiate-checkout-collection.js +35 -0
- package/dist/checkout-hooks/use-preview-checkout-collection.d.ts +65 -0
- package/dist/checkout-hooks/use-preview-checkout-collection.d.ts.map +1 -0
- package/dist/checkout-hooks/use-preview-checkout-collection.js +27 -0
- package/dist/checkout-i18n/en.d.ts +3 -0
- package/dist/checkout-i18n/en.d.ts.map +1 -0
- package/dist/checkout-i18n/en.js +127 -0
- package/dist/checkout-i18n/index.d.ts +5 -0
- package/dist/checkout-i18n/index.d.ts.map +1 -0
- package/dist/checkout-i18n/index.js +3 -0
- package/dist/checkout-i18n/messages.d.ts +121 -0
- package/dist/checkout-i18n/messages.d.ts.map +1 -0
- package/dist/checkout-i18n/messages.js +1 -0
- package/dist/checkout-i18n/provider.d.ts +26 -0
- package/dist/checkout-i18n/provider.d.ts.map +1 -0
- package/dist/checkout-i18n/provider.js +41 -0
- package/dist/checkout-i18n/ro.d.ts +3 -0
- package/dist/checkout-i18n/ro.d.ts.map +1 -0
- package/dist/checkout-i18n/ro.js +127 -0
- package/dist/checkout-types.d.ts +53 -0
- package/dist/checkout-types.d.ts.map +1 -0
- package/dist/checkout-types.js +1 -0
- package/dist/checkout-ui.d.ts +7 -0
- package/dist/checkout-ui.d.ts.map +1 -0
- package/dist/checkout-ui.js +4 -0
- package/dist/checkout.d.ts +5 -0
- package/dist/checkout.d.ts.map +1 -0
- package/dist/checkout.js +3 -0
- package/dist/client.d.ts +16 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +79 -0
- package/dist/components/accountant-portal/body.d.ts +8 -0
- package/dist/components/accountant-portal/body.d.ts.map +1 -0
- package/dist/components/accountant-portal/body.js +114 -0
- package/dist/components/accountant-portal/widgets.d.ts +13 -0
- package/dist/components/accountant-portal/widgets.d.ts.map +1 -0
- package/dist/components/accountant-portal/widgets.js +27 -0
- package/dist/components/accountant-portal.d.ts +10 -0
- package/dist/components/accountant-portal.d.ts.map +1 -0
- package/dist/components/accountant-portal.js +22 -0
- package/dist/components/accountant-share-dialog.d.ts +6 -0
- package/dist/components/accountant-share-dialog.d.ts.map +1 -0
- package/dist/components/accountant-share-dialog.js +53 -0
- package/dist/components/async-combobox.d.ts +33 -0
- package/dist/components/async-combobox.d.ts.map +1 -0
- package/dist/components/async-combobox.js +100 -0
- package/dist/components/booking-invoice-dialog.d.ts +63 -0
- package/dist/components/booking-invoice-dialog.d.ts.map +1 -0
- package/dist/components/booking-invoice-dialog.js +383 -0
- package/dist/components/cost-categories-page.d.ts +5 -0
- package/dist/components/cost-categories-page.d.ts.map +1 -0
- package/dist/components/cost-categories-page.js +30 -0
- package/dist/components/invoice-action-ledger-card.d.ts +15 -0
- package/dist/components/invoice-action-ledger-card.d.ts.map +1 -0
- package/dist/components/invoice-action-ledger-card.js +76 -0
- package/dist/components/invoice-bulk-actions.d.ts +10 -0
- package/dist/components/invoice-bulk-actions.d.ts.map +1 -0
- package/dist/components/invoice-bulk-actions.js +19 -0
- package/dist/components/invoice-detail-page/cards.d.ts +44 -0
- package/dist/components/invoice-detail-page/cards.d.ts.map +1 -0
- package/dist/components/invoice-detail-page/cards.js +43 -0
- package/dist/components/invoice-detail-page/header.d.ts +15 -0
- package/dist/components/invoice-detail-page/header.d.ts.map +1 -0
- package/dist/components/invoice-detail-page/header.js +30 -0
- package/dist/components/invoice-detail-page/notes-dialogs.d.ts +28 -0
- package/dist/components/invoice-detail-page/notes-dialogs.d.ts.map +1 -0
- package/dist/components/invoice-detail-page/notes-dialogs.js +104 -0
- package/dist/components/invoice-detail-page/primitives.d.ts +47 -0
- package/dist/components/invoice-detail-page/primitives.d.ts.map +1 -0
- package/dist/components/invoice-detail-page/primitives.js +76 -0
- package/dist/components/invoice-detail-page-with-action-ledger.d.ts +7 -0
- package/dist/components/invoice-detail-page-with-action-ledger.d.ts.map +1 -0
- package/dist/components/invoice-detail-page-with-action-ledger.js +11 -0
- package/dist/components/invoice-detail-page.d.ts +46 -0
- package/dist/components/invoice-detail-page.d.ts.map +1 -0
- package/dist/components/invoice-detail-page.js +134 -0
- package/dist/components/invoice-dialog.d.ts +9 -0
- package/dist/components/invoice-dialog.d.ts.map +1 -0
- package/dist/components/invoice-dialog.js +145 -0
- package/dist/components/invoice-number-series-dialog.d.ts +9 -0
- package/dist/components/invoice-number-series-dialog.d.ts.map +1 -0
- package/dist/components/invoice-number-series-dialog.js +134 -0
- package/dist/components/invoice-number-series-format.d.ts +3 -0
- package/dist/components/invoice-number-series-format.d.ts.map +1 -0
- package/dist/components/invoice-number-series-format.js +4 -0
- package/dist/components/invoice-number-series-page.d.ts +5 -0
- package/dist/components/invoice-number-series-page.d.ts.map +1 -0
- package/dist/components/invoice-number-series-page.js +55 -0
- package/dist/components/invoice-table-parts.d.ts +25 -0
- package/dist/components/invoice-table-parts.d.ts.map +1 -0
- package/dist/components/invoice-table-parts.js +32 -0
- package/dist/components/invoices-page-skeleton.d.ts +5 -0
- package/dist/components/invoices-page-skeleton.d.ts.map +1 -0
- package/dist/components/invoices-page-skeleton.js +13 -0
- package/dist/components/invoices-page.d.ts +6 -0
- package/dist/components/invoices-page.d.ts.map +1 -0
- package/dist/components/invoices-page.js +145 -0
- package/dist/components/payment-detail-page.d.ts +47 -0
- package/dist/components/payment-detail-page.d.ts.map +1 -0
- package/dist/components/payment-detail-page.js +90 -0
- package/dist/components/payment-policy-form.d.ts +49 -0
- package/dist/components/payment-policy-form.d.ts.map +1 -0
- package/dist/components/payment-policy-form.js +82 -0
- package/dist/components/payments-page/controls.d.ts +23 -0
- package/dist/components/payments-page/controls.d.ts.map +1 -0
- package/dist/components/payments-page/controls.js +20 -0
- package/dist/components/payments-page-skeleton.d.ts +5 -0
- package/dist/components/payments-page-skeleton.d.ts.map +1 -0
- package/dist/components/payments-page-skeleton.js +13 -0
- package/dist/components/payments-page.d.ts +20 -0
- package/dist/components/payments-page.d.ts.map +1 -0
- package/dist/components/payments-page.js +143 -0
- package/dist/components/profitability-page/sections.d.ts +24 -0
- package/dist/components/profitability-page/sections.d.ts.map +1 -0
- package/dist/components/profitability-page/sections.js +43 -0
- package/dist/components/profitability-page.d.ts +13 -0
- package/dist/components/profitability-page.d.ts.map +1 -0
- package/dist/components/profitability-page.js +175 -0
- package/dist/components/record-booking-payment-dialog/shared.d.ts +54 -0
- package/dist/components/record-booking-payment-dialog/shared.d.ts.map +1 -0
- package/dist/components/record-booking-payment-dialog/shared.js +47 -0
- package/dist/components/record-booking-payment-dialog.d.ts +4 -0
- package/dist/components/record-booking-payment-dialog.d.ts.map +1 -0
- package/dist/components/record-booking-payment-dialog.js +256 -0
- package/dist/components/supplier-invoice-detail-page/dialogs.d.ts +34 -0
- package/dist/components/supplier-invoice-detail-page/dialogs.d.ts.map +1 -0
- package/dist/components/supplier-invoice-detail-page/dialogs.js +119 -0
- package/dist/components/supplier-invoice-detail-page/shared.d.ts +64 -0
- package/dist/components/supplier-invoice-detail-page/shared.d.ts.map +1 -0
- package/dist/components/supplier-invoice-detail-page/shared.js +70 -0
- package/dist/components/supplier-invoice-detail-page.d.ts +4 -0
- package/dist/components/supplier-invoice-detail-page.d.ts.map +1 -0
- package/dist/components/supplier-invoice-detail-page.js +101 -0
- package/dist/components/supplier-invoice-form-dialog.d.ts +45 -0
- package/dist/components/supplier-invoice-form-dialog.d.ts.map +1 -0
- package/dist/components/supplier-invoice-form-dialog.js +102 -0
- package/dist/components/supplier-invoices-page.d.ts +14 -0
- package/dist/components/supplier-invoices-page.d.ts.map +1 -0
- package/dist/components/supplier-invoices-page.js +69 -0
- package/dist/components/supplier-payment-dialog.d.ts +7 -0
- package/dist/components/supplier-payment-dialog.d.ts.map +1 -0
- package/dist/components/supplier-payment-dialog.js +103 -0
- package/dist/components/taxes-page/policy-profile-sheet.d.ts +8 -0
- package/dist/components/taxes-page/policy-profile-sheet.d.ts.map +1 -0
- package/dist/components/taxes-page/policy-profile-sheet.js +52 -0
- package/dist/components/taxes-page/policy-rule-sheet.d.ts +10 -0
- package/dist/components/taxes-page/policy-rule-sheet.d.ts.map +1 -0
- package/dist/components/taxes-page/policy-rule-sheet.js +137 -0
- package/dist/components/taxes-page/shared.d.ts +128 -0
- package/dist/components/taxes-page/shared.d.ts.map +1 -0
- package/dist/components/taxes-page/shared.js +288 -0
- package/dist/components/taxes-page/sheets.d.ts +4 -0
- package/dist/components/taxes-page/sheets.d.ts.map +1 -0
- package/dist/components/taxes-page/sheets.js +3 -0
- package/dist/components/taxes-page/tax-sheet.d.ts +9 -0
- package/dist/components/taxes-page/tax-sheet.d.ts.map +1 -0
- package/dist/components/taxes-page/tax-sheet.js +108 -0
- package/dist/components/taxes-page.d.ts +4 -0
- package/dist/components/taxes-page.d.ts.map +1 -0
- package/dist/components/taxes-page.js +165 -0
- package/dist/hooks/index.d.ts +53 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +52 -0
- package/dist/hooks/use-accountant-share-mutation.d.ts +20 -0
- package/dist/hooks/use-accountant-share-mutation.d.ts.map +1 -0
- package/dist/hooks/use-accountant-share-mutation.js +27 -0
- package/dist/hooks/use-accountant-shares.d.ts +13 -0
- package/dist/hooks/use-accountant-shares.d.ts.map +1 -0
- package/dist/hooks/use-accountant-shares.js +8 -0
- package/dist/hooks/use-admin-booking-payments.d.ts +30 -0
- package/dist/hooks/use-admin-booking-payments.d.ts.map +1 -0
- package/dist/hooks/use-admin-booking-payments.js +18 -0
- package/dist/hooks/use-all-payments.d.ts +35 -0
- package/dist/hooks/use-all-payments.d.ts.map +1 -0
- package/dist/hooks/use-all-payments.js +12 -0
- package/dist/hooks/use-booking-guarantees.d.ts +82 -0
- package/dist/hooks/use-booking-guarantees.d.ts.map +1 -0
- package/dist/hooks/use-booking-guarantees.js +46 -0
- package/dist/hooks/use-booking-payment-schedule-regenerate-mutation.d.ts +44 -0
- package/dist/hooks/use-booking-payment-schedule-regenerate-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-payment-schedule-regenerate-mutation.js +27 -0
- package/dist/hooks/use-booking-payment-schedules.d.ts +63 -0
- package/dist/hooks/use-booking-payment-schedules.d.ts.map +1 -0
- package/dist/hooks/use-booking-payment-schedules.js +47 -0
- package/dist/hooks/use-cost-categories.d.ts +14 -0
- package/dist/hooks/use-cost-categories.d.ts.map +1 -0
- package/dist/hooks/use-cost-categories.js +9 -0
- package/dist/hooks/use-cost-category-mutation.d.ts +31 -0
- package/dist/hooks/use-cost-category-mutation.d.ts.map +1 -0
- package/dist/hooks/use-cost-category-mutation.js +27 -0
- package/dist/hooks/use-departure-profitability.d.ts +56 -0
- package/dist/hooks/use-departure-profitability.d.ts.map +1 -0
- package/dist/hooks/use-departure-profitability.js +12 -0
- package/dist/hooks/use-finance-action-ledger.d.ts +94 -0
- package/dist/hooks/use-finance-action-ledger.d.ts.map +1 -0
- package/dist/hooks/use-finance-action-ledger.js +20 -0
- package/dist/hooks/use-invoice-attachment-mutation.d.ts +43 -0
- package/dist/hooks/use-invoice-attachment-mutation.d.ts.map +1 -0
- package/dist/hooks/use-invoice-attachment-mutation.js +39 -0
- package/dist/hooks/use-invoice-attachments.d.ts +18 -0
- package/dist/hooks/use-invoice-attachments.d.ts.map +1 -0
- package/dist/hooks/use-invoice-attachments.js +12 -0
- package/dist/hooks/use-invoice-bulk-status-mutation.d.ts +51 -0
- package/dist/hooks/use-invoice-bulk-status-mutation.d.ts.map +1 -0
- package/dist/hooks/use-invoice-bulk-status-mutation.js +66 -0
- package/dist/hooks/use-invoice-credit-note-mutation.d.ts +38 -0
- package/dist/hooks/use-invoice-credit-note-mutation.d.ts.map +1 -0
- package/dist/hooks/use-invoice-credit-note-mutation.js +35 -0
- package/dist/hooks/use-invoice-credit-notes.d.ts +17 -0
- package/dist/hooks/use-invoice-credit-notes.d.ts.map +1 -0
- package/dist/hooks/use-invoice-credit-notes.js +12 -0
- package/dist/hooks/use-invoice-fx-rate.d.ts +19 -0
- package/dist/hooks/use-invoice-fx-rate.d.ts.map +1 -0
- package/dist/hooks/use-invoice-fx-rate.js +13 -0
- package/dist/hooks/use-invoice-line-item-mutation.d.ts +40 -0
- package/dist/hooks/use-invoice-line-item-mutation.d.ts.map +1 -0
- package/dist/hooks/use-invoice-line-item-mutation.js +42 -0
- package/dist/hooks/use-invoice-line-items.d.ts +17 -0
- package/dist/hooks/use-invoice-line-items.d.ts.map +1 -0
- package/dist/hooks/use-invoice-line-items.js +12 -0
- package/dist/hooks/use-invoice-mutation.d.ts +225 -0
- package/dist/hooks/use-invoice-mutation.d.ts.map +1 -0
- package/dist/hooks/use-invoice-mutation.js +121 -0
- package/dist/hooks/use-invoice-note-mutation.d.ts +11 -0
- package/dist/hooks/use-invoice-note-mutation.d.ts.map +1 -0
- package/dist/hooks/use-invoice-note-mutation.js +23 -0
- package/dist/hooks/use-invoice-notes.d.ts +13 -0
- package/dist/hooks/use-invoice-notes.d.ts.map +1 -0
- package/dist/hooks/use-invoice-notes.js +12 -0
- package/dist/hooks/use-invoice-number-series-mutation.d.ts +62 -0
- package/dist/hooks/use-invoice-number-series-mutation.d.ts.map +1 -0
- package/dist/hooks/use-invoice-number-series-mutation.js +39 -0
- package/dist/hooks/use-invoice-number-series.d.ts +28 -0
- package/dist/hooks/use-invoice-number-series.d.ts.map +1 -0
- package/dist/hooks/use-invoice-number-series.js +12 -0
- package/dist/hooks/use-invoice-payment-mutation.d.ts +29 -0
- package/dist/hooks/use-invoice-payment-mutation.d.ts.map +1 -0
- package/dist/hooks/use-invoice-payment-mutation.js +35 -0
- package/dist/hooks/use-invoice-payments.d.ts +21 -0
- package/dist/hooks/use-invoice-payments.d.ts.map +1 -0
- package/dist/hooks/use-invoice-payments.js +12 -0
- package/dist/hooks/use-invoice.d.ts +32 -0
- package/dist/hooks/use-invoice.d.ts.map +1 -0
- package/dist/hooks/use-invoice.js +12 -0
- package/dist/hooks/use-invoices.d.ts +36 -0
- package/dist/hooks/use-invoices.d.ts.map +1 -0
- package/dist/hooks/use-invoices.js +12 -0
- package/dist/hooks/use-payment-mutation.d.ts +57 -0
- package/dist/hooks/use-payment-mutation.d.ts.map +1 -0
- package/dist/hooks/use-payment-mutation.js +59 -0
- package/dist/hooks/use-payment-session-mutation.d.ts +205 -0
- package/dist/hooks/use-payment-session-mutation.d.ts.map +1 -0
- package/dist/hooks/use-payment-session-mutation.js +38 -0
- package/dist/hooks/use-payment-sessions.d.ts +97 -0
- package/dist/hooks/use-payment-sessions.d.ts.map +1 -0
- package/dist/hooks/use-payment-sessions.js +17 -0
- package/dist/hooks/use-payment.d.ts +31 -0
- package/dist/hooks/use-payment.d.ts.map +1 -0
- package/dist/hooks/use-payment.js +12 -0
- package/dist/hooks/use-product-profitability.d.ts +52 -0
- package/dist/hooks/use-product-profitability.d.ts.map +1 -0
- package/dist/hooks/use-product-profitability.js +12 -0
- package/dist/hooks/use-public-booking-documents.d.ts +29 -0
- package/dist/hooks/use-public-booking-documents.d.ts.map +1 -0
- package/dist/hooks/use-public-booking-documents.js +12 -0
- package/dist/hooks/use-public-booking-payment-options.d.ts +47 -0
- package/dist/hooks/use-public-booking-payment-options.d.ts.map +1 -0
- package/dist/hooks/use-public-booking-payment-options.js +12 -0
- package/dist/hooks/use-public-booking-payments.d.ts +24 -0
- package/dist/hooks/use-public-booking-payments.d.ts.map +1 -0
- package/dist/hooks/use-public-booking-payments.js +12 -0
- package/dist/hooks/use-public-finance-document-by-reference.d.ts +27 -0
- package/dist/hooks/use-public-finance-document-by-reference.d.ts.map +1 -0
- package/dist/hooks/use-public-finance-document-by-reference.js +12 -0
- package/dist/hooks/use-public-payment-session-mutation.d.ts +82 -0
- package/dist/hooks/use-public-payment-session-mutation.d.ts.map +1 -0
- package/dist/hooks/use-public-payment-session-mutation.js +33 -0
- package/dist/hooks/use-public-payment-session.d.ts +73 -0
- package/dist/hooks/use-public-payment-session.d.ts.map +1 -0
- package/dist/hooks/use-public-payment-session.js +12 -0
- package/dist/hooks/use-public-voucher-validation-mutation.d.ts +23 -0
- package/dist/hooks/use-public-voucher-validation-mutation.d.ts.map +1 -0
- package/dist/hooks/use-public-voucher-validation-mutation.js +17 -0
- package/dist/hooks/use-supplier-invoice-attachments.d.ts +17 -0
- package/dist/hooks/use-supplier-invoice-attachments.d.ts.map +1 -0
- package/dist/hooks/use-supplier-invoice-attachments.js +12 -0
- package/dist/hooks/use-supplier-invoice-mutation.d.ts +353 -0
- package/dist/hooks/use-supplier-invoice-mutation.d.ts.map +1 -0
- package/dist/hooks/use-supplier-invoice-mutation.js +81 -0
- package/dist/hooks/use-supplier-invoice-payments.d.ts +26 -0
- package/dist/hooks/use-supplier-invoice-payments.d.ts.map +1 -0
- package/dist/hooks/use-supplier-invoice-payments.js +12 -0
- package/dist/hooks/use-supplier-invoice.d.ts +65 -0
- package/dist/hooks/use-supplier-invoice.d.ts.map +1 -0
- package/dist/hooks/use-supplier-invoice.js +12 -0
- package/dist/hooks/use-supplier-invoices.d.ts +36 -0
- package/dist/hooks/use-supplier-invoices.d.ts.map +1 -0
- package/dist/hooks/use-supplier-invoices.js +12 -0
- package/dist/hooks/use-supplier-payment-mutation.d.ts +55 -0
- package/dist/hooks/use-supplier-payment-mutation.d.ts.map +1 -0
- package/dist/hooks/use-supplier-payment-mutation.js +35 -0
- package/dist/hooks/use-supplier-payments.d.ts +27 -0
- package/dist/hooks/use-supplier-payments.d.ts.map +1 -0
- package/dist/hooks/use-supplier-payments.js +12 -0
- package/dist/hooks/use-traveler-profitability.d.ts +24 -0
- package/dist/hooks/use-traveler-profitability.d.ts.map +1 -0
- package/dist/hooks/use-traveler-profitability.js +11 -0
- package/dist/hooks/use-voucher-mutation.d.ts +105 -0
- package/dist/hooks/use-voucher-mutation.d.ts.map +1 -0
- package/dist/hooks/use-voucher-mutation.js +50 -0
- package/dist/hooks/use-voucher.d.ts +38 -0
- package/dist/hooks/use-voucher.d.ts.map +1 -0
- package/dist/hooks/use-voucher.js +17 -0
- package/dist/hooks/use-vouchers.d.ts +34 -0
- package/dist/hooks/use-vouchers.d.ts.map +1 -0
- package/dist/hooks/use-vouchers.js +18 -0
- package/dist/i18n/en/invoices.d.ts +278 -0
- package/dist/i18n/en/invoices.d.ts.map +1 -0
- package/dist/i18n/en/invoices.js +277 -0
- package/dist/i18n/en/numberingAndPayments.d.ts +387 -0
- package/dist/i18n/en/numberingAndPayments.d.ts.map +1 -0
- package/dist/i18n/en/numberingAndPayments.js +386 -0
- package/dist/i18n/en/profitability.d.ts +147 -0
- package/dist/i18n/en/profitability.d.ts.map +1 -0
- package/dist/i18n/en/profitability.js +146 -0
- package/dist/i18n/en/suppliers.d.ts +187 -0
- package/dist/i18n/en/suppliers.d.ts.map +1 -0
- package/dist/i18n/en/suppliers.js +186 -0
- package/dist/i18n/en.d.ts +998 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/en.js +22 -0
- package/dist/i18n/index.d.ts +5 -0
- package/dist/i18n/index.d.ts.map +1 -0
- package/dist/i18n/index.js +3 -0
- package/dist/i18n/messages/core.d.ts +18 -0
- package/dist/i18n/messages/core.d.ts.map +1 -0
- package/dist/i18n/messages/core.js +30 -0
- package/dist/i18n/messages/invoices.d.ts +252 -0
- package/dist/i18n/messages/invoices.d.ts.map +1 -0
- package/dist/i18n/messages/invoices.js +1 -0
- package/dist/i18n/messages/numberingAndPayments.d.ts +277 -0
- package/dist/i18n/messages/numberingAndPayments.d.ts.map +1 -0
- package/dist/i18n/messages/numberingAndPayments.js +1 -0
- package/dist/i18n/messages/profitability.d.ts +151 -0
- package/dist/i18n/messages/profitability.d.ts.map +1 -0
- package/dist/i18n/messages/profitability.js +1 -0
- package/dist/i18n/messages/suppliers.d.ts +167 -0
- package/dist/i18n/messages/suppliers.d.ts.map +1 -0
- package/dist/i18n/messages/suppliers.js +1 -0
- package/dist/i18n/messages.d.ts +29 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/i18n/messages.js +1 -0
- package/dist/i18n/provider.d.ts +2018 -0
- package/dist/i18n/provider.d.ts.map +1 -0
- package/dist/i18n/provider.js +44 -0
- package/dist/i18n/ro/invoices.d.ts +278 -0
- package/dist/i18n/ro/invoices.d.ts.map +1 -0
- package/dist/i18n/ro/invoices.js +277 -0
- package/dist/i18n/ro/numberingAndPayments.d.ts +387 -0
- package/dist/i18n/ro/numberingAndPayments.d.ts.map +1 -0
- package/dist/i18n/ro/numberingAndPayments.js +386 -0
- package/dist/i18n/ro/profitability.d.ts +147 -0
- package/dist/i18n/ro/profitability.d.ts.map +1 -0
- package/dist/i18n/ro/profitability.js +146 -0
- package/dist/i18n/ro/suppliers.d.ts +187 -0
- package/dist/i18n/ro/suppliers.d.ts.map +1 -0
- package/dist/i18n/ro/suppliers.js +186 -0
- package/dist/i18n/ro.d.ts +998 -0
- package/dist/i18n/ro.d.ts.map +1 -0
- package/dist/i18n/ro.js +22 -0
- package/dist/index.d.ts +11 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +9 -0
- package/dist/operations.d.ts +484 -0
- package/dist/operations.d.ts.map +1 -0
- package/dist/operations.js +52 -0
- package/dist/provider.d.ts +2 -0
- package/dist/provider.d.ts.map +1 -0
- package/dist/provider.js +1 -0
- package/dist/query-keys.d.ts +195 -0
- package/dist/query-keys.d.ts.map +1 -0
- package/dist/query-keys.js +49 -0
- package/dist/query-options/public-reporting.d.ts +2129 -0
- package/dist/query-options/public-reporting.d.ts.map +1 -0
- package/dist/query-options/public-reporting.js +193 -0
- package/dist/query-options-action-ledger.d.ts +382 -0
- package/dist/query-options-action-ledger.d.ts.map +1 -0
- package/dist/query-options-action-ledger.js +36 -0
- package/dist/query-options.d.ts +2057 -0
- package/dist/query-options.d.ts.map +1 -0
- package/dist/query-options.js +328 -0
- package/dist/schemas/accountant.d.ts +168 -0
- package/dist/schemas/accountant.d.ts.map +1 -0
- package/dist/schemas/accountant.js +53 -0
- package/dist/schemas/action-ledger.d.ts +206 -0
- package/dist/schemas/action-ledger.d.ts.map +1 -0
- package/dist/schemas/action-ledger.js +83 -0
- package/dist/schemas/common.d.ts +17 -0
- package/dist/schemas/common.d.ts.map +1 -0
- package/dist/schemas/common.js +10 -0
- package/dist/schemas/invoice.d.ts +1451 -0
- package/dist/schemas/invoice.d.ts.map +1 -0
- package/dist/schemas/invoice.js +438 -0
- package/dist/schemas/profitability.d.ts +333 -0
- package/dist/schemas/profitability.d.ts.map +1 -0
- package/dist/schemas/profitability.js +84 -0
- package/dist/schemas/public.d.ts +481 -0
- package/dist/schemas/public.d.ts.map +1 -0
- package/dist/schemas/public.js +9 -0
- package/dist/schemas/responses.d.ts +632 -0
- package/dist/schemas/responses.d.ts.map +1 -0
- package/dist/schemas/responses.js +27 -0
- package/dist/schemas/supplier.d.ts +226 -0
- package/dist/schemas/supplier.d.ts.map +1 -0
- package/dist/schemas/supplier.js +103 -0
- package/dist/schemas/vouchers.d.ts +283 -0
- package/dist/schemas/vouchers.d.ts.map +1 -0
- package/dist/schemas/vouchers.js +49 -0
- package/dist/schemas.d.ts +10 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +9 -0
- package/dist/ui.d.ts +27 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +26 -0
- package/package.json +181 -0
- package/src/styles.css +12 -0
|
@@ -0,0 +1,1451 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
export declare const invoiceStatusSchema: z.ZodEnum<{
|
|
3
|
+
draft: "draft";
|
|
4
|
+
pending_external_allocation: "pending_external_allocation";
|
|
5
|
+
issued: "issued";
|
|
6
|
+
partially_paid: "partially_paid";
|
|
7
|
+
paid: "paid";
|
|
8
|
+
overdue: "overdue";
|
|
9
|
+
void: "void";
|
|
10
|
+
}>;
|
|
11
|
+
export declare const paymentStatusSchema: z.ZodEnum<{
|
|
12
|
+
pending: "pending";
|
|
13
|
+
completed: "completed";
|
|
14
|
+
failed: "failed";
|
|
15
|
+
refunded: "refunded";
|
|
16
|
+
}>;
|
|
17
|
+
export type PaymentStatus = z.infer<typeof paymentStatusSchema>;
|
|
18
|
+
export declare const paymentMethodSchema: z.ZodEnum<{
|
|
19
|
+
bank_transfer: "bank_transfer";
|
|
20
|
+
credit_card: "credit_card";
|
|
21
|
+
debit_card: "debit_card";
|
|
22
|
+
cash: "cash";
|
|
23
|
+
cheque: "cheque";
|
|
24
|
+
wallet: "wallet";
|
|
25
|
+
direct_bill: "direct_bill";
|
|
26
|
+
voucher: "voucher";
|
|
27
|
+
other: "other";
|
|
28
|
+
}>;
|
|
29
|
+
export type PaymentMethod = z.infer<typeof paymentMethodSchema>;
|
|
30
|
+
export declare const creditNoteStatusSchema: z.ZodEnum<{
|
|
31
|
+
draft: "draft";
|
|
32
|
+
issued: "issued";
|
|
33
|
+
applied: "applied";
|
|
34
|
+
}>;
|
|
35
|
+
export declare const invoiceTypeSchema: z.ZodEnum<{
|
|
36
|
+
invoice: "invoice";
|
|
37
|
+
proforma: "proforma";
|
|
38
|
+
credit_note: "credit_note";
|
|
39
|
+
}>;
|
|
40
|
+
export declare const invoiceNumberResetStrategySchema: z.ZodEnum<{
|
|
41
|
+
never: "never";
|
|
42
|
+
annual: "annual";
|
|
43
|
+
monthly: "monthly";
|
|
44
|
+
}>;
|
|
45
|
+
export type InvoiceNumberResetStrategy = z.infer<typeof invoiceNumberResetStrategySchema>;
|
|
46
|
+
export declare const invoiceNumberSeriesScopeSchema: z.ZodEnum<{
|
|
47
|
+
invoice: "invoice";
|
|
48
|
+
proforma: "proforma";
|
|
49
|
+
credit_note: "credit_note";
|
|
50
|
+
}>;
|
|
51
|
+
export type InvoiceNumberSeriesScope = z.infer<typeof invoiceNumberSeriesScopeSchema>;
|
|
52
|
+
export declare const invoiceNumberSeriesRecordSchema: z.ZodObject<{
|
|
53
|
+
id: z.ZodString;
|
|
54
|
+
code: z.ZodString;
|
|
55
|
+
name: z.ZodString;
|
|
56
|
+
prefix: z.ZodString;
|
|
57
|
+
separator: z.ZodString;
|
|
58
|
+
padLength: z.ZodNumber;
|
|
59
|
+
currentSequence: z.ZodNumber;
|
|
60
|
+
resetStrategy: z.ZodEnum<{
|
|
61
|
+
never: "never";
|
|
62
|
+
annual: "annual";
|
|
63
|
+
monthly: "monthly";
|
|
64
|
+
}>;
|
|
65
|
+
resetAt: z.ZodNullable<z.ZodString>;
|
|
66
|
+
scope: z.ZodEnum<{
|
|
67
|
+
invoice: "invoice";
|
|
68
|
+
proforma: "proforma";
|
|
69
|
+
credit_note: "credit_note";
|
|
70
|
+
}>;
|
|
71
|
+
isDefault: z.ZodBoolean;
|
|
72
|
+
externalProvider: z.ZodNullable<z.ZodString>;
|
|
73
|
+
externalConfigKey: z.ZodNullable<z.ZodString>;
|
|
74
|
+
active: z.ZodBoolean;
|
|
75
|
+
createdAt: z.ZodString;
|
|
76
|
+
updatedAt: z.ZodString;
|
|
77
|
+
}, z.core.$strip>;
|
|
78
|
+
export type InvoiceNumberSeriesRecord = z.infer<typeof invoiceNumberSeriesRecordSchema>;
|
|
79
|
+
export declare const invoiceRecordSchema: z.ZodObject<{
|
|
80
|
+
id: z.ZodString;
|
|
81
|
+
invoiceNumber: z.ZodString;
|
|
82
|
+
bookingId: z.ZodString;
|
|
83
|
+
personId: z.ZodNullable<z.ZodString>;
|
|
84
|
+
organizationId: z.ZodNullable<z.ZodString>;
|
|
85
|
+
invoiceType: z.ZodOptional<z.ZodEnum<{
|
|
86
|
+
invoice: "invoice";
|
|
87
|
+
proforma: "proforma";
|
|
88
|
+
credit_note: "credit_note";
|
|
89
|
+
}>>;
|
|
90
|
+
status: z.ZodEnum<{
|
|
91
|
+
draft: "draft";
|
|
92
|
+
pending_external_allocation: "pending_external_allocation";
|
|
93
|
+
issued: "issued";
|
|
94
|
+
partially_paid: "partially_paid";
|
|
95
|
+
paid: "paid";
|
|
96
|
+
overdue: "overdue";
|
|
97
|
+
void: "void";
|
|
98
|
+
}>;
|
|
99
|
+
currency: z.ZodString;
|
|
100
|
+
subtotalCents: z.ZodNumber;
|
|
101
|
+
taxCents: z.ZodNumber;
|
|
102
|
+
totalCents: z.ZodNumber;
|
|
103
|
+
paidCents: z.ZodNumber;
|
|
104
|
+
balanceDueCents: z.ZodNumber;
|
|
105
|
+
issueDate: z.ZodString;
|
|
106
|
+
dueDate: z.ZodString;
|
|
107
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
108
|
+
voidedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
109
|
+
voidReason: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
110
|
+
createdAt: z.ZodString;
|
|
111
|
+
updatedAt: z.ZodString;
|
|
112
|
+
bookingPaymentScheduleIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
113
|
+
convertedToInvoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
114
|
+
convertedToInvoiceNumber: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
115
|
+
}, z.core.$loose>;
|
|
116
|
+
export type InvoiceRecord = z.infer<typeof invoiceRecordSchema>;
|
|
117
|
+
export declare const lineItemRecordSchema: z.ZodObject<{
|
|
118
|
+
id: z.ZodString;
|
|
119
|
+
invoiceId: z.ZodString;
|
|
120
|
+
description: z.ZodString;
|
|
121
|
+
quantity: z.ZodNumber;
|
|
122
|
+
unitPriceCents: z.ZodNumber;
|
|
123
|
+
totalCents: z.ZodNumber;
|
|
124
|
+
taxRate: z.ZodNullable<z.ZodNumber>;
|
|
125
|
+
sortOrder: z.ZodNumber;
|
|
126
|
+
createdAt: z.ZodString;
|
|
127
|
+
}, z.core.$strip>;
|
|
128
|
+
export type LineItemRecord = z.infer<typeof lineItemRecordSchema>;
|
|
129
|
+
export declare const paymentRecordSchema: z.ZodObject<{
|
|
130
|
+
id: z.ZodString;
|
|
131
|
+
invoiceId: z.ZodString;
|
|
132
|
+
amountCents: z.ZodNumber;
|
|
133
|
+
currency: z.ZodString;
|
|
134
|
+
baseCurrency: z.ZodNullable<z.ZodString>;
|
|
135
|
+
baseAmountCents: z.ZodNullable<z.ZodNumber>;
|
|
136
|
+
fxRateSetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
137
|
+
paymentMethod: z.ZodString;
|
|
138
|
+
status: z.ZodEnum<{
|
|
139
|
+
pending: "pending";
|
|
140
|
+
completed: "completed";
|
|
141
|
+
failed: "failed";
|
|
142
|
+
refunded: "refunded";
|
|
143
|
+
}>;
|
|
144
|
+
referenceNumber: z.ZodNullable<z.ZodString>;
|
|
145
|
+
paymentDate: z.ZodString;
|
|
146
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
147
|
+
createdAt: z.ZodString;
|
|
148
|
+
}, z.core.$strip>;
|
|
149
|
+
export type PaymentRecord = z.infer<typeof paymentRecordSchema>;
|
|
150
|
+
export declare const creditNoteRecordSchema: z.ZodObject<{
|
|
151
|
+
id: z.ZodString;
|
|
152
|
+
creditNoteNumber: z.ZodString;
|
|
153
|
+
invoiceId: z.ZodString;
|
|
154
|
+
status: z.ZodEnum<{
|
|
155
|
+
draft: "draft";
|
|
156
|
+
issued: "issued";
|
|
157
|
+
applied: "applied";
|
|
158
|
+
}>;
|
|
159
|
+
amountCents: z.ZodNumber;
|
|
160
|
+
currency: z.ZodString;
|
|
161
|
+
reason: z.ZodString;
|
|
162
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
163
|
+
createdAt: z.ZodString;
|
|
164
|
+
}, z.core.$strip>;
|
|
165
|
+
export type CreditNoteRecord = z.infer<typeof creditNoteRecordSchema>;
|
|
166
|
+
export declare const financeNoteRecordSchema: z.ZodObject<{
|
|
167
|
+
id: z.ZodString;
|
|
168
|
+
invoiceId: z.ZodString;
|
|
169
|
+
authorId: z.ZodString;
|
|
170
|
+
content: z.ZodString;
|
|
171
|
+
createdAt: z.ZodString;
|
|
172
|
+
}, z.core.$strip>;
|
|
173
|
+
export type FinanceNoteRecord = z.infer<typeof financeNoteRecordSchema>;
|
|
174
|
+
export declare const supplierPaymentRecordSchema: z.ZodObject<{
|
|
175
|
+
id: z.ZodString;
|
|
176
|
+
bookingId: z.ZodNullable<z.ZodString>;
|
|
177
|
+
supplierInvoiceId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
178
|
+
supplierId: z.ZodNullable<z.ZodString>;
|
|
179
|
+
amountCents: z.ZodNumber;
|
|
180
|
+
currency: z.ZodString;
|
|
181
|
+
baseCurrency: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
182
|
+
baseAmountCents: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
183
|
+
fxRateSetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
184
|
+
paymentMethod: z.ZodString;
|
|
185
|
+
status: z.ZodEnum<{
|
|
186
|
+
pending: "pending";
|
|
187
|
+
completed: "completed";
|
|
188
|
+
failed: "failed";
|
|
189
|
+
refunded: "refunded";
|
|
190
|
+
}>;
|
|
191
|
+
referenceNumber: z.ZodNullable<z.ZodString>;
|
|
192
|
+
paymentDate: z.ZodString;
|
|
193
|
+
notes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
194
|
+
createdAt: z.ZodString;
|
|
195
|
+
}, z.core.$strip>;
|
|
196
|
+
export type SupplierPaymentRecord = z.infer<typeof supplierPaymentRecordSchema>;
|
|
197
|
+
export declare const paymentKindSchema: z.ZodEnum<{
|
|
198
|
+
supplier: "supplier";
|
|
199
|
+
customer: "customer";
|
|
200
|
+
}>;
|
|
201
|
+
export declare const unifiedPaymentRecordSchema: z.ZodObject<{
|
|
202
|
+
kind: z.ZodEnum<{
|
|
203
|
+
supplier: "supplier";
|
|
204
|
+
customer: "customer";
|
|
205
|
+
}>;
|
|
206
|
+
id: z.ZodString;
|
|
207
|
+
invoiceId: z.ZodNullable<z.ZodString>;
|
|
208
|
+
invoiceNumber: z.ZodNullable<z.ZodString>;
|
|
209
|
+
bookingId: z.ZodNullable<z.ZodString>;
|
|
210
|
+
bookingNumber: z.ZodNullable<z.ZodString>;
|
|
211
|
+
supplierId: z.ZodNullable<z.ZodString>;
|
|
212
|
+
supplierName: z.ZodNullable<z.ZodString>;
|
|
213
|
+
personId: z.ZodNullable<z.ZodString>;
|
|
214
|
+
personName: z.ZodNullable<z.ZodString>;
|
|
215
|
+
organizationId: z.ZodNullable<z.ZodString>;
|
|
216
|
+
organizationName: z.ZodNullable<z.ZodString>;
|
|
217
|
+
amountCents: z.ZodNumber;
|
|
218
|
+
currency: z.ZodString;
|
|
219
|
+
baseCurrency: z.ZodNullable<z.ZodString>;
|
|
220
|
+
baseAmountCents: z.ZodNullable<z.ZodNumber>;
|
|
221
|
+
paymentMethod: z.ZodString;
|
|
222
|
+
status: z.ZodEnum<{
|
|
223
|
+
pending: "pending";
|
|
224
|
+
completed: "completed";
|
|
225
|
+
failed: "failed";
|
|
226
|
+
refunded: "refunded";
|
|
227
|
+
}>;
|
|
228
|
+
referenceNumber: z.ZodNullable<z.ZodString>;
|
|
229
|
+
paymentDate: z.ZodString;
|
|
230
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
231
|
+
createdAt: z.ZodString;
|
|
232
|
+
updatedAt: z.ZodString;
|
|
233
|
+
}, z.core.$strip>;
|
|
234
|
+
export type UnifiedPaymentRecord = z.infer<typeof unifiedPaymentRecordSchema>;
|
|
235
|
+
export declare const paymentScheduleTypeSchema: z.ZodEnum<{
|
|
236
|
+
other: "other";
|
|
237
|
+
deposit: "deposit";
|
|
238
|
+
installment: "installment";
|
|
239
|
+
balance: "balance";
|
|
240
|
+
hold: "hold";
|
|
241
|
+
}>;
|
|
242
|
+
export declare const paymentScheduleStatusSchema: z.ZodEnum<{
|
|
243
|
+
paid: "paid";
|
|
244
|
+
pending: "pending";
|
|
245
|
+
cancelled: "cancelled";
|
|
246
|
+
expired: "expired";
|
|
247
|
+
due: "due";
|
|
248
|
+
waived: "waived";
|
|
249
|
+
}>;
|
|
250
|
+
export declare const bookingPaymentScheduleRecordSchema: z.ZodObject<{
|
|
251
|
+
id: z.ZodString;
|
|
252
|
+
bookingId: z.ZodString;
|
|
253
|
+
bookingItemId: z.ZodNullable<z.ZodString>;
|
|
254
|
+
scheduleType: z.ZodEnum<{
|
|
255
|
+
other: "other";
|
|
256
|
+
deposit: "deposit";
|
|
257
|
+
installment: "installment";
|
|
258
|
+
balance: "balance";
|
|
259
|
+
hold: "hold";
|
|
260
|
+
}>;
|
|
261
|
+
status: z.ZodEnum<{
|
|
262
|
+
paid: "paid";
|
|
263
|
+
pending: "pending";
|
|
264
|
+
cancelled: "cancelled";
|
|
265
|
+
expired: "expired";
|
|
266
|
+
due: "due";
|
|
267
|
+
waived: "waived";
|
|
268
|
+
}>;
|
|
269
|
+
dueDate: z.ZodString;
|
|
270
|
+
currency: z.ZodString;
|
|
271
|
+
amountCents: z.ZodNumber;
|
|
272
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
273
|
+
createdAt: z.ZodString;
|
|
274
|
+
updatedAt: z.ZodString;
|
|
275
|
+
}, z.core.$strip>;
|
|
276
|
+
export type BookingPaymentScheduleRecord = z.infer<typeof bookingPaymentScheduleRecordSchema>;
|
|
277
|
+
export declare const bookingPaymentSchedulesResponse: z.ZodObject<{
|
|
278
|
+
data: z.ZodArray<z.ZodObject<{
|
|
279
|
+
id: z.ZodString;
|
|
280
|
+
bookingId: z.ZodString;
|
|
281
|
+
bookingItemId: z.ZodNullable<z.ZodString>;
|
|
282
|
+
scheduleType: z.ZodEnum<{
|
|
283
|
+
other: "other";
|
|
284
|
+
deposit: "deposit";
|
|
285
|
+
installment: "installment";
|
|
286
|
+
balance: "balance";
|
|
287
|
+
hold: "hold";
|
|
288
|
+
}>;
|
|
289
|
+
status: z.ZodEnum<{
|
|
290
|
+
paid: "paid";
|
|
291
|
+
pending: "pending";
|
|
292
|
+
cancelled: "cancelled";
|
|
293
|
+
expired: "expired";
|
|
294
|
+
due: "due";
|
|
295
|
+
waived: "waived";
|
|
296
|
+
}>;
|
|
297
|
+
dueDate: z.ZodString;
|
|
298
|
+
currency: z.ZodString;
|
|
299
|
+
amountCents: z.ZodNumber;
|
|
300
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
301
|
+
createdAt: z.ZodString;
|
|
302
|
+
updatedAt: z.ZodString;
|
|
303
|
+
}, z.core.$strip>>;
|
|
304
|
+
}, z.core.$strip>;
|
|
305
|
+
export declare const paymentSessionStatusSchema: z.ZodEnum<{
|
|
306
|
+
paid: "paid";
|
|
307
|
+
pending: "pending";
|
|
308
|
+
failed: "failed";
|
|
309
|
+
requires_redirect: "requires_redirect";
|
|
310
|
+
processing: "processing";
|
|
311
|
+
authorized: "authorized";
|
|
312
|
+
cancelled: "cancelled";
|
|
313
|
+
expired: "expired";
|
|
314
|
+
}>;
|
|
315
|
+
export type PaymentSessionStatus = z.infer<typeof paymentSessionStatusSchema>;
|
|
316
|
+
export declare const paymentTargetSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
317
|
+
type: z.ZodLiteral<"booking">;
|
|
318
|
+
bookingId: z.ZodString;
|
|
319
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
320
|
+
type: z.ZodLiteral<"invoice">;
|
|
321
|
+
invoiceId: z.ZodString;
|
|
322
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
323
|
+
type: z.ZodLiteral<"booking_payment_schedule">;
|
|
324
|
+
bookingPaymentScheduleId: z.ZodString;
|
|
325
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
326
|
+
type: z.ZodLiteral<"booking_guarantee">;
|
|
327
|
+
bookingGuaranteeId: z.ZodString;
|
|
328
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
329
|
+
type: z.ZodLiteral<"flight_order">;
|
|
330
|
+
flightOrderId: z.ZodString;
|
|
331
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
332
|
+
type: z.ZodLiteral<"program">;
|
|
333
|
+
programId: z.ZodString;
|
|
334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
335
|
+
type: z.ZodLiteral<"supplier_settlement">;
|
|
336
|
+
supplierSettlementId: z.ZodString;
|
|
337
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
338
|
+
type: z.ZodLiteral<"channel_settlement">;
|
|
339
|
+
channelSettlementId: z.ZodString;
|
|
340
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
341
|
+
type: z.ZodLiteral<"provider_reference">;
|
|
342
|
+
provider: z.ZodString;
|
|
343
|
+
reference: z.ZodString;
|
|
344
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
345
|
+
type: z.ZodLiteral<"legacy_order">;
|
|
346
|
+
legacyOrderId: z.ZodString;
|
|
347
|
+
}, z.core.$strip>], "type">;
|
|
348
|
+
export declare const paymentProvenanceSchema: z.ZodObject<{
|
|
349
|
+
source: z.ZodEnum<{
|
|
350
|
+
other: "other";
|
|
351
|
+
operator: "operator";
|
|
352
|
+
storefront: "storefront";
|
|
353
|
+
customer_portal: "customer_portal";
|
|
354
|
+
payment_provider: "payment_provider";
|
|
355
|
+
supplier_channel: "supplier_channel";
|
|
356
|
+
migration: "migration";
|
|
357
|
+
}>;
|
|
358
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
359
|
+
reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
360
|
+
idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
361
|
+
}, z.core.$strip>;
|
|
362
|
+
export declare const paymentSessionRecordSchema: z.ZodPipe<z.ZodObject<{
|
|
363
|
+
id: z.ZodString;
|
|
364
|
+
target: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
365
|
+
type: z.ZodLiteral<"booking">;
|
|
366
|
+
bookingId: z.ZodString;
|
|
367
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
368
|
+
type: z.ZodLiteral<"invoice">;
|
|
369
|
+
invoiceId: z.ZodString;
|
|
370
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
371
|
+
type: z.ZodLiteral<"booking_payment_schedule">;
|
|
372
|
+
bookingPaymentScheduleId: z.ZodString;
|
|
373
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
374
|
+
type: z.ZodLiteral<"booking_guarantee">;
|
|
375
|
+
bookingGuaranteeId: z.ZodString;
|
|
376
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
377
|
+
type: z.ZodLiteral<"flight_order">;
|
|
378
|
+
flightOrderId: z.ZodString;
|
|
379
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
380
|
+
type: z.ZodLiteral<"program">;
|
|
381
|
+
programId: z.ZodString;
|
|
382
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
383
|
+
type: z.ZodLiteral<"supplier_settlement">;
|
|
384
|
+
supplierSettlementId: z.ZodString;
|
|
385
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
386
|
+
type: z.ZodLiteral<"channel_settlement">;
|
|
387
|
+
channelSettlementId: z.ZodString;
|
|
388
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
389
|
+
type: z.ZodLiteral<"provider_reference">;
|
|
390
|
+
provider: z.ZodString;
|
|
391
|
+
reference: z.ZodString;
|
|
392
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
393
|
+
type: z.ZodLiteral<"legacy_order">;
|
|
394
|
+
legacyOrderId: z.ZodString;
|
|
395
|
+
}, z.core.$strip>], "type">>>;
|
|
396
|
+
provenance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
397
|
+
source: z.ZodEnum<{
|
|
398
|
+
other: "other";
|
|
399
|
+
operator: "operator";
|
|
400
|
+
storefront: "storefront";
|
|
401
|
+
customer_portal: "customer_portal";
|
|
402
|
+
payment_provider: "payment_provider";
|
|
403
|
+
supplier_channel: "supplier_channel";
|
|
404
|
+
migration: "migration";
|
|
405
|
+
}>;
|
|
406
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
407
|
+
reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
408
|
+
idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
409
|
+
}, z.core.$strip>>>;
|
|
410
|
+
targetType: z.ZodString;
|
|
411
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
412
|
+
bookingId: z.ZodNullable<z.ZodString>;
|
|
413
|
+
legacyOrderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
414
|
+
orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
415
|
+
invoiceId: z.ZodNullable<z.ZodString>;
|
|
416
|
+
bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
|
|
417
|
+
bookingGuaranteeId: z.ZodNullable<z.ZodString>;
|
|
418
|
+
paymentInstrumentId: z.ZodNullable<z.ZodString>;
|
|
419
|
+
paymentAuthorizationId: z.ZodNullable<z.ZodString>;
|
|
420
|
+
paymentCaptureId: z.ZodNullable<z.ZodString>;
|
|
421
|
+
paymentId: z.ZodNullable<z.ZodString>;
|
|
422
|
+
status: z.ZodEnum<{
|
|
423
|
+
paid: "paid";
|
|
424
|
+
pending: "pending";
|
|
425
|
+
failed: "failed";
|
|
426
|
+
requires_redirect: "requires_redirect";
|
|
427
|
+
processing: "processing";
|
|
428
|
+
authorized: "authorized";
|
|
429
|
+
cancelled: "cancelled";
|
|
430
|
+
expired: "expired";
|
|
431
|
+
}>;
|
|
432
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
433
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
434
|
+
providerPaymentId: z.ZodNullable<z.ZodString>;
|
|
435
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
436
|
+
idempotencyKey: z.ZodNullable<z.ZodString>;
|
|
437
|
+
clientReference: z.ZodNullable<z.ZodString>;
|
|
438
|
+
currency: z.ZodString;
|
|
439
|
+
amountCents: z.ZodNumber;
|
|
440
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
441
|
+
bank_transfer: "bank_transfer";
|
|
442
|
+
credit_card: "credit_card";
|
|
443
|
+
debit_card: "debit_card";
|
|
444
|
+
cash: "cash";
|
|
445
|
+
cheque: "cheque";
|
|
446
|
+
wallet: "wallet";
|
|
447
|
+
direct_bill: "direct_bill";
|
|
448
|
+
voucher: "voucher";
|
|
449
|
+
other: "other";
|
|
450
|
+
}>>;
|
|
451
|
+
payerPersonId: z.ZodNullable<z.ZodString>;
|
|
452
|
+
payerOrganizationId: z.ZodNullable<z.ZodString>;
|
|
453
|
+
payerEmail: z.ZodNullable<z.ZodString>;
|
|
454
|
+
payerName: z.ZodNullable<z.ZodString>;
|
|
455
|
+
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
456
|
+
returnUrl: z.ZodNullable<z.ZodString>;
|
|
457
|
+
cancelUrl: z.ZodNullable<z.ZodString>;
|
|
458
|
+
callbackUrl: z.ZodNullable<z.ZodString>;
|
|
459
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
460
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
461
|
+
failedAt: z.ZodNullable<z.ZodString>;
|
|
462
|
+
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
463
|
+
expiredAt: z.ZodNullable<z.ZodString>;
|
|
464
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
465
|
+
failureMessage: z.ZodNullable<z.ZodString>;
|
|
466
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
467
|
+
providerPayload: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
468
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
469
|
+
createdAt: z.ZodString;
|
|
470
|
+
updatedAt: z.ZodString;
|
|
471
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
472
|
+
legacyOrderId: string | null;
|
|
473
|
+
target: {
|
|
474
|
+
type: "booking";
|
|
475
|
+
bookingId: string;
|
|
476
|
+
} | {
|
|
477
|
+
type: "invoice";
|
|
478
|
+
invoiceId: string;
|
|
479
|
+
} | {
|
|
480
|
+
type: "booking_payment_schedule";
|
|
481
|
+
bookingPaymentScheduleId: string;
|
|
482
|
+
} | {
|
|
483
|
+
type: "booking_guarantee";
|
|
484
|
+
bookingGuaranteeId: string;
|
|
485
|
+
} | {
|
|
486
|
+
type: "flight_order";
|
|
487
|
+
flightOrderId: string;
|
|
488
|
+
} | {
|
|
489
|
+
type: "program";
|
|
490
|
+
programId: string;
|
|
491
|
+
} | {
|
|
492
|
+
type: "supplier_settlement";
|
|
493
|
+
supplierSettlementId: string;
|
|
494
|
+
} | {
|
|
495
|
+
type: "channel_settlement";
|
|
496
|
+
channelSettlementId: string;
|
|
497
|
+
} | {
|
|
498
|
+
type: "provider_reference";
|
|
499
|
+
provider: string;
|
|
500
|
+
reference: string;
|
|
501
|
+
} | {
|
|
502
|
+
type: "legacy_order";
|
|
503
|
+
legacyOrderId: string;
|
|
504
|
+
} | null;
|
|
505
|
+
provenance: {
|
|
506
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
507
|
+
provider?: string | null | undefined;
|
|
508
|
+
reference?: string | null | undefined;
|
|
509
|
+
idempotencyKey?: string | null | undefined;
|
|
510
|
+
} | null;
|
|
511
|
+
id: string;
|
|
512
|
+
targetType: string;
|
|
513
|
+
targetId: string | null;
|
|
514
|
+
bookingId: string | null;
|
|
515
|
+
invoiceId: string | null;
|
|
516
|
+
bookingPaymentScheduleId: string | null;
|
|
517
|
+
bookingGuaranteeId: string | null;
|
|
518
|
+
paymentInstrumentId: string | null;
|
|
519
|
+
paymentAuthorizationId: string | null;
|
|
520
|
+
paymentCaptureId: string | null;
|
|
521
|
+
paymentId: string | null;
|
|
522
|
+
status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
|
|
523
|
+
provider: string | null;
|
|
524
|
+
providerSessionId: string | null;
|
|
525
|
+
providerPaymentId: string | null;
|
|
526
|
+
externalReference: string | null;
|
|
527
|
+
idempotencyKey: string | null;
|
|
528
|
+
clientReference: string | null;
|
|
529
|
+
currency: string;
|
|
530
|
+
amountCents: number;
|
|
531
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
532
|
+
payerPersonId: string | null;
|
|
533
|
+
payerOrganizationId: string | null;
|
|
534
|
+
payerEmail: string | null;
|
|
535
|
+
payerName: string | null;
|
|
536
|
+
redirectUrl: string | null;
|
|
537
|
+
returnUrl: string | null;
|
|
538
|
+
cancelUrl: string | null;
|
|
539
|
+
callbackUrl: string | null;
|
|
540
|
+
expiresAt: string | null;
|
|
541
|
+
completedAt: string | null;
|
|
542
|
+
failedAt: string | null;
|
|
543
|
+
cancelledAt: string | null;
|
|
544
|
+
expiredAt: string | null;
|
|
545
|
+
failureCode: string | null;
|
|
546
|
+
failureMessage: string | null;
|
|
547
|
+
notes: string | null;
|
|
548
|
+
providerPayload: Record<string, unknown> | null;
|
|
549
|
+
metadata: Record<string, unknown> | null;
|
|
550
|
+
createdAt: string;
|
|
551
|
+
updatedAt: string;
|
|
552
|
+
}, {
|
|
553
|
+
id: string;
|
|
554
|
+
targetType: string;
|
|
555
|
+
targetId: string | null;
|
|
556
|
+
bookingId: string | null;
|
|
557
|
+
invoiceId: string | null;
|
|
558
|
+
bookingPaymentScheduleId: string | null;
|
|
559
|
+
bookingGuaranteeId: string | null;
|
|
560
|
+
paymentInstrumentId: string | null;
|
|
561
|
+
paymentAuthorizationId: string | null;
|
|
562
|
+
paymentCaptureId: string | null;
|
|
563
|
+
paymentId: string | null;
|
|
564
|
+
status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
|
|
565
|
+
provider: string | null;
|
|
566
|
+
providerSessionId: string | null;
|
|
567
|
+
providerPaymentId: string | null;
|
|
568
|
+
externalReference: string | null;
|
|
569
|
+
idempotencyKey: string | null;
|
|
570
|
+
clientReference: string | null;
|
|
571
|
+
currency: string;
|
|
572
|
+
amountCents: number;
|
|
573
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
574
|
+
payerPersonId: string | null;
|
|
575
|
+
payerOrganizationId: string | null;
|
|
576
|
+
payerEmail: string | null;
|
|
577
|
+
payerName: string | null;
|
|
578
|
+
redirectUrl: string | null;
|
|
579
|
+
returnUrl: string | null;
|
|
580
|
+
cancelUrl: string | null;
|
|
581
|
+
callbackUrl: string | null;
|
|
582
|
+
expiresAt: string | null;
|
|
583
|
+
completedAt: string | null;
|
|
584
|
+
failedAt: string | null;
|
|
585
|
+
cancelledAt: string | null;
|
|
586
|
+
expiredAt: string | null;
|
|
587
|
+
failureCode: string | null;
|
|
588
|
+
failureMessage: string | null;
|
|
589
|
+
notes: string | null;
|
|
590
|
+
providerPayload: Record<string, unknown> | null;
|
|
591
|
+
metadata: Record<string, unknown> | null;
|
|
592
|
+
createdAt: string;
|
|
593
|
+
updatedAt: string;
|
|
594
|
+
target?: {
|
|
595
|
+
type: "booking";
|
|
596
|
+
bookingId: string;
|
|
597
|
+
} | {
|
|
598
|
+
type: "invoice";
|
|
599
|
+
invoiceId: string;
|
|
600
|
+
} | {
|
|
601
|
+
type: "booking_payment_schedule";
|
|
602
|
+
bookingPaymentScheduleId: string;
|
|
603
|
+
} | {
|
|
604
|
+
type: "booking_guarantee";
|
|
605
|
+
bookingGuaranteeId: string;
|
|
606
|
+
} | {
|
|
607
|
+
type: "flight_order";
|
|
608
|
+
flightOrderId: string;
|
|
609
|
+
} | {
|
|
610
|
+
type: "program";
|
|
611
|
+
programId: string;
|
|
612
|
+
} | {
|
|
613
|
+
type: "supplier_settlement";
|
|
614
|
+
supplierSettlementId: string;
|
|
615
|
+
} | {
|
|
616
|
+
type: "channel_settlement";
|
|
617
|
+
channelSettlementId: string;
|
|
618
|
+
} | {
|
|
619
|
+
type: "provider_reference";
|
|
620
|
+
provider: string;
|
|
621
|
+
reference: string;
|
|
622
|
+
} | {
|
|
623
|
+
type: "legacy_order";
|
|
624
|
+
legacyOrderId: string;
|
|
625
|
+
} | null | undefined;
|
|
626
|
+
provenance?: {
|
|
627
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
628
|
+
provider?: string | null | undefined;
|
|
629
|
+
reference?: string | null | undefined;
|
|
630
|
+
idempotencyKey?: string | null | undefined;
|
|
631
|
+
} | null | undefined;
|
|
632
|
+
legacyOrderId?: string | null | undefined;
|
|
633
|
+
orderId?: string | null | undefined;
|
|
634
|
+
}>>;
|
|
635
|
+
export type PaymentSessionRecord = z.infer<typeof paymentSessionRecordSchema>;
|
|
636
|
+
export declare const paymentSessionListResponse: z.ZodObject<{
|
|
637
|
+
data: z.ZodArray<z.ZodPipe<z.ZodObject<{
|
|
638
|
+
id: z.ZodString;
|
|
639
|
+
target: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
640
|
+
type: z.ZodLiteral<"booking">;
|
|
641
|
+
bookingId: z.ZodString;
|
|
642
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
643
|
+
type: z.ZodLiteral<"invoice">;
|
|
644
|
+
invoiceId: z.ZodString;
|
|
645
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
646
|
+
type: z.ZodLiteral<"booking_payment_schedule">;
|
|
647
|
+
bookingPaymentScheduleId: z.ZodString;
|
|
648
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
649
|
+
type: z.ZodLiteral<"booking_guarantee">;
|
|
650
|
+
bookingGuaranteeId: z.ZodString;
|
|
651
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
652
|
+
type: z.ZodLiteral<"flight_order">;
|
|
653
|
+
flightOrderId: z.ZodString;
|
|
654
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
655
|
+
type: z.ZodLiteral<"program">;
|
|
656
|
+
programId: z.ZodString;
|
|
657
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
658
|
+
type: z.ZodLiteral<"supplier_settlement">;
|
|
659
|
+
supplierSettlementId: z.ZodString;
|
|
660
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
661
|
+
type: z.ZodLiteral<"channel_settlement">;
|
|
662
|
+
channelSettlementId: z.ZodString;
|
|
663
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
664
|
+
type: z.ZodLiteral<"provider_reference">;
|
|
665
|
+
provider: z.ZodString;
|
|
666
|
+
reference: z.ZodString;
|
|
667
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
668
|
+
type: z.ZodLiteral<"legacy_order">;
|
|
669
|
+
legacyOrderId: z.ZodString;
|
|
670
|
+
}, z.core.$strip>], "type">>>;
|
|
671
|
+
provenance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
672
|
+
source: z.ZodEnum<{
|
|
673
|
+
other: "other";
|
|
674
|
+
operator: "operator";
|
|
675
|
+
storefront: "storefront";
|
|
676
|
+
customer_portal: "customer_portal";
|
|
677
|
+
payment_provider: "payment_provider";
|
|
678
|
+
supplier_channel: "supplier_channel";
|
|
679
|
+
migration: "migration";
|
|
680
|
+
}>;
|
|
681
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
682
|
+
reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
683
|
+
idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
684
|
+
}, z.core.$strip>>>;
|
|
685
|
+
targetType: z.ZodString;
|
|
686
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
687
|
+
bookingId: z.ZodNullable<z.ZodString>;
|
|
688
|
+
legacyOrderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
689
|
+
orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
690
|
+
invoiceId: z.ZodNullable<z.ZodString>;
|
|
691
|
+
bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
|
|
692
|
+
bookingGuaranteeId: z.ZodNullable<z.ZodString>;
|
|
693
|
+
paymentInstrumentId: z.ZodNullable<z.ZodString>;
|
|
694
|
+
paymentAuthorizationId: z.ZodNullable<z.ZodString>;
|
|
695
|
+
paymentCaptureId: z.ZodNullable<z.ZodString>;
|
|
696
|
+
paymentId: z.ZodNullable<z.ZodString>;
|
|
697
|
+
status: z.ZodEnum<{
|
|
698
|
+
paid: "paid";
|
|
699
|
+
pending: "pending";
|
|
700
|
+
failed: "failed";
|
|
701
|
+
requires_redirect: "requires_redirect";
|
|
702
|
+
processing: "processing";
|
|
703
|
+
authorized: "authorized";
|
|
704
|
+
cancelled: "cancelled";
|
|
705
|
+
expired: "expired";
|
|
706
|
+
}>;
|
|
707
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
708
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
709
|
+
providerPaymentId: z.ZodNullable<z.ZodString>;
|
|
710
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
711
|
+
idempotencyKey: z.ZodNullable<z.ZodString>;
|
|
712
|
+
clientReference: z.ZodNullable<z.ZodString>;
|
|
713
|
+
currency: z.ZodString;
|
|
714
|
+
amountCents: z.ZodNumber;
|
|
715
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
716
|
+
bank_transfer: "bank_transfer";
|
|
717
|
+
credit_card: "credit_card";
|
|
718
|
+
debit_card: "debit_card";
|
|
719
|
+
cash: "cash";
|
|
720
|
+
cheque: "cheque";
|
|
721
|
+
wallet: "wallet";
|
|
722
|
+
direct_bill: "direct_bill";
|
|
723
|
+
voucher: "voucher";
|
|
724
|
+
other: "other";
|
|
725
|
+
}>>;
|
|
726
|
+
payerPersonId: z.ZodNullable<z.ZodString>;
|
|
727
|
+
payerOrganizationId: z.ZodNullable<z.ZodString>;
|
|
728
|
+
payerEmail: z.ZodNullable<z.ZodString>;
|
|
729
|
+
payerName: z.ZodNullable<z.ZodString>;
|
|
730
|
+
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
731
|
+
returnUrl: z.ZodNullable<z.ZodString>;
|
|
732
|
+
cancelUrl: z.ZodNullable<z.ZodString>;
|
|
733
|
+
callbackUrl: z.ZodNullable<z.ZodString>;
|
|
734
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
735
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
736
|
+
failedAt: z.ZodNullable<z.ZodString>;
|
|
737
|
+
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
738
|
+
expiredAt: z.ZodNullable<z.ZodString>;
|
|
739
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
740
|
+
failureMessage: z.ZodNullable<z.ZodString>;
|
|
741
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
742
|
+
providerPayload: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
743
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
744
|
+
createdAt: z.ZodString;
|
|
745
|
+
updatedAt: z.ZodString;
|
|
746
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
747
|
+
legacyOrderId: string | null;
|
|
748
|
+
target: {
|
|
749
|
+
type: "booking";
|
|
750
|
+
bookingId: string;
|
|
751
|
+
} | {
|
|
752
|
+
type: "invoice";
|
|
753
|
+
invoiceId: string;
|
|
754
|
+
} | {
|
|
755
|
+
type: "booking_payment_schedule";
|
|
756
|
+
bookingPaymentScheduleId: string;
|
|
757
|
+
} | {
|
|
758
|
+
type: "booking_guarantee";
|
|
759
|
+
bookingGuaranteeId: string;
|
|
760
|
+
} | {
|
|
761
|
+
type: "flight_order";
|
|
762
|
+
flightOrderId: string;
|
|
763
|
+
} | {
|
|
764
|
+
type: "program";
|
|
765
|
+
programId: string;
|
|
766
|
+
} | {
|
|
767
|
+
type: "supplier_settlement";
|
|
768
|
+
supplierSettlementId: string;
|
|
769
|
+
} | {
|
|
770
|
+
type: "channel_settlement";
|
|
771
|
+
channelSettlementId: string;
|
|
772
|
+
} | {
|
|
773
|
+
type: "provider_reference";
|
|
774
|
+
provider: string;
|
|
775
|
+
reference: string;
|
|
776
|
+
} | {
|
|
777
|
+
type: "legacy_order";
|
|
778
|
+
legacyOrderId: string;
|
|
779
|
+
} | null;
|
|
780
|
+
provenance: {
|
|
781
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
782
|
+
provider?: string | null | undefined;
|
|
783
|
+
reference?: string | null | undefined;
|
|
784
|
+
idempotencyKey?: string | null | undefined;
|
|
785
|
+
} | null;
|
|
786
|
+
id: string;
|
|
787
|
+
targetType: string;
|
|
788
|
+
targetId: string | null;
|
|
789
|
+
bookingId: string | null;
|
|
790
|
+
invoiceId: string | null;
|
|
791
|
+
bookingPaymentScheduleId: string | null;
|
|
792
|
+
bookingGuaranteeId: string | null;
|
|
793
|
+
paymentInstrumentId: string | null;
|
|
794
|
+
paymentAuthorizationId: string | null;
|
|
795
|
+
paymentCaptureId: string | null;
|
|
796
|
+
paymentId: string | null;
|
|
797
|
+
status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
|
|
798
|
+
provider: string | null;
|
|
799
|
+
providerSessionId: string | null;
|
|
800
|
+
providerPaymentId: string | null;
|
|
801
|
+
externalReference: string | null;
|
|
802
|
+
idempotencyKey: string | null;
|
|
803
|
+
clientReference: string | null;
|
|
804
|
+
currency: string;
|
|
805
|
+
amountCents: number;
|
|
806
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
807
|
+
payerPersonId: string | null;
|
|
808
|
+
payerOrganizationId: string | null;
|
|
809
|
+
payerEmail: string | null;
|
|
810
|
+
payerName: string | null;
|
|
811
|
+
redirectUrl: string | null;
|
|
812
|
+
returnUrl: string | null;
|
|
813
|
+
cancelUrl: string | null;
|
|
814
|
+
callbackUrl: string | null;
|
|
815
|
+
expiresAt: string | null;
|
|
816
|
+
completedAt: string | null;
|
|
817
|
+
failedAt: string | null;
|
|
818
|
+
cancelledAt: string | null;
|
|
819
|
+
expiredAt: string | null;
|
|
820
|
+
failureCode: string | null;
|
|
821
|
+
failureMessage: string | null;
|
|
822
|
+
notes: string | null;
|
|
823
|
+
providerPayload: Record<string, unknown> | null;
|
|
824
|
+
metadata: Record<string, unknown> | null;
|
|
825
|
+
createdAt: string;
|
|
826
|
+
updatedAt: string;
|
|
827
|
+
}, {
|
|
828
|
+
id: string;
|
|
829
|
+
targetType: string;
|
|
830
|
+
targetId: string | null;
|
|
831
|
+
bookingId: string | null;
|
|
832
|
+
invoiceId: string | null;
|
|
833
|
+
bookingPaymentScheduleId: string | null;
|
|
834
|
+
bookingGuaranteeId: string | null;
|
|
835
|
+
paymentInstrumentId: string | null;
|
|
836
|
+
paymentAuthorizationId: string | null;
|
|
837
|
+
paymentCaptureId: string | null;
|
|
838
|
+
paymentId: string | null;
|
|
839
|
+
status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
|
|
840
|
+
provider: string | null;
|
|
841
|
+
providerSessionId: string | null;
|
|
842
|
+
providerPaymentId: string | null;
|
|
843
|
+
externalReference: string | null;
|
|
844
|
+
idempotencyKey: string | null;
|
|
845
|
+
clientReference: string | null;
|
|
846
|
+
currency: string;
|
|
847
|
+
amountCents: number;
|
|
848
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
849
|
+
payerPersonId: string | null;
|
|
850
|
+
payerOrganizationId: string | null;
|
|
851
|
+
payerEmail: string | null;
|
|
852
|
+
payerName: string | null;
|
|
853
|
+
redirectUrl: string | null;
|
|
854
|
+
returnUrl: string | null;
|
|
855
|
+
cancelUrl: string | null;
|
|
856
|
+
callbackUrl: string | null;
|
|
857
|
+
expiresAt: string | null;
|
|
858
|
+
completedAt: string | null;
|
|
859
|
+
failedAt: string | null;
|
|
860
|
+
cancelledAt: string | null;
|
|
861
|
+
expiredAt: string | null;
|
|
862
|
+
failureCode: string | null;
|
|
863
|
+
failureMessage: string | null;
|
|
864
|
+
notes: string | null;
|
|
865
|
+
providerPayload: Record<string, unknown> | null;
|
|
866
|
+
metadata: Record<string, unknown> | null;
|
|
867
|
+
createdAt: string;
|
|
868
|
+
updatedAt: string;
|
|
869
|
+
target?: {
|
|
870
|
+
type: "booking";
|
|
871
|
+
bookingId: string;
|
|
872
|
+
} | {
|
|
873
|
+
type: "invoice";
|
|
874
|
+
invoiceId: string;
|
|
875
|
+
} | {
|
|
876
|
+
type: "booking_payment_schedule";
|
|
877
|
+
bookingPaymentScheduleId: string;
|
|
878
|
+
} | {
|
|
879
|
+
type: "booking_guarantee";
|
|
880
|
+
bookingGuaranteeId: string;
|
|
881
|
+
} | {
|
|
882
|
+
type: "flight_order";
|
|
883
|
+
flightOrderId: string;
|
|
884
|
+
} | {
|
|
885
|
+
type: "program";
|
|
886
|
+
programId: string;
|
|
887
|
+
} | {
|
|
888
|
+
type: "supplier_settlement";
|
|
889
|
+
supplierSettlementId: string;
|
|
890
|
+
} | {
|
|
891
|
+
type: "channel_settlement";
|
|
892
|
+
channelSettlementId: string;
|
|
893
|
+
} | {
|
|
894
|
+
type: "provider_reference";
|
|
895
|
+
provider: string;
|
|
896
|
+
reference: string;
|
|
897
|
+
} | {
|
|
898
|
+
type: "legacy_order";
|
|
899
|
+
legacyOrderId: string;
|
|
900
|
+
} | null | undefined;
|
|
901
|
+
provenance?: {
|
|
902
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
903
|
+
provider?: string | null | undefined;
|
|
904
|
+
reference?: string | null | undefined;
|
|
905
|
+
idempotencyKey?: string | null | undefined;
|
|
906
|
+
} | null | undefined;
|
|
907
|
+
legacyOrderId?: string | null | undefined;
|
|
908
|
+
orderId?: string | null | undefined;
|
|
909
|
+
}>>>;
|
|
910
|
+
total: z.ZodNumber;
|
|
911
|
+
limit: z.ZodNumber;
|
|
912
|
+
offset: z.ZodNumber;
|
|
913
|
+
}, z.core.$strip>;
|
|
914
|
+
export declare const paymentSessionSingleResponse: z.ZodObject<{
|
|
915
|
+
data: z.ZodPipe<z.ZodObject<{
|
|
916
|
+
id: z.ZodString;
|
|
917
|
+
target: z.ZodOptional<z.ZodNullable<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
918
|
+
type: z.ZodLiteral<"booking">;
|
|
919
|
+
bookingId: z.ZodString;
|
|
920
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
921
|
+
type: z.ZodLiteral<"invoice">;
|
|
922
|
+
invoiceId: z.ZodString;
|
|
923
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
924
|
+
type: z.ZodLiteral<"booking_payment_schedule">;
|
|
925
|
+
bookingPaymentScheduleId: z.ZodString;
|
|
926
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
927
|
+
type: z.ZodLiteral<"booking_guarantee">;
|
|
928
|
+
bookingGuaranteeId: z.ZodString;
|
|
929
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
930
|
+
type: z.ZodLiteral<"flight_order">;
|
|
931
|
+
flightOrderId: z.ZodString;
|
|
932
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
933
|
+
type: z.ZodLiteral<"program">;
|
|
934
|
+
programId: z.ZodString;
|
|
935
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
936
|
+
type: z.ZodLiteral<"supplier_settlement">;
|
|
937
|
+
supplierSettlementId: z.ZodString;
|
|
938
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
939
|
+
type: z.ZodLiteral<"channel_settlement">;
|
|
940
|
+
channelSettlementId: z.ZodString;
|
|
941
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
942
|
+
type: z.ZodLiteral<"provider_reference">;
|
|
943
|
+
provider: z.ZodString;
|
|
944
|
+
reference: z.ZodString;
|
|
945
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
946
|
+
type: z.ZodLiteral<"legacy_order">;
|
|
947
|
+
legacyOrderId: z.ZodString;
|
|
948
|
+
}, z.core.$strip>], "type">>>;
|
|
949
|
+
provenance: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
950
|
+
source: z.ZodEnum<{
|
|
951
|
+
other: "other";
|
|
952
|
+
operator: "operator";
|
|
953
|
+
storefront: "storefront";
|
|
954
|
+
customer_portal: "customer_portal";
|
|
955
|
+
payment_provider: "payment_provider";
|
|
956
|
+
supplier_channel: "supplier_channel";
|
|
957
|
+
migration: "migration";
|
|
958
|
+
}>;
|
|
959
|
+
provider: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
960
|
+
reference: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
961
|
+
idempotencyKey: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
962
|
+
}, z.core.$strip>>>;
|
|
963
|
+
targetType: z.ZodString;
|
|
964
|
+
targetId: z.ZodNullable<z.ZodString>;
|
|
965
|
+
bookingId: z.ZodNullable<z.ZodString>;
|
|
966
|
+
legacyOrderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
967
|
+
orderId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
968
|
+
invoiceId: z.ZodNullable<z.ZodString>;
|
|
969
|
+
bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
|
|
970
|
+
bookingGuaranteeId: z.ZodNullable<z.ZodString>;
|
|
971
|
+
paymentInstrumentId: z.ZodNullable<z.ZodString>;
|
|
972
|
+
paymentAuthorizationId: z.ZodNullable<z.ZodString>;
|
|
973
|
+
paymentCaptureId: z.ZodNullable<z.ZodString>;
|
|
974
|
+
paymentId: z.ZodNullable<z.ZodString>;
|
|
975
|
+
status: z.ZodEnum<{
|
|
976
|
+
paid: "paid";
|
|
977
|
+
pending: "pending";
|
|
978
|
+
failed: "failed";
|
|
979
|
+
requires_redirect: "requires_redirect";
|
|
980
|
+
processing: "processing";
|
|
981
|
+
authorized: "authorized";
|
|
982
|
+
cancelled: "cancelled";
|
|
983
|
+
expired: "expired";
|
|
984
|
+
}>;
|
|
985
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
986
|
+
providerSessionId: z.ZodNullable<z.ZodString>;
|
|
987
|
+
providerPaymentId: z.ZodNullable<z.ZodString>;
|
|
988
|
+
externalReference: z.ZodNullable<z.ZodString>;
|
|
989
|
+
idempotencyKey: z.ZodNullable<z.ZodString>;
|
|
990
|
+
clientReference: z.ZodNullable<z.ZodString>;
|
|
991
|
+
currency: z.ZodString;
|
|
992
|
+
amountCents: z.ZodNumber;
|
|
993
|
+
paymentMethod: z.ZodNullable<z.ZodEnum<{
|
|
994
|
+
bank_transfer: "bank_transfer";
|
|
995
|
+
credit_card: "credit_card";
|
|
996
|
+
debit_card: "debit_card";
|
|
997
|
+
cash: "cash";
|
|
998
|
+
cheque: "cheque";
|
|
999
|
+
wallet: "wallet";
|
|
1000
|
+
direct_bill: "direct_bill";
|
|
1001
|
+
voucher: "voucher";
|
|
1002
|
+
other: "other";
|
|
1003
|
+
}>>;
|
|
1004
|
+
payerPersonId: z.ZodNullable<z.ZodString>;
|
|
1005
|
+
payerOrganizationId: z.ZodNullable<z.ZodString>;
|
|
1006
|
+
payerEmail: z.ZodNullable<z.ZodString>;
|
|
1007
|
+
payerName: z.ZodNullable<z.ZodString>;
|
|
1008
|
+
redirectUrl: z.ZodNullable<z.ZodString>;
|
|
1009
|
+
returnUrl: z.ZodNullable<z.ZodString>;
|
|
1010
|
+
cancelUrl: z.ZodNullable<z.ZodString>;
|
|
1011
|
+
callbackUrl: z.ZodNullable<z.ZodString>;
|
|
1012
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1013
|
+
completedAt: z.ZodNullable<z.ZodString>;
|
|
1014
|
+
failedAt: z.ZodNullable<z.ZodString>;
|
|
1015
|
+
cancelledAt: z.ZodNullable<z.ZodString>;
|
|
1016
|
+
expiredAt: z.ZodNullable<z.ZodString>;
|
|
1017
|
+
failureCode: z.ZodNullable<z.ZodString>;
|
|
1018
|
+
failureMessage: z.ZodNullable<z.ZodString>;
|
|
1019
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1020
|
+
providerPayload: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1021
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1022
|
+
createdAt: z.ZodString;
|
|
1023
|
+
updatedAt: z.ZodString;
|
|
1024
|
+
}, z.core.$strip>, z.ZodTransform<{
|
|
1025
|
+
legacyOrderId: string | null;
|
|
1026
|
+
target: {
|
|
1027
|
+
type: "booking";
|
|
1028
|
+
bookingId: string;
|
|
1029
|
+
} | {
|
|
1030
|
+
type: "invoice";
|
|
1031
|
+
invoiceId: string;
|
|
1032
|
+
} | {
|
|
1033
|
+
type: "booking_payment_schedule";
|
|
1034
|
+
bookingPaymentScheduleId: string;
|
|
1035
|
+
} | {
|
|
1036
|
+
type: "booking_guarantee";
|
|
1037
|
+
bookingGuaranteeId: string;
|
|
1038
|
+
} | {
|
|
1039
|
+
type: "flight_order";
|
|
1040
|
+
flightOrderId: string;
|
|
1041
|
+
} | {
|
|
1042
|
+
type: "program";
|
|
1043
|
+
programId: string;
|
|
1044
|
+
} | {
|
|
1045
|
+
type: "supplier_settlement";
|
|
1046
|
+
supplierSettlementId: string;
|
|
1047
|
+
} | {
|
|
1048
|
+
type: "channel_settlement";
|
|
1049
|
+
channelSettlementId: string;
|
|
1050
|
+
} | {
|
|
1051
|
+
type: "provider_reference";
|
|
1052
|
+
provider: string;
|
|
1053
|
+
reference: string;
|
|
1054
|
+
} | {
|
|
1055
|
+
type: "legacy_order";
|
|
1056
|
+
legacyOrderId: string;
|
|
1057
|
+
} | null;
|
|
1058
|
+
provenance: {
|
|
1059
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
1060
|
+
provider?: string | null | undefined;
|
|
1061
|
+
reference?: string | null | undefined;
|
|
1062
|
+
idempotencyKey?: string | null | undefined;
|
|
1063
|
+
} | null;
|
|
1064
|
+
id: string;
|
|
1065
|
+
targetType: string;
|
|
1066
|
+
targetId: string | null;
|
|
1067
|
+
bookingId: string | null;
|
|
1068
|
+
invoiceId: string | null;
|
|
1069
|
+
bookingPaymentScheduleId: string | null;
|
|
1070
|
+
bookingGuaranteeId: string | null;
|
|
1071
|
+
paymentInstrumentId: string | null;
|
|
1072
|
+
paymentAuthorizationId: string | null;
|
|
1073
|
+
paymentCaptureId: string | null;
|
|
1074
|
+
paymentId: string | null;
|
|
1075
|
+
status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
|
|
1076
|
+
provider: string | null;
|
|
1077
|
+
providerSessionId: string | null;
|
|
1078
|
+
providerPaymentId: string | null;
|
|
1079
|
+
externalReference: string | null;
|
|
1080
|
+
idempotencyKey: string | null;
|
|
1081
|
+
clientReference: string | null;
|
|
1082
|
+
currency: string;
|
|
1083
|
+
amountCents: number;
|
|
1084
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
1085
|
+
payerPersonId: string | null;
|
|
1086
|
+
payerOrganizationId: string | null;
|
|
1087
|
+
payerEmail: string | null;
|
|
1088
|
+
payerName: string | null;
|
|
1089
|
+
redirectUrl: string | null;
|
|
1090
|
+
returnUrl: string | null;
|
|
1091
|
+
cancelUrl: string | null;
|
|
1092
|
+
callbackUrl: string | null;
|
|
1093
|
+
expiresAt: string | null;
|
|
1094
|
+
completedAt: string | null;
|
|
1095
|
+
failedAt: string | null;
|
|
1096
|
+
cancelledAt: string | null;
|
|
1097
|
+
expiredAt: string | null;
|
|
1098
|
+
failureCode: string | null;
|
|
1099
|
+
failureMessage: string | null;
|
|
1100
|
+
notes: string | null;
|
|
1101
|
+
providerPayload: Record<string, unknown> | null;
|
|
1102
|
+
metadata: Record<string, unknown> | null;
|
|
1103
|
+
createdAt: string;
|
|
1104
|
+
updatedAt: string;
|
|
1105
|
+
}, {
|
|
1106
|
+
id: string;
|
|
1107
|
+
targetType: string;
|
|
1108
|
+
targetId: string | null;
|
|
1109
|
+
bookingId: string | null;
|
|
1110
|
+
invoiceId: string | null;
|
|
1111
|
+
bookingPaymentScheduleId: string | null;
|
|
1112
|
+
bookingGuaranteeId: string | null;
|
|
1113
|
+
paymentInstrumentId: string | null;
|
|
1114
|
+
paymentAuthorizationId: string | null;
|
|
1115
|
+
paymentCaptureId: string | null;
|
|
1116
|
+
paymentId: string | null;
|
|
1117
|
+
status: "paid" | "pending" | "failed" | "requires_redirect" | "processing" | "authorized" | "cancelled" | "expired";
|
|
1118
|
+
provider: string | null;
|
|
1119
|
+
providerSessionId: string | null;
|
|
1120
|
+
providerPaymentId: string | null;
|
|
1121
|
+
externalReference: string | null;
|
|
1122
|
+
idempotencyKey: string | null;
|
|
1123
|
+
clientReference: string | null;
|
|
1124
|
+
currency: string;
|
|
1125
|
+
amountCents: number;
|
|
1126
|
+
paymentMethod: "bank_transfer" | "credit_card" | "debit_card" | "cash" | "cheque" | "wallet" | "direct_bill" | "voucher" | "other" | null;
|
|
1127
|
+
payerPersonId: string | null;
|
|
1128
|
+
payerOrganizationId: string | null;
|
|
1129
|
+
payerEmail: string | null;
|
|
1130
|
+
payerName: string | null;
|
|
1131
|
+
redirectUrl: string | null;
|
|
1132
|
+
returnUrl: string | null;
|
|
1133
|
+
cancelUrl: string | null;
|
|
1134
|
+
callbackUrl: string | null;
|
|
1135
|
+
expiresAt: string | null;
|
|
1136
|
+
completedAt: string | null;
|
|
1137
|
+
failedAt: string | null;
|
|
1138
|
+
cancelledAt: string | null;
|
|
1139
|
+
expiredAt: string | null;
|
|
1140
|
+
failureCode: string | null;
|
|
1141
|
+
failureMessage: string | null;
|
|
1142
|
+
notes: string | null;
|
|
1143
|
+
providerPayload: Record<string, unknown> | null;
|
|
1144
|
+
metadata: Record<string, unknown> | null;
|
|
1145
|
+
createdAt: string;
|
|
1146
|
+
updatedAt: string;
|
|
1147
|
+
target?: {
|
|
1148
|
+
type: "booking";
|
|
1149
|
+
bookingId: string;
|
|
1150
|
+
} | {
|
|
1151
|
+
type: "invoice";
|
|
1152
|
+
invoiceId: string;
|
|
1153
|
+
} | {
|
|
1154
|
+
type: "booking_payment_schedule";
|
|
1155
|
+
bookingPaymentScheduleId: string;
|
|
1156
|
+
} | {
|
|
1157
|
+
type: "booking_guarantee";
|
|
1158
|
+
bookingGuaranteeId: string;
|
|
1159
|
+
} | {
|
|
1160
|
+
type: "flight_order";
|
|
1161
|
+
flightOrderId: string;
|
|
1162
|
+
} | {
|
|
1163
|
+
type: "program";
|
|
1164
|
+
programId: string;
|
|
1165
|
+
} | {
|
|
1166
|
+
type: "supplier_settlement";
|
|
1167
|
+
supplierSettlementId: string;
|
|
1168
|
+
} | {
|
|
1169
|
+
type: "channel_settlement";
|
|
1170
|
+
channelSettlementId: string;
|
|
1171
|
+
} | {
|
|
1172
|
+
type: "provider_reference";
|
|
1173
|
+
provider: string;
|
|
1174
|
+
reference: string;
|
|
1175
|
+
} | {
|
|
1176
|
+
type: "legacy_order";
|
|
1177
|
+
legacyOrderId: string;
|
|
1178
|
+
} | null | undefined;
|
|
1179
|
+
provenance?: {
|
|
1180
|
+
source: "other" | "operator" | "storefront" | "customer_portal" | "payment_provider" | "supplier_channel" | "migration";
|
|
1181
|
+
provider?: string | null | undefined;
|
|
1182
|
+
reference?: string | null | undefined;
|
|
1183
|
+
idempotencyKey?: string | null | undefined;
|
|
1184
|
+
} | null | undefined;
|
|
1185
|
+
legacyOrderId?: string | null | undefined;
|
|
1186
|
+
orderId?: string | null | undefined;
|
|
1187
|
+
}>>;
|
|
1188
|
+
}, z.core.$strip>;
|
|
1189
|
+
export declare const financeDepositRuleSchema: z.ZodObject<{
|
|
1190
|
+
kind: z.ZodEnum<{
|
|
1191
|
+
none: "none";
|
|
1192
|
+
percent: "percent";
|
|
1193
|
+
fixed_cents: "fixed_cents";
|
|
1194
|
+
}>;
|
|
1195
|
+
percent: z.ZodOptional<z.ZodNumber>;
|
|
1196
|
+
amountCents: z.ZodOptional<z.ZodNumber>;
|
|
1197
|
+
}, z.core.$strip>;
|
|
1198
|
+
export declare const financePaymentPolicySchema: z.ZodObject<{
|
|
1199
|
+
deposit: z.ZodObject<{
|
|
1200
|
+
kind: z.ZodEnum<{
|
|
1201
|
+
none: "none";
|
|
1202
|
+
percent: "percent";
|
|
1203
|
+
fixed_cents: "fixed_cents";
|
|
1204
|
+
}>;
|
|
1205
|
+
percent: z.ZodOptional<z.ZodNumber>;
|
|
1206
|
+
amountCents: z.ZodOptional<z.ZodNumber>;
|
|
1207
|
+
}, z.core.$strip>;
|
|
1208
|
+
minDaysBeforeDepartureForDeposit: z.ZodNumber;
|
|
1209
|
+
balanceDueDaysBeforeDeparture: z.ZodNumber;
|
|
1210
|
+
balanceDueMinDaysFromNow: z.ZodNumber;
|
|
1211
|
+
}, z.core.$strip>;
|
|
1212
|
+
export type FinancePaymentPolicy = z.infer<typeof financePaymentPolicySchema>;
|
|
1213
|
+
export declare const financePaymentPolicySourceSchema: z.ZodEnum<{
|
|
1214
|
+
booking: "booking";
|
|
1215
|
+
supplier: "supplier";
|
|
1216
|
+
category: "category";
|
|
1217
|
+
listing: "listing";
|
|
1218
|
+
operator_default: "operator_default";
|
|
1219
|
+
}>;
|
|
1220
|
+
export type FinancePaymentPolicySource = z.infer<typeof financePaymentPolicySourceSchema>;
|
|
1221
|
+
export declare const regenerateBookingPaymentScheduleResultSchema: z.ZodObject<{
|
|
1222
|
+
schedule: z.ZodArray<z.ZodObject<{
|
|
1223
|
+
id: z.ZodString;
|
|
1224
|
+
bookingId: z.ZodString;
|
|
1225
|
+
bookingItemId: z.ZodNullable<z.ZodString>;
|
|
1226
|
+
scheduleType: z.ZodEnum<{
|
|
1227
|
+
other: "other";
|
|
1228
|
+
deposit: "deposit";
|
|
1229
|
+
installment: "installment";
|
|
1230
|
+
balance: "balance";
|
|
1231
|
+
hold: "hold";
|
|
1232
|
+
}>;
|
|
1233
|
+
status: z.ZodEnum<{
|
|
1234
|
+
paid: "paid";
|
|
1235
|
+
pending: "pending";
|
|
1236
|
+
cancelled: "cancelled";
|
|
1237
|
+
expired: "expired";
|
|
1238
|
+
due: "due";
|
|
1239
|
+
waived: "waived";
|
|
1240
|
+
}>;
|
|
1241
|
+
dueDate: z.ZodString;
|
|
1242
|
+
currency: z.ZodString;
|
|
1243
|
+
amountCents: z.ZodNumber;
|
|
1244
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1245
|
+
createdAt: z.ZodString;
|
|
1246
|
+
updatedAt: z.ZodString;
|
|
1247
|
+
}, z.core.$strip>>;
|
|
1248
|
+
bookingPolicy: z.ZodNullable<z.ZodObject<{
|
|
1249
|
+
deposit: z.ZodObject<{
|
|
1250
|
+
kind: z.ZodEnum<{
|
|
1251
|
+
none: "none";
|
|
1252
|
+
percent: "percent";
|
|
1253
|
+
fixed_cents: "fixed_cents";
|
|
1254
|
+
}>;
|
|
1255
|
+
percent: z.ZodOptional<z.ZodNumber>;
|
|
1256
|
+
amountCents: z.ZodOptional<z.ZodNumber>;
|
|
1257
|
+
}, z.core.$strip>;
|
|
1258
|
+
minDaysBeforeDepartureForDeposit: z.ZodNumber;
|
|
1259
|
+
balanceDueDaysBeforeDeparture: z.ZodNumber;
|
|
1260
|
+
balanceDueMinDaysFromNow: z.ZodNumber;
|
|
1261
|
+
}, z.core.$strip>>;
|
|
1262
|
+
cascadeSource: z.ZodEnum<{
|
|
1263
|
+
booking: "booking";
|
|
1264
|
+
supplier: "supplier";
|
|
1265
|
+
category: "category";
|
|
1266
|
+
listing: "listing";
|
|
1267
|
+
operator_default: "operator_default";
|
|
1268
|
+
}>;
|
|
1269
|
+
}, z.core.$strip>;
|
|
1270
|
+
export type RegenerateBookingPaymentScheduleResult = z.infer<typeof regenerateBookingPaymentScheduleResultSchema>;
|
|
1271
|
+
export declare const regenerateBookingPaymentScheduleResponse: z.ZodObject<{
|
|
1272
|
+
data: z.ZodObject<{
|
|
1273
|
+
schedule: z.ZodArray<z.ZodObject<{
|
|
1274
|
+
id: z.ZodString;
|
|
1275
|
+
bookingId: z.ZodString;
|
|
1276
|
+
bookingItemId: z.ZodNullable<z.ZodString>;
|
|
1277
|
+
scheduleType: z.ZodEnum<{
|
|
1278
|
+
other: "other";
|
|
1279
|
+
deposit: "deposit";
|
|
1280
|
+
installment: "installment";
|
|
1281
|
+
balance: "balance";
|
|
1282
|
+
hold: "hold";
|
|
1283
|
+
}>;
|
|
1284
|
+
status: z.ZodEnum<{
|
|
1285
|
+
paid: "paid";
|
|
1286
|
+
pending: "pending";
|
|
1287
|
+
cancelled: "cancelled";
|
|
1288
|
+
expired: "expired";
|
|
1289
|
+
due: "due";
|
|
1290
|
+
waived: "waived";
|
|
1291
|
+
}>;
|
|
1292
|
+
dueDate: z.ZodString;
|
|
1293
|
+
currency: z.ZodString;
|
|
1294
|
+
amountCents: z.ZodNumber;
|
|
1295
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1296
|
+
createdAt: z.ZodString;
|
|
1297
|
+
updatedAt: z.ZodString;
|
|
1298
|
+
}, z.core.$strip>>;
|
|
1299
|
+
bookingPolicy: z.ZodNullable<z.ZodObject<{
|
|
1300
|
+
deposit: z.ZodObject<{
|
|
1301
|
+
kind: z.ZodEnum<{
|
|
1302
|
+
none: "none";
|
|
1303
|
+
percent: "percent";
|
|
1304
|
+
fixed_cents: "fixed_cents";
|
|
1305
|
+
}>;
|
|
1306
|
+
percent: z.ZodOptional<z.ZodNumber>;
|
|
1307
|
+
amountCents: z.ZodOptional<z.ZodNumber>;
|
|
1308
|
+
}, z.core.$strip>;
|
|
1309
|
+
minDaysBeforeDepartureForDeposit: z.ZodNumber;
|
|
1310
|
+
balanceDueDaysBeforeDeparture: z.ZodNumber;
|
|
1311
|
+
balanceDueMinDaysFromNow: z.ZodNumber;
|
|
1312
|
+
}, z.core.$strip>>;
|
|
1313
|
+
cascadeSource: z.ZodEnum<{
|
|
1314
|
+
booking: "booking";
|
|
1315
|
+
supplier: "supplier";
|
|
1316
|
+
category: "category";
|
|
1317
|
+
listing: "listing";
|
|
1318
|
+
operator_default: "operator_default";
|
|
1319
|
+
}>;
|
|
1320
|
+
}, z.core.$strip>;
|
|
1321
|
+
}, z.core.$strip>;
|
|
1322
|
+
export declare const invoiceFxRateRecordSchema: z.ZodObject<{
|
|
1323
|
+
baseCurrency: z.ZodString;
|
|
1324
|
+
quoteCurrency: z.ZodString;
|
|
1325
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1326
|
+
rate: z.ZodNumber;
|
|
1327
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
quotedAt: z.ZodOptional<z.ZodString>;
|
|
1329
|
+
validUntil: z.ZodOptional<z.ZodString>;
|
|
1330
|
+
fxCommissionBps: z.ZodDefault<z.ZodNumber>;
|
|
1331
|
+
effectiveRate: z.ZodNumber;
|
|
1332
|
+
fxCommissionInvoiceMention: z.ZodOptional<z.ZodString>;
|
|
1333
|
+
}, z.core.$strip>;
|
|
1334
|
+
export type InvoiceFxRateRecord = z.infer<typeof invoiceFxRateRecordSchema>;
|
|
1335
|
+
export declare const invoiceFxRateResponse: z.ZodObject<{
|
|
1336
|
+
data: z.ZodObject<{
|
|
1337
|
+
baseCurrency: z.ZodString;
|
|
1338
|
+
quoteCurrency: z.ZodString;
|
|
1339
|
+
date: z.ZodOptional<z.ZodString>;
|
|
1340
|
+
rate: z.ZodNumber;
|
|
1341
|
+
source: z.ZodOptional<z.ZodString>;
|
|
1342
|
+
quotedAt: z.ZodOptional<z.ZodString>;
|
|
1343
|
+
validUntil: z.ZodOptional<z.ZodString>;
|
|
1344
|
+
fxCommissionBps: z.ZodDefault<z.ZodNumber>;
|
|
1345
|
+
effectiveRate: z.ZodNumber;
|
|
1346
|
+
fxCommissionInvoiceMention: z.ZodOptional<z.ZodString>;
|
|
1347
|
+
}, z.core.$strip>;
|
|
1348
|
+
}, z.core.$strip>;
|
|
1349
|
+
export declare const guaranteeTypeSchema: z.ZodEnum<{
|
|
1350
|
+
bank_transfer: "bank_transfer";
|
|
1351
|
+
credit_card: "credit_card";
|
|
1352
|
+
voucher: "voucher";
|
|
1353
|
+
other: "other";
|
|
1354
|
+
deposit: "deposit";
|
|
1355
|
+
preauth: "preauth";
|
|
1356
|
+
card_on_file: "card_on_file";
|
|
1357
|
+
agency_letter: "agency_letter";
|
|
1358
|
+
}>;
|
|
1359
|
+
export declare const guaranteeStatusSchema: z.ZodEnum<{
|
|
1360
|
+
pending: "pending";
|
|
1361
|
+
failed: "failed";
|
|
1362
|
+
cancelled: "cancelled";
|
|
1363
|
+
expired: "expired";
|
|
1364
|
+
active: "active";
|
|
1365
|
+
released: "released";
|
|
1366
|
+
}>;
|
|
1367
|
+
export declare const bookingGuaranteeRecordSchema: z.ZodObject<{
|
|
1368
|
+
id: z.ZodString;
|
|
1369
|
+
bookingId: z.ZodString;
|
|
1370
|
+
bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
|
|
1371
|
+
bookingItemId: z.ZodNullable<z.ZodString>;
|
|
1372
|
+
guaranteeType: z.ZodEnum<{
|
|
1373
|
+
bank_transfer: "bank_transfer";
|
|
1374
|
+
credit_card: "credit_card";
|
|
1375
|
+
voucher: "voucher";
|
|
1376
|
+
other: "other";
|
|
1377
|
+
deposit: "deposit";
|
|
1378
|
+
preauth: "preauth";
|
|
1379
|
+
card_on_file: "card_on_file";
|
|
1380
|
+
agency_letter: "agency_letter";
|
|
1381
|
+
}>;
|
|
1382
|
+
status: z.ZodEnum<{
|
|
1383
|
+
pending: "pending";
|
|
1384
|
+
failed: "failed";
|
|
1385
|
+
cancelled: "cancelled";
|
|
1386
|
+
expired: "expired";
|
|
1387
|
+
active: "active";
|
|
1388
|
+
released: "released";
|
|
1389
|
+
}>;
|
|
1390
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
1391
|
+
amountCents: z.ZodNullable<z.ZodNumber>;
|
|
1392
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
1393
|
+
referenceNumber: z.ZodNullable<z.ZodString>;
|
|
1394
|
+
guaranteedAt: z.ZodNullable<z.ZodString>;
|
|
1395
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1396
|
+
releasedAt: z.ZodNullable<z.ZodString>;
|
|
1397
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1398
|
+
createdAt: z.ZodString;
|
|
1399
|
+
updatedAt: z.ZodString;
|
|
1400
|
+
}, z.core.$strip>;
|
|
1401
|
+
export type BookingGuaranteeRecord = z.infer<typeof bookingGuaranteeRecordSchema>;
|
|
1402
|
+
export declare const bookingGuaranteesResponse: z.ZodObject<{
|
|
1403
|
+
data: z.ZodArray<z.ZodObject<{
|
|
1404
|
+
id: z.ZodString;
|
|
1405
|
+
bookingId: z.ZodString;
|
|
1406
|
+
bookingPaymentScheduleId: z.ZodNullable<z.ZodString>;
|
|
1407
|
+
bookingItemId: z.ZodNullable<z.ZodString>;
|
|
1408
|
+
guaranteeType: z.ZodEnum<{
|
|
1409
|
+
bank_transfer: "bank_transfer";
|
|
1410
|
+
credit_card: "credit_card";
|
|
1411
|
+
voucher: "voucher";
|
|
1412
|
+
other: "other";
|
|
1413
|
+
deposit: "deposit";
|
|
1414
|
+
preauth: "preauth";
|
|
1415
|
+
card_on_file: "card_on_file";
|
|
1416
|
+
agency_letter: "agency_letter";
|
|
1417
|
+
}>;
|
|
1418
|
+
status: z.ZodEnum<{
|
|
1419
|
+
pending: "pending";
|
|
1420
|
+
failed: "failed";
|
|
1421
|
+
cancelled: "cancelled";
|
|
1422
|
+
expired: "expired";
|
|
1423
|
+
active: "active";
|
|
1424
|
+
released: "released";
|
|
1425
|
+
}>;
|
|
1426
|
+
currency: z.ZodNullable<z.ZodString>;
|
|
1427
|
+
amountCents: z.ZodNullable<z.ZodNumber>;
|
|
1428
|
+
provider: z.ZodNullable<z.ZodString>;
|
|
1429
|
+
referenceNumber: z.ZodNullable<z.ZodString>;
|
|
1430
|
+
guaranteedAt: z.ZodNullable<z.ZodString>;
|
|
1431
|
+
expiresAt: z.ZodNullable<z.ZodString>;
|
|
1432
|
+
releasedAt: z.ZodNullable<z.ZodString>;
|
|
1433
|
+
notes: z.ZodNullable<z.ZodString>;
|
|
1434
|
+
createdAt: z.ZodString;
|
|
1435
|
+
updatedAt: z.ZodString;
|
|
1436
|
+
}, z.core.$strip>>;
|
|
1437
|
+
}, z.core.$strip>;
|
|
1438
|
+
export declare const invoiceAttachmentRecordSchema: z.ZodObject<{
|
|
1439
|
+
id: z.ZodString;
|
|
1440
|
+
invoiceId: z.ZodString;
|
|
1441
|
+
kind: z.ZodString;
|
|
1442
|
+
name: z.ZodString;
|
|
1443
|
+
mimeType: z.ZodNullable<z.ZodString>;
|
|
1444
|
+
fileSize: z.ZodNullable<z.ZodNumber>;
|
|
1445
|
+
storageKey: z.ZodNullable<z.ZodString>;
|
|
1446
|
+
checksum: z.ZodNullable<z.ZodString>;
|
|
1447
|
+
metadata: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
|
|
1448
|
+
createdAt: z.ZodString;
|
|
1449
|
+
}, z.core.$strip>;
|
|
1450
|
+
export type InvoiceAttachmentRecord = z.infer<typeof invoiceAttachmentRecordSchema>;
|
|
1451
|
+
//# sourceMappingURL=invoice.d.ts.map
|