@flowio/api-prop-types 10.16.70 → 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
  });
@@ -6978,6 +6949,7 @@ T['io.flow.v0.models.transaction_metadata_carrier_charge'] = PropTypes.exact({
6978
6949
  label_created_at: PropTypes.string.isRequired,
6979
6950
  carrier_id: PropTypes.string.isRequired,
6980
6951
  carrier_tracking_number: PropTypes.string.isRequired,
6952
+ revenue_share_percentage: PropTypes.number.isRequired,
6981
6953
  outbound: T['io.flow.v0.models.transaction_metadata_carrier_charge_outbound'],
6982
6954
  });
6983
6955
 
@@ -7020,9 +6992,10 @@ T['io.flow.v0.enums.transaction_source'] = PropTypes.oneOf([
7020
6992
  'reversal',
7021
6993
  'shipping_label',
7022
6994
  'shipping_label_service',
6995
+ 'shipping_label_revenue_share',
7023
6996
  'trueup',
7024
6997
  'carrier_charge',
7025
- 'shipping_label_revenue_share',
6998
+ 'carrier_charge_revenue_share',
7026
6999
  'platform_fee',
7027
7000
  'tax',
7028
7001
  'duty',
@@ -7046,6 +7019,10 @@ T['io.flow.v0.models.billing_channel_payment_request_reference'] = PropTypes.exa
7046
7019
  reference: PropTypes.string,
7047
7020
  });
7048
7021
 
7022
+ T['io.flow.v0.models.account_id_reference'] = PropTypes.exact({
7023
+ id: PropTypes.string.isRequired,
7024
+ });
7025
+
7049
7026
  T['io.flow.v0.models.billing_channel_statement_reference'] = PropTypes.exact({
7050
7027
  id: PropTypes.string.isRequired,
7051
7028
  });
@@ -7955,67 +7932,6 @@ T['io.flow.v0.models.center_reference'] = PropTypes.exact({
7955
7932
  center_key: PropTypes.string.isRequired,
7956
7933
  });
7957
7934
 
