@flowio/api-factories 0.0.124 → 0.0.126

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/dist/esm/api.js CHANGED
@@ -197,7 +197,7 @@ var factories = {
197
197
  order_updated_at: factories.date_time_iso_8601(),
198
198
  order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
199
199
  payment_source: factories['io.flow.channel.internal.v0.enums.order_payment_source_type'](),
200
- external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
200
+ external_order_summary: factories['io.flow.channel.internal.v0.models.external_order_summary'](),
201
201
  }); },
202
202
  'io.flow.channel.internal.v0.models.channel_order_acceptance_details': function () { return ({
203
203
  order_acceptance: factories['io.flow.channel.internal.v0.models.channel_order_acceptance'](),
@@ -248,32 +248,17 @@ var factories = {
248
248
  catalog_sync_duration: factories.long(),
249
249
  catalog_products_count: factories.long(),
250
250
  }); },
251
+ 'io.flow.channel.internal.v0.models.external_order_summary': function () { return ({
252
+ id: factories.string(),
253
+ edit_ids: arrayOf(function () { return factories.string(); }),
254
+ created_at: factories.date_time_iso_8601(),
255
+ }); },
251
256
  'io.flow.channel.internal.v0.models.flow_channel_organization': function () { return ({
252
257
  placeholder: factories.string(),
253
258
  }); },
254
259
  'io.flow.channel.internal.v0.models.order_edit_summary': function () { return ({
255
260
  edited_at: factories.date_time_iso_8601(),
256
261
  }); },
257
- 'io.flow.channel.shopify.v0.enums.channel_shopify_order_state_reason_code': function () { return faker.helpers.arrayElement(['placeholder_reason_code']); },
258
- 'io.flow.channel.shopify.v0.models.channel_shopify_order_state': function () { return ({
259
- id: factories.string(),
260
- shopify_order_summary: factories['io.flow.channel.shopify.v0.models.channel_shopify_order_summary'](),
261
- status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
262
- reasons: arrayOf(function () { return factories['io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason'](); }),
263
- external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
264
- }); },
265
- 'io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason': function () { return ({
266
- code: factories['io.flow.channel.shopify.v0.enums.channel_shopify_order_state_reason_code'](),
267
- message: factories.string(),
268
- }); },
269
- 'io.flow.channel.shopify.v0.models.channel_shopify_order_summary': function () { return ({
270
- order_id: factories.long(),
271
- shop_id: factories.long(),
272
- }); },
273
- 'io.flow.channel.shopify.v0.models.external_order_summary': function () { return ({
274
- id: factories.string(),
275
- edit_ids: arrayOf(function () { return factories.string(); }),
276
- }); },
277
262
  'io.flow.channel.v0.enums.channel_currency_capability': function () { return faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']); },
278
263
  'io.flow.channel.v0.models.channel': function () { return ({
279
264
  id: factories.string(),
@@ -633,6 +618,7 @@ var factories = {
633
618
  created_at: factories.date_time_iso_8601(),
634
619
  status: factories['io.flow.common.v0.enums.organization_status'](),
635
620
  type: factories['io.flow.common.v0.enums.organization_type'](),
621
+ channel: factories['io.flow.common.v0.models.channel_reference'](),
636
622
  }); },
637
623
  'io.flow.common.v0.models.organization_defaults': function () { return ({
638
624
  country: factories.string(),
@@ -644,6 +630,7 @@ var factories = {
644
630
  'io.flow.common.v0.models.organization_reference': function () { return ({
645
631
  discriminator: 'organization_reference',
646
632
  id: factories.string(),
633
+ channel: factories['io.flow.common.v0.models.channel_reference'](),
647
634
  }); },
648
635
  'io.flow.common.v0.models.organization_summary': function () { return ({
649
636
  id: factories.string(),
@@ -934,6 +921,7 @@ var factories = {
934
921
  'io.flow.product.v0.models.product_taxonomy_category': function () { return ({
935
922
  name: factories.string(),
936
923
  full_name: factories.string(),
924
+ id: factories.string(),
937
925
  }); },
938
926
  'io.flow.product.v0.models.product_taxonomy_data': function () { return ({
939
927
  key: factories.string(),
@@ -1184,6 +1172,7 @@ var factories = {
1184
1172
  inventoryItem: factories['io.flow.shopify.external.v0.models.graphql_inventory_item'](),
1185
1173
  }); },
1186
1174
  'io.flow.shopify.external.v0.models.graphql_taxonomy_category': function () { return ({
1175
+ id: factories.string(),
1187
1176
  name: factories.string(),
1188
1177
  fullName: factories.string(),
1189
1178
  }); },
@@ -1292,7 +1281,7 @@ var factories = {
1292
1281
  created_at: factories.date_time_iso_8601(),
1293
1282
  updated_at: factories.date_time_iso_8601(),
1294
1283
  has_variants_that_requires_components: factories.boolean(),
1295
- category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
1284
+ category: factories['io.flow.shopify.external.v0.models.rest_taxonomy_category'](),
1296
1285
  metafields: arrayOf(function () { return factories['io.flow.shopify.external.v0.models.product_metafield'](); }),
1297
1286
  }); },
1298
1287
  'io.flow.shopify.external.v0.models.product_delete': function () { return ({
@@ -1406,6 +1395,11 @@ var factories = {
1406
1395
  'io.flow.shopify.external.v0.models.response_variant': function () { return ({
1407
1396
  variant: factories['io.flow.shopify.external.v0.models.product_variant'](),
1408
1397
  }); },
1398
+ 'io.flow.shopify.external.v0.models.rest_taxonomy_category': function () { return ({
1399
+ name: factories.string(),
1400
+ full_name: factories.string(),
1401
+ admin_graphql_api_id: factories.string(),
1402
+ }); },
1409
1403
  'io.flow.shopify.external.v0.models.shop': function () { return ({
1410
1404
  id: factories.long(),
1411
1405
  domain: factories.string(),
@@ -3880,6 +3874,20 @@ var factories = {
3880
3874
  'io.flow.v0.enums.consumer_invoice_status': function () { return faker.helpers.arrayElement(['pending', 'available', 'invalid']); },
3881
3875
  'io.flow.v0.enums.cost_estimate_source': function () { return faker.helpers.arrayElement(['flow', 'channel']); },
3882
3876
  'io.flow.v0.enums.country_picker_source': function () { return faker.helpers.arrayElement(['experience', 'destination']); },
3877
+ 'io.flow.v0.enums.cpsc_attribute': function () { return faker.helpers.arrayElement([
3878
+ 'certification_id',
3879
+ 'citation_codes',
3880
+ 'manufactured_date',
3881
+ 'manufactured_location',
3882
+ 'product_test_date',
3883
+ 'test_lab_name',
3884
+ 'point_of_contact',
3885
+ 'certification_version',
3886
+ 'certification_product_id',
3887
+ 'certificate_type',
3888
+ 'lab_type',
3889
+ 'taxonomy_reference',
3890
+ ]); },
3883
3891
  'io.flow.v0.enums.credit_payment_error_code': function () { return faker.helpers.arrayElement([
3884
3892
  'generic_error',
3885
3893
  'invalid_order_number',
@@ -4322,6 +4330,7 @@ var factories = {
4322
4330
  'installment_plan',
4323
4331
  'cash_on_delivery',
4324
4332
  ]); },
4333
+ 'io.flow.v0.enums.order_price_coefficient_type': function () { return faker.helpers.arrayElement(['item_shipping']); },
4325
4334
  'io.flow.v0.enums.order_price_detail_component_key': function () { return faker.helpers.arrayElement([
4326
4335
  'adjustment',
4327
4336
  'vat_deminimis',
@@ -4366,6 +4375,7 @@ var factories = {
4366
4375
  'tip',
4367
4376
  ]); },
4368
4377
  'io.flow.v0.enums.order_price_fee_type': function () { return faker.helpers.arrayElement(['service', 'fx', 'tax', 'duties', 'tax_and_duties', 'product', 'mor_tax']); },
4378
+ 'io.flow.v0.enums.order_price_subsidy_type': function () { return faker.helpers.arrayElement(['shipping_subsidy']); },
4369
4379
  'io.flow.v0.enums.order_refund_summary_includes': function () { return faker.helpers.arrayElement(['duties', 'vat', 'shipping']); },
4370
4380
  'io.flow.v0.enums.order_refund_summary_partial_charged': function () { return faker.helpers.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']); },
4371
4381
  'io.flow.v0.enums.order_state_status': function () { return faker.helpers.arrayElement(['pending', 'accepted', 'rejected']); },
@@ -4519,7 +4529,7 @@ var factories = {
4519
4529
  'io.flow.v0.enums.price_detail_key': function () { return faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']); },
4520
4530
  'io.flow.v0.enums.price_facet_boundary': function () { return faker.helpers.arrayElement(['min', 'max']); },
4521
4531
  'io.flow.v0.enums.pricing_levy_setting': function () { return faker.helpers.arrayElement(['included', 'displayed', 'ignored']); },
4522
- 'io.flow.v0.enums.pricing_type': function () { return faker.helpers.arrayElement(['inclusive_pricing']); },
4532
+ 'io.flow.v0.enums.pricing_type': function () { return faker.helpers.arrayElement(['inclusive_pricing', 'inclusive_pricing_with_shipping']); },
4523
4533
  'io.flow.v0.enums.promotion_trigger_type': function () { return faker.helpers.arrayElement(['automatic', 'order_subtotal']); },
4524
4534
  'io.flow.v0.enums.province_type': function () { return faker.helpers.arrayElement([
4525
4535
  'area',
@@ -4562,6 +4572,8 @@ var factories = {
4562
4572
  'io.flow.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
4563
4573
  'io.flow.v0.enums.region_type': function () { return faker.helpers.arrayElement(['state', 'province', 'jurisdiction']); },
4564
4574
  'io.flow.v0.enums.restricted_review_status': function () { return faker.helpers.arrayElement(['in_review', 'reviewed']); },
4575
+ 'io.flow.v0.enums.restriction_decision': function () { return faker.helpers.arrayElement(['accept', 'reject', 'escalate', 'review']); },
4576
+ 'io.flow.v0.enums.restriction_decision_reason': function () { return faker.helpers.arrayElement(['manual_dispute', 'operations_decision']); },
4565
4577
  'io.flow.v0.enums.restriction_environment': function () { return faker.helpers.arrayElement(['sandbox', 'production', 'qa']); },
4566
4578
  'io.flow.v0.enums.return_item_status': function () { return faker.helpers.arrayElement(['returnable', 'non-returnable']); },
4567
4579
  'io.flow.v0.enums.return_policy_state': function () { return faker.helpers.arrayElement(['current', 'deleting', 'updating']); },
@@ -4645,7 +4657,7 @@ var factories = {
4645
4657
  'io.flow.v0.enums.shopify_sync_check': function () { return faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']); },
4646
4658
  'io.flow.v0.enums.sort_direction': function () { return faker.helpers.arrayElement(['ascending', 'descending']); },
4647
4659
  'io.flow.v0.enums.statement_attachment_type': function () { return faker.helpers.arrayElement(['csv', 'pdf']); },
4648
- 'io.flow.v0.enums.statement_status_code': function () { return faker.helpers.arrayElement(['scheduled', 'sent', 'failed']); },
4660
+ 'io.flow.v0.enums.statement_status_code': function () { return faker.helpers.arrayElement(['scheduled', 'sent', 'failed', 'paid']); },
4649
4661
  'io.flow.v0.enums.stored_method_usage_step': function () { return faker.helpers.arrayElement(['initial', 'subsequent']); },
4650
4662
  'io.flow.v0.enums.strategy': function () { return faker.helpers.arrayElement(['range', 'from', 'to']); },
4651
4663
  'io.flow.v0.enums.subcatalog_item_status': function () { return faker.helpers.arrayElement(['excluded', 'included', 'restricted']); },
@@ -4733,6 +4745,7 @@ var factories = {
4733
4745
  'us_inbound_tax_refund',
4734
4746
  'order_cancellation_above_de_min',
4735
4747
  'wyol_shipment_above_de_min',
4748
+ 'wyol_shipment_lvg',
4736
4749
  'full_refund_without_shipment',
4737
4750
  'unfulfilled_order_above_de_min',
4738
4751
  'order_cancellation_without_capture',
@@ -4805,6 +4818,7 @@ var factories = {
4805
4818
  'b2b_fee_mor_tax',
4806
4819
  'b2b_fee_shipping_tax',
4807
4820
  'flat_rate_label',
4821
+ 'flat_rate_label_subsidy',
4808
4822
  ]); },
4809
4823
  'io.flow.v0.enums.transfer_status': function () { return faker.helpers.arrayElement(['succeeded', 'canceled']); },
4810
4824
  'io.flow.v0.enums.transfer_type': function () { return faker.helpers.arrayElement([
@@ -5541,6 +5555,39 @@ var factories = {
5541
5555
  organization: factories.string(),
5542
5556
  b2b_credit_memo: factories['io.flow.v0.models.b2b_credit_memo'](),
5543
5557
  }); },
5558
+ 'io.flow.v0.models.b2b_credit_note': function () { return ({
5559
+ id: factories.string(),
5560
+ number: factories.string(),
5561
+ status: factories['io.flow.v0.enums.consumer_invoice_status'](),
5562
+ date: factories.date_time_iso_8601(),
5563
+ key: factories.string(),
5564
+ debit_note: factories['io.flow.v0.models.b2b_debit_note_reference'](),
5565
+ order: factories['io.flow.v0.models.consumer_invoice_order_summary'](),
5566
+ center: factories['io.flow.v0.models.consumer_invoice_center_reference'](),
5567
+ lines: arrayOf(function () { return factories['io.flow.v0.unions.consumer_invoice_line'](); }),
5568
+ documents: arrayOf(function () { return factories['io.flow.v0.models.consumer_invoice_document'](); }),
5569
+ attributes: objectOf(function () { return factories.string(); }),
5570
+ voids_b2b_debit_note: factories.boolean(),
5571
+ }); },
5572
+ 'io.flow.v0.models.b2b_debit_note': function () { return ({
5573
+ id: factories.string(),
5574
+ number: factories.string(),
5575
+ buyer: factories['io.flow.v0.models.merchant_of_record_entity'](),
5576
+ seller: factories['io.flow.v0.models.merchant_of_record_entity'](),
5577
+ status: factories['io.flow.v0.enums.consumer_invoice_status'](),
5578
+ date: factories.date_time_iso_8601(),
5579
+ key: factories.string(),
5580
+ order: factories['io.flow.v0.models.consumer_invoice_order_summary'](),
5581
+ center: factories['io.flow.v0.models.consumer_invoice_center_reference'](),
5582
+ lines: arrayOf(function () { return factories['io.flow.v0.unions.consumer_invoice_line'](); }),
5583
+ documents: arrayOf(function () { return factories['io.flow.v0.models.consumer_invoice_document'](); }),
5584
+ attributes: objectOf(function () { return factories.string(); }),
5585
+ }); },
5586
+ 'io.flow.v0.models.b2b_debit_note_reference': function () { return ({
5587
+ id: factories.string(),
5588
+ key: factories.string(),
5589
+ number: factories.string(),
5590
+ }); },
5544
5591
  'io.flow.v0.models.b2b_invoice': function () { return ({
5545
5592
  id: factories.string(),
5546
5593
  number: factories.string(),
@@ -5612,13 +5659,9 @@ var factories = {
5612
5659
  'io.flow.v0.models.bank_account_info_kor': function () { return ({
5613
5660
  discriminator: 'kor',
5614
5661
  name: factories.string(),
5615
- address: factories['io.flow.v0.models.address'](),
5616
- phone: factories.string(),
5617
- email: factories.string(),
5618
5662
  bank_account_number: factories.string(),
5619
5663
  bank_routing_number: factories.string(),
5620
5664
  bank_name: factories.string(),
5621
- bank_address: factories['io.flow.v0.models.address'](),
5622
5665
  }); },
5623
5666
  'io.flow.v0.models.bank_account_info_kor_v2': function () { return ({
5624
5667
  discriminator: 'kor_v2',
@@ -6257,7 +6300,7 @@ var factories = {
6257
6300
  shopify_order_summary: factories['io.flow.v0.models.channel_shopify_order_summary'](),
6258
6301
  status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
6259
6302
  reasons: arrayOf(function () { return factories['io.flow.v0.models.channel_shopify_order_state_reason'](); }),
6260
- external_order_summary: factories['io.flow.v0.models.external_order_summary'](),
6303
+ external_order_summary: factories['io.flow.channel.internal.v0.models.external_order_summary'](),
6261
6304
  }); },
6262
6305
  'io.flow.v0.models.channel_shopify_order_state_deleted': function () { return ({
6263
6306
  discriminator: 'channel_shopify_order_state_deleted',
@@ -6288,6 +6331,7 @@ var factories = {
6288
6331
  settlement: factories['io.flow.v0.unions.settlement'](),
6289
6332
  attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
6290
6333
  created_at: factories.date_time_iso_8601(),
6334
+ period: factories['io.flow.v0.models.datetime_range'](),
6291
6335
  }); },
6292
6336
  'io.flow.v0.models.channel_statement_deleted': function () { return ({
6293
6337
  discriminator: 'channel_statement_deleted',
@@ -7683,10 +7727,6 @@ var factories = {
7683
7727
  id: factories.string(),
7684
7728
  type: factories['io.flow.v0.enums.card_type'](),
7685
7729
  }); },
7686
- 'io.flow.v0.models.external_order_summary': function () { return ({
7687
- id: factories.string(),
7688
- edit_ids: arrayOf(function () { return factories.string(); }),
7689
- }); },
7690
7730
  'io.flow.v0.models.fee_deduction': function () { return ({
7691
7731
  type: factories['io.flow.v0.enums.fee_deduction_type'](),
7692
7732
  amount: factories.decimal(),
@@ -8767,6 +8807,7 @@ var factories = {
8767
8807
  'io.flow.v0.models.lane_summary': function () { return ({
8768
8808
  id: factories.string(),
8769
8809
  ratecard: factories['io.flow.v0.models.ratecard_summary'](),
8810
+ dim_factor: factories.decimal(),
8770
8811
  }); },
8771
8812
  'io.flow.v0.models.language': function () { return ({
8772
8813
  name: factories.string(),
@@ -9592,6 +9633,11 @@ var factories = {
9592
9633
  organization: factories.string(),
9593
9634
  order_placed: factories['io.flow.v0.models.order_placed_details'](),
9594
9635
  }); },
9636
+ 'io.flow.v0.models.order_price_coefficient': function () { return ({
9637
+ type: factories['io.flow.v0.enums.order_price_coefficient_type'](),
9638
+ value: factories.decimal(),
9639
+ price: factories['io.flow.v0.models.price_with_base'](),
9640
+ }); },
9595
9641
  'io.flow.v0.models.order_price_detail': function () { return ({
9596
9642
  key: factories['io.flow.v0.enums.order_price_detail_key'](),
9597
9643
  currency: factories.string(),
@@ -9622,6 +9668,10 @@ var factories = {
9622
9668
  value: factories['io.flow.v0.models.price_with_base'](),
9623
9669
  type: factories['io.flow.v0.enums.order_price_fee_type'](),
9624
9670
  }); },
9671
+ 'io.flow.v0.models.order_price_subsidy': function () { return ({
9672
+ type: factories['io.flow.v0.enums.order_price_subsidy_type'](),
9673
+ price: factories['io.flow.v0.models.price_with_base'](),
9674
+ }); },
9625
9675
  'io.flow.v0.models.order_promotion_trigger': function () { return ({
9626
9676
  type: factories['io.flow.v0.enums.promotion_trigger_type'](),
9627
9677
  min: factories['io.flow.v0.models.price'](),
@@ -9739,6 +9789,10 @@ var factories = {
9739
9789
  deactivation_requested_at: factories.date_time_iso_8601(),
9740
9790
  deactivated_at: factories.date_time_iso_8601(),
9741
9791
  }); },
9792
+ 'io.flow.v0.models.order_state_rejection_reason_payment_fraud': function () { return ({
9793
+ discriminator: 'order_state_rejection_reason_payment_fraud',
9794
+ payment_request_id: factories.string(),
9795
+ }); },
9742
9796
  'io.flow.v0.models.order_state_rejection_reason_restricted_item': function () { return ({
9743
9797
  discriminator: 'order_state_rejection_reason_restricted_item',
9744
9798
  item_numbers: arrayOf(function () { return factories.string(); }),
@@ -9838,6 +9892,7 @@ var factories = {
9838
9892
  created_at: factories.date_time_iso_8601(),
9839
9893
  status: factories['io.flow.v0.enums.organization_status'](),
9840
9894
  type: factories['io.flow.v0.enums.organization_type'](),
9895
+ channel: factories['io.flow.v0.models.channel_reference'](),
9841
9896
  }); },
9842
9897
  'io.flow.v0.models.organization_authorization': function () { return ({
9843
9898
  role: factories['io.flow.v0.enums.role'](),
@@ -9977,6 +10032,7 @@ var factories = {
9977
10032
  'io.flow.v0.models.organization_reference': function () { return ({
9978
10033
  discriminator: 'organization_reference',
9979
10034
  id: factories.string(),
10035
+ channel: factories['io.flow.v0.models.channel_reference'](),
9980
10036
  }); },
9981
10037
  'io.flow.v0.models.organization_session': function () { return ({
9982
10038
  discriminator: 'organization_session',
@@ -10015,6 +10071,7 @@ var factories = {
10015
10071
  province: factories.string(),
10016
10072
  self_billing_agreement_effective_at: factories.date_time_iso_8601(),
10017
10073
  self_billing_agreement_expires_at: factories.date_time_iso_8601(),
10074
+ legal_name: factories.string(),
10018
10075
  }); },
10019
10076
  'io.flow.v0.models.organization_token': function () { return ({
10020
10077
  discriminator: 'organization_token',
@@ -10810,6 +10867,10 @@ var factories = {
10810
10867
  timestamp: factories.date_time_iso_8601(),
10811
10868
  reason: factories['io.flow.v0.enums.payout_status_failure_code'](),
10812
10869
  }); },
10870
+ 'io.flow.v0.models.payout_status_paid': function () { return ({
10871
+ code: 'paid',
10872
+ timestamp: factories.date_time_iso_8601(),
10873
+ }); },
10813
10874
  'io.flow.v0.models.payout_status_scheduled': function () { return ({
10814
10875
  code: 'scheduled',
10815
10876
  placeholder: factories.string(),
@@ -11221,6 +11282,7 @@ var factories = {
11221
11282
  'io.flow.v0.models.product_taxonomy_category': function () { return ({
11222
11283
  name: factories.string(),
11223
11284
  full_name: factories.string(),
11285
+ id: factories.string(),
11224
11286
  }); },
11225
11287
  'io.flow.v0.models.product_taxonomy_data': function () { return ({
11226
11288
  key: factories.string(),
@@ -11266,6 +11328,8 @@ var factories = {
11266
11328
  total_price: factories['io.flow.v0.models.price_with_base'](),
11267
11329
  product_price: factories['io.flow.v0.models.price_with_base'](),
11268
11330
  fees: arrayOf(function () { return factories['io.flow.v0.models.order_price_fee'](); }),
11331
+ coefficients: arrayOf(function () { return factories['io.flow.v0.models.order_price_coefficient'](); }),
11332
+ subsidies: arrayOf(function () { return factories['io.flow.v0.models.order_price_subsidy'](); }),
11269
11333
  }); },
11270
11334
  'io.flow.v0.models.query': function () { return ({
11271
11335
  q: factories.string(),
@@ -11407,6 +11471,7 @@ var factories = {
11407
11471
  glbe_shipping_method_id: factories.string(),
11408
11472
  glbe_proposition_name: factories.string(),
11409
11473
  channel_revenue_share_percentage: factories.decimal(),
11474
+ channel_id: factories.string(),
11410
11475
  }); },
11411
11476
  'io.flow.v0.models.ratecard_carrier_summary': function () { return ({
11412
11477
  id: factories.string(),
@@ -11506,6 +11571,7 @@ var factories = {
11506
11571
  glbe_shipping_method_id: factories.string(),
11507
11572
  glbe_proposition_name: factories.string(),
11508
11573
  channel_revenue_share_percentage: factories.decimal(),
11574
+ channel_id: factories.string(),
11509
11575
  data: factories['io.flow.v0.models.ratecard_data'](),
11510
11576
  }); },
11511
11577
  'io.flow.v0.models.ratecard_lane': function () { return ({
@@ -11545,19 +11611,6 @@ var factories = {
11545
11611
  weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
11546
11612
  distance_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
11547
11613
  }); },
11548
- 'io.flow.v0.models.ratecard_lane_import_form': function () { return ({
11549
- ratecard_owner: factories['io.flow.v0.enums.ratecard_owner'](),
11550
- service: factories.string(),
11551
- currency: factories.string(),
11552
- delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
11553
- origin: factories['io.flow.v0.models.zone'](),
11554
- destination: factories['io.flow.v0.models.zone'](),
11555
- shipment_window: factories['io.flow.v0.models.shipment_window'](),
11556
- dim_factor: factories.decimal(),
11557
- weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
11558
- distance_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
11559
- rates: arrayOf(function () { return factories['io.flow.v0.models.ratecard_rate_form'](); }),
11560
- }); },
11561
11614
  'io.flow.v0.models.ratecard_lane_upserted': function () { return ({
11562
11615
  discriminator: 'ratecard_lane_upserted',
11563
11616
  event_id: factories.string(),
@@ -11571,13 +11624,7 @@ var factories = {
11571
11624
  type: factories['io.flow.v0.enums.change_type'](),
11572
11625
  ratecard_lane: factories['io.flow.v0.models.ratecard_lane'](),
11573
11626
  }); },
11574
- 'io.flow.v0.models.ratecard_lanes_import_request_data': function () { return ({
11575
- id: factories.string(),
11576
- source_url: factories.string(),
11577
- filename: factories.string(),
11578
- }); },
11579
11627
  'io.flow.v0.models.ratecard_rate': function () { return ({
11580
- id: factories.string(),
11581
11628
  amount: factories.double(),
11582
11629
  weight: factories.double(),
11583
11630
  }); },
@@ -11585,12 +11632,6 @@ var factories = {
11585
11632
  amount: factories.double(),
11586
11633
  weight: factories.double(),
11587
11634
  }); },
11588
- 'io.flow.v0.models.ratecard_rate_version': function () { return ({
11589
- id: factories.string(),
11590
- timestamp: factories.date_time_iso_8601(),
11591
- type: factories['io.flow.v0.enums.change_type'](),
11592
- ratecard_rate: factories['io.flow.v0.models.ratecard_rate'](),
11593
- }); },
11594
11635
  'io.flow.v0.models.ratecard_reference': function () { return ({
11595
11636
  id: factories.string(),
11596
11637
  }); },
@@ -11831,6 +11872,16 @@ var factories = {
11831
11872
  interval: factories.integer(),
11832
11873
  days_of_week: arrayOf(function () { return factories['io.flow.v0.enums.day_of_week'](); }),
11833
11874
  }); },
11875
+ 'io.flow.v0.models.restriction_decisions_form': function () { return ({
11876
+ organization_id: factories.string(),
11877
+ rule_decisions: arrayOf(function () { return factories['io.flow.v0.models.restriction_rule_decision_form'](); }),
11878
+ }); },
11879
+ 'io.flow.v0.models.restriction_rule_decision_form': function () { return ({
11880
+ product_id: factories.string(),
11881
+ reason_code: factories.string(),
11882
+ decision: factories['io.flow.v0.enums.restriction_decision'](),
11883
+ decision_reason: factories['io.flow.v0.enums.restriction_decision_reason'](),
11884
+ }); },
11834
11885
  'io.flow.v0.models.return': function () { return ({
11835
11886
  id: factories.string(),
11836
11887
  key: factories.string(),
@@ -12095,6 +12146,7 @@ var factories = {
12095
12146
  price: factories['io.flow.v0.models.money'](),
12096
12147
  description: factories.string(),
12097
12148
  taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
12149
+ inferred_taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
12098
12150
  mode: factories['io.flow.v0.enums.sellability_screening_mode'](),
12099
12151
  catalog_size: factories.integer(),
12100
12152
  relative_ranking: factories.decimal(),
@@ -12354,6 +12406,7 @@ var factories = {
12354
12406
  id: factories.string(),
12355
12407
  ratecard: factories['io.flow.v0.models.shipping_label_ratecard_summary'](),
12356
12408
  weight_break: factories.decimal(),
12409
+ dim_factor: factories.decimal(),
12357
12410
  }); },
12358
12411
  'io.flow.v0.models.shipping_label_package': function () { return ({
12359
12412
  dimensions: factories['io.flow.v0.models.dimension'](),
@@ -12823,6 +12876,7 @@ var factories = {
12823
12876
  settlement: factories['io.flow.v0.unions.settlement'](),
12824
12877
  attachments: arrayOf(function () { return factories['io.flow.v0.models.attachment'](); }),
12825
12878
  created_at: factories.date_time_iso_8601(),
12879
+ period: factories['io.flow.v0.models.datetime_range'](),
12826
12880
  }); },
12827
12881
  'io.flow.v0.models.statement_deleted': function () { return ({
12828
12882
  discriminator: 'statement_deleted',
@@ -13107,6 +13161,7 @@ var factories = {
13107
13161
  country: factories.string(),
13108
13162
  tax_code: factories.string(),
13109
13163
  province: factories.string(),
13164
+ legal_name: factories.string(),
13110
13165
  }); },
13111
13166
  'io.flow.v0.models.tax_registration_form': function () { return ({
13112
13167
  number: factories.string(),
@@ -13538,6 +13593,7 @@ var factories = {
13538
13593
  request_method: factories['io.flow.v0.enums.label_request_method'](),
13539
13594
  carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
13540
13595
  revenue_share_percentage: factories.decimal(),
13596
+ actual: factories['io.flow.v0.models.transaction_metadata_trueup_data'](),
13541
13597
  }); },
13542
13598
  'io.flow.v0.models.transaction_metadata_shipping_label_carrier': function () { return ({
13543
13599
  id: factories.string(),
@@ -14519,6 +14575,7 @@ var factories = {
14519
14575
  function () { return factories['io.flow.v0.models.order_state_rejection_reason_domestic_order'](); },
14520
14576
  function () { return factories['io.flow.v0.models.order_state_rejection_reason_items_empty'](); },
14521
14577
  function () { return factories['io.flow.v0.models.order_state_rejection_reason_organization_deactivated'](); },
14578
+ function () { return factories['io.flow.v0.models.order_state_rejection_reason_payment_fraud'](); },
14522
14579
  ]);
14523
14580
  return f();
14524
14581
  },
@@ -14670,6 +14727,7 @@ var factories = {
14670
14727
  function () { return factories['io.flow.v0.models.payout_status_scheduled'](); },
14671
14728
  function () { return factories['io.flow.v0.models.payout_status_sent'](); },
14672
14729
  function () { return factories['io.flow.v0.models.payout_status_failed'](); },
14730
+ function () { return factories['io.flow.v0.models.payout_status_paid'](); },
14673
14731
  ]);
14674
14732
  return f();
14675
14733
  },
@@ -15058,6 +15116,9 @@ export var makeAvsCode = function () { return factories['io.flow.v0.enums.avs_co
15058
15116
  export var makeB2BCreditMemo = function () { return factories['io.flow.v0.models.b2b_credit_memo'](); };
15059
15117
  export var makeB2BCreditMemoDeleted = function () { return factories['io.flow.v0.models.b2b_credit_memo_deleted'](); };
15060
15118
  export var makeB2BCreditMemoUpserted = function () { return factories['io.flow.v0.models.b2b_credit_memo_upserted'](); };
15119
+ export var makeB2BCreditNote = function () { return factories['io.flow.v0.models.b2b_credit_note'](); };
15120
+ export var makeB2BDebitNote = function () { return factories['io.flow.v0.models.b2b_debit_note'](); };
15121
+ export var makeB2BDebitNoteReference = function () { return factories['io.flow.v0.models.b2b_debit_note_reference'](); };
15061
15122
  export var makeB2BInvoice = function () { return factories['io.flow.v0.models.b2b_invoice'](); };
15062
15123
  export var makeB2BInvoiceDeleted = function () { return factories['io.flow.v0.models.b2b_invoice_deleted'](); };
15063
15124
  export var makeB2BInvoiceReference = function () { return factories['io.flow.v0.models.b2b_invoice_reference'](); };
@@ -15264,6 +15325,7 @@ export var makeCountryPickerSource = function () { return factories['io.flow.v0.
15264
15325
  export var makeCountryShippingPricing = function () { return factories['io.flow.v0.models.country_shipping_pricing'](); };
15265
15326
  export var makeCountryStatus = function () { return factories['io.flow.v0.models.country_status'](); };
15266
15327
  export var makeCountryStatusForm = function () { return factories['io.flow.v0.models.country_status_form'](); };
15328
+ export var makeCpscAttribute = function () { return factories['io.flow.v0.enums.cpsc_attribute'](); };
15267
15329
  export var makeCreditMemo = function () { return factories['io.flow.v0.models.credit_memo'](); };
15268
15330
  export var makeCreditMemoDeleted = function () { return factories['io.flow.v0.models.credit_memo_deleted'](); };
15269
15331
  export var makeCreditMemoForm = function () { return factories['io.flow.v0.models.credit_memo_form'](); };
@@ -15482,7 +15544,6 @@ export var makeExportType = function () { return factories['io.flow.v0.unions.ex
15482
15544
  export var makeExportVersion = function () { return factories['io.flow.v0.models.export_version'](); };
15483
15545
  export var makeExporterOfRecord = function () { return factories['io.flow.v0.enums.exporter_of_record'](); };
15484
15546
  export var makeExternalCard = function () { return factories['io.flow.v0.models.external_card'](); };
15485
- export var makeExternalOrderSummary = function () { return factories['io.flow.v0.models.external_order_summary'](); };
15486
15547
  export var makeFeeDeduction = function () { return factories['io.flow.v0.models.fee_deduction'](); };
15487
15548
  export var makeFeeDeductionType = function () { return factories['io.flow.v0.enums.fee_deduction_type'](); };
15488
15549
  export var makeFeeInvoice = function () { return factories['io.flow.v0.models.fee_invoice'](); };
@@ -15864,6 +15925,8 @@ export var makeOrderPaymentType = function () { return factories['io.flow.v0.enu
15864
15925
  export var makeOrderPlaced = function () { return factories['io.flow.v0.models.order_placed'](); };
15865
15926
  export var makeOrderPlacedDetails = function () { return factories['io.flow.v0.models.order_placed_details'](); };
15866
15927
  export var makeOrderPlacedV2 = function () { return factories['io.flow.v0.models.order_placed_v2'](); };
15928
+ export var makeOrderPriceCoefficient = function () { return factories['io.flow.v0.models.order_price_coefficient'](); };
15929
+ export var makeOrderPriceCoefficientType = function () { return factories['io.flow.v0.enums.order_price_coefficient_type'](); };
15867
15930
  export var makeOrderPriceDetail = function () { return factories['io.flow.v0.models.order_price_detail'](); };
15868
15931
  export var makeOrderPriceDetailBreakdown = function () { return factories['io.flow.v0.models.order_price_detail_breakdown'](); };
15869
15932
  export var makeOrderPriceDetailComponent = function () { return factories['io.flow.v0.models.order_price_detail_component'](); };
@@ -15871,6 +15934,8 @@ export var makeOrderPriceDetailComponentKey = function () { return factories['io
15871
15934
  export var makeOrderPriceDetailKey = function () { return factories['io.flow.v0.enums.order_price_detail_key'](); };
15872
15935
  export var makeOrderPriceFee = function () { return factories['io.flow.v0.models.order_price_fee'](); };
15873
15936
  export var makeOrderPriceFeeType = function () { return factories['io.flow.v0.enums.order_price_fee_type'](); };
15937
+ export var makeOrderPriceSubsidy = function () { return factories['io.flow.v0.models.order_price_subsidy'](); };
15938
+ export var makeOrderPriceSubsidyType = function () { return factories['io.flow.v0.enums.order_price_subsidy_type'](); };
15874
15939
  export var makeOrderPromotion = function () { return factories['io.flow.v0.unions.order_promotion'](); };
15875
15940
  export var makeOrderPromotionForm = function () { return factories['io.flow.v0.unions.order_promotion_form'](); };
15876
15941
  export var makeOrderPromotionTrigger = function () { return factories['io.flow.v0.models.order_promotion_trigger'](); };
@@ -15899,6 +15964,7 @@ export var makeOrderStateRejectionReason = function () { return factories['io.fl
15899
15964
  export var makeOrderStateRejectionReasonDomesticOrder = function () { return factories['io.flow.v0.models.order_state_rejection_reason_domestic_order'](); };
15900
15965
  export var makeOrderStateRejectionReasonItemsEmpty = function () { return factories['io.flow.v0.models.order_state_rejection_reason_items_empty'](); };
15901
15966
  export var makeOrderStateRejectionReasonOrganizationDeactivated = function () { return factories['io.flow.v0.models.order_state_rejection_reason_organization_deactivated'](); };
15967
+ export var makeOrderStateRejectionReasonPaymentFraud = function () { return factories['io.flow.v0.models.order_state_rejection_reason_payment_fraud'](); };
15902
15968
  export var makeOrderStateRejectionReasonRestrictedItem = function () { return factories['io.flow.v0.models.order_state_rejection_reason_restricted_item'](); };
15903
15969
  export var makeOrderStateStatus = function () { return factories['io.flow.v0.enums.order_state_status'](); };
15904
15970
  export var makeOrderStateUpserted = function () { return factories['io.flow.v0.models.order_state_upserted'](); };
@@ -16126,6 +16192,7 @@ export var makePayoutReference = function () { return factories['io.flow.v0.mode
16126
16192
  export var makePayoutStatus = function () { return factories['io.flow.v0.unions.payout_status'](); };
16127
16193
  export var makePayoutStatusFailed = function () { return factories['io.flow.v0.models.payout_status_failed'](); };
16128
16194
  export var makePayoutStatusFailureCode = function () { return factories['io.flow.v0.enums.payout_status_failure_code'](); };
16195
+ export var makePayoutStatusPaid = function () { return factories['io.flow.v0.models.payout_status_paid'](); };
16129
16196
  export var makePayoutStatusScheduled = function () { return factories['io.flow.v0.models.payout_status_scheduled'](); };
16130
16197
  export var makePayoutStatusSent = function () { return factories['io.flow.v0.models.payout_status_sent'](); };
16131
16198
  export var makePayoutTransaction = function () { return factories['io.flow.v0.models.payout_transaction'](); };
@@ -16252,14 +16319,11 @@ export var makeRatecardForm = function () { return factories['io.flow.v0.models.
16252
16319
  export var makeRatecardLane = function () { return factories['io.flow.v0.models.ratecard_lane'](); };
16253
16320
  export var makeRatecardLaneDeleted = function () { return factories['io.flow.v0.models.ratecard_lane_deleted'](); };
16254
16321
  export var makeRatecardLaneForm = function () { return factories['io.flow.v0.models.ratecard_lane_form'](); };
16255
- export var makeRatecardLaneImportForm = function () { return factories['io.flow.v0.models.ratecard_lane_import_form'](); };
16256
16322
  export var makeRatecardLaneUpserted = function () { return factories['io.flow.v0.models.ratecard_lane_upserted'](); };
16257
16323
  export var makeRatecardLaneVersion = function () { return factories['io.flow.v0.models.ratecard_lane_version'](); };
16258
- export var makeRatecardLanesImportRequestData = function () { return factories['io.flow.v0.models.ratecard_lanes_import_request_data'](); };
16259
16324
  export var makeRatecardOwner = function () { return factories['io.flow.v0.enums.ratecard_owner'](); };
16260
16325
  export var makeRatecardRate = function () { return factories['io.flow.v0.models.ratecard_rate'](); };
16261
16326
  export var makeRatecardRateForm = function () { return factories['io.flow.v0.models.ratecard_rate_form'](); };
16262
- export var makeRatecardRateVersion = function () { return factories['io.flow.v0.models.ratecard_rate_version'](); };
16263
16327
  export var makeRatecardReference = function () { return factories['io.flow.v0.models.ratecard_reference'](); };
16264
16328
  export var makeRatecardRegionReference = function () { return factories['io.flow.v0.models.ratecard_region_reference'](); };
16265
16329
  export var makeRatecardServiceSummary = function () { return factories['io.flow.v0.models.ratecard_service_summary'](); };
@@ -16305,7 +16369,11 @@ export var makeRepeatMonthly = function () { return factories['io.flow.v0.models
16305
16369
  export var makeRepeatSchedule = function () { return factories['io.flow.v0.unions.repeat_schedule'](); };
16306
16370
  export var makeRepeatWeekly = function () { return factories['io.flow.v0.models.repeat_weekly'](); };
16307
16371
  export var makeRestrictedReviewStatus = function () { return factories['io.flow.v0.enums.restricted_review_status'](); };
16372
+ export var makeRestrictionDecision = function () { return factories['io.flow.v0.enums.restriction_decision'](); };
16373
+ export var makeRestrictionDecisionReason = function () { return factories['io.flow.v0.enums.restriction_decision_reason'](); };
16374
+ export var makeRestrictionDecisionsForm = function () { return factories['io.flow.v0.models.restriction_decisions_form'](); };
16308
16375
  export var makeRestrictionEnvironment = function () { return factories['io.flow.v0.enums.restriction_environment'](); };
16376
+ export var makeRestrictionRuleDecisionForm = function () { return factories['io.flow.v0.models.restriction_rule_decision_form'](); };
16309
16377
  export var makeReturn = function () { return factories['io.flow.v0.models.return'](); };
16310
16378
  export var makeReturnForm = function () { return factories['io.flow.v0.models.return_form'](); };
16311
16379
  export var makeReturnItemReference = function () { return factories['io.flow.v0.models.return_item_reference'](); };