@flowio/api-internal-factories 0.0.128 → 0.0.129
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 +286 -55
- package/dist/esm/api-internal.js +242 -21
- package/dist/types/api-internal.d.ts +13 -3
- package/package.json +2 -2
- package/src/api-internal.ts +274 -24
package/src/api-internal.ts
CHANGED
|
@@ -757,6 +757,7 @@ const factories = {
|
|
|
757
757
|
'rate_lock',
|
|
758
758
|
'transfer',
|
|
759
759
|
'negative_balance_guarantee',
|
|
760
|
+
'sp',
|
|
760
761
|
]),
|
|
761
762
|
|
|
762
763
|
'io.flow.billing.v0.enums.payout_attachment_type': (): io.flow.billing.v0.enums.PayoutAttachmentType => faker.helpers.arrayElement(['transactions']),
|
|
@@ -776,13 +777,16 @@ const factories = {
|
|
|
776
777
|
'io.flow.billing.v0.enums.statement_attachment_type': (): io.flow.billing.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv']),
|
|
777
778
|
|
|
778
779
|
'io.flow.billing.v0.enums.tax_duty_transaction_reason_code': (): io.flow.billing.v0.enums.TaxDutyTransactionReasonCode => faker.helpers.arrayElement([
|
|
780
|
+
'post_capture',
|
|
781
|
+
'post_fulfilment',
|
|
782
|
+
'manual_payment_or_gift_card',
|
|
779
783
|
'order_edit',
|
|
780
|
-
'order_acceptance',
|
|
781
784
|
'mixed_fulfilment_non_lvg',
|
|
782
785
|
'lvg_refund',
|
|
783
786
|
'order_cancellation_above_de_min',
|
|
784
787
|
'wyol_shipment_above_de_min',
|
|
785
788
|
'full_refund_without_shipment',
|
|
789
|
+
'unfulfilled_order_above_de_min',
|
|
786
790
|
]),
|
|
787
791
|
|
|
788
792
|
'io.flow.billing.v0.enums.transaction_source': (): io.flow.billing.v0.enums.TransactionSource => faker.helpers.arrayElement([
|
|
@@ -2071,6 +2075,7 @@ const factories = {
|
|
|
2071
2075
|
]),
|
|
2072
2076
|
|
|
2073
2077
|
'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']),
|
|
2078
|
+
'io.flow.channel.internal.v0.enums.order_payment_source_type': (): io.flow.channel.internal.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
|
|
2074
2079
|
|
|
2075
2080
|
'io.flow.channel.internal.v0.models.channel_currency_form': (): io.flow.channel.internal.v0.models.ChannelCurrencyForm => ({
|
|
2076
2081
|
currency: factories.string(),
|
|
@@ -2119,7 +2124,7 @@ const factories = {
|
|
|
2119
2124
|
order_created_at: factories.date_time_iso_8601(),
|
|
2120
2125
|
order_updated_at: factories.date_time_iso_8601(),
|
|
2121
2126
|
order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
|
|
2122
|
-
payment_source: factories['io.flow.
|
|
2127
|
+
payment_source: factories['io.flow.channel.internal.v0.enums.order_payment_source_type'](),
|
|
2123
2128
|
}),
|
|
2124
2129
|
|
|
2125
2130
|
'io.flow.channel.internal.v0.models.channel_order_acceptance_details': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceDetails => ({
|
|
@@ -2153,6 +2158,47 @@ const factories = {
|
|
|
2153
2158
|
edited_at: factories.date_time_iso_8601(),
|
|
2154
2159
|
}),
|
|
2155
2160
|
|
|
2161
|
+
'io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner': (): io.flow.channel.shopify.internal.v0.enums.CatalogPublicationOwner => faker.helpers.arrayElement(['shopify', 'globale']),
|
|
2162
|
+
'io.flow.channel.shopify.internal.v0.enums.shopify_service': (): io.flow.channel.shopify.internal.v0.enums.ShopifyService => faker.helpers.arrayElement(['payment', 'duty_tax_calculator', 'sellability']),
|
|
2163
|
+
|
|
2164
|
+
'io.flow.channel.shopify.internal.v0.models.channel_organization_shopify': (): io.flow.channel.shopify.internal.v0.models.ChannelOrganizationShopify => ({
|
|
2165
|
+
organization: factories['io.flow.channel.v0.models.channel_organization'](),
|
|
2166
|
+
|
|
2167
|
+
tokens: arrayOf(
|
|
2168
|
+
() => factories['io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_tokens'](),
|
|
2169
|
+
),
|
|
2170
|
+
}),
|
|
2171
|
+
|
|
2172
|
+
'io.flow.channel.shopify.internal.v0.models.channel_organization_shopify_form': (): io.flow.channel.shopify.internal.v0.models.ChannelOrganizationShopifyForm => ({
|
|
2173
|
+
form: factories['io.flow.channel.v0.models.channel_organization_put_form'](),
|
|
2174
|
+
metadata: factories['io.flow.channel.shopify.internal.v0.models.shopify_metadata'](),
|
|
2175
|
+
}),
|
|
2176
|
+
|
|
2177
|
+
'io.flow.channel.shopify.internal.v0.models.channel_organization_shopify_post_form': (): io.flow.channel.shopify.internal.v0.models.ChannelOrganizationShopifyPostForm => ({
|
|
2178
|
+
form: factories['io.flow.channel.v0.models.channel_organization_form'](),
|
|
2179
|
+
metadata: factories['io.flow.channel.shopify.internal.v0.models.shopify_metadata'](),
|
|
2180
|
+
}),
|
|
2181
|
+
|
|
2182
|
+
'io.flow.channel.shopify.internal.v0.models.shopify_catalog_publication': (): io.flow.channel.shopify.internal.v0.models.ShopifyCatalogPublication => ({
|
|
2183
|
+
owner: factories['io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner'](),
|
|
2184
|
+
}),
|
|
2185
|
+
|
|
2186
|
+
'io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_token': (): io.flow.channel.shopify.internal.v0.models.ShopifyChannelOrganizationToken => ({
|
|
2187
|
+
cleartext: factories.string(),
|
|
2188
|
+
}),
|
|
2189
|
+
|
|
2190
|
+
'io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_tokens': (): io.flow.channel.shopify.internal.v0.models.ShopifyChannelOrganizationTokens => ({
|
|
2191
|
+
token: factories['io.flow.channel.shopify.internal.v0.models.shopify_channel_organization_token'](),
|
|
2192
|
+
service: factories['io.flow.channel.shopify.internal.v0.enums.shopify_service'](),
|
|
2193
|
+
}),
|
|
2194
|
+
|
|
2195
|
+
'io.flow.channel.shopify.internal.v0.models.shopify_metadata': (): io.flow.channel.shopify.internal.v0.models.ShopifyMetadata => ({
|
|
2196
|
+
domain: factories.string(),
|
|
2197
|
+
myshopify_domain: factories.string(),
|
|
2198
|
+
catalog_publication: factories['io.flow.channel.shopify.internal.v0.models.shopify_catalog_publication'](),
|
|
2199
|
+
token: factories.string(),
|
|
2200
|
+
}),
|
|
2201
|
+
|
|
2156
2202
|
'io.flow.channel.v0.enums.channel_currency_capability': (): io.flow.channel.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
2157
2203
|
|
|
2158
2204
|
'io.flow.channel.v0.models.channel': (): io.flow.channel.v0.models.Channel => ({
|
|
@@ -6631,6 +6677,15 @@ const factories = {
|
|
|
6631
6677
|
'prr-79e41878ea564f9c81cc432a0e84703f',
|
|
6632
6678
|
'prr-f29c26dc09e04536bc77f9c32786ed70',
|
|
6633
6679
|
'prr-b186129720f0446eb452a68518437c95',
|
|
6680
|
+
'prr-36e1603f56e54eb889792637c29eed40',
|
|
6681
|
+
'prr-7ead2cc4bf2840a3a9b50d222eb0ed7e',
|
|
6682
|
+
'prr-ec2f3d608b7e43a49de88ac40e6b50a8',
|
|
6683
|
+
'prr-04ed078c39ca4447b171f767d71a481d',
|
|
6684
|
+
'prr-bb664a76d6d64a17843e720e6ccd401a',
|
|
6685
|
+
'prr-8ce63afcd48641eb9d44e04117348a96',
|
|
6686
|
+
'prr-76544617791b4ce8af96b3a7879474c6',
|
|
6687
|
+
'prr-566cc67167944bc4bd08167aa9c0beba',
|
|
6688
|
+
'prr-74e1320efb7741cf9ace400b69800f9b',
|
|
6634
6689
|
]),
|
|
6635
6690
|
|
|
6636
6691
|
'io.flow.internal.v0.enums.bank_account_status': (): io.flow.internal.v0.enums.BankAccountStatus => faker.helpers.arrayElement(['on_hold', 'not_on_hold']),
|
|
@@ -6817,6 +6872,40 @@ const factories = {
|
|
|
6817
6872
|
'fourth_plus_attempt_failed_merchant_count',
|
|
6818
6873
|
'fourth_plus_attempt_failed_amount_total',
|
|
6819
6874
|
'fourth_plus_attempt_success_ratio',
|
|
6875
|
+
'ge_revenue_share_standard_transactions_count',
|
|
6876
|
+
'ge_revenue_share_standard_transactions_total',
|
|
6877
|
+
'ge_revenue_share_shopify_plus_transactions_count',
|
|
6878
|
+
'ge_revenue_share_shopify_plus_transactions_total',
|
|
6879
|
+
'non_l4l_tax_duty_fx_transactions_count',
|
|
6880
|
+
'non_l4l_tax_duty_fx_transactions_total',
|
|
6881
|
+
'sp_adjustment_transactions_count',
|
|
6882
|
+
'sp_adjustment_transactions_total',
|
|
6883
|
+
'sp_billable_label_transactions_count',
|
|
6884
|
+
'sp_billable_label_transactions_count_for_unique_orders',
|
|
6885
|
+
'sp_billable_label_transactions_total',
|
|
6886
|
+
'sp_capture_transactions_count',
|
|
6887
|
+
'sp_capture_transactions_total',
|
|
6888
|
+
'sp_carrier_charge_transactions_count',
|
|
6889
|
+
'sp_carrier_charge_transactions_total',
|
|
6890
|
+
'sp_channel_transactions_count',
|
|
6891
|
+
'sp_channel_transactions_total',
|
|
6892
|
+
'sp_duty_transactions_count',
|
|
6893
|
+
'sp_duty_transactions_total',
|
|
6894
|
+
'sp_manual_transactions_count',
|
|
6895
|
+
'sp_manual_transactions_total',
|
|
6896
|
+
'sp_refund_transactions_count',
|
|
6897
|
+
'sp_refund_transactions_total',
|
|
6898
|
+
'sp_reversal_transactions_count',
|
|
6899
|
+
'sp_reversal_transactions_total',
|
|
6900
|
+
'sp_revenue_share_label_transactions_count',
|
|
6901
|
+
'sp_revenue_share_label_transactions_count_for_unique_orders',
|
|
6902
|
+
'sp_revenue_share_label_transactions_total',
|
|
6903
|
+
'sp_tax_transactions_count',
|
|
6904
|
+
'sp_tax_transactions_total',
|
|
6905
|
+
'sp_transfer_transactions_count',
|
|
6906
|
+
'sp_transfer_transactions_total',
|
|
6907
|
+
'sp_trueup_transactions_count',
|
|
6908
|
+
'sp_trueup_transactions_total',
|
|
6820
6909
|
]),
|
|
6821
6910
|
|
|
6822
6911
|
'io.flow.internal.v0.enums.billing_statement_attachment_key': (): io.flow.internal.v0.enums.BillingStatementAttachmentKey => faker.helpers.arrayElement([
|
|
@@ -6972,6 +7061,7 @@ const factories = {
|
|
|
6972
7061
|
'io.flow.internal.v0.enums.classification_decision': (): io.flow.internal.v0.enums.ClassificationDecision => faker.helpers.arrayElement(['Accept', 'Reject']),
|
|
6973
7062
|
'io.flow.internal.v0.enums.classification_error_code': (): io.flow.internal.v0.enums.ClassificationErrorCode => faker.helpers.arrayElement(['generic_error']),
|
|
6974
7063
|
'io.flow.internal.v0.enums.classification_platform': (): io.flow.internal.v0.enums.ClassificationPlatform => faker.helpers.arrayElement(['GlobalE', 'Flow', 'Borderfree']),
|
|
7064
|
+
'io.flow.internal.v0.enums.classification_scope': (): io.flow.internal.v0.enums.ClassificationScope => faker.helpers.arrayElement(['Item', 'Product']),
|
|
6975
7065
|
'io.flow.internal.v0.enums.classification_type': (): io.flow.internal.v0.enums.ClassificationType => faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']),
|
|
6976
7066
|
'io.flow.internal.v0.enums.clothing_age_classification': (): io.flow.internal.v0.enums.ClothingAgeClassification => faker.helpers.arrayElement(['None', 'AgeKidsGeneral', 'Age0_10', 'Age10_13', 'Age13_14']),
|
|
6977
7067
|
'io.flow.internal.v0.enums.commercial_invoice_version': (): io.flow.internal.v0.enums.CommercialInvoiceVersion => faker.helpers.arrayElement(['v2_2_1']),
|
|
@@ -7322,6 +7412,8 @@ const factories = {
|
|
|
7322
7412
|
'restriction_rule_deleted',
|
|
7323
7413
|
'restriction_rule_effect_upserted',
|
|
7324
7414
|
'restriction_rule_effect_deleted',
|
|
7415
|
+
'taxonomy_category_hs6_ref_upserted',
|
|
7416
|
+
'taxonomy_category_hs6_ref_deleted',
|
|
7325
7417
|
'shopify_shop_upserted',
|
|
7326
7418
|
'shopify_shop_deleted',
|
|
7327
7419
|
'shopify_experience_short_id_upserted',
|
|
@@ -7349,6 +7441,8 @@ const factories = {
|
|
|
7349
7441
|
'shopify_markets_best_selling_product_deleted',
|
|
7350
7442
|
'shopify_order_risk_assessment_upserted',
|
|
7351
7443
|
'shopify_order_risk_assessment_deleted',
|
|
7444
|
+
'shopify_order_transaction_upserted',
|
|
7445
|
+
'shopify_order_transaction_deleted',
|
|
7352
7446
|
'shopify_product_create_upserted',
|
|
7353
7447
|
'shopify_product_create_deleted',
|
|
7354
7448
|
'shopify_product_update_upserted',
|
|
@@ -7445,7 +7539,7 @@ const factories = {
|
|
|
7445
7539
|
'shopify_webhook',
|
|
7446
7540
|
]),
|
|
7447
7541
|
|
|
7448
|
-
'io.flow.internal.v0.enums.harmonization_decision_source': (): io.flow.internal.v0.enums.HarmonizationDecisionSource => faker.helpers.arrayElement(['human', 'legacy_model', 'enterprise_model', 'merchant']),
|
|
7542
|
+
'io.flow.internal.v0.enums.harmonization_decision_source': (): io.flow.internal.v0.enums.HarmonizationDecisionSource => faker.helpers.arrayElement(['human', 'system', 'legacy_model', 'enterprise_model', 'merchant']),
|
|
7449
7543
|
'io.flow.internal.v0.enums.http_method': (): io.flow.internal.v0.enums.HttpMethod => faker.helpers.arrayElement(['get', 'post']),
|
|
7450
7544
|
'io.flow.internal.v0.enums.internal_payment_entity_type': (): io.flow.internal.v0.enums.InternalPaymentEntityType => faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'dispute']),
|
|
7451
7545
|
'io.flow.internal.v0.enums.item_classification_action': (): io.flow.internal.v0.enums.ItemClassificationAction => faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']),
|
|
@@ -7524,7 +7618,7 @@ const factories = {
|
|
|
7524
7618
|
'global_e_netherlands',
|
|
7525
7619
|
]),
|
|
7526
7620
|
|
|
7527
|
-
'io.flow.internal.v0.enums.merchant_override_status': (): io.flow.internal.v0.enums.MerchantOverrideStatus => faker.helpers.arrayElement(['in_review', 'accepted', 'rejected']),
|
|
7621
|
+
'io.flow.internal.v0.enums.merchant_override_status': (): io.flow.internal.v0.enums.MerchantOverrideStatus => faker.helpers.arrayElement(['pending', 'in_review', 'accepted', 'rejected']),
|
|
7528
7622
|
'io.flow.internal.v0.enums.mixed_bag_weight': (): io.flow.internal.v0.enums.MixedBagWeight => faker.helpers.arrayElement(['0', '1', '2']),
|
|
7529
7623
|
|
|
7530
7624
|
'io.flow.internal.v0.enums.nature_of_sale': (): io.flow.internal.v0.enums.NatureOfSale => faker.helpers.arrayElement([
|
|
@@ -7605,6 +7699,7 @@ const factories = {
|
|
|
7605
7699
|
'io.flow.internal.v0.enums.order_cancellation_initiated_by': (): io.flow.internal.v0.enums.OrderCancellationInitiatedBy => faker.helpers.arrayElement(['flow', 'organization']),
|
|
7606
7700
|
'io.flow.internal.v0.enums.order_charge_trigger': (): io.flow.internal.v0.enums.OrderChargeTrigger => faker.helpers.arrayElement(['first_shipment', 'last_shipment', 'shipment_exhausted']),
|
|
7607
7701
|
'io.flow.internal.v0.enums.order_lifecycle_event': (): io.flow.internal.v0.enums.OrderLifecycleEvent => faker.helpers.arrayElement(['order_placed', 'ready_to_fulfill']),
|
|
7702
|
+
'io.flow.internal.v0.enums.order_payment_source_type': (): io.flow.internal.v0.enums.OrderPaymentSourceType => faker.helpers.arrayElement(['globale', 'third_party']),
|
|
7608
7703
|
'io.flow.internal.v0.enums.order_transaction_type': (): io.flow.internal.v0.enums.OrderTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'order_service']),
|
|
7609
7704
|
|
|
7610
7705
|
'io.flow.internal.v0.enums.order_validation_status': (): io.flow.internal.v0.enums.OrderValidationStatus => faker.helpers.arrayElement([
|
|
@@ -9779,7 +9874,7 @@ const factories = {
|
|
|
9779
9874
|
order_created_at: factories.date_time_iso_8601(),
|
|
9780
9875
|
order_updated_at: factories.date_time_iso_8601(),
|
|
9781
9876
|
order_edit_summary: factories['io.flow.internal.v0.models.order_edit_summary'](),
|
|
9782
|
-
payment_source: factories['io.flow.
|
|
9877
|
+
payment_source: factories['io.flow.internal.v0.enums.order_payment_source_type'](),
|
|
9783
9878
|
}),
|
|
9784
9879
|
|
|
9785
9880
|
'io.flow.internal.v0.models.channel_order_acceptance_deleted': (): io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted => ({
|
|
@@ -10808,6 +10903,7 @@ const factories = {
|
|
|
10808
10903
|
total: factories['io.flow.common.v0.models.money_with_base'](),
|
|
10809
10904
|
identifiers: objectOf(() => factories.string()),
|
|
10810
10905
|
submitted_at: factories.date_time_iso_8601(),
|
|
10906
|
+
payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
10811
10907
|
}),
|
|
10812
10908
|
|
|
10813
10909
|
'io.flow.internal.v0.models.debug_order_transaction': (): io.flow.internal.v0.models.DebugOrderTransaction => ({
|
|
@@ -11548,6 +11644,12 @@ const factories = {
|
|
|
11548
11644
|
processed_at: factories.date_time_iso_8601(),
|
|
11549
11645
|
}),
|
|
11550
11646
|
|
|
11647
|
+
'io.flow.internal.v0.models.evaluation_results': (): io.flow.internal.v0.models.EvaluationResults => ({
|
|
11648
|
+
chapter_result: factories.object(),
|
|
11649
|
+
sellability_result: factories.object(),
|
|
11650
|
+
duty_variance_result: factories.object(),
|
|
11651
|
+
}),
|
|
11652
|
+
|
|
11551
11653
|
'io.flow.internal.v0.models.exclusion_rule_deleted': (): io.flow.internal.v0.models.ExclusionRuleDeleted => ({
|
|
11552
11654
|
discriminator: 'exclusion_rule_deleted',
|
|
11553
11655
|
event_id: factories.string(),
|
|
@@ -11823,6 +11925,13 @@ const factories = {
|
|
|
11823
11925
|
meter_number: factories.string(),
|
|
11824
11926
|
}),
|
|
11825
11927
|
|
|
11928
|
+
'io.flow.internal.v0.models.fedex_api': (): io.flow.internal.v0.models.FedexApi => ({
|
|
11929
|
+
discriminator: 'fedex_api',
|
|
11930
|
+
client_id: factories.string(),
|
|
11931
|
+
client_secret: factories.string(),
|
|
11932
|
+
account_number: factories.string(),
|
|
11933
|
+
}),
|
|
11934
|
+
|
|
11826
11935
|
'io.flow.internal.v0.models.fedex_crossborder': (): io.flow.internal.v0.models.FedexCrossborder => ({
|
|
11827
11936
|
discriminator: 'fedex_crossborder',
|
|
11828
11937
|
api_key: factories.string(),
|
|
@@ -11842,6 +11951,7 @@ const factories = {
|
|
|
11842
11951
|
duty_guarantee: factories['io.flow.internal.v0.models.fee'](),
|
|
11843
11952
|
transfer: factories['io.flow.internal.v0.models.fee'](),
|
|
11844
11953
|
negative_balance: factories['io.flow.internal.v0.models.fee'](),
|
|
11954
|
+
sp: factories['io.flow.internal.v0.models.fee'](),
|
|
11845
11955
|
}),
|
|
11846
11956
|
|
|
11847
11957
|
'io.flow.internal.v0.models.finance_bank_account': (): io.flow.internal.v0.models.FinanceBankAccount => ({
|
|
@@ -13201,6 +13311,7 @@ const factories = {
|
|
|
13201
13311
|
status: factories['io.flow.internal.v0.enums.item_harmonization_status'](),
|
|
13202
13312
|
tariffs: objectOf(() => factories['io.flow.internal.v0.models.tariff_code_duty']()),
|
|
13203
13313
|
decision_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
13314
|
+
classification_scope: factories['io.flow.internal.v0.enums.classification_scope'](),
|
|
13204
13315
|
created_at: factories.date_time_iso_8601(),
|
|
13205
13316
|
updated_at: factories.date_time_iso_8601(),
|
|
13206
13317
|
updated_by_user_id: factories.string(),
|
|
@@ -14178,6 +14289,7 @@ const factories = {
|
|
|
14178
14289
|
status: factories['io.flow.internal.v0.enums.merchant_override_status'](),
|
|
14179
14290
|
hs6_code: factories.string(),
|
|
14180
14291
|
merchant_hs6_code: factories.string(),
|
|
14292
|
+
evaluation_results: factories['io.flow.internal.v0.models.evaluation_results'](),
|
|
14181
14293
|
created_at: factories.date_time_iso_8601(),
|
|
14182
14294
|
updated_at: factories.date_time_iso_8601(),
|
|
14183
14295
|
updated_by_user_id: factories.string(),
|
|
@@ -14994,6 +15106,7 @@ const factories = {
|
|
|
14994
15106
|
organization_id: factories.string(),
|
|
14995
15107
|
pending_restriction_count: factories.long(),
|
|
14996
15108
|
pending_verification_count: factories.long(),
|
|
15109
|
+
pending_classification_count: factories.long(),
|
|
14997
15110
|
oldest_pending_restriction_date: factories.date_time_iso_8601(),
|
|
14998
15111
|
oldest_pending_verification_date: factories.date_time_iso_8601(),
|
|
14999
15112
|
product_count: factories.long(),
|
|
@@ -16152,6 +16265,7 @@ const factories = {
|
|
|
16152
16265
|
review_status: factories['io.flow.internal.v0.enums.restriction_state_review_status'](),
|
|
16153
16266
|
pending_restriction_count: factories.long(),
|
|
16154
16267
|
pending_verification_count: factories.long(),
|
|
16268
|
+
pending_classification_count: factories.long(),
|
|
16155
16269
|
oldest_pending_restriction_date: factories.date_time_iso_8601(),
|
|
16156
16270
|
oldest_pending_verification_date: factories.date_time_iso_8601(),
|
|
16157
16271
|
}),
|
|
@@ -16189,12 +16303,26 @@ const factories = {
|
|
|
16189
16303
|
),
|
|
16190
16304
|
}),
|
|
16191
16305
|
|
|
16306
|
+
'io.flow.internal.v0.models.product_sellability_internal': (): io.flow.internal.v0.models.ProductSellabilityInternal => ({
|
|
16307
|
+
shop_id: factories.string(),
|
|
16308
|
+
product_id: factories.string(),
|
|
16309
|
+
request_id: factories.string(),
|
|
16310
|
+
hs6_code: factories.string(),
|
|
16311
|
+
|
|
16312
|
+
restricted_regions: arrayOf(
|
|
16313
|
+
() => factories['io.flow.sellability.v0.models.sellablility_region_result'](),
|
|
16314
|
+
),
|
|
16315
|
+
|
|
16316
|
+
rule_ids: arrayOf(() => factories.string()),
|
|
16317
|
+
}),
|
|
16318
|
+
|
|
16192
16319
|
'io.flow.internal.v0.models.product_sellability_result': (): io.flow.internal.v0.models.ProductSellabilityResult => ({
|
|
16193
16320
|
shop_id: factories.string(),
|
|
16194
16321
|
product_number: factories.string(),
|
|
16195
16322
|
request_id: factories.string(),
|
|
16196
16323
|
hs6_code: factories.string(),
|
|
16197
16324
|
restricted_regions: arrayOf(() => factories.string()),
|
|
16325
|
+
rule_ids: arrayOf(() => factories.string()),
|
|
16198
16326
|
}),
|
|
16199
16327
|
|
|
16200
16328
|
'io.flow.internal.v0.models.product_transaction': (): io.flow.internal.v0.models.ProductTransaction => ({
|
|
@@ -16751,6 +16879,7 @@ const factories = {
|
|
|
16751
16879
|
|
|
16752
16880
|
'io.flow.internal.v0.models.report_filter': (): io.flow.internal.v0.models.ReportFilter => ({
|
|
16753
16881
|
source_type: factories['io.flow.internal.v0.enums.source_type_filter'](),
|
|
16882
|
+
order_payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
16754
16883
|
}),
|
|
16755
16884
|
|
|
16756
16885
|
'io.flow.internal.v0.models.report_form': (): io.flow.internal.v0.models.ReportForm => ({
|
|
@@ -16972,7 +17101,7 @@ const factories = {
|
|
|
16972
17101
|
id: factories.string(),
|
|
16973
17102
|
number: factories.string(),
|
|
16974
17103
|
submitted_at: factories.date_time_iso_8601(),
|
|
16975
|
-
payment_source: factories.
|
|
17104
|
+
payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
16976
17105
|
}),
|
|
16977
17106
|
|
|
16978
17107
|
'io.flow.internal.v0.models.reporting_organization_summary': (): io.flow.internal.v0.models.ReportingOrganizationSummary => ({
|
|
@@ -17083,6 +17212,7 @@ const factories = {
|
|
|
17083
17212
|
name: factories.string(),
|
|
17084
17213
|
price: factories['io.flow.common.v0.models.price'](),
|
|
17085
17214
|
hs_code: factories.string(),
|
|
17215
|
+
hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
17086
17216
|
description: factories.string(),
|
|
17087
17217
|
category: factories.string(),
|
|
17088
17218
|
categories: arrayOf(() => factories.string()),
|
|
@@ -17100,6 +17230,7 @@ const factories = {
|
|
|
17100
17230
|
rule_ids: arrayOf(() => factories.string()),
|
|
17101
17231
|
user_ids: arrayOf(() => factories.string()),
|
|
17102
17232
|
categories: arrayOf(() => factories.string()),
|
|
17233
|
+
category: factories.string(),
|
|
17103
17234
|
product_name_query: factories.string(),
|
|
17104
17235
|
hs6: factories.string(),
|
|
17105
17236
|
positive_keywords: arrayOf(() => factories.string()),
|
|
@@ -17212,6 +17343,7 @@ const factories = {
|
|
|
17212
17343
|
images: arrayOf(() => factories['io.flow.catalog.v0.models.image']()),
|
|
17213
17344
|
thumbnails: arrayOf(() => factories['io.flow.catalog.v0.models.image']()),
|
|
17214
17345
|
hs_code: factories.string(),
|
|
17346
|
+
hs_code_source: factories['io.flow.internal.v0.enums.harmonization_decision_source'](),
|
|
17215
17347
|
url: factories.string(),
|
|
17216
17348
|
reviews: arrayOf(() => factories['io.flow.internal.v0.models.restriction_item_review']()),
|
|
17217
17349
|
created_at: factories.date_time_iso_8601(),
|
|
@@ -17231,6 +17363,7 @@ const factories = {
|
|
|
17231
17363
|
negative_keywords: arrayOf(() => factories.string()),
|
|
17232
17364
|
user_ids: arrayOf(() => factories.string()),
|
|
17233
17365
|
categories: arrayOf(() => factories.string()),
|
|
17366
|
+
category: factories.string(),
|
|
17234
17367
|
product_name_query: factories.string(),
|
|
17235
17368
|
hs6: factories.string(),
|
|
17236
17369
|
product_id: factories.string(),
|
|
@@ -17323,6 +17456,17 @@ const factories = {
|
|
|
17323
17456
|
destination_countries: arrayOf(() => factories.string()),
|
|
17324
17457
|
}),
|
|
17325
17458
|
|
|
17459
|
+
'io.flow.internal.v0.models.restriction_rule_organization_exemption': (): io.flow.internal.v0.models.RestrictionRuleOrganizationExemption => ({
|
|
17460
|
+
id: factories.string(),
|
|
17461
|
+
organization_id: factories.string(),
|
|
17462
|
+
rule_id: factories.string(),
|
|
17463
|
+
description: factories.string(),
|
|
17464
|
+
is_rule_exempt: factories.boolean(),
|
|
17465
|
+
exempt_countries: arrayOf(() => factories.string()),
|
|
17466
|
+
ignored_keywords: arrayOf(() => factories.string()),
|
|
17467
|
+
additional_keywords: arrayOf(() => factories.string()),
|
|
17468
|
+
}),
|
|
17469
|
+
|
|
17326
17470
|
'io.flow.internal.v0.models.restriction_rule_override': (): io.flow.internal.v0.models.RestrictionRuleOverride => ({
|
|
17327
17471
|
id: factories.string(),
|
|
17328
17472
|
organization_id: factories.string(),
|
|
@@ -17346,6 +17490,7 @@ const factories = {
|
|
|
17346
17490
|
'io.flow.internal.v0.models.restriction_summary_counts': (): io.flow.internal.v0.models.RestrictionSummaryCounts => ({
|
|
17347
17491
|
pending_restriction_count: factories.long(),
|
|
17348
17492
|
pending_verification_count: factories.long(),
|
|
17493
|
+
pending_classification_count: factories.long(),
|
|
17349
17494
|
}),
|
|
17350
17495
|
|
|
17351
17496
|
'io.flow.internal.v0.models.restrictions_dailyops': (): io.flow.internal.v0.models.RestrictionsDailyops => ({
|
|
@@ -17376,6 +17521,16 @@ const factories = {
|
|
|
17376
17521
|
oldest_insufficient_details_pv_onboarding: factories.date_iso_8601(),
|
|
17377
17522
|
oldest_insufficient_details_pv_active: factories.date_iso_8601(),
|
|
17378
17523
|
oldest_insufficient_details_pv_transacting: factories.date_iso_8601(),
|
|
17524
|
+
num_products_with_fs_result: factories.decimal(),
|
|
17525
|
+
num_products_sellable_somewhere_by_fs: factories.decimal(),
|
|
17526
|
+
num_products_restricted_somewhere_by_fs: factories.decimal(),
|
|
17527
|
+
num_products_with_false_allows_by_fs: factories.decimal(),
|
|
17528
|
+
num_products_with_false_restricts_by_fs: factories.decimal(),
|
|
17529
|
+
daily_num_products_with_fs_result: factories.decimal(),
|
|
17530
|
+
daily_num_products_sellable_somewhere_by_fs: factories.decimal(),
|
|
17531
|
+
daily_num_products_restricted_somewhere_by_fs: factories.decimal(),
|
|
17532
|
+
daily_num_products_with_false_allows_by_fs: factories.decimal(),
|
|
17533
|
+
daily_num_products_with_false_restricts_by_fs: factories.decimal(),
|
|
17379
17534
|
}),
|
|
17380
17535
|
|
|
17381
17536
|
'io.flow.internal.v0.models.restrictions_dailyops_deleted': (): io.flow.internal.v0.models.RestrictionsDailyopsDeleted => ({
|
|
@@ -17411,16 +17566,6 @@ const factories = {
|
|
|
17411
17566
|
destinations: arrayOf(() => factories['io.flow.reference.v0.models.country']()),
|
|
17412
17567
|
}),
|
|
17413
17568
|
|
|
17414
|
-
'io.flow.internal.v0.models.retracking': (): io.flow.internal.v0.models.Retracking => ({
|
|
17415
|
-
carrier: factories.string(),
|
|
17416
|
-
tracking_number: factories.string(),
|
|
17417
|
-
}),
|
|
17418
|
-
|
|
17419
|
-
'io.flow.internal.v0.models.retracking_form': (): io.flow.internal.v0.models.RetrackingForm => ({
|
|
17420
|
-
carrier: factories.string(),
|
|
17421
|
-
carrier_tracking_numbers: arrayOf(() => factories.string()),
|
|
17422
|
-
}),
|
|
17423
|
-
|
|
17424
17569
|
'io.flow.internal.v0.models.return': (): io.flow.internal.v0.models.Return => ({
|
|
17425
17570
|
id: factories.string(),
|
|
17426
17571
|
order: factories['io.flow.internal.v0.models.order_summary'](),
|
|
@@ -18067,6 +18212,7 @@ const factories = {
|
|
|
18067
18212
|
api_password: factories.string(),
|
|
18068
18213
|
access_token: factories.string(),
|
|
18069
18214
|
shopify_plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
|
|
18215
|
+
catalog_publication_owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
18070
18216
|
}),
|
|
18071
18217
|
|
|
18072
18218
|
'io.flow.internal.v0.models.shopify_markets_shop_statistics_deleted': (): io.flow.internal.v0.models.ShopifyMarketsShopStatisticsDeleted => ({
|
|
@@ -18341,6 +18487,27 @@ const factories = {
|
|
|
18341
18487
|
assessment: factories['io.flow.internal.v0.models.shopify_order_risk_assessment'](),
|
|
18342
18488
|
}),
|
|
18343
18489
|
|
|
18490
|
+
'io.flow.internal.v0.models.shopify_order_transaction': (): io.flow.internal.v0.models.ShopifyOrderTransaction => ({
|
|
18491
|
+
id: factories.string(),
|
|
18492
|
+
model: factories['io.flow.shopify.markets.v0.models.shopify_order_transaction'](),
|
|
18493
|
+
}),
|
|
18494
|
+
|
|
18495
|
+
'io.flow.internal.v0.models.shopify_order_transaction_deleted': (): io.flow.internal.v0.models.ShopifyOrderTransactionDeleted => ({
|
|
18496
|
+
discriminator: 'shopify_order_transaction_deleted',
|
|
18497
|
+
event_id: factories.string(),
|
|
18498
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18499
|
+
organization: factories.string(),
|
|
18500
|
+
id: factories.string(),
|
|
18501
|
+
}),
|
|
18502
|
+
|
|
18503
|
+
'io.flow.internal.v0.models.shopify_order_transaction_upserted': (): io.flow.internal.v0.models.ShopifyOrderTransactionUpserted => ({
|
|
18504
|
+
discriminator: 'shopify_order_transaction_upserted',
|
|
18505
|
+
event_id: factories.string(),
|
|
18506
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18507
|
+
organization: factories.string(),
|
|
18508
|
+
transaction: factories['io.flow.internal.v0.models.shopify_order_transaction'](),
|
|
18509
|
+
}),
|
|
18510
|
+
|
|
18344
18511
|
'io.flow.internal.v0.models.shopify_organization_settings': (): io.flow.internal.v0.models.ShopifyOrganizationSettings => ({
|
|
18345
18512
|
id: factories.string(),
|
|
18346
18513
|
process_label: factories.boolean(),
|
|
@@ -18978,6 +19145,7 @@ const factories = {
|
|
|
18978
19145
|
import_taxes: factories.integer(),
|
|
18979
19146
|
mor_fees: factories.integer(),
|
|
18980
19147
|
mor_foreign_exchange_fees: factories.integer(),
|
|
19148
|
+
sp_processing_fees: factories.integer(),
|
|
18981
19149
|
}),
|
|
18982
19150
|
|
|
18983
19151
|
'io.flow.internal.v0.models.stripe_connect_report_record_transfer_metadata': (): io.flow.internal.v0.models.StripeConnectReportRecordTransferMetadata => ({
|
|
@@ -18993,6 +19161,7 @@ const factories = {
|
|
|
18993
19161
|
import_taxes: factories.integer(),
|
|
18994
19162
|
mor_fees: factories.integer(),
|
|
18995
19163
|
mor_foreign_exchange_fees: factories.integer(),
|
|
19164
|
+
sp_processing_fees: factories.integer(),
|
|
18996
19165
|
merchant_account_currency: factories.string(),
|
|
18997
19166
|
amount_in_merchant_account_currency: factories.integer(),
|
|
18998
19167
|
payout_exchange_rate: factories.decimal(),
|
|
@@ -19310,6 +19479,11 @@ const factories = {
|
|
|
19310
19479
|
category_code: factories.string(),
|
|
19311
19480
|
}),
|
|
19312
19481
|
|
|
19482
|
+
'io.flow.internal.v0.models.tax_duty_reason_code_metadata': (): io.flow.internal.v0.models.TaxDutyReasonCodeMetadata => ({
|
|
19483
|
+
discriminator: 'tax_duty_reason_code_metadata',
|
|
19484
|
+
reason_code: factories['io.flow.billing.v0.enums.tax_duty_transaction_reason_code'](),
|
|
19485
|
+
}),
|
|
19486
|
+
|
|
19313
19487
|
'io.flow.internal.v0.models.tax_remittance_transaction': (): io.flow.internal.v0.models.TaxRemittanceTransaction => ({
|
|
19314
19488
|
discriminator: 'tax_remittance_transaction',
|
|
19315
19489
|
order: factories['io.flow.internal.v0.models.billing_order_summary'](),
|
|
@@ -19373,6 +19547,27 @@ const factories = {
|
|
|
19373
19547
|
children: arrayOf(() => factories['io.flow.internal.v0.unions.classification_taxonomy']()),
|
|
19374
19548
|
}),
|
|
19375
19549
|
|
|
19550
|
+
'io.flow.internal.v0.models.taxonomy_category_hs6_ref': (): io.flow.internal.v0.models.TaxonomyCategoryHs6Ref => ({
|
|
19551
|
+
id: factories.string(),
|
|
19552
|
+
taxonomy_category: factories.string(),
|
|
19553
|
+
hs6: factories.string(),
|
|
19554
|
+
updated_by_user_id: factories.string(),
|
|
19555
|
+
}),
|
|
19556
|
+
|
|
19557
|
+
'io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted': (): io.flow.internal.v0.models.TaxonomyCategoryHs6RefDeleted => ({
|
|
19558
|
+
discriminator: 'taxonomy_category_hs6_ref_deleted',
|
|
19559
|
+
event_id: factories.string(),
|
|
19560
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19561
|
+
id: factories.string(),
|
|
19562
|
+
}),
|
|
19563
|
+
|
|
19564
|
+
'io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted': (): io.flow.internal.v0.models.TaxonomyCategoryHs6RefUpserted => ({
|
|
19565
|
+
discriminator: 'taxonomy_category_hs6_ref_upserted',
|
|
19566
|
+
event_id: factories.string(),
|
|
19567
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19568
|
+
taxonomy_category_hs6_ref: factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref'](),
|
|
19569
|
+
}),
|
|
19570
|
+
|
|
19376
19571
|
'io.flow.internal.v0.models.taxonomy_node': (): io.flow.internal.v0.models.TaxonomyNode => ({
|
|
19377
19572
|
id: factories.string(),
|
|
19378
19573
|
children: arrayOf(() => factories['io.flow.internal.v0.models.taxonomy_node']()),
|
|
@@ -19682,10 +19877,6 @@ const factories = {
|
|
|
19682
19877
|
tracking_events: arrayOf(() => factories['io.flow.internal.v0.models.tracking_event']()),
|
|
19683
19878
|
}),
|
|
19684
19879
|
|
|
19685
|
-
'io.flow.internal.v0.models.tracking_resync': (): io.flow.internal.v0.models.TrackingResync => ({
|
|
19686
|
-
placeholder: factories.boolean(),
|
|
19687
|
-
}),
|
|
19688
|
-
|
|
19689
19880
|
'io.flow.internal.v0.models.tracking_subscription': (): io.flow.internal.v0.models.TrackingSubscription => ({
|
|
19690
19881
|
id: factories.string(),
|
|
19691
19882
|
organization_id: factories.string(),
|
|
@@ -20020,6 +20211,7 @@ const factories = {
|
|
|
20020
20211
|
additional_services_requested: arrayOf(() => factories['io.flow.label.v0.models.additional_services_requested']()),
|
|
20021
20212
|
provided_charges: arrayOf(() => factories['io.flow.internal.v0.models.charge_input']()),
|
|
20022
20213
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
20214
|
+
package_dimensions_source: factories['io.flow.label.v0.enums.package_dimensions_source'](),
|
|
20023
20215
|
}),
|
|
20024
20216
|
|
|
20025
20217
|
'io.flow.internal.v0.models.validation_character_length': (): io.flow.internal.v0.models.ValidationCharacterLength => ({
|
|
@@ -20137,6 +20329,7 @@ const factories = {
|
|
|
20137
20329
|
() => factories['io.flow.internal.v0.models.fedex_crossborder'](),
|
|
20138
20330
|
() => factories['io.flow.internal.v0.models.ups'](),
|
|
20139
20331
|
() => factories['io.flow.internal.v0.models.fedex'](),
|
|
20332
|
+
() => factories['io.flow.internal.v0.models.fedex_api'](),
|
|
20140
20333
|
]);
|
|
20141
20334
|
|
|
20142
20335
|
return f();
|
|
@@ -20572,6 +20765,8 @@ const factories = {
|
|
|
20572
20765
|
() => factories['io.flow.internal.v0.models.restriction_rule_deleted'](),
|
|
20573
20766
|
() => factories['io.flow.internal.v0.models.restriction_rule_effect_upserted'](),
|
|
20574
20767
|
() => factories['io.flow.internal.v0.models.restriction_rule_effect_deleted'](),
|
|
20768
|
+
() => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted'](),
|
|
20769
|
+
() => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted'](),
|
|
20575
20770
|
() => factories['io.flow.internal.v0.models.shopify_shop_upserted'](),
|
|
20576
20771
|
() => factories['io.flow.internal.v0.models.shopify_shop_deleted'](),
|
|
20577
20772
|
() => factories['io.flow.internal.v0.models.shopify_experience_short_id_upserted'](),
|
|
@@ -20599,6 +20794,8 @@ const factories = {
|
|
|
20599
20794
|
() => factories['io.flow.internal.v0.models.shopify_markets_best_selling_product_deleted'](),
|
|
20600
20795
|
() => factories['io.flow.internal.v0.models.shopify_order_risk_assessment_upserted'](),
|
|
20601
20796
|
() => factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted'](),
|
|
20797
|
+
() => factories['io.flow.internal.v0.models.shopify_order_transaction_upserted'](),
|
|
20798
|
+
() => factories['io.flow.internal.v0.models.shopify_order_transaction_deleted'](),
|
|
20602
20799
|
() => factories['io.flow.internal.v0.models.shopify_product_create_upserted'](),
|
|
20603
20800
|
() => factories['io.flow.internal.v0.models.shopify_product_create_deleted'](),
|
|
20604
20801
|
() => factories['io.flow.internal.v0.models.shopify_product_update_upserted'](),
|
|
@@ -21115,6 +21312,7 @@ const factories = {
|
|
|
21115
21312
|
const f = faker.helpers.arrayElement([
|
|
21116
21313
|
() => factories['io.flow.internal.v0.models.statement_creation_metadata'](),
|
|
21117
21314
|
() => factories['io.flow.internal.v0.models.accounting_pending_order_metadata'](),
|
|
21315
|
+
() => factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata'](),
|
|
21118
21316
|
]);
|
|
21119
21317
|
|
|
21120
21318
|
return f();
|
|
@@ -23644,7 +23842,7 @@ const factories = {
|
|
|
23644
23842
|
'unknown',
|
|
23645
23843
|
]),
|
|
23646
23844
|
|
|
23647
|
-
'io.flow.payment.v0.enums.payment_fee_type': (): io.flow.payment.v0.enums.PaymentFeeType => faker.helpers.arrayElement(['fx', 'mor']),
|
|
23845
|
+
'io.flow.payment.v0.enums.payment_fee_type': (): io.flow.payment.v0.enums.PaymentFeeType => faker.helpers.arrayElement(['fx', 'mor', 'sp']),
|
|
23648
23846
|
'io.flow.payment.v0.enums.payment_source_confirmation_action_type': (): io.flow.payment.v0.enums.PaymentSourceConfirmationActionType => faker.helpers.arrayElement(['cvv', 'billing_address', 'number']),
|
|
23649
23847
|
'io.flow.payment.v0.enums.refund_decline_code': (): io.flow.payment.v0.enums.RefundDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
|
|
23650
23848
|
|
|
@@ -25516,6 +25714,8 @@ const factories = {
|
|
|
25516
25714
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
25517
25715
|
starts_at: factories.date_time_iso_8601(),
|
|
25518
25716
|
ends_at: factories.date_time_iso_8601(),
|
|
25717
|
+
regions: arrayOf(() => factories.string()),
|
|
25718
|
+
dependent_service_fees: arrayOf(() => factories.string()),
|
|
25519
25719
|
}),
|
|
25520
25720
|
|
|
25521
25721
|
'io.flow.ratecard.v0.models.ratecard': (): io.flow.ratecard.v0.models.Ratecard => ({
|
|
@@ -25612,6 +25812,11 @@ const factories = {
|
|
|
25612
25812
|
line_items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
|
|
25613
25813
|
}),
|
|
25614
25814
|
|
|
25815
|
+
'io.flow.ratecard.v0.models.ratecard_fee_summary': (): io.flow.ratecard.v0.models.RatecardFeeSummary => ({
|
|
25816
|
+
ratecard_fee: factories['io.flow.ratecard.v0.unions.ratecard_fee'](),
|
|
25817
|
+
source_service_fees: arrayOf(() => factories.string()),
|
|
25818
|
+
}),
|
|
25819
|
+
|
|
25615
25820
|
'io.flow.ratecard.v0.models.ratecard_form': (): io.flow.ratecard.v0.models.RatecardForm => ({
|
|
25616
25821
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
25617
25822
|
effective_at: factories.date_time_iso_8601(),
|
|
@@ -26083,6 +26288,7 @@ const factories = {
|
|
|
26083
26288
|
'io.flow.sellability.v0.enums.sellability_request_status': (): io.flow.sellability.v0.enums.SellabilityRequestStatus => faker.helpers.arrayElement(['commit']),
|
|
26084
26289
|
|
|
26085
26290
|
'io.flow.sellability.v0.models.product_sellability': (): io.flow.sellability.v0.models.ProductSellability => ({
|
|
26291
|
+
discriminator: 'product_sellability',
|
|
26086
26292
|
shop_id: factories.string(),
|
|
26087
26293
|
product_id: factories.string(),
|
|
26088
26294
|
request_id: factories.string(),
|
|
@@ -26110,6 +26316,7 @@ const factories = {
|
|
|
26110
26316
|
}),
|
|
26111
26317
|
|
|
26112
26318
|
'io.flow.sellability.v0.models.sellability_error': (): io.flow.sellability.v0.models.SellabilityError => ({
|
|
26319
|
+
discriminator: 'sellability_error',
|
|
26113
26320
|
code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
|
|
26114
26321
|
messages: arrayOf(() => factories.string()),
|
|
26115
26322
|
}),
|
|
@@ -26119,6 +26326,15 @@ const factories = {
|
|
|
26119
26326
|
regions: arrayOf(() => factories.string()),
|
|
26120
26327
|
}),
|
|
26121
26328
|
|
|
26329
|
+
'io.flow.sellability.v0.unions.sellability_response': (): io.flow.sellability.v0.unions.SellabilityResponse => {
|
|
26330
|
+
const f = faker.helpers.arrayElement([
|
|
26331
|
+
() => factories['io.flow.sellability.v0.models.product_sellability'](),
|
|
26332
|
+
() => factories['io.flow.sellability.v0.models.sellability_error'](),
|
|
26333
|
+
]);
|
|
26334
|
+
|
|
26335
|
+
return f();
|
|
26336
|
+
},
|
|
26337
|
+
|
|
26122
26338
|
'io.flow.session.v0.models.cart_reference': (): io.flow.session.v0.models.CartReference => ({
|
|
26123
26339
|
id: factories.string(),
|
|
26124
26340
|
}),
|
|
@@ -27634,6 +27850,27 @@ const factories = {
|
|
|
27634
27850
|
assessment: factories['io.flow.shopify.markets.internal.v0.models.shopify_order_risk_assessment'](),
|
|
27635
27851
|
}),
|
|
27636
27852
|
|
|
27853
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransaction => ({
|
|
27854
|
+
id: factories.string(),
|
|
27855
|
+
model: factories['io.flow.shopify.markets.v0.models.shopify_order_transaction'](),
|
|
27856
|
+
}),
|
|
27857
|
+
|
|
27858
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_deleted': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionDeleted => ({
|
|
27859
|
+
discriminator: 'shopify_order_transaction_deleted',
|
|
27860
|
+
event_id: factories.string(),
|
|
27861
|
+
timestamp: factories.date_time_iso_8601(),
|
|
27862
|
+
organization: factories.string(),
|
|
27863
|
+
id: factories.string(),
|
|
27864
|
+
}),
|
|
27865
|
+
|
|
27866
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_upserted': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyOrderTransactionUpserted => ({
|
|
27867
|
+
discriminator: 'shopify_order_transaction_upserted',
|
|
27868
|
+
event_id: factories.string(),
|
|
27869
|
+
timestamp: factories.date_time_iso_8601(),
|
|
27870
|
+
organization: factories.string(),
|
|
27871
|
+
transaction: factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction'](),
|
|
27872
|
+
}),
|
|
27873
|
+
|
|
27637
27874
|
'io.flow.shopify.markets.internal.event.v0.models.shopify_product_bundle_deleted': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyProductBundleDeleted => ({
|
|
27638
27875
|
discriminator: 'shopify_product_bundle_deleted',
|
|
27639
27876
|
event_id: factories.string(),
|
|
@@ -27675,6 +27912,8 @@ const factories = {
|
|
|
27675
27912
|
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_markets_best_selling_product_deleted'](),
|
|
27676
27913
|
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_upserted'](),
|
|
27677
27914
|
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_deleted'](),
|
|
27915
|
+
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_upserted'](),
|
|
27916
|
+
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_deleted'](),
|
|
27678
27917
|
]);
|
|
27679
27918
|
|
|
27680
27919
|
return f();
|
|
@@ -27904,6 +28143,7 @@ const factories = {
|
|
|
27904
28143
|
api_password: factories.string(),
|
|
27905
28144
|
access_token: factories.string(),
|
|
27906
28145
|
shopify_plan_name: factories['io.flow.shopify.external.v0.enums.shopify_plan_name'](),
|
|
28146
|
+
catalog_publication_owner: factories['io.flow.channel.shopify.internal.v0.enums.catalog_publication_owner'](),
|
|
27907
28147
|
}),
|
|
27908
28148
|
|
|
27909
28149
|
'io.flow.shopify.markets.internal.v0.models.shopify_markets_shop_summary': (): io.flow.shopify.markets.internal.v0.models.ShopifyMarketsShopSummary => ({
|
|
@@ -32048,6 +32288,7 @@ export const makeClassificationProductSummary = () => factories['io.flow.interna
|
|
|
32048
32288
|
export const makeClassificationProductSummaryPage = () => factories['io.flow.internal.v0.models.classification_product_summary_page']();
|
|
32049
32289
|
export const makeClassificationRequeueRequest = () => factories['io.flow.internal.v0.models.classification_requeue_request']();
|
|
32050
32290
|
export const makeClassificationResponse = () => factories['io.flow.internal.v0.unions.classification_response']();
|
|
32291
|
+
export const makeClassificationScope = () => factories['io.flow.internal.v0.enums.classification_scope']();
|
|
32051
32292
|
export const makeClassificationStatistics = () => factories['io.flow.internal.v0.models.classification_statistics']();
|
|
32052
32293
|
export const makeClassificationSummaryReportPayload = () => factories['io.flow.internal.v0.models.classification_summary_report_payload']();
|
|
32053
32294
|
export const makeClassificationTaxonomy = () => factories['io.flow.internal.v0.unions.classification_taxonomy']();
|
|
@@ -32240,6 +32481,7 @@ export const makeErpVendorStatus = () => factories['io.flow.internal.v0.models.e
|
|
|
32240
32481
|
export const makeErpVendorStatusEntity = () => factories['io.flow.internal.v0.models.erp_vendor_status_entity']();
|
|
32241
32482
|
export const makeErpVendorStatusFlowFile = () => factories['io.flow.internal.v0.models.erp_vendor_status_flow_file']();
|
|
32242
32483
|
export const makeErpVendorStatusPriorityFile = () => factories['io.flow.internal.v0.models.erp_vendor_status_priority_file']();
|
|
32484
|
+
export const makeEvaluationResults = () => factories['io.flow.internal.v0.models.evaluation_results']();
|
|
32243
32485
|
export const makeEvent = () => factories['io.flow.internal.v0.unions.event']();
|
|
32244
32486
|
export const makeEventType = () => factories['io.flow.internal.v0.enums.event_type']();
|
|
32245
32487
|
export const makeExclusionRuleDeleted = () => factories['io.flow.internal.v0.models.exclusion_rule_deleted']();
|
|
@@ -32293,6 +32535,7 @@ export const makeFeatureValue = () => factories['io.flow.internal.v0.unions.feat
|
|
|
32293
32535
|
export const makeFeatureValueForm = () => factories['io.flow.internal.v0.models.feature_value_form']();
|
|
32294
32536
|
export const makeFeatureValueResult = () => factories['io.flow.internal.v0.models.feature_value_result']();
|
|
32295
32537
|
export const makeFedex = () => factories['io.flow.internal.v0.models.fedex']();
|
|
32538
|
+
export const makeFedexApi = () => factories['io.flow.internal.v0.models.fedex_api']();
|
|
32296
32539
|
export const makeFedexCrossborder = () => factories['io.flow.internal.v0.models.fedex_crossborder']();
|
|
32297
32540
|
export const makeFee = () => factories['io.flow.internal.v0.models.fee']();
|
|
32298
32541
|
export const makeFees = () => factories['io.flow.internal.v0.models.fees']();
|
|
@@ -32712,6 +32955,7 @@ export const makeOrderLifecycleEvent = () => factories['io.flow.internal.v0.enum
|
|
|
32712
32955
|
export const makeOrderNote = () => factories['io.flow.internal.v0.models.order_note']();
|
|
32713
32956
|
export const makeOrderNoteForm = () => factories['io.flow.internal.v0.models.order_note_form']();
|
|
32714
32957
|
export const makeOrderPaymentAuthorization = () => factories['io.flow.internal.v0.models.order_payment_authorization']();
|
|
32958
|
+
export const makeOrderPaymentSourceType = () => factories['io.flow.internal.v0.enums.order_payment_source_type']();
|
|
32715
32959
|
export const makeOrderRatesDataV3 = () => factories['io.flow.internal.v0.models.order_rates_data_v3']();
|
|
32716
32960
|
export const makeOrderRatesPublishedV3 = () => factories['io.flow.internal.v0.models.order_rates_published_v3']();
|
|
32717
32961
|
export const makeOrderReference = () => factories['io.flow.internal.v0.models.order_reference']();
|
|
@@ -32939,6 +33183,7 @@ export const makeProductRestrictionStateDeleted = () => factories['io.flow.inter
|
|
|
32939
33183
|
export const makeProductRestrictionStateInserted = () => factories['io.flow.internal.v0.models.product_restriction_state_inserted']();
|
|
32940
33184
|
export const makeProductRestrictionStateUpdated = () => factories['io.flow.internal.v0.models.product_restriction_state_updated']();
|
|
32941
33185
|
export const makeProductReviewHistory = () => factories['io.flow.internal.v0.models.product_review_history']();
|
|
33186
|
+
export const makeProductSellabilityInternal = () => factories['io.flow.internal.v0.models.product_sellability_internal']();
|
|
32942
33187
|
export const makeProductSellabilityResult = () => factories['io.flow.internal.v0.models.product_sellability_result']();
|
|
32943
33188
|
export const makeProductStatus = () => factories['io.flow.internal.v0.enums.product_status']();
|
|
32944
33189
|
export const makeProductTransaction = () => factories['io.flow.internal.v0.models.product_transaction']();
|
|
@@ -33114,6 +33359,7 @@ export const makeRestrictionRuleEffectUpserted = () => factories['io.flow.intern
|
|
|
33114
33359
|
export const makeRestrictionRuleExceptionAction = () => factories['io.flow.internal.v0.enums.restriction_rule_exception_action']();
|
|
33115
33360
|
export const makeRestrictionRuleForm = () => factories['io.flow.internal.v0.models.restriction_rule_form']();
|
|
33116
33361
|
export const makeRestrictionRuleLaneExemption = () => factories['io.flow.internal.v0.models.restriction_rule_lane_exemption']();
|
|
33362
|
+
export const makeRestrictionRuleOrganizationExemption = () => factories['io.flow.internal.v0.models.restriction_rule_organization_exemption']();
|
|
33117
33363
|
export const makeRestrictionRuleOverride = () => factories['io.flow.internal.v0.models.restriction_rule_override']();
|
|
33118
33364
|
export const makeRestrictionRuleSummary = () => factories['io.flow.internal.v0.models.restriction_rule_summary']();
|
|
33119
33365
|
export const makeRestrictionRuleUpserted = () => factories['io.flow.internal.v0.models.restriction_rule_upserted']();
|
|
@@ -33127,8 +33373,6 @@ export const makeResyncByDestinations = () => factories['io.flow.internal.v0.mod
|
|
|
33127
33373
|
export const makeResyncByHs6Destinations = () => factories['io.flow.internal.v0.models.resync_by_hs6_destinations']();
|
|
33128
33374
|
export const makeResyncByHs6Origin = () => factories['io.flow.internal.v0.models.resync_by_hs6_origin']();
|
|
33129
33375
|
export const makeResyncFallbackRates = () => factories['io.flow.internal.v0.models.resync_fallback_rates']();
|
|
33130
|
-
export const makeRetracking = () => factories['io.flow.internal.v0.models.retracking']();
|
|
33131
|
-
export const makeRetrackingForm = () => factories['io.flow.internal.v0.models.retracking_form']();
|
|
33132
33376
|
export const makeReturn = () => factories['io.flow.internal.v0.models.return']();
|
|
33133
33377
|
export const makeReturnPolicyDeleted = () => factories['io.flow.internal.v0.models.return_policy_deleted']();
|
|
33134
33378
|
export const makeReturnPolicyItemResultDeleted = () => factories['io.flow.internal.v0.models.return_policy_item_result_deleted']();
|
|
@@ -33273,6 +33517,9 @@ export const makeShopifyOrderLineContent = () => factories['io.flow.internal.v0.
|
|
|
33273
33517
|
export const makeShopifyOrderRiskAssessment = () => factories['io.flow.internal.v0.models.shopify_order_risk_assessment']();
|
|
33274
33518
|
export const makeShopifyOrderRiskAssessmentDeleted = () => factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted']();
|
|
33275
33519
|
export const makeShopifyOrderRiskAssessmentUpserted = () => factories['io.flow.internal.v0.models.shopify_order_risk_assessment_upserted']();
|
|
33520
|
+
export const makeShopifyOrderTransaction = () => factories['io.flow.internal.v0.models.shopify_order_transaction']();
|
|
33521
|
+
export const makeShopifyOrderTransactionDeleted = () => factories['io.flow.internal.v0.models.shopify_order_transaction_deleted']();
|
|
33522
|
+
export const makeShopifyOrderTransactionUpserted = () => factories['io.flow.internal.v0.models.shopify_order_transaction_upserted']();
|
|
33276
33523
|
export const makeShopifyOrganizationSettings = () => factories['io.flow.internal.v0.models.shopify_organization_settings']();
|
|
33277
33524
|
export const makeShopifyOrganizationSettingsForm = () => factories['io.flow.internal.v0.models.shopify_organization_settings_form']();
|
|
33278
33525
|
export const makeShopifyPartnerWebhook = () => factories['io.flow.internal.v0.models.shopify_partner_webhook']();
|
|
@@ -33425,6 +33672,7 @@ export const makeTaxCalculationErrorCode = () => factories['io.flow.internal.v0.
|
|
|
33425
33672
|
export const makeTaxCalculationForm = () => factories['io.flow.internal.v0.models.tax_calculation_form']();
|
|
33426
33673
|
export const makeTaxCalculationLineItem = () => factories['io.flow.internal.v0.models.tax_calculation_line_item']();
|
|
33427
33674
|
export const makeTaxCalculationLineItemForm = () => factories['io.flow.internal.v0.models.tax_calculation_line_item_form']();
|
|
33675
|
+
export const makeTaxDutyReasonCodeMetadata = () => factories['io.flow.internal.v0.models.tax_duty_reason_code_metadata']();
|
|
33428
33676
|
export const makeTaxParty = () => factories['io.flow.internal.v0.enums.tax_party']();
|
|
33429
33677
|
export const makeTaxRemittanceTransaction = () => factories['io.flow.internal.v0.models.tax_remittance_transaction']();
|
|
33430
33678
|
export const makeTaxRemittanceTransactionDeleted = () => factories['io.flow.internal.v0.models.tax_remittance_transaction_deleted']();
|
|
@@ -33434,6 +33682,9 @@ export const makeTaxTransactionDeleted = () => factories['io.flow.internal.v0.mo
|
|
|
33434
33682
|
export const makeTaxTransactionType = () => factories['io.flow.internal.v0.enums.tax_transaction_type']();
|
|
33435
33683
|
export const makeTaxTransactionUpserted = () => factories['io.flow.internal.v0.models.tax_transaction_upserted']();
|
|
33436
33684
|
export const makeTaxonomyCategory = () => factories['io.flow.internal.v0.models.taxonomy_category']();
|
|
33685
|
+
export const makeTaxonomyCategoryHs6Ref = () => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref']();
|
|
33686
|
+
export const makeTaxonomyCategoryHs6RefDeleted = () => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_deleted']();
|
|
33687
|
+
export const makeTaxonomyCategoryHs6RefUpserted = () => factories['io.flow.internal.v0.models.taxonomy_category_hs6_ref_upserted']();
|
|
33437
33688
|
export const makeTaxonomyNode = () => factories['io.flow.internal.v0.models.taxonomy_node']();
|
|
33438
33689
|
export const makeTechOnboardingDescription = () => factories['io.flow.internal.v0.models.tech_onboarding_description']();
|
|
33439
33690
|
export const makeTest = () => factories['io.flow.internal.v0.models.test']();
|
|
@@ -33480,7 +33731,6 @@ export const makeTrackingProcessingErrorUpserted = () => factories['io.flow.inte
|
|
|
33480
33731
|
export const makeTrackingProcessingFailureClassification = () => factories['io.flow.internal.v0.enums.tracking_processing_failure_classification']();
|
|
33481
33732
|
export const makeTrackingRequest = () => factories['io.flow.internal.v0.models.tracking_request']();
|
|
33482
33733
|
export const makeTrackingResponse = () => factories['io.flow.internal.v0.models.tracking_response']();
|
|
33483
|
-
export const makeTrackingResync = () => factories['io.flow.internal.v0.models.tracking_resync']();
|
|
33484
33734
|
export const makeTrackingSubscription = () => factories['io.flow.internal.v0.models.tracking_subscription']();
|
|
33485
33735
|
export const makeTrackingSubscriptionDeleted = () => factories['io.flow.internal.v0.models.tracking_subscription_deleted']();
|
|
33486
33736
|
export const makeTrackingSubscriptionUpserted = () => factories['io.flow.internal.v0.models.tracking_subscription_upserted']();
|