@flowio/api-factories 0.0.123 → 0.0.125
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 +154 -80
- package/dist/esm/api.js +110 -42
- package/dist/types/api.d.ts +10 -4
- package/package.json +1 -1
- package/src/api.ts +120 -46
package/src/api.ts
CHANGED
|
@@ -180,6 +180,7 @@ const factories = {
|
|
|
180
180
|
'unsupported_order_edit',
|
|
181
181
|
'order_allocation_duties_mismatch',
|
|
182
182
|
'order_missing',
|
|
183
|
+
'order_cancelled',
|
|
183
184
|
'organization_deactivated',
|
|
184
185
|
]),
|
|
185
186
|
|
|
@@ -761,6 +762,7 @@ const factories = {
|
|
|
761
762
|
created_at: factories.date_time_iso_8601(),
|
|
762
763
|
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
763
764
|
type: factories['io.flow.common.v0.enums.organization_type'](),
|
|
765
|
+
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
764
766
|
}),
|
|
765
767
|
|
|
766
768
|
'io.flow.common.v0.models.organization_defaults': (): io.flow.common.v0.models.OrganizationDefaults => ({
|
|
@@ -774,6 +776,7 @@ const factories = {
|
|
|
774
776
|
'io.flow.common.v0.models.organization_reference': (): io.flow.common.v0.models.OrganizationReference => ({
|
|
775
777
|
discriminator: 'organization_reference',
|
|
776
778
|
id: factories.string(),
|
|
779
|
+
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
777
780
|
}),
|
|
778
781
|
|
|
779
782
|
'io.flow.common.v0.models.organization_summary': (): io.flow.common.v0.models.OrganizationSummary => ({
|
|
@@ -4252,6 +4255,7 @@ const factories = {
|
|
|
4252
4255
|
'io.flow.tech.onboarding.playground.v0.enums.bojana_item_type': (): io.flow.tech.onboarding.playground.v0.enums.BojanaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4253
4256
|
'io.flow.tech.onboarding.playground.v0.enums.chenglin_item_type': (): io.flow.tech.onboarding.playground.v0.enums.ChenglinItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4254
4257
|
'io.flow.tech.onboarding.playground.v0.enums.gabriel_item_type': (): io.flow.tech.onboarding.playground.v0.enums.GabrielItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4258
|
+
'io.flow.tech.onboarding.playground.v0.enums.mahesh_item_type': (): io.flow.tech.onboarding.playground.v0.enums.MaheshItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4255
4259
|
'io.flow.tech.onboarding.playground.v0.enums.raveena_item_type': (): io.flow.tech.onboarding.playground.v0.enums.RaveenaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
4256
4260
|
|
|
4257
4261
|
'io.flow.tech.onboarding.playground.v0.models.amrutha_item': (): io.flow.tech.onboarding.playground.v0.models.AmruthaItem => ({
|
|
@@ -4322,6 +4326,23 @@ const factories = {
|
|
|
4322
4326
|
added_on: factories.date_iso_8601(),
|
|
4323
4327
|
}),
|
|
4324
4328
|
|
|
4329
|
+
'io.flow.tech.onboarding.playground.v0.models.mahesh_item': (): io.flow.tech.onboarding.playground.v0.models.MaheshItem => ({
|
|
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.mahesh_item_type'](),
|
|
4335
|
+
added_on: factories.date_time_iso_8601(),
|
|
4336
|
+
}),
|
|
4337
|
+
|
|
4338
|
+
'io.flow.tech.onboarding.playground.v0.models.mahesh_item_form': (): io.flow.tech.onboarding.playground.v0.models.MaheshItemForm => ({
|
|
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.mahesh_item_type'](),
|
|
4343
|
+
added_on: factories.date_time_iso_8601(),
|
|
4344
|
+
}),
|
|
4345
|
+
|
|
4325
4346
|
'io.flow.tech.onboarding.playground.v0.models.raveena_item': (): io.flow.tech.onboarding.playground.v0.models.RaveenaItem => ({
|
|
4326
4347
|
id: factories.string(),
|
|
4327
4348
|
number: factories.string(),
|
|
@@ -4480,6 +4501,21 @@ const factories = {
|
|
|
4480
4501
|
'io.flow.v0.enums.cost_estimate_source': (): io.flow.v0.enums.CostEstimateSource => faker.helpers.arrayElement(['flow', 'channel']),
|
|
4481
4502
|
'io.flow.v0.enums.country_picker_source': (): io.flow.v0.enums.CountryPickerSource => faker.helpers.arrayElement(['experience', 'destination']),
|
|
4482
4503
|
|
|
4504
|
+
'io.flow.v0.enums.cpsc_attribute': (): io.flow.v0.enums.CpscAttribute => faker.helpers.arrayElement([
|
|
4505
|
+
'certification_id',
|
|
4506
|
+
'citation_codes',
|
|
4507
|
+
'manufactured_date',
|
|
4508
|
+
'manufactured_location',
|
|
4509
|
+
'product_test_date',
|
|
4510
|
+
'test_lab_name',
|
|
4511
|
+
'point_of_contact',
|
|
4512
|
+
'certification_version',
|
|
4513
|
+
'certification_product_id',
|
|
4514
|
+
'certificate_type',
|
|
4515
|
+
'lab_type',
|
|
4516
|
+
'taxonomy_reference',
|
|
4517
|
+
]),
|
|
4518
|
+
|
|
4483
4519
|
'io.flow.v0.enums.credit_payment_error_code': (): io.flow.v0.enums.CreditPaymentErrorCode => faker.helpers.arrayElement([
|
|
4484
4520
|
'generic_error',
|
|
4485
4521
|
'invalid_order_number',
|
|
@@ -5214,6 +5250,8 @@ const factories = {
|
|
|
5214
5250
|
'io.flow.v0.enums.refund_status': (): io.flow.v0.enums.RefundStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']),
|
|
5215
5251
|
'io.flow.v0.enums.region_type': (): io.flow.v0.enums.RegionType => faker.helpers.arrayElement(['state', 'province', 'jurisdiction']),
|
|
5216
5252
|
'io.flow.v0.enums.restricted_review_status': (): io.flow.v0.enums.RestrictedReviewStatus => faker.helpers.arrayElement(['in_review', 'reviewed']),
|
|
5253
|
+
'io.flow.v0.enums.restriction_decision': (): io.flow.v0.enums.RestrictionDecision => faker.helpers.arrayElement(['accept', 'reject', 'escalate', 'review']),
|
|
5254
|
+
'io.flow.v0.enums.restriction_decision_reason': (): io.flow.v0.enums.RestrictionDecisionReason => faker.helpers.arrayElement(['manual_dispute']),
|
|
5217
5255
|
'io.flow.v0.enums.restriction_environment': (): io.flow.v0.enums.RestrictionEnvironment => faker.helpers.arrayElement(['sandbox', 'production', 'qa']),
|
|
5218
5256
|
'io.flow.v0.enums.return_item_status': (): io.flow.v0.enums.ReturnItemStatus => faker.helpers.arrayElement(['returnable', 'non-returnable']),
|
|
5219
5257
|
'io.flow.v0.enums.return_policy_state': (): io.flow.v0.enums.ReturnPolicyState => faker.helpers.arrayElement(['current', 'deleting', 'updating']),
|
|
@@ -5306,7 +5344,7 @@ const factories = {
|
|
|
5306
5344
|
'io.flow.v0.enums.shopify_sync_check': (): io.flow.v0.enums.ShopifySyncCheck => faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']),
|
|
5307
5345
|
'io.flow.v0.enums.sort_direction': (): io.flow.v0.enums.SortDirection => faker.helpers.arrayElement(['ascending', 'descending']),
|
|
5308
5346
|
'io.flow.v0.enums.statement_attachment_type': (): io.flow.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv', 'pdf']),
|
|
5309
|
-
'io.flow.v0.enums.statement_status_code': (): io.flow.v0.enums.StatementStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'failed']),
|
|
5347
|
+
'io.flow.v0.enums.statement_status_code': (): io.flow.v0.enums.StatementStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'failed', 'paid']),
|
|
5310
5348
|
'io.flow.v0.enums.stored_method_usage_step': (): io.flow.v0.enums.StoredMethodUsageStep => faker.helpers.arrayElement(['initial', 'subsequent']),
|
|
5311
5349
|
'io.flow.v0.enums.strategy': (): io.flow.v0.enums.Strategy => faker.helpers.arrayElement(['range', 'from', 'to']),
|
|
5312
5350
|
'io.flow.v0.enums.subcatalog_item_status': (): io.flow.v0.enums.SubcatalogItemStatus => faker.helpers.arrayElement(['excluded', 'included', 'restricted']),
|
|
@@ -5476,6 +5514,7 @@ const factories = {
|
|
|
5476
5514
|
'b2b_fee_mor_tax',
|
|
5477
5515
|
'b2b_fee_shipping_tax',
|
|
5478
5516
|
'flat_rate_label',
|
|
5517
|
+
'flat_rate_label_subsidy',
|
|
5479
5518
|
]),
|
|
5480
5519
|
|
|
5481
5520
|
'io.flow.v0.enums.transfer_status': (): io.flow.v0.enums.TransferStatus => faker.helpers.arrayElement(['succeeded', 'canceled']),
|
|
@@ -6331,6 +6370,42 @@ const factories = {
|
|
|
6331
6370
|
b2b_credit_memo: factories['io.flow.v0.models.b2b_credit_memo'](),
|
|
6332
6371
|
}),
|
|
6333
6372
|
|
|
6373
|
+
'io.flow.v0.models.b2b_credit_note': (): io.flow.v0.models.B2BCreditNote => ({
|
|
6374
|
+
id: factories.string(),
|
|
6375
|
+
number: factories.string(),
|
|
6376
|
+
status: factories['io.flow.v0.enums.consumer_invoice_status'](),
|
|
6377
|
+
date: factories.date_time_iso_8601(),
|
|
6378
|
+
key: factories.string(),
|
|
6379
|
+
debit_note: factories['io.flow.v0.models.b2b_debit_note_reference'](),
|
|
6380
|
+
order: factories['io.flow.v0.models.consumer_invoice_order_summary'](),
|
|
6381
|
+
center: factories['io.flow.v0.models.consumer_invoice_center_reference'](),
|
|
6382
|
+
lines: arrayOf(() => factories['io.flow.v0.unions.consumer_invoice_line']()),
|
|
6383
|
+
documents: arrayOf(() => factories['io.flow.v0.models.consumer_invoice_document']()),
|
|
6384
|
+
attributes: objectOf(() => factories.string()),
|
|
6385
|
+
voids_b2b_debit_note: factories.boolean(),
|
|
6386
|
+
}),
|
|
6387
|
+
|
|
6388
|
+
'io.flow.v0.models.b2b_debit_note': (): io.flow.v0.models.B2BDebitNote => ({
|
|
6389
|
+
id: factories.string(),
|
|
6390
|
+
number: factories.string(),
|
|
6391
|
+
buyer: factories['io.flow.v0.models.merchant_of_record_entity'](),
|
|
6392
|
+
seller: factories['io.flow.v0.models.merchant_of_record_entity'](),
|
|
6393
|
+
status: factories['io.flow.v0.enums.consumer_invoice_status'](),
|
|
6394
|
+
date: factories.date_time_iso_8601(),
|
|
6395
|
+
key: factories.string(),
|
|
6396
|
+
order: factories['io.flow.v0.models.consumer_invoice_order_summary'](),
|
|
6397
|
+
center: factories['io.flow.v0.models.consumer_invoice_center_reference'](),
|
|
6398
|
+
lines: arrayOf(() => factories['io.flow.v0.unions.consumer_invoice_line']()),
|
|
6399
|
+
documents: arrayOf(() => factories['io.flow.v0.models.consumer_invoice_document']()),
|
|
6400
|
+
attributes: objectOf(() => factories.string()),
|
|
6401
|
+
}),
|
|
6402
|
+
|
|
6403
|
+
'io.flow.v0.models.b2b_debit_note_reference': (): io.flow.v0.models.B2BDebitNoteReference => ({
|
|
6404
|
+
id: factories.string(),
|
|
6405
|
+
key: factories.string(),
|
|
6406
|
+
number: factories.string(),
|
|
6407
|
+
}),
|
|
6408
|
+
|
|
6334
6409
|
'io.flow.v0.models.b2b_invoice': (): io.flow.v0.models.B2BInvoice => ({
|
|
6335
6410
|
id: factories.string(),
|
|
6336
6411
|
number: factories.string(),
|
|
@@ -6412,18 +6487,6 @@ const factories = {
|
|
|
6412
6487
|
'io.flow.v0.models.bank_account_info_kor': (): io.flow.v0.models.BankAccountInfoKor => ({
|
|
6413
6488
|
discriminator: 'kor',
|
|
6414
6489
|
name: factories.string(),
|
|
6415
|
-
address: factories['io.flow.v0.models.address'](),
|
|
6416
|
-
phone: factories.string(),
|
|
6417
|
-
email: factories.string(),
|
|
6418
|
-
bank_account_number: factories.string(),
|
|
6419
|
-
bank_routing_number: factories.string(),
|
|
6420
|
-
bank_name: factories.string(),
|
|
6421
|
-
bank_address: factories['io.flow.v0.models.address'](),
|
|
6422
|
-
}),
|
|
6423
|
-
|
|
6424
|
-
'io.flow.v0.models.bank_account_info_kor_v2': (): io.flow.v0.models.BankAccountInfoKorV2 => ({
|
|
6425
|
-
discriminator: 'kor_v2',
|
|
6426
|
-
name: factories.string(),
|
|
6427
6490
|
bank_account_number: factories.string(),
|
|
6428
6491
|
bank_routing_number: factories.string(),
|
|
6429
6492
|
bank_name: factories.string(),
|
|
@@ -10080,6 +10143,7 @@ const factories = {
|
|
|
10080
10143
|
'io.flow.v0.models.lane_summary': (): io.flow.v0.models.LaneSummary => ({
|
|
10081
10144
|
id: factories.string(),
|
|
10082
10145
|
ratecard: factories['io.flow.v0.models.ratecard_summary'](),
|
|
10146
|
+
dim_factor: factories.decimal(),
|
|
10083
10147
|
}),
|
|
10084
10148
|
|
|
10085
10149
|
'io.flow.v0.models.language': (): io.flow.v0.models.Language => ({
|
|
@@ -11212,6 +11276,11 @@ const factories = {
|
|
|
11212
11276
|
deactivated_at: factories.date_time_iso_8601(),
|
|
11213
11277
|
}),
|
|
11214
11278
|
|
|
11279
|
+
'io.flow.v0.models.order_state_rejection_reason_payment_fraud': (): io.flow.v0.models.OrderStateRejectionReasonPaymentFraud => ({
|
|
11280
|
+
discriminator: 'order_state_rejection_reason_payment_fraud',
|
|
11281
|
+
payment_request_id: factories.string(),
|
|
11282
|
+
}),
|
|
11283
|
+
|
|
11215
11284
|
'io.flow.v0.models.order_state_rejection_reason_restricted_item': (): io.flow.v0.models.OrderStateRejectionReasonRestrictedItem => ({
|
|
11216
11285
|
discriminator: 'order_state_rejection_reason_restricted_item',
|
|
11217
11286
|
item_numbers: arrayOf(() => factories.string()),
|
|
@@ -11324,6 +11393,7 @@ const factories = {
|
|
|
11324
11393
|
created_at: factories.date_time_iso_8601(),
|
|
11325
11394
|
status: factories['io.flow.v0.enums.organization_status'](),
|
|
11326
11395
|
type: factories['io.flow.v0.enums.organization_type'](),
|
|
11396
|
+
channel: factories['io.flow.v0.models.channel_reference'](),
|
|
11327
11397
|
}),
|
|
11328
11398
|
|
|
11329
11399
|
'io.flow.v0.models.organization_authorization': (): io.flow.v0.models.OrganizationAuthorization => ({
|
|
@@ -11484,6 +11554,7 @@ const factories = {
|
|
|
11484
11554
|
'io.flow.v0.models.organization_reference': (): io.flow.v0.models.OrganizationReference => ({
|
|
11485
11555
|
discriminator: 'organization_reference',
|
|
11486
11556
|
id: factories.string(),
|
|
11557
|
+
channel: factories['io.flow.v0.models.channel_reference'](),
|
|
11487
11558
|
}),
|
|
11488
11559
|
|
|
11489
11560
|
'io.flow.v0.models.organization_session': (): io.flow.v0.models.OrganizationSession => ({
|
|
@@ -11527,6 +11598,7 @@ const factories = {
|
|
|
11527
11598
|
province: factories.string(),
|
|
11528
11599
|
self_billing_agreement_effective_at: factories.date_time_iso_8601(),
|
|
11529
11600
|
self_billing_agreement_expires_at: factories.date_time_iso_8601(),
|
|
11601
|
+
legal_name: factories.string(),
|
|
11530
11602
|
}),
|
|
11531
11603
|
|
|
11532
11604
|
'io.flow.v0.models.organization_token': (): io.flow.v0.models.OrganizationToken => ({
|
|
@@ -12467,6 +12539,11 @@ const factories = {
|
|
|
12467
12539
|
reason: factories['io.flow.v0.enums.payout_status_failure_code'](),
|
|
12468
12540
|
}),
|
|
12469
12541
|
|
|
12542
|
+
'io.flow.v0.models.payout_status_paid': (): io.flow.v0.models.PayoutStatusPaid => ({
|
|
12543
|
+
code: 'paid',
|
|
12544
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12545
|
+
}),
|
|
12546
|
+
|
|
12470
12547
|
'io.flow.v0.models.payout_status_scheduled': (): io.flow.v0.models.PayoutStatusScheduled => ({
|
|
12471
12548
|
code: 'scheduled',
|
|
12472
12549
|
placeholder: factories.string(),
|
|
@@ -13152,6 +13229,7 @@ const factories = {
|
|
|
13152
13229
|
glbe_shipping_method_id: factories.string(),
|
|
13153
13230
|
glbe_proposition_name: factories.string(),
|
|
13154
13231
|
channel_revenue_share_percentage: factories.decimal(),
|
|
13232
|
+
channel_id: factories.string(),
|
|
13155
13233
|
}),
|
|
13156
13234
|
|
|
13157
13235
|
'io.flow.v0.models.ratecard_carrier_summary': (): io.flow.v0.models.RatecardCarrierSummary => ({
|
|
@@ -13262,6 +13340,7 @@ const factories = {
|
|
|
13262
13340
|
glbe_shipping_method_id: factories.string(),
|
|
13263
13341
|
glbe_proposition_name: factories.string(),
|
|
13264
13342
|
channel_revenue_share_percentage: factories.decimal(),
|
|
13343
|
+
channel_id: factories.string(),
|
|
13265
13344
|
data: factories['io.flow.v0.models.ratecard_data'](),
|
|
13266
13345
|
}),
|
|
13267
13346
|
|
|
@@ -13305,20 +13384,6 @@ const factories = {
|
|
|
13305
13384
|
distance_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
13306
13385
|
}),
|
|
13307
13386
|
|
|
13308
|
-
'io.flow.v0.models.ratecard_lane_import_form': (): io.flow.v0.models.RatecardLaneImportForm => ({
|
|
13309
|
-
ratecard_owner: factories['io.flow.v0.enums.ratecard_owner'](),
|
|
13310
|
-
service: factories.string(),
|
|
13311
|
-
currency: factories.string(),
|
|
13312
|
-
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
13313
|
-
origin: factories['io.flow.v0.models.zone'](),
|
|
13314
|
-
destination: factories['io.flow.v0.models.zone'](),
|
|
13315
|
-
shipment_window: factories['io.flow.v0.models.shipment_window'](),
|
|
13316
|
-
dim_factor: factories.decimal(),
|
|
13317
|
-
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
13318
|
-
distance_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
13319
|
-
rates: arrayOf(() => factories['io.flow.v0.models.ratecard_rate_form']()),
|
|
13320
|
-
}),
|
|
13321
|
-
|
|
13322
13387
|
'io.flow.v0.models.ratecard_lane_upserted': (): io.flow.v0.models.RatecardLaneUpserted => ({
|
|
13323
13388
|
discriminator: 'ratecard_lane_upserted',
|
|
13324
13389
|
event_id: factories.string(),
|
|
@@ -13334,14 +13399,7 @@ const factories = {
|
|
|
13334
13399
|
ratecard_lane: factories['io.flow.v0.models.ratecard_lane'](),
|
|
13335
13400
|
}),
|
|
13336
13401
|
|
|
13337
|
-
'io.flow.v0.models.ratecard_lanes_import_request_data': (): io.flow.v0.models.RatecardLanesImportRequestData => ({
|
|
13338
|
-
id: factories.string(),
|
|
13339
|
-
source_url: factories.string(),
|
|
13340
|
-
filename: factories.string(),
|
|
13341
|
-
}),
|
|
13342
|
-
|
|
13343
13402
|
'io.flow.v0.models.ratecard_rate': (): io.flow.v0.models.RatecardRate => ({
|
|
13344
|
-
id: factories.string(),
|
|
13345
13403
|
amount: factories.double(),
|
|
13346
13404
|
weight: factories.double(),
|
|
13347
13405
|
}),
|
|
@@ -13351,13 +13409,6 @@ const factories = {
|
|
|
13351
13409
|
weight: factories.double(),
|
|
13352
13410
|
}),
|
|
13353
13411
|
|
|
13354
|
-
'io.flow.v0.models.ratecard_rate_version': (): io.flow.v0.models.RatecardRateVersion => ({
|
|
13355
|
-
id: factories.string(),
|
|
13356
|
-
timestamp: factories.date_time_iso_8601(),
|
|
13357
|
-
type: factories['io.flow.v0.enums.change_type'](),
|
|
13358
|
-
ratecard_rate: factories['io.flow.v0.models.ratecard_rate'](),
|
|
13359
|
-
}),
|
|
13360
|
-
|
|
13361
13412
|
'io.flow.v0.models.ratecard_reference': (): io.flow.v0.models.RatecardReference => ({
|
|
13362
13413
|
id: factories.string(),
|
|
13363
13414
|
}),
|
|
@@ -13637,6 +13688,18 @@ const factories = {
|
|
|
13637
13688
|
days_of_week: arrayOf(() => factories['io.flow.v0.enums.day_of_week']()),
|
|
13638
13689
|
}),
|
|
13639
13690
|
|
|
13691
|
+
'io.flow.v0.models.restriction_decisions_form': (): io.flow.v0.models.RestrictionDecisionsForm => ({
|
|
13692
|
+
organization_id: factories.string(),
|
|
13693
|
+
rule_decisions: arrayOf(() => factories['io.flow.v0.models.restriction_rule_decision_form']()),
|
|
13694
|
+
}),
|
|
13695
|
+
|
|
13696
|
+
'io.flow.v0.models.restriction_rule_decision_form': (): io.flow.v0.models.RestrictionRuleDecisionForm => ({
|
|
13697
|
+
product_id: factories.string(),
|
|
13698
|
+
reason_code: factories.string(),
|
|
13699
|
+
decision: factories['io.flow.v0.enums.restriction_decision'](),
|
|
13700
|
+
decision_reason: factories['io.flow.v0.enums.restriction_decision_reason'](),
|
|
13701
|
+
}),
|
|
13702
|
+
|
|
13640
13703
|
'io.flow.v0.models.return': (): io.flow.v0.models.Return => ({
|
|
13641
13704
|
id: factories.string(),
|
|
13642
13705
|
key: factories.string(),
|
|
@@ -13945,6 +14008,7 @@ const factories = {
|
|
|
13945
14008
|
price: factories['io.flow.v0.models.money'](),
|
|
13946
14009
|
description: factories.string(),
|
|
13947
14010
|
taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
14011
|
+
inferred_taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
13948
14012
|
mode: factories['io.flow.v0.enums.sellability_screening_mode'](),
|
|
13949
14013
|
catalog_size: factories.integer(),
|
|
13950
14014
|
relative_ranking: factories.decimal(),
|
|
@@ -14247,6 +14311,7 @@ const factories = {
|
|
|
14247
14311
|
id: factories.string(),
|
|
14248
14312
|
ratecard: factories['io.flow.v0.models.shipping_label_ratecard_summary'](),
|
|
14249
14313
|
weight_break: factories.decimal(),
|
|
14314
|
+
dim_factor: factories.decimal(),
|
|
14250
14315
|
}),
|
|
14251
14316
|
|
|
14252
14317
|
'io.flow.v0.models.shipping_label_package': (): io.flow.v0.models.ShippingLabelPackage => ({
|
|
@@ -15112,6 +15177,7 @@ const factories = {
|
|
|
15112
15177
|
country: factories.string(),
|
|
15113
15178
|
tax_code: factories.string(),
|
|
15114
15179
|
province: factories.string(),
|
|
15180
|
+
legal_name: factories.string(),
|
|
15115
15181
|
}),
|
|
15116
15182
|
|
|
15117
15183
|
'io.flow.v0.models.tax_registration_form': (): io.flow.v0.models.TaxRegistrationForm => ({
|
|
@@ -15615,6 +15681,7 @@ const factories = {
|
|
|
15615
15681
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
15616
15682
|
carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
|
|
15617
15683
|
revenue_share_percentage: factories.decimal(),
|
|
15684
|
+
actual: factories['io.flow.v0.models.transaction_metadata_trueup_data'](),
|
|
15618
15685
|
}),
|
|
15619
15686
|
|
|
15620
15687
|
'io.flow.v0.models.transaction_metadata_shipping_label_carrier': (): io.flow.v0.models.TransactionMetadataShippingLabelCarrier => ({
|
|
@@ -16143,7 +16210,6 @@ const factories = {
|
|
|
16143
16210
|
() => factories['io.flow.v0.models.bank_account_info_fra'](),
|
|
16144
16211
|
() => factories['io.flow.v0.models.bank_account_info_ita'](),
|
|
16145
16212
|
() => factories['io.flow.v0.models.bank_account_info_kor'](),
|
|
16146
|
-
() => factories['io.flow.v0.models.bank_account_info_kor_v2'](),
|
|
16147
16213
|
]);
|
|
16148
16214
|
|
|
16149
16215
|
return f();
|
|
@@ -16780,6 +16846,7 @@ const factories = {
|
|
|
16780
16846
|
() => factories['io.flow.v0.models.order_state_rejection_reason_domestic_order'](),
|
|
16781
16847
|
() => factories['io.flow.v0.models.order_state_rejection_reason_items_empty'](),
|
|
16782
16848
|
() => factories['io.flow.v0.models.order_state_rejection_reason_organization_deactivated'](),
|
|
16849
|
+
() => factories['io.flow.v0.models.order_state_rejection_reason_payment_fraud'](),
|
|
16783
16850
|
]);
|
|
16784
16851
|
|
|
16785
16852
|
return f();
|
|
@@ -16966,6 +17033,7 @@ const factories = {
|
|
|
16966
17033
|
() => factories['io.flow.v0.models.payout_status_scheduled'](),
|
|
16967
17034
|
() => factories['io.flow.v0.models.payout_status_sent'](),
|
|
16968
17035
|
() => factories['io.flow.v0.models.payout_status_failed'](),
|
|
17036
|
+
() => factories['io.flow.v0.models.payout_status_paid'](),
|
|
16969
17037
|
]);
|
|
16970
17038
|
|
|
16971
17039
|
return f();
|
|
@@ -17416,6 +17484,9 @@ export const makeAvsCode = () => factories['io.flow.v0.enums.avs_code']();
|
|
|
17416
17484
|
export const makeB2BCreditMemo = () => factories['io.flow.v0.models.b2b_credit_memo']();
|
|
17417
17485
|
export const makeB2BCreditMemoDeleted = () => factories['io.flow.v0.models.b2b_credit_memo_deleted']();
|
|
17418
17486
|
export const makeB2BCreditMemoUpserted = () => factories['io.flow.v0.models.b2b_credit_memo_upserted']();
|
|
17487
|
+
export const makeB2BCreditNote = () => factories['io.flow.v0.models.b2b_credit_note']();
|
|
17488
|
+
export const makeB2BDebitNote = () => factories['io.flow.v0.models.b2b_debit_note']();
|
|
17489
|
+
export const makeB2BDebitNoteReference = () => factories['io.flow.v0.models.b2b_debit_note_reference']();
|
|
17419
17490
|
export const makeB2BInvoice = () => factories['io.flow.v0.models.b2b_invoice']();
|
|
17420
17491
|
export const makeB2BInvoiceDeleted = () => factories['io.flow.v0.models.b2b_invoice_deleted']();
|
|
17421
17492
|
export const makeB2BInvoiceReference = () => factories['io.flow.v0.models.b2b_invoice_reference']();
|
|
@@ -17430,7 +17501,6 @@ export const makeBankAccountInfoFra = () => factories['io.flow.v0.models.bank_ac
|
|
|
17430
17501
|
export const makeBankAccountInfoGbr = () => factories['io.flow.v0.models.bank_account_info_gbr']();
|
|
17431
17502
|
export const makeBankAccountInfoIta = () => factories['io.flow.v0.models.bank_account_info_ita']();
|
|
17432
17503
|
export const makeBankAccountInfoKor = () => factories['io.flow.v0.models.bank_account_info_kor']();
|
|
17433
|
-
export const makeBankAccountInfoKorV2 = () => factories['io.flow.v0.models.bank_account_info_kor_v2']();
|
|
17434
17504
|
export const makeBankAccountInfoUsa = () => factories['io.flow.v0.models.bank_account_info_usa']();
|
|
17435
17505
|
export const makeBankAccountReference = () => factories['io.flow.v0.models.bank_account_reference']();
|
|
17436
17506
|
export const makeBankAccountSummary = () => factories['io.flow.v0.models.bank_account_summary']();
|
|
@@ -17622,6 +17692,7 @@ export const makeCountryPickerSource = () => factories['io.flow.v0.enums.country
|
|
|
17622
17692
|
export const makeCountryShippingPricing = () => factories['io.flow.v0.models.country_shipping_pricing']();
|
|
17623
17693
|
export const makeCountryStatus = () => factories['io.flow.v0.models.country_status']();
|
|
17624
17694
|
export const makeCountryStatusForm = () => factories['io.flow.v0.models.country_status_form']();
|
|
17695
|
+
export const makeCpscAttribute = () => factories['io.flow.v0.enums.cpsc_attribute']();
|
|
17625
17696
|
export const makeCreditMemo = () => factories['io.flow.v0.models.credit_memo']();
|
|
17626
17697
|
export const makeCreditMemoDeleted = () => factories['io.flow.v0.models.credit_memo_deleted']();
|
|
17627
17698
|
export const makeCreditMemoForm = () => factories['io.flow.v0.models.credit_memo_form']();
|
|
@@ -18257,6 +18328,7 @@ export const makeOrderStateRejectionReason = () => factories['io.flow.v0.unions.
|
|
|
18257
18328
|
export const makeOrderStateRejectionReasonDomesticOrder = () => factories['io.flow.v0.models.order_state_rejection_reason_domestic_order']();
|
|
18258
18329
|
export const makeOrderStateRejectionReasonItemsEmpty = () => factories['io.flow.v0.models.order_state_rejection_reason_items_empty']();
|
|
18259
18330
|
export const makeOrderStateRejectionReasonOrganizationDeactivated = () => factories['io.flow.v0.models.order_state_rejection_reason_organization_deactivated']();
|
|
18331
|
+
export const makeOrderStateRejectionReasonPaymentFraud = () => factories['io.flow.v0.models.order_state_rejection_reason_payment_fraud']();
|
|
18260
18332
|
export const makeOrderStateRejectionReasonRestrictedItem = () => factories['io.flow.v0.models.order_state_rejection_reason_restricted_item']();
|
|
18261
18333
|
export const makeOrderStateStatus = () => factories['io.flow.v0.enums.order_state_status']();
|
|
18262
18334
|
export const makeOrderStateUpserted = () => factories['io.flow.v0.models.order_state_upserted']();
|
|
@@ -18484,6 +18556,7 @@ export const makePayoutReference = () => factories['io.flow.v0.models.payout_ref
|
|
|
18484
18556
|
export const makePayoutStatus = () => factories['io.flow.v0.unions.payout_status']();
|
|
18485
18557
|
export const makePayoutStatusFailed = () => factories['io.flow.v0.models.payout_status_failed']();
|
|
18486
18558
|
export const makePayoutStatusFailureCode = () => factories['io.flow.v0.enums.payout_status_failure_code']();
|
|
18559
|
+
export const makePayoutStatusPaid = () => factories['io.flow.v0.models.payout_status_paid']();
|
|
18487
18560
|
export const makePayoutStatusScheduled = () => factories['io.flow.v0.models.payout_status_scheduled']();
|
|
18488
18561
|
export const makePayoutStatusSent = () => factories['io.flow.v0.models.payout_status_sent']();
|
|
18489
18562
|
export const makePayoutTransaction = () => factories['io.flow.v0.models.payout_transaction']();
|
|
@@ -18610,14 +18683,11 @@ export const makeRatecardForm = () => factories['io.flow.v0.models.ratecard_form
|
|
|
18610
18683
|
export const makeRatecardLane = () => factories['io.flow.v0.models.ratecard_lane']();
|
|
18611
18684
|
export const makeRatecardLaneDeleted = () => factories['io.flow.v0.models.ratecard_lane_deleted']();
|
|
18612
18685
|
export const makeRatecardLaneForm = () => factories['io.flow.v0.models.ratecard_lane_form']();
|
|
18613
|
-
export const makeRatecardLaneImportForm = () => factories['io.flow.v0.models.ratecard_lane_import_form']();
|
|
18614
18686
|
export const makeRatecardLaneUpserted = () => factories['io.flow.v0.models.ratecard_lane_upserted']();
|
|
18615
18687
|
export const makeRatecardLaneVersion = () => factories['io.flow.v0.models.ratecard_lane_version']();
|
|
18616
|
-
export const makeRatecardLanesImportRequestData = () => factories['io.flow.v0.models.ratecard_lanes_import_request_data']();
|
|
18617
18688
|
export const makeRatecardOwner = () => factories['io.flow.v0.enums.ratecard_owner']();
|
|
18618
18689
|
export const makeRatecardRate = () => factories['io.flow.v0.models.ratecard_rate']();
|
|
18619
18690
|
export const makeRatecardRateForm = () => factories['io.flow.v0.models.ratecard_rate_form']();
|
|
18620
|
-
export const makeRatecardRateVersion = () => factories['io.flow.v0.models.ratecard_rate_version']();
|
|
18621
18691
|
export const makeRatecardReference = () => factories['io.flow.v0.models.ratecard_reference']();
|
|
18622
18692
|
export const makeRatecardRegionReference = () => factories['io.flow.v0.models.ratecard_region_reference']();
|
|
18623
18693
|
export const makeRatecardServiceSummary = () => factories['io.flow.v0.models.ratecard_service_summary']();
|
|
@@ -18663,7 +18733,11 @@ export const makeRepeatMonthly = () => factories['io.flow.v0.models.repeat_month
|
|
|
18663
18733
|
export const makeRepeatSchedule = () => factories['io.flow.v0.unions.repeat_schedule']();
|
|
18664
18734
|
export const makeRepeatWeekly = () => factories['io.flow.v0.models.repeat_weekly']();
|
|
18665
18735
|
export const makeRestrictedReviewStatus = () => factories['io.flow.v0.enums.restricted_review_status']();
|
|
18736
|
+
export const makeRestrictionDecision = () => factories['io.flow.v0.enums.restriction_decision']();
|
|
18737
|
+
export const makeRestrictionDecisionReason = () => factories['io.flow.v0.enums.restriction_decision_reason']();
|
|
18738
|
+
export const makeRestrictionDecisionsForm = () => factories['io.flow.v0.models.restriction_decisions_form']();
|
|
18666
18739
|
export const makeRestrictionEnvironment = () => factories['io.flow.v0.enums.restriction_environment']();
|
|
18740
|
+
export const makeRestrictionRuleDecisionForm = () => factories['io.flow.v0.models.restriction_rule_decision_form']();
|
|
18667
18741
|
export const makeReturn = () => factories['io.flow.v0.models.return']();
|
|
18668
18742
|
export const makeReturnForm = () => factories['io.flow.v0.models.return_form']();
|
|
18669
18743
|
export const makeReturnItemReference = () => factories['io.flow.v0.models.return_item_reference']();
|