@flowio/api-internal-factories 0.0.136 → 0.0.137
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-internal.js +149 -34
- package/dist/esm/api-internal.js +105 -2
- package/dist/types/api-internal.d.ts +12 -0
- package/package.json +2 -2
- package/src/api-internal.ts +128 -2
package/dist/esm/api-internal.js
CHANGED
|
@@ -661,6 +661,11 @@ var factories = {
|
|
|
661
661
|
'duty_guarantee',
|
|
662
662
|
'mor',
|
|
663
663
|
'fraud',
|
|
664
|
+
'tax',
|
|
665
|
+
'duty',
|
|
666
|
+
'tax_and_duty',
|
|
667
|
+
'product',
|
|
668
|
+
'tax_and_duty_fx_diff',
|
|
664
669
|
'fx',
|
|
665
670
|
'processing',
|
|
666
671
|
'rate_lock',
|
|
@@ -1810,6 +1815,7 @@ var factories = {
|
|
|
1810
1815
|
'order_missing',
|
|
1811
1816
|
]); },
|
|
1812
1817
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
1818
|
+
'io.flow.channel.internal.v0.enums.channel_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']); },
|
|
1813
1819
|
'io.flow.channel.internal.v0.enums.order_payment_source_type': function () { return faker.helpers.arrayElement(['globale', 'third_party']); },
|
|
1814
1820
|
'io.flow.channel.internal.v0.models.channel_currency_form': function () { return ({
|
|
1815
1821
|
currency: factories.string(),
|
|
@@ -1871,6 +1877,29 @@ var factories = {
|
|
|
1871
1877
|
description: factories.string(),
|
|
1872
1878
|
rejection_reason: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason'](),
|
|
1873
1879
|
}); },
|
|
1880
|
+
'io.flow.channel.internal.v0.models.channel_organization_domain': function () { return ({
|
|
1881
|
+
internal: factories.string(),
|
|
1882
|
+
'public': factories.string(),
|
|
1883
|
+
}); },
|
|
1884
|
+
'io.flow.channel.internal.v0.models.channel_organization_installation': function () { return ({
|
|
1885
|
+
organization: factories['io.flow.channel.v0.models.channel_organization'](),
|
|
1886
|
+
tokens: arrayOf(function () { return factories['io.flow.channel.internal.v0.models.channel_organization_token'](); }),
|
|
1887
|
+
}); },
|
|
1888
|
+
'io.flow.channel.internal.v0.models.channel_organization_installation_post_form': function () { return ({
|
|
1889
|
+
form: factories['io.flow.channel.v0.models.channel_organization_form'](),
|
|
1890
|
+
metadata: factories['io.flow.channel.internal.v0.models.channel_organization_metadata'](),
|
|
1891
|
+
}); },
|
|
1892
|
+
'io.flow.channel.internal.v0.models.channel_organization_metadata': function () { return ({
|
|
1893
|
+
domain: factories['io.flow.channel.internal.v0.models.channel_organization_domain'](),
|
|
1894
|
+
token: factories.string(),
|
|
1895
|
+
}); },
|
|
1896
|
+
'io.flow.channel.internal.v0.models.channel_organization_token': function () { return ({
|
|
1897
|
+
token: factories['io.flow.channel.internal.v0.models.channel_organization_token_body'](),
|
|
1898
|
+
service: factories['io.flow.channel.internal.v0.enums.channel_service'](),
|
|
1899
|
+
}); },
|
|
1900
|
+
'io.flow.channel.internal.v0.models.channel_organization_token_body': function () { return ({
|
|
1901
|
+
cleartext: factories.string(),
|
|
1902
|
+
}); },
|
|
1874
1903
|
'io.flow.channel.internal.v0.models.flow_channel_organization': function () { return ({
|
|
1875
1904
|
placeholder: factories.string(),
|
|
1876
1905
|
}); },
|
|
@@ -4842,6 +4871,7 @@ var factories = {
|
|
|
4842
4871
|
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
4843
4872
|
price: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
4844
4873
|
service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
4874
|
+
actual_service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
4845
4875
|
tier: factories['io.flow.fulfillment.v0.models.tier_summary'](),
|
|
4846
4876
|
window: factories['io.flow.fulfillment.v0.models.delivery_window'](),
|
|
4847
4877
|
rule_outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome'](),
|
|
@@ -5916,7 +5946,9 @@ var factories = {
|
|
|
5916
5946
|
]); },
|
|
5917
5947
|
'io.flow.internal.v0.enums.channel_order_acceptance_status': function () { return faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']); },
|
|
5918
5948
|
'io.flow.internal.v0.enums.channel_order_fulfillment_status_code': function () { return faker.helpers.arrayElement(['unfulfilled', 'fulfilled', 'partial', 'cancelled']); },
|
|
5919
|
-
'io.flow.internal.v0.enums.
|
|
5949
|
+
'io.flow.internal.v0.enums.channel_service': function () { return faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']); },
|
|
5950
|
+
'io.flow.internal.v0.enums.channel_transaction_trigger_type': function () { return faker.helpers.arrayElement(['capture', 'order']); },
|
|
5951
|
+
'io.flow.internal.v0.enums.channel_transaction_type': function () { return faker.helpers.arrayElement(['adjustment', 'reversal', 'processing', 'order']); },
|
|
5920
5952
|
'io.flow.internal.v0.enums.chapter_check_status': function () { return faker.helpers.arrayElement(['apparel_like', 'similar', 'does_not_match']); },
|
|
5921
5953
|
'io.flow.internal.v0.enums.charge_estimate_source': function () { return faker.helpers.arrayElement(['global-e', 'shopify']); },
|
|
5922
5954
|
'io.flow.internal.v0.enums.charge_input_type': function () { return faker.helpers.arrayElement([
|
|
@@ -6031,6 +6063,8 @@ var factories = {
|
|
|
6031
6063
|
'organization_account_deleted',
|
|
6032
6064
|
'account_transactions_export_request',
|
|
6033
6065
|
'account_orders_export_request',
|
|
6066
|
+
'fulfillment_status_upserted',
|
|
6067
|
+
'fulfillment_status_deleted',
|
|
6034
6068
|
'main_transaction_upserted',
|
|
6035
6069
|
'main_transaction_deleted',
|
|
6036
6070
|
'main_transaction_upserted_v2',
|
|
@@ -8498,6 +8532,10 @@ var factories = {
|
|
|
8498
8532
|
channel_id: factories.string(),
|
|
8499
8533
|
channel_order_summary: factories['io.flow.internal.v0.models.channel_order_summary'](),
|
|
8500
8534
|
}); },
|
|
8535
|
+
'io.flow.internal.v0.models.channel_organization_domain': function () { return ({
|
|
8536
|
+
internal: factories.string(),
|
|
8537
|
+
'public': factories.string(),
|
|
8538
|
+
}); },
|
|
8501
8539
|
'io.flow.internal.v0.models.channel_organization_identifier': function () { return ({
|
|
8502
8540
|
id: factories.string(),
|
|
8503
8541
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
@@ -8517,6 +8555,18 @@ var factories = {
|
|
|
8517
8555
|
channel_id: factories.string(),
|
|
8518
8556
|
channel_organization_identifier: factories['io.flow.internal.v0.models.channel_organization_identifier'](),
|
|
8519
8557
|
}); },
|
|
8558
|
+
'io.flow.internal.v0.models.channel_organization_installation': function () { return ({
|
|
8559
|
+
organization: factories['io.flow.channel.v0.models.channel_organization'](),
|
|
8560
|
+
tokens: arrayOf(function () { return factories['io.flow.internal.v0.models.channel_organization_token'](); }),
|
|
8561
|
+
}); },
|
|
8562
|
+
'io.flow.internal.v0.models.channel_organization_installation_post_form': function () { return ({
|
|
8563
|
+
form: factories['io.flow.channel.v0.models.channel_organization_form'](),
|
|
8564
|
+
metadata: factories['io.flow.internal.v0.models.channel_organization_metadata'](),
|
|
8565
|
+
}); },
|
|
8566
|
+
'io.flow.internal.v0.models.channel_organization_metadata': function () { return ({
|
|
8567
|
+
domain: factories['io.flow.internal.v0.models.channel_organization_domain'](),
|
|
8568
|
+
token: factories.string(),
|
|
8569
|
+
}); },
|
|
8520
8570
|
'io.flow.internal.v0.models.channel_organization_publication_owner': function () { return ({
|
|
8521
8571
|
owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
8522
8572
|
}); },
|
|
@@ -8541,6 +8591,13 @@ var factories = {
|
|
|
8541
8591
|
form: factories['io.flow.channel.v0.models.channel_organization_form'](),
|
|
8542
8592
|
metadata: factories['io.flow.internal.v0.models.shopify_metadata'](),
|
|
8543
8593
|
}); },
|
|
8594
|
+
'io.flow.internal.v0.models.channel_organization_token': function () { return ({
|
|
8595
|
+
token: factories['io.flow.internal.v0.models.channel_organization_token_body'](),
|
|
8596
|
+
service: factories['io.flow.internal.v0.enums.channel_service'](),
|
|
8597
|
+
}); },
|
|
8598
|
+
'io.flow.internal.v0.models.channel_organization_token_body': function () { return ({
|
|
8599
|
+
cleartext: factories.string(),
|
|
8600
|
+
}); },
|
|
8544
8601
|
'io.flow.internal.v0.models.channel_rate_metadata_identity': function () { return ({
|
|
8545
8602
|
discriminator: 'channel_rate_metadata_identity',
|
|
8546
8603
|
currency: factories.string(),
|
|
@@ -8582,6 +8639,10 @@ var factories = {
|
|
|
8582
8639
|
value: factories.decimal(),
|
|
8583
8640
|
timestamp: factories.date_time_iso_8601(),
|
|
8584
8641
|
}); },
|
|
8642
|
+
'io.flow.internal.v0.models.channel_transaction_trigger_metadata': function () { return ({
|
|
8643
|
+
discriminator: 'channel_transaction_trigger_metadata',
|
|
8644
|
+
trigger_type: factories['io.flow.internal.v0.enums.channel_transaction_trigger_type'](),
|
|
8645
|
+
}); },
|
|
8585
8646
|
'io.flow.internal.v0.models.channel_transaction_upserted': function () { return ({
|
|
8586
8647
|
discriminator: 'channel_transaction_upserted',
|
|
8587
8648
|
event_id: factories.string(),
|
|
@@ -10101,6 +10162,11 @@ var factories = {
|
|
|
10101
10162
|
processing: factories['io.flow.internal.v0.models.fee'](),
|
|
10102
10163
|
rate_lock: factories['io.flow.internal.v0.models.fee'](),
|
|
10103
10164
|
mor: factories['io.flow.internal.v0.models.fee'](),
|
|
10165
|
+
tax: factories['io.flow.internal.v0.models.fee'](),
|
|
10166
|
+
duty: factories['io.flow.internal.v0.models.fee'](),
|
|
10167
|
+
tax_and_duty: factories['io.flow.internal.v0.models.fee'](),
|
|
10168
|
+
product: factories['io.flow.internal.v0.models.fee'](),
|
|
10169
|
+
tax_and_duty_fx_diff: factories['io.flow.internal.v0.models.fee'](),
|
|
10104
10170
|
fx: factories['io.flow.internal.v0.models.fee'](),
|
|
10105
10171
|
duty_guarantee: factories['io.flow.internal.v0.models.fee'](),
|
|
10106
10172
|
transfer: factories['io.flow.internal.v0.models.fee'](),
|
|
@@ -10631,6 +10697,28 @@ var factories = {
|
|
|
10631
10697
|
fulfillment_created_at: factories.date_time_iso_8601(),
|
|
10632
10698
|
fulfillment_updated_at: factories.date_time_iso_8601(),
|
|
10633
10699
|
}); },
|
|
10700
|
+
'io.flow.internal.v0.models.fulfillment_status_deleted': function () { return ({
|
|
10701
|
+
discriminator: 'fulfillment_status_deleted',
|
|
10702
|
+
event_id: factories.string(),
|
|
10703
|
+
timestamp: factories.date_time_iso_8601(),
|
|
10704
|
+
organization: factories.string(),
|
|
10705
|
+
id: factories.string(),
|
|
10706
|
+
}); },
|
|
10707
|
+
'io.flow.internal.v0.models.fulfillment_status_summary': function () { return ({
|
|
10708
|
+
id: factories.string(),
|
|
10709
|
+
order_number: factories.string(),
|
|
10710
|
+
organization_id: factories.string(),
|
|
10711
|
+
fulfilled_at: factories.date_time_iso_8601(),
|
|
10712
|
+
sequence_number: factories.long(),
|
|
10713
|
+
completes_order: factories.boolean(),
|
|
10714
|
+
}); },
|
|
10715
|
+
'io.flow.internal.v0.models.fulfillment_status_upserted': function () { return ({
|
|
10716
|
+
discriminator: 'fulfillment_status_upserted',
|
|
10717
|
+
event_id: factories.string(),
|
|
10718
|
+
timestamp: factories.date_time_iso_8601(),
|
|
10719
|
+
organization: factories.string(),
|
|
10720
|
+
fulfillment: factories['io.flow.internal.v0.models.fulfillment_status_summary'](),
|
|
10721
|
+
}); },
|
|
10634
10722
|
'io.flow.internal.v0.models.fulfillment_subsidy_breakdown': function () { return ({
|
|
10635
10723
|
tax: factories.decimal(),
|
|
10636
10724
|
duty: factories.decimal(),
|
|
@@ -17234,6 +17322,8 @@ var factories = {
|
|
|
17234
17322
|
function () { return factories['io.flow.internal.v0.models.organization_account_deleted'](); },
|
|
17235
17323
|
function () { return factories['io.flow.internal.v0.models.account_transactions_export_request'](); },
|
|
17236
17324
|
function () { return factories['io.flow.internal.v0.models.account_orders_export_request'](); },
|
|
17325
|
+
function () { return factories['io.flow.internal.v0.models.fulfillment_status_upserted'](); },
|
|
17326
|
+
function () { return factories['io.flow.internal.v0.models.fulfillment_status_deleted'](); },
|
|
17237
17327
|
function () { return factories['io.flow.internal.v0.models.main_transaction_upserted'](); },
|
|
17238
17328
|
function () { return factories['io.flow.internal.v0.models.main_transaction_deleted'](); },
|
|
17239
17329
|
function () { return factories['io.flow.internal.v0.models.main_transaction_upserted_v2'](); },
|
|
@@ -17917,6 +18007,7 @@ var factories = {
|
|
|
17917
18007
|
function () { return factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](); },
|
|
17918
18008
|
function () { return factories['io.flow.internal.v0.models.accounting_return_metadata'](); },
|
|
17919
18009
|
function () { return factories['io.flow.internal.v0.models.non_l4l_tax_duty_fx_fee_metadata'](); },
|
|
18010
|
+
function () { return factories['io.flow.internal.v0.models.channel_transaction_trigger_metadata'](); },
|
|
17920
18011
|
]);
|
|
17921
18012
|
return f();
|
|
17922
18013
|
},
|
|
@@ -18437,7 +18528,7 @@ var factories = {
|
|
|
18437
18528
|
return f();
|
|
18438
18529
|
},
|
|
18439
18530
|
'io.flow.merchant.of.record.v0.enums.economic_title_location': function () { return faker.helpers.arrayElement(['high_seas', 'origination', 'destination']); },
|
|
18440
|
-
'io.flow.merchant.of.record.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa']); },
|
|
18531
|
+
'io.flow.merchant.of.record.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can', 'ge-usa', 'ge-can', 'ge-gbr', 'ge-irl']); },
|
|
18441
18532
|
'io.flow.merchant.onboarding.v0.enums.logistics_format_preference': function () { return faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']); },
|
|
18442
18533
|
'io.flow.merchant.onboarding.v0.enums.onboarding_application_status': function () { return faker.helpers.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']); },
|
|
18443
18534
|
'io.flow.merchant.onboarding.v0.enums.onboarding_trade_sector': function () { return faker.helpers.arrayElement([
|
|
@@ -26891,9 +26982,13 @@ export var makeChannelOrderSummary = function () { return factories['io.flow.int
|
|
|
26891
26982
|
export var makeChannelOrderSummaryDeleted = function () { return factories['io.flow.internal.v0.models.channel_order_summary_deleted'](); };
|
|
26892
26983
|
export var makeChannelOrderSummaryFulfillmentDetails = function () { return factories['io.flow.internal.v0.models.channel_order_summary_fulfillment_details'](); };
|
|
26893
26984
|
export var makeChannelOrderSummaryUpserted = function () { return factories['io.flow.internal.v0.models.channel_order_summary_upserted'](); };
|
|
26985
|
+
export var makeChannelOrganizationDomain = function () { return factories['io.flow.internal.v0.models.channel_organization_domain'](); };
|
|
26894
26986
|
export var makeChannelOrganizationIdentifier = function () { return factories['io.flow.internal.v0.models.channel_organization_identifier'](); };
|
|
26895
26987
|
export var makeChannelOrganizationIdentifierDeleted = function () { return factories['io.flow.internal.v0.models.channel_organization_identifier_deleted'](); };
|
|
26896
26988
|
export var makeChannelOrganizationIdentifierUpserted = function () { return factories['io.flow.internal.v0.models.channel_organization_identifier_upserted'](); };
|
|
26989
|
+
export var makeChannelOrganizationInstallation = function () { return factories['io.flow.internal.v0.models.channel_organization_installation'](); };
|
|
26990
|
+
export var makeChannelOrganizationInstallationPostForm = function () { return factories['io.flow.internal.v0.models.channel_organization_installation_post_form'](); };
|
|
26991
|
+
export var makeChannelOrganizationMetadata = function () { return factories['io.flow.internal.v0.models.channel_organization_metadata'](); };
|
|
26897
26992
|
export var makeChannelOrganizationPublicationOwner = function () { return factories['io.flow.internal.v0.models.channel_organization_publication_owner'](); };
|
|
26898
26993
|
export var makeChannelOrganizationPublicationOwnerPutForm = function () { return factories['io.flow.internal.v0.models.channel_organization_publication_owner_put_form'](); };
|
|
26899
26994
|
export var makeChannelOrganizationSellabilityStatus = function () { return factories['io.flow.internal.v0.models.channel_organization_sellability_status'](); };
|
|
@@ -26901,12 +26996,17 @@ export var makeChannelOrganizationSellabilityStatusPutForm = function () { retur
|
|
|
26901
26996
|
export var makeChannelOrganizationShopify = function () { return factories['io.flow.internal.v0.models.channel_organization_shopify'](); };
|
|
26902
26997
|
export var makeChannelOrganizationShopifyForm = function () { return factories['io.flow.internal.v0.models.channel_organization_shopify_form'](); };
|
|
26903
26998
|
export var makeChannelOrganizationShopifyPostForm = function () { return factories['io.flow.internal.v0.models.channel_organization_shopify_post_form'](); };
|
|
26999
|
+
export var makeChannelOrganizationToken = function () { return factories['io.flow.internal.v0.models.channel_organization_token'](); };
|
|
27000
|
+
export var makeChannelOrganizationTokenBody = function () { return factories['io.flow.internal.v0.models.channel_organization_token_body'](); };
|
|
26904
27001
|
export var makeChannelRateMetadata = function () { return factories['io.flow.internal.v0.unions.channel_rate_metadata'](); };
|
|
26905
27002
|
export var makeChannelRateMetadataIdentity = function () { return factories['io.flow.internal.v0.models.channel_rate_metadata_identity'](); };
|
|
26906
27003
|
export var makeChannelRateMetadataRate = function () { return factories['io.flow.internal.v0.models.channel_rate_metadata_rate'](); };
|
|
27004
|
+
export var makeChannelService = function () { return factories['io.flow.internal.v0.enums.channel_service'](); };
|
|
26907
27005
|
export var makeChannelTransaction = function () { return factories['io.flow.internal.v0.models.channel_transaction'](); };
|
|
26908
27006
|
export var makeChannelTransactionDeleted = function () { return factories['io.flow.internal.v0.models.channel_transaction_deleted'](); };
|
|
26909
27007
|
export var makeChannelTransactionRate = function () { return factories['io.flow.internal.v0.models.channel_transaction_rate'](); };
|
|
27008
|
+
export var makeChannelTransactionTriggerMetadata = function () { return factories['io.flow.internal.v0.models.channel_transaction_trigger_metadata'](); };
|
|
27009
|
+
export var makeChannelTransactionTriggerType = function () { return factories['io.flow.internal.v0.enums.channel_transaction_trigger_type'](); };
|
|
26910
27010
|
export var makeChannelTransactionType = function () { return factories['io.flow.internal.v0.enums.channel_transaction_type'](); };
|
|
26911
27011
|
export var makeChannelTransactionUpserted = function () { return factories['io.flow.internal.v0.models.channel_transaction_upserted'](); };
|
|
26912
27012
|
export var makeChapterCheckResult = function () { return factories['io.flow.internal.v0.models.chapter_check_result'](); };
|
|
@@ -27287,6 +27387,9 @@ export var makeFulfillmentProofShippingNotificationReference = function () { ret
|
|
|
27287
27387
|
export var makeFulfillmentReference = function () { return factories['io.flow.internal.v0.models.fulfillment_reference'](); };
|
|
27288
27388
|
export var makeFulfillmentShopperBreakdown = function () { return factories['io.flow.internal.v0.models.fulfillment_shopper_breakdown'](); };
|
|
27289
27389
|
export var makeFulfillmentSnapshot = function () { return factories['io.flow.internal.v0.models.fulfillment_snapshot'](); };
|
|
27390
|
+
export var makeFulfillmentStatusDeleted = function () { return factories['io.flow.internal.v0.models.fulfillment_status_deleted'](); };
|
|
27391
|
+
export var makeFulfillmentStatusSummary = function () { return factories['io.flow.internal.v0.models.fulfillment_status_summary'](); };
|
|
27392
|
+
export var makeFulfillmentStatusUpserted = function () { return factories['io.flow.internal.v0.models.fulfillment_status_upserted'](); };
|
|
27290
27393
|
export var makeFulfillmentSubsidyBreakdown = function () { return factories['io.flow.internal.v0.models.fulfillment_subsidy_breakdown'](); };
|
|
27291
27394
|
export var makeFulfillmentTrigger = function () { return factories['io.flow.internal.v0.unions.fulfillment_trigger'](); };
|
|
27292
27395
|
export var makeFulfillmentTriggerProof = function () { return factories['io.flow.internal.v0.models.fulfillment_trigger_proof'](); };
|
|
@@ -297,9 +297,13 @@ export declare const makeChannelOrderSummary: () => io.flow.internal.v0.models.C
|
|
|
297
297
|
export declare const makeChannelOrderSummaryDeleted: () => io.flow.internal.v0.models.ChannelOrderSummaryDeleted;
|
|
298
298
|
export declare const makeChannelOrderSummaryFulfillmentDetails: () => io.flow.internal.v0.models.ChannelOrderSummaryFulfillmentDetails;
|
|
299
299
|
export declare const makeChannelOrderSummaryUpserted: () => io.flow.internal.v0.models.ChannelOrderSummaryUpserted;
|
|
300
|
+
export declare const makeChannelOrganizationDomain: () => io.flow.internal.v0.models.ChannelOrganizationDomain;
|
|
300
301
|
export declare const makeChannelOrganizationIdentifier: () => io.flow.internal.v0.models.ChannelOrganizationIdentifier;
|
|
301
302
|
export declare const makeChannelOrganizationIdentifierDeleted: () => io.flow.internal.v0.models.ChannelOrganizationIdentifierDeleted;
|
|
302
303
|
export declare const makeChannelOrganizationIdentifierUpserted: () => io.flow.internal.v0.models.ChannelOrganizationIdentifierUpserted;
|
|
304
|
+
export declare const makeChannelOrganizationInstallation: () => io.flow.internal.v0.models.ChannelOrganizationInstallation;
|
|
305
|
+
export declare const makeChannelOrganizationInstallationPostForm: () => io.flow.internal.v0.models.ChannelOrganizationInstallationPostForm;
|
|
306
|
+
export declare const makeChannelOrganizationMetadata: () => io.flow.internal.v0.models.ChannelOrganizationMetadata;
|
|
303
307
|
export declare const makeChannelOrganizationPublicationOwner: () => io.flow.internal.v0.models.ChannelOrganizationPublicationOwner;
|
|
304
308
|
export declare const makeChannelOrganizationPublicationOwnerPutForm: () => io.flow.internal.v0.models.ChannelOrganizationPublicationOwnerPutForm;
|
|
305
309
|
export declare const makeChannelOrganizationSellabilityStatus: () => io.flow.internal.v0.models.ChannelOrganizationSellabilityStatus;
|
|
@@ -307,12 +311,17 @@ export declare const makeChannelOrganizationSellabilityStatusPutForm: () => io.f
|
|
|
307
311
|
export declare const makeChannelOrganizationShopify: () => io.flow.internal.v0.models.ChannelOrganizationShopify;
|
|
308
312
|
export declare const makeChannelOrganizationShopifyForm: () => io.flow.internal.v0.models.ChannelOrganizationShopifyForm;
|
|
309
313
|
export declare const makeChannelOrganizationShopifyPostForm: () => io.flow.internal.v0.models.ChannelOrganizationShopifyPostForm;
|
|
314
|
+
export declare const makeChannelOrganizationToken: () => io.flow.internal.v0.models.ChannelOrganizationToken;
|
|
315
|
+
export declare const makeChannelOrganizationTokenBody: () => io.flow.internal.v0.models.ChannelOrganizationTokenBody;
|
|
310
316
|
export declare const makeChannelRateMetadata: () => io.flow.internal.v0.unions.ChannelRateMetadata;
|
|
311
317
|
export declare const makeChannelRateMetadataIdentity: () => io.flow.internal.v0.models.ChannelRateMetadataIdentity;
|
|
312
318
|
export declare const makeChannelRateMetadataRate: () => io.flow.internal.v0.models.ChannelRateMetadataRate;
|
|
319
|
+
export declare const makeChannelService: () => io.flow.internal.v0.enums.ChannelService;
|
|
313
320
|
export declare const makeChannelTransaction: () => io.flow.internal.v0.models.ChannelTransaction;
|
|
314
321
|
export declare const makeChannelTransactionDeleted: () => io.flow.internal.v0.models.ChannelTransactionDeleted;
|
|
315
322
|
export declare const makeChannelTransactionRate: () => io.flow.internal.v0.models.ChannelTransactionRate;
|
|
323
|
+
export declare const makeChannelTransactionTriggerMetadata: () => io.flow.internal.v0.models.ChannelTransactionTriggerMetadata;
|
|
324
|
+
export declare const makeChannelTransactionTriggerType: () => io.flow.internal.v0.enums.ChannelTransactionTriggerType;
|
|
316
325
|
export declare const makeChannelTransactionType: () => io.flow.internal.v0.enums.ChannelTransactionType;
|
|
317
326
|
export declare const makeChannelTransactionUpserted: () => io.flow.internal.v0.models.ChannelTransactionUpserted;
|
|
318
327
|
export declare const makeChapterCheckResult: () => io.flow.internal.v0.models.ChapterCheckResult;
|
|
@@ -693,6 +702,9 @@ export declare const makeFulfillmentProofShippingNotificationReference: () => io
|
|
|
693
702
|
export declare const makeFulfillmentReference: () => io.flow.internal.v0.models.FulfillmentReference;
|
|
694
703
|
export declare const makeFulfillmentShopperBreakdown: () => io.flow.internal.v0.models.FulfillmentShopperBreakdown;
|
|
695
704
|
export declare const makeFulfillmentSnapshot: () => io.flow.internal.v0.models.FulfillmentSnapshot;
|
|
705
|
+
export declare const makeFulfillmentStatusDeleted: () => io.flow.internal.v0.models.FulfillmentStatusDeleted;
|
|
706
|
+
export declare const makeFulfillmentStatusSummary: () => io.flow.internal.v0.models.FulfillmentStatusSummary;
|
|
707
|
+
export declare const makeFulfillmentStatusUpserted: () => io.flow.internal.v0.models.FulfillmentStatusUpserted;
|
|
696
708
|
export declare const makeFulfillmentSubsidyBreakdown: () => io.flow.internal.v0.models.FulfillmentSubsidyBreakdown;
|
|
697
709
|
export declare const makeFulfillmentTrigger: () => io.flow.internal.v0.unions.FulfillmentTrigger;
|
|
698
710
|
export declare const makeFulfillmentTriggerProof: () => io.flow.internal.v0.models.FulfillmentTriggerProof;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-internal-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.137",
|
|
4
4
|
"description": "Flow API internal mock data factories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -37,5 +37,5 @@
|
|
|
37
37
|
"@faker-js/faker": "^6.2.0",
|
|
38
38
|
"@flowio/api-types": "*"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "e6ab4a371f4a5b27785d522dc32505277757198d"
|
|
41
41
|
}
|
package/src/api-internal.ts
CHANGED
|
@@ -752,6 +752,11 @@ const factories = {
|
|
|
752
752
|
'duty_guarantee',
|
|
753
753
|
'mor',
|
|
754
754
|
'fraud',
|
|
755
|
+
'tax',
|
|
756
|
+
'duty',
|
|
757
|
+
'tax_and_duty',
|
|
758
|
+
'product',
|
|
759
|
+
'tax_and_duty_fx_diff',
|
|
755
760
|
'fx',
|
|
756
761
|
'processing',
|
|
757
762
|
'rate_lock',
|
|
@@ -2079,6 +2084,7 @@ const factories = {
|
|
|
2079
2084
|
]),
|
|
2080
2085
|
|
|
2081
2086
|
'io.flow.channel.internal.v0.enums.channel_order_acceptance_status': (): io.flow.channel.internal.v0.enums.ChannelOrderAcceptanceStatus => faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']),
|
|
2087
|
+
'io.flow.channel.internal.v0.enums.channel_service': (): io.flow.channel.internal.v0.enums.ChannelService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']),
|
|
2082
2088
|
'io.flow.channel.internal.v0.enums.order_payment_source_type': (): io.flow.channel.internal.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
|
|
2083
2089
|
|
|
2084
2090
|
'io.flow.channel.internal.v0.models.channel_currency_form': (): io.flow.channel.internal.v0.models.ChannelCurrencyForm => ({
|
|
@@ -2155,6 +2161,38 @@ const factories = {
|
|
|
2155
2161
|
rejection_reason: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason'](),
|
|
2156
2162
|
}),
|
|
2157
2163
|
|
|
2164
|
+
'io.flow.channel.internal.v0.models.channel_organization_domain': (): io.flow.channel.internal.v0.models.ChannelOrganizationDomain => ({
|
|
2165
|
+
internal: factories.string(),
|
|
2166
|
+
'public': factories.string(),
|
|
2167
|
+
}),
|
|
2168
|
+
|
|
2169
|
+
'io.flow.channel.internal.v0.models.channel_organization_installation': (): io.flow.channel.internal.v0.models.ChannelOrganizationInstallation => ({
|
|
2170
|
+
organization: factories['io.flow.channel.v0.models.channel_organization'](),
|
|
2171
|
+
|
|
2172
|
+
tokens: arrayOf(
|
|
2173
|
+
() => factories['io.flow.channel.internal.v0.models.channel_organization_token'](),
|
|
2174
|
+
),
|
|
2175
|
+
}),
|
|
2176
|
+
|
|
2177
|
+
'io.flow.channel.internal.v0.models.channel_organization_installation_post_form': (): io.flow.channel.internal.v0.models.ChannelOrganizationInstallationPostForm => ({
|
|
2178
|
+
form: factories['io.flow.channel.v0.models.channel_organization_form'](),
|
|
2179
|
+
metadata: factories['io.flow.channel.internal.v0.models.channel_organization_metadata'](),
|
|
2180
|
+
}),
|
|
2181
|
+
|
|
2182
|
+
'io.flow.channel.internal.v0.models.channel_organization_metadata': (): io.flow.channel.internal.v0.models.ChannelOrganizationMetadata => ({
|
|
2183
|
+
domain: factories['io.flow.channel.internal.v0.models.channel_organization_domain'](),
|
|
2184
|
+
token: factories.string(),
|
|
2185
|
+
}),
|
|
2186
|
+
|
|
2187
|
+
'io.flow.channel.internal.v0.models.channel_organization_token': (): io.flow.channel.internal.v0.models.ChannelOrganizationToken => ({
|
|
2188
|
+
token: factories['io.flow.channel.internal.v0.models.channel_organization_token_body'](),
|
|
2189
|
+
service: factories['io.flow.channel.internal.v0.enums.channel_service'](),
|
|
2190
|
+
}),
|
|
2191
|
+
|
|
2192
|
+
'io.flow.channel.internal.v0.models.channel_organization_token_body': (): io.flow.channel.internal.v0.models.ChannelOrganizationTokenBody => ({
|
|
2193
|
+
cleartext: factories.string(),
|
|
2194
|
+
}),
|
|
2195
|
+
|
|
2158
2196
|
'io.flow.channel.internal.v0.models.flow_channel_organization': (): io.flow.channel.internal.v0.models.FlowChannelOrganization => ({
|
|
2159
2197
|
placeholder: factories.string(),
|
|
2160
2198
|
}),
|
|
@@ -5706,6 +5744,7 @@ const factories = {
|
|
|
5706
5744
|
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
5707
5745
|
price: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
5708
5746
|
service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
5747
|
+
actual_service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
5709
5748
|
tier: factories['io.flow.fulfillment.v0.models.tier_summary'](),
|
|
5710
5749
|
window: factories['io.flow.fulfillment.v0.models.delivery_window'](),
|
|
5711
5750
|
rule_outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome'](),
|
|
@@ -6942,7 +6981,9 @@ const factories = {
|
|
|
6942
6981
|
|
|
6943
6982
|
'io.flow.internal.v0.enums.channel_order_acceptance_status': (): io.flow.internal.v0.enums.ChannelOrderAcceptanceStatus => faker.helpers.arrayElement(['accepted', 'rejected', 'review', 'edit_review', 'edit_accepted']),
|
|
6944
6983
|
'io.flow.internal.v0.enums.channel_order_fulfillment_status_code': (): io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode => faker.helpers.arrayElement(['unfulfilled', 'fulfilled', 'partial', 'cancelled']),
|
|
6945
|
-
'io.flow.internal.v0.enums.
|
|
6984
|
+
'io.flow.internal.v0.enums.channel_service': (): io.flow.internal.v0.enums.ChannelService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']),
|
|
6985
|
+
'io.flow.internal.v0.enums.channel_transaction_trigger_type': (): io.flow.internal.v0.enums.ChannelTransactionTriggerType => faker.helpers.arrayElement(['capture', 'order']),
|
|
6986
|
+
'io.flow.internal.v0.enums.channel_transaction_type': (): io.flow.internal.v0.enums.ChannelTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'processing', 'order']),
|
|
6946
6987
|
'io.flow.internal.v0.enums.chapter_check_status': (): io.flow.internal.v0.enums.ChapterCheckStatus => faker.helpers.arrayElement(['apparel_like', 'similar', 'does_not_match']),
|
|
6947
6988
|
'io.flow.internal.v0.enums.charge_estimate_source': (): io.flow.internal.v0.enums.ChargeEstimateSource => faker.helpers.arrayElement(['global-e', 'shopify']),
|
|
6948
6989
|
|
|
@@ -7069,6 +7110,8 @@ const factories = {
|
|
|
7069
7110
|
'organization_account_deleted',
|
|
7070
7111
|
'account_transactions_export_request',
|
|
7071
7112
|
'account_orders_export_request',
|
|
7113
|
+
'fulfillment_status_upserted',
|
|
7114
|
+
'fulfillment_status_deleted',
|
|
7072
7115
|
'main_transaction_upserted',
|
|
7073
7116
|
'main_transaction_deleted',
|
|
7074
7117
|
'main_transaction_upserted_v2',
|
|
@@ -9891,6 +9934,11 @@ const factories = {
|
|
|
9891
9934
|
channel_order_summary: factories['io.flow.internal.v0.models.channel_order_summary'](),
|
|
9892
9935
|
}),
|
|
9893
9936
|
|
|
9937
|
+
'io.flow.internal.v0.models.channel_organization_domain': (): io.flow.internal.v0.models.ChannelOrganizationDomain => ({
|
|
9938
|
+
internal: factories.string(),
|
|
9939
|
+
'public': factories.string(),
|
|
9940
|
+
}),
|
|
9941
|
+
|
|
9894
9942
|
'io.flow.internal.v0.models.channel_organization_identifier': (): io.flow.internal.v0.models.ChannelOrganizationIdentifier => ({
|
|
9895
9943
|
id: factories.string(),
|
|
9896
9944
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
@@ -9913,6 +9961,21 @@ const factories = {
|
|
|
9913
9961
|
channel_organization_identifier: factories['io.flow.internal.v0.models.channel_organization_identifier'](),
|
|
9914
9962
|
}),
|
|
9915
9963
|
|
|
9964
|
+
'io.flow.internal.v0.models.channel_organization_installation': (): io.flow.internal.v0.models.ChannelOrganizationInstallation => ({
|
|
9965
|
+
organization: factories['io.flow.channel.v0.models.channel_organization'](),
|
|
9966
|
+
tokens: arrayOf(() => factories['io.flow.internal.v0.models.channel_organization_token']()),
|
|
9967
|
+
}),
|
|
9968
|
+
|
|
9969
|
+
'io.flow.internal.v0.models.channel_organization_installation_post_form': (): io.flow.internal.v0.models.ChannelOrganizationInstallationPostForm => ({
|
|
9970
|
+
form: factories['io.flow.channel.v0.models.channel_organization_form'](),
|
|
9971
|
+
metadata: factories['io.flow.internal.v0.models.channel_organization_metadata'](),
|
|
9972
|
+
}),
|
|
9973
|
+
|
|
9974
|
+
'io.flow.internal.v0.models.channel_organization_metadata': (): io.flow.internal.v0.models.ChannelOrganizationMetadata => ({
|
|
9975
|
+
domain: factories['io.flow.internal.v0.models.channel_organization_domain'](),
|
|
9976
|
+
token: factories.string(),
|
|
9977
|
+
}),
|
|
9978
|
+
|
|
9916
9979
|
'io.flow.internal.v0.models.channel_organization_publication_owner': (): io.flow.internal.v0.models.ChannelOrganizationPublicationOwner => ({
|
|
9917
9980
|
owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
9918
9981
|
}),
|
|
@@ -9947,6 +10010,15 @@ const factories = {
|
|
|
9947
10010
|
metadata: factories['io.flow.internal.v0.models.shopify_metadata'](),
|
|
9948
10011
|
}),
|
|
9949
10012
|
|
|
10013
|
+
'io.flow.internal.v0.models.channel_organization_token': (): io.flow.internal.v0.models.ChannelOrganizationToken => ({
|
|
10014
|
+
token: factories['io.flow.internal.v0.models.channel_organization_token_body'](),
|
|
10015
|
+
service: factories['io.flow.internal.v0.enums.channel_service'](),
|
|
10016
|
+
}),
|
|
10017
|
+
|
|
10018
|
+
'io.flow.internal.v0.models.channel_organization_token_body': (): io.flow.internal.v0.models.ChannelOrganizationTokenBody => ({
|
|
10019
|
+
cleartext: factories.string(),
|
|
10020
|
+
}),
|
|
10021
|
+
|
|
9950
10022
|
'io.flow.internal.v0.models.channel_rate_metadata_identity': (): io.flow.internal.v0.models.ChannelRateMetadataIdentity => ({
|
|
9951
10023
|
discriminator: 'channel_rate_metadata_identity',
|
|
9952
10024
|
currency: factories.string(),
|
|
@@ -9993,6 +10065,11 @@ const factories = {
|
|
|
9993
10065
|
timestamp: factories.date_time_iso_8601(),
|
|
9994
10066
|
}),
|
|
9995
10067
|
|
|
10068
|
+
'io.flow.internal.v0.models.channel_transaction_trigger_metadata': (): io.flow.internal.v0.models.ChannelTransactionTriggerMetadata => ({
|
|
10069
|
+
discriminator: 'channel_transaction_trigger_metadata',
|
|
10070
|
+
trigger_type: factories['io.flow.internal.v0.enums.channel_transaction_trigger_type'](),
|
|
10071
|
+
}),
|
|
10072
|
+
|
|
9996
10073
|
'io.flow.internal.v0.models.channel_transaction_upserted': (): io.flow.internal.v0.models.ChannelTransactionUpserted => ({
|
|
9997
10074
|
discriminator: 'channel_transaction_upserted',
|
|
9998
10075
|
event_id: factories.string(),
|
|
@@ -11766,6 +11843,11 @@ const factories = {
|
|
|
11766
11843
|
processing: factories['io.flow.internal.v0.models.fee'](),
|
|
11767
11844
|
rate_lock: factories['io.flow.internal.v0.models.fee'](),
|
|
11768
11845
|
mor: factories['io.flow.internal.v0.models.fee'](),
|
|
11846
|
+
tax: factories['io.flow.internal.v0.models.fee'](),
|
|
11847
|
+
duty: factories['io.flow.internal.v0.models.fee'](),
|
|
11848
|
+
tax_and_duty: factories['io.flow.internal.v0.models.fee'](),
|
|
11849
|
+
product: factories['io.flow.internal.v0.models.fee'](),
|
|
11850
|
+
tax_and_duty_fx_diff: factories['io.flow.internal.v0.models.fee'](),
|
|
11769
11851
|
fx: factories['io.flow.internal.v0.models.fee'](),
|
|
11770
11852
|
duty_guarantee: factories['io.flow.internal.v0.models.fee'](),
|
|
11771
11853
|
transfer: factories['io.flow.internal.v0.models.fee'](),
|
|
@@ -12374,6 +12456,31 @@ const factories = {
|
|
|
12374
12456
|
fulfillment_updated_at: factories.date_time_iso_8601(),
|
|
12375
12457
|
}),
|
|
12376
12458
|
|
|
12459
|
+
'io.flow.internal.v0.models.fulfillment_status_deleted': (): io.flow.internal.v0.models.FulfillmentStatusDeleted => ({
|
|
12460
|
+
discriminator: 'fulfillment_status_deleted',
|
|
12461
|
+
event_id: factories.string(),
|
|
12462
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12463
|
+
organization: factories.string(),
|
|
12464
|
+
id: factories.string(),
|
|
12465
|
+
}),
|
|
12466
|
+
|
|
12467
|
+
'io.flow.internal.v0.models.fulfillment_status_summary': (): io.flow.internal.v0.models.FulfillmentStatusSummary => ({
|
|
12468
|
+
id: factories.string(),
|
|
12469
|
+
order_number: factories.string(),
|
|
12470
|
+
organization_id: factories.string(),
|
|
12471
|
+
fulfilled_at: factories.date_time_iso_8601(),
|
|
12472
|
+
sequence_number: factories.long(),
|
|
12473
|
+
completes_order: factories.boolean(),
|
|
12474
|
+
}),
|
|
12475
|
+
|
|
12476
|
+
'io.flow.internal.v0.models.fulfillment_status_upserted': (): io.flow.internal.v0.models.FulfillmentStatusUpserted => ({
|
|
12477
|
+
discriminator: 'fulfillment_status_upserted',
|
|
12478
|
+
event_id: factories.string(),
|
|
12479
|
+
timestamp: factories.date_time_iso_8601(),
|
|
12480
|
+
organization: factories.string(),
|
|
12481
|
+
fulfillment: factories['io.flow.internal.v0.models.fulfillment_status_summary'](),
|
|
12482
|
+
}),
|
|
12483
|
+
|
|
12377
12484
|
'io.flow.internal.v0.models.fulfillment_subsidy_breakdown': (): io.flow.internal.v0.models.FulfillmentSubsidyBreakdown => ({
|
|
12378
12485
|
tax: factories.decimal(),
|
|
12379
12486
|
duty: factories.decimal(),
|
|
@@ -20103,6 +20210,8 @@ const factories = {
|
|
|
20103
20210
|
() => factories['io.flow.internal.v0.models.organization_account_deleted'](),
|
|
20104
20211
|
() => factories['io.flow.internal.v0.models.account_transactions_export_request'](),
|
|
20105
20212
|
() => factories['io.flow.internal.v0.models.account_orders_export_request'](),
|
|
20213
|
+
() => factories['io.flow.internal.v0.models.fulfillment_status_upserted'](),
|
|
20214
|
+
() => factories['io.flow.internal.v0.models.fulfillment_status_deleted'](),
|
|
20106
20215
|
() => factories['io.flow.internal.v0.models.main_transaction_upserted'](),
|
|
20107
20216
|
() => factories['io.flow.internal.v0.models.main_transaction_deleted'](),
|
|
20108
20217
|
() => factories['io.flow.internal.v0.models.main_transaction_upserted_v2'](),
|
|
@@ -20871,6 +20980,7 @@ const factories = {
|
|
|
20871
20980
|
() => factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](),
|
|
20872
20981
|
() => factories['io.flow.internal.v0.models.accounting_return_metadata'](),
|
|
20873
20982
|
() => factories['io.flow.internal.v0.models.non_l4l_tax_duty_fx_fee_metadata'](),
|
|
20983
|
+
() => factories['io.flow.internal.v0.models.channel_transaction_trigger_metadata'](),
|
|
20874
20984
|
]);
|
|
20875
20985
|
|
|
20876
20986
|
return f();
|
|
@@ -21487,7 +21597,11 @@ const factories = {
|
|
|
21487
21597
|
},
|
|
21488
21598
|
|
|
21489
21599
|
'io.flow.merchant.of.record.v0.enums.economic_title_location': (): io.flow.merchant.of.record.v0.enums.EconomicTitleLocation => faker.helpers.arrayElement(['high_seas', 'origination', 'destination']),
|
|
21490
|
-
|
|
21600
|
+
|
|
21601
|
+
'io.flow.merchant.of.record.v0.enums.flow_entity': (): io.flow.merchant.of.record.v0.enums.FlowEntity => faker.helpers.arrayElement(
|
|
21602
|
+
['flow-usa', 'flow-irl', 'flow-can', 'ge-usa', 'ge-can', 'ge-gbr', 'ge-irl'],
|
|
21603
|
+
),
|
|
21604
|
+
|
|
21491
21605
|
'io.flow.merchant.onboarding.v0.enums.logistics_format_preference': (): io.flow.merchant.onboarding.v0.enums.LogisticsFormatPreference => faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']),
|
|
21492
21606
|
'io.flow.merchant.onboarding.v0.enums.onboarding_application_status': (): io.flow.merchant.onboarding.v0.enums.OnboardingApplicationStatus => faker.helpers.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']),
|
|
21493
21607
|
|
|
@@ -31413,9 +31527,13 @@ export const makeChannelOrderSummary = () => factories['io.flow.internal.v0.mode
|
|
|
31413
31527
|
export const makeChannelOrderSummaryDeleted = () => factories['io.flow.internal.v0.models.channel_order_summary_deleted']();
|
|
31414
31528
|
export const makeChannelOrderSummaryFulfillmentDetails = () => factories['io.flow.internal.v0.models.channel_order_summary_fulfillment_details']();
|
|
31415
31529
|
export const makeChannelOrderSummaryUpserted = () => factories['io.flow.internal.v0.models.channel_order_summary_upserted']();
|
|
31530
|
+
export const makeChannelOrganizationDomain = () => factories['io.flow.internal.v0.models.channel_organization_domain']();
|
|
31416
31531
|
export const makeChannelOrganizationIdentifier = () => factories['io.flow.internal.v0.models.channel_organization_identifier']();
|
|
31417
31532
|
export const makeChannelOrganizationIdentifierDeleted = () => factories['io.flow.internal.v0.models.channel_organization_identifier_deleted']();
|
|
31418
31533
|
export const makeChannelOrganizationIdentifierUpserted = () => factories['io.flow.internal.v0.models.channel_organization_identifier_upserted']();
|
|
31534
|
+
export const makeChannelOrganizationInstallation = () => factories['io.flow.internal.v0.models.channel_organization_installation']();
|
|
31535
|
+
export const makeChannelOrganizationInstallationPostForm = () => factories['io.flow.internal.v0.models.channel_organization_installation_post_form']();
|
|
31536
|
+
export const makeChannelOrganizationMetadata = () => factories['io.flow.internal.v0.models.channel_organization_metadata']();
|
|
31419
31537
|
export const makeChannelOrganizationPublicationOwner = () => factories['io.flow.internal.v0.models.channel_organization_publication_owner']();
|
|
31420
31538
|
export const makeChannelOrganizationPublicationOwnerPutForm = () => factories['io.flow.internal.v0.models.channel_organization_publication_owner_put_form']();
|
|
31421
31539
|
export const makeChannelOrganizationSellabilityStatus = () => factories['io.flow.internal.v0.models.channel_organization_sellability_status']();
|
|
@@ -31423,12 +31541,17 @@ export const makeChannelOrganizationSellabilityStatusPutForm = () => factories['
|
|
|
31423
31541
|
export const makeChannelOrganizationShopify = () => factories['io.flow.internal.v0.models.channel_organization_shopify']();
|
|
31424
31542
|
export const makeChannelOrganizationShopifyForm = () => factories['io.flow.internal.v0.models.channel_organization_shopify_form']();
|
|
31425
31543
|
export const makeChannelOrganizationShopifyPostForm = () => factories['io.flow.internal.v0.models.channel_organization_shopify_post_form']();
|
|
31544
|
+
export const makeChannelOrganizationToken = () => factories['io.flow.internal.v0.models.channel_organization_token']();
|
|
31545
|
+
export const makeChannelOrganizationTokenBody = () => factories['io.flow.internal.v0.models.channel_organization_token_body']();
|
|
31426
31546
|
export const makeChannelRateMetadata = () => factories['io.flow.internal.v0.unions.channel_rate_metadata']();
|
|
31427
31547
|
export const makeChannelRateMetadataIdentity = () => factories['io.flow.internal.v0.models.channel_rate_metadata_identity']();
|
|
31428
31548
|
export const makeChannelRateMetadataRate = () => factories['io.flow.internal.v0.models.channel_rate_metadata_rate']();
|
|
31549
|
+
export const makeChannelService = () => factories['io.flow.internal.v0.enums.channel_service']();
|
|
31429
31550
|
export const makeChannelTransaction = () => factories['io.flow.internal.v0.models.channel_transaction']();
|
|
31430
31551
|
export const makeChannelTransactionDeleted = () => factories['io.flow.internal.v0.models.channel_transaction_deleted']();
|
|
31431
31552
|
export const makeChannelTransactionRate = () => factories['io.flow.internal.v0.models.channel_transaction_rate']();
|
|
31553
|
+
export const makeChannelTransactionTriggerMetadata = () => factories['io.flow.internal.v0.models.channel_transaction_trigger_metadata']();
|
|
31554
|
+
export const makeChannelTransactionTriggerType = () => factories['io.flow.internal.v0.enums.channel_transaction_trigger_type']();
|
|
31432
31555
|
export const makeChannelTransactionType = () => factories['io.flow.internal.v0.enums.channel_transaction_type']();
|
|
31433
31556
|
export const makeChannelTransactionUpserted = () => factories['io.flow.internal.v0.models.channel_transaction_upserted']();
|
|
31434
31557
|
export const makeChapterCheckResult = () => factories['io.flow.internal.v0.models.chapter_check_result']();
|
|
@@ -31809,6 +31932,9 @@ export const makeFulfillmentProofShippingNotificationReference = () => factories
|
|
|
31809
31932
|
export const makeFulfillmentReference = () => factories['io.flow.internal.v0.models.fulfillment_reference']();
|
|
31810
31933
|
export const makeFulfillmentShopperBreakdown = () => factories['io.flow.internal.v0.models.fulfillment_shopper_breakdown']();
|
|
31811
31934
|
export const makeFulfillmentSnapshot = () => factories['io.flow.internal.v0.models.fulfillment_snapshot']();
|
|
31935
|
+
export const makeFulfillmentStatusDeleted = () => factories['io.flow.internal.v0.models.fulfillment_status_deleted']();
|
|
31936
|
+
export const makeFulfillmentStatusSummary = () => factories['io.flow.internal.v0.models.fulfillment_status_summary']();
|
|
31937
|
+
export const makeFulfillmentStatusUpserted = () => factories['io.flow.internal.v0.models.fulfillment_status_upserted']();
|
|
31812
31938
|
export const makeFulfillmentSubsidyBreakdown = () => factories['io.flow.internal.v0.models.fulfillment_subsidy_breakdown']();
|
|
31813
31939
|
export const makeFulfillmentTrigger = () => factories['io.flow.internal.v0.unions.fulfillment_trigger']();
|
|
31814
31940
|
export const makeFulfillmentTriggerProof = () => factories['io.flow.internal.v0.models.fulfillment_trigger_proof']();
|