@flowio/api-internal-prop-types 6.1.5 → 7.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,960 +1,679 @@
1
1
  import PropTypes from 'prop-types';
2
2
 
3
- declare namespace io.flow.ratecard.v0.models {
4
- interface CrossdockRatecardFee {
5
- readonly 'discriminator': 'crossdock_ratecard_fee';
6
- readonly 'amount': io.flow.common.v0.models.Money;
3
+ declare namespace io.flow.bundle.checkout.v0.enums {
4
+ 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';
5
+ type CheckoutRedirectMethod = 'get' | 'post';
6
+ }
7
+
8
+ declare namespace io.flow.bundle.checkout.v0.models {
9
+ interface Checkout {
10
+ readonly 'id': string;
11
+ readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
12
+ readonly 'builder': io.flow.experience.v0.models.OrderBuilder;
13
+ readonly 'platform': io.flow.bundle.checkout.v0.models.CheckoutPlatformData;
14
+ readonly 'content': io.flow.bundle.checkout.v0.models.CheckoutContent;
15
+ readonly 'destinations': io.flow.reference.v0.models.Country[];
16
+ readonly 'optins': io.flow.optin.internal.v0.models.OptinPrompt[];
17
+ readonly 'addresses': io.flow.experience.v0.models.AddressConfiguration[];
18
+ readonly 'features': io.flow.feature.v0.models.FeatureValueResult;
19
+ readonly 'configuration': io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
20
+ readonly 'cart'?: io.flow.shopify.v0.models.ShopifyCart;
21
+ readonly 'customer'?: io.flow.customer.v0.models.Customer;
22
+ readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
23
+ readonly 'gift_card_program'?: io.flow.experience.internal.v0.models.GiftCardProgram;
24
+ readonly 'loyalty_program'?: io.flow.experience.internal.v0.models.LoyaltyProgram;
25
+ readonly 'payment': io.flow.bundle.checkout.v0.models.CheckoutPayment;
26
+ readonly 'customer_bundle'?: io.flow.customer.v0.models.CustomerBundle;
7
27
  }
8
28
 
9
- interface DdpRatecardFee {
10
- readonly 'discriminator': 'ddp_ratecard_fee';
11
- readonly 'amount': number;
29
+ interface CheckoutBundle {
30
+ readonly 'cart'?: io.flow.shopify.v0.models.ShopifyCart;
31
+ readonly 'order': io.flow.experience.v0.models.Order;
32
+ readonly 'order_errors'?: io.flow.experience.v0.models.OrderError[];
33
+ readonly 'checkout'?: io.flow.content.internal.v0.models.CheckoutContentSummary;
34
+ readonly 'optins': io.flow.optin.internal.v0.models.OptinPrompt[];
35
+ readonly 'destinations': io.flow.reference.v0.models.Country[];
36
+ readonly 'features': io.flow.feature.v0.models.FeatureValueResult;
37
+ readonly 'provinces': io.flow.reference.v0.models.Province[];
38
+ readonly 'checkout_items': io.flow.experience.v0.models.CheckoutItemContent[];
39
+ readonly 'metadata'?: io.flow.bundle.checkout.v0.models.CheckoutBundleMetadata;
40
+ readonly 'configuration'?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
41
+ readonly 'address_configurations'?: io.flow.experience.v0.models.AddressConfiguration[];
42
+ readonly 'customer'?: io.flow.customer.v0.models.Customer;
43
+ readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
44
+ readonly 'payment_sources'?: io.flow.payment.v0.unions.PaymentSource[];
45
+ readonly 'customer_bundle'?: io.flow.customer.v0.models.CustomerBundle;
12
46
  }
13
47
 
14
- interface DimensionEstimate {
15
- readonly 'id': string;
16
- readonly 'q': string;
17
- readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
18
- readonly 'position': number;
48
+ interface CheckoutBundleMetadata {
49
+ readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
19
50
  }
20
51
 
21
- interface DimensionEstimateForm {
22
- readonly 'q': string;
23
- readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
24
- readonly 'position'?: number;
52
+ interface CheckoutContent {
53
+ readonly 'global'?: io.flow.content.internal.v0.models.CheckoutContentSummary;
54
+ readonly 'items': io.flow.experience.v0.models.CheckoutItemContent[];
25
55
  }
26
56
 
27
- interface DimensionEstimateVersion {
28
- readonly 'id': string;
29
- readonly 'timestamp': string;
30
- readonly 'type': io.flow.common.v0.enums.ChangeType;
31
- readonly 'dimension_estimate': io.flow.ratecard.v0.models.DimensionEstimate;
57
+ interface CheckoutError {
58
+ readonly 'code': io.flow.bundle.checkout.v0.enums.CheckoutErrorCode;
59
+ readonly 'messages': string[];
60
+ readonly 'organization'?: io.flow.common.v0.models.OrganizationReference;
61
+ readonly 'redirect'?: io.flow.bundle.checkout.v0.models.CheckoutRedirect;
32
62
  }
33
63
 
34
- interface EstimatedDimensions {
35
- readonly 'depth': io.flow.common.v0.models.Measurement;
36
- readonly 'length': io.flow.common.v0.models.Measurement;
37
- readonly 'weight': io.flow.common.v0.models.Measurement;
38
- readonly 'width': io.flow.common.v0.models.Measurement;
64
+ interface CheckoutFinalizeOrderForm {
65
+ readonly 'expected_order_summary': io.flow.bundle.checkout.v0.models.ExpectedOrderSummary;
66
+ readonly 'order_put_form': io.flow.experience.v0.models.OrderPutForm;
39
67
  }
40
68
 
41
- interface FuelSurchargeRatecardFee {
42
- readonly 'discriminator': 'fuel_surcharge_ratecard_fee';
43
- readonly 'amount': io.flow.common.v0.models.Money;
69
+ interface CheckoutOrderForm {
70
+ readonly 'discriminator': 'order';
71
+ readonly 'organization': string;
72
+ readonly 'order': io.flow.experience.v0.models.OrderForm;
73
+ readonly 'customer'?: io.flow.customer.v0.models.CustomerForm;
74
+ readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBookForm;
75
+ readonly 'payment_sources'?: io.flow.payment.v0.unions.PaymentSourceForm[];
76
+ readonly 'urls'?: io.flow.checkout.v0.models.CheckoutUrlsForm;
77
+ readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
78
+ readonly 'feature_keys'?: string[];
79
+ readonly 'order_parameters'?: io.flow.bundle.checkout.v0.models.OrderParameters;
44
80
  }
45
81
 
46
- interface FuelSurchargeServiceFee {
47
- readonly 'discriminator': 'fuel_surcharge_service_fee';
48
- readonly 'percent': number;
82
+ interface CheckoutOrderNumberForm {
83
+ readonly 'discriminator': 'order_number';
84
+ readonly 'organization': string;
85
+ readonly 'order_number': string;
86
+ readonly 'customer'?: io.flow.customer.v0.models.CustomerForm;
87
+ readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBookForm;
88
+ readonly 'payment_sources'?: io.flow.payment.v0.unions.PaymentSourceForm[];
89
+ readonly 'urls'?: io.flow.checkout.v0.models.CheckoutUrlsForm;
90
+ readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
91
+ readonly 'feature_keys'?: string[];
92
+ readonly 'order_parameters'?: io.flow.bundle.checkout.v0.models.OrderParameters;
49
93
  }
50
94
 
51
- interface Hop {
52
- readonly 'hop_number': number;
53
- readonly 'hop_estimate': io.flow.ratecard.v0.models.HopEstimate;
95
+ interface CheckoutOrderSummary {
96
+ readonly 'lines': io.flow.bundle.checkout.v0.models.CheckoutOrderSummaryLine[];
54
97
  }
55
98
 
56
- interface HopEstimate {
57
- readonly 'origin_address': io.flow.fulfillment.v0.models.ShippingAddress;
58
- readonly 'destination_address': io.flow.fulfillment.v0.models.ShippingAddress;
59
- readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
60
- readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
61
- readonly 'currency': string;
62
- readonly 'amount': number;
63
- readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
64
- readonly 'total': number;
99
+ interface CheckoutOrderSummaryLine {
100
+ readonly 'item': io.flow.common.v0.models.ItemReference;
101
+ readonly 'quantity': number;
65
102
  }
66
103
 
67
- interface OversizedShipmentRatecardFee {
68
- readonly 'discriminator': 'oversized_shipment_ratecard_fee';
69
- readonly 'weight_threshold': number;
70
- readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
71
- readonly 'margin'?: number;
72
- readonly 'amount'?: number;
104
+ interface CheckoutPayment {
105
+ readonly 'authorizations': io.flow.payment.v0.unions.Authorization[];
106
+ readonly 'sources': io.flow.payment.v0.unions.PaymentSource[];
107
+ readonly 'public_key': io.flow.payment.v0.models.PublicKey;
108
+ readonly 'method_types': io.flow.reference.v0.enums.PaymentMethodType[];
109
+ readonly 'method_rules': io.flow.experience.v0.models.PaymentMethodRule[];
110
+ readonly 'authorization_parameters': io.flow.payment.internal.v0.models.AuthorizationParameters[];
73
111
  }
74
112
 
75
- interface Ratecard {
76
- readonly 'id': string;
77
- readonly 'number': string;
78
- readonly 'direction': io.flow.label.v0.enums.Direction;
79
- readonly 'effective_at': string;
80
- readonly 'origination_zones': io.flow.common.v0.models.Zone[];
81
- readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
82
- readonly 'published_at'?: string;
83
- readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
113
+ interface CheckoutPlatformData {
114
+ readonly 'order_number'?: string;
84
115
  }
85
116
 
86
- interface RatecardCarrierSummary {
87
- readonly 'id': string;
88
- readonly 'name': string;
117
+ interface CheckoutRedirect {
118
+ readonly 'method': io.flow.bundle.checkout.v0.enums.CheckoutRedirectMethod;
119
+ readonly 'url': string;
120
+ readonly 'body'?: string;
89
121
  }
90
122
 
91
- interface RatecardEstimateFormV1 {
92
- readonly 'discriminator': 'ratecard_estimate_form_v1';
93
- readonly 'origin'?: string;
94
- readonly 'destination'?: string;
95
- readonly 'weight_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
96
- readonly 'distance_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
97
- readonly 'service'?: string;
98
- readonly 'weight'?: number;
99
- readonly 'length'?: number;
100
- readonly 'width'?: number;
101
- readonly 'depth'?: number;
102
- readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
103
- readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
123
+ interface CheckoutReferenceForm {
124
+ readonly 'order_number': string;
125
+ readonly 'order_form': io.flow.experience.v0.models.OrderPutForm;
126
+ readonly 'order_geo': io.flow.experience.v0.models.OrderGeo;
127
+ readonly 'session_id': string;
128
+ readonly 'urls'?: io.flow.checkout.v0.models.CheckoutUrlsForm;
129
+ readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
104
130
  }
105
131
 
106
- interface RatecardEstimateFormV2 {
107
- readonly 'discriminator': 'ratecard_estimate_form_v2';
108
- readonly 'origin_address': io.flow.common.v0.models.Address;
109
- readonly 'destination_address': io.flow.common.v0.models.Address;
110
- readonly 'weight_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
111
- readonly 'distance_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
112
- readonly 'service'?: string;
113
- readonly 'weight'?: number;
114
- readonly 'length'?: number;
115
- readonly 'width'?: number;
116
- readonly 'depth'?: number;
117
- readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
118
- readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
119
- readonly 'center_id'?: string;
132
+ interface CheckoutSourceOrderForm {
133
+ readonly 'source_order_number': string;
134
+ readonly 'feature_q'?: string;
120
135
  }
121
136
 
122
- interface RatecardEstimateSummaryForm {
123
- readonly 'origin'?: string;
124
- readonly 'destination'?: string;
125
- readonly 'service'?: string;
126
- readonly 'center_key'?: string;
137
+ interface CheckoutSubmission {
138
+ readonly 'builder': io.flow.experience.v0.models.OrderBuilder;
139
+ readonly 'action'?: io.flow.payment.v0.unions.AuthorizationResultAction;
127
140
  }
128
141
 
129
- interface RatecardEstimateV1 {
130
- readonly 'discriminator': 'ratecard_estimate_v1';
131
- readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
132
- readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
133
- readonly 'currency': string;
134
- readonly 'amount': number;
135
- readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
136
- readonly 'total': number;
137
- readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
138
- readonly 'dimensional_weight'?: io.flow.common.v0.models.Measurement;
139
- readonly 'gravitational_weight'?: io.flow.common.v0.models.Measurement;
140
- readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
142
+ interface CheckoutSubmissionForm {
143
+ readonly 'authorization_form'?: io.flow.payment.v0.unions.AuthorizationForm;
144
+ readonly 'expected_order_summary'?: io.flow.bundle.checkout.v0.models.ExpectedOrderSummary;
145
+ readonly 'feature_keys'?: string[];
141
146
  }
142
147
 
143
- interface RatecardEstimateV2 {
144
- readonly 'discriminator': 'ratecard_estimate_v2';
145
- readonly 'hops': io.flow.ratecard.v0.models.Hop[];
146
- readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
147
- readonly 'dimensional_weight'?: io.flow.common.v0.models.Measurement;
148
- readonly 'gravitational_weight'?: io.flow.common.v0.models.Measurement;
149
- readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
150
- readonly 'ratecard_owner'?: io.flow.fulfillment.v0.enums.RatecardOwner;
148
+ interface CheckoutSubmitOrderBundle {
149
+ readonly 'discriminator': 'checkout_submit_order_bundle';
150
+ readonly 'order'?: io.flow.experience.v0.models.Order;
151
+ readonly 'redirect'?: io.flow.payment.v0.unions.AuthorizationResultAction;
152
+ readonly 'errors'?: io.flow.experience.v0.models.OrderError[];
151
153
  }
152
154
 
153
- interface RatecardForm {
154
- readonly 'direction': io.flow.label.v0.enums.Direction;
155
- readonly 'effective_at': string;
156
- readonly 'origination_zones': io.flow.common.v0.models.Zone[];
157
- readonly 'service': string;
158
- readonly 'number'?: string;
159
- readonly 'ratecard_owner'?: io.flow.fulfillment.v0.enums.RatecardOwner;
155
+ interface CheckoutSubmitOrderForm {
156
+ readonly 'discriminator': 'checkout_submit_order_form';
157
+ readonly 'authorization_form'?: io.flow.payment.v0.unions.AuthorizationForm;
158
+ readonly 'expected_order_summary'?: io.flow.bundle.checkout.v0.models.ExpectedOrderSummary;
160
159
  }
161
160
 
162
- interface RatecardLane {
163
- readonly 'id': string;
164
- readonly 'ratecard': io.flow.ratecard.v0.models.RatecardReference;
165
- readonly 'currency': string;
166
- readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
167
- readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
168
- readonly 'destination': io.flow.common.v0.models.Zone;
169
- readonly 'dim_factor': number;
170
- readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
171
- readonly 'origin': io.flow.common.v0.models.Zone;
172
- readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
173
- readonly 'rates': io.flow.ratecard.v0.models.RatecardRate[];
174
- readonly 'rounding': io.flow.common.v0.models.Rounding;
175
- readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
176
- readonly 'distance_unit': io.flow.common.v0.enums.UnitOfMeasurement;
161
+ interface ExpectedOrderSummary {
162
+ readonly 'total'?: io.flow.common.v0.models.Money;
177
163
  }
178
164
 
179
- interface RatecardLaneForm {
180
- readonly 'ratecard_id': string;
181
- readonly 'currency': string;
182
- readonly 'destination': io.flow.common.v0.models.Zone;
183
- readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
184
- readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
185
- readonly 'dim_factor': number;
186
- readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
187
- readonly 'origin': io.flow.common.v0.models.Zone;
188
- readonly 'rounding': io.flow.common.v0.models.Rounding;
189
- readonly 'rates': io.flow.ratecard.v0.models.RatecardRateForm[];
190
- readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
191
- readonly 'distance_unit': io.flow.common.v0.enums.UnitOfMeasurement;
165
+ interface InvalidCheckoutData {
166
+ readonly 'order': io.flow.experience.v0.models.OrderPutForm;
192
167
  }
193
168
 
194
- interface RatecardLaneImportForm {
195
- readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
196
- readonly 'service': string;
197
- readonly 'currency': string;
198
- readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
199
- readonly 'origin': io.flow.common.v0.models.Zone;
200
- readonly 'destination': io.flow.common.v0.models.Zone;
201
- readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
202
- readonly 'dim_factor': number;
203
- readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
204
- readonly 'distance_unit': io.flow.common.v0.enums.UnitOfMeasurement;
205
- readonly 'rates': io.flow.ratecard.v0.models.RatecardRateForm[];
169
+ interface OrderParameters {
170
+ readonly 'experience'?: string;
171
+ readonly 'country'?: string;
172
+ readonly 'ip'?: string;
173
+ readonly 'currency'?: string;
174
+ readonly 'language'?: string;
206
175
  }
176
+ }
207
177
 
208
- interface RatecardLaneVersion {
209
- readonly 'id': string;
210
- readonly 'timestamp': string;
211
- readonly 'type': io.flow.common.v0.enums.ChangeType;
212
- readonly 'ratecard_lane': io.flow.ratecard.v0.models.RatecardLane;
213
- }
178
+ declare namespace io.flow.bundle.checkout.v0.unions {
179
+ type CheckoutForm = (io.flow.bundle.checkout.v0.models.CheckoutOrderForm | io.flow.bundle.checkout.v0.models.CheckoutOrderNumberForm);
180
+ type CheckoutSubmitOrderBundles = (io.flow.bundle.checkout.v0.models.CheckoutSubmitOrderBundle);
181
+ type CheckoutSubmitOrderForms = (io.flow.bundle.checkout.v0.models.CheckoutSubmitOrderForm);
182
+ }
214
183
 
215
- interface RatecardLanesImportRequestData {
184
+ declare namespace io.flow.tracking.v0.enums {
185
+ type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
186
+ }
187
+
188
+ declare namespace io.flow.tracking.v0.models {
189
+ interface Tracking {
216
190
  readonly 'id': string;
217
- readonly 'source_url': string;
218
- readonly 'filename'?: string;
191
+ readonly 'labels': io.flow.tracking.v0.models.TrackingLabel[];
192
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
193
+ readonly 'attributes': Record<string, string>;
194
+ readonly 'url': string;
195
+ readonly 'window'?: io.flow.common.v0.models.DatetimeRange;
196
+ readonly 'order_number'?: string;
219
197
  }
220
198
 
221
- interface RatecardRate {
199
+ interface TrackingEvent {
222
200
  readonly 'id': string;
223
- readonly 'amount': number;
224
- readonly 'weight': number;
201
+ readonly 'address': io.flow.common.v0.models.Address;
202
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
203
+ readonly 'timestamp': string;
204
+ readonly 'description'?: string;
225
205
  }
226
206
 
227
- interface RatecardRateForm {
228
- readonly 'amount': number;
229
- readonly 'weight': number;
207
+ interface TrackingEventForm {
208
+ readonly 'tracking_label_id': string;
209
+ readonly 'timestamp': string;
210
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
211
+ readonly 'description'?: string;
212
+ readonly 'address'?: string;
230
213
  }
231
214
 
232
- interface RatecardRateVersion {
215
+ interface TrackingEventSummary {
233
216
  readonly 'id': string;
217
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
234
218
  readonly 'timestamp': string;
235
- readonly 'type': io.flow.common.v0.enums.ChangeType;
236
- readonly 'ratecard_rate': io.flow.ratecard.v0.models.RatecardRate;
237
219
  }
238
220
 
239
- interface RatecardReference {
221
+ interface TrackingEventVersion {
240
222
  readonly 'id': string;
223
+ readonly 'timestamp': string;
224
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
225
+ readonly 'tracking_event': io.flow.tracking.v0.models.TrackingEventSummary;
241
226
  }
242
227
 
243
- interface RatecardServiceSummary {
244
- readonly 'id': string;
245
- readonly 'name': string;
246
- readonly 'carrier': io.flow.ratecard.v0.models.RatecardCarrierSummary;
228
+ interface TrackingForm {
229
+ readonly 'status'?: io.flow.tracking.v0.enums.TrackingStatus;
230
+ readonly 'order_number'?: string;
231
+ readonly 'attributes'?: Record<string, string>;
232
+ readonly 'window'?: io.flow.common.v0.models.DatetimeRange;
247
233
  }
248
234
 
249
- interface RatecardVersion {
235
+ interface TrackingLabel {
250
236
  readonly 'id': string;
237
+ readonly 'carrier': string;
238
+ readonly 'carrier_tracking_number': string;
239
+ readonly 'events': io.flow.tracking.v0.models.TrackingEvent[];
240
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
251
241
  readonly 'timestamp': string;
252
- readonly 'type': io.flow.common.v0.enums.ChangeType;
253
- readonly 'ratecard': io.flow.ratecard.v0.models.Ratecard;
242
+ readonly 'delivery_estimate'?: string;
243
+ readonly 'description'?: string;
254
244
  }
255
245
 
256
- interface RemoteAreaRatecardFee {
257
- readonly 'discriminator': 'remote_area_ratecard_fee';
258
- readonly 'amount': io.flow.common.v0.models.Money;
246
+ interface TrackingLabelForm {
247
+ readonly 'tracking_id': string;
248
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
249
+ readonly 'carrier': string;
250
+ readonly 'carrier_tracking_number': string;
251
+ readonly 'delivery_estimate'?: string;
252
+ readonly 'description'?: string;
253
+ readonly 'timestamp'?: string;
254
+ readonly 'parent_id'?: string;
259
255
  }
260
256
 
261
- interface RemoteAreaServiceFee {
262
- readonly 'discriminator': 'remote_area_service_fee';
263
- readonly 'amount': io.flow.common.v0.models.Money;
257
+ interface TrackingLabelSummary {
258
+ readonly 'id': string;
259
+ readonly 'tracking': io.flow.tracking.v0.models.TrackingSummary;
260
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
261
+ readonly 'carrier': string;
262
+ readonly 'tracking_number': string;
264
263
  }
265
264
 
266
- interface ReturnPackageRatecardFee {
267
- readonly 'discriminator': 'return_package_ratecard_fee';
268
- readonly 'amount': number;
265
+ interface TrackingLabelVersion {
266
+ readonly 'id': string;
267
+ readonly 'timestamp': string;
268
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
269
+ readonly 'tracking_label': io.flow.tracking.v0.models.TrackingLabelSummary;
269
270
  }
270
271
 
271
- interface ShipmentWindow {
272
- readonly 'from': number;
273
- readonly 'to': number;
272
+ interface TrackingSummary {
273
+ readonly 'id': string;
274
+ readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
275
+ readonly 'order_number'?: string;
274
276
  }
275
- }
276
277
 
277
- declare namespace io.flow.ratecard.v0.unions {
278
- type RatecardEstimate = (io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2);
279
- type RatecardEstimateForm = (io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2);
280
- 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);
281
- type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee);
278
+ interface TrackingVersion {
279
+ readonly 'id': string;
280
+ readonly 'timestamp': string;
281
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
282
+ readonly 'tracking': io.flow.tracking.v0.models.TrackingSummary;
283
+ }
282
284
  }
283
285
 
284
- declare namespace io.flow.bundle.checkout.v0.enums {
285
- 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';
286
- type CheckoutRedirectMethod = 'get' | 'post';
286
+ declare namespace io.flow.experience.v0.enums {
287
+ type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
288
+ type DeliveredDutyDisplayType = 'all' | 'single';
289
+ type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
290
+ type ExperiencePaymentMethodTag = 'display';
291
+ type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
292
+ type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
293
+ type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
294
+ type OrderStatus = 'open' | 'submitted';
295
+ type OrderStorage = 'do_not_persist' | 'persist';
296
+ type OrganizationPaymentMethodTag = 'deny';
297
+ type PaymentMethodRuleContentKey = 'description';
298
+ type PriceFacetBoundary = 'min' | 'max';
299
+ type PromotionTriggerType = 'automatic' | 'order_subtotal';
287
300
  }
288
301
 
289
- declare namespace io.flow.bundle.checkout.v0.models {
290
- interface Checkout {
291
- readonly 'id': string;
292
- readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
293
- readonly 'builder': io.flow.experience.v0.models.OrderBuilder;
294
- readonly 'platform': io.flow.bundle.checkout.v0.models.CheckoutPlatformData;
295
- readonly 'content': io.flow.bundle.checkout.v0.models.CheckoutContent;
296
- readonly 'destinations': io.flow.reference.v0.models.Country[];
297
- readonly 'optins': io.flow.optin.internal.v0.models.OptinPrompt[];
298
- readonly 'addresses': io.flow.experience.v0.models.AddressConfiguration[];
299
- readonly 'features': io.flow.feature.v0.models.FeatureValueResult;
300
- readonly 'configuration': unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
301
- readonly 'cart'?: io.flow.shopify.v0.models.ShopifyCart;
302
- readonly 'customer'?: io.flow.customer.v0.models.Customer;
303
- readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
304
- readonly 'gift_card_program'?: io.flow.experience.internal.v0.models.GiftCardProgram;
305
- readonly 'loyalty_program'?: io.flow.experience.internal.v0.models.LoyaltyProgram;
306
- readonly 'payment': io.flow.bundle.checkout.v0.models.CheckoutPayment;
307
- readonly 'customer_bundle'?: io.flow.customer.v0.models.CustomerBundle;
302
+ declare namespace io.flow.experience.v0.models {
303
+ interface AddressConfiguration {
304
+ readonly 'country': string;
305
+ readonly 'field_validation': io.flow.experience.v0.models.AddressFieldValidation;
306
+ readonly 'provinces': io.flow.experience.v0.models.AddressConfigurationProvince[];
308
307
  }
309
308
 
310
- interface CheckoutBundle {
311
- readonly 'cart'?: io.flow.shopify.v0.models.ShopifyCart;
312
- readonly 'order': io.flow.experience.v0.models.Order;
313
- readonly 'order_errors'?: io.flow.experience.v0.models.OrderError[];
314
- readonly 'checkout'?: io.flow.content.internal.v0.models.CheckoutContentSummary;
315
- readonly 'optins': io.flow.optin.internal.v0.models.OptinPrompt[];
316
- readonly 'destinations': io.flow.reference.v0.models.Country[];
317
- readonly 'features': io.flow.feature.v0.models.FeatureValueResult;
318
- readonly 'provinces': io.flow.reference.v0.models.Province[];
319
- readonly 'checkout_items': io.flow.experience.v0.models.CheckoutItemContent[];
320
- readonly 'metadata'?: io.flow.bundle.checkout.v0.models.CheckoutBundleMetadata;
321
- readonly 'configuration'?: unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
322
- readonly 'address_configurations'?: io.flow.experience.v0.models.AddressConfiguration[];
323
- readonly 'customer'?: io.flow.customer.v0.models.Customer;
324
- readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
325
- readonly 'payment_sources'?: io.flow.payment.v0.unions.PaymentSource[];
326
- readonly 'customer_bundle'?: io.flow.customer.v0.models.CustomerBundle;
309
+ interface AddressConfigurationProvince {
310
+ readonly 'value': string;
311
+ readonly 'name': string;
312
+ readonly 'translations'?: io.flow.experience.v0.models.AddressConfigurationProvinceTranslation[];
327
313
  }
328
314
 
329
- interface CheckoutBundleMetadata {
330
- readonly 'organization': io.flow.common.v0.models.OrganizationSummary;
315
+ interface AddressConfigurationProvinceTranslation {
316
+ readonly 'locale': io.flow.experience.v0.models.AddressConfigurationProvinceTranslationLocale;
317
+ readonly 'name': string;
331
318
  }
332
319
 
333
- interface CheckoutContent {
334
- readonly 'global'?: io.flow.content.internal.v0.models.CheckoutContentSummary;
335
- readonly 'items': io.flow.experience.v0.models.CheckoutItemContent[];
320
+ interface AddressConfigurationProvinceTranslationLocale {
321
+ readonly 'id': string;
322
+ readonly 'name': string;
323
+ readonly 'language': string;
336
324
  }
337
325
 
338
- interface CheckoutError {
339
- readonly 'code': io.flow.bundle.checkout.v0.enums.CheckoutErrorCode;
340
- readonly 'messages': string[];
341
- readonly 'organization'?: io.flow.common.v0.models.OrganizationReference;
342
- readonly 'redirect'?: io.flow.bundle.checkout.v0.models.CheckoutRedirect;
326
+ interface AddressFieldValidation {
327
+ readonly 'first_name': io.flow.field.validation.v0.unions.FieldValidationRule[];
328
+ readonly 'last_name': io.flow.field.validation.v0.unions.FieldValidationRule[];
329
+ readonly 'street_1': io.flow.field.validation.v0.unions.FieldValidationRule[];
330
+ readonly 'street_2': io.flow.field.validation.v0.unions.FieldValidationRule[];
331
+ readonly 'city': io.flow.field.validation.v0.unions.FieldValidationRule[];
332
+ readonly 'province': io.flow.field.validation.v0.unions.FieldValidationRule[];
333
+ readonly 'postal': io.flow.field.validation.v0.unions.FieldValidationRule[];
334
+ readonly 'phone': io.flow.field.validation.v0.unions.FieldValidationRule[];
343
335
  }
344
336
 
345
- interface CheckoutFinalizeOrderForm {
346
- readonly 'expected_order_summary': io.flow.bundle.checkout.v0.models.ExpectedOrderSummary;
347
- readonly 'order_put_form': io.flow.experience.v0.models.OrderPutForm;
337
+ interface Allocation {
338
+ readonly 'order': io.flow.experience.v0.models.AllocationOrderSummary;
339
+ readonly 'details': io.flow.experience.v0.unions.AllocationDetail[];
348
340
  }
349
341
 
350
- interface CheckoutOrderForm {
351
- readonly 'discriminator': 'order';
352
- readonly 'organization': string;
353
- readonly 'order': io.flow.experience.v0.models.OrderForm;
354
- readonly 'customer'?: io.flow.customer.v0.models.CustomerForm;
355
- readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBookForm;
356
- readonly 'payment_sources'?: io.flow.payment.v0.unions.PaymentSourceForm[];
357
- readonly 'urls'?: io.flow.checkout.v0.models.CheckoutUrlsForm;
358
- readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
359
- readonly 'feature_keys'?: string[];
360
- readonly 'order_parameters'?: io.flow.bundle.checkout.v0.models.OrderParameters;
361
- }
362
-
363
- interface CheckoutOrderNumberForm {
364
- readonly 'discriminator': 'order_number';
365
- readonly 'organization': string;
366
- readonly 'order_number': string;
367
- readonly 'customer'?: io.flow.customer.v0.models.CustomerForm;
368
- readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBookForm;
369
- readonly 'payment_sources'?: io.flow.payment.v0.unions.PaymentSourceForm[];
370
- readonly 'urls'?: io.flow.checkout.v0.models.CheckoutUrlsForm;
371
- readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
372
- readonly 'feature_keys'?: string[];
373
- readonly 'order_parameters'?: io.flow.bundle.checkout.v0.models.OrderParameters;
342
+ interface AllocationDetailComponent {
343
+ readonly 'discriminator': 'allocation_detail_component';
344
+ readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
345
+ readonly 'total': io.flow.common.v0.models.PriceWithBase;
346
+ readonly 'price'?: io.flow.common.v0.models.PriceWithBase;
374
347
  }
375
348
 
376
- interface CheckoutOrderSummary {
377
- readonly 'lines': io.flow.bundle.checkout.v0.models.CheckoutOrderSummaryLine[];
349
+ interface AllocationLevyComponent {
350
+ readonly 'discriminator': 'allocation_levy_component';
351
+ readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
352
+ readonly 'total': io.flow.common.v0.models.PriceWithBase;
353
+ readonly 'rate': number;
354
+ readonly 'name': string;
355
+ readonly 'price'?: io.flow.common.v0.models.PriceWithBase;
356
+ readonly 'accuracy'?: io.flow.price.v0.enums.PriceAccuracy;
357
+ readonly 'basis'?: io.flow.common.v0.models.MoneyWithBase;
378
358
  }
379
359
 
380
- interface CheckoutOrderSummaryLine {
381
- readonly 'item': io.flow.common.v0.models.ItemReference;
360
+ interface AllocationLineDetail {
361
+ readonly 'discriminator': 'allocation_line_detail';
362
+ readonly 'number': string;
382
363
  readonly 'quantity': number;
364
+ readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailKey;
365
+ readonly 'price': io.flow.common.v0.models.PriceWithBase;
366
+ readonly 'total': io.flow.common.v0.models.PriceWithBase;
367
+ readonly 'included': io.flow.experience.v0.unions.AllocationComponent[];
368
+ readonly 'not_included': io.flow.experience.v0.unions.AllocationComponent[];
383
369
  }
384
370
 
385
- interface CheckoutPayment {
386
- readonly 'authorizations': io.flow.payment.v0.unions.Authorization[];
387
- readonly 'sources': io.flow.payment.v0.unions.PaymentSource[];
388
- readonly 'public_key': io.flow.payment.v0.models.PublicKey;
389
- readonly 'method_types': io.flow.reference.v0.enums.PaymentMethodType[];
390
- readonly 'method_rules': io.flow.experience.v0.models.PaymentMethodRule[];
391
- readonly 'authorization_parameters': io.flow.payment.internal.v0.models.AuthorizationParameters[];
371
+ interface AllocationOrderDetail {
372
+ readonly 'discriminator': 'allocation_order_detail';
373
+ readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailKey;
374
+ readonly 'total': io.flow.common.v0.models.PriceWithBase;
375
+ readonly 'included': io.flow.experience.v0.unions.AllocationComponent[];
376
+ readonly 'not_included': io.flow.experience.v0.unions.AllocationComponent[];
392
377
  }
393
378
 
394
- interface CheckoutPlatformData {
395
- readonly 'order_number'?: string;
379
+ interface AllocationOrderSummary {
380
+ readonly 'id': string;
381
+ readonly 'number': string;
382
+ readonly 'submitted_at'?: string;
396
383
  }
397
384
 
398
- interface CheckoutRedirect {
399
- readonly 'method': io.flow.bundle.checkout.v0.enums.CheckoutRedirectMethod;
400
- readonly 'url': string;
401
- readonly 'body'?: string;
385
+ interface AllocationV2 {
386
+ readonly 'id': string;
387
+ readonly 'order': io.flow.experience.v0.models.AllocationOrderSummary;
388
+ readonly 'details': io.flow.experience.v0.unions.AllocationDetail[];
389
+ readonly 'total': io.flow.catalog.v0.models.LocalizedTotal;
402
390
  }
403
391
 
404
- interface CheckoutReferenceForm {
405
- readonly 'order_number': string;
406
- readonly 'order_form': io.flow.experience.v0.models.OrderPutForm;
407
- readonly 'order_geo': io.flow.experience.v0.models.OrderGeo;
408
- readonly 'session_id': string;
409
- readonly 'urls'?: io.flow.checkout.v0.models.CheckoutUrlsForm;
410
- readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
392
+ interface AvailablePromotion {
393
+ readonly 'id': string;
394
+ readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
395
+ readonly 'region': io.flow.experience.v0.models.RegionReference;
396
+ readonly 'promotions': io.flow.experience.v0.unions.Promotion[];
411
397
  }
412
398
 
413
- interface CheckoutSourceOrderForm {
414
- readonly 'source_order_number': string;
415
- readonly 'feature_q'?: string;
399
+ interface CheckoutAttribute {
400
+ readonly 'id': string;
401
+ readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
402
+ readonly 'key': string;
403
+ readonly 'name': string;
404
+ readonly 'attribute_keys': string[];
405
+ readonly 'position': number;
416
406
  }
417
407
 
418
- interface CheckoutSubmission {
419
- readonly 'builder': io.flow.experience.v0.models.OrderBuilder;
420
- readonly 'action'?: io.flow.payment.v0.unions.AuthorizationResultAction;
408
+ interface CheckoutAttributeForm {
409
+ readonly 'key': string;
410
+ readonly 'name'?: string;
411
+ readonly 'experience_key': string;
412
+ readonly 'attribute_keys': string[];
413
+ readonly 'position'?: number;
421
414
  }
422
415
 
423
- interface CheckoutSubmissionForm {
424
- readonly 'authorization_form'?: io.flow.payment.v0.unions.AuthorizationForm;
425
- readonly 'expected_order_summary'?: io.flow.bundle.checkout.v0.models.ExpectedOrderSummary;
426
- readonly 'feature_keys'?: string[];
416
+ interface CheckoutItemContent {
417
+ readonly 'item': io.flow.catalog.v0.models.Item;
418
+ readonly 'name': string;
419
+ readonly 'description'?: string;
420
+ readonly 'attributes': io.flow.experience.v0.models.CheckoutItemContentAttribute[];
421
+ readonly 'image'?: io.flow.catalog.v0.models.Image;
427
422
  }
428
423
 
429
- interface CheckoutSubmitOrderBundle {
430
- readonly 'discriminator': 'checkout_submit_order_bundle';
431
- readonly 'order'?: io.flow.experience.v0.models.Order;
432
- readonly 'redirect'?: io.flow.payment.v0.unions.AuthorizationResultAction;
433
- readonly 'errors'?: io.flow.experience.v0.models.OrderError[];
424
+ interface CheckoutItemContentAttribute {
425
+ readonly 'key': string;
426
+ readonly 'name': string;
427
+ readonly 'value': string;
434
428
  }
435
429
 
436
- interface CheckoutSubmitOrderForm {
437
- readonly 'discriminator': 'checkout_submit_order_form';
438
- readonly 'authorization_form'?: io.flow.payment.v0.unions.AuthorizationForm;
439
- readonly 'expected_order_summary'?: io.flow.bundle.checkout.v0.models.ExpectedOrderSummary;
430
+ interface CheckoutSettings {
431
+ readonly 'configuration': io.flow.experience.v0.models.ExperienceConfigurationReference;
440
432
  }
441
433
 
442
- interface ExpectedOrderSummary {
443
- readonly 'total'?: io.flow.common.v0.models.Money;
434
+ interface CreditPayment {
435
+ readonly 'id': string;
436
+ readonly 'order': io.flow.experience.v0.unions.ExpandableOrder;
437
+ readonly 'key': string;
438
+ readonly 'description': string;
439
+ readonly 'value': io.flow.common.v0.models.PriceWithBase;
440
+ readonly 'original': io.flow.experience.v0.models.OriginalPrices;
441
+ readonly 'attributes': Record<string, string>;
444
442
  }
445
443
 
446
- interface InvalidCheckoutData {
447
- readonly 'order': io.flow.experience.v0.models.OrderPutForm;
444
+ interface CreditPaymentError {
445
+ readonly 'code': io.flow.experience.v0.enums.CreditPaymentErrorCode;
446
+ readonly 'messages': string[];
447
+ readonly 'codes': io.flow.experience.v0.enums.CreditPaymentErrorCode[];
448
448
  }
449
449
 
450
- interface OrderParameters {
451
- readonly 'experience'?: string;
452
- readonly 'country'?: string;
453
- readonly 'ip'?: string;
454
- readonly 'currency'?: string;
455
- readonly 'language'?: string;
450
+ interface CreditPaymentForm {
451
+ readonly 'order_number': string;
452
+ readonly 'description': string;
453
+ readonly 'amount': number;
454
+ readonly 'max': number;
455
+ readonly 'currency': string;
456
+ readonly 'attributes'?: Record<string, string>;
456
457
  }
457
- }
458
-
459
- declare namespace io.flow.bundle.checkout.v0.unions {
460
- type CheckoutForm = (io.flow.bundle.checkout.v0.models.CheckoutOrderForm | io.flow.bundle.checkout.v0.models.CheckoutOrderNumberForm);
461
- type CheckoutSubmitOrderBundles = (io.flow.bundle.checkout.v0.models.CheckoutSubmitOrderBundle);
462
- type CheckoutSubmitOrderForms = (io.flow.bundle.checkout.v0.models.CheckoutSubmitOrderForm);
463
- }
464
458
 
465
- declare namespace io.flow.tracking.v0.enums {
466
- type TrackingStatus = 'label_created' | 'pending' | 'info_received' | 'picked_up' | 'in_transit' | 'out_for_delivery' | 'attempt_fail' | 'delivered' | 'exception' | 'returned' | 'expired';
467
- }
468
-
469
- declare namespace io.flow.tracking.v0.models {
470
- interface Tracking {
459
+ interface CreditPaymentVersion {
471
460
  readonly 'id': string;
472
- readonly 'labels': io.flow.tracking.v0.models.TrackingLabel[];
473
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
474
- readonly 'attributes': Record<string, string>;
475
- readonly 'url': string;
476
- readonly 'window'?: io.flow.common.v0.models.DatetimeRange;
477
- readonly 'order_number'?: string;
461
+ readonly 'timestamp': string;
462
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
463
+ readonly 'credit_payment': io.flow.experience.v0.models.CreditPayment;
478
464
  }
479
465
 
480
- interface TrackingEvent {
481
- readonly 'id': string;
482
- readonly 'address': io.flow.common.v0.models.Address;
483
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
484
- readonly 'timestamp': string;
485
- readonly 'description'?: string;
466
+ interface DeliveredDutySetting {
467
+ readonly 'default': io.flow.common.v0.enums.DeliveredDuty;
468
+ readonly 'available': io.flow.common.v0.enums.DeliveredDuty[];
469
+ readonly 'display'?: io.flow.experience.v0.enums.DeliveredDutyDisplayType;
486
470
  }
487
471
 
488
- interface TrackingEventForm {
489
- readonly 'tracking_label_id': string;
490
- readonly 'timestamp': string;
491
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
492
- readonly 'description'?: string;
493
- readonly 'address'?: string;
472
+ interface Discount {
473
+ readonly 'discriminator': 'discount';
474
+ readonly 'id': string;
475
+ readonly 'code'?: string;
476
+ readonly 'label': string;
477
+ readonly 'price': io.flow.common.v0.models.PriceWithBase;
478
+ readonly 'attributes'?: Record<string, string>;
494
479
  }
495
480
 
496
- interface TrackingEventSummary {
481
+ interface Experience {
482
+ readonly 'discriminator': 'experience';
497
483
  readonly 'id': string;
498
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
499
- readonly 'timestamp': string;
484
+ readonly 'key': string;
485
+ readonly 'name': string;
486
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
487
+ readonly 'region': io.flow.experience.v0.models.RegionReference;
488
+ readonly 'country': string;
489
+ readonly 'currency': string;
490
+ readonly 'language': string;
491
+ readonly 'measurement_system': io.flow.common.v0.enums.MeasurementSystem;
492
+ readonly 'subcatalog': io.flow.catalog.v0.models.SubcatalogReference;
493
+ readonly 'position': number;
494
+ readonly 'settings': io.flow.experience.v0.models.ExperienceSettings;
495
+ readonly 'status'?: io.flow.experience.v0.enums.ExperienceStatus;
500
496
  }
501
497
 
502
- interface TrackingEventVersion {
498
+ interface ExperienceCheckoutSettings {
503
499
  readonly 'id': string;
504
- readonly 'timestamp': string;
505
- readonly 'type': io.flow.common.v0.enums.ChangeType;
506
- readonly 'tracking_event': io.flow.tracking.v0.models.TrackingEventSummary;
500
+ readonly 'experience': io.flow.experience.v0.models.ExperienceOverview;
501
+ readonly 'checkout_configuration': io.flow.experience.v0.models.ExperienceConfigurationReference;
507
502
  }
508
503
 
509
- interface TrackingForm {
510
- readonly 'status'?: io.flow.tracking.v0.enums.TrackingStatus;
511
- readonly 'order_number'?: string;
512
- readonly 'attributes'?: Record<string, string>;
513
- readonly 'window'?: io.flow.common.v0.models.DatetimeRange;
504
+ interface ExperienceCheckoutSettingsForm {
505
+ readonly 'checkout_configuration_id': string;
514
506
  }
515
507
 
516
- interface TrackingLabel {
508
+ interface ExperienceClone {
517
509
  readonly 'id': string;
518
- readonly 'carrier': string;
519
- readonly 'carrier_tracking_number': string;
520
- readonly 'events': io.flow.tracking.v0.models.TrackingEvent[];
521
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
522
- readonly 'timestamp': string;
523
- readonly 'delivery_estimate'?: string;
524
- readonly 'description'?: string;
510
+ readonly 'source_experience': io.flow.experience.v0.models.ExperienceReference;
511
+ readonly 'cloned_experience'?: io.flow.experience.v0.models.ExperienceReference;
512
+ readonly 'status': io.flow.experience.v0.enums.ExperienceCloneStatus;
525
513
  }
526
514
 
527
- interface TrackingLabelForm {
528
- readonly 'tracking_id': string;
529
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
530
- readonly 'carrier': string;
531
- readonly 'carrier_tracking_number': string;
532
- readonly 'delivery_estimate'?: string;
533
- readonly 'description'?: string;
534
- readonly 'timestamp'?: string;
535
- readonly 'parent_id'?: string;
515
+ interface ExperienceCloneForm {
516
+ readonly 'name'?: string;
536
517
  }
537
518
 
538
- interface TrackingLabelSummary {
519
+ interface ExperienceConfigurationReference {
539
520
  readonly 'id': string;
540
- readonly 'tracking': io.flow.tracking.v0.models.TrackingSummary;
541
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
542
- readonly 'carrier': string;
543
- readonly 'tracking_number': string;
544
- }
545
-
546
- interface TrackingLabelVersion {
547
- readonly 'id': string;
548
- readonly 'timestamp': string;
549
- readonly 'type': io.flow.common.v0.enums.ChangeType;
550
- readonly 'tracking_label': io.flow.tracking.v0.models.TrackingLabelSummary;
551
521
  }
552
522
 
553
- interface TrackingSummary {
554
- readonly 'id': string;
555
- readonly 'status': io.flow.tracking.v0.enums.TrackingStatus;
556
- readonly 'order_number'?: string;
523
+ interface ExperienceCurrencyFormat {
524
+ readonly 'symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
525
+ readonly 'label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
557
526
  }
558
527
 
559
- interface TrackingVersion {
560
- readonly 'id': string;
561
- readonly 'timestamp': string;
562
- readonly 'type': io.flow.common.v0.enums.ChangeType;
563
- readonly 'tracking': io.flow.tracking.v0.models.TrackingSummary;
528
+ interface ExperienceCurrencyFormatForm {
529
+ readonly 'symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
530
+ readonly 'label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
564
531
  }
565
- }
566
-
567
- declare namespace io.flow.experience.v0.enums {
568
- type CreditPaymentErrorCode = 'generic_error' | 'invalid_order_number' | 'invalid_currency' | 'invalid_description' | 'duplicate' | 'amount_must_be_positive' | 'amount_exceeds_balance' | 'insufficient_amount';
569
- type DeliveredDutyDisplayType = 'all' | 'single';
570
- type ExperienceCloneStatus = 'pending' | 'updating' | 'completed' | 'failed';
571
- type ExperiencePaymentMethodTag = 'display';
572
- type ExperienceStatus = 'draft' | 'active' | 'archiving' | 'archived';
573
- type OrderErrorCode = 'generic_error' | 'order_item_not_available' | 'order_identifier_error' | 'authorization_invalid' | 'domestic_shipping_unavailable' | 'shipping_unavailable' | 'value_threshold_exceeded' | 'invalid_currency' | 'invalid_country' | 'invalid_region' | 'invalid_language' | 'item_out_of_stock' | 'gift_card_not_accepted' | 'total_changed';
574
- type OrderPaymentType = 'card' | 'online' | 'credit' | 'installment_plan' | 'cash_on_delivery';
575
- type OrderStatus = 'open' | 'submitted';
576
- type OrderStorage = 'do_not_persist' | 'persist';
577
- type OrganizationPaymentMethodTag = 'deny';
578
- type PaymentMethodRuleContentKey = 'description';
579
- type PriceFacetBoundary = 'min' | 'max';
580
- type PromotionTriggerType = 'automatic' | 'order_subtotal';
581
- }
582
532
 
583
- declare namespace io.flow.experience.v0.models {
584
- interface AddressConfiguration {
533
+ interface ExperienceDefaults {
534
+ readonly 'key': string;
535
+ readonly 'name': string;
536
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
585
537
  readonly 'country': string;
586
- readonly 'field_validation': io.flow.experience.v0.models.AddressFieldValidation;
587
- readonly 'provinces': io.flow.experience.v0.models.AddressConfigurationProvince[];
538
+ readonly 'currency': string;
539
+ readonly 'language': string;
540
+ readonly 'measurement_system': io.flow.common.v0.enums.MeasurementSystem;
588
541
  }
589
542
 
590
- interface AddressConfigurationProvince {
591
- readonly 'value': string;
543
+ interface ExperienceForm {
544
+ readonly 'region_id': string;
592
545
  readonly 'name': string;
593
- readonly 'translations'?: io.flow.experience.v0.models.AddressConfigurationProvinceTranslation[];
546
+ readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
547
+ readonly 'country'?: string;
548
+ readonly 'currency'?: string;
549
+ readonly 'language'?: string;
550
+ readonly 'key'?: string;
551
+ readonly 'measurement_system'?: io.flow.common.v0.enums.MeasurementSystem;
552
+ readonly 'subcatalog_id'?: string;
594
553
  }
595
554
 
596
- interface AddressConfigurationProvinceTranslation {
597
- readonly 'locale': io.flow.experience.v0.models.AddressConfigurationProvinceTranslationLocale;
555
+ interface ExperienceGeo {
556
+ readonly 'key': string;
598
557
  readonly 'name': string;
558
+ readonly 'region': io.flow.experience.v0.models.RegionReference;
559
+ readonly 'country': string;
560
+ readonly 'currency': string;
561
+ readonly 'language': string;
562
+ readonly 'measurement_system': io.flow.common.v0.enums.MeasurementSystem;
599
563
  }
600
564
 
601
- interface AddressConfigurationProvinceTranslationLocale {
565
+ interface ExperienceLogisticsSettings {
602
566
  readonly 'id': string;
603
- readonly 'name': string;
604
- readonly 'language': string;
567
+ readonly 'experience': io.flow.experience.v0.models.ExperienceOverview;
568
+ readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
605
569
  }
606
570
 
607
- interface AddressFieldValidation {
608
- readonly 'first_name': io.flow.field.validation.v0.unions.FieldValidationRule[];
609
- readonly 'last_name': io.flow.field.validation.v0.unions.FieldValidationRule[];
610
- readonly 'street_1': io.flow.field.validation.v0.unions.FieldValidationRule[];
611
- readonly 'street_2': io.flow.field.validation.v0.unions.FieldValidationRule[];
612
- readonly 'city': io.flow.field.validation.v0.unions.FieldValidationRule[];
613
- readonly 'province': io.flow.field.validation.v0.unions.FieldValidationRule[];
614
- readonly 'postal': io.flow.field.validation.v0.unions.FieldValidationRule[];
615
- readonly 'phone': io.flow.field.validation.v0.unions.FieldValidationRule[];
571
+ interface ExperienceLogisticsSettingsPutForm {
572
+ readonly 'shipping_configuration_key': string;
616
573
  }
617
574
 
618
- interface Allocation {
619
- readonly 'order': io.flow.experience.v0.models.AllocationOrderSummary;
620
- readonly 'details': io.flow.experience.v0.unions.AllocationDetail[];
575
+ interface ExperienceLogisticsSummary {
576
+ readonly 'outbound'?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary;
577
+ readonly 'return'?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary;
621
578
  }
622
579
 
623
- interface AllocationDetailComponent {
624
- readonly 'discriminator': 'allocation_detail_component';
625
- readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
626
- readonly 'total': io.flow.common.v0.models.PriceWithBase;
627
- readonly 'price'?: io.flow.common.v0.models.PriceWithBase;
580
+ interface ExperienceLogisticsTierSummary {
581
+ readonly 'prices': io.flow.experience.v0.models.ExperienceLogisticsTierSummaryPrices;
628
582
  }
629
583
 
630
- interface AllocationLevyComponent {
631
- readonly 'discriminator': 'allocation_levy_component';
632
- readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailComponentKey;
633
- readonly 'total': io.flow.common.v0.models.PriceWithBase;
634
- readonly 'rate': number;
635
- readonly 'name': string;
636
- readonly 'price'?: io.flow.common.v0.models.PriceWithBase;
637
- readonly 'accuracy'?: io.flow.price.v0.enums.PriceAccuracy;
638
- readonly 'basis'?: io.flow.common.v0.models.MoneyWithBase;
584
+ interface ExperienceLogisticsTierSummaryPrices {
585
+ readonly 'minimum': io.flow.common.v0.models.Price;
639
586
  }
640
587
 
641
- interface AllocationLineDetail {
642
- readonly 'discriminator': 'allocation_line_detail';
643
- readonly 'number': string;
644
- readonly 'quantity': number;
645
- readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailKey;
646
- readonly 'price': io.flow.common.v0.models.PriceWithBase;
647
- readonly 'total': io.flow.common.v0.models.PriceWithBase;
648
- readonly 'included': io.flow.experience.v0.unions.AllocationComponent[];
649
- readonly 'not_included': io.flow.experience.v0.unions.AllocationComponent[];
588
+ interface ExperienceOverview {
589
+ readonly 'id': string;
590
+ readonly 'key': string;
650
591
  }
651
592
 
652
- interface AllocationOrderDetail {
653
- readonly 'discriminator': 'allocation_order_detail';
654
- readonly 'key': io.flow.order.price.v0.enums.OrderPriceDetailKey;
655
- readonly 'total': io.flow.common.v0.models.PriceWithBase;
656
- readonly 'included': io.flow.experience.v0.unions.AllocationComponent[];
657
- readonly 'not_included': io.flow.experience.v0.unions.AllocationComponent[];
593
+ interface ExperiencePaymentMethodRuleForm {
594
+ readonly 'payment_method_id': string;
595
+ readonly 'tags': io.flow.experience.v0.enums.ExperiencePaymentMethodTag[];
596
+ readonly 'q'?: string;
658
597
  }
659
598
 
660
- interface AllocationOrderSummary {
599
+ interface ExperiencePriceBookMapping {
661
600
  readonly 'id': string;
662
- readonly 'number': string;
663
- readonly 'submitted_at'?: string;
601
+ readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
602
+ readonly 'price_book': io.flow.price.v0.models.PriceBookReference;
603
+ readonly 'position': number;
664
604
  }
665
605
 
666
- interface AllocationV2 {
667
- readonly 'id': string;
668
- readonly 'order': io.flow.experience.v0.models.AllocationOrderSummary;
669
- readonly 'details': io.flow.experience.v0.unions.AllocationDetail[];
670
- readonly 'total': io.flow.catalog.v0.models.LocalizedTotal;
606
+ interface ExperiencePriceBookMappingForm {
607
+ readonly 'price_book_key': string;
608
+ readonly 'position'?: number;
671
609
  }
672
610
 
673
- interface AvailablePromotion {
674
- readonly 'id': string;
675
- readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
676
- readonly 'region': io.flow.experience.v0.models.RegionReference;
677
- readonly 'promotions': io.flow.experience.v0.unions.Promotion[];
611
+ interface ExperiencePriceBookMappingPutForm {
612
+ readonly 'price_books': io.flow.experience.v0.models.ExperiencePriceBookMappingForm[];
678
613
  }
679
614
 
680
- interface CheckoutAttribute {
681
- readonly 'id': string;
682
- readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
683
- readonly 'key': string;
684
- readonly 'name': string;
685
- readonly 'attribute_keys': string[];
686
- readonly 'position': number;
615
+ interface ExperiencePriceConversion {
616
+ readonly 'request': io.flow.experience.v0.models.ExperiencePriceConversionRequest;
617
+ readonly 'price': io.flow.common.v0.models.PriceWithBase;
687
618
  }
688
619
 
689
- interface CheckoutAttributeForm {
690
- readonly 'key': string;
691
- readonly 'name'?: string;
692
- readonly 'experience_key': string;
693
- readonly 'attribute_keys': string[];
694
- readonly 'position'?: number;
620
+ interface ExperiencePriceConversionRequest {
621
+ readonly 'value': number;
622
+ readonly 'base': string;
623
+ readonly 'local': string;
695
624
  }
696
625
 
697
- interface CheckoutItemContent {
698
- readonly 'item': io.flow.catalog.v0.models.Item;
699
- readonly 'name': string;
700
- readonly 'description'?: string;
701
- readonly 'attributes': io.flow.experience.v0.models.CheckoutItemContentAttribute[];
702
- readonly 'image'?: io.flow.catalog.v0.models.Image;
626
+ interface ExperiencePriceConversionResponse {
627
+ readonly 'prices': io.flow.experience.v0.models.ExperiencePriceConversion[];
703
628
  }
704
629
 
705
- interface CheckoutItemContentAttribute {
706
- readonly 'key': string;
707
- readonly 'name': string;
708
- readonly 'value': string;
630
+ interface ExperiencePriceFacetConversion {
631
+ readonly 'request': io.flow.experience.v0.models.ExperiencePriceFacetConversionRequest;
632
+ readonly 'price': io.flow.common.v0.models.PriceWithBase;
709
633
  }
710
634
 
711
- interface CheckoutSettings {
712
- readonly 'configuration': io.flow.experience.v0.models.ExperienceConfigurationReference;
635
+ interface ExperiencePriceFacetConversionRequest {
636
+ readonly 'boundary': io.flow.experience.v0.enums.PriceFacetBoundary;
637
+ readonly 'value': number;
638
+ readonly 'base': string;
639
+ readonly 'local': string;
713
640
  }
714
641
 
715
- interface CreditPayment {
716
- readonly 'id': string;
717
- readonly 'order': io.flow.experience.v0.unions.ExpandableOrder;
642
+ interface ExperiencePriceFacetConversionResponse {
643
+ readonly 'facets': io.flow.experience.v0.models.ExperiencePriceFacetConversion[];
644
+ }
645
+
646
+ interface ExperienceReference {
647
+ readonly 'discriminator': 'experience_reference';
718
648
  readonly 'key': string;
719
- readonly 'description': string;
720
- readonly 'value': io.flow.common.v0.models.PriceWithBase;
721
- readonly 'original': io.flow.experience.v0.models.OriginalPrices;
722
- readonly 'attributes': Record<string, string>;
723
649
  }
724
650
 
725
- interface CreditPaymentError {
726
- readonly 'code': io.flow.experience.v0.enums.CreditPaymentErrorCode;
727
- readonly 'messages': string[];
728
- readonly 'codes': io.flow.experience.v0.enums.CreditPaymentErrorCode[];
651
+ interface ExperienceSettings {
652
+ readonly 'delivered_duty': io.flow.experience.v0.models.DeliveredDutySetting;
653
+ readonly 'pricing_settings'?: io.flow.experience.v0.models.PricingSettings;
654
+ readonly 'logistics_settings'?: io.flow.experience.v0.models.LogisticsSettings;
655
+ readonly 'checkout_settings'?: io.flow.experience.v0.models.CheckoutSettings;
729
656
  }
730
657
 
731
- interface CreditPaymentForm {
732
- readonly 'order_number': string;
733
- readonly 'description': string;
734
- readonly 'amount': number;
735
- readonly 'max': number;
736
- readonly 'currency': string;
737
- readonly 'attributes'?: Record<string, string>;
658
+ interface ExperienceStatusForm {
659
+ readonly 'status': io.flow.experience.v0.enums.ExperienceStatus;
738
660
  }
739
661
 
740
- interface CreditPaymentVersion {
662
+ interface ExperienceVersion {
741
663
  readonly 'id': string;
742
664
  readonly 'timestamp': string;
743
665
  readonly 'type': io.flow.common.v0.enums.ChangeType;
744
- readonly 'credit_payment': io.flow.experience.v0.models.CreditPayment;
666
+ readonly 'experience': io.flow.experience.v0.models.Experience;
745
667
  }
746
668
 
747
- interface DeliveredDutySetting {
748
- readonly 'default': io.flow.common.v0.enums.DeliveredDuty;
749
- readonly 'available': io.flow.common.v0.enums.DeliveredDuty[];
750
- readonly 'display'?: io.flow.experience.v0.enums.DeliveredDutyDisplayType;
669
+ interface FreeShipping {
670
+ readonly 'discriminator': 'free_shipping';
671
+ readonly 'trigger': io.flow.experience.v0.models.PromotionTrigger;
672
+ readonly 'max'?: io.flow.common.v0.models.Price;
751
673
  }
752
674
 
753
- interface Discount {
754
- readonly 'discriminator': 'discount';
755
- readonly 'id': string;
756
- readonly 'code'?: string;
757
- readonly 'label': string;
758
- readonly 'price': io.flow.common.v0.models.PriceWithBase;
759
- readonly 'attributes'?: Record<string, string>;
760
- }
761
-
762
- interface Experience {
763
- readonly 'discriminator': 'experience';
764
- readonly 'id': string;
765
- readonly 'key': string;
766
- readonly 'name': string;
767
- readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
768
- readonly 'region': io.flow.experience.v0.models.RegionReference;
769
- readonly 'country': string;
770
- readonly 'currency': string;
771
- readonly 'language': string;
772
- readonly 'measurement_system': io.flow.common.v0.enums.MeasurementSystem;
773
- readonly 'subcatalog': io.flow.catalog.v0.models.SubcatalogReference;
774
- readonly 'position': number;
775
- readonly 'settings': io.flow.experience.v0.models.ExperienceSettings;
776
- readonly 'status'?: io.flow.experience.v0.enums.ExperienceStatus;
777
- }
778
-
779
- interface ExperienceCheckoutSettings {
780
- readonly 'id': string;
781
- readonly 'experience': io.flow.experience.v0.models.ExperienceOverview;
782
- readonly 'checkout_configuration': io.flow.experience.v0.models.ExperienceConfigurationReference;
783
- }
784
-
785
- interface ExperienceCheckoutSettingsForm {
786
- readonly 'checkout_configuration_id': string;
787
- }
788
-
789
- interface ExperienceClone {
790
- readonly 'id': string;
791
- readonly 'source_experience': io.flow.experience.v0.models.ExperienceReference;
792
- readonly 'cloned_experience'?: io.flow.experience.v0.models.ExperienceReference;
793
- readonly 'status': io.flow.experience.v0.enums.ExperienceCloneStatus;
794
- }
795
-
796
- interface ExperienceCloneForm {
797
- readonly 'name'?: string;
798
- }
799
-
800
- interface ExperienceConfigurationReference {
801
- readonly 'id': string;
802
- }
803
-
804
- interface ExperienceCurrencyFormat {
805
- readonly 'symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
806
- readonly 'label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
807
- }
808
-
809
- interface ExperienceCurrencyFormatForm {
810
- readonly 'symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
811
- readonly 'label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
812
- }
813
-
814
- interface ExperienceDefaults {
815
- readonly 'key': string;
816
- readonly 'name': string;
817
- readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
818
- readonly 'country': string;
819
- readonly 'currency': string;
820
- readonly 'language': string;
821
- readonly 'measurement_system': io.flow.common.v0.enums.MeasurementSystem;
822
- }
823
-
824
- interface ExperienceForm {
825
- readonly 'region_id': string;
826
- readonly 'name': string;
827
- readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
828
- readonly 'country'?: string;
829
- readonly 'currency'?: string;
830
- readonly 'language'?: string;
831
- readonly 'key'?: string;
832
- readonly 'measurement_system'?: io.flow.common.v0.enums.MeasurementSystem;
833
- readonly 'subcatalog_id'?: string;
834
- }
835
-
836
- interface ExperienceGeo {
837
- readonly 'key': string;
838
- readonly 'name': string;
839
- readonly 'region': io.flow.experience.v0.models.RegionReference;
840
- readonly 'country': string;
841
- readonly 'currency': string;
842
- readonly 'language': string;
843
- readonly 'measurement_system': io.flow.common.v0.enums.MeasurementSystem;
844
- }
845
-
846
- interface ExperienceLogisticsSettings {
847
- readonly 'id': string;
848
- readonly 'experience': io.flow.experience.v0.models.ExperienceOverview;
849
- readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
850
- }
851
-
852
- interface ExperienceLogisticsSettingsPutForm {
853
- readonly 'shipping_configuration_key': string;
854
- }
855
-
856
- interface ExperienceLogisticsSummary {
857
- readonly 'outbound'?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary;
858
- readonly 'return'?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary;
859
- }
860
-
861
- interface ExperienceLogisticsTierSummary {
862
- readonly 'prices': io.flow.experience.v0.models.ExperienceLogisticsTierSummaryPrices;
863
- }
864
-
865
- interface ExperienceLogisticsTierSummaryPrices {
866
- readonly 'minimum': io.flow.common.v0.models.Price;
867
- }
868
-
869
- interface ExperienceOverview {
870
- readonly 'id': string;
871
- readonly 'key': string;
872
- }
873
-
874
- interface ExperiencePaymentMethodRuleForm {
875
- readonly 'payment_method_id': string;
876
- readonly 'tags': io.flow.experience.v0.enums.ExperiencePaymentMethodTag[];
877
- readonly 'q'?: string;
878
- }
879
-
880
- interface ExperiencePriceBookMapping {
881
- readonly 'id': string;
882
- readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
883
- readonly 'price_book': io.flow.price.v0.models.PriceBookReference;
884
- readonly 'position': number;
885
- }
886
-
887
- interface ExperiencePriceBookMappingForm {
888
- readonly 'price_book_key': string;
889
- readonly 'position'?: number;
890
- }
891
-
892
- interface ExperiencePriceBookMappingPutForm {
893
- readonly 'price_books': io.flow.experience.v0.models.ExperiencePriceBookMappingForm[];
894
- }
895
-
896
- interface ExperiencePriceConversion {
897
- readonly 'request': io.flow.experience.v0.models.ExperiencePriceConversionRequest;
898
- readonly 'price': io.flow.common.v0.models.PriceWithBase;
899
- }
900
-
901
- interface ExperiencePriceConversionRequest {
902
- readonly 'value': number;
903
- readonly 'base': string;
904
- readonly 'local': string;
905
- }
906
-
907
- interface ExperiencePriceConversionResponse {
908
- readonly 'prices': io.flow.experience.v0.models.ExperiencePriceConversion[];
909
- }
910
-
911
- interface ExperiencePriceFacetConversion {
912
- readonly 'request': io.flow.experience.v0.models.ExperiencePriceFacetConversionRequest;
913
- readonly 'price': io.flow.common.v0.models.PriceWithBase;
914
- }
915
-
916
- interface ExperiencePriceFacetConversionRequest {
917
- readonly 'boundary': io.flow.experience.v0.enums.PriceFacetBoundary;
918
- readonly 'value': number;
919
- readonly 'base': string;
920
- readonly 'local': string;
921
- }
922
-
923
- interface ExperiencePriceFacetConversionResponse {
924
- readonly 'facets': io.flow.experience.v0.models.ExperiencePriceFacetConversion[];
925
- }
926
-
927
- interface ExperienceReference {
928
- readonly 'discriminator': 'experience_reference';
929
- readonly 'key': string;
930
- }
931
-
932
- interface ExperienceSettings {
933
- readonly 'delivered_duty': io.flow.experience.v0.models.DeliveredDutySetting;
934
- readonly 'pricing_settings'?: io.flow.experience.v0.models.PricingSettings;
935
- readonly 'logistics_settings'?: io.flow.experience.v0.models.LogisticsSettings;
936
- readonly 'checkout_settings'?: io.flow.experience.v0.models.CheckoutSettings;
937
- }
938
-
939
- interface ExperienceStatusForm {
940
- readonly 'status': io.flow.experience.v0.enums.ExperienceStatus;
941
- }
942
-
943
- interface ExperienceVersion {
944
- readonly 'id': string;
945
- readonly 'timestamp': string;
946
- readonly 'type': io.flow.common.v0.enums.ChangeType;
947
- readonly 'experience': io.flow.experience.v0.models.Experience;
948
- }
949
-
950
- interface FreeShipping {
951
- readonly 'discriminator': 'free_shipping';
952
- readonly 'trigger': io.flow.experience.v0.models.PromotionTrigger;
953
- readonly 'max'?: io.flow.common.v0.models.Price;
954
- }
955
-
956
- interface FreeShippingOrderPromotion {
957
- readonly 'discriminator': 'free_shipping_order_promotion';
675
+ interface FreeShippingOrderPromotion {
676
+ readonly 'discriminator': 'free_shipping_order_promotion';
958
677
  readonly 'id': string;
959
678
  readonly 'order': io.flow.experience.v0.unions.ExpandableOrder;
960
679
  readonly 'key': string;
@@ -1619,735 +1338,742 @@ declare namespace io.flow.item.v0.models {
1619
1338
  }
1620
1339
  }
1621
1340
 
1622
- declare namespace io.flow.flexe.v0.enums {
1623
- type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
1624
- type FlexeNotification = 'receipt' | 'shipment';
1625
- type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
1626
- type FlexeStatus = 'in_transit' | 'completed';
1341
+ declare namespace io.flow.harmonization.internal.event.v0.enums {
1342
+ type SuggestionAction = 'accept' | 'validate' | 'review';
1627
1343
  }
1628
1344
 
1629
- declare namespace io.flow.flexe.v0.models {
1630
- interface BillOfLading {
1631
- readonly 'type': string;
1632
- readonly 'gs1us'?: io.flow.flexe.v0.models.Gs1Us;
1345
+ declare namespace io.flow.harmonization.internal.event.v0.models {
1346
+ interface AllItemsExport {
1347
+ readonly 'discriminator': 'all_items_export';
1348
+ readonly 'event_id': string;
1349
+ readonly 'timestamp': string;
1350
+ readonly 'organization': string;
1351
+ readonly 'export_id': string;
1633
1352
  }
1634
1353
 
1635
- interface BillTo {
1636
- readonly 'name': string;
1637
- readonly 'address_1': string;
1638
- readonly 'locality': string;
1639
- readonly 'region': string;
1640
- readonly 'postal_code': string;
1641
- readonly 'country': string;
1642
- readonly 'address_2'?: string;
1643
- readonly 'address_3'?: string;
1354
+ interface BatchRateRefillRequest {
1355
+ readonly 'discriminator': 'batch_rate_refill_request';
1356
+ readonly 'requests': io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
1644
1357
  }
1645
1358
 
1646
- interface CartonPickDeliveryDetails {
1647
- readonly 'shipment_uuid'?: string;
1648
- readonly 'carrier'?: string;
1649
- readonly 'carrier_id'?: string;
1359
+ interface BlacklistedItemCreated {
1360
+ readonly 'discriminator': 'blacklisted_item_created';
1361
+ readonly 'event_id': string;
1362
+ readonly 'timestamp': string;
1363
+ readonly 'organization': string;
1364
+ readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1650
1365
  }
1651
1366
 
1652
- interface ContainerDeliveryDetails {
1653
- readonly 'purchase_order': string;
1654
- readonly 'container_number'?: string;
1655
- readonly 'seal_number'?: string;
1656
- readonly 'vendor'?: string;
1657
- readonly 'expected_inventory': io.flow.flexe.v0.models.InventoryDetails[];
1658
- readonly 'received_inventory': io.flow.flexe.v0.models.InventoryDetails[];
1659
- readonly 'damaged_inventory': io.flow.flexe.v0.models.InventoryDetails[];
1660
- readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1367
+ interface BlacklistedItemDeleted {
1368
+ readonly 'discriminator': 'blacklisted_item_deleted';
1369
+ readonly 'event_id': string;
1370
+ readonly 'timestamp': string;
1371
+ readonly 'organization': string;
1372
+ readonly 'id': string;
1661
1373
  }
1662
1374
 
1663
- interface DeliveryDetails {
1664
- readonly 'shipment_uuid'?: string;
1665
- readonly 'trailer_number'?: string;
1666
- readonly 'pallets': io.flow.flexe.v0.models.Pallet[];
1667
- readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1668
- }
1375
+ interface BlacklistedItemUpdated {
1376
+ readonly 'discriminator': 'blacklisted_item_updated';
1377
+ readonly 'event_id': string;
1378
+ readonly 'timestamp': string;
1379
+ readonly 'organization': string;
1380
+ readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1381
+ }
1669
1382
 
1670
- interface Error {
1671
- readonly 'url': string;
1672
- readonly 'client_request_id': string;
1673
- readonly 'generated_at': string;
1674
- readonly 'error': string;
1383
+ interface CustomsDescriptionImport {
1384
+ readonly 'discriminator': 'customs_description_import';
1385
+ readonly 'event_id': string;
1386
+ readonly 'timestamp': string;
1387
+ readonly 'organization': string;
1388
+ readonly 'import_id': string;
1389
+ readonly 'source_url': string;
1390
+ readonly 'filename'?: string;
1675
1391
  }
1676
1392
 
1677
- interface FlexeAttachment {
1678
- readonly 'type': io.flow.flexe.v0.enums.FlexeAttachmentType;
1679
- readonly 'display_name': string;
1680
- readonly 'url': string;
1393
+ interface CustomsDescriptionSugestion {
1394
+ readonly 'value': number;
1395
+ readonly 'customs_description': string;
1396
+ readonly 'action'?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1681
1397
  }
1682
1398
 
1683
- interface FlexeEcommerceFulfillment {
1684
- readonly 'url': string;
1685
- readonly 'client_request_id': string;
1686
- readonly 'generated_at': string;
1687
- readonly 'data': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
1688
- readonly 'errors': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
1399
+ interface CustomsDescriptionSugestionCreated {
1400
+ readonly 'discriminator': 'customs_description_sugestion_created';
1401
+ readonly 'event_id': string;
1402
+ readonly 'timestamp': string;
1403
+ readonly 'organization': string;
1404
+ readonly 'item_id': string;
1405
+ readonly 'suggestions': io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestion[];
1406
+ readonly 'model_id': string;
1689
1407
  }
1690
1408
 
1691
- interface FlexeEcommerceFulfillmentData {
1409
+ interface CustomsDescriptionTariffsImport {
1410
+ readonly 'discriminator': 'customs_description_tariffs_import';
1411
+ readonly 'event_id': string;
1412
+ readonly 'timestamp': string;
1413
+ readonly 'organization': string;
1692
1414
  readonly 'import_id': string;
1693
- readonly 'succeeded_uuids': string[];
1694
- readonly 'failed_uuids': string[];
1695
- readonly 'errors': string[];
1415
+ readonly 'source_url': string;
1416
+ readonly 'filename'?: string;
1696
1417
  }
1697
1418
 
1698
- interface FlexeEcommerceFulfillmentErrors {
1699
- readonly 'status': string;
1700
- readonly 'title': string;
1701
- readonly 'detail': string;
1702
- readonly 'source'?: string;
1419
+ interface DutiedItemsExport {
1420
+ readonly 'discriminator': 'dutied_items_export';
1421
+ readonly 'event_id': string;
1422
+ readonly 'timestamp': string;
1423
+ readonly 'organization': string;
1424
+ readonly 'export_id': string;
1425
+ readonly 'origin'?: string;
1426
+ readonly 'destination': string;
1427
+ readonly 'item_numbers'?: string[];
1703
1428
  }
1704
1429
 
1705
- interface FlexeEcommerceFulfillmentForm {
1706
- readonly 'reservation_id': number;
1707
- readonly 'client_request_id': string;
1708
- readonly 'request': io.flow.flexe.v0.models.Orders;
1430
+ interface HarmonizationCodesImport {
1431
+ readonly 'discriminator': 'harmonization_codes_import';
1432
+ readonly 'event_id': string;
1433
+ readonly 'timestamp': string;
1434
+ readonly 'organization': string;
1435
+ readonly 'import_id': string;
1436
+ readonly 'source_url': string;
1437
+ readonly 'filename'?: string;
1709
1438
  }
1710
1439
 
1711
- interface FlexeInventoryData {
1712
- readonly 'sku': string;
1713
- readonly 'quantity': string;
1714
- readonly 'unit': string;
1440
+ interface HarmonizationPhraseSuggestionRequestImport {
1441
+ readonly 'discriminator': 'harmonization_phrase_suggestion_request_import';
1442
+ readonly 'event_id': string;
1443
+ readonly 'timestamp': string;
1444
+ readonly 'organization': string;
1445
+ readonly 'import_id': string;
1446
+ readonly 'source_url': string;
1447
+ readonly 'filename'?: string;
1715
1448
  }
1716
1449
 
1717
- interface FlexeRetailAttachment {
1718
- readonly 'display_name': string;
1719
- readonly 'url': string;
1450
+ interface HarmonizeFullyRequest {
1451
+ readonly 'discriminator': 'harmonize_fully_request';
1452
+ readonly 'event_id': string;
1453
+ readonly 'timestamp': string;
1454
+ readonly 'item_id': string;
1720
1455
  }
1721
1456
 
1722
- interface FlexeRetailFulfillment {
1723
- readonly 'url': string;
1724
- readonly 'client_request_id': string;
1725
- readonly 'generated_at': string;
1726
- readonly 'data': io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
1727
- readonly 'errors'?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
1457
+ interface HarmonizeFullyWithRate {
1458
+ readonly 'discriminator': 'harmonize_fully_with_rate';
1459
+ readonly 'event_id': string;
1460
+ readonly 'timestamp': string;
1461
+ readonly 'duty_rate': io.flow.duty.internal.v0.models.DutyRate;
1728
1462
  }
1729
1463
 
1730
- interface FlexeRetailFulfillmentData {
1731
- readonly 'id': string;
1732
- readonly 'purchase_order_uuid': string;
1733
- readonly 'status': string;
1464
+ interface HarmonizedItemsHs6Export {
1465
+ readonly 'discriminator': 'harmonized_items_hs6_export';
1466
+ readonly 'event_id': string;
1467
+ readonly 'timestamp': string;
1468
+ readonly 'organization': string;
1469
+ readonly 'export_id': string;
1734
1470
  }
1735
1471
 
1736
- interface FlexeRetailFulfillmentErrors {
1737
- readonly 'type': string;
1738
- readonly 'message': string;
1472
+ interface ItemClassificationCreated {
1473
+ readonly 'discriminator': 'item_classification_created';
1474
+ readonly 'event_id': string;
1475
+ readonly 'timestamp': string;
1476
+ readonly 'organization': string;
1477
+ readonly 'item_number': string;
1478
+ readonly 'model_id': string;
1479
+ readonly 'labels_prediction': io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
1480
+ readonly 'action': io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1739
1481
  }
1740
1482
 
1741
- interface FlexeRetailFulfillmentForm {
1742
- readonly 'reservation_id': number;
1743
- readonly 'client_request_id'?: string;
1744
- readonly 'request': io.flow.flexe.v0.models.RetailOrder;
1483
+ interface ItemHarmonized {
1484
+ readonly 'discriminator': 'item_harmonized';
1485
+ readonly 'event_id': string;
1486
+ readonly 'timestamp': string;
1487
+ readonly 'organization': string;
1488
+ readonly 'item_number': string;
1489
+ readonly 'product_id': string;
1490
+ readonly 'customs_description': string;
1491
+ readonly 'countries_of_origin': string[];
1492
+ readonly 'hs_6': string;
1493
+ readonly 'tariffs': Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
1745
1494
  }
1746
1495
 
1747
- interface FulfillmentOrderDetails {
1748
- readonly 'shipment_uuid': string;
1749
- readonly 'carrier'?: string;
1750
- readonly 'carrier_id'?: string;
1496
+ interface LabelsPrediction {
1497
+ readonly 'main_material': Record<string, number>;
1498
+ readonly 'gender': Record<string, number>;
1499
+ readonly 'construction': Record<string, number>;
1500
+ readonly 'product_type': Record<string, number>;
1751
1501
  }
1752
1502
 
1753
- interface Gs1Us {
1754
- readonly 'number': string;
1755
- readonly 'ship_to'?: io.flow.flexe.v0.models.Gs1UsShipTo;
1756
- readonly 'bill_to'?: io.flow.flexe.v0.models.BillTo;
1503
+ interface LandedCostExport {
1504
+ readonly 'discriminator': 'landed_cost_export';
1505
+ readonly 'event_id': string;
1506
+ readonly 'timestamp': string;
1507
+ readonly 'organization': string;
1508
+ readonly 'export_id': string;
1509
+ readonly 'items': io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
1757
1510
  }
1758
1511
 
1759
- interface Gs1UsShipTo {
1760
- readonly 'cid_number'?: string;
1761
- readonly 'location_number'?: string;
1762
- readonly 'free_on_board'?: boolean;
1512
+ interface LandedCostItem {
1513
+ readonly 'number': string;
1514
+ readonly 'origin': string;
1515
+ readonly 'destination': string;
1763
1516
  }
1764
1517
 
1765
- interface Inventory {
1766
- readonly 'url': string;
1767
- readonly 'client_request_id': string;
1768
- readonly 'generated_at': string;
1769
- readonly 'data': Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1518
+ interface PhraseClassified {
1519
+ readonly 'event_id': string;
1520
+ readonly 'timestamp': string;
1521
+ readonly 'phrase_id': string;
1770
1522
  }
1771
1523
 
1772
- interface InventoryCount {
1773
- readonly 'amount': number;
1774
- readonly 'unit': string;
1524
+ interface PhrasePropagated {
1525
+ readonly 'event_id': string;
1526
+ readonly 'timestamp': string;
1527
+ readonly 'phrase_id': string;
1775
1528
  }
1776
1529
 
1777
- interface InventoryData {
1778
- readonly 'pallet': io.flow.flexe.v0.models.InventoryCount;
1779
- readonly 'carton'?: io.flow.flexe.v0.models.InventoryCount;
1780
- readonly 'each'?: io.flow.flexe.v0.models.InventoryCount;
1530
+ interface RateRefillRequest {
1531
+ readonly 'discriminator': 'rate_refill_request';
1532
+ readonly 'phrase_id': string;
1533
+ readonly 'hs6_code': string;
1534
+ readonly 'destinations': io.flow.reference.v0.models.Country[];
1535
+ readonly 'origin': io.flow.reference.v0.models.Country;
1536
+ readonly 'organization_id'?: string;
1781
1537
  }
1782
1538
 
1783
- interface InventoryDetails {
1784
- readonly 'key': Record<string, io.flow.flexe.v0.models.Sku>;
1539
+ interface UnharmonizedItemsExport {
1540
+ readonly 'discriminator': 'unharmonized_items_export';
1541
+ readonly 'event_id': string;
1542
+ readonly 'timestamp': string;
1543
+ readonly 'organization': string;
1544
+ readonly 'export_id': string;
1785
1545
  }
1546
+ }
1786
1547
 
1787
- interface LadingQuantity {
1788
- readonly 'num_pallets': number;
1789
- }
1548
+ declare namespace io.flow.harmonization.internal.event.v0.unions {
1549
+ type CustomsDescriptions = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport);
1550
+ type HarmonizationEvent = (io.flow.harmonization.internal.event.v0.models.BlacklistedItemCreated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemUpdated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemDeleted);
1551
+ type HarmonizationExportRequest = (io.flow.harmonization.internal.event.v0.models.AllItemsExport | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport | io.flow.harmonization.internal.event.v0.models.LandedCostExport);
1552
+ type HarmonizationImportPhraseSuggestionRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport);
1553
+ type HarmonizationImportRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport);
1554
+ type HarmonizationSugestionEvent = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated);
1555
+ type HarmonizeFully = (io.flow.harmonization.internal.event.v0.models.HarmonizeFullyWithRate | io.flow.harmonization.internal.event.v0.models.ItemHarmonized | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequest);
1556
+ type RefillActorRequest = (io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest | io.flow.harmonization.internal.event.v0.models.RateRefillRequest);
1557
+ }
1790
1558
 
1791
- interface Order {
1792
- readonly 'shipment_uuid': string;
1793
- readonly 'purchase_order': string;
1794
- readonly 'carrier': string;
1795
- readonly 'service_type': string;
1796
- readonly 'carrier_assigned_id': string;
1797
- readonly 'name': string;
1798
- readonly 'address_1': string;
1799
- readonly 'address_2'?: string;
1800
- readonly 'address_3'?: string;
1801
- readonly 'city': string;
1802
- readonly 'state': string;
1803
- readonly 'postal_code': string;
1804
- readonly 'phone'?: string;
1805
- readonly 'instructions'?: string;
1806
- readonly 'inventory_data': io.flow.flexe.v0.models.FlexeInventoryData[];
1807
- readonly 'attachments': io.flow.flexe.v0.models.FlexeAttachment[];
1808
- }
1559
+ declare namespace io.flow.inventory.v0.enums {
1560
+ type Aggregate = 'maximum' | 'minimum';
1561
+ type InventoryStatus = 'has_inventory' | 'no_inventory';
1562
+ type SerialStatus = 'available' | 'reserved' | 'sold';
1563
+ type UpdateType = 'change' | 'set';
1564
+ }
1809
1565
 
1810
- interface Orders {
1811
- readonly 'orders': io.flow.flexe.v0.models.Order[];
1566
+ declare namespace io.flow.inventory.v0.models {
1567
+ interface ExternalApiTimeoutReservationError {
1568
+ readonly 'code': 'external_api_timeout';
1569
+ readonly 'messages': string[];
1812
1570
  }
1813
1571
 
1814
- interface Pallet {
1815
- readonly 'pallet_id': string;
1816
- readonly 'sku': string;
1817
- readonly 'quantity': number;
1818
- readonly 'packaging': string;
1819
- }
1820
-
1821
- interface PurchaseOrder {
1822
- readonly 'retail_fulfillment_order_id': string;
1823
- readonly 'bill_of_lading_number': string;
1824
- readonly 'purchase_order_uuid': string;
1825
- readonly 'pickup_window_start': string;
1826
- readonly 'pickup_window_end': string;
1827
- readonly 'tags': string[];
1572
+ interface GenericReservationError {
1573
+ readonly 'code': 'generic_reservation_error';
1574
+ readonly 'messages': string[];
1828
1575
  }
1829
1576
 
1830
- interface QuantityByInventory {
1831
- readonly 'received': io.flow.flexe.v0.models.InventoryData;
1832
- readonly 'expected'?: io.flow.flexe.v0.models.InventoryData;
1833
- readonly 'damaged'?: io.flow.flexe.v0.models.InventoryData;
1577
+ interface InventoryBackorder {
1578
+ readonly 'discriminator': 'inventory_backorder';
1579
+ readonly 'quantity': number;
1834
1580
  }
1835
1581
 
1836
- interface ReceiptNotification {
1837
- readonly 'shipment_id': string;
1838
- readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
1839
- readonly 'reservation_id': string;
1840
- readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
1841
- readonly 'delivery_details'?: io.flow.flexe.v0.models.DeliveryDetails;
1842
- readonly 'container_delivery_details'?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
1582
+ interface InventoryCenterReference {
1583
+ readonly 'key': string;
1843
1584
  }
1844
1585
 
1845
- interface RetailFulfillmentOrderDetails {
1846
- readonly 'master_bill_of_lading_number': string;
1847
- readonly 'scac': string;
1848
- readonly 'pro_number': string;
1849
- readonly 'purchase_orders': io.flow.flexe.v0.models.PurchaseOrder[];
1850
- readonly 'lading_quantity': io.flow.flexe.v0.models.LadingQuantity;
1586
+ interface InventoryCheckResponse {
1587
+ readonly 'items': io.flow.inventory.v0.models.InventoryCheckResponseItem[];
1851
1588
  }
1852
1589
 
1853
- interface RetailInventoryData {
1854
- readonly 'sku': string;
1590
+ interface InventoryCheckResponseItem {
1591
+ readonly 'number': string;
1855
1592
  readonly 'quantity': number;
1856
- readonly 'unit': string;
1857
- readonly 'attachments'?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
1593
+ readonly 'inventory_status': io.flow.inventory.v0.enums.InventoryStatus;
1858
1594
  }
1859
1595
 
1860
- interface RetailOrder {
1861
- readonly 'order': io.flow.flexe.v0.models.RetailOrderData;
1596
+ interface InventoryExperienceReference {
1597
+ readonly 'key': string;
1862
1598
  }
1863
1599
 
1864
- interface RetailOrderData {
1865
- readonly 'purchase_order_uuid': string;
1866
- readonly 'bill_of_lading': io.flow.flexe.v0.models.BillOfLading;
1867
- readonly 'inventory_data': io.flow.flexe.v0.models.RetailInventoryData[];
1868
- readonly 'ship_within': io.flow.flexe.v0.models.ShipWithin;
1869
- readonly 'ship_to': io.flow.flexe.v0.models.ShipTo;
1870
- readonly 'build_by'?: string;
1871
- readonly 'instrunctions'?: string;
1872
- readonly 'routing_details_id'?: string;
1873
- readonly 'destination_type'?: string;
1600
+ interface InventoryItemReference {
1601
+ readonly 'number': string;
1874
1602
  }
1875
1603
 
1876
- interface ShipTo {
1877
- readonly 'name': string;
1878
- readonly 'address_1': string;
1879
- readonly 'locality': string;
1880
- readonly 'region': string;
1881
- readonly 'postal_code': string;
1882
- readonly 'country': string;
1883
- readonly 'address_2'?: string;
1884
- readonly 'address_3'?: string;
1604
+ interface InventoryRequest {
1605
+ readonly 'items': io.flow.inventory.v0.models.InventoryRequestItem[];
1885
1606
  }
1886
1607
 
1887
- interface ShipWithin {
1888
- readonly 'start': string;
1889
- readonly 'end': string;
1608
+ interface InventoryRequestItem {
1609
+ readonly 'number': string;
1610
+ readonly 'quantity': number;
1890
1611
  }
1891
1612
 
1892
- interface ShipmentDeliveryDetails {
1893
- readonly 'shipment_uuid'?: string;
1613
+ interface InventoryRule {
1614
+ readonly 'id': string;
1615
+ readonly 'position': number;
1616
+ readonly 'query': string;
1617
+ readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1894
1618
  }
1895
1619
 
1896
- interface ShipmentNotification {
1897
- readonly 'shipment_id': string;
1898
- readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
1899
- readonly 'reservation_id': string;
1900
- readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
1901
- readonly 'fulfillment_order_details'?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
1902
- readonly 'retail_fulfillment_order_details'?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
1903
- readonly 'delivery_details'?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
1904
- readonly 'carton_pick_delivery_details'?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
1620
+ interface InventoryRuleForm {
1621
+ readonly 'position': number;
1622
+ readonly 'query': string;
1623
+ readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1905
1624
  }
1906
1625
 
1907
- interface Sku {
1908
- readonly 'sku': string;
1909
- readonly 'description': string;
1910
- readonly 'summary': Record<string, io.flow.flexe.v0.models.SkuSummary>;
1626
+ interface InventoryRuleVersion {
1627
+ readonly 'id': string;
1628
+ readonly 'timestamp': string;
1629
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1630
+ readonly 'inventory_rule': io.flow.inventory.v0.models.InventoryRule;
1911
1631
  }
1912
1632
 
1913
- interface SkuSummary {
1914
- readonly 'key': string;
1633
+ interface InventorySnapshot {
1634
+ readonly 'id': string;
1635
+ readonly 'available': number;
1636
+ readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
1637
+ readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
1915
1638
  readonly 'quantity': number;
1916
- readonly 'unit': string;
1917
1639
  }
1918
- }
1919
-
1920
- declare namespace io.flow.harmonization.internal.event.v0.enums {
1921
- type SuggestionAction = 'accept' | 'validate' | 'review';
1922
- }
1923
1640
 
1924
- declare namespace io.flow.harmonization.internal.event.v0.models {
1925
- interface AllItemsExport {
1926
- readonly 'discriminator': 'all_items_export';
1927
- readonly 'event_id': string;
1641
+ interface InventorySnapshotVersion {
1642
+ readonly 'id': string;
1928
1643
  readonly 'timestamp': string;
1929
- readonly 'organization': string;
1930
- readonly 'export_id': string;
1644
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1645
+ readonly 'inventory_snapshot': io.flow.inventory.v0.models.InventorySnapshot;
1931
1646
  }
1932
1647
 
1933
- interface BatchRateRefillRequest {
1934
- readonly 'discriminator': 'batch_rate_refill_request';
1935
- readonly 'requests': io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
1648
+ interface InventoryStock {
1649
+ readonly 'discriminator': 'inventory_stock';
1650
+ readonly 'quantity': number;
1936
1651
  }
1937
1652
 
1938
- interface BlacklistedItemCreated {
1939
- readonly 'discriminator': 'blacklisted_item_created';
1940
- readonly 'event_id': string;
1941
- readonly 'timestamp': string;
1942
- readonly 'organization': string;
1943
- readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1653
+ interface InventoryUnlimited {
1654
+ readonly 'discriminator': 'inventory_unlimited';
1655
+ readonly 'quantity': string;
1944
1656
  }
1945
1657
 
1946
- interface BlacklistedItemDeleted {
1947
- readonly 'discriminator': 'blacklisted_item_deleted';
1948
- readonly 'event_id': string;
1949
- readonly 'timestamp': string;
1950
- readonly 'organization': string;
1658
+ interface InventoryUpdate {
1951
1659
  readonly 'id': string;
1660
+ readonly 'idempotency_key': string;
1661
+ readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
1662
+ readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
1663
+ readonly 'notes': any/*object*/;
1664
+ readonly 'quantity': number;
1665
+ readonly 'type': io.flow.inventory.v0.enums.UpdateType;
1952
1666
  }
1953
1667
 
1954
- interface BlacklistedItemUpdated {
1955
- readonly 'discriminator': 'blacklisted_item_updated';
1956
- readonly 'event_id': string;
1957
- readonly 'timestamp': string;
1958
- readonly 'organization': string;
1959
- readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1668
+ interface InventoryUpdateForm {
1669
+ readonly 'center': string;
1670
+ readonly 'idempotency_key': string;
1671
+ readonly 'item_number': string;
1672
+ readonly 'quantity': number;
1673
+ readonly 'type': io.flow.inventory.v0.enums.UpdateType;
1674
+ readonly 'notes'?: any/*object*/;
1960
1675
  }
1961
1676
 
1962
- interface CustomsDescriptionImport {
1963
- readonly 'discriminator': 'customs_description_import';
1964
- readonly 'event_id': string;
1677
+ interface InventoryUpdateVersion {
1678
+ readonly 'id': string;
1965
1679
  readonly 'timestamp': string;
1966
- readonly 'organization': string;
1967
- readonly 'import_id': string;
1968
- readonly 'source_url': string;
1969
- readonly 'filename'?: string;
1970
- }
1971
-
1972
- interface CustomsDescriptionSugestion {
1973
- readonly 'value': number;
1974
- readonly 'customs_description': string;
1975
- readonly 'action'?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1680
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1681
+ readonly 'inventory_update': io.flow.inventory.v0.models.InventoryUpdate;
1976
1682
  }
1977
1683
 
1978
- interface CustomsDescriptionSugestionCreated {
1979
- readonly 'discriminator': 'customs_description_sugestion_created';
1980
- readonly 'event_id': string;
1981
- readonly 'timestamp': string;
1982
- readonly 'organization': string;
1983
- readonly 'item_id': string;
1984
- readonly 'suggestions': io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestion[];
1985
- readonly 'model_id': string;
1684
+ interface NoInventoryReservationError {
1685
+ readonly 'code': 'no_inventory';
1686
+ readonly 'messages': string[];
1687
+ readonly 'items': io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
1986
1688
  }
1987
1689
 
1988
- interface CustomsDescriptionTariffsImport {
1989
- readonly 'discriminator': 'customs_description_tariffs_import';
1990
- readonly 'event_id': string;
1991
- readonly 'timestamp': string;
1992
- readonly 'organization': string;
1993
- readonly 'import_id': string;
1994
- readonly 'source_url': string;
1995
- readonly 'filename'?: string;
1690
+ interface NoInventoryReservationErrorItem {
1691
+ readonly 'number': string;
1692
+ readonly 'requested_quantity': number;
1693
+ readonly 'available_quantity': number;
1996
1694
  }
1997
1695
 
1998
- interface DutiedItemsExport {
1999
- readonly 'discriminator': 'dutied_items_export';
2000
- readonly 'event_id': string;
2001
- readonly 'timestamp': string;
2002
- readonly 'organization': string;
2003
- readonly 'export_id': string;
2004
- readonly 'origin'?: string;
2005
- readonly 'destination': string;
2006
- readonly 'item_numbers'?: string[];
1696
+ interface PfsInventoryCheckResponse {
1697
+ readonly 'items': Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
2007
1698
  }
2008
1699
 
2009
- interface HarmonizationCodesImport {
2010
- readonly 'discriminator': 'harmonization_codes_import';
2011
- readonly 'event_id': string;
2012
- readonly 'timestamp': string;
2013
- readonly 'organization': string;
2014
- readonly 'import_id': string;
2015
- readonly 'source_url': string;
2016
- readonly 'filename'?: string;
1700
+ interface PfsInventoryCheckResponseItem {
1701
+ readonly 'number': string;
1702
+ readonly 'ats': number;
1703
+ readonly 'in_stock': boolean;
2017
1704
  }
2018
1705
 
2019
- interface HarmonizationPhraseSuggestionRequestImport {
2020
- readonly 'discriminator': 'harmonization_phrase_suggestion_request_import';
2021
- readonly 'event_id': string;
2022
- readonly 'timestamp': string;
2023
- readonly 'organization': string;
2024
- readonly 'import_id': string;
2025
- readonly 'source_url': string;
2026
- readonly 'filename'?: string;
1706
+ interface PfsInventoryStatus {
1707
+ readonly 'status': string;
2027
1708
  }
2028
1709
 
2029
- interface HarmonizeFullyRequest {
2030
- readonly 'discriminator': 'harmonize_fully_request';
2031
- readonly 'event_id': string;
2032
- readonly 'timestamp': string;
2033
- readonly 'item_id': string;
1710
+ interface Reservation {
1711
+ readonly 'id': string;
1712
+ readonly 'key': string;
1713
+ readonly 'order'?: io.flow.inventory.v0.models.ReservationOrderReference;
1714
+ readonly 'items': io.flow.inventory.v0.models.ReservationItem[];
1715
+ readonly 'reserved_until'?: string;
2034
1716
  }
2035
1717
 
2036
- interface HarmonizeFullyWithRate {
2037
- readonly 'discriminator': 'harmonize_fully_with_rate';
2038
- readonly 'event_id': string;
2039
- readonly 'timestamp': string;
2040
- readonly 'duty_rate': io.flow.duty.internal.v0.models.DutyRate;
2041
- }
2042
-
2043
- interface HarmonizedItemsHs6Export {
2044
- readonly 'discriminator': 'harmonized_items_hs6_export';
2045
- readonly 'event_id': string;
2046
- readonly 'timestamp': string;
2047
- readonly 'organization': string;
2048
- readonly 'export_id': string;
1718
+ interface ReservationForm {
1719
+ readonly 'order_number'?: string;
1720
+ readonly 'items': io.flow.inventory.v0.models.ReservationItemForm[];
2049
1721
  }
2050
1722
 
2051
- interface ItemClassificationCreated {
2052
- readonly 'discriminator': 'item_classification_created';
2053
- readonly 'event_id': string;
2054
- readonly 'timestamp': string;
2055
- readonly 'organization': string;
2056
- readonly 'item_number': string;
2057
- readonly 'model_id': string;
2058
- readonly 'labels_prediction': io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
2059
- readonly 'action': io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1723
+ interface ReservationItem {
1724
+ readonly 'item': io.flow.inventory.v0.models.ReservationItemReference;
1725
+ readonly 'quantity': number;
2060
1726
  }
2061
1727
 
2062
- interface ItemHarmonized {
2063
- readonly 'discriminator': 'item_harmonized';
2064
- readonly 'event_id': string;
2065
- readonly 'timestamp': string;
2066
- readonly 'organization': string;
1728
+ interface ReservationItemForm {
2067
1729
  readonly 'item_number': string;
2068
- readonly 'product_id': string;
2069
- readonly 'customs_description': string;
2070
- readonly 'countries_of_origin': string[];
2071
- readonly 'hs_6': string;
2072
- readonly 'tariffs': Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
2073
- }
2074
-
2075
- interface LabelsPrediction {
2076
- readonly 'main_material': Record<string, number>;
2077
- readonly 'gender': Record<string, number>;
2078
- readonly 'construction': Record<string, number>;
2079
- readonly 'product_type': Record<string, number>;
2080
- }
2081
-
2082
- interface LandedCostExport {
2083
- readonly 'discriminator': 'landed_cost_export';
2084
- readonly 'event_id': string;
2085
- readonly 'timestamp': string;
2086
- readonly 'organization': string;
2087
- readonly 'export_id': string;
2088
- readonly 'items': io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
1730
+ readonly 'quantity': number;
2089
1731
  }
2090
1732
 
2091
- interface LandedCostItem {
1733
+ interface ReservationItemReference {
2092
1734
  readonly 'number': string;
2093
- readonly 'origin': string;
2094
- readonly 'destination': string;
2095
1735
  }
2096
1736
 
2097
- interface PhraseClassified {
2098
- readonly 'event_id': string;
2099
- readonly 'timestamp': string;
2100
- readonly 'phrase_id': string;
1737
+ interface ReservationOrderReference {
1738
+ readonly 'number': string;
2101
1739
  }
2102
1740
 
2103
- interface PhrasePropagated {
2104
- readonly 'event_id': string;
2105
- readonly 'timestamp': string;
2106
- readonly 'phrase_id': string;
1741
+ interface Serial {
1742
+ readonly 'id': string;
1743
+ readonly 'number': string;
1744
+ readonly 'item_number': string;
1745
+ readonly 'item_price': io.flow.common.v0.models.Price;
1746
+ readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
1747
+ readonly 'center': io.flow.fulfillment.v0.models.CenterReference;
1748
+ readonly 'attributes': Record<string, string>;
2107
1749
  }
2108
1750
 
2109
- interface RateRefillRequest {
2110
- readonly 'discriminator': 'rate_refill_request';
2111
- readonly 'phrase_id': string;
2112
- readonly 'hs6_code': string;
2113
- readonly 'destinations': io.flow.reference.v0.models.Country[];
2114
- readonly 'origin': io.flow.reference.v0.models.Country;
2115
- readonly 'organization_id'?: string;
1751
+ interface SerialForm {
1752
+ readonly 'number': string;
1753
+ readonly 'item_number': string;
1754
+ readonly 'item_price': number;
1755
+ readonly 'item_currency': string;
1756
+ readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
1757
+ readonly 'center_key'?: string;
1758
+ readonly 'attributes'?: Record<string, string>;
2116
1759
  }
2117
1760
 
2118
- interface UnharmonizedItemsExport {
2119
- readonly 'discriminator': 'unharmonized_items_export';
2120
- readonly 'event_id': string;
1761
+ interface SerialVersion {
1762
+ readonly 'id': string;
2121
1763
  readonly 'timestamp': string;
2122
- readonly 'organization': string;
2123
- readonly 'export_id': string;
1764
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1765
+ readonly 'serial': io.flow.inventory.v0.models.Serial;
2124
1766
  }
2125
1767
  }
2126
1768
 
2127
- declare namespace io.flow.harmonization.internal.event.v0.unions {
2128
- type CustomsDescriptions = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport);
2129
- type HarmonizationEvent = (io.flow.harmonization.internal.event.v0.models.BlacklistedItemCreated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemUpdated | io.flow.harmonization.internal.event.v0.models.BlacklistedItemDeleted);
2130
- type HarmonizationExportRequest = (io.flow.harmonization.internal.event.v0.models.AllItemsExport | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport | io.flow.harmonization.internal.event.v0.models.LandedCostExport);
2131
- type HarmonizationImportPhraseSuggestionRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport);
2132
- type HarmonizationImportRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport);
2133
- type HarmonizationSugestionEvent = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated);
2134
- type HarmonizeFully = (io.flow.harmonization.internal.event.v0.models.HarmonizeFullyWithRate | io.flow.harmonization.internal.event.v0.models.ItemHarmonized | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequest);
2135
- type RefillActorRequest = (io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest | io.flow.harmonization.internal.event.v0.models.RateRefillRequest);
2136
- }
2137
-
2138
- declare namespace io.flow.inventory.v0.enums {
2139
- type Aggregate = 'maximum' | 'minimum';
2140
- type InventoryStatus = 'has_inventory' | 'no_inventory';
2141
- type SerialStatus = 'available' | 'reserved' | 'sold';
2142
- type UpdateType = 'change' | 'set';
1769
+ declare namespace io.flow.inventory.v0.unions {
1770
+ type InventoryStrategy = (io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited);
1771
+ type ReservationError = (io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError);
2143
1772
  }
2144
1773
 
2145
- declare namespace io.flow.inventory.v0.models {
2146
- interface ExternalApiTimeoutReservationError {
2147
- readonly 'code': 'external_api_timeout';
2148
- readonly 'messages': string[];
2149
- }
2150
-
2151
- interface GenericReservationError {
2152
- readonly 'code': 'generic_reservation_error';
2153
- readonly 'messages': string[];
2154
- }
2155
-
2156
- interface InventoryBackorder {
2157
- readonly 'discriminator': 'inventory_backorder';
2158
- readonly 'quantity': number;
1774
+ declare namespace io.flow.ratecard.v0.models {
1775
+ interface CrossdockRatecardFee {
1776
+ readonly 'discriminator': 'crossdock_ratecard_fee';
1777
+ readonly 'amount': io.flow.common.v0.models.Money;
2159
1778
  }
2160
1779
 
2161
- interface InventoryCenterReference {
2162
- readonly 'key': string;
1780
+ interface DdpRatecardFee {
1781
+ readonly 'discriminator': 'ddp_ratecard_fee';
1782
+ readonly 'amount': number;
2163
1783
  }
2164
1784
 
2165
- interface InventoryCheckResponse {
2166
- readonly 'items': io.flow.inventory.v0.models.InventoryCheckResponseItem[];
1785
+ interface DimensionEstimate {
1786
+ readonly 'id': string;
1787
+ readonly 'q': string;
1788
+ readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
1789
+ readonly 'position': number;
2167
1790
  }
2168
1791
 
2169
- interface InventoryCheckResponseItem {
2170
- readonly 'number': string;
2171
- readonly 'quantity': number;
2172
- readonly 'inventory_status': io.flow.inventory.v0.enums.InventoryStatus;
1792
+ interface DimensionEstimateForm {
1793
+ readonly 'q': string;
1794
+ readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
1795
+ readonly 'position'?: number;
2173
1796
  }
2174
1797
 
2175
- interface InventoryExperienceReference {
2176
- readonly 'key': string;
1798
+ interface DimensionEstimateVersion {
1799
+ readonly 'id': string;
1800
+ readonly 'timestamp': string;
1801
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1802
+ readonly 'dimension_estimate': io.flow.ratecard.v0.models.DimensionEstimate;
2177
1803
  }
2178
1804
 
2179
- interface InventoryItemReference {
2180
- readonly 'number': string;
1805
+ interface EstimatedDimensions {
1806
+ readonly 'depth': io.flow.common.v0.models.Measurement;
1807
+ readonly 'length': io.flow.common.v0.models.Measurement;
1808
+ readonly 'weight': io.flow.common.v0.models.Measurement;
1809
+ readonly 'width': io.flow.common.v0.models.Measurement;
2181
1810
  }
2182
1811
 
2183
- interface InventoryRequest {
2184
- readonly 'items': io.flow.inventory.v0.models.InventoryRequestItem[];
1812
+ interface FuelSurchargeRatecardFee {
1813
+ readonly 'discriminator': 'fuel_surcharge_ratecard_fee';
1814
+ readonly 'amount': io.flow.common.v0.models.Money;
2185
1815
  }
2186
1816
 
2187
- interface InventoryRequestItem {
2188
- readonly 'number': string;
2189
- readonly 'quantity': number;
1817
+ interface FuelSurchargeServiceFee {
1818
+ readonly 'discriminator': 'fuel_surcharge_service_fee';
1819
+ readonly 'percent': number;
2190
1820
  }
2191
1821
 
2192
- interface InventoryRule {
2193
- readonly 'id': string;
2194
- readonly 'position': number;
2195
- readonly 'query': string;
2196
- readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1822
+ interface Hop {
1823
+ readonly 'hop_number': number;
1824
+ readonly 'hop_estimate': io.flow.ratecard.v0.models.HopEstimate;
2197
1825
  }
2198
1826
 
2199
- interface InventoryRuleForm {
2200
- readonly 'position': number;
2201
- readonly 'query': string;
2202
- readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1827
+ interface HopEstimate {
1828
+ readonly 'origin_address': io.flow.fulfillment.v0.models.ShippingAddress;
1829
+ readonly 'destination_address': io.flow.fulfillment.v0.models.ShippingAddress;
1830
+ readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
1831
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
1832
+ readonly 'currency': string;
1833
+ readonly 'amount': number;
1834
+ readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
1835
+ readonly 'total': number;
2203
1836
  }
2204
1837
 
2205
- interface InventoryRuleVersion {
2206
- readonly 'id': string;
2207
- readonly 'timestamp': string;
2208
- readonly 'type': io.flow.common.v0.enums.ChangeType;
2209
- readonly 'inventory_rule': io.flow.inventory.v0.models.InventoryRule;
1838
+ interface OversizedShipmentRatecardFee {
1839
+ readonly 'discriminator': 'oversized_shipment_ratecard_fee';
1840
+ readonly 'weight_threshold': number;
1841
+ readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
1842
+ readonly 'margin'?: number;
1843
+ readonly 'amount'?: number;
2210
1844
  }
2211
1845
 
2212
- interface InventorySnapshot {
1846
+ interface Ratecard {
2213
1847
  readonly 'id': string;
2214
- readonly 'available': number;
2215
- readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
2216
- readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
2217
- readonly 'quantity': number;
1848
+ readonly 'number': string;
1849
+ readonly 'direction': io.flow.label.v0.enums.Direction;
1850
+ readonly 'effective_at': string;
1851
+ readonly 'origination_zones': io.flow.common.v0.models.Zone[];
1852
+ readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
1853
+ readonly 'published_at'?: string;
1854
+ readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
2218
1855
  }
2219
1856
 
2220
- interface InventorySnapshotVersion {
1857
+ interface RatecardCarrierSummary {
2221
1858
  readonly 'id': string;
2222
- readonly 'timestamp': string;
2223
- readonly 'type': io.flow.common.v0.enums.ChangeType;
2224
- readonly 'inventory_snapshot': io.flow.inventory.v0.models.InventorySnapshot;
2225
- }
2226
-
2227
- interface InventoryStock {
2228
- readonly 'discriminator': 'inventory_stock';
2229
- readonly 'quantity': number;
1859
+ readonly 'name': string;
2230
1860
  }
2231
1861
 
2232
- interface InventoryUnlimited {
2233
- readonly 'discriminator': 'inventory_unlimited';
2234
- readonly 'quantity': string;
1862
+ interface RatecardEstimateFormV1 {
1863
+ readonly 'discriminator': 'ratecard_estimate_form_v1';
1864
+ readonly 'origin'?: string;
1865
+ readonly 'destination'?: string;
1866
+ readonly 'weight_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
1867
+ readonly 'distance_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
1868
+ readonly 'service'?: string;
1869
+ readonly 'weight'?: number;
1870
+ readonly 'length'?: number;
1871
+ readonly 'width'?: number;
1872
+ readonly 'depth'?: number;
1873
+ readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
1874
+ readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
2235
1875
  }
2236
1876
 
2237
- interface InventoryUpdate {
1877
+ interface RatecardEstimateFormV2 {
1878
+ readonly 'discriminator': 'ratecard_estimate_form_v2';
1879
+ readonly 'origin_address': io.flow.common.v0.models.Address;
1880
+ readonly 'destination_address': io.flow.common.v0.models.Address;
1881
+ readonly 'weight_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
1882
+ readonly 'distance_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
1883
+ readonly 'service'?: string;
1884
+ readonly 'weight'?: number;
1885
+ readonly 'length'?: number;
1886
+ readonly 'width'?: number;
1887
+ readonly 'depth'?: number;
1888
+ readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
1889
+ readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
1890
+ readonly 'center_id'?: string;
1891
+ }
1892
+
1893
+ interface RatecardEstimateSummaryForm {
1894
+ readonly 'origin'?: string;
1895
+ readonly 'destination'?: string;
1896
+ readonly 'service'?: string;
1897
+ readonly 'center_key'?: string;
1898
+ }
1899
+
1900
+ interface RatecardEstimateV1 {
1901
+ readonly 'discriminator': 'ratecard_estimate_v1';
1902
+ readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
1903
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
1904
+ readonly 'currency': string;
1905
+ readonly 'amount': number;
1906
+ readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
1907
+ readonly 'total': number;
1908
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
1909
+ readonly 'dimensional_weight'?: io.flow.common.v0.models.Measurement;
1910
+ readonly 'gravitational_weight'?: io.flow.common.v0.models.Measurement;
1911
+ readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
1912
+ }
1913
+
1914
+ interface RatecardEstimateV2 {
1915
+ readonly 'discriminator': 'ratecard_estimate_v2';
1916
+ readonly 'hops': io.flow.ratecard.v0.models.Hop[];
1917
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
1918
+ readonly 'dimensional_weight'?: io.flow.common.v0.models.Measurement;
1919
+ readonly 'gravitational_weight'?: io.flow.common.v0.models.Measurement;
1920
+ readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
1921
+ readonly 'ratecard_owner'?: io.flow.fulfillment.v0.enums.RatecardOwner;
1922
+ }
1923
+
1924
+ interface RatecardForm {
1925
+ readonly 'direction': io.flow.label.v0.enums.Direction;
1926
+ readonly 'effective_at': string;
1927
+ readonly 'origination_zones': io.flow.common.v0.models.Zone[];
1928
+ readonly 'service': string;
1929
+ readonly 'number'?: string;
1930
+ readonly 'ratecard_owner'?: io.flow.fulfillment.v0.enums.RatecardOwner;
1931
+ }
1932
+
1933
+ interface RatecardLane {
2238
1934
  readonly 'id': string;
2239
- readonly 'idempotency_key': string;
2240
- readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
2241
- readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
2242
- readonly 'notes': any/*object*/;
2243
- readonly 'quantity': number;
2244
- readonly 'type': io.flow.inventory.v0.enums.UpdateType;
1935
+ readonly 'ratecard': io.flow.ratecard.v0.models.RatecardReference;
1936
+ readonly 'currency': string;
1937
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
1938
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
1939
+ readonly 'destination': io.flow.common.v0.models.Zone;
1940
+ readonly 'dim_factor': number;
1941
+ readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
1942
+ readonly 'origin': io.flow.common.v0.models.Zone;
1943
+ readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
1944
+ readonly 'rates': io.flow.ratecard.v0.models.RatecardRate[];
1945
+ readonly 'rounding': io.flow.common.v0.models.Rounding;
1946
+ readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
1947
+ readonly 'distance_unit': io.flow.common.v0.enums.UnitOfMeasurement;
2245
1948
  }
2246
1949
 
2247
- interface InventoryUpdateForm {
2248
- readonly 'center': string;
2249
- readonly 'idempotency_key': string;
2250
- readonly 'item_number': string;
2251
- readonly 'quantity': number;
2252
- readonly 'type': io.flow.inventory.v0.enums.UpdateType;
2253
- readonly 'notes'?: any/*object*/;
1950
+ interface RatecardLaneForm {
1951
+ readonly 'ratecard_id': string;
1952
+ readonly 'currency': string;
1953
+ readonly 'destination': io.flow.common.v0.models.Zone;
1954
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
1955
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
1956
+ readonly 'dim_factor': number;
1957
+ readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
1958
+ readonly 'origin': io.flow.common.v0.models.Zone;
1959
+ readonly 'rounding': io.flow.common.v0.models.Rounding;
1960
+ readonly 'rates': io.flow.ratecard.v0.models.RatecardRateForm[];
1961
+ readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
1962
+ readonly 'distance_unit': io.flow.common.v0.enums.UnitOfMeasurement;
2254
1963
  }
2255
1964
 
2256
- interface InventoryUpdateVersion {
1965
+ interface RatecardLaneImportForm {
1966
+ readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
1967
+ readonly 'service': string;
1968
+ readonly 'currency': string;
1969
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
1970
+ readonly 'origin': io.flow.common.v0.models.Zone;
1971
+ readonly 'destination': io.flow.common.v0.models.Zone;
1972
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
1973
+ readonly 'dim_factor': number;
1974
+ readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
1975
+ readonly 'distance_unit': io.flow.common.v0.enums.UnitOfMeasurement;
1976
+ readonly 'rates': io.flow.ratecard.v0.models.RatecardRateForm[];
1977
+ }
1978
+
1979
+ interface RatecardLaneVersion {
2257
1980
  readonly 'id': string;
2258
1981
  readonly 'timestamp': string;
2259
1982
  readonly 'type': io.flow.common.v0.enums.ChangeType;
2260
- readonly 'inventory_update': io.flow.inventory.v0.models.InventoryUpdate;
1983
+ readonly 'ratecard_lane': io.flow.ratecard.v0.models.RatecardLane;
2261
1984
  }
2262
1985
 
2263
- interface NoInventoryReservationError {
2264
- readonly 'code': 'no_inventory';
2265
- readonly 'messages': string[];
2266
- readonly 'items': io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
1986
+ interface RatecardLanesImportRequestData {
1987
+ readonly 'id': string;
1988
+ readonly 'source_url': string;
1989
+ readonly 'filename'?: string;
2267
1990
  }
2268
1991
 
2269
- interface NoInventoryReservationErrorItem {
2270
- readonly 'number': string;
2271
- readonly 'requested_quantity': number;
2272
- readonly 'available_quantity': number;
1992
+ interface RatecardRate {
1993
+ readonly 'id': string;
1994
+ readonly 'amount': number;
1995
+ readonly 'weight': number;
2273
1996
  }
2274
1997
 
2275
- interface PfsInventoryCheckResponse {
2276
- readonly 'items': Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
1998
+ interface RatecardRateForm {
1999
+ readonly 'amount': number;
2000
+ readonly 'weight': number;
2277
2001
  }
2278
2002
 
2279
- interface PfsInventoryCheckResponseItem {
2280
- readonly 'number': string;
2281
- readonly 'ats': number;
2282
- readonly 'in_stock': boolean;
2003
+ interface RatecardRateVersion {
2004
+ readonly 'id': string;
2005
+ readonly 'timestamp': string;
2006
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
2007
+ readonly 'ratecard_rate': io.flow.ratecard.v0.models.RatecardRate;
2283
2008
  }
2284
2009
 
2285
- interface PfsInventoryStatus {
2286
- readonly 'status': string;
2010
+ interface RatecardReference {
2011
+ readonly 'id': string;
2287
2012
  }
2288
2013
 
2289
- interface Reservation {
2014
+ interface RatecardServiceSummary {
2290
2015
  readonly 'id': string;
2291
- readonly 'key': string;
2292
- readonly 'order'?: io.flow.inventory.v0.models.ReservationOrderReference;
2293
- readonly 'items': io.flow.inventory.v0.models.ReservationItem[];
2294
- readonly 'reserved_until'?: string;
2016
+ readonly 'name': string;
2017
+ readonly 'carrier': io.flow.ratecard.v0.models.RatecardCarrierSummary;
2295
2018
  }
2296
2019
 
2297
- interface ReservationForm {
2298
- readonly 'order_number'?: string;
2299
- readonly 'items': io.flow.inventory.v0.models.ReservationItemForm[];
2020
+ interface RatecardVersion {
2021
+ readonly 'id': string;
2022
+ readonly 'timestamp': string;
2023
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
2024
+ readonly 'ratecard': io.flow.ratecard.v0.models.Ratecard;
2300
2025
  }
2301
2026
 
2302
- interface ReservationItem {
2303
- readonly 'item': io.flow.inventory.v0.models.ReservationItemReference;
2304
- readonly 'quantity': number;
2027
+ interface RemoteAreaRatecardFee {
2028
+ readonly 'discriminator': 'remote_area_ratecard_fee';
2029
+ readonly 'amount': io.flow.common.v0.models.Money;
2305
2030
  }
2306
2031
 
2307
- interface ReservationItemForm {
2308
- readonly 'item_number': string;
2309
- readonly 'quantity': number;
2032
+ interface RemoteAreaServiceFee {
2033
+ readonly 'discriminator': 'remote_area_service_fee';
2034
+ readonly 'amount': io.flow.common.v0.models.Money;
2310
2035
  }
2311
2036
 
2312
- interface ReservationItemReference {
2313
- readonly 'number': string;
2037
+ interface ReturnPackageRatecardFee {
2038
+ readonly 'discriminator': 'return_package_ratecard_fee';
2039
+ readonly 'amount': number;
2314
2040
  }
2315
2041
 
2316
- interface ReservationOrderReference {
2317
- readonly 'number': string;
2042
+ interface ShipmentWindow {
2043
+ readonly 'from': number;
2044
+ readonly 'to': number;
2318
2045
  }
2046
+ }
2319
2047
 
2320
- interface Serial {
2048
+ declare namespace io.flow.ratecard.v0.unions {
2049
+ type RatecardEstimate = (io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2);
2050
+ type RatecardEstimateForm = (io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2);
2051
+ 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);
2052
+ type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee);
2053
+ }
2054
+
2055
+ declare namespace io.flow.session.context.v0.models {
2056
+ interface Context {
2321
2057
  readonly 'id': string;
2322
- readonly 'number': string;
2323
- readonly 'item_number': string;
2324
- readonly 'item_price': io.flow.common.v0.models.Price;
2325
- readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
2326
- readonly 'center': io.flow.fulfillment.v0.models.CenterReference;
2327
- readonly 'attributes': Record<string, string>;
2058
+ readonly 'experiments': io.flow.session.context.v0.models.Experiment[];
2328
2059
  }
2329
2060
 
2330
- interface SerialForm {
2331
- readonly 'number': string;
2332
- readonly 'item_number': string;
2333
- readonly 'item_price': number;
2334
- readonly 'item_currency': string;
2335
- readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
2336
- readonly 'center_key'?: string;
2337
- readonly 'attributes'?: Record<string, string>;
2061
+ interface ContextForm {
2062
+ readonly 'experiments': io.flow.session.context.v0.models.Experiment[];
2338
2063
  }
2339
2064
 
2340
- interface SerialVersion {
2065
+ interface ContextReference {
2341
2066
  readonly 'id': string;
2342
- readonly 'timestamp': string;
2343
- readonly 'type': io.flow.common.v0.enums.ChangeType;
2344
- readonly 'serial': io.flow.inventory.v0.models.Serial;
2345
2067
  }
2346
- }
2347
2068
 
2348
- declare namespace io.flow.inventory.v0.unions {
2349
- type InventoryStrategy = (io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited);
2350
- type ReservationError = (io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError);
2069
+ interface Experiment {
2070
+ readonly 'key': string;
2071
+ readonly 'variant'?: io.flow.session.context.v0.models.ExperimentVariant;
2072
+ }
2073
+
2074
+ interface ExperimentVariant {
2075
+ readonly 'key': string;
2076
+ }
2351
2077
  }
2352
2078
 
2353
2079
  declare namespace io.flow.optin.internal.v0.enums {
@@ -5917,9 +5643,9 @@ declare namespace io.flow.shopify.v0.unions {
5917
5643
 
5918
5644
  declare namespace io.flow.payment.internal.v0.enums {
5919
5645
  type ChargebackPaymentStatus = 'captured' | 'refunded';
5920
- type ChargebackProcessStatus = 'open' | 'closed';
5646
+ type ChargebackProcessStatus = 'inquiry' | 'open' | 'closed';
5921
5647
  type HttpMethod = 'get' | 'post';
5922
- type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox';
5648
+ type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
5923
5649
  type RedirectReason = 'three_d_secure';
5924
5650
  type RiskCheck = 'three_d_secure';
5925
5651
  }
@@ -5994,7 +5720,6 @@ declare namespace io.flow.payment.internal.v0.models {
5994
5720
  readonly 'id': string;
5995
5721
  readonly 'key': string;
5996
5722
  readonly 'authorization': io.flow.payment.v0.models.AuthorizationReference;
5997
- readonly 'capture': io.flow.payment.v0.models.CaptureReference;
5998
5723
  readonly 'amount': number;
5999
5724
  readonly 'currency': string;
6000
5725
  readonly 'base'?: io.flow.common.v0.models.Money;
@@ -6007,6 +5732,7 @@ declare namespace io.flow.payment.internal.v0.models {
6007
5732
  readonly 'processor_status': string;
6008
5733
  readonly 'processor_reference'?: string;
6009
5734
  readonly 'provider_reference'?: string;
5735
+ readonly 'provider_reason_code'?: string;
6010
5736
  }
6011
5737
 
6012
5738
  interface ChargebackVersion {
@@ -6043,6 +5769,11 @@ declare namespace io.flow.payment.internal.v0.models {
6043
5769
  readonly 'passphrase_ids': string[];
6044
5770
  }
6045
5771
 
5772
+ interface FiservAuthenticationDataReference {
5773
+ readonly 'account_id': string;
5774
+ readonly 'store_id': string;
5775
+ }
5776
+
6046
5777
  interface InternalAdyenAuthorizationDetails {
6047
5778
  readonly 'discriminator': 'internal_adyen_authorization_details';
6048
5779
  readonly 'adyen_authentication_data': io.flow.payment.internal.v0.models.AdyenAuthenticationDataReference;
@@ -6063,6 +5794,11 @@ declare namespace io.flow.payment.internal.v0.models {
6063
5794
  readonly 'internal'?: io.flow.payment.internal.v0.unions.InternalAuthorizationDetails;
6064
5795
  }
6065
5796
 
5797
+ interface InternalFiservAuthorizationDetails {
5798
+ readonly 'discriminator': 'internal_fiserv_authorization_details';
5799
+ readonly 'fiserv_authentication_data': io.flow.payment.internal.v0.models.FiservAuthenticationDataReference;
5800
+ }
5801
+
6066
5802
  interface InternalPaypalAuthorizationDetails {
6067
5803
  readonly 'discriminator': 'internal_paypal_authorization_details';
6068
5804
  readonly 'paypal_authentication_data': io.flow.payment.internal.v0.models.PaypalAuthenticationDataReference;
@@ -6168,7 +5904,7 @@ declare namespace io.flow.payment.internal.v0.models {
6168
5904
 
6169
5905
  declare namespace io.flow.payment.internal.v0.unions {
6170
5906
  type AuthorizationPayload = (io.flow.payment.internal.v0.models.ApplePaymentToken | io.flow.payment.internal.v0.models.PaypalAuthorizationPayload);
6171
- type InternalAuthorizationDetails = (io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails);
5907
+ type InternalAuthorizationDetails = (io.flow.payment.internal.v0.models.InternalPaypalAuthorizationDetails | io.flow.payment.internal.v0.models.InternalBitpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalStripeAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAdyenAuthorizationDetails | io.flow.payment.internal.v0.models.InternalAfterpayAuthorizationDetails | io.flow.payment.internal.v0.models.InternalFiservAuthorizationDetails);
6172
5908
  type InternalRefundForm = (io.flow.payment.internal.v0.models.AdyenRefundForm);
6173
5909
  type PaymentAccount = (io.flow.payment.internal.v0.models.StripeAccount);
6174
5910
  type PaymentAccountForm = (io.flow.payment.internal.v0.models.StripeAccountForm);
@@ -8093,713 +7829,1092 @@ declare namespace io.flow.stripe.v0.models {
8093
7829
  readonly 'metadata'?: io.flow.stripe.v0.models.Metadata;
8094
7830
  }
8095
7831
 
8096
- interface Refunds {
8097
- readonly 'object': string;
8098
- readonly 'data': io.flow.stripe.v0.models.Refund[];
8099
- readonly 'has_more': boolean;
8100
- readonly 'total_count': number;
8101
- readonly 'url': string;
7832
+ interface Refunds {
7833
+ readonly 'object': string;
7834
+ readonly 'data': io.flow.stripe.v0.models.Refund[];
7835
+ readonly 'has_more': boolean;
7836
+ readonly 'total_count': number;
7837
+ readonly 'url': string;
7838
+ }
7839
+
7840
+ interface Shipping {
7841
+ readonly 'address': io.flow.stripe.v0.models.Address;
7842
+ readonly 'name': string;
7843
+ readonly 'phone'?: string;
7844
+ }
7845
+
7846
+ interface Source {
7847
+ readonly 'id': string;
7848
+ readonly 'object': string;
7849
+ readonly 'amount'?: number;
7850
+ readonly 'card'?: io.flow.stripe.v0.models.SourceCard;
7851
+ readonly 'client_secret'?: string;
7852
+ readonly 'code_verification'?: io.flow.stripe.v0.models.CodeVerification;
7853
+ readonly 'created': number;
7854
+ readonly 'currency'?: string;
7855
+ readonly 'flow': io.flow.stripe.v0.enums.SourceFlow;
7856
+ readonly 'klarna'?: io.flow.stripe.v0.models.SourceKlarna;
7857
+ readonly 'livemode': boolean;
7858
+ readonly 'owner'?: io.flow.stripe.v0.models.Owner;
7859
+ readonly 'receiver'?: io.flow.stripe.v0.models.Receiver;
7860
+ readonly 'redirect'?: io.flow.stripe.v0.models.Redirect;
7861
+ readonly 'statement_descriptor'?: string;
7862
+ readonly 'status': io.flow.stripe.v0.enums.SourceStatus;
7863
+ readonly 'type': io.flow.stripe.v0.enums.SourceType;
7864
+ readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
7865
+ }
7866
+
7867
+ interface SourceCard {
7868
+ readonly 'exp_month': number;
7869
+ readonly 'exp_year': number;
7870
+ readonly 'brand'?: io.flow.stripe.v0.enums.CardBrand;
7871
+ readonly 'card_automatically_updated'?: boolean;
7872
+ readonly 'country'?: string;
7873
+ readonly 'cvc_check'?: io.flow.stripe.v0.enums.CheckOutcome;
7874
+ readonly 'fingerprint'?: string;
7875
+ readonly 'funding'?: io.flow.stripe.v0.enums.CardFundingType;
7876
+ readonly 'last4'?: string;
7877
+ readonly 'three_d_secure'?: io.flow.stripe.v0.enums.ThreeDSecureSupport;
7878
+ readonly 'address_line1_check'?: io.flow.stripe.v0.enums.CheckOutcome;
7879
+ readonly 'address_zip_check'?: io.flow.stripe.v0.enums.CheckOutcome;
7880
+ readonly 'tokenization_method'?: string;
7881
+ readonly 'dynamic_last4'?: string;
7882
+ }
7883
+
7884
+ interface SourceCardRequest {
7885
+ readonly 'exp_month': string;
7886
+ readonly 'exp_year': string;
7887
+ readonly 'number': string;
7888
+ readonly 'cvc'?: string;
7889
+ }
7890
+
7891
+ interface SourceKlarna {
7892
+ readonly 'first_name'?: string;
7893
+ readonly 'last_name'?: string;
7894
+ readonly 'client_token': string;
7895
+ }
7896
+
7897
+ interface SourceKlarnaRequest {
7898
+ readonly 'first_name': string;
7899
+ readonly 'last_name': string;
7900
+ readonly 'attachment'?: string;
7901
+ }
7902
+
7903
+ interface SourceRequest {
7904
+ readonly 'type'?: io.flow.stripe.v0.enums.SourceType;
7905
+ readonly 'amount'?: number;
7906
+ readonly 'card'?: io.flow.stripe.v0.models.SourceCardRequest;
7907
+ readonly 'currency'?: string;
7908
+ readonly 'flow'?: io.flow.stripe.v0.enums.SourceFlow;
7909
+ readonly 'klarna'?: io.flow.stripe.v0.models.SourceKlarnaRequest;
7910
+ readonly 'order'?: io.flow.stripe.v0.models.OrderRequest;
7911
+ readonly 'owner'?: io.flow.stripe.v0.models.Owner;
7912
+ readonly 'receiver'?: io.flow.stripe.v0.models.Receiver;
7913
+ readonly 'redirect'?: io.flow.stripe.v0.models.Redirect;
7914
+ readonly 'statement_descriptor'?: string;
7915
+ readonly 'three_d_secure'?: io.flow.stripe.v0.models.ThreeDSecure;
7916
+ readonly 'token'?: string;
7917
+ readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
7918
+ }
7919
+
7920
+ interface Stripe3Ds2Fingerprint {
7921
+ readonly 'type': io.flow.stripe.v0.enums.UseStripeSdkType;
7922
+ readonly 'three_d_secure_2_source': string;
7923
+ readonly 'directory_server_name'?: string;
7924
+ readonly 'server_transaction_id'?: string;
7925
+ readonly 'three_ds_method_url'?: string;
7926
+ readonly 'three_ds_optimizations'?: string;
7927
+ readonly 'directory_server_encryption'?: any/*object*/;
7928
+ }
7929
+
7930
+ interface StripeError {
7931
+ readonly 'type': io.flow.stripe.v0.enums.ErrorType;
7932
+ readonly 'charge'?: string;
7933
+ readonly 'message'?: string;
7934
+ readonly 'code'?: io.flow.stripe.v0.enums.CardErrorCode;
7935
+ readonly 'decline_code'?: string;
7936
+ readonly 'param'?: string;
7937
+ }
7938
+
7939
+ interface StripeEvent {
7940
+ readonly 'id': string;
7941
+ readonly 'object': string;
7942
+ readonly 'api_version'?: string;
7943
+ readonly 'created': number;
7944
+ readonly 'data': io.flow.stripe.v0.models.StripeEventData;
7945
+ readonly 'livemode': boolean;
7946
+ readonly 'pending_webhooks': number;
7947
+ readonly 'request'?: io.flow.stripe.v0.models.StripeEventRequest;
7948
+ readonly 'type': string;
7949
+ }
7950
+
7951
+ interface StripeEventData {
7952
+ readonly 'object'?: any/*object*/;
7953
+ readonly 'previous_attributes'?: any/*object*/;
7954
+ }
7955
+
7956
+ interface StripeEventRequest {
7957
+ readonly 'id'?: string;
7958
+ readonly 'idempotency_key'?: string;
7959
+ }
7960
+
7961
+ interface ThreeDSecure {
7962
+ readonly 'card': string;
7963
+ readonly 'customer'?: string;
7964
+ }
7965
+
7966
+ interface ThreeDSecureRedirect {
7967
+ readonly 'type': io.flow.stripe.v0.enums.UseStripeSdkType;
7968
+ readonly 'stripe_js': string;
7969
+ }
7970
+
7971
+ interface Token {
7972
+ readonly 'id': string;
7973
+ readonly 'object': string;
7974
+ readonly 'client_ip': string;
7975
+ readonly 'created': number;
7976
+ readonly 'livemode': boolean;
7977
+ readonly 'type': io.flow.stripe.v0.enums.TokenType;
7978
+ readonly 'used': boolean;
7979
+ readonly 'card'?: io.flow.stripe.v0.models.Card;
7980
+ }
7981
+
7982
+ interface TosAcceptance {
7983
+ readonly 'date'?: number;
7984
+ readonly 'ip'?: string;
7985
+ readonly 'user_agent'?: string;
7986
+ }
7987
+
7988
+ interface TransferData {
7989
+ readonly 'amount': number;
7990
+ readonly 'destination'?: string;
7991
+ }
7992
+ }
7993
+
7994
+ declare namespace io.flow.RESERVED_WORD_export.v0.enums {
7995
+ type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
7996
+ }
7997
+
7998
+ declare namespace io.flow.RESERVED_WORD_export.v0.models {
7999
+ interface AccountOrdersExportType {
8000
+ readonly 'discriminator': 'account_orders_export_type';
8001
+ readonly 'statement_id'?: string;
8002
+ readonly 'transaction_summary_id'?: string;
8003
+ readonly 'transaction_created_from'?: string;
8004
+ readonly 'transaction_created_to'?: string;
8005
+ readonly 'transaction_created_on_or_after'?: string;
8006
+ readonly 'transaction_created_after'?: string;
8007
+ readonly 'transaction_created_on_or_before'?: string;
8008
+ readonly 'transaction_created_before'?: string;
8009
+ readonly 'transaction_posted_from'?: string;
8010
+ readonly 'transaction_posted_to'?: string;
8011
+ readonly 'transaction_posted_on_or_after'?: string;
8012
+ readonly 'transaction_posted_after'?: string;
8013
+ readonly 'transaction_posted_on_or_before'?: string;
8014
+ readonly 'transaction_posted_before'?: string;
8015
+ }
8016
+
8017
+ interface AccountTransactionsExportType {
8018
+ readonly 'discriminator': 'account_transactions_export_type';
8019
+ readonly 'statement_id'?: string;
8020
+ readonly 'transaction_summary_id'?: string;
8021
+ readonly 'created_from'?: string;
8022
+ readonly 'created_to'?: string;
8023
+ readonly 'created_on_or_after'?: string;
8024
+ readonly 'created_after'?: string;
8025
+ readonly 'created_on_or_before'?: string;
8026
+ readonly 'created_before'?: string;
8027
+ readonly 'posted_from'?: string;
8028
+ readonly 'posted_to'?: string;
8029
+ readonly 'posted_on_or_after'?: string;
8030
+ readonly 'posted_after'?: string;
8031
+ readonly 'posted_on_or_before'?: string;
8032
+ readonly 'posted_before'?: string;
8033
+ }
8034
+
8035
+ interface AnalyticsExportType {
8036
+ readonly 'discriminator': 'analytics_export_type';
8037
+ readonly 'from'?: string;
8038
+ readonly 'to'?: string;
8039
+ readonly 'region'?: string;
8040
+ readonly 'interval'?: io.flow.common.v0.enums.UnitOfTime;
8041
+ }
8042
+
8043
+ interface CatalogItemExportType {
8044
+ readonly 'discriminator': 'catalog_item_export_type';
8045
+ readonly 'numbers'?: string[];
8046
+ readonly 'q'?: string;
8047
+ readonly 'sort'?: string;
8048
+ }
8049
+
8050
+ interface CsvPriceBookItemExportRow {
8051
+ readonly 'price_book_key': string;
8052
+ readonly 'price_book_item_key': string;
8053
+ readonly 'item_number': string;
8054
+ readonly 'item_name': string;
8055
+ readonly 'amount': number;
8056
+ readonly 'item_attributes'?: Record<string, string>;
8057
+ readonly 'starts_at': string;
8058
+ readonly 'ends_at'?: string;
8059
+ }
8060
+
8061
+ interface ExperienceExportType {
8062
+ readonly 'discriminator': 'experience_export_type';
8063
+ readonly 'organization_id': string;
8064
+ readonly 'ids'?: string[];
8065
+ readonly 'keys'?: string[];
8066
+ }
8067
+
8068
+ interface Export {
8069
+ readonly 'id': string;
8070
+ readonly 'type': io.flow.RESERVED_WORD_export.v0.unions.ExportType;
8071
+ readonly 'status': io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
8072
+ readonly 'organization_q': string;
8073
+ readonly 'created_at': string;
8074
+ readonly 'started_at'?: string;
8075
+ readonly 'completed_at'?: string;
8076
+ readonly 'url'?: string;
8077
+ readonly 'deliveries': io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
8078
+ }
8079
+
8080
+ interface ExportDeliveryEmail {
8081
+ readonly 'discriminator': 'export_delivery_email';
8082
+ readonly 'email': string;
8083
+ }
8084
+
8085
+ interface ExportForm {
8086
+ readonly 'type': io.flow.RESERVED_WORD_export.v0.unions.ExportType;
8087
+ readonly 'emails'?: string[];
8088
+ readonly 'organization_q'?: string;
8089
+ }
8090
+
8091
+ interface ExportLocalizedItemPrices {
8092
+ readonly 'organization': io.flow.common.v0.models.OrganizationReference;
8093
+ readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
8094
+ readonly 'item': io.flow.common.v0.models.CatalogItemReference;
8095
+ readonly 'prices': io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
8096
+ readonly 'status'?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
8097
+ }
8098
+
8099
+ interface ExportLocalizedItemPricesDetail {
8100
+ readonly 'item': io.flow.catalog.v0.models.LocalizedItemPrice;
8101
+ readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
8102
+ readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
8103
+ readonly 'price_attributes': Record<string, io.flow.common.v0.models.PriceWithBase>;
8104
+ }
8105
+
8106
+ interface ExportVersion {
8107
+ readonly 'id': string;
8108
+ readonly 'timestamp': string;
8109
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
8110
+ readonly 'export': io.flow.RESERVED_WORD_export.v0.models.Export;
8111
+ }
8112
+
8113
+ interface HarmonizationHs10ExportType {
8114
+ readonly 'discriminator': 'harmonization_hs10_export_type';
8115
+ readonly 'origin'?: string;
8116
+ readonly 'destination'?: string;
8117
+ readonly 'numbers'?: string[];
8118
+ readonly 'has_codes'?: boolean;
8119
+ readonly 'has_origins'?: boolean;
8120
+ readonly 'sort'?: string;
8121
+ }
8122
+
8123
+ interface HarmonizationHs6ExportType {
8124
+ readonly 'discriminator': 'harmonization_hs6_export_type';
8125
+ readonly 'numbers'?: string[];
8126
+ readonly 'has_codes'?: boolean;
8127
+ readonly 'sort'?: string;
8128
+ }
8129
+
8130
+ interface HarmonizationLandedCostExportType {
8131
+ readonly 'discriminator': 'harmonization_landed_cost_export_type';
8132
+ readonly 'items': io.flow.RESERVED_WORD_export.v0.models.LandedCostItem[];
8133
+ }
8134
+
8135
+ interface HarmonizationOverviewExportType {
8136
+ readonly 'discriminator': 'harmonization_overview_export_type';
8137
+ readonly 'origin'?: string;
8138
+ readonly 'destination'?: string;
8139
+ readonly 'sort'?: string;
8140
+ }
8141
+
8142
+ interface LandedCostItem {
8143
+ readonly 'number': string;
8144
+ readonly 'origin': string;
8145
+ readonly 'destination': string;
8146
+ }
8147
+
8148
+ interface LocalizedItemPricesExportType {
8149
+ readonly 'discriminator': 'localized_item_prices_export_type';
8150
+ readonly 'since'?: string;
8151
+ }
8152
+
8153
+ interface OrderExportType {
8154
+ readonly 'discriminator': 'order_export_type';
8155
+ readonly 'numbers'?: string[];
8156
+ readonly 'min_hours_since_submitted_at'?: number;
8157
+ readonly 'submitted_on_or_before'?: string;
8158
+ readonly 'submitted_on_or_after'?: string;
8159
+ readonly 'status'?: io.flow.experience.v0.enums.OrderStatus;
8160
+ readonly 'has_tracking_label'?: boolean;
8161
+ readonly 'sort'?: string;
8162
+ }
8163
+
8164
+ interface PriceBookItemExportType {
8165
+ readonly 'discriminator': 'price_book_item_export_type';
8166
+ readonly 'price_book_key'?: string;
8167
+ readonly 'item_numbers'?: string[];
8168
+ readonly 'start_date'?: string;
8169
+ readonly 'end_date'?: string;
8170
+ }
8171
+
8172
+ interface ScheduledExport {
8173
+ readonly 'id': string;
8174
+ readonly 'user': io.flow.common.v0.models.UserReference;
8175
+ readonly 'organization_q': string;
8176
+ readonly 'hour': number;
8177
+ readonly 'minute': number;
8178
+ readonly 'timezone': string;
8179
+ readonly 'types': io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
8180
+ readonly 'last_sent_at'?: string;
8181
+ }
8182
+
8183
+ interface ScheduledExportForm {
8184
+ readonly 'user_id': string;
8185
+ readonly 'organization_q': string;
8186
+ readonly 'hour': number;
8187
+ readonly 'minute': number;
8188
+ readonly 'timezone': string;
8189
+ readonly 'types': io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
8190
+ }
8191
+
8192
+ interface SolidusProductExportType {
8193
+ readonly 'discriminator': 'solidus_product_export_type';
8194
+ readonly 'numbers'?: string[];
8195
+ readonly 'sort'?: string;
8196
+ }
8197
+
8198
+ interface SolidusVariantExportType {
8199
+ readonly 'discriminator': 'solidus_variant_export_type';
8200
+ readonly 'numbers'?: string[];
8201
+ readonly 'sort'?: string;
8202
+ }
8203
+
8204
+ interface UnharmonizedItemExportType {
8205
+ readonly 'discriminator': 'unharmonized_item_export_type';
8206
+ readonly 'sort'?: string;
8207
+ }
8208
+ }
8209
+
8210
+ declare namespace io.flow.RESERVED_WORD_export.v0.unions {
8211
+ type ExportDelivery = (io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail);
8212
+ type ExportType = (io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType);
8213
+ }
8214
+
8215
+ declare namespace io.flow.shopify.internal.v0.enums {
8216
+ type FlowApp = 'console';
8217
+ type ShopifyCheckInventoryErrorCode = 'inventory_out_of_stock';
8218
+ type ShopifyGrantStatus = 'pass' | 'fail';
8219
+ type ShopifyPromotionOfferAllocationMethod = 'each' | 'across';
8220
+ type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
8221
+ type ShopifyPromotionStatus = 'active' | 'inactive';
8222
+ }
8223
+
8224
+ declare namespace io.flow.shopify.internal.v0.models {
8225
+ interface CompletePriceRule {
8226
+ readonly 'price_rule': io.flow.shopify.external.v0.models.PriceRule;
8227
+ readonly 'discount_codes': io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
8228
+ }
8229
+
8230
+ interface InstallForm {
8231
+ readonly 'token': string;
8232
+ }
8233
+
8234
+ interface OrderSubmissionForm {
8235
+ readonly 'authorization'?: io.flow.payment.v0.unions.AuthorizationForm;
8236
+ }
8237
+
8238
+ interface Shop {
8239
+ readonly 'id': string;
8240
+ readonly 'organization'?: io.flow.common.v0.models.OrganizationReference;
8241
+ readonly 'myshopify_domain': string;
8242
+ readonly 'domain'?: string;
8243
+ }
8244
+
8245
+ interface ShopForm {
8246
+ readonly 'organization_id': string;
8247
+ }
8248
+
8249
+ interface ShopVersion {
8250
+ readonly 'id': string;
8251
+ readonly 'timestamp': string;
8252
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
8253
+ readonly 'shop': io.flow.shopify.internal.v0.models.Shop;
8254
+ }
8255
+
8256
+ interface ShopifyCheckInventoryError {
8257
+ readonly 'code': io.flow.shopify.internal.v0.enums.ShopifyCheckInventoryErrorCode;
8258
+ readonly 'messages': string[];
8259
+ readonly 'numbers'?: string[];
8102
8260
  }
8103
8261
 
8104
- interface Shipping {
8105
- readonly 'address': io.flow.stripe.v0.models.Address;
8106
- readonly 'name': string;
8107
- readonly 'phone'?: string;
8262
+ interface ShopifyCodeForm {
8263
+ readonly 'code': string;
8108
8264
  }
8109
8265
 
8110
- interface Source {
8266
+ interface ShopifyExperienceShortId {
8111
8267
  readonly 'id': string;
8112
- readonly 'object': string;
8113
- readonly 'amount'?: number;
8114
- readonly 'card'?: io.flow.stripe.v0.models.SourceCard;
8115
- readonly 'client_secret'?: string;
8116
- readonly 'code_verification'?: io.flow.stripe.v0.models.CodeVerification;
8117
- readonly 'created': number;
8118
- readonly 'currency'?: string;
8119
- readonly 'flow': io.flow.stripe.v0.enums.SourceFlow;
8120
- readonly 'klarna'?: io.flow.stripe.v0.models.SourceKlarna;
8121
- readonly 'livemode': boolean;
8122
- readonly 'owner'?: io.flow.stripe.v0.models.Owner;
8123
- readonly 'receiver'?: io.flow.stripe.v0.models.Receiver;
8124
- readonly 'redirect'?: io.flow.stripe.v0.models.Redirect;
8125
- readonly 'statement_descriptor'?: string;
8126
- readonly 'status': io.flow.stripe.v0.enums.SourceStatus;
8127
- readonly 'type': io.flow.stripe.v0.enums.SourceType;
8128
- readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
8268
+ readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
8269
+ readonly 'short_id': string;
8129
8270
  }
8130
8271
 
8131
- interface SourceCard {
8132
- readonly 'exp_month': number;
8133
- readonly 'exp_year': number;
8134
- readonly 'brand'?: io.flow.stripe.v0.enums.CardBrand;
8135
- readonly 'card_automatically_updated'?: boolean;
8136
- readonly 'country'?: string;
8137
- readonly 'cvc_check'?: io.flow.stripe.v0.enums.CheckOutcome;
8138
- readonly 'fingerprint'?: string;
8139
- readonly 'funding'?: io.flow.stripe.v0.enums.CardFundingType;
8140
- readonly 'last4'?: string;
8141
- readonly 'three_d_secure'?: io.flow.stripe.v0.enums.ThreeDSecureSupport;
8142
- readonly 'address_line1_check'?: io.flow.stripe.v0.enums.CheckOutcome;
8143
- readonly 'address_zip_check'?: io.flow.stripe.v0.enums.CheckOutcome;
8144
- readonly 'tokenization_method'?: string;
8145
- readonly 'dynamic_last4'?: string;
8272
+ interface ShopifyGiftCardBalance {
8273
+ readonly 'gift_card_id': number;
8274
+ readonly 'last_characters': string;
8275
+ readonly 'amount': number;
8276
+ readonly 'currency': string;
8146
8277
  }
8147
8278
 
8148
- interface SourceCardRequest {
8149
- readonly 'exp_month': string;
8150
- readonly 'exp_year': string;
8279
+ interface ShopifyGiftCardBalanceForm {
8151
8280
  readonly 'number': string;
8152
- readonly 'cvc'?: string;
8153
8281
  }
8154
8282
 
8155
- interface SourceKlarna {
8156
- readonly 'first_name'?: string;
8157
- readonly 'last_name'?: string;
8158
- readonly 'client_token': string;
8283
+ interface ShopifyGiftCardPaymentForm {
8284
+ readonly 'code': string;
8285
+ readonly 'customer_id'?: number;
8159
8286
  }
8160
8287
 
8161
- interface SourceKlarnaRequest {
8162
- readonly 'first_name': string;
8163
- readonly 'last_name': string;
8164
- readonly 'attachment'?: string;
8288
+ interface ShopifyGiftCardRedemption {
8289
+ readonly 'adjustment_id': number;
8290
+ readonly 'gift_card_id': number;
8291
+ readonly 'last_characters': string;
8292
+ readonly 'amount': number;
8293
+ readonly 'currency': string;
8165
8294
  }
8166
8295
 
8167
- interface SourceRequest {
8168
- readonly 'type'?: io.flow.stripe.v0.enums.SourceType;
8169
- readonly 'amount'?: number;
8170
- readonly 'card'?: io.flow.stripe.v0.models.SourceCardRequest;
8171
- readonly 'currency'?: string;
8172
- readonly 'flow'?: io.flow.stripe.v0.enums.SourceFlow;
8173
- readonly 'klarna'?: io.flow.stripe.v0.models.SourceKlarnaRequest;
8174
- readonly 'order'?: io.flow.stripe.v0.models.OrderRequest;
8175
- readonly 'owner'?: io.flow.stripe.v0.models.Owner;
8176
- readonly 'receiver'?: io.flow.stripe.v0.models.Receiver;
8177
- readonly 'redirect'?: io.flow.stripe.v0.models.Redirect;
8178
- readonly 'statement_descriptor'?: string;
8179
- readonly 'three_d_secure'?: io.flow.stripe.v0.models.ThreeDSecure;
8180
- readonly 'token'?: string;
8181
- readonly 'usage': io.flow.stripe.v0.enums.SourceUsageType;
8296
+ interface ShopifyGiftCardRedemptionForm {
8297
+ readonly 'number': string;
8298
+ readonly 'amount': number;
8299
+ readonly 'currency': string;
8182
8300
  }
8183
8301
 
8184
- interface Stripe3Ds2Fingerprint {
8185
- readonly 'type': io.flow.stripe.v0.enums.UseStripeSdkType;
8186
- readonly 'three_d_secure_2_source': string;
8187
- readonly 'directory_server_name'?: string;
8188
- readonly 'server_transaction_id'?: string;
8189
- readonly 'three_ds_method_url'?: string;
8190
- readonly 'three_ds_optimizations'?: string;
8191
- readonly 'directory_server_encryption'?: any/*object*/;
8302
+ interface ShopifyGiftCardReversal {
8303
+ readonly 'adjustment_id': number;
8304
+ readonly 'gift_card_id': number;
8305
+ readonly 'last_characters': string;
8306
+ readonly 'amount': number;
8307
+ readonly 'currency': string;
8192
8308
  }
8193
8309
 
8194
- interface StripeError {
8195
- readonly 'type': io.flow.stripe.v0.enums.ErrorType;
8196
- readonly 'charge'?: string;
8197
- readonly 'message'?: string;
8198
- readonly 'code'?: io.flow.stripe.v0.enums.CardErrorCode;
8199
- readonly 'decline_code'?: string;
8200
- readonly 'param'?: string;
8310
+ interface ShopifyGiftCardReversalForm {
8311
+ readonly 'number': string;
8312
+ readonly 'amount': number;
8313
+ readonly 'currency': string;
8201
8314
  }
8202
8315
 
8203
- interface StripeEvent {
8204
- readonly 'id': string;
8205
- readonly 'object': string;
8206
- readonly 'api_version'?: string;
8207
- readonly 'created': number;
8208
- readonly 'data': io.flow.stripe.v0.models.StripeEventData;
8209
- readonly 'livemode': boolean;
8210
- readonly 'pending_webhooks': number;
8211
- readonly 'request'?: io.flow.stripe.v0.models.StripeEventRequest;
8212
- readonly 'type': string;
8316
+ interface ShopifyGrantsCheck {
8317
+ readonly 'dummy': string;
8213
8318
  }
8214
8319
 
8215
- interface StripeEventData {
8216
- readonly 'object'?: any/*object*/;
8217
- readonly 'previous_attributes'?: any/*object*/;
8320
+ interface ShopifyOrderAuthorization {
8321
+ readonly 'result': io.flow.payment.v0.models.AuthorizationResult;
8322
+ readonly 'detail'?: io.flow.shopify.internal.v0.models.ShopifyOrderDetail;
8323
+ readonly 'redirect'?: string;
8218
8324
  }
8219
8325
 
8220
- interface StripeEventRequest {
8221
- readonly 'id'?: string;
8222
- readonly 'idempotency_key'?: string;
8326
+ interface ShopifyOrderContent {
8327
+ readonly 'lines': io.flow.shopify.internal.v0.models.ShopifyOrderLineContent[];
8328
+ readonly 'discounts': io.flow.shopify.internal.v0.models.ShopifyOrderDiscountContent[];
8223
8329
  }
8224
8330
 
8225
- interface ThreeDSecure {
8226
- readonly 'card': string;
8227
- readonly 'customer'?: string;
8331
+ interface ShopifyOrderDetail {
8332
+ readonly 'organization': io.flow.common.v0.models.OrganizationReference;
8333
+ readonly 'number': string;
8334
+ readonly 'order': io.flow.experience.v0.models.Order;
8335
+ readonly 'payments': io.flow.shopify.internal.v0.models.ShopifyPaymentSummary[];
8336
+ readonly 'contents': io.flow.shopify.internal.v0.models.ShopifyOrderContent;
8228
8337
  }
8229
8338
 
8230
- interface ThreeDSecureRedirect {
8231
- readonly 'type': io.flow.stripe.v0.enums.UseStripeSdkType;
8232
- readonly 'stripe_js': string;
8339
+ interface ShopifyOrderDiscountContent {
8340
+ readonly 'description': string;
8341
+ readonly 'code'?: string;
8233
8342
  }
8234
8343
 
8235
- interface Token {
8236
- readonly 'id': string;
8237
- readonly 'object': string;
8238
- readonly 'client_ip': string;
8239
- readonly 'created': number;
8240
- readonly 'livemode': boolean;
8241
- readonly 'type': io.flow.stripe.v0.enums.TokenType;
8242
- readonly 'used': boolean;
8243
- readonly 'card'?: io.flow.stripe.v0.models.Card;
8344
+ interface ShopifyOrderInventoryCheck {
8345
+ readonly 'item_number': string;
8346
+ readonly 'quantity': number;
8244
8347
  }
8245
8348
 
8246
- interface TosAcceptance {
8247
- readonly 'date'?: number;
8248
- readonly 'ip'?: string;
8249
- readonly 'user_agent'?: string;
8349
+ interface ShopifyOrderLineAttribute {
8350
+ readonly 'key': string;
8351
+ readonly 'name': string;
8352
+ readonly 'value': string;
8250
8353
  }
8251
8354
 
8252
- interface TransferData {
8253
- readonly 'amount': number;
8254
- readonly 'destination'?: string;
8355
+ interface ShopifyOrderLineContent {
8356
+ readonly 'item_number': string;
8357
+ readonly 'quantity': number;
8358
+ readonly 'price': io.flow.common.v0.models.PriceWithBase;
8359
+ readonly 'total': io.flow.common.v0.models.PriceWithBase;
8360
+ readonly 'name': string;
8361
+ readonly 'image_url': string;
8362
+ readonly 'variant_url': string;
8363
+ readonly 'attributes': io.flow.shopify.internal.v0.models.ShopifyOrderLineAttribute[];
8255
8364
  }
8256
- }
8257
-
8258
- declare namespace io.flow.RESERVED_WORD_export.v0.enums {
8259
- type ExportStatus = 'created' | 'processing' | 'completed' | 'failed';
8260
- }
8261
8365
 
8262
- declare namespace io.flow.RESERVED_WORD_export.v0.models {
8263
- interface AccountOrdersExportType {
8264
- readonly 'discriminator': 'account_orders_export_type';
8265
- readonly 'statement_id'?: string;
8266
- readonly 'transaction_summary_id'?: string;
8267
- readonly 'transaction_created_from'?: string;
8268
- readonly 'transaction_created_to'?: string;
8269
- readonly 'transaction_created_on_or_after'?: string;
8270
- readonly 'transaction_created_after'?: string;
8271
- readonly 'transaction_created_on_or_before'?: string;
8272
- readonly 'transaction_created_before'?: string;
8273
- readonly 'transaction_posted_from'?: string;
8274
- readonly 'transaction_posted_to'?: string;
8275
- readonly 'transaction_posted_on_or_after'?: string;
8276
- readonly 'transaction_posted_after'?: string;
8277
- readonly 'transaction_posted_on_or_before'?: string;
8278
- readonly 'transaction_posted_before'?: string;
8366
+ interface ShopifyPaymentSummary {
8367
+ readonly 'description': string;
8368
+ readonly 'address'?: io.flow.common.v0.models.Address;
8369
+ readonly 'contact'?: io.flow.common.v0.models.Contact;
8279
8370
  }
8280
8371
 
8281
- interface AccountTransactionsExportType {
8282
- readonly 'discriminator': 'account_transactions_export_type';
8283
- readonly 'statement_id'?: string;
8284
- readonly 'transaction_summary_id'?: string;
8285
- readonly 'created_from'?: string;
8286
- readonly 'created_to'?: string;
8287
- readonly 'created_on_or_after'?: string;
8288
- readonly 'created_after'?: string;
8289
- readonly 'created_on_or_before'?: string;
8290
- readonly 'created_before'?: string;
8291
- readonly 'posted_from'?: string;
8292
- readonly 'posted_to'?: string;
8293
- readonly 'posted_on_or_after'?: string;
8294
- readonly 'posted_after'?: string;
8295
- readonly 'posted_on_or_before'?: string;
8296
- readonly 'posted_before'?: string;
8372
+ interface ShopifyPromoForm {
8373
+ readonly 'name': string;
8374
+ readonly 'starts_at': string;
8375
+ readonly 'ends_at'?: string;
8376
+ readonly 'status': io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
8377
+ readonly 'rule': io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
8378
+ readonly 'stackable_limit'?: number;
8297
8379
  }
8298
8380
 
8299
- interface AnalyticsExportType {
8300
- readonly 'discriminator': 'analytics_export_type';
8301
- readonly 'from'?: string;
8302
- readonly 'to'?: string;
8303
- readonly 'region'?: string;
8304
- readonly 'interval'?: io.flow.common.v0.enums.UnitOfTime;
8381
+ interface ShopifyPromotion {
8382
+ readonly 'id': string;
8383
+ readonly 'name': string;
8384
+ readonly 'starts_at': string;
8385
+ readonly 'ends_at'?: string;
8386
+ readonly 'status': io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
8387
+ readonly 'rule': io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
8388
+ readonly 'stackable_limit'?: number;
8305
8389
  }
8306
8390
 
8307
- interface CatalogItemExportType {
8308
- readonly 'discriminator': 'catalog_item_export_type';
8309
- readonly 'numbers'?: string[];
8310
- readonly 'q'?: string;
8311
- readonly 'sort'?: string;
8391
+ interface ShopifyPromotionAttributeValue {
8392
+ readonly 'name': string;
8393
+ readonly 'discount': io.flow.common.v0.models.Money;
8312
8394
  }
8313
8395
 
8314
- interface CsvPriceBookItemExportRow {
8315
- readonly 'price_book_key': string;
8316
- readonly 'price_book_item_key': string;
8317
- readonly 'item_number': string;
8318
- readonly 'item_name': string;
8396
+ interface ShopifyPromotionFixedAmount {
8397
+ readonly 'discriminator': 'shopify_promotion_fixed_amount';
8319
8398
  readonly 'amount': number;
8320
- readonly 'item_attributes'?: Record<string, string>;
8321
- readonly 'starts_at': string;
8322
- readonly 'ends_at'?: string;
8399
+ readonly 'currency': string;
8323
8400
  }
8324
8401
 
8325
- interface ExperienceExportType {
8326
- readonly 'discriminator': 'experience_export_type';
8327
- readonly 'organization_id': string;
8328
- readonly 'ids'?: string[];
8329
- readonly 'keys'?: string[];
8402
+ interface ShopifyPromotionForm {
8403
+ readonly 'code': string;
8330
8404
  }
8331
8405
 
8332
- interface Export {
8333
- readonly 'id': string;
8334
- readonly 'type': io.flow.RESERVED_WORD_export.v0.unions.ExportType;
8335
- readonly 'status': io.flow.RESERVED_WORD_export.v0.enums.ExportStatus;
8336
- readonly 'organization_q': string;
8337
- readonly 'created_at': string;
8338
- readonly 'started_at'?: string;
8339
- readonly 'completed_at'?: string;
8340
- readonly 'url'?: string;
8341
- readonly 'deliveries': io.flow.RESERVED_WORD_export.v0.unions.ExportDelivery[];
8406
+ interface ShopifyPromotionItemEntitlement {
8407
+ readonly 'discriminator': 'shopify_promotion_item_entitlement';
8408
+ readonly 'q': string;
8409
+ readonly 'allocation_method': io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
8342
8410
  }
8343
8411
 
8344
- interface ExportDeliveryEmail {
8345
- readonly 'discriminator': 'export_delivery_email';
8346
- readonly 'email': string;
8412
+ interface ShopifyPromotionItemPrerequisite {
8413
+ readonly 'discriminator': 'shopify_promotion_item_prerequisite';
8414
+ readonly 'q': string;
8415
+ readonly 'at_least'?: number;
8416
+ readonly 'at_most'?: number;
8417
+ readonly 'exclude_from_offer'?: boolean;
8347
8418
  }
8348
8419
 
8349
- interface ExportForm {
8350
- readonly 'type': io.flow.RESERVED_WORD_export.v0.unions.ExportType;
8351
- readonly 'emails'?: string[];
8352
- readonly 'organization_q'?: string;
8420
+ interface ShopifyPromotionMaxAmount {
8421
+ readonly 'discriminator': 'shopify_promotion_max_amount';
8422
+ readonly 'amount': number;
8423
+ readonly 'currency': string;
8353
8424
  }
8354
8425
 
8355
- interface ExportLocalizedItemPrices {
8356
- readonly 'organization': io.flow.common.v0.models.OrganizationReference;
8357
- readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
8358
- readonly 'item': io.flow.common.v0.models.CatalogItemReference;
8359
- readonly 'prices': io.flow.RESERVED_WORD_export.v0.models.ExportLocalizedItemPricesDetail;
8360
- readonly 'status'?: io.flow.catalog.v0.enums.SubcatalogItemStatus;
8426
+ interface ShopifyPromotionMaxLimit {
8427
+ readonly 'discriminator': 'shopify_promotion_max_limit';
8428
+ readonly 'limit': number;
8361
8429
  }
8362
8430
 
8363
- interface ExportLocalizedItemPricesDetail {
8364
- readonly 'item': io.flow.catalog.v0.models.LocalizedItemPrice;
8365
- readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
8366
- readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
8367
- readonly 'price_attributes': Record<string, io.flow.common.v0.models.PriceWithBase>;
8431
+ interface ShopifyPromotionOffer {
8432
+ readonly 'discount': io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
8433
+ readonly 'entitlement': io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
8434
+ readonly 'max'?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
8368
8435
  }
8369
8436
 
8370
- interface ExportVersion {
8371
- readonly 'id': string;
8372
- readonly 'timestamp': string;
8373
- readonly 'type': io.flow.common.v0.enums.ChangeType;
8374
- readonly 'export': io.flow.RESERVED_WORD_export.v0.models.Export;
8437
+ interface ShopifyPromotionOrderEntitlement {
8438
+ readonly 'discriminator': 'shopify_promotion_order_entitlement';
8439
+ readonly 'components': io.flow.shopify.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
8440
+ readonly 'allocation_method': io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
8375
8441
  }
8376
8442
 
8377
- interface HarmonizationHs10ExportType {
8378
- readonly 'discriminator': 'harmonization_hs10_export_type';
8379
- readonly 'origin'?: string;
8380
- readonly 'destination'?: string;
8381
- readonly 'numbers'?: string[];
8382
- readonly 'has_codes'?: boolean;
8383
- readonly 'has_origins'?: boolean;
8384
- readonly 'sort'?: string;
8443
+ interface ShopifyPromotionOrderPrerequisite {
8444
+ readonly 'discriminator': 'shopify_promotion_order_prerequisite';
8445
+ readonly 'q': string;
8385
8446
  }
8386
8447
 
8387
- interface HarmonizationHs6ExportType {
8388
- readonly 'discriminator': 'harmonization_hs6_export_type';
8389
- readonly 'numbers'?: string[];
8390
- readonly 'has_codes'?: boolean;
8391
- readonly 'sort'?: string;
8448
+ interface ShopifyPromotionPercent {
8449
+ readonly 'discriminator': 'shopify_promotion_percent';
8450
+ readonly 'percent': number;
8392
8451
  }
8393
8452
 
8394
- interface HarmonizationLandedCostExportType {
8395
- readonly 'discriminator': 'harmonization_landed_cost_export_type';
8396
- readonly 'items': io.flow.RESERVED_WORD_export.v0.models.LandedCostItem[];
8453
+ interface ShopifyPromotionRule {
8454
+ readonly 'prerequisites': io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
8455
+ readonly 'offers': io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
8397
8456
  }
8398
8457
 
8399
- interface HarmonizationOverviewExportType {
8400
- readonly 'discriminator': 'harmonization_overview_export_type';
8401
- readonly 'origin'?: string;
8402
- readonly 'destination'?: string;
8403
- readonly 'sort'?: string;
8458
+ interface ShopifyWebhook {
8459
+ readonly 'id': string;
8460
+ readonly 'shop_id': string;
8461
+ readonly 'address': string;
8462
+ readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
8404
8463
  }
8405
8464
 
8406
- interface LandedCostItem {
8407
- readonly 'number': string;
8408
- readonly 'origin': string;
8409
- readonly 'destination': string;
8465
+ interface ShopifyWebhookEvent {
8466
+ readonly 'dummy': string;
8410
8467
  }
8411
8468
 
8412
- interface LocalizedItemPricesExportType {
8413
- readonly 'discriminator': 'localized_item_prices_export_type';
8414
- readonly 'since'?: string;
8469
+ interface ShopifyWebhookForm {
8470
+ readonly 'myshopify_domain': string;
8471
+ readonly 'address': string;
8472
+ readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
8415
8473
  }
8474
+ }
8416
8475
 
8417
- interface OrderExportType {
8418
- readonly 'discriminator': 'order_export_type';
8419
- readonly 'numbers'?: string[];
8420
- readonly 'min_hours_since_submitted_at'?: number;
8421
- readonly 'submitted_on_or_before'?: string;
8422
- readonly 'submitted_on_or_after'?: string;
8423
- readonly 'status'?: io.flow.experience.v0.enums.OrderStatus;
8424
- readonly 'has_tracking_label'?: boolean;
8425
- readonly 'sort'?: string;
8476
+ declare namespace io.flow.shopify.internal.v0.unions {
8477
+ type ShopifyPromotionOfferDiscount = (io.flow.shopify.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.shopify.internal.v0.models.ShopifyPromotionPercent);
8478
+ type ShopifyPromotionOfferEntitlement = (io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement);
8479
+ type ShopifyPromotionOfferMax = (io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit | io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount);
8480
+ type ShopifyPromotionPrerequisite = (io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite);
8481
+ }
8482
+
8483
+ declare namespace io.flow.ftp.v0.enums {
8484
+ type FtpFileSource = 'flow' | 'organization';
8485
+ }
8486
+
8487
+ declare namespace io.flow.ftp.v0.models {
8488
+ interface FtpAccount {
8489
+ readonly 'server': io.flow.ftp.v0.models.FtpServer;
8490
+ readonly 'user': io.flow.ftp.v0.models.FtpUser;
8426
8491
  }
8427
8492
 
8428
- interface PriceBookItemExportType {
8429
- readonly 'discriminator': 'price_book_item_export_type';
8430
- readonly 'price_book_key'?: string;
8431
- readonly 'item_numbers'?: string[];
8432
- readonly 'start_date'?: string;
8433
- readonly 'end_date'?: string;
8493
+ interface FtpFile {
8494
+ readonly 'id': string;
8495
+ readonly 'source': io.flow.ftp.v0.enums.FtpFileSource;
8496
+ readonly 'name': string;
8497
+ readonly 'directory': string;
8498
+ readonly 'url': string;
8499
+ readonly 'created_at': string;
8434
8500
  }
8435
8501
 
8436
- interface ScheduledExport {
8502
+ interface FtpFileForm {
8503
+ readonly 'url': string;
8504
+ readonly 'directory': string;
8505
+ readonly 'name'?: string;
8506
+ }
8507
+
8508
+ interface FtpFolder {
8437
8509
  readonly 'id': string;
8438
- readonly 'user': io.flow.common.v0.models.UserReference;
8439
- readonly 'organization_q': string;
8440
- readonly 'hour': number;
8441
- readonly 'minute': number;
8442
- readonly 'timezone': string;
8443
- readonly 'types': io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
8444
- readonly 'last_sent_at'?: string;
8510
+ readonly 'path': string;
8511
+ readonly 'webhook': boolean;
8512
+ readonly 'description'?: string;
8445
8513
  }
8446
8514
 
8447
- interface ScheduledExportForm {
8448
- readonly 'user_id': string;
8449
- readonly 'organization_q': string;
8450
- readonly 'hour': number;
8451
- readonly 'minute': number;
8452
- readonly 'timezone': string;
8453
- readonly 'types': io.flow.RESERVED_WORD_export.v0.unions.ExportType[];
8515
+ interface FtpFolderForm {
8516
+ readonly 'path': string;
8517
+ readonly 'webhook': boolean;
8518
+ readonly 'description'?: string;
8454
8519
  }
8455
8520
 
8456
- interface SolidusProductExportType {
8457
- readonly 'discriminator': 'solidus_product_export_type';
8458
- readonly 'numbers'?: string[];
8459
- readonly 'sort'?: string;
8521
+ interface FtpOrganizationSettings {
8522
+ readonly 'enabled': boolean;
8523
+ readonly 'emails': string[];
8524
+ readonly 'account'?: io.flow.ftp.v0.models.FtpAccount;
8460
8525
  }
8461
8526
 
8462
- interface SolidusVariantExportType {
8463
- readonly 'discriminator': 'solidus_variant_export_type';
8464
- readonly 'numbers'?: string[];
8465
- readonly 'sort'?: string;
8527
+ interface FtpOrganizationSettingsForm {
8528
+ readonly 'enabled': boolean;
8529
+ readonly 'emails': string[];
8466
8530
  }
8467
8531
 
8468
- interface UnharmonizedItemExportType {
8469
- readonly 'discriminator': 'unharmonized_item_export_type';
8470
- readonly 'sort'?: string;
8532
+ interface FtpServer {
8533
+ readonly 'hostname': string;
8471
8534
  }
8472
- }
8473
8535
 
8474
- declare namespace io.flow.RESERVED_WORD_export.v0.unions {
8475
- type ExportDelivery = (io.flow.RESERVED_WORD_export.v0.models.ExportDeliveryEmail);
8476
- type ExportType = (io.flow.RESERVED_WORD_export.v0.models.AccountTransactionsExportType | io.flow.RESERVED_WORD_export.v0.models.AccountOrdersExportType | io.flow.RESERVED_WORD_export.v0.models.AnalyticsExportType | io.flow.RESERVED_WORD_export.v0.models.CatalogItemExportType | io.flow.RESERVED_WORD_export.v0.models.ExperienceExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationOverviewExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs6ExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationHs10ExportType | io.flow.RESERVED_WORD_export.v0.models.UnharmonizedItemExportType | io.flow.RESERVED_WORD_export.v0.models.HarmonizationLandedCostExportType | io.flow.RESERVED_WORD_export.v0.models.OrderExportType | io.flow.RESERVED_WORD_export.v0.models.PriceBookItemExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusProductExportType | io.flow.RESERVED_WORD_export.v0.models.SolidusVariantExportType | io.flow.RESERVED_WORD_export.v0.models.LocalizedItemPricesExportType);
8536
+ interface FtpUser {
8537
+ readonly 'username': string;
8538
+ readonly 'password'?: string;
8539
+ }
8477
8540
  }
8478
8541
 
8479
- declare namespace io.flow.shopify.internal.v0.enums {
8480
- type FlowApp = 'console';
8481
- type ShopifyCheckInventoryErrorCode = 'inventory_out_of_stock';
8482
- type ShopifyGrantStatus = 'pass' | 'fail';
8483
- type ShopifyPromotionOfferAllocationMethod = 'each' | 'across';
8484
- type ShopifyPromotionOrderEntitlementComponent = 'subtotal' | 'shipping' | 'vat' | 'duty';
8485
- type ShopifyPromotionStatus = 'active' | 'inactive';
8542
+ declare namespace io.flow.checkout.configuration.v0.enums {
8543
+ type CheckoutPromptBehavior = 'always' | 'incomplete';
8544
+ type CheckoutShippingMethodPromptBehavior = 'always' | 'multiple';
8545
+ type GoogleAnalyticsPlugin = 'ec';
8486
8546
  }
8487
8547
 
8488
- declare namespace io.flow.shopify.internal.v0.models {
8489
- interface CompletePriceRule {
8490
- readonly 'price_rule': io.flow.shopify.external.v0.models.PriceRule;
8491
- readonly 'discount_codes': io.flow.shopify.external.v0.models.PriceRuleDiscountCode[];
8548
+ declare namespace io.flow.checkout.configuration.v0.models {
8549
+ interface CheckoutAnalytics {
8550
+ readonly 'trackers': io.flow.checkout.configuration.v0.unions.Tracker[];
8551
+ readonly 'use_base_currency': boolean;
8552
+ }
8553
+
8554
+ interface CheckoutBehavior {
8555
+ readonly 'shipping_address': io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingAddress;
8556
+ readonly 'shipping_method': io.flow.checkout.configuration.v0.models.CheckoutBehaviorShippingMethod;
8557
+ readonly 'customer_info': io.flow.checkout.configuration.v0.models.CheckoutBehaviorCustomerInfo;
8558
+ }
8559
+
8560
+ interface CheckoutBehaviorCustomerInfo {
8561
+ readonly 'email': io.flow.checkout.configuration.v0.models.CheckoutBehaviorCustomerInfoEmail;
8562
+ }
8563
+
8564
+ interface CheckoutBehaviorCustomerInfoEmail {
8565
+ readonly 'prompt': io.flow.checkout.configuration.v0.enums.CheckoutPromptBehavior;
8492
8566
  }
8493
8567
 
8494
- interface InstallForm {
8495
- readonly 'token': string;
8568
+ interface CheckoutBehaviorShippingAddress {
8569
+ readonly 'prompt': io.flow.checkout.configuration.v0.enums.CheckoutPromptBehavior;
8496
8570
  }
8497
8571
 
8498
- interface OrderSubmissionForm {
8499
- readonly 'authorization'?: io.flow.payment.v0.unions.AuthorizationForm;
8572
+ interface CheckoutBehaviorShippingMethod {
8573
+ readonly 'prompt': io.flow.checkout.configuration.v0.enums.CheckoutShippingMethodPromptBehavior;
8500
8574
  }
8501
8575
 
8502
- interface Shop {
8576
+ interface CheckoutConfiguration {
8503
8577
  readonly 'id': string;
8504
- readonly 'organization'?: io.flow.common.v0.models.OrganizationReference;
8505
- readonly 'myshopify_domain': string;
8578
+ readonly 'behavior': io.flow.checkout.configuration.v0.models.CheckoutBehavior;
8579
+ readonly 'settings': io.flow.checkout.configuration.v0.models.CheckoutSettings;
8580
+ readonly 'analytics'?: io.flow.checkout.configuration.v0.models.CheckoutAnalytics;
8506
8581
  readonly 'domain'?: string;
8507
8582
  }
8508
8583
 
8509
- interface ShopForm {
8510
- readonly 'organization_id': string;
8511
- }
8512
-
8513
- interface ShopVersion {
8584
+ interface CheckoutConfigurationReference {
8514
8585
  readonly 'id': string;
8515
- readonly 'timestamp': string;
8516
- readonly 'type': io.flow.common.v0.enums.ChangeType;
8517
- readonly 'shop': io.flow.shopify.internal.v0.models.Shop;
8518
8586
  }
8519
8587
 
8520
- interface ShopifyCheckInventoryError {
8521
- readonly 'code': io.flow.shopify.internal.v0.enums.ShopifyCheckInventoryErrorCode;
8522
- readonly 'messages': string[];
8523
- readonly 'numbers'?: string[];
8588
+ interface CheckoutSettings {
8589
+ readonly 'session_persistence_timeout'?: io.flow.common.v0.models.Duration;
8590
+ readonly 'session_persistence_attribute_keys'?: string[];
8524
8591
  }
8525
8592
 
8526
- interface ShopifyCodeForm {
8527
- readonly 'code': string;
8593
+ interface FacebookPixel {
8594
+ readonly 'discriminator': 'facebook_pixel';
8595
+ readonly 'name'?: string;
8596
+ readonly 'tracker_id': string;
8528
8597
  }
8529
8598
 
8530
- interface ShopifyExperienceShortId {
8531
- readonly 'id': string;
8532
- readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
8533
- readonly 'short_id': string;
8599
+ interface GoogleAnalytics {
8600
+ readonly 'discriminator': 'google_analytics';
8601
+ readonly 'name'?: string;
8602
+ readonly 'tracker_id': string;
8603
+ readonly 'plugins': io.flow.checkout.configuration.v0.enums.GoogleAnalyticsPlugin[];
8534
8604
  }
8535
8605
 
8536
- interface ShopifyGiftCardBalance {
8537
- readonly 'gift_card_id': number;
8538
- readonly 'last_characters': string;
8539
- readonly 'amount': number;
8540
- readonly 'currency': string;
8606
+ interface GoogleGlobalSiteTag {
8607
+ readonly 'discriminator': 'google_global_site_tag';
8608
+ readonly 'name'?: string;
8609
+ readonly 'tracker_id': string;
8541
8610
  }
8542
8611
 
8543
- interface ShopifyGiftCardBalanceForm {
8544
- readonly 'number': string;
8612
+ interface SnapchatPixel {
8613
+ readonly 'discriminator': 'snapchat_pixel';
8614
+ readonly 'name'?: string;
8615
+ readonly 'tracker_id': string;
8545
8616
  }
8617
+ }
8546
8618
 
8547
- interface ShopifyGiftCardPaymentForm {
8548
- readonly 'code': string;
8549
- readonly 'customer_id'?: number;
8550
- }
8619
+ declare namespace io.flow.checkout.configuration.v0.unions {
8620
+ type Tracker = (io.flow.checkout.configuration.v0.models.GoogleAnalytics | io.flow.checkout.configuration.v0.models.GoogleGlobalSiteTag | io.flow.checkout.configuration.v0.models.FacebookPixel | io.flow.checkout.configuration.v0.models.SnapchatPixel);
8621
+ }
8551
8622
 
8552
- interface ShopifyGiftCardRedemption {
8553
- readonly 'adjustment_id': number;
8554
- readonly 'gift_card_id': number;
8555
- readonly 'last_characters': string;
8556
- readonly 'amount': number;
8557
- readonly 'currency': string;
8623
+ declare namespace io.flow.flexe.v0.enums {
8624
+ type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
8625
+ type FlexeNotification = 'receipt' | 'shipment';
8626
+ type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
8627
+ type FlexeStatus = 'in_transit' | 'completed';
8628
+ }
8629
+
8630
+ declare namespace io.flow.flexe.v0.models {
8631
+ interface BillOfLading {
8632
+ readonly 'type': string;
8633
+ readonly 'gs1us'?: io.flow.flexe.v0.models.Gs1Us;
8558
8634
  }
8559
8635
 
8560
- interface ShopifyGiftCardRedemptionForm {
8561
- readonly 'number': string;
8562
- readonly 'amount': number;
8563
- readonly 'currency': string;
8636
+ interface BillTo {
8637
+ readonly 'name': string;
8638
+ readonly 'address_1': string;
8639
+ readonly 'locality': string;
8640
+ readonly 'region': string;
8641
+ readonly 'postal_code': string;
8642
+ readonly 'country': string;
8643
+ readonly 'address_2'?: string;
8644
+ readonly 'address_3'?: string;
8564
8645
  }
8565
8646
 
8566
- interface ShopifyGiftCardReversal {
8567
- readonly 'adjustment_id': number;
8568
- readonly 'gift_card_id': number;
8569
- readonly 'last_characters': string;
8570
- readonly 'amount': number;
8571
- readonly 'currency': string;
8647
+ interface CartonPickDeliveryDetails {
8648
+ readonly 'shipment_uuid'?: string;
8649
+ readonly 'carrier'?: string;
8650
+ readonly 'carrier_id'?: string;
8572
8651
  }
8573
8652
 
8574
- interface ShopifyGiftCardReversalForm {
8575
- readonly 'number': string;
8576
- readonly 'amount': number;
8577
- readonly 'currency': string;
8653
+ interface ContainerDeliveryDetails {
8654
+ readonly 'purchase_order': string;
8655
+ readonly 'container_number'?: string;
8656
+ readonly 'seal_number'?: string;
8657
+ readonly 'vendor'?: string;
8658
+ readonly 'expected_inventory': io.flow.flexe.v0.models.InventoryDetails[];
8659
+ readonly 'received_inventory': io.flow.flexe.v0.models.InventoryDetails[];
8660
+ readonly 'damaged_inventory': io.flow.flexe.v0.models.InventoryDetails[];
8661
+ readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
8578
8662
  }
8579
8663
 
8580
- interface ShopifyGrantsCheck {
8581
- readonly 'dummy': string;
8664
+ interface DeliveryDetails {
8665
+ readonly 'shipment_uuid'?: string;
8666
+ readonly 'trailer_number'?: string;
8667
+ readonly 'pallets': io.flow.flexe.v0.models.Pallet[];
8668
+ readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
8582
8669
  }
8583
8670
 
8584
- interface ShopifyOrderAuthorization {
8585
- readonly 'result': io.flow.payment.v0.models.AuthorizationResult;
8586
- readonly 'detail'?: io.flow.shopify.internal.v0.models.ShopifyOrderDetail;
8587
- readonly 'redirect'?: string;
8671
+ interface Error {
8672
+ readonly 'url': string;
8673
+ readonly 'client_request_id': string;
8674
+ readonly 'generated_at': string;
8675
+ readonly 'error': string;
8588
8676
  }
8589
8677
 
8590
- interface ShopifyOrderContent {
8591
- readonly 'lines': io.flow.shopify.internal.v0.models.ShopifyOrderLineContent[];
8592
- readonly 'discounts': io.flow.shopify.internal.v0.models.ShopifyOrderDiscountContent[];
8678
+ interface FlexeAttachment {
8679
+ readonly 'type': io.flow.flexe.v0.enums.FlexeAttachmentType;
8680
+ readonly 'display_name': string;
8681
+ readonly 'url': string;
8593
8682
  }
8594
8683
 
8595
- interface ShopifyOrderDetail {
8596
- readonly 'organization': io.flow.common.v0.models.OrganizationReference;
8597
- readonly 'number': string;
8598
- readonly 'order': io.flow.experience.v0.models.Order;
8599
- readonly 'payments': io.flow.shopify.internal.v0.models.ShopifyPaymentSummary[];
8600
- readonly 'contents': io.flow.shopify.internal.v0.models.ShopifyOrderContent;
8684
+ interface FlexeEcommerceFulfillment {
8685
+ readonly 'url': string;
8686
+ readonly 'client_request_id': string;
8687
+ readonly 'generated_at': string;
8688
+ readonly 'data': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
8689
+ readonly 'errors': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
8601
8690
  }
8602
8691
 
8603
- interface ShopifyOrderDiscountContent {
8604
- readonly 'description': string;
8605
- readonly 'code'?: string;
8692
+ interface FlexeEcommerceFulfillmentData {
8693
+ readonly 'import_id': string;
8694
+ readonly 'succeeded_uuids': string[];
8695
+ readonly 'failed_uuids': string[];
8696
+ readonly 'errors': string[];
8606
8697
  }
8607
8698
 
8608
- interface ShopifyOrderInventoryCheck {
8609
- readonly 'item_number': string;
8610
- readonly 'quantity': number;
8699
+ interface FlexeEcommerceFulfillmentErrors {
8700
+ readonly 'status': string;
8701
+ readonly 'title': string;
8702
+ readonly 'detail': string;
8703
+ readonly 'source'?: string;
8611
8704
  }
8612
8705
 
8613
- interface ShopifyOrderLineAttribute {
8614
- readonly 'key': string;
8615
- readonly 'name': string;
8616
- readonly 'value': string;
8706
+ interface FlexeEcommerceFulfillmentForm {
8707
+ readonly 'reservation_id': number;
8708
+ readonly 'client_request_id': string;
8709
+ readonly 'request': io.flow.flexe.v0.models.Orders;
8617
8710
  }
8618
8711
 
8619
- interface ShopifyOrderLineContent {
8620
- readonly 'item_number': string;
8621
- readonly 'quantity': number;
8622
- readonly 'price': io.flow.common.v0.models.PriceWithBase;
8623
- readonly 'total': io.flow.common.v0.models.PriceWithBase;
8624
- readonly 'name': string;
8625
- readonly 'image_url': string;
8626
- readonly 'variant_url': string;
8627
- readonly 'attributes': io.flow.shopify.internal.v0.models.ShopifyOrderLineAttribute[];
8712
+ interface FlexeInventoryData {
8713
+ readonly 'sku': string;
8714
+ readonly 'quantity': string;
8715
+ readonly 'unit': string;
8628
8716
  }
8629
8717
 
8630
- interface ShopifyPaymentSummary {
8631
- readonly 'description': string;
8632
- readonly 'address'?: io.flow.common.v0.models.Address;
8633
- readonly 'contact'?: io.flow.common.v0.models.Contact;
8718
+ interface FlexeRetailAttachment {
8719
+ readonly 'display_name': string;
8720
+ readonly 'url': string;
8634
8721
  }
8635
8722
 
8636
- interface ShopifyPromoForm {
8637
- readonly 'name': string;
8638
- readonly 'starts_at': string;
8639
- readonly 'ends_at'?: string;
8640
- readonly 'status': io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
8641
- readonly 'rule': io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
8642
- readonly 'stackable_limit'?: number;
8723
+ interface FlexeRetailFulfillment {
8724
+ readonly 'url': string;
8725
+ readonly 'client_request_id': string;
8726
+ readonly 'generated_at': string;
8727
+ readonly 'data': io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
8728
+ readonly 'errors'?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
8643
8729
  }
8644
8730
 
8645
- interface ShopifyPromotion {
8731
+ interface FlexeRetailFulfillmentData {
8646
8732
  readonly 'id': string;
8647
- readonly 'name': string;
8648
- readonly 'starts_at': string;
8649
- readonly 'ends_at'?: string;
8650
- readonly 'status': io.flow.shopify.internal.v0.enums.ShopifyPromotionStatus;
8651
- readonly 'rule': io.flow.shopify.internal.v0.models.ShopifyPromotionRule;
8652
- readonly 'stackable_limit'?: number;
8733
+ readonly 'purchase_order_uuid': string;
8734
+ readonly 'status': string;
8653
8735
  }
8654
8736
 
8655
- interface ShopifyPromotionAttributeValue {
8656
- readonly 'name': string;
8657
- readonly 'discount': io.flow.common.v0.models.Money;
8737
+ interface FlexeRetailFulfillmentErrors {
8738
+ readonly 'type': string;
8739
+ readonly 'message': string;
8658
8740
  }
8659
8741
 
8660
- interface ShopifyPromotionFixedAmount {
8661
- readonly 'discriminator': 'shopify_promotion_fixed_amount';
8662
- readonly 'amount': number;
8663
- readonly 'currency': string;
8742
+ interface FlexeRetailFulfillmentForm {
8743
+ readonly 'reservation_id': number;
8744
+ readonly 'client_request_id'?: string;
8745
+ readonly 'request': io.flow.flexe.v0.models.RetailOrder;
8664
8746
  }
8665
8747
 
8666
- interface ShopifyPromotionForm {
8667
- readonly 'code': string;
8748
+ interface FulfillmentOrderDetails {
8749
+ readonly 'shipment_uuid': string;
8750
+ readonly 'carrier'?: string;
8751
+ readonly 'carrier_id'?: string;
8668
8752
  }
8669
8753
 
8670
- interface ShopifyPromotionItemEntitlement {
8671
- readonly 'discriminator': 'shopify_promotion_item_entitlement';
8672
- readonly 'q': string;
8673
- readonly 'allocation_method': io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
8754
+ interface Gs1Us {
8755
+ readonly 'number': string;
8756
+ readonly 'ship_to'?: io.flow.flexe.v0.models.Gs1UsShipTo;
8757
+ readonly 'bill_to'?: io.flow.flexe.v0.models.BillTo;
8674
8758
  }
8675
8759
 
8676
- interface ShopifyPromotionItemPrerequisite {
8677
- readonly 'discriminator': 'shopify_promotion_item_prerequisite';
8678
- readonly 'q': string;
8679
- readonly 'at_least'?: number;
8680
- readonly 'at_most'?: number;
8681
- readonly 'exclude_from_offer'?: boolean;
8760
+ interface Gs1UsShipTo {
8761
+ readonly 'cid_number'?: string;
8762
+ readonly 'location_number'?: string;
8763
+ readonly 'free_on_board'?: boolean;
8764
+ }
8765
+
8766
+ interface Inventory {
8767
+ readonly 'url': string;
8768
+ readonly 'client_request_id': string;
8769
+ readonly 'generated_at': string;
8770
+ readonly 'data': Record<string, io.flow.flexe.v0.models.InventoryDetails>;
8682
8771
  }
8683
8772
 
8684
- interface ShopifyPromotionMaxAmount {
8685
- readonly 'discriminator': 'shopify_promotion_max_amount';
8773
+ interface InventoryCount {
8686
8774
  readonly 'amount': number;
8687
- readonly 'currency': string;
8775
+ readonly 'unit': string;
8688
8776
  }
8689
8777
 
8690
- interface ShopifyPromotionMaxLimit {
8691
- readonly 'discriminator': 'shopify_promotion_max_limit';
8692
- readonly 'limit': number;
8778
+ interface InventoryData {
8779
+ readonly 'pallet': io.flow.flexe.v0.models.InventoryCount;
8780
+ readonly 'carton'?: io.flow.flexe.v0.models.InventoryCount;
8781
+ readonly 'each'?: io.flow.flexe.v0.models.InventoryCount;
8693
8782
  }
8694
8783
 
8695
- interface ShopifyPromotionOffer {
8696
- readonly 'discount': io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferDiscount;
8697
- readonly 'entitlement': io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferEntitlement;
8698
- readonly 'max'?: io.flow.shopify.internal.v0.unions.ShopifyPromotionOfferMax[];
8784
+ interface InventoryDetails {
8785
+ readonly 'key': Record<string, io.flow.flexe.v0.models.Sku>;
8699
8786
  }
8700
8787
 
8701
- interface ShopifyPromotionOrderEntitlement {
8702
- readonly 'discriminator': 'shopify_promotion_order_entitlement';
8703
- readonly 'components': io.flow.shopify.internal.v0.enums.ShopifyPromotionOrderEntitlementComponent[];
8704
- readonly 'allocation_method': io.flow.shopify.internal.v0.enums.ShopifyPromotionOfferAllocationMethod;
8788
+ interface LadingQuantity {
8789
+ readonly 'num_pallets': number;
8705
8790
  }
8706
8791
 
8707
- interface ShopifyPromotionOrderPrerequisite {
8708
- readonly 'discriminator': 'shopify_promotion_order_prerequisite';
8709
- readonly 'q': string;
8792
+ interface Order {
8793
+ readonly 'shipment_uuid': string;
8794
+ readonly 'purchase_order': string;
8795
+ readonly 'carrier': string;
8796
+ readonly 'service_type': string;
8797
+ readonly 'carrier_assigned_id': string;
8798
+ readonly 'name': string;
8799
+ readonly 'address_1': string;
8800
+ readonly 'address_2'?: string;
8801
+ readonly 'address_3'?: string;
8802
+ readonly 'city': string;
8803
+ readonly 'state': string;
8804
+ readonly 'postal_code': string;
8805
+ readonly 'phone'?: string;
8806
+ readonly 'instructions'?: string;
8807
+ readonly 'inventory_data': io.flow.flexe.v0.models.FlexeInventoryData[];
8808
+ readonly 'attachments': io.flow.flexe.v0.models.FlexeAttachment[];
8710
8809
  }
8711
8810
 
8712
- interface ShopifyPromotionPercent {
8713
- readonly 'discriminator': 'shopify_promotion_percent';
8714
- readonly 'percent': number;
8811
+ interface Orders {
8812
+ readonly 'orders': io.flow.flexe.v0.models.Order[];
8715
8813
  }
8716
8814
 
8717
- interface ShopifyPromotionRule {
8718
- readonly 'prerequisites': io.flow.shopify.internal.v0.unions.ShopifyPromotionPrerequisite[];
8719
- readonly 'offers': io.flow.shopify.internal.v0.models.ShopifyPromotionOffer[];
8815
+ interface Pallet {
8816
+ readonly 'pallet_id': string;
8817
+ readonly 'sku': string;
8818
+ readonly 'quantity': number;
8819
+ readonly 'packaging': string;
8720
8820
  }
8721
8821
 
8722
- interface ShopifyWebhook {
8723
- readonly 'id': string;
8724
- readonly 'shop_id': string;
8725
- readonly 'address': string;
8726
- readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
8822
+ interface PurchaseOrder {
8823
+ readonly 'retail_fulfillment_order_id': string;
8824
+ readonly 'bill_of_lading_number': string;
8825
+ readonly 'purchase_order_uuid': string;
8826
+ readonly 'pickup_window_start': string;
8827
+ readonly 'pickup_window_end': string;
8828
+ readonly 'tags': string[];
8727
8829
  }
8728
8830
 
8729
- interface ShopifyWebhookEvent {
8730
- readonly 'dummy': string;
8831
+ interface QuantityByInventory {
8832
+ readonly 'received': io.flow.flexe.v0.models.InventoryData;
8833
+ readonly 'expected'?: io.flow.flexe.v0.models.InventoryData;
8834
+ readonly 'damaged'?: io.flow.flexe.v0.models.InventoryData;
8731
8835
  }
8732
8836
 
8733
- interface ShopifyWebhookForm {
8734
- readonly 'myshopify_domain': string;
8735
- readonly 'address': string;
8736
- readonly 'topic': io.flow.shopify.external.v0.enums.Topic;
8837
+ interface ReceiptNotification {
8838
+ readonly 'shipment_id': string;
8839
+ readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
8840
+ readonly 'reservation_id': string;
8841
+ readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
8842
+ readonly 'delivery_details'?: io.flow.flexe.v0.models.DeliveryDetails;
8843
+ readonly 'container_delivery_details'?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
8737
8844
  }
8738
- }
8739
-
8740
- declare namespace io.flow.shopify.internal.v0.unions {
8741
- type ShopifyPromotionOfferDiscount = (io.flow.shopify.internal.v0.models.ShopifyPromotionFixedAmount | io.flow.shopify.internal.v0.models.ShopifyPromotionPercent);
8742
- type ShopifyPromotionOfferEntitlement = (io.flow.shopify.internal.v0.models.ShopifyPromotionItemEntitlement | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderEntitlement);
8743
- type ShopifyPromotionOfferMax = (io.flow.shopify.internal.v0.models.ShopifyPromotionMaxLimit | io.flow.shopify.internal.v0.models.ShopifyPromotionMaxAmount);
8744
- type ShopifyPromotionPrerequisite = (io.flow.shopify.internal.v0.models.ShopifyPromotionItemPrerequisite | io.flow.shopify.internal.v0.models.ShopifyPromotionOrderPrerequisite);
8745
- }
8746
8845
 
8747
- declare namespace io.flow.ftp.v0.enums {
8748
- type FtpFileSource = 'flow' | 'organization';
8749
- }
8846
+ interface RetailFulfillmentOrderDetails {
8847
+ readonly 'master_bill_of_lading_number': string;
8848
+ readonly 'scac': string;
8849
+ readonly 'pro_number': string;
8850
+ readonly 'purchase_orders': io.flow.flexe.v0.models.PurchaseOrder[];
8851
+ readonly 'lading_quantity': io.flow.flexe.v0.models.LadingQuantity;
8852
+ }
8750
8853
 
8751
- declare namespace io.flow.ftp.v0.models {
8752
- interface FtpAccount {
8753
- readonly 'server': io.flow.ftp.v0.models.FtpServer;
8754
- readonly 'user': io.flow.ftp.v0.models.FtpUser;
8854
+ interface RetailInventoryData {
8855
+ readonly 'sku': string;
8856
+ readonly 'quantity': number;
8857
+ readonly 'unit': string;
8858
+ readonly 'attachments'?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
8755
8859
  }
8756
8860
 
8757
- interface FtpFile {
8758
- readonly 'id': string;
8759
- readonly 'source': io.flow.ftp.v0.enums.FtpFileSource;
8760
- readonly 'name': string;
8761
- readonly 'directory': string;
8762
- readonly 'url': string;
8763
- readonly 'created_at': string;
8861
+ interface RetailOrder {
8862
+ readonly 'order': io.flow.flexe.v0.models.RetailOrderData;
8764
8863
  }
8765
8864
 
8766
- interface FtpFileForm {
8767
- readonly 'url': string;
8768
- readonly 'directory': string;
8769
- readonly 'name'?: string;
8865
+ interface RetailOrderData {
8866
+ readonly 'purchase_order_uuid': string;
8867
+ readonly 'bill_of_lading': io.flow.flexe.v0.models.BillOfLading;
8868
+ readonly 'inventory_data': io.flow.flexe.v0.models.RetailInventoryData[];
8869
+ readonly 'ship_within': io.flow.flexe.v0.models.ShipWithin;
8870
+ readonly 'ship_to': io.flow.flexe.v0.models.ShipTo;
8871
+ readonly 'build_by'?: string;
8872
+ readonly 'instrunctions'?: string;
8873
+ readonly 'routing_details_id'?: string;
8874
+ readonly 'destination_type'?: string;
8770
8875
  }
8771
8876
 
8772
- interface FtpFolder {
8773
- readonly 'id': string;
8774
- readonly 'path': string;
8775
- readonly 'webhook': boolean;
8776
- readonly 'description'?: string;
8877
+ interface ShipTo {
8878
+ readonly 'name': string;
8879
+ readonly 'address_1': string;
8880
+ readonly 'locality': string;
8881
+ readonly 'region': string;
8882
+ readonly 'postal_code': string;
8883
+ readonly 'country': string;
8884
+ readonly 'address_2'?: string;
8885
+ readonly 'address_3'?: string;
8777
8886
  }
8778
8887
 
8779
- interface FtpFolderForm {
8780
- readonly 'path': string;
8781
- readonly 'webhook': boolean;
8782
- readonly 'description'?: string;
8888
+ interface ShipWithin {
8889
+ readonly 'start': string;
8890
+ readonly 'end': string;
8783
8891
  }
8784
8892
 
8785
- interface FtpOrganizationSettings {
8786
- readonly 'enabled': boolean;
8787
- readonly 'emails': string[];
8788
- readonly 'account'?: io.flow.ftp.v0.models.FtpAccount;
8893
+ interface ShipmentDeliveryDetails {
8894
+ readonly 'shipment_uuid'?: string;
8789
8895
  }
8790
8896
 
8791
- interface FtpOrganizationSettingsForm {
8792
- readonly 'enabled': boolean;
8793
- readonly 'emails': string[];
8897
+ interface ShipmentNotification {
8898
+ readonly 'shipment_id': string;
8899
+ readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
8900
+ readonly 'reservation_id': string;
8901
+ readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
8902
+ readonly 'fulfillment_order_details'?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
8903
+ readonly 'retail_fulfillment_order_details'?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
8904
+ readonly 'delivery_details'?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
8905
+ readonly 'carton_pick_delivery_details'?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
8794
8906
  }
8795
8907
 
8796
- interface FtpServer {
8797
- readonly 'hostname': string;
8908
+ interface Sku {
8909
+ readonly 'sku': string;
8910
+ readonly 'description': string;
8911
+ readonly 'summary': Record<string, io.flow.flexe.v0.models.SkuSummary>;
8798
8912
  }
8799
8913
 
8800
- interface FtpUser {
8801
- readonly 'username': string;
8802
- readonly 'password'?: string;
8914
+ interface SkuSummary {
8915
+ readonly 'key': string;
8916
+ readonly 'quantity': number;
8917
+ readonly 'unit': string;
8803
8918
  }
8804
8919
  }
8805
8920
 
@@ -10488,6 +10603,12 @@ declare namespace io.flow.adyen.v0.models {
10488
10603
  readonly 'threeds2.threeDS2ResponseData.messageVersion': string;
10489
10604
  }
10490
10605
 
10606
+ interface ChargebackNotificationAdditionalData {
10607
+ readonly 'chargebackReasonCode': string;
10608
+ readonly 'modificationMerchantReferences': string;
10609
+ readonly 'chargebackSchemeCode': string;
10610
+ }
10611
+
10491
10612
  interface Error {
10492
10613
  readonly 'status': number;
10493
10614
  readonly 'errorCode': string;
@@ -10617,6 +10738,12 @@ declare namespace io.flow.adyen.v0.models {
10617
10738
  readonly 'MD'?: string;
10618
10739
  }
10619
10740
 
10741
+ interface RequestForInformationAdditionalData {
10742
+ readonly 'rfiSchemeCode': string;
10743
+ readonly 'modificationMerchantReferences': string;
10744
+ readonly 'rfiReasonCode': string;
10745
+ }
10746
+
10620
10747
  interface Scheme {
10621
10748
  readonly 'type': 'scheme';
10622
10749
  readonly 'expiryMonth': string;
@@ -11590,11 +11717,12 @@ declare namespace io.flow.internal.v0.enums {
11590
11717
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
11591
11718
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
11592
11719
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
11720
+ type EmptyAttribute = 'irrelevant';
11593
11721
  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';
11594
11722
  type ExperienceImportType = 'experience_with_settings';
11595
11723
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
11596
11724
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
11597
- type ExperimentDiscriminatorValue = 'experience' | 'feature';
11725
+ type ExperimentDiscriminatorKey = 'experience' | 'feature';
11598
11726
  type FeatureScope = 'global' | 'organization';
11599
11727
  type FeatureStatus = 'draft' | 'active' | 'archived';
11600
11728
  type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -11636,6 +11764,7 @@ declare namespace io.flow.internal.v0.enums {
11636
11764
  type PriceSelector = 'minimum' | 'maximum';
11637
11765
  type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
11638
11766
  type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
11767
+ type ProductClassificationAction = 'ACCEPT' | 'MANUAL';
11639
11768
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
11640
11769
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
11641
11770
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -11662,6 +11791,7 @@ declare namespace io.flow.internal.v0.enums {
11662
11791
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
11663
11792
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
11664
11793
  type TransferMethod = 'ach';
11794
+ type UnclassifiedProductStatus = 'ignored' | 'escalated';
11665
11795
  }
11666
11796
 
11667
11797
  declare namespace io.flow.internal.v0.models {
@@ -12049,6 +12179,11 @@ declare namespace io.flow.internal.v0.models {
12049
12179
  readonly 'number': string;
12050
12180
  }
12051
12181
 
12182
+ interface AllowedLabels {
12183
+ readonly 'name': string;
12184
+ readonly 'labels': Record<string, string[]>;
12185
+ }
12186
+
12052
12187
  interface ApmContent {
12053
12188
  readonly 'processor_description': io.flow.internal.v0.unions.ContentItem;
12054
12189
  }
@@ -12069,6 +12204,11 @@ declare namespace io.flow.internal.v0.models {
12069
12204
  readonly 'transactionId': string;
12070
12205
  }
12071
12206
 
12207
+ interface AttributeLabel {
12208
+ readonly 'value': string;
12209
+ readonly 'estimated': boolean;
12210
+ }
12211
+
12072
12212
  interface AuthenticationForm {
12073
12213
  readonly 'password': string;
12074
12214
  }
@@ -12587,7 +12727,7 @@ declare namespace io.flow.internal.v0.models {
12587
12727
  readonly 'optins': io.flow.optin.internal.v0.models.OptinPrompt[];
12588
12728
  readonly 'addresses': io.flow.experience.v0.models.AddressConfiguration[];
12589
12729
  readonly 'features': io.flow.feature.v0.models.FeatureValueResult;
12590
- readonly 'configuration': unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
12730
+ readonly 'configuration': io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
12591
12731
  readonly 'cart'?: io.flow.shopify.v0.models.ShopifyCart;
12592
12732
  readonly 'customer'?: io.flow.customer.v0.models.Customer;
12593
12733
  readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -12635,7 +12775,7 @@ declare namespace io.flow.internal.v0.models {
12635
12775
  readonly 'provinces': io.flow.reference.v0.models.Province[];
12636
12776
  readonly 'checkout_items': io.flow.experience.v0.models.CheckoutItemContent[];
12637
12777
  readonly 'metadata'?: io.flow.internal.v0.models.CheckoutBundleMetadata;
12638
- readonly 'configuration'?: unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
12778
+ readonly 'configuration'?: io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
12639
12779
  readonly 'address_configurations'?: io.flow.experience.v0.models.AddressConfiguration[];
12640
12780
  readonly 'customer'?: io.flow.customer.v0.models.Customer;
12641
12781
  readonly 'address_book'?: io.flow.customer.v0.models.CustomerAddressBook;
@@ -12660,7 +12800,7 @@ declare namespace io.flow.internal.v0.models {
12660
12800
  readonly 'event_id': string;
12661
12801
  readonly 'timestamp': string;
12662
12802
  readonly 'organization': string;
12663
- readonly 'checkout_configuration': unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
12803
+ readonly 'checkout_configuration': io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
12664
12804
  }
12665
12805
 
12666
12806
  interface CheckoutConfigurationReference {
@@ -12672,7 +12812,7 @@ declare namespace io.flow.internal.v0.models {
12672
12812
  readonly 'event_id': string;
12673
12813
  readonly 'timestamp': string;
12674
12814
  readonly 'organization': string;
12675
- readonly 'checkout_configuration': unknown/*io.flow.checkout.configuration.v0.models.checkout_configuration*/;
12815
+ readonly 'checkout_configuration': io.flow.checkout.configuration.v0.models.CheckoutConfiguration;
12676
12816
  }
12677
12817
 
12678
12818
  interface CheckoutContent {
@@ -13319,9 +13459,24 @@ declare namespace io.flow.internal.v0.models {
13319
13459
  }
13320
13460
 
13321
13461
  interface ExperimentFormDefault {
13322
- readonly 'discriminator': io.flow.internal.v0.enums.ExperimentDiscriminatorValue;
13323
- readonly 'values': io.flow.internal.v0.models.ExperimentVariantSummary[];
13324
- readonly 'variants'?: io.flow.internal.v0.models.ExperimentVariantFormDefault[];
13462
+ readonly 'discriminator': io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
13463
+ readonly 'variants'?: io.flow.internal.v0.models.ExperimentFormDefaultVariant[];
13464
+ }
13465
+
13466
+ interface ExperimentFormDefaultDiscriminator {
13467
+ readonly 'key': io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
13468
+ readonly 'values': io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue[];
13469
+ }
13470
+
13471
+ interface ExperimentFormDefaultDiscriminatorValue {
13472
+ readonly 'key': string;
13473
+ readonly 'name': string;
13474
+ }
13475
+
13476
+ interface ExperimentFormDefaultVariant {
13477
+ readonly 'key': string;
13478
+ readonly 'name': string;
13479
+ readonly 'traffic_percentage'?: number;
13325
13480
  }
13326
13481
 
13327
13482
  interface ExperimentResults {
@@ -13365,12 +13520,6 @@ declare namespace io.flow.internal.v0.models {
13365
13520
  readonly 'experiment': io.flow.experiment.internal.v0.models.Experiment;
13366
13521
  }
13367
13522
 
13368
- interface ExperimentVariantFormDefault {
13369
- readonly 'key': string;
13370
- readonly 'name': string;
13371
- readonly 'traffic_percentage': number;
13372
- }
13373
-
13374
13523
  interface ExperimentVariantSummary {
13375
13524
  readonly 'key': string;
13376
13525
  readonly 'name'?: string;
@@ -14322,6 +14471,18 @@ declare namespace io.flow.internal.v0.models {
14322
14471
  readonly 'value': string;
14323
14472
  }
14324
14473
 
14474
+ interface LabelAliases {
14475
+ readonly 'name': string;
14476
+ readonly 'aliases': string[];
14477
+ }
14478
+
14479
+ interface LabelAssociation {
14480
+ readonly 'items': Record<string, string[]>;
14481
+ readonly 'genders': Record<string, string[]>;
14482
+ readonly 'materials': Record<string, string[]>;
14483
+ readonly 'constructions': Record<string, string[]>;
14484
+ }
14485
+
14325
14486
  interface LabelSummary {
14326
14487
  readonly 'commercial_invoice'?: string;
14327
14488
  readonly 'pdf'?: string;
@@ -14332,6 +14493,14 @@ declare namespace io.flow.internal.v0.models {
14332
14493
  readonly 'invoice'?: io.flow.label.v0.models.ShippingLabelDocument;
14333
14494
  }
14334
14495
 
14496
+ interface LabelTaxonomy {
14497
+ readonly 'item_type': string;
14498
+ readonly 'aliases': string[];
14499
+ readonly 'construction': io.flow.internal.v0.unions.ClassificationLabelAttribute;
14500
+ readonly 'gender': io.flow.internal.v0.unions.ClassificationLabelAttribute;
14501
+ readonly 'material': io.flow.internal.v0.unions.ClassificationLabelAttribute;
14502
+ }
14503
+
14335
14504
  interface LabeledContent {
14336
14505
  readonly 'label': io.flow.internal.v0.models.Label;
14337
14506
  readonly 'contents': io.flow.internal.v0.unions.ContentItem[];
@@ -15667,6 +15836,11 @@ declare namespace io.flow.internal.v0.models {
15667
15836
  readonly 'withholdings': io.flow.internal.v0.models.Components;
15668
15837
  readonly 'parent_transaction_id'?: string;
15669
15838
  readonly 'order'?: io.flow.internal.v0.models.BillingOrderSummary;
15839
+ readonly 'spot_rate': number;
15840
+ readonly 'flow_rate': number;
15841
+ readonly 'organization_rate': number;
15842
+ readonly 'flow_margin': number;
15843
+ readonly 'organization_margin': number;
15670
15844
  }
15671
15845
 
15672
15846
  interface ProcessingTransactionDeleted {
@@ -15685,6 +15859,27 @@ declare namespace io.flow.internal.v0.models {
15685
15859
  readonly 'processing_transaction': io.flow.billing.internal.v0.models.ProcessingTransaction;
15686
15860
  }
15687
15861
 
15862
+ interface ProductClassification {
15863
+ readonly 'organization_id': string;
15864
+ readonly 'product_id': string;
15865
+ readonly 'description': string;
15866
+ readonly 'items': io.flow.internal.v0.models.ClassificationItem[];
15867
+ readonly 'images': string[];
15868
+ readonly 'categories': string[];
15869
+ readonly 'attributes': Record<string, string>;
15870
+ readonly 'labels': io.flow.internal.v0.models.ProductLabels;
15871
+ readonly 'current_customs_description'?: string;
15872
+ readonly 'customs_description'?: string;
15873
+ readonly 'hs6_code'?: string;
15874
+ readonly 'hs6_description'?: string;
15875
+ readonly 'next_id'?: io.flow.internal.v0.models.ClassificationProductId;
15876
+ }
15877
+
15878
+ interface ProductClassificationForm {
15879
+ readonly 'product_harmonization': io.flow.internal.v0.models.ProductHarmonization;
15880
+ readonly 'action': io.flow.internal.v0.enums.ProductClassificationAction;
15881
+ }
15882
+
15688
15883
  interface ProductClassificationJudgementForm {
15689
15884
  readonly 'organization_id': string;
15690
15885
  readonly 'product_id': string;
@@ -15698,6 +15893,24 @@ declare namespace io.flow.internal.v0.models {
15698
15893
  readonly 'next_product'?: io.flow.internal.v0.models.ClassificationProductId;
15699
15894
  }
15700
15895
 
15896
+ interface ProductHarmonization {
15897
+ readonly 'product_labels': io.flow.internal.v0.models.ProductLabels;
15898
+ readonly 'customs_description': string;
15899
+ readonly 'hs6_code': string;
15900
+ readonly 'model_version': string;
15901
+ }
15902
+
15903
+ interface ProductHarmonizationForm {
15904
+ readonly 'product_labels': io.flow.internal.v0.models.ProductLabels;
15905
+ }
15906
+
15907
+ interface ProductLabels {
15908
+ readonly 'item_type': string;
15909
+ readonly 'gender'?: io.flow.internal.v0.models.AttributeLabel;
15910
+ readonly 'material'?: io.flow.internal.v0.models.AttributeLabel;
15911
+ readonly 'construction'?: io.flow.internal.v0.models.AttributeLabel;
15912
+ }
15913
+
15701
15914
  interface QuoteRequest {
15702
15915
  readonly 'id': string;
15703
15916
  readonly 'request_type': io.flow.internal.v0.enums.QuoteRequestType;
@@ -16542,6 +16755,11 @@ declare namespace io.flow.internal.v0.models {
16542
16755
  readonly 'period': io.flow.common.v0.models.DatetimeRange;
16543
16756
  }
16544
16757
 
16758
+ interface SupportedLabels {
16759
+ readonly 'discriminator': 'supported_labels';
16760
+ readonly 'values': io.flow.internal.v0.models.LabelAliases[];
16761
+ }
16762
+
16545
16763
  interface SvbVirtualCardClearing {
16546
16764
  readonly 'id': string;
16547
16765
  readonly 'virtual_card_id': string;
@@ -16825,7 +17043,7 @@ declare namespace io.flow.internal.v0.models {
16825
17043
  interface UnclassifiedProductsForm {
16826
17044
  readonly 'organization_id': string;
16827
17045
  readonly 'product_id': string;
16828
- readonly 'ignore'?: boolean;
17046
+ readonly 'status'?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
16829
17047
  }
16830
17048
 
16831
17049
  interface UnharmonizedItemsExport {
@@ -16915,6 +17133,12 @@ declare namespace io.flow.internal.v0.unions {
16915
17133
  type CheckoutForm = (io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm);
16916
17134
  type CheckoutSubmitOrderBundles = (io.flow.internal.v0.models.CheckoutSubmitOrderBundle);
16917
17135
  type CheckoutSubmitOrderForms = (io.flow.internal.v0.models.CheckoutSubmitOrderForm);
17136
+
17137
+ type ClassificationLabelAttribute = ({
17138
+ discriminator: 'empty_attribute',
17139
+ value: io.flow.internal.v0.enums.EmptyAttribute
17140
+ } | io.flow.internal.v0.models.SupportedLabels);
17141
+
16918
17142
  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);
16919
17143
  type DiscountRequestOfferForm = (io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm);
16920
17144
  type DutyExpression = (io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression);
@@ -16958,7 +17182,7 @@ declare namespace io.flow.internal.v0.unions {
16958
17182
  type TransactionSummary = (io.flow.internal.v0.models.PaymentSummaryV2 | io.flow.internal.v0.models.FraudSummary);
16959
17183
  type ValidationRule = (io.flow.internal.v0.models.ValidationCharacterLength);
16960
17184
  type Variant = (io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.FeatureVariant);
16961
- type VariantForm = (io.flow.internal.v0.models.ExperienceVariant | io.flow.internal.v0.models.ExperienceVariantForm | io.flow.internal.v0.models.FeatureVariantForm);
17185
+ type VariantForm = (io.flow.internal.v0.models.ExperienceVariantForm | io.flow.internal.v0.models.FeatureVariantForm);
16962
17186
  }
16963
17187
 
16964
17188
  export declare const addressConfigurationSettingProvinceCode: PropTypes.Requireable<io.flow.internal.v0.enums.AddressConfigurationSettingProvinceCode>;
@@ -16986,11 +17210,12 @@ export declare const discountRequestOrderEntitlementKey: PropTypes.Requireable<i
16986
17210
  export declare const dutyCompoundExpressionType: PropTypes.Requireable<io.flow.internal.v0.enums.DutyCompoundExpressionType>;
16987
17211
  export declare const dutyRateUnitOfMeasure: PropTypes.Requireable<io.flow.internal.v0.enums.DutyRateUnitOfMeasure>;
16988
17212
  export declare const dutySimpleExpressionType: PropTypes.Requireable<io.flow.internal.v0.enums.DutySimpleExpressionType>;
17213
+ export declare const emptyAttribute: PropTypes.Requireable<io.flow.internal.v0.enums.EmptyAttribute>;
16989
17214
  export declare const eventType: PropTypes.Requireable<io.flow.internal.v0.enums.EventType>;
16990
17215
  export declare const experienceImportType: PropTypes.Requireable<io.flow.internal.v0.enums.ExperienceImportType>;
16991
17216
  export declare const experienceOrderAction: PropTypes.Requireable<io.flow.internal.v0.enums.ExperienceOrderAction>;
16992
17217
  export declare const experienceOrderActionTrigger: PropTypes.Requireable<io.flow.internal.v0.enums.ExperienceOrderActionTrigger>;
16993
- export declare const experimentDiscriminatorValue: PropTypes.Requireable<io.flow.internal.v0.enums.ExperimentDiscriminatorValue>;
17218
+ export declare const experimentDiscriminatorKey: PropTypes.Requireable<io.flow.internal.v0.enums.ExperimentDiscriminatorKey>;
16994
17219
  export declare const featureScope: PropTypes.Requireable<io.flow.internal.v0.enums.FeatureScope>;
16995
17220
  export declare const featureStatus: PropTypes.Requireable<io.flow.internal.v0.enums.FeatureStatus>;
16996
17221
  export declare const featureType: PropTypes.Requireable<io.flow.internal.v0.enums.FeatureType>;
@@ -17032,6 +17257,7 @@ export declare const paymentTerm: PropTypes.Requireable<io.flow.internal.v0.enum
17032
17257
  export declare const priceSelector: PropTypes.Requireable<io.flow.internal.v0.enums.PriceSelector>;
17033
17258
  export declare const processingTransactionType: PropTypes.Requireable<io.flow.internal.v0.enums.ProcessingTransactionType>;
17034
17259
  export declare const processor: PropTypes.Requireable<io.flow.internal.v0.enums.Processor>;
17260
+ export declare const productClassificationAction: PropTypes.Requireable<io.flow.internal.v0.enums.ProductClassificationAction>;
17035
17261
  export declare const promptAction: PropTypes.Requireable<io.flow.internal.v0.enums.PromptAction>;
17036
17262
  export declare const promptCheckoutDisplayPosition: PropTypes.Requireable<io.flow.internal.v0.enums.PromptCheckoutDisplayPosition>;
17037
17263
  export declare const promptOptions: PropTypes.Requireable<io.flow.internal.v0.enums.PromptOptions>;
@@ -17058,6 +17284,7 @@ export declare const taxCalculationErrorCode: PropTypes.Requireable<io.flow.inte
17058
17284
  export declare const timeseriesType: PropTypes.Requireable<io.flow.internal.v0.enums.TimeseriesType>;
17059
17285
  export declare const trackingIntegrationType: PropTypes.Requireable<io.flow.internal.v0.enums.TrackingIntegrationType>;
17060
17286
  export declare const transferMethod: PropTypes.Requireable<io.flow.internal.v0.enums.TransferMethod>;
17287
+ export declare const unclassifiedProductStatus: PropTypes.Requireable<io.flow.internal.v0.enums.UnclassifiedProductStatus>;
17061
17288
  export declare const account: PropTypes.Requireable<io.flow.internal.v0.models.Account>;
17062
17289
  export declare const accountContact: PropTypes.Requireable<io.flow.internal.v0.models.AccountContact>;
17063
17290
  export declare const accountContactForm: PropTypes.Requireable<io.flow.internal.v0.models.AccountContactForm>;
@@ -17106,9 +17333,11 @@ export declare const alertFailureSummaryDetail: PropTypes.Requireable<io.flow.in
17106
17333
  export declare const alertRequeueSummary: PropTypes.Requireable<io.flow.internal.v0.models.AlertRequeueSummary>;
17107
17334
  export declare const allItemsExport: PropTypes.Requireable<io.flow.internal.v0.models.AllItemsExport>;
17108
17335
  export declare const allocationItemReference: PropTypes.Requireable<io.flow.internal.v0.models.AllocationItemReference>;
17336
+ export declare const allowedLabels: PropTypes.Requireable<io.flow.internal.v0.models.AllowedLabels>;
17109
17337
  export declare const apmContent: PropTypes.Requireable<io.flow.internal.v0.models.ApmContent>;
17110
17338
  export declare const applePaymentToken: PropTypes.Requireable<io.flow.internal.v0.models.ApplePaymentToken>;
17111
17339
  export declare const applePaymentTokenHeader: PropTypes.Requireable<io.flow.internal.v0.models.ApplePaymentTokenHeader>;
17340
+ export declare const attributeLabel: PropTypes.Requireable<io.flow.internal.v0.models.AttributeLabel>;
17112
17341
  export declare const authenticationForm: PropTypes.Requireable<io.flow.internal.v0.models.AuthenticationForm>;
17113
17342
  export declare const authorization: PropTypes.Requireable<io.flow.internal.v0.models.Authorization>;
17114
17343
  export declare const authorizationMetadata: PropTypes.Requireable<io.flow.internal.v0.models.AuthorizationMetadata>;
@@ -17289,12 +17518,14 @@ export declare const experimentDeleted: PropTypes.Requireable<io.flow.internal.v
17289
17518
  export declare const experimentEngineResults: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentEngineResults>;
17290
17519
  export declare const experimentForm: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentForm>;
17291
17520
  export declare const experimentFormDefault: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentFormDefault>;
17521
+ export declare const experimentFormDefaultDiscriminator: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator>;
17522
+ export declare const experimentFormDefaultDiscriminatorValue: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue>;
17523
+ export declare const experimentFormDefaultVariant: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentFormDefaultVariant>;
17292
17524
  export declare const experimentResults: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentResults>;
17293
17525
  export declare const experimentResultsDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentResultsDeleted>;
17294
17526
  export declare const experimentResultsUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentResultsUpserted>;
17295
17527
  export declare const experimentResultsWithTimestamp: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentResultsWithTimestamp>;
17296
17528
  export declare const experimentUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentUpserted>;
17297
- export declare const experimentVariantFormDefault: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentVariantFormDefault>;
17298
17529
  export declare const experimentVariantSummary: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentVariantSummary>;
17299
17530
  export declare const experimentVersion: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentVersion>;
17300
17531
  export declare const explicitStatementDate: PropTypes.Requireable<io.flow.internal.v0.models.ExplicitStatementDate>;
@@ -17428,7 +17659,10 @@ export declare const itemsShipped: PropTypes.Requireable<io.flow.internal.v0.mod
17428
17659
  export declare const key: PropTypes.Requireable<io.flow.internal.v0.models.Key>;
17429
17660
  export declare const keyReference: PropTypes.Requireable<io.flow.internal.v0.models.KeyReference>;
17430
17661
  export declare const label: PropTypes.Requireable<io.flow.internal.v0.models.Label>;
17662
+ export declare const labelAliases: PropTypes.Requireable<io.flow.internal.v0.models.LabelAliases>;
17663
+ export declare const labelAssociation: PropTypes.Requireable<io.flow.internal.v0.models.LabelAssociation>;
17431
17664
  export declare const labelSummary: PropTypes.Requireable<io.flow.internal.v0.models.LabelSummary>;
17665
+ export declare const labelTaxonomy: PropTypes.Requireable<io.flow.internal.v0.models.LabelTaxonomy>;
17432
17666
  export declare const labeledContent: PropTypes.Requireable<io.flow.internal.v0.models.LabeledContent>;
17433
17667
  export declare const labelsPrediction: PropTypes.Requireable<io.flow.internal.v0.models.LabelsPrediction>;
17434
17668
  export declare const landedCostExport: PropTypes.Requireable<io.flow.internal.v0.models.LandedCostExport>;
@@ -17612,8 +17846,13 @@ export declare const prioritizedCenterReference: PropTypes.Requireable<io.flow.i
17612
17846
  export declare const processingTransaction: PropTypes.Requireable<io.flow.internal.v0.models.ProcessingTransaction>;
17613
17847
  export declare const processingTransactionDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ProcessingTransactionDeleted>;
17614
17848
  export declare const processingTransactionUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ProcessingTransactionUpserted>;
17849
+ export declare const productClassification: PropTypes.Requireable<io.flow.internal.v0.models.ProductClassification>;
17850
+ export declare const productClassificationForm: PropTypes.Requireable<io.flow.internal.v0.models.ProductClassificationForm>;
17615
17851
  export declare const productClassificationJudgementForm: PropTypes.Requireable<io.flow.internal.v0.models.ProductClassificationJudgementForm>;
17616
17852
  export declare const productClassificationResult: PropTypes.Requireable<io.flow.internal.v0.models.ProductClassificationResult>;
17853
+ export declare const productHarmonization: PropTypes.Requireable<io.flow.internal.v0.models.ProductHarmonization>;
17854
+ export declare const productHarmonizationForm: PropTypes.Requireable<io.flow.internal.v0.models.ProductHarmonizationForm>;
17855
+ export declare const productLabels: PropTypes.Requireable<io.flow.internal.v0.models.ProductLabels>;
17617
17856
  export declare const quoteRequest: PropTypes.Requireable<io.flow.internal.v0.models.QuoteRequest>;
17618
17857
  export declare const rate: PropTypes.Requireable<io.flow.internal.v0.models.Rate>;
17619
17858
  export declare const rateData: PropTypes.Requireable<io.flow.internal.v0.models.RateData>;
@@ -17735,6 +17974,7 @@ export declare const subcatalogItemCount: PropTypes.Requireable<io.flow.internal
17735
17974
  export declare const submittedOrderUpserted: PropTypes.Requireable<io.flow.internal.v0.models.SubmittedOrderUpserted>;
17736
17975
  export declare const subscription: PropTypes.Requireable<io.flow.internal.v0.models.Subscription>;
17737
17976
  export declare const subscriptionTransaction: PropTypes.Requireable<io.flow.internal.v0.models.SubscriptionTransaction>;
17977
+ export declare const supportedLabels: PropTypes.Requireable<io.flow.internal.v0.models.SupportedLabels>;
17738
17978
  export declare const svbVirtualCardClearing: PropTypes.Requireable<io.flow.internal.v0.models.SvbVirtualCardClearing>;
17739
17979
  export declare const svbVirtualCardClearingDeleted: PropTypes.Requireable<io.flow.internal.v0.models.SvbVirtualCardClearingDeleted>;
17740
17980
  export declare const svbVirtualCardClearingUpserted: PropTypes.Requireable<io.flow.internal.v0.models.SvbVirtualCardClearingUpserted>;
@@ -17788,6 +18028,7 @@ export declare const carrierCredentials: PropTypes.Requireable<io.flow.internal.
17788
18028
  export declare const checkoutForm: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutForm>;
17789
18029
  export declare const checkoutSubmitOrderBundles: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutSubmitOrderBundles>;
17790
18030
  export declare const checkoutSubmitOrderForms: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutSubmitOrderForms>;
18031
+ export declare const classificationLabelAttribute: PropTypes.Requireable<io.flow.internal.v0.unions.ClassificationLabelAttribute>;
17791
18032
  export declare const contentItem: PropTypes.Requireable<io.flow.internal.v0.unions.ContentItem>;
17792
18033
  export declare const discountRequestOfferForm: PropTypes.Requireable<io.flow.internal.v0.unions.DiscountRequestOfferForm>;
17793
18034
  export declare const dutyExpression: PropTypes.Requireable<io.flow.internal.v0.unions.DutyExpression>;