@flowio/api-prop-types 10.16.94 → 10.16.96

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,
@@ -3055,6 +3079,74 @@ T['io.flow.shopify.external.v0.models.graphql_product'] = PropTypes.exact({
3055
3079
  metafields: PropTypes.arrayOf(T['io.flow.shopify.external.v0.models.graphql_metafield']),
3056
3080
  });
3057
3081
 
3082
+ T['io.flow.stripe.v0.enums.connect_report_connect_reporting_category'] = PropTypes.oneOf([
3083
+ 'advance',
3084
+ 'advance_funding',
3085
+ 'connect_collection_transfer',
3086
+ 'connect_reserved_funds',
3087
+ 'platform_earning',
3088
+ 'platform_earning_refund',
3089
+ 'transfer',
3090
+ 'transfer_reversal',
3091
+ ]);
3092
+
3093
+ T['io.flow.stripe.v0.enums.connect_report_issuing_reporting_category'] = PropTypes.oneOf([
3094
+ 'issuing_authorization_hold',
3095
+ 'issuing_authorization_release',
3096
+ 'issuing_disbursement',
3097
+ 'issuing_dispute',
3098
+ 'issuing_dispute_fraud_liability_debit',
3099
+ 'issuing_dispute_provisional_credit',
3100
+ 'issuing_dispute_provisional_credit_reversal',
3101
+ 'issuing_transaction',
3102
+ ]);
3103
+
3104
+ T['io.flow.stripe.v0.enums.connect_report_balance_reporting_category'] = PropTypes.oneOf([
3105
+ 'anticipation_repayment',
3106
+ 'climate_order_purchase',
3107
+ 'climate_order_refund',
3108
+ 'contribution',
3109
+ 'currency_conversion',
3110
+ 'fee',
3111
+ 'other_adjustment',
3112
+ 'payment_network_reserve_hold',
3113
+ 'payment_network_reserve_release',
3114
+ 'payout',
3115
+ 'payout_minimum_balance_hold',
3116
+ 'payout_minimum_balance_release',
3117
+ 'payout_reversal',
3118
+ 'risk_reserved_funds',
3119
+ 'stripe_balance_payment_debit',
3120
+ 'stripe_balance_payment_debit_reversal',
3121
+ 'topup',
3122
+ 'topup_reversal',
3123
+ 'unreconciled_customer_funds',
3124
+ ]);
3125
+
3126
+ T['io.flow.stripe.v0.enums.connect_report_payment_reporting_category'] = PropTypes.oneOf([
3127
+ 'charge',
3128
+ 'charge_failure',
3129
+ 'dispute',
3130
+ 'dispute_reversal',
3131
+ 'partial_capture_reversal',
3132
+ 'refund',
3133
+ 'refund_failure',
3134
+ ]);
3135
+
3136
+ T['io.flow.stripe.v0.unions.connect_report_reporting_category'] = PropTypes.oneOfType([PropTypes.exact({
3137
+ discriminator: PropTypes.oneOf(['connect_report_payment_reporting_category']).isRequired,
3138
+ value: T['io.flow.stripe.v0.enums.connect_report_payment_reporting_category'],
3139
+ }), PropTypes.exact({
3140
+ discriminator: PropTypes.oneOf(['connect_report_balance_reporting_category']).isRequired,
3141
+ value: T['io.flow.stripe.v0.enums.connect_report_balance_reporting_category'],
3142
+ }), PropTypes.exact({
3143
+ discriminator: PropTypes.oneOf(['connect_report_issuing_reporting_category']).isRequired,
3144
+ value: T['io.flow.stripe.v0.enums.connect_report_issuing_reporting_category'],
3145
+ }), PropTypes.exact({
3146
+ discriminator: PropTypes.oneOf(['connect_report_connect_reporting_category']).isRequired,
3147
+ value: T['io.flow.stripe.v0.enums.connect_report_connect_reporting_category'],
3148
+ })]);
3149
+
3058
3150
  T['io.flow.stripe.v0.models.stripe_event_request'] = PropTypes.exact({
3059
3151
  id: PropTypes.string,
3060
3152
  idempotency_key: PropTypes.string,
@@ -4438,6 +4530,19 @@ T['io.flow.stripe.v0.models.payment_method'] = PropTypes.exact({
4438
4530
  type: PropTypes.string,
4439
4531
  });
4440
4532
 
4533
+ T['io.flow.stripe.v0.enums.capability_status'] = PropTypes.oneOf(['active', 'disabled', 'inactive', 'pending', 'unrequested']);
4534
+
4535
+ T['io.flow.stripe.v0.models.capability'] = PropTypes.exact({
4536
+ id: PropTypes.string.isRequired,
4537
+ account: PropTypes.string.isRequired,
4538
+ requested: PropTypes.bool.isRequired,
4539
+ requirements: PropTypes.object.isRequired,
4540
+ status: T['io.flow.stripe.v0.enums.capability_status'].isRequired,
4541
+ object: PropTypes.string.isRequired,
4542
+ future_requirements: PropTypes.object.isRequired,
4543
+ requested_at: PropTypes.number,
4544
+ });
4545
+
4441
4546
  T['io.flow.stripe.v0.enums.apple_pay_type'] = PropTypes.oneOf(['apple_pay', 'apple_pay_later']);
4442
4547
 
4443
4548
  T['io.flow.stripe.v0.models.apple_pay_information'] = PropTypes.exact({
@@ -5087,6 +5192,14 @@ T['io.flow.v0.models.payment_request_deleted'] = PropTypes.exact({
5087
5192
  id: PropTypes.string.isRequired,
5088
5193
  });
5089
5194
 
5195
+ T['io.flow.v0.models.transfer_deleted'] = PropTypes.exact({
5196
+ discriminator: PropTypes.oneOf(['transfer_deleted']).isRequired,
5197
+ event_id: PropTypes.string.isRequired,
5198
+ timestamp: PropTypes.string.isRequired,
5199
+ organization: PropTypes.string.isRequired,
5200
+ id: PropTypes.string.isRequired,
5201
+ });
5202
+
5090
5203
  T['io.flow.v0.models.authorization_retry_deleted'] = PropTypes.exact({
5091
5204
  discriminator: PropTypes.oneOf(['authorization_retry_deleted']).isRequired,
5092
5205
  event_id: PropTypes.string.isRequired,
@@ -5243,14 +5356,6 @@ T['io.flow.v0.models.hs6_code_upserted'] = PropTypes.exact({
5243
5356
  code: PropTypes.string.isRequired,
5244
5357
  });
5245
5358
 
5246
- T['io.flow.v0.models.ge_product_restriction_result_deleted'] = PropTypes.exact({
5247
- discriminator: PropTypes.oneOf(['ge_product_restriction_result_deleted']).isRequired,
5248
- event_id: PropTypes.string.isRequired,
5249
- timestamp: PropTypes.string.isRequired,
5250
- organization: PropTypes.string.isRequired,
5251
- id: PropTypes.string.isRequired,
5252
- });
5253
-
5254
5359
  T['io.flow.v0.models.shipping_configuration_deleted'] = PropTypes.exact({
5255
5360
  discriminator: PropTypes.oneOf(['shipping_configuration_deleted']).isRequired,
5256
5361
  event_id: PropTypes.string.isRequired,
@@ -5742,6 +5847,23 @@ T['io.flow.v0.models.user_form'] = PropTypes.exact({
5742
5847
 
5743
5848
  T['io.flow.v0.enums.user_status'] = PropTypes.oneOf(['pending', 'active', 'inactive']);
5744
5849
 
5850
+ T['io.flow.v0.models.dispute_reference'] = PropTypes.exact({
5851
+ discriminator: PropTypes.oneOf(['dispute_reference']).isRequired,
5852
+ id: PropTypes.string.isRequired,
5853
+ key: PropTypes.string.isRequired,
5854
+ });
5855
+
5856
+ T['io.flow.v0.enums.transfer_status'] = PropTypes.oneOf(['succeeded', 'canceled']);
5857
+
5858
+ T['io.flow.v0.enums.transfer_type'] = PropTypes.oneOf([
5859
+ 'payout_to_merchant',
5860
+ 'disputed_amount_to_merchant',
5861
+ 'duties_and_taxes_adjustment_to_merchant',
5862
+ 'disputed_amount_from_merchant',
5863
+ 'duties_and_taxes_adjustment_from_merchant',
5864
+ 'refund_from_merchant',
5865
+ ]);
5866
+
5745
5867
  T['io.flow.v0.models.trueup_label_base_weight'] = PropTypes.exact({
5746
5868
  weight: PropTypes.number.isRequired,
5747
5869
  });
@@ -6251,6 +6373,7 @@ T['io.flow.v0.models.refund_order_summary'] = PropTypes.exact({
6251
6373
  });
6252
6374
 
6253
6375
  T['io.flow.v0.models.refund_reference'] = PropTypes.exact({
6376
+ discriminator: PropTypes.oneOf(['refund_reference']).isRequired,
6254
6377
  id: PropTypes.string.isRequired,
6255
6378
  key: PropTypes.string.isRequired,
6256
6379
  });
@@ -6363,6 +6486,7 @@ T['io.flow.v0.models.query_filter_structured'] = PropTypes.exact({
6363
6486
  values: PropTypes.arrayOf(PropTypes.string).isRequired,
6364
6487
  });
6365
6488
 
6489
+ T['io.flow.sellability.v0.enums.rule_effect_type'] = PropTypes.oneOf(['market', 'dhl', 'dhl_ecommerce', 'ups']);
6366
6490
  T['io.flow.v0.enums.restricted_review_status'] = PropTypes.oneOf(['in_review', 'reviewed']);
6367
6491
 
6368
6492
  T['io.flow.v0.models.product_taxonomy_data'] = PropTypes.exact({
@@ -7235,7 +7359,7 @@ T['io.flow.v0.models.order_rules_summary'] = PropTypes.exact({
7235
7359
  applied: PropTypes.arrayOf(T['io.flow.v0.models.order_rule_reference']).isRequired,
7236
7360
  });
7237
7361
 
7238
- T['io.flow.v0.enums.order_type'] = PropTypes.oneOf(['standard', 'replacement']);
7362
+ T['io.flow.v0.enums.order_type'] = PropTypes.oneOf(['standard', 'replacement', 'edit']);
7239
7363
 
7240
7364
  T['io.flow.v0.models.direct_debit'] = PropTypes.exact({
7241
7365
  discriminator: PropTypes.oneOf(['direct_debit']).isRequired,
@@ -7620,6 +7744,12 @@ T['io.flow.v0.models.label_surcharge'] = PropTypes.exact({
7620
7744
  detail: T['io.flow.v0.unions.label_surcharge_detail'].isRequired,
7621
7745
  });
7622
7746
 
7747
+ T['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'] = PropTypes.exact({
7748
+ units: T['io.flow.v0.models.label_units'].isRequired,
7749
+ base: T['io.flow.v0.models.label_base'].isRequired,
7750
+ surcharges: PropTypes.arrayOf(T['io.flow.v0.models.label_surcharge']).isRequired,
7751
+ });
7752
+
7623
7753
  T['io.flow.v0.models.additional_services_requested'] = PropTypes.exact({
7624
7754
  name: PropTypes.string.isRequired,
7625
7755
  description: PropTypes.string,
@@ -7840,6 +7970,19 @@ T['io.flow.v0.models.harmonization_document'] = PropTypes.exact({
7840
7970
  origin: PropTypes.string,
7841
7971
  });
7842
7972
 
7973
+ T['io.flow.sellability.v0.models.sellablility_region_result'] = PropTypes.exact({
7974
+ type: T['io.flow.sellability.v0.enums.rule_effect_type'].isRequired,
7975
+ regions: PropTypes.arrayOf(PropTypes.string).isRequired,
7976
+ });
7977
+
7978
+ T['io.flow.sellability.v0.models.product_sellability'] = PropTypes.exact({
7979
+ shop_id: PropTypes.string.isRequired,
7980
+ product_id: PropTypes.string,
7981
+ request_id: PropTypes.string.isRequired,
7982
+ hs6_code: PropTypes.string.isRequired,
7983
+ restricted_regions: PropTypes.arrayOf(T['io.flow.sellability.v0.models.sellablility_region_result']).isRequired,
7984
+ });
7985
+
7843
7986
  T['io.flow.v0.enums.product_restriction_rule'] = PropTypes.oneOf([
7844
7987
  'Adult Products',
7845
7988
  'Alcohol',
@@ -7892,6 +8035,7 @@ T['io.flow.v0.models.product_restriction_result'] = PropTypes.exact({
7892
8035
  updated_by: PropTypes.string,
7893
8036
  product_restriction_id: PropTypes.string,
7894
8037
  hs_code: PropTypes.string,
8038
+ restricted_regions_by_type: PropTypes.arrayOf(T['io.flow.sellability.v0.models.sellablility_region_result']),
7895
8039
  });
7896
8040
 
7897
8041
  T['io.flow.v0.models.product_restriction_result_upserted'] = PropTypes.exact({
@@ -7902,14 +8046,76 @@ T['io.flow.v0.models.product_restriction_result_upserted'] = PropTypes.exact({
7902
8046
  product_restriction_result: T['io.flow.v0.models.product_restriction_result'].isRequired,
7903
8047
  });
7904
8048
 
7905
- T['io.flow.v0.models.ge_product_restriction_result_upserted'] = PropTypes.exact({
7906
- discriminator: PropTypes.oneOf(['ge_product_restriction_result_upserted']).isRequired,
8049
+ T['io.flow.v0.models.ge_input_attributes'] = PropTypes.exact({
8050
+ country_of_origin: PropTypes.string.isRequired,
8051
+ ge_hs6_code: PropTypes.string.isRequired,
8052
+ product_id: PropTypes.string.isRequired,
8053
+ ge_organization_name: PropTypes.string.isRequired,
8054
+ });
8055
+
8056
+ T['io.flow.v0.models.ge_input_price'] = PropTypes.exact({
8057
+ amount: PropTypes.number.isRequired,
8058
+ currency: PropTypes.string.isRequired,
8059
+ label: PropTypes.string.isRequired,
8060
+ });
8061
+
8062
+ T['io.flow.v0.models.ge_catalog_item_input'] = PropTypes.exact({
7907
8063
  event_id: PropTypes.string.isRequired,
7908
- timestamp: PropTypes.string.isRequired,
8064
+ number: PropTypes.string.isRequired,
8065
+ organization_id: PropTypes.string.isRequired,
8066
+ name: PropTypes.string.isRequired,
8067
+ description: PropTypes.string.isRequired,
8068
+ price: T['io.flow.v0.models.ge_input_price'].isRequired,
8069
+ attributes: T['io.flow.v0.models.ge_input_attributes'].isRequired,
8070
+ locale: PropTypes.string.isRequired,
8071
+ id: PropTypes.string.isRequired,
8072
+ categories: PropTypes.arrayOf(PropTypes.string).isRequired,
8073
+ created_at: PropTypes.string.isRequired,
8074
+ updated_at: PropTypes.string.isRequired,
8075
+ images: PropTypes.arrayOf(PropTypes.string).isRequired,
8076
+ });
8077
+
8078
+ T['io.flow.v0.enums.ge_catalog_item_ingestion_response'] = PropTypes.oneOf(['success', 'failure']);
8079
+ T['io.flow.v0.enums.ge_environment'] = PropTypes.oneOf(['production', 'sandbox']);
8080
+ T['io.flow.v0.enums.ge_event_type'] = PropTypes.oneOf(['restriction_result', 'ingestion_result']);
8081
+
8082
+ T['io.flow.v0.models.ge_product_restriction_result_upsert'] = PropTypes.exact({
8083
+ discriminator: PropTypes.oneOf(['ge_product_restriction_result_upsert']).isRequired,
7909
8084
  organization: PropTypes.string.isRequired,
8085
+ event_id: PropTypes.string.isRequired,
8086
+ event_type: T['io.flow.v0.enums.ge_event_type'].isRequired,
8087
+ environment: T['io.flow.v0.enums.ge_environment'].isRequired,
8088
+ timestamp: PropTypes.string.isRequired,
7910
8089
  ge_product_restriction_result: T['io.flow.v0.models.product_restriction_result'].isRequired,
7911
8090
  });
7912
8091
 
8092
+ T['io.flow.v0.models.ge_product_restriction_result_delete'] = PropTypes.exact({
8093
+ discriminator: PropTypes.oneOf(['ge_product_restriction_result_delete']).isRequired,
8094
+ organization: PropTypes.string.isRequired,
8095
+ event_id: PropTypes.string.isRequired,
8096
+ event_type: T['io.flow.v0.enums.ge_event_type'].isRequired,
8097
+ environment: T['io.flow.v0.enums.ge_environment'].isRequired,
8098
+ timestamp: PropTypes.string.isRequired,
8099
+ id: PropTypes.string.isRequired,
8100
+ });
8101
+
8102
+ T['io.flow.v0.models.ge_catalog_item_ingestion_result'] = PropTypes.exact({
8103
+ discriminator: PropTypes.oneOf(['ge_catalog_item_ingestion_result']).isRequired,
8104
+ event_id: PropTypes.string.isRequired,
8105
+ event_type: T['io.flow.v0.enums.ge_event_type'].isRequired,
8106
+ environment: T['io.flow.v0.enums.ge_environment'].isRequired,
8107
+ timestamp: PropTypes.string.isRequired,
8108
+ source: PropTypes.string.isRequired,
8109
+ response: T['io.flow.v0.enums.ge_catalog_item_ingestion_response'].isRequired,
8110
+ message: PropTypes.string.isRequired,
8111
+ });
8112
+
8113
+ T['io.flow.v0.unions.ge_restriction_event'] = PropTypes.oneOfType([
8114
+ T['io.flow.v0.models.ge_product_restriction_result_upsert'],
8115
+ T['io.flow.v0.models.ge_product_restriction_result_delete'],
8116
+ T['io.flow.v0.models.ge_catalog_item_ingestion_result'],
8117
+ ]);
8118
+
7913
8119
  T['io.flow.v0.enums.fulfillment_item_quantity_status'] = PropTypes.oneOf(['new', 'shipped', 'cancelled']);
7914
8120
 
7915
8121
  T['io.flow.v0.models.fulfillment_line_cancel_form'] = PropTypes.exact({
@@ -8408,15 +8614,6 @@ T['io.flow.v0.models.exclusion_rule'] = PropTypes.exact({
8408
8614
  });
8409
8615
 
8410
8616
  T['io.flow.v0.enums.exception_type'] = PropTypes.oneOf(['open', 'closed']);
8411
-
8412
- T['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'] = PropTypes.exact({
8413
- units: T['io.flow.v0.models.label_units'].isRequired,
8414
- base: T['io.flow.v0.models.label_base'].isRequired,
8415
- surcharges: PropTypes.arrayOf(T['io.flow.v0.models.label_surcharge']).isRequired,
8416
- });
8417
-
8418
- T['io.flow.v0.enums.estimate_origin'] = PropTypes.oneOf(['Shopify', 'GlobalE', 'Aftership', 'Carrier']);
8419
- T['io.flow.v0.enums.estimate_type'] = PropTypes.oneOf(['Estimated', 'Final']);
8420
8617
  T['io.flow.v0.enums.entity_identifier_type'] = PropTypes.oneOf(['ioss', 'voec', 'zaz']);
8421
8618
 
8422
8619
  T['io.flow.v0.models.ratecard_region_reference'] = PropTypes.exact({
@@ -9488,9 +9685,9 @@ T['io.flow.v0.enums.transaction_source'] = PropTypes.oneOf([
9488
9685
  'virtual_card_refund',
9489
9686
  'failed_payout',
9490
9687
  'tax_refund',
9688
+ 'duty_refund',
9491
9689
  'non_l4l_tax_duty_fx',
9492
9690
  'ge_revenue_share',
9493
- 'tax_duty_delta',
9494
9691
  ]);
9495
9692
 
9496
9693
  T['io.flow.v0.models.parent_transaction_summary'] = PropTypes.exact({
@@ -10316,6 +10513,12 @@ T['io.flow.v0.models.payment_request_bundle_form'] = PropTypes.exact({
10316
10513
  billing: T['io.flow.v0.models.payment_request_billing'].isRequired,
10317
10514
  });
10318
10515
 
10516
+ T['io.flow.v0.models.external_card'] = PropTypes.exact({
10517
+ discriminator: PropTypes.oneOf(['external_card']).isRequired,
10518
+ id: PropTypes.string.isRequired,
10519
+ type: T['io.flow.v0.enums.card_type'],
10520
+ });
10521
+
10319
10522
  T['io.flow.v0.models.card_confirmation_summary'] = PropTypes.exact({
10320
10523
  discriminator: PropTypes.oneOf(['card_confirmation_summary']).isRequired,
10321
10524
  type: T['io.flow.v0.enums.card_type'],
@@ -10332,10 +10535,17 @@ T['io.flow.v0.unions.confirmation_details'] = PropTypes.oneOfType([
10332
10535
  ]);
10333
10536
 
10334
10537
  T['io.flow.v0.models.capture_reference'] = PropTypes.exact({
10538
+ discriminator: PropTypes.oneOf(['capture_reference']).isRequired,
10335
10539
  id: PropTypes.string.isRequired,
10336
10540
  key: PropTypes.string.isRequired,
10337
10541
  });
10338
10542
 
10543
+ T['io.flow.v0.unions.transfer_reference'] = PropTypes.oneOfType([
10544
+ T['io.flow.v0.models.capture_reference'],
10545
+ T['io.flow.v0.models.refund_reference'],
10546
+ T['io.flow.v0.models.dispute_reference'],
10547
+ ]);
10548
+
10339
10549
  T['io.flow.v0.models.capture_identifier'] = PropTypes.exact({
10340
10550
  id: PropTypes.string.isRequired,
10341
10551
  capture: T['io.flow.v0.models.capture_reference'].isRequired,
@@ -10380,6 +10590,7 @@ T['io.flow.v0.models.capture_error'] = PropTypes.exact({
10380
10590
  decline_code: T['io.flow.v0.enums.capture_decline_code'].isRequired,
10381
10591
  });
10382
10592
 
10593
+ T['io.flow.v0.enums.payment_fee_type'] = PropTypes.oneOf(['fx', 'mor']);
10383
10594
  T['io.flow.v0.enums.capture_status'] = PropTypes.oneOf(['initiated', 'pending', 'succeeded', 'failed', 'canceled']);
10384
10595
 
10385
10596
  T['io.flow.v0.models.payment_capture_status'] = PropTypes.exact({
@@ -13311,6 +13522,12 @@ T['io.flow.v0.models.tracking_label_form'] = PropTypes.exact({
13311
13522
  ratecard_owner: T['io.flow.v0.enums.ratecard_owner'],
13312
13523
  });
13313
13524
 
13525
+ T['io.flow.v0.models.shipping_label_hop_summary'] = PropTypes.exact({
13526
+ lane: T['io.flow.v0.models.shipping_label_lane_summary'].isRequired,
13527
+ cost: T['io.flow.v0.models.money'].isRequired,
13528
+ itemized_estimate: T['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'],
13529
+ });
13530
+
13314
13531
  T['io.flow.v0.models.security_service_fee'] = PropTypes.exact({
13315
13532
  discriminator: PropTypes.oneOf(['security_service_fee']).isRequired,
13316
13533
  amount: T['io.flow.v0.models.money'].isRequired,
@@ -13473,19 +13690,28 @@ T['io.flow.v0.models.fixed_currency_conversion_ratecard_fee'] = PropTypes.exact(
13473
13690
  amount: T['io.flow.v0.models.money'].isRequired,
13474
13691
  });
13475
13692
 
13476
- T['io.flow.v0.models.shipping_label_hop_summary'] = PropTypes.exact({
13477
- lane: T['io.flow.v0.models.shipping_label_lane_summary'].isRequired,
13478
- cost: T['io.flow.v0.models.money'].isRequired,
13479
- itemized_estimate: T['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'],
13693
+ T['io.flow.v0.models.exchanged_money'] = PropTypes.exact({
13694
+ fx_rate: PropTypes.number.isRequired,
13695
+ money: T['io.flow.v0.models.money'].isRequired,
13480
13696
  });
13481
13697
 
13482
- T['io.flow.v0.models.estimate'] = PropTypes.exact({
13698
+ T['io.flow.v0.models.transfer'] = PropTypes.exact({
13483
13699
  id: PropTypes.string.isRequired,
13484
- organization_id: PropTypes.string.isRequired,
13485
- label_id: PropTypes.string.isRequired,
13486
- estimate: T['io.flow.v0.models.shipping_label_hop_summary'].isRequired,
13487
- type: T['io.flow.v0.enums.estimate_type'].isRequired,
13488
- origin: T['io.flow.v0.enums.estimate_origin'],
13700
+ type: T['io.flow.v0.enums.transfer_type'].isRequired,
13701
+ money: T['io.flow.v0.models.money'].isRequired,
13702
+ transferred_money: T['io.flow.v0.models.exchanged_money'].isRequired,
13703
+ status: T['io.flow.v0.enums.transfer_status'].isRequired,
13704
+ created_at: PropTypes.string.isRequired,
13705
+ reference: T['io.flow.v0.unions.transfer_reference'].isRequired,
13706
+ transferred_at: PropTypes.string.isRequired,
13707
+ });
13708
+
13709
+ T['io.flow.v0.models.transfer_upserted'] = PropTypes.exact({
13710
+ discriminator: PropTypes.oneOf(['transfer_upserted']).isRequired,
13711
+ event_id: PropTypes.string.isRequired,
13712
+ timestamp: PropTypes.string.isRequired,
13713
+ organization: PropTypes.string.isRequired,
13714
+ transfer: T['io.flow.v0.models.transfer'].isRequired,
13489
13715
  });
13490
13716
 
13491
13717
  T['io.flow.v0.models.emergency_situation_surcharge_ratecard_fee'] = PropTypes.exact({
@@ -13507,6 +13733,7 @@ T['io.flow.v0.models.eei_filing_ratecard_fee'] = PropTypes.exact({
13507
13733
  T['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'] = PropTypes.exact({
13508
13734
  discriminator: PropTypes.oneOf(['duties_taxes_paid_surcharge_service_fee']).isRequired,
13509
13735
  amount: T['io.flow.v0.models.money'].isRequired,
13736
+ destination_countries: PropTypes.arrayOf(PropTypes.string),
13510
13737
  starts_at: PropTypes.string,
13511
13738
  ends_at: PropTypes.string,
13512
13739
  });
@@ -13589,6 +13816,12 @@ T['io.flow.v0.models.partner_center'] = PropTypes.exact({
13589
13816
  fees: PropTypes.arrayOf(T['io.flow.v0.unions.partner_center_fee']),
13590
13817
  });
13591
13818
 
13819
+ T['io.flow.v0.models.payment_fee'] = PropTypes.exact({
13820
+ type: T['io.flow.v0.enums.payment_fee_type'].isRequired,
13821
+ money: T['io.flow.v0.models.money'].isRequired,
13822
+ base: T['io.flow.v0.models.money'],
13823
+ });
13824
+
13592
13825
  T['io.flow.v0.models.capture'] = PropTypes.exact({
13593
13826
  id: PropTypes.string.isRequired,
13594
13827
  key: PropTypes.string.isRequired,
@@ -13600,6 +13833,7 @@ T['io.flow.v0.models.capture'] = PropTypes.exact({
13600
13833
  attributes: PropTypes.objectOf(PropTypes.string),
13601
13834
  status: T['io.flow.v0.enums.capture_status'],
13602
13835
  base: T['io.flow.v0.models.money'],
13836
+ fees: PropTypes.arrayOf(T['io.flow.v0.models.payment_fee']),
13603
13837
  });
13604
13838
 
13605
13839
  T['io.flow.v0.models.refund_capture_summary'] = PropTypes.exact({
@@ -13954,6 +14188,9 @@ T['io.flow.v0.enums.unit_of_measurement'] = PropTypes.oneOf([
13954
14188
  'inch',
13955
14189
  'foot',
13956
14190
  'cubic_inch',
14191
+ 'cubic_foot',
14192
+ 'cubic_millimeter',
14193
+ 'cubic_centimeter',
13957
14194
  'cubic_meter',
13958
14195
  'gram',
13959
14196
  'kilogram',
@@ -15811,6 +16048,7 @@ T['io.flow.v0.unions.expandable_card'] = PropTypes.oneOfType([
15811
16048
  T['io.flow.v0.models.card'],
15812
16049
  T['io.flow.v0.models.card_reference'],
15813
16050
  T['io.flow.v0.models.card_summary'],
16051
+ T['io.flow.v0.models.external_card'],
15814
16052
  ]);
15815
16053
 
15816
16054
  T['io.flow.v0.models.card_authorization'] = PropTypes.exact({
@@ -16013,6 +16251,8 @@ T['io.flow.v0.models.ratecard_estimate_v4'] = PropTypes.exact({
16013
16251
  discriminator: PropTypes.oneOf(['ratecard_estimate_v4']).isRequired,
16014
16252
  hops: PropTypes.arrayOf(T['io.flow.v0.models.hop_v2']).isRequired,
16015
16253
  delivered_duty: T['io.flow.v0.enums.delivered_duty'].isRequired,
16254
+ distance_unit_of_measurement: T['io.flow.v0.enums.unit_of_measurement'],
16255
+ weight_unit_of_measurement: T['io.flow.v0.enums.unit_of_measurement'],
16016
16256
  dimensional_weight: T['io.flow.v0.models.measurement'],
16017
16257
  gravitational_weight: T['io.flow.v0.models.measurement'],
16018
16258
  ratecard_id: PropTypes.string,
@@ -16459,8 +16699,6 @@ T['io.flow.v0.unions.event'] = PropTypes.oneOfType([
16459
16699
  T['io.flow.v0.models.ge_item_inserted'],
16460
16700
  T['io.flow.v0.models.ge_item_updated'],
16461
16701
  T['io.flow.v0.models.ge_item_deleted'],
16462
- T['io.flow.v0.models.ge_product_restriction_result_upserted'],
16463
- T['io.flow.v0.models.ge_product_restriction_result_deleted'],
16464
16702
  T['io.flow.v0.models.hs6_code_upserted'],
16465
16703
  T['io.flow.v0.models.hs6_code_deleted'],
16466
16704
  T['io.flow.v0.models.hs10_code_upserted'],
@@ -16525,6 +16763,8 @@ T['io.flow.v0.unions.event'] = PropTypes.oneOfType([
16525
16763
  T['io.flow.v0.models.virtual_card_refund_deleted'],
16526
16764
  T['io.flow.v0.models.authorization_retry_upserted'],
16527
16765
  T['io.flow.v0.models.authorization_retry_deleted'],
16766
+ T['io.flow.v0.models.transfer_upserted'],
16767
+ T['io.flow.v0.models.transfer_deleted'],
16528
16768
  T['io.flow.v0.models.payment_request_upserted'],
16529
16769
  T['io.flow.v0.models.payment_request_deleted'],
16530
16770
  T['io.flow.v0.models.price_book_upserted'],
@@ -16851,8 +17091,6 @@ T['io.flow.v0.enums.event_type'] = PropTypes.oneOf([
16851
17091
  'ge_item_inserted',
16852
17092
  'ge_item_updated',
16853
17093
  'ge_item_deleted',
16854
- 'ge_product_restriction_result_upserted',
16855
- 'ge_product_restriction_result_deleted',
16856
17094
  'hs6_code_upserted',
16857
17095
  'hs6_code_deleted',
16858
17096
  'hs10_code_upserted',
@@ -16917,6 +17155,8 @@ T['io.flow.v0.enums.event_type'] = PropTypes.oneOf([
16917
17155
  'virtual_card_refund_deleted',
16918
17156
  'authorization_retry_upserted',
16919
17157
  'authorization_retry_deleted',
17158
+ 'transfer_upserted',
17159
+ 'transfer_deleted',
16920
17160
  'payment_request_upserted',
16921
17161
  'payment_request_deleted',
16922
17162
  'price_book_upserted',
@@ -17032,7 +17272,15 @@ T['io.flow.v0.enums.substatus_code'] = PropTypes.oneOf([
17032
17272
  T['io.flow.v0.enums.taxability_type'] = PropTypes.oneOf(['tax_rule']);
17033
17273
  T['io.flow.v0.enums.taxability_value'] = PropTypes.oneOf(['exempt']);
17034
17274
  T['io.flow.v0.enums.tracking_number_type'] = PropTypes.oneOf(['flow', 'carrier']);
17035
- T['io.flow.v0.enums.unit_of_volume'] = PropTypes.oneOf(['cubic_inch', 'cubic_meter']);
17275
+
17276
+ T['io.flow.v0.enums.unit_of_volume'] = PropTypes.oneOf([
17277
+ 'cubic_inch',
17278
+ 'cubic_foot',
17279
+ 'cubic_millimeter',
17280
+ 'cubic_centimeter',
17281
+ 'cubic_meter',
17282
+ ]);
17283
+
17036
17284
  T['io.flow.v0.enums.value_added_service'] = PropTypes.oneOf(['Hazardous Material']);
17037
17285
 
17038
17286
  T['io.flow.v0.models.activation_put_form'] = PropTypes.exact({
@@ -17726,6 +17974,7 @@ T['io.flow.google.pay.v0.models.signed_message'] = PropTypes.exact({
17726
17974
  });
17727
17975
 
17728
17976
  T['io.flow.stripe.v0.enums.event_type'] = PropTypes.oneOf([
17977
+ 'capability.updated',
17729
17978
  'charge.captured',
17730
17979
  'charge.failed',
17731
17980
  'charge.pending',
@@ -18087,12 +18336,6 @@ T['io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description'] =
18087
18336
  description: PropTypes.string.isRequired,
18088
18337
  });
18089
18338
 
18090
- T['io.flow.currency.v0.models.rate_form'] = PropTypes.exact({
18091
- base: PropTypes.string.isRequired,
18092
- target: PropTypes.string.isRequired,
18093
- effective_at: PropTypes.string.isRequired,
18094
- });
18095
-
18096
18339
  T['io.flow.organization.v0.models.organization_default_configurations_form'] = PropTypes.exact({
18097
18340
  id: PropTypes.string.isRequired,
18098
18341
  });
@@ -18144,6 +18387,12 @@ T['io.flow.inventory.v0.models.pfs_inventory_status'] = PropTypes.exact({
18144
18387
  status: PropTypes.string.isRequired,
18145
18388
  });
18146
18389
 
18390
+ T['io.flow.currency.v0.models.rate_form'] = PropTypes.exact({
18391
+ base: PropTypes.string.isRequired,
18392
+ target: PropTypes.string.isRequired,
18393
+ effective_at: PropTypes.string.isRequired,
18394
+ });
18395
+
18147
18396
  export const abandonedOrderEmailSettings = T['io.flow.v0.models.abandoned_order_email_settings'];
18148
18397
  export const abandonedOrderPromotion = T['io.flow.v0.models.abandoned_order_promotion'];
18149
18398
  export const abandonedOrderPromotionDetails = T['io.flow.v0.unions.abandoned_order_promotion_details'];
@@ -18593,6 +18842,7 @@ export const discountRuleSubsidyEntitlement = T['io.flow.v0.models.discount_rule
18593
18842
  export const discountRuleSubsidyTarget = T['io.flow.v0.enums.discount_rule_subsidy_target'];
18594
18843
  export const discountTarget = T['io.flow.v0.enums.discount_target'];
18595
18844
  export const discountsForm = T['io.flow.v0.models.discounts_form'];
18845
+ export const disputeReference = T['io.flow.v0.models.dispute_reference'];
18596
18846
  export const document = T['io.flow.v0.unions.document'];
18597
18847
  export const duration = T['io.flow.v0.models.duration'];
18598
18848
  export const dutiesTaxesPaidSurchargeRatecardFee = T['io.flow.v0.models.duties_taxes_paid_surcharge_ratecard_fee'];
@@ -18628,15 +18878,13 @@ export const entity = T['io.flow.v0.unions.entity'];
18628
18878
  export const entityIdentifier = T['io.flow.v0.models.entity_identifier'];
18629
18879
  export const entityIdentifierType = T['io.flow.v0.enums.entity_identifier_type'];
18630
18880
  export const environment = T['io.flow.v0.enums.environment'];
18631
- export const estimate = T['io.flow.v0.models.estimate'];
18632
- export const estimateOrigin = T['io.flow.v0.enums.estimate_origin'];
18633
- export const estimateType = T['io.flow.v0.enums.estimate_type'];
18634
18881
  export const estimatedDimensions = T['io.flow.v0.models.estimated_dimensions'];
18635
18882
  export const estimatedWindow = T['io.flow.v0.models.estimated_window'];
18636
18883
  export const event = T['io.flow.v0.unions.event'];
18637
18884
  export const eventType = T['io.flow.v0.enums.event_type'];
18638
18885
  export const exception = T['io.flow.v0.models.exception'];
18639
18886
  export const exceptionType = T['io.flow.v0.enums.exception_type'];
18887
+ export const exchangedMoney = T['io.flow.v0.models.exchanged_money'];
18640
18888
  export const exclusionRule = T['io.flow.v0.models.exclusion_rule'];
18641
18889
  export const exclusionRuleForm = T['io.flow.v0.models.exclusion_rule_form'];
18642
18890
  export const exclusionRuleState = T['io.flow.v0.enums.exclusion_rule_state'];
@@ -18709,6 +18957,7 @@ export const exportStatus = T['io.flow.v0.enums.export_status'];
18709
18957
  export const exportType = T['io.flow.v0.unions.export_type'];
18710
18958
  export const exportVersion = T['io.flow.v0.models.export_version'];
18711
18959
  export const exporterOfRecord = T['io.flow.v0.enums.exporter_of_record'];
18960
+ export const externalCard = T['io.flow.v0.models.external_card'];
18712
18961
  export const feeDeduction = T['io.flow.v0.models.fee_deduction'];
18713
18962
  export const feeDeductionType = T['io.flow.v0.enums.fee_deduction_type'];
18714
18963
  export const feeWeight = T['io.flow.v0.models.fee_weight'];
@@ -18774,11 +19023,19 @@ export const fulfillmentRouting = T['io.flow.v0.enums.fulfillment_routing'];
18774
19023
  export const fullyHarmonizedItemUpserted = T['io.flow.v0.models.fully_harmonized_item_upserted'];
18775
19024
  export const gatewayAuthenticationData = T['io.flow.v0.unions.gateway_authentication_data'];
18776
19025
  export const gatewayAuthenticationDataForm = T['io.flow.v0.unions.gateway_authentication_data_form'];
19026
+ export const geCatalogItemIngestionResponse = T['io.flow.v0.enums.ge_catalog_item_ingestion_response'];
19027
+ export const geCatalogItemIngestionResult = T['io.flow.v0.models.ge_catalog_item_ingestion_result'];
19028
+ export const geCatalogItemInput = T['io.flow.v0.models.ge_catalog_item_input'];
19029
+ export const geEnvironment = T['io.flow.v0.enums.ge_environment'];
19030
+ export const geEventType = T['io.flow.v0.enums.ge_event_type'];
19031
+ export const geInputAttributes = T['io.flow.v0.models.ge_input_attributes'];
19032
+ export const geInputPrice = T['io.flow.v0.models.ge_input_price'];
18777
19033
  export const geItemDeleted = T['io.flow.v0.models.ge_item_deleted'];
18778
19034
  export const geItemInserted = T['io.flow.v0.models.ge_item_inserted'];
18779
19035
  export const geItemUpdated = T['io.flow.v0.models.ge_item_updated'];
18780
- export const geProductRestrictionResultDeleted = T['io.flow.v0.models.ge_product_restriction_result_deleted'];
18781
- export const geProductRestrictionResultUpserted = T['io.flow.v0.models.ge_product_restriction_result_upserted'];
19036
+ export const geProductRestrictionResultDelete = T['io.flow.v0.models.ge_product_restriction_result_delete'];
19037
+ export const geProductRestrictionResultUpsert = T['io.flow.v0.models.ge_product_restriction_result_upsert'];
19038
+ export const geRestrictionEvent = T['io.flow.v0.unions.ge_restriction_event'];
18782
19039
  export const generateLoad = T['io.flow.v0.models.generate_load'];
18783
19040
  export const genericError = T['io.flow.v0.models.generic_error'];
18784
19041
  export const genericErrorCode = T['io.flow.v0.enums.generic_error_code'];
@@ -19217,6 +19474,8 @@ export const paymentError = T['io.flow.v0.models.payment_error'];
19217
19474
  export const paymentErrorCode = T['io.flow.v0.enums.payment_error_code'];
19218
19475
  export const paymentFailure = T['io.flow.v0.models.payment_failure'];
19219
19476
  export const paymentFailureCode = T['io.flow.v0.enums.payment_failure_code'];
19477
+ export const paymentFee = T['io.flow.v0.models.payment_fee'];
19478
+ export const paymentFeeType = T['io.flow.v0.enums.payment_fee_type'];
19220
19479
  export const paymentForm = T['io.flow.v0.unions.payment_form'];
19221
19480
  export const paymentInformation = T['io.flow.v0.models.payment_information'];
19222
19481
  export const paymentMethod = T['io.flow.v0.models.payment_method'];
@@ -19808,6 +20067,12 @@ export const transactionNetworkDetailsCard = T['io.flow.v0.models.transaction_ne
19808
20067
  export const transactionReference = T['io.flow.v0.models.transaction_reference'];
19809
20068
  export const transactionSource = T['io.flow.v0.enums.transaction_source'];
19810
20069
  export const transactionUpserted = T['io.flow.v0.models.transaction_upserted'];
20070
+ export const transfer = T['io.flow.v0.models.transfer'];
20071
+ export const transferDeleted = T['io.flow.v0.models.transfer_deleted'];
20072
+ export const transferReference = T['io.flow.v0.unions.transfer_reference'];
20073
+ export const transferStatus = T['io.flow.v0.enums.transfer_status'];
20074
+ export const transferType = T['io.flow.v0.enums.transfer_type'];
20075
+ export const transferUpserted = T['io.flow.v0.models.transfer_upserted'];
19811
20076
  export const transitEstimate = T['io.flow.v0.models.transit_estimate'];
19812
20077
  export const transitWindow = T['io.flow.v0.models.transit_window'];
19813
20078
  export const trueupLabelBase = T['io.flow.v0.models.trueup_label_base'];