@flowio/api-internal-factories 0.0.135 → 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 +169 -54
- package/dist/esm/api-internal.js +123 -20
- package/dist/types/api-internal.d.ts +14 -2
- package/package.json +2 -2
- package/src/api-internal.ts +148 -21
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',
|
|
@@ -821,6 +826,7 @@ const factories = {
|
|
|
821
826
|
'merchant_payout',
|
|
822
827
|
'merchant_refund',
|
|
823
828
|
'ge_revenue_share',
|
|
829
|
+
'merchant_fee',
|
|
824
830
|
]),
|
|
825
831
|
|
|
826
832
|
'io.flow.billing.v0.enums.trueup_source': (): io.flow.billing.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']),
|
|
@@ -2078,6 +2084,7 @@ const factories = {
|
|
|
2078
2084
|
]),
|
|
2079
2085
|
|
|
2080
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']),
|
|
2081
2088
|
'io.flow.channel.internal.v0.enums.order_payment_source_type': (): io.flow.channel.internal.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
|
|
2082
2089
|
|
|
2083
2090
|
'io.flow.channel.internal.v0.models.channel_currency_form': (): io.flow.channel.internal.v0.models.ChannelCurrencyForm => ({
|
|
@@ -2154,6 +2161,38 @@ const factories = {
|
|
|
2154
2161
|
rejection_reason: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason'](),
|
|
2155
2162
|
}),
|
|
2156
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
|
+
|
|
2157
2196
|
'io.flow.channel.internal.v0.models.flow_channel_organization': (): io.flow.channel.internal.v0.models.FlowChannelOrganization => ({
|
|
2158
2197
|
placeholder: factories.string(),
|
|
2159
2198
|
}),
|
|
@@ -5705,6 +5744,7 @@ const factories = {
|
|
|
5705
5744
|
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
5706
5745
|
price: factories['io.flow.fulfillment.v0.models.price_with_base_and_details'](),
|
|
5707
5746
|
service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
5747
|
+
actual_service: factories['io.flow.fulfillment.v0.models.service_summary'](),
|
|
5708
5748
|
tier: factories['io.flow.fulfillment.v0.models.tier_summary'](),
|
|
5709
5749
|
window: factories['io.flow.fulfillment.v0.models.delivery_window'](),
|
|
5710
5750
|
rule_outcome: factories['io.flow.fulfillment.v0.unions.tier_rule_outcome'](),
|
|
@@ -6882,7 +6922,7 @@ const factories = {
|
|
|
6882
6922
|
'tax_refund',
|
|
6883
6923
|
'duty_refund',
|
|
6884
6924
|
'ge_revenue_share',
|
|
6885
|
-
'
|
|
6925
|
+
'merchant_fee',
|
|
6886
6926
|
'merchant_payout',
|
|
6887
6927
|
'merchant_refund',
|
|
6888
6928
|
]),
|
|
@@ -6941,7 +6981,9 @@ const factories = {
|
|
|
6941
6981
|
|
|
6942
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']),
|
|
6943
6983
|
'io.flow.internal.v0.enums.channel_order_fulfillment_status_code': (): io.flow.internal.v0.enums.ChannelOrderFulfillmentStatusCode => faker.helpers.arrayElement(['unfulfilled', 'fulfilled', 'partial', 'cancelled']),
|
|
6944
|
-
'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']),
|
|
6945
6987
|
'io.flow.internal.v0.enums.chapter_check_status': (): io.flow.internal.v0.enums.ChapterCheckStatus => faker.helpers.arrayElement(['apparel_like', 'similar', 'does_not_match']),
|
|
6946
6988
|
'io.flow.internal.v0.enums.charge_estimate_source': (): io.flow.internal.v0.enums.ChargeEstimateSource => faker.helpers.arrayElement(['global-e', 'shopify']),
|
|
6947
6989
|
|
|
@@ -7068,6 +7110,8 @@ const factories = {
|
|
|
7068
7110
|
'organization_account_deleted',
|
|
7069
7111
|
'account_transactions_export_request',
|
|
7070
7112
|
'account_orders_export_request',
|
|
7113
|
+
'fulfillment_status_upserted',
|
|
7114
|
+
'fulfillment_status_deleted',
|
|
7071
7115
|
'main_transaction_upserted',
|
|
7072
7116
|
'main_transaction_deleted',
|
|
7073
7117
|
'main_transaction_upserted_v2',
|
|
@@ -7517,6 +7561,8 @@ const factories = {
|
|
|
7517
7561
|
'non_fraud_chargeback',
|
|
7518
7562
|
]),
|
|
7519
7563
|
|
|
7564
|
+
'io.flow.internal.v0.enums.merchant_fee_transaction_type': (): io.flow.internal.v0.enums.MerchantFeeTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'fee']),
|
|
7565
|
+
|
|
7520
7566
|
'io.flow.internal.v0.enums.merchant_of_record': (): io.flow.internal.v0.enums.MerchantOfRecord => faker.helpers.arrayElement([
|
|
7521
7567
|
'global_e_united_states',
|
|
7522
7568
|
'global_e_united_kingdom',
|
|
@@ -7646,7 +7692,6 @@ const factories = {
|
|
|
7646
7692
|
'io.flow.internal.v0.enums.payment_summary_type': (): io.flow.internal.v0.enums.PaymentSummaryType => faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'reversal', 'credit']),
|
|
7647
7693
|
'io.flow.internal.v0.enums.payment_term': (): io.flow.internal.v0.enums.PaymentTerm => faker.helpers.arrayElement(['net7', 'net15', 'net30']),
|
|
7648
7694
|
'io.flow.internal.v0.enums.pending_record_type': (): io.flow.internal.v0.enums.PendingRecordType => faker.helpers.arrayElement(['verification', 'classification', 'restriction']),
|
|
7649
|
-
'io.flow.internal.v0.enums.platform_fee_transaction_type': (): io.flow.internal.v0.enums.PlatformFeeTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'fee']),
|
|
7650
7695
|
'io.flow.internal.v0.enums.prateek_item_type': (): io.flow.internal.v0.enums.PrateekItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7651
7696
|
'io.flow.internal.v0.enums.preferred_billing_schedule': (): io.flow.internal.v0.enums.PreferredBillingSchedule => faker.helpers.arrayElement(['monthly', 'bi-monthly']),
|
|
7652
7697
|
'io.flow.internal.v0.enums.price_selector': (): io.flow.internal.v0.enums.PriceSelector => faker.helpers.arrayElement(['minimum', 'maximum']),
|
|
@@ -9889,6 +9934,11 @@ const factories = {
|
|
|
9889
9934
|
channel_order_summary: factories['io.flow.internal.v0.models.channel_order_summary'](),
|
|
9890
9935
|
}),
|
|
9891
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
|
+
|
|
9892
9942
|
'io.flow.internal.v0.models.channel_organization_identifier': (): io.flow.internal.v0.models.ChannelOrganizationIdentifier => ({
|
|
9893
9943
|
id: factories.string(),
|
|
9894
9944
|
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
@@ -9911,6 +9961,21 @@ const factories = {
|
|
|
9911
9961
|
channel_organization_identifier: factories['io.flow.internal.v0.models.channel_organization_identifier'](),
|
|
9912
9962
|
}),
|
|
9913
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
|
+
|
|
9914
9979
|
'io.flow.internal.v0.models.channel_organization_publication_owner': (): io.flow.internal.v0.models.ChannelOrganizationPublicationOwner => ({
|
|
9915
9980
|
owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
9916
9981
|
}),
|
|
@@ -9945,6 +10010,15 @@ const factories = {
|
|
|
9945
10010
|
metadata: factories['io.flow.internal.v0.models.shopify_metadata'](),
|
|
9946
10011
|
}),
|
|
9947
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
|
+
|
|
9948
10022
|
'io.flow.internal.v0.models.channel_rate_metadata_identity': (): io.flow.internal.v0.models.ChannelRateMetadataIdentity => ({
|
|
9949
10023
|
discriminator: 'channel_rate_metadata_identity',
|
|
9950
10024
|
currency: factories.string(),
|
|
@@ -9991,6 +10065,11 @@ const factories = {
|
|
|
9991
10065
|
timestamp: factories.date_time_iso_8601(),
|
|
9992
10066
|
}),
|
|
9993
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
|
+
|
|
9994
10073
|
'io.flow.internal.v0.models.channel_transaction_upserted': (): io.flow.internal.v0.models.ChannelTransactionUpserted => ({
|
|
9995
10074
|
discriminator: 'channel_transaction_upserted',
|
|
9996
10075
|
event_id: factories.string(),
|
|
@@ -11764,6 +11843,11 @@ const factories = {
|
|
|
11764
11843
|
processing: factories['io.flow.internal.v0.models.fee'](),
|
|
11765
11844
|
rate_lock: factories['io.flow.internal.v0.models.fee'](),
|
|
11766
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'](),
|
|
11767
11851
|
fx: factories['io.flow.internal.v0.models.fee'](),
|
|
11768
11852
|
duty_guarantee: factories['io.flow.internal.v0.models.fee'](),
|
|
11769
11853
|
transfer: factories['io.flow.internal.v0.models.fee'](),
|
|
@@ -12372,6 +12456,31 @@ const factories = {
|
|
|
12372
12456
|
fulfillment_updated_at: factories.date_time_iso_8601(),
|
|
12373
12457
|
}),
|
|
12374
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
|
+
|
|
12375
12484
|
'io.flow.internal.v0.models.fulfillment_subsidy_breakdown': (): io.flow.internal.v0.models.FulfillmentSubsidyBreakdown => ({
|
|
12376
12485
|
tax: factories.decimal(),
|
|
12377
12486
|
duty: factories.decimal(),
|
|
@@ -13890,6 +13999,19 @@ const factories = {
|
|
|
13890
13999
|
name: factories.string(),
|
|
13891
14000
|
}),
|
|
13892
14001
|
|
|
14002
|
+
'io.flow.internal.v0.models.merchant_fee_transaction': (): io.flow.internal.v0.models.MerchantFeeTransaction => ({
|
|
14003
|
+
discriminator: 'merchant_fee_transaction',
|
|
14004
|
+
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
14005
|
+
id: factories.string(),
|
|
14006
|
+
type: factories['io.flow.internal.v0.enums.billing_transaction_type'](),
|
|
14007
|
+
status: factories['io.flow.internal.v0.enums.billing_transaction_status'](),
|
|
14008
|
+
posted_at: factories.date_time_iso_8601(),
|
|
14009
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
14010
|
+
description: factories.string(),
|
|
14011
|
+
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
14012
|
+
created_at: factories.date_time_iso_8601(),
|
|
14013
|
+
}),
|
|
14014
|
+
|
|
13893
14015
|
'io.flow.internal.v0.models.merchant_fees': (): io.flow.internal.v0.models.MerchantFees => ({
|
|
13894
14016
|
duty_guarantee: factories.decimal(),
|
|
13895
14017
|
mor: factories.decimal(),
|
|
@@ -15698,19 +15820,6 @@ const factories = {
|
|
|
15698
15820
|
rate: factories.decimal(),
|
|
15699
15821
|
}),
|
|
15700
15822
|
|
|
15701
|
-
'io.flow.internal.v0.models.platform_fee_transaction': (): io.flow.internal.v0.models.PlatformFeeTransaction => ({
|
|
15702
|
-
discriminator: 'platform_fee_transaction',
|
|
15703
|
-
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
15704
|
-
id: factories.string(),
|
|
15705
|
-
type: factories['io.flow.internal.v0.enums.billing_transaction_type'](),
|
|
15706
|
-
status: factories['io.flow.internal.v0.enums.billing_transaction_status'](),
|
|
15707
|
-
posted_at: factories.date_time_iso_8601(),
|
|
15708
|
-
value: factories['io.flow.common.v0.models.price'](),
|
|
15709
|
-
description: factories.string(),
|
|
15710
|
-
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
15711
|
-
created_at: factories.date_time_iso_8601(),
|
|
15712
|
-
}),
|
|
15713
|
-
|
|
15714
15823
|
'io.flow.internal.v0.models.prateek_item': (): io.flow.internal.v0.models.PrateekItem => ({
|
|
15715
15824
|
id: factories.string(),
|
|
15716
15825
|
number: factories.string(),
|
|
@@ -17019,7 +17128,6 @@ const factories = {
|
|
|
17019
17128
|
'io.flow.internal.v0.models.restriction_organization_decision_summary': (): io.flow.internal.v0.models.RestrictionOrganizationDecisionSummary => ({
|
|
17020
17129
|
organization: factories['io.flow.internal.v0.models.restriction_organization'](),
|
|
17021
17130
|
earliest_pending_date: factories.date_time_iso_8601(),
|
|
17022
|
-
priority_score: factories.decimal(),
|
|
17023
17131
|
date: factories.date_time_iso_8601(),
|
|
17024
17132
|
counts: factories['io.flow.internal.v0.models.restriction_summary_counts'](),
|
|
17025
17133
|
}),
|
|
@@ -20102,6 +20210,8 @@ const factories = {
|
|
|
20102
20210
|
() => factories['io.flow.internal.v0.models.organization_account_deleted'](),
|
|
20103
20211
|
() => factories['io.flow.internal.v0.models.account_transactions_export_request'](),
|
|
20104
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'](),
|
|
20105
20215
|
() => factories['io.flow.internal.v0.models.main_transaction_upserted'](),
|
|
20106
20216
|
() => factories['io.flow.internal.v0.models.main_transaction_deleted'](),
|
|
20107
20217
|
() => factories['io.flow.internal.v0.models.main_transaction_upserted_v2'](),
|
|
@@ -20870,6 +20980,7 @@ const factories = {
|
|
|
20870
20980
|
() => factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](),
|
|
20871
20981
|
() => factories['io.flow.internal.v0.models.accounting_return_metadata'](),
|
|
20872
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'](),
|
|
20873
20984
|
]);
|
|
20874
20985
|
|
|
20875
20986
|
return f();
|
|
@@ -20916,7 +21027,7 @@ const factories = {
|
|
|
20916
21027
|
() => factories['io.flow.internal.v0.models.carrier_charge_transaction'](),
|
|
20917
21028
|
() => factories['io.flow.internal.v0.models.non_l4l_tax_duty_fx_transaction'](),
|
|
20918
21029
|
() => factories['io.flow.internal.v0.models.ge_revenue_share_transaction'](),
|
|
20919
|
-
() => factories['io.flow.internal.v0.models.
|
|
21030
|
+
() => factories['io.flow.internal.v0.models.merchant_fee_transaction'](),
|
|
20920
21031
|
]);
|
|
20921
21032
|
|
|
20922
21033
|
return f();
|
|
@@ -21486,7 +21597,11 @@ const factories = {
|
|
|
21486
21597
|
},
|
|
21487
21598
|
|
|
21488
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']),
|
|
21489
|
-
|
|
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
|
+
|
|
21490
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']),
|
|
21491
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']),
|
|
21492
21607
|
|
|
@@ -31412,9 +31527,13 @@ export const makeChannelOrderSummary = () => factories['io.flow.internal.v0.mode
|
|
|
31412
31527
|
export const makeChannelOrderSummaryDeleted = () => factories['io.flow.internal.v0.models.channel_order_summary_deleted']();
|
|
31413
31528
|
export const makeChannelOrderSummaryFulfillmentDetails = () => factories['io.flow.internal.v0.models.channel_order_summary_fulfillment_details']();
|
|
31414
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']();
|
|
31415
31531
|
export const makeChannelOrganizationIdentifier = () => factories['io.flow.internal.v0.models.channel_organization_identifier']();
|
|
31416
31532
|
export const makeChannelOrganizationIdentifierDeleted = () => factories['io.flow.internal.v0.models.channel_organization_identifier_deleted']();
|
|
31417
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']();
|
|
31418
31537
|
export const makeChannelOrganizationPublicationOwner = () => factories['io.flow.internal.v0.models.channel_organization_publication_owner']();
|
|
31419
31538
|
export const makeChannelOrganizationPublicationOwnerPutForm = () => factories['io.flow.internal.v0.models.channel_organization_publication_owner_put_form']();
|
|
31420
31539
|
export const makeChannelOrganizationSellabilityStatus = () => factories['io.flow.internal.v0.models.channel_organization_sellability_status']();
|
|
@@ -31422,12 +31541,17 @@ export const makeChannelOrganizationSellabilityStatusPutForm = () => factories['
|
|
|
31422
31541
|
export const makeChannelOrganizationShopify = () => factories['io.flow.internal.v0.models.channel_organization_shopify']();
|
|
31423
31542
|
export const makeChannelOrganizationShopifyForm = () => factories['io.flow.internal.v0.models.channel_organization_shopify_form']();
|
|
31424
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']();
|
|
31425
31546
|
export const makeChannelRateMetadata = () => factories['io.flow.internal.v0.unions.channel_rate_metadata']();
|
|
31426
31547
|
export const makeChannelRateMetadataIdentity = () => factories['io.flow.internal.v0.models.channel_rate_metadata_identity']();
|
|
31427
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']();
|
|
31428
31550
|
export const makeChannelTransaction = () => factories['io.flow.internal.v0.models.channel_transaction']();
|
|
31429
31551
|
export const makeChannelTransactionDeleted = () => factories['io.flow.internal.v0.models.channel_transaction_deleted']();
|
|
31430
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']();
|
|
31431
31555
|
export const makeChannelTransactionType = () => factories['io.flow.internal.v0.enums.channel_transaction_type']();
|
|
31432
31556
|
export const makeChannelTransactionUpserted = () => factories['io.flow.internal.v0.models.channel_transaction_upserted']();
|
|
31433
31557
|
export const makeChapterCheckResult = () => factories['io.flow.internal.v0.models.chapter_check_result']();
|
|
@@ -31808,6 +31932,9 @@ export const makeFulfillmentProofShippingNotificationReference = () => factories
|
|
|
31808
31932
|
export const makeFulfillmentReference = () => factories['io.flow.internal.v0.models.fulfillment_reference']();
|
|
31809
31933
|
export const makeFulfillmentShopperBreakdown = () => factories['io.flow.internal.v0.models.fulfillment_shopper_breakdown']();
|
|
31810
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']();
|
|
31811
31938
|
export const makeFulfillmentSubsidyBreakdown = () => factories['io.flow.internal.v0.models.fulfillment_subsidy_breakdown']();
|
|
31812
31939
|
export const makeFulfillmentTrigger = () => factories['io.flow.internal.v0.unions.fulfillment_trigger']();
|
|
31813
31940
|
export const makeFulfillmentTriggerProof = () => factories['io.flow.internal.v0.models.fulfillment_trigger_proof']();
|
|
@@ -32036,6 +32163,8 @@ export const makeMerchantApplicationSummaries = () => factories['io.flow.interna
|
|
|
32036
32163
|
export const makeMerchantApplicationSummary = () => factories['io.flow.internal.v0.models.merchant_application_summary']();
|
|
32037
32164
|
export const makeMerchantDeleted = () => factories['io.flow.internal.v0.models.merchant_deleted']();
|
|
32038
32165
|
export const makeMerchantDetails = () => factories['io.flow.internal.v0.models.merchant_details']();
|
|
32166
|
+
export const makeMerchantFeeTransaction = () => factories['io.flow.internal.v0.models.merchant_fee_transaction']();
|
|
32167
|
+
export const makeMerchantFeeTransactionType = () => factories['io.flow.internal.v0.enums.merchant_fee_transaction_type']();
|
|
32039
32168
|
export const makeMerchantFees = () => factories['io.flow.internal.v0.models.merchant_fees']();
|
|
32040
32169
|
export const makeMerchantGuidAssignment = () => factories['io.flow.internal.v0.models.merchant_guid_assignment']();
|
|
32041
32170
|
export const makeMerchantGuidAssignmentDeleted = () => factories['io.flow.internal.v0.models.merchant_guid_assignment_deleted']();
|
|
@@ -32305,8 +32434,6 @@ export const makePlatformFeeFlat = () => factories['io.flow.internal.v0.models.p
|
|
|
32305
32434
|
export const makePlatformFeePause = () => factories['io.flow.internal.v0.models.platform_fee_pause']();
|
|
32306
32435
|
export const makePlatformFeePercentage = () => factories['io.flow.internal.v0.models.platform_fee_percentage']();
|
|
32307
32436
|
export const makePlatformFeePercentageTier = () => factories['io.flow.internal.v0.models.platform_fee_percentage_tier']();
|
|
32308
|
-
export const makePlatformFeeTransaction = () => factories['io.flow.internal.v0.models.platform_fee_transaction']();
|
|
32309
|
-
export const makePlatformFeeTransactionType = () => factories['io.flow.internal.v0.enums.platform_fee_transaction_type']();
|
|
32310
32437
|
export const makePrateekItem = () => factories['io.flow.internal.v0.models.prateek_item']();
|
|
32311
32438
|
export const makePrateekItemForm = () => factories['io.flow.internal.v0.models.prateek_item_form']();
|
|
32312
32439
|
export const makePrateekItemType = () => factories['io.flow.internal.v0.enums.prateek_item_type']();
|