@voyantjs/octo 0.3.1 → 0.4.1
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/routes.d.ts +24 -24
- package/dist/service-bookings.d.ts +24 -24
- package/dist/service-shared.d.ts +1 -1
- package/dist/validation.d.ts +1 -1
- package/package.json +8 -8
package/dist/routes.d.ts
CHANGED
|
@@ -347,7 +347,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
347
347
|
bookingItemId: string | null;
|
|
348
348
|
participantId: string | null;
|
|
349
349
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
350
|
-
deliveryChannel: "
|
|
350
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
351
351
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
352
352
|
artifactUrl: string | null;
|
|
353
353
|
payload: {
|
|
@@ -361,7 +361,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
361
361
|
bookingItemId: string | null;
|
|
362
362
|
participantId: string | null;
|
|
363
363
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
364
|
-
deliveryChannel: "
|
|
364
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
365
365
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
366
366
|
artifactUrl: string | null;
|
|
367
367
|
downloadUrl: string | null;
|
|
@@ -394,7 +394,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
394
394
|
id: string;
|
|
395
395
|
supplierServiceId: string | null;
|
|
396
396
|
serviceName: string;
|
|
397
|
-
status: "
|
|
397
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
398
398
|
supplierReference: string | null;
|
|
399
399
|
confirmedAt: string | null;
|
|
400
400
|
}[];
|
|
@@ -476,7 +476,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
476
476
|
bookingItemId: string | null;
|
|
477
477
|
participantId: string | null;
|
|
478
478
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
479
|
-
deliveryChannel: "
|
|
479
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
480
480
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
481
481
|
artifactUrl: string | null;
|
|
482
482
|
payload: {
|
|
@@ -490,7 +490,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
490
490
|
bookingItemId: string | null;
|
|
491
491
|
participantId: string | null;
|
|
492
492
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
493
|
-
deliveryChannel: "
|
|
493
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
494
494
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
495
495
|
artifactUrl: string | null;
|
|
496
496
|
downloadUrl: string | null;
|
|
@@ -523,7 +523,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
523
523
|
id: string;
|
|
524
524
|
supplierServiceId: string | null;
|
|
525
525
|
serviceName: string;
|
|
526
|
-
status: "
|
|
526
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
527
527
|
supplierReference: string | null;
|
|
528
528
|
confirmedAt: string | null;
|
|
529
529
|
}[];
|
|
@@ -602,7 +602,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
602
602
|
bookingItemId: string | null;
|
|
603
603
|
participantId: string | null;
|
|
604
604
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
605
|
-
deliveryChannel: "
|
|
605
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
606
606
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
607
607
|
artifactUrl: string | null;
|
|
608
608
|
payload: {
|
|
@@ -616,7 +616,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
616
616
|
bookingItemId: string | null;
|
|
617
617
|
participantId: string | null;
|
|
618
618
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
619
|
-
deliveryChannel: "
|
|
619
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
620
620
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
621
621
|
artifactUrl: string | null;
|
|
622
622
|
downloadUrl: string | null;
|
|
@@ -649,7 +649,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
649
649
|
id: string;
|
|
650
650
|
supplierServiceId: string | null;
|
|
651
651
|
serviceName: string;
|
|
652
|
-
status: "
|
|
652
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
653
653
|
supplierReference: string | null;
|
|
654
654
|
confirmedAt: string | null;
|
|
655
655
|
}[];
|
|
@@ -714,7 +714,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
714
714
|
bookingItemId: string | null;
|
|
715
715
|
participantId: string | null;
|
|
716
716
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
717
|
-
deliveryChannel: "
|
|
717
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
718
718
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
719
719
|
artifactUrl: string | null;
|
|
720
720
|
payload: {
|
|
@@ -728,7 +728,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
728
728
|
bookingItemId: string | null;
|
|
729
729
|
participantId: string | null;
|
|
730
730
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
731
|
-
deliveryChannel: "
|
|
731
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
732
732
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
733
733
|
artifactUrl: string | null;
|
|
734
734
|
downloadUrl: string | null;
|
|
@@ -761,7 +761,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
761
761
|
id: string;
|
|
762
762
|
supplierServiceId: string | null;
|
|
763
763
|
serviceName: string;
|
|
764
|
-
status: "
|
|
764
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
765
765
|
supplierReference: string | null;
|
|
766
766
|
confirmedAt: string | null;
|
|
767
767
|
}[];
|
|
@@ -859,7 +859,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
859
859
|
bookingItemId: string | null;
|
|
860
860
|
participantId: string | null;
|
|
861
861
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
862
|
-
deliveryChannel: "
|
|
862
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
863
863
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
864
864
|
artifactUrl: string | null;
|
|
865
865
|
payload: {
|
|
@@ -873,7 +873,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
873
873
|
bookingItemId: string | null;
|
|
874
874
|
participantId: string | null;
|
|
875
875
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
876
|
-
deliveryChannel: "
|
|
876
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
877
877
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
878
878
|
artifactUrl: string | null;
|
|
879
879
|
downloadUrl: string | null;
|
|
@@ -906,7 +906,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
906
906
|
id: string;
|
|
907
907
|
supplierServiceId: string | null;
|
|
908
908
|
serviceName: string;
|
|
909
|
-
status: "
|
|
909
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
910
910
|
supplierReference: string | null;
|
|
911
911
|
confirmedAt: string | null;
|
|
912
912
|
}[];
|
|
@@ -1004,7 +1004,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1004
1004
|
bookingItemId: string | null;
|
|
1005
1005
|
participantId: string | null;
|
|
1006
1006
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1007
|
-
deliveryChannel: "
|
|
1007
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1008
1008
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1009
1009
|
artifactUrl: string | null;
|
|
1010
1010
|
payload: {
|
|
@@ -1018,7 +1018,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1018
1018
|
bookingItemId: string | null;
|
|
1019
1019
|
participantId: string | null;
|
|
1020
1020
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1021
|
-
deliveryChannel: "
|
|
1021
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1022
1022
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1023
1023
|
artifactUrl: string | null;
|
|
1024
1024
|
downloadUrl: string | null;
|
|
@@ -1051,7 +1051,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1051
1051
|
id: string;
|
|
1052
1052
|
supplierServiceId: string | null;
|
|
1053
1053
|
serviceName: string;
|
|
1054
|
-
status: "
|
|
1054
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
1055
1055
|
supplierReference: string | null;
|
|
1056
1056
|
confirmedAt: string | null;
|
|
1057
1057
|
}[];
|
|
@@ -1149,7 +1149,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1149
1149
|
bookingItemId: string | null;
|
|
1150
1150
|
participantId: string | null;
|
|
1151
1151
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1152
|
-
deliveryChannel: "
|
|
1152
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1153
1153
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1154
1154
|
artifactUrl: string | null;
|
|
1155
1155
|
payload: {
|
|
@@ -1163,7 +1163,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1163
1163
|
bookingItemId: string | null;
|
|
1164
1164
|
participantId: string | null;
|
|
1165
1165
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1166
|
-
deliveryChannel: "
|
|
1166
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1167
1167
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1168
1168
|
artifactUrl: string | null;
|
|
1169
1169
|
downloadUrl: string | null;
|
|
@@ -1196,7 +1196,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1196
1196
|
id: string;
|
|
1197
1197
|
supplierServiceId: string | null;
|
|
1198
1198
|
serviceName: string;
|
|
1199
|
-
status: "
|
|
1199
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
1200
1200
|
supplierReference: string | null;
|
|
1201
1201
|
confirmedAt: string | null;
|
|
1202
1202
|
}[];
|
|
@@ -1354,7 +1354,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1354
1354
|
bookingItemId: string | null;
|
|
1355
1355
|
participantId: string | null;
|
|
1356
1356
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1357
|
-
deliveryChannel: "
|
|
1357
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1358
1358
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1359
1359
|
artifactUrl: string | null;
|
|
1360
1360
|
payload: {
|
|
@@ -1368,7 +1368,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1368
1368
|
bookingItemId: string | null;
|
|
1369
1369
|
participantId: string | null;
|
|
1370
1370
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1371
|
-
deliveryChannel: "
|
|
1371
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1372
1372
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1373
1373
|
artifactUrl: string | null;
|
|
1374
1374
|
downloadUrl: string | null;
|
|
@@ -1401,7 +1401,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1401
1401
|
id: string;
|
|
1402
1402
|
supplierServiceId: string | null;
|
|
1403
1403
|
serviceName: string;
|
|
1404
|
-
status: "
|
|
1404
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
1405
1405
|
supplierReference: string | null;
|
|
1406
1406
|
confirmedAt: string | null;
|
|
1407
1407
|
}[];
|
|
@@ -32,7 +32,7 @@ export declare function getProjectedBookingById(db: PostgresJsDatabase, id: stri
|
|
|
32
32
|
bookingItemId: string | null;
|
|
33
33
|
participantId: string | null;
|
|
34
34
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
35
|
-
deliveryChannel: "
|
|
35
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
36
36
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
37
37
|
artifactUrl: string | null;
|
|
38
38
|
payload: Record<string, unknown> | null;
|
|
@@ -44,7 +44,7 @@ export declare function getProjectedBookingById(db: PostgresJsDatabase, id: stri
|
|
|
44
44
|
bookingItemId: string | null;
|
|
45
45
|
participantId: string | null;
|
|
46
46
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
47
|
-
deliveryChannel: "
|
|
47
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
48
48
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
49
49
|
artifactUrl: string | null;
|
|
50
50
|
downloadUrl: string | null;
|
|
@@ -75,7 +75,7 @@ export declare function getProjectedBookingById(db: PostgresJsDatabase, id: stri
|
|
|
75
75
|
id: string;
|
|
76
76
|
supplierServiceId: string | null;
|
|
77
77
|
serviceName: string;
|
|
78
|
-
status: "
|
|
78
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
79
79
|
supplierReference: string | null;
|
|
80
80
|
confirmedAt: string | null;
|
|
81
81
|
}[];
|
|
@@ -127,7 +127,7 @@ export declare function listProjectedBookings(db: PostgresJsDatabase, query: Oct
|
|
|
127
127
|
bookingItemId: string | null;
|
|
128
128
|
participantId: string | null;
|
|
129
129
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
130
|
-
deliveryChannel: "
|
|
130
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
131
131
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
132
132
|
artifactUrl: string | null;
|
|
133
133
|
payload: Record<string, unknown> | null;
|
|
@@ -139,7 +139,7 @@ export declare function listProjectedBookings(db: PostgresJsDatabase, query: Oct
|
|
|
139
139
|
bookingItemId: string | null;
|
|
140
140
|
participantId: string | null;
|
|
141
141
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
142
|
-
deliveryChannel: "
|
|
142
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
143
143
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
144
144
|
artifactUrl: string | null;
|
|
145
145
|
downloadUrl: string | null;
|
|
@@ -170,7 +170,7 @@ export declare function listProjectedBookings(db: PostgresJsDatabase, query: Oct
|
|
|
170
170
|
id: string;
|
|
171
171
|
supplierServiceId: string | null;
|
|
172
172
|
serviceName: string;
|
|
173
|
-
status: "
|
|
173
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
174
174
|
supplierReference: string | null;
|
|
175
175
|
confirmedAt: string | null;
|
|
176
176
|
}[];
|
|
@@ -229,7 +229,7 @@ export declare function reserveProjectedBooking(db: PostgresJsDatabase, data: Pa
|
|
|
229
229
|
bookingItemId: string | null;
|
|
230
230
|
participantId: string | null;
|
|
231
231
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
232
|
-
deliveryChannel: "
|
|
232
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
233
233
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
234
234
|
artifactUrl: string | null;
|
|
235
235
|
payload: Record<string, unknown> | null;
|
|
@@ -241,7 +241,7 @@ export declare function reserveProjectedBooking(db: PostgresJsDatabase, data: Pa
|
|
|
241
241
|
bookingItemId: string | null;
|
|
242
242
|
participantId: string | null;
|
|
243
243
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
244
|
-
deliveryChannel: "
|
|
244
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
245
245
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
246
246
|
artifactUrl: string | null;
|
|
247
247
|
downloadUrl: string | null;
|
|
@@ -272,7 +272,7 @@ export declare function reserveProjectedBooking(db: PostgresJsDatabase, data: Pa
|
|
|
272
272
|
id: string;
|
|
273
273
|
supplierServiceId: string | null;
|
|
274
274
|
serviceName: string;
|
|
275
|
-
status: "
|
|
275
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
276
276
|
supplierReference: string | null;
|
|
277
277
|
confirmedAt: string | null;
|
|
278
278
|
}[];
|
|
@@ -328,7 +328,7 @@ export declare function confirmProjectedBooking(db: PostgresJsDatabase, id: stri
|
|
|
328
328
|
bookingItemId: string | null;
|
|
329
329
|
participantId: string | null;
|
|
330
330
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
331
|
-
deliveryChannel: "
|
|
331
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
332
332
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
333
333
|
artifactUrl: string | null;
|
|
334
334
|
payload: Record<string, unknown> | null;
|
|
@@ -340,7 +340,7 @@ export declare function confirmProjectedBooking(db: PostgresJsDatabase, id: stri
|
|
|
340
340
|
bookingItemId: string | null;
|
|
341
341
|
participantId: string | null;
|
|
342
342
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
343
|
-
deliveryChannel: "
|
|
343
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
344
344
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
345
345
|
artifactUrl: string | null;
|
|
346
346
|
downloadUrl: string | null;
|
|
@@ -371,7 +371,7 @@ export declare function confirmProjectedBooking(db: PostgresJsDatabase, id: stri
|
|
|
371
371
|
id: string;
|
|
372
372
|
supplierServiceId: string | null;
|
|
373
373
|
serviceName: string;
|
|
374
|
-
status: "
|
|
374
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
375
375
|
supplierReference: string | null;
|
|
376
376
|
confirmedAt: string | null;
|
|
377
377
|
}[];
|
|
@@ -427,7 +427,7 @@ export declare function extendProjectedBookingHold(db: PostgresJsDatabase, id: s
|
|
|
427
427
|
bookingItemId: string | null;
|
|
428
428
|
participantId: string | null;
|
|
429
429
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
430
|
-
deliveryChannel: "
|
|
430
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
431
431
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
432
432
|
artifactUrl: string | null;
|
|
433
433
|
payload: Record<string, unknown> | null;
|
|
@@ -439,7 +439,7 @@ export declare function extendProjectedBookingHold(db: PostgresJsDatabase, id: s
|
|
|
439
439
|
bookingItemId: string | null;
|
|
440
440
|
participantId: string | null;
|
|
441
441
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
442
|
-
deliveryChannel: "
|
|
442
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
443
443
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
444
444
|
artifactUrl: string | null;
|
|
445
445
|
downloadUrl: string | null;
|
|
@@ -470,7 +470,7 @@ export declare function extendProjectedBookingHold(db: PostgresJsDatabase, id: s
|
|
|
470
470
|
id: string;
|
|
471
471
|
supplierServiceId: string | null;
|
|
472
472
|
serviceName: string;
|
|
473
|
-
status: "
|
|
473
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
474
474
|
supplierReference: string | null;
|
|
475
475
|
confirmedAt: string | null;
|
|
476
476
|
}[];
|
|
@@ -526,7 +526,7 @@ export declare function expireProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
526
526
|
bookingItemId: string | null;
|
|
527
527
|
participantId: string | null;
|
|
528
528
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
529
|
-
deliveryChannel: "
|
|
529
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
530
530
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
531
531
|
artifactUrl: string | null;
|
|
532
532
|
payload: Record<string, unknown> | null;
|
|
@@ -538,7 +538,7 @@ export declare function expireProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
538
538
|
bookingItemId: string | null;
|
|
539
539
|
participantId: string | null;
|
|
540
540
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
541
|
-
deliveryChannel: "
|
|
541
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
542
542
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
543
543
|
artifactUrl: string | null;
|
|
544
544
|
downloadUrl: string | null;
|
|
@@ -569,7 +569,7 @@ export declare function expireProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
569
569
|
id: string;
|
|
570
570
|
supplierServiceId: string | null;
|
|
571
571
|
serviceName: string;
|
|
572
|
-
status: "
|
|
572
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
573
573
|
supplierReference: string | null;
|
|
574
574
|
confirmedAt: string | null;
|
|
575
575
|
}[];
|
|
@@ -625,7 +625,7 @@ export declare function cancelProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
625
625
|
bookingItemId: string | null;
|
|
626
626
|
participantId: string | null;
|
|
627
627
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
628
|
-
deliveryChannel: "
|
|
628
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
629
629
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
630
630
|
artifactUrl: string | null;
|
|
631
631
|
payload: Record<string, unknown> | null;
|
|
@@ -637,7 +637,7 @@ export declare function cancelProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
637
637
|
bookingItemId: string | null;
|
|
638
638
|
participantId: string | null;
|
|
639
639
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
640
|
-
deliveryChannel: "
|
|
640
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
641
641
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
642
642
|
artifactUrl: string | null;
|
|
643
643
|
downloadUrl: string | null;
|
|
@@ -668,7 +668,7 @@ export declare function cancelProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
668
668
|
id: string;
|
|
669
669
|
supplierServiceId: string | null;
|
|
670
670
|
serviceName: string;
|
|
671
|
-
status: "
|
|
671
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
672
672
|
supplierReference: string | null;
|
|
673
673
|
confirmedAt: string | null;
|
|
674
674
|
}[];
|
|
@@ -741,7 +741,7 @@ export declare function recordProjectedRedemption(db: PostgresJsDatabase, bookin
|
|
|
741
741
|
bookingItemId: string | null;
|
|
742
742
|
participantId: string | null;
|
|
743
743
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
744
|
-
deliveryChannel: "
|
|
744
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
745
745
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
746
746
|
artifactUrl: string | null;
|
|
747
747
|
payload: Record<string, unknown> | null;
|
|
@@ -753,7 +753,7 @@ export declare function recordProjectedRedemption(db: PostgresJsDatabase, bookin
|
|
|
753
753
|
bookingItemId: string | null;
|
|
754
754
|
participantId: string | null;
|
|
755
755
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
756
|
-
deliveryChannel: "
|
|
756
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
757
757
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
758
758
|
artifactUrl: string | null;
|
|
759
759
|
downloadUrl: string | null;
|
|
@@ -784,7 +784,7 @@ export declare function recordProjectedRedemption(db: PostgresJsDatabase, bookin
|
|
|
784
784
|
id: string;
|
|
785
785
|
supplierServiceId: string | null;
|
|
786
786
|
serviceName: string;
|
|
787
|
-
status: "
|
|
787
|
+
status: "pending" | "confirmed" | "cancelled" | "rejected";
|
|
788
788
|
supplierReference: string | null;
|
|
789
789
|
confirmedAt: string | null;
|
|
790
790
|
}[];
|
package/dist/service-shared.d.ts
CHANGED
|
@@ -49,7 +49,7 @@ export declare function mapBookingArtifact(fulfillment: typeof bookingFulfillmen
|
|
|
49
49
|
bookingItemId: string | null;
|
|
50
50
|
participantId: string | null;
|
|
51
51
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
52
|
-
deliveryChannel: "
|
|
52
|
+
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
53
53
|
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
54
54
|
artifactUrl: string | null;
|
|
55
55
|
downloadUrl: string | null;
|
package/dist/validation.d.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/octo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"license": "FSL-1.1-Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"drizzle-orm": "^0.45.2",
|
|
30
30
|
"hono": "^4.12.10",
|
|
31
31
|
"zod": "^4.3.6",
|
|
32
|
-
"@voyantjs/availability": "0.
|
|
33
|
-
"@voyantjs/bookings": "0.
|
|
34
|
-
"@voyantjs/core": "0.
|
|
35
|
-
"@voyantjs/db": "0.
|
|
36
|
-
"@voyantjs/hono": "0.
|
|
37
|
-
"@voyantjs/products": "0.
|
|
38
|
-
"@voyantjs/transactions": "0.
|
|
32
|
+
"@voyantjs/availability": "0.4.1",
|
|
33
|
+
"@voyantjs/bookings": "0.4.1",
|
|
34
|
+
"@voyantjs/core": "0.4.1",
|
|
35
|
+
"@voyantjs/db": "0.4.1",
|
|
36
|
+
"@voyantjs/hono": "0.4.1",
|
|
37
|
+
"@voyantjs/products": "0.4.1",
|
|
38
|
+
"@voyantjs/transactions": "0.4.1"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"typescript": "^6.0.2",
|