7958
- T['io.flow.v0.models.dimension'] = PropTypes.exact({
7959
- depth: T['io.flow.v0.models.measurement'],
7960
- diameter: T['io.flow.v0.models.measurement'],
7961
- length: T['io.flow.v0.models.measurement'],
7962
- weight: T['io.flow.v0.models.measurement'],
7963
- width: T['io.flow.v0.models.measurement'],
7964
- });
7965
-
7966
- T['io.flow.v0.models.single_package_shipping_notification_form'] = PropTypes.exact({
7967
- discriminator: PropTypes.oneOf(['single_package_shipping_notification_form']).isRequired,
7968
- fulfillment_key: PropTypes.string.isRequired,
7969
- carrier_tracking_number: PropTypes.string.isRequired,
7970
- package_dimensions: T['io.flow.v0.models.dimension'],
7971
- service: PropTypes.string,
7972
- shipment_recipient: T['io.flow.v0.enums.shipment_recipient'],
7973
- });
7974
-
7975
- T['io.flow.v0.models.package_dimensions_form'] = PropTypes.exact({
7976
- dimensions: PropTypes.arrayOf(T['io.flow.v0.models.dimension']).isRequired,
7977
- });
7978
-
7979
- T['io.flow.v0.models.package_dimensions'] = PropTypes.exact({
7980
- dimensions: PropTypes.arrayOf(T['io.flow.v0.models.dimension']).isRequired,
7981
- });
7982
-
7983
- T['io.flow.v0.models.dimensions'] = PropTypes.exact({
7984
- product: T['io.flow.v0.models.dimension'],
7985
- packaging: T['io.flow.v0.models.dimension'],
7986
- });
7987
-
7988
- T['io.flow.v0.models.item_form_overlay_form'] = PropTypes.exact({
7989
- number: PropTypes.string.isRequired,
7990
- price: PropTypes.number,
7991
- currency: PropTypes.string,
7992
- position: PropTypes.number,
7993
- categories: PropTypes.arrayOf(PropTypes.string),
7994
- description: PropTypes.string,
7995
- attributes: PropTypes.objectOf(PropTypes.string),
7996
- dimensions: T['io.flow.v0.models.dimensions'],
7997
- images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
7998
- });
7999
-
8000
- T['io.flow.v0.models.item_form'] = PropTypes.exact({
8001
- number: PropTypes.string.isRequired,
8002
- locale: PropTypes.string.isRequired,
8003
- name: PropTypes.string.isRequired,
8004
- currency: PropTypes.string.isRequired,
8005
- price: PropTypes.number.isRequired,
8006
- categories: PropTypes.arrayOf(PropTypes.string),
8007
- description: PropTypes.string,
8008
- attributes: PropTypes.objectOf(PropTypes.string),
8009
- dimensions: T['io.flow.v0.models.dimensions'],
8010
- images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
8011
- });
8012
-
8013
- T['io.flow.v0.models.packaging'] = PropTypes.exact({
8014
- dimensions: T['io.flow.v0.models.dimensions'].isRequired,
8015
- name: PropTypes.string,
8016
- number: PropTypes.string,
8017
- });
8018
-
8019
7935
  T['io.flow.v0.models.datetime_range'] = PropTypes.exact({
8020
7936
  from: PropTypes.string.isRequired,
8021
7937
  to: PropTypes.string.isRequired,
@@ -8130,6 +8046,7 @@ T['io.flow.v0.models.billing_channel_order_summary'] = PropTypes.exact({
8130
8046
 
8131
8047
  T['io.flow.v0.models.payout_transaction'] = PropTypes.exact({
8132
8048
  id: PropTypes.string.isRequired,
8049
+ account: T['io.flow.v0.models.account_id_reference'].isRequired,
8133
8050
  metadata: T['io.flow.v0.unions.transaction_metadata'],
8134
8051
  order: T['io.flow.v0.models.billing_channel_order_summary'],
8135
8052
  payment_request: T['io.flow.v0.models.billing_channel_payment_request_reference'],
@@ -8149,6 +8066,7 @@ T['io.flow.v0.models.payout_transaction'] = PropTypes.exact({
8149
8066
  T['io.flow.v0.models.transaction'] = PropTypes.exact({
8150
8067
  statement: T['io.flow.v0.models.billing_channel_statement_reference'],
8151
8068
  id: PropTypes.string.isRequired,
8069
+ account: T['io.flow.v0.models.account_id_reference'].isRequired,
8152
8070
  metadata: T['io.flow.v0.unions.transaction_metadata'],
8153
8071
  order: T['io.flow.v0.models.billing_channel_order_summary'],
8154
8072
  payment_request: T['io.flow.v0.models.billing_channel_payment_request_reference'],
@@ -8181,9 +8099,10 @@ T['io.flow.v0.models.organization_transaction_upserted'] = PropTypes.exact({
8181
8099
  transaction: T['io.flow.v0.models.transaction'].isRequired,
8182
8100
  });
8183
8101
 
8184
- T['io.flow.v0.models.channel_transaction'] = PropTypes.exact({
8102
+ T['io.flow.v0.models.flow_transaction'] = PropTypes.exact({
8185
8103
  statement: T['io.flow.v0.models.billing_channel_statement_reference'],
8186
8104
  id: PropTypes.string.isRequired,
8105
+ account: T['io.flow.v0.models.account_id_reference'].isRequired,
8187
8106
  metadata: T['io.flow.v0.unions.transaction_metadata'],
8188
8107
  order: T['io.flow.v0.models.billing_channel_order_summary'],
8189
8108
  payment_request: T['io.flow.v0.models.billing_channel_payment_request_reference'],
@@ -8200,10 +8119,30 @@ T['io.flow.v0.models.channel_transaction'] = PropTypes.exact({
8200
8119
  updated_at: PropTypes.string.isRequired,
8201
8120
  });
8202
8121
 
8203
- T['io.flow.v0.models.channel_transaction_upserted'] = PropTypes.exact({
8204
- discriminator: PropTypes.oneOf(['channel_transaction_upserted']).isRequired,
8205
- event_id: PropTypes.string.isRequired,
8206
- timestamp: PropTypes.string.isRequired,
8122
+ T['io.flow.v0.models.channel_transaction'] = PropTypes.exact({
8123
+ statement: T['io.flow.v0.models.billing_channel_statement_reference'],
8124
+ id: PropTypes.string.isRequired,
8125
+ account: T['io.flow.v0.models.account_id_reference'].isRequired,
8126
+ metadata: T['io.flow.v0.unions.transaction_metadata'],
8127
+ order: T['io.flow.v0.models.billing_channel_order_summary'],
8128
+ payment_request: T['io.flow.v0.models.billing_channel_payment_request_reference'],
8129
+ currency: PropTypes.string.isRequired,
8130
+ source: T['io.flow.v0.enums.transaction_source'].isRequired,
8131
+ parent: T['io.flow.v0.models.parent_transaction_summary'],
8132
+ gross: PropTypes.number.isRequired,
8133
+ fees: PropTypes.arrayOf(T['io.flow.v0.models.fee_deduction']).isRequired,
8134
+ withholdings: PropTypes.arrayOf(T['io.flow.v0.models.withholding_deduction']).isRequired,
8135
+ discounts: PropTypes.arrayOf(T['io.flow.v0.models.billing_discount']).isRequired,
8136
+ net: PropTypes.number.isRequired,
8137
+ identifiers: PropTypes.objectOf(PropTypes.string).isRequired,
8138
+ created_at: PropTypes.string.isRequired,
8139
+ updated_at: PropTypes.string.isRequired,
8140
+ });
8141
+
8142
+ T['io.flow.v0.models.channel_transaction_upserted'] = PropTypes.exact({
8143
+ discriminator: PropTypes.oneOf(['channel_transaction_upserted']).isRequired,
8144
+ event_id: PropTypes.string.isRequired,
8145
+ timestamp: PropTypes.string.isRequired,
8207
8146
  channel_id: PropTypes.string.isRequired,
8208
8147
  channel_transaction: T['io.flow.v0.models.channel_transaction'].isRequired,
8209
8148
  });
@@ -8223,6 +8162,7 @@ T['io.flow.v0.enums.flow_role'] = PropTypes.oneOf([
8223
8162
  'organization_fulfillment',
8224
8163
  'organization_marketing',
8225
8164
  'organization_finance',
8165
+ 'organization_classification',
8226
8166
  'flow_operations',
8227
8167
  'channel_admin',
8228
8168
  'channel_organization_admin',
@@ -9157,13 +9097,6 @@ T['io.flow.v0.models.exclusion_rule_version'] = PropTypes.exact({
9157
9097
  exclusion_rule: T['io.flow.v0.models.exclusion_rule'].isRequired,
9158
9098
  });
9159
9099
 
9160
- T['io.flow.v0.models.dimension_estimate_version'] = PropTypes.exact({
9161
- id: PropTypes.string.isRequired,
9162
- timestamp: PropTypes.string.isRequired,
9163
- type: T['io.flow.v0.enums.change_type'].isRequired,
9164
- dimension_estimate: T['io.flow.v0.models.dimension_estimate'].isRequired,
9165
- });
9166
-
9167
9100
  T['io.flow.v0.models.catalog_version'] = PropTypes.exact({
9168
9101
  id: PropTypes.string.isRequired,
9169
9102
  timestamp: PropTypes.string.isRequired,
@@ -9307,1209 +9240,1627 @@ T['io.flow.v0.enums.order_price_detail_key'] = PropTypes.oneOf([
9307
9240
  'tip',
9308
9241
  ]);
9309
9242
 
9310
- T['io.flow.v0.models.money'] = PropTypes.exact({
9243
+ T['io.flow.v0.enums.price_accuracy'] = PropTypes.oneOf(['calculated', 'estimated_from_partial_destination']);
9244
+
9245
+ T['io.flow.v0.models.price'] = PropTypes.exact({
9311
9246
  amount: PropTypes.number.isRequired,
9312
9247
  currency: PropTypes.string.isRequired,
9248
+ label: PropTypes.string.isRequired,
9313
9249
  });
9314
9250
 
9315
- T['io.flow.v0.models.virtual_card_form'] = PropTypes.exact({
9316
- limit: T['io.flow.v0.models.money'].isRequired,
9317
- attributes: PropTypes.objectOf(PropTypes.string),
9318
- });
9319
-
9320
- T['io.flow.v0.models.tracking_label_form'] = PropTypes.exact({
9321
- tracking_id: PropTypes.string.isRequired,
9322
- status: T['io.flow.v0.enums.tracking_status'].isRequired,
9323
- carrier: PropTypes.string.isRequired,
9324
- service_id: PropTypes.string,
9325
- carrier_tracking_number: PropTypes.string.isRequired,
9326
- delivery_estimate: PropTypes.string,
9327
- description: PropTypes.string,
9328
- timestamp: PropTypes.string,
9329
- cost: T['io.flow.v0.models.money'],
9330
- ratecard_owner: T['io.flow.v0.enums.ratecard_owner'],
9331
- });
9332
-
9333
- T['io.flow.v0.models.shipping_label_hop_summary'] = PropTypes.exact({
9334
- lane: T['io.flow.v0.models.shipping_label_lane_summary'].isRequired,
9335
- cost: T['io.flow.v0.models.money'].isRequired,
9336
- itemized_estimate: T['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'],
9337
- });
9338
-
9339
- T['io.flow.v0.models.reversal'] = PropTypes.exact({
9251
+ T['io.flow.v0.models.virtual_card'] = PropTypes.exact({
9340
9252
  id: PropTypes.string.isRequired,
9341
9253
  key: PropTypes.string.isRequired,
9342
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
9343
- status: T['io.flow.v0.enums.reversal_status'].isRequired,
9344
- amount: PropTypes.number.isRequired,
9345
- currency: PropTypes.string.isRequired,
9346
- requested: T['io.flow.v0.models.money'].isRequired,
9347
- created_at: PropTypes.string.isRequired,
9348
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
9349
- 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),
9350
9263
  });
9351
9264
 
9352
- T['io.flow.v0.models.reversal_version'] = PropTypes.exact({
9265
+ T['io.flow.v0.models.virtual_card_version'] = PropTypes.exact({
9353
9266
  id: PropTypes.string.isRequired,
9354
9267
  timestamp: PropTypes.string.isRequired,
9355
9268
  type: T['io.flow.v0.enums.change_type'].isRequired,
9356
- reversal: T['io.flow.v0.models.reversal'].isRequired,
9269
+ virtual_card: T['io.flow.v0.models.virtual_card'].isRequired,
9357
9270
  });
9358
9271
 
9359
- T['io.flow.v0.models.reversal_upserted'] = PropTypes.exact({
9360
- discriminator: PropTypes.oneOf(['reversal_upserted']).isRequired,
9361
- event_id: PropTypes.string.isRequired,
9362
- timestamp: PropTypes.string.isRequired,
9363
- organization: PropTypes.string.isRequired,
9272
+ T['io.flow.v0.models.price_book_item'] = PropTypes.exact({
9364
9273
  id: PropTypes.string.isRequired,
9365
- 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),
9366
9280
  });
9367
9281
 
9368
- T['io.flow.v0.models.reversal_deleted'] = PropTypes.exact({
9369
- 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,
9370
9284
  event_id: PropTypes.string.isRequired,
9371
9285
  timestamp: PropTypes.string.isRequired,
9372
9286
  organization: PropTypes.string.isRequired,
9373
- reversal: T['io.flow.v0.models.reversal'].isRequired,
9287
+ price_book_item: T['io.flow.v0.models.price_book_item'].isRequired,
9374
9288
  });
9375
9289
 
9376
- T['io.flow.v0.models.remote_area_service_fee'] = PropTypes.exact({
9377
- discriminator: PropTypes.oneOf(['remote_area_service_fee']).isRequired,
9378
- 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,
9379
9294
  });
9380
9295
 
9381
- T['io.flow.v0.models.remote_area_ratecard_fee'] = PropTypes.exact({
9382
- discriminator: PropTypes.oneOf(['remote_area_ratecard_fee']).isRequired,
9383
- 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,
9384
9301
  });
9385
9302
 
9386
- T['io.flow.v0.models.price_source_provided'] = PropTypes.exact({
9387
- discriminator: PropTypes.oneOf(['provided']).isRequired,
9388
- 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,
9389
9314
  });
9390
9315
 
9391
- T['io.flow.v0.models.price_source_price_book'] = PropTypes.exact({
9392
- discriminator: PropTypes.oneOf(['price_book']).isRequired,
9393
- price: T['io.flow.v0.models.money'].isRequired,
9394
- includes: T['io.flow.v0.models.included_levies'].isRequired,
9395
- 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),
9396
9326
  });
9397
9327
 
9398
- T['io.flow.v0.models.price_source_catalog'] = PropTypes.exact({
9399
- discriminator: PropTypes.oneOf(['catalog']).isRequired,
9400
- 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),
9401
9342
  });
9402
9343
 
9403
- T['io.flow.v0.unions.price_source'] = PropTypes.oneOfType([
9404
- T['io.flow.v0.models.price_source_price_book'],
9405
- T['io.flow.v0.models.price_source_catalog'],
9406
- T['io.flow.v0.models.price_source_provided'],
9407
- ]);
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,
9356
+ });
9408
9357
 
9409
- T['io.flow.v0.models.peak_surcharge_service_fee'] = PropTypes.exact({
9410
- discriminator: PropTypes.oneOf(['peak_surcharge_service_fee']).isRequired,
9411
- amount: T['io.flow.v0.models.money'].isRequired,
9412
- starts_at: PropTypes.string,
9413
- 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,
9414
9361
  });
9415
9362
 
9416
- T['io.flow.v0.models.peak_surcharge_ratecard_fee'] = PropTypes.exact({
9417
- discriminator: PropTypes.oneOf(['peak_surcharge_ratecard_fee']).isRequired,
9418
- amount: T['io.flow.v0.models.money'].isRequired,
9419
- starts_at: PropTypes.string,
9420
- 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,
9421
9370
  });
9422
9371
 
9423
- T['io.flow.v0.models.peak_surcharge_by_weight_service_fee'] = PropTypes.exact({
9424
- discriminator: PropTypes.oneOf(['peak_surcharge_by_weight_service_fee']).isRequired,
9425
- amount: T['io.flow.v0.models.money'].isRequired,
9426
- weight: T['io.flow.v0.models.fee_weight'].isRequired,
9427
- regions: PropTypes.arrayOf(PropTypes.string),
9428
- starts_at: PropTypes.string,
9429
- ends_at: PropTypes.string,
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,
9430
9375
  });
9431
9376
 
9432
- T['io.flow.v0.models.oversize_piece_surcharge_service_fee'] = PropTypes.exact({
9433
- discriminator: PropTypes.oneOf(['oversize_piece_surcharge_service_fee']).isRequired,
9434
- dimensional_threshold: PropTypes.number,
9435
- dimensional_unit: T['io.flow.v0.enums.unit_of_measurement'],
9436
- weight_threshold: PropTypes.number,
9437
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'],
9438
- 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'],
9439
9383
  });
9440
9384
 
9441
- T['io.flow.v0.models.oversize_piece_surcharge_ratecard_fee'] = PropTypes.exact({
9442
- discriminator: PropTypes.oneOf(['oversize_piece_surcharge_ratecard_fee']).isRequired,
9443
- dimensional_threshold: PropTypes.number,
9444
- dimensional_unit: T['io.flow.v0.enums.unit_of_measurement'],
9445
- weight_threshold: PropTypes.number,
9446
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'],
9447
- 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'],
9448
9395
  });
9449
9396
 
9450
- T['io.flow.v0.models.outbound_carton_fee'] = PropTypes.exact({
9451
- discriminator: PropTypes.oneOf(['outbound_carton_fee']).isRequired,
9452
- 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'],
9453
9402
  });
9454
9403
 
9455
- T['io.flow.v0.models.inbound_carton_fee'] = PropTypes.exact({
9456
- discriminator: PropTypes.oneOf(['inbound_carton_fee']).isRequired,
9457
- amount: T['io.flow.v0.models.money'].isRequired,
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,
9458
9407
  });
9459
9408
 
9460
- T['io.flow.v0.models.line_item'] = PropTypes.exact({
9461
- number: PropTypes.string.isRequired,
9462
- quantity: PropTypes.number.isRequired,
9463
- price: T['io.flow.v0.models.money'].isRequired,
9464
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
9465
- center: PropTypes.string,
9466
- discount: T['io.flow.v0.models.money'],
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'],
9467
9412
  });
9468
9413
 
9469
- T['io.flow.v0.models.fuel_surcharge_ratecard_fee'] = PropTypes.exact({
9470
- discriminator: PropTypes.oneOf(['fuel_surcharge_ratecard_fee']).isRequired,
9471
- amount: T['io.flow.v0.models.money'].isRequired,
9472
- fuel_surcharge_rate: T['io.flow.v0.unions.fuel_surcharge_rate'],
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,
9473
9418
  });
9474
9419
 
9475
- T['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'] = PropTypes.exact({
9476
- discriminator: PropTypes.oneOf(['fuel_surcharge_amount_by_weight_service_fee']).isRequired,
9477
- amount: T['io.flow.v0.models.money'].isRequired,
9478
- weight: T['io.flow.v0.models.fee_weight'].isRequired,
9479
- regions: PropTypes.arrayOf(PropTypes.string),
9480
- starts_at: PropTypes.string,
9481
- ends_at: PropTypes.string,
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'],
9482
9424
  });
9483
9425
 
9484
- T['io.flow.v0.models.flat_rate_form'] = PropTypes.exact({
9485
- discriminator: PropTypes.oneOf(['flat_rate_form']).isRequired,
9486
- price: 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,
9487
9429
  zero_amount_indicator: T['io.flow.v0.enums.zero_amount_indicator'],
9488
9430
  });
9489
9431
 
9490
- T['io.flow.v0.models.emergency_situation_surcharge_service_fee'] = PropTypes.exact({
9491
- discriminator: PropTypes.oneOf(['emergency_situation_surcharge_service_fee']).isRequired,
9492
- amount: T['io.flow.v0.models.money'].isRequired,
9493
- origin_region: T['io.flow.v0.models.ratecard_region_reference'],
9494
- destination_region: T['io.flow.v0.models.ratecard_region_reference'],
9495
- interval_unit: T['io.flow.v0.enums.unit_of_measurement'],
9496
- });
9497
-
9498
- T['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'] = PropTypes.exact({
9499
- discriminator: PropTypes.oneOf(['emergency_situation_surcharge_ratecard_fee']).isRequired,
9500
- amount: T['io.flow.v0.models.money'].isRequired,
9501
- });
9502
-
9503
- T['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'] = PropTypes.exact({
9504
- discriminator: PropTypes.oneOf(['duties_taxes_paid_surcharge_service_fee']).isRequired,
9505
- amount: T['io.flow.v0.models.money'].isRequired,
9506
- starts_at: PropTypes.string,
9507
- ends_at: PropTypes.string,
9508
- });
9509
-
9510
- T['io.flow.v0.unions.service_fee'] = PropTypes.oneOfType([
9511
- T['io.flow.v0.models.fuel_surcharge_service_fee'],
9512
- T['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'],
9513
- T['io.flow.v0.models.remote_area_service_fee'],
9514
- T['io.flow.v0.models.emergency_situation_surcharge_service_fee'],
9515
- T['io.flow.v0.models.peak_surcharge_service_fee'],
9516
- T['io.flow.v0.models.peak_surcharge_by_weight_service_fee'],
9517
- T['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'],
9518
- T['io.flow.v0.models.oversize_piece_surcharge_service_fee'],
9519
- ]);
9520
-
9521
- T['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'] = PropTypes.exact({
9522
- discriminator: PropTypes.oneOf(['duties_taxes_paid_surcharge_ratecard_fee']).isRequired,
9523
- amount: T['io.flow.v0.models.money'].isRequired,
9524
- starts_at: PropTypes.string,
9525
- ends_at: PropTypes.string,
9526
- });
9527
-
9528
- T['io.flow.v0.models.discount_offer_fixed'] = PropTypes.exact({
9529
- discriminator: PropTypes.oneOf(['discount_offer_fixed']).isRequired,
9530
- money: T['io.flow.v0.models.money'].isRequired,
9531
- });
9532
-
9533
- 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,
9534
9434
  currency: PropTypes.string.isRequired,
9535
9435
  amount: PropTypes.number.isRequired,
9536
- 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'],
9537
9439
  });
9538
9440
 
9539
- T['io.flow.v0.models.delivery_item'] = PropTypes.exact({
9540
- id: PropTypes.string,
9541
- number: PropTypes.string.isRequired,
9542
- quantity: PropTypes.number.isRequired,
9543
- shipment_estimate: T['io.flow.v0.models.datetime_range'],
9544
- price: T['io.flow.v0.models.money_with_optional_base'],
9545
- attributes: PropTypes.objectOf(PropTypes.string),
9546
- center: PropTypes.string,
9547
- 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,
9548
9443
  });
9549
9444
 
9550
- T['io.flow.v0.models.crossdock_ratecard_fee'] = PropTypes.exact({
9551
- discriminator: PropTypes.oneOf(['crossdock_ratecard_fee']).isRequired,
9552
- 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,
9553
9447
  });
9554
9448
 
9555
- T['io.flow.v0.unions.ratecard_fee'] = PropTypes.oneOfType([
9556
- T['io.flow.v0.models.ddp_ratecard_fee'],
9557
- T['io.flow.v0.models.fuel_surcharge_ratecard_fee'],
9558
- T['io.flow.v0.models.oversize_piece_surcharge_ratecard_fee'],
9559
- T['io.flow.v0.models.return_package_ratecard_fee'],
9560
- T['io.flow.v0.models.crossdock_ratecard_fee'],
9561
- T['io.flow.v0.models.remote_area_ratecard_fee'],
9562
- T['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'],
9563
- T['io.flow.v0.models.peak_surcharge_ratecard_fee'],
9564
- T['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'],
9565
- ]);
9566
-
9567
- T['io.flow.v0.models.ratecard_lane_form'] = PropTypes.exact({
9568
- ratecard_id: PropTypes.string.isRequired,
9569
- currency: PropTypes.string.isRequired,
9570
- destination: T['io.flow.v0.models.zone'].isRequired,
9571
- shipment_window: T['io.flow.v0.models.shipment_window'].isRequired,
9572
- delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
9573
- dim_factor: PropTypes.number.isRequired,
9574
- fees: PropTypes.arrayOf(T['io.flow.v0.unions.ratecard_fee']).isRequired,
9575
- origin: T['io.flow.v0.models.zone'].isRequired,
9576
- rounding: T['io.flow.v0.models.rounding'].isRequired,
9577
- rates: PropTypes.arrayOf(T['io.flow.v0.models.ratecard_rate_form']).isRequired,
9578
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
9579
- 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'],
9580
9452
  });
9581
9453
 
9582
- T['io.flow.v0.models.ratecard_lane'] = PropTypes.exact({
9454
+ T['io.flow.v0.models.delivery_option_summary'] = PropTypes.exact({
9583
9455
  id: PropTypes.string.isRequired,
9584
- ratecard: T['io.flow.v0.models.ratecard_summary'].isRequired,
9585
- currency: PropTypes.string.isRequired,
9456
+ cost: T['io.flow.v0.models.price'].isRequired,
9586
9457
  delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
9587
- shipment_window: T['io.flow.v0.models.shipment_window'].isRequired,
9588
- destination: T['io.flow.v0.models.zone'].isRequired,
9589
- dim_factor: PropTypes.number.isRequired,
9590
- fees: PropTypes.arrayOf(T['io.flow.v0.unions.ratecard_fee']).isRequired,
9591
- origin: T['io.flow.v0.models.zone'].isRequired,
9592
- service: T['io.flow.v0.models.ratecard_service_summary'].isRequired,
9593
- rates: PropTypes.arrayOf(T['io.flow.v0.models.ratecard_rate']).isRequired,
9594
- rounding: T['io.flow.v0.models.rounding'].isRequired,
9595
- weight_unit: T['io.flow.v0.enums.unit_of_measurement'].isRequired,
9596
- 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,
9597
9462
  });
9598
9463
 
9599
- T['io.flow.v0.models.ratecard_lane_version'] = PropTypes.exact({
9464
+ T['io.flow.v0.models.delivery_option_version'] = PropTypes.exact({
9600
9465
  id: PropTypes.string.isRequired,
9601
9466
  timestamp: PropTypes.string.isRequired,
9602
9467
  type: T['io.flow.v0.enums.change_type'].isRequired,
9603
- ratecard_lane: T['io.flow.v0.models.ratecard_lane'].isRequired,
9604
- });
9605
-
9606
- T['io.flow.v0.models.ratecard_lane_upserted'] = PropTypes.exact({
9607
- discriminator: PropTypes.oneOf(['ratecard_lane_upserted']).isRequired,
9608
- event_id: PropTypes.string.isRequired,
9609
- timestamp: PropTypes.string.isRequired,
9610
- organization: PropTypes.string.isRequired,
9611
- ratecard_lane: T['io.flow.v0.models.ratecard_lane'].isRequired,
9468
+ delivery_option: T['io.flow.v0.models.delivery_option_summary'].isRequired,
9612
9469
  });
9613
9470
 
9614
- T['io.flow.v0.models.commercial_invoice_fee'] = PropTypes.exact({
9615
- discriminator: PropTypes.oneOf(['commercial_invoice_fee']).isRequired,
9616
- 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'],
9617
9477
  });
9618
9478
 
9619
- T['io.flow.v0.unions.partner_center_fee'] = PropTypes.oneOfType([
9620
- T['io.flow.v0.models.commercial_invoice_fee'],
9621
- T['io.flow.v0.models.inbound_carton_fee'],
9622
- T['io.flow.v0.models.outbound_carton_fee'],
9623
- ]);
9624
-
9625
- T['io.flow.v0.models.partner_center_form'] = PropTypes.exact({
9626
- partner_id: PropTypes.string.isRequired,
9627
- number: PropTypes.string,
9628
- 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,
9629
9487
  });
9630
9488
 
9631
- T['io.flow.v0.models.partner_center'] = PropTypes.exact({
9632
- partner_reference: T['io.flow.v0.models.partner_reference'].isRequired,
9633
- number: PropTypes.string,
9634
- 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']),
9635
9495
  });
9636
9496
 
9637
- T['io.flow.v0.models.capture'] = PropTypes.exact({
9638
- id: PropTypes.string.isRequired,
9639
- key: PropTypes.string.isRequired,
9640
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
9641
- amount: PropTypes.number.isRequired,
9642
- currency: PropTypes.string.isRequired,
9643
- requested: T['io.flow.v0.models.money'],
9644
- created_at: PropTypes.string.isRequired,
9645
- attributes: PropTypes.objectOf(PropTypes.string),
9646
- status: T['io.flow.v0.enums.capture_status'],
9647
- 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,
9648
9500
  });
9649
9501
 
9650
- T['io.flow.v0.models.refund_capture_summary'] = PropTypes.exact({
9651
- capture: T['io.flow.v0.models.capture'].isRequired,
9652
- 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'],
9653
9505
  });
9654
9506
 
9655
- T['io.flow.v0.models.refund'] = PropTypes.exact({
9656
- id: PropTypes.string.isRequired,
9657
- key: PropTypes.string.isRequired,
9658
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
9659
- amount: PropTypes.number.isRequired,
9660
- currency: PropTypes.string.isRequired,
9661
- requested: T['io.flow.v0.models.money'],
9662
- captures: PropTypes.arrayOf(T['io.flow.v0.models.refund_capture_summary']).isRequired,
9663
- created_at: PropTypes.string.isRequired,
9664
- attributes: PropTypes.objectOf(PropTypes.string),
9665
- status: T['io.flow.v0.enums.refund_status'],
9666
- 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,
9667
9510
  });
9668
9511
 
9669
- T['io.flow.v0.models.refund_version'] = PropTypes.exact({
9512
+ T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'] = PropTypes.exact({
9670
9513
  id: PropTypes.string.isRequired,
9671
- timestamp: PropTypes.string.isRequired,
9672
- type: T['io.flow.v0.enums.change_type'].isRequired,
9673
- 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,
9674
9517
  });
9675
9518
 
9676
- T['io.flow.v0.models.refund_upserted_v2'] = PropTypes.exact({
9677
- 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,
9678
9521
  event_id: PropTypes.string.isRequired,
9679
9522
  timestamp: PropTypes.string.isRequired,
9680
- organization: PropTypes.string.isRequired,
9681
- id: PropTypes.string.isRequired,
9682
- 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,
9683
9525
  });
9684
9526
 
9685
- T['io.flow.v0.models.refund_deleted_v2'] = PropTypes.exact({
9686
- 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,
9687
9529
  event_id: PropTypes.string.isRequired,
9688
9530
  timestamp: PropTypes.string.isRequired,
9689
- organization: PropTypes.string.isRequired,
9690
- 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,
9691
9533
  });
9692
9534
 
9693
- T['io.flow.v0.models.refund_capture'] = PropTypes.exact({
9694
- id: PropTypes.string.isRequired,
9695
- refund: T['io.flow.v0.models.refund'].isRequired,
9696
- capture: T['io.flow.v0.models.capture'].isRequired,
9697
- amount: PropTypes.number.isRequired,
9698
- currency: PropTypes.string.isRequired,
9699
- base: T['io.flow.v0.models.money'].isRequired,
9700
- 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,
9701
9538
  });
9702
9539
 
9703
- T['io.flow.v0.models.refund_capture_upserted_v2'] = PropTypes.exact({
9704
- discriminator: PropTypes.oneOf(['refund_capture_upserted_v2']).isRequired,
9705
- event_id: PropTypes.string.isRequired,
9706
- timestamp: PropTypes.string.isRequired,
9707
- organization: PropTypes.string.isRequired,
9708
- id: PropTypes.string.isRequired,
9709
- 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,
9710
9543
  });
9711
9544
 
9712
- T['io.flow.v0.models.email_payment_summary'] = PropTypes.exact({
9713
- 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'],
9714
9551
  });
9715
9552
 
9716
- T['io.flow.v0.models.capture_version'] = PropTypes.exact({
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'],
9562
+ });
9563
+
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({
9717
9571
  id: PropTypes.string.isRequired,
9718
- timestamp: PropTypes.string.isRequired,
9719
- type: T['io.flow.v0.enums.change_type'].isRequired,
9720
- capture: T['io.flow.v0.models.capture'].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,
9721
9583
  });
9722
9584
 
9723
- T['io.flow.v0.models.capture_upserted_v2'] = PropTypes.exact({
9724
- discriminator: PropTypes.oneOf(['capture_upserted_v2']).isRequired,
9585
+ T['io.flow.v0.models.b2b_credit_memo_upserted'] = PropTypes.exact({
9586
+ discriminator: PropTypes.oneOf(['b2b_credit_memo_upserted']).isRequired,
9725
9587
  event_id: PropTypes.string.isRequired,
9726
9588
  timestamp: PropTypes.string.isRequired,
9727
9589
  organization: PropTypes.string.isRequired,
9728
- id: PropTypes.string.isRequired,
9729
- capture: T['io.flow.v0.models.capture'].isRequired,
9590
+ b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
9730
9591
  });
9731
9592
 
9732
- T['io.flow.v0.models.capture_deleted'] = PropTypes.exact({
9733
- 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,
9734
9595
  event_id: PropTypes.string.isRequired,
9735
9596
  timestamp: PropTypes.string.isRequired,
9736
9597
  organization: PropTypes.string.isRequired,
9737
- capture: T['io.flow.v0.models.capture'].isRequired,
9598
+ b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
9738
9599
  });
9739
9600
 
9740
- T['io.flow.v0.models.amount_margin_form'] = PropTypes.exact({
9741
- discriminator: PropTypes.oneOf(['amount_margin_form']).isRequired,
9742
- 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,
9743
9609
  });
9744
9610
 
9745
- T['io.flow.v0.unions.tier_rule_outcome_form'] = PropTypes.oneOfType([
9746
- T['io.flow.v0.models.amount_margin_form'],
9747
- 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'],
9748
9618
  T['io.flow.v0.models.at_cost'],
9619
+ T['io.flow.v0.models.flat_rate'],
9749
9620
  T['io.flow.v0.models.percent_margin'],
9750
9621
  ]);
9751
9622
 
9752
- T['io.flow.v0.models.tier_rule_form'] = PropTypes.exact({
9753
- position: PropTypes.number,
9623
+ T['io.flow.v0.models.tier_rule'] = PropTypes.exact({
9624
+ id: PropTypes.string.isRequired,
9625
+ position: PropTypes.number.isRequired,
9754
9626
  query: PropTypes.string.isRequired,
9755
- outcome: T['io.flow.v0.unions.tier_rule_outcome_form'].isRequired,
9627
+ outcome: T['io.flow.v0.unions.tier_rule_outcome'].isRequired,
9756
9628
  });
9757
9629
 
9758
- T['io.flow.v0.models.tier_form'] = PropTypes.exact({
9759
- currency: PropTypes.string.isRequired,
9760
- integration: T['io.flow.v0.enums.shipment_integration_type'].isRequired,
9761
- name: PropTypes.string.isRequired,
9762
- message: PropTypes.string,
9763
- rules: PropTypes.arrayOf(T['io.flow.v0.models.tier_rule_form']).isRequired,
9764
- services: PropTypes.arrayOf(PropTypes.string).isRequired,
9765
- strategy: T['io.flow.v0.enums.tier_strategy'].isRequired,
9766
- visibility: T['io.flow.v0.enums.visibility'].isRequired,
9767
- description: PropTypes.string,
9768
- direction: T['io.flow.v0.enums.lane_direction'],
9769
- display: T['io.flow.v0.models.tier_display_form'],
9770
- shipping_lane: PropTypes.string.isRequired,
9771
- surcharge_settings: PropTypes.arrayOf(T['io.flow.v0.models.surcharge_setting']),
9772
- 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,
9773
9635
  });
9774
9636
 
9775
- 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,
9776
9639
  currency: PropTypes.string.isRequired,
9777
9640
  amount: PropTypes.number.isRequired,
9778
- base: T['io.flow.v0.models.money'].isRequired,
9779
- });
9780
-
9781
- T['io.flow.v0.models.quote_line_item_form'] = PropTypes.exact({
9782
- number: PropTypes.string.isRequired,
9783
- quantity: PropTypes.number.isRequired,
9784
- shipment_estimate: T['io.flow.v0.models.datetime_range'],
9785
- price: T['io.flow.v0.models.money_with_base'].isRequired,
9786
- attributes: PropTypes.objectOf(PropTypes.string),
9787
- center: PropTypes.string,
9641
+ label: PropTypes.string.isRequired,
9642
+ base: T['io.flow.v0.models.price'].isRequired,
9788
9643
  });
9789
9644
 
9790
- T['io.flow.v0.models.allocation_line_summary_shipping'] = PropTypes.exact({
9791
- subtotal: T['io.flow.v0.models.money_with_base'].isRequired,
9792
- discount: T['io.flow.v0.models.money_with_base'].isRequired,
9793
- duties: T['io.flow.v0.models.money_with_base'].isRequired,
9794
- tax: T['io.flow.v0.models.money_with_base'].isRequired,
9795
- tax_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9796
- duties_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9797
- 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'],
9798
9650
  });
9799
9651
 
9800
- 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({
9801
9653
  item_number: PropTypes.string.isRequired,
9802
- line_number: PropTypes.string,
9803
- subtotal: T['io.flow.v0.models.money_with_base'].isRequired,
9804
- discount: T['io.flow.v0.models.money_with_base'].isRequired,
9805
- duties: T['io.flow.v0.models.money_with_base'].isRequired,
9806
- tax: T['io.flow.v0.models.money_with_base'].isRequired,
9807
- tax_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9808
- duties_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9809
- total: T['io.flow.v0.models.money_with_base'].isRequired,
9654
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
9810
9655
  });
9811
9656
 
9812
- T['io.flow.v0.models.allocation_line_summary'] = PropTypes.exact({
9813
- line_items: PropTypes.arrayOf(T['io.flow.v0.models.allocation_line_summary_line_item']).isRequired,
9814
- shipping: T['io.flow.v0.models.allocation_line_summary_shipping'].isRequired,
9815
- subtotal: T['io.flow.v0.models.money_with_base'].isRequired,
9816
- discount: T['io.flow.v0.models.money_with_base'].isRequired,
9817
- duties: T['io.flow.v0.models.money_with_base'].isRequired,
9818
- tax: T['io.flow.v0.models.money_with_base'].isRequired,
9819
- tax_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9820
- duties_subsidy: T['io.flow.v0.models.money_with_base'].isRequired,
9821
- 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,
9822
9659
  });
9823
9660
 
9824
- T['io.flow.v0.enums.price_accuracy'] = PropTypes.oneOf(['calculated', 'estimated_from_partial_destination']);
9825
-
9826
- T['io.flow.v0.models.price'] = PropTypes.exact({
9661
+ T['io.flow.v0.models.shopify_price'] = PropTypes.exact({
9662
+ name: PropTypes.string.isRequired,
9827
9663
  amount: PropTypes.number.isRequired,
9664
+ cents: PropTypes.number.isRequired,
9828
9665
  currency: PropTypes.string.isRequired,
9829
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'],
9830
9669
  });
9831
9670
 
9832
- T['io.flow.v0.models.virtual_card'] = PropTypes.exact({
9833
- id: PropTypes.string.isRequired,
9834
- key: PropTypes.string.isRequired,
9835
- number: PropTypes.string,
9836
- cvv: PropTypes.string,
9837
- limit: T['io.flow.v0.models.price'].isRequired,
9838
- type: T['io.flow.v0.enums.card_type'].isRequired,
9839
- expiration: T['io.flow.v0.models.expiration'].isRequired,
9840
- iin: PropTypes.string.isRequired,
9841
- last4: PropTypes.string.isRequired,
9842
- name: PropTypes.string.isRequired,
9843
- attributes: PropTypes.objectOf(PropTypes.string),
9844
- });
9845
-
9846
- T['io.flow.v0.models.virtual_card_version'] = PropTypes.exact({
9847
- id: PropTypes.string.isRequired,
9848
- timestamp: PropTypes.string.isRequired,
9849
- type: T['io.flow.v0.enums.change_type'].isRequired,
9850
- virtual_card: T['io.flow.v0.models.virtual_card'].isRequired,
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'],
9851
9676
  });
9852
9677
 
9853
- T['io.flow.v0.models.price_book_item'] = PropTypes.exact({
9854
- id: PropTypes.string.isRequired,
9855
- key: PropTypes.string.isRequired,
9856
- price_book: T['io.flow.v0.models.price_book_reference'].isRequired,
9857
- price: T['io.flow.v0.models.price'].isRequired,
9858
- item_number: PropTypes.string.isRequired,
9859
- schedule: T['io.flow.v0.models.price_book_item_schedule'].isRequired,
9860
- item_attributes: PropTypes.objectOf(PropTypes.string),
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'],
9861
9685
  });
9862
9686
 
9863
- T['io.flow.v0.models.price_book_item_upserted'] = PropTypes.exact({
9864
- discriminator: PropTypes.oneOf(['price_book_item_upserted']).isRequired,
9865
- event_id: PropTypes.string.isRequired,
9866
- timestamp: PropTypes.string.isRequired,
9867
- organization: PropTypes.string.isRequired,
9868
- price_book_item: T['io.flow.v0.models.price_book_item'].isRequired,
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,
9869
9690
  });
9870
9691
 
9871
- T['io.flow.v0.models.order_summary_levy'] = PropTypes.exact({
9872
- rate: PropTypes.number.isRequired,
9873
- rate_label: PropTypes.string,
9874
- value: T['io.flow.v0.models.price'].isRequired,
9692
+ T['io.flow.v0.models.shopify_cart_item'] = PropTypes.exact({
9693
+ id: PropTypes.string.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,
9875
9714
  });
9876
9715
 
9877
- T['io.flow.v0.models.order_summary_price_detail'] = PropTypes.exact({
9878
- price: T['io.flow.v0.models.price'].isRequired,
9879
- name: PropTypes.string,
9880
- rate: PropTypes.number,
9881
- rate_label: PropTypes.string,
9882
- });
9883
-
9884
- T['io.flow.v0.models.order_summary_item'] = PropTypes.exact({
9885
- number: PropTypes.string.isRequired,
9886
- name: PropTypes.string.isRequired,
9887
- description: PropTypes.string,
9888
- attributes: PropTypes.arrayOf(T['io.flow.v0.models.checkout_item_content_attribute']).isRequired,
9889
- image: T['io.flow.v0.models.order_summary_image'],
9890
- price: T['io.flow.v0.models.price'].isRequired,
9891
- discount: T['io.flow.v0.models.price'],
9892
- tax: T['io.flow.v0.models.order_summary_levy'],
9893
- duty: T['io.flow.v0.models.order_summary_levy'],
9894
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
9895
- });
9896
-
9897
- T['io.flow.v0.models.order_summary_line_item'] = PropTypes.exact({
9716
+ T['io.flow.v0.models.line'] = PropTypes.exact({
9898
9717
  id: PropTypes.string,
9899
- item: T['io.flow.v0.models.order_summary_item'].isRequired,
9718
+ item_number: PropTypes.string.isRequired,
9900
9719
  quantity: PropTypes.number.isRequired,
9901
- discount: T['io.flow.v0.models.price'],
9902
- tax: T['io.flow.v0.models.order_summary_levy'],
9903
- duty: T['io.flow.v0.models.order_summary_levy'],
9904
- total: T['io.flow.v0.models.price'].isRequired,
9905
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
9906
- attributes: PropTypes.objectOf(PropTypes.string),
9907
- });
9908
-
9909
- T['io.flow.v0.models.order_summary'] = PropTypes.exact({
9910
- number: PropTypes.string.isRequired,
9911
- subtotal: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
9912
- shipping: T['io.flow.v0.models.order_summary_price_detail'],
9913
- tax: T['io.flow.v0.models.order_summary_price_detail'],
9914
- duty: T['io.flow.v0.models.order_summary_price_detail'],
9915
- insurance: T['io.flow.v0.models.order_summary_price_detail'],
9916
- discount: T['io.flow.v0.models.order_summary_price_detail'],
9917
- surcharges: T['io.flow.v0.models.order_summary_price_detail'],
9918
- adjustment: T['io.flow.v0.models.order_summary_price_detail'],
9919
- total: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
9920
- lines: PropTypes.arrayOf(T['io.flow.v0.models.order_summary_line_item']).isRequired,
9921
- identifiers: PropTypes.objectOf(PropTypes.string),
9720
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
9721
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
9922
9722
  attributes: PropTypes.objectOf(PropTypes.string),
9923
9723
  });
9924
9724
 
9925
- T['io.flow.v0.models.email_notification_data_refund'] = PropTypes.exact({
9926
- discriminator: PropTypes.oneOf(['refund']).isRequired,
9927
- order: T['io.flow.v0.models.order_summary'].isRequired,
9928
- 'return': T['io.flow.v0.models.order_summary'].isRequired,
9929
- payment: T['io.flow.v0.models.email_payment_summary'].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,
9930
9733
  });
9931
9734
 
9932
- T['io.flow.v0.models.order_quote_line'] = PropTypes.exact({
9933
- id: PropTypes.string.isRequired,
9934
- item: T['io.flow.v0.models.order_summary_item'].isRequired,
9935
- errors: PropTypes.arrayOf(T['io.flow.v0.models.order_quote_line_error']),
9936
- quantity: PropTypes.number.isRequired,
9937
- discount: T['io.flow.v0.models.order_quote_line_discount'],
9938
- tax: T['io.flow.v0.models.order_quote_summary_tax'],
9939
- duty: T['io.flow.v0.models.order_quote_summary_duty'],
9940
- unit_price: T['io.flow.v0.unions.order_quote_price'].isRequired,
9941
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
9942
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.order_quote_price_standard']).isRequired,
9943
- attributes: PropTypes.objectOf(PropTypes.string).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,
9944
9740
  });
9945
9741
 
9946
- T['io.flow.v0.models.order_quote_summary_items'] = PropTypes.exact({
9947
- lines: PropTypes.arrayOf(T['io.flow.v0.models.order_quote_line']).isRequired,
9948
- total: T['io.flow.v0.unions.order_quote_price'].isRequired,
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,
9949
9745
  });
9950
9746
 
9951
- T['io.flow.v0.models.order_quote_summary'] = PropTypes.exact({
9952
- items: T['io.flow.v0.models.order_quote_summary_items'].isRequired,
9953
- shipping: T['io.flow.v0.models.order_quote_summary_shipping'],
9954
- tax: T['io.flow.v0.models.order_quote_summary_tax'],
9955
- duty: T['io.flow.v0.models.order_quote_summary_duty'],
9956
- total: T['io.flow.v0.models.order_quote_summary_total'].isRequired,
9957
- balance: T['io.flow.v0.unions.order_quote_price'].isRequired,
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,
9958
9749
  });
9959
9750
 
9960
- T['io.flow.v0.models.value_threshold_exceeded_details'] = PropTypes.exact({
9961
- local: T['io.flow.v0.models.price'].isRequired,
9962
- original: T['io.flow.v0.models.price'].isRequired,
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,
9963
9754
  });
9964
9755
 
9965
- T['io.flow.v0.models.order_error'] = PropTypes.exact({
9966
- code: T['io.flow.v0.enums.order_error_code'].isRequired,
9967
- messages: PropTypes.arrayOf(PropTypes.string).isRequired,
9968
- numbers: PropTypes.arrayOf(PropTypes.string),
9969
- destination_country: T['io.flow.v0.models.country'],
9970
- threshold: T['io.flow.v0.models.value_threshold_exceeded_details'],
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,
9971
9758
  });
9972
9759
 
9973
- T['io.flow.v0.models.localized_line_item_discount'] = PropTypes.exact({
9974
- amount: PropTypes.number.isRequired,
9975
- currency: PropTypes.string.isRequired,
9976
- label: PropTypes.string,
9977
- base: T['io.flow.v0.models.price'],
9978
- requested: T['io.flow.v0.models.money'],
9979
- discount_label: PropTypes.string,
9760
+ T['io.flow.v0.models.discount'] = PropTypes.exact({
9761
+ discriminator: PropTypes.oneOf(['discount']).isRequired,
9762
+ id: PropTypes.string.isRequired,
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),
9980
9767
  });
9981
9768
 
9982
- T['io.flow.v0.models.price_details'] = PropTypes.exact({
9983
- currency: PropTypes.string.isRequired,
9984
- item_price: T['io.flow.v0.models.price_detail'].isRequired,
9985
- margins: T['io.flow.v0.models.price_detail'].isRequired,
9986
- vat: T['io.flow.v0.models.price_detail'].isRequired,
9987
- duty: T['io.flow.v0.models.price_detail'].isRequired,
9988
- rounding: T['io.flow.v0.models.price_detail'].isRequired,
9989
- price: T['io.flow.v0.models.price'].isRequired,
9990
- total: T['io.flow.v0.models.price'].isRequired,
9991
- adjustment: T['io.flow.v0.models.price_detail'],
9992
- });
9769
+ T['io.flow.v0.unions.promotion'] = PropTypes.oneOfType([T['io.flow.v0.models.free_shipping'], T['io.flow.v0.models.discount']]);
9993
9770
 
9994
- T['io.flow.v0.models.local_price_details'] = PropTypes.exact({
9995
- base: T['io.flow.v0.models.price_details'].isRequired,
9996
- local: T['io.flow.v0.models.price_details'].isRequired,
9997
- discount: T['io.flow.v0.models.price_detail'],
9998
- local_before_discount: 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,
9999
9774
  });
10000
9775
 
10001
- T['io.flow.v0.models.price_check'] = PropTypes.exact({
10002
- display: T['io.flow.v0.models.local_price_details'].isRequired,
10003
- 'final': T['io.flow.v0.models.local_price_details'].isRequired,
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'],
10004
9784
  });
10005
9785
 
10006
- T['io.flow.v0.models.item_form_overlay'] = PropTypes.exact({
9786
+ T['io.flow.v0.models.shopify_cart'] = PropTypes.exact({
10007
9787
  id: PropTypes.string.isRequired,
10008
- number: PropTypes.string.isRequired,
10009
- key: PropTypes.string.isRequired,
10010
- position: PropTypes.number.isRequired,
10011
- price: T['io.flow.v0.models.price'],
10012
- categories: PropTypes.arrayOf(PropTypes.string),
10013
- description: PropTypes.string,
10014
- attributes: PropTypes.objectOf(PropTypes.string),
10015
- dimensions: T['io.flow.v0.models.dimensions'],
10016
- images: PropTypes.arrayOf(T['io.flow.v0.models.image_form']),
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,
10017
9796
  });
10018
9797
 
10019
- T['io.flow.v0.models.order_promotion_trigger'] = PropTypes.exact({
10020
- type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
10021
- min: T['io.flow.v0.models.price'],
9798
+ T['io.flow.v0.models.available_promotion'] = PropTypes.exact({
9799
+ id: PropTypes.string.isRequired,
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,
10022
9803
  });
10023
9804
 
10024
- T['io.flow.v0.models.promotion_trigger'] = PropTypes.exact({
10025
- type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
10026
- min: T['io.flow.v0.models.price'].isRequired,
10027
- remaining: T['io.flow.v0.models.price'].isRequired,
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,
10028
9811
  });
10029
9812
 
10030
- T['io.flow.v0.models.free_shipping'] = PropTypes.exact({
10031
- discriminator: PropTypes.oneOf(['free_shipping']).isRequired,
10032
- trigger: T['io.flow.v0.models.promotion_trigger'].isRequired,
10033
- max: T['io.flow.v0.models.price'],
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,
10034
9819
  });
10035
9820
 
10036
- T['io.flow.v0.models.flat_rate'] = PropTypes.exact({
10037
- discriminator: PropTypes.oneOf(['flat_rate']).isRequired,
10038
- price: T['io.flow.v0.models.price'].isRequired,
10039
- zero_amount_indicator: T['io.flow.v0.enums.zero_amount_indicator'],
10040
- });
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
+ ]);
10041
9853
 
10042
- T['io.flow.v0.models.localized_item_price'] = PropTypes.exact({
10043
- key: PropTypes.oneOf(['localized_item_price']).isRequired,
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,
10044
9856
  currency: PropTypes.string.isRequired,
10045
9857
  amount: PropTypes.number.isRequired,
10046
9858
  label: PropTypes.string.isRequired,
10047
9859
  base: T['io.flow.v0.models.price'].isRequired,
10048
- includes: T['io.flow.v0.models.included_levies'],
9860
+ name: PropTypes.string,
10049
9861
  });
10050
9862
 
10051
- T['io.flow.v0.models.experience_logistics_tier_summary_prices'] = PropTypes.exact({
10052
- minimum: T['io.flow.v0.models.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,
9865
+ currency: PropTypes.string.isRequired,
9866
+ amount: PropTypes.number.isRequired,
9867
+ label: PropTypes.string.isRequired,
9868
+ base: T['io.flow.v0.models.price'].isRequired,
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,
10053
9874
  });
10054
9875
 
10055
- T['io.flow.v0.models.experience_logistics_tier_summary'] = PropTypes.exact({
10056
- prices: T['io.flow.v0.models.experience_logistics_tier_summary_prices'].isRequired,
10057
- });
10058
-
10059
- T['io.flow.v0.models.experience_logistics_summary'] = PropTypes.exact({
10060
- outbound: T['io.flow.v0.models.experience_logistics_tier_summary'],
10061
- 'return': T['io.flow.v0.models.experience_logistics_tier_summary'],
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'],
10062
9881
  });
10063
9882
 
10064
- T['io.flow.v0.models.delivery_option_summary'] = PropTypes.exact({
9883
+ T['io.flow.v0.models.allocation_order_summary'] = PropTypes.exact({
10065
9884
  id: PropTypes.string.isRequired,
10066
- cost: T['io.flow.v0.models.price'].isRequired,
10067
- delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
10068
- price: T['io.flow.v0.models.price'].isRequired,
10069
- service: T['io.flow.v0.models.service_reference'].isRequired,
10070
- tier: T['io.flow.v0.models.tier_reference'].isRequired,
10071
- window: T['io.flow.v0.models.datetime_range'].isRequired,
9885
+ number: PropTypes.string.isRequired,
9886
+ submitted_at: PropTypes.string,
10072
9887
  });
10073
9888
 
10074
- T['io.flow.v0.models.delivery_option_version'] = PropTypes.exact({
10075
- id: PropTypes.string.isRequired,
10076
- timestamp: PropTypes.string.isRequired,
10077
- type: T['io.flow.v0.enums.change_type'].isRequired,
10078
- delivery_option: T['io.flow.v0.models.delivery_option_summary'].isRequired,
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,
10079
9892
  });
10080
9893
 
10081
- T['io.flow.v0.models.delivery_option_cost_component'] = PropTypes.exact({
10082
- key: T['io.flow.v0.enums.delivery_option_cost_detail_component_key'].isRequired,
10083
- currency: PropTypes.string.isRequired,
10084
- amount: PropTypes.number.isRequired,
10085
- label: PropTypes.string.isRequired,
10086
- base: T['io.flow.v0.models.price'],
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,
10087
9897
  });
10088
9898
 
10089
- T['io.flow.v0.models.delivery_option_cost_detail'] = PropTypes.exact({
10090
- source: T['io.flow.v0.enums.delivery_option_cost_detail_source'].isRequired,
10091
- ratecard_id: PropTypes.string,
10092
- currency: PropTypes.string.isRequired,
10093
- amount: PropTypes.number.isRequired,
10094
- label: PropTypes.string.isRequired,
10095
- base: T['io.flow.v0.models.price'],
10096
- components: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_component']).isRequired,
10097
- });
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
+ ]);
10098
9903
 
10099
- T['io.flow.v0.models.price_with_base_and_details'] = PropTypes.exact({
10100
- currency: PropTypes.string.isRequired,
10101
- amount: PropTypes.number.isRequired,
10102
- label: PropTypes.string.isRequired,
10103
- base: T['io.flow.v0.models.price'],
10104
- details: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_detail']),
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'],
10105
9908
  });
10106
9909
 
10107
- T['io.flow.v0.models.original_prices'] = PropTypes.exact({
10108
- value: T['io.flow.v0.models.price'].isRequired,
10109
- max: T['io.flow.v0.models.price'].isRequired,
10110
- });
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
+ ]);
10111
9920
 
10112
- T['io.flow.v0.models.item_shipping_pricing'] = PropTypes.exact({
10113
- min: T['io.flow.v0.models.price'].isRequired,
10114
- max: T['io.flow.v0.models.price'],
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'],
10115
9926
  });
10116
9927
 
10117
- T['io.flow.v0.models.country_shipping_pricing'] = PropTypes.exact({
10118
- pricing: T['io.flow.v0.models.item_shipping_pricing'].isRequired,
10119
- countries: PropTypes.arrayOf(PropTypes.string).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'],
10120
9933
  });
10121
9934
 
10122
- T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'] = PropTypes.exact({
10123
- id: PropTypes.string.isRequired,
10124
- item: T['io.flow.v0.models.item_reference'].isRequired,
10125
- shipping_configuration: T['io.flow.v0.models.shipping_configuration_summary'].isRequired,
10126
- country_shipping_pricings: PropTypes.arrayOf(T['io.flow.v0.models.country_shipping_pricing']).isRequired,
10127
- });
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
+ ]);
10128
9941
 
10129
- T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_upserted'] = PropTypes.exact({
10130
- discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_upserted']).isRequired,
10131
- event_id: PropTypes.string.isRequired,
10132
- timestamp: PropTypes.string.isRequired,
10133
- organization_id: PropTypes.string.isRequired,
10134
- shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].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'],
10135
9951
  });
10136
9952
 
10137
- T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_deleted'] = PropTypes.exact({
10138
- discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_deleted']).isRequired,
10139
- event_id: PropTypes.string.isRequired,
10140
- timestamp: PropTypes.string.isRequired,
10141
- organization_id: PropTypes.string.isRequired,
10142
- shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].isRequired,
9953
+ T['io.flow.v0.enums.adjustment_reason_key'] = PropTypes.oneOf(['duty_deminimis', 'vat_deminimis']);
9954
+
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,
10143
9958
  });
10144
9959
 
10145
- T['io.flow.v0.models.consumer_invoice_line_discount'] = PropTypes.exact({
10146
- discriminator: PropTypes.oneOf(['discount']).isRequired,
10147
- price: T['io.flow.v0.models.price'].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,
10148
9966
  });
10149
9967
 
10150
- T['io.flow.v0.models.consumer_invoice_levy'] = PropTypes.exact({
10151
- rate: PropTypes.number.isRequired,
10152
- value: T['io.flow.v0.models.price'].isRequired,
9968
+ T['io.flow.v0.enums.address_verification_result_field_code'] = PropTypes.oneOf(['matched', 'not_available', 'not_checked', 'not_matched']);
9969
+
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,
10153
9975
  });
10154
9976
 
10155
- T['io.flow.v0.models.consumer_invoice_line_shipping'] = PropTypes.exact({
10156
- discriminator: PropTypes.oneOf(['shipping']).isRequired,
10157
- price: T['io.flow.v0.models.price'].isRequired,
10158
- discount: T['io.flow.v0.models.price'],
10159
- tax: T['io.flow.v0.models.consumer_invoice_levy'],
10160
- 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'],
10161
9982
  });
10162
9983
 
10163
- T['io.flow.v0.models.consumer_invoice_line_item'] = PropTypes.exact({
10164
- discriminator: PropTypes.oneOf(['item']).isRequired,
10165
- item: T['io.flow.v0.models.item_reference'].isRequired,
10166
- description: PropTypes.string.isRequired,
10167
- quantity: PropTypes.number.isRequired,
10168
- unit_price: T['io.flow.v0.models.price'].isRequired,
10169
- unit_discount: T['io.flow.v0.models.price'],
10170
- unit_tax: T['io.flow.v0.models.consumer_invoice_levy'],
10171
- 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'],
10172
9994
  });
10173
9995
 
10174
- T['io.flow.v0.unions.consumer_invoice_line'] = PropTypes.oneOfType([
10175
- T['io.flow.v0.models.consumer_invoice_line_item'],
10176
- T['io.flow.v0.models.consumer_invoice_line_discount'],
10177
- 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'],
10178
10006
  ]);
10179
10007
 
10180
- T['io.flow.v0.models.b2b_credit_memo'] = PropTypes.exact({
10008
+ T['io.flow.v0.models.payment_authorization'] = PropTypes.exact({
10181
10009
  id: PropTypes.string.isRequired,
10182
- number: PropTypes.string.isRequired,
10183
- buyer: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
10184
- seller: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
10185
- status: T['io.flow.v0.enums.consumer_invoice_status'].isRequired,
10186
- date: PropTypes.string.isRequired,
10187
- key: PropTypes.string.isRequired,
10188
- invoice: T['io.flow.v0.models.b2b_invoice_reference'].isRequired,
10189
- lines: PropTypes.arrayOf(T['io.flow.v0.unions.consumer_invoice_line']).isRequired,
10190
- documents: PropTypes.arrayOf(T['io.flow.v0.models.consumer_invoice_document']).isRequired,
10191
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10192
- 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,
10193
10021
  });
10194
10022
 
10195
- T['io.flow.v0.models.b2b_credit_memo_upserted'] = PropTypes.exact({
10196
- discriminator: PropTypes.oneOf(['b2b_credit_memo_upserted']).isRequired,
10197
- event_id: PropTypes.string.isRequired,
10198
- timestamp: PropTypes.string.isRequired,
10199
- organization: PropTypes.string.isRequired,
10200
- b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].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,
10201
10031
  });
10202
10032
 
10203
- T['io.flow.v0.models.b2b_credit_memo_deleted'] = PropTypes.exact({
10204
- discriminator: PropTypes.oneOf(['b2b_credit_memo_deleted']).isRequired,
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,
10205
10047
  event_id: PropTypes.string.isRequired,
10206
10048
  timestamp: PropTypes.string.isRequired,
10207
10049
  organization: PropTypes.string.isRequired,
10208
- 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,
10209
10059
  });
10210
10060
 
10211
- T['io.flow.v0.models.catalog_price_book_item_document'] = PropTypes.exact({
10212
- price_book_key: PropTypes.string.isRequired,
10213
- price_book_item_key: PropTypes.string.isRequired,
10214
- catalog: T['io.flow.v0.models.catalog_item_summary'].isRequired,
10215
- price: T['io.flow.v0.models.price'],
10216
- amount: PropTypes.number.isRequired,
10217
- starts_at: PropTypes.string.isRequired,
10218
- ends_at: PropTypes.string,
10219
- });
10220
-
10221
- T['io.flow.v0.models.amount_margin'] = PropTypes.exact({
10222
- discriminator: PropTypes.oneOf(['amount_margin']).isRequired,
10223
- margin: T['io.flow.v0.models.price'].isRequired,
10224
- });
10225
-
10226
- T['io.flow.v0.unions.tier_rule_outcome'] = PropTypes.oneOfType([
10227
- T['io.flow.v0.models.amount_margin'],
10228
- T['io.flow.v0.models.at_cost'],
10229
- T['io.flow.v0.models.flat_rate'],
10230
- T['io.flow.v0.models.percent_margin'],
10231
- ]);
10232
-
10233
- T['io.flow.v0.models.tier_rule'] = PropTypes.exact({
10061
+ T['io.flow.v0.models.tracking_event'] = PropTypes.exact({
10234
10062
  id: PropTypes.string.isRequired,
10235
- position: PropTypes.number.isRequired,
10236
- query: PropTypes.string.isRequired,
10237
- outcome: T['io.flow.v0.unions.tier_rule_outcome'].isRequired,
10063
+ address: T['io.flow.v0.models.address'].isRequired,
10064
+ status: T['io.flow.v0.enums.tracking_status'].isRequired,
10065
+ timestamp: PropTypes.string.isRequired,
10066
+ description: PropTypes.string,
10238
10067
  });
10239
10068
 
10240
- T['io.flow.v0.models.tier_rule_version'] = PropTypes.exact({
10069
+ T['io.flow.v0.models.tracking_label'] = PropTypes.exact({
10241
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,
10242
10075
  timestamp: PropTypes.string.isRequired,
10243
- type: T['io.flow.v0.enums.change_type'].isRequired,
10244
- tier_rule: T['io.flow.v0.models.tier_rule'].isRequired,
10245
- });
10246
-
10247
- T['io.flow.v0.models.localized_total'] = PropTypes.exact({
10248
- key: PropTypes.oneOf(['localized_total']).isRequired,
10249
- currency: PropTypes.string.isRequired,
10250
- amount: PropTypes.number.isRequired,
10251
- label: PropTypes.string.isRequired,
10252
- base: T['io.flow.v0.models.price'].isRequired,
10253
- });
10254
-
10255
- T['io.flow.v0.models.price_with_base'] = PropTypes.exact({
10256
- currency: PropTypes.string.isRequired,
10257
- amount: PropTypes.number.isRequired,
10258
- label: PropTypes.string.isRequired,
10259
- base: T['io.flow.v0.models.price'],
10076
+ delivery_estimate: PropTypes.string,
10077
+ description: PropTypes.string,
10260
10078
  });
10261
10079
 
10262
- T['io.flow.v0.models.shopify_order_price_attributes_metafield'] = PropTypes.exact({
10263
- item_number: PropTypes.string.isRequired,
10264
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
10080
+ T['io.flow.v0.models.tracking'] = PropTypes.exact({
10081
+ id: PropTypes.string.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,
10265
10088
  });
10266
10089
 
10267
- T['io.flow.v0.models.shopify_local_price_metadata'] = PropTypes.exact({
10268
- 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,
10269
10098
  });
10270
10099
 
10271
- T['io.flow.v0.models.shopify_price'] = PropTypes.exact({
10272
- name: PropTypes.string.isRequired,
10273
- amount: PropTypes.number.isRequired,
10274
- cents: PropTypes.number.isRequired,
10275
- currency: PropTypes.string.isRequired,
10276
- label: PropTypes.string.isRequired,
10277
- includes: T['io.flow.v0.models.included_levies'],
10278
- local: T['io.flow.v0.models.shopify_local_price_metadata'],
10279
- });
10100
+ T['io.flow.v0.unions.know_your_business_form'] = PropTypes.oneOfType([T['io.flow.v0.models.know_your_business_usa_form']]);
10280
10101
 
10281
- T['io.flow.v0.models.shopify_order_delivery_metafield'] = PropTypes.exact({
10282
- key: PropTypes.string,
10283
- items: PropTypes.arrayOf(T['io.flow.v0.models.shopify_order_delivery_metafield_item']).isRequired,
10284
- service: T['io.flow.v0.models.service_summary'].isRequired,
10285
- window: T['io.flow.v0.models.delivery_window'].isRequired,
10286
- liability: T['io.flow.v0.enums.ratecard_owner'],
10287
- cost: T['io.flow.v0.models.money_with_optional_base'],
10288
- prices: PropTypes.arrayOf(T['io.flow.v0.models.shopify_price']),
10289
- total: T['io.flow.v0.models.shopify_price'],
10290
- 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,
10291
10113
  });
10292
10114
 
10293
- T['io.flow.v0.models.shopify_localized_variant_prices'] = PropTypes.exact({
10294
- item: T['io.flow.v0.models.shopify_price'].isRequired,
10295
- compare_at: T['io.flow.v0.models.shopify_price'],
10296
- vat: T['io.flow.v0.models.shopify_price'],
10297
- duty: T['io.flow.v0.models.shopify_price'],
10298
- });
10115
+ T['io.flow.v0.unions.know_your_business'] = PropTypes.oneOfType([T['io.flow.v0.models.know_your_business_usa']]);
10299
10116
 
10300
- T['io.flow.v0.models.shopify_localized_variant'] = PropTypes.exact({
10301
- id: PropTypes.number.isRequired,
10302
- handle: PropTypes.string.isRequired,
10303
- experience: T['io.flow.v0.models.experience_reference'].isRequired,
10304
- prices: T['io.flow.v0.models.shopify_localized_variant_prices'].isRequired,
10305
- status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
10306
- 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'],
10307
10127
  });
10308
10128
 
10309
- T['io.flow.v0.models.shopify_line'] = PropTypes.exact({
10310
- variant_id: PropTypes.number.isRequired,
10311
- quantity: PropTypes.number.isRequired,
10312
- price: T['io.flow.v0.models.shopify_price'].isRequired,
10313
- total: T['io.flow.v0.models.shopify_price'].isRequired,
10314
- 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'],
10315
10133
  });
10316
10134
 
10317
- T['io.flow.v0.models.shopify_local_cart_item_metadata'] = PropTypes.exact({
10318
- line_price: T['io.flow.v0.models.price_with_base'].isRequired,
10319
- 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,
10320
10142
  });
10321
10143
 
10322
- T['io.flow.v0.models.shopify_cart_item'] = PropTypes.exact({
10144
+ T['io.flow.v0.models.consumer_invoice_center_reference'] = PropTypes.exact({
10323
10145
  id: PropTypes.string.isRequired,
10324
- handle: PropTypes.string.isRequired,
10325
- line_price: PropTypes.number.isRequired,
10326
- price: PropTypes.number.isRequired,
10327
- product_id: PropTypes.number.isRequired,
10328
- product_title: PropTypes.string.isRequired,
10329
- quantity: PropTypes.number.isRequired,
10330
- title: PropTypes.string.isRequired,
10331
- url: PropTypes.string.isRequired,
10332
- variant_id: PropTypes.number.isRequired,
10333
- local: T['io.flow.v0.models.shopify_local_cart_item_metadata'].isRequired,
10334
- gift_card: PropTypes.bool.isRequired,
10335
- image: PropTypes.string,
10336
- product_description: PropTypes.string,
10337
- product_type: PropTypes.string,
10338
- properties: PropTypes.objectOf(PropTypes.string),
10339
- requires_shipping: PropTypes.bool.isRequired,
10340
- sku: PropTypes.string,
10341
- variant_title: PropTypes.string,
10342
- variant_options: PropTypes.arrayOf(PropTypes.string),
10343
- vendor: PropTypes.string,
10146
+ key: PropTypes.string.isRequired,
10147
+ name: PropTypes.string.isRequired,
10148
+ address: T['io.flow.v0.models.address'].isRequired,
10344
10149
  });
10345
10150
 
10346
- T['io.flow.v0.models.line'] = PropTypes.exact({
10347
- id: PropTypes.string,
10348
- item_number: PropTypes.string.isRequired,
10349
- quantity: PropTypes.number.isRequired,
10350
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10351
- total: T['io.flow.v0.models.price_with_base'].isRequired,
10352
- 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,
10353
10158
  });
10354
10159
 
10355
- T['io.flow.v0.models.klaviyo_order_prices'] = PropTypes.exact({
10356
- subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
10357
- vat: T['io.flow.v0.models.price_with_base'],
10358
- duty: T['io.flow.v0.models.price_with_base'],
10359
- discount: T['io.flow.v0.models.price_with_base'],
10360
- shipping: T['io.flow.v0.models.price_with_base'],
10361
- insurance: T['io.flow.v0.models.price_with_base'],
10362
- 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,
10363
10164
  });
10364
10165
 
10365
- T['io.flow.v0.models.fulfillment_item_allocation_details'] = PropTypes.exact({
10366
- item_number: PropTypes.string.isRequired,
10367
- line_number: PropTypes.number.isRequired,
10368
- levies: T['io.flow.v0.models.price_with_base'].isRequired,
10369
- 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,
10370
10169
  });
10371
10170
 
10372
- T['io.flow.v0.models.experience_price_facet_conversion'] = PropTypes.exact({
10373
- request: T['io.flow.v0.models.experience_price_facet_conversion_request'].isRequired,
10374
- 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,
10375
10174
  });
10376
10175
 
10377
- T['io.flow.v0.models.experience_price_facet_conversion_response'] = PropTypes.exact({
10378
- 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,
10379
10179
  });
10380
10180
 
10381
- T['io.flow.v0.models.experience_price_conversion'] = PropTypes.exact({
10382
- request: T['io.flow.v0.models.experience_price_conversion_request'].isRequired,
10383
- 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,
10384
10184
  });
10385
10185
 
10386
- T['io.flow.v0.models.experience_price_conversion_response'] = PropTypes.exact({
10387
- 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,
10388
10189
  });
10389
10190
 
10390
- T['io.flow.v0.models.discount'] = PropTypes.exact({
10391
- discriminator: PropTypes.oneOf(['discount']).isRequired,
10191
+ T['io.flow.v0.models.address_configuration_province_translation_locale'] = PropTypes.exact({
10392
10192
  id: PropTypes.string.isRequired,
10393
- code: PropTypes.string,
10394
- label: PropTypes.string.isRequired,
10395
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10396
- attributes: PropTypes.objectOf(PropTypes.string),
10193
+ name: PropTypes.string.isRequired,
10194
+ language: PropTypes.string.isRequired,
10397
10195
  });
10398
10196
 
10399
- 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
+ ]);
10400
10210
 
10401
- T['io.flow.v0.models.promotions'] = PropTypes.exact({
10402
- applied: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
10403
- 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,
10404
10213
  });
10405
10214
 
10406
- T['io.flow.v0.models.shopify_local_cart_metadata'] = PropTypes.exact({
10407
- total_price: T['io.flow.v0.models.price_with_base'].isRequired,
10408
- promotions: T['io.flow.v0.models.promotions'].isRequired,
10409
- rules: T['io.flow.v0.models.order_rules_summary'],
10410
- subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
10411
- vat: T['io.flow.v0.models.price_with_base'],
10412
- duty: T['io.flow.v0.models.price_with_base'],
10413
- 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,
10414
10218
  });
10415
10219
 
10416
- T['io.flow.v0.models.shopify_cart'] = PropTypes.exact({
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
+ ]);
10227
+
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({
10417
10253
  id: PropTypes.string.isRequired,
10418
- items: PropTypes.arrayOf(T['io.flow.v0.models.shopify_cart_item']).isRequired,
10419
- item_count: PropTypes.number.isRequired,
10420
- total_price: PropTypes.number.isRequired,
10421
- local: T['io.flow.v0.models.shopify_local_cart_metadata'].isRequired,
10422
- attributes: PropTypes.object,
10423
- note: PropTypes.string,
10424
- requires_shipping: PropTypes.bool.isRequired,
10425
- total_weight: PropTypes.number,
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']),
10426
10259
  });
10427
10260
 
10428
- T['io.flow.v0.models.available_promotion'] = PropTypes.exact({
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,
10263
+ });
10264
+
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']),
10269
+ });
10270
+
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,
10281
+ });
10282
+
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'],
10290
+ });
10291
+
10292
+ T['io.flow.v0.models.money'] = PropTypes.exact({
10293
+ amount: PropTypes.number.isRequired,
10294
+ currency: PropTypes.string.isRequired,
10295
+ });
10296
+
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),
10300
+ });
10301
+
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'],
10313
+ });
10314
+
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'],
10319
+ });
10320
+
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,
10325
+ });
10326
+
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,
10330
+ });
10331
+
10332
+ T['io.flow.v0.models.reversal'] = PropTypes.exact({
10429
10333
  id: PropTypes.string.isRequired,
10430
- shipping_configuration: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
10431
- region: T['io.flow.v0.models.region_reference'].isRequired,
10432
- promotions: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
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'],
10433
10343
  });
10434
10344
 
10435
- T['io.flow.v0.models.available_promotions_upserted_v2'] = PropTypes.exact({
10436
- discriminator: PropTypes.oneOf(['available_promotions_upserted_v2']).isRequired,
10345
+ T['io.flow.v0.models.reversal_version'] = PropTypes.exact({
10346
+ id: PropTypes.string.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,
10350
+ });
10351
+
10352
+ T['io.flow.v0.models.reversal_upserted'] = PropTypes.exact({
10353
+ discriminator: PropTypes.oneOf(['reversal_upserted']).isRequired,
10437
10354
  event_id: PropTypes.string.isRequired,
10438
10355
  timestamp: PropTypes.string.isRequired,
10439
10356
  organization: PropTypes.string.isRequired,
10440
- available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
10357
+ id: PropTypes.string.isRequired,
10358
+ reversal: T['io.flow.v0.models.reversal'].isRequired,
10359
+ });
10360
+
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,
10367
+ });
10368
+
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,
10372
+ });
10373
+
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,
10377
+ });
10378
+
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,
10382
+ });
10383
+
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,
10389
+ });
10390
+
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,
10394
+ });
10395
+
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'],
10400
+ ]);
10401
+
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'],
10408
+ });
10409
+
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
+ });
10416
+
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,
10422
+ });
10423
+
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,
10427
+ });
10428
+
10429
+ T['io.flow.v0.models.localized_line_item_discount'] = PropTypes.exact({
10430
+ amount: PropTypes.number.isRequired,
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,
10436
+ });
10437
+
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,
10441
+ });
10442
+
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'],
10450
+ });
10451
+
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'],
10456
+ });
10457
+
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
+ });
10462
+
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,
10466
+ });
10467
+
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,
10471
+ });
10472
+
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,
10476
+ });
10477
+
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,
10481
+ });
10482
+
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,
10486
+ });
10487
+
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,
10492
+ });
10493
+
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,
10497
+ });
10498
+
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,
10504
+ });
10505
+
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,
10511
+ });
10512
+
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'],
10441
10727
  });
