@voyantjs/octo 0.25.0 → 0.26.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
|
@@ -355,7 +355,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
355
355
|
travelerId: string | null;
|
|
356
356
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
357
357
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
358
|
-
status: "pending" | "
|
|
358
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
359
359
|
artifactUrl: string | null;
|
|
360
360
|
payload: {
|
|
361
361
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -369,7 +369,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
369
369
|
travelerId: string | null;
|
|
370
370
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
371
371
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
372
|
-
status: "pending" | "
|
|
372
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
373
373
|
artifactUrl: string | null;
|
|
374
374
|
downloadUrl: string | null;
|
|
375
375
|
pdfUrl: string | null;
|
|
@@ -412,7 +412,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
412
412
|
expiredAt: string | null;
|
|
413
413
|
utcRedeemedAt: string | null;
|
|
414
414
|
extensions: {
|
|
415
|
-
sourceType: "internal" | "
|
|
415
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
416
416
|
externalBookingRef: string | null;
|
|
417
417
|
communicationLanguage: string | null;
|
|
418
418
|
personId: string | null;
|
|
@@ -491,7 +491,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
491
491
|
travelerId: string | null;
|
|
492
492
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
493
493
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
494
|
-
status: "pending" | "
|
|
494
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
495
495
|
artifactUrl: string | null;
|
|
496
496
|
payload: {
|
|
497
497
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -505,7 +505,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
505
505
|
travelerId: string | null;
|
|
506
506
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
507
507
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
508
|
-
status: "pending" | "
|
|
508
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
509
509
|
artifactUrl: string | null;
|
|
510
510
|
downloadUrl: string | null;
|
|
511
511
|
pdfUrl: string | null;
|
|
@@ -548,7 +548,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
548
548
|
expiredAt: string | null;
|
|
549
549
|
utcRedeemedAt: string | null;
|
|
550
550
|
extensions: {
|
|
551
|
-
sourceType: "internal" | "
|
|
551
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
552
552
|
externalBookingRef: string | null;
|
|
553
553
|
communicationLanguage: string | null;
|
|
554
554
|
personId: string | null;
|
|
@@ -624,7 +624,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
624
624
|
travelerId: string | null;
|
|
625
625
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
626
626
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
627
|
-
status: "pending" | "
|
|
627
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
628
628
|
artifactUrl: string | null;
|
|
629
629
|
payload: {
|
|
630
630
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -638,7 +638,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
638
638
|
travelerId: string | null;
|
|
639
639
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
640
640
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
641
|
-
status: "pending" | "
|
|
641
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
642
642
|
artifactUrl: string | null;
|
|
643
643
|
downloadUrl: string | null;
|
|
644
644
|
pdfUrl: string | null;
|
|
@@ -681,7 +681,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
681
681
|
expiredAt: string | null;
|
|
682
682
|
utcRedeemedAt: string | null;
|
|
683
683
|
extensions: {
|
|
684
|
-
sourceType: "internal" | "
|
|
684
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
685
685
|
externalBookingRef: string | null;
|
|
686
686
|
communicationLanguage: string | null;
|
|
687
687
|
personId: string | null;
|
|
@@ -743,7 +743,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
743
743
|
travelerId: string | null;
|
|
744
744
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
745
745
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
746
|
-
status: "pending" | "
|
|
746
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
747
747
|
artifactUrl: string | null;
|
|
748
748
|
payload: {
|
|
749
749
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -757,7 +757,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
757
757
|
travelerId: string | null;
|
|
758
758
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
759
759
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
760
|
-
status: "pending" | "
|
|
760
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
761
761
|
artifactUrl: string | null;
|
|
762
762
|
downloadUrl: string | null;
|
|
763
763
|
pdfUrl: string | null;
|
|
@@ -800,7 +800,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
800
800
|
expiredAt: string | null;
|
|
801
801
|
utcRedeemedAt: string | null;
|
|
802
802
|
extensions: {
|
|
803
|
-
sourceType: "internal" | "
|
|
803
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
804
804
|
externalBookingRef: string | null;
|
|
805
805
|
communicationLanguage: string | null;
|
|
806
806
|
personId: string | null;
|
|
@@ -895,7 +895,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
895
895
|
travelerId: string | null;
|
|
896
896
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
897
897
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
898
|
-
status: "pending" | "
|
|
898
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
899
899
|
artifactUrl: string | null;
|
|
900
900
|
payload: {
|
|
901
901
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -909,7 +909,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
909
909
|
travelerId: string | null;
|
|
910
910
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
911
911
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
912
|
-
status: "pending" | "
|
|
912
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
913
913
|
artifactUrl: string | null;
|
|
914
914
|
downloadUrl: string | null;
|
|
915
915
|
pdfUrl: string | null;
|
|
@@ -952,7 +952,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
952
952
|
expiredAt: string | null;
|
|
953
953
|
utcRedeemedAt: string | null;
|
|
954
954
|
extensions: {
|
|
955
|
-
sourceType: "internal" | "
|
|
955
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
956
956
|
externalBookingRef: string | null;
|
|
957
957
|
communicationLanguage: string | null;
|
|
958
958
|
personId: string | null;
|
|
@@ -1047,7 +1047,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1047
1047
|
travelerId: string | null;
|
|
1048
1048
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1049
1049
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1050
|
-
status: "pending" | "
|
|
1050
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1051
1051
|
artifactUrl: string | null;
|
|
1052
1052
|
payload: {
|
|
1053
1053
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1061,7 +1061,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1061
1061
|
travelerId: string | null;
|
|
1062
1062
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1063
1063
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1064
|
-
status: "pending" | "
|
|
1064
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1065
1065
|
artifactUrl: string | null;
|
|
1066
1066
|
downloadUrl: string | null;
|
|
1067
1067
|
pdfUrl: string | null;
|
|
@@ -1104,7 +1104,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1104
1104
|
expiredAt: string | null;
|
|
1105
1105
|
utcRedeemedAt: string | null;
|
|
1106
1106
|
extensions: {
|
|
1107
|
-
sourceType: "internal" | "
|
|
1107
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
1108
1108
|
externalBookingRef: string | null;
|
|
1109
1109
|
communicationLanguage: string | null;
|
|
1110
1110
|
personId: string | null;
|
|
@@ -1199,7 +1199,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1199
1199
|
travelerId: string | null;
|
|
1200
1200
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1201
1201
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1202
|
-
status: "pending" | "
|
|
1202
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1203
1203
|
artifactUrl: string | null;
|
|
1204
1204
|
payload: {
|
|
1205
1205
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1213,7 +1213,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1213
1213
|
travelerId: string | null;
|
|
1214
1214
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1215
1215
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1216
|
-
status: "pending" | "
|
|
1216
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1217
1217
|
artifactUrl: string | null;
|
|
1218
1218
|
downloadUrl: string | null;
|
|
1219
1219
|
pdfUrl: string | null;
|
|
@@ -1256,7 +1256,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1256
1256
|
expiredAt: string | null;
|
|
1257
1257
|
utcRedeemedAt: string | null;
|
|
1258
1258
|
extensions: {
|
|
1259
|
-
sourceType: "internal" | "
|
|
1259
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
1260
1260
|
externalBookingRef: string | null;
|
|
1261
1261
|
communicationLanguage: string | null;
|
|
1262
1262
|
personId: string | null;
|
|
@@ -1411,7 +1411,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1411
1411
|
travelerId: string | null;
|
|
1412
1412
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1413
1413
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1414
|
-
status: "pending" | "
|
|
1414
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1415
1415
|
artifactUrl: string | null;
|
|
1416
1416
|
payload: {
|
|
1417
1417
|
[x: string]: import("hono/utils/types").JSONValue;
|
|
@@ -1425,7 +1425,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1425
1425
|
travelerId: string | null;
|
|
1426
1426
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
1427
1427
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
1428
|
-
status: "pending" | "
|
|
1428
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
1429
1429
|
artifactUrl: string | null;
|
|
1430
1430
|
downloadUrl: string | null;
|
|
1431
1431
|
pdfUrl: string | null;
|
|
@@ -1468,7 +1468,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
|
|
|
1468
1468
|
expiredAt: string | null;
|
|
1469
1469
|
utcRedeemedAt: string | null;
|
|
1470
1470
|
extensions: {
|
|
1471
|
-
sourceType: "internal" | "
|
|
1471
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
1472
1472
|
externalBookingRef: string | null;
|
|
1473
1473
|
communicationLanguage: string | null;
|
|
1474
1474
|
personId: string | null;
|
|
@@ -40,7 +40,7 @@ export declare function getProjectedBookingById(db: PostgresJsDatabase, id: stri
|
|
|
40
40
|
travelerId: string | null;
|
|
41
41
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
42
42
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
43
|
-
status: "pending" | "
|
|
43
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
44
44
|
artifactUrl: string | null;
|
|
45
45
|
payload: Record<string, unknown> | null;
|
|
46
46
|
issuedAt: string | null;
|
|
@@ -52,7 +52,7 @@ export declare function getProjectedBookingById(db: PostgresJsDatabase, id: stri
|
|
|
52
52
|
travelerId: string | null;
|
|
53
53
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
54
54
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
55
|
-
status: "pending" | "
|
|
55
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
56
56
|
artifactUrl: string | null;
|
|
57
57
|
downloadUrl: string | null;
|
|
58
58
|
pdfUrl: string | null;
|
|
@@ -93,7 +93,7 @@ export declare function getProjectedBookingById(db: PostgresJsDatabase, id: stri
|
|
|
93
93
|
expiredAt: string | null;
|
|
94
94
|
utcRedeemedAt: string | null;
|
|
95
95
|
extensions: {
|
|
96
|
-
sourceType: "internal" | "
|
|
96
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
97
97
|
externalBookingRef: string | null;
|
|
98
98
|
communicationLanguage: string | null;
|
|
99
99
|
personId: string | null;
|
|
@@ -142,7 +142,7 @@ export declare function listProjectedBookings(db: PostgresJsDatabase, query: Oct
|
|
|
142
142
|
travelerId: string | null;
|
|
143
143
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
144
144
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
145
|
-
status: "pending" | "
|
|
145
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
146
146
|
artifactUrl: string | null;
|
|
147
147
|
payload: Record<string, unknown> | null;
|
|
148
148
|
issuedAt: string | null;
|
|
@@ -154,7 +154,7 @@ export declare function listProjectedBookings(db: PostgresJsDatabase, query: Oct
|
|
|
154
154
|
travelerId: string | null;
|
|
155
155
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
156
156
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
157
|
-
status: "pending" | "
|
|
157
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
158
158
|
artifactUrl: string | null;
|
|
159
159
|
downloadUrl: string | null;
|
|
160
160
|
pdfUrl: string | null;
|
|
@@ -195,7 +195,7 @@ export declare function listProjectedBookings(db: PostgresJsDatabase, query: Oct
|
|
|
195
195
|
expiredAt: string | null;
|
|
196
196
|
utcRedeemedAt: string | null;
|
|
197
197
|
extensions: {
|
|
198
|
-
sourceType: "internal" | "
|
|
198
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
199
199
|
externalBookingRef: string | null;
|
|
200
200
|
communicationLanguage: string | null;
|
|
201
201
|
personId: string | null;
|
|
@@ -251,7 +251,7 @@ export declare function reserveProjectedBooking(db: PostgresJsDatabase, data: Pa
|
|
|
251
251
|
travelerId: string | null;
|
|
252
252
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
253
253
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
254
|
-
status: "pending" | "
|
|
254
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
255
255
|
artifactUrl: string | null;
|
|
256
256
|
payload: Record<string, unknown> | null;
|
|
257
257
|
issuedAt: string | null;
|
|
@@ -263,7 +263,7 @@ export declare function reserveProjectedBooking(db: PostgresJsDatabase, data: Pa
|
|
|
263
263
|
travelerId: string | null;
|
|
264
264
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
265
265
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
266
|
-
status: "pending" | "
|
|
266
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
267
267
|
artifactUrl: string | null;
|
|
268
268
|
downloadUrl: string | null;
|
|
269
269
|
pdfUrl: string | null;
|
|
@@ -304,7 +304,7 @@ export declare function reserveProjectedBooking(db: PostgresJsDatabase, data: Pa
|
|
|
304
304
|
expiredAt: string | null;
|
|
305
305
|
utcRedeemedAt: string | null;
|
|
306
306
|
extensions: {
|
|
307
|
-
sourceType: "internal" | "
|
|
307
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
308
308
|
externalBookingRef: string | null;
|
|
309
309
|
communicationLanguage: string | null;
|
|
310
310
|
personId: string | null;
|
|
@@ -357,7 +357,7 @@ export declare function confirmProjectedBooking(db: PostgresJsDatabase, id: stri
|
|
|
357
357
|
travelerId: string | null;
|
|
358
358
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
359
359
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
360
|
-
status: "pending" | "
|
|
360
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
361
361
|
artifactUrl: string | null;
|
|
362
362
|
payload: Record<string, unknown> | null;
|
|
363
363
|
issuedAt: string | null;
|
|
@@ -369,7 +369,7 @@ export declare function confirmProjectedBooking(db: PostgresJsDatabase, id: stri
|
|
|
369
369
|
travelerId: string | null;
|
|
370
370
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
371
371
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
372
|
-
status: "pending" | "
|
|
372
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
373
373
|
artifactUrl: string | null;
|
|
374
374
|
downloadUrl: string | null;
|
|
375
375
|
pdfUrl: string | null;
|
|
@@ -410,7 +410,7 @@ export declare function confirmProjectedBooking(db: PostgresJsDatabase, id: stri
|
|
|
410
410
|
expiredAt: string | null;
|
|
411
411
|
utcRedeemedAt: string | null;
|
|
412
412
|
extensions: {
|
|
413
|
-
sourceType: "internal" | "
|
|
413
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
414
414
|
externalBookingRef: string | null;
|
|
415
415
|
communicationLanguage: string | null;
|
|
416
416
|
personId: string | null;
|
|
@@ -463,7 +463,7 @@ export declare function extendProjectedBookingHold(db: PostgresJsDatabase, id: s
|
|
|
463
463
|
travelerId: string | null;
|
|
464
464
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
465
465
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
466
|
-
status: "pending" | "
|
|
466
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
467
467
|
artifactUrl: string | null;
|
|
468
468
|
payload: Record<string, unknown> | null;
|
|
469
469
|
issuedAt: string | null;
|
|
@@ -475,7 +475,7 @@ export declare function extendProjectedBookingHold(db: PostgresJsDatabase, id: s
|
|
|
475
475
|
travelerId: string | null;
|
|
476
476
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
477
477
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
478
|
-
status: "pending" | "
|
|
478
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
479
479
|
artifactUrl: string | null;
|
|
480
480
|
downloadUrl: string | null;
|
|
481
481
|
pdfUrl: string | null;
|
|
@@ -516,7 +516,7 @@ export declare function extendProjectedBookingHold(db: PostgresJsDatabase, id: s
|
|
|
516
516
|
expiredAt: string | null;
|
|
517
517
|
utcRedeemedAt: string | null;
|
|
518
518
|
extensions: {
|
|
519
|
-
sourceType: "internal" | "
|
|
519
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
520
520
|
externalBookingRef: string | null;
|
|
521
521
|
communicationLanguage: string | null;
|
|
522
522
|
personId: string | null;
|
|
@@ -569,7 +569,7 @@ export declare function expireProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
569
569
|
travelerId: string | null;
|
|
570
570
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
571
571
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
572
|
-
status: "pending" | "
|
|
572
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
573
573
|
artifactUrl: string | null;
|
|
574
574
|
payload: Record<string, unknown> | null;
|
|
575
575
|
issuedAt: string | null;
|
|
@@ -581,7 +581,7 @@ export declare function expireProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
581
581
|
travelerId: string | null;
|
|
582
582
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
583
583
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
584
|
-
status: "pending" | "
|
|
584
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
585
585
|
artifactUrl: string | null;
|
|
586
586
|
downloadUrl: string | null;
|
|
587
587
|
pdfUrl: string | null;
|
|
@@ -622,7 +622,7 @@ export declare function expireProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
622
622
|
expiredAt: string | null;
|
|
623
623
|
utcRedeemedAt: string | null;
|
|
624
624
|
extensions: {
|
|
625
|
-
sourceType: "internal" | "
|
|
625
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
626
626
|
externalBookingRef: string | null;
|
|
627
627
|
communicationLanguage: string | null;
|
|
628
628
|
personId: string | null;
|
|
@@ -675,7 +675,7 @@ export declare function cancelProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
675
675
|
travelerId: string | null;
|
|
676
676
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
677
677
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
678
|
-
status: "pending" | "
|
|
678
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
679
679
|
artifactUrl: string | null;
|
|
680
680
|
payload: Record<string, unknown> | null;
|
|
681
681
|
issuedAt: string | null;
|
|
@@ -687,7 +687,7 @@ export declare function cancelProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
687
687
|
travelerId: string | null;
|
|
688
688
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
689
689
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
690
|
-
status: "pending" | "
|
|
690
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
691
691
|
artifactUrl: string | null;
|
|
692
692
|
downloadUrl: string | null;
|
|
693
693
|
pdfUrl: string | null;
|
|
@@ -728,7 +728,7 @@ export declare function cancelProjectedBooking(db: PostgresJsDatabase, id: strin
|
|
|
728
728
|
expiredAt: string | null;
|
|
729
729
|
utcRedeemedAt: string | null;
|
|
730
730
|
extensions: {
|
|
731
|
-
sourceType: "internal" | "
|
|
731
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
732
732
|
externalBookingRef: string | null;
|
|
733
733
|
communicationLanguage: string | null;
|
|
734
734
|
personId: string | null;
|
|
@@ -798,7 +798,7 @@ export declare function recordProjectedRedemption(db: PostgresJsDatabase, bookin
|
|
|
798
798
|
travelerId: string | null;
|
|
799
799
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
800
800
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
801
|
-
status: "pending" | "
|
|
801
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
802
802
|
artifactUrl: string | null;
|
|
803
803
|
payload: Record<string, unknown> | null;
|
|
804
804
|
issuedAt: string | null;
|
|
@@ -810,7 +810,7 @@ export declare function recordProjectedRedemption(db: PostgresJsDatabase, bookin
|
|
|
810
810
|
travelerId: string | null;
|
|
811
811
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
812
812
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
813
|
-
status: "pending" | "
|
|
813
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
814
814
|
artifactUrl: string | null;
|
|
815
815
|
downloadUrl: string | null;
|
|
816
816
|
pdfUrl: string | null;
|
|
@@ -851,7 +851,7 @@ export declare function recordProjectedRedemption(db: PostgresJsDatabase, bookin
|
|
|
851
851
|
expiredAt: string | null;
|
|
852
852
|
utcRedeemedAt: string | null;
|
|
853
853
|
extensions: {
|
|
854
|
-
sourceType: "internal" | "
|
|
854
|
+
sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
|
|
855
855
|
externalBookingRef: string | null;
|
|
856
856
|
communicationLanguage: string | null;
|
|
857
857
|
personId: string | null;
|
package/dist/service-shared.d.ts
CHANGED
|
@@ -66,7 +66,7 @@ export declare function mapBookingArtifact(fulfillment: typeof bookingFulfillmen
|
|
|
66
66
|
travelerId: string | null;
|
|
67
67
|
type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
|
|
68
68
|
deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
|
|
69
|
-
status: "pending" | "
|
|
69
|
+
status: "pending" | "issued" | "reissued" | "revoked" | "failed";
|
|
70
70
|
artifactUrl: string | null;
|
|
71
71
|
downloadUrl: string | null;
|
|
72
72
|
pdfUrl: string | null;
|
package/dist/validation.d.ts
CHANGED
|
@@ -3,8 +3,8 @@ export declare const octoProductListQuerySchema: z.ZodObject<{
|
|
|
3
3
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
4
4
|
offset: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
5
5
|
status: z.ZodOptional<z.ZodEnum<{
|
|
6
|
-
active: "active";
|
|
7
6
|
draft: "draft";
|
|
7
|
+
active: "active";
|
|
8
8
|
archived: "archived";
|
|
9
9
|
}>>;
|
|
10
10
|
bookingMode: z.ZodOptional<z.ZodEnum<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@voyantjs/octo",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.26.1",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -34,13 +34,13 @@
|
|
|
34
34
|
"drizzle-orm": "^0.45.2",
|
|
35
35
|
"hono": "^4.12.10",
|
|
36
36
|
"zod": "^4.3.6",
|
|
37
|
-
"@voyantjs/availability": "0.
|
|
38
|
-
"@voyantjs/bookings": "0.
|
|
39
|
-
"@voyantjs/core": "0.
|
|
40
|
-
"@voyantjs/db": "0.
|
|
41
|
-
"@voyantjs/hono": "0.
|
|
42
|
-
"@voyantjs/products": "0.
|
|
43
|
-
"@voyantjs/transactions": "0.
|
|
37
|
+
"@voyantjs/availability": "0.26.1",
|
|
38
|
+
"@voyantjs/bookings": "0.26.1",
|
|
39
|
+
"@voyantjs/core": "0.26.1",
|
|
40
|
+
"@voyantjs/db": "0.26.1",
|
|
41
|
+
"@voyantjs/hono": "0.26.1",
|
|
42
|
+
"@voyantjs/products": "0.26.1",
|
|
43
|
+
"@voyantjs/transactions": "0.26.1"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"typescript": "^6.0.2",
|