@flowio/api-factories 0.0.121 → 0.0.123
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 +180 -48
- package/dist/esm/api.js +136 -13
- package/dist/types/api.d.ts +10 -1
- package/package.json +1 -1
- package/src/api.ts +151 -16
package/src/api.ts
CHANGED
|
@@ -180,6 +180,7 @@ const factories = {
|
|
|
180
180
|
'unsupported_order_edit',
|
|
181
181
|
'order_allocation_duties_mismatch',
|
|
182
182
|
'order_missing',
|
|
183
|
+
'organization_deactivated',
|
|
183
184
|
]),
|
|
184
185
|
|
|
185
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']),
|
|
@@ -293,6 +294,14 @@ const factories = {
|
|
|
293
294
|
cleartext: factories.string(),
|
|
294
295
|
}),
|
|
295
296
|
|
|
297
|
+
'io.flow.channel.internal.v0.models.channel_shop_statistics': (): io.flow.channel.internal.v0.models.ChannelShopStatistics => ({
|
|
298
|
+
id: factories.string(),
|
|
299
|
+
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
300
|
+
initial_catalog_synced_at: factories.date_time_iso_8601(),
|
|
301
|
+
catalog_sync_duration: factories.long(),
|
|
302
|
+
catalog_products_count: factories.long(),
|
|
303
|
+
}),
|
|
304
|
+
|
|
296
305
|
'io.flow.channel.internal.v0.models.flow_channel_organization': (): io.flow.channel.internal.v0.models.FlowChannelOrganization => ({
|
|
297
306
|
placeholder: factories.string(),
|
|
298
307
|
}),
|
|
@@ -1104,6 +1113,7 @@ const factories = {
|
|
|
1104
1113
|
organization_id: factories.string(),
|
|
1105
1114
|
number: factories.string(),
|
|
1106
1115
|
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
1116
|
+
inferred_taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
1107
1117
|
taxonomy_data: arrayOf(() => factories['io.flow.product.v0.models.product_taxonomy_data']()),
|
|
1108
1118
|
item_numbers: arrayOf(() => factories.string()),
|
|
1109
1119
|
highest_value_item_number: factories.string(),
|
|
@@ -1306,6 +1316,10 @@ const factories = {
|
|
|
1306
1316
|
count: factories.long(),
|
|
1307
1317
|
}),
|
|
1308
1318
|
|
|
1319
|
+
'io.flow.shopify.external.v0.models.graphql_inferred_product_category': (): io.flow.shopify.external.v0.models.GraphqlInferredProductCategory => ({
|
|
1320
|
+
category: factories['io.flow.shopify.external.v0.models.graphql_taxonomy_category'](),
|
|
1321
|
+
}),
|
|
1322
|
+
|
|
1309
1323
|
'io.flow.shopify.external.v0.models.graphql_inventory_item': (): io.flow.shopify.external.v0.models.GraphqlInventoryItem => ({
|
|
1310
1324
|
id: factories.string(),
|
|
1311
1325
|
tracked: factories.boolean(),
|
|
@@ -1372,6 +1386,7 @@ const factories = {
|
|
|
1372
1386
|
updatedAt: factories.date_time_iso_8601(),
|
|
1373
1387
|
hasVariantsThatRequiresComponents: factories.boolean(),
|
|
1374
1388
|
category: factories['io.flow.shopify.external.v0.models.graphql_taxonomy_category'](),
|
|
1389
|
+
inferredProductCategory: factories['io.flow.shopify.external.v0.models.graphql_inferred_product_category'](),
|
|
1375
1390
|
metafields: arrayOf(() => factories['io.flow.shopify.external.v0.models.graphql_metafield']()),
|
|
1376
1391
|
}),
|
|
1377
1392
|
|
|
@@ -4234,8 +4249,10 @@ const factories = {
|
|
|
4234
4249
|
},
|
|
4235
4250
|
|
|
4236
4251
|
'io.flow.tech.onboarding.playground.v0.enums.amrutha_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AmruthaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4252
|
+
'io.flow.tech.onboarding.playground.v0.enums.bojana_item_type': (): io.flow.tech.onboarding.playground.v0.enums.BojanaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4237
4253
|
'io.flow.tech.onboarding.playground.v0.enums.chenglin_item_type': (): io.flow.tech.onboarding.playground.v0.enums.ChenglinItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4238
4254
|
'io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type': (): io.flow.tech.onboarding.playground.v0.enums.GabrielItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4255
|
+
'io.flow.tech.onboarding.playground.v0.enums.raveena_item_type': (): io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4239
4256
|
|
|
4240
4257
|
'io.flow.tech.onboarding.playground.v0.models.amrutha_item': (): io.flow.tech.onboarding.playground.v0.models.AmruthaItem => ({
|
|
4241
4258
|
id: factories.string(),
|
|
@@ -4254,6 +4271,23 @@ const factories = {
|
|
|
4254
4271
|
added_on: factories.date_time_iso_8601(),
|
|
4255
4272
|
}),
|
|
4256
4273
|
|
|
4274
|
+
'io.flow.tech.onboarding.playground.v0.models.bojana_item': (): io.flow.tech.onboarding.playground.v0.models.BojanaItem => ({
|
|
4275
|
+
id: factories.string(),
|
|
4276
|
+
number: factories.string(),
|
|
4277
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4278
|
+
description: factories.string(),
|
|
4279
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.bojana_item_type'](),
|
|
4280
|
+
added_on: factories.date_time_iso_8601(),
|
|
4281
|
+
}),
|
|
4282
|
+
|
|
4283
|
+
'io.flow.tech.onboarding.playground.v0.models.bojana_item_form': (): io.flow.tech.onboarding.playground.v0.models.BojanaItemForm => ({
|
|
4284
|
+
number: factories.string(),
|
|
4285
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4286
|
+
description: factories.string(),
|
|
4287
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.bojana_item_type'](),
|
|
4288
|
+
added_on: factories.date_time_iso_8601(),
|
|
4289
|
+
}),
|
|
4290
|
+
|
|
4257
4291
|
'io.flow.tech.onboarding.playground.v0.models.chenglin_item': (): io.flow.tech.onboarding.playground.v0.models.ChenglinItem => ({
|
|
4258
4292
|
id: factories.string(),
|
|
4259
4293
|
number: factories.string(),
|
|
@@ -4288,6 +4322,23 @@ const factories = {
|
|
|
4288
4322
|
added_on: factories.date_iso_8601(),
|
|
4289
4323
|
}),
|
|
4290
4324
|
|
|
4325
|
+
'io.flow.tech.onboarding.playground.v0.models.raveena_item': (): io.flow.tech.onboarding.playground.v0.models.RaveenaItem => ({
|
|
4326
|
+
id: factories.string(),
|
|
4327
|
+
number: factories.string(),
|
|
4328
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4329
|
+
description: factories.string(),
|
|
4330
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.raveena_item_type'](),
|
|
4331
|
+
added_on: factories.date_time_iso_8601(),
|
|
4332
|
+
}),
|
|
4333
|
+
|
|
4334
|
+
'io.flow.tech.onboarding.playground.v0.models.raveena_item_form': (): io.flow.tech.onboarding.playground.v0.models.RaveenaItemForm => ({
|
|
4335
|
+
number: factories.string(),
|
|
4336
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
4337
|
+
description: factories.string(),
|
|
4338
|
+
type: factories['io.flow.tech.onboarding.playground.v0.enums.raveena_item_type'](),
|
|
4339
|
+
added_on: factories.date_time_iso_8601(),
|
|
4340
|
+
}),
|
|
4341
|
+
|
|
4291
4342
|
'io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description': (): io.flow.tech.onboarding.playground.v0.models.TechOnboardingDescription => ({
|
|
4292
4343
|
description: factories.string(),
|
|
4293
4344
|
}),
|
|
@@ -4552,6 +4603,8 @@ const factories = {
|
|
|
4552
4603
|
'consumer_invoice_deleted',
|
|
4553
4604
|
'credit_memo_upserted',
|
|
4554
4605
|
'credit_memo_deleted',
|
|
4606
|
+
'fee_invoice_upserted',
|
|
4607
|
+
'fee_invoice_deleted',
|
|
4555
4608
|
'crossdock_shipment_upserted',
|
|
4556
4609
|
'rate_deleted',
|
|
4557
4610
|
'rate_upserted',
|
|
@@ -4697,11 +4750,19 @@ const factories = {
|
|
|
4697
4750
|
'rev_share',
|
|
4698
4751
|
]),
|
|
4699
4752
|
|
|
4753
|
+
'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']),
|
|
4700
4754
|
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.helpers.arrayElement(['view_consumer_data']),
|
|
4701
4755
|
|
|
4702
|
-
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.helpers.arrayElement(
|
|
4703
|
-
|
|
4704
|
-
|
|
4756
|
+
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.helpers.arrayElement([
|
|
4757
|
+
'flow-usa',
|
|
4758
|
+
'flow-irl',
|
|
4759
|
+
'flow-can',
|
|
4760
|
+
'ge-usa',
|
|
4761
|
+
'ge-can',
|
|
4762
|
+
'ge-can-ship',
|
|
4763
|
+
'ge-gbr',
|
|
4764
|
+
'ge-irl',
|
|
4765
|
+
]),
|
|
4705
4766
|
|
|
4706
4767
|
'io.flow.v0.enums.flow_role': (): io.flow.v0.enums.FlowRole => faker.helpers.arrayElement([
|
|
4707
4768
|
'organization_admin',
|
|
@@ -4937,7 +4998,7 @@ const factories = {
|
|
|
4937
4998
|
'tip',
|
|
4938
4999
|
]),
|
|
4939
5000
|
|
|
4940
|
-
'io.flow.v0.enums.order_price_fee_type': (): io.flow.v0.enums.OrderPriceFeeType => faker.helpers.arrayElement(['service', 'fx', 'tax', 'duties', 'tax_and_duties', 'product']),
|
|
5001
|
+
'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']),
|
|
4941
5002
|
'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.helpers.arrayElement(['duties', 'vat', 'shipping']),
|
|
4942
5003
|
'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']),
|
|
4943
5004
|
'io.flow.v0.enums.order_state_status': (): io.flow.v0.enums.OrderStateStatus => faker.helpers.arrayElement(['pending', 'accepted', 'rejected']),
|
|
@@ -5223,6 +5284,7 @@ const factories = {
|
|
|
5223
5284
|
'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
|
|
5224
5285
|
'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.helpers.arrayElement(['customer', 'return', 'crossdock']),
|
|
5225
5286
|
'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.helpers.arrayElement(['default', 'variant']),
|
|
5287
|
+
'io.flow.v0.enums.shipping_cost_guarantee': (): io.flow.v0.enums.ShippingCostGuarantee => faker.helpers.arrayElement(['guaranteed', 'non_guaranteed']),
|
|
5226
5288
|
|
|
5227
5289
|
'io.flow.v0.enums.shipping_label_error_code': (): io.flow.v0.enums.ShippingLabelErrorCode => faker.helpers.arrayElement([
|
|
5228
5290
|
'generic_error',
|
|
@@ -5294,6 +5356,14 @@ const factories = {
|
|
|
5294
5356
|
]),
|
|
5295
5357
|
|
|
5296
5358
|
'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.helpers.arrayElement(['organization', 'customer']),
|
|
5359
|
+
|
|
5360
|
+
'io.flow.v0.enums.tax_and_duty_inclusivity_setting': (): io.flow.v0.enums.TaxAndDutyInclusivitySetting => faker.helpers.arrayElement([
|
|
5361
|
+
'duty_exclusive_tax_exclusive',
|
|
5362
|
+
'duty_inclusive_tax_exclusive',
|
|
5363
|
+
'duty_exclusive_tax_inclusive',
|
|
5364
|
+
'duty_inclusive_tax_inclusive',
|
|
5365
|
+
]),
|
|
5366
|
+
|
|
5297
5367
|
'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.helpers.arrayElement(['none', 'all']),
|
|
5298
5368
|
|
|
5299
5369
|
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.helpers.arrayElement([
|
|
@@ -5404,6 +5474,8 @@ const factories = {
|
|
|
5404
5474
|
'b2b_tax',
|
|
5405
5475
|
'b2b_tax_refund',
|
|
5406
5476
|
'b2b_fee_mor_tax',
|
|
5477
|
+
'b2b_fee_shipping_tax',
|
|
5478
|
+
'flat_rate_label',
|
|
5407
5479
|
]),
|
|
5408
5480
|
|
|
5409
5481
|
'io.flow.v0.enums.transfer_status': (): io.flow.v0.enums.TransferStatus => faker.helpers.arrayElement(['succeeded', 'canceled']),
|
|
@@ -6349,6 +6421,14 @@ const factories = {
|
|
|
6349
6421
|
bank_address: factories['io.flow.v0.models.address'](),
|
|
6350
6422
|
}),
|
|
6351
6423
|
|
|
6424
|
+
'io.flow.v0.models.bank_account_info_kor_v2': (): io.flow.v0.models.BankAccountInfoKorV2 => ({
|
|
6425
|
+
discriminator: 'kor_v2',
|
|
6426
|
+
name: factories.string(),
|
|
6427
|
+
bank_account_number: factories.string(),
|
|
6428
|
+
bank_routing_number: factories.string(),
|
|
6429
|
+
bank_name: factories.string(),
|
|
6430
|
+
}),
|
|
6431
|
+
|
|
6352
6432
|
'io.flow.v0.models.bank_account_info_usa': (): io.flow.v0.models.BankAccountInfoUsa => ({
|
|
6353
6433
|
discriminator: 'usa',
|
|
6354
6434
|
routing_number: factories.string(),
|
|
@@ -7333,7 +7413,6 @@ const factories = {
|
|
|
7333
7413
|
default_country_of_origin: factories.string(),
|
|
7334
7414
|
rate_card: factories.string(),
|
|
7335
7415
|
shop: factories['io.flow.v0.models.shop'](),
|
|
7336
|
-
settlement_currency: factories.string(),
|
|
7337
7416
|
created_at: factories.date_time_iso_8601(),
|
|
7338
7417
|
last_year_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
7339
7418
|
last_month_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
@@ -7362,7 +7441,6 @@ const factories = {
|
|
|
7362
7441
|
monthly_average_number_transactions: factories.long(),
|
|
7363
7442
|
default_country_of_origin: factories.string(),
|
|
7364
7443
|
shop: factories['io.flow.v0.models.shop'](),
|
|
7365
|
-
settlement_currency: factories.string(),
|
|
7366
7444
|
rate_card: factories.string(),
|
|
7367
7445
|
last_year_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
7368
7446
|
last_month_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
@@ -8751,6 +8829,37 @@ const factories = {
|
|
|
8751
8829
|
description: factories.string(),
|
|
8752
8830
|
}),
|
|
8753
8831
|
|
|
8832
|
+
'io.flow.v0.models.fee_invoice': (): io.flow.v0.models.FeeInvoice => ({
|
|
8833
|
+
id: factories.string(),
|
|
8834
|
+
number: factories.string(),
|
|
8835
|
+
invoice_type: factories['io.flow.v0.enums.fee_invoice_type'](),
|
|
8836
|
+
buyer: factories['io.flow.v0.models.merchant_of_record_entity'](),
|
|
8837
|
+
seller: factories['io.flow.v0.models.merchant_of_record_entity'](),
|
|
8838
|
+
date: factories.date_time_iso_8601(),
|
|
8839
|
+
b2b_tax_transaction_id: factories.string(),
|
|
8840
|
+
order_number: factories.string(),
|
|
8841
|
+
tax: factories['io.flow.v0.models.money'](),
|
|
8842
|
+
tax_lines: arrayOf(() => factories['io.flow.v0.models.invoice_tax_line']()),
|
|
8843
|
+
lines: arrayOf(() => factories['io.flow.v0.unions.consumer_invoice_line']()),
|
|
8844
|
+
documents: arrayOf(() => factories['io.flow.v0.models.consumer_invoice_document']()),
|
|
8845
|
+
}),
|
|
8846
|
+
|
|
8847
|
+
'io.flow.v0.models.fee_invoice_deleted': (): io.flow.v0.models.FeeInvoiceDeleted => ({
|
|
8848
|
+
discriminator: 'fee_invoice_deleted',
|
|
8849
|
+
event_id: factories.string(),
|
|
8850
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8851
|
+
organization: factories.string(),
|
|
8852
|
+
id: factories.string(),
|
|
8853
|
+
}),
|
|
8854
|
+
|
|
8855
|
+
'io.flow.v0.models.fee_invoice_upserted': (): io.flow.v0.models.FeeInvoiceUpserted => ({
|
|
8856
|
+
discriminator: 'fee_invoice_upserted',
|
|
8857
|
+
event_id: factories.string(),
|
|
8858
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8859
|
+
organization: factories.string(),
|
|
8860
|
+
fee_invoice: factories['io.flow.v0.models.fee_invoice'](),
|
|
8861
|
+
}),
|
|
8862
|
+
|
|
8754
8863
|
'io.flow.v0.models.fee_weight': (): io.flow.v0.models.FeeWeight => ({
|
|
8755
8864
|
weight: factories.decimal(),
|
|
8756
8865
|
unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
@@ -10012,6 +10121,7 @@ const factories = {
|
|
|
10012
10121
|
'io.flow.v0.models.line_item_form': (): io.flow.v0.models.LineItemForm => ({
|
|
10013
10122
|
number: factories.string(),
|
|
10014
10123
|
quantity: factories.long(),
|
|
10124
|
+
line_item_identifier: factories.string(),
|
|
10015
10125
|
shipment_estimate: factories['io.flow.v0.models.datetime_range'](),
|
|
10016
10126
|
price: factories['io.flow.v0.models.money'](),
|
|
10017
10127
|
attributes: objectOf(() => factories.string()),
|
|
@@ -11096,6 +11206,12 @@ const factories = {
|
|
|
11096
11206
|
line_items: arrayOf(() => factories.string()),
|
|
11097
11207
|
}),
|
|
11098
11208
|
|
|
11209
|
+
'io.flow.v0.models.order_state_rejection_reason_organization_deactivated': (): io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated => ({
|
|
11210
|
+
discriminator: 'order_state_rejection_reason_organization_deactivated',
|
|
11211
|
+
deactivation_requested_at: factories.date_time_iso_8601(),
|
|
11212
|
+
deactivated_at: factories.date_time_iso_8601(),
|
|
11213
|
+
}),
|
|
11214
|
+
|
|
11099
11215
|
'io.flow.v0.models.order_state_rejection_reason_restricted_item': (): io.flow.v0.models.OrderStateRejectionReasonRestrictedItem => ({
|
|
11100
11216
|
discriminator: 'order_state_rejection_reason_restricted_item',
|
|
11101
11217
|
item_numbers: arrayOf(() => factories.string()),
|
|
@@ -12704,6 +12820,7 @@ const factories = {
|
|
|
12704
12820
|
organization_id: factories.string(),
|
|
12705
12821
|
number: factories.string(),
|
|
12706
12822
|
taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
12823
|
+
inferred_taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
12707
12824
|
taxonomy_data: arrayOf(() => factories['io.flow.v0.models.product_taxonomy_data']()),
|
|
12708
12825
|
item_numbers: arrayOf(() => factories.string()),
|
|
12709
12826
|
highest_value_item_number: factories.string(),
|
|
@@ -13027,6 +13144,7 @@ const factories = {
|
|
|
13027
13144
|
rate_level_key: factories.string(),
|
|
13028
13145
|
direction: factories['io.flow.v0.enums.direction'](),
|
|
13029
13146
|
effective_at: factories.date_time_iso_8601(),
|
|
13147
|
+
effective_until: factories.date_time_iso_8601(),
|
|
13030
13148
|
origination_zones: arrayOf(() => factories['io.flow.v0.models.zone']()),
|
|
13031
13149
|
service: factories['io.flow.v0.models.ratecard_service_summary'](),
|
|
13032
13150
|
published_at: factories.date_time_iso_8601(),
|
|
@@ -13055,6 +13173,10 @@ const factories = {
|
|
|
13055
13173
|
ratecard: factories['io.flow.v0.models.ratecard'](),
|
|
13056
13174
|
}),
|
|
13057
13175
|
|
|
13176
|
+
'io.flow.v0.models.ratecard_effective_until_form': (): io.flow.v0.models.RatecardEffectiveUntilForm => ({
|
|
13177
|
+
effective_until: factories.date_time_iso_8601(),
|
|
13178
|
+
}),
|
|
13179
|
+
|
|
13058
13180
|
'io.flow.v0.models.ratecard_estimate_form': (): io.flow.v0.models.RatecardEstimateForm => ({
|
|
13059
13181
|
origin_address: factories['io.flow.v0.models.address'](),
|
|
13060
13182
|
destination_address: factories['io.flow.v0.models.address'](),
|
|
@@ -13073,13 +13195,6 @@ const factories = {
|
|
|
13073
13195
|
commercial_invoice_mode: factories['io.flow.v0.enums.commercial_invoice_mode'](),
|
|
13074
13196
|
}),
|
|
13075
13197
|
|
|
13076
|
-
'io.flow.v0.models.ratecard_estimate_summary_form': (): io.flow.v0.models.RatecardEstimateSummaryForm => ({
|
|
13077
|
-
origin: factories.string(),
|
|
13078
|
-
destination: factories.string(),
|
|
13079
|
-
service: factories.string(),
|
|
13080
|
-
center_key: factories.string(),
|
|
13081
|
-
}),
|
|
13082
|
-
|
|
13083
13198
|
'io.flow.v0.models.ratecard_estimate_v1': (): io.flow.v0.models.RatecardEstimateV1 => ({
|
|
13084
13199
|
discriminator: 'ratecard_estimate_v1',
|
|
13085
13200
|
service: factories['io.flow.v0.models.ratecard_service_summary'](),
|
|
@@ -14098,6 +14213,7 @@ const factories = {
|
|
|
14098
14213
|
created_at: factories.date_time_iso_8601(),
|
|
14099
14214
|
updated_at: factories.date_time_iso_8601(),
|
|
14100
14215
|
direction: factories['io.flow.v0.enums.direction'](),
|
|
14216
|
+
shipping_cost_guarantee: factories['io.flow.v0.enums.shipping_cost_guarantee'](),
|
|
14101
14217
|
}),
|
|
14102
14218
|
|
|
14103
14219
|
'io.flow.v0.models.shipping_label_document': (): io.flow.v0.models.ShippingLabelDocument => ({
|
|
@@ -14268,6 +14384,7 @@ const factories = {
|
|
|
14268
14384
|
}),
|
|
14269
14385
|
|
|
14270
14386
|
'io.flow.v0.models.shipping_rate_estimate_request': (): io.flow.v0.models.ShippingRateEstimateRequest => ({
|
|
14387
|
+
carrier_id: factories.string(),
|
|
14271
14388
|
origin_address: factories['io.flow.v0.models.address'](),
|
|
14272
14389
|
destination_address: factories['io.flow.v0.models.address'](),
|
|
14273
14390
|
package_dimensions: factories['io.flow.v0.models.dimension'](),
|
|
@@ -14505,7 +14622,6 @@ const factories = {
|
|
|
14505
14622
|
activated_at: factories.date_time_iso_8601(),
|
|
14506
14623
|
status_updated_at: factories.date_time_iso_8601(),
|
|
14507
14624
|
shop: factories['io.flow.v0.models.shop'](),
|
|
14508
|
-
settlement_currency: factories.string(),
|
|
14509
14625
|
last_year_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
14510
14626
|
last_month_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
14511
14627
|
average_order_value: factories['io.flow.v0.models.money'](),
|
|
@@ -14539,7 +14655,6 @@ const factories = {
|
|
|
14539
14655
|
ratecard_id: factories.string(),
|
|
14540
14656
|
rate_card: factories.string(),
|
|
14541
14657
|
shop: factories['io.flow.v0.models.shop'](),
|
|
14542
|
-
settlement_currency: factories.string(),
|
|
14543
14658
|
last_year_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
14544
14659
|
last_month_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
14545
14660
|
average_order_value: factories['io.flow.v0.models.money'](),
|
|
@@ -15452,6 +15567,12 @@ const factories = {
|
|
|
15452
15567
|
id: factories.string(),
|
|
15453
15568
|
}),
|
|
15454
15569
|
|
|
15570
|
+
'io.flow.v0.models.transaction_metadata_flat_rate_label': (): io.flow.v0.models.TransactionMetadataFlatRateLabel => ({
|
|
15571
|
+
discriminator: 'flat_rate_label',
|
|
15572
|
+
flat_rate: factories.decimal(),
|
|
15573
|
+
coefficient: factories.decimal(),
|
|
15574
|
+
}),
|
|
15575
|
+
|
|
15455
15576
|
'io.flow.v0.models.transaction_metadata_manual': (): io.flow.v0.models.TransactionMetadataManual => ({
|
|
15456
15577
|
discriminator: 'manual',
|
|
15457
15578
|
description: factories.string(),
|
|
@@ -16022,6 +16143,7 @@ const factories = {
|
|
|
16022
16143
|
() => factories['io.flow.v0.models.bank_account_info_fra'](),
|
|
16023
16144
|
() => factories['io.flow.v0.models.bank_account_info_ita'](),
|
|
16024
16145
|
() => factories['io.flow.v0.models.bank_account_info_kor'](),
|
|
16146
|
+
() => factories['io.flow.v0.models.bank_account_info_kor_v2'](),
|
|
16025
16147
|
]);
|
|
16026
16148
|
|
|
16027
16149
|
return f();
|
|
@@ -16217,6 +16339,8 @@ const factories = {
|
|
|
16217
16339
|
() => factories['io.flow.v0.models.consumer_invoice_deleted'](),
|
|
16218
16340
|
() => factories['io.flow.v0.models.credit_memo_upserted'](),
|
|
16219
16341
|
() => factories['io.flow.v0.models.credit_memo_deleted'](),
|
|
16342
|
+
() => factories['io.flow.v0.models.fee_invoice_upserted'](),
|
|
16343
|
+
() => factories['io.flow.v0.models.fee_invoice_deleted'](),
|
|
16220
16344
|
() => factories['io.flow.v0.models.crossdock_shipment_upserted'](),
|
|
16221
16345
|
() => factories['io.flow.v0.models.rate_deleted'](),
|
|
16222
16346
|
() => factories['io.flow.v0.models.rate_upserted'](),
|
|
@@ -16655,6 +16779,7 @@ const factories = {
|
|
|
16655
16779
|
() => factories['io.flow.v0.models.order_state_rejection_reason_restricted_item'](),
|
|
16656
16780
|
() => factories['io.flow.v0.models.order_state_rejection_reason_domestic_order'](),
|
|
16657
16781
|
() => factories['io.flow.v0.models.order_state_rejection_reason_items_empty'](),
|
|
16782
|
+
() => factories['io.flow.v0.models.order_state_rejection_reason_organization_deactivated'](),
|
|
16658
16783
|
]);
|
|
16659
16784
|
|
|
16660
16785
|
return f();
|
|
@@ -17145,6 +17270,7 @@ const factories = {
|
|
|
17145
17270
|
() => factories['io.flow.v0.models.transaction_metadata_payment_transaction'](),
|
|
17146
17271
|
() => factories['io.flow.v0.models.transaction_metadata_tax_duty'](),
|
|
17147
17272
|
() => factories['io.flow.v0.models.transaction_metadata_merchant_fee'](),
|
|
17273
|
+
() => factories['io.flow.v0.models.transaction_metadata_flat_rate_label'](),
|
|
17148
17274
|
]);
|
|
17149
17275
|
|
|
17150
17276
|
return f();
|
|
@@ -17304,6 +17430,7 @@ export const makeBankAccountInfoFra = () => factories['io.flow.v0.models.bank_ac
|
|
|
17304
17430
|
export const makeBankAccountInfoGbr = () => factories['io.flow.v0.models.bank_account_info_gbr']();
|
|
17305
17431
|
export const makeBankAccountInfoIta = () => factories['io.flow.v0.models.bank_account_info_ita']();
|
|
17306
17432
|
export const makeBankAccountInfoKor = () => factories['io.flow.v0.models.bank_account_info_kor']();
|
|
17433
|
+
export const makeBankAccountInfoKorV2 = () => factories['io.flow.v0.models.bank_account_info_kor_v2']();
|
|
17307
17434
|
export const makeBankAccountInfoUsa = () => factories['io.flow.v0.models.bank_account_info_usa']();
|
|
17308
17435
|
export const makeBankAccountReference = () => factories['io.flow.v0.models.bank_account_reference']();
|
|
17309
17436
|
export const makeBankAccountSummary = () => factories['io.flow.v0.models.bank_account_summary']();
|
|
@@ -17716,6 +17843,10 @@ export const makeExternalCard = () => factories['io.flow.v0.models.external_card
|
|
|
17716
17843
|
export const makeExternalOrderSummary = () => factories['io.flow.v0.models.external_order_summary']();
|
|
17717
17844
|
export const makeFeeDeduction = () => factories['io.flow.v0.models.fee_deduction']();
|
|
17718
17845
|
export const makeFeeDeductionType = () => factories['io.flow.v0.enums.fee_deduction_type']();
|
|
17846
|
+
export const makeFeeInvoice = () => factories['io.flow.v0.models.fee_invoice']();
|
|
17847
|
+
export const makeFeeInvoiceDeleted = () => factories['io.flow.v0.models.fee_invoice_deleted']();
|
|
17848
|
+
export const makeFeeInvoiceType = () => factories['io.flow.v0.enums.fee_invoice_type']();
|
|
17849
|
+
export const makeFeeInvoiceUpserted = () => factories['io.flow.v0.models.fee_invoice_upserted']();
|
|
17719
17850
|
export const makeFeeWeight = () => factories['io.flow.v0.models.fee_weight']();
|
|
17720
17851
|
export const makeFieldValidationMax = () => factories['io.flow.v0.models.field_validation_max']();
|
|
17721
17852
|
export const makeFieldValidationMin = () => factories['io.flow.v0.models.field_validation_min']();
|
|
@@ -18125,6 +18256,7 @@ export const makeOrderStateDeleted = () => factories['io.flow.v0.models.order_st
|
|
|
18125
18256
|
export const makeOrderStateRejectionReason = () => factories['io.flow.v0.unions.order_state_rejection_reason']();
|
|
18126
18257
|
export const makeOrderStateRejectionReasonDomesticOrder = () => factories['io.flow.v0.models.order_state_rejection_reason_domestic_order']();
|
|
18127
18258
|
export const makeOrderStateRejectionReasonItemsEmpty = () => factories['io.flow.v0.models.order_state_rejection_reason_items_empty']();
|
|
18259
|
+
export const makeOrderStateRejectionReasonOrganizationDeactivated = () => factories['io.flow.v0.models.order_state_rejection_reason_organization_deactivated']();
|
|
18128
18260
|
export const makeOrderStateRejectionReasonRestrictedItem = () => factories['io.flow.v0.models.order_state_rejection_reason_restricted_item']();
|
|
18129
18261
|
export const makeOrderStateStatus = () => factories['io.flow.v0.enums.order_state_status']();
|
|
18130
18262
|
export const makeOrderStateUpserted = () => factories['io.flow.v0.models.order_state_upserted']();
|
|
@@ -18465,9 +18597,9 @@ export const makeRatecard = () => factories['io.flow.v0.models.ratecard']();
|
|
|
18465
18597
|
export const makeRatecardCarrierSummary = () => factories['io.flow.v0.models.ratecard_carrier_summary']();
|
|
18466
18598
|
export const makeRatecardData = () => factories['io.flow.v0.models.ratecard_data']();
|
|
18467
18599
|
export const makeRatecardDeleted = () => factories['io.flow.v0.models.ratecard_deleted']();
|
|
18600
|
+
export const makeRatecardEffectiveUntilForm = () => factories['io.flow.v0.models.ratecard_effective_until_form']();
|
|
18468
18601
|
export const makeRatecardEstimate = () => factories['io.flow.v0.unions.ratecard_estimate']();
|
|
18469
18602
|
export const makeRatecardEstimateForm = () => factories['io.flow.v0.models.ratecard_estimate_form']();
|
|
18470
|
-
export const makeRatecardEstimateSummaryForm = () => factories['io.flow.v0.models.ratecard_estimate_summary_form']();
|
|
18471
18603
|
export const makeRatecardEstimateV1 = () => factories['io.flow.v0.models.ratecard_estimate_v1']();
|
|
18472
18604
|
export const makeRatecardEstimateV2 = () => factories['io.flow.v0.models.ratecard_estimate_v2']();
|
|
18473
18605
|
export const makeRatecardEstimateV3 = () => factories['io.flow.v0.models.ratecard_estimate_v3']();
|
|
@@ -18643,6 +18775,7 @@ export const makeShippingConfigurationSummary = () => factories['io.flow.v0.mode
|
|
|
18643
18775
|
export const makeShippingConfigurationType = () => factories['io.flow.v0.enums.shipping_configuration_type']();
|
|
18644
18776
|
export const makeShippingConfigurationUpserted = () => factories['io.flow.v0.models.shipping_configuration_upserted']();
|
|
18645
18777
|
export const makeShippingConfigurationVersion = () => factories['io.flow.v0.models.shipping_configuration_version']();
|
|
18778
|
+
export const makeShippingCostGuarantee = () => factories['io.flow.v0.enums.shipping_cost_guarantee']();
|
|
18646
18779
|
export const makeShippingLabel = () => factories['io.flow.v0.models.shipping_label']();
|
|
18647
18780
|
export const makeShippingLabelDocument = () => factories['io.flow.v0.models.shipping_label_document']();
|
|
18648
18781
|
export const makeShippingLabelError = () => factories['io.flow.v0.models.shipping_label_error']();
|
|
@@ -18759,6 +18892,7 @@ export const makeTariffCodes = () => factories['io.flow.v0.models.tariff_codes']
|
|
|
18759
18892
|
export const makeTariffCodesDeleted = () => factories['io.flow.v0.models.tariff_codes_deleted']();
|
|
18760
18893
|
export const makeTariffCodesUpserted = () => factories['io.flow.v0.models.tariff_codes_upserted']();
|
|
18761
18894
|
export const makeTax = () => factories['io.flow.v0.models.tax']();
|
|
18895
|
+
export const makeTaxAndDutyInclusivitySetting = () => factories['io.flow.v0.enums.tax_and_duty_inclusivity_setting']();
|
|
18762
18896
|
export const makeTaxApplicability = () => factories['io.flow.v0.enums.tax_applicability']();
|
|
18763
18897
|
export const makeTaxBreakdown = () => factories['io.flow.v0.models.tax_breakdown']();
|
|
18764
18898
|
export const makeTaxDutyCalculatorValidationError = () => factories['io.flow.v0.models.tax_duty_calculator_validation_error']();
|
|
@@ -18859,6 +18993,7 @@ export const makeTransactionMetadataChannelCardMetadataIssuerSummary = () => fac
|
|
|
18859
18993
|
export const makeTransactionMetadataChannelOrganizationTransaction = () => factories['io.flow.v0.models.transaction_metadata_channel_organization_transaction']();
|
|
18860
18994
|
export const makeTransactionMetadataFailedPayout = () => factories['io.flow.v0.models.transaction_metadata_failed_payout']();
|
|
18861
18995
|
export const makeTransactionMetadataFailedPayoutReference = () => factories['io.flow.v0.models.transaction_metadata_failed_payout_reference']();
|
|
18996
|
+
export const makeTransactionMetadataFlatRateLabel = () => factories['io.flow.v0.models.transaction_metadata_flat_rate_label']();
|
|
18862
18997
|
export const makeTransactionMetadataManual = () => factories['io.flow.v0.models.transaction_metadata_manual']();
|
|
18863
18998
|
export const makeTransactionMetadataMerchantFee = () => factories['io.flow.v0.models.transaction_metadata_merchant_fee']();
|
|
18864
18999
|
export const makeTransactionMetadataMerchantFeeItem = () => factories['io.flow.v0.models.transaction_metadata_merchant_fee_item']();
|