10442
10728
 
10443
- T['io.flow.v0.models.available_promotions_deleted_v2'] = PropTypes.exact({
10444
- discriminator: PropTypes.oneOf(['available_promotions_deleted_v2']).isRequired,
10445
- event_id: PropTypes.string.isRequired,
10446
- timestamp: PropTypes.string.isRequired,
10447
- organization: PropTypes.string.isRequired,
10448
- available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
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,
10449
10733
  });
10450
10734
 
10451
- T['io.flow.v0.enums.order_price_detail_component_key'] = PropTypes.oneOf([
10452
- 'adjustment',
10453
- 'vat_deminimis',
10454
- 'duty_deminimis',
10455
- 'duties_item_price',
10456
- 'duties_freight',
10457
- 'duties_insurance',
10458
- 'vat_item_price',
10459
- 'vat_freight',
10460
- 'vat_insurance',
10461
- 'vat_duties_item_price',
10462
- 'vat_duties_freight',
10463
- 'vat_duties_insurance',
10464
- 'item_price',
10465
- 'item_discount',
10466
- 'rounding',
10467
- 'insurance',
10468
- 'shipping',
10469
- 'shipping_discount',
10470
- 'order_discount',
10471
- 'subtotal_percent_sales_margin',
10472
- 'subtotal_vat_percent_sales_margin',
10473
- 'subtotal_duty_percent_sales_margin',
10474
- 'vat_subsidy',
10475
- 'duty_subsidy',
10476
- 'remote_area_surcharge',
10477
- 'fuel_surcharge',
10478
- 'emergency_situation_surcharge',
10479
- 'peak_surcharge',
10480
- 'duties_taxes_paid_surcharge',
10481
- 'tip',
10482
- ]);
10483
-
10484
- T['io.flow.v0.models.order_price_detail_component'] = PropTypes.exact({
10485
- key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
10735
+ T['io.flow.v0.models.localized_item_duty'] = PropTypes.exact({
10736
+ key: PropTypes.oneOf(['localized_item_duty']).isRequired,
10486
10737
  currency: PropTypes.string.isRequired,
10487
10738
  amount: PropTypes.number.isRequired,
10488
10739
  label: PropTypes.string.isRequired,
10489
10740
  base: T['io.flow.v0.models.price'].isRequired,
10490
- name: PropTypes.string,
10741
+ adjustment: T['io.flow.v0.models.localized_adjustment'],
10742
+ basis: T['io.flow.v0.models.money_with_base'],
10491
10743
  });
10492
10744
 
10493
- T['io.flow.v0.models.order_price_detail'] = PropTypes.exact({
10494
- key: T['io.flow.v0.enums.order_price_detail_key'].isRequired,
10745
+ T['io.flow.v0.models.localized_item_vat'] = PropTypes.exact({
10746
+ key: PropTypes.oneOf(['localized_item_vat']).isRequired,
10495
10747
  currency: PropTypes.string.isRequired,
10496
10748
  amount: PropTypes.number.isRequired,
10497
10749
  label: PropTypes.string.isRequired,
10498
10750
  base: T['io.flow.v0.models.price'].isRequired,
10499
- components: PropTypes.arrayOf(T['io.flow.v0.models.order_price_detail_component']).isRequired,
10500
- name: PropTypes.string,
10501
- rate: PropTypes.number,
10751
+ name: PropTypes.string.isRequired,
10752
+ adjustment: T['io.flow.v0.models.localized_adjustment'],
10502
10753
  accuracy: T['io.flow.v0.enums.price_accuracy'],
10503
- rate_label: PropTypes.string,
10754
+ basis: T['io.flow.v0.models.money_with_base'],
10504
10755
  });
10505
10756
 
10506
- T['io.flow.v0.models.digital_delivery'] = PropTypes.exact({
10507
- discriminator: PropTypes.oneOf(['digital_delivery']).isRequired,
10508
- id: PropTypes.string.isRequired,
10509
- key: PropTypes.string,
10510
- items: PropTypes.arrayOf(T['io.flow.v0.models.delivery_item']).isRequired,
10511
- prices: PropTypes.arrayOf(T['io.flow.v0.models.order_price_detail']),
10512
- total: T['io.flow.v0.models.localized_total'],
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,
10513
10864
  });
10514
10865
 
10515
10866
  T['io.flow.v0.models.allocation_levy_component'] = PropTypes.exact({
@@ -10523,13 +10874,6 @@ T['io.flow.v0.models.allocation_levy_component'] = PropTypes.exact({
10523
10874
  basis: T['io.flow.v0.models.money_with_base'],
10524
10875
  });
10525
10876
 
10526
- T['io.flow.v0.models.allocation_detail_component'] = PropTypes.exact({
10527
- discriminator: PropTypes.oneOf(['allocation_detail_component']).isRequired,
10528
- key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
10529
- total: T['io.flow.v0.models.price_with_base'].isRequired,
10530
- price: T['io.flow.v0.models.price_with_base'],
10531
- });
10532
-
10533
10877
  T['io.flow.v0.unions.allocation_component'] = PropTypes.oneOfType([
10534
10878
  T['io.flow.v0.models.allocation_detail_component'],
10535
10879
  T['io.flow.v0.models.allocation_levy_component'],
@@ -10568,398 +10912,274 @@ T['io.flow.v0.models.shopify_localized_order'] = PropTypes.exact({
10568
10912
  allocation_details: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_detail']).isRequired,
10569
10913
  merchant_of_record: T['io.flow.v0.enums.order_merchant_of_record'],
10570
10914
  merchant_of_record_entity: T['io.flow.v0.models.merchant_of_record_entity'],
10571
- incoterm: T['io.flow.v0.enums.incoterm'],
10572
- flow_order_id: PropTypes.string,
10573
- tax_registration: T['io.flow.v0.models.tax_registration'],
10574
- geo: T['io.flow.v0.models.order_geo'],
10575
- });
10576
-
10577
- T['io.flow.v0.models.allocation_order_summary'] = PropTypes.exact({
10578
- id: PropTypes.string.isRequired,
10579
- number: PropTypes.string.isRequired,
10580
- submitted_at: PropTypes.string,
10581
- });
10582
-
10583
- T['io.flow.v0.models.allocation_v2'] = PropTypes.exact({
10584
- id: PropTypes.string.isRequired,
10585
- order: T['io.flow.v0.models.allocation_order_summary'].isRequired,
10586
- details: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_detail']).isRequired,
10587
- total: T['io.flow.v0.models.localized_total'].isRequired,
10588
- });
10589
-
10590
- T['io.flow.v0.models.allocation_upserted_v2'] = PropTypes.exact({
10591
- discriminator: PropTypes.oneOf(['allocation_upserted_v2']).isRequired,
10592
- event_id: PropTypes.string.isRequired,
10593
- timestamp: PropTypes.string.isRequired,
10594
- organization: PropTypes.string.isRequired,
10595
- allocation: T['io.flow.v0.models.allocation_v2'].isRequired,
10596
- });
10597
-
10598
- T['io.flow.v0.models.allocation'] = PropTypes.exact({
10599
- order: T['io.flow.v0.models.allocation_order_summary'].isRequired,
10600
- details: PropTypes.arrayOf(T['io.flow.v0.unions.allocation_detail']).isRequired,
10601
- });
10602
-
10603
- T['io.flow.v0.models.adyen_challenge_shopper_data'] = PropTypes.exact({
10604
- discriminator: PropTypes.oneOf(['adyen_challenge_shopper_data']).isRequired,
10605
- challenge_token: PropTypes.string.isRequired,
10606
- });
10607
-
10608
- T['io.flow.v0.models.adyen_identify_shopper_data'] = PropTypes.exact({
10609
- discriminator: PropTypes.oneOf(['adyen_identify_shopper_data']).isRequired,
10610
- fingerprint_token: PropTypes.string.isRequired,
10611
- });
10612
-
10613
- T['io.flow.v0.unions.adyen_native_data'] = PropTypes.oneOfType([
10614
- T['io.flow.v0.models.adyen_identify_shopper_data'],
10615
- T['io.flow.v0.models.adyen_challenge_shopper_data'],
10616
- ]);
10617
-
10618
- T['io.flow.v0.models.adyen_native_action_details'] = PropTypes.exact({
10619
- discriminator: PropTypes.oneOf(['adyen_native_action_details']).isRequired,
10620
- origin_key: PropTypes.string,
10621
- data: T['io.flow.v0.unions.adyen_native_data'],
10622
- });
10623
-
10624
- T['io.flow.v0.unions.authorization_result_action_details'] = PropTypes.oneOfType([
10625
- T['io.flow.v0.models.adyen_native_action_details'],
10626
- T['io.flow.v0.models.stripe_authorization_result_action_details'],
10627
- T['io.flow.v0.models.threeds_identify_action_details'],
10628
- T['io.flow.v0.models.threeds_challenge_action_details'],
10629
- T['io.flow.v0.models.applepay_sdk_create_result_action_details'],
10630
- T['io.flow.v0.models.applepay_sdk_validate_result_action_details'],
10631
- T['io.flow.v0.models.klarna_sdk_authorization_result_action_details'],
10632
- T['io.flow.v0.models.select_issuer_option_action_details'],
10633
- ]);
10634
-
10635
- T['io.flow.v0.models.authorization_result_action_native'] = PropTypes.exact({
10636
- discriminator: PropTypes.oneOf(['authorization_result_action_native']).isRequired,
10637
- type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
10638
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
10639
- details: T['io.flow.v0.unions.authorization_result_action_details'],
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'],
10640
10919
  });
10641
10920
 
10642
- T['io.flow.v0.models.authorization_result_action_get'] = PropTypes.exact({
10643
- discriminator: PropTypes.oneOf(['authorization_result_action_get']).isRequired,
10644
- type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
10645
- url: PropTypes.string,
10646
- details: T['io.flow.v0.unions.authorization_result_action_details'],
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,
10647
10926
  });
10648
10927
 
10649
- T['io.flow.v0.unions.authorization_result_action'] = PropTypes.oneOfType([
10650
- T['io.flow.v0.models.authorization_result_action_get'],
10651
- T['io.flow.v0.models.authorization_result_action_post'],
10652
- T['io.flow.v0.models.authorization_result_action_wait'],
10653
- T['io.flow.v0.models.authorization_result_action_native'],
10654
- ]);
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
+ });
10655
10935
 
10656
- T['io.flow.v0.models.authorization_result'] = PropTypes.exact({
10657
- status: T['io.flow.v0.enums.authorization_status'].isRequired,
10658
- action: T['io.flow.v0.unions.authorization_result_action'],
10659
- decline_code: T['io.flow.v0.enums.authorization_decline_code'],
10660
- avs: T['io.flow.v0.models.avs'],
10661
- cvv: T['io.flow.v0.models.cvv'],
10662
- three_d_secure: T['io.flow.v0.models.three_d_secure'],
10663
- description: T['io.flow.v0.models.authorization_result_description'],
10664
- authorization_code: T['io.flow.v0.models.authorization_code'],
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,
10665
10939
  });
10666
10940
 
10667
- T['io.flow.v0.enums.adjustment_reason_key'] = PropTypes.oneOf(['duty_deminimis', 'vat_deminimis']);
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
+ ]);
10668
10954
 
10669
- T['io.flow.v0.models.adjustment_reason'] = PropTypes.exact({
10670
- key: T['io.flow.v0.enums.adjustment_reason_key'].isRequired,
10671
- label: PropTypes.string.isRequired,
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,
10672
10959
  });
10673
10960
 
10674
- T['io.flow.v0.models.localized_adjustment'] = PropTypes.exact({
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,
10675
10964
  currency: PropTypes.string.isRequired,
10676
- amount: PropTypes.number.isRequired,
10677
- label: PropTypes.string.isRequired,
10678
- base: T['io.flow.v0.models.price'].isRequired,
10679
- reason: T['io.flow.v0.models.adjustment_reason'].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,
10680
10973
  });
10681
10974
 
10682
- T['io.flow.v0.models.localized_item_duty'] = PropTypes.exact({
10683
- key: PropTypes.oneOf(['localized_item_duty']).isRequired,
10684
- currency: PropTypes.string.isRequired,
10685
- amount: PropTypes.number.isRequired,
10686
- label: PropTypes.string.isRequired,
10687
- base: T['io.flow.v0.models.price'].isRequired,
10688
- adjustment: T['io.flow.v0.models.localized_adjustment'],
10689
- basis: T['io.flow.v0.models.money_with_base'],
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,
10690
10982
  });
10691
10983
 
10692
- T['io.flow.v0.models.localized_item_vat'] = PropTypes.exact({
10693
- key: PropTypes.oneOf(['localized_item_vat']).isRequired,
10694
- currency: PropTypes.string.isRequired,
10695
- amount: PropTypes.number.isRequired,
10696
- label: PropTypes.string.isRequired,
10697
- base: T['io.flow.v0.models.price'].isRequired,
10698
- name: PropTypes.string.isRequired,
10699
- adjustment: T['io.flow.v0.models.localized_adjustment'],
10700
- accuracy: T['io.flow.v0.enums.price_accuracy'],
10701
- basis: T['io.flow.v0.models.money_with_base'],
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,
10702
10991
  });
10703
10992
 
10704
- T['io.flow.v0.models.local_item_attribute_pricing'] = PropTypes.exact({
10705
- pretax_price: T['io.flow.v0.models.price_with_base'].isRequired,
10706
- vat: T['io.flow.v0.models.localized_item_vat'],
10707
- duty: T['io.flow.v0.models.localized_item_duty'],
10708
- price: T['io.flow.v0.models.localized_item_price'].isRequired,
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,
10709
11000
  });
10710
11001
 
10711
- T['io.flow.v0.models.local_item_pricing'] = PropTypes.exact({
10712
- price: T['io.flow.v0.models.localized_item_price'].isRequired,
10713
- vat: T['io.flow.v0.models.localized_item_vat'],
10714
- duty: T['io.flow.v0.models.localized_item_duty'],
10715
- shipping: T['io.flow.v0.models.price'],
10716
- attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
10717
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.local_item_attribute_pricing']),
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,
10718
11006
  });
10719
11007
 
10720
- T['io.flow.v0.unions.localized_price'] = PropTypes.oneOfType([
10721
- T['io.flow.v0.models.localized_item_price'],
10722
- T['io.flow.v0.models.localized_item_vat'],
10723
- T['io.flow.v0.models.localized_item_duty'],
10724
- T['io.flow.v0.models.localized_total'],
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'],
10725
11011
  ]);
10726
11012
 
10727
- T['io.flow.v0.models.local'] = PropTypes.exact({
10728
- experience: T['io.flow.v0.models.experience_summary'].isRequired,
10729
- prices: PropTypes.arrayOf(T['io.flow.v0.unions.localized_price']).isRequired,
10730
- rates: PropTypes.arrayOf(T['io.flow.v0.models.rate']).isRequired,
10731
- spot_rates: PropTypes.arrayOf(PropTypes.object).isRequired,
10732
- status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
10733
- attributes: PropTypes.objectOf(PropTypes.string),
10734
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']),
10735
- });
10736
-
10737
- T['io.flow.v0.models.localized_line_item'] = PropTypes.exact({
10738
- id: PropTypes.string,
10739
- number: PropTypes.string.isRequired,
10740
- name: PropTypes.string.isRequired,
10741
- quantity: PropTypes.number.isRequired,
10742
- image: T['io.flow.v0.models.order_summary_image'],
10743
- center: PropTypes.string,
10744
- price: T['io.flow.v0.models.money'],
10745
- discount: T['io.flow.v0.models.localized_line_item_discount'],
10746
- discounts: PropTypes.arrayOf(T['io.flow.v0.models.localized_line_item_discount']),
10747
- attributes: PropTypes.objectOf(PropTypes.string),
10748
- local: T['io.flow.v0.models.local'].isRequired,
10749
- shipment_estimate: T['io.flow.v0.models.datetime_range'],
10750
- price_source: T['io.flow.v0.unions.price_source'],
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'],
10751
11017
  });
10752
11018
 
10753
- T['io.flow.v0.models.item'] = PropTypes.exact({
10754
- id: PropTypes.string.isRequired,
10755
- number: PropTypes.string.isRequired,
10756
- locale: PropTypes.string.isRequired,
10757
- name: PropTypes.string.isRequired,
10758
- price: T['io.flow.v0.models.price'].isRequired,
10759
- categories: PropTypes.arrayOf(PropTypes.string).isRequired,
10760
- description: PropTypes.string,
10761
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10762
- dimensions: T['io.flow.v0.models.dimensions'].isRequired,
10763
- images: PropTypes.arrayOf(T['io.flow.v0.models.image']).isRequired,
10764
- local: T['io.flow.v0.models.local'],
10765
- created_at: PropTypes.string,
10766
- updated_at: PropTypes.string,
10767
- });
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
+ ]);
10768
11034
 
10769
- T['io.flow.v0.models.subcatalog_item'] = PropTypes.exact({
10770
- id: PropTypes.string.isRequired,
10771
- item: T['io.flow.v0.models.item'].isRequired,
10772
- status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
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,
10773
11048
  });
10774
11049
 
10775
- T['io.flow.v0.models.subcatalog_item_version'] = PropTypes.exact({
11050
+ T['io.flow.v0.models.ratecard_lane'] = PropTypes.exact({
10776
11051
  id: PropTypes.string.isRequired,
10777
- timestamp: PropTypes.string.isRequired,
10778
- type: T['io.flow.v0.enums.change_type'].isRequired,
10779
- subcatalog_item: T['io.flow.v0.models.subcatalog_item'].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,
10780
11065
  });
10781
11066
 
10782
- T['io.flow.v0.models.item_version'] = PropTypes.exact({
11067
+ T['io.flow.v0.models.ratecard_lane_version'] = PropTypes.exact({
10783
11068
  id: PropTypes.string.isRequired,
10784
11069
  timestamp: PropTypes.string.isRequired,
10785
11070
  type: T['io.flow.v0.enums.change_type'].isRequired,
10786
- item: T['io.flow.v0.models.item'].isRequired,
10787
- });
10788
-
10789
- T['io.flow.v0.models.checkout_item_content'] = PropTypes.exact({
10790
- item: T['io.flow.v0.models.item'].isRequired,
10791
- name: PropTypes.string.isRequired,
10792
- description: PropTypes.string,
10793
- attributes: PropTypes.arrayOf(T['io.flow.v0.models.checkout_item_content_attribute']).isRequired,
10794
- image: T['io.flow.v0.models.image'],
10795
- });
10796
-
10797
- T['io.flow.v0.models.klaviyo_line_item'] = PropTypes.exact({
10798
- content: T['io.flow.v0.models.checkout_item_content'].isRequired,
10799
- quantity: PropTypes.number.isRequired,
10800
- price: T['io.flow.v0.models.price_with_base'].isRequired,
10801
- line_price: T['io.flow.v0.models.price_with_base'].isRequired,
10802
- });
10803
-
10804
- T['io.flow.v0.models.klaviyo_order_content'] = PropTypes.exact({
10805
- line_items: PropTypes.arrayOf(T['io.flow.v0.models.klaviyo_line_item']).isRequired,
10806
- prices: T['io.flow.v0.models.klaviyo_order_prices'].isRequired,
10807
- checkout_url: PropTypes.string.isRequired,
10808
- });
10809
-
10810
- T['io.flow.v0.models.catalog_item_upserted_v2'] = PropTypes.exact({
10811
- discriminator: PropTypes.oneOf(['catalog_item_upserted_v2']).isRequired,
10812
- event_id: PropTypes.string.isRequired,
10813
- timestamp: PropTypes.string.isRequired,
10814
- organization: PropTypes.string.isRequired,
10815
- item: T['io.flow.v0.models.item'].isRequired,
11071
+ ratecard_lane: T['io.flow.v0.models.ratecard_lane'].isRequired,
10816
11072
  });
10817
11073
 
10818
- T['io.flow.v0.models.catalog_item_deleted_v2'] = PropTypes.exact({
10819
- 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,
10820
11076
  event_id: PropTypes.string.isRequired,
10821
11077
  timestamp: PropTypes.string.isRequired,
10822
11078
  organization: PropTypes.string.isRequired,
10823
- item: T['io.flow.v0.models.item'].isRequired,
11079
+ ratecard_lane: T['io.flow.v0.models.ratecard_lane'].isRequired,
10824
11080
  });
10825
11081
 
10826
- T['io.flow.v0.models.export_localized_item_prices_detail'] = PropTypes.exact({
10827
- item: T['io.flow.v0.models.localized_item_price'].isRequired,
10828
- vat: T['io.flow.v0.models.localized_item_vat'],
10829
- duty: T['io.flow.v0.models.localized_item_duty'],
10830
- shipping_price: T['io.flow.v0.models.price'],
10831
- 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,
10832
11085
  });
10833
11086
 
10834
- T['io.flow.v0.models.export_localized_item_prices'] = PropTypes.exact({
10835
- organization: T['io.flow.v0.models.organization_reference'].isRequired,
10836
- experience: T['io.flow.v0.models.experience_summary'].isRequired,
10837
- item: T['io.flow.v0.models.catalog_item_reference'].isRequired,
10838
- prices: T['io.flow.v0.models.export_localized_item_prices_detail'].isRequired,
10839
- status: T['io.flow.v0.enums.subcatalog_item_status'],
10840
- 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,
10841
11094
  });
10842
11095
 
10843
- T['io.flow.v0.enums.address_verification_result_field_code'] = PropTypes.oneOf(['matched', 'not_available', 'not_checked', 'not_matched']);
10844
-
10845
- T['io.flow.v0.models.address_verification_result'] = PropTypes.exact({
10846
- street_code: T['io.flow.v0.enums.address_verification_result_field_code'].isRequired,
10847
- postal_code: T['io.flow.v0.enums.address_verification_result_field_code'].isRequired,
10848
- name_code: T['io.flow.v0.enums.address_verification_result_field_code'].isRequired,
10849
- 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,
10850
11103
  });
10851
11104
 
10852
- T['io.flow.v0.models.transaction_details_card'] = PropTypes.exact({
10853
- type: PropTypes.oneOf(['card']).isRequired,
10854
- address_verification_result: T['io.flow.v0.models.address_verification_result'],
10855
- cvv_result: T['io.flow.v0.models.cvv_result'],
10856
- 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'],
10857
11111
  });
10858
11112
 
10859
- T['io.flow.v0.unions.transaction_details'] = PropTypes.oneOfType([T['io.flow.v0.models.transaction_details_card']]);
10860
-
10861
- T['io.flow.v0.models.payment_method_summary_card'] = PropTypes.exact({
10862
- type: PropTypes.oneOf(['card']).isRequired,
10863
- merchant_of_record: T['io.flow.v0.enums.merchant_of_record'].isRequired,
10864
- last_four: PropTypes.string.isRequired,
10865
- card_type: T['io.flow.v0.enums.card_type'].isRequired,
10866
- id: PropTypes.string.isRequired,
10867
- reference: PropTypes.string,
10868
- 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,
10869
11116
  });
10870
11117
 
10871
- T['io.flow.v0.unions.payment_method_summary'] = PropTypes.oneOfType([
10872
- T['io.flow.v0.models.payment_method_summary_card'],
10873
- T['io.flow.v0.models.payment_method_summary_klarna'],
10874
- T['io.flow.v0.models.payment_method_summary_afterpay'],
10875
- T['io.flow.v0.models.payment_method_summary_applepay'],
10876
- T['io.flow.v0.models.payment_method_summary_googlepay'],
10877
- T['io.flow.v0.models.payment_method_summary_paypal'],
10878
- T['io.flow.v0.models.payment_method_summary_ideal'],
10879
- T['io.flow.v0.models.payment_method_summary_sofort'],
10880
- T['io.flow.v0.models.payment_method_summary_bancontact'],
10881
- ]);
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
+ });
10882
11129
 
10883
- T['io.flow.v0.models.payment_authorization'] = PropTypes.exact({
10884
- id: PropTypes.string.isRequired,
10885
- payment_method_summary: T['io.flow.v0.unions.payment_method_summary'].isRequired,
10886
- captures: PropTypes.arrayOf(T['io.flow.v0.models.payment_capture']).isRequired,
10887
- refunds: PropTypes.arrayOf(T['io.flow.v0.models.payment_refund']).isRequired,
10888
- reversals: PropTypes.arrayOf(T['io.flow.v0.models.payment_reversal']).isRequired,
10889
- created_at: PropTypes.string.isRequired,
10890
- updated_at: PropTypes.string.isRequired,
10891
- status: T['io.flow.v0.models.payment_authorization_status'].isRequired,
10892
- 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,
10893
11135
  currency: PropTypes.string.isRequired,
10894
- base_amount: PropTypes.number,
10895
- 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']),
10896
11139
  });
10897
11140
 
10898
- T['io.flow.v0.models.payment_information'] = PropTypes.exact({
10899
- amount_refundable: PropTypes.number,
10900
- amount_refunded: PropTypes.number,
10901
- refundable_before: PropTypes.string,
10902
- amount_capturable: PropTypes.number,
10903
- amount_captured: PropTypes.number,
10904
- capturable_before: PropTypes.string,
10905
- 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,
10906
11146
  });
10907
11147
 
10908
- T['io.flow.v0.models.address'] = PropTypes.exact({
10909
- text: PropTypes.string,
10910
- streets: PropTypes.arrayOf(PropTypes.string),
10911
- street_number: PropTypes.string,
10912
- city: PropTypes.string,
10913
- province: PropTypes.string,
10914
- postal: PropTypes.string,
10915
- country: PropTypes.string,
10916
- latitude: PropTypes.string,
10917
- 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,
10918
11152
  });
10919
11153
 
10920
- T['io.flow.v0.models.tracking_label_event_upserted'] = PropTypes.exact({
10921
- discriminator: PropTypes.oneOf(['tracking_label_event_upserted']).isRequired,
10922
- event_id: PropTypes.string.isRequired,
10923
- timestamp: PropTypes.string.isRequired,
10924
- organization: PropTypes.string.isRequired,
10925
- address: T['io.flow.v0.models.address'].isRequired,
10926
- carrier: PropTypes.string.isRequired,
10927
- carrier_timestamp: PropTypes.string.isRequired,
10928
- carrier_tracking_number: PropTypes.string.isRequired,
10929
- flow_tracking_number: PropTypes.string.isRequired,
10930
- status: PropTypes.string.isRequired,
10931
- delivery_estimate: PropTypes.string,
10932
- description: PropTypes.string,
10933
- 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,
10934
11159
  });
10935
11160
 
10936
- T['io.flow.v0.models.tracking_event'] = PropTypes.exact({
11161
+ T['io.flow.v0.models.dimension_estimate_version'] = PropTypes.exact({
10937
11162
  id: PropTypes.string.isRequired,
10938
- address: T['io.flow.v0.models.address'].isRequired,
10939
- status: T['io.flow.v0.enums.tracking_status'].isRequired,
10940
11163
  timestamp: PropTypes.string.isRequired,
10941
- description: PropTypes.string,
11164
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11165
+ dimension_estimate: T['io.flow.v0.models.dimension_estimate'].isRequired,
10942
11166
  });
10943
11167
 
10944
- T['io.flow.v0.models.tracking_label'] = PropTypes.exact({
10945
- id: PropTypes.string.isRequired,
10946
- carrier: PropTypes.string.isRequired,
10947
- carrier_tracking_number: PropTypes.string.isRequired,
10948
- events: PropTypes.arrayOf(T['io.flow.v0.models.tracking_event']).isRequired,
10949
- status: T['io.flow.v0.enums.tracking_status'].isRequired,
10950
- timestamp: PropTypes.string.isRequired,
10951
- delivery_estimate: PropTypes.string,
10952
- 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'],
10953
11174
  });
10954
11175
 
10955
- T['io.flow.v0.models.tracking'] = PropTypes.exact({
10956
- id: PropTypes.string.isRequired,
10957
- labels: PropTypes.arrayOf(T['io.flow.v0.models.tracking_label']).isRequired,
10958
- status: T['io.flow.v0.enums.tracking_status'].isRequired,
10959
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10960
- url: PropTypes.string.isRequired,
10961
- window: T['io.flow.v0.models.datetime_range'],
10962
- 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'],
10963
11183
  });
10964
11184
 
10965
11185
  T['io.flow.v0.models.shopify_merchant_application_form'] = PropTypes.exact({
@@ -11021,235 +11241,197 @@ T['io.flow.v0.models.shopify_merchant_application'] = PropTypes.exact({
11021
11241
  default_country_of_origin: PropTypes.string,
11022
11242
  ratecard: T['io.flow.v0.models.ratecard_reference'],
11023
11243
  rate_card: PropTypes.string.isRequired,
11024
- created_at: PropTypes.string.isRequired,
11025
- activated_at: PropTypes.string,
11026
- status_updated_at: PropTypes.string,
11027
- shop: T['io.flow.v0.models.shop'],
11028
- last_year_xborder_gmv: T['io.flow.v0.models.money'],
11029
- last_month_xborder_gmv: T['io.flow.v0.models.money'],
11030
- average_order_value: T['io.flow.v0.models.money'],
11031
- glbe_merchant_guid: PropTypes.string,
11032
- mcc_codes: PropTypes.arrayOf(PropTypes.number),
11033
- });
11034
-
11035
- T['io.flow.v0.unions.merchant_application'] = PropTypes.oneOfType([T['io.flow.v0.models.shopify_merchant_application']]);
11036
-
11037
- T['io.flow.v0.models.merchant_application_upserted'] = PropTypes.exact({
11038
- discriminator: PropTypes.oneOf(['merchant_application_upserted']).isRequired,
11039
- event_id: PropTypes.string.isRequired,
11040
- timestamp: PropTypes.string.isRequired,
11041
- merchant_application: T['io.flow.v0.unions.merchant_application'].isRequired,
11042
- });
11043
-
11044
- T['io.flow.v0.models.merchant_application_deleted'] = PropTypes.exact({
11045
- discriminator: PropTypes.oneOf(['merchant_application_deleted']).isRequired,
11046
- event_id: PropTypes.string.isRequired,
11047
- timestamp: PropTypes.string.isRequired,
11048
- merchant_application: T['io.flow.v0.unions.merchant_application'].isRequired,
11049
- });
11050
-
11051
- T['io.flow.v0.models.know_your_business_usa_form'] = PropTypes.exact({
11052
- discriminator: PropTypes.oneOf(['know_your_business_usa_form']).isRequired,
11053
- primary_entity: T['io.flow.v0.unions.entity'].isRequired,
11054
- parent_company: T['io.flow.v0.models.company'],
11055
- ultimate_parent_company: T['io.flow.v0.models.company'],
11056
- ultimate_beneficiary_owner: T['io.flow.v0.models.individual'].isRequired,
11057
- business_url: PropTypes.string.isRequired,
11058
- business_address: T['io.flow.v0.models.address'].isRequired,
11059
- });
11060
-
11061
- T['io.flow.v0.unions.know_your_business_form'] = PropTypes.oneOfType([T['io.flow.v0.models.know_your_business_usa_form']]);
11062
-
11063
- T['io.flow.v0.models.know_your_business_usa'] = PropTypes.exact({
11064
- discriminator: PropTypes.oneOf(['know_your_business_usa']).isRequired,
11065
- id: PropTypes.string.isRequired,
11066
- organization_id: PropTypes.string.isRequired,
11067
- shop: T['io.flow.v0.models.shop'],
11068
- primary_entity: T['io.flow.v0.unions.entity'].isRequired,
11069
- parent_company: T['io.flow.v0.models.company'],
11070
- ultimate_parent_company: T['io.flow.v0.models.company'],
11071
- ultimate_beneficiary_owner: T['io.flow.v0.models.individual'].isRequired,
11072
- business_url: PropTypes.string.isRequired,
11073
- business_address: T['io.flow.v0.models.address'].isRequired,
11074
- });
11075
-
11076
- T['io.flow.v0.unions.know_your_business'] = PropTypes.oneOfType([T['io.flow.v0.models.know_your_business_usa']]);
11077
-
11078
- T['io.flow.v0.models.harmonized_landed_cost_item'] = PropTypes.exact({
11079
- item: T['io.flow.v0.models.harmonized_item_reference'].isRequired,
11080
- duty: T['io.flow.v0.models.duty'].isRequired,
11081
- tax: T['io.flow.v0.models.tax'].isRequired,
11082
- tax_applicability: T['io.flow.v0.enums.tax_applicability'],
11083
- origin: PropTypes.string,
11084
- hs_code: PropTypes.string,
11085
- tariff_code: PropTypes.string,
11086
- customs_description: PropTypes.string,
11087
- 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),
11088
11253
  });
11089
11254
 
11090
- T['io.flow.v0.models.harmonized_landed_cost'] = PropTypes.exact({
11091
- address: T['io.flow.v0.models.address'].isRequired,
11092
- items: PropTypes.arrayOf(T['io.flow.v0.models.harmonized_landed_cost_item']).isRequired,
11093
- tax_registration: T['io.flow.v0.models.tax_registration'],
11094
- });
11255
+ T['io.flow.v0.unions.merchant_application'] = PropTypes.oneOfType([T['io.flow.v0.models.shopify_merchant_application']]);
11095
11256
 
11096
- T['io.flow.v0.models.harmonized_landed_cost_upserted'] = PropTypes.exact({
11097
- 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,
11098
11259
  event_id: PropTypes.string.isRequired,
11099
11260
  timestamp: PropTypes.string.isRequired,
11100
- organization: PropTypes.string.isRequired,
11101
- id: PropTypes.string.isRequired,
11102
- landed_cost: T['io.flow.v0.models.harmonized_landed_cost'].isRequired,
11261
+ merchant_application: T['io.flow.v0.unions.merchant_application'].isRequired,
11103
11262
  });
11104
11263
 
11105
- T['io.flow.v0.models.consumer_invoice_center_reference'] = PropTypes.exact({
11106
- id: PropTypes.string.isRequired,
11107
- key: PropTypes.string.isRequired,
11108
- name: PropTypes.string.isRequired,
11109
- 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,
11110
11269
  });
11111
11270
 
11112
- T['io.flow.v0.models.address_suggestion'] = PropTypes.exact({
11113
- address: T['io.flow.v0.models.address'].isRequired,
11114
- streets: PropTypes.bool.isRequired,
11115
- city: PropTypes.bool.isRequired,
11116
- province: PropTypes.bool.isRequired,
11117
- postal: PropTypes.bool.isRequired,
11118
- 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,
11119
11273
  });
11120
11274
 
11121
- T['io.flow.v0.models.address_verification'] = PropTypes.exact({
11122
- address: T['io.flow.v0.models.address'].isRequired,
11123
- valid: PropTypes.bool.isRequired,
11124
- 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,
11125
11277
  });
11126
11278
 
11127
- T['io.flow.v0.models.field_validation_pattern'] = PropTypes.exact({
11128
- discriminator: PropTypes.oneOf(['pattern']).isRequired,
11129
- 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'],
11130
11282
  });
11131
11283
 
11132
- T['io.flow.v0.models.field_validation_max'] = PropTypes.exact({
11133
- discriminator: PropTypes.oneOf(['max']).isRequired,
11134
- 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']),
11135
11294
  });
11136
11295
 
11137
- T['io.flow.v0.models.field_validation_min'] = PropTypes.exact({
11138
- discriminator: PropTypes.oneOf(['min']).isRequired,
11139
- 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']),
11140
11307
  });
11141
11308
 
11142
- T['io.flow.v0.models.field_validation_required_if_present'] = PropTypes.exact({
11143
- discriminator: PropTypes.oneOf(['required_if_present']).isRequired,
11144
- 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']),
11145
11320
  });
11146
11321
 
11147
- T['io.flow.v0.models.field_validation_required'] = PropTypes.exact({
11148
- discriminator: PropTypes.oneOf(['required']).isRequired,
11149
- 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,
11150
11326
  });
11151
11327
 
11152
- T['io.flow.v0.models.address_configuration_province_translation_locale'] = PropTypes.exact({
11328
+ T['io.flow.v0.models.item'] = PropTypes.exact({
11153
11329
  id: PropTypes.string.isRequired,
11330
+ number: PropTypes.string.isRequired,
11331
+ locale: PropTypes.string.isRequired,
11154
11332
  name: PropTypes.string.isRequired,
11155
- 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,
11156
11342
  });
11157
11343
 
11158
- T['io.flow.v0.enums.address_field_name'] = PropTypes.oneOf([
11159
- 'first_name',
11160
- 'last_name',
11161
- 'street_1',
11162
- 'street_2',
11163
- 'city',
11164
- 'province',
11165
- 'postal',
11166
- 'country',
11167
- 'phone',
11168
- 'company',
11169
- 'vat_registration_number',
11170
- ]);
11171
-
11172
- T['io.flow.v0.models.address_configuration_field_placement'] = PropTypes.exact({
11173
- 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,
11174
11348
  });
11175
11349
 
11176
- T['io.flow.v0.models.address_configuration_province_translation'] = PropTypes.exact({
11177
- locale: T['io.flow.v0.models.address_configuration_province_translation_locale'].isRequired,
11178
- 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,
11179
11355
  });
11180
11356
 
11181
- T['io.flow.v0.unions.field_validation_rule'] = PropTypes.oneOfType([
11182
- T['io.flow.v0.models.field_validation_required'],
11183
- T['io.flow.v0.models.field_validation_required_if_present'],
11184
- T['io.flow.v0.models.field_validation_min'],
11185
- T['io.flow.v0.models.field_validation_max'],
11186
- T['io.flow.v0.models.field_validation_pattern'],
11187
- ]);
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
+ });
11188
11363
 
11189
- 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
+ });
11190
11371
 
11191
- T['io.flow.v0.enums.province_type'] = PropTypes.oneOf([
11192
- 'area',
11193
- 'city',
11194
- 'county',
11195
- 'department',
11196
- 'dependency',
11197
- 'district',
11198
- 'do_si',
11199
- 'emirate',
11200
- 'entity',
11201
- 'island',
11202
- 'municipality',
11203
- 'oblast',
11204
- 'outlying_area',
11205
- 'parish',
11206
- 'prefecture',
11207
- 'province',
11208
- 'state',
11209
- 'territory',
11210
- 'other',
11211
- ]);
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
+ });
11212
11378
 
11213
- T['io.flow.v0.models.province'] = PropTypes.exact({
11214
- id: PropTypes.string.isRequired,
11215
- iso_3166_2: PropTypes.string.isRequired,
11216
- name: PropTypes.string.isRequired,
11217
- country: PropTypes.string.isRequired,
11218
- province_type: T['io.flow.v0.enums.province_type'].isRequired,
11219
- 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,
11220
11383
  });
11221
11384
 
11222
- T['io.flow.v0.models.address_configuration_format'] = PropTypes.exact({
11223
- 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,
11224
11391
  });
11225
11392
 
11226
- T['io.flow.v0.models.address_configuration_province'] = PropTypes.exact({
11227
- value: PropTypes.string.isRequired,
11228
- name: PropTypes.string.isRequired,
11229
- 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,
11230
11399
  });
11231
11400
 
11232
- T['io.flow.v0.models.address_field_validation'] = PropTypes.exact({
11233
- first_name: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11234
- last_name: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11235
- street_1: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11236
- street_2: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11237
- city: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11238
- province: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11239
- postal: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11240
- phone: PropTypes.arrayOf(T['io.flow.v0.unions.field_validation_rule']).isRequired,
11241
- 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,
11242
11404
  });
11243
11405
 
11244
- T['io.flow.v0.models.address_configuration'] = PropTypes.exact({
11245
- country: PropTypes.string.isRequired,
11246
- field_validation: T['io.flow.v0.models.address_field_validation'].isRequired,
11247
- provinces: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_province']).isRequired,
11248
- formats: PropTypes.arrayOf(T['io.flow.v0.models.address_configuration_format']),
11249
- province_type: T['io.flow.v0.enums.province_type'],
11250
- 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,
11251
11415
  });
11252
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
+
11253
11435
  T['io.flow.v0.models.klarna_payment_category'] = PropTypes.exact({
11254
11436
  id: PropTypes.string.isRequired,
11255
11437
  name: PropTypes.string.isRequired,
@@ -14533,7 +14715,7 @@ T['io.flow.stripe.v0.enums.klarna_payment_method_category_type'] = PropTypes.one
14533
14715
  'pay_over_time',
14534
14716
  ]);
14535
14717
 
14536
- 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']);
14537
14719
 
14538
14720
  T['io.flow.stripe.v0.models.card_request'] = PropTypes.exact({
14539
14721
  object: PropTypes.string.isRequired,
@@ -14688,6 +14870,7 @@ export const abandonedOrderPromotionForm = T['io.flow.v0.models.abandoned_order_
14688
14870
  export const abandonedOrderPromotionStatus = T['io.flow.v0.enums.abandoned_order_promotion_status'];
14689
14871
  export const abandonedOrderSettingStatus = T['io.flow.v0.enums.abandoned_order_setting_status'];
14690
14872
  export const abandonedOrderSettings = T['io.flow.v0.models.abandoned_order_settings'];
14873
+ export const accountIdReference = T['io.flow.v0.models.account_id_reference'];
14691
14874
  export const accountOrdersExportType = T['io.flow.v0.models.account_orders_export_type'];
14692
14875
  export const accountReference = T['io.flow.v0.models.account_reference'];
14693
14876
  export const accountTransactionsExportType = T['io.flow.v0.models.account_transactions_export_type'];
@@ -14707,6 +14890,7 @@ export const actionUseSdkPaypal = T['io.flow.v0.models.action_use_sdk_paypal'];
14707
14890
  export const actionUseSdkStripeV3 = T['io.flow.v0.models.action_use_sdk_stripe_v3'];
14708
14891
  export const actionWait = T['io.flow.v0.models.action_wait'];
14709
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'];
14710
14894
  export const additionalServicesRequested = T['io.flow.v0.models.additional_services_requested'];
14711
14895
  export const address = T['io.flow.v0.models.address'];
14712
14896
  export const addressConfiguration = T['io.flow.v0.models.address_configuration'];
@@ -15143,6 +15327,8 @@ export const ecommercePlatformForm = T['io.flow.v0.models.ecommerce_platform_for
15143
15327
  export const ecommercePlatformType = T['io.flow.v0.enums.ecommerce_platform_type'];
15144
15328
  export const ecommercePlatformUpserted = T['io.flow.v0.models.ecommerce_platform_upserted'];
15145
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'];
15146
15332
  export const emailAbandonedOrderPromotion = T['io.flow.v0.models.email_abandoned_order_promotion'];
15147
15333
  export const emailAbandonedOrderUrls = T['io.flow.v0.models.email_abandoned_order_urls'];
15148
15334
  export const emailNotification = T['io.flow.v0.models.email_notification'];
@@ -15250,6 +15436,11 @@ export const fieldValidationPattern = T['io.flow.v0.models.field_validation_patt
15250
15436
  export const fieldValidationRequired = T['io.flow.v0.models.field_validation_required'];
15251
15437
  export const fieldValidationRequiredIfPresent = T['io.flow.v0.models.field_validation_required_if_present'];
15252
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'];
15253
15444
  export const flatRate = T['io.flow.v0.models.flat_rate'];
15254
15445
  export const flatRateForm = T['io.flow.v0.models.flat_rate_form'];
15255
15446
  export const flowBehavior = T['io.flow.v0.enums.flow_behavior'];
@@ -15257,6 +15448,7 @@ export const flowCenterReference = T['io.flow.v0.models.flow_center_reference'];
15257
15448
  export const flowEntity = T['io.flow.v0.enums.flow_entity'];
15258
15449
  export const flowItemIndexMetadata = T['io.flow.v0.models.flow_item_index_metadata'];
15259
15450
  export const flowRole = T['io.flow.v0.enums.flow_role'];
15451
+ export const flowTransaction = T['io.flow.v0.models.flow_transaction'];
15260
15452
  export const fraudEmailRule = T['io.flow.v0.models.fraud_email_rule'];
15261
15453
  export const fraudEmailRuleDecision = T['io.flow.v0.enums.fraud_email_rule_decision'];
15262
15454
  export const fraudEmailRuleForm = T['io.flow.v0.models.fraud_email_rule_form'];
@@ -15462,6 +15654,7 @@ export const lanePreselectPreference = T['io.flow.v0.enums.lane_preselect_prefer
15462
15654
  export const laneStrategy = T['io.flow.v0.enums.lane_strategy'];
15463
15655
  export const laneSummary = T['io.flow.v0.models.lane_summary'];
15464
15656
  export const language = T['io.flow.v0.models.language'];
15657
+ export const largePackageServiceFee = T['io.flow.v0.models.large_package_service_fee'];
15465
15658
  export const levyComponent = T['io.flow.v0.enums.levy_component'];
15466
15659
  export const levyInclusion = T['io.flow.v0.enums.levy_inclusion'];
15467
15660
  export const levyStrategy = T['io.flow.v0.enums.levy_strategy'];
@@ -15523,6 +15716,8 @@ export const merchantApplicationPutForm = T['io.flow.v0.unions.merchant_applicat
15523
15716
  export const merchantApplicationUpserted = T['io.flow.v0.models.merchant_application_upserted'];
15524
15717
  export const merchantApplicationsSummary = T['io.flow.v0.unions.merchant_applications_summary'];
15525
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'];
15526
15721
  export const merchantGiftCardBalance = T['io.flow.v0.models.merchant_gift_card_balance'];
15527
15722
  export const merchantGiftCardBalanceForm = T['io.flow.v0.models.merchant_gift_card_balance_form'];
15528
15723
  export const merchantGiftCardError = T['io.flow.v0.models.merchant_gift_card_error'];
@@ -16046,6 +16241,7 @@ export const regionReference = T['io.flow.v0.models.region_reference'];
16046
16241
  export const regionSetting = T['io.flow.v0.models.region_setting'];
16047
16242
  export const regionSettingForm = T['io.flow.v0.models.region_setting_form'];
16048
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'];
16049
16245
  export const remoteAreaRatecardFee = T['io.flow.v0.models.remote_area_ratecard_fee'];
16050
16246
  export const remoteAreaServiceFee = T['io.flow.v0.models.remote_area_service_fee'];
16051
16247
  export const repeatDaily = T['io.flow.v0.models.repeat_daily'];
@@ -16111,6 +16307,8 @@ export const scheduledExport = T['io.flow.v0.models.scheduled_export'];
16111
16307
  export const scheduledExportForm = T['io.flow.v0.models.scheduled_export_form'];
16112
16308
  export const scheduledPickup = T['io.flow.v0.models.scheduled_pickup'];
16113
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'];
16114
16312
  export const selectIssuerOptionActionDetails = T['io.flow.v0.models.select_issuer_option_action_details'];
16115
16313
  export const serviceDescription = T['io.flow.v0.unions.service_description'];
16116
16314
  export const serviceFee = T['io.flow.v0.unions.service_fee'];