@flowio/api-prop-types 10.16.71 → 10.16.72

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.
package/src/api.js CHANGED
@@ -995,6 +995,16 @@ T['io.flow.stripe.v0.models.plan'] = PropTypes.exact({
995
995
  type: PropTypes.string,
996
996
  });
997
997
 
998
+ T['io.flow.stripe.v0.models.klarna_dob_form'] = PropTypes.exact({
999
+ day: PropTypes.number.isRequired,
1000
+ month: PropTypes.number.isRequired,
1001
+ year: PropTypes.number.isRequired,
1002
+ });
1003
+
1004
+ T['io.flow.stripe.v0.models.payment_method_klarna_form'] = PropTypes.exact({
1005
+ dob: T['io.flow.stripe.v0.models.klarna_dob_form'],
1006
+ });
1007
+
998
1008
  T['io.flow.stripe.v0.models.payment_method_card_form'] = PropTypes.exact({
999
1009
  exp_month: PropTypes.string.isRequired,
1000
1010
  exp_year: PropTypes.string.isRequired,
@@ -1018,10 +1028,6 @@ T['io.flow.stripe.v0.models.payment_method_options_card_form'] = PropTypes.exact
1018
1028
  mcc: PropTypes.string,
1019
1029
  });
1020
1030
 
1021
- T['io.flow.stripe.v0.models.payment_method_options_form'] = PropTypes.exact({
1022
- card: T['io.flow.stripe.v0.models.payment_method_options_card_form'],
1023
- });
1024
-
1025
1031
  T['io.flow.stripe.v0.models.payment_method_options_card'] = PropTypes.exact({
1026
1032
  network: PropTypes.string,
1027
1033
  request_three_d_secure: T['io.flow.stripe.v0.enums.request_three_d_secure_type'],
@@ -1041,11 +1047,6 @@ T['io.flow.stripe.v0.enums.payment_intent_status'] = PropTypes.oneOf([
1041
1047
  ]);
1042
1048
 
1043
1049
  T['io.flow.stripe.v0.enums.setup_future_usage'] = PropTypes.oneOf(['on_session', 'off_session']);
1044
-
1045
- T['io.flow.stripe.v0.models.payment_method_options'] = PropTypes.exact({
1046
- card: T['io.flow.stripe.v0.models.payment_method_options_card'],
1047
- });
1048
-
1049
1050
  T['io.flow.stripe.v0.enums.confirmation_method'] = PropTypes.oneOf(['automatic', 'manual']);
1050
1051
  T['io.flow.stripe.v0.enums.capture_method'] = PropTypes.oneOf(['automatic', 'manual']);
1051
1052
 
@@ -1063,6 +1064,40 @@ T['io.flow.stripe.v0.models.payment_intent_cancellation_form'] = PropTypes.exact
1063
1064
  cancellation_reason: T['io.flow.stripe.v0.enums.cancellation_reason'],
1064
1065
  });
1065
1066
 
1067
+ T['io.flow.stripe.v0.models.marketplace_seller_info'] = PropTypes.exact({
1068
+ name: PropTypes.string.isRequired,
1069
+ id: PropTypes.string,
1070
+ product_category: PropTypes.string,
1071
+ });
1072
+
1073
+ T['io.flow.stripe.v0.models.payment_details'] = PropTypes.exact({
1074
+ marketplace_seller_info: T['io.flow.stripe.v0.models.marketplace_seller_info'],
1075
+ });
1076
+
1077
+ T['io.flow.stripe.v0.models.payment_method_options_klarna_form'] = PropTypes.exact({
1078
+ capture_method: T['io.flow.stripe.v0.enums.capture_method'],
1079
+ preferred_locale: T['io.flow.stripe.v0.enums.preferred_locale_klarna'],
1080
+ setup_future_usage: T['io.flow.stripe.v0.enums.setup_future_usage'],
1081
+ payment_details: T['io.flow.stripe.v0.models.payment_details'],
1082
+ });
1083
+
1084
+ T['io.flow.stripe.v0.models.payment_method_options_form'] = PropTypes.exact({
1085
+ card: T['io.flow.stripe.v0.models.payment_method_options_card_form'],
1086
+ klarna: T['io.flow.stripe.v0.models.payment_method_options_klarna_form'],
1087
+ });
1088
+
1089
+ T['io.flow.stripe.v0.models.payment_method_options_klarna'] = PropTypes.exact({
1090
+ capture_method: T['io.flow.stripe.v0.enums.capture_method'],
1091
+ preferred_locale: T['io.flow.stripe.v0.enums.preferred_locale_klarna'],
1092
+ setup_future_usage: T['io.flow.stripe.v0.enums.setup_future_usage'],
1093
+ payment_details: T['io.flow.stripe.v0.models.payment_details'],
1094
+ });
1095
+
1096
+ T['io.flow.stripe.v0.models.payment_method_options'] = PropTypes.exact({
1097
+ card: T['io.flow.stripe.v0.models.payment_method_options_card'],
1098
+ klarna: T['io.flow.stripe.v0.models.payment_method_options_klarna'],
1099
+ });
1100
+
1066
1101
  T['io.flow.stripe.v0.enums.order_item_type'] = PropTypes.oneOf(['sku', 'tax', 'shipping', 'discount']);
1067
1102
 
