@flowio/api-prop-types 10.16.93 → 10.16.95

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
@@ -1,5 +1,16 @@
1
1
  import PropTypes from 'prop-types';
2
2
  const T = {};
3
+ T['io.flow.sellability.v0.enums.sellability_error_code'] = PropTypes.oneOf(['insufficient_details', 'ineligible_category']);
4
+
5
+ T['io.flow.sellability.v0.models.sellability_error'] = PropTypes.exact({
6
+ code: T['io.flow.sellability.v0.enums.sellability_error_code'].isRequired,
7
+ messages: PropTypes.arrayOf(PropTypes.string).isRequired,
8
+ });
9
+
10
+ T['io.flow.sellability.v0.models.product_sellability_price'] = PropTypes.exact({
11
+ currency: PropTypes.string.isRequired,
12
+ amount: PropTypes.number.isRequired,
13
+ });
3
14
 
4
15
  T['io.flow.query.builder.v0.models.query_builder_query_form'] = PropTypes.exact({
5
16
  discriminator: PropTypes.oneOf(['query']).isRequired,
@@ -255,6 +266,14 @@ T['io.flow.catalog.v0.models.subcatalog_settings'] = PropTypes.exact({
255
266
  update_policy: T['io.flow.catalog.v0.enums.update_policy'].isRequired,
256
267
  });
257
268
 
269
+ T['io.flow.currency.v0.models.rate'] = PropTypes.exact({
270
+ id: PropTypes.string.isRequired,
271
+ base: PropTypes.string.isRequired,
272
+ target: PropTypes.string.isRequired,
273
+ effective_at: PropTypes.string.isRequired,
274
+ value: PropTypes.number.isRequired,
275
+ });
276
+
258
277
  T['io.flow.common.v0.models.experience_summary'] = PropTypes.exact({
259
278
  id: PropTypes.string.isRequired,
260
279
  key: PropTypes.string.isRequired,
@@ -582,14 +601,6 @@ T['io.flow.organization.v0.models.country_picker'] = PropTypes.exact({
582
601
  source: T['io.flow.organization.v0.enums.country_picker_source'].isRequired,
583
602
  });
584
603
 
585
- T['io.flow.currency.v0.models.rate'] = PropTypes.exact({
586
- id: PropTypes.string.isRequired,
587
- base: PropTypes.string.isRequired,
588
- target: PropTypes.string.isRequired,
589
- effective_at: PropTypes.string.isRequired,
590
- value: PropTypes.number.isRequired,
591
- });
592
-
593
604
  T['io.flow.apple.pay.v0.enums.apple_pay_line_item_type'] = PropTypes.oneOf(['final', 'pending']);
594
605
 
595
606
  T['io.flow.fulfillment.v0.models.service_unknown'] = PropTypes.exact({
@@ -858,6 +869,13 @@ T['io.flow.fulfillment.v0.models.shipping_configuration_item_availability'] = Pr
858
869
 
859
870
  T['io.flow.common.v0.enums.change_type'] = PropTypes.oneOf(['insert', 'update', 'delete']);
860
871
 
872
+ T['io.flow.currency.v0.models.rate_version'] = PropTypes.exact({
873
+ id: PropTypes.string.isRequired,
874
+ timestamp: PropTypes.string.isRequired,
875
+ type: T['io.flow.common.v0.enums.change_type'].isRequired,
876
+ rate: T['io.flow.currency.v0.models.rate'].isRequired,
877
+ });
878
+
861
879
  T['io.flow.inventory.v0.models.inventory_update_version'] = PropTypes.exact({
862
880
  id: PropTypes.string.isRequired,
863
881
  timestamp: PropTypes.string.isRequired,
@@ -900,13 +918,6 @@ T['io.flow.catalog.v0.models.attribute_version'] = PropTypes.exact({
900
918
  attribute: T['io.flow.catalog.v0.models.attribute'].isRequired,
901
919
  });
902
920
 
903
- T['io.flow.currency.v0.models.rate_version'] = PropTypes.exact({
904
- id: PropTypes.string.isRequired,
905
- timestamp: PropTypes.string.isRequired,
906
- type: T['io.flow.common.v0.enums.change_type'].isRequired,
907
- rate: T['io.flow.currency.v0.models.rate'].isRequired,
908
- });
909
-
910
921
  T['io.flow.fulfillment.v0.models.tier_version'] = PropTypes.exact({
911
922
  id: PropTypes.string.isRequired,
912
923
  timestamp: PropTypes.string.isRequired,
@@ -1844,6 +1855,9 @@ T['io.flow.common.v0.enums.unit_of_measurement'] = PropTypes.oneOf([
1844
1855
  'inch',
1845
1856
  'foot',
1846
1857
  'cubic_inch',
1858
+ 'cubic_foot',
1859
+ 'cubic_millimeter',
1860
+ 'cubic_centimeter',
1847
1861
  'cubic_meter',
1848
1862
  'gram',
1849
1863
  'kilogram',
@@ -2773,6 +2787,16 @@ T['io.flow.product.v0.models.product_taxonomy_category'] = PropTypes.exact({
2773
2787
  full_name: PropTypes.string.isRequired,
2774
2788
  });
2775
2789
 
2790
+ T['io.flow.sellability.v0.models.product_sellability_form'] = PropTypes.exact({
2791
+ shop_id: PropTypes.string.isRequired,
2792
+ product_id: PropTypes.string,
2793
+ request_id: PropTypes.string.isRequired,
2794
+ name: PropTypes.string.isRequired,
2795
+ price: T['io.flow.sellability.v0.models.product_sellability_price'].isRequired,
2796
+ description: PropTypes.string.isRequired,
2797
+ taxonomy_category: T['io.flow.product.v0.models.product_taxonomy_category'].isRequired,
2798
+ });
2799
+
2776
2800
  T['io.flow.product.v0.models.product'] = PropTypes.exact({
2777
2801
  organization_id: PropTypes.string.isRequired,
2778
2802
  number: PropTypes.string.isRequired,
@@ -2989,6 +3013,17 @@ T['io.flow.shopify.external.v0.models.graphql_product_image'] = PropTypes.exact(
2989
3013
  altText: PropTypes.string,
2990
3014
  });
2991
3015
 
3016
+ T['io.flow.shopify.external.v0.models.graphql_metaobject_field'] = PropTypes.exact({
3017
+ key: PropTypes.string.isRequired,
3018
+ value: PropTypes.string,
3019
+ });
3020
+
3021
+ T['io.flow.shopify.external.v0.models.graphql_metaobject'] = PropTypes.exact({
3022
+ id: PropTypes.string.isRequired,
3023
+ displayName: PropTypes.string.isRequired,
3024
+ fields: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.graphql_metaobject_field']).isRequired,
3025
+ });
3026
+
2992
3027
  T['io.flow.shopify.external.v0.enums.graphql_weight_unit'] = PropTypes.oneOf(['GRAMS', 'KILOGRAMS', 'OUNCES', 'POUNDS']);
2993
3028
 
2994
3029
  T['io.flow.shopify.external.v0.models.graphql_weight'] = PropTypes.exact({
@@ -3974,23 +4009,6 @@ T['io.flow.stripe.v0.enums.dispute_status'] = PropTypes.oneOf([
3974
4009
  'lost',
3975
4010
  ]);
3976
4011
 
3977
- T['io.flow.stripe.v0.enums.dispute_reason'] = PropTypes.oneOf([
3978
- 'bank_cannot_process',
3979
- 'check_returned',
3980
- 'credit_not_processed',
3981
- 'customer_initiated',
3982
- 'debit_not_authorized',
3983
- 'duplicate',
3984
- 'fraudulent',
3985
- 'general',
3986
- 'incorrect_account_details',
3987
- 'insufficient_funds',
3988
- 'product_not_received',
3989
- 'product_unacceptable',
3990
- 'subscription_canceled',
3991
- 'unrecognized',
3992
- ]);
3993
-
3994
4012
  T['io.flow.stripe.v0.models.dispute_evidence'] = PropTypes.exact({
3995
4013
  access_activity_log: PropTypes.string,
3996
4014
  billing_address: PropTypes.string,
@@ -4021,6 +4039,48 @@ T['io.flow.stripe.v0.models.dispute_evidence'] = PropTypes.exact({
4021
4039
  uncategorized_text: PropTypes.string,
4022
4040
  });
4023
4041
 
4042
+ T['io.flow.stripe.v0.enums.connect_report_transfer_type'] = PropTypes.oneOf([
4043
+ 'ManagedMarketsRefundDebit',
4044
+ 'ManagedMarketsDutiesAndTaxesAdjustmentDebit',
4045
+ 'ManagedMarketsDisputedAmountDebit',
4046
+ ]);
4047
+
4048
+ T['io.flow.stripe.v0.enums.connect_report_shop_plan'] = PropTypes.oneOf(['shopify_plus', 'standard']);
4049
+
4050
+ T['io.flow.stripe.v0.models.connect_report_record_payment_metadata'] = PropTypes.exact({
4051
+ shop_id: PropTypes.number,
4052
+ shop_plan: T['io.flow.stripe.v0.enums.connect_report_shop_plan'],
4053
+ checkout_id: PropTypes.string,
4054
+ order_id: PropTypes.number,
4055
+ order_transaction_id: PropTypes.number,
4056
+ transfer_type: T['io.flow.stripe.v0.enums.connect_report_transfer_type'],
4057
+ transfer_exchange_rate: PropTypes.number,
4058
+ charge_total: PropTypes.number,
4059
+ charge_currency: PropTypes.string,
4060
+ charge_exchange_rate: PropTypes.number,
4061
+ duties: PropTypes.number,
4062
+ import_taxes: PropTypes.number,
4063
+ mor_fee: PropTypes.number,
4064
+ fx_fee: PropTypes.number,
4065
+ });
4066
+
4067
+ T['io.flow.stripe.v0.enums.dispute_reason'] = PropTypes.oneOf([
4068
+ 'bank_cannot_process',
4069
+ 'check_returned',
4070
+ 'credit_not_processed',
4071
+ 'customer_initiated',
4072
+ 'debit_not_authorized',
4073
+ 'duplicate',
4074
+ 'fraudulent',
4075
+ 'general',
4076
+ 'incorrect_account_details',
4077
+ 'insufficient_funds',
4078
+ 'product_not_received',
4079
+ 'product_unacceptable',
4080
+ 'subscription_canceled',
4081
+ 'unrecognized',
4082
+ ]);
4083
+
4024
4084
  T['io.flow.stripe.v0.models.dispute'] = PropTypes.exact({
4025
4085
  id: PropTypes.string.isRequired,
4026
4086
  amount: PropTypes.number.isRequired,
@@ -4058,6 +4118,31 @@ T['io.flow.stripe.v0.models.stripe_dispute_event'] = PropTypes.exact({
4058
4118
  pending_webhooks: PropTypes.number.isRequired,
4059
4119
  });
4060
4120
 
4121
+ T['io.flow.stripe.v0.enums.connect_report_reporting_category'] = PropTypes.oneOf(['charge', 'refund', 'payout_reversal', 'transfer', 'transfer_reversal']);
4122
+
4123
+ T['io.flow.stripe.v0.models.connect_report_record'] = PropTypes.exact({
4124
+ created_utc: PropTypes.string.isRequired,
4125
+ charge_id: PropTypes.string,
4126
+ payment_intent_id: PropTypes.string,
4127
+ gross: PropTypes.number.isRequired,
4128
+ fee: PropTypes.number.isRequired,
4129
+ net: PropTypes.number.isRequired,
4130
+ currency: PropTypes.string.isRequired,
4131
+ connected_account: PropTypes.string.isRequired,
4132
+ reporting_category: T['io.flow.stripe.v0.enums.connect_report_reporting_category'].isRequired,
4133
+ dispute_reason: T['io.flow.stripe.v0.enums.dispute_reason'],
4134
+ available_on_utc: PropTypes.string.isRequired,
4135
+ automatic_payout_effective_at_utc: PropTypes.string,
4136
+ source_id: PropTypes.string,
4137
+ customer_facing_amount: PropTypes.number,
4138
+ customer_facing_currency: PropTypes.string,
4139
+ payment_method_type: PropTypes.string,
4140
+ card_brand: PropTypes.string,
4141
+ statement_descriptor: PropTypes.string,
4142
+ payment_metadata: T['io.flow.stripe.v0.models.connect_report_record_payment_metadata'],
4143
+ transfer_metadata: PropTypes.object,
4144
+ });
4145
+
4061
4146
  T['io.flow.stripe.v0.enums.code_verification_status'] = PropTypes.oneOf(['pending', 'succeeded', 'failed']);
4062
4147
 
4063
4148
  T['io.flow.stripe.v0.models.transfer_data'] = PropTypes.exact({
@@ -4427,6 +4512,19 @@ T['io.flow.stripe.v0.models.payment_method'] = PropTypes.exact({
4427
4512
  type: PropTypes.string,
4428
4513
  });
4429
4514
 
4515
+ T['io.flow.stripe.v0.enums.capability_status'] = PropTypes.oneOf(['active', 'disabled', 'inactive', 'pending', 'unrequested']);
4516
+
4517
+ T['io.flow.stripe.v0.models.capability'] = PropTypes.exact({
4518
+ id: PropTypes.string.isRequired,
4519
+ account: PropTypes.string.isRequired,
4520
+ requested: PropTypes.bool.isRequired,
4521
+ requirements: PropTypes.object.isRequired,
4522
+ status: T['io.flow.stripe.v0.enums.capability_status'].isRequired,
4523
+ object: PropTypes.string.isRequired,
4524
+ future_requirements: PropTypes.object.isRequired,
4525
+ requested_at: PropTypes.number,
4526
+ });
4527
+
4430
4528
  T['io.flow.stripe.v0.enums.apple_pay_type'] = PropTypes.oneOf(['apple_pay', 'apple_pay_later']);
4431
4529
 
4432
4530
  T['io.flow.stripe.v0.models.apple_pay_information'] = PropTypes.exact({
@@ -5076,6 +5174,14 @@ T['io.flow.v0.models.payment_request_deleted'] = PropTypes.exact({
5076
5174
  id: PropTypes.string.isRequired,
5077
5175
  });
5078
5176
 
5177
+ T['io.flow.v0.models.authorization_retry_deleted'] = PropTypes.exact({
5178
+ discriminator: PropTypes.oneOf(['authorization_retry_deleted']).isRequired,
5179
+ event_id: PropTypes.string.isRequired,
5180
+ timestamp: PropTypes.string.isRequired,
5181
+ organization: PropTypes.string.isRequired,
5182
+ id: PropTypes.string.isRequired,
5183
+ });
5184
+
5079
5185
  T['io.flow.v0.models.virtual_card_refund_deleted'] = PropTypes.exact({
5080
5186
  discriminator: PropTypes.oneOf(['virtual_card_refund_deleted']).isRequired,
5081
5187
  event_id: PropTypes.string.isRequired,
@@ -5139,22 +5245,6 @@ T['io.flow.v0.models.organization_upserted'] = PropTypes.exact({
5139
5245
  default_timezone: PropTypes.string,
5140
5246
  });
5141
5247
 
5142
- T['io.flow.v0.models.browse_optin_responses_deleted'] = PropTypes.exact({
5143
- discriminator: PropTypes.oneOf(['browse_optin_responses_deleted']).isRequired,
5144
- event_id: PropTypes.string.isRequired,
5145
- timestamp: PropTypes.string.isRequired,
5146
- organization: PropTypes.string.isRequired,
5147
- id: PropTypes.string.isRequired,
5148
- });
5149
-
5150
- T['io.flow.v0.models.checkout_optin_responses_deleted'] = PropTypes.exact({
5151
- discriminator: PropTypes.oneOf(['checkout_optin_responses_deleted']).isRequired,
5152
- event_id: PropTypes.string.isRequired,
5153
- timestamp: PropTypes.string.isRequired,
5154
- organization: PropTypes.string.isRequired,
5155
- id: PropTypes.string.isRequired,
5156
- });
5157
-
5158
5248
  T['io.flow.v0.models.label_processing_modification_deleted'] = PropTypes.exact({
5159
5249
  discriminator: PropTypes.oneOf(['label_processing_modification_deleted']).isRequired,
5160
5250
  event_id: PropTypes.string.isRequired,
@@ -5240,14 +5330,6 @@ T['io.flow.v0.models.hs6_code_upserted'] = PropTypes.exact({
5240
5330
  code: PropTypes.string.isRequired,
5241
5331
  });
5242
5332
 
5243
- T['io.flow.v0.models.ge_product_restriction_result_deleted'] = PropTypes.exact({
5244
- discriminator: PropTypes.oneOf(['ge_product_restriction_result_deleted']).isRequired,
5245
- event_id: PropTypes.string.isRequired,
5246
- timestamp: PropTypes.string.isRequired,
5247
- organization: PropTypes.string.isRequired,
5248
- id: PropTypes.string.isRequired,
5249
- });
5250
-
5251
5333
  T['io.flow.v0.models.shipping_configuration_deleted'] = PropTypes.exact({
5252
5334
  discriminator: PropTypes.oneOf(['shipping_configuration_deleted']).isRequired,
5253
5335
  event_id: PropTypes.string.isRequired,
@@ -5632,14 +5714,6 @@ T['io.flow.v0.models.generate_load'] = PropTypes.exact({
5632
5714
  num_tests: PropTypes.number.isRequired,
5633
5715
  });
5634
5716
 
5635
- T['io.flow.v0.models.authorization_retry_deleted'] = PropTypes.exact({
5636
- discriminator: PropTypes.oneOf(['authorization_retry_deleted']).isRequired,
5637
- event_id: PropTypes.string.isRequired,
5638
- timestamp: PropTypes.string.isRequired,
5639
- organization: PropTypes.string.isRequired,
5640
- id: PropTypes.string.isRequired,
5641
- });
5642
-
5643
5717
  T['io.flow.v0.models.bank_account_form_simple'] = PropTypes.exact({
5644
5718
  discriminator: PropTypes.oneOf(['simple']).isRequired,
5645
5719
  routing_number: PropTypes.string.isRequired,
@@ -6368,6 +6442,7 @@ T['io.flow.v0.models.query_filter_structured'] = PropTypes.exact({
6368
6442
  values: PropTypes.arrayOf(PropTypes.string).isRequired,
6369
6443
  });
6370
6444
 
6445
+ T['io.flow.sellability.v0.enums.rule_effect_type'] = PropTypes.oneOf(['market', 'dhl', 'dhl_ecommerce', 'ups']);
6371
6446
  T['io.flow.v0.enums.restricted_review_status'] = PropTypes.oneOf(['in_review', 'reviewed']);
6372
6447
 
6373
6448
  T['io.flow.v0.models.product_taxonomy_data'] = PropTypes.exact({
@@ -7240,7 +7315,7 @@ T['io.flow.v0.models.order_rules_summary'] = PropTypes.exact({
7240
7315
  applied: PropTypes.arrayOf(T['io.flow.v0.models.order_rule_reference']).isRequired,
7241
7316
  });
7242
7317
 
7243
- T['io.flow.v0.enums.order_type'] = PropTypes.oneOf(['standard', 'replacement']);
7318
+ T['io.flow.v0.enums.order_type'] = PropTypes.oneOf(['standard', 'replacement', 'edit']);
7244
7319
 
7245
7320
  T['io.flow.v0.models.direct_debit'] = PropTypes.exact({
7246
7321
  discriminator: PropTypes.oneOf(['direct_debit']).isRequired,
@@ -7851,6 +7926,19 @@ T['io.flow.v0.models.harmonization_document'] = PropTypes.exact({
7851
7926
  origin: PropTypes.string,
7852
7927
  });
7853
7928
 
7929
+ T['io.flow.sellability.v0.models.sellablility_region_result'] = PropTypes.exact({
7930
+ type: T['io.flow.sellability.v0.enums.rule_effect_type'].isRequired,
7931
+ regions: PropTypes.arrayOf(PropTypes.string).isRequired,
7932
+ });
7933
+
7934
+ T['io.flow.sellability.v0.models.product_sellability'] = PropTypes.exact({
7935
+ shop_id: PropTypes.string.isRequired,
7936
+ product_id: PropTypes.string,
7937
+ request_id: PropTypes.string.isRequired,
7938
+ hs6_code: PropTypes.string.isRequired,
7939
+ restricted_regions: PropTypes.arrayOf(T['io.flow.sellability.v0.models.sellablility_region_result']).isRequired,
7940
+ });
7941
+
7854
7942
  T['io.flow.v0.enums.product_restriction_rule'] = PropTypes.oneOf([
7855
7943
  'Adult Products',
7856
7944
  'Alcohol',
@@ -7903,6 +7991,7 @@ T['io.flow.v0.models.product_restriction_result'] = PropTypes.exact({
7903
7991
  updated_by: PropTypes.string,
7904
7992
  product_restriction_id: PropTypes.string,
7905
7993
  hs_code: PropTypes.string,
7994
+ restricted_regions_by_type: PropTypes.arrayOf(T['io.flow.sellability.v0.models.sellablility_region_result']),
7906
7995
  });
7907
7996
 
7908
7997
  T['io.flow.v0.models.product_restriction_result_upserted'] = PropTypes.exact({
@@ -7913,14 +8002,75 @@ T['io.flow.v0.models.product_restriction_result_upserted'] = PropTypes.exact({
7913
8002
  product_restriction_result: T['io.flow.v0.models.product_restriction_result'].isRequired,
7914
8003
  });
7915
8004
 
7916
- T['io.flow.v0.models.ge_product_restriction_result_upserted'] = PropTypes.exact({
7917
- discriminator: PropTypes.oneOf(['ge_product_restriction_result_upserted']).isRequired,
8005
+ T['io.flow.v0.models.ge_input_attributes'] = PropTypes.exact({
8006
+ country_of_origin: PropTypes.string.isRequired,
8007
+ ge_hs6_code: PropTypes.string.isRequired,
8008
+ product_id: PropTypes.string.isRequired,
8009
+ });
8010
+
8011
+ T['io.flow.v0.models.ge_input_price'] = PropTypes.exact({
8012
+ amount: PropTypes.number.isRequired,
8013
+ currency: PropTypes.string.isRequired,
8014
+ label: PropTypes.string.isRequired,
8015
+ });
8016
+
8017
+ T['io.flow.v0.models.ge_catalog_item_input'] = PropTypes.exact({
7918
8018
  event_id: PropTypes.string.isRequired,
7919
- timestamp: PropTypes.string.isRequired,
8019
+ number: PropTypes.string.isRequired,
8020
+ organization_id: PropTypes.string.isRequired,
8021
+ name: PropTypes.string.isRequired,
8022
+ description: PropTypes.string.isRequired,
8023
+ price: T['io.flow.v0.models.ge_input_price'].isRequired,
8024
+ attributes: T['io.flow.v0.models.ge_input_attributes'].isRequired,
8025
+ locale: PropTypes.string.isRequired,
8026
+ id: PropTypes.string.isRequired,
8027
+ categories: PropTypes.arrayOf(PropTypes.string).isRequired,
8028
+ created_at: PropTypes.string.isRequired,
8029
+ updated_at: PropTypes.string.isRequired,
8030
+ images: PropTypes.arrayOf(PropTypes.string).isRequired,
8031
+ });
8032
+
8033
+ T['io.flow.v0.enums.ge_catalog_item_ingestion_response'] = PropTypes.oneOf(['ge_catalog_item_ingestion_success', 'ge_catalog_item_ingestion_failure']);
8034
+ T['io.flow.v0.enums.ge_environment'] = PropTypes.oneOf(['production', 'sandbox']);
8035
+ T['io.flow.v0.enums.ge_event_type'] = PropTypes.oneOf(['restriction_result', 'ingestion_result']);
8036
+
8037
+ T['io.flow.v0.models.ge_product_restriction_result_upsert'] = PropTypes.exact({
8038
+ discriminator: PropTypes.oneOf(['ge_product_restriction_result_upsert']).isRequired,
7920
8039
  organization: PropTypes.string.isRequired,
8040
+ event_id: PropTypes.string.isRequired,
8041
+ event_type: T['io.flow.v0.enums.ge_event_type'].isRequired,
8042
+ environment: T['io.flow.v0.enums.ge_environment'].isRequired,
8043
+ timestamp: PropTypes.string.isRequired,
7921
8044
  ge_product_restriction_result: T['io.flow.v0.models.product_restriction_result'].isRequired,
7922
8045
  });
7923
8046
 
8047
+ T['io.flow.v0.models.ge_product_restriction_result_delete'] = PropTypes.exact({
8048
+ discriminator: PropTypes.oneOf(['ge_product_restriction_result_delete']).isRequired,
8049
+ organization: PropTypes.string.isRequired,
8050
+ event_id: PropTypes.string.isRequired,
8051
+ event_type: T['io.flow.v0.enums.ge_event_type'].isRequired,
8052
+ environment: T['io.flow.v0.enums.ge_environment'].isRequired,
8053
+ timestamp: PropTypes.string.isRequired,
8054
+ id: PropTypes.string.isRequired,
8055
+ });
8056
+
8057
+ T['io.flow.v0.models.ge_catalog_item_ingestion_result'] = PropTypes.exact({
8058
+ discriminator: PropTypes.oneOf(['ge_catalog_item_ingestion_result']).isRequired,
8059
+ event_id: PropTypes.string.isRequired,
8060
+ event_type: T['io.flow.v0.enums.ge_event_type'].isRequired,
8061
+ environment: T['io.flow.v0.enums.ge_environment'].isRequired,
8062
+ timestamp: PropTypes.string.isRequired,
8063
+ source: PropTypes.string.isRequired,
8064
+ response: T['io.flow.v0.enums.ge_catalog_item_ingestion_response'].isRequired,
8065
+ message: PropTypes.string.isRequired,
8066
+ });
8067
+
8068
+ T['io.flow.v0.unions.ge_restriction_event'] = PropTypes.oneOfType([
8069
+ T['io.flow.v0.models.ge_product_restriction_result_upsert'],
8070
+ T['io.flow.v0.models.ge_product_restriction_result_delete'],
8071
+ T['io.flow.v0.models.ge_catalog_item_ingestion_result'],
8072
+ ]);
8073
+
7924
8074
  T['io.flow.v0.enums.fulfillment_item_quantity_status'] = PropTypes.oneOf(['new', 'shipped', 'cancelled']);
7925
8075
 
7926
8076
  T['io.flow.v0.models.fulfillment_line_cancel_form'] = PropTypes.exact({
@@ -9492,7 +9642,6 @@ T['io.flow.v0.enums.transaction_source'] = PropTypes.oneOf([
9492
9642
  'tax_refund',
9493
9643
  'non_l4l_tax_duty_fx',
9494
9644
  'ge_revenue_share',
9495
- 'tax_duty_delta',
9496
9645
  ]);
9497
9646
 
9498
9647
  T['io.flow.v0.models.parent_transaction_summary'] = PropTypes.exact({
@@ -10318,6 +10467,12 @@ T['io.flow.v0.models.payment_request_bundle_form'] = PropTypes.exact({
10318
10467
  billing: T['io.flow.v0.models.payment_request_billing'].isRequired,
10319
10468
  });
10320
10469
 
10470
+ T['io.flow.v0.models.external_card'] = PropTypes.exact({
10471
+ discriminator: PropTypes.oneOf(['external_card']).isRequired,
10472
+ id: PropTypes.string.isRequired,
10473
+ type: T['io.flow.v0.enums.card_type'],
10474
+ });
10475
+
10321
10476
  T['io.flow.v0.models.card_confirmation_summary'] = PropTypes.exact({
10322
10477
  discriminator: PropTypes.oneOf(['card_confirmation_summary']).isRequired,
10323
10478
  type: T['io.flow.v0.enums.card_type'],
@@ -10382,6 +10537,7 @@ T['io.flow.v0.models.capture_error'] = PropTypes.exact({
10382
10537
  decline_code: T['io.flow.v0.enums.capture_decline_code'].isRequired,
10383
10538
  });
10384
10539
 
10540
+ T['io.flow.v0.enums.payment_fee_type'] = PropTypes.oneOf(['fx', 'mor']);
10385
10541
  T['io.flow.v0.enums.capture_status'] = PropTypes.oneOf(['initiated', 'pending', 'succeeded', 'failed', 'canceled']);
10386
10542
 
10387
10543
  T['io.flow.v0.models.payment_capture_status'] = PropTypes.exact({
@@ -10461,42 +10617,6 @@ T['io.flow.v0.models.card_payment_source_authorization_form'] = PropTypes.exact(
10461
10617
  inline_action_configuration: T['io.flow.v0.unions.inline_action_configuration'],
10462
10618
  });
10463
10619
 
10464
- T['io.flow.v0.enums.optin_response_type'] = PropTypes.oneOf(['not_shown', 'opted_in', 'opted_out']);
10465
-
10466
- T['io.flow.v0.models.optin_response'] = PropTypes.exact({
10467
- key: PropTypes.string.isRequired,
10468
- value: T['io.flow.v0.enums.optin_response_type'].isRequired,
10469
- });
10470
-
10471
- T['io.flow.v0.models.checkout_optin_responses'] = PropTypes.exact({
10472
- id: PropTypes.string.isRequired,
10473
- order_number: PropTypes.string.isRequired,
10474
- session_id: PropTypes.string.isRequired,
10475
- optin_responses: PropTypes.arrayOf(T['io.flow.v0.models.optin_response']).isRequired,
10476
- });
10477
-
10478
- T['io.flow.v0.models.checkout_optin_responses_upserted'] = PropTypes.exact({
10479
- discriminator: PropTypes.oneOf(['checkout_optin_responses_upserted']).isRequired,
10480
- event_id: PropTypes.string.isRequired,
10481
- timestamp: PropTypes.string.isRequired,
10482
- organization: PropTypes.string.isRequired,
10483
- checkout_optin_responses: T['io.flow.v0.models.checkout_optin_responses'].isRequired,
10484
- });
10485
-
10486
- T['io.flow.v0.models.browse_optin_responses'] = PropTypes.exact({
10487
- id: PropTypes.string.isRequired,
10488
- session_id: PropTypes.string.isRequired,
10489
- optin_responses: PropTypes.arrayOf(T['io.flow.v0.models.optin_response']).isRequired,
10490
- });
10491
-
10492
- T['io.flow.v0.models.browse_optin_responses_upserted'] = PropTypes.exact({
10493
- discriminator: PropTypes.oneOf(['browse_optin_responses_upserted']).isRequired,
10494
- event_id: PropTypes.string.isRequired,
10495
- timestamp: PropTypes.string.isRequired,
10496
- organization: PropTypes.string.isRequired,
10497
- browse_optin_responses: T['io.flow.v0.models.browse_optin_responses'].isRequired,
10498
- });
10499
-
10500
10620
  T['io.flow.v0.models.center_reference'] = PropTypes.exact({
10501
10621
  discriminator: PropTypes.oneOf(['center_reference']).isRequired,
10502
10622
  organization_id: PropTypes.string.isRequired,
@@ -13536,6 +13656,7 @@ T['io.flow.v0.models.eei_filing_ratecard_fee'] = PropTypes.exact({
13536
13656
  T['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'] = PropTypes.exact({
13537
13657
  discriminator: PropTypes.oneOf(['duties_taxes_paid_surcharge_service_fee']).isRequired,
13538
13658
  amount: T['io.flow.v0.models.money'].isRequired,
13659
+ destination_countries: PropTypes.arrayOf(PropTypes.string),
13539
13660
  starts_at: PropTypes.string,
13540
13661
  ends_at: PropTypes.string,
13541
13662
  });
@@ -13618,6 +13739,12 @@ T['io.flow.v0.models.partner_center'] = PropTypes.exact({
13618
13739
  fees: PropTypes.arrayOf(T['io.flow.v0.unions.partner_center_fee']),
13619
13740
  });
13620
13741
 
13742
+ T['io.flow.v0.models.payment_fee'] = PropTypes.exact({
13743
+ type: T['io.flow.v0.enums.payment_fee_type'].isRequired,
13744
+ money: T['io.flow.v0.models.money'].isRequired,
13745
+ base: T['io.flow.v0.models.money'],
13746
+ });
13747
+
13621
13748
  T['io.flow.v0.models.capture'] = PropTypes.exact({
13622
13749
  id: PropTypes.string.isRequired,
13623
13750
  key: PropTypes.string.isRequired,
@@ -13629,6 +13756,7 @@ T['io.flow.v0.models.capture'] = PropTypes.exact({
13629
13756
  attributes: PropTypes.objectOf(PropTypes.string),
13630
13757
  status: T['io.flow.v0.enums.capture_status'],
13631
13758
  base: T['io.flow.v0.models.money'],
13759
+ fees: PropTypes.arrayOf(T['io.flow.v0.models.payment_fee']),
13632
13760
  });
13633
13761
 
13634
13762
  T['io.flow.v0.models.refund_capture_summary'] = PropTypes.exact({
@@ -13983,6 +14111,9 @@ T['io.flow.v0.enums.unit_of_measurement'] = PropTypes.oneOf([
13983
14111
  'inch',
13984
14112
  'foot',
13985
14113
  'cubic_inch',
14114
+ 'cubic_foot',
14115
+ 'cubic_millimeter',
14116
+ 'cubic_centimeter',
13986
14117
  'cubic_meter',
13987
14118
  'gram',
13988
14119
  'kilogram',
@@ -15840,6 +15971,7 @@ T['io.flow.v0.unions.expandable_card'] = PropTypes.oneOfType([
15840
15971
  T['io.flow.v0.models.card'],
15841
15972
  T['io.flow.v0.models.card_reference'],
15842
15973
  T['io.flow.v0.models.card_summary'],
15974
+ T['io.flow.v0.models.external_card'],
15843
15975
  ]);
15844
15976
 
15845
15977
  T['io.flow.v0.models.card_authorization'] = PropTypes.exact({
@@ -16370,8 +16502,6 @@ T['io.flow.v0.models.label_deleted_v2'] = PropTypes.exact({
16370
16502
  });
16371
16503
 
16372
16504
  T['io.flow.v0.unions.event'] = PropTypes.oneOfType([
16373
- T['io.flow.v0.models.authorization_retry_upserted'],
16374
- T['io.flow.v0.models.authorization_retry_deleted'],
16375
16505
  T['io.flow.v0.models.test_upserted'],
16376
16506
  T['io.flow.v0.models.generate_load'],
16377
16507
  T['io.flow.v0.models.aldo_item_upserted'],
@@ -16490,8 +16620,6 @@ T['io.flow.v0.unions.event'] = PropTypes.oneOfType([
16490
16620
  T['io.flow.v0.models.ge_item_inserted'],
16491
16621
  T['io.flow.v0.models.ge_item_updated'],
16492
16622
  T['io.flow.v0.models.ge_item_deleted'],
16493
- T['io.flow.v0.models.ge_product_restriction_result_upserted'],
16494
- T['io.flow.v0.models.ge_product_restriction_result_deleted'],
16495
16623
  T['io.flow.v0.models.hs6_code_upserted'],
16496
16624
  T['io.flow.v0.models.hs6_code_deleted'],
16497
16625
  T['io.flow.v0.models.hs10_code_upserted'],
@@ -16513,10 +16641,6 @@ T['io.flow.v0.unions.event'] = PropTypes.oneOfType([
16513
16641
  T['io.flow.v0.models.label_processing_modification_deleted'],
16514
16642
  T['io.flow.v0.models.merchant_application_upserted'],
16515
16643
  T['io.flow.v0.models.merchant_application_deleted'],
16516
- T['io.flow.v0.models.checkout_optin_responses_upserted'],
16517
- T['io.flow.v0.models.checkout_optin_responses_deleted'],
16518
- T['io.flow.v0.models.browse_optin_responses_upserted'],
16519
- T['io.flow.v0.models.browse_optin_responses_deleted'],
16520
16644
  T['io.flow.v0.models.order_placed'],
16521
16645
  T['io.flow.v0.models.order_placed_v2'],
16522
16646
  T['io.flow.v0.models.ready_to_fulfill'],
@@ -16558,6 +16682,8 @@ T['io.flow.v0.unions.event'] = PropTypes.oneOfType([
16558
16682
  T['io.flow.v0.models.virtual_card_capture_deleted'],
16559
16683
  T['io.flow.v0.models.virtual_card_refund_upserted'],
16560
16684
  T['io.flow.v0.models.virtual_card_refund_deleted'],
16685
+ T['io.flow.v0.models.authorization_retry_upserted'],
16686
+ T['io.flow.v0.models.authorization_retry_deleted'],
16561
16687
  T['io.flow.v0.models.payment_request_upserted'],
16562
16688
  T['io.flow.v0.models.payment_request_deleted'],
16563
16689
  T['io.flow.v0.models.price_book_upserted'],
@@ -16766,8 +16892,6 @@ T['io.flow.v0.models.abandoned_order_settings'] = PropTypes.exact({
16766
16892
  T['io.flow.v0.enums.capability'] = PropTypes.oneOf(['crossdock']);
16767
16893
 
16768
16894
  T['io.flow.v0.enums.event_type'] = PropTypes.oneOf([
16769
- 'authorization_retry_upserted',
16770
- 'authorization_retry_deleted',
16771
16895
  'test_upserted',
16772
16896
  'generate_load',
16773
16897
  'aldo_item_upserted',
@@ -16886,8 +17010,6 @@ T['io.flow.v0.enums.event_type'] = PropTypes.oneOf([
16886
17010
  'ge_item_inserted',
16887
17011
  'ge_item_updated',
16888
17012
  'ge_item_deleted',
16889
- 'ge_product_restriction_result_upserted',
16890
- 'ge_product_restriction_result_deleted',
16891
17013
  'hs6_code_upserted',
16892
17014
  'hs6_code_deleted',
16893
17015
  'hs10_code_upserted',
@@ -16909,10 +17031,6 @@ T['io.flow.v0.enums.event_type'] = PropTypes.oneOf([
16909
17031
  'label_processing_modification_deleted',
16910
17032
  'merchant_application_upserted',
16911
17033
  'merchant_application_deleted',
16912
- 'checkout_optin_responses_upserted',
16913
- 'checkout_optin_responses_deleted',
16914
- 'browse_optin_responses_upserted',
16915
- 'browse_optin_responses_deleted',
16916
17034
  'order_placed',
16917
17035
  'order_placed_v2',
16918
17036
  'ready_to_fulfill',
@@ -16954,6 +17072,8 @@ T['io.flow.v0.enums.event_type'] = PropTypes.oneOf([
16954
17072
  'virtual_card_capture_deleted',
16955
17073
  'virtual_card_refund_upserted',
16956
17074
  'virtual_card_refund_deleted',
17075
+ 'authorization_retry_upserted',
17076
+ 'authorization_retry_deleted',
16957
17077
  'payment_request_upserted',
16958
17078
  'payment_request_deleted',
16959
17079
  'price_book_upserted',
@@ -17069,7 +17189,15 @@ T['io.flow.v0.enums.substatus_code'] = PropTypes.oneOf([
17069
17189
  T['io.flow.v0.enums.taxability_type'] = PropTypes.oneOf(['tax_rule']);
17070
17190
  T['io.flow.v0.enums.taxability_value'] = PropTypes.oneOf(['exempt']);
17071
17191
  T['io.flow.v0.enums.tracking_number_type'] = PropTypes.oneOf(['flow', 'carrier']);
17072
- T['io.flow.v0.enums.unit_of_volume'] = PropTypes.oneOf(['cubic_inch', 'cubic_meter']);
17192
+
17193
+ T['io.flow.v0.enums.unit_of_volume'] = PropTypes.oneOf([
17194
+ 'cubic_inch',
17195
+ 'cubic_foot',
17196
+ 'cubic_millimeter',
17197
+ 'cubic_centimeter',
17198
+ 'cubic_meter',
17199
+ ]);
17200
+
17073
17201
  T['io.flow.v0.enums.value_added_service'] = PropTypes.oneOf(['Hazardous Material']);
17074
17202
 
17075
17203
  T['io.flow.v0.models.activation_put_form'] = PropTypes.exact({
@@ -17763,6 +17891,7 @@ T['io.flow.google.pay.v0.models.signed_message'] = PropTypes.exact({
17763
17891
  });
17764
17892
 
17765
17893
  T['io.flow.stripe.v0.enums.event_type'] = PropTypes.oneOf([
17894
+ 'capability.updated',
17766
17895
  'charge.captured',
17767
17896
  'charge.failed',
17768
17897
  'charge.pending',
@@ -17871,11 +18000,6 @@ T['io.flow.shopify.external.v0.models.count'] = PropTypes.exact({
17871
18000
  count: PropTypes.number.isRequired,
17872
18001
  });
17873
18002
 
17874
- T['io.flow.shopify.external.v0.models.graphql_metaobject'] = PropTypes.exact({
17875
- id: PropTypes.string.isRequired,
17876
- displayName: PropTypes.string.isRequired,
17877
- });
17878
-
17879
18003
  T['io.flow.shopify.external.v0.models.product_delete'] = PropTypes.exact({
17880
18004
  id: PropTypes.number.isRequired,
17881
18005
  });
@@ -18129,12 +18253,6 @@ T['io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description'] =
18129
18253
  description: PropTypes.string.isRequired,
18130
18254
  });
18131
18255
 
18132
- T['io.flow.currency.v0.models.rate_form'] = PropTypes.exact({
18133
- base: PropTypes.string.isRequired,
18134
- target: PropTypes.string.isRequired,
18135
- effective_at: PropTypes.string.isRequired,
18136
- });
18137
-
18138
18256
  T['io.flow.organization.v0.models.organization_default_configurations_form'] = PropTypes.exact({
18139
18257
  id: PropTypes.string.isRequired,
18140
18258
  });
@@ -18186,6 +18304,12 @@ T['io.flow.inventory.v0.models.pfs_inventory_status'] = PropTypes.exact({
18186
18304
  status: PropTypes.string.isRequired,
18187
18305
  });
18188
18306
 
18307
+ T['io.flow.currency.v0.models.rate_form'] = PropTypes.exact({
18308
+ base: PropTypes.string.isRequired,
18309
+ target: PropTypes.string.isRequired,
18310
+ effective_at: PropTypes.string.isRequired,
18311
+ });
18312
+
18189
18313
  export const abandonedOrderEmailSettings = T['io.flow.v0.models.abandoned_order_email_settings'];
18190
18314
  export const abandonedOrderPromotion = T['io.flow.v0.models.abandoned_order_promotion'];
18191
18315
  export const abandonedOrderPromotionDetails = T['io.flow.v0.unions.abandoned_order_promotion_details'];
@@ -18347,9 +18471,6 @@ export const billingDiscount = T['io.flow.v0.models.billing_discount'];
18347
18471
  export const bridgeManifest = T['io.flow.v0.models.bridge_manifest'];
18348
18472
  export const bridgeManifestForm = T['io.flow.v0.models.bridge_manifest_form'];
18349
18473
  export const bridgeShippingLabelForm = T['io.flow.v0.models.bridge_shipping_label_form'];
18350
- export const browseOptinResponses = T['io.flow.v0.models.browse_optin_responses'];
18351
- export const browseOptinResponsesDeleted = T['io.flow.v0.models.browse_optin_responses_deleted'];
18352
- export const browseOptinResponsesUpserted = T['io.flow.v0.models.browse_optin_responses_upserted'];
18353
18474
  export const browserActionConfiguration = T['io.flow.v0.unions.browser_action_configuration'];
18354
18475
  export const browserInfo = T['io.flow.v0.models.browser_info'];
18355
18476
  export const browserInlineActionConfiguration = T['io.flow.v0.models.browser_inline_action_configuration'];
@@ -18474,9 +18595,6 @@ export const checkoutAttribute = T['io.flow.v0.models.checkout_attribute'];
18474
18595
  export const checkoutAttributeForm = T['io.flow.v0.models.checkout_attribute_form'];
18475
18596
  export const checkoutItemContent = T['io.flow.v0.models.checkout_item_content'];
18476
18597
  export const checkoutItemContentAttribute = T['io.flow.v0.models.checkout_item_content_attribute'];
18477
- export const checkoutOptinResponses = T['io.flow.v0.models.checkout_optin_responses'];
18478
- export const checkoutOptinResponsesDeleted = T['io.flow.v0.models.checkout_optin_responses_deleted'];
18479
- export const checkoutOptinResponsesUpserted = T['io.flow.v0.models.checkout_optin_responses_upserted'];
18480
18598
  export const checkoutReference = T['io.flow.v0.models.checkout_reference'];
18481
18599
  export const checkoutToken = T['io.flow.v0.models.checkout_token'];
18482
18600
  export const checkoutTokenForm = T['io.flow.v0.unions.checkout_token_form'];
@@ -18754,6 +18872,7 @@ export const exportStatus = T['io.flow.v0.enums.export_status'];
18754
18872
  export const exportType = T['io.flow.v0.unions.export_type'];
18755
18873
  export const exportVersion = T['io.flow.v0.models.export_version'];
18756
18874
  export const exporterOfRecord = T['io.flow.v0.enums.exporter_of_record'];
18875
+ export const externalCard = T['io.flow.v0.models.external_card'];
18757
18876
  export const feeDeduction = T['io.flow.v0.models.fee_deduction'];
18758
18877
  export const feeDeductionType = T['io.flow.v0.enums.fee_deduction_type'];
18759
18878
  export const feeWeight = T['io.flow.v0.models.fee_weight'];
@@ -18819,11 +18938,19 @@ export const fulfillmentRouting = T['io.flow.v0.enums.fulfillment_routing'];
18819
18938
  export const fullyHarmonizedItemUpserted = T['io.flow.v0.models.fully_harmonized_item_upserted'];
18820
18939
  export const gatewayAuthenticationData = T['io.flow.v0.unions.gateway_authentication_data'];
18821
18940
  export const gatewayAuthenticationDataForm = T['io.flow.v0.unions.gateway_authentication_data_form'];
18941
+ export const geCatalogItemIngestionResponse = T['io.flow.v0.enums.ge_catalog_item_ingestion_response'];
18942
+ export const geCatalogItemIngestionResult = T['io.flow.v0.models.ge_catalog_item_ingestion_result'];
18943
+ export const geCatalogItemInput = T['io.flow.v0.models.ge_catalog_item_input'];
18944
+ export const geEnvironment = T['io.flow.v0.enums.ge_environment'];
18945
+ export const geEventType = T['io.flow.v0.enums.ge_event_type'];
18946
+ export const geInputAttributes = T['io.flow.v0.models.ge_input_attributes'];
18947
+ export const geInputPrice = T['io.flow.v0.models.ge_input_price'];
18822
18948
  export const geItemDeleted = T['io.flow.v0.models.ge_item_deleted'];
18823
18949
  export const geItemInserted = T['io.flow.v0.models.ge_item_inserted'];
18824
18950
  export const geItemUpdated = T['io.flow.v0.models.ge_item_updated'];
18825
- export const geProductRestrictionResultDeleted = T['io.flow.v0.models.ge_product_restriction_result_deleted'];
18826
- export const geProductRestrictionResultUpserted = T['io.flow.v0.models.ge_product_restriction_result_upserted'];
18951
+ export const geProductRestrictionResultDelete = T['io.flow.v0.models.ge_product_restriction_result_delete'];
18952
+ export const geProductRestrictionResultUpsert = T['io.flow.v0.models.ge_product_restriction_result_upsert'];
18953
+ export const geRestrictionEvent = T['io.flow.v0.unions.ge_restriction_event'];
18827
18954
  export const generateLoad = T['io.flow.v0.models.generate_load'];
18828
18955
  export const genericError = T['io.flow.v0.models.generic_error'];
18829
18956
  export const genericErrorCode = T['io.flow.v0.enums.generic_error_code'];
@@ -19077,8 +19204,6 @@ export const onlineAuthorizationDetails = T['io.flow.v0.unions.online_authorizat
19077
19204
  export const onlineAuthorizationUpsertedV2 = T['io.flow.v0.models.online_authorization_upserted_v2'];
19078
19205
  export const onlinePaymentAuthorizationForm = T['io.flow.v0.models.online_payment_authorization_form'];
19079
19206
  export const operationsContact = T['io.flow.v0.models.operations_contact'];
19080
- export const optinResponse = T['io.flow.v0.models.optin_response'];
19081
- export const optinResponseType = T['io.flow.v0.enums.optin_response_type'];
19082
19207
  export const optionWeightEstimates = T['io.flow.v0.models.option_weight_estimates'];
19083
19208
  export const options = T['io.flow.v0.models.options'];
19084
19209
  export const order = T['io.flow.v0.models.order'];
@@ -19264,6 +19389,8 @@ export const paymentError = T['io.flow.v0.models.payment_error'];
19264
19389
  export const paymentErrorCode = T['io.flow.v0.enums.payment_error_code'];
19265
19390
  export const paymentFailure = T['io.flow.v0.models.payment_failure'];
19266
19391
  export const paymentFailureCode = T['io.flow.v0.enums.payment_failure_code'];
19392
+ export const paymentFee = T['io.flow.v0.models.payment_fee'];
19393
+ export const paymentFeeType = T['io.flow.v0.enums.payment_fee_type'];
19267
19394
  export const paymentForm = T['io.flow.v0.unions.payment_form'];
19268
19395
  export const paymentInformation = T['io.flow.v0.models.payment_information'];
19269
19396
  export const paymentMethod = T['io.flow.v0.models.payment_method'];