@flowio/types 8.0.6 → 8.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,296 +1,3 @@
1
- declare namespace io.flow.ratecard.v0.models {
2
- interface CrossdockRatecardFee {
3
- readonly discriminator: 'crossdock_ratecard_fee';
4
- readonly amount: io.flow.common.v0.models.Money;
5
- }
6
-
7
- interface DdpRatecardFee {
8
- readonly discriminator: 'ddp_ratecard_fee';
9
- readonly amount: number;
10
- }
11
-
12
- interface DimensionEstimate {
13
- readonly id: string;
14
- readonly q: string;
15
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
16
- readonly position: number;
17
- }
18
-
19
- interface DimensionEstimateForm {
20
- readonly q: string;
21
- readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
22
- readonly position?: number;
23
- }
24
-
25
- interface DimensionEstimateVersion {
26
- readonly id: string;
27
- readonly timestamp: string;
28
- readonly type: io.flow.common.v0.enums.ChangeType;
29
- readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
30
- }
31
-
32
- interface EstimatedDimensions {
33
- readonly depth: io.flow.common.v0.models.Measurement;
34
- readonly length: io.flow.common.v0.models.Measurement;
35
- readonly weight: io.flow.common.v0.models.Measurement;
36
- readonly width: io.flow.common.v0.models.Measurement;
37
- }
38
-
39
- interface FuelSurchargeRatecardFee {
40
- readonly discriminator: 'fuel_surcharge_ratecard_fee';
41
- readonly amount: io.flow.common.v0.models.Money;
42
- }
43
-
44
- interface FuelSurchargeServiceFee {
45
- readonly discriminator: 'fuel_surcharge_service_fee';
46
- readonly percent: number;
47
- }
48
-
49
- interface Hop {
50
- readonly hop_number: number;
51
- readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
52
- }
53
-
54
- interface HopEstimate {
55
- readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
56
- readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
57
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
58
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
59
- readonly currency: string;
60
- readonly amount: number;
61
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
62
- readonly total: number;
63
- }
64
-
65
- interface OversizedShipmentRatecardFee {
66
- readonly discriminator: 'oversized_shipment_ratecard_fee';
67
- readonly weight_threshold: number;
68
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
69
- readonly margin?: number;
70
- readonly amount?: number;
71
- }
72
-
73
- interface Ratecard {
74
- readonly id: string;
75
- readonly number: string;
76
- readonly direction: io.flow.label.v0.enums.Direction;
77
- readonly effective_at: string;
78
- readonly origination_zones: io.flow.common.v0.models.Zone[];
79
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
80
- readonly published_at?: string;
81
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
82
- }
83
-
84
- interface RatecardCarrierSummary {
85
- readonly id: string;
86
- readonly name: string;
87
- }
88
-
89
- interface RatecardEstimateFormV1 {
90
- readonly discriminator: 'ratecard_estimate_form_v1';
91
- readonly origin?: string;
92
- readonly destination?: string;
93
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
94
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
95
- readonly service?: string;
96
- readonly weight?: number;
97
- readonly length?: number;
98
- readonly width?: number;
99
- readonly depth?: number;
100
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
101
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
102
- }
103
-
104
- interface RatecardEstimateFormV2 {
105
- readonly discriminator: 'ratecard_estimate_form_v2';
106
- readonly origin_address: io.flow.common.v0.models.Address;
107
- readonly destination_address: io.flow.common.v0.models.Address;
108
- readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
109
- readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
110
- readonly service?: string;
111
- readonly weight?: number;
112
- readonly length?: number;
113
- readonly width?: number;
114
- readonly depth?: number;
115
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
116
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
117
- readonly center_id?: string;
118
- }
119
-
120
- interface RatecardEstimateSummaryForm {
121
- readonly origin?: string;
122
- readonly destination?: string;
123
- readonly service?: string;
124
- readonly center_key?: string;
125
- }
126
-
127
- interface RatecardEstimateV1 {
128
- readonly discriminator: 'ratecard_estimate_v1';
129
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
130
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
131
- readonly currency: string;
132
- readonly amount: number;
133
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
134
- readonly total: number;
135
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
136
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
137
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
138
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
139
- }
140
-
141
- interface RatecardEstimateV2 {
142
- readonly discriminator: 'ratecard_estimate_v2';
143
- readonly hops: io.flow.ratecard.v0.models.Hop[];
144
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
145
- readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
146
- readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
147
- readonly line_items?: io.flow.common.v0.models.LineItemForm[];
148
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
149
- }
150
-
151
- interface RatecardForm {
152
- readonly direction: io.flow.label.v0.enums.Direction;
153
- readonly effective_at: string;
154
- readonly origination_zones: io.flow.common.v0.models.Zone[];
155
- readonly service: string;
156
- readonly number?: string;
157
- readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
158
- }
159
-
160
- interface RatecardLane {
161
- readonly id: string;
162
- readonly ratecard: io.flow.ratecard.v0.models.RatecardReference;
163
- readonly currency: string;
164
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
165
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
166
- readonly destination: io.flow.common.v0.models.Zone;
167
- readonly dim_factor: number;
168
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
169
- readonly origin: io.flow.common.v0.models.Zone;
170
- readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
171
- readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
172
- readonly rounding: io.flow.common.v0.models.Rounding;
173
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
174
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
175
- }
176
-
177
- interface RatecardLaneForm {
178
- readonly ratecard_id: string;
179
- readonly currency: string;
180
- readonly destination: io.flow.common.v0.models.Zone;
181
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
182
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
183
- readonly dim_factor: number;
184
- readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
185
- readonly origin: io.flow.common.v0.models.Zone;
186
- readonly rounding: io.flow.common.v0.models.Rounding;
187
- readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
188
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
189
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
190
- }
191
-
192
- interface RatecardLaneImportForm {
193
- readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
194
- readonly service: string;
195
- readonly currency: string;
196
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
197
- readonly origin: io.flow.common.v0.models.Zone;
198
- readonly destination: io.flow.common.v0.models.Zone;
199
- readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
200
- readonly dim_factor: number;
201
- readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
202
- readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
203
- readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
204
- }
205
-
206
- interface RatecardLaneVersion {
207
- readonly id: string;
208
- readonly timestamp: string;
209
- readonly type: io.flow.common.v0.enums.ChangeType;
210
- readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
211
- }
212
-
213
- interface RatecardLanesImportRequestData {
214
- readonly id: string;
215
- readonly source_url: string;
216
- readonly filename?: string;
217
- }
218
-
219
- interface RatecardRate {
220
- readonly id: string;
221
- readonly amount: number;
222
- readonly weight: number;
223
- }
224
-
225
- interface RatecardRateForm {
226
- readonly amount: number;
227
- readonly weight: number;
228
- }
229
-
230
- interface RatecardRateVersion {
231
- readonly id: string;
232
- readonly timestamp: string;
233
- readonly type: io.flow.common.v0.enums.ChangeType;
234
- readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
235
- }
236
-
237
- interface RatecardReference {
238
- readonly id: string;
239
- }
240
-
241
- interface RatecardServiceSummary {
242
- readonly id: string;
243
- readonly name: string;
244
- readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
245
- }
246
-
247
- interface RatecardVersion {
248
- readonly id: string;
249
- readonly timestamp: string;
250
- readonly type: io.flow.common.v0.enums.ChangeType;
251
- readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
252
- }
253
-
254
- interface RemoteAreaRatecardFee {
255
- readonly discriminator: 'remote_area_ratecard_fee';
256
- readonly amount: io.flow.common.v0.models.Money;
257
- }
258
-
259
- interface RemoteAreaServiceFee {
260
- readonly discriminator: 'remote_area_service_fee';
261
- readonly amount: io.flow.common.v0.models.Money;
262
- }
263
-
264
- interface ReturnPackageRatecardFee {
265
- readonly discriminator: 'return_package_ratecard_fee';
266
- readonly amount: number;
267
- }
268
-
269
- interface ShipmentWindow {
270
- readonly from: number;
271
- readonly to: number;
272
- }
273
- }
274
-
275
- declare namespace io.flow.ratecard.v0.unions {
276
- type RatecardEstimate =
277
- | io.flow.ratecard.v0.models.RatecardEstimateV1
278
- | io.flow.ratecard.v0.models.RatecardEstimateV2;
279
- type RatecardEstimateForm =
280
- | io.flow.ratecard.v0.models.RatecardEstimateFormV1
281
- | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
282
- type RatecardFee =
283
- | io.flow.ratecard.v0.models.DdpRatecardFee
284
- | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
285
- | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
286
- | io.flow.ratecard.v0.models.ReturnPackageRatecardFee
287
- | io.flow.ratecard.v0.models.CrossdockRatecardFee
288
- | io.flow.ratecard.v0.models.RemoteAreaRatecardFee;
289
- type ServiceFee =
290
- | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
291
- | io.flow.ratecard.v0.models.RemoteAreaServiceFee;
292
- }
293
-
294
1
  declare namespace io.flow.bundle.checkout.v0.enums {
295
2
  type CheckoutErrorCode =
296
3
  | 'generic_error'
@@ -1139,594 +846,841 @@ declare namespace io.flow.experience.v0.models {
1139
846
  readonly contact?: io.flow.common.v0.models.Contact;
1140
847
  }
1141
848
 
1142
- interface OrderBuilder {
1143
- readonly order?: io.flow.experience.v0.models.Order;
1144
- readonly errors?: io.flow.experience.v0.models.OrderError[];
849
+ interface OrderBuilder {
850
+ readonly order?: io.flow.experience.v0.models.Order;
851
+ readonly errors?: io.flow.experience.v0.models.OrderError[];
852
+ }
853
+
854
+ interface OrderBuilderAttributesForm {
855
+ readonly attributes: Record<string, string>;
856
+ }
857
+
858
+ interface OrderBuilderCustomerInvoiceAddressForm {
859
+ readonly address: io.flow.common.v0.models.BillingAddress;
860
+ }
861
+
862
+ interface OrderBuilderDeliveredDutyForm {
863
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
864
+ }
865
+
866
+ interface OrderBuilderDestinationCountryForm {
867
+ readonly country: string;
868
+ }
869
+
870
+ interface OrderBuilderDestinationForm {
871
+ readonly destination: io.flow.experience.v0.models.OrderAddress;
872
+ }
873
+
874
+ interface OrderDestinationPutForm {
875
+ readonly destination: io.flow.experience.v0.models.OrderAddress;
876
+ }
877
+
878
+ interface OrderError {
879
+ readonly code: io.flow.experience.v0.enums.OrderErrorCode;
880
+ readonly messages: string[];
881
+ readonly numbers?: string[];
882
+ readonly destination_country?: io.flow.reference.v0.models.Country;
883
+ readonly threshold?: io.flow.experience.v0.models.ValueThresholdExceededDetails;
884
+ }
885
+
886
+ interface OrderEstimate {
887
+ readonly id: string;
888
+ readonly items: io.flow.experience.v0.models.LocalizedLineItem[];
889
+ readonly destination: io.flow.experience.v0.models.OrderAddress;
890
+ readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
891
+ readonly prices: io.flow.order.price.v0.models.OrderPriceDetail[];
892
+ readonly selections: string[];
893
+ readonly total: io.flow.catalog.v0.models.LocalizedTotal;
894
+ readonly lines?: io.flow.experience.v0.models.Line[];
895
+ readonly promotions?: io.flow.experience.v0.models.Promotions;
896
+ }
897
+
898
+ interface OrderEstimateForm {
899
+ readonly items: io.flow.common.v0.models.LineItemForm[];
900
+ readonly destination?: io.flow.experience.v0.models.OrderAddress;
901
+ readonly selections?: string[];
902
+ }
903
+
904
+ interface OrderForm {
905
+ readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
906
+ readonly items: io.flow.common.v0.models.LineItemForm[];
907
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
908
+ readonly number?: string;
909
+ readonly destination?: io.flow.experience.v0.models.OrderAddress;
910
+ readonly discount?: io.flow.common.v0.models.Money;
911
+ readonly discounts?: io.flow.common.v0.models.DiscountsForm;
912
+ readonly attributes?: Record<string, string>;
913
+ readonly authorization_keys?: string[];
914
+ readonly options?: io.flow.experience.v0.models.OrderOptions;
915
+ }
916
+
917
+ interface OrderGeo {
918
+ readonly ip?: string;
919
+ readonly country: string;
920
+ readonly currency?: string;
921
+ readonly language?: string;
922
+ }
923
+
924
+ interface OrderIdentifier {
925
+ readonly id: string;
926
+ readonly order: io.flow.experience.v0.models.OrderReference;
927
+ readonly name: string;
928
+ readonly identifier: string;
929
+ readonly primary: boolean;
930
+ readonly number?: string;
931
+ }
932
+
933
+ interface OrderIdentifierForm {
934
+ readonly order: string;
935
+ readonly name?: string;
936
+ readonly identifier?: string;
937
+ readonly number?: string;
938
+ readonly primary?: boolean;
939
+ }
940
+
941
+ interface OrderIdentifierPutForm {
942
+ readonly order: string;
943
+ readonly name?: string;
944
+ readonly primary?: boolean;
945
+ }
946
+
947
+ interface OrderIdentifierVersion {
948
+ readonly id: string;
949
+ readonly timestamp: string;
950
+ readonly type: io.flow.common.v0.enums.ChangeType;
951
+ readonly order_identifier: io.flow.experience.v0.models.OrderIdentifier;
952
+ }
953
+
954
+ interface OrderNumberGeneratorDefaults {
955
+ readonly starts_with: number;
956
+ readonly min_hex_length: number;
957
+ readonly min_starts_with: number;
958
+ }
959
+
960
+ interface OrderNumberGeneratorFixedLength {
961
+ readonly length: number;
962
+ readonly padding: string;
963
+ }
964
+
965
+ interface OrderNumberGeneratorHexadecimal {
966
+ readonly discriminator: 'hexadecimal';
967
+ readonly length: number;
968
+ }
969
+
970
+ interface OrderNumberGeneratorPrefixSuffix {
971
+ readonly discriminator: 'prefix_suffix';
972
+ readonly prefix?: string;
973
+ readonly starts_with?: number;
974
+ readonly suffix?: string;
975
+ readonly fixed_length?: io.flow.experience.v0.models.OrderNumberGeneratorFixedLength;
976
+ }
977
+
978
+ interface OrderNumberGeneratorUuid {
979
+ readonly discriminator: 'uuid';
980
+ readonly prefix?: string;
981
+ }
982
+
983
+ interface OrderNumberReference {
984
+ readonly number: string;
985
+ }
986
+
987
+ interface OrderOptions {
988
+ readonly storage: io.flow.experience.v0.enums.OrderStorage;
989
+ }
990
+
991
+ interface OrderPayment {
992
+ readonly id: string;
993
+ readonly type: io.flow.experience.v0.enums.OrderPaymentType;
994
+ readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
995
+ readonly reference: string;
996
+ readonly description: string;
997
+ readonly total: io.flow.common.v0.models.PriceWithBase;
998
+ readonly address?: io.flow.common.v0.models.BillingAddress;
999
+ readonly date?: string;
1000
+ readonly attributes?: Record<string, string>;
1001
+ }
1002
+
1003
+ interface OrderPromotionTrigger {
1004
+ readonly type: io.flow.experience.v0.enums.PromotionTriggerType;
1005
+ readonly min?: io.flow.common.v0.models.Price;
1006
+ }
1007
+
1008
+ interface OrderPutForm {
1009
+ readonly items: io.flow.common.v0.models.LineItemForm[];
1010
+ readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
1011
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
1012
+ readonly selections?: string[];
1013
+ readonly destination?: io.flow.experience.v0.models.OrderAddress;
1014
+ readonly discount?: io.flow.common.v0.models.Money;
1015
+ readonly discounts?: io.flow.common.v0.models.DiscountsForm;
1016
+ readonly attributes?: Record<string, string>;
1017
+ readonly authorization_keys?: string[];
1018
+ readonly options?: io.flow.experience.v0.models.OrderOptions;
1019
+ }
1020
+
1021
+ interface OrderReference {
1022
+ readonly discriminator: 'order_reference';
1023
+ readonly id: string;
1024
+ readonly number: string;
1025
+ }
1026
+
1027
+ interface OrderRuleReference {
1028
+ readonly id: string;
1029
+ readonly key: string;
1030
+ }
1031
+
1032
+ interface OrderRulesSummary {
1033
+ readonly applied: io.flow.experience.v0.models.OrderRuleReference[];
1034
+ }
1035
+
1036
+ interface OrderServiceChange {
1037
+ readonly id: string;
1038
+ readonly from: io.flow.reference.v0.models.CarrierService;
1039
+ readonly to: io.flow.reference.v0.models.CarrierService;
1040
+ }
1041
+
1042
+ interface OrderServiceChangeForm {
1043
+ readonly from_service_id: string;
1044
+ readonly to_service_id: string;
1045
+ }
1046
+
1047
+ interface OrderServiceChangeRequestData {
1048
+ readonly id: string;
1049
+ readonly source_url: string;
1050
+ readonly filename?: string;
1051
+ }
1052
+
1053
+ interface OrderSubmissionForm {
1054
+ readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
1055
+ }
1056
+
1057
+ interface OrderSubmissionIdentifierForm {
1058
+ readonly identifier: string;
1059
+ readonly name?: string;
1060
+ readonly primary?: boolean;
1061
+ }
1062
+
1063
+ interface OrderSummary {
1064
+ readonly number: string;
1065
+ readonly subtotal: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1066
+ readonly shipping?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1067
+ readonly tax?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1068
+ readonly duty?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1069
+ readonly insurance?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1070
+ readonly discount?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1071
+ readonly surcharges?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1072
+ readonly adjustment?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1073
+ readonly total: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1074
+ readonly lines: io.flow.experience.v0.models.OrderSummaryLineItem[];
1075
+ readonly identifiers?: Record<string, string>;
1076
+ }
1077
+
1078
+ interface OrderSummaryImage {
1079
+ readonly url: string;
1080
+ }
1081
+
1082
+ interface OrderSummaryItem {
1083
+ readonly number: string;
1084
+ readonly name: string;
1085
+ readonly description?: string;
1086
+ readonly attributes: io.flow.experience.v0.models.CheckoutItemContentAttribute[];
1087
+ readonly image?: io.flow.experience.v0.models.OrderSummaryImage;
1088
+ readonly price: io.flow.common.v0.models.Price;
1089
+ readonly discount?: io.flow.common.v0.models.Price;
1090
+ readonly tax?: io.flow.experience.v0.models.OrderSummaryLevy;
1091
+ readonly duty?: io.flow.experience.v0.models.OrderSummaryLevy;
1092
+ readonly price_attributes: Record<string, io.flow.common.v0.models.Price>;
1093
+ }
1094
+
1095
+ interface OrderSummaryLevy {
1096
+ readonly rate: number;
1097
+ readonly rate_label?: string;
1098
+ readonly value: io.flow.common.v0.models.Price;
1099
+ }
1100
+
1101
+ interface OrderSummaryLineItem {
1102
+ readonly item: io.flow.experience.v0.models.OrderSummaryItem;
1103
+ readonly quantity: number;
1104
+ readonly discount?: io.flow.common.v0.models.Price;
1105
+ readonly tax?: io.flow.experience.v0.models.OrderSummaryLevy;
1106
+ readonly duty?: io.flow.experience.v0.models.OrderSummaryLevy;
1107
+ readonly total: io.flow.common.v0.models.Price;
1108
+ readonly price_attributes: Record<string, io.flow.common.v0.models.Price>;
1145
1109
  }
1146
1110
 
1147
- interface OrderBuilderAttributesForm {
1148
- readonly attributes: Record<string, string>;
1111
+ interface OrderSummaryPriceDetail {
1112
+ readonly price: io.flow.common.v0.models.Price;
1113
+ readonly name?: string;
1114
+ readonly rate?: number;
1115
+ readonly rate_label?: string;
1149
1116
  }
1150
1117
 
1151
- interface OrderBuilderCustomerInvoiceAddressForm {
1152
- readonly address: io.flow.common.v0.models.BillingAddress;
1118
+ interface OrderVersion {
1119
+ readonly id: string;
1120
+ readonly timestamp: string;
1121
+ readonly type: io.flow.common.v0.enums.ChangeType;
1122
+ readonly order: io.flow.experience.v0.models.Order;
1153
1123
  }
1154
1124
 
1155
- interface OrderBuilderDeliveredDutyForm {
1156
- readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
1125
+ interface OrderWithDiscountsForm {
1126
+ readonly order: io.flow.experience.v0.models.OrderForm;
1127
+ readonly discounts: string[];
1157
1128
  }
1158
1129
 
1159
- interface OrderBuilderDestinationCountryForm {
1160
- readonly country: string;
1130
+ interface OriginalPrices {
1131
+ readonly value: io.flow.common.v0.models.Price;
1132
+ readonly max: io.flow.common.v0.models.Price;
1161
1133
  }
1162
1134
 
1163
- interface OrderBuilderDestinationForm {
1164
- readonly destination: io.flow.experience.v0.models.OrderAddress;
1135
+ interface PaymentMethodIssuer {
1136
+ readonly id: string;
1137
+ readonly name: string;
1165
1138
  }
1166
1139
 
1167
- interface OrderDestinationPutForm {
1168
- readonly destination: io.flow.experience.v0.models.OrderAddress;
1140
+ interface PaymentMethodRule {
1141
+ readonly tags: io.flow.experience.v0.unions.PaymentMethodTag[];
1142
+ readonly payment_method: io.flow.reference.v0.models.PaymentMethod;
1143
+ readonly display_position: number;
1144
+ readonly content?: io.flow.experience.v0.models.PaymentMethodRuleContent[];
1145
+ readonly issuers?: io.flow.experience.v0.models.PaymentMethodIssuer[];
1146
+ readonly programs?: any /*object*/[];
1147
+ readonly q?: io.flow.query.builder.v0.models.Query;
1169
1148
  }
1170
1149
 
1171
- interface OrderError {
1172
- readonly code: io.flow.experience.v0.enums.OrderErrorCode;
1173
- readonly messages: string[];
1174
- readonly numbers?: string[];
1175
- readonly destination_country?: io.flow.reference.v0.models.Country;
1176
- readonly threshold?: io.flow.experience.v0.models.ValueThresholdExceededDetails;
1150
+ interface PaymentMethodRuleContent {
1151
+ readonly key: io.flow.experience.v0.enums.PaymentMethodRuleContentKey;
1152
+ readonly value: string;
1177
1153
  }
1178
1154
 
1179
- interface OrderEstimate {
1180
- readonly id: string;
1181
- readonly items: io.flow.experience.v0.models.LocalizedLineItem[];
1182
- readonly destination: io.flow.experience.v0.models.OrderAddress;
1183
- readonly deliveries: io.flow.fulfillment.v0.unions.Delivery[];
1184
- readonly prices: io.flow.order.price.v0.models.OrderPriceDetail[];
1185
- readonly selections: string[];
1186
- readonly total: io.flow.catalog.v0.models.LocalizedTotal;
1187
- readonly lines?: io.flow.experience.v0.models.Line[];
1188
- readonly promotions?: io.flow.experience.v0.models.Promotions;
1155
+ interface PricingSettings {
1156
+ readonly editable: boolean;
1157
+ readonly default_tax_display: io.flow.price.v0.enums.PricingLevySetting;
1158
+ readonly default_duty_display: io.flow.price.v0.enums.PricingLevySetting;
1189
1159
  }
1190
1160
 
1191
- interface OrderEstimateForm {
1192
- readonly items: io.flow.common.v0.models.LineItemForm[];
1193
- readonly destination?: io.flow.experience.v0.models.OrderAddress;
1194
- readonly selections?: string[];
1161
+ interface PromotionTrigger {
1162
+ readonly type: io.flow.experience.v0.enums.PromotionTriggerType;
1163
+ readonly min: io.flow.common.v0.models.Price;
1164
+ readonly remaining: io.flow.common.v0.models.Price;
1195
1165
  }
1196
1166
 
1197
- interface OrderForm {
1198
- readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
1199
- readonly items: io.flow.common.v0.models.LineItemForm[];
1200
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
1201
- readonly number?: string;
1202
- readonly destination?: io.flow.experience.v0.models.OrderAddress;
1203
- readonly discount?: io.flow.common.v0.models.Money;
1204
- readonly discounts?: io.flow.common.v0.models.DiscountsForm;
1205
- readonly attributes?: Record<string, string>;
1206
- readonly authorization_keys?: string[];
1207
- readonly options?: io.flow.experience.v0.models.OrderOptions;
1167
+ interface PromotionTriggerForm {
1168
+ readonly type: io.flow.experience.v0.enums.PromotionTriggerType;
1169
+ readonly min?: io.flow.common.v0.models.PriceForm;
1208
1170
  }
1209
1171
 
1210
- interface OrderGeo {
1211
- readonly ip?: string;
1212
- readonly country: string;
1213
- readonly currency?: string;
1214
- readonly language?: string;
1172
+ interface Promotions {
1173
+ readonly applied: io.flow.experience.v0.unions.Promotion[];
1174
+ readonly available: io.flow.experience.v0.unions.Promotion[];
1215
1175
  }
1216
1176
 
1217
- interface OrderIdentifier {
1177
+ interface RegionReference {
1218
1178
  readonly id: string;
1219
- readonly order: io.flow.experience.v0.models.OrderReference;
1220
- readonly name: string;
1221
- readonly identifier: string;
1222
- readonly primary: boolean;
1223
- readonly number?: string;
1224
1179
  }
1225
1180
 
1226
- interface OrderIdentifierForm {
1227
- readonly order: string;
1228
- readonly name?: string;
1229
- readonly identifier?: string;
1230
- readonly number?: string;
1231
- readonly primary?: boolean;
1181
+ interface ValueThresholdExceededDetails {
1182
+ readonly local: io.flow.common.v0.models.Price;
1183
+ readonly original: io.flow.common.v0.models.Price;
1232
1184
  }
1185
+ }
1233
1186
 
1234
- interface OrderIdentifierPutForm {
1235
- readonly order: string;
1236
- readonly name?: string;
1237
- readonly primary?: boolean;
1238
- }
1187
+ declare namespace io.flow.experience.v0.unions {
1188
+ type AllocationComponent =
1189
+ | io.flow.experience.v0.models.AllocationDetailComponent
1190
+ | io.flow.experience.v0.models.AllocationLevyComponent;
1191
+ type AllocationDetail =
1192
+ | io.flow.experience.v0.models.AllocationLineDetail
1193
+ | io.flow.experience.v0.models.AllocationOrderDetail;
1194
+ type ExpandableExperience =
1195
+ | io.flow.experience.v0.models.Experience
1196
+ | io.flow.experience.v0.models.ExperienceReference;
1197
+ type ExpandableOrder =
1198
+ | io.flow.experience.v0.models.Order
1199
+ | io.flow.experience.v0.models.OrderReference;
1200
+ type OrderNumberGenerator =
1201
+ | io.flow.experience.v0.models.OrderNumberGeneratorUuid
1202
+ | io.flow.experience.v0.models.OrderNumberGeneratorHexadecimal
1203
+ | io.flow.experience.v0.models.OrderNumberGeneratorPrefixSuffix;
1204
+ type OrderPromotion = io.flow.experience.v0.models.FreeShippingOrderPromotion;
1205
+ type OrderPromotionForm = io.flow.experience.v0.models.FreeShippingOrderPromotionForm;
1239
1206
 
1240
- interface OrderIdentifierVersion {
1207
+ type PaymentMethodTag =
1208
+ | {
1209
+ discriminator: 'organization_payment_method_tag';
1210
+ value: io.flow.experience.v0.enums.OrganizationPaymentMethodTag;
1211
+ }
1212
+ | {
1213
+ discriminator: 'experience_payment_method_tag';
1214
+ value: io.flow.experience.v0.enums.ExperiencePaymentMethodTag;
1215
+ };
1216
+
1217
+ type Promotion =
1218
+ | io.flow.experience.v0.models.FreeShipping
1219
+ | io.flow.experience.v0.models.Discount;
1220
+ }
1221
+
1222
+ declare namespace io.flow.RESERVED_WORD_return.v0.enums {
1223
+ type ReturnStatus = 'open' | 'refunded';
1224
+ }
1225
+
1226
+ declare namespace io.flow.RESERVED_WORD_return.v0.models {
1227
+ interface Return {
1241
1228
  readonly id: string;
1242
- readonly timestamp: string;
1243
- readonly type: io.flow.common.v0.enums.ChangeType;
1244
- readonly order_identifier: io.flow.experience.v0.models.OrderIdentifier;
1229
+ readonly key: string;
1230
+ readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
1231
+ readonly labels: io.flow.label.v0.models.ShippingLabel[];
1245
1232
  }
1246
1233
 
1247
- interface OrderNumberGeneratorDefaults {
1248
- readonly starts_with: number;
1249
- readonly min_hex_length: number;
1250
- readonly min_starts_with: number;
1234
+ interface ReturnForm {
1235
+ readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
1236
+ readonly tier_id?: string;
1237
+ readonly order_number?: string;
1238
+ readonly service?: string;
1239
+ readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress;
1240
+ readonly key?: string;
1241
+ readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
1242
+ readonly center_key?: string;
1251
1243
  }
1252
1244
 
1253
- interface OrderNumberGeneratorFixedLength {
1254
- readonly length: number;
1255
- readonly padding: string;
1245
+ interface ReturnItemReference {
1246
+ readonly number: string;
1256
1247
  }
1257
1248
 
1258
- interface OrderNumberGeneratorHexadecimal {
1259
- readonly discriminator: 'hexadecimal';
1260
- readonly length: number;
1249
+ interface ReturnLineItem {
1250
+ readonly item_number: string;
1251
+ readonly order_number?: string;
1252
+ readonly quantity: number;
1253
+ readonly reason?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
1254
+ readonly notes?: string;
1261
1255
  }
1262
1256
 
1263
- interface OrderNumberGeneratorPrefixSuffix {
1264
- readonly discriminator: 'prefix_suffix';
1265
- readonly prefix?: string;
1266
- readonly starts_with?: number;
1267
- readonly suffix?: string;
1268
- readonly fixed_length?: io.flow.experience.v0.models.OrderNumberGeneratorFixedLength;
1257
+ interface ReturnOrderReference {
1258
+ readonly number: string;
1269
1259
  }
1270
1260
 
1271
- interface OrderNumberGeneratorUuid {
1272
- readonly discriminator: 'uuid';
1273
- readonly prefix?: string;
1261
+ interface ReturnReason {
1262
+ readonly key: string;
1263
+ readonly name: string;
1274
1264
  }
1275
1265
 
1276
- interface OrderNumberReference {
1277
- readonly number: string;
1266
+ interface ReturnReasonForm {
1267
+ readonly key?: string;
1268
+ readonly name?: string;
1278
1269
  }
1279
1270
 
1280
- interface OrderOptions {
1281
- readonly storage: io.flow.experience.v0.enums.OrderStorage;
1271
+ interface ReturnReasonPutForm {
1272
+ readonly name?: string;
1282
1273
  }
1283
1274
 
1284
- interface OrderPayment {
1275
+ interface ReturnVersion {
1285
1276
  readonly id: string;
1286
- readonly type: io.flow.experience.v0.enums.OrderPaymentType;
1287
- readonly merchant_of_record?: io.flow.common.v0.enums.MerchantOfRecord;
1288
- readonly reference: string;
1289
- readonly description: string;
1290
- readonly total: io.flow.common.v0.models.PriceWithBase;
1291
- readonly address?: io.flow.common.v0.models.BillingAddress;
1292
- readonly date?: string;
1293
- readonly attributes?: Record<string, string>;
1294
- }
1295
-
1296
- interface OrderPromotionTrigger {
1297
- readonly type: io.flow.experience.v0.enums.PromotionTriggerType;
1298
- readonly min?: io.flow.common.v0.models.Price;
1277
+ readonly timestamp: string;
1278
+ readonly type: io.flow.common.v0.enums.ChangeType;
1279
+ readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
1299
1280
  }
1281
+ }
1300
1282
 
1301
- interface OrderPutForm {
1302
- readonly items: io.flow.common.v0.models.LineItemForm[];
1303
- readonly customer?: io.flow.common.v0.models.OrderCustomerForm;
1304
- readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
1305
- readonly selections?: string[];
1306
- readonly destination?: io.flow.experience.v0.models.OrderAddress;
1307
- readonly discount?: io.flow.common.v0.models.Money;
1308
- readonly discounts?: io.flow.common.v0.models.DiscountsForm;
1309
- readonly attributes?: Record<string, string>;
1310
- readonly authorization_keys?: string[];
1311
- readonly options?: io.flow.experience.v0.models.OrderOptions;
1283
+ declare namespace io.flow.field.validation.v0.models {
1284
+ interface FieldValidationMax {
1285
+ readonly discriminator: 'max';
1286
+ readonly length: number;
1312
1287
  }
1313
1288
 
1314
- interface OrderReference {
1315
- readonly discriminator: 'order_reference';
1316
- readonly id: string;
1317
- readonly number: string;
1289
+ interface FieldValidationMin {
1290
+ readonly discriminator: 'min';
1291
+ readonly length: number;
1318
1292
  }
1319
1293
 
1320
- interface OrderRuleReference {
1321
- readonly id: string;
1322
- readonly key: string;
1294
+ interface FieldValidationPattern {
1295
+ readonly discriminator: 'pattern';
1296
+ readonly pattern: string;
1323
1297
  }
1324
1298
 
1325
- interface OrderRulesSummary {
1326
- readonly applied: io.flow.experience.v0.models.OrderRuleReference[];
1299
+ interface FieldValidationRequired {
1300
+ readonly discriminator: 'required';
1301
+ readonly unused: string;
1327
1302
  }
1303
+ }
1328
1304
 
1329
- interface OrderServiceChange {
1330
- readonly id: string;
1331
- readonly from: io.flow.reference.v0.models.CarrierService;
1332
- readonly to: io.flow.reference.v0.models.CarrierService;
1333
- }
1305
+ declare namespace io.flow.field.validation.v0.unions {
1306
+ type FieldValidationRule =
1307
+ | io.flow.field.validation.v0.models.FieldValidationRequired
1308
+ | io.flow.field.validation.v0.models.FieldValidationMin
1309
+ | io.flow.field.validation.v0.models.FieldValidationMax
1310
+ | io.flow.field.validation.v0.models.FieldValidationPattern;
1311
+ }
1334
1312
 
1335
- interface OrderServiceChangeForm {
1336
- readonly from_service_id: string;
1337
- readonly to_service_id: string;
1338
- }
1313
+ declare namespace io.flow.tracking.internal.v0.enums {
1314
+ type CrossdockTrackingStatus = 'notified' | 'received' | 'shipped';
1315
+ }
1339
1316
 
1340
- interface OrderServiceChangeRequestData {
1341
- readonly id: string;
1342
- readonly source_url: string;
1343
- readonly filename?: string;
1317
+ declare namespace io.flow.tracking.internal.v0.models {
1318
+ interface Dhl {
1319
+ readonly discriminator: 'dhl';
1320
+ readonly export_account_number: string;
1321
+ readonly import_account_number: string;
1322
+ readonly password: string;
1323
+ readonly site_id: string;
1344
1324
  }
1345
1325
 
1346
- interface OrderSubmissionForm {
1347
- readonly identifiers?: io.flow.experience.v0.models.OrderSubmissionIdentifierForm[];
1326
+ interface DhlEcommerce {
1327
+ readonly discriminator: 'dhl_ecommerce';
1328
+ readonly username: string;
1329
+ readonly password: string;
1330
+ readonly client_id: string;
1331
+ readonly pickup_account_number: string;
1332
+ readonly distribution_center: string;
1333
+ readonly pickup_name: string;
1348
1334
  }
1349
1335
 
1350
- interface OrderSubmissionIdentifierForm {
1351
- readonly identifier: string;
1352
- readonly name?: string;
1353
- readonly primary?: boolean;
1336
+ interface FedexCrossborder {
1337
+ readonly discriminator: 'fedex_crossborder';
1338
+ readonly api_key: string;
1339
+ readonly api_url: string;
1354
1340
  }
1355
1341
 
1356
- interface OrderSummary {
1357
- readonly number: string;
1358
- readonly subtotal: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1359
- readonly shipping?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1360
- readonly tax?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1361
- readonly duty?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1362
- readonly insurance?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1363
- readonly discount?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1364
- readonly surcharges?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1365
- readonly adjustment?: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1366
- readonly total: io.flow.experience.v0.models.OrderSummaryPriceDetail;
1367
- readonly lines: io.flow.experience.v0.models.OrderSummaryLineItem[];
1368
- readonly identifiers?: Record<string, string>;
1342
+ interface Landmark {
1343
+ readonly discriminator: 'landmark';
1344
+ readonly username: string;
1345
+ readonly password: string;
1346
+ readonly client_id: string;
1347
+ readonly region: string;
1369
1348
  }
1370
1349
 
1371
- interface OrderSummaryImage {
1372
- readonly url: string;
1350
+ interface SfExpress {
1351
+ readonly discriminator: 'sf_express';
1352
+ readonly checkword: string;
1353
+ readonly customer_code: string;
1354
+ readonly product_code: string;
1355
+ readonly customer_id: string;
1373
1356
  }
1374
1357
 
1375
- interface OrderSummaryItem {
1376
- readonly number: string;
1377
- readonly name: string;
1358
+ interface TrackingEvent {
1359
+ readonly timestamp: string;
1360
+ readonly carrier_status_code: string;
1361
+ readonly location?: string;
1378
1362
  readonly description?: string;
1379
- readonly attributes: io.flow.experience.v0.models.CheckoutItemContentAttribute[];
1380
- readonly image?: io.flow.experience.v0.models.OrderSummaryImage;
1381
- readonly price: io.flow.common.v0.models.Price;
1382
- readonly discount?: io.flow.common.v0.models.Price;
1383
- readonly tax?: io.flow.experience.v0.models.OrderSummaryLevy;
1384
- readonly duty?: io.flow.experience.v0.models.OrderSummaryLevy;
1385
- readonly price_attributes: Record<string, io.flow.common.v0.models.Price>;
1386
1363
  }
1387
1364
 
1388
- interface OrderSummaryLevy {
1389
- readonly rate: number;
1390
- readonly rate_label?: string;
1391
- readonly value: io.flow.common.v0.models.Price;
1365
+ interface TrackingRequest {
1366
+ readonly carrier: string;
1367
+ readonly carrier_tracking_number: string;
1368
+ readonly flow_tracking_number: string;
1369
+ readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
1392
1370
  }
1393
1371
 
1394
- interface OrderSummaryLineItem {
1395
- readonly item: io.flow.experience.v0.models.OrderSummaryItem;
1396
- readonly quantity: number;
1397
- readonly discount?: io.flow.common.v0.models.Price;
1398
- readonly tax?: io.flow.experience.v0.models.OrderSummaryLevy;
1399
- readonly duty?: io.flow.experience.v0.models.OrderSummaryLevy;
1400
- readonly total: io.flow.common.v0.models.Price;
1401
- readonly price_attributes: Record<string, io.flow.common.v0.models.Price>;
1372
+ interface TrackingResponse {
1373
+ readonly carrier: string;
1374
+ readonly carrier_tracking_number: string;
1375
+ readonly flow_tracking_number: string;
1376
+ readonly tracking_events: io.flow.tracking.internal.v0.models.TrackingEvent[];
1402
1377
  }
1403
1378
 
1404
- interface OrderSummaryPriceDetail {
1405
- readonly price: io.flow.common.v0.models.Price;
1406
- readonly name?: string;
1407
- readonly rate?: number;
1408
- readonly rate_label?: string;
1379
+ interface Ups {
1380
+ readonly discriminator: 'ups';
1381
+ readonly username: string;
1382
+ readonly password: string;
1383
+ readonly access_license_number: string;
1409
1384
  }
1385
+ }
1410
1386
 
1411
- interface OrderVersion {
1387
+ declare namespace io.flow.tracking.internal.v0.unions {
1388
+ type CarrierCredentials =
1389
+ | io.flow.tracking.internal.v0.models.SfExpress
1390
+ | io.flow.tracking.internal.v0.models.DhlEcommerce
1391
+ | io.flow.tracking.internal.v0.models.Landmark
1392
+ | io.flow.tracking.internal.v0.models.Dhl
1393
+ | io.flow.tracking.internal.v0.models.FedexCrossborder
1394
+ | io.flow.tracking.internal.v0.models.Ups;
1395
+ }
1396
+
1397
+ declare namespace io.flow.item.v0.models {
1398
+ interface LocalItem {
1412
1399
  readonly id: string;
1413
- readonly timestamp: string;
1414
- readonly type: io.flow.common.v0.enums.ChangeType;
1415
- readonly order: io.flow.experience.v0.models.Order;
1400
+ readonly experience: io.flow.common.v0.models.ExperienceSummary;
1401
+ readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
1402
+ readonly item: io.flow.common.v0.models.CatalogItemReference;
1403
+ readonly pricing: io.flow.item.v0.models.LocalItemPricing;
1404
+ readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
1416
1405
  }
1417
1406
 
1418
- interface OrderWithDiscountsForm {
1419
- readonly order: io.flow.experience.v0.models.OrderForm;
1420
- readonly discounts: string[];
1407
+ interface LocalItemPricing {
1408
+ readonly price: io.flow.catalog.v0.models.LocalizedItemPrice;
1409
+ readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
1410
+ readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
1411
+ readonly attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
1421
1412
  }
1413
+ }
1422
1414
 
1423
- interface OriginalPrices {
1424
- readonly value: io.flow.common.v0.models.Price;
1425
- readonly max: io.flow.common.v0.models.Price;
1426
- }
1415
+ declare namespace io.flow.flexe.v0.enums {
1416
+ type FlexeAttachmentType =
1417
+ | 'shipping_label'
1418
+ | 'packing_slip'
1419
+ | 'packing_slip_letter';
1420
+ type FlexeNotification = 'receipt' | 'shipment';
1421
+ type FlexeShipmentType =
1422
+ | 'fulfillment_order'
1423
+ | 'retail_fulfillment_order'
1424
+ | 'carton_pick_delivery'
1425
+ | 'delivery'
1426
+ | 'container_delivery';
1427
+ type FlexeStatus = 'in_transit' | 'completed';
1428
+ }
1427
1429
 
1428
- interface PaymentMethodIssuer {
1429
- readonly id: string;
1430
- readonly name: string;
1430
+ declare namespace io.flow.flexe.v0.models {
1431
+ interface BillOfLading {
1432
+ readonly type: string;
1433
+ readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
1431
1434
  }
1432
1435
 
1433
- interface PaymentMethodRule {
1434
- readonly tags: io.flow.experience.v0.unions.PaymentMethodTag[];
1435
- readonly payment_method: io.flow.reference.v0.models.PaymentMethod;
1436
- readonly display_position: number;
1437
- readonly content?: io.flow.experience.v0.models.PaymentMethodRuleContent[];
1438
- readonly issuers?: io.flow.experience.v0.models.PaymentMethodIssuer[];
1439
- readonly programs?: any /*object*/[];
1440
- readonly q?: io.flow.query.builder.v0.models.Query;
1436
+ interface BillTo {
1437
+ readonly name: string;
1438
+ readonly address_1: string;
1439
+ readonly locality: string;
1440
+ readonly region: string;
1441
+ readonly postal_code: string;
1442
+ readonly country: string;
1443
+ readonly address_2?: string;
1444
+ readonly address_3?: string;
1441
1445
  }
1442
1446
 
1443
- interface PaymentMethodRuleContent {
1444
- readonly key: io.flow.experience.v0.enums.PaymentMethodRuleContentKey;
1445
- readonly value: string;
1447
+ interface CartonPickDeliveryDetails {
1448
+ readonly shipment_uuid?: string;
1449
+ readonly carrier?: string;
1450
+ readonly carrier_id?: string;
1446
1451
  }
1447
1452
 
1448
- interface PricingSettings {
1449
- readonly editable: boolean;
1450
- readonly default_tax_display: io.flow.price.v0.enums.PricingLevySetting;
1451
- readonly default_duty_display: io.flow.price.v0.enums.PricingLevySetting;
1453
+ interface ContainerDeliveryDetails {
1454
+ readonly purchase_order: string;
1455
+ readonly container_number?: string;
1456
+ readonly seal_number?: string;
1457
+ readonly vendor?: string;
1458
+ readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1459
+ readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1460
+ readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1461
+ readonly quantities_by_inventory: Record<
1462
+ string,
1463
+ io.flow.flexe.v0.models.QuantityByInventory
1464
+ >;
1452
1465
  }
1453
1466
 
1454
- interface PromotionTrigger {
1455
- readonly type: io.flow.experience.v0.enums.PromotionTriggerType;
1456
- readonly min: io.flow.common.v0.models.Price;
1457
- readonly remaining: io.flow.common.v0.models.Price;
1467
+ interface DeliveryDetails {
1468
+ readonly shipment_uuid?: string;
1469
+ readonly trailer_number?: string;
1470
+ readonly pallets: io.flow.flexe.v0.models.Pallet[];
1471
+ readonly quantities_by_inventory: Record<
1472
+ string,
1473
+ io.flow.flexe.v0.models.QuantityByInventory
1474
+ >;
1458
1475
  }
1459
1476
 
1460
- interface PromotionTriggerForm {
1461
- readonly type: io.flow.experience.v0.enums.PromotionTriggerType;
1462
- readonly min?: io.flow.common.v0.models.PriceForm;
1477
+ interface Error {
1478
+ readonly url: string;
1479
+ readonly client_request_id: string;
1480
+ readonly generated_at: string;
1481
+ readonly error: string;
1463
1482
  }
1464
1483
 
1465
- interface Promotions {
1466
- readonly applied: io.flow.experience.v0.unions.Promotion[];
1467
- readonly available: io.flow.experience.v0.unions.Promotion[];
1484
+ interface FlexeAttachment {
1485
+ readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
1486
+ readonly display_name: string;
1487
+ readonly url: string;
1468
1488
  }
1469
1489
 
1470
- interface RegionReference {
1471
- readonly id: string;
1490
+ interface FlexeEcommerceFulfillment {
1491
+ readonly url: string;
1492
+ readonly client_request_id: string;
1493
+ readonly generated_at: string;
1494
+ readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
1495
+ readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
1472
1496
  }
1473
1497
 
1474
- interface ValueThresholdExceededDetails {
1475
- readonly local: io.flow.common.v0.models.Price;
1476
- readonly original: io.flow.common.v0.models.Price;
1498
+ interface FlexeEcommerceFulfillmentData {
1499
+ readonly import_id: string;
1500
+ readonly succeeded_uuids: string[];
1501
+ readonly failed_uuids: string[];
1502
+ readonly errors: string[];
1477
1503
  }
1478
- }
1479
-
1480
- declare namespace io.flow.experience.v0.unions {
1481
- type AllocationComponent =
1482
- | io.flow.experience.v0.models.AllocationDetailComponent
1483
- | io.flow.experience.v0.models.AllocationLevyComponent;
1484
- type AllocationDetail =
1485
- | io.flow.experience.v0.models.AllocationLineDetail
1486
- | io.flow.experience.v0.models.AllocationOrderDetail;
1487
- type ExpandableExperience =
1488
- | io.flow.experience.v0.models.Experience
1489
- | io.flow.experience.v0.models.ExperienceReference;
1490
- type ExpandableOrder =
1491
- | io.flow.experience.v0.models.Order
1492
- | io.flow.experience.v0.models.OrderReference;
1493
- type OrderNumberGenerator =
1494
- | io.flow.experience.v0.models.OrderNumberGeneratorUuid
1495
- | io.flow.experience.v0.models.OrderNumberGeneratorHexadecimal
1496
- | io.flow.experience.v0.models.OrderNumberGeneratorPrefixSuffix;
1497
- type OrderPromotion = io.flow.experience.v0.models.FreeShippingOrderPromotion;
1498
- type OrderPromotionForm = io.flow.experience.v0.models.FreeShippingOrderPromotionForm;
1499
-
1500
- type PaymentMethodTag =
1501
- | {
1502
- discriminator: 'organization_payment_method_tag';
1503
- value: io.flow.experience.v0.enums.OrganizationPaymentMethodTag;
1504
- }
1505
- | {
1506
- discriminator: 'experience_payment_method_tag';
1507
- value: io.flow.experience.v0.enums.ExperiencePaymentMethodTag;
1508
- };
1509
-
1510
- type Promotion =
1511
- | io.flow.experience.v0.models.FreeShipping
1512
- | io.flow.experience.v0.models.Discount;
1513
- }
1514
-
1515
- declare namespace io.flow.RESERVED_WORD_return.v0.enums {
1516
- type ReturnStatus = 'open' | 'refunded';
1517
- }
1518
1504
 
1519
- declare namespace io.flow.RESERVED_WORD_return.v0.models {
1520
- interface Return {
1521
- readonly id: string;
1522
- readonly key: string;
1523
- readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
1524
- readonly labels: io.flow.label.v0.models.ShippingLabel[];
1505
+ interface FlexeEcommerceFulfillmentErrors {
1506
+ readonly status: string;
1507
+ readonly title: string;
1508
+ readonly detail: string;
1509
+ readonly source?: string;
1525
1510
  }
1526
1511
 
1527
- interface ReturnForm {
1528
- readonly items: io.flow.RESERVED_WORD_return.v0.models.ReturnLineItem[];
1529
- readonly tier_id?: string;
1530
- readonly order_number?: string;
1531
- readonly service?: string;
1532
- readonly destination?: io.flow.fulfillment.v0.models.ShippingAddress;
1533
- readonly key?: string;
1534
- readonly origin?: io.flow.fulfillment.v0.models.ShippingAddress;
1535
- readonly center_key?: string;
1512
+ interface FlexeEcommerceFulfillmentForm {
1513
+ readonly reservation_id: number;
1514
+ readonly client_request_id: string;
1515
+ readonly request: io.flow.flexe.v0.models.Orders;
1536
1516
  }
1537
1517
 
1538
- interface ReturnItemReference {
1539
- readonly number: string;
1518
+ interface FlexeInventoryData {
1519
+ readonly sku: string;
1520
+ readonly quantity: string;
1521
+ readonly unit: string;
1540
1522
  }
1541
1523
 
1542
- interface ReturnLineItem {
1543
- readonly item_number: string;
1544
- readonly order_number?: string;
1545
- readonly quantity: number;
1546
- readonly reason?: io.flow.RESERVED_WORD_return.v0.models.ReturnReason;
1547
- readonly notes?: string;
1524
+ interface FlexeRetailAttachment {
1525
+ readonly display_name: string;
1526
+ readonly url: string;
1548
1527
  }
1549
1528
 
1550
- interface ReturnOrderReference {
1551
- readonly number: string;
1529
+ interface FlexeRetailFulfillment {
1530
+ readonly url: string;
1531
+ readonly client_request_id: string;
1532
+ readonly generated_at: string;
1533
+ readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
1534
+ readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
1552
1535
  }
1553
1536
 
1554
- interface ReturnReason {
1555
- readonly key: string;
1556
- readonly name: string;
1537
+ interface FlexeRetailFulfillmentData {
1538
+ readonly id: string;
1539
+ readonly purchase_order_uuid: string;
1540
+ readonly status: string;
1557
1541
  }
1558
1542
 
1559
- interface ReturnReasonForm {
1560
- readonly key?: string;
1561
- readonly name?: string;
1543
+ interface FlexeRetailFulfillmentErrors {
1544
+ readonly type: string;
1545
+ readonly message: string;
1562
1546
  }
1563
1547
 
1564
- interface ReturnReasonPutForm {
1565
- readonly name?: string;
1548
+ interface FlexeRetailFulfillmentForm {
1549
+ readonly reservation_id: number;
1550
+ readonly client_request_id?: string;
1551
+ readonly request: io.flow.flexe.v0.models.RetailOrder;
1566
1552
  }
1567
1553
 
1568
- interface ReturnVersion {
1569
- readonly id: string;
1570
- readonly timestamp: string;
1571
- readonly type: io.flow.common.v0.enums.ChangeType;
1572
- readonly return: io.flow.RESERVED_WORD_return.v0.models.Return;
1554
+ interface FulfillmentOrderDetails {
1555
+ readonly shipment_uuid: string;
1556
+ readonly carrier?: string;
1557
+ readonly carrier_id?: string;
1573
1558
  }
1574
- }
1575
1559
 
1576
- declare namespace io.flow.field.validation.v0.models {
1577
- interface FieldValidationMax {
1578
- readonly discriminator: 'max';
1579
- readonly length: number;
1560
+ interface Gs1Us {
1561
+ readonly number: string;
1562
+ readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
1563
+ readonly bill_to?: io.flow.flexe.v0.models.BillTo;
1580
1564
  }
1581
1565
 
1582
- interface FieldValidationMin {
1583
- readonly discriminator: 'min';
1584
- readonly length: number;
1566
+ interface Gs1UsShipTo {
1567
+ readonly cid_number?: string;
1568
+ readonly location_number?: string;
1569
+ readonly free_on_board?: boolean;
1585
1570
  }
1586
1571
 
1587
- interface FieldValidationPattern {
1588
- readonly discriminator: 'pattern';
1589
- readonly pattern: string;
1572
+ interface Inventory {
1573
+ readonly url: string;
1574
+ readonly client_request_id: string;
1575
+ readonly generated_at: string;
1576
+ readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1590
1577
  }
1591
1578
 
1592
- interface FieldValidationRequired {
1593
- readonly discriminator: 'required';
1594
- readonly unused: string;
1579
+ interface InventoryCount {
1580
+ readonly amount: number;
1581
+ readonly unit: string;
1595
1582
  }
1596
- }
1597
-
1598
- declare namespace io.flow.field.validation.v0.unions {
1599
- type FieldValidationRule =
1600
- | io.flow.field.validation.v0.models.FieldValidationRequired
1601
- | io.flow.field.validation.v0.models.FieldValidationMin
1602
- | io.flow.field.validation.v0.models.FieldValidationMax
1603
- | io.flow.field.validation.v0.models.FieldValidationPattern;
1604
- }
1605
1583
 
1606
- declare namespace io.flow.tracking.internal.v0.enums {
1607
- type CrossdockTrackingStatus = 'notified' | 'received' | 'shipped';
1608
- }
1584
+ interface InventoryData {
1585
+ readonly pallet: io.flow.flexe.v0.models.InventoryCount;
1586
+ readonly carton?: io.flow.flexe.v0.models.InventoryCount;
1587
+ readonly each?: io.flow.flexe.v0.models.InventoryCount;
1588
+ }
1609
1589
 
1610
- declare namespace io.flow.tracking.internal.v0.models {
1611
- interface Dhl {
1612
- readonly discriminator: 'dhl';
1613
- readonly export_account_number: string;
1614
- readonly import_account_number: string;
1615
- readonly password: string;
1616
- readonly site_id: string;
1590
+ interface InventoryDetails {
1591
+ readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
1617
1592
  }
1618
1593
 
1619
- interface DhlEcommerce {
1620
- readonly discriminator: 'dhl_ecommerce';
1621
- readonly username: string;
1622
- readonly password: string;
1623
- readonly client_id: string;
1624
- readonly pickup_account_number: string;
1625
- readonly distribution_center: string;
1626
- readonly pickup_name: string;
1594
+ interface LadingQuantity {
1595
+ readonly num_pallets: number;
1627
1596
  }
1628
1597
 
1629
- interface FedexCrossborder {
1630
- readonly discriminator: 'fedex_crossborder';
1631
- readonly api_key: string;
1632
- readonly api_url: string;
1598
+ interface Order {
1599
+ readonly shipment_uuid: string;
1600
+ readonly purchase_order: string;
1601
+ readonly carrier: string;
1602
+ readonly service_type: string;
1603
+ readonly carrier_assigned_id: string;
1604
+ readonly name: string;
1605
+ readonly address_1: string;
1606
+ readonly address_2?: string;
1607
+ readonly address_3?: string;
1608
+ readonly city: string;
1609
+ readonly state: string;
1610
+ readonly postal_code: string;
1611
+ readonly phone?: string;
1612
+ readonly instructions?: string;
1613
+ readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
1614
+ readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
1633
1615
  }
1634
1616
 
1635
- interface Landmark {
1636
- readonly discriminator: 'landmark';
1637
- readonly username: string;
1638
- readonly password: string;
1639
- readonly client_id: string;
1640
- readonly region: string;
1617
+ interface Orders {
1618
+ readonly orders: io.flow.flexe.v0.models.Order[];
1641
1619
  }
1642
1620
 
1643
- interface SfExpress {
1644
- readonly discriminator: 'sf_express';
1645
- readonly checkword: string;
1646
- readonly customer_code: string;
1647
- readonly product_code: string;
1648
- readonly customer_id: string;
1621
+ interface Pallet {
1622
+ readonly pallet_id: string;
1623
+ readonly sku: string;
1624
+ readonly quantity: number;
1625
+ readonly packaging: string;
1649
1626
  }
1650
1627
 
1651
- interface TrackingEvent {
1652
- readonly timestamp: string;
1653
- readonly carrier_status_code: string;
1654
- readonly location?: string;
1655
- readonly description?: string;
1628
+ interface PurchaseOrder {
1629
+ readonly retail_fulfillment_order_id: string;
1630
+ readonly bill_of_lading_number: string;
1631
+ readonly purchase_order_uuid: string;
1632
+ readonly pickup_window_start: string;
1633
+ readonly pickup_window_end: string;
1634
+ readonly tags: string[];
1656
1635
  }
1657
1636
 
1658
- interface TrackingRequest {
1659
- readonly carrier: string;
1660
- readonly carrier_tracking_number: string;
1661
- readonly flow_tracking_number: string;
1662
- readonly credentials: io.flow.tracking.internal.v0.unions.CarrierCredentials;
1637
+ interface QuantityByInventory {
1638
+ readonly received: io.flow.flexe.v0.models.InventoryData;
1639
+ readonly expected?: io.flow.flexe.v0.models.InventoryData;
1640
+ readonly damaged?: io.flow.flexe.v0.models.InventoryData;
1663
1641
  }
1664
1642
 
1665
- interface TrackingResponse {
1666
- readonly carrier: string;
1667
- readonly carrier_tracking_number: string;
1668
- readonly flow_tracking_number: string;
1669
- readonly tracking_events: io.flow.tracking.internal.v0.models.TrackingEvent[];
1643
+ interface ReceiptNotification {
1644
+ readonly shipment_id: string;
1645
+ readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1646
+ readonly reservation_id: string;
1647
+ readonly status: io.flow.flexe.v0.enums.FlexeStatus;
1648
+ readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
1649
+ readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
1670
1650
  }
1671
1651
 
1672
- interface Ups {
1673
- readonly discriminator: 'ups';
1674
- readonly username: string;
1675
- readonly password: string;
1676
- readonly access_license_number: string;
1652
+ interface RetailFulfillmentOrderDetails {
1653
+ readonly master_bill_of_lading_number: string;
1654
+ readonly scac: string;
1655
+ readonly pro_number: string;
1656
+ readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
1657
+ readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
1677
1658
  }
1678
- }
1679
-
1680
- declare namespace io.flow.tracking.internal.v0.unions {
1681
- type CarrierCredentials =
1682
- | io.flow.tracking.internal.v0.models.SfExpress
1683
- | io.flow.tracking.internal.v0.models.DhlEcommerce
1684
- | io.flow.tracking.internal.v0.models.Landmark
1685
- | io.flow.tracking.internal.v0.models.Dhl
1686
- | io.flow.tracking.internal.v0.models.FedexCrossborder
1687
- | io.flow.tracking.internal.v0.models.Ups;
1688
- }
1689
1659
 
1690
- declare namespace io.flow.item.v0.models {
1691
- interface LocalItem {
1692
- readonly id: string;
1693
- readonly experience: io.flow.common.v0.models.ExperienceSummary;
1694
- readonly center?: io.flow.fulfillment.v0.models.CenterSummary;
1695
- readonly item: io.flow.common.v0.models.CatalogItemReference;
1696
- readonly pricing: io.flow.item.v0.models.LocalItemPricing;
1697
- readonly status: io.flow.catalog.v0.enums.SubcatalogItemStatus;
1660
+ interface RetailInventoryData {
1661
+ readonly sku: string;
1662
+ readonly quantity: number;
1663
+ readonly unit: string;
1664
+ readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
1698
1665
  }
1699
1666
 
1700
- interface LocalItemPricing {
1701
- readonly price: io.flow.catalog.v0.models.LocalizedItemPrice;
1702
- readonly vat?: io.flow.catalog.v0.models.LocalizedItemVat;
1703
- readonly duty?: io.flow.catalog.v0.models.LocalizedItemDuty;
1704
- readonly attributes: Record<string, io.flow.common.v0.models.PriceWithBase>;
1667
+ interface RetailOrder {
1668
+ readonly order: io.flow.flexe.v0.models.RetailOrderData;
1705
1669
  }
1706
- }
1707
1670
 
1708
- declare namespace io.flow.flexe.v0.enums {
1709
- type FlexeAttachmentType =
1710
- | 'shipping_label'
1711
- | 'packing_slip'
1712
- | 'packing_slip_letter';
1713
- type FlexeNotification = 'receipt' | 'shipment';
1714
- type FlexeShipmentType =
1715
- | 'fulfillment_order'
1716
- | 'retail_fulfillment_order'
1717
- | 'carton_pick_delivery'
1718
- | 'delivery'
1719
- | 'container_delivery';
1720
- type FlexeStatus = 'in_transit' | 'completed';
1721
- }
1722
-
1723
- declare namespace io.flow.flexe.v0.models {
1724
- interface BillOfLading {
1725
- readonly type: string;
1726
- readonly gs1us?: io.flow.flexe.v0.models.Gs1Us;
1671
+ interface RetailOrderData {
1672
+ readonly purchase_order_uuid: string;
1673
+ readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
1674
+ readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
1675
+ readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
1676
+ readonly ship_to: io.flow.flexe.v0.models.ShipTo;
1677
+ readonly build_by?: string;
1678
+ readonly instrunctions?: string;
1679
+ readonly routing_details_id?: string;
1680
+ readonly destination_type?: string;
1727
1681
  }
1728
1682
 
1729
- interface BillTo {
1683
+ interface ShipTo {
1730
1684
  readonly name: string;
1731
1685
  readonly address_1: string;
1732
1686
  readonly locality: string;
@@ -1737,748 +1691,818 @@ declare namespace io.flow.flexe.v0.models {
1737
1691
  readonly address_3?: string;
1738
1692
  }
1739
1693
 
1740
- interface CartonPickDeliveryDetails {
1694
+ interface ShipWithin {
1695
+ readonly start: string;
1696
+ readonly end: string;
1697
+ }
1698
+
1699
+ interface ShipmentDeliveryDetails {
1741
1700
  readonly shipment_uuid?: string;
1742
- readonly carrier?: string;
1743
- readonly carrier_id?: string;
1744
1701
  }
1745
1702
 
1746
- interface ContainerDeliveryDetails {
1747
- readonly purchase_order: string;
1748
- readonly container_number?: string;
1749
- readonly seal_number?: string;
1750
- readonly vendor?: string;
1751
- readonly expected_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1752
- readonly received_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1753
- readonly damaged_inventory: io.flow.flexe.v0.models.InventoryDetails[];
1754
- readonly quantities_by_inventory: Record<
1755
- string,
1756
- io.flow.flexe.v0.models.QuantityByInventory
1757
- >;
1703
+ interface ShipmentNotification {
1704
+ readonly shipment_id: string;
1705
+ readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1706
+ readonly reservation_id: string;
1707
+ readonly status: io.flow.flexe.v0.enums.FlexeStatus;
1708
+ readonly fulfillment_order_details?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
1709
+ readonly retail_fulfillment_order_details?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
1710
+ readonly delivery_details?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
1711
+ readonly carton_pick_delivery_details?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
1758
1712
  }
1759
1713
 
1760
- interface DeliveryDetails {
1761
- readonly shipment_uuid?: string;
1762
- readonly trailer_number?: string;
1763
- readonly pallets: io.flow.flexe.v0.models.Pallet[];
1764
- readonly quantities_by_inventory: Record<
1765
- string,
1766
- io.flow.flexe.v0.models.QuantityByInventory
1767
- >;
1714
+ interface Sku {
1715
+ readonly sku: string;
1716
+ readonly description: string;
1717
+ readonly summary: Record<string, io.flow.flexe.v0.models.SkuSummary>;
1768
1718
  }
1769
1719
 
1770
- interface Error {
1771
- readonly url: string;
1772
- readonly client_request_id: string;
1773
- readonly generated_at: string;
1774
- readonly error: string;
1720
+ interface SkuSummary {
1721
+ readonly key: string;
1722
+ readonly quantity: number;
1723
+ readonly unit: string;
1775
1724
  }
1725
+ }
1776
1726
 
1777
- interface FlexeAttachment {
1778
- readonly type: io.flow.flexe.v0.enums.FlexeAttachmentType;
1779
- readonly display_name: string;
1780
- readonly url: string;
1727
+ declare namespace io.flow.harmonization.internal.event.v0.enums {
1728
+ type SuggestionAction = 'accept' | 'validate' | 'review';
1729
+ }
1730
+
1731
+ declare namespace io.flow.harmonization.internal.event.v0.models {
1732
+ interface AllItemsExport {
1733
+ readonly discriminator: 'all_items_export';
1734
+ readonly event_id: string;
1735
+ readonly timestamp: string;
1736
+ readonly organization: string;
1737
+ readonly export_id: string;
1781
1738
  }
1782
1739
 
1783
- interface FlexeEcommerceFulfillment {
1784
- readonly url: string;
1785
- readonly client_request_id: string;
1786
- readonly generated_at: string;
1787
- readonly data: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentData;
1788
- readonly errors: io.flow.flexe.v0.models.FlexeEcommerceFulfillmentErrors[];
1740
+ interface BatchRateRefillRequest {
1741
+ readonly discriminator: 'batch_rate_refill_request';
1742
+ readonly requests: io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
1789
1743
  }
1790
1744
 
1791
- interface FlexeEcommerceFulfillmentData {
1792
- readonly import_id: string;
1793
- readonly succeeded_uuids: string[];
1794
- readonly failed_uuids: string[];
1795
- readonly errors: string[];
1745
+ interface BlacklistedItemCreated {
1746
+ readonly discriminator: 'blacklisted_item_created';
1747
+ readonly event_id: string;
1748
+ readonly timestamp: string;
1749
+ readonly organization: string;
1750
+ readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
1796
1751
  }
1797
1752
 
1798
- interface FlexeEcommerceFulfillmentErrors {
1799
- readonly status: string;
1800
- readonly title: string;
1801
- readonly detail: string;
1802
- readonly source?: string;
1753
+ interface BlacklistedItemDeleted {
1754
+ readonly discriminator: 'blacklisted_item_deleted';
1755
+ readonly event_id: string;
1756
+ readonly timestamp: string;
1757
+ readonly organization: string;
1758
+ readonly id: string;
1803
1759
  }
1804
1760
 
1805
- interface FlexeEcommerceFulfillmentForm {
1806
- readonly reservation_id: number;
1807
- readonly client_request_id: string;
1808
- readonly request: io.flow.flexe.v0.models.Orders;
1761
+ interface BlacklistedItemUpdated {
1762
+ readonly discriminator: 'blacklisted_item_updated';
1763
+ readonly event_id: string;
1764
+ readonly timestamp: string;
1765
+ readonly organization: string;
1766
+ readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
1809
1767
  }
1810
1768
 
1811
- interface FlexeInventoryData {
1812
- readonly sku: string;
1813
- readonly quantity: string;
1814
- readonly unit: string;
1769
+ interface CustomsDescriptionImport {
1770
+ readonly discriminator: 'customs_description_import';
1771
+ readonly event_id: string;
1772
+ readonly timestamp: string;
1773
+ readonly organization: string;
1774
+ readonly import_id: string;
1775
+ readonly source_url: string;
1776
+ readonly filename?: string;
1815
1777
  }
1816
1778
 
1817
- interface FlexeRetailAttachment {
1818
- readonly display_name: string;
1819
- readonly url: string;
1779
+ interface CustomsDescriptionSugestion {
1780
+ readonly value: number;
1781
+ readonly customs_description: string;
1782
+ readonly action?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1820
1783
  }
1821
1784
 
1822
- interface FlexeRetailFulfillment {
1823
- readonly url: string;
1824
- readonly client_request_id: string;
1825
- readonly generated_at: string;
1826
- readonly data: io.flow.flexe.v0.models.FlexeRetailFulfillmentData;
1827
- readonly errors?: io.flow.flexe.v0.models.FlexeRetailFulfillmentErrors[];
1785
+ interface CustomsDescriptionSugestionCreated {
1786
+ readonly discriminator: 'customs_description_sugestion_created';
1787
+ readonly event_id: string;
1788
+ readonly timestamp: string;
1789
+ readonly organization: string;
1790
+ readonly item_id: string;
1791
+ readonly suggestions: io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestion[];
1792
+ readonly model_id: string;
1793
+ }
1794
+
1795
+ interface CustomsDescriptionTariffsImport {
1796
+ readonly discriminator: 'customs_description_tariffs_import';
1797
+ readonly event_id: string;
1798
+ readonly timestamp: string;
1799
+ readonly organization: string;
1800
+ readonly import_id: string;
1801
+ readonly source_url: string;
1802
+ readonly filename?: string;
1803
+ }
1804
+
1805
+ interface DutiedItemsExport {
1806
+ readonly discriminator: 'dutied_items_export';
1807
+ readonly event_id: string;
1808
+ readonly timestamp: string;
1809
+ readonly organization: string;
1810
+ readonly export_id: string;
1811
+ readonly origin?: string;
1812
+ readonly destination: string;
1813
+ readonly item_numbers?: string[];
1828
1814
  }
1829
1815
 
1830
- interface FlexeRetailFulfillmentData {
1831
- readonly id: string;
1832
- readonly purchase_order_uuid: string;
1833
- readonly status: string;
1816
+ interface HarmonizationCodesImport {
1817
+ readonly discriminator: 'harmonization_codes_import';
1818
+ readonly event_id: string;
1819
+ readonly timestamp: string;
1820
+ readonly organization: string;
1821
+ readonly import_id: string;
1822
+ readonly source_url: string;
1823
+ readonly filename?: string;
1834
1824
  }
1835
1825
 
1836
- interface FlexeRetailFulfillmentErrors {
1837
- readonly type: string;
1838
- readonly message: string;
1826
+ interface HarmonizationPhraseSuggestionRequestImport {
1827
+ readonly discriminator: 'harmonization_phrase_suggestion_request_import';
1828
+ readonly event_id: string;
1829
+ readonly timestamp: string;
1830
+ readonly organization: string;
1831
+ readonly import_id: string;
1832
+ readonly source_url: string;
1833
+ readonly filename?: string;
1839
1834
  }
1840
1835
 
1841
- interface FlexeRetailFulfillmentForm {
1842
- readonly reservation_id: number;
1843
- readonly client_request_id?: string;
1844
- readonly request: io.flow.flexe.v0.models.RetailOrder;
1836
+ interface HarmonizeFullyRequest {
1837
+ readonly discriminator: 'harmonize_fully_request';
1838
+ readonly event_id: string;
1839
+ readonly timestamp: string;
1840
+ readonly item_id: string;
1845
1841
  }
1846
1842
 
1847
- interface FulfillmentOrderDetails {
1848
- readonly shipment_uuid: string;
1849
- readonly carrier?: string;
1850
- readonly carrier_id?: string;
1843
+ interface HarmonizeFullyWithRate {
1844
+ readonly discriminator: 'harmonize_fully_with_rate';
1845
+ readonly event_id: string;
1846
+ readonly timestamp: string;
1847
+ readonly duty_rate: io.flow.duty.internal.v0.models.DutyRate;
1851
1848
  }
1852
1849
 
1853
- interface Gs1Us {
1854
- readonly number: string;
1855
- readonly ship_to?: io.flow.flexe.v0.models.Gs1UsShipTo;
1856
- readonly bill_to?: io.flow.flexe.v0.models.BillTo;
1850
+ interface HarmonizedItemsHs6Export {
1851
+ readonly discriminator: 'harmonized_items_hs6_export';
1852
+ readonly event_id: string;
1853
+ readonly timestamp: string;
1854
+ readonly organization: string;
1855
+ readonly export_id: string;
1857
1856
  }
1858
1857
 
1859
- interface Gs1UsShipTo {
1860
- readonly cid_number?: string;
1861
- readonly location_number?: string;
1862
- readonly free_on_board?: boolean;
1858
+ interface ItemClassificationCreated {
1859
+ readonly discriminator: 'item_classification_created';
1860
+ readonly event_id: string;
1861
+ readonly timestamp: string;
1862
+ readonly organization: string;
1863
+ readonly item_number: string;
1864
+ readonly model_id: string;
1865
+ readonly labels_prediction: io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
1866
+ readonly action: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
1863
1867
  }
1864
1868
 
1865
- interface Inventory {
1866
- readonly url: string;
1867
- readonly client_request_id: string;
1868
- readonly generated_at: string;
1869
- readonly data: Record<string, io.flow.flexe.v0.models.InventoryDetails>;
1869
+ interface ItemHarmonized {
1870
+ readonly discriminator: 'item_harmonized';
1871
+ readonly event_id: string;
1872
+ readonly timestamp: string;
1873
+ readonly organization: string;
1874
+ readonly item_number: string;
1875
+ readonly product_id: string;
1876
+ readonly customs_description: string;
1877
+ readonly countries_of_origin: string[];
1878
+ readonly hs_6: string;
1879
+ readonly tariffs: Record<
1880
+ string,
1881
+ io.flow.harmonization.internal.v0.models.TariffCodeDuty
1882
+ >;
1870
1883
  }
1871
1884
 
1872
- interface InventoryCount {
1873
- readonly amount: number;
1874
- readonly unit: string;
1885
+ interface LabelsPrediction {
1886
+ readonly main_material: Record<string, number>;
1887
+ readonly gender: Record<string, number>;
1888
+ readonly construction: Record<string, number>;
1889
+ readonly product_type: Record<string, number>;
1875
1890
  }
1876
1891
 
1877
- interface InventoryData {
1878
- readonly pallet: io.flow.flexe.v0.models.InventoryCount;
1879
- readonly carton?: io.flow.flexe.v0.models.InventoryCount;
1880
- readonly each?: io.flow.flexe.v0.models.InventoryCount;
1892
+ interface LandedCostExport {
1893
+ readonly discriminator: 'landed_cost_export';
1894
+ readonly event_id: string;
1895
+ readonly timestamp: string;
1896
+ readonly organization: string;
1897
+ readonly export_id: string;
1898
+ readonly items: io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
1881
1899
  }
1882
1900
 
1883
- interface InventoryDetails {
1884
- readonly key: Record<string, io.flow.flexe.v0.models.Sku>;
1901
+ interface LandedCostItem {
1902
+ readonly number: string;
1903
+ readonly origin: string;
1904
+ readonly destination: string;
1885
1905
  }
1886
1906
 
1887
- interface LadingQuantity {
1888
- readonly num_pallets: number;
1907
+ interface PhraseClassified {
1908
+ readonly event_id: string;
1909
+ readonly timestamp: string;
1910
+ readonly phrase_id: string;
1889
1911
  }
1890
1912
 
1891
- interface Order {
1892
- readonly shipment_uuid: string;
1893
- readonly purchase_order: string;
1894
- readonly carrier: string;
1895
- readonly service_type: string;
1896
- readonly carrier_assigned_id: string;
1897
- readonly name: string;
1898
- readonly address_1: string;
1899
- readonly address_2?: string;
1900
- readonly address_3?: string;
1901
- readonly city: string;
1902
- readonly state: string;
1903
- readonly postal_code: string;
1904
- readonly phone?: string;
1905
- readonly instructions?: string;
1906
- readonly inventory_data: io.flow.flexe.v0.models.FlexeInventoryData[];
1907
- readonly attachments: io.flow.flexe.v0.models.FlexeAttachment[];
1913
+ interface PhrasePropagated {
1914
+ readonly event_id: string;
1915
+ readonly timestamp: string;
1916
+ readonly phrase_id: string;
1908
1917
  }
1909
1918
 
1910
- interface Orders {
1911
- readonly orders: io.flow.flexe.v0.models.Order[];
1919
+ interface RateRefillRequest {
1920
+ readonly discriminator: 'rate_refill_request';
1921
+ readonly phrase_id: string;
1922
+ readonly hs6_code: string;
1923
+ readonly destinations: io.flow.reference.v0.models.Country[];
1924
+ readonly origin: io.flow.reference.v0.models.Country;
1925
+ readonly organization_id?: string;
1912
1926
  }
1913
1927
 
1914
- interface Pallet {
1915
- readonly pallet_id: string;
1916
- readonly sku: string;
1917
- readonly quantity: number;
1918
- readonly packaging: string;
1928
+ interface UnharmonizedItemsExport {
1929
+ readonly discriminator: 'unharmonized_items_export';
1930
+ readonly event_id: string;
1931
+ readonly timestamp: string;
1932
+ readonly organization: string;
1933
+ readonly export_id: string;
1919
1934
  }
1935
+ }
1920
1936
 
1921
- interface PurchaseOrder {
1922
- readonly retail_fulfillment_order_id: string;
1923
- readonly bill_of_lading_number: string;
1924
- readonly purchase_order_uuid: string;
1925
- readonly pickup_window_start: string;
1926
- readonly pickup_window_end: string;
1927
- readonly tags: string[];
1928
- }
1937
+ declare namespace io.flow.harmonization.internal.event.v0.unions {
1938
+ type CustomsDescriptions =
1939
+ | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport
1940
+ | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport;
1941
+ type HarmonizationEvent =
1942
+ | io.flow.harmonization.internal.event.v0.models.BlacklistedItemCreated
1943
+ | io.flow.harmonization.internal.event.v0.models.BlacklistedItemUpdated
1944
+ | io.flow.harmonization.internal.event.v0.models.BlacklistedItemDeleted;
1945
+ type HarmonizationExportRequest =
1946
+ | io.flow.harmonization.internal.event.v0.models.AllItemsExport
1947
+ | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export
1948
+ | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport
1949
+ | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport
1950
+ | io.flow.harmonization.internal.event.v0.models.LandedCostExport;
1951
+ type HarmonizationImportPhraseSuggestionRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport;
1952
+ type HarmonizationImportRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport;
1953
+ type HarmonizationSugestionEvent =
1954
+ | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated
1955
+ | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated;
1956
+ type HarmonizeFully =
1957
+ | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyWithRate
1958
+ | io.flow.harmonization.internal.event.v0.models.ItemHarmonized
1959
+ | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequest;
1960
+ type RefillActorRequest =
1961
+ | io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest
1962
+ | io.flow.harmonization.internal.event.v0.models.RateRefillRequest;
1963
+ }
1929
1964
 
1930
- interface QuantityByInventory {
1931
- readonly received: io.flow.flexe.v0.models.InventoryData;
1932
- readonly expected?: io.flow.flexe.v0.models.InventoryData;
1933
- readonly damaged?: io.flow.flexe.v0.models.InventoryData;
1934
- }
1965
+ declare namespace io.flow.inventory.v0.enums {
1966
+ type Aggregate = 'maximum' | 'minimum';
1967
+ type InventoryStatus = 'has_inventory' | 'no_inventory';
1968
+ type SerialStatus = 'available' | 'reserved' | 'sold';
1969
+ type UpdateType = 'change' | 'set';
1970
+ }
1935
1971
 
1936
- interface ReceiptNotification {
1937
- readonly shipment_id: string;
1938
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1939
- readonly reservation_id: string;
1940
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
1941
- readonly delivery_details?: io.flow.flexe.v0.models.DeliveryDetails;
1942
- readonly container_delivery_details?: io.flow.flexe.v0.models.ContainerDeliveryDetails;
1972
+ declare namespace io.flow.inventory.v0.models {
1973
+ interface ExternalApiTimeoutReservationError {
1974
+ readonly code: 'external_api_timeout';
1975
+ readonly messages: string[];
1943
1976
  }
1944
1977
 
1945
- interface RetailFulfillmentOrderDetails {
1946
- readonly master_bill_of_lading_number: string;
1947
- readonly scac: string;
1948
- readonly pro_number: string;
1949
- readonly purchase_orders: io.flow.flexe.v0.models.PurchaseOrder[];
1950
- readonly lading_quantity: io.flow.flexe.v0.models.LadingQuantity;
1978
+ interface GenericReservationError {
1979
+ readonly code: 'generic_reservation_error';
1980
+ readonly messages: string[];
1951
1981
  }
1952
1982
 
1953
- interface RetailInventoryData {
1954
- readonly sku: string;
1983
+ interface InventoryBackorder {
1984
+ readonly discriminator: 'inventory_backorder';
1955
1985
  readonly quantity: number;
1956
- readonly unit: string;
1957
- readonly attachments?: io.flow.flexe.v0.models.FlexeRetailAttachment[];
1958
- }
1959
-
1960
- interface RetailOrder {
1961
- readonly order: io.flow.flexe.v0.models.RetailOrderData;
1962
1986
  }
1963
1987
 
1964
- interface RetailOrderData {
1965
- readonly purchase_order_uuid: string;
1966
- readonly bill_of_lading: io.flow.flexe.v0.models.BillOfLading;
1967
- readonly inventory_data: io.flow.flexe.v0.models.RetailInventoryData[];
1968
- readonly ship_within: io.flow.flexe.v0.models.ShipWithin;
1969
- readonly ship_to: io.flow.flexe.v0.models.ShipTo;
1970
- readonly build_by?: string;
1971
- readonly instrunctions?: string;
1972
- readonly routing_details_id?: string;
1973
- readonly destination_type?: string;
1988
+ interface InventoryCenterReference {
1989
+ readonly key: string;
1974
1990
  }
1975
1991
 
1976
- interface ShipTo {
1977
- readonly name: string;
1978
- readonly address_1: string;
1979
- readonly locality: string;
1980
- readonly region: string;
1981
- readonly postal_code: string;
1982
- readonly country: string;
1983
- readonly address_2?: string;
1984
- readonly address_3?: string;
1992
+ interface InventoryCheckResponse {
1993
+ readonly items: io.flow.inventory.v0.models.InventoryCheckResponseItem[];
1985
1994
  }
1986
1995
 
1987
- interface ShipWithin {
1988
- readonly start: string;
1989
- readonly end: string;
1996
+ interface InventoryCheckResponseItem {
1997
+ readonly number: string;
1998
+ readonly quantity: number;
1999
+ readonly inventory_status: io.flow.inventory.v0.enums.InventoryStatus;
1990
2000
  }
1991
2001
 
1992
- interface ShipmentDeliveryDetails {
1993
- readonly shipment_uuid?: string;
2002
+ interface InventoryExperienceReference {
2003
+ readonly key: string;
1994
2004
  }
1995
2005
 
1996
- interface ShipmentNotification {
1997
- readonly shipment_id: string;
1998
- readonly shipment_type: io.flow.flexe.v0.enums.FlexeShipmentType;
1999
- readonly reservation_id: string;
2000
- readonly status: io.flow.flexe.v0.enums.FlexeStatus;
2001
- readonly fulfillment_order_details?: io.flow.flexe.v0.models.FulfillmentOrderDetails;
2002
- readonly retail_fulfillment_order_details?: io.flow.flexe.v0.models.RetailFulfillmentOrderDetails;
2003
- readonly delivery_details?: io.flow.flexe.v0.models.ShipmentDeliveryDetails;
2004
- readonly carton_pick_delivery_details?: io.flow.flexe.v0.models.CartonPickDeliveryDetails;
2006
+ interface InventoryItemReference {
2007
+ readonly number: string;
2005
2008
  }
2006
2009
 
2007
- interface Sku {
2008
- readonly sku: string;
2009
- readonly description: string;
2010
- readonly summary: Record<string, io.flow.flexe.v0.models.SkuSummary>;
2010
+ interface InventoryRequest {
2011
+ readonly items: io.flow.inventory.v0.models.InventoryRequestItem[];
2011
2012
  }
2012
2013
 
2013
- interface SkuSummary {
2014
- readonly key: string;
2014
+ interface InventoryRequestItem {
2015
+ readonly number: string;
2015
2016
  readonly quantity: number;
2016
- readonly unit: string;
2017
2017
  }
2018
- }
2019
2018
 
2020
- declare namespace io.flow.harmonization.internal.event.v0.enums {
2021
- type SuggestionAction = 'accept' | 'validate' | 'review';
2022
- }
2019
+ interface InventoryRule {
2020
+ readonly id: string;
2021
+ readonly position: number;
2022
+ readonly query: string;
2023
+ readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
2024
+ }
2023
2025
 
2024
- declare namespace io.flow.harmonization.internal.event.v0.models {
2025
- interface AllItemsExport {
2026
- readonly discriminator: 'all_items_export';
2027
- readonly event_id: string;
2026
+ interface InventoryRuleForm {
2027
+ readonly position: number;
2028
+ readonly query: string;
2029
+ readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
2030
+ }
2031
+
2032
+ interface InventoryRuleVersion {
2033
+ readonly id: string;
2028
2034
  readonly timestamp: string;
2029
- readonly organization: string;
2030
- readonly export_id: string;
2035
+ readonly type: io.flow.common.v0.enums.ChangeType;
2036
+ readonly inventory_rule: io.flow.inventory.v0.models.InventoryRule;
2031
2037
  }
2032
2038
 
2033
- interface BatchRateRefillRequest {
2034
- readonly discriminator: 'batch_rate_refill_request';
2035
- readonly requests: io.flow.harmonization.internal.event.v0.models.RateRefillRequest[];
2039
+ interface InventorySnapshot {
2040
+ readonly id: string;
2041
+ readonly available: number;
2042
+ readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
2043
+ readonly item: io.flow.inventory.v0.models.InventoryItemReference;
2044
+ readonly quantity: number;
2036
2045
  }
2037
2046
 
2038
- interface BlacklistedItemCreated {
2039
- readonly discriminator: 'blacklisted_item_created';
2040
- readonly event_id: string;
2047
+ interface InventorySnapshotVersion {
2048
+ readonly id: string;
2041
2049
  readonly timestamp: string;
2042
- readonly organization: string;
2043
- readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
2050
+ readonly type: io.flow.common.v0.enums.ChangeType;
2051
+ readonly inventory_snapshot: io.flow.inventory.v0.models.InventorySnapshot;
2044
2052
  }
2045
2053
 
2046
- interface BlacklistedItemDeleted {
2047
- readonly discriminator: 'blacklisted_item_deleted';
2048
- readonly event_id: string;
2049
- readonly timestamp: string;
2050
- readonly organization: string;
2054
+ interface InventoryStock {
2055
+ readonly discriminator: 'inventory_stock';
2056
+ readonly quantity: number;
2057
+ }
2058
+
2059
+ interface InventoryUnlimited {
2060
+ readonly discriminator: 'inventory_unlimited';
2061
+ readonly quantity: string;
2062
+ }
2063
+
2064
+ interface InventoryUpdate {
2051
2065
  readonly id: string;
2066
+ readonly idempotency_key: string;
2067
+ readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
2068
+ readonly item: io.flow.inventory.v0.models.InventoryItemReference;
2069
+ readonly notes: any /*object*/;
2070
+ readonly quantity: number;
2071
+ readonly type: io.flow.inventory.v0.enums.UpdateType;
2052
2072
  }
2053
2073
 
2054
- interface BlacklistedItemUpdated {
2055
- readonly discriminator: 'blacklisted_item_updated';
2056
- readonly event_id: string;
2057
- readonly timestamp: string;
2058
- readonly organization: string;
2059
- readonly blacklisted_item: io.flow.harmonization.internal.v0.models.BlacklistedItem;
2074
+ interface InventoryUpdateForm {
2075
+ readonly center: string;
2076
+ readonly idempotency_key: string;
2077
+ readonly item_number: string;
2078
+ readonly quantity: number;
2079
+ readonly type: io.flow.inventory.v0.enums.UpdateType;
2080
+ readonly notes?: any /*object*/;
2060
2081
  }
2061
2082
 
2062
- interface CustomsDescriptionImport {
2063
- readonly discriminator: 'customs_description_import';
2064
- readonly event_id: string;
2083
+ interface InventoryUpdateVersion {
2084
+ readonly id: string;
2065
2085
  readonly timestamp: string;
2066
- readonly organization: string;
2067
- readonly import_id: string;
2068
- readonly source_url: string;
2069
- readonly filename?: string;
2086
+ readonly type: io.flow.common.v0.enums.ChangeType;
2087
+ readonly inventory_update: io.flow.inventory.v0.models.InventoryUpdate;
2070
2088
  }
2071
2089
 
2072
- interface CustomsDescriptionSugestion {
2073
- readonly value: number;
2074
- readonly customs_description: string;
2075
- readonly action?: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
2090
+ interface NoInventoryReservationError {
2091
+ readonly code: 'no_inventory';
2092
+ readonly messages: string[];
2093
+ readonly items: io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
2076
2094
  }
2077
2095
 
2078
- interface CustomsDescriptionSugestionCreated {
2079
- readonly discriminator: 'customs_description_sugestion_created';
2080
- readonly event_id: string;
2081
- readonly timestamp: string;
2082
- readonly organization: string;
2083
- readonly item_id: string;
2084
- readonly suggestions: io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestion[];
2085
- readonly model_id: string;
2096
+ interface NoInventoryReservationErrorItem {
2097
+ readonly number: string;
2098
+ readonly requested_quantity: number;
2099
+ readonly available_quantity: number;
2086
2100
  }
2087
2101
 
2088
- interface CustomsDescriptionTariffsImport {
2089
- readonly discriminator: 'customs_description_tariffs_import';
2090
- readonly event_id: string;
2091
- readonly timestamp: string;
2092
- readonly organization: string;
2093
- readonly import_id: string;
2094
- readonly source_url: string;
2095
- readonly filename?: string;
2102
+ interface PfsInventoryCheckResponse {
2103
+ readonly items: Record<
2104
+ string,
2105
+ io.flow.inventory.v0.models.PfsInventoryCheckResponseItem
2106
+ >;
2096
2107
  }
2097
2108
 
2098
- interface DutiedItemsExport {
2099
- readonly discriminator: 'dutied_items_export';
2100
- readonly event_id: string;
2101
- readonly timestamp: string;
2102
- readonly organization: string;
2103
- readonly export_id: string;
2104
- readonly origin?: string;
2105
- readonly destination: string;
2106
- readonly item_numbers?: string[];
2109
+ interface PfsInventoryCheckResponseItem {
2110
+ readonly number: string;
2111
+ readonly ats: number;
2112
+ readonly in_stock: boolean;
2107
2113
  }
2108
2114
 
2109
- interface HarmonizationCodesImport {
2110
- readonly discriminator: 'harmonization_codes_import';
2111
- readonly event_id: string;
2112
- readonly timestamp: string;
2113
- readonly organization: string;
2114
- readonly import_id: string;
2115
- readonly source_url: string;
2116
- readonly filename?: string;
2115
+ interface PfsInventoryStatus {
2116
+ readonly status: string;
2117
2117
  }
2118
2118
 
2119
- interface HarmonizationPhraseSuggestionRequestImport {
2120
- readonly discriminator: 'harmonization_phrase_suggestion_request_import';
2121
- readonly event_id: string;
2122
- readonly timestamp: string;
2123
- readonly organization: string;
2124
- readonly import_id: string;
2125
- readonly source_url: string;
2126
- readonly filename?: string;
2119
+ interface Reservation {
2120
+ readonly id: string;
2121
+ readonly key: string;
2122
+ readonly order?: io.flow.inventory.v0.models.ReservationOrderReference;
2123
+ readonly items: io.flow.inventory.v0.models.ReservationItem[];
2124
+ readonly reserved_until?: string;
2127
2125
  }
2128
2126
 
2129
- interface HarmonizeFullyRequest {
2130
- readonly discriminator: 'harmonize_fully_request';
2131
- readonly event_id: string;
2132
- readonly timestamp: string;
2133
- readonly item_id: string;
2127
+ interface ReservationForm {
2128
+ readonly order_number?: string;
2129
+ readonly items: io.flow.inventory.v0.models.ReservationItemForm[];
2134
2130
  }
2135
2131
 
2136
- interface HarmonizeFullyWithRate {
2137
- readonly discriminator: 'harmonize_fully_with_rate';
2138
- readonly event_id: string;
2139
- readonly timestamp: string;
2140
- readonly duty_rate: io.flow.duty.internal.v0.models.DutyRate;
2132
+ interface ReservationItem {
2133
+ readonly item: io.flow.inventory.v0.models.ReservationItemReference;
2134
+ readonly quantity: number;
2141
2135
  }
2142
2136
 
2143
- interface HarmonizedItemsHs6Export {
2144
- readonly discriminator: 'harmonized_items_hs6_export';
2145
- readonly event_id: string;
2146
- readonly timestamp: string;
2147
- readonly organization: string;
2148
- readonly export_id: string;
2137
+ interface ReservationItemForm {
2138
+ readonly item_number: string;
2139
+ readonly quantity: number;
2149
2140
  }
2150
2141
 
2151
- interface ItemClassificationCreated {
2152
- readonly discriminator: 'item_classification_created';
2153
- readonly event_id: string;
2154
- readonly timestamp: string;
2155
- readonly organization: string;
2142
+ interface ReservationItemReference {
2143
+ readonly number: string;
2144
+ }
2145
+
2146
+ interface ReservationOrderReference {
2147
+ readonly number: string;
2148
+ }
2149
+
2150
+ interface Serial {
2151
+ readonly id: string;
2152
+ readonly number: string;
2156
2153
  readonly item_number: string;
2157
- readonly model_id: string;
2158
- readonly labels_prediction: io.flow.harmonization.internal.event.v0.models.LabelsPrediction;
2159
- readonly action: io.flow.harmonization.internal.event.v0.enums.SuggestionAction;
2154
+ readonly item_price: io.flow.common.v0.models.Price;
2155
+ readonly status: io.flow.inventory.v0.enums.SerialStatus;
2156
+ readonly center: io.flow.fulfillment.v0.models.CenterReference;
2157
+ readonly attributes: Record<string, string>;
2158
+ }
2159
+
2160
+ interface SerialForm {
2161
+ readonly number: string;
2162
+ readonly item_number: string;
2163
+ readonly item_price: number;
2164
+ readonly item_currency: string;
2165
+ readonly status: io.flow.inventory.v0.enums.SerialStatus;
2166
+ readonly center_key?: string;
2167
+ readonly attributes?: Record<string, string>;
2168
+ }
2169
+
2170
+ interface SerialVersion {
2171
+ readonly id: string;
2172
+ readonly timestamp: string;
2173
+ readonly type: io.flow.common.v0.enums.ChangeType;
2174
+ readonly serial: io.flow.inventory.v0.models.Serial;
2160
2175
  }
2176
+ }
2161
2177
 
2162
- interface ItemHarmonized {
2163
- readonly discriminator: 'item_harmonized';
2164
- readonly event_id: string;
2165
- readonly timestamp: string;
2166
- readonly organization: string;
2167
- readonly item_number: string;
2168
- readonly product_id: string;
2169
- readonly customs_description: string;
2170
- readonly countries_of_origin: string[];
2171
- readonly hs_6: string;
2172
- readonly tariffs: Record<
2173
- string,
2174
- io.flow.harmonization.internal.v0.models.TariffCodeDuty
2175
- >;
2178
+ declare namespace io.flow.inventory.v0.unions {
2179
+ type InventoryStrategy =
2180
+ | io.flow.inventory.v0.models.InventoryBackorder
2181
+ | io.flow.inventory.v0.models.InventoryStock
2182
+ | io.flow.inventory.v0.models.InventoryUnlimited;
2183
+ type ReservationError =
2184
+ | io.flow.inventory.v0.models.NoInventoryReservationError
2185
+ | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError
2186
+ | io.flow.inventory.v0.models.GenericReservationError;
2187
+ }
2188
+
2189
+ declare namespace io.flow.ratecard.v0.models {
2190
+ interface CrossdockRatecardFee {
2191
+ readonly discriminator: 'crossdock_ratecard_fee';
2192
+ readonly amount: io.flow.common.v0.models.Money;
2176
2193
  }
2177
2194
 
2178
- interface LabelsPrediction {
2179
- readonly main_material: Record<string, number>;
2180
- readonly gender: Record<string, number>;
2181
- readonly construction: Record<string, number>;
2182
- readonly product_type: Record<string, number>;
2195
+ interface DdpRatecardFee {
2196
+ readonly discriminator: 'ddp_ratecard_fee';
2197
+ readonly amount: number;
2183
2198
  }
2184
2199
 
2185
- interface LandedCostExport {
2186
- readonly discriminator: 'landed_cost_export';
2187
- readonly event_id: string;
2188
- readonly timestamp: string;
2189
- readonly organization: string;
2190
- readonly export_id: string;
2191
- readonly items: io.flow.harmonization.internal.event.v0.models.LandedCostItem[];
2200
+ interface DimensionEstimate {
2201
+ readonly id: string;
2202
+ readonly q: string;
2203
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
2204
+ readonly position: number;
2192
2205
  }
2193
2206
 
2194
- interface LandedCostItem {
2195
- readonly number: string;
2196
- readonly origin: string;
2197
- readonly destination: string;
2207
+ interface DimensionEstimateForm {
2208
+ readonly q: string;
2209
+ readonly dimensions: io.flow.ratecard.v0.models.EstimatedDimensions;
2210
+ readonly position?: number;
2198
2211
  }
2199
2212
 
2200
- interface PhraseClassified {
2201
- readonly event_id: string;
2213
+ interface DimensionEstimateVersion {
2214
+ readonly id: string;
2202
2215
  readonly timestamp: string;
2203
- readonly phrase_id: string;
2216
+ readonly type: io.flow.common.v0.enums.ChangeType;
2217
+ readonly dimension_estimate: io.flow.ratecard.v0.models.DimensionEstimate;
2204
2218
  }
2205
2219
 
2206
- interface PhrasePropagated {
2207
- readonly event_id: string;
2208
- readonly timestamp: string;
2209
- readonly phrase_id: string;
2220
+ interface EstimatedDimensions {
2221
+ readonly depth: io.flow.common.v0.models.Measurement;
2222
+ readonly length: io.flow.common.v0.models.Measurement;
2223
+ readonly weight: io.flow.common.v0.models.Measurement;
2224
+ readonly width: io.flow.common.v0.models.Measurement;
2210
2225
  }
2211
2226
 
2212
- interface RateRefillRequest {
2213
- readonly discriminator: 'rate_refill_request';
2214
- readonly phrase_id: string;
2215
- readonly hs6_code: string;
2216
- readonly destinations: io.flow.reference.v0.models.Country[];
2217
- readonly origin: io.flow.reference.v0.models.Country;
2218
- readonly organization_id?: string;
2227
+ interface FuelSurchargeRatecardFee {
2228
+ readonly discriminator: 'fuel_surcharge_ratecard_fee';
2229
+ readonly amount: io.flow.common.v0.models.Money;
2219
2230
  }
2220
2231
 
2221
- interface UnharmonizedItemsExport {
2222
- readonly discriminator: 'unharmonized_items_export';
2223
- readonly event_id: string;
2224
- readonly timestamp: string;
2225
- readonly organization: string;
2226
- readonly export_id: string;
2232
+ interface FuelSurchargeServiceFee {
2233
+ readonly discriminator: 'fuel_surcharge_service_fee';
2234
+ readonly percent: number;
2227
2235
  }
2228
- }
2229
2236
 
2230
- declare namespace io.flow.harmonization.internal.event.v0.unions {
2231
- type CustomsDescriptions =
2232
- | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionImport
2233
- | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionTariffsImport;
2234
- type HarmonizationEvent =
2235
- | io.flow.harmonization.internal.event.v0.models.BlacklistedItemCreated
2236
- | io.flow.harmonization.internal.event.v0.models.BlacklistedItemUpdated
2237
- | io.flow.harmonization.internal.event.v0.models.BlacklistedItemDeleted;
2238
- type HarmonizationExportRequest =
2239
- | io.flow.harmonization.internal.event.v0.models.AllItemsExport
2240
- | io.flow.harmonization.internal.event.v0.models.HarmonizedItemsHs6Export
2241
- | io.flow.harmonization.internal.event.v0.models.UnharmonizedItemsExport
2242
- | io.flow.harmonization.internal.event.v0.models.DutiedItemsExport
2243
- | io.flow.harmonization.internal.event.v0.models.LandedCostExport;
2244
- type HarmonizationImportPhraseSuggestionRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationPhraseSuggestionRequestImport;
2245
- type HarmonizationImportRequest = io.flow.harmonization.internal.event.v0.models.HarmonizationCodesImport;
2246
- type HarmonizationSugestionEvent =
2247
- | io.flow.harmonization.internal.event.v0.models.CustomsDescriptionSugestionCreated
2248
- | io.flow.harmonization.internal.event.v0.models.ItemClassificationCreated;
2249
- type HarmonizeFully =
2250
- | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyWithRate
2251
- | io.flow.harmonization.internal.event.v0.models.ItemHarmonized
2252
- | io.flow.harmonization.internal.event.v0.models.HarmonizeFullyRequest;
2253
- type RefillActorRequest =
2254
- | io.flow.harmonization.internal.event.v0.models.BatchRateRefillRequest
2255
- | io.flow.harmonization.internal.event.v0.models.RateRefillRequest;
2256
- }
2237
+ interface Hop {
2238
+ readonly hop_number: number;
2239
+ readonly hop_estimate: io.flow.ratecard.v0.models.HopEstimate;
2240
+ }
2257
2241
 
2258
- declare namespace io.flow.inventory.v0.enums {
2259
- type Aggregate = 'maximum' | 'minimum';
2260
- type InventoryStatus = 'has_inventory' | 'no_inventory';
2261
- type SerialStatus = 'available' | 'reserved' | 'sold';
2262
- type UpdateType = 'change' | 'set';
2263
- }
2242
+ interface HopEstimate {
2243
+ readonly origin_address: io.flow.fulfillment.v0.models.ShippingAddress;
2244
+ readonly destination_address: io.flow.fulfillment.v0.models.ShippingAddress;
2245
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
2246
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
2247
+ readonly currency: string;
2248
+ readonly amount: number;
2249
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
2250
+ readonly total: number;
2251
+ }
2264
2252
 
2265
- declare namespace io.flow.inventory.v0.models {
2266
- interface ExternalApiTimeoutReservationError {
2267
- readonly code: 'external_api_timeout';
2268
- readonly messages: string[];
2253
+ interface OversizedShipmentRatecardFee {
2254
+ readonly discriminator: 'oversized_shipment_ratecard_fee';
2255
+ readonly weight_threshold: number;
2256
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
2257
+ readonly margin?: number;
2258
+ readonly amount?: number;
2269
2259
  }
2270
2260
 
2271
- interface GenericReservationError {
2272
- readonly code: 'generic_reservation_error';
2273
- readonly messages: string[];
2261
+ interface Ratecard {
2262
+ readonly id: string;
2263
+ readonly number: string;
2264
+ readonly direction: io.flow.label.v0.enums.Direction;
2265
+ readonly effective_at: string;
2266
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
2267
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
2268
+ readonly published_at?: string;
2269
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
2274
2270
  }
2275
2271
 
2276
- interface InventoryBackorder {
2277
- readonly discriminator: 'inventory_backorder';
2278
- readonly quantity: number;
2272
+ interface RatecardCarrierSummary {
2273
+ readonly id: string;
2274
+ readonly name: string;
2279
2275
  }
2280
2276
 
2281
- interface InventoryCenterReference {
2282
- readonly key: string;
2277
+ interface RatecardEstimateFormV1 {
2278
+ readonly discriminator: 'ratecard_estimate_form_v1';
2279
+ readonly origin?: string;
2280
+ readonly destination?: string;
2281
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
2282
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
2283
+ readonly service?: string;
2284
+ readonly weight?: number;
2285
+ readonly length?: number;
2286
+ readonly width?: number;
2287
+ readonly depth?: number;
2288
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
2289
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
2283
2290
  }
2284
2291
 
2285
- interface InventoryCheckResponse {
2286
- readonly items: io.flow.inventory.v0.models.InventoryCheckResponseItem[];
2292
+ interface RatecardEstimateFormV2 {
2293
+ readonly discriminator: 'ratecard_estimate_form_v2';
2294
+ readonly origin_address: io.flow.common.v0.models.Address;
2295
+ readonly destination_address: io.flow.common.v0.models.Address;
2296
+ readonly weight_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
2297
+ readonly distance_unit?: io.flow.common.v0.enums.UnitOfMeasurement;
2298
+ readonly service?: string;
2299
+ readonly weight?: number;
2300
+ readonly length?: number;
2301
+ readonly width?: number;
2302
+ readonly depth?: number;
2303
+ readonly delivered_duty?: io.flow.common.v0.enums.DeliveredDuty;
2304
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
2305
+ readonly center_id?: string;
2287
2306
  }
2288
2307
 
2289
- interface InventoryCheckResponseItem {
2290
- readonly number: string;
2291
- readonly quantity: number;
2292
- readonly inventory_status: io.flow.inventory.v0.enums.InventoryStatus;
2308
+ interface RatecardEstimateSummaryForm {
2309
+ readonly origin?: string;
2310
+ readonly destination?: string;
2311
+ readonly service?: string;
2312
+ readonly center_key?: string;
2293
2313
  }
2294
2314
 
2295
- interface InventoryExperienceReference {
2296
- readonly key: string;
2315
+ interface RatecardEstimateV1 {
2316
+ readonly discriminator: 'ratecard_estimate_v1';
2317
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
2318
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
2319
+ readonly currency: string;
2320
+ readonly amount: number;
2321
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
2322
+ readonly total: number;
2323
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
2324
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
2325
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
2326
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
2297
2327
  }
2298
2328
 
2299
- interface InventoryItemReference {
2300
- readonly number: string;
2329
+ interface RatecardEstimateV2 {
2330
+ readonly discriminator: 'ratecard_estimate_v2';
2331
+ readonly hops: io.flow.ratecard.v0.models.Hop[];
2332
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
2333
+ readonly dimensional_weight?: io.flow.common.v0.models.Measurement;
2334
+ readonly gravitational_weight?: io.flow.common.v0.models.Measurement;
2335
+ readonly line_items?: io.flow.common.v0.models.LineItemForm[];
2336
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
2301
2337
  }
2302
2338
 
2303
- interface InventoryRequest {
2304
- readonly items: io.flow.inventory.v0.models.InventoryRequestItem[];
2339
+ interface RatecardForm {
2340
+ readonly direction: io.flow.label.v0.enums.Direction;
2341
+ readonly effective_at: string;
2342
+ readonly origination_zones: io.flow.common.v0.models.Zone[];
2343
+ readonly service: string;
2344
+ readonly number?: string;
2345
+ readonly ratecard_owner?: io.flow.fulfillment.v0.enums.RatecardOwner;
2305
2346
  }
2306
2347
 
2307
- interface InventoryRequestItem {
2308
- readonly number: string;
2309
- readonly quantity: number;
2348
+ interface RatecardLane {
2349
+ readonly id: string;
2350
+ readonly ratecard: io.flow.ratecard.v0.models.RatecardReference;
2351
+ readonly currency: string;
2352
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
2353
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
2354
+ readonly destination: io.flow.common.v0.models.Zone;
2355
+ readonly dim_factor: number;
2356
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
2357
+ readonly origin: io.flow.common.v0.models.Zone;
2358
+ readonly service: io.flow.ratecard.v0.models.RatecardServiceSummary;
2359
+ readonly rates: io.flow.ratecard.v0.models.RatecardRate[];
2360
+ readonly rounding: io.flow.common.v0.models.Rounding;
2361
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
2362
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
2310
2363
  }
2311
2364
 
2312
- interface InventoryRule {
2313
- readonly id: string;
2314
- readonly position: number;
2315
- readonly query: string;
2316
- readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
2365
+ interface RatecardLaneForm {
2366
+ readonly ratecard_id: string;
2367
+ readonly currency: string;
2368
+ readonly destination: io.flow.common.v0.models.Zone;
2369
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
2370
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
2371
+ readonly dim_factor: number;
2372
+ readonly fees: io.flow.ratecard.v0.unions.RatecardFee[];
2373
+ readonly origin: io.flow.common.v0.models.Zone;
2374
+ readonly rounding: io.flow.common.v0.models.Rounding;
2375
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
2376
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
2377
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
2317
2378
  }
2318
2379
 
2319
- interface InventoryRuleForm {
2320
- readonly position: number;
2321
- readonly query: string;
2322
- readonly strategy: io.flow.inventory.v0.unions.InventoryStrategy;
2380
+ interface RatecardLaneImportForm {
2381
+ readonly ratecard_owner: io.flow.fulfillment.v0.enums.RatecardOwner;
2382
+ readonly service: string;
2383
+ readonly currency: string;
2384
+ readonly delivered_duty: io.flow.common.v0.enums.DeliveredDuty;
2385
+ readonly origin: io.flow.common.v0.models.Zone;
2386
+ readonly destination: io.flow.common.v0.models.Zone;
2387
+ readonly shipment_window: io.flow.ratecard.v0.models.ShipmentWindow;
2388
+ readonly dim_factor: number;
2389
+ readonly weight_unit: io.flow.common.v0.enums.UnitOfMeasurement;
2390
+ readonly distance_unit: io.flow.common.v0.enums.UnitOfMeasurement;
2391
+ readonly rates: io.flow.ratecard.v0.models.RatecardRateForm[];
2323
2392
  }
2324
2393
 
2325
- interface InventoryRuleVersion {
2394
+ interface RatecardLaneVersion {
2326
2395
  readonly id: string;
2327
2396
  readonly timestamp: string;
2328
2397
  readonly type: io.flow.common.v0.enums.ChangeType;
2329
- readonly inventory_rule: io.flow.inventory.v0.models.InventoryRule;
2398
+ readonly ratecard_lane: io.flow.ratecard.v0.models.RatecardLane;
2330
2399
  }
2331
2400
 
2332
- interface InventorySnapshot {
2401
+ interface RatecardLanesImportRequestData {
2333
2402
  readonly id: string;
2334
- readonly available: number;
2335
- readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
2336
- readonly item: io.flow.inventory.v0.models.InventoryItemReference;
2337
- readonly quantity: number;
2403
+ readonly source_url: string;
2404
+ readonly filename?: string;
2338
2405
  }
2339
2406
 
2340
- interface InventorySnapshotVersion {
2407
+ interface RatecardRate {
2341
2408
  readonly id: string;
2342
- readonly timestamp: string;
2343
- readonly type: io.flow.common.v0.enums.ChangeType;
2344
- readonly inventory_snapshot: io.flow.inventory.v0.models.InventorySnapshot;
2409
+ readonly amount: number;
2410
+ readonly weight: number;
2345
2411
  }
2346
2412
 
2347
- interface InventoryStock {
2348
- readonly discriminator: 'inventory_stock';
2349
- readonly quantity: number;
2413
+ interface RatecardRateForm {
2414
+ readonly amount: number;
2415
+ readonly weight: number;
2350
2416
  }
2351
2417
 
2352
- interface InventoryUnlimited {
2353
- readonly discriminator: 'inventory_unlimited';
2354
- readonly quantity: string;
2418
+ interface RatecardRateVersion {
2419
+ readonly id: string;
2420
+ readonly timestamp: string;
2421
+ readonly type: io.flow.common.v0.enums.ChangeType;
2422
+ readonly ratecard_rate: io.flow.ratecard.v0.models.RatecardRate;
2355
2423
  }
2356
2424
 
2357
- interface InventoryUpdate {
2425
+ interface RatecardReference {
2358
2426
  readonly id: string;
2359
- readonly idempotency_key: string;
2360
- readonly center: io.flow.inventory.v0.models.InventoryCenterReference;
2361
- readonly item: io.flow.inventory.v0.models.InventoryItemReference;
2362
- readonly notes: any /*object*/;
2363
- readonly quantity: number;
2364
- readonly type: io.flow.inventory.v0.enums.UpdateType;
2365
2427
  }
2366
2428
 
2367
- interface InventoryUpdateForm {
2368
- readonly center: string;
2369
- readonly idempotency_key: string;
2370
- readonly item_number: string;
2371
- readonly quantity: number;
2372
- readonly type: io.flow.inventory.v0.enums.UpdateType;
2373
- readonly notes?: any /*object*/;
2429
+ interface RatecardServiceSummary {
2430
+ readonly id: string;
2431
+ readonly name: string;
2432
+ readonly carrier: io.flow.ratecard.v0.models.RatecardCarrierSummary;
2374
2433
  }
2375
2434
 
2376
- interface InventoryUpdateVersion {
2435
+ interface RatecardVersion {
2377
2436
  readonly id: string;
2378
2437
  readonly timestamp: string;
2379
2438
  readonly type: io.flow.common.v0.enums.ChangeType;
2380
- readonly inventory_update: io.flow.inventory.v0.models.InventoryUpdate;
2439
+ readonly ratecard: io.flow.ratecard.v0.models.Ratecard;
2381
2440
  }
2382
2441
 
2383
- interface NoInventoryReservationError {
2384
- readonly code: 'no_inventory';
2385
- readonly messages: string[];
2386
- readonly items: io.flow.inventory.v0.models.NoInventoryReservationErrorItem[];
2442
+ interface RemoteAreaRatecardFee {
2443
+ readonly discriminator: 'remote_area_ratecard_fee';
2444
+ readonly amount: io.flow.common.v0.models.Money;
2387
2445
  }
2388
2446
 
2389
- interface NoInventoryReservationErrorItem {
2390
- readonly number: string;
2391
- readonly requested_quantity: number;
2392
- readonly available_quantity: number;
2447
+ interface RemoteAreaServiceFee {
2448
+ readonly discriminator: 'remote_area_service_fee';
2449
+ readonly amount: io.flow.common.v0.models.Money;
2393
2450
  }
2394
2451
 
2395
- interface PfsInventoryCheckResponse {
2396
- readonly items: Record<
2397
- string,
2398
- io.flow.inventory.v0.models.PfsInventoryCheckResponseItem
2399
- >;
2452
+ interface ReturnPackageRatecardFee {
2453
+ readonly discriminator: 'return_package_ratecard_fee';
2454
+ readonly amount: number;
2400
2455
  }
2401
2456
 
2402
- interface PfsInventoryCheckResponseItem {
2403
- readonly number: string;
2404
- readonly ats: number;
2405
- readonly in_stock: boolean;
2457
+ interface ShipmentWindow {
2458
+ readonly from: number;
2459
+ readonly to: number;
2406
2460
  }
2461
+ }
2407
2462
 
2408
- interface PfsInventoryStatus {
2409
- readonly status: string;
2410
- }
2463
+ declare namespace io.flow.ratecard.v0.unions {
2464
+ type RatecardEstimate =
2465
+ | io.flow.ratecard.v0.models.RatecardEstimateV1
2466
+ | io.flow.ratecard.v0.models.RatecardEstimateV2;
2467
+ type RatecardEstimateForm =
2468
+ | io.flow.ratecard.v0.models.RatecardEstimateFormV1
2469
+ | io.flow.ratecard.v0.models.RatecardEstimateFormV2;
2470
+ type RatecardFee =
2471
+ | io.flow.ratecard.v0.models.DdpRatecardFee
2472
+ | io.flow.ratecard.v0.models.FuelSurchargeRatecardFee
2473
+ | io.flow.ratecard.v0.models.OversizedShipmentRatecardFee
2474
+ | io.flow.ratecard.v0.models.ReturnPackageRatecardFee
2475
+ | io.flow.ratecard.v0.models.CrossdockRatecardFee
2476
+ | io.flow.ratecard.v0.models.RemoteAreaRatecardFee;
2477
+ type ServiceFee =
2478
+ | io.flow.ratecard.v0.models.FuelSurchargeServiceFee
2479
+ | io.flow.ratecard.v0.models.RemoteAreaServiceFee;
2480
+ }
2411
2481
 
2412
- interface Reservation {
2482
+ declare namespace io.flow.session.context.v0.models {
2483
+ interface Context {
2413
2484
  readonly id: string;
2414
- readonly key: string;
2415
- readonly order?: io.flow.inventory.v0.models.ReservationOrderReference;
2416
- readonly items: io.flow.inventory.v0.models.ReservationItem[];
2417
- readonly reserved_until?: string;
2418
- }
2419
-
2420
- interface ReservationForm {
2421
- readonly order_number?: string;
2422
- readonly items: io.flow.inventory.v0.models.ReservationItemForm[];
2423
- }
2424
-
2425
- interface ReservationItem {
2426
- readonly item: io.flow.inventory.v0.models.ReservationItemReference;
2427
- readonly quantity: number;
2428
- }
2429
-
2430
- interface ReservationItemForm {
2431
- readonly item_number: string;
2432
- readonly quantity: number;
2433
- }
2434
-
2435
- interface ReservationItemReference {
2436
- readonly number: string;
2485
+ readonly experiments: io.flow.session.context.v0.models.Experiment[];
2437
2486
  }
2438
2487
 
2439
- interface ReservationOrderReference {
2440
- readonly number: string;
2488
+ interface ContextForm {
2489
+ readonly experiments: io.flow.session.context.v0.models.Experiment[];
2441
2490
  }
2442
2491
 
2443
- interface Serial {
2492
+ interface ContextReference {
2444
2493
  readonly id: string;
2445
- readonly number: string;
2446
- readonly item_number: string;
2447
- readonly item_price: io.flow.common.v0.models.Price;
2448
- readonly status: io.flow.inventory.v0.enums.SerialStatus;
2449
- readonly center: io.flow.fulfillment.v0.models.CenterReference;
2450
- readonly attributes: Record<string, string>;
2451
2494
  }
2452
2495
 
2453
- interface SerialForm {
2454
- readonly number: string;
2455
- readonly item_number: string;
2456
- readonly item_price: number;
2457
- readonly item_currency: string;
2458
- readonly status: io.flow.inventory.v0.enums.SerialStatus;
2459
- readonly center_key?: string;
2460
- readonly attributes?: Record<string, string>;
2496
+ interface Experiment {
2497
+ readonly key: string;
2498
+ readonly variant?: io.flow.session.context.v0.models.ExperimentVariant;
2461
2499
  }
2462
2500
 
2463
- interface SerialVersion {
2464
- readonly id: string;
2465
- readonly timestamp: string;
2466
- readonly type: io.flow.common.v0.enums.ChangeType;
2467
- readonly serial: io.flow.inventory.v0.models.Serial;
2501
+ interface ExperimentVariant {
2502
+ readonly key: string;
2468
2503
  }
2469
2504
  }
2470
2505
 
2471
- declare namespace io.flow.inventory.v0.unions {
2472
- type InventoryStrategy =
2473
- | io.flow.inventory.v0.models.InventoryBackorder
2474
- | io.flow.inventory.v0.models.InventoryStock
2475
- | io.flow.inventory.v0.models.InventoryUnlimited;
2476
- type ReservationError =
2477
- | io.flow.inventory.v0.models.NoInventoryReservationError
2478
- | io.flow.inventory.v0.models.ExternalApiTimeoutReservationError
2479
- | io.flow.inventory.v0.models.GenericReservationError;
2480
- }
2481
-
2482
2506
  declare namespace io.flow.optin.internal.v0.enums {
2483
2507
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
2484
2508
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
@@ -12671,6 +12695,7 @@ declare namespace io.flow.internal.v0.enums {
12671
12695
  type DutyCompoundExpressionType = 'sum' | 'max' | 'min';
12672
12696
  type DutyRateUnitOfMeasure = 'kg' | 'sq m' | 'item' | 'pair';
12673
12697
  type DutySimpleExpressionType = 'free' | 'percent' | 'per_uom' | 'flat';
12698
+ type EmptyAttribute = 'irrelevant';
12674
12699
  type EventType =
12675
12700
  | 'adyen_authorization_deleted'
12676
12701
  | 'adyen_authorization_upserted'
@@ -12838,7 +12863,7 @@ declare namespace io.flow.internal.v0.enums {
12838
12863
  type ExperienceImportType = 'experience_with_settings';
12839
12864
  type ExperienceOrderAction = 'submit' | 'refund_gift_cards';
12840
12865
  type ExperienceOrderActionTrigger = 'zero_balance' | 'unsubmitted_order';
12841
- type ExperimentDiscriminatorValue = 'experience' | 'feature';
12866
+ type ExperimentDiscriminatorKey = 'experience' | 'feature';
12842
12867
  type FeatureScope = 'global' | 'organization';
12843
12868
  type FeatureStatus = 'draft' | 'active' | 'archived';
12844
12869
  type FeatureType = 'boolean' | 'decimal' | 'string';
@@ -12954,6 +12979,7 @@ declare namespace io.flow.internal.v0.enums {
12954
12979
  | 'flow_sandbox'
12955
12980
  | 'fiserv'
12956
12981
  | 'crypto';
12982
+ type ProductClassificationAction = 'ACCEPT' | 'MANUAL';
12957
12983
  type PromptAction = 'prompt_displayed' | 'consent_granted' | 'consent_denied';
12958
12984
  type PromptCheckoutDisplayPosition = 'email' | 'submission';
12959
12985
  type PromptOptions = 'notice_only' | 'require_consent' | 'consent_by_default';
@@ -12991,6 +13017,7 @@ declare namespace io.flow.internal.v0.enums {
12991
13017
  type TimeseriesType = 'daily' | 'weekly' | 'monthly' | 'yearly';
12992
13018
  type TrackingIntegrationType = 'api' | 'bulk' | 'aftership';
12993
13019
  type TransferMethod = 'ach';
13020
+ type UnclassifiedProductStatus = 'ignored' | 'escalated';
12994
13021
  }
12995
13022
 
12996
13023
  declare namespace io.flow.internal.v0.models {
@@ -13398,6 +13425,11 @@ declare namespace io.flow.internal.v0.models {
13398
13425
  readonly transactionId: string;
13399
13426
  }
13400
13427
 
13428
+ interface AttributeLabel {
13429
+ readonly value: string;
13430
+ readonly estimated: boolean;
13431
+ }
13432
+
13401
13433
  interface AuthenticationForm {
13402
13434
  readonly password: string;
13403
13435
  }
@@ -14660,9 +14692,24 @@ declare namespace io.flow.internal.v0.models {
14660
14692
  }
14661
14693
 
14662
14694
  interface ExperimentFormDefault {
14663
- readonly discriminator: io.flow.internal.v0.enums.ExperimentDiscriminatorValue;
14664
- readonly values: io.flow.internal.v0.models.ExperimentVariantSummary[];
14665
- readonly variants?: io.flow.internal.v0.models.ExperimentVariantFormDefault[];
14695
+ readonly discriminator: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
14696
+ readonly variants?: io.flow.internal.v0.models.ExperimentFormDefaultVariant[];
14697
+ }
14698
+
14699
+ interface ExperimentFormDefaultDiscriminator {
14700
+ readonly key: io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
14701
+ readonly values: io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue[];
14702
+ }
14703
+
14704
+ interface ExperimentFormDefaultDiscriminatorValue {
14705
+ readonly key: string;
14706
+ readonly name: string;
14707
+ }
14708
+
14709
+ interface ExperimentFormDefaultVariant {
14710
+ readonly key: string;
14711
+ readonly name: string;
14712
+ readonly traffic_percentage?: number;
14666
14713
  }
14667
14714
 
14668
14715
  interface ExperimentResults {
@@ -14706,12 +14753,6 @@ declare namespace io.flow.internal.v0.models {
14706
14753
  readonly experiment: io.flow.experiment.internal.v0.models.Experiment;
14707
14754
  }
14708
14755
 
14709
- interface ExperimentVariantFormDefault {
14710
- readonly key: string;
14711
- readonly name: string;
14712
- readonly traffic_percentage: number;
14713
- }
14714
-
14715
14756
  interface ExperimentVariantSummary {
14716
14757
  readonly key: string;
14717
14758
  readonly name?: string;
@@ -15679,6 +15720,14 @@ declare namespace io.flow.internal.v0.models {
15679
15720
  readonly invoice?: io.flow.label.v0.models.ShippingLabelDocument;
15680
15721
  }
15681
15722
 
15723
+ interface LabelTaxonomy {
15724
+ readonly item_type: string;
15725
+ readonly aliases: string[];
15726
+ readonly construction: io.flow.internal.v0.unions.ClassificationLabelAttribute;
15727
+ readonly gender: io.flow.internal.v0.unions.ClassificationLabelAttribute;
15728
+ readonly material: io.flow.internal.v0.unions.ClassificationLabelAttribute;
15729
+ }
15730
+
15682
15731
  interface LabeledContent {
15683
15732
  readonly label: io.flow.internal.v0.models.Label;
15684
15733
  readonly contents: io.flow.internal.v0.unions.ContentItem[];
@@ -17038,6 +17087,27 @@ declare namespace io.flow.internal.v0.models {
17038
17087
  readonly processing_transaction: io.flow.billing.internal.v0.models.ProcessingTransaction;
17039
17088
  }
17040
17089
 
17090
+ interface ProductClassification {
17091
+ readonly organization_id: string;
17092
+ readonly product_id: string;
17093
+ readonly description: string;
17094
+ readonly items: io.flow.internal.v0.models.ClassificationItem[];
17095
+ readonly images: string[];
17096
+ readonly categories: string[];
17097
+ readonly attributes: Record<string, string>;
17098
+ readonly labels: io.flow.internal.v0.models.ProductLabels;
17099
+ readonly current_customs_description?: string;
17100
+ readonly customs_description?: string;
17101
+ readonly hs6_code?: string;
17102
+ readonly hs6_description?: string;
17103
+ readonly next_id?: io.flow.internal.v0.models.ClassificationProductId;
17104
+ }
17105
+
17106
+ interface ProductClassificationForm {
17107
+ readonly product_harmonization: io.flow.internal.v0.models.ProductHarmonization;
17108
+ readonly action: io.flow.internal.v0.enums.ProductClassificationAction;
17109
+ }
17110
+
17041
17111
  interface ProductClassificationJudgementForm {
17042
17112
  readonly organization_id: string;
17043
17113
  readonly product_id: string;
@@ -17051,6 +17121,24 @@ declare namespace io.flow.internal.v0.models {
17051
17121
  readonly next_product?: io.flow.internal.v0.models.ClassificationProductId;
17052
17122
  }
17053
17123
 
17124
+ interface ProductHarmonization {
17125
+ readonly product_labels: io.flow.internal.v0.models.ProductLabels;
17126
+ readonly customs_description: string;
17127
+ readonly hs6_code: string;
17128
+ readonly model_version: string;
17129
+ }
17130
+
17131
+ interface ProductHarmonizationForm {
17132
+ readonly product_labels: io.flow.internal.v0.models.ProductLabels;
17133
+ }
17134
+
17135
+ interface ProductLabels {
17136
+ readonly item_type: string;
17137
+ readonly gender?: io.flow.internal.v0.models.AttributeLabel;
17138
+ readonly material?: io.flow.internal.v0.models.AttributeLabel;
17139
+ readonly construction?: io.flow.internal.v0.models.AttributeLabel;
17140
+ }
17141
+
17054
17142
  interface QuoteRequest {
17055
17143
  readonly id: string;
17056
17144
  readonly request_type: io.flow.internal.v0.enums.QuoteRequestType;
@@ -17895,6 +17983,11 @@ declare namespace io.flow.internal.v0.models {
17895
17983
  readonly period: io.flow.common.v0.models.DatetimeRange;
17896
17984
  }
17897
17985
 
17986
+ interface SupportedLabels {
17987
+ readonly discriminator: 'supported_labels';
17988
+ readonly values: string[];
17989
+ }
17990
+
17898
17991
  interface SvbVirtualCardClearing {
17899
17992
  readonly id: string;
17900
17993
  readonly virtual_card_id: string;
@@ -18178,7 +18271,7 @@ declare namespace io.flow.internal.v0.models {
18178
18271
  interface UnclassifiedProductsForm {
18179
18272
  readonly organization_id: string;
18180
18273
  readonly product_id: string;
18181
- readonly ignore?: boolean;
18274
+ readonly status?: io.flow.internal.v0.enums.UnclassifiedProductStatus;
18182
18275
  }
18183
18276
 
18184
18277
  interface UnharmonizedItemsExport {
@@ -18278,6 +18371,14 @@ declare namespace io.flow.internal.v0.unions {
18278
18371
  | io.flow.internal.v0.models.CheckoutOrderNumberForm;
18279
18372
  type CheckoutSubmitOrderBundles = io.flow.internal.v0.models.CheckoutSubmitOrderBundle;
18280
18373
  type CheckoutSubmitOrderForms = io.flow.internal.v0.models.CheckoutSubmitOrderForm;
18374
+
18375
+ type ClassificationLabelAttribute =
18376
+ | {
18377
+ discriminator: 'empty_attribute';
18378
+ value: io.flow.internal.v0.enums.EmptyAttribute;
18379
+ }
18380
+ | io.flow.internal.v0.models.SupportedLabels;
18381
+
18281
18382
  type ContentItem =
18282
18383
  | io.flow.internal.v0.models.Dict
18283
18384
  | io.flow.internal.v0.models.Href
@@ -18627,6 +18728,7 @@ export type AllocationItemReference = io.flow.internal.v0.models.AllocationItemR
18627
18728
  export type ApmContent = io.flow.internal.v0.models.ApmContent;
18628
18729
  export type ApplePaymentToken = io.flow.internal.v0.models.ApplePaymentToken;
18629
18730
  export type ApplePaymentTokenHeader = io.flow.internal.v0.models.ApplePaymentTokenHeader;
18731
+ export type AttributeLabel = io.flow.internal.v0.models.AttributeLabel;
18630
18732
  export type AuthenticationForm = io.flow.internal.v0.models.AuthenticationForm;
18631
18733
  export type Authorization = io.flow.internal.v0.models.Authorization;
18632
18734
  export type AuthorizationMetadata = io.flow.internal.v0.models.AuthorizationMetadata;
@@ -18758,6 +18860,7 @@ export type CipherForm = io.flow.internal.v0.models.CipherForm;
18758
18860
  export type CipherReference = io.flow.internal.v0.models.CipherReference;
18759
18861
  export type ClassicPaymentRedirectForm = io.flow.internal.v0.models.ClassicPaymentRedirectForm;
18760
18862
  export type ClassificationItem = io.flow.internal.v0.models.ClassificationItem;
18863
+ export type ClassificationLabelAttribute = io.flow.internal.v0.unions.ClassificationLabelAttribute;
18761
18864
  export type ClassificationProduct = io.flow.internal.v0.models.ClassificationProduct;
18762
18865
  export type ClassificationProductId = io.flow.internal.v0.models.ClassificationProductId;
18763
18866
  export type ClassificationProductSummary = io.flow.internal.v0.models.ClassificationProductSummary;
@@ -18826,6 +18929,7 @@ export type DutySimpleExpression = io.flow.internal.v0.models.DutySimpleExpressi
18826
18929
  export type DutySimpleExpressionType = io.flow.internal.v0.enums.DutySimpleExpressionType;
18827
18930
  export type EmailForm = io.flow.internal.v0.models.EmailForm;
18828
18931
  export type EmailModificationForm = io.flow.internal.v0.models.EmailModificationForm;
18932
+ export type EmptyAttribute = io.flow.internal.v0.enums.EmptyAttribute;
18829
18933
  export type Encryption = io.flow.internal.v0.models.Encryption;
18830
18934
  export type Event = io.flow.internal.v0.unions.Event;
18831
18935
  export type EventType = io.flow.internal.v0.enums.EventType;
@@ -18843,16 +18947,18 @@ export type ExperienceVariant = io.flow.internal.v0.models.ExperienceVariant;
18843
18947
  export type ExperienceVariantForm = io.flow.internal.v0.models.ExperienceVariantForm;
18844
18948
  export type Experiment = io.flow.internal.v0.unions.Experiment;
18845
18949
  export type ExperimentDeleted = io.flow.internal.v0.models.ExperimentDeleted;
18846
- export type ExperimentDiscriminatorValue = io.flow.internal.v0.enums.ExperimentDiscriminatorValue;
18950
+ export type ExperimentDiscriminatorKey = io.flow.internal.v0.enums.ExperimentDiscriminatorKey;
18847
18951
  export type ExperimentEngineResults = io.flow.internal.v0.models.ExperimentEngineResults;
18848
18952
  export type ExperimentForm = io.flow.internal.v0.models.ExperimentForm;
18849
18953
  export type ExperimentFormDefault = io.flow.internal.v0.models.ExperimentFormDefault;
18954
+ export type ExperimentFormDefaultDiscriminator = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminator;
18955
+ export type ExperimentFormDefaultDiscriminatorValue = io.flow.internal.v0.models.ExperimentFormDefaultDiscriminatorValue;
18956
+ export type ExperimentFormDefaultVariant = io.flow.internal.v0.models.ExperimentFormDefaultVariant;
18850
18957
  export type ExperimentResults = io.flow.internal.v0.models.ExperimentResults;
18851
18958
  export type ExperimentResultsDeleted = io.flow.internal.v0.models.ExperimentResultsDeleted;
18852
18959
  export type ExperimentResultsUpserted = io.flow.internal.v0.models.ExperimentResultsUpserted;
18853
18960
  export type ExperimentResultsWithTimestamp = io.flow.internal.v0.models.ExperimentResultsWithTimestamp;
18854
18961
  export type ExperimentUpserted = io.flow.internal.v0.models.ExperimentUpserted;
18855
- export type ExperimentVariantFormDefault = io.flow.internal.v0.models.ExperimentVariantFormDefault;
18856
18962
  export type ExperimentVariantSummary = io.flow.internal.v0.models.ExperimentVariantSummary;
18857
18963
  export type ExperimentVersion = io.flow.internal.v0.models.ExperimentVersion;
18858
18964
  export type ExplicitStatementDate = io.flow.internal.v0.models.ExplicitStatementDate;
@@ -19017,6 +19123,7 @@ export type KeyReference = io.flow.internal.v0.models.KeyReference;
19017
19123
  export type Label = io.flow.internal.v0.models.Label;
19018
19124
  export type LabelBillingStrategy = io.flow.internal.v0.enums.LabelBillingStrategy;
19019
19125
  export type LabelSummary = io.flow.internal.v0.models.LabelSummary;
19126
+ export type LabelTaxonomy = io.flow.internal.v0.models.LabelTaxonomy;
19020
19127
  export type LabeledContent = io.flow.internal.v0.models.LabeledContent;
19021
19128
  export type LabelsPrediction = io.flow.internal.v0.models.LabelsPrediction;
19022
19129
  export type LandedCostExport = io.flow.internal.v0.models.LandedCostExport;
@@ -19238,8 +19345,14 @@ export type ProcessingTransactionDeleted = io.flow.internal.v0.models.Processing
19238
19345
  export type ProcessingTransactionType = io.flow.internal.v0.enums.ProcessingTransactionType;
19239
19346
  export type ProcessingTransactionUpserted = io.flow.internal.v0.models.ProcessingTransactionUpserted;
19240
19347
  export type Processor = io.flow.internal.v0.enums.Processor;
19348
+ export type ProductClassification = io.flow.internal.v0.models.ProductClassification;
19349
+ export type ProductClassificationAction = io.flow.internal.v0.enums.ProductClassificationAction;
19350
+ export type ProductClassificationForm = io.flow.internal.v0.models.ProductClassificationForm;
19241
19351
  export type ProductClassificationJudgementForm = io.flow.internal.v0.models.ProductClassificationJudgementForm;
19242
19352
  export type ProductClassificationResult = io.flow.internal.v0.models.ProductClassificationResult;
19353
+ export type ProductHarmonization = io.flow.internal.v0.models.ProductHarmonization;
19354
+ export type ProductHarmonizationForm = io.flow.internal.v0.models.ProductHarmonizationForm;
19355
+ export type ProductLabels = io.flow.internal.v0.models.ProductLabels;
19243
19356
  export type PromptAction = io.flow.internal.v0.enums.PromptAction;
19244
19357
  export type PromptCheckoutDisplayPosition = io.flow.internal.v0.enums.PromptCheckoutDisplayPosition;
19245
19358
  export type PromptOptions = io.flow.internal.v0.enums.PromptOptions;
@@ -19387,6 +19500,7 @@ export type Subscription = io.flow.internal.v0.models.Subscription;
19387
19500
  export type SubscriptionFrequency = io.flow.internal.v0.enums.SubscriptionFrequency;
19388
19501
  export type SubscriptionTransaction = io.flow.internal.v0.models.SubscriptionTransaction;
19389
19502
  export type SuggestionAction = io.flow.internal.v0.enums.SuggestionAction;
19503
+ export type SupportedLabels = io.flow.internal.v0.models.SupportedLabels;
19390
19504
  export type SvbVirtualCardClearing = io.flow.internal.v0.models.SvbVirtualCardClearing;
19391
19505
  export type SvbVirtualCardClearingDeleted = io.flow.internal.v0.models.SvbVirtualCardClearingDeleted;
19392
19506
  export type SvbVirtualCardClearingUpserted = io.flow.internal.v0.models.SvbVirtualCardClearingUpserted;
@@ -19431,6 +19545,7 @@ export type TransferTransaction = io.flow.internal.v0.models.TransferTransaction
19431
19545
  export type TransferTransactionDeleted = io.flow.internal.v0.models.TransferTransactionDeleted;
19432
19546
  export type TransferTransactionUpserted = io.flow.internal.v0.models.TransferTransactionUpserted;
19433
19547
  export type Tribe = io.flow.internal.v0.models.Tribe;
19548
+ export type UnclassifiedProductStatus = io.flow.internal.v0.enums.UnclassifiedProductStatus;
19434
19549
  export type UnclassifiedProductsForm = io.flow.internal.v0.models.UnclassifiedProductsForm;
19435
19550
  export type UnharmonizedItemsExport = io.flow.internal.v0.models.UnharmonizedItemsExport;
19436
19551
  export type UnphrasedProductsExport = io.flow.internal.v0.models.UnphrasedProductsExport;