1068
1103
  T['io.flow.stripe.v0.models.order_item_request'] = PropTypes.exact({
@@ -1126,6 +1161,13 @@ T['io.flow.stripe.v0.models.payment_method_billing_details'] = PropTypes.exact({
1126
1161
  phone: PropTypes.string,
1127
1162
  });
1128
1163
 
1164
+ T['io.flow.stripe.v0.models.payment_method_form_klarna'] = PropTypes.exact({
1165
+ type: PropTypes.oneOf(['klarna']).isRequired,
1166
+ billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
1167
+ metadata: PropTypes.object,
1168
+ klarna: T['io.flow.stripe.v0.models.payment_method_klarna_form'].isRequired,
1169
+ });
1170
+
1129
1171
  T['io.flow.stripe.v0.models.payment_method_form_card'] = PropTypes.exact({
1130
1172
  type: PropTypes.oneOf(['card']).isRequired,
1131
1173
  billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
@@ -1133,7 +1175,17 @@ T['io.flow.stripe.v0.models.payment_method_form_card'] = PropTypes.exact({
1133
1175
  card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
1134
1176
  });
1135
1177
 
1136
- T['io.flow.stripe.v0.unions.payment_method_form'] = PropTypes.oneOfType([T['io.flow.stripe.v0.models.payment_method_form_card']]);
1178
+ T['io.flow.stripe.v0.unions.payment_method_form'] = PropTypes.oneOfType([
1179
+ T['io.flow.stripe.v0.models.payment_method_form_card'],
1180
+ T['io.flow.stripe.v0.models.payment_method_form_klarna'],
1181
+ ]);
1182
+
1183
+ T['io.flow.stripe.v0.models.payment_method_data_klarna'] = PropTypes.exact({
1184
+ type: PropTypes.oneOf(['klarna']).isRequired,
1185
+ billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
1186
+ metadata: PropTypes.object,
1187
+ klarna: T['io.flow.stripe.v0.models.payment_method_klarna_form'].isRequired,
1188
+ });
1137
1189
 
1138
1190
  T['io.flow.stripe.v0.models.payment_method_data_card'] = PropTypes.exact({
1139
1191
  type: PropTypes.oneOf(['card']).isRequired,
@@ -1142,7 +1194,10 @@ T['io.flow.stripe.v0.models.payment_method_data_card'] = PropTypes.exact({
1142
1194
  card: T['io.flow.stripe.v0.models.payment_method_card_form'].isRequired,
1143
1195
  });
1144
1196
 
1145
- T['io.flow.stripe.v0.unions.payment_method_data'] = PropTypes.oneOfType([T['io.flow.stripe.v0.models.payment_method_data_card']]);
1197
+ T['io.flow.stripe.v0.unions.payment_method_data'] = PropTypes.oneOfType([
1198
+ T['io.flow.stripe.v0.models.payment_method_data_card'],
1199
+ T['io.flow.stripe.v0.models.payment_method_data_klarna'],
1200
+ ]);
1146
1201
 
1147
1202
  T['io.flow.stripe.v0.models.payment_intent_confirmation_form'] = PropTypes.exact({
1148
1203
  off_session: PropTypes.bool,
@@ -1643,6 +1698,7 @@ T['io.flow.stripe.v0.models.payment_method'] = PropTypes.exact({
1643
1698
  billing_details: T['io.flow.stripe.v0.models.payment_method_billing_details'],
1644
1699
  card: T['io.flow.stripe.v0.models.payment_method_card_details'],
1645
1700
  card_present: PropTypes.object,
1701
+ klarna: PropTypes.object,
1646
1702
  created: PropTypes.number.isRequired,
1647
1703
  customer: PropTypes.string,
1648
1704
  livemode: PropTypes.bool.isRequired,
@@ -3453,6 +3509,7 @@ T['io.flow.v0.enums.onboarding_blocked_reason'] = PropTypes.oneOf([
3453
3509
  'business_street_address_is_blank',
3454
3510
  'business_street_address_is_po_box',
3455
3511
  'exception_merchant',
3512
+ 'application_missing',
3456
3513
  ]);
3457
3514
 
3458
3515
  T['io.flow.v0.models.session_experiment_variant_form'] = PropTypes.exact({
@@ -4813,22 +4870,6 @@ T['io.flow.v0.models.merchant_rejected'] = PropTypes.exact({
4813
4870
  deactivate_at: PropTypes.string,
4814
4871
  });
4815
4872
 
4816
- T['io.flow.v0.unions.onboarding_state'] = PropTypes.oneOfType([
4817
- T['io.flow.v0.models.in_compliance_review'],
4818
- T['io.flow.v0.models.setup_in_progress'],
4819
- T['io.flow.v0.models.merchant_rejected'],
4820
- T['io.flow.v0.models.setup_blocked'],
4821
- T['io.flow.v0.models.setup_completed'],
4822
- T['io.flow.v0.models.merchant_activated'],
4823
- T['io.flow.v0.models.merchant_deactivated'],
4824
- ]);
4825
-
4826
- T['io.flow.v0.models.onboarding_state_transition'] = PropTypes.exact({
4827
- id: PropTypes.string.isRequired,
4828
- state: T['io.flow.v0.unions.onboarding_state'].isRequired,
4829
- started_at: PropTypes.string.isRequired,
4830
- });
4831
-
4832
4873
  T['io.flow.v0.enums.region_type'] = PropTypes.oneOf(['state', 'province', 'jurisdiction']);
4833
4874
 
4834
4875
  T['io.flow.v0.models.merchant_info'] = PropTypes.exact({
@@ -4852,6 +4893,30 @@ T['io.flow.v0.models.merchant_gift_card_error'] = PropTypes.exact({
4852
4893
  messages: PropTypes.arrayOf(PropTypes.string),
4853
4894
  });
4854
4895
 
4896
+ T['io.flow.v0.enums.merchant_disabled_reason'] = PropTypes.oneOf(['merchant_deactivated', 'merchant_rejected']);
4897
+
4898
+ T['io.flow.v0.models.merchant_disabled'] = PropTypes.exact({
4899
+ discriminator: PropTypes.oneOf(['merchant_disabled']).isRequired,
4900
+ reason: T['io.flow.v0.enums.merchant_disabled_reason'].isRequired,
4901
+ });
4902
+
4903
+ T['io.flow.v0.unions.onboarding_state'] = PropTypes.oneOfType([
4904
+ T['io.flow.v0.models.in_compliance_review'],
4905
+ T['io.flow.v0.models.setup_in_progress'],
4906
+ T['io.flow.v0.models.merchant_rejected'],
4907
+ T['io.flow.v0.models.setup_blocked'],
4908
+ T['io.flow.v0.models.setup_completed'],
4909
+ T['io.flow.v0.models.merchant_activated'],
4910
+ T['io.flow.v0.models.merchant_deactivated'],
4911
+ T['io.flow.v0.models.merchant_disabled'],
4912
+ ]);
4913
+
4914
+ T['io.flow.v0.models.onboarding_state_transition'] = PropTypes.exact({
4915
+ id: PropTypes.string.isRequired,
4916
+ state: T['io.flow.v0.unions.onboarding_state'].isRequired,
4917
+ started_at: PropTypes.string.isRequired,
4918
+ });
4919
+
4855
4920
  T['io.flow.v0.enums.margin_type'] = PropTypes.oneOf(['fixed', 'percent']);
4856
4921
 
4857
4922
  T['io.flow.v0.models.margin'] = PropTypes.exact({
@@ -5020,6 +5085,10 @@ T['io.flow.v0.enums.trueup_surcharge_type'] = PropTypes.oneOf([
5020
5085
  'emergency',
5021
5086
  'peak',
5022
5087
  'address_correction',
5088
+ 'security_ratecard_fee',
5089
+ 'eei_filing_ratecard_fee',
5090
+ 'fixed_ddp_ratecard_fee',
5091
+ 'fixed_currency_conversion_ratecard_fee',
5023
5092
  ]);
5024
5093
 
5025
5094
  T['io.flow.v0.models.trueup_label_surcharge'] = PropTypes.exact({
@@ -5989,37 +6058,6 @@ T['io.flow.v0.models.discount_offer_percent'] = PropTypes.exact({
5989
6058
  });
5990
6059
 
5991
6060
  T['io.flow.v0.enums.authorization_option'] = PropTypes.oneOf(['store_card']);
5992
-
5993
- T['io.flow.v0.enums.unit_of_measurement'] = PropTypes.oneOf([
5994
- 'millimeter',
5995
- 'centimeter',
5996
- 'inch',
5997
- 'foot',
5998
- 'cubic_inch',
5999
- 'cubic_meter',
6000
- 'gram',
6001
- 'kilogram',
6002
- 'meter',
6003
- 'ounce',
6004
- 'pound',
6005
- ]);
6006
-
6007
- T['io.flow.v0.models.fuel_surcharge_by_weight'] = PropTypes.exact({
6008
- discriminator: PropTypes.oneOf(['fuel_surcharge_by_weight']).isRequired,
6009
- amount: PropTypes.number.isRequired,
6010
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
6011
- });
6012
-
6013
- T['io.flow.v0.unions.fuel_surcharge_rate'] = PropTypes.oneOfType([
6014
- T['io.flow.v0.models.fuel_surcharge_percent'],
6015
- T['io.flow.v0.models.fuel_surcharge_by_weight'],
6016
- ]);
6017
-
6018
- T['io.flow.v0.models.fee_weight'] = PropTypes.exact({
6019
- weight: PropTypes.number.isRequired,
6020
- unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
6021
- });
6022
-
6023
6061
  T['io.flow.v0.enums.package_dimensions_source'] = PropTypes.oneOf(['provided', 'dimensions_estimated']);
6024
6062
  T['io.flow.v0.enums.shipment_recipient'] = PropTypes.oneOf(['customer', 'return', 'crossdock']);
6025
6063
  T['io.flow.v0.enums.direction'] = PropTypes.oneOf(['outbound', 'return']);
@@ -6166,43 +6204,6 @@ T['io.flow.v0.models.surcharge_setting'] = PropTypes.exact({
6166
6204
  responsible_party: T['io.flow.v0.enums.surcharge_responsible_party'].isRequired,
6167
6205
  });
6168
6206
 
6169
- T['io.flow.v0.models.measurement'] = PropTypes.exact({
6170
- value: PropTypes.string.isRequired,
6171
- units: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
6172
- });
6173
-
6174
- T['io.flow.v0.models.tax_duty_quote_line_item_form'] = PropTypes.exact({
6175
- primary_identifier: PropTypes.string.isRequired,
6176
- attributes: PropTypes.objectOf(PropTypes.string),
6177
- ship_from: T['io.flow.v0.models.street_address'].isRequired,
6178
- quantity: PropTypes.number.isRequired,
6179
- unit_price: PropTypes.number.isRequired,
6180
- unit_weight: T['io.flow.v0.models.measurement'],
6181
- country_of_origin: PropTypes.string,
6182
- hs_code: PropTypes.string,
6183
- includes: PropTypes.arrayOf(T['io.flow.v0.enums.levy_inclusion']).isRequired,
6184
- });
6185
-
6186
- T['io.flow.v0.models.estimated_dimensions'] = PropTypes.exact({
6187
- depth: T['io.flow.v0.models.measurement'].isRequired,
6188
- length: T['io.flow.v0.models.measurement'].isRequired,
6189
- weight: T['io.flow.v0.models.measurement'].isRequired,
6190
- width: T['io.flow.v0.models.measurement'].isRequired,
6191
- });
6192
-
6193
- T['io.flow.v0.models.dimension_estimate_form'] = PropTypes.exact({
6194
- q: PropTypes.string.isRequired,
6195
- dimensions: T['io.flow.v0.models.estimated_dimensions'].isRequired,
6196
- position: PropTypes.number,
6197
- });
6198
-
6199
- T['io.flow.v0.models.dimension_estimate'] = PropTypes.exact({
6200
- id: PropTypes.string.isRequired,
6201
- q: PropTypes.string.isRequired,
6202
- dimensions: T['io.flow.v0.models.estimated_dimensions'].isRequired,
6203
- position: PropTypes.number.isRequired,
6204
- });
6205
-
6206
6207
  T['io.flow.v0.models.percent_margin'] = PropTypes.exact({
6207
6208
  discriminator: PropTypes.oneOf(['percent_margin']).isRequired,
6208
6209
  percentage: PropTypes.number.isRequired,
@@ -6304,11 +6305,6 @@ T['io.flow.v0.models.lane_summary'] = PropTypes.exact({
6304
6305
  ratecard: T['io.flow.v0.models.ratecard_summary'].isRequired,
6305
6306
  });
6306
6307
 
6307
- T['io.flow.v0.models.option_weight_estimates'] = PropTypes.exact({
6308
- gravitational: T['io.flow.v0.models.measurement'].isRequired,
6309
- dimensional: T['io.flow.v0.models.measurement'].isRequired,
6310
- });
6311
-
6312
6308
  T['io.flow.v0.models.delivery_window'] = PropTypes.exact({
6313
6309
  from: PropTypes.string.isRequired,
6314
6310
  to: PropTypes.string.isRequired,
@@ -6725,31 +6721,6 @@ T['io.flow.v0.models.order_options'] = PropTypes.exact({
6725
6721
 
6726
6722
  T['io.flow.v0.enums.delivered_duty'] = PropTypes.oneOf(['paid', 'unpaid']);
6727
6723
 
6728
- T['io.flow.v0.models.tax_duty_quote_form'] = PropTypes.exact({
6729
- primary_identifier: PropTypes.string.isRequired,
6730
- attributes: PropTypes.objectOf(PropTypes.string),
6731
- delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
6732
- destination: T['io.flow.v0.models.street_address'].isRequired,
6733
- currency: PropTypes.string.isRequired,
6734
- lines: PropTypes.arrayOf(T['io.flow.v0.models.tax_duty_quote_line_item_form']).isRequired,
6735
- shipping: PropTypes.arrayOf(T['io.flow.v0.models.tax_duty_quote_simple_shipping_form']).isRequired,
6736
- includes: PropTypes.arrayOf(T['io.flow.v0.enums.levy_inclusion']),
6737
- });
6738
-
6739
- T['io.flow.v0.models.ratecard_lane_import_form'] = PropTypes.exact({
6740
- ratecard_owner: T['io.flow.v0.enums.ratecard_owner'].isRequired,
6741
- service: PropTypes.string.isRequired,
6742
- currency: PropTypes.string.isRequired,
6743
- delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
6744
- origin: T['io.flow.v0.models.zone'].isRequired,
6745
- destination: T['io.flow.v0.models.zone'].isRequired,
6746
- shipment_window: T['io.flow.v0.models.shipment_window'].isRequired,
6747
- dim_factor: PropTypes.number.isRequired,
6748
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
6749
- distance_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
6750
- rates: PropTypes.arrayOf(T['io.flow.v0.models.ratecard_rate_form']).isRequired,
6751
- });
6752
-
6753
6724
  T['io.flow.v0.models.order_builder_delivered_duty_form'] = PropTypes.exact({
6754
6725
  delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
6755
6726
  });
@@ -7961,67 +7932,6 @@ T['io.flow.v0.models.center_reference'] = PropTypes.exact({
7961
7932
  center_key: PropTypes.string.isRequired,
7962
7933
  });
7963
7934
 
7964
- T['io.flow.v0.models.dimension'] = PropTypes.exact({
7965
- depth: T['io.flow.v0.models.measurement'],
7966
- diameter: T['io.flow.v0.models.measurement'],
7967
- length: T['io.flow.v0.models.measurement'],
7968
- weight: T['io.flow.v0.models.measurement'],
7969
- width: T['io.flow.v0.models.measurement'],
7970
- });
7971
-
7972
- T['io.flow.v0.models.single_package_shipping_notification_form'] = PropTypes.exact({
7973
- discriminator: PropTypes.oneOf(['single_package_shipping_notification_form']).isRequired,
7974
- fulfillment_key: PropTypes.string.isRequired,
7975
- carrier_tracking_number: PropTypes.string.isRequired,
7976
- package_dimensions: T['io.flow.v0.models.dimension'],
7977
- service: PropTypes.string,
7978
- shipment_recipient: T['io.flow.v0.enums.shipment_recipient'],
7979
- });
7980
-
7981
- T['io.flow.v0.models.package_dimensions_form'] = PropTypes.exact({
7982
- dimensions: PropTypes.arrayOf(T['io.flow.v0.models.dimension']).isRequired,
7983
- });
7984
-
7985
- T['io.flow.v0.models.package_dimensions'] = PropTypes.exact({
7986
- dimensions: PropTypes.arrayOf(T['io.flow.v0.models.dimension']).isRequired,
7987
- });
7988
-
7989
- T['io.flow.v0.models.dimensions'] = PropTypes.exact({
7990
- product: T['io.flow.v0.models.dimension'],
7991
- packaging: T['io.flow.v0.models.dimension'],
7992
- });
7993
-
7994
- T['io.flow.v0.models.item_form_overlay_form'] = PropTypes.exact({
7995
- number: PropTypes.string.isRequired,
7996
- price: PropTypes.number,
7997
- currency: PropTypes.string,
7998
- position: PropTypes.number,
7999
- categories: PropTypes.arrayOf(PropTypes.string),
8000
- description: PropTypes.string,
8001
- attributes: PropTypes.objectOf(PropTypes.string),
8002
- dimensions: T['io.flow.v0.models.dimensions'],
8003
- images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
8004
- });
8005
-
8006
- T['io.flow.v0.models.item_form'] = PropTypes.exact({
8007
- number: PropTypes.string.isRequired,
8008
- locale: PropTypes.string.isRequired,
8009
- name: PropTypes.string.isRequired,
8010
- currency: PropTypes.string.isRequired,
8011
- price: PropTypes.number.isRequired,
8012
- categories: PropTypes.arrayOf(PropTypes.string),
8013
- description: PropTypes.string,
8014
- attributes: PropTypes.objectOf(PropTypes.string),
8015
- dimensions: T['io.flow.v0.models.dimensions'],
8016
- images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
8017
- });
8018
-
8019
- T['io.flow.v0.models.packaging'] = PropTypes.exact({
8020
- dimensions: T['io.flow.v0.models.dimensions'].isRequired,
8021
- name: PropTypes.string,
8022
- number: PropTypes.string,
8023
- });
8024
-
8025
7935
  T['io.flow.v0.models.datetime_range'] = PropTypes.exact({
8026
7936
  from: PropTypes.string.isRequired,
8027
7937
  to: PropTypes.string.isRequired,
@@ -8252,6 +8162,7 @@ T['io.flow.v0.enums.flow_role'] = PropTypes.oneOf([
8252
8162
  'organization_fulfillment',
8253
8163
  'organization_marketing',
8254
8164
  'organization_finance',
8165
+ 'organization_classification',
8255
8166
  'flow_operations',
8256
8167
  'channel_admin',
8257
8168
  'channel_organization_admin',
@@ -9186,13 +9097,6 @@ T['io.flow.v0.models.exclusion_rule_version'] = PropTypes.exact({
9186
9097
  exclusion_rule: T['io.flow.v0.models.exclusion_rule'].isRequired,
9187
9098
  });
9188
9099
 
9189
- T['io.flow.v0.models.dimension_estimate_version'] = PropTypes.exact({
9190
- id: PropTypes.string.isRequired,
9191
- timestamp: PropTypes.string.isRequired,
9192
- type: T['io.flow.v0.enums.change_type'].isRequired,
9193
- dimension_estimate: T['io.flow.v0.models.dimension_estimate'].isRequired,
9194
- });
9195
-
9196
9100
  T['io.flow.v0.models.catalog_version'] = PropTypes.exact({
9197
9101
  id: PropTypes.string.isRequired,
9198
9102
  timestamp: PropTypes.string.isRequired,
@@ -9336,1659 +9240,1946 @@ T['io.flow.v0.enums.order_price_detail_key'] = PropTypes.oneOf([
9336
9240
  'tip',
9337
9241
  ]);
9338
9242
 
9339
- T['io.flow.v0.models.money'] = PropTypes.exact({
9340
- amount: PropTypes.number.isRequired,
9341
- currency: PropTypes.string.isRequired,
9342
- });
9343
-
9344
- T['io.flow.v0.models.virtual_card_form'] = PropTypes.exact({
9345
- limit: T['io.flow.v0.models.money'].isRequired,
9346
- attributes: PropTypes.objectOf(PropTypes.string),
9347
- });
9348
-
9349
- T['io.flow.v0.models.tracking_label_form'] = PropTypes.exact({
9350
- tracking_id: PropTypes.string.isRequired,
9351
- status: T['io.flow.v0.enums.tracking_status'].isRequired,
9352
- carrier: PropTypes.string.isRequired,
9353
- service_id: PropTypes.string,
9354
- carrier_tracking_number: PropTypes.string.isRequired,
9355
- delivery_estimate: PropTypes.string,
9356
- description: PropTypes.string,
9357
- timestamp: PropTypes.string,
9358
- cost: T['io.flow.v0.models.money'],
9359
- ratecard_owner: T['io.flow.v0.enums.ratecard_owner'],
9360
- });
9243
+ T['io.flow.v0.enums.price_accuracy'] = PropTypes.oneOf(['calculated', 'estimated_from_partial_destination']);
9361
9244
 
9362
- T['io.flow.v0.models.shipping_label_hop_summary'] = PropTypes.exact({
9363
- lane: T['io.flow.v0.models.shipping_label_lane_summary'].isRequired,
9364
- cost: T['io.flow.v0.models.money'].isRequired,
9365
- itemized_estimate: T['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'],
9245
+ T['io.flow.v0.models.price'] = PropTypes.exact({
9246
+ amount: PropTypes.number.isRequired,
9247
+ currency: PropTypes.string.isRequired,
9248
+ label: PropTypes.string.isRequired,
9366
9249
  });
9367
9250
 
9368
- T['io.flow.v0.models.reversal'] = PropTypes.exact({
9251
+ T['io.flow.v0.models.virtual_card'] = PropTypes.exact({
9369
9252
  id: PropTypes.string.isRequired,
9370
9253
  key: PropTypes.string.isRequired,
9371
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
9372
- status: T['io.flow.v0.enums.reversal_status'].isRequired,
9373
- amount: PropTypes.number.isRequired,
9374
- currency: PropTypes.string.isRequired,
9375
- requested: T['io.flow.v0.models.money'].isRequired,
9376
- created_at: PropTypes.string.isRequired,
9377
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
9378
- base: T['io.flow.v0.models.money'],
9254
+ number: PropTypes.string,
9255
+ cvv: PropTypes.string,
9256
+ limit: T['io.flow.v0.models.price'].isRequired,
9257
+ type: T['io.flow.v0.enums.card_type'].isRequired,
9258
+ expiration: T['io.flow.v0.models.expiration'].isRequired,
9259
+ iin: PropTypes.string.isRequired,
9260
+ last4: PropTypes.string.isRequired,
9261
+ name: PropTypes.string.isRequired,
9262
+ attributes: PropTypes.objectOf(PropTypes.string),
9379
9263
  });
9380
9264
 
9381
- T['io.flow.v0.models.reversal_version'] = PropTypes.exact({
9265
+ T['io.flow.v0.models.virtual_card_version'] = PropTypes.exact({
9382
9266
  id: PropTypes.string.isRequired,
9383
9267
  timestamp: PropTypes.string.isRequired,
9384
9268
  type: T['io.flow.v0.enums.change_type'].isRequired,
9385
- reversal: T['io.flow.v0.models.reversal'].isRequired,
9269
+ virtual_card: T['io.flow.v0.models.virtual_card'].isRequired,
9386
9270
  });
9387
9271
 
9388
- T['io.flow.v0.models.reversal_upserted'] = PropTypes.exact({
9389
- discriminator: PropTypes.oneOf(['reversal_upserted']).isRequired,
9390
- event_id: PropTypes.string.isRequired,
9391
- timestamp: PropTypes.string.isRequired,
9392
- organization: PropTypes.string.isRequired,
9272
+ T['io.flow.v0.models.price_book_item'] = PropTypes.exact({
9393
9273
  id: PropTypes.string.isRequired,
9394
- reversal: T['io.flow.v0.models.reversal'].isRequired,
9274
+ key: PropTypes.string.isRequired,
9275
+ price_book: T['io.flow.v0.models.price_book_reference'].isRequired,
9276
+ price: T['io.flow.v0.models.price'].isRequired,
9277
+ item_number: PropTypes.string.isRequired,
9278
+ schedule: T['io.flow.v0.models.price_book_item_schedule'].isRequired,
9279
+ item_attributes: PropTypes.objectOf(PropTypes.string),
9395
9280
  });
9396
9281
 
9397
- T['io.flow.v0.models.reversal_deleted'] = PropTypes.exact({
9398
- discriminator: PropTypes.oneOf(['reversal_deleted']).isRequired,
9282
+ T['io.flow.v0.models.price_book_item_upserted'] = PropTypes.exact({
9283
+ discriminator: PropTypes.oneOf(['price_book_item_upserted']).isRequired,
9399
9284
  event_id: PropTypes.string.isRequired,
9400
9285
  timestamp: PropTypes.string.isRequired,
9401
9286
  organization: PropTypes.string.isRequired,
9402
- reversal: T['io.flow.v0.models.reversal'].isRequired,
9287
+ price_book_item: T['io.flow.v0.models.price_book_item'].isRequired,
9403
9288
  });
9404
9289
 
9405
- T['io.flow.v0.models.remote_area_service_fee'] = PropTypes.exact({
9406
- discriminator: PropTypes.oneOf(['remote_area_service_fee']).isRequired,
9407
- amount: T['io.flow.v0.models.money'].isRequired,
9290
+ T['io.flow.v0.models.order_summary_levy'] = PropTypes.exact({
9291
+ rate: PropTypes.number.isRequired,
9292
+ rate_label: PropTypes.string,
9293
+ value: T['io.flow.v0.models.price'].isRequired,
9408
9294
  });
9409
9295
 
9410
- T['io.flow.v0.models.remote_area_ratecard_fee'] = PropTypes.exact({
9411
- discriminator: PropTypes.oneOf(['remote_area_ratecard_fee']).isRequired,
9412
- amount: T['io.flow.v0.models.money'].isRequired,
9296
+ T['io.flow.v0.models.order_summary_price_detail'] = PropTypes.exact({
9297
+ price: T['io.flow.v0.models.price'].isRequired,
9298
+ name: PropTypes.string,
9299
+ rate: PropTypes.number,
9300
+ rate_label: PropTypes.string,
9413
9301
  });
9414
9302
 
9415
- T['io.flow.v0.models.price_source_provided'] = PropTypes.exact({
9416
- discriminator: PropTypes.oneOf(['provided']).isRequired,
9417
- price: T['io.flow.v0.models.money'].isRequired,
9303
+ T['io.flow.v0.models.order_summary_item'] = PropTypes.exact({
9304
+ number: PropTypes.string.isRequired,
9305
+ name: PropTypes.string.isRequired,
9306
+ description: PropTypes.string,
9307
+ attributes: PropTypes.arrayOf(T['io.flow.v0.models.checkout_item_content_attribute']).isRequired,
9308
+ image: T['io.flow.v0.models.order_summary_image'],
9309
+ price: T['io.flow.v0.models.price'].isRequired,
9310
+ discount: T['io.flow.v0.models.price'],
9311
+ tax: T['io.flow.v0.models.order_summary_levy'],
9312
+ duty: T['io.flow.v0.models.order_summary_levy'],
9313
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
9418
9314
  });
9419
9315
 
9420
- T['io.flow.v0.models.price_source_price_book'] = PropTypes.exact({
9421
- discriminator: PropTypes.oneOf(['price_book']).isRequired,
9422
- price: T['io.flow.v0.models.money'].isRequired,
9423
- includes: T['io.flow.v0.models.included_levies'].isRequired,
9424
- price_book_reference: T['io.flow.v0.models.price_source_price_book_reference'].isRequired,
9316
+ T['io.flow.v0.models.order_summary_line_item'] = PropTypes.exact({
9317
+ id: PropTypes.string,
9318
+ item: T['io.flow.v0.models.order_summary_item'].isRequired,
9319
+ quantity: PropTypes.number.isRequired,
9320
+ discount: T['io.flow.v0.models.price'],
9321
+ tax: T['io.flow.v0.models.order_summary_levy'],
9322
+ duty: T['io.flow.v0.models.order_summary_levy'],
9323
+ total: T['io.flow.v0.models.price'].isRequired,
9324
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
9325
+ attributes: PropTypes.objectOf(PropTypes.string),
9425
9326
  });
9426
9327
 
9427
- T['io.flow.v0.models.price_source_catalog'] = PropTypes.exact({
9428
- discriminator: PropTypes.oneOf(['catalog']).isRequired,
9429
- price: T['io.flow.v0.models.money'].isRequired,
9328
+ T['io.flow.v0.models.order_summary'] = PropTypes.exact({
9329
+ number: PropTypes.string.isRequired,
9330
+ subtotal: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
9331
+ shipping: T['io.flow.v0.models.order_summary_price_detail'],
9332
+ tax: T['io.flow.v0.models.order_summary_price_detail'],
9333
+ duty: T['io.flow.v0.models.order_summary_price_detail'],
9334
+ insurance: T['io.flow.v0.models.order_summary_price_detail'],
9335
+ discount: T['io.flow.v0.models.order_summary_price_detail'],
9336
+ surcharges: T['io.flow.v0.models.order_summary_price_detail'],
9337
+ adjustment: T['io.flow.v0.models.order_summary_price_detail'],
9338
+ total: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
9339
+ lines: PropTypes.arrayOf(T['io.flow.v0.models.order_summary_line_item']).isRequired,
9340
+ identifiers: PropTypes.objectOf(PropTypes.string),
9341
+ attributes: PropTypes.objectOf(PropTypes.string),
9430
9342
  });
9431
9343
 
9432
- T['io.flow.v0.unions.price_source'] = PropTypes.oneOfType([
9433
- T['io.flow.v0.models.price_source_price_book'],
9434
- T['io.flow.v0.models.price_source_catalog'],
9435
- T['io.flow.v0.models.price_source_provided'],
9436
- ]);
9437
-
9438
- T['io.flow.v0.models.peak_surcharge_service_fee'] = PropTypes.exact({
9439
- discriminator: PropTypes.oneOf(['peak_surcharge_service_fee']).isRequired,
9440
- amount: T['io.flow.v0.models.money'].isRequired,
9441
- starts_at: PropTypes.string,
9442
- ends_at: PropTypes.string,
9344
+ T['io.flow.v0.models.order_quote_line'] = PropTypes.exact({
9345
+ id: PropTypes.string.isRequired,
9346
+ item: T['io.flow.v0.models.order_summary_item'].isRequired,
9347
+ errors: PropTypes.arrayOf(T['io.flow.v0.models.order_quote_line_error']),
9348
+ quantity: PropTypes.number.isRequired,
9349
+ discount: T['io.flow.v0.models.order_quote_line_discount'],
9350
+ tax: T['io.flow.v0.models.order_quote_summary_tax'],
9351
+ duty: T['io.flow.v0.models.order_quote_summary_duty'],
9352
+ unit_price: T['io.flow.v0.unions.order_quote_price'].isRequired,
9353
+ total: T['io.flow.v0.unions.order_quote_price'].isRequired,
9354
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.order_quote_price_standard']).isRequired,
9355
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
9443
9356
  });
9444
9357
 
9445
- T['io.flow.v0.models.peak_surcharge_ratecard_fee'] = PropTypes.exact({
9446
- discriminator: PropTypes.oneOf(['peak_surcharge_ratecard_fee']).isRequired,
9447
- amount: T['io.flow.v0.models.money'].isRequired,
9448
- starts_at: PropTypes.string,
9449
- ends_at: PropTypes.string,
9358
+ T['io.flow.v0.models.order_quote_summary_items'] = PropTypes.exact({
9359
+ lines: PropTypes.arrayOf(T['io.flow.v0.models.order_quote_line']).isRequired,
9360
+ total: T['io.flow.v0.unions.order_quote_price'].isRequired,
9450
9361
  });
9451
9362
 
9452
- T['io.flow.v0.models.peak_surcharge_by_weight_service_fee'] = PropTypes.exact({
9453
- discriminator: PropTypes.oneOf(['peak_surcharge_by_weight_service_fee']).isRequired,
9454
- amount: T['io.flow.v0.models.money'].isRequired,
9455
- weight: T['io.flow.v0.models.fee_weight'].isRequired,
9456
- regions: PropTypes.arrayOf(PropTypes.string),
9457
- starts_at: PropTypes.string,
9458
- ends_at: PropTypes.string,
9363
+ T['io.flow.v0.models.order_quote_summary'] = PropTypes.exact({
9364
+ items: T['io.flow.v0.models.order_quote_summary_items'].isRequired,
9365
+ shipping: T['io.flow.v0.models.order_quote_summary_shipping'],
9366
+ tax: T['io.flow.v0.models.order_quote_summary_tax'],
9367
+ duty: T['io.flow.v0.models.order_quote_summary_duty'],
9368
+ total: T['io.flow.v0.models.order_quote_summary_total'].isRequired,
9369
+ balance: T['io.flow.v0.unions.order_quote_price'].isRequired,
9459
9370
  });
9460
9371
 
9461
- T['io.flow.v0.models.oversize_piece_surcharge_service_fee'] = PropTypes.exact({
9462
- discriminator: PropTypes.oneOf(['oversize_piece_surcharge_service_fee']).isRequired,
9463
- dimensional_threshold: PropTypes.number,
9464
- dimensional_unit: T['io.flow.v0.enums.unit_of_measurement'],
9465
- weight_threshold: PropTypes.number,
9466
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'],
9467
- amount: T['io.flow.v0.models.money'].isRequired,
9372
+ T['io.flow.v0.models.value_threshold_exceeded_details'] = PropTypes.exact({
9373
+ local: T['io.flow.v0.models.price'].isRequired,
9374
+ original: T['io.flow.v0.models.price'].isRequired,
9468
9375
  });
9469
9376
 
9470
- T['io.flow.v0.models.oversize_piece_surcharge_ratecard_fee'] = PropTypes.exact({
9471
- discriminator: PropTypes.oneOf(['oversize_piece_surcharge_ratecard_fee']).isRequired,
9472
- dimensional_threshold: PropTypes.number,
9473
- dimensional_unit: T['io.flow.v0.enums.unit_of_measurement'],
9474
- weight_threshold: PropTypes.number,
9475
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'],
9476
- amount: T['io.flow.v0.models.money'].isRequired,
9377
+ T['io.flow.v0.models.order_error'] = PropTypes.exact({
9378
+ code: T['io.flow.v0.enums.order_error_code'].isRequired,
9379
+ messages: PropTypes.arrayOf(PropTypes.string).isRequired,
9380
+ numbers: PropTypes.arrayOf(PropTypes.string),
9381
+ destination_country: T['io.flow.v0.models.country'],
9382
+ threshold: T['io.flow.v0.models.value_threshold_exceeded_details'],
9477
9383
  });
9478
9384
 
9479
- T['io.flow.v0.models.outbound_carton_fee'] = PropTypes.exact({
9480
- discriminator: PropTypes.oneOf(['outbound_carton_fee']).isRequired,
9481
- amount: T['io.flow.v0.models.money'].isRequired,
9385
+ T['io.flow.v0.models.price_details'] = PropTypes.exact({
9386
+ currency: PropTypes.string.isRequired,
9387
+ item_price: T['io.flow.v0.models.price_detail'].isRequired,
9388
+ margins: T['io.flow.v0.models.price_detail'].isRequired,
9389
+ vat: T['io.flow.v0.models.price_detail'].isRequired,
9390
+ duty: T['io.flow.v0.models.price_detail'].isRequired,
9391
+ rounding: T['io.flow.v0.models.price_detail'].isRequired,
9392
+ price: T['io.flow.v0.models.price'].isRequired,
9393
+ total: T['io.flow.v0.models.price'].isRequired,
9394
+ adjustment: T['io.flow.v0.models.price_detail'],
9482
9395
  });
9483
9396
 
9484
- T['io.flow.v0.models.inbound_carton_fee'] = PropTypes.exact({
9485
- discriminator: PropTypes.oneOf(['inbound_carton_fee']).isRequired,
9486
- amount: T['io.flow.v0.models.money'].isRequired,
9397
+ T['io.flow.v0.models.local_price_details'] = PropTypes.exact({
9398
+ base: T['io.flow.v0.models.price_details'].isRequired,
9399
+ local: T['io.flow.v0.models.price_details'].isRequired,
9400
+ discount: T['io.flow.v0.models.price_detail'],
9401
+ local_before_discount: T['io.flow.v0.models.price_detail'],
9487
9402
  });
9488
9403
 
9489
- T['io.flow.v0.models.line_item'] = PropTypes.exact({
9490
- number: PropTypes.string.isRequired,
9491
- quantity: PropTypes.number.isRequired,
9492
- price: T['io.flow.v0.models.money'].isRequired,
9493
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
9494
- center: PropTypes.string,
9495
- discount: T['io.flow.v0.models.money'],
9404
+ T['io.flow.v0.models.price_check'] = PropTypes.exact({
9405
+ display: T['io.flow.v0.models.local_price_details'].isRequired,
9406
+ 'final': T['io.flow.v0.models.local_price_details'].isRequired,
9496
9407
  });
9497
9408
 
9498
- T['io.flow.v0.models.fuel_surcharge_ratecard_fee'] = PropTypes.exact({
9499
- discriminator: PropTypes.oneOf(['fuel_surcharge_ratecard_fee']).isRequired,
9500
- amount: T['io.flow.v0.models.money'].isRequired,
9501
- fuel_surcharge_rate: T['io.flow.v0.unions.fuel_surcharge_rate'],
9409
+ T['io.flow.v0.models.order_promotion_trigger'] = PropTypes.exact({
9410
+ type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
9411
+ min: T['io.flow.v0.models.price'],
9502
9412
  });
9503
9413
 
9504
- T['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'] = PropTypes.exact({
9505
- discriminator: PropTypes.oneOf(['fuel_surcharge_amount_by_weight_service_fee']).isRequired,
9506
- amount: T['io.flow.v0.models.money'].isRequired,
9507
- weight: T['io.flow.v0.models.fee_weight'].isRequired,
9508
- regions: PropTypes.arrayOf(PropTypes.string),
9509
- starts_at: PropTypes.string,
9510
- ends_at: PropTypes.string,
9414
+ T['io.flow.v0.models.promotion_trigger'] = PropTypes.exact({
9415
+ type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
9416
+ min: T['io.flow.v0.models.price'].isRequired,
9417
+ remaining: T['io.flow.v0.models.price'].isRequired,
9511
9418
  });
9512
9419
 
9513
- T['io.flow.v0.models.flat_rate_form'] = PropTypes.exact({
9514
- discriminator: PropTypes.oneOf(['flat_rate_form']).isRequired,
9515
- price: T['io.flow.v0.models.money'].isRequired,
9516
- zero_amount_indicator: T['io.flow.v0.enums.zero_amount_indicator'],
9420
+ T['io.flow.v0.models.free_shipping'] = PropTypes.exact({
9421
+ discriminator: PropTypes.oneOf(['free_shipping']).isRequired,
9422
+ trigger: T['io.flow.v0.models.promotion_trigger'].isRequired,
9423
+ max: T['io.flow.v0.models.price'],
9517
9424
  });
9518
9425
 
9519
- T['io.flow.v0.models.emergency_situation_surcharge_service_fee'] = PropTypes.exact({
9520
- discriminator: PropTypes.oneOf(['emergency_situation_surcharge_service_fee']).isRequired,
9521
- amount: T['io.flow.v0.models.money'].isRequired,
9522
- origin_region: T['io.flow.v0.models.ratecard_region_reference'],
9523
- destination_region: T['io.flow.v0.models.ratecard_region_reference'],
9524
- interval_unit: T['io.flow.v0.enums.unit_of_measurement'],
9525
- });
9526
-
9527
- T['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'] = PropTypes.exact({
9528
- discriminator: PropTypes.oneOf(['emergency_situation_surcharge_ratecard_fee']).isRequired,
9529
- amount: T['io.flow.v0.models.money'].isRequired,
9530
- });
9531
-
9532
- T['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'] = PropTypes.exact({
9533
- discriminator: PropTypes.oneOf(['duties_taxes_paid_surcharge_service_fee']).isRequired,
9534
- amount: T['io.flow.v0.models.money'].isRequired,
9535
- starts_at: PropTypes.string,
9536
- ends_at: PropTypes.string,
9537
- });
9538
-
9539
- T['io.flow.v0.unions.service_fee'] = PropTypes.oneOfType([
9540
- T['io.flow.v0.models.fuel_surcharge_service_fee'],
9541
- T['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'],
9542
- T['io.flow.v0.models.remote_area_service_fee'],
9543
- T['io.flow.v0.models.emergency_situation_surcharge_service_fee'],
9544
- T['io.flow.v0.models.peak_surcharge_service_fee'],
9545
- T['io.flow.v0.models.peak_surcharge_by_weight_service_fee'],
9546
- T['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'],
9547
- T['io.flow.v0.models.oversize_piece_surcharge_service_fee'],
9548
- ]);
9549
-
9550
- T['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'] = PropTypes.exact({
9551
- discriminator: PropTypes.oneOf(['duties_taxes_paid_surcharge_ratecard_fee']).isRequired,
9552
- amount: T['io.flow.v0.models.money'].isRequired,
9553
- starts_at: PropTypes.string,
9554
- ends_at: PropTypes.string,
9555
- });
9556
-
9557
- T['io.flow.v0.models.discount_offer_fixed'] = PropTypes.exact({
9558
- discriminator: PropTypes.oneOf(['discount_offer_fixed']).isRequired,
9559
- money: T['io.flow.v0.models.money'].isRequired,
9426
+ T['io.flow.v0.models.flat_rate'] = PropTypes.exact({
9427
+ discriminator: PropTypes.oneOf(['flat_rate']).isRequired,
9428
+ price: T['io.flow.v0.models.price'].isRequired,
9429
+ zero_amount_indicator: T['io.flow.v0.enums.zero_amount_indicator'],
9560
9430
  });
9561
9431
 
9562
- T['io.flow.v0.models.money_with_optional_base'] = PropTypes.exact({
9432
+ T['io.flow.v0.models.localized_item_price'] = PropTypes.exact({
9433
+ key: PropTypes.oneOf(['localized_item_price']).isRequired,
9563
9434
  currency: PropTypes.string.isRequired,
9564
9435
  amount: PropTypes.number.isRequired,
9565
- base: T['io.flow.v0.models.money'],
9436
+ label: PropTypes.string.isRequired,
9437
+ base: T['io.flow.v0.models.price'].isRequired,
9438
+ includes: T['io.flow.v0.models.included_levies'],
9566
9439
  });
9567
9440
 
9568
- T['io.flow.v0.models.delivery_item'] = PropTypes.exact({
9569
- id: PropTypes.string,
9570
- number: PropTypes.string.isRequired,
9571
- quantity: PropTypes.number.isRequired,
9572
- shipment_estimate: T['io.flow.v0.models.datetime_range'],
9573
- price: T['io.flow.v0.models.money_with_optional_base'],
9574
- attributes: PropTypes.objectOf(PropTypes.string),
9575
- center: PropTypes.string,
9576
- line_number: PropTypes.number,
9441
+ T['io.flow.v0.models.experience_logistics_tier_summary_prices'] = PropTypes.exact({
9442
+ minimum: T['io.flow.v0.models.price'].isRequired,
9577
9443
  });
9578
9444
 
9579
- T['io.flow.v0.models.crossdock_ratecard_fee'] = PropTypes.exact({
9580
- discriminator: PropTypes.oneOf(['crossdock_ratecard_fee']).isRequired,
9581
- amount: T['io.flow.v0.models.money'].isRequired,
9445
+ T['io.flow.v0.models.experience_logistics_tier_summary'] = PropTypes.exact({
9446
+ prices: T['io.flow.v0.models.experience_logistics_tier_summary_prices'].isRequired,
9582
9447
  });
9583
9448
 
9584
- T['io.flow.v0.unions.ratecard_fee'] = PropTypes.oneOfType([
9585
- T['io.flow.v0.models.ddp_ratecard_fee'],
9586
- T['io.flow.v0.models.fuel_surcharge_ratecard_fee'],
9587
- T['io.flow.v0.models.oversize_piece_surcharge_ratecard_fee'],
9588
- T['io.flow.v0.models.return_package_ratecard_fee'],
9589
- T['io.flow.v0.models.crossdock_ratecard_fee'],
9590
- T['io.flow.v0.models.remote_area_ratecard_fee'],
9591
- T['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'],
9592
- T['io.flow.v0.models.peak_surcharge_ratecard_fee'],
9593
- T['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'],
9594
- ]);
9595
-
9596
- T['io.flow.v0.models.ratecard_lane_form'] = PropTypes.exact({
9597
- ratecard_id: PropTypes.string.isRequired,
9598
- currency: PropTypes.string.isRequired,
9599
- destination: T['io.flow.v0.models.zone'].isRequired,
9600
- shipment_window: T['io.flow.v0.models.shipment_window'].isRequired,
9601
- delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
9602
- dim_factor: PropTypes.number.isRequired,
9603
- fees: PropTypes.arrayOf(T['io.flow.v0.unions.ratecard_fee']).isRequired,
9604
- origin: T['io.flow.v0.models.zone'].isRequired,
9605
- rounding: T['io.flow.v0.models.rounding'].isRequired,
9606
- rates: PropTypes.arrayOf(T['io.flow.v0.models.ratecard_rate_form']).isRequired,
9607
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
9608
- distance_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
9449
+ T['io.flow.v0.models.experience_logistics_summary'] = PropTypes.exact({
9450
+ outbound: T['io.flow.v0.models.experience_logistics_tier_summary'],
9451
+ 'return': T['io.flow.v0.models.experience_logistics_tier_summary'],
9609
9452
  });
9610
9453
 
9611
- T['io.flow.v0.models.ratecard_lane'] = PropTypes.exact({
9454
+ T['io.flow.v0.models.delivery_option_summary'] = PropTypes.exact({
9612
9455
  id: PropTypes.string.isRequired,
9613
- ratecard: T['io.flow.v0.models.ratecard_summary'].isRequired,
9614
- currency: PropTypes.string.isRequired,
9456
+ cost: T['io.flow.v0.models.price'].isRequired,
9615
9457
  delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
9616
- shipment_window: T['io.flow.v0.models.shipment_window'].isRequired,
9617
- destination: T['io.flow.v0.models.zone'].isRequired,
9618
- dim_factor: PropTypes.number.isRequired,
9619
- fees: PropTypes.arrayOf(T['io.flow.v0.unions.ratecard_fee']).isRequired,
9620
- origin: T['io.flow.v0.models.zone'].isRequired,
9621
- service: T['io.flow.v0.models.ratecard_service_summary'].isRequired,
9622
- rates: PropTypes.arrayOf(T['io.flow.v0.models.ratecard_rate']).isRequired,
9623
- rounding: T['io.flow.v0.models.rounding'].isRequired,
9624
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
9625
- distance_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
9458
+ price: T['io.flow.v0.models.price'].isRequired,
9459
+ service: T['io.flow.v0.models.service_reference'].isRequired,
9460
+ tier: T['io.flow.v0.models.tier_reference'].isRequired,
9461
+ window: T['io.flow.v0.models.datetime_range'].isRequired,
9626
9462
  });
9627
9463
 
9628
- T['io.flow.v0.models.ratecard_lane_version'] = PropTypes.exact({
9464
+ T['io.flow.v0.models.delivery_option_version'] = PropTypes.exact({
9629
9465
  id: PropTypes.string.isRequired,
9630
9466
  timestamp: PropTypes.string.isRequired,
9631
9467
  type: T['io.flow.v0.enums.change_type'].isRequired,
9632
- ratecard_lane: T['io.flow.v0.models.ratecard_lane'].isRequired,
9633
- });
9634
-
9635
- T['io.flow.v0.models.ratecard_lane_upserted'] = PropTypes.exact({
9636
- discriminator: PropTypes.oneOf(['ratecard_lane_upserted']).isRequired,
9637
- event_id: PropTypes.string.isRequired,
9638
- timestamp: PropTypes.string.isRequired,
9639
- organization: PropTypes.string.isRequired,
9640
- ratecard_lane: T['io.flow.v0.models.ratecard_lane'].isRequired,
9468
+ delivery_option: T['io.flow.v0.models.delivery_option_summary'].isRequired,
9641
9469
  });
9642
9470
 
9643
- T['io.flow.v0.models.commercial_invoice_fee'] = PropTypes.exact({
9644
- discriminator: PropTypes.oneOf(['commercial_invoice_fee']).isRequired,
9645
- amount: T['io.flow.v0.models.money'].isRequired,
9471
+ T['io.flow.v0.models.delivery_option_cost_component'] = PropTypes.exact({
9472
+ key: T['io.flow.v0.enums.delivery_option_cost_detail_component_key'].isRequired,
9473
+ currency: PropTypes.string.isRequired,
9474
+ amount: PropTypes.number.isRequired,
9475
+ label: PropTypes.string.isRequired,
9476
+ base: T['io.flow.v0.models.price'],
9646
9477
  });
9647
9478
 
9648
- T['io.flow.v0.unions.partner_center_fee'] = PropTypes.oneOfType([
9649
- T['io.flow.v0.models.commercial_invoice_fee'],
9650
- T['io.flow.v0.models.inbound_carton_fee'],
9651
- T['io.flow.v0.models.outbound_carton_fee'],
9652
- ]);
9653
-
9654
- T['io.flow.v0.models.partner_center_form'] = PropTypes.exact({
9655
- partner_id: PropTypes.string.isRequired,
9656
- number: PropTypes.string,
9657
- fees: PropTypes.arrayOf(T['io.flow.v0.unions.partner_center_fee']),
9479
+ T['io.flow.v0.models.delivery_option_cost_detail'] = PropTypes.exact({
9480
+ source: T['io.flow.v0.enums.delivery_option_cost_detail_source'].isRequired,
9481
+ ratecard_id: PropTypes.string,
9482
+ currency: PropTypes.string.isRequired,
9483
+ amount: PropTypes.number.isRequired,
9484
+ label: PropTypes.string.isRequired,
9485
+ base: T['io.flow.v0.models.price'],
9486
+ components: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_component']).isRequired,
9658
9487
  });
9659
9488
 
9660
- T['io.flow.v0.models.partner_center'] = PropTypes.exact({
9661
- partner_reference: T['io.flow.v0.models.partner_reference'].isRequired,
9662
- number: PropTypes.string,
9663
- fees: PropTypes.arrayOf(T['io.flow.v0.unions.partner_center_fee']),
9489
+ T['io.flow.v0.models.price_with_base_and_details'] = PropTypes.exact({
9490
+ currency: PropTypes.string.isRequired,
9491
+ amount: PropTypes.number.isRequired,
9492
+ label: PropTypes.string.isRequired,
9493
+ base: T['io.flow.v0.models.price'],
9494
+ details: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_detail']),
9664
9495
  });
9665
9496
 
9666
- T['io.flow.v0.models.capture'] = PropTypes.exact({
9667
- id: PropTypes.string.isRequired,
9668
- key: PropTypes.string.isRequired,
9669
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
9670
- amount: PropTypes.number.isRequired,
9671
- currency: PropTypes.string.isRequired,
9672
- requested: T['io.flow.v0.models.money'],
9673
- created_at: PropTypes.string.isRequired,
9674
- attributes: PropTypes.objectOf(PropTypes.string),
9675
- status: T['io.flow.v0.enums.capture_status'],
9676
- base: T['io.flow.v0.models.money'],
9497
+ T['io.flow.v0.models.original_prices'] = PropTypes.exact({
9498
+ value: T['io.flow.v0.models.price'].isRequired,
9499
+ max: T['io.flow.v0.models.price'].isRequired,
9677
9500
  });
9678
9501
 
9679
- T['io.flow.v0.models.refund_capture_summary'] = PropTypes.exact({
9680
- capture: T['io.flow.v0.models.capture'].isRequired,
9681
- amount: PropTypes.number.isRequired,
9502
+ T['io.flow.v0.models.item_shipping_pricing'] = PropTypes.exact({
9503
+ min: T['io.flow.v0.models.price'].isRequired,
9504
+ max: T['io.flow.v0.models.price'],
9682
9505
  });
9683
9506
 
9684
- T['io.flow.v0.models.refund'] = PropTypes.exact({
9685
- id: PropTypes.string.isRequired,
9686
- key: PropTypes.string.isRequired,
9687
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
9688
- amount: PropTypes.number.isRequired,
9689
- currency: PropTypes.string.isRequired,
9690
- requested: T['io.flow.v0.models.money'],
9691
- captures: PropTypes.arrayOf(T['io.flow.v0.models.refund_capture_summary']).isRequired,
9692
- created_at: PropTypes.string.isRequired,
9693
- attributes: PropTypes.objectOf(PropTypes.string),
9694
- status: T['io.flow.v0.enums.refund_status'],
9695
- base: T['io.flow.v0.models.money'],
9507
+ T['io.flow.v0.models.country_shipping_pricing'] = PropTypes.exact({
9508
+ pricing: T['io.flow.v0.models.item_shipping_pricing'].isRequired,
9509
+ countries: PropTypes.arrayOf(PropTypes.string).isRequired,
9696
9510
  });
9697
9511
 
9698
- T['io.flow.v0.models.refund_version'] = PropTypes.exact({
9512
+ T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'] = PropTypes.exact({
9699
9513
  id: PropTypes.string.isRequired,
9700
- timestamp: PropTypes.string.isRequired,
9701
- type: T['io.flow.v0.enums.change_type'].isRequired,
9702
- refund: T['io.flow.v0.models.refund'].isRequired,
9514
+ item: T['io.flow.v0.models.item_reference'].isRequired,
9515
+ shipping_configuration: T['io.flow.v0.models.shipping_configuration_summary'].isRequired,
9516
+ country_shipping_pricings: PropTypes.arrayOf(T['io.flow.v0.models.country_shipping_pricing']).isRequired,
9703
9517
  });
9704
9518
 
9705
- T['io.flow.v0.models.refund_upserted_v2'] = PropTypes.exact({
9706
- discriminator: PropTypes.oneOf(['refund_upserted_v2']).isRequired,
9519
+ T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_upserted'] = PropTypes.exact({
9520
+ discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_upserted']).isRequired,
9707
9521
  event_id: PropTypes.string.isRequired,
9708
9522
  timestamp: PropTypes.string.isRequired,
9709
- organization: PropTypes.string.isRequired,
9710
- id: PropTypes.string.isRequired,
9711
- refund: T['io.flow.v0.models.refund'].isRequired,
9523
+ organization_id: PropTypes.string.isRequired,
9524
+ shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].isRequired,
9712
9525
  });
9713
9526
 
9714
- T['io.flow.v0.models.refund_deleted_v2'] = PropTypes.exact({
9715
- discriminator: PropTypes.oneOf(['refund_deleted_v2']).isRequired,
9527
+ T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_deleted'] = PropTypes.exact({
9528
+ discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_deleted']).isRequired,
9716
9529
  event_id: PropTypes.string.isRequired,
9717
9530
  timestamp: PropTypes.string.isRequired,
9718
- organization: PropTypes.string.isRequired,
9719
- refund: T['io.flow.v0.models.refund'].isRequired,
9531
+ organization_id: PropTypes.string.isRequired,
9532
+ shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].isRequired,
9720
9533
  });
9721
9534
 
9722
- T['io.flow.v0.models.refund_capture'] = PropTypes.exact({
9723
- id: PropTypes.string.isRequired,
9724
- refund: T['io.flow.v0.models.refund'].isRequired,
9725
- capture: T['io.flow.v0.models.capture'].isRequired,
9726
- amount: PropTypes.number.isRequired,
9727
- currency: PropTypes.string.isRequired,
9728
- base: T['io.flow.v0.models.money'].isRequired,
9729
- status: T['io.flow.v0.enums.refund_status'],
9535
+ T['io.flow.v0.models.consumer_invoice_line_discount'] = PropTypes.exact({
9536
+ discriminator: PropTypes.oneOf(['discount']).isRequired,
9537
+ price: T['io.flow.v0.models.price'].isRequired,
9730
9538
  });
9731
9539
 
9732
- T['io.flow.v0.models.refund_capture_upserted_v2'] = PropTypes.exact({
9733
- discriminator: PropTypes.oneOf(['refund_capture_upserted_v2']).isRequired,
9734
- event_id: PropTypes.string.isRequired,
9735
- timestamp: PropTypes.string.isRequired,
9736
- organization: PropTypes.string.isRequired,
9737
- id: PropTypes.string.isRequired,
9738
- refund_capture: T['io.flow.v0.models.refund_capture'].isRequired,
9540
+ T['io.flow.v0.models.consumer_invoice_levy'] = PropTypes.exact({
9541
+ rate: PropTypes.number.isRequired,
9542
+ value: T['io.flow.v0.models.price'].isRequired,
9739
9543
  });
9740
9544
 
9741
- T['io.flow.v0.models.email_payment_summary'] = PropTypes.exact({
9742
- refund: T['io.flow.v0.models.refund'].isRequired,
9545
+ T['io.flow.v0.models.consumer_invoice_line_shipping'] = PropTypes.exact({
9546
+ discriminator: PropTypes.oneOf(['shipping']).isRequired,
9547
+ price: T['io.flow.v0.models.price'].isRequired,
9548
+ discount: T['io.flow.v0.models.price'],
9549
+ tax: T['io.flow.v0.models.consumer_invoice_levy'],
9550
+ duty: T['io.flow.v0.models.consumer_invoice_levy'],
9743
9551
  });
9744
9552
 
9745
- T['io.flow.v0.models.capture_version'] = PropTypes.exact({
9746
- id: PropTypes.string.isRequired,
9747
- timestamp: PropTypes.string.isRequired,
9748
- type: T['io.flow.v0.enums.change_type'].isRequired,
9749
- capture: T['io.flow.v0.models.capture'].isRequired,
9553
+ T['io.flow.v0.models.consumer_invoice_line_item'] = PropTypes.exact({
9554
+ discriminator: PropTypes.oneOf(['item']).isRequired,
9555
+ item: T['io.flow.v0.models.item_reference'].isRequired,
9556
+ description: PropTypes.string.isRequired,
9557
+ quantity: PropTypes.number.isRequired,
9558
+ unit_price: T['io.flow.v0.models.price'].isRequired,
9559
+ unit_discount: T['io.flow.v0.models.price'],
9560
+ unit_tax: T['io.flow.v0.models.consumer_invoice_levy'],
9561
+ unit_duty: T['io.flow.v0.models.consumer_invoice_levy'],
9750
9562
  });
9751
9563
 
9752
- T['io.flow.v0.models.capture_upserted_v2'] = PropTypes.exact({
9753
- discriminator: PropTypes.oneOf(['capture_upserted_v2']).isRequired,
9564
+ T['io.flow.v0.unions.consumer_invoice_line'] = PropTypes.oneOfType([
9565
+ T['io.flow.v0.models.consumer_invoice_line_item'],
9566
+ T['io.flow.v0.models.consumer_invoice_line_discount'],
9567
+ T['io.flow.v0.models.consumer_invoice_line_shipping'],
9568
+ ]);
9569
+
9570
+ T['io.flow.v0.models.b2b_credit_memo'] = PropTypes.exact({
9571
+ id: PropTypes.string.isRequired,
9572
+ number: PropTypes.string.isRequired,
9573
+ buyer: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
9574
+ seller: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
9575
+ status: T['io.flow.v0.enums.consumer_invoice_status'].isRequired,
9576
+ date: PropTypes.string.isRequired,
9577
+ key: PropTypes.string.isRequired,
9578
+ invoice: T['io.flow.v0.models.b2b_invoice_reference'].isRequired,
9579
+ lines: PropTypes.arrayOf(T['io.flow.v0.unions.consumer_invoice_line']).isRequired,
9580
+ documents: PropTypes.arrayOf(T['io.flow.v0.models.consumer_invoice_document']).isRequired,
9581
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
9582
+ b2b_invoice_type: T['io.flow.v0.enums.b2b_invoice_type'].isRequired,
9583
+ });
9584
+
9585
+ T['io.flow.v0.models.b2b_credit_memo_upserted'] = PropTypes.exact({
9586
+ discriminator: PropTypes.oneOf(['b2b_credit_memo_upserted']).isRequired,
9754
9587
  event_id: PropTypes.string.isRequired,
9755
9588
  timestamp: PropTypes.string.isRequired,
9756
9589
  organization: PropTypes.string.isRequired,
9757
- id: PropTypes.string.isRequired,
9758
- capture: T['io.flow.v0.models.capture'].isRequired,
9590
+ b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
9759
9591
  });
9760
9592
 
9761
- T['io.flow.v0.models.capture_deleted'] = PropTypes.exact({
9762
- discriminator: PropTypes.oneOf(['capture_deleted']).isRequired,
9593
+ T['io.flow.v0.models.b2b_credit_memo_deleted'] = PropTypes.exact({
9594
+ discriminator: PropTypes.oneOf(['b2b_credit_memo_deleted']).isRequired,
9763
9595
  event_id: PropTypes.string.isRequired,
9764
9596
  timestamp: PropTypes.string.isRequired,
9765
9597
  organization: PropTypes.string.isRequired,
9766
- capture: T['io.flow.v0.models.capture'].isRequired,
9598
+ b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
9767
9599
  });
9768
9600
 
9769
- T['io.flow.v0.models.amount_margin_form'] = PropTypes.exact({
9770
- discriminator: PropTypes.oneOf(['amount_margin_form']).isRequired,
9771
- margin: T['io.flow.v0.models.money'].isRequired,
9601
+ T['io.flow.v0.models.catalog_price_book_item_document'] = PropTypes.exact({
9602
+ price_book_key: PropTypes.string.isRequired,
9603
+ price_book_item_key: PropTypes.string.isRequired,
9604
+ catalog: T['io.flow.v0.models.catalog_item_summary'].isRequired,
9605
+ price: T['io.flow.v0.models.price'],
9606
+ amount: PropTypes.number.isRequired,
9607
+ starts_at: PropTypes.string.isRequired,
9608
+ ends_at: PropTypes.string,
9772
9609
  });
9773
9610
 
9774
- T['io.flow.v0.unions.tier_rule_outcome_form'] = PropTypes.oneOfType([
9775
- T['io.flow.v0.models.amount_margin_form'],
9776
- T['io.flow.v0.models.flat_rate_form'],
9611
+ T['io.flow.v0.models.amount_margin'] = PropTypes.exact({
9612
+ discriminator: PropTypes.oneOf(['amount_margin']).isRequired,
9613
+ margin: T['io.flow.v0.models.price'].isRequired,
9614
+ });
9615
+
9616
+ T['io.flow.v0.unions.tier_rule_outcome'] = PropTypes.oneOfType([
9617
+ T['io.flow.v0.models.amount_margin'],
9777
9618
  T['io.flow.v0.models.at_cost'],
9619
+ T['io.flow.v0.models.flat_rate'],
9778
9620
  T['io.flow.v0.models.percent_margin'],
9779
9621
  ]);
9780
9622
 
9781
- T['io.flow.v0.models.tier_rule_form'] = PropTypes.exact({
9782
- position: PropTypes.number,
9623
+ T['io.flow.v0.models.tier_rule'] = PropTypes.exact({
9624
+ id: PropTypes.string.isRequired,
9625
+ position: PropTypes.number.isRequired,
9783
9626
  query: PropTypes.string.isRequired,
9784
- outcome: T['io.flow.v0.unions.tier_rule_outcome_form'].isRequired,
9627
+ outcome: T['io.flow.v0.unions.tier_rule_outcome'].isRequired,
9785
9628
  });
9786
9629
 
9787
- T['io.flow.v0.models.tier_form'] = PropTypes.exact({
9788
- currency: PropTypes.string.isRequired,
9789
- integration: T['io.flow.v0.enums.shipment_integration_type'].isRequired,
9790
- name: PropTypes.string.isRequired,
9791
- message: PropTypes.string,
9792
- rules: PropTypes.arrayOf(T['io.flow.v0.models.tier_rule_form']).isRequired,
9793
- services: PropTypes.arrayOf(PropTypes.string).isRequired,
9794
- strategy: T['io.flow.v0.enums.tier_strategy'].isRequired,
9795
- visibility: T['io.flow.v0.enums.visibility'].isRequired,
9796
- description: PropTypes.string,
9797
- direction: T['io.flow.v0.enums.lane_direction'],
9798
- display: T['io.flow.v0.models.tier_display_form'],
9799
- shipping_lane: PropTypes.string.isRequired,
9800
- surcharge_settings: PropTypes.arrayOf(T['io.flow.v0.models.surcharge_setting']),
9801
- settings: T['io.flow.v0.models.tier_settings'],
9630
+ T['io.flow.v0.models.tier_rule_version'] = PropTypes.exact({
9631
+ id: PropTypes.string.isRequired,
9632
+ timestamp: PropTypes.string.isRequired,
9633
+ type: T['io.flow.v0.enums.change_type'].isRequired,
9634
+ tier_rule: T['io.flow.v0.models.tier_rule'].isRequired,
9802
9635
  });
9803
9636
 
9804
- T['io.flow.v0.models.money_with_base'] = PropTypes.exact({
9637
+ T['io.flow.v0.models.localized_total'] = PropTypes.exact({
9638
+ key: PropTypes.oneOf(['localized_total']).isRequired,
9805
9639
  currency: PropTypes.string.isRequired,
9806
9640
  amount: PropTypes.number.isRequired,
9807
- base: T['io.flow.v0.models.money'].isRequired,
9808
- });
9809
-
9810
- T['io.flow.v0.models.quote_line_item_form'] = PropTypes.exact({
9811
- number: PropTypes.string.isRequired,
9812
- quantity: PropTypes.number.isRequired,
9813
- shipment_estimate: T['io.flow.v0.models.datetime_range'],
9814
- price: T['io.flow.v0.models.money_with_base'].isRequired,
9815
- attributes: PropTypes.objectOf(PropTypes.string),
9816
- center: PropTypes.string,
9641
+ label: PropTypes.string.isRequired,
9642
+ base: T['io.flow.v0.models.price'].isRequired,
9817
9643
  });
9818
9644
 
9819
- T['io.flow.v0.models.allocation_line_summary_shipping'] = PropTypes.exact({
9820
- subtotal: T['io.flow.v0.models.money_with_base'].isRequired,
9821
- discount: T['io.flow.v0.models.money_with_base'].isRequired,
9822
- duties: T['io.flow.v0.models.money_with_base'].isRequired,
9823
- tax: T['io.flow.v0.models.money_with_base'].isRequired,
9824
- tax_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9825
- duties_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9826
- total: T['io.flow.v0.models.money_with_base'].isRequired,
9645
+ T['io.flow.v0.models.price_with_base'] = PropTypes.exact({
9646
+ currency: PropTypes.string.isRequired,
9647
+ amount: PropTypes.number.isRequired,
9648
+ label: PropTypes.string.isRequired,
9649
+ base: T['io.flow.v0.models.price'],
9827
9650
  });
9828
9651
 
9829
- T['io.flow.v0.models.allocation_line_summary_line_item'] = PropTypes.exact({
9652
+ T['io.flow.v0.models.shopify_order_price_attributes_metafield'] = PropTypes.exact({
9830
9653
  item_number: PropTypes.string.isRequired,
9831
- line_number: PropTypes.string,
9832
- subtotal: T['io.flow.v0.models.money_with_base'].isRequired,
9833
- discount: T['io.flow.v0.models.money_with_base'].isRequired,
9834
- duties: T['io.flow.v0.models.money_with_base'].isRequired,
9835
- tax: T['io.flow.v0.models.money_with_base'].isRequired,
9836
- tax_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9837
- duties_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9838
- total: T['io.flow.v0.models.money_with_base'].isRequired,
9654
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
9839
9655
  });
9840
9656
 
9841
- T['io.flow.v0.models.allocation_line_summary'] = PropTypes.exact({
9842
- line_items: PropTypes.arrayOf(T['io.flow.v0.models.allocation_line_summary_line_item']).isRequired,
9843
- shipping: T['io.flow.v0.models.allocation_line_summary_shipping'].isRequired,
9844
- subtotal: T['io.flow.v0.models.money_with_base'].isRequired,
9845
- discount: T['io.flow.v0.models.money_with_base'].isRequired,
9846
- duties: T['io.flow.v0.models.money_with_base'].isRequired,
9847
- tax: T['io.flow.v0.models.money_with_base'].isRequired,
9848
- tax_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9849
- duties_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9850
- total: T['io.flow.v0.models.money_with_base'].isRequired,
9657
+ T['io.flow.v0.models.shopify_local_price_metadata'] = PropTypes.exact({
9658
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
9851
9659
  });
9852
9660
 
9853
- T['io.flow.v0.enums.price_accuracy'] = PropTypes.oneOf(['calculated', 'estimated_from_partial_destination']);
9854
-
9855
- T['io.flow.v0.models.price'] = PropTypes.exact({
9661
+ T['io.flow.v0.models.shopify_price'] = PropTypes.exact({
9662
+ name: PropTypes.string.isRequired,
9856
9663
  amount: PropTypes.number.isRequired,
9664
+ cents: PropTypes.number.isRequired,
9857
9665
  currency: PropTypes.string.isRequired,
9858
9666
  label: PropTypes.string.isRequired,
9667
+ includes: T['io.flow.v0.models.included_levies'],
9668
+ local: T['io.flow.v0.models.shopify_local_price_metadata'],
9859
9669
  });
9860
9670
 
9861
- T['io.flow.v0.models.virtual_card'] = PropTypes.exact({
9862
- id: PropTypes.string.isRequired,
9863
- key: PropTypes.string.isRequired,
9864
- number: PropTypes.string,
9865
- cvv: PropTypes.string,
9866
- limit: T['io.flow.v0.models.price'].isRequired,
9867
- type: T['io.flow.v0.enums.card_type'].isRequired,
9868
- expiration: T['io.flow.v0.models.expiration'].isRequired,
9869
- iin: PropTypes.string.isRequired,
9870
- last4: PropTypes.string.isRequired,
9871
- name: PropTypes.string.isRequired,
9872
- attributes: PropTypes.objectOf(PropTypes.string),
9671
+ T['io.flow.v0.models.shopify_localized_variant_prices'] = PropTypes.exact({
9672
+ item: T['io.flow.v0.models.shopify_price'].isRequired,
9673
+ compare_at: T['io.flow.v0.models.shopify_price'],
9674
+ vat: T['io.flow.v0.models.shopify_price'],
9675
+ duty: T['io.flow.v0.models.shopify_price'],
9873
9676
  });
9874
9677
 
9875
- T['io.flow.v0.models.virtual_card_version'] = PropTypes.exact({
9876
- id: PropTypes.string.isRequired,
9877
- timestamp: PropTypes.string.isRequired,
9878
- type: T['io.flow.v0.enums.change_type'].isRequired,
9879
- virtual_card: T['io.flow.v0.models.virtual_card'].isRequired,
9678
+ T['io.flow.v0.models.shopify_localized_variant'] = PropTypes.exact({
9679
+ id: PropTypes.number.isRequired,
9680
+ handle: PropTypes.string.isRequired,
9681
+ experience: T['io.flow.v0.models.experience_reference'].isRequired,
9682
+ prices: T['io.flow.v0.models.shopify_localized_variant_prices'].isRequired,
9683
+ status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
9684
+ inventory_status: T['io.flow.v0.enums.item_availability_status'],
9880
9685
  });
9881
9686
 
9882
- T['io.flow.v0.models.price_book_item'] = PropTypes.exact({
9687
+ T['io.flow.v0.models.shopify_local_cart_item_metadata'] = PropTypes.exact({
9688
+ line_price: T['io.flow.v0.models.price_with_base'].isRequired,
9689
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
9690
+ });
9691
+
9692
+ T['io.flow.v0.models.shopify_cart_item'] = PropTypes.exact({
9883
9693
  id: PropTypes.string.isRequired,
9884
- key: PropTypes.string.isRequired,
9885
- price_book: T['io.flow.v0.models.price_book_reference'].isRequired,
9886
- price: T['io.flow.v0.models.price'].isRequired,
9694
+ handle: PropTypes.string.isRequired,
9695
+ line_price: PropTypes.number.isRequired,
9696
+ price: PropTypes.number.isRequired,
9697
+ product_id: PropTypes.number.isRequired,
9698
+ product_title: PropTypes.string.isRequired,
9699
+ quantity: PropTypes.number.isRequired,
9700
+ title: PropTypes.string.isRequired,
9701
+ url: PropTypes.string.isRequired,
9702
+ variant_id: PropTypes.number.isRequired,
9703
+ local: T['io.flow.v0.models.shopify_local_cart_item_metadata'].isRequired,
9704
+ gift_card: PropTypes.bool.isRequired,
9705
+ image: PropTypes.string,
9706
+ product_description: PropTypes.string,
9707
+ product_type: PropTypes.string,
9708
+ properties: PropTypes.objectOf(PropTypes.string),
9709
+ requires_shipping: PropTypes.bool.isRequired,
9710
+ sku: PropTypes.string,
9711
+ variant_title: PropTypes.string,
9712
+ variant_options: PropTypes.arrayOf(PropTypes.string),
9713
+ vendor: PropTypes.string,
9714
+ });
9715
+
9716
+ T['io.flow.v0.models.line'] = PropTypes.exact({
9717
+ id: PropTypes.string,
9887
9718
  item_number: PropTypes.string.isRequired,
9888
- schedule: T['io.flow.v0.models.price_book_item_schedule'].isRequired,
9889
- item_attributes: PropTypes.objectOf(PropTypes.string),
9719
+ quantity: PropTypes.number.isRequired,
9720
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
9721
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
9722
+ attributes: PropTypes.objectOf(PropTypes.string),
9890
9723
  });
9891
9724
 
9892
- T['io.flow.v0.models.price_book_item_upserted'] = PropTypes.exact({
9893
- discriminator: PropTypes.oneOf(['price_book_item_upserted']).isRequired,
9894
- event_id: PropTypes.string.isRequired,
9895
- timestamp: PropTypes.string.isRequired,
9896
- organization: PropTypes.string.isRequired,
9897
- price_book_item: T['io.flow.v0.models.price_book_item'].isRequired,
9725
+ T['io.flow.v0.models.klaviyo_order_prices'] = PropTypes.exact({
9726
+ subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
9727
+ vat: T['io.flow.v0.models.price_with_base'],
9728
+ duty: T['io.flow.v0.models.price_with_base'],
9729
+ discount: T['io.flow.v0.models.price_with_base'],
9730
+ shipping: T['io.flow.v0.models.price_with_base'],
9731
+ insurance: T['io.flow.v0.models.price_with_base'],
9732
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
9898
9733
  });
9899
9734
 
9900
- T['io.flow.v0.models.order_summary_levy'] = PropTypes.exact({
9901
- rate: PropTypes.number.isRequired,
9902
- rate_label: PropTypes.string,
9903
- value: T['io.flow.v0.models.price'].isRequired,
9735
+ T['io.flow.v0.models.fulfillment_item_allocation_details'] = PropTypes.exact({
9736
+ item_number: PropTypes.string.isRequired,
9737
+ line_number: PropTypes.number.isRequired,
9738
+ levies: T['io.flow.v0.models.price_with_base'].isRequired,
9739
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
9904
9740
  });
9905
9741
 
9906
- T['io.flow.v0.models.order_summary_price_detail'] = PropTypes.exact({
9907
- price: T['io.flow.v0.models.price'].isRequired,
9908
- name: PropTypes.string,
9909
- rate: PropTypes.number,
9910
- rate_label: PropTypes.string,
9742
+ T['io.flow.v0.models.experience_price_facet_conversion'] = PropTypes.exact({
9743
+ request: T['io.flow.v0.models.experience_price_facet_conversion_request'].isRequired,
9744
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
9911
9745
  });
9912
9746
 
9913
- T['io.flow.v0.models.order_summary_item'] = PropTypes.exact({
9914
- number: PropTypes.string.isRequired,
9915
- name: PropTypes.string.isRequired,
9916
- description: PropTypes.string,
9917
- attributes: PropTypes.arrayOf(T['io.flow.v0.models.checkout_item_content_attribute']).isRequired,
9918
- image: T['io.flow.v0.models.order_summary_image'],
9919
- price: T['io.flow.v0.models.price'].isRequired,
9920
- discount: T['io.flow.v0.models.price'],
9921
- tax: T['io.flow.v0.models.order_summary_levy'],
9922
- duty: T['io.flow.v0.models.order_summary_levy'],
9923
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
9924
- });
9925
-
9926
- T['io.flow.v0.models.order_summary_line_item'] = PropTypes.exact({
9927
- id: PropTypes.string,
9928
- item: T['io.flow.v0.models.order_summary_item'].isRequired,
9929
- quantity: PropTypes.number.isRequired,
9930
- discount: T['io.flow.v0.models.price'],
9931
- tax: T['io.flow.v0.models.order_summary_levy'],
9932
- duty: T['io.flow.v0.models.order_summary_levy'],
9933
- total: T['io.flow.v0.models.price'].isRequired,
9934
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
9935
- attributes: PropTypes.objectOf(PropTypes.string),
9747
+ T['io.flow.v0.models.experience_price_facet_conversion_response'] = PropTypes.exact({
9748
+ facets: PropTypes.arrayOf(T['io.flow.v0.models.experience_price_facet_conversion']).isRequired,
9936
9749
  });
9937
9750
 
9938
- T['io.flow.v0.models.order_summary'] = PropTypes.exact({
9939
- number: PropTypes.string.isRequired,
9940
- subtotal: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
9941
- shipping: T['io.flow.v0.models.order_summary_price_detail'],
9942
- tax: T['io.flow.v0.models.order_summary_price_detail'],
9943
- duty: T['io.flow.v0.models.order_summary_price_detail'],
9944
- insurance: T['io.flow.v0.models.order_summary_price_detail'],
9945
- discount: T['io.flow.v0.models.order_summary_price_detail'],
9946
- surcharges: T['io.flow.v0.models.order_summary_price_detail'],
9947
- adjustment: T['io.flow.v0.models.order_summary_price_detail'],
9948
- total: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
9949
- lines: PropTypes.arrayOf(T['io.flow.v0.models.order_summary_line_item']).isRequired,
9950
- identifiers: PropTypes.objectOf(PropTypes.string),
9951
- attributes: PropTypes.objectOf(PropTypes.string),
9751
+ T['io.flow.v0.models.experience_price_conversion'] = PropTypes.exact({
9752
+ request: T['io.flow.v0.models.experience_price_conversion_request'].isRequired,
9753
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
9952
9754
  });
9953
9755
 
9954
- T['io.flow.v0.models.email_notification_data_refund'] = PropTypes.exact({
9955
- discriminator: PropTypes.oneOf(['refund']).isRequired,
9956
- order: T['io.flow.v0.models.order_summary'].isRequired,
9957
- 'return': T['io.flow.v0.models.order_summary'].isRequired,
9958
- payment: T['io.flow.v0.models.email_payment_summary'].isRequired,
9756
+ T['io.flow.v0.models.experience_price_conversion_response'] = PropTypes.exact({
9757
+ prices: PropTypes.arrayOf(T['io.flow.v0.models.experience_price_conversion']).isRequired,
9959
9758
  });
9960
9759
 
9961
- T['io.flow.v0.models.order_quote_line'] = PropTypes.exact({
9760
+ T['io.flow.v0.models.discount'] = PropTypes.exact({
9761
+ discriminator: PropTypes.oneOf(['discount']).isRequired,
9962
9762
  id: PropTypes.string.isRequired,
9963
- item: T['io.flow.v0.models.order_summary_item'].isRequired,
9964
- errors: PropTypes.arrayOf(T['io.flow.v0.models.order_quote_line_error']),
9965
- quantity: PropTypes.number.isRequired,
9966
- discount: T['io.flow.v0.models.order_quote_line_discount'],
9967
- tax: T['io.flow.v0.models.order_quote_summary_tax'],
9968
- duty: T['io.flow.v0.models.order_quote_summary_duty'],
9969
- unit_price: T['io.flow.v0.unions.order_quote_price'].isRequired,
9970
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
9971
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.order_quote_price_standard']).isRequired,
9972
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
9973
- });
9974
-
9975
- T['io.flow.v0.models.order_quote_summary_items'] = PropTypes.exact({
9976
- lines: PropTypes.arrayOf(T['io.flow.v0.models.order_quote_line']).isRequired,
9977
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
9978
- });
9979
-
9980
- T['io.flow.v0.models.order_quote_summary'] = PropTypes.exact({
9981
- items: T['io.flow.v0.models.order_quote_summary_items'].isRequired,
9982
- shipping: T['io.flow.v0.models.order_quote_summary_shipping'],
9983
- tax: T['io.flow.v0.models.order_quote_summary_tax'],
9984
- duty: T['io.flow.v0.models.order_quote_summary_duty'],
9985
- total: T['io.flow.v0.models.order_quote_summary_total'].isRequired,
9986
- balance: T['io.flow.v0.unions.order_quote_price'].isRequired,
9987
- });
9988
-
9989
- T['io.flow.v0.models.value_threshold_exceeded_details'] = PropTypes.exact({
9990
- local: T['io.flow.v0.models.price'].isRequired,
9991
- original: T['io.flow.v0.models.price'].isRequired,
9992
- });
9993
-
9994
- T['io.flow.v0.models.order_error'] = PropTypes.exact({
9995
- code: T['io.flow.v0.enums.order_error_code'].isRequired,
9996
- messages: PropTypes.arrayOf(PropTypes.string).isRequired,
9997
- numbers: PropTypes.arrayOf(PropTypes.string),
9998
- destination_country: T['io.flow.v0.models.country'],
9999
- threshold: T['io.flow.v0.models.value_threshold_exceeded_details'],
9763
+ code: PropTypes.string,
9764
+ label: PropTypes.string.isRequired,
9765
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
9766
+ attributes: PropTypes.objectOf(PropTypes.string),
10000
9767
  });
10001
9768
 
10002
- T['io.flow.v0.models.localized_line_item_discount'] = PropTypes.exact({
10003
- amount: PropTypes.number.isRequired,
10004
- currency: PropTypes.string.isRequired,
10005
- label: PropTypes.string,
10006
- base: T['io.flow.v0.models.price'],
10007
- requested: T['io.flow.v0.models.money'],
10008
- discount_label: PropTypes.string,
10009
- });
9769
+ T['io.flow.v0.unions.promotion'] = PropTypes.oneOfType([T['io.flow.v0.models.free_shipping'], T['io.flow.v0.models.discount']]);
10010
9770
 
10011
- T['io.flow.v0.models.price_details'] = PropTypes.exact({
10012
- currency: PropTypes.string.isRequired,
10013
- item_price: T['io.flow.v0.models.price_detail'].isRequired,
10014
- margins: T['io.flow.v0.models.price_detail'].isRequired,
10015
- vat: T['io.flow.v0.models.price_detail'].isRequired,
10016
- duty: T['io.flow.v0.models.price_detail'].isRequired,
10017
- rounding: T['io.flow.v0.models.price_detail'].isRequired,
10018
- price: T['io.flow.v0.models.price'].isRequired,
10019
- total: T['io.flow.v0.models.price'].isRequired,
10020
- adjustment: T['io.flow.v0.models.price_detail'],
9771
+ T['io.flow.v0.models.promotions'] = PropTypes.exact({
9772
+ applied: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
9773
+ available: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
10021
9774
  });
10022
9775
 
10023
- T['io.flow.v0.models.local_price_details'] = PropTypes.exact({
10024
- base: T['io.flow.v0.models.price_details'].isRequired,
10025
- local: T['io.flow.v0.models.price_details'].isRequired,
10026
- discount: T['io.flow.v0.models.price_detail'],
10027
- local_before_discount: T['io.flow.v0.models.price_detail'],
9776
+ T['io.flow.v0.models.shopify_local_cart_metadata'] = PropTypes.exact({
9777
+ total_price: T['io.flow.v0.models.price_with_base'].isRequired,
9778
+ promotions: T['io.flow.v0.models.promotions'].isRequired,
9779
+ rules: T['io.flow.v0.models.order_rules_summary'],
9780
+ subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
9781
+ vat: T['io.flow.v0.models.price_with_base'],
9782
+ duty: T['io.flow.v0.models.price_with_base'],
9783
+ discount: T['io.flow.v0.models.price_with_base'],
10028
9784
  });
10029
9785
 
10030
- T['io.flow.v0.models.price_check'] = PropTypes.exact({
10031
- display: T['io.flow.v0.models.local_price_details'].isRequired,
10032
- 'final': T['io.flow.v0.models.local_price_details'].isRequired,
9786
+ T['io.flow.v0.models.shopify_cart'] = PropTypes.exact({
9787
+ id: PropTypes.string.isRequired,
9788
+ items: PropTypes.arrayOf(T['io.flow.v0.models.shopify_cart_item']).isRequired,
9789
+ item_count: PropTypes.number.isRequired,
9790
+ total_price: PropTypes.number.isRequired,
9791
+ local: T['io.flow.v0.models.shopify_local_cart_metadata'].isRequired,
9792
+ attributes: PropTypes.object,
9793
+ note: PropTypes.string,
9794
+ requires_shipping: PropTypes.bool.isRequired,
9795
+ total_weight: PropTypes.number,
10033
9796
  });
10034
9797
 
10035
- T['io.flow.v0.models.item_form_overlay'] = PropTypes.exact({
9798
+ T['io.flow.v0.models.available_promotion'] = PropTypes.exact({
10036
9799
  id: PropTypes.string.isRequired,
10037
- number: PropTypes.string.isRequired,
10038
- key: PropTypes.string.isRequired,
10039
- position: PropTypes.number.isRequired,
10040
- price: T['io.flow.v0.models.price'],
10041
- categories: PropTypes.arrayOf(PropTypes.string),
10042
- description: PropTypes.string,
10043
- attributes: PropTypes.objectOf(PropTypes.string),
10044
- dimensions: T['io.flow.v0.models.dimensions'],
10045
- images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
9800
+ shipping_configuration: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
9801
+ region: T['io.flow.v0.models.region_reference'].isRequired,
9802
+ promotions: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
10046
9803
  });
10047
9804
 
10048
- T['io.flow.v0.models.order_promotion_trigger'] = PropTypes.exact({
10049
- type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
10050
- min: T['io.flow.v0.models.price'],
9805
+ T['io.flow.v0.models.available_promotions_upserted_v2'] = PropTypes.exact({
9806
+ discriminator: PropTypes.oneOf(['available_promotions_upserted_v2']).isRequired,
9807
+ event_id: PropTypes.string.isRequired,
9808
+ timestamp: PropTypes.string.isRequired,
9809
+ organization: PropTypes.string.isRequired,
9810
+ available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
10051
9811
  });
10052
9812
 
10053
- T['io.flow.v0.models.promotion_trigger'] = PropTypes.exact({
10054
- type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
10055
- min: T['io.flow.v0.models.price'].isRequired,
10056
- remaining: T['io.flow.v0.models.price'].isRequired,
9813
+ T['io.flow.v0.models.available_promotions_deleted_v2'] = PropTypes.exact({
9814
+ discriminator: PropTypes.oneOf(['available_promotions_deleted_v2']).isRequired,
9815
+ event_id: PropTypes.string.isRequired,
9816
+ timestamp: PropTypes.string.isRequired,
9817
+ organization: PropTypes.string.isRequired,
9818
+ available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
10057
9819
  });
10058
9820
 
10059
- T['io.flow.v0.models.free_shipping'] = PropTypes.exact({
10060
- discriminator: PropTypes.oneOf(['free_shipping']).isRequired,
10061
- trigger: T['io.flow.v0.models.promotion_trigger'].isRequired,
10062
- max: T['io.flow.v0.models.price'],
10063
- });
9821
+ T['io.flow.v0.enums.order_price_detail_component_key'] = PropTypes.oneOf([
9822
+ 'adjustment',
9823
+ 'vat_deminimis',
9824
+ 'duty_deminimis',
9825
+ 'duties_item_price',
9826
+ 'duties_freight',
9827
+ 'duties_insurance',
9828
+ 'vat_item_price',
9829
+ 'vat_freight',
9830
+ 'vat_insurance',
9831
+ 'vat_duties_item_price',
9832
+ 'vat_duties_freight',
9833
+ 'vat_duties_insurance',
9834
+ 'item_price',
9835
+ 'item_discount',
9836
+ 'rounding',
9837
+ 'insurance',
9838
+ 'shipping',
9839
+ 'shipping_discount',
9840
+ 'order_discount',
9841
+ 'subtotal_percent_sales_margin',
9842
+ 'subtotal_vat_percent_sales_margin',
9843
+ 'subtotal_duty_percent_sales_margin',
9844
+ 'vat_subsidy',
9845
+ 'duty_subsidy',
9846
+ 'remote_area_surcharge',
9847
+ 'fuel_surcharge',
9848
+ 'emergency_situation_surcharge',
9849
+ 'peak_surcharge',
9850
+ 'duties_taxes_paid_surcharge',
9851
+ 'tip',
9852
+ ]);
10064
9853
 
10065
- T['io.flow.v0.models.flat_rate'] = PropTypes.exact({
10066
- discriminator: PropTypes.oneOf(['flat_rate']).isRequired,
10067
- price: T['io.flow.v0.models.price'].isRequired,
10068
- zero_amount_indicator: T['io.flow.v0.enums.zero_amount_indicator'],
9854
+ T['io.flow.v0.models.order_price_detail_component'] = PropTypes.exact({
9855
+ key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
9856
+ currency: PropTypes.string.isRequired,
9857
+ amount: PropTypes.number.isRequired,
9858
+ label: PropTypes.string.isRequired,
9859
+ base: T['io.flow.v0.models.price'].isRequired,
9860
+ name: PropTypes.string,
10069
9861
  });
10070
9862
 
10071
- T['io.flow.v0.models.localized_item_price'] = PropTypes.exact({
10072
- key: PropTypes.oneOf(['localized_item_price']).isRequired,
9863
+ T['io.flow.v0.models.order_price_detail'] = PropTypes.exact({
9864
+ key: T['io.flow.v0.enums.order_price_detail_key'].isRequired,
10073
9865
  currency: PropTypes.string.isRequired,
10074
9866
  amount: PropTypes.number.isRequired,
10075
9867
  label: PropTypes.string.isRequired,
10076
9868
  base: T['io.flow.v0.models.price'].isRequired,
10077
- includes: T['io.flow.v0.models.included_levies'],
9869
+ components: PropTypes.arrayOf(T['io.flow.v0.models.order_price_detail_component']).isRequired,
9870
+ name: PropTypes.string,
9871
+ rate: PropTypes.number,
9872
+ accuracy: T['io.flow.v0.enums.price_accuracy'],
9873
+ rate_label: PropTypes.string,
10078
9874
  });
10079
9875
 
10080
- T['io.flow.v0.models.experience_logistics_tier_summary_prices'] = PropTypes.exact({
10081
- minimum: T['io.flow.v0.models.price'].isRequired,
9876
+ T['io.flow.v0.models.allocation_detail_component'] = PropTypes.exact({
9877
+ discriminator: PropTypes.oneOf(['allocation_detail_component']).isRequired,
9878
+ key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
9879
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
9880
+ price: T['io.flow.v0.models.price_with_base'],
10082
9881
  });
10083
9882
 
10084
- T['io.flow.v0.models.experience_logistics_tier_summary'] = PropTypes.exact({
10085
- prices: T['io.flow.v0.models.experience_logistics_tier_summary_prices'].isRequired,
9883
+ T['io.flow.v0.models.allocation_order_summary'] = PropTypes.exact({
9884
+ id: PropTypes.string.isRequired,
9885
+ number: PropTypes.string.isRequired,
9886
+ submitted_at: PropTypes.string,
10086
9887
  });
10087
9888
 
10088
- T['io.flow.v0.models.experience_logistics_summary'] = PropTypes.exact({
10089
- outbound: T['io.flow.v0.models.experience_logistics_tier_summary'],
10090
- 'return': T['io.flow.v0.models.experience_logistics_tier_summary'],
9889
+ T['io.flow.v0.models.adyen_challenge_shopper_data'] = PropTypes.exact({
9890
+ discriminator: PropTypes.oneOf(['adyen_challenge_shopper_data']).isRequired,
9891
+ challenge_token: PropTypes.string.isRequired,
10091
9892
  });
10092
9893
 
10093
- T['io.flow.v0.models.delivery_option_summary'] = PropTypes.exact({
10094
- id: PropTypes.string.isRequired,
10095
- cost: T['io.flow.v0.models.price'].isRequired,
10096
- delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
10097
- price: T['io.flow.v0.models.price'].isRequired,
10098
- service: T['io.flow.v0.models.service_reference'].isRequired,
10099
- tier: T['io.flow.v0.models.tier_reference'].isRequired,
10100
- window: T['io.flow.v0.models.datetime_range'].isRequired,
9894
+ T['io.flow.v0.models.adyen_identify_shopper_data'] = PropTypes.exact({
9895
+ discriminator: PropTypes.oneOf(['adyen_identify_shopper_data']).isRequired,
9896
+ fingerprint_token: PropTypes.string.isRequired,
10101
9897
  });
10102
9898
 
10103
- T['io.flow.v0.models.delivery_option_version'] = PropTypes.exact({
10104
- id: PropTypes.string.isRequired,
10105
- timestamp: PropTypes.string.isRequired,
10106
- type: T['io.flow.v0.enums.change_type'].isRequired,
10107
- delivery_option: T['io.flow.v0.models.delivery_option_summary'].isRequired,
10108
- });
9899
+ T['io.flow.v0.unions.adyen_native_data'] = PropTypes.oneOfType([
9900
+ T['io.flow.v0.models.adyen_identify_shopper_data'],
9901
+ T['io.flow.v0.models.adyen_challenge_shopper_data'],
9902
+ ]);
10109
9903
 
10110
- T['io.flow.v0.models.delivery_option_cost_component'] = PropTypes.exact({
10111
- key: T['io.flow.v0.enums.delivery_option_cost_detail_component_key'].isRequired,
10112
- currency: PropTypes.string.isRequired,
10113
- amount: PropTypes.number.isRequired,
10114
- label: PropTypes.string.isRequired,
10115
- base: T['io.flow.v0.models.price'],
9904
+ T['io.flow.v0.models.adyen_native_action_details'] = PropTypes.exact({
9905
+ discriminator: PropTypes.oneOf(['adyen_native_action_details']).isRequired,
9906
+ origin_key: PropTypes.string,
9907
+ data: T['io.flow.v0.unions.adyen_native_data'],
10116
9908
  });
10117
9909
 
10118
- T['io.flow.v0.models.delivery_option_cost_detail'] = PropTypes.exact({
10119
- source: T['io.flow.v0.enums.delivery_option_cost_detail_source'].isRequired,
10120
- ratecard_id: PropTypes.string,
10121
- currency: PropTypes.string.isRequired,
10122
- amount: PropTypes.number.isRequired,
10123
- label: PropTypes.string.isRequired,
10124
- base: T['io.flow.v0.models.price'],
10125
- components: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_component']).isRequired,
10126
- });
9910
+ T['io.flow.v0.unions.authorization_result_action_details'] = PropTypes.oneOfType([
9911
+ T['io.flow.v0.models.adyen_native_action_details'],
9912
+ T['io.flow.v0.models.stripe_authorization_result_action_details'],
9913
+ T['io.flow.v0.models.threeds_identify_action_details'],
9914
+ T['io.flow.v0.models.threeds_challenge_action_details'],
9915
+ T['io.flow.v0.models.applepay_sdk_create_result_action_details'],
9916
+ T['io.flow.v0.models.applepay_sdk_validate_result_action_details'],
9917
+ T['io.flow.v0.models.klarna_sdk_authorization_result_action_details'],
9918
+ T['io.flow.v0.models.select_issuer_option_action_details'],
9919
+ ]);
10127
9920
 
10128
- T['io.flow.v0.models.price_with_base_and_details'] = PropTypes.exact({
10129
- currency: PropTypes.string.isRequired,
10130
- amount: PropTypes.number.isRequired,
10131
- label: PropTypes.string.isRequired,
10132
- base: T['io.flow.v0.models.price'],
10133
- details: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_detail']),
9921
+ T['io.flow.v0.models.authorization_result_action_native'] = PropTypes.exact({
9922
+ discriminator: PropTypes.oneOf(['authorization_result_action_native']).isRequired,
9923
+ type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
9924
+ authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
9925
+ details: T['io.flow.v0.unions.authorization_result_action_details'],
10134
9926
  });
10135
9927
 
10136
- T['io.flow.v0.models.original_prices'] = PropTypes.exact({
10137
- value: T['io.flow.v0.models.price'].isRequired,
10138
- max: T['io.flow.v0.models.price'].isRequired,
9928
+ T['io.flow.v0.models.authorization_result_action_get'] = PropTypes.exact({
9929
+ discriminator: PropTypes.oneOf(['authorization_result_action_get']).isRequired,
9930
+ type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
9931
+ url: PropTypes.string,
9932
+ details: T['io.flow.v0.unions.authorization_result_action_details'],
10139
9933
  });
10140
9934
 
10141
- T['io.flow.v0.models.item_shipping_pricing'] = PropTypes.exact({
10142
- min: T['io.flow.v0.models.price'].isRequired,
10143
- max: T['io.flow.v0.models.price'],
10144
- });
9935
+ T['io.flow.v0.unions.authorization_result_action'] = PropTypes.oneOfType([
9936
+ T['io.flow.v0.models.authorization_result_action_get'],
9937
+ T['io.flow.v0.models.authorization_result_action_post'],
9938
+ T['io.flow.v0.models.authorization_result_action_wait'],
9939
+ T['io.flow.v0.models.authorization_result_action_native'],
9940
+ ]);
10145
9941
 
10146
- T['io.flow.v0.models.country_shipping_pricing'] = PropTypes.exact({
10147
- pricing: T['io.flow.v0.models.item_shipping_pricing'].isRequired,
10148
- countries: PropTypes.arrayOf(PropTypes.string).isRequired,
9942
+ T['io.flow.v0.models.authorization_result'] = PropTypes.exact({
9943
+ status: T['io.flow.v0.enums.authorization_status'].isRequired,
9944
+ action: T['io.flow.v0.unions.authorization_result_action'],
9945
+ decline_code: T['io.flow.v0.enums.authorization_decline_code'],
9946
+ avs: T['io.flow.v0.models.avs'],
9947
+ cvv: T['io.flow.v0.models.cvv'],
9948
+ three_d_secure: T['io.flow.v0.models.three_d_secure'],
9949
+ description: T['io.flow.v0.models.authorization_result_description'],
9950
+ authorization_code: T['io.flow.v0.models.authorization_code'],
10149
9951
  });
10150
9952
 
10151
- T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'] = PropTypes.exact({
10152
- id: PropTypes.string.isRequired,
10153
- item: T['io.flow.v0.models.item_reference'].isRequired,
10154
- shipping_configuration: T['io.flow.v0.models.shipping_configuration_summary'].isRequired,
10155
- country_shipping_pricings: PropTypes.arrayOf(T['io.flow.v0.models.country_shipping_pricing']).isRequired,
10156
- });
9953
+ T['io.flow.v0.enums.adjustment_reason_key'] = PropTypes.oneOf(['duty_deminimis', 'vat_deminimis']);
10157
9954
 
10158
- T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_upserted'] = PropTypes.exact({
10159
- discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_upserted']).isRequired,
10160
- event_id: PropTypes.string.isRequired,
10161
- timestamp: PropTypes.string.isRequired,
10162
- organization_id: PropTypes.string.isRequired,
10163
- shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].isRequired,
9955
+ T['io.flow.v0.models.adjustment_reason'] = PropTypes.exact({
9956
+ key: T['io.flow.v0.enums.adjustment_reason_key'].isRequired,
9957
+ label: PropTypes.string.isRequired,
10164
9958
  });
10165
9959
 
10166
- T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_deleted'] = PropTypes.exact({
10167
- discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_deleted']).isRequired,
10168
- event_id: PropTypes.string.isRequired,
10169
- timestamp: PropTypes.string.isRequired,
10170
- organization_id: PropTypes.string.isRequired,
10171
- shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].isRequired,
9960
+ T['io.flow.v0.models.localized_adjustment'] = PropTypes.exact({
9961
+ currency: PropTypes.string.isRequired,
9962
+ amount: PropTypes.number.isRequired,
9963
+ label: PropTypes.string.isRequired,
9964
+ base: T['io.flow.v0.models.price'].isRequired,
9965
+ reason: T['io.flow.v0.models.adjustment_reason'].isRequired,
10172
9966
  });
10173
9967
 
10174
- T['io.flow.v0.models.consumer_invoice_line_discount'] = PropTypes.exact({
10175
- discriminator: PropTypes.oneOf(['discount']).isRequired,
10176
- price: T['io.flow.v0.models.price'].isRequired,
10177
- });
9968
+ T['io.flow.v0.enums.address_verification_result_field_code'] = PropTypes.oneOf(['matched', 'not_available', 'not_checked', 'not_matched']);
10178
9969
 
10179
- T['io.flow.v0.models.consumer_invoice_levy'] = PropTypes.exact({
10180
- rate: PropTypes.number.isRequired,
10181
- value: T['io.flow.v0.models.price'].isRequired,
9970
+ T['io.flow.v0.models.address_verification_result'] = PropTypes.exact({
9971
+ street_code: T['io.flow.v0.enums.address_verification_result_field_code'].isRequired,
9972
+ postal_code: T['io.flow.v0.enums.address_verification_result_field_code'].isRequired,
9973
+ name_code: T['io.flow.v0.enums.address_verification_result_field_code'].isRequired,
9974
+ raw: PropTypes.string,
10182
9975
  });
10183
9976
 
10184
- T['io.flow.v0.models.consumer_invoice_line_shipping'] = PropTypes.exact({
10185
- discriminator: PropTypes.oneOf(['shipping']).isRequired,
10186
- price: T['io.flow.v0.models.price'].isRequired,
10187
- discount: T['io.flow.v0.models.price'],
10188
- tax: T['io.flow.v0.models.consumer_invoice_levy'],
10189
- duty: T['io.flow.v0.models.consumer_invoice_levy'],
9977
+ T['io.flow.v0.models.transaction_details_card'] = PropTypes.exact({
9978
+ type: PropTypes.oneOf(['card']).isRequired,
9979
+ address_verification_result: T['io.flow.v0.models.address_verification_result'],
9980
+ cvv_result: T['io.flow.v0.models.cvv_result'],
9981
+ network_details: T['io.flow.v0.models.transaction_network_details_card'],
10190
9982
  });
10191
9983
 
10192
- T['io.flow.v0.models.consumer_invoice_line_item'] = PropTypes.exact({
10193
- discriminator: PropTypes.oneOf(['item']).isRequired,
10194
- item: T['io.flow.v0.models.item_reference'].isRequired,
10195
- description: PropTypes.string.isRequired,
10196
- quantity: PropTypes.number.isRequired,
10197
- unit_price: T['io.flow.v0.models.price'].isRequired,
10198
- unit_discount: T['io.flow.v0.models.price'],
10199
- unit_tax: T['io.flow.v0.models.consumer_invoice_levy'],
10200
- unit_duty: T['io.flow.v0.models.consumer_invoice_levy'],
9984
+ T['io.flow.v0.unions.transaction_details'] = PropTypes.oneOfType([T['io.flow.v0.models.transaction_details_card']]);
9985
+
9986
+ T['io.flow.v0.models.payment_method_summary_card'] = PropTypes.exact({
9987
+ type: PropTypes.oneOf(['card']).isRequired,
9988
+ merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
9989
+ last_four: PropTypes.string.isRequired,
9990
+ card_type: T['io.flow.v0.enums.card_type'].isRequired,
9991
+ id: PropTypes.string.isRequired,
9992
+ reference: PropTypes.string,
9993
+ transaction_details: T['io.flow.v0.models.transaction_details_card'],
10201
9994
  });
10202
9995
 
10203
- T['io.flow.v0.unions.consumer_invoice_line'] = PropTypes.oneOfType([
10204
- T['io.flow.v0.models.consumer_invoice_line_item'],
10205
- T['io.flow.v0.models.consumer_invoice_line_discount'],
10206
- T['io.flow.v0.models.consumer_invoice_line_shipping'],
9996
+ T['io.flow.v0.unions.payment_method_summary'] = PropTypes.oneOfType([
9997
+ T['io.flow.v0.models.payment_method_summary_card'],
9998
+ T['io.flow.v0.models.payment_method_summary_klarna'],
9999
+ T['io.flow.v0.models.payment_method_summary_afterpay'],
10000
+ T['io.flow.v0.models.payment_method_summary_applepay'],
10001
+ T['io.flow.v0.models.payment_method_summary_googlepay'],
10002
+ T['io.flow.v0.models.payment_method_summary_paypal'],
10003
+ T['io.flow.v0.models.payment_method_summary_ideal'],
10004
+ T['io.flow.v0.models.payment_method_summary_sofort'],
10005
+ T['io.flow.v0.models.payment_method_summary_bancontact'],
10207
10006
  ]);
10208
10007
 
10209
- T['io.flow.v0.models.b2b_credit_memo'] = PropTypes.exact({
10008
+ T['io.flow.v0.models.payment_authorization'] = PropTypes.exact({
10210
10009
  id: PropTypes.string.isRequired,
10211
- number: PropTypes.string.isRequired,
10212
- buyer: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
10213
- seller: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
10214
- status: T['io.flow.v0.enums.consumer_invoice_status'].isRequired,
10215
- date: PropTypes.string.isRequired,
10216
- key: PropTypes.string.isRequired,
10217
- invoice: T['io.flow.v0.models.b2b_invoice_reference'].isRequired,
10218
- lines: PropTypes.arrayOf(T['io.flow.v0.unions.consumer_invoice_line']).isRequired,
10219
- documents: PropTypes.arrayOf(T['io.flow.v0.models.consumer_invoice_document']).isRequired,
10220
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10221
- b2b_invoice_type: T['io.flow.v0.enums.b2b_invoice_type'].isRequired,
10010
+ payment_method_summary: T['io.flow.v0.unions.payment_method_summary'].isRequired,
10011
+ captures: PropTypes.arrayOf(T['io.flow.v0.models.payment_capture']).isRequired,
10012
+ refunds: PropTypes.arrayOf(T['io.flow.v0.models.payment_refund']).isRequired,
10013
+ reversals: PropTypes.arrayOf(T['io.flow.v0.models.payment_reversal']).isRequired,
10014
+ created_at: PropTypes.string.isRequired,
10015
+ updated_at: PropTypes.string.isRequired,
10016
+ status: T['io.flow.v0.models.payment_authorization_status'].isRequired,
10017
+ amount: PropTypes.number.isRequired,
10018
+ currency: PropTypes.string.isRequired,
10019
+ base_amount: PropTypes.number,
10020
+ base_currency: PropTypes.string,
10222
10021
  });
10223
10022
 
10224
- T['io.flow.v0.models.b2b_credit_memo_upserted'] = PropTypes.exact({
10225
- discriminator: PropTypes.oneOf(['b2b_credit_memo_upserted']).isRequired,
10023
+ T['io.flow.v0.models.payment_information'] = PropTypes.exact({
10024
+ amount_refundable: PropTypes.number,
10025
+ amount_refunded: PropTypes.number,
10026
+ refundable_before: PropTypes.string,
10027
+ amount_capturable: PropTypes.number,
10028
+ amount_captured: PropTypes.number,
10029
+ capturable_before: PropTypes.string,
10030
+ authorizations: PropTypes.arrayOf(T['io.flow.v0.models.payment_authorization']).isRequired,
10031
+ });
10032
+
10033
+ T['io.flow.v0.models.address'] = PropTypes.exact({
10034
+ text: PropTypes.string,
10035
+ streets: PropTypes.arrayOf(PropTypes.string),
10036
+ street_number: PropTypes.string,
10037
+ city: PropTypes.string,
10038
+ province: PropTypes.string,
10039
+ postal: PropTypes.string,
10040
+ country: PropTypes.string,
10041
+ latitude: PropTypes.string,
10042
+ longitude: PropTypes.string,
10043
+ });
10044
+
10045
+ T['io.flow.v0.models.tracking_label_event_upserted'] = PropTypes.exact({
10046
+ discriminator: PropTypes.oneOf(['tracking_label_event_upserted']).isRequired,
10226
10047
  event_id: PropTypes.string.isRequired,
10227
10048
  timestamp: PropTypes.string.isRequired,
10228
10049
  organization: PropTypes.string.isRequired,
10229
- b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
10050
+ address: T['io.flow.v0.models.address'].isRequired,
10051
+ carrier: PropTypes.string.isRequired,
10052
+ carrier_timestamp: PropTypes.string.isRequired,
10053
+ carrier_tracking_number: PropTypes.string.isRequired,
10054
+ flow_tracking_number: PropTypes.string.isRequired,
10055
+ status: PropTypes.string.isRequired,
10056
+ delivery_estimate: PropTypes.string,
10057
+ description: PropTypes.string,
10058
+ order_number: PropTypes.string,
10230
10059
  });
10231
10060
 
10232
- T['io.flow.v0.models.b2b_credit_memo_deleted'] = PropTypes.exact({
10233
- discriminator: PropTypes.oneOf(['b2b_credit_memo_deleted']).isRequired,
10234
- event_id: PropTypes.string.isRequired,
10061
+ T['io.flow.v0.models.tracking_event'] = PropTypes.exact({
10062
+ id: PropTypes.string.isRequired,
10063
+ address: T['io.flow.v0.models.address'].isRequired,
10064
+ status: T['io.flow.v0.enums.tracking_status'].isRequired,
10235
10065
  timestamp: PropTypes.string.isRequired,
10236
- organization: PropTypes.string.isRequired,
10237
- b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
10066
+ description: PropTypes.string,
10238
10067
  });
10239
10068
 
10240
- T['io.flow.v0.models.catalog_price_book_item_document'] = PropTypes.exact({
10241
- price_book_key: PropTypes.string.isRequired,
10242
- price_book_item_key: PropTypes.string.isRequired,
10243
- catalog: T['io.flow.v0.models.catalog_item_summary'].isRequired,
10244
- price: T['io.flow.v0.models.price'],
10245
- amount: PropTypes.number.isRequired,
10246
- starts_at: PropTypes.string.isRequired,
10247
- ends_at: PropTypes.string,
10069
+ T['io.flow.v0.models.tracking_label'] = PropTypes.exact({
10070
+ id: PropTypes.string.isRequired,
10071
+ carrier: PropTypes.string.isRequired,
10072
+ carrier_tracking_number: PropTypes.string.isRequired,
10073
+ events: PropTypes.arrayOf(T['io.flow.v0.models.tracking_event']).isRequired,
10074
+ status: T['io.flow.v0.enums.tracking_status'].isRequired,
10075
+ timestamp: PropTypes.string.isRequired,
10076
+ delivery_estimate: PropTypes.string,
10077
+ description: PropTypes.string,
10248
10078
  });
10249
10079
 
10250
- T['io.flow.v0.models.amount_margin'] = PropTypes.exact({
10251
- discriminator: PropTypes.oneOf(['amount_margin']).isRequired,
10252
- margin: T['io.flow.v0.models.price'].isRequired,
10253
- });
10254
-
10255
- T['io.flow.v0.unions.tier_rule_outcome'] = PropTypes.oneOfType([
10256
- T['io.flow.v0.models.amount_margin'],
10257
- T['io.flow.v0.models.at_cost'],
10258
- T['io.flow.v0.models.flat_rate'],
10259
- T['io.flow.v0.models.percent_margin'],
10260
- ]);
10261
-
10262
- T['io.flow.v0.models.tier_rule'] = PropTypes.exact({
10263
- id: PropTypes.string.isRequired,
10264
- position: PropTypes.number.isRequired,
10265
- query: PropTypes.string.isRequired,
10266
- outcome: T['io.flow.v0.unions.tier_rule_outcome'].isRequired,
10267
- });
10268
-
10269
- T['io.flow.v0.models.tier_rule_version'] = PropTypes.exact({
10080
+ T['io.flow.v0.models.tracking'] = PropTypes.exact({
10270
10081
  id: PropTypes.string.isRequired,
10271
- timestamp: PropTypes.string.isRequired,
10272
- type: T['io.flow.v0.enums.change_type'].isRequired,
10273
- tier_rule: T['io.flow.v0.models.tier_rule'].isRequired,
10274
- });
10275
-
10276
- T['io.flow.v0.models.localized_total'] = PropTypes.exact({
10277
- key: PropTypes.oneOf(['localized_total']).isRequired,
10278
- currency: PropTypes.string.isRequired,
10279
- amount: PropTypes.number.isRequired,
10280
- label: PropTypes.string.isRequired,
10281
- base: T['io.flow.v0.models.price'].isRequired,
10282
- });
10283
-
10284
- T['io.flow.v0.models.price_with_base'] = PropTypes.exact({
10285
- currency: PropTypes.string.isRequired,
10286
- amount: PropTypes.number.isRequired,
10287
- label: PropTypes.string.isRequired,
10288
- base: T['io.flow.v0.models.price'],
10289
- });
10290
-
10291
- T['io.flow.v0.models.shopify_order_price_attributes_metafield'] = PropTypes.exact({
10292
- item_number: PropTypes.string.isRequired,
10293
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
10082
+ labels: PropTypes.arrayOf(T['io.flow.v0.models.tracking_label']).isRequired,
10083
+ status: T['io.flow.v0.enums.tracking_status'].isRequired,
10084
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10085
+ url: PropTypes.string.isRequired,
10086
+ window: T['io.flow.v0.models.datetime_range'],
10087
+ order_number: PropTypes.string,
10294
10088
  });
10295
10089
 
10296
- T['io.flow.v0.models.shopify_local_price_metadata'] = PropTypes.exact({
10297
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10090
+ T['io.flow.v0.models.know_your_business_usa_form'] = PropTypes.exact({
10091
+ discriminator: PropTypes.oneOf(['know_your_business_usa_form']).isRequired,
10092
+ primary_entity: T['io.flow.v0.unions.entity'].isRequired,
10093
+ parent_company: T['io.flow.v0.models.company'],
10094
+ ultimate_parent_company: T['io.flow.v0.models.company'],
10095
+ ultimate_beneficiary_owner: T['io.flow.v0.models.individual'].isRequired,
10096
+ business_url: PropTypes.string.isRequired,
10097
+ business_address: T['io.flow.v0.models.address'].isRequired,
10298
10098
  });
10299
10099
 
10300
- T['io.flow.v0.models.shopify_price'] = PropTypes.exact({
10301
- name: PropTypes.string.isRequired,
10302
- amount: PropTypes.number.isRequired,
10303
- cents: PropTypes.number.isRequired,
10304
- currency: PropTypes.string.isRequired,
10305
- label: PropTypes.string.isRequired,
10306
- includes: T['io.flow.v0.models.included_levies'],
10307
- local: T['io.flow.v0.models.shopify_local_price_metadata'],
10308
- });
10100
+ T['io.flow.v0.unions.know_your_business_form'] = PropTypes.oneOfType([T['io.flow.v0.models.know_your_business_usa_form']]);
10309
10101
 
10310
- T['io.flow.v0.models.shopify_order_delivery_metafield'] = PropTypes.exact({
10311
- key: PropTypes.string,
10312
- items: PropTypes.arrayOf(T['io.flow.v0.models.shopify_order_delivery_metafield_item']).isRequired,
10313
- service: T['io.flow.v0.models.service_summary'].isRequired,
10314
- window: T['io.flow.v0.models.delivery_window'].isRequired,
10315
- liability: T['io.flow.v0.enums.ratecard_owner'],
10316
- cost: T['io.flow.v0.models.money_with_optional_base'],
10317
- prices: PropTypes.arrayOf(T['io.flow.v0.models.shopify_price']),
10318
- total: T['io.flow.v0.models.shopify_price'],
10319
- merchant_of_record_entity: T['io.flow.v0.models.merchant_of_record_entity'],
10102
+ T['io.flow.v0.models.know_your_business_usa'] = PropTypes.exact({
10103
+ discriminator: PropTypes.oneOf(['know_your_business_usa']).isRequired,
10104
+ id: PropTypes.string.isRequired,
10105
+ organization_id: PropTypes.string.isRequired,
10106
+ shop: T['io.flow.v0.models.shop'],
10107
+ primary_entity: T['io.flow.v0.unions.entity'].isRequired,
10108
+ parent_company: T['io.flow.v0.models.company'],
10109
+ ultimate_parent_company: T['io.flow.v0.models.company'],
10110
+ ultimate_beneficiary_owner: T['io.flow.v0.models.individual'].isRequired,
10111
+ business_url: PropTypes.string.isRequired,
10112
+ business_address: T['io.flow.v0.models.address'].isRequired,
10320
10113
  });
10321
10114
 
10322
- T['io.flow.v0.models.shopify_localized_variant_prices'] = PropTypes.exact({
10323
- item: T['io.flow.v0.models.shopify_price'].isRequired,
10324
- compare_at: T['io.flow.v0.models.shopify_price'],
10325
- vat: T['io.flow.v0.models.shopify_price'],
10326
- duty: T['io.flow.v0.models.shopify_price'],
10327
- });
10115
+ T['io.flow.v0.unions.know_your_business'] = PropTypes.oneOfType([T['io.flow.v0.models.know_your_business_usa']]);
10328
10116
 
10329
- T['io.flow.v0.models.shopify_localized_variant'] = PropTypes.exact({
10330
- id: PropTypes.number.isRequired,
10331
- handle: PropTypes.string.isRequired,
10332
- experience: T['io.flow.v0.models.experience_reference'].isRequired,
10333
- prices: T['io.flow.v0.models.shopify_localized_variant_prices'].isRequired,
10334
- status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
10335
- inventory_status: T['io.flow.v0.enums.item_availability_status'],
10117
+ T['io.flow.v0.models.harmonized_landed_cost_item'] = PropTypes.exact({
10118
+ item: T['io.flow.v0.models.harmonized_item_reference'].isRequired,
10119
+ duty: T['io.flow.v0.models.duty'].isRequired,
10120
+ tax: T['io.flow.v0.models.tax'].isRequired,
10121
+ tax_applicability: T['io.flow.v0.enums.tax_applicability'],
10122
+ origin: PropTypes.string,
10123
+ hs_code: PropTypes.string,
10124
+ tariff_code: PropTypes.string,
10125
+ customs_description: PropTypes.string,
10126
+ source_address: T['io.flow.v0.models.address'],
10336
10127
  });
10337
10128
 
10338
- T['io.flow.v0.models.shopify_line'] = PropTypes.exact({
10339
- variant_id: PropTypes.number.isRequired,
10340
- quantity: PropTypes.number.isRequired,
10341
- price: T['io.flow.v0.models.shopify_price'].isRequired,
10342
- total: T['io.flow.v0.models.shopify_price'].isRequired,
10343
- price_source: T['io.flow.v0.unions.price_source'],
10129
+ T['io.flow.v0.models.harmonized_landed_cost'] = PropTypes.exact({
10130
+ address: T['io.flow.v0.models.address'].isRequired,
10131
+ items: PropTypes.arrayOf(T['io.flow.v0.models.harmonized_landed_cost_item']).isRequired,
10132
+ tax_registration: T['io.flow.v0.models.tax_registration'],
10344
10133
  });
10345
10134
 
10346
- T['io.flow.v0.models.shopify_local_cart_item_metadata'] = PropTypes.exact({
10347
- line_price: T['io.flow.v0.models.price_with_base'].isRequired,
10348
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10135
+ T['io.flow.v0.models.harmonized_landed_cost_upserted'] = PropTypes.exact({
10136
+ discriminator: PropTypes.oneOf(['harmonized_landed_cost_upserted']).isRequired,
10137
+ event_id: PropTypes.string.isRequired,
10138
+ timestamp: PropTypes.string.isRequired,
10139
+ organization: PropTypes.string.isRequired,
10140
+ id: PropTypes.string.isRequired,
10141
+ landed_cost: T['io.flow.v0.models.harmonized_landed_cost'].isRequired,
10349
10142
  });
10350
10143
 
10351
- T['io.flow.v0.models.shopify_cart_item'] = PropTypes.exact({
10144
+ T['io.flow.v0.models.consumer_invoice_center_reference'] = PropTypes.exact({
10352
10145
  id: PropTypes.string.isRequired,
10353
- handle: PropTypes.string.isRequired,
10354
- line_price: PropTypes.number.isRequired,
10355
- price: PropTypes.number.isRequired,
10356
- product_id: PropTypes.number.isRequired,
10357
- product_title: PropTypes.string.isRequired,
10358
- quantity: PropTypes.number.isRequired,
10359
- title: PropTypes.string.isRequired,
10360
- url: PropTypes.string.isRequired,
10361
- variant_id: PropTypes.number.isRequired,
10362
- local: T['io.flow.v0.models.shopify_local_cart_item_metadata'].isRequired,
10363
- gift_card: PropTypes.bool.isRequired,
10364
- image: PropTypes.string,
10365
- product_description: PropTypes.string,
10366
- product_type: PropTypes.string,
10367
- properties: PropTypes.objectOf(PropTypes.string),
10368
- requires_shipping: PropTypes.bool.isRequired,
10369
- sku: PropTypes.string,
10370
- variant_title: PropTypes.string,
10371
- variant_options: PropTypes.arrayOf(PropTypes.string),
10372
- vendor: PropTypes.string,
10146
+ key: PropTypes.string.isRequired,
10147
+ name: PropTypes.string.isRequired,
10148
+ address: T['io.flow.v0.models.address'].isRequired,
10373
10149
  });
10374
10150
 
10375
- T['io.flow.v0.models.line'] = PropTypes.exact({
10376
- id: PropTypes.string,
10377
- item_number: PropTypes.string.isRequired,
10378
- quantity: PropTypes.number.isRequired,
10379
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10380
- total: T['io.flow.v0.models.price_with_base'].isRequired,
10381
- attributes: PropTypes.objectOf(PropTypes.string),
10151
+ T['io.flow.v0.models.address_suggestion'] = PropTypes.exact({
10152
+ address: T['io.flow.v0.models.address'].isRequired,
10153
+ streets: PropTypes.bool.isRequired,
10154
+ city: PropTypes.bool.isRequired,
10155
+ province: PropTypes.bool.isRequired,
10156
+ postal: PropTypes.bool.isRequired,
10157
+ country: PropTypes.bool.isRequired,
10382
10158
  });
10383
10159
 
10384
- T['io.flow.v0.models.klaviyo_order_prices'] = PropTypes.exact({
10385
- subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
10386
- vat: T['io.flow.v0.models.price_with_base'],
10387
- duty: T['io.flow.v0.models.price_with_base'],
10388
- discount: T['io.flow.v0.models.price_with_base'],
10389
- shipping: T['io.flow.v0.models.price_with_base'],
10390
- insurance: T['io.flow.v0.models.price_with_base'],
10391
- total: T['io.flow.v0.models.price_with_base'].isRequired,
10160
+ T['io.flow.v0.models.address_verification'] = PropTypes.exact({
10161
+ address: T['io.flow.v0.models.address'].isRequired,
10162
+ valid: PropTypes.bool.isRequired,
10163
+ suggestions: PropTypes.arrayOf(T['io.flow.v0.models.address_suggestion']).isRequired,
10392
10164
  });
10393
10165
 
10394
- T['io.flow.v0.models.fulfillment_item_allocation_details'] = PropTypes.exact({
10395
- item_number: PropTypes.string.isRequired,
10396
- line_number: PropTypes.number.isRequired,
10397
- levies: T['io.flow.v0.models.price_with_base'].isRequired,
10398
- total: T['io.flow.v0.models.price_with_base'].isRequired,
10166
+ T['io.flow.v0.models.field_validation_pattern'] = PropTypes.exact({
10167
+ discriminator: PropTypes.oneOf(['pattern']).isRequired,
10168
+ pattern: PropTypes.string.isRequired,
10399
10169
  });
10400
10170
 
10401
- T['io.flow.v0.models.experience_price_facet_conversion'] = PropTypes.exact({
10402
- request: T['io.flow.v0.models.experience_price_facet_conversion_request'].isRequired,
10403
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10171
+ T['io.flow.v0.models.field_validation_max'] = PropTypes.exact({
10172
+ discriminator: PropTypes.oneOf(['max']).isRequired,
10173
+ length: PropTypes.number.isRequired,
10404
10174
  });
10405
10175
 
10406
- T['io.flow.v0.models.experience_price_facet_conversion_response'] = PropTypes.exact({
10407
- facets: PropTypes.arrayOf(T['io.flow.v0.models.experience_price_facet_conversion']).isRequired,
10176
+ T['io.flow.v0.models.field_validation_min'] = PropTypes.exact({
10177
+ discriminator: PropTypes.oneOf(['min']).isRequired,
10178
+ length: PropTypes.number.isRequired,
10408
10179
  });
10409
10180
 
10410
- T['io.flow.v0.models.experience_price_conversion'] = PropTypes.exact({
10411
- request: T['io.flow.v0.models.experience_price_conversion_request'].isRequired,
10412
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10181
+ T['io.flow.v0.models.field_validation_required_if_present'] = PropTypes.exact({
10182
+ discriminator: PropTypes.oneOf(['required_if_present']).isRequired,
10183
+ placeholder: PropTypes.string,
10413
10184
  });
10414
10185
 
10415
- T['io.flow.v0.models.experience_price_conversion_response'] = PropTypes.exact({
10416
- prices: PropTypes.arrayOf(T['io.flow.v0.models.experience_price_conversion']).isRequired,
10186
+ T['io.flow.v0.models.field_validation_required'] = PropTypes.exact({
10187
+ discriminator: PropTypes.oneOf(['required']).isRequired,
10188
+ placeholder: PropTypes.string,
10417
10189
  });
10418
10190
 
10419
- T['io.flow.v0.models.discount'] = PropTypes.exact({
10420
- discriminator: PropTypes.oneOf(['discount']).isRequired,
10191
+ T['io.flow.v0.models.address_configuration_province_translation_locale'] = PropTypes.exact({
10421
10192
  id: PropTypes.string.isRequired,
10422
- code: PropTypes.string,
10423
- label: PropTypes.string.isRequired,
10424
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10425
- attributes: PropTypes.objectOf(PropTypes.string),
10193
+ name: PropTypes.string.isRequired,
10194
+ language: PropTypes.string.isRequired,
10426
10195
  });
10427
10196
 
10428
- T['io.flow.v0.unions.promotion'] = PropTypes.oneOfType([T['io.flow.v0.models.free_shipping'], T['io.flow.v0.models.discount']]);
10197
+ T['io.flow.v0.enums.address_field_name'] = PropTypes.oneOf([
10198
+ 'first_name',
10199
+ 'last_name',
10200
+ 'street_1',
10201
+ 'street_2',
10202
+ 'city',
10203
+ 'province',
10204
+ 'postal',
10205
+ 'country',
10206
+ 'phone',
10207
+ 'company',
10208
+ 'vat_registration_number',
10209
+ ]);
10429
10210
 
10430
- T['io.flow.v0.models.promotions'] = PropTypes.exact({
10431
- applied: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
10432
- available: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
10211
+ T['io.flow.v0.models.address_configuration_field_placement'] = PropTypes.exact({
10212
+ name: T['io.flow.v0.enums.address_field_name'].isRequired,
10433
10213
  });
10434
10214
 
10435
- T['io.flow.v0.models.shopify_local_cart_metadata'] = PropTypes.exact({
10436
- total_price: T['io.flow.v0.models.price_with_base'].isRequired,
10437
- promotions: T['io.flow.v0.models.promotions'].isRequired,
10438
- rules: T['io.flow.v0.models.order_rules_summary'],
10439
- subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
10440
- vat: T['io.flow.v0.models.price_with_base'],
10441
- duty: T['io.flow.v0.models.price_with_base'],
10442
- discount: T['io.flow.v0.models.price_with_base'],
10215
+ T['io.flow.v0.models.address_configuration_province_translation'] = PropTypes.exact({
10216
+ locale: T['io.flow.v0.models.address_configuration_province_translation_locale'].isRequired,
10217
+ name: PropTypes.string.isRequired,
10443
10218
  });
10444
10219
 
10445
- T['io.flow.v0.models.shopify_cart'] = PropTypes.exact({
10446
- id: PropTypes.string.isRequired,
10447
- items: PropTypes.arrayOf(T['io.flow.v0.models.shopify_cart_item']).isRequired,
10448
- item_count: PropTypes.number.isRequired,
10449
- total_price: PropTypes.number.isRequired,
10450
- local: T['io.flow.v0.models.shopify_local_cart_metadata'].isRequired,
10451
- attributes: PropTypes.object,
10452
- note: PropTypes.string,
10453
- requires_shipping: PropTypes.bool.isRequired,
10454
- total_weight: PropTypes.number,
10455
- });
10220
+ T['io.flow.v0.unions.field_validation_rule'] = PropTypes.oneOfType([
10221
+ T['io.flow.v0.models.field_validation_required'],
10222
+ T['io.flow.v0.models.field_validation_required_if_present'],
10223
+ T['io.flow.v0.models.field_validation_min'],
10224
+ T['io.flow.v0.models.field_validation_max'],
10225
+ T['io.flow.v0.models.field_validation_pattern'],
10226
+ ]);
10456
10227
 
10457
- T['io.flow.v0.models.available_promotion'] = PropTypes.exact({
10228
+ T['io.flow.v0.enums.postal_type'] = PropTypes.oneOf(['eircode', 'pin', 'postal', 'zip']);
10229
+
10230
+ T['io.flow.v0.enums.province_type'] = PropTypes.oneOf([
10231
+ 'area',
10232
+ 'city',
10233
+ 'county',
10234
+ 'department',
10235
+ 'dependency',
10236
+ 'district',
10237
+ 'do_si',
10238
+ 'emirate',
10239
+ 'entity',
10240
+ 'island',
10241
+ 'municipality',
10242
+ 'oblast',
10243
+ 'outlying_area',
10244
+ 'parish',
10245
+ 'prefecture',
10246
+ 'province',
10247
+ 'state',
10248
+ 'territory',
10249
+ 'other',
10250
+ ]);
10251
+
10252
+ T['io.flow.v0.models.province'] = PropTypes.exact({
10458
10253
  id: PropTypes.string.isRequired,
10459
- shipping_configuration: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
10460
- region: T['io.flow.v0.models.region_reference'].isRequired,
10461
- promotions: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
10254
+ iso_3166_2: PropTypes.string.isRequired,
10255
+ name: PropTypes.string.isRequired,
10256
+ country: PropTypes.string.isRequired,
10257
+ province_type: T['io.flow.v0.enums.province_type'].isRequired,
10258
+ translations: PropTypes.arrayOf(T['io.flow.v0.models.localized_translation']),
10462
10259
  });
10463
10260
 
10464
- T['io.flow.v0.models.available_promotions_upserted_v2'] = PropTypes.exact({
10465
- discriminator: PropTypes.oneOf(['available_promotions_upserted_v2']).isRequired,
10466
- event_id: PropTypes.string.isRequired,
10467
- timestamp: PropTypes.string.isRequired,
10468
- organization: PropTypes.string.isRequired,
10469
- available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
10261
+ T['io.flow.v0.models.address_configuration_format'] = PropTypes.exact({
10262
+ placements: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_field_placement']).isRequired,
10470
10263
  });
10471
10264
 
10472
- T['io.flow.v0.models.available_promotions_deleted_v2'] = PropTypes.exact({
10473
- discriminator: PropTypes.oneOf(['available_promotions_deleted_v2']).isRequired,
10474
- event_id: PropTypes.string.isRequired,
10475
- timestamp: PropTypes.string.isRequired,
10476
- organization: PropTypes.string.isRequired,
10477
- available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
10265
+ T['io.flow.v0.models.address_configuration_province'] = PropTypes.exact({
10266
+ value: PropTypes.string.isRequired,
10267
+ name: PropTypes.string.isRequired,
10268
+ translations: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_province_translation']),
10478
10269
  });
10479
10270
 
10480
- T['io.flow.v0.enums.order_price_detail_component_key'] = PropTypes.oneOf([
10481
- 'adjustment',
10482
- 'vat_deminimis',
10483
- 'duty_deminimis',
10484
- 'duties_item_price',
10485
- 'duties_freight',
10486
- 'duties_insurance',
10487
- 'vat_item_price',
10488
- 'vat_freight',
10489
- 'vat_insurance',
10490
- 'vat_duties_item_price',
10491
- 'vat_duties_freight',
10492
- 'vat_duties_insurance',
10493
- 'item_price',
10494
- 'item_discount',
10495
- 'rounding',
10496
- 'insurance',
10497
- 'shipping',
10498
- 'shipping_discount',
10499
- 'order_discount',
10500
- 'subtotal_percent_sales_margin',
10501
- 'subtotal_vat_percent_sales_margin',
10502
- 'subtotal_duty_percent_sales_margin',
10503
- 'vat_subsidy',
10504
- 'duty_subsidy',
10505
- 'remote_area_surcharge',
10506
- 'fuel_surcharge',
10507
- 'emergency_situation_surcharge',
10508
- 'peak_surcharge',
10509
- 'duties_taxes_paid_surcharge',
10510
- 'tip',
10511
- ]);
10512
-
10513
- T['io.flow.v0.models.order_price_detail_component'] = PropTypes.exact({
10514
- key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
10515
- currency: PropTypes.string.isRequired,
10516
- amount: PropTypes.number.isRequired,
10517
- label: PropTypes.string.isRequired,
10518
- base: T['io.flow.v0.models.price'].isRequired,
10519
- name: PropTypes.string,
10271
+ T['io.flow.v0.models.address_field_validation'] = PropTypes.exact({
10272
+ first_name: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
10273
+ last_name: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
10274
+ street_1: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
10275
+ street_2: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
10276
+ city: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
10277
+ province: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
10278
+ postal: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
10279
+ phone: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
10280
+ vat_registration_number: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
10520
10281
  });
10521
10282
 
10522
- T['io.flow.v0.models.order_price_detail'] = PropTypes.exact({
10523
- key: T['io.flow.v0.enums.order_price_detail_key'].isRequired,
10524
- currency: PropTypes.string.isRequired,
10525
- amount: PropTypes.number.isRequired,
10526
- label: PropTypes.string.isRequired,
10527
- base: T['io.flow.v0.models.price'].isRequired,
10528
- components: PropTypes.arrayOf(T['io.flow.v0.models.order_price_detail_component']).isRequired,
10529
- name: PropTypes.string,
10530
- rate: PropTypes.number,
10531
- accuracy: T['io.flow.v0.enums.price_accuracy'],
10532
- rate_label: PropTypes.string,
10283
+ T['io.flow.v0.models.address_configuration'] = PropTypes.exact({
10284
+ country: PropTypes.string.isRequired,
10285
+ field_validation: T['io.flow.v0.models.address_field_validation'].isRequired,
10286
+ provinces: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_province']).isRequired,
10287
+ formats: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_format']),
10288
+ province_type: T['io.flow.v0.enums.province_type'],
10289
+ postal_type: T['io.flow.v0.enums.postal_type'],
10533
10290
  });
10534
10291
 
10535
- T['io.flow.v0.models.digital_delivery'] = PropTypes.exact({
10536
- discriminator: PropTypes.oneOf(['digital_delivery']).isRequired,
10537
- id: PropTypes.string.isRequired,
10538
- key: PropTypes.string,
10539
- items: PropTypes.arrayOf(T['io.flow.v0.models.delivery_item']).isRequired,
10540
- prices: PropTypes.arrayOf(T['io.flow.v0.models.order_price_detail']),
10541
- total: T['io.flow.v0.models.localized_total'],
10292
+ T['io.flow.v0.models.money'] = PropTypes.exact({
10293
+ amount: PropTypes.number.isRequired,
10294
+ currency: PropTypes.string.isRequired,
10542
10295
  });
10543
10296
 
10544
- T['io.flow.v0.models.allocation_levy_component'] = PropTypes.exact({
10545
- discriminator: PropTypes.oneOf(['allocation_levy_component']).isRequired,
10546
- key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
10547
- total: T['io.flow.v0.models.price_with_base'].isRequired,
10548
- rate: PropTypes.number.isRequired,
10549
- name: PropTypes.string.isRequired,
10550
- price: T['io.flow.v0.models.price_with_base'],
10551
- accuracy: T['io.flow.v0.enums.price_accuracy'],
10552
- basis: T['io.flow.v0.models.money_with_base'],
10297
+ T['io.flow.v0.models.virtual_card_form'] = PropTypes.exact({
10298
+ limit: T['io.flow.v0.models.money'].isRequired,
10299
+ attributes: PropTypes.objectOf(PropTypes.string),
10553
10300
  });
10554
10301
 
10555
- T['io.flow.v0.models.allocation_detail_component'] = PropTypes.exact({
10556
- discriminator: PropTypes.oneOf(['allocation_detail_component']).isRequired,
10557
- key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
10558
- total: T['io.flow.v0.models.price_with_base'].isRequired,
10559
- price: T['io.flow.v0.models.price_with_base'],
10302
+ T['io.flow.v0.models.tracking_label_form'] = PropTypes.exact({
10303
+ tracking_id: PropTypes.string.isRequired,
10304
+ status: T['io.flow.v0.enums.tracking_status'].isRequired,
10305
+ carrier: PropTypes.string.isRequired,
10306
+ service_id: PropTypes.string,
10307
+ carrier_tracking_number: PropTypes.string.isRequired,
10308
+ delivery_estimate: PropTypes.string,
10309
+ description: PropTypes.string,
10310
+ timestamp: PropTypes.string,
10311
+ cost: T['io.flow.v0.models.money'],
10312
+ ratecard_owner: T['io.flow.v0.enums.ratecard_owner'],
10560
10313
  });
10561
10314
 
10562
- T['io.flow.v0.unions.allocation_component'] = PropTypes.oneOfType([
10563
- T['io.flow.v0.models.allocation_detail_component'],
10564
- T['io.flow.v0.models.allocation_levy_component'],
10565
- ]);
10566
-
10567
- T['io.flow.v0.models.allocation_order_detail'] = PropTypes.exact({
10568
- discriminator: PropTypes.oneOf(['allocation_order_detail']).isRequired,
10569
- key: T['io.flow.v0.enums.order_price_detail_key'].isRequired,
10570
- total: T['io.flow.v0.models.price_with_base'].isRequired,
10571
- included: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_component']).isRequired,
10572
- not_included: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_component']).isRequired,
10315
+ T['io.flow.v0.models.shipping_label_hop_summary'] = PropTypes.exact({
10316
+ lane: T['io.flow.v0.models.shipping_label_lane_summary'].isRequired,
10317
+ cost: T['io.flow.v0.models.money'].isRequired,
10318
+ itemized_estimate: T['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'],
10573
10319
  });
10574
10320
 
10575
- T['io.flow.v0.models.allocation_line_detail'] = PropTypes.exact({
10576
- discriminator: PropTypes.oneOf(['allocation_line_detail']).isRequired,
10577
- id: PropTypes.string,
10578
- number: PropTypes.string.isRequired,
10579
- quantity: PropTypes.number.isRequired,
10580
- key: T['io.flow.v0.enums.order_price_detail_key'].isRequired,
10581
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10582
- total: T['io.flow.v0.models.price_with_base'].isRequired,
10583
- included: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_component']).isRequired,
10584
- not_included: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_component']).isRequired,
10321
+ T['io.flow.v0.models.security_service_fee'] = PropTypes.exact({
10322
+ discriminator: PropTypes.oneOf(['security_service_fee']).isRequired,
10323
+ amount: T['io.flow.v0.models.money'].isRequired,
10324
+ countries: PropTypes.arrayOf(PropTypes.string).isRequired,
10585
10325
  });
10586
10326
 
10587
- T['io.flow.v0.unions.allocation_detail'] = PropTypes.oneOfType([
10588
- T['io.flow.v0.models.allocation_line_detail'],
10589
- T['io.flow.v0.models.allocation_order_detail'],
10590
- ]);
10591
-
10592
- T['io.flow.v0.models.shopify_localized_order'] = PropTypes.exact({
10593
- id: PropTypes.number.isRequired,
10594
- lines: PropTypes.arrayOf(T['io.flow.v0.models.shopify_line']).isRequired,
10595
- prices: PropTypes.arrayOf(T['io.flow.v0.models.shopify_price']).isRequired,
10596
- total: T['io.flow.v0.models.shopify_price'].isRequired,
10597
- allocation_details: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_detail']).isRequired,
10598
- merchant_of_record: T['io.flow.v0.enums.order_merchant_of_record'],
10599
- merchant_of_record_entity: T['io.flow.v0.models.merchant_of_record_entity'],
10600
- incoterm: T['io.flow.v0.enums.incoterm'],
10601
- flow_order_id: PropTypes.string,
10602
- tax_registration: T['io.flow.v0.models.tax_registration'],
10603
- geo: T['io.flow.v0.models.order_geo'],
10327
+ T['io.flow.v0.models.security_ratecard_fee'] = PropTypes.exact({
10328
+ discriminator: PropTypes.oneOf(['security_ratecard_fee']).isRequired,
10329
+ amount: T['io.flow.v0.models.money'].isRequired,
10604
10330
  });
10605
10331
 
10606
- T['io.flow.v0.models.allocation_order_summary'] = PropTypes.exact({
10332
+ T['io.flow.v0.models.reversal'] = PropTypes.exact({
10607
10333
  id: PropTypes.string.isRequired,
10608
- number: PropTypes.string.isRequired,
10609
- submitted_at: PropTypes.string,
10334
+ key: PropTypes.string.isRequired,
10335
+ authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
10336
+ status: T['io.flow.v0.enums.reversal_status'].isRequired,
10337
+ amount: PropTypes.number.isRequired,
10338
+ currency: PropTypes.string.isRequired,
10339
+ requested: T['io.flow.v0.models.money'].isRequired,
10340
+ created_at: PropTypes.string.isRequired,
10341
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10342
+ base: T['io.flow.v0.models.money'],
10610
10343
  });
10611
10344
 
10612
- T['io.flow.v0.models.allocation_v2'] = PropTypes.exact({
10345
+ T['io.flow.v0.models.reversal_version'] = PropTypes.exact({
10613
10346
  id: PropTypes.string.isRequired,
10614
- order: T['io.flow.v0.models.allocation_order_summary'].isRequired,
10615
- details: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_detail']).isRequired,
10616
- total: T['io.flow.v0.models.localized_total'].isRequired,
10347
+ timestamp: PropTypes.string.isRequired,
10348
+ type: T['io.flow.v0.enums.change_type'].isRequired,
10349
+ reversal: T['io.flow.v0.models.reversal'].isRequired,
10617
10350
  });
10618
10351
 
10619
- T['io.flow.v0.models.allocation_upserted_v2'] = PropTypes.exact({
10620
- discriminator: PropTypes.oneOf(['allocation_upserted_v2']).isRequired,
10352
+ T['io.flow.v0.models.reversal_upserted'] = PropTypes.exact({
10353
+ discriminator: PropTypes.oneOf(['reversal_upserted']).isRequired,
10621
10354
  event_id: PropTypes.string.isRequired,
10622
10355
  timestamp: PropTypes.string.isRequired,
10623
10356
  organization: PropTypes.string.isRequired,
10624
- allocation: T['io.flow.v0.models.allocation_v2'].isRequired,
10357
+ id: PropTypes.string.isRequired,
10358
+ reversal: T['io.flow.v0.models.reversal'].isRequired,
10625
10359
  });
10626
10360
 
10627
- T['io.flow.v0.models.allocation'] = PropTypes.exact({
10628
- order: T['io.flow.v0.models.allocation_order_summary'].isRequired,
10629
- details: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_detail']).isRequired,
10361
+ T['io.flow.v0.models.reversal_deleted'] = PropTypes.exact({
10362
+ discriminator: PropTypes.oneOf(['reversal_deleted']).isRequired,
10363
+ event_id: PropTypes.string.isRequired,
10364
+ timestamp: PropTypes.string.isRequired,
10365
+ organization: PropTypes.string.isRequired,
10366
+ reversal: T['io.flow.v0.models.reversal'].isRequired,
10630
10367
  });
10631
10368
 
10632
- T['io.flow.v0.models.adyen_challenge_shopper_data'] = PropTypes.exact({
10633
- discriminator: PropTypes.oneOf(['adyen_challenge_shopper_data']).isRequired,
10634
- challenge_token: PropTypes.string.isRequired,
10369
+ T['io.flow.v0.models.remote_area_service_fee'] = PropTypes.exact({
10370
+ discriminator: PropTypes.oneOf(['remote_area_service_fee']).isRequired,
10371
+ amount: T['io.flow.v0.models.money'].isRequired,
10635
10372
  });
10636
10373
 
10637
- T['io.flow.v0.models.adyen_identify_shopper_data'] = PropTypes.exact({
10638
- discriminator: PropTypes.oneOf(['adyen_identify_shopper_data']).isRequired,
10639
- fingerprint_token: PropTypes.string.isRequired,
10374
+ T['io.flow.v0.models.remote_area_ratecard_fee'] = PropTypes.exact({
10375
+ discriminator: PropTypes.oneOf(['remote_area_ratecard_fee']).isRequired,
10376
+ amount: T['io.flow.v0.models.money'].isRequired,
10640
10377
  });
10641
10378
 
10642
- T['io.flow.v0.unions.adyen_native_data'] = PropTypes.oneOfType([
10643
- T['io.flow.v0.models.adyen_identify_shopper_data'],
10644
- T['io.flow.v0.models.adyen_challenge_shopper_data'],
10645
- ]);
10646
-
10647
- T['io.flow.v0.models.adyen_native_action_details'] = PropTypes.exact({
10648
- discriminator: PropTypes.oneOf(['adyen_native_action_details']).isRequired,
10649
- origin_key: PropTypes.string,
10650
- data: T['io.flow.v0.unions.adyen_native_data'],
10379
+ T['io.flow.v0.models.price_source_provided'] = PropTypes.exact({
10380
+ discriminator: PropTypes.oneOf(['provided']).isRequired,
10381
+ price: T['io.flow.v0.models.money'].isRequired,
10651
10382
  });
10652
10383
 
10653
- T['io.flow.v0.unions.authorization_result_action_details'] = PropTypes.oneOfType([
10654
- T['io.flow.v0.models.adyen_native_action_details'],
10655
- T['io.flow.v0.models.stripe_authorization_result_action_details'],
10656
- T['io.flow.v0.models.threeds_identify_action_details'],
10657
- T['io.flow.v0.models.threeds_challenge_action_details'],
10658
- T['io.flow.v0.models.applepay_sdk_create_result_action_details'],
10659
- T['io.flow.v0.models.applepay_sdk_validate_result_action_details'],
10660
- T['io.flow.v0.models.klarna_sdk_authorization_result_action_details'],
10661
- T['io.flow.v0.models.select_issuer_option_action_details'],
10662
- ]);
10663
-
10664
- T['io.flow.v0.models.authorization_result_action_native'] = PropTypes.exact({
10665
- discriminator: PropTypes.oneOf(['authorization_result_action_native']).isRequired,
10666
- type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
10667
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
10668
- details: T['io.flow.v0.unions.authorization_result_action_details'],
10384
+ T['io.flow.v0.models.price_source_price_book'] = PropTypes.exact({
10385
+ discriminator: PropTypes.oneOf(['price_book']).isRequired,
10386
+ price: T['io.flow.v0.models.money'].isRequired,
10387
+ includes: T['io.flow.v0.models.included_levies'].isRequired,
10388
+ price_book_reference: T['io.flow.v0.models.price_source_price_book_reference'].isRequired,
10669
10389
  });
10670
10390
 
10671
- T['io.flow.v0.models.authorization_result_action_get'] = PropTypes.exact({
10672
- discriminator: PropTypes.oneOf(['authorization_result_action_get']).isRequired,
10673
- type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
10674
- url: PropTypes.string,
10675
- details: T['io.flow.v0.unions.authorization_result_action_details'],
10391
+ T['io.flow.v0.models.price_source_catalog'] = PropTypes.exact({
10392
+ discriminator: PropTypes.oneOf(['catalog']).isRequired,
10393
+ price: T['io.flow.v0.models.money'].isRequired,
10676
10394
  });
10677
10395
 
10678
- T['io.flow.v0.unions.authorization_result_action'] = PropTypes.oneOfType([
10679
- T['io.flow.v0.models.authorization_result_action_get'],
10680
- T['io.flow.v0.models.authorization_result_action_post'],
10681
- T['io.flow.v0.models.authorization_result_action_wait'],
10682
- T['io.flow.v0.models.authorization_result_action_native'],
10396
+ T['io.flow.v0.unions.price_source'] = PropTypes.oneOfType([
10397
+ T['io.flow.v0.models.price_source_price_book'],
10398
+ T['io.flow.v0.models.price_source_catalog'],
10399
+ T['io.flow.v0.models.price_source_provided'],
10683
10400
  ]);
10684
10401
 
10685
- T['io.flow.v0.models.authorization_result'] = PropTypes.exact({
10686
- status: T['io.flow.v0.enums.authorization_status'].isRequired,
10687
- action: T['io.flow.v0.unions.authorization_result_action'],
10688
- decline_code: T['io.flow.v0.enums.authorization_decline_code'],
10689
- avs: T['io.flow.v0.models.avs'],
10690
- cvv: T['io.flow.v0.models.cvv'],
10691
- three_d_secure: T['io.flow.v0.models.three_d_secure'],
10692
- description: T['io.flow.v0.models.authorization_result_description'],
10693
- authorization_code: T['io.flow.v0.models.authorization_code'],
10402
+ T['io.flow.v0.models.shopify_line'] = PropTypes.exact({
10403
+ variant_id: PropTypes.number.isRequired,
10404
+ quantity: PropTypes.number.isRequired,
10405
+ price: T['io.flow.v0.models.shopify_price'].isRequired,
10406
+ total: T['io.flow.v0.models.shopify_price'].isRequired,
10407
+ price_source: T['io.flow.v0.unions.price_source'],
10694
10408
  });
10695
10409
 
10696
- T['io.flow.v0.enums.adjustment_reason_key'] = PropTypes.oneOf(['duty_deminimis', 'vat_deminimis']);
10410
+ T['io.flow.v0.models.peak_surcharge_service_fee'] = PropTypes.exact({
10411
+ discriminator: PropTypes.oneOf(['peak_surcharge_service_fee']).isRequired,
10412
+ amount: T['io.flow.v0.models.money'].isRequired,
10413
+ starts_at: PropTypes.string,
10414
+ ends_at: PropTypes.string,
10415
+ });
10697
10416
 
10698
- T['io.flow.v0.models.adjustment_reason'] = PropTypes.exact({
10699
- key: T['io.flow.v0.enums.adjustment_reason_key'].isRequired,
10700
- label: PropTypes.string.isRequired,
10417
+ T['io.flow.v0.models.peak_surcharge_ratecard_fee'] = PropTypes.exact({
10418
+ discriminator: PropTypes.oneOf(['peak_surcharge_ratecard_fee']).isRequired,
10419
+ amount: T['io.flow.v0.models.money'].isRequired,
10420
+ starts_at: PropTypes.string,
10421
+ ends_at: PropTypes.string,
10701
10422
  });
10702
10423
 
10703
- T['io.flow.v0.models.localized_adjustment'] = PropTypes.exact({
10704
- currency: PropTypes.string.isRequired,
10705
- amount: PropTypes.number.isRequired,
10706
- label: PropTypes.string.isRequired,
10707
- base: T['io.flow.v0.models.price'].isRequired,
10708
- reason: T['io.flow.v0.models.adjustment_reason'].isRequired,
10424
+ T['io.flow.v0.models.outbound_carton_fee'] = PropTypes.exact({
10425
+ discriminator: PropTypes.oneOf(['outbound_carton_fee']).isRequired,
10426
+ amount: T['io.flow.v0.models.money'].isRequired,
10709
10427
  });
10710
10428
 
10711
- T['io.flow.v0.models.localized_item_duty'] = PropTypes.exact({
10712
- key: PropTypes.oneOf(['localized_item_duty']).isRequired,
10713
- currency: PropTypes.string.isRequired,
10429
+ T['io.flow.v0.models.localized_line_item_discount'] = PropTypes.exact({
10714
10430
  amount: PropTypes.number.isRequired,
10715
- label: PropTypes.string.isRequired,
10716
- base: T['io.flow.v0.models.price'].isRequired,
10717
- adjustment: T['io.flow.v0.models.localized_adjustment'],
10718
- basis: T['io.flow.v0.models.money_with_base'],
10431
+ currency: PropTypes.string.isRequired,
10432
+ label: PropTypes.string,
10433
+ base: T['io.flow.v0.models.price'],
10434
+ requested: T['io.flow.v0.models.money'],
10435
+ discount_label: PropTypes.string,
10719
10436
  });
10720
10437
 
10721
- T['io.flow.v0.models.localized_item_vat'] = PropTypes.exact({
10722
- key: PropTypes.oneOf(['localized_item_vat']).isRequired,
10723
- currency: PropTypes.string.isRequired,
10724
- amount: PropTypes.number.isRequired,
10725
- label: PropTypes.string.isRequired,
10726
- base: T['io.flow.v0.models.price'].isRequired,
10727
- name: PropTypes.string.isRequired,
10728
- adjustment: T['io.flow.v0.models.localized_adjustment'],
10729
- accuracy: T['io.flow.v0.enums.price_accuracy'],
10730
- basis: T['io.flow.v0.models.money_with_base'],
10438
+ T['io.flow.v0.models.inbound_carton_fee'] = PropTypes.exact({
10439
+ discriminator: PropTypes.oneOf(['inbound_carton_fee']).isRequired,
10440
+ amount: T['io.flow.v0.models.money'].isRequired,
10731
10441
  });
10732
10442
 
10733
- T['io.flow.v0.models.local_item_attribute_pricing'] = PropTypes.exact({
10734
- pretax_price: T['io.flow.v0.models.price_with_base'].isRequired,
10735
- vat: T['io.flow.v0.models.localized_item_vat'],
10736
- duty: T['io.flow.v0.models.localized_item_duty'],
10737
- price: T['io.flow.v0.models.localized_item_price'].isRequired,
10443
+ T['io.flow.v0.models.line_item'] = PropTypes.exact({
10444
+ number: PropTypes.string.isRequired,
10445
+ quantity: PropTypes.number.isRequired,
10446
+ price: T['io.flow.v0.models.money'].isRequired,
10447
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10448
+ center: PropTypes.string,
10449
+ discount: T['io.flow.v0.models.money'],
10738
10450
  });
10739
10451
 
10740
- T['io.flow.v0.models.local_item_pricing'] = PropTypes.exact({
10741
- price: T['io.flow.v0.models.localized_item_price'].isRequired,
10742
- vat: T['io.flow.v0.models.localized_item_vat'],
10743
- duty: T['io.flow.v0.models.localized_item_duty'],
10744
- shipping: T['io.flow.v0.models.price'],
10745
- attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
10746
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.local_item_attribute_pricing']),
10452
+ T['io.flow.v0.models.flat_rate_form'] = PropTypes.exact({
10453
+ discriminator: PropTypes.oneOf(['flat_rate_form']).isRequired,
10454
+ price: T['io.flow.v0.models.money'].isRequired,
10455
+ zero_amount_indicator: T['io.flow.v0.enums.zero_amount_indicator'],
10747
10456
  });
10748
10457
 
10749
- T['io.flow.v0.unions.localized_price'] = PropTypes.oneOfType([
10750
- T['io.flow.v0.models.localized_item_price'],
10751
- T['io.flow.v0.models.localized_item_vat'],
10752
- T['io.flow.v0.models.localized_item_duty'],
10753
- T['io.flow.v0.models.localized_total'],
10754
- ]);
10458
+ T['io.flow.v0.models.fixed_ddp_ratecard_fee'] = PropTypes.exact({
10459
+ discriminator: PropTypes.oneOf(['fixed_ddp_ratecard_fee']).isRequired,
10460
+ amount: T['io.flow.v0.models.money'].isRequired,
10461
+ });
10755
10462
 
10756
- T['io.flow.v0.models.local'] = PropTypes.exact({
10757
- experience: T['io.flow.v0.models.experience_summary'].isRequired,
10758
- prices: PropTypes.arrayOf(T['io.flow.v0.unions.localized_price']).isRequired,
10759
- rates: PropTypes.arrayOf(T['io.flow.v0.models.rate']).isRequired,
10760
- spot_rates: PropTypes.arrayOf(PropTypes.object).isRequired,
10761
- status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
10762
- attributes: PropTypes.objectOf(PropTypes.string),
10763
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']),
10463
+ T['io.flow.v0.models.fixed_fee_condition'] = PropTypes.exact({
10464
+ countries: PropTypes.arrayOf(PropTypes.string).isRequired,
10465
+ amount: T['io.flow.v0.models.money'].isRequired,
10764
10466
  });
10765
10467
 
10766
- T['io.flow.v0.models.localized_line_item'] = PropTypes.exact({
10767
- id: PropTypes.string,
10768
- number: PropTypes.string.isRequired,
10769
- name: PropTypes.string.isRequired,
10770
- quantity: PropTypes.number.isRequired,
10771
- image: T['io.flow.v0.models.order_summary_image'],
10772
- center: PropTypes.string,
10773
- price: T['io.flow.v0.models.money'],
10774
- discount: T['io.flow.v0.models.localized_line_item_discount'],
10775
- discounts: PropTypes.arrayOf(T['io.flow.v0.models.localized_line_item_discount']),
10776
- attributes: PropTypes.objectOf(PropTypes.string),
10777
- local: T['io.flow.v0.models.local'].isRequired,
10778
- shipment_estimate: T['io.flow.v0.models.datetime_range'],
10779
- price_source: T['io.flow.v0.unions.price_source'],
10468
+ T['io.flow.v0.models.fixed_ddp_service_fee'] = PropTypes.exact({
10469
+ discriminator: PropTypes.oneOf(['fixed_ddp_service_fee']).isRequired,
10470
+ conditions: PropTypes.arrayOf(T['io.flow.v0.models.fixed_fee_condition']).isRequired,
10780
10471
  });
10781
10472
 
10782
- T['io.flow.v0.models.item'] = PropTypes.exact({
10783
- id: PropTypes.string.isRequired,
10784
- number: PropTypes.string.isRequired,
10785
- locale: PropTypes.string.isRequired,
10786
- name: PropTypes.string.isRequired,
10787
- price: T['io.flow.v0.models.price'].isRequired,
10788
- categories: PropTypes.arrayOf(PropTypes.string).isRequired,
10789
- description: PropTypes.string,
10790
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10791
- dimensions: T['io.flow.v0.models.dimensions'].isRequired,
10792
- images: PropTypes.arrayOf(T['io.flow.v0.models.image']).isRequired,
10793
- local: T['io.flow.v0.models.local'],
10794
- created_at: PropTypes.string,
10795
- updated_at: PropTypes.string,
10473
+ T['io.flow.v0.models.fixed_currency_conversion_service_fee'] = PropTypes.exact({
10474
+ discriminator: PropTypes.oneOf(['fixed_currency_conversion_service_fee']).isRequired,
10475
+ conditions: PropTypes.arrayOf(T['io.flow.v0.models.fixed_fee_condition']).isRequired,
10796
10476
  });
10797
10477
 
10798
- T['io.flow.v0.models.subcatalog_item'] = PropTypes.exact({
10799
- id: PropTypes.string.isRequired,
10800
- item: T['io.flow.v0.models.item'].isRequired,
10801
- status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
10478
+ T['io.flow.v0.models.fixed_currency_conversion_ratecard_fee'] = PropTypes.exact({
10479
+ discriminator: PropTypes.oneOf(['fixed_currency_conversion_ratecard_fee']).isRequired,
10480
+ amount: T['io.flow.v0.models.money'].isRequired,
10802
10481
  });
10803
10482
 
10804
- T['io.flow.v0.models.subcatalog_item_version'] = PropTypes.exact({
10805
- id: PropTypes.string.isRequired,
10806
- timestamp: PropTypes.string.isRequired,
10807
- type: T['io.flow.v0.enums.change_type'].isRequired,
10808
- subcatalog_item: T['io.flow.v0.models.subcatalog_item'].isRequired,
10483
+ T['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'] = PropTypes.exact({
10484
+ discriminator: PropTypes.oneOf(['emergency_situation_surcharge_ratecard_fee']).isRequired,
10485
+ amount: T['io.flow.v0.models.money'].isRequired,
10809
10486
  });
10810
10487
 
10811
- T['io.flow.v0.models.item_version'] = PropTypes.exact({
10812
- id: PropTypes.string.isRequired,
10813
- timestamp: PropTypes.string.isRequired,
10814
- type: T['io.flow.v0.enums.change_type'].isRequired,
10815
- item: T['io.flow.v0.models.item'].isRequired,
10488
+ T['io.flow.v0.models.eei_filing_service_fee'] = PropTypes.exact({
10489
+ discriminator: PropTypes.oneOf(['eei_filing_service_fee']).isRequired,
10490
+ amount: T['io.flow.v0.models.money'].isRequired,
10491
+ value_threshold: T['io.flow.v0.models.money'].isRequired,
10816
10492
  });
10817
10493
 
10818
- T['io.flow.v0.models.checkout_item_content'] = PropTypes.exact({
10819
- item: T['io.flow.v0.models.item'].isRequired,
10820
- name: PropTypes.string.isRequired,
10821
- description: PropTypes.string,
10822
- attributes: PropTypes.arrayOf(T['io.flow.v0.models.checkout_item_content_attribute']).isRequired,
10823
- image: T['io.flow.v0.models.image'],
10494
+ T['io.flow.v0.models.eei_filing_ratecard_fee'] = PropTypes.exact({
10495
+ discriminator: PropTypes.oneOf(['eei_filing_ratecard_fee']).isRequired,
10496
+ amount: T['io.flow.v0.models.money'].isRequired,
10824
10497
  });
10825
10498
 
10826
- T['io.flow.v0.models.klaviyo_line_item'] = PropTypes.exact({
10827
- content: T['io.flow.v0.models.checkout_item_content'].isRequired,
10828
- quantity: PropTypes.number.isRequired,
10829
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10830
- line_price: T['io.flow.v0.models.price_with_base'].isRequired,
10499
+ T['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'] = PropTypes.exact({
10500
+ discriminator: PropTypes.oneOf(['duties_taxes_paid_surcharge_service_fee']).isRequired,
10501
+ amount: T['io.flow.v0.models.money'].isRequired,
10502
+ starts_at: PropTypes.string,
10503
+ ends_at: PropTypes.string,
10831
10504
  });
10832
10505
 
10833
- T['io.flow.v0.models.klaviyo_order_content'] = PropTypes.exact({
10834
- line_items: PropTypes.arrayOf(T['io.flow.v0.models.klaviyo_line_item']).isRequired,
10835
- prices: T['io.flow.v0.models.klaviyo_order_prices'].isRequired,
10836
- checkout_url: PropTypes.string.isRequired,
10506
+ T['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'] = PropTypes.exact({
10507
+ discriminator: PropTypes.oneOf(['duties_taxes_paid_surcharge_ratecard_fee']).isRequired,
10508
+ amount: T['io.flow.v0.models.money'].isRequired,
10509
+ starts_at: PropTypes.string,
10510
+ ends_at: PropTypes.string,
10837
10511
  });
10838
10512
 
10839
- T['io.flow.v0.models.catalog_item_upserted_v2'] = PropTypes.exact({
10840
- discriminator: PropTypes.oneOf(['catalog_item_upserted_v2']).isRequired,
10841
- event_id: PropTypes.string.isRequired,
10842
- timestamp: PropTypes.string.isRequired,
10843
- organization: PropTypes.string.isRequired,
10844
- item: T['io.flow.v0.models.item'].isRequired,
10513
+ T['io.flow.v0.models.discount_offer_fixed'] = PropTypes.exact({
10514
+ discriminator: PropTypes.oneOf(['discount_offer_fixed']).isRequired,
10515
+ money: T['io.flow.v0.models.money'].isRequired,
10516
+ });
10517
+
10518
+ T['io.flow.v0.models.money_with_optional_base'] = PropTypes.exact({
10519
+ currency: PropTypes.string.isRequired,
10520
+ amount: PropTypes.number.isRequired,
10521
+ base: T['io.flow.v0.models.money'],
10522
+ });
10523
+
10524
+ T['io.flow.v0.models.shopify_order_delivery_metafield'] = PropTypes.exact({
10525
+ key: PropTypes.string,
10526
+ items: PropTypes.arrayOf(T['io.flow.v0.models.shopify_order_delivery_metafield_item']).isRequired,
10527
+ service: T['io.flow.v0.models.service_summary'].isRequired,
10528
+ window: T['io.flow.v0.models.delivery_window'].isRequired,
10529
+ liability: T['io.flow.v0.enums.ratecard_owner'],
10530
+ cost: T['io.flow.v0.models.money_with_optional_base'],
10531
+ prices: PropTypes.arrayOf(T['io.flow.v0.models.shopify_price']),
10532
+ total: T['io.flow.v0.models.shopify_price'],
10533
+ merchant_of_record_entity: T['io.flow.v0.models.merchant_of_record_entity'],
10534
+ });
10535
+
10536
+ T['io.flow.v0.models.delivery_item'] = PropTypes.exact({
10537
+ id: PropTypes.string,
10538
+ number: PropTypes.string.isRequired,
10539
+ quantity: PropTypes.number.isRequired,
10540
+ shipment_estimate: T['io.flow.v0.models.datetime_range'],
10541
+ price: T['io.flow.v0.models.money_with_optional_base'],
10542
+ attributes: PropTypes.objectOf(PropTypes.string),
10543
+ center: PropTypes.string,
10544
+ line_number: PropTypes.number,
10545
+ });
10546
+
10547
+ T['io.flow.v0.models.digital_delivery'] = PropTypes.exact({
10548
+ discriminator: PropTypes.oneOf(['digital_delivery']).isRequired,
10549
+ id: PropTypes.string.isRequired,
10550
+ key: PropTypes.string,
10551
+ items: PropTypes.arrayOf(T['io.flow.v0.models.delivery_item']).isRequired,
10552
+ prices: PropTypes.arrayOf(T['io.flow.v0.models.order_price_detail']),
10553
+ total: T['io.flow.v0.models.localized_total'],
10554
+ });
10555
+
10556
+ T['io.flow.v0.models.crossdock_ratecard_fee'] = PropTypes.exact({
10557
+ discriminator: PropTypes.oneOf(['crossdock_ratecard_fee']).isRequired,
10558
+ amount: T['io.flow.v0.models.money'].isRequired,
10559
+ });
10560
+
10561
+ T['io.flow.v0.models.commercial_invoice_fee'] = PropTypes.exact({
10562
+ discriminator: PropTypes.oneOf(['commercial_invoice_fee']).isRequired,
10563
+ amount: T['io.flow.v0.models.money'].isRequired,
10564
+ });
10565
+
10566
+ T['io.flow.v0.unions.partner_center_fee'] = PropTypes.oneOfType([
10567
+ T['io.flow.v0.models.commercial_invoice_fee'],
10568
+ T['io.flow.v0.models.inbound_carton_fee'],
10569
+ T['io.flow.v0.models.outbound_carton_fee'],
10570
+ ]);
10571
+
10572
+ T['io.flow.v0.models.partner_center_form'] = PropTypes.exact({
10573
+ partner_id: PropTypes.string.isRequired,
10574
+ number: PropTypes.string,
10575
+ fees: PropTypes.arrayOf(T['io.flow.v0.unions.partner_center_fee']),
10576
+ });
10577
+
10578
+ T['io.flow.v0.models.partner_center'] = PropTypes.exact({
10579
+ partner_reference: T['io.flow.v0.models.partner_reference'].isRequired,
10580
+ number: PropTypes.string,
10581
+ fees: PropTypes.arrayOf(T['io.flow.v0.unions.partner_center_fee']),
10582
+ });
10583
+
10584
+ T['io.flow.v0.models.capture'] = PropTypes.exact({
10585
+ id: PropTypes.string.isRequired,
10586
+ key: PropTypes.string.isRequired,
10587
+ authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
10588
+ amount: PropTypes.number.isRequired,
10589
+ currency: PropTypes.string.isRequired,
10590
+ requested: T['io.flow.v0.models.money'],
10591
+ created_at: PropTypes.string.isRequired,
10592
+ attributes: PropTypes.objectOf(PropTypes.string),
10593
+ status: T['io.flow.v0.enums.capture_status'],
10594
+ base: T['io.flow.v0.models.money'],
10595
+ });
10596
+
10597
+ T['io.flow.v0.models.refund_capture_summary'] = PropTypes.exact({
10598
+ capture: T['io.flow.v0.models.capture'].isRequired,
10599
+ amount: PropTypes.number.isRequired,
10600
+ });
10601
+
10602
+ T['io.flow.v0.models.refund'] = PropTypes.exact({
10603
+ id: PropTypes.string.isRequired,
10604
+ key: PropTypes.string.isRequired,
10605
+ authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
10606
+ amount: PropTypes.number.isRequired,
10607
+ currency: PropTypes.string.isRequired,
10608
+ requested: T['io.flow.v0.models.money'],
10609
+ captures: PropTypes.arrayOf(T['io.flow.v0.models.refund_capture_summary']).isRequired,
10610
+ created_at: PropTypes.string.isRequired,
10611
+ attributes: PropTypes.objectOf(PropTypes.string),
10612
+ status: T['io.flow.v0.enums.refund_status'],
10613
+ base: T['io.flow.v0.models.money'],
10614
+ });
10615
+
10616
+ T['io.flow.v0.models.refund_version'] = PropTypes.exact({
10617
+ id: PropTypes.string.isRequired,
10618
+ timestamp: PropTypes.string.isRequired,
10619
+ type: T['io.flow.v0.enums.change_type'].isRequired,
10620
+ refund: T['io.flow.v0.models.refund'].isRequired,
10621
+ });
10622
+
10623
+ T['io.flow.v0.models.refund_upserted_v2'] = PropTypes.exact({
10624
+ discriminator: PropTypes.oneOf(['refund_upserted_v2']).isRequired,
10625
+ event_id: PropTypes.string.isRequired,
10626
+ timestamp: PropTypes.string.isRequired,
10627
+ organization: PropTypes.string.isRequired,
10628
+ id: PropTypes.string.isRequired,
10629
+ refund: T['io.flow.v0.models.refund'].isRequired,
10630
+ });
10631
+
10632
+ T['io.flow.v0.models.refund_deleted_v2'] = PropTypes.exact({
10633
+ discriminator: PropTypes.oneOf(['refund_deleted_v2']).isRequired,
10634
+ event_id: PropTypes.string.isRequired,
10635
+ timestamp: PropTypes.string.isRequired,
10636
+ organization: PropTypes.string.isRequired,
10637
+ refund: T['io.flow.v0.models.refund'].isRequired,
10638
+ });
10639
+
10640
+ T['io.flow.v0.models.refund_capture'] = PropTypes.exact({
10641
+ id: PropTypes.string.isRequired,
10642
+ refund: T['io.flow.v0.models.refund'].isRequired,
10643
+ capture: T['io.flow.v0.models.capture'].isRequired,
10644
+ amount: PropTypes.number.isRequired,
10645
+ currency: PropTypes.string.isRequired,
10646
+ base: T['io.flow.v0.models.money'].isRequired,
10647
+ status: T['io.flow.v0.enums.refund_status'],
10648
+ });
10649
+
10650
+ T['io.flow.v0.models.refund_capture_upserted_v2'] = PropTypes.exact({
10651
+ discriminator: PropTypes.oneOf(['refund_capture_upserted_v2']).isRequired,
10652
+ event_id: PropTypes.string.isRequired,
10653
+ timestamp: PropTypes.string.isRequired,
10654
+ organization: PropTypes.string.isRequired,
10655
+ id: PropTypes.string.isRequired,
10656
+ refund_capture: T['io.flow.v0.models.refund_capture'].isRequired,
10657
+ });
10658
+
10659
+ T['io.flow.v0.models.email_payment_summary'] = PropTypes.exact({
10660
+ refund: T['io.flow.v0.models.refund'].isRequired,
10661
+ });
10662
+
10663
+ T['io.flow.v0.models.email_notification_data_refund'] = PropTypes.exact({
10664
+ discriminator: PropTypes.oneOf(['refund']).isRequired,
10665
+ order: T['io.flow.v0.models.order_summary'].isRequired,
10666
+ 'return': T['io.flow.v0.models.order_summary'].isRequired,
10667
+ payment: T['io.flow.v0.models.email_payment_summary'].isRequired,
10668
+ });
10669
+
10670
+ T['io.flow.v0.models.capture_version'] = PropTypes.exact({
10671
+ id: PropTypes.string.isRequired,
10672
+ timestamp: PropTypes.string.isRequired,
10673
+ type: T['io.flow.v0.enums.change_type'].isRequired,
10674
+ capture: T['io.flow.v0.models.capture'].isRequired,
10675
+ });
10676
+
10677
+ T['io.flow.v0.models.capture_upserted_v2'] = PropTypes.exact({
10678
+ discriminator: PropTypes.oneOf(['capture_upserted_v2']).isRequired,
10679
+ event_id: PropTypes.string.isRequired,
10680
+ timestamp: PropTypes.string.isRequired,
10681
+ organization: PropTypes.string.isRequired,
10682
+ id: PropTypes.string.isRequired,
10683
+ capture: T['io.flow.v0.models.capture'].isRequired,
10684
+ });
10685
+
10686
+ T['io.flow.v0.models.capture_deleted'] = PropTypes.exact({
10687
+ discriminator: PropTypes.oneOf(['capture_deleted']).isRequired,
10688
+ event_id: PropTypes.string.isRequired,
10689
+ timestamp: PropTypes.string.isRequired,
10690
+ organization: PropTypes.string.isRequired,
10691
+ capture: T['io.flow.v0.models.capture'].isRequired,
10692
+ });
10693
+
10694
+ T['io.flow.v0.models.amount_margin_form'] = PropTypes.exact({
10695
+ discriminator: PropTypes.oneOf(['amount_margin_form']).isRequired,
10696
+ margin: T['io.flow.v0.models.money'].isRequired,
10697
+ });
10698
+
10699
+ T['io.flow.v0.unions.tier_rule_outcome_form'] = PropTypes.oneOfType([
10700
+ T['io.flow.v0.models.amount_margin_form'],
10701
+ T['io.flow.v0.models.flat_rate_form'],
10702
+ T['io.flow.v0.models.at_cost'],
10703
+ T['io.flow.v0.models.percent_margin'],
10704
+ ]);
10705
+
10706
+ T['io.flow.v0.models.tier_rule_form'] = PropTypes.exact({
10707
+ position: PropTypes.number,
10708
+ query: PropTypes.string.isRequired,
10709
+ outcome: T['io.flow.v0.unions.tier_rule_outcome_form'].isRequired,
10710
+ });
10711
+
10712
+ T['io.flow.v0.models.tier_form'] = PropTypes.exact({
10713
+ currency: PropTypes.string.isRequired,
10714
+ integration: T['io.flow.v0.enums.shipment_integration_type'].isRequired,
10715
+ name: PropTypes.string.isRequired,
10716
+ message: PropTypes.string,
10717
+ rules: PropTypes.arrayOf(T['io.flow.v0.models.tier_rule_form']).isRequired,
10718
+ services: PropTypes.arrayOf(PropTypes.string).isRequired,
10719
+ strategy: T['io.flow.v0.enums.tier_strategy'].isRequired,
10720
+ visibility: T['io.flow.v0.enums.visibility'].isRequired,
10721
+ description: PropTypes.string,
10722
+ direction: T['io.flow.v0.enums.lane_direction'],
10723
+ display: T['io.flow.v0.models.tier_display_form'],
10724
+ shipping_lane: PropTypes.string.isRequired,
10725
+ surcharge_settings: PropTypes.arrayOf(T['io.flow.v0.models.surcharge_setting']),
10726
+ settings: T['io.flow.v0.models.tier_settings'],
10727
+ });
10728
+
10729
+ T['io.flow.v0.models.money_with_base'] = PropTypes.exact({
10730
+ currency: PropTypes.string.isRequired,
10731
+ amount: PropTypes.number.isRequired,
10732
+ base: T['io.flow.v0.models.money'].isRequired,
10733
+ });
10734
+
10735
+ T['io.flow.v0.models.localized_item_duty'] = PropTypes.exact({
10736
+ key: PropTypes.oneOf(['localized_item_duty']).isRequired,
10737
+ currency: PropTypes.string.isRequired,
10738
+ amount: PropTypes.number.isRequired,
10739
+ label: PropTypes.string.isRequired,
10740
+ base: T['io.flow.v0.models.price'].isRequired,
10741
+ adjustment: T['io.flow.v0.models.localized_adjustment'],
10742
+ basis: T['io.flow.v0.models.money_with_base'],
10743
+ });
10744
+
10745
+ T['io.flow.v0.models.localized_item_vat'] = PropTypes.exact({
10746
+ key: PropTypes.oneOf(['localized_item_vat']).isRequired,
10747
+ currency: PropTypes.string.isRequired,
10748
+ amount: PropTypes.number.isRequired,
10749
+ label: PropTypes.string.isRequired,
10750
+ base: T['io.flow.v0.models.price'].isRequired,
10751
+ name: PropTypes.string.isRequired,
10752
+ adjustment: T['io.flow.v0.models.localized_adjustment'],
10753
+ accuracy: T['io.flow.v0.enums.price_accuracy'],
10754
+ basis: T['io.flow.v0.models.money_with_base'],
10755
+ });
10756
+
10757
+ T['io.flow.v0.models.local_item_attribute_pricing'] = PropTypes.exact({
10758
+ pretax_price: T['io.flow.v0.models.price_with_base'].isRequired,
10759
+ vat: T['io.flow.v0.models.localized_item_vat'],
10760
+ duty: T['io.flow.v0.models.localized_item_duty'],
10761
+ price: T['io.flow.v0.models.localized_item_price'].isRequired,
10762
+ });
10763
+
10764
+ T['io.flow.v0.models.local_item_pricing'] = PropTypes.exact({
10765
+ price: T['io.flow.v0.models.localized_item_price'].isRequired,
10766
+ vat: T['io.flow.v0.models.localized_item_vat'],
10767
+ duty: T['io.flow.v0.models.localized_item_duty'],
10768
+ shipping: T['io.flow.v0.models.price'],
10769
+ attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
10770
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.local_item_attribute_pricing']),
10771
+ });
10772
+
10773
+ T['io.flow.v0.unions.localized_price'] = PropTypes.oneOfType([
10774
+ T['io.flow.v0.models.localized_item_price'],
10775
+ T['io.flow.v0.models.localized_item_vat'],
10776
+ T['io.flow.v0.models.localized_item_duty'],
10777
+ T['io.flow.v0.models.localized_total'],
10778
+ ]);
10779
+
10780
+ T['io.flow.v0.models.local'] = PropTypes.exact({
10781
+ experience: T['io.flow.v0.models.experience_summary'].isRequired,
10782
+ prices: PropTypes.arrayOf(T['io.flow.v0.unions.localized_price']).isRequired,
10783
+ rates: PropTypes.arrayOf(T['io.flow.v0.models.rate']).isRequired,
10784
+ spot_rates: PropTypes.arrayOf(PropTypes.object).isRequired,
10785
+ status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
10786
+ attributes: PropTypes.objectOf(PropTypes.string),
10787
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']),
10788
+ });
10789
+
10790
+ T['io.flow.v0.models.localized_line_item'] = PropTypes.exact({
10791
+ id: PropTypes.string,
10792
+ number: PropTypes.string.isRequired,
10793
+ name: PropTypes.string.isRequired,
10794
+ quantity: PropTypes.number.isRequired,
10795
+ image: T['io.flow.v0.models.order_summary_image'],
10796
+ center: PropTypes.string,
10797
+ price: T['io.flow.v0.models.money'],
10798
+ discount: T['io.flow.v0.models.localized_line_item_discount'],
10799
+ discounts: PropTypes.arrayOf(T['io.flow.v0.models.localized_line_item_discount']),
10800
+ attributes: PropTypes.objectOf(PropTypes.string),
10801
+ local: T['io.flow.v0.models.local'].isRequired,
10802
+ shipment_estimate: T['io.flow.v0.models.datetime_range'],
10803
+ price_source: T['io.flow.v0.unions.price_source'],
10804
+ });
10805
+
10806
+ T['io.flow.v0.models.export_localized_item_prices_detail'] = PropTypes.exact({
10807
+ item: T['io.flow.v0.models.localized_item_price'].isRequired,
10808
+ vat: T['io.flow.v0.models.localized_item_vat'],
10809
+ duty: T['io.flow.v0.models.localized_item_duty'],
10810
+ shipping_price: T['io.flow.v0.models.price'],
10811
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
10812
+ });
10813
+
10814
+ T['io.flow.v0.models.export_localized_item_prices'] = PropTypes.exact({
10815
+ organization: T['io.flow.v0.models.organization_reference'].isRequired,
10816
+ experience: T['io.flow.v0.models.experience_summary'].isRequired,
10817
+ item: T['io.flow.v0.models.catalog_item_reference'].isRequired,
10818
+ prices: T['io.flow.v0.models.export_localized_item_prices_detail'].isRequired,
10819
+ status: T['io.flow.v0.enums.subcatalog_item_status'],
10820
+ rates: PropTypes.arrayOf(T['io.flow.v0.models.rate']),
10821
+ });
10822
+
10823
+ T['io.flow.v0.models.quote_line_item_form'] = PropTypes.exact({
10824
+ number: PropTypes.string.isRequired,
10825
+ quantity: PropTypes.number.isRequired,
10826
+ shipment_estimate: T['io.flow.v0.models.datetime_range'],
10827
+ price: T['io.flow.v0.models.money_with_base'].isRequired,
10828
+ attributes: PropTypes.objectOf(PropTypes.string),
10829
+ center: PropTypes.string,
10830
+ });
10831
+
10832
+ T['io.flow.v0.models.allocation_line_summary_shipping'] = PropTypes.exact({
10833
+ subtotal: T['io.flow.v0.models.money_with_base'].isRequired,
10834
+ discount: T['io.flow.v0.models.money_with_base'].isRequired,
10835
+ duties: T['io.flow.v0.models.money_with_base'].isRequired,
10836
+ tax: T['io.flow.v0.models.money_with_base'].isRequired,
10837
+ tax_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
10838
+ duties_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
10839
+ total: T['io.flow.v0.models.money_with_base'].isRequired,
10840
+ });
10841
+
10842
+ T['io.flow.v0.models.allocation_line_summary_line_item'] = PropTypes.exact({
10843
+ item_number: PropTypes.string.isRequired,
10844
+ line_number: PropTypes.string,
10845
+ subtotal: T['io.flow.v0.models.money_with_base'].isRequired,
10846
+ discount: T['io.flow.v0.models.money_with_base'].isRequired,
10847
+ duties: T['io.flow.v0.models.money_with_base'].isRequired,
10848
+ tax: T['io.flow.v0.models.money_with_base'].isRequired,
10849
+ tax_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
10850
+ duties_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
10851
+ total: T['io.flow.v0.models.money_with_base'].isRequired,
10852
+ });
10853
+
10854
+ T['io.flow.v0.models.allocation_line_summary'] = PropTypes.exact({
10855
+ line_items: PropTypes.arrayOf(T['io.flow.v0.models.allocation_line_summary_line_item']).isRequired,
10856
+ shipping: T['io.flow.v0.models.allocation_line_summary_shipping'].isRequired,
10857
+ subtotal: T['io.flow.v0.models.money_with_base'].isRequired,
10858
+ discount: T['io.flow.v0.models.money_with_base'].isRequired,
10859
+ duties: T['io.flow.v0.models.money_with_base'].isRequired,
10860
+ tax: T['io.flow.v0.models.money_with_base'].isRequired,
10861
+ tax_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
10862
+ duties_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
10863
+ total: T['io.flow.v0.models.money_with_base'].isRequired,
10864
+ });
10865
+
10866
+ T['io.flow.v0.models.allocation_levy_component'] = PropTypes.exact({
10867
+ discriminator: PropTypes.oneOf(['allocation_levy_component']).isRequired,
10868
+ key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
10869
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
10870
+ rate: PropTypes.number.isRequired,
10871
+ name: PropTypes.string.isRequired,
10872
+ price: T['io.flow.v0.models.price_with_base'],
10873
+ accuracy: T['io.flow.v0.enums.price_accuracy'],
10874
+ basis: T['io.flow.v0.models.money_with_base'],
10875
+ });
10876
+
10877
+ T['io.flow.v0.unions.allocation_component'] = PropTypes.oneOfType([
10878
+ T['io.flow.v0.models.allocation_detail_component'],
10879
+ T['io.flow.v0.models.allocation_levy_component'],
10880
+ ]);
10881
+
10882
+ T['io.flow.v0.models.allocation_order_detail'] = PropTypes.exact({
10883
+ discriminator: PropTypes.oneOf(['allocation_order_detail']).isRequired,
10884
+ key: T['io.flow.v0.enums.order_price_detail_key'].isRequired,
10885
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
10886
+ included: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_component']).isRequired,
10887
+ not_included: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_component']).isRequired,
10888
+ });
10889
+
10890
+ T['io.flow.v0.models.allocation_line_detail'] = PropTypes.exact({
10891
+ discriminator: PropTypes.oneOf(['allocation_line_detail']).isRequired,
10892
+ id: PropTypes.string,
10893
+ number: PropTypes.string.isRequired,
10894
+ quantity: PropTypes.number.isRequired,
10895
+ key: T['io.flow.v0.enums.order_price_detail_key'].isRequired,
10896
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
10897
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
10898
+ included: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_component']).isRequired,
10899
+ not_included: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_component']).isRequired,
10900
+ });
10901
+
10902
+ T['io.flow.v0.unions.allocation_detail'] = PropTypes.oneOfType([
10903
+ T['io.flow.v0.models.allocation_line_detail'],
10904
+ T['io.flow.v0.models.allocation_order_detail'],
10905
+ ]);
10906
+
10907
+ T['io.flow.v0.models.shopify_localized_order'] = PropTypes.exact({
10908
+ id: PropTypes.number.isRequired,
10909
+ lines: PropTypes.arrayOf(T['io.flow.v0.models.shopify_line']).isRequired,
10910
+ prices: PropTypes.arrayOf(T['io.flow.v0.models.shopify_price']).isRequired,
10911
+ total: T['io.flow.v0.models.shopify_price'].isRequired,
10912
+ allocation_details: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_detail']).isRequired,
10913
+ merchant_of_record: T['io.flow.v0.enums.order_merchant_of_record'],
10914
+ merchant_of_record_entity: T['io.flow.v0.models.merchant_of_record_entity'],
10915
+ incoterm: T['io.flow.v0.enums.incoterm'],
10916
+ flow_order_id: PropTypes.string,
10917
+ tax_registration: T['io.flow.v0.models.tax_registration'],
10918
+ geo: T['io.flow.v0.models.order_geo'],
10919
+ });
10920
+
10921
+ T['io.flow.v0.models.allocation_v2'] = PropTypes.exact({
10922
+ id: PropTypes.string.isRequired,
10923
+ order: T['io.flow.v0.models.allocation_order_summary'].isRequired,
10924
+ details: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_detail']).isRequired,
10925
+ total: T['io.flow.v0.models.localized_total'].isRequired,
10926
+ });
10927
+
10928
+ T['io.flow.v0.models.allocation_upserted_v2'] = PropTypes.exact({
10929
+ discriminator: PropTypes.oneOf(['allocation_upserted_v2']).isRequired,
10930
+ event_id: PropTypes.string.isRequired,
10931
+ timestamp: PropTypes.string.isRequired,
10932
+ organization: PropTypes.string.isRequired,
10933
+ allocation: T['io.flow.v0.models.allocation_v2'].isRequired,
10934
+ });
10935
+
10936
+ T['io.flow.v0.models.allocation'] = PropTypes.exact({
10937
+ order: T['io.flow.v0.models.allocation_order_summary'].isRequired,
10938
+ details: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_detail']).isRequired,
10939
+ });
10940
+
10941
+ T['io.flow.v0.enums.unit_of_measurement'] = PropTypes.oneOf([
10942
+ 'millimeter',
10943
+ 'centimeter',
10944
+ 'inch',
10945
+ 'foot',
10946
+ 'cubic_inch',
10947
+ 'cubic_meter',
10948
+ 'gram',
10949
+ 'kilogram',
10950
+ 'meter',
10951
+ 'ounce',
10952
+ 'pound',
10953
+ ]);
10954
+
10955
+ T['io.flow.v0.models.remote_area_by_weight_service_fee'] = PropTypes.exact({
10956
+ discriminator: PropTypes.oneOf(['remote_area_by_weight_service_fee']).isRequired,
10957
+ amount: T['io.flow.v0.models.money'].isRequired,
10958
+ weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
10959
+ });
10960
+
10961
+ T['io.flow.v0.models.ratecard_lane_import_form'] = PropTypes.exact({
10962
+ ratecard_owner: T['io.flow.v0.enums.ratecard_owner'].isRequired,
10963
+ service: PropTypes.string.isRequired,
10964
+ currency: PropTypes.string.isRequired,
10965
+ delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
10966
+ origin: T['io.flow.v0.models.zone'].isRequired,
10967
+ destination: T['io.flow.v0.models.zone'].isRequired,
10968
+ shipment_window: T['io.flow.v0.models.shipment_window'].isRequired,
10969
+ dim_factor: PropTypes.number.isRequired,
10970
+ weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
10971
+ distance_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
10972
+ rates: PropTypes.arrayOf(T['io.flow.v0.models.ratecard_rate_form']).isRequired,
10973
+ });
10974
+
10975
+ T['io.flow.v0.models.oversize_piece_surcharge_service_fee'] = PropTypes.exact({
10976
+ discriminator: PropTypes.oneOf(['oversize_piece_surcharge_service_fee']).isRequired,
10977
+ dimensional_threshold: PropTypes.number,
10978
+ dimensional_unit: T['io.flow.v0.enums.unit_of_measurement'],
10979
+ weight_threshold: PropTypes.number,
10980
+ weight_unit: T['io.flow.v0.enums.unit_of_measurement'],
10981
+ amount: T['io.flow.v0.models.money'].isRequired,
10982
+ });
10983
+
10984
+ T['io.flow.v0.models.oversize_piece_surcharge_ratecard_fee'] = PropTypes.exact({
10985
+ discriminator: PropTypes.oneOf(['oversize_piece_surcharge_ratecard_fee']).isRequired,
10986
+ dimensional_threshold: PropTypes.number,
10987
+ dimensional_unit: T['io.flow.v0.enums.unit_of_measurement'],
10988
+ weight_threshold: PropTypes.number,
10989
+ weight_unit: T['io.flow.v0.enums.unit_of_measurement'],
10990
+ amount: T['io.flow.v0.models.money'].isRequired,
10991
+ });
10992
+
10993
+ T['io.flow.v0.models.large_package_service_fee'] = PropTypes.exact({
10994
+ discriminator: PropTypes.oneOf(['large_package_service_fee']).isRequired,
10995
+ length_girth_threshold: PropTypes.number,
10996
+ dimensional_unit: T['io.flow.v0.enums.unit_of_measurement'],
10997
+ weight_threshold: PropTypes.number,
10998
+ weight_unit: T['io.flow.v0.enums.unit_of_measurement'],
10999
+ amount: T['io.flow.v0.models.money'].isRequired,
11000
+ });
11001
+
11002
+ T['io.flow.v0.models.fuel_surcharge_by_weight'] = PropTypes.exact({
11003
+ discriminator: PropTypes.oneOf(['fuel_surcharge_by_weight']).isRequired,
11004
+ amount: PropTypes.number.isRequired,
11005
+ weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
11006
+ });
11007
+
11008
+ T['io.flow.v0.unions.fuel_surcharge_rate'] = PropTypes.oneOfType([
11009
+ T['io.flow.v0.models.fuel_surcharge_percent'],
11010
+ T['io.flow.v0.models.fuel_surcharge_by_weight'],
11011
+ ]);
11012
+
11013
+ T['io.flow.v0.models.fuel_surcharge_ratecard_fee'] = PropTypes.exact({
11014
+ discriminator: PropTypes.oneOf(['fuel_surcharge_ratecard_fee']).isRequired,
11015
+ amount: T['io.flow.v0.models.money'].isRequired,
11016
+ fuel_surcharge_rate: T['io.flow.v0.unions.fuel_surcharge_rate'],
11017
+ });
11018
+
11019
+ T['io.flow.v0.unions.ratecard_fee'] = PropTypes.oneOfType([
11020
+ T['io.flow.v0.models.ddp_ratecard_fee'],
11021
+ T['io.flow.v0.models.fuel_surcharge_ratecard_fee'],
11022
+ T['io.flow.v0.models.oversize_piece_surcharge_ratecard_fee'],
11023
+ T['io.flow.v0.models.return_package_ratecard_fee'],
11024
+ T['io.flow.v0.models.crossdock_ratecard_fee'],
11025
+ T['io.flow.v0.models.remote_area_ratecard_fee'],
11026
+ T['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'],
11027
+ T['io.flow.v0.models.peak_surcharge_ratecard_fee'],
11028
+ T['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'],
11029
+ T['io.flow.v0.models.security_ratecard_fee'],
11030
+ T['io.flow.v0.models.eei_filing_ratecard_fee'],
11031
+ T['io.flow.v0.models.fixed_ddp_ratecard_fee'],
11032
+ T['io.flow.v0.models.fixed_currency_conversion_ratecard_fee'],
11033
+ ]);
11034
+
11035
+ T['io.flow.v0.models.ratecard_lane_form'] = PropTypes.exact({
11036
+ ratecard_id: PropTypes.string.isRequired,
11037
+ currency: PropTypes.string.isRequired,
11038
+ destination: T['io.flow.v0.models.zone'].isRequired,
11039
+ shipment_window: T['io.flow.v0.models.shipment_window'].isRequired,
11040
+ delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
11041
+ dim_factor: PropTypes.number.isRequired,
11042
+ fees: PropTypes.arrayOf(T['io.flow.v0.unions.ratecard_fee']).isRequired,
11043
+ origin: T['io.flow.v0.models.zone'].isRequired,
11044
+ rounding: T['io.flow.v0.models.rounding'].isRequired,
11045
+ rates: PropTypes.arrayOf(T['io.flow.v0.models.ratecard_rate_form']).isRequired,
11046
+ weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
11047
+ distance_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
11048
+ });
11049
+
11050
+ T['io.flow.v0.models.ratecard_lane'] = PropTypes.exact({
11051
+ id: PropTypes.string.isRequired,
11052
+ ratecard: T['io.flow.v0.models.ratecard_summary'].isRequired,
11053
+ currency: PropTypes.string.isRequired,
11054
+ delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
11055
+ shipment_window: T['io.flow.v0.models.shipment_window'].isRequired,
11056
+ destination: T['io.flow.v0.models.zone'].isRequired,
11057
+ dim_factor: PropTypes.number.isRequired,
11058
+ fees: PropTypes.arrayOf(T['io.flow.v0.unions.ratecard_fee']).isRequired,
11059
+ origin: T['io.flow.v0.models.zone'].isRequired,
11060
+ service: T['io.flow.v0.models.ratecard_service_summary'].isRequired,
11061
+ rates: PropTypes.arrayOf(T['io.flow.v0.models.ratecard_rate']).isRequired,
11062
+ rounding: T['io.flow.v0.models.rounding'].isRequired,
11063
+ weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
11064
+ distance_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
11065
+ });
11066
+
11067
+ T['io.flow.v0.models.ratecard_lane_version'] = PropTypes.exact({
11068
+ id: PropTypes.string.isRequired,
11069
+ timestamp: PropTypes.string.isRequired,
11070
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11071
+ ratecard_lane: T['io.flow.v0.models.ratecard_lane'].isRequired,
10845
11072
  });
10846
11073
 
10847
- T['io.flow.v0.models.catalog_item_deleted_v2'] = PropTypes.exact({
10848
- discriminator: PropTypes.oneOf(['catalog_item_deleted_v2']).isRequired,
11074
+ T['io.flow.v0.models.ratecard_lane_upserted'] = PropTypes.exact({
11075
+ discriminator: PropTypes.oneOf(['ratecard_lane_upserted']).isRequired,
10849
11076
  event_id: PropTypes.string.isRequired,
10850
11077
  timestamp: PropTypes.string.isRequired,
10851
11078
  organization: PropTypes.string.isRequired,
10852
- item: T['io.flow.v0.models.item'].isRequired,
11079
+ ratecard_lane: T['io.flow.v0.models.ratecard_lane'].isRequired,
10853
11080
  });
10854
11081
 
10855
- T['io.flow.v0.models.export_localized_item_prices_detail'] = PropTypes.exact({
10856
- item: T['io.flow.v0.models.localized_item_price'].isRequired,
10857
- vat: T['io.flow.v0.models.localized_item_vat'],
10858
- duty: T['io.flow.v0.models.localized_item_duty'],
10859
- shipping_price: T['io.flow.v0.models.price'],
10860
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
11082
+ T['io.flow.v0.models.fee_weight'] = PropTypes.exact({
11083
+ weight: PropTypes.number.isRequired,
11084
+ unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
10861
11085
  });
10862
11086
 
10863
- T['io.flow.v0.models.export_localized_item_prices'] = PropTypes.exact({
10864
- organization: T['io.flow.v0.models.organization_reference'].isRequired,
10865
- experience: T['io.flow.v0.models.experience_summary'].isRequired,
10866
- item: T['io.flow.v0.models.catalog_item_reference'].isRequired,
10867
- prices: T['io.flow.v0.models.export_localized_item_prices_detail'].isRequired,
10868
- status: T['io.flow.v0.enums.subcatalog_item_status'],
10869
- rates: PropTypes.arrayOf(T['io.flow.v0.models.rate']),
11087
+ T['io.flow.v0.models.peak_surcharge_by_weight_service_fee'] = PropTypes.exact({
11088
+ discriminator: PropTypes.oneOf(['peak_surcharge_by_weight_service_fee']).isRequired,
11089
+ amount: T['io.flow.v0.models.money'].isRequired,
11090
+ weight: T['io.flow.v0.models.fee_weight'].isRequired,
11091
+ regions: PropTypes.arrayOf(PropTypes.string),
11092
+ starts_at: PropTypes.string,
11093
+ ends_at: PropTypes.string,
10870
11094
  });
10871
11095
 
10872
- T['io.flow.v0.enums.address_verification_result_field_code'] = PropTypes.oneOf(['matched', 'not_available', 'not_checked', 'not_matched']);
10873
-
10874
- T['io.flow.v0.models.address_verification_result'] = PropTypes.exact({
10875
- street_code: T['io.flow.v0.enums.address_verification_result_field_code'].isRequired,
10876
- postal_code: T['io.flow.v0.enums.address_verification_result_field_code'].isRequired,
10877
- name_code: T['io.flow.v0.enums.address_verification_result_field_code'].isRequired,
10878
- raw: PropTypes.string,
11096
+ T['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'] = PropTypes.exact({
11097
+ discriminator: PropTypes.oneOf(['fuel_surcharge_amount_by_weight_service_fee']).isRequired,
11098
+ amount: T['io.flow.v0.models.money'].isRequired,
11099
+ weight: T['io.flow.v0.models.fee_weight'].isRequired,
11100
+ regions: PropTypes.arrayOf(PropTypes.string),
11101
+ starts_at: PropTypes.string,
11102
+ ends_at: PropTypes.string,
10879
11103
  });
10880
11104
 
10881
- T['io.flow.v0.models.transaction_details_card'] = PropTypes.exact({
10882
- type: PropTypes.oneOf(['card']).isRequired,
10883
- address_verification_result: T['io.flow.v0.models.address_verification_result'],
10884
- cvv_result: T['io.flow.v0.models.cvv_result'],
10885
- network_details: T['io.flow.v0.models.transaction_network_details_card'],
11105
+ T['io.flow.v0.models.emergency_situation_surcharge_service_fee'] = PropTypes.exact({
11106
+ discriminator: PropTypes.oneOf(['emergency_situation_surcharge_service_fee']).isRequired,
11107
+ amount: T['io.flow.v0.models.money'].isRequired,
11108
+ origin_region: T['io.flow.v0.models.ratecard_region_reference'],
11109
+ destination_region: T['io.flow.v0.models.ratecard_region_reference'],
11110
+ interval_unit: T['io.flow.v0.enums.unit_of_measurement'],
10886
11111
  });
10887
11112
 
10888
- T['io.flow.v0.unions.transaction_details'] = PropTypes.oneOfType([T['io.flow.v0.models.transaction_details_card']]);
10889
-
10890
- T['io.flow.v0.models.payment_method_summary_card'] = PropTypes.exact({
10891
- type: PropTypes.oneOf(['card']).isRequired,
10892
- merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
10893
- last_four: PropTypes.string.isRequired,
10894
- card_type: T['io.flow.v0.enums.card_type'].isRequired,
10895
- id: PropTypes.string.isRequired,
10896
- reference: PropTypes.string,
10897
- transaction_details: T['io.flow.v0.models.transaction_details_card'],
11113
+ T['io.flow.v0.models.measurement'] = PropTypes.exact({
11114
+ value: PropTypes.string.isRequired,
11115
+ units: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
10898
11116
  });
10899
11117
 
10900
- T['io.flow.v0.unions.payment_method_summary'] = PropTypes.oneOfType([
10901
- T['io.flow.v0.models.payment_method_summary_card'],
10902
- T['io.flow.v0.models.payment_method_summary_klarna'],
10903
- T['io.flow.v0.models.payment_method_summary_afterpay'],
10904
- T['io.flow.v0.models.payment_method_summary_applepay'],
10905
- T['io.flow.v0.models.payment_method_summary_googlepay'],
10906
- T['io.flow.v0.models.payment_method_summary_paypal'],
10907
- T['io.flow.v0.models.payment_method_summary_ideal'],
10908
- T['io.flow.v0.models.payment_method_summary_sofort'],
10909
- T['io.flow.v0.models.payment_method_summary_bancontact'],
10910
- ]);
11118
+ T['io.flow.v0.models.tax_duty_quote_line_item_form'] = PropTypes.exact({
11119
+ primary_identifier: PropTypes.string.isRequired,
11120
+ attributes: PropTypes.objectOf(PropTypes.string),
11121
+ ship_from: T['io.flow.v0.models.street_address'].isRequired,
11122
+ quantity: PropTypes.number.isRequired,
11123
+ unit_price: PropTypes.number.isRequired,
11124
+ unit_weight: T['io.flow.v0.models.measurement'],
11125
+ country_of_origin: PropTypes.string,
11126
+ hs_code: PropTypes.string,
11127
+ includes: PropTypes.arrayOf(T['io.flow.v0.enums.levy_inclusion']).isRequired,
11128
+ });
10911
11129
 
10912
- T['io.flow.v0.models.payment_authorization'] = PropTypes.exact({
10913
- id: PropTypes.string.isRequired,
10914
- payment_method_summary: T['io.flow.v0.unions.payment_method_summary'].isRequired,
10915
- captures: PropTypes.arrayOf(T['io.flow.v0.models.payment_capture']).isRequired,
10916
- refunds: PropTypes.arrayOf(T['io.flow.v0.models.payment_refund']).isRequired,
10917
- reversals: PropTypes.arrayOf(T['io.flow.v0.models.payment_reversal']).isRequired,
10918
- created_at: PropTypes.string.isRequired,
10919
- updated_at: PropTypes.string.isRequired,
10920
- status: T['io.flow.v0.models.payment_authorization_status'].isRequired,
10921
- amount: PropTypes.number.isRequired,
11130
+ T['io.flow.v0.models.tax_duty_quote_form'] = PropTypes.exact({
11131
+ primary_identifier: PropTypes.string.isRequired,
11132
+ attributes: PropTypes.objectOf(PropTypes.string),
11133
+ delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
11134
+ destination: T['io.flow.v0.models.street_address'].isRequired,
10922
11135
  currency: PropTypes.string.isRequired,
10923
- base_amount: PropTypes.number,
10924
- base_currency: PropTypes.string,
11136
+ lines: PropTypes.arrayOf(T['io.flow.v0.models.tax_duty_quote_line_item_form']).isRequired,
11137
+ shipping: PropTypes.arrayOf(T['io.flow.v0.models.tax_duty_quote_simple_shipping_form']).isRequired,
11138
+ includes: PropTypes.arrayOf(T['io.flow.v0.enums.levy_inclusion']),
10925
11139
  });
10926
11140
 
10927
- T['io.flow.v0.models.payment_information'] = PropTypes.exact({
10928
- amount_refundable: PropTypes.number,
10929
- amount_refunded: PropTypes.number,
10930
- refundable_before: PropTypes.string,
10931
- amount_capturable: PropTypes.number,
10932
- amount_captured: PropTypes.number,
10933
- capturable_before: PropTypes.string,
10934
- authorizations: PropTypes.arrayOf(T['io.flow.v0.models.payment_authorization']).isRequired,
11141
+ T['io.flow.v0.models.estimated_dimensions'] = PropTypes.exact({
11142
+ depth: T['io.flow.v0.models.measurement'].isRequired,
11143
+ length: T['io.flow.v0.models.measurement'].isRequired,
11144
+ weight: T['io.flow.v0.models.measurement'].isRequired,
11145
+ width: T['io.flow.v0.models.measurement'].isRequired,
10935
11146
  });
10936
11147
 
10937
- T['io.flow.v0.models.address'] = PropTypes.exact({
10938
- text: PropTypes.string,
10939
- streets: PropTypes.arrayOf(PropTypes.string),
10940
- street_number: PropTypes.string,
10941
- city: PropTypes.string,
10942
- province: PropTypes.string,
10943
- postal: PropTypes.string,
10944
- country: PropTypes.string,
10945
- latitude: PropTypes.string,
10946
- longitude: PropTypes.string,
11148
+ T['io.flow.v0.models.dimension_estimate_form'] = PropTypes.exact({
11149
+ q: PropTypes.string.isRequired,
11150
+ dimensions: T['io.flow.v0.models.estimated_dimensions'].isRequired,
11151
+ position: PropTypes.number,
10947
11152
  });
10948
11153
 
10949
- T['io.flow.v0.models.tracking_label_event_upserted'] = PropTypes.exact({
10950
- discriminator: PropTypes.oneOf(['tracking_label_event_upserted']).isRequired,
10951
- event_id: PropTypes.string.isRequired,
10952
- timestamp: PropTypes.string.isRequired,
10953
- organization: PropTypes.string.isRequired,
10954
- address: T['io.flow.v0.models.address'].isRequired,
10955
- carrier: PropTypes.string.isRequired,
10956
- carrier_timestamp: PropTypes.string.isRequired,
10957
- carrier_tracking_number: PropTypes.string.isRequired,
10958
- flow_tracking_number: PropTypes.string.isRequired,
10959
- status: PropTypes.string.isRequired,
10960
- delivery_estimate: PropTypes.string,
10961
- description: PropTypes.string,
10962
- order_number: PropTypes.string,
11154
+ T['io.flow.v0.models.dimension_estimate'] = PropTypes.exact({
11155
+ id: PropTypes.string.isRequired,
11156
+ q: PropTypes.string.isRequired,
11157
+ dimensions: T['io.flow.v0.models.estimated_dimensions'].isRequired,
11158
+ position: PropTypes.number.isRequired,
10963
11159
  });
10964
11160
 
10965
- T['io.flow.v0.models.tracking_event'] = PropTypes.exact({
11161
+ T['io.flow.v0.models.dimension_estimate_version'] = PropTypes.exact({
10966
11162
  id: PropTypes.string.isRequired,
10967
- address: T['io.flow.v0.models.address'].isRequired,
10968
- status: T['io.flow.v0.enums.tracking_status'].isRequired,
10969
11163
  timestamp: PropTypes.string.isRequired,
10970
- description: PropTypes.string,
11164
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11165
+ dimension_estimate: T['io.flow.v0.models.dimension_estimate'].isRequired,
10971
11166
  });
10972
11167
 
10973
- T['io.flow.v0.models.tracking_label'] = PropTypes.exact({
10974
- id: PropTypes.string.isRequired,
10975
- carrier: PropTypes.string.isRequired,
10976
- carrier_tracking_number: PropTypes.string.isRequired,
10977
- events: PropTypes.arrayOf(T['io.flow.v0.models.tracking_event']).isRequired,
10978
- status: T['io.flow.v0.enums.tracking_status'].isRequired,
10979
- timestamp: PropTypes.string.isRequired,
10980
- delivery_estimate: PropTypes.string,
10981
- description: PropTypes.string,
11168
+ T['io.flow.v0.models.dimension'] = PropTypes.exact({
11169
+ depth: T['io.flow.v0.models.measurement'],
11170
+ diameter: T['io.flow.v0.models.measurement'],
11171
+ length: T['io.flow.v0.models.measurement'],
11172
+ weight: T['io.flow.v0.models.measurement'],
11173
+ width: T['io.flow.v0.models.measurement'],
10982
11174
  });
10983
11175
 
10984
- T['io.flow.v0.models.tracking'] = PropTypes.exact({
10985
- id: PropTypes.string.isRequired,
10986
- labels: PropTypes.arrayOf(T['io.flow.v0.models.tracking_label']).isRequired,
10987
- status: T['io.flow.v0.enums.tracking_status'].isRequired,
10988
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10989
- url: PropTypes.string.isRequired,
10990
- window: T['io.flow.v0.models.datetime_range'],
10991
- order_number: PropTypes.string,
11176
+ T['io.flow.v0.models.single_package_shipping_notification_form'] = PropTypes.exact({
11177
+ discriminator: PropTypes.oneOf(['single_package_shipping_notification_form']).isRequired,
11178
+ fulfillment_key: PropTypes.string.isRequired,
11179
+ carrier_tracking_number: PropTypes.string.isRequired,
11180
+ package_dimensions: T['io.flow.v0.models.dimension'],
11181
+ service: PropTypes.string,
11182
+ shipment_recipient: T['io.flow.v0.enums.shipment_recipient'],
10992
11183
  });
10993
11184
 
10994
11185
  T['io.flow.v0.models.shopify_merchant_application_form'] = PropTypes.exact({
@@ -11050,235 +11241,197 @@ T['io.flow.v0.models.shopify_merchant_application'] = PropTypes.exact({
11050
11241
  default_country_of_origin: PropTypes.string,
11051
11242
  ratecard: T['io.flow.v0.models.ratecard_reference'],
11052
11243
  rate_card: PropTypes.string.isRequired,
11053
- created_at: PropTypes.string.isRequired,
11054
- activated_at: PropTypes.string,
11055
- status_updated_at: PropTypes.string,
11056
- shop: T['io.flow.v0.models.shop'],
11057
- last_year_xborder_gmv: T['io.flow.v0.models.money'],
11058
- last_month_xborder_gmv: T['io.flow.v0.models.money'],
11059
- average_order_value: T['io.flow.v0.models.money'],
11060
- glbe_merchant_guid: PropTypes.string,
11061
- mcc_codes: PropTypes.arrayOf(PropTypes.number),
11062
- });
11063
-
11064
- T['io.flow.v0.unions.merchant_application'] = PropTypes.oneOfType([T['io.flow.v0.models.shopify_merchant_application']]);
11065
-
11066
- T['io.flow.v0.models.merchant_application_upserted'] = PropTypes.exact({
11067
- discriminator: PropTypes.oneOf(['merchant_application_upserted']).isRequired,
11068
- event_id: PropTypes.string.isRequired,
11069
- timestamp: PropTypes.string.isRequired,
11070
- merchant_application: T['io.flow.v0.unions.merchant_application'].isRequired,
11071
- });
11072
-
11073
- T['io.flow.v0.models.merchant_application_deleted'] = PropTypes.exact({
11074
- discriminator: PropTypes.oneOf(['merchant_application_deleted']).isRequired,
11075
- event_id: PropTypes.string.isRequired,
11076
- timestamp: PropTypes.string.isRequired,
11077
- merchant_application: T['io.flow.v0.unions.merchant_application'].isRequired,
11078
- });
11079
-
11080
- T['io.flow.v0.models.know_your_business_usa_form'] = PropTypes.exact({
11081
- discriminator: PropTypes.oneOf(['know_your_business_usa_form']).isRequired,
11082
- primary_entity: T['io.flow.v0.unions.entity'].isRequired,
11083
- parent_company: T['io.flow.v0.models.company'],
11084
- ultimate_parent_company: T['io.flow.v0.models.company'],
11085
- ultimate_beneficiary_owner: T['io.flow.v0.models.individual'].isRequired,
11086
- business_url: PropTypes.string.isRequired,
11087
- business_address: T['io.flow.v0.models.address'].isRequired,
11088
- });
11089
-
11090
- T['io.flow.v0.unions.know_your_business_form'] = PropTypes.oneOfType([T['io.flow.v0.models.know_your_business_usa_form']]);
11091
-
11092
- T['io.flow.v0.models.know_your_business_usa'] = PropTypes.exact({
11093
- discriminator: PropTypes.oneOf(['know_your_business_usa']).isRequired,
11094
- id: PropTypes.string.isRequired,
11095
- organization_id: PropTypes.string.isRequired,
11096
- shop: T['io.flow.v0.models.shop'],
11097
- primary_entity: T['io.flow.v0.unions.entity'].isRequired,
11098
- parent_company: T['io.flow.v0.models.company'],
11099
- ultimate_parent_company: T['io.flow.v0.models.company'],
11100
- ultimate_beneficiary_owner: T['io.flow.v0.models.individual'].isRequired,
11101
- business_url: PropTypes.string.isRequired,
11102
- business_address: T['io.flow.v0.models.address'].isRequired,
11103
- });
11104
-
11105
- T['io.flow.v0.unions.know_your_business'] = PropTypes.oneOfType([T['io.flow.v0.models.know_your_business_usa']]);
11106
-
11107
- T['io.flow.v0.models.harmonized_landed_cost_item'] = PropTypes.exact({
11108
- item: T['io.flow.v0.models.harmonized_item_reference'].isRequired,
11109
- duty: T['io.flow.v0.models.duty'].isRequired,
11110
- tax: T['io.flow.v0.models.tax'].isRequired,
11111
- tax_applicability: T['io.flow.v0.enums.tax_applicability'],
11112
- origin: PropTypes.string,
11113
- hs_code: PropTypes.string,
11114
- tariff_code: PropTypes.string,
11115
- customs_description: PropTypes.string,
11116
- source_address: T['io.flow.v0.models.address'],
11244
+ created_at: PropTypes.string.isRequired,
11245
+ activated_at: PropTypes.string,
11246
+ status_updated_at: PropTypes.string,
11247
+ shop: T['io.flow.v0.models.shop'],
11248
+ last_year_xborder_gmv: T['io.flow.v0.models.money'],
11249
+ last_month_xborder_gmv: T['io.flow.v0.models.money'],
11250
+ average_order_value: T['io.flow.v0.models.money'],
11251
+ glbe_merchant_guid: PropTypes.string,
11252
+ mcc_codes: PropTypes.arrayOf(PropTypes.number),
11117
11253
  });
11118
11254
 
11119
- T['io.flow.v0.models.harmonized_landed_cost'] = PropTypes.exact({
11120
- address: T['io.flow.v0.models.address'].isRequired,
11121
- items: PropTypes.arrayOf(T['io.flow.v0.models.harmonized_landed_cost_item']).isRequired,
11122
- tax_registration: T['io.flow.v0.models.tax_registration'],
11123
- });
11255
+ T['io.flow.v0.unions.merchant_application'] = PropTypes.oneOfType([T['io.flow.v0.models.shopify_merchant_application']]);
11124
11256
 
11125
- T['io.flow.v0.models.harmonized_landed_cost_upserted'] = PropTypes.exact({
11126
- discriminator: PropTypes.oneOf(['harmonized_landed_cost_upserted']).isRequired,
11257
+ T['io.flow.v0.models.merchant_application_upserted'] = PropTypes.exact({
11258
+ discriminator: PropTypes.oneOf(['merchant_application_upserted']).isRequired,
11127
11259
  event_id: PropTypes.string.isRequired,
11128
11260
  timestamp: PropTypes.string.isRequired,
11129
- organization: PropTypes.string.isRequired,
11130
- id: PropTypes.string.isRequired,
11131
- landed_cost: T['io.flow.v0.models.harmonized_landed_cost'].isRequired,
11261
+ merchant_application: T['io.flow.v0.unions.merchant_application'].isRequired,
11132
11262
  });
11133
11263
 
11134
- T['io.flow.v0.models.consumer_invoice_center_reference'] = PropTypes.exact({
11135
- id: PropTypes.string.isRequired,
11136
- key: PropTypes.string.isRequired,
11137
- name: PropTypes.string.isRequired,
11138
- address: T['io.flow.v0.models.address'].isRequired,
11264
+ T['io.flow.v0.models.merchant_application_deleted'] = PropTypes.exact({
11265
+ discriminator: PropTypes.oneOf(['merchant_application_deleted']).isRequired,
11266
+ event_id: PropTypes.string.isRequired,
11267
+ timestamp: PropTypes.string.isRequired,
11268
+ merchant_application: T['io.flow.v0.unions.merchant_application'].isRequired,
11139
11269
  });
11140
11270
 
11141
- T['io.flow.v0.models.address_suggestion'] = PropTypes.exact({
11142
- address: T['io.flow.v0.models.address'].isRequired,
11143
- streets: PropTypes.bool.isRequired,
11144
- city: PropTypes.bool.isRequired,
11145
- province: PropTypes.bool.isRequired,
11146
- postal: PropTypes.bool.isRequired,
11147
- country: PropTypes.bool.isRequired,
11271
+ T['io.flow.v0.models.package_dimensions_form'] = PropTypes.exact({
11272
+ dimensions: PropTypes.arrayOf(T['io.flow.v0.models.dimension']).isRequired,
11148
11273
  });
11149
11274
 
11150
- T['io.flow.v0.models.address_verification'] = PropTypes.exact({
11151
- address: T['io.flow.v0.models.address'].isRequired,
11152
- valid: PropTypes.bool.isRequired,
11153
- suggestions: PropTypes.arrayOf(T['io.flow.v0.models.address_suggestion']).isRequired,
11275
+ T['io.flow.v0.models.package_dimensions'] = PropTypes.exact({
11276
+ dimensions: PropTypes.arrayOf(T['io.flow.v0.models.dimension']).isRequired,
11154
11277
  });
11155
11278
 
11156
- T['io.flow.v0.models.field_validation_pattern'] = PropTypes.exact({
11157
- discriminator: PropTypes.oneOf(['pattern']).isRequired,
11158
- pattern: PropTypes.string.isRequired,
11279
+ T['io.flow.v0.models.dimensions'] = PropTypes.exact({
11280
+ product: T['io.flow.v0.models.dimension'],
11281
+ packaging: T['io.flow.v0.models.dimension'],
11159
11282
  });
11160
11283
 
11161
- T['io.flow.v0.models.field_validation_max'] = PropTypes.exact({
11162
- discriminator: PropTypes.oneOf(['max']).isRequired,
11163
- length: PropTypes.number.isRequired,
11284
+ T['io.flow.v0.models.item_form_overlay_form'] = PropTypes.exact({
11285
+ number: PropTypes.string.isRequired,
11286
+ price: PropTypes.number,
11287
+ currency: PropTypes.string,
11288
+ position: PropTypes.number,
11289
+ categories: PropTypes.arrayOf(PropTypes.string),
11290
+ description: PropTypes.string,
11291
+ attributes: PropTypes.objectOf(PropTypes.string),
11292
+ dimensions: T['io.flow.v0.models.dimensions'],
11293
+ images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
11164
11294
  });
11165
11295
 
11166
- T['io.flow.v0.models.field_validation_min'] = PropTypes.exact({
11167
- discriminator: PropTypes.oneOf(['min']).isRequired,
11168
- length: PropTypes.number.isRequired,
11296
+ T['io.flow.v0.models.item_form_overlay'] = PropTypes.exact({
11297
+ id: PropTypes.string.isRequired,
11298
+ number: PropTypes.string.isRequired,
11299
+ key: PropTypes.string.isRequired,
11300
+ position: PropTypes.number.isRequired,
11301
+ price: T['io.flow.v0.models.price'],
11302
+ categories: PropTypes.arrayOf(PropTypes.string),
11303
+ description: PropTypes.string,
11304
+ attributes: PropTypes.objectOf(PropTypes.string),
11305
+ dimensions: T['io.flow.v0.models.dimensions'],
11306
+ images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
11169
11307
  });
11170
11308
 
11171
- T['io.flow.v0.models.field_validation_required_if_present'] = PropTypes.exact({
11172
- discriminator: PropTypes.oneOf(['required_if_present']).isRequired,
11173
- placeholder: PropTypes.string,
11309
+ T['io.flow.v0.models.item_form'] = PropTypes.exact({
11310
+ number: PropTypes.string.isRequired,
11311
+ locale: PropTypes.string.isRequired,
11312
+ name: PropTypes.string.isRequired,
11313
+ currency: PropTypes.string.isRequired,
11314
+ price: PropTypes.number.isRequired,
11315
+ categories: PropTypes.arrayOf(PropTypes.string),
11316
+ description: PropTypes.string,
11317
+ attributes: PropTypes.objectOf(PropTypes.string),
11318
+ dimensions: T['io.flow.v0.models.dimensions'],
11319
+ images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
11174
11320
  });
11175
11321
 
11176
- T['io.flow.v0.models.field_validation_required'] = PropTypes.exact({
11177
- discriminator: PropTypes.oneOf(['required']).isRequired,
11178
- placeholder: PropTypes.string,
11322
+ T['io.flow.v0.models.packaging'] = PropTypes.exact({
11323
+ dimensions: T['io.flow.v0.models.dimensions'].isRequired,
11324
+ name: PropTypes.string,
11325
+ number: PropTypes.string,
11179
11326
  });
11180
11327
 
11181
- T['io.flow.v0.models.address_configuration_province_translation_locale'] = PropTypes.exact({
11328
+ T['io.flow.v0.models.item'] = PropTypes.exact({
11182
11329
  id: PropTypes.string.isRequired,
11330
+ number: PropTypes.string.isRequired,
11331
+ locale: PropTypes.string.isRequired,
11183
11332
  name: PropTypes.string.isRequired,
11184
- language: PropTypes.string.isRequired,
11333
+ price: T['io.flow.v0.models.price'].isRequired,
11334
+ categories: PropTypes.arrayOf(PropTypes.string).isRequired,
11335
+ description: PropTypes.string,
11336
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
11337
+ dimensions: T['io.flow.v0.models.dimensions'].isRequired,
11338
+ images: PropTypes.arrayOf(T['io.flow.v0.models.image']).isRequired,
11339
+ local: T['io.flow.v0.models.local'],
11340
+ created_at: PropTypes.string,
11341
+ updated_at: PropTypes.string,
11185
11342
  });
11186
11343
 
11187
- T['io.flow.v0.enums.address_field_name'] = PropTypes.oneOf([
11188
- 'first_name',
11189
- 'last_name',
11190
- 'street_1',
11191
- 'street_2',
11192
- 'city',
11193
- 'province',
11194
- 'postal',
11195
- 'country',
11196
- 'phone',
11197
- 'company',
11198
- 'vat_registration_number',
11199
- ]);
11200
-
11201
- T['io.flow.v0.models.address_configuration_field_placement'] = PropTypes.exact({
11202
- name: T['io.flow.v0.enums.address_field_name'].isRequired,
11344
+ T['io.flow.v0.models.subcatalog_item'] = PropTypes.exact({
11345
+ id: PropTypes.string.isRequired,
11346
+ item: T['io.flow.v0.models.item'].isRequired,
11347
+ status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
11203
11348
  });
11204
11349
 
11205
- T['io.flow.v0.models.address_configuration_province_translation'] = PropTypes.exact({
11206
- locale: T['io.flow.v0.models.address_configuration_province_translation_locale'].isRequired,
11207
- name: PropTypes.string.isRequired,
11350
+ T['io.flow.v0.models.subcatalog_item_version'] = PropTypes.exact({
11351
+ id: PropTypes.string.isRequired,
11352
+ timestamp: PropTypes.string.isRequired,
11353
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11354
+ subcatalog_item: T['io.flow.v0.models.subcatalog_item'].isRequired,
11208
11355
  });
11209
11356
 
11210
- T['io.flow.v0.unions.field_validation_rule'] = PropTypes.oneOfType([
11211
- T['io.flow.v0.models.field_validation_required'],
11212
- T['io.flow.v0.models.field_validation_required_if_present'],
11213
- T['io.flow.v0.models.field_validation_min'],
11214
- T['io.flow.v0.models.field_validation_max'],
11215
- T['io.flow.v0.models.field_validation_pattern'],
11216
- ]);
11357
+ T['io.flow.v0.models.item_version'] = PropTypes.exact({
11358
+ id: PropTypes.string.isRequired,
11359
+ timestamp: PropTypes.string.isRequired,
11360
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11361
+ item: T['io.flow.v0.models.item'].isRequired,
11362
+ });
11217
11363
 
11218
- T['io.flow.v0.enums.postal_type'] = PropTypes.oneOf(['eircode', 'pin', 'postal', 'zip']);
11364
+ T['io.flow.v0.models.checkout_item_content'] = PropTypes.exact({
11365
+ item: T['io.flow.v0.models.item'].isRequired,
11366
+ name: PropTypes.string.isRequired,
11367
+ description: PropTypes.string,
11368
+ attributes: PropTypes.arrayOf(T['io.flow.v0.models.checkout_item_content_attribute']).isRequired,
11369
+ image: T['io.flow.v0.models.image'],
11370
+ });
11219
11371
 
11220
- T['io.flow.v0.enums.province_type'] = PropTypes.oneOf([
11221
- 'area',
11222
- 'city',
11223
- 'county',
11224
- 'department',
11225
- 'dependency',
11226
- 'district',
11227
- 'do_si',
11228
- 'emirate',
11229
- 'entity',
11230
- 'island',
11231
- 'municipality',
11232
- 'oblast',
11233
- 'outlying_area',
11234
- 'parish',
11235
- 'prefecture',
11236
- 'province',
11237
- 'state',
11238
- 'territory',
11239
- 'other',
11240
- ]);
11372
+ T['io.flow.v0.models.klaviyo_line_item'] = PropTypes.exact({
11373
+ content: T['io.flow.v0.models.checkout_item_content'].isRequired,
11374
+ quantity: PropTypes.number.isRequired,
11375
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
11376
+ line_price: T['io.flow.v0.models.price_with_base'].isRequired,
11377
+ });
11241
11378
 
11242
- T['io.flow.v0.models.province'] = PropTypes.exact({
11243
- id: PropTypes.string.isRequired,
11244
- iso_3166_2: PropTypes.string.isRequired,
11245
- name: PropTypes.string.isRequired,
11246
- country: PropTypes.string.isRequired,
11247
- province_type: T['io.flow.v0.enums.province_type'].isRequired,
11248
- translations: PropTypes.arrayOf(T['io.flow.v0.models.localized_translation']),
11379
+ T['io.flow.v0.models.klaviyo_order_content'] = PropTypes.exact({
11380
+ line_items: PropTypes.arrayOf(T['io.flow.v0.models.klaviyo_line_item']).isRequired,
11381
+ prices: T['io.flow.v0.models.klaviyo_order_prices'].isRequired,
11382
+ checkout_url: PropTypes.string.isRequired,
11249
11383
  });
11250
11384
 
11251
- T['io.flow.v0.models.address_configuration_format'] = PropTypes.exact({
11252
- placements: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_field_placement']).isRequired,
11385
+ T['io.flow.v0.models.catalog_item_upserted_v2'] = PropTypes.exact({
11386
+ discriminator: PropTypes.oneOf(['catalog_item_upserted_v2']).isRequired,
11387
+ event_id: PropTypes.string.isRequired,
11388
+ timestamp: PropTypes.string.isRequired,
11389
+ organization: PropTypes.string.isRequired,
11390
+ item: T['io.flow.v0.models.item'].isRequired,
11253
11391
  });
11254
11392
 
11255
- T['io.flow.v0.models.address_configuration_province'] = PropTypes.exact({
11256
- value: PropTypes.string.isRequired,
11257
- name: PropTypes.string.isRequired,
11258
- translations: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_province_translation']),
11393
+ T['io.flow.v0.models.catalog_item_deleted_v2'] = PropTypes.exact({
11394
+ discriminator: PropTypes.oneOf(['catalog_item_deleted_v2']).isRequired,
11395
+ event_id: PropTypes.string.isRequired,
11396
+ timestamp: PropTypes.string.isRequired,
11397
+ organization: PropTypes.string.isRequired,
11398
+ item: T['io.flow.v0.models.item'].isRequired,
11259
11399
  });
11260
11400
 
11261
- T['io.flow.v0.models.address_field_validation'] = PropTypes.exact({
11262
- first_name: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11263
- last_name: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11264
- street_1: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11265
- street_2: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11266
- city: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11267
- province: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11268
- postal: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11269
- phone: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11270
- vat_registration_number: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11401
+ T['io.flow.v0.models.option_weight_estimates'] = PropTypes.exact({
11402
+ gravitational: T['io.flow.v0.models.measurement'].isRequired,
11403
+ dimensional: T['io.flow.v0.models.measurement'].isRequired,
11271
11404
  });
11272
11405
 
11273
- T['io.flow.v0.models.address_configuration'] = PropTypes.exact({
11274
- country: PropTypes.string.isRequired,
11275
- field_validation: T['io.flow.v0.models.address_field_validation'].isRequired,
11276
- provinces: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_province']).isRequired,
11277
- formats: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_format']),
11278
- province_type: T['io.flow.v0.enums.province_type'],
11279
- postal_type: T['io.flow.v0.enums.postal_type'],
11406
+ T['io.flow.v0.models.additional_handling_service_fee'] = PropTypes.exact({
11407
+ discriminator: PropTypes.oneOf(['additional_handling_service_fee']).isRequired,
11408
+ length_girth_threshold: PropTypes.number,
11409
+ length_threshold: PropTypes.number,
11410
+ width_threshold: PropTypes.number,
11411
+ dimensional_unit: T['io.flow.v0.enums.unit_of_measurement'],
11412
+ weight_threshold: PropTypes.number,
11413
+ weight_unit: T['io.flow.v0.enums.unit_of_measurement'],
11414
+ amount: T['io.flow.v0.models.money'].isRequired,
11280
11415
  });
11281
11416
 
11417
+ T['io.flow.v0.unions.service_fee'] = PropTypes.oneOfType([
11418
+ T['io.flow.v0.models.fuel_surcharge_service_fee'],
11419
+ T['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'],
11420
+ T['io.flow.v0.models.remote_area_service_fee'],
11421
+ T['io.flow.v0.models.emergency_situation_surcharge_service_fee'],
11422
+ T['io.flow.v0.models.peak_surcharge_service_fee'],
11423
+ T['io.flow.v0.models.peak_surcharge_by_weight_service_fee'],
11424
+ T['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'],
11425
+ T['io.flow.v0.models.oversize_piece_surcharge_service_fee'],
11426
+ T['io.flow.v0.models.remote_area_by_weight_service_fee'],
11427
+ T['io.flow.v0.models.additional_handling_service_fee'],
11428
+ T['io.flow.v0.models.large_package_service_fee'],
11429
+ T['io.flow.v0.models.security_service_fee'],
11430
+ T['io.flow.v0.models.fixed_ddp_service_fee'],
11431
+ T['io.flow.v0.models.fixed_currency_conversion_service_fee'],
11432
+ T['io.flow.v0.models.eei_filing_service_fee'],
11433
+ ]);
11434
+
11282
11435
  T['io.flow.v0.models.klarna_payment_category'] = PropTypes.exact({
11283
11436
  id: PropTypes.string.isRequired,
11284
11437
  name: PropTypes.string.isRequired,
@@ -14562,7 +14715,7 @@ T['io.flow.stripe.v0.enums.klarna_payment_method_category_type'] = PropTypes.one
14562
14715
  'pay_over_time',
14563
14716
  ]);
14564
14717
 
14565
- T['io.flow.stripe.v0.enums.payment_method_type'] = PropTypes.oneOf(['card', 'card_present']);
14718
+ T['io.flow.stripe.v0.enums.payment_method_type'] = PropTypes.oneOf(['card', 'card_present', 'klarna']);
14566
14719
 
14567
14720
  T['io.flow.stripe.v0.models.card_request'] = PropTypes.exact({
14568
14721
  object: PropTypes.string.isRequired,
@@ -14737,6 +14890,7 @@ export const actionUseSdkPaypal = T['io.flow.v0.models.action_use_sdk_paypal'];
14737
14890
  export const actionUseSdkStripeV3 = T['io.flow.v0.models.action_use_sdk_stripe_v3'];
14738
14891
  export const actionWait = T['io.flow.v0.models.action_wait'];
14739
14892
  export const activationPutForm = T['io.flow.v0.models.activation_put_form'];
14893
+ export const additionalHandlingServiceFee = T['io.flow.v0.models.additional_handling_service_fee'];
14740
14894
  export const additionalServicesRequested = T['io.flow.v0.models.additional_services_requested'];
14741
14895
  export const address = T['io.flow.v0.models.address'];
14742
14896
  export const addressConfiguration = T['io.flow.v0.models.address_configuration'];
@@ -15173,6 +15327,8 @@ export const ecommercePlatformForm = T['io.flow.v0.models.ecommerce_platform_for
15173
15327
  export const ecommercePlatformType = T['io.flow.v0.enums.ecommerce_platform_type'];
15174
15328
  export const ecommercePlatformUpserted = T['io.flow.v0.models.ecommerce_platform_upserted'];
15175
15329
  export const economicTitleLocation = T['io.flow.v0.enums.economic_title_location'];
15330
+ export const eeiFilingRatecardFee = T['io.flow.v0.models.eei_filing_ratecard_fee'];
15331
+ export const eeiFilingServiceFee = T['io.flow.v0.models.eei_filing_service_fee'];
15176
15332
  export const emailAbandonedOrderPromotion = T['io.flow.v0.models.email_abandoned_order_promotion'];
15177
15333
  export const emailAbandonedOrderUrls = T['io.flow.v0.models.email_abandoned_order_urls'];
15178
15334
  export const emailNotification = T['io.flow.v0.models.email_notification'];
@@ -15280,6 +15436,11 @@ export const fieldValidationPattern = T['io.flow.v0.models.field_validation_patt
15280
15436
  export const fieldValidationRequired = T['io.flow.v0.models.field_validation_required'];
15281
15437
  export const fieldValidationRequiredIfPresent = T['io.flow.v0.models.field_validation_required_if_present'];
15282
15438
  export const fieldValidationRule = T['io.flow.v0.unions.field_validation_rule'];
15439
+ export const fixedCurrencyConversionRatecardFee = T['io.flow.v0.models.fixed_currency_conversion_ratecard_fee'];
15440
+ export const fixedCurrencyConversionServiceFee = T['io.flow.v0.models.fixed_currency_conversion_service_fee'];
15441
+ export const fixedDdpRatecardFee = T['io.flow.v0.models.fixed_ddp_ratecard_fee'];
15442
+ export const fixedDdpServiceFee = T['io.flow.v0.models.fixed_ddp_service_fee'];
15443
+ export const fixedFeeCondition = T['io.flow.v0.models.fixed_fee_condition'];
15283
15444
  export const flatRate = T['io.flow.v0.models.flat_rate'];
15284
15445
  export const flatRateForm = T['io.flow.v0.models.flat_rate_form'];
15285
15446
  export const flowBehavior = T['io.flow.v0.enums.flow_behavior'];
@@ -15493,6 +15654,7 @@ export const lanePreselectPreference = T['io.flow.v0.enums.lane_preselect_prefer
15493
15654
  export const laneStrategy = T['io.flow.v0.enums.lane_strategy'];
15494
15655
  export const laneSummary = T['io.flow.v0.models.lane_summary'];
15495
15656
  export const language = T['io.flow.v0.models.language'];
15657
+ export const largePackageServiceFee = T['io.flow.v0.models.large_package_service_fee'];
15496
15658
  export const levyComponent = T['io.flow.v0.enums.levy_component'];
15497
15659
  export const levyInclusion = T['io.flow.v0.enums.levy_inclusion'];
15498
15660
  export const levyStrategy = T['io.flow.v0.enums.levy_strategy'];
@@ -15554,6 +15716,8 @@ export const merchantApplicationPutForm = T['io.flow.v0.unions.merchant_applicat
15554
15716
  export const merchantApplicationUpserted = T['io.flow.v0.models.merchant_application_upserted'];
15555
15717
  export const merchantApplicationsSummary = T['io.flow.v0.unions.merchant_applications_summary'];
15556
15718
  export const merchantDeactivated = T['io.flow.v0.models.merchant_deactivated'];
15719
+ export const merchantDisabled = T['io.flow.v0.models.merchant_disabled'];
15720
+ export const merchantDisabledReason = T['io.flow.v0.enums.merchant_disabled_reason'];
15557
15721
  export const merchantGiftCardBalance = T['io.flow.v0.models.merchant_gift_card_balance'];
15558
15722
  export const merchantGiftCardBalanceForm = T['io.flow.v0.models.merchant_gift_card_balance_form'];
15559
15723
  export const merchantGiftCardError = T['io.flow.v0.models.merchant_gift_card_error'];
@@ -16077,6 +16241,7 @@ export const regionReference = T['io.flow.v0.models.region_reference'];
16077
16241
  export const regionSetting = T['io.flow.v0.models.region_setting'];
16078
16242
  export const regionSettingForm = T['io.flow.v0.models.region_setting_form'];
16079
16243
  export const regionType = T['io.flow.v0.enums.region_type'];
16244
+ export const remoteAreaByWeightServiceFee = T['io.flow.v0.models.remote_area_by_weight_service_fee'];
16080
16245
  export const remoteAreaRatecardFee = T['io.flow.v0.models.remote_area_ratecard_fee'];
16081
16246
  export const remoteAreaServiceFee = T['io.flow.v0.models.remote_area_service_fee'];
16082
16247
  export const repeatDaily = T['io.flow.v0.models.repeat_daily'];
@@ -16142,6 +16307,8 @@ export const scheduledExport = T['io.flow.v0.models.scheduled_export'];
16142
16307
  export const scheduledExportForm = T['io.flow.v0.models.scheduled_export_form'];
16143
16308
  export const scheduledPickup = T['io.flow.v0.models.scheduled_pickup'];
16144
16309
  export const sdkAdyenV3AuthenticationToken = T['io.flow.v0.unions.sdk_adyen_v3_authentication_token'];
16310
+ export const securityRatecardFee = T['io.flow.v0.models.security_ratecard_fee'];
16311
+ export const securityServiceFee = T['io.flow.v0.models.security_service_fee'];
16145
16312
  export const selectIssuerOptionActionDetails = T['io.flow.v0.models.select_issuer_option_action_details'];
16146
16313
  export const serviceDescription = T['io.flow.v0.unions.service_description'];
16147
16314
  export const serviceFee = T['io.flow.v0.unions.service_fee'];