@flowio/api-factories 0.0.124 → 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 +137 -80
- package/dist/esm/api.js +93 -42
- package/dist/types/api.d.ts +10 -4
- package/package.json +1 -1
- package/src/api.ts +101 -46
package/dist/esm/api.js
CHANGED
|
@@ -633,6 +633,7 @@ var factories = {
|
|
|
633
633
|
created_at: factories.date_time_iso_8601(),
|
|
634
634
|
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
635
635
|
type: factories['io.flow.common.v0.enums.organization_type'](),
|
|
636
|
+
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
636
637
|
}); },
|
|
637
638
|
'io.flow.common.v0.models.organization_defaults': function () { return ({
|
|
638
639
|
country: factories.string(),
|
|
@@ -644,6 +645,7 @@ var factories = {
|
|
|
644
645
|
'io.flow.common.v0.models.organization_reference': function () { return ({
|
|
645
646
|
discriminator: 'organization_reference',
|
|
646
647
|
id: factories.string(),
|
|
648
|
+
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
647
649
|
}); },
|
|
648
650
|
'io.flow.common.v0.models.organization_summary': function () { return ({
|
|
649
651
|
id: factories.string(),
|
|
@@ -3880,6 +3882,20 @@ var factories = {
|
|
|
3880
3882
|
'io.flow.v0.enums.consumer_invoice_status': function () { return faker.helpers.arrayElement(['pending', 'available', 'invalid']); },
|
|
3881
3883
|
'io.flow.v0.enums.cost_estimate_source': function () { return faker.helpers.arrayElement(['flow', 'channel']); },
|
|
3882
3884
|
'io.flow.v0.enums.country_picker_source': function () { return faker.helpers.arrayElement(['experience', 'destination']); },
|
|
3885
|
+
'io.flow.v0.enums.cpsc_attribute': function () { return faker.helpers.arrayElement([
|
|
3886
|
+
'certification_id',
|
|
3887
|
+
'citation_codes',
|
|
3888
|
+
'manufactured_date',
|
|
3889
|
+
'manufactured_location',
|
|
3890
|
+
'product_test_date',
|
|
3891
|
+
'test_lab_name',
|
|
3892
|
+
'point_of_contact',
|
|
3893
|
+
'certification_version',
|
|
3894
|
+
'certification_product_id',
|
|
3895
|
+
'certificate_type',
|
|
3896
|
+
'lab_type',
|
|
3897
|
+
'taxonomy_reference',
|
|
3898
|
+
]); },
|
|
3883
3899
|
'io.flow.v0.enums.credit_payment_error_code': function () { return faker.helpers.arrayElement([
|
|
3884
3900
|
'generic_error',
|
|
3885
3901
|
'invalid_order_number',
|
|
@@ -4562,6 +4578,8 @@ var factories = {
|
|
|
4562
4578
|
'io.flow.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
|
|
4563
4579
|
'io.flow.v0.enums.region_type': function () { return faker.helpers.arrayElement(['state', 'province', 'jurisdiction']); },
|
|
4564
4580
|
'io.flow.v0.enums.restricted_review_status': function () { return faker.helpers.arrayElement(['in_review', 'reviewed']); },
|
|
4581
|
+
'io.flow.v0.enums.restriction_decision': function () { return faker.helpers.arrayElement(['accept', 'reject', 'escalate', 'review']); },
|
|
4582
|
+
'io.flow.v0.enums.restriction_decision_reason': function () { return faker.helpers.arrayElement(['manual_dispute']); },
|
|
4565
4583
|
'io.flow.v0.enums.restriction_environment': function () { return faker.helpers.arrayElement(['sandbox', 'production', 'qa']); },
|
|
4566
4584
|
'io.flow.v0.enums.return_item_status': function () { return faker.helpers.arrayElement(['returnable', 'non-returnable']); },
|
|
4567
4585
|
'io.flow.v0.enums.return_policy_state': function () { return faker.helpers.arrayElement(['current', 'deleting', 'updating']); },
|
|
@@ -4645,7 +4663,7 @@ var factories = {
|
|
|
4645
4663
|
'io.flow.v0.enums.shopify_sync_check': function () { return faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']); },
|
|
4646
4664
|
'io.flow.v0.enums.sort_direction': function () { return faker.helpers.arrayElement(['ascending', 'descending']); },
|
|
4647
4665
|
'io.flow.v0.enums.statement_attachment_type': function () { return faker.helpers.arrayElement(['csv', 'pdf']); },
|
|
4648
|
-
'io.flow.v0.enums.statement_status_code': function () { return faker.helpers.arrayElement(['scheduled', 'sent', 'failed']); },
|
|
4666
|
+
'io.flow.v0.enums.statement_status_code': function () { return faker.helpers.arrayElement(['scheduled', 'sent', 'failed', 'paid']); },
|
|
4649
4667
|
'io.flow.v0.enums.stored_method_usage_step': function () { return faker.helpers.arrayElement(['initial', 'subsequent']); },
|
|
4650
4668
|
'io.flow.v0.enums.strategy': function () { return faker.helpers.arrayElement(['range', 'from', 'to']); },
|
|
4651
4669
|
'io.flow.v0.enums.subcatalog_item_status': function () { return faker.helpers.arrayElement(['excluded', 'included', 'restricted']); },
|
|
@@ -4805,6 +4823,7 @@ var factories = {
|
|
|
4805
4823
|
'b2b_fee_mor_tax',
|
|
4806
4824
|
'b2b_fee_shipping_tax',
|
|
4807
4825
|
'flat_rate_label',
|
|
4826
|
+
'flat_rate_label_subsidy',
|
|
4808
4827
|
]); },
|
|
4809
4828
|
'io.flow.v0.enums.transfer_status': function () { return faker.helpers.arrayElement(['succeeded', 'canceled']); },
|
|
4810
4829
|
'io.flow.v0.enums.transfer_type': function () { return faker.helpers.arrayElement([
|
|
@@ -5541,6 +5560,39 @@ var factories = {
|
|
|
5541
5560
|
organization: factories.string(),
|
|
5542
5561
|
b2b_credit_memo: factories['io.flow.v0.models.b2b_credit_memo'](),
|
|
5543
5562
|
}); },
|
|
5563
|
+
'io.flow.v0.models.b2b_credit_note': function () { return ({
|
|
5564
|
+
id: factories.string(),
|
|
5565
|
+
number: factories.string(),
|
|
5566
|
+
status: factories['io.flow.v0.enums.consumer_invoice_status'](),
|
|
5567
|
+
date: factories.date_time_iso_8601(),
|
|
5568
|
+
key: factories.string(),
|
|
5569
|
+
debit_note: factories['io.flow.v0.models.b2b_debit_note_reference'](),
|
|
5570
|
+
order: factories['io.flow.v0.models.consumer_invoice_order_summary'](),
|
|
5571
|
+
center: factories['io.flow.v0.models.consumer_invoice_center_reference'](),
|
|
5572
|
+
lines: arrayOf(function () { return factories['io.flow.v0.unions.consumer_invoice_line'](); }),
|
|
5573
|
+
documents: arrayOf(function () { return factories['io.flow.v0.models.consumer_invoice_document'](); }),
|
|
5574
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
5575
|
+
voids_b2b_debit_note: factories.boolean(),
|
|
5576
|
+
}); },
|
|
5577
|
+
'io.flow.v0.models.b2b_debit_note': function () { return ({
|
|
5578
|
+
id: factories.string(),
|
|
5579
|
+
number: factories.string(),
|
|
5580
|
+
buyer: factories['io.flow.v0.models.merchant_of_record_entity'](),
|
|
5581
|
+
seller: factories['io.flow.v0.models.merchant_of_record_entity'](),
|
|
5582
|
+
status: factories['io.flow.v0.enums.consumer_invoice_status'](),
|
|
5583
|
+
date: factories.date_time_iso_8601(),
|
|
5584
|
+
key: factories.string(),
|
|
5585
|
+
order: factories['io.flow.v0.models.consumer_invoice_order_summary'](),
|
|
5586
|
+
center: factories['io.flow.v0.models.consumer_invoice_center_reference'](),
|
|
5587
|
+
lines: arrayOf(function () { return factories['io.flow.v0.unions.consumer_invoice_line'](); }),
|
|
5588
|
+
documents: arrayOf(function () { return factories['io.flow.v0.models.consumer_invoice_document'](); }),
|
|
5589
|
+
attributes: objectOf(function () { return factories.string(); }),
|
|
5590
|
+
}); },
|
|
5591
|
+
'io.flow.v0.models.b2b_debit_note_reference': function () { return ({
|
|
5592
|
+
id: factories.string(),
|
|
5593
|
+
key: factories.string(),
|
|
5594
|
+
number: factories.string(),
|
|
5595
|
+
}); },
|
|
5544
5596
|
'io.flow.v0.models.b2b_invoice': function () { return ({
|
|
5545
5597
|
id: factories.string(),
|
|
5546
5598
|
number: factories.string(),
|
|
@@ -5612,17 +5664,6 @@ var factories = {
|
|
|
5612
5664
|
'io.flow.v0.models.bank_account_info_kor': function () { return ({
|
|
5613
5665
|
discriminator: 'kor',
|
|
5614
5666
|
name: factories.string(),
|
|
5615
|
-
address: factories['io.flow.v0.models.address'](),
|
|
5616
|
-
phone: factories.string(),
|
|
5617
|
-
email: factories.string(),
|
|
5618
|
-
bank_account_number: factories.string(),
|
|
5619
|
-
bank_routing_number: factories.string(),
|
|
5620
|
-
bank_name: factories.string(),
|
|
5621
|
-
bank_address: factories['io.flow.v0.models.address'](),
|
|
5622
|
-
}); },
|
|
5623
|
-
'io.flow.v0.models.bank_account_info_kor_v2': function () { return ({
|
|
5624
|
-
discriminator: 'kor_v2',
|
|
5625
|
-
name: factories.string(),
|
|
5626
5667
|
bank_account_number: factories.string(),
|
|
5627
5668
|
bank_routing_number: factories.string(),
|
|
5628
5669
|
bank_name: factories.string(),
|
|
@@ -8767,6 +8808,7 @@ var factories = {
|
|
|
8767
8808
|
'io.flow.v0.models.lane_summary': function () { return ({
|
|
8768
8809
|
id: factories.string(),
|
|
8769
8810
|
ratecard: factories['io.flow.v0.models.ratecard_summary'](),
|
|
8811
|
+
dim_factor: factories.decimal(),
|
|
8770
8812
|
}); },
|
|
8771
8813
|
'io.flow.v0.models.language': function () { return ({
|
|
8772
8814
|
name: factories.string(),
|
|
@@ -9739,6 +9781,10 @@ var factories = {
|
|
|
9739
9781
|
deactivation_requested_at: factories.date_time_iso_8601(),
|
|
9740
9782
|
deactivated_at: factories.date_time_iso_8601(),
|
|
9741
9783
|
}); },
|
|
9784
|
+
'io.flow.v0.models.order_state_rejection_reason_payment_fraud': function () { return ({
|
|
9785
|
+
discriminator: 'order_state_rejection_reason_payment_fraud',
|
|
9786
|
+
payment_request_id: factories.string(),
|
|
9787
|
+
}); },
|
|
9742
9788
|
'io.flow.v0.models.order_state_rejection_reason_restricted_item': function () { return ({
|
|
9743
9789
|
discriminator: 'order_state_rejection_reason_restricted_item',
|
|
9744
9790
|
item_numbers: arrayOf(function () { return factories.string(); }),
|
|
@@ -9838,6 +9884,7 @@ var factories = {
|
|
|
9838
9884
|
created_at: factories.date_time_iso_8601(),
|
|
9839
9885
|
status: factories['io.flow.v0.enums.organization_status'](),
|
|
9840
9886
|
type: factories['io.flow.v0.enums.organization_type'](),
|
|
9887
|
+
channel: factories['io.flow.v0.models.channel_reference'](),
|
|
9841
9888
|
}); },
|
|
9842
9889
|
'io.flow.v0.models.organization_authorization': function () { return ({
|
|
9843
9890
|
role: factories['io.flow.v0.enums.role'](),
|
|
@@ -9977,6 +10024,7 @@ var factories = {
|
|
|
9977
10024
|
'io.flow.v0.models.organization_reference': function () { return ({
|
|
9978
10025
|
discriminator: 'organization_reference',
|
|
9979
10026
|
id: factories.string(),
|
|
10027
|
+
channel: factories['io.flow.v0.models.channel_reference'](),
|
|
9980
10028
|
}); },
|
|
9981
10029
|
'io.flow.v0.models.organization_session': function () { return ({
|
|
9982
10030
|
discriminator: 'organization_session',
|
|
@@ -10015,6 +10063,7 @@ var factories = {
|
|
|
10015
10063
|
province: factories.string(),
|
|
10016
10064
|
self_billing_agreement_effective_at: factories.date_time_iso_8601(),
|
|
10017
10065
|
self_billing_agreement_expires_at: factories.date_time_iso_8601(),
|
|
10066
|
+
legal_name: factories.string(),
|
|
10018
10067
|
}); },
|
|
10019
10068
|
'io.flow.v0.models.organization_token': function () { return ({
|
|
10020
10069
|
discriminator: 'organization_token',
|
|
@@ -10810,6 +10859,10 @@ var factories = {
|
|
|
10810
10859
|
timestamp: factories.date_time_iso_8601(),
|
|
10811
10860
|
reason: factories['io.flow.v0.enums.payout_status_failure_code'](),
|
|
10812
10861
|
}); },
|
|
10862
|
+
'io.flow.v0.models.payout_status_paid': function () { return ({
|
|
10863
|
+
code: 'paid',
|
|
10864
|
+
timestamp: factories.date_time_iso_8601(),
|
|
10865
|
+
}); },
|
|
10813
10866
|
'io.flow.v0.models.payout_status_scheduled': function () { return ({
|
|
10814
10867
|
code: 'scheduled',
|
|
10815
10868
|
placeholder: factories.string(),
|
|
@@ -11407,6 +11460,7 @@ var factories = {
|
|
|
11407
11460
|
glbe_shipping_method_id: factories.string(),
|
|
11408
11461
|
glbe_proposition_name: factories.string(),
|
|
11409
11462
|
channel_revenue_share_percentage: factories.decimal(),
|
|
11463
|
+
channel_id: factories.string(),
|
|
11410
11464
|
}); },
|
|
11411
11465
|
'io.flow.v0.models.ratecard_carrier_summary': function () { return ({
|
|
11412
11466
|
id: factories.string(),
|
|
@@ -11506,6 +11560,7 @@ var factories = {
|
|
|
11506
11560
|
glbe_shipping_method_id: factories.string(),
|
|
11507
11561
|
glbe_proposition_name: factories.string(),
|
|
11508
11562
|
channel_revenue_share_percentage: factories.decimal(),
|
|
11563
|
+
channel_id: factories.string(),
|
|
11509
11564
|
data: factories['io.flow.v0.models.ratecard_data'](),
|
|
11510
11565
|
}); },
|
|
11511
11566
|
'io.flow.v0.models.ratecard_lane': function () { return ({
|
|
@@ -11545,19 +11600,6 @@ var factories = {
|
|
|
11545
11600
|
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
11546
11601
|
distance_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
11547
11602
|
}); },
|
|
11548
|
-
'io.flow.v0.models.ratecard_lane_import_form': function () { return ({
|
|
11549
|
-
ratecard_owner: factories['io.flow.v0.enums.ratecard_owner'](),
|
|
11550
|
-
service: factories.string(),
|
|
11551
|
-
currency: factories.string(),
|
|
11552
|
-
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
11553
|
-
origin: factories['io.flow.v0.models.zone'](),
|
|
11554
|
-
destination: factories['io.flow.v0.models.zone'](),
|
|
11555
|
-
shipment_window: factories['io.flow.v0.models.shipment_window'](),
|
|
11556
|
-
dim_factor: factories.decimal(),
|
|
11557
|
-
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
11558
|
-
distance_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
11559
|
-
rates: arrayOf(function () { return factories['io.flow.v0.models.ratecard_rate_form'](); }),
|
|
11560
|
-
}); },
|
|
11561
11603
|
'io.flow.v0.models.ratecard_lane_upserted': function () { return ({
|
|
11562
11604
|
discriminator: 'ratecard_lane_upserted',
|
|
11563
11605
|
event_id: factories.string(),
|
|
@@ -11571,13 +11613,7 @@ var factories = {
|
|
|
11571
11613
|
type: factories['io.flow.v0.enums.change_type'](),
|
|
11572
11614
|
ratecard_lane: factories['io.flow.v0.models.ratecard_lane'](),
|
|
11573
11615
|
}); },
|
|
11574
|
-
'io.flow.v0.models.ratecard_lanes_import_request_data': function () { return ({
|
|
11575
|
-
id: factories.string(),
|
|
11576
|
-
source_url: factories.string(),
|
|
11577
|
-
filename: factories.string(),
|
|
11578
|
-
}); },
|
|
11579
11616
|
'io.flow.v0.models.ratecard_rate': function () { return ({
|
|
11580
|
-
id: factories.string(),
|
|
11581
11617
|
amount: factories.double(),
|
|
11582
11618
|
weight: factories.double(),
|
|
11583
11619
|
}); },
|
|
@@ -11585,12 +11621,6 @@ var factories = {
|
|
|
11585
11621
|
amount: factories.double(),
|
|
11586
11622
|
weight: factories.double(),
|
|
11587
11623
|
}); },
|
|
11588
|
-
'io.flow.v0.models.ratecard_rate_version': function () { return ({
|
|
11589
|
-
id: factories.string(),
|
|
11590
|
-
timestamp: factories.date_time_iso_8601(),
|
|
11591
|
-
type: factories['io.flow.v0.enums.change_type'](),
|
|
11592
|
-
ratecard_rate: factories['io.flow.v0.models.ratecard_rate'](),
|
|
11593
|
-
}); },
|
|
11594
11624
|
'io.flow.v0.models.ratecard_reference': function () { return ({
|
|
11595
11625
|
id: factories.string(),
|
|
11596
11626
|
}); },
|
|
@@ -11831,6 +11861,16 @@ var factories = {
|
|
|
11831
11861
|
interval: factories.integer(),
|
|
11832
11862
|
days_of_week: arrayOf(function () { return factories['io.flow.v0.enums.day_of_week'](); }),
|
|
11833
11863
|
}); },
|
|
11864
|
+
'io.flow.v0.models.restriction_decisions_form': function () { return ({
|
|
11865
|
+
organization_id: factories.string(),
|
|
11866
|
+
rule_decisions: arrayOf(function () { return factories['io.flow.v0.models.restriction_rule_decision_form'](); }),
|
|
11867
|
+
}); },
|
|
11868
|
+
'io.flow.v0.models.restriction_rule_decision_form': function () { return ({
|
|
11869
|
+
product_id: factories.string(),
|
|
11870
|
+
reason_code: factories.string(),
|
|
11871
|
+
decision: factories['io.flow.v0.enums.restriction_decision'](),
|
|
11872
|
+
decision_reason: factories['io.flow.v0.enums.restriction_decision_reason'](),
|
|
11873
|
+
}); },
|
|
11834
11874
|
'io.flow.v0.models.return': function () { return ({
|
|
11835
11875
|
id: factories.string(),
|
|
11836
11876
|
key: factories.string(),
|
|
@@ -12095,6 +12135,7 @@ var factories = {
|
|
|
12095
12135
|
price: factories['io.flow.v0.models.money'](),
|
|
12096
12136
|
description: factories.string(),
|
|
12097
12137
|
taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
12138
|
+
inferred_taxonomy_category: factories['io.flow.v0.models.product_taxonomy_category'](),
|
|
12098
12139
|
mode: factories['io.flow.v0.enums.sellability_screening_mode'](),
|
|
12099
12140
|
catalog_size: factories.integer(),
|
|
12100
12141
|
relative_ranking: factories.decimal(),
|
|
@@ -12354,6 +12395,7 @@ var factories = {
|
|
|
12354
12395
|
id: factories.string(),
|
|
12355
12396
|
ratecard: factories['io.flow.v0.models.shipping_label_ratecard_summary'](),
|
|
12356
12397
|
weight_break: factories.decimal(),
|
|
12398
|
+
dim_factor: factories.decimal(),
|
|
12357
12399
|
}); },
|
|
12358
12400
|
'io.flow.v0.models.shipping_label_package': function () { return ({
|
|
12359
12401
|
dimensions: factories['io.flow.v0.models.dimension'](),
|
|
@@ -13107,6 +13149,7 @@ var factories = {
|
|
|
13107
13149
|
country: factories.string(),
|
|
13108
13150
|
tax_code: factories.string(),
|
|
13109
13151
|
province: factories.string(),
|
|
13152
|
+
legal_name: factories.string(),
|
|
13110
13153
|
}); },
|
|
13111
13154
|
'io.flow.v0.models.tax_registration_form': function () { return ({
|
|
13112
13155
|
number: factories.string(),
|
|
@@ -13538,6 +13581,7 @@ var factories = {
|
|
|
13538
13581
|
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
13539
13582
|
carrier: factories['io.flow.v0.models.transaction_metadata_shipping_label_carrier'](),
|
|
13540
13583
|
revenue_share_percentage: factories.decimal(),
|
|
13584
|
+
actual: factories['io.flow.v0.models.transaction_metadata_trueup_data'](),
|
|
13541
13585
|
}); },
|
|
13542
13586
|
'io.flow.v0.models.transaction_metadata_shipping_label_carrier': function () { return ({
|
|
13543
13587
|
id: factories.string(),
|
|
@@ -13985,7 +14029,6 @@ var factories = {
|
|
|
13985
14029
|
function () { return factories['io.flow.v0.models.bank_account_info_fra'](); },
|
|
13986
14030
|
function () { return factories['io.flow.v0.models.bank_account_info_ita'](); },
|
|
13987
14031
|
function () { return factories['io.flow.v0.models.bank_account_info_kor'](); },
|
|
13988
|
-
function () { return factories['io.flow.v0.models.bank_account_info_kor_v2'](); },
|
|
13989
14032
|
]);
|
|
13990
14033
|
return f();
|
|
13991
14034
|
},
|
|
@@ -14519,6 +14562,7 @@ var factories = {
|
|
|
14519
14562
|
function () { return factories['io.flow.v0.models.order_state_rejection_reason_domestic_order'](); },
|
|
14520
14563
|
function () { return factories['io.flow.v0.models.order_state_rejection_reason_items_empty'](); },
|
|
14521
14564
|
function () { return factories['io.flow.v0.models.order_state_rejection_reason_organization_deactivated'](); },
|
|
14565
|
+
function () { return factories['io.flow.v0.models.order_state_rejection_reason_payment_fraud'](); },
|
|
14522
14566
|
]);
|
|
14523
14567
|
return f();
|
|
14524
14568
|
},
|
|
@@ -14670,6 +14714,7 @@ var factories = {
|
|
|
14670
14714
|
function () { return factories['io.flow.v0.models.payout_status_scheduled'](); },
|
|
14671
14715
|
function () { return factories['io.flow.v0.models.payout_status_sent'](); },
|
|
14672
14716
|
function () { return factories['io.flow.v0.models.payout_status_failed'](); },
|
|
14717
|
+
function () { return factories['io.flow.v0.models.payout_status_paid'](); },
|
|
14673
14718
|
]);
|
|
14674
14719
|
return f();
|
|
14675
14720
|
},
|
|
@@ -15058,6 +15103,9 @@ export var makeAvsCode = function () { return factories['io.flow.v0.enums.avs_co
|
|
|
15058
15103
|
export var makeB2BCreditMemo = function () { return factories['io.flow.v0.models.b2b_credit_memo'](); };
|
|
15059
15104
|
export var makeB2BCreditMemoDeleted = function () { return factories['io.flow.v0.models.b2b_credit_memo_deleted'](); };
|
|
15060
15105
|
export var makeB2BCreditMemoUpserted = function () { return factories['io.flow.v0.models.b2b_credit_memo_upserted'](); };
|
|
15106
|
+
export var makeB2BCreditNote = function () { return factories['io.flow.v0.models.b2b_credit_note'](); };
|
|
15107
|
+
export var makeB2BDebitNote = function () { return factories['io.flow.v0.models.b2b_debit_note'](); };
|
|
15108
|
+
export var makeB2BDebitNoteReference = function () { return factories['io.flow.v0.models.b2b_debit_note_reference'](); };
|
|
15061
15109
|
export var makeB2BInvoice = function () { return factories['io.flow.v0.models.b2b_invoice'](); };
|
|
15062
15110
|
export var makeB2BInvoiceDeleted = function () { return factories['io.flow.v0.models.b2b_invoice_deleted'](); };
|
|
15063
15111
|
export var makeB2BInvoiceReference = function () { return factories['io.flow.v0.models.b2b_invoice_reference'](); };
|
|
@@ -15072,7 +15120,6 @@ export var makeBankAccountInfoFra = function () { return factories['io.flow.v0.m
|
|
|
15072
15120
|
export var makeBankAccountInfoGbr = function () { return factories['io.flow.v0.models.bank_account_info_gbr'](); };
|
|
15073
15121
|
export var makeBankAccountInfoIta = function () { return factories['io.flow.v0.models.bank_account_info_ita'](); };
|
|
15074
15122
|
export var makeBankAccountInfoKor = function () { return factories['io.flow.v0.models.bank_account_info_kor'](); };
|
|
15075
|
-
export var makeBankAccountInfoKorV2 = function () { return factories['io.flow.v0.models.bank_account_info_kor_v2'](); };
|
|
15076
15123
|
export var makeBankAccountInfoUsa = function () { return factories['io.flow.v0.models.bank_account_info_usa'](); };
|
|
15077
15124
|
export var makeBankAccountReference = function () { return factories['io.flow.v0.models.bank_account_reference'](); };
|
|
15078
15125
|
export var makeBankAccountSummary = function () { return factories['io.flow.v0.models.bank_account_summary'](); };
|
|
@@ -15264,6 +15311,7 @@ export var makeCountryPickerSource = function () { return factories['io.flow.v0.
|
|
|
15264
15311
|
export var makeCountryShippingPricing = function () { return factories['io.flow.v0.models.country_shipping_pricing'](); };
|
|
15265
15312
|
export var makeCountryStatus = function () { return factories['io.flow.v0.models.country_status'](); };
|
|
15266
15313
|
export var makeCountryStatusForm = function () { return factories['io.flow.v0.models.country_status_form'](); };
|
|
15314
|
+
export var makeCpscAttribute = function () { return factories['io.flow.v0.enums.cpsc_attribute'](); };
|
|
15267
15315
|
export var makeCreditMemo = function () { return factories['io.flow.v0.models.credit_memo'](); };
|
|
15268
15316
|
export var makeCreditMemoDeleted = function () { return factories['io.flow.v0.models.credit_memo_deleted'](); };
|
|
15269
15317
|
export var makeCreditMemoForm = function () { return factories['io.flow.v0.models.credit_memo_form'](); };
|
|
@@ -15899,6 +15947,7 @@ export var makeOrderStateRejectionReason = function () { return factories['io.fl
|
|
|
15899
15947
|
export var makeOrderStateRejectionReasonDomesticOrder = function () { return factories['io.flow.v0.models.order_state_rejection_reason_domestic_order'](); };
|
|
15900
15948
|
export var makeOrderStateRejectionReasonItemsEmpty = function () { return factories['io.flow.v0.models.order_state_rejection_reason_items_empty'](); };
|
|
15901
15949
|
export var makeOrderStateRejectionReasonOrganizationDeactivated = function () { return factories['io.flow.v0.models.order_state_rejection_reason_organization_deactivated'](); };
|
|
15950
|
+
export var makeOrderStateRejectionReasonPaymentFraud = function () { return factories['io.flow.v0.models.order_state_rejection_reason_payment_fraud'](); };
|
|
15902
15951
|
export var makeOrderStateRejectionReasonRestrictedItem = function () { return factories['io.flow.v0.models.order_state_rejection_reason_restricted_item'](); };
|
|
15903
15952
|
export var makeOrderStateStatus = function () { return factories['io.flow.v0.enums.order_state_status'](); };
|
|
15904
15953
|
export var makeOrderStateUpserted = function () { return factories['io.flow.v0.models.order_state_upserted'](); };
|
|
@@ -16126,6 +16175,7 @@ export var makePayoutReference = function () { return factories['io.flow.v0.mode
|
|
|
16126
16175
|
export var makePayoutStatus = function () { return factories['io.flow.v0.unions.payout_status'](); };
|
|
16127
16176
|
export var makePayoutStatusFailed = function () { return factories['io.flow.v0.models.payout_status_failed'](); };
|
|
16128
16177
|
export var makePayoutStatusFailureCode = function () { return factories['io.flow.v0.enums.payout_status_failure_code'](); };
|
|
16178
|
+
export var makePayoutStatusPaid = function () { return factories['io.flow.v0.models.payout_status_paid'](); };
|
|
16129
16179
|
export var makePayoutStatusScheduled = function () { return factories['io.flow.v0.models.payout_status_scheduled'](); };
|
|
16130
16180
|
export var makePayoutStatusSent = function () { return factories['io.flow.v0.models.payout_status_sent'](); };
|
|
16131
16181
|
export var makePayoutTransaction = function () { return factories['io.flow.v0.models.payout_transaction'](); };
|
|
@@ -16252,14 +16302,11 @@ export var makeRatecardForm = function () { return factories['io.flow.v0.models.
|
|
|
16252
16302
|
export var makeRatecardLane = function () { return factories['io.flow.v0.models.ratecard_lane'](); };
|
|
16253
16303
|
export var makeRatecardLaneDeleted = function () { return factories['io.flow.v0.models.ratecard_lane_deleted'](); };
|
|
16254
16304
|
export var makeRatecardLaneForm = function () { return factories['io.flow.v0.models.ratecard_lane_form'](); };
|
|
16255
|
-
export var makeRatecardLaneImportForm = function () { return factories['io.flow.v0.models.ratecard_lane_import_form'](); };
|
|
16256
16305
|
export var makeRatecardLaneUpserted = function () { return factories['io.flow.v0.models.ratecard_lane_upserted'](); };
|
|
16257
16306
|
export var makeRatecardLaneVersion = function () { return factories['io.flow.v0.models.ratecard_lane_version'](); };
|
|
16258
|
-
export var makeRatecardLanesImportRequestData = function () { return factories['io.flow.v0.models.ratecard_lanes_import_request_data'](); };
|
|
16259
16307
|
export var makeRatecardOwner = function () { return factories['io.flow.v0.enums.ratecard_owner'](); };
|
|
16260
16308
|
export var makeRatecardRate = function () { return factories['io.flow.v0.models.ratecard_rate'](); };
|
|
16261
16309
|
export var makeRatecardRateForm = function () { return factories['io.flow.v0.models.ratecard_rate_form'](); };
|
|
16262
|
-
export var makeRatecardRateVersion = function () { return factories['io.flow.v0.models.ratecard_rate_version'](); };
|
|
16263
16310
|
export var makeRatecardReference = function () { return factories['io.flow.v0.models.ratecard_reference'](); };
|
|
16264
16311
|
export var makeRatecardRegionReference = function () { return factories['io.flow.v0.models.ratecard_region_reference'](); };
|
|
16265
16312
|
export var makeRatecardServiceSummary = function () { return factories['io.flow.v0.models.ratecard_service_summary'](); };
|
|
@@ -16305,7 +16352,11 @@ export var makeRepeatMonthly = function () { return factories['io.flow.v0.models
|
|
|
16305
16352
|
export var makeRepeatSchedule = function () { return factories['io.flow.v0.unions.repeat_schedule'](); };
|
|
16306
16353
|
export var makeRepeatWeekly = function () { return factories['io.flow.v0.models.repeat_weekly'](); };
|
|
16307
16354
|
export var makeRestrictedReviewStatus = function () { return factories['io.flow.v0.enums.restricted_review_status'](); };
|
|
16355
|
+
export var makeRestrictionDecision = function () { return factories['io.flow.v0.enums.restriction_decision'](); };
|
|
16356
|
+
export var makeRestrictionDecisionReason = function () { return factories['io.flow.v0.enums.restriction_decision_reason'](); };
|
|
16357
|
+
export var makeRestrictionDecisionsForm = function () { return factories['io.flow.v0.models.restriction_decisions_form'](); };
|
|
16308
16358
|
export var makeRestrictionEnvironment = function () { return factories['io.flow.v0.enums.restriction_environment'](); };
|
|
16359
|
+
export var makeRestrictionRuleDecisionForm = function () { return factories['io.flow.v0.models.restriction_rule_decision_form'](); };
|
|
16309
16360
|
export var makeReturn = function () { return factories['io.flow.v0.models.return'](); };
|
|
16310
16361
|
export var makeReturnForm = function () { return factories['io.flow.v0.models.return_form'](); };
|
|
16311
16362
|
export var makeReturnItemReference = function () { return factories['io.flow.v0.models.return_item_reference'](); };
|
package/dist/types/api.d.ts
CHANGED
|
@@ -128,6 +128,9 @@ export declare const makeAvsCode: () => io.flow.v0.enums.AvsCode;
|
|
|
128
128
|
export declare const makeB2BCreditMemo: () => io.flow.v0.models.B2BCreditMemo;
|
|
129
129
|
export declare const makeB2BCreditMemoDeleted: () => io.flow.v0.models.B2BCreditMemoDeleted;
|
|
130
130
|
export declare const makeB2BCreditMemoUpserted: () => io.flow.v0.models.B2BCreditMemoUpserted;
|
|
131
|
+
export declare const makeB2BCreditNote: () => io.flow.v0.models.B2BCreditNote;
|
|
132
|
+
export declare const makeB2BDebitNote: () => io.flow.v0.models.B2BDebitNote;
|
|
133
|
+
export declare const makeB2BDebitNoteReference: () => io.flow.v0.models.B2BDebitNoteReference;
|
|
131
134
|
export declare const makeB2BInvoice: () => io.flow.v0.models.B2BInvoice;
|
|
132
135
|
export declare const makeB2BInvoiceDeleted: () => io.flow.v0.models.B2BInvoiceDeleted;
|
|
133
136
|
export declare const makeB2BInvoiceReference: () => io.flow.v0.models.B2BInvoiceReference;
|
|
@@ -142,7 +145,6 @@ export declare const makeBankAccountInfoFra: () => io.flow.v0.models.BankAccount
|
|
|
142
145
|
export declare const makeBankAccountInfoGbr: () => io.flow.v0.models.BankAccountInfoGbr;
|
|
143
146
|
export declare const makeBankAccountInfoIta: () => io.flow.v0.models.BankAccountInfoIta;
|
|
144
147
|
export declare const makeBankAccountInfoKor: () => io.flow.v0.models.BankAccountInfoKor;
|
|
145
|
-
export declare const makeBankAccountInfoKorV2: () => io.flow.v0.models.BankAccountInfoKorV2;
|
|
146
148
|
export declare const makeBankAccountInfoUsa: () => io.flow.v0.models.BankAccountInfoUsa;
|
|
147
149
|
export declare const makeBankAccountReference: () => io.flow.v0.models.BankAccountReference;
|
|
148
150
|
export declare const makeBankAccountSummary: () => io.flow.v0.models.BankAccountSummary;
|
|
@@ -334,6 +336,7 @@ export declare const makeCountryPickerSource: () => io.flow.v0.enums.CountryPick
|
|
|
334
336
|
export declare const makeCountryShippingPricing: () => io.flow.v0.models.CountryShippingPricing;
|
|
335
337
|
export declare const makeCountryStatus: () => io.flow.v0.models.CountryStatus;
|
|
336
338
|
export declare const makeCountryStatusForm: () => io.flow.v0.models.CountryStatusForm;
|
|
339
|
+
export declare const makeCpscAttribute: () => io.flow.v0.enums.CpscAttribute;
|
|
337
340
|
export declare const makeCreditMemo: () => io.flow.v0.models.CreditMemo;
|
|
338
341
|
export declare const makeCreditMemoDeleted: () => io.flow.v0.models.CreditMemoDeleted;
|
|
339
342
|
export declare const makeCreditMemoForm: () => io.flow.v0.models.CreditMemoForm;
|
|
@@ -969,6 +972,7 @@ export declare const makeOrderStateRejectionReason: () => io.flow.v0.unions.Orde
|
|
|
969
972
|
export declare const makeOrderStateRejectionReasonDomesticOrder: () => io.flow.v0.models.OrderStateRejectionReasonDomesticOrder;
|
|
970
973
|
export declare const makeOrderStateRejectionReasonItemsEmpty: () => io.flow.v0.models.OrderStateRejectionReasonItemsEmpty;
|
|
971
974
|
export declare const makeOrderStateRejectionReasonOrganizationDeactivated: () => io.flow.v0.models.OrderStateRejectionReasonOrganizationDeactivated;
|
|
975
|
+
export declare const makeOrderStateRejectionReasonPaymentFraud: () => io.flow.v0.models.OrderStateRejectionReasonPaymentFraud;
|
|
972
976
|
export declare const makeOrderStateRejectionReasonRestrictedItem: () => io.flow.v0.models.OrderStateRejectionReasonRestrictedItem;
|
|
973
977
|
export declare const makeOrderStateStatus: () => io.flow.v0.enums.OrderStateStatus;
|
|
974
978
|
export declare const makeOrderStateUpserted: () => io.flow.v0.models.OrderStateUpserted;
|
|
@@ -1196,6 +1200,7 @@ export declare const makePayoutReference: () => io.flow.v0.models.PayoutReferenc
|
|
|
1196
1200
|
export declare const makePayoutStatus: () => io.flow.v0.unions.PayoutStatus;
|
|
1197
1201
|
export declare const makePayoutStatusFailed: () => io.flow.v0.models.PayoutStatusFailed;
|
|
1198
1202
|
export declare const makePayoutStatusFailureCode: () => io.flow.v0.enums.PayoutStatusFailureCode;
|
|
1203
|
+
export declare const makePayoutStatusPaid: () => io.flow.v0.models.PayoutStatusPaid;
|
|
1199
1204
|
export declare const makePayoutStatusScheduled: () => io.flow.v0.models.PayoutStatusScheduled;
|
|
1200
1205
|
export declare const makePayoutStatusSent: () => io.flow.v0.models.PayoutStatusSent;
|
|
1201
1206
|
export declare const makePayoutTransaction: () => io.flow.v0.models.PayoutTransaction;
|
|
@@ -1322,14 +1327,11 @@ export declare const makeRatecardForm: () => io.flow.v0.models.RatecardForm;
|
|
|
1322
1327
|
export declare const makeRatecardLane: () => io.flow.v0.models.RatecardLane;
|
|
1323
1328
|
export declare const makeRatecardLaneDeleted: () => io.flow.v0.models.RatecardLaneDeleted;
|
|
1324
1329
|
export declare const makeRatecardLaneForm: () => io.flow.v0.models.RatecardLaneForm;
|
|
1325
|
-
export declare const makeRatecardLaneImportForm: () => io.flow.v0.models.RatecardLaneImportForm;
|
|
1326
1330
|
export declare const makeRatecardLaneUpserted: () => io.flow.v0.models.RatecardLaneUpserted;
|
|
1327
1331
|
export declare const makeRatecardLaneVersion: () => io.flow.v0.models.RatecardLaneVersion;
|
|
1328
|
-
export declare const makeRatecardLanesImportRequestData: () => io.flow.v0.models.RatecardLanesImportRequestData;
|
|
1329
1332
|
export declare const makeRatecardOwner: () => io.flow.v0.enums.RatecardOwner;
|
|
1330
1333
|
export declare const makeRatecardRate: () => io.flow.v0.models.RatecardRate;
|
|
1331
1334
|
export declare const makeRatecardRateForm: () => io.flow.v0.models.RatecardRateForm;
|
|
1332
|
-
export declare const makeRatecardRateVersion: () => io.flow.v0.models.RatecardRateVersion;
|
|
1333
1335
|
export declare const makeRatecardReference: () => io.flow.v0.models.RatecardReference;
|
|
1334
1336
|
export declare const makeRatecardRegionReference: () => io.flow.v0.models.RatecardRegionReference;
|
|
1335
1337
|
export declare const makeRatecardServiceSummary: () => io.flow.v0.models.RatecardServiceSummary;
|
|
@@ -1375,7 +1377,11 @@ export declare const makeRepeatMonthly: () => io.flow.v0.models.RepeatMonthly;
|
|
|
1375
1377
|
export declare const makeRepeatSchedule: () => io.flow.v0.unions.RepeatSchedule;
|
|
1376
1378
|
export declare const makeRepeatWeekly: () => io.flow.v0.models.RepeatWeekly;
|
|
1377
1379
|
export declare const makeRestrictedReviewStatus: () => io.flow.v0.enums.RestrictedReviewStatus;
|
|
1380
|
+
export declare const makeRestrictionDecision: () => io.flow.v0.enums.RestrictionDecision;
|
|
1381
|
+
export declare const makeRestrictionDecisionReason: () => "manual_dispute";
|
|
1382
|
+
export declare const makeRestrictionDecisionsForm: () => io.flow.v0.models.RestrictionDecisionsForm;
|
|
1378
1383
|
export declare const makeRestrictionEnvironment: () => io.flow.v0.enums.RestrictionEnvironment;
|
|
1384
|
+
export declare const makeRestrictionRuleDecisionForm: () => io.flow.v0.models.RestrictionRuleDecisionForm;
|
|
1379
1385
|
export declare const makeReturn: () => io.flow.v0.models.Return;
|
|
1380
1386
|
export declare const makeReturnForm: () => io.flow.v0.models.ReturnForm;
|
|
1381
1387
|
export declare const makeReturnItemReference: () => io.flow.v0.models.ReturnItemReference;
|