@voyantjs/types 0.1.0 → 0.2.0
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/package.json +2 -2
- package/dist/ai.d.ts +0 -38
- package/dist/ai.d.ts.map +0 -1
- package/dist/ai.js +0 -2
- package/dist/ai.js.map +0 -1
- package/dist/booking-forms.d.ts +0 -156
- package/dist/booking-forms.d.ts.map +0 -1
- package/dist/booking-forms.js +0 -114
- package/dist/booking-forms.js.map +0 -1
- package/dist/canonical/departure.d.ts +0 -29
- package/dist/canonical/departure.d.ts.map +0 -1
- package/dist/canonical/departure.js +0 -23
- package/dist/canonical/departure.js.map +0 -1
- package/dist/canonical/index.d.ts +0 -9
- package/dist/canonical/index.d.ts.map +0 -1
- package/dist/canonical/index.js +0 -9
- package/dist/canonical/index.js.map +0 -1
- package/dist/canonical/itinerary.d.ts +0 -16
- package/dist/canonical/itinerary.d.ts.map +0 -1
- package/dist/canonical/itinerary.js +0 -12
- package/dist/canonical/itinerary.js.map +0 -1
- package/dist/canonical/lodging.d.ts +0 -21
- package/dist/canonical/lodging.d.ts.map +0 -1
- package/dist/canonical/lodging.js +0 -14
- package/dist/canonical/lodging.js.map +0 -1
- package/dist/canonical/price-summary.d.ts +0 -18
- package/dist/canonical/price-summary.d.ts.map +0 -1
- package/dist/canonical/price-summary.js +0 -15
- package/dist/canonical/price-summary.js.map +0 -1
- package/dist/canonical/product.d.ts +0 -58
- package/dist/canonical/product.d.ts.map +0 -1
- package/dist/canonical/product.js +0 -34
- package/dist/canonical/product.js.map +0 -1
- package/dist/canonical/ship-cabin-category.d.ts +0 -36
- package/dist/canonical/ship-cabin-category.d.ts.map +0 -1
- package/dist/canonical/ship-cabin-category.js +0 -21
- package/dist/canonical/ship-cabin-category.js.map +0 -1
- package/dist/canonical/ship-cabin.d.ts +0 -14
- package/dist/canonical/ship-cabin.d.ts.map +0 -1
- package/dist/canonical/ship-cabin.js +0 -13
- package/dist/canonical/ship-cabin.js.map +0 -1
- package/dist/canonical/ship.d.ts +0 -54
- package/dist/canonical/ship.d.ts.map +0 -1
- package/dist/canonical/ship.js +0 -33
- package/dist/canonical/ship.js.map +0 -1
- package/dist/core/tenant.d.ts +0 -13
- package/dist/core/tenant.d.ts.map +0 -1
- package/dist/core/tenant.js +0 -7
- package/dist/core/tenant.js.map +0 -1
- package/dist/fixtures/booking.d.ts +0 -4
- package/dist/fixtures/booking.d.ts.map +0 -1
- package/dist/fixtures/booking.js +0 -20
- package/dist/fixtures/booking.js.map +0 -1
- package/dist/fixtures/payment-account.d.ts +0 -4
- package/dist/fixtures/payment-account.d.ts.map +0 -1
- package/dist/fixtures/payment-account.js +0 -8
- package/dist/fixtures/payment-account.js.map +0 -1
- package/dist/fixtures/product.d.ts +0 -27
- package/dist/fixtures/product.d.ts.map +0 -1
- package/dist/fixtures/product.js +0 -19
- package/dist/fixtures/product.js.map +0 -1
- package/dist/fixtures/user.d.ts +0 -4
- package/dist/fixtures/user.d.ts.map +0 -1
- package/dist/fixtures/user.js +0 -4
- package/dist/fixtures/user.js.map +0 -1
- package/dist/forms.d.ts +0 -128
- package/dist/forms.d.ts.map +0 -1
- package/dist/forms.js +0 -66
- package/dist/forms.js.map +0 -1
- package/dist/gallery.d.ts +0 -2
- package/dist/gallery.d.ts.map +0 -1
- package/dist/gallery.js +0 -2
- package/dist/gallery.js.map +0 -1
- package/dist/generated/api.d.ts +0 -55
- package/dist/generated/api.d.ts.map +0 -1
- package/dist/generated/api.js +0 -6
- package/dist/generated/api.js.map +0 -1
- package/dist/queues/booking-persistence.d.ts +0 -85
- package/dist/queues/booking-persistence.d.ts.map +0 -1
- package/dist/queues/booking-persistence.js +0 -45
- package/dist/queues/booking-persistence.js.map +0 -1
- package/dist/queues/cache-sync.d.ts +0 -95
- package/dist/queues/cache-sync.d.ts.map +0 -1
- package/dist/queues/cache-sync.js +0 -49
- package/dist/queues/cache-sync.js.map +0 -1
- package/dist/queues/form-submission.d.ts +0 -10
- package/dist/queues/form-submission.d.ts.map +0 -1
- package/dist/queues/form-submission.js +0 -9
- package/dist/queues/form-submission.js.map +0 -1
- package/dist/queues/index.d.ts +0 -14
- package/dist/queues/index.d.ts.map +0 -1
- package/dist/queues/index.js +0 -14
- package/dist/queues/index.js.map +0 -1
- package/dist/queues/inventory-events.d.ts +0 -109
- package/dist/queues/inventory-events.d.ts.map +0 -1
- package/dist/queues/inventory-events.js +0 -92
- package/dist/queues/inventory-events.js.map +0 -1
- package/dist/queues/notifications.d.ts +0 -66
- package/dist/queues/notifications.d.ts.map +0 -1
- package/dist/queues/notifications.js +0 -44
- package/dist/queues/notifications.js.map +0 -1
- package/dist/queues/webhook-events-inbound.d.ts +0 -36
- package/dist/queues/webhook-events-inbound.d.ts.map +0 -1
- package/dist/queues/webhook-events-inbound.js +0 -39
- package/dist/queues/webhook-events-inbound.js.map +0 -1
- package/dist/schema-factory.d.ts +0 -13
- package/dist/schema-factory.d.ts.map +0 -1
- package/dist/schema-factory.js +0 -7
- package/dist/schema-factory.js.map +0 -1
- package/dist/schemas/ai-action.d.ts +0 -23
- package/dist/schemas/ai-action.d.ts.map +0 -1
- package/dist/schemas/ai-action.js +0 -9
- package/dist/schemas/ai-action.js.map +0 -1
- package/dist/schemas/analytics.d.ts +0 -56
- package/dist/schemas/analytics.d.ts.map +0 -1
- package/dist/schemas/analytics.js +0 -45
- package/dist/schemas/analytics.js.map +0 -1
- package/dist/schemas/apps/analytics.d.ts +0 -124
- package/dist/schemas/apps/analytics.d.ts.map +0 -1
- package/dist/schemas/apps/analytics.js +0 -84
- package/dist/schemas/apps/analytics.js.map +0 -1
- package/dist/schemas/apps/calendar.d.ts +0 -88
- package/dist/schemas/apps/calendar.d.ts.map +0 -1
- package/dist/schemas/apps/calendar.js +0 -38
- package/dist/schemas/apps/calendar.js.map +0 -1
- package/dist/schemas/apps/marketplace/experiences.d.ts +0 -103
- package/dist/schemas/apps/marketplace/experiences.d.ts.map +0 -1
- package/dist/schemas/apps/marketplace/experiences.js +0 -65
- package/dist/schemas/apps/marketplace/experiences.js.map +0 -1
- package/dist/schemas/apps/marketplace/flights.d.ts +0 -184
- package/dist/schemas/apps/marketplace/flights.d.ts.map +0 -1
- package/dist/schemas/apps/marketplace/flights.js +0 -87
- package/dist/schemas/apps/marketplace/flights.js.map +0 -1
- package/dist/schemas/apps/marketplace/hotels.d.ts +0 -195
- package/dist/schemas/apps/marketplace/hotels.d.ts.map +0 -1
- package/dist/schemas/apps/marketplace/hotels.js +0 -74
- package/dist/schemas/apps/marketplace/hotels.js.map +0 -1
- package/dist/schemas/apps/marketplace/packages.d.ts +0 -73
- package/dist/schemas/apps/marketplace/packages.d.ts.map +0 -1
- package/dist/schemas/apps/marketplace/packages.js +0 -60
- package/dist/schemas/apps/marketplace/packages.js.map +0 -1
- package/dist/schemas/apps/reports.d.ts +0 -72
- package/dist/schemas/apps/reports.d.ts.map +0 -1
- package/dist/schemas/apps/reports.js +0 -32
- package/dist/schemas/apps/reports.js.map +0 -1
- package/dist/schemas/billing/providers/index.d.ts +0 -10
- package/dist/schemas/billing/providers/index.d.ts.map +0 -1
- package/dist/schemas/billing/providers/index.js +0 -8
- package/dist/schemas/billing/providers/index.js.map +0 -1
- package/dist/schemas/billing/providers/smartbill.d.ts +0 -9
- package/dist/schemas/billing/providers/smartbill.d.ts.map +0 -1
- package/dist/schemas/billing/providers/smartbill.js +0 -8
- package/dist/schemas/billing/providers/smartbill.js.map +0 -1
- package/dist/schemas/billing/tax-code.d.ts +0 -36
- package/dist/schemas/billing/tax-code.d.ts.map +0 -1
- package/dist/schemas/billing/tax-code.js +0 -23
- package/dist/schemas/billing/tax-code.js.map +0 -1
- package/dist/schemas/billing/tax-map.d.ts +0 -12
- package/dist/schemas/billing/tax-map.d.ts.map +0 -1
- package/dist/schemas/billing/tax-map.js +0 -10
- package/dist/schemas/billing/tax-map.js.map +0 -1
- package/dist/schemas/booking.d.ts +0 -37
- package/dist/schemas/booking.d.ts.map +0 -1
- package/dist/schemas/booking.js +0 -19
- package/dist/schemas/booking.js.map +0 -1
- package/dist/schemas/catalog/departures.d.ts +0 -175
- package/dist/schemas/catalog/departures.d.ts.map +0 -1
- package/dist/schemas/catalog/departures.js +0 -89
- package/dist/schemas/catalog/departures.js.map +0 -1
- package/dist/schemas/catalog.d.ts +0 -296
- package/dist/schemas/catalog.d.ts.map +0 -1
- package/dist/schemas/catalog.js +0 -175
- package/dist/schemas/catalog.js.map +0 -1
- package/dist/schemas/clickhouse.d.ts +0 -55
- package/dist/schemas/clickhouse.d.ts.map +0 -1
- package/dist/schemas/clickhouse.js +0 -2
- package/dist/schemas/clickhouse.js.map +0 -1
- package/dist/schemas/customer.d.ts +0 -84
- package/dist/schemas/customer.d.ts.map +0 -1
- package/dist/schemas/customer.js +0 -115
- package/dist/schemas/customer.js.map +0 -1
- package/dist/schemas/database-error.d.ts +0 -29
- package/dist/schemas/database-error.d.ts.map +0 -1
- package/dist/schemas/database-error.js +0 -28
- package/dist/schemas/database-error.js.map +0 -1
- package/dist/schemas/draft-core.d.ts +0 -57
- package/dist/schemas/draft-core.d.ts.map +0 -1
- package/dist/schemas/draft-core.js +0 -41
- package/dist/schemas/draft-core.js.map +0 -1
- package/dist/schemas/drizzle-helpers.d.ts +0 -30
- package/dist/schemas/drizzle-helpers.d.ts.map +0 -1
- package/dist/schemas/drizzle-helpers.js +0 -19
- package/dist/schemas/drizzle-helpers.js.map +0 -1
- package/dist/schemas/exchange-rates.d.ts +0 -77
- package/dist/schemas/exchange-rates.d.ts.map +0 -1
- package/dist/schemas/exchange-rates.js +0 -71
- package/dist/schemas/exchange-rates.js.map +0 -1
- package/dist/schemas/gallery.d.ts +0 -84
- package/dist/schemas/gallery.d.ts.map +0 -1
- package/dist/schemas/gallery.js +0 -54
- package/dist/schemas/gallery.js.map +0 -1
- package/dist/schemas/kms/smartbill.d.ts +0 -22
- package/dist/schemas/kms/smartbill.d.ts.map +0 -1
- package/dist/schemas/kms/smartbill.js +0 -16
- package/dist/schemas/kms/smartbill.js.map +0 -1
- package/dist/schemas/kv/organization-region.d.ts +0 -11
- package/dist/schemas/kv/organization-region.d.ts.map +0 -1
- package/dist/schemas/kv/organization-region.js +0 -7
- package/dist/schemas/kv/organization-region.js.map +0 -1
- package/dist/schemas/notifications.d.ts +0 -161
- package/dist/schemas/notifications.d.ts.map +0 -1
- package/dist/schemas/notifications.js +0 -69
- package/dist/schemas/notifications.js.map +0 -1
- package/dist/schemas/onboarding/profile.d.ts +0 -15
- package/dist/schemas/onboarding/profile.d.ts.map +0 -1
- package/dist/schemas/onboarding/profile.js +0 -9
- package/dist/schemas/onboarding/profile.js.map +0 -1
- package/dist/schemas/onboarding/selection.d.ts +0 -8
- package/dist/schemas/onboarding/selection.d.ts.map +0 -1
- package/dist/schemas/onboarding/selection.js +0 -6
- package/dist/schemas/onboarding/selection.js.map +0 -1
- package/dist/schemas/onboarding/step.d.ts +0 -11
- package/dist/schemas/onboarding/step.d.ts.map +0 -1
- package/dist/schemas/onboarding/step.js +0 -9
- package/dist/schemas/onboarding/step.js.map +0 -1
- package/dist/schemas/onboarding/tenant-organization.d.ts +0 -24
- package/dist/schemas/onboarding/tenant-organization.d.ts.map +0 -1
- package/dist/schemas/onboarding/tenant-organization.js +0 -15
- package/dist/schemas/onboarding/tenant-organization.js.map +0 -1
- package/dist/schemas/onboarding/tenant-slugs.d.ts +0 -6
- package/dist/schemas/onboarding/tenant-slugs.d.ts.map +0 -1
- package/dist/schemas/onboarding/tenant-slugs.js +0 -5
- package/dist/schemas/onboarding/tenant-slugs.js.map +0 -1
- package/dist/schemas/onboarding/wizard.d.ts +0 -17
- package/dist/schemas/onboarding/wizard.d.ts.map +0 -1
- package/dist/schemas/onboarding/wizard.js +0 -17
- package/dist/schemas/onboarding/wizard.js.map +0 -1
- package/dist/schemas/payments/payment-session.d.ts +0 -17
- package/dist/schemas/payments/payment-session.d.ts.map +0 -1
- package/dist/schemas/payments/payment-session.js +0 -13
- package/dist/schemas/payments/payment-session.js.map +0 -1
- package/dist/schemas/payments/providers/index.d.ts +0 -13
- package/dist/schemas/payments/providers/index.d.ts.map +0 -1
- package/dist/schemas/payments/providers/index.js +0 -9
- package/dist/schemas/payments/providers/index.js.map +0 -1
- package/dist/schemas/payments/providers/netopia.d.ts +0 -7
- package/dist/schemas/payments/providers/netopia.d.ts.map +0 -1
- package/dist/schemas/payments/providers/netopia.js +0 -6
- package/dist/schemas/payments/providers/netopia.js.map +0 -1
- package/dist/schemas/payments.d.ts +0 -34
- package/dist/schemas/payments.d.ts.map +0 -1
- package/dist/schemas/payments.js +0 -33
- package/dist/schemas/payments.js.map +0 -1
- package/dist/schemas/people.d.ts +0 -70
- package/dist/schemas/people.d.ts.map +0 -1
- package/dist/schemas/people.js +0 -55
- package/dist/schemas/people.js.map +0 -1
- package/dist/schemas/product-draft.d.ts +0 -493
- package/dist/schemas/product-draft.d.ts.map +0 -1
- package/dist/schemas/product-draft.js +0 -433
- package/dist/schemas/product-draft.js.map +0 -1
- package/dist/schemas/product.d.ts +0 -164
- package/dist/schemas/product.d.ts.map +0 -1
- package/dist/schemas/product.js +0 -100
- package/dist/schemas/product.js.map +0 -1
- package/dist/schemas/redis-booking-settings.d.ts +0 -85
- package/dist/schemas/redis-booking-settings.d.ts.map +0 -1
- package/dist/schemas/redis-booking-settings.js +0 -19
- package/dist/schemas/redis-booking-settings.js.map +0 -1
- package/dist/schemas/redis-booking.shared.d.ts +0 -143
- package/dist/schemas/redis-booking.shared.d.ts.map +0 -1
- package/dist/schemas/redis-booking.shared.js +0 -57
- package/dist/schemas/redis-booking.shared.js.map +0 -1
- package/dist/schemas/redis-claim.d.ts +0 -8
- package/dist/schemas/redis-claim.d.ts.map +0 -1
- package/dist/schemas/redis-claim.js +0 -7
- package/dist/schemas/redis-claim.js.map +0 -1
- package/dist/schemas/redis-product.d.ts +0 -61
- package/dist/schemas/redis-product.d.ts.map +0 -1
- package/dist/schemas/redis-product.js +0 -40
- package/dist/schemas/redis-product.js.map +0 -1
- package/dist/schemas/segments.d.ts +0 -199
- package/dist/schemas/segments.d.ts.map +0 -1
- package/dist/schemas/segments.js +0 -204
- package/dist/schemas/segments.js.map +0 -1
- package/dist/schemas/settings/localization.d.ts +0 -15
- package/dist/schemas/settings/localization.d.ts.map +0 -1
- package/dist/schemas/settings/localization.js +0 -8
- package/dist/schemas/settings/localization.js.map +0 -1
- package/dist/schemas/settings.d.ts +0 -547
- package/dist/schemas/settings.d.ts.map +0 -1
- package/dist/schemas/settings.js +0 -328
- package/dist/schemas/settings.js.map +0 -1
- package/dist/schemas/tenant.d.ts +0 -46
- package/dist/schemas/tenant.d.ts.map +0 -1
- package/dist/schemas/tenant.js +0 -34
- package/dist/schemas/tenant.js.map +0 -1
- package/dist/schemas/tenants/members.d.ts +0 -26
- package/dist/schemas/tenants/members.d.ts.map +0 -1
- package/dist/schemas/tenants/members.js +0 -16
- package/dist/schemas/tenants/members.js.map +0 -1
- package/dist/schemas/tenants/subscriptions.d.ts +0 -34
- package/dist/schemas/tenants/subscriptions.d.ts.map +0 -1
- package/dist/schemas/tenants/subscriptions.js +0 -17
- package/dist/schemas/tenants/subscriptions.js.map +0 -1
- package/dist/travel-products/accommodation.d.ts +0 -406
- package/dist/travel-products/accommodation.d.ts.map +0 -1
- package/dist/travel-products/accommodation.js +0 -242
- package/dist/travel-products/accommodation.js.map +0 -1
- package/dist/travel-products/departure.d.ts +0 -671
- package/dist/travel-products/departure.d.ts.map +0 -1
- package/dist/travel-products/departure.js +0 -214
- package/dist/travel-products/departure.js.map +0 -1
- package/dist/travel-products/index.d.ts +0 -8
- package/dist/travel-products/index.d.ts.map +0 -1
- package/dist/travel-products/index.js +0 -15
- package/dist/travel-products/index.js.map +0 -1
- package/dist/travel-products/inventory.d.ts +0 -378
- package/dist/travel-products/inventory.d.ts.map +0 -1
- package/dist/travel-products/inventory.js +0 -185
- package/dist/travel-products/inventory.js.map +0 -1
- package/dist/travel-products/itinerary.d.ts +0 -1422
- package/dist/travel-products/itinerary.d.ts.map +0 -1
- package/dist/travel-products/itinerary.js +0 -174
- package/dist/travel-products/itinerary.js.map +0 -1
- package/dist/travel-products/policy.d.ts +0 -860
- package/dist/travel-products/policy.d.ts.map +0 -1
- package/dist/travel-products/policy.js +0 -361
- package/dist/travel-products/policy.js.map +0 -1
- package/dist/travel-products/pricing.d.ts +0 -270
- package/dist/travel-products/pricing.d.ts.map +0 -1
- package/dist/travel-products/pricing.js +0 -185
- package/dist/travel-products/pricing.js.map +0 -1
- package/dist/travel-products/product.d.ts +0 -1614
- package/dist/travel-products/product.d.ts.map +0 -1
- package/dist/travel-products/product.js +0 -210
- package/dist/travel-products/product.js.map +0 -1
- package/dist/trigger/billing-create-invoice.d.ts +0 -8
- package/dist/trigger/billing-create-invoice.d.ts.map +0 -1
- package/dist/trigger/billing-create-invoice.js +0 -8
- package/dist/trigger/billing-create-invoice.js.map +0 -1
- package/dist/trigger/billing-create-proforma.d.ts +0 -6
- package/dist/trigger/billing-create-proforma.d.ts.map +0 -1
- package/dist/trigger/billing-create-proforma.js +0 -5
- package/dist/trigger/billing-create-proforma.js.map +0 -1
- package/dist/trigger/billing.d.ts +0 -11
- package/dist/trigger/billing.d.ts.map +0 -1
- package/dist/trigger/billing.js +0 -12
- package/dist/trigger/billing.js.map +0 -1
- package/dist/trigger/campaigns.d.ts +0 -39
- package/dist/trigger/campaigns.d.ts.map +0 -1
- package/dist/trigger/campaigns.js +0 -36
- package/dist/trigger/campaigns.js.map +0 -1
- package/dist/trigger/cms.d.ts +0 -19
- package/dist/trigger/cms.d.ts.map +0 -1
- package/dist/trigger/cms.js +0 -13
- package/dist/trigger/cms.js.map +0 -1
- package/dist/trigger/comms-resend-domain.d.ts +0 -6
- package/dist/trigger/comms-resend-domain.d.ts.map +0 -1
- package/dist/trigger/comms-resend-domain.js +0 -5
- package/dist/trigger/comms-resend-domain.js.map +0 -1
- package/dist/trigger/iam.d.ts +0 -2
- package/dist/trigger/iam.d.ts.map +0 -1
- package/dist/trigger/iam.js +0 -2
- package/dist/trigger/iam.js.map +0 -1
- package/dist/trigger/marketplace-access.d.ts +0 -7
- package/dist/trigger/marketplace-access.d.ts.map +0 -1
- package/dist/trigger/marketplace-access.js +0 -6
- package/dist/trigger/marketplace-access.js.map +0 -1
- package/dist/trigger/marketplace.d.ts +0 -7
- package/dist/trigger/marketplace.d.ts.map +0 -1
- package/dist/trigger/marketplace.js +0 -6
- package/dist/trigger/marketplace.js.map +0 -1
- package/dist/trigger/payment-success.d.ts +0 -19
- package/dist/trigger/payment-success.d.ts.map +0 -1
- package/dist/trigger/payment-success.js +0 -19
- package/dist/trigger/payment-success.js.map +0 -1
- package/dist/trigger/rag-delete.d.ts +0 -14
- package/dist/trigger/rag-delete.d.ts.map +0 -1
- package/dist/trigger/rag-delete.js +0 -6
- package/dist/trigger/rag-delete.js.map +0 -1
- package/dist/trigger/rag-upsert-contract.d.ts +0 -6
- package/dist/trigger/rag-upsert-contract.d.ts.map +0 -1
- package/dist/trigger/rag-upsert-contract.js +0 -5
- package/dist/trigger/rag-upsert-contract.js.map +0 -1
- package/dist/trigger/rag.d.ts +0 -12
- package/dist/trigger/rag.d.ts.map +0 -1
- package/dist/trigger/rag.js +0 -12
- package/dist/trigger/rag.js.map +0 -1
- package/dist/trigger/search-index-product.d.ts +0 -69
- package/dist/trigger/search-index-product.d.ts.map +0 -1
- package/dist/trigger/search-index-product.js +0 -40
- package/dist/trigger/search-index-product.js.map +0 -1
- package/dist/trigger/send-sms.d.ts +0 -8
- package/dist/trigger/send-sms.d.ts.map +0 -1
- package/dist/trigger/send-sms.js +0 -7
- package/dist/trigger/send-sms.js.map +0 -1
|
@@ -1,671 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const departureStatusSchema: z.ZodEnum<{
|
|
3
|
-
completed: "completed";
|
|
4
|
-
cancelled: "cancelled";
|
|
5
|
-
scheduled: "scheduled";
|
|
6
|
-
confirmed: "confirmed";
|
|
7
|
-
departed: "departed";
|
|
8
|
-
postponed: "postponed";
|
|
9
|
-
}>;
|
|
10
|
-
export declare const baseDepartureSchema: z.ZodObject<{
|
|
11
|
-
id: z.ZodUUID;
|
|
12
|
-
productId: z.ZodUUID;
|
|
13
|
-
departureDate: z.ZodString;
|
|
14
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
15
|
-
status: z.ZodEnum<{
|
|
16
|
-
completed: "completed";
|
|
17
|
-
cancelled: "cancelled";
|
|
18
|
-
scheduled: "scheduled";
|
|
19
|
-
confirmed: "confirmed";
|
|
20
|
-
departed: "departed";
|
|
21
|
-
postponed: "postponed";
|
|
22
|
-
}>;
|
|
23
|
-
totalCapacity: z.ZodNumber;
|
|
24
|
-
availableCapacity: z.ZodNumber;
|
|
25
|
-
reservedCapacity: z.ZodNumber;
|
|
26
|
-
confirmedCapacity: z.ZodNumber;
|
|
27
|
-
currency: z.ZodString;
|
|
28
|
-
basePrice: z.ZodNumber;
|
|
29
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
30
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
31
|
-
createdAt: z.ZodDate;
|
|
32
|
-
updatedAt: z.ZodDate;
|
|
33
|
-
}, z.core.$strip>;
|
|
34
|
-
export declare const tourDepartureSchema: z.ZodObject<{
|
|
35
|
-
id: z.ZodUUID;
|
|
36
|
-
productId: z.ZodUUID;
|
|
37
|
-
departureDate: z.ZodString;
|
|
38
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
39
|
-
status: z.ZodEnum<{
|
|
40
|
-
completed: "completed";
|
|
41
|
-
cancelled: "cancelled";
|
|
42
|
-
scheduled: "scheduled";
|
|
43
|
-
confirmed: "confirmed";
|
|
44
|
-
departed: "departed";
|
|
45
|
-
postponed: "postponed";
|
|
46
|
-
}>;
|
|
47
|
-
totalCapacity: z.ZodNumber;
|
|
48
|
-
availableCapacity: z.ZodNumber;
|
|
49
|
-
reservedCapacity: z.ZodNumber;
|
|
50
|
-
confirmedCapacity: z.ZodNumber;
|
|
51
|
-
currency: z.ZodString;
|
|
52
|
-
basePrice: z.ZodNumber;
|
|
53
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
54
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
55
|
-
createdAt: z.ZodDate;
|
|
56
|
-
updatedAt: z.ZodDate;
|
|
57
|
-
type: z.ZodLiteral<"tour">;
|
|
58
|
-
itineraryVersionId: z.ZodUUID;
|
|
59
|
-
guideId: z.ZodOptional<z.ZodUUID>;
|
|
60
|
-
vehicleId: z.ZodOptional<z.ZodUUID>;
|
|
61
|
-
meetingPoint: z.ZodObject<{
|
|
62
|
-
name: z.ZodString;
|
|
63
|
-
address: z.ZodString;
|
|
64
|
-
coordinates: z.ZodOptional<z.ZodObject<{
|
|
65
|
-
latitude: z.ZodNumber;
|
|
66
|
-
longitude: z.ZodNumber;
|
|
67
|
-
}, z.core.$strip>>;
|
|
68
|
-
meetingTime: z.ZodString;
|
|
69
|
-
}, z.core.$strip>;
|
|
70
|
-
dropOffPoint: z.ZodOptional<z.ZodObject<{
|
|
71
|
-
name: z.ZodString;
|
|
72
|
-
address: z.ZodString;
|
|
73
|
-
coordinates: z.ZodOptional<z.ZodObject<{
|
|
74
|
-
latitude: z.ZodNumber;
|
|
75
|
-
longitude: z.ZodNumber;
|
|
76
|
-
}, z.core.$strip>>;
|
|
77
|
-
estimatedTime: z.ZodString;
|
|
78
|
-
}, z.core.$strip>>;
|
|
79
|
-
accommodationSetId: z.ZodOptional<z.ZodUUID>;
|
|
80
|
-
specialRequirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
81
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
82
|
-
}, z.core.$strip>;
|
|
83
|
-
export declare const cruiseDepartureSchema: z.ZodObject<{
|
|
84
|
-
id: z.ZodUUID;
|
|
85
|
-
productId: z.ZodUUID;
|
|
86
|
-
departureDate: z.ZodString;
|
|
87
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
88
|
-
status: z.ZodEnum<{
|
|
89
|
-
completed: "completed";
|
|
90
|
-
cancelled: "cancelled";
|
|
91
|
-
scheduled: "scheduled";
|
|
92
|
-
confirmed: "confirmed";
|
|
93
|
-
departed: "departed";
|
|
94
|
-
postponed: "postponed";
|
|
95
|
-
}>;
|
|
96
|
-
totalCapacity: z.ZodNumber;
|
|
97
|
-
availableCapacity: z.ZodNumber;
|
|
98
|
-
reservedCapacity: z.ZodNumber;
|
|
99
|
-
confirmedCapacity: z.ZodNumber;
|
|
100
|
-
currency: z.ZodString;
|
|
101
|
-
basePrice: z.ZodNumber;
|
|
102
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
103
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
104
|
-
createdAt: z.ZodDate;
|
|
105
|
-
updatedAt: z.ZodDate;
|
|
106
|
-
type: z.ZodLiteral<"cruise">;
|
|
107
|
-
shipId: z.ZodUUID;
|
|
108
|
-
itineraryId: z.ZodUUID;
|
|
109
|
-
embarkationPort: z.ZodObject<{
|
|
110
|
-
portId: z.ZodUUID;
|
|
111
|
-
name: z.ZodString;
|
|
112
|
-
city: z.ZodString;
|
|
113
|
-
country: z.ZodString;
|
|
114
|
-
embarkationTime: z.ZodString;
|
|
115
|
-
}, z.core.$strip>;
|
|
116
|
-
disembarkationPort: z.ZodObject<{
|
|
117
|
-
portId: z.ZodUUID;
|
|
118
|
-
name: z.ZodString;
|
|
119
|
-
city: z.ZodString;
|
|
120
|
-
country: z.ZodString;
|
|
121
|
-
disembarkationTime: z.ZodString;
|
|
122
|
-
}, z.core.$strip>;
|
|
123
|
-
cabinCategories: z.ZodArray<z.ZodUUID>;
|
|
124
|
-
specialEvents: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
125
|
-
name: z.ZodString;
|
|
126
|
-
date: z.ZodString;
|
|
127
|
-
time: z.ZodOptional<z.ZodString>;
|
|
128
|
-
location: z.ZodOptional<z.ZodString>;
|
|
129
|
-
}, z.core.$strip>>>;
|
|
130
|
-
}, z.core.$strip>;
|
|
131
|
-
export declare const experienceDepartureSchema: z.ZodObject<{
|
|
132
|
-
id: z.ZodUUID;
|
|
133
|
-
productId: z.ZodUUID;
|
|
134
|
-
departureDate: z.ZodString;
|
|
135
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
136
|
-
status: z.ZodEnum<{
|
|
137
|
-
completed: "completed";
|
|
138
|
-
cancelled: "cancelled";
|
|
139
|
-
scheduled: "scheduled";
|
|
140
|
-
confirmed: "confirmed";
|
|
141
|
-
departed: "departed";
|
|
142
|
-
postponed: "postponed";
|
|
143
|
-
}>;
|
|
144
|
-
totalCapacity: z.ZodNumber;
|
|
145
|
-
availableCapacity: z.ZodNumber;
|
|
146
|
-
reservedCapacity: z.ZodNumber;
|
|
147
|
-
confirmedCapacity: z.ZodNumber;
|
|
148
|
-
currency: z.ZodString;
|
|
149
|
-
basePrice: z.ZodNumber;
|
|
150
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
151
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
152
|
-
createdAt: z.ZodDate;
|
|
153
|
-
updatedAt: z.ZodDate;
|
|
154
|
-
type: z.ZodLiteral<"experience">;
|
|
155
|
-
startTime: z.ZodString;
|
|
156
|
-
endTime: z.ZodString;
|
|
157
|
-
duration: z.ZodObject<{
|
|
158
|
-
hours: z.ZodNumber;
|
|
159
|
-
minutes: z.ZodOptional<z.ZodNumber>;
|
|
160
|
-
}, z.core.$strip>;
|
|
161
|
-
location: z.ZodObject<{
|
|
162
|
-
name: z.ZodString;
|
|
163
|
-
address: z.ZodString;
|
|
164
|
-
coordinates: z.ZodOptional<z.ZodObject<{
|
|
165
|
-
latitude: z.ZodNumber;
|
|
166
|
-
longitude: z.ZodNumber;
|
|
167
|
-
}, z.core.$strip>>;
|
|
168
|
-
}, z.core.$strip>;
|
|
169
|
-
instructorId: z.ZodOptional<z.ZodUUID>;
|
|
170
|
-
equipmentProvided: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
171
|
-
equipmentRequired: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
172
|
-
weatherDependent: z.ZodDefault<z.ZodBoolean>;
|
|
173
|
-
weatherAlternative: z.ZodOptional<z.ZodString>;
|
|
174
|
-
}, z.core.$strip>;
|
|
175
|
-
export declare const accommodationDepartureSchema: z.ZodObject<{
|
|
176
|
-
id: z.ZodUUID;
|
|
177
|
-
productId: z.ZodUUID;
|
|
178
|
-
departureDate: z.ZodString;
|
|
179
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
180
|
-
status: z.ZodEnum<{
|
|
181
|
-
completed: "completed";
|
|
182
|
-
cancelled: "cancelled";
|
|
183
|
-
scheduled: "scheduled";
|
|
184
|
-
confirmed: "confirmed";
|
|
185
|
-
departed: "departed";
|
|
186
|
-
postponed: "postponed";
|
|
187
|
-
}>;
|
|
188
|
-
totalCapacity: z.ZodNumber;
|
|
189
|
-
availableCapacity: z.ZodNumber;
|
|
190
|
-
reservedCapacity: z.ZodNumber;
|
|
191
|
-
confirmedCapacity: z.ZodNumber;
|
|
192
|
-
currency: z.ZodString;
|
|
193
|
-
basePrice: z.ZodNumber;
|
|
194
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
195
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
196
|
-
createdAt: z.ZodDate;
|
|
197
|
-
updatedAt: z.ZodDate;
|
|
198
|
-
type: z.ZodLiteral<"accommodation">;
|
|
199
|
-
propertyId: z.ZodUUID;
|
|
200
|
-
roomTypeIds: z.ZodArray<z.ZodUUID>;
|
|
201
|
-
checkInTime: z.ZodString;
|
|
202
|
-
checkOutTime: z.ZodString;
|
|
203
|
-
minStay: z.ZodOptional<z.ZodNumber>;
|
|
204
|
-
maxStay: z.ZodOptional<z.ZodNumber>;
|
|
205
|
-
roomAvailability: z.ZodArray<z.ZodObject<{
|
|
206
|
-
roomTypeId: z.ZodUUID;
|
|
207
|
-
totalRooms: z.ZodNumber;
|
|
208
|
-
availableRooms: z.ZodNumber;
|
|
209
|
-
}, z.core.$strip>>;
|
|
210
|
-
}, z.core.$strip>;
|
|
211
|
-
export declare const departureSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
212
|
-
id: z.ZodUUID;
|
|
213
|
-
productId: z.ZodUUID;
|
|
214
|
-
departureDate: z.ZodString;
|
|
215
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
216
|
-
status: z.ZodEnum<{
|
|
217
|
-
completed: "completed";
|
|
218
|
-
cancelled: "cancelled";
|
|
219
|
-
scheduled: "scheduled";
|
|
220
|
-
confirmed: "confirmed";
|
|
221
|
-
departed: "departed";
|
|
222
|
-
postponed: "postponed";
|
|
223
|
-
}>;
|
|
224
|
-
totalCapacity: z.ZodNumber;
|
|
225
|
-
availableCapacity: z.ZodNumber;
|
|
226
|
-
reservedCapacity: z.ZodNumber;
|
|
227
|
-
confirmedCapacity: z.ZodNumber;
|
|
228
|
-
currency: z.ZodString;
|
|
229
|
-
basePrice: z.ZodNumber;
|
|
230
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
231
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
232
|
-
createdAt: z.ZodDate;
|
|
233
|
-
updatedAt: z.ZodDate;
|
|
234
|
-
type: z.ZodLiteral<"tour">;
|
|
235
|
-
itineraryVersionId: z.ZodUUID;
|
|
236
|
-
guideId: z.ZodOptional<z.ZodUUID>;
|
|
237
|
-
vehicleId: z.ZodOptional<z.ZodUUID>;
|
|
238
|
-
meetingPoint: z.ZodObject<{
|
|
239
|
-
name: z.ZodString;
|
|
240
|
-
address: z.ZodString;
|
|
241
|
-
coordinates: z.ZodOptional<z.ZodObject<{
|
|
242
|
-
latitude: z.ZodNumber;
|
|
243
|
-
longitude: z.ZodNumber;
|
|
244
|
-
}, z.core.$strip>>;
|
|
245
|
-
meetingTime: z.ZodString;
|
|
246
|
-
}, z.core.$strip>;
|
|
247
|
-
dropOffPoint: z.ZodOptional<z.ZodObject<{
|
|
248
|
-
name: z.ZodString;
|
|
249
|
-
address: z.ZodString;
|
|
250
|
-
coordinates: z.ZodOptional<z.ZodObject<{
|
|
251
|
-
latitude: z.ZodNumber;
|
|
252
|
-
longitude: z.ZodNumber;
|
|
253
|
-
}, z.core.$strip>>;
|
|
254
|
-
estimatedTime: z.ZodString;
|
|
255
|
-
}, z.core.$strip>>;
|
|
256
|
-
accommodationSetId: z.ZodOptional<z.ZodUUID>;
|
|
257
|
-
specialRequirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
258
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
259
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
260
|
-
id: z.ZodUUID;
|
|
261
|
-
productId: z.ZodUUID;
|
|
262
|
-
departureDate: z.ZodString;
|
|
263
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
264
|
-
status: z.ZodEnum<{
|
|
265
|
-
completed: "completed";
|
|
266
|
-
cancelled: "cancelled";
|
|
267
|
-
scheduled: "scheduled";
|
|
268
|
-
confirmed: "confirmed";
|
|
269
|
-
departed: "departed";
|
|
270
|
-
postponed: "postponed";
|
|
271
|
-
}>;
|
|
272
|
-
totalCapacity: z.ZodNumber;
|
|
273
|
-
availableCapacity: z.ZodNumber;
|
|
274
|
-
reservedCapacity: z.ZodNumber;
|
|
275
|
-
confirmedCapacity: z.ZodNumber;
|
|
276
|
-
currency: z.ZodString;
|
|
277
|
-
basePrice: z.ZodNumber;
|
|
278
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
279
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
280
|
-
createdAt: z.ZodDate;
|
|
281
|
-
updatedAt: z.ZodDate;
|
|
282
|
-
type: z.ZodLiteral<"cruise">;
|
|
283
|
-
shipId: z.ZodUUID;
|
|
284
|
-
itineraryId: z.ZodUUID;
|
|
285
|
-
embarkationPort: z.ZodObject<{
|
|
286
|
-
portId: z.ZodUUID;
|
|
287
|
-
name: z.ZodString;
|
|
288
|
-
city: z.ZodString;
|
|
289
|
-
country: z.ZodString;
|
|
290
|
-
embarkationTime: z.ZodString;
|
|
291
|
-
}, z.core.$strip>;
|
|
292
|
-
disembarkationPort: z.ZodObject<{
|
|
293
|
-
portId: z.ZodUUID;
|
|
294
|
-
name: z.ZodString;
|
|
295
|
-
city: z.ZodString;
|
|
296
|
-
country: z.ZodString;
|
|
297
|
-
disembarkationTime: z.ZodString;
|
|
298
|
-
}, z.core.$strip>;
|
|
299
|
-
cabinCategories: z.ZodArray<z.ZodUUID>;
|
|
300
|
-
specialEvents: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
301
|
-
name: z.ZodString;
|
|
302
|
-
date: z.ZodString;
|
|
303
|
-
time: z.ZodOptional<z.ZodString>;
|
|
304
|
-
location: z.ZodOptional<z.ZodString>;
|
|
305
|
-
}, z.core.$strip>>>;
|
|
306
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
307
|
-
id: z.ZodUUID;
|
|
308
|
-
productId: z.ZodUUID;
|
|
309
|
-
departureDate: z.ZodString;
|
|
310
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
311
|
-
status: z.ZodEnum<{
|
|
312
|
-
completed: "completed";
|
|
313
|
-
cancelled: "cancelled";
|
|
314
|
-
scheduled: "scheduled";
|
|
315
|
-
confirmed: "confirmed";
|
|
316
|
-
departed: "departed";
|
|
317
|
-
postponed: "postponed";
|
|
318
|
-
}>;
|
|
319
|
-
totalCapacity: z.ZodNumber;
|
|
320
|
-
availableCapacity: z.ZodNumber;
|
|
321
|
-
reservedCapacity: z.ZodNumber;
|
|
322
|
-
confirmedCapacity: z.ZodNumber;
|
|
323
|
-
currency: z.ZodString;
|
|
324
|
-
basePrice: z.ZodNumber;
|
|
325
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
326
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
327
|
-
createdAt: z.ZodDate;
|
|
328
|
-
updatedAt: z.ZodDate;
|
|
329
|
-
type: z.ZodLiteral<"experience">;
|
|
330
|
-
startTime: z.ZodString;
|
|
331
|
-
endTime: z.ZodString;
|
|
332
|
-
duration: z.ZodObject<{
|
|
333
|
-
hours: z.ZodNumber;
|
|
334
|
-
minutes: z.ZodOptional<z.ZodNumber>;
|
|
335
|
-
}, z.core.$strip>;
|
|
336
|
-
location: z.ZodObject<{
|
|
337
|
-
name: z.ZodString;
|
|
338
|
-
address: z.ZodString;
|
|
339
|
-
coordinates: z.ZodOptional<z.ZodObject<{
|
|
340
|
-
latitude: z.ZodNumber;
|
|
341
|
-
longitude: z.ZodNumber;
|
|
342
|
-
}, z.core.$strip>>;
|
|
343
|
-
}, z.core.$strip>;
|
|
344
|
-
instructorId: z.ZodOptional<z.ZodUUID>;
|
|
345
|
-
equipmentProvided: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
346
|
-
equipmentRequired: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
347
|
-
weatherDependent: z.ZodDefault<z.ZodBoolean>;
|
|
348
|
-
weatherAlternative: z.ZodOptional<z.ZodString>;
|
|
349
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
350
|
-
id: z.ZodUUID;
|
|
351
|
-
productId: z.ZodUUID;
|
|
352
|
-
departureDate: z.ZodString;
|
|
353
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
354
|
-
status: z.ZodEnum<{
|
|
355
|
-
completed: "completed";
|
|
356
|
-
cancelled: "cancelled";
|
|
357
|
-
scheduled: "scheduled";
|
|
358
|
-
confirmed: "confirmed";
|
|
359
|
-
departed: "departed";
|
|
360
|
-
postponed: "postponed";
|
|
361
|
-
}>;
|
|
362
|
-
totalCapacity: z.ZodNumber;
|
|
363
|
-
availableCapacity: z.ZodNumber;
|
|
364
|
-
reservedCapacity: z.ZodNumber;
|
|
365
|
-
confirmedCapacity: z.ZodNumber;
|
|
366
|
-
currency: z.ZodString;
|
|
367
|
-
basePrice: z.ZodNumber;
|
|
368
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
369
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
370
|
-
createdAt: z.ZodDate;
|
|
371
|
-
updatedAt: z.ZodDate;
|
|
372
|
-
type: z.ZodLiteral<"accommodation">;
|
|
373
|
-
propertyId: z.ZodUUID;
|
|
374
|
-
roomTypeIds: z.ZodArray<z.ZodUUID>;
|
|
375
|
-
checkInTime: z.ZodString;
|
|
376
|
-
checkOutTime: z.ZodString;
|
|
377
|
-
minStay: z.ZodOptional<z.ZodNumber>;
|
|
378
|
-
maxStay: z.ZodOptional<z.ZodNumber>;
|
|
379
|
-
roomAvailability: z.ZodArray<z.ZodObject<{
|
|
380
|
-
roomTypeId: z.ZodUUID;
|
|
381
|
-
totalRooms: z.ZodNumber;
|
|
382
|
-
availableRooms: z.ZodNumber;
|
|
383
|
-
}, z.core.$strip>>;
|
|
384
|
-
}, z.core.$strip>], "type">;
|
|
385
|
-
export declare const departurePricingSchema: z.ZodObject<{
|
|
386
|
-
id: z.ZodUUID;
|
|
387
|
-
departureId: z.ZodUUID;
|
|
388
|
-
ratePlanId: z.ZodUUID;
|
|
389
|
-
currency: z.ZodString;
|
|
390
|
-
baseAmount: z.ZodNumber;
|
|
391
|
-
singleSupplement: z.ZodOptional<z.ZodNumber>;
|
|
392
|
-
childReduction: z.ZodOptional<z.ZodNumber>;
|
|
393
|
-
taxesFees: z.ZodOptional<z.ZodObject<{
|
|
394
|
-
taxRate: z.ZodOptional<z.ZodNumber>;
|
|
395
|
-
serviceFee: z.ZodOptional<z.ZodNumber>;
|
|
396
|
-
cityTax: z.ZodOptional<z.ZodNumber>;
|
|
397
|
-
otherFees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
398
|
-
name: z.ZodString;
|
|
399
|
-
amount: z.ZodNumber;
|
|
400
|
-
type: z.ZodEnum<{
|
|
401
|
-
fixed: "fixed";
|
|
402
|
-
percentage: "percentage";
|
|
403
|
-
}>;
|
|
404
|
-
}, z.core.$strip>>>;
|
|
405
|
-
}, z.core.$strip>>;
|
|
406
|
-
effectiveFrom: z.ZodDate;
|
|
407
|
-
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
408
|
-
version: z.ZodNumber;
|
|
409
|
-
createdAt: z.ZodDate;
|
|
410
|
-
updatedAt: z.ZodDate;
|
|
411
|
-
}, z.core.$strip>;
|
|
412
|
-
export declare const departureSearchCriteriaSchema: z.ZodObject<{
|
|
413
|
-
productId: z.ZodUUID;
|
|
414
|
-
departureDateFrom: z.ZodOptional<z.ZodString>;
|
|
415
|
-
departureDateTo: z.ZodOptional<z.ZodString>;
|
|
416
|
-
status: z.ZodOptional<z.ZodArray<z.ZodEnum<{
|
|
417
|
-
completed: "completed";
|
|
418
|
-
cancelled: "cancelled";
|
|
419
|
-
scheduled: "scheduled";
|
|
420
|
-
confirmed: "confirmed";
|
|
421
|
-
departed: "departed";
|
|
422
|
-
postponed: "postponed";
|
|
423
|
-
}>>>;
|
|
424
|
-
minAvailability: z.ZodOptional<z.ZodNumber>;
|
|
425
|
-
maxPrice: z.ZodOptional<z.ZodNumber>;
|
|
426
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
427
|
-
}, z.core.$strip>;
|
|
428
|
-
export declare const departureSearchResultSchema: z.ZodObject<{
|
|
429
|
-
departure: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
430
|
-
id: z.ZodUUID;
|
|
431
|
-
productId: z.ZodUUID;
|
|
432
|
-
departureDate: z.ZodString;
|
|
433
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
434
|
-
status: z.ZodEnum<{
|
|
435
|
-
completed: "completed";
|
|
436
|
-
cancelled: "cancelled";
|
|
437
|
-
scheduled: "scheduled";
|
|
438
|
-
confirmed: "confirmed";
|
|
439
|
-
departed: "departed";
|
|
440
|
-
postponed: "postponed";
|
|
441
|
-
}>;
|
|
442
|
-
totalCapacity: z.ZodNumber;
|
|
443
|
-
availableCapacity: z.ZodNumber;
|
|
444
|
-
reservedCapacity: z.ZodNumber;
|
|
445
|
-
confirmedCapacity: z.ZodNumber;
|
|
446
|
-
currency: z.ZodString;
|
|
447
|
-
basePrice: z.ZodNumber;
|
|
448
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
449
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
450
|
-
createdAt: z.ZodDate;
|
|
451
|
-
updatedAt: z.ZodDate;
|
|
452
|
-
type: z.ZodLiteral<"tour">;
|
|
453
|
-
itineraryVersionId: z.ZodUUID;
|
|
454
|
-
guideId: z.ZodOptional<z.ZodUUID>;
|
|
455
|
-
vehicleId: z.ZodOptional<z.ZodUUID>;
|
|
456
|
-
meetingPoint: z.ZodObject<{
|
|
457
|
-
name: z.ZodString;
|
|
458
|
-
address: z.ZodString;
|
|
459
|
-
coordinates: z.ZodOptional<z.ZodObject<{
|
|
460
|
-
latitude: z.ZodNumber;
|
|
461
|
-
longitude: z.ZodNumber;
|
|
462
|
-
}, z.core.$strip>>;
|
|
463
|
-
meetingTime: z.ZodString;
|
|
464
|
-
}, z.core.$strip>;
|
|
465
|
-
dropOffPoint: z.ZodOptional<z.ZodObject<{
|
|
466
|
-
name: z.ZodString;
|
|
467
|
-
address: z.ZodString;
|
|
468
|
-
coordinates: z.ZodOptional<z.ZodObject<{
|
|
469
|
-
latitude: z.ZodNumber;
|
|
470
|
-
longitude: z.ZodNumber;
|
|
471
|
-
}, z.core.$strip>>;
|
|
472
|
-
estimatedTime: z.ZodString;
|
|
473
|
-
}, z.core.$strip>>;
|
|
474
|
-
accommodationSetId: z.ZodOptional<z.ZodUUID>;
|
|
475
|
-
specialRequirements: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
476
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
477
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
478
|
-
id: z.ZodUUID;
|
|
479
|
-
productId: z.ZodUUID;
|
|
480
|
-
departureDate: z.ZodString;
|
|
481
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
482
|
-
status: z.ZodEnum<{
|
|
483
|
-
completed: "completed";
|
|
484
|
-
cancelled: "cancelled";
|
|
485
|
-
scheduled: "scheduled";
|
|
486
|
-
confirmed: "confirmed";
|
|
487
|
-
departed: "departed";
|
|
488
|
-
postponed: "postponed";
|
|
489
|
-
}>;
|
|
490
|
-
totalCapacity: z.ZodNumber;
|
|
491
|
-
availableCapacity: z.ZodNumber;
|
|
492
|
-
reservedCapacity: z.ZodNumber;
|
|
493
|
-
confirmedCapacity: z.ZodNumber;
|
|
494
|
-
currency: z.ZodString;
|
|
495
|
-
basePrice: z.ZodNumber;
|
|
496
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
497
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
498
|
-
createdAt: z.ZodDate;
|
|
499
|
-
updatedAt: z.ZodDate;
|
|
500
|
-
type: z.ZodLiteral<"cruise">;
|
|
501
|
-
shipId: z.ZodUUID;
|
|
502
|
-
itineraryId: z.ZodUUID;
|
|
503
|
-
embarkationPort: z.ZodObject<{
|
|
504
|
-
portId: z.ZodUUID;
|
|
505
|
-
name: z.ZodString;
|
|
506
|
-
city: z.ZodString;
|
|
507
|
-
country: z.ZodString;
|
|
508
|
-
embarkationTime: z.ZodString;
|
|
509
|
-
}, z.core.$strip>;
|
|
510
|
-
disembarkationPort: z.ZodObject<{
|
|
511
|
-
portId: z.ZodUUID;
|
|
512
|
-
name: z.ZodString;
|
|
513
|
-
city: z.ZodString;
|
|
514
|
-
country: z.ZodString;
|
|
515
|
-
disembarkationTime: z.ZodString;
|
|
516
|
-
}, z.core.$strip>;
|
|
517
|
-
cabinCategories: z.ZodArray<z.ZodUUID>;
|
|
518
|
-
specialEvents: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
519
|
-
name: z.ZodString;
|
|
520
|
-
date: z.ZodString;
|
|
521
|
-
time: z.ZodOptional<z.ZodString>;
|
|
522
|
-
location: z.ZodOptional<z.ZodString>;
|
|
523
|
-
}, z.core.$strip>>>;
|
|
524
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
525
|
-
id: z.ZodUUID;
|
|
526
|
-
productId: z.ZodUUID;
|
|
527
|
-
departureDate: z.ZodString;
|
|
528
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
529
|
-
status: z.ZodEnum<{
|
|
530
|
-
completed: "completed";
|
|
531
|
-
cancelled: "cancelled";
|
|
532
|
-
scheduled: "scheduled";
|
|
533
|
-
confirmed: "confirmed";
|
|
534
|
-
departed: "departed";
|
|
535
|
-
postponed: "postponed";
|
|
536
|
-
}>;
|
|
537
|
-
totalCapacity: z.ZodNumber;
|
|
538
|
-
availableCapacity: z.ZodNumber;
|
|
539
|
-
reservedCapacity: z.ZodNumber;
|
|
540
|
-
confirmedCapacity: z.ZodNumber;
|
|
541
|
-
currency: z.ZodString;
|
|
542
|
-
basePrice: z.ZodNumber;
|
|
543
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
544
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
545
|
-
createdAt: z.ZodDate;
|
|
546
|
-
updatedAt: z.ZodDate;
|
|
547
|
-
type: z.ZodLiteral<"experience">;
|
|
548
|
-
startTime: z.ZodString;
|
|
549
|
-
endTime: z.ZodString;
|
|
550
|
-
duration: z.ZodObject<{
|
|
551
|
-
hours: z.ZodNumber;
|
|
552
|
-
minutes: z.ZodOptional<z.ZodNumber>;
|
|
553
|
-
}, z.core.$strip>;
|
|
554
|
-
location: z.ZodObject<{
|
|
555
|
-
name: z.ZodString;
|
|
556
|
-
address: z.ZodString;
|
|
557
|
-
coordinates: z.ZodOptional<z.ZodObject<{
|
|
558
|
-
latitude: z.ZodNumber;
|
|
559
|
-
longitude: z.ZodNumber;
|
|
560
|
-
}, z.core.$strip>>;
|
|
561
|
-
}, z.core.$strip>;
|
|
562
|
-
instructorId: z.ZodOptional<z.ZodUUID>;
|
|
563
|
-
equipmentProvided: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
564
|
-
equipmentRequired: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
565
|
-
weatherDependent: z.ZodDefault<z.ZodBoolean>;
|
|
566
|
-
weatherAlternative: z.ZodOptional<z.ZodString>;
|
|
567
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
568
|
-
id: z.ZodUUID;
|
|
569
|
-
productId: z.ZodUUID;
|
|
570
|
-
departureDate: z.ZodString;
|
|
571
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
572
|
-
status: z.ZodEnum<{
|
|
573
|
-
completed: "completed";
|
|
574
|
-
cancelled: "cancelled";
|
|
575
|
-
scheduled: "scheduled";
|
|
576
|
-
confirmed: "confirmed";
|
|
577
|
-
departed: "departed";
|
|
578
|
-
postponed: "postponed";
|
|
579
|
-
}>;
|
|
580
|
-
totalCapacity: z.ZodNumber;
|
|
581
|
-
availableCapacity: z.ZodNumber;
|
|
582
|
-
reservedCapacity: z.ZodNumber;
|
|
583
|
-
confirmedCapacity: z.ZodNumber;
|
|
584
|
-
currency: z.ZodString;
|
|
585
|
-
basePrice: z.ZodNumber;
|
|
586
|
-
bookingDeadline: z.ZodOptional<z.ZodString>;
|
|
587
|
-
cancellationDeadline: z.ZodOptional<z.ZodString>;
|
|
588
|
-
createdAt: z.ZodDate;
|
|
589
|
-
updatedAt: z.ZodDate;
|
|
590
|
-
type: z.ZodLiteral<"accommodation">;
|
|
591
|
-
propertyId: z.ZodUUID;
|
|
592
|
-
roomTypeIds: z.ZodArray<z.ZodUUID>;
|
|
593
|
-
checkInTime: z.ZodString;
|
|
594
|
-
checkOutTime: z.ZodString;
|
|
595
|
-
minStay: z.ZodOptional<z.ZodNumber>;
|
|
596
|
-
maxStay: z.ZodOptional<z.ZodNumber>;
|
|
597
|
-
roomAvailability: z.ZodArray<z.ZodObject<{
|
|
598
|
-
roomTypeId: z.ZodUUID;
|
|
599
|
-
totalRooms: z.ZodNumber;
|
|
600
|
-
availableRooms: z.ZodNumber;
|
|
601
|
-
}, z.core.$strip>>;
|
|
602
|
-
}, z.core.$strip>], "type">;
|
|
603
|
-
pricing: z.ZodArray<z.ZodObject<{
|
|
604
|
-
id: z.ZodUUID;
|
|
605
|
-
departureId: z.ZodUUID;
|
|
606
|
-
ratePlanId: z.ZodUUID;
|
|
607
|
-
currency: z.ZodString;
|
|
608
|
-
baseAmount: z.ZodNumber;
|
|
609
|
-
singleSupplement: z.ZodOptional<z.ZodNumber>;
|
|
610
|
-
childReduction: z.ZodOptional<z.ZodNumber>;
|
|
611
|
-
taxesFees: z.ZodOptional<z.ZodObject<{
|
|
612
|
-
taxRate: z.ZodOptional<z.ZodNumber>;
|
|
613
|
-
serviceFee: z.ZodOptional<z.ZodNumber>;
|
|
614
|
-
cityTax: z.ZodOptional<z.ZodNumber>;
|
|
615
|
-
otherFees: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
616
|
-
name: z.ZodString;
|
|
617
|
-
amount: z.ZodNumber;
|
|
618
|
-
type: z.ZodEnum<{
|
|
619
|
-
fixed: "fixed";
|
|
620
|
-
percentage: "percentage";
|
|
621
|
-
}>;
|
|
622
|
-
}, z.core.$strip>>>;
|
|
623
|
-
}, z.core.$strip>>;
|
|
624
|
-
effectiveFrom: z.ZodDate;
|
|
625
|
-
effectiveTo: z.ZodOptional<z.ZodDate>;
|
|
626
|
-
version: z.ZodNumber;
|
|
627
|
-
createdAt: z.ZodDate;
|
|
628
|
-
updatedAt: z.ZodDate;
|
|
629
|
-
}, z.core.$strip>>;
|
|
630
|
-
availability: z.ZodObject<{
|
|
631
|
-
total: z.ZodNumber;
|
|
632
|
-
available: z.ZodNumber;
|
|
633
|
-
reserved: z.ZodNumber;
|
|
634
|
-
confirmed: z.ZodNumber;
|
|
635
|
-
}, z.core.$strip>;
|
|
636
|
-
}, z.core.$strip>;
|
|
637
|
-
export declare const departureListItemSchema: z.ZodObject<{
|
|
638
|
-
id: z.ZodUUID;
|
|
639
|
-
createdAt: z.ZodDate;
|
|
640
|
-
updatedAt: z.ZodDate;
|
|
641
|
-
status: z.ZodEnum<{
|
|
642
|
-
completed: "completed";
|
|
643
|
-
cancelled: "cancelled";
|
|
644
|
-
scheduled: "scheduled";
|
|
645
|
-
confirmed: "confirmed";
|
|
646
|
-
departed: "departed";
|
|
647
|
-
postponed: "postponed";
|
|
648
|
-
}>;
|
|
649
|
-
productId: z.ZodUUID;
|
|
650
|
-
currency: z.ZodString;
|
|
651
|
-
basePrice: z.ZodNumber;
|
|
652
|
-
departureDate: z.ZodString;
|
|
653
|
-
returnDate: z.ZodOptional<z.ZodString>;
|
|
654
|
-
totalCapacity: z.ZodNumber;
|
|
655
|
-
availableCapacity: z.ZodNumber;
|
|
656
|
-
}, z.core.$strip>;
|
|
657
|
-
export type DepartureStatus = z.infer<typeof departureStatusSchema>;
|
|
658
|
-
export type BaseDeparture = z.infer<typeof baseDepartureSchema>;
|
|
659
|
-
export type TourDeparture = z.infer<typeof tourDepartureSchema>;
|
|
660
|
-
export type CruiseDeparture = z.infer<typeof cruiseDepartureSchema>;
|
|
661
|
-
export type ExperienceDeparture = z.infer<typeof experienceDepartureSchema>;
|
|
662
|
-
export type AccommodationDeparture = z.infer<typeof accommodationDepartureSchema>;
|
|
663
|
-
export type Departure = z.infer<typeof departureSchema>;
|
|
664
|
-
export type DeparturePricing = z.infer<typeof departurePricingSchema>;
|
|
665
|
-
export type DepartureSearchCriteria = z.infer<typeof departureSearchCriteriaSchema>;
|
|
666
|
-
export type DepartureSearchResult = z.infer<typeof departureSearchResultSchema>;
|
|
667
|
-
export type DepartureListItem = z.infer<typeof departureListItemSchema>;
|
|
668
|
-
export declare const validateDeparture: (data: unknown) => Departure;
|
|
669
|
-
export declare const validateDepartureSearchCriteria: (data: unknown) => DepartureSearchCriteria;
|
|
670
|
-
export declare const validateDeparturePricing: (data: unknown) => DeparturePricing;
|
|
671
|
-
//# sourceMappingURL=departure.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"departure.d.ts","sourceRoot":"","sources":["../../src/travel-products/departure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAKvB,eAAO,MAAM,qBAAqB;;;;;;;EAOhC,CAAA;AAGF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;iBAwB9B,CAAA;AAGF,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAoC9B,CAAA;AAGF,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAkChC,CAAA;AAGF,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBA+BpC,CAAA;AAGF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAqBvC,CAAA;AAGF,eAAO,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BAK1B,CAAA;AAGF,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;iBAiBjC,CAAA;AAGF,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;iBAQxC,CAAA;AAGF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iBAStC,CAAA;AAGF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;iBAYlC,CAAA;AAGF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AACnE,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAC/D,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,mBAAmB,CAAC,CAAA;AAC/D,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,qBAAqB,CAAC,CAAA;AACnE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAC3E,MAAM,MAAM,sBAAsB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,4BAA4B,CAAC,CAAA;AACjF,MAAM,MAAM,SAAS,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,eAAe,CAAC,CAAA;AACvD,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAA;AACrE,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,6BAA6B,CAAC,CAAA;AACnF,MAAM,MAAM,qBAAqB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,2BAA2B,CAAC,CAAA;AAC/E,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAGvE,eAAO,MAAM,iBAAiB,GAAI,MAAM,OAAO,KAAG,SAEjD,CAAA;AAED,eAAO,MAAM,+BAA+B,GAAI,MAAM,OAAO,KAAG,uBAE/D,CAAA;AAED,eAAO,MAAM,wBAAwB,GAAI,MAAM,OAAO,KAAG,gBAExD,CAAA"}
|