@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,860 +0,0 @@
|
|
|
1
|
-
import { z } from 'zod';
|
|
2
|
-
export declare const policyTypeSchema: z.ZodEnum<{
|
|
3
|
-
cancellation: "cancellation";
|
|
4
|
-
payment_terms: "payment_terms";
|
|
5
|
-
refund: "refund";
|
|
6
|
-
modification: "modification";
|
|
7
|
-
force_majeure: "force_majeure";
|
|
8
|
-
liability: "liability";
|
|
9
|
-
insurance: "insurance";
|
|
10
|
-
terms_conditions: "terms_conditions";
|
|
11
|
-
}>;
|
|
12
|
-
export declare const policyStatusSchema: z.ZodEnum<{
|
|
13
|
-
draft: "draft";
|
|
14
|
-
active: "active";
|
|
15
|
-
archived: "archived";
|
|
16
|
-
inactive: "inactive";
|
|
17
|
-
}>;
|
|
18
|
-
export declare const basePolicySchema: z.ZodObject<{
|
|
19
|
-
id: z.ZodUUID;
|
|
20
|
-
name: z.ZodString;
|
|
21
|
-
description: z.ZodOptional<z.ZodString>;
|
|
22
|
-
type: z.ZodEnum<{
|
|
23
|
-
cancellation: "cancellation";
|
|
24
|
-
payment_terms: "payment_terms";
|
|
25
|
-
refund: "refund";
|
|
26
|
-
modification: "modification";
|
|
27
|
-
force_majeure: "force_majeure";
|
|
28
|
-
liability: "liability";
|
|
29
|
-
insurance: "insurance";
|
|
30
|
-
terms_conditions: "terms_conditions";
|
|
31
|
-
}>;
|
|
32
|
-
status: z.ZodEnum<{
|
|
33
|
-
draft: "draft";
|
|
34
|
-
active: "active";
|
|
35
|
-
archived: "archived";
|
|
36
|
-
inactive: "inactive";
|
|
37
|
-
}>;
|
|
38
|
-
effectiveFrom: z.ZodDate;
|
|
39
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
40
|
-
createdAt: z.ZodDate;
|
|
41
|
-
updatedAt: z.ZodDate;
|
|
42
|
-
}, z.core.$strip>;
|
|
43
|
-
export declare const cancellationPolicySchema: z.ZodObject<{
|
|
44
|
-
id: z.ZodUUID;
|
|
45
|
-
name: z.ZodString;
|
|
46
|
-
description: z.ZodOptional<z.ZodString>;
|
|
47
|
-
status: z.ZodEnum<{
|
|
48
|
-
draft: "draft";
|
|
49
|
-
active: "active";
|
|
50
|
-
archived: "archived";
|
|
51
|
-
inactive: "inactive";
|
|
52
|
-
}>;
|
|
53
|
-
effectiveFrom: z.ZodDate;
|
|
54
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
55
|
-
createdAt: z.ZodDate;
|
|
56
|
-
updatedAt: z.ZodDate;
|
|
57
|
-
type: z.ZodLiteral<"cancellation">;
|
|
58
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
59
|
-
daysBeforeDeparture: z.ZodNumber;
|
|
60
|
-
cancellationFee: z.ZodObject<{
|
|
61
|
-
type: z.ZodEnum<{
|
|
62
|
-
percentage: "percentage";
|
|
63
|
-
fixed_amount: "fixed_amount";
|
|
64
|
-
}>;
|
|
65
|
-
value: z.ZodNumber;
|
|
66
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
67
|
-
}, z.core.$strip>;
|
|
68
|
-
refundPercentage: z.ZodNumber;
|
|
69
|
-
description: z.ZodOptional<z.ZodString>;
|
|
70
|
-
}, z.core.$strip>>;
|
|
71
|
-
noShowPolicy: z.ZodOptional<z.ZodObject<{
|
|
72
|
-
fee: z.ZodObject<{
|
|
73
|
-
type: z.ZodEnum<{
|
|
74
|
-
percentage: "percentage";
|
|
75
|
-
fixed_amount: "fixed_amount";
|
|
76
|
-
}>;
|
|
77
|
-
value: z.ZodNumber;
|
|
78
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
79
|
-
}, z.core.$strip>;
|
|
80
|
-
refundPercentage: z.ZodNumber;
|
|
81
|
-
}, z.core.$strip>>;
|
|
82
|
-
forceMajeure: z.ZodOptional<z.ZodObject<{
|
|
83
|
-
covered: z.ZodDefault<z.ZodBoolean>;
|
|
84
|
-
refundPercentage: z.ZodDefault<z.ZodNumber>;
|
|
85
|
-
conditions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
86
|
-
}, z.core.$strip>>;
|
|
87
|
-
minCancellationNotice: z.ZodOptional<z.ZodNumber>;
|
|
88
|
-
}, z.core.$strip>;
|
|
89
|
-
export declare const paymentTermsPolicySchema: z.ZodObject<{
|
|
90
|
-
id: z.ZodUUID;
|
|
91
|
-
name: z.ZodString;
|
|
92
|
-
description: z.ZodOptional<z.ZodString>;
|
|
93
|
-
status: z.ZodEnum<{
|
|
94
|
-
draft: "draft";
|
|
95
|
-
active: "active";
|
|
96
|
-
archived: "archived";
|
|
97
|
-
inactive: "inactive";
|
|
98
|
-
}>;
|
|
99
|
-
effectiveFrom: z.ZodDate;
|
|
100
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
101
|
-
createdAt: z.ZodDate;
|
|
102
|
-
updatedAt: z.ZodDate;
|
|
103
|
-
type: z.ZodLiteral<"payment_terms">;
|
|
104
|
-
paymentSchedule: z.ZodArray<z.ZodObject<{
|
|
105
|
-
name: z.ZodString;
|
|
106
|
-
percentage: z.ZodNumber;
|
|
107
|
-
dueDate: z.ZodObject<{
|
|
108
|
-
type: z.ZodEnum<{
|
|
109
|
-
days_before_departure: "days_before_departure";
|
|
110
|
-
days_after_booking: "days_after_booking";
|
|
111
|
-
fixed_date: "fixed_date";
|
|
112
|
-
}>;
|
|
113
|
-
value: z.ZodNumber;
|
|
114
|
-
}, z.core.$strip>;
|
|
115
|
-
description: z.ZodOptional<z.ZodString>;
|
|
116
|
-
}, z.core.$strip>>;
|
|
117
|
-
acceptedPaymentMethods: z.ZodArray<z.ZodEnum<{
|
|
118
|
-
credit_card: "credit_card";
|
|
119
|
-
debit_card: "debit_card";
|
|
120
|
-
bank_transfer: "bank_transfer";
|
|
121
|
-
paypal: "paypal";
|
|
122
|
-
apple_pay: "apple_pay";
|
|
123
|
-
google_pay: "google_pay";
|
|
124
|
-
cryptocurrency: "cryptocurrency";
|
|
125
|
-
cash: "cash";
|
|
126
|
-
}>>;
|
|
127
|
-
currency: z.ZodString;
|
|
128
|
-
latePaymentPolicy: z.ZodOptional<z.ZodObject<{
|
|
129
|
-
gracePeriod: z.ZodOptional<z.ZodNumber>;
|
|
130
|
-
lateFee: z.ZodOptional<z.ZodObject<{
|
|
131
|
-
type: z.ZodEnum<{
|
|
132
|
-
percentage: "percentage";
|
|
133
|
-
fixed_amount: "fixed_amount";
|
|
134
|
-
}>;
|
|
135
|
-
value: z.ZodNumber;
|
|
136
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
137
|
-
}, z.core.$strip>>;
|
|
138
|
-
consequences: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
139
|
-
}, z.core.$strip>>;
|
|
140
|
-
refundPolicy: z.ZodOptional<z.ZodObject<{
|
|
141
|
-
processingTime: z.ZodOptional<z.ZodNumber>;
|
|
142
|
-
refundMethod: z.ZodEnum<{
|
|
143
|
-
bank_transfer: "bank_transfer";
|
|
144
|
-
original_payment_method: "original_payment_method";
|
|
145
|
-
credit_note: "credit_note";
|
|
146
|
-
}>;
|
|
147
|
-
fees: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
148
|
-
name: z.ZodString;
|
|
149
|
-
amount: z.ZodNumber;
|
|
150
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
151
|
-
}, z.core.$strip>>>;
|
|
152
|
-
}, z.core.$strip>>;
|
|
153
|
-
}, z.core.$strip>;
|
|
154
|
-
export declare const refundPolicySchema: z.ZodObject<{
|
|
155
|
-
id: z.ZodUUID;
|
|
156
|
-
name: z.ZodString;
|
|
157
|
-
description: z.ZodOptional<z.ZodString>;
|
|
158
|
-
status: z.ZodEnum<{
|
|
159
|
-
draft: "draft";
|
|
160
|
-
active: "active";
|
|
161
|
-
archived: "archived";
|
|
162
|
-
inactive: "inactive";
|
|
163
|
-
}>;
|
|
164
|
-
effectiveFrom: z.ZodDate;
|
|
165
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
166
|
-
createdAt: z.ZodDate;
|
|
167
|
-
updatedAt: z.ZodDate;
|
|
168
|
-
type: z.ZodLiteral<"refund">;
|
|
169
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
170
|
-
daysBeforeDeparture: z.ZodNumber;
|
|
171
|
-
refundPercentage: z.ZodNumber;
|
|
172
|
-
processingFee: z.ZodOptional<z.ZodObject<{
|
|
173
|
-
type: z.ZodEnum<{
|
|
174
|
-
percentage: "percentage";
|
|
175
|
-
fixed_amount: "fixed_amount";
|
|
176
|
-
}>;
|
|
177
|
-
value: z.ZodNumber;
|
|
178
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
179
|
-
}, z.core.$strip>>;
|
|
180
|
-
description: z.ZodOptional<z.ZodString>;
|
|
181
|
-
}, z.core.$strip>>;
|
|
182
|
-
processingTime: z.ZodDefault<z.ZodNumber>;
|
|
183
|
-
refundMethod: z.ZodEnum<{
|
|
184
|
-
bank_transfer: "bank_transfer";
|
|
185
|
-
original_payment_method: "original_payment_method";
|
|
186
|
-
credit_note: "credit_note";
|
|
187
|
-
}>;
|
|
188
|
-
nonRefundableItems: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
189
|
-
specialConditions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
190
|
-
condition: z.ZodString;
|
|
191
|
-
refundPercentage: z.ZodNumber;
|
|
192
|
-
description: z.ZodOptional<z.ZodString>;
|
|
193
|
-
}, z.core.$strip>>>;
|
|
194
|
-
}, z.core.$strip>;
|
|
195
|
-
export declare const modificationPolicySchema: z.ZodObject<{
|
|
196
|
-
id: z.ZodUUID;
|
|
197
|
-
name: z.ZodString;
|
|
198
|
-
description: z.ZodOptional<z.ZodString>;
|
|
199
|
-
status: z.ZodEnum<{
|
|
200
|
-
draft: "draft";
|
|
201
|
-
active: "active";
|
|
202
|
-
archived: "archived";
|
|
203
|
-
inactive: "inactive";
|
|
204
|
-
}>;
|
|
205
|
-
effectiveFrom: z.ZodDate;
|
|
206
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
207
|
-
createdAt: z.ZodDate;
|
|
208
|
-
updatedAt: z.ZodDate;
|
|
209
|
-
type: z.ZodLiteral<"modification">;
|
|
210
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
211
|
-
daysBeforeDeparture: z.ZodNumber;
|
|
212
|
-
modificationFee: z.ZodOptional<z.ZodObject<{
|
|
213
|
-
type: z.ZodEnum<{
|
|
214
|
-
percentage: "percentage";
|
|
215
|
-
fixed_amount: "fixed_amount";
|
|
216
|
-
}>;
|
|
217
|
-
value: z.ZodNumber;
|
|
218
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
219
|
-
}, z.core.$strip>>;
|
|
220
|
-
allowedChanges: z.ZodArray<z.ZodEnum<{
|
|
221
|
-
accommodation: "accommodation";
|
|
222
|
-
transport: "transport";
|
|
223
|
-
activities: "activities";
|
|
224
|
-
participants: "participants";
|
|
225
|
-
dates: "dates";
|
|
226
|
-
dietary_requirements: "dietary_requirements";
|
|
227
|
-
}>>;
|
|
228
|
-
description: z.ZodOptional<z.ZodString>;
|
|
229
|
-
}, z.core.$strip>>;
|
|
230
|
-
modificationDeadline: z.ZodOptional<z.ZodNumber>;
|
|
231
|
-
priceDifferencePolicy: z.ZodEnum<{
|
|
232
|
-
customer_pays: "customer_pays";
|
|
233
|
-
company_absorbs: "company_absorbs";
|
|
234
|
-
proportional: "proportional";
|
|
235
|
-
}>;
|
|
236
|
-
downgradePolicy: z.ZodOptional<z.ZodObject<{
|
|
237
|
-
allowed: z.ZodDefault<z.ZodBoolean>;
|
|
238
|
-
refundPercentage: z.ZodOptional<z.ZodNumber>;
|
|
239
|
-
processingFee: z.ZodOptional<z.ZodObject<{
|
|
240
|
-
type: z.ZodEnum<{
|
|
241
|
-
percentage: "percentage";
|
|
242
|
-
fixed_amount: "fixed_amount";
|
|
243
|
-
}>;
|
|
244
|
-
value: z.ZodNumber;
|
|
245
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
246
|
-
}, z.core.$strip>>;
|
|
247
|
-
}, z.core.$strip>>;
|
|
248
|
-
}, z.core.$strip>;
|
|
249
|
-
export declare const forceMajeurePolicySchema: z.ZodObject<{
|
|
250
|
-
id: z.ZodUUID;
|
|
251
|
-
name: z.ZodString;
|
|
252
|
-
description: z.ZodOptional<z.ZodString>;
|
|
253
|
-
status: z.ZodEnum<{
|
|
254
|
-
draft: "draft";
|
|
255
|
-
active: "active";
|
|
256
|
-
archived: "archived";
|
|
257
|
-
inactive: "inactive";
|
|
258
|
-
}>;
|
|
259
|
-
effectiveFrom: z.ZodDate;
|
|
260
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
261
|
-
createdAt: z.ZodDate;
|
|
262
|
-
updatedAt: z.ZodDate;
|
|
263
|
-
type: z.ZodLiteral<"force_majeure">;
|
|
264
|
-
coveredEvents: z.ZodArray<z.ZodString>;
|
|
265
|
-
responseActions: z.ZodArray<z.ZodObject<{
|
|
266
|
-
action: z.ZodEnum<{
|
|
267
|
-
refund: "refund";
|
|
268
|
-
credit_note: "credit_note";
|
|
269
|
-
reschedule: "reschedule";
|
|
270
|
-
alternative_offering: "alternative_offering";
|
|
271
|
-
}>;
|
|
272
|
-
conditions: z.ZodArray<z.ZodString>;
|
|
273
|
-
description: z.ZodOptional<z.ZodString>;
|
|
274
|
-
}, z.core.$strip>>;
|
|
275
|
-
refundPolicy: z.ZodObject<{
|
|
276
|
-
refundPercentage: z.ZodNumber;
|
|
277
|
-
processingTime: z.ZodDefault<z.ZodNumber>;
|
|
278
|
-
refundMethod: z.ZodEnum<{
|
|
279
|
-
bank_transfer: "bank_transfer";
|
|
280
|
-
original_payment_method: "original_payment_method";
|
|
281
|
-
credit_note: "credit_note";
|
|
282
|
-
}>;
|
|
283
|
-
}, z.core.$strip>;
|
|
284
|
-
alternativeOfferings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
285
|
-
type: z.ZodEnum<{
|
|
286
|
-
credit_note: "credit_note";
|
|
287
|
-
reschedule: "reschedule";
|
|
288
|
-
alternative_destination: "alternative_destination";
|
|
289
|
-
}>;
|
|
290
|
-
conditions: z.ZodArray<z.ZodString>;
|
|
291
|
-
validityPeriod: z.ZodOptional<z.ZodNumber>;
|
|
292
|
-
description: z.ZodOptional<z.ZodString>;
|
|
293
|
-
}, z.core.$strip>>>;
|
|
294
|
-
}, z.core.$strip>;
|
|
295
|
-
export declare const liabilityPolicySchema: z.ZodObject<{
|
|
296
|
-
id: z.ZodUUID;
|
|
297
|
-
name: z.ZodString;
|
|
298
|
-
description: z.ZodOptional<z.ZodString>;
|
|
299
|
-
status: z.ZodEnum<{
|
|
300
|
-
draft: "draft";
|
|
301
|
-
active: "active";
|
|
302
|
-
archived: "archived";
|
|
303
|
-
inactive: "inactive";
|
|
304
|
-
}>;
|
|
305
|
-
effectiveFrom: z.ZodDate;
|
|
306
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
307
|
-
createdAt: z.ZodDate;
|
|
308
|
-
updatedAt: z.ZodDate;
|
|
309
|
-
type: z.ZodLiteral<"liability">;
|
|
310
|
-
coverageLimits: z.ZodObject<{
|
|
311
|
-
personalInjury: z.ZodOptional<z.ZodNumber>;
|
|
312
|
-
propertyDamage: z.ZodOptional<z.ZodNumber>;
|
|
313
|
-
currency: z.ZodString;
|
|
314
|
-
}, z.core.$strip>;
|
|
315
|
-
exclusions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
316
|
-
claimsProcess: z.ZodObject<{
|
|
317
|
-
reportingDeadline: z.ZodOptional<z.ZodNumber>;
|
|
318
|
-
documentationRequired: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
319
|
-
contactInformation: z.ZodOptional<z.ZodObject<{
|
|
320
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
321
|
-
email: z.ZodOptional<z.ZodEmail>;
|
|
322
|
-
address: z.ZodOptional<z.ZodString>;
|
|
323
|
-
}, z.core.$strip>>;
|
|
324
|
-
}, z.core.$strip>;
|
|
325
|
-
insuranceProvider: z.ZodOptional<z.ZodObject<{
|
|
326
|
-
name: z.ZodString;
|
|
327
|
-
policyNumber: z.ZodOptional<z.ZodString>;
|
|
328
|
-
contactInformation: z.ZodOptional<z.ZodObject<{
|
|
329
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
330
|
-
email: z.ZodOptional<z.ZodEmail>;
|
|
331
|
-
website: z.ZodOptional<z.ZodURL>;
|
|
332
|
-
}, z.core.$strip>>;
|
|
333
|
-
}, z.core.$strip>>;
|
|
334
|
-
}, z.core.$strip>;
|
|
335
|
-
export declare const termsConditionsSchema: z.ZodObject<{
|
|
336
|
-
id: z.ZodUUID;
|
|
337
|
-
name: z.ZodString;
|
|
338
|
-
description: z.ZodOptional<z.ZodString>;
|
|
339
|
-
status: z.ZodEnum<{
|
|
340
|
-
draft: "draft";
|
|
341
|
-
active: "active";
|
|
342
|
-
archived: "archived";
|
|
343
|
-
inactive: "inactive";
|
|
344
|
-
}>;
|
|
345
|
-
effectiveFrom: z.ZodDate;
|
|
346
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
347
|
-
createdAt: z.ZodDate;
|
|
348
|
-
updatedAt: z.ZodDate;
|
|
349
|
-
type: z.ZodLiteral<"terms_conditions">;
|
|
350
|
-
sections: z.ZodArray<z.ZodObject<{
|
|
351
|
-
title: z.ZodString;
|
|
352
|
-
content: z.ZodString;
|
|
353
|
-
order: z.ZodNumber;
|
|
354
|
-
}, z.core.$strip>>;
|
|
355
|
-
version: z.ZodString;
|
|
356
|
-
acceptanceRequired: z.ZodDefault<z.ZodBoolean>;
|
|
357
|
-
acceptanceMethod: z.ZodOptional<z.ZodEnum<{
|
|
358
|
-
checkbox: "checkbox";
|
|
359
|
-
click_to_accept: "click_to_accept";
|
|
360
|
-
signature: "signature";
|
|
361
|
-
}>>;
|
|
362
|
-
}, z.core.$strip>;
|
|
363
|
-
export declare const policySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
364
|
-
id: z.ZodUUID;
|
|
365
|
-
name: z.ZodString;
|
|
366
|
-
description: z.ZodOptional<z.ZodString>;
|
|
367
|
-
status: z.ZodEnum<{
|
|
368
|
-
draft: "draft";
|
|
369
|
-
active: "active";
|
|
370
|
-
archived: "archived";
|
|
371
|
-
inactive: "inactive";
|
|
372
|
-
}>;
|
|
373
|
-
effectiveFrom: z.ZodDate;
|
|
374
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
375
|
-
createdAt: z.ZodDate;
|
|
376
|
-
updatedAt: z.ZodDate;
|
|
377
|
-
type: z.ZodLiteral<"cancellation">;
|
|
378
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
379
|
-
daysBeforeDeparture: z.ZodNumber;
|
|
380
|
-
cancellationFee: z.ZodObject<{
|
|
381
|
-
type: z.ZodEnum<{
|
|
382
|
-
percentage: "percentage";
|
|
383
|
-
fixed_amount: "fixed_amount";
|
|
384
|
-
}>;
|
|
385
|
-
value: z.ZodNumber;
|
|
386
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
387
|
-
}, z.core.$strip>;
|
|
388
|
-
refundPercentage: z.ZodNumber;
|
|
389
|
-
description: z.ZodOptional<z.ZodString>;
|
|
390
|
-
}, z.core.$strip>>;
|
|
391
|
-
noShowPolicy: z.ZodOptional<z.ZodObject<{
|
|
392
|
-
fee: z.ZodObject<{
|
|
393
|
-
type: z.ZodEnum<{
|
|
394
|
-
percentage: "percentage";
|
|
395
|
-
fixed_amount: "fixed_amount";
|
|
396
|
-
}>;
|
|
397
|
-
value: z.ZodNumber;
|
|
398
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
399
|
-
}, z.core.$strip>;
|
|
400
|
-
refundPercentage: z.ZodNumber;
|
|
401
|
-
}, z.core.$strip>>;
|
|
402
|
-
forceMajeure: z.ZodOptional<z.ZodObject<{
|
|
403
|
-
covered: z.ZodDefault<z.ZodBoolean>;
|
|
404
|
-
refundPercentage: z.ZodDefault<z.ZodNumber>;
|
|
405
|
-
conditions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
406
|
-
}, z.core.$strip>>;
|
|
407
|
-
minCancellationNotice: z.ZodOptional<z.ZodNumber>;
|
|
408
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
409
|
-
id: z.ZodUUID;
|
|
410
|
-
name: z.ZodString;
|
|
411
|
-
description: z.ZodOptional<z.ZodString>;
|
|
412
|
-
status: z.ZodEnum<{
|
|
413
|
-
draft: "draft";
|
|
414
|
-
active: "active";
|
|
415
|
-
archived: "archived";
|
|
416
|
-
inactive: "inactive";
|
|
417
|
-
}>;
|
|
418
|
-
effectiveFrom: z.ZodDate;
|
|
419
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
420
|
-
createdAt: z.ZodDate;
|
|
421
|
-
updatedAt: z.ZodDate;
|
|
422
|
-
type: z.ZodLiteral<"payment_terms">;
|
|
423
|
-
paymentSchedule: z.ZodArray<z.ZodObject<{
|
|
424
|
-
name: z.ZodString;
|
|
425
|
-
percentage: z.ZodNumber;
|
|
426
|
-
dueDate: z.ZodObject<{
|
|
427
|
-
type: z.ZodEnum<{
|
|
428
|
-
days_before_departure: "days_before_departure";
|
|
429
|
-
days_after_booking: "days_after_booking";
|
|
430
|
-
fixed_date: "fixed_date";
|
|
431
|
-
}>;
|
|
432
|
-
value: z.ZodNumber;
|
|
433
|
-
}, z.core.$strip>;
|
|
434
|
-
description: z.ZodOptional<z.ZodString>;
|
|
435
|
-
}, z.core.$strip>>;
|
|
436
|
-
acceptedPaymentMethods: z.ZodArray<z.ZodEnum<{
|
|
437
|
-
credit_card: "credit_card";
|
|
438
|
-
debit_card: "debit_card";
|
|
439
|
-
bank_transfer: "bank_transfer";
|
|
440
|
-
paypal: "paypal";
|
|
441
|
-
apple_pay: "apple_pay";
|
|
442
|
-
google_pay: "google_pay";
|
|
443
|
-
cryptocurrency: "cryptocurrency";
|
|
444
|
-
cash: "cash";
|
|
445
|
-
}>>;
|
|
446
|
-
currency: z.ZodString;
|
|
447
|
-
latePaymentPolicy: z.ZodOptional<z.ZodObject<{
|
|
448
|
-
gracePeriod: z.ZodOptional<z.ZodNumber>;
|
|
449
|
-
lateFee: z.ZodOptional<z.ZodObject<{
|
|
450
|
-
type: z.ZodEnum<{
|
|
451
|
-
percentage: "percentage";
|
|
452
|
-
fixed_amount: "fixed_amount";
|
|
453
|
-
}>;
|
|
454
|
-
value: z.ZodNumber;
|
|
455
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
456
|
-
}, z.core.$strip>>;
|
|
457
|
-
consequences: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
458
|
-
}, z.core.$strip>>;
|
|
459
|
-
refundPolicy: z.ZodOptional<z.ZodObject<{
|
|
460
|
-
processingTime: z.ZodOptional<z.ZodNumber>;
|
|
461
|
-
refundMethod: z.ZodEnum<{
|
|
462
|
-
bank_transfer: "bank_transfer";
|
|
463
|
-
original_payment_method: "original_payment_method";
|
|
464
|
-
credit_note: "credit_note";
|
|
465
|
-
}>;
|
|
466
|
-
fees: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
467
|
-
name: z.ZodString;
|
|
468
|
-
amount: z.ZodNumber;
|
|
469
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
470
|
-
}, z.core.$strip>>>;
|
|
471
|
-
}, z.core.$strip>>;
|
|
472
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
473
|
-
id: z.ZodUUID;
|
|
474
|
-
name: z.ZodString;
|
|
475
|
-
description: z.ZodOptional<z.ZodString>;
|
|
476
|
-
status: z.ZodEnum<{
|
|
477
|
-
draft: "draft";
|
|
478
|
-
active: "active";
|
|
479
|
-
archived: "archived";
|
|
480
|
-
inactive: "inactive";
|
|
481
|
-
}>;
|
|
482
|
-
effectiveFrom: z.ZodDate;
|
|
483
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
484
|
-
createdAt: z.ZodDate;
|
|
485
|
-
updatedAt: z.ZodDate;
|
|
486
|
-
type: z.ZodLiteral<"refund">;
|
|
487
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
488
|
-
daysBeforeDeparture: z.ZodNumber;
|
|
489
|
-
refundPercentage: z.ZodNumber;
|
|
490
|
-
processingFee: z.ZodOptional<z.ZodObject<{
|
|
491
|
-
type: z.ZodEnum<{
|
|
492
|
-
percentage: "percentage";
|
|
493
|
-
fixed_amount: "fixed_amount";
|
|
494
|
-
}>;
|
|
495
|
-
value: z.ZodNumber;
|
|
496
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
497
|
-
}, z.core.$strip>>;
|
|
498
|
-
description: z.ZodOptional<z.ZodString>;
|
|
499
|
-
}, z.core.$strip>>;
|
|
500
|
-
processingTime: z.ZodDefault<z.ZodNumber>;
|
|
501
|
-
refundMethod: z.ZodEnum<{
|
|
502
|
-
bank_transfer: "bank_transfer";
|
|
503
|
-
original_payment_method: "original_payment_method";
|
|
504
|
-
credit_note: "credit_note";
|
|
505
|
-
}>;
|
|
506
|
-
nonRefundableItems: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
507
|
-
specialConditions: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
508
|
-
condition: z.ZodString;
|
|
509
|
-
refundPercentage: z.ZodNumber;
|
|
510
|
-
description: z.ZodOptional<z.ZodString>;
|
|
511
|
-
}, z.core.$strip>>>;
|
|
512
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
513
|
-
id: z.ZodUUID;
|
|
514
|
-
name: z.ZodString;
|
|
515
|
-
description: z.ZodOptional<z.ZodString>;
|
|
516
|
-
status: z.ZodEnum<{
|
|
517
|
-
draft: "draft";
|
|
518
|
-
active: "active";
|
|
519
|
-
archived: "archived";
|
|
520
|
-
inactive: "inactive";
|
|
521
|
-
}>;
|
|
522
|
-
effectiveFrom: z.ZodDate;
|
|
523
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
524
|
-
createdAt: z.ZodDate;
|
|
525
|
-
updatedAt: z.ZodDate;
|
|
526
|
-
type: z.ZodLiteral<"modification">;
|
|
527
|
-
rules: z.ZodArray<z.ZodObject<{
|
|
528
|
-
daysBeforeDeparture: z.ZodNumber;
|
|
529
|
-
modificationFee: z.ZodOptional<z.ZodObject<{
|
|
530
|
-
type: z.ZodEnum<{
|
|
531
|
-
percentage: "percentage";
|
|
532
|
-
fixed_amount: "fixed_amount";
|
|
533
|
-
}>;
|
|
534
|
-
value: z.ZodNumber;
|
|
535
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
536
|
-
}, z.core.$strip>>;
|
|
537
|
-
allowedChanges: z.ZodArray<z.ZodEnum<{
|
|
538
|
-
accommodation: "accommodation";
|
|
539
|
-
transport: "transport";
|
|
540
|
-
activities: "activities";
|
|
541
|
-
participants: "participants";
|
|
542
|
-
dates: "dates";
|
|
543
|
-
dietary_requirements: "dietary_requirements";
|
|
544
|
-
}>>;
|
|
545
|
-
description: z.ZodOptional<z.ZodString>;
|
|
546
|
-
}, z.core.$strip>>;
|
|
547
|
-
modificationDeadline: z.ZodOptional<z.ZodNumber>;
|
|
548
|
-
priceDifferencePolicy: z.ZodEnum<{
|
|
549
|
-
customer_pays: "customer_pays";
|
|
550
|
-
company_absorbs: "company_absorbs";
|
|
551
|
-
proportional: "proportional";
|
|
552
|
-
}>;
|
|
553
|
-
downgradePolicy: z.ZodOptional<z.ZodObject<{
|
|
554
|
-
allowed: z.ZodDefault<z.ZodBoolean>;
|
|
555
|
-
refundPercentage: z.ZodOptional<z.ZodNumber>;
|
|
556
|
-
processingFee: z.ZodOptional<z.ZodObject<{
|
|
557
|
-
type: z.ZodEnum<{
|
|
558
|
-
percentage: "percentage";
|
|
559
|
-
fixed_amount: "fixed_amount";
|
|
560
|
-
}>;
|
|
561
|
-
value: z.ZodNumber;
|
|
562
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
563
|
-
}, z.core.$strip>>;
|
|
564
|
-
}, z.core.$strip>>;
|
|
565
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
566
|
-
id: z.ZodUUID;
|
|
567
|
-
name: z.ZodString;
|
|
568
|
-
description: z.ZodOptional<z.ZodString>;
|
|
569
|
-
status: z.ZodEnum<{
|
|
570
|
-
draft: "draft";
|
|
571
|
-
active: "active";
|
|
572
|
-
archived: "archived";
|
|
573
|
-
inactive: "inactive";
|
|
574
|
-
}>;
|
|
575
|
-
effectiveFrom: z.ZodDate;
|
|
576
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
577
|
-
createdAt: z.ZodDate;
|
|
578
|
-
updatedAt: z.ZodDate;
|
|
579
|
-
type: z.ZodLiteral<"force_majeure">;
|
|
580
|
-
coveredEvents: z.ZodArray<z.ZodString>;
|
|
581
|
-
responseActions: z.ZodArray<z.ZodObject<{
|
|
582
|
-
action: z.ZodEnum<{
|
|
583
|
-
refund: "refund";
|
|
584
|
-
credit_note: "credit_note";
|
|
585
|
-
reschedule: "reschedule";
|
|
586
|
-
alternative_offering: "alternative_offering";
|
|
587
|
-
}>;
|
|
588
|
-
conditions: z.ZodArray<z.ZodString>;
|
|
589
|
-
description: z.ZodOptional<z.ZodString>;
|
|
590
|
-
}, z.core.$strip>>;
|
|
591
|
-
refundPolicy: z.ZodObject<{
|
|
592
|
-
refundPercentage: z.ZodNumber;
|
|
593
|
-
processingTime: z.ZodDefault<z.ZodNumber>;
|
|
594
|
-
refundMethod: z.ZodEnum<{
|
|
595
|
-
bank_transfer: "bank_transfer";
|
|
596
|
-
original_payment_method: "original_payment_method";
|
|
597
|
-
credit_note: "credit_note";
|
|
598
|
-
}>;
|
|
599
|
-
}, z.core.$strip>;
|
|
600
|
-
alternativeOfferings: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
601
|
-
type: z.ZodEnum<{
|
|
602
|
-
credit_note: "credit_note";
|
|
603
|
-
reschedule: "reschedule";
|
|
604
|
-
alternative_destination: "alternative_destination";
|
|
605
|
-
}>;
|
|
606
|
-
conditions: z.ZodArray<z.ZodString>;
|
|
607
|
-
validityPeriod: z.ZodOptional<z.ZodNumber>;
|
|
608
|
-
description: z.ZodOptional<z.ZodString>;
|
|
609
|
-
}, z.core.$strip>>>;
|
|
610
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
611
|
-
id: z.ZodUUID;
|
|
612
|
-
name: z.ZodString;
|
|
613
|
-
description: z.ZodOptional<z.ZodString>;
|
|
614
|
-
status: z.ZodEnum<{
|
|
615
|
-
draft: "draft";
|
|
616
|
-
active: "active";
|
|
617
|
-
archived: "archived";
|
|
618
|
-
inactive: "inactive";
|
|
619
|
-
}>;
|
|
620
|
-
effectiveFrom: z.ZodDate;
|
|
621
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
622
|
-
createdAt: z.ZodDate;
|
|
623
|
-
updatedAt: z.ZodDate;
|
|
624
|
-
type: z.ZodLiteral<"liability">;
|
|
625
|
-
coverageLimits: z.ZodObject<{
|
|
626
|
-
personalInjury: z.ZodOptional<z.ZodNumber>;
|
|
627
|
-
propertyDamage: z.ZodOptional<z.ZodNumber>;
|
|
628
|
-
currency: z.ZodString;
|
|
629
|
-
}, z.core.$strip>;
|
|
630
|
-
exclusions: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
631
|
-
claimsProcess: z.ZodObject<{
|
|
632
|
-
reportingDeadline: z.ZodOptional<z.ZodNumber>;
|
|
633
|
-
documentationRequired: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
634
|
-
contactInformation: z.ZodOptional<z.ZodObject<{
|
|
635
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
636
|
-
email: z.ZodOptional<z.ZodEmail>;
|
|
637
|
-
address: z.ZodOptional<z.ZodString>;
|
|
638
|
-
}, z.core.$strip>>;
|
|
639
|
-
}, z.core.$strip>;
|
|
640
|
-
insuranceProvider: z.ZodOptional<z.ZodObject<{
|
|
641
|
-
name: z.ZodString;
|
|
642
|
-
policyNumber: z.ZodOptional<z.ZodString>;
|
|
643
|
-
contactInformation: z.ZodOptional<z.ZodObject<{
|
|
644
|
-
phone: z.ZodOptional<z.ZodString>;
|
|
645
|
-
email: z.ZodOptional<z.ZodEmail>;
|
|
646
|
-
website: z.ZodOptional<z.ZodURL>;
|
|
647
|
-
}, z.core.$strip>>;
|
|
648
|
-
}, z.core.$strip>>;
|
|
649
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
650
|
-
id: z.ZodUUID;
|
|
651
|
-
name: z.ZodString;
|
|
652
|
-
description: z.ZodOptional<z.ZodString>;
|
|
653
|
-
status: z.ZodEnum<{
|
|
654
|
-
draft: "draft";
|
|
655
|
-
active: "active";
|
|
656
|
-
archived: "archived";
|
|
657
|
-
inactive: "inactive";
|
|
658
|
-
}>;
|
|
659
|
-
effectiveFrom: z.ZodDate;
|
|
660
|
-
effectiveTo: z.ZodNullable<z.ZodDate>;
|
|
661
|
-
createdAt: z.ZodDate;
|
|
662
|
-
updatedAt: z.ZodDate;
|
|
663
|
-
type: z.ZodLiteral<"terms_conditions">;
|
|
664
|
-
sections: z.ZodArray<z.ZodObject<{
|
|
665
|
-
title: z.ZodString;
|
|
666
|
-
content: z.ZodString;
|
|
667
|
-
order: z.ZodNumber;
|
|
668
|
-
}, z.core.$strip>>;
|
|
669
|
-
version: z.ZodString;
|
|
670
|
-
acceptanceRequired: z.ZodDefault<z.ZodBoolean>;
|
|
671
|
-
acceptanceMethod: z.ZodOptional<z.ZodEnum<{
|
|
672
|
-
checkbox: "checkbox";
|
|
673
|
-
click_to_accept: "click_to_accept";
|
|
674
|
-
signature: "signature";
|
|
675
|
-
}>>;
|
|
676
|
-
}, z.core.$strip>], "type">;
|
|
677
|
-
export declare const policyOverrideValueSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
678
|
-
type: z.ZodLiteral<"cancellation_fee">;
|
|
679
|
-
override: z.ZodObject<{
|
|
680
|
-
value: z.ZodNumber;
|
|
681
|
-
feeType: z.ZodEnum<{
|
|
682
|
-
percentage: "percentage";
|
|
683
|
-
fixed_amount: "fixed_amount";
|
|
684
|
-
}>;
|
|
685
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
686
|
-
}, z.core.$strip>;
|
|
687
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
688
|
-
type: z.ZodLiteral<"refund_percentage">;
|
|
689
|
-
override: z.ZodObject<{
|
|
690
|
-
value: z.ZodNumber;
|
|
691
|
-
}, z.core.$strip>;
|
|
692
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
693
|
-
type: z.ZodLiteral<"deadline">;
|
|
694
|
-
override: z.ZodObject<{
|
|
695
|
-
daysBeforeDeparture: z.ZodNumber;
|
|
696
|
-
}, z.core.$strip>;
|
|
697
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
698
|
-
type: z.ZodLiteral<"payment_schedule">;
|
|
699
|
-
override: z.ZodObject<{
|
|
700
|
-
schedule: z.ZodArray<z.ZodObject<{
|
|
701
|
-
name: z.ZodString;
|
|
702
|
-
percentage: z.ZodNumber;
|
|
703
|
-
dueDate: z.ZodObject<{
|
|
704
|
-
type: z.ZodEnum<{
|
|
705
|
-
days_before_departure: "days_before_departure";
|
|
706
|
-
days_after_booking: "days_after_booking";
|
|
707
|
-
}>;
|
|
708
|
-
value: z.ZodNumber;
|
|
709
|
-
}, z.core.$strip>;
|
|
710
|
-
}, z.core.$strip>>;
|
|
711
|
-
}, z.core.$strip>;
|
|
712
|
-
}, z.core.$strip>], "type">;
|
|
713
|
-
export type PolicyOverrideValue = z.infer<typeof policyOverrideValueSchema>;
|
|
714
|
-
export declare const policyComplianceResultSchema: z.ZodObject<{
|
|
715
|
-
passed: z.ZodBoolean;
|
|
716
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
717
|
-
violations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
718
|
-
rule: z.ZodString;
|
|
719
|
-
severity: z.ZodEnum<{
|
|
720
|
-
error: "error";
|
|
721
|
-
warning: "warning";
|
|
722
|
-
info: "info";
|
|
723
|
-
}>;
|
|
724
|
-
message: z.ZodString;
|
|
725
|
-
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
726
|
-
}, z.core.$strip>>>;
|
|
727
|
-
fees: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
728
|
-
type: z.ZodString;
|
|
729
|
-
amount: z.ZodNumber;
|
|
730
|
-
currency: z.ZodString;
|
|
731
|
-
reason: z.ZodString;
|
|
732
|
-
}, z.core.$strip>>>;
|
|
733
|
-
refund: z.ZodOptional<z.ZodObject<{
|
|
734
|
-
eligible: z.ZodBoolean;
|
|
735
|
-
percentage: z.ZodNumber;
|
|
736
|
-
amount: z.ZodNumber;
|
|
737
|
-
currency: z.ZodString;
|
|
738
|
-
processingFee: z.ZodOptional<z.ZodNumber>;
|
|
739
|
-
}, z.core.$strip>>;
|
|
740
|
-
recommendations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
741
|
-
checkedRules: z.ZodArray<z.ZodString>;
|
|
742
|
-
timestamp: z.ZodDate;
|
|
743
|
-
}, z.core.$strip>;
|
|
744
|
-
export type PolicyComplianceResult = z.infer<typeof policyComplianceResultSchema>;
|
|
745
|
-
export declare const policyApplicationSchema: z.ZodObject<{
|
|
746
|
-
id: z.ZodUUID;
|
|
747
|
-
policyId: z.ZodUUID;
|
|
748
|
-
entityType: z.ZodEnum<{
|
|
749
|
-
product: "product";
|
|
750
|
-
booking: "booking";
|
|
751
|
-
departure: "departure";
|
|
752
|
-
}>;
|
|
753
|
-
entityId: z.ZodUUID;
|
|
754
|
-
priority: z.ZodDefault<z.ZodNumber>;
|
|
755
|
-
overrides: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
756
|
-
type: z.ZodLiteral<"cancellation_fee">;
|
|
757
|
-
override: z.ZodObject<{
|
|
758
|
-
value: z.ZodNumber;
|
|
759
|
-
feeType: z.ZodEnum<{
|
|
760
|
-
percentage: "percentage";
|
|
761
|
-
fixed_amount: "fixed_amount";
|
|
762
|
-
}>;
|
|
763
|
-
currency: z.ZodOptional<z.ZodString>;
|
|
764
|
-
}, z.core.$strip>;
|
|
765
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
766
|
-
type: z.ZodLiteral<"refund_percentage">;
|
|
767
|
-
override: z.ZodObject<{
|
|
768
|
-
value: z.ZodNumber;
|
|
769
|
-
}, z.core.$strip>;
|
|
770
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
771
|
-
type: z.ZodLiteral<"deadline">;
|
|
772
|
-
override: z.ZodObject<{
|
|
773
|
-
daysBeforeDeparture: z.ZodNumber;
|
|
774
|
-
}, z.core.$strip>;
|
|
775
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
776
|
-
type: z.ZodLiteral<"payment_schedule">;
|
|
777
|
-
override: z.ZodObject<{
|
|
778
|
-
schedule: z.ZodArray<z.ZodObject<{
|
|
779
|
-
name: z.ZodString;
|
|
780
|
-
percentage: z.ZodNumber;
|
|
781
|
-
dueDate: z.ZodObject<{
|
|
782
|
-
type: z.ZodEnum<{
|
|
783
|
-
days_before_departure: "days_before_departure";
|
|
784
|
-
days_after_booking: "days_after_booking";
|
|
785
|
-
}>;
|
|
786
|
-
value: z.ZodNumber;
|
|
787
|
-
}, z.core.$strip>;
|
|
788
|
-
}, z.core.$strip>>;
|
|
789
|
-
}, z.core.$strip>;
|
|
790
|
-
}, z.core.$strip>], "type">>>;
|
|
791
|
-
createdAt: z.ZodDate;
|
|
792
|
-
updatedAt: z.ZodDate;
|
|
793
|
-
}, z.core.$strip>;
|
|
794
|
-
export declare const policyComplianceCheckSchema: z.ZodObject<{
|
|
795
|
-
id: z.ZodUUID;
|
|
796
|
-
bookingId: z.ZodUUID;
|
|
797
|
-
policyId: z.ZodUUID;
|
|
798
|
-
checkType: z.ZodEnum<{
|
|
799
|
-
cancellation: "cancellation";
|
|
800
|
-
refund: "refund";
|
|
801
|
-
modification: "modification";
|
|
802
|
-
payment: "payment";
|
|
803
|
-
}>;
|
|
804
|
-
status: z.ZodEnum<{
|
|
805
|
-
compliant: "compliant";
|
|
806
|
-
non_compliant: "non_compliant";
|
|
807
|
-
requires_review: "requires_review";
|
|
808
|
-
}>;
|
|
809
|
-
result: z.ZodObject<{
|
|
810
|
-
passed: z.ZodBoolean;
|
|
811
|
-
score: z.ZodOptional<z.ZodNumber>;
|
|
812
|
-
violations: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
813
|
-
rule: z.ZodString;
|
|
814
|
-
severity: z.ZodEnum<{
|
|
815
|
-
error: "error";
|
|
816
|
-
warning: "warning";
|
|
817
|
-
info: "info";
|
|
818
|
-
}>;
|
|
819
|
-
message: z.ZodString;
|
|
820
|
-
details: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
821
|
-
}, z.core.$strip>>>;
|
|
822
|
-
fees: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
823
|
-
type: z.ZodString;
|
|
824
|
-
amount: z.ZodNumber;
|
|
825
|
-
currency: z.ZodString;
|
|
826
|
-
reason: z.ZodString;
|
|
827
|
-
}, z.core.$strip>>>;
|
|
828
|
-
refund: z.ZodOptional<z.ZodObject<{
|
|
829
|
-
eligible: z.ZodBoolean;
|
|
830
|
-
percentage: z.ZodNumber;
|
|
831
|
-
amount: z.ZodNumber;
|
|
832
|
-
currency: z.ZodString;
|
|
833
|
-
processingFee: z.ZodOptional<z.ZodNumber>;
|
|
834
|
-
}, z.core.$strip>>;
|
|
835
|
-
recommendations: z.ZodDefault<z.ZodArray<z.ZodString>>;
|
|
836
|
-
checkedRules: z.ZodArray<z.ZodString>;
|
|
837
|
-
timestamp: z.ZodDate;
|
|
838
|
-
}, z.core.$strip>;
|
|
839
|
-
notes: z.ZodOptional<z.ZodString>;
|
|
840
|
-
checkedAt: z.ZodDate;
|
|
841
|
-
checkedBy: z.ZodUUID;
|
|
842
|
-
}, z.core.$strip>;
|
|
843
|
-
export type PolicyType = z.infer<typeof policyTypeSchema>;
|
|
844
|
-
export type PolicyStatus = z.infer<typeof policyStatusSchema>;
|
|
845
|
-
export type BasePolicy = z.infer<typeof basePolicySchema>;
|
|
846
|
-
export type CancellationPolicy = z.infer<typeof cancellationPolicySchema>;
|
|
847
|
-
export type PaymentTermsPolicy = z.infer<typeof paymentTermsPolicySchema>;
|
|
848
|
-
export type RefundPolicy = z.infer<typeof refundPolicySchema>;
|
|
849
|
-
export type ModificationPolicy = z.infer<typeof modificationPolicySchema>;
|
|
850
|
-
export type ForceMajeurePolicy = z.infer<typeof forceMajeurePolicySchema>;
|
|
851
|
-
export type LiabilityPolicy = z.infer<typeof liabilityPolicySchema>;
|
|
852
|
-
export type TermsConditions = z.infer<typeof termsConditionsSchema>;
|
|
853
|
-
export type Policy = z.infer<typeof policySchema>;
|
|
854
|
-
export type PolicyApplication = z.infer<typeof policyApplicationSchema>;
|
|
855
|
-
export type PolicyComplianceCheck = z.infer<typeof policyComplianceCheckSchema>;
|
|
856
|
-
export declare const validatePolicy: (data: unknown) => Policy;
|
|
857
|
-
export declare const validateCancellationPolicy: (data: unknown) => CancellationPolicy;
|
|
858
|
-
export declare const validatePaymentTermsPolicy: (data: unknown) => PaymentTermsPolicy;
|
|
859
|
-
export declare const validatePolicyApplication: (data: unknown) => PolicyApplication;
|
|
860
|
-
//# sourceMappingURL=policy.d.ts.map
|