@flowio/types 8.0.6 → 8.0.7

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.
@@ -1,249 +1,3 @@
1
- declare namespace io.flow.ratecard.v0.models {
2
- interface CrossdockRatecardFee {
3
- readonly discriminator: 'crossdock_ratecard_fee';
4
- readonly amount: io.flow.common.v0.models.Money;
5
- }
6
- interface DdpRatecardFee {
7
- readonly discriminator: 'ddp_ratecard_fee';
8
- readonly amount: number;
9
- }
10
- interface DimensionEstimate {
11
- readonly id: string;
12
- readonly q: string;
13
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
14
- readonly position: number;
15
- }
16
- interface DimensionEstimateForm {
17
- readonly q: string;
18
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
19
- readonly position?: number;
20
- }
21
- interface DimensionEstimateVersion {
22
- readonly id: string;
23
- readonly timestamp: string;
24
- readonly type: io.flow.common.v0.enums.ChangeType;
25
- readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
26
- }
27
- interface EstimatedDimensions {
28
- readonly depth: io.flow.common.v0.models.Measurement;
29
- readonly length: io.flow.common.v0.models.Measurement;
30
- readonly weight: io.flow.common.v0.models.Measurement;
31
- readonly width: io.flow.common.v0.models.Measurement;
32
- }
33
- interface FuelSurchargeRatecardFee {
34
- readonly discriminator: 'fuel_surcharge_ratecard_fee';
35
- readonly amount: io.flow.common.v0.models.Money;
36
- }
37
- interface FuelSurchargeServiceFee {
38
- readonly discriminator: 'fuel_surcharge_service_fee';
39
- readonly percent: number;
40
- }
41
- interface Hop {
42
- readonly hop_number: number;
43
- readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
44
- }
45
- interface HopEstimate {
46
- readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
47
- readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
48
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
49
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
50
- readonly currency: string;
51
- readonly amount: number;
52
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
53
- readonly total: number;
54
- }
55
- interface OversizedShipmentRatecardFee {
56
- readonly discriminator: 'oversized_shipment_ratecard_fee';
57
- readonly weight_threshold: number;
58
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
59
- readonly margin?: number;
60
- readonly amount?: number;
61
- }
62
- interface Ratecard {
63
- readonly id: string;
64
- readonly number: string;
65
- readonly direction: io.flow.label.v0.enums.Direction;
66
- readonly effective_at: string;
67
- readonly origination_zones: io.flow.common.v0.models.Zone[];
68
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
69
- readonly published_at?: string;
70
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
71
- }
72
- interface RatecardCarrierSummary {
73
- readonly id: string;
74
- readonly name: string;
75
- }
76
- interface RatecardEstimateFormV1 {
77
- readonly discriminator: 'ratecard_estimate_form_v1';
78
- readonly origin?: string;
79
- readonly destination?: string;
80
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
81
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
82
- readonly service?: string;
83
- readonly weight?: number;
84
- readonly length?: number;
85
- readonly width?: number;
86
- readonly depth?: number;
87
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
88
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
89
- }
90
- interface RatecardEstimateFormV2 {
91
- readonly discriminator: 'ratecard_estimate_form_v2';
92
- readonly origin_address: io.flow.common.v0.models.Address;
93
- readonly destination_address: io.flow.common.v0.models.Address;
94
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
95
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
96
- readonly service?: string;
97
- readonly weight?: number;
98
- readonly length?: number;
99
- readonly width?: number;
100
- readonly depth?: number;
101
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
102
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
103
- readonly center_id?: string;
104
- }
105
- interface RatecardEstimateSummaryForm {
106
- readonly origin?: string;
107
- readonly destination?: string;
108
- readonly service?: string;
109
- readonly center_key?: string;
110
- }
111
- interface RatecardEstimateV1 {
112
- readonly discriminator: 'ratecard_estimate_v1';
113
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
114
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
115
- readonly currency: string;
116
- readonly amount: number;
117
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
118
- readonly total: number;
119
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
120
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
121
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
122
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
123
- }
124
- interface RatecardEstimateV2 {
125
- readonly discriminator: 'ratecard_estimate_v2';
126
- readonly hops: io.flow.ratecard.v0.models.Hop[];
127
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
128
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
129
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
130
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
131
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
132
- }
133
- interface RatecardForm {
134
- readonly direction: io.flow.label.v0.enums.Direction;
135
- readonly effective_at: string;
136
- readonly origination_zones: io.flow.common.v0.models.Zone[];
137
- readonly service: string;
138
- readonly number?: string;
139
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
140
- }
141
- interface RatecardLane {
142
- readonly id: string;
143
- readonly ratecard: io.flow.ratecard.v0.models.RatecardReference;
144
- readonly currency: string;
145
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
146
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
147
- readonly destination: io.flow.common.v0.models.Zone;
148
- readonly dim_factor: number;
149
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
150
- readonly origin: io.flow.common.v0.models.Zone;
151
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
152
- readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
153
- readonly rounding: io.flow.common.v0.models.Rounding;
154
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
155
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
156
- }
157
- interface RatecardLaneForm {
158
- readonly ratecard_id: string;
159
- readonly currency: string;
160
- readonly destination: io.flow.common.v0.models.Zone;
161
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
162
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
163
- readonly dim_factor: number;
164
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
165
- readonly origin: io.flow.common.v0.models.Zone;
166
- readonly rounding: io.flow.common.v0.models.Rounding;
167
- readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
168
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
169
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
170
- }
171
- interface RatecardLaneImportForm {
172
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
173
- readonly service: string;
174
- readonly currency: string;
175
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
176
- readonly origin: io.flow.common.v0.models.Zone;
177
- readonly destination: io.flow.common.v0.models.Zone;
178
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
179
- readonly dim_factor: number;
180
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
181
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
182
- readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
183
- }
184
- interface RatecardLaneVersion {
185
- readonly id: string;
186
- readonly timestamp: string;
187
- readonly type: io.flow.common.v0.enums.ChangeType;
188
- readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
189
- }
190
- interface RatecardLanesImportRequestData {
191
- readonly id: string;
192
- readonly source_url: string;
193
- readonly filename?: string;
194
- }
195
- interface RatecardRate {
196
- readonly id: string;
197
- readonly amount: number;
198
- readonly weight: number;
199
- }
200
- interface RatecardRateForm {
201
- readonly amount: number;
202
- readonly weight: number;
203
- }
204
- interface RatecardRateVersion {
205
- readonly id: string;
206
- readonly timestamp: string;
207
- readonly type: io.flow.common.v0.enums.ChangeType;
208
- readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
209
- }
210
- interface RatecardReference {
211
- readonly id: string;
212
- }
213
- interface RatecardServiceSummary {
214
- readonly id: string;
215
- readonly name: string;
216
- readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
217
- }
218
- interface RatecardVersion {
219
- readonly id: string;
220
- readonly timestamp: string;
221
- readonly type: io.flow.common.v0.enums.ChangeType;
222
- readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
223
- }
224
- interface RemoteAreaRatecardFee {
225
- readonly discriminator: 'remote_area_ratecard_fee';
226
- readonly amount: io.flow.common.v0.models.Money;
227
- }
228
- interface RemoteAreaServiceFee {
229
- readonly discriminator: 'remote_area_service_fee';
230
- readonly amount: io.flow.common.v0.models.Money;
231
- }
232
- interface ReturnPackageRatecardFee {
233
- readonly discriminator: 'return_package_ratecard_fee';
234
- readonly amount: number;
235
- }
236
- interface ShipmentWindow {
237
- readonly from: number;
238
- readonly to: number;
239
- }
240
- }
241
- declare namespace io.flow.ratecard.v0.unions {
242
- type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
243
- type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
244
- type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee;
245
- type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee;
246
- }
247
1
  declare namespace io.flow.bundle.checkout.v0.enums {
248
2
  type CheckoutErrorCode = 'generic_error' | 'order_identifier_invalid' | 'url_invalid' | 'organization_invalid' | 'session_invalid' | 'session_missing' | 'session_organization_invalid' | 'country_invalid' | 'currency_invalid' | 'language_invalid' | 'checkout_invalid';
249
3
  type CheckoutRedirectMethod = 'get' | 'post';
@@ -1874,152 +1628,417 @@ declare namespace io.flow.inventory.v0.models {
1874
1628
  interface InventoryExperienceReference {
1875
1629
  readonly key: string;
1876
1630
  }
1877
- interface InventoryItemReference {
1878
- readonly number: string;
1631
+ interface InventoryItemReference {
1632
+ readonly number: string;
1633
+ }
1634
+ interface InventoryRequest {
1635
+ readonly items: io.flow.inventory.v0.models.InventoryRequestItem[];
1636
+ }
1637
+ interface InventoryRequestItem {
1638
+ readonly number: string;
1639
+ readonly quantity: number;
1640
+ }
1641
+ interface InventoryRule {
1642
+ readonly id: string;
1643
+ readonly position: number;
1644
+ readonly query: string;
1645
+ readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
1646
+ }
1647
+ interface InventoryRuleForm {
1648
+ readonly position: number;
1649
+ readonly query: string;
1650
+ readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
1651
+ }
1652
+ interface InventoryRuleVersion {
1653
+ readonly id: string;
1654
+ readonly timestamp: string;
1655
+ readonly type: io.flow.common.v0.enums.ChangeType;
1656
+ readonly inventory_rule: io.flow.inventory.v0.models.InventoryRule;
1657
+ }
1658
+ interface InventorySnapshot {
1659
+ readonly id: string;
1660
+ readonly available: number;
1661
+ readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
1662
+ readonly item: io.flow.inventory.v0.models.InventoryItemReference;
1663
+ readonly quantity: number;
1664
+ }
1665
+ interface InventorySnapshotVersion {
1666
+ readonly id: string;
1667
+ readonly timestamp: string;
1668
+ readonly type: io.flow.common.v0.enums.ChangeType;
1669
+ readonly inventory_snapshot: io.flow.inventory.v0.models.InventorySnapshot;
1670
+ }
1671
+ interface InventoryStock {
1672
+ readonly discriminator: 'inventory_stock';
1673
+ readonly quantity: number;
1674
+ }
1675
+ interface InventoryUnlimited {
1676
+ readonly discriminator: 'inventory_unlimited';
1677
+ readonly quantity: string;
1678
+ }
1679
+ interface InventoryUpdate {
1680
+ readonly id: string;
1681
+ readonly idempotency_key: string;
1682
+ readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
1683
+ readonly item: io.flow.inventory.v0.models.InventoryItemReference;
1684
+ readonly notes: any;
1685
+ readonly quantity: number;
1686
+ readonly type: io.flow.inventory.v0.enums.UpdateType;
1687
+ }
1688
+ interface InventoryUpdateForm {
1689
+ readonly center: string;
1690
+ readonly idempotency_key: string;
1691
+ readonly item_number: string;
1692
+ readonly quantity: number;
1693
+ readonly type: io.flow.inventory.v0.enums.UpdateType;
1694
+ readonly notes?: any;
1695
+ }
1696
+ interface InventoryUpdateVersion {
1697
+ readonly id: string;
1698
+ readonly timestamp: string;
1699
+ readonly type: io.flow.common.v0.enums.ChangeType;
1700
+ readonly inventory_update: io.flow.inventory.v0.models.InventoryUpdate;
1701
+ }
1702
+ interface NoInventoryReservationError {
1703
+ readonly code: 'no_inventory';
1704
+ readonly messages: string[];
1705
+ readonly items: io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
1706
+ }
1707
+ interface NoInventoryReservationErrorItem {
1708
+ readonly number: string;
1709
+ readonly requested_quantity: number;
1710
+ readonly available_quantity: number;
1711
+ }
1712
+ interface PfsInventoryCheckResponse {
1713
+ readonly items: Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
1714
+ }
1715
+ interface PfsInventoryCheckResponseItem {
1716
+ readonly number: string;
1717
+ readonly ats: number;
1718
+ readonly in_stock: boolean;
1719
+ }
1720
+ interface PfsInventoryStatus {
1721
+ readonly status: string;
1722
+ }
1723
+ interface Reservation {
1724
+ readonly id: string;
1725
+ readonly key: string;
1726
+ readonly order?: io.flow.inventory.v0.models.ReservationOrderReference;
1727
+ readonly items: io.flow.inventory.v0.models.ReservationItem[];
1728
+ readonly reserved_until?: string;
1729
+ }
1730
+ interface ReservationForm {
1731
+ readonly order_number?: string;
1732
+ readonly items: io.flow.inventory.v0.models.ReservationItemForm[];
1733
+ }
1734
+ interface ReservationItem {
1735
+ readonly item: io.flow.inventory.v0.models.ReservationItemReference;
1736
+ readonly quantity: number;
1737
+ }
1738
+ interface ReservationItemForm {
1739
+ readonly item_number: string;
1740
+ readonly quantity: number;
1741
+ }
1742
+ interface ReservationItemReference {
1743
+ readonly number: string;
1744
+ }
1745
+ interface ReservationOrderReference {
1746
+ readonly number: string;
1747
+ }
1748
+ interface Serial {
1749
+ readonly id: string;
1750
+ readonly number: string;
1751
+ readonly item_number: string;
1752
+ readonly item_price: io.flow.common.v0.models.Price;
1753
+ readonly status: io.flow.inventory.v0.enums.SerialStatus;
1754
+ readonly center: io.flow.fulfillment.v0.models.CenterReference;
1755
+ readonly attributes: Record<string, string>;
1756
+ }
1757
+ interface SerialForm {
1758
+ readonly number: string;
1759
+ readonly item_number: string;
1760
+ readonly item_price: number;
1761
+ readonly item_currency: string;
1762
+ readonly status: io.flow.inventory.v0.enums.SerialStatus;
1763
+ readonly center_key?: string;
1764
+ readonly attributes?: Record<string, string>;
1765
+ }
1766
+ interface SerialVersion {
1767
+ readonly id: string;
1768
+ readonly timestamp: string;
1769
+ readonly type: io.flow.common.v0.enums.ChangeType;
1770
+ readonly serial: io.flow.inventory.v0.models.Serial;
1771
+ }
1772
+ }
1773
+ declare namespace io.flow.inventory.v0.unions {
1774
+ type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited;
1775
+ type ReservationError = io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError;
1776
+ }
1777
+ declare namespace io.flow.ratecard.v0.models {
1778
+ interface CrossdockRatecardFee {
1779
+ readonly discriminator: 'crossdock_ratecard_fee';
1780
+ readonly amount: io.flow.common.v0.models.Money;
1781
+ }
1782
+ interface DdpRatecardFee {
1783
+ readonly discriminator: 'ddp_ratecard_fee';
1784
+ readonly amount: number;
1785
+ }
1786
+ interface DimensionEstimate {
1787
+ readonly id: string;
1788
+ readonly q: string;
1789
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
1790
+ readonly position: number;
1791
+ }
1792
+ interface DimensionEstimateForm {
1793
+ readonly q: string;
1794
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
1795
+ readonly position?: number;
1796
+ }
1797
+ interface DimensionEstimateVersion {
1798
+ readonly id: string;
1799
+ readonly timestamp: string;
1800
+ readonly type: io.flow.common.v0.enums.ChangeType;
1801
+ readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
1802
+ }
1803
+ interface EstimatedDimensions {
1804
+ readonly depth: io.flow.common.v0.models.Measurement;
1805
+ readonly length: io.flow.common.v0.models.Measurement;
1806
+ readonly weight: io.flow.common.v0.models.Measurement;
1807
+ readonly width: io.flow.common.v0.models.Measurement;
1808
+ }
1809
+ interface FuelSurchargeRatecardFee {
1810
+ readonly discriminator: 'fuel_surcharge_ratecard_fee';
1811
+ readonly amount: io.flow.common.v0.models.Money;
1812
+ }
1813
+ interface FuelSurchargeServiceFee {
1814
+ readonly discriminator: 'fuel_surcharge_service_fee';
1815
+ readonly percent: number;
1816
+ }
1817
+ interface Hop {
1818
+ readonly hop_number: number;
1819
+ readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
1820
+ }
1821
+ interface HopEstimate {
1822
+ readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
1823
+ readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
1824
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1825
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1826
+ readonly currency: string;
1827
+ readonly amount: number;
1828
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1829
+ readonly total: number;
1830
+ }
1831
+ interface OversizedShipmentRatecardFee {
1832
+ readonly discriminator: 'oversized_shipment_ratecard_fee';
1833
+ readonly weight_threshold: number;
1834
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1835
+ readonly margin?: number;
1836
+ readonly amount?: number;
1837
+ }
1838
+ interface Ratecard {
1839
+ readonly id: string;
1840
+ readonly number: string;
1841
+ readonly direction: io.flow.label.v0.enums.Direction;
1842
+ readonly effective_at: string;
1843
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
1844
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1845
+ readonly published_at?: string;
1846
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
1847
+ }
1848
+ interface RatecardCarrierSummary {
1849
+ readonly id: string;
1850
+ readonly name: string;
1851
+ }
1852
+ interface RatecardEstimateFormV1 {
1853
+ readonly discriminator: 'ratecard_estimate_form_v1';
1854
+ readonly origin?: string;
1855
+ readonly destination?: string;
1856
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1857
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1858
+ readonly service?: string;
1859
+ readonly weight?: number;
1860
+ readonly length?: number;
1861
+ readonly width?: number;
1862
+ readonly depth?: number;
1863
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
1864
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1865
+ }
1866
+ interface RatecardEstimateFormV2 {
1867
+ readonly discriminator: 'ratecard_estimate_form_v2';
1868
+ readonly origin_address: io.flow.common.v0.models.Address;
1869
+ readonly destination_address: io.flow.common.v0.models.Address;
1870
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1871
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
1872
+ readonly service?: string;
1873
+ readonly weight?: number;
1874
+ readonly length?: number;
1875
+ readonly width?: number;
1876
+ readonly depth?: number;
1877
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
1878
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1879
+ readonly center_id?: string;
1880
+ }
1881
+ interface RatecardEstimateSummaryForm {
1882
+ readonly origin?: string;
1883
+ readonly destination?: string;
1884
+ readonly service?: string;
1885
+ readonly center_key?: string;
1886
+ }
1887
+ interface RatecardEstimateV1 {
1888
+ readonly discriminator: 'ratecard_estimate_v1';
1889
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1890
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1891
+ readonly currency: string;
1892
+ readonly amount: number;
1893
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1894
+ readonly total: number;
1895
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1896
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
1897
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
1898
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1879
1899
  }
1880
- interface InventoryRequest {
1881
- readonly items: io.flow.inventory.v0.models.InventoryRequestItem[];
1900
+ interface RatecardEstimateV2 {
1901
+ readonly discriminator: 'ratecard_estimate_v2';
1902
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
1903
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1904
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
1905
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
1906
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
1907
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
1882
1908
  }
1883
- interface InventoryRequestItem {
1884
- readonly number: string;
1885
- readonly quantity: number;
1909
+ interface RatecardForm {
1910
+ readonly direction: io.flow.label.v0.enums.Direction;
1911
+ readonly effective_at: string;
1912
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
1913
+ readonly service: string;
1914
+ readonly number?: string;
1915
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
1886
1916
  }
1887
- interface InventoryRule {
1917
+ interface RatecardLane {
1888
1918
  readonly id: string;
1889
- readonly position: number;
1890
- readonly query: string;
1891
- readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
1919
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardReference;
1920
+ readonly currency: string;
1921
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1922
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1923
+ readonly destination: io.flow.common.v0.models.Zone;
1924
+ readonly dim_factor: number;
1925
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1926
+ readonly origin: io.flow.common.v0.models.Zone;
1927
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
1928
+ readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
1929
+ readonly rounding: io.flow.common.v0.models.Rounding;
1930
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1931
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1892
1932
  }
1893
- interface InventoryRuleForm {
1894
- readonly position: number;
1895
- readonly query: string;
1896
- readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
1933
+ interface RatecardLaneForm {
1934
+ readonly ratecard_id: string;
1935
+ readonly currency: string;
1936
+ readonly destination: io.flow.common.v0.models.Zone;
1937
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1938
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1939
+ readonly dim_factor: number;
1940
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
1941
+ readonly origin: io.flow.common.v0.models.Zone;
1942
+ readonly rounding: io.flow.common.v0.models.Rounding;
1943
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
1944
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1945
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1897
1946
  }
1898
- interface InventoryRuleVersion {
1947
+ interface RatecardLaneImportForm {
1948
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
1949
+ readonly service: string;
1950
+ readonly currency: string;
1951
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1952
+ readonly origin: io.flow.common.v0.models.Zone;
1953
+ readonly destination: io.flow.common.v0.models.Zone;
1954
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
1955
+ readonly dim_factor: number;
1956
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1957
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
1958
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
1959
+ }
1960
+ interface RatecardLaneVersion {
1899
1961
  readonly id: string;
1900
1962
  readonly timestamp: string;
1901
1963
  readonly type: io.flow.common.v0.enums.ChangeType;
1902
- readonly inventory_rule: io.flow.inventory.v0.models.InventoryRule;
1964
+ readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
1903
1965
  }
1904
- interface InventorySnapshot {
1966
+ interface RatecardLanesImportRequestData {
1905
1967
  readonly id: string;
1906
- readonly available: number;
1907
- readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
1908
- readonly item: io.flow.inventory.v0.models.InventoryItemReference;
1909
- readonly quantity: number;
1968
+ readonly source_url: string;
1969
+ readonly filename?: string;
1910
1970
  }
1911
- interface InventorySnapshotVersion {
1971
+ interface RatecardRate {
1912
1972
  readonly id: string;
1913
- readonly timestamp: string;
1914
- readonly type: io.flow.common.v0.enums.ChangeType;
1915
- readonly inventory_snapshot: io.flow.inventory.v0.models.InventorySnapshot;
1973
+ readonly amount: number;
1974
+ readonly weight: number;
1916
1975
  }
1917
- interface InventoryStock {
1918
- readonly discriminator: 'inventory_stock';
1919
- readonly quantity: number;
1976
+ interface RatecardRateForm {
1977
+ readonly amount: number;
1978
+ readonly weight: number;
1920
1979
  }
1921
- interface InventoryUnlimited {
1922
- readonly discriminator: 'inventory_unlimited';
1923
- readonly quantity: string;
1980
+ interface RatecardRateVersion {
1981
+ readonly id: string;
1982
+ readonly timestamp: string;
1983
+ readonly type: io.flow.common.v0.enums.ChangeType;
1984
+ readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
1924
1985
  }
1925
- interface InventoryUpdate {
1986
+ interface RatecardReference {
1926
1987
  readonly id: string;
1927
- readonly idempotency_key: string;
1928
- readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
1929
- readonly item: io.flow.inventory.v0.models.InventoryItemReference;
1930
- readonly notes: any;
1931
- readonly quantity: number;
1932
- readonly type: io.flow.inventory.v0.enums.UpdateType;
1933
1988
  }
1934
- interface InventoryUpdateForm {
1935
- readonly center: string;
1936
- readonly idempotency_key: string;
1937
- readonly item_number: string;
1938
- readonly quantity: number;
1939
- readonly type: io.flow.inventory.v0.enums.UpdateType;
1940
- readonly notes?: any;
1989
+ interface RatecardServiceSummary {
1990
+ readonly id: string;
1991
+ readonly name: string;
1992
+ readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
1941
1993
  }
1942
- interface InventoryUpdateVersion {
1994
+ interface RatecardVersion {
1943
1995
  readonly id: string;
1944
1996
  readonly timestamp: string;
1945
1997
  readonly type: io.flow.common.v0.enums.ChangeType;
1946
- readonly inventory_update: io.flow.inventory.v0.models.InventoryUpdate;
1947
- }
1948
- interface NoInventoryReservationError {
1949
- readonly code: 'no_inventory';
1950
- readonly messages: string[];
1951
- readonly items: io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
1998
+ readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
1952
1999
  }
1953
- interface NoInventoryReservationErrorItem {
1954
- readonly number: string;
1955
- readonly requested_quantity: number;
1956
- readonly available_quantity: number;
2000
+ interface RemoteAreaRatecardFee {
2001
+ readonly discriminator: 'remote_area_ratecard_fee';
2002
+ readonly amount: io.flow.common.v0.models.Money;
1957
2003
  }
1958
- interface PfsInventoryCheckResponse {
1959
- readonly items: Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
2004
+ interface RemoteAreaServiceFee {
2005
+ readonly discriminator: 'remote_area_service_fee';
2006
+ readonly amount: io.flow.common.v0.models.Money;
1960
2007
  }
1961
- interface PfsInventoryCheckResponseItem {
1962
- readonly number: string;
1963
- readonly ats: number;
1964
- readonly in_stock: boolean;
2008
+ interface ReturnPackageRatecardFee {
2009
+ readonly discriminator: 'return_package_ratecard_fee';
2010
+ readonly amount: number;
1965
2011
  }
1966
- interface PfsInventoryStatus {
1967
- readonly status: string;
2012
+ interface ShipmentWindow {
2013
+ readonly from: number;
2014
+ readonly to: number;
1968
2015
  }
1969
- interface Reservation {
2016
+ }
2017
+ declare namespace io.flow.ratecard.v0.unions {
2018
+ type RatecardEstimate = io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2;
2019
+ type RatecardEstimateForm = io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
2020
+ type RatecardFee = io.flow.ratecard.v0.models.DdpRatecardFee | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee | io.flow.ratecard.v0.models.ReturnPackageRatecardFee | io.flow.ratecard.v0.models.CrossdockRatecardFee | io.flow.ratecard.v0.models.RemoteAreaRatecardFee;
2021
+ type ServiceFee = io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee;
2022
+ }
2023
+ declare namespace io.flow.session.context.v0.models {
2024
+ interface Context {
1970
2025
  readonly id: string;
1971
- readonly key: string;
1972
- readonly order?: io.flow.inventory.v0.models.ReservationOrderReference;
1973
- readonly items: io.flow.inventory.v0.models.ReservationItem[];
1974
- readonly reserved_until?: string;
1975
- }
1976
- interface ReservationForm {
1977
- readonly order_number?: string;
1978
- readonly items: io.flow.inventory.v0.models.ReservationItemForm[];
1979
- }
1980
- interface ReservationItem {
1981
- readonly item: io.flow.inventory.v0.models.ReservationItemReference;
1982
- readonly quantity: number;
1983
- }
1984
- interface ReservationItemForm {
1985
- readonly item_number: string;
1986
- readonly quantity: number;
1987
- }
1988
- interface ReservationItemReference {
1989
- readonly number: string;
2026
+ readonly experiments: io.flow.session.context.v0.models.Experiment[];
1990
2027
  }
1991
- interface ReservationOrderReference {
1992
- readonly number: string;
2028
+ interface ContextForm {
2029
+ readonly experiments: io.flow.session.context.v0.models.Experiment[];
1993
2030
  }
1994
- interface Serial {
2031
+ interface ContextReference {
1995
2032
  readonly id: string;
1996
- readonly number: string;
1997
- readonly item_number: string;
1998
- readonly item_price: io.flow.common.v0.models.Price;
1999
- readonly status: io.flow.inventory.v0.enums.SerialStatus;
2000
- readonly center: io.flow.fulfillment.v0.models.CenterReference;
2001
- readonly attributes: Record<string, string>;
2002
2033
  }
2003
- interface SerialForm {
2004
- readonly number: string;
2005
- readonly item_number: string;
2006
- readonly item_price: number;
2007
- readonly item_currency: string;
2008
- readonly status: io.flow.inventory.v0.enums.SerialStatus;
2009
- readonly center_key?: string;
2010
- readonly attributes?: Record<string, string>;
2034
+ interface Experiment {
2035
+ readonly key: string;
2036
+ readonly variant?: io.flow.session.context.v0.models.ExperimentVariant;
2011
2037
  }
2012
- interface SerialVersion {
2013
- readonly id: string;
2014
- readonly timestamp: string;
2015
- readonly type: io.flow.common.v0.enums.ChangeType;
2016
- readonly serial: io.flow.inventory.v0.models.Serial;
2038
+ interface ExperimentVariant {
2039
+ readonly key: string;
2017
2040
  }
2018
2041
  }
2019
- declare namespace io.flow.inventory.v0.unions {
2020
- type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited;
2021
- type ReservationError = io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError;
2022
- }
2023
2042
  declare namespace io.flow.optin.internal.v0.enums {
2024
2043
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
2025
2044
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
@@ -10052,11 +10071,12 @@ declare namespace io.flow.internal.v0.enums {
10052
10071
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
10053
10072
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
10054
10073
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
10074
+ type EmptyAttribute = 'irrelevant';
10055
10075
  type EventType = 'adyen_authorization_deleted' | 'adyen_authorization_upserted' | 'adyen_cancel_deleted' | 'adyen_cancel_upserted' | 'adyen_capture_deleted' | 'adyen_capture_upserted' | 'adyen_refund_deleted' | 'adyen_refund_upserted' | 'billing_statement_upserted' | 'billing_statement_deleted' | 'tax_remittance_transaction_upserted' | 'tax_remittance_transaction_deleted' | 'account_transactions_export_request' | 'account_orders_export_request' | 'master_transaction_upserted' | 'master_transaction_deleted' | 'transfer_transaction_upserted' | 'transfer_transaction_deleted' | 'processing_transaction_upserted' | 'processing_transaction_deleted' | 'bank_payment_upserted' | 'bank_payment_deleted' | 'carrier_account_upserted' | 'catalog_import_request' | 'catalog_item_region_availabilities_published' | 'checkout_configuration_upserted' | 'checkout_configuration_deleted' | 'localized_content_upserted' | 'localization_upserted' | 'rate_deleted' | 'rate_upserted' | 'spot_rate_deleted' | 'spot_rate_upserted' | 'organization_currency_settings_upserted' | 'organization_currency_settings_deleted' | 'rate_deleted_v2' | 'rate_upserted_v2' | 'customs_description_import' | 'customs_description_tariffs_import' | 'item_dimension_estimate_upserted_v2' | 'item_dimension_estimate_deleted_v2' | 'duty_rate_request' | 'duty_rate_bulk_request' | 'duty_raw_upserted' | 'duty_raw_bulk_upserted' | 'duty_rate_upserted' | 'duty_rate_response' | 'duty_rate_bulk_response' | 'item_sales_margin_deleted' | 'item_sales_margin_upserted' | 'order_attribute_deleted' | 'order_attribute_upserted' | 'experience_export_request' | 'experience_import_request' | 'submitted_order_upserted' | 'experiment_upserted' | 'experiment_deleted' | 'experiment_results_upserted' | 'experiment_results_deleted' | 'export_completed' | 'export_failed' | 'feature_upserted' | 'feature_deleted' | 'organization_boolean_value_upserted' | 'organization_boolean_value_deleted' | 'fraud_review_upserted' | 'fraud_review_deleted' | 'fraud_pending_review_upserted' | 'fraud_pending_review_deleted' | 'fraud_review_decision_upserted' | 'fraud_review_decision_deleted' | 'ftp_file_upserted' | 'ftp_file_deleted' | 'ftp_file_to_process_uploaded' | 'pregenerated_quote_upserted' | 'pregenerated_quote_deleted' | 'pregenerated_request_event' | 'blacklisted_item_created' | 'blacklisted_item_updated' | 'blacklisted_item_deleted' | 'all_items_export' | 'harmonized_items_hs6_export' | 'unharmonized_items_export' | 'dutied_items_export' | 'landed_cost_export' | 'harmonization_phrase_suggestion_request_import' | 'harmonization_codes_import' | 'customs_description_sugestion_created' | 'item_classification_created' | 'harmonize_fully_with_rate' | 'item_harmonized' | 'harmonize_fully_request' | 'import_completed' | 'import_failed' | 'issuer_upserted' | 'issuer_deleted' | 'item_form_import_request' | 'localized_item_upserted_v2' | 'localized_item_deleted' | 'localized_item_deleted_v2' | 'localized_item_snapshot' | 'localized_item_prices_export_request' | 'optin_prompt_upserted' | 'optin_prompt_deleted' | 'order_fulfillment_deleted' | 'order_fulfillment_upserted' | 'order_placed' | 'ready_to_fulfill' | 'fulfillment_cancel' | 'order_shipped' | 'items_shipped' | 'internal_authorization_upserted' | 'internal_authorization_deleted' | 'afterpay_authorization_upserted' | 'afterpay_authorization_deleted' | 'afterpay_capture_upserted' | 'afterpay_capture_deleted' | 'afterpay_refund_upserted' | 'afterpay_refund_deleted' | 'adyen_merchant_account_upserted' | 'adyen_merchant_account_deleted' | 'chargeback_upserted' | 'chargeback_deleted' | 'paypal_payment_deleted' | 'paypal_payment_upserted' | 'paypal_execution_deleted' | 'paypal_execution_upserted' | 'paypal_refund_deleted' | 'paypal_refund_upserted' | 'order_rates_published_v3' | 'ratecard_lanes_import_request' | 'ratecard_standard_configuration_upserted' | 'ratecard_standard_configuration_deleted' | 'ratecard_lane_aggregate_upserted' | 'ratecard_lane_aggregate_deleted' | 'batch_rate_refill_request' | 'rate_refill_request' | 'resync_by_hs6_destinations' | 'resync_by_destinations' | 'shopify_shop_upserted' | 'shopify_shop_deleted' | 'shopify_experience_short_id_upserted' | 'shopify_experience_short_id_deleted' | 'stripe_authorization_deleted' | 'stripe_authorization_upserted' | 'stripe_reversal_deleted' | 'stripe_reversal_upserted' | 'stripe_capture_deleted' | 'stripe_capture_upserted' | 'stripe_refund_deleted' | 'stripe_refund_upserted' | 'svb_virtual_card_clearing_upserted' | 'svb_virtual_card_clearing_deleted' | 'tracking_label_event_upserted_v2' | 'tracking_label_event_deleted_v2' | 'tracking_label_upserted' | 'tracking_label_deleted' | 'tracking_upserted' | 'tracking_deleted' | 'tracking_request_upserted' | 'tracking_response_upserted' | 'user_upserted_v2' | 'user_deleted_v2';
10056
10076
  type ExperienceImportType = 'experience_with_settings';
10057
10077
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
10058
10078
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
10059
- type ExperimentDiscriminatorValue = 'experience' | 'feature';
10079
+ type ExperimentDiscriminatorKey = 'experience' | 'feature';
10060
10080
  type FeatureScope = 'global' | 'organization';
10061
10081
  type FeatureStatus = 'draft' | 'active' | 'archived';
10062
10082
  type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -10098,6 +10118,7 @@ declare namespace io.flow.internal.v0.enums {
10098
10118
  type PriceSelector = 'minimum' | 'maximum';
10099
10119
  type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
10100
10120
  type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
10121
+ type ProductClassificationAction = 'ACCEPT' | 'MANUAL';
10101
10122
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
10102
10123
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
10103
10124
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -10124,6 +10145,7 @@ declare namespace io.flow.internal.v0.enums {
10124
10145
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
10125
10146
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
10126
10147
  type TransferMethod = 'ach';
10148
+ type UnclassifiedProductStatus = 'ignored' | 'escalated';
10127
10149
  }
10128
10150
  declare namespace io.flow.internal.v0.models {
10129
10151
  interface Account {
@@ -10479,6 +10501,10 @@ declare namespace io.flow.internal.v0.models {
10479
10501
  readonly publicKeyHash: string;
10480
10502
  readonly transactionId: string;
10481
10503
  }
10504
+ interface AttributeLabel {
10505
+ readonly value: string;
10506
+ readonly estimated: boolean;
10507
+ }
10482
10508
  interface AuthenticationForm {
10483
10509
  readonly password: string;
10484
10510
  }
@@ -11550,9 +11576,21 @@ declare namespace io.flow.internal.v0.models {
11550
11576
  readonly variants: io.flow.internal.v0.unions.VariantForm[];
11551
11577
  }
11552
11578
  interface ExperimentFormDefault {
11553
- readonly discriminator: io.flow.internal.v0.enums.ExperimentDiscriminatorValue;
11554
- readonly values: io.flow.internal.v0.models.ExperimentVariantSummary[];
11555
- readonly variants?: io.flow.internal.v0.models.ExperimentVariantFormDefault[];
11579
+ readonly discriminator: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
11580
+ readonly variants?: io.flow.internal.v0.models.ExperimentFormDefaultVariant[];
11581
+ }
11582
+ interface ExperimentFormDefaultDiscriminator {
11583
+ readonly key: io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
11584
+ readonly values: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue[];
11585
+ }
11586
+ interface ExperimentFormDefaultDiscriminatorValue {
11587
+ readonly key: string;
11588
+ readonly name: string;
11589
+ }
11590
+ interface ExperimentFormDefaultVariant {
11591
+ readonly key: string;
11592
+ readonly name: string;
11593
+ readonly traffic_percentage?: number;
11556
11594
  }
11557
11595
  interface ExperimentResults {
11558
11596
  readonly id: string;
@@ -11590,11 +11628,6 @@ declare namespace io.flow.internal.v0.models {
11590
11628
  readonly organization_id: string;
11591
11629
  readonly experiment: io.flow.experiment.internal.v0.models.Experiment;
11592
11630
  }
11593
- interface ExperimentVariantFormDefault {
11594
- readonly key: string;
11595
- readonly name: string;
11596
- readonly traffic_percentage: number;
11597
- }
11598
11631
  interface ExperimentVariantSummary {
11599
11632
  readonly key: string;
11600
11633
  readonly name?: string;
@@ -12422,6 +12455,13 @@ declare namespace io.flow.internal.v0.models {
12422
12455
  readonly label?: io.flow.label.v0.models.ShippingLabelDocument;
12423
12456
  readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument;
12424
12457
  }
12458
+ interface LabelTaxonomy {
12459
+ readonly item_type: string;
12460
+ readonly aliases: string[];
12461
+ readonly construction: io.flow.internal.v0.unions.ClassificationLabelAttribute;
12462
+ readonly gender: io.flow.internal.v0.unions.ClassificationLabelAttribute;
12463
+ readonly material: io.flow.internal.v0.unions.ClassificationLabelAttribute;
12464
+ }
12425
12465
  interface LabeledContent {
12426
12466
  readonly label: io.flow.internal.v0.models.Label;
12427
12467
  readonly contents: io.flow.internal.v0.unions.ContentItem[];
@@ -13592,6 +13632,25 @@ declare namespace io.flow.internal.v0.models {
13592
13632
  readonly organization: string;
13593
13633
  readonly processing_transaction: io.flow.billing.internal.v0.models.ProcessingTransaction;
13594
13634
  }
13635
+ interface ProductClassification {
13636
+ readonly organization_id: string;
13637
+ readonly product_id: string;
13638
+ readonly description: string;
13639
+ readonly items: io.flow.internal.v0.models.ClassificationItem[];
13640
+ readonly images: string[];
13641
+ readonly categories: string[];
13642
+ readonly attributes: Record<string, string>;
13643
+ readonly labels: io.flow.internal.v0.models.ProductLabels;
13644
+ readonly current_customs_description?: string;
13645
+ readonly customs_description?: string;
13646
+ readonly hs6_code?: string;
13647
+ readonly hs6_description?: string;
13648
+ readonly next_id?: io.flow.internal.v0.models.ClassificationProductId;
13649
+ }
13650
+ interface ProductClassificationForm {
13651
+ readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
13652
+ readonly action: io.flow.internal.v0.enums.ProductClassificationAction;
13653
+ }
13595
13654
  interface ProductClassificationJudgementForm {
13596
13655
  readonly organization_id: string;
13597
13656
  readonly product_id: string;
@@ -13603,6 +13662,21 @@ declare namespace io.flow.internal.v0.models {
13603
13662
  readonly classified_product: io.flow.internal.v0.models.ClassifiedProduct;
13604
13663
  readonly next_product?: io.flow.internal.v0.models.ClassificationProductId;
13605
13664
  }
13665
+ interface ProductHarmonization {
13666
+ readonly product_labels: io.flow.internal.v0.models.ProductLabels;
13667
+ readonly customs_description: string;
13668
+ readonly hs6_code: string;
13669
+ readonly model_version: string;
13670
+ }
13671
+ interface ProductHarmonizationForm {
13672
+ readonly product_labels: io.flow.internal.v0.models.ProductLabels;
13673
+ }
13674
+ interface ProductLabels {
13675
+ readonly item_type: string;
13676
+ readonly gender?: io.flow.internal.v0.models.AttributeLabel;
13677
+ readonly material?: io.flow.internal.v0.models.AttributeLabel;
13678
+ readonly construction?: io.flow.internal.v0.models.AttributeLabel;
13679
+ }
13606
13680
  interface QuoteRequest {
13607
13681
  readonly id: string;
13608
13682
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -14326,6 +14400,10 @@ declare namespace io.flow.internal.v0.models {
14326
14400
  readonly created_at: string;
14327
14401
  readonly period: io.flow.common.v0.models.DatetimeRange;
14328
14402
  }
14403
+ interface SupportedLabels {
14404
+ readonly discriminator: 'supported_labels';
14405
+ readonly values: string[];
14406
+ }
14329
14407
  interface SvbVirtualCardClearing {
14330
14408
  readonly id: string;
14331
14409
  readonly virtual_card_id: string;
@@ -14574,7 +14652,7 @@ declare namespace io.flow.internal.v0.models {
14574
14652
  interface UnclassifiedProductsForm {
14575
14653
  readonly organization_id: string;
14576
14654
  readonly product_id: string;
14577
- readonly ignore?: boolean;
14655
+ readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
14578
14656
  }
14579
14657
  interface UnharmonizedItemsExport {
14580
14658
  readonly discriminator: 'unharmonized_items_export';
@@ -14652,6 +14730,10 @@ declare namespace io.flow.internal.v0.unions {
14652
14730
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
14653
14731
  type CheckoutSubmitOrderBundles = io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
14654
14732
  type CheckoutSubmitOrderForms = io.flow.internal.v0.models.CheckoutSubmitOrderForm;
14733
+ type ClassificationLabelAttribute = {
14734
+ discriminator: 'empty_attribute';
14735
+ value: io.flow.internal.v0.enums.EmptyAttribute;
14736
+ } | io.flow.internal.v0.models.SupportedLabels;
14655
14737
  type ContentItem = io.flow.internal.v0.models.Dict | io.flow.internal.v0.models.Href | io.flow.internal.v0.models.Label | io.flow.internal.v0.models.Load;
14656
14738
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
14657
14739
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
@@ -14749,6 +14831,7 @@ export declare type AllocationItemReference = io.flow.internal.v0.models.Allocat
14749
14831
  export declare type ApmContent = io.flow.internal.v0.models.ApmContent;
14750
14832
  export declare type ApplePaymentToken = io.flow.internal.v0.models.ApplePaymentToken;
14751
14833
  export declare type ApplePaymentTokenHeader = io.flow.internal.v0.models.ApplePaymentTokenHeader;
14834
+ export declare type AttributeLabel = io.flow.internal.v0.models.AttributeLabel;
14752
14835
  export declare type AuthenticationForm = io.flow.internal.v0.models.AuthenticationForm;
14753
14836
  export declare type Authorization = io.flow.internal.v0.models.Authorization;
14754
14837
  export declare type AuthorizationMetadata = io.flow.internal.v0.models.AuthorizationMetadata;
@@ -14880,6 +14963,7 @@ export declare type CipherForm = io.flow.internal.v0.models.CipherForm;
14880
14963
  export declare type CipherReference = io.flow.internal.v0.models.CipherReference;
14881
14964
  export declare type ClassicPaymentRedirectForm = io.flow.internal.v0.models.ClassicPaymentRedirectForm;
14882
14965
  export declare type ClassificationItem = io.flow.internal.v0.models.ClassificationItem;
14966
+ export declare type ClassificationLabelAttribute = io.flow.internal.v0.unions.ClassificationLabelAttribute;
14883
14967
  export declare type ClassificationProduct = io.flow.internal.v0.models.ClassificationProduct;
14884
14968
  export declare type ClassificationProductId = io.flow.internal.v0.models.ClassificationProductId;
14885
14969
  export declare type ClassificationProductSummary = io.flow.internal.v0.models.ClassificationProductSummary;
@@ -14948,6 +15032,7 @@ export declare type DutySimpleExpression = io.flow.internal.v0.models.DutySimple
14948
15032
  export declare type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType;
14949
15033
  export declare type EmailForm = io.flow.internal.v0.models.EmailForm;
14950
15034
  export declare type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm;
15035
+ export declare type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
14951
15036
  export declare type Encryption = io.flow.internal.v0.models.Encryption;
14952
15037
  export declare type Event = io.flow.internal.v0.unions.Event;
14953
15038
  export declare type EventType = io.flow.internal.v0.enums.EventType;
@@ -14965,16 +15050,18 @@ export declare type ExperienceVariant = io.flow.internal.v0.models.ExperienceVar
14965
15050
  export declare type ExperienceVariantForm = io.flow.internal.v0.models.ExperienceVariantForm;
14966
15051
  export declare type Experiment = io.flow.internal.v0.unions.Experiment;
14967
15052
  export declare type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
14968
- export declare type ExperimentDiscriminatorValue = io.flow.internal.v0.enums.ExperimentDiscriminatorValue;
15053
+ export declare type ExperimentDiscriminatorKey = io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
14969
15054
  export declare type ExperimentEngineResults = io.flow.internal.v0.models.ExperimentEngineResults;
14970
15055
  export declare type ExperimentForm = io.flow.internal.v0.models.ExperimentForm;
14971
15056
  export declare type ExperimentFormDefault = io.flow.internal.v0.models.ExperimentFormDefault;
15057
+ export declare type ExperimentFormDefaultDiscriminator = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
15058
+ export declare type ExperimentFormDefaultDiscriminatorValue = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
15059
+ export declare type ExperimentFormDefaultVariant = io.flow.internal.v0.models.ExperimentFormDefaultVariant;
14972
15060
  export declare type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
14973
15061
  export declare type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
14974
15062
  export declare type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
14975
15063
  export declare type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
14976
15064
  export declare type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
14977
- export declare type ExperimentVariantFormDefault = io.flow.internal.v0.models.ExperimentVariantFormDefault;
14978
15065
  export declare type ExperimentVariantSummary = io.flow.internal.v0.models.ExperimentVariantSummary;
14979
15066
  export declare type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
14980
15067
  export declare type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
@@ -15139,6 +15226,7 @@ export declare type KeyReference = io.flow.internal.v0.models.KeyReference;
15139
15226
  export declare type Label = io.flow.internal.v0.models.Label;
15140
15227
  export declare type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
15141
15228
  export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
15229
+ export declare type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
15142
15230
  export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
15143
15231
  export declare type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
15144
15232
  export declare type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
@@ -15360,8 +15448,14 @@ export declare type ProcessingTransactionDeleted = io.flow.internal.v0.models.Pr
15360
15448
  export declare type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
15361
15449
  export declare type ProcessingTransactionUpserted = io.flow.internal.v0.models.ProcessingTransactionUpserted;
15362
15450
  export declare type Processor = io.flow.internal.v0.enums.Processor;
15451
+ export declare type ProductClassification = io.flow.internal.v0.models.ProductClassification;
15452
+ export declare type ProductClassificationAction = io.flow.internal.v0.enums.ProductClassificationAction;
15453
+ export declare type ProductClassificationForm = io.flow.internal.v0.models.ProductClassificationForm;
15363
15454
  export declare type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
15364
15455
  export declare type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
15456
+ export declare type ProductHarmonization = io.flow.internal.v0.models.ProductHarmonization;
15457
+ export declare type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm;
15458
+ export declare type ProductLabels = io.flow.internal.v0.models.ProductLabels;
15365
15459
  export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
15366
15460
  export declare type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
15367
15461
  export declare type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
@@ -15509,6 +15603,7 @@ export declare type Subscription = io.flow.internal.v0.models.Subscription;
15509
15603
  export declare type SubscriptionFrequency = io.flow.internal.v0.enums.SubscriptionFrequency;
15510
15604
  export declare type SubscriptionTransaction = io.flow.internal.v0.models.SubscriptionTransaction;
15511
15605
  export declare type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction;
15606
+ export declare type SupportedLabels = io.flow.internal.v0.models.SupportedLabels;
15512
15607
  export declare type SvbVirtualCardClearing = io.flow.internal.v0.models.SvbVirtualCardClearing;
15513
15608
  export declare type SvbVirtualCardClearingDeleted = io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
15514
15609
  export declare type SvbVirtualCardClearingUpserted = io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;
@@ -15553,6 +15648,7 @@ export declare type TransferTransaction = io.flow.internal.v0.models.TransferTra
15553
15648
  export declare type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted;
15554
15649
  export declare type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
15555
15650
  export declare type Tribe = io.flow.internal.v0.models.Tribe;
15651
+ export declare type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
15556
15652
  export declare type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
15557
15653
  export declare type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
15558
15654
  export declare type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;