@flowio/api-factories 0.0.119 → 0.0.122
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/cjs/api.js +369 -53
- package/dist/esm/api.js +311 -17
- package/dist/types/api.d.ts +23 -1
- package/package.json +2 -3
- package/src/api.ts +352 -20
package/src/api.ts
CHANGED
|
@@ -117,6 +117,12 @@ const factories = {
|
|
|
117
117
|
num_events: factories.long(),
|
|
118
118
|
}),
|
|
119
119
|
|
|
120
|
+
'io.flow.ben.test.internal.v0.models.generate_load_rate': (): io.flow.ben.test.internal.v0.models.GenerateLoadRate => ({
|
|
121
|
+
organization_ids: arrayOf(() => factories.string()),
|
|
122
|
+
events_per_second: factories.long(),
|
|
123
|
+
duration_seconds: factories.long(),
|
|
124
|
+
}),
|
|
125
|
+
|
|
120
126
|
'io.flow.ben.test.internal.v0.models.generate_load_single_org': (): io.flow.ben.test.internal.v0.models.GenerateLoadSingleOrg => ({
|
|
121
127
|
discriminator: 'generate_load_single_org',
|
|
122
128
|
organization_id: factories.string(),
|
|
@@ -174,6 +180,7 @@ const factories = {
|
|
|
174
180
|
'unsupported_order_edit',
|
|
175
181
|
'order_allocation_duties_mismatch',
|
|
176
182
|
'order_missing',
|
|
183
|
+
'organization_deactivated',
|
|
177
184
|
]),
|
|
178
185
|
|
|
179
186
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus => faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']),
|
|
@@ -634,6 +641,7 @@ const factories = {
|
|
|
634
641
|
'io.flow.common.v0.models.line_item_form': (): io.flow.common.v0.models.LineItemForm => ({
|
|
635
642
|
number: factories.string(),
|
|
636
643
|
quantity: factories.long(),
|
|
644
|
+
line_item_identifier: factories.string(),
|
|
637
645
|
shipment_estimate: factories['io.flow.common.v0.models.datetime_range'](),
|
|
638
646
|
price: factories['io.flow.common.v0.models.money'](),
|
|
639
647
|
attributes: objectOf(() => factories.string()),
|
|
@@ -4226,6 +4234,101 @@ const factories = {
|
|
|
4226
4234
|
return f();
|
|
4227
4235
|
},
|
|
4228
4236
|
|
|
4237
|
+
'io.flow.tech.onboarding.playground.v0.enums.amrutha_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AmruthaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4238
|
+
'io.flow.tech.onboarding.playground.v0.enums.bojana_item_type': (): io.flow.tech.onboarding.playground.v0.enums.BojanaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4239
|
+
'io.flow.tech.onboarding.playground.v0.enums.chenglin_item_type': (): io.flow.tech.onboarding.playground.v0.enums.ChenglinItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4240
|
+
'io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type': (): io.flow.tech.onboarding.playground.v0.enums.GabrielItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4241
|
+
'io.flow.tech.onboarding.playground.v0.enums.raveena_item_type': (): io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4242
|
+
|
|
4243
|
+
'io.flow.tech.onboarding.playground.v0.models.amrutha_item': (): io.flow.tech.onboarding.playground.v0.models.AmruthaItem => ({
|
|
4244
|
+
id: factories.string(),
|
|
4245
|
+
number: factories.string(),
|
|
4246
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4247
|
+
description: factories.string(),
|
|
4248
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.amrutha_item_type'](),
|
|
4249
|
+
added_on: factories.date_time_iso_8601(),
|
|
4250
|
+
}),
|
|
4251
|
+
|
|
4252
|
+
'io.flow.tech.onboarding.playground.v0.models.amrutha_item_form': (): io.flow.tech.onboarding.playground.v0.models.AmruthaItemForm => ({
|
|
4253
|
+
number: factories.string(),
|
|
4254
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4255
|
+
description: factories.string(),
|
|
4256
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.amrutha_item_type'](),
|
|
4257
|
+
added_on: factories.date_time_iso_8601(),
|
|
4258
|
+
}),
|
|
4259
|
+
|
|
4260
|
+
'io.flow.tech.onboarding.playground.v0.models.bojana_item': (): io.flow.tech.onboarding.playground.v0.models.BojanaItem => ({
|
|
4261
|
+
id: factories.string(),
|
|
4262
|
+
number: factories.string(),
|
|
4263
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4264
|
+
description: factories.string(),
|
|
4265
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.bojana_item_type'](),
|
|
4266
|
+
added_on: factories.date_time_iso_8601(),
|
|
4267
|
+
}),
|
|
4268
|
+
|
|
4269
|
+
'io.flow.tech.onboarding.playground.v0.models.bojana_item_form': (): io.flow.tech.onboarding.playground.v0.models.BojanaItemForm => ({
|
|
4270
|
+
number: factories.string(),
|
|
4271
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4272
|
+
description: factories.string(),
|
|
4273
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.bojana_item_type'](),
|
|
4274
|
+
added_on: factories.date_time_iso_8601(),
|
|
4275
|
+
}),
|
|
4276
|
+
|
|
4277
|
+
'io.flow.tech.onboarding.playground.v0.models.chenglin_item': (): io.flow.tech.onboarding.playground.v0.models.ChenglinItem => ({
|
|
4278
|
+
id: factories.string(),
|
|
4279
|
+
number: factories.string(),
|
|
4280
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4281
|
+
description: factories.string(),
|
|
4282
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type'](),
|
|
4283
|
+
added_on: factories.date_iso_8601(),
|
|
4284
|
+
}),
|
|
4285
|
+
|
|
4286
|
+
'io.flow.tech.onboarding.playground.v0.models.chenglin_item_form': (): io.flow.tech.onboarding.playground.v0.models.ChenglinItemForm => ({
|
|
4287
|
+
number: factories.string(),
|
|
4288
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4289
|
+
description: factories.string(),
|
|
4290
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type'](),
|
|
4291
|
+
added_on: factories.date_iso_8601(),
|
|
4292
|
+
}),
|
|
4293
|
+
|
|
4294
|
+
'io.flow.tech.onboarding.playground.v0.models.gabriel_item': (): io.flow.tech.onboarding.playground.v0.models.GabrielItem => ({
|
|
4295
|
+
id: factories.string(),
|
|
4296
|
+
number: factories.string(),
|
|
4297
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4298
|
+
description: factories.string(),
|
|
4299
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type'](),
|
|
4300
|
+
added_on: factories.date_iso_8601(),
|
|
4301
|
+
}),
|
|
4302
|
+
|
|
4303
|
+
'io.flow.tech.onboarding.playground.v0.models.gabriel_item_form': (): io.flow.tech.onboarding.playground.v0.models.GabrielItemForm => ({
|
|
4304
|
+
number: factories.string(),
|
|
4305
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4306
|
+
description: factories.string(),
|
|
4307
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type'](),
|
|
4308
|
+
added_on: factories.date_iso_8601(),
|
|
4309
|
+
}),
|
|
4310
|
+
|
|
4311
|
+
'io.flow.tech.onboarding.playground.v0.models.raveena_item': (): io.flow.tech.onboarding.playground.v0.models.RaveenaItem => ({
|
|
4312
|
+
id: factories.string(),
|
|
4313
|
+
number: factories.string(),
|
|
4314
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4315
|
+
description: factories.string(),
|
|
4316
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.raveena_item_type'](),
|
|
4317
|
+
added_on: factories.date_time_iso_8601(),
|
|
4318
|
+
}),
|
|
4319
|
+
|
|
4320
|
+
'io.flow.tech.onboarding.playground.v0.models.raveena_item_form': (): io.flow.tech.onboarding.playground.v0.models.RaveenaItemForm => ({
|
|
4321
|
+
number: factories.string(),
|
|
4322
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4323
|
+
description: factories.string(),
|
|
4324
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.raveena_item_type'](),
|
|
4325
|
+
added_on: factories.date_time_iso_8601(),
|
|
4326
|
+
}),
|
|
4327
|
+
|
|
4328
|
+
'io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description': (): io.flow.tech.onboarding.playground.v0.models.TechOnboardingDescription => ({
|
|
4329
|
+
description: factories.string(),
|
|
4330
|
+
}),
|
|
4331
|
+
|
|
4229
4332
|
'io.flow.v0.enums.abandoned_order_promotion_status': (): io.flow.v0.enums.AbandonedOrderPromotionStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
4230
4333
|
'io.flow.v0.enums.abandoned_order_setting_status': (): io.flow.v0.enums.AbandonedOrderSettingStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
4231
4334
|
|
|
@@ -4435,6 +4538,8 @@ const factories = {
|
|
|
4435
4538
|
'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.helpers.arrayElement([
|
|
4436
4539
|
'test_upserted',
|
|
4437
4540
|
'generate_load',
|
|
4541
|
+
'amrutha_item_upserted',
|
|
4542
|
+
'amrutha_item_deleted',
|
|
4438
4543
|
'transaction_upserted',
|
|
4439
4544
|
'organization_transaction_upserted',
|
|
4440
4545
|
'organization_transaction_deleted',
|
|
@@ -4484,6 +4589,8 @@ const factories = {
|
|
|
4484
4589
|
'consumer_invoice_deleted',
|
|
4485
4590
|
'credit_memo_upserted',
|
|
4486
4591
|
'credit_memo_deleted',
|
|
4592
|
+
'fee_invoice_upserted',
|
|
4593
|
+
'fee_invoice_deleted',
|
|
4487
4594
|
'crossdock_shipment_upserted',
|
|
4488
4595
|
'rate_deleted',
|
|
4489
4596
|
'rate_upserted',
|
|
@@ -4495,6 +4602,8 @@ const factories = {
|
|
|
4495
4602
|
'order_upserted_v2',
|
|
4496
4603
|
'order_identifier_deleted_v2',
|
|
4497
4604
|
'order_identifier_upserted_v3',
|
|
4605
|
+
'order_state_upserted',
|
|
4606
|
+
'order_state_deleted',
|
|
4498
4607
|
'fraud_status_changed',
|
|
4499
4608
|
'center_upserted',
|
|
4500
4609
|
'center_deleted',
|
|
@@ -4519,6 +4628,8 @@ const factories = {
|
|
|
4519
4628
|
'item_origin_deleted',
|
|
4520
4629
|
'harmonized_landed_cost_upserted',
|
|
4521
4630
|
'fully_harmonized_item_upserted',
|
|
4631
|
+
'tariff_codes_upserted',
|
|
4632
|
+
'tariff_codes_deleted',
|
|
4522
4633
|
'label_deleted_v2',
|
|
4523
4634
|
'label_upserted_v2',
|
|
4524
4635
|
'notification_upserted_v2',
|
|
@@ -4622,13 +4733,22 @@ const factories = {
|
|
|
4622
4733
|
'transfer',
|
|
4623
4734
|
'negative_balance_guarantee',
|
|
4624
4735
|
'sp',
|
|
4736
|
+
'rev_share',
|
|
4625
4737
|
]),
|
|
4626
4738
|
|
|
4739
|
+
'io.flow.v0.enums.fee_invoice_type': (): io.flow.v0.enums.FeeInvoiceType => faker.helpers.arrayElement(['mor_invoice', 'label_invoice', 'mor_credit_memo', 'label_credit_memo']),
|
|
4627
4740
|
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.helpers.arrayElement(['view_consumer_data']),
|
|
4628
4741
|
|
|
4629
|
-
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.helpers.arrayElement(
|
|
4630
|
-
|
|
4631
|
-
|
|
4742
|
+
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.helpers.arrayElement([
|
|
4743
|
+
'flow-usa',
|
|
4744
|
+
'flow-irl',
|
|
4745
|
+
'flow-can',
|
|
4746
|
+
'ge-usa',
|
|
4747
|
+
'ge-can',
|
|
4748
|
+
'ge-can-ship',
|
|
4749
|
+
'ge-gbr',
|
|
4750
|
+
'ge-irl',
|
|
4751
|
+
]),
|
|
4632
4752
|
|
|
4633
4753
|
'io.flow.v0.enums.flow_role': (): io.flow.v0.enums.FlowRole => faker.helpers.arrayElement([
|
|
4634
4754
|
'organization_admin',
|
|
@@ -4710,6 +4830,7 @@ const factories = {
|
|
|
4710
4830
|
'notification_requiring_crossdock',
|
|
4711
4831
|
'flow_simulation_sync',
|
|
4712
4832
|
'autogenerated',
|
|
4833
|
+
'legacy_shopify_graphql_server',
|
|
4713
4834
|
]),
|
|
4714
4835
|
|
|
4715
4836
|
'io.flow.v0.enums.label_trigger_method': (): io.flow.v0.enums.LabelTriggerMethod => faker.helpers.arrayElement(['autogenerated', 'on_demand']),
|
|
@@ -4863,9 +4984,10 @@ const factories = {
|
|
|
4863
4984
|
'tip',
|
|
4864
4985
|
]),
|
|
4865
4986
|
|
|
4866
|
-
'io.flow.v0.enums.order_price_fee_type': (): io.flow.v0.enums.OrderPriceFeeType => faker.helpers.arrayElement(['service', 'fx', 'tax', 'duties', 'tax_and_duties', 'product']),
|
|
4987
|
+
'io.flow.v0.enums.order_price_fee_type': (): io.flow.v0.enums.OrderPriceFeeType => faker.helpers.arrayElement(['service', 'fx', 'tax', 'duties', 'tax_and_duties', 'product', 'mor_tax']),
|
|
4867
4988
|
'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.helpers.arrayElement(['duties', 'vat', 'shipping']),
|
|
4868
4989
|
'io.flow.v0.enums.order_refund_summary_partial_charged': (): io.flow.v0.enums.OrderRefundSummaryPartialCharged => faker.helpers.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']),
|
|
4990
|
+
'io.flow.v0.enums.order_state_status': (): io.flow.v0.enums.OrderStateStatus => faker.helpers.arrayElement(['pending', 'accepted', 'rejected']),
|
|
4869
4991
|
'io.flow.v0.enums.order_status': (): io.flow.v0.enums.OrderStatus => faker.helpers.arrayElement(['open', 'submitted']),
|
|
4870
4992
|
'io.flow.v0.enums.order_storage': (): io.flow.v0.enums.OrderStorage => faker.helpers.arrayElement(['do_not_persist', 'persist']),
|
|
4871
4993
|
'io.flow.v0.enums.order_type': (): io.flow.v0.enums.OrderType => faker.helpers.arrayElement(['standard', 'replacement', 'edit']),
|
|
@@ -5133,7 +5255,16 @@ const factories = {
|
|
|
5133
5255
|
]),
|
|
5134
5256
|
|
|
5135
5257
|
'io.flow.v0.enums.sellability_request_status': (): io.flow.v0.enums.SellabilityRequestStatus => faker.helpers.arrayElement(['commit']),
|
|
5136
|
-
|
|
5258
|
+
|
|
5259
|
+
'io.flow.v0.enums.sellability_result_error_code': (): io.flow.v0.enums.SellabilityResultErrorCode => faker.helpers.arrayElement([
|
|
5260
|
+
'insufficient_details',
|
|
5261
|
+
'ineligible_category',
|
|
5262
|
+
'wait_for_high_fidelity',
|
|
5263
|
+
'external_service_unavailable',
|
|
5264
|
+
'generic_error',
|
|
5265
|
+
'catalog_processing_threshold',
|
|
5266
|
+
]),
|
|
5267
|
+
|
|
5137
5268
|
'io.flow.v0.enums.sellability_result_status': (): io.flow.v0.enums.SellabilityResultStatus => faker.helpers.arrayElement(['in_review', 'succeeded', 'failed']),
|
|
5138
5269
|
'io.flow.v0.enums.sellability_screening_mode': (): io.flow.v0.enums.SellabilityScreeningMode => faker.helpers.arrayElement(['pre_onboarding', 'default_on', 'active']),
|
|
5139
5270
|
'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
|
|
@@ -5210,6 +5341,14 @@ const factories = {
|
|
|
5210
5341
|
]),
|
|
5211
5342
|
|
|
5212
5343
|
'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.helpers.arrayElement(['organization', 'customer']),
|
|
5344
|
+
|
|
5345
|
+
'io.flow.v0.enums.tax_and_duty_inclusivity_setting': (): io.flow.v0.enums.TaxAndDutyInclusivitySetting => faker.helpers.arrayElement([
|
|
5346
|
+
'duty_exclusive_tax_exclusive',
|
|
5347
|
+
'duty_inclusive_tax_exclusive',
|
|
5348
|
+
'duty_exclusive_tax_inclusive',
|
|
5349
|
+
'duty_inclusive_tax_inclusive',
|
|
5350
|
+
]),
|
|
5351
|
+
|
|
5213
5352
|
'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.helpers.arrayElement(['none', 'all']),
|
|
5214
5353
|
|
|
5215
5354
|
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.helpers.arrayElement([
|
|
@@ -5248,6 +5387,7 @@ const factories = {
|
|
|
5248
5387
|
'wyol_shipment_above_de_min',
|
|
5249
5388
|
'full_refund_without_shipment',
|
|
5250
5389
|
'unfulfilled_order_above_de_min',
|
|
5390
|
+
'order_cancellation_without_capture',
|
|
5251
5391
|
]),
|
|
5252
5392
|
|
|
5253
5393
|
'io.flow.v0.enums.tax_jurisdiction_type': (): io.flow.v0.enums.TaxJurisdictionType => faker.helpers.arrayElement(['country', 'province']),
|
|
@@ -5318,6 +5458,9 @@ const factories = {
|
|
|
5318
5458
|
'merchant_fee',
|
|
5319
5459
|
'b2b_tax',
|
|
5320
5460
|
'b2b_tax_refund',
|
|
5461
|
+
'b2b_fee_mor_tax',
|
|
5462
|
+
'b2b_fee_shipping_tax',
|
|
5463
|
+
'flat_rate_label',
|
|
5321
5464
|
]),
|
|
5322
5465
|
|
|
5323
5466
|
'io.flow.v0.enums.transfer_status': (): io.flow.v0.enums.TransferStatus => faker.helpers.arrayElement(['succeeded', 'canceled']),
|
|
@@ -5838,6 +5981,20 @@ const factories = {
|
|
|
5838
5981
|
margin: factories['io.flow.v0.models.money'](),
|
|
5839
5982
|
}),
|
|
5840
5983
|
|
|
5984
|
+
'io.flow.v0.models.amrutha_item_deleted': (): io.flow.v0.models.AmruthaItemDeleted => ({
|
|
5985
|
+
discriminator: 'amrutha_item_deleted',
|
|
5986
|
+
event_id: factories.string(),
|
|
5987
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5988
|
+
id: factories.string(),
|
|
5989
|
+
}),
|
|
5990
|
+
|
|
5991
|
+
'io.flow.v0.models.amrutha_item_upserted': (): io.flow.v0.models.AmruthaItemUpserted => ({
|
|
5992
|
+
discriminator: 'amrutha_item_upserted',
|
|
5993
|
+
event_id: factories.string(),
|
|
5994
|
+
timestamp: factories.date_time_iso_8601(),
|
|
5995
|
+
item: factories['io.flow.tech.onboarding.playground.v0.models.amrutha_item'](),
|
|
5996
|
+
}),
|
|
5997
|
+
|
|
5841
5998
|
'io.flow.v0.models.analytics_export_type': (): io.flow.v0.models.AnalyticsExportType => ({
|
|
5842
5999
|
discriminator: 'analytics_export_type',
|
|
5843
6000
|
from: factories.date_time_iso_8601(),
|
|
@@ -6140,6 +6297,7 @@ const factories = {
|
|
|
6140
6297
|
b2b_invoice_type: factories['io.flow.v0.enums.b2b_invoice_type'](),
|
|
6141
6298
|
center: factories['io.flow.v0.models.consumer_invoice_center_reference'](),
|
|
6142
6299
|
order: factories['io.flow.v0.models.consumer_invoice_order_summary'](),
|
|
6300
|
+
voids_b2b_invoice: factories.boolean(),
|
|
6143
6301
|
}),
|
|
6144
6302
|
|
|
6145
6303
|
'io.flow.v0.models.b2b_credit_memo_deleted': (): io.flow.v0.models.B2BCreditMemoDeleted => ({
|
|
@@ -6239,13 +6397,9 @@ const factories = {
|
|
|
6239
6397
|
'io.flow.v0.models.bank_account_info_kor': (): io.flow.v0.models.BankAccountInfoKor => ({
|
|
6240
6398
|
discriminator: 'kor',
|
|
6241
6399
|
name: factories.string(),
|
|
6242
|
-
address: factories['io.flow.v0.models.address'](),
|
|
6243
|
-
phone: factories.string(),
|
|
6244
|
-
email: factories.string(),
|
|
6245
6400
|
bank_account_number: factories.string(),
|
|
6246
6401
|
bank_routing_number: factories.string(),
|
|
6247
6402
|
bank_name: factories.string(),
|
|
6248
|
-
bank_address: factories['io.flow.v0.models.address'](),
|
|
6249
6403
|
}),
|
|
6250
6404
|
|
|
6251
6405
|
'io.flow.v0.models.bank_account_info_usa': (): io.flow.v0.models.BankAccountInfoUsa => ({
|
|
@@ -7225,7 +7379,6 @@ const factories = {
|
|
|
7225
7379
|
beneficiary_details: factories['io.flow.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
7226
7380
|
other_trade_sector: factories.string(),
|
|
7227
7381
|
center_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
7228
|
-
center_address: factories['io.flow.v0.models.address'](),
|
|
7229
7382
|
average_order_weight: factories.decimal(),
|
|
7230
7383
|
average_order_weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
7231
7384
|
package_dimensions: arrayOf(() => factories['io.flow.v0.models.dimension']()),
|
|
@@ -7253,7 +7406,6 @@ const factories = {
|
|
|
7253
7406
|
beneficiary_details: factories['io.flow.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
7254
7407
|
other_trade_sector: factories.string(),
|
|
7255
7408
|
center_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
7256
|
-
center_address: factories['io.flow.v0.models.address'](),
|
|
7257
7409
|
average_order_weight: factories.decimal(),
|
|
7258
7410
|
average_order_weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
7259
7411
|
package_dimensions: arrayOf(() => factories['io.flow.v0.models.dimension']()),
|
|
@@ -8650,6 +8802,37 @@ const factories = {
|
|
|
8650
8802
|
description: factories.string(),
|
|
8651
8803
|
}),
|
|
8652
8804
|
|
|
8805
|
+
'io.flow.v0.models.fee_invoice': (): io.flow.v0.models.FeeInvoice => ({
|
|
8806
|
+
id: factories.string(),
|
|
8807
|
+
number: factories.string(),
|
|
8808
|
+
invoice_type: factories['io.flow.v0.enums.fee_invoice_type'](),
|
|
8809
|
+
buyer: factories['io.flow.v0.models.merchant_of_record_entity'](),
|
|
8810
|
+
seller: factories['io.flow.v0.models.merchant_of_record_entity'](),
|
|
8811
|
+
date: factories.date_time_iso_8601(),
|
|
8812
|
+
b2b_tax_transaction_id: factories.string(),
|
|
8813
|
+
order_number: factories.string(),
|
|
8814
|
+
tax: factories['io.flow.v0.models.money'](),
|
|
8815
|
+
tax_lines: arrayOf(() => factories['io.flow.v0.models.invoice_tax_line']()),
|
|
8816
|
+
lines: arrayOf(() => factories['io.flow.v0.unions.consumer_invoice_line']()),
|
|
8817
|
+
documents: arrayOf(() => factories['io.flow.v0.models.consumer_invoice_document']()),
|
|
8818
|
+
}),
|
|
8819
|
+
|
|
8820
|
+
'io.flow.v0.models.fee_invoice_deleted': (): io.flow.v0.models.FeeInvoiceDeleted => ({
|
|
8821
|
+
discriminator: 'fee_invoice_deleted',
|
|
8822
|
+
event_id: factories.string(),
|
|
8823
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8824
|
+
organization: factories.string(),
|
|
8825
|
+
id: factories.string(),
|
|
8826
|
+
}),
|
|
8827
|
+
|
|
8828
|
+
'io.flow.v0.models.fee_invoice_upserted': (): io.flow.v0.models.FeeInvoiceUpserted => ({
|
|
8829
|
+
discriminator: 'fee_invoice_upserted',
|
|
8830
|
+
event_id: factories.string(),
|
|
8831
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8832
|
+
organization: factories.string(),
|
|
8833
|
+
fee_invoice: factories['io.flow.v0.models.fee_invoice'](),
|
|
8834
|
+
}),
|
|
8835
|
+
|
|
8653
8836
|
'io.flow.v0.models.fee_weight': (): io.flow.v0.models.FeeWeight => ({
|
|
8654
8837
|
weight: factories.decimal(),
|
|
8655
8838
|
unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
@@ -9099,6 +9282,11 @@ const factories = {
|
|
|
9099
9282
|
sort: factories.string(),
|
|
9100
9283
|
}),
|
|
9101
9284
|
|
|
9285
|
+
'io.flow.v0.models.harmonization_tariff_code': (): io.flow.v0.models.HarmonizationTariffCode => ({
|
|
9286
|
+
tariff_code: factories.string(),
|
|
9287
|
+
destination: factories.string(),
|
|
9288
|
+
}),
|
|
9289
|
+
|
|
9102
9290
|
'io.flow.v0.models.harmonization_tariff_codes_export_type': (): io.flow.v0.models.HarmonizationTariffCodesExportType => ({
|
|
9103
9291
|
discriminator: 'harmonization_tariff_codes_export_type',
|
|
9104
9292
|
sort: factories.string(),
|
|
@@ -9906,6 +10094,7 @@ const factories = {
|
|
|
9906
10094
|
'io.flow.v0.models.line_item_form': (): io.flow.v0.models.LineItemForm => ({
|
|
9907
10095
|
number: factories.string(),
|
|
9908
10096
|
quantity: factories.long(),
|
|
10097
|
+
line_item_identifier: factories.string(),
|
|
9909
10098
|
shipment_estimate: factories['io.flow.v0.models.datetime_range'](),
|
|
9910
10099
|
price: factories['io.flow.v0.models.money'](),
|
|
9911
10100
|
attributes: objectOf(() => factories.string()),
|
|
@@ -10485,6 +10674,7 @@ const factories = {
|
|
|
10485
10674
|
company: factories.string(),
|
|
10486
10675
|
email: factories.string(),
|
|
10487
10676
|
phone: factories.string(),
|
|
10677
|
+
address: factories['io.flow.v0.models.address'](),
|
|
10488
10678
|
}),
|
|
10489
10679
|
|
|
10490
10680
|
'io.flow.v0.models.option_weight_estimates': (): io.flow.v0.models.OptionWeightEstimates => ({
|
|
@@ -10961,6 +11151,48 @@ const factories = {
|
|
|
10961
11151
|
filename: factories.string(),
|
|
10962
11152
|
}),
|
|
10963
11153
|
|
|
11154
|
+
'io.flow.v0.models.order_state': (): io.flow.v0.models.OrderState => ({
|
|
11155
|
+
id: factories.string(),
|
|
11156
|
+
order_number: factories.string(),
|
|
11157
|
+
external_order_reference: factories.string(),
|
|
11158
|
+
payment_requests: arrayOf(() => factories['io.flow.v0.models.payment_request_reference']()),
|
|
11159
|
+
status: factories['io.flow.v0.enums.order_state_status'](),
|
|
11160
|
+
rejection_reasons: arrayOf(() => factories['io.flow.v0.unions.order_state_rejection_reason']()),
|
|
11161
|
+
}),
|
|
11162
|
+
|
|
11163
|
+
'io.flow.v0.models.order_state_deleted': (): io.flow.v0.models.OrderStateDeleted => ({
|
|
11164
|
+
discriminator: 'order_state_deleted',
|
|
11165
|
+
event_id: factories.string(),
|
|
11166
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11167
|
+
organization: factories.string(),
|
|
11168
|
+
channel_id: factories.string(),
|
|
11169
|
+
id: factories.string(),
|
|
11170
|
+
}),
|
|
11171
|
+
|
|
11172
|
+
'io.flow.v0.models.order_state_rejection_reason_domestic_order': (): io.flow.v0.models.OrderStateRejectionReasonDomesticOrder => ({
|
|
11173
|
+
discriminator: 'order_state_rejection_reason_domestic_order',
|
|
11174
|
+
destination_address: factories['io.flow.v0.models.address'](),
|
|
11175
|
+
}),
|
|
11176
|
+
|
|
11177
|
+
'io.flow.v0.models.order_state_rejection_reason_items_empty': (): io.flow.v0.models.OrderStateRejectionReasonItemsEmpty => ({
|
|
11178
|
+
discriminator: 'order_state_rejection_reason_items_empty',
|
|
11179
|
+
line_items: arrayOf(() => factories.string()),
|
|
11180
|
+
}),
|
|
11181
|
+
|
|
11182
|
+
'io.flow.v0.models.order_state_rejection_reason_restricted_item': (): io.flow.v0.models.OrderStateRejectionReasonRestrictedItem => ({
|
|
11183
|
+
discriminator: 'order_state_rejection_reason_restricted_item',
|
|
11184
|
+
item_numbers: arrayOf(() => factories.string()),
|
|
11185
|
+
}),
|
|
11186
|
+
|
|
11187
|
+
'io.flow.v0.models.order_state_upserted': (): io.flow.v0.models.OrderStateUpserted => ({
|
|
11188
|
+
discriminator: 'order_state_upserted',
|
|
11189
|
+
event_id: factories.string(),
|
|
11190
|
+
timestamp: factories.date_time_iso_8601(),
|
|
11191
|
+
organization: factories.string(),
|
|
11192
|
+
channel_id: factories.string(),
|
|
11193
|
+
order_state: factories['io.flow.v0.models.order_state'](),
|
|
11194
|
+
}),
|
|
11195
|
+
|
|
10964
11196
|
'io.flow.v0.models.order_submission_form': (): io.flow.v0.models.OrderSubmissionForm => ({
|
|
10965
11197
|
identifiers: arrayOf(() => factories['io.flow.v0.models.order_submission_identifier_form']()),
|
|
10966
11198
|
}),
|
|
@@ -12592,6 +12824,10 @@ const factories = {
|
|
|
12592
12824
|
hs_code: factories.string(),
|
|
12593
12825
|
restricted_regions_by_type: arrayOf(() => factories['io.flow.v0.models.sellability_region_result']()),
|
|
12594
12826
|
needs_action_attributes: arrayOf(() => factories['io.flow.v0.models.needs_action_attributes']()),
|
|
12827
|
+
fingerprint: factories.string(),
|
|
12828
|
+
restriction_created_at: factories.date_time_iso_8601(),
|
|
12829
|
+
first_reviewed_at: factories.date_time_iso_8601(),
|
|
12830
|
+
seconds_to_first_review: factories.long(),
|
|
12595
12831
|
}),
|
|
12596
12832
|
|
|
12597
12833
|
'io.flow.v0.models.product_restriction_result_deleted': (): io.flow.v0.models.ProductRestrictionResultDeleted => ({
|
|
@@ -12632,6 +12868,7 @@ const factories = {
|
|
|
12632
12868
|
}),
|
|
12633
12869
|
|
|
12634
12870
|
'io.flow.v0.models.product_sellability_result': (): io.flow.v0.models.ProductSellabilityResult => ({
|
|
12871
|
+
id: factories.string(),
|
|
12635
12872
|
merchant_id: factories.string(),
|
|
12636
12873
|
product_id: factories.string(),
|
|
12637
12874
|
restricted_regions: arrayOf(() => factories['io.flow.v0.models.sellability_restricted_region']()),
|
|
@@ -12646,6 +12883,8 @@ const factories = {
|
|
|
12646
12883
|
event_id: factories.string(),
|
|
12647
12884
|
timestamp: factories.date_time_iso_8601(),
|
|
12648
12885
|
organization: factories.string(),
|
|
12886
|
+
merchant: factories.string(),
|
|
12887
|
+
channel_id: factories.string(),
|
|
12649
12888
|
id: factories.string(),
|
|
12650
12889
|
}),
|
|
12651
12890
|
|
|
@@ -12654,6 +12893,8 @@ const factories = {
|
|
|
12654
12893
|
event_id: factories.string(),
|
|
12655
12894
|
timestamp: factories.date_time_iso_8601(),
|
|
12656
12895
|
organization: factories.string(),
|
|
12896
|
+
merchant: factories.string(),
|
|
12897
|
+
channel_id: factories.string(),
|
|
12657
12898
|
product_sellability_result: factories['io.flow.v0.models.product_sellability_result'](),
|
|
12658
12899
|
}),
|
|
12659
12900
|
|
|
@@ -12883,6 +13124,12 @@ const factories = {
|
|
|
12883
13124
|
name: factories.string(),
|
|
12884
13125
|
}),
|
|
12885
13126
|
|
|
13127
|
+
'io.flow.v0.models.ratecard_data': (): io.flow.v0.models.RatecardData => ({
|
|
13128
|
+
dhlParcelDistributionCenter: factories.string(),
|
|
13129
|
+
glbeRatecardMetadataLaneIdentifier: factories.string(),
|
|
13130
|
+
pickupCenter: factories.string(),
|
|
13131
|
+
}),
|
|
13132
|
+
|
|
12886
13133
|
'io.flow.v0.models.ratecard_deleted': (): io.flow.v0.models.RatecardDeleted => ({
|
|
12887
13134
|
discriminator: 'ratecard_deleted',
|
|
12888
13135
|
event_id: factories.string(),
|
|
@@ -12909,13 +13156,6 @@ const factories = {
|
|
|
12909
13156
|
commercial_invoice_mode: factories['io.flow.v0.enums.commercial_invoice_mode'](),
|
|
12910
13157
|
}),
|
|
12911
13158
|
|
|
12912
|
-
'io.flow.v0.models.ratecard_estimate_summary_form': (): io.flow.v0.models.RatecardEstimateSummaryForm => ({
|
|
12913
|
-
origin: factories.string(),
|
|
12914
|
-
destination: factories.string(),
|
|
12915
|
-
service: factories.string(),
|
|
12916
|
-
center_key: factories.string(),
|
|
12917
|
-
}),
|
|
12918
|
-
|
|
12919
13159
|
'io.flow.v0.models.ratecard_estimate_v1': (): io.flow.v0.models.RatecardEstimateV1 => ({
|
|
12920
13160
|
discriminator: 'ratecard_estimate_v1',
|
|
12921
13161
|
service: factories['io.flow.v0.models.ratecard_service_summary'](),
|
|
@@ -12983,7 +13223,7 @@ const factories = {
|
|
|
12983
13223
|
glbe_shipping_method_id: factories.string(),
|
|
12984
13224
|
glbe_proposition_name: factories.string(),
|
|
12985
13225
|
channel_revenue_share_percentage: factories.decimal(),
|
|
12986
|
-
data:
|
|
13226
|
+
data: factories['io.flow.v0.models.ratecard_data'](),
|
|
12987
13227
|
}),
|
|
12988
13228
|
|
|
12989
13229
|
'io.flow.v0.models.ratecard_lane': (): io.flow.v0.models.RatecardLane => ({
|
|
@@ -13619,12 +13859,14 @@ const factories = {
|
|
|
13619
13859
|
'io.flow.v0.models.sellability_needs_action_attributes': (): io.flow.v0.models.SellabilityNeedsActionAttributes => ({
|
|
13620
13860
|
reason_code: factories.string(),
|
|
13621
13861
|
category_metafield_handles: arrayOf(() => factories.string()),
|
|
13862
|
+
category_metafield_ids: arrayOf(() => factories.string()),
|
|
13622
13863
|
require_msds: factories.boolean(),
|
|
13623
13864
|
}),
|
|
13624
13865
|
|
|
13625
13866
|
'io.flow.v0.models.sellability_reason_with_regions': (): io.flow.v0.models.SellabilityReasonWithRegions => ({
|
|
13626
13867
|
reason: factories.string(),
|
|
13627
13868
|
regions: arrayOf(() => factories.string()),
|
|
13869
|
+
review_status: factories.string(),
|
|
13628
13870
|
}),
|
|
13629
13871
|
|
|
13630
13872
|
'io.flow.v0.models.sellability_region_result': (): io.flow.v0.models.SellabilityRegionResult => ({
|
|
@@ -14102,6 +14344,7 @@ const factories = {
|
|
|
14102
14344
|
}),
|
|
14103
14345
|
|
|
14104
14346
|
'io.flow.v0.models.shipping_rate_estimate_request': (): io.flow.v0.models.ShippingRateEstimateRequest => ({
|
|
14347
|
+
carrier_id: factories.string(),
|
|
14105
14348
|
origin_address: factories['io.flow.v0.models.address'](),
|
|
14106
14349
|
destination_address: factories['io.flow.v0.models.address'](),
|
|
14107
14350
|
package_dimensions: factories['io.flow.v0.models.dimension'](),
|
|
@@ -14679,6 +14922,29 @@ const factories = {
|
|
|
14679
14922
|
available: arrayOf(() => factories['io.flow.v0.models.surcharge_responsible_party_display']()),
|
|
14680
14923
|
}),
|
|
14681
14924
|
|
|
14925
|
+
'io.flow.v0.models.tariff_codes': (): io.flow.v0.models.TariffCodes => ({
|
|
14926
|
+
item_number: factories.string(),
|
|
14927
|
+
product_id: factories.string(),
|
|
14928
|
+
hs6_code: factories.string(),
|
|
14929
|
+
codes: arrayOf(() => factories['io.flow.v0.models.harmonization_tariff_code']()),
|
|
14930
|
+
}),
|
|
14931
|
+
|
|
14932
|
+
'io.flow.v0.models.tariff_codes_deleted': (): io.flow.v0.models.TariffCodesDeleted => ({
|
|
14933
|
+
discriminator: 'tariff_codes_deleted',
|
|
14934
|
+
event_id: factories.string(),
|
|
14935
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14936
|
+
organization: factories.string(),
|
|
14937
|
+
id: factories.string(),
|
|
14938
|
+
}),
|
|
14939
|
+
|
|
14940
|
+
'io.flow.v0.models.tariff_codes_upserted': (): io.flow.v0.models.TariffCodesUpserted => ({
|
|
14941
|
+
discriminator: 'tariff_codes_upserted',
|
|
14942
|
+
event_id: factories.string(),
|
|
14943
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14944
|
+
organization: factories.string(),
|
|
14945
|
+
tariff_codes: factories['io.flow.v0.models.tariff_codes'](),
|
|
14946
|
+
}),
|
|
14947
|
+
|
|
14682
14948
|
'io.flow.v0.models.tax': (): io.flow.v0.models.Tax => ({
|
|
14683
14949
|
name: factories.string(),
|
|
14684
14950
|
rate: factories.decimal(),
|
|
@@ -14832,6 +15098,8 @@ const factories = {
|
|
|
14832
15098
|
discriminator: 'test_upserted',
|
|
14833
15099
|
event_id: factories.string(),
|
|
14834
15100
|
timestamp: factories.date_time_iso_8601(),
|
|
15101
|
+
organization: factories.string(),
|
|
15102
|
+
channel_id: factories.string(),
|
|
14835
15103
|
test: factories['io.flow.ben.test.internal.v0.models.test'](),
|
|
14836
15104
|
}),
|
|
14837
15105
|
|
|
@@ -15259,11 +15527,33 @@ const factories = {
|
|
|
15259
15527
|
id: factories.string(),
|
|
15260
15528
|
}),
|
|
15261
15529
|
|
|
15530
|
+
'io.flow.v0.models.transaction_metadata_flat_rate_label': (): io.flow.v0.models.TransactionMetadataFlatRateLabel => ({
|
|
15531
|
+
discriminator: 'flat_rate_label',
|
|
15532
|
+
flat_rate: factories.decimal(),
|
|
15533
|
+
coefficient: factories.decimal(),
|
|
15534
|
+
}),
|
|
15535
|
+
|
|
15262
15536
|
'io.flow.v0.models.transaction_metadata_manual': (): io.flow.v0.models.TransactionMetadataManual => ({
|
|
15263
15537
|
discriminator: 'manual',
|
|
15264
15538
|
description: factories.string(),
|
|
15265
15539
|
original: factories['io.flow.v0.models.transaction_metadata_original_transaction'](),
|
|
15266
15540
|
url: factories.string(),
|
|
15541
|
+
recoup: factories.boolean(),
|
|
15542
|
+
}),
|
|
15543
|
+
|
|
15544
|
+
'io.flow.v0.models.transaction_metadata_merchant_fee': (): io.flow.v0.models.TransactionMetadataMerchantFee => ({
|
|
15545
|
+
discriminator: 'merchant_fee',
|
|
15546
|
+
|
|
15547
|
+
items: arrayOf(
|
|
15548
|
+
() => factories['io.flow.v0.models.transaction_metadata_merchant_fee_item'](),
|
|
15549
|
+
),
|
|
15550
|
+
}),
|
|
15551
|
+
|
|
15552
|
+
'io.flow.v0.models.transaction_metadata_merchant_fee_item': (): io.flow.v0.models.TransactionMetadataMerchantFeeItem => ({
|
|
15553
|
+
type: factories.string(),
|
|
15554
|
+
amount: factories.decimal(),
|
|
15555
|
+
local_amount: factories.decimal(),
|
|
15556
|
+
description: factories.string(),
|
|
15267
15557
|
}),
|
|
15268
15558
|
|
|
15269
15559
|
'io.flow.v0.models.transaction_metadata_original_transaction': (): io.flow.v0.models.TransactionMetadataOriginalTransaction => ({
|
|
@@ -15957,6 +16247,8 @@ const factories = {
|
|
|
15957
16247
|
const f = faker.helpers.arrayElement([
|
|
15958
16248
|
() => factories['io.flow.v0.models.test_upserted'](),
|
|
15959
16249
|
() => factories['io.flow.v0.models.generate_load'](),
|
|
16250
|
+
() => factories['io.flow.v0.models.amrutha_item_upserted'](),
|
|
16251
|
+
() => factories['io.flow.v0.models.amrutha_item_deleted'](),
|
|
15960
16252
|
() => factories['io.flow.v0.models.transaction_upserted'](),
|
|
15961
16253
|
() => factories['io.flow.v0.models.organization_transaction_upserted'](),
|
|
15962
16254
|
() => factories['io.flow.v0.models.organization_transaction_deleted'](),
|
|
@@ -16006,6 +16298,8 @@ const factories = {
|
|
|
16006
16298
|
() => factories['io.flow.v0.models.consumer_invoice_deleted'](),
|
|
16007
16299
|
() => factories['io.flow.v0.models.credit_memo_upserted'](),
|
|
16008
16300
|
() => factories['io.flow.v0.models.credit_memo_deleted'](),
|
|
16301
|
+
() => factories['io.flow.v0.models.fee_invoice_upserted'](),
|
|
16302
|
+
() => factories['io.flow.v0.models.fee_invoice_deleted'](),
|
|
16009
16303
|
() => factories['io.flow.v0.models.crossdock_shipment_upserted'](),
|
|
16010
16304
|
() => factories['io.flow.v0.models.rate_deleted'](),
|
|
16011
16305
|
() => factories['io.flow.v0.models.rate_upserted'](),
|
|
@@ -16017,6 +16311,8 @@ const factories = {
|
|
|
16017
16311
|
() => factories['io.flow.v0.models.order_upserted_v2'](),
|
|
16018
16312
|
() => factories['io.flow.v0.models.order_identifier_deleted_v2'](),
|
|
16019
16313
|
() => factories['io.flow.v0.models.order_identifier_upserted_v3'](),
|
|
16314
|
+
() => factories['io.flow.v0.models.order_state_upserted'](),
|
|
16315
|
+
() => factories['io.flow.v0.models.order_state_deleted'](),
|
|
16020
16316
|
() => factories['io.flow.v0.models.fraud_status_changed'](),
|
|
16021
16317
|
() => factories['io.flow.v0.models.center_upserted'](),
|
|
16022
16318
|
() => factories['io.flow.v0.models.center_deleted'](),
|
|
@@ -16041,6 +16337,8 @@ const factories = {
|
|
|
16041
16337
|
() => factories['io.flow.v0.models.item_origin_deleted'](),
|
|
16042
16338
|
() => factories['io.flow.v0.models.harmonized_landed_cost_upserted'](),
|
|
16043
16339
|
() => factories['io.flow.v0.models.fully_harmonized_item_upserted'](),
|
|
16340
|
+
() => factories['io.flow.v0.models.tariff_codes_upserted'](),
|
|
16341
|
+
() => factories['io.flow.v0.models.tariff_codes_deleted'](),
|
|
16044
16342
|
() => factories['io.flow.v0.models.label_deleted_v2'](),
|
|
16045
16343
|
() => factories['io.flow.v0.models.label_upserted_v2'](),
|
|
16046
16344
|
() => factories['io.flow.v0.models.notification_upserted_v2'](),
|
|
@@ -16435,6 +16733,16 @@ const factories = {
|
|
|
16435
16733
|
return f();
|
|
16436
16734
|
},
|
|
16437
16735
|
|
|
16736
|
+
'io.flow.v0.unions.order_state_rejection_reason': (): io.flow.v0.unions.OrderStateRejectionReason => {
|
|
16737
|
+
const f = faker.helpers.arrayElement([
|
|
16738
|
+
() => factories['io.flow.v0.models.order_state_rejection_reason_restricted_item'](),
|
|
16739
|
+
() => factories['io.flow.v0.models.order_state_rejection_reason_domestic_order'](),
|
|
16740
|
+
() => factories['io.flow.v0.models.order_state_rejection_reason_items_empty'](),
|
|
16741
|
+
]);
|
|
16742
|
+
|
|
16743
|
+
return f();
|
|
16744
|
+
},
|
|
16745
|
+
|
|
16438
16746
|
'io.flow.v0.unions.partner_center_fee': (): io.flow.v0.unions.PartnerCenterFee => {
|
|
16439
16747
|
const f = faker.helpers.arrayElement([
|
|
16440
16748
|
() => factories['io.flow.v0.models.commercial_invoice_fee'](),
|
|
@@ -16919,6 +17227,8 @@ const factories = {
|
|
|
16919
17227
|
() => factories['io.flow.v0.models.transaction_metadata_failed_payout'](),
|
|
16920
17228
|
() => factories['io.flow.v0.models.transaction_metadata_payment_transaction'](),
|
|
16921
17229
|
() => factories['io.flow.v0.models.transaction_metadata_tax_duty'](),
|
|
17230
|
+
() => factories['io.flow.v0.models.transaction_metadata_merchant_fee'](),
|
|
17231
|
+
() => factories['io.flow.v0.models.transaction_metadata_flat_rate_label'](),
|
|
16922
17232
|
]);
|
|
16923
17233
|
|
|
16924
17234
|
return f();
|
|
@@ -17002,6 +17312,8 @@ export const makeAllocationUpsertedV2 = () => factories['io.flow.v0.models.alloc
|
|
|
17002
17312
|
export const makeAllocationV2 = () => factories['io.flow.v0.models.allocation_v2']();
|
|
17003
17313
|
export const makeAmountMargin = () => factories['io.flow.v0.models.amount_margin']();
|
|
17004
17314
|
export const makeAmountMarginForm = () => factories['io.flow.v0.models.amount_margin_form']();
|
|
17315
|
+
export const makeAmruthaItemDeleted = () => factories['io.flow.v0.models.amrutha_item_deleted']();
|
|
17316
|
+
export const makeAmruthaItemUpserted = () => factories['io.flow.v0.models.amrutha_item_upserted']();
|
|
17005
17317
|
export const makeAnalyticsExportType = () => factories['io.flow.v0.models.analytics_export_type']();
|
|
17006
17318
|
export const makeApplePayMerchantValidationPayload = () => factories['io.flow.v0.models.apple_pay_merchant_validation_payload']();
|
|
17007
17319
|
export const makeApplepaySdkCreateResultActionDetails = () => factories['io.flow.v0.models.applepay_sdk_create_result_action_details']();
|
|
@@ -17488,6 +17800,10 @@ export const makeExternalCard = () => factories['io.flow.v0.models.external_card
|
|
|
17488
17800
|
export const makeExternalOrderSummary = () => factories['io.flow.v0.models.external_order_summary']();
|
|
17489
17801
|
export const makeFeeDeduction = () => factories['io.flow.v0.models.fee_deduction']();
|
|
17490
17802
|
export const makeFeeDeductionType = () => factories['io.flow.v0.enums.fee_deduction_type']();
|
|
17803
|
+
export const makeFeeInvoice = () => factories['io.flow.v0.models.fee_invoice']();
|
|
17804
|
+
export const makeFeeInvoiceDeleted = () => factories['io.flow.v0.models.fee_invoice_deleted']();
|
|
17805
|
+
export const makeFeeInvoiceType = () => factories['io.flow.v0.enums.fee_invoice_type']();
|
|
17806
|
+
export const makeFeeInvoiceUpserted = () => factories['io.flow.v0.models.fee_invoice_upserted']();
|
|
17491
17807
|
export const makeFeeWeight = () => factories['io.flow.v0.models.fee_weight']();
|
|
17492
17808
|
export const makeFieldValidationMax = () => factories['io.flow.v0.models.field_validation_max']();
|
|
17493
17809
|
export const makeFieldValidationMin = () => factories['io.flow.v0.models.field_validation_min']();
|
|
@@ -17575,6 +17891,7 @@ export const makeHarmonizationDocument = () => factories['io.flow.v0.models.harm
|
|
|
17575
17891
|
export const makeHarmonizationHs10ExportType = () => factories['io.flow.v0.models.harmonization_hs10_export_type']();
|
|
17576
17892
|
export const makeHarmonizationHs6ExportType = () => factories['io.flow.v0.models.harmonization_hs6_export_type']();
|
|
17577
17893
|
export const makeHarmonizationOverviewExportType = () => factories['io.flow.v0.models.harmonization_overview_export_type']();
|
|
17894
|
+
export const makeHarmonizationTariffCode = () => factories['io.flow.v0.models.harmonization_tariff_code']();
|
|
17578
17895
|
export const makeHarmonizationTariffCodesExportType = () => factories['io.flow.v0.models.harmonization_tariff_codes_export_type']();
|
|
17579
17896
|
export const makeHarmonizedCategoryReference = () => factories['io.flow.v0.models.harmonized_category_reference']();
|
|
17580
17897
|
export const makeHarmonizedItem = () => factories['io.flow.v0.models.harmonized_item']();
|
|
@@ -17891,6 +18208,14 @@ export const makeOrderRulesSummary = () => factories['io.flow.v0.models.order_ru
|
|
|
17891
18208
|
export const makeOrderServiceChange = () => factories['io.flow.v0.models.order_service_change']();
|
|
17892
18209
|
export const makeOrderServiceChangeForm = () => factories['io.flow.v0.models.order_service_change_form']();
|
|
17893
18210
|
export const makeOrderServiceChangeRequestData = () => factories['io.flow.v0.models.order_service_change_request_data']();
|
|
18211
|
+
export const makeOrderState = () => factories['io.flow.v0.models.order_state']();
|
|
18212
|
+
export const makeOrderStateDeleted = () => factories['io.flow.v0.models.order_state_deleted']();
|
|
18213
|
+
export const makeOrderStateRejectionReason = () => factories['io.flow.v0.unions.order_state_rejection_reason']();
|
|
18214
|
+
export const makeOrderStateRejectionReasonDomesticOrder = () => factories['io.flow.v0.models.order_state_rejection_reason_domestic_order']();
|
|
18215
|
+
export const makeOrderStateRejectionReasonItemsEmpty = () => factories['io.flow.v0.models.order_state_rejection_reason_items_empty']();
|
|
18216
|
+
export const makeOrderStateRejectionReasonRestrictedItem = () => factories['io.flow.v0.models.order_state_rejection_reason_restricted_item']();
|
|
18217
|
+
export const makeOrderStateStatus = () => factories['io.flow.v0.enums.order_state_status']();
|
|
18218
|
+
export const makeOrderStateUpserted = () => factories['io.flow.v0.models.order_state_upserted']();
|
|
17894
18219
|
export const makeOrderStatus = () => factories['io.flow.v0.enums.order_status']();
|
|
17895
18220
|
export const makeOrderStorage = () => factories['io.flow.v0.enums.order_storage']();
|
|
17896
18221
|
export const makeOrderSubmissionForm = () => factories['io.flow.v0.models.order_submission_form']();
|
|
@@ -18226,10 +18551,10 @@ export const makeRateUpsertedV3 = () => factories['io.flow.v0.models.rate_upsert
|
|
|
18226
18551
|
export const makeRateVersion = () => factories['io.flow.v0.models.rate_version']();
|
|
18227
18552
|
export const makeRatecard = () => factories['io.flow.v0.models.ratecard']();
|
|
18228
18553
|
export const makeRatecardCarrierSummary = () => factories['io.flow.v0.models.ratecard_carrier_summary']();
|
|
18554
|
+
export const makeRatecardData = () => factories['io.flow.v0.models.ratecard_data']();
|
|
18229
18555
|
export const makeRatecardDeleted = () => factories['io.flow.v0.models.ratecard_deleted']();
|
|
18230
18556
|
export const makeRatecardEstimate = () => factories['io.flow.v0.unions.ratecard_estimate']();
|
|
18231
18557
|
export const makeRatecardEstimateForm = () => factories['io.flow.v0.models.ratecard_estimate_form']();
|
|
18232
|
-
export const makeRatecardEstimateSummaryForm = () => factories['io.flow.v0.models.ratecard_estimate_summary_form']();
|
|
18233
18558
|
export const makeRatecardEstimateV1 = () => factories['io.flow.v0.models.ratecard_estimate_v1']();
|
|
18234
18559
|
export const makeRatecardEstimateV2 = () => factories['io.flow.v0.models.ratecard_estimate_v2']();
|
|
18235
18560
|
export const makeRatecardEstimateV3 = () => factories['io.flow.v0.models.ratecard_estimate_v3']();
|
|
@@ -18517,7 +18842,11 @@ export const makeSurchargeResponsibleParty = () => factories['io.flow.v0.enums.s
|
|
|
18517
18842
|
export const makeSurchargeResponsiblePartyDisplay = () => factories['io.flow.v0.models.surcharge_responsible_party_display']();
|
|
18518
18843
|
export const makeSurchargeSetting = () => factories['io.flow.v0.models.surcharge_setting']();
|
|
18519
18844
|
export const makeSurchargeSettingDisplay = () => factories['io.flow.v0.models.surcharge_setting_display']();
|
|
18845
|
+
export const makeTariffCodes = () => factories['io.flow.v0.models.tariff_codes']();
|
|
18846
|
+
export const makeTariffCodesDeleted = () => factories['io.flow.v0.models.tariff_codes_deleted']();
|
|
18847
|
+
export const makeTariffCodesUpserted = () => factories['io.flow.v0.models.tariff_codes_upserted']();
|
|
18520
18848
|
export const makeTax = () => factories['io.flow.v0.models.tax']();
|
|
18849
|
+
export const makeTaxAndDutyInclusivitySetting = () => factories['io.flow.v0.enums.tax_and_duty_inclusivity_setting']();
|
|
18521
18850
|
export const makeTaxApplicability = () => factories['io.flow.v0.enums.tax_applicability']();
|
|
18522
18851
|
export const makeTaxBreakdown = () => factories['io.flow.v0.models.tax_breakdown']();
|
|
18523
18852
|
export const makeTaxDutyCalculatorValidationError = () => factories['io.flow.v0.models.tax_duty_calculator_validation_error']();
|
|
@@ -18618,7 +18947,10 @@ export const makeTransactionMetadataChannelCardMetadataIssuerSummary = () => fac
|
|
|
18618
18947
|
export const makeTransactionMetadataChannelOrganizationTransaction = () => factories['io.flow.v0.models.transaction_metadata_channel_organization_transaction']();
|
|
18619
18948
|
export const makeTransactionMetadataFailedPayout = () => factories['io.flow.v0.models.transaction_metadata_failed_payout']();
|
|
18620
18949
|
export const makeTransactionMetadataFailedPayoutReference = () => factories['io.flow.v0.models.transaction_metadata_failed_payout_reference']();
|
|
18950
|
+
export const makeTransactionMetadataFlatRateLabel = () => factories['io.flow.v0.models.transaction_metadata_flat_rate_label']();
|
|
18621
18951
|
export const makeTransactionMetadataManual = () => factories['io.flow.v0.models.transaction_metadata_manual']();
|
|
18952
|
+
export const makeTransactionMetadataMerchantFee = () => factories['io.flow.v0.models.transaction_metadata_merchant_fee']();
|
|
18953
|
+
export const makeTransactionMetadataMerchantFeeItem = () => factories['io.flow.v0.models.transaction_metadata_merchant_fee_item']();
|
|
18622
18954
|
export const makeTransactionMetadataOriginalTransaction = () => factories['io.flow.v0.models.transaction_metadata_original_transaction']();
|
|
18623
18955
|
export const makeTransactionMetadataOutboundTransaction = () => factories['io.flow.v0.models.transaction_metadata_outbound_transaction']();
|
|
18624
18956
|
export const makeTransactionMetadataPaymentTransaction = () => factories['io.flow.v0.models.transaction_metadata_payment_transaction']();
|