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

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,286 +1,5 @@
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;
7
- }
8
-
9
- interface DdpRatecardFee {
10
- readonly 'discriminator': 'ddp_ratecard_fee';
11
- readonly 'amount': number;
12
- }
13
-
14
- interface DimensionEstimate {
15
- readonly 'id': string;
16
- readonly 'q': string;
17
- readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
18
- readonly 'position': number;
19
- }
20
-
21
- interface DimensionEstimateForm {
22
- readonly 'q': string;
23
- readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
24
- readonly 'position'?: number;
25
- }
26
-
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;
32
- }
33
-
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;
39
- }
40
-
41
- interface FuelSurchargeRatecardFee {
42
- readonly 'discriminator': 'fuel_surcharge_ratecard_fee';
43
- readonly 'amount': io.flow.common.v0.models.Money;
44
- }
45
-
46
- interface FuelSurchargeServiceFee {
47
- readonly 'discriminator': 'fuel_surcharge_service_fee';
48
- readonly 'percent': number;
49
- }
50
-
51
- interface Hop {
52
- readonly 'hop_number': number;
53
- readonly 'hop_estimate': io.flow.ratecard.v0.models.HopEstimate;
54
- }
55
-
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;
65
- }
66
-
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;
73
- }
74
-
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;
84
- }
85
-
86
- interface RatecardCarrierSummary {
87
- readonly 'id': string;
88
- readonly 'name': string;
89
- }
90
-
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[];
104
- }
105
-
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;
120
- }
121
-
122
- interface RatecardEstimateSummaryForm {
123
- readonly 'origin'?: string;
124
- readonly 'destination'?: string;
125
- readonly 'service'?: string;
126
- readonly 'center_key'?: string;
127
- }
128
-
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[];
141
- }
142
-
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;
151
- }
152
-
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;
160
- }
161
-
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;
177
- }
178
-
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;
192
- }
193
-
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[];
206
- }
207
-
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
- }
214
-
215
- interface RatecardLanesImportRequestData {
216
- readonly 'id': string;
217
- readonly 'source_url': string;
218
- readonly 'filename'?: string;
219
- }
220
-
221
- interface RatecardRate {
222
- readonly 'id': string;
223
- readonly 'amount': number;
224
- readonly 'weight': number;
225
- }
226
-
227
- interface RatecardRateForm {
228
- readonly 'amount': number;
229
- readonly 'weight': number;
230
- }
231
-
232
- interface RatecardRateVersion {
233
- readonly 'id': string;
234
- readonly 'timestamp': string;
235
- readonly 'type': io.flow.common.v0.enums.ChangeType;
236
- readonly 'ratecard_rate': io.flow.ratecard.v0.models.RatecardRate;
237
- }
238
-
239
- interface RatecardReference {
240
- readonly 'id': string;
241
- }
242
-
243
- interface RatecardServiceSummary {
244
- readonly 'id': string;
245
- readonly 'name': string;
246
- readonly 'carrier': io.flow.ratecard.v0.models.RatecardCarrierSummary;
247
- }
248
-
249
- interface RatecardVersion {
250
- readonly 'id': string;
251
- readonly 'timestamp': string;
252
- readonly 'type': io.flow.common.v0.enums.ChangeType;
253
- readonly 'ratecard': io.flow.ratecard.v0.models.Ratecard;
254
- }
255
-
256
- interface RemoteAreaRatecardFee {
257
- readonly 'discriminator': 'remote_area_ratecard_fee';
258
- readonly 'amount': io.flow.common.v0.models.Money;
259
- }
260
-
261
- interface RemoteAreaServiceFee {
262
- readonly 'discriminator': 'remote_area_service_fee';
263
- readonly 'amount': io.flow.common.v0.models.Money;
264
- }
265
-
266
- interface ReturnPackageRatecardFee {
267
- readonly 'discriminator': 'return_package_ratecard_fee';
268
- readonly 'amount': number;
269
- }
270
-
271
- interface ShipmentWindow {
272
- readonly 'from': number;
273
- readonly 'to': number;
274
- }
275
- }
276
-
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);
282
- }
283
-
284
3
  declare namespace io.flow.bundle.checkout.v0.enums {
285
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';
286
5
  type CheckoutRedirectMethod = 'get' | 'post';
@@ -782,1574 +501,1879 @@ declare namespace io.flow.experience.v0.models {
782
501
  readonly 'checkout_configuration': io.flow.experience.v0.models.ExperienceConfigurationReference;
783
502
  }
784
503
 
785
- interface ExperienceCheckoutSettingsForm {
786
- readonly 'checkout_configuration_id': string;
504
+ interface ExperienceCheckoutSettingsForm {
505
+ readonly 'checkout_configuration_id': string;
506
+ }
507
+
508
+ interface ExperienceClone {
509
+ readonly 'id': 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;
513
+ }
514
+
515
+ interface ExperienceCloneForm {
516
+ readonly 'name'?: string;
517
+ }
518
+
519
+ interface ExperienceConfigurationReference {
520
+ readonly 'id': string;
521
+ }
522
+
523
+ interface ExperienceCurrencyFormat {
524
+ readonly 'symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
525
+ readonly 'label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
526
+ }
527
+
528
+ interface ExperienceCurrencyFormatForm {
529
+ readonly 'symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
530
+ readonly 'label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
531
+ }
532
+
533
+ interface ExperienceDefaults {
534
+ readonly 'key': string;
535
+ readonly 'name': string;
536
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
537
+ readonly 'country': string;
538
+ readonly 'currency': string;
539
+ readonly 'language': string;
540
+ readonly 'measurement_system': io.flow.common.v0.enums.MeasurementSystem;
541
+ }
542
+
543
+ interface ExperienceForm {
544
+ readonly 'region_id': string;
545
+ readonly 'name': string;
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;
553
+ }
554
+
555
+ interface ExperienceGeo {
556
+ readonly 'key': string;
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;
563
+ }
564
+
565
+ interface ExperienceLogisticsSettings {
566
+ readonly 'id': string;
567
+ readonly 'experience': io.flow.experience.v0.models.ExperienceOverview;
568
+ readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
569
+ }
570
+
571
+ interface ExperienceLogisticsSettingsPutForm {
572
+ readonly 'shipping_configuration_key': string;
573
+ }
574
+
575
+ interface ExperienceLogisticsSummary {
576
+ readonly 'outbound'?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary;
577
+ readonly 'return'?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary;
578
+ }
579
+
580
+ interface ExperienceLogisticsTierSummary {
581
+ readonly 'prices': io.flow.experience.v0.models.ExperienceLogisticsTierSummaryPrices;
582
+ }
583
+
584
+ interface ExperienceLogisticsTierSummaryPrices {
585
+ readonly 'minimum': io.flow.common.v0.models.Price;
586
+ }
587
+
588
+ interface ExperienceOverview {
589
+ readonly 'id': string;
590
+ readonly 'key': string;
591
+ }
592
+
593
+ interface ExperiencePaymentMethodRuleForm {
594
+ readonly 'payment_method_id': string;
595
+ readonly 'tags': io.flow.experience.v0.enums.ExperiencePaymentMethodTag[];
596
+ readonly 'q'?: string;
597
+ }
598
+
599
+ interface ExperiencePriceBookMapping {
600
+ readonly 'id': string;
601
+ readonly 'experience': io.flow.experience.v0.models.ExperienceReference;
602
+ readonly 'price_book': io.flow.price.v0.models.PriceBookReference;
603
+ readonly 'position': number;
604
+ }
605
+
606
+ interface ExperiencePriceBookMappingForm {
607
+ readonly 'price_book_key': string;
608
+ readonly 'position'?: number;
609
+ }
610
+
611
+ interface ExperiencePriceBookMappingPutForm {
612
+ readonly 'price_books': io.flow.experience.v0.models.ExperiencePriceBookMappingForm[];
613
+ }
614
+
615
+ interface ExperiencePriceConversion {
616
+ readonly 'request': io.flow.experience.v0.models.ExperiencePriceConversionRequest;
617
+ readonly 'price': io.flow.common.v0.models.PriceWithBase;
618
+ }
619
+
620
+ interface ExperiencePriceConversionRequest {
621
+ readonly 'value': number;
622
+ readonly 'base': string;
623
+ readonly 'local': string;
624
+ }
625
+
626
+ interface ExperiencePriceConversionResponse {
627
+ readonly 'prices': io.flow.experience.v0.models.ExperiencePriceConversion[];
628
+ }
629
+
630
+ interface ExperiencePriceFacetConversion {
631
+ readonly 'request': io.flow.experience.v0.models.ExperiencePriceFacetConversionRequest;
632
+ readonly 'price': io.flow.common.v0.models.PriceWithBase;
633
+ }
634
+
635
+ interface ExperiencePriceFacetConversionRequest {
636
+ readonly 'boundary': io.flow.experience.v0.enums.PriceFacetBoundary;
637
+ readonly 'value': number;
638
+ readonly 'base': string;
639
+ readonly 'local': string;
640
+ }
641
+
642
+ interface ExperiencePriceFacetConversionResponse {
643
+ readonly 'facets': io.flow.experience.v0.models.ExperiencePriceFacetConversion[];
644
+ }
645
+
646
+ interface ExperienceReference {
647
+ readonly 'discriminator': 'experience_reference';
648
+ readonly 'key': string;
649
+ }
650
+
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;
656
+ }
657
+
658
+ interface ExperienceStatusForm {
659
+ readonly 'status': io.flow.experience.v0.enums.ExperienceStatus;
660
+ }
661
+
662
+ interface ExperienceVersion {
663
+ readonly 'id': string;
664
+ readonly 'timestamp': string;
665
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
666
+ readonly 'experience': io.flow.experience.v0.models.Experience;
667
+ }
668
+
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;
673
+ }
674
+
675
+ interface FreeShippingOrderPromotion {
676
+ readonly 'discriminator': 'free_shipping_order_promotion';
677
+ readonly 'id': string;
678
+ readonly 'order': io.flow.experience.v0.unions.ExpandableOrder;
679
+ readonly 'key': string;
680
+ readonly 'trigger': io.flow.experience.v0.models.OrderPromotionTrigger;
681
+ readonly 'max'?: io.flow.common.v0.models.Price;
682
+ readonly 'attributes': Record<string, string>;
683
+ }
684
+
685
+ interface FreeShippingOrderPromotionForm {
686
+ readonly 'discriminator': 'free_shipping_order_promotion_form';
687
+ readonly 'trigger': io.flow.experience.v0.models.PromotionTriggerForm;
688
+ readonly 'max'?: io.flow.common.v0.models.PriceForm;
689
+ readonly 'attributes'?: Record<string, string>;
690
+ }
691
+
692
+ interface ItemMargin {
693
+ readonly 'id': string;
694
+ readonly 'key': string;
695
+ readonly 'name': string;
696
+ readonly 'q': string;
697
+ readonly 'fixed': number;
698
+ readonly 'percent': number;
699
+ readonly 'position': number;
700
+ }
701
+
702
+ interface ItemMarginPostForm {
703
+ readonly 'name': string;
704
+ readonly 'q': string;
705
+ readonly 'key'?: string;
706
+ readonly 'fixed'?: number;
707
+ readonly 'percent'?: number;
708
+ readonly 'position'?: number;
709
+ }
710
+
711
+ interface ItemMarginPutForm {
712
+ readonly 'name': string;
713
+ readonly 'q': string;
714
+ readonly 'fixed'?: number;
715
+ readonly 'percent'?: number;
716
+ readonly 'position'?: number;
717
+ }
718
+
719
+ interface ItemMarginVersion {
720
+ readonly 'id': string;
721
+ readonly 'timestamp': string;
722
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
723
+ readonly 'item_margin': io.flow.experience.v0.models.ItemMargin;
724
+ }
725
+
726
+ interface Line {
727
+ readonly 'item_number': string;
728
+ readonly 'quantity': number;
729
+ readonly 'price': io.flow.common.v0.models.PriceWithBase;
730
+ readonly 'total': io.flow.common.v0.models.PriceWithBase;
731
+ readonly 'attributes'?: Record<string, string>;
732
+ }
733
+
734
+ interface LocalizedLineItem {
735
+ readonly 'number': string;
736
+ readonly 'name': string;
737
+ readonly 'quantity': number;
738
+ readonly 'center'?: string;
739
+ readonly 'price'?: io.flow.common.v0.models.Money;
740
+ readonly 'discount'?: io.flow.experience.v0.models.LocalizedLineItemDiscount;
741
+ readonly 'discounts'?: io.flow.experience.v0.models.LocalizedLineItemDiscount[];
742
+ readonly 'attributes'?: Record<string, string>;
743
+ readonly 'local': io.flow.catalog.v0.models.Local;
744
+ readonly 'shipment_estimate'?: io.flow.common.v0.models.DatetimeRange;
745
+ readonly 'price_source'?: io.flow.common.v0.unions.PriceSource;
746
+ }
747
+
748
+ interface LocalizedLineItemDiscount {
749
+ readonly 'amount': number;
750
+ readonly 'currency': string;
751
+ readonly 'label'?: string;
752
+ readonly 'base'?: io.flow.common.v0.models.Price;
753
+ readonly 'requested'?: io.flow.common.v0.models.Money;
754
+ readonly 'discount_label'?: string;
755
+ }
756
+
757
+ interface LogisticsSettings {
758
+ readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
787
759
  }
788
760
 
