@flowio/api-prop-types 10.16.90 → 10.16.91

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
@@ -1066,6 +1066,14 @@ T['io.flow.error.v0.models.generic_error'] = PropTypes.exact({
1066
1066
  messages: PropTypes.arrayOf(PropTypes.string).isRequired,
1067
1067
  });
1068
1068
 
1069
+ T['io.flow.token.v0.models.token_partner_reference'] = PropTypes.exact({
1070
+ id: PropTypes.string.isRequired,
1071
+ });
1072
+
1073
+ T['io.flow.common.v0.models.channel_reference'] = PropTypes.exact({
1074
+ id: PropTypes.string.isRequired,
1075
+ });
1076
+
1069
1077
  T['io.flow.common.v0.models.repeat_monthly'] = PropTypes.exact({
1070
1078
  discriminator: PropTypes.oneOf(['repeat_monthly']).isRequired,
1071
1079
  interval: PropTypes.number.isRequired,
@@ -1092,6 +1100,24 @@ T['io.flow.common.v0.models.user_reference'] = PropTypes.exact({
1092
1100
  id: PropTypes.string.isRequired,
1093
1101
  });
1094
1102
 
1103
+ T['io.flow.token.v0.models.channel_token_reference'] = PropTypes.exact({
1104
+ discriminator: PropTypes.oneOf(['channel_token_reference']).isRequired,
1105
+ id: PropTypes.string.isRequired,
1106
+ channel: T['io.flow.common.v0.models.channel_reference'].isRequired,
1107
+ user: T['io.flow.common.v0.models.user_reference'].isRequired,
1108
+ });
1109
+
1110
+ T['io.flow.token.v0.models.channel_token'] = PropTypes.exact({
1111
+ discriminator: PropTypes.oneOf(['channel_token']).isRequired,
1112
+ id: PropTypes.string.isRequired,
1113
+ channel: T['io.flow.common.v0.models.channel_reference'].isRequired,
1114
+ user: T['io.flow.common.v0.models.user_reference'].isRequired,
1115
+ partial: PropTypes.string.isRequired,
1116
+ cleartext: PropTypes.string,
1117
+ created_at: PropTypes.string.isRequired,
1118
+ description: PropTypes.string,
1119
+ });
1120
+
1095
1121
  T['io.flow.common.v0.enums.user_status'] = PropTypes.oneOf(['pending', 'active', 'inactive']);
1096
1122
  T['io.flow.common.v0.enums.holiday_calendar'] = PropTypes.oneOf(['us_bank_holidays', 'jewish_holidays']);
1097
1123
  T['io.flow.common.v0.enums.calendar'] = PropTypes.oneOf(['weekdays', 'everyday']);
@@ -1206,6 +1232,35 @@ T['io.flow.organization.v0.models.organization_authorization'] = PropTypes.exact
1206
1232
  environment: T['io.flow.common.v0.enums.environment'].isRequired,
1207
1233
  });
1208
1234
 
