@voyantjs/bookings 0.31.3 → 0.32.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/checkout-capability.d.ts +16 -0
- package/dist/checkout-capability.d.ts.map +1 -0
- package/dist/checkout-capability.js +61 -0
- package/dist/routes-groups.d.ts +4 -4
- package/dist/routes-public.d.ts +20 -13
- package/dist/routes-public.d.ts.map +1 -1
- package/dist/routes-public.js +38 -8
- package/dist/routes-shared.d.ts +1 -19
- package/dist/routes-shared.d.ts.map +1 -1
- package/dist/routes.d.ts +45 -45
- package/dist/schema-core.d.ts +3 -3
- package/dist/schema-items.d.ts +5 -5
- package/dist/service-public.d.ts +32 -32
- package/dist/service.d.ts +54 -54
- package/dist/validation-public.d.ts +61 -24
- package/dist/validation-public.d.ts.map +1 -1
- package/dist/validation-public.js +13 -0
- package/dist/validation-shared.d.ts +7 -7
- package/dist/validation.d.ts +34 -34
- package/package.json +11 -6
package/dist/routes.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
16
16
|
}[];
|
|
17
17
|
id: string;
|
|
18
18
|
bookingNumber: string;
|
|
19
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
19
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
20
20
|
personId: string | null;
|
|
21
21
|
organizationId: string | null;
|
|
22
22
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -174,7 +174,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
174
174
|
data: {
|
|
175
175
|
bookingId: string;
|
|
176
176
|
bookingNumber: string;
|
|
177
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
177
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
178
178
|
sellCurrency: string;
|
|
179
179
|
sellAmountCents: number | null;
|
|
180
180
|
startDate: string | null;
|
|
@@ -194,7 +194,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
194
194
|
id: string;
|
|
195
195
|
title: string;
|
|
196
196
|
description: string | null;
|
|
197
|
-
itemType: "service" | "
|
|
197
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
198
198
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
199
199
|
serviceDate: string | null;
|
|
200
200
|
startsAt: string | null;
|
|
@@ -230,8 +230,8 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
230
230
|
bookingItemId: string | null;
|
|
231
231
|
travelerId: string | null;
|
|
232
232
|
fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
233
|
-
deliveryChannel: "
|
|
234
|
-
status: "pending" | "
|
|
233
|
+
deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
|
|
234
|
+
status: "pending" | "failed" | "issued" | "reissued" | "revoked";
|
|
235
235
|
artifactUrl: string | null;
|
|
236
236
|
}[];
|
|
237
237
|
};
|
|
@@ -263,7 +263,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
263
263
|
data: {
|
|
264
264
|
id: string;
|
|
265
265
|
bookingNumber: string;
|
|
266
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
266
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
267
267
|
personId: string | null;
|
|
268
268
|
organizationId: string | null;
|
|
269
269
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -315,7 +315,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
315
315
|
output: {
|
|
316
316
|
data: {
|
|
317
317
|
id: string;
|
|
318
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
318
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
319
319
|
createdAt: string;
|
|
320
320
|
updatedAt: string;
|
|
321
321
|
organizationId: string | null;
|
|
@@ -396,7 +396,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
396
396
|
output: {
|
|
397
397
|
data: {
|
|
398
398
|
id: string;
|
|
399
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
399
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
400
400
|
createdAt: string;
|
|
401
401
|
updatedAt: string;
|
|
402
402
|
organizationId: string | null;
|
|
@@ -545,7 +545,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
545
545
|
output: {
|
|
546
546
|
data: {
|
|
547
547
|
id: string;
|
|
548
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
548
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
549
549
|
createdAt: string;
|
|
550
550
|
updatedAt: string;
|
|
551
551
|
organizationId: string | null;
|
|
@@ -622,7 +622,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
622
622
|
data: {
|
|
623
623
|
id: string;
|
|
624
624
|
bookingNumber: string;
|
|
625
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
625
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
626
626
|
personId: string | null;
|
|
627
627
|
organizationId: string | null;
|
|
628
628
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -727,7 +727,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
727
727
|
data: {
|
|
728
728
|
id: string;
|
|
729
729
|
bookingNumber: string;
|
|
730
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
730
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
731
731
|
personId: string | null;
|
|
732
732
|
organizationId: string | null;
|
|
733
733
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -817,7 +817,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
817
817
|
data: {
|
|
818
818
|
id: string;
|
|
819
819
|
bookingNumber: string;
|
|
820
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
820
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
821
821
|
personId: string | null;
|
|
822
822
|
organizationId: string | null;
|
|
823
823
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -907,7 +907,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
907
907
|
data: {
|
|
908
908
|
id: string;
|
|
909
909
|
bookingNumber: string;
|
|
910
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
910
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
911
911
|
personId: string | null;
|
|
912
912
|
organizationId: string | null;
|
|
913
913
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -1010,7 +1010,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1010
1010
|
data: {
|
|
1011
1011
|
id: string;
|
|
1012
1012
|
bookingNumber: string;
|
|
1013
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
1013
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
1014
1014
|
personId: string | null;
|
|
1015
1015
|
organizationId: string | null;
|
|
1016
1016
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -1100,7 +1100,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1100
1100
|
data: {
|
|
1101
1101
|
id: string;
|
|
1102
1102
|
bookingNumber: string;
|
|
1103
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
1103
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
1104
1104
|
personId: string | null;
|
|
1105
1105
|
organizationId: string | null;
|
|
1106
1106
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -1190,7 +1190,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1190
1190
|
data: {
|
|
1191
1191
|
id: string;
|
|
1192
1192
|
bookingNumber: string;
|
|
1193
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
1193
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
1194
1194
|
personId: string | null;
|
|
1195
1195
|
organizationId: string | null;
|
|
1196
1196
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -1269,7 +1269,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1269
1269
|
data: {
|
|
1270
1270
|
id: string;
|
|
1271
1271
|
bookingNumber: string;
|
|
1272
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
1272
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
1273
1273
|
personId: string | null;
|
|
1274
1274
|
organizationId: string | null;
|
|
1275
1275
|
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
@@ -1344,7 +1344,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1344
1344
|
pricingCategoryId: string | null;
|
|
1345
1345
|
availabilitySlotId: string | null;
|
|
1346
1346
|
quantity: number;
|
|
1347
|
-
allocationType: "
|
|
1347
|
+
allocationType: "resource" | "unit" | "pickup";
|
|
1348
1348
|
status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
|
|
1349
1349
|
holdExpiresAt: string | null;
|
|
1350
1350
|
confirmedAt: string | null;
|
|
@@ -1373,7 +1373,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1373
1373
|
id: string;
|
|
1374
1374
|
bookingId: string;
|
|
1375
1375
|
participantType: "other" | "traveler" | "occupant";
|
|
1376
|
-
travelerCategory: "
|
|
1376
|
+
travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
|
|
1377
1377
|
firstName: string;
|
|
1378
1378
|
lastName: string;
|
|
1379
1379
|
email: string | null;
|
|
@@ -1444,7 +1444,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1444
1444
|
id: string;
|
|
1445
1445
|
bookingId: string;
|
|
1446
1446
|
participantType: "other" | "traveler" | "occupant";
|
|
1447
|
-
travelerCategory: "
|
|
1447
|
+
travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
|
|
1448
1448
|
firstName: string;
|
|
1449
1449
|
lastName: string;
|
|
1450
1450
|
email: string | null;
|
|
@@ -1501,10 +1501,10 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1501
1501
|
email: string | null;
|
|
1502
1502
|
firstName: string;
|
|
1503
1503
|
lastName: string;
|
|
1504
|
-
personId: string | null;
|
|
1505
1504
|
bookingId: string;
|
|
1505
|
+
personId: string | null;
|
|
1506
1506
|
participantType: "other" | "traveler" | "occupant";
|
|
1507
|
-
travelerCategory: "
|
|
1507
|
+
travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
|
|
1508
1508
|
phone: string | null;
|
|
1509
1509
|
preferredLanguage: string | null;
|
|
1510
1510
|
specialRequests: string | null;
|
|
@@ -1574,7 +1574,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1574
1574
|
bookingId: string;
|
|
1575
1575
|
personId: string | null;
|
|
1576
1576
|
participantType: "other" | "traveler" | "occupant";
|
|
1577
|
-
travelerCategory: "
|
|
1577
|
+
travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
|
|
1578
1578
|
firstName: string;
|
|
1579
1579
|
lastName: string;
|
|
1580
1580
|
email: string | null;
|
|
@@ -1650,7 +1650,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1650
1650
|
id: string;
|
|
1651
1651
|
bookingId: string;
|
|
1652
1652
|
participantType: "other" | "traveler" | "occupant";
|
|
1653
|
-
travelerCategory: "
|
|
1653
|
+
travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
|
|
1654
1654
|
firstName: string;
|
|
1655
1655
|
lastName: string;
|
|
1656
1656
|
email: string | null;
|
|
@@ -1726,7 +1726,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1726
1726
|
bookingId: string;
|
|
1727
1727
|
title: string;
|
|
1728
1728
|
description: string | null;
|
|
1729
|
-
itemType: "service" | "
|
|
1729
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1730
1730
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
1731
1731
|
serviceDate: string | null;
|
|
1732
1732
|
startsAt: string | null;
|
|
@@ -1789,12 +1789,12 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1789
1789
|
metadata: {
|
|
1790
1790
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
1791
1791
|
} | null;
|
|
1792
|
-
|
|
1792
|
+
description: string | null;
|
|
1793
1793
|
bookingId: string;
|
|
1794
|
+
sellCurrency: string;
|
|
1794
1795
|
optionUnitId: string | null;
|
|
1795
1796
|
title: string;
|
|
1796
|
-
|
|
1797
|
-
itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1797
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1798
1798
|
serviceDate: string | null;
|
|
1799
1799
|
quantity: number;
|
|
1800
1800
|
unitSellAmountCents: number | null;
|
|
@@ -1840,7 +1840,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
1840
1840
|
bookingId: string;
|
|
1841
1841
|
title: string;
|
|
1842
1842
|
description: string | null;
|
|
1843
|
-
itemType: "service" | "
|
|
1843
|
+
itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
1844
1844
|
status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
|
|
1845
1845
|
serviceDate: string | null;
|
|
1846
1846
|
startsAt: string | null;
|
|
@@ -2049,9 +2049,9 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2049
2049
|
notes: string | null;
|
|
2050
2050
|
createdAt: string;
|
|
2051
2051
|
updatedAt: string;
|
|
2052
|
+
bookingId: string;
|
|
2052
2053
|
costAmountCents: number;
|
|
2053
2054
|
confirmedAt: string | null;
|
|
2054
|
-
bookingId: string;
|
|
2055
2055
|
costCurrency: string;
|
|
2056
2056
|
supplierServiceId: string | null;
|
|
2057
2057
|
serviceName: string;
|
|
@@ -2120,8 +2120,8 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2120
2120
|
bookingItemId: string | null;
|
|
2121
2121
|
travelerId: string | null;
|
|
2122
2122
|
fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
2123
|
-
deliveryChannel: "
|
|
2124
|
-
status: "pending" | "
|
|
2123
|
+
deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
|
|
2124
|
+
status: "pending" | "failed" | "issued" | "reissued" | "revoked";
|
|
2125
2125
|
artifactUrl: string | null;
|
|
2126
2126
|
payload: {
|
|
2127
2127
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -2158,18 +2158,18 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2158
2158
|
output: {
|
|
2159
2159
|
data: {
|
|
2160
2160
|
id: string;
|
|
2161
|
-
status: "pending" | "
|
|
2161
|
+
status: "pending" | "failed" | "issued" | "reissued" | "revoked";
|
|
2162
2162
|
createdAt: string;
|
|
2163
2163
|
updatedAt: string;
|
|
2164
2164
|
bookingId: string;
|
|
2165
|
+
payload: {
|
|
2166
|
+
[x: string]: import("hono/utils/types").JSONValue;
|
|
2167
|
+
} | null;
|
|
2165
2168
|
travelerId: string | null;
|
|
2166
2169
|
bookingItemId: string | null;
|
|
2167
2170
|
fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
2168
|
-
deliveryChannel: "
|
|
2171
|
+
deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
|
|
2169
2172
|
artifactUrl: string | null;
|
|
2170
|
-
payload: {
|
|
2171
|
-
[x: string]: import("hono/utils/types").JSONValue;
|
|
2172
|
-
} | null;
|
|
2173
2173
|
issuedAt: string | null;
|
|
2174
2174
|
revokedAt: string | null;
|
|
2175
2175
|
};
|
|
@@ -2208,8 +2208,8 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2208
2208
|
bookingItemId: string | null;
|
|
2209
2209
|
travelerId: string | null;
|
|
2210
2210
|
fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
2211
|
-
deliveryChannel: "
|
|
2212
|
-
status: "pending" | "
|
|
2211
|
+
deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
|
|
2212
|
+
status: "pending" | "failed" | "issued" | "reissued" | "revoked";
|
|
2213
2213
|
artifactUrl: string | null;
|
|
2214
2214
|
payload: {
|
|
2215
2215
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -2241,7 +2241,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2241
2241
|
redeemedAt: string;
|
|
2242
2242
|
redeemedBy: string | null;
|
|
2243
2243
|
location: string | null;
|
|
2244
|
-
method: "
|
|
2244
|
+
method: "api" | "other" | "manual" | "scan";
|
|
2245
2245
|
metadata: {
|
|
2246
2246
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2247
2247
|
} | null;
|
|
@@ -2278,9 +2278,9 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2278
2278
|
metadata: {
|
|
2279
2279
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
2280
2280
|
} | null;
|
|
2281
|
-
method: "other" | "manual" | "api" | "scan";
|
|
2282
2281
|
redeemedAt: string;
|
|
2283
2282
|
bookingId: string;
|
|
2283
|
+
method: "api" | "other" | "manual" | "scan";
|
|
2284
2284
|
travelerId: string | null;
|
|
2285
2285
|
bookingItemId: string | null;
|
|
2286
2286
|
redeemedBy: string | null;
|
|
@@ -2602,7 +2602,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2602
2602
|
groupId: string;
|
|
2603
2603
|
booking: {
|
|
2604
2604
|
id: string;
|
|
2605
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
2605
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
2606
2606
|
createdAt: string;
|
|
2607
2607
|
updatedAt: string;
|
|
2608
2608
|
organizationId: string | null;
|
|
@@ -2742,7 +2742,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2742
2742
|
groupId: string;
|
|
2743
2743
|
booking: {
|
|
2744
2744
|
id: string;
|
|
2745
|
-
status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
2745
|
+
status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
2746
2746
|
createdAt: string;
|
|
2747
2747
|
updatedAt: string;
|
|
2748
2748
|
organizationId: string | null;
|
|
@@ -2880,10 +2880,10 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
|
|
|
2880
2880
|
email: string | null;
|
|
2881
2881
|
firstName: string;
|
|
2882
2882
|
lastName: string;
|
|
2883
|
-
personId: string | null;
|
|
2884
2883
|
bookingId: string;
|
|
2884
|
+
personId: string | null;
|
|
2885
2885
|
participantType: "other" | "traveler" | "occupant";
|
|
2886
|
-
travelerCategory: "
|
|
2886
|
+
travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
|
|
2887
2887
|
phone: string | null;
|
|
2888
2888
|
preferredLanguage: string | null;
|
|
2889
2889
|
specialRequests: string | null;
|
package/dist/schema-core.d.ts
CHANGED
|
@@ -41,7 +41,7 @@ export declare const bookings: import("drizzle-orm/pg-core").PgTableWithColumns<
|
|
|
41
41
|
tableName: "bookings";
|
|
42
42
|
dataType: "string";
|
|
43
43
|
columnType: "PgEnumColumn";
|
|
44
|
-
data: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "
|
|
44
|
+
data: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
|
|
45
45
|
driverParam: string;
|
|
46
46
|
notNull: true;
|
|
47
47
|
hasDefault: true;
|
|
@@ -779,7 +779,7 @@ export declare const bookingTravelers: import("drizzle-orm/pg-core").PgTableWith
|
|
|
779
779
|
tableName: "booking_travelers";
|
|
780
780
|
dataType: "string";
|
|
781
781
|
columnType: "PgEnumColumn";
|
|
782
|
-
data: "
|
|
782
|
+
data: "child" | "other" | "adult" | "infant" | "senior";
|
|
783
783
|
driverParam: string;
|
|
784
784
|
notNull: false;
|
|
785
785
|
hasDefault: false;
|
|
@@ -1075,7 +1075,7 @@ export declare const bookingPiiAccessLog: import("drizzle-orm/pg-core").PgTableW
|
|
|
1075
1075
|
tableName: "booking_pii_access_log";
|
|
1076
1076
|
dataType: "string";
|
|
1077
1077
|
columnType: "PgEnumColumn";
|
|
1078
|
-
data: "read" | "
|
|
1078
|
+
data: "read" | "delete" | "update";
|
|
1079
1079
|
driverParam: string;
|
|
1080
1080
|
notNull: true;
|
|
1081
1081
|
hasDefault: false;
|
package/dist/schema-items.d.ts
CHANGED
|
@@ -75,7 +75,7 @@ export declare const bookingItems: import("drizzle-orm/pg-core").PgTableWithColu
|
|
|
75
75
|
tableName: "booking_items";
|
|
76
76
|
dataType: "string";
|
|
77
77
|
columnType: "PgEnumColumn";
|
|
78
|
-
data: "service" | "
|
|
78
|
+
data: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
|
|
79
79
|
driverParam: string;
|
|
80
80
|
notNull: true;
|
|
81
81
|
hasDefault: true;
|
|
@@ -611,7 +611,7 @@ export declare const bookingAllocations: import("drizzle-orm/pg-core").PgTableWi
|
|
|
611
611
|
tableName: "booking_allocations";
|
|
612
612
|
dataType: "string";
|
|
613
613
|
columnType: "PgEnumColumn";
|
|
614
|
-
data: "
|
|
614
|
+
data: "resource" | "unit" | "pickup";
|
|
615
615
|
driverParam: string;
|
|
616
616
|
notNull: true;
|
|
617
617
|
hasDefault: true;
|
|
@@ -841,7 +841,7 @@ export declare const bookingFulfillments: import("drizzle-orm/pg-core").PgTableW
|
|
|
841
841
|
tableName: "booking_fulfillments";
|
|
842
842
|
dataType: "string";
|
|
843
843
|
columnType: "PgEnumColumn";
|
|
844
|
-
data: "
|
|
844
|
+
data: "api" | "email" | "other" | "download" | "wallet";
|
|
845
845
|
driverParam: string;
|
|
846
846
|
notNull: true;
|
|
847
847
|
hasDefault: false;
|
|
@@ -858,7 +858,7 @@ export declare const bookingFulfillments: import("drizzle-orm/pg-core").PgTableW
|
|
|
858
858
|
tableName: "booking_fulfillments";
|
|
859
859
|
dataType: "string";
|
|
860
860
|
columnType: "PgEnumColumn";
|
|
861
|
-
data: "pending" | "
|
|
861
|
+
data: "pending" | "failed" | "issued" | "reissued" | "revoked";
|
|
862
862
|
driverParam: string;
|
|
863
863
|
notNull: true;
|
|
864
864
|
hasDefault: true;
|
|
@@ -1105,7 +1105,7 @@ export declare const bookingRedemptionEvents: import("drizzle-orm/pg-core").PgTa
|
|
|
1105
1105
|
tableName: "booking_redemption_events";
|
|
1106
1106
|
dataType: "string";
|
|
1107
1107
|
columnType: "PgEnumColumn";
|
|
1108
|
-
data: "
|
|
1108
|
+
data: "api" | "other" | "manual" | "scan";
|
|
1109
1109
|
driverParam: string;
|
|
1110
1110
|
notNull: true;
|
|
1111
1111
|
hasDefault: true;
|