789
- interface ExperienceClone {
761
+ interface Order {
762
+ readonly 'discriminator': 'order';
790
763
  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;
764
+ readonly 'number': string;
765
+ readonly 'merchant_of_record'?: io.flow.common.v0.enums.OrderMerchantOfRecord;
766
+ readonly 'experience'?: io.flow.experience.v0.unions.ExpandableExperience;
767
+ readonly 'customer': io.flow.common.v0.models.OrderCustomer;
768
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
769
+ readonly 'destination': io.flow.experience.v0.models.OrderAddress;
770
+ readonly 'expires_at': string;
771
+ readonly 'items': io.flow.experience.v0.models.LocalizedLineItem[];
772
+ readonly 'deliveries': io.flow.fulfillment.v0.unions.Delivery[];
773
+ readonly 'selections': string[];
774
+ readonly 'prices': io.flow.order.price.v0.models.OrderPriceDetail[];
775
+ readonly 'total': io.flow.catalog.v0.models.LocalizedTotal;
776
+ readonly 'attributes': Record<string, string>;
777
+ readonly 'submitted_at'?: string;
778
+ readonly 'lines'?: io.flow.experience.v0.models.Line[];
779
+ readonly 'identifiers'?: string[];
780
+ readonly 'promotions'?: io.flow.experience.v0.models.Promotions;
781
+ readonly 'payments'?: io.flow.experience.v0.models.OrderPayment[];
782
+ readonly 'balance'?: io.flow.catalog.v0.models.LocalizedTotal;
783
+ readonly 'rules'?: io.flow.experience.v0.models.OrderRulesSummary;
784
+ readonly 'tax_registration'?: io.flow.harmonization.v0.models.TaxRegistration;
785
+ readonly 'geo'?: io.flow.experience.v0.models.OrderGeo;
794
786
  }
795
787
 
796
- interface ExperienceCloneForm {
797
- readonly 'name'?: string;
788
+ interface OrderAddress {
789
+ readonly 'text'?: string;
790
+ readonly 'streets'?: string[];
791
+ readonly 'city'?: string;
792
+ readonly 'province'?: string;
793
+ readonly 'postal'?: string;
794
+ readonly 'country'?: string;
795
+ readonly 'latitude'?: string;
796
+ readonly 'longitude'?: string;
797
+ readonly 'contact'?: io.flow.common.v0.models.Contact;
798
798
  }
799
799
 
800
- interface ExperienceConfigurationReference {
801
- readonly 'id': string;
800
+ interface OrderBuilder {
801
+ readonly 'order'?: io.flow.experience.v0.models.Order;
802
+ readonly 'errors'?: io.flow.experience.v0.models.OrderError[];
802
803
  }
803
804
 
804
- interface ExperienceCurrencyFormat {
805
- readonly 'symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
806
- readonly 'label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
805
+ interface OrderBuilderAttributesForm {
806
+ readonly 'attributes': Record<string, string>;
807
807
  }
808
808
 
809
- interface ExperienceCurrencyFormatForm {
810
- readonly 'symbol': io.flow.common.v0.enums.CurrencySymbolFormat;
811
- readonly 'label_formatters': io.flow.common.v0.enums.CurrencyLabelFormatter[];
809
+ interface OrderBuilderCustomerInvoiceAddressForm {
810
+ readonly 'address': io.flow.common.v0.models.BillingAddress;
812
811
  }
813
812
 
814
- interface ExperienceDefaults {
815
- readonly 'key': string;
816
- readonly 'name': string;
813
+ interface OrderBuilderDeliveredDutyForm {
817
814
  readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
815
+ }
816
+
817
+ interface OrderBuilderDestinationCountryForm {
818
818
  readonly 'country': string;
819
- readonly 'currency': string;
820
- readonly 'language': string;
821
- readonly 'measurement_system': io.flow.common.v0.enums.MeasurementSystem;
822
819
  }
823
820
 
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;
821
+ interface OrderBuilderDestinationForm {
822
+ readonly 'destination': io.flow.experience.v0.models.OrderAddress;
834
823
  }
835
824
 
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;
825
+ interface OrderDestinationPutForm {
826
+ readonly 'destination': io.flow.experience.v0.models.OrderAddress;
844
827
  }
845
828
 
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;
829
+ interface OrderError {
830
+ readonly 'code': io.flow.experience.v0.enums.OrderErrorCode;
831
+ readonly 'messages': string[];
832
+ readonly 'numbers'?: string[];
833
+ readonly 'destination_country'?: io.flow.reference.v0.models.Country;
834
+ readonly 'threshold'?: io.flow.experience.v0.models.ValueThresholdExceededDetails;
850
835
  }
851
836
 
852
- interface ExperienceLogisticsSettingsPutForm {
853
- readonly 'shipping_configuration_key': string;
837
+ interface OrderEstimate {
838
+ readonly 'id': string;
839
+ readonly 'items': io.flow.experience.v0.models.LocalizedLineItem[];
840
+ readonly 'destination': io.flow.experience.v0.models.OrderAddress;
841
+ readonly 'deliveries': io.flow.fulfillment.v0.unions.Delivery[];
842
+ readonly 'prices': io.flow.order.price.v0.models.OrderPriceDetail[];
843
+ readonly 'selections': string[];
844
+ readonly 'total': io.flow.catalog.v0.models.LocalizedTotal;
845
+ readonly 'lines'?: io.flow.experience.v0.models.Line[];
846
+ readonly 'promotions'?: io.flow.experience.v0.models.Promotions;
854
847
  }
855
848
 
856
- interface ExperienceLogisticsSummary {
857
- readonly 'outbound'?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary;
858
- readonly 'return'?: io.flow.experience.v0.models.ExperienceLogisticsTierSummary;
849
+ interface OrderEstimateForm {
850
+ readonly 'items': io.flow.common.v0.models.LineItemForm[];
851
+ readonly 'destination'?: io.flow.experience.v0.models.OrderAddress;
852
+ readonly 'selections'?: string[];
859
853
  }
860
854
 
861
- interface ExperienceLogisticsTierSummary {
862
- readonly 'prices': io.flow.experience.v0.models.ExperienceLogisticsTierSummaryPrices;
855
+ interface OrderForm {
856
+ readonly 'customer'?: io.flow.common.v0.models.OrderCustomerForm;
857
+ readonly 'items': io.flow.common.v0.models.LineItemForm[];
858
+ readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
859
+ readonly 'number'?: string;
860
+ readonly 'destination'?: io.flow.experience.v0.models.OrderAddress;
861
+ readonly 'discount'?: io.flow.common.v0.models.Money;
862
+ readonly 'discounts'?: io.flow.common.v0.models.DiscountsForm;
863
+ readonly 'attributes'?: Record<string, string>;
864
+ readonly 'authorization_keys'?: string[];
865
+ readonly 'options'?: io.flow.experience.v0.models.OrderOptions;
863
866
  }
864
867
 
865
- interface ExperienceLogisticsTierSummaryPrices {
866
- readonly 'minimum': io.flow.common.v0.models.Price;
868
+ interface OrderGeo {
869
+ readonly 'ip'?: string;
870
+ readonly 'country': string;
871
+ readonly 'currency'?: string;
872
+ readonly 'language'?: string;
867
873
  }
868
874
 
869
- interface ExperienceOverview {
875
+ interface OrderIdentifier {
870
876
  readonly 'id': string;
871
- readonly 'key': string;
877
+ readonly 'order': io.flow.experience.v0.models.OrderReference;
878
+ readonly 'name': string;
879
+ readonly 'identifier': string;
880
+ readonly 'primary': boolean;
881
+ readonly 'number'?: string;
872
882
  }
873
883
 
874
- interface ExperiencePaymentMethodRuleForm {
875
- readonly 'payment_method_id': string;
876
- readonly 'tags': io.flow.experience.v0.enums.ExperiencePaymentMethodTag[];
877
- readonly 'q'?: string;
884
+ interface OrderIdentifierForm {
885
+ readonly 'order': string;
886
+ readonly 'name'?: string;
887
+ readonly 'identifier'?: string;
888
+ readonly 'number'?: string;
889
+ readonly 'primary'?: boolean;
878
890
  }
879
891
 
880
- interface ExperiencePriceBookMapping {
892
+ interface OrderIdentifierPutForm {
893
+ readonly 'order': string;
894
+ readonly 'name'?: string;
895
+ readonly 'primary'?: boolean;
896
+ }
897
+
898
+ interface OrderIdentifierVersion {
881
899
  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;
900
+ readonly 'timestamp': string;
901
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
902
+ readonly 'order_identifier': io.flow.experience.v0.models.OrderIdentifier;
885
903
  }
886
904
 
887
- interface ExperiencePriceBookMappingForm {
888
- readonly 'price_book_key': string;
889
- readonly 'position'?: number;
905
+ interface OrderNumberGeneratorDefaults {
906
+ readonly 'starts_with': number;
907
+ readonly 'min_hex_length': number;
908
+ readonly 'min_starts_with': number;
890
909
  }
891
910
 
892
- interface ExperiencePriceBookMappingPutForm {
893
- readonly 'price_books': io.flow.experience.v0.models.ExperiencePriceBookMappingForm[];
911
+ interface OrderNumberGeneratorFixedLength {
912
+ readonly 'length': number;
913
+ readonly 'padding': string;
894
914
  }
895
915
 
896
- interface ExperiencePriceConversion {
897
- readonly 'request': io.flow.experience.v0.models.ExperiencePriceConversionRequest;
898
- readonly 'price': io.flow.common.v0.models.PriceWithBase;
916
+ interface OrderNumberGeneratorHexadecimal {
917
+ readonly 'discriminator': 'hexadecimal';
918
+ readonly 'length': number;
899
919
  }
900
920
 
901
- interface ExperiencePriceConversionRequest {
902
- readonly 'value': number;
903
- readonly 'base': string;
904
- readonly 'local': string;
921
+ interface OrderNumberGeneratorPrefixSuffix {
922
+ readonly 'discriminator': 'prefix_suffix';
923
+ readonly 'prefix'?: string;
924
+ readonly 'starts_with'?: number;
925
+ readonly 'suffix'?: string;
926
+ readonly 'fixed_length'?: io.flow.experience.v0.models.OrderNumberGeneratorFixedLength;
905
927
  }
906
928
 
907
- interface ExperiencePriceConversionResponse {
908
- readonly 'prices': io.flow.experience.v0.models.ExperiencePriceConversion[];
929
+ interface OrderNumberGeneratorUuid {
930
+ readonly 'discriminator': 'uuid';
931
+ readonly 'prefix'?: string;
909
932
  }
910
933
 
911
- interface ExperiencePriceFacetConversion {
912
- readonly 'request': io.flow.experience.v0.models.ExperiencePriceFacetConversionRequest;
913
- readonly 'price': io.flow.common.v0.models.PriceWithBase;
934
+ interface OrderNumberReference {
935
+ readonly 'number': string;
914
936
  }
915
937
 
916
- interface ExperiencePriceFacetConversionRequest {
917
- readonly 'boundary': io.flow.experience.v0.enums.PriceFacetBoundary;
918
- readonly 'value': number;
919
- readonly 'base': string;
920
- readonly 'local': string;
938
+ interface OrderOptions {
939
+ readonly 'storage': io.flow.experience.v0.enums.OrderStorage;
921
940
  }
922
941
 
923
- interface ExperiencePriceFacetConversionResponse {
924
- readonly 'facets': io.flow.experience.v0.models.ExperiencePriceFacetConversion[];
942
+ interface OrderPayment {
943
+ readonly 'id': string;
944
+ readonly 'type': io.flow.experience.v0.enums.OrderPaymentType;
945
+ readonly 'merchant_of_record'?: io.flow.common.v0.enums.MerchantOfRecord;
946
+ readonly 'reference': string;
947
+ readonly 'description': string;
948
+ readonly 'total': io.flow.common.v0.models.PriceWithBase;
949
+ readonly 'address'?: io.flow.common.v0.models.BillingAddress;
950
+ readonly 'date'?: string;
951
+ readonly 'attributes'?: Record<string, string>;
925
952
  }
926
953
 
927
- interface ExperienceReference {
928
- readonly 'discriminator': 'experience_reference';
929
- readonly 'key': string;
954
+ interface OrderPromotionTrigger {
955
+ readonly 'type': io.flow.experience.v0.enums.PromotionTriggerType;
956
+ readonly 'min'?: io.flow.common.v0.models.Price;
930
957
  }
931
958
 
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;
959
+ interface OrderPutForm {
960
+ readonly 'items': io.flow.common.v0.models.LineItemForm[];
961
+ readonly 'customer'?: io.flow.common.v0.models.OrderCustomerForm;
962
+ readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
963
+ readonly 'selections'?: string[];
964
+ readonly 'destination'?: io.flow.experience.v0.models.OrderAddress;
965
+ readonly 'discount'?: io.flow.common.v0.models.Money;
966
+ readonly 'discounts'?: io.flow.common.v0.models.DiscountsForm;
967
+ readonly 'attributes'?: Record<string, string>;
968
+ readonly 'authorization_keys'?: string[];
969
+ readonly 'options'?: io.flow.experience.v0.models.OrderOptions;
937
970
  }
938
971
 
939
- interface ExperienceStatusForm {
940
- readonly 'status': io.flow.experience.v0.enums.ExperienceStatus;
972
+ interface OrderReference {
973
+ readonly 'discriminator': 'order_reference';
974
+ readonly 'id': string;
975
+ readonly 'number': string;
941
976
  }
942
977
 
943
- interface ExperienceVersion {
978
+ interface OrderRuleReference {
944
979
  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;
980
+ readonly 'key': string;
948
981
  }
949
982
 
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;
983
+ interface OrderRulesSummary {
984
+ readonly 'applied': io.flow.experience.v0.models.OrderRuleReference[];
954
985
  }
955
986
 
956
- interface FreeShippingOrderPromotion {
957
- readonly 'discriminator': 'free_shipping_order_promotion';
987
+ interface OrderServiceChange {
958
988
  readonly 'id': string;
959
- readonly 'order': io.flow.experience.v0.unions.ExpandableOrder;
960
- readonly 'key': string;
961
- readonly 'trigger': io.flow.experience.v0.models.OrderPromotionTrigger;
962
- readonly 'max'?: io.flow.common.v0.models.Price;
963
- readonly 'attributes': Record<string, string>;
989
+ readonly 'from': io.flow.reference.v0.models.CarrierService;
990
+ readonly 'to': io.flow.reference.v0.models.CarrierService;
964
991
  }
965
992
 
966
- interface FreeShippingOrderPromotionForm {
967
- readonly 'discriminator': 'free_shipping_order_promotion_form';
968
- readonly 'trigger': io.flow.experience.v0.models.PromotionTriggerForm;
969
- readonly 'max'?: io.flow.common.v0.models.PriceForm;
970
- readonly 'attributes'?: Record<string, string>;
993
+ interface OrderServiceChangeForm {
994
+ readonly 'from_service_id': string;
995
+ readonly 'to_service_id': string;
971
996
  }
972
997
 
973
- interface ItemMargin {
998
+ interface OrderServiceChangeRequestData {
974
999
  readonly 'id': string;
975
- readonly 'key': string;
976
- readonly 'name': string;
977
- readonly 'q': string;
978
- readonly 'fixed': number;
979
- readonly 'percent': number;
980
- readonly 'position': number;
1000
+ readonly 'source_url': string;
1001
+ readonly 'filename'?: string;
981
1002
  }
982
1003
 
983
- interface ItemMarginPostForm {
984
- readonly 'name': string;
985
- readonly 'q': string;
986
- readonly 'key'?: string;
987
- readonly 'fixed'?: number;
988
- readonly 'percent'?: number;
989
- readonly 'position'?: number;
1004
+ interface OrderSubmissionForm {
1005
+ readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
990
1006
  }
991
1007
 
992
- interface ItemMarginPutForm {
993
- readonly 'name': string;
994
- readonly 'q': string;
995
- readonly 'fixed'?: number;
996
- readonly 'percent'?: number;
997
- readonly 'position'?: number;
1008
+ interface OrderSubmissionIdentifierForm {
1009
+ readonly 'identifier': string;
1010
+ readonly 'name'?: string;
1011
+ readonly 'primary'?: boolean;
998
1012
  }
999
1013
 
1000
- interface ItemMarginVersion {
1001
- readonly 'id': string;
1002
- readonly 'timestamp': string;
1003
- readonly 'type': io.flow.common.v0.enums.ChangeType;
1004
- readonly 'item_margin': io.flow.experience.v0.models.ItemMargin;
1014
+ interface OrderSummary {
1015
+ readonly 'number': string;
1016
+ readonly 'subtotal': io.flow.experience.v0.models.OrderSummaryPriceDetail;
1017
+ readonly 'shipping'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1018
+ readonly 'tax'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1019
+ readonly 'duty'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1020
+ readonly 'insurance'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1021
+ readonly 'discount'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1022
+ readonly 'surcharges'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1023
+ readonly 'adjustment'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1024
+ readonly 'total': io.flow.experience.v0.models.OrderSummaryPriceDetail;
1025
+ readonly 'lines': io.flow.experience.v0.models.OrderSummaryLineItem[];
1026
+ readonly 'identifiers'?: Record<string, string>;
1005
1027
  }
1006
1028
 
1007
- interface Line {
1008
- readonly 'item_number': string;
1009
- readonly 'quantity': number;
1010
- readonly 'price': io.flow.common.v0.models.PriceWithBase;
1011
- readonly 'total': io.flow.common.v0.models.PriceWithBase;
1012
- readonly 'attributes'?: Record<string, string>;
1029
+ interface OrderSummaryImage {
1030
+ readonly 'url': string;
1013
1031
  }
1014
1032
 
1015
- interface LocalizedLineItem {
1033
+ interface OrderSummaryItem {
1016
1034
  readonly 'number': string;
1017
1035
  readonly 'name': string;
1036
+ readonly 'description'?: string;
1037
+ readonly 'attributes': io.flow.experience.v0.models.CheckoutItemContentAttribute[];
1038
+ readonly 'image'?: io.flow.experience.v0.models.OrderSummaryImage;
1039
+ readonly 'price': io.flow.common.v0.models.Price;
1040
+ readonly 'discount'?: io.flow.common.v0.models.Price;
1041
+ readonly 'tax'?: io.flow.experience.v0.models.OrderSummaryLevy;
1042
+ readonly 'duty'?: io.flow.experience.v0.models.OrderSummaryLevy;
1043
+ readonly 'price_attributes': Record<string, io.flow.common.v0.models.Price>;
1044
+ }
1045
+
1046
+ interface OrderSummaryLevy {
1047
+ readonly 'rate': number;
1048
+ readonly 'rate_label'?: string;
1049
+ readonly 'value': io.flow.common.v0.models.Price;
1050
+ }
1051
+
1052
+ interface OrderSummaryLineItem {
1053
+ readonly 'item': io.flow.experience.v0.models.OrderSummaryItem;
1018
1054
  readonly 'quantity': number;
1019
- readonly 'center'?: string;
1020
- readonly 'price'?: io.flow.common.v0.models.Money;
1021
- readonly 'discount'?: io.flow.experience.v0.models.LocalizedLineItemDiscount;
1022
- readonly 'discounts'?: io.flow.experience.v0.models.LocalizedLineItemDiscount[];
1023
- readonly 'attributes'?: Record<string, string>;
1024
- readonly 'local': io.flow.catalog.v0.models.Local;
1025
- readonly 'shipment_estimate'?: io.flow.common.v0.models.DatetimeRange;
1026
- readonly 'price_source'?: io.flow.common.v0.unions.PriceSource;
1055
+ readonly 'discount'?: io.flow.common.v0.models.Price;
1056
+ readonly 'tax'?: io.flow.experience.v0.models.OrderSummaryLevy;
1057
+ readonly 'duty'?: io.flow.experience.v0.models.OrderSummaryLevy;
1058
+ readonly 'total': io.flow.common.v0.models.Price;
1059
+ readonly 'price_attributes': Record<string, io.flow.common.v0.models.Price>;
1027
1060
  }
1028
1061
 
1029
- interface LocalizedLineItemDiscount {
1030
- readonly 'amount': number;
1031
- readonly 'currency': string;
1032
- readonly 'label'?: string;
1033
- readonly 'base'?: io.flow.common.v0.models.Price;
1034
- readonly 'requested'?: io.flow.common.v0.models.Money;
1035
- readonly 'discount_label'?: string;
1062
+ interface OrderSummaryPriceDetail {
1063
+ readonly 'price': io.flow.common.v0.models.Price;
1064
+ readonly 'name'?: string;
1065
+ readonly 'rate'?: number;
1066
+ readonly 'rate_label'?: string;
1036
1067
  }
1037
1068
 
1038
- interface LogisticsSettings {
1039
- readonly 'shipping_configuration': io.flow.fulfillment.v0.models.ShippingConfigurationReference;
1069
+ interface OrderVersion {
1070
+ readonly 'id': string;
1071
+ readonly 'timestamp': string;
1072
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1073
+ readonly 'order': io.flow.experience.v0.models.Order;
1040
1074
  }
1041
1075
 
1042
- interface Order {
1043
- readonly 'discriminator': 'order';
1076
+ interface OrderWithDiscountsForm {
1077
+ readonly 'order': io.flow.experience.v0.models.OrderForm;
1078
+ readonly 'discounts': string[];
1079
+ }
1080
+
1081
+ interface OriginalPrices {
1082
+ readonly 'value': io.flow.common.v0.models.Price;
1083
+ readonly 'max': io.flow.common.v0.models.Price;
1084
+ }
1085
+
1086
+ interface PaymentMethodIssuer {
1044
1087
  readonly 'id': string;
1045
- readonly 'number': string;
1046
- readonly 'merchant_of_record'?: io.flow.common.v0.enums.OrderMerchantOfRecord;
1047
- readonly 'experience'?: io.flow.experience.v0.unions.ExpandableExperience;
1048
- readonly 'customer': io.flow.common.v0.models.OrderCustomer;
1049
- readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
1050
- readonly 'destination': io.flow.experience.v0.models.OrderAddress;
1051
- readonly 'expires_at': string;
1052
- readonly 'items': io.flow.experience.v0.models.LocalizedLineItem[];
1053
- readonly 'deliveries': io.flow.fulfillment.v0.unions.Delivery[];
1054
- readonly 'selections': string[];
1055
- readonly 'prices': io.flow.order.price.v0.models.OrderPriceDetail[];
1056
- readonly 'total': io.flow.catalog.v0.models.LocalizedTotal;
1057
- readonly 'attributes': Record<string, string>;
1058
- readonly 'submitted_at'?: string;
1059
- readonly 'lines'?: io.flow.experience.v0.models.Line[];
1060
- readonly 'identifiers'?: string[];
1061
- readonly 'promotions'?: io.flow.experience.v0.models.Promotions;
1062
- readonly 'payments'?: io.flow.experience.v0.models.OrderPayment[];
1063
- readonly 'balance'?: io.flow.catalog.v0.models.LocalizedTotal;
1064
- readonly 'rules'?: io.flow.experience.v0.models.OrderRulesSummary;
1065
- readonly 'tax_registration'?: io.flow.harmonization.v0.models.TaxRegistration;
1066
- readonly 'geo'?: io.flow.experience.v0.models.OrderGeo;
1088
+ readonly 'name': string;
1067
1089
  }
1068
1090
 
1069
- interface OrderAddress {
1070
- readonly 'text'?: string;
1071
- readonly 'streets'?: string[];
1072
- readonly 'city'?: string;
1073
- readonly 'province'?: string;
1074
- readonly 'postal'?: string;
1075
- readonly 'country'?: string;
1076
- readonly 'latitude'?: string;
1077
- readonly 'longitude'?: string;
1078
- readonly 'contact'?: io.flow.common.v0.models.Contact;
1091
+ interface PaymentMethodRule {
1092
+ readonly 'tags': io.flow.experience.v0.unions.PaymentMethodTag[];
1093
+ readonly 'payment_method': io.flow.reference.v0.models.PaymentMethod;
1094
+ readonly 'display_position': number;
1095
+ readonly 'content'?: io.flow.experience.v0.models.PaymentMethodRuleContent[];
1096
+ readonly 'issuers'?: io.flow.experience.v0.models.PaymentMethodIssuer[];
1097
+ readonly 'programs'?: any/*object*/[];
1098
+ readonly 'q'?: io.flow.query.builder.v0.models.Query;
1079
1099
  }
1080
1100
 
1081
- interface OrderBuilder {
1082
- readonly 'order'?: io.flow.experience.v0.models.Order;
1083
- readonly 'errors'?: io.flow.experience.v0.models.OrderError[];
1101
+ interface PaymentMethodRuleContent {
1102
+ readonly 'key': io.flow.experience.v0.enums.PaymentMethodRuleContentKey;
1103
+ readonly 'value': string;
1084
1104
  }
1085
1105
 
1086
- interface OrderBuilderAttributesForm {
1087
- readonly 'attributes': Record<string, string>;
1106
+ interface PricingSettings {
1107
+ readonly 'editable': boolean;
1108
+ readonly 'default_tax_display': io.flow.price.v0.enums.PricingLevySetting;
1109
+ readonly 'default_duty_display': io.flow.price.v0.enums.PricingLevySetting;
1088
1110
  }
1089
1111
 
1090
- interface OrderBuilderCustomerInvoiceAddressForm {
1091
- readonly 'address': io.flow.common.v0.models.BillingAddress;
1112
+ interface PromotionTrigger {
1113
+ readonly 'type': io.flow.experience.v0.enums.PromotionTriggerType;
1114
+ readonly 'min': io.flow.common.v0.models.Price;
1115
+ readonly 'remaining': io.flow.common.v0.models.Price;
1092
1116
  }
1093
1117
 
1094
- interface OrderBuilderDeliveredDutyForm {
1095
- readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
1118
+ interface PromotionTriggerForm {
1119
+ readonly 'type': io.flow.experience.v0.enums.PromotionTriggerType;
1120
+ readonly 'min'?: io.flow.common.v0.models.PriceForm;
1096
1121
  }
1097
1122
 
1098
- interface OrderBuilderDestinationCountryForm {
1099
- readonly 'country': string;
1123
+ interface Promotions {
1124
+ readonly 'applied': io.flow.experience.v0.unions.Promotion[];
1125
+ readonly 'available': io.flow.experience.v0.unions.Promotion[];
1100
1126
  }
1101
1127
 
1102
- interface OrderBuilderDestinationForm {
1103
- readonly 'destination': io.flow.experience.v0.models.OrderAddress;
1128
+ interface RegionReference {
1129
+ readonly 'id': string;
1104
1130
  }
1105
1131
 
1106
- interface OrderDestinationPutForm {
1107
- readonly 'destination': io.flow.experience.v0.models.OrderAddress;
1132
+ interface ValueThresholdExceededDetails {
1133
+ readonly 'local': io.flow.common.v0.models.Price;
1134
+ readonly 'original': io.flow.common.v0.models.Price;
1108
1135
  }
1136
+ }
1137
+
1138
+ declare namespace io.flow.experience.v0.unions {
1139
+ type AllocationComponent = (io.flow.experience.v0.models.AllocationDetailComponent | io.flow.experience.v0.models.AllocationLevyComponent);
1140
+ type AllocationDetail = (io.flow.experience.v0.models.AllocationLineDetail | io.flow.experience.v0.models.AllocationOrderDetail);
1141
+ type ExpandableExperience = (io.flow.experience.v0.models.Experience | io.flow.experience.v0.models.ExperienceReference);
1142
+ type ExpandableOrder = (io.flow.experience.v0.models.Order | io.flow.experience.v0.models.OrderReference);
1143
+ type OrderNumberGenerator = (io.flow.experience.v0.models.OrderNumberGeneratorUuid | io.flow.experience.v0.models.OrderNumberGeneratorHexadecimal | io.flow.experience.v0.models.OrderNumberGeneratorPrefixSuffix);
1144
+ type OrderPromotion = (io.flow.experience.v0.models.FreeShippingOrderPromotion);
1145
+ type OrderPromotionForm = (io.flow.experience.v0.models.FreeShippingOrderPromotionForm);
1146
+
1147
+ type PaymentMethodTag = ({
1148
+ discriminator: 'organization_payment_method_tag',
1149
+ value: io.flow.experience.v0.enums.OrganizationPaymentMethodTag
1150
+ } | {
1151
+ discriminator: 'experience_payment_method_tag',
1152
+ value: io.flow.experience.v0.enums.ExperiencePaymentMethodTag
1153
+ });
1154
+
1155
+ type Promotion = (io.flow.experience.v0.models.FreeShipping | io.flow.experience.v0.models.Discount);
1156
+ }
1157
+
1158
+ declare namespace io.flow.RESERVED_WORD_return.v0.enums {
1159
+ type ReturnStatus = 'open' | 'refunded';
1160
+ }
1109
1161
 
1110
- interface OrderError {
1111
- readonly 'code': io.flow.experience.v0.enums.OrderErrorCode;
1112
- readonly 'messages': string[];
1113
- readonly 'numbers'?: string[];
1114
- readonly 'destination_country'?: io.flow.reference.v0.models.Country;
1115
- readonly 'threshold'?: io.flow.experience.v0.models.ValueThresholdExceededDetails;
1162
+ declare namespace io.flow.RESERVED_WORD_return.v0.models {
1163
+ interface Return {
1164
+ readonly 'id': string;
1165
+ readonly 'key': string;
1166
+ readonly 'items': io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
1167
+ readonly 'labels': io.flow.label.v0.models.ShippingLabel[];
1116
1168
  }
1117
1169
 
1118
- interface OrderEstimate {
1119
- readonly 'id': string;
1120
- readonly 'items': io.flow.experience.v0.models.LocalizedLineItem[];
1121
- readonly 'destination': io.flow.experience.v0.models.OrderAddress;
1122
- readonly 'deliveries': io.flow.fulfillment.v0.unions.Delivery[];
1123
- readonly 'prices': io.flow.order.price.v0.models.OrderPriceDetail[];
1124
- readonly 'selections': string[];
1125
- readonly 'total': io.flow.catalog.v0.models.LocalizedTotal;
1126
- readonly 'lines'?: io.flow.experience.v0.models.Line[];
1127
- readonly 'promotions'?: io.flow.experience.v0.models.Promotions;
1170
+ interface ReturnForm {
1171
+ readonly 'items': io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
1172
+ readonly 'tier_id'?: string;
1173
+ readonly 'order_number'?: string;
1174
+ readonly 'service'?: string;
1175
+ readonly 'destination'?: io.flow.fulfillment.v0.models.ShippingAddress;
1176
+ readonly 'key'?: string;
1177
+ readonly 'origin'?: io.flow.fulfillment.v0.models.ShippingAddress;
1178
+ readonly 'center_key'?: string;
1128
1179
  }
1129
1180
 
1130
- interface OrderEstimateForm {
1131
- readonly 'items': io.flow.common.v0.models.LineItemForm[];
1132
- readonly 'destination'?: io.flow.experience.v0.models.OrderAddress;
1133
- readonly 'selections'?: string[];
1181
+ interface ReturnItemReference {
1182
+ readonly 'number': string;
1134
1183
  }
1135
1184
 
1136
- interface OrderForm {
1137
- readonly 'customer'?: io.flow.common.v0.models.OrderCustomerForm;
1138
- readonly 'items': io.flow.common.v0.models.LineItemForm[];
1139
- readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
1140
- readonly 'number'?: string;
1141
- readonly 'destination'?: io.flow.experience.v0.models.OrderAddress;
1142
- readonly 'discount'?: io.flow.common.v0.models.Money;
1143
- readonly 'discounts'?: io.flow.common.v0.models.DiscountsForm;
1144
- readonly 'attributes'?: Record<string, string>;
1145
- readonly 'authorization_keys'?: string[];
1146
- readonly 'options'?: io.flow.experience.v0.models.OrderOptions;
1185
+ interface ReturnLineItem {
1186
+ readonly 'item_number': string;
1187
+ readonly 'order_number'?: string;
1188
+ readonly 'quantity': number;
1189
+ readonly 'reason'?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
1190
+ readonly 'notes'?: string;
1147
1191
  }
1148
1192
 
1149
- interface OrderGeo {
1150
- readonly 'ip'?: string;
1151
- readonly 'country': string;
1152
- readonly 'currency'?: string;
1153
- readonly 'language'?: string;
1193
+ interface ReturnOrderReference {
1194
+ readonly 'number': string;
1154
1195
  }
1155
1196
 
1156
- interface OrderIdentifier {
1157
- readonly 'id': string;
1158
- readonly 'order': io.flow.experience.v0.models.OrderReference;
1197
+ interface ReturnReason {
1198
+ readonly 'key': string;
1159
1199
  readonly 'name': string;
1160
- readonly 'identifier': string;
1161
- readonly 'primary': boolean;
1162
- readonly 'number'?: string;
1163
1200
  }
1164
1201
 
1165
- interface OrderIdentifierForm {
1166
- readonly 'order': string;
1202
+ interface ReturnReasonForm {
1203
+ readonly 'key'?: string;
1167
1204
  readonly 'name'?: string;
1168
- readonly 'identifier'?: string;
1169
- readonly 'number'?: string;
1170
- readonly 'primary'?: boolean;
1171
1205
  }
1172
1206
 
1173
- interface OrderIdentifierPutForm {
1174
- readonly 'order': string;
1207
+ interface ReturnReasonPutForm {
1175
1208
  readonly 'name'?: string;
1176
- readonly 'primary'?: boolean;
1177
1209
  }
1178
1210
 
1179
- interface OrderIdentifierVersion {
1211
+ interface ReturnVersion {
1180
1212
  readonly 'id': string;
1181
1213
  readonly 'timestamp': string;
1182
1214
  readonly 'type': io.flow.common.v0.enums.ChangeType;
1183
- readonly 'order_identifier': io.flow.experience.v0.models.OrderIdentifier;
1184
- }
1185
-
1186
- interface OrderNumberGeneratorDefaults {
1187
- readonly 'starts_with': number;
1188
- readonly 'min_hex_length': number;
1189
- readonly 'min_starts_with': number;
1215
+ readonly 'return': io.flow.RESERVED_WORD_return.v0.models.Return;
1190
1216
  }
1217
+ }
1191
1218
 
1192
- interface OrderNumberGeneratorFixedLength {
1219
+ declare namespace io.flow.field.validation.v0.models {
1220
+ interface FieldValidationMax {
1221
+ readonly 'discriminator': 'max';
1193
1222
  readonly 'length': number;
1194
- readonly 'padding': string;
1195
1223
  }
1196
1224
 
1197
- interface OrderNumberGeneratorHexadecimal {
1198
- readonly 'discriminator': 'hexadecimal';
1225
+ interface FieldValidationMin {
1226
+ readonly 'discriminator': 'min';
1199
1227
  readonly 'length': number;
1200
1228
  }
1201
1229
 
1202
- interface OrderNumberGeneratorPrefixSuffix {
1203
- readonly 'discriminator': 'prefix_suffix';
1204
- readonly 'prefix'?: string;
1205
- readonly 'starts_with'?: number;
1206
- readonly 'suffix'?: string;
1207
- readonly 'fixed_length'?: io.flow.experience.v0.models.OrderNumberGeneratorFixedLength;
1208
- }
1209
-
1210
- interface OrderNumberGeneratorUuid {
1211
- readonly 'discriminator': 'uuid';
1212
- readonly 'prefix'?: string;
1230
+ interface FieldValidationPattern {
1231
+ readonly 'discriminator': 'pattern';
1232
+ readonly 'pattern': string;
1213
1233
  }
1214
1234
 
1215
- interface OrderNumberReference {
1216
- readonly 'number': string;
1235
+ interface FieldValidationRequired {
1236
+ readonly 'discriminator': 'required';
1237
+ readonly 'unused': string;
1217
1238
  }
1239
+ }
1218
1240
 
1219
- interface OrderOptions {
1220
- readonly 'storage': io.flow.experience.v0.enums.OrderStorage;
1221
- }
1241
+ declare namespace io.flow.field.validation.v0.unions {
1242
+ type FieldValidationRule = (io.flow.field.validation.v0.models.FieldValidationRequired | io.flow.field.validation.v0.models.FieldValidationMin | io.flow.field.validation.v0.models.FieldValidationMax | io.flow.field.validation.v0.models.FieldValidationPattern);
1243
+ }
1222
1244
 
1223
- interface OrderPayment {
1224
- readonly 'id': string;
1225
- readonly 'type': io.flow.experience.v0.enums.OrderPaymentType;
1226
- readonly 'merchant_of_record'?: io.flow.common.v0.enums.MerchantOfRecord;
1227
- readonly 'reference': string;
1228
- readonly 'description': string;
1229
- readonly 'total': io.flow.common.v0.models.PriceWithBase;
1230
- readonly 'address'?: io.flow.common.v0.models.BillingAddress;
1231
- readonly 'date'?: string;
1232
- readonly 'attributes'?: Record<string, string>;
1233
- }
1245
+ declare namespace io.flow.tracking.internal.v0.enums {
1246
+ type CrossdockTrackingStatus = 'notified' | 'received' | 'shipped';
1247
+ }
1234
1248
 
1235
- interface OrderPromotionTrigger {
1236
- readonly 'type': io.flow.experience.v0.enums.PromotionTriggerType;
1237
- readonly 'min'?: io.flow.common.v0.models.Price;
1249
+ declare namespace io.flow.tracking.internal.v0.models {
1250
+ interface Dhl {
1251
+ readonly 'discriminator': 'dhl';
1252
+ readonly 'export_account_number': string;
1253
+ readonly 'import_account_number': string;
1254
+ readonly 'password': string;
1255
+ readonly 'site_id': string;
1238
1256
  }
1239
1257
 
1240
- interface OrderPutForm {
1241
- readonly 'items': io.flow.common.v0.models.LineItemForm[];
1242
- readonly 'customer'?: io.flow.common.v0.models.OrderCustomerForm;
1243
- readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
1244
- readonly 'selections'?: string[];
1245
- readonly 'destination'?: io.flow.experience.v0.models.OrderAddress;
1246
- readonly 'discount'?: io.flow.common.v0.models.Money;
1247
- readonly 'discounts'?: io.flow.common.v0.models.DiscountsForm;
1248
- readonly 'attributes'?: Record<string, string>;
1249
- readonly 'authorization_keys'?: string[];
1250
- readonly 'options'?: io.flow.experience.v0.models.OrderOptions;
1258
+ interface DhlEcommerce {
1259
+ readonly 'discriminator': 'dhl_ecommerce';
1260
+ readonly 'username': string;
1261
+ readonly 'password': string;
1262
+ readonly 'client_id': string;
1263
+ readonly 'pickup_account_number': string;
1264
+ readonly 'distribution_center': string;
1265
+ readonly 'pickup_name': string;
1251
1266
  }
1252
1267
 
1253
- interface OrderReference {
1254
- readonly 'discriminator': 'order_reference';
1255
- readonly 'id': string;
1256
- readonly 'number': string;
1268
+ interface FedexCrossborder {
1269
+ readonly 'discriminator': 'fedex_crossborder';
1270
+ readonly 'api_key': string;
1271
+ readonly 'api_url': string;
1257
1272
  }
1258
1273
 
1259
- interface OrderRuleReference {
1260
- readonly 'id': string;
1261
- readonly 'key': string;
1274
+ interface Landmark {
1275
+ readonly 'discriminator': 'landmark';
1276
+ readonly 'username': string;
1277
+ readonly 'password': string;
1278
+ readonly 'client_id': string;
1279
+ readonly 'region': string;
1262
1280
  }
1263
1281
 
1264
- interface OrderRulesSummary {
1265
- readonly 'applied': io.flow.experience.v0.models.OrderRuleReference[];
1282
+ interface SfExpress {
1283
+ readonly 'discriminator': 'sf_express';
1284
+ readonly 'checkword': string;
1285
+ readonly 'customer_code': string;
1286
+ readonly 'product_code': string;
1287
+ readonly 'customer_id': string;
1266
1288
  }
1267
1289
 
1268
- interface OrderServiceChange {
1269
- readonly 'id': string;
1270
- readonly 'from': io.flow.reference.v0.models.CarrierService;
1271
- readonly 'to': io.flow.reference.v0.models.CarrierService;
1290
+ interface TrackingEvent {
1291
+ readonly 'timestamp': string;
1292
+ readonly 'carrier_status_code': string;
1293
+ readonly 'location'?: string;
1294
+ readonly 'description'?: string;
1272
1295
  }
1273
1296
 
1274
- interface OrderServiceChangeForm {
1275
- readonly 'from_service_id': string;
1276
- readonly 'to_service_id': string;
1297
+ interface TrackingRequest {
1298
+ readonly 'carrier': string;
1299
+ readonly 'carrier_tracking_number': string;
1300
+ readonly 'flow_tracking_number': string;
1301
+ readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
1277
1302
  }
1278
1303
 
1279
- interface OrderServiceChangeRequestData {
1280
- readonly 'id': string;
1281
- readonly 'source_url': string;
1282
- readonly 'filename'?: string;
1304
+ interface TrackingResponse {
1305
+ readonly 'carrier': string;
1306
+ readonly 'carrier_tracking_number': string;
1307
+ readonly 'flow_tracking_number': string;
1308
+ readonly 'tracking_events': io.flow.tracking.internal.v0.models.TrackingEvent[];
1283
1309
  }
1284
1310
 
1285
- interface OrderSubmissionForm {
1286
- readonly 'identifiers'?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
1311
+ interface Ups {
1312
+ readonly 'discriminator': 'ups';
1313
+ readonly 'username': string;
1314
+ readonly 'password': string;
1315
+ readonly 'access_license_number': string;
1287
1316
  }
1317
+ }
1288
1318
 
1289
- interface OrderSubmissionIdentifierForm {
1290
- readonly 'identifier': string;
1291
- readonly 'name'?: string;
1292
- readonly 'primary'?: boolean;
1293
- }
1319
+ declare namespace io.flow.tracking.internal.v0.unions {
1320
+ type CarrierCredentials = (io.flow.tracking.internal.v0.models.SfExpress | io.flow.tracking.internal.v0.models.DhlEcommerce | io.flow.tracking.internal.v0.models.Landmark | io.flow.tracking.internal.v0.models.Dhl | io.flow.tracking.internal.v0.models.FedexCrossborder | io.flow.tracking.internal.v0.models.Ups);
1321
+ }
1294
1322
 
1295
- interface OrderSummary {
1296
- readonly 'number': string;
1297
- readonly 'subtotal': io.flow.experience.v0.models.OrderSummaryPriceDetail;
1298
- readonly 'shipping'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1299
- readonly 'tax'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1300
- readonly 'duty'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1301
- readonly 'insurance'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1302
- readonly 'discount'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1303
- readonly 'surcharges'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1304
- readonly 'adjustment'?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1305
- readonly 'total': io.flow.experience.v0.models.OrderSummaryPriceDetail;
1306
- readonly 'lines': io.flow.experience.v0.models.OrderSummaryLineItem[];
1307
- readonly 'identifiers'?: Record<string, string>;
1323
+ declare namespace io.flow.item.v0.models {
1324
+ interface LocalItem {
1325
+ readonly 'id': string;
1326
+ readonly 'experience': io.flow.common.v0.models.ExperienceSummary;
1327
+ readonly 'center'?: io.flow.fulfillment.v0.models.CenterSummary;
1328
+ readonly 'item': io.flow.common.v0.models.CatalogItemReference;
1329
+ readonly 'pricing': io.flow.item.v0.models.LocalItemPricing;
1330
+ readonly 'status': io.flow.catalog.v0.enums.SubcatalogItemStatus;
1308
1331
  }
1309
1332
 
1310
- interface OrderSummaryImage {
1311
- readonly 'url': string;
1333
+ interface LocalItemPricing {
1334
+ readonly 'price': io.flow.catalog.v0.models.LocalizedItemPrice;
1335
+ readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
1336
+ readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
1337
+ readonly 'attributes': Record<string, io.flow.common.v0.models.PriceWithBase>;
1312
1338
  }
1339
+ }
1313
1340
 
1314
- interface OrderSummaryItem {
1315
- readonly 'number': string;
1316
- readonly 'name': string;
1317
- readonly 'description'?: string;
1318
- readonly 'attributes': io.flow.experience.v0.models.CheckoutItemContentAttribute[];
1319
- readonly 'image'?: io.flow.experience.v0.models.OrderSummaryImage;
1320
- readonly 'price': io.flow.common.v0.models.Price;
1321
- readonly 'discount'?: io.flow.common.v0.models.Price;
1322
- readonly 'tax'?: io.flow.experience.v0.models.OrderSummaryLevy;
1323
- readonly 'duty'?: io.flow.experience.v0.models.OrderSummaryLevy;
1324
- readonly 'price_attributes': Record<string, io.flow.common.v0.models.Price>;
1341
+ declare namespace io.flow.flexe.v0.enums {
1342
+ type FlexeAttachmentType = 'shipping_label' | 'packing_slip' | 'packing_slip_letter';
1343
+ type FlexeNotification = 'receipt' | 'shipment';
1344
+ type FlexeShipmentType = 'fulfillment_order' | 'retail_fulfillment_order' | 'carton_pick_delivery' | 'delivery' | 'container_delivery';
1345
+ type FlexeStatus = 'in_transit' | 'completed';
1346
+ }
1347
+
1348
+ declare namespace io.flow.flexe.v0.models {
1349
+ interface BillOfLading {
1350
+ readonly 'type': string;
1351
+ readonly 'gs1us'?: io.flow.flexe.v0.models.Gs1Us;
1325
1352
  }
1326
1353
 
1327
- interface OrderSummaryLevy {
1328
- readonly 'rate': number;
1329
- readonly 'rate_label'?: string;
1330
- readonly 'value': io.flow.common.v0.models.Price;
1354
+ interface BillTo {
1355
+ readonly 'name': string;
1356
+ readonly 'address_1': string;
1357
+ readonly 'locality': string;
1358
+ readonly 'region': string;
1359
+ readonly 'postal_code': string;
1360
+ readonly 'country': string;
1361
+ readonly 'address_2'?: string;
1362
+ readonly 'address_3'?: string;
1331
1363
  }
1332
1364
 
1333
- interface OrderSummaryLineItem {
1334
- readonly 'item': io.flow.experience.v0.models.OrderSummaryItem;
1335
- readonly 'quantity': number;
1336
- readonly 'discount'?: io.flow.common.v0.models.Price;
1337
- readonly 'tax'?: io.flow.experience.v0.models.OrderSummaryLevy;
1338
- readonly 'duty'?: io.flow.experience.v0.models.OrderSummaryLevy;
1339
- readonly 'total': io.flow.common.v0.models.Price;
1340
- readonly 'price_attributes': Record<string, io.flow.common.v0.models.Price>;
1365
+ interface CartonPickDeliveryDetails {
1366
+ readonly 'shipment_uuid'?: string;
1367
+ readonly 'carrier'?: string;
1368
+ readonly 'carrier_id'?: string;
1341
1369
  }
1342
1370
 
1343
- interface OrderSummaryPriceDetail {
1344
- readonly 'price': io.flow.common.v0.models.Price;
1345
- readonly 'name'?: string;
1346
- readonly 'rate'?: number;
1347
- readonly 'rate_label'?: string;
1371
+ interface ContainerDeliveryDetails {
1372
+ readonly 'purchase_order': string;
1373
+ readonly 'container_number'?: string;
1374
+ readonly 'seal_number'?: string;
1375
+ readonly 'vendor'?: string;
1376
+ readonly 'expected_inventory': io.flow.flexe.v0.models.InventoryDetails[];
1377
+ readonly 'received_inventory': io.flow.flexe.v0.models.InventoryDetails[];
1378
+ readonly 'damaged_inventory': io.flow.flexe.v0.models.InventoryDetails[];
1379
+ readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1348
1380
  }
1349
1381
 
1350
- interface OrderVersion {
1351
- readonly 'id': string;
1352
- readonly 'timestamp': string;
1353
- readonly 'type': io.flow.common.v0.enums.ChangeType;
1354
- readonly 'order': io.flow.experience.v0.models.Order;
1382
+ interface DeliveryDetails {
1383
+ readonly 'shipment_uuid'?: string;
1384
+ readonly 'trailer_number'?: string;
1385
+ readonly 'pallets': io.flow.flexe.v0.models.Pallet[];
1386
+ readonly 'quantities_by_inventory': Record<string, io.flow.flexe.v0.models.QuantityByInventory>;
1355
1387
  }
1356
1388
 
1357
- interface OrderWithDiscountsForm {
1358
- readonly 'order': io.flow.experience.v0.models.OrderForm;
1359
- readonly 'discounts': string[];
1389
+ interface Error {
1390
+ readonly 'url': string;
1391
+ readonly 'client_request_id': string;
1392
+ readonly 'generated_at': string;
1393
+ readonly 'error': string;
1360
1394
  }
1361
1395
 
1362
- interface OriginalPrices {
1363
- readonly 'value': io.flow.common.v0.models.Price;
1364
- readonly 'max': io.flow.common.v0.models.Price;
1396
+ interface FlexeAttachment {
1397
+ readonly 'type': io.flow.flexe.v0.enums.FlexeAttachmentType;
1398
+ readonly 'display_name': string;
1399
+ readonly 'url': string;
1365
1400
  }
1366
1401
 
1367
- interface PaymentMethodIssuer {
1368
- readonly 'id': string;
1369
- readonly 'name': string;
1402
+ interface FlexeEcommerceFulfillment {
1403
+ readonly 'url': string;
1404
+ readonly 'client_request_id': string;
1405
+ readonly 'generated_at': string;
1406
+ readonly 'data': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
1407
+ readonly 'errors': io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
1370
1408
  }
1371
1409
 
1372
- interface PaymentMethodRule {
1373
- readonly 'tags': io.flow.experience.v0.unions.PaymentMethodTag[];
1374
- readonly 'payment_method': io.flow.reference.v0.models.PaymentMethod;
1375
- readonly 'display_position': number;
1376
- readonly 'content'?: io.flow.experience.v0.models.PaymentMethodRuleContent[];
1377
- readonly 'issuers'?: io.flow.experience.v0.models.PaymentMethodIssuer[];
1378
- readonly 'programs'?: any/*object*/[];
1379
- readonly 'q'?: io.flow.query.builder.v0.models.Query;
1410
+ interface FlexeEcommerceFulfillmentData {
1411
+ readonly 'import_id': string;
1412
+ readonly 'succeeded_uuids': string[];
1413
+ readonly 'failed_uuids': string[];
1414
+ readonly 'errors': string[];
1380
1415
  }
1381
1416
 
1382
- interface PaymentMethodRuleContent {
1383
- readonly 'key': io.flow.experience.v0.enums.PaymentMethodRuleContentKey;
1384
- readonly 'value': string;
1417
+ interface FlexeEcommerceFulfillmentErrors {
1418
+ readonly 'status': string;
1419
+ readonly 'title': string;
1420
+ readonly 'detail': string;
1421
+ readonly 'source'?: string;
1385
1422
  }
1386
1423
 
1387
- interface PricingSettings {
1388
- readonly 'editable': boolean;
1389
- readonly 'default_tax_display': io.flow.price.v0.enums.PricingLevySetting;
1390
- readonly 'default_duty_display': io.flow.price.v0.enums.PricingLevySetting;
1424
+ interface FlexeEcommerceFulfillmentForm {
1425
+ readonly 'reservation_id': number;
1426
+ readonly 'client_request_id': string;
1427
+ readonly 'request': io.flow.flexe.v0.models.Orders;
1391
1428
  }
1392
1429
 
1393
- interface PromotionTrigger {
1394
- readonly 'type': io.flow.experience.v0.enums.PromotionTriggerType;
1395
- readonly 'min': io.flow.common.v0.models.Price;
1396
- readonly 'remaining': io.flow.common.v0.models.Price;
1430
+ interface FlexeInventoryData {
1431
+ readonly 'sku': string;
1432
+ readonly 'quantity': string;
1433
+ readonly 'unit': string;
1397
1434
  }
1398
1435
 
1399
- interface PromotionTriggerForm {
1400
- readonly 'type': io.flow.experience.v0.enums.PromotionTriggerType;
1401
- readonly 'min'?: io.flow.common.v0.models.PriceForm;
1436
+ interface FlexeRetailAttachment {
1437
+ readonly 'display_name': string;
1438
+ readonly 'url': string;
1402
1439
  }
1403
1440
 
1404
- interface Promotions {
1405
- readonly 'applied': io.flow.experience.v0.unions.Promotion[];
1406
- readonly 'available': io.flow.experience.v0.unions.Promotion[];
1441
+ interface FlexeRetailFulfillment {
1442
+ readonly 'url': string;
1443
+ readonly 'client_request_id': string;
1444
+ readonly 'generated_at': string;
1445
+ readonly 'data': io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
1446
+ readonly 'errors'?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
1407
1447
  }
1408
1448
 
1409
- interface RegionReference {
1449
+ interface FlexeRetailFulfillmentData {
1410
1450
  readonly 'id': string;
1451
+ readonly 'purchase_order_uuid': string;
1452
+ readonly 'status': string;
1411
1453
  }
1412
1454
 
1413
- interface ValueThresholdExceededDetails {
1414
- readonly 'local': io.flow.common.v0.models.Price;
1415
- readonly 'original': io.flow.common.v0.models.Price;
1455
+ interface FlexeRetailFulfillmentErrors {
1456
+ readonly 'type': string;
1457
+ readonly 'message': string;
1416
1458
  }
1417
- }
1418
-
1419
- declare namespace io.flow.experience.v0.unions {
1420
- type AllocationComponent = (io.flow.experience.v0.models.AllocationDetailComponent | io.flow.experience.v0.models.AllocationLevyComponent);
1421
- type AllocationDetail = (io.flow.experience.v0.models.AllocationLineDetail | io.flow.experience.v0.models.AllocationOrderDetail);
1422
- type ExpandableExperience = (io.flow.experience.v0.models.Experience | io.flow.experience.v0.models.ExperienceReference);
1423
- type ExpandableOrder = (io.flow.experience.v0.models.Order | io.flow.experience.v0.models.OrderReference);
1424
- type OrderNumberGenerator = (io.flow.experience.v0.models.OrderNumberGeneratorUuid | io.flow.experience.v0.models.OrderNumberGeneratorHexadecimal | io.flow.experience.v0.models.OrderNumberGeneratorPrefixSuffix);
1425
- type OrderPromotion = (io.flow.experience.v0.models.FreeShippingOrderPromotion);
1426
- type OrderPromotionForm = (io.flow.experience.v0.models.FreeShippingOrderPromotionForm);
1427
-
1428
- type PaymentMethodTag = ({
1429
- discriminator: 'organization_payment_method_tag',
1430
- value: io.flow.experience.v0.enums.OrganizationPaymentMethodTag
1431
- } | {
1432
- discriminator: 'experience_payment_method_tag',
1433
- value: io.flow.experience.v0.enums.ExperiencePaymentMethodTag
1434
- });
1435
1459
 
1436
- type Promotion = (io.flow.experience.v0.models.FreeShipping | io.flow.experience.v0.models.Discount);
1437
- }
1460
+ interface FlexeRetailFulfillmentForm {
1461
+ readonly 'reservation_id': number;
1462
+ readonly 'client_request_id'?: string;
1463
+ readonly 'request': io.flow.flexe.v0.models.RetailOrder;
1464
+ }
1438
1465
 
1439
- declare namespace io.flow.RESERVED_WORD_return.v0.enums {
1440
- type ReturnStatus = 'open' | 'refunded';
1441
- }
1466
+ interface FulfillmentOrderDetails {
1467
+ readonly 'shipment_uuid': string;
1468
+ readonly 'carrier'?: string;
1469
+ readonly 'carrier_id'?: string;
1470
+ }
1442
1471
 
1443
- declare namespace io.flow.RESERVED_WORD_return.v0.models {
1444
- interface Return {
1445
- readonly 'id': string;
1446
- readonly 'key': string;
1447
- readonly 'items': io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
1448
- readonly 'labels': io.flow.label.v0.models.ShippingLabel[];
1472
+ interface Gs1Us {
1473
+ readonly 'number': string;
1474
+ readonly 'ship_to'?: io.flow.flexe.v0.models.Gs1UsShipTo;
1475
+ readonly 'bill_to'?: io.flow.flexe.v0.models.BillTo;
1449
1476
  }
1450
1477
 
1451
- interface ReturnForm {
1452
- readonly 'items': io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
1453
- readonly 'tier_id'?: string;
1454
- readonly 'order_number'?: string;
1455
- readonly 'service'?: string;
1456
- readonly 'destination'?: io.flow.fulfillment.v0.models.ShippingAddress;
1457
- readonly 'key'?: string;
1458
- readonly 'origin'?: io.flow.fulfillment.v0.models.ShippingAddress;
1459
- readonly 'center_key'?: string;
1478
+ interface Gs1UsShipTo {
1479
+ readonly 'cid_number'?: string;
1480
+ readonly 'location_number'?: string;
1481
+ readonly 'free_on_board'?: boolean;
1460
1482
  }
1461
1483
 
1462
- interface ReturnItemReference {
1463
- readonly 'number': string;
1484
+ interface Inventory {
1485
+ readonly 'url': string;
1486
+ readonly 'client_request_id': string;
1487
+ readonly 'generated_at': string;
1488
+ readonly 'data': Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1464
1489
  }
1465
1490
 
1466
- interface ReturnLineItem {
1467
- readonly 'item_number': string;
1468
- readonly 'order_number'?: string;
1469
- readonly 'quantity': number;
1470
- readonly 'reason'?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
1471
- readonly 'notes'?: string;
1491
+ interface InventoryCount {
1492
+ readonly 'amount': number;
1493
+ readonly 'unit': string;
1472
1494
  }
1473
1495
 
1474
- interface ReturnOrderReference {
1475
- readonly 'number': string;
1496
+ interface InventoryData {
1497
+ readonly 'pallet': io.flow.flexe.v0.models.InventoryCount;
1498
+ readonly 'carton'?: io.flow.flexe.v0.models.InventoryCount;
1499
+ readonly 'each'?: io.flow.flexe.v0.models.InventoryCount;
1476
1500
  }
1477
1501
 
1478
- interface ReturnReason {
1479
- readonly 'key': string;
1480
- readonly 'name': string;
1502
+ interface InventoryDetails {
1503
+ readonly 'key': Record<string, io.flow.flexe.v0.models.Sku>;
1481
1504
  }
1482
1505
 
1483
- interface ReturnReasonForm {
1484
- readonly 'key'?: string;
1485
- readonly 'name'?: string;
1506
+ interface LadingQuantity {
1507
+ readonly 'num_pallets': number;
1486
1508
  }
1487
1509
 
1488
- interface ReturnReasonPutForm {
1489
- readonly 'name'?: string;
1510
+ interface Order {
1511
+ readonly 'shipment_uuid': string;
1512
+ readonly 'purchase_order': string;
1513
+ readonly 'carrier': string;
1514
+ readonly 'service_type': string;
1515
+ readonly 'carrier_assigned_id': string;
1516
+ readonly 'name': string;
1517
+ readonly 'address_1': string;
1518
+ readonly 'address_2'?: string;
1519
+ readonly 'address_3'?: string;
1520
+ readonly 'city': string;
1521
+ readonly 'state': string;
1522
+ readonly 'postal_code': string;
1523
+ readonly 'phone'?: string;
1524
+ readonly 'instructions'?: string;
1525
+ readonly 'inventory_data': io.flow.flexe.v0.models.FlexeInventoryData[];
1526
+ readonly 'attachments': io.flow.flexe.v0.models.FlexeAttachment[];
1490
1527
  }
1491
1528
 
1492
- interface ReturnVersion {
1493
- readonly 'id': string;
1494
- readonly 'timestamp': string;
1495
- readonly 'type': io.flow.common.v0.enums.ChangeType;
1496
- readonly 'return': io.flow.RESERVED_WORD_return.v0.models.Return;
1529
+ interface Orders {
1530
+ readonly 'orders': io.flow.flexe.v0.models.Order[];
1497
1531
  }
1498
- }
1499
1532
 
1500
- declare namespace io.flow.field.validation.v0.models {
1501
- interface FieldValidationMax {
1502
- readonly 'discriminator': 'max';
1503
- readonly 'length': number;
1533
+ interface Pallet {
1534
+ readonly 'pallet_id': string;
1535
+ readonly 'sku': string;
1536
+ readonly 'quantity': number;
1537
+ readonly 'packaging': string;
1504
1538
  }
1505
1539
 
1506
- interface FieldValidationMin {
1507
- readonly 'discriminator': 'min';
1508
- readonly 'length': number;
1540
+ interface PurchaseOrder {
1541
+ readonly 'retail_fulfillment_order_id': string;
1542
+ readonly 'bill_of_lading_number': string;
1543
+ readonly 'purchase_order_uuid': string;
1544
+ readonly 'pickup_window_start': string;
1545
+ readonly 'pickup_window_end': string;
1546
+ readonly 'tags': string[];
1509
1547
  }
1510
1548
 
1511
- interface FieldValidationPattern {
1512
- readonly 'discriminator': 'pattern';
1513
- readonly 'pattern': string;
1549
+ interface QuantityByInventory {
1550
+ readonly 'received': io.flow.flexe.v0.models.InventoryData;
1551
+ readonly 'expected'?: io.flow.flexe.v0.models.InventoryData;
1552
+ readonly 'damaged'?: io.flow.flexe.v0.models.InventoryData;
1514
1553
  }
1515
1554
 
1516
- interface FieldValidationRequired {
1517
- readonly 'discriminator': 'required';
1518
- readonly 'unused': string;
1555
+ interface ReceiptNotification {
1556
+ readonly 'shipment_id': string;
1557
+ readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
1558
+ readonly 'reservation_id': string;
1559
+ readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
1560
+ readonly 'delivery_details'?: io.flow.flexe.v0.models.DeliveryDetails;
1561
+ readonly 'container_delivery_details'?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
1519
1562
  }
1520
- }
1521
-
1522
- declare namespace io.flow.field.validation.v0.unions {
1523
- type FieldValidationRule = (io.flow.field.validation.v0.models.FieldValidationRequired | io.flow.field.validation.v0.models.FieldValidationMin | io.flow.field.validation.v0.models.FieldValidationMax | io.flow.field.validation.v0.models.FieldValidationPattern);
1524
- }
1525
1563
 
1526
- declare namespace io.flow.tracking.internal.v0.enums {
1527
- type CrossdockTrackingStatus = 'notified' | 'received' | 'shipped';
1528
- }
1564
+ interface RetailFulfillmentOrderDetails {
1565
+ readonly 'master_bill_of_lading_number': string;
1566
+ readonly 'scac': string;
1567
+ readonly 'pro_number': string;
1568
+ readonly 'purchase_orders': io.flow.flexe.v0.models.PurchaseOrder[];
1569
+ readonly 'lading_quantity': io.flow.flexe.v0.models.LadingQuantity;
1570
+ }
1529
1571
 
1530
- declare namespace io.flow.tracking.internal.v0.models {
1531
- interface Dhl {
1532
- readonly 'discriminator': 'dhl';
1533
- readonly 'export_account_number': string;
1534
- readonly 'import_account_number': string;
1535
- readonly 'password': string;
1536
- readonly 'site_id': string;
1572
+ interface RetailInventoryData {
1573
+ readonly 'sku': string;
1574
+ readonly 'quantity': number;
1575
+ readonly 'unit': string;
1576
+ readonly 'attachments'?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
1537
1577
  }
1538
1578
 
1539
- interface DhlEcommerce {
1540
- readonly 'discriminator': 'dhl_ecommerce';
1541
- readonly 'username': string;
1542
- readonly 'password': string;
1543
- readonly 'client_id': string;
1544
- readonly 'pickup_account_number': string;
1545
- readonly 'distribution_center': string;
1546
- readonly 'pickup_name': string;
1579
+ interface RetailOrder {
1580
+ readonly 'order': io.flow.flexe.v0.models.RetailOrderData;
1547
1581
  }
1548
1582
 
1549
- interface FedexCrossborder {
1550
- readonly 'discriminator': 'fedex_crossborder';
1551
- readonly 'api_key': string;
1552
- readonly 'api_url': string;
1583
+ interface RetailOrderData {
1584
+ readonly 'purchase_order_uuid': string;
1585
+ readonly 'bill_of_lading': io.flow.flexe.v0.models.BillOfLading;
1586
+ readonly 'inventory_data': io.flow.flexe.v0.models.RetailInventoryData[];
1587
+ readonly 'ship_within': io.flow.flexe.v0.models.ShipWithin;
1588
+ readonly 'ship_to': io.flow.flexe.v0.models.ShipTo;
1589
+ readonly 'build_by'?: string;
1590
+ readonly 'instrunctions'?: string;
1591
+ readonly 'routing_details_id'?: string;
1592
+ readonly 'destination_type'?: string;
1553
1593
  }
1554
1594
 
1555
- interface Landmark {
1556
- readonly 'discriminator': 'landmark';
1557
- readonly 'username': string;
1558
- readonly 'password': string;
1559
- readonly 'client_id': string;
1595
+ interface ShipTo {
1596
+ readonly 'name': string;
1597
+ readonly 'address_1': string;
1598
+ readonly 'locality': string;
1560
1599
  readonly 'region': string;
1600
+ readonly 'postal_code': string;
1601
+ readonly 'country': string;
1602
+ readonly 'address_2'?: string;
1603
+ readonly 'address_3'?: string;
1561
1604
  }
1562
1605
 
1563
- interface SfExpress {
1564
- readonly 'discriminator': 'sf_express';
1565
- readonly 'checkword': string;
1566
- readonly 'customer_code': string;
1567
- readonly 'product_code': string;
1568
- readonly 'customer_id': string;
1606
+ interface ShipWithin {
1607
+ readonly 'start': string;
1608
+ readonly 'end': string;
1569
1609
  }
1570
1610
 
1571
- interface TrackingEvent {
1572
- readonly 'timestamp': string;
1573
- readonly 'carrier_status_code': string;
1574
- readonly 'location'?: string;
1575
- readonly 'description'?: string;
1611
+ interface ShipmentDeliveryDetails {
1612
+ readonly 'shipment_uuid'?: string;
1576
1613
  }
1577
1614
 
1578
- interface TrackingRequest {
1579
- readonly 'carrier': string;
1580
- readonly 'carrier_tracking_number': string;
1581
- readonly 'flow_tracking_number': string;
1582
- readonly 'credentials': io.flow.tracking.internal.v0.unions.CarrierCredentials;
1615
+ interface ShipmentNotification {
1616
+ readonly 'shipment_id': string;
1617
+ readonly 'shipment_type': io.flow.flexe.v0.enums.FlexeShipmentType;
1618
+ readonly 'reservation_id': string;
1619
+ readonly 'status': io.flow.flexe.v0.enums.FlexeStatus;
1620
+ readonly 'fulfillment_order_details'?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
1621
+ readonly 'retail_fulfillment_order_details'?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
1622
+ readonly 'delivery_details'?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
1623
+ readonly 'carton_pick_delivery_details'?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
1583
1624
  }
1584
1625
 
1585
- interface TrackingResponse {
1586
- readonly 'carrier': string;
1587
- readonly 'carrier_tracking_number': string;
1588
- readonly 'flow_tracking_number': string;
1589
- readonly 'tracking_events': io.flow.tracking.internal.v0.models.TrackingEvent[];
1626
+ interface Sku {
1627
+ readonly 'sku': string;
1628
+ readonly 'description': string;
1629
+ readonly 'summary': Record<string, io.flow.flexe.v0.models.SkuSummary>;
1590
1630
  }
1591
1631
 
1592
- interface Ups {
1593
- readonly 'discriminator': 'ups';
1594
- readonly 'username': string;
1595
- readonly 'password': string;
1596
- readonly 'access_license_number': string;
1632
+ interface SkuSummary {
1633
+ readonly 'key': string;
1634
+ readonly 'quantity': number;
1635
+ readonly 'unit': string;
1597
1636
  }
1598
1637
  }
1599
1638
 
1600
- declare namespace io.flow.tracking.internal.v0.unions {
1601
- type CarrierCredentials = (io.flow.tracking.internal.v0.models.SfExpress | io.flow.tracking.internal.v0.models.DhlEcommerce | io.flow.tracking.internal.v0.models.Landmark | io.flow.tracking.internal.v0.models.Dhl | io.flow.tracking.internal.v0.models.FedexCrossborder | io.flow.tracking.internal.v0.models.Ups);
1639
+ declare namespace io.flow.harmonization.internal.event.v0.enums {
1640
+ type SuggestionAction = 'accept' | 'validate' | 'review';
1602
1641
  }
1603
1642
 
1604
- declare namespace io.flow.item.v0.models {
1605
- interface LocalItem {
1606
- readonly 'id': string;
1607
- readonly 'experience': io.flow.common.v0.models.ExperienceSummary;
1608
- readonly 'center'?: io.flow.fulfillment.v0.models.CenterSummary;
1609
- readonly 'item': io.flow.common.v0.models.CatalogItemReference;
1610
- readonly 'pricing': io.flow.item.v0.models.LocalItemPricing;
1611
- readonly 'status': io.flow.catalog.v0.enums.SubcatalogItemStatus;
1612
- }
1613
-
1614
- interface LocalItemPricing {
1615
- readonly 'price': io.flow.catalog.v0.models.LocalizedItemPrice;
1616
- readonly 'vat'?: io.flow.catalog.v0.models.LocalizedItemVat;
1617
- readonly 'duty'?: io.flow.catalog.v0.models.LocalizedItemDuty;
1618
- readonly 'attributes': Record<string, io.flow.common.v0.models.PriceWithBase>;
1643
+ declare namespace io.flow.harmonization.internal.event.v0.models {
1644
+ interface AllItemsExport {
1645
+ readonly 'discriminator': 'all_items_export';
1646
+ readonly 'event_id': string;
1647
+ readonly 'timestamp': string;
1648
+ readonly 'organization': string;
1649
+ readonly 'export_id': string;
1619
1650
  }
1620
- }
1621
-
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';
1627
- }
1628
1651
 
1629
- declare namespace io.flow.flexe.v0.models {
1630
- interface BillOfLading {
1631
- readonly 'type': string;
1632
- readonly 'gs1us'?: io.flow.flexe.v0.models.Gs1Us;
1652
+ interface BatchRateRefillRequest {
1653
+ readonly 'discriminator': 'batch_rate_refill_request';
1654
+ readonly 'requests': io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
1633
1655
  }
1634
1656
 
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;
1657
+ interface BlacklistedItemCreated {
1658
+ readonly 'discriminator': 'blacklisted_item_created';
1659
+ readonly 'event_id': string;
1660
+ readonly 'timestamp': string;
1661
+ readonly 'organization': string;
1662
+ readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1644
1663
  }
1645
1664
 
1646
- interface CartonPickDeliveryDetails {
1647
- readonly 'shipment_uuid'?: string;
1648
- readonly 'carrier'?: string;
1649
- readonly 'carrier_id'?: string;
1665
+ interface BlacklistedItemDeleted {
1666
+ readonly 'discriminator': 'blacklisted_item_deleted';
1667
+ readonly 'event_id': string;
1668
+ readonly 'timestamp': string;
1669
+ readonly 'organization': string;
1670
+ readonly 'id': string;
1650
1671
  }
1651
1672
 
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>;
1673
+ interface BlacklistedItemUpdated {
1674
+ readonly 'discriminator': 'blacklisted_item_updated';
1675
+ readonly 'event_id': string;
1676
+ readonly 'timestamp': string;
1677
+ readonly 'organization': string;
1678
+ readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1661
1679
  }
1662
1680
 
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>;
1681
+ interface CustomsDescriptionImport {
1682
+ readonly 'discriminator': 'customs_description_import';
1683
+ readonly 'event_id': string;
1684
+ readonly 'timestamp': string;
1685
+ readonly 'organization': string;
1686
+ readonly 'import_id': string;
1687
+ readonly 'source_url': string;
1688
+ readonly 'filename'?: string;
1668
1689
  }
1669
1690
 
1670
- interface Error {
1671
- readonly 'url': string;
1672
- readonly 'client_request_id': string;
1673
- readonly 'generated_at': string;
1674
- readonly 'error': string;
1691
+ interface CustomsDescriptionSugestion {
1692
+ readonly 'value': number;
1693
+ readonly 'customs_description': string;
1694
+ readonly 'action'?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1675
1695
  }
1676
1696
 
1677
- interface FlexeAttachment {
1678
- readonly 'type': io.flow.flexe.v0.enums.FlexeAttachmentType;
1679
- readonly 'display_name': string;
1680
- readonly 'url': string;
1697
+ interface CustomsDescriptionSugestionCreated {
1698
+ readonly 'discriminator': 'customs_description_sugestion_created';
1699
+ readonly 'event_id': string;
1700
+ readonly 'timestamp': string;
1701
+ readonly 'organization': string;
1702
+ readonly 'item_id': string;
1703
+ readonly 'suggestions': io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestion[];
1704
+ readonly 'model_id': string;
1681
1705
  }
1682
1706
 
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[];
1707
+ interface CustomsDescriptionTariffsImport {
1708
+ readonly 'discriminator': 'customs_description_tariffs_import';
1709
+ readonly 'event_id': string;
1710
+ readonly 'timestamp': string;
1711
+ readonly 'organization': string;
1712
+ readonly 'import_id': string;
1713
+ readonly 'source_url': string;
1714
+ readonly 'filename'?: string;
1689
1715
  }
1690
1716
 
1691
- interface FlexeEcommerceFulfillmentData {
1692
- readonly 'import_id': string;
1693
- readonly 'succeeded_uuids': string[];
1694
- readonly 'failed_uuids': string[];
1695
- readonly 'errors': string[];
1717
+ interface DutiedItemsExport {
1718
+ readonly 'discriminator': 'dutied_items_export';
1719
+ readonly 'event_id': string;
1720
+ readonly 'timestamp': string;
1721
+ readonly 'organization': string;
1722
+ readonly 'export_id': string;
1723
+ readonly 'origin'?: string;
1724
+ readonly 'destination': string;
1725
+ readonly 'item_numbers'?: string[];
1696
1726
  }
1697
1727
 
1698
- interface FlexeEcommerceFulfillmentErrors {
1699
- readonly 'status': string;
1700
- readonly 'title': string;
1701
- readonly 'detail': string;
1702
- readonly 'source'?: string;
1728
+ interface HarmonizationCodesImport {
1729
+ readonly 'discriminator': 'harmonization_codes_import';
1730
+ readonly 'event_id': string;
1731
+ readonly 'timestamp': string;
1732
+ readonly 'organization': string;
1733
+ readonly 'import_id': string;
1734
+ readonly 'source_url': string;
1735
+ readonly 'filename'?: string;
1703
1736
  }
1704
1737
 
1705
- interface FlexeEcommerceFulfillmentForm {
1706
- readonly 'reservation_id': number;
1707
- readonly 'client_request_id': string;
1708
- readonly 'request': io.flow.flexe.v0.models.Orders;
1738
+ interface HarmonizationPhraseSuggestionRequestImport {
1739
+ readonly 'discriminator': 'harmonization_phrase_suggestion_request_import';
1740
+ readonly 'event_id': string;
1741
+ readonly 'timestamp': string;
1742
+ readonly 'organization': string;
1743
+ readonly 'import_id': string;
1744
+ readonly 'source_url': string;
1745
+ readonly 'filename'?: string;
1709
1746
  }
1710
1747
 
1711
- interface FlexeInventoryData {
1712
- readonly 'sku': string;
1713
- readonly 'quantity': string;
1714
- readonly 'unit': string;
1748
+ interface HarmonizeFullyRequest {
1749
+ readonly 'discriminator': 'harmonize_fully_request';
1750
+ readonly 'event_id': string;
1751
+ readonly 'timestamp': string;
1752
+ readonly 'item_id': string;
1715
1753
  }
1716
1754
 
1717
- interface FlexeRetailAttachment {
1718
- readonly 'display_name': string;
1719
- readonly 'url': string;
1755
+ interface HarmonizeFullyWithRate {
1756
+ readonly 'discriminator': 'harmonize_fully_with_rate';
1757
+ readonly 'event_id': string;
1758
+ readonly 'timestamp': string;
1759
+ readonly 'duty_rate': io.flow.duty.internal.v0.models.DutyRate;
1720
1760
  }
1721
1761
 
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[];
1762
+ interface HarmonizedItemsHs6Export {
1763
+ readonly 'discriminator': 'harmonized_items_hs6_export';
1764
+ readonly 'event_id': string;
1765
+ readonly 'timestamp': string;
1766
+ readonly 'organization': string;
1767
+ readonly 'export_id': string;
1728
1768
  }
1729
1769
 
1730
- interface FlexeRetailFulfillmentData {
1731
- readonly 'id': string;
1732
- readonly 'purchase_order_uuid': string;
1733
- readonly 'status': string;
1770
+ interface ItemClassificationCreated {
1771
+ readonly 'discriminator': 'item_classification_created';
1772
+ readonly 'event_id': string;
1773
+ readonly 'timestamp': string;
1774
+ readonly 'organization': string;
1775
+ readonly 'item_number': string;
1776
+ readonly 'model_id': string;
1777
+ readonly 'labels_prediction': io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
1778
+ readonly 'action': io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1734
1779
  }
1735
1780
 
1736
- interface FlexeRetailFulfillmentErrors {
1737
- readonly 'type': string;
1738
- readonly 'message': string;
1781
+ interface ItemHarmonized {
1782
+ readonly 'discriminator': 'item_harmonized';
1783
+ readonly 'event_id': string;
1784
+ readonly 'timestamp': string;
1785
+ readonly 'organization': string;
1786
+ readonly 'item_number': string;
1787
+ readonly 'product_id': string;
1788
+ readonly 'customs_description': string;
1789
+ readonly 'countries_of_origin': string[];
1790
+ readonly 'hs_6': string;
1791
+ readonly 'tariffs': Record<string, io.flow.harmonization.internal.v0.models.TariffCodeDuty>;
1739
1792
  }
1740
1793
 
1741
- interface FlexeRetailFulfillmentForm {
1742
- readonly 'reservation_id': number;
1743
- readonly 'client_request_id'?: string;
1744
- readonly 'request': io.flow.flexe.v0.models.RetailOrder;
1794
+ interface LabelsPrediction {
1795
+ readonly 'main_material': Record<string, number>;
1796
+ readonly 'gender': Record<string, number>;
1797
+ readonly 'construction': Record<string, number>;
1798
+ readonly 'product_type': Record<string, number>;
1745
1799
  }
1746
1800
 
1747
- interface FulfillmentOrderDetails {
1748
- readonly 'shipment_uuid': string;
1749
- readonly 'carrier'?: string;
1750
- readonly 'carrier_id'?: string;
1801
+ interface LandedCostExport {
1802
+ readonly 'discriminator': 'landed_cost_export';
1803
+ readonly 'event_id': string;
1804
+ readonly 'timestamp': string;
1805
+ readonly 'organization': string;
1806
+ readonly 'export_id': string;
1807
+ readonly 'items': io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
1751
1808
  }
1752
1809
 
1753
- interface Gs1Us {
1810
+ interface LandedCostItem {
1754
1811
  readonly 'number': string;
1755
- readonly 'ship_to'?: io.flow.flexe.v0.models.Gs1UsShipTo;
1756
- readonly 'bill_to'?: io.flow.flexe.v0.models.BillTo;
1812
+ readonly 'origin': string;
1813
+ readonly 'destination': string;
1757
1814
  }
1758
1815
 
1759
- interface Gs1UsShipTo {
1760
- readonly 'cid_number'?: string;
1761
- readonly 'location_number'?: string;
1762
- readonly 'free_on_board'?: boolean;
1816
+ interface PhraseClassified {
1817
+ readonly 'event_id': string;
1818
+ readonly 'timestamp': string;
1819
+ readonly 'phrase_id': string;
1763
1820
  }
1764
1821
 
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>;
1822
+ interface PhrasePropagated {
1823
+ readonly 'event_id': string;
1824
+ readonly 'timestamp': string;
1825
+ readonly 'phrase_id': string;
1770
1826
  }
1771
1827
 
1772
- interface InventoryCount {
1773
- readonly 'amount': number;
1774
- readonly 'unit': string;
1828
+ interface RateRefillRequest {
1829
+ readonly 'discriminator': 'rate_refill_request';
1830
+ readonly 'phrase_id': string;
1831
+ readonly 'hs6_code': string;
1832
+ readonly 'destinations': io.flow.reference.v0.models.Country[];
1833
+ readonly 'origin': io.flow.reference.v0.models.Country;
1834
+ readonly 'organization_id'?: string;
1775
1835
  }
1776
1836
 
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;
1837
+ interface UnharmonizedItemsExport {
1838
+ readonly 'discriminator': 'unharmonized_items_export';
1839
+ readonly 'event_id': string;
1840
+ readonly 'timestamp': string;
1841
+ readonly 'organization': string;
1842
+ readonly 'export_id': string;
1781
1843
  }
1844
+ }
1782
1845
 
1783
- interface InventoryDetails {
1784
- readonly 'key': Record<string, io.flow.flexe.v0.models.Sku>;
1785
- }
1846
+ declare namespace io.flow.harmonization.internal.event.v0.unions {
1847
+ type CustomsDescriptions = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport);
1848
+ 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);
1849
+ 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);
1850
+ type HarmonizationImportPhraseSuggestionRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport);
1851
+ type HarmonizationImportRequest = (io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport);
1852
+ type HarmonizationSugestionEvent = (io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated);
1853
+ 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);
1854
+ type RefillActorRequest = (io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest | io.flow.harmonization.internal.event.v0.models.RateRefillRequest);
1855
+ }
1786
1856
 
1787
- interface LadingQuantity {
1788
- readonly 'num_pallets': number;
1789
- }
1857
+ declare namespace io.flow.inventory.v0.enums {
1858
+ type Aggregate = 'maximum' | 'minimum';
1859
+ type InventoryStatus = 'has_inventory' | 'no_inventory';
1860
+ type SerialStatus = 'available' | 'reserved' | 'sold';
1861
+ type UpdateType = 'change' | 'set';
1862
+ }
1790
1863
 
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[];
1864
+ declare namespace io.flow.inventory.v0.models {
1865
+ interface ExternalApiTimeoutReservationError {
1866
+ readonly 'code': 'external_api_timeout';
1867
+ readonly 'messages': string[];
1808
1868
  }
1809
1869
 
1810
- interface Orders {
1811
- readonly 'orders': io.flow.flexe.v0.models.Order[];
1870
+ interface GenericReservationError {
1871
+ readonly 'code': 'generic_reservation_error';
1872
+ readonly 'messages': string[];
1812
1873
  }
1813
1874
 
1814
- interface Pallet {
1815
- readonly 'pallet_id': string;
1816
- readonly 'sku': string;
1875
+ interface InventoryBackorder {
1876
+ readonly 'discriminator': 'inventory_backorder';
1817
1877
  readonly 'quantity': number;
1818
- readonly 'packaging': string;
1819
1878
  }
1820
1879
 
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[];
1880
+ interface InventoryCenterReference {
1881
+ readonly 'key': string;
1828
1882
  }
1829
1883
 
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;
1884
+ interface InventoryCheckResponse {
1885
+ readonly 'items': io.flow.inventory.v0.models.InventoryCheckResponseItem[];
1834
1886
  }
1835
1887
 
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;
1888
+ interface InventoryCheckResponseItem {
1889
+ readonly 'number': string;
1890
+ readonly 'quantity': number;
1891
+ readonly 'inventory_status': io.flow.inventory.v0.enums.InventoryStatus;
1843
1892
  }
1844
1893
 
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;
1894
+ interface InventoryExperienceReference {
1895
+ readonly 'key': string;
1851
1896
  }
1852
1897
 
1853
- interface RetailInventoryData {
1854
- readonly 'sku': string;
1855
- readonly 'quantity': number;
1856
- readonly 'unit': string;
1857
- readonly 'attachments'?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
1898
+ interface InventoryItemReference {
1899
+ readonly 'number': string;
1858
1900
  }
1859
1901
 
1860
- interface RetailOrder {
1861
- readonly 'order': io.flow.flexe.v0.models.RetailOrderData;
1902
+ interface InventoryRequest {
1903
+ readonly 'items': io.flow.inventory.v0.models.InventoryRequestItem[];
1862
1904
  }
1863
1905
 
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;
1906
+ interface InventoryRequestItem {
1907
+ readonly 'number': string;
1908
+ readonly 'quantity': number;
1874
1909
  }
1875
1910
 
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;
1911
+ interface InventoryRule {
1912
+ readonly 'id': string;
1913
+ readonly 'position': number;
1914
+ readonly 'query': string;
1915
+ readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1885
1916
  }
1886
1917
 
1887
- interface ShipWithin {
1888
- readonly 'start': string;
1889
- readonly 'end': string;
1918
+ interface InventoryRuleForm {
1919
+ readonly 'position': number;
1920
+ readonly 'query': string;
1921
+ readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
1890
1922
  }
1891
1923
 
1892
- interface ShipmentDeliveryDetails {
1893
- readonly 'shipment_uuid'?: string;
1924
+ interface InventoryRuleVersion {
1925
+ readonly 'id': string;
1926
+ readonly 'timestamp': string;
1927
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1928
+ readonly 'inventory_rule': io.flow.inventory.v0.models.InventoryRule;
1894
1929
  }
1895
1930
 
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;
1931
+ interface InventorySnapshot {
1932
+ readonly 'id': string;
1933
+ readonly 'available': number;
1934
+ readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
1935
+ readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
1936
+ readonly 'quantity': number;
1905
1937
  }
1906
1938
 
1907
- interface Sku {
1908
- readonly 'sku': string;
1909
- readonly 'description': string;
1910
- readonly 'summary': Record<string, io.flow.flexe.v0.models.SkuSummary>;
1939
+ interface InventorySnapshotVersion {
1940
+ readonly 'id': string;
1941
+ readonly 'timestamp': string;
1942
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1943
+ readonly 'inventory_snapshot': io.flow.inventory.v0.models.InventorySnapshot;
1911
1944
  }
1912
1945
 
1913
- interface SkuSummary {
1914
- readonly 'key': string;
1946
+ interface InventoryStock {
1947
+ readonly 'discriminator': 'inventory_stock';
1915
1948
  readonly 'quantity': number;
1916
- readonly 'unit': string;
1917
1949
  }
1918
- }
1919
1950
 
1920
- declare namespace io.flow.harmonization.internal.event.v0.enums {
1921
- type SuggestionAction = 'accept' | 'validate' | 'review';
1922
- }
1951
+ interface InventoryUnlimited {
1952
+ readonly 'discriminator': 'inventory_unlimited';
1953
+ readonly 'quantity': string;
1954
+ }
1923
1955
 
1924
- declare namespace io.flow.harmonization.internal.event.v0.models {
1925
- interface AllItemsExport {
1926
- readonly 'discriminator': 'all_items_export';
1927
- readonly 'event_id': string;
1928
- readonly 'timestamp': string;
1929
- readonly 'organization': string;
1930
- readonly 'export_id': string;
1956
+ interface InventoryUpdate {
1957
+ readonly 'id': string;
1958
+ readonly 'idempotency_key': string;
1959
+ readonly 'center': io.flow.inventory.v0.models.InventoryCenterReference;
1960
+ readonly 'item': io.flow.inventory.v0.models.InventoryItemReference;
1961
+ readonly 'notes': any/*object*/;
1962
+ readonly 'quantity': number;
1963
+ readonly 'type': io.flow.inventory.v0.enums.UpdateType;
1931
1964
  }
1932
1965
 
1933
- interface BatchRateRefillRequest {
1934
- readonly 'discriminator': 'batch_rate_refill_request';
1935
- readonly 'requests': io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
1966
+ interface InventoryUpdateForm {
1967
+ readonly 'center': string;
1968
+ readonly 'idempotency_key': string;
1969
+ readonly 'item_number': string;
1970
+ readonly 'quantity': number;
1971
+ readonly 'type': io.flow.inventory.v0.enums.UpdateType;
1972
+ readonly 'notes'?: any/*object*/;
1936
1973
  }
1937
1974
 
1938
- interface BlacklistedItemCreated {
1939
- readonly 'discriminator': 'blacklisted_item_created';
1940
- readonly 'event_id': string;
1975
+ interface InventoryUpdateVersion {
1976
+ readonly 'id': string;
1941
1977
  readonly 'timestamp': string;
1942
- readonly 'organization': string;
1943
- readonly 'blacklisted_item': io.flow.harmonization.internal.v0.models.BlacklistedItem;
1978
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
1979
+ readonly 'inventory_update': io.flow.inventory.v0.models.InventoryUpdate;
1944
1980
  }
1945
1981
 
1946
- interface BlacklistedItemDeleted {
1947
- readonly 'discriminator': 'blacklisted_item_deleted';
1948
- readonly 'event_id': string;
1949
- readonly 'timestamp': string;
1950
- readonly 'organization': string;
1951
- readonly 'id': string;
1982
+ interface NoInventoryReservationError {
1983
+ readonly 'code': 'no_inventory';
1984
+ readonly 'messages': string[];
1985
+ readonly 'items': io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
1952
1986
  }
1953
1987
 
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;
1988
+ interface NoInventoryReservationErrorItem {
1989
+ readonly 'number': string;
1990
+ readonly 'requested_quantity': number;
1991
+ readonly 'available_quantity': number;
1960
1992
  }
1961
1993
 
1962
- interface CustomsDescriptionImport {
1963
- readonly 'discriminator': 'customs_description_import';
1964
- readonly 'event_id': string;
1965
- readonly 'timestamp': string;
1966
- readonly 'organization': string;
1967
- readonly 'import_id': string;
1968
- readonly 'source_url': string;
1969
- readonly 'filename'?: string;
1994
+ interface PfsInventoryCheckResponse {
1995
+ readonly 'items': Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
1970
1996
  }
1971
1997
 
1972
- interface CustomsDescriptionSugestion {
1973
- readonly 'value': number;
1974
- readonly 'customs_description': string;
1975
- readonly 'action'?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1998
+ interface PfsInventoryCheckResponseItem {
1999
+ readonly 'number': string;
2000
+ readonly 'ats': number;
2001
+ readonly 'in_stock': boolean;
1976
2002
  }
1977
2003
 
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;
2004
+ interface PfsInventoryStatus {
2005
+ readonly 'status': string;
1986
2006
  }
1987
2007
 
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;
2008
+ interface Reservation {
2009
+ readonly 'id': string;
2010
+ readonly 'key': string;
2011
+ readonly 'order'?: io.flow.inventory.v0.models.ReservationOrderReference;
2012
+ readonly 'items': io.flow.inventory.v0.models.ReservationItem[];
2013
+ readonly 'reserved_until'?: string;
1996
2014
  }
1997
2015
 
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[];
2016
+ interface ReservationForm {
2017
+ readonly 'order_number'?: string;
2018
+ readonly 'items': io.flow.inventory.v0.models.ReservationItemForm[];
2007
2019
  }
2008
2020
 
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;
2021
+ interface ReservationItem {
2022
+ readonly 'item': io.flow.inventory.v0.models.ReservationItemReference;
2023
+ readonly 'quantity': number;
2017
2024
  }
2018
2025
 
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;
2026
+ interface ReservationItemForm {
2027
+ readonly 'item_number': string;
2028
+ readonly 'quantity': number;
2027
2029
  }
2028
2030
 
2029
- interface HarmonizeFullyRequest {
2030
- readonly 'discriminator': 'harmonize_fully_request';
2031
- readonly 'event_id': string;
2032
- readonly 'timestamp': string;
2033
- readonly 'item_id': string;
2031
+ interface ReservationItemReference {
2032
+ readonly 'number': string;
2034
2033
  }
2035
2034
 
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;
2035
+ interface ReservationOrderReference {
2036
+ readonly 'number': string;
2041
2037
  }
2042
2038
 
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;
2039
+ interface Serial {
2040
+ readonly 'id': string;
2041
+ readonly 'number': string;
2042
+ readonly 'item_number': string;
2043
+ readonly 'item_price': io.flow.common.v0.models.Price;
2044
+ readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
2045
+ readonly 'center': io.flow.fulfillment.v0.models.CenterReference;
2046
+ readonly 'attributes': Record<string, string>;
2049
2047
  }
2050
2048
 
2051
- interface ItemClassificationCreated {
2052
- readonly 'discriminator': 'item_classification_created';
2053
- readonly 'event_id': string;
2054
- readonly 'timestamp': string;
2055
- readonly 'organization': string;
2049
+ interface SerialForm {
2050
+ readonly 'number': string;
2056
2051
  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;
2052
+ readonly 'item_price': number;
2053
+ readonly 'item_currency': string;
2054
+ readonly 'status': io.flow.inventory.v0.enums.SerialStatus;
2055
+ readonly 'center_key'?: string;
2056
+ readonly 'attributes'?: Record<string, string>;
2060
2057
  }
2061
2058
 
2062
- interface ItemHarmonized {
2063
- readonly 'discriminator': 'item_harmonized';
2064
- readonly 'event_id': string;
2059
+ interface SerialVersion {
2060
+ readonly 'id': string;
2065
2061
  readonly 'timestamp': string;
2066
- readonly 'organization': string;
2067
- 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>;
2062
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
2063
+ readonly 'serial': io.flow.inventory.v0.models.Serial;
2073
2064
  }
2065
+ }
2074
2066
 
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>;
2067
+ declare namespace io.flow.inventory.v0.unions {
2068
+ type InventoryStrategy = (io.flow.inventory.v0.models.InventoryBackorder | io.flow.inventory.v0.models.InventoryStock | io.flow.inventory.v0.models.InventoryUnlimited);
2069
+ type ReservationError = (io.flow.inventory.v0.models.NoInventoryReservationError | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError | io.flow.inventory.v0.models.GenericReservationError);
2070
+ }
2071
+
2072
+ declare namespace io.flow.ratecard.v0.models {
2073
+ interface CrossdockRatecardFee {
2074
+ readonly 'discriminator': 'crossdock_ratecard_fee';
2075
+ readonly 'amount': io.flow.common.v0.models.Money;
2080
2076
  }
2081
2077
 
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[];
2078
+ interface DdpRatecardFee {
2079
+ readonly 'discriminator': 'ddp_ratecard_fee';
2080
+ readonly 'amount': number;
2089
2081
  }
2090
2082
 
2091
- interface LandedCostItem {
2092
- readonly 'number': string;
2093
- readonly 'origin': string;
2094
- readonly 'destination': string;
2083
+ interface DimensionEstimate {
2084
+ readonly 'id': string;
2085
+ readonly 'q': string;
2086
+ readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
2087
+ readonly 'position': number;
2095
2088
  }
2096
2089
 
2097
- interface PhraseClassified {
2098
- readonly 'event_id': string;
2099
- readonly 'timestamp': string;
2100
- readonly 'phrase_id': string;
2090
+ interface DimensionEstimateForm {
2091
+ readonly 'q': string;
2092
+ readonly 'dimensions': io.flow.ratecard.v0.models.EstimatedDimensions;
2093
+ readonly 'position'?: number;
2101
2094
  }
2102
2095
 
2103
- interface PhrasePropagated {
2104
- readonly 'event_id': string;
2096
+ interface DimensionEstimateVersion {
2097
+ readonly 'id': string;
2105
2098
  readonly 'timestamp': string;
2106
- readonly 'phrase_id': string;
2099
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
2100
+ readonly 'dimension_estimate': io.flow.ratecard.v0.models.DimensionEstimate;
2107
2101
  }
2108
2102
 
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;
2103
+ interface EstimatedDimensions {
2104
+ readonly 'depth': io.flow.common.v0.models.Measurement;
2105
+ readonly 'length': io.flow.common.v0.models.Measurement;
2106
+ readonly 'weight': io.flow.common.v0.models.Measurement;
2107
+ readonly 'width': io.flow.common.v0.models.Measurement;
2116
2108
  }
2117
2109
 
2118
- interface UnharmonizedItemsExport {
2119
- readonly 'discriminator': 'unharmonized_items_export';
2120
- readonly 'event_id': string;
2121
- readonly 'timestamp': string;
2122
- readonly 'organization': string;
2123
- readonly 'export_id': string;
2110
+ interface FuelSurchargeRatecardFee {
2111
+ readonly 'discriminator': 'fuel_surcharge_ratecard_fee';
2112
+ readonly 'amount': io.flow.common.v0.models.Money;
2124
2113
  }
2125
- }
2126
2114
 
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
- }
2115
+ interface FuelSurchargeServiceFee {
2116
+ readonly 'discriminator': 'fuel_surcharge_service_fee';
2117
+ readonly 'percent': number;
2118
+ }
2137
2119
 
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';
2143
- }
2120
+ interface Hop {
2121
+ readonly 'hop_number': number;
2122
+ readonly 'hop_estimate': io.flow.ratecard.v0.models.HopEstimate;
2123
+ }
2144
2124
 
2145
- declare namespace io.flow.inventory.v0.models {
2146
- interface ExternalApiTimeoutReservationError {
2147
- readonly 'code': 'external_api_timeout';
2148
- readonly 'messages': string[];
2125
+ interface HopEstimate {
2126
+ readonly 'origin_address': io.flow.fulfillment.v0.models.ShippingAddress;
2127
+ readonly 'destination_address': io.flow.fulfillment.v0.models.ShippingAddress;
2128
+ readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
2129
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
2130
+ readonly 'currency': string;
2131
+ readonly 'amount': number;
2132
+ readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
2133
+ readonly 'total': number;
2149
2134
  }
2150
2135
 
2151
- interface GenericReservationError {
2152
- readonly 'code': 'generic_reservation_error';
2153
- readonly 'messages': string[];
2136
+ interface OversizedShipmentRatecardFee {
2137
+ readonly 'discriminator': 'oversized_shipment_ratecard_fee';
2138
+ readonly 'weight_threshold': number;
2139
+ readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
2140
+ readonly 'margin'?: number;
2141
+ readonly 'amount'?: number;
2154
2142
  }
2155
2143
 
2156
- interface InventoryBackorder {
2157
- readonly 'discriminator': 'inventory_backorder';
2158
- readonly 'quantity': number;
2144
+ interface Ratecard {
2145
+ readonly 'id': string;
2146
+ readonly 'number': string;
2147
+ readonly 'direction': io.flow.label.v0.enums.Direction;
2148
+ readonly 'effective_at': string;
2149
+ readonly 'origination_zones': io.flow.common.v0.models.Zone[];
2150
+ readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
2151
+ readonly 'published_at'?: string;
2152
+ readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
2159
2153
  }
2160
2154
 
2161
- interface InventoryCenterReference {
2162
- readonly 'key': string;
2155
+ interface RatecardCarrierSummary {
2156
+ readonly 'id': string;
2157
+ readonly 'name': string;
2163
2158
  }
2164
2159
 
2165
- interface InventoryCheckResponse {
2166
- readonly 'items': io.flow.inventory.v0.models.InventoryCheckResponseItem[];
2160
+ interface RatecardEstimateFormV1 {
2161
+ readonly 'discriminator': 'ratecard_estimate_form_v1';
2162
+ readonly 'origin'?: string;
2163
+ readonly 'destination'?: string;
2164
+ readonly 'weight_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
2165
+ readonly 'distance_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
2166
+ readonly 'service'?: string;
2167
+ readonly 'weight'?: number;
2168
+ readonly 'length'?: number;
2169
+ readonly 'width'?: number;
2170
+ readonly 'depth'?: number;
2171
+ readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
2172
+ readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
2167
2173
  }
2168
2174
 
2169
- interface InventoryCheckResponseItem {
2170
- readonly 'number': string;
2171
- readonly 'quantity': number;
2172
- readonly 'inventory_status': io.flow.inventory.v0.enums.InventoryStatus;
2175
+ interface RatecardEstimateFormV2 {
2176
+ readonly 'discriminator': 'ratecard_estimate_form_v2';
2177
+ readonly 'origin_address': io.flow.common.v0.models.Address;
2178
+ readonly 'destination_address': io.flow.common.v0.models.Address;
2179
+ readonly 'weight_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
2180
+ readonly 'distance_unit'?: io.flow.common.v0.enums.UnitOfMeasurement;
2181
+ readonly 'service'?: string;
2182
+ readonly 'weight'?: number;
2183
+ readonly 'length'?: number;
2184
+ readonly 'width'?: number;
2185
+ readonly 'depth'?: number;
2186
+ readonly 'delivered_duty'?: io.flow.common.v0.enums.DeliveredDuty;
2187
+ readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
2188
+ readonly 'center_id'?: string;
2173
2189
  }
2174
2190
 
2175
- interface InventoryExperienceReference {
2176
- readonly 'key': string;
2191
+ interface RatecardEstimateSummaryForm {
2192
+ readonly 'origin'?: string;
2193
+ readonly 'destination'?: string;
2194
+ readonly 'service'?: string;
2195
+ readonly 'center_key'?: string;
2177
2196
  }
2178
2197
 
2179
- interface InventoryItemReference {
2180
- readonly 'number': string;
2198
+ interface RatecardEstimateV1 {
2199
+ readonly 'discriminator': 'ratecard_estimate_v1';
2200
+ readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
2201
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
2202
+ readonly 'currency': string;
2203
+ readonly 'amount': number;
2204
+ readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
2205
+ readonly 'total': number;
2206
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
2207
+ readonly 'dimensional_weight'?: io.flow.common.v0.models.Measurement;
2208
+ readonly 'gravitational_weight'?: io.flow.common.v0.models.Measurement;
2209
+ readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
2210
+ }
2211
+
2212
+ interface RatecardEstimateV2 {
2213
+ readonly 'discriminator': 'ratecard_estimate_v2';
2214
+ readonly 'hops': io.flow.ratecard.v0.models.Hop[];
2215
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
2216
+ readonly 'dimensional_weight'?: io.flow.common.v0.models.Measurement;
2217
+ readonly 'gravitational_weight'?: io.flow.common.v0.models.Measurement;
2218
+ readonly 'line_items'?: io.flow.common.v0.models.LineItemForm[];
2219
+ readonly 'ratecard_owner'?: io.flow.fulfillment.v0.enums.RatecardOwner;
2181
2220
  }
2182
2221
 
2183
- interface InventoryRequest {
2184
- readonly 'items': io.flow.inventory.v0.models.InventoryRequestItem[];
2222
+ interface RatecardForm {
2223
+ readonly 'direction': io.flow.label.v0.enums.Direction;
2224
+ readonly 'effective_at': string;
2225
+ readonly 'origination_zones': io.flow.common.v0.models.Zone[];
2226
+ readonly 'service': string;
2227
+ readonly 'number'?: string;
2228
+ readonly 'ratecard_owner'?: io.flow.fulfillment.v0.enums.RatecardOwner;
2185
2229
  }
2186
2230
 
2187
- interface InventoryRequestItem {
2188
- readonly 'number': string;
2189
- readonly 'quantity': number;
2231
+ interface RatecardLane {
2232
+ readonly 'id': string;
2233
+ readonly 'ratecard': io.flow.ratecard.v0.models.RatecardReference;
2234
+ readonly 'currency': string;
2235
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
2236
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
2237
+ readonly 'destination': io.flow.common.v0.models.Zone;
2238
+ readonly 'dim_factor': number;
2239
+ readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
2240
+ readonly 'origin': io.flow.common.v0.models.Zone;
2241
+ readonly 'service': io.flow.ratecard.v0.models.RatecardServiceSummary;
2242
+ readonly 'rates': io.flow.ratecard.v0.models.RatecardRate[];
2243
+ readonly 'rounding': io.flow.common.v0.models.Rounding;
2244
+ readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
2245
+ readonly 'distance_unit': io.flow.common.v0.enums.UnitOfMeasurement;
2190
2246
  }
2191
2247
 
2192
- interface InventoryRule {
2193
- readonly 'id': string;
2194
- readonly 'position': number;
2195
- readonly 'query': string;
2196
- readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
2248
+ interface RatecardLaneForm {
2249
+ readonly 'ratecard_id': string;
2250
+ readonly 'currency': string;
2251
+ readonly 'destination': io.flow.common.v0.models.Zone;
2252
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
2253
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
2254
+ readonly 'dim_factor': number;
2255
+ readonly 'fees': io.flow.ratecard.v0.unions.RatecardFee[];
2256
+ readonly 'origin': io.flow.common.v0.models.Zone;
2257
+ readonly 'rounding': io.flow.common.v0.models.Rounding;
2258
+ readonly 'rates': io.flow.ratecard.v0.models.RatecardRateForm[];
2259
+ readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
2260
+ readonly 'distance_unit': io.flow.common.v0.enums.UnitOfMeasurement;
2197
2261
  }
2198
2262
 
2199
- interface InventoryRuleForm {
2200
- readonly 'position': number;
2201
- readonly 'query': string;
2202
- readonly 'strategy': io.flow.inventory.v0.unions.InventoryStrategy;
2263
+ interface RatecardLaneImportForm {
2264
+ readonly 'ratecard_owner': io.flow.fulfillment.v0.enums.RatecardOwner;
2265
+ readonly 'service': string;
2266
+ readonly 'currency': string;
2267
+ readonly 'delivered_duty': io.flow.common.v0.enums.DeliveredDuty;
2268
+ readonly 'origin': io.flow.common.v0.models.Zone;
2269
+ readonly 'destination': io.flow.common.v0.models.Zone;
2270
+ readonly 'shipment_window': io.flow.ratecard.v0.models.ShipmentWindow;
2271
+ readonly 'dim_factor': number;
2272
+ readonly 'weight_unit': io.flow.common.v0.enums.UnitOfMeasurement;
2273
+ readonly 'distance_unit': io.flow.common.v0.enums.UnitOfMeasurement;
2274
+ readonly 'rates': io.flow.ratecard.v0.models.RatecardRateForm[];
2203
2275
  }
2204
2276
 
2205
- interface InventoryRuleVersion {
2277
+ interface RatecardLaneVersion {
2206
2278
  readonly 'id': string;
2207
2279
  readonly 'timestamp': string;
2208
2280
  readonly 'type': io.flow.common.v0.enums.ChangeType;
2209
- readonly 'inventory_rule': io.flow.inventory.v0.models.InventoryRule;
2281
+ readonly 'ratecard_lane': io.flow.ratecard.v0.models.RatecardLane;
2210
2282
  }
2211
2283
 
2212
- interface InventorySnapshot {
2284
+ interface RatecardLanesImportRequestData {
2213
2285
  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;
2286
+ readonly 'source_url': string;
2287
+ readonly 'filename'?: string;
2218
2288
  }
2219
2289
 
2220
- interface InventorySnapshotVersion {
2290
+ interface RatecardRate {
2221
2291
  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;
2292
+ readonly 'amount': number;
2293
+ readonly 'weight': number;
2225
2294
  }
2226
2295
 
2227
- interface InventoryStock {
2228
- readonly 'discriminator': 'inventory_stock';
2229
- readonly 'quantity': number;
2296
+ interface RatecardRateForm {
2297
+ readonly 'amount': number;
2298
+ readonly 'weight': number;
2230
2299
  }
2231
2300
 
2232
- interface InventoryUnlimited {
2233
- readonly 'discriminator': 'inventory_unlimited';
2234
- readonly 'quantity': string;
2301
+ interface RatecardRateVersion {
2302
+ readonly 'id': string;
2303
+ readonly 'timestamp': string;
2304
+ readonly 'type': io.flow.common.v0.enums.ChangeType;
2305
+ readonly 'ratecard_rate': io.flow.ratecard.v0.models.RatecardRate;
2235
2306
  }
2236
2307
 
2237
- interface InventoryUpdate {
2308
+ interface RatecardReference {
2238
2309
  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;
2245
2310
  }
2246
2311
 
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*/;
2312
+ interface RatecardServiceSummary {
2313
+ readonly 'id': string;
2314
+ readonly 'name': string;
2315
+ readonly 'carrier': io.flow.ratecard.v0.models.RatecardCarrierSummary;
2254
2316
  }
2255
2317
 
2256
- interface InventoryUpdateVersion {
2318
+ interface RatecardVersion {
2257
2319
  readonly 'id': string;
2258
2320
  readonly 'timestamp': string;
2259
2321
  readonly 'type': io.flow.common.v0.enums.ChangeType;
2260
- readonly 'inventory_update': io.flow.inventory.v0.models.InventoryUpdate;
2322
+ readonly 'ratecard': io.flow.ratecard.v0.models.Ratecard;
2261
2323
  }
2262
2324
 
2263
- interface NoInventoryReservationError {
2264
- readonly 'code': 'no_inventory';
2265
- readonly 'messages': string[];
2266
- readonly 'items': io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
2325
+ interface RemoteAreaRatecardFee {
2326
+ readonly 'discriminator': 'remote_area_ratecard_fee';
2327
+ readonly 'amount': io.flow.common.v0.models.Money;
2267
2328
  }
2268
2329
 
2269
- interface NoInventoryReservationErrorItem {
2270
- readonly 'number': string;
2271
- readonly 'requested_quantity': number;
2272
- readonly 'available_quantity': number;
2330
+ interface RemoteAreaServiceFee {
2331
+ readonly 'discriminator': 'remote_area_service_fee';
2332
+ readonly 'amount': io.flow.common.v0.models.Money;
2273
2333
  }
2274
2334
 
2275
- interface PfsInventoryCheckResponse {
2276
- readonly 'items': Record<string, io.flow.inventory.v0.models.PfsInventoryCheckResponseItem>;
2335
+ interface ReturnPackageRatecardFee {
2336
+ readonly 'discriminator': 'return_package_ratecard_fee';
2337
+ readonly 'amount': number;
2277
2338
  }
2278
2339
 
2279
- interface PfsInventoryCheckResponseItem {
2280
- readonly 'number': string;
2281
- readonly 'ats': number;
2282
- readonly 'in_stock': boolean;
2340
+ interface ShipmentWindow {
2341
+ readonly 'from': number;
2342
+ readonly 'to': number;
2283
2343
  }
2344
+ }
2284
2345
 
2285
- interface PfsInventoryStatus {
2286
- readonly 'status': string;
2287
- }
2346
+ declare namespace io.flow.ratecard.v0.unions {
2347
+ type RatecardEstimate = (io.flow.ratecard.v0.models.RatecardEstimateV1 | io.flow.ratecard.v0.models.RatecardEstimateV2);
2348
+ type RatecardEstimateForm = (io.flow.ratecard.v0.models.RatecardEstimateFormV1 | io.flow.ratecard.v0.models.RatecardEstimateFormV2);
2349
+ 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);
2350
+ type ServiceFee = (io.flow.ratecard.v0.models.FuelSurchargeServiceFee | io.flow.ratecard.v0.models.RemoteAreaServiceFee);
2351
+ }
2288
2352
 
2289
- interface Reservation {
2353
+ declare namespace io.flow.session.context.v0.models {
2354
+ interface Context {
2290
2355
  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;
2356
+ readonly 'experiments': io.flow.session.context.v0.models.Experiment[];
2295
2357
  }
2296
2358
 
2297
- interface ReservationForm {
2298
- readonly 'order_number'?: string;
2299
- readonly 'items': io.flow.inventory.v0.models.ReservationItemForm[];
2300
- }
2301
-
2302
- interface ReservationItem {
2303
- readonly 'item': io.flow.inventory.v0.models.ReservationItemReference;
2304
- readonly 'quantity': number;
2305
- }
2306
-
2307
- interface ReservationItemForm {
2308
- readonly 'item_number': string;
2309
- readonly 'quantity': number;
2310
- }
2311
-
2312
- interface ReservationItemReference {
2313
- readonly 'number': string;
2314
- }
2315
-
2316
- interface ReservationOrderReference {
2317
- readonly 'number': string;
2359
+ interface ContextForm {
2360
+ readonly 'experiments': io.flow.session.context.v0.models.Experiment[];
2318
2361
  }
2319
2362
 
2320
- interface Serial {
2363
+ interface ContextReference {
2321
2364
  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>;
2328
2365
  }
2329
2366
 
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>;
2367
+ interface Experiment {
2368
+ readonly 'key': string;
2369
+ readonly 'variant'?: io.flow.session.context.v0.models.ExperimentVariant;
2338
2370
  }
2339
2371
 
2340
- interface SerialVersion {
2341
- 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;
2372
+ interface ExperimentVariant {
2373
+ readonly 'key': string;
2345
2374
  }
2346
2375
  }
2347
2376
 
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);
2351
- }
2352
-
2353
2377
  declare namespace io.flow.optin.internal.v0.enums {
2354
2378
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
2355
2379
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
@@ -11590,11 +11614,12 @@ declare namespace io.flow.internal.v0.enums {
11590
11614
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
11591
11615
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
11592
11616
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
11617
+ type EmptyAttribute = 'irrelevant';
11593
11618
  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
11619
  type ExperienceImportType = 'experience_with_settings';
11595
11620
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
11596
11621
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
11597
- type ExperimentDiscriminatorValue = 'experience' | 'feature';
11622
+ type ExperimentDiscriminatorKey = 'experience' | 'feature';
11598
11623
  type FeatureScope = 'global' | 'organization';
11599
11624
  type FeatureStatus = 'draft' | 'active' | 'archived';
11600
11625
  type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -11636,6 +11661,7 @@ declare namespace io.flow.internal.v0.enums {
11636
11661
  type PriceSelector = 'minimum' | 'maximum';
11637
11662
  type ProcessingTransactionType = 'adjustment' | 'capture' | 'refund';
11638
11663
  type Processor = 'adyen' | 'afterpay' | 'bitpay' | 'stripe' | 'paypal' | 'flow_sandbox' | 'fiserv' | 'crypto';
11664
+ type ProductClassificationAction = 'ACCEPT' | 'MANUAL';
11639
11665
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
11640
11666
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
11641
11667
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -11662,6 +11688,7 @@ declare namespace io.flow.internal.v0.enums {
11662
11688
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
11663
11689
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
11664
11690
  type TransferMethod = 'ach';
11691
+ type UnclassifiedProductStatus = 'ignored' | 'escalated';
11665
11692
  }
11666
11693
 
11667
11694
  declare namespace io.flow.internal.v0.models {
@@ -12069,6 +12096,11 @@ declare namespace io.flow.internal.v0.models {
12069
12096
  readonly 'transactionId': string;
12070
12097
  }
12071
12098
 
12099
+ interface AttributeLabel {
12100
+ readonly 'value': string;
12101
+ readonly 'estimated': boolean;
12102
+ }
12103
+
12072
12104
  interface AuthenticationForm {
12073
12105
  readonly 'password': string;
12074
12106
  }
@@ -13319,9 +13351,24 @@ declare namespace io.flow.internal.v0.models {
13319
13351
  }
13320
13352
 
13321
13353
  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[];
13354
+ readonly 'discriminator': io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
13355
+ readonly 'variants'?: io.flow.internal.v0.models.ExperimentFormDefaultVariant[];
13356
+ }
13357
+
13358
+ interface ExperimentFormDefaultDiscriminator {
13359
+ readonly 'key': io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
13360
+ readonly 'values': io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue[];
13361
+ }
13362
+
13363
+ interface ExperimentFormDefaultDiscriminatorValue {
13364
+ readonly 'key': string;
13365
+ readonly 'name': string;
13366
+ }
13367
+
13368
+ interface ExperimentFormDefaultVariant {
13369
+ readonly 'key': string;
13370
+ readonly 'name': string;
13371
+ readonly 'traffic_percentage'?: number;
13325
13372
  }
13326
13373
 
13327
13374
  interface ExperimentResults {
@@ -13365,12 +13412,6 @@ declare namespace io.flow.internal.v0.models {
13365
13412
  readonly 'experiment': io.flow.experiment.internal.v0.models.Experiment;
13366
13413
  }
13367
13414
 
13368
- interface ExperimentVariantFormDefault {
13369
- readonly 'key': string;
13370
- readonly 'name': string;
13371
- readonly 'traffic_percentage': number;
13372
- }
13373
-
13374
13415
  interface ExperimentVariantSummary {
13375
13416
  readonly 'key': string;
13376
13417
  readonly 'name'?: string;
@@ -14332,6 +14373,14 @@ declare namespace io.flow.internal.v0.models {
14332
14373
  readonly 'invoice'?: io.flow.label.v0.models.ShippingLabelDocument;
14333
14374
  }
14334
14375
 
14376
+ interface LabelTaxonomy {
14377
+ readonly 'item_type': string;
14378
+ readonly 'aliases': string[];
14379
+ readonly 'construction': io.flow.internal.v0.unions.ClassificationLabelAttribute;
14380
+ readonly 'gender': io.flow.internal.v0.unions.ClassificationLabelAttribute;
14381
+ readonly 'material': io.flow.internal.v0.unions.ClassificationLabelAttribute;
14382
+ }
14383
+
14335
14384
  interface LabeledContent {
14336
14385
  readonly 'label': io.flow.internal.v0.models.Label;
14337
14386
  readonly 'contents': io.flow.internal.v0.unions.ContentItem[];
@@ -15685,6 +15734,27 @@ declare namespace io.flow.internal.v0.models {
15685
15734
  readonly 'processing_transaction': io.flow.billing.internal.v0.models.ProcessingTransaction;
15686
15735
  }
15687
15736
 
15737
+ interface ProductClassification {
15738
+ readonly 'organization_id': string;
15739
+ readonly 'product_id': string;
15740
+ readonly 'description': string;
15741
+ readonly 'items': io.flow.internal.v0.models.ClassificationItem[];
15742
+ readonly 'images': string[];
15743
+ readonly 'categories': string[];
15744
+ readonly 'attributes': Record<string, string>;
15745
+ readonly 'labels': io.flow.internal.v0.models.ProductLabels;
15746
+ readonly 'current_customs_description'?: string;
15747
+ readonly 'customs_description'?: string;
15748
+ readonly 'hs6_code'?: string;
15749
+ readonly 'hs6_description'?: string;
15750
+ readonly 'next_id'?: io.flow.internal.v0.models.ClassificationProductId;
15751
+ }
15752
+
15753
+ interface ProductClassificationForm {
15754
+ readonly 'product_harmonization': io.flow.internal.v0.models.ProductHarmonization;
15755
+ readonly 'action': io.flow.internal.v0.enums.ProductClassificationAction;
15756
+ }
15757
+
15688
15758
  interface ProductClassificationJudgementForm {
15689
15759
  readonly 'organization_id': string;
15690
15760
  readonly 'product_id': string;
@@ -15698,6 +15768,24 @@ declare namespace io.flow.internal.v0.models {
15698
15768
  readonly 'next_product'?: io.flow.internal.v0.models.ClassificationProductId;
15699
15769
  }
15700
15770
 
15771
+ interface ProductHarmonization {
15772
+ readonly 'product_labels': io.flow.internal.v0.models.ProductLabels;
15773
+ readonly 'customs_description': string;
15774
+ readonly 'hs6_code': string;
15775
+ readonly 'model_version': string;
15776
+ }
15777
+
15778
+ interface ProductHarmonizationForm {
15779
+ readonly 'product_labels': io.flow.internal.v0.models.ProductLabels;
15780
+ }
15781
+
15782
+ interface ProductLabels {
15783
+ readonly 'item_type': string;
15784
+ readonly 'gender'?: io.flow.internal.v0.models.AttributeLabel;
15785
+ readonly 'material'?: io.flow.internal.v0.models.AttributeLabel;
15786
+ readonly 'construction'?: io.flow.internal.v0.models.AttributeLabel;
15787
+ }
15788
+
15701
15789
  interface QuoteRequest {
15702
15790
  readonly 'id': string;
15703
15791
  readonly 'request_type': io.flow.internal.v0.enums.QuoteRequestType;
@@ -16542,6 +16630,11 @@ declare namespace io.flow.internal.v0.models {
16542
16630
  readonly 'period': io.flow.common.v0.models.DatetimeRange;
16543
16631
  }
16544
16632
 
16633
+ interface SupportedLabels {
16634
+ readonly 'discriminator': 'supported_labels';
16635
+ readonly 'values': string[];
16636
+ }
16637
+
16545
16638
  interface SvbVirtualCardClearing {
16546
16639
  readonly 'id': string;
16547
16640
  readonly 'virtual_card_id': string;
@@ -16825,7 +16918,7 @@ declare namespace io.flow.internal.v0.models {
16825
16918
  interface UnclassifiedProductsForm {
16826
16919
  readonly 'organization_id': string;
16827
16920
  readonly 'product_id': string;
16828
- readonly 'ignore'?: boolean;
16921
+ readonly 'status'?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
16829
16922
  }
16830
16923
 
16831
16924
  interface UnharmonizedItemsExport {
@@ -16915,6 +17008,12 @@ declare namespace io.flow.internal.v0.unions {
16915
17008
  type CheckoutForm = (io.flow.internal.v0.models.CheckoutOrderForm | io.flow.internal.v0.models.CheckoutOrderNumberForm);
16916
17009
  type CheckoutSubmitOrderBundles = (io.flow.internal.v0.models.CheckoutSubmitOrderBundle);
16917
17010
  type CheckoutSubmitOrderForms = (io.flow.internal.v0.models.CheckoutSubmitOrderForm);
17011
+
17012
+ type ClassificationLabelAttribute = ({
17013
+ discriminator: 'empty_attribute',
17014
+ value: io.flow.internal.v0.enums.EmptyAttribute
17015
+ } | io.flow.internal.v0.models.SupportedLabels);
17016
+
16918
17017
  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
17018
  type DiscountRequestOfferForm = (io.flow.internal.v0.models.DiscountRequestOfferFixedAmountForm);
16920
17019
  type DutyExpression = (io.flow.internal.v0.models.DutyCompoundExpression | io.flow.internal.v0.models.DutySimpleExpression);
@@ -16986,11 +17085,12 @@ export declare const discountRequestOrderEntitlementKey: PropTypes.Requireable<i
16986
17085
  export declare const dutyCompoundExpressionType: PropTypes.Requireable<io.flow.internal.v0.enums.DutyCompoundExpressionType>;
16987
17086
  export declare const dutyRateUnitOfMeasure: PropTypes.Requireable<io.flow.internal.v0.enums.DutyRateUnitOfMeasure>;
16988
17087
  export declare const dutySimpleExpressionType: PropTypes.Requireable<io.flow.internal.v0.enums.DutySimpleExpressionType>;
17088
+ export declare const emptyAttribute: PropTypes.Requireable<io.flow.internal.v0.enums.EmptyAttribute>;
16989
17089
  export declare const eventType: PropTypes.Requireable<io.flow.internal.v0.enums.EventType>;
16990
17090
  export declare const experienceImportType: PropTypes.Requireable<io.flow.internal.v0.enums.ExperienceImportType>;
16991
17091
  export declare const experienceOrderAction: PropTypes.Requireable<io.flow.internal.v0.enums.ExperienceOrderAction>;
16992
17092
  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>;
17093
+ export declare const experimentDiscriminatorKey: PropTypes.Requireable<io.flow.internal.v0.enums.ExperimentDiscriminatorKey>;
16994
17094
  export declare const featureScope: PropTypes.Requireable<io.flow.internal.v0.enums.FeatureScope>;
16995
17095
  export declare const featureStatus: PropTypes.Requireable<io.flow.internal.v0.enums.FeatureStatus>;
16996
17096
  export declare const featureType: PropTypes.Requireable<io.flow.internal.v0.enums.FeatureType>;
@@ -17032,6 +17132,7 @@ export declare const paymentTerm: PropTypes.Requireable<io.flow.internal.v0.enum
17032
17132
  export declare const priceSelector: PropTypes.Requireable<io.flow.internal.v0.enums.PriceSelector>;
17033
17133
  export declare const processingTransactionType: PropTypes.Requireable<io.flow.internal.v0.enums.ProcessingTransactionType>;
17034
17134
  export declare const processor: PropTypes.Requireable<io.flow.internal.v0.enums.Processor>;
17135
+ export declare const productClassificationAction: PropTypes.Requireable<io.flow.internal.v0.enums.ProductClassificationAction>;
17035
17136
  export declare const promptAction: PropTypes.Requireable<io.flow.internal.v0.enums.PromptAction>;
17036
17137
  export declare const promptCheckoutDisplayPosition: PropTypes.Requireable<io.flow.internal.v0.enums.PromptCheckoutDisplayPosition>;
17037
17138
  export declare const promptOptions: PropTypes.Requireable<io.flow.internal.v0.enums.PromptOptions>;
@@ -17058,6 +17159,7 @@ export declare const taxCalculationErrorCode: PropTypes.Requireable<io.flow.inte
17058
17159
  export declare const timeseriesType: PropTypes.Requireable<io.flow.internal.v0.enums.TimeseriesType>;
17059
17160
  export declare const trackingIntegrationType: PropTypes.Requireable<io.flow.internal.v0.enums.TrackingIntegrationType>;
17060
17161
  export declare const transferMethod: PropTypes.Requireable<io.flow.internal.v0.enums.TransferMethod>;
17162
+ export declare const unclassifiedProductStatus: PropTypes.Requireable<io.flow.internal.v0.enums.UnclassifiedProductStatus>;
17061
17163
  export declare const account: PropTypes.Requireable<io.flow.internal.v0.models.Account>;
17062
17164
  export declare const accountContact: PropTypes.Requireable<io.flow.internal.v0.models.AccountContact>;
17063
17165
  export declare const accountContactForm: PropTypes.Requireable<io.flow.internal.v0.models.AccountContactForm>;
@@ -17109,6 +17211,7 @@ export declare const allocationItemReference: PropTypes.Requireable<io.flow.inte
17109
17211
  export declare const apmContent: PropTypes.Requireable<io.flow.internal.v0.models.ApmContent>;
17110
17212
  export declare const applePaymentToken: PropTypes.Requireable<io.flow.internal.v0.models.ApplePaymentToken>;
17111
17213
  export declare const applePaymentTokenHeader: PropTypes.Requireable<io.flow.internal.v0.models.ApplePaymentTokenHeader>;
17214
+ export declare const attributeLabel: PropTypes.Requireable<io.flow.internal.v0.models.AttributeLabel>;
17112
17215
  export declare const authenticationForm: PropTypes.Requireable<io.flow.internal.v0.models.AuthenticationForm>;
17113
17216
  export declare const authorization: PropTypes.Requireable<io.flow.internal.v0.models.Authorization>;
17114
17217
  export declare const authorizationMetadata: PropTypes.Requireable<io.flow.internal.v0.models.AuthorizationMetadata>;
@@ -17289,12 +17392,14 @@ export declare const experimentDeleted: PropTypes.Requireable<io.flow.internal.v
17289
17392
  export declare const experimentEngineResults: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentEngineResults>;
17290
17393
  export declare const experimentForm: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentForm>;
17291
17394
  export declare const experimentFormDefault: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentFormDefault>;
17395
+ export declare const experimentFormDefaultDiscriminator: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator>;
17396
+ export declare const experimentFormDefaultDiscriminatorValue: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue>;
17397
+ export declare const experimentFormDefaultVariant: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentFormDefaultVariant>;
17292
17398
  export declare const experimentResults: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentResults>;
17293
17399
  export declare const experimentResultsDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentResultsDeleted>;
17294
17400
  export declare const experimentResultsUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentResultsUpserted>;
17295
17401
  export declare const experimentResultsWithTimestamp: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentResultsWithTimestamp>;
17296
17402
  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
17403
  export declare const experimentVariantSummary: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentVariantSummary>;
17299
17404
  export declare const experimentVersion: PropTypes.Requireable<io.flow.internal.v0.models.ExperimentVersion>;
17300
17405
  export declare const explicitStatementDate: PropTypes.Requireable<io.flow.internal.v0.models.ExplicitStatementDate>;
@@ -17429,6 +17534,7 @@ export declare const key: PropTypes.Requireable<io.flow.internal.v0.models.Key>;
17429
17534
  export declare const keyReference: PropTypes.Requireable<io.flow.internal.v0.models.KeyReference>;
17430
17535
  export declare const label: PropTypes.Requireable<io.flow.internal.v0.models.Label>;
17431
17536
  export declare const labelSummary: PropTypes.Requireable<io.flow.internal.v0.models.LabelSummary>;
17537
+ export declare const labelTaxonomy: PropTypes.Requireable<io.flow.internal.v0.models.LabelTaxonomy>;
17432
17538
  export declare const labeledContent: PropTypes.Requireable<io.flow.internal.v0.models.LabeledContent>;
17433
17539
  export declare const labelsPrediction: PropTypes.Requireable<io.flow.internal.v0.models.LabelsPrediction>;
17434
17540
  export declare const landedCostExport: PropTypes.Requireable<io.flow.internal.v0.models.LandedCostExport>;
@@ -17612,8 +17718,13 @@ export declare const prioritizedCenterReference: PropTypes.Requireable<io.flow.i
17612
17718
  export declare const processingTransaction: PropTypes.Requireable<io.flow.internal.v0.models.ProcessingTransaction>;
17613
17719
  export declare const processingTransactionDeleted: PropTypes.Requireable<io.flow.internal.v0.models.ProcessingTransactionDeleted>;
17614
17720
  export declare const processingTransactionUpserted: PropTypes.Requireable<io.flow.internal.v0.models.ProcessingTransactionUpserted>;
17721
+ export declare const productClassification: PropTypes.Requireable<io.flow.internal.v0.models.ProductClassification>;
17722
+ export declare const productClassificationForm: PropTypes.Requireable<io.flow.internal.v0.models.ProductClassificationForm>;
17615
17723
  export declare const productClassificationJudgementForm: PropTypes.Requireable<io.flow.internal.v0.models.ProductClassificationJudgementForm>;
17616
17724
  export declare const productClassificationResult: PropTypes.Requireable<io.flow.internal.v0.models.ProductClassificationResult>;
17725
+ export declare const productHarmonization: PropTypes.Requireable<io.flow.internal.v0.models.ProductHarmonization>;
17726
+ export declare const productHarmonizationForm: PropTypes.Requireable<io.flow.internal.v0.models.ProductHarmonizationForm>;
17727
+ export declare const productLabels: PropTypes.Requireable<io.flow.internal.v0.models.ProductLabels>;
17617
17728
  export declare const quoteRequest: PropTypes.Requireable<io.flow.internal.v0.models.QuoteRequest>;
17618
17729
  export declare const rate: PropTypes.Requireable<io.flow.internal.v0.models.Rate>;
17619
17730
  export declare const rateData: PropTypes.Requireable<io.flow.internal.v0.models.RateData>;
@@ -17735,6 +17846,7 @@ export declare const subcatalogItemCount: PropTypes.Requireable<io.flow.internal
17735
17846
  export declare const submittedOrderUpserted: PropTypes.Requireable<io.flow.internal.v0.models.SubmittedOrderUpserted>;
17736
17847
  export declare const subscription: PropTypes.Requireable<io.flow.internal.v0.models.Subscription>;
17737
17848
  export declare const subscriptionTransaction: PropTypes.Requireable<io.flow.internal.v0.models.SubscriptionTransaction>;
17849
+ export declare const supportedLabels: PropTypes.Requireable<io.flow.internal.v0.models.SupportedLabels>;
17738
17850
  export declare const svbVirtualCardClearing: PropTypes.Requireable<io.flow.internal.v0.models.SvbVirtualCardClearing>;
17739
17851
  export declare const svbVirtualCardClearingDeleted: PropTypes.Requireable<io.flow.internal.v0.models.SvbVirtualCardClearingDeleted>;
17740
17852
  export declare const svbVirtualCardClearingUpserted: PropTypes.Requireable<io.flow.internal.v0.models.SvbVirtualCardClearingUpserted>;
@@ -17788,6 +17900,7 @@ export declare const carrierCredentials: PropTypes.Requireable<io.flow.internal.
17788
17900
  export declare const checkoutForm: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutForm>;
17789
17901
  export declare const checkoutSubmitOrderBundles: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutSubmitOrderBundles>;
17790
17902
  export declare const checkoutSubmitOrderForms: PropTypes.Requireable<io.flow.internal.v0.unions.CheckoutSubmitOrderForms>;
17903
+ export declare const classificationLabelAttribute: PropTypes.Requireable<io.flow.internal.v0.unions.ClassificationLabelAttribute>;
17791
17904
  export declare const contentItem: PropTypes.Requireable<io.flow.internal.v0.unions.ContentItem>;
17792
17905
  export declare const discountRequestOfferForm: PropTypes.Requireable<io.flow.internal.v0.unions.DiscountRequestOfferForm>;
17793
17906
  export declare const dutyExpression: PropTypes.Requireable<io.flow.internal.v0.unions.DutyExpression>;