1235
+ T['io.flow.token.v0.models.partner_token_reference'] = PropTypes.exact({
1236
+ discriminator: PropTypes.oneOf(['partner_token_reference']).isRequired,
1237
+ id: PropTypes.string.isRequired,
1238
+ partner: T['io.flow.token.v0.models.token_partner_reference'].isRequired,
1239
+ environment: T['io.flow.common.v0.enums.environment'].isRequired,
1240
+ user: T['io.flow.common.v0.models.user_reference'].isRequired,
1241
+ });
1242
+
1243
+ T['io.flow.token.v0.models.partner_token_form'] = PropTypes.exact({
1244
+ environment: T['io.flow.common.v0.enums.environment'].isRequired,
1245
+ description: PropTypes.string,
1246
+ });
1247
+
1248
+ T['io.flow.token.v0.models.partner_token'] = PropTypes.exact({
1249
+ discriminator: PropTypes.oneOf(['partner_token']).isRequired,
1250
+ id: PropTypes.string.isRequired,
1251
+ partner: T['io.flow.token.v0.models.token_partner_reference'].isRequired,
1252
+ user: T['io.flow.common.v0.models.user_reference'].isRequired,
1253
+ environment: T['io.flow.common.v0.enums.environment'].isRequired,
1254
+ partial: PropTypes.string.isRequired,
1255
+ created_at: PropTypes.string.isRequired,
1256
+ description: PropTypes.string,
1257
+ });
1258
+
1259
+ T['io.flow.token.v0.models.organization_token_form'] = PropTypes.exact({
1260
+ environment: T['io.flow.common.v0.enums.environment'].isRequired,
1261
+ description: PropTypes.string,
1262
+ });
1263
+
1209
1264
  T['io.flow.common.v0.models.organization_summary'] = PropTypes.exact({
1210
1265
  id: PropTypes.string.isRequired,
1211
1266
  name: PropTypes.string.isRequired,
@@ -1222,6 +1277,56 @@ T['io.flow.common.v0.models.organization_reference'] = PropTypes.exact({
1222
1277
  id: PropTypes.string.isRequired,
1223
1278
  });
1224
1279
 
1280
+ T['io.flow.token.v0.models.organization_token_v2_reference'] = PropTypes.exact({
1281
+ discriminator: PropTypes.oneOf(['organization_token_v2_reference']).isRequired,
1282
+ id: PropTypes.string.isRequired,
1283
+ organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
1284
+ });
1285
+
1286
+ T['io.flow.token.v0.models.organization_token_v2'] = PropTypes.exact({
1287
+ discriminator: PropTypes.oneOf(['organization_token_v2']).isRequired,
1288
+ id: PropTypes.string.isRequired,
1289
+ organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
1290
+ user: T['io.flow.common.v0.models.user_reference'].isRequired,
1291
+ partial: PropTypes.string.isRequired,
1292
+ cleartext: PropTypes.string,
1293
+ created_at: PropTypes.string.isRequired,
1294
+ description: PropTypes.string,
1295
+ });
1296
+
1297
+ T['io.flow.token.v0.models.organization_token_reference'] = PropTypes.exact({
1298
+ discriminator: PropTypes.oneOf(['organization_token_reference']).isRequired,
1299
+ id: PropTypes.string.isRequired,
1300
+ organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
1301
+ environment: T['io.flow.common.v0.enums.environment'].isRequired,
1302
+ user: T['io.flow.common.v0.models.user_reference'].isRequired,
1303
+ });
1304
+
1305
+ T['io.flow.token.v0.unions.token_reference'] = PropTypes.oneOfType([
1306
+ T['io.flow.token.v0.models.channel_token_reference'],
1307
+ T['io.flow.token.v0.models.organization_token_reference'],
1308
+ T['io.flow.token.v0.models.organization_token_v2_reference'],
1309
+ T['io.flow.token.v0.models.partner_token_reference'],
1310
+ ]);
1311
+
1312
+ T['io.flow.token.v0.models.organization_token'] = PropTypes.exact({
1313
+ discriminator: PropTypes.oneOf(['organization_token']).isRequired,
1314
+ id: PropTypes.string.isRequired,
1315
+ organization: T['io.flow.common.v0.models.organization_reference'].isRequired,
1316
+ user: T['io.flow.common.v0.models.user_reference'].isRequired,
1317
+ environment: T['io.flow.common.v0.enums.environment'].isRequired,
1318
+ partial: PropTypes.string.isRequired,
1319
+ created_at: PropTypes.string.isRequired,
1320
+ description: PropTypes.string,
1321
+ });
1322
+
1323
+ T['io.flow.token.v0.unions.token'] = PropTypes.oneOfType([
1324
+ T['io.flow.token.v0.models.channel_token'],
1325
+ T['io.flow.token.v0.models.organization_token'],
1326
+ T['io.flow.token.v0.models.organization_token_v2'],
1327
+ T['io.flow.token.v0.models.partner_token'],
1328
+ ]);
1329
+
1225
1330
  T['io.flow.common.v0.models.organization'] = PropTypes.exact({
1226
1331
  discriminator: PropTypes.oneOf(['organization']).isRequired,
1227
1332
  id: PropTypes.string.isRequired,
@@ -1861,499 +1966,115 @@ T['io.flow.order.price.v0.enums.order_price_detail_component_key'] = PropTypes.o
1861
1966
 
1862
1967
  T['io.flow.price.v0.enums.price_accuracy'] = PropTypes.oneOf(['calculated', 'estimated_from_partial_destination']);
1863
1968
 
1864
- T['io.flow.common.v0.models.price'] = PropTypes.exact({
1865
- amount: PropTypes.number.isRequired,
1866
- currency: PropTypes.string.isRequired,
1867
- label: PropTypes.string.isRequired,
1868
- });
1869
-
1870
- T['io.flow.catalog.v0.models.localized_item_price'] = PropTypes.exact({
1871
- key: PropTypes.oneOf(['localized_item_price']).isRequired,
1872
- currency: PropTypes.string.isRequired,
1873
- amount: PropTypes.number.isRequired,
1874
- label: PropTypes.string.isRequired,
1875
- base: T['io.flow.common.v0.models.price'].isRequired,
1876
- includes: T['io.flow.common.v0.models.included_levies'],
1877
- });
1969
+ T['io.flow.order.price.v0.enums.order_price_detail_key'] = PropTypes.oneOf([
1970
+ 'adjustment',
1971
+ 'subtotal',
1972
+ 'vat',
1973
+ 'duty',
1974
+ 'shipping',
1975
+ 'insurance',
1976
+ 'discount',
1977
+ 'surcharges',
1978
+ 'tip',
1979
+ ]);
1878
1980
 
1879
- T['io.flow.catalog.v0.models.localized_adjustment'] = PropTypes.exact({
1880
- currency: PropTypes.string.isRequired,
1881
- amount: PropTypes.number.isRequired,
1882
- label: PropTypes.string.isRequired,
1883
- base: T['io.flow.common.v0.models.price'].isRequired,
1884
- reason: T['io.flow.catalog.v0.models.adjustment_reason'].isRequired,
1885
- });
1981
+ T['io.flow.shopify.external.v0.enums.topic'] = PropTypes.oneOf([
1982
+ 'carts/create',
1983
+ 'carts/update',
1984
+ 'checkouts/create',
1985
+ 'checkouts/delete',
1986
+ 'checkouts/update',
1987
+ 'collections/create',
1988
+ 'collections/delete',
1989
+ 'collections/update',
1990
+ 'customer_groups/create',
1991
+ 'customer_groups/delete',
1992
+ 'customer_groups/update',
1993
+ 'customers/create',
1994
+ 'customers/delete',
1995
+ 'customers/disable',
1996
+ 'customers/enable',
1997
+ 'customers/update',
1998
+ 'customers/redact',
1999
+ 'disputes/create',
2000
+ 'disputes/update',
2001
+ 'fulfillment_events/create',
2002
+ 'fulfillment_events/delete',
2003
+ 'fulfillments/create',
2004
+ 'fulfillments/update',
2005
+ 'inventory_items/create',
2006
+ 'inventory_items/update',
2007
+ 'inventory_items/delete',
2008
+ 'inventory_levels/connect',
2009
+ 'inventory_levels/update',
2010
+ 'inventory_levels/disconnect',
2011
+ 'locations/create',
2012
+ 'locations/update',
2013
+ 'locations/delete',
2014
+ 'order_transactions/create',
2015
+ 'orders/cancelled',
2016
+ 'orders/create',
2017
+ 'orders/delete',
2018
+ 'orders/fulfilled',
2019
+ 'orders/paid',
2020
+ 'orders/partially_fulfilled',
2021
+ 'orders/updated',
2022
+ 'orders/edited',
2023
+ 'products/create',
2024
+ 'products/delete',
2025
+ 'products/update',
2026
+ 'refunds/create',
2027
+ 'shop/update',
2028
+ 'shop/redact',
2029
+ 'themes/create',
2030
+ 'themes/delete',
2031
+ 'themes/publish',
2032
+ 'themes/update',
2033
+ ]);
1886
2034
 
1887
- T['io.flow.catalog.v0.models.localized_item_vat'] = PropTypes.exact({
1888
- key: PropTypes.oneOf(['localized_item_vat']).isRequired,
1889
- currency: PropTypes.string.isRequired,
1890
- amount: PropTypes.number.isRequired,
1891
- label: PropTypes.string.isRequired,
1892
- base: T['io.flow.common.v0.models.price'].isRequired,
1893
- name: PropTypes.string.isRequired,
1894
- adjustment: T['io.flow.catalog.v0.models.localized_adjustment'],
1895
- accuracy: T['io.flow.price.v0.enums.price_accuracy'],
1896
- basis: T['io.flow.common.v0.models.money_with_base'],
1897
- });
2035
+ T['io.flow.shopify.external.v0.enums.format'] = PropTypes.oneOf(['json', 'xml']);
1898
2036
 
1899
- T['io.flow.catalog.v0.models.localized_item_duty'] = PropTypes.exact({
1900
- key: PropTypes.oneOf(['localized_item_duty']).isRequired,
1901
- currency: PropTypes.string.isRequired,
1902
- amount: PropTypes.number.isRequired,
1903
- label: PropTypes.string.isRequired,
1904
- base: T['io.flow.common.v0.models.price'].isRequired,
1905
- adjustment: T['io.flow.catalog.v0.models.localized_adjustment'],
1906
- basis: T['io.flow.common.v0.models.money_with_base'],
2037
+ T['io.flow.shopify.external.v0.models.webhook_form'] = PropTypes.exact({
2038
+ topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
2039
+ address: PropTypes.string.isRequired,
2040
+ format: T['io.flow.shopify.external.v0.enums.format'].isRequired,
2041
+ metafield_namespaces: PropTypes.arrayOf(PropTypes.string),
1907
2042
  });
1908
2043
 
1909
- T['io.flow.catalog.v0.models.item_form_overlay'] = PropTypes.exact({
1910
- id: PropTypes.string.isRequired,
1911
- number: PropTypes.string.isRequired,
1912
- key: PropTypes.string.isRequired,
1913
- position: PropTypes.number.isRequired,
1914
- price: T['io.flow.common.v0.models.price'],
1915
- categories: PropTypes.arrayOf(PropTypes.string),
1916
- description: PropTypes.string,
1917
- attributes: PropTypes.objectOf(PropTypes.string),
1918
- dimensions: T['io.flow.common.v0.models.dimensions'],
1919
- images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image_form']),
1920
- deleted_at: PropTypes.string,
2044
+ T['io.flow.shopify.external.v0.models.webhook_form_wrapper'] = PropTypes.exact({
2045
+ webhook: T['io.flow.shopify.external.v0.models.webhook_form'].isRequired,
1921
2046
  });
1922
2047
 
1923
- T['io.flow.fulfillment.v0.models.flat_rate'] = PropTypes.exact({
1924
- discriminator: PropTypes.oneOf(['flat_rate']).isRequired,
1925
- price: T['io.flow.common.v0.models.price'].isRequired,
1926
- zero_amount_indicator: T['io.flow.fulfillment.v0.enums.zero_amount_indicator'],
2048
+ T['io.flow.shopify.external.v0.models.webhook'] = PropTypes.exact({
2049
+ address: PropTypes.string.isRequired,
2050
+ created_at: PropTypes.string.isRequired,
2051
+ format: T['io.flow.shopify.external.v0.enums.format'].isRequired,
2052
+ id: PropTypes.number.isRequired,
2053
+ topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
2054
+ updated_at: PropTypes.string.isRequired,
2055
+ fields: PropTypes.arrayOf(PropTypes.string),
2056
+ metafield_namespaces: PropTypes.arrayOf(PropTypes.string),
1927
2057
  });
1928
2058
 
1929
- T['io.flow.catalog.v0.models.localized_total'] = PropTypes.exact({
1930
- key: PropTypes.oneOf(['localized_total']).isRequired,
1931
- currency: PropTypes.string.isRequired,
1932
- amount: PropTypes.number.isRequired,
1933
- label: PropTypes.string.isRequired,
1934
- base: T['io.flow.common.v0.models.price'].isRequired,
2059
+ T['io.flow.shopify.external.v0.models.webhook_response_single'] = PropTypes.exact({
2060
+ webhook: T['io.flow.shopify.external.v0.models.webhook'].isRequired,
1935
2061
  });
1936
2062
 
1937
- T['io.flow.catalog.v0.unions.localized_price'] = PropTypes.oneOfType([
1938
- T['io.flow.catalog.v0.models.localized_item_price'],
1939
- T['io.flow.catalog.v0.models.localized_item_vat'],
1940
- T['io.flow.catalog.v0.models.localized_item_duty'],
1941
- T['io.flow.catalog.v0.models.localized_total'],
1942
- ]);
1943
-
1944
- T['io.flow.fulfillment.v0.models.delivery_option_summary'] = PropTypes.exact({
1945
- id: PropTypes.string.isRequired,
1946
- cost: T['io.flow.common.v0.models.price'].isRequired,
1947
- delivered_duty: T['io.flow.common.v0.enums.delivered_duty'].isRequired,
1948
- price: T['io.flow.common.v0.models.price'].isRequired,
1949
- service: T['io.flow.fulfillment.v0.models.service_reference'].isRequired,
1950
- tier: T['io.flow.fulfillment.v0.models.tier_reference'].isRequired,
1951
- window: T['io.flow.common.v0.models.datetime_range'].isRequired,
2063
+ T['io.flow.shopify.external.v0.models.webhook_response_list'] = PropTypes.exact({
2064
+ webhooks: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.webhook']).isRequired,
1952
2065
  });
1953
2066
 
1954
- T['io.flow.fulfillment.v0.models.delivery_option_version'] = PropTypes.exact({
1955
- id: PropTypes.string.isRequired,
1956
- timestamp: PropTypes.string.isRequired,
1957
- type: T['io.flow.common.v0.enums.change_type'].isRequired,
1958
- delivery_option: T['io.flow.fulfillment.v0.models.delivery_option_summary'].isRequired,
2067
+ T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact_customer'] = PropTypes.exact({
2068
+ id: PropTypes.number.isRequired,
2069
+ email: PropTypes.string,
2070
+ phone: PropTypes.string,
1959
2071
  });
1960
2072
 
1961
- T['io.flow.fulfillment.v0.models.delivery_option_cost_component'] = PropTypes.exact({
1962
- key: T['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'].isRequired,
1963
- currency: PropTypes.string.isRequired,
1964
- amount: PropTypes.number.isRequired,
1965
- label: PropTypes.string.isRequired,
1966
- base: T['io.flow.common.v0.models.price'],
1967
- });
1968
-
1969
- T['io.flow.fulfillment.v0.models.delivery_option_cost_detail'] = PropTypes.exact({
1970
- source: T['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_source'].isRequired,
1971
- ratecard_id: PropTypes.string,
1972
- currency: PropTypes.string.isRequired,
1973
- amount: PropTypes.number.isRequired,
1974
- label: PropTypes.string.isRequired,
1975
- base: T['io.flow.common.v0.models.price'],
1976
- components: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_option_cost_component']).isRequired,
1977
- });
1978
-
1979
- T['io.flow.fulfillment.v0.models.price_with_base_and_details'] = PropTypes.exact({
1980
- currency: PropTypes.string.isRequired,
1981
- amount: PropTypes.number.isRequired,
1982
- label: PropTypes.string.isRequired,
1983
- base: T['io.flow.common.v0.models.price'],
1984
- details: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_option_cost_detail']),
1985
- });
1986
-
1987
- T['io.flow.fulfillment.v0.models.item_shipping_pricing'] = PropTypes.exact({
1988
- min: T['io.flow.common.v0.models.price'].isRequired,
1989
- max: T['io.flow.common.v0.models.price'],
1990
- });
1991
-
1992
- T['io.flow.fulfillment.v0.models.country_shipping_pricing'] = PropTypes.exact({
1993
- pricing: T['io.flow.fulfillment.v0.models.item_shipping_pricing'].isRequired,
1994
- countries: PropTypes.arrayOf(PropTypes.string).isRequired,
1995
- });
1996
-
1997
- T['io.flow.fulfillment.v0.models.shipping_configuration_item_shipping_pricing'] = PropTypes.exact({
1998
- id: PropTypes.string.isRequired,
1999
- item: T['io.flow.common.v0.models.item_reference'].isRequired,
2000
- shipping_configuration: T['io.flow.fulfillment.v0.models.shipping_configuration_summary'].isRequired,
2001
- country_shipping_pricings: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.country_shipping_pricing']).isRequired,
2002
- });
2003
-
2004
- T['io.flow.fulfillment.v0.models.amount_margin'] = PropTypes.exact({
2005
- discriminator: PropTypes.oneOf(['amount_margin']).isRequired,
2006
- margin: T['io.flow.common.v0.models.price'].isRequired,
2007
- });
2008
-
2009
- T['io.flow.fulfillment.v0.unions.tier_rule_outcome'] = PropTypes.oneOfType([
2010
- T['io.flow.fulfillment.v0.models.amount_margin'],
2011
- T['io.flow.fulfillment.v0.models.at_cost'],
2012
- T['io.flow.fulfillment.v0.models.flat_rate'],
2013
- T['io.flow.fulfillment.v0.models.percent_margin'],
2014
- ]);
2015
-
2016
- T['io.flow.fulfillment.v0.models.tier_rule'] = PropTypes.exact({
2017
- id: PropTypes.string.isRequired,
2018
- position: PropTypes.number.isRequired,
2019
- query: PropTypes.string.isRequired,
2020
- outcome: T['io.flow.fulfillment.v0.unions.tier_rule_outcome'].isRequired,
2021
- });
2022
-
2023
- T['io.flow.fulfillment.v0.models.tier_rule_version'] = PropTypes.exact({
2024
- id: PropTypes.string.isRequired,
2025
- timestamp: PropTypes.string.isRequired,
2026
- type: T['io.flow.common.v0.enums.change_type'].isRequired,
2027
- tier_rule: T['io.flow.fulfillment.v0.models.tier_rule'].isRequired,
2028
- });
2029
-
2030
- T['io.flow.fulfillment.v0.models.tier'] = PropTypes.exact({
2031
- id: PropTypes.string.isRequired,
2032
- direction: T['io.flow.fulfillment.v0.enums.lane_direction'].isRequired,
2033
- integration: T['io.flow.fulfillment.v0.enums.shipment_integration_type'].isRequired,
2034
- name: PropTypes.string.isRequired,
2035
- message: PropTypes.string,
2036
- rules: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.tier_rule']).isRequired,
2037
- services: PropTypes.arrayOf(T['io.flow.reference.v0.models.carrier_service']).isRequired,
2038
- strategy: T['io.flow.fulfillment.v0.enums.tier_strategy'].isRequired,
2039
- visibility: T['io.flow.common.v0.enums.visibility'].isRequired,
2040
- currency: PropTypes.string.isRequired,
2041
- description: PropTypes.string,
2042
- display: T['io.flow.fulfillment.v0.models.tier_display'],
2043
- shipping_lane: PropTypes.string,
2044
- surcharge_settings: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.surcharge_setting']),
2045
- lane: T['io.flow.fulfillment.v0.models.shipping_lane_summary'],
2046
- settings: T['io.flow.fulfillment.v0.models.tier_settings'],
2047
- });
2048
-
2049
- T['io.flow.fulfillment.v0.models.shipping_lane'] = PropTypes.exact({
2050
- id: PropTypes.string.isRequired,
2051
- shipping_configuration: T['io.flow.fulfillment.v0.models.shipping_configuration_reference'].isRequired,
2052
- region: PropTypes.string.isRequired,
2053
- centers: PropTypes.arrayOf(T['io.flow.fulfillment.v0.unions.expandable_center']).isRequired,
2054
- tiers: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.tier']).isRequired,
2055
- query: T['io.flow.query.builder.v0.models.query'].isRequired,
2056
- strategy: T['io.flow.fulfillment.v0.enums.lane_strategy'].isRequired,
2057
- direction: T['io.flow.fulfillment.v0.enums.lane_direction'],
2058
- preference: T['io.flow.fulfillment.v0.enums.lane_preselect_preference'],
2059
- });
2060
-
2061
- T['io.flow.fulfillment.v0.models.shipping_lane_version'] = PropTypes.exact({
2062
- id: PropTypes.string.isRequired,
2063
- timestamp: PropTypes.string.isRequired,
2064
- type: T['io.flow.common.v0.enums.change_type'].isRequired,
2065
- shipping_lane: T['io.flow.fulfillment.v0.models.shipping_lane'].isRequired,
2066
- });
2067
-
2068
- T['io.flow.fulfillment.v0.models.shipping_configuration'] = PropTypes.exact({
2069
- id: PropTypes.string.isRequired,
2070
- name: PropTypes.string.isRequired,
2071
- key: PropTypes.string.isRequired,
2072
- type: T['io.flow.fulfillment.v0.enums.shipping_configuration_type'].isRequired,
2073
- shipping_lanes: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.shipping_lane']).isRequired,
2074
- });
2075
-
2076
- T['io.flow.fulfillment.v0.models.shipping_configuration_version'] = PropTypes.exact({
2077
- id: PropTypes.string.isRequired,
2078
- timestamp: PropTypes.string.isRequired,
2079
- type: T['io.flow.common.v0.enums.change_type'].isRequired,
2080
- shipping_configuration: T['io.flow.fulfillment.v0.models.shipping_configuration'].isRequired,
2081
- });
2082
-
2083
- T['io.flow.fulfillment.v0.models.delivery_option'] = PropTypes.exact({
2084
- id: PropTypes.string.isRequired,
2085
- cost: T['io.flow.fulfillment.v0.models.price_with_base_and_details'].isRequired,
2086
- delivered_duty: T['io.flow.common.v0.enums.delivered_duty'].isRequired,
2087
- price: T['io.flow.fulfillment.v0.models.price_with_base_and_details'].isRequired,
2088
- service: T['io.flow.fulfillment.v0.models.service_summary'].isRequired,
2089
- tier: T['io.flow.fulfillment.v0.models.tier_summary'].isRequired,
2090
- window: T['io.flow.fulfillment.v0.models.delivery_window'].isRequired,
2091
- rule_outcome: T['io.flow.fulfillment.v0.unions.tier_rule_outcome'],
2092
- weight: T['io.flow.fulfillment.v0.models.option_weight_estimates'],
2093
- send_to: T['io.flow.fulfillment.v0.models.shipping_address'],
2094
- surcharge: T['io.flow.fulfillment.v0.models.price_with_base_and_details'],
2095
- ratecard_owner: T['io.flow.fulfillment.v0.enums.ratecard_owner'],
2096
- });
2097
-
2098
- T['io.flow.price.v0.models.price_book_item'] = PropTypes.exact({
2099
- id: PropTypes.string.isRequired,
2100
- key: PropTypes.string.isRequired,
2101
- price_book: T['io.flow.price.v0.models.price_book_reference'].isRequired,
2102
- price: T['io.flow.common.v0.models.price'].isRequired,
2103
- item_number: PropTypes.string.isRequired,
2104
- schedule: T['io.flow.price.v0.models.price_book_item_schedule'].isRequired,
2105
- item_attributes: PropTypes.objectOf(PropTypes.string),
2106
- });
2107
-
2108
- T['io.flow.price.v0.models.price_details'] = PropTypes.exact({
2109
- currency: PropTypes.string.isRequired,
2110
- item_price: T['io.flow.price.v0.models.price_detail'].isRequired,
2111
- margins: T['io.flow.price.v0.models.price_detail'].isRequired,
2112
- vat: T['io.flow.price.v0.models.price_detail'].isRequired,
2113
- duty: T['io.flow.price.v0.models.price_detail'].isRequired,
2114
- rounding: T['io.flow.price.v0.models.price_detail'].isRequired,
2115
- price: T['io.flow.common.v0.models.price'].isRequired,
2116
- total: T['io.flow.common.v0.models.price'].isRequired,
2117
- adjustment: T['io.flow.price.v0.models.price_detail'],
2118
- });
2119
-
2120
- T['io.flow.price.v0.models.local_price_details'] = PropTypes.exact({
2121
- base: T['io.flow.price.v0.models.price_details'].isRequired,
2122
- local: T['io.flow.price.v0.models.price_details'].isRequired,
2123
- discount: T['io.flow.price.v0.models.price_detail'],
2124
- local_before_discount: T['io.flow.price.v0.models.price_detail'],
2125
- });
2126
-
2127
- T['io.flow.price.v0.models.price_check'] = PropTypes.exact({
2128
- display: T['io.flow.price.v0.models.local_price_details'].isRequired,
2129
- 'final': T['io.flow.price.v0.models.local_price_details'].isRequired,
2130
- });
2131
-
2132
- T['io.flow.common.v0.models.price_with_base'] = PropTypes.exact({
2133
- currency: PropTypes.string.isRequired,
2134
- amount: PropTypes.number.isRequired,
2135
- label: PropTypes.string.isRequired,
2136
- base: T['io.flow.common.v0.models.price'],
2137
- });
2138
-
2139
- T['io.flow.catalog.v0.models.local'] = PropTypes.exact({
2140
- experience: T['io.flow.common.v0.models.experience_summary'].isRequired,
2141
- prices: PropTypes.arrayOf(T['io.flow.catalog.v0.unions.localized_price']).isRequired,
2142
- rates: PropTypes.arrayOf(T['io.flow.currency.v0.models.rate']).isRequired,
2143
- spot_rates: PropTypes.arrayOf(PropTypes.object).isRequired,
2144
- status: T['io.flow.catalog.v0.enums.subcatalog_item_status'].isRequired,
2145
- attributes: PropTypes.objectOf(PropTypes.string),
2146
- price_attributes: PropTypes.objectOf(T['io.flow.common.v0.models.price_with_base']),
2147
- });
2148
-
2149
- T['io.flow.catalog.v0.models.item'] = PropTypes.exact({
2150
- id: PropTypes.string.isRequired,
2151
- number: PropTypes.string.isRequired,
2152
- locale: PropTypes.string.isRequired,
2153
- name: PropTypes.string.isRequired,
2154
- price: T['io.flow.common.v0.models.price'].isRequired,
2155
- categories: PropTypes.arrayOf(PropTypes.string).isRequired,
2156
- description: PropTypes.string,
2157
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
2158
- dimensions: T['io.flow.common.v0.models.dimensions'].isRequired,
2159
- images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
2160
- local: T['io.flow.catalog.v0.models.local'],
2161
- created_at: PropTypes.string,
2162
- updated_at: PropTypes.string,
2163
- deleted_at: PropTypes.string,
2164
- });
2165
-
2166
- T['io.flow.catalog.v0.models.subcatalog_item'] = PropTypes.exact({
2167
- id: PropTypes.string.isRequired,
2168
- item: T['io.flow.catalog.v0.models.item'].isRequired,
2169
- status: T['io.flow.catalog.v0.enums.subcatalog_item_status'].isRequired,
2170
- });
2171
-
2172
- T['io.flow.catalog.v0.models.subcatalog_item_version'] = PropTypes.exact({
2173
- id: PropTypes.string.isRequired,
2174
- timestamp: PropTypes.string.isRequired,
2175
- type: T['io.flow.common.v0.enums.change_type'].isRequired,
2176
- subcatalog_item: T['io.flow.catalog.v0.models.subcatalog_item'].isRequired,
2177
- });
2178
-
2179
- T['io.flow.catalog.v0.models.item_version'] = PropTypes.exact({
2180
- id: PropTypes.string.isRequired,
2181
- timestamp: PropTypes.string.isRequired,
2182
- type: T['io.flow.common.v0.enums.change_type'].isRequired,
2183
- item: T['io.flow.catalog.v0.models.item'].isRequired,
2184
- });
2185
-
2186
- T['io.flow.order.price.v0.models.order_price_detail_component'] = PropTypes.exact({
2187
- key: T['io.flow.order.price.v0.enums.order_price_detail_component_key'].isRequired,
2188
- currency: PropTypes.string.isRequired,
2189
- amount: PropTypes.number.isRequired,
2190
- label: PropTypes.string.isRequired,
2191
- base: T['io.flow.common.v0.models.price'].isRequired,
2192
- name: PropTypes.string,
2193
- });
2194
-
2195
- T['io.flow.order.price.v0.enums.order_price_detail_key'] = PropTypes.oneOf([
2196
- 'adjustment',
2197
- 'subtotal',
2198
- 'vat',
2199
- 'duty',
2200
- 'shipping',
2201
- 'insurance',
2202
- 'discount',
2203
- 'surcharges',
2204
- 'tip',
2205
- ]);
2206
-
2207
- T['io.flow.order.price.v0.models.order_price_detail'] = PropTypes.exact({
2208
- key: T['io.flow.order.price.v0.enums.order_price_detail_key'].isRequired,
2209
- currency: PropTypes.string.isRequired,
2210
- amount: PropTypes.number.isRequired,
2211
- label: PropTypes.string.isRequired,
2212
- base: T['io.flow.common.v0.models.price'].isRequired,
2213
- components: PropTypes.arrayOf(T['io.flow.order.price.v0.models.order_price_detail_component']).isRequired,
2214
- name: PropTypes.string,
2215
- rate: PropTypes.number,
2216
- accuracy: T['io.flow.price.v0.enums.price_accuracy'],
2217
- rate_label: PropTypes.string,
2218
- });
2219
-
2220
- T['io.flow.fulfillment.v0.models.physical_delivery'] = PropTypes.exact({
2221
- discriminator: PropTypes.oneOf(['physical_delivery']).isRequired,
2222
- id: PropTypes.string.isRequired,
2223
- key: PropTypes.string,
2224
- center: T['io.flow.fulfillment.v0.models.center_summary'],
2225
- fulfillment_routing: T['io.flow.fulfillment.v0.enums.fulfillment_routing'],
2226
- ship_from_country: PropTypes.string,
2227
- items: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_item']).isRequired,
2228
- options: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_option']).isRequired,
2229
- special_services: PropTypes.arrayOf(T['io.flow.fulfillment.v0.enums.physical_delivery_special_serivce']),
2230
- prices: PropTypes.arrayOf(T['io.flow.order.price.v0.models.order_price_detail']),
2231
- total: T['io.flow.catalog.v0.models.localized_total'],
2232
- goods_supply: T['io.flow.common.v0.enums.goods_supply'],
2233
- merchant_of_record_flow_entity: T['io.flow.merchant.of.record.v0.enums.flow_entity'],
2234
- preferred_service: T['io.flow.fulfillment.v0.models.physical_delivery_preferred_service'],
2235
- });
2236
-
2237
- T['io.flow.fulfillment.v0.models.digital_delivery'] = PropTypes.exact({
2238
- discriminator: PropTypes.oneOf(['digital_delivery']).isRequired,
2239
- id: PropTypes.string.isRequired,
2240
- key: PropTypes.string,
2241
- items: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_item']).isRequired,
2242
- prices: PropTypes.arrayOf(T['io.flow.order.price.v0.models.order_price_detail']),
2243
- total: T['io.flow.catalog.v0.models.localized_total'],
2244
- });
2245
-
2246
- T['io.flow.fulfillment.v0.unions.delivery'] = PropTypes.oneOfType([
2247
- T['io.flow.fulfillment.v0.models.digital_delivery'],
2248
- T['io.flow.fulfillment.v0.models.physical_delivery'],
2249
- ]);
2250
-
2251
- T['io.flow.fulfillment.v0.models.quote'] = PropTypes.exact({
2252
- id: PropTypes.string.isRequired,
2253
- destination: T['io.flow.fulfillment.v0.models.shipping_address'].isRequired,
2254
- deliveries: PropTypes.arrayOf(T['io.flow.fulfillment.v0.unions.delivery']).isRequired,
2255
- selections: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_option_reference']).isRequired,
2256
- delivered_duty: T['io.flow.common.v0.enums.delivered_duty'].isRequired,
2257
- delivered_duties: PropTypes.arrayOf(T['io.flow.common.v0.enums.delivered_duty']).isRequired,
2258
- });
2259
-
2260
- T['io.flow.shopify.external.v0.enums.topic'] = PropTypes.oneOf([
2261
- 'carts/create',
2262
- 'carts/update',
2263
- 'checkouts/create',
2264
- 'checkouts/delete',
2265
- 'checkouts/update',
2266
- 'collections/create',
2267
- 'collections/delete',
2268
- 'collections/update',
2269
- 'customer_groups/create',
2270
- 'customer_groups/delete',
2271
- 'customer_groups/update',
2272
- 'customers/create',
2273
- 'customers/delete',
2274
- 'customers/disable',
2275
- 'customers/enable',
2276
- 'customers/update',
2277
- 'customers/redact',
2278
- 'disputes/create',
2279
- 'disputes/update',
2280
- 'fulfillment_events/create',
2281
- 'fulfillment_events/delete',
2282
- 'fulfillments/create',
2283
- 'fulfillments/update',
2284
- 'inventory_items/create',
2285
- 'inventory_items/update',
2286
- 'inventory_items/delete',
2287
- 'inventory_levels/connect',
2288
- 'inventory_levels/update',
2289
- 'inventory_levels/disconnect',
2290
- 'locations/create',
2291
- 'locations/update',
2292
- 'locations/delete',
2293
- 'order_transactions/create',
2294
- 'orders/cancelled',
2295
- 'orders/create',
2296
- 'orders/delete',
2297
- 'orders/fulfilled',
2298
- 'orders/paid',
2299
- 'orders/partially_fulfilled',
2300
- 'orders/updated',
2301
- 'orders/edited',
2302
- 'products/create',
2303
- 'products/delete',
2304
- 'products/update',
2305
- 'refunds/create',
2306
- 'shop/update',
2307
- 'shop/redact',
2308
- 'themes/create',
2309
- 'themes/delete',
2310
- 'themes/publish',
2311
- 'themes/update',
2312
- ]);
2313
-
2314
- T['io.flow.shopify.external.v0.enums.format'] = PropTypes.oneOf(['json', 'xml']);
2315
-
2316
- T['io.flow.shopify.external.v0.models.webhook_form'] = PropTypes.exact({
2317
- topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
2318
- address: PropTypes.string.isRequired,
2319
- format: T['io.flow.shopify.external.v0.enums.format'].isRequired,
2320
- metafield_namespaces: PropTypes.arrayOf(PropTypes.string),
2321
- });
2322
-
2323
- T['io.flow.shopify.external.v0.models.webhook_form_wrapper'] = PropTypes.exact({
2324
- webhook: T['io.flow.shopify.external.v0.models.webhook_form'].isRequired,
2325
- });
2326
-
2327
- T['io.flow.shopify.external.v0.models.webhook'] = PropTypes.exact({
2328
- address: PropTypes.string.isRequired,
2329
- created_at: PropTypes.string.isRequired,
2330
- format: T['io.flow.shopify.external.v0.enums.format'].isRequired,
2331
- id: PropTypes.number.isRequired,
2332
- topic: T['io.flow.shopify.external.v0.enums.topic'].isRequired,
2333
- updated_at: PropTypes.string.isRequired,
2334
- fields: PropTypes.arrayOf(PropTypes.string),
2335
- metafield_namespaces: PropTypes.arrayOf(PropTypes.string),
2336
- });
2337
-
2338
- T['io.flow.shopify.external.v0.models.webhook_response_single'] = PropTypes.exact({
2339
- webhook: T['io.flow.shopify.external.v0.models.webhook'].isRequired,
2340
- });
2341
-
2342
- T['io.flow.shopify.external.v0.models.webhook_response_list'] = PropTypes.exact({
2343
- webhooks: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.webhook']).isRequired,
2344
- });
2345
-
2346
- T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact_customer'] = PropTypes.exact({
2347
- id: PropTypes.number.isRequired,
2348
- email: PropTypes.string,
2349
- phone: PropTypes.string,
2350
- });
2351
-
2352
- T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact'] = PropTypes.exact({
2353
- shop_id: PropTypes.number.isRequired,
2354
- shop_domain: PropTypes.string.isRequired,
2355
- customer: T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact_customer'].isRequired,
2356
- orders_to_redact: PropTypes.arrayOf(PropTypes.number),
2073
+ T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact'] = PropTypes.exact({
2074
+ shop_id: PropTypes.number.isRequired,
2075
+ shop_domain: PropTypes.string.isRequired,
2076
+ customer: T['io.flow.shopify.external.v0.models.shopify_webhook_customers_redact_customer'].isRequired,
2077
+ orders_to_redact: PropTypes.arrayOf(PropTypes.number),
2357
2078
  });
2358
2079
 
2359
2080
  T['io.flow.shopify.external.v0.enums.shopify_plan_name'] = PropTypes.oneOf([
@@ -5611,6 +5332,13 @@ T['io.flow.v0.models.organization_transaction_deleted'] = PropTypes.exact({
5611
5332
  id: PropTypes.string.isRequired,
5612
5333
  });
5613
5334
 
5335
+ T['io.flow.v0.models.aldo_item_deleted'] = PropTypes.exact({
5336
+ discriminator: PropTypes.oneOf(['aldo_item_deleted']).isRequired,
5337
+ event_id: PropTypes.string.isRequired,
5338
+ timestamp: PropTypes.string.isRequired,
5339
+ id: PropTypes.string.isRequired,
5340
+ });
5341
+
5614
5342
  T['io.flow.v0.models.generate_load'] = PropTypes.exact({
5615
5343
  discriminator: PropTypes.oneOf(['generate_load']).isRequired,
5616
5344
  event_id: PropTypes.string.isRequired,
@@ -6482,6 +6210,27 @@ T['io.flow.v0.models.product_restriction_result_upserted'] = PropTypes.exact({
6482
6210
  product_restriction_result: T['io.flow.v0.models.product_restriction_result'].isRequired,
6483
6211
  });
6484
6212
 
6213
+ T['io.flow.v0.models.product_taxonomy_data'] = PropTypes.exact({
6214
+ key: PropTypes.string.isRequired,
6215
+ value: PropTypes.arrayOf(PropTypes.string).isRequired,
6216
+ });
6217
+
6218
+ T['io.flow.v0.models.product_taxonomy_category'] = PropTypes.exact({
6219
+ name: PropTypes.string.isRequired,
6220
+ fullname: PropTypes.string.isRequired,
6221
+ });
6222
+
6223
+ T['io.flow.v0.models.product'] = PropTypes.exact({
6224
+ id: PropTypes.string.isRequired,
6225
+ organization_id: PropTypes.string.isRequired,
6226
+ number: PropTypes.string.isRequired,
6227
+ taxonomy_category: T['io.flow.v0.models.product_taxonomy_category'],
6228
+ taxonomy_data: PropTypes.arrayOf(T['io.flow.v0.models.product_taxonomy_data']),
6229
+ item_numbers: PropTypes.arrayOf(PropTypes.string).isRequired,
6230
+ updated_at: PropTypes.string.isRequired,
6231
+ deleted_at: PropTypes.string,
6232
+ });
6233
+
6485
6234
  T['io.flow.v0.enums.rounding_method'] = PropTypes.oneOf(['up', 'down', 'nearest']);
6486
6235
  T['io.flow.v0.enums.rounding_type'] = PropTypes.oneOf(['pattern', 'multiple']);
6487
6236
 
@@ -10906,1507 +10655,1917 @@ T['io.flow.v0.models.organization_session_authorization'] = PropTypes.exact({
10906
10655
  environment: T['io.flow.v0.enums.environment'].isRequired,
10907
10656
  });
10908
10657
 
10909
- T['io.flow.v0.unions.session_authorization'] = PropTypes.oneOfType([T['io.flow.v0.models.organization_session_authorization']]);
10658
+ T['io.flow.v0.unions.session_authorization'] = PropTypes.oneOfType([T['io.flow.v0.models.organization_session_authorization']]);
10659
+
10660
+ T['io.flow.v0.models.organization_onboarding_state'] = PropTypes.exact({
10661
+ id: PropTypes.string.isRequired,
10662
+ organization: T['io.flow.v0.models.organization_reference'].isRequired,
10663
+ transitions: PropTypes.arrayOf(T['io.flow.v0.models.onboarding_state_transition']).isRequired,
10664
+ current_state: T['io.flow.v0.unions.onboarding_state'].isRequired,
10665
+ started_at: PropTypes.string,
10666
+ time_blocked: PropTypes.number,
10667
+ time_in_setup: PropTypes.number,
10668
+ blocked_since: PropTypes.string,
10669
+ completed_at: PropTypes.string,
10670
+ onboarding_started_at: PropTypes.string,
10671
+ });
10672
+
10673
+ T['io.flow.v0.models.organization_onboarding_state_upserted'] = PropTypes.exact({
10674
+ discriminator: PropTypes.oneOf(['organization_onboarding_state_upserted']).isRequired,
10675
+ event_id: PropTypes.string.isRequired,
10676
+ timestamp: PropTypes.string.isRequired,
10677
+ organization: PropTypes.string.isRequired,
10678
+ organization_onboarding_state: T['io.flow.v0.models.organization_onboarding_state'].isRequired,
10679
+ });
10680
+
10681
+ T['io.flow.v0.models.organization_onboarding_state_deleted'] = PropTypes.exact({
10682
+ discriminator: PropTypes.oneOf(['organization_onboarding_state_deleted']).isRequired,
10683
+ event_id: PropTypes.string.isRequired,
10684
+ timestamp: PropTypes.string.isRequired,
10685
+ organization: PropTypes.string.isRequired,
10686
+ id: PropTypes.string.isRequired,
10687
+ organization_onboarding_state: T['io.flow.v0.models.organization_onboarding_state'].isRequired,
10688
+ });
10689
+
10690
+ T['io.flow.v0.models.organization'] = PropTypes.exact({
10691
+ discriminator: PropTypes.oneOf(['organization']).isRequired,
10692
+ id: PropTypes.string.isRequired,
10693
+ name: PropTypes.string.isRequired,
10694
+ environment: T['io.flow.v0.enums.environment'].isRequired,
10695
+ parent: T['io.flow.v0.models.organization_reference'],
10696
+ defaults: T['io.flow.v0.models.organization_defaults'],
10697
+ created_at: PropTypes.string,
10698
+ status: T['io.flow.v0.enums.organization_status'],
10699
+ type: T['io.flow.v0.enums.organization_type'],
10700
+ });
10701
+
10702
+ T['io.flow.v0.models.organization_upserted_v2'] = PropTypes.exact({
10703
+ discriminator: PropTypes.oneOf(['organization_upserted_v2']).isRequired,
10704
+ event_id: PropTypes.string.isRequired,
10705
+ timestamp: PropTypes.string.isRequired,
10706
+ organization: T['io.flow.v0.models.organization'].isRequired,
10707
+ });
10708
+
10709
+ T['io.flow.v0.models.organization_deleted_v2'] = PropTypes.exact({
10710
+ discriminator: PropTypes.oneOf(['organization_deleted_v2']).isRequired,
10711
+ event_id: PropTypes.string.isRequired,
10712
+ timestamp: PropTypes.string.isRequired,
10713
+ organization: T['io.flow.v0.models.organization'].isRequired,
10714
+ });
10715
+
10716
+ T['io.flow.v0.models.marketing_feeds_export_type'] = PropTypes.exact({
10717
+ discriminator: PropTypes.oneOf(['marketing_feeds_export_type']).isRequired,
10718
+ organization: T['io.flow.v0.models.organization_reference'].isRequired,
10719
+ feed_ids: PropTypes.arrayOf(PropTypes.string).isRequired,
10720
+ });
10721
+
10722
+ T['io.flow.v0.unions.expandable_organization'] = PropTypes.oneOfType([
10723
+ T['io.flow.v0.models.organization'],
10724
+ T['io.flow.v0.models.organization_reference'],
10725
+ ]);
10726
+
10727
+ T['io.flow.v0.models.checkout_token'] = PropTypes.exact({
10728
+ id: PropTypes.string.isRequired,
10729
+ organization: T['io.flow.v0.models.organization_reference'].isRequired,
10730
+ checkout: T['io.flow.v0.models.checkout_reference'].isRequired,
10731
+ order: T['io.flow.v0.models.order_number_reference'].isRequired,
10732
+ urls: T['io.flow.v0.models.checkout_urls'].isRequired,
10733
+ expires_at: PropTypes.string.isRequired,
10734
+ session: T['io.flow.v0.models.session_reference'].isRequired,
10735
+ customer: T['io.flow.v0.models.customer_reference'],
10736
+ });
10737
+
10738
+ T['io.flow.v0.models.channel_organization'] = PropTypes.exact({
10739
+ id: PropTypes.string.isRequired,
10740
+ organization: T['io.flow.v0.models.organization_reference'].isRequired,
10741
+ key: PropTypes.string.isRequired,
10742
+ channel: T['io.flow.v0.models.channel_reference'].isRequired,
10743
+ name: PropTypes.string.isRequired,
10744
+ slug: PropTypes.string,
10745
+ defaults: T['io.flow.v0.models.organization_defaults'].isRequired,
10746
+ attributes: PropTypes.objectOf(PropTypes.string),
10747
+ });
10748
+
10749
+ T['io.flow.v0.models.channel_organization_upserted'] = PropTypes.exact({
10750
+ discriminator: PropTypes.oneOf(['channel_organization_upserted']).isRequired,
10751
+ event_id: PropTypes.string.isRequired,
10752
+ timestamp: PropTypes.string.isRequired,
10753
+ channel_organization: T['io.flow.v0.models.channel_organization'].isRequired,
10754
+ });
10755
+
10756
+ T['io.flow.v0.enums.b2b_invoice_type'] = PropTypes.oneOf(['self_bill_invoice', 'invoice']);
10757
+
10758
+ T['io.flow.v0.models.consumer_invoice_document'] = PropTypes.exact({
10759
+ type: T['io.flow.v0.enums.consumer_invoice_document_type'].isRequired,
10760
+ language: PropTypes.string.isRequired,
10761
+ url: PropTypes.string.isRequired,
10762
+ });
10763
+
10764
+ T['io.flow.v0.models.b2b_invoice_reference'] = PropTypes.exact({
10765
+ id: PropTypes.string.isRequired,
10766
+ key: PropTypes.string.isRequired,
10767
+ number: PropTypes.string.isRequired,
10768
+ });
10769
+
10770
+ T['io.flow.v0.enums.consumer_invoice_status'] = PropTypes.oneOf(['pending', 'available', 'invalid']);
10771
+
10772
+ T['io.flow.v0.models.merchant_of_record_entity'] = PropTypes.exact({
10773
+ organization: T['io.flow.v0.models.organization_reference'].isRequired,
10774
+ name: PropTypes.string.isRequired,
10775
+ vat: T['io.flow.v0.models.merchant_of_record_entity_registration'],
10776
+ identifiers: PropTypes.arrayOf(T['io.flow.v0.models.entity_identifier']),
10777
+ streets: PropTypes.arrayOf(PropTypes.string).isRequired,
10778
+ city: PropTypes.string.isRequired,
10779
+ province: PropTypes.string,
10780
+ postal: PropTypes.string,
10781
+ country: PropTypes.string.isRequired,
10782
+ phone: PropTypes.string,
10783
+ email: PropTypes.string,
10784
+ });
10785
+
10786
+ T['io.flow.v0.enums.tax_report_type'] = PropTypes.oneOf(['consumer', 'b2b']);
10787
+
10788
+ T['io.flow.v0.enums.day_of_week'] = PropTypes.oneOf([
10789
+ 'sunday',
10790
+ 'monday',
10791
+ 'tuesday',
10792
+ 'wednesday',
10793
+ 'thursday',
10794
+ 'friday',
10795
+ 'saturday',
10796
+ ]);
10797
+
10798
+ T['io.flow.v0.models.repeat_weekly'] = PropTypes.exact({
10799
+ discriminator: PropTypes.oneOf(['repeat_weekly']).isRequired,
10800
+ interval: PropTypes.number.isRequired,
10801
+ days_of_week: PropTypes.arrayOf(T['io.flow.v0.enums.day_of_week']).isRequired,
10802
+ });
10803
+
10804
+ T['io.flow.v0.unions.repeat_schedule'] = PropTypes.oneOfType([
10805
+ T['io.flow.v0.models.repeat_hourly'],
10806
+ T['io.flow.v0.models.repeat_daily'],
10807
+ T['io.flow.v0.models.repeat_weekly'],
10808
+ T['io.flow.v0.models.repeat_monthly'],
10809
+ ]);
10810
+
10811
+ T['io.flow.v0.models.tax_report'] = PropTypes.exact({
10812
+ schedule: T['io.flow.v0.unions.repeat_schedule'].isRequired,
10813
+ timezone: PropTypes.string.isRequired,
10814
+ types: PropTypes.arrayOf(T['io.flow.v0.enums.tax_report_type']).isRequired,
10815
+ email_recipients: PropTypes.arrayOf(PropTypes.string),
10816
+ });
10817
+
10818
+ T['io.flow.v0.models.avalara_tax_csv_setting'] = PropTypes.exact({
10819
+ discriminator: PropTypes.oneOf(['avalara_tax_csv_setting']).isRequired,
10820
+ reports: PropTypes.arrayOf(T['io.flow.v0.models.tax_report']),
10821
+ });
10822
+
10823
+ T['io.flow.v0.unions.tax_setting'] = PropTypes.oneOfType([
10824
+ T['io.flow.v0.models.avalara_tax_setting'],
10825
+ T['io.flow.v0.models.avalara_tax_csv_setting'],
10826
+ ]);
10827
+
10828
+ T['io.flow.v0.models.onboarding_merchant_scheduled_pickup'] = PropTypes.exact({
10829
+ day_of_week: T['io.flow.v0.enums.day_of_week'].isRequired,
10830
+ window: T['io.flow.v0.models.onboarding_merchant_pickup_window'].isRequired,
10831
+ instructions: PropTypes.string,
10832
+ });
10833
+
10834
+ T['io.flow.v0.models.third_party_logistics_partner'] = PropTypes.exact({
10835
+ warehouse_address: T['io.flow.v0.models.merchant_onboarding_address'].isRequired,
10836
+ warehouse_url: PropTypes.string,
10837
+ location: T['io.flow.v0.models.merchant_onboarding_address'],
10838
+ scheduled_pickups: PropTypes.arrayOf(T['io.flow.v0.models.onboarding_merchant_scheduled_pickup']),
10839
+ operations_contact: T['io.flow.v0.models.operations_contact'].isRequired,
10840
+ center_id: PropTypes.string,
10841
+ });
10842
+
10843
+ T['io.flow.v0.models.number_range'] = PropTypes.exact({
10844
+ min: PropTypes.number.isRequired,
10845
+ max: PropTypes.number.isRequired,
10846
+ });
10847
+
10848
+ T['io.flow.v0.models.scheduled_pickup'] = PropTypes.exact({
10849
+ day_of_week: T['io.flow.v0.enums.day_of_week'].isRequired,
10850
+ hour_of_day: PropTypes.string.isRequired,
10851
+ minute_of_hour: PropTypes.string.isRequired,
10852
+ });
10853
+
10854
+ T['io.flow.v0.models.available_service'] = PropTypes.exact({
10855
+ service: PropTypes.string.isRequired,
10856
+ scheduled_pickups: PropTypes.arrayOf(T['io.flow.v0.models.scheduled_pickup']),
10857
+ lead_days: T['io.flow.v0.models.number_range'],
10858
+ });
10859
+
10860
+ T['io.flow.v0.models.region_reference'] = PropTypes.exact({
10861
+ id: PropTypes.string.isRequired,
10862
+ });
10863
+
10864
+ T['io.flow.v0.models.experience_geo'] = PropTypes.exact({
10865
+ key: PropTypes.string.isRequired,
10866
+ name: PropTypes.string.isRequired,
10867
+ region: T['io.flow.v0.models.region_reference'].isRequired,
10868
+ country: PropTypes.string.isRequired,
10869
+ currency: PropTypes.string.isRequired,
10870
+ language: PropTypes.string.isRequired,
10871
+ measurement_system: T['io.flow.v0.enums.measurement_system'].isRequired,
10872
+ });
10873
+
10874
+ T['io.flow.v0.models.local_session'] = PropTypes.exact({
10875
+ country: T['io.flow.v0.models.country'].isRequired,
10876
+ currency: T['io.flow.v0.models.currency'].isRequired,
10877
+ language: T['io.flow.v0.models.language'].isRequired,
10878
+ locale: T['io.flow.v0.models.locale'].isRequired,
10879
+ experience: T['io.flow.v0.models.experience_geo'].isRequired,
10880
+ });
10881
+
10882
+ T['io.flow.v0.models.organization_session'] = PropTypes.exact({
10883
+ discriminator: PropTypes.oneOf(['organization_session']).isRequired,
10884
+ id: PropTypes.string.isRequired,
10885
+ organization: PropTypes.string.isRequired,
10886
+ visitor: T['io.flow.v0.models.session_visitor'].isRequired,
10887
+ visit: T['io.flow.v0.models.session_visit'].isRequired,
10888
+ environment: T['io.flow.v0.enums.environment'].isRequired,
10889
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
10890
+ ip: PropTypes.string,
10891
+ local: T['io.flow.v0.models.local_session'],
10892
+ geo: T['io.flow.v0.models.session_geo'],
10893
+ experience: T['io.flow.v0.models.experience_geo'],
10894
+ format: T['io.flow.v0.models.session_format'],
10895
+ });
10896
+
10897
+ T['io.flow.v0.unions.session'] = PropTypes.oneOfType([T['io.flow.v0.models.organization_session']]);
10898
+
10899
+ T['io.flow.v0.models.shipping_configuration_reference'] = PropTypes.exact({
10900
+ key: PropTypes.string.isRequired,
10901
+ });
10902
+
10903
+ T['io.flow.v0.models.shipping_configuration_copy'] = PropTypes.exact({
10904
+ original: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
10905
+ 'new': T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
10906
+ });
10907
+
10908
+ T['io.flow.v0.models.logistics_settings'] = PropTypes.exact({
10909
+ shipping_configuration: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
10910
+ });
10911
+
10912
+ T['io.flow.v0.models.experience_settings'] = PropTypes.exact({
10913
+ delivered_duty: T['io.flow.v0.models.delivered_duty_setting'].isRequired,
10914
+ pricing_settings: T['io.flow.v0.models.pricing_settings'],
10915
+ logistics_settings: T['io.flow.v0.models.logistics_settings'],
10916
+ checkout_settings: T['io.flow.v0.models.experience_checkout_configuration_settings'],
10917
+ });
10910
10918
 
10911
- T['io.flow.v0.models.organization_onboarding_state'] = PropTypes.exact({
10919
+ T['io.flow.v0.models.experience'] = PropTypes.exact({
10920
+ discriminator: PropTypes.oneOf(['experience']).isRequired,
10912
10921
  id: PropTypes.string.isRequired,
10913
- organization: T['io.flow.v0.models.organization_reference'].isRequired,
10914
- transitions: PropTypes.arrayOf(T['io.flow.v0.models.onboarding_state_transition']).isRequired,
10915
- current_state: T['io.flow.v0.unions.onboarding_state'].isRequired,
10916
- started_at: PropTypes.string,
10917
- time_blocked: PropTypes.number,
10918
- time_in_setup: PropTypes.number,
10919
- blocked_since: PropTypes.string,
10920
- completed_at: PropTypes.string,
10921
- onboarding_started_at: PropTypes.string,
10922
+ key: PropTypes.string.isRequired,
10923
+ name: PropTypes.string.isRequired,
10924
+ delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
10925
+ region: T['io.flow.v0.models.region_reference'].isRequired,
10926
+ country: PropTypes.string.isRequired,
10927
+ currency: PropTypes.string.isRequired,
10928
+ language: PropTypes.string.isRequired,
10929
+ measurement_system: T['io.flow.v0.enums.measurement_system'].isRequired,
10930
+ subcatalog: T['io.flow.v0.models.subcatalog_reference'].isRequired,
10931
+ position: PropTypes.number.isRequired,
10932
+ settings: T['io.flow.v0.models.experience_settings'].isRequired,
10933
+ status: T['io.flow.v0.enums.experience_status'],
10922
10934
  });
10923
10935
 
10924
- T['io.flow.v0.models.organization_onboarding_state_upserted'] = PropTypes.exact({
10925
- discriminator: PropTypes.oneOf(['organization_onboarding_state_upserted']).isRequired,
10936
+ T['io.flow.v0.unions.expandable_experience'] = PropTypes.oneOfType([
10937
+ T['io.flow.v0.models.experience'],
10938
+ T['io.flow.v0.models.experience_reference'],
10939
+ ]);
10940
+
10941
+ T['io.flow.v0.models.experience_upserted_v2'] = PropTypes.exact({
10942
+ discriminator: PropTypes.oneOf(['experience_upserted_v2']).isRequired,
10926
10943
  event_id: PropTypes.string.isRequired,
10927
10944
  timestamp: PropTypes.string.isRequired,
10928
10945
  organization: PropTypes.string.isRequired,
10929
- organization_onboarding_state: T['io.flow.v0.models.organization_onboarding_state'].isRequired,
10946
+ experience: T['io.flow.v0.models.experience'].isRequired,
10930
10947
  });
10931
10948
 
10932
- T['io.flow.v0.models.organization_onboarding_state_deleted'] = PropTypes.exact({
10933
- discriminator: PropTypes.oneOf(['organization_onboarding_state_deleted']).isRequired,
10949
+ T['io.flow.v0.models.experience_deleted_v2'] = PropTypes.exact({
10950
+ discriminator: PropTypes.oneOf(['experience_deleted_v2']).isRequired,
10934
10951
  event_id: PropTypes.string.isRequired,
10935
10952
  timestamp: PropTypes.string.isRequired,
10936
10953
  organization: PropTypes.string.isRequired,
10937
- id: PropTypes.string.isRequired,
10938
- organization_onboarding_state: T['io.flow.v0.models.organization_onboarding_state'].isRequired,
10954
+ experience: T['io.flow.v0.models.experience'].isRequired,
10939
10955
  });
10940
10956
 
10941
- T['io.flow.v0.models.organization'] = PropTypes.exact({
10942
- discriminator: PropTypes.oneOf(['organization']).isRequired,
10957
+ T['io.flow.v0.models.experience_logistics_settings'] = PropTypes.exact({
10943
10958
  id: PropTypes.string.isRequired,
10944
- name: PropTypes.string.isRequired,
10945
- environment: T['io.flow.v0.enums.environment'].isRequired,
10946
- parent: T['io.flow.v0.models.organization_reference'],
10947
- defaults: T['io.flow.v0.models.organization_defaults'],
10948
- created_at: PropTypes.string,
10949
- status: T['io.flow.v0.enums.organization_status'],
10950
- type: T['io.flow.v0.enums.organization_type'],
10959
+ experience: T['io.flow.v0.models.experience_overview'].isRequired,
10960
+ shipping_configuration: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
10951
10961
  });
10952
10962
 
10953
- T['io.flow.v0.models.organization_upserted_v2'] = PropTypes.exact({
10954
- discriminator: PropTypes.oneOf(['organization_upserted_v2']).isRequired,
10963
+ T['io.flow.v0.models.experience_logistics_settings_upserted'] = PropTypes.exact({
10964
+ discriminator: PropTypes.oneOf(['experience_logistics_settings_upserted']).isRequired,
10955
10965
  event_id: PropTypes.string.isRequired,
10956
10966
  timestamp: PropTypes.string.isRequired,
10957
- organization: T['io.flow.v0.models.organization'].isRequired,
10967
+ organization: PropTypes.string.isRequired,
10968
+ logistics_settings: T['io.flow.v0.models.experience_logistics_settings'].isRequired,
10958
10969
  });
10959
10970
 
10960
- T['io.flow.v0.models.organization_deleted_v2'] = PropTypes.exact({
10961
- discriminator: PropTypes.oneOf(['organization_deleted_v2']).isRequired,
10971
+ T['io.flow.v0.models.experience_logistics_settings_deleted'] = PropTypes.exact({
10972
+ discriminator: PropTypes.oneOf(['experience_logistics_settings_deleted']).isRequired,
10962
10973
  event_id: PropTypes.string.isRequired,
10963
10974
  timestamp: PropTypes.string.isRequired,
10964
- organization: T['io.flow.v0.models.organization'].isRequired,
10975
+ organization: PropTypes.string.isRequired,
10976
+ logistics_settings: T['io.flow.v0.models.experience_logistics_settings'].isRequired,
10965
10977
  });
10966
10978
 
10967
- T['io.flow.v0.models.marketing_feeds_export_type'] = PropTypes.exact({
10968
- discriminator: PropTypes.oneOf(['marketing_feeds_export_type']).isRequired,
10969
- organization: T['io.flow.v0.models.organization_reference'].isRequired,
10970
- feed_ids: PropTypes.arrayOf(PropTypes.string).isRequired,
10979
+ T['io.flow.v0.enums.available_filter_format'] = PropTypes.oneOf([
10980
+ 'boolean',
10981
+ 'date',
10982
+ 'money',
10983
+ 'decimal',
10984
+ 'string',
10985
+ 'unit_of_length',
10986
+ 'unit_of_mass',
10987
+ ]);
10988
+
10989
+ T['io.flow.v0.models.available_filter_structured'] = PropTypes.exact({
10990
+ discriminator: PropTypes.oneOf(['structured']).isRequired,
10991
+ field: PropTypes.string.isRequired,
10992
+ operators: PropTypes.arrayOf(PropTypes.string).isRequired,
10993
+ format: T['io.flow.v0.enums.available_filter_format'].isRequired,
10994
+ valid_values: PropTypes.arrayOf(PropTypes.string),
10995
+ placeholder: PropTypes.string,
10971
10996
  });
10972
10997
 
10973
- T['io.flow.v0.unions.expandable_organization'] = PropTypes.oneOfType([
10974
- T['io.flow.v0.models.organization'],
10975
- T['io.flow.v0.models.organization_reference'],
10998
+ T['io.flow.v0.unions.available_filter'] = PropTypes.oneOfType([
10999
+ T['io.flow.v0.models.available_filter_structured'],
11000
+ T['io.flow.v0.models.available_filter_unstructured'],
10976
11001
  ]);
10977
11002
 
10978
- T['io.flow.v0.models.checkout_token'] = PropTypes.exact({
10979
- id: PropTypes.string.isRequired,
10980
- organization: T['io.flow.v0.models.organization_reference'].isRequired,
10981
- checkout: T['io.flow.v0.models.checkout_reference'].isRequired,
10982
- order: T['io.flow.v0.models.order_number_reference'].isRequired,
10983
- urls: T['io.flow.v0.models.checkout_urls'].isRequired,
11003
+ T['io.flow.v0.models.query_builder'] = PropTypes.exact({
11004
+ q: PropTypes.string.isRequired,
11005
+ filters: PropTypes.arrayOf(T['io.flow.v0.unions.query_filter']).isRequired,
11006
+ available: PropTypes.arrayOf(T['io.flow.v0.unions.available_filter']).isRequired,
11007
+ });
11008
+
11009
+ T['io.flow.v0.models.select_issuer_option_action_details'] = PropTypes.exact({
11010
+ discriminator: PropTypes.oneOf(['select_issuer_option_action_details']).isRequired,
11011
+ issuer_options: PropTypes.arrayOf(T['io.flow.v0.models.issuer_reference']).isRequired,
11012
+ });
11013
+
11014
+ T['io.flow.v0.models.klarna_sdk_authorization_result_action_details'] = PropTypes.exact({
11015
+ discriminator: PropTypes.oneOf(['klarna_sdk_authorization_result_action_details']).isRequired,
11016
+ client_token: PropTypes.string.isRequired,
11017
+ payment_method_categories: PropTypes.arrayOf(T['io.flow.v0.models.klarna_payment_method_category']).isRequired,
11018
+ });
11019
+
11020
+ T['io.flow.v0.models.applepay_sdk_validate_result_action_details'] = PropTypes.exact({
11021
+ discriminator: PropTypes.oneOf(['applepay_sdk_validate_result_action_details']).isRequired,
11022
+ payment_session: PropTypes.object.isRequired,
11023
+ });
11024
+
11025
+ T['io.flow.v0.models.applepay_sdk_create_result_action_details'] = PropTypes.exact({
11026
+ discriminator: PropTypes.oneOf(['applepay_sdk_create_result_action_details']).isRequired,
11027
+ merchant_identifier: PropTypes.string.isRequired,
11028
+ payment_data_request: PropTypes.object.isRequired,
11029
+ });
11030
+
11031
+ T['io.flow.v0.models.threeds_challenge_action_details'] = PropTypes.exact({
11032
+ discriminator: PropTypes.oneOf(['threeds_challenge_action_details']).isRequired,
11033
+ threeds_challenge_action: T['io.flow.v0.unions.threeds_challenge_action'].isRequired,
10984
11034
  expires_at: PropTypes.string.isRequired,
10985
- session: T['io.flow.v0.models.session_reference'].isRequired,
10986
- customer: T['io.flow.v0.models.customer_reference'],
10987
11035
  });
10988
11036
 
10989
- T['io.flow.v0.models.channel_organization'] = PropTypes.exact({
10990
- id: PropTypes.string.isRequired,
10991
- organization: T['io.flow.v0.models.organization_reference'].isRequired,
10992
- key: PropTypes.string.isRequired,
10993
- channel: T['io.flow.v0.models.channel_reference'].isRequired,
10994
- name: PropTypes.string.isRequired,
10995
- slug: PropTypes.string,
10996
- defaults: T['io.flow.v0.models.organization_defaults'].isRequired,
10997
- attributes: PropTypes.objectOf(PropTypes.string),
11037
+ T['io.flow.v0.models.threeds_identify_action_details'] = PropTypes.exact({
11038
+ discriminator: PropTypes.oneOf(['threeds_identify_action_details']).isRequired,
11039
+ threeds_identify_action: T['io.flow.v0.unions.threeds_identify_action'].isRequired,
11040
+ expires_at: PropTypes.string.isRequired,
10998
11041
  });
10999
11042
 
11000
- T['io.flow.v0.models.channel_organization_upserted'] = PropTypes.exact({
11001
- discriminator: PropTypes.oneOf(['channel_organization_upserted']).isRequired,
11002
- event_id: PropTypes.string.isRequired,
11003
- timestamp: PropTypes.string.isRequired,
11004
- channel_organization: T['io.flow.v0.models.channel_organization'].isRequired,
11043
+ T['io.flow.v0.models.stripe_authorization_result_action_details'] = PropTypes.exact({
11044
+ discriminator: PropTypes.oneOf(['stripe_authorization_result_action_details']).isRequired,
11045
+ client_secret: PropTypes.string,
11046
+ payment_method_id: PropTypes.string,
11047
+ publishable_key: PropTypes.string,
11005
11048
  });
11006
11049
 
11007
- T['io.flow.v0.enums.b2b_invoice_type'] = PropTypes.oneOf(['self_bill_invoice', 'invoice']);
11050
+ T['io.flow.v0.enums.authorization_result_action_type'] = PropTypes.oneOf(['native', 'redirect', 'wait']);
11051
+ T['io.flow.v0.enums.three_d_secure_code'] = PropTypes.oneOf(['verified', 'not_verified', 'failed']);
11008
11052
 
11009
- T['io.flow.v0.models.consumer_invoice_document'] = PropTypes.exact({
11010
- type: T['io.flow.v0.enums.consumer_invoice_document_type'].isRequired,
11011
- language: PropTypes.string.isRequired,
11053
+ T['io.flow.v0.models.authorization_result_action_wait'] = PropTypes.exact({
11054
+ discriminator: PropTypes.oneOf(['authorization_result_action_wait']).isRequired,
11055
+ type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
11056
+ });
11057
+
11058
+ T['io.flow.v0.models.authorization_result_action_post'] = PropTypes.exact({
11059
+ discriminator: PropTypes.oneOf(['authorization_result_action_post']).isRequired,
11060
+ type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
11012
11061
  url: PropTypes.string.isRequired,
11062
+ parameters: PropTypes.object.isRequired,
11013
11063
  });
11014
11064
 
11015
- T['io.flow.v0.models.b2b_invoice_reference'] = PropTypes.exact({
11016
- id: PropTypes.string.isRequired,
11017
- key: PropTypes.string.isRequired,
11018
- number: PropTypes.string.isRequired,
11065
+ T['io.flow.v0.models.authorization_code'] = PropTypes.exact({
11066
+ result_code: PropTypes.string.isRequired,
11067
+ code: PropTypes.string.isRequired,
11019
11068
  });
11020
11069
 
11021
- T['io.flow.v0.enums.consumer_invoice_status'] = PropTypes.oneOf(['pending', 'available', 'invalid']);
11070
+ T['io.flow.v0.models.authorization_result_description'] = PropTypes.exact({
11071
+ display: PropTypes.string.isRequired,
11072
+ });
11022
11073
 
11023
- T['io.flow.v0.models.merchant_of_record_entity'] = PropTypes.exact({
11024
- organization: T['io.flow.v0.models.organization_reference'].isRequired,
11025
- name: PropTypes.string.isRequired,
11026
- vat: T['io.flow.v0.models.merchant_of_record_entity_registration'],
11027
- identifiers: PropTypes.arrayOf(T['io.flow.v0.models.entity_identifier']),
11028
- streets: PropTypes.arrayOf(PropTypes.string).isRequired,
11029
- city: PropTypes.string.isRequired,
11030
- province: PropTypes.string,
11031
- postal: PropTypes.string,
11032
- country: PropTypes.string.isRequired,
11033
- phone: PropTypes.string,
11034
- email: PropTypes.string,
11074
+ T['io.flow.v0.models.three_d_secure'] = PropTypes.exact({
11075
+ code: T['io.flow.v0.enums.three_d_secure_code'].isRequired,
11076
+ description: PropTypes.string,
11077
+ eci: PropTypes.string,
11078
+ liability_sift: PropTypes.bool,
11079
+ version: PropTypes.string,
11080
+ authenticated: PropTypes.bool,
11081
+ authenticated_result: PropTypes.string,
11082
+ offered: PropTypes.bool,
11083
+ offered_result: PropTypes.string,
11084
+ sca_exemption: PropTypes.string,
11035
11085
  });
11036
11086
 
11037
- T['io.flow.v0.enums.tax_report_type'] = PropTypes.oneOf(['consumer', 'b2b']);
11087
+ T['io.flow.v0.enums.authorization_status'] = PropTypes.oneOf([
11088
+ 'initiated',
11089
+ 'pending',
11090
+ 'expired',
11091
+ 'authorized',
11092
+ 'review',
11093
+ 'declined',
11094
+ 'reversed',
11095
+ ]);
11038
11096
 
11039
- T['io.flow.v0.enums.day_of_week'] = PropTypes.oneOf([
11040
- 'sunday',
11041
- 'monday',
11042
- 'tuesday',
11043
- 'wednesday',
11044
- 'thursday',
11045
- 'friday',
11046
- 'saturday',
11097
+ T['io.flow.v0.models.authorization_order_reference'] = PropTypes.exact({
11098
+ discriminator: PropTypes.oneOf(['flow_order']).isRequired,
11099
+ number: PropTypes.string.isRequired,
11100
+ });
11101
+
11102
+ T['io.flow.v0.models.payment_paypal'] = PropTypes.exact({
11103
+ discriminator: PropTypes.oneOf(['payment_paypal']).isRequired,
11104
+ id: PropTypes.string.isRequired,
11105
+ order: T['io.flow.v0.models.authorization_order_reference'],
11106
+ amount: PropTypes.number.isRequired,
11107
+ currency: PropTypes.string.isRequired,
11108
+ created_at: PropTypes.string,
11109
+ paypal: T['io.flow.v0.unions.online_authorization_details'].isRequired,
11110
+ });
11111
+
11112
+ T['io.flow.v0.models.payment_cryptopay'] = PropTypes.exact({
11113
+ discriminator: PropTypes.oneOf(['payment_cryptopay']).isRequired,
11114
+ id: PropTypes.string.isRequired,
11115
+ order: T['io.flow.v0.models.authorization_order_reference'],
11116
+ amount: PropTypes.number.isRequired,
11117
+ currency: PropTypes.string.isRequired,
11118
+ created_at: PropTypes.string,
11119
+ cryptopay: T['io.flow.v0.unions.online_authorization_details'].isRequired,
11120
+ });
11121
+
11122
+ T['io.flow.v0.unions.payment'] = PropTypes.oneOfType([
11123
+ T['io.flow.v0.models.payment_paypal'],
11124
+ T['io.flow.v0.models.payment_cryptopay'],
11047
11125
  ]);
11048
11126
 
11049
- T['io.flow.v0.models.repeat_weekly'] = PropTypes.exact({
11050
- discriminator: PropTypes.oneOf(['repeat_weekly']).isRequired,
11051
- interval: PropTypes.number.isRequired,
11052
- days_of_week: PropTypes.arrayOf(T['io.flow.v0.enums.day_of_week']).isRequired,
11127
+ T['io.flow.v0.models.payment_upserted'] = PropTypes.exact({
11128
+ discriminator: PropTypes.oneOf(['payment_upserted']).isRequired,
11129
+ event_id: PropTypes.string.isRequired,
11130
+ timestamp: PropTypes.string.isRequired,
11131
+ organization: PropTypes.string.isRequired,
11132
+ id: PropTypes.string.isRequired,
11133
+ payment: T['io.flow.v0.unions.payment'].isRequired,
11053
11134
  });
11054
11135
 
11055
- T['io.flow.v0.unions.repeat_schedule'] = PropTypes.oneOfType([
11056
- T['io.flow.v0.models.repeat_hourly'],
11057
- T['io.flow.v0.models.repeat_daily'],
11058
- T['io.flow.v0.models.repeat_weekly'],
11059
- T['io.flow.v0.models.repeat_monthly'],
11136
+ T['io.flow.v0.unions.payment_order_reference'] = PropTypes.oneOfType([
11137
+ T['io.flow.v0.models.authorization_order_reference'],
11138
+ T['io.flow.v0.models.payment_payment_request_reference'],
11060
11139
  ]);
11061
11140
 
11062
- T['io.flow.v0.models.tax_report'] = PropTypes.exact({
11063
- schedule: T['io.flow.v0.unions.repeat_schedule'].isRequired,
11064
- timezone: PropTypes.string.isRequired,
11065
- types: PropTypes.arrayOf(T['io.flow.v0.enums.tax_report_type']).isRequired,
11066
- email_recipients: PropTypes.arrayOf(PropTypes.string),
11141
+ T['io.flow.v0.models.authorization_reference'] = PropTypes.exact({
11142
+ id: PropTypes.string.isRequired,
11143
+ key: PropTypes.string.isRequired,
11144
+ order: T['io.flow.v0.models.authorization_order_reference'],
11067
11145
  });
11068
11146
 
11069
- T['io.flow.v0.models.avalara_tax_csv_setting'] = PropTypes.exact({
11070
- discriminator: PropTypes.oneOf(['avalara_tax_csv_setting']).isRequired,
11071
- reports: PropTypes.arrayOf(T['io.flow.v0.models.tax_report']),
11147
+ T['io.flow.v0.models.virtual_card_refund'] = PropTypes.exact({
11148
+ id: PropTypes.string.isRequired,
11149
+ issuer: T['io.flow.v0.models.issuer_v1'].isRequired,
11150
+ virtual_card: T['io.flow.v0.models.virtual_card_reference'].isRequired,
11151
+ authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
11152
+ amount: PropTypes.number.isRequired,
11153
+ currency: PropTypes.string.isRequired,
11154
+ created_at: PropTypes.string.isRequired,
11072
11155
  });
11073
11156
 
11074
- T['io.flow.v0.unions.tax_setting'] = PropTypes.oneOfType([
11075
- T['io.flow.v0.models.avalara_tax_setting'],
11076
- T['io.flow.v0.models.avalara_tax_csv_setting'],
11077
- ]);
11078
-
11079
- T['io.flow.v0.models.onboarding_merchant_scheduled_pickup'] = PropTypes.exact({
11080
- day_of_week: T['io.flow.v0.enums.day_of_week'].isRequired,
11081
- window: T['io.flow.v0.models.onboarding_merchant_pickup_window'].isRequired,
11082
- instructions: PropTypes.string,
11157
+ T['io.flow.v0.models.virtual_card_refund_upserted'] = PropTypes.exact({
11158
+ discriminator: PropTypes.oneOf(['virtual_card_refund_upserted']).isRequired,
11159
+ event_id: PropTypes.string.isRequired,
11160
+ timestamp: PropTypes.string.isRequired,
11161
+ organization: PropTypes.string.isRequired,
11162
+ id: PropTypes.string.isRequired,
11163
+ refund: T['io.flow.v0.models.virtual_card_refund'].isRequired,
11083
11164
  });
11084
11165
 
11085
- T['io.flow.v0.models.third_party_logistics_partner'] = PropTypes.exact({
11086
- warehouse_address: T['io.flow.v0.models.merchant_onboarding_address'].isRequired,
11087
- warehouse_url: PropTypes.string,
11088
- location: T['io.flow.v0.models.merchant_onboarding_address'],
11089
- scheduled_pickups: PropTypes.arrayOf(T['io.flow.v0.models.onboarding_merchant_scheduled_pickup']),
11090
- operations_contact: T['io.flow.v0.models.operations_contact'].isRequired,
11091
- center_id: PropTypes.string,
11166
+ T['io.flow.v0.models.virtual_card_capture'] = PropTypes.exact({
11167
+ id: PropTypes.string.isRequired,
11168
+ issuer: T['io.flow.v0.models.issuer_v1'].isRequired,
11169
+ virtual_card: T['io.flow.v0.models.virtual_card_reference'].isRequired,
11170
+ authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
11171
+ amount: PropTypes.number.isRequired,
11172
+ currency: PropTypes.string.isRequired,
11173
+ created_at: PropTypes.string.isRequired,
11092
11174
  });
11093
11175
 
11094
- T['io.flow.v0.models.number_range'] = PropTypes.exact({
11095
- min: PropTypes.number.isRequired,
11096
- max: PropTypes.number.isRequired,
11176
+ T['io.flow.v0.models.virtual_card_capture_upserted'] = PropTypes.exact({
11177
+ discriminator: PropTypes.oneOf(['virtual_card_capture_upserted']).isRequired,
11178
+ event_id: PropTypes.string.isRequired,
11179
+ timestamp: PropTypes.string.isRequired,
11180
+ organization: PropTypes.string.isRequired,
11181
+ id: PropTypes.string.isRequired,
11182
+ capture: T['io.flow.v0.models.virtual_card_capture'].isRequired,
11097
11183
  });
11098
11184
 
11099
- T['io.flow.v0.models.scheduled_pickup'] = PropTypes.exact({
11100
- day_of_week: T['io.flow.v0.enums.day_of_week'].isRequired,
11101
- hour_of_day: PropTypes.string.isRequired,
11102
- minute_of_hour: PropTypes.string.isRequired,
11185
+ T['io.flow.v0.models.apple_pay_merchant_validation_payload'] = PropTypes.exact({
11186
+ discriminator: PropTypes.oneOf(['apple_pay_merchant_validation_payload']).isRequired,
11187
+ validation_url: PropTypes.string.isRequired,
11188
+ display_name: PropTypes.string,
11103
11189
  });
11104
11190
 
11105
- T['io.flow.v0.models.available_service'] = PropTypes.exact({
11106
- service: PropTypes.string.isRequired,
11107
- scheduled_pickups: PropTypes.arrayOf(T['io.flow.v0.models.scheduled_pickup']),
11108
- lead_days: T['io.flow.v0.models.number_range'],
11191
+ T['io.flow.v0.models.google_pay_authorization_payload'] = PropTypes.exact({
11192
+ discriminator: PropTypes.oneOf(['google_pay_authorization_payload']).isRequired,
11193
+ payload: PropTypes.object.isRequired,
11109
11194
  });
11110
11195
 
11111
- T['io.flow.v0.models.region_reference'] = PropTypes.exact({
11112
- id: PropTypes.string.isRequired,
11196
+ T['io.flow.v0.unions.authorization_payload_parameters'] = PropTypes.oneOfType([
11197
+ T['io.flow.v0.models.google_pay_authorization_payload'],
11198
+ T['io.flow.v0.models.apple_pay_merchant_validation_payload'],
11199
+ ]);
11200
+
11201
+ T['io.flow.v0.models.authorization_payload'] = PropTypes.exact({
11202
+ parameters: T['io.flow.v0.unions.authorization_payload_parameters'].isRequired,
11113
11203
  });
11114
11204
 
11115
- T['io.flow.v0.models.experience_geo'] = PropTypes.exact({
11116
- key: PropTypes.string.isRequired,
11117
- name: PropTypes.string.isRequired,
11118
- region: T['io.flow.v0.models.region_reference'].isRequired,
11119
- country: PropTypes.string.isRequired,
11120
- currency: PropTypes.string.isRequired,
11121
- language: PropTypes.string.isRequired,
11122
- measurement_system: T['io.flow.v0.enums.measurement_system'].isRequired,
11205
+ T['io.flow.v0.enums.cvv_code'] = PropTypes.oneOf(['match', 'suspicious', 'unsupported', 'no_match']);
11206
+ T['io.flow.v0.enums.avs_code'] = PropTypes.oneOf(['match', 'partial', 'unsupported', 'no_match']);
11207
+
11208
+ T['io.flow.v0.models.cvv'] = PropTypes.exact({
11209
+ code: T['io.flow.v0.enums.cvv_code'].isRequired,
11210
+ description: PropTypes.string,
11123
11211
  });
11124
11212
 
11125
- T['io.flow.v0.models.local_session'] = PropTypes.exact({
11126
- country: T['io.flow.v0.models.country'].isRequired,
11127
- currency: T['io.flow.v0.models.currency'].isRequired,
11128
- language: T['io.flow.v0.models.language'].isRequired,
11129
- locale: T['io.flow.v0.models.locale'].isRequired,
11130
- experience: T['io.flow.v0.models.experience_geo'].isRequired,
11213
+ T['io.flow.v0.models.avs'] = PropTypes.exact({
11214
+ code: T['io.flow.v0.enums.avs_code'].isRequired,
11215
+ name: PropTypes.bool,
11216
+ address: PropTypes.bool,
11217
+ postal: PropTypes.bool,
11218
+ description: PropTypes.string,
11131
11219
  });
11132
11220
 
11133
- T['io.flow.v0.models.organization_session'] = PropTypes.exact({
11134
- discriminator: PropTypes.oneOf(['organization_session']).isRequired,
11135
- id: PropTypes.string.isRequired,
11136
- organization: PropTypes.string.isRequired,
11137
- visitor: T['io.flow.v0.models.session_visitor'].isRequired,
11138
- visit: T['io.flow.v0.models.session_visit'].isRequired,
11139
- environment: T['io.flow.v0.enums.environment'].isRequired,
11140
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
11141
- ip: PropTypes.string,
11142
- local: T['io.flow.v0.models.local_session'],
11143
- geo: T['io.flow.v0.models.session_geo'],
11144
- experience: T['io.flow.v0.models.experience_geo'],
11145
- format: T['io.flow.v0.models.session_format'],
11221
+ T['io.flow.v0.models.card_error'] = PropTypes.exact({
11222
+ code: T['io.flow.v0.enums.card_error_code'].isRequired,
11223
+ messages: PropTypes.arrayOf(PropTypes.string).isRequired,
11224
+ avs: T['io.flow.v0.models.avs'],
11225
+ cvv: T['io.flow.v0.models.cvv'],
11146
11226
  });
11147
11227
 
11148
- T['io.flow.v0.unions.session'] = PropTypes.oneOfType([T['io.flow.v0.models.organization_session']]);
11228
+ T['io.flow.v0.enums.authorization_decline_code'] = PropTypes.oneOf([
11229
+ 'expired',
11230
+ 'invalid_name',
11231
+ 'invalid_number',
11232
+ 'invalid_expiration',
11233
+ 'invalid_address',
11234
+ 'invalid_token_type',
11235
+ 'invalid_token',
11236
+ 'no_account',
11237
+ 'avs',
11238
+ 'cvv',
11239
+ 'fraud',
11240
+ 'duplicate',
11241
+ 'not_supported',
11242
+ 'unknown',
11243
+ 'online_payment_error',
11244
+ ]);
11149
11245
 
11150
- T['io.flow.v0.models.shipping_configuration_reference'] = PropTypes.exact({
11151
- key: PropTypes.string.isRequired,
11246
+ T['io.flow.v0.models.payment_authorization_status'] = PropTypes.exact({
11247
+ status: T['io.flow.v0.enums.authorization_status'].isRequired,
11248
+ reason: T['io.flow.v0.enums.authorization_decline_code'],
11152
11249
  });
11153
11250
 
11154
- T['io.flow.v0.models.shipping_configuration_copy'] = PropTypes.exact({
11155
- original: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
11156
- 'new': T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
11251
+ T['io.flow.v0.models.authorization_error'] = PropTypes.exact({
11252
+ code: T['io.flow.v0.enums.authorization_decline_code'].isRequired,
11253
+ messages: PropTypes.arrayOf(PropTypes.string).isRequired,
11254
+ avs: T['io.flow.v0.models.avs'],
11255
+ cvv: T['io.flow.v0.models.cvv'],
11157
11256
  });
11158
11257
 
11159
- T['io.flow.v0.models.logistics_settings'] = PropTypes.exact({
11160
- shipping_configuration: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
11161
- });
11258
+ T['io.flow.v0.enums.change_type'] = PropTypes.oneOf(['insert', 'update', 'delete']);
11162
11259
 
11163
- T['io.flow.v0.models.experience_settings'] = PropTypes.exact({
11164
- delivered_duty: T['io.flow.v0.models.delivered_duty_setting'].isRequired,
11165
- pricing_settings: T['io.flow.v0.models.pricing_settings'],
11166
- logistics_settings: T['io.flow.v0.models.logistics_settings'],
11167
- checkout_settings: T['io.flow.v0.models.experience_checkout_configuration_settings'],
11260
+ T['io.flow.v0.models.virtual_card_refund_version'] = PropTypes.exact({
11261
+ id: PropTypes.string.isRequired,
11262
+ timestamp: PropTypes.string.isRequired,
11263
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11264
+ virtual_card_refund: T['io.flow.v0.models.virtual_card_refund'].isRequired,
11168
11265
  });
11169
11266
 
11170
- T['io.flow.v0.models.experience'] = PropTypes.exact({
11171
- discriminator: PropTypes.oneOf(['experience']).isRequired,
11267
+ T['io.flow.v0.models.virtual_card_capture_version'] = PropTypes.exact({
11172
11268
  id: PropTypes.string.isRequired,
11173
- key: PropTypes.string.isRequired,
11174
- name: PropTypes.string.isRequired,
11175
- delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
11176
- region: T['io.flow.v0.models.region_reference'].isRequired,
11177
- country: PropTypes.string.isRequired,
11178
- currency: PropTypes.string.isRequired,
11179
- language: PropTypes.string.isRequired,
11180
- measurement_system: T['io.flow.v0.enums.measurement_system'].isRequired,
11181
- subcatalog: T['io.flow.v0.models.subcatalog_reference'].isRequired,
11182
- position: PropTypes.number.isRequired,
11183
- settings: T['io.flow.v0.models.experience_settings'].isRequired,
11184
- status: T['io.flow.v0.enums.experience_status'],
11269
+ timestamp: PropTypes.string.isRequired,
11270
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11271
+ virtual_card_capture: T['io.flow.v0.models.virtual_card_capture'].isRequired,
11185
11272
  });
11186
11273
 
11187
- T['io.flow.v0.unions.expandable_experience'] = PropTypes.oneOfType([
11188
- T['io.flow.v0.models.experience'],
11189
- T['io.flow.v0.models.experience_reference'],
11190
- ]);
11191
-
11192
- T['io.flow.v0.models.experience_upserted_v2'] = PropTypes.exact({
11193
- discriminator: PropTypes.oneOf(['experience_upserted_v2']).isRequired,
11194
- event_id: PropTypes.string.isRequired,
11274
+ T['io.flow.v0.models.tracking_version'] = PropTypes.exact({
11275
+ id: PropTypes.string.isRequired,
11195
11276
  timestamp: PropTypes.string.isRequired,
11196
- organization: PropTypes.string.isRequired,
11197
- experience: T['io.flow.v0.models.experience'].isRequired,
11277
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11278
+ tracking: T['io.flow.v0.models.tracking_summary'].isRequired,
11198
11279
  });
11199
11280
 
11200
- T['io.flow.v0.models.experience_deleted_v2'] = PropTypes.exact({
11201
- discriminator: PropTypes.oneOf(['experience_deleted_v2']).isRequired,
11202
- event_id: PropTypes.string.isRequired,
11281
+ T['io.flow.v0.models.tracking_label_version'] = PropTypes.exact({
11282
+ id: PropTypes.string.isRequired,
11203
11283
  timestamp: PropTypes.string.isRequired,
11204
- organization: PropTypes.string.isRequired,
11205
- experience: T['io.flow.v0.models.experience'].isRequired,
11284
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11285
+ tracking_label: T['io.flow.v0.models.tracking_label_summary'].isRequired,
11206
11286
  });
11207
11287
 
11208
- T['io.flow.v0.models.experience_logistics_settings'] = PropTypes.exact({
11288
+ T['io.flow.v0.models.tracking_event_version'] = PropTypes.exact({
11209
11289
  id: PropTypes.string.isRequired,
11210
- experience: T['io.flow.v0.models.experience_overview'].isRequired,
11211
- shipping_configuration: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
11290
+ timestamp: PropTypes.string.isRequired,
11291
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11292
+ tracking_event: T['io.flow.v0.models.tracking_event_summary'].isRequired,
11212
11293
  });
11213
11294
 
11214
- T['io.flow.v0.models.experience_logistics_settings_upserted'] = PropTypes.exact({
11215
- discriminator: PropTypes.oneOf(['experience_logistics_settings_upserted']).isRequired,
11216
- event_id: PropTypes.string.isRequired,
11295
+ T['io.flow.v0.models.tier_version'] = PropTypes.exact({
11296
+ id: PropTypes.string.isRequired,
11217
11297
  timestamp: PropTypes.string.isRequired,
11218
- organization: PropTypes.string.isRequired,
11219
- logistics_settings: T['io.flow.v0.models.experience_logistics_settings'].isRequired,
11298
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11299
+ tier: T['io.flow.v0.models.tier_summary'].isRequired,
11220
11300
  });
11221
11301
 
11222
- T['io.flow.v0.models.experience_logistics_settings_deleted'] = PropTypes.exact({
11223
- discriminator: PropTypes.oneOf(['experience_logistics_settings_deleted']).isRequired,
11224
- event_id: PropTypes.string.isRequired,
11302
+ T['io.flow.v0.models.subcatalog_version'] = PropTypes.exact({
11303
+ id: PropTypes.string.isRequired,
11225
11304
  timestamp: PropTypes.string.isRequired,
11226
- organization: PropTypes.string.isRequired,
11227
- logistics_settings: T['io.flow.v0.models.experience_logistics_settings'].isRequired,
11305
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11306
+ subcatalog: T['io.flow.v0.models.subcatalog'].isRequired,
11228
11307
  });
11229
11308
 
11230
- T['io.flow.v0.enums.available_filter_format'] = PropTypes.oneOf([
11231
- 'boolean',
11232
- 'date',
11233
- 'money',
11234
- 'decimal',
11235
- 'string',
11236
- 'unit_of_length',
11237
- 'unit_of_mass',
11238
- ]);
11239
-
11240
- T['io.flow.v0.models.available_filter_structured'] = PropTypes.exact({
11241
- discriminator: PropTypes.oneOf(['structured']).isRequired,
11242
- field: PropTypes.string.isRequired,
11243
- operators: PropTypes.arrayOf(PropTypes.string).isRequired,
11244
- format: T['io.flow.v0.enums.available_filter_format'].isRequired,
11245
- valid_values: PropTypes.arrayOf(PropTypes.string),
11246
- placeholder: PropTypes.string,
11309
+ T['io.flow.v0.models.return_policy_version'] = PropTypes.exact({
11310
+ id: PropTypes.string.isRequired,
11311
+ timestamp: PropTypes.string.isRequired,
11312
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11313
+ return_policy: T['io.flow.v0.models.return_policy'].isRequired,
11247
11314
  });
11248
11315
 
11249
- T['io.flow.v0.unions.available_filter'] = PropTypes.oneOfType([
11250
- T['io.flow.v0.models.available_filter_structured'],
11251
- T['io.flow.v0.models.available_filter_unstructured'],
11252
- ]);
11253
-
11254
- T['io.flow.v0.models.query_builder'] = PropTypes.exact({
11255
- q: PropTypes.string.isRequired,
11256
- filters: PropTypes.arrayOf(T['io.flow.v0.unions.query_filter']).isRequired,
11257
- available: PropTypes.arrayOf(T['io.flow.v0.unions.available_filter']).isRequired,
11316
+ T['io.flow.v0.models.ratecard_version'] = PropTypes.exact({
11317
+ id: PropTypes.string.isRequired,
11318
+ timestamp: PropTypes.string.isRequired,
11319
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11320
+ ratecard: T['io.flow.v0.models.ratecard'].isRequired,
11258
11321
  });
11259
11322
 
11260
- T['io.flow.v0.models.select_issuer_option_action_details'] = PropTypes.exact({
11261
- discriminator: PropTypes.oneOf(['select_issuer_option_action_details']).isRequired,
11262
- issuer_options: PropTypes.arrayOf(T['io.flow.v0.models.issuer_reference']).isRequired,
11323
+ T['io.flow.v0.models.ratecard_rate_version'] = PropTypes.exact({
11324
+ id: PropTypes.string.isRequired,
11325
+ timestamp: PropTypes.string.isRequired,
11326
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11327
+ ratecard_rate: T['io.flow.v0.models.ratecard_rate'].isRequired,
11263
11328
  });
11264
11329
 
11265
- T['io.flow.v0.models.klarna_sdk_authorization_result_action_details'] = PropTypes.exact({
11266
- discriminator: PropTypes.oneOf(['klarna_sdk_authorization_result_action_details']).isRequired,
11267
- client_token: PropTypes.string.isRequired,
11268
- payment_method_categories: PropTypes.arrayOf(T['io.flow.v0.models.klarna_payment_method_category']).isRequired,
11330
+ T['io.flow.v0.models.rate_version'] = PropTypes.exact({
11331
+ id: PropTypes.string.isRequired,
11332
+ timestamp: PropTypes.string.isRequired,
11333
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11334
+ rate: T['io.flow.v0.models.rate'].isRequired,
11269
11335
  });
11270
11336
 
11271
- T['io.flow.v0.models.applepay_sdk_validate_result_action_details'] = PropTypes.exact({
11272
- discriminator: PropTypes.oneOf(['applepay_sdk_validate_result_action_details']).isRequired,
11273
- payment_session: PropTypes.object.isRequired,
11337
+ T['io.flow.v0.models.pricing_version'] = PropTypes.exact({
11338
+ id: PropTypes.string.isRequired,
11339
+ timestamp: PropTypes.string.isRequired,
11340
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11341
+ pricing: T['io.flow.v0.models.pricing'].isRequired,
11274
11342
  });
11275
11343
 
11276
- T['io.flow.v0.models.applepay_sdk_create_result_action_details'] = PropTypes.exact({
11277
- discriminator: PropTypes.oneOf(['applepay_sdk_create_result_action_details']).isRequired,
11278
- merchant_identifier: PropTypes.string.isRequired,
11279
- payment_data_request: PropTypes.object.isRequired,
11344
+ T['io.flow.v0.models.payment_version'] = PropTypes.exact({
11345
+ id: PropTypes.string.isRequired,
11346
+ timestamp: PropTypes.string.isRequired,
11347
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11348
+ payment: T['io.flow.v0.unions.payment'].isRequired,
11280
11349
  });
11281
11350
 
11282
- T['io.flow.v0.models.threeds_challenge_action_details'] = PropTypes.exact({
11283
- discriminator: PropTypes.oneOf(['threeds_challenge_action_details']).isRequired,
11284
- threeds_challenge_action: T['io.flow.v0.unions.threeds_challenge_action'].isRequired,
11285
- expires_at: PropTypes.string.isRequired,
11351
+ T['io.flow.v0.models.organization_version'] = PropTypes.exact({
11352
+ id: PropTypes.string.isRequired,
11353
+ timestamp: PropTypes.string.isRequired,
11354
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11355
+ organization: T['io.flow.v0.models.organization'].isRequired,
11286
11356
  });
11287
11357
 
11288
- T['io.flow.v0.models.threeds_identify_action_details'] = PropTypes.exact({
11289
- discriminator: PropTypes.oneOf(['threeds_identify_action_details']).isRequired,
11290
- threeds_identify_action: T['io.flow.v0.unions.threeds_identify_action'].isRequired,
11291
- expires_at: PropTypes.string.isRequired,
11358
+ T['io.flow.v0.models.order_identifier_version'] = PropTypes.exact({
11359
+ id: PropTypes.string.isRequired,
11360
+ timestamp: PropTypes.string.isRequired,
11361
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11362
+ order_identifier: T['io.flow.v0.models.order_identifier'].isRequired,
11292
11363
  });
11293
11364
 
11294
- T['io.flow.v0.models.stripe_authorization_result_action_details'] = PropTypes.exact({
11295
- discriminator: PropTypes.oneOf(['stripe_authorization_result_action_details']).isRequired,
11296
- client_secret: PropTypes.string,
11297
- payment_method_id: PropTypes.string,
11298
- publishable_key: PropTypes.string,
11365
+ T['io.flow.v0.models.item_margin_version'] = PropTypes.exact({
11366
+ id: PropTypes.string.isRequired,
11367
+ timestamp: PropTypes.string.isRequired,
11368
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11369
+ item_margin: T['io.flow.v0.models.item_margin'].isRequired,
11299
11370
  });
11300
11371
 
11301
- T['io.flow.v0.enums.authorization_result_action_type'] = PropTypes.oneOf(['native', 'redirect', 'wait']);
11302
- T['io.flow.v0.enums.three_d_secure_code'] = PropTypes.oneOf(['verified', 'not_verified', 'failed']);
11303
-
11304
- T['io.flow.v0.models.authorization_result_action_wait'] = PropTypes.exact({
11305
- discriminator: PropTypes.oneOf(['authorization_result_action_wait']).isRequired,
11306
- type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
11372
+ T['io.flow.v0.models.import_version'] = PropTypes.exact({
11373
+ id: PropTypes.string.isRequired,
11374
+ timestamp: PropTypes.string.isRequired,
11375
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11376
+ 'import': T['io.flow.v0.models.import'].isRequired,
11307
11377
  });
11308
11378
 
11309
- T['io.flow.v0.models.authorization_result_action_post'] = PropTypes.exact({
11310
- discriminator: PropTypes.oneOf(['authorization_result_action_post']).isRequired,
11311
- type: T['io.flow.v0.enums.authorization_result_action_type'].isRequired,
11312
- url: PropTypes.string.isRequired,
11313
- parameters: PropTypes.object.isRequired,
11379
+ T['io.flow.v0.models.hs10_version'] = PropTypes.exact({
11380
+ id: PropTypes.string.isRequired,
11381
+ timestamp: PropTypes.string.isRequired,
11382
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11383
+ hs10: T['io.flow.v0.models.hs10'].isRequired,
11314
11384
  });
11315
11385
 
11316
- T['io.flow.v0.models.authorization_code'] = PropTypes.exact({
11317
- result_code: PropTypes.string.isRequired,
11318
- code: PropTypes.string.isRequired,
11386
+ T['io.flow.v0.models.experience_version'] = PropTypes.exact({
11387
+ id: PropTypes.string.isRequired,
11388
+ timestamp: PropTypes.string.isRequired,
11389
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11390
+ experience: T['io.flow.v0.models.experience'].isRequired,
11319
11391
  });
11320
11392
 
11321
- T['io.flow.v0.models.authorization_result_description'] = PropTypes.exact({
11322
- display: PropTypes.string.isRequired,
11393
+ T['io.flow.v0.models.exclusion_rule_version'] = PropTypes.exact({
11394
+ id: PropTypes.string.isRequired,
11395
+ timestamp: PropTypes.string.isRequired,
11396
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11397
+ exclusion_rule: T['io.flow.v0.models.exclusion_rule'].isRequired,
11323
11398
  });
11324
11399
 
11325
- T['io.flow.v0.models.three_d_secure'] = PropTypes.exact({
11326
- code: T['io.flow.v0.enums.three_d_secure_code'].isRequired,
11327
- description: PropTypes.string,
11328
- eci: PropTypes.string,
11329
- liability_sift: PropTypes.bool,
11330
- version: PropTypes.string,
11331
- authenticated: PropTypes.bool,
11332
- authenticated_result: PropTypes.string,
11333
- offered: PropTypes.bool,
11334
- offered_result: PropTypes.string,
11335
- sca_exemption: PropTypes.string,
11400
+ T['io.flow.v0.models.catalog_version'] = PropTypes.exact({
11401
+ id: PropTypes.string.isRequired,
11402
+ timestamp: PropTypes.string.isRequired,
11403
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11404
+ catalog: T['io.flow.v0.models.catalog'].isRequired,
11336
11405
  });
11337
11406
 
11338
- T['io.flow.v0.enums.authorization_status'] = PropTypes.oneOf([
11339
- 'initiated',
11340
- 'pending',
11341
- 'expired',
11342
- 'authorized',
11343
- 'review',
11344
- 'declined',
11345
- 'reversed',
11407
+ T['io.flow.v0.enums.attribute_data_type'] = PropTypes.oneOf(['boolean', 'integer', 'decimal', 'string', 'json_array']);
11408
+
11409
+ T['io.flow.v0.enums.attribute_intent'] = PropTypes.oneOf([
11410
+ 'brand',
11411
+ 'color',
11412
+ 'countries_of_origin',
11413
+ 'product_id',
11414
+ 'fulfillment_method',
11415
+ 'hazardous',
11416
+ 'price',
11417
+ 'size',
11418
+ 'sku',
11419
+ 'taxability',
11420
+ 'consumer_url',
11421
+ 'gtin',
11422
+ 'mpn',
11423
+ 'facet',
11424
+ 'eccn',
11425
+ 'returnable',
11426
+ 'searchable',
11427
+ 'barcode',
11428
+ 'min_days_to_ship',
11429
+ 'max_days_to_ship',
11430
+ 'commercial_invoice_item_number',
11431
+ 'include_in_product_feeds',
11346
11432
  ]);
11347
11433
 
11348
- T['io.flow.v0.models.authorization_order_reference'] = PropTypes.exact({
11349
- discriminator: PropTypes.oneOf(['flow_order']).isRequired,
11350
- number: PropTypes.string.isRequired,
11434
+ T['io.flow.v0.models.options'] = PropTypes.exact({
11435
+ required: PropTypes.bool.isRequired,
11436
+ show_in_catalog: PropTypes.bool.isRequired,
11437
+ show_in_harmonization: PropTypes.bool.isRequired,
11351
11438
  });
11352
11439
 
11353
- T['io.flow.v0.models.payment_paypal'] = PropTypes.exact({
11354
- discriminator: PropTypes.oneOf(['payment_paypal']).isRequired,
11355
- id: PropTypes.string.isRequired,
11356
- order: T['io.flow.v0.models.authorization_order_reference'],
11357
- amount: PropTypes.number.isRequired,
11358
- currency: PropTypes.string.isRequired,
11359
- created_at: PropTypes.string,
11360
- paypal: T['io.flow.v0.unions.online_authorization_details'].isRequired,
11440
+ T['io.flow.v0.models.attribute_form'] = PropTypes.exact({
11441
+ key: PropTypes.string.isRequired,
11442
+ options: T['io.flow.v0.models.options'].isRequired,
11443
+ label: PropTypes.string,
11444
+ intent: T['io.flow.v0.enums.attribute_intent'],
11445
+ type: T['io.flow.v0.enums.attribute_data_type'],
11446
+ position: PropTypes.number,
11361
11447
  });
11362
11448
 
11363
- T['io.flow.v0.models.payment_cryptopay'] = PropTypes.exact({
11364
- discriminator: PropTypes.oneOf(['payment_cryptopay']).isRequired,
11449
+ T['io.flow.v0.models.attribute'] = PropTypes.exact({
11365
11450
  id: PropTypes.string.isRequired,
11366
- order: T['io.flow.v0.models.authorization_order_reference'],
11367
- amount: PropTypes.number.isRequired,
11368
- currency: PropTypes.string.isRequired,
11369
- created_at: PropTypes.string,
11370
- cryptopay: T['io.flow.v0.unions.online_authorization_details'].isRequired,
11451
+ key: PropTypes.string.isRequired,
11452
+ options: T['io.flow.v0.models.options'].isRequired,
11453
+ label: PropTypes.string,
11454
+ intent: T['io.flow.v0.enums.attribute_intent'],
11455
+ type: T['io.flow.v0.enums.attribute_data_type'],
11456
+ position: PropTypes.number,
11371
11457
  });
11372
11458
 
11373
- T['io.flow.v0.unions.payment'] = PropTypes.oneOfType([
11374
- T['io.flow.v0.models.payment_paypal'],
11375
- T['io.flow.v0.models.payment_cryptopay'],
11376
- ]);
11459
+ T['io.flow.v0.models.attribute_version'] = PropTypes.exact({
11460
+ id: PropTypes.string.isRequired,
11461
+ timestamp: PropTypes.string.isRequired,
11462
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11463
+ attribute: T['io.flow.v0.models.attribute'].isRequired,
11464
+ });
11377
11465
 
11378
- T['io.flow.v0.models.payment_upserted'] = PropTypes.exact({
11379
- discriminator: PropTypes.oneOf(['payment_upserted']).isRequired,
11466
+ T['io.flow.v0.models.attribute_upserted_v2'] = PropTypes.exact({
11467
+ discriminator: PropTypes.oneOf(['attribute_upserted_v2']).isRequired,
11380
11468
  event_id: PropTypes.string.isRequired,
11381
11469
  timestamp: PropTypes.string.isRequired,
11382
11470
  organization: PropTypes.string.isRequired,
11383
- id: PropTypes.string.isRequired,
11384
- payment: T['io.flow.v0.unions.payment'].isRequired,
11471
+ attribute: T['io.flow.v0.models.attribute'].isRequired,
11385
11472
  });
11386
11473
 
11387
- T['io.flow.v0.unions.payment_order_reference'] = PropTypes.oneOfType([
11388
- T['io.flow.v0.models.authorization_order_reference'],
11389
- T['io.flow.v0.models.payment_payment_request_reference'],
11390
- ]);
11474
+ T['io.flow.v0.enums.statement_attachment_type'] = PropTypes.oneOf(['csv']);
11391
11475
 
11392
- T['io.flow.v0.models.authorization_reference'] = PropTypes.exact({
11393
- id: PropTypes.string.isRequired,
11394
- key: PropTypes.string.isRequired,
11395
- order: T['io.flow.v0.models.authorization_order_reference'],
11476
+ T['io.flow.v0.models.attachment'] = PropTypes.exact({
11477
+ type: T['io.flow.v0.enums.statement_attachment_type'].isRequired,
11478
+ url: PropTypes.string.isRequired,
11396
11479
  });
11397
11480
 
11398
- T['io.flow.v0.models.virtual_card_refund'] = PropTypes.exact({
11481
+ T['io.flow.v0.models.statement'] = PropTypes.exact({
11399
11482
  id: PropTypes.string.isRequired,
11400
- issuer: T['io.flow.v0.models.issuer_v1'].isRequired,
11401
- virtual_card: T['io.flow.v0.models.virtual_card_reference'].isRequired,
11402
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
11403
- amount: PropTypes.number.isRequired,
11404
- currency: PropTypes.string.isRequired,
11483
+ account: T['io.flow.v0.models.account_reference'].isRequired,
11484
+ ending_balance: PropTypes.number.isRequired,
11485
+ settlement: T['io.flow.v0.unions.settlement'].isRequired,
11486
+ attachments: PropTypes.arrayOf(T['io.flow.v0.models.attachment']).isRequired,
11405
11487
  created_at: PropTypes.string.isRequired,
11406
11488
  });
11407
11489
 
11408
- T['io.flow.v0.models.virtual_card_refund_upserted'] = PropTypes.exact({
11409
- discriminator: PropTypes.oneOf(['virtual_card_refund_upserted']).isRequired,
11490
+ T['io.flow.v0.models.statement_upserted'] = PropTypes.exact({
11491
+ discriminator: PropTypes.oneOf(['statement_upserted']).isRequired,
11410
11492
  event_id: PropTypes.string.isRequired,
11411
11493
  timestamp: PropTypes.string.isRequired,
11412
11494
  organization: PropTypes.string.isRequired,
11413
- id: PropTypes.string.isRequired,
11414
- refund: T['io.flow.v0.models.virtual_card_refund'].isRequired,
11415
- });
11416
-
11417
- T['io.flow.v0.models.virtual_card_capture'] = PropTypes.exact({
11418
- id: PropTypes.string.isRequired,
11419
- issuer: T['io.flow.v0.models.issuer_v1'].isRequired,
11420
- virtual_card: T['io.flow.v0.models.virtual_card_reference'].isRequired,
11421
- authorization: T['io.flow.v0.models.authorization_reference'].isRequired,
11422
- amount: PropTypes.number.isRequired,
11423
- currency: PropTypes.string.isRequired,
11424
- created_at: PropTypes.string.isRequired,
11495
+ statement: T['io.flow.v0.models.statement'].isRequired,
11425
11496
  });
11426
11497
 
11427
- T['io.flow.v0.models.virtual_card_capture_upserted'] = PropTypes.exact({
11428
- discriminator: PropTypes.oneOf(['virtual_card_capture_upserted']).isRequired,
11498
+ T['io.flow.v0.models.statement_deleted'] = PropTypes.exact({
11499
+ discriminator: PropTypes.oneOf(['statement_deleted']).isRequired,
11429
11500
  event_id: PropTypes.string.isRequired,
11430
11501
  timestamp: PropTypes.string.isRequired,
11431
11502
  organization: PropTypes.string.isRequired,
11503
+ statement: T['io.flow.v0.models.statement'].isRequired,
11504
+ });
11505
+
11506
+ T['io.flow.v0.models.channel_statement'] = PropTypes.exact({
11432
11507
  id: PropTypes.string.isRequired,
11433
- capture: T['io.flow.v0.models.virtual_card_capture'].isRequired,
11508
+ account: T['io.flow.v0.models.account_reference'].isRequired,
11509
+ ending_balance: PropTypes.number.isRequired,
11510
+ settlement: T['io.flow.v0.unions.settlement'].isRequired,
11511
+ attachments: PropTypes.arrayOf(T['io.flow.v0.models.attachment']).isRequired,
11512
+ created_at: PropTypes.string.isRequired,
11434
11513
  });
11435
11514
 
11436
- T['io.flow.v0.models.apple_pay_merchant_validation_payload'] = PropTypes.exact({
11437
- discriminator: PropTypes.oneOf(['apple_pay_merchant_validation_payload']).isRequired,
11438
- validation_url: PropTypes.string.isRequired,
11439
- display_name: PropTypes.string,
11515
+ T['io.flow.v0.models.channel_statement_upserted'] = PropTypes.exact({
11516
+ discriminator: PropTypes.oneOf(['channel_statement_upserted']).isRequired,
11517
+ event_id: PropTypes.string.isRequired,
11518
+ timestamp: PropTypes.string.isRequired,
11519
+ channel_id: PropTypes.string.isRequired,
11520
+ channel_statement: T['io.flow.v0.models.channel_statement'].isRequired,
11440
11521
  });
11441
11522
 
11442
- T['io.flow.v0.models.google_pay_authorization_payload'] = PropTypes.exact({
11443
- discriminator: PropTypes.oneOf(['google_pay_authorization_payload']).isRequired,
11444
- payload: PropTypes.object.isRequired,
11523
+ T['io.flow.v0.models.channel_statement_deleted'] = PropTypes.exact({
11524
+ discriminator: PropTypes.oneOf(['channel_statement_deleted']).isRequired,
11525
+ event_id: PropTypes.string.isRequired,
11526
+ timestamp: PropTypes.string.isRequired,
11527
+ channel_id: PropTypes.string.isRequired,
11528
+ channel_statement: T['io.flow.v0.models.channel_statement'].isRequired,
11445
11529
  });
11446
11530
 
11447
- T['io.flow.v0.unions.authorization_payload_parameters'] = PropTypes.oneOfType([
11448
- T['io.flow.v0.models.google_pay_authorization_payload'],
11449
- T['io.flow.v0.models.apple_pay_merchant_validation_payload'],
11531
+ T['io.flow.v0.enums.order_price_detail_key'] = PropTypes.oneOf([
11532
+ 'adjustment',
11533
+ 'subtotal',
11534
+ 'vat',
11535
+ 'duty',
11536
+ 'shipping',
11537
+ 'insurance',
11538
+ 'discount',
11539
+ 'surcharges',
11540
+ 'tip',
11450
11541
  ]);
11451
11542
 
11452
- T['io.flow.v0.models.authorization_payload'] = PropTypes.exact({
11453
- parameters: T['io.flow.v0.unions.authorization_payload_parameters'].isRequired,
11454
- });
11455
-
11456
- T['io.flow.v0.enums.cvv_code'] = PropTypes.oneOf(['match', 'suspicious', 'unsupported', 'no_match']);
11457
- T['io.flow.v0.enums.avs_code'] = PropTypes.oneOf(['match', 'partial', 'unsupported', 'no_match']);
11543
+ T['io.flow.v0.enums.price_accuracy'] = PropTypes.oneOf(['calculated', 'estimated_from_partial_destination']);
11458
11544
 
11459
- T['io.flow.v0.models.cvv'] = PropTypes.exact({
11460
- code: T['io.flow.v0.enums.cvv_code'].isRequired,
11461
- description: PropTypes.string,
11545
+ T['io.flow.v0.models.price'] = PropTypes.exact({
11546
+ amount: PropTypes.number.isRequired,
11547
+ currency: PropTypes.string.isRequired,
11548
+ label: PropTypes.string.isRequired,
11462
11549
  });
11463
11550
 
11464
- T['io.flow.v0.models.avs'] = PropTypes.exact({
11465
- code: T['io.flow.v0.enums.avs_code'].isRequired,
11466
- name: PropTypes.bool,
11467
- address: PropTypes.bool,
11468
- postal: PropTypes.bool,
11469
- description: PropTypes.string,
11551
+ T['io.flow.v0.models.virtual_card'] = PropTypes.exact({
11552
+ id: PropTypes.string.isRequired,
11553
+ key: PropTypes.string.isRequired,
11554
+ number: PropTypes.string,
11555
+ cvv: PropTypes.string,
11556
+ limit: T['io.flow.v0.models.price'].isRequired,
11557
+ type: T['io.flow.v0.enums.card_type'].isRequired,
11558
+ expiration: T['io.flow.v0.models.expiration'].isRequired,
11559
+ iin: PropTypes.string.isRequired,
11560
+ last4: PropTypes.string.isRequired,
11561
+ name: PropTypes.string.isRequired,
11562
+ attributes: PropTypes.objectOf(PropTypes.string),
11470
11563
  });
11471
11564
 
11472
- T['io.flow.v0.models.card_error'] = PropTypes.exact({
11473
- code: T['io.flow.v0.enums.card_error_code'].isRequired,
11474
- messages: PropTypes.arrayOf(PropTypes.string).isRequired,
11475
- avs: T['io.flow.v0.models.avs'],
11476
- cvv: T['io.flow.v0.models.cvv'],
11565
+ T['io.flow.v0.models.virtual_card_version'] = PropTypes.exact({
11566
+ id: PropTypes.string.isRequired,
11567
+ timestamp: PropTypes.string.isRequired,
11568
+ type: T['io.flow.v0.enums.change_type'].isRequired,
11569
+ virtual_card: T['io.flow.v0.models.virtual_card'].isRequired,
11477
11570
  });
11478
11571
 
11479
- T['io.flow.v0.enums.authorization_decline_code'] = PropTypes.oneOf([
11480
- 'expired',
11481
- 'invalid_name',
11482
- 'invalid_number',
11483
- 'invalid_expiration',
11484
- 'invalid_address',
11485
- 'invalid_token_type',
11486
- 'invalid_token',
11487
- 'no_account',
11488
- 'avs',
11489
- 'cvv',
11490
- 'fraud',
11491
- 'duplicate',
11492
- 'not_supported',
11493
- 'unknown',
11494
- 'online_payment_error',
11495
- ]);
11496
-
11497
- T['io.flow.v0.models.payment_authorization_status'] = PropTypes.exact({
11498
- status: T['io.flow.v0.enums.authorization_status'].isRequired,
11499
- reason: T['io.flow.v0.enums.authorization_decline_code'],
11572
+ T['io.flow.v0.models.price_book_item'] = PropTypes.exact({
11573
+ id: PropTypes.string.isRequired,
11574
+ key: PropTypes.string.isRequired,
11575
+ price_book: T['io.flow.v0.models.price_book_reference'].isRequired,
11576
+ price: T['io.flow.v0.models.price'].isRequired,
11577
+ item_number: PropTypes.string.isRequired,
11578
+ schedule: T['io.flow.v0.models.price_book_item_schedule'].isRequired,
11579
+ item_attributes: PropTypes.objectOf(PropTypes.string),
11500
11580
  });
11501
11581
 
11502
- T['io.flow.v0.models.authorization_error'] = PropTypes.exact({
11503
- code: T['io.flow.v0.enums.authorization_decline_code'].isRequired,
11504
- messages: PropTypes.arrayOf(PropTypes.string).isRequired,
11505
- avs: T['io.flow.v0.models.avs'],
11506
- cvv: T['io.flow.v0.models.cvv'],
11582
+ T['io.flow.v0.models.price_book_item_upserted'] = PropTypes.exact({
11583
+ discriminator: PropTypes.oneOf(['price_book_item_upserted']).isRequired,
11584
+ event_id: PropTypes.string.isRequired,
11585
+ timestamp: PropTypes.string.isRequired,
11586
+ organization: PropTypes.string.isRequired,
11587
+ price_book_item: T['io.flow.v0.models.price_book_item'].isRequired,
11507
11588
  });
11508
11589
 
11509
- T['io.flow.v0.enums.change_type'] = PropTypes.oneOf(['insert', 'update', 'delete']);
11590
+ T['io.flow.v0.models.order_summary_levy'] = PropTypes.exact({
11591
+ rate: PropTypes.number.isRequired,
11592
+ rate_label: PropTypes.string,
11593
+ value: T['io.flow.v0.models.price'].isRequired,
11594
+ });
11510
11595
 
11511
- T['io.flow.v0.models.virtual_card_refund_version'] = PropTypes.exact({
11512
- id: PropTypes.string.isRequired,
11513
- timestamp: PropTypes.string.isRequired,
11514
- type: T['io.flow.v0.enums.change_type'].isRequired,
11515
- virtual_card_refund: T['io.flow.v0.models.virtual_card_refund'].isRequired,
11596
+ T['io.flow.v0.models.order_summary_item'] = PropTypes.exact({
11597
+ number: PropTypes.string.isRequired,
11598
+ name: PropTypes.string.isRequired,
11599
+ description: PropTypes.string,
11600
+ attributes: PropTypes.arrayOf(T['io.flow.v0.models.checkout_item_content_attribute']).isRequired,
11601
+ image: T['io.flow.v0.models.order_summary_image'],
11602
+ price: T['io.flow.v0.models.price'].isRequired,
11603
+ discount: T['io.flow.v0.models.price'],
11604
+ tax: T['io.flow.v0.models.order_summary_levy'],
11605
+ duty: T['io.flow.v0.models.order_summary_levy'],
11606
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
11516
11607
  });
11517
11608
 
11518
- T['io.flow.v0.models.virtual_card_capture_version'] = PropTypes.exact({
11519
- id: PropTypes.string.isRequired,
11520
- timestamp: PropTypes.string.isRequired,
11521
- type: T['io.flow.v0.enums.change_type'].isRequired,
11522
- virtual_card_capture: T['io.flow.v0.models.virtual_card_capture'].isRequired,
11609
+ T['io.flow.v0.models.order_summary_line_item'] = PropTypes.exact({
11610
+ id: PropTypes.string,
11611
+ item: T['io.flow.v0.models.order_summary_item'].isRequired,
11612
+ quantity: PropTypes.number.isRequired,
11613
+ discount: T['io.flow.v0.models.price'],
11614
+ tax: T['io.flow.v0.models.order_summary_levy'],
11615
+ duty: T['io.flow.v0.models.order_summary_levy'],
11616
+ total: T['io.flow.v0.models.price'].isRequired,
11617
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
11618
+ attributes: PropTypes.objectOf(PropTypes.string),
11523
11619
  });
11524
11620
 
11525
- T['io.flow.v0.models.tracking_version'] = PropTypes.exact({
11526
- id: PropTypes.string.isRequired,
11527
- timestamp: PropTypes.string.isRequired,
11528
- type: T['io.flow.v0.enums.change_type'].isRequired,
11529
- tracking: T['io.flow.v0.models.tracking_summary'].isRequired,
11621
+ T['io.flow.v0.models.order_summary_price_detail'] = PropTypes.exact({
11622
+ price: T['io.flow.v0.models.price'].isRequired,
11623
+ name: PropTypes.string,
11624
+ rate: PropTypes.number,
11625
+ rate_label: PropTypes.string,
11530
11626
  });
11531
11627
 
11532
- T['io.flow.v0.models.tracking_label_version'] = PropTypes.exact({
11533
- id: PropTypes.string.isRequired,
11534
- timestamp: PropTypes.string.isRequired,
11535
- type: T['io.flow.v0.enums.change_type'].isRequired,
11536
- tracking_label: T['io.flow.v0.models.tracking_label_summary'].isRequired,
11628
+ T['io.flow.v0.models.order_summary'] = PropTypes.exact({
11629
+ number: PropTypes.string.isRequired,
11630
+ subtotal: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
11631
+ shipping: T['io.flow.v0.models.order_summary_price_detail'],
11632
+ tax: T['io.flow.v0.models.order_summary_price_detail'],
11633
+ duty: T['io.flow.v0.models.order_summary_price_detail'],
11634
+ insurance: T['io.flow.v0.models.order_summary_price_detail'],
11635
+ discount: T['io.flow.v0.models.order_summary_price_detail'],
11636
+ surcharges: T['io.flow.v0.models.order_summary_price_detail'],
11637
+ adjustment: T['io.flow.v0.models.order_summary_price_detail'],
11638
+ total: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
11639
+ lines: PropTypes.arrayOf(T['io.flow.v0.models.order_summary_line_item']).isRequired,
11640
+ identifiers: PropTypes.objectOf(PropTypes.string),
11641
+ attributes: PropTypes.objectOf(PropTypes.string),
11537
11642
  });
11538
11643
 
11539
- T['io.flow.v0.models.tracking_event_version'] = PropTypes.exact({
11540
- id: PropTypes.string.isRequired,
11541
- timestamp: PropTypes.string.isRequired,
11542
- type: T['io.flow.v0.enums.change_type'].isRequired,
11543
- tracking_event: T['io.flow.v0.models.tracking_event_summary'].isRequired,
11644
+ T['io.flow.v0.models.value_threshold_exceeded_details'] = PropTypes.exact({
11645
+ local: T['io.flow.v0.models.price'].isRequired,
11646
+ original: T['io.flow.v0.models.price'].isRequired,
11544
11647
  });
11545
11648
 
11546
- T['io.flow.v0.models.tier_version'] = PropTypes.exact({
11547
- id: PropTypes.string.isRequired,
11548
- timestamp: PropTypes.string.isRequired,
11549
- type: T['io.flow.v0.enums.change_type'].isRequired,
11550
- tier: T['io.flow.v0.models.tier_summary'].isRequired,
11649
+ T['io.flow.v0.models.order_error'] = PropTypes.exact({
11650
+ code: T['io.flow.v0.enums.order_error_code'].isRequired,
11651
+ messages: PropTypes.arrayOf(PropTypes.string).isRequired,
11652
+ numbers: PropTypes.arrayOf(PropTypes.string),
11653
+ destination_country: T['io.flow.v0.models.country'],
11654
+ threshold: T['io.flow.v0.models.value_threshold_exceeded_details'],
11551
11655
  });
11552
11656
 
11553
- T['io.flow.v0.models.subcatalog_version'] = PropTypes.exact({
11554
- id: PropTypes.string.isRequired,
11555
- timestamp: PropTypes.string.isRequired,
11556
- type: T['io.flow.v0.enums.change_type'].isRequired,
11557
- subcatalog: T['io.flow.v0.models.subcatalog'].isRequired,
11657
+ T['io.flow.v0.models.price_details'] = PropTypes.exact({
11658
+ currency: PropTypes.string.isRequired,
11659
+ item_price: T['io.flow.v0.models.price_detail'].isRequired,
11660
+ margins: T['io.flow.v0.models.price_detail'].isRequired,
11661
+ vat: T['io.flow.v0.models.price_detail'].isRequired,
11662
+ duty: T['io.flow.v0.models.price_detail'].isRequired,
11663
+ rounding: T['io.flow.v0.models.price_detail'].isRequired,
11664
+ price: T['io.flow.v0.models.price'].isRequired,
11665
+ total: T['io.flow.v0.models.price'].isRequired,
11666
+ adjustment: T['io.flow.v0.models.price_detail'],
11558
11667
  });
11559
11668
 
11560
- T['io.flow.v0.models.return_policy_version'] = PropTypes.exact({
11561
- id: PropTypes.string.isRequired,
11562
- timestamp: PropTypes.string.isRequired,
11563
- type: T['io.flow.v0.enums.change_type'].isRequired,
11564
- return_policy: T['io.flow.v0.models.return_policy'].isRequired,
11669
+ T['io.flow.v0.models.local_price_details'] = PropTypes.exact({
11670
+ base: T['io.flow.v0.models.price_details'].isRequired,
11671
+ local: T['io.flow.v0.models.price_details'].isRequired,
11672
+ discount: T['io.flow.v0.models.price_detail'],
11673
+ local_before_discount: T['io.flow.v0.models.price_detail'],
11565
11674
  });
11566
11675
 
11567
- T['io.flow.v0.models.ratecard_version'] = PropTypes.exact({
11568
- id: PropTypes.string.isRequired,
11569
- timestamp: PropTypes.string.isRequired,
11570
- type: T['io.flow.v0.enums.change_type'].isRequired,
11571
- ratecard: T['io.flow.v0.models.ratecard'].isRequired,
11676
+ T['io.flow.v0.models.price_check'] = PropTypes.exact({
11677
+ display: T['io.flow.v0.models.local_price_details'].isRequired,
11678
+ 'final': T['io.flow.v0.models.local_price_details'].isRequired,
11572
11679
  });
11573
11680
 
11574
- T['io.flow.v0.models.ratecard_rate_version'] = PropTypes.exact({
11575
- id: PropTypes.string.isRequired,
11576
- timestamp: PropTypes.string.isRequired,
11577
- type: T['io.flow.v0.enums.change_type'].isRequired,
11578
- ratecard_rate: T['io.flow.v0.models.ratecard_rate'].isRequired,
11681
+ T['io.flow.v0.models.order_promotion_trigger'] = PropTypes.exact({
11682
+ type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
11683
+ min: T['io.flow.v0.models.price'],
11579
11684
  });
11580
11685
 
11581
- T['io.flow.v0.models.rate_version'] = PropTypes.exact({
11582
- id: PropTypes.string.isRequired,
11583
- timestamp: PropTypes.string.isRequired,
11584
- type: T['io.flow.v0.enums.change_type'].isRequired,
11585
- rate: T['io.flow.v0.models.rate'].isRequired,
11686
+ T['io.flow.v0.models.promotion_trigger'] = PropTypes.exact({
11687
+ type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
11688
+ min: T['io.flow.v0.models.price'].isRequired,
11689
+ remaining: T['io.flow.v0.models.price'].isRequired,
11586
11690
  });
11587
11691
 
11588
- T['io.flow.v0.models.pricing_version'] = PropTypes.exact({
11589
- id: PropTypes.string.isRequired,
11590
- timestamp: PropTypes.string.isRequired,
11591
- type: T['io.flow.v0.enums.change_type'].isRequired,
11592
- pricing: T['io.flow.v0.models.pricing'].isRequired,
11692
+ T['io.flow.v0.models.free_shipping'] = PropTypes.exact({
11693
+ discriminator: PropTypes.oneOf(['free_shipping']).isRequired,
11694
+ trigger: T['io.flow.v0.models.promotion_trigger'].isRequired,
11695
+ max: T['io.flow.v0.models.price'],
11593
11696
  });
11594
11697
 
11595
- T['io.flow.v0.models.payment_version'] = PropTypes.exact({
11596
- id: PropTypes.string.isRequired,
11597
- timestamp: PropTypes.string.isRequired,
11598
- type: T['io.flow.v0.enums.change_type'].isRequired,
11599
- payment: T['io.flow.v0.unions.payment'].isRequired,
11698
+ T['io.flow.v0.models.flat_rate'] = PropTypes.exact({
11699
+ discriminator: PropTypes.oneOf(['flat_rate']).isRequired,
11700
+ price: T['io.flow.v0.models.price'].isRequired,
11701
+ zero_amount_indicator: T['io.flow.v0.enums.zero_amount_indicator'],
11600
11702
  });
11601
11703
 
11602
- T['io.flow.v0.models.organization_version'] = PropTypes.exact({
11603
- id: PropTypes.string.isRequired,
11604
- timestamp: PropTypes.string.isRequired,
11605
- type: T['io.flow.v0.enums.change_type'].isRequired,
11606
- organization: T['io.flow.v0.models.organization'].isRequired,
11704
+ T['io.flow.v0.models.localized_item_price'] = PropTypes.exact({
11705
+ key: PropTypes.oneOf(['localized_item_price']).isRequired,
11706
+ currency: PropTypes.string.isRequired,
11707
+ amount: PropTypes.number.isRequired,
11708
+ label: PropTypes.string.isRequired,
11709
+ base: T['io.flow.v0.models.price'].isRequired,
11710
+ includes: T['io.flow.v0.models.included_levies'],
11607
11711
  });
11608
11712
 
11609
- T['io.flow.v0.models.order_identifier_version'] = PropTypes.exact({
11610
- id: PropTypes.string.isRequired,
11611
- timestamp: PropTypes.string.isRequired,
11612
- type: T['io.flow.v0.enums.change_type'].isRequired,
11613
- order_identifier: T['io.flow.v0.models.order_identifier'].isRequired,
11713
+ T['io.flow.v0.models.experience_logistics_tier_summary_prices'] = PropTypes.exact({
11714
+ minimum: T['io.flow.v0.models.price'].isRequired,
11614
11715
  });
11615
11716
 
11616
- T['io.flow.v0.models.item_margin_version'] = PropTypes.exact({
11617
- id: PropTypes.string.isRequired,
11618
- timestamp: PropTypes.string.isRequired,
11619
- type: T['io.flow.v0.enums.change_type'].isRequired,
11620
- item_margin: T['io.flow.v0.models.item_margin'].isRequired,
11717
+ T['io.flow.v0.models.experience_logistics_tier_summary'] = PropTypes.exact({
11718
+ prices: T['io.flow.v0.models.experience_logistics_tier_summary_prices'].isRequired,
11621
11719
  });
11622
11720
 
11623
- T['io.flow.v0.models.import_version'] = PropTypes.exact({
11624
- id: PropTypes.string.isRequired,
11625
- timestamp: PropTypes.string.isRequired,
11626
- type: T['io.flow.v0.enums.change_type'].isRequired,
11627
- 'import': T['io.flow.v0.models.import'].isRequired,
11721
+ T['io.flow.v0.models.experience_logistics_summary'] = PropTypes.exact({
11722
+ outbound: T['io.flow.v0.models.experience_logistics_tier_summary'],
11723
+ 'return': T['io.flow.v0.models.experience_logistics_tier_summary'],
11628
11724
  });
11629
11725
 
11630
- T['io.flow.v0.models.hs10_version'] = PropTypes.exact({
11726
+ T['io.flow.v0.models.delivery_option_summary'] = PropTypes.exact({
11631
11727
  id: PropTypes.string.isRequired,
11632
- timestamp: PropTypes.string.isRequired,
11633
- type: T['io.flow.v0.enums.change_type'].isRequired,
11634
- hs10: T['io.flow.v0.models.hs10'].isRequired,
11728
+ cost: T['io.flow.v0.models.price'].isRequired,
11729
+ delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
11730
+ price: T['io.flow.v0.models.price'].isRequired,
11731
+ service: T['io.flow.v0.models.service_reference'].isRequired,
11732
+ tier: T['io.flow.v0.models.tier_reference'].isRequired,
11733
+ window: T['io.flow.v0.models.datetime_range'].isRequired,
11635
11734
  });
11636
11735
 
11637
- T['io.flow.v0.models.experience_version'] = PropTypes.exact({
11736
+ T['io.flow.v0.models.delivery_option_version'] = PropTypes.exact({
11638
11737
  id: PropTypes.string.isRequired,
11639
11738
  timestamp: PropTypes.string.isRequired,
11640
11739
  type: T['io.flow.v0.enums.change_type'].isRequired,
11641
- experience: T['io.flow.v0.models.experience'].isRequired,
11740
+ delivery_option: T['io.flow.v0.models.delivery_option_summary'].isRequired,
11642
11741
  });
11643
11742
 
11644
- T['io.flow.v0.models.exclusion_rule_version'] = PropTypes.exact({
11645
- id: PropTypes.string.isRequired,
11646
- timestamp: PropTypes.string.isRequired,
11647
- type: T['io.flow.v0.enums.change_type'].isRequired,
11648
- exclusion_rule: T['io.flow.v0.models.exclusion_rule'].isRequired,
11743
+ T['io.flow.v0.models.delivery_option_cost_component'] = PropTypes.exact({
11744
+ key: T['io.flow.v0.enums.delivery_option_cost_detail_component_key'].isRequired,
11745
+ currency: PropTypes.string.isRequired,
11746
+ amount: PropTypes.number.isRequired,
11747
+ label: PropTypes.string.isRequired,
11748
+ base: T['io.flow.v0.models.price'],
11649
11749
  });
11650
11750
 
11651
- T['io.flow.v0.models.catalog_version'] = PropTypes.exact({
11652
- id: PropTypes.string.isRequired,
11653
- timestamp: PropTypes.string.isRequired,
11654
- type: T['io.flow.v0.enums.change_type'].isRequired,
11655
- catalog: T['io.flow.v0.models.catalog'].isRequired,
11751
+ T['io.flow.v0.models.delivery_option_cost_detail'] = PropTypes.exact({
11752
+ source: T['io.flow.v0.enums.delivery_option_cost_detail_source'].isRequired,
11753
+ ratecard_id: PropTypes.string,
11754
+ currency: PropTypes.string.isRequired,
11755
+ amount: PropTypes.number.isRequired,
11756
+ label: PropTypes.string.isRequired,
11757
+ base: T['io.flow.v0.models.price'],
11758
+ components: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_component']).isRequired,
11656
11759
  });
11657
11760
 
11658
- T['io.flow.v0.enums.attribute_data_type'] = PropTypes.oneOf(['boolean', 'integer', 'decimal', 'string', 'json_array']);
11761
+ T['io.flow.v0.models.price_with_base_and_details'] = PropTypes.exact({
11762
+ currency: PropTypes.string.isRequired,
11763
+ amount: PropTypes.number.isRequired,
11764
+ label: PropTypes.string.isRequired,
11765
+ base: T['io.flow.v0.models.price'],
11766
+ details: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_detail']),
11767
+ });
11659
11768
 
11660
- T['io.flow.v0.enums.attribute_intent'] = PropTypes.oneOf([
11661
- 'brand',
11662
- 'color',
11663
- 'countries_of_origin',
11664
- 'product_id',
11665
- 'fulfillment_method',
11666
- 'hazardous',
11667
- 'price',
11668
- 'size',
11669
- 'sku',
11670
- 'taxability',
11671
- 'consumer_url',
11672
- 'gtin',
11673
- 'mpn',
11674
- 'facet',
11675
- 'eccn',
11676
- 'returnable',
11677
- 'searchable',
11678
- 'barcode',
11679
- 'min_days_to_ship',
11680
- 'max_days_to_ship',
11681
- 'commercial_invoice_item_number',
11682
- 'include_in_product_feeds',
11683
- ]);
11769
+ T['io.flow.v0.models.original_prices'] = PropTypes.exact({
11770
+ value: T['io.flow.v0.models.price'].isRequired,
11771
+ max: T['io.flow.v0.models.price'].isRequired,
11772
+ });
11684
11773
 
11685
- T['io.flow.v0.models.options'] = PropTypes.exact({
11686
- required: PropTypes.bool.isRequired,
11687
- show_in_catalog: PropTypes.bool.isRequired,
11688
- show_in_harmonization: PropTypes.bool.isRequired,
11774
+ T['io.flow.v0.models.item_shipping_pricing'] = PropTypes.exact({
11775
+ min: T['io.flow.v0.models.price'].isRequired,
11776
+ max: T['io.flow.v0.models.price'],
11689
11777
  });
11690
11778
 
11691
- T['io.flow.v0.models.attribute_form'] = PropTypes.exact({
11692
- key: PropTypes.string.isRequired,
11693
- options: T['io.flow.v0.models.options'].isRequired,
11694
- label: PropTypes.string,
11695
- intent: T['io.flow.v0.enums.attribute_intent'],
11696
- type: T['io.flow.v0.enums.attribute_data_type'],
11697
- position: PropTypes.number,
11779
+ T['io.flow.v0.models.country_shipping_pricing'] = PropTypes.exact({
11780
+ pricing: T['io.flow.v0.models.item_shipping_pricing'].isRequired,
11781
+ countries: PropTypes.arrayOf(PropTypes.string).isRequired,
11698
11782
  });
11699
11783
 
11700
- T['io.flow.v0.models.attribute'] = PropTypes.exact({
11784
+ T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'] = PropTypes.exact({
11701
11785
  id: PropTypes.string.isRequired,
11702
- key: PropTypes.string.isRequired,
11703
- options: T['io.flow.v0.models.options'].isRequired,
11704
- label: PropTypes.string,
11705
- intent: T['io.flow.v0.enums.attribute_intent'],
11706
- type: T['io.flow.v0.enums.attribute_data_type'],
11707
- position: PropTypes.number,
11786
+ item: T['io.flow.v0.models.item_reference'].isRequired,
11787
+ shipping_configuration: T['io.flow.v0.models.shipping_configuration_summary'].isRequired,
11788
+ country_shipping_pricings: PropTypes.arrayOf(T['io.flow.v0.models.country_shipping_pricing']).isRequired,
11708
11789
  });
11709
11790
 
11710
- T['io.flow.v0.models.attribute_version'] = PropTypes.exact({
11711
- id: PropTypes.string.isRequired,
11791
+ T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_upserted'] = PropTypes.exact({
11792
+ discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_upserted']).isRequired,
11793
+ event_id: PropTypes.string.isRequired,
11712
11794
  timestamp: PropTypes.string.isRequired,
11713
- type: T['io.flow.v0.enums.change_type'].isRequired,
11714
- attribute: T['io.flow.v0.models.attribute'].isRequired,
11795
+ organization_id: PropTypes.string.isRequired,
11796
+ shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].isRequired,
11715
11797
  });
11716
11798
 
11717
- T['io.flow.v0.models.attribute_upserted_v2'] = PropTypes.exact({
11718
- discriminator: PropTypes.oneOf(['attribute_upserted_v2']).isRequired,
11799
+ T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_deleted'] = PropTypes.exact({
11800
+ discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_deleted']).isRequired,
11719
11801
  event_id: PropTypes.string.isRequired,
11720
11802
  timestamp: PropTypes.string.isRequired,
11721
- organization: PropTypes.string.isRequired,
11722
- attribute: T['io.flow.v0.models.attribute'].isRequired,
11803
+ organization_id: PropTypes.string.isRequired,
11804
+ shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].isRequired,
11723
11805
  });
11724
11806
 
11725
- T['io.flow.v0.enums.statement_attachment_type'] = PropTypes.oneOf(['csv']);
11807
+ T['io.flow.v0.models.consumer_invoice_line_discount'] = PropTypes.exact({
11808
+ discriminator: PropTypes.oneOf(['discount']).isRequired,
11809
+ price: T['io.flow.v0.models.price'].isRequired,
11810
+ });
11726
11811
 
11727
- T['io.flow.v0.models.attachment'] = PropTypes.exact({
11728
- type: T['io.flow.v0.enums.statement_attachment_type'].isRequired,
11729
- url: PropTypes.string.isRequired,
11812
+ T['io.flow.v0.models.consumer_invoice_levy'] = PropTypes.exact({
11813
+ rate: PropTypes.number.isRequired,
11814
+ value: T['io.flow.v0.models.price'].isRequired,
11730
11815
  });
11731
11816
 
11732
- T['io.flow.v0.models.statement'] = PropTypes.exact({
11817
+ T['io.flow.v0.models.consumer_invoice_line_shipping'] = PropTypes.exact({
11818
+ discriminator: PropTypes.oneOf(['shipping']).isRequired,
11819
+ price: T['io.flow.v0.models.price'].isRequired,
11820
+ discount: T['io.flow.v0.models.price'],
11821
+ tax: T['io.flow.v0.models.consumer_invoice_levy'],
11822
+ duty: T['io.flow.v0.models.consumer_invoice_levy'],
11823
+ });
11824
+
11825
+ T['io.flow.v0.models.consumer_invoice_line_item'] = PropTypes.exact({
11826
+ discriminator: PropTypes.oneOf(['item']).isRequired,
11827
+ item: T['io.flow.v0.models.item_reference'].isRequired,
11828
+ description: PropTypes.string.isRequired,
11829
+ quantity: PropTypes.number.isRequired,
11830
+ unit_price: T['io.flow.v0.models.price'].isRequired,
11831
+ unit_discount: T['io.flow.v0.models.price'],
11832
+ unit_tax: T['io.flow.v0.models.consumer_invoice_levy'],
11833
+ unit_duty: T['io.flow.v0.models.consumer_invoice_levy'],
11834
+ });
11835
+
11836
+ T['io.flow.v0.unions.consumer_invoice_line'] = PropTypes.oneOfType([
11837
+ T['io.flow.v0.models.consumer_invoice_line_item'],
11838
+ T['io.flow.v0.models.consumer_invoice_line_discount'],
11839
+ T['io.flow.v0.models.consumer_invoice_line_shipping'],
11840
+ ]);
11841
+
11842
+ T['io.flow.v0.models.b2b_credit_memo'] = PropTypes.exact({
11733
11843
  id: PropTypes.string.isRequired,
11734
- account: T['io.flow.v0.models.account_reference'].isRequired,
11735
- ending_balance: PropTypes.number.isRequired,
11736
- settlement: T['io.flow.v0.unions.settlement'].isRequired,
11737
- attachments: PropTypes.arrayOf(T['io.flow.v0.models.attachment']).isRequired,
11738
- created_at: PropTypes.string.isRequired,
11844
+ number: PropTypes.string.isRequired,
11845
+ buyer: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
11846
+ seller: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
11847
+ status: T['io.flow.v0.enums.consumer_invoice_status'].isRequired,
11848
+ date: PropTypes.string.isRequired,
11849
+ key: PropTypes.string.isRequired,
11850
+ invoice: T['io.flow.v0.models.b2b_invoice_reference'].isRequired,
11851
+ lines: PropTypes.arrayOf(T['io.flow.v0.unions.consumer_invoice_line']).isRequired,
11852
+ documents: PropTypes.arrayOf(T['io.flow.v0.models.consumer_invoice_document']).isRequired,
11853
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
11854
+ b2b_invoice_type: T['io.flow.v0.enums.b2b_invoice_type'].isRequired,
11739
11855
  });
11740
11856
 
11741
- T['io.flow.v0.models.statement_upserted'] = PropTypes.exact({
11742
- discriminator: PropTypes.oneOf(['statement_upserted']).isRequired,
11857
+ T['io.flow.v0.models.b2b_credit_memo_upserted'] = PropTypes.exact({
11858
+ discriminator: PropTypes.oneOf(['b2b_credit_memo_upserted']).isRequired,
11743
11859
  event_id: PropTypes.string.isRequired,
11744
11860
  timestamp: PropTypes.string.isRequired,
11745
11861
  organization: PropTypes.string.isRequired,
11746
- statement: T['io.flow.v0.models.statement'].isRequired,
11862
+ b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
11747
11863
  });
11748
11864
 
11749
- T['io.flow.v0.models.statement_deleted'] = PropTypes.exact({
11750
- discriminator: PropTypes.oneOf(['statement_deleted']).isRequired,
11865
+ T['io.flow.v0.models.b2b_credit_memo_deleted'] = PropTypes.exact({
11866
+ discriminator: PropTypes.oneOf(['b2b_credit_memo_deleted']).isRequired,
11751
11867
  event_id: PropTypes.string.isRequired,
11752
11868
  timestamp: PropTypes.string.isRequired,
11753
11869
  organization: PropTypes.string.isRequired,
11754
- statement: T['io.flow.v0.models.statement'].isRequired,
11755
- });
11756
-
11757
- T['io.flow.v0.models.channel_statement'] = PropTypes.exact({
11758
- id: PropTypes.string.isRequired,
11759
- account: T['io.flow.v0.models.account_reference'].isRequired,
11760
- ending_balance: PropTypes.number.isRequired,
11761
- settlement: T['io.flow.v0.unions.settlement'].isRequired,
11762
- attachments: PropTypes.arrayOf(T['io.flow.v0.models.attachment']).isRequired,
11763
- created_at: PropTypes.string.isRequired,
11870
+ b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
11764
11871
  });
11765
11872
 
11766
- T['io.flow.v0.models.channel_statement_upserted'] = PropTypes.exact({
11767
- discriminator: PropTypes.oneOf(['channel_statement_upserted']).isRequired,
11768
- event_id: PropTypes.string.isRequired,
11769
- timestamp: PropTypes.string.isRequired,
11770
- channel_id: PropTypes.string.isRequired,
11771
- channel_statement: T['io.flow.v0.models.channel_statement'].isRequired,
11873
+ T['io.flow.v0.models.catalog_price_book_item_document'] = PropTypes.exact({
11874
+ price_book_key: PropTypes.string.isRequired,
11875
+ price_book_item_key: PropTypes.string.isRequired,
11876
+ catalog: T['io.flow.v0.models.catalog_item_summary'].isRequired,
11877
+ price: T['io.flow.v0.models.price'],
11878
+ amount: PropTypes.number.isRequired,
11879
+ starts_at: PropTypes.string.isRequired,
11880
+ ends_at: PropTypes.string,
11772
11881
  });
11773
11882
 
11774
- T['io.flow.v0.models.channel_statement_deleted'] = PropTypes.exact({
11775
- discriminator: PropTypes.oneOf(['channel_statement_deleted']).isRequired,
11776
- event_id: PropTypes.string.isRequired,
11777
- timestamp: PropTypes.string.isRequired,
11778
- channel_id: PropTypes.string.isRequired,
11779
- channel_statement: T['io.flow.v0.models.channel_statement'].isRequired,
11883
+ T['io.flow.v0.models.amount_margin'] = PropTypes.exact({
11884
+ discriminator: PropTypes.oneOf(['amount_margin']).isRequired,
11885
+ margin: T['io.flow.v0.models.price'].isRequired,
11780
11886
  });
11781
11887
 
11782
- T['io.flow.v0.enums.order_price_detail_key'] = PropTypes.oneOf([
11783
- 'adjustment',
11784
- 'subtotal',
11785
- 'vat',
11786
- 'duty',
11787
- 'shipping',
11788
- 'insurance',
11789
- 'discount',
11790
- 'surcharges',
11791
- 'tip',
11888
+ T['io.flow.v0.unions.tier_rule_outcome'] = PropTypes.oneOfType([
11889
+ T['io.flow.v0.models.amount_margin'],
11890
+ T['io.flow.v0.models.at_cost'],
11891
+ T['io.flow.v0.models.flat_rate'],
11892
+ T['io.flow.v0.models.percent_margin'],
11792
11893
  ]);
11793
11894
 
11794
- T['io.flow.v0.enums.price_accuracy'] = PropTypes.oneOf(['calculated', 'estimated_from_partial_destination']);
11795
-
11796
- T['io.flow.v0.models.price'] = PropTypes.exact({
11797
- amount: PropTypes.number.isRequired,
11798
- currency: PropTypes.string.isRequired,
11799
- label: PropTypes.string.isRequired,
11800
- });
11801
-
11802
- T['io.flow.v0.models.virtual_card'] = PropTypes.exact({
11895
+ T['io.flow.v0.models.tier_rule'] = PropTypes.exact({
11803
11896
  id: PropTypes.string.isRequired,
11804
- key: PropTypes.string.isRequired,
11805
- number: PropTypes.string,
11806
- cvv: PropTypes.string,
11807
- limit: T['io.flow.v0.models.price'].isRequired,
11808
- type: T['io.flow.v0.enums.card_type'].isRequired,
11809
- expiration: T['io.flow.v0.models.expiration'].isRequired,
11810
- iin: PropTypes.string.isRequired,
11811
- last4: PropTypes.string.isRequired,
11812
- name: PropTypes.string.isRequired,
11813
- attributes: PropTypes.objectOf(PropTypes.string),
11897
+ position: PropTypes.number.isRequired,
11898
+ query: PropTypes.string.isRequired,
11899
+ outcome: T['io.flow.v0.unions.tier_rule_outcome'].isRequired,
11814
11900
  });
11815
11901
 
11816
- T['io.flow.v0.models.virtual_card_version'] = PropTypes.exact({
11902
+ T['io.flow.v0.models.tier_rule_version'] = PropTypes.exact({
11817
11903
  id: PropTypes.string.isRequired,
11818
11904
  timestamp: PropTypes.string.isRequired,
11819
11905
  type: T['io.flow.v0.enums.change_type'].isRequired,
11820
- virtual_card: T['io.flow.v0.models.virtual_card'].isRequired,
11906
+ tier_rule: T['io.flow.v0.models.tier_rule'].isRequired,
11821
11907
  });
11822
11908
 
11823
- T['io.flow.v0.models.price_book_item'] = PropTypes.exact({
11824
- id: PropTypes.string.isRequired,
11825
- key: PropTypes.string.isRequired,
11826
- price_book: T['io.flow.v0.models.price_book_reference'].isRequired,
11827
- price: T['io.flow.v0.models.price'].isRequired,
11828
- item_number: PropTypes.string.isRequired,
11829
- schedule: T['io.flow.v0.models.price_book_item_schedule'].isRequired,
11830
- item_attributes: PropTypes.objectOf(PropTypes.string),
11909
+ T['io.flow.v0.models.localized_total'] = PropTypes.exact({
11910
+ key: PropTypes.oneOf(['localized_total']).isRequired,
11911
+ currency: PropTypes.string.isRequired,
11912
+ amount: PropTypes.number.isRequired,
11913
+ label: PropTypes.string.isRequired,
11914
+ base: T['io.flow.v0.models.price'].isRequired,
11831
11915
  });
11832
11916
 
11833
- T['io.flow.v0.models.price_book_item_upserted'] = PropTypes.exact({
11834
- discriminator: PropTypes.oneOf(['price_book_item_upserted']).isRequired,
11835
- event_id: PropTypes.string.isRequired,
11836
- timestamp: PropTypes.string.isRequired,
11837
- organization: PropTypes.string.isRequired,
11838
- price_book_item: T['io.flow.v0.models.price_book_item'].isRequired,
11917
+ T['io.flow.v0.models.price_with_base'] = PropTypes.exact({
11918
+ currency: PropTypes.string.isRequired,
11919
+ amount: PropTypes.number.isRequired,
11920
+ label: PropTypes.string.isRequired,
11921
+ base: T['io.flow.v0.models.price'],
11839
11922
  });
11840
11923
 
11841
- T['io.flow.v0.models.order_summary_levy'] = PropTypes.exact({
11842
- rate: PropTypes.number.isRequired,
11843
- rate_label: PropTypes.string,
11844
- value: T['io.flow.v0.models.price'].isRequired,
11924
+ T['io.flow.v0.models.shopify_order_price_attributes_metafield'] = PropTypes.exact({
11925
+ item_number: PropTypes.string.isRequired,
11926
+ price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
11845
11927
  });
11846
11928
 
11847
- T['io.flow.v0.models.order_summary_item'] = PropTypes.exact({
11848
- number: PropTypes.string.isRequired,
11849
- name: PropTypes.string.isRequired,
11850
- description: PropTypes.string,
11851
- attributes: PropTypes.arrayOf(T['io.flow.v0.models.checkout_item_content_attribute']).isRequired,
11852
- image: T['io.flow.v0.models.order_summary_image'],
11853
- price: T['io.flow.v0.models.price'].isRequired,
11854
- discount: T['io.flow.v0.models.price'],
11855
- tax: T['io.flow.v0.models.order_summary_levy'],
11856
- duty: T['io.flow.v0.models.order_summary_levy'],
11857
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
11929
+ T['io.flow.v0.models.shopify_local_price_metadata'] = PropTypes.exact({
11930
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
11858
11931
  });
11859
11932
 
11860
- T['io.flow.v0.models.order_summary_line_item'] = PropTypes.exact({
11861
- id: PropTypes.string,
11862
- item: T['io.flow.v0.models.order_summary_item'].isRequired,
11863
- quantity: PropTypes.number.isRequired,
11864
- discount: T['io.flow.v0.models.price'],
11865
- tax: T['io.flow.v0.models.order_summary_levy'],
11866
- duty: T['io.flow.v0.models.order_summary_levy'],
11867
- total: T['io.flow.v0.models.price'].isRequired,
11868
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price']).isRequired,
11869
- attributes: PropTypes.objectOf(PropTypes.string),
11933
+ T['io.flow.v0.models.shopify_price'] = PropTypes.exact({
11934
+ name: PropTypes.string.isRequired,
11935
+ amount: PropTypes.number.isRequired,
11936
+ cents: PropTypes.number.isRequired,
11937
+ currency: PropTypes.string.isRequired,
11938
+ label: PropTypes.string.isRequired,
11939
+ includes: T['io.flow.v0.models.included_levies'],
11940
+ local: T['io.flow.v0.models.shopify_local_price_metadata'],
11870
11941
  });
11871
11942
 
11872
- T['io.flow.v0.models.order_summary_price_detail'] = PropTypes.exact({
11873
- price: T['io.flow.v0.models.price'].isRequired,
11874
- name: PropTypes.string,
11875
- rate: PropTypes.number,
11876
- rate_label: PropTypes.string,
11943
+ T['io.flow.v0.models.shopify_localized_variant_prices'] = PropTypes.exact({
11944
+ item: T['io.flow.v0.models.shopify_price'].isRequired,
11945
+ compare_at: T['io.flow.v0.models.shopify_price'],
11946
+ vat: T['io.flow.v0.models.shopify_price'],
11947
+ duty: T['io.flow.v0.models.shopify_price'],
11877
11948
  });
11878
11949
 
11879
- T['io.flow.v0.models.order_summary'] = PropTypes.exact({
11880
- number: PropTypes.string.isRequired,
11881
- subtotal: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
11882
- shipping: T['io.flow.v0.models.order_summary_price_detail'],
11883
- tax: T['io.flow.v0.models.order_summary_price_detail'],
11884
- duty: T['io.flow.v0.models.order_summary_price_detail'],
11885
- insurance: T['io.flow.v0.models.order_summary_price_detail'],
11886
- discount: T['io.flow.v0.models.order_summary_price_detail'],
11887
- surcharges: T['io.flow.v0.models.order_summary_price_detail'],
11888
- adjustment: T['io.flow.v0.models.order_summary_price_detail'],
11889
- total: T['io.flow.v0.models.order_summary_price_detail'].isRequired,
11890
- lines: PropTypes.arrayOf(T['io.flow.v0.models.order_summary_line_item']).isRequired,
11891
- identifiers: PropTypes.objectOf(PropTypes.string),
11892
- attributes: PropTypes.objectOf(PropTypes.string),
11950
+ T['io.flow.v0.models.shopify_localized_variant'] = PropTypes.exact({
11951
+ id: PropTypes.number.isRequired,
11952
+ handle: PropTypes.string.isRequired,
11953
+ experience: T['io.flow.v0.models.experience_reference'].isRequired,
11954
+ prices: T['io.flow.v0.models.shopify_localized_variant_prices'].isRequired,
11955
+ status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
11956
+ inventory_status: T['io.flow.v0.enums.item_availability_status'],
11893
11957
  });
11894
11958
 
11895
- T['io.flow.v0.models.value_threshold_exceeded_details'] = PropTypes.exact({
11896
- local: T['io.flow.v0.models.price'].isRequired,
11897
- original: T['io.flow.v0.models.price'].isRequired,
11959
+ T['io.flow.v0.models.shopify_local_cart_item_metadata'] = PropTypes.exact({
11960
+ line_price: T['io.flow.v0.models.price_with_base'].isRequired,
11961
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
11898
11962
  });
11899
11963
 
11900
- T['io.flow.v0.models.order_error'] = PropTypes.exact({
11901
- code: T['io.flow.v0.enums.order_error_code'].isRequired,
11902
- messages: PropTypes.arrayOf(PropTypes.string).isRequired,
11903
- numbers: PropTypes.arrayOf(PropTypes.string),
11904
- destination_country: T['io.flow.v0.models.country'],
11905
- threshold: T['io.flow.v0.models.value_threshold_exceeded_details'],
11964
+ T['io.flow.v0.models.shopify_cart_item'] = PropTypes.exact({
11965
+ id: PropTypes.string.isRequired,
11966
+ handle: PropTypes.string.isRequired,
11967
+ line_price: PropTypes.number.isRequired,
11968
+ price: PropTypes.number.isRequired,
11969
+ product_id: PropTypes.number.isRequired,
11970
+ product_title: PropTypes.string.isRequired,
11971
+ quantity: PropTypes.number.isRequired,
11972
+ title: PropTypes.string.isRequired,
11973
+ url: PropTypes.string.isRequired,
11974
+ variant_id: PropTypes.number.isRequired,
11975
+ local: T['io.flow.v0.models.shopify_local_cart_item_metadata'].isRequired,
11976
+ gift_card: PropTypes.bool.isRequired,
11977
+ image: PropTypes.string,
11978
+ product_description: PropTypes.string,
11979
+ product_type: PropTypes.string,
11980
+ properties: PropTypes.objectOf(PropTypes.string),
11981
+ requires_shipping: PropTypes.bool.isRequired,
11982
+ sku: PropTypes.string,
11983
+ variant_title: PropTypes.string,
11984
+ variant_options: PropTypes.arrayOf(PropTypes.string),
11985
+ vendor: PropTypes.string,
11906
11986
  });
11907
11987
 
11908
- T['io.flow.v0.models.price_details'] = PropTypes.exact({
11909
- currency: PropTypes.string.isRequired,
11910
- item_price: T['io.flow.v0.models.price_detail'].isRequired,
11911
- margins: T['io.flow.v0.models.price_detail'].isRequired,
11912
- vat: T['io.flow.v0.models.price_detail'].isRequired,
11913
- duty: T['io.flow.v0.models.price_detail'].isRequired,
11914
- rounding: T['io.flow.v0.models.price_detail'].isRequired,
11915
- price: T['io.flow.v0.models.price'].isRequired,
11916
- total: T['io.flow.v0.models.price'].isRequired,
11917
- adjustment: T['io.flow.v0.models.price_detail'],
11988
+ T['io.flow.v0.models.line'] = PropTypes.exact({
11989
+ id: PropTypes.string,
11990
+ item_number: PropTypes.string.isRequired,
11991
+ quantity: PropTypes.number.isRequired,
11992
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
11993
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
11994
+ attributes: PropTypes.objectOf(PropTypes.string),
11918
11995
  });
11919
11996
 
11920
- T['io.flow.v0.models.local_price_details'] = PropTypes.exact({
11921
- base: T['io.flow.v0.models.price_details'].isRequired,
11922
- local: T['io.flow.v0.models.price_details'].isRequired,
11923
- discount: T['io.flow.v0.models.price_detail'],
11924
- local_before_discount: T['io.flow.v0.models.price_detail'],
11997
+ T['io.flow.v0.models.klaviyo_order_prices'] = PropTypes.exact({
11998
+ subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
11999
+ vat: T['io.flow.v0.models.price_with_base'],
12000
+ duty: T['io.flow.v0.models.price_with_base'],
12001
+ discount: T['io.flow.v0.models.price_with_base'],
12002
+ shipping: T['io.flow.v0.models.price_with_base'],
12003
+ insurance: T['io.flow.v0.models.price_with_base'],
12004
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
11925
12005
  });
11926
12006
 
11927
- T['io.flow.v0.models.price_check'] = PropTypes.exact({
11928
- display: T['io.flow.v0.models.local_price_details'].isRequired,
11929
- 'final': T['io.flow.v0.models.local_price_details'].isRequired,
12007
+ T['io.flow.v0.models.fulfillment_item_allocation_details'] = PropTypes.exact({
12008
+ item_number: PropTypes.string.isRequired,
12009
+ line_number: PropTypes.number.isRequired,
12010
+ levies: T['io.flow.v0.models.price_with_base'].isRequired,
12011
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
11930
12012
  });
11931
12013
 
11932
- T['io.flow.v0.models.order_promotion_trigger'] = PropTypes.exact({
11933
- type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
11934
- min: T['io.flow.v0.models.price'],
12014
+ T['io.flow.v0.models.experience_price_facet_conversion'] = PropTypes.exact({
12015
+ request: T['io.flow.v0.models.experience_price_facet_conversion_request'].isRequired,
12016
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
11935
12017
  });
11936
12018
 
11937
- T['io.flow.v0.models.promotion_trigger'] = PropTypes.exact({
11938
- type: T['io.flow.v0.enums.promotion_trigger_type'].isRequired,
11939
- min: T['io.flow.v0.models.price'].isRequired,
11940
- remaining: T['io.flow.v0.models.price'].isRequired,
12019
+ T['io.flow.v0.models.experience_price_facet_conversion_response'] = PropTypes.exact({
12020
+ facets: PropTypes.arrayOf(T['io.flow.v0.models.experience_price_facet_conversion']).isRequired,
11941
12021
  });
11942
12022
 
11943
- T['io.flow.v0.models.free_shipping'] = PropTypes.exact({
11944
- discriminator: PropTypes.oneOf(['free_shipping']).isRequired,
11945
- trigger: T['io.flow.v0.models.promotion_trigger'].isRequired,
11946
- max: T['io.flow.v0.models.price'],
12023
+ T['io.flow.v0.models.experience_price_conversion'] = PropTypes.exact({
12024
+ request: T['io.flow.v0.models.experience_price_conversion_request'].isRequired,
12025
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
11947
12026
  });
11948
12027
 
11949
- T['io.flow.v0.models.flat_rate'] = PropTypes.exact({
11950
- discriminator: PropTypes.oneOf(['flat_rate']).isRequired,
11951
- price: T['io.flow.v0.models.price'].isRequired,
11952
- zero_amount_indicator: T['io.flow.v0.enums.zero_amount_indicator'],
12028
+ T['io.flow.v0.models.experience_price_conversion_response'] = PropTypes.exact({
12029
+ prices: PropTypes.arrayOf(T['io.flow.v0.models.experience_price_conversion']).isRequired,
11953
12030
  });
11954
12031
 
11955
- T['io.flow.v0.models.localized_item_price'] = PropTypes.exact({
11956
- key: PropTypes.oneOf(['localized_item_price']).isRequired,
11957
- currency: PropTypes.string.isRequired,
11958
- amount: PropTypes.number.isRequired,
12032
+ T['io.flow.v0.models.discount'] = PropTypes.exact({
12033
+ discriminator: PropTypes.oneOf(['discount']).isRequired,
12034
+ id: PropTypes.string.isRequired,
12035
+ code: PropTypes.string,
11959
12036
  label: PropTypes.string.isRequired,
11960
- base: T['io.flow.v0.models.price'].isRequired,
11961
- includes: T['io.flow.v0.models.included_levies'],
12037
+ price: T['io.flow.v0.models.price_with_base'].isRequired,
12038
+ attributes: PropTypes.objectOf(PropTypes.string),
11962
12039
  });
11963
12040
 
11964
- T['io.flow.v0.models.experience_logistics_tier_summary_prices'] = PropTypes.exact({
11965
- minimum: T['io.flow.v0.models.price'].isRequired,
11966
- });
12041
+ T['io.flow.v0.unions.promotion'] = PropTypes.oneOfType([T['io.flow.v0.models.free_shipping'], T['io.flow.v0.models.discount']]);
11967
12042
 
11968
- T['io.flow.v0.models.experience_logistics_tier_summary'] = PropTypes.exact({
11969
- prices: T['io.flow.v0.models.experience_logistics_tier_summary_prices'].isRequired,
12043
+ T['io.flow.v0.models.promotions'] = PropTypes.exact({
12044
+ applied: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
12045
+ available: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
11970
12046
  });
11971
12047
 
11972
- T['io.flow.v0.models.experience_logistics_summary'] = PropTypes.exact({
11973
- outbound: T['io.flow.v0.models.experience_logistics_tier_summary'],
11974
- 'return': T['io.flow.v0.models.experience_logistics_tier_summary'],
12048
+ T['io.flow.v0.models.shopify_local_cart_metadata'] = PropTypes.exact({
12049
+ total_price: T['io.flow.v0.models.price_with_base'].isRequired,
12050
+ promotions: T['io.flow.v0.models.promotions'].isRequired,
12051
+ rules: T['io.flow.v0.models.order_rules_summary'],
12052
+ subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
12053
+ vat: T['io.flow.v0.models.price_with_base'],
12054
+ duty: T['io.flow.v0.models.price_with_base'],
12055
+ discount: T['io.flow.v0.models.price_with_base'],
11975
12056
  });
11976
12057
 
11977
- T['io.flow.v0.models.delivery_option_summary'] = PropTypes.exact({
12058
+ T['io.flow.v0.models.shopify_cart'] = PropTypes.exact({
11978
12059
  id: PropTypes.string.isRequired,
11979
- cost: T['io.flow.v0.models.price'].isRequired,
11980
- delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
11981
- price: T['io.flow.v0.models.price'].isRequired,
11982
- service: T['io.flow.v0.models.service_reference'].isRequired,
11983
- tier: T['io.flow.v0.models.tier_reference'].isRequired,
11984
- window: T['io.flow.v0.models.datetime_range'].isRequired,
12060
+ items: PropTypes.arrayOf(T['io.flow.v0.models.shopify_cart_item']).isRequired,
12061
+ item_count: PropTypes.number.isRequired,
12062
+ total_price: PropTypes.number.isRequired,
12063
+ local: T['io.flow.v0.models.shopify_local_cart_metadata'].isRequired,
12064
+ attributes: PropTypes.object,
12065
+ note: PropTypes.string,
12066
+ requires_shipping: PropTypes.bool.isRequired,
12067
+ total_weight: PropTypes.number,
11985
12068
  });
11986
12069
 
11987
- T['io.flow.v0.models.delivery_option_version'] = PropTypes.exact({
12070
+ T['io.flow.v0.models.available_promotion'] = PropTypes.exact({
11988
12071
  id: PropTypes.string.isRequired,
12072
+ shipping_configuration: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
12073
+ region: T['io.flow.v0.models.region_reference'].isRequired,
12074
+ promotions: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
12075
+ });
12076
+
12077
+ T['io.flow.v0.models.available_promotions_upserted_v2'] = PropTypes.exact({
12078
+ discriminator: PropTypes.oneOf(['available_promotions_upserted_v2']).isRequired,
12079
+ event_id: PropTypes.string.isRequired,
11989
12080
  timestamp: PropTypes.string.isRequired,
11990
- type: T['io.flow.v0.enums.change_type'].isRequired,
11991
- delivery_option: T['io.flow.v0.models.delivery_option_summary'].isRequired,
12081
+ organization: PropTypes.string.isRequired,
12082
+ available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
11992
12083
  });
11993
12084
 
11994
- T['io.flow.v0.models.delivery_option_cost_component'] = PropTypes.exact({
11995
- key: T['io.flow.v0.enums.delivery_option_cost_detail_component_key'].isRequired,
11996
- currency: PropTypes.string.isRequired,
11997
- amount: PropTypes.number.isRequired,
11998
- label: PropTypes.string.isRequired,
11999
- base: T['io.flow.v0.models.price'],
12085
+ T['io.flow.v0.models.available_promotions_deleted_v2'] = PropTypes.exact({
12086
+ discriminator: PropTypes.oneOf(['available_promotions_deleted_v2']).isRequired,
12087
+ event_id: PropTypes.string.isRequired,
12088
+ timestamp: PropTypes.string.isRequired,
12089
+ organization: PropTypes.string.isRequired,
12090
+ available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
12000
12091
  });
12001
12092
 
12002
- T['io.flow.v0.models.delivery_option_cost_detail'] = PropTypes.exact({
12003
- source: T['io.flow.v0.enums.delivery_option_cost_detail_source'].isRequired,
12004
- ratecard_id: PropTypes.string,
12093
+ T['io.flow.v0.enums.order_price_detail_component_key'] = PropTypes.oneOf([
12094
+ 'adjustment',
12095
+ 'vat_deminimis',
12096
+ 'duty_deminimis',
12097
+ 'duties_item_price',
12098
+ 'duties_freight',
12099
+ 'duties_insurance',
12100
+ 'vat_item_price',
12101
+ 'vat_freight',
12102
+ 'vat_insurance',
12103
+ 'vat_duties_item_price',
12104
+ 'vat_duties_freight',
12105
+ 'vat_duties_insurance',
12106
+ 'item_price',
12107
+ 'item_discount',
12108
+ 'rounding',
12109
+ 'insurance',
12110
+ 'shipping',
12111
+ 'shipping_discount',
12112
+ 'order_discount',
12113
+ 'subtotal_percent_sales_margin',
12114
+ 'subtotal_vat_percent_sales_margin',
12115
+ 'subtotal_duty_percent_sales_margin',
12116
+ 'vat_subsidy',
12117
+ 'duty_subsidy',
12118
+ 'remote_area_surcharge',
12119
+ 'fuel_surcharge',
12120
+ 'emergency_situation_surcharge',
12121
+ 'peak_surcharge',
12122
+ 'duties_taxes_paid_surcharge',
12123
+ 'tip',
12124
+ ]);
12125
+
12126
+ T['io.flow.v0.models.order_price_detail_component'] = PropTypes.exact({
12127
+ key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
12005
12128
  currency: PropTypes.string.isRequired,
12006
12129
  amount: PropTypes.number.isRequired,
12007
12130
  label: PropTypes.string.isRequired,
12008
- base: T['io.flow.v0.models.price'],
12009
- components: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_component']).isRequired,
12131
+ base: T['io.flow.v0.models.price'].isRequired,
12132
+ name: PropTypes.string,
12010
12133
  });
12011
12134
 
12012
- T['io.flow.v0.models.price_with_base_and_details'] = PropTypes.exact({
12135
+ T['io.flow.v0.models.order_price_detail'] = PropTypes.exact({
12136
+ key: T['io.flow.v0.enums.order_price_detail_key'].isRequired,
12013
12137
  currency: PropTypes.string.isRequired,
12014
12138
  amount: PropTypes.number.isRequired,
12015
12139
  label: PropTypes.string.isRequired,
12016
- base: T['io.flow.v0.models.price'],
12017
- details: PropTypes.arrayOf(T['io.flow.v0.models.delivery_option_cost_detail']),
12018
- });
12019
-
12020
- T['io.flow.v0.models.original_prices'] = PropTypes.exact({
12021
- value: T['io.flow.v0.models.price'].isRequired,
12022
- max: T['io.flow.v0.models.price'].isRequired,
12023
- });
12024
-
12025
- T['io.flow.v0.models.item_shipping_pricing'] = PropTypes.exact({
12026
- min: T['io.flow.v0.models.price'].isRequired,
12027
- max: T['io.flow.v0.models.price'],
12140
+ base: T['io.flow.v0.models.price'].isRequired,
12141
+ components: PropTypes.arrayOf(T['io.flow.v0.models.order_price_detail_component']).isRequired,
12142
+ name: PropTypes.string,
12143
+ rate: PropTypes.number,
12144
+ accuracy: T['io.flow.v0.enums.price_accuracy'],
12145
+ rate_label: PropTypes.string,
12028
12146
  });
12029
12147
 
12030
- T['io.flow.v0.models.country_shipping_pricing'] = PropTypes.exact({
12031
- pricing: T['io.flow.v0.models.item_shipping_pricing'].isRequired,
12032
- countries: PropTypes.arrayOf(PropTypes.string).isRequired,
12148
+ T['io.flow.v0.models.allocation_detail_component'] = PropTypes.exact({
12149
+ discriminator: PropTypes.oneOf(['allocation_detail_component']).isRequired,
12150
+ key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
12151
+ total: T['io.flow.v0.models.price_with_base'].isRequired,
12152
+ price: T['io.flow.v0.models.price_with_base'],
12033
12153
  });
12034
12154
 
12035
- T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'] = PropTypes.exact({
12155
+ T['io.flow.v0.models.allocation_order_summary'] = PropTypes.exact({
12036
12156
  id: PropTypes.string.isRequired,
12037
- item: T['io.flow.v0.models.item_reference'].isRequired,
12038
- shipping_configuration: T['io.flow.v0.models.shipping_configuration_summary'].isRequired,
12039
- country_shipping_pricings: PropTypes.arrayOf(T['io.flow.v0.models.country_shipping_pricing']).isRequired,
12157
+ number: PropTypes.string.isRequired,
12158
+ submitted_at: PropTypes.string,
12040
12159
  });
12041
12160
 
12042
- T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_upserted'] = PropTypes.exact({
12043
- discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_upserted']).isRequired,
12044
- event_id: PropTypes.string.isRequired,
12045
- timestamp: PropTypes.string.isRequired,
12046
- organization_id: PropTypes.string.isRequired,
12047
- shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].isRequired,
12048
- });
12161
+ T['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'] = PropTypes.oneOf(['physical', 'digital']);
12049
12162
 
12050
- T['io.flow.v0.models.shipping_configuration_item_shipping_pricing_deleted'] = PropTypes.exact({
12051
- discriminator: PropTypes.oneOf(['shipping_configuration_item_shipping_pricing_deleted']).isRequired,
12052
- event_id: PropTypes.string.isRequired,
12053
- timestamp: PropTypes.string.isRequired,
12054
- organization_id: PropTypes.string.isRequired,
12055
- shipping_configuration_item_shipping_pricing: T['io.flow.v0.models.shipping_configuration_item_shipping_pricing'].isRequired,
12163
+ T['io.flow.common.v0.models.price'] = PropTypes.exact({
12164
+ amount: PropTypes.number.isRequired,
12165
+ currency: PropTypes.string.isRequired,
12166
+ label: PropTypes.string.isRequired,
12056
12167
  });
12057
12168
 
12058
- T['io.flow.v0.models.consumer_invoice_line_discount'] = PropTypes.exact({
12059
- discriminator: PropTypes.oneOf(['discount']).isRequired,
12060
- price: T['io.flow.v0.models.price'].isRequired,
12169
+ T['io.flow.catalog.v0.models.localized_item_price'] = PropTypes.exact({
12170
+ key: PropTypes.oneOf(['localized_item_price']).isRequired,
12171
+ currency: PropTypes.string.isRequired,
12172
+ amount: PropTypes.number.isRequired,
12173
+ label: PropTypes.string.isRequired,
12174
+ base: T['io.flow.common.v0.models.price'].isRequired,
12175
+ includes: T['io.flow.common.v0.models.included_levies'],
12061
12176
  });
12062
12177
 
12063
- T['io.flow.v0.models.consumer_invoice_levy'] = PropTypes.exact({
12064
- rate: PropTypes.number.isRequired,
12065
- value: T['io.flow.v0.models.price'].isRequired,
12178
+ T['io.flow.catalog.v0.models.localized_adjustment'] = PropTypes.exact({
12179
+ currency: PropTypes.string.isRequired,
12180
+ amount: PropTypes.number.isRequired,
12181
+ label: PropTypes.string.isRequired,
12182
+ base: T['io.flow.common.v0.models.price'].isRequired,
12183
+ reason: T['io.flow.catalog.v0.models.adjustment_reason'].isRequired,
12066
12184
  });
12067
12185
 
12068
- T['io.flow.v0.models.consumer_invoice_line_shipping'] = PropTypes.exact({
12069
- discriminator: PropTypes.oneOf(['shipping']).isRequired,
12070
- price: T['io.flow.v0.models.price'].isRequired,
12071
- discount: T['io.flow.v0.models.price'],
12072
- tax: T['io.flow.v0.models.consumer_invoice_levy'],
12073
- duty: T['io.flow.v0.models.consumer_invoice_levy'],
12186
+ T['io.flow.catalog.v0.models.localized_item_vat'] = PropTypes.exact({
12187
+ key: PropTypes.oneOf(['localized_item_vat']).isRequired,
12188
+ currency: PropTypes.string.isRequired,
12189
+ amount: PropTypes.number.isRequired,
12190
+ label: PropTypes.string.isRequired,
12191
+ base: T['io.flow.common.v0.models.price'].isRequired,
12192
+ name: PropTypes.string.isRequired,
12193
+ adjustment: T['io.flow.catalog.v0.models.localized_adjustment'],
12194
+ accuracy: T['io.flow.price.v0.enums.price_accuracy'],
12195
+ basis: T['io.flow.common.v0.models.money_with_base'],
12074
12196
  });
12075
12197
 
12076
- T['io.flow.v0.models.consumer_invoice_line_item'] = PropTypes.exact({
12077
- discriminator: PropTypes.oneOf(['item']).isRequired,
12078
- item: T['io.flow.v0.models.item_reference'].isRequired,
12079
- description: PropTypes.string.isRequired,
12080
- quantity: PropTypes.number.isRequired,
12081
- unit_price: T['io.flow.v0.models.price'].isRequired,
12082
- unit_discount: T['io.flow.v0.models.price'],
12083
- unit_tax: T['io.flow.v0.models.consumer_invoice_levy'],
12084
- unit_duty: T['io.flow.v0.models.consumer_invoice_levy'],
12198
+ T['io.flow.catalog.v0.models.localized_item_duty'] = PropTypes.exact({
12199
+ key: PropTypes.oneOf(['localized_item_duty']).isRequired,
12200
+ currency: PropTypes.string.isRequired,
12201
+ amount: PropTypes.number.isRequired,
12202
+ label: PropTypes.string.isRequired,
12203
+ base: T['io.flow.common.v0.models.price'].isRequired,
12204
+ adjustment: T['io.flow.catalog.v0.models.localized_adjustment'],
12205
+ basis: T['io.flow.common.v0.models.money_with_base'],
12085
12206
  });
12086
12207
 
12087
- T['io.flow.v0.unions.consumer_invoice_line'] = PropTypes.oneOfType([
12088
- T['io.flow.v0.models.consumer_invoice_line_item'],
12089
- T['io.flow.v0.models.consumer_invoice_line_discount'],
12090
- T['io.flow.v0.models.consumer_invoice_line_shipping'],
12091
- ]);
12092
-
12093
- T['io.flow.v0.models.b2b_credit_memo'] = PropTypes.exact({
12208
+ T['io.flow.catalog.v0.models.item_form_overlay'] = PropTypes.exact({
12094
12209
  id: PropTypes.string.isRequired,
12095
12210
  number: PropTypes.string.isRequired,
12096
- buyer: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
12097
- seller: T['io.flow.v0.models.merchant_of_record_entity'].isRequired,
12098
- status: T['io.flow.v0.enums.consumer_invoice_status'].isRequired,
12099
- date: PropTypes.string.isRequired,
12100
12211
  key: PropTypes.string.isRequired,
12101
- invoice: T['io.flow.v0.models.b2b_invoice_reference'].isRequired,
12102
- lines: PropTypes.arrayOf(T['io.flow.v0.unions.consumer_invoice_line']).isRequired,
12103
- documents: PropTypes.arrayOf(T['io.flow.v0.models.consumer_invoice_document']).isRequired,
12104
- attributes: PropTypes.objectOf(PropTypes.string).isRequired,
12105
- b2b_invoice_type: T['io.flow.v0.enums.b2b_invoice_type'].isRequired,
12212
+ position: PropTypes.number.isRequired,
12213
+ price: T['io.flow.common.v0.models.price'],
12214
+ categories: PropTypes.arrayOf(PropTypes.string),
12215
+ description: PropTypes.string,
12216
+ attributes: PropTypes.objectOf(PropTypes.string),
12217
+ dimensions: T['io.flow.common.v0.models.dimensions'],
12218
+ images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image_form']),
12219
+ deleted_at: PropTypes.string,
12106
12220
  });
12107
12221
 
12108
- T['io.flow.v0.models.b2b_credit_memo_upserted'] = PropTypes.exact({
12109
- discriminator: PropTypes.oneOf(['b2b_credit_memo_upserted']).isRequired,
12110
- event_id: PropTypes.string.isRequired,
12111
- timestamp: PropTypes.string.isRequired,
12112
- organization: PropTypes.string.isRequired,
12113
- b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
12222
+ T['io.flow.tech.onboarding.playground.v0.models.aldo_item_form'] = PropTypes.exact({
12223
+ number: PropTypes.string.isRequired,
12224
+ amount: T['io.flow.common.v0.models.price'].isRequired,
12225
+ description: PropTypes.string,
12226
+ type: T['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'].isRequired,
12227
+ added_on: PropTypes.string.isRequired,
12114
12228
  });
12115
12229
 
12116
- T['io.flow.v0.models.b2b_credit_memo_deleted'] = PropTypes.exact({
12117
- discriminator: PropTypes.oneOf(['b2b_credit_memo_deleted']).isRequired,
12118
- event_id: PropTypes.string.isRequired,
12119
- timestamp: PropTypes.string.isRequired,
12120
- organization: PropTypes.string.isRequired,
12121
- b2b_credit_memo: T['io.flow.v0.models.b2b_credit_memo'].isRequired,
12230
+ T['io.flow.fulfillment.v0.models.flat_rate'] = PropTypes.exact({
12231
+ discriminator: PropTypes.oneOf(['flat_rate']).isRequired,
12232
+ price: T['io.flow.common.v0.models.price'].isRequired,
12233
+ zero_amount_indicator: T['io.flow.fulfillment.v0.enums.zero_amount_indicator'],
12122
12234
  });
12123
12235
 
12124
- T['io.flow.v0.models.catalog_price_book_item_document'] = PropTypes.exact({
12125
- price_book_key: PropTypes.string.isRequired,
12126
- price_book_item_key: PropTypes.string.isRequired,
12127
- catalog: T['io.flow.v0.models.catalog_item_summary'].isRequired,
12128
- price: T['io.flow.v0.models.price'],
12236
+ T['io.flow.catalog.v0.models.localized_total'] = PropTypes.exact({
12237
+ key: PropTypes.oneOf(['localized_total']).isRequired,
12238
+ currency: PropTypes.string.isRequired,
12129
12239
  amount: PropTypes.number.isRequired,
12130
- starts_at: PropTypes.string.isRequired,
12131
- ends_at: PropTypes.string,
12132
- });
12133
-
12134
- T['io.flow.v0.models.amount_margin'] = PropTypes.exact({
12135
- discriminator: PropTypes.oneOf(['amount_margin']).isRequired,
12136
- margin: T['io.flow.v0.models.price'].isRequired,
12240
+ label: PropTypes.string.isRequired,
12241
+ base: T['io.flow.common.v0.models.price'].isRequired,
12137
12242
  });
12138
12243
 
12139
- T['io.flow.v0.unions.tier_rule_outcome'] = PropTypes.oneOfType([
12140
- T['io.flow.v0.models.amount_margin'],
12141
- T['io.flow.v0.models.at_cost'],
12142
- T['io.flow.v0.models.flat_rate'],
12143
- T['io.flow.v0.models.percent_margin'],
12244
+ T['io.flow.catalog.v0.unions.localized_price'] = PropTypes.oneOfType([
12245
+ T['io.flow.catalog.v0.models.localized_item_price'],
12246
+ T['io.flow.catalog.v0.models.localized_item_vat'],
12247
+ T['io.flow.catalog.v0.models.localized_item_duty'],
12248
+ T['io.flow.catalog.v0.models.localized_total'],
12144
12249
  ]);
12145
12250
 
12146
- T['io.flow.v0.models.tier_rule'] = PropTypes.exact({
12251
+ T['io.flow.fulfillment.v0.models.delivery_option_summary'] = PropTypes.exact({
12147
12252
  id: PropTypes.string.isRequired,
12148
- position: PropTypes.number.isRequired,
12149
- query: PropTypes.string.isRequired,
12150
- outcome: T['io.flow.v0.unions.tier_rule_outcome'].isRequired,
12253
+ cost: T['io.flow.common.v0.models.price'].isRequired,
12254
+ delivered_duty: T['io.flow.common.v0.enums.delivered_duty'].isRequired,
12255
+ price: T['io.flow.common.v0.models.price'].isRequired,
12256
+ service: T['io.flow.fulfillment.v0.models.service_reference'].isRequired,
12257
+ tier: T['io.flow.fulfillment.v0.models.tier_reference'].isRequired,
12258
+ window: T['io.flow.common.v0.models.datetime_range'].isRequired,
12151
12259
  });
12152
12260
 
12153
- T['io.flow.v0.models.tier_rule_version'] = PropTypes.exact({
12261
+ T['io.flow.fulfillment.v0.models.delivery_option_version'] = PropTypes.exact({
12154
12262
  id: PropTypes.string.isRequired,
12155
12263
  timestamp: PropTypes.string.isRequired,
12156
- type: T['io.flow.v0.enums.change_type'].isRequired,
12157
- tier_rule: T['io.flow.v0.models.tier_rule'].isRequired,
12264
+ type: T['io.flow.common.v0.enums.change_type'].isRequired,
12265
+ delivery_option: T['io.flow.fulfillment.v0.models.delivery_option_summary'].isRequired,
12158
12266
  });
12159
12267
 
12160
- T['io.flow.v0.models.localized_total'] = PropTypes.exact({
12161
- key: PropTypes.oneOf(['localized_total']).isRequired,
12268
+ T['io.flow.fulfillment.v0.models.delivery_option_cost_component'] = PropTypes.exact({
12269
+ key: T['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_component_key'].isRequired,
12162
12270
  currency: PropTypes.string.isRequired,
12163
12271
  amount: PropTypes.number.isRequired,
12164
12272
  label: PropTypes.string.isRequired,
12165
- base: T['io.flow.v0.models.price'].isRequired,
12273
+ base: T['io.flow.common.v0.models.price'],
12166
12274
  });
12167
12275
 
12168
- T['io.flow.v0.models.price_with_base'] = PropTypes.exact({
12276
+ T['io.flow.fulfillment.v0.models.delivery_option_cost_detail'] = PropTypes.exact({
12277
+ source: T['io.flow.fulfillment.v0.enums.delivery_option_cost_detail_source'].isRequired,
12278
+ ratecard_id: PropTypes.string,
12169
12279
  currency: PropTypes.string.isRequired,
12170
12280
  amount: PropTypes.number.isRequired,
12171
12281
  label: PropTypes.string.isRequired,
12172
- base: T['io.flow.v0.models.price'],
12282
+ base: T['io.flow.common.v0.models.price'],
12283
+ components: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_option_cost_component']).isRequired,
12173
12284
  });
12174
12285
 
12175
- T['io.flow.v0.models.shopify_order_price_attributes_metafield'] = PropTypes.exact({
12176
- item_number: PropTypes.string.isRequired,
12177
- price_attributes: PropTypes.objectOf(T['io.flow.v0.models.price_with_base']).isRequired,
12286
+ T['io.flow.fulfillment.v0.models.price_with_base_and_details'] = PropTypes.exact({
12287
+ currency: PropTypes.string.isRequired,
12288
+ amount: PropTypes.number.isRequired,
12289
+ label: PropTypes.string.isRequired,
12290
+ base: T['io.flow.common.v0.models.price'],
12291
+ details: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_option_cost_detail']),
12178
12292
  });
12179
12293
 
12180
- T['io.flow.v0.models.shopify_local_price_metadata'] = PropTypes.exact({
12181
- price: T['io.flow.v0.models.price_with_base'].isRequired,
12294
+ T['io.flow.fulfillment.v0.models.item_shipping_pricing'] = PropTypes.exact({
12295
+ min: T['io.flow.common.v0.models.price'].isRequired,
12296
+ max: T['io.flow.common.v0.models.price'],
12182
12297
  });
12183
12298
 
12184
- T['io.flow.v0.models.shopify_price'] = PropTypes.exact({
12185
- name: PropTypes.string.isRequired,
12186
- amount: PropTypes.number.isRequired,
12187
- cents: PropTypes.number.isRequired,
12188
- currency: PropTypes.string.isRequired,
12189
- label: PropTypes.string.isRequired,
12190
- includes: T['io.flow.v0.models.included_levies'],
12191
- local: T['io.flow.v0.models.shopify_local_price_metadata'],
12299
+ T['io.flow.fulfillment.v0.models.country_shipping_pricing'] = PropTypes.exact({
12300
+ pricing: T['io.flow.fulfillment.v0.models.item_shipping_pricing'].isRequired,
12301
+ countries: PropTypes.arrayOf(PropTypes.string).isRequired,
12192
12302
  });
12193
12303
 
12194
- T['io.flow.v0.models.shopify_localized_variant_prices'] = PropTypes.exact({
12195
- item: T['io.flow.v0.models.shopify_price'].isRequired,
12196
- compare_at: T['io.flow.v0.models.shopify_price'],
12197
- vat: T['io.flow.v0.models.shopify_price'],
12198
- duty: T['io.flow.v0.models.shopify_price'],
12304
+ T['io.flow.fulfillment.v0.models.shipping_configuration_item_shipping_pricing'] = PropTypes.exact({
12305
+ id: PropTypes.string.isRequired,
12306
+ item: T['io.flow.common.v0.models.item_reference'].isRequired,
12307
+ shipping_configuration: T['io.flow.fulfillment.v0.models.shipping_configuration_summary'].isRequired,
12308
+ country_shipping_pricings: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.country_shipping_pricing']).isRequired,
12199
12309
  });
12200
12310
 
12201
- T['io.flow.v0.models.shopify_localized_variant'] = PropTypes.exact({
12202
- id: PropTypes.number.isRequired,
12203
- handle: PropTypes.string.isRequired,
12204
- experience: T['io.flow.v0.models.experience_reference'].isRequired,
12205
- prices: T['io.flow.v0.models.shopify_localized_variant_prices'].isRequired,
12206
- status: T['io.flow.v0.enums.subcatalog_item_status'].isRequired,
12207
- inventory_status: T['io.flow.v0.enums.item_availability_status'],
12311
+ T['io.flow.fulfillment.v0.models.amount_margin'] = PropTypes.exact({
12312
+ discriminator: PropTypes.oneOf(['amount_margin']).isRequired,
12313
+ margin: T['io.flow.common.v0.models.price'].isRequired,
12208
12314
  });
12209
12315
 
12210
- T['io.flow.v0.models.shopify_local_cart_item_metadata'] = PropTypes.exact({
12211
- line_price: T['io.flow.v0.models.price_with_base'].isRequired,
12212
- price: T['io.flow.v0.models.price_with_base'].isRequired,
12316
+ T['io.flow.fulfillment.v0.unions.tier_rule_outcome'] = PropTypes.oneOfType([
12317
+ T['io.flow.fulfillment.v0.models.amount_margin'],
12318
+ T['io.flow.fulfillment.v0.models.at_cost'],
12319
+ T['io.flow.fulfillment.v0.models.flat_rate'],
12320
+ T['io.flow.fulfillment.v0.models.percent_margin'],
12321
+ ]);
12322
+
12323
+ T['io.flow.fulfillment.v0.models.tier_rule'] = PropTypes.exact({
12324
+ id: PropTypes.string.isRequired,
12325
+ position: PropTypes.number.isRequired,
12326
+ query: PropTypes.string.isRequired,
12327
+ outcome: T['io.flow.fulfillment.v0.unions.tier_rule_outcome'].isRequired,
12213
12328
  });
12214
12329
 
12215
- T['io.flow.v0.models.shopify_cart_item'] = PropTypes.exact({
12330
+ T['io.flow.fulfillment.v0.models.tier_rule_version'] = PropTypes.exact({
12216
12331
  id: PropTypes.string.isRequired,
12217
- handle: PropTypes.string.isRequired,
12218
- line_price: PropTypes.number.isRequired,
12219
- price: PropTypes.number.isRequired,
12220
- product_id: PropTypes.number.isRequired,
12221
- product_title: PropTypes.string.isRequired,
12222
- quantity: PropTypes.number.isRequired,
12223
- title: PropTypes.string.isRequired,
12224
- url: PropTypes.string.isRequired,
12225
- variant_id: PropTypes.number.isRequired,
12226
- local: T['io.flow.v0.models.shopify_local_cart_item_metadata'].isRequired,
12227
- gift_card: PropTypes.bool.isRequired,
12228
- image: PropTypes.string,
12229
- product_description: PropTypes.string,
12230
- product_type: PropTypes.string,
12231
- properties: PropTypes.objectOf(PropTypes.string),
12232
- requires_shipping: PropTypes.bool.isRequired,
12233
- sku: PropTypes.string,
12234
- variant_title: PropTypes.string,
12235
- variant_options: PropTypes.arrayOf(PropTypes.string),
12236
- vendor: PropTypes.string,
12332
+ timestamp: PropTypes.string.isRequired,
12333
+ type: T['io.flow.common.v0.enums.change_type'].isRequired,
12334
+ tier_rule: T['io.flow.fulfillment.v0.models.tier_rule'].isRequired,
12237
12335
  });
12238
12336
 
12239
- T['io.flow.v0.models.line'] = PropTypes.exact({
12240
- id: PropTypes.string,
12241
- item_number: PropTypes.string.isRequired,
12242
- quantity: PropTypes.number.isRequired,
12243
- price: T['io.flow.v0.models.price_with_base'].isRequired,
12244
- total: T['io.flow.v0.models.price_with_base'].isRequired,
12245
- attributes: PropTypes.objectOf(PropTypes.string),
12337
+ T['io.flow.fulfillment.v0.models.tier'] = PropTypes.exact({
12338
+ id: PropTypes.string.isRequired,
12339
+ direction: T['io.flow.fulfillment.v0.enums.lane_direction'].isRequired,
12340
+ integration: T['io.flow.fulfillment.v0.enums.shipment_integration_type'].isRequired,
12341
+ name: PropTypes.string.isRequired,
12342
+ message: PropTypes.string,
12343
+ rules: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.tier_rule']).isRequired,
12344
+ services: PropTypes.arrayOf(T['io.flow.reference.v0.models.carrier_service']).isRequired,
12345
+ strategy: T['io.flow.fulfillment.v0.enums.tier_strategy'].isRequired,
12346
+ visibility: T['io.flow.common.v0.enums.visibility'].isRequired,
12347
+ currency: PropTypes.string.isRequired,
12348
+ description: PropTypes.string,
12349
+ display: T['io.flow.fulfillment.v0.models.tier_display'],
12350
+ shipping_lane: PropTypes.string,
12351
+ surcharge_settings: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.surcharge_setting']),
12352
+ lane: T['io.flow.fulfillment.v0.models.shipping_lane_summary'],
12353
+ settings: T['io.flow.fulfillment.v0.models.tier_settings'],
12246
12354
  });
12247
12355
 
12248
- T['io.flow.v0.models.klaviyo_order_prices'] = PropTypes.exact({
12249
- subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
12250
- vat: T['io.flow.v0.models.price_with_base'],
12251
- duty: T['io.flow.v0.models.price_with_base'],
12252
- discount: T['io.flow.v0.models.price_with_base'],
12253
- shipping: T['io.flow.v0.models.price_with_base'],
12254
- insurance: T['io.flow.v0.models.price_with_base'],
12255
- total: T['io.flow.v0.models.price_with_base'].isRequired,
12356
+ T['io.flow.fulfillment.v0.models.shipping_lane'] = PropTypes.exact({
12357
+ id: PropTypes.string.isRequired,
12358
+ shipping_configuration: T['io.flow.fulfillment.v0.models.shipping_configuration_reference'].isRequired,
12359
+ region: PropTypes.string.isRequired,
12360
+ centers: PropTypes.arrayOf(T['io.flow.fulfillment.v0.unions.expandable_center']).isRequired,
12361
+ tiers: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.tier']).isRequired,
12362
+ query: T['io.flow.query.builder.v0.models.query'].isRequired,
12363
+ strategy: T['io.flow.fulfillment.v0.enums.lane_strategy'].isRequired,
12364
+ direction: T['io.flow.fulfillment.v0.enums.lane_direction'],
12365
+ preference: T['io.flow.fulfillment.v0.enums.lane_preselect_preference'],
12256
12366
  });
12257
12367
 
12258
- T['io.flow.v0.models.fulfillment_item_allocation_details'] = PropTypes.exact({
12259
- item_number: PropTypes.string.isRequired,
12260
- line_number: PropTypes.number.isRequired,
12261
- levies: T['io.flow.v0.models.price_with_base'].isRequired,
12262
- total: T['io.flow.v0.models.price_with_base'].isRequired,
12368
+ T['io.flow.fulfillment.v0.models.shipping_lane_version'] = PropTypes.exact({
12369
+ id: PropTypes.string.isRequired,
12370
+ timestamp: PropTypes.string.isRequired,
12371
+ type: T['io.flow.common.v0.enums.change_type'].isRequired,
12372
+ shipping_lane: T['io.flow.fulfillment.v0.models.shipping_lane'].isRequired,
12373
+ });
12374
+
12375
+ T['io.flow.fulfillment.v0.models.shipping_configuration'] = PropTypes.exact({
12376
+ id: PropTypes.string.isRequired,
12377
+ name: PropTypes.string.isRequired,
12378
+ key: PropTypes.string.isRequired,
12379
+ type: T['io.flow.fulfillment.v0.enums.shipping_configuration_type'].isRequired,
12380
+ shipping_lanes: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.shipping_lane']).isRequired,
12381
+ });
12382
+
12383
+ T['io.flow.fulfillment.v0.models.shipping_configuration_version'] = PropTypes.exact({
12384
+ id: PropTypes.string.isRequired,
12385
+ timestamp: PropTypes.string.isRequired,
12386
+ type: T['io.flow.common.v0.enums.change_type'].isRequired,
12387
+ shipping_configuration: T['io.flow.fulfillment.v0.models.shipping_configuration'].isRequired,
12388
+ });
12389
+
12390
+ T['io.flow.fulfillment.v0.models.delivery_option'] = PropTypes.exact({
12391
+ id: PropTypes.string.isRequired,
12392
+ cost: T['io.flow.fulfillment.v0.models.price_with_base_and_details'].isRequired,
12393
+ delivered_duty: T['io.flow.common.v0.enums.delivered_duty'].isRequired,
12394
+ price: T['io.flow.fulfillment.v0.models.price_with_base_and_details'].isRequired,
12395
+ service: T['io.flow.fulfillment.v0.models.service_summary'].isRequired,
12396
+ tier: T['io.flow.fulfillment.v0.models.tier_summary'].isRequired,
12397
+ window: T['io.flow.fulfillment.v0.models.delivery_window'].isRequired,
12398
+ rule_outcome: T['io.flow.fulfillment.v0.unions.tier_rule_outcome'],
12399
+ weight: T['io.flow.fulfillment.v0.models.option_weight_estimates'],
12400
+ send_to: T['io.flow.fulfillment.v0.models.shipping_address'],
12401
+ surcharge: T['io.flow.fulfillment.v0.models.price_with_base_and_details'],
12402
+ ratecard_owner: T['io.flow.fulfillment.v0.enums.ratecard_owner'],
12263
12403
  });
12264
12404
 
12265
- T['io.flow.v0.models.experience_price_facet_conversion'] = PropTypes.exact({
12266
- request: T['io.flow.v0.models.experience_price_facet_conversion_request'].isRequired,
12267
- price: T['io.flow.v0.models.price_with_base'].isRequired,
12405
+ T['io.flow.price.v0.models.price_book_item'] = PropTypes.exact({
12406
+ id: PropTypes.string.isRequired,
12407
+ key: PropTypes.string.isRequired,
12408
+ price_book: T['io.flow.price.v0.models.price_book_reference'].isRequired,
12409
+ price: T['io.flow.common.v0.models.price'].isRequired,
12410
+ item_number: PropTypes.string.isRequired,
12411
+ schedule: T['io.flow.price.v0.models.price_book_item_schedule'].isRequired,
12412
+ item_attributes: PropTypes.objectOf(PropTypes.string),
12268
12413
  });
12269
12414
 
12270
- T['io.flow.v0.models.experience_price_facet_conversion_response'] = PropTypes.exact({
12271
- facets: PropTypes.arrayOf(T['io.flow.v0.models.experience_price_facet_conversion']).isRequired,
12415
+ T['io.flow.price.v0.models.price_details'] = PropTypes.exact({
12416
+ currency: PropTypes.string.isRequired,
12417
+ item_price: T['io.flow.price.v0.models.price_detail'].isRequired,
12418
+ margins: T['io.flow.price.v0.models.price_detail'].isRequired,
12419
+ vat: T['io.flow.price.v0.models.price_detail'].isRequired,
12420
+ duty: T['io.flow.price.v0.models.price_detail'].isRequired,
12421
+ rounding: T['io.flow.price.v0.models.price_detail'].isRequired,
12422
+ price: T['io.flow.common.v0.models.price'].isRequired,
12423
+ total: T['io.flow.common.v0.models.price'].isRequired,
12424
+ adjustment: T['io.flow.price.v0.models.price_detail'],
12272
12425
  });
12273
12426
 
12274
- T['io.flow.v0.models.experience_price_conversion'] = PropTypes.exact({
12275
- request: T['io.flow.v0.models.experience_price_conversion_request'].isRequired,
12276
- price: T['io.flow.v0.models.price_with_base'].isRequired,
12427
+ T['io.flow.price.v0.models.local_price_details'] = PropTypes.exact({
12428
+ base: T['io.flow.price.v0.models.price_details'].isRequired,
12429
+ local: T['io.flow.price.v0.models.price_details'].isRequired,
12430
+ discount: T['io.flow.price.v0.models.price_detail'],
12431
+ local_before_discount: T['io.flow.price.v0.models.price_detail'],
12277
12432
  });
12278
12433
 
12279
- T['io.flow.v0.models.experience_price_conversion_response'] = PropTypes.exact({
12280
- prices: PropTypes.arrayOf(T['io.flow.v0.models.experience_price_conversion']).isRequired,
12434
+ T['io.flow.price.v0.models.price_check'] = PropTypes.exact({
12435
+ display: T['io.flow.price.v0.models.local_price_details'].isRequired,
12436
+ 'final': T['io.flow.price.v0.models.local_price_details'].isRequired,
12281
12437
  });
12282
12438
 
12283
- T['io.flow.v0.models.discount'] = PropTypes.exact({
12284
- discriminator: PropTypes.oneOf(['discount']).isRequired,
12285
- id: PropTypes.string.isRequired,
12286
- code: PropTypes.string,
12439
+ T['io.flow.common.v0.models.price_with_base'] = PropTypes.exact({
12440
+ currency: PropTypes.string.isRequired,
12441
+ amount: PropTypes.number.isRequired,
12287
12442
  label: PropTypes.string.isRequired,
12288
- price: T['io.flow.v0.models.price_with_base'].isRequired,
12289
- attributes: PropTypes.objectOf(PropTypes.string),
12290
- });
12291
-
12292
- T['io.flow.v0.unions.promotion'] = PropTypes.oneOfType([T['io.flow.v0.models.free_shipping'], T['io.flow.v0.models.discount']]);
12293
-
12294
- T['io.flow.v0.models.promotions'] = PropTypes.exact({
12295
- applied: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
12296
- available: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
12443
+ base: T['io.flow.common.v0.models.price'],
12297
12444
  });
12298
12445
 
12299
- T['io.flow.v0.models.shopify_local_cart_metadata'] = PropTypes.exact({
12300
- total_price: T['io.flow.v0.models.price_with_base'].isRequired,
12301
- promotions: T['io.flow.v0.models.promotions'].isRequired,
12302
- rules: T['io.flow.v0.models.order_rules_summary'],
12303
- subtotal: T['io.flow.v0.models.price_with_base'].isRequired,
12304
- vat: T['io.flow.v0.models.price_with_base'],
12305
- duty: T['io.flow.v0.models.price_with_base'],
12306
- discount: T['io.flow.v0.models.price_with_base'],
12446
+ T['io.flow.catalog.v0.models.local'] = PropTypes.exact({
12447
+ experience: T['io.flow.common.v0.models.experience_summary'].isRequired,
12448
+ prices: PropTypes.arrayOf(T['io.flow.catalog.v0.unions.localized_price']).isRequired,
12449
+ rates: PropTypes.arrayOf(T['io.flow.currency.v0.models.rate']).isRequired,
12450
+ spot_rates: PropTypes.arrayOf(PropTypes.object).isRequired,
12451
+ status: T['io.flow.catalog.v0.enums.subcatalog_item_status'].isRequired,
12452
+ attributes: PropTypes.objectOf(PropTypes.string),
12453
+ price_attributes: PropTypes.objectOf(T['io.flow.common.v0.models.price_with_base']),
12307
12454
  });
12308
12455
 
12309
- T['io.flow.v0.models.shopify_cart'] = PropTypes.exact({
12456
+ T['io.flow.catalog.v0.models.item'] = PropTypes.exact({
12310
12457
  id: PropTypes.string.isRequired,
12311
- items: PropTypes.arrayOf(T['io.flow.v0.models.shopify_cart_item']).isRequired,
12312
- item_count: PropTypes.number.isRequired,
12313
- total_price: PropTypes.number.isRequired,
12314
- local: T['io.flow.v0.models.shopify_local_cart_metadata'].isRequired,
12315
- attributes: PropTypes.object,
12316
- note: PropTypes.string,
12317
- requires_shipping: PropTypes.bool.isRequired,
12318
- total_weight: PropTypes.number,
12458
+ number: PropTypes.string.isRequired,
12459
+ locale: PropTypes.string.isRequired,
12460
+ name: PropTypes.string.isRequired,
12461
+ price: T['io.flow.common.v0.models.price'].isRequired,
12462
+ categories: PropTypes.arrayOf(PropTypes.string).isRequired,
12463
+ description: PropTypes.string,
12464
+ attributes: PropTypes.objectOf(PropTypes.string).isRequired,
12465
+ dimensions: T['io.flow.common.v0.models.dimensions'].isRequired,
12466
+ images: PropTypes.arrayOf(T['io.flow.catalog.v0.models.image']).isRequired,
12467
+ local: T['io.flow.catalog.v0.models.local'],
12468
+ created_at: PropTypes.string,
12469
+ updated_at: PropTypes.string,
12470
+ deleted_at: PropTypes.string,
12319
12471
  });
12320
12472
 
12321
- T['io.flow.v0.models.available_promotion'] = PropTypes.exact({
12473
+ T['io.flow.catalog.v0.models.subcatalog_item'] = PropTypes.exact({
12322
12474
  id: PropTypes.string.isRequired,
12323
- shipping_configuration: T['io.flow.v0.models.shipping_configuration_reference'].isRequired,
12324
- region: T['io.flow.v0.models.region_reference'].isRequired,
12325
- promotions: PropTypes.arrayOf(T['io.flow.v0.unions.promotion']).isRequired,
12475
+ item: T['io.flow.catalog.v0.models.item'].isRequired,
12476
+ status: T['io.flow.catalog.v0.enums.subcatalog_item_status'].isRequired,
12326
12477
  });
12327
12478
 
12328
- T['io.flow.v0.models.available_promotions_upserted_v2'] = PropTypes.exact({
12329
- discriminator: PropTypes.oneOf(['available_promotions_upserted_v2']).isRequired,
12330
- event_id: PropTypes.string.isRequired,
12479
+ T['io.flow.catalog.v0.models.subcatalog_item_version'] = PropTypes.exact({
12480
+ id: PropTypes.string.isRequired,
12331
12481
  timestamp: PropTypes.string.isRequired,
12332
- organization: PropTypes.string.isRequired,
12333
- available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
12482
+ type: T['io.flow.common.v0.enums.change_type'].isRequired,
12483
+ subcatalog_item: T['io.flow.catalog.v0.models.subcatalog_item'].isRequired,
12334
12484
  });
12335
12485
 
12336
- T['io.flow.v0.models.available_promotions_deleted_v2'] = PropTypes.exact({
12337
- discriminator: PropTypes.oneOf(['available_promotions_deleted_v2']).isRequired,
12338
- event_id: PropTypes.string.isRequired,
12486
+ T['io.flow.catalog.v0.models.item_version'] = PropTypes.exact({
12487
+ id: PropTypes.string.isRequired,
12339
12488
  timestamp: PropTypes.string.isRequired,
12340
- organization: PropTypes.string.isRequired,
12341
- available_promotion: T['io.flow.v0.models.available_promotion'].isRequired,
12489
+ type: T['io.flow.common.v0.enums.change_type'].isRequired,
12490
+ item: T['io.flow.catalog.v0.models.item'].isRequired,
12342
12491
  });
12343
12492
 
12344
- T['io.flow.v0.enums.order_price_detail_component_key'] = PropTypes.oneOf([
12345
- 'adjustment',
12346
- 'vat_deminimis',
12347
- 'duty_deminimis',
12348
- 'duties_item_price',
12349
- 'duties_freight',
12350
- 'duties_insurance',
12351
- 'vat_item_price',
12352
- 'vat_freight',
12353
- 'vat_insurance',
12354
- 'vat_duties_item_price',
12355
- 'vat_duties_freight',
12356
- 'vat_duties_insurance',
12357
- 'item_price',
12358
- 'item_discount',
12359
- 'rounding',
12360
- 'insurance',
12361
- 'shipping',
12362
- 'shipping_discount',
12363
- 'order_discount',
12364
- 'subtotal_percent_sales_margin',
12365
- 'subtotal_vat_percent_sales_margin',
12366
- 'subtotal_duty_percent_sales_margin',
12367
- 'vat_subsidy',
12368
- 'duty_subsidy',
12369
- 'remote_area_surcharge',
12370
- 'fuel_surcharge',
12371
- 'emergency_situation_surcharge',
12372
- 'peak_surcharge',
12373
- 'duties_taxes_paid_surcharge',
12374
- 'tip',
12375
- ]);
12376
-
12377
- T['io.flow.v0.models.order_price_detail_component'] = PropTypes.exact({
12378
- key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
12493
+ T['io.flow.order.price.v0.models.order_price_detail_component'] = PropTypes.exact({
12494
+ key: T['io.flow.order.price.v0.enums.order_price_detail_component_key'].isRequired,
12379
12495
  currency: PropTypes.string.isRequired,
12380
12496
  amount: PropTypes.number.isRequired,
12381
12497
  label: PropTypes.string.isRequired,
12382
- base: T['io.flow.v0.models.price'].isRequired,
12498
+ base: T['io.flow.common.v0.models.price'].isRequired,
12383
12499
  name: PropTypes.string,
12384
12500
  });
12385
12501
 
12386
- T['io.flow.v0.models.order_price_detail'] = PropTypes.exact({
12387
- key: T['io.flow.v0.enums.order_price_detail_key'].isRequired,
12502
+ T['io.flow.order.price.v0.models.order_price_detail'] = PropTypes.exact({
12503
+ key: T['io.flow.order.price.v0.enums.order_price_detail_key'].isRequired,
12388
12504
  currency: PropTypes.string.isRequired,
12389
12505
  amount: PropTypes.number.isRequired,
12390
12506
  label: PropTypes.string.isRequired,
12391
- base: T['io.flow.v0.models.price'].isRequired,
12392
- components: PropTypes.arrayOf(T['io.flow.v0.models.order_price_detail_component']).isRequired,
12507
+ base: T['io.flow.common.v0.models.price'].isRequired,
12508
+ components: PropTypes.arrayOf(T['io.flow.order.price.v0.models.order_price_detail_component']).isRequired,
12393
12509
  name: PropTypes.string,
12394
12510
  rate: PropTypes.number,
12395
- accuracy: T['io.flow.v0.enums.price_accuracy'],
12511
+ accuracy: T['io.flow.price.v0.enums.price_accuracy'],
12396
12512
  rate_label: PropTypes.string,
12397
12513
  });
12398
12514
 
12399
- T['io.flow.v0.models.allocation_detail_component'] = PropTypes.exact({
12400
- discriminator: PropTypes.oneOf(['allocation_detail_component']).isRequired,
12401
- key: T['io.flow.v0.enums.order_price_detail_component_key'].isRequired,
12402
- total: T['io.flow.v0.models.price_with_base'].isRequired,
12403
- price: T['io.flow.v0.models.price_with_base'],
12515
+ T['io.flow.fulfillment.v0.models.physical_delivery'] = PropTypes.exact({
12516
+ discriminator: PropTypes.oneOf(['physical_delivery']).isRequired,
12517
+ id: PropTypes.string.isRequired,
12518
+ key: PropTypes.string,
12519
+ center: T['io.flow.fulfillment.v0.models.center_summary'],
12520
+ fulfillment_routing: T['io.flow.fulfillment.v0.enums.fulfillment_routing'],
12521
+ ship_from_country: PropTypes.string,
12522
+ items: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_item']).isRequired,
12523
+ options: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_option']).isRequired,
12524
+ special_services: PropTypes.arrayOf(T['io.flow.fulfillment.v0.enums.physical_delivery_special_serivce']),
12525
+ prices: PropTypes.arrayOf(T['io.flow.order.price.v0.models.order_price_detail']),
12526
+ total: T['io.flow.catalog.v0.models.localized_total'],
12527
+ goods_supply: T['io.flow.common.v0.enums.goods_supply'],
12528
+ merchant_of_record_flow_entity: T['io.flow.merchant.of.record.v0.enums.flow_entity'],
12529
+ preferred_service: T['io.flow.fulfillment.v0.models.physical_delivery_preferred_service'],
12404
12530
  });
12405
12531
 
12406
- T['io.flow.v0.models.allocation_order_summary'] = PropTypes.exact({
12532
+ T['io.flow.fulfillment.v0.models.digital_delivery'] = PropTypes.exact({
12533
+ discriminator: PropTypes.oneOf(['digital_delivery']).isRequired,
12534
+ id: PropTypes.string.isRequired,
12535
+ key: PropTypes.string,
12536
+ items: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_item']).isRequired,
12537
+ prices: PropTypes.arrayOf(T['io.flow.order.price.v0.models.order_price_detail']),
12538
+ total: T['io.flow.catalog.v0.models.localized_total'],
12539
+ });
12540
+
12541
+ T['io.flow.fulfillment.v0.unions.delivery'] = PropTypes.oneOfType([
12542
+ T['io.flow.fulfillment.v0.models.digital_delivery'],
12543
+ T['io.flow.fulfillment.v0.models.physical_delivery'],
12544
+ ]);
12545
+
12546
+ T['io.flow.fulfillment.v0.models.quote'] = PropTypes.exact({
12547
+ id: PropTypes.string.isRequired,
12548
+ destination: T['io.flow.fulfillment.v0.models.shipping_address'].isRequired,
12549
+ deliveries: PropTypes.arrayOf(T['io.flow.fulfillment.v0.unions.delivery']).isRequired,
12550
+ selections: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.delivery_option_reference']).isRequired,
12551
+ delivered_duty: T['io.flow.common.v0.enums.delivered_duty'].isRequired,
12552
+ delivered_duties: PropTypes.arrayOf(T['io.flow.common.v0.enums.delivered_duty']).isRequired,
12553
+ });
12554
+
12555
+ T['io.flow.tech.onboarding.playground.v0.models.aldo_item'] = PropTypes.exact({
12407
12556
  id: PropTypes.string.isRequired,
12408
12557
  number: PropTypes.string.isRequired,
12409
- submitted_at: PropTypes.string,
12558
+ amount: T['io.flow.common.v0.models.price'].isRequired,
12559
+ description: PropTypes.string,
12560
+ type: T['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'].isRequired,
12561
+ added_on: PropTypes.string.isRequired,
12562
+ });
12563
+
12564
+ T['io.flow.v0.models.aldo_item_upserted'] = PropTypes.exact({
12565
+ discriminator: PropTypes.oneOf(['aldo_item_upserted']).isRequired,
12566
+ event_id: PropTypes.string.isRequired,
12567
+ timestamp: PropTypes.string.isRequired,
12568
+ item: T['io.flow.tech.onboarding.playground.v0.models.aldo_item'].isRequired,
12410
12569
  });
12411
12570
 
12412
12571
  T['io.flow.v0.models.adyen_challenge_shopper_data'] = PropTypes.exact({
@@ -15863,6 +16022,8 @@ T['io.flow.v0.models.label_deleted_v2'] = PropTypes.exact({
15863
16022
  T['io.flow.v0.unions.event'] = PropTypes.oneOfType([
15864
16023
  T['io.flow.v0.models.test_upserted'],
15865
16024
  T['io.flow.v0.models.generate_load'],
16025
+ T['io.flow.v0.models.aldo_item_upserted'],
16026
+ T['io.flow.v0.models.aldo_item_deleted'],
15866
16027
  T['io.flow.v0.models.transaction_upserted'],
15867
16028
  T['io.flow.v0.models.organization_transaction_upserted'],
15868
16029
  T['io.flow.v0.models.organization_transaction_deleted'],
@@ -16249,6 +16410,8 @@ T['io.flow.v0.enums.capability'] = PropTypes.oneOf(['crossdock']);
16249
16410
  T['io.flow.v0.enums.event_type'] = PropTypes.oneOf([
16250
16411
  'test_upserted',
16251
16412
  'generate_load',
16413
+ 'aldo_item_upserted',
16414
+ 'aldo_item_deleted',
16252
16415
  'transaction_upserted',
16253
16416
  'organization_transaction_upserted',
16254
16417
  'organization_transaction_deleted',
@@ -17389,10 +17552,6 @@ T['io.flow.common.v0.models.catalog_item_summary'] = PropTypes.exact({
17389
17552
  attributes: PropTypes.objectOf(PropTypes.string).isRequired,
17390
17553
  });
17391
17554
 
17392
- T['io.flow.common.v0.models.channel_reference'] = PropTypes.exact({
17393
- id: PropTypes.string.isRequired,
17394
- });
17395
-
17396
17555
  T['io.flow.common.v0.models.checkout_reference'] = PropTypes.exact({
17397
17556
  id: PropTypes.string.isRequired,
17398
17557
  });
@@ -17428,6 +17587,39 @@ T['io.flow.common.v0.models.zone'] = PropTypes.exact({
17428
17587
  country: PropTypes.string.isRequired,
17429
17588
  });
17430
17589
 
17590
+ T['io.flow.token.v0.models.channel_token_form'] = PropTypes.exact({
17591
+ channel_id: PropTypes.string.isRequired,
17592
+ description: PropTypes.string,
17593
+ });
17594
+
17595
+ T['io.flow.token.v0.models.cleartext'] = PropTypes.exact({
17596
+ value: PropTypes.string.isRequired,
17597
+ });
17598
+
17599
+ T['io.flow.token.v0.models.organization_token_form_v2'] = PropTypes.exact({
17600
+ organization_id: PropTypes.string.isRequired,
17601
+ description: PropTypes.string,
17602
+ });
17603
+
17604
+ T['io.flow.token.v0.models.token_authentication_form'] = PropTypes.exact({
17605
+ token: PropTypes.string.isRequired,
17606
+ });
17607
+
17608
+ T['io.flow.token.v0.models.token_rbac_authentication_form'] = PropTypes.exact({
17609
+ token: PropTypes.string.isRequired,
17610
+ method: PropTypes.string.isRequired,
17611
+ path_pattern: PropTypes.string.isRequired,
17612
+ path: PropTypes.string.isRequired,
17613
+ });
17614
+
17615
+ T['io.flow.token.v0.models.token_validation'] = PropTypes.exact({
17616
+ status: PropTypes.string.isRequired,
17617
+ });
17618
+
17619
+ T['io.flow.token.v0.models.token_validation_form'] = PropTypes.exact({
17620
+ token: PropTypes.string.isRequired,
17621
+ });
17622
+
17431
17623
  T['io.flow.price.v0.enums.levy_strategy'] = PropTypes.oneOf(['minimum', 'average', 'maximum']);
17432
17624
  T['io.flow.reference.v0.enums.postal_type'] = PropTypes.oneOf(['eircode', 'pin', 'postal', 'zip']);
17433
17625
 
@@ -17499,6 +17691,15 @@ T['io.flow.apple.pay.v0.models.apple_pay_payment_data'] = PropTypes.exact({
17499
17691
 
17500
17692
  T['io.flow.merchant.of.record.v0.enums.economic_title_location'] = PropTypes.oneOf(['high_seas', 'origination', 'destination']);
17501
17693
 
17694
+ T['io.flow.tech.onboarding.playground.v0.models.jean_demo_item'] = PropTypes.exact({
17695
+ id: PropTypes.string.isRequired,
17696
+ name: PropTypes.string.isRequired,
17697
+ });
17698
+
17699
+ T['io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description'] = PropTypes.exact({
17700
+ description: PropTypes.string.isRequired,
17701
+ });
17702
+
17502
17703
  T['io.flow.currency.v0.models.rate_form'] = PropTypes.exact({
17503
17704
  base: PropTypes.string.isRequired,
17504
17705
  target: PropTypes.string.isRequired,
@@ -17597,6 +17798,8 @@ export const adyenNativeActionDetails = T['io.flow.v0.models.adyen_native_action
17597
17798
  export const adyenNativeData = T['io.flow.v0.unions.adyen_native_data'];
17598
17799
  export const adyenV3ChallengeToken = T['io.flow.v0.models.adyen_v3_challenge_token'];
17599
17800
  export const adyenV3FingerprintToken = T['io.flow.v0.models.adyen_v3_fingerprint_token'];
17801
+ export const aldoItemDeleted = T['io.flow.v0.models.aldo_item_deleted'];
17802
+ export const aldoItemUpserted = T['io.flow.v0.models.aldo_item_upserted'];
17600
17803
  export const allocation = T['io.flow.v0.models.allocation'];
17601
17804
  export const allocationComponent = T['io.flow.v0.unions.allocation_component'];
17602
17805
  export const allocationDeletedV2 = T['io.flow.v0.models.allocation_deleted_v2'];
@@ -18794,10 +18997,13 @@ export const pricingSettings = T['io.flow.v0.models.pricing_settings'];
18794
18997
  export const pricingUpserted = T['io.flow.v0.models.pricing_upserted'];
18795
18998
  export const pricingVersion = T['io.flow.v0.models.pricing_version'];
18796
18999
  export const processingEstimate = T['io.flow.v0.models.processing_estimate'];
19000
+ export const product = T['io.flow.v0.models.product'];
18797
19001
  export const productRestrictionResult = T['io.flow.v0.models.product_restriction_result'];
18798
19002
  export const productRestrictionResultDeleted = T['io.flow.v0.models.product_restriction_result_deleted'];
18799
19003
  export const productRestrictionResultUpserted = T['io.flow.v0.models.product_restriction_result_upserted'];
18800
19004
  export const productRestrictionRule = T['io.flow.v0.enums.product_restriction_rule'];
19005
+ export const productTaxonomyCategory = T['io.flow.v0.models.product_taxonomy_category'];
19006
+ export const productTaxonomyData = T['io.flow.v0.models.product_taxonomy_data'];
18801
19007
  export const promotion = T['io.flow.v0.unions.promotion'];
18802
19008
  export const promotionTrigger = T['io.flow.v0.models.promotion_trigger'];
18803
19009
  export const promotionTriggerForm = T['io.flow.v0.models.promotion_trigger_form'];