@flowio/api-internal-factories 0.0.139 → 0.0.141
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 +1095 -97
- package/dist/esm/api-internal.js +1005 -57
- package/dist/types/api-internal.d.ts +53 -4
- package/package.json +2 -2
- package/src/api-internal.ts +1202 -61
package/src/api-internal.ts
CHANGED
|
@@ -730,6 +730,18 @@ const factories = {
|
|
|
730
730
|
iban: factories.string(),
|
|
731
731
|
}),
|
|
732
732
|
|
|
733
|
+
'io.flow.billing.bank.account.v0.models.bank_account_info_kor': (): io.flow.billing.bank.account.v0.models.BankAccountInfoKor => ({
|
|
734
|
+
discriminator: 'kor',
|
|
735
|
+
name: factories.string(),
|
|
736
|
+
address: factories['io.flow.common.v0.models.address'](),
|
|
737
|
+
phone: factories.string(),
|
|
738
|
+
email: factories.string(),
|
|
739
|
+
bank_account_number: factories.string(),
|
|
740
|
+
bank_routing_number: factories.string(),
|
|
741
|
+
bank_name: factories.string(),
|
|
742
|
+
bank_address: factories['io.flow.common.v0.models.address'](),
|
|
743
|
+
}),
|
|
744
|
+
|
|
733
745
|
'io.flow.billing.bank.account.v0.models.bank_account_info_usa': (): io.flow.billing.bank.account.v0.models.BankAccountInfoUsa => ({
|
|
734
746
|
discriminator: 'usa',
|
|
735
747
|
routing_number: factories.string(),
|
|
@@ -743,6 +755,7 @@ const factories = {
|
|
|
743
755
|
() => factories['io.flow.billing.bank.account.v0.models.bank_account_info_gbr'](),
|
|
744
756
|
() => factories['io.flow.billing.bank.account.v0.models.bank_account_info_fra'](),
|
|
745
757
|
() => factories['io.flow.billing.bank.account.v0.models.bank_account_info_ita'](),
|
|
758
|
+
() => factories['io.flow.billing.bank.account.v0.models.bank_account_info_kor'](),
|
|
746
759
|
]);
|
|
747
760
|
|
|
748
761
|
return f();
|
|
@@ -779,7 +792,8 @@ const factories = {
|
|
|
779
792
|
'account_payment_hold',
|
|
780
793
|
]),
|
|
781
794
|
|
|
782
|
-
'io.flow.billing.v0.enums.statement_attachment_type': (): io.flow.billing.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv']),
|
|
795
|
+
'io.flow.billing.v0.enums.statement_attachment_type': (): io.flow.billing.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv', 'pdf']),
|
|
796
|
+
'io.flow.billing.v0.enums.statement_status_code': (): io.flow.billing.v0.enums.StatementStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'failed']),
|
|
783
797
|
|
|
784
798
|
'io.flow.billing.v0.enums.tax_duty_transaction_reason_code': (): io.flow.billing.v0.enums.TaxDutyTransactionReasonCode => faker.helpers.arrayElement([
|
|
785
799
|
'post_capture',
|
|
@@ -788,6 +802,7 @@ const factories = {
|
|
|
788
802
|
'order_edit',
|
|
789
803
|
'mixed_fulfilment_non_lvg',
|
|
790
804
|
'lvg_refund',
|
|
805
|
+
'us_inbound_tax_refund',
|
|
791
806
|
'order_cancellation_above_de_min',
|
|
792
807
|
'wyol_shipment_above_de_min',
|
|
793
808
|
'full_refund_without_shipment',
|
|
@@ -827,9 +842,11 @@ const factories = {
|
|
|
827
842
|
'merchant_refund',
|
|
828
843
|
'ge_revenue_share',
|
|
829
844
|
'merchant_fee',
|
|
845
|
+
'b2b_tax',
|
|
846
|
+
'b2b_tax_refund',
|
|
830
847
|
]),
|
|
831
848
|
|
|
832
|
-
'io.flow.billing.v0.enums.trueup_source': (): io.flow.billing.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']),
|
|
849
|
+
'io.flow.billing.v0.enums.trueup_source': (): io.flow.billing.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups', 'fedex']),
|
|
833
850
|
'io.flow.billing.v0.enums.withholding_deduction_type': (): io.flow.billing.v0.enums.WithholdingDeductionType => faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']),
|
|
834
851
|
|
|
835
852
|
'io.flow.billing.v0.models.account_id_reference': (): io.flow.billing.v0.models.AccountIdReference => ({
|
|
@@ -1089,6 +1106,11 @@ const factories = {
|
|
|
1089
1106
|
created_at: factories.date_time_iso_8601(),
|
|
1090
1107
|
}),
|
|
1091
1108
|
|
|
1109
|
+
'io.flow.billing.v0.models.statement_status_form': (): io.flow.billing.v0.models.StatementStatusForm => ({
|
|
1110
|
+
code: factories['io.flow.billing.v0.enums.statement_status_code'](),
|
|
1111
|
+
failure_reason: factories['io.flow.billing.v0.enums.payout_status_failure_code'](),
|
|
1112
|
+
}),
|
|
1113
|
+
|
|
1092
1114
|
'io.flow.billing.v0.models.transaction': (): io.flow.billing.v0.models.Transaction => ({
|
|
1093
1115
|
statement: factories['io.flow.billing.v0.models.billing_channel_statement_reference'](),
|
|
1094
1116
|
id: factories.string(),
|
|
@@ -2099,6 +2121,7 @@ const factories = {
|
|
|
2099
2121
|
'unsupported_virtual_goods',
|
|
2100
2122
|
'non_matching_currencies',
|
|
2101
2123
|
'unsupported_order_edit',
|
|
2124
|
+
'order_allocation_duties_mismatch',
|
|
2102
2125
|
'order_missing',
|
|
2103
2126
|
]),
|
|
2104
2127
|
|
|
@@ -2155,6 +2178,7 @@ const factories = {
|
|
|
2155
2178
|
order_updated_at: factories.date_time_iso_8601(),
|
|
2156
2179
|
order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
|
|
2157
2180
|
payment_source: factories['io.flow.channel.internal.v0.enums.order_payment_source_type'](),
|
|
2181
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
2158
2182
|
}),
|
|
2159
2183
|
|
|
2160
2184
|
'io.flow.channel.internal.v0.models.channel_order_acceptance_details': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceDetails => ({
|
|
@@ -2261,6 +2285,35 @@ const factories = {
|
|
|
2261
2285
|
token: factories.string(),
|
|
2262
2286
|
}),
|
|
2263
2287
|
|
|
2288
|
+
'io.flow.channel.shopify.v0.enums.channel_shopify_order_state_reason_code': (): io.flow.channel.shopify.v0.enums.ChannelShopifyOrderStateReasonCode => faker.helpers.arrayElement(['placeholder_reason_code']),
|
|
2289
|
+
|
|
2290
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_state': (): io.flow.channel.shopify.v0.models.ChannelShopifyOrderState => ({
|
|
2291
|
+
id: factories.string(),
|
|
2292
|
+
shopify_order_summary: factories['io.flow.channel.shopify.v0.models.channel_shopify_order_summary'](),
|
|
2293
|
+
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
2294
|
+
|
|
2295
|
+
reasons: arrayOf(
|
|
2296
|
+
() => factories['io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason'](),
|
|
2297
|
+
),
|
|
2298
|
+
|
|
2299
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
2300
|
+
}),
|
|
2301
|
+
|
|
2302
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason': (): io.flow.channel.shopify.v0.models.ChannelShopifyOrderStateReason => ({
|
|
2303
|
+
code: factories['io.flow.channel.shopify.v0.enums.channel_shopify_order_state_reason_code'](),
|
|
2304
|
+
message: factories.string(),
|
|
2305
|
+
}),
|
|
2306
|
+
|
|
2307
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_summary': (): io.flow.channel.shopify.v0.models.ChannelShopifyOrderSummary => ({
|
|
2308
|
+
order_id: factories.long(),
|
|
2309
|
+
shop_id: factories.long(),
|
|
2310
|
+
}),
|
|
2311
|
+
|
|
2312
|
+
'io.flow.channel.shopify.v0.models.external_order_summary': (): io.flow.channel.shopify.v0.models.ExternalOrderSummary => ({
|
|
2313
|
+
id: factories.string(),
|
|
2314
|
+
edit_ids: arrayOf(() => factories.string()),
|
|
2315
|
+
}),
|
|
2316
|
+
|
|
2264
2317
|
'io.flow.channel.v0.enums.channel_currency_capability': (): io.flow.channel.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
2265
2318
|
|
|
2266
2319
|
'io.flow.channel.v0.models.channel': (): io.flow.channel.v0.models.Channel => ({
|
|
@@ -2628,6 +2681,8 @@ const factories = {
|
|
|
2628
2681
|
'io.flow.common.v0.models.merchant_of_record_entity_registration': (): io.flow.common.v0.models.MerchantOfRecordEntityRegistration => ({
|
|
2629
2682
|
number: factories.string(),
|
|
2630
2683
|
country: factories.string(),
|
|
2684
|
+
province_number: factories.string(),
|
|
2685
|
+
province: factories.string(),
|
|
2631
2686
|
}),
|
|
2632
2687
|
|
|
2633
2688
|
'io.flow.common.v0.models.money': (): io.flow.common.v0.models.Money => ({
|
|
@@ -2870,6 +2925,302 @@ const factories = {
|
|
|
2870
2925
|
return f();
|
|
2871
2926
|
},
|
|
2872
2927
|
|
|
2928
|
+
'io.flow.consumer.invoice.v0.enums.b2b_invoice_type': (): io.flow.consumer.invoice.v0.enums.B2BInvoiceType => faker.helpers.arrayElement(['self_bill_invoice', 'invoice']),
|
|
2929
|
+
'io.flow.consumer.invoice.v0.enums.consumer_invoice_customer_type': (): io.flow.consumer.invoice.v0.enums.ConsumerInvoiceCustomerType => faker.helpers.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']),
|
|
2930
|
+
'io.flow.consumer.invoice.v0.enums.consumer_invoice_document_type': (): io.flow.consumer.invoice.v0.enums.ConsumerInvoiceDocumentType => faker.helpers.arrayElement(['pdf']),
|
|
2931
|
+
'io.flow.consumer.invoice.v0.enums.consumer_invoice_status': (): io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus => faker.helpers.arrayElement(['pending', 'available', 'invalid']),
|
|
2932
|
+
'io.flow.consumer.invoice.v0.enums.tax_jurisdiction_type': (): io.flow.consumer.invoice.v0.enums.TaxJurisdictionType => faker.helpers.arrayElement(['country', 'province']),
|
|
2933
|
+
'io.flow.consumer.invoice.v0.enums.tax_type': (): io.flow.consumer.invoice.v0.enums.TaxType => faker.helpers.arrayElement(['vat', 'gst', 'hst', 'pst', 'qst', 'sales_tax']),
|
|
2934
|
+
|
|
2935
|
+
'io.flow.consumer.invoice.v0.models.b2b_credit_memo': (): io.flow.consumer.invoice.v0.models.B2BCreditMemo => ({
|
|
2936
|
+
id: factories.string(),
|
|
2937
|
+
number: factories.string(),
|
|
2938
|
+
buyer: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2939
|
+
seller: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2940
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
2941
|
+
date: factories.date_time_iso_8601(),
|
|
2942
|
+
key: factories.string(),
|
|
2943
|
+
invoice: factories['io.flow.consumer.invoice.v0.models.b2b_invoice_reference'](),
|
|
2944
|
+
|
|
2945
|
+
lines: arrayOf(
|
|
2946
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](),
|
|
2947
|
+
),
|
|
2948
|
+
|
|
2949
|
+
tax_lines: arrayOf(() => factories['io.flow.consumer.invoice.v0.models.invoice_tax_line']()),
|
|
2950
|
+
tax: factories['io.flow.common.v0.models.money'](),
|
|
2951
|
+
|
|
2952
|
+
documents: arrayOf(
|
|
2953
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](),
|
|
2954
|
+
),
|
|
2955
|
+
|
|
2956
|
+
attributes: objectOf(() => factories.string()),
|
|
2957
|
+
b2b_invoice_type: factories['io.flow.consumer.invoice.v0.enums.b2b_invoice_type'](),
|
|
2958
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
2959
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
2960
|
+
}),
|
|
2961
|
+
|
|
2962
|
+
'io.flow.consumer.invoice.v0.models.b2b_invoice': (): io.flow.consumer.invoice.v0.models.B2BInvoice => ({
|
|
2963
|
+
id: factories.string(),
|
|
2964
|
+
number: factories.string(),
|
|
2965
|
+
buyer: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2966
|
+
seller: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2967
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
2968
|
+
date: factories.date_time_iso_8601(),
|
|
2969
|
+
key: factories.string(),
|
|
2970
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
2971
|
+
economic_title_location: factories['io.flow.merchant.of.record.v0.enums.economic_title_location'](),
|
|
2972
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
2973
|
+
destination: factories['io.flow.experience.v0.models.order_address'](),
|
|
2974
|
+
tax: factories['io.flow.common.v0.models.money'](),
|
|
2975
|
+
tax_lines: arrayOf(() => factories['io.flow.consumer.invoice.v0.models.invoice_tax_line']()),
|
|
2976
|
+
|
|
2977
|
+
lines: arrayOf(
|
|
2978
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](),
|
|
2979
|
+
),
|
|
2980
|
+
|
|
2981
|
+
documents: arrayOf(
|
|
2982
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](),
|
|
2983
|
+
),
|
|
2984
|
+
|
|
2985
|
+
attributes: objectOf(() => factories.string()),
|
|
2986
|
+
estimated_delivery_date: factories.date_time_iso_8601(),
|
|
2987
|
+
b2b_invoice_type: factories['io.flow.consumer.invoice.v0.enums.b2b_invoice_type'](),
|
|
2988
|
+
}),
|
|
2989
|
+
|
|
2990
|
+
'io.flow.consumer.invoice.v0.models.b2b_invoice_reference': (): io.flow.consumer.invoice.v0.models.B2BInvoiceReference => ({
|
|
2991
|
+
id: factories.string(),
|
|
2992
|
+
key: factories.string(),
|
|
2993
|
+
number: factories.string(),
|
|
2994
|
+
}),
|
|
2995
|
+
|
|
2996
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice': (): io.flow.consumer.invoice.v0.models.ConsumerInvoice => ({
|
|
2997
|
+
id: factories.string(),
|
|
2998
|
+
number: factories.string(),
|
|
2999
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
3000
|
+
date: factories.date_time_iso_8601(),
|
|
3001
|
+
key: factories.string(),
|
|
3002
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
3003
|
+
entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
3004
|
+
|
|
3005
|
+
payments: arrayOf(
|
|
3006
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_payment'](),
|
|
3007
|
+
),
|
|
3008
|
+
|
|
3009
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
3010
|
+
destination: factories['io.flow.experience.v0.models.order_address'](),
|
|
3011
|
+
billing_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
3012
|
+
|
|
3013
|
+
lines: arrayOf(
|
|
3014
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](),
|
|
3015
|
+
),
|
|
3016
|
+
|
|
3017
|
+
documents: arrayOf(
|
|
3018
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](),
|
|
3019
|
+
),
|
|
3020
|
+
|
|
3021
|
+
attributes: objectOf(() => factories.string()),
|
|
3022
|
+
tax_registration: factories['io.flow.harmonization.v0.models.tax_registration'](),
|
|
3023
|
+
customer_type: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_customer_type'](),
|
|
3024
|
+
estimated_delivery_date: factories.date_time_iso_8601(),
|
|
3025
|
+
}),
|
|
3026
|
+
|
|
3027
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference => ({
|
|
3028
|
+
id: factories.string(),
|
|
3029
|
+
key: factories.string(),
|
|
3030
|
+
name: factories.string(),
|
|
3031
|
+
address: factories['io.flow.common.v0.models.address'](),
|
|
3032
|
+
}),
|
|
3033
|
+
|
|
3034
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_document': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument => ({
|
|
3035
|
+
type: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_document_type'](),
|
|
3036
|
+
language: factories.string(),
|
|
3037
|
+
url: factories.string(),
|
|
3038
|
+
}),
|
|
3039
|
+
|
|
3040
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceForm => ({
|
|
3041
|
+
order_number: factories.string(),
|
|
3042
|
+
attributes: objectOf(() => factories.string()),
|
|
3043
|
+
}),
|
|
3044
|
+
|
|
3045
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_form_by_order': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceFormByOrder => ({
|
|
3046
|
+
attributes: objectOf(() => factories.string()),
|
|
3047
|
+
}),
|
|
3048
|
+
|
|
3049
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_levy': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy => ({
|
|
3050
|
+
rate: factories.decimal(),
|
|
3051
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
3052
|
+
}),
|
|
3053
|
+
|
|
3054
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm => ({
|
|
3055
|
+
rate: factories.decimal(),
|
|
3056
|
+
amount: factories.decimal(),
|
|
3057
|
+
}),
|
|
3058
|
+
|
|
3059
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscount => ({
|
|
3060
|
+
discriminator: 'discount',
|
|
3061
|
+
line_id: factories.string(),
|
|
3062
|
+
price: factories['io.flow.common.v0.models.price'](),
|
|
3063
|
+
}),
|
|
3064
|
+
|
|
3065
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscountForm => ({
|
|
3066
|
+
discriminator: 'discount',
|
|
3067
|
+
price: factories.decimal(),
|
|
3068
|
+
}),
|
|
3069
|
+
|
|
3070
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_item': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItem => ({
|
|
3071
|
+
discriminator: 'item',
|
|
3072
|
+
line_id: factories.string(),
|
|
3073
|
+
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
3074
|
+
description: factories.string(),
|
|
3075
|
+
quantity: factories.long(),
|
|
3076
|
+
unit_price: factories['io.flow.common.v0.models.price'](),
|
|
3077
|
+
unit_discount: factories['io.flow.common.v0.models.price'](),
|
|
3078
|
+
unit_tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3079
|
+
unit_duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3080
|
+
}),
|
|
3081
|
+
|
|
3082
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_item_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItemForm => ({
|
|
3083
|
+
discriminator: 'item',
|
|
3084
|
+
item_number: factories.string(),
|
|
3085
|
+
quantity: factories.long(),
|
|
3086
|
+
unit_price: factories.decimal(),
|
|
3087
|
+
unit_discount: factories.decimal(),
|
|
3088
|
+
unit_tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3089
|
+
unit_duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3090
|
+
}),
|
|
3091
|
+
|
|
3092
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShipping => ({
|
|
3093
|
+
discriminator: 'shipping',
|
|
3094
|
+
line_id: factories.string(),
|
|
3095
|
+
price: factories['io.flow.common.v0.models.price'](),
|
|
3096
|
+
discount: factories['io.flow.common.v0.models.price'](),
|
|
3097
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3098
|
+
duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3099
|
+
}),
|
|
3100
|
+
|
|
3101
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShippingForm => ({
|
|
3102
|
+
discriminator: 'shipping',
|
|
3103
|
+
price: factories.decimal(),
|
|
3104
|
+
discount: factories.decimal(),
|
|
3105
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3106
|
+
duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3107
|
+
}),
|
|
3108
|
+
|
|
3109
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineTip => ({
|
|
3110
|
+
discriminator: 'tip',
|
|
3111
|
+
line_id: factories.string(),
|
|
3112
|
+
price: factories['io.flow.common.v0.models.price'](),
|
|
3113
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3114
|
+
}),
|
|
3115
|
+
|
|
3116
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineTipForm => ({
|
|
3117
|
+
discriminator: 'tip',
|
|
3118
|
+
price: factories.decimal(),
|
|
3119
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3120
|
+
}),
|
|
3121
|
+
|
|
3122
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary => ({
|
|
3123
|
+
id: factories.string(),
|
|
3124
|
+
number: factories.string(),
|
|
3125
|
+
submitted_at: factories.date_time_iso_8601(),
|
|
3126
|
+
}),
|
|
3127
|
+
|
|
3128
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_payment': (): io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment => ({
|
|
3129
|
+
date: factories.date_time_iso_8601(),
|
|
3130
|
+
description: factories.string(),
|
|
3131
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
3132
|
+
billing_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
3133
|
+
}),
|
|
3134
|
+
|
|
3135
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_reference': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceReference => ({
|
|
3136
|
+
id: factories.string(),
|
|
3137
|
+
key: factories.string(),
|
|
3138
|
+
number: factories.string(),
|
|
3139
|
+
}),
|
|
3140
|
+
|
|
3141
|
+
'io.flow.consumer.invoice.v0.models.credit_memo': (): io.flow.consumer.invoice.v0.models.CreditMemo => ({
|
|
3142
|
+
id: factories.string(),
|
|
3143
|
+
number: factories.string(),
|
|
3144
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
3145
|
+
date: factories.date_time_iso_8601(),
|
|
3146
|
+
key: factories.string(),
|
|
3147
|
+
invoice: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_reference'](),
|
|
3148
|
+
entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
3149
|
+
|
|
3150
|
+
payments: arrayOf(
|
|
3151
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_payment'](),
|
|
3152
|
+
),
|
|
3153
|
+
|
|
3154
|
+
lines: arrayOf(
|
|
3155
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](),
|
|
3156
|
+
),
|
|
3157
|
+
|
|
3158
|
+
documents: arrayOf(
|
|
3159
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](),
|
|
3160
|
+
),
|
|
3161
|
+
|
|
3162
|
+
attributes: objectOf(() => factories.string()),
|
|
3163
|
+
tax_registration: factories['io.flow.harmonization.v0.models.tax_registration'](),
|
|
3164
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
3165
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
3166
|
+
}),
|
|
3167
|
+
|
|
3168
|
+
'io.flow.consumer.invoice.v0.models.credit_memo_form': (): io.flow.consumer.invoice.v0.models.CreditMemoForm => ({
|
|
3169
|
+
refund_id: factories.string(),
|
|
3170
|
+
refund_key: factories.string(),
|
|
3171
|
+
refund_identifier: factories.string(),
|
|
3172
|
+
|
|
3173
|
+
lines: arrayOf(
|
|
3174
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line_form'](),
|
|
3175
|
+
),
|
|
3176
|
+
|
|
3177
|
+
attributes: objectOf(() => factories.string()),
|
|
3178
|
+
}),
|
|
3179
|
+
|
|
3180
|
+
'io.flow.consumer.invoice.v0.models.invoice_export': (): io.flow.consumer.invoice.v0.models.InvoiceExport => ({
|
|
3181
|
+
id: factories.string(),
|
|
3182
|
+
}),
|
|
3183
|
+
|
|
3184
|
+
'io.flow.consumer.invoice.v0.models.invoice_export_form': (): io.flow.consumer.invoice.v0.models.InvoiceExportForm => ({
|
|
3185
|
+
date_from: factories.date_iso_8601(),
|
|
3186
|
+
date_to: factories.date_iso_8601(),
|
|
3187
|
+
}),
|
|
3188
|
+
|
|
3189
|
+
'io.flow.consumer.invoice.v0.models.invoice_tax_line': (): io.flow.consumer.invoice.v0.models.InvoiceTaxLine => ({
|
|
3190
|
+
line_id: factories.string(),
|
|
3191
|
+
tax_breakdown: arrayOf(() => factories['io.flow.consumer.invoice.v0.models.tax_breakdown']()),
|
|
3192
|
+
}),
|
|
3193
|
+
|
|
3194
|
+
'io.flow.consumer.invoice.v0.models.tax_breakdown': (): io.flow.consumer.invoice.v0.models.TaxBreakdown => ({
|
|
3195
|
+
label: factories.string(),
|
|
3196
|
+
calculated_tax: factories['io.flow.common.v0.models.money'](),
|
|
3197
|
+
rate: factories.decimal(),
|
|
3198
|
+
line_total: factories['io.flow.common.v0.models.money'](),
|
|
3199
|
+
jurisdiction_type: factories['io.flow.consumer.invoice.v0.enums.tax_jurisdiction_type'](),
|
|
3200
|
+
}),
|
|
3201
|
+
|
|
3202
|
+
'io.flow.consumer.invoice.v0.unions.consumer_invoice_line': (): io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine => {
|
|
3203
|
+
const f = faker.helpers.arrayElement([
|
|
3204
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_item'](),
|
|
3205
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount'](),
|
|
3206
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping'](),
|
|
3207
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip'](),
|
|
3208
|
+
]);
|
|
3209
|
+
|
|
3210
|
+
return f();
|
|
3211
|
+
},
|
|
3212
|
+
|
|
3213
|
+
'io.flow.consumer.invoice.v0.unions.consumer_invoice_line_form': (): io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLineForm => {
|
|
3214
|
+
const f = faker.helpers.arrayElement([
|
|
3215
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_item_form'](),
|
|
3216
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount_form'](),
|
|
3217
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping_form'](),
|
|
3218
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip_form'](),
|
|
3219
|
+
]);
|
|
3220
|
+
|
|
3221
|
+
return f();
|
|
3222
|
+
},
|
|
3223
|
+
|
|
2873
3224
|
'io.flow.crypto.v0.enums.error_type': (): io.flow.crypto.v0.enums.ErrorType => faker.helpers.arrayElement(['authentication_error', 'invalid_request_error', 'rate_limit_error']),
|
|
2874
3225
|
'io.flow.crypto.v0.enums.payment_status': (): io.flow.crypto.v0.enums.PaymentStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'cancelled']),
|
|
2875
3226
|
'io.flow.crypto.v0.enums.reason_type': (): io.flow.crypto.v0.enums.ReasonType => faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']),
|
|
@@ -3062,6 +3413,7 @@ const factories = {
|
|
|
3062
3413
|
'io.flow.experience.v0.enums.organization_payment_method_tag': (): io.flow.experience.v0.enums.OrganizationPaymentMethodTag => faker.helpers.arrayElement(['deny']),
|
|
3063
3414
|
'io.flow.experience.v0.enums.payment_method_rule_content_key': (): io.flow.experience.v0.enums.PaymentMethodRuleContentKey => faker.helpers.arrayElement(['description']),
|
|
3064
3415
|
'io.flow.experience.v0.enums.price_facet_boundary': (): io.flow.experience.v0.enums.PriceFacetBoundary => faker.helpers.arrayElement(['min', 'max']),
|
|
3416
|
+
'io.flow.experience.v0.enums.pricing_type': (): io.flow.experience.v0.enums.PricingType => faker.helpers.arrayElement(['inclusive_pricing']),
|
|
3065
3417
|
'io.flow.experience.v0.enums.promotion_trigger_type': (): io.flow.experience.v0.enums.PromotionTriggerType => faker.helpers.arrayElement(['automatic', 'order_subtotal']),
|
|
3066
3418
|
|
|
3067
3419
|
'io.flow.experience.v0.models.address_configuration': (): io.flow.experience.v0.models.AddressConfiguration => ({
|
|
@@ -3747,6 +4099,7 @@ const factories = {
|
|
|
3747
4099
|
payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
3748
4100
|
edits: arrayOf(() => factories['io.flow.experience.v0.models.edit_summary']()),
|
|
3749
4101
|
rates: arrayOf(() => factories['io.flow.experience.v0.models.order_rate']()),
|
|
4102
|
+
pricing_type: factories['io.flow.experience.v0.enums.pricing_type'](),
|
|
3750
4103
|
}),
|
|
3751
4104
|
|
|
3752
4105
|
'io.flow.experience.v0.models.order_address': (): io.flow.experience.v0.models.OrderAddress => ({
|
|
@@ -6642,6 +6995,7 @@ const factories = {
|
|
|
6642
6995
|
'io.flow.internal.v0.enums.adjustment_transaction_type': (): io.flow.internal.v0.enums.AdjustmentTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal']),
|
|
6643
6996
|
'io.flow.internal.v0.enums.adyen_integration_type': (): io.flow.internal.v0.enums.AdyenIntegrationType => faker.helpers.arrayElement(['hosted_payment_page', 'checkout_payments_api', 'classic_authorise_api']),
|
|
6644
6997
|
'io.flow.internal.v0.enums.aldo_item_type': (): io.flow.internal.v0.enums.AldoItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6998
|
+
'io.flow.internal.v0.enums.amrutha_item_type': (): io.flow.internal.v0.enums.AmruthaItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6645
6999
|
'io.flow.internal.v0.enums.anirban_item_type': (): io.flow.internal.v0.enums.AnirbanItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6646
7000
|
'io.flow.internal.v0.enums.ansh_item_type': (): io.flow.internal.v0.enums.AnshItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
6647
7001
|
'io.flow.internal.v0.enums.any_dangerous_goods': (): io.flow.internal.v0.enums.AnyDangerousGoods => faker.helpers.arrayElement(['yes', 'no', 'i_dont_know']),
|
|
@@ -6665,6 +7019,8 @@ const factories = {
|
|
|
6665
7019
|
'prr-74e1320efb7741cf9ace400b69800f9b',
|
|
6666
7020
|
]),
|
|
6667
7021
|
|
|
7022
|
+
'io.flow.internal.v0.enums.b2b_tax_ledger_document_type': (): io.flow.internal.v0.enums.B2BTaxLedgerDocumentType => faker.helpers.arrayElement(['b2b_invoice', 'b2b_credit_memo']),
|
|
7023
|
+
'io.flow.internal.v0.enums.b2b_tax_rate_type': (): io.flow.internal.v0.enums.B2BTaxRateType => faker.helpers.arrayElement(['basic', 'preferential', 'exempt']),
|
|
6668
7024
|
'io.flow.internal.v0.enums.bank_account_status': (): io.flow.internal.v0.enums.BankAccountStatus => faker.helpers.arrayElement(['on_hold', 'not_on_hold']),
|
|
6669
7025
|
'io.flow.internal.v0.enums.bank_payment_promise_completed_method': (): io.flow.internal.v0.enums.BankPaymentPromiseCompletedMethod => faker.helpers.arrayElement(['credit', 'time']),
|
|
6670
7026
|
'io.flow.internal.v0.enums.bank_payment_status_code': (): io.flow.internal.v0.enums.BankPaymentStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'failed']),
|
|
@@ -6944,6 +7300,8 @@ const factories = {
|
|
|
6944
7300
|
'merchant_fee',
|
|
6945
7301
|
'merchant_payout',
|
|
6946
7302
|
'merchant_refund',
|
|
7303
|
+
'b2b_tax',
|
|
7304
|
+
'b2b_tax_refund',
|
|
6947
7305
|
]),
|
|
6948
7306
|
|
|
6949
7307
|
'io.flow.internal.v0.enums.calculator_engine': (): io.flow.internal.v0.enums.CalculatorEngine => faker.helpers.arrayElement(['dtce_with_deminimis', 'dtce_with_inclusive_pricing', 'dtce_and_us_tax']),
|
|
@@ -6995,6 +7353,7 @@ const factories = {
|
|
|
6995
7353
|
'unsupported_virtual_goods',
|
|
6996
7354
|
'non_matching_currencies',
|
|
6997
7355
|
'unsupported_order_edit',
|
|
7356
|
+
'order_allocation_duties_mismatch',
|
|
6998
7357
|
'order_missing',
|
|
6999
7358
|
]),
|
|
7000
7359
|
|
|
@@ -7037,7 +7396,8 @@ const factories = {
|
|
|
7037
7396
|
'io.flow.internal.v0.enums.checkout_url_type': (): io.flow.internal.v0.enums.CheckoutUrlType => faker.helpers.arrayElement(['continue_shopping', 'confirmation', 'invalid_checkout']),
|
|
7038
7397
|
'io.flow.internal.v0.enums.classification_decision': (): io.flow.internal.v0.enums.ClassificationDecision => faker.helpers.arrayElement(['Accept', 'Reject']),
|
|
7039
7398
|
'io.flow.internal.v0.enums.classification_error_code': (): io.flow.internal.v0.enums.ClassificationErrorCode => faker.helpers.arrayElement(['generic_error']),
|
|
7040
|
-
'io.flow.internal.v0.enums.
|
|
7399
|
+
'io.flow.internal.v0.enums.classification_failure_reason': (): io.flow.internal.v0.enums.ClassificationFailureReason => faker.helpers.arrayElement(['low_confidence', 'timeout']),
|
|
7400
|
+
'io.flow.internal.v0.enums.classification_platform': (): io.flow.internal.v0.enums.ClassificationPlatform => faker.helpers.arrayElement(['GlobalE', 'Flow', 'FlowOnboarding', 'Borderfree']),
|
|
7041
7401
|
'io.flow.internal.v0.enums.classification_scope': (): io.flow.internal.v0.enums.ClassificationScope => faker.helpers.arrayElement(['Item', 'Product']),
|
|
7042
7402
|
'io.flow.internal.v0.enums.classification_type': (): io.flow.internal.v0.enums.ClassificationType => faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']),
|
|
7043
7403
|
'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']),
|
|
@@ -7219,8 +7579,6 @@ const factories = {
|
|
|
7219
7579
|
'export_failed',
|
|
7220
7580
|
'feature_upserted',
|
|
7221
7581
|
'feature_deleted',
|
|
7222
|
-
'organization_boolean_value_upserted',
|
|
7223
|
-
'organization_boolean_value_deleted',
|
|
7224
7582
|
'account_settings_upserted',
|
|
7225
7583
|
'account_settings_deleted',
|
|
7226
7584
|
'account_processing_rates_upserted',
|
|
@@ -7420,6 +7778,8 @@ const factories = {
|
|
|
7420
7778
|
'shopify_order_risk_assessment_deleted',
|
|
7421
7779
|
'shopify_order_transaction_upserted',
|
|
7422
7780
|
'shopify_order_transaction_deleted',
|
|
7781
|
+
'shopify_test_order_upserted',
|
|
7782
|
+
'shopify_test_order_deleted',
|
|
7423
7783
|
'shopify_product_create_upserted',
|
|
7424
7784
|
'shopify_product_create_deleted',
|
|
7425
7785
|
'shopify_product_update_upserted',
|
|
@@ -7456,6 +7816,22 @@ const factories = {
|
|
|
7456
7816
|
'stripe_connect_report_record_deleted',
|
|
7457
7817
|
'liability_remittance_plan_upserted',
|
|
7458
7818
|
'liability_remittance_plan_deleted',
|
|
7819
|
+
'anirban_item_upserted',
|
|
7820
|
+
'anirban_item_deleted',
|
|
7821
|
+
'sarvesh_item_upserted',
|
|
7822
|
+
'sarvesh_item_deleted',
|
|
7823
|
+
'hosein_item_upserted',
|
|
7824
|
+
'hosein_item_deleted',
|
|
7825
|
+
'niall_item_upserted',
|
|
7826
|
+
'niall_item_deleted',
|
|
7827
|
+
'rohan_item_upserted',
|
|
7828
|
+
'rohan_item_deleted',
|
|
7829
|
+
'aldo_item_upserted',
|
|
7830
|
+
'aldo_item_deleted',
|
|
7831
|
+
'ansh_item_upserted',
|
|
7832
|
+
'ansh_item_deleted',
|
|
7833
|
+
'gabriel_item_upserted',
|
|
7834
|
+
'gabriel_item_deleted',
|
|
7459
7835
|
'tracking_processing_error_upserted',
|
|
7460
7836
|
'tracking_processing_error_deleted',
|
|
7461
7837
|
'tracking_label_event_upserted_v2',
|
|
@@ -7490,6 +7866,7 @@ const factories = {
|
|
|
7490
7866
|
'io.flow.internal.v0.enums.fraud_provider': (): io.flow.internal.v0.enums.FraudProvider => faker.helpers.arrayElement(['flow', 'forter', 'paypal', 'riskified', 'rps', 'other', 'none']),
|
|
7491
7867
|
'io.flow.internal.v0.enums.fraud_provider_status': (): io.flow.internal.v0.enums.FraudProviderStatus => faker.helpers.arrayElement(['active', 'archived']),
|
|
7492
7868
|
'io.flow.internal.v0.enums.fraud_review_responsible_party': (): io.flow.internal.v0.enums.FraudReviewResponsibleParty => faker.helpers.arrayElement(['flow', 'organization']),
|
|
7869
|
+
'io.flow.internal.v0.enums.gabriel_item_type': (): io.flow.internal.v0.enums.GabrielItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7493
7870
|
'io.flow.internal.v0.enums.ge_ingestion_file_status': (): io.flow.internal.v0.enums.GeIngestionFileStatus => faker.helpers.arrayElement(['pending', 'processed']),
|
|
7494
7871
|
'io.flow.internal.v0.enums.ge_revenue_share_transaction_type': (): io.flow.internal.v0.enums.GeRevenueShareTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'revenue_share']),
|
|
7495
7872
|
'io.flow.internal.v0.enums.google_analytics_plugin': (): io.flow.internal.v0.enums.GoogleAnalyticsPlugin => faker.helpers.arrayElement(['ec']),
|
|
@@ -7509,6 +7886,7 @@ const factories = {
|
|
|
7509
7886
|
|
|
7510
7887
|
'io.flow.internal.v0.enums.harmonization_decision_source': (): io.flow.internal.v0.enums.HarmonizationDecisionSource => faker.helpers.arrayElement(['human', 'system', 'legacy_model', 'enterprise_model', 'merchant']),
|
|
7511
7888
|
'io.flow.internal.v0.enums.hosein_item_type': (): io.flow.internal.v0.enums.HoseinItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7889
|
+
'io.flow.internal.v0.enums.hs6_code_source': (): io.flow.internal.v0.enums.Hs6CodeSource => faker.helpers.arrayElement(['sellability', 'classification', 'human']),
|
|
7512
7890
|
'io.flow.internal.v0.enums.http_method': (): io.flow.internal.v0.enums.HttpMethod => faker.helpers.arrayElement(['get', 'post']),
|
|
7513
7891
|
'io.flow.internal.v0.enums.internal_payment_entity_type': (): io.flow.internal.v0.enums.InternalPaymentEntityType => faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'dispute']),
|
|
7514
7892
|
'io.flow.internal.v0.enums.item_classification_action': (): io.flow.internal.v0.enums.ItemClassificationAction => faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']),
|
|
@@ -7554,6 +7932,8 @@ const factories = {
|
|
|
7554
7932
|
'io.flow.internal.v0.enums.label_request_result_organization_type': (): io.flow.internal.v0.enums.LabelRequestResultOrganizationType => faker.helpers.arrayElement(['all', 'legacy_production', 'managed_markets_production', 'sandbox']),
|
|
7555
7933
|
'io.flow.internal.v0.enums.label_request_result_state': (): io.flow.internal.v0.enums.LabelRequestResultState => faker.helpers.arrayElement(['success', 'failure']),
|
|
7556
7934
|
'io.flow.internal.v0.enums.label_transaction_type': (): io.flow.internal.v0.enums.LabelTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'billable_label', 'fee', 'revenue_share']),
|
|
7935
|
+
'io.flow.internal.v0.enums.ledger_report_type': (): io.flow.internal.v0.enums.LedgerReportType => faker.helpers.arrayElement(['periodic_mor_jurisdiction_report']),
|
|
7936
|
+
'io.flow.internal.v0.enums.ledger_report_url_type': (): io.flow.internal.v0.enums.LedgerReportUrlType => faker.helpers.arrayElement(['sharepoint', 's3']),
|
|
7557
7937
|
|
|
7558
7938
|
'io.flow.internal.v0.enums.liability_type': (): io.flow.internal.v0.enums.LiabilityType => faker.helpers.arrayElement(
|
|
7559
7939
|
['full_value_tax', 'low_value_goods_tax', 'high_value_goods_tax', 'duties'],
|
|
@@ -7589,6 +7969,12 @@ const factories = {
|
|
|
7589
7969
|
'global_e_united_kingdom',
|
|
7590
7970
|
'global_e_canada',
|
|
7591
7971
|
'global_e_netherlands',
|
|
7972
|
+
'uk_global_e_canada',
|
|
7973
|
+
'uk_global_e_netherlands',
|
|
7974
|
+
'uk_global_e_united_states',
|
|
7975
|
+
'ca_global_e_united_kingdom',
|
|
7976
|
+
'ca_global_e_netherlands',
|
|
7977
|
+
'ca_global_e_united_states',
|
|
7592
7978
|
]),
|
|
7593
7979
|
|
|
7594
7980
|
'io.flow.internal.v0.enums.merchant_override_status': (): io.flow.internal.v0.enums.MerchantOverrideStatus => faker.helpers.arrayElement(['pending', 'in_review', 'accepted', 'rejected']),
|
|
@@ -7630,7 +8016,6 @@ const factories = {
|
|
|
7630
8016
|
'fraud',
|
|
7631
8017
|
'logistics',
|
|
7632
8018
|
'payments',
|
|
7633
|
-
'shopify_markets',
|
|
7634
8019
|
'integration_partner',
|
|
7635
8020
|
'dtce',
|
|
7636
8021
|
'restrictions',
|
|
@@ -7715,6 +8100,10 @@ const factories = {
|
|
|
7715
8100
|
'io.flow.internal.v0.enums.pending_record_type': (): io.flow.internal.v0.enums.PendingRecordType => faker.helpers.arrayElement(['verification', 'classification', 'restriction']),
|
|
7716
8101
|
'io.flow.internal.v0.enums.prateek_item_type': (): io.flow.internal.v0.enums.PrateekItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7717
8102
|
'io.flow.internal.v0.enums.preferred_billing_schedule': (): io.flow.internal.v0.enums.PreferredBillingSchedule => faker.helpers.arrayElement(['monthly', 'bi-monthly']),
|
|
8103
|
+
'io.flow.internal.v0.enums.preonboarding_classification_decision': (): io.flow.internal.v0.enums.PreonboardingClassificationDecision => faker.helpers.arrayElement(['Accept', 'Reject']),
|
|
8104
|
+
'io.flow.internal.v0.enums.preonboarding_classification_platform': (): io.flow.internal.v0.enums.PreonboardingClassificationPlatform => faker.helpers.arrayElement(['FlowOnboarding']),
|
|
8105
|
+
'io.flow.internal.v0.enums.preonboarding_classification_type': (): io.flow.internal.v0.enums.PreonboardingClassificationType => faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']),
|
|
8106
|
+
'io.flow.internal.v0.enums.preonboarding_request_status': (): io.flow.internal.v0.enums.PreonboardingRequestStatus => faker.helpers.arrayElement(['pending', 'completed', 'failed', 'discarded']),
|
|
7718
8107
|
'io.flow.internal.v0.enums.price_selector': (): io.flow.internal.v0.enums.PriceSelector => faker.helpers.arrayElement(['minimum', 'maximum']),
|
|
7719
8108
|
|
|
7720
8109
|
'io.flow.internal.v0.enums.processing_transaction_type': (): io.flow.internal.v0.enums.ProcessingTransactionType => faker.helpers.arrayElement([
|
|
@@ -7773,6 +8162,7 @@ const factories = {
|
|
|
7773
8162
|
'trueup_overview',
|
|
7774
8163
|
'non_channel_payment_bank_account',
|
|
7775
8164
|
'scheduled_payment',
|
|
8165
|
+
'scheduled_payment_citi',
|
|
7776
8166
|
'account_quarterly_balances',
|
|
7777
8167
|
'invariants',
|
|
7778
8168
|
'payments',
|
|
@@ -7802,7 +8192,15 @@ const factories = {
|
|
|
7802
8192
|
),
|
|
7803
8193
|
|
|
7804
8194
|
'io.flow.internal.v0.enums.restriction_decision': (): io.flow.internal.v0.enums.RestrictionDecision => faker.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']),
|
|
7805
|
-
|
|
8195
|
+
|
|
8196
|
+
'io.flow.internal.v0.enums.restriction_organization_channel': (): io.flow.internal.v0.enums.RestrictionOrganizationChannel => faker.helpers.arrayElement([
|
|
8197
|
+
'shopify',
|
|
8198
|
+
'enterprise',
|
|
8199
|
+
'shopify-sandbox',
|
|
8200
|
+
'enterprise-sandbox',
|
|
8201
|
+
'enterprise-qa',
|
|
8202
|
+
]),
|
|
8203
|
+
|
|
7806
8204
|
'io.flow.internal.v0.enums.restriction_organization_source': (): io.flow.internal.v0.enums.RestrictionOrganizationSource => faker.helpers.arrayElement(['smb', 'enterprise']),
|
|
7807
8205
|
'io.flow.internal.v0.enums.restriction_rule_activation_status': (): io.flow.internal.v0.enums.RestrictionRuleActivationStatus => faker.helpers.arrayElement(['draft', 'active', 'inactive']),
|
|
7808
8206
|
'io.flow.internal.v0.enums.restriction_rule_community_exemption': (): io.flow.internal.v0.enums.RestrictionRuleCommunityExemption => faker.helpers.arrayElement(['domestic_exemption', 'intra_eu_exemption']),
|
|
@@ -7910,6 +8308,7 @@ const factories = {
|
|
|
7910
8308
|
'payment',
|
|
7911
8309
|
'rate_levels',
|
|
7912
8310
|
'center_defaults',
|
|
8311
|
+
'item_dimensions',
|
|
7913
8312
|
]),
|
|
7914
8313
|
|
|
7915
8314
|
'io.flow.internal.v0.enums.tax_and_duty_inclusivity_setting': (): io.flow.internal.v0.enums.TaxAndDutyInclusivitySetting => faker.helpers.arrayElement([
|
|
@@ -8657,6 +9056,13 @@ const factories = {
|
|
|
8657
9056
|
added_on: factories.date_iso_8601(),
|
|
8658
9057
|
}),
|
|
8659
9058
|
|
|
9059
|
+
'io.flow.internal.v0.models.aldo_item_deleted': (): io.flow.internal.v0.models.AldoItemDeleted => ({
|
|
9060
|
+
discriminator: 'aldo_item_deleted',
|
|
9061
|
+
event_id: factories.string(),
|
|
9062
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9063
|
+
id: factories.string(),
|
|
9064
|
+
}),
|
|
9065
|
+
|
|
8660
9066
|
'io.flow.internal.v0.models.aldo_item_form': (): io.flow.internal.v0.models.AldoItemForm => ({
|
|
8661
9067
|
number: factories.string(),
|
|
8662
9068
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8665,6 +9071,13 @@ const factories = {
|
|
|
8665
9071
|
added_on: factories.date_iso_8601(),
|
|
8666
9072
|
}),
|
|
8667
9073
|
|
|
9074
|
+
'io.flow.internal.v0.models.aldo_item_upserted': (): io.flow.internal.v0.models.AldoItemUpserted => ({
|
|
9075
|
+
discriminator: 'aldo_item_upserted',
|
|
9076
|
+
event_id: factories.string(),
|
|
9077
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9078
|
+
item: factories['io.flow.internal.v0.models.aldo_item'](),
|
|
9079
|
+
}),
|
|
9080
|
+
|
|
8668
9081
|
'io.flow.internal.v0.models.all_items_export': (): io.flow.internal.v0.models.AllItemsExport => ({
|
|
8669
9082
|
discriminator: 'all_items_export',
|
|
8670
9083
|
event_id: factories.string(),
|
|
@@ -8687,6 +9100,23 @@ const factories = {
|
|
|
8687
9100
|
labels: objectOf(() => arrayOf(() => factories.string())),
|
|
8688
9101
|
}),
|
|
8689
9102
|
|
|
9103
|
+
'io.flow.internal.v0.models.amrutha_item': (): io.flow.internal.v0.models.AmruthaItem => ({
|
|
9104
|
+
id: factories.string(),
|
|
9105
|
+
number: factories.string(),
|
|
9106
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
9107
|
+
description: factories.string(),
|
|
9108
|
+
type: factories['io.flow.internal.v0.enums.amrutha_item_type'](),
|
|
9109
|
+
added_on: factories.date_time_iso_8601(),
|
|
9110
|
+
}),
|
|
9111
|
+
|
|
9112
|
+
'io.flow.internal.v0.models.amrutha_item_form': (): io.flow.internal.v0.models.AmruthaItemForm => ({
|
|
9113
|
+
number: factories.string(),
|
|
9114
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
9115
|
+
description: factories.string(),
|
|
9116
|
+
type: factories['io.flow.internal.v0.enums.amrutha_item_type'](),
|
|
9117
|
+
added_on: factories.date_time_iso_8601(),
|
|
9118
|
+
}),
|
|
9119
|
+
|
|
8690
9120
|
'io.flow.internal.v0.models.anirban_item': (): io.flow.internal.v0.models.AnirbanItem => ({
|
|
8691
9121
|
id: factories.string(),
|
|
8692
9122
|
number: factories.string(),
|
|
@@ -8696,6 +9126,13 @@ const factories = {
|
|
|
8696
9126
|
added_on: factories.date_time_iso_8601(),
|
|
8697
9127
|
}),
|
|
8698
9128
|
|
|
9129
|
+
'io.flow.internal.v0.models.anirban_item_deleted': (): io.flow.internal.v0.models.AnirbanItemDeleted => ({
|
|
9130
|
+
discriminator: 'anirban_item_deleted',
|
|
9131
|
+
event_id: factories.string(),
|
|
9132
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9133
|
+
id: factories.string(),
|
|
9134
|
+
}),
|
|
9135
|
+
|
|
8699
9136
|
'io.flow.internal.v0.models.anirban_item_form': (): io.flow.internal.v0.models.AnirbanItemForm => ({
|
|
8700
9137
|
number: factories.string(),
|
|
8701
9138
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8704,6 +9141,13 @@ const factories = {
|
|
|
8704
9141
|
added_on: factories.date_time_iso_8601(),
|
|
8705
9142
|
}),
|
|
8706
9143
|
|
|
9144
|
+
'io.flow.internal.v0.models.anirban_item_upserted': (): io.flow.internal.v0.models.AnirbanItemUpserted => ({
|
|
9145
|
+
discriminator: 'anirban_item_upserted',
|
|
9146
|
+
event_id: factories.string(),
|
|
9147
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9148
|
+
item: factories['io.flow.internal.v0.models.anirban_item'](),
|
|
9149
|
+
}),
|
|
9150
|
+
|
|
8707
9151
|
'io.flow.internal.v0.models.ansh_item': (): io.flow.internal.v0.models.AnshItem => ({
|
|
8708
9152
|
id: factories.string(),
|
|
8709
9153
|
number: factories.string(),
|
|
@@ -8713,6 +9157,13 @@ const factories = {
|
|
|
8713
9157
|
added_on: factories.date_iso_8601(),
|
|
8714
9158
|
}),
|
|
8715
9159
|
|
|
9160
|
+
'io.flow.internal.v0.models.ansh_item_deleted': (): io.flow.internal.v0.models.AnshItemDeleted => ({
|
|
9161
|
+
discriminator: 'ansh_item_deleted',
|
|
9162
|
+
event_id: factories.string(),
|
|
9163
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9164
|
+
id: factories.string(),
|
|
9165
|
+
}),
|
|
9166
|
+
|
|
8716
9167
|
'io.flow.internal.v0.models.ansh_item_form': (): io.flow.internal.v0.models.AnshItemForm => ({
|
|
8717
9168
|
number: factories.string(),
|
|
8718
9169
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8721,6 +9172,13 @@ const factories = {
|
|
|
8721
9172
|
added_on: factories.date_iso_8601(),
|
|
8722
9173
|
}),
|
|
8723
9174
|
|
|
9175
|
+
'io.flow.internal.v0.models.ansh_item_upserted': (): io.flow.internal.v0.models.AnshItemUpserted => ({
|
|
9176
|
+
discriminator: 'ansh_item_upserted',
|
|
9177
|
+
event_id: factories.string(),
|
|
9178
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9179
|
+
item: factories['io.flow.internal.v0.models.ansh_item'](),
|
|
9180
|
+
}),
|
|
9181
|
+
|
|
8724
9182
|
'io.flow.internal.v0.models.apple_pay_authorization_payload': (): io.flow.internal.v0.models.ApplePayAuthorizationPayload => ({
|
|
8725
9183
|
discriminator: 'apple_pay_authorization_payload',
|
|
8726
9184
|
apple_pay_token: factories.string(),
|
|
@@ -8827,6 +9285,43 @@ const factories = {
|
|
|
8827
9285
|
action: factories['io.flow.internal.v0.enums.restriction_status'](),
|
|
8828
9286
|
}),
|
|
8829
9287
|
|
|
9288
|
+
'io.flow.internal.v0.models.b2b_tax_ledger': (): io.flow.internal.v0.models.B2BTaxLedger => ({
|
|
9289
|
+
id: factories.string(),
|
|
9290
|
+
total_amount: factories['io.flow.internal.v0.models.tax_type_total'](),
|
|
9291
|
+
tax_amount: factories['io.flow.common.v0.models.money'](),
|
|
9292
|
+
tax_type: factories['io.flow.consumer.invoice.v0.enums.tax_type'](),
|
|
9293
|
+
tax_rate: factories.decimal(),
|
|
9294
|
+
tax_rate_type: factories['io.flow.internal.v0.enums.b2b_tax_rate_type'](),
|
|
9295
|
+
organization_id: factories.string(),
|
|
9296
|
+
organization_country: factories.string(),
|
|
9297
|
+
organization_province: factories.string(),
|
|
9298
|
+
mor_tax_number: factories.string(),
|
|
9299
|
+
mor_country: factories.string(),
|
|
9300
|
+
mor_province: factories.string(),
|
|
9301
|
+
document_id: factories.string(),
|
|
9302
|
+
document_type: factories['io.flow.internal.v0.enums.b2b_tax_ledger_document_type'](),
|
|
9303
|
+
document_date: factories.date_time_iso_8601(),
|
|
9304
|
+
ledger_report_id: factories.string(),
|
|
9305
|
+
}),
|
|
9306
|
+
|
|
9307
|
+
'io.flow.internal.v0.models.b2b_tax_ledger_form': (): io.flow.internal.v0.models.B2BTaxLedgerForm => ({
|
|
9308
|
+
total_amount: factories['io.flow.internal.v0.models.tax_type_total'](),
|
|
9309
|
+
tax_amount: factories['io.flow.common.v0.models.money'](),
|
|
9310
|
+
tax_type: factories['io.flow.consumer.invoice.v0.enums.tax_type'](),
|
|
9311
|
+
tax_rate: factories.decimal(),
|
|
9312
|
+
tax_rate_type: factories['io.flow.internal.v0.enums.b2b_tax_rate_type'](),
|
|
9313
|
+
organization_id: factories.string(),
|
|
9314
|
+
organization_country: factories.string(),
|
|
9315
|
+
organization_province: factories.string(),
|
|
9316
|
+
mor_tax_number: factories.string(),
|
|
9317
|
+
mor_country: factories.string(),
|
|
9318
|
+
mor_province: factories.string(),
|
|
9319
|
+
document_id: factories.string(),
|
|
9320
|
+
document_type: factories['io.flow.internal.v0.enums.b2b_tax_ledger_document_type'](),
|
|
9321
|
+
document_date: factories.date_time_iso_8601(),
|
|
9322
|
+
ledger_report_id: factories.string(),
|
|
9323
|
+
}),
|
|
9324
|
+
|
|
8830
9325
|
'io.flow.internal.v0.models.bank_account': (): io.flow.internal.v0.models.BankAccount => ({
|
|
8831
9326
|
status: factories['io.flow.internal.v0.enums.bank_account_status'](),
|
|
8832
9327
|
hold_created_at: factories.date_time_iso_8601(),
|
|
@@ -9141,6 +9636,8 @@ const factories = {
|
|
|
9141
9636
|
non_l4l_tax_duty_fx: factories['io.flow.common.v0.models.price'](),
|
|
9142
9637
|
ending_balance: factories['io.flow.common.v0.models.price'](),
|
|
9143
9638
|
tax_refund: factories['io.flow.common.v0.models.price'](),
|
|
9639
|
+
b2b_tax: factories['io.flow.common.v0.models.price'](),
|
|
9640
|
+
b2b_tax_refund: factories['io.flow.common.v0.models.price'](),
|
|
9144
9641
|
}),
|
|
9145
9642
|
|
|
9146
9643
|
'io.flow.internal.v0.models.billing_statement_upserted': (): io.flow.internal.v0.models.BillingStatementUpserted => ({
|
|
@@ -9261,6 +9758,10 @@ const factories = {
|
|
|
9261
9758
|
next_action_from: factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](),
|
|
9262
9759
|
}),
|
|
9263
9760
|
|
|
9761
|
+
'io.flow.internal.v0.models.cafe24_markets_webhook': (): io.flow.internal.v0.models.Cafe24MarketsWebhook => ({
|
|
9762
|
+
placeholder: factories.json(),
|
|
9763
|
+
}),
|
|
9764
|
+
|
|
9264
9765
|
'io.flow.internal.v0.models.calculated_tax_amount': (): io.flow.internal.v0.models.CalculatedTaxAmount => ({
|
|
9265
9766
|
discriminator: 'calculated_tax_amount',
|
|
9266
9767
|
amount: factories.decimal(),
|
|
@@ -9875,6 +10376,7 @@ const factories = {
|
|
|
9875
10376
|
order_updated_at: factories.date_time_iso_8601(),
|
|
9876
10377
|
order_edit_summary: factories['io.flow.internal.v0.models.order_edit_summary'](),
|
|
9877
10378
|
payment_source: factories['io.flow.internal.v0.enums.order_payment_source_type'](),
|
|
10379
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
9878
10380
|
}),
|
|
9879
10381
|
|
|
9880
10382
|
'io.flow.internal.v0.models.channel_order_acceptance_deleted': (): io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted => ({
|
|
@@ -11802,10 +12304,6 @@ const factories = {
|
|
|
11802
12304
|
region: factories.string(),
|
|
11803
12305
|
}),
|
|
11804
12306
|
|
|
11805
|
-
'io.flow.internal.v0.models.feature_id_reference': (): io.flow.internal.v0.models.FeatureIdReference => ({
|
|
11806
|
-
id: factories.string(),
|
|
11807
|
-
}),
|
|
11808
|
-
|
|
11809
12307
|
'io.flow.internal.v0.models.feature_reference': (): io.flow.internal.v0.models.FeatureReference => ({
|
|
11810
12308
|
id: factories.string(),
|
|
11811
12309
|
key: factories.string(),
|
|
@@ -12510,6 +13008,7 @@ const factories = {
|
|
|
12510
13008
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
12511
13009
|
sequence_number: factories.long(),
|
|
12512
13010
|
completes_order: factories.boolean(),
|
|
13011
|
+
trigger: factories['io.flow.internal.v0.unions.fulfillment_trigger'](),
|
|
12513
13012
|
}),
|
|
12514
13013
|
|
|
12515
13014
|
'io.flow.internal.v0.models.fulfillment_status_upserted': (): io.flow.internal.v0.models.FulfillmentStatusUpserted => ({
|
|
@@ -12592,6 +13091,37 @@ const factories = {
|
|
|
12592
13091
|
transaction_created_at: factories.date_time_iso_8601(),
|
|
12593
13092
|
}),
|
|
12594
13093
|
|
|
13094
|
+
'io.flow.internal.v0.models.gabriel_item': (): io.flow.internal.v0.models.GabrielItem => ({
|
|
13095
|
+
id: factories.string(),
|
|
13096
|
+
number: factories.string(),
|
|
13097
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
13098
|
+
description: factories.string(),
|
|
13099
|
+
type: factories['io.flow.internal.v0.enums.gabriel_item_type'](),
|
|
13100
|
+
added_on: factories.date_iso_8601(),
|
|
13101
|
+
}),
|
|
13102
|
+
|
|
13103
|
+
'io.flow.internal.v0.models.gabriel_item_deleted': (): io.flow.internal.v0.models.GabrielItemDeleted => ({
|
|
13104
|
+
discriminator: 'gabriel_item_deleted',
|
|
13105
|
+
event_id: factories.string(),
|
|
13106
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13107
|
+
id: factories.string(),
|
|
13108
|
+
}),
|
|
13109
|
+
|
|
13110
|
+
'io.flow.internal.v0.models.gabriel_item_form': (): io.flow.internal.v0.models.GabrielItemForm => ({
|
|
13111
|
+
number: factories.string(),
|
|
13112
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
13113
|
+
description: factories.string(),
|
|
13114
|
+
type: factories['io.flow.internal.v0.enums.gabriel_item_type'](),
|
|
13115
|
+
added_on: factories.date_iso_8601(),
|
|
13116
|
+
}),
|
|
13117
|
+
|
|
13118
|
+
'io.flow.internal.v0.models.gabriel_item_upserted': (): io.flow.internal.v0.models.GabrielItemUpserted => ({
|
|
13119
|
+
discriminator: 'gabriel_item_upserted',
|
|
13120
|
+
event_id: factories.string(),
|
|
13121
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13122
|
+
item: factories['io.flow.internal.v0.models.gabriel_item'](),
|
|
13123
|
+
}),
|
|
13124
|
+
|
|
12595
13125
|
'io.flow.internal.v0.models.ge_revenue_share_transaction': (): io.flow.internal.v0.models.GeRevenueShareTransaction => ({
|
|
12596
13126
|
discriminator: 'ge_revenue_share_transaction',
|
|
12597
13127
|
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
@@ -12794,6 +13324,13 @@ const factories = {
|
|
|
12794
13324
|
added_on: factories.date_time_iso_8601(),
|
|
12795
13325
|
}),
|
|
12796
13326
|
|
|
13327
|
+
'io.flow.internal.v0.models.hosein_item_deleted': (): io.flow.internal.v0.models.HoseinItemDeleted => ({
|
|
13328
|
+
discriminator: 'hosein_item_deleted',
|
|
13329
|
+
event_id: factories.string(),
|
|
13330
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13331
|
+
id: factories.string(),
|
|
13332
|
+
}),
|
|
13333
|
+
|
|
12797
13334
|
'io.flow.internal.v0.models.hosein_item_form': (): io.flow.internal.v0.models.HoseinItemForm => ({
|
|
12798
13335
|
number: factories.string(),
|
|
12799
13336
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -12802,6 +13339,13 @@ const factories = {
|
|
|
12802
13339
|
added_on: factories.date_time_iso_8601(),
|
|
12803
13340
|
}),
|
|
12804
13341
|
|
|
13342
|
+
'io.flow.internal.v0.models.hosein_item_upserted': (): io.flow.internal.v0.models.HoseinItemUpserted => ({
|
|
13343
|
+
discriminator: 'hosein_item_upserted',
|
|
13344
|
+
event_id: factories.string(),
|
|
13345
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13346
|
+
item: factories['io.flow.internal.v0.models.hosein_item'](),
|
|
13347
|
+
}),
|
|
13348
|
+
|
|
12805
13349
|
'io.flow.internal.v0.models.hs6': (): io.flow.internal.v0.models.Hs6 => ({
|
|
12806
13350
|
code: factories.string(),
|
|
12807
13351
|
description: factories.string(),
|
|
@@ -13030,8 +13574,6 @@ const factories = {
|
|
|
13030
13574
|
customs_value: factories.decimal(),
|
|
13031
13575
|
total_value: factories.decimal(),
|
|
13032
13576
|
usa_exporter_identifier_number_if_value_over_threshold: factories.string(),
|
|
13033
|
-
feature_israel_notes_import_duty_and_taxes_due: factories.boolean(),
|
|
13034
|
-
feature_new_export_declaration: factories.boolean(),
|
|
13035
13577
|
}),
|
|
13036
13578
|
|
|
13037
13579
|
'io.flow.internal.v0.models.invoice_data_line_item': (): io.flow.internal.v0.models.InvoiceDataLineItem => ({
|
|
@@ -13042,7 +13584,7 @@ const factories = {
|
|
|
13042
13584
|
tariff_code: factories.string(),
|
|
13043
13585
|
country_of_origin: factories.string(),
|
|
13044
13586
|
display_country_of_origin: factories.string(),
|
|
13045
|
-
|
|
13587
|
+
remitter: factories['io.flow.internal.v0.enums.tax_party'](),
|
|
13046
13588
|
gst_paid_text: factories.string(),
|
|
13047
13589
|
unit_price: factories.decimal(),
|
|
13048
13590
|
vat_price: factories.decimal(),
|
|
@@ -13526,6 +14068,8 @@ const factories = {
|
|
|
13526
14068
|
service_id: factories.string(),
|
|
13527
14069
|
errors: arrayOf(() => factories.string()),
|
|
13528
14070
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
14071
|
+
origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
14072
|
+
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
13529
14073
|
}),
|
|
13530
14074
|
|
|
13531
14075
|
'io.flow.internal.v0.models.label_request_error_deleted': (): io.flow.internal.v0.models.LabelRequestErrorDeleted => ({
|
|
@@ -13691,6 +14235,21 @@ const factories = {
|
|
|
13691
14235
|
errors: arrayOf(() => factories.string()),
|
|
13692
14236
|
}),
|
|
13693
14237
|
|
|
14238
|
+
'io.flow.internal.v0.models.ledger_report': (): io.flow.internal.v0.models.LedgerReport => ({
|
|
14239
|
+
id: factories.string(),
|
|
14240
|
+
mor_tax_number: factories.string(),
|
|
14241
|
+
jurisdiction: factories.string(),
|
|
14242
|
+
start_date: factories.date_iso_8601(),
|
|
14243
|
+
end_date: factories.date_iso_8601(),
|
|
14244
|
+
report_type: factories['io.flow.internal.v0.enums.ledger_report_type'](),
|
|
14245
|
+
urls: arrayOf(() => factories['io.flow.internal.v0.models.ledger_report_url']()),
|
|
14246
|
+
}),
|
|
14247
|
+
|
|
14248
|
+
'io.flow.internal.v0.models.ledger_report_url': (): io.flow.internal.v0.models.LedgerReportUrl => ({
|
|
14249
|
+
url: factories.string(),
|
|
14250
|
+
type: factories['io.flow.internal.v0.enums.ledger_report_url_type'](),
|
|
14251
|
+
}),
|
|
14252
|
+
|
|
13694
14253
|
'io.flow.internal.v0.models.levy_rate_summary': (): io.flow.internal.v0.models.LevyRateSummary => ({
|
|
13695
14254
|
id: factories.string(),
|
|
13696
14255
|
number: factories.string(),
|
|
@@ -14242,6 +14801,13 @@ const factories = {
|
|
|
14242
14801
|
added_on: factories.date_time_iso_8601(),
|
|
14243
14802
|
}),
|
|
14244
14803
|
|
|
14804
|
+
'io.flow.internal.v0.models.niall_item_deleted': (): io.flow.internal.v0.models.NiallItemDeleted => ({
|
|
14805
|
+
discriminator: 'niall_item_deleted',
|
|
14806
|
+
event_id: factories.string(),
|
|
14807
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14808
|
+
id: factories.string(),
|
|
14809
|
+
}),
|
|
14810
|
+
|
|
14245
14811
|
'io.flow.internal.v0.models.niall_item_form': (): io.flow.internal.v0.models.NiallItemForm => ({
|
|
14246
14812
|
number: factories.string(),
|
|
14247
14813
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -14250,6 +14816,13 @@ const factories = {
|
|
|
14250
14816
|
added_on: factories.date_time_iso_8601(),
|
|
14251
14817
|
}),
|
|
14252
14818
|
|
|
14819
|
+
'io.flow.internal.v0.models.niall_item_upserted': (): io.flow.internal.v0.models.NiallItemUpserted => ({
|
|
14820
|
+
discriminator: 'niall_item_upserted',
|
|
14821
|
+
event_id: factories.string(),
|
|
14822
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14823
|
+
item: factories['io.flow.internal.v0.models.niall_item'](),
|
|
14824
|
+
}),
|
|
14825
|
+
|
|
14253
14826
|
'io.flow.internal.v0.models.no_calculated_tax_amount': (): io.flow.internal.v0.models.NoCalculatedTaxAmount => ({
|
|
14254
14827
|
discriminator: 'no_calculated_tax_amount',
|
|
14255
14828
|
amount: factories.decimal(),
|
|
@@ -14337,6 +14910,7 @@ const factories = {
|
|
|
14337
14910
|
health_score: factories.decimal(),
|
|
14338
14911
|
audit_result: factories['io.flow.internal.v0.enums.onboarding_audit_result'](),
|
|
14339
14912
|
blocked_since: factories.date_time_iso_8601(),
|
|
14913
|
+
onboarding_segment: factories.string(),
|
|
14340
14914
|
}),
|
|
14341
14915
|
|
|
14342
14916
|
'io.flow.internal.v0.models.onboarding_state_form': (): io.flow.internal.v0.models.OnboardingStateForm => ({
|
|
@@ -14791,27 +15365,6 @@ const factories = {
|
|
|
14791
15365
|
),
|
|
14792
15366
|
}),
|
|
14793
15367
|
|
|
14794
|
-
'io.flow.internal.v0.models.organization_boolean_value': (): io.flow.internal.v0.models.OrganizationBooleanValue => ({
|
|
14795
|
-
id: factories.string(),
|
|
14796
|
-
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
14797
|
-
feature: factories['io.flow.internal.v0.models.feature_id_reference'](),
|
|
14798
|
-
value: factories.boolean(),
|
|
14799
|
-
}),
|
|
14800
|
-
|
|
14801
|
-
'io.flow.internal.v0.models.organization_boolean_value_deleted': (): io.flow.internal.v0.models.OrganizationBooleanValueDeleted => ({
|
|
14802
|
-
discriminator: 'organization_boolean_value_deleted',
|
|
14803
|
-
event_id: factories.string(),
|
|
14804
|
-
timestamp: factories.date_time_iso_8601(),
|
|
14805
|
-
value: factories['io.flow.internal.v0.models.organization_boolean_value'](),
|
|
14806
|
-
}),
|
|
14807
|
-
|
|
14808
|
-
'io.flow.internal.v0.models.organization_boolean_value_upserted': (): io.flow.internal.v0.models.OrganizationBooleanValueUpserted => ({
|
|
14809
|
-
discriminator: 'organization_boolean_value_upserted',
|
|
14810
|
-
event_id: factories.string(),
|
|
14811
|
-
timestamp: factories.date_time_iso_8601(),
|
|
14812
|
-
value: factories['io.flow.internal.v0.models.organization_boolean_value'](),
|
|
14813
|
-
}),
|
|
14814
|
-
|
|
14815
15368
|
'io.flow.internal.v0.models.organization_business_entity': (): io.flow.internal.v0.models.OrganizationBusinessEntity => ({
|
|
14816
15369
|
id: factories.string(),
|
|
14817
15370
|
name: factories.string(),
|
|
@@ -15423,6 +15976,7 @@ const factories = {
|
|
|
15423
15976
|
'io.flow.internal.v0.models.payment_is': (): io.flow.internal.v0.models.PaymentIs => ({
|
|
15424
15977
|
lvg: factories.boolean(),
|
|
15425
15978
|
manual: factories.boolean(),
|
|
15979
|
+
managed_pricing: factories.boolean(),
|
|
15426
15980
|
}),
|
|
15427
15981
|
|
|
15428
15982
|
'io.flow.internal.v0.models.payment_method_detail': (): io.flow.internal.v0.models.PaymentMethodDetail => ({
|
|
@@ -15888,6 +16442,80 @@ const factories = {
|
|
|
15888
16442
|
item: factories.string(),
|
|
15889
16443
|
}),
|
|
15890
16444
|
|
|
16445
|
+
'io.flow.internal.v0.models.preonboarding_classification_rabbitmq_envelope': (): io.flow.internal.v0.models.PreonboardingClassificationRabbitmqEnvelope => ({
|
|
16446
|
+
messageType: arrayOf(() => factories.string()),
|
|
16447
|
+
message: factories['io.flow.internal.v0.models.preonboarding_classification_rabbitmq_message'](),
|
|
16448
|
+
}),
|
|
16449
|
+
|
|
16450
|
+
'io.flow.internal.v0.models.preonboarding_classification_rabbitmq_message': (): io.flow.internal.v0.models.PreonboardingClassificationRabbitmqMessage => ({
|
|
16451
|
+
MerchantId: factories.string(),
|
|
16452
|
+
ProductName: factories.string(),
|
|
16453
|
+
ProductDescription: factories.string(),
|
|
16454
|
+
ProductIdInternal: factories.string(),
|
|
16455
|
+
ProductIdExternal: factories.string(),
|
|
16456
|
+
ProductGroupCode: factories.string(),
|
|
16457
|
+
ProductUrl: factories.string(),
|
|
16458
|
+
ProductImage: factories.string(),
|
|
16459
|
+
ProductAttributes: objectOf(() => factories.string()),
|
|
16460
|
+
Categories: arrayOf(() => factories.string()),
|
|
16461
|
+
PlatformId: factories['io.flow.internal.v0.enums.preonboarding_classification_platform'](),
|
|
16462
|
+
}),
|
|
16463
|
+
|
|
16464
|
+
'io.flow.internal.v0.models.preonboarding_classification_request': (): io.flow.internal.v0.models.PreonboardingClassificationRequest => ({
|
|
16465
|
+
id: factories.string(),
|
|
16466
|
+
merchant_id: factories.string(),
|
|
16467
|
+
product_id: factories.string(),
|
|
16468
|
+
channel: factories.string(),
|
|
16469
|
+
request_id: factories.string(),
|
|
16470
|
+
status: factories['io.flow.internal.v0.enums.preonboarding_request_status'](),
|
|
16471
|
+
name: factories.string(),
|
|
16472
|
+
price: factories['io.flow.common.v0.models.money'](),
|
|
16473
|
+
description: factories.string(),
|
|
16474
|
+
relative_ranking: factories.integer(),
|
|
16475
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
16476
|
+
fingerprint: factories.string(),
|
|
16477
|
+
}),
|
|
16478
|
+
|
|
16479
|
+
'io.flow.internal.v0.models.preonboarding_classification_result': (): io.flow.internal.v0.models.PreonboardingClassificationResult => ({
|
|
16480
|
+
id: factories.string(),
|
|
16481
|
+
merchant_id: factories.string(),
|
|
16482
|
+
product_id: factories.string(),
|
|
16483
|
+
channel: factories.string(),
|
|
16484
|
+
hs6_code: factories.string(),
|
|
16485
|
+
probability: factories.integer(),
|
|
16486
|
+
classification_decision: factories['io.flow.internal.v0.enums.preonboarding_classification_decision'](),
|
|
16487
|
+
classification_type: factories['io.flow.internal.v0.enums.preonboarding_classification_type'](),
|
|
16488
|
+
}),
|
|
16489
|
+
|
|
16490
|
+
'io.flow.internal.v0.models.preonboarding_merchant': (): io.flow.internal.v0.models.PreonboardingMerchant => ({
|
|
16491
|
+
merchant_id: factories.string(),
|
|
16492
|
+
channel: factories.string(),
|
|
16493
|
+
catalog_size: factories.integer(),
|
|
16494
|
+
processed_product_count: factories.integer(),
|
|
16495
|
+
last_request: factories.date_time_iso_8601(),
|
|
16496
|
+
}),
|
|
16497
|
+
|
|
16498
|
+
'io.flow.internal.v0.models.preonboarding_sellability_result': (): io.flow.internal.v0.models.PreonboardingSellabilityResult => ({
|
|
16499
|
+
merchant_id: factories.string(),
|
|
16500
|
+
product_id: factories.string(),
|
|
16501
|
+
channel: factories.string(),
|
|
16502
|
+
request_id: factories.string(),
|
|
16503
|
+
status: factories['io.flow.sellability.v0.enums.sellability_result_status'](),
|
|
16504
|
+
error_code: factories['io.flow.sellability.v0.enums.sellability_result_error_code'](),
|
|
16505
|
+
hs6_code: factories.string(),
|
|
16506
|
+
hs6_code_source: factories['io.flow.internal.v0.enums.hs6_code_source'](),
|
|
16507
|
+
|
|
16508
|
+
restricted_regions_by_type: arrayOf(
|
|
16509
|
+
() => factories['io.flow.sellability.v0.models.sellability_restricted_region'](),
|
|
16510
|
+
),
|
|
16511
|
+
|
|
16512
|
+
rule_ids: arrayOf(() => factories.string()),
|
|
16513
|
+
matching_positive_keywords: arrayOf(() => factories.string()),
|
|
16514
|
+
classification_failure_reason: factories['io.flow.internal.v0.enums.classification_failure_reason'](),
|
|
16515
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
16516
|
+
fingerprint: factories.string(),
|
|
16517
|
+
}),
|
|
16518
|
+
|
|
15891
16519
|
'io.flow.internal.v0.models.price_inclusivity': (): io.flow.internal.v0.models.PriceInclusivity => ({
|
|
15892
16520
|
tax: factories.boolean(),
|
|
15893
16521
|
duty: factories.boolean(),
|
|
@@ -16147,7 +16775,7 @@ const factories = {
|
|
|
16147
16775
|
hs6_code: factories.string(),
|
|
16148
16776
|
|
|
16149
16777
|
restricted_regions: arrayOf(
|
|
16150
|
-
() => factories['io.flow.sellability.v0.models.
|
|
16778
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
16151
16779
|
),
|
|
16152
16780
|
|
|
16153
16781
|
rule_ids: arrayOf(() => factories.string()),
|
|
@@ -16163,7 +16791,7 @@ const factories = {
|
|
|
16163
16791
|
|
|
16164
16792
|
'io.flow.internal.v0.models.product_sellability_internal_result': (): io.flow.internal.v0.models.ProductSellabilityInternalResult => ({
|
|
16165
16793
|
restricted_regions: arrayOf(
|
|
16166
|
-
() => factories['io.flow.sellability.v0.models.
|
|
16794
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
16167
16795
|
),
|
|
16168
16796
|
|
|
16169
16797
|
rule_ids: arrayOf(() => factories.string()),
|
|
@@ -16177,7 +16805,7 @@ const factories = {
|
|
|
16177
16805
|
restricted_regions: arrayOf(() => factories.string()),
|
|
16178
16806
|
|
|
16179
16807
|
restricted_regions_by_type: arrayOf(
|
|
16180
|
-
() => factories['io.flow.sellability.v0.models.
|
|
16808
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
16181
16809
|
),
|
|
16182
16810
|
|
|
16183
16811
|
rule_ids: arrayOf(() => factories.string()),
|
|
@@ -16215,6 +16843,12 @@ const factories = {
|
|
|
16215
16843
|
shipping_notification_id: factories.string(),
|
|
16216
16844
|
}),
|
|
16217
16845
|
|
|
16846
|
+
'io.flow.internal.v0.models.proof_of_posting_synthetic': (): io.flow.internal.v0.models.ProofOfPostingSynthetic => ({
|
|
16847
|
+
discriminator: 'synthetic',
|
|
16848
|
+
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
16849
|
+
created_at: factories.date_time_iso_8601(),
|
|
16850
|
+
}),
|
|
16851
|
+
|
|
16218
16852
|
'io.flow.internal.v0.models.proof_of_posting_time_elapsed': (): io.flow.internal.v0.models.ProofOfPostingTimeElapsed => ({
|
|
16219
16853
|
discriminator: 'time_elapsed',
|
|
16220
16854
|
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
@@ -16700,6 +17334,11 @@ const factories = {
|
|
|
16700
17334
|
source: factories['io.flow.internal.v0.models.account_source'](),
|
|
16701
17335
|
}),
|
|
16702
17336
|
|
|
17337
|
+
'io.flow.internal.v0.models.report_amount_range': (): io.flow.internal.v0.models.ReportAmountRange => ({
|
|
17338
|
+
min: factories.decimal(),
|
|
17339
|
+
max: factories.decimal(),
|
|
17340
|
+
}),
|
|
17341
|
+
|
|
16703
17342
|
'io.flow.internal.v0.models.report_bank_account': (): io.flow.internal.v0.models.ReportBankAccount => ({
|
|
16704
17343
|
id: factories.string(),
|
|
16705
17344
|
last4: factories.string(),
|
|
@@ -16724,6 +17363,7 @@ const factories = {
|
|
|
16724
17363
|
'io.flow.internal.v0.models.report_filter': (): io.flow.internal.v0.models.ReportFilter => ({
|
|
16725
17364
|
source_type: factories['io.flow.internal.v0.enums.source_type_filter'](),
|
|
16726
17365
|
order_payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
17366
|
+
amount_range: factories['io.flow.internal.v0.models.report_amount_range'](),
|
|
16727
17367
|
}),
|
|
16728
17368
|
|
|
16729
17369
|
'io.flow.internal.v0.models.report_form': (): io.flow.internal.v0.models.ReportForm => ({
|
|
@@ -17169,7 +17809,7 @@ const factories = {
|
|
|
17169
17809
|
'io.flow.internal.v0.models.restriction_organization': (): io.flow.internal.v0.models.RestrictionOrganization => ({
|
|
17170
17810
|
id: factories.string(),
|
|
17171
17811
|
name: factories.string(),
|
|
17172
|
-
environment: factories['io.flow.
|
|
17812
|
+
environment: factories['io.flow.restrictions.v0.enums.restriction_environment'](),
|
|
17173
17813
|
url: factories.string(),
|
|
17174
17814
|
approval_status: factories['io.flow.internal.v0.enums.organization_restriction_approval_status'](),
|
|
17175
17815
|
screening_status: factories['io.flow.internal.v0.enums.organization_restriction_screening_status'](),
|
|
@@ -17224,7 +17864,7 @@ const factories = {
|
|
|
17224
17864
|
'io.flow.internal.v0.models.restriction_organization_summary': (): io.flow.internal.v0.models.RestrictionOrganizationSummary => ({
|
|
17225
17865
|
id: factories.string(),
|
|
17226
17866
|
name: factories.string(),
|
|
17227
|
-
environment: factories['io.flow.
|
|
17867
|
+
environment: factories['io.flow.restrictions.v0.enums.restriction_environment'](),
|
|
17228
17868
|
source: factories['io.flow.internal.v0.enums.organization_source'](),
|
|
17229
17869
|
}),
|
|
17230
17870
|
|
|
@@ -17435,23 +18075,12 @@ const factories = {
|
|
|
17435
18075
|
oldest_pv_product_date_transacting: factories.date_iso_8601(),
|
|
17436
18076
|
oldest_pc_product_date_setup_complete: factories.date_iso_8601(),
|
|
17437
18077
|
oldest_pc_product_date_transacting: factories.date_iso_8601(),
|
|
17438
|
-
num_orgs_setup_complete_prs: factories.decimal(),
|
|
17439
|
-
num_products_setup_complete_prs: factories.decimal(),
|
|
17440
|
-
num_orgs_transacting_prs: factories.decimal(),
|
|
17441
|
-
num_products_transacting_prs: factories.decimal(),
|
|
17442
|
-
oldest_pr_product_date_setup_complete: factories.date_iso_8601(),
|
|
17443
|
-
oldest_pr_date_transacting: factories.date_iso_8601(),
|
|
17444
18078
|
percent_products_reviewed_transacting: factories.decimal(),
|
|
17445
18079
|
num_pv_inflow_net_new: factories.decimal(),
|
|
17446
18080
|
num_pv_outflow_human_decisions: factories.decimal(),
|
|
17447
18081
|
num_pv_outflow_auto_review_decisions: factories.decimal(),
|
|
17448
18082
|
num_pv_outflow_side_effect_decisions: factories.decimal(),
|
|
17449
|
-
num_pr_inflow_net_new: factories.decimal(),
|
|
17450
|
-
num_pr_outflow_human_decisions: factories.decimal(),
|
|
17451
|
-
num_pr_outflow_auto_review_decisions: factories.decimal(),
|
|
17452
|
-
num_pr_outflow_side_effect_decisions: factories.decimal(),
|
|
17453
18083
|
num_pending_decisions_transacting: factories.decimal(),
|
|
17454
|
-
oldest_insufficient_details_pv_onboarding: factories.date_iso_8601(),
|
|
17455
18084
|
oldest_insufficient_details_pv_active: factories.date_iso_8601(),
|
|
17456
18085
|
oldest_insufficient_details_pv_transacting: factories.date_iso_8601(),
|
|
17457
18086
|
num_products_with_fs_result: factories.decimal(),
|
|
@@ -17604,6 +18233,13 @@ const factories = {
|
|
|
17604
18233
|
added_on: factories.date_iso_8601(),
|
|
17605
18234
|
}),
|
|
17606
18235
|
|
|
18236
|
+
'io.flow.internal.v0.models.rohan_item_deleted': (): io.flow.internal.v0.models.RohanItemDeleted => ({
|
|
18237
|
+
discriminator: 'rohan_item_deleted',
|
|
18238
|
+
event_id: factories.string(),
|
|
18239
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18240
|
+
id: factories.string(),
|
|
18241
|
+
}),
|
|
18242
|
+
|
|
17607
18243
|
'io.flow.internal.v0.models.rohan_item_form': (): io.flow.internal.v0.models.RohanItemForm => ({
|
|
17608
18244
|
number: factories.string(),
|
|
17609
18245
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -17612,6 +18248,13 @@ const factories = {
|
|
|
17612
18248
|
added_on: factories.date_iso_8601(),
|
|
17613
18249
|
}),
|
|
17614
18250
|
|
|
18251
|
+
'io.flow.internal.v0.models.rohan_item_upserted': (): io.flow.internal.v0.models.RohanItemUpserted => ({
|
|
18252
|
+
discriminator: 'rohan_item_upserted',
|
|
18253
|
+
event_id: factories.string(),
|
|
18254
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18255
|
+
item: factories['io.flow.internal.v0.models.rohan_item'](),
|
|
18256
|
+
}),
|
|
18257
|
+
|
|
17615
18258
|
'io.flow.internal.v0.models.routing_account': (): io.flow.internal.v0.models.RoutingAccount => ({
|
|
17616
18259
|
discriminator: 'routing_account',
|
|
17617
18260
|
processor: factories['io.flow.internal.v0.enums.processor'](),
|
|
@@ -17665,6 +18308,13 @@ const factories = {
|
|
|
17665
18308
|
added_on: factories.date_time_iso_8601(),
|
|
17666
18309
|
}),
|
|
17667
18310
|
|
|
18311
|
+
'io.flow.internal.v0.models.sarvesh_item_deleted': (): io.flow.internal.v0.models.SarveshItemDeleted => ({
|
|
18312
|
+
discriminator: 'sarvesh_item_deleted',
|
|
18313
|
+
event_id: factories.string(),
|
|
18314
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18315
|
+
id: factories.string(),
|
|
18316
|
+
}),
|
|
18317
|
+
|
|
17668
18318
|
'io.flow.internal.v0.models.sarvesh_item_form': (): io.flow.internal.v0.models.SarveshItemForm => ({
|
|
17669
18319
|
number: factories.string(),
|
|
17670
18320
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -17673,6 +18323,13 @@ const factories = {
|
|
|
17673
18323
|
added_on: factories.date_time_iso_8601(),
|
|
17674
18324
|
}),
|
|
17675
18325
|
|
|
18326
|
+
'io.flow.internal.v0.models.sarvesh_item_upserted': (): io.flow.internal.v0.models.SarveshItemUpserted => ({
|
|
18327
|
+
discriminator: 'sarvesh_item_upserted',
|
|
18328
|
+
event_id: factories.string(),
|
|
18329
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18330
|
+
item: factories['io.flow.internal.v0.models.sarvesh_item'](),
|
|
18331
|
+
}),
|
|
18332
|
+
|
|
17676
18333
|
'io.flow.internal.v0.models.scheduled_payment': (): io.flow.internal.v0.models.ScheduledPayment => ({
|
|
17677
18334
|
payment: factories['io.flow.internal.v0.models.report_payment'](),
|
|
17678
18335
|
bank_account: factories['io.flow.internal.v0.models.report_bank_account_cleartext'](),
|
|
@@ -17774,13 +18431,13 @@ const factories = {
|
|
|
17774
18431
|
current_rule_ids: arrayOf(() => factories.string()),
|
|
17775
18432
|
|
|
17776
18433
|
current_restricted_regions: arrayOf(
|
|
17777
|
-
() => factories['io.flow.sellability.v0.models.
|
|
18434
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
17778
18435
|
),
|
|
17779
18436
|
|
|
17780
18437
|
merchant_rule_ids: arrayOf(() => factories.string()),
|
|
17781
18438
|
|
|
17782
18439
|
merchant_restricted_regions: arrayOf(
|
|
17783
|
-
() => factories['io.flow.sellability.v0.models.
|
|
18440
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
17784
18441
|
),
|
|
17785
18442
|
|
|
17786
18443
|
current_error: arrayOf(() => factories['io.flow.sellability.v0.models.sellability_error']()),
|
|
@@ -17836,6 +18493,54 @@ const factories = {
|
|
|
17836
18493
|
customer_price: factories.decimal(),
|
|
17837
18494
|
}),
|
|
17838
18495
|
|
|
18496
|
+
'io.flow.internal.v0.models.shipping_rate_estimate_available_internal': (): io.flow.internal.v0.models.ShippingRateEstimateAvailableInternal => ({
|
|
18497
|
+
service: factories['io.flow.ratecard.v0.models.ratecard_service_summary'](),
|
|
18498
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
18499
|
+
shipment_window: factories['io.flow.ratecard.v0.models.shipment_window'](),
|
|
18500
|
+
total_amount: factories['io.flow.common.v0.models.money'](),
|
|
18501
|
+
base_amount: factories['io.flow.common.v0.models.money'](),
|
|
18502
|
+
fees: arrayOf(() => factories['io.flow.ratecard.v0.unions.ratecard_fee']()),
|
|
18503
|
+
dimensional_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
18504
|
+
gravitational_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
18505
|
+
weight_break: factories.decimal(),
|
|
18506
|
+
ratecard_id: factories.string(),
|
|
18507
|
+
lane_id: factories.string(),
|
|
18508
|
+
rate_level_key: factories.string(),
|
|
18509
|
+
glbe_shipping_method_id: factories.string(),
|
|
18510
|
+
glbe_proposition_name: factories.string(),
|
|
18511
|
+
channel_revenue_share_percentage: factories.decimal(),
|
|
18512
|
+
distance_unit_of_measurement: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
18513
|
+
weight_unit_of_measurement: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
18514
|
+
}),
|
|
18515
|
+
|
|
18516
|
+
'io.flow.internal.v0.models.shipping_rate_estimate_internal': (): io.flow.internal.v0.models.ShippingRateEstimateInternal => ({
|
|
18517
|
+
channel_id: factories.string(),
|
|
18518
|
+
organization_id: factories.string(),
|
|
18519
|
+
service: factories.string(),
|
|
18520
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
18521
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
18522
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
18523
|
+
|
|
18524
|
+
available: arrayOf(
|
|
18525
|
+
() => factories['io.flow.internal.v0.models.shipping_rate_estimate_available_internal'](),
|
|
18526
|
+
),
|
|
18527
|
+
}),
|
|
18528
|
+
|
|
18529
|
+
'io.flow.internal.v0.models.shipping_rate_estimate_request_internal': (): io.flow.internal.v0.models.ShippingRateEstimateRequestInternal => ({
|
|
18530
|
+
channel_id: factories.string(),
|
|
18531
|
+
organization_id: factories.string(),
|
|
18532
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
18533
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
18534
|
+
package_dimensions: factories['io.flow.common.v0.models.dimension'](),
|
|
18535
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
18536
|
+
service: factories.string(),
|
|
18537
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
18538
|
+
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
18539
|
+
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
18540
|
+
line_items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
|
|
18541
|
+
include_unpublished: factories.boolean(),
|
|
18542
|
+
}),
|
|
18543
|
+
|
|
17839
18544
|
'io.flow.internal.v0.models.shopify_catalog_publication': (): io.flow.internal.v0.models.ShopifyCatalogPublication => ({
|
|
17840
18545
|
owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
17841
18546
|
}),
|
|
@@ -18085,6 +18790,17 @@ const factories = {
|
|
|
18085
18790
|
shopify: factories['io.flow.internal.v0.models.shopify_markets_shopify_order_metrics'](),
|
|
18086
18791
|
internal: factories['io.flow.internal.v0.models.shopify_markets_internal_order_metrics'](),
|
|
18087
18792
|
discrepancy_data: factories['io.flow.internal.v0.models.shopify_markets_discrepancy_data'](),
|
|
18793
|
+
|
|
18794
|
+
organization_metrics: arrayOf(
|
|
18795
|
+
() => factories['io.flow.internal.v0.models.shopify_markets_organization_order_metrics'](),
|
|
18796
|
+
),
|
|
18797
|
+
}),
|
|
18798
|
+
|
|
18799
|
+
'io.flow.internal.v0.models.shopify_markets_organization_order_metrics': (): io.flow.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics => ({
|
|
18800
|
+
organization_id: factories.string(),
|
|
18801
|
+
shopify_order_count: factories.long(),
|
|
18802
|
+
internal_order_count: factories.long(),
|
|
18803
|
+
discrepancy_count: factories.long(),
|
|
18088
18804
|
}),
|
|
18089
18805
|
|
|
18090
18806
|
'io.flow.internal.v0.models.shopify_markets_queued_record': (): io.flow.internal.v0.models.ShopifyMarketsQueuedRecord => ({
|
|
@@ -18569,8 +19285,29 @@ const factories = {
|
|
|
18569
19285
|
auto_correct: factories.boolean(),
|
|
18570
19286
|
}),
|
|
18571
19287
|
|
|
19288
|
+
'io.flow.internal.v0.models.shopify_test_order': (): io.flow.internal.v0.models.ShopifyTestOrder => ({
|
|
19289
|
+
id: factories.string(),
|
|
19290
|
+
}),
|
|
19291
|
+
|
|
19292
|
+
'io.flow.internal.v0.models.shopify_test_order_deleted': (): io.flow.internal.v0.models.ShopifyTestOrderDeleted => ({
|
|
19293
|
+
discriminator: 'shopify_test_order_deleted',
|
|
19294
|
+
event_id: factories.string(),
|
|
19295
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19296
|
+
organization: factories.string(),
|
|
19297
|
+
id: factories.string(),
|
|
19298
|
+
}),
|
|
19299
|
+
|
|
19300
|
+
'io.flow.internal.v0.models.shopify_test_order_upserted': (): io.flow.internal.v0.models.ShopifyTestOrderUpserted => ({
|
|
19301
|
+
discriminator: 'shopify_test_order_upserted',
|
|
19302
|
+
event_id: factories.string(),
|
|
19303
|
+
timestamp: factories.date_time_iso_8601(),
|
|
19304
|
+
organization: factories.string(),
|
|
19305
|
+
shopify_test_order: factories['io.flow.internal.v0.models.shopify_test_order'](),
|
|
19306
|
+
}),
|
|
19307
|
+
|
|
18572
19308
|
'io.flow.internal.v0.models.shopper_breakdown': (): io.flow.internal.v0.models.ShopperBreakdown => ({
|
|
18573
19309
|
product: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
19310
|
+
product_purchase_price: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18574
19311
|
tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18575
19312
|
duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18576
19313
|
discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
@@ -18934,6 +19671,7 @@ const factories = {
|
|
|
18934
19671
|
mor_fees: factories.integer(),
|
|
18935
19672
|
mor_foreign_exchange_fees: factories.integer(),
|
|
18936
19673
|
sp_processing_fees: factories.integer(),
|
|
19674
|
+
mor_fees_tax: factories.integer(),
|
|
18937
19675
|
}),
|
|
18938
19676
|
|
|
18939
19677
|
'io.flow.internal.v0.models.stripe_connect_report_record_transfer_metadata': (): io.flow.internal.v0.models.StripeConnectReportRecordTransferMetadata => ({
|
|
@@ -19319,6 +20057,10 @@ const factories = {
|
|
|
19319
20057
|
tax_transaction: factories['io.flow.internal.v0.models.tax_transaction'](),
|
|
19320
20058
|
}),
|
|
19321
20059
|
|
|
20060
|
+
'io.flow.internal.v0.models.tax_type_total': (): io.flow.internal.v0.models.TaxTypeTotal => ({
|
|
20061
|
+
value: factories['io.flow.common.v0.models.money'](),
|
|
20062
|
+
}),
|
|
20063
|
+
|
|
19322
20064
|
'io.flow.internal.v0.models.taxonomy_alignment_check_result': (): io.flow.internal.v0.models.TaxonomyAlignmentCheckResult => ({
|
|
19323
20065
|
status: factories['io.flow.internal.v0.enums.taxonomy_category_classification_alignment'](),
|
|
19324
20066
|
result: factories['io.flow.internal.v0.enums.evaluation_check_result'](),
|
|
@@ -20367,8 +21109,6 @@ const factories = {
|
|
|
20367
21109
|
() => factories['io.flow.internal.v0.models.export_failed'](),
|
|
20368
21110
|
() => factories['io.flow.internal.v0.models.feature_upserted'](),
|
|
20369
21111
|
() => factories['io.flow.internal.v0.models.feature_deleted'](),
|
|
20370
|
-
() => factories['io.flow.internal.v0.models.organization_boolean_value_upserted'](),
|
|
20371
|
-
() => factories['io.flow.internal.v0.models.organization_boolean_value_deleted'](),
|
|
20372
21112
|
() => factories['io.flow.internal.v0.models.account_settings_upserted'](),
|
|
20373
21113
|
() => factories['io.flow.internal.v0.models.account_settings_deleted'](),
|
|
20374
21114
|
() => factories['io.flow.internal.v0.models.account_processing_rates_upserted'](),
|
|
@@ -20568,6 +21308,8 @@ const factories = {
|
|
|
20568
21308
|
() => factories['io.flow.internal.v0.models.shopify_order_risk_assessment_deleted'](),
|
|
20569
21309
|
() => factories['io.flow.internal.v0.models.shopify_order_transaction_upserted'](),
|
|
20570
21310
|
() => factories['io.flow.internal.v0.models.shopify_order_transaction_deleted'](),
|
|
21311
|
+
() => factories['io.flow.internal.v0.models.shopify_test_order_upserted'](),
|
|
21312
|
+
() => factories['io.flow.internal.v0.models.shopify_test_order_deleted'](),
|
|
20571
21313
|
() => factories['io.flow.internal.v0.models.shopify_product_create_upserted'](),
|
|
20572
21314
|
() => factories['io.flow.internal.v0.models.shopify_product_create_deleted'](),
|
|
20573
21315
|
() => factories['io.flow.internal.v0.models.shopify_product_update_upserted'](),
|
|
@@ -20604,6 +21346,22 @@ const factories = {
|
|
|
20604
21346
|
() => factories['io.flow.internal.v0.models.stripe_connect_report_record_deleted'](),
|
|
20605
21347
|
() => factories['io.flow.internal.v0.models.liability_remittance_plan_upserted'](),
|
|
20606
21348
|
() => factories['io.flow.internal.v0.models.liability_remittance_plan_deleted'](),
|
|
21349
|
+
() => factories['io.flow.internal.v0.models.anirban_item_upserted'](),
|
|
21350
|
+
() => factories['io.flow.internal.v0.models.anirban_item_deleted'](),
|
|
21351
|
+
() => factories['io.flow.internal.v0.models.sarvesh_item_upserted'](),
|
|
21352
|
+
() => factories['io.flow.internal.v0.models.sarvesh_item_deleted'](),
|
|
21353
|
+
() => factories['io.flow.internal.v0.models.hosein_item_upserted'](),
|
|
21354
|
+
() => factories['io.flow.internal.v0.models.hosein_item_deleted'](),
|
|
21355
|
+
() => factories['io.flow.internal.v0.models.niall_item_upserted'](),
|
|
21356
|
+
() => factories['io.flow.internal.v0.models.niall_item_deleted'](),
|
|
21357
|
+
() => factories['io.flow.internal.v0.models.rohan_item_upserted'](),
|
|
21358
|
+
() => factories['io.flow.internal.v0.models.rohan_item_deleted'](),
|
|
21359
|
+
() => factories['io.flow.internal.v0.models.aldo_item_upserted'](),
|
|
21360
|
+
() => factories['io.flow.internal.v0.models.aldo_item_deleted'](),
|
|
21361
|
+
() => factories['io.flow.internal.v0.models.ansh_item_upserted'](),
|
|
21362
|
+
() => factories['io.flow.internal.v0.models.ansh_item_deleted'](),
|
|
21363
|
+
() => factories['io.flow.internal.v0.models.gabriel_item_upserted'](),
|
|
21364
|
+
() => factories['io.flow.internal.v0.models.gabriel_item_deleted'](),
|
|
20607
21365
|
() => factories['io.flow.internal.v0.models.tracking_processing_error_upserted'](),
|
|
20608
21366
|
() => factories['io.flow.internal.v0.models.tracking_processing_error_deleted'](),
|
|
20609
21367
|
() => factories['io.flow.internal.v0.models.tracking_label_event_upserted_v2'](),
|
|
@@ -20946,6 +21704,7 @@ const factories = {
|
|
|
20946
21704
|
() => factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation'](),
|
|
20947
21705
|
() => factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment'](),
|
|
20948
21706
|
() => factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed'](),
|
|
21707
|
+
() => factories['io.flow.internal.v0.models.proof_of_posting_synthetic'](),
|
|
20949
21708
|
]);
|
|
20950
21709
|
|
|
20951
21710
|
return f();
|
|
@@ -21348,6 +22107,7 @@ const factories = {
|
|
|
21348
22107
|
price_attributes: objectOf(() => factories['io.flow.item.v0.models.local_item_attribute_pricing']()),
|
|
21349
22108
|
}),
|
|
21350
22109
|
|
|
22110
|
+
'io.flow.label.v0.enums.commercial_invoice_mode': (): io.flow.label.v0.enums.CommercialInvoiceMode => faker.helpers.arrayElement(['direct', 'indirect']),
|
|
21351
22111
|
'io.flow.label.v0.enums.cost_estimate_source': (): io.flow.label.v0.enums.CostEstimateSource => faker.helpers.arrayElement(['flow', 'channel']),
|
|
21352
22112
|
'io.flow.label.v0.enums.direction': (): io.flow.label.v0.enums.Direction => faker.helpers.arrayElement(['outbound', 'return']),
|
|
21353
22113
|
|
|
@@ -21708,6 +22468,77 @@ const factories = {
|
|
|
21708
22468
|
|
|
21709
22469
|
'io.flow.merchant.onboarding.v0.enums.region_type': (): io.flow.merchant.onboarding.v0.enums.RegionType => faker.helpers.arrayElement(['state', 'province', 'jurisdiction']),
|
|
21710
22470
|
|
|
22471
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_application': (): io.flow.merchant.onboarding.v0.models.CommonMerchantApplication => ({
|
|
22472
|
+
discriminator: 'common_merchant_application',
|
|
22473
|
+
id: factories.string(),
|
|
22474
|
+
organization_id: factories.string(),
|
|
22475
|
+
organization_reference: factories['io.flow.merchant.onboarding.v0.models.onboarding_organization_reference'](),
|
|
22476
|
+
status: factories['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'](),
|
|
22477
|
+
company: factories['io.flow.merchant.onboarding.v0.models.merchant_info'](),
|
|
22478
|
+
indirect_tax: factories['io.flow.merchant.onboarding.v0.models.indirect_tax'](),
|
|
22479
|
+
ultimate_beneficiary_owner: factories['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'](),
|
|
22480
|
+
business_url: factories.string(),
|
|
22481
|
+
business_description: factories.string(),
|
|
22482
|
+
business_address: factories['io.flow.common.v0.models.address'](),
|
|
22483
|
+
refund_percentage: factories.decimal(),
|
|
22484
|
+
chargeback_percentage: factories.decimal(),
|
|
22485
|
+
beneficiary_details: factories['io.flow.merchant.onboarding.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
22486
|
+
other_trade_sector: factories.string(),
|
|
22487
|
+
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
22488
|
+
center_address: factories['io.flow.common.v0.models.address'](),
|
|
22489
|
+
average_order_weight: factories.decimal(),
|
|
22490
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
22491
|
+
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
22492
|
+
monthly_average: factories['io.flow.merchant.onboarding.v0.models.monthly_average'](),
|
|
22493
|
+
default_country_of_origin: factories.string(),
|
|
22494
|
+
rate_card: factories.string(),
|
|
22495
|
+
shop: factories['io.flow.merchant.onboarding.v0.models.shop'](),
|
|
22496
|
+
created_at: factories.date_time_iso_8601(),
|
|
22497
|
+
last_year_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
22498
|
+
last_month_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
22499
|
+
average_order_value: factories['io.flow.common.v0.models.money'](),
|
|
22500
|
+
mcc_codes: arrayOf(() => factories.long()),
|
|
22501
|
+
}),
|
|
22502
|
+
|
|
22503
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_application_form': (): io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationForm => ({
|
|
22504
|
+
discriminator: 'common_merchant_application_form',
|
|
22505
|
+
company: factories['io.flow.merchant.onboarding.v0.models.merchant_info'](),
|
|
22506
|
+
indirect_tax: factories['io.flow.merchant.onboarding.v0.models.indirect_tax'](),
|
|
22507
|
+
ultimate_beneficiary_owner: factories['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'](),
|
|
22508
|
+
business_url: factories.string(),
|
|
22509
|
+
business_description: factories.string(),
|
|
22510
|
+
business_address: factories['io.flow.common.v0.models.address'](),
|
|
22511
|
+
refund_percentage: factories.decimal(),
|
|
22512
|
+
chargeback_percentage: factories.decimal(),
|
|
22513
|
+
beneficiary_details: factories['io.flow.merchant.onboarding.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
22514
|
+
other_trade_sector: factories.string(),
|
|
22515
|
+
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
22516
|
+
center_address: factories['io.flow.common.v0.models.address'](),
|
|
22517
|
+
average_order_weight: factories.decimal(),
|
|
22518
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
22519
|
+
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
22520
|
+
monthly_average_volume_amount: factories.decimal(),
|
|
22521
|
+
monthly_average_volume_currency: factories.string(),
|
|
22522
|
+
monthly_average_number_transactions: factories.long(),
|
|
22523
|
+
default_country_of_origin: factories.string(),
|
|
22524
|
+
shop: factories['io.flow.merchant.onboarding.v0.models.shop'](),
|
|
22525
|
+
rate_card: factories.string(),
|
|
22526
|
+
last_year_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
22527
|
+
last_month_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
22528
|
+
average_order_value: factories['io.flow.common.v0.models.money'](),
|
|
22529
|
+
mcc_codes: arrayOf(() => factories.long()),
|
|
22530
|
+
}),
|
|
22531
|
+
|
|
22532
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_application_put_form': (): io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationPutForm => ({
|
|
22533
|
+
discriminator: 'common_merchant_application_put_form',
|
|
22534
|
+
status: factories['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'](),
|
|
22535
|
+
}),
|
|
22536
|
+
|
|
22537
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_applications_summary': (): io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationsSummary => ({
|
|
22538
|
+
discriminator: 'common_merchant_applications_summary',
|
|
22539
|
+
total: factories.long(),
|
|
22540
|
+
}),
|
|
22541
|
+
|
|
21711
22542
|
'io.flow.merchant.onboarding.v0.models.indirect_tax': (): io.flow.merchant.onboarding.v0.models.IndirectTax => ({
|
|
21712
22543
|
number: factories.string(),
|
|
21713
22544
|
id: factories.string(),
|
|
@@ -21724,6 +22555,7 @@ const factories = {
|
|
|
21724
22555
|
region: factories['io.flow.merchant.onboarding.v0.enums.region_type'](),
|
|
21725
22556
|
region_value: factories.string(),
|
|
21726
22557
|
category_code: factories.string(),
|
|
22558
|
+
description: factories.string(),
|
|
21727
22559
|
}),
|
|
21728
22560
|
|
|
21729
22561
|
'io.flow.merchant.onboarding.v0.models.merchant_onboarding_address': (): io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress => ({
|
|
@@ -21735,6 +22567,17 @@ const factories = {
|
|
|
21735
22567
|
country: factories.string(),
|
|
21736
22568
|
}),
|
|
21737
22569
|
|
|
22570
|
+
'io.flow.merchant.onboarding.v0.models.merchant_onboarding_beneficiary_details': (): io.flow.merchant.onboarding.v0.models.MerchantOnboardingBeneficiaryDetails => ({
|
|
22571
|
+
name: factories.string(),
|
|
22572
|
+
address: factories['io.flow.common.v0.models.address'](),
|
|
22573
|
+
phone: factories.string(),
|
|
22574
|
+
email: factories.string(),
|
|
22575
|
+
bank_account_number: factories.string(),
|
|
22576
|
+
bank_routing_number: factories.string(),
|
|
22577
|
+
bank_name: factories.string(),
|
|
22578
|
+
bank_address: factories['io.flow.common.v0.models.address'](),
|
|
22579
|
+
}),
|
|
22580
|
+
|
|
21738
22581
|
'io.flow.merchant.onboarding.v0.models.monthly_average': (): io.flow.merchant.onboarding.v0.models.MonthlyAverage => ({
|
|
21739
22582
|
volume: factories['io.flow.merchant.onboarding.v0.models.monthly_average_volume'](),
|
|
21740
22583
|
number_transactions: factories.long(),
|
|
@@ -21803,6 +22646,7 @@ const factories = {
|
|
|
21803
22646
|
|
|
21804
22647
|
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
21805
22648
|
average_order_weight: factories.decimal(),
|
|
22649
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
21806
22650
|
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
21807
22651
|
monthly_average: factories['io.flow.merchant.onboarding.v0.models.monthly_average'](),
|
|
21808
22652
|
default_country_of_origin: factories.string(),
|
|
@@ -21840,6 +22684,7 @@ const factories = {
|
|
|
21840
22684
|
|
|
21841
22685
|
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
21842
22686
|
average_order_weight: factories.decimal(),
|
|
22687
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
21843
22688
|
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
21844
22689
|
monthly_average_volume_amount: factories.decimal(),
|
|
21845
22690
|
monthly_average_volume_currency: factories.string(),
|
|
@@ -21885,6 +22730,7 @@ const factories = {
|
|
|
21885
22730
|
'io.flow.merchant.onboarding.v0.unions.merchant_application': (): io.flow.merchant.onboarding.v0.unions.MerchantApplication => {
|
|
21886
22731
|
const f = faker.helpers.arrayElement([
|
|
21887
22732
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application'](),
|
|
22733
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_application'](),
|
|
21888
22734
|
]);
|
|
21889
22735
|
|
|
21890
22736
|
return f();
|
|
@@ -21893,6 +22739,7 @@ const factories = {
|
|
|
21893
22739
|
'io.flow.merchant.onboarding.v0.unions.merchant_application_form': (): io.flow.merchant.onboarding.v0.unions.MerchantApplicationForm => {
|
|
21894
22740
|
const f = faker.helpers.arrayElement([
|
|
21895
22741
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_form'](),
|
|
22742
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_application_form'](),
|
|
21896
22743
|
]);
|
|
21897
22744
|
|
|
21898
22745
|
return f();
|
|
@@ -21901,6 +22748,7 @@ const factories = {
|
|
|
21901
22748
|
'io.flow.merchant.onboarding.v0.unions.merchant_application_put_form': (): io.flow.merchant.onboarding.v0.unions.MerchantApplicationPutForm => {
|
|
21902
22749
|
const f = faker.helpers.arrayElement([
|
|
21903
22750
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_put_form'](),
|
|
22751
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_application_put_form'](),
|
|
21904
22752
|
]);
|
|
21905
22753
|
|
|
21906
22754
|
return f();
|
|
@@ -21909,6 +22757,7 @@ const factories = {
|
|
|
21909
22757
|
'io.flow.merchant.onboarding.v0.unions.merchant_applications_summary': (): io.flow.merchant.onboarding.v0.unions.MerchantApplicationsSummary => {
|
|
21910
22758
|
const f = faker.helpers.arrayElement([
|
|
21911
22759
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_applications_summary'](),
|
|
22760
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_applications_summary'](),
|
|
21912
22761
|
]);
|
|
21913
22762
|
|
|
21914
22763
|
return f();
|
|
@@ -22294,6 +23143,22 @@ const factories = {
|
|
|
22294
23143
|
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
22295
23144
|
}),
|
|
22296
23145
|
|
|
23146
|
+
'io.flow.organization.v0.models.organization_tax_registration': (): io.flow.organization.v0.models.OrganizationTaxRegistration => ({
|
|
23147
|
+
id: factories.string(),
|
|
23148
|
+
organization: factories['io.flow.common.v0.models.organization_summary'](),
|
|
23149
|
+
address: factories['io.flow.common.v0.models.billing_address'](),
|
|
23150
|
+
registration: factories['io.flow.organization.v0.models.tax_registration_detail'](),
|
|
23151
|
+
self_billing_agreement: factories['io.flow.organization.v0.models.self_billing_agreement'](),
|
|
23152
|
+
}),
|
|
23153
|
+
|
|
23154
|
+
'io.flow.organization.v0.models.organization_tax_registration_form': (): io.flow.organization.v0.models.OrganizationTaxRegistrationForm => ({
|
|
23155
|
+
tax_number: factories.string(),
|
|
23156
|
+
country: factories.string(),
|
|
23157
|
+
province: factories.string(),
|
|
23158
|
+
self_billing_agreement_effective_at: factories.date_time_iso_8601(),
|
|
23159
|
+
self_billing_agreement_expires_at: factories.date_time_iso_8601(),
|
|
23160
|
+
}),
|
|
23161
|
+
|
|
22297
23162
|
'io.flow.organization.v0.models.organization_version': (): io.flow.organization.v0.models.OrganizationVersion => ({
|
|
22298
23163
|
id: factories.string(),
|
|
22299
23164
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -22311,6 +23176,18 @@ const factories = {
|
|
|
22311
23176
|
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
22312
23177
|
}),
|
|
22313
23178
|
|
|
23179
|
+
'io.flow.organization.v0.models.self_billing_agreement': (): io.flow.organization.v0.models.SelfBillingAgreement => ({
|
|
23180
|
+
effective_at: factories.date_time_iso_8601(),
|
|
23181
|
+
expires_at: factories.date_time_iso_8601(),
|
|
23182
|
+
}),
|
|
23183
|
+
|
|
23184
|
+
'io.flow.organization.v0.models.tax_registration_detail': (): io.flow.organization.v0.models.TaxRegistrationDetail => ({
|
|
23185
|
+
tax_number: factories.string(),
|
|
23186
|
+
country: factories.string(),
|
|
23187
|
+
tax_code: factories.string(),
|
|
23188
|
+
province: factories.string(),
|
|
23189
|
+
}),
|
|
23190
|
+
|
|
22314
23191
|
'io.flow.partner.v0.enums.label_format': (): io.flow.partner.v0.enums.LabelFormat => faker.helpers.arrayElement(['pdf', 'zpl', 'all']),
|
|
22315
23192
|
|
|
22316
23193
|
'io.flow.partner.v0.models.bridge_hub': (): io.flow.partner.v0.models.BridgeHub => ({
|
|
@@ -23175,6 +24052,7 @@ const factories = {
|
|
|
23175
24052
|
supported_actions: arrayOf(() => factories['io.flow.payment.gateway.v0.enums.payment_action_type']()),
|
|
23176
24053
|
payment_capture_option: factories['io.flow.payment.gateway.v0.unions.payment_capture_option'](),
|
|
23177
24054
|
review: factories['io.flow.payment.gateway.v0.models.payment_request_review'](),
|
|
24055
|
+
client_secret: factories.string(),
|
|
23178
24056
|
}),
|
|
23179
24057
|
|
|
23180
24058
|
'io.flow.payment.gateway.v0.models.payment_request_cancellation_reason_order_missing': (): io.flow.payment.gateway.v0.models.PaymentRequestCancellationReasonOrderMissing => ({
|
|
@@ -23528,7 +24406,7 @@ const factories = {
|
|
|
23528
24406
|
'unknown',
|
|
23529
24407
|
]),
|
|
23530
24408
|
|
|
23531
|
-
'io.flow.payment.v0.enums.payment_fee_type': (): io.flow.payment.v0.enums.PaymentFeeType => faker.helpers.arrayElement(['fx', 'mor', 'sp']),
|
|
24409
|
+
'io.flow.payment.v0.enums.payment_fee_type': (): io.flow.payment.v0.enums.PaymentFeeType => faker.helpers.arrayElement(['fx', 'mor', 'sp', 'mor_tax']),
|
|
23532
24410
|
'io.flow.payment.v0.enums.payment_source_confirmation_action_type': (): io.flow.payment.v0.enums.PaymentSourceConfirmationActionType => faker.helpers.arrayElement(['cvv', 'billing_address', 'number']),
|
|
23533
24411
|
'io.flow.payment.v0.enums.refund_decline_code': (): io.flow.payment.v0.enums.RefundDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
|
|
23534
24412
|
|
|
@@ -25242,6 +26120,7 @@ const factories = {
|
|
|
25242
26120
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
25243
26121
|
origin_region: factories['io.flow.ratecard.v0.models.ratecard_region_reference'](),
|
|
25244
26122
|
destination_region: factories['io.flow.ratecard.v0.models.ratecard_region_reference'](),
|
|
26123
|
+
destination_regions: arrayOf(() => factories['io.flow.ratecard.v0.models.ratecard_region_reference']()),
|
|
25245
26124
|
interval_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
25246
26125
|
}),
|
|
25247
26126
|
|
|
@@ -25446,6 +26325,7 @@ const factories = {
|
|
|
25446
26325
|
center_id: factories.string(),
|
|
25447
26326
|
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
25448
26327
|
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
26328
|
+
commercial_invoice_mode: factories['io.flow.label.v0.enums.commercial_invoice_mode'](),
|
|
25449
26329
|
}),
|
|
25450
26330
|
|
|
25451
26331
|
'io.flow.ratecard.v0.models.ratecard_estimate_summary_form': (): io.flow.ratecard.v0.models.RatecardEstimateSummaryForm => ({
|
|
@@ -25666,6 +26546,49 @@ const factories = {
|
|
|
25666
26546
|
to: factories.long(),
|
|
25667
26547
|
}),
|
|
25668
26548
|
|
|
26549
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate': (): io.flow.ratecard.v0.models.ShippingRateEstimate => ({
|
|
26550
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
26551
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
26552
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
26553
|
+
services: arrayOf(() => factories.string()),
|
|
26554
|
+
|
|
26555
|
+
available: arrayOf(
|
|
26556
|
+
() => factories['io.flow.ratecard.v0.models.shipping_rate_estimate_available'](),
|
|
26557
|
+
),
|
|
26558
|
+
|
|
26559
|
+
unavailable: arrayOf(
|
|
26560
|
+
() => factories['io.flow.ratecard.v0.models.shipping_rate_estimate_unavailable'](),
|
|
26561
|
+
),
|
|
26562
|
+
}),
|
|
26563
|
+
|
|
26564
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate_available': (): io.flow.ratecard.v0.models.ShippingRateEstimateAvailable => ({
|
|
26565
|
+
service: factories['io.flow.ratecard.v0.models.ratecard_service_summary'](),
|
|
26566
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
26567
|
+
shipment_window: factories['io.flow.ratecard.v0.models.shipment_window'](),
|
|
26568
|
+
total_amount: factories['io.flow.common.v0.models.money'](),
|
|
26569
|
+
base_amount: factories['io.flow.common.v0.models.money'](),
|
|
26570
|
+
fees: arrayOf(() => factories['io.flow.ratecard.v0.unions.ratecard_fee']()),
|
|
26571
|
+
dimensional_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
26572
|
+
gravitational_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
26573
|
+
weight_break: factories.decimal(),
|
|
26574
|
+
}),
|
|
26575
|
+
|
|
26576
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate_request': (): io.flow.ratecard.v0.models.ShippingRateEstimateRequest => ({
|
|
26577
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
26578
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
26579
|
+
package_dimensions: factories['io.flow.common.v0.models.dimension'](),
|
|
26580
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
26581
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
26582
|
+
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
26583
|
+
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
26584
|
+
line_items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
|
|
26585
|
+
}),
|
|
26586
|
+
|
|
26587
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate_unavailable': (): io.flow.ratecard.v0.models.ShippingRateEstimateUnavailable => ({
|
|
26588
|
+
service: factories.string(),
|
|
26589
|
+
reason: factories.string(),
|
|
26590
|
+
}),
|
|
26591
|
+
|
|
25669
26592
|
'io.flow.ratecard.v0.unions.fuel_surcharge_rate': (): io.flow.ratecard.v0.unions.FuelSurchargeRate => {
|
|
25670
26593
|
const f = faker.helpers.arrayElement([
|
|
25671
26594
|
() => factories['io.flow.ratecard.v0.models.fuel_surcharge_percent'](),
|
|
@@ -25861,6 +26784,49 @@ const factories = {
|
|
|
25861
26784
|
offset: factories.integer(),
|
|
25862
26785
|
}),
|
|
25863
26786
|
|
|
26787
|
+
'io.flow.restrictions.v0.enums.restricted_review_status': (): io.flow.restrictions.v0.enums.RestrictedReviewStatus => faker.helpers.arrayElement(['in_review', 'reviewed']),
|
|
26788
|
+
'io.flow.restrictions.v0.enums.restriction_environment': (): io.flow.restrictions.v0.enums.RestrictionEnvironment => faker.helpers.arrayElement(['sandbox', 'production', 'qa']),
|
|
26789
|
+
'io.flow.restrictions.v0.enums.review_status': (): io.flow.restrictions.v0.enums.ReviewStatus => faker.helpers.arrayElement(['high_risk_in_review', 'low_risk_in_review', 'reviewed']),
|
|
26790
|
+
|
|
26791
|
+
'io.flow.restrictions.v0.models.carrier_restrictions': (): io.flow.restrictions.v0.models.CarrierRestrictions => ({
|
|
26792
|
+
carrier: factories.string(),
|
|
26793
|
+
regions: arrayOf(() => factories.string()),
|
|
26794
|
+
}),
|
|
26795
|
+
|
|
26796
|
+
'io.flow.restrictions.v0.models.needs_action_attributes': (): io.flow.restrictions.v0.models.NeedsActionAttributes => ({
|
|
26797
|
+
reason_code: factories.string(),
|
|
26798
|
+
category_metafield_handles: arrayOf(() => factories.string()),
|
|
26799
|
+
require_msds: factories.boolean(),
|
|
26800
|
+
}),
|
|
26801
|
+
|
|
26802
|
+
'io.flow.restrictions.v0.models.product_restriction_result': (): io.flow.restrictions.v0.models.ProductRestrictionResult => ({
|
|
26803
|
+
id: factories.string(),
|
|
26804
|
+
product_id: factories.string(),
|
|
26805
|
+
item_numbers: arrayOf(() => factories.string()),
|
|
26806
|
+
prohibited_regions: arrayOf(() => factories.string()),
|
|
26807
|
+
sellability_restricted_regions: arrayOf(() => factories.string()),
|
|
26808
|
+
reasons_per_region: arrayOf(() => factories['io.flow.restrictions.v0.models.reasons_per_region']()),
|
|
26809
|
+
review_status: factories['io.flow.restrictions.v0.enums.review_status'](),
|
|
26810
|
+
rules: arrayOf(() => factories.string()),
|
|
26811
|
+
updated_by: factories.string(),
|
|
26812
|
+
product_restriction_id: factories.string(),
|
|
26813
|
+
hs_code: factories.string(),
|
|
26814
|
+
|
|
26815
|
+
restricted_regions_by_type: arrayOf(
|
|
26816
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
26817
|
+
),
|
|
26818
|
+
|
|
26819
|
+
needs_action_attributes: arrayOf(
|
|
26820
|
+
() => factories['io.flow.restrictions.v0.models.needs_action_attributes'](),
|
|
26821
|
+
),
|
|
26822
|
+
}),
|
|
26823
|
+
|
|
26824
|
+
'io.flow.restrictions.v0.models.reasons_per_region': (): io.flow.restrictions.v0.models.ReasonsPerRegion => ({
|
|
26825
|
+
region: factories.string(),
|
|
26826
|
+
reasons: arrayOf(() => factories.string()),
|
|
26827
|
+
review_status: factories['io.flow.restrictions.v0.enums.restricted_review_status'](),
|
|
26828
|
+
}),
|
|
26829
|
+
|
|
25864
26830
|
'io.flow.return.v0.enums.return_status': (): io.flow.RESERVED_WORD_return.v0.enums.ReturnStatus => faker.helpers.arrayElement(['open', 'refunded']),
|
|
25865
26831
|
|
|
25866
26832
|
'io.flow.return.v0.enums.return_tracking_status': (): io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus => faker.helpers.arrayElement([
|
|
@@ -25979,6 +26945,9 @@ const factories = {
|
|
|
25979
26945
|
]),
|
|
25980
26946
|
|
|
25981
26947
|
'io.flow.sellability.v0.enums.sellability_request_status': (): io.flow.sellability.v0.enums.SellabilityRequestStatus => faker.helpers.arrayElement(['commit']),
|
|
26948
|
+
'io.flow.sellability.v0.enums.sellability_result_error_code': (): io.flow.sellability.v0.enums.SellabilityResultErrorCode => faker.helpers.arrayElement(['insufficient_details', 'generic_error']),
|
|
26949
|
+
'io.flow.sellability.v0.enums.sellability_result_status': (): io.flow.sellability.v0.enums.SellabilityResultStatus => faker.helpers.arrayElement(['in_review', 'succeeded', 'failed']),
|
|
26950
|
+
'io.flow.sellability.v0.enums.sellability_screening_mode': (): io.flow.sellability.v0.enums.SellabilityScreeningMode => faker.helpers.arrayElement(['pre_onboarding', 'default_on', 'active']),
|
|
25982
26951
|
|
|
25983
26952
|
'io.flow.sellability.v0.models.product_sellability': (): io.flow.sellability.v0.models.ProductSellability => ({
|
|
25984
26953
|
discriminator: 'product_sellability',
|
|
@@ -25988,11 +26957,12 @@ const factories = {
|
|
|
25988
26957
|
hs6_code: factories.string(),
|
|
25989
26958
|
|
|
25990
26959
|
restricted_regions: arrayOf(
|
|
25991
|
-
() => factories['io.flow.sellability.v0.models.
|
|
26960
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
25992
26961
|
),
|
|
25993
26962
|
}),
|
|
25994
26963
|
|
|
25995
26964
|
'io.flow.sellability.v0.models.product_sellability_form': (): io.flow.sellability.v0.models.ProductSellabilityForm => ({
|
|
26965
|
+
discriminator: 'product_sellability_form',
|
|
25996
26966
|
shop_id: factories.string(),
|
|
25997
26967
|
product_id: factories.string(),
|
|
25998
26968
|
name: factories.string(),
|
|
@@ -26003,21 +26973,108 @@ const factories = {
|
|
|
26003
26973
|
dry_run: factories.boolean(),
|
|
26004
26974
|
}),
|
|
26005
26975
|
|
|
26976
|
+
'io.flow.sellability.v0.models.product_sellability_result': (): io.flow.sellability.v0.models.ProductSellabilityResult => ({
|
|
26977
|
+
merchant_id: factories.string(),
|
|
26978
|
+
product_id: factories.string(),
|
|
26979
|
+
|
|
26980
|
+
restricted_regions: arrayOf(
|
|
26981
|
+
() => factories['io.flow.sellability.v0.models.sellability_restricted_region'](),
|
|
26982
|
+
),
|
|
26983
|
+
|
|
26984
|
+
restricted_reasons: arrayOf(
|
|
26985
|
+
() => factories['io.flow.sellability.v0.models.sellability_restricted_reason'](),
|
|
26986
|
+
),
|
|
26987
|
+
|
|
26988
|
+
needs_action_attributes: arrayOf(
|
|
26989
|
+
() => factories['io.flow.sellability.v0.models.sellability_needs_action_attributes'](),
|
|
26990
|
+
),
|
|
26991
|
+
|
|
26992
|
+
request_id: factories.string(),
|
|
26993
|
+
hs6_code: factories.string(),
|
|
26994
|
+
}),
|
|
26995
|
+
|
|
26006
26996
|
'io.flow.sellability.v0.models.sellability_error': (): io.flow.sellability.v0.models.SellabilityError => ({
|
|
26007
26997
|
discriminator: 'sellability_error',
|
|
26008
26998
|
code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
|
|
26009
26999
|
messages: arrayOf(() => factories.string()),
|
|
26010
27000
|
}),
|
|
26011
27001
|
|
|
27002
|
+
'io.flow.sellability.v0.models.sellability_needs_action_attributes': (): io.flow.sellability.v0.models.SellabilityNeedsActionAttributes => ({
|
|
27003
|
+
reason_code: factories.string(),
|
|
27004
|
+
category_metafield_handles: arrayOf(() => factories.string()),
|
|
27005
|
+
require_msds: factories.boolean(),
|
|
27006
|
+
}),
|
|
27007
|
+
|
|
27008
|
+
'io.flow.sellability.v0.models.sellability_reason_with_regions': (): io.flow.sellability.v0.models.SellabilityReasonWithRegions => ({
|
|
27009
|
+
reason: factories.string(),
|
|
27010
|
+
regions: arrayOf(() => factories.string()),
|
|
27011
|
+
}),
|
|
27012
|
+
|
|
27013
|
+
'io.flow.sellability.v0.models.sellability_region_result': (): io.flow.sellability.v0.models.SellabilityRegionResult => ({
|
|
27014
|
+
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
27015
|
+
regions: arrayOf(() => factories.string()),
|
|
27016
|
+
}),
|
|
27017
|
+
|
|
27018
|
+
'io.flow.sellability.v0.models.sellability_region_with_reasons': (): io.flow.sellability.v0.models.SellabilityRegionWithReasons => ({
|
|
27019
|
+
region: factories.string(),
|
|
27020
|
+
reasons: arrayOf(() => factories.string()),
|
|
27021
|
+
}),
|
|
27022
|
+
|
|
27023
|
+
'io.flow.sellability.v0.models.sellability_restricted_reason': (): io.flow.sellability.v0.models.SellabilityRestrictedReason => ({
|
|
27024
|
+
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
27025
|
+
|
|
27026
|
+
reasons_with_regions: arrayOf(
|
|
27027
|
+
() => factories['io.flow.sellability.v0.models.sellability_reason_with_regions'](),
|
|
27028
|
+
),
|
|
27029
|
+
}),
|
|
27030
|
+
|
|
27031
|
+
'io.flow.sellability.v0.models.sellability_restricted_region': (): io.flow.sellability.v0.models.SellabilityRestrictedRegion => ({
|
|
27032
|
+
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
27033
|
+
regions: arrayOf(() => factories.string()),
|
|
27034
|
+
}),
|
|
27035
|
+
|
|
27036
|
+
'io.flow.sellability.v0.models.sellability_screening': (): io.flow.sellability.v0.models.SellabilityScreening => ({
|
|
27037
|
+
discriminator: 'sellability_screening',
|
|
27038
|
+
product_sellability_result: factories['io.flow.sellability.v0.models.product_sellability_result'](),
|
|
27039
|
+
request_id: factories.string(),
|
|
27040
|
+
status: factories['io.flow.sellability.v0.enums.sellability_result_status'](),
|
|
27041
|
+
error_code: factories['io.flow.sellability.v0.enums.sellability_result_error_code'](),
|
|
27042
|
+
error_message: factories.string(),
|
|
27043
|
+
}),
|
|
27044
|
+
|
|
27045
|
+
'io.flow.sellability.v0.models.sellability_screening_form': (): io.flow.sellability.v0.models.SellabilityScreeningForm => ({
|
|
27046
|
+
discriminator: 'sellability_screening_form',
|
|
27047
|
+
merchant_id: factories.string(),
|
|
27048
|
+
product_id: factories.string(),
|
|
27049
|
+
name: factories.string(),
|
|
27050
|
+
price: factories['io.flow.common.v0.models.money'](),
|
|
27051
|
+
description: factories.string(),
|
|
27052
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
27053
|
+
mode: factories['io.flow.sellability.v0.enums.sellability_screening_mode'](),
|
|
27054
|
+
catalog_size: factories.integer(),
|
|
27055
|
+
relative_ranking: factories.decimal(),
|
|
27056
|
+
dry_run: factories.boolean(),
|
|
27057
|
+
}),
|
|
27058
|
+
|
|
26012
27059
|
'io.flow.sellability.v0.models.sellablility_region_result': (): io.flow.sellability.v0.models.SellablilityRegionResult => ({
|
|
26013
27060
|
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
26014
27061
|
regions: arrayOf(() => factories.string()),
|
|
26015
27062
|
}),
|
|
26016
27063
|
|
|
27064
|
+
'io.flow.sellability.v0.unions.sellability_request': (): io.flow.sellability.v0.unions.SellabilityRequest => {
|
|
27065
|
+
const f = faker.helpers.arrayElement([
|
|
27066
|
+
() => factories['io.flow.sellability.v0.models.product_sellability_form'](),
|
|
27067
|
+
() => factories['io.flow.sellability.v0.models.sellability_screening_form'](),
|
|
27068
|
+
]);
|
|
27069
|
+
|
|
27070
|
+
return f();
|
|
27071
|
+
},
|
|
27072
|
+
|
|
26017
27073
|
'io.flow.sellability.v0.unions.sellability_response': (): io.flow.sellability.v0.unions.SellabilityResponse => {
|
|
26018
27074
|
const f = faker.helpers.arrayElement([
|
|
26019
27075
|
() => factories['io.flow.sellability.v0.models.product_sellability'](),
|
|
26020
27076
|
() => factories['io.flow.sellability.v0.models.sellability_error'](),
|
|
27077
|
+
() => factories['io.flow.sellability.v0.models.sellability_screening'](),
|
|
26021
27078
|
]);
|
|
26022
27079
|
|
|
26023
27080
|
return f();
|
|
@@ -27504,6 +28561,22 @@ const factories = {
|
|
|
27504
28561
|
shopify_product_taxonomy_attribute_value: factories['io.flow.shopify.markets.internal.v0.models.shopify_product_taxonomy_attribute_value'](),
|
|
27505
28562
|
}),
|
|
27506
28563
|
|
|
28564
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_test_order_deleted': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyTestOrderDeleted => ({
|
|
28565
|
+
discriminator: 'shopify_test_order_deleted',
|
|
28566
|
+
event_id: factories.string(),
|
|
28567
|
+
timestamp: factories.date_time_iso_8601(),
|
|
28568
|
+
organization: factories.string(),
|
|
28569
|
+
id: factories.string(),
|
|
28570
|
+
}),
|
|
28571
|
+
|
|
28572
|
+
'io.flow.shopify.markets.internal.event.v0.models.shopify_test_order_upserted': (): io.flow.shopify.markets.internal.event.v0.models.ShopifyTestOrderUpserted => ({
|
|
28573
|
+
discriminator: 'shopify_test_order_upserted',
|
|
28574
|
+
event_id: factories.string(),
|
|
28575
|
+
timestamp: factories.date_time_iso_8601(),
|
|
28576
|
+
organization: factories.string(),
|
|
28577
|
+
shopify_test_order: factories['io.flow.shopify.markets.internal.v0.models.shopify_test_order'](),
|
|
28578
|
+
}),
|
|
28579
|
+
|
|
27507
28580
|
'io.flow.shopify.markets.internal.event.v0.unions.shopify_markets_internal_event': (): io.flow.shopify.markets.internal.event.v0.unions.ShopifyMarketsInternalEvent => {
|
|
27508
28581
|
const f = faker.helpers.arrayElement([
|
|
27509
28582
|
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_markets_order_upserted'](),
|
|
@@ -27535,6 +28608,8 @@ const factories = {
|
|
|
27535
28608
|
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_risk_assessment_deleted'](),
|
|
27536
28609
|
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_upserted'](),
|
|
27537
28610
|
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_order_transaction_deleted'](),
|
|
28611
|
+
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_test_order_upserted'](),
|
|
28612
|
+
() => factories['io.flow.shopify.markets.internal.event.v0.models.shopify_test_order_deleted'](),
|
|
27538
28613
|
]);
|
|
27539
28614
|
|
|
27540
28615
|
return f();
|
|
@@ -27761,6 +28836,17 @@ const factories = {
|
|
|
27761
28836
|
shopify: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_shopify_order_metrics'](),
|
|
27762
28837
|
internal: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_internal_order_metrics'](),
|
|
27763
28838
|
discrepancy_data: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_discrepancy_data'](),
|
|
28839
|
+
|
|
28840
|
+
organization_metrics: arrayOf(
|
|
28841
|
+
() => factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_organization_order_metrics'](),
|
|
28842
|
+
),
|
|
28843
|
+
}),
|
|
28844
|
+
|
|
28845
|
+
'io.flow.shopify.markets.internal.v0.models.shopify_markets_organization_order_metrics': (): io.flow.shopify.markets.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics => ({
|
|
28846
|
+
organization_id: factories.string(),
|
|
28847
|
+
shopify_order_count: factories.long(),
|
|
28848
|
+
internal_order_count: factories.long(),
|
|
28849
|
+
discrepancy_count: factories.long(),
|
|
27764
28850
|
}),
|
|
27765
28851
|
|
|
27766
28852
|
'io.flow.shopify.markets.internal.v0.models.shopify_markets_queued_record': (): io.flow.shopify.markets.internal.v0.models.ShopifyMarketsQueuedRecord => ({
|
|
@@ -27888,6 +28974,10 @@ const factories = {
|
|
|
27888
28974
|
initial_product_restrictions_synced_at: factories.date_time_iso_8601(),
|
|
27889
28975
|
}),
|
|
27890
28976
|
|
|
28977
|
+
'io.flow.shopify.markets.internal.v0.models.shopify_test_order': (): io.flow.shopify.markets.internal.v0.models.ShopifyTestOrder => ({
|
|
28978
|
+
id: factories.string(),
|
|
28979
|
+
}),
|
|
28980
|
+
|
|
27891
28981
|
'io.flow.shopify.markets.internal.v0.models.third_party_logistics_partner': (): io.flow.shopify.markets.internal.v0.models.ThirdPartyLogisticsPartner => ({
|
|
27892
28982
|
warehouse_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
27893
28983
|
warehouse_url: factories.string(),
|
|
@@ -28410,6 +29500,7 @@ const factories = {
|
|
|
28410
29500
|
),
|
|
28411
29501
|
|
|
28412
29502
|
taxes_included: factories.boolean(),
|
|
29503
|
+
test: factories.boolean(),
|
|
28413
29504
|
token: factories.string(),
|
|
28414
29505
|
total_weight: factories.decimal(),
|
|
28415
29506
|
updated_at: factories.date_time_iso_8601(),
|
|
@@ -28430,6 +29521,7 @@ const factories = {
|
|
|
28430
29521
|
|
|
28431
29522
|
merchant_of_record_app_id: factories.long(),
|
|
28432
29523
|
total_shipping_price_set: factories['io.flow.shopify.markets.v0.models.shopify_order_money_set'](),
|
|
29524
|
+
current_shipping_price_set: factories['io.flow.shopify.markets.v0.models.shopify_order_money_set'](),
|
|
28433
29525
|
total_tip_received: factories.string(),
|
|
28434
29526
|
}),
|
|
28435
29527
|
|
|
@@ -31391,18 +32483,27 @@ export const makeAfterpayRefundDeleted = () => factories['io.flow.internal.v0.mo
|
|
|
31391
32483
|
export const makeAfterpayRefundUpserted = () => factories['io.flow.internal.v0.models.afterpay_refund_upserted']();
|
|
31392
32484
|
export const makeAftershipWebhook = () => factories['io.flow.internal.v0.models.aftership_webhook']();
|
|
31393
32485
|
export const makeAldoItem = () => factories['io.flow.internal.v0.models.aldo_item']();
|
|
32486
|
+
export const makeAldoItemDeleted = () => factories['io.flow.internal.v0.models.aldo_item_deleted']();
|
|
31394
32487
|
export const makeAldoItemForm = () => factories['io.flow.internal.v0.models.aldo_item_form']();
|
|
31395
32488
|
export const makeAldoItemType = () => factories['io.flow.internal.v0.enums.aldo_item_type']();
|
|
32489
|
+
export const makeAldoItemUpserted = () => factories['io.flow.internal.v0.models.aldo_item_upserted']();
|
|
31396
32490
|
export const makeAllItemsExport = () => factories['io.flow.internal.v0.models.all_items_export']();
|
|
31397
32491
|
export const makeAllOrganizationsMembership = () => factories['io.flow.internal.v0.models.all_organizations_membership']();
|
|
31398
32492
|
export const makeAllocationItemReference = () => factories['io.flow.internal.v0.models.allocation_item_reference']();
|
|
31399
32493
|
export const makeAllowedLabels = () => factories['io.flow.internal.v0.models.allowed_labels']();
|
|
32494
|
+
export const makeAmruthaItem = () => factories['io.flow.internal.v0.models.amrutha_item']();
|
|
32495
|
+
export const makeAmruthaItemForm = () => factories['io.flow.internal.v0.models.amrutha_item_form']();
|
|
32496
|
+
export const makeAmruthaItemType = () => factories['io.flow.internal.v0.enums.amrutha_item_type']();
|
|
31400
32497
|
export const makeAnirbanItem = () => factories['io.flow.internal.v0.models.anirban_item']();
|
|
32498
|
+
export const makeAnirbanItemDeleted = () => factories['io.flow.internal.v0.models.anirban_item_deleted']();
|
|
31401
32499
|
export const makeAnirbanItemForm = () => factories['io.flow.internal.v0.models.anirban_item_form']();
|
|
31402
32500
|
export const makeAnirbanItemType = () => factories['io.flow.internal.v0.enums.anirban_item_type']();
|
|
32501
|
+
export const makeAnirbanItemUpserted = () => factories['io.flow.internal.v0.models.anirban_item_upserted']();
|
|
31403
32502
|
export const makeAnshItem = () => factories['io.flow.internal.v0.models.ansh_item']();
|
|
32503
|
+
export const makeAnshItemDeleted = () => factories['io.flow.internal.v0.models.ansh_item_deleted']();
|
|
31404
32504
|
export const makeAnshItemForm = () => factories['io.flow.internal.v0.models.ansh_item_form']();
|
|
31405
32505
|
export const makeAnshItemType = () => factories['io.flow.internal.v0.enums.ansh_item_type']();
|
|
32506
|
+
export const makeAnshItemUpserted = () => factories['io.flow.internal.v0.models.ansh_item_upserted']();
|
|
31406
32507
|
export const makeAnyDangerousGoods = () => factories['io.flow.internal.v0.enums.any_dangerous_goods']();
|
|
31407
32508
|
export const makeApiCallReferenceId = () => factories['io.flow.internal.v0.enums.api_call_reference_id']();
|
|
31408
32509
|
export const makeApplePayAuthorizationPayload = () => factories['io.flow.internal.v0.models.apple_pay_authorization_payload']();
|
|
@@ -31425,6 +32526,10 @@ export const makeAuthorizedOrderCharge = () => factories['io.flow.internal.v0.un
|
|
|
31425
32526
|
export const makeAuthorizedShippingCharge = () => factories['io.flow.internal.v0.models.authorized_shipping_charge']();
|
|
31426
32527
|
export const makeAutoRestrictRule = () => factories['io.flow.internal.v0.enums.auto_restrict_rule']();
|
|
31427
32528
|
export const makeAutoReviewCriteria = () => factories['io.flow.internal.v0.models.auto_review_criteria']();
|
|
32529
|
+
export const makeB2BTaxLedger = () => factories['io.flow.internal.v0.models.b2b_tax_ledger']();
|
|
32530
|
+
export const makeB2BTaxLedgerDocumentType = () => factories['io.flow.internal.v0.enums.b2b_tax_ledger_document_type']();
|
|
32531
|
+
export const makeB2BTaxLedgerForm = () => factories['io.flow.internal.v0.models.b2b_tax_ledger_form']();
|
|
32532
|
+
export const makeB2BTaxRateType = () => factories['io.flow.internal.v0.enums.b2b_tax_rate_type']();
|
|
31428
32533
|
export const makeBankAccount = () => factories['io.flow.internal.v0.models.bank_account']();
|
|
31429
32534
|
export const makeBankAccountReference = () => factories['io.flow.internal.v0.models.bank_account_reference']();
|
|
31430
32535
|
export const makeBankAccountStatus = () => factories['io.flow.internal.v0.enums.bank_account_status']();
|
|
@@ -31490,6 +32595,7 @@ export const makeBrickWebhookEvent = () => factories['io.flow.internal.v0.models
|
|
|
31490
32595
|
export const makeBrickWebhookEventResponse = () => factories['io.flow.internal.v0.models.brick_webhook_event_response']();
|
|
31491
32596
|
export const makeBulkClassificationAction = () => factories['io.flow.internal.v0.models.bulk_classification_action']();
|
|
31492
32597
|
export const makeBulkDutyUpdateValidationError = () => factories['io.flow.internal.v0.models.bulk_duty_update_validation_error']();
|
|
32598
|
+
export const makeCafe24MarketsWebhook = () => factories['io.flow.internal.v0.models.cafe24_markets_webhook']();
|
|
31493
32599
|
export const makeCalculatedTaxAmount = () => factories['io.flow.internal.v0.models.calculated_tax_amount']();
|
|
31494
32600
|
export const makeCalculationStampingLineItem = () => factories['io.flow.internal.v0.models.calculation_stamping_line_item']();
|
|
31495
32601
|
export const makeCalculationStampingShippingLine = () => factories['io.flow.internal.v0.models.calculation_stamping_shipping_line']();
|
|
@@ -31664,6 +32770,7 @@ export const makeClassificationDecision = () => factories['io.flow.internal.v0.e
|
|
|
31664
32770
|
export const makeClassificationDetails = () => factories['io.flow.internal.v0.models.classification_details']();
|
|
31665
32771
|
export const makeClassificationError = () => factories['io.flow.internal.v0.models.classification_error']();
|
|
31666
32772
|
export const makeClassificationErrorCode = () => factories['io.flow.internal.v0.enums.classification_error_code']();
|
|
32773
|
+
export const makeClassificationFailureReason = () => factories['io.flow.internal.v0.enums.classification_failure_reason']();
|
|
31667
32774
|
export const makeClassificationForm = () => factories['io.flow.internal.v0.unions.classification_form']();
|
|
31668
32775
|
export const makeClassificationFormWrapper = () => factories['io.flow.internal.v0.models.classification_form_wrapper']();
|
|
31669
32776
|
export const makeClassificationItem = () => factories['io.flow.internal.v0.models.classification_item']();
|
|
@@ -31901,7 +33008,6 @@ export const makeFeatureDefaultValue = () => factories['io.flow.internal.v0.unio
|
|
|
31901
33008
|
export const makeFeatureDeleted = () => factories['io.flow.internal.v0.models.feature_deleted']();
|
|
31902
33009
|
export const makeFeatureForm = () => factories['io.flow.internal.v0.models.feature_form']();
|
|
31903
33010
|
export const makeFeatureGeoForm = () => factories['io.flow.internal.v0.models.feature_geo_form']();
|
|
31904
|
-
export const makeFeatureIdReference = () => factories['io.flow.internal.v0.models.feature_id_reference']();
|
|
31905
33011
|
export const makeFeatureReference = () => factories['io.flow.internal.v0.models.feature_reference']();
|
|
31906
33012
|
export const makeFeatureReleaseForm = () => factories['io.flow.internal.v0.models.feature_release_form']();
|
|
31907
33013
|
export const makeFeatureRule = () => factories['io.flow.internal.v0.unions.feature_rule']();
|
|
@@ -32019,6 +33125,11 @@ export const makeFxRevenueRecognitionOrder = () => factories['io.flow.internal.v
|
|
|
32019
33125
|
export const makeFxRevenueRecognitionOrganization = () => factories['io.flow.internal.v0.models.fx_revenue_recognition_organization']();
|
|
32020
33126
|
export const makeFxRevenueRecognitionRate = () => factories['io.flow.internal.v0.models.fx_revenue_recognition_rate']();
|
|
32021
33127
|
export const makeFxRevenueRecognitionSource = () => factories['io.flow.internal.v0.models.fx_revenue_recognition_source']();
|
|
33128
|
+
export const makeGabrielItem = () => factories['io.flow.internal.v0.models.gabriel_item']();
|
|
33129
|
+
export const makeGabrielItemDeleted = () => factories['io.flow.internal.v0.models.gabriel_item_deleted']();
|
|
33130
|
+
export const makeGabrielItemForm = () => factories['io.flow.internal.v0.models.gabriel_item_form']();
|
|
33131
|
+
export const makeGabrielItemType = () => factories['io.flow.internal.v0.enums.gabriel_item_type']();
|
|
33132
|
+
export const makeGabrielItemUpserted = () => factories['io.flow.internal.v0.models.gabriel_item_upserted']();
|
|
32022
33133
|
export const makeGeIngestionFileStatus = () => factories['io.flow.internal.v0.enums.ge_ingestion_file_status']();
|
|
32023
33134
|
export const makeGeRevenueShareTransaction = () => factories['io.flow.internal.v0.models.ge_revenue_share_transaction']();
|
|
32024
33135
|
export const makeGeRevenueShareTransactionType = () => factories['io.flow.internal.v0.enums.ge_revenue_share_transaction_type']();
|
|
@@ -32054,9 +33165,12 @@ export const makeHarmonizationUnclassifiedStatistics = () => factories['io.flow.
|
|
|
32054
33165
|
export const makeHarmonizeFullyRequestV2 = () => factories['io.flow.internal.v0.models.harmonize_fully_request_v2']();
|
|
32055
33166
|
export const makeHarmonizedItemsHs6Export = () => factories['io.flow.internal.v0.models.harmonized_items_hs6_export']();
|
|
32056
33167
|
export const makeHoseinItem = () => factories['io.flow.internal.v0.models.hosein_item']();
|
|
33168
|
+
export const makeHoseinItemDeleted = () => factories['io.flow.internal.v0.models.hosein_item_deleted']();
|
|
32057
33169
|
export const makeHoseinItemForm = () => factories['io.flow.internal.v0.models.hosein_item_form']();
|
|
32058
33170
|
export const makeHoseinItemType = () => factories['io.flow.internal.v0.enums.hosein_item_type']();
|
|
33171
|
+
export const makeHoseinItemUpserted = () => factories['io.flow.internal.v0.models.hosein_item_upserted']();
|
|
32059
33172
|
export const makeHs6 = () => factories['io.flow.internal.v0.models.hs6']();
|
|
33173
|
+
export const makeHs6CodeSource = () => factories['io.flow.internal.v0.enums.hs6_code_source']();
|
|
32060
33174
|
export const makeHs6Metadata = () => factories['io.flow.internal.v0.models.hs6_metadata']();
|
|
32061
33175
|
export const makeHttpMethod = () => factories['io.flow.internal.v0.enums.http_method']();
|
|
32062
33176
|
export const makeImportCompleted = () => factories['io.flow.internal.v0.models.import_completed']();
|
|
@@ -32184,6 +33298,10 @@ export const makeLabelsPrediction = () => factories['io.flow.internal.v0.models.
|
|
|
32184
33298
|
export const makeLandedCostItem = () => factories['io.flow.internal.v0.models.landed_cost_item']();
|
|
32185
33299
|
export const makeLandmark = () => factories['io.flow.internal.v0.models.landmark']();
|
|
32186
33300
|
export const makeLastFailureSummary = () => factories['io.flow.internal.v0.models.last_failure_summary']();
|
|
33301
|
+
export const makeLedgerReport = () => factories['io.flow.internal.v0.models.ledger_report']();
|
|
33302
|
+
export const makeLedgerReportType = () => factories['io.flow.internal.v0.enums.ledger_report_type']();
|
|
33303
|
+
export const makeLedgerReportUrl = () => factories['io.flow.internal.v0.models.ledger_report_url']();
|
|
33304
|
+
export const makeLedgerReportUrlType = () => factories['io.flow.internal.v0.enums.ledger_report_url_type']();
|
|
32187
33305
|
export const makeLevyRateSummary = () => factories['io.flow.internal.v0.models.levy_rate_summary']();
|
|
32188
33306
|
export const makeLevyRateSummaryUpserted = () => factories['io.flow.internal.v0.models.levy_rate_summary_upserted']();
|
|
32189
33307
|
export const makeLiability = () => factories['io.flow.internal.v0.models.liability']();
|
|
@@ -32263,8 +33381,10 @@ export const makeNatureOfSale = () => factories['io.flow.internal.v0.enums.natur
|
|
|
32263
33381
|
export const makeNegativeDebitMetrics = () => factories['io.flow.internal.v0.models.negative_debit_metrics']();
|
|
32264
33382
|
export const makeNextBillingStatement = () => factories['io.flow.internal.v0.models.next_billing_statement']();
|
|
32265
33383
|
export const makeNiallItem = () => factories['io.flow.internal.v0.models.niall_item']();
|
|
33384
|
+
export const makeNiallItemDeleted = () => factories['io.flow.internal.v0.models.niall_item_deleted']();
|
|
32266
33385
|
export const makeNiallItemForm = () => factories['io.flow.internal.v0.models.niall_item_form']();
|
|
32267
33386
|
export const makeNiallItemType = () => factories['io.flow.internal.v0.enums.niall_item_type']();
|
|
33387
|
+
export const makeNiallItemUpserted = () => factories['io.flow.internal.v0.models.niall_item_upserted']();
|
|
32268
33388
|
export const makeNoCalculatedTaxAmount = () => factories['io.flow.internal.v0.models.no_calculated_tax_amount']();
|
|
32269
33389
|
export const makeNoClassificationForm = () => factories['io.flow.internal.v0.models.no_classification_form']();
|
|
32270
33390
|
export const makeNoLiabilityReasonCode = () => factories['io.flow.internal.v0.enums.no_liability_reason_code']();
|
|
@@ -32351,9 +33471,6 @@ export const makeOrganizationAccountUpsertedV2 = () => factories['io.flow.intern
|
|
|
32351
33471
|
export const makeOrganizationBankAccountDeleted = () => factories['io.flow.internal.v0.models.organization_bank_account_deleted']();
|
|
32352
33472
|
export const makeOrganizationBankAccountUpserted = () => factories['io.flow.internal.v0.models.organization_bank_account_upserted']();
|
|
32353
33473
|
export const makeOrganizationBillingStatement = () => factories['io.flow.internal.v0.models.organization_billing_statement']();
|
|
32354
|
-
export const makeOrganizationBooleanValue = () => factories['io.flow.internal.v0.models.organization_boolean_value']();
|
|
32355
|
-
export const makeOrganizationBooleanValueDeleted = () => factories['io.flow.internal.v0.models.organization_boolean_value_deleted']();
|
|
32356
|
-
export const makeOrganizationBooleanValueUpserted = () => factories['io.flow.internal.v0.models.organization_boolean_value_upserted']();
|
|
32357
33474
|
export const makeOrganizationBusinessEntity = () => factories['io.flow.internal.v0.models.organization_business_entity']();
|
|
32358
33475
|
export const makeOrganizationBusinessEntityDeleted = () => factories['io.flow.internal.v0.models.organization_business_entity_deleted']();
|
|
32359
33476
|
export const makeOrganizationBusinessEntityUpserted = () => factories['io.flow.internal.v0.models.organization_business_entity_upserted']();
|
|
@@ -32510,6 +33627,16 @@ export const makePrateekItemForm = () => factories['io.flow.internal.v0.models.p
|
|
|
32510
33627
|
export const makePrateekItemType = () => factories['io.flow.internal.v0.enums.prateek_item_type']();
|
|
32511
33628
|
export const makePrediction = () => factories['io.flow.internal.v0.models.prediction']();
|
|
32512
33629
|
export const makePreferredBillingSchedule = () => factories['io.flow.internal.v0.enums.preferred_billing_schedule']();
|
|
33630
|
+
export const makePreonboardingClassificationDecision = () => factories['io.flow.internal.v0.enums.preonboarding_classification_decision']();
|
|
33631
|
+
export const makePreonboardingClassificationPlatform = () => factories['io.flow.internal.v0.enums.preonboarding_classification_platform']();
|
|
33632
|
+
export const makePreonboardingClassificationRabbitmqEnvelope = () => factories['io.flow.internal.v0.models.preonboarding_classification_rabbitmq_envelope']();
|
|
33633
|
+
export const makePreonboardingClassificationRabbitmqMessage = () => factories['io.flow.internal.v0.models.preonboarding_classification_rabbitmq_message']();
|
|
33634
|
+
export const makePreonboardingClassificationRequest = () => factories['io.flow.internal.v0.models.preonboarding_classification_request']();
|
|
33635
|
+
export const makePreonboardingClassificationResult = () => factories['io.flow.internal.v0.models.preonboarding_classification_result']();
|
|
33636
|
+
export const makePreonboardingClassificationType = () => factories['io.flow.internal.v0.enums.preonboarding_classification_type']();
|
|
33637
|
+
export const makePreonboardingMerchant = () => factories['io.flow.internal.v0.models.preonboarding_merchant']();
|
|
33638
|
+
export const makePreonboardingRequestStatus = () => factories['io.flow.internal.v0.enums.preonboarding_request_status']();
|
|
33639
|
+
export const makePreonboardingSellabilityResult = () => factories['io.flow.internal.v0.models.preonboarding_sellability_result']();
|
|
32513
33640
|
export const makePriceInclusivity = () => factories['io.flow.internal.v0.models.price_inclusivity']();
|
|
32514
33641
|
export const makePriceSelector = () => factories['io.flow.internal.v0.enums.price_selector']();
|
|
32515
33642
|
export const makePrioritizedCenterReference = () => factories['io.flow.internal.v0.models.prioritized_center_reference']();
|
|
@@ -32562,6 +33689,7 @@ export const makeProofOfPostingFulfilled = () => factories['io.flow.internal.v0.
|
|
|
32562
33689
|
export const makeProofOfPostingOrderCancellation = () => factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation']();
|
|
32563
33690
|
export const makeProofOfPostingOrderCombinedShipment = () => factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment']();
|
|
32564
33691
|
export const makeProofOfPostingShippingNotification = () => factories['io.flow.internal.v0.models.proof_of_posting_shipping_notification']();
|
|
33692
|
+
export const makeProofOfPostingSynthetic = () => factories['io.flow.internal.v0.models.proof_of_posting_synthetic']();
|
|
32565
33693
|
export const makeProofOfPostingTimeElapsed = () => factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed']();
|
|
32566
33694
|
export const makePspDistribution = () => factories['io.flow.internal.v0.models.psp_distribution']();
|
|
32567
33695
|
export const makePspRoutingDistribution = () => factories['io.flow.internal.v0.models.psp_routing_distribution']();
|
|
@@ -32633,6 +33761,7 @@ export const makeRejectionReason = () => factories['io.flow.internal.v0.enums.re
|
|
|
32633
33761
|
export const makeRemittanceResponsibility = () => factories['io.flow.internal.v0.models.remittance_responsibility']();
|
|
32634
33762
|
export const makeReport = () => factories['io.flow.internal.v0.models.report']();
|
|
32635
33763
|
export const makeReportAccount = () => factories['io.flow.internal.v0.models.report_account']();
|
|
33764
|
+
export const makeReportAmountRange = () => factories['io.flow.internal.v0.models.report_amount_range']();
|
|
32636
33765
|
export const makeReportBankAccount = () => factories['io.flow.internal.v0.models.report_bank_account']();
|
|
32637
33766
|
export const makeReportBankAccountCleartext = () => factories['io.flow.internal.v0.models.report_bank_account_cleartext']();
|
|
32638
33767
|
export const makeReportFile = () => factories['io.flow.internal.v0.models.report_file']();
|
|
@@ -32763,8 +33892,10 @@ export const makeRevenueRecordUpserted = () => factories['io.flow.internal.v0.mo
|
|
|
32763
33892
|
export const makeRiskCheck = () => factories['io.flow.internal.v0.enums.risk_check']();
|
|
32764
33893
|
export const makeRiskEvaluation = () => factories['io.flow.internal.v0.enums.risk_evaluation']();
|
|
32765
33894
|
export const makeRohanItem = () => factories['io.flow.internal.v0.models.rohan_item']();
|
|
33895
|
+
export const makeRohanItemDeleted = () => factories['io.flow.internal.v0.models.rohan_item_deleted']();
|
|
32766
33896
|
export const makeRohanItemForm = () => factories['io.flow.internal.v0.models.rohan_item_form']();
|
|
32767
33897
|
export const makeRohanItemType = () => factories['io.flow.internal.v0.enums.rohan_item_type']();
|
|
33898
|
+
export const makeRohanItemUpserted = () => factories['io.flow.internal.v0.models.rohan_item_upserted']();
|
|
32768
33899
|
export const makeRoutingAccount = () => factories['io.flow.internal.v0.models.routing_account']();
|
|
32769
33900
|
export const makeRoutingEntity = () => factories['io.flow.internal.v0.unions.routing_entity']();
|
|
32770
33901
|
export const makeRoutingMerchant = () => factories['io.flow.internal.v0.models.routing_merchant']();
|
|
@@ -32773,8 +33904,10 @@ export const makeSalesPaymentRecord = () => factories['io.flow.internal.v0.model
|
|
|
32773
33904
|
export const makeSandboxSetup = () => factories['io.flow.internal.v0.models.sandbox_setup']();
|
|
32774
33905
|
export const makeSandboxSetupForm = () => factories['io.flow.internal.v0.models.sandbox_setup_form']();
|
|
32775
33906
|
export const makeSarveshItem = () => factories['io.flow.internal.v0.models.sarvesh_item']();
|
|
33907
|
+
export const makeSarveshItemDeleted = () => factories['io.flow.internal.v0.models.sarvesh_item_deleted']();
|
|
32776
33908
|
export const makeSarveshItemForm = () => factories['io.flow.internal.v0.models.sarvesh_item_form']();
|
|
32777
33909
|
export const makeSarveshItemType = () => factories['io.flow.internal.v0.enums.sarvesh_item_type']();
|
|
33910
|
+
export const makeSarveshItemUpserted = () => factories['io.flow.internal.v0.models.sarvesh_item_upserted']();
|
|
32778
33911
|
export const makeScheduledPayment = () => factories['io.flow.internal.v0.models.scheduled_payment']();
|
|
32779
33912
|
export const makeScreen = () => factories['io.flow.internal.v0.models.screen']();
|
|
32780
33913
|
export const makeScreenForm = () => factories['io.flow.internal.v0.models.screen_form']();
|
|
@@ -32798,6 +33931,9 @@ export const makeShipmentCostSummary = () => factories['io.flow.internal.v0.mode
|
|
|
32798
33931
|
export const makeShippingLane = () => factories['io.flow.internal.v0.models.shipping_lane']();
|
|
32799
33932
|
export const makeShippingMethodReference = () => factories['io.flow.internal.v0.models.shipping_method_reference']();
|
|
32800
33933
|
export const makeShippingPricing = () => factories['io.flow.internal.v0.models.shipping_pricing']();
|
|
33934
|
+
export const makeShippingRateEstimateAvailableInternal = () => factories['io.flow.internal.v0.models.shipping_rate_estimate_available_internal']();
|
|
33935
|
+
export const makeShippingRateEstimateInternal = () => factories['io.flow.internal.v0.models.shipping_rate_estimate_internal']();
|
|
33936
|
+
export const makeShippingRateEstimateRequestInternal = () => factories['io.flow.internal.v0.models.shipping_rate_estimate_request_internal']();
|
|
32801
33937
|
export const makeShopifyCatalogPublication = () => factories['io.flow.internal.v0.models.shopify_catalog_publication']();
|
|
32802
33938
|
export const makeShopifyChannelOrganizationToken = () => factories['io.flow.internal.v0.models.shopify_channel_organization_token']();
|
|
32803
33939
|
export const makeShopifyChannelOrganizationTokens = () => factories['io.flow.internal.v0.models.shopify_channel_organization_tokens']();
|
|
@@ -32837,6 +33973,7 @@ export const makeShopifyMarketsOrderDeleted = () => factories['io.flow.internal.
|
|
|
32837
33973
|
export const makeShopifyMarketsOrderUpserted = () => factories['io.flow.internal.v0.models.shopify_markets_order_upserted']();
|
|
32838
33974
|
export const makeShopifyMarketsOrderVersionWithShopId = () => factories['io.flow.internal.v0.models.shopify_markets_order_version_with_shop_id']();
|
|
32839
33975
|
export const makeShopifyMarketsOrdersMetrics = () => factories['io.flow.internal.v0.models.shopify_markets_orders_metrics']();
|
|
33976
|
+
export const makeShopifyMarketsOrganizationOrderMetrics = () => factories['io.flow.internal.v0.models.shopify_markets_organization_order_metrics']();
|
|
32840
33977
|
export const makeShopifyMarketsQueuedRecord = () => factories['io.flow.internal.v0.models.shopify_markets_queued_record']();
|
|
32841
33978
|
export const makeShopifyMarketsQueuedRecordType = () => factories['io.flow.internal.v0.enums.shopify_markets_queued_record_type']();
|
|
32842
33979
|
export const makeShopifyMarketsShop = () => factories['io.flow.internal.v0.models.shopify_markets_shop']();
|
|
@@ -32911,6 +34048,9 @@ export const makeShopifyStoreDetail = () => factories['io.flow.internal.v0.model
|
|
|
32911
34048
|
export const makeShopifyStripeEvent = () => factories['io.flow.internal.v0.models.shopify_stripe_event']();
|
|
32912
34049
|
export const makeShopifyTaxonomyAlignmentConfig = () => factories['io.flow.internal.v0.models.shopify_taxonomy_alignment_config']();
|
|
32913
34050
|
export const makeShopifyTaxonomyAlignmentConfigForm = () => factories['io.flow.internal.v0.models.shopify_taxonomy_alignment_config_form']();
|
|
34051
|
+
export const makeShopifyTestOrder = () => factories['io.flow.internal.v0.models.shopify_test_order']();
|
|
34052
|
+
export const makeShopifyTestOrderDeleted = () => factories['io.flow.internal.v0.models.shopify_test_order_deleted']();
|
|
34053
|
+
export const makeShopifyTestOrderUpserted = () => factories['io.flow.internal.v0.models.shopify_test_order_upserted']();
|
|
32914
34054
|
export const makeShopperBreakdown = () => factories['io.flow.internal.v0.models.shopper_breakdown']();
|
|
32915
34055
|
export const makeShopperFees = () => factories['io.flow.internal.v0.models.shopper_fees']();
|
|
32916
34056
|
export const makeShopperFreight = () => factories['io.flow.internal.v0.models.shopper_freight']();
|
|
@@ -33017,6 +34157,7 @@ export const makeTaxTransaction = () => factories['io.flow.internal.v0.models.ta
|
|
|
33017
34157
|
export const makeTaxTransactionDeleted = () => factories['io.flow.internal.v0.models.tax_transaction_deleted']();
|
|
33018
34158
|
export const makeTaxTransactionType = () => factories['io.flow.internal.v0.enums.tax_transaction_type']();
|
|
33019
34159
|
export const makeTaxTransactionUpserted = () => factories['io.flow.internal.v0.models.tax_transaction_upserted']();
|
|
34160
|
+
export const makeTaxTypeTotal = () => factories['io.flow.internal.v0.models.tax_type_total']();
|
|
33020
34161
|
export const makeTaxonomyAlignmentCheckResult = () => factories['io.flow.internal.v0.models.taxonomy_alignment_check_result']();
|
|
33021
34162
|
export const makeTaxonomyCategory = () => factories['io.flow.internal.v0.models.taxonomy_category']();
|
|
33022
34163
|
export const makeTaxonomyCategoryClassificationAlignment = () => factories['io.flow.internal.v0.enums.taxonomy_category_classification_alignment']();
|