@voyant-travel/commerce 0.1.0 → 0.2.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.
@@ -45,7 +45,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
45
45
  } | null;
46
46
  channel: {
47
47
  id: string;
48
- kind: "direct" | "reseller" | "affiliate" | "ota" | "marketplace" | "api_partner" | "connect";
48
+ kind: "direct" | "reseller" | "connect" | "affiliate" | "ota" | "marketplace" | "api_partner";
49
49
  } | null;
50
50
  sellability: {
51
51
  mode: "unavailable" | "sellable" | "on_request";
@@ -122,14 +122,14 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
122
122
  status: "expired" | "resolved" | "offer_constructed";
123
123
  createdAt: string;
124
124
  updatedAt: string;
125
+ expiresAt: string | null;
125
126
  marketId: string | null;
126
127
  fxRateSetId: string | null;
127
128
  productId: string | null;
128
129
  optionId: string | null;
129
130
  channelId: string | null;
130
- offerId: string | null;
131
131
  slotId: string | null;
132
- expiresAt: string | null;
132
+ offerId: string | null;
133
133
  requestedCurrencyCode: string | null;
134
134
  sourceCurrencyCode: string | null;
135
135
  queryPayload: {
@@ -171,7 +171,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
171
171
  } | null;
172
172
  channel: {
173
173
  id: string;
174
- kind: "direct" | "reseller" | "affiliate" | "ota" | "marketplace" | "api_partner" | "connect";
174
+ kind: "direct" | "reseller" | "connect" | "affiliate" | "ota" | "marketplace" | "api_partner";
175
175
  } | null;
176
176
  sellability: {
177
177
  mode: "unavailable" | "sellable" | "on_request";
@@ -368,8 +368,8 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
368
368
  data: {
369
369
  id: string;
370
370
  name: string;
371
- scope: "market" | "channel" | "global" | "product" | "option";
372
- policyType: "currency" | "custom" | "pickup" | "capability" | "occupancy" | "question" | "allotment" | "availability_window";
371
+ scope: "channel" | "market" | "global" | "product" | "option";
372
+ policyType: "custom" | "currency" | "pickup" | "capability" | "question" | "occupancy" | "allotment" | "availability_window";
373
373
  productId: string | null;
374
374
  optionId: string | null;
375
375
  marketId: string | null;
@@ -403,28 +403,28 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
403
403
  input: {};
404
404
  output: {
405
405
  data: {
406
- id: string;
407
- active: boolean;
408
406
  metadata: {
409
407
  [x: string]: import("hono/utils/types").JSONValue;
410
408
  } | null;
409
+ id: string;
411
410
  name: string;
412
411
  createdAt: string;
412
+ priority: number;
413
+ effects: {
414
+ [x: string]: import("hono/utils/types").JSONValue;
415
+ };
413
416
  updatedAt: string;
414
- marketId: string | null;
417
+ scope: "channel" | "market" | "global" | "product" | "option";
415
418
  notes: string | null;
416
- priority: number;
419
+ active: boolean;
420
+ marketId: string | null;
417
421
  productId: string | null;
418
422
  optionId: string | null;
419
423
  channelId: string | null;
420
- policyType: "currency" | "custom" | "pickup" | "capability" | "occupancy" | "question" | "allotment" | "availability_window";
421
- scope: "market" | "channel" | "global" | "product" | "option";
424
+ policyType: "custom" | "currency" | "pickup" | "capability" | "question" | "occupancy" | "allotment" | "availability_window";
422
425
  conditions: {
423
426
  [x: string]: import("hono/utils/types").JSONValue;
424
427
  };
425
- effects: {
426
- [x: string]: import("hono/utils/types").JSONValue;
427
- };
428
428
  } | null;
429
429
  };
430
430
  outputFormat: "json";
@@ -454,8 +454,8 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
454
454
  data: {
455
455
  id: string;
456
456
  name: string;
457
- scope: "market" | "channel" | "global" | "product" | "option";
458
- policyType: "currency" | "custom" | "pickup" | "capability" | "occupancy" | "question" | "allotment" | "availability_window";
457
+ scope: "channel" | "market" | "global" | "product" | "option";
458
+ policyType: "custom" | "currency" | "pickup" | "capability" | "question" | "occupancy" | "allotment" | "availability_window";
459
459
  productId: string | null;
460
460
  optionId: string | null;
461
461
  marketId: string | null;
@@ -503,8 +503,8 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
503
503
  data: {
504
504
  id: string;
505
505
  name: string;
506
- scope: "market" | "channel" | "global" | "product" | "option";
507
- policyType: "currency" | "custom" | "pickup" | "capability" | "occupancy" | "question" | "allotment" | "availability_window";
506
+ scope: "channel" | "market" | "global" | "product" | "option";
507
+ policyType: "custom" | "currency" | "pickup" | "capability" | "question" | "occupancy" | "allotment" | "availability_window";
508
508
  productId: string | null;
509
509
  optionId: string | null;
510
510
  marketId: string | null;
@@ -566,7 +566,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
566
566
  snapshotItemId: string | null;
567
567
  policyId: string | null;
568
568
  candidateIndex: number;
569
- status: "blocked" | "passed" | "warning" | "adjusted";
569
+ status: "blocked" | "warning" | "passed" | "adjusted";
570
570
  message: string | null;
571
571
  details: {
572
572
  [x: string]: import("hono/utils/types").JSONValue;
@@ -587,17 +587,17 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
587
587
  input: {};
588
588
  output: {
589
589
  data: {
590
- id: string;
591
- status: "blocked" | "passed" | "warning" | "adjusted";
592
- snapshotId: string;
593
590
  message: string | null;
591
+ id: string;
592
+ status: "blocked" | "warning" | "passed" | "adjusted";
594
593
  createdAt: string;
595
- candidateIndex: number;
596
- snapshotItemId: string | null;
597
- policyId: string | null;
598
594
  details: {
599
595
  [x: string]: import("hono/utils/types").JSONValue;
600
596
  } | null;
597
+ snapshotId: string;
598
+ candidateIndex: number;
599
+ snapshotItemId: string | null;
600
+ policyId: string | null;
601
601
  } | null;
602
602
  };
603
603
  outputFormat: "json";
@@ -630,7 +630,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
630
630
  snapshotItemId: string | null;
631
631
  policyId: string | null;
632
632
  candidateIndex: number;
633
- status: "blocked" | "passed" | "warning" | "adjusted";
633
+ status: "blocked" | "warning" | "passed" | "adjusted";
634
634
  message: string | null;
635
635
  details: {
636
636
  [x: string]: import("hono/utils/types").JSONValue;
@@ -668,7 +668,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
668
668
  snapshotItemId: string | null;
669
669
  policyId: string | null;
670
670
  candidateIndex: number;
671
- status: "blocked" | "passed" | "warning" | "adjusted";
671
+ status: "blocked" | "warning" | "passed" | "adjusted";
672
672
  message: string | null;
673
673
  details: {
674
674
  [x: string]: import("hono/utils/types").JSONValue;
@@ -715,7 +715,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
715
715
  id: string;
716
716
  offerId: string;
717
717
  snapshotId: string | null;
718
- status: "expired" | "pending" | "running" | "completed" | "failed";
718
+ status: "failed" | "pending" | "running" | "completed" | "expired";
719
719
  startedAt: string;
720
720
  completedAt: string | null;
721
721
  notes: string | null;
@@ -739,18 +739,18 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
739
739
  input: {};
740
740
  output: {
741
741
  data: {
742
- id: string;
743
- status: "expired" | "pending" | "running" | "completed" | "failed";
744
- snapshotId: string | null;
745
742
  metadata: {
746
743
  [x: string]: import("hono/utils/types").JSONValue;
747
744
  } | null;
745
+ id: string;
746
+ status: "failed" | "pending" | "running" | "completed" | "expired";
748
747
  createdAt: string;
748
+ startedAt: string;
749
749
  updatedAt: string;
750
750
  notes: string | null;
751
- offerId: string;
752
- startedAt: string;
753
751
  completedAt: string | null;
752
+ snapshotId: string | null;
753
+ offerId: string;
754
754
  } | null;
755
755
  };
756
756
  outputFormat: "json";
@@ -781,7 +781,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
781
781
  id: string;
782
782
  offerId: string;
783
783
  snapshotId: string | null;
784
- status: "expired" | "pending" | "running" | "completed" | "failed";
784
+ status: "failed" | "pending" | "running" | "completed" | "expired";
785
785
  startedAt: string;
786
786
  completedAt: string | null;
787
787
  notes: string | null;
@@ -820,7 +820,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
820
820
  id: string;
821
821
  offerId: string;
822
822
  snapshotId: string | null;
823
- status: "expired" | "pending" | "running" | "completed" | "failed";
823
+ status: "failed" | "pending" | "running" | "completed" | "expired";
824
824
  startedAt: string;
825
825
  completedAt: string | null;
826
826
  notes: string | null;
@@ -872,7 +872,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
872
872
  snapshotId: string | null;
873
873
  expiresAt: string;
874
874
  expiredAt: string | null;
875
- status: "superseded" | "cancelled" | "scheduled" | "expired";
875
+ status: "cancelled" | "expired" | "scheduled" | "superseded";
876
876
  reason: string | null;
877
877
  metadata: {
878
878
  [x: string]: import("hono/utils/types").JSONValue;
@@ -894,18 +894,18 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
894
894
  input: {};
895
895
  output: {
896
896
  data: {
897
- id: string;
898
- status: "superseded" | "cancelled" | "scheduled" | "expired";
899
- reason: string | null;
900
- snapshotId: string | null;
901
897
  metadata: {
902
898
  [x: string]: import("hono/utils/types").JSONValue;
903
899
  } | null;
900
+ id: string;
901
+ status: "cancelled" | "expired" | "scheduled" | "superseded";
904
902
  createdAt: string;
905
903
  updatedAt: string;
906
- offerId: string;
907
904
  expiresAt: string;
905
+ reason: string | null;
906
+ snapshotId: string | null;
908
907
  expiredAt: string | null;
908
+ offerId: string;
909
909
  } | null;
910
910
  };
911
911
  outputFormat: "json";
@@ -938,7 +938,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
938
938
  snapshotId: string | null;
939
939
  expiresAt: string;
940
940
  expiredAt: string | null;
941
- status: "superseded" | "cancelled" | "scheduled" | "expired";
941
+ status: "cancelled" | "expired" | "scheduled" | "superseded";
942
942
  reason: string | null;
943
943
  metadata: {
944
944
  [x: string]: import("hono/utils/types").JSONValue;
@@ -977,7 +977,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
977
977
  snapshotId: string | null;
978
978
  expiresAt: string;
979
979
  expiredAt: string | null;
980
- status: "superseded" | "cancelled" | "scheduled" | "expired";
980
+ status: "cancelled" | "expired" | "scheduled" | "superseded";
981
981
  reason: string | null;
982
982
  metadata: {
983
983
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1026,7 +1026,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
1026
1026
  snapshotId: string;
1027
1027
  snapshotItemId: string | null;
1028
1028
  candidateIndex: number;
1029
- explanationType: "pricing" | "blocked" | "sellable" | "policy" | "pickup" | "allotment" | "warning";
1029
+ explanationType: "pricing" | "blocked" | "warning" | "sellable" | "pickup" | "policy" | "allotment";
1030
1030
  code: string | null;
1031
1031
  message: string;
1032
1032
  details: {
@@ -1048,17 +1048,17 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
1048
1048
  input: {};
1049
1049
  output: {
1050
1050
  data: {
1051
- id: string;
1052
- code: string | null;
1053
- snapshotId: string;
1054
1051
  message: string;
1052
+ id: string;
1055
1053
  createdAt: string;
1056
- candidateIndex: number;
1057
- snapshotItemId: string | null;
1054
+ code: string | null;
1058
1055
  details: {
1059
1056
  [x: string]: import("hono/utils/types").JSONValue;
1060
1057
  } | null;
1061
- explanationType: "pricing" | "blocked" | "sellable" | "policy" | "pickup" | "allotment" | "warning";
1058
+ snapshotId: string;
1059
+ candidateIndex: number;
1060
+ snapshotItemId: string | null;
1061
+ explanationType: "pricing" | "blocked" | "warning" | "sellable" | "pickup" | "policy" | "allotment";
1062
1062
  } | null;
1063
1063
  };
1064
1064
  outputFormat: "json";
@@ -1090,7 +1090,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
1090
1090
  snapshotId: string;
1091
1091
  snapshotItemId: string | null;
1092
1092
  candidateIndex: number;
1093
- explanationType: "pricing" | "blocked" | "sellable" | "policy" | "pickup" | "allotment" | "warning";
1093
+ explanationType: "pricing" | "blocked" | "warning" | "sellable" | "pickup" | "policy" | "allotment";
1094
1094
  code: string | null;
1095
1095
  message: string;
1096
1096
  details: {
@@ -1128,7 +1128,7 @@ export declare function createSellabilityRoutes(options?: SellabilityRoutesOptio
1128
1128
  snapshotId: string;
1129
1129
  snapshotItemId: string | null;
1130
1130
  candidateIndex: number;
1131
- explanationType: "pricing" | "blocked" | "sellable" | "policy" | "pickup" | "allotment" | "warning";
1131
+ explanationType: "pricing" | "blocked" | "warning" | "sellable" | "pickup" | "policy" | "allotment";
1132
1132
  code: string | null;
1133
1133
  message: string;
1134
1134
  details: {
@@ -1204,7 +1204,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1204
1204
  } | null;
1205
1205
  channel: {
1206
1206
  id: string;
1207
- kind: "direct" | "reseller" | "affiliate" | "ota" | "marketplace" | "api_partner" | "connect";
1207
+ kind: "direct" | "reseller" | "connect" | "affiliate" | "ota" | "marketplace" | "api_partner";
1208
1208
  } | null;
1209
1209
  sellability: {
1210
1210
  mode: "unavailable" | "sellable" | "on_request";
@@ -1281,14 +1281,14 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1281
1281
  status: "expired" | "resolved" | "offer_constructed";
1282
1282
  createdAt: string;
1283
1283
  updatedAt: string;
1284
+ expiresAt: string | null;
1284
1285
  marketId: string | null;
1285
1286
  fxRateSetId: string | null;
1286
1287
  productId: string | null;
1287
1288
  optionId: string | null;
1288
1289
  channelId: string | null;
1289
- offerId: string | null;
1290
1290
  slotId: string | null;
1291
- expiresAt: string | null;
1291
+ offerId: string | null;
1292
1292
  requestedCurrencyCode: string | null;
1293
1293
  sourceCurrencyCode: string | null;
1294
1294
  queryPayload: {
@@ -1330,7 +1330,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1330
1330
  } | null;
1331
1331
  channel: {
1332
1332
  id: string;
1333
- kind: "direct" | "reseller" | "affiliate" | "ota" | "marketplace" | "api_partner" | "connect";
1333
+ kind: "direct" | "reseller" | "connect" | "affiliate" | "ota" | "marketplace" | "api_partner";
1334
1334
  } | null;
1335
1335
  sellability: {
1336
1336
  mode: "unavailable" | "sellable" | "on_request";
@@ -1527,8 +1527,8 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1527
1527
  data: {
1528
1528
  id: string;
1529
1529
  name: string;
1530
- scope: "market" | "channel" | "global" | "product" | "option";
1531
- policyType: "currency" | "custom" | "pickup" | "capability" | "occupancy" | "question" | "allotment" | "availability_window";
1530
+ scope: "channel" | "market" | "global" | "product" | "option";
1531
+ policyType: "custom" | "currency" | "pickup" | "capability" | "question" | "occupancy" | "allotment" | "availability_window";
1532
1532
  productId: string | null;
1533
1533
  optionId: string | null;
1534
1534
  marketId: string | null;
@@ -1562,28 +1562,28 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1562
1562
  input: {};
1563
1563
  output: {
1564
1564
  data: {
1565
- id: string;
1566
- active: boolean;
1567
1565
  metadata: {
1568
1566
  [x: string]: import("hono/utils/types").JSONValue;
1569
1567
  } | null;
1568
+ id: string;
1570
1569
  name: string;
1571
1570
  createdAt: string;
1571
+ priority: number;
1572
+ effects: {
1573
+ [x: string]: import("hono/utils/types").JSONValue;
1574
+ };
1572
1575
  updatedAt: string;
1573
- marketId: string | null;
1576
+ scope: "channel" | "market" | "global" | "product" | "option";
1574
1577
  notes: string | null;
1575
- priority: number;
1578
+ active: boolean;
1579
+ marketId: string | null;
1576
1580
  productId: string | null;
1577
1581
  optionId: string | null;
1578
1582
  channelId: string | null;
1579
- policyType: "currency" | "custom" | "pickup" | "capability" | "occupancy" | "question" | "allotment" | "availability_window";
1580
- scope: "market" | "channel" | "global" | "product" | "option";
1583
+ policyType: "custom" | "currency" | "pickup" | "capability" | "question" | "occupancy" | "allotment" | "availability_window";
1581
1584
  conditions: {
1582
1585
  [x: string]: import("hono/utils/types").JSONValue;
1583
1586
  };
1584
- effects: {
1585
- [x: string]: import("hono/utils/types").JSONValue;
1586
- };
1587
1587
  } | null;
1588
1588
  };
1589
1589
  outputFormat: "json";
@@ -1613,8 +1613,8 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1613
1613
  data: {
1614
1614
  id: string;
1615
1615
  name: string;
1616
- scope: "market" | "channel" | "global" | "product" | "option";
1617
- policyType: "currency" | "custom" | "pickup" | "capability" | "occupancy" | "question" | "allotment" | "availability_window";
1616
+ scope: "channel" | "market" | "global" | "product" | "option";
1617
+ policyType: "custom" | "currency" | "pickup" | "capability" | "question" | "occupancy" | "allotment" | "availability_window";
1618
1618
  productId: string | null;
1619
1619
  optionId: string | null;
1620
1620
  marketId: string | null;
@@ -1662,8 +1662,8 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1662
1662
  data: {
1663
1663
  id: string;
1664
1664
  name: string;
1665
- scope: "market" | "channel" | "global" | "product" | "option";
1666
- policyType: "currency" | "custom" | "pickup" | "capability" | "occupancy" | "question" | "allotment" | "availability_window";
1665
+ scope: "channel" | "market" | "global" | "product" | "option";
1666
+ policyType: "custom" | "currency" | "pickup" | "capability" | "question" | "occupancy" | "allotment" | "availability_window";
1667
1667
  productId: string | null;
1668
1668
  optionId: string | null;
1669
1669
  marketId: string | null;
@@ -1725,7 +1725,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1725
1725
  snapshotItemId: string | null;
1726
1726
  policyId: string | null;
1727
1727
  candidateIndex: number;
1728
- status: "blocked" | "passed" | "warning" | "adjusted";
1728
+ status: "blocked" | "warning" | "passed" | "adjusted";
1729
1729
  message: string | null;
1730
1730
  details: {
1731
1731
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1746,17 +1746,17 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1746
1746
  input: {};
1747
1747
  output: {
1748
1748
  data: {
1749
- id: string;
1750
- status: "blocked" | "passed" | "warning" | "adjusted";
1751
- snapshotId: string;
1752
1749
  message: string | null;
1750
+ id: string;
1751
+ status: "blocked" | "warning" | "passed" | "adjusted";
1753
1752
  createdAt: string;
1754
- candidateIndex: number;
1755
- snapshotItemId: string | null;
1756
- policyId: string | null;
1757
1753
  details: {
1758
1754
  [x: string]: import("hono/utils/types").JSONValue;
1759
1755
  } | null;
1756
+ snapshotId: string;
1757
+ candidateIndex: number;
1758
+ snapshotItemId: string | null;
1759
+ policyId: string | null;
1760
1760
  } | null;
1761
1761
  };
1762
1762
  outputFormat: "json";
@@ -1789,7 +1789,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1789
1789
  snapshotItemId: string | null;
1790
1790
  policyId: string | null;
1791
1791
  candidateIndex: number;
1792
- status: "blocked" | "passed" | "warning" | "adjusted";
1792
+ status: "blocked" | "warning" | "passed" | "adjusted";
1793
1793
  message: string | null;
1794
1794
  details: {
1795
1795
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1827,7 +1827,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1827
1827
  snapshotItemId: string | null;
1828
1828
  policyId: string | null;
1829
1829
  candidateIndex: number;
1830
- status: "blocked" | "passed" | "warning" | "adjusted";
1830
+ status: "blocked" | "warning" | "passed" | "adjusted";
1831
1831
  message: string | null;
1832
1832
  details: {
1833
1833
  [x: string]: import("hono/utils/types").JSONValue;
@@ -1874,7 +1874,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1874
1874
  id: string;
1875
1875
  offerId: string;
1876
1876
  snapshotId: string | null;
1877
- status: "expired" | "pending" | "running" | "completed" | "failed";
1877
+ status: "failed" | "pending" | "running" | "completed" | "expired";
1878
1878
  startedAt: string;
1879
1879
  completedAt: string | null;
1880
1880
  notes: string | null;
@@ -1898,18 +1898,18 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1898
1898
  input: {};
1899
1899
  output: {
1900
1900
  data: {
1901
- id: string;
1902
- status: "expired" | "pending" | "running" | "completed" | "failed";
1903
- snapshotId: string | null;
1904
1901
  metadata: {
1905
1902
  [x: string]: import("hono/utils/types").JSONValue;
1906
1903
  } | null;
1904
+ id: string;
1905
+ status: "failed" | "pending" | "running" | "completed" | "expired";
1907
1906
  createdAt: string;
1907
+ startedAt: string;
1908
1908
  updatedAt: string;
1909
1909
  notes: string | null;
1910
- offerId: string;
1911
- startedAt: string;
1912
1910
  completedAt: string | null;
1911
+ snapshotId: string | null;
1912
+ offerId: string;
1913
1913
  } | null;
1914
1914
  };
1915
1915
  outputFormat: "json";
@@ -1940,7 +1940,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1940
1940
  id: string;
1941
1941
  offerId: string;
1942
1942
  snapshotId: string | null;
1943
- status: "expired" | "pending" | "running" | "completed" | "failed";
1943
+ status: "failed" | "pending" | "running" | "completed" | "expired";
1944
1944
  startedAt: string;
1945
1945
  completedAt: string | null;
1946
1946
  notes: string | null;
@@ -1979,7 +1979,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
1979
1979
  id: string;
1980
1980
  offerId: string;
1981
1981
  snapshotId: string | null;
1982
- status: "expired" | "pending" | "running" | "completed" | "failed";
1982
+ status: "failed" | "pending" | "running" | "completed" | "expired";
1983
1983
  startedAt: string;
1984
1984
  completedAt: string | null;
1985
1985
  notes: string | null;
@@ -2031,7 +2031,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
2031
2031
  snapshotId: string | null;
2032
2032
  expiresAt: string;
2033
2033
  expiredAt: string | null;
2034
- status: "superseded" | "cancelled" | "scheduled" | "expired";
2034
+ status: "cancelled" | "expired" | "scheduled" | "superseded";
2035
2035
  reason: string | null;
2036
2036
  metadata: {
2037
2037
  [x: string]: import("hono/utils/types").JSONValue;
@@ -2053,18 +2053,18 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
2053
2053
  input: {};
2054
2054
  output: {
2055
2055
  data: {
2056
- id: string;
2057
- status: "superseded" | "cancelled" | "scheduled" | "expired";
2058
- reason: string | null;
2059
- snapshotId: string | null;
2060
2056
  metadata: {
2061
2057
  [x: string]: import("hono/utils/types").JSONValue;
2062
2058
  } | null;
2059
+ id: string;
2060
+ status: "cancelled" | "expired" | "scheduled" | "superseded";
2063
2061
  createdAt: string;
2064
2062
  updatedAt: string;
2065
- offerId: string;
2066
2063
  expiresAt: string;
2064
+ reason: string | null;
2065
+ snapshotId: string | null;
2067
2066
  expiredAt: string | null;
2067
+ offerId: string;
2068
2068
  } | null;
2069
2069
  };
2070
2070
  outputFormat: "json";
@@ -2097,7 +2097,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
2097
2097
  snapshotId: string | null;
2098
2098
  expiresAt: string;
2099
2099
  expiredAt: string | null;
2100
- status: "superseded" | "cancelled" | "scheduled" | "expired";
2100
+ status: "cancelled" | "expired" | "scheduled" | "superseded";
2101
2101
  reason: string | null;
2102
2102
  metadata: {
2103
2103
  [x: string]: import("hono/utils/types").JSONValue;
@@ -2136,7 +2136,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
2136
2136
  snapshotId: string | null;
2137
2137
  expiresAt: string;
2138
2138
  expiredAt: string | null;
2139
- status: "superseded" | "cancelled" | "scheduled" | "expired";
2139
+ status: "cancelled" | "expired" | "scheduled" | "superseded";
2140
2140
  reason: string | null;
2141
2141
  metadata: {
2142
2142
  [x: string]: import("hono/utils/types").JSONValue;
@@ -2185,7 +2185,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
2185
2185
  snapshotId: string;
2186
2186
  snapshotItemId: string | null;
2187
2187
  candidateIndex: number;
2188
- explanationType: "pricing" | "blocked" | "sellable" | "policy" | "pickup" | "allotment" | "warning";
2188
+ explanationType: "pricing" | "blocked" | "warning" | "sellable" | "pickup" | "policy" | "allotment";
2189
2189
  code: string | null;
2190
2190
  message: string;
2191
2191
  details: {
@@ -2207,17 +2207,17 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
2207
2207
  input: {};
2208
2208
  output: {
2209
2209
  data: {
2210
- id: string;
2211
- code: string | null;
2212
- snapshotId: string;
2213
2210
  message: string;
2211
+ id: string;
2214
2212
  createdAt: string;
2215
- candidateIndex: number;
2216
- snapshotItemId: string | null;
2213
+ code: string | null;
2217
2214
  details: {
2218
2215
  [x: string]: import("hono/utils/types").JSONValue;
2219
2216
  } | null;
2220
- explanationType: "pricing" | "blocked" | "sellable" | "policy" | "pickup" | "allotment" | "warning";
2217
+ snapshotId: string;
2218
+ candidateIndex: number;
2219
+ snapshotItemId: string | null;
2220
+ explanationType: "pricing" | "blocked" | "warning" | "sellable" | "pickup" | "policy" | "allotment";
2221
2221
  } | null;
2222
2222
  };
2223
2223
  outputFormat: "json";
@@ -2249,7 +2249,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
2249
2249
  snapshotId: string;
2250
2250
  snapshotItemId: string | null;
2251
2251
  candidateIndex: number;
2252
- explanationType: "pricing" | "blocked" | "sellable" | "policy" | "pickup" | "allotment" | "warning";
2252
+ explanationType: "pricing" | "blocked" | "warning" | "sellable" | "pickup" | "policy" | "allotment";
2253
2253
  code: string | null;
2254
2254
  message: string;
2255
2255
  details: {
@@ -2287,7 +2287,7 @@ export declare const sellabilityRoutes: import("hono/hono-base").HonoBase<Env, {
2287
2287
  snapshotId: string;
2288
2288
  snapshotItemId: string | null;
2289
2289
  candidateIndex: number;
2290
- explanationType: "pricing" | "blocked" | "sellable" | "policy" | "pickup" | "allotment" | "warning";
2290
+ explanationType: "pricing" | "blocked" | "warning" | "sellable" | "pickup" | "policy" | "allotment";
2291
2291
  code: string | null;
2292
2292
  message: string;
2293
2293
  details: {
@@ -451,7 +451,7 @@ export declare const sellabilitySnapshotItems: import("drizzle-orm/pg-core").PgT
451
451
  tableName: "sellability_snapshot_items";
452
452
  dataType: "string";
453
453
  columnType: "PgEnumColumn";
454
- data: "pickup" | "base" | "unit" | "start_time_adjustment";
454
+ data: "base" | "unit" | "pickup" | "start_time_adjustment";
455
455
  driverParam: string;
456
456
  notNull: true;
457
457
  hasDefault: false;
@@ -764,7 +764,7 @@ export declare const sellabilityPolicies: import("drizzle-orm/pg-core").PgTableW
764
764
  tableName: "sellability_policies";
765
765
  dataType: "string";
766
766
  columnType: "PgEnumColumn";
767
- data: "custom" | "currency" | "pickup" | "occupancy" | "capability" | "question" | "allotment" | "availability_window";
767
+ data: "custom" | "currency" | "pickup" | "capability" | "question" | "occupancy" | "allotment" | "availability_window";
768
768
  driverParam: string;
769
769
  notNull: true;
770
770
  hasDefault: true;
@@ -1083,7 +1083,7 @@ export declare const sellabilityPolicyResults: import("drizzle-orm/pg-core").PgT
1083
1083
  tableName: "sellability_policy_results";
1084
1084
  dataType: "string";
1085
1085
  columnType: "PgEnumColumn";
1086
- data: "warning" | "passed" | "blocked" | "adjusted";
1086
+ data: "blocked" | "warning" | "passed" | "adjusted";
1087
1087
  driverParam: string;
1088
1088
  notNull: true;
1089
1089
  hasDefault: true;
@@ -1586,7 +1586,7 @@ export declare const sellabilityExplanations: import("drizzle-orm/pg-core").PgTa
1586
1586
  tableName: "sellability_explanations";
1587
1587
  dataType: "string";
1588
1588
  columnType: "PgEnumColumn";
1589
- data: "warning" | "sellable" | "pickup" | "pricing" | "policy" | "allotment" | "blocked";
1589
+ data: "pricing" | "blocked" | "warning" | "sellable" | "pickup" | "policy" | "allotment";
1590
1590
  driverParam: string;
1591
1591
  notNull: true;
1592
1592
  hasDefault: true;