@voyantjs/bookings 0.4.5 → 0.6.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/dist/extensions/suppliers.d.ts.map +1 -1
- package/dist/extensions/suppliers.js +3 -2
- package/dist/index.d.ts +7 -3
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +20 -8
- package/dist/route-runtime.d.ts +8 -0
- package/dist/route-runtime.d.ts.map +1 -0
- package/dist/route-runtime.js +17 -0
- package/dist/routes-groups.d.ts +354 -0
- package/dist/routes-groups.d.ts.map +1 -0
- package/dist/routes-groups.js +62 -0
- package/dist/routes-public.d.ts +5 -5
- package/dist/routes-public.d.ts.map +1 -1
- package/dist/routes-public.js +8 -7
- package/dist/routes-shared.d.ts +2 -0
- package/dist/routes-shared.d.ts.map +1 -1
- package/dist/routes.d.ts +413 -257
- package/dist/routes.d.ts.map +1 -1
- package/dist/routes.js +100 -92
- package/dist/schema-core.d.ts +1 -1
- package/dist/schema-groups.d.ts +261 -0
- package/dist/schema-groups.d.ts.map +1 -0
- package/dist/schema-groups.js +34 -0
- package/dist/schema-items.d.ts +2 -2
- package/dist/schema-relations.d.ts +8 -0
- package/dist/schema-relations.d.ts.map +1 -1
- package/dist/schema-relations.js +15 -0
- package/dist/schema.d.ts +1 -0
- package/dist/schema.d.ts.map +1 -1
- package/dist/schema.js +1 -0
- package/dist/service-groups.d.ts +69 -0
- package/dist/service-groups.d.ts.map +1 -0
- package/dist/service-groups.js +199 -0
- package/dist/service-public.d.ts +14 -14
- package/dist/service.d.ts +22 -22
- package/dist/service.d.ts.map +1 -1
- package/dist/service.js +3 -0
- package/dist/validation-public.d.ts +11 -11
- package/dist/validation-shared.d.ts +3 -3
- package/dist/validation.d.ts +59 -12
- package/dist/validation.d.ts.map +1 -1
- package/dist/validation.js +24 -0
- package/package.json +6 -6
package/dist/service-public.d.ts
CHANGED
|
@@ -39,7 +39,7 @@ export declare const publicBookingsService: {
|
|
|
39
39
|
id: string;
|
|
40
40
|
title: string;
|
|
41
41
|
description: string | null;
|
|
42
|
-
itemType: "
|
|
42
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
43
43
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
44
44
|
serviceDate: string | null;
|
|
45
45
|
startsAt: string | null;
|
|
@@ -72,7 +72,7 @@ export declare const publicBookingsService: {
|
|
|
72
72
|
pricingCategoryId: string | null;
|
|
73
73
|
availabilitySlotId: string | null;
|
|
74
74
|
quantity: number;
|
|
75
|
-
allocationType: "
|
|
75
|
+
allocationType: "resource" | "unit" | "pickup";
|
|
76
76
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
77
77
|
holdExpiresAt: string | null;
|
|
78
78
|
confirmedAt: string | null;
|
|
@@ -132,7 +132,7 @@ export declare const publicBookingsService: {
|
|
|
132
132
|
id: string;
|
|
133
133
|
title: string;
|
|
134
134
|
description: string | null;
|
|
135
|
-
itemType: "
|
|
135
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
136
136
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
137
137
|
serviceDate: string | null;
|
|
138
138
|
startsAt: string | null;
|
|
@@ -165,7 +165,7 @@ export declare const publicBookingsService: {
|
|
|
165
165
|
pricingCategoryId: string | null;
|
|
166
166
|
availabilitySlotId: string | null;
|
|
167
167
|
quantity: number;
|
|
168
|
-
allocationType: "
|
|
168
|
+
allocationType: "resource" | "unit" | "pickup";
|
|
169
169
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
170
170
|
holdExpiresAt: string | null;
|
|
171
171
|
confirmedAt: string | null;
|
|
@@ -254,7 +254,7 @@ export declare const publicBookingsService: {
|
|
|
254
254
|
id: string;
|
|
255
255
|
title: string;
|
|
256
256
|
description: string | null;
|
|
257
|
-
itemType: "
|
|
257
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
258
258
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
259
259
|
serviceDate: string | null;
|
|
260
260
|
startsAt: string | null;
|
|
@@ -287,7 +287,7 @@ export declare const publicBookingsService: {
|
|
|
287
287
|
pricingCategoryId: string | null;
|
|
288
288
|
availabilitySlotId: string | null;
|
|
289
289
|
quantity: number;
|
|
290
|
-
allocationType: "
|
|
290
|
+
allocationType: "resource" | "unit" | "pickup";
|
|
291
291
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
292
292
|
holdExpiresAt: string | null;
|
|
293
293
|
confirmedAt: string | null;
|
|
@@ -388,7 +388,7 @@ export declare const publicBookingsService: {
|
|
|
388
388
|
id: string;
|
|
389
389
|
title: string;
|
|
390
390
|
description: string | null;
|
|
391
|
-
itemType: "
|
|
391
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
392
392
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
393
393
|
serviceDate: string | null;
|
|
394
394
|
startsAt: string | null;
|
|
@@ -421,7 +421,7 @@ export declare const publicBookingsService: {
|
|
|
421
421
|
pricingCategoryId: string | null;
|
|
422
422
|
availabilitySlotId: string | null;
|
|
423
423
|
quantity: number;
|
|
424
|
-
allocationType: "
|
|
424
|
+
allocationType: "resource" | "unit" | "pickup";
|
|
425
425
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
426
426
|
holdExpiresAt: string | null;
|
|
427
427
|
confirmedAt: string | null;
|
|
@@ -485,7 +485,7 @@ export declare const publicBookingsService: {
|
|
|
485
485
|
id: string;
|
|
486
486
|
title: string;
|
|
487
487
|
description: string | null;
|
|
488
|
-
itemType: "
|
|
488
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
489
489
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
490
490
|
serviceDate: string | null;
|
|
491
491
|
startsAt: string | null;
|
|
@@ -518,7 +518,7 @@ export declare const publicBookingsService: {
|
|
|
518
518
|
pricingCategoryId: string | null;
|
|
519
519
|
availabilitySlotId: string | null;
|
|
520
520
|
quantity: number;
|
|
521
|
-
allocationType: "
|
|
521
|
+
allocationType: "resource" | "unit" | "pickup";
|
|
522
522
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
523
523
|
holdExpiresAt: string | null;
|
|
524
524
|
confirmedAt: string | null;
|
|
@@ -582,7 +582,7 @@ export declare const publicBookingsService: {
|
|
|
582
582
|
id: string;
|
|
583
583
|
title: string;
|
|
584
584
|
description: string | null;
|
|
585
|
-
itemType: "
|
|
585
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
586
586
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
587
587
|
serviceDate: string | null;
|
|
588
588
|
startsAt: string | null;
|
|
@@ -615,7 +615,7 @@ export declare const publicBookingsService: {
|
|
|
615
615
|
pricingCategoryId: string | null;
|
|
616
616
|
availabilitySlotId: string | null;
|
|
617
617
|
quantity: number;
|
|
618
|
-
allocationType: "
|
|
618
|
+
allocationType: "resource" | "unit" | "pickup";
|
|
619
619
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
620
620
|
holdExpiresAt: string | null;
|
|
621
621
|
confirmedAt: string | null;
|
|
@@ -664,7 +664,7 @@ export declare const publicBookingsService: {
|
|
|
664
664
|
id: string;
|
|
665
665
|
title: string;
|
|
666
666
|
description: string | null;
|
|
667
|
-
itemType: "
|
|
667
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
668
668
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
669
669
|
serviceDate: string | null;
|
|
670
670
|
startsAt: string | null;
|
|
@@ -728,7 +728,7 @@ export declare const publicBookingsService: {
|
|
|
728
728
|
id: string;
|
|
729
729
|
title: string;
|
|
730
730
|
description: string | null;
|
|
731
|
-
itemType: "
|
|
731
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
732
732
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
733
733
|
serviceDate: string | null;
|
|
734
734
|
startsAt: string | null;
|
package/dist/service.d.ts
CHANGED
|
@@ -67,7 +67,7 @@ export declare const bookingsService: {
|
|
|
67
67
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
68
68
|
personId: string | null;
|
|
69
69
|
organizationId: string | null;
|
|
70
|
-
sourceType: "internal" | "
|
|
70
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
71
71
|
externalBookingRef: string | null;
|
|
72
72
|
communicationLanguage: string | null;
|
|
73
73
|
sellCurrency: string;
|
|
@@ -104,7 +104,7 @@ export declare const bookingsService: {
|
|
|
104
104
|
endDate: string | null;
|
|
105
105
|
bookingNumber: string;
|
|
106
106
|
personId: string | null;
|
|
107
|
-
sourceType: "internal" | "
|
|
107
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
108
108
|
externalBookingRef: string | null;
|
|
109
109
|
communicationLanguage: string | null;
|
|
110
110
|
sellCurrency: string;
|
|
@@ -129,7 +129,7 @@ export declare const bookingsService: {
|
|
|
129
129
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
130
130
|
personId: string | null;
|
|
131
131
|
organizationId: string | null;
|
|
132
|
-
sourceType: "internal" | "
|
|
132
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
133
133
|
externalBookingRef: string | null;
|
|
134
134
|
communicationLanguage: string | null;
|
|
135
135
|
sellCurrency: string;
|
|
@@ -162,7 +162,7 @@ export declare const bookingsService: {
|
|
|
162
162
|
endDate: string | null;
|
|
163
163
|
bookingNumber: string;
|
|
164
164
|
personId: string | null;
|
|
165
|
-
sourceType: "internal" | "
|
|
165
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
166
166
|
externalBookingRef: string | null;
|
|
167
167
|
communicationLanguage: string | null;
|
|
168
168
|
sellCurrency: string;
|
|
@@ -340,7 +340,7 @@ export declare const bookingsService: {
|
|
|
340
340
|
tableName: "booking_allocations";
|
|
341
341
|
dataType: "string";
|
|
342
342
|
columnType: "PgEnumColumn";
|
|
343
|
-
data: "
|
|
343
|
+
data: "resource" | "unit" | "pickup";
|
|
344
344
|
driverParam: string;
|
|
345
345
|
notNull: true;
|
|
346
346
|
hasDefault: true;
|
|
@@ -483,7 +483,7 @@ export declare const bookingsService: {
|
|
|
483
483
|
pricingCategoryId: string | null;
|
|
484
484
|
availabilitySlotId: string | null;
|
|
485
485
|
quantity: number;
|
|
486
|
-
allocationType: "
|
|
486
|
+
allocationType: "resource" | "unit" | "pickup";
|
|
487
487
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
488
488
|
holdExpiresAt: Date | null;
|
|
489
489
|
confirmedAt: Date | null;
|
|
@@ -650,7 +650,7 @@ export declare const bookingsService: {
|
|
|
650
650
|
tableName: "booking_allocations";
|
|
651
651
|
dataType: "string";
|
|
652
652
|
columnType: "PgEnumColumn";
|
|
653
|
-
data: "
|
|
653
|
+
data: "resource" | "unit" | "pickup";
|
|
654
654
|
driverParam: string;
|
|
655
655
|
notNull: true;
|
|
656
656
|
hasDefault: true;
|
|
@@ -802,7 +802,7 @@ export declare const bookingsService: {
|
|
|
802
802
|
endDate: string | null;
|
|
803
803
|
bookingNumber: string;
|
|
804
804
|
personId: string | null;
|
|
805
|
-
sourceType: "internal" | "
|
|
805
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
806
806
|
externalBookingRef: string | null;
|
|
807
807
|
communicationLanguage: string | null;
|
|
808
808
|
sellCurrency: string;
|
|
@@ -834,7 +834,7 @@ export declare const bookingsService: {
|
|
|
834
834
|
endDate: string | null;
|
|
835
835
|
bookingNumber: string;
|
|
836
836
|
personId: string | null;
|
|
837
|
-
sourceType: "internal" | "
|
|
837
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
838
838
|
externalBookingRef: string | null;
|
|
839
839
|
communicationLanguage: string | null;
|
|
840
840
|
sellCurrency: string;
|
|
@@ -859,7 +859,7 @@ export declare const bookingsService: {
|
|
|
859
859
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
860
860
|
personId: string | null;
|
|
861
861
|
organizationId: string | null;
|
|
862
|
-
sourceType: "internal" | "
|
|
862
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
863
863
|
externalBookingRef: string | null;
|
|
864
864
|
communicationLanguage: string | null;
|
|
865
865
|
sellCurrency: string;
|
|
@@ -896,7 +896,7 @@ export declare const bookingsService: {
|
|
|
896
896
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
897
897
|
personId: string | null;
|
|
898
898
|
organizationId: string | null;
|
|
899
|
-
sourceType: "internal" | "
|
|
899
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
900
900
|
externalBookingRef: string | null;
|
|
901
901
|
communicationLanguage: string | null;
|
|
902
902
|
sellCurrency: string;
|
|
@@ -930,7 +930,7 @@ export declare const bookingsService: {
|
|
|
930
930
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
931
931
|
personId: string | null;
|
|
932
932
|
organizationId: string | null;
|
|
933
|
-
sourceType: "internal" | "
|
|
933
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
934
934
|
externalBookingRef: string | null;
|
|
935
935
|
communicationLanguage: string | null;
|
|
936
936
|
sellCurrency: string;
|
|
@@ -964,7 +964,7 @@ export declare const bookingsService: {
|
|
|
964
964
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
965
965
|
personId: string | null;
|
|
966
966
|
organizationId: string | null;
|
|
967
|
-
sourceType: "internal" | "
|
|
967
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
968
968
|
externalBookingRef: string | null;
|
|
969
969
|
communicationLanguage: string | null;
|
|
970
970
|
sellCurrency: string;
|
|
@@ -1003,7 +1003,7 @@ export declare const bookingsService: {
|
|
|
1003
1003
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "in_progress" | "completed" | "expired";
|
|
1004
1004
|
personId: string | null;
|
|
1005
1005
|
organizationId: string | null;
|
|
1006
|
-
sourceType: "internal" | "
|
|
1006
|
+
sourceType: "internal" | "reseller" | "direct" | "manual" | "affiliate" | "ota" | "api_partner";
|
|
1007
1007
|
externalBookingRef: string | null;
|
|
1008
1008
|
communicationLanguage: string | null;
|
|
1009
1009
|
sellCurrency: string;
|
|
@@ -1763,7 +1763,7 @@ export declare const bookingsService: {
|
|
|
1763
1763
|
tableName: "booking_items";
|
|
1764
1764
|
dataType: "string";
|
|
1765
1765
|
columnType: "PgEnumColumn";
|
|
1766
|
-
data: "
|
|
1766
|
+
data: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1767
1767
|
driverParam: string;
|
|
1768
1768
|
notNull: true;
|
|
1769
1769
|
hasDefault: true;
|
|
@@ -2139,7 +2139,7 @@ export declare const bookingsService: {
|
|
|
2139
2139
|
bookingId: string;
|
|
2140
2140
|
title: string;
|
|
2141
2141
|
description: string | null;
|
|
2142
|
-
itemType: "
|
|
2142
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
2143
2143
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
2144
2144
|
serviceDate: string | null;
|
|
2145
2145
|
startsAt: Date | null;
|
|
@@ -2235,7 +2235,7 @@ export declare const bookingsService: {
|
|
|
2235
2235
|
tableName: "booking_items";
|
|
2236
2236
|
dataType: "string";
|
|
2237
2237
|
columnType: "PgEnumColumn";
|
|
2238
|
-
data: "
|
|
2238
|
+
data: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
2239
2239
|
driverParam: string;
|
|
2240
2240
|
notNull: true;
|
|
2241
2241
|
hasDefault: true;
|
|
@@ -2618,11 +2618,12 @@ export declare const bookingsService: {
|
|
|
2618
2618
|
createdAt: Date;
|
|
2619
2619
|
updatedAt: Date;
|
|
2620
2620
|
metadata: Record<string, unknown> | null;
|
|
2621
|
+
description: string | null;
|
|
2621
2622
|
sellCurrency: string;
|
|
2622
2623
|
bookingId: string;
|
|
2624
|
+
optionUnitId: string | null;
|
|
2623
2625
|
title: string;
|
|
2624
|
-
|
|
2625
|
-
itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
2626
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
2626
2627
|
serviceDate: string | null;
|
|
2627
2628
|
quantity: number;
|
|
2628
2629
|
unitSellAmountCents: number | null;
|
|
@@ -2630,7 +2631,6 @@ export declare const bookingsService: {
|
|
|
2630
2631
|
costCurrency: string | null;
|
|
2631
2632
|
unitCostAmountCents: number | null;
|
|
2632
2633
|
totalCostAmountCents: number | null;
|
|
2633
|
-
optionUnitId: string | null;
|
|
2634
2634
|
pricingCategoryId: string | null;
|
|
2635
2635
|
sourceSnapshotId: string | null;
|
|
2636
2636
|
sourceOfferId: string | null;
|
|
@@ -2640,7 +2640,7 @@ export declare const bookingsService: {
|
|
|
2640
2640
|
bookingId: string;
|
|
2641
2641
|
title: string;
|
|
2642
2642
|
description: string | null;
|
|
2643
|
-
itemType: "
|
|
2643
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
2644
2644
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
2645
2645
|
serviceDate: string | null;
|
|
2646
2646
|
startsAt: Date | null;
|
|
@@ -4214,8 +4214,8 @@ export declare const bookingsService: {
|
|
|
4214
4214
|
recordRedemption(db: PostgresJsDatabase, bookingId: string, data: RecordBookingRedemptionInput, userId?: string): Promise<{
|
|
4215
4215
|
id: string;
|
|
4216
4216
|
createdAt: Date;
|
|
4217
|
-
method: "other" | "manual" | "api" | "scan";
|
|
4218
4217
|
metadata: Record<string, unknown> | null;
|
|
4218
|
+
method: "other" | "manual" | "api" | "scan";
|
|
4219
4219
|
redeemedAt: Date;
|
|
4220
4220
|
bookingId: string;
|
|
4221
4221
|
participantId: string | null;
|
package/dist/service.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"service.d.ts","sourceRoot":"","sources":["../src/service.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAA;AACjE,OAAO,KAAK,EAAE,CAAC,EAAE,MAAM,KAAK,CAAA;AAqC5B,OAAO,KAAK,EACV,sBAAsB,EACtB,mBAAmB,EACnB,oBAAoB,EACpB,oBAAoB,EACpB,mBAAmB,EACnB,yBAAyB,EACz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js";
|
|
3
3
|
import { bookingItemProductDetailsRef, bookingProductDetailsRef, optionUnitsRef, productDayServicesRef, productDaysRef, productOptionsRef, productsRef, productTicketSettingsRef, } from "./products-ref.js";
|
|
4
4
|
import { bookingActivityLog, bookingAllocations, bookingDocuments, bookingFulfillments, bookingItemParticipants, bookingItems, bookingNotes, bookingParticipants, bookingRedemptionEvents, bookingSupplierStatuses, bookings, } from "./schema.js";
|
|
5
|
+
import { cleanupGroupOnBookingCancelled } from "./service-groups.js";
|
|
5
6
|
import { bookingTransactionDetailsRef, offerItemParticipantsRef, offerItemsRef, offerParticipantsRef, offersRef, orderItemParticipantsRef, orderItemsRef, orderParticipantsRef, ordersRef, } from "./transactions-ref.js";
|
|
6
7
|
const travelerParticipantTypes = ["traveler", "occupant"];
|
|
7
8
|
class BookingServiceError extends Error {
|
|
@@ -1454,6 +1455,8 @@ export const bookingsService = {
|
|
|
1454
1455
|
content: data.note,
|
|
1455
1456
|
});
|
|
1456
1457
|
}
|
|
1458
|
+
// Clean up any booking-group membership (dissolve if ≤1 active members remain).
|
|
1459
|
+
await cleanupGroupOnBookingCancelled(tx, id);
|
|
1457
1460
|
return { status: "ok", booking: row ?? null };
|
|
1458
1461
|
});
|
|
1459
1462
|
}
|
|
@@ -30,10 +30,10 @@ export declare const publicCreateBookingSessionItemSchema: z.ZodObject<{
|
|
|
30
30
|
title: z.ZodString;
|
|
31
31
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
32
32
|
itemType: z.ZodDefault<z.ZodEnum<{
|
|
33
|
+
service: "service";
|
|
33
34
|
other: "other";
|
|
34
35
|
unit: "unit";
|
|
35
36
|
extra: "extra";
|
|
36
|
-
service: "service";
|
|
37
37
|
fee: "fee";
|
|
38
38
|
tax: "tax";
|
|
39
39
|
discount: "discount";
|
|
@@ -57,9 +57,9 @@ export declare const publicCreateBookingSessionItemSchema: z.ZodObject<{
|
|
|
57
57
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
58
58
|
availabilitySlotId: z.ZodString;
|
|
59
59
|
allocationType: z.ZodDefault<z.ZodEnum<{
|
|
60
|
+
resource: "resource";
|
|
60
61
|
unit: "unit";
|
|
61
62
|
pickup: "pickup";
|
|
62
|
-
resource: "resource";
|
|
63
63
|
}>>;
|
|
64
64
|
}, z.core.$strip>;
|
|
65
65
|
export declare const publicCreateBookingSessionSchema: z.ZodObject<{
|
|
@@ -81,10 +81,10 @@ export declare const publicCreateBookingSessionSchema: z.ZodObject<{
|
|
|
81
81
|
title: z.ZodString;
|
|
82
82
|
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
83
83
|
itemType: z.ZodDefault<z.ZodEnum<{
|
|
84
|
+
service: "service";
|
|
84
85
|
other: "other";
|
|
85
86
|
unit: "unit";
|
|
86
87
|
extra: "extra";
|
|
87
|
-
service: "service";
|
|
88
88
|
fee: "fee";
|
|
89
89
|
tax: "tax";
|
|
90
90
|
discount: "discount";
|
|
@@ -108,9 +108,9 @@ export declare const publicCreateBookingSessionSchema: z.ZodObject<{
|
|
|
108
108
|
metadata: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
109
109
|
availabilitySlotId: z.ZodString;
|
|
110
110
|
allocationType: z.ZodDefault<z.ZodEnum<{
|
|
111
|
+
resource: "resource";
|
|
111
112
|
unit: "unit";
|
|
112
113
|
pickup: "pickup";
|
|
113
|
-
resource: "resource";
|
|
114
114
|
}>>;
|
|
115
115
|
}, z.core.$strip>>;
|
|
116
116
|
participants: z.ZodDefault<z.ZodArray<z.ZodObject<{
|
|
@@ -268,10 +268,10 @@ export declare const publicBookingSessionItemSchema: z.ZodObject<{
|
|
|
268
268
|
title: z.ZodString;
|
|
269
269
|
description: z.ZodNullable<z.ZodString>;
|
|
270
270
|
itemType: z.ZodEnum<{
|
|
271
|
+
service: "service";
|
|
271
272
|
other: "other";
|
|
272
273
|
unit: "unit";
|
|
273
274
|
extra: "extra";
|
|
274
|
-
service: "service";
|
|
275
275
|
fee: "fee";
|
|
276
276
|
tax: "tax";
|
|
277
277
|
discount: "discount";
|
|
@@ -326,9 +326,9 @@ export declare const publicBookingSessionAllocationSchema: z.ZodObject<{
|
|
|
326
326
|
availabilitySlotId: z.ZodNullable<z.ZodString>;
|
|
327
327
|
quantity: z.ZodNumber;
|
|
328
328
|
allocationType: z.ZodEnum<{
|
|
329
|
+
resource: "resource";
|
|
329
330
|
unit: "unit";
|
|
330
331
|
pickup: "pickup";
|
|
331
|
-
resource: "resource";
|
|
332
332
|
}>;
|
|
333
333
|
status: z.ZodEnum<{
|
|
334
334
|
cancelled: "cancelled";
|
|
@@ -406,10 +406,10 @@ export declare const publicBookingSessionSchema: z.ZodObject<{
|
|
|
406
406
|
title: z.ZodString;
|
|
407
407
|
description: z.ZodNullable<z.ZodString>;
|
|
408
408
|
itemType: z.ZodEnum<{
|
|
409
|
+
service: "service";
|
|
409
410
|
other: "other";
|
|
410
411
|
unit: "unit";
|
|
411
412
|
extra: "extra";
|
|
412
|
-
service: "service";
|
|
413
413
|
fee: "fee";
|
|
414
414
|
tax: "tax";
|
|
415
415
|
discount: "discount";
|
|
@@ -464,9 +464,9 @@ export declare const publicBookingSessionSchema: z.ZodObject<{
|
|
|
464
464
|
availabilitySlotId: z.ZodNullable<z.ZodString>;
|
|
465
465
|
quantity: z.ZodNumber;
|
|
466
466
|
allocationType: z.ZodEnum<{
|
|
467
|
+
resource: "resource";
|
|
467
468
|
unit: "unit";
|
|
468
469
|
pickup: "pickup";
|
|
469
|
-
resource: "resource";
|
|
470
470
|
}>;
|
|
471
471
|
status: z.ZodEnum<{
|
|
472
472
|
cancelled: "cancelled";
|
|
@@ -617,10 +617,10 @@ export declare const publicBookingSessionRepriceResultSchema: z.ZodObject<{
|
|
|
617
617
|
title: z.ZodString;
|
|
618
618
|
description: z.ZodNullable<z.ZodString>;
|
|
619
619
|
itemType: z.ZodEnum<{
|
|
620
|
+
service: "service";
|
|
620
621
|
other: "other";
|
|
621
622
|
unit: "unit";
|
|
622
623
|
extra: "extra";
|
|
623
|
-
service: "service";
|
|
624
624
|
fee: "fee";
|
|
625
625
|
tax: "tax";
|
|
626
626
|
discount: "discount";
|
|
@@ -675,9 +675,9 @@ export declare const publicBookingSessionRepriceResultSchema: z.ZodObject<{
|
|
|
675
675
|
availabilitySlotId: z.ZodNullable<z.ZodString>;
|
|
676
676
|
quantity: z.ZodNumber;
|
|
677
677
|
allocationType: z.ZodEnum<{
|
|
678
|
+
resource: "resource";
|
|
678
679
|
unit: "unit";
|
|
679
680
|
pickup: "pickup";
|
|
680
|
-
resource: "resource";
|
|
681
681
|
}>;
|
|
682
682
|
status: z.ZodEnum<{
|
|
683
683
|
cancelled: "cancelled";
|
|
@@ -806,10 +806,10 @@ export declare const publicBookingOverviewSchema: z.ZodObject<{
|
|
|
806
806
|
title: z.ZodString;
|
|
807
807
|
description: z.ZodNullable<z.ZodString>;
|
|
808
808
|
itemType: z.ZodEnum<{
|
|
809
|
+
service: "service";
|
|
809
810
|
other: "other";
|
|
810
811
|
unit: "unit";
|
|
811
812
|
extra: "extra";
|
|
812
|
-
service: "service";
|
|
813
813
|
fee: "fee";
|
|
814
814
|
tax: "tax";
|
|
815
815
|
discount: "discount";
|
|
@@ -16,11 +16,11 @@ export declare const supplierConfirmationStatusSchema: z.ZodEnum<{
|
|
|
16
16
|
}>;
|
|
17
17
|
export declare const bookingSourceTypeSchema: z.ZodEnum<{
|
|
18
18
|
internal: "internal";
|
|
19
|
+
reseller: "reseller";
|
|
19
20
|
direct: "direct";
|
|
20
21
|
manual: "manual";
|
|
21
22
|
affiliate: "affiliate";
|
|
22
23
|
ota: "ota";
|
|
23
|
-
reseller: "reseller";
|
|
24
24
|
api_partner: "api_partner";
|
|
25
25
|
}>;
|
|
26
26
|
export declare const bookingParticipantTypeSchema: z.ZodEnum<{
|
|
@@ -39,10 +39,10 @@ export declare const bookingTravelerCategorySchema: z.ZodEnum<{
|
|
|
39
39
|
senior: "senior";
|
|
40
40
|
}>;
|
|
41
41
|
export declare const bookingItemTypeSchema: z.ZodEnum<{
|
|
42
|
+
service: "service";
|
|
42
43
|
other: "other";
|
|
43
44
|
unit: "unit";
|
|
44
45
|
extra: "extra";
|
|
45
|
-
service: "service";
|
|
46
46
|
fee: "fee";
|
|
47
47
|
tax: "tax";
|
|
48
48
|
discount: "discount";
|
|
@@ -67,9 +67,9 @@ export declare const bookingItemParticipantRoleSchema: z.ZodEnum<{
|
|
|
67
67
|
beneficiary: "beneficiary";
|
|
68
68
|
}>;
|
|
69
69
|
export declare const bookingAllocationTypeSchema: z.ZodEnum<{
|
|
70
|
+
resource: "resource";
|
|
70
71
|
unit: "unit";
|
|
71
72
|
pickup: "pickup";
|
|
72
|
-
resource: "resource";
|
|
73
73
|
}>;
|
|
74
74
|
export declare const bookingAllocationStatusSchema: z.ZodEnum<{
|
|
75
75
|
cancelled: "cancelled";
|