@flowio/api-internal-factories 0.0.136 → 0.0.138
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 +175 -36
- package/dist/esm/api-internal.js +130 -4
- package/dist/types/api-internal.d.ts +13 -0
- package/package.json +2 -2
- package/src/api-internal.ts +154 -4
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', 'all']),
|
|
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', 'all']),
|
|
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',
|
|
@@ -7628,7 +7671,7 @@ const factories = {
|
|
|
7628
7671
|
'io.flow.internal.v0.enums.organization_restriction_review_type': (): io.flow.internal.v0.enums.OrganizationRestrictionReviewType => faker.helpers.arrayElement(['all_pending', 'pending_verification']),
|
|
7629
7672
|
'io.flow.internal.v0.enums.organization_restriction_risk_level': (): io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel => faker.helpers.arrayElement(['5', '15']),
|
|
7630
7673
|
'io.flow.internal.v0.enums.organization_restriction_screening_status': (): io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus => faker.helpers.arrayElement(['in_review', 'fully_reviewed', 'rejected', 'unscreened']),
|
|
7631
|
-
'io.flow.internal.v0.enums.organization_source': (): io.flow.internal.v0.enums.OrganizationSource => faker.helpers.arrayElement(['shopify', 'enterprise']),
|
|
7674
|
+
'io.flow.internal.v0.enums.organization_source': (): io.flow.internal.v0.enums.OrganizationSource => faker.helpers.arrayElement(['shopify', 'smb', 'enterprise']),
|
|
7632
7675
|
'io.flow.internal.v0.enums.output_style': (): io.flow.internal.v0.enums.OutputStyle => faker.helpers.arrayElement(['flow', 'shopify_p1']),
|
|
7633
7676
|
'io.flow.internal.v0.enums.owner': (): io.flow.internal.v0.enums.Owner => faker.helpers.arrayElement(['flow', 'organization']),
|
|
7634
7677
|
'io.flow.internal.v0.enums.payment_short_url_discriminator': (): io.flow.internal.v0.enums.PaymentShortUrlDiscriminator => faker.helpers.arrayElement(['adyen_3ds2']),
|
|
@@ -7739,7 +7782,7 @@ const factories = {
|
|
|
7739
7782
|
|
|
7740
7783
|
'io.flow.internal.v0.enums.restriction_decision': (): io.flow.internal.v0.enums.RestrictionDecision => faker.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']),
|
|
7741
7784
|
'io.flow.internal.v0.enums.restriction_organization_channel': (): io.flow.internal.v0.enums.RestrictionOrganizationChannel => faker.helpers.arrayElement(['shopify', 'enterprise', 'shopify-sandbox', 'enterprise-sandbox']),
|
|
7742
|
-
'io.flow.internal.v0.enums.restriction_organization_source': (): io.flow.internal.v0.enums.RestrictionOrganizationSource => faker.helpers.arrayElement(['shopify', 'enterprise']),
|
|
7785
|
+
'io.flow.internal.v0.enums.restriction_organization_source': (): io.flow.internal.v0.enums.RestrictionOrganizationSource => faker.helpers.arrayElement(['shopify', 'smb', 'enterprise']),
|
|
7743
7786
|
'io.flow.internal.v0.enums.restriction_rule_activation_status': (): io.flow.internal.v0.enums.RestrictionRuleActivationStatus => faker.helpers.arrayElement(['draft', 'active', 'inactive']),
|
|
7744
7787
|
'io.flow.internal.v0.enums.restriction_rule_community_exemption': (): io.flow.internal.v0.enums.RestrictionRuleCommunityExemption => faker.helpers.arrayElement(['domestic_exemption', 'intra_eu_exemption']),
|
|
7745
7788
|
'io.flow.internal.v0.enums.restriction_rule_exception_action': (): io.flow.internal.v0.enums.RestrictionRuleExceptionAction => faker.helpers.arrayElement(['allow', 'deny']),
|
|
@@ -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(),
|
|
@@ -13913,6 +14020,11 @@ const factories = {
|
|
|
13913
14020
|
processing: factories.decimal(),
|
|
13914
14021
|
rate_lock: factories.decimal(),
|
|
13915
14022
|
transfer: factories.decimal(),
|
|
14023
|
+
product_fee: factories.decimal(),
|
|
14024
|
+
estimated_tax: factories.decimal(),
|
|
14025
|
+
estimated_duty: factories.decimal(),
|
|
14026
|
+
estimated_duties_and_taxes: factories.decimal(),
|
|
14027
|
+
td_fx_diff: factories.decimal(),
|
|
13916
14028
|
total: factories.decimal(),
|
|
13917
14029
|
}),
|
|
13918
14030
|
|
|
@@ -15737,6 +15849,11 @@ const factories = {
|
|
|
15737
15849
|
item: factories.string(),
|
|
15738
15850
|
}),
|
|
15739
15851
|
|
|
15852
|
+
'io.flow.internal.v0.models.price_inclusivity': (): io.flow.internal.v0.models.PriceInclusivity => ({
|
|
15853
|
+
tax: factories.boolean(),
|
|
15854
|
+
duty: factories.boolean(),
|
|
15855
|
+
}),
|
|
15856
|
+
|
|
15740
15857
|
'io.flow.internal.v0.models.prioritized_center_reference': (): io.flow.internal.v0.models.PrioritizedCenterReference => ({
|
|
15741
15858
|
center_key: factories.string(),
|
|
15742
15859
|
position: factories.long(),
|
|
@@ -16649,6 +16766,8 @@ const factories = {
|
|
|
16649
16766
|
destination_country: factories.decimal(),
|
|
16650
16767
|
usd: factories.decimal(),
|
|
16651
16768
|
eur: factories.decimal(),
|
|
16769
|
+
guaranteed: factories.decimal(),
|
|
16770
|
+
spot: factories.decimal(),
|
|
16652
16771
|
}),
|
|
16653
16772
|
|
|
16654
16773
|
'io.flow.internal.v0.models.reporting_country': (): io.flow.internal.v0.models.ReportingCountry => ({
|
|
@@ -16694,6 +16813,11 @@ const factories = {
|
|
|
16694
16813
|
mor: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16695
16814
|
fx: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16696
16815
|
sp: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16816
|
+
product_fee: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16817
|
+
estimated_tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16818
|
+
estimated_duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16819
|
+
estimated_duties_and_taxes: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16820
|
+
td_fx_diff: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16697
16821
|
}),
|
|
16698
16822
|
|
|
16699
16823
|
'io.flow.internal.v0.models.reporting_fulfillment': (): io.flow.internal.v0.models.ReportingFulfillment => ({
|
|
@@ -16759,6 +16883,11 @@ const factories = {
|
|
|
16759
16883
|
processing: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16760
16884
|
rate_lock: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16761
16885
|
transfer: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16886
|
+
product_fee: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16887
|
+
estimated_tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16888
|
+
estimated_duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16889
|
+
estimated_duties_and_taxes: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16890
|
+
td_fx_diff: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16762
16891
|
total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
16763
16892
|
}),
|
|
16764
16893
|
|
|
@@ -17473,6 +17602,7 @@ const factories = {
|
|
|
17473
17602
|
fees: factories['io.flow.internal.v0.models.reporting_fees'](),
|
|
17474
17603
|
conversion_rate: factories['io.flow.internal.v0.models.reporting_conversion_rates'](),
|
|
17475
17604
|
payment_is: factories['io.flow.internal.v0.models.payment_is'](),
|
|
17605
|
+
price_inclusivity: factories['io.flow.internal.v0.models.price_inclusivity'](),
|
|
17476
17606
|
destination_country: factories.string(),
|
|
17477
17607
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
17478
17608
|
}),
|
|
@@ -20103,6 +20233,8 @@ const factories = {
|
|
|
20103
20233
|
() => factories['io.flow.internal.v0.models.organization_account_deleted'](),
|
|
20104
20234
|
() => factories['io.flow.internal.v0.models.account_transactions_export_request'](),
|
|
20105
20235
|
() => factories['io.flow.internal.v0.models.account_orders_export_request'](),
|
|
20236
|
+
() => factories['io.flow.internal.v0.models.fulfillment_status_upserted'](),
|
|
20237
|
+
() => factories['io.flow.internal.v0.models.fulfillment_status_deleted'](),
|
|
20106
20238
|
() => factories['io.flow.internal.v0.models.main_transaction_upserted'](),
|
|
20107
20239
|
() => factories['io.flow.internal.v0.models.main_transaction_deleted'](),
|
|
20108
20240
|
() => factories['io.flow.internal.v0.models.main_transaction_upserted_v2'](),
|
|
@@ -20871,6 +21003,7 @@ const factories = {
|
|
|
20871
21003
|
() => factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](),
|
|
20872
21004
|
() => factories['io.flow.internal.v0.models.accounting_return_metadata'](),
|
|
20873
21005
|
() => factories['io.flow.internal.v0.models.non_l4l_tax_duty_fx_fee_metadata'](),
|
|
21006
|
+
() => factories['io.flow.internal.v0.models.channel_transaction_trigger_metadata'](),
|
|
20874
21007
|
]);
|
|
20875
21008
|
|
|
20876
21009
|
return f();
|
|
@@ -21487,7 +21620,11 @@ const factories = {
|
|
|
21487
21620
|
},
|
|
21488
21621
|
|
|
21489
21622
|
'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
|
-
|
|
21623
|
+
|
|
21624
|
+
'io.flow.merchant.of.record.v0.enums.flow_entity': (): io.flow.merchant.of.record.v0.enums.FlowEntity => faker.helpers.arrayElement(
|
|
21625
|
+
['flow-usa', 'flow-irl', 'flow-can', 'ge-usa', 'ge-can', 'ge-gbr', 'ge-irl'],
|
|
21626
|
+
),
|
|
21627
|
+
|
|
21491
21628
|
'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
21629
|
'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
21630
|
|
|
@@ -31413,9 +31550,13 @@ export const makeChannelOrderSummary = () => factories['io.flow.internal.v0.mode
|
|
|
31413
31550
|
export const makeChannelOrderSummaryDeleted = () => factories['io.flow.internal.v0.models.channel_order_summary_deleted']();
|
|
31414
31551
|
export const makeChannelOrderSummaryFulfillmentDetails = () => factories['io.flow.internal.v0.models.channel_order_summary_fulfillment_details']();
|
|
31415
31552
|
export const makeChannelOrderSummaryUpserted = () => factories['io.flow.internal.v0.models.channel_order_summary_upserted']();
|
|
31553
|
+
export const makeChannelOrganizationDomain = () => factories['io.flow.internal.v0.models.channel_organization_domain']();
|
|
31416
31554
|
export const makeChannelOrganizationIdentifier = () => factories['io.flow.internal.v0.models.channel_organization_identifier']();
|
|
31417
31555
|
export const makeChannelOrganizationIdentifierDeleted = () => factories['io.flow.internal.v0.models.channel_organization_identifier_deleted']();
|
|
31418
31556
|
export const makeChannelOrganizationIdentifierUpserted = () => factories['io.flow.internal.v0.models.channel_organization_identifier_upserted']();
|
|
31557
|
+
export const makeChannelOrganizationInstallation = () => factories['io.flow.internal.v0.models.channel_organization_installation']();
|
|
31558
|
+
export const makeChannelOrganizationInstallationPostForm = () => factories['io.flow.internal.v0.models.channel_organization_installation_post_form']();
|
|
31559
|
+
export const makeChannelOrganizationMetadata = () => factories['io.flow.internal.v0.models.channel_organization_metadata']();
|
|
31419
31560
|
export const makeChannelOrganizationPublicationOwner = () => factories['io.flow.internal.v0.models.channel_organization_publication_owner']();
|
|
31420
31561
|
export const makeChannelOrganizationPublicationOwnerPutForm = () => factories['io.flow.internal.v0.models.channel_organization_publication_owner_put_form']();
|
|
31421
31562
|
export const makeChannelOrganizationSellabilityStatus = () => factories['io.flow.internal.v0.models.channel_organization_sellability_status']();
|
|
@@ -31423,12 +31564,17 @@ export const makeChannelOrganizationSellabilityStatusPutForm = () => factories['
|
|
|
31423
31564
|
export const makeChannelOrganizationShopify = () => factories['io.flow.internal.v0.models.channel_organization_shopify']();
|
|
31424
31565
|
export const makeChannelOrganizationShopifyForm = () => factories['io.flow.internal.v0.models.channel_organization_shopify_form']();
|
|
31425
31566
|
export const makeChannelOrganizationShopifyPostForm = () => factories['io.flow.internal.v0.models.channel_organization_shopify_post_form']();
|
|
31567
|
+
export const makeChannelOrganizationToken = () => factories['io.flow.internal.v0.models.channel_organization_token']();
|
|
31568
|
+
export const makeChannelOrganizationTokenBody = () => factories['io.flow.internal.v0.models.channel_organization_token_body']();
|
|
31426
31569
|
export const makeChannelRateMetadata = () => factories['io.flow.internal.v0.unions.channel_rate_metadata']();
|
|
31427
31570
|
export const makeChannelRateMetadataIdentity = () => factories['io.flow.internal.v0.models.channel_rate_metadata_identity']();
|
|
31428
31571
|
export const makeChannelRateMetadataRate = () => factories['io.flow.internal.v0.models.channel_rate_metadata_rate']();
|
|
31572
|
+
export const makeChannelService = () => factories['io.flow.internal.v0.enums.channel_service']();
|
|
31429
31573
|
export const makeChannelTransaction = () => factories['io.flow.internal.v0.models.channel_transaction']();
|
|
31430
31574
|
export const makeChannelTransactionDeleted = () => factories['io.flow.internal.v0.models.channel_transaction_deleted']();
|
|
31431
31575
|
export const makeChannelTransactionRate = () => factories['io.flow.internal.v0.models.channel_transaction_rate']();
|
|
31576
|
+
export const makeChannelTransactionTriggerMetadata = () => factories['io.flow.internal.v0.models.channel_transaction_trigger_metadata']();
|
|
31577
|
+
export const makeChannelTransactionTriggerType = () => factories['io.flow.internal.v0.enums.channel_transaction_trigger_type']();
|
|
31432
31578
|
export const makeChannelTransactionType = () => factories['io.flow.internal.v0.enums.channel_transaction_type']();
|
|
31433
31579
|
export const makeChannelTransactionUpserted = () => factories['io.flow.internal.v0.models.channel_transaction_upserted']();
|
|
31434
31580
|
export const makeChapterCheckResult = () => factories['io.flow.internal.v0.models.chapter_check_result']();
|
|
@@ -31809,6 +31955,9 @@ export const makeFulfillmentProofShippingNotificationReference = () => factories
|
|
|
31809
31955
|
export const makeFulfillmentReference = () => factories['io.flow.internal.v0.models.fulfillment_reference']();
|
|
31810
31956
|
export const makeFulfillmentShopperBreakdown = () => factories['io.flow.internal.v0.models.fulfillment_shopper_breakdown']();
|
|
31811
31957
|
export const makeFulfillmentSnapshot = () => factories['io.flow.internal.v0.models.fulfillment_snapshot']();
|
|
31958
|
+
export const makeFulfillmentStatusDeleted = () => factories['io.flow.internal.v0.models.fulfillment_status_deleted']();
|
|
31959
|
+
export const makeFulfillmentStatusSummary = () => factories['io.flow.internal.v0.models.fulfillment_status_summary']();
|
|
31960
|
+
export const makeFulfillmentStatusUpserted = () => factories['io.flow.internal.v0.models.fulfillment_status_upserted']();
|
|
31812
31961
|
export const makeFulfillmentSubsidyBreakdown = () => factories['io.flow.internal.v0.models.fulfillment_subsidy_breakdown']();
|
|
31813
31962
|
export const makeFulfillmentTrigger = () => factories['io.flow.internal.v0.unions.fulfillment_trigger']();
|
|
31814
31963
|
export const makeFulfillmentTriggerProof = () => factories['io.flow.internal.v0.models.fulfillment_trigger_proof']();
|
|
@@ -32313,6 +32462,7 @@ export const makePrateekItemForm = () => factories['io.flow.internal.v0.models.p
|
|
|
32313
32462
|
export const makePrateekItemType = () => factories['io.flow.internal.v0.enums.prateek_item_type']();
|
|
32314
32463
|
export const makePrediction = () => factories['io.flow.internal.v0.models.prediction']();
|
|
32315
32464
|
export const makePreferredBillingSchedule = () => factories['io.flow.internal.v0.enums.preferred_billing_schedule']();
|
|
32465
|
+
export const makePriceInclusivity = () => factories['io.flow.internal.v0.models.price_inclusivity']();
|
|
32316
32466
|
export const makePriceSelector = () => factories['io.flow.internal.v0.enums.price_selector']();
|
|
32317
32467
|
export const makePrioritizedCenterReference = () => factories['io.flow.internal.v0.models.prioritized_center_reference']();
|
|
32318
32468
|
export const makeProcessingTransaction = () => factories['io.flow.internal.v0.models.processing_transaction']();
|