@voyantjs/octo 0.2.0 → 0.3.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 CHANGED
@@ -323,8 +323,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
323
323
  availabilityId: string | null;
324
324
  contact: {
325
325
  participantId: string;
326
- firstName: string;
327
- lastName: string;
326
+ firstName: string | null;
327
+ lastName: string | null;
328
328
  email: string | null;
329
329
  phone: string | null;
330
330
  language: string | null;
@@ -332,8 +332,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
332
332
  unitItems: {
333
333
  bookingItemId: string;
334
334
  title: string;
335
- itemType: string;
336
- status: string;
335
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
336
+ status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
337
337
  quantity: number;
338
338
  productId: string | null;
339
339
  optionId: string | null;
@@ -346,9 +346,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
346
346
  id: string;
347
347
  bookingItemId: string | null;
348
348
  participantId: string | null;
349
- type: string;
350
- deliveryChannel: string;
351
- status: string;
349
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
350
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
351
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
352
352
  artifactUrl: string | null;
353
353
  payload: {
354
354
  [x: string]: import("hono/utils/types").JSONValue;
@@ -360,9 +360,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
360
360
  fulfillmentId: string;
361
361
  bookingItemId: string | null;
362
362
  participantId: string | null;
363
- type: string;
364
- deliveryChannel: string;
365
- status: string;
363
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
364
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
365
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
366
366
  artifactUrl: string | null;
367
367
  downloadUrl: string | null;
368
368
  pdfUrl: string | null;
@@ -379,7 +379,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
379
379
  redeemedAt: string;
380
380
  redeemedBy: string | null;
381
381
  location: string | null;
382
- method: string;
382
+ method: "other" | "manual" | "api" | "scan";
383
383
  metadata: {
384
384
  [x: string]: import("hono/utils/types").JSONValue;
385
385
  } | 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: string;
397
+ status: "confirmed" | "cancelled" | "pending" | "rejected";
398
398
  supplierReference: string | null;
399
399
  confirmedAt: string | null;
400
400
  }[];
@@ -405,7 +405,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
405
405
  expiredAt: string | null;
406
406
  utcRedeemedAt: string | null;
407
407
  extensions: {
408
- sourceType: string;
408
+ sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
409
409
  externalBookingRef: string | null;
410
410
  communicationLanguage: string | null;
411
411
  personId: string | null;
@@ -445,15 +445,15 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
445
445
  $get: {
446
446
  input: {};
447
447
  output: {
448
- data: {
448
+ data: ({
449
449
  id: string;
450
450
  bookingNumber: string;
451
451
  status: import("./types.js").OctoBookingStatus;
452
452
  availabilityId: string | null;
453
453
  contact: {
454
454
  participantId: string;
455
- firstName: string;
456
- lastName: string;
455
+ firstName: string | null;
456
+ lastName: string | null;
457
457
  email: string | null;
458
458
  phone: string | null;
459
459
  language: string | null;
@@ -461,8 +461,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
461
461
  unitItems: {
462
462
  bookingItemId: string;
463
463
  title: string;
464
- itemType: string;
465
- status: string;
464
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
465
+ status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
466
466
  quantity: number;
467
467
  productId: string | null;
468
468
  optionId: string | null;
@@ -475,9 +475,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
475
475
  id: string;
476
476
  bookingItemId: string | null;
477
477
  participantId: string | null;
478
- type: string;
479
- deliveryChannel: string;
480
- status: string;
478
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
479
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
480
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
481
481
  artifactUrl: string | null;
482
482
  payload: {
483
483
  [x: string]: import("hono/utils/types").JSONValue;
@@ -489,9 +489,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
489
489
  fulfillmentId: string;
490
490
  bookingItemId: string | null;
491
491
  participantId: string | null;
492
- type: string;
493
- deliveryChannel: string;
494
- status: string;
492
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
493
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
494
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
495
495
  artifactUrl: string | null;
496
496
  downloadUrl: string | null;
497
497
  pdfUrl: string | null;
@@ -508,7 +508,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
508
508
  redeemedAt: string;
509
509
  redeemedBy: string | null;
510
510
  location: string | null;
511
- method: string;
511
+ method: "other" | "manual" | "api" | "scan";
512
512
  metadata: {
513
513
  [x: string]: import("hono/utils/types").JSONValue;
514
514
  } | 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: string;
526
+ status: "confirmed" | "cancelled" | "pending" | "rejected";
527
527
  supplierReference: string | null;
528
528
  confirmedAt: string | null;
529
529
  }[];
@@ -534,7 +534,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
534
534
  expiredAt: string | null;
535
535
  utcRedeemedAt: string | null;
536
536
  extensions: {
537
- sourceType: string;
537
+ sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
538
538
  externalBookingRef: string | null;
539
539
  communicationLanguage: string | null;
540
540
  personId: string | null;
@@ -542,7 +542,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
542
542
  sellCurrency: string;
543
543
  baseCurrency: string | null;
544
544
  };
545
- }[];
545
+ } | null)[];
546
546
  total: number;
547
547
  limit: number;
548
548
  offset: number;
@@ -578,8 +578,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
578
578
  availabilityId: string | null;
579
579
  contact: {
580
580
  participantId: string;
581
- firstName: string;
582
- lastName: string;
581
+ firstName: string | null;
582
+ lastName: string | null;
583
583
  email: string | null;
584
584
  phone: string | null;
585
585
  language: string | null;
@@ -587,8 +587,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
587
587
  unitItems: {
588
588
  bookingItemId: string;
589
589
  title: string;
590
- itemType: string;
591
- status: string;
590
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
591
+ status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
592
592
  quantity: number;
593
593
  productId: string | null;
594
594
  optionId: string | null;
@@ -601,9 +601,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
601
601
  id: string;
602
602
  bookingItemId: string | null;
603
603
  participantId: string | null;
604
- type: string;
605
- deliveryChannel: string;
606
- status: string;
604
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
605
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
606
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
607
607
  artifactUrl: string | null;
608
608
  payload: {
609
609
  [x: string]: import("hono/utils/types").JSONValue;
@@ -615,9 +615,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
615
615
  fulfillmentId: string;
616
616
  bookingItemId: string | null;
617
617
  participantId: string | null;
618
- type: string;
619
- deliveryChannel: string;
620
- status: string;
618
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
619
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
620
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
621
621
  artifactUrl: string | null;
622
622
  downloadUrl: string | null;
623
623
  pdfUrl: string | null;
@@ -634,7 +634,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
634
634
  redeemedAt: string;
635
635
  redeemedBy: string | null;
636
636
  location: string | null;
637
- method: string;
637
+ method: "other" | "manual" | "api" | "scan";
638
638
  metadata: {
639
639
  [x: string]: import("hono/utils/types").JSONValue;
640
640
  } | 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: string;
652
+ status: "confirmed" | "cancelled" | "pending" | "rejected";
653
653
  supplierReference: string | null;
654
654
  confirmedAt: string | null;
655
655
  }[];
@@ -660,7 +660,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
660
660
  expiredAt: string | null;
661
661
  utcRedeemedAt: string | null;
662
662
  extensions: {
663
- sourceType: string;
663
+ sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
664
664
  externalBookingRef: string | null;
665
665
  communicationLanguage: string | null;
666
666
  personId: string | null;
@@ -690,8 +690,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
690
690
  availabilityId: string | null;
691
691
  contact: {
692
692
  participantId: string;
693
- firstName: string;
694
- lastName: string;
693
+ firstName: string | null;
694
+ lastName: string | null;
695
695
  email: string | null;
696
696
  phone: string | null;
697
697
  language: string | null;
@@ -699,8 +699,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
699
699
  unitItems: {
700
700
  bookingItemId: string;
701
701
  title: string;
702
- itemType: string;
703
- status: string;
702
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
703
+ status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
704
704
  quantity: number;
705
705
  productId: string | null;
706
706
  optionId: string | null;
@@ -713,9 +713,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
713
713
  id: string;
714
714
  bookingItemId: string | null;
715
715
  participantId: string | null;
716
- type: string;
717
- deliveryChannel: string;
718
- status: string;
716
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
717
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
718
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
719
719
  artifactUrl: string | null;
720
720
  payload: {
721
721
  [x: string]: import("hono/utils/types").JSONValue;
@@ -727,9 +727,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
727
727
  fulfillmentId: string;
728
728
  bookingItemId: string | null;
729
729
  participantId: string | null;
730
- type: string;
731
- deliveryChannel: string;
732
- status: string;
730
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
731
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
732
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
733
733
  artifactUrl: string | null;
734
734
  downloadUrl: string | null;
735
735
  pdfUrl: string | null;
@@ -746,7 +746,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
746
746
  redeemedAt: string;
747
747
  redeemedBy: string | null;
748
748
  location: string | null;
749
- method: string;
749
+ method: "other" | "manual" | "api" | "scan";
750
750
  metadata: {
751
751
  [x: string]: import("hono/utils/types").JSONValue;
752
752
  } | 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: string;
764
+ status: "confirmed" | "cancelled" | "pending" | "rejected";
765
765
  supplierReference: string | null;
766
766
  confirmedAt: string | null;
767
767
  }[];
@@ -772,7 +772,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
772
772
  expiredAt: string | null;
773
773
  utcRedeemedAt: string | null;
774
774
  extensions: {
775
- sourceType: string;
775
+ sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
776
776
  externalBookingRef: string | null;
777
777
  communicationLanguage: string | null;
778
778
  personId: string | null;
@@ -835,8 +835,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
835
835
  availabilityId: string | null;
836
836
  contact: {
837
837
  participantId: string;
838
- firstName: string;
839
- lastName: string;
838
+ firstName: string | null;
839
+ lastName: string | null;
840
840
  email: string | null;
841
841
  phone: string | null;
842
842
  language: string | null;
@@ -844,8 +844,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
844
844
  unitItems: {
845
845
  bookingItemId: string;
846
846
  title: string;
847
- itemType: string;
848
- status: string;
847
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
848
+ status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
849
849
  quantity: number;
850
850
  productId: string | null;
851
851
  optionId: string | null;
@@ -858,9 +858,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
858
858
  id: string;
859
859
  bookingItemId: string | null;
860
860
  participantId: string | null;
861
- type: string;
862
- deliveryChannel: string;
863
- status: string;
861
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
862
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
863
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
864
864
  artifactUrl: string | null;
865
865
  payload: {
866
866
  [x: string]: import("hono/utils/types").JSONValue;
@@ -872,9 +872,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
872
872
  fulfillmentId: string;
873
873
  bookingItemId: string | null;
874
874
  participantId: string | null;
875
- type: string;
876
- deliveryChannel: string;
877
- status: string;
875
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
876
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
877
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
878
878
  artifactUrl: string | null;
879
879
  downloadUrl: string | null;
880
880
  pdfUrl: string | null;
@@ -891,7 +891,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
891
891
  redeemedAt: string;
892
892
  redeemedBy: string | null;
893
893
  location: string | null;
894
- method: string;
894
+ method: "other" | "manual" | "api" | "scan";
895
895
  metadata: {
896
896
  [x: string]: import("hono/utils/types").JSONValue;
897
897
  } | 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: string;
909
+ status: "confirmed" | "cancelled" | "pending" | "rejected";
910
910
  supplierReference: string | null;
911
911
  confirmedAt: string | null;
912
912
  }[];
@@ -917,7 +917,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
917
917
  expiredAt: string | null;
918
918
  utcRedeemedAt: string | null;
919
919
  extensions: {
920
- sourceType: string;
920
+ sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
921
921
  externalBookingRef: string | null;
922
922
  communicationLanguage: string | null;
923
923
  personId: string | null;
@@ -980,8 +980,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
980
980
  availabilityId: string | null;
981
981
  contact: {
982
982
  participantId: string;
983
- firstName: string;
984
- lastName: string;
983
+ firstName: string | null;
984
+ lastName: string | null;
985
985
  email: string | null;
986
986
  phone: string | null;
987
987
  language: string | null;
@@ -989,8 +989,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
989
989
  unitItems: {
990
990
  bookingItemId: string;
991
991
  title: string;
992
- itemType: string;
993
- status: string;
992
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
993
+ status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
994
994
  quantity: number;
995
995
  productId: string | null;
996
996
  optionId: string | null;
@@ -1003,9 +1003,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1003
1003
  id: string;
1004
1004
  bookingItemId: string | null;
1005
1005
  participantId: string | null;
1006
- type: string;
1007
- deliveryChannel: string;
1008
- status: string;
1006
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
1007
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
1008
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
1009
1009
  artifactUrl: string | null;
1010
1010
  payload: {
1011
1011
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1017,9 +1017,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1017
1017
  fulfillmentId: string;
1018
1018
  bookingItemId: string | null;
1019
1019
  participantId: string | null;
1020
- type: string;
1021
- deliveryChannel: string;
1022
- status: string;
1020
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
1021
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
1022
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
1023
1023
  artifactUrl: string | null;
1024
1024
  downloadUrl: string | null;
1025
1025
  pdfUrl: string | null;
@@ -1036,7 +1036,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1036
1036
  redeemedAt: string;
1037
1037
  redeemedBy: string | null;
1038
1038
  location: string | null;
1039
- method: string;
1039
+ method: "other" | "manual" | "api" | "scan";
1040
1040
  metadata: {
1041
1041
  [x: string]: import("hono/utils/types").JSONValue;
1042
1042
  } | 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: string;
1054
+ status: "confirmed" | "cancelled" | "pending" | "rejected";
1055
1055
  supplierReference: string | null;
1056
1056
  confirmedAt: string | null;
1057
1057
  }[];
@@ -1062,7 +1062,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1062
1062
  expiredAt: string | null;
1063
1063
  utcRedeemedAt: string | null;
1064
1064
  extensions: {
1065
- sourceType: string;
1065
+ sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
1066
1066
  externalBookingRef: string | null;
1067
1067
  communicationLanguage: string | null;
1068
1068
  personId: string | null;
@@ -1125,8 +1125,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1125
1125
  availabilityId: string | null;
1126
1126
  contact: {
1127
1127
  participantId: string;
1128
- firstName: string;
1129
- lastName: string;
1128
+ firstName: string | null;
1129
+ lastName: string | null;
1130
1130
  email: string | null;
1131
1131
  phone: string | null;
1132
1132
  language: string | null;
@@ -1134,8 +1134,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1134
1134
  unitItems: {
1135
1135
  bookingItemId: string;
1136
1136
  title: string;
1137
- itemType: string;
1138
- status: string;
1137
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
1138
+ status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
1139
1139
  quantity: number;
1140
1140
  productId: string | null;
1141
1141
  optionId: string | null;
@@ -1148,9 +1148,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1148
1148
  id: string;
1149
1149
  bookingItemId: string | null;
1150
1150
  participantId: string | null;
1151
- type: string;
1152
- deliveryChannel: string;
1153
- status: string;
1151
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
1152
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
1153
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
1154
1154
  artifactUrl: string | null;
1155
1155
  payload: {
1156
1156
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1162,9 +1162,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1162
1162
  fulfillmentId: string;
1163
1163
  bookingItemId: string | null;
1164
1164
  participantId: string | null;
1165
- type: string;
1166
- deliveryChannel: string;
1167
- status: string;
1165
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
1166
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
1167
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
1168
1168
  artifactUrl: string | null;
1169
1169
  downloadUrl: string | null;
1170
1170
  pdfUrl: string | null;
@@ -1181,7 +1181,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1181
1181
  redeemedAt: string;
1182
1182
  redeemedBy: string | null;
1183
1183
  location: string | null;
1184
- method: string;
1184
+ method: "other" | "manual" | "api" | "scan";
1185
1185
  metadata: {
1186
1186
  [x: string]: import("hono/utils/types").JSONValue;
1187
1187
  } | 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: string;
1199
+ status: "confirmed" | "cancelled" | "pending" | "rejected";
1200
1200
  supplierReference: string | null;
1201
1201
  confirmedAt: string | null;
1202
1202
  }[];
@@ -1207,7 +1207,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1207
1207
  expiredAt: string | null;
1208
1208
  utcRedeemedAt: string | null;
1209
1209
  extensions: {
1210
- sourceType: string;
1210
+ sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
1211
1211
  externalBookingRef: string | null;
1212
1212
  communicationLanguage: string | null;
1213
1213
  personId: string | null;
@@ -1330,8 +1330,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1330
1330
  availabilityId: string | null;
1331
1331
  contact: {
1332
1332
  participantId: string;
1333
- firstName: string;
1334
- lastName: string;
1333
+ firstName: string | null;
1334
+ lastName: string | null;
1335
1335
  email: string | null;
1336
1336
  phone: string | null;
1337
1337
  language: string | null;
@@ -1339,8 +1339,8 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1339
1339
  unitItems: {
1340
1340
  bookingItemId: string;
1341
1341
  title: string;
1342
- itemType: string;
1343
- status: string;
1342
+ itemType: "other" | "unit" | "extra" | "service" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
1343
+ status: "draft" | "on_hold" | "confirmed" | "expired" | "cancelled" | "fulfilled";
1344
1344
  quantity: number;
1345
1345
  productId: string | null;
1346
1346
  optionId: string | null;
@@ -1353,9 +1353,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1353
1353
  id: string;
1354
1354
  bookingItemId: string | null;
1355
1355
  participantId: string | null;
1356
- type: string;
1357
- deliveryChannel: string;
1358
- status: string;
1356
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
1357
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
1358
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
1359
1359
  artifactUrl: string | null;
1360
1360
  payload: {
1361
1361
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1367,9 +1367,9 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1367
1367
  fulfillmentId: string;
1368
1368
  bookingItemId: string | null;
1369
1369
  participantId: string | null;
1370
- type: string;
1371
- deliveryChannel: string;
1372
- status: string;
1370
+ type: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
1371
+ deliveryChannel: "other" | "download" | "email" | "api" | "wallet";
1372
+ status: "pending" | "issued" | "reissued" | "revoked" | "failed";
1373
1373
  artifactUrl: string | null;
1374
1374
  downloadUrl: string | null;
1375
1375
  pdfUrl: string | null;
@@ -1386,7 +1386,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1386
1386
  redeemedAt: string;
1387
1387
  redeemedBy: string | null;
1388
1388
  location: string | null;
1389
- method: string;
1389
+ method: "other" | "manual" | "api" | "scan";
1390
1390
  metadata: {
1391
1391
  [x: string]: import("hono/utils/types").JSONValue;
1392
1392
  } | 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: string;
1404
+ status: "confirmed" | "cancelled" | "pending" | "rejected";
1405
1405
  supplierReference: string | null;
1406
1406
  confirmedAt: string | null;
1407
1407
  }[];
@@ -1412,7 +1412,7 @@ export declare const octoRoutes: import("hono/hono-base").HonoBase<Env, {
1412
1412
  expiredAt: string | null;
1413
1413
  utcRedeemedAt: string | null;
1414
1414
  extensions: {
1415
- sourceType: string;
1415
+ sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
1416
1416
  externalBookingRef: string | null;
1417
1417
  communicationLanguage: string | null;
1418
1418
  personId: string | null;