@flowio/types 8.0.4 → 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';
@@ -1289,32 +1043,6 @@ declare namespace io.flow.RESERVED_WORD_return.v0.models {
1289
1043
  readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
1290
1044
  }
1291
1045
  }
1292
- declare namespace io.flow.order.price.v0.enums {
1293
- type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge';
1294
- type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
1295
- }
1296
- declare namespace io.flow.order.price.v0.models {
1297
- interface OrderPriceDetail {
1298
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
1299
- readonly currency: string;
1300
- readonly amount: number;
1301
- readonly label: string;
1302
- readonly base: io.flow.common.v0.models.Price;
1303
- readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
1304
- readonly name?: string;
1305
- readonly rate?: number;
1306
- readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
1307
- readonly rate_label?: string;
1308
- }
1309
- interface OrderPriceDetailComponent {
1310
- readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
1311
- readonly currency: string;
1312
- readonly amount: number;
1313
- readonly label: string;
1314
- readonly base: io.flow.common.v0.models.Price;
1315
- readonly name?: string;
1316
- }
1317
- }
1318
1046
  declare namespace io.flow.field.validation.v0.models {
1319
1047
  interface FieldValidationMax {
1320
1048
  readonly discriminator: 'max';
@@ -2046,193 +1774,1294 @@ declare namespace io.flow.inventory.v0.unions {
2046
1774
  type InventoryStrategy = io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited;
2047
1775
  type ReservationError = io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError;
2048
1776
  }
2049
- declare namespace io.flow.optin.internal.v0.enums {
2050
- type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
2051
- type PromptCheckoutDisplayPosition = 'email' | 'submission';
2052
- type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
2053
- type PromptTarget = 'browse' | 'checkout';
2054
- }
2055
- declare namespace io.flow.optin.internal.v0.models {
2056
- interface ConsumerOptinActivity {
2057
- readonly optin_attribute_key: string;
2058
- readonly optin_region: string;
2059
- readonly consent_granted: boolean;
2060
- readonly last_seen_at?: string;
2061
- readonly last_acted_at?: string;
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;
2062
1781
  }
2063
- interface OptinAttribute {
2064
- readonly name: string;
2065
- readonly optin_attribute_key: string;
2066
- readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
2067
- readonly status: io.flow.content.internal.v0.enums.ContentStatus;
2068
- readonly created_at: string;
2069
- readonly updated_at: string;
1782
+ interface DdpRatecardFee {
1783
+ readonly discriminator: 'ddp_ratecard_fee';
1784
+ readonly amount: number;
2070
1785
  }
2071
- interface OptinAttributeForm {
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;
2072
1850
  readonly name: string;
2073
- readonly optin_attribute_key: string;
2074
- readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
2075
- readonly status: io.flow.content.internal.v0.enums.ContentStatus;
2076
1851
  }
2077
- interface OptinPrompt {
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[];
1899
+ }
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;
1908
+ }
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;
1916
+ }
1917
+ interface RatecardLane {
2078
1918
  readonly id: string;
2079
- readonly optin_attribute: io.flow.optin.internal.v0.models.OptinAttribute;
2080
- readonly region: string;
2081
- readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
2082
- readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
2083
- readonly position: number;
2084
- readonly enforce_on: string;
2085
- readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
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;
2086
1932
  }
2087
- interface OptinPromptCheckoutDisplay {
2088
- readonly discriminator: 'optin_prompt_checkout_display';
2089
- readonly display_position: io.flow.optin.internal.v0.enums.PromptCheckoutDisplayPosition;
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;
2090
1946
  }
2091
- interface OptinPromptCopy {
2092
- readonly from: string;
2093
- readonly to: string;
2094
- readonly number_prompts: number;
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 {
1961
+ readonly id: string;
1962
+ readonly timestamp: string;
1963
+ readonly type: io.flow.common.v0.enums.ChangeType;
1964
+ readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
1965
+ }
1966
+ interface RatecardLanesImportRequestData {
1967
+ readonly id: string;
1968
+ readonly source_url: string;
1969
+ readonly filename?: string;
1970
+ }
1971
+ interface RatecardRate {
1972
+ readonly id: string;
1973
+ readonly amount: number;
1974
+ readonly weight: number;
1975
+ }
1976
+ interface RatecardRateForm {
1977
+ readonly amount: number;
1978
+ readonly weight: number;
1979
+ }
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;
1985
+ }
1986
+ interface RatecardReference {
1987
+ readonly id: string;
1988
+ }
1989
+ interface RatecardServiceSummary {
1990
+ readonly id: string;
1991
+ readonly name: string;
1992
+ readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
1993
+ }
1994
+ interface RatecardVersion {
1995
+ readonly id: string;
1996
+ readonly timestamp: string;
1997
+ readonly type: io.flow.common.v0.enums.ChangeType;
1998
+ readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
1999
+ }
2000
+ interface RemoteAreaRatecardFee {
2001
+ readonly discriminator: 'remote_area_ratecard_fee';
2002
+ readonly amount: io.flow.common.v0.models.Money;
2003
+ }
2004
+ interface RemoteAreaServiceFee {
2005
+ readonly discriminator: 'remote_area_service_fee';
2006
+ readonly amount: io.flow.common.v0.models.Money;
2007
+ }
2008
+ interface ReturnPackageRatecardFee {
2009
+ readonly discriminator: 'return_package_ratecard_fee';
2010
+ readonly amount: number;
2011
+ }
2012
+ interface ShipmentWindow {
2013
+ readonly from: number;
2014
+ readonly to: number;
2015
+ }
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 {
2025
+ readonly id: string;
2026
+ readonly experiments: io.flow.session.context.v0.models.Experiment[];
2027
+ }
2028
+ interface ContextForm {
2029
+ readonly experiments: io.flow.session.context.v0.models.Experiment[];
2030
+ }
2031
+ interface ContextReference {
2032
+ readonly id: string;
2033
+ }
2034
+ interface Experiment {
2035
+ readonly key: string;
2036
+ readonly variant?: io.flow.session.context.v0.models.ExperimentVariant;
2037
+ }
2038
+ interface ExperimentVariant {
2039
+ readonly key: string;
2040
+ }
2041
+ }
2042
+ declare namespace io.flow.optin.internal.v0.enums {
2043
+ type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
2044
+ type PromptCheckoutDisplayPosition = 'email' | 'submission';
2045
+ type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
2046
+ type PromptTarget = 'browse' | 'checkout';
2047
+ }
2048
+ declare namespace io.flow.optin.internal.v0.models {
2049
+ interface ConsumerOptinActivity {
2050
+ readonly optin_attribute_key: string;
2051
+ readonly optin_region: string;
2052
+ readonly consent_granted: boolean;
2053
+ readonly last_seen_at?: string;
2054
+ readonly last_acted_at?: string;
2055
+ }
2056
+ interface OptinAttribute {
2057
+ readonly name: string;
2058
+ readonly optin_attribute_key: string;
2059
+ readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
2060
+ readonly status: io.flow.content.internal.v0.enums.ContentStatus;
2061
+ readonly created_at: string;
2062
+ readonly updated_at: string;
2063
+ }
2064
+ interface OptinAttributeForm {
2065
+ readonly name: string;
2066
+ readonly optin_attribute_key: string;
2067
+ readonly target: io.flow.optin.internal.v0.enums.PromptTarget;
2068
+ readonly status: io.flow.content.internal.v0.enums.ContentStatus;
2069
+ }
2070
+ interface OptinPrompt {
2071
+ readonly id: string;
2072
+ readonly optin_attribute: io.flow.optin.internal.v0.models.OptinAttribute;
2073
+ readonly region: string;
2074
+ readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
2075
+ readonly content: io.flow.content.internal.v0.unions.LocalizableContent;
2076
+ readonly position: number;
2077
+ readonly enforce_on: string;
2078
+ readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
2079
+ }
2080
+ interface OptinPromptCheckoutDisplay {
2081
+ readonly discriminator: 'optin_prompt_checkout_display';
2082
+ readonly display_position: io.flow.optin.internal.v0.enums.PromptCheckoutDisplayPosition;
2083
+ }
2084
+ interface OptinPromptCopy {
2085
+ readonly from: string;
2086
+ readonly to: string;
2087
+ readonly number_prompts: number;
2088
+ }
2089
+ interface OptinPromptCopyForm {
2090
+ readonly from: string;
2091
+ readonly to: string;
2092
+ }
2093
+ interface OptinPromptForm {
2094
+ readonly optin_attribute_key: string;
2095
+ readonly region: string;
2096
+ readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
2097
+ readonly content: io.flow.content.internal.v0.models.LocalizationForm;
2098
+ readonly position: number;
2099
+ readonly enforce_on?: string;
2100
+ readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
2101
+ }
2102
+ }
2103
+ declare namespace io.flow.optin.internal.v0.unions {
2104
+ type OptinPromptDisplay = io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
2105
+ }
2106
+ declare namespace io.flow.brickftp.v0.enums {
2107
+ type AuthenticationMethod = 'password' | 'ldap' | 'oauth_google';
2108
+ type BehaviorType = 'lock_subfolders' | 'webhook';
2109
+ type GrantPermissionSetting = 'full' | 'read' | 'write' | 'preview' | 'read+write' | 'preview+write';
2110
+ type SslRequiredSetting = 'use_system_setting' | 'always_require' | 'never_require';
2111
+ type WebhookEventAction = 'create' | 'read' | 'update' | 'destroy' | 'move' | 'copy';
2112
+ type WebhookEventInterface = 'web' | 'ftp' | 'robot' | 'jsapi' | 'restapi' | 'sftp' | 'dav';
2113
+ type WebhookEventType = 'directory' | 'file';
2114
+ }
2115
+ declare namespace io.flow.brickftp.v0.models {
2116
+ interface Behavior {
2117
+ readonly id: number;
2118
+ readonly path: string;
2119
+ readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
2120
+ readonly value: string[];
2121
+ }
2122
+ interface BehaviorForm {
2123
+ readonly path: string;
2124
+ readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
2125
+ readonly value: string[];
2126
+ }
2127
+ interface Directory {
2128
+ readonly type: 'directory';
2129
+ readonly id: number;
2130
+ readonly path: string;
2131
+ readonly display_name: string;
2132
+ readonly mtime: string;
2133
+ readonly permissions: string;
2134
+ }
2135
+ interface Empty {
2136
+ readonly none?: string;
2137
+ }
2138
+ interface Error {
2139
+ readonly error: string;
2140
+ }
2141
+ interface File {
2142
+ readonly id: number;
2143
+ readonly path: string;
2144
+ readonly display_name: string;
2145
+ readonly size: number;
2146
+ readonly mtime: string;
2147
+ readonly permissions: string;
2148
+ readonly download_uri: string;
2149
+ }
2150
+ interface FileCopyForm {
2151
+ readonly type: 'file_copy_form';
2152
+ readonly 'copy-destination': string;
2153
+ }
2154
+ interface FileMoveForm {
2155
+ readonly type: 'file_move_form';
2156
+ readonly 'move-destination': string;
2157
+ }
2158
+ interface FileSummary {
2159
+ readonly type: 'file';
2160
+ readonly id: number;
2161
+ readonly path: string;
2162
+ readonly display_name: string;
2163
+ readonly size: number;
2164
+ readonly mtime: string;
2165
+ readonly permissions: string;
2166
+ }
2167
+ interface FileUploadComplete {
2168
+ readonly path: string;
2169
+ readonly size: number;
2170
+ readonly mtime: string;
2171
+ }
2172
+ interface FileUploadEndForm {
2173
+ readonly type: 'file_upload_end_form';
2174
+ readonly action: string;
2175
+ readonly ref: string;
2176
+ }
2177
+ interface FileUploadMetadata {
2178
+ readonly ref: string;
2179
+ readonly path: string;
2180
+ readonly action: string;
2181
+ readonly ask_about_overwrites: boolean;
2182
+ readonly http_method: string;
2183
+ readonly upload_uri: string;
2184
+ }
2185
+ interface FileUploadStartForm {
2186
+ readonly type: 'file_upload_start_form';
2187
+ readonly action: string;
2188
+ }
2189
+ interface User {
2190
+ readonly id: number;
2191
+ readonly username: string;
2192
+ readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod;
2193
+ readonly name?: string;
2194
+ readonly email?: string;
2195
+ readonly notes?: string;
2196
+ readonly user_root: string;
2197
+ readonly time_zone: string;
2198
+ readonly restapi_permission: boolean;
2199
+ readonly ftp_permission: boolean;
2200
+ readonly sftp_permission: boolean;
2201
+ readonly dav_permission: boolean;
2202
+ readonly self_managed: boolean;
2203
+ readonly require_password_change: boolean;
2204
+ readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting;
2205
+ }
2206
+ interface UserForm {
2207
+ readonly username: string;
2208
+ readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod;
2209
+ readonly password: string;
2210
+ readonly name?: string;
2211
+ readonly email?: string;
2212
+ readonly notes?: string;
2213
+ readonly user_root: string;
2214
+ readonly time_zone?: string;
2215
+ readonly grant_permission: io.flow.brickftp.v0.enums.GrantPermissionSetting;
2216
+ readonly restapi_permission: boolean;
2217
+ readonly ftp_permission: boolean;
2218
+ readonly sftp_permission: boolean;
2219
+ readonly dav_permission: boolean;
2220
+ readonly self_managed: boolean;
2221
+ readonly require_password_change: boolean;
2222
+ readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting;
2223
+ }
2224
+ }
2225
+ declare namespace io.flow.brickftp.v0.unions {
2226
+ type FileForm = io.flow.brickftp.v0.models.FileUploadStartForm | io.flow.brickftp.v0.models.FileUploadEndForm | io.flow.brickftp.v0.models.FileCopyForm | io.flow.brickftp.v0.models.FileMoveForm;
2227
+ type Node = io.flow.brickftp.v0.models.Directory | io.flow.brickftp.v0.models.FileSummary;
2228
+ }
2229
+ declare namespace io.flow.shopify.external.v0.enums {
2230
+ type CancelReason = 'customer' | 'fraud' | 'inventory' | 'declined' | 'other';
2231
+ type DiscountStatus = 'enabled' | 'disabled' | 'depleted';
2232
+ type DiscountType = 'fixed_amount' | 'percentage' | 'shipping';
2233
+ type DiscrepancyReason = 'restock' | 'damage' | 'customer' | 'other';
2234
+ type Event = 'cart' | 'checkout' | 'collection' | 'customer' | 'customer_saved_search' | 'fulfillment' | 'fulfillment_event' | 'order' | 'order_transaction' | 'product' | 'refund' | 'shop';
2235
+ type FinancialStatusType = 'pending' | 'authorized' | 'partially_paid' | 'paid' | 'partially_refunded' | 'refunded' | 'voided';
2236
+ type Format = 'json' | 'xml';
2237
+ type FulfillmentService = 'manual' | 'gift_card';
2238
+ type FulfillmentStatusType = 'fulfilled' | 'null' | 'partial';
2239
+ type InventoryBehaviour = 'bypass' | 'decrement_ignoring_policy' | 'decrement_obeying_policy';
2240
+ type InventoryManagement = 'blank' | 'shopify';
2241
+ type InventoryPolicy = 'deny' | 'continue';
2242
+ type KindType = 'authorization' | 'capture' | 'sale' | 'void' | 'refund';
2243
+ type LocalizedPrice = 'localized_item_price' | 'localized_item_vat' | 'localized_item_duty' | 'localized_total';
2244
+ type OrderStatusType = 'open' | 'closed' | 'cancelled' | 'any';
2245
+ type PriceRuleAllocationMethod = 'across' | 'each';
2246
+ type PriceRuleCustomerSelection = 'all' | 'prerequisite';
2247
+ type PriceRuleTargetSelection = 'all' | 'entitled';
2248
+ type PriceRuleTargetType = 'line_item' | 'shipping_line';
2249
+ type PriceRuleValueType = 'fixed_amount' | 'percentage';
2250
+ type PublishedScope = 'global';
2251
+ type RestockType = 'no_restock' | 'cancel' | 'return';
2252
+ type ShopifyCustomerState = 'disabled' | 'invited' | 'enabled';
2253
+ type ShopifyDiscountPaginationDirection = 'next' | 'prev';
2254
+ type ShopifyGiftCardStatus = 'any' | 'enabled' | 'disabled';
2255
+ type ShopifyProcessingMethodType = 'checkout' | 'direct' | 'manual' | 'offsite' | 'express';
2256
+ type ShopifyTransactionErrorCode = 'incorrect_number' | 'invalid_number' | 'invalid_expiry_date' | 'invalid_cvc' | 'expired_card' | 'incorrect_cvc' | 'incorrect_zip' | 'incorrect_address' | 'card_declined' | 'processing_error' | 'call_issuer' | 'pick_up_card';
2257
+ type ShopifyTransactionStatus = 'pending' | 'failure' | 'success' | 'error';
2258
+ type Topic = 'carts/create' | 'carts/update' | 'checkouts/create' | 'checkouts/delete' | 'checkouts/update' | 'collections/create' | 'collections/delete' | 'collections/update' | 'customer_groups/create' | 'customer_groups/delete' | 'customer_groups/update' | 'customers/create' | 'customers/delete' | 'customers/disable' | 'customers/enable' | 'customers/update' | 'customers/redact' | 'disputes/create' | 'disputes/update' | 'fulfillment_events/create' | 'fulfillment_events/delete' | 'fulfillments/create' | 'fulfillments/update' | 'inventory_items/create' | 'inventory_items/update' | 'inventory_items/delete' | 'inventory_levels/connect' | 'inventory_levels/update' | 'inventory_levels/disconnect' | 'locations/create' | 'locations/update' | 'locations/delete' | 'order_transactions/create' | 'orders/cancelled' | 'orders/create' | 'orders/delete' | 'orders/fulfilled' | 'orders/paid' | 'orders/partially_fulfilled' | 'orders/updated' | 'products/create' | 'products/delete' | 'products/update' | 'refunds/create' | 'shop/update' | 'shop/redact' | 'themes/create' | 'themes/delete' | 'themes/publish' | 'themes/update';
2259
+ type ValueType = 'string' | 'integer';
2260
+ type WeightUnit = 'g' | 'kg' | 'oz' | 'lb';
2261
+ }
2262
+ declare namespace io.flow.shopify.external.v0.models {
2263
+ interface Collect {
2264
+ readonly id: number;
2265
+ readonly collection_id: number;
2266
+ readonly product_id: number;
2267
+ readonly created_at?: string;
2268
+ readonly updated_at?: string;
2269
+ readonly position: number;
2270
+ readonly sort_value: string;
2271
+ }
2272
+ interface Collection {
2273
+ readonly id: number;
2274
+ readonly handle?: string;
2275
+ readonly title?: string;
2276
+ readonly published?: boolean;
2277
+ readonly published_at?: string;
2278
+ readonly updated_at?: string;
2279
+ }
2280
+ interface Count {
2281
+ readonly count: number;
2282
+ }
2283
+ interface Discount {
2284
+ readonly id: number;
2285
+ readonly discount_type: io.flow.shopify.external.v0.enums.DiscountType;
2286
+ readonly code: string;
2287
+ readonly value?: number;
2288
+ readonly status: io.flow.shopify.external.v0.enums.DiscountStatus;
2289
+ readonly usage_limit?: number;
2290
+ readonly applies_once: boolean;
2291
+ readonly applies_once_per_customer: boolean;
2292
+ readonly ends_at?: string;
2293
+ readonly starts_at?: string;
2294
+ readonly minimum_order_amount?: number;
2295
+ readonly applies_to_id?: number;
2296
+ readonly applies_to_resource?: string;
2297
+ readonly times_used: number;
2298
+ }
2299
+ interface Metafield {
2300
+ readonly id: number;
2301
+ readonly key: string;
2302
+ readonly namespace: string;
2303
+ readonly value: string;
2304
+ readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
2305
+ readonly description?: string;
2306
+ readonly owner_id: number;
2307
+ readonly owner_resource: string;
2308
+ }
2309
+ interface MetafieldForm {
2310
+ readonly key: string;
2311
+ readonly namespace: string;
2312
+ readonly value: string;
2313
+ readonly value_type: io.flow.shopify.external.v0.enums.ValueType;
2314
+ readonly description?: string;
2315
+ }
2316
+ interface Option {
2317
+ readonly id: number;
2318
+ readonly product_id: number;
2319
+ readonly name: string;
2320
+ readonly position: number;
2321
+ readonly values?: string[];
2322
+ }
2323
+ interface PriceRule {
2324
+ readonly id: number;
2325
+ readonly value_type: io.flow.shopify.external.v0.enums.PriceRuleValueType;
2326
+ readonly target_type: io.flow.shopify.external.v0.enums.PriceRuleTargetType;
2327
+ readonly value: number;
2328
+ readonly starts_at: string;
2329
+ readonly ends_at?: string;
2330
+ readonly prerequisite_subtotal_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
2331
+ readonly prerequisite_shipping_range?: io.flow.shopify.external.v0.models.PriceRuleLessThanRange;
2332
+ readonly usage_limit?: number;
2333
+ readonly entitled_product_ids: number[];
2334
+ readonly entitled_variant_ids: number[];
2335
+ readonly entitled_collection_ids: number[];
2336
+ readonly entitled_country_ids: number[];
2337
+ readonly allocation_method: io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod;
2338
+ readonly once_per_customer: boolean;
2339
+ readonly target_selection: io.flow.shopify.external.v0.enums.PriceRuleTargetSelection;
2340
+ readonly customer_selection: io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection;
2341
+ readonly prerequisite_saved_search_ids: number[];
2342
+ readonly prerequisite_customer_ids?: number[];
2343
+ readonly prerequisite_quantity_range?: io.flow.shopify.external.v0.models.PriceRuleGreaterThanRange;
2344
+ readonly prerequisite_product_ids?: number[];
2345
+ readonly prerequisite_variant_ids?: number[];
2346
+ readonly prerequisite_collection_ids?: number[];
2347
+ readonly prerequisite_to_entitlement_quantity_ratio?: io.flow.shopify.external.v0.models.PriceRulePrerequisiteToEntitlementQuantityRatio;
2348
+ readonly allocation_limit?: number;
2349
+ readonly title?: string;
2350
+ readonly created_at?: string;
2351
+ readonly updated_at?: string;
2352
+ }
2353
+ interface PriceRuleDiscountCode {
2354
+ readonly id: number;
2355
+ readonly price_rule_id: number;
2356
+ readonly code: string;
2357
+ readonly usage_count: number;
2358
+ readonly created_at: string;
2359
+ readonly updated_at: string;
2360
+ }
2361
+ interface PriceRuleForm {
2362
+ readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
2363
+ }
2364
+ interface PriceRuleGreaterThanRange {
2365
+ readonly greater_than?: number;
2366
+ readonly greater_than_or_equal_to?: number;
2367
+ }
2368
+ interface PriceRuleLessThanRange {
2369
+ readonly less_than?: number;
2370
+ readonly less_than_or_equal_to?: number;
2371
+ }
2372
+ interface PriceRulePrerequisiteToEntitlementQuantityRatio {
2373
+ readonly prerequisite_quantity?: number;
2374
+ readonly entitled_quantity?: number;
2375
+ }
2376
+ interface Product {
2377
+ readonly id: number;
2378
+ readonly handle: string;
2379
+ readonly variants: io.flow.shopify.external.v0.models.ProductVariant[];
2380
+ readonly images: io.flow.shopify.external.v0.models.ProductImage[];
2381
+ readonly title: string;
2382
+ readonly vendor?: string;
2383
+ readonly body_html?: string;
2384
+ readonly product_type?: string;
2385
+ readonly options: io.flow.shopify.external.v0.models.Option[];
2386
+ readonly tags?: string;
2387
+ readonly template_suffix?: string;
2388
+ readonly published_scope: io.flow.shopify.external.v0.enums.PublishedScope;
2389
+ readonly published_at?: string;
2390
+ readonly created_at: string;
2391
+ readonly updated_at: string;
2392
+ }
2393
+ interface ProductDelete {
2394
+ readonly id: number;
2395
+ }
2396
+ interface ProductImage {
2397
+ readonly id: number;
2398
+ readonly product_id: number;
2399
+ readonly variant_ids: number[];
2400
+ readonly src: string;
2401
+ readonly position: number;
2402
+ readonly created_at: string;
2403
+ readonly updated_at: string;
2404
+ readonly alt?: string;
2405
+ }
2406
+ interface ProductVariant {
2407
+ readonly id: number;
2408
+ readonly sku?: string;
2409
+ readonly product_id: number;
2410
+ readonly price: number;
2411
+ readonly title: string;
2412
+ readonly taxable: boolean;
2413
+ readonly compare_at_price?: number;
2414
+ readonly grams?: number;
2415
+ readonly image_id?: number;
2416
+ readonly barcode?: string;
2417
+ readonly fulfillment_service?: io.flow.shopify.external.v0.enums.FulfillmentService;
2418
+ readonly inventory_management?: io.flow.shopify.external.v0.enums.InventoryManagement;
2419
+ readonly inventory_policy: io.flow.shopify.external.v0.enums.InventoryPolicy;
2420
+ readonly weight?: number;
2421
+ readonly weight_unit?: io.flow.shopify.external.v0.enums.WeightUnit;
2422
+ readonly inventory_item_id?: number;
2423
+ readonly inventory_quantity?: number;
2424
+ readonly metafield?: io.flow.shopify.external.v0.models.MetafieldForm[];
2425
+ readonly option1?: string;
2426
+ readonly option2?: string;
2427
+ readonly option3?: string;
2428
+ readonly requires_shipping: boolean;
2429
+ readonly metafields?: io.flow.shopify.external.v0.models.Metafield[];
2430
+ }
2431
+ interface RequestMetafieldForm {
2432
+ readonly metafield: io.flow.shopify.external.v0.models.MetafieldForm;
2433
+ }
2434
+ interface RequestShopifyGiftCard {
2435
+ readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCardForm;
2436
+ }
2437
+ interface RequestShopifyRefundForm {
2438
+ readonly refund: io.flow.shopify.external.v0.models.ShopifyRefundForm;
2439
+ }
2440
+ interface RequestShopifyTransactionForm {
2441
+ readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransactionForm;
2442
+ }
2443
+ interface ResponseCollect {
2444
+ readonly collect: io.flow.shopify.external.v0.models.Collect;
2445
+ }
2446
+ interface ResponseCollects {
2447
+ readonly collects: io.flow.shopify.external.v0.models.Collect[];
2448
+ }
2449
+ interface ResponseDiscount {
2450
+ readonly discount: io.flow.shopify.external.v0.models.Discount;
2451
+ }
2452
+ interface ResponseDiscounts {
2453
+ readonly discounts: io.flow.shopify.external.v0.models.Discount[];
2454
+ }
2455
+ interface ResponseMetafield {
2456
+ readonly metafield: io.flow.shopify.external.v0.models.Metafield;
2457
+ }
2458
+ interface ResponseMetafields {
2459
+ readonly metafields: io.flow.shopify.external.v0.models.Metafield[];
2460
+ }
2461
+ interface ResponseOrdersWrapper {
2462
+ readonly orders: io.flow.shopify.external.v0.models.ShopifyOrder[];
2463
+ }
2464
+ interface ResponsePriceRule {
2465
+ readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
2466
+ }
2467
+ interface ResponsePriceRuleDiscountCode {
2468
+ readonly discount_code: io.flow.shopify.external.v0.models.PriceRuleDiscountCode;
2469
+ }
2470
+ interface ResponsePriceRuleDiscountCodes {
2471
+ readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
2472
+ }
2473
+ interface ResponsePriceRules {
2474
+ readonly price_rules: io.flow.shopify.external.v0.models.PriceRule[];
2475
+ }
2476
+ interface ResponseProduct {
2477
+ readonly product: io.flow.shopify.external.v0.models.Product;
2478
+ }
2479
+ interface ResponseProducts {
2480
+ readonly products: io.flow.shopify.external.v0.models.Product[];
2481
+ }
2482
+ interface ResponseShopifyGiftCard {
2483
+ readonly gift_card: io.flow.shopify.external.v0.models.ShopifyGiftCard;
2484
+ }
2485
+ interface ResponseShopifyGiftCards {
2486
+ readonly gift_cards: io.flow.shopify.external.v0.models.ShopifyGiftCard[];
2487
+ }
2488
+ interface ResponseShopifyRefundSingle {
2489
+ readonly refund: io.flow.shopify.external.v0.models.ShopifyRefund;
2490
+ }
2491
+ interface ResponseShopifyTransaction {
2492
+ readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransaction[];
2493
+ }
2494
+ interface ResponseShopifyTransactionSingle {
2495
+ readonly transaction: io.flow.shopify.external.v0.models.ShopifyTransaction;
2496
+ }
2497
+ interface ResponseVariant {
2498
+ readonly variant: io.flow.shopify.external.v0.models.ProductVariant;
2499
+ }
2500
+ interface Shop {
2501
+ readonly id: number;
2502
+ readonly domain: string;
2503
+ readonly myshopify_domain: string;
2504
+ readonly name: string;
2505
+ readonly primary_locale: string;
2506
+ readonly currency: string;
2507
+ readonly country_code: string;
2508
+ }
2509
+ interface ShopResponse {
2510
+ readonly shop: io.flow.shopify.external.v0.models.Shop;
2511
+ }
2512
+ interface ShopifyAddress {
2513
+ readonly id?: number;
2514
+ readonly address1?: string;
2515
+ readonly address2?: string;
2516
+ readonly city?: string;
2517
+ readonly company?: string;
2518
+ readonly country?: string;
2519
+ readonly country_code?: string;
2520
+ readonly default?: boolean;
2521
+ readonly first_name?: string;
2522
+ readonly last_name?: string;
2523
+ readonly latitude?: number;
2524
+ readonly longitude?: number;
2525
+ readonly name?: string;
2526
+ readonly phone?: string;
2527
+ readonly province?: string;
2528
+ readonly province_code?: string;
2529
+ readonly zip?: string;
2530
+ }
2531
+ interface ShopifyAttribute {
2532
+ readonly name: string;
2533
+ readonly value: string;
2534
+ }
2535
+ interface ShopifyCart {
2536
+ readonly token: string;
2537
+ readonly note?: string;
2538
+ readonly attributes?: any;
2539
+ readonly items_subtotal_price?: number;
2540
+ readonly total_price: number;
2541
+ readonly total_weight: number;
2542
+ readonly total_discount: number;
2543
+ readonly original_total_price: number;
2544
+ readonly item_count: number;
2545
+ readonly requires_shipping: boolean;
2546
+ readonly currency?: string;
2547
+ readonly items: io.flow.shopify.external.v0.models.ShopifyCartItem[];
2548
+ readonly cart_level_discount_applications?: io.flow.shopify.external.v0.models.ShopifyDiscountApplication[];
2549
+ }
2550
+ interface ShopifyCartItem {
2551
+ readonly id: number;
2552
+ readonly title: string;
2553
+ readonly key?: string;
2554
+ readonly price: number;
2555
+ readonly line_price: number;
2556
+ readonly final_price: number;
2557
+ readonly final_line_price: number;
2558
+ readonly original_price: number;
2559
+ readonly original_line_price: number;
2560
+ readonly total_discount: number;
2561
+ readonly discounted_price: number;
2562
+ readonly discounts?: io.flow.shopify.external.v0.models.ShopifyCartItemDiscount[];
2563
+ readonly taxable: boolean;
2564
+ readonly quantity: number;
2565
+ readonly sku?: string;
2566
+ readonly grams?: number;
2567
+ readonly vendor?: string;
2568
+ readonly properties?: any;
2569
+ readonly variant_id?: number;
2570
+ readonly gift_card: boolean;
2571
+ readonly url: string;
2572
+ readonly image?: string;
2573
+ readonly handle: string;
2574
+ readonly requires_shipping: boolean;
2575
+ readonly product_id: number;
2576
+ readonly product_title: string;
2577
+ readonly product_description?: string;
2578
+ readonly product_type: string;
2579
+ readonly variant_title?: string;
2580
+ readonly variant_options?: string[];
2581
+ readonly line_level_discount_allocations?: io.flow.shopify.external.v0.models.ShopifyLineLevelDiscountAllocation[];
2582
+ }
2583
+ interface ShopifyCartItemDiscount {
2584
+ readonly amount: number;
2585
+ readonly title: string;
2586
+ }
2587
+ interface ShopifyClientDetail {
2588
+ readonly accept_language: boolean;
2589
+ readonly browser_height?: number;
2590
+ readonly browser_ip: string;
2591
+ readonly browser_width?: number;
2592
+ readonly session_hash?: string;
2593
+ readonly user_agent?: string;
2594
+ }
2595
+ interface ShopifyCustomer {
2596
+ readonly id: number;
2597
+ readonly addresses: io.flow.shopify.external.v0.models.ShopifyCustomerAddress[];
2598
+ readonly created_at: string;
2599
+ readonly tags: string;
2600
+ readonly tax_exempt: boolean;
2601
+ readonly verified_email: boolean;
2602
+ readonly state: io.flow.shopify.external.v0.enums.ShopifyCustomerState;
2603
+ readonly accepts_marketing?: boolean;
2604
+ readonly default_address?: any;
2605
+ readonly email?: string;
2606
+ readonly first_name?: string;
2607
+ readonly last_name?: string;
2608
+ readonly last_order_id?: number;
2609
+ readonly last_order_name?: string;
2610
+ readonly note?: string;
2611
+ readonly orders_count?: number;
2612
+ readonly phone?: string;
2613
+ readonly total_spent?: string;
2614
+ readonly updated_at?: string;
2615
+ }
2616
+ interface ShopifyCustomerAddress {
2617
+ readonly id: number;
2618
+ readonly customer_id: number;
2619
+ readonly default: boolean;
2620
+ readonly address1?: string;
2621
+ readonly address2?: string;
2622
+ readonly city?: string;
2623
+ readonly company?: string;
2624
+ readonly first_name?: string;
2625
+ readonly last_name?: string;
2626
+ readonly name?: string;
2627
+ readonly phone?: string;
2628
+ readonly country?: string;
2629
+ readonly country_code?: string;
2630
+ readonly country_name?: string;
2631
+ readonly province?: string;
2632
+ readonly province_code?: string;
2633
+ readonly zip?: string;
2634
+ }
2635
+ interface ShopifyCustomerDelete {
2636
+ readonly id: number;
2637
+ }
2638
+ interface ShopifyCustomersResponseWrapper {
2639
+ readonly customers: io.flow.shopify.external.v0.models.ShopifyCustomer[];
2640
+ }
2641
+ interface ShopifyDiscountApplication {
2642
+ readonly type: string;
2643
+ readonly key: string;
2644
+ readonly title: string;
2645
+ readonly description?: string;
2646
+ readonly value: string;
2647
+ readonly created_at: string;
2648
+ readonly value_type: string;
2649
+ readonly allocation_method: string;
2650
+ readonly target_selection: string;
2651
+ readonly target_type: string;
2652
+ readonly total_allocated_amount: number;
2653
+ }
2654
+ interface ShopifyDiscountCode {
2655
+ readonly amount: string;
2656
+ readonly code: string;
2657
+ readonly type: io.flow.shopify.external.v0.enums.DiscountType;
2658
+ }
2659
+ interface ShopifyError {
2660
+ readonly errors: any;
2661
+ }
2662
+ interface ShopifyFulfillment {
2663
+ readonly location_id: number;
2664
+ readonly created_at?: string;
2665
+ readonly id?: number;
2666
+ readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItem[];
2667
+ readonly order_id?: number;
2668
+ readonly receipt?: any;
2669
+ readonly status?: string;
2670
+ readonly tracking_company?: string;
2671
+ readonly tracking_number?: string;
2672
+ readonly tracking_numbers?: string[];
2673
+ readonly tracking_url?: string;
2674
+ readonly tracking_urls?: string[];
2675
+ readonly updated_at?: string;
2676
+ readonly notify_customer?: boolean;
2677
+ }
2678
+ interface ShopifyFulfillmentWrapper {
2679
+ readonly fulfillment: io.flow.shopify.external.v0.models.ShopifyFulfillment;
2680
+ }
2681
+ interface ShopifyGiftCard {
2682
+ readonly id: number;
2683
+ readonly balance: number;
2684
+ readonly currency: string;
2685
+ readonly initial_value: number;
2686
+ readonly last_characters: string;
2687
+ readonly created_at: string;
2688
+ readonly updated_at: string;
2689
+ readonly api_client_id?: number;
2690
+ readonly code?: string;
2691
+ readonly customer_id?: number;
2692
+ readonly disabled_at?: string;
2693
+ readonly expires_on?: string;
2694
+ readonly line_item_id?: number;
2695
+ readonly note?: string;
2696
+ readonly order_id?: number;
2697
+ readonly template_suffix?: string;
2698
+ readonly user_id?: number;
2699
+ }
2700
+ interface ShopifyGiftCardAdjustment {
2701
+ readonly id: number;
2702
+ readonly gift_card_id: number;
2703
+ readonly number: number;
2704
+ readonly amount: number;
2705
+ readonly created_at: string;
2706
+ readonly processed_at: string;
2707
+ readonly note?: string;
2708
+ readonly remote_transaction_ref?: string;
2709
+ readonly remote_transaction_url?: string;
2710
+ readonly api_client_id?: number;
2711
+ readonly user_id?: number;
2712
+ readonly order_transaction_id?: number;
2713
+ }
2714
+ interface ShopifyGiftCardAdjustmentForm {
2715
+ readonly amount: number;
2716
+ readonly note?: string;
2717
+ readonly order_transaction_id?: number;
2718
+ readonly processed_at?: string;
2719
+ }
2720
+ interface ShopifyGiftCardAdjustmentFormWrapper {
2721
+ readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustmentForm;
2722
+ }
2723
+ interface ShopifyGiftCardAdjustmentResponseWrapper {
2724
+ readonly adjustment: io.flow.shopify.external.v0.models.ShopifyGiftCardAdjustment;
2725
+ }
2726
+ interface ShopifyGiftCardForm {
2727
+ readonly initial_value: number;
2728
+ readonly code?: string;
2729
+ readonly note?: string;
2730
+ readonly template_suffix?: string;
2731
+ }
2732
+ interface ShopifyInventoryItem {
2733
+ readonly id: number;
2734
+ readonly tracked: boolean;
2735
+ readonly sku?: string;
2736
+ readonly cost?: string;
2737
+ readonly country_code_of_origin?: string;
2738
+ readonly created_at: string;
2739
+ readonly updated_at?: string;
2740
+ }
2741
+ interface ShopifyInventoryItemDelete {
2742
+ readonly id: number;
2743
+ }
2744
+ interface ShopifyInventoryLevel {
2745
+ readonly inventory_item_id: number;
2746
+ readonly location_id: number;
2747
+ readonly updated_at: string;
2748
+ readonly available?: number;
2749
+ }
2750
+ interface ShopifyInventoryLevelDisconnect {
2751
+ readonly inventory_item_id: number;
2752
+ readonly location_id: number;
2753
+ }
2754
+ interface ShopifyInventoryLevelResponseWrapper {
2755
+ readonly inventory_levels: io.flow.shopify.external.v0.models.ShopifyInventoryLevel[];
2756
+ }
2757
+ interface ShopifyLineItem {
2758
+ readonly id: number;
2759
+ readonly quantity: number;
2760
+ readonly fulfillable_quantity?: number;
2761
+ readonly fulfillment_service: string;
2762
+ readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
2763
+ readonly grams?: number;
2764
+ readonly price?: string;
2765
+ readonly product_id?: number;
2766
+ readonly requires_shipping: boolean;
2767
+ readonly sku?: string;
2768
+ readonly title?: string;
2769
+ readonly variant_id?: number;
2770
+ readonly variant_title?: string;
2771
+ readonly vendor?: string;
2772
+ readonly name?: string;
2773
+ readonly gift_card: boolean;
2774
+ readonly properties: Record<string, string>[];
2775
+ readonly taxable: boolean;
2776
+ readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
2777
+ readonly total_discount?: string;
2778
+ }
2779
+ interface ShopifyLineItemForm {
2780
+ readonly fulfillable_quantity?: number;
2781
+ readonly fulfillment_service: string;
2782
+ readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
2783
+ readonly grams?: number;
2784
+ readonly price?: string;
2785
+ readonly product_id?: number;
2786
+ readonly quantity?: number;
2787
+ readonly requires_shipping: boolean;
2788
+ readonly sku?: string;
2789
+ readonly title?: string;
2790
+ readonly variant_id?: number;
2791
+ readonly variant_title?: string;
2792
+ readonly vendor?: string;
2793
+ readonly name?: string;
2794
+ readonly gift_card: boolean;
2795
+ readonly properties?: io.flow.shopify.external.v0.models.ShopifyAttribute[];
2796
+ readonly taxable: boolean;
2797
+ readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
2798
+ readonly total_discount?: string;
2799
+ readonly id?: number;
2800
+ }
2801
+ interface ShopifyLineLevelDiscountAllocation {
2802
+ readonly amount: number;
2803
+ readonly discount_application: io.flow.shopify.external.v0.models.ShopifyDiscountApplication;
2804
+ }
2805
+ interface ShopifyLocation {
2806
+ readonly active: boolean;
2807
+ readonly address1?: string;
2808
+ readonly address2?: string;
2809
+ readonly city?: string;
2810
+ readonly country?: string;
2811
+ readonly country_code?: string;
2812
+ readonly created_at: string;
2813
+ readonly id: number;
2814
+ readonly legacy: boolean;
2815
+ readonly name: string;
2816
+ readonly phone?: string;
2817
+ readonly province?: string;
2818
+ readonly province_code?: string;
2819
+ readonly updated_at?: string;
2820
+ readonly zip?: string;
2821
+ }
2822
+ interface ShopifyLocationDelete {
2823
+ readonly id: number;
2824
+ }
2825
+ interface ShopifyLocationsResponseWrapper {
2826
+ readonly locations: io.flow.shopify.external.v0.models.ShopifyLocation[];
2827
+ }
2828
+ interface ShopifyOrder {
2829
+ readonly billing_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
2830
+ readonly browser_ip?: string;
2831
+ readonly buyer_accepts_marketing: boolean;
2832
+ readonly cancel_reason?: io.flow.shopify.external.v0.enums.CancelReason;
2833
+ readonly cancelled_at?: string;
2834
+ readonly cart_token?: string;
2835
+ readonly client_details?: io.flow.shopify.external.v0.models.ShopifyClientDetail;
2836
+ readonly closed_at?: string;
2837
+ readonly created_at?: string;
2838
+ readonly currency?: string;
2839
+ readonly customer?: io.flow.shopify.external.v0.models.ShopifyOrderCustomer;
2840
+ readonly discount_codes: io.flow.shopify.external.v0.models.ShopifyDiscountCode[];
2841
+ readonly email?: string;
2842
+ readonly financial_status: io.flow.shopify.external.v0.enums.FinancialStatusType;
2843
+ readonly fulfillments: io.flow.shopify.external.v0.models.ShopifyFulfillment[];
2844
+ readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
2845
+ readonly id?: number;
2846
+ readonly landing_site?: string;
2847
+ readonly line_items: io.flow.shopify.external.v0.models.ShopifyLineItemForm[];
2848
+ readonly location_id?: number;
2849
+ readonly name?: string;
2850
+ readonly note?: string;
2851
+ readonly note_attributes: io.flow.shopify.external.v0.models.ShopifyAttribute[];
2852
+ readonly number?: number;
2853
+ readonly order_number?: number;
2854
+ readonly payment_gateway_names: string[];
2855
+ readonly processed_at?: string;
2856
+ readonly processing_method?: io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType;
2857
+ readonly referring_site?: string;
2858
+ readonly refunds: io.flow.shopify.external.v0.models.ShopifyRefund[];
2859
+ readonly shipping_address?: io.flow.shopify.external.v0.models.ShopifyAddress;
2860
+ readonly shipping_lines: io.flow.shopify.external.v0.models.ShopifyShippingLine[];
2861
+ readonly source_name?: string;
2862
+ readonly subtotal_price?: string;
2863
+ readonly tags?: string;
2864
+ readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
2865
+ readonly taxes_included: boolean;
2866
+ readonly token?: string;
2867
+ readonly total_discounts?: string;
2868
+ readonly total_line_items_price?: string;
2869
+ readonly total_price?: string;
2870
+ readonly total_tax?: string;
2871
+ readonly total_weight?: number;
2872
+ readonly updated_at?: string;
2873
+ readonly user_id?: number;
2874
+ readonly order_status_url?: string;
2875
+ readonly inventory_behaviour?: io.flow.shopify.external.v0.enums.InventoryBehaviour;
2876
+ readonly gateway?: string;
2877
+ readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
2878
+ readonly send_receipt?: boolean;
2879
+ readonly metafields?: io.flow.shopify.external.v0.models.MetafieldForm[];
2880
+ }
2881
+ interface ShopifyOrderCount {
2882
+ readonly count: number;
2883
+ }
2884
+ interface ShopifyOrderCustomer {
2885
+ readonly email?: string;
2886
+ readonly first_name?: string;
2887
+ readonly last_name?: string;
2888
+ readonly phone?: string;
2095
2889
  }
2096
- interface OptinPromptCopyForm {
2097
- readonly from: string;
2098
- readonly to: string;
2890
+ interface ShopifyOrderWrapper {
2891
+ readonly order: io.flow.shopify.external.v0.models.ShopifyOrder;
2099
2892
  }
2100
- interface OptinPromptForm {
2101
- readonly optin_attribute_key: string;
2102
- readonly region: string;
2103
- readonly options: io.flow.optin.internal.v0.enums.PromptOptions[];
2104
- readonly content: io.flow.content.internal.v0.models.LocalizationForm;
2105
- readonly position: number;
2106
- readonly enforce_on?: string;
2107
- readonly display?: io.flow.optin.internal.v0.unions.OptinPromptDisplay;
2893
+ interface ShopifyPaymentDetail {
2894
+ readonly avs_result_code?: string;
2895
+ readonly credit_card_bin?: string;
2896
+ readonly credit_card_company: string;
2897
+ readonly credit_card_number: string;
2898
+ readonly cvv_result_code?: string;
2108
2899
  }
2109
- }
2110
- declare namespace io.flow.optin.internal.v0.unions {
2111
- type OptinPromptDisplay = io.flow.optin.internal.v0.models.OptinPromptCheckoutDisplay;
2112
- }
2113
- declare namespace io.flow.brickftp.v0.enums {
2114
- type AuthenticationMethod = 'password' | 'ldap' | 'oauth_google';
2115
- type BehaviorType = 'lock_subfolders' | 'webhook';
2116
- type GrantPermissionSetting = 'full' | 'read' | 'write' | 'preview' | 'read+write' | 'preview+write';
2117
- type SslRequiredSetting = 'use_system_setting' | 'always_require' | 'never_require';
2118
- type WebhookEventAction = 'create' | 'read' | 'update' | 'destroy' | 'move' | 'copy';
2119
- type WebhookEventInterface = 'web' | 'ftp' | 'robot' | 'jsapi' | 'restapi' | 'sftp' | 'dav';
2120
- type WebhookEventType = 'directory' | 'file';
2121
- }
2122
- declare namespace io.flow.brickftp.v0.models {
2123
- interface Behavior {
2900
+ interface ShopifyRefund {
2124
2901
  readonly id: number;
2125
- readonly path: string;
2126
- readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
2127
- readonly value: string[];
2902
+ readonly order_id: number;
2903
+ readonly created_at: string;
2904
+ readonly processed_at: string;
2905
+ readonly note?: string;
2906
+ readonly refund_line_items?: io.flow.shopify.external.v0.models.ShopifyRefundLineItem[];
2907
+ readonly restock?: boolean;
2908
+ readonly transactions?: io.flow.shopify.external.v0.models.ShopifyTransaction[];
2909
+ readonly user_id?: number;
2128
2910
  }
2129
- interface BehaviorForm {
2130
- readonly path: string;
2131
- readonly behavior: io.flow.brickftp.v0.enums.BehaviorType;
2132
- readonly value: string[];
2911
+ interface ShopifyRefundForm {
2912
+ readonly note?: string;
2913
+ readonly discrepancy_reason?: io.flow.shopify.external.v0.enums.DiscrepancyReason;
2914
+ readonly refund_line_items: io.flow.shopify.external.v0.models.ShopifyRefundLineItemForm[];
2915
+ readonly transactions: io.flow.shopify.external.v0.models.ShopifyTransactionForm[];
2916
+ readonly currency: string;
2133
2917
  }
2134
- interface Directory {
2135
- readonly type: 'directory';
2918
+ interface ShopifyRefundLineItem {
2136
2919
  readonly id: number;
2137
- readonly path: string;
2138
- readonly display_name: string;
2139
- readonly mtime: string;
2140
- readonly permissions: string;
2920
+ readonly line_item: io.flow.shopify.external.v0.models.ShopifyLineItem;
2921
+ readonly line_item_id: number;
2922
+ readonly quantity: number;
2923
+ readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
2924
+ readonly location_id?: number;
2925
+ readonly subtotal?: number;
2926
+ readonly total_tax?: number;
2141
2927
  }
2142
- interface Empty {
2143
- readonly none?: string;
2928
+ interface ShopifyRefundLineItemForm {
2929
+ readonly line_item_id: number;
2930
+ readonly quantity: number;
2931
+ readonly restock_type: io.flow.shopify.external.v0.enums.RestockType;
2932
+ readonly location_id?: number;
2144
2933
  }
2145
- interface Error {
2146
- readonly error: string;
2934
+ interface ShopifyShippingLine {
2935
+ readonly code: string;
2936
+ readonly price: string;
2937
+ readonly source: string;
2938
+ readonly title: string;
2939
+ readonly tax_lines: io.flow.shopify.external.v0.models.ShopifyTaxLine[];
2940
+ readonly carrier_identifier?: string;
2941
+ readonly requested_fulfillment_service_id?: string;
2147
2942
  }
2148
- interface File {
2943
+ interface ShopifyTaxLine {
2944
+ readonly price: string;
2945
+ readonly rate: number;
2946
+ readonly title: string;
2947
+ }
2948
+ interface ShopifyTransaction {
2149
2949
  readonly id: number;
2150
- readonly path: string;
2151
- readonly display_name: string;
2152
- readonly size: number;
2153
- readonly mtime: string;
2154
- readonly permissions: string;
2155
- readonly download_uri: string;
2950
+ readonly order_id: number;
2951
+ readonly amount: number;
2952
+ readonly kind: io.flow.shopify.external.v0.enums.KindType;
2953
+ readonly gateway: string;
2954
+ readonly currency: string;
2955
+ readonly status: io.flow.shopify.external.v0.enums.ShopifyTransactionStatus;
2956
+ readonly payment_details?: io.flow.shopify.external.v0.models.ShopifyPaymentDetail;
2957
+ readonly receipt: any;
2958
+ readonly authorization?: string;
2959
+ readonly created_at: string;
2960
+ readonly device_id?: number;
2961
+ readonly gift_card_id?: number;
2962
+ readonly source_name: string;
2963
+ readonly error_code?: io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode;
2964
+ readonly test: boolean;
2965
+ readonly parent_id?: number;
2966
+ readonly user_id?: number;
2156
2967
  }
2157
- interface FileCopyForm {
2158
- readonly type: 'file_copy_form';
2159
- readonly 'copy-destination': string;
2968
+ interface ShopifyTransactionForm {
2969
+ readonly amount: number;
2970
+ readonly currency: string;
2971
+ readonly gateway: string;
2972
+ readonly kind: io.flow.shopify.external.v0.enums.KindType;
2973
+ readonly source: string;
2974
+ readonly authorization?: string;
2975
+ readonly gift_card_id?: number;
2976
+ readonly parent_id?: number;
2977
+ readonly receipt?: any;
2160
2978
  }
2161
- interface FileMoveForm {
2162
- readonly type: 'file_move_form';
2163
- readonly 'move-destination': string;
2979
+ interface ShopifyTransactionGiftCardReceipt {
2980
+ readonly gift_card_id: number;
2981
+ readonly gift_card_last_characters: string;
2164
2982
  }
2165
- interface FileSummary {
2166
- readonly type: 'file';
2983
+ interface ShopifyWebhookCustomersRedact {
2984
+ readonly shop_id: number;
2985
+ readonly shop_domain: string;
2986
+ readonly customer: io.flow.shopify.external.v0.models.ShopifyWebhookCustomersRedactCustomer;
2987
+ readonly orders_to_redact?: number[];
2988
+ }
2989
+ interface ShopifyWebhookCustomersRedactCustomer {
2167
2990
  readonly id: number;
2168
- readonly path: string;
2169
- readonly display_name: string;
2170
- readonly size: number;
2171
- readonly mtime: string;
2172
- readonly permissions: string;
2991
+ readonly email?: string;
2992
+ readonly phone?: string;
2173
2993
  }
2174
- interface FileUploadComplete {
2175
- readonly path: string;
2176
- readonly size: number;
2177
- readonly mtime: string;
2994
+ interface ShopifyWebhookOrder {
2995
+ readonly id?: number;
2996
+ readonly line_items?: io.flow.shopify.external.v0.models.ShopifyWebhookOrderLineItem[];
2178
2997
  }
2179
- interface FileUploadEndForm {
2180
- readonly type: 'file_upload_end_form';
2181
- readonly action: string;
2182
- readonly ref: string;
2998
+ interface ShopifyWebhookOrderCancelled {
2999
+ readonly id: number;
2183
3000
  }
2184
- interface FileUploadMetadata {
2185
- readonly ref: string;
2186
- readonly path: string;
2187
- readonly action: string;
2188
- readonly ask_about_overwrites: boolean;
2189
- readonly http_method: string;
2190
- readonly upload_uri: string;
3001
+ interface ShopifyWebhookOrderLineItem {
3002
+ readonly fulfillable_quantity?: number;
3003
+ readonly fulfillment_status?: io.flow.shopify.external.v0.enums.FulfillmentStatusType;
3004
+ readonly product_id?: number;
3005
+ readonly quantity?: number;
3006
+ readonly requires_shipping: boolean;
3007
+ readonly variant_id?: number;
2191
3008
  }
2192
- interface FileUploadStartForm {
2193
- readonly type: 'file_upload_start_form';
2194
- readonly action: string;
3009
+ interface ShopifyWebhookShopRedact {
3010
+ readonly shop_id: number;
3011
+ readonly shop_domain: string;
2195
3012
  }
2196
- interface User {
3013
+ interface Webhook {
3014
+ readonly address: string;
3015
+ readonly created_at: string;
3016
+ readonly format: io.flow.shopify.external.v0.enums.Format;
2197
3017
  readonly id: number;
2198
- readonly username: string;
2199
- readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod;
3018
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
3019
+ readonly updated_at: string;
3020
+ readonly fields?: string[];
3021
+ readonly metafield_namespaces?: string[];
3022
+ }
3023
+ interface WebhookForm {
3024
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
3025
+ readonly address: string;
3026
+ readonly format: io.flow.shopify.external.v0.enums.Format;
3027
+ readonly metafield_namespaces?: string[];
3028
+ }
3029
+ interface WebhookFormWrapper {
3030
+ readonly webhook: io.flow.shopify.external.v0.models.WebhookForm;
3031
+ }
3032
+ interface WebhookResponseList {
3033
+ readonly webhooks: io.flow.shopify.external.v0.models.Webhook[];
3034
+ }
3035
+ interface WebhookResponseSingle {
3036
+ readonly webhook: io.flow.shopify.external.v0.models.Webhook;
3037
+ }
3038
+ }
3039
+ declare namespace io.flow.order.price.v0.enums {
3040
+ type OrderPriceDetailComponentKey = 'adjustment' | 'vat_deminimis' | 'duty_deminimis' | 'duties_item_price' | 'duties_freight' | 'duties_insurance' | 'vat_item_price' | 'vat_freight' | 'vat_insurance' | 'vat_duties_item_price' | 'vat_duties_freight' | 'vat_duties_insurance' | 'item_price' | 'item_discount' | 'rounding' | 'insurance' | 'shipping' | 'order_discount' | 'subtotal_percent_sales_margin' | 'subtotal_vat_percent_sales_margin' | 'subtotal_duty_percent_sales_margin' | 'vat_subsidy' | 'duty_subsidy' | 'remote_area_surcharge' | 'fuel_surcharge';
3041
+ type OrderPriceDetailKey = 'adjustment' | 'subtotal' | 'vat' | 'duty' | 'shipping' | 'insurance' | 'discount' | 'surcharges';
3042
+ }
3043
+ declare namespace io.flow.order.price.v0.models {
3044
+ interface OrderPriceDetail {
3045
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailKey;
3046
+ readonly currency: string;
3047
+ readonly amount: number;
3048
+ readonly label: string;
3049
+ readonly base: io.flow.common.v0.models.Price;
3050
+ readonly components: io.flow.order.price.v0.models.OrderPriceDetailComponent[];
2200
3051
  readonly name?: string;
2201
- readonly email?: string;
2202
- readonly notes?: string;
2203
- readonly user_root: string;
2204
- readonly time_zone: string;
2205
- readonly restapi_permission: boolean;
2206
- readonly ftp_permission: boolean;
2207
- readonly sftp_permission: boolean;
2208
- readonly dav_permission: boolean;
2209
- readonly self_managed: boolean;
2210
- readonly require_password_change: boolean;
2211
- readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting;
3052
+ readonly rate?: number;
3053
+ readonly accuracy?: io.flow.price.v0.enums.PriceAccuracy;
3054
+ readonly rate_label?: string;
2212
3055
  }
2213
- interface UserForm {
2214
- readonly username: string;
2215
- readonly authentication_method: io.flow.brickftp.v0.enums.AuthenticationMethod;
2216
- readonly password: string;
3056
+ interface OrderPriceDetailComponent {
3057
+ readonly key: io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
3058
+ readonly currency: string;
3059
+ readonly amount: number;
3060
+ readonly label: string;
3061
+ readonly base: io.flow.common.v0.models.Price;
2217
3062
  readonly name?: string;
2218
- readonly email?: string;
2219
- readonly notes?: string;
2220
- readonly user_root: string;
2221
- readonly time_zone?: string;
2222
- readonly grant_permission: io.flow.brickftp.v0.enums.GrantPermissionSetting;
2223
- readonly restapi_permission: boolean;
2224
- readonly ftp_permission: boolean;
2225
- readonly sftp_permission: boolean;
2226
- readonly dav_permission: boolean;
2227
- readonly self_managed: boolean;
2228
- readonly require_password_change: boolean;
2229
- readonly ssl_required: io.flow.brickftp.v0.enums.SslRequiredSetting;
2230
3063
  }
2231
3064
  }
2232
- declare namespace io.flow.brickftp.v0.unions {
2233
- type FileForm = io.flow.brickftp.v0.models.FileUploadStartForm | io.flow.brickftp.v0.models.FileUploadEndForm | io.flow.brickftp.v0.models.FileCopyForm | io.flow.brickftp.v0.models.FileMoveForm;
2234
- type Node = io.flow.brickftp.v0.models.Directory | io.flow.brickftp.v0.models.FileSummary;
2235
- }
2236
3065
  declare namespace io.flow.billing.v0.enums {
2237
3066
  type BillingStatementAttachmentKey = 'invoice' | 'statement' | 'consumer_invoice' | 'credit_memo' | 'transactions' | 'virtual_card' | 'tax_remittance' | 'manual' | 'orders' | 'all';
2238
3067
  type BillingTransactionStatus = 'pending' | 'posted';
@@ -4135,7 +4964,7 @@ declare namespace io.flow.shopify.v0.models {
4135
4964
  readonly errors?: io.flow.experience.v0.models.OrderError[];
4136
4965
  }
4137
4966
  interface ShopifyCartConversionShopifyCart {
4138
- readonly cart: unknown;
4967
+ readonly cart: io.flow.shopify.external.v0.models.ShopifyCart;
4139
4968
  }
4140
4969
  interface ShopifyCartItem {
4141
4970
  readonly id: string;
@@ -6548,8 +7377,8 @@ declare namespace io.flow.shopify.internal.v0.enums {
6548
7377
  }
6549
7378
  declare namespace io.flow.shopify.internal.v0.models {
6550
7379
  interface CompletePriceRule {
6551
- readonly price_rule: unknown;
6552
- readonly discount_codes: unknown[];
7380
+ readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
7381
+ readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
6553
7382
  }
6554
7383
  interface InstallForm {
6555
7384
  readonly token: string;
@@ -6745,7 +7574,7 @@ declare namespace io.flow.shopify.internal.v0.models {
6745
7574
  readonly id: string;
6746
7575
  readonly shop_id: string;
6747
7576
  readonly address: string;
6748
- readonly topic: unknown;
7577
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
6749
7578
  }
6750
7579
  interface ShopifyWebhookEvent {
6751
7580
  readonly dummy: string;
@@ -6753,7 +7582,7 @@ declare namespace io.flow.shopify.internal.v0.models {
6753
7582
  interface ShopifyWebhookForm {
6754
7583
  readonly myshopify_domain: string;
6755
7584
  readonly address: string;
6756
- readonly topic: unknown;
7585
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
6757
7586
  }
6758
7587
  }
6759
7588
  declare namespace io.flow.shopify.internal.v0.unions {
@@ -9009,7 +9838,7 @@ declare namespace io.flow.crypto.v0.enums {
9009
9838
  type PaymentStatus = 'pending' | 'succeeded' | 'cancelled';
9010
9839
  type ReasonType = 'duplicate' | 'fraudulent' | 'requested_by_customer';
9011
9840
  type RefundStatus = 'pending' | 'succeeded';
9012
- type WebhookEventName = 'payment.created' | 'payment.captured';
9841
+ type WebhookEventName = 'payment.created' | 'payment.captured' | 'payment.refund_requested' | 'payment.refund_transferred';
9013
9842
  type WebhookObjectType = 'event';
9014
9843
  }
9015
9844
  declare namespace io.flow.crypto.v0.models {
@@ -9018,7 +9847,10 @@ declare namespace io.flow.crypto.v0.models {
9018
9847
  readonly object_type: io.flow.crypto.v0.enums.WebhookObjectType;
9019
9848
  readonly type: io.flow.crypto.v0.enums.WebhookEventName;
9020
9849
  readonly created: number;
9021
- readonly data: io.flow.crypto.v0.models.WebhookPayment;
9850
+ readonly data: any;
9851
+ }
9852
+ interface CryptoPaymentInfo {
9853
+ readonly publishable_key: string;
9022
9854
  }
9023
9855
  interface ErrorResponse {
9024
9856
  readonly type: io.flow.crypto.v0.enums.ErrorType;
@@ -9067,13 +9899,15 @@ declare namespace io.flow.crypto.v0.models {
9067
9899
  interface RefundRequest {
9068
9900
  readonly payment_id: string;
9069
9901
  readonly amount: number;
9070
- readonly debit_currency: string;
9071
9902
  readonly reason?: io.flow.crypto.v0.enums.ReasonType;
9072
9903
  readonly description?: string;
9073
9904
  }
9074
9905
  interface WebhookPayment {
9075
9906
  readonly object: io.flow.crypto.v0.models.Payment;
9076
9907
  }
9908
+ interface WebhookRefund {
9909
+ readonly object: io.flow.crypto.v0.models.Refund;
9910
+ }
9077
9911
  }
9078
9912
  declare namespace io.flow.order.management.v0.enums {
9079
9913
  type CancelReason = 'out_of_stock' | 'consumer_requested' | 'flow_cancel';
@@ -9221,7 +10055,7 @@ declare namespace io.flow.internal.v0.enums {
9221
10055
  type CarrierLabelGenerationMethod = 'direct' | 'easypost';
9222
10056
  type CatalogImportType = 'catalog_items' | 'item_form_overlays' | 'item_prices' | 'price_book_items_import' | 'price_book_items_query_import';
9223
10057
  type ChargebackPaymentStatus = 'captured' | 'refunded';
9224
- type ChargebackProcessStatus = 'open' | 'closed';
10058
+ type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
9225
10059
  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';
9226
10060
  type CheckoutPromptBehavior = 'always' | 'incomplete';
9227
10061
  type CheckoutRedirectMethod = 'get' | 'post';
@@ -9237,10 +10071,12 @@ declare namespace io.flow.internal.v0.enums {
9237
10071
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
9238
10072
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
9239
10073
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
10074
+ type EmptyAttribute = 'irrelevant';
9240
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';
9241
10076
  type ExperienceImportType = 'experience_with_settings';
9242
10077
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
9243
10078
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
10079
+ type ExperimentDiscriminatorKey = 'experience' | 'feature';
9244
10080
  type FeatureScope = 'global' | 'organization';
9245
10081
  type FeatureStatus = 'draft' | 'active' | 'archived';
9246
10082
  type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -9282,6 +10118,7 @@ declare namespace io.flow.internal.v0.enums {
9282
10118
  type PriceSelector = 'minimum' | 'maximum';
9283
10119
  type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
9284
10120
  type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
10121
+ type ProductClassificationAction = 'ACCEPT' | 'MANUAL';
9285
10122
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
9286
10123
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
9287
10124
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -9301,13 +10138,14 @@ declare namespace io.flow.internal.v0.enums {
9301
10138
  type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
9302
10139
  type ShopifyPromotionStatus = 'active' | 'inactive';
9303
10140
  type SimpleRoundingStrategy = 'no_rounding' | 'currency_precision';
9304
- type Status = 'draft' | 'ended' | 'live';
10141
+ type Status = 'draft' | 'live' | 'ended' | 'archived';
9305
10142
  type SubscriptionFrequency = 'yearly' | 'monthly';
9306
10143
  type SuggestionAction = 'accept' | 'validate' | 'review';
9307
10144
  type TaxCalculationErrorCode = 'generic_error' | 'outside_of_jurisdiction';
9308
10145
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
9309
10146
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
9310
10147
  type TransferMethod = 'ach';
10148
+ type UnclassifiedProductStatus = 'ignored' | 'escalated';
9311
10149
  }
9312
10150
  declare namespace io.flow.internal.v0.models {
9313
10151
  interface Account {
@@ -9663,6 +10501,10 @@ declare namespace io.flow.internal.v0.models {
9663
10501
  readonly publicKeyHash: string;
9664
10502
  readonly transactionId: string;
9665
10503
  }
10504
+ interface AttributeLabel {
10505
+ readonly value: string;
10506
+ readonly estimated: boolean;
10507
+ }
9666
10508
  interface AuthenticationForm {
9667
10509
  readonly password: string;
9668
10510
  }
@@ -10357,8 +11199,8 @@ declare namespace io.flow.internal.v0.models {
10357
11199
  readonly classification_model_id: string;
10358
11200
  }
10359
11201
  interface CompletePriceRule {
10360
- readonly price_rule: unknown;
10361
- readonly discount_codes: unknown[];
11202
+ readonly price_rule: io.flow.shopify.external.v0.models.PriceRule;
11203
+ readonly discount_codes: io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
10362
11204
  }
10363
11205
  interface Components {
10364
11206
  readonly vat: io.flow.common.v0.models.Price;
@@ -10662,6 +11504,16 @@ declare namespace io.flow.internal.v0.models {
10662
11504
  interface ExpectedOrderSummary {
10663
11505
  readonly total?: io.flow.common.v0.models.Money;
10664
11506
  }
11507
+ interface ExperienceExperiment {
11508
+ readonly discriminator: 'experience';
11509
+ readonly id: string;
11510
+ readonly key: string;
11511
+ readonly name: string;
11512
+ readonly status: io.flow.internal.v0.enums.Status;
11513
+ readonly started_at?: string;
11514
+ readonly ended_at?: string;
11515
+ readonly variants: io.flow.internal.v0.models.ExperienceVariant[];
11516
+ }
10665
11517
  interface ExperienceExportRequest {
10666
11518
  readonly discriminator: 'experience_export_request';
10667
11519
  readonly event_id: string;
@@ -10695,19 +11547,14 @@ declare namespace io.flow.internal.v0.models {
10695
11547
  }
10696
11548
  interface ExperienceVariant {
10697
11549
  readonly discriminator: 'experience_variant';
10698
- readonly experience: io.flow.experience.v0.models.ExperienceReference;
11550
+ readonly experience: io.flow.internal.v0.models.ExperimentVariantSummary;
10699
11551
  readonly traffic_percentage: number;
10700
11552
  readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
10701
- readonly name?: string;
10702
11553
  }
10703
- interface Experiment {
10704
- readonly id: string;
11554
+ interface ExperienceVariantForm {
11555
+ readonly discriminator: 'experience';
10705
11556
  readonly key: string;
10706
- readonly name: string;
10707
- readonly status: io.flow.internal.v0.enums.Status;
10708
- readonly started_at?: string;
10709
- readonly ended_at?: string;
10710
- readonly variants: io.flow.internal.v0.unions.Variant[];
11557
+ readonly traffic_percentage: number;
10711
11558
  }
10712
11559
  interface ExperimentDeleted {
10713
11560
  readonly discriminator: 'experiment_deleted';
@@ -10726,7 +11573,24 @@ declare namespace io.flow.internal.v0.models {
10726
11573
  }
10727
11574
  interface ExperimentForm {
10728
11575
  readonly name: string;
10729
- readonly variants: io.flow.internal.v0.unions.Variant[];
11576
+ readonly variants: io.flow.internal.v0.unions.VariantForm[];
11577
+ }
11578
+ interface ExperimentFormDefault {
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;
10730
11594
  }
10731
11595
  interface ExperimentResults {
10732
11596
  readonly id: string;
@@ -10764,11 +11628,15 @@ declare namespace io.flow.internal.v0.models {
10764
11628
  readonly organization_id: string;
10765
11629
  readonly experiment: io.flow.experiment.internal.v0.models.Experiment;
10766
11630
  }
11631
+ interface ExperimentVariantSummary {
11632
+ readonly key: string;
11633
+ readonly name?: string;
11634
+ }
10767
11635
  interface ExperimentVersion {
10768
11636
  readonly id: string;
10769
11637
  readonly timestamp: string;
10770
11638
  readonly type: io.flow.common.v0.enums.ChangeType;
10771
- readonly experiment: io.flow.internal.v0.models.Experiment;
11639
+ readonly experiment: io.flow.internal.v0.unions.Experiment;
10772
11640
  }
10773
11641
  interface ExplicitStatementDate {
10774
11642
  readonly id: string;
@@ -10823,13 +11691,6 @@ declare namespace io.flow.internal.v0.models {
10823
11691
  readonly description?: string;
10824
11692
  readonly order_number?: string;
10825
11693
  }
10826
- interface ExternalVariant {
10827
- readonly discriminator: 'external_variant';
10828
- readonly key: string;
10829
- readonly traffic_percentage: number;
10830
- readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
10831
- readonly name: string;
10832
- }
10833
11694
  interface FacebookPixel {
10834
11695
  readonly discriminator: 'facebook_pixel';
10835
11696
  readonly name?: string;
@@ -10858,6 +11719,16 @@ declare namespace io.flow.internal.v0.models {
10858
11719
  readonly organization: string;
10859
11720
  readonly feature: io.flow.feature.v0.models.Feature;
10860
11721
  }
11722
+ interface FeatureExperiment {
11723
+ readonly discriminator: 'feature';
11724
+ readonly id: string;
11725
+ readonly key: string;
11726
+ readonly name: string;
11727
+ readonly status: io.flow.internal.v0.enums.Status;
11728
+ readonly started_at?: string;
11729
+ readonly ended_at?: string;
11730
+ readonly variants: io.flow.internal.v0.models.FeatureVariant[];
11731
+ }
10861
11732
  interface FeatureForm {
10862
11733
  readonly name: string;
10863
11734
  readonly description?: string;
@@ -10910,10 +11781,14 @@ declare namespace io.flow.internal.v0.models {
10910
11781
  }
10911
11782
  interface FeatureVariant {
10912
11783
  readonly discriminator: 'feature_variant';
10913
- readonly feature: io.flow.feature.v0.unions.FeatureValue;
11784
+ readonly value: io.flow.internal.v0.models.ExperimentVariantSummary;
10914
11785
  readonly traffic_percentage: number;
10915
11786
  readonly experiment_results?: io.flow.internal.v0.models.ExperimentResults;
10916
- readonly name?: string;
11787
+ }
11788
+ interface FeatureVariantForm {
11789
+ readonly discriminator: 'feature';
11790
+ readonly key: string;
11791
+ readonly traffic_percentage: number;
10917
11792
  }
10918
11793
  interface FedexCrossborder {
10919
11794
  readonly discriminator: 'fedex_crossborder';
@@ -11580,6 +12455,13 @@ declare namespace io.flow.internal.v0.models {
11580
12455
  readonly label?: io.flow.label.v0.models.ShippingLabelDocument;
11581
12456
  readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument;
11582
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
+ }
11583
12465
  interface LabeledContent {
11584
12466
  readonly label: io.flow.internal.v0.models.Label;
11585
12467
  readonly contents: io.flow.internal.v0.unions.ContentItem[];
@@ -12750,6 +13632,25 @@ declare namespace io.flow.internal.v0.models {
12750
13632
  readonly organization: string;
12751
13633
  readonly processing_transaction: io.flow.billing.internal.v0.models.ProcessingTransaction;
12752
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
+ }
12753
13654
  interface ProductClassificationJudgementForm {
12754
13655
  readonly organization_id: string;
12755
13656
  readonly product_id: string;
@@ -12761,6 +13662,21 @@ declare namespace io.flow.internal.v0.models {
12761
13662
  readonly classified_product: io.flow.internal.v0.models.ClassifiedProduct;
12762
13663
  readonly next_product?: io.flow.internal.v0.models.ClassificationProductId;
12763
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
+ }
12764
13680
  interface QuoteRequest {
12765
13681
  readonly id: string;
12766
13682
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -13173,6 +14089,7 @@ declare namespace io.flow.internal.v0.models {
13173
14089
  interface ShopifyOrderInventoryCheck {
13174
14090
  readonly item_number: string;
13175
14091
  readonly quantity: number;
14092
+ readonly order_number?: string;
13176
14093
  }
13177
14094
  interface ShopifyOrderLineAttribute {
13178
14095
  readonly key: string;
@@ -13282,7 +14199,7 @@ declare namespace io.flow.internal.v0.models {
13282
14199
  readonly id: string;
13283
14200
  readonly shop_id: string;
13284
14201
  readonly address: string;
13285
- readonly topic: unknown;
14202
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
13286
14203
  }
13287
14204
  interface ShopifyWebhookEvent {
13288
14205
  readonly dummy: string;
@@ -13290,7 +14207,7 @@ declare namespace io.flow.internal.v0.models {
13290
14207
  interface ShopifyWebhookForm {
13291
14208
  readonly myshopify_domain: string;
13292
14209
  readonly address: string;
13293
- readonly topic: unknown;
14210
+ readonly topic: io.flow.shopify.external.v0.enums.Topic;
13294
14211
  }
13295
14212
  interface SnapchatPixel {
13296
14213
  readonly discriminator: 'snapchat_pixel';
@@ -13483,6 +14400,10 @@ declare namespace io.flow.internal.v0.models {
13483
14400
  readonly created_at: string;
13484
14401
  readonly period: io.flow.common.v0.models.DatetimeRange;
13485
14402
  }
14403
+ interface SupportedLabels {
14404
+ readonly discriminator: 'supported_labels';
14405
+ readonly values: string[];
14406
+ }
13486
14407
  interface SvbVirtualCardClearing {
13487
14408
  readonly id: string;
13488
14409
  readonly virtual_card_id: string;
@@ -13731,7 +14652,7 @@ declare namespace io.flow.internal.v0.models {
13731
14652
  interface UnclassifiedProductsForm {
13732
14653
  readonly organization_id: string;
13733
14654
  readonly product_id: string;
13734
- readonly ignore?: boolean;
14655
+ readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
13735
14656
  }
13736
14657
  interface UnharmonizedItemsExport {
13737
14658
  readonly discriminator: 'unharmonized_items_export';
@@ -13809,10 +14730,15 @@ declare namespace io.flow.internal.v0.unions {
13809
14730
  type CheckoutForm = io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm;
13810
14731
  type CheckoutSubmitOrderBundles = io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
13811
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;
13812
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;
13813
14738
  type DiscountRequestOfferForm = io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm;
13814
14739
  type DutyExpression = io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression;
13815
14740
  type Event = io.flow.internal.v0.models.AdyenAuthorizationDeleted | io.flow.internal.v0.models.AdyenAuthorizationUpserted | io.flow.internal.v0.models.AdyenCancelDeleted | io.flow.internal.v0.models.AdyenCancelUpserted | io.flow.internal.v0.models.AdyenCaptureDeleted | io.flow.internal.v0.models.AdyenCaptureUpserted | io.flow.internal.v0.models.AdyenRefundDeleted | io.flow.internal.v0.models.AdyenRefundUpserted | io.flow.internal.v0.models.BillingStatementUpserted | io.flow.internal.v0.models.BillingStatementDeleted | io.flow.internal.v0.models.TaxRemittanceTransactionUpserted | io.flow.internal.v0.models.TaxRemittanceTransactionDeleted | io.flow.internal.v0.models.AccountTransactionsExportRequest | io.flow.internal.v0.models.AccountOrdersExportRequest | io.flow.internal.v0.models.MasterTransactionUpserted | io.flow.internal.v0.models.MasterTransactionDeleted | io.flow.internal.v0.models.TransferTransactionUpserted | io.flow.internal.v0.models.TransferTransactionDeleted | io.flow.internal.v0.models.ProcessingTransactionUpserted | io.flow.internal.v0.models.ProcessingTransactionDeleted | io.flow.internal.v0.models.BankPaymentUpserted | io.flow.internal.v0.models.BankPaymentDeleted | io.flow.internal.v0.models.CarrierAccountUpserted | io.flow.internal.v0.models.CatalogImportRequest | io.flow.internal.v0.models.CatalogItemRegionAvailabilitiesPublished | io.flow.internal.v0.models.CheckoutConfigurationUpserted | io.flow.internal.v0.models.CheckoutConfigurationDeleted | io.flow.internal.v0.models.LocalizedContentUpserted | io.flow.internal.v0.models.LocalizationUpserted | io.flow.internal.v0.models.RateDeleted | io.flow.internal.v0.models.RateUpserted | io.flow.internal.v0.models.SpotRateDeleted | io.flow.internal.v0.models.SpotRateUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsUpserted | io.flow.internal.v0.models.OrganizationCurrencySettingsDeleted | io.flow.internal.v0.models.RateDeletedV2 | io.flow.internal.v0.models.RateUpsertedV2 | io.flow.internal.v0.models.CustomsDescriptionImport | io.flow.internal.v0.models.CustomsDescriptionTariffsImport | io.flow.internal.v0.models.ItemDimensionEstimateUpsertedV2 | io.flow.internal.v0.models.ItemDimensionEstimateDeletedV2 | io.flow.internal.v0.models.DutyRateRequest | io.flow.internal.v0.models.DutyRateBulkRequest | io.flow.internal.v0.models.DutyRawUpserted | io.flow.internal.v0.models.DutyRawBulkUpserted | io.flow.internal.v0.models.DutyRateUpserted | io.flow.internal.v0.models.DutyRateResponse | io.flow.internal.v0.models.DutyRateBulkResponse | io.flow.internal.v0.models.ItemSalesMarginDeleted | io.flow.internal.v0.models.ItemSalesMarginUpserted | io.flow.internal.v0.models.OrderAttributeDeleted | io.flow.internal.v0.models.OrderAttributeUpserted | io.flow.internal.v0.models.ExperienceExportRequest | io.flow.internal.v0.models.ExperienceImportRequest | io.flow.internal.v0.models.SubmittedOrderUpserted | io.flow.internal.v0.models.ExperimentUpserted | io.flow.internal.v0.models.ExperimentDeleted | io.flow.internal.v0.models.ExperimentResultsUpserted | io.flow.internal.v0.models.ExperimentResultsDeleted | io.flow.internal.v0.models.ExportCompleted | io.flow.internal.v0.models.ExportFailed | io.flow.internal.v0.models.FeatureUpserted | io.flow.internal.v0.models.FeatureDeleted | io.flow.internal.v0.models.OrganizationBooleanValueUpserted | io.flow.internal.v0.models.OrganizationBooleanValueDeleted | io.flow.internal.v0.models.FraudReviewUpserted | io.flow.internal.v0.models.FraudReviewDeleted | io.flow.internal.v0.models.FraudPendingReviewUpserted | io.flow.internal.v0.models.FraudPendingReviewDeleted | io.flow.internal.v0.models.FraudReviewDecisionUpserted | io.flow.internal.v0.models.FraudReviewDecisionDeleted | io.flow.internal.v0.models.FtpFileUpserted | io.flow.internal.v0.models.FtpFileDeleted | io.flow.internal.v0.models.FtpFileToProcessUploaded | io.flow.internal.v0.models.PregeneratedQuoteUpserted | io.flow.internal.v0.models.PregeneratedQuoteDeleted | io.flow.internal.v0.models.PregeneratedRequestEvent | io.flow.internal.v0.models.BlacklistedItemCreated | io.flow.internal.v0.models.BlacklistedItemUpdated | io.flow.internal.v0.models.BlacklistedItemDeleted | io.flow.internal.v0.models.AllItemsExport | io.flow.internal.v0.models.HarmonizedItemsHs6Export | io.flow.internal.v0.models.UnharmonizedItemsExport | io.flow.internal.v0.models.DutiedItemsExport | io.flow.internal.v0.models.LandedCostExport | io.flow.internal.v0.models.HarmonizationPhraseSuggestionRequestImport | io.flow.internal.v0.models.HarmonizationCodesImport | io.flow.internal.v0.models.CustomsDescriptionSugestionCreated | io.flow.internal.v0.models.ItemClassificationCreated | io.flow.internal.v0.models.HarmonizeFullyWithRate | io.flow.internal.v0.models.ItemHarmonized | io.flow.internal.v0.models.HarmonizeFullyRequest | io.flow.internal.v0.models.ImportCompleted | io.flow.internal.v0.models.ImportFailed | io.flow.internal.v0.models.IssuerUpserted | io.flow.internal.v0.models.IssuerDeleted | io.flow.internal.v0.models.ItemFormImportRequest | io.flow.internal.v0.models.LocalizedItemUpsertedV2 | io.flow.internal.v0.models.LocalizedItemDeleted | io.flow.internal.v0.models.LocalizedItemDeletedV2 | io.flow.internal.v0.models.LocalizedItemSnapshot | io.flow.internal.v0.models.LocalizedItemPricesExportRequest | io.flow.internal.v0.models.OptinPromptUpserted | io.flow.internal.v0.models.OptinPromptDeleted | io.flow.internal.v0.models.OrderFulfillmentDeleted | io.flow.internal.v0.models.OrderFulfillmentUpserted | io.flow.internal.v0.models.OrderPlaced | io.flow.internal.v0.models.ReadyToFulfill | io.flow.internal.v0.models.FulfillmentCancel | io.flow.internal.v0.models.OrderShipped | io.flow.internal.v0.models.ItemsShipped | io.flow.internal.v0.models.InternalAuthorizationUpserted | io.flow.internal.v0.models.InternalAuthorizationDeleted | io.flow.internal.v0.models.AfterpayAuthorizationUpserted | io.flow.internal.v0.models.AfterpayAuthorizationDeleted | io.flow.internal.v0.models.AfterpayCaptureUpserted | io.flow.internal.v0.models.AfterpayCaptureDeleted | io.flow.internal.v0.models.AfterpayRefundUpserted | io.flow.internal.v0.models.AfterpayRefundDeleted | io.flow.internal.v0.models.AdyenMerchantAccountUpserted | io.flow.internal.v0.models.AdyenMerchantAccountDeleted | io.flow.internal.v0.models.ChargebackUpserted | io.flow.internal.v0.models.ChargebackDeleted | io.flow.internal.v0.models.PaypalPaymentDeleted | io.flow.internal.v0.models.PaypalPaymentUpserted | io.flow.internal.v0.models.PaypalExecutionDeleted | io.flow.internal.v0.models.PaypalExecutionUpserted | io.flow.internal.v0.models.PaypalRefundDeleted | io.flow.internal.v0.models.PaypalRefundUpserted | io.flow.internal.v0.models.OrderRatesPublishedV3 | io.flow.internal.v0.models.RatecardLanesImportRequest | io.flow.internal.v0.models.RatecardStandardConfigurationUpserted | io.flow.internal.v0.models.RatecardStandardConfigurationDeleted | io.flow.internal.v0.models.RatecardLaneAggregateUpserted | io.flow.internal.v0.models.RatecardLaneAggregateDeleted | io.flow.internal.v0.models.BatchRateRefillRequest | io.flow.internal.v0.models.RateRefillRequest | io.flow.internal.v0.models.ResyncByHs6Destinations | io.flow.internal.v0.models.ResyncByDestinations | io.flow.internal.v0.models.ShopifyShopUpserted | io.flow.internal.v0.models.ShopifyShopDeleted | io.flow.internal.v0.models.ShopifyExperienceShortIdUpserted | io.flow.internal.v0.models.ShopifyExperienceShortIdDeleted | io.flow.internal.v0.models.StripeAuthorizationDeleted | io.flow.internal.v0.models.StripeAuthorizationUpserted | io.flow.internal.v0.models.StripeReversalDeleted | io.flow.internal.v0.models.StripeReversalUpserted | io.flow.internal.v0.models.StripeCaptureDeleted | io.flow.internal.v0.models.StripeCaptureUpserted | io.flow.internal.v0.models.StripeRefundDeleted | io.flow.internal.v0.models.StripeRefundUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingUpserted | io.flow.internal.v0.models.SvbVirtualCardClearingDeleted | io.flow.internal.v0.models.TrackingLabelEventUpsertedV2 | io.flow.internal.v0.models.TrackingLabelEventDeletedV2 | io.flow.internal.v0.models.TrackingLabelUpserted | io.flow.internal.v0.models.TrackingLabelDeleted | io.flow.internal.v0.models.TrackingUpserted | io.flow.internal.v0.models.TrackingDeleted | io.flow.internal.v0.models.TrackingRequestUpserted | io.flow.internal.v0.models.TrackingResponseUpserted | io.flow.internal.v0.models.UserUpsertedV2 | io.flow.internal.v0.models.UserDeletedV2;
14741
+ type Experiment = io.flow.internal.v0.models.ExperienceExperiment | io.flow.internal.v0.models.FeatureExperiment;
13816
14742
  type ExportSchedule = io.flow.internal.v0.models.ExportScheduleDaily | io.flow.internal.v0.models.ExportScheduleRepeated;
13817
14743
  type FeatureDefaultValue = io.flow.internal.v0.models.BooleanFeatureDefaultValue | io.flow.internal.v0.models.StringFeatureDefaultValue;
13818
14744
  type FeatureRule = io.flow.internal.v0.models.BooleanFeatureRule | io.flow.internal.v0.models.StringFeatureRule;
@@ -13850,7 +14776,8 @@ declare namespace io.flow.internal.v0.unions {
13850
14776
  type Transaction = io.flow.internal.v0.models.InvoiceTransaction | io.flow.internal.v0.models.ManualTransaction | io.flow.internal.v0.models.ProcessingTransaction | io.flow.internal.v0.models.SubscriptionTransaction | io.flow.internal.v0.models.TaxRemittanceTransaction | io.flow.internal.v0.models.TransferTransaction | io.flow.internal.v0.models.VirtualCardTransaction;
13851
14777
  type TransactionSummary = io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary;
13852
14778
  type ValidationRule = io.flow.internal.v0.models.ValidationCharacterLength;
13853
- type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.ExternalVariant | io.flow.internal.v0.models.FeatureVariant;
14779
+ type Variant = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.FeatureVariant;
14780
+ type VariantForm = io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.ExperienceVariantForm | io.flow.internal.v0.models.FeatureVariantForm;
13854
14781
  }
13855
14782
  export declare type Account = io.flow.internal.v0.models.Account;
13856
14783
  export declare type AccountContact = io.flow.internal.v0.models.AccountContact;
@@ -13904,6 +14831,7 @@ export declare type AllocationItemReference = io.flow.internal.v0.models.Allocat
13904
14831
  export declare type ApmContent = io.flow.internal.v0.models.ApmContent;
13905
14832
  export declare type ApplePaymentToken = io.flow.internal.v0.models.ApplePaymentToken;
13906
14833
  export declare type ApplePaymentTokenHeader = io.flow.internal.v0.models.ApplePaymentTokenHeader;
14834
+ export declare type AttributeLabel = io.flow.internal.v0.models.AttributeLabel;
13907
14835
  export declare type AuthenticationForm = io.flow.internal.v0.models.AuthenticationForm;
13908
14836
  export declare type Authorization = io.flow.internal.v0.models.Authorization;
13909
14837
  export declare type AuthorizationMetadata = io.flow.internal.v0.models.AuthorizationMetadata;
@@ -14035,6 +14963,7 @@ export declare type CipherForm = io.flow.internal.v0.models.CipherForm;
14035
14963
  export declare type CipherReference = io.flow.internal.v0.models.CipherReference;
14036
14964
  export declare type ClassicPaymentRedirectForm = io.flow.internal.v0.models.ClassicPaymentRedirectForm;
14037
14965
  export declare type ClassificationItem = io.flow.internal.v0.models.ClassificationItem;
14966
+ export declare type ClassificationLabelAttribute = io.flow.internal.v0.unions.ClassificationLabelAttribute;
14038
14967
  export declare type ClassificationProduct = io.flow.internal.v0.models.ClassificationProduct;
14039
14968
  export declare type ClassificationProductId = io.flow.internal.v0.models.ClassificationProductId;
14040
14969
  export declare type ClassificationProductSummary = io.flow.internal.v0.models.ClassificationProductSummary;
@@ -14103,10 +15032,12 @@ export declare type DutySimpleExpression = io.flow.internal.v0.models.DutySimple
14103
15032
  export declare type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType;
14104
15033
  export declare type EmailForm = io.flow.internal.v0.models.EmailForm;
14105
15034
  export declare type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm;
15035
+ export declare type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
14106
15036
  export declare type Encryption = io.flow.internal.v0.models.Encryption;
14107
15037
  export declare type Event = io.flow.internal.v0.unions.Event;
14108
15038
  export declare type EventType = io.flow.internal.v0.enums.EventType;
14109
15039
  export declare type ExpectedOrderSummary = io.flow.internal.v0.models.ExpectedOrderSummary;
15040
+ export declare type ExperienceExperiment = io.flow.internal.v0.models.ExperienceExperiment;
14110
15041
  export declare type ExperienceExportRequest = io.flow.internal.v0.models.ExperienceExportRequest;
14111
15042
  export declare type ExperienceFeedSummary = io.flow.internal.v0.models.ExperienceFeedSummary;
14112
15043
  export declare type ExperienceImportRequest = io.flow.internal.v0.models.ExperienceImportRequest;
@@ -14116,15 +15047,22 @@ export declare type ExperienceOrderActionRule = io.flow.internal.v0.models.Exper
14116
15047
  export declare type ExperienceOrderActionTrigger = io.flow.internal.v0.enums.ExperienceOrderActionTrigger;
14117
15048
  export declare type ExperienceSessionReference = io.flow.internal.v0.models.ExperienceSessionReference;
14118
15049
  export declare type ExperienceVariant = io.flow.internal.v0.models.ExperienceVariant;
14119
- export declare type Experiment = io.flow.internal.v0.models.Experiment;
15050
+ export declare type ExperienceVariantForm = io.flow.internal.v0.models.ExperienceVariantForm;
15051
+ export declare type Experiment = io.flow.internal.v0.unions.Experiment;
14120
15052
  export declare type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
15053
+ export declare type ExperimentDiscriminatorKey = io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
14121
15054
  export declare type ExperimentEngineResults = io.flow.internal.v0.models.ExperimentEngineResults;
14122
15055
  export declare type ExperimentForm = io.flow.internal.v0.models.ExperimentForm;
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;
14123
15060
  export declare type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
14124
15061
  export declare type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
14125
15062
  export declare type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
14126
15063
  export declare type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
14127
15064
  export declare type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
15065
+ export declare type ExperimentVariantSummary = io.flow.internal.v0.models.ExperimentVariantSummary;
14128
15066
  export declare type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
14129
15067
  export declare type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
14130
15068
  export declare type ExplicitStatementDateForm = io.flow.internal.v0.models.ExplicitStatementDateForm;
@@ -14135,12 +15073,12 @@ export declare type ExportScheduleDaily = io.flow.internal.v0.models.ExportSched
14135
15073
  export declare type ExportScheduleRepeated = io.flow.internal.v0.models.ExportScheduleRepeated;
14136
15074
  export declare type ExportTrackingLabel = io.flow.internal.v0.models.ExportTrackingLabel;
14137
15075
  export declare type ExportTrackingLabelEvent = io.flow.internal.v0.models.ExportTrackingLabelEvent;
14138
- export declare type ExternalVariant = io.flow.internal.v0.models.ExternalVariant;
14139
15076
  export declare type FacebookPixel = io.flow.internal.v0.models.FacebookPixel;
14140
15077
  export declare type Feature = io.flow.internal.v0.models.Feature;
14141
15078
  export declare type FeatureContextForm = io.flow.internal.v0.models.FeatureContextForm;
14142
15079
  export declare type FeatureDefaultValue = io.flow.internal.v0.unions.FeatureDefaultValue;
14143
15080
  export declare type FeatureDeleted = io.flow.internal.v0.models.FeatureDeleted;
15081
+ export declare type FeatureExperiment = io.flow.internal.v0.models.FeatureExperiment;
14144
15082
  export declare type FeatureForm = io.flow.internal.v0.models.FeatureForm;
14145
15083
  export declare type FeatureGeoForm = io.flow.internal.v0.models.FeatureGeoForm;
14146
15084
  export declare type FeatureIdReference = io.flow.internal.v0.models.FeatureIdReference;
@@ -14160,6 +15098,7 @@ export declare type FeatureValue = io.flow.internal.v0.unions.FeatureValue;
14160
15098
  export declare type FeatureValueForm = io.flow.internal.v0.models.FeatureValueForm;
14161
15099
  export declare type FeatureValueResult = io.flow.internal.v0.models.FeatureValueResult;
14162
15100
  export declare type FeatureVariant = io.flow.internal.v0.models.FeatureVariant;
15101
+ export declare type FeatureVariantForm = io.flow.internal.v0.models.FeatureVariantForm;
14163
15102
  export declare type FedexCrossborder = io.flow.internal.v0.models.FedexCrossborder;
14164
15103
  export declare type Fee = io.flow.internal.v0.models.Fee;
14165
15104
  export declare type Feed = io.flow.internal.v0.unions.Feed;
@@ -14287,6 +15226,7 @@ export declare type KeyReference = io.flow.internal.v0.models.KeyReference;
14287
15226
  export declare type Label = io.flow.internal.v0.models.Label;
14288
15227
  export declare type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
14289
15228
  export declare type LabelSummary = io.flow.internal.v0.models.LabelSummary;
15229
+ export declare type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
14290
15230
  export declare type LabeledContent = io.flow.internal.v0.models.LabeledContent;
14291
15231
  export declare type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
14292
15232
  export declare type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
@@ -14508,8 +15448,14 @@ export declare type ProcessingTransactionDeleted = io.flow.internal.v0.models.Pr
14508
15448
  export declare type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
14509
15449
  export declare type ProcessingTransactionUpserted = io.flow.internal.v0.models.ProcessingTransactionUpserted;
14510
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;
14511
15454
  export declare type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
14512
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;
14513
15459
  export declare type PromptAction = io.flow.internal.v0.enums.PromptAction;
14514
15460
  export declare type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
14515
15461
  export declare type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
@@ -14657,6 +15603,7 @@ export declare type Subscription = io.flow.internal.v0.models.Subscription;
14657
15603
  export declare type SubscriptionFrequency = io.flow.internal.v0.enums.SubscriptionFrequency;
14658
15604
  export declare type SubscriptionTransaction = io.flow.internal.v0.models.SubscriptionTransaction;
14659
15605
  export declare type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction;
15606
+ export declare type SupportedLabels = io.flow.internal.v0.models.SupportedLabels;
14660
15607
  export declare type SvbVirtualCardClearing = io.flow.internal.v0.models.SvbVirtualCardClearing;
14661
15608
  export declare type SvbVirtualCardClearingDeleted = io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
14662
15609
  export declare type SvbVirtualCardClearingUpserted = io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;
@@ -14701,6 +15648,7 @@ export declare type TransferTransaction = io.flow.internal.v0.models.TransferTra
14701
15648
  export declare type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted;
14702
15649
  export declare type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
14703
15650
  export declare type Tribe = io.flow.internal.v0.models.Tribe;
15651
+ export declare type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
14704
15652
  export declare type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
14705
15653
  export declare type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
14706
15654
  export declare type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;
@@ -14712,6 +15660,7 @@ export declare type UserUpsertedV2 = io.flow.internal.v0.models.UserUpsertedV2;
14712
15660
  export declare type ValidationCharacterLength = io.flow.internal.v0.models.ValidationCharacterLength;
14713
15661
  export declare type ValidationRule = io.flow.internal.v0.unions.ValidationRule;
14714
15662
  export declare type Variant = io.flow.internal.v0.unions.Variant;
15663
+ export declare type VariantForm = io.flow.internal.v0.unions.VariantForm;
14715
15664
  export declare type ViesResult = io.flow.internal.v0.models.ViesResult;
14716
15665
  export declare type VirtualCardTransaction = io.flow.internal.v0.models.VirtualCardTransaction;
14717
15666
  export declare type WholeOrderActionForm = io.flow.internal.v0.models.WholeOrderActionForm;