@voyantjs/bookings 0.83.0 → 0.84.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.
@@ -569,7 +569,7 @@ export declare const publicBookingRoutes: import("hono/hono-base").HonoBase<Env,
569
569
  travelerId: string | null;
570
570
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
571
571
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
572
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
572
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
573
573
  artifactUrl: string | null;
574
574
  }[];
575
575
  };
@@ -658,7 +658,7 @@ export declare const publicBookingRoutes: import("hono/hono-base").HonoBase<Env,
658
658
  travelerId: string | null;
659
659
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
660
660
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
661
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
661
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
662
662
  artifactUrl: string | null;
663
663
  }[];
664
664
  };
package/dist/routes.d.ts CHANGED
@@ -321,7 +321,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
321
321
  travelerId: string | null;
322
322
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
323
323
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
324
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
324
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
325
325
  artifactUrl: string | null;
326
326
  }[];
327
327
  };
@@ -1993,7 +1993,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
1993
1993
  travelerId: string | null;
1994
1994
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
1995
1995
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
1996
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
1996
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
1997
1997
  artifactUrl: string | null;
1998
1998
  payload: {
1999
1999
  [x: string]: import("hono/utils/types").JSONValue;
@@ -2030,7 +2030,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
2030
2030
  output: {
2031
2031
  data: {
2032
2032
  id: string;
2033
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
2033
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
2034
2034
  createdAt: string;
2035
2035
  updatedAt: string;
2036
2036
  revokedAt: string | null;
@@ -2081,7 +2081,7 @@ export declare const bookingRoutes: import("hono/hono-base").HonoBase<Env, ({
2081
2081
  travelerId: string | null;
2082
2082
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
2083
2083
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
2084
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
2084
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
2085
2085
  artifactUrl: string | null;
2086
2086
  payload: {
2087
2087
  [x: string]: import("hono/utils/types").JSONValue;
@@ -943,7 +943,7 @@ export declare const bookingFulfillments: import("drizzle-orm/pg-core").PgTableW
943
943
  tableName: "booking_fulfillments";
944
944
  dataType: "string";
945
945
  columnType: "PgEnumColumn";
946
- data: "failed" | "pending" | "issued" | "reissued" | "revoked";
946
+ data: "failed" | "pending" | "revoked" | "issued" | "reissued";
947
947
  driverParam: string;
948
948
  notNull: true;
949
949
  hasDefault: true;
@@ -758,7 +758,7 @@ export declare const publicBookingsService: {
758
758
  travelerId: string | null;
759
759
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
760
760
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
761
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
761
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
762
762
  artifactUrl: string | null;
763
763
  }[];
764
764
  } | null>;
@@ -822,7 +822,7 @@ export declare const publicBookingsService: {
822
822
  travelerId: string | null;
823
823
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
824
824
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
825
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
825
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
826
826
  artifactUrl: string | null;
827
827
  }[];
828
828
  } | null>;
@@ -886,7 +886,7 @@ export declare const publicBookingsService: {
886
886
  travelerId: string | null;
887
887
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
888
888
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
889
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
889
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
890
890
  artifactUrl: string | null;
891
891
  }[];
892
892
  } | null>;
package/dist/service.d.ts CHANGED
@@ -4423,7 +4423,7 @@ export declare const bookingsService: {
4423
4423
  tableName: "booking_fulfillments";
4424
4424
  dataType: "string";
4425
4425
  columnType: "PgEnumColumn";
4426
- data: "failed" | "pending" | "issued" | "reissued" | "revoked";
4426
+ data: "failed" | "pending" | "revoked" | "issued" | "reissued";
4427
4427
  driverParam: string;
4428
4428
  notNull: true;
4429
4429
  hasDefault: true;
@@ -4546,7 +4546,7 @@ export declare const bookingsService: {
4546
4546
  travelerId: string | null;
4547
4547
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
4548
4548
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
4549
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
4549
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
4550
4550
  artifactUrl: string | null;
4551
4551
  payload: Record<string, unknown> | null;
4552
4552
  issuedAt: Date | null;
@@ -4661,7 +4661,7 @@ export declare const bookingsService: {
4661
4661
  tableName: "booking_fulfillments";
4662
4662
  dataType: "string";
4663
4663
  columnType: "PgEnumColumn";
4664
- data: "failed" | "pending" | "issued" | "reissued" | "revoked";
4664
+ data: "failed" | "pending" | "revoked" | "issued" | "reissued";
4665
4665
  driverParam: string;
4666
4666
  notNull: true;
4667
4667
  hasDefault: true;
@@ -4780,7 +4780,7 @@ export declare const bookingsService: {
4780
4780
  }>, "where" | "orderBy">;
4781
4781
  issueFulfillment(db: PostgresJsDatabase, bookingId: string, data: CreateBookingFulfillmentInput, userId?: string): Promise<{
4782
4782
  id: string;
4783
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
4783
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
4784
4784
  createdAt: Date;
4785
4785
  updatedAt: Date;
4786
4786
  revokedAt: Date | null;
@@ -4800,7 +4800,7 @@ export declare const bookingsService: {
4800
4800
  travelerId: string | null;
4801
4801
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
4802
4802
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
4803
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
4803
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
4804
4804
  artifactUrl: string | null;
4805
4805
  payload: Record<string, unknown> | null;
4806
4806
  issuedAt: Date | null;
@@ -779,9 +779,9 @@ export declare const publicBookingOverviewFulfillmentSchema: z.ZodObject<{
779
779
  status: z.ZodEnum<{
780
780
  failed: "failed";
781
781
  pending: "pending";
782
+ revoked: "revoked";
782
783
  issued: "issued";
783
784
  reissued: "reissued";
784
- revoked: "revoked";
785
785
  }>;
786
786
  artifactUrl: z.ZodNullable<z.ZodString>;
787
787
  }, z.core.$strip>;
@@ -904,9 +904,9 @@ export declare const publicBookingOverviewSchema: z.ZodObject<{
904
904
  status: z.ZodEnum<{
905
905
  failed: "failed";
906
906
  pending: "pending";
907
+ revoked: "revoked";
907
908
  issued: "issued";
908
909
  reissued: "reissued";
909
- revoked: "revoked";
910
910
  }>;
911
911
  artifactUrl: z.ZodNullable<z.ZodString>;
912
912
  }, z.core.$strip>>;
@@ -1031,9 +1031,9 @@ export declare const publicGuestBookingLookupResponseSchema: z.ZodObject<{
1031
1031
  status: z.ZodEnum<{
1032
1032
  failed: "failed";
1033
1033
  pending: "pending";
1034
+ revoked: "revoked";
1034
1035
  issued: "issued";
1035
1036
  reissued: "reissued";
1036
- revoked: "revoked";
1037
1037
  }>;
1038
1038
  artifactUrl: z.ZodNullable<z.ZodString>;
1039
1039
  }, z.core.$strip>>;
@@ -98,9 +98,9 @@ export declare const bookingFulfillmentDeliveryChannelSchema: z.ZodEnum<{
98
98
  export declare const bookingFulfillmentStatusSchema: z.ZodEnum<{
99
99
  failed: "failed";
100
100
  pending: "pending";
101
+ revoked: "revoked";
101
102
  issued: "issued";
102
103
  reissued: "reissued";
103
- revoked: "revoked";
104
104
  }>;
105
105
  export declare const bookingRedemptionMethodSchema: z.ZodEnum<{
106
106
  api: "api";
@@ -965,9 +965,9 @@ export declare const insertBookingFulfillmentSchema: z.ZodPipe<z.ZodObject<{
965
965
  status: z.ZodDefault<z.ZodEnum<{
966
966
  failed: "failed";
967
967
  pending: "pending";
968
+ revoked: "revoked";
968
969
  issued: "issued";
969
970
  reissued: "reissued";
970
- revoked: "revoked";
971
971
  }>>;
972
972
  artifactUrl: z.ZodNullable<z.ZodOptional<z.ZodString>>;
973
973
  payload: z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
@@ -977,7 +977,7 @@ export declare const insertBookingFulfillmentSchema: z.ZodPipe<z.ZodObject<{
977
977
  travelerId: string | null;
978
978
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
979
979
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
980
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
980
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
981
981
  bookingItemId?: string | null | undefined;
982
982
  artifactUrl?: string | null | undefined;
983
983
  payload?: Record<string, unknown> | null | undefined;
@@ -986,7 +986,7 @@ export declare const insertBookingFulfillmentSchema: z.ZodPipe<z.ZodObject<{
986
986
  }, {
987
987
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
988
988
  deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
989
- status: "failed" | "pending" | "issued" | "reissued" | "revoked";
989
+ status: "failed" | "pending" | "revoked" | "issued" | "reissued";
990
990
  bookingItemId?: string | null | undefined;
991
991
  travelerId?: string | null | undefined;
992
992
  artifactUrl?: string | null | undefined;
@@ -1016,9 +1016,9 @@ export declare const updateBookingFulfillmentSchema: z.ZodPipe<z.ZodObject<{
1016
1016
  status: z.ZodOptional<z.ZodDefault<z.ZodEnum<{
1017
1017
  failed: "failed";
1018
1018
  pending: "pending";
1019
+ revoked: "revoked";
1019
1020
  issued: "issued";
1020
1021
  reissued: "reissued";
1021
- revoked: "revoked";
1022
1022
  }>>>;
1023
1023
  artifactUrl: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodString>>>;
1024
1024
  payload: z.ZodOptional<z.ZodNullable<z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>>>;
@@ -1029,7 +1029,7 @@ export declare const updateBookingFulfillmentSchema: z.ZodPipe<z.ZodObject<{
1029
1029
  bookingItemId?: string | null | undefined;
1030
1030
  fulfillmentType?: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile" | undefined;
1031
1031
  deliveryChannel?: "api" | "email" | "other" | "download" | "wallet" | undefined;
1032
- status?: "failed" | "pending" | "issued" | "reissued" | "revoked" | undefined;
1032
+ status?: "failed" | "pending" | "revoked" | "issued" | "reissued" | undefined;
1033
1033
  artifactUrl?: string | null | undefined;
1034
1034
  payload?: Record<string, unknown> | null | undefined;
1035
1035
  issuedAt?: string | null | undefined;
@@ -1039,7 +1039,7 @@ export declare const updateBookingFulfillmentSchema: z.ZodPipe<z.ZodObject<{
1039
1039
  travelerId?: string | null | undefined;
1040
1040
  fulfillmentType?: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile" | undefined;
1041
1041
  deliveryChannel?: "api" | "email" | "other" | "download" | "wallet" | undefined;
1042
- status?: "failed" | "pending" | "issued" | "reissued" | "revoked" | undefined;
1042
+ status?: "failed" | "pending" | "revoked" | "issued" | "reissued" | undefined;
1043
1043
  artifactUrl?: string | null | undefined;
1044
1044
  payload?: Record<string, unknown> | null | undefined;
1045
1045
  issuedAt?: string | null | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@voyantjs/bookings",
3
- "version": "0.83.0",
3
+ "version": "0.84.0",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "exports": {
@@ -84,15 +84,15 @@
84
84
  "drizzle-orm": "^0.45.2",
85
85
  "hono": "^4.12.10",
86
86
  "zod": "^4.3.6",
87
- "@voyantjs/action-ledger": "0.83.0",
88
- "@voyantjs/core": "0.83.0",
89
- "@voyantjs/db": "0.83.0",
90
- "@voyantjs/hono": "0.83.0",
91
- "@voyantjs/utils": "0.83.0"
87
+ "@voyantjs/action-ledger": "0.84.0",
88
+ "@voyantjs/core": "0.84.0",
89
+ "@voyantjs/db": "0.84.0",
90
+ "@voyantjs/hono": "0.84.0",
91
+ "@voyantjs/utils": "0.84.0"
92
92
  },
93
93
  "devDependencies": {
94
94
  "typescript": "^6.0.2",
95
- "@voyantjs/products": "0.83.0",
95
+ "@voyantjs/products": "0.84.0",
96
96
  "@voyantjs/voyant-typescript-config": "0.1.0"
97
97
  },
98
98
  "files": [