@flowio/api-factories 0.0.117 → 0.0.119
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 +448 -310
- package/dist/esm/api.js +383 -271
- package/dist/types/api.d.ts +44 -19
- package/package.json +2 -2
- package/src/api.ts +427 -304
package/src/api.ts
CHANGED
|
@@ -172,6 +172,7 @@ const factories = {
|
|
|
172
172
|
'unsupported_virtual_goods',
|
|
173
173
|
'non_matching_currencies',
|
|
174
174
|
'unsupported_order_edit',
|
|
175
|
+
'order_allocation_duties_mismatch',
|
|
175
176
|
'order_missing',
|
|
176
177
|
]),
|
|
177
178
|
|
|
@@ -228,6 +229,7 @@ const factories = {
|
|
|
228
229
|
order_updated_at: factories.date_time_iso_8601(),
|
|
229
230
|
order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
|
|
230
231
|
payment_source: factories['io.flow.channel.internal.v0.enums.order_payment_source_type'](),
|
|
232
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
231
233
|
}),
|
|
232
234
|
|
|
233
235
|
'io.flow.channel.internal.v0.models.channel_order_acceptance_details': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceDetails => ({
|
|
@@ -293,6 +295,35 @@ const factories = {
|
|
|
293
295
|
edited_at: factories.date_time_iso_8601(),
|
|
294
296
|
}),
|
|
295
297
|
|
|
298
|
+
'io.flow.channel.shopify.v0.enums.channel_shopify_order_state_reason_code': (): io.flow.channel.shopify.v0.enums.ChannelShopifyOrderStateReasonCode => faker.helpers.arrayElement(['placeholder_reason_code']),
|
|
299
|
+
|
|
300
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_state': (): io.flow.channel.shopify.v0.models.ChannelShopifyOrderState => ({
|
|
301
|
+
id: factories.string(),
|
|
302
|
+
shopify_order_summary: factories['io.flow.channel.shopify.v0.models.channel_shopify_order_summary'](),
|
|
303
|
+
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
304
|
+
|
|
305
|
+
reasons: arrayOf(
|
|
306
|
+
() => factories['io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason'](),
|
|
307
|
+
),
|
|
308
|
+
|
|
309
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
310
|
+
}),
|
|
311
|
+
|
|
312
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason': (): io.flow.channel.shopify.v0.models.ChannelShopifyOrderStateReason => ({
|
|
313
|
+
code: factories['io.flow.channel.shopify.v0.enums.channel_shopify_order_state_reason_code'](),
|
|
314
|
+
message: factories.string(),
|
|
315
|
+
}),
|
|
316
|
+
|
|
317
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_summary': (): io.flow.channel.shopify.v0.models.ChannelShopifyOrderSummary => ({
|
|
318
|
+
order_id: factories.long(),
|
|
319
|
+
shop_id: factories.long(),
|
|
320
|
+
}),
|
|
321
|
+
|
|
322
|
+
'io.flow.channel.shopify.v0.models.external_order_summary': (): io.flow.channel.shopify.v0.models.ExternalOrderSummary => ({
|
|
323
|
+
id: factories.string(),
|
|
324
|
+
edit_ids: arrayOf(() => factories.string()),
|
|
325
|
+
}),
|
|
326
|
+
|
|
296
327
|
'io.flow.channel.v0.enums.channel_currency_capability': (): io.flow.channel.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
297
328
|
|
|
298
329
|
'io.flow.channel.v0.models.channel': (): io.flow.channel.v0.models.Channel => ({
|
|
@@ -660,6 +691,8 @@ const factories = {
|
|
|
660
691
|
'io.flow.common.v0.models.merchant_of_record_entity_registration': (): io.flow.common.v0.models.MerchantOfRecordEntityRegistration => ({
|
|
661
692
|
number: factories.string(),
|
|
662
693
|
country: factories.string(),
|
|
694
|
+
province_number: factories.string(),
|
|
695
|
+
province: factories.string(),
|
|
663
696
|
}),
|
|
664
697
|
|
|
665
698
|
'io.flow.common.v0.models.money': (): io.flow.common.v0.models.Money => ({
|
|
@@ -4193,160 +4226,6 @@ const factories = {
|
|
|
4193
4226
|
return f();
|
|
4194
4227
|
},
|
|
4195
4228
|
|
|
4196
|
-
'io.flow.tech.onboarding.playground.v0.enums.aldo_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AldoItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4197
|
-
'io.flow.tech.onboarding.playground.v0.enums.anirban_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AnirbanItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4198
|
-
'io.flow.tech.onboarding.playground.v0.enums.ansh_item_type': (): io.flow.tech.onboarding.playground.v0.enums.AnshItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4199
|
-
'io.flow.tech.onboarding.playground.v0.enums.hosein_item_type': (): io.flow.tech.onboarding.playground.v0.enums.HoseinItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4200
|
-
'io.flow.tech.onboarding.playground.v0.enums.niall_item_type': (): io.flow.tech.onboarding.playground.v0.enums.NiallItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4201
|
-
'io.flow.tech.onboarding.playground.v0.enums.prateek_item_type': (): io.flow.tech.onboarding.playground.v0.enums.PrateekItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4202
|
-
'io.flow.tech.onboarding.playground.v0.enums.rohan_item_type': (): io.flow.tech.onboarding.playground.v0.enums.RohanItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4203
|
-
'io.flow.tech.onboarding.playground.v0.enums.sarvesh_item_type': (): io.flow.tech.onboarding.playground.v0.enums.SarveshItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4204
|
-
|
|
4205
|
-
'io.flow.tech.onboarding.playground.v0.models.aldo_item': (): io.flow.tech.onboarding.playground.v0.models.AldoItem => ({
|
|
4206
|
-
id: factories.string(),
|
|
4207
|
-
number: factories.string(),
|
|
4208
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4209
|
-
description: factories.string(),
|
|
4210
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'](),
|
|
4211
|
-
added_on: factories.date_iso_8601(),
|
|
4212
|
-
}),
|
|
4213
|
-
|
|
4214
|
-
'io.flow.tech.onboarding.playground.v0.models.aldo_item_form': (): io.flow.tech.onboarding.playground.v0.models.AldoItemForm => ({
|
|
4215
|
-
number: factories.string(),
|
|
4216
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4217
|
-
description: factories.string(),
|
|
4218
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.aldo_item_type'](),
|
|
4219
|
-
added_on: factories.date_iso_8601(),
|
|
4220
|
-
}),
|
|
4221
|
-
|
|
4222
|
-
'io.flow.tech.onboarding.playground.v0.models.anirban_item': (): io.flow.tech.onboarding.playground.v0.models.AnirbanItem => ({
|
|
4223
|
-
id: factories.string(),
|
|
4224
|
-
number: factories.string(),
|
|
4225
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4226
|
-
description: factories.string(),
|
|
4227
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.anirban_item_type'](),
|
|
4228
|
-
added_on: factories.date_time_iso_8601(),
|
|
4229
|
-
}),
|
|
4230
|
-
|
|
4231
|
-
'io.flow.tech.onboarding.playground.v0.models.anirban_item_form': (): io.flow.tech.onboarding.playground.v0.models.AnirbanItemForm => ({
|
|
4232
|
-
number: factories.string(),
|
|
4233
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4234
|
-
description: factories.string(),
|
|
4235
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.anirban_item_type'](),
|
|
4236
|
-
added_on: factories.date_time_iso_8601(),
|
|
4237
|
-
}),
|
|
4238
|
-
|
|
4239
|
-
'io.flow.tech.onboarding.playground.v0.models.ansh_item': (): io.flow.tech.onboarding.playground.v0.models.AnshItem => ({
|
|
4240
|
-
id: factories.string(),
|
|
4241
|
-
number: factories.string(),
|
|
4242
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4243
|
-
description: factories.string(),
|
|
4244
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.ansh_item_type'](),
|
|
4245
|
-
added_on: factories.date_iso_8601(),
|
|
4246
|
-
}),
|
|
4247
|
-
|
|
4248
|
-
'io.flow.tech.onboarding.playground.v0.models.ansh_item_form': (): io.flow.tech.onboarding.playground.v0.models.AnshItemForm => ({
|
|
4249
|
-
number: factories.string(),
|
|
4250
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4251
|
-
description: factories.string(),
|
|
4252
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.ansh_item_type'](),
|
|
4253
|
-
added_on: factories.date_iso_8601(),
|
|
4254
|
-
}),
|
|
4255
|
-
|
|
4256
|
-
'io.flow.tech.onboarding.playground.v0.models.hosein_item': (): io.flow.tech.onboarding.playground.v0.models.HoseinItem => ({
|
|
4257
|
-
id: factories.string(),
|
|
4258
|
-
number: factories.string(),
|
|
4259
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4260
|
-
description: factories.string(),
|
|
4261
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.hosein_item_type'](),
|
|
4262
|
-
added_on: factories.date_time_iso_8601(),
|
|
4263
|
-
}),
|
|
4264
|
-
|
|
4265
|
-
'io.flow.tech.onboarding.playground.v0.models.hosein_item_form': (): io.flow.tech.onboarding.playground.v0.models.HoseinItemForm => ({
|
|
4266
|
-
number: factories.string(),
|
|
4267
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4268
|
-
description: factories.string(),
|
|
4269
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.hosein_item_type'](),
|
|
4270
|
-
added_on: factories.date_time_iso_8601(),
|
|
4271
|
-
}),
|
|
4272
|
-
|
|
4273
|
-
'io.flow.tech.onboarding.playground.v0.models.jean_demo_item': (): io.flow.tech.onboarding.playground.v0.models.JeanDemoItem => ({
|
|
4274
|
-
id: factories.string(),
|
|
4275
|
-
name: factories.string(),
|
|
4276
|
-
}),
|
|
4277
|
-
|
|
4278
|
-
'io.flow.tech.onboarding.playground.v0.models.niall_item': (): io.flow.tech.onboarding.playground.v0.models.NiallItem => ({
|
|
4279
|
-
id: factories.string(),
|
|
4280
|
-
number: factories.string(),
|
|
4281
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4282
|
-
description: factories.string(),
|
|
4283
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.niall_item_type'](),
|
|
4284
|
-
added_on: factories.date_time_iso_8601(),
|
|
4285
|
-
}),
|
|
4286
|
-
|
|
4287
|
-
'io.flow.tech.onboarding.playground.v0.models.niall_item_form': (): io.flow.tech.onboarding.playground.v0.models.NiallItemForm => ({
|
|
4288
|
-
number: factories.string(),
|
|
4289
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4290
|
-
description: factories.string(),
|
|
4291
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.niall_item_type'](),
|
|
4292
|
-
added_on: factories.date_time_iso_8601(),
|
|
4293
|
-
}),
|
|
4294
|
-
|
|
4295
|
-
'io.flow.tech.onboarding.playground.v0.models.prateek_item': (): io.flow.tech.onboarding.playground.v0.models.PrateekItem => ({
|
|
4296
|
-
id: factories.string(),
|
|
4297
|
-
number: factories.string(),
|
|
4298
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4299
|
-
description: factories.string(),
|
|
4300
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.prateek_item_type'](),
|
|
4301
|
-
added_on: factories.date_iso_8601(),
|
|
4302
|
-
}),
|
|
4303
|
-
|
|
4304
|
-
'io.flow.tech.onboarding.playground.v0.models.prateek_item_form': (): io.flow.tech.onboarding.playground.v0.models.PrateekItemForm => ({
|
|
4305
|
-
number: factories.string(),
|
|
4306
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4307
|
-
description: factories.string(),
|
|
4308
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.prateek_item_type'](),
|
|
4309
|
-
added_on: factories.date_iso_8601(),
|
|
4310
|
-
}),
|
|
4311
|
-
|
|
4312
|
-
'io.flow.tech.onboarding.playground.v0.models.rohan_item': (): io.flow.tech.onboarding.playground.v0.models.RohanItem => ({
|
|
4313
|
-
id: factories.string(),
|
|
4314
|
-
number: factories.string(),
|
|
4315
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4316
|
-
description: factories.string(),
|
|
4317
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.rohan_item_type'](),
|
|
4318
|
-
added_on: factories.date_iso_8601(),
|
|
4319
|
-
}),
|
|
4320
|
-
|
|
4321
|
-
'io.flow.tech.onboarding.playground.v0.models.rohan_item_form': (): io.flow.tech.onboarding.playground.v0.models.RohanItemForm => ({
|
|
4322
|
-
number: factories.string(),
|
|
4323
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4324
|
-
description: factories.string(),
|
|
4325
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.rohan_item_type'](),
|
|
4326
|
-
added_on: factories.date_iso_8601(),
|
|
4327
|
-
}),
|
|
4328
|
-
|
|
4329
|
-
'io.flow.tech.onboarding.playground.v0.models.sarvesh_item': (): io.flow.tech.onboarding.playground.v0.models.SarveshItem => ({
|
|
4330
|
-
id: factories.string(),
|
|
4331
|
-
number: factories.string(),
|
|
4332
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4333
|
-
description: factories.string(),
|
|
4334
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.sarvesh_item_type'](),
|
|
4335
|
-
added_on: factories.date_time_iso_8601(),
|
|
4336
|
-
}),
|
|
4337
|
-
|
|
4338
|
-
'io.flow.tech.onboarding.playground.v0.models.sarvesh_item_form': (): io.flow.tech.onboarding.playground.v0.models.SarveshItemForm => ({
|
|
4339
|
-
number: factories.string(),
|
|
4340
|
-
amount: factories['io.flow.common.v0.models.price'](),
|
|
4341
|
-
description: factories.string(),
|
|
4342
|
-
type: factories['io.flow.tech.onboarding.playground.v0.enums.sarvesh_item_type'](),
|
|
4343
|
-
added_on: factories.date_time_iso_8601(),
|
|
4344
|
-
}),
|
|
4345
|
-
|
|
4346
|
-
'io.flow.tech.onboarding.playground.v0.models.tech_onboarding_description': (): io.flow.tech.onboarding.playground.v0.models.TechOnboardingDescription => ({
|
|
4347
|
-
description: factories.string(),
|
|
4348
|
-
}),
|
|
4349
|
-
|
|
4350
4229
|
'io.flow.v0.enums.abandoned_order_promotion_status': (): io.flow.v0.enums.AbandonedOrderPromotionStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
4351
4230
|
'io.flow.v0.enums.abandoned_order_setting_status': (): io.flow.v0.enums.AbandonedOrderSettingStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
4352
4231
|
|
|
@@ -4477,6 +4356,7 @@ const factories = {
|
|
|
4477
4356
|
'io.flow.v0.enums.change_type': (): io.flow.v0.enums.ChangeType => faker.helpers.arrayElement(['insert', 'update', 'delete']),
|
|
4478
4357
|
'io.flow.v0.enums.channel_currency_capability': (): io.flow.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
4479
4358
|
'io.flow.v0.enums.channel_shopify_order_state_reason_code': (): io.flow.v0.enums.ChannelShopifyOrderStateReasonCode => faker.helpers.arrayElement(['placeholder_reason_code']),
|
|
4359
|
+
'io.flow.v0.enums.commercial_invoice_mode': (): io.flow.v0.enums.CommercialInvoiceMode => faker.helpers.arrayElement(['direct', 'indirect']),
|
|
4480
4360
|
'io.flow.v0.enums.consumer_invoice_customer_type': (): io.flow.v0.enums.ConsumerInvoiceCustomerType => faker.helpers.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']),
|
|
4481
4361
|
'io.flow.v0.enums.consumer_invoice_document_type': (): io.flow.v0.enums.ConsumerInvoiceDocumentType => faker.helpers.arrayElement(['pdf']),
|
|
4482
4362
|
'io.flow.v0.enums.consumer_invoice_status': (): io.flow.v0.enums.ConsumerInvoiceStatus => faker.helpers.arrayElement(['pending', 'available', 'invalid']),
|
|
@@ -4555,20 +4435,6 @@ const factories = {
|
|
|
4555
4435
|
'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.helpers.arrayElement([
|
|
4556
4436
|
'test_upserted',
|
|
4557
4437
|
'generate_load',
|
|
4558
|
-
'sarvesh_item_upserted',
|
|
4559
|
-
'sarvesh_item_deleted',
|
|
4560
|
-
'hosein_item_upserted',
|
|
4561
|
-
'hosein_item_deleted',
|
|
4562
|
-
'niall_item_upserted',
|
|
4563
|
-
'niall_item_deleted',
|
|
4564
|
-
'rohan_item_upserted',
|
|
4565
|
-
'rohan_item_deleted',
|
|
4566
|
-
'aldo_item_upserted',
|
|
4567
|
-
'aldo_item_deleted',
|
|
4568
|
-
'ansh_item_upserted',
|
|
4569
|
-
'ansh_item_deleted',
|
|
4570
|
-
'anirban_item_upserted',
|
|
4571
|
-
'anirban_item_deleted',
|
|
4572
4438
|
'transaction_upserted',
|
|
4573
4439
|
'organization_transaction_upserted',
|
|
4574
4440
|
'organization_transaction_deleted',
|
|
@@ -4675,6 +4541,8 @@ const factories = {
|
|
|
4675
4541
|
'organization_deleted_v2',
|
|
4676
4542
|
'ecommerce_platform_upserted',
|
|
4677
4543
|
'ecommerce_platform_deleted',
|
|
4544
|
+
'tax_registration_upserted',
|
|
4545
|
+
'tax_registration_deleted',
|
|
4678
4546
|
'organization_onboarding_state_upserted',
|
|
4679
4547
|
'organization_onboarding_state_deleted',
|
|
4680
4548
|
'authorization_deleted_v2',
|
|
@@ -4722,9 +4590,12 @@ const factories = {
|
|
|
4722
4590
|
'ratecard_deleted',
|
|
4723
4591
|
'product_restriction_result_upserted',
|
|
4724
4592
|
'product_restriction_result_deleted',
|
|
4593
|
+
'product_sellability_result_upserted',
|
|
4594
|
+
'product_sellability_result_deleted',
|
|
4725
4595
|
'shopify_localization_setting_upserted',
|
|
4726
4596
|
'shopify_localization_setting_deleted',
|
|
4727
4597
|
'tracking_label_event_upserted',
|
|
4598
|
+
'tracking_label_event_upserted_v2',
|
|
4728
4599
|
]),
|
|
4729
4600
|
|
|
4730
4601
|
'io.flow.v0.enums.exception_type': (): io.flow.v0.enums.ExceptionType => faker.helpers.arrayElement(['open', 'closed']),
|
|
@@ -5054,7 +4925,7 @@ const factories = {
|
|
|
5054
4925
|
'payment_checks_declined',
|
|
5055
4926
|
]),
|
|
5056
4927
|
|
|
5057
|
-
'io.flow.v0.enums.payment_fee_type': (): io.flow.v0.enums.PaymentFeeType => faker.helpers.arrayElement(['fx', 'mor', 'sp']),
|
|
4928
|
+
'io.flow.v0.enums.payment_fee_type': (): io.flow.v0.enums.PaymentFeeType => faker.helpers.arrayElement(['fx', 'mor', 'sp', 'mor_tax']),
|
|
5058
4929
|
'io.flow.v0.enums.payment_method_capability': (): io.flow.v0.enums.PaymentMethodCapability => faker.helpers.arrayElement(['credit', 'debit']),
|
|
5059
4930
|
'io.flow.v0.enums.payment_method_data_option_type': (): io.flow.v0.enums.PaymentMethodDataOptionType => faker.helpers.arrayElement(['ideal_issuer_option']),
|
|
5060
4931
|
'io.flow.v0.enums.payment_method_rule_content_key': (): io.flow.v0.enums.PaymentMethodRuleContentKey => faker.helpers.arrayElement(['description']),
|
|
@@ -5160,6 +5031,7 @@ const factories = {
|
|
|
5160
5031
|
'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']),
|
|
5161
5032
|
'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.helpers.arrayElement(['min', 'max']),
|
|
5162
5033
|
'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.helpers.arrayElement(['included', 'displayed', 'ignored']),
|
|
5034
|
+
'io.flow.v0.enums.pricing_type': (): io.flow.v0.enums.PricingType => faker.helpers.arrayElement(['inclusive_pricing']),
|
|
5163
5035
|
'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.helpers.arrayElement(['automatic', 'order_subtotal']),
|
|
5164
5036
|
|
|
5165
5037
|
'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.helpers.arrayElement([
|
|
@@ -5206,6 +5078,7 @@ const factories = {
|
|
|
5206
5078
|
'io.flow.v0.enums.refund_status': (): io.flow.v0.enums.RefundStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']),
|
|
5207
5079
|
'io.flow.v0.enums.region_type': (): io.flow.v0.enums.RegionType => faker.helpers.arrayElement(['state', 'province', 'jurisdiction']),
|
|
5208
5080
|
'io.flow.v0.enums.restricted_review_status': (): io.flow.v0.enums.RestrictedReviewStatus => faker.helpers.arrayElement(['in_review', 'reviewed']),
|
|
5081
|
+
'io.flow.v0.enums.restriction_environment': (): io.flow.v0.enums.RestrictionEnvironment => faker.helpers.arrayElement(['sandbox', 'production', 'qa']),
|
|
5209
5082
|
'io.flow.v0.enums.return_item_status': (): io.flow.v0.enums.ReturnItemStatus => faker.helpers.arrayElement(['returnable', 'non-returnable']),
|
|
5210
5083
|
'io.flow.v0.enums.return_policy_state': (): io.flow.v0.enums.ReturnPolicyState => faker.helpers.arrayElement(['current', 'deleting', 'updating']),
|
|
5211
5084
|
'io.flow.v0.enums.return_status': (): io.flow.v0.enums.ReturnStatus => faker.helpers.arrayElement(['open', 'refunded']),
|
|
@@ -5260,6 +5133,9 @@ const factories = {
|
|
|
5260
5133
|
]),
|
|
5261
5134
|
|
|
5262
5135
|
'io.flow.v0.enums.sellability_request_status': (): io.flow.v0.enums.SellabilityRequestStatus => faker.helpers.arrayElement(['commit']),
|
|
5136
|
+
'io.flow.v0.enums.sellability_result_error_code': (): io.flow.v0.enums.SellabilityResultErrorCode => faker.helpers.arrayElement(['insufficient_details', 'generic_error']),
|
|
5137
|
+
'io.flow.v0.enums.sellability_result_status': (): io.flow.v0.enums.SellabilityResultStatus => faker.helpers.arrayElement(['in_review', 'succeeded', 'failed']),
|
|
5138
|
+
'io.flow.v0.enums.sellability_screening_mode': (): io.flow.v0.enums.SellabilityScreeningMode => faker.helpers.arrayElement(['pre_onboarding', 'default_on', 'active']),
|
|
5263
5139
|
'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
|
|
5264
5140
|
'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.helpers.arrayElement(['customer', 'return', 'crossdock']),
|
|
5265
5141
|
'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.helpers.arrayElement(['default', 'variant']),
|
|
@@ -5283,7 +5159,8 @@ const factories = {
|
|
|
5283
5159
|
'io.flow.v0.enums.shopify_localization_method': (): io.flow.v0.enums.ShopifyLocalizationMethod => faker.helpers.arrayElement(['api', 'ssr']),
|
|
5284
5160
|
'io.flow.v0.enums.shopify_sync_check': (): io.flow.v0.enums.ShopifySyncCheck => faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']),
|
|
5285
5161
|
'io.flow.v0.enums.sort_direction': (): io.flow.v0.enums.SortDirection => faker.helpers.arrayElement(['ascending', 'descending']),
|
|
5286
|
-
'io.flow.v0.enums.statement_attachment_type': (): io.flow.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv']),
|
|
5162
|
+
'io.flow.v0.enums.statement_attachment_type': (): io.flow.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv', 'pdf']),
|
|
5163
|
+
'io.flow.v0.enums.statement_status_code': (): io.flow.v0.enums.StatementStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'failed']),
|
|
5287
5164
|
'io.flow.v0.enums.stored_method_usage_step': (): io.flow.v0.enums.StoredMethodUsageStep => faker.helpers.arrayElement(['initial', 'subsequent']),
|
|
5288
5165
|
'io.flow.v0.enums.strategy': (): io.flow.v0.enums.Strategy => faker.helpers.arrayElement(['range', 'from', 'to']),
|
|
5289
5166
|
'io.flow.v0.enums.subcatalog_item_status': (): io.flow.v0.enums.SubcatalogItemStatus => faker.helpers.arrayElement(['excluded', 'included', 'restricted']),
|
|
@@ -5366,6 +5243,7 @@ const factories = {
|
|
|
5366
5243
|
'order_edit',
|
|
5367
5244
|
'mixed_fulfilment_non_lvg',
|
|
5368
5245
|
'lvg_refund',
|
|
5246
|
+
'us_inbound_tax_refund',
|
|
5369
5247
|
'order_cancellation_above_de_min',
|
|
5370
5248
|
'wyol_shipment_above_de_min',
|
|
5371
5249
|
'full_refund_without_shipment',
|
|
@@ -5438,6 +5316,8 @@ const factories = {
|
|
|
5438
5316
|
'merchant_refund',
|
|
5439
5317
|
'ge_revenue_share',
|
|
5440
5318
|
'merchant_fee',
|
|
5319
|
+
'b2b_tax',
|
|
5320
|
+
'b2b_tax_refund',
|
|
5441
5321
|
]),
|
|
5442
5322
|
|
|
5443
5323
|
'io.flow.v0.enums.transfer_status': (): io.flow.v0.enums.TransferStatus => faker.helpers.arrayElement(['succeeded', 'canceled']),
|
|
@@ -5451,7 +5331,7 @@ const factories = {
|
|
|
5451
5331
|
'refund_from_merchant',
|
|
5452
5332
|
]),
|
|
5453
5333
|
|
|
5454
|
-
'io.flow.v0.enums.trueup_source': (): io.flow.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']),
|
|
5334
|
+
'io.flow.v0.enums.trueup_source': (): io.flow.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups', 'fedex']),
|
|
5455
5335
|
|
|
5456
5336
|
'io.flow.v0.enums.trueup_surcharge_type': (): io.flow.v0.enums.TrueupSurchargeType => faker.helpers.arrayElement([
|
|
5457
5337
|
'fuel',
|
|
@@ -5842,20 +5722,6 @@ const factories = {
|
|
|
5842
5722
|
fingerprint_token: factories.string(),
|
|
5843
5723
|
}),
|
|
5844
5724
|
|
|
5845
|
-
'io.flow.v0.models.aldo_item_deleted': (): io.flow.v0.models.AldoItemDeleted => ({
|
|
5846
|
-
discriminator: 'aldo_item_deleted',
|
|
5847
|
-
event_id: factories.string(),
|
|
5848
|
-
timestamp: factories.date_time_iso_8601(),
|
|
5849
|
-
id: factories.string(),
|
|
5850
|
-
}),
|
|
5851
|
-
|
|
5852
|
-
'io.flow.v0.models.aldo_item_upserted': (): io.flow.v0.models.AldoItemUpserted => ({
|
|
5853
|
-
discriminator: 'aldo_item_upserted',
|
|
5854
|
-
event_id: factories.string(),
|
|
5855
|
-
timestamp: factories.date_time_iso_8601(),
|
|
5856
|
-
item: factories['io.flow.tech.onboarding.playground.v0.models.aldo_item'](),
|
|
5857
|
-
}),
|
|
5858
|
-
|
|
5859
5725
|
'io.flow.v0.models.allocation': (): io.flow.v0.models.Allocation => ({
|
|
5860
5726
|
order: factories['io.flow.v0.models.allocation_order_summary'](),
|
|
5861
5727
|
details: arrayOf(() => factories['io.flow.v0.unions.allocation_detail']()),
|
|
@@ -5980,34 +5846,6 @@ const factories = {
|
|
|
5980
5846
|
interval: factories['io.flow.v0.enums.unit_of_time'](),
|
|
5981
5847
|
}),
|
|
5982
5848
|
|
|
5983
|
-
'io.flow.v0.models.anirban_item_deleted': (): io.flow.v0.models.AnirbanItemDeleted => ({
|
|
5984
|
-
discriminator: 'anirban_item_deleted',
|
|
5985
|
-
event_id: factories.string(),
|
|
5986
|
-
timestamp: factories.date_time_iso_8601(),
|
|
5987
|
-
id: factories.string(),
|
|
5988
|
-
}),
|
|
5989
|
-
|
|
5990
|
-
'io.flow.v0.models.anirban_item_upserted': (): io.flow.v0.models.AnirbanItemUpserted => ({
|
|
5991
|
-
discriminator: 'anirban_item_upserted',
|
|
5992
|
-
event_id: factories.string(),
|
|
5993
|
-
timestamp: factories.date_time_iso_8601(),
|
|
5994
|
-
item: factories['io.flow.tech.onboarding.playground.v0.models.anirban_item'](),
|
|
5995
|
-
}),
|
|
5996
|
-
|
|
5997
|
-
'io.flow.v0.models.ansh_item_deleted': (): io.flow.v0.models.AnshItemDeleted => ({
|
|
5998
|
-
discriminator: 'ansh_item_deleted',
|
|
5999
|
-
event_id: factories.string(),
|
|
6000
|
-
timestamp: factories.date_time_iso_8601(),
|
|
6001
|
-
id: factories.string(),
|
|
6002
|
-
}),
|
|
6003
|
-
|
|
6004
|
-
'io.flow.v0.models.ansh_item_upserted': (): io.flow.v0.models.AnshItemUpserted => ({
|
|
6005
|
-
discriminator: 'ansh_item_upserted',
|
|
6006
|
-
event_id: factories.string(),
|
|
6007
|
-
timestamp: factories.date_time_iso_8601(),
|
|
6008
|
-
item: factories['io.flow.tech.onboarding.playground.v0.models.ansh_item'](),
|
|
6009
|
-
}),
|
|
6010
|
-
|
|
6011
5849
|
'io.flow.v0.models.apple_pay_merchant_validation_payload': (): io.flow.v0.models.ApplePayMerchantValidationPayload => ({
|
|
6012
5850
|
discriminator: 'apple_pay_merchant_validation_payload',
|
|
6013
5851
|
validation_url: factories.string(),
|
|
@@ -6296,9 +6134,12 @@ const factories = {
|
|
|
6296
6134
|
invoice: factories['io.flow.v0.models.b2b_invoice_reference'](),
|
|
6297
6135
|
lines: arrayOf(() => factories['io.flow.v0.unions.consumer_invoice_line']()),
|
|
6298
6136
|
tax_lines: arrayOf(() => factories['io.flow.v0.models.invoice_tax_line']()),
|
|
6137
|
+
tax: factories['io.flow.v0.models.money'](),
|
|
6299
6138
|
documents: arrayOf(() => factories['io.flow.v0.models.consumer_invoice_document']()),
|
|
6300
6139
|
attributes: objectOf(() => factories.string()),
|
|
6301
6140
|
b2b_invoice_type: factories['io.flow.v0.enums.b2b_invoice_type'](),
|
|
6141
|
+
center: factories['io.flow.v0.models.consumer_invoice_center_reference'](),
|
|
6142
|
+
order: factories['io.flow.v0.models.consumer_invoice_order_summary'](),
|
|
6302
6143
|
}),
|
|
6303
6144
|
|
|
6304
6145
|
'io.flow.v0.models.b2b_credit_memo_deleted': (): io.flow.v0.models.B2BCreditMemoDeleted => ({
|
|
@@ -6395,6 +6236,18 @@ const factories = {
|
|
|
6395
6236
|
iban: factories.string(),
|
|
6396
6237
|
}),
|
|
6397
6238
|
|
|
6239
|
+
'io.flow.v0.models.bank_account_info_kor': (): io.flow.v0.models.BankAccountInfoKor => ({
|
|
6240
|
+
discriminator: 'kor',
|
|
6241
|
+
name: factories.string(),
|
|
6242
|
+
address: factories['io.flow.v0.models.address'](),
|
|
6243
|
+
phone: factories.string(),
|
|
6244
|
+
email: factories.string(),
|
|
6245
|
+
bank_account_number: factories.string(),
|
|
6246
|
+
bank_routing_number: factories.string(),
|
|
6247
|
+
bank_name: factories.string(),
|
|
6248
|
+
bank_address: factories['io.flow.v0.models.address'](),
|
|
6249
|
+
}),
|
|
6250
|
+
|
|
6398
6251
|
'io.flow.v0.models.bank_account_info_usa': (): io.flow.v0.models.BankAccountInfoUsa => ({
|
|
6399
6252
|
discriminator: 'usa',
|
|
6400
6253
|
routing_number: factories.string(),
|
|
@@ -7125,6 +6978,7 @@ const factories = {
|
|
|
7125
6978
|
shopify_order_summary: factories['io.flow.v0.models.channel_shopify_order_summary'](),
|
|
7126
6979
|
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
7127
6980
|
reasons: arrayOf(() => factories['io.flow.v0.models.channel_shopify_order_state_reason']()),
|
|
6981
|
+
external_order_summary: factories['io.flow.v0.models.external_order_summary'](),
|
|
7128
6982
|
}),
|
|
7129
6983
|
|
|
7130
6984
|
'io.flow.v0.models.channel_shopify_order_state_deleted': (): io.flow.v0.models.ChannelShopifyOrderStateDeleted => ({
|
|
@@ -7354,6 +7208,77 @@ const factories = {
|
|
|
7354
7208
|
amount: factories['io.flow.v0.models.money'](),
|
|
7355
7209
|
}),
|
|
7356
7210
|
|
|
7211
|
+
'io.flow.v0.models.common_merchant_application': (): io.flow.v0.models.CommonMerchantApplication => ({
|
|
7212
|
+
discriminator: 'common_merchant_application',
|
|
7213
|
+
id: factories.string(),
|
|
7214
|
+
organization_id: factories.string(),
|
|
7215
|
+
organization_reference: factories['io.flow.v0.models.onboarding_organization_reference'](),
|
|
7216
|
+
status: factories['io.flow.v0.enums.onboarding_application_status'](),
|
|
7217
|
+
company: factories['io.flow.v0.models.merchant_info'](),
|
|
7218
|
+
indirect_tax: factories['io.flow.v0.models.indirect_tax'](),
|
|
7219
|
+
ultimate_beneficiary_owner: factories['io.flow.v0.models.ultimate_beneficiary_owner'](),
|
|
7220
|
+
business_url: factories.string(),
|
|
7221
|
+
business_description: factories.string(),
|
|
7222
|
+
business_address: factories['io.flow.v0.models.address'](),
|
|
7223
|
+
refund_percentage: factories.decimal(),
|
|
7224
|
+
chargeback_percentage: factories.decimal(),
|
|
7225
|
+
beneficiary_details: factories['io.flow.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
7226
|
+
other_trade_sector: factories.string(),
|
|
7227
|
+
center_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
7228
|
+
center_address: factories['io.flow.v0.models.address'](),
|
|
7229
|
+
average_order_weight: factories.decimal(),
|
|
7230
|
+
average_order_weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
7231
|
+
package_dimensions: arrayOf(() => factories['io.flow.v0.models.dimension']()),
|
|
7232
|
+
monthly_average: factories['io.flow.v0.models.monthly_average'](),
|
|
7233
|
+
default_country_of_origin: factories.string(),
|
|
7234
|
+
rate_card: factories.string(),
|
|
7235
|
+
shop: factories['io.flow.v0.models.shop'](),
|
|
7236
|
+
created_at: factories.date_time_iso_8601(),
|
|
7237
|
+
last_year_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
7238
|
+
last_month_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
7239
|
+
average_order_value: factories['io.flow.v0.models.money'](),
|
|
7240
|
+
mcc_codes: arrayOf(() => factories.long()),
|
|
7241
|
+
}),
|
|
7242
|
+
|
|
7243
|
+
'io.flow.v0.models.common_merchant_application_form': (): io.flow.v0.models.CommonMerchantApplicationForm => ({
|
|
7244
|
+
discriminator: 'common_merchant_application_form',
|
|
7245
|
+
company: factories['io.flow.v0.models.merchant_info'](),
|
|
7246
|
+
indirect_tax: factories['io.flow.v0.models.indirect_tax'](),
|
|
7247
|
+
ultimate_beneficiary_owner: factories['io.flow.v0.models.ultimate_beneficiary_owner'](),
|
|
7248
|
+
business_url: factories.string(),
|
|
7249
|
+
business_description: factories.string(),
|
|
7250
|
+
business_address: factories['io.flow.v0.models.address'](),
|
|
7251
|
+
refund_percentage: factories.decimal(),
|
|
7252
|
+
chargeback_percentage: factories.decimal(),
|
|
7253
|
+
beneficiary_details: factories['io.flow.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
7254
|
+
other_trade_sector: factories.string(),
|
|
7255
|
+
center_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
7256
|
+
center_address: factories['io.flow.v0.models.address'](),
|
|
7257
|
+
average_order_weight: factories.decimal(),
|
|
7258
|
+
average_order_weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
7259
|
+
package_dimensions: arrayOf(() => factories['io.flow.v0.models.dimension']()),
|
|
7260
|
+
monthly_average_volume_amount: factories.decimal(),
|
|
7261
|
+
monthly_average_volume_currency: factories.string(),
|
|
7262
|
+
monthly_average_number_transactions: factories.long(),
|
|
7263
|
+
default_country_of_origin: factories.string(),
|
|
7264
|
+
shop: factories['io.flow.v0.models.shop'](),
|
|
7265
|
+
rate_card: factories.string(),
|
|
7266
|
+
last_year_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
7267
|
+
last_month_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
7268
|
+
average_order_value: factories['io.flow.v0.models.money'](),
|
|
7269
|
+
mcc_codes: arrayOf(() => factories.long()),
|
|
7270
|
+
}),
|
|
7271
|
+
|
|
7272
|
+
'io.flow.v0.models.common_merchant_application_put_form': (): io.flow.v0.models.CommonMerchantApplicationPutForm => ({
|
|
7273
|
+
discriminator: 'common_merchant_application_put_form',
|
|
7274
|
+
status: factories['io.flow.v0.enums.onboarding_application_status'](),
|
|
7275
|
+
}),
|
|
7276
|
+
|
|
7277
|
+
'io.flow.v0.models.common_merchant_applications_summary': (): io.flow.v0.models.CommonMerchantApplicationsSummary => ({
|
|
7278
|
+
discriminator: 'common_merchant_applications_summary',
|
|
7279
|
+
total: factories.long(),
|
|
7280
|
+
}),
|
|
7281
|
+
|
|
7357
7282
|
'io.flow.v0.models.company': (): io.flow.v0.models.Company => ({
|
|
7358
7283
|
discriminator: 'company',
|
|
7359
7284
|
legal_name: factories.string(),
|
|
@@ -7587,6 +7512,8 @@ const factories = {
|
|
|
7587
7512
|
documents: arrayOf(() => factories['io.flow.v0.models.consumer_invoice_document']()),
|
|
7588
7513
|
attributes: objectOf(() => factories.string()),
|
|
7589
7514
|
tax_registration: factories['io.flow.v0.models.tax_registration'](),
|
|
7515
|
+
center: factories['io.flow.v0.models.consumer_invoice_center_reference'](),
|
|
7516
|
+
order: factories['io.flow.v0.models.consumer_invoice_order_summary'](),
|
|
7590
7517
|
}),
|
|
7591
7518
|
|
|
7592
7519
|
'io.flow.v0.models.credit_memo_deleted': (): io.flow.v0.models.CreditMemoDeleted => ({
|
|
@@ -8373,6 +8300,7 @@ const factories = {
|
|
|
8373
8300
|
amount: factories['io.flow.v0.models.money'](),
|
|
8374
8301
|
origin_region: factories['io.flow.v0.models.ratecard_region_reference'](),
|
|
8375
8302
|
destination_region: factories['io.flow.v0.models.ratecard_region_reference'](),
|
|
8303
|
+
destination_regions: arrayOf(() => factories['io.flow.v0.models.ratecard_region_reference']()),
|
|
8376
8304
|
interval_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
8377
8305
|
}),
|
|
8378
8306
|
|
|
@@ -8711,6 +8639,11 @@ const factories = {
|
|
|
8711
8639
|
type: factories['io.flow.v0.enums.card_type'](),
|
|
8712
8640
|
}),
|
|
8713
8641
|
|
|
8642
|
+
'io.flow.v0.models.external_order_summary': (): io.flow.v0.models.ExternalOrderSummary => ({
|
|
8643
|
+
id: factories.string(),
|
|
8644
|
+
edit_ids: arrayOf(() => factories.string()),
|
|
8645
|
+
}),
|
|
8646
|
+
|
|
8714
8647
|
'io.flow.v0.models.fee_deduction': (): io.flow.v0.models.FeeDeduction => ({
|
|
8715
8648
|
type: factories['io.flow.v0.enums.fee_deduction_type'](),
|
|
8716
8649
|
amount: factories.decimal(),
|
|
@@ -9013,7 +8946,7 @@ const factories = {
|
|
|
9013
8946
|
discriminator: 'ge_catalog_item_ingestion_result',
|
|
9014
8947
|
event_id: factories.string(),
|
|
9015
8948
|
event_type: factories['io.flow.v0.enums.ge_event_type'](),
|
|
9016
|
-
environment: factories['io.flow.v0.enums.
|
|
8949
|
+
environment: factories['io.flow.v0.enums.restriction_environment'](),
|
|
9017
8950
|
timestamp: factories.date_time_iso_8601(),
|
|
9018
8951
|
source: factories.string(),
|
|
9019
8952
|
response: factories['io.flow.v0.enums.ge_catalog_item_ingestion_response'](),
|
|
@@ -9080,7 +9013,7 @@ const factories = {
|
|
|
9080
9013
|
organization: factories.string(),
|
|
9081
9014
|
event_id: factories.string(),
|
|
9082
9015
|
event_type: factories['io.flow.v0.enums.ge_event_type'](),
|
|
9083
|
-
environment: factories['io.flow.v0.enums.
|
|
9016
|
+
environment: factories['io.flow.v0.enums.restriction_environment'](),
|
|
9084
9017
|
timestamp: factories.date_time_iso_8601(),
|
|
9085
9018
|
id: factories.string(),
|
|
9086
9019
|
operation: factories['io.flow.v0.enums.change_type'](),
|
|
@@ -9091,7 +9024,7 @@ const factories = {
|
|
|
9091
9024
|
organization: factories.string(),
|
|
9092
9025
|
event_id: factories.string(),
|
|
9093
9026
|
event_type: factories['io.flow.v0.enums.ge_event_type'](),
|
|
9094
|
-
environment: factories['io.flow.v0.enums.
|
|
9027
|
+
environment: factories['io.flow.v0.enums.restriction_environment'](),
|
|
9095
9028
|
timestamp: factories.date_time_iso_8601(),
|
|
9096
9029
|
operation: factories['io.flow.v0.enums.change_type'](),
|
|
9097
9030
|
ge_product_restriction_result: factories['io.flow.v0.models.product_restriction_result'](),
|
|
@@ -9289,20 +9222,6 @@ const factories = {
|
|
|
9289
9222
|
hop_estimate: factories['io.flow.v0.models.hop_estimate_v2'](),
|
|
9290
9223
|
}),
|
|
9291
9224
|
|
|
9292
|
-
'io.flow.v0.models.hosein_item_deleted': (): io.flow.v0.models.HoseinItemDeleted => ({
|
|
9293
|
-
discriminator: 'hosein_item_deleted',
|
|
9294
|
-
event_id: factories.string(),
|
|
9295
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9296
|
-
id: factories.string(),
|
|
9297
|
-
}),
|
|
9298
|
-
|
|
9299
|
-
'io.flow.v0.models.hosein_item_upserted': (): io.flow.v0.models.HoseinItemUpserted => ({
|
|
9300
|
-
discriminator: 'hosein_item_upserted',
|
|
9301
|
-
event_id: factories.string(),
|
|
9302
|
-
timestamp: factories.date_time_iso_8601(),
|
|
9303
|
-
item: factories['io.flow.tech.onboarding.playground.v0.models.hosein_item'](),
|
|
9304
|
-
}),
|
|
9305
|
-
|
|
9306
9225
|
'io.flow.v0.models.hs10': (): io.flow.v0.models.Hs10 => ({
|
|
9307
9226
|
id: factories.string(),
|
|
9308
9227
|
item: factories['io.flow.v0.models.harmonized_item_reference'](),
|
|
@@ -10344,6 +10263,7 @@ const factories = {
|
|
|
10344
10263
|
region: factories['io.flow.v0.enums.region_type'](),
|
|
10345
10264
|
region_value: factories.string(),
|
|
10346
10265
|
category_code: factories.string(),
|
|
10266
|
+
description: factories.string(),
|
|
10347
10267
|
}),
|
|
10348
10268
|
|
|
10349
10269
|
'io.flow.v0.models.merchant_of_record_authorization_form': (): io.flow.v0.models.MerchantOfRecordAuthorizationForm => ({
|
|
@@ -10379,6 +10299,8 @@ const factories = {
|
|
|
10379
10299
|
'io.flow.v0.models.merchant_of_record_entity_registration': (): io.flow.v0.models.MerchantOfRecordEntityRegistration => ({
|
|
10380
10300
|
number: factories.string(),
|
|
10381
10301
|
country: factories.string(),
|
|
10302
|
+
province_number: factories.string(),
|
|
10303
|
+
province: factories.string(),
|
|
10382
10304
|
}),
|
|
10383
10305
|
|
|
10384
10306
|
'io.flow.v0.models.merchant_of_record_payment_form': (): io.flow.v0.models.MerchantOfRecordPaymentForm => ({
|
|
@@ -10398,6 +10320,17 @@ const factories = {
|
|
|
10398
10320
|
country: factories.string(),
|
|
10399
10321
|
}),
|
|
10400
10322
|
|
|
10323
|
+
'io.flow.v0.models.merchant_onboarding_beneficiary_details': (): io.flow.v0.models.MerchantOnboardingBeneficiaryDetails => ({
|
|
10324
|
+
name: factories.string(),
|
|
10325
|
+
address: factories['io.flow.v0.models.address'](),
|
|
10326
|
+
phone: factories.string(),
|
|
10327
|
+
email: factories.string(),
|
|
10328
|
+
bank_account_number: factories.string(),
|
|
10329
|
+
bank_routing_number: factories.string(),
|
|
10330
|
+
bank_name: factories.string(),
|
|
10331
|
+
bank_address: factories['io.flow.v0.models.address'](),
|
|
10332
|
+
}),
|
|
10333
|
+
|
|
10401
10334
|
'io.flow.v0.models.merchant_rejected': (): io.flow.v0.models.MerchantRejected => ({
|
|
10402
10335
|
discriminator: 'merchant_rejected',
|
|
10403
10336
|
reason: factories['io.flow.v0.enums.merchant_rejected_reason'](),
|
|
@@ -10448,20 +10381,6 @@ const factories = {
|
|
|
10448
10381
|
require_msds: factories.boolean(),
|
|
10449
10382
|
}),
|
|
10450
10383
|
|
|
10451
|
-
'io.flow.v0.models.niall_item_deleted': (): io.flow.v0.models.NiallItemDeleted => ({
|
|
10452
|
-
discriminator: 'niall_item_deleted',
|
|
10453
|
-
event_id: factories.string(),
|
|
10454
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10455
|
-
id: factories.string(),
|
|
10456
|
-
}),
|
|
10457
|
-
|
|
10458
|
-
'io.flow.v0.models.niall_item_upserted': (): io.flow.v0.models.NiallItemUpserted => ({
|
|
10459
|
-
discriminator: 'niall_item_upserted',
|
|
10460
|
-
event_id: factories.string(),
|
|
10461
|
-
timestamp: factories.date_time_iso_8601(),
|
|
10462
|
-
item: factories['io.flow.tech.onboarding.playground.v0.models.niall_item'](),
|
|
10463
|
-
}),
|
|
10464
|
-
|
|
10465
10384
|
'io.flow.v0.models.notification_deleted_v2': (): io.flow.v0.models.NotificationDeletedV2 => ({
|
|
10466
10385
|
discriminator: 'notification_deleted_v2',
|
|
10467
10386
|
event_id: factories.string(),
|
|
@@ -10611,6 +10530,7 @@ const factories = {
|
|
|
10611
10530
|
payment_source: factories['io.flow.v0.enums.order_payment_source_type'](),
|
|
10612
10531
|
edits: arrayOf(() => factories['io.flow.v0.models.edit_summary']()),
|
|
10613
10532
|
rates: arrayOf(() => factories['io.flow.v0.models.order_rate']()),
|
|
10533
|
+
pricing_type: factories['io.flow.v0.enums.pricing_type'](),
|
|
10614
10534
|
}),
|
|
10615
10535
|
|
|
10616
10536
|
'io.flow.v0.models.order_address': (): io.flow.v0.models.OrderAddress => ({
|
|
@@ -11328,6 +11248,22 @@ const factories = {
|
|
|
11328
11248
|
environment: factories['io.flow.v0.enums.environment'](),
|
|
11329
11249
|
}),
|
|
11330
11250
|
|
|
11251
|
+
'io.flow.v0.models.organization_tax_registration': (): io.flow.v0.models.OrganizationTaxRegistration => ({
|
|
11252
|
+
id: factories.string(),
|
|
11253
|
+
organization: factories['io.flow.v0.models.organization_summary'](),
|
|
11254
|
+
address: factories['io.flow.v0.models.billing_address'](),
|
|
11255
|
+
registration: factories['io.flow.v0.models.tax_registration_detail'](),
|
|
11256
|
+
self_billing_agreement: factories['io.flow.v0.models.self_billing_agreement'](),
|
|
11257
|
+
}),
|
|
11258
|
+
|
|
11259
|
+
'io.flow.v0.models.organization_tax_registration_form': (): io.flow.v0.models.OrganizationTaxRegistrationForm => ({
|
|
11260
|
+
tax_number: factories.string(),
|
|
11261
|
+
country: factories.string(),
|
|
11262
|
+
province: factories.string(),
|
|
11263
|
+
self_billing_agreement_effective_at: factories.date_time_iso_8601(),
|
|
11264
|
+
self_billing_agreement_expires_at: factories.date_time_iso_8601(),
|
|
11265
|
+
}),
|
|
11266
|
+
|
|
11331
11267
|
'io.flow.v0.models.organization_token': (): io.flow.v0.models.OrganizationToken => ({
|
|
11332
11268
|
discriminator: 'organization_token',
|
|
11333
11269
|
id: factories.string(),
|
|
@@ -12125,6 +12061,7 @@ const factories = {
|
|
|
12125
12061
|
supported_actions: arrayOf(() => factories['io.flow.v0.enums.payment_action_type']()),
|
|
12126
12062
|
payment_capture_option: factories['io.flow.v0.unions.payment_capture_option'](),
|
|
12127
12063
|
review: factories['io.flow.v0.models.payment_request_review'](),
|
|
12064
|
+
client_secret: factories.string(),
|
|
12128
12065
|
}),
|
|
12129
12066
|
|
|
12130
12067
|
'io.flow.v0.models.payment_request_billing': (): io.flow.v0.models.PaymentRequestBilling => ({
|
|
@@ -12653,7 +12590,7 @@ const factories = {
|
|
|
12653
12590
|
updated_by: factories.string(),
|
|
12654
12591
|
product_restriction_id: factories.string(),
|
|
12655
12592
|
hs_code: factories.string(),
|
|
12656
|
-
restricted_regions_by_type: arrayOf(() => factories['io.flow.v0.models.
|
|
12593
|
+
restricted_regions_by_type: arrayOf(() => factories['io.flow.v0.models.sellability_region_result']()),
|
|
12657
12594
|
needs_action_attributes: arrayOf(() => factories['io.flow.v0.models.needs_action_attributes']()),
|
|
12658
12595
|
}),
|
|
12659
12596
|
|
|
@@ -12679,10 +12616,11 @@ const factories = {
|
|
|
12679
12616
|
product_id: factories.string(),
|
|
12680
12617
|
request_id: factories.string(),
|
|
12681
12618
|
hs6_code: factories.string(),
|
|
12682
|
-
restricted_regions: arrayOf(() => factories['io.flow.v0.models.
|
|
12619
|
+
restricted_regions: arrayOf(() => factories['io.flow.v0.models.sellability_region_result']()),
|
|
12683
12620
|
}),
|
|
12684
12621
|
|
|
12685
12622
|
'io.flow.v0.models.product_sellability_form': (): io.flow.v0.models.ProductSellabilityForm => ({
|
|
12623
|
+
discriminator: 'product_sellability_form',
|
|
12686
12624
|
shop_id: factories.string(),
|
|
12687
12625
|
product_id: factories.string(),
|
|
12688
12626
|
name: factories.string(),
|
|
@@ -12693,6 +12631,32 @@ const factories = {
|
|
|
12693
12631
|
dry_run: factories.boolean(),
|
|
12694
12632
|
}),
|
|
12695
12633
|
|
|
12634
|
+
'io.flow.v0.models.product_sellability_result': (): io.flow.v0.models.ProductSellabilityResult => ({
|
|
12635
|
+
merchant_id: factories.string(),
|
|
12636
|
+
product_id: factories.string(),
|
|
12637
|
+
restricted_regions: arrayOf(() => factories['io.flow.v0.models.sellability_restricted_region']()),
|
|
12638
|
+
restricted_reasons: arrayOf(() => factories['io.flow.v0.models.sellability_restricted_reason']()),
|
|
12639
|
+
needs_action_attributes: arrayOf(() => factories['io.flow.v0.models.sellability_needs_action_attributes']()),
|
|
12640
|
+
request_id: factories.string(),
|
|
12641
|
+
hs6_code: factories.string(),
|
|
12642
|
+
}),
|
|
12643
|
+
|
|
12644
|
+
'io.flow.v0.models.product_sellability_result_deleted': (): io.flow.v0.models.ProductSellabilityResultDeleted => ({
|
|
12645
|
+
discriminator: 'product_sellability_result_deleted',
|
|
12646
|
+
event_id: factories.string(),
|
|
12647
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12648
|
+
organization: factories.string(),
|
|
12649
|
+
id: factories.string(),
|
|
12650
|
+
}),
|
|
12651
|
+
|
|
12652
|
+
'io.flow.v0.models.product_sellability_result_upserted': (): io.flow.v0.models.ProductSellabilityResultUpserted => ({
|
|
12653
|
+
discriminator: 'product_sellability_result_upserted',
|
|
12654
|
+
event_id: factories.string(),
|
|
12655
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12656
|
+
organization: factories.string(),
|
|
12657
|
+
product_sellability_result: factories['io.flow.v0.models.product_sellability_result'](),
|
|
12658
|
+
}),
|
|
12659
|
+
|
|
12696
12660
|
'io.flow.v0.models.product_taxonomy_category': (): io.flow.v0.models.ProductTaxonomyCategory => ({
|
|
12697
12661
|
name: factories.string(),
|
|
12698
12662
|
full_name: factories.string(),
|
|
@@ -12942,6 +12906,7 @@ const factories = {
|
|
|
12942
12906
|
center_id: factories.string(),
|
|
12943
12907
|
taxes_owed: factories['io.flow.v0.models.money'](),
|
|
12944
12908
|
duties_owed: factories['io.flow.v0.models.money'](),
|
|
12909
|
+
commercial_invoice_mode: factories['io.flow.v0.enums.commercial_invoice_mode'](),
|
|
12945
12910
|
}),
|
|
12946
12911
|
|
|
12947
12912
|
'io.flow.v0.models.ratecard_estimate_summary_form': (): io.flow.v0.models.RatecardEstimateSummaryForm => ({
|
|
@@ -13566,20 +13531,6 @@ const factories = {
|
|
|
13566
13531
|
reversal: factories['io.flow.v0.models.reversal'](),
|
|
13567
13532
|
}),
|
|
13568
13533
|
|
|
13569
|
-
'io.flow.v0.models.rohan_item_deleted': (): io.flow.v0.models.RohanItemDeleted => ({
|
|
13570
|
-
discriminator: 'rohan_item_deleted',
|
|
13571
|
-
event_id: factories.string(),
|
|
13572
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13573
|
-
id: factories.string(),
|
|
13574
|
-
}),
|
|
13575
|
-
|
|
13576
|
-
'io.flow.v0.models.rohan_item_upserted': (): io.flow.v0.models.RohanItemUpserted => ({
|
|
13577
|
-
discriminator: 'rohan_item_upserted',
|
|
13578
|
-
event_id: factories.string(),
|
|
13579
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13580
|
-
item: factories['io.flow.tech.onboarding.playground.v0.models.rohan_item'](),
|
|
13581
|
-
}),
|
|
13582
|
-
|
|
13583
13534
|
'io.flow.v0.models.romanization': (): io.flow.v0.models.Romanization => ({
|
|
13584
13535
|
address: factories['io.flow.v0.models.address'](),
|
|
13585
13536
|
contact: factories['io.flow.v0.models.contact'](),
|
|
@@ -13603,20 +13554,6 @@ const factories = {
|
|
|
13603
13554
|
roles: arrayOf(() => factories['io.flow.v0.enums.flow_role']()),
|
|
13604
13555
|
}),
|
|
13605
13556
|
|
|
13606
|
-
'io.flow.v0.models.sarvesh_item_deleted': (): io.flow.v0.models.SarveshItemDeleted => ({
|
|
13607
|
-
discriminator: 'sarvesh_item_deleted',
|
|
13608
|
-
event_id: factories.string(),
|
|
13609
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13610
|
-
id: factories.string(),
|
|
13611
|
-
}),
|
|
13612
|
-
|
|
13613
|
-
'io.flow.v0.models.sarvesh_item_upserted': (): io.flow.v0.models.SarveshItemUpserted => ({
|
|
13614
|
-
discriminator: 'sarvesh_item_upserted',
|
|
13615
|
-
event_id: factories.string(),
|
|
13616
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13617
|
-
item: factories['io.flow.tech.onboarding.playground.v0.models.sarvesh_item'](),
|
|
13618
|
-
}),
|
|
13619
|
-
|
|
13620
13557
|
'io.flow.v0.models.schedule': (): io.flow.v0.models.Schedule => ({
|
|
13621
13558
|
calendar: factories['io.flow.v0.enums.calendar'](),
|
|
13622
13559
|
holiday: factories['io.flow.v0.enums.holiday_calendar'](),
|
|
@@ -13668,12 +13605,71 @@ const factories = {
|
|
|
13668
13605
|
issuer_options: arrayOf(() => factories['io.flow.v0.models.issuer_reference']()),
|
|
13669
13606
|
}),
|
|
13670
13607
|
|
|
13608
|
+
'io.flow.v0.models.self_billing_agreement': (): io.flow.v0.models.SelfBillingAgreement => ({
|
|
13609
|
+
effective_at: factories.date_time_iso_8601(),
|
|
13610
|
+
expires_at: factories.date_time_iso_8601(),
|
|
13611
|
+
}),
|
|
13612
|
+
|
|
13671
13613
|
'io.flow.v0.models.sellability_error': (): io.flow.v0.models.SellabilityError => ({
|
|
13672
13614
|
discriminator: 'sellability_error',
|
|
13673
13615
|
code: factories['io.flow.v0.enums.sellability_error_code'](),
|
|
13674
13616
|
messages: arrayOf(() => factories.string()),
|
|
13675
13617
|
}),
|
|
13676
13618
|
|
|
13619
|
+
'io.flow.v0.models.sellability_needs_action_attributes': (): io.flow.v0.models.SellabilityNeedsActionAttributes => ({
|
|
13620
|
+
reason_code: factories.string(),
|
|
13621
|
+
category_metafield_handles: arrayOf(() => factories.string()),
|
|
13622
|
+
require_msds: factories.boolean(),
|
|
13623
|
+
}),
|
|
13624
|
+
|
|
13625
|
+
'io.flow.v0.models.sellability_reason_with_regions': (): io.flow.v0.models.SellabilityReasonWithRegions => ({
|
|
13626
|
+
reason: factories.string(),
|
|
13627
|
+
regions: arrayOf(() => factories.string()),
|
|
13628
|
+
}),
|
|
13629
|
+
|
|
13630
|
+
'io.flow.v0.models.sellability_region_result': (): io.flow.v0.models.SellabilityRegionResult => ({
|
|
13631
|
+
type: factories['io.flow.v0.enums.rule_effect_type'](),
|
|
13632
|
+
regions: arrayOf(() => factories.string()),
|
|
13633
|
+
}),
|
|
13634
|
+
|
|
13635
|
+
'io.flow.v0.models.sellability_region_with_reasons': (): io.flow.v0.models.SellabilityRegionWithReasons => ({
|
|
13636
|
+
region: factories.string(),
|
|
13637
|
+
reasons: arrayOf(() => factories.string()),
|
|
13638
|
+
}),
|
|
13639
|
+
|
|
13640
|
+
'io.flow.v0.models.sellability_restricted_reason': (): io.flow.v0.models.SellabilityRestrictedReason => ({
|
|
13641
|
+
type: factories['io.flow.v0.enums.rule_effect_type'](),
|
|
13642
|
+
reasons_with_regions: arrayOf(() => factories['io.flow.v0.models.sellability_reason_with_regions']()),
|
|
13643
|
+
}),
|
|
13644
|
+
|
|
13645
|
+
'io.flow.v0.models.sellability_restricted_region': (): io.flow.v0.models.SellabilityRestrictedRegion => ({
|
|
13646
|
+
type: factories['io.flow.v0.enums.rule_effect_type'](),
|
|
13647
|
+
regions: arrayOf(() => factories.string()),
|
|
13648
|
+
}),
|
|
13649
|
+
|
|
13650
|
+
'io.flow.v0.models.sellability_screening': (): io.flow.v0.models.SellabilityScreening => ({
|
|
13651
|
+
discriminator: 'sellability_screening',
|
|
13652
|
+
product_sellability_result: factories['io.flow.v0.models.product_sellability_result'](),
|
|
13653
|
+
request_id: factories.string(),
|
|
13654
|
+
status: factories['io.flow.v0.enums.sellability_result_status'](),
|
|
13655
|
+
error_code: factories['io.flow.v0.enums.sellability_result_error_code'](),
|
|
13656
|
+
error_message: factories.string(),
|
|
13657
|
+
}),
|
|
13658
|
+
|
|
13659
|
+
'io.flow.v0.models.sellability_screening_form': (): io.flow.v0.models.SellabilityScreeningForm => ({
|
|
13660
|
+
discriminator: 'sellability_screening_form',
|
|
13661
|
+
merchant_id: factories.string(),
|
|
13662
|
+
product_id: factories.string(),
|
|
13663
|
+
name: factories.string(),
|
|
13664
|
+
price: factories['io.flow.v0.models.money'](),
|
|
13665
|
+
description: factories.string(),
|
|
13666
|
+
taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
13667
|
+
mode: factories['io.flow.v0.enums.sellability_screening_mode'](),
|
|
13668
|
+
catalog_size: factories.integer(),
|
|
13669
|
+
relative_ranking: factories.decimal(),
|
|
13670
|
+
dry_run: factories.boolean(),
|
|
13671
|
+
}),
|
|
13672
|
+
|
|
13677
13673
|
'io.flow.v0.models.sellablility_region_result': (): io.flow.v0.models.SellablilityRegionResult => ({
|
|
13678
13674
|
type: factories['io.flow.v0.enums.rule_effect_type'](),
|
|
13679
13675
|
regions: arrayOf(() => factories.string()),
|
|
@@ -14084,6 +14080,43 @@ const factories = {
|
|
|
14084
14080
|
shipping_notification: factories['io.flow.v0.models.shipping_notification'](),
|
|
14085
14081
|
}),
|
|
14086
14082
|
|
|
14083
|
+
'io.flow.v0.models.shipping_rate_estimate': (): io.flow.v0.models.ShippingRateEstimate => ({
|
|
14084
|
+
origin_address: factories['io.flow.v0.models.address'](),
|
|
14085
|
+
destination_address: factories['io.flow.v0.models.address'](),
|
|
14086
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
14087
|
+
services: arrayOf(() => factories.string()),
|
|
14088
|
+
available: arrayOf(() => factories['io.flow.v0.models.shipping_rate_estimate_available']()),
|
|
14089
|
+
unavailable: arrayOf(() => factories['io.flow.v0.models.shipping_rate_estimate_unavailable']()),
|
|
14090
|
+
}),
|
|
14091
|
+
|
|
14092
|
+
'io.flow.v0.models.shipping_rate_estimate_available': (): io.flow.v0.models.ShippingRateEstimateAvailable => ({
|
|
14093
|
+
service: factories['io.flow.v0.models.ratecard_service_summary'](),
|
|
14094
|
+
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
14095
|
+
shipment_window: factories['io.flow.v0.models.shipment_window'](),
|
|
14096
|
+
total_amount: factories['io.flow.v0.models.money'](),
|
|
14097
|
+
base_amount: factories['io.flow.v0.models.money'](),
|
|
14098
|
+
fees: arrayOf(() => factories['io.flow.v0.unions.ratecard_fee']()),
|
|
14099
|
+
dimensional_weight: factories['io.flow.v0.models.measurement'](),
|
|
14100
|
+
gravitational_weight: factories['io.flow.v0.models.measurement'](),
|
|
14101
|
+
weight_break: factories.decimal(),
|
|
14102
|
+
}),
|
|
14103
|
+
|
|
14104
|
+
'io.flow.v0.models.shipping_rate_estimate_request': (): io.flow.v0.models.ShippingRateEstimateRequest => ({
|
|
14105
|
+
origin_address: factories['io.flow.v0.models.address'](),
|
|
14106
|
+
destination_address: factories['io.flow.v0.models.address'](),
|
|
14107
|
+
package_dimensions: factories['io.flow.v0.models.dimension'](),
|
|
14108
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
14109
|
+
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
14110
|
+
duties_owed: factories['io.flow.v0.models.money'](),
|
|
14111
|
+
taxes_owed: factories['io.flow.v0.models.money'](),
|
|
14112
|
+
line_items: arrayOf(() => factories['io.flow.v0.models.line_item_form']()),
|
|
14113
|
+
}),
|
|
14114
|
+
|
|
14115
|
+
'io.flow.v0.models.shipping_rate_estimate_unavailable': (): io.flow.v0.models.ShippingRateEstimateUnavailable => ({
|
|
14116
|
+
service: factories.string(),
|
|
14117
|
+
reason: factories.string(),
|
|
14118
|
+
}),
|
|
14119
|
+
|
|
14087
14120
|
'io.flow.v0.models.shop': (): io.flow.v0.models.Shop => ({
|
|
14088
14121
|
name: factories.string(),
|
|
14089
14122
|
id: factories.string(),
|
|
@@ -14296,6 +14329,7 @@ const factories = {
|
|
|
14296
14329
|
third_party_logistics_partners: arrayOf(() => factories['io.flow.v0.models.third_party_logistics_partner']()),
|
|
14297
14330
|
center_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
14298
14331
|
average_order_weight: factories.decimal(),
|
|
14332
|
+
average_order_weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
14299
14333
|
package_dimensions: arrayOf(() => factories['io.flow.v0.models.dimension']()),
|
|
14300
14334
|
monthly_average: factories['io.flow.v0.models.monthly_average'](),
|
|
14301
14335
|
default_country_of_origin: factories.string(),
|
|
@@ -14329,6 +14363,7 @@ const factories = {
|
|
|
14329
14363
|
third_party_logistics_partners: arrayOf(() => factories['io.flow.v0.models.third_party_logistics_partner']()),
|
|
14330
14364
|
center_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
14331
14365
|
average_order_weight: factories.decimal(),
|
|
14366
|
+
average_order_weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
14332
14367
|
package_dimensions: arrayOf(() => factories['io.flow.v0.models.dimension']()),
|
|
14333
14368
|
monthly_average_volume_amount: factories.decimal(),
|
|
14334
14369
|
monthly_average_volume_currency: factories.string(),
|
|
@@ -14476,6 +14511,11 @@ const factories = {
|
|
|
14476
14511
|
statement: factories['io.flow.v0.models.statement'](),
|
|
14477
14512
|
}),
|
|
14478
14513
|
|
|
14514
|
+
'io.flow.v0.models.statement_status_form': (): io.flow.v0.models.StatementStatusForm => ({
|
|
14515
|
+
code: factories['io.flow.v0.enums.statement_status_code'](),
|
|
14516
|
+
failure_reason: factories['io.flow.v0.enums.payout_status_failure_code'](),
|
|
14517
|
+
}),
|
|
14518
|
+
|
|
14479
14519
|
'io.flow.v0.models.statement_upserted': (): io.flow.v0.models.StatementUpserted => ({
|
|
14480
14520
|
discriminator: 'statement_upserted',
|
|
14481
14521
|
event_id: factories.string(),
|
|
@@ -14753,11 +14793,34 @@ const factories = {
|
|
|
14753
14793
|
company_name: factories.string(),
|
|
14754
14794
|
}),
|
|
14755
14795
|
|
|
14796
|
+
'io.flow.v0.models.tax_registration_deleted': (): io.flow.v0.models.TaxRegistrationDeleted => ({
|
|
14797
|
+
discriminator: 'tax_registration_deleted',
|
|
14798
|
+
event_id: factories.string(),
|
|
14799
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14800
|
+
organization: factories.string(),
|
|
14801
|
+
id: factories.string(),
|
|
14802
|
+
}),
|
|
14803
|
+
|
|
14804
|
+
'io.flow.v0.models.tax_registration_detail': (): io.flow.v0.models.TaxRegistrationDetail => ({
|
|
14805
|
+
tax_number: factories.string(),
|
|
14806
|
+
country: factories.string(),
|
|
14807
|
+
tax_code: factories.string(),
|
|
14808
|
+
province: factories.string(),
|
|
14809
|
+
}),
|
|
14810
|
+
|
|
14756
14811
|
'io.flow.v0.models.tax_registration_form': (): io.flow.v0.models.TaxRegistrationForm => ({
|
|
14757
14812
|
number: factories.string(),
|
|
14758
14813
|
company_name: factories.string(),
|
|
14759
14814
|
}),
|
|
14760
14815
|
|
|
14816
|
+
'io.flow.v0.models.tax_registration_upserted': (): io.flow.v0.models.TaxRegistrationUpserted => ({
|
|
14817
|
+
discriminator: 'tax_registration_upserted',
|
|
14818
|
+
event_id: factories.string(),
|
|
14819
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14820
|
+
organization: factories.string(),
|
|
14821
|
+
tax_registration: factories['io.flow.v0.models.organization_tax_registration'](),
|
|
14822
|
+
}),
|
|
14823
|
+
|
|
14761
14824
|
'io.flow.v0.models.tax_report': (): io.flow.v0.models.TaxReport => ({
|
|
14762
14825
|
schedule: factories['io.flow.v0.unions.repeat_schedule'](),
|
|
14763
14826
|
timezone: factories.string(),
|
|
@@ -15040,6 +15103,29 @@ const factories = {
|
|
|
15040
15103
|
order_number: factories.string(),
|
|
15041
15104
|
}),
|
|
15042
15105
|
|
|
15106
|
+
'io.flow.v0.models.tracking_label_event_upserted_v2': (): io.flow.v0.models.TrackingLabelEventUpsertedV2 => ({
|
|
15107
|
+
discriminator: 'tracking_label_event_upserted_v2',
|
|
15108
|
+
event_id: factories.string(),
|
|
15109
|
+
timestamp: factories.date_time_iso_8601(),
|
|
15110
|
+
organization: factories.string(),
|
|
15111
|
+
tracking_label_event: factories['io.flow.v0.models.tracking_label_event_v2'](),
|
|
15112
|
+
}),
|
|
15113
|
+
|
|
15114
|
+
'io.flow.v0.models.tracking_label_event_v2': (): io.flow.v0.models.TrackingLabelEventV2 => ({
|
|
15115
|
+
id: factories.string(),
|
|
15116
|
+
carrier_id: factories.string(),
|
|
15117
|
+
carrier_tracking_number: factories.string(),
|
|
15118
|
+
carrier_tracking_url: factories.string(),
|
|
15119
|
+
label_id: factories.string(),
|
|
15120
|
+
order_number: factories.string(),
|
|
15121
|
+
status: factories['io.flow.v0.enums.tracking_status'](),
|
|
15122
|
+
substatus: factories['io.flow.v0.enums.substatus_code'](),
|
|
15123
|
+
carrier_timestamp: factories.date_time_iso_8601(),
|
|
15124
|
+
description: factories.string(),
|
|
15125
|
+
delivery_estimate: factories.date_time_iso_8601(),
|
|
15126
|
+
address: factories['io.flow.v0.models.address'](),
|
|
15127
|
+
}),
|
|
15128
|
+
|
|
15043
15129
|
'io.flow.v0.models.tracking_label_form': (): io.flow.v0.models.TrackingLabelForm => ({
|
|
15044
15130
|
tracking_id: factories.string(),
|
|
15045
15131
|
status: factories['io.flow.v0.enums.tracking_status'](),
|
|
@@ -15726,6 +15812,7 @@ const factories = {
|
|
|
15726
15812
|
() => factories['io.flow.v0.models.bank_account_info_gbr'](),
|
|
15727
15813
|
() => factories['io.flow.v0.models.bank_account_info_fra'](),
|
|
15728
15814
|
() => factories['io.flow.v0.models.bank_account_info_ita'](),
|
|
15815
|
+
() => factories['io.flow.v0.models.bank_account_info_kor'](),
|
|
15729
15816
|
]);
|
|
15730
15817
|
|
|
15731
15818
|
return f();
|
|
@@ -15870,20 +15957,6 @@ const factories = {
|
|
|
15870
15957
|
const f = faker.helpers.arrayElement([
|
|
15871
15958
|
() => factories['io.flow.v0.models.test_upserted'](),
|
|
15872
15959
|
() => factories['io.flow.v0.models.generate_load'](),
|
|
15873
|
-
() => factories['io.flow.v0.models.sarvesh_item_upserted'](),
|
|
15874
|
-
() => factories['io.flow.v0.models.sarvesh_item_deleted'](),
|
|
15875
|
-
() => factories['io.flow.v0.models.hosein_item_upserted'](),
|
|
15876
|
-
() => factories['io.flow.v0.models.hosein_item_deleted'](),
|
|
15877
|
-
() => factories['io.flow.v0.models.niall_item_upserted'](),
|
|
15878
|
-
() => factories['io.flow.v0.models.niall_item_deleted'](),
|
|
15879
|
-
() => factories['io.flow.v0.models.rohan_item_upserted'](),
|
|
15880
|
-
() => factories['io.flow.v0.models.rohan_item_deleted'](),
|
|
15881
|
-
() => factories['io.flow.v0.models.aldo_item_upserted'](),
|
|
15882
|
-
() => factories['io.flow.v0.models.aldo_item_deleted'](),
|
|
15883
|
-
() => factories['io.flow.v0.models.ansh_item_upserted'](),
|
|
15884
|
-
() => factories['io.flow.v0.models.ansh_item_deleted'](),
|
|
15885
|
-
() => factories['io.flow.v0.models.anirban_item_upserted'](),
|
|
15886
|
-
() => factories['io.flow.v0.models.anirban_item_deleted'](),
|
|
15887
15960
|
() => factories['io.flow.v0.models.transaction_upserted'](),
|
|
15888
15961
|
() => factories['io.flow.v0.models.organization_transaction_upserted'](),
|
|
15889
15962
|
() => factories['io.flow.v0.models.organization_transaction_deleted'](),
|
|
@@ -15990,6 +16063,8 @@ const factories = {
|
|
|
15990
16063
|
() => factories['io.flow.v0.models.organization_deleted_v2'](),
|
|
15991
16064
|
() => factories['io.flow.v0.models.ecommerce_platform_upserted'](),
|
|
15992
16065
|
() => factories['io.flow.v0.models.ecommerce_platform_deleted'](),
|
|
16066
|
+
() => factories['io.flow.v0.models.tax_registration_upserted'](),
|
|
16067
|
+
() => factories['io.flow.v0.models.tax_registration_deleted'](),
|
|
15993
16068
|
() => factories['io.flow.v0.models.organization_onboarding_state_upserted'](),
|
|
15994
16069
|
() => factories['io.flow.v0.models.organization_onboarding_state_deleted'](),
|
|
15995
16070
|
() => factories['io.flow.v0.models.authorization_deleted_v2'](),
|
|
@@ -16037,9 +16112,12 @@ const factories = {
|
|
|
16037
16112
|
() => factories['io.flow.v0.models.ratecard_deleted'](),
|
|
16038
16113
|
() => factories['io.flow.v0.models.product_restriction_result_upserted'](),
|
|
16039
16114
|
() => factories['io.flow.v0.models.product_restriction_result_deleted'](),
|
|
16115
|
+
() => factories['io.flow.v0.models.product_sellability_result_upserted'](),
|
|
16116
|
+
() => factories['io.flow.v0.models.product_sellability_result_deleted'](),
|
|
16040
16117
|
() => factories['io.flow.v0.models.shopify_localization_setting_upserted'](),
|
|
16041
16118
|
() => factories['io.flow.v0.models.shopify_localization_setting_deleted'](),
|
|
16042
16119
|
() => factories['io.flow.v0.models.tracking_label_event_upserted'](),
|
|
16120
|
+
() => factories['io.flow.v0.models.tracking_label_event_upserted_v2'](),
|
|
16043
16121
|
]);
|
|
16044
16122
|
|
|
16045
16123
|
return f();
|
|
@@ -16255,18 +16333,27 @@ const factories = {
|
|
|
16255
16333
|
},
|
|
16256
16334
|
|
|
16257
16335
|
'io.flow.v0.unions.merchant_application': (): io.flow.v0.unions.MerchantApplication => {
|
|
16258
|
-
const f = faker.helpers.arrayElement([
|
|
16336
|
+
const f = faker.helpers.arrayElement([
|
|
16337
|
+
() => factories['io.flow.v0.models.shopify_merchant_application'](),
|
|
16338
|
+
() => factories['io.flow.v0.models.common_merchant_application'](),
|
|
16339
|
+
]);
|
|
16340
|
+
|
|
16259
16341
|
return f();
|
|
16260
16342
|
},
|
|
16261
16343
|
|
|
16262
16344
|
'io.flow.v0.unions.merchant_application_form': (): io.flow.v0.unions.MerchantApplicationForm => {
|
|
16263
|
-
const f = faker.helpers.arrayElement([
|
|
16345
|
+
const f = faker.helpers.arrayElement([
|
|
16346
|
+
() => factories['io.flow.v0.models.shopify_merchant_application_form'](),
|
|
16347
|
+
() => factories['io.flow.v0.models.common_merchant_application_form'](),
|
|
16348
|
+
]);
|
|
16349
|
+
|
|
16264
16350
|
return f();
|
|
16265
16351
|
},
|
|
16266
16352
|
|
|
16267
16353
|
'io.flow.v0.unions.merchant_application_put_form': (): io.flow.v0.unions.MerchantApplicationPutForm => {
|
|
16268
16354
|
const f = faker.helpers.arrayElement([
|
|
16269
16355
|
() => factories['io.flow.v0.models.shopify_merchant_application_put_form'](),
|
|
16356
|
+
() => factories['io.flow.v0.models.common_merchant_application_put_form'](),
|
|
16270
16357
|
]);
|
|
16271
16358
|
|
|
16272
16359
|
return f();
|
|
@@ -16275,6 +16362,7 @@ const factories = {
|
|
|
16275
16362
|
'io.flow.v0.unions.merchant_applications_summary': (): io.flow.v0.unions.MerchantApplicationsSummary => {
|
|
16276
16363
|
const f = faker.helpers.arrayElement([
|
|
16277
16364
|
() => factories['io.flow.v0.models.shopify_merchant_applications_summary'](),
|
|
16365
|
+
() => factories['io.flow.v0.models.common_merchant_applications_summary'](),
|
|
16278
16366
|
]);
|
|
16279
16367
|
|
|
16280
16368
|
return f();
|
|
@@ -16639,10 +16727,20 @@ const factories = {
|
|
|
16639
16727
|
return f();
|
|
16640
16728
|
},
|
|
16641
16729
|
|
|
16730
|
+
'io.flow.v0.unions.sellability_request': (): io.flow.v0.unions.SellabilityRequest => {
|
|
16731
|
+
const f = faker.helpers.arrayElement([
|
|
16732
|
+
() => factories['io.flow.v0.models.product_sellability_form'](),
|
|
16733
|
+
() => factories['io.flow.v0.models.sellability_screening_form'](),
|
|
16734
|
+
]);
|
|
16735
|
+
|
|
16736
|
+
return f();
|
|
16737
|
+
},
|
|
16738
|
+
|
|
16642
16739
|
'io.flow.v0.unions.sellability_response': (): io.flow.v0.unions.SellabilityResponse => {
|
|
16643
16740
|
const f = faker.helpers.arrayElement([
|
|
16644
16741
|
() => factories['io.flow.v0.models.product_sellability'](),
|
|
16645
16742
|
() => factories['io.flow.v0.models.sellability_error'](),
|
|
16743
|
+
() => factories['io.flow.v0.models.sellability_screening'](),
|
|
16646
16744
|
]);
|
|
16647
16745
|
|
|
16648
16746
|
return f();
|
|
@@ -16888,8 +16986,6 @@ export const makeAdyenNativeActionDetails = () => factories['io.flow.v0.models.a
|
|
|
16888
16986
|
export const makeAdyenNativeData = () => factories['io.flow.v0.unions.adyen_native_data']();
|
|
16889
16987
|
export const makeAdyenV3ChallengeToken = () => factories['io.flow.v0.models.adyen_v3_challenge_token']();
|
|
16890
16988
|
export const makeAdyenV3FingerprintToken = () => factories['io.flow.v0.models.adyen_v3_fingerprint_token']();
|
|
16891
|
-
export const makeAldoItemDeleted = () => factories['io.flow.v0.models.aldo_item_deleted']();
|
|
16892
|
-
export const makeAldoItemUpserted = () => factories['io.flow.v0.models.aldo_item_upserted']();
|
|
16893
16989
|
export const makeAllocation = () => factories['io.flow.v0.models.allocation']();
|
|
16894
16990
|
export const makeAllocationComponent = () => factories['io.flow.v0.unions.allocation_component']();
|
|
16895
16991
|
export const makeAllocationDeletedV2 = () => factories['io.flow.v0.models.allocation_deleted_v2']();
|
|
@@ -16907,10 +17003,6 @@ export const makeAllocationV2 = () => factories['io.flow.v0.models.allocation_v2
|
|
|
16907
17003
|
export const makeAmountMargin = () => factories['io.flow.v0.models.amount_margin']();
|
|
16908
17004
|
export const makeAmountMarginForm = () => factories['io.flow.v0.models.amount_margin_form']();
|
|
16909
17005
|
export const makeAnalyticsExportType = () => factories['io.flow.v0.models.analytics_export_type']();
|
|
16910
|
-
export const makeAnirbanItemDeleted = () => factories['io.flow.v0.models.anirban_item_deleted']();
|
|
16911
|
-
export const makeAnirbanItemUpserted = () => factories['io.flow.v0.models.anirban_item_upserted']();
|
|
16912
|
-
export const makeAnshItemDeleted = () => factories['io.flow.v0.models.ansh_item_deleted']();
|
|
16913
|
-
export const makeAnshItemUpserted = () => factories['io.flow.v0.models.ansh_item_upserted']();
|
|
16914
17006
|
export const makeApplePayMerchantValidationPayload = () => factories['io.flow.v0.models.apple_pay_merchant_validation_payload']();
|
|
16915
17007
|
export const makeApplepaySdkCreateResultActionDetails = () => factories['io.flow.v0.models.applepay_sdk_create_result_action_details']();
|
|
16916
17008
|
export const makeApplepaySdkValidateResultActionDetails = () => factories['io.flow.v0.models.applepay_sdk_validate_result_action_details']();
|
|
@@ -16983,6 +17075,7 @@ export const makeBankAccountInfoCan = () => factories['io.flow.v0.models.bank_ac
|
|
|
16983
17075
|
export const makeBankAccountInfoFra = () => factories['io.flow.v0.models.bank_account_info_fra']();
|
|
16984
17076
|
export const makeBankAccountInfoGbr = () => factories['io.flow.v0.models.bank_account_info_gbr']();
|
|
16985
17077
|
export const makeBankAccountInfoIta = () => factories['io.flow.v0.models.bank_account_info_ita']();
|
|
17078
|
+
export const makeBankAccountInfoKor = () => factories['io.flow.v0.models.bank_account_info_kor']();
|
|
16986
17079
|
export const makeBankAccountInfoUsa = () => factories['io.flow.v0.models.bank_account_info_usa']();
|
|
16987
17080
|
export const makeBankAccountReference = () => factories['io.flow.v0.models.bank_account_reference']();
|
|
16988
17081
|
export const makeBankAccountSummary = () => factories['io.flow.v0.models.bank_account_summary']();
|
|
@@ -17129,6 +17222,11 @@ export const makeCheckoutUrls = () => factories['io.flow.v0.models.checkout_urls
|
|
|
17129
17222
|
export const makeCheckoutUrlsForm = () => factories['io.flow.v0.models.checkout_urls_form']();
|
|
17130
17223
|
export const makeCleartext = () => factories['io.flow.v0.models.cleartext']();
|
|
17131
17224
|
export const makeCommercialInvoiceFee = () => factories['io.flow.v0.models.commercial_invoice_fee']();
|
|
17225
|
+
export const makeCommercialInvoiceMode = () => factories['io.flow.v0.enums.commercial_invoice_mode']();
|
|
17226
|
+
export const makeCommonMerchantApplication = () => factories['io.flow.v0.models.common_merchant_application']();
|
|
17227
|
+
export const makeCommonMerchantApplicationForm = () => factories['io.flow.v0.models.common_merchant_application_form']();
|
|
17228
|
+
export const makeCommonMerchantApplicationPutForm = () => factories['io.flow.v0.models.common_merchant_application_put_form']();
|
|
17229
|
+
export const makeCommonMerchantApplicationsSummary = () => factories['io.flow.v0.models.common_merchant_applications_summary']();
|
|
17132
17230
|
export const makeCompany = () => factories['io.flow.v0.models.company']();
|
|
17133
17231
|
export const makeConfirmationDetails = () => factories['io.flow.v0.unions.confirmation_details']();
|
|
17134
17232
|
export const makeConsumerInvoice = () => factories['io.flow.v0.models.consumer_invoice']();
|
|
@@ -17387,6 +17485,7 @@ export const makeExportType = () => factories['io.flow.v0.unions.export_type']()
|
|
|
17387
17485
|
export const makeExportVersion = () => factories['io.flow.v0.models.export_version']();
|
|
17388
17486
|
export const makeExporterOfRecord = () => factories['io.flow.v0.enums.exporter_of_record']();
|
|
17389
17487
|
export const makeExternalCard = () => factories['io.flow.v0.models.external_card']();
|
|
17488
|
+
export const makeExternalOrderSummary = () => factories['io.flow.v0.models.external_order_summary']();
|
|
17390
17489
|
export const makeFeeDeduction = () => factories['io.flow.v0.models.fee_deduction']();
|
|
17391
17490
|
export const makeFeeDeductionType = () => factories['io.flow.v0.enums.fee_deduction_type']();
|
|
17392
17491
|
export const makeFeeWeight = () => factories['io.flow.v0.models.fee_weight']();
|
|
@@ -17493,8 +17592,6 @@ export const makeHop = () => factories['io.flow.v0.models.hop']();
|
|
|
17493
17592
|
export const makeHopEstimate = () => factories['io.flow.v0.models.hop_estimate']();
|
|
17494
17593
|
export const makeHopEstimateV2 = () => factories['io.flow.v0.models.hop_estimate_v2']();
|
|
17495
17594
|
export const makeHopV2 = () => factories['io.flow.v0.models.hop_v2']();
|
|
17496
|
-
export const makeHoseinItemDeleted = () => factories['io.flow.v0.models.hosein_item_deleted']();
|
|
17497
|
-
export const makeHoseinItemUpserted = () => factories['io.flow.v0.models.hosein_item_upserted']();
|
|
17498
17595
|
export const makeHs10 = () => factories['io.flow.v0.models.hs10']();
|
|
17499
17596
|
export const makeHs10CodeDeleted = () => factories['io.flow.v0.models.hs10_code_deleted']();
|
|
17500
17597
|
export const makeHs10CodeUpserted = () => factories['io.flow.v0.models.hs10_code_upserted']();
|
|
@@ -17684,6 +17781,7 @@ export const makeMerchantOfRecordEntity = () => factories['io.flow.v0.models.mer
|
|
|
17684
17781
|
export const makeMerchantOfRecordEntityRegistration = () => factories['io.flow.v0.models.merchant_of_record_entity_registration']();
|
|
17685
17782
|
export const makeMerchantOfRecordPaymentForm = () => factories['io.flow.v0.models.merchant_of_record_payment_form']();
|
|
17686
17783
|
export const makeMerchantOnboardingAddress = () => factories['io.flow.v0.models.merchant_onboarding_address']();
|
|
17784
|
+
export const makeMerchantOnboardingBeneficiaryDetails = () => factories['io.flow.v0.models.merchant_onboarding_beneficiary_details']();
|
|
17687
17785
|
export const makeMerchantRejected = () => factories['io.flow.v0.models.merchant_rejected']();
|
|
17688
17786
|
export const makeMerchantRejectedReason = () => factories['io.flow.v0.enums.merchant_rejected_reason']();
|
|
17689
17787
|
export const makeMethod = () => factories['io.flow.v0.enums.method']();
|
|
@@ -17695,8 +17793,6 @@ export const makeMonthlyAverageVolume = () => factories['io.flow.v0.models.month
|
|
|
17695
17793
|
export const makeName = () => factories['io.flow.v0.models.name']();
|
|
17696
17794
|
export const makeNameForm = () => factories['io.flow.v0.models.name_form']();
|
|
17697
17795
|
export const makeNeedsActionAttributes = () => factories['io.flow.v0.models.needs_action_attributes']();
|
|
17698
|
-
export const makeNiallItemDeleted = () => factories['io.flow.v0.models.niall_item_deleted']();
|
|
17699
|
-
export const makeNiallItemUpserted = () => factories['io.flow.v0.models.niall_item_upserted']();
|
|
17700
17796
|
export const makeNotificationDeletedV2 = () => factories['io.flow.v0.models.notification_deleted_v2']();
|
|
17701
17797
|
export const makeNotificationUpsertedV2 = () => factories['io.flow.v0.models.notification_upserted_v2']();
|
|
17702
17798
|
export const makeNumberRange = () => factories['io.flow.v0.models.number_range']();
|
|
@@ -17836,6 +17932,8 @@ export const makeOrganizationSession = () => factories['io.flow.v0.models.organi
|
|
|
17836
17932
|
export const makeOrganizationSessionAuthorization = () => factories['io.flow.v0.models.organization_session_authorization']();
|
|
17837
17933
|
export const makeOrganizationStatus = () => factories['io.flow.v0.enums.organization_status']();
|
|
17838
17934
|
export const makeOrganizationSummary = () => factories['io.flow.v0.models.organization_summary']();
|
|
17935
|
+
export const makeOrganizationTaxRegistration = () => factories['io.flow.v0.models.organization_tax_registration']();
|
|
17936
|
+
export const makeOrganizationTaxRegistrationForm = () => factories['io.flow.v0.models.organization_tax_registration_form']();
|
|
17839
17937
|
export const makeOrganizationToken = () => factories['io.flow.v0.models.organization_token']();
|
|
17840
17938
|
export const makeOrganizationTokenForm = () => factories['io.flow.v0.models.organization_token_form']();
|
|
17841
17939
|
export const makeOrganizationTokenFormV2 = () => factories['io.flow.v0.models.organization_token_form_v2']();
|
|
@@ -18074,6 +18172,7 @@ export const makePriceWithBaseAndDetails = () => factories['io.flow.v0.models.pr
|
|
|
18074
18172
|
export const makePricing = () => factories['io.flow.v0.models.pricing']();
|
|
18075
18173
|
export const makePricingLevySetting = () => factories['io.flow.v0.enums.pricing_levy_setting']();
|
|
18076
18174
|
export const makePricingSettings = () => factories['io.flow.v0.models.pricing_settings']();
|
|
18175
|
+
export const makePricingType = () => factories['io.flow.v0.enums.pricing_type']();
|
|
18077
18176
|
export const makePricingVersion = () => factories['io.flow.v0.models.pricing_version']();
|
|
18078
18177
|
export const makeProcessingEstimate = () => factories['io.flow.v0.models.processing_estimate']();
|
|
18079
18178
|
export const makeProduct = () => factories['io.flow.v0.models.product']();
|
|
@@ -18084,6 +18183,9 @@ export const makeProductRestrictionResultDeleted = () => factories['io.flow.v0.m
|
|
|
18084
18183
|
export const makeProductRestrictionResultUpserted = () => factories['io.flow.v0.models.product_restriction_result_upserted']();
|
|
18085
18184
|
export const makeProductSellability = () => factories['io.flow.v0.models.product_sellability']();
|
|
18086
18185
|
export const makeProductSellabilityForm = () => factories['io.flow.v0.models.product_sellability_form']();
|
|
18186
|
+
export const makeProductSellabilityResult = () => factories['io.flow.v0.models.product_sellability_result']();
|
|
18187
|
+
export const makeProductSellabilityResultDeleted = () => factories['io.flow.v0.models.product_sellability_result_deleted']();
|
|
18188
|
+
export const makeProductSellabilityResultUpserted = () => factories['io.flow.v0.models.product_sellability_result_upserted']();
|
|
18087
18189
|
export const makeProductTaxonomyCategory = () => factories['io.flow.v0.models.product_taxonomy_category']();
|
|
18088
18190
|
export const makeProductTaxonomyData = () => factories['io.flow.v0.models.product_taxonomy_data']();
|
|
18089
18191
|
export const makeProductTaxonomyValue = () => factories['io.flow.v0.models.product_taxonomy_value']();
|
|
@@ -18191,6 +18293,7 @@ export const makeRepeatMonthly = () => factories['io.flow.v0.models.repeat_month
|
|
|
18191
18293
|
export const makeRepeatSchedule = () => factories['io.flow.v0.unions.repeat_schedule']();
|
|
18192
18294
|
export const makeRepeatWeekly = () => factories['io.flow.v0.models.repeat_weekly']();
|
|
18193
18295
|
export const makeRestrictedReviewStatus = () => factories['io.flow.v0.enums.restricted_review_status']();
|
|
18296
|
+
export const makeRestrictionEnvironment = () => factories['io.flow.v0.enums.restriction_environment']();
|
|
18194
18297
|
export const makeReturn = () => factories['io.flow.v0.models.return']();
|
|
18195
18298
|
export const makeReturnForm = () => factories['io.flow.v0.models.return_form']();
|
|
18196
18299
|
export const makeReturnItemReference = () => factories['io.flow.v0.models.return_item_reference']();
|
|
@@ -18223,8 +18326,6 @@ export const makeReversalStatus = () => factories['io.flow.v0.enums.reversal_sta
|
|
|
18223
18326
|
export const makeReversalUpserted = () => factories['io.flow.v0.models.reversal_upserted']();
|
|
18224
18327
|
export const makeReversalVersion = () => factories['io.flow.v0.models.reversal_version']();
|
|
18225
18328
|
export const makeReviewStatus = () => factories['io.flow.v0.enums.review_status']();
|
|
18226
|
-
export const makeRohanItemDeleted = () => factories['io.flow.v0.models.rohan_item_deleted']();
|
|
18227
|
-
export const makeRohanItemUpserted = () => factories['io.flow.v0.models.rohan_item_upserted']();
|
|
18228
18329
|
export const makeRole = () => factories['io.flow.v0.enums.role']();
|
|
18229
18330
|
export const makeRomanization = () => factories['io.flow.v0.models.romanization']();
|
|
18230
18331
|
export const makeRomanizationForm = () => factories['io.flow.v0.models.romanization_form']();
|
|
@@ -18233,8 +18334,6 @@ export const makeRoundingMethod = () => factories['io.flow.v0.enums.rounding_met
|
|
|
18233
18334
|
export const makeRoundingType = () => factories['io.flow.v0.enums.rounding_type']();
|
|
18234
18335
|
export const makeRouteAudit = () => factories['io.flow.v0.models.route_audit']();
|
|
18235
18336
|
export const makeRuleEffectType = () => factories['io.flow.v0.enums.rule_effect_type']();
|
|
18236
|
-
export const makeSarveshItemDeleted = () => factories['io.flow.v0.models.sarvesh_item_deleted']();
|
|
18237
|
-
export const makeSarveshItemUpserted = () => factories['io.flow.v0.models.sarvesh_item_upserted']();
|
|
18238
18337
|
export const makeSchedule = () => factories['io.flow.v0.models.schedule']();
|
|
18239
18338
|
export const makeScheduleExceptionStatus = () => factories['io.flow.v0.enums.schedule_exception_status']();
|
|
18240
18339
|
export const makeScheduledExport = () => factories['io.flow.v0.models.scheduled_export']();
|
|
@@ -18244,10 +18343,23 @@ export const makeSdkAdyenV3AuthenticationToken = () => factories['io.flow.v0.uni
|
|
|
18244
18343
|
export const makeSecurityRatecardFee = () => factories['io.flow.v0.models.security_ratecard_fee']();
|
|
18245
18344
|
export const makeSecurityServiceFee = () => factories['io.flow.v0.models.security_service_fee']();
|
|
18246
18345
|
export const makeSelectIssuerOptionActionDetails = () => factories['io.flow.v0.models.select_issuer_option_action_details']();
|
|
18346
|
+
export const makeSelfBillingAgreement = () => factories['io.flow.v0.models.self_billing_agreement']();
|
|
18247
18347
|
export const makeSellabilityError = () => factories['io.flow.v0.models.sellability_error']();
|
|
18248
18348
|
export const makeSellabilityErrorCode = () => factories['io.flow.v0.enums.sellability_error_code']();
|
|
18349
|
+
export const makeSellabilityNeedsActionAttributes = () => factories['io.flow.v0.models.sellability_needs_action_attributes']();
|
|
18350
|
+
export const makeSellabilityReasonWithRegions = () => factories['io.flow.v0.models.sellability_reason_with_regions']();
|
|
18351
|
+
export const makeSellabilityRegionResult = () => factories['io.flow.v0.models.sellability_region_result']();
|
|
18352
|
+
export const makeSellabilityRegionWithReasons = () => factories['io.flow.v0.models.sellability_region_with_reasons']();
|
|
18353
|
+
export const makeSellabilityRequest = () => factories['io.flow.v0.unions.sellability_request']();
|
|
18249
18354
|
export const makeSellabilityRequestStatus = () => factories['io.flow.v0.enums.sellability_request_status']();
|
|
18250
18355
|
export const makeSellabilityResponse = () => factories['io.flow.v0.unions.sellability_response']();
|
|
18356
|
+
export const makeSellabilityRestrictedReason = () => factories['io.flow.v0.models.sellability_restricted_reason']();
|
|
18357
|
+
export const makeSellabilityRestrictedRegion = () => factories['io.flow.v0.models.sellability_restricted_region']();
|
|
18358
|
+
export const makeSellabilityResultErrorCode = () => factories['io.flow.v0.enums.sellability_result_error_code']();
|
|
18359
|
+
export const makeSellabilityResultStatus = () => factories['io.flow.v0.enums.sellability_result_status']();
|
|
18360
|
+
export const makeSellabilityScreening = () => factories['io.flow.v0.models.sellability_screening']();
|
|
18361
|
+
export const makeSellabilityScreeningForm = () => factories['io.flow.v0.models.sellability_screening_form']();
|
|
18362
|
+
export const makeSellabilityScreeningMode = () => factories['io.flow.v0.enums.sellability_screening_mode']();
|
|
18251
18363
|
export const makeSellablilityRegionResult = () => factories['io.flow.v0.models.sellablility_region_result']();
|
|
18252
18364
|
export const makeServiceDescription = () => factories['io.flow.v0.unions.service_description']();
|
|
18253
18365
|
export const makeServiceFee = () => factories['io.flow.v0.unions.service_fee']();
|
|
@@ -18316,6 +18428,10 @@ export const makeShippingLaneVersion = () => factories['io.flow.v0.models.shippi
|
|
|
18316
18428
|
export const makeShippingNotification = () => factories['io.flow.v0.models.shipping_notification']();
|
|
18317
18429
|
export const makeShippingNotificationForm = () => factories['io.flow.v0.unions.shipping_notification_form']();
|
|
18318
18430
|
export const makeShippingNotificationVersion = () => factories['io.flow.v0.models.shipping_notification_version']();
|
|
18431
|
+
export const makeShippingRateEstimate = () => factories['io.flow.v0.models.shipping_rate_estimate']();
|
|
18432
|
+
export const makeShippingRateEstimateAvailable = () => factories['io.flow.v0.models.shipping_rate_estimate_available']();
|
|
18433
|
+
export const makeShippingRateEstimateRequest = () => factories['io.flow.v0.models.shipping_rate_estimate_request']();
|
|
18434
|
+
export const makeShippingRateEstimateUnavailable = () => factories['io.flow.v0.models.shipping_rate_estimate_unavailable']();
|
|
18319
18435
|
export const makeShop = () => factories['io.flow.v0.models.shop']();
|
|
18320
18436
|
export const makeShopifyCart = () => factories['io.flow.v0.models.shopify_cart']();
|
|
18321
18437
|
export const makeShopifyCartAddForm = () => factories['io.flow.v0.unions.shopify_cart_add_form']();
|
|
@@ -18370,6 +18486,8 @@ export const makeSortDirection = () => factories['io.flow.v0.enums.sort_directio
|
|
|
18370
18486
|
export const makeStatement = () => factories['io.flow.v0.models.statement']();
|
|
18371
18487
|
export const makeStatementAttachmentType = () => factories['io.flow.v0.enums.statement_attachment_type']();
|
|
18372
18488
|
export const makeStatementDeleted = () => factories['io.flow.v0.models.statement_deleted']();
|
|
18489
|
+
export const makeStatementStatusCode = () => factories['io.flow.v0.enums.statement_status_code']();
|
|
18490
|
+
export const makeStatementStatusForm = () => factories['io.flow.v0.models.statement_status_form']();
|
|
18373
18491
|
export const makeStatementUpserted = () => factories['io.flow.v0.models.statement_upserted']();
|
|
18374
18492
|
export const makeStoredMethodUsageStep = () => factories['io.flow.v0.enums.stored_method_usage_step']();
|
|
18375
18493
|
export const makeStrategy = () => factories['io.flow.v0.enums.strategy']();
|
|
@@ -18417,7 +18535,10 @@ export const makeTaxDutyQuoteValues = () => factories['io.flow.v0.models.tax_dut
|
|
|
18417
18535
|
export const makeTaxDutyTransactionReasonCode = () => factories['io.flow.v0.enums.tax_duty_transaction_reason_code']();
|
|
18418
18536
|
export const makeTaxJurisdictionType = () => factories['io.flow.v0.enums.tax_jurisdiction_type']();
|
|
18419
18537
|
export const makeTaxRegistration = () => factories['io.flow.v0.models.tax_registration']();
|
|
18538
|
+
export const makeTaxRegistrationDeleted = () => factories['io.flow.v0.models.tax_registration_deleted']();
|
|
18539
|
+
export const makeTaxRegistrationDetail = () => factories['io.flow.v0.models.tax_registration_detail']();
|
|
18420
18540
|
export const makeTaxRegistrationForm = () => factories['io.flow.v0.models.tax_registration_form']();
|
|
18541
|
+
export const makeTaxRegistrationUpserted = () => factories['io.flow.v0.models.tax_registration_upserted']();
|
|
18421
18542
|
export const makeTaxReport = () => factories['io.flow.v0.models.tax_report']();
|
|
18422
18543
|
export const makeTaxReportType = () => factories['io.flow.v0.enums.tax_report_type']();
|
|
18423
18544
|
export const makeTaxSetting = () => factories['io.flow.v0.unions.tax_setting']();
|
|
@@ -18472,6 +18593,8 @@ export const makeTrackingEventVersion = () => factories['io.flow.v0.models.track
|
|
|
18472
18593
|
export const makeTrackingForm = () => factories['io.flow.v0.models.tracking_form']();
|
|
18473
18594
|
export const makeTrackingLabel = () => factories['io.flow.v0.models.tracking_label']();
|
|
18474
18595
|
export const makeTrackingLabelEventUpserted = () => factories['io.flow.v0.models.tracking_label_event_upserted']();
|
|
18596
|
+
export const makeTrackingLabelEventUpsertedV2 = () => factories['io.flow.v0.models.tracking_label_event_upserted_v2']();
|
|
18597
|
+
export const makeTrackingLabelEventV2 = () => factories['io.flow.v0.models.tracking_label_event_v2']();
|
|
18475
18598
|
export const makeTrackingLabelForm = () => factories['io.flow.v0.models.tracking_label_form']();
|
|
18476
18599
|
export const makeTrackingLabelSummary = () => factories['io.flow.v0.models.tracking_label_summary']();
|
|
18477
18600
|
export const makeTrackingLabelVersion = () => factories['io.flow.v0.models.tracking_label_version']();
|