@flowio/api-internal-prop-types 9.24.102 → 9.24.103

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.
@@ -4623,6 +4623,13 @@ T['io.flow.label.v0.models.shipping_label_summary'] = PropTypes.exact({
4623
4623
  carrier_tracking_number: PropTypes.string.isRequired,
4624
4624
  });
4625
4625
 
4626
+ T['io.flow.label.v0.enums.origin_location_source'] = PropTypes.oneOf([
4627
+ 'public_hub_code',
4628
+ 'merchant_hub_code_override',
4629
+ 'shopify',
4630
+ 'fallback_location',
4631
+ ]);
4632
+
4626
4633
  T['io.flow.common.v0.models.customer_reference'] = PropTypes.exact({
4627
4634
  number: PropTypes.string.isRequired,
4628
4635
  });
@@ -8272,6 +8279,13 @@ T['io.flow.internal.v0.models.svitlana_item_deleted'] = PropTypes.exact({
8272
8279
  id: PropTypes.string.isRequired,
8273
8280
  });
8274
8281
 
8282
+ T['io.flow.internal.v0.models.stripe_dispute_deleted'] = PropTypes.exact({
8283
+ discriminator: PropTypes.oneOf(['stripe_dispute_deleted']).isRequired,
8284
+ event_id: PropTypes.string.isRequired,
8285
+ timestamp: PropTypes.string.isRequired,
8286
+ id: PropTypes.string.isRequired,
8287
+ });
8288
+
8275
8289
  T['io.flow.internal.v0.models.shopify_order_fulfillments_snapshot_deleted'] = PropTypes.exact({
8276
8290
  discriminator: PropTypes.oneOf(['shopify_order_fulfillments_snapshot_deleted']).isRequired,
8277
8291
  event_id: PropTypes.string.isRequired,
@@ -9593,6 +9607,41 @@ T['io.flow.stripe.v0.models.account'] = PropTypes.exact({
9593
9607
  type: T['io.flow.stripe.v0.enums.account_type'],
9594
9608
  });
9595
9609
 
9610
+ T['io.flow.internal.v0.models.stripe_internal_dispute'] = PropTypes.exact({
9611
+ id: PropTypes.string.isRequired,
9612
+ stripe_id: PropTypes.string.isRequired,
9613
+ amount: PropTypes.number.isRequired,
9614
+ charge_id: PropTypes.string.isRequired,
9615
+ currency: PropTypes.string.isRequired,
9616
+ evidence: PropTypes.object.isRequired,
9617
+ metadata: PropTypes.object.isRequired,
9618
+ payment_intent_id: PropTypes.string,
9619
+ reason: PropTypes.string.isRequired,
9620
+ status: PropTypes.string.isRequired,
9621
+ connected_account: PropTypes.string,
9622
+ balance_transactions: PropTypes.arrayOf(PropTypes.object).isRequired,
9623
+ dispute_created_at: PropTypes.string.isRequired,
9624
+ dispute_expires_at: PropTypes.string,
9625
+ has_evidence: PropTypes.bool,
9626
+ past_due: PropTypes.bool,
9627
+ submission_count: PropTypes.number,
9628
+ is_charge_refundable: PropTypes.bool.isRequired,
9629
+ live_mode: PropTypes.bool.isRequired,
9630
+ payment_method_type: PropTypes.string,
9631
+ payment_method_reason_code: PropTypes.string,
9632
+ payment_method_card_brand: PropTypes.string,
9633
+ updated_by_user_id: PropTypes.string.isRequired,
9634
+ created_at: PropTypes.string.isRequired,
9635
+ updated_at: PropTypes.string.isRequired,
9636
+ });
9637
+
9638
+ T['io.flow.internal.v0.models.stripe_dispute_upserted'] = PropTypes.exact({
9639
+ discriminator: PropTypes.oneOf(['stripe_dispute_upserted']).isRequired,
9640
+ event_id: PropTypes.string.isRequired,
9641
+ timestamp: PropTypes.string.isRequired,
9642
+ dispute: T['io.flow.internal.v0.models.stripe_internal_dispute'].isRequired,
9643
+ });
9644
+
9596
9645
  T['io.flow.internal.v0.models.stripe_internal_capture'] = PropTypes.exact({
9597
9646
  id: PropTypes.string.isRequired,
9598
9647
  flow_capture_id: PropTypes.string.isRequired,
@@ -10590,7 +10639,7 @@ T['io.flow.internal.v0.models.reporting_reconciliation'] = PropTypes.exact({
10590
10639
  T['io.flow.internal.v0.models.reporting_conversion_rates'] = PropTypes.exact({
10591
10640
  merchant: PropTypes.number.isRequired,
10592
10641
  entity: PropTypes.number.isRequired,
10593
- destination_country: PropTypes.number.isRequired,
10642
+ destination_country: PropTypes.number,
10594
10643
  usd: PropTypes.number.isRequired,
10595
10644
  eur: PropTypes.number.isRequired,
10596
10645
  });
@@ -14216,7 +14265,7 @@ T['io.flow.internal.v0.models.reporting_monetary_value'] = PropTypes.exact({
14216
14265
  transaction: PropTypes.number.isRequired,
14217
14266
  merchant: PropTypes.number.isRequired,
14218
14267
  entity: PropTypes.number.isRequired,
14219
- destination_country: PropTypes.number.isRequired,
14268
+ destination_country: PropTypes.number,
14220
14269
  usd: PropTypes.number.isRequired,
14221
14270
  eur: PropTypes.number.isRequired,
14222
14271
  });
@@ -16176,176 +16225,6 @@ T['io.flow.fulfillment.v0.models.center_reference'] = PropTypes.exact({
16176
16225
  center_key: PropTypes.string.isRequired,
16177
16226
  });
16178
16227
 
16179
- T['io.flow.common.v0.models.address'] = PropTypes.exact({
16180
- text: PropTypes.string,
16181
- streets: PropTypes.arrayOf(PropTypes.string),
16182
- street_number: PropTypes.string,
16183
- city: PropTypes.string,
16184
- province: PropTypes.string,
16185
- postal: PropTypes.string,
16186
- country: PropTypes.string,
16187
- latitude: PropTypes.string,
16188
- longitude: PropTypes.string,
16189
- });
16190
-
16191
- T['io.flow.shopify.merchant.config.v0.models.know_your_business_usa_form'] = PropTypes.exact({
16192
- discriminator: PropTypes.oneOf(['know_your_business_usa_form']).isRequired,
16193
- primary_entity: T['io.flow.shopify.merchant.config.v0.unions.entity'].isRequired,
16194
- parent_company: T['io.flow.shopify.merchant.config.v0.models.company'],
16195
- ultimate_parent_company: T['io.flow.shopify.merchant.config.v0.models.company'],
16196
- ultimate_beneficiary_owner: T['io.flow.shopify.merchant.config.v0.models.individual'].isRequired,
16197
- business_url: PropTypes.string.isRequired,
16198
- business_address: T['io.flow.common.v0.models.address'].isRequired,
16199
- });
16200
-
16201
- T['io.flow.shopify.merchant.config.v0.unions.know_your_business_form'] = PropTypes.oneOfType(
16202
- [T['io.flow.shopify.merchant.config.v0.models.know_your_business_usa_form']],
16203
- );
16204
-
16205
- T['io.flow.shopify.merchant.config.v0.models.know_your_business_usa'] = PropTypes.exact({
16206
- discriminator: PropTypes.oneOf(['know_your_business_usa']).isRequired,
16207
- id: PropTypes.string.isRequired,
16208
- organization_id: PropTypes.string.isRequired,
16209
- shop: T['io.flow.merchant.onboarding.v0.models.shop'],
16210
- primary_entity: T['io.flow.shopify.merchant.config.v0.unions.entity'].isRequired,
16211
- parent_company: T['io.flow.shopify.merchant.config.v0.models.company'],
16212
- ultimate_parent_company: T['io.flow.shopify.merchant.config.v0.models.company'],
16213
- ultimate_beneficiary_owner: T['io.flow.shopify.merchant.config.v0.models.individual'].isRequired,
16214
- business_url: PropTypes.string.isRequired,
16215
- business_address: T['io.flow.common.v0.models.address'].isRequired,
16216
- });
16217
-
16218
- T['io.flow.shopify.merchant.config.v0.unions.know_your_business'] = PropTypes.oneOfType([T['io.flow.shopify.merchant.config.v0.models.know_your_business_usa']]);
16219
-
16220
- T['io.flow.shopify.markets.internal.v0.models.shopify_order_destination_form'] = PropTypes.exact({
16221
- destination: T['io.flow.common.v0.models.address'].isRequired,
16222
- order_note: PropTypes.string,
16223
- });
16224
-
16225
- T['io.flow.internal.v0.models.tax_calculation_line_item_form'] = PropTypes.exact({
16226
- line_number: PropTypes.string.isRequired,
16227
- item_number: PropTypes.string.isRequired,
16228
- ship_from: T['io.flow.common.v0.models.address'],
16229
- quantity: PropTypes.number.isRequired,
16230
- amount: PropTypes.number.isRequired,
16231
- tax_code: PropTypes.string,
16232
- sku: PropTypes.string,
16233
- description: PropTypes.string,
16234
- category_code: PropTypes.string,
16235
- });
16236
-
16237
- T['io.flow.internal.v0.models.tax_calculation_form'] = PropTypes.exact({
16238
- order_number: PropTypes.string.isRequired,
16239
- target_currency_code: PropTypes.string.isRequired,
16240
- destination: T['io.flow.common.v0.models.address'].isRequired,
16241
- order_date: PropTypes.string.isRequired,
16242
- lines: PropTypes.arrayOf(T['io.flow.internal.v0.models.tax_calculation_line_item_form']).isRequired,
16243
- shipping_amount: PropTypes.number.isRequired,
16244
- customer_code: PropTypes.string,
16245
- });
16246
-
16247
- T['io.flow.internal.v0.models.smp_tax_calculation_form'] = PropTypes.exact({
16248
- quote_reference: PropTypes.string.isRequired,
16249
- target_currency_code: PropTypes.string.isRequired,
16250
- destination: T['io.flow.common.v0.models.address'].isRequired,
16251
- order_date: PropTypes.string.isRequired,
16252
- lines: PropTypes.arrayOf(T['io.flow.internal.v0.models.tax_calculation_line_item_form']).isRequired,
16253
- shipping_amount: PropTypes.number.isRequired,
16254
- customer_code: PropTypes.string,
16255
- });
16256
-
16257
- T['io.flow.internal.v0.models.tax_calculation_line_item'] = PropTypes.exact({
16258
- line_number: PropTypes.string.isRequired,
16259
- item_number: PropTypes.string.isRequired,
16260
- ship_from: T['io.flow.common.v0.models.address'],
16261
- quantity: PropTypes.number.isRequired,
16262
- total: PropTypes.number.isRequired,
16263
- tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
16264
- sku: PropTypes.string,
16265
- description: PropTypes.string,
16266
- });
16267
-
16268
- T['io.flow.internal.v0.models.tax_calculation'] = PropTypes.exact({
16269
- order_number: PropTypes.string.isRequired,
16270
- target_currency_code: PropTypes.string.isRequired,
16271
- total: PropTypes.number.isRequired,
16272
- tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
16273
- lines: PropTypes.arrayOf(T['io.flow.internal.v0.models.tax_calculation_line_item']).isRequired,
16274
- shipping_total: PropTypes.number.isRequired,
16275
- shipping_tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
16276
- customer_code: PropTypes.string,
16277
- });
16278
-
16279
- T['io.flow.internal.v0.models.smp_tax_calculation'] = PropTypes.exact({
16280
- quote_reference: PropTypes.string.isRequired,
16281
- target_currency_code: PropTypes.string.isRequired,
16282
- total: PropTypes.number.isRequired,
16283
- tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
16284
- lines: PropTypes.arrayOf(T['io.flow.internal.v0.models.tax_calculation_line_item']).isRequired,
16285
- shipping_total: PropTypes.number.isRequired,
16286
- shipping_tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
16287
- customer_code: PropTypes.string,
16288
- });
16289
-
16290
- T['io.flow.internal.v0.models.shopify_order_destination_form'] = PropTypes.exact({
16291
- destination: T['io.flow.common.v0.models.address'].isRequired,
16292
- order_note: PropTypes.string,
16293
- });
16294
-
16295
- T['io.flow.internal.v0.models.rate_and_rule_item_form'] = PropTypes.exact({
16296
- item_reference: PropTypes.string.isRequired,
16297
- hs_code: PropTypes.string.isRequired,
16298
- origin: PropTypes.string.isRequired,
16299
- ship_from_address: T['io.flow.common.v0.models.address'].isRequired,
16300
- });
16301
-
16302
- T['io.flow.internal.v0.models.rate_and_rule_lookup_form'] = PropTypes.exact({
16303
- address: T['io.flow.common.v0.models.address'].isRequired,
16304
- effective_date: PropTypes.string.isRequired,
16305
- items: PropTypes.arrayOf(T['io.flow.internal.v0.models.rate_and_rule_item_form']).isRequired,
16306
- });
16307
-
16308
- T['io.flow.internal.v0.models.rate_and_rule_item'] = PropTypes.exact({
16309
- item_reference: PropTypes.string.isRequired,
16310
- hs_code: PropTypes.string.isRequired,
16311
- origin: PropTypes.string.isRequired,
16312
- ship_from_address: T['io.flow.common.v0.models.address'].isRequired,
16313
- duty: T['io.flow.price.v0.models.duty'].isRequired,
16314
- tax: T['io.flow.price.v0.models.tax'].isRequired,
16315
- duty_selection_rule: T['io.flow.internal.v0.enums.duty_selection_rule'].isRequired,
16316
- });
16317
-
16318
- T['io.flow.internal.v0.models.rate_and_rule_lookup'] = PropTypes.exact({
16319
- address: T['io.flow.common.v0.models.address'].isRequired,
16320
- effective_date: PropTypes.string.isRequired,
16321
- items: PropTypes.arrayOf(T['io.flow.internal.v0.models.rate_and_rule_item']).isRequired,
16322
- });
16323
-
16324
- T['io.flow.harmonization.v0.models.harmonized_landed_cost_item'] = PropTypes.exact({
16325
- item: T['io.flow.harmonization.v0.models.harmonized_item_reference'].isRequired,
16326
- duty: T['io.flow.price.v0.models.duty'].isRequired,
16327
- tax: T['io.flow.price.v0.models.tax'].isRequired,
16328
- tax_applicability: T['io.flow.harmonization.v0.enums.tax_applicability'],
16329
- origin: PropTypes.string,
16330
- hs_code: PropTypes.string,
16331
- tariff_code: PropTypes.string,
16332
- customs_description: PropTypes.string,
16333
- source_address: T['io.flow.common.v0.models.address'],
16334
- });
16335
-
16336
- T['io.flow.internal.v0.models.destination_error'] = PropTypes.exact({
16337
- id: PropTypes.string.isRequired,
16338
- failed_at: PropTypes.string.isRequired,
16339
- error: PropTypes.string.isRequired,
16340
- destination: T['io.flow.common.v0.models.address'].isRequired,
16341
- });
16342
-
16343
- T['io.flow.internal.v0.models.customs_details_form'] = PropTypes.exact({
16344
- destination: T['io.flow.common.v0.models.address'].isRequired,
16345
- item_numbers: PropTypes.arrayOf(PropTypes.string).isRequired,
16346
- ship_from: T['io.flow.common.v0.models.address'].isRequired,
16347
- });
16348
-
16349
16228
  T['io.flow.internal.v0.models.invoice_line_item'] = PropTypes.exact({
16350
16229
  number: PropTypes.string.isRequired,
16351
16230
  description: PropTypes.string.isRequired,
@@ -17085,29 +16964,6 @@ T['io.flow.harmonization.v0.models.tax_registration'] = PropTypes.exact({
17085
16964
  company_name: PropTypes.string,
17086
16965
  });
17087
16966
 
17088
- T['io.flow.harmonization.v0.models.harmonized_landed_cost'] = PropTypes.exact({
17089
- address: T['io.flow.common.v0.models.address'].isRequired,
17090
- items: PropTypes.arrayOf(T['io.flow.harmonization.v0.models.harmonized_landed_cost_item']).isRequired,
17091
- tax_registration: T['io.flow.harmonization.v0.models.tax_registration'],
17092
- });
17093
-
17094
- T['io.flow.internal.v0.models.levy_rate_summary'] = PropTypes.exact({
17095
- id: PropTypes.string.isRequired,
17096
- number: PropTypes.string.isRequired,
17097
- destination: T['io.flow.common.v0.models.address'].isRequired,
17098
- items: PropTypes.arrayOf(T['io.flow.harmonization.v0.models.harmonized_landed_cost_item']).isRequired,
17099
- tax_registration: T['io.flow.harmonization.v0.models.tax_registration'],
17100
- });
17101
-
17102
- T['io.flow.internal.v0.models.levy_rate_summary_upserted'] = PropTypes.exact({
17103
- discriminator: PropTypes.oneOf(['levy_rate_summary_upserted']).isRequired,
17104
- event_id: PropTypes.string.isRequired,
17105
- timestamp: PropTypes.string.isRequired,
17106
- organization: PropTypes.string.isRequired,
17107
- id: PropTypes.string.isRequired,
17108
- summary: T['io.flow.internal.v0.models.levy_rate_summary'].isRequired,
17109
- });
17110
-
17111
16967
  T['io.flow.experience.v0.models.order_rules_summary'] = PropTypes.exact({
17112
16968
  applied: PropTypes.arrayOf(T['io.flow.experience.v0.models.order_rule_reference']).isRequired,
17113
16969
  });
@@ -17864,25 +17720,6 @@ T['io.flow.tracking.v0.models.tracking_event_form'] = PropTypes.exact({
17864
17720
  address: PropTypes.string,
17865
17721
  });
17866
17722
 
17867
- T['io.flow.tracking.v0.models.tracking_event'] = PropTypes.exact({
17868
- id: PropTypes.string.isRequired,
17869
- address: T['io.flow.common.v0.models.address'].isRequired,
17870
- status: T['io.flow.tracking.v0.enums.tracking_status'].isRequired,
17871
- timestamp: PropTypes.string.isRequired,
17872
- description: PropTypes.string,
17873
- });
17874
-
17875
- T['io.flow.tracking.v0.models.tracking_label'] = PropTypes.exact({
17876
- id: PropTypes.string.isRequired,
17877
- carrier: PropTypes.string.isRequired,
17878
- carrier_tracking_number: PropTypes.string.isRequired,
17879
- events: PropTypes.arrayOf(T['io.flow.tracking.v0.models.tracking_event']).isRequired,
17880
- status: T['io.flow.tracking.v0.enums.tracking_status'].isRequired,
17881
- timestamp: PropTypes.string.isRequired,
17882
- delivery_estimate: PropTypes.string,
17883
- description: PropTypes.string,
17884
- });
17885
-
17886
17723
  T['io.flow.internal.v0.models.tracking_debug_label_event'] = PropTypes.exact({
17887
17724
  status: T['io.flow.tracking.v0.enums.tracking_status'].isRequired,
17888
17725
  raw_carrier_event_code: PropTypes.string,
@@ -17895,54 +17732,22 @@ T['io.flow.internal.v0.models.tracking_debug_label'] = PropTypes.exact({
17895
17732
  events: PropTypes.arrayOf(T['io.flow.internal.v0.models.tracking_debug_label_event']).isRequired,
17896
17733
  });
17897
17734
 
17898
- T['io.flow.internal.v0.models.export_tracking_label_event'] = PropTypes.exact({
17735
+ T['io.flow.internal.v0.models.export_tracking_label'] = PropTypes.exact({
17899
17736
  id: PropTypes.string.isRequired,
17900
- address: T['io.flow.common.v0.models.address'],
17901
17737
  carrier: PropTypes.string.isRequired,
17902
- carrier_timestamp: PropTypes.string.isRequired,
17903
17738
  carrier_tracking_number: PropTypes.string.isRequired,
17904
- flow_tracking_number: PropTypes.string.isRequired,
17905
17739
  status: T['io.flow.tracking.v0.enums.tracking_status'].isRequired,
17740
+ created_at: PropTypes.string.isRequired,
17906
17741
  delivery_estimate: PropTypes.string,
17907
17742
  description: PropTypes.string,
17908
- order_number: PropTypes.string,
17909
- raw_carrier_event_code: PropTypes.string,
17910
- aggregator_status_code: PropTypes.string,
17911
- created_at: PropTypes.string,
17912
17743
  });
17913
17744
 
17914
- T['io.flow.internal.v0.models.tracking_label_event_upserted_v2'] = PropTypes.exact({
17915
- discriminator: PropTypes.oneOf(['tracking_label_event_upserted_v2']).isRequired,
17745
+ T['io.flow.internal.v0.models.tracking_label_upserted'] = PropTypes.exact({
17746
+ discriminator: PropTypes.oneOf(['tracking_label_upserted']).isRequired,
17916
17747
  event_id: PropTypes.string.isRequired,
17917
17748
  timestamp: PropTypes.string.isRequired,
17918
17749
  organization: PropTypes.string.isRequired,
17919
- tracking_label_event: T['io.flow.internal.v0.models.export_tracking_label_event'].isRequired,
17920
- });
17921
-
17922
- T['io.flow.internal.v0.models.tracking_label_event_deleted_v2'] = PropTypes.exact({
17923
- discriminator: PropTypes.oneOf(['tracking_label_event_deleted_v2']).isRequired,
17924
- event_id: PropTypes.string.isRequired,
17925
- timestamp: PropTypes.string.isRequired,
17926
- organization: PropTypes.string.isRequired,
17927
- tracking_label_event: T['io.flow.internal.v0.models.export_tracking_label_event'].isRequired,
17928
- });
17929
-
17930
- T['io.flow.internal.v0.models.export_tracking_label'] = PropTypes.exact({
17931
- id: PropTypes.string.isRequired,
17932
- carrier: PropTypes.string.isRequired,
17933
- carrier_tracking_number: PropTypes.string.isRequired,
17934
- status: T['io.flow.tracking.v0.enums.tracking_status'].isRequired,
17935
- created_at: PropTypes.string.isRequired,
17936
- delivery_estimate: PropTypes.string,
17937
- description: PropTypes.string,
17938
- });
17939
-
17940
- T['io.flow.internal.v0.models.tracking_label_upserted'] = PropTypes.exact({
17941
- discriminator: PropTypes.oneOf(['tracking_label_upserted']).isRequired,
17942
- event_id: PropTypes.string.isRequired,
17943
- timestamp: PropTypes.string.isRequired,
17944
- organization: PropTypes.string.isRequired,
17945
- tracking_label: T['io.flow.internal.v0.models.export_tracking_label'].isRequired,
17750
+ tracking_label: T['io.flow.internal.v0.models.export_tracking_label'].isRequired,
17946
17751
  });
17947
17752
 
17948
17753
  T['io.flow.internal.v0.models.tracking_label_deleted'] = PropTypes.exact({
@@ -18497,6 +18302,250 @@ T['io.flow.internal.v0.models.item_form_import_request'] = PropTypes.exact({
18497
18302
  internal_item_form: T['io.flow.internal.v0.models.internal_item_form'].isRequired,
18498
18303
  });
18499
18304
 
18305
+ T['io.flow.common.v0.models.address'] = PropTypes.exact({
18306
+ text: PropTypes.string,
18307
+ streets: PropTypes.arrayOf(PropTypes.string),
18308
+ street_number: PropTypes.string,
18309
+ city: PropTypes.string,
18310
+ province: PropTypes.string,
18311
+ postal: PropTypes.string,
18312
+ country: PropTypes.string,
18313
+ latitude: PropTypes.string,
18314
+ longitude: PropTypes.string,
18315
+ });
18316
+
18317
+ T['io.flow.shopify.merchant.config.v0.models.know_your_business_usa_form'] = PropTypes.exact({
18318
+ discriminator: PropTypes.oneOf(['know_your_business_usa_form']).isRequired,
18319
+ primary_entity: T['io.flow.shopify.merchant.config.v0.unions.entity'].isRequired,
18320
+ parent_company: T['io.flow.shopify.merchant.config.v0.models.company'],
18321
+ ultimate_parent_company: T['io.flow.shopify.merchant.config.v0.models.company'],
18322
+ ultimate_beneficiary_owner: T['io.flow.shopify.merchant.config.v0.models.individual'].isRequired,
18323
+ business_url: PropTypes.string.isRequired,
18324
+ business_address: T['io.flow.common.v0.models.address'].isRequired,
18325
+ });
18326
+
18327
+ T['io.flow.shopify.merchant.config.v0.unions.know_your_business_form'] = PropTypes.oneOfType(
18328
+ [T['io.flow.shopify.merchant.config.v0.models.know_your_business_usa_form']],
18329
+ );
18330
+
18331
+ T['io.flow.shopify.merchant.config.v0.models.know_your_business_usa'] = PropTypes.exact({
18332
+ discriminator: PropTypes.oneOf(['know_your_business_usa']).isRequired,
18333
+ id: PropTypes.string.isRequired,
18334
+ organization_id: PropTypes.string.isRequired,
18335
+ shop: T['io.flow.merchant.onboarding.v0.models.shop'],
18336
+ primary_entity: T['io.flow.shopify.merchant.config.v0.unions.entity'].isRequired,
18337
+ parent_company: T['io.flow.shopify.merchant.config.v0.models.company'],
18338
+ ultimate_parent_company: T['io.flow.shopify.merchant.config.v0.models.company'],
18339
+ ultimate_beneficiary_owner: T['io.flow.shopify.merchant.config.v0.models.individual'].isRequired,
18340
+ business_url: PropTypes.string.isRequired,
18341
+ business_address: T['io.flow.common.v0.models.address'].isRequired,
18342
+ });
18343
+
18344
+ T['io.flow.shopify.merchant.config.v0.unions.know_your_business'] = PropTypes.oneOfType([T['io.flow.shopify.merchant.config.v0.models.know_your_business_usa']]);
18345
+
18346
+ T['io.flow.shopify.markets.internal.v0.models.shopify_order_destination_form'] = PropTypes.exact({
18347
+ destination: T['io.flow.common.v0.models.address'].isRequired,
18348
+ order_note: PropTypes.string,
18349
+ });
18350
+
18351
+ T['io.flow.tracking.v0.models.tracking_event'] = PropTypes.exact({
18352
+ id: PropTypes.string.isRequired,
18353
+ address: T['io.flow.common.v0.models.address'].isRequired,
18354
+ status: T['io.flow.tracking.v0.enums.tracking_status'].isRequired,
18355
+ timestamp: PropTypes.string.isRequired,
18356
+ description: PropTypes.string,
18357
+ });
18358
+
18359
+ T['io.flow.tracking.v0.models.tracking_label'] = PropTypes.exact({
18360
+ id: PropTypes.string.isRequired,
18361
+ carrier: PropTypes.string.isRequired,
18362
+ carrier_tracking_number: PropTypes.string.isRequired,
18363
+ events: PropTypes.arrayOf(T['io.flow.tracking.v0.models.tracking_event']).isRequired,
18364
+ status: T['io.flow.tracking.v0.enums.tracking_status'].isRequired,
18365
+ timestamp: PropTypes.string.isRequired,
18366
+ delivery_estimate: PropTypes.string,
18367
+ description: PropTypes.string,
18368
+ });
18369
+
18370
+ T['io.flow.internal.v0.models.tax_calculation_line_item_form'] = PropTypes.exact({
18371
+ line_number: PropTypes.string.isRequired,
18372
+ item_number: PropTypes.string.isRequired,
18373
+ ship_from: T['io.flow.common.v0.models.address'],
18374
+ quantity: PropTypes.number.isRequired,
18375
+ amount: PropTypes.number.isRequired,
18376
+ tax_code: PropTypes.string,
18377
+ sku: PropTypes.string,
18378
+ description: PropTypes.string,
18379
+ category_code: PropTypes.string,
18380
+ });
18381
+
18382
+ T['io.flow.internal.v0.models.tax_calculation_form'] = PropTypes.exact({
18383
+ order_number: PropTypes.string.isRequired,
18384
+ target_currency_code: PropTypes.string.isRequired,
18385
+ destination: T['io.flow.common.v0.models.address'].isRequired,
18386
+ order_date: PropTypes.string.isRequired,
18387
+ lines: PropTypes.arrayOf(T['io.flow.internal.v0.models.tax_calculation_line_item_form']).isRequired,
18388
+ shipping_amount: PropTypes.number.isRequired,
18389
+ customer_code: PropTypes.string,
18390
+ });
18391
+
18392
+ T['io.flow.internal.v0.models.smp_tax_calculation_form'] = PropTypes.exact({
18393
+ quote_reference: PropTypes.string.isRequired,
18394
+ target_currency_code: PropTypes.string.isRequired,
18395
+ destination: T['io.flow.common.v0.models.address'].isRequired,
18396
+ order_date: PropTypes.string.isRequired,
18397
+ lines: PropTypes.arrayOf(T['io.flow.internal.v0.models.tax_calculation_line_item_form']).isRequired,
18398
+ shipping_amount: PropTypes.number.isRequired,
18399
+ customer_code: PropTypes.string,
18400
+ });
18401
+
18402
+ T['io.flow.internal.v0.models.tax_calculation_line_item'] = PropTypes.exact({
18403
+ line_number: PropTypes.string.isRequired,
18404
+ item_number: PropTypes.string.isRequired,
18405
+ ship_from: T['io.flow.common.v0.models.address'],
18406
+ quantity: PropTypes.number.isRequired,
18407
+ total: PropTypes.number.isRequired,
18408
+ tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
18409
+ sku: PropTypes.string,
18410
+ description: PropTypes.string,
18411
+ });
18412
+
18413
+ T['io.flow.internal.v0.models.tax_calculation'] = PropTypes.exact({
18414
+ order_number: PropTypes.string.isRequired,
18415
+ target_currency_code: PropTypes.string.isRequired,
18416
+ total: PropTypes.number.isRequired,
18417
+ tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
18418
+ lines: PropTypes.arrayOf(T['io.flow.internal.v0.models.tax_calculation_line_item']).isRequired,
18419
+ shipping_total: PropTypes.number.isRequired,
18420
+ shipping_tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
18421
+ customer_code: PropTypes.string,
18422
+ });
18423
+
18424
+ T['io.flow.internal.v0.models.smp_tax_calculation'] = PropTypes.exact({
18425
+ quote_reference: PropTypes.string.isRequired,
18426
+ target_currency_code: PropTypes.string.isRequired,
18427
+ total: PropTypes.number.isRequired,
18428
+ tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
18429
+ lines: PropTypes.arrayOf(T['io.flow.internal.v0.models.tax_calculation_line_item']).isRequired,
18430
+ shipping_total: PropTypes.number.isRequired,
18431
+ shipping_tax: T['io.flow.internal.v0.unions.tax_amount'].isRequired,
18432
+ customer_code: PropTypes.string,
18433
+ });
18434
+
18435
+ T['io.flow.internal.v0.models.shopify_order_destination_form'] = PropTypes.exact({
18436
+ destination: T['io.flow.common.v0.models.address'].isRequired,
18437
+ order_note: PropTypes.string,
18438
+ });
18439
+
18440
+ T['io.flow.internal.v0.models.rate_and_rule_item_form'] = PropTypes.exact({
18441
+ item_reference: PropTypes.string.isRequired,
18442
+ hs_code: PropTypes.string.isRequired,
18443
+ origin: PropTypes.string.isRequired,
18444
+ ship_from_address: T['io.flow.common.v0.models.address'].isRequired,
18445
+ });
18446
+
18447
+ T['io.flow.internal.v0.models.rate_and_rule_lookup_form'] = PropTypes.exact({
18448
+ address: T['io.flow.common.v0.models.address'].isRequired,
18449
+ effective_date: PropTypes.string.isRequired,
18450
+ items: PropTypes.arrayOf(T['io.flow.internal.v0.models.rate_and_rule_item_form']).isRequired,
18451
+ });
18452
+
18453
+ T['io.flow.internal.v0.models.rate_and_rule_item'] = PropTypes.exact({
18454
+ item_reference: PropTypes.string.isRequired,
18455
+ hs_code: PropTypes.string.isRequired,
18456
+ origin: PropTypes.string.isRequired,
18457
+ ship_from_address: T['io.flow.common.v0.models.address'].isRequired,
18458
+ duty: T['io.flow.price.v0.models.duty'].isRequired,
18459
+ tax: T['io.flow.price.v0.models.tax'].isRequired,
18460
+ duty_selection_rule: T['io.flow.internal.v0.enums.duty_selection_rule'].isRequired,
18461
+ });
18462
+
18463
+ T['io.flow.internal.v0.models.rate_and_rule_lookup'] = PropTypes.exact({
18464
+ address: T['io.flow.common.v0.models.address'].isRequired,
18465
+ effective_date: PropTypes.string.isRequired,
18466
+ items: PropTypes.arrayOf(T['io.flow.internal.v0.models.rate_and_rule_item']).isRequired,
18467
+ });
18468
+
18469
+ T['io.flow.harmonization.v0.models.harmonized_landed_cost_item'] = PropTypes.exact({
18470
+ item: T['io.flow.harmonization.v0.models.harmonized_item_reference'].isRequired,
18471
+ duty: T['io.flow.price.v0.models.duty'].isRequired,
18472
+ tax: T['io.flow.price.v0.models.tax'].isRequired,
18473
+ tax_applicability: T['io.flow.harmonization.v0.enums.tax_applicability'],
18474
+ origin: PropTypes.string,
18475
+ hs_code: PropTypes.string,
18476
+ tariff_code: PropTypes.string,
18477
+ customs_description: PropTypes.string,
18478
+ source_address: T['io.flow.common.v0.models.address'],
18479
+ });
18480
+
18481
+ T['io.flow.harmonization.v0.models.harmonized_landed_cost'] = PropTypes.exact({
18482
+ address: T['io.flow.common.v0.models.address'].isRequired,
18483
+ items: PropTypes.arrayOf(T['io.flow.harmonization.v0.models.harmonized_landed_cost_item']).isRequired,
18484
+ tax_registration: T['io.flow.harmonization.v0.models.tax_registration'],
18485
+ });
18486
+
18487
+ T['io.flow.internal.v0.models.levy_rate_summary'] = PropTypes.exact({
18488
+ id: PropTypes.string.isRequired,
18489
+ number: PropTypes.string.isRequired,
18490
+ destination: T['io.flow.common.v0.models.address'].isRequired,
18491
+ items: PropTypes.arrayOf(T['io.flow.harmonization.v0.models.harmonized_landed_cost_item']).isRequired,
18492
+ tax_registration: T['io.flow.harmonization.v0.models.tax_registration'],
18493
+ });
18494
+
18495
+ T['io.flow.internal.v0.models.levy_rate_summary_upserted'] = PropTypes.exact({
18496
+ discriminator: PropTypes.oneOf(['levy_rate_summary_upserted']).isRequired,
18497
+ event_id: PropTypes.string.isRequired,
18498
+ timestamp: PropTypes.string.isRequired,
18499
+ organization: PropTypes.string.isRequired,
18500
+ id: PropTypes.string.isRequired,
18501
+ summary: T['io.flow.internal.v0.models.levy_rate_summary'].isRequired,
18502
+ });
18503
+
18504
+ T['io.flow.internal.v0.models.export_tracking_label_event'] = PropTypes.exact({
18505
+ id: PropTypes.string.isRequired,
18506
+ address: T['io.flow.common.v0.models.address'],
18507
+ carrier: PropTypes.string.isRequired,
18508
+ carrier_timestamp: PropTypes.string.isRequired,
18509
+ carrier_tracking_number: PropTypes.string.isRequired,
18510
+ flow_tracking_number: PropTypes.string.isRequired,
18511
+ status: T['io.flow.tracking.v0.enums.tracking_status'].isRequired,
18512
+ delivery_estimate: PropTypes.string,
18513
+ description: PropTypes.string,
18514
+ order_number: PropTypes.string,
18515
+ raw_carrier_event_code: PropTypes.string,
18516
+ aggregator_status_code: PropTypes.string,
18517
+ created_at: PropTypes.string,
18518
+ });
18519
+
18520
+ T['io.flow.internal.v0.models.tracking_label_event_upserted_v2'] = PropTypes.exact({
18521
+ discriminator: PropTypes.oneOf(['tracking_label_event_upserted_v2']).isRequired,
18522
+ event_id: PropTypes.string.isRequired,
18523
+ timestamp: PropTypes.string.isRequired,
18524
+ organization: PropTypes.string.isRequired,
18525
+ tracking_label_event: T['io.flow.internal.v0.models.export_tracking_label_event'].isRequired,
18526
+ });
18527
+
18528
+ T['io.flow.internal.v0.models.tracking_label_event_deleted_v2'] = PropTypes.exact({
18529
+ discriminator: PropTypes.oneOf(['tracking_label_event_deleted_v2']).isRequired,
18530
+ event_id: PropTypes.string.isRequired,
18531
+ timestamp: PropTypes.string.isRequired,
18532
+ organization: PropTypes.string.isRequired,
18533
+ tracking_label_event: T['io.flow.internal.v0.models.export_tracking_label_event'].isRequired,
18534
+ });
18535
+
18536
+ T['io.flow.internal.v0.models.destination_error'] = PropTypes.exact({
18537
+ id: PropTypes.string.isRequired,
18538
+ failed_at: PropTypes.string.isRequired,
18539
+ error: PropTypes.string.isRequired,
18540
+ destination: T['io.flow.common.v0.models.address'].isRequired,
18541
+ });
18542
+
18543
+ T['io.flow.internal.v0.models.customs_details_form'] = PropTypes.exact({
18544
+ destination: T['io.flow.common.v0.models.address'].isRequired,
18545
+ item_numbers: PropTypes.arrayOf(PropTypes.string).isRequired,
18546
+ ship_from: T['io.flow.common.v0.models.address'].isRequired,
18547
+ });
18548
+
18500
18549
  T['io.flow.fulfillment.v0.models.packaging'] = PropTypes.exact({
18501
18550
  dimensions: T['io.flow.common.v0.models.dimensions'].isRequired,
18502
18551
  name: PropTypes.string,
@@ -20409,12 +20458,14 @@ T['io.flow.internal.v0.unions.console_label_validation_form'] = PropTypes.oneOfT
20409
20458
  T['io.flow.internal.v0.models.center_defaults_form'] = PropTypes.exact({
20410
20459
  packaging: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.packaging']).isRequired,
20411
20460
  shipping_address_contact: T['io.flow.common.v0.models.contact'].isRequired,
20461
+ location_fallback: T['io.flow.common.v0.models.address'],
20412
20462
  });
20413
20463
 
20414
20464
  T['io.flow.internal.v0.models.center_defaults'] = PropTypes.exact({
20415
20465
  id: PropTypes.string.isRequired,
20416
20466
  packaging: PropTypes.arrayOf(T['io.flow.fulfillment.v0.models.packaging']).isRequired,
20417
20467
  shipping_address_contact: T['io.flow.common.v0.models.contact'].isRequired,
20468
+ location_fallback: T['io.flow.common.v0.models.address'],
20418
20469
  });
20419
20470
 
20420
20471
  T['io.flow.internal.v0.models.center_defaults_upserted'] = PropTypes.exact({
@@ -22865,6 +22916,7 @@ T['io.flow.label.v0.models.detailed_shipping_label_form'] = PropTypes.exact({
22865
22916
  service: PropTypes.string,
22866
22917
  shipment_recipient: T['io.flow.label.v0.enums.shipment_recipient'],
22867
22918
  package_dimensions_source: T['io.flow.label.v0.enums.package_dimensions_source'],
22919
+ origin_location_source: T['io.flow.label.v0.enums.origin_location_source'],
22868
22920
  reference_id: PropTypes.string,
22869
22921
  });
22870
22922
 
@@ -22876,6 +22928,7 @@ T['io.flow.label.v0.models.bridge_shipping_label_form'] = PropTypes.exact({
22876
22928
  origin: T['io.flow.fulfillment.v0.models.shipping_address'],
22877
22929
  direction: T['io.flow.label.v0.enums.direction'],
22878
22930
  reference_id: PropTypes.string,
22931
+ origin_location_source: T['io.flow.label.v0.enums.origin_location_source'],
22879
22932
  hub_code: PropTypes.string,
22880
22933
  });
22881
22934
 
@@ -27670,6 +27723,8 @@ T['io.flow.internal.v0.unions.event'] = PropTypes.oneOfType([
27670
27723
  T['io.flow.internal.v0.models.stripe_capture_upserted'],
27671
27724
  T['io.flow.internal.v0.models.stripe_refund_deleted'],
27672
27725
  T['io.flow.internal.v0.models.stripe_refund_upserted'],
27726
+ T['io.flow.internal.v0.models.stripe_dispute_upserted'],
27727
+ T['io.flow.internal.v0.models.stripe_dispute_deleted'],
27673
27728
  T['io.flow.internal.v0.models.liability_remittance_plan_upserted'],
27674
27729
  T['io.flow.internal.v0.models.liability_remittance_plan_deleted'],
27675
27730
  T['io.flow.internal.v0.models.svitlana_item_upserted'],
@@ -28218,6 +28273,8 @@ T['io.flow.internal.v0.enums.event_type'] = PropTypes.oneOf([
28218
28273
  'stripe_capture_upserted',
28219
28274
  'stripe_refund_deleted',
28220
28275
  'stripe_refund_upserted',
28276
+ 'stripe_dispute_upserted',
28277
+ 'stripe_dispute_deleted',
28221
28278
  'liability_remittance_plan_upserted',
28222
28279
  'liability_remittance_plan_deleted',
28223
28280
  'svitlana_item_upserted',
@@ -28501,6 +28558,11 @@ T['io.flow.internal.v0.models.calculator_organization_settings_form'] = PropType
28501
28558
  default_hs_code: PropTypes.string,
28502
28559
  });
28503
28560
 
28561
+ T['io.flow.internal.v0.models.call_record'] = PropTypes.exact({
28562
+ id: PropTypes.string.isRequired,
28563
+ request_body: PropTypes.string,
28564
+ });
28565
+
28504
28566
  T['io.flow.internal.v0.models.carrier_invoice'] = PropTypes.exact({
28505
28567
  number: PropTypes.string.isRequired,
28506
28568
  timestamp: PropTypes.string.isRequired,
@@ -29022,13 +29084,6 @@ T['io.flow.internal.v0.models.partner_organization_authorization_form'] = PropTy
29022
29084
  partner: PropTypes.string.isRequired,
29023
29085
  });
29024
29086
 
29025
- T['io.flow.internal.v0.models.partner_request'] = PropTypes.exact({
29026
- id: PropTypes.string.isRequired,
29027
- partner_id: PropTypes.string.isRequired,
29028
- organization_id: PropTypes.string.isRequired,
29029
- request_body: PropTypes.string,
29030
- });
29031
-
29032
29087
  T['io.flow.internal.v0.models.passphrase_form'] = PropTypes.exact({
29033
29088
  tribe: PropTypes.string.isRequired,
29034
29089
  current_password: PropTypes.string,
@@ -30793,6 +30848,7 @@ export const calculatorOrganizationSettingsDeleted = T['io.flow.internal.v0.mode
30793
30848
  export const calculatorOrganizationSettingsForm = T['io.flow.internal.v0.models.calculator_organization_settings_form'];
30794
30849
  export const calculatorOrganizationSettingsUpserted = T['io.flow.internal.v0.models.calculator_organization_settings_upserted'];
30795
30850
  export const calculatorStamp = T['io.flow.internal.v0.unions.calculator_stamp'];
30851
+ export const callRecord = T['io.flow.internal.v0.models.call_record'];
30796
30852
  export const carrierAccount = T['io.flow.internal.v0.models.carrier_account'];
30797
30853
  export const carrierAccountDeleted = T['io.flow.internal.v0.models.carrier_account_deleted'];
30798
30854
  export const carrierAccountForm = T['io.flow.internal.v0.models.carrier_account_form'];
@@ -31865,7 +31921,6 @@ export const partnerOrganizationSettings = T['io.flow.internal.v0.models.partner
31865
31921
  export const partnerOrganizationSettingsDeleted = T['io.flow.internal.v0.models.partner_organization_settings_deleted'];
31866
31922
  export const partnerOrganizationSettingsForm = T['io.flow.internal.v0.models.partner_organization_settings_form'];
31867
31923
  export const partnerOrganizationSettingsUpserted = T['io.flow.internal.v0.models.partner_organization_settings_upserted'];
31868
- export const partnerRequest = T['io.flow.internal.v0.models.partner_request'];
31869
31924
  export const party = T['io.flow.internal.v0.enums.party'];
31870
31925
  export const passphrase = T['io.flow.internal.v0.models.passphrase'];
31871
31926
  export const passphraseForm = T['io.flow.internal.v0.models.passphrase_form'];
@@ -32365,8 +32420,11 @@ export const stripeAuthorizationDeleted = T['io.flow.internal.v0.models.stripe_a
32365
32420
  export const stripeAuthorizationUpserted = T['io.flow.internal.v0.models.stripe_authorization_upserted'];
32366
32421
  export const stripeCaptureDeleted = T['io.flow.internal.v0.models.stripe_capture_deleted'];
32367
32422
  export const stripeCaptureUpserted = T['io.flow.internal.v0.models.stripe_capture_upserted'];
32423
+ export const stripeDisputeDeleted = T['io.flow.internal.v0.models.stripe_dispute_deleted'];
32424
+ export const stripeDisputeUpserted = T['io.flow.internal.v0.models.stripe_dispute_upserted'];
32368
32425
  export const stripeInternalAuthorization = T['io.flow.internal.v0.models.stripe_internal_authorization'];
32369
32426
  export const stripeInternalCapture = T['io.flow.internal.v0.models.stripe_internal_capture'];
32427
+ export const stripeInternalDispute = T['io.flow.internal.v0.models.stripe_internal_dispute'];
32370
32428
  export const stripeInternalRefund = T['io.flow.internal.v0.models.stripe_internal_refund'];
32371
32429
  export const stripeInternalReversal = T['io.flow.internal.v0.models.stripe_internal_reversal'];
32372
32430
  export const stripeMerchant = T['io.flow.internal.v0.models.stripe_merchant'];