@voyant-travel/bookings-react 0.119.3
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 +87 -0
- package/dist/admin/booking-contract-dialog.d.ts +22 -0
- package/dist/admin/booking-contract-dialog.d.ts.map +1 -0
- package/dist/admin/booking-contract-dialog.js +161 -0
- package/dist/admin/booking-detail-host.d.ts +103 -0
- package/dist/admin/booking-detail-host.d.ts.map +1 -0
- package/dist/admin/booking-detail-host.js +127 -0
- package/dist/admin/booking-detail-skeleton.d.ts +7 -0
- package/dist/admin/booking-detail-skeleton.d.ts.map +1 -0
- package/dist/admin/booking-detail-skeleton.js +24 -0
- package/dist/admin/booking-documents-table.d.ts +13 -0
- package/dist/admin/booking-documents-table.d.ts.map +1 -0
- package/dist/admin/booking-documents-table.js +259 -0
- package/dist/admin/booking-invoice-sheet.d.ts +18 -0
- package/dist/admin/booking-invoice-sheet.d.ts.map +1 -0
- package/dist/admin/booking-invoice-sheet.js +101 -0
- package/dist/admin/booking-journey-host.d.ts +24 -0
- package/dist/admin/booking-journey-host.d.ts.map +1 -0
- package/dist/admin/booking-journey-host.js +278 -0
- package/dist/admin/bookings-host.d.ts +26 -0
- package/dist/admin/bookings-host.d.ts.map +1 -0
- package/dist/admin/bookings-host.js +18 -0
- package/dist/admin/bookings-list-skeleton.d.ts +10 -0
- package/dist/admin/bookings-list-skeleton.d.ts.map +1 -0
- package/dist/admin/bookings-list-skeleton.js +25 -0
- package/dist/admin/index.d.ts +273 -0
- package/dist/admin/index.d.ts.map +1 -0
- package/dist/admin/index.js +331 -0
- package/dist/admin/journey-billing-duplicate-warning.d.ts +3 -0
- package/dist/admin/journey-billing-duplicate-warning.d.ts.map +1 -0
- package/dist/admin/journey-billing-duplicate-warning.js +26 -0
- package/dist/admin/journey-departure-picker.d.ts +7 -0
- package/dist/admin/journey-departure-picker.d.ts.map +1 -0
- package/dist/admin/journey-departure-picker.js +100 -0
- package/dist/admin/journey-units-picker.d.ts +11 -0
- package/dist/admin/journey-units-picker.d.ts.map +1 -0
- package/dist/admin/journey-units-picker.js +60 -0
- package/dist/admin/journey-voucher-picker.d.ts +3 -0
- package/dist/admin/journey-voucher-picker.d.ts.map +1 -0
- package/dist/admin/journey-voucher-picker.js +71 -0
- package/dist/admin/pages/booking-compose-page.d.ts +9 -0
- package/dist/admin/pages/booking-compose-page.d.ts.map +1 -0
- package/dist/admin/pages/booking-compose-page.js +17 -0
- package/dist/admin/pages/booking-detail-page.d.ts +11 -0
- package/dist/admin/pages/booking-detail-page.d.ts.map +1 -0
- package/dist/admin/pages/booking-detail-page.js +14 -0
- package/dist/admin/pages/booking-journey-page.d.ts +12 -0
- package/dist/admin/pages/booking-journey-page.d.ts.map +1 -0
- package/dist/admin/pages/booking-journey-page.js +26 -0
- package/dist/admin/pages/booking-new-page.d.ts +15 -0
- package/dist/admin/pages/booking-new-page.d.ts.map +1 -0
- package/dist/admin/pages/booking-new-page.js +50 -0
- package/dist/admin/pages/bookings-index-page.d.ts +20 -0
- package/dist/admin/pages/bookings-index-page.d.ts.map +1 -0
- package/dist/admin/pages/bookings-index-page.js +18 -0
- package/dist/admin/person-bookings-widget.d.ts +13 -0
- package/dist/admin/person-bookings-widget.d.ts.map +1 -0
- package/dist/admin/person-bookings-widget.js +48 -0
- package/dist/admin/slots.d.ts +31 -0
- package/dist/admin/slots.d.ts.map +1 -0
- package/dist/admin/slots.js +30 -0
- package/dist/admin/use-booking-action-ledger-events.d.ts +15 -0
- package/dist/admin/use-booking-action-ledger-events.d.ts.map +1 -0
- package/dist/admin/use-booking-action-ledger-events.js +66 -0
- package/dist/client.d.ts +14 -0
- package/dist/client.d.ts.map +1 -0
- package/dist/client.js +59 -0
- package/dist/components/booking-activity-timeline.d.ts +32 -0
- package/dist/components/booking-activity-timeline.d.ts.map +1 -0
- package/dist/components/booking-activity-timeline.js +147 -0
- package/dist/components/booking-billing-dialog.d.ts +16 -0
- package/dist/components/booking-billing-dialog.d.ts.map +1 -0
- package/dist/components/booking-billing-dialog.js +315 -0
- package/dist/components/booking-cancellation-dialog.d.ts +18 -0
- package/dist/components/booking-cancellation-dialog.d.ts.map +1 -0
- package/dist/components/booking-cancellation-dialog.js +79 -0
- package/dist/components/booking-combobox.d.ts +13 -0
- package/dist/components/booking-combobox.d.ts.map +1 -0
- package/dist/components/booking-combobox.js +44 -0
- package/dist/components/booking-create-form-utils.d.ts +56 -0
- package/dist/components/booking-create-form-utils.d.ts.map +1 -0
- package/dist/components/booking-create-form-utils.js +216 -0
- package/dist/components/booking-create-page.d.ts +14 -0
- package/dist/components/booking-create-page.d.ts.map +1 -0
- package/dist/components/booking-create-page.js +11 -0
- package/dist/components/booking-create-preview-card.d.ts +26 -0
- package/dist/components/booking-create-preview-card.d.ts.map +1 -0
- package/dist/components/booking-create-preview-card.js +107 -0
- package/dist/components/booking-create-product-extras-picker.d.ts +18 -0
- package/dist/components/booking-create-product-extras-picker.d.ts.map +1 -0
- package/dist/components/booking-create-product-extras-picker.js +82 -0
- package/dist/components/booking-create-sheet.d.ts +34 -0
- package/dist/components/booking-create-sheet.d.ts.map +1 -0
- package/dist/components/booking-create-sheet.js +811 -0
- package/dist/components/booking-create-utils.d.ts +66 -0
- package/dist/components/booking-create-utils.d.ts.map +1 -0
- package/dist/components/booking-create-utils.js +185 -0
- package/dist/components/booking-detail-page.d.ts +126 -0
- package/dist/components/booking-detail-page.d.ts.map +1 -0
- package/dist/components/booking-detail-page.js +264 -0
- package/dist/components/booking-dialog.d.ts +28 -0
- package/dist/components/booking-dialog.d.ts.map +1 -0
- package/dist/components/booking-dialog.js +130 -0
- package/dist/components/booking-document-dialog.d.ts +8 -0
- package/dist/components/booking-document-dialog.d.ts.map +1 -0
- package/dist/components/booking-document-dialog.js +83 -0
- package/dist/components/booking-document-list.d.ts +5 -0
- package/dist/components/booking-document-list.d.ts.map +1 -0
- package/dist/components/booking-document-list.js +43 -0
- package/dist/components/booking-group-link-dialog.d.ts +10 -0
- package/dist/components/booking-group-link-dialog.d.ts.map +1 -0
- package/dist/components/booking-group-link-dialog.js +79 -0
- package/dist/components/booking-group-section.d.ts +27 -0
- package/dist/components/booking-group-section.d.ts.map +1 -0
- package/dist/components/booking-group-section.js +51 -0
- package/dist/components/booking-guarantee-dialog.d.ts +10 -0
- package/dist/components/booking-guarantee-dialog.d.ts.map +1 -0
- package/dist/components/booking-guarantee-dialog.js +123 -0
- package/dist/components/booking-guarantee-list.d.ts +5 -0
- package/dist/components/booking-guarantee-list.d.ts.map +1 -0
- package/dist/components/booking-guarantee-list.js +86 -0
- package/dist/components/booking-item-dialog.d.ts +10 -0
- package/dist/components/booking-item-dialog.d.ts.map +1 -0
- package/dist/components/booking-item-dialog.js +155 -0
- package/dist/components/booking-item-list.d.ts +12 -0
- package/dist/components/booking-item-list.d.ts.map +1 -0
- package/dist/components/booking-item-list.js +191 -0
- package/dist/components/booking-item-travelers.d.ts +6 -0
- package/dist/components/booking-item-travelers.d.ts.map +1 -0
- package/dist/components/booking-item-travelers.js +57 -0
- package/dist/components/booking-list-filters.d.ts +43 -0
- package/dist/components/booking-list-filters.d.ts.map +1 -0
- package/dist/components/booking-list-filters.js +192 -0
- package/dist/components/booking-list.d.ts +50 -0
- package/dist/components/booking-list.d.ts.map +1 -0
- package/dist/components/booking-list.js +352 -0
- package/dist/components/booking-note-dialog.d.ts +16 -0
- package/dist/components/booking-note-dialog.d.ts.map +1 -0
- package/dist/components/booking-note-dialog.js +41 -0
- package/dist/components/booking-notes.d.ts +5 -0
- package/dist/components/booking-notes.d.ts.map +1 -0
- package/dist/components/booking-notes.js +45 -0
- package/dist/components/booking-payment-reconciliation-banner.d.ts +5 -0
- package/dist/components/booking-payment-reconciliation-banner.d.ts.map +1 -0
- package/dist/components/booking-payment-reconciliation-banner.js +91 -0
- package/dist/components/booking-payment-schedule-dialog.d.ts +10 -0
- package/dist/components/booking-payment-schedule-dialog.d.ts.map +1 -0
- package/dist/components/booking-payment-schedule-dialog.js +117 -0
- package/dist/components/booking-payment-schedule-list.d.ts +10 -0
- package/dist/components/booking-payment-schedule-list.d.ts.map +1 -0
- package/dist/components/booking-payment-schedule-list.js +217 -0
- package/dist/components/booking-payments-summary.d.ts +83 -0
- package/dist/components/booking-payments-summary.d.ts.map +1 -0
- package/dist/components/booking-payments-summary.js +176 -0
- package/dist/components/booking-quick-view-sheet.d.ts +14 -0
- package/dist/components/booking-quick-view-sheet.d.ts.map +1 -0
- package/dist/components/booking-quick-view-sheet.js +283 -0
- package/dist/components/bookings-page.d.ts +19 -0
- package/dist/components/bookings-page.d.ts.map +1 -0
- package/dist/components/bookings-page.js +9 -0
- package/dist/components/file-dropzone.d.ts +25 -0
- package/dist/components/file-dropzone.d.ts.map +1 -0
- package/dist/components/file-dropzone.js +102 -0
- package/dist/components/icon-action-button.d.ts +18 -0
- package/dist/components/icon-action-button.d.ts.map +1 -0
- package/dist/components/icon-action-button.js +13 -0
- package/dist/components/option-units-stepper-section.d.ts +111 -0
- package/dist/components/option-units-stepper-section.d.ts.map +1 -0
- package/dist/components/option-units-stepper-section.js +276 -0
- package/dist/components/payment-schedule-section.d.ts +91 -0
- package/dist/components/payment-schedule-section.d.ts.map +1 -0
- package/dist/components/payment-schedule-section.js +206 -0
- package/dist/components/person-picker-section.d.ts +71 -0
- package/dist/components/person-picker-section.d.ts.map +1 -0
- package/dist/components/person-picker-section.js +160 -0
- package/dist/components/price-breakdown-section.d.ts +83 -0
- package/dist/components/price-breakdown-section.d.ts.map +1 -0
- package/dist/components/price-breakdown-section.js +278 -0
- package/dist/components/product-picker-section.d.ts +29 -0
- package/dist/components/product-picker-section.d.ts.map +1 -0
- package/dist/components/product-picker-section.js +74 -0
- package/dist/components/shared-room-section.d.ts +40 -0
- package/dist/components/shared-room-section.d.ts.map +1 -0
- package/dist/components/shared-room-section.js +99 -0
- package/dist/components/status-badge.d.ts +24 -0
- package/dist/components/status-badge.d.ts.map +1 -0
- package/dist/components/status-badge.js +65 -0
- package/dist/components/status-change-dialog.d.ts +10 -0
- package/dist/components/status-change-dialog.d.ts.map +1 -0
- package/dist/components/status-change-dialog.js +57 -0
- package/dist/components/supplier-status-dialog.d.ts +10 -0
- package/dist/components/supplier-status-dialog.d.ts.map +1 -0
- package/dist/components/supplier-status-dialog.js +98 -0
- package/dist/components/supplier-status-list.d.ts +5 -0
- package/dist/components/supplier-status-list.d.ts.map +1 -0
- package/dist/components/supplier-status-list.js +115 -0
- package/dist/components/traveler-category-buttons.d.ts +26 -0
- package/dist/components/traveler-category-buttons.d.ts.map +1 -0
- package/dist/components/traveler-category-buttons.js +35 -0
- package/dist/components/traveler-dialog.d.ts +10 -0
- package/dist/components/traveler-dialog.d.ts.map +1 -0
- package/dist/components/traveler-dialog.js +256 -0
- package/dist/components/traveler-list.d.ts +6 -0
- package/dist/components/traveler-list.d.ts.map +1 -0
- package/dist/components/traveler-list.js +295 -0
- package/dist/components/travelers-section-controls.d.ts +52 -0
- package/dist/components/travelers-section-controls.d.ts.map +1 -0
- package/dist/components/travelers-section-controls.js +206 -0
- package/dist/components/travelers-section.d.ts +159 -0
- package/dist/components/travelers-section.d.ts.map +1 -0
- package/dist/components/travelers-section.js +355 -0
- package/dist/components/voucher-picker-section.d.ts +50 -0
- package/dist/components/voucher-picker-section.d.ts.map +1 -0
- package/dist/components/voucher-picker-section.js +79 -0
- package/dist/extras/client.d.ts +14 -0
- package/dist/extras/client.d.ts.map +1 -0
- package/dist/extras/client.js +58 -0
- package/dist/extras/components/extra-catalog-card.d.ts +13 -0
- package/dist/extras/components/extra-catalog-card.d.ts.map +1 -0
- package/dist/extras/components/extra-catalog-card.js +52 -0
- package/dist/extras/components/product-combobox.d.ts +9 -0
- package/dist/extras/components/product-combobox.d.ts.map +1 -0
- package/dist/extras/components/product-combobox.js +46 -0
- package/dist/extras/components/slot-extras-manifest-panel.d.ts +6 -0
- package/dist/extras/components/slot-extras-manifest-panel.d.ts.map +1 -0
- package/dist/extras/components/slot-extras-manifest-panel.js +108 -0
- package/dist/extras/hooks/index.d.ts +5 -0
- package/dist/extras/hooks/index.d.ts.map +1 -0
- package/dist/extras/hooks/index.js +4 -0
- package/dist/extras/hooks/use-product-extra.d.ts +24 -0
- package/dist/extras/hooks/use-product-extra.d.ts.map +1 -0
- package/dist/extras/hooks/use-product-extra.js +12 -0
- package/dist/extras/hooks/use-product-extras.d.ts +30 -0
- package/dist/extras/hooks/use-product-extras.d.ts.map +1 -0
- package/dist/extras/hooks/use-product-extras.js +12 -0
- package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts +48 -0
- package/dist/extras/hooks/use-slot-extra-manifest-mutation.d.ts.map +1 -0
- package/dist/extras/hooks/use-slot-extra-manifest-mutation.js +26 -0
- package/dist/extras/hooks/use-slot-extra-manifest.d.ts +68 -0
- package/dist/extras/hooks/use-slot-extra-manifest.d.ts.map +1 -0
- package/dist/extras/hooks/use-slot-extra-manifest.js +11 -0
- package/dist/extras/i18n/en.d.ts +52 -0
- package/dist/extras/i18n/en.d.ts.map +1 -0
- package/dist/extras/i18n/en.js +51 -0
- package/dist/extras/i18n/index.d.ts +5 -0
- package/dist/extras/i18n/index.d.ts.map +1 -0
- package/dist/extras/i18n/index.js +3 -0
- package/dist/extras/i18n/messages.d.ts +37 -0
- package/dist/extras/i18n/messages.d.ts.map +1 -0
- package/dist/extras/i18n/messages.js +1 -0
- package/dist/extras/i18n/provider.d.ts +126 -0
- package/dist/extras/i18n/provider.d.ts.map +1 -0
- package/dist/extras/i18n/provider.js +44 -0
- package/dist/extras/i18n/ro.d.ts +52 -0
- package/dist/extras/i18n/ro.d.ts.map +1 -0
- package/dist/extras/i18n/ro.js +51 -0
- package/dist/extras/index.d.ts +7 -0
- package/dist/extras/index.d.ts.map +1 -0
- package/dist/extras/index.js +6 -0
- package/dist/extras/provider.d.ts +2 -0
- package/dist/extras/provider.d.ts.map +1 -0
- package/dist/extras/provider.js +1 -0
- package/dist/extras/query-keys.d.ts +16 -0
- package/dist/extras/query-keys.d.ts.map +1 -0
- package/dist/extras/query-keys.js +8 -0
- package/dist/extras/query-options.d.ts +455 -0
- package/dist/extras/query-options.d.ts.map +1 -0
- package/dist/extras/query-options.js +44 -0
- package/dist/extras/schemas.d.ts +416 -0
- package/dist/extras/schemas.d.ts.map +1 -0
- package/dist/extras/schemas.js +89 -0
- package/dist/extras/ui.d.ts +4 -0
- package/dist/extras/ui.d.ts.map +1 -0
- package/dist/extras/ui.js +3 -0
- package/dist/extras.d.ts +10 -0
- package/dist/extras.d.ts.map +1 -0
- package/dist/extras.js +9 -0
- package/dist/hooks/index.d.ts +36 -0
- package/dist/hooks/index.d.ts.map +1 -0
- package/dist/hooks/index.js +35 -0
- package/dist/hooks/use-booking-action-ledger.d.ts +63 -0
- package/dist/hooks/use-booking-action-ledger.d.ts.map +1 -0
- package/dist/hooks/use-booking-action-ledger.js +34 -0
- package/dist/hooks/use-booking-activity.d.ts +17 -0
- package/dist/hooks/use-booking-activity.d.ts.map +1 -0
- package/dist/hooks/use-booking-activity.js +12 -0
- package/dist/hooks/use-booking-cancel-mutation.d.ts +69 -0
- package/dist/hooks/use-booking-cancel-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-cancel-mutation.js +24 -0
- package/dist/hooks/use-booking-contract-generation.d.ts +31 -0
- package/dist/hooks/use-booking-contract-generation.d.ts.map +1 -0
- package/dist/hooks/use-booking-contract-generation.js +36 -0
- package/dist/hooks/use-booking-convert-mutation.d.ts +81 -0
- package/dist/hooks/use-booking-convert-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-convert-mutation.js +24 -0
- package/dist/hooks/use-booking-create-mutation.d.ts +337 -0
- package/dist/hooks/use-booking-create-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-create-mutation.js +43 -0
- package/dist/hooks/use-booking-documents.d.ts +41 -0
- package/dist/hooks/use-booking-documents.d.ts.map +1 -0
- package/dist/hooks/use-booking-documents.js +46 -0
- package/dist/hooks/use-booking-dual-create-mutation.d.ts +338 -0
- package/dist/hooks/use-booking-dual-create-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-dual-create-mutation.js +45 -0
- package/dist/hooks/use-booking-group-for-booking.d.ts +24 -0
- package/dist/hooks/use-booking-group-for-booking.d.ts.map +1 -0
- package/dist/hooks/use-booking-group-for-booking.js +12 -0
- package/dist/hooks/use-booking-group-member-mutation.d.ts +27 -0
- package/dist/hooks/use-booking-group-member-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-group-member-mutation.js +38 -0
- package/dist/hooks/use-booking-group-mutation.d.ts +40 -0
- package/dist/hooks/use-booking-group-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-group-mutation.js +32 -0
- package/dist/hooks/use-booking-group.d.ts +85 -0
- package/dist/hooks/use-booking-group.d.ts.map +1 -0
- package/dist/hooks/use-booking-group.js +12 -0
- package/dist/hooks/use-booking-groups.d.ts +21 -0
- package/dist/hooks/use-booking-groups.d.ts.map +1 -0
- package/dist/hooks/use-booking-groups.js +12 -0
- package/dist/hooks/use-booking-item-mutation.d.ts +101 -0
- package/dist/hooks/use-booking-item-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-item-mutation.js +42 -0
- package/dist/hooks/use-booking-item-travelers.d.ts +32 -0
- package/dist/hooks/use-booking-item-travelers.d.ts.map +1 -0
- package/dist/hooks/use-booking-item-travelers.js +48 -0
- package/dist/hooks/use-booking-items.d.ts +36 -0
- package/dist/hooks/use-booking-items.d.ts.map +1 -0
- package/dist/hooks/use-booking-items.js +12 -0
- package/dist/hooks/use-booking-mutation.d.ts +158 -0
- package/dist/hooks/use-booking-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-mutation.js +39 -0
- package/dist/hooks/use-booking-note-mutation.d.ts +39 -0
- package/dist/hooks/use-booking-note-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-note-mutation.js +44 -0
- package/dist/hooks/use-booking-notes.d.ts +15 -0
- package/dist/hooks/use-booking-notes.d.ts.map +1 -0
- package/dist/hooks/use-booking-notes.js +12 -0
- package/dist/hooks/use-booking-primary-product.d.ts +28 -0
- package/dist/hooks/use-booking-primary-product.d.ts.map +1 -0
- package/dist/hooks/use-booking-primary-product.js +20 -0
- package/dist/hooks/use-booking-status-mutation.d.ts +156 -0
- package/dist/hooks/use-booking-status-mutation.d.ts.map +1 -0
- package/dist/hooks/use-booking-status-mutation.js +54 -0
- package/dist/hooks/use-booking-tax-preview.d.ts +29 -0
- package/dist/hooks/use-booking-tax-preview.d.ts.map +1 -0
- package/dist/hooks/use-booking-tax-preview.js +21 -0
- package/dist/hooks/use-booking.d.ts +67 -0
- package/dist/hooks/use-booking.d.ts.map +1 -0
- package/dist/hooks/use-booking.js +12 -0
- package/dist/hooks/use-bookings.d.ts +71 -0
- package/dist/hooks/use-bookings.d.ts.map +1 -0
- package/dist/hooks/use-bookings.js +12 -0
- package/dist/hooks/use-pricing-preview.d.ts +61 -0
- package/dist/hooks/use-pricing-preview.d.ts.map +1 -0
- package/dist/hooks/use-pricing-preview.js +18 -0
- package/dist/hooks/use-public-booking-session-flow-mutation.d.ts +148 -0
- package/dist/hooks/use-public-booking-session-flow-mutation.d.ts.map +1 -0
- package/dist/hooks/use-public-booking-session-flow-mutation.js +35 -0
- package/dist/hooks/use-public-booking-session-state.d.ts +16 -0
- package/dist/hooks/use-public-booking-session-state.d.ts.map +1 -0
- package/dist/hooks/use-public-booking-session-state.js +12 -0
- package/dist/hooks/use-public-booking-session.d.ts +101 -0
- package/dist/hooks/use-public-booking-session.d.ts.map +1 -0
- package/dist/hooks/use-public-booking-session.js +12 -0
- package/dist/hooks/use-reveal-traveler.d.ts +54 -0
- package/dist/hooks/use-reveal-traveler.d.ts.map +1 -0
- package/dist/hooks/use-reveal-traveler.js +18 -0
- package/dist/hooks/use-sharing-groups.d.ts +41 -0
- package/dist/hooks/use-sharing-groups.d.ts.map +1 -0
- package/dist/hooks/use-sharing-groups.js +20 -0
- package/dist/hooks/use-supplier-status-mutation.d.ts +46 -0
- package/dist/hooks/use-supplier-status-mutation.d.ts.map +1 -0
- package/dist/hooks/use-supplier-status-mutation.js +39 -0
- package/dist/hooks/use-supplier-statuses.d.ts +20 -0
- package/dist/hooks/use-supplier-statuses.d.ts.map +1 -0
- package/dist/hooks/use-supplier-statuses.js +12 -0
- package/dist/hooks/use-traveler-mutation.d.ts +55 -0
- package/dist/hooks/use-traveler-mutation.d.ts.map +1 -0
- package/dist/hooks/use-traveler-mutation.js +42 -0
- package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts +120 -0
- package/dist/hooks/use-traveler-with-travel-details-mutation.d.ts.map +1 -0
- package/dist/hooks/use-traveler-with-travel-details-mutation.js +43 -0
- package/dist/hooks/use-travelers.d.ts +23 -0
- package/dist/hooks/use-travelers.d.ts.map +1 -0
- package/dist/hooks/use-travelers.js +12 -0
- package/dist/i18n/en-base.d.ts +295 -0
- package/dist/i18n/en-base.d.ts.map +1 -0
- package/dist/i18n/en-base.js +294 -0
- package/dist/i18n/en-create-list.d.ts +327 -0
- package/dist/i18n/en-create-list.d.ts.map +1 -0
- package/dist/i18n/en-create-list.js +326 -0
- package/dist/i18n/en-journey.d.ts +229 -0
- package/dist/i18n/en-journey.d.ts.map +1 -0
- package/dist/i18n/en-journey.js +228 -0
- package/dist/i18n/en-operations.d.ts +382 -0
- package/dist/i18n/en-operations.d.ts.map +1 -0
- package/dist/i18n/en-operations.js +381 -0
- package/dist/i18n/en-sections.d.ts +360 -0
- package/dist/i18n/en-sections.d.ts.map +1 -0
- package/dist/i18n/en-sections.js +359 -0
- package/dist/i18n/en.d.ts +1581 -0
- package/dist/i18n/en.d.ts.map +1 -0
- package/dist/i18n/en.js +12 -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-base.d.ts +251 -0
- package/dist/i18n/messages-base.d.ts.map +1 -0
- package/dist/i18n/messages-base.js +1 -0
- package/dist/i18n/messages-create-list.d.ts +310 -0
- package/dist/i18n/messages-create-list.d.ts.map +1 -0
- package/dist/i18n/messages-create-list.js +1 -0
- package/dist/i18n/messages-journey.d.ts +198 -0
- package/dist/i18n/messages-journey.d.ts.map +1 -0
- package/dist/i18n/messages-journey.js +1 -0
- package/dist/i18n/messages-operations.d.ts +362 -0
- package/dist/i18n/messages-operations.d.ts.map +1 -0
- package/dist/i18n/messages-operations.js +1 -0
- package/dist/i18n/messages-sections.d.ts +312 -0
- package/dist/i18n/messages-sections.d.ts.map +1 -0
- package/dist/i18n/messages-sections.js +1 -0
- package/dist/i18n/messages.d.ts +7 -0
- package/dist/i18n/messages.d.ts.map +1 -0
- package/dist/i18n/messages.js +1 -0
- package/dist/i18n/provider.d.ts +3185 -0
- package/dist/i18n/provider.d.ts.map +1 -0
- package/dist/i18n/provider.js +45 -0
- package/dist/i18n/ro-base.d.ts +295 -0
- package/dist/i18n/ro-base.d.ts.map +1 -0
- package/dist/i18n/ro-base.js +294 -0
- package/dist/i18n/ro-create-list.d.ts +327 -0
- package/dist/i18n/ro-create-list.d.ts.map +1 -0
- package/dist/i18n/ro-create-list.js +326 -0
- package/dist/i18n/ro-journey.d.ts +229 -0
- package/dist/i18n/ro-journey.d.ts.map +1 -0
- package/dist/i18n/ro-journey.js +228 -0
- package/dist/i18n/ro-operations.d.ts +382 -0
- package/dist/i18n/ro-operations.d.ts.map +1 -0
- package/dist/i18n/ro-operations.js +381 -0
- package/dist/i18n/ro-sections.d.ts +360 -0
- package/dist/i18n/ro-sections.d.ts.map +1 -0
- package/dist/i18n/ro-sections.js +359 -0
- package/dist/i18n/ro.d.ts +1581 -0
- package/dist/i18n/ro.d.ts.map +1 -0
- package/dist/i18n/ro.js +12 -0
- package/dist/index.d.ts +9 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/journey/components/booking-journey-rules.d.ts +48 -0
- package/dist/journey/components/booking-journey-rules.d.ts.map +1 -0
- package/dist/journey/components/booking-journey-rules.js +235 -0
- package/dist/journey/components/booking-journey.d.ts +3 -0
- package/dist/journey/components/booking-journey.d.ts.map +1 -0
- package/dist/journey/components/booking-journey.js +368 -0
- package/dist/journey/components/configure-step-skeleton.d.ts +8 -0
- package/dist/journey/components/configure-step-skeleton.d.ts.map +1 -0
- package/dist/journey/components/configure-step-skeleton.js +11 -0
- package/dist/journey/components/contract-preview-dialog.d.ts +47 -0
- package/dist/journey/components/contract-preview-dialog.d.ts.map +1 -0
- package/dist/journey/components/contract-preview-dialog.js +124 -0
- package/dist/journey/components/journey-steps/accommodation-step.d.ts +3 -0
- package/dist/journey/components/journey-steps/accommodation-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/accommodation-step.js +71 -0
- package/dist/journey/components/journey-steps/addons-step.d.ts +3 -0
- package/dist/journey/components/journey-steps/addons-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/addons-step.js +40 -0
- package/dist/journey/components/journey-steps/billing-step.d.ts +8 -0
- package/dist/journey/components/journey-steps/billing-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/billing-step.js +78 -0
- package/dist/journey/components/journey-steps/configure-steps.d.ts +28 -0
- package/dist/journey/components/journey-steps/configure-steps.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/configure-steps.js +232 -0
- package/dist/journey/components/journey-steps/documents-step.d.ts +11 -0
- package/dist/journey/components/journey-steps/documents-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/documents-step.js +36 -0
- package/dist/journey/components/journey-steps/payment-step.d.ts +29 -0
- package/dist/journey/components/journey-steps/payment-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/payment-step.js +225 -0
- package/dist/journey/components/journey-steps/review-step.d.ts +27 -0
- package/dist/journey/components/journey-steps/review-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/review-step.js +18 -0
- package/dist/journey/components/journey-steps/shared.d.ts +75 -0
- package/dist/journey/components/journey-steps/shared.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/shared.js +108 -0
- package/dist/journey/components/journey-steps/travelers-step.d.ts +7 -0
- package/dist/journey/components/journey-steps/travelers-step.d.ts.map +1 -0
- package/dist/journey/components/journey-steps/travelers-step.js +201 -0
- package/dist/journey/components/journey-steps.d.ts +21 -0
- package/dist/journey/components/journey-steps.d.ts.map +1 -0
- package/dist/journey/components/journey-steps.js +20 -0
- package/dist/journey/components/side-panel.d.ts +17 -0
- package/dist/journey/components/side-panel.d.ts.map +1 -0
- package/dist/journey/components/side-panel.js +245 -0
- package/dist/journey/components/stacked-journey.d.ts +30 -0
- package/dist/journey/components/stacked-journey.d.ts.map +1 -0
- package/dist/journey/components/stacked-journey.js +50 -0
- package/dist/journey/components/step-header.d.ts +7 -0
- package/dist/journey/components/step-header.d.ts.map +1 -0
- package/dist/journey/components/step-header.js +12 -0
- package/dist/journey/index.d.ts +18 -0
- package/dist/journey/index.d.ts.map +1 -0
- package/dist/journey/index.js +17 -0
- package/dist/journey/lib/draft-state.d.ts +35 -0
- package/dist/journey/lib/draft-state.d.ts.map +1 -0
- package/dist/journey/lib/draft-state.js +57 -0
- package/dist/journey/lib/pax-band-dependencies.d.ts +27 -0
- package/dist/journey/lib/pax-band-dependencies.d.ts.map +1 -0
- package/dist/journey/lib/pax-band-dependencies.js +50 -0
- package/dist/journey/lib/payment-schedule.d.ts +19 -0
- package/dist/journey/lib/payment-schedule.d.ts.map +1 -0
- package/dist/journey/lib/payment-schedule.js +90 -0
- package/dist/journey/types.d.ts +403 -0
- package/dist/journey/types.d.ts.map +1 -0
- package/dist/journey/types.js +19 -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 +74 -0
- package/dist/query-keys.d.ts.map +1 -0
- package/dist/query-keys.js +26 -0
- package/dist/query-options.d.ts +2534 -0
- package/dist/query-options.d.ts.map +1 -0
- package/dist/query-options.js +233 -0
- package/dist/requirements/client.d.ts +14 -0
- package/dist/requirements/client.d.ts.map +1 -0
- package/dist/requirements/client.js +59 -0
- package/dist/requirements/components/booking-requirements-contact-tab.d.ts +8 -0
- package/dist/requirements/components/booking-requirements-contact-tab.d.ts.map +1 -0
- package/dist/requirements/components/booking-requirements-contact-tab.js +8 -0
- package/dist/requirements/components/booking-requirements-questions-tab.d.ts +14 -0
- package/dist/requirements/components/booking-requirements-questions-tab.d.ts.map +1 -0
- package/dist/requirements/components/booking-requirements-questions-tab.js +17 -0
- package/dist/requirements/constants.d.ts +114 -0
- package/dist/requirements/constants.d.ts.map +1 -0
- package/dist/requirements/constants.js +45 -0
- package/dist/requirements/hooks/index.d.ts +6 -0
- package/dist/requirements/hooks/index.d.ts.map +1 -0
- package/dist/requirements/hooks/index.js +6 -0
- package/dist/requirements/hooks/use-booking-questions.d.ts +24 -0
- package/dist/requirements/hooks/use-booking-questions.d.ts.map +1 -0
- package/dist/requirements/hooks/use-booking-questions.js +9 -0
- package/dist/requirements/hooks/use-contact-requirements.d.ts +22 -0
- package/dist/requirements/hooks/use-contact-requirements.d.ts.map +1 -0
- package/dist/requirements/hooks/use-contact-requirements.js +9 -0
- package/dist/requirements/hooks/use-products.d.ts +16 -0
- package/dist/requirements/hooks/use-products.d.ts.map +1 -0
- package/dist/requirements/hooks/use-products.js +9 -0
- package/dist/requirements/hooks/use-question-options.d.ts +19 -0
- package/dist/requirements/hooks/use-question-options.d.ts.map +1 -0
- package/dist/requirements/hooks/use-question-options.js +9 -0
- package/dist/requirements/hooks/use-transport-requirements.d.ts +30 -0
- package/dist/requirements/hooks/use-transport-requirements.d.ts.map +1 -0
- package/dist/requirements/hooks/use-transport-requirements.js +9 -0
- package/dist/requirements/i18n/en.d.ts +94 -0
- package/dist/requirements/i18n/en.d.ts.map +1 -0
- package/dist/requirements/i18n/en.js +93 -0
- package/dist/requirements/i18n/index.d.ts +5 -0
- package/dist/requirements/i18n/index.d.ts.map +1 -0
- package/dist/requirements/i18n/index.js +3 -0
- package/dist/requirements/i18n/messages.d.ts +59 -0
- package/dist/requirements/i18n/messages.d.ts.map +1 -0
- package/dist/requirements/i18n/messages.js +1 -0
- package/dist/requirements/i18n/provider.d.ts +210 -0
- package/dist/requirements/i18n/provider.d.ts.map +1 -0
- package/dist/requirements/i18n/provider.js +44 -0
- package/dist/requirements/i18n/ro.d.ts +94 -0
- package/dist/requirements/i18n/ro.d.ts.map +1 -0
- package/dist/requirements/i18n/ro.js +93 -0
- package/dist/requirements/index.d.ts +9 -0
- package/dist/requirements/index.d.ts.map +1 -0
- package/dist/requirements/index.js +8 -0
- package/dist/requirements/provider.d.ts +2 -0
- package/dist/requirements/provider.d.ts.map +1 -0
- package/dist/requirements/provider.js +1 -0
- package/dist/requirements/query-keys.d.ts +33 -0
- package/dist/requirements/query-keys.d.ts.map +1 -0
- package/dist/requirements/query-keys.js +13 -0
- package/dist/requirements/query-options.d.ts +371 -0
- package/dist/requirements/query-options.d.ts.map +1 -0
- package/dist/requirements/query-options.js +80 -0
- package/dist/requirements/schemas.d.ts +320 -0
- package/dist/requirements/schemas.d.ts.map +1 -0
- package/dist/requirements/schemas.js +121 -0
- package/dist/requirements/ui.d.ts +4 -0
- package/dist/requirements/ui.d.ts.map +1 -0
- package/dist/requirements/ui.js +3 -0
- package/dist/requirements/utils.d.ts +2 -0
- package/dist/requirements/utils.d.ts.map +1 -0
- package/dist/requirements/utils.js +4 -0
- package/dist/schemas.d.ts +2070 -0
- package/dist/schemas.d.ts.map +1 -0
- package/dist/schemas.js +507 -0
- package/dist/status-presentation.d.ts +34 -0
- package/dist/status-presentation.d.ts.map +1 -0
- package/dist/status-presentation.js +38 -0
- package/dist/ui.d.ts +43 -0
- package/dist/ui.d.ts.map +1 -0
- package/dist/ui.js +42 -0
- package/package.json +256 -0
- package/src/requirements/styles.css +1 -0
- package/src/styles.css +13 -0
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
export interface CreateTravelerInput {
|
|
2
|
+
firstName: string;
|
|
3
|
+
lastName: string;
|
|
4
|
+
email?: string | null;
|
|
5
|
+
phone?: string | null;
|
|
6
|
+
preferredLanguage?: string | null;
|
|
7
|
+
specialRequests?: string | null;
|
|
8
|
+
travelerCategory?: string | null;
|
|
9
|
+
isPrimary?: boolean | null;
|
|
10
|
+
notes?: string | null;
|
|
11
|
+
}
|
|
12
|
+
export type UpdateTravelerInput = Partial<CreateTravelerInput>;
|
|
13
|
+
export declare function useTravelerMutation(bookingId: string): {
|
|
14
|
+
create: import("@tanstack/react-query").UseMutationResult<{
|
|
15
|
+
id: string;
|
|
16
|
+
bookingId: string;
|
|
17
|
+
participantType: string;
|
|
18
|
+
firstName: string;
|
|
19
|
+
lastName: string;
|
|
20
|
+
email: string | null;
|
|
21
|
+
phone: string | null;
|
|
22
|
+
specialRequests: string | null;
|
|
23
|
+
isPrimary: boolean;
|
|
24
|
+
createdAt: string;
|
|
25
|
+
travelerCategory?: string | null | undefined;
|
|
26
|
+
personId?: string | null | undefined;
|
|
27
|
+
preferredLanguage?: string | null | undefined;
|
|
28
|
+
notes?: string | null | undefined;
|
|
29
|
+
updatedAt?: string | undefined;
|
|
30
|
+
}, Error, CreateTravelerInput, unknown>;
|
|
31
|
+
update: import("@tanstack/react-query").UseMutationResult<{
|
|
32
|
+
id: string;
|
|
33
|
+
bookingId: string;
|
|
34
|
+
participantType: string;
|
|
35
|
+
firstName: string;
|
|
36
|
+
lastName: string;
|
|
37
|
+
email: string | null;
|
|
38
|
+
phone: string | null;
|
|
39
|
+
specialRequests: string | null;
|
|
40
|
+
isPrimary: boolean;
|
|
41
|
+
createdAt: string;
|
|
42
|
+
travelerCategory?: string | null | undefined;
|
|
43
|
+
personId?: string | null | undefined;
|
|
44
|
+
preferredLanguage?: string | null | undefined;
|
|
45
|
+
notes?: string | null | undefined;
|
|
46
|
+
updatedAt?: string | undefined;
|
|
47
|
+
}, Error, {
|
|
48
|
+
id: string;
|
|
49
|
+
input: UpdateTravelerInput;
|
|
50
|
+
}, unknown>;
|
|
51
|
+
remove: import("@tanstack/react-query").UseMutationResult<{
|
|
52
|
+
success: boolean;
|
|
53
|
+
}, Error, string, unknown>;
|
|
54
|
+
};
|
|
55
|
+
//# sourceMappingURL=use-traveler-mutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-traveler-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-traveler-mutation.ts"],"names":[],"mappings":"AASA,MAAM,WAAW,mBAAmB;IAClC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,SAAS,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;IAC1B,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CACtB;AAED,MAAM,MAAM,mBAAmB,GAAG,OAAO,CAAC,mBAAmB,CAAC,CAAA;AAE9D,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;YAuBT,MAAM;eAAS,mBAAmB;;;;;EAgC7E"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useMutation, useQueryClient } from "@tanstack/react-query";
|
|
3
|
+
import { fetchWithValidation } from "../client.js";
|
|
4
|
+
import { useVoyantBookingsContext } from "../provider.js";
|
|
5
|
+
import { bookingsQueryKeys } from "../query-keys.js";
|
|
6
|
+
import { bookingSingleResponse, bookingTravelersResponse, successEnvelope } from "../schemas.js";
|
|
7
|
+
export function useTravelerMutation(bookingId) {
|
|
8
|
+
const { baseUrl, fetcher } = useVoyantBookingsContext();
|
|
9
|
+
const queryClient = useQueryClient();
|
|
10
|
+
const create = useMutation({
|
|
11
|
+
mutationFn: async (input) => {
|
|
12
|
+
const { data } = await fetchWithValidation(`/v1/bookings/${bookingId}/travelers`, bookingSingleResponse.extend({
|
|
13
|
+
data: bookingTravelersResponse.shape.data.element,
|
|
14
|
+
}), { baseUrl, fetcher }, { method: "POST", body: JSON.stringify(input) });
|
|
15
|
+
return data;
|
|
16
|
+
},
|
|
17
|
+
onSuccess: () => {
|
|
18
|
+
void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.travelers(bookingId) });
|
|
19
|
+
void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.activity(bookingId) });
|
|
20
|
+
},
|
|
21
|
+
});
|
|
22
|
+
const update = useMutation({
|
|
23
|
+
mutationFn: async ({ id, input }) => {
|
|
24
|
+
const { data } = await fetchWithValidation(`/v1/bookings/${bookingId}/travelers/${id}`, bookingSingleResponse.extend({
|
|
25
|
+
data: bookingTravelersResponse.shape.data.element,
|
|
26
|
+
}), { baseUrl, fetcher }, { method: "PATCH", body: JSON.stringify(input) });
|
|
27
|
+
return data;
|
|
28
|
+
},
|
|
29
|
+
onSuccess: () => {
|
|
30
|
+
void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.travelers(bookingId) });
|
|
31
|
+
void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.activity(bookingId) });
|
|
32
|
+
},
|
|
33
|
+
});
|
|
34
|
+
const remove = useMutation({
|
|
35
|
+
mutationFn: async (travelerId) => fetchWithValidation(`/v1/bookings/${bookingId}/travelers/${travelerId}`, successEnvelope, { baseUrl, fetcher }, { method: "DELETE" }),
|
|
36
|
+
onSuccess: () => {
|
|
37
|
+
void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.travelers(bookingId) });
|
|
38
|
+
void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.activity(bookingId) });
|
|
39
|
+
},
|
|
40
|
+
});
|
|
41
|
+
return { create, update, remove };
|
|
42
|
+
}
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
export interface CreateTravelerWithTravelDetailsInput {
|
|
2
|
+
personId?: string | null;
|
|
3
|
+
participantType?: string;
|
|
4
|
+
travelerCategory?: string | null;
|
|
5
|
+
firstName: string;
|
|
6
|
+
lastName: string;
|
|
7
|
+
email?: string | null;
|
|
8
|
+
phone?: string | null;
|
|
9
|
+
preferredLanguage?: string | null;
|
|
10
|
+
specialRequests?: string | null;
|
|
11
|
+
isPrimary?: boolean;
|
|
12
|
+
notes?: string | null;
|
|
13
|
+
nationality?: string | null;
|
|
14
|
+
documentType?: "passport" | "id_card" | "driver_license" | "visa" | "other" | null;
|
|
15
|
+
documentNumber?: string | null;
|
|
16
|
+
documentExpiry?: string | null;
|
|
17
|
+
documentIssuingCountry?: string | null;
|
|
18
|
+
documentIssuingAuthority?: string | null;
|
|
19
|
+
documentPersonDocumentId?: string | null;
|
|
20
|
+
dateOfBirth?: string | null;
|
|
21
|
+
dietaryRequirements?: string | null;
|
|
22
|
+
accessibilityNeeds?: string | null;
|
|
23
|
+
isLeadTraveler?: boolean | null;
|
|
24
|
+
sharingGroupId?: string | null;
|
|
25
|
+
roomTypeId?: string | null;
|
|
26
|
+
bedPreference?: "single" | "twin" | "double" | "no-preference" | null;
|
|
27
|
+
allocations?: Record<string, string>;
|
|
28
|
+
}
|
|
29
|
+
export type UpdateTravelerWithTravelDetailsInput = Partial<CreateTravelerWithTravelDetailsInput>;
|
|
30
|
+
/**
|
|
31
|
+
* Combined create/update for a booking traveler + their encrypted
|
|
32
|
+
* travel-details snapshot. When `personId` is provided on create
|
|
33
|
+
* AND the operator starter has wired `resolveTravelSnapshot`, the
|
|
34
|
+
* route auto-snapshots dietary / accessibility / primary passport
|
|
35
|
+
* from `crm.people`. Explicit input always wins.
|
|
36
|
+
*/
|
|
37
|
+
export declare function useTravelerWithTravelDetailsMutation(bookingId: string): {
|
|
38
|
+
create: import("@tanstack/react-query").UseMutationResult<{
|
|
39
|
+
traveler: {
|
|
40
|
+
id: string;
|
|
41
|
+
bookingId: string;
|
|
42
|
+
participantType: string;
|
|
43
|
+
firstName: string;
|
|
44
|
+
lastName: string;
|
|
45
|
+
email: string | null;
|
|
46
|
+
phone: string | null;
|
|
47
|
+
specialRequests: string | null;
|
|
48
|
+
isPrimary: boolean;
|
|
49
|
+
createdAt: string;
|
|
50
|
+
travelerCategory?: string | null | undefined;
|
|
51
|
+
personId?: string | null | undefined;
|
|
52
|
+
preferredLanguage?: string | null | undefined;
|
|
53
|
+
notes?: string | null | undefined;
|
|
54
|
+
updatedAt?: string | undefined;
|
|
55
|
+
};
|
|
56
|
+
travelDetails: {
|
|
57
|
+
travelerId: string;
|
|
58
|
+
nationality: string | null;
|
|
59
|
+
documentType: "other" | "passport" | "visa" | "id_card" | "driver_license" | null;
|
|
60
|
+
documentNumber: string | null;
|
|
61
|
+
documentExpiry: string | null;
|
|
62
|
+
documentIssuingCountry: string | null;
|
|
63
|
+
documentIssuingAuthority: string | null;
|
|
64
|
+
documentPersonDocumentId: string | null;
|
|
65
|
+
dateOfBirth: string | null;
|
|
66
|
+
dietaryRequirements: string | null;
|
|
67
|
+
accessibilityNeeds: string | null;
|
|
68
|
+
isLeadTraveler: boolean;
|
|
69
|
+
sharingGroupId: string | null;
|
|
70
|
+
roomTypeId: string | null;
|
|
71
|
+
bedPreference: "double" | "single" | "twin" | "no-preference" | null;
|
|
72
|
+
allocations: Record<string, string>;
|
|
73
|
+
createdAt: string;
|
|
74
|
+
updatedAt: string;
|
|
75
|
+
} | null;
|
|
76
|
+
}, Error, CreateTravelerWithTravelDetailsInput, unknown>;
|
|
77
|
+
update: import("@tanstack/react-query").UseMutationResult<{
|
|
78
|
+
traveler: {
|
|
79
|
+
id: string;
|
|
80
|
+
bookingId: string;
|
|
81
|
+
participantType: string;
|
|
82
|
+
firstName: string;
|
|
83
|
+
lastName: string;
|
|
84
|
+
email: string | null;
|
|
85
|
+
phone: string | null;
|
|
86
|
+
specialRequests: string | null;
|
|
87
|
+
isPrimary: boolean;
|
|
88
|
+
createdAt: string;
|
|
89
|
+
travelerCategory?: string | null | undefined;
|
|
90
|
+
personId?: string | null | undefined;
|
|
91
|
+
preferredLanguage?: string | null | undefined;
|
|
92
|
+
notes?: string | null | undefined;
|
|
93
|
+
updatedAt?: string | undefined;
|
|
94
|
+
};
|
|
95
|
+
travelDetails: {
|
|
96
|
+
travelerId: string;
|
|
97
|
+
nationality: string | null;
|
|
98
|
+
documentType: "other" | "passport" | "visa" | "id_card" | "driver_license" | null;
|
|
99
|
+
documentNumber: string | null;
|
|
100
|
+
documentExpiry: string | null;
|
|
101
|
+
documentIssuingCountry: string | null;
|
|
102
|
+
documentIssuingAuthority: string | null;
|
|
103
|
+
documentPersonDocumentId: string | null;
|
|
104
|
+
dateOfBirth: string | null;
|
|
105
|
+
dietaryRequirements: string | null;
|
|
106
|
+
accessibilityNeeds: string | null;
|
|
107
|
+
isLeadTraveler: boolean;
|
|
108
|
+
sharingGroupId: string | null;
|
|
109
|
+
roomTypeId: string | null;
|
|
110
|
+
bedPreference: "double" | "single" | "twin" | "no-preference" | null;
|
|
111
|
+
allocations: Record<string, string>;
|
|
112
|
+
createdAt: string;
|
|
113
|
+
updatedAt: string;
|
|
114
|
+
} | null;
|
|
115
|
+
}, Error, {
|
|
116
|
+
travelerId: string;
|
|
117
|
+
input: UpdateTravelerWithTravelDetailsInput;
|
|
118
|
+
}, unknown>;
|
|
119
|
+
};
|
|
120
|
+
//# sourceMappingURL=use-traveler-with-travel-details-mutation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-traveler-with-travel-details-mutation.d.ts","sourceRoot":"","sources":["../../src/hooks/use-traveler-with-travel-details-mutation.ts"],"names":[],"mappings":"AAiBA,MAAM,WAAW,oCAAoC;IACnD,QAAQ,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxB,eAAe,CAAC,EAAE,MAAM,CAAA;IACxB,gBAAgB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAChC,SAAS,EAAE,MAAM,CAAA;IACjB,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACrB,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACjC,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC/B,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAErB,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,YAAY,CAAC,EAAE,UAAU,GAAG,SAAS,GAAG,gBAAgB,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,CAAA;IAClF,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,sBAAsB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACtC,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxC,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACxC,WAAW,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC3B,mBAAmB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IACnC,kBAAkB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,cAAc,CAAC,EAAE,OAAO,GAAG,IAAI,CAAA;IAC/B,cAAc,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC9B,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;IAC1B,aAAa,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,eAAe,GAAG,IAAI,CAAA;IACrE,WAAW,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CACrC;AAED,MAAM,MAAM,oCAAoC,GAAG,OAAO,CAAC,oCAAoC,CAAC,CAAA;AAEhG;;;;;;GAMG;AACH,wBAAgB,oCAAoC,CAAC,SAAS,EAAE,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oBA2BpD,MAAM;eACX,oCAAoC;;EAchD"}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useMutation, useQueryClient } from "@tanstack/react-query";
|
|
3
|
+
import { z } from "zod";
|
|
4
|
+
import { fetchWithValidation } from "../client.js";
|
|
5
|
+
import { useVoyantBookingsContext } from "../provider.js";
|
|
6
|
+
import { bookingsQueryKeys } from "../query-keys.js";
|
|
7
|
+
import { bookingTravelerRecordSchema, bookingTravelerTravelDetailsSchema } from "../schemas.js";
|
|
8
|
+
const travelerWithTravelDetailsResponseSchema = z.object({
|
|
9
|
+
data: z.object({
|
|
10
|
+
traveler: bookingTravelerRecordSchema,
|
|
11
|
+
travelDetails: bookingTravelerTravelDetailsSchema.nullable(),
|
|
12
|
+
}),
|
|
13
|
+
});
|
|
14
|
+
/**
|
|
15
|
+
* Combined create/update for a booking traveler + their encrypted
|
|
16
|
+
* travel-details snapshot. When `personId` is provided on create
|
|
17
|
+
* AND the operator starter has wired `resolveTravelSnapshot`, the
|
|
18
|
+
* route auto-snapshots dietary / accessibility / primary passport
|
|
19
|
+
* from `crm.people`. Explicit input always wins.
|
|
20
|
+
*/
|
|
21
|
+
export function useTravelerWithTravelDetailsMutation(bookingId) {
|
|
22
|
+
const { baseUrl, fetcher } = useVoyantBookingsContext();
|
|
23
|
+
const queryClient = useQueryClient();
|
|
24
|
+
const invalidate = () => {
|
|
25
|
+
void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.travelers(bookingId) });
|
|
26
|
+
void queryClient.invalidateQueries({ queryKey: bookingsQueryKeys.activity(bookingId) });
|
|
27
|
+
};
|
|
28
|
+
const create = useMutation({
|
|
29
|
+
mutationFn: async (input) => {
|
|
30
|
+
const { data } = await fetchWithValidation(`/v1/bookings/${bookingId}/travelers/with-travel-details`, travelerWithTravelDetailsResponseSchema, { baseUrl, fetcher }, { method: "POST", body: JSON.stringify(input) });
|
|
31
|
+
return data;
|
|
32
|
+
},
|
|
33
|
+
onSuccess: invalidate,
|
|
34
|
+
});
|
|
35
|
+
const update = useMutation({
|
|
36
|
+
mutationFn: async ({ travelerId, input, }) => {
|
|
37
|
+
const { data } = await fetchWithValidation(`/v1/bookings/${bookingId}/travelers/${travelerId}/with-travel-details`, travelerWithTravelDetailsResponseSchema, { baseUrl, fetcher }, { method: "PATCH", body: JSON.stringify(input) });
|
|
38
|
+
return data;
|
|
39
|
+
},
|
|
40
|
+
onSuccess: invalidate,
|
|
41
|
+
});
|
|
42
|
+
return { create, update };
|
|
43
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface UseTravelersOptions {
|
|
2
|
+
enabled?: boolean;
|
|
3
|
+
}
|
|
4
|
+
export declare function useTravelers(bookingId: string | null | undefined, options?: UseTravelersOptions): import("@tanstack/react-query").UseQueryResult<{
|
|
5
|
+
data: {
|
|
6
|
+
id: string;
|
|
7
|
+
bookingId: string;
|
|
8
|
+
participantType: string;
|
|
9
|
+
firstName: string;
|
|
10
|
+
lastName: string;
|
|
11
|
+
email: string | null;
|
|
12
|
+
phone: string | null;
|
|
13
|
+
specialRequests: string | null;
|
|
14
|
+
isPrimary: boolean;
|
|
15
|
+
createdAt: string;
|
|
16
|
+
travelerCategory?: string | null | undefined;
|
|
17
|
+
personId?: string | null | undefined;
|
|
18
|
+
preferredLanguage?: string | null | undefined;
|
|
19
|
+
notes?: string | null | undefined;
|
|
20
|
+
updatedAt?: string | undefined;
|
|
21
|
+
}[];
|
|
22
|
+
}, Error>;
|
|
23
|
+
//# sourceMappingURL=use-travelers.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-travelers.d.ts","sourceRoot":"","sources":["../../src/hooks/use-travelers.ts"],"names":[],"mappings":"AAOA,MAAM,WAAW,mBAAmB;IAClC,OAAO,CAAC,EAAE,OAAO,CAAA;CAClB;AAED,wBAAgB,YAAY,CAC1B,SAAS,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,EACpC,OAAO,GAAE,mBAAwB;;;;;;;;;;;;;;;;;;UASlC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useQuery } from "@tanstack/react-query";
|
|
3
|
+
import { useVoyantBookingsContext } from "../provider.js";
|
|
4
|
+
import { getTravelersQueryOptions } from "../query-options.js";
|
|
5
|
+
export function useTravelers(bookingId, options = {}) {
|
|
6
|
+
const { baseUrl, fetcher } = useVoyantBookingsContext();
|
|
7
|
+
const { enabled = true } = options;
|
|
8
|
+
return useQuery({
|
|
9
|
+
...getTravelersQueryOptions({ baseUrl, fetcher }, bookingId),
|
|
10
|
+
enabled: enabled && Boolean(bookingId),
|
|
11
|
+
});
|
|
12
|
+
}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
export declare const bookingsUiEnBase: {
|
|
2
|
+
common: {
|
|
3
|
+
cancel: string;
|
|
4
|
+
saveChanges: string;
|
|
5
|
+
add: string;
|
|
6
|
+
loading: string;
|
|
7
|
+
bookingStatusLabels: {
|
|
8
|
+
draft: string;
|
|
9
|
+
on_hold: string;
|
|
10
|
+
awaiting_payment: string;
|
|
11
|
+
confirmed: string;
|
|
12
|
+
in_progress: string;
|
|
13
|
+
cancelled: string;
|
|
14
|
+
completed: string;
|
|
15
|
+
expired: string;
|
|
16
|
+
};
|
|
17
|
+
supplierStatusLabels: {
|
|
18
|
+
pending: string;
|
|
19
|
+
confirmed: string;
|
|
20
|
+
rejected: string;
|
|
21
|
+
cancelled: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
bookingsPage: {
|
|
25
|
+
title: string;
|
|
26
|
+
description: string;
|
|
27
|
+
};
|
|
28
|
+
bookingCreatePage: {
|
|
29
|
+
title: string;
|
|
30
|
+
description: string;
|
|
31
|
+
};
|
|
32
|
+
bookingCombobox: {
|
|
33
|
+
placeholder: string;
|
|
34
|
+
empty: string;
|
|
35
|
+
loading: string;
|
|
36
|
+
};
|
|
37
|
+
bookingQuickViewSheet: {
|
|
38
|
+
loadingTitle: string;
|
|
39
|
+
viewFullAction: string;
|
|
40
|
+
paxSuffix: string;
|
|
41
|
+
travelerUnnamed: string;
|
|
42
|
+
sectionPayer: string;
|
|
43
|
+
sectionTravelers: string;
|
|
44
|
+
sectionTravelerDocuments: string;
|
|
45
|
+
travelerReveal: {
|
|
46
|
+
showAction: string;
|
|
47
|
+
hideAction: string;
|
|
48
|
+
empty: string;
|
|
49
|
+
error: string;
|
|
50
|
+
dateOfBirth: string;
|
|
51
|
+
nationality: string;
|
|
52
|
+
documentType: string;
|
|
53
|
+
documentNumber: string;
|
|
54
|
+
documentExpiry: string;
|
|
55
|
+
documentIssuingCountry: string;
|
|
56
|
+
documentIssuingAuthority: string;
|
|
57
|
+
dietaryRequirements: string;
|
|
58
|
+
accessibilityNeeds: string;
|
|
59
|
+
bedPreference: string;
|
|
60
|
+
address: string;
|
|
61
|
+
};
|
|
62
|
+
travelersEmpty: string;
|
|
63
|
+
travelerCategoryLabels: {
|
|
64
|
+
adult: string;
|
|
65
|
+
child: string;
|
|
66
|
+
infant: string;
|
|
67
|
+
lead: string;
|
|
68
|
+
};
|
|
69
|
+
sectionPayments: string;
|
|
70
|
+
paymentsPaid: string;
|
|
71
|
+
paymentsRemaining: string;
|
|
72
|
+
sectionInvoices: string;
|
|
73
|
+
invoicesEmpty: string;
|
|
74
|
+
invoiceStatusLabels: {
|
|
75
|
+
draft: string;
|
|
76
|
+
sent: string;
|
|
77
|
+
partially_paid: string;
|
|
78
|
+
paid: string;
|
|
79
|
+
overdue: string;
|
|
80
|
+
void: string;
|
|
81
|
+
};
|
|
82
|
+
sectionPaymentSchedule: string;
|
|
83
|
+
scheduleCountSuffix: string;
|
|
84
|
+
scheduleEmpty: string;
|
|
85
|
+
scheduleTypeLabels: {
|
|
86
|
+
deposit: string;
|
|
87
|
+
installment: string;
|
|
88
|
+
balance: string;
|
|
89
|
+
hold: string;
|
|
90
|
+
other: string;
|
|
91
|
+
};
|
|
92
|
+
sectionContracts: string;
|
|
93
|
+
contractsEmpty: string;
|
|
94
|
+
contractStatusLabels: {
|
|
95
|
+
draft: string;
|
|
96
|
+
issued: string;
|
|
97
|
+
sent: string;
|
|
98
|
+
signed: string;
|
|
99
|
+
executed: string;
|
|
100
|
+
expired: string;
|
|
101
|
+
void: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
bookingDetailPage: {
|
|
105
|
+
notFound: string;
|
|
106
|
+
backToBookings: string;
|
|
107
|
+
breadcrumbBookings: string;
|
|
108
|
+
editAction: string;
|
|
109
|
+
changeStatusAction: string;
|
|
110
|
+
cancelBookingAction: string;
|
|
111
|
+
deleteAction: string;
|
|
112
|
+
deleteConfirm: string;
|
|
113
|
+
deleteConfirmDescription: string;
|
|
114
|
+
deleteConfirmDescriptionFallback: string;
|
|
115
|
+
deleteConfirmAction: string;
|
|
116
|
+
deleteCancel: string;
|
|
117
|
+
collectPaymentAction: string;
|
|
118
|
+
recordPaymentAction: string;
|
|
119
|
+
noValue: string;
|
|
120
|
+
tbd: string;
|
|
121
|
+
summaryTotal: string;
|
|
122
|
+
summaryPaid: string;
|
|
123
|
+
summaryPriceOverride: string;
|
|
124
|
+
summaryCostMargin: string;
|
|
125
|
+
summaryDates: string;
|
|
126
|
+
summaryTravelers: string;
|
|
127
|
+
summaryPerson: string;
|
|
128
|
+
summaryOrganization: string;
|
|
129
|
+
summaryCreated: string;
|
|
130
|
+
summaryUpdated: string;
|
|
131
|
+
tabOverview: string;
|
|
132
|
+
tabMetadata: string;
|
|
133
|
+
metadataSection: {
|
|
134
|
+
title: string;
|
|
135
|
+
bookingId: string;
|
|
136
|
+
bookingNumber: string;
|
|
137
|
+
status: string;
|
|
138
|
+
communicationLanguage: string;
|
|
139
|
+
created: string;
|
|
140
|
+
updated: string;
|
|
141
|
+
};
|
|
142
|
+
tabTravelers: string;
|
|
143
|
+
tabFinance: string;
|
|
144
|
+
tabInvoices: string;
|
|
145
|
+
tabSuppliers: string;
|
|
146
|
+
tabDocuments: string;
|
|
147
|
+
tabActivity: string;
|
|
148
|
+
internalNotesLabel: string;
|
|
149
|
+
billingPayer: string;
|
|
150
|
+
billingTaxId: string;
|
|
151
|
+
billingEmail: string;
|
|
152
|
+
billingPhone: string;
|
|
153
|
+
billingAddress: string;
|
|
154
|
+
documentsSlotEmpty: string;
|
|
155
|
+
};
|
|
156
|
+
travelerDialog: {
|
|
157
|
+
titles: {
|
|
158
|
+
create: string;
|
|
159
|
+
edit: string;
|
|
160
|
+
};
|
|
161
|
+
fields: {
|
|
162
|
+
firstName: string;
|
|
163
|
+
lastName: string;
|
|
164
|
+
email: string;
|
|
165
|
+
phone: string;
|
|
166
|
+
specialRequests: string;
|
|
167
|
+
travelDetailsHeading: string;
|
|
168
|
+
documentType: string;
|
|
169
|
+
documentNumber: string;
|
|
170
|
+
documentExpiry: string;
|
|
171
|
+
documentIssuingCountry: string;
|
|
172
|
+
documentIssuingAuthority: string;
|
|
173
|
+
dateOfBirth: string;
|
|
174
|
+
dietaryRequirements: string;
|
|
175
|
+
accessibilityNeeds: string;
|
|
176
|
+
linkedPerson: string;
|
|
177
|
+
};
|
|
178
|
+
documentTypeLabels: {
|
|
179
|
+
passport: string;
|
|
180
|
+
id_card: string;
|
|
181
|
+
driver_license: string;
|
|
182
|
+
visa: string;
|
|
183
|
+
other: string;
|
|
184
|
+
};
|
|
185
|
+
placeholders: {
|
|
186
|
+
firstName: string;
|
|
187
|
+
lastName: string;
|
|
188
|
+
email: string;
|
|
189
|
+
phone: string;
|
|
190
|
+
specialRequests: string;
|
|
191
|
+
documentNumber: string;
|
|
192
|
+
documentExpiry: string;
|
|
193
|
+
documentIssuingCountry: string;
|
|
194
|
+
documentIssuingAuthority: string;
|
|
195
|
+
dateOfBirth: string;
|
|
196
|
+
dietaryRequirements: string;
|
|
197
|
+
accessibilityNeeds: string;
|
|
198
|
+
};
|
|
199
|
+
validation: {
|
|
200
|
+
firstNameRequired: string;
|
|
201
|
+
lastNameRequired: string;
|
|
202
|
+
};
|
|
203
|
+
actions: {
|
|
204
|
+
addTraveler: string;
|
|
205
|
+
prefillFromProfile: string;
|
|
206
|
+
saveToProfile: string;
|
|
207
|
+
};
|
|
208
|
+
hints: {
|
|
209
|
+
prefilledFromProfile: string;
|
|
210
|
+
savedToProfile: string;
|
|
211
|
+
};
|
|
212
|
+
};
|
|
213
|
+
travelerList: {
|
|
214
|
+
title: string;
|
|
215
|
+
addTraveler: string;
|
|
216
|
+
empty: string;
|
|
217
|
+
values: {
|
|
218
|
+
emailUnavailable: string;
|
|
219
|
+
phoneUnavailable: string;
|
|
220
|
+
documentsUnavailable: string;
|
|
221
|
+
fieldUnavailable: string;
|
|
222
|
+
noAdditionalContext: string;
|
|
223
|
+
};
|
|
224
|
+
columns: {
|
|
225
|
+
name: string;
|
|
226
|
+
email: string;
|
|
227
|
+
phone: string;
|
|
228
|
+
role: string;
|
|
229
|
+
dobAge: string;
|
|
230
|
+
documents: string;
|
|
231
|
+
};
|
|
232
|
+
roles: {
|
|
233
|
+
primary: string;
|
|
234
|
+
lead: string;
|
|
235
|
+
};
|
|
236
|
+
context: {
|
|
237
|
+
nationality: string;
|
|
238
|
+
document: string;
|
|
239
|
+
documentExpiry: string;
|
|
240
|
+
language: string;
|
|
241
|
+
dietary: string;
|
|
242
|
+
accessibility: string;
|
|
243
|
+
specialRequests: string;
|
|
244
|
+
notes: string;
|
|
245
|
+
documentLabel: string;
|
|
246
|
+
};
|
|
247
|
+
loading: {
|
|
248
|
+
decrypting: string;
|
|
249
|
+
};
|
|
250
|
+
actions: {
|
|
251
|
+
deleteConfirm: {
|
|
252
|
+
title: string;
|
|
253
|
+
description: string;
|
|
254
|
+
cancel: string;
|
|
255
|
+
confirm: string;
|
|
256
|
+
};
|
|
257
|
+
revealContactDetails: string;
|
|
258
|
+
hideContactDetails: string;
|
|
259
|
+
revealTravelerContactDetails: string;
|
|
260
|
+
hideTravelerContactDetails: string;
|
|
261
|
+
viewTraveler: string;
|
|
262
|
+
editTraveler: string;
|
|
263
|
+
deleteTraveler: string;
|
|
264
|
+
};
|
|
265
|
+
snapshot: {
|
|
266
|
+
title: string;
|
|
267
|
+
subtitle: string;
|
|
268
|
+
sectionContact: string;
|
|
269
|
+
sectionTravel: string;
|
|
270
|
+
sectionDocuments: string;
|
|
271
|
+
sectionMeta: string;
|
|
272
|
+
nameLabel: string;
|
|
273
|
+
emailLabel: string;
|
|
274
|
+
phoneLabel: string;
|
|
275
|
+
languageLabel: string;
|
|
276
|
+
roleLabel: string;
|
|
277
|
+
dobLabel: string;
|
|
278
|
+
nationalityLabel: string;
|
|
279
|
+
documentLabel: string;
|
|
280
|
+
documentExpiryLabel: string;
|
|
281
|
+
dietaryLabel: string;
|
|
282
|
+
accessibilityLabel: string;
|
|
283
|
+
specialRequestsLabel: string;
|
|
284
|
+
notesLabel: string;
|
|
285
|
+
noDocuments: string;
|
|
286
|
+
createdAtLabel: string;
|
|
287
|
+
updatedAtLabel: string;
|
|
288
|
+
empty: string;
|
|
289
|
+
};
|
|
290
|
+
validation: {
|
|
291
|
+
revealFailed: string;
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
//# sourceMappingURL=en-base.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"en-base.d.ts","sourceRoot":"","sources":["../../src/i18n/en-base.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAySK,CAAA"}
|