@voyantjs/bookings 0.31.4 → 0.32.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/service.d.ts CHANGED
@@ -239,7 +239,7 @@ export declare const bookingsService: {
239
239
  }[];
240
240
  id: string;
241
241
  bookingNumber: string;
242
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
242
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
243
243
  personId: string | null;
244
244
  organizationId: string | null;
245
245
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -285,7 +285,7 @@ export declare const bookingsService: {
285
285
  }>;
286
286
  convertProductToBooking(db: PostgresJsDatabase, data: ConvertProductInput, productData: ConvertProductData, userId?: string): Promise<{
287
287
  id: string;
288
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
288
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
289
289
  createdAt: Date;
290
290
  updatedAt: Date;
291
291
  organizationId: string | null;
@@ -329,7 +329,7 @@ export declare const bookingsService: {
329
329
  getBookingById(db: PostgresJsDatabase, id: string): Promise<{
330
330
  id: string;
331
331
  bookingNumber: string;
332
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
332
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
333
333
  personId: string | null;
334
334
  organizationId: string | null;
335
335
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -371,7 +371,7 @@ export declare const bookingsService: {
371
371
  } | null>;
372
372
  createBookingFromProduct(db: PostgresJsDatabase, data: ConvertProductInput, userId?: string): Promise<{
373
373
  id: string;
374
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
374
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
375
375
  createdAt: Date;
376
376
  updatedAt: Date;
377
377
  organizationId: string | null;
@@ -571,7 +571,7 @@ export declare const bookingsService: {
571
571
  tableName: "booking_allocations";
572
572
  dataType: "string";
573
573
  columnType: "PgEnumColumn";
574
- data: "unit" | "pickup" | "resource";
574
+ data: "resource" | "unit" | "pickup";
575
575
  driverParam: string;
576
576
  notNull: true;
577
577
  hasDefault: true;
@@ -714,7 +714,7 @@ export declare const bookingsService: {
714
714
  pricingCategoryId: string | null;
715
715
  availabilitySlotId: string | null;
716
716
  quantity: number;
717
- allocationType: "unit" | "pickup" | "resource";
717
+ allocationType: "resource" | "unit" | "pickup";
718
718
  status: "cancelled" | "confirmed" | "expired" | "fulfilled" | "held" | "released";
719
719
  holdExpiresAt: Date | null;
720
720
  confirmedAt: Date | null;
@@ -881,7 +881,7 @@ export declare const bookingsService: {
881
881
  tableName: "booking_allocations";
882
882
  dataType: "string";
883
883
  columnType: "PgEnumColumn";
884
- data: "unit" | "pickup" | "resource";
884
+ data: "resource" | "unit" | "pickup";
885
885
  driverParam: string;
886
886
  notNull: true;
887
887
  hasDefault: true;
@@ -1025,7 +1025,7 @@ export declare const bookingsService: {
1025
1025
  status: "ok";
1026
1026
  booking: {
1027
1027
  id: string;
1028
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1028
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1029
1029
  createdAt: Date;
1030
1030
  updatedAt: Date;
1031
1031
  organizationId: string | null;
@@ -1071,7 +1071,7 @@ export declare const bookingsService: {
1071
1071
  }>;
1072
1072
  createBooking(db: PostgresJsDatabase, data: CreateBookingInput, userId?: string): Promise<{
1073
1073
  id: string;
1074
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1074
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1075
1075
  createdAt: Date;
1076
1076
  updatedAt: Date;
1077
1077
  organizationId: string | null;
@@ -1115,7 +1115,7 @@ export declare const bookingsService: {
1115
1115
  updateBooking(db: PostgresJsDatabase, id: string, data: UpdateBookingInput): Promise<{
1116
1116
  id: string;
1117
1117
  bookingNumber: string;
1118
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1118
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1119
1119
  personId: string | null;
1120
1120
  organizationId: string | null;
1121
1121
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -1163,7 +1163,7 @@ export declare const bookingsService: {
1163
1163
  booking: {
1164
1164
  id: string;
1165
1165
  bookingNumber: string;
1166
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1166
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1167
1167
  personId: string | null;
1168
1168
  organizationId: string | null;
1169
1169
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -1211,7 +1211,7 @@ export declare const bookingsService: {
1211
1211
  booking: {
1212
1212
  id: string;
1213
1213
  bookingNumber: string;
1214
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1214
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1215
1215
  personId: string | null;
1216
1216
  organizationId: string | null;
1217
1217
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -1259,7 +1259,7 @@ export declare const bookingsService: {
1259
1259
  booking: {
1260
1260
  id: string;
1261
1261
  bookingNumber: string;
1262
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1262
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1263
1263
  personId: string | null;
1264
1264
  organizationId: string | null;
1265
1265
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -1309,7 +1309,7 @@ export declare const bookingsService: {
1309
1309
  booking: {
1310
1310
  id: string;
1311
1311
  bookingNumber: string;
1312
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1312
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1313
1313
  personId: string | null;
1314
1314
  organizationId: string | null;
1315
1315
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -1362,7 +1362,7 @@ export declare const bookingsService: {
1362
1362
  booking: {
1363
1363
  id: string;
1364
1364
  bookingNumber: string;
1365
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1365
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1366
1366
  personId: string | null;
1367
1367
  organizationId: string | null;
1368
1368
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -1411,7 +1411,7 @@ export declare const bookingsService: {
1411
1411
  booking: {
1412
1412
  id: string;
1413
1413
  bookingNumber: string;
1414
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1414
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1415
1415
  personId: string | null;
1416
1416
  organizationId: string | null;
1417
1417
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -1459,7 +1459,7 @@ export declare const bookingsService: {
1459
1459
  booking: {
1460
1460
  id: string;
1461
1461
  bookingNumber: string;
1462
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1462
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1463
1463
  personId: string | null;
1464
1464
  organizationId: string | null;
1465
1465
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -1514,7 +1514,7 @@ export declare const bookingsService: {
1514
1514
  booking: {
1515
1515
  id: string;
1516
1516
  bookingNumber: string;
1517
- status: "cancelled" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "completed" | "expired";
1517
+ status: "cancelled" | "completed" | "draft" | "on_hold" | "awaiting_payment" | "confirmed" | "in_progress" | "expired";
1518
1518
  personId: string | null;
1519
1519
  organizationId: string | null;
1520
1520
  sourceType: "internal" | "direct" | "manual" | "affiliate" | "ota" | "reseller" | "api_partner";
@@ -1632,7 +1632,7 @@ export declare const bookingsService: {
1632
1632
  tableName: "booking_travelers";
1633
1633
  dataType: "string";
1634
1634
  columnType: "PgEnumColumn";
1635
- data: "other" | "adult" | "child" | "infant" | "senior";
1635
+ data: "child" | "other" | "adult" | "infant" | "senior";
1636
1636
  driverParam: string;
1637
1637
  notNull: false;
1638
1638
  hasDefault: false;
@@ -1819,7 +1819,7 @@ export declare const bookingsService: {
1819
1819
  bookingId: string;
1820
1820
  personId: string | null;
1821
1821
  participantType: "other" | "traveler" | "occupant";
1822
- travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
1822
+ travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
1823
1823
  firstName: string;
1824
1824
  lastName: string;
1825
1825
  email: string | null;
@@ -1904,7 +1904,7 @@ export declare const bookingsService: {
1904
1904
  tableName: "booking_travelers";
1905
1905
  dataType: "string";
1906
1906
  columnType: "PgEnumColumn";
1907
- data: "other" | "adult" | "child" | "infant" | "senior";
1907
+ data: "child" | "other" | "adult" | "infant" | "senior";
1908
1908
  driverParam: string;
1909
1909
  notNull: false;
1910
1910
  hasDefault: false;
@@ -2092,7 +2092,7 @@ export declare const bookingsService: {
2092
2092
  bookingId: string;
2093
2093
  personId: string | null;
2094
2094
  participantType: "other" | "traveler" | "occupant";
2095
- travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
2095
+ travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
2096
2096
  firstName: string;
2097
2097
  lastName: string;
2098
2098
  email: string | null;
@@ -2112,10 +2112,10 @@ export declare const bookingsService: {
2112
2112
  email: string | null;
2113
2113
  firstName: string;
2114
2114
  lastName: string;
2115
- personId: string | null;
2116
2115
  bookingId: string;
2116
+ personId: string | null;
2117
2117
  participantType: "other" | "traveler" | "occupant";
2118
- travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
2118
+ travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
2119
2119
  phone: string | null;
2120
2120
  preferredLanguage: string | null;
2121
2121
  specialRequests: string | null;
@@ -2126,7 +2126,7 @@ export declare const bookingsService: {
2126
2126
  bookingId: string;
2127
2127
  personId: string | null;
2128
2128
  participantType: "other" | "traveler" | "occupant";
2129
- travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
2129
+ travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
2130
2130
  firstName: string;
2131
2131
  lastName: string;
2132
2132
  email: string | null;
@@ -2170,10 +2170,10 @@ export declare const bookingsService: {
2170
2170
  email: string | null;
2171
2171
  firstName: string;
2172
2172
  lastName: string;
2173
- personId: string | null;
2174
2173
  bookingId: string;
2174
+ personId: string | null;
2175
2175
  participantType: "other" | "traveler" | "occupant";
2176
- travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
2176
+ travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
2177
2177
  phone: string | null;
2178
2178
  preferredLanguage: string | null;
2179
2179
  specialRequests: string | null;
@@ -2210,7 +2210,7 @@ export declare const bookingsService: {
2210
2210
  bookingId: string;
2211
2211
  personId: string | null;
2212
2212
  participantType: "other" | "traveler" | "occupant";
2213
- travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
2213
+ travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
2214
2214
  firstName: string;
2215
2215
  lastName: string;
2216
2216
  email: string | null;
@@ -2245,7 +2245,7 @@ export declare const bookingsService: {
2245
2245
  id: string;
2246
2246
  bookingId: string;
2247
2247
  participantType: "other" | "traveler" | "occupant";
2248
- travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
2248
+ travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
2249
2249
  firstName: string;
2250
2250
  lastName: string;
2251
2251
  email: string | null;
@@ -2261,7 +2261,7 @@ export declare const bookingsService: {
2261
2261
  id: string;
2262
2262
  bookingId: string;
2263
2263
  participantType: "other" | "traveler" | "occupant";
2264
- travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
2264
+ travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
2265
2265
  firstName: string;
2266
2266
  lastName: string;
2267
2267
  email: string | null;
@@ -2277,7 +2277,7 @@ export declare const bookingsService: {
2277
2277
  id: string;
2278
2278
  bookingId: string;
2279
2279
  participantType: "other" | "traveler" | "occupant";
2280
- travelerCategory: "other" | "adult" | "child" | "infant" | "senior" | null;
2280
+ travelerCategory: "child" | "other" | "adult" | "infant" | "senior" | null;
2281
2281
  firstName: string;
2282
2282
  lastName: string;
2283
2283
  email: string | null;
@@ -2366,7 +2366,7 @@ export declare const bookingsService: {
2366
2366
  tableName: "booking_items";
2367
2367
  dataType: "string";
2368
2368
  columnType: "PgEnumColumn";
2369
- data: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
2369
+ data: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
2370
2370
  driverParam: string;
2371
2371
  notNull: true;
2372
2372
  hasDefault: true;
@@ -2742,7 +2742,7 @@ export declare const bookingsService: {
2742
2742
  bookingId: string;
2743
2743
  title: string;
2744
2744
  description: string | null;
2745
- itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
2745
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
2746
2746
  status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
2747
2747
  serviceDate: string | null;
2748
2748
  startsAt: Date | null;
@@ -2838,7 +2838,7 @@ export declare const bookingsService: {
2838
2838
  tableName: "booking_items";
2839
2839
  dataType: "string";
2840
2840
  columnType: "PgEnumColumn";
2841
- data: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
2841
+ data: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
2842
2842
  driverParam: string;
2843
2843
  notNull: true;
2844
2844
  hasDefault: true;
@@ -3261,12 +3261,12 @@ export declare const bookingsService: {
3261
3261
  createdAt: Date;
3262
3262
  updatedAt: Date;
3263
3263
  metadata: Record<string, unknown> | null;
3264
- sellCurrency: string;
3264
+ description: string | null;
3265
3265
  bookingId: string;
3266
+ sellCurrency: string;
3266
3267
  optionUnitId: string | null;
3267
3268
  title: string;
3268
- description: string | null;
3269
- itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
3269
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
3270
3270
  serviceDate: string | null;
3271
3271
  quantity: number;
3272
3272
  unitSellAmountCents: number | null;
@@ -3283,7 +3283,7 @@ export declare const bookingsService: {
3283
3283
  bookingId: string;
3284
3284
  title: string;
3285
3285
  description: string | null;
3286
- itemType: "service" | "unit" | "other" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
3286
+ itemType: "service" | "other" | "unit" | "extra" | "fee" | "tax" | "discount" | "adjustment" | "accommodation" | "transport";
3287
3287
  status: "cancelled" | "draft" | "on_hold" | "confirmed" | "expired" | "fulfilled";
3288
3288
  serviceDate: string | null;
3289
3289
  startsAt: Date | null;
@@ -3972,9 +3972,9 @@ export declare const bookingsService: {
3972
3972
  notes: string | null;
3973
3973
  createdAt: Date;
3974
3974
  updatedAt: Date;
3975
+ bookingId: string;
3975
3976
  costAmountCents: number;
3976
3977
  confirmedAt: Date | null;
3977
- bookingId: string;
3978
3978
  costCurrency: string;
3979
3979
  supplierServiceId: string | null;
3980
3980
  serviceName: string;
@@ -4094,7 +4094,7 @@ export declare const bookingsService: {
4094
4094
  tableName: "booking_fulfillments";
4095
4095
  dataType: "string";
4096
4096
  columnType: "PgEnumColumn";
4097
- data: "email" | "other" | "download" | "api" | "wallet";
4097
+ data: "api" | "email" | "other" | "download" | "wallet";
4098
4098
  driverParam: string;
4099
4099
  notNull: true;
4100
4100
  hasDefault: false;
@@ -4111,7 +4111,7 @@ export declare const bookingsService: {
4111
4111
  tableName: "booking_fulfillments";
4112
4112
  dataType: "string";
4113
4113
  columnType: "PgEnumColumn";
4114
- data: "pending" | "issued" | "reissued" | "revoked" | "failed";
4114
+ data: "pending" | "failed" | "issued" | "reissued" | "revoked";
4115
4115
  driverParam: string;
4116
4116
  notNull: true;
4117
4117
  hasDefault: true;
@@ -4233,8 +4233,8 @@ export declare const bookingsService: {
4233
4233
  bookingItemId: string | null;
4234
4234
  travelerId: string | null;
4235
4235
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
4236
- deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
4237
- status: "pending" | "issued" | "reissued" | "revoked" | "failed";
4236
+ deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
4237
+ status: "pending" | "failed" | "issued" | "reissued" | "revoked";
4238
4238
  artifactUrl: string | null;
4239
4239
  payload: Record<string, unknown> | null;
4240
4240
  issuedAt: Date | null;
@@ -4332,7 +4332,7 @@ export declare const bookingsService: {
4332
4332
  tableName: "booking_fulfillments";
4333
4333
  dataType: "string";
4334
4334
  columnType: "PgEnumColumn";
4335
- data: "email" | "other" | "download" | "api" | "wallet";
4335
+ data: "api" | "email" | "other" | "download" | "wallet";
4336
4336
  driverParam: string;
4337
4337
  notNull: true;
4338
4338
  hasDefault: false;
@@ -4349,7 +4349,7 @@ export declare const bookingsService: {
4349
4349
  tableName: "booking_fulfillments";
4350
4350
  dataType: "string";
4351
4351
  columnType: "PgEnumColumn";
4352
- data: "pending" | "issued" | "reissued" | "revoked" | "failed";
4352
+ data: "pending" | "failed" | "issued" | "reissued" | "revoked";
4353
4353
  driverParam: string;
4354
4354
  notNull: true;
4355
4355
  hasDefault: true;
@@ -4468,16 +4468,16 @@ export declare const bookingsService: {
4468
4468
  }>, "where" | "orderBy">;
4469
4469
  issueFulfillment(db: PostgresJsDatabase, bookingId: string, data: CreateBookingFulfillmentInput, userId?: string): Promise<{
4470
4470
  id: string;
4471
- status: "pending" | "issued" | "reissued" | "revoked" | "failed";
4471
+ status: "pending" | "failed" | "issued" | "reissued" | "revoked";
4472
4472
  createdAt: Date;
4473
4473
  updatedAt: Date;
4474
4474
  bookingId: string;
4475
+ payload: Record<string, unknown> | null;
4475
4476
  travelerId: string | null;
4476
4477
  bookingItemId: string | null;
4477
4478
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
4478
- deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
4479
+ deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
4479
4480
  artifactUrl: string | null;
4480
- payload: Record<string, unknown> | null;
4481
4481
  issuedAt: Date | null;
4482
4482
  revokedAt: Date | null;
4483
4483
  } | null>;
@@ -4487,8 +4487,8 @@ export declare const bookingsService: {
4487
4487
  bookingItemId: string | null;
4488
4488
  travelerId: string | null;
4489
4489
  fulfillmentType: "other" | "voucher" | "ticket" | "pdf" | "qr_code" | "barcode" | "mobile";
4490
- deliveryChannel: "email" | "other" | "download" | "api" | "wallet";
4491
- status: "pending" | "issued" | "reissued" | "revoked" | "failed";
4490
+ deliveryChannel: "api" | "email" | "other" | "download" | "wallet";
4491
+ status: "pending" | "failed" | "issued" | "reissued" | "revoked";
4492
4492
  artifactUrl: string | null;
4493
4493
  payload: Record<string, unknown> | null;
4494
4494
  issuedAt: Date | null;
@@ -4621,7 +4621,7 @@ export declare const bookingsService: {
4621
4621
  tableName: "booking_redemption_events";
4622
4622
  dataType: "string";
4623
4623
  columnType: "PgEnumColumn";
4624
- data: "other" | "manual" | "api" | "scan";
4624
+ data: "api" | "other" | "manual" | "scan";
4625
4625
  driverParam: string;
4626
4626
  notNull: true;
4627
4627
  hasDefault: true;
@@ -4677,7 +4677,7 @@ export declare const bookingsService: {
4677
4677
  redeemedAt: Date;
4678
4678
  redeemedBy: string | null;
4679
4679
  location: string | null;
4680
- method: "other" | "manual" | "api" | "scan";
4680
+ method: "api" | "other" | "manual" | "scan";
4681
4681
  metadata: Record<string, unknown> | null;
4682
4682
  createdAt: Date;
4683
4683
  }[], {
@@ -4805,7 +4805,7 @@ export declare const bookingsService: {
4805
4805
  tableName: "booking_redemption_events";
4806
4806
  dataType: "string";
4807
4807
  columnType: "PgEnumColumn";
4808
- data: "other" | "manual" | "api" | "scan";
4808
+ data: "api" | "other" | "manual" | "scan";
4809
4809
  driverParam: string;
4810
4810
  notNull: true;
4811
4811
  hasDefault: true;
@@ -4858,9 +4858,9 @@ export declare const bookingsService: {
4858
4858
  id: string;
4859
4859
  createdAt: Date;
4860
4860
  metadata: Record<string, unknown> | null;
4861
- method: "other" | "manual" | "api" | "scan";
4862
4861
  redeemedAt: Date;
4863
4862
  bookingId: string;
4863
+ method: "api" | "other" | "manual" | "scan";
4864
4864
  travelerId: string | null;
4865
4865
  bookingItemId: string | null;
4866
4866
  redeemedBy: string | null;