@flowio/api-internal-factories 0.0.138 → 0.0.140
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 +1056 -106
- package/dist/esm/api-internal.js +968 -65
- package/dist/types/api-internal.d.ts +51 -5
- package/package.json +2 -2
- package/src/api-internal.ts +1157 -69
package/src/api-internal.ts
CHANGED
|
@@ -779,7 +779,8 @@ const factories = {
|
|
|
779
779
|
'account_payment_hold',
|
|
780
780
|
]),
|
|
781
781
|
|
|
782
|
-
'io.flow.billing.v0.enums.statement_attachment_type': (): io.flow.billing.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv']),
|
|
782
|
+
'io.flow.billing.v0.enums.statement_attachment_type': (): io.flow.billing.v0.enums.StatementAttachmentType => faker.helpers.arrayElement(['csv', 'pdf']),
|
|
783
|
+
'io.flow.billing.v0.enums.statement_status_code': (): io.flow.billing.v0.enums.StatementStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'failed']),
|
|
783
784
|
|
|
784
785
|
'io.flow.billing.v0.enums.tax_duty_transaction_reason_code': (): io.flow.billing.v0.enums.TaxDutyTransactionReasonCode => faker.helpers.arrayElement([
|
|
785
786
|
'post_capture',
|
|
@@ -788,6 +789,7 @@ const factories = {
|
|
|
788
789
|
'order_edit',
|
|
789
790
|
'mixed_fulfilment_non_lvg',
|
|
790
791
|
'lvg_refund',
|
|
792
|
+
'us_inbound_tax_refund',
|
|
791
793
|
'order_cancellation_above_de_min',
|
|
792
794
|
'wyol_shipment_above_de_min',
|
|
793
795
|
'full_refund_without_shipment',
|
|
@@ -827,9 +829,11 @@ const factories = {
|
|
|
827
829
|
'merchant_refund',
|
|
828
830
|
'ge_revenue_share',
|
|
829
831
|
'merchant_fee',
|
|
832
|
+
'b2b_tax',
|
|
833
|
+
'b2b_tax_refund',
|
|
830
834
|
]),
|
|
831
835
|
|
|
832
|
-
'io.flow.billing.v0.enums.trueup_source': (): io.flow.billing.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups']),
|
|
836
|
+
'io.flow.billing.v0.enums.trueup_source': (): io.flow.billing.v0.enums.TrueupSource => faker.helpers.arrayElement(['flow', 'channel', 'dhl-parcel', 'dhl', 'ups', 'fedex']),
|
|
833
837
|
'io.flow.billing.v0.enums.withholding_deduction_type': (): io.flow.billing.v0.enums.WithholdingDeductionType => faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']),
|
|
834
838
|
|
|
835
839
|
'io.flow.billing.v0.models.account_id_reference': (): io.flow.billing.v0.models.AccountIdReference => ({
|
|
@@ -1089,6 +1093,11 @@ const factories = {
|
|
|
1089
1093
|
created_at: factories.date_time_iso_8601(),
|
|
1090
1094
|
}),
|
|
1091
1095
|
|
|
1096
|
+
'io.flow.billing.v0.models.statement_status_form': (): io.flow.billing.v0.models.StatementStatusForm => ({
|
|
1097
|
+
code: factories['io.flow.billing.v0.enums.statement_status_code'](),
|
|
1098
|
+
failure_reason: factories['io.flow.billing.v0.enums.payout_status_failure_code'](),
|
|
1099
|
+
}),
|
|
1100
|
+
|
|
1092
1101
|
'io.flow.billing.v0.models.transaction': (): io.flow.billing.v0.models.Transaction => ({
|
|
1093
1102
|
statement: factories['io.flow.billing.v0.models.billing_channel_statement_reference'](),
|
|
1094
1103
|
id: factories.string(),
|
|
@@ -1187,6 +1196,25 @@ const factories = {
|
|
|
1187
1196
|
'io.flow.billing.v0.models.transaction_metadata_tax_duty': (): io.flow.billing.v0.models.TransactionMetadataTaxDuty => ({
|
|
1188
1197
|
discriminator: 'transaction_tax_duty',
|
|
1189
1198
|
reason_code: factories['io.flow.billing.v0.enums.tax_duty_transaction_reason_code'](),
|
|
1199
|
+
local_currency: factories.string(),
|
|
1200
|
+
actual: factories['io.flow.billing.v0.models.transaction_metadata_tax_duty_actual'](),
|
|
1201
|
+
estimate: factories['io.flow.billing.v0.models.transaction_metadata_tax_duty_estimate'](),
|
|
1202
|
+
delta: factories['io.flow.billing.v0.models.transaction_metadata_tax_duty_delta'](),
|
|
1203
|
+
}),
|
|
1204
|
+
|
|
1205
|
+
'io.flow.billing.v0.models.transaction_metadata_tax_duty_actual': (): io.flow.billing.v0.models.TransactionMetadataTaxDutyActual => ({
|
|
1206
|
+
base: factories.decimal(),
|
|
1207
|
+
local: factories.decimal(),
|
|
1208
|
+
}),
|
|
1209
|
+
|
|
1210
|
+
'io.flow.billing.v0.models.transaction_metadata_tax_duty_delta': (): io.flow.billing.v0.models.TransactionMetadataTaxDutyDelta => ({
|
|
1211
|
+
base: factories.decimal(),
|
|
1212
|
+
local: factories.decimal(),
|
|
1213
|
+
}),
|
|
1214
|
+
|
|
1215
|
+
'io.flow.billing.v0.models.transaction_metadata_tax_duty_estimate': (): io.flow.billing.v0.models.TransactionMetadataTaxDutyEstimate => ({
|
|
1216
|
+
base: factories.decimal(),
|
|
1217
|
+
local: factories.decimal(),
|
|
1190
1218
|
}),
|
|
1191
1219
|
|
|
1192
1220
|
'io.flow.billing.v0.models.transaction_metadata_trueup': (): io.flow.billing.v0.models.TransactionMetadataTrueup => ({
|
|
@@ -2080,6 +2108,7 @@ const factories = {
|
|
|
2080
2108
|
'unsupported_virtual_goods',
|
|
2081
2109
|
'non_matching_currencies',
|
|
2082
2110
|
'unsupported_order_edit',
|
|
2111
|
+
'order_allocation_duties_mismatch',
|
|
2083
2112
|
'order_missing',
|
|
2084
2113
|
]),
|
|
2085
2114
|
|
|
@@ -2136,6 +2165,7 @@ const factories = {
|
|
|
2136
2165
|
order_updated_at: factories.date_time_iso_8601(),
|
|
2137
2166
|
order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
|
|
2138
2167
|
payment_source: factories['io.flow.channel.internal.v0.enums.order_payment_source_type'](),
|
|
2168
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
2139
2169
|
}),
|
|
2140
2170
|
|
|
2141
2171
|
'io.flow.channel.internal.v0.models.channel_order_acceptance_details': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceDetails => ({
|
|
@@ -2161,9 +2191,9 @@ const factories = {
|
|
|
2161
2191
|
rejection_reason: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_rejection_reason'](),
|
|
2162
2192
|
}),
|
|
2163
2193
|
|
|
2164
|
-
'io.flow.channel.internal.v0.models.
|
|
2194
|
+
'io.flow.channel.internal.v0.models.channel_organization_domains': (): io.flow.channel.internal.v0.models.ChannelOrganizationDomains => ({
|
|
2165
2195
|
internal: factories.string(),
|
|
2166
|
-
|
|
2196
|
+
external: factories.string(),
|
|
2167
2197
|
}),
|
|
2168
2198
|
|
|
2169
2199
|
'io.flow.channel.internal.v0.models.channel_organization_installation': (): io.flow.channel.internal.v0.models.ChannelOrganizationInstallation => ({
|
|
@@ -2180,7 +2210,7 @@ const factories = {
|
|
|
2180
2210
|
}),
|
|
2181
2211
|
|
|
2182
2212
|
'io.flow.channel.internal.v0.models.channel_organization_metadata': (): io.flow.channel.internal.v0.models.ChannelOrganizationMetadata => ({
|
|
2183
|
-
domain: factories['io.flow.channel.internal.v0.models.
|
|
2213
|
+
domain: factories['io.flow.channel.internal.v0.models.channel_organization_domains'](),
|
|
2184
2214
|
token: factories.string(),
|
|
2185
2215
|
}),
|
|
2186
2216
|
|
|
@@ -2242,6 +2272,35 @@ const factories = {
|
|
|
2242
2272
|
token: factories.string(),
|
|
2243
2273
|
}),
|
|
2244
2274
|
|
|
2275
|
+
'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']),
|
|
2276
|
+
|
|
2277
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_state': (): io.flow.channel.shopify.v0.models.ChannelShopifyOrderState => ({
|
|
2278
|
+
id: factories.string(),
|
|
2279
|
+
shopify_order_summary: factories['io.flow.channel.shopify.v0.models.channel_shopify_order_summary'](),
|
|
2280
|
+
status: factories['io.flow.channel.internal.v0.enums.channel_order_acceptance_status'](),
|
|
2281
|
+
|
|
2282
|
+
reasons: arrayOf(
|
|
2283
|
+
() => factories['io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason'](),
|
|
2284
|
+
),
|
|
2285
|
+
|
|
2286
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
2287
|
+
}),
|
|
2288
|
+
|
|
2289
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_state_reason': (): io.flow.channel.shopify.v0.models.ChannelShopifyOrderStateReason => ({
|
|
2290
|
+
code: factories['io.flow.channel.shopify.v0.enums.channel_shopify_order_state_reason_code'](),
|
|
2291
|
+
message: factories.string(),
|
|
2292
|
+
}),
|
|
2293
|
+
|
|
2294
|
+
'io.flow.channel.shopify.v0.models.channel_shopify_order_summary': (): io.flow.channel.shopify.v0.models.ChannelShopifyOrderSummary => ({
|
|
2295
|
+
order_id: factories.long(),
|
|
2296
|
+
shop_id: factories.long(),
|
|
2297
|
+
}),
|
|
2298
|
+
|
|
2299
|
+
'io.flow.channel.shopify.v0.models.external_order_summary': (): io.flow.channel.shopify.v0.models.ExternalOrderSummary => ({
|
|
2300
|
+
id: factories.string(),
|
|
2301
|
+
edit_ids: arrayOf(() => factories.string()),
|
|
2302
|
+
}),
|
|
2303
|
+
|
|
2245
2304
|
'io.flow.channel.v0.enums.channel_currency_capability': (): io.flow.channel.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
2246
2305
|
|
|
2247
2306
|
'io.flow.channel.v0.models.channel': (): io.flow.channel.v0.models.Channel => ({
|
|
@@ -2609,6 +2668,8 @@ const factories = {
|
|
|
2609
2668
|
'io.flow.common.v0.models.merchant_of_record_entity_registration': (): io.flow.common.v0.models.MerchantOfRecordEntityRegistration => ({
|
|
2610
2669
|
number: factories.string(),
|
|
2611
2670
|
country: factories.string(),
|
|
2671
|
+
province_number: factories.string(),
|
|
2672
|
+
province: factories.string(),
|
|
2612
2673
|
}),
|
|
2613
2674
|
|
|
2614
2675
|
'io.flow.common.v0.models.money': (): io.flow.common.v0.models.Money => ({
|
|
@@ -2851,6 +2912,302 @@ const factories = {
|
|
|
2851
2912
|
return f();
|
|
2852
2913
|
},
|
|
2853
2914
|
|
|
2915
|
+
'io.flow.consumer.invoice.v0.enums.b2b_invoice_type': (): io.flow.consumer.invoice.v0.enums.B2BInvoiceType => faker.helpers.arrayElement(['self_bill_invoice', 'invoice']),
|
|
2916
|
+
'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']),
|
|
2917
|
+
'io.flow.consumer.invoice.v0.enums.consumer_invoice_document_type': (): io.flow.consumer.invoice.v0.enums.ConsumerInvoiceDocumentType => faker.helpers.arrayElement(['pdf']),
|
|
2918
|
+
'io.flow.consumer.invoice.v0.enums.consumer_invoice_status': (): io.flow.consumer.invoice.v0.enums.ConsumerInvoiceStatus => faker.helpers.arrayElement(['pending', 'available', 'invalid']),
|
|
2919
|
+
'io.flow.consumer.invoice.v0.enums.tax_jurisdiction_type': (): io.flow.consumer.invoice.v0.enums.TaxJurisdictionType => faker.helpers.arrayElement(['country', 'province']),
|
|
2920
|
+
'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']),
|
|
2921
|
+
|
|
2922
|
+
'io.flow.consumer.invoice.v0.models.b2b_credit_memo': (): io.flow.consumer.invoice.v0.models.B2BCreditMemo => ({
|
|
2923
|
+
id: factories.string(),
|
|
2924
|
+
number: factories.string(),
|
|
2925
|
+
buyer: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2926
|
+
seller: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2927
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
2928
|
+
date: factories.date_time_iso_8601(),
|
|
2929
|
+
key: factories.string(),
|
|
2930
|
+
invoice: factories['io.flow.consumer.invoice.v0.models.b2b_invoice_reference'](),
|
|
2931
|
+
|
|
2932
|
+
lines: arrayOf(
|
|
2933
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](),
|
|
2934
|
+
),
|
|
2935
|
+
|
|
2936
|
+
tax_lines: arrayOf(() => factories['io.flow.consumer.invoice.v0.models.invoice_tax_line']()),
|
|
2937
|
+
tax: factories['io.flow.common.v0.models.money'](),
|
|
2938
|
+
|
|
2939
|
+
documents: arrayOf(
|
|
2940
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](),
|
|
2941
|
+
),
|
|
2942
|
+
|
|
2943
|
+
attributes: objectOf(() => factories.string()),
|
|
2944
|
+
b2b_invoice_type: factories['io.flow.consumer.invoice.v0.enums.b2b_invoice_type'](),
|
|
2945
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
2946
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
2947
|
+
}),
|
|
2948
|
+
|
|
2949
|
+
'io.flow.consumer.invoice.v0.models.b2b_invoice': (): io.flow.consumer.invoice.v0.models.B2BInvoice => ({
|
|
2950
|
+
id: factories.string(),
|
|
2951
|
+
number: factories.string(),
|
|
2952
|
+
buyer: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2953
|
+
seller: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2954
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
2955
|
+
date: factories.date_time_iso_8601(),
|
|
2956
|
+
key: factories.string(),
|
|
2957
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
2958
|
+
economic_title_location: factories['io.flow.merchant.of.record.v0.enums.economic_title_location'](),
|
|
2959
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
2960
|
+
destination: factories['io.flow.experience.v0.models.order_address'](),
|
|
2961
|
+
tax: factories['io.flow.common.v0.models.money'](),
|
|
2962
|
+
tax_lines: arrayOf(() => factories['io.flow.consumer.invoice.v0.models.invoice_tax_line']()),
|
|
2963
|
+
|
|
2964
|
+
lines: arrayOf(
|
|
2965
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](),
|
|
2966
|
+
),
|
|
2967
|
+
|
|
2968
|
+
documents: arrayOf(
|
|
2969
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](),
|
|
2970
|
+
),
|
|
2971
|
+
|
|
2972
|
+
attributes: objectOf(() => factories.string()),
|
|
2973
|
+
estimated_delivery_date: factories.date_time_iso_8601(),
|
|
2974
|
+
b2b_invoice_type: factories['io.flow.consumer.invoice.v0.enums.b2b_invoice_type'](),
|
|
2975
|
+
}),
|
|
2976
|
+
|
|
2977
|
+
'io.flow.consumer.invoice.v0.models.b2b_invoice_reference': (): io.flow.consumer.invoice.v0.models.B2BInvoiceReference => ({
|
|
2978
|
+
id: factories.string(),
|
|
2979
|
+
key: factories.string(),
|
|
2980
|
+
number: factories.string(),
|
|
2981
|
+
}),
|
|
2982
|
+
|
|
2983
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice': (): io.flow.consumer.invoice.v0.models.ConsumerInvoice => ({
|
|
2984
|
+
id: factories.string(),
|
|
2985
|
+
number: factories.string(),
|
|
2986
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
2987
|
+
date: factories.date_time_iso_8601(),
|
|
2988
|
+
key: factories.string(),
|
|
2989
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
2990
|
+
entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
2991
|
+
|
|
2992
|
+
payments: arrayOf(
|
|
2993
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_payment'](),
|
|
2994
|
+
),
|
|
2995
|
+
|
|
2996
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
2997
|
+
destination: factories['io.flow.experience.v0.models.order_address'](),
|
|
2998
|
+
billing_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
2999
|
+
|
|
3000
|
+
lines: arrayOf(
|
|
3001
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](),
|
|
3002
|
+
),
|
|
3003
|
+
|
|
3004
|
+
documents: arrayOf(
|
|
3005
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](),
|
|
3006
|
+
),
|
|
3007
|
+
|
|
3008
|
+
attributes: objectOf(() => factories.string()),
|
|
3009
|
+
tax_registration: factories['io.flow.harmonization.v0.models.tax_registration'](),
|
|
3010
|
+
customer_type: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_customer_type'](),
|
|
3011
|
+
estimated_delivery_date: factories.date_time_iso_8601(),
|
|
3012
|
+
}),
|
|
3013
|
+
|
|
3014
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceCenterReference => ({
|
|
3015
|
+
id: factories.string(),
|
|
3016
|
+
key: factories.string(),
|
|
3017
|
+
name: factories.string(),
|
|
3018
|
+
address: factories['io.flow.common.v0.models.address'](),
|
|
3019
|
+
}),
|
|
3020
|
+
|
|
3021
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_document': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceDocument => ({
|
|
3022
|
+
type: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_document_type'](),
|
|
3023
|
+
language: factories.string(),
|
|
3024
|
+
url: factories.string(),
|
|
3025
|
+
}),
|
|
3026
|
+
|
|
3027
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceForm => ({
|
|
3028
|
+
order_number: factories.string(),
|
|
3029
|
+
attributes: objectOf(() => factories.string()),
|
|
3030
|
+
}),
|
|
3031
|
+
|
|
3032
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_form_by_order': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceFormByOrder => ({
|
|
3033
|
+
attributes: objectOf(() => factories.string()),
|
|
3034
|
+
}),
|
|
3035
|
+
|
|
3036
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_levy': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevy => ({
|
|
3037
|
+
rate: factories.decimal(),
|
|
3038
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
3039
|
+
}),
|
|
3040
|
+
|
|
3041
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLevyForm => ({
|
|
3042
|
+
rate: factories.decimal(),
|
|
3043
|
+
amount: factories.decimal(),
|
|
3044
|
+
}),
|
|
3045
|
+
|
|
3046
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscount => ({
|
|
3047
|
+
discriminator: 'discount',
|
|
3048
|
+
line_id: factories.string(),
|
|
3049
|
+
price: factories['io.flow.common.v0.models.price'](),
|
|
3050
|
+
}),
|
|
3051
|
+
|
|
3052
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineDiscountForm => ({
|
|
3053
|
+
discriminator: 'discount',
|
|
3054
|
+
price: factories.decimal(),
|
|
3055
|
+
}),
|
|
3056
|
+
|
|
3057
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_item': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItem => ({
|
|
3058
|
+
discriminator: 'item',
|
|
3059
|
+
line_id: factories.string(),
|
|
3060
|
+
item: factories['io.flow.common.v0.models.item_reference'](),
|
|
3061
|
+
description: factories.string(),
|
|
3062
|
+
quantity: factories.long(),
|
|
3063
|
+
unit_price: factories['io.flow.common.v0.models.price'](),
|
|
3064
|
+
unit_discount: factories['io.flow.common.v0.models.price'](),
|
|
3065
|
+
unit_tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3066
|
+
unit_duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3067
|
+
}),
|
|
3068
|
+
|
|
3069
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_item_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineItemForm => ({
|
|
3070
|
+
discriminator: 'item',
|
|
3071
|
+
item_number: factories.string(),
|
|
3072
|
+
quantity: factories.long(),
|
|
3073
|
+
unit_price: factories.decimal(),
|
|
3074
|
+
unit_discount: factories.decimal(),
|
|
3075
|
+
unit_tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3076
|
+
unit_duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3077
|
+
}),
|
|
3078
|
+
|
|
3079
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShipping => ({
|
|
3080
|
+
discriminator: 'shipping',
|
|
3081
|
+
line_id: factories.string(),
|
|
3082
|
+
price: factories['io.flow.common.v0.models.price'](),
|
|
3083
|
+
discount: factories['io.flow.common.v0.models.price'](),
|
|
3084
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3085
|
+
duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3086
|
+
}),
|
|
3087
|
+
|
|
3088
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineShippingForm => ({
|
|
3089
|
+
discriminator: 'shipping',
|
|
3090
|
+
price: factories.decimal(),
|
|
3091
|
+
discount: factories.decimal(),
|
|
3092
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3093
|
+
duty: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3094
|
+
}),
|
|
3095
|
+
|
|
3096
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineTip => ({
|
|
3097
|
+
discriminator: 'tip',
|
|
3098
|
+
line_id: factories.string(),
|
|
3099
|
+
price: factories['io.flow.common.v0.models.price'](),
|
|
3100
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy'](),
|
|
3101
|
+
}),
|
|
3102
|
+
|
|
3103
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip_form': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceLineTipForm => ({
|
|
3104
|
+
discriminator: 'tip',
|
|
3105
|
+
price: factories.decimal(),
|
|
3106
|
+
tax: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_levy_form'](),
|
|
3107
|
+
}),
|
|
3108
|
+
|
|
3109
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceOrderSummary => ({
|
|
3110
|
+
id: factories.string(),
|
|
3111
|
+
number: factories.string(),
|
|
3112
|
+
submitted_at: factories.date_time_iso_8601(),
|
|
3113
|
+
}),
|
|
3114
|
+
|
|
3115
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_payment': (): io.flow.consumer.invoice.v0.models.ConsumerInvoicePayment => ({
|
|
3116
|
+
date: factories.date_time_iso_8601(),
|
|
3117
|
+
description: factories.string(),
|
|
3118
|
+
value: factories['io.flow.common.v0.models.price'](),
|
|
3119
|
+
billing_address: factories['io.flow.common.v0.models.billing_address'](),
|
|
3120
|
+
}),
|
|
3121
|
+
|
|
3122
|
+
'io.flow.consumer.invoice.v0.models.consumer_invoice_reference': (): io.flow.consumer.invoice.v0.models.ConsumerInvoiceReference => ({
|
|
3123
|
+
id: factories.string(),
|
|
3124
|
+
key: factories.string(),
|
|
3125
|
+
number: factories.string(),
|
|
3126
|
+
}),
|
|
3127
|
+
|
|
3128
|
+
'io.flow.consumer.invoice.v0.models.credit_memo': (): io.flow.consumer.invoice.v0.models.CreditMemo => ({
|
|
3129
|
+
id: factories.string(),
|
|
3130
|
+
number: factories.string(),
|
|
3131
|
+
status: factories['io.flow.consumer.invoice.v0.enums.consumer_invoice_status'](),
|
|
3132
|
+
date: factories.date_time_iso_8601(),
|
|
3133
|
+
key: factories.string(),
|
|
3134
|
+
invoice: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_reference'](),
|
|
3135
|
+
entity: factories['io.flow.common.v0.models.merchant_of_record_entity'](),
|
|
3136
|
+
|
|
3137
|
+
payments: arrayOf(
|
|
3138
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_payment'](),
|
|
3139
|
+
),
|
|
3140
|
+
|
|
3141
|
+
lines: arrayOf(
|
|
3142
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line'](),
|
|
3143
|
+
),
|
|
3144
|
+
|
|
3145
|
+
documents: arrayOf(
|
|
3146
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_document'](),
|
|
3147
|
+
),
|
|
3148
|
+
|
|
3149
|
+
attributes: objectOf(() => factories.string()),
|
|
3150
|
+
tax_registration: factories['io.flow.harmonization.v0.models.tax_registration'](),
|
|
3151
|
+
center: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_center_reference'](),
|
|
3152
|
+
order: factories['io.flow.consumer.invoice.v0.models.consumer_invoice_order_summary'](),
|
|
3153
|
+
}),
|
|
3154
|
+
|
|
3155
|
+
'io.flow.consumer.invoice.v0.models.credit_memo_form': (): io.flow.consumer.invoice.v0.models.CreditMemoForm => ({
|
|
3156
|
+
refund_id: factories.string(),
|
|
3157
|
+
refund_key: factories.string(),
|
|
3158
|
+
refund_identifier: factories.string(),
|
|
3159
|
+
|
|
3160
|
+
lines: arrayOf(
|
|
3161
|
+
() => factories['io.flow.consumer.invoice.v0.unions.consumer_invoice_line_form'](),
|
|
3162
|
+
),
|
|
3163
|
+
|
|
3164
|
+
attributes: objectOf(() => factories.string()),
|
|
3165
|
+
}),
|
|
3166
|
+
|
|
3167
|
+
'io.flow.consumer.invoice.v0.models.invoice_export': (): io.flow.consumer.invoice.v0.models.InvoiceExport => ({
|
|
3168
|
+
id: factories.string(),
|
|
3169
|
+
}),
|
|
3170
|
+
|
|
3171
|
+
'io.flow.consumer.invoice.v0.models.invoice_export_form': (): io.flow.consumer.invoice.v0.models.InvoiceExportForm => ({
|
|
3172
|
+
date_from: factories.date_iso_8601(),
|
|
3173
|
+
date_to: factories.date_iso_8601(),
|
|
3174
|
+
}),
|
|
3175
|
+
|
|
3176
|
+
'io.flow.consumer.invoice.v0.models.invoice_tax_line': (): io.flow.consumer.invoice.v0.models.InvoiceTaxLine => ({
|
|
3177
|
+
line_id: factories.string(),
|
|
3178
|
+
tax_breakdown: arrayOf(() => factories['io.flow.consumer.invoice.v0.models.tax_breakdown']()),
|
|
3179
|
+
}),
|
|
3180
|
+
|
|
3181
|
+
'io.flow.consumer.invoice.v0.models.tax_breakdown': (): io.flow.consumer.invoice.v0.models.TaxBreakdown => ({
|
|
3182
|
+
label: factories.string(),
|
|
3183
|
+
calculated_tax: factories['io.flow.common.v0.models.money'](),
|
|
3184
|
+
rate: factories.decimal(),
|
|
3185
|
+
line_total: factories['io.flow.common.v0.models.money'](),
|
|
3186
|
+
jurisdiction_type: factories['io.flow.consumer.invoice.v0.enums.tax_jurisdiction_type'](),
|
|
3187
|
+
}),
|
|
3188
|
+
|
|
3189
|
+
'io.flow.consumer.invoice.v0.unions.consumer_invoice_line': (): io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLine => {
|
|
3190
|
+
const f = faker.helpers.arrayElement([
|
|
3191
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_item'](),
|
|
3192
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount'](),
|
|
3193
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping'](),
|
|
3194
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip'](),
|
|
3195
|
+
]);
|
|
3196
|
+
|
|
3197
|
+
return f();
|
|
3198
|
+
},
|
|
3199
|
+
|
|
3200
|
+
'io.flow.consumer.invoice.v0.unions.consumer_invoice_line_form': (): io.flow.consumer.invoice.v0.unions.ConsumerInvoiceLineForm => {
|
|
3201
|
+
const f = faker.helpers.arrayElement([
|
|
3202
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_item_form'](),
|
|
3203
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_discount_form'](),
|
|
3204
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_shipping_form'](),
|
|
3205
|
+
() => factories['io.flow.consumer.invoice.v0.models.consumer_invoice_line_tip_form'](),
|
|
3206
|
+
]);
|
|
3207
|
+
|
|
3208
|
+
return f();
|
|
3209
|
+
},
|
|
3210
|
+
|
|
2854
3211
|
'io.flow.crypto.v0.enums.error_type': (): io.flow.crypto.v0.enums.ErrorType => faker.helpers.arrayElement(['authentication_error', 'invalid_request_error', 'rate_limit_error']),
|
|
2855
3212
|
'io.flow.crypto.v0.enums.payment_status': (): io.flow.crypto.v0.enums.PaymentStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'cancelled']),
|
|
2856
3213
|
'io.flow.crypto.v0.enums.reason_type': (): io.flow.crypto.v0.enums.ReasonType => faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']),
|
|
@@ -6646,6 +7003,8 @@ const factories = {
|
|
|
6646
7003
|
'prr-74e1320efb7741cf9ace400b69800f9b',
|
|
6647
7004
|
]),
|
|
6648
7005
|
|
|
7006
|
+
'io.flow.internal.v0.enums.b2b_tax_ledger_document_type': (): io.flow.internal.v0.enums.B2BTaxLedgerDocumentType => faker.helpers.arrayElement(['b2b_invoice', 'b2b_credit_memo']),
|
|
7007
|
+
'io.flow.internal.v0.enums.b2b_tax_rate_type': (): io.flow.internal.v0.enums.B2BTaxRateType => faker.helpers.arrayElement(['basic', 'preferential', 'exempt']),
|
|
6649
7008
|
'io.flow.internal.v0.enums.bank_account_status': (): io.flow.internal.v0.enums.BankAccountStatus => faker.helpers.arrayElement(['on_hold', 'not_on_hold']),
|
|
6650
7009
|
'io.flow.internal.v0.enums.bank_payment_promise_completed_method': (): io.flow.internal.v0.enums.BankPaymentPromiseCompletedMethod => faker.helpers.arrayElement(['credit', 'time']),
|
|
6651
7010
|
'io.flow.internal.v0.enums.bank_payment_status_code': (): io.flow.internal.v0.enums.BankPaymentStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'failed']),
|
|
@@ -6925,6 +7284,8 @@ const factories = {
|
|
|
6925
7284
|
'merchant_fee',
|
|
6926
7285
|
'merchant_payout',
|
|
6927
7286
|
'merchant_refund',
|
|
7287
|
+
'b2b_tax',
|
|
7288
|
+
'b2b_tax_refund',
|
|
6928
7289
|
]),
|
|
6929
7290
|
|
|
6930
7291
|
'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']),
|
|
@@ -6976,6 +7337,7 @@ const factories = {
|
|
|
6976
7337
|
'unsupported_virtual_goods',
|
|
6977
7338
|
'non_matching_currencies',
|
|
6978
7339
|
'unsupported_order_edit',
|
|
7340
|
+
'order_allocation_duties_mismatch',
|
|
6979
7341
|
'order_missing',
|
|
6980
7342
|
]),
|
|
6981
7343
|
|
|
@@ -7006,6 +7368,8 @@ const factories = {
|
|
|
7006
7368
|
'additional_handling',
|
|
7007
7369
|
'large_package_surcharge',
|
|
7008
7370
|
'peak_surcharge',
|
|
7371
|
+
'fuel_surcharge',
|
|
7372
|
+
'delivery_area_surcharge',
|
|
7009
7373
|
]),
|
|
7010
7374
|
|
|
7011
7375
|
'io.flow.internal.v0.enums.chargeback_payment_status': (): io.flow.internal.v0.enums.ChargebackPaymentStatus => faker.helpers.arrayElement(['captured', 'refunded']),
|
|
@@ -7016,7 +7380,8 @@ const factories = {
|
|
|
7016
7380
|
'io.flow.internal.v0.enums.checkout_url_type': (): io.flow.internal.v0.enums.CheckoutUrlType => faker.helpers.arrayElement(['continue_shopping', 'confirmation', 'invalid_checkout']),
|
|
7017
7381
|
'io.flow.internal.v0.enums.classification_decision': (): io.flow.internal.v0.enums.ClassificationDecision => faker.helpers.arrayElement(['Accept', 'Reject']),
|
|
7018
7382
|
'io.flow.internal.v0.enums.classification_error_code': (): io.flow.internal.v0.enums.ClassificationErrorCode => faker.helpers.arrayElement(['generic_error']),
|
|
7019
|
-
'io.flow.internal.v0.enums.
|
|
7383
|
+
'io.flow.internal.v0.enums.classification_failure_reason': (): io.flow.internal.v0.enums.ClassificationFailureReason => faker.helpers.arrayElement(['low_confidence', 'timeout']),
|
|
7384
|
+
'io.flow.internal.v0.enums.classification_platform': (): io.flow.internal.v0.enums.ClassificationPlatform => faker.helpers.arrayElement(['GlobalE', 'Flow', 'FlowOnboarding', 'Borderfree']),
|
|
7020
7385
|
'io.flow.internal.v0.enums.classification_scope': (): io.flow.internal.v0.enums.ClassificationScope => faker.helpers.arrayElement(['Item', 'Product']),
|
|
7021
7386
|
'io.flow.internal.v0.enums.classification_type': (): io.flow.internal.v0.enums.ClassificationType => faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']),
|
|
7022
7387
|
'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']),
|
|
@@ -7198,8 +7563,6 @@ const factories = {
|
|
|
7198
7563
|
'export_failed',
|
|
7199
7564
|
'feature_upserted',
|
|
7200
7565
|
'feature_deleted',
|
|
7201
|
-
'organization_boolean_value_upserted',
|
|
7202
|
-
'organization_boolean_value_deleted',
|
|
7203
7566
|
'account_settings_upserted',
|
|
7204
7567
|
'account_settings_deleted',
|
|
7205
7568
|
'account_processing_rates_upserted',
|
|
@@ -7435,6 +7798,22 @@ const factories = {
|
|
|
7435
7798
|
'stripe_connect_report_record_deleted',
|
|
7436
7799
|
'liability_remittance_plan_upserted',
|
|
7437
7800
|
'liability_remittance_plan_deleted',
|
|
7801
|
+
'anirban_item_upserted',
|
|
7802
|
+
'anirban_item_deleted',
|
|
7803
|
+
'sarvesh_item_upserted',
|
|
7804
|
+
'sarvesh_item_deleted',
|
|
7805
|
+
'hosein_item_upserted',
|
|
7806
|
+
'hosein_item_deleted',
|
|
7807
|
+
'niall_item_upserted',
|
|
7808
|
+
'niall_item_deleted',
|
|
7809
|
+
'rohan_item_upserted',
|
|
7810
|
+
'rohan_item_deleted',
|
|
7811
|
+
'aldo_item_upserted',
|
|
7812
|
+
'aldo_item_deleted',
|
|
7813
|
+
'ansh_item_upserted',
|
|
7814
|
+
'ansh_item_deleted',
|
|
7815
|
+
'gabriel_item_upserted',
|
|
7816
|
+
'gabriel_item_deleted',
|
|
7438
7817
|
'tracking_processing_error_upserted',
|
|
7439
7818
|
'tracking_processing_error_deleted',
|
|
7440
7819
|
'tracking_label_event_upserted_v2',
|
|
@@ -7469,6 +7848,7 @@ const factories = {
|
|
|
7469
7848
|
'io.flow.internal.v0.enums.fraud_provider': (): io.flow.internal.v0.enums.FraudProvider => faker.helpers.arrayElement(['flow', 'forter', 'paypal', 'riskified', 'rps', 'other', 'none']),
|
|
7470
7849
|
'io.flow.internal.v0.enums.fraud_provider_status': (): io.flow.internal.v0.enums.FraudProviderStatus => faker.helpers.arrayElement(['active', 'archived']),
|
|
7471
7850
|
'io.flow.internal.v0.enums.fraud_review_responsible_party': (): io.flow.internal.v0.enums.FraudReviewResponsibleParty => faker.helpers.arrayElement(['flow', 'organization']),
|
|
7851
|
+
'io.flow.internal.v0.enums.gabriel_item_type': (): io.flow.internal.v0.enums.GabrielItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7472
7852
|
'io.flow.internal.v0.enums.ge_ingestion_file_status': (): io.flow.internal.v0.enums.GeIngestionFileStatus => faker.helpers.arrayElement(['pending', 'processed']),
|
|
7473
7853
|
'io.flow.internal.v0.enums.ge_revenue_share_transaction_type': (): io.flow.internal.v0.enums.GeRevenueShareTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'revenue_share']),
|
|
7474
7854
|
'io.flow.internal.v0.enums.google_analytics_plugin': (): io.flow.internal.v0.enums.GoogleAnalyticsPlugin => faker.helpers.arrayElement(['ec']),
|
|
@@ -7488,6 +7868,7 @@ const factories = {
|
|
|
7488
7868
|
|
|
7489
7869
|
'io.flow.internal.v0.enums.harmonization_decision_source': (): io.flow.internal.v0.enums.HarmonizationDecisionSource => faker.helpers.arrayElement(['human', 'system', 'legacy_model', 'enterprise_model', 'merchant']),
|
|
7490
7870
|
'io.flow.internal.v0.enums.hosein_item_type': (): io.flow.internal.v0.enums.HoseinItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7871
|
+
'io.flow.internal.v0.enums.hs6_code_source': (): io.flow.internal.v0.enums.Hs6CodeSource => faker.helpers.arrayElement(['sellability', 'classification', 'human']),
|
|
7491
7872
|
'io.flow.internal.v0.enums.http_method': (): io.flow.internal.v0.enums.HttpMethod => faker.helpers.arrayElement(['get', 'post']),
|
|
7492
7873
|
'io.flow.internal.v0.enums.internal_payment_entity_type': (): io.flow.internal.v0.enums.InternalPaymentEntityType => faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'dispute']),
|
|
7493
7874
|
'io.flow.internal.v0.enums.item_classification_action': (): io.flow.internal.v0.enums.ItemClassificationAction => faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']),
|
|
@@ -7533,6 +7914,8 @@ const factories = {
|
|
|
7533
7914
|
'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']),
|
|
7534
7915
|
'io.flow.internal.v0.enums.label_request_result_state': (): io.flow.internal.v0.enums.LabelRequestResultState => faker.helpers.arrayElement(['success', 'failure']),
|
|
7535
7916
|
'io.flow.internal.v0.enums.label_transaction_type': (): io.flow.internal.v0.enums.LabelTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'billable_label', 'fee', 'revenue_share']),
|
|
7917
|
+
'io.flow.internal.v0.enums.ledger_report_type': (): io.flow.internal.v0.enums.LedgerReportType => faker.helpers.arrayElement(['periodic_mor_jurisdiction_report']),
|
|
7918
|
+
'io.flow.internal.v0.enums.ledger_report_url_type': (): io.flow.internal.v0.enums.LedgerReportUrlType => faker.helpers.arrayElement(['sharepoint', 's3']),
|
|
7536
7919
|
|
|
7537
7920
|
'io.flow.internal.v0.enums.liability_type': (): io.flow.internal.v0.enums.LiabilityType => faker.helpers.arrayElement(
|
|
7538
7921
|
['full_value_tax', 'low_value_goods_tax', 'high_value_goods_tax', 'duties'],
|
|
@@ -7568,6 +7951,12 @@ const factories = {
|
|
|
7568
7951
|
'global_e_united_kingdom',
|
|
7569
7952
|
'global_e_canada',
|
|
7570
7953
|
'global_e_netherlands',
|
|
7954
|
+
'uk_global_e_canada',
|
|
7955
|
+
'uk_global_e_netherlands',
|
|
7956
|
+
'uk_global_e_united_states',
|
|
7957
|
+
'ca_global_e_united_kingdom',
|
|
7958
|
+
'ca_global_e_netherlands',
|
|
7959
|
+
'ca_global_e_united_states',
|
|
7571
7960
|
]),
|
|
7572
7961
|
|
|
7573
7962
|
'io.flow.internal.v0.enums.merchant_override_status': (): io.flow.internal.v0.enums.MerchantOverrideStatus => faker.helpers.arrayElement(['pending', 'in_review', 'accepted', 'rejected']),
|
|
@@ -7609,7 +7998,6 @@ const factories = {
|
|
|
7609
7998
|
'fraud',
|
|
7610
7999
|
'logistics',
|
|
7611
8000
|
'payments',
|
|
7612
|
-
'shopify_markets',
|
|
7613
8001
|
'integration_partner',
|
|
7614
8002
|
'dtce',
|
|
7615
8003
|
'restrictions',
|
|
@@ -7671,7 +8059,7 @@ const factories = {
|
|
|
7671
8059
|
'io.flow.internal.v0.enums.organization_restriction_review_type': (): io.flow.internal.v0.enums.OrganizationRestrictionReviewType => faker.helpers.arrayElement(['all_pending', 'pending_verification']),
|
|
7672
8060
|
'io.flow.internal.v0.enums.organization_restriction_risk_level': (): io.flow.internal.v0.enums.OrganizationRestrictionRiskLevel => faker.helpers.arrayElement(['5', '15']),
|
|
7673
8061
|
'io.flow.internal.v0.enums.organization_restriction_screening_status': (): io.flow.internal.v0.enums.OrganizationRestrictionScreeningStatus => faker.helpers.arrayElement(['in_review', 'fully_reviewed', 'rejected', 'unscreened']),
|
|
7674
|
-
'io.flow.internal.v0.enums.organization_source': (): io.flow.internal.v0.enums.OrganizationSource => faker.helpers.arrayElement(['
|
|
8062
|
+
'io.flow.internal.v0.enums.organization_source': (): io.flow.internal.v0.enums.OrganizationSource => faker.helpers.arrayElement(['smb', 'enterprise']),
|
|
7675
8063
|
'io.flow.internal.v0.enums.output_style': (): io.flow.internal.v0.enums.OutputStyle => faker.helpers.arrayElement(['flow', 'shopify_p1']),
|
|
7676
8064
|
'io.flow.internal.v0.enums.owner': (): io.flow.internal.v0.enums.Owner => faker.helpers.arrayElement(['flow', 'organization']),
|
|
7677
8065
|
'io.flow.internal.v0.enums.payment_short_url_discriminator': (): io.flow.internal.v0.enums.PaymentShortUrlDiscriminator => faker.helpers.arrayElement(['adyen_3ds2']),
|
|
@@ -7694,6 +8082,10 @@ const factories = {
|
|
|
7694
8082
|
'io.flow.internal.v0.enums.pending_record_type': (): io.flow.internal.v0.enums.PendingRecordType => faker.helpers.arrayElement(['verification', 'classification', 'restriction']),
|
|
7695
8083
|
'io.flow.internal.v0.enums.prateek_item_type': (): io.flow.internal.v0.enums.PrateekItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7696
8084
|
'io.flow.internal.v0.enums.preferred_billing_schedule': (): io.flow.internal.v0.enums.PreferredBillingSchedule => faker.helpers.arrayElement(['monthly', 'bi-monthly']),
|
|
8085
|
+
'io.flow.internal.v0.enums.preonboarding_classification_decision': (): io.flow.internal.v0.enums.PreonboardingClassificationDecision => faker.helpers.arrayElement(['Accept', 'Reject']),
|
|
8086
|
+
'io.flow.internal.v0.enums.preonboarding_classification_platform': (): io.flow.internal.v0.enums.PreonboardingClassificationPlatform => faker.helpers.arrayElement(['FlowOnboarding']),
|
|
8087
|
+
'io.flow.internal.v0.enums.preonboarding_classification_type': (): io.flow.internal.v0.enums.PreonboardingClassificationType => faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']),
|
|
8088
|
+
'io.flow.internal.v0.enums.preonboarding_request_status': (): io.flow.internal.v0.enums.PreonboardingRequestStatus => faker.helpers.arrayElement(['pending', 'completed', 'failed', 'discarded']),
|
|
7697
8089
|
'io.flow.internal.v0.enums.price_selector': (): io.flow.internal.v0.enums.PriceSelector => faker.helpers.arrayElement(['minimum', 'maximum']),
|
|
7698
8090
|
|
|
7699
8091
|
'io.flow.internal.v0.enums.processing_transaction_type': (): io.flow.internal.v0.enums.ProcessingTransactionType => faker.helpers.arrayElement([
|
|
@@ -7752,6 +8144,7 @@ const factories = {
|
|
|
7752
8144
|
'trueup_overview',
|
|
7753
8145
|
'non_channel_payment_bank_account',
|
|
7754
8146
|
'scheduled_payment',
|
|
8147
|
+
'scheduled_payment_citi',
|
|
7755
8148
|
'account_quarterly_balances',
|
|
7756
8149
|
'invariants',
|
|
7757
8150
|
'payments',
|
|
@@ -7781,8 +8174,16 @@ const factories = {
|
|
|
7781
8174
|
),
|
|
7782
8175
|
|
|
7783
8176
|
'io.flow.internal.v0.enums.restriction_decision': (): io.flow.internal.v0.enums.RestrictionDecision => faker.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']),
|
|
7784
|
-
|
|
7785
|
-
'io.flow.internal.v0.enums.
|
|
8177
|
+
|
|
8178
|
+
'io.flow.internal.v0.enums.restriction_organization_channel': (): io.flow.internal.v0.enums.RestrictionOrganizationChannel => faker.helpers.arrayElement([
|
|
8179
|
+
'shopify',
|
|
8180
|
+
'enterprise',
|
|
8181
|
+
'shopify-sandbox',
|
|
8182
|
+
'enterprise-sandbox',
|
|
8183
|
+
'enterprise-qa',
|
|
8184
|
+
]),
|
|
8185
|
+
|
|
8186
|
+
'io.flow.internal.v0.enums.restriction_organization_source': (): io.flow.internal.v0.enums.RestrictionOrganizationSource => faker.helpers.arrayElement(['smb', 'enterprise']),
|
|
7786
8187
|
'io.flow.internal.v0.enums.restriction_rule_activation_status': (): io.flow.internal.v0.enums.RestrictionRuleActivationStatus => faker.helpers.arrayElement(['draft', 'active', 'inactive']),
|
|
7787
8188
|
'io.flow.internal.v0.enums.restriction_rule_community_exemption': (): io.flow.internal.v0.enums.RestrictionRuleCommunityExemption => faker.helpers.arrayElement(['domestic_exemption', 'intra_eu_exemption']),
|
|
7788
8189
|
'io.flow.internal.v0.enums.restriction_rule_exception_action': (): io.flow.internal.v0.enums.RestrictionRuleExceptionAction => faker.helpers.arrayElement(['allow', 'deny']),
|
|
@@ -7889,6 +8290,7 @@ const factories = {
|
|
|
7889
8290
|
'payment',
|
|
7890
8291
|
'rate_levels',
|
|
7891
8292
|
'center_defaults',
|
|
8293
|
+
'item_dimensions',
|
|
7892
8294
|
]),
|
|
7893
8295
|
|
|
7894
8296
|
'io.flow.internal.v0.enums.tax_and_duty_inclusivity_setting': (): io.flow.internal.v0.enums.TaxAndDutyInclusivitySetting => faker.helpers.arrayElement([
|
|
@@ -8636,6 +9038,13 @@ const factories = {
|
|
|
8636
9038
|
added_on: factories.date_iso_8601(),
|
|
8637
9039
|
}),
|
|
8638
9040
|
|
|
9041
|
+
'io.flow.internal.v0.models.aldo_item_deleted': (): io.flow.internal.v0.models.AldoItemDeleted => ({
|
|
9042
|
+
discriminator: 'aldo_item_deleted',
|
|
9043
|
+
event_id: factories.string(),
|
|
9044
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9045
|
+
id: factories.string(),
|
|
9046
|
+
}),
|
|
9047
|
+
|
|
8639
9048
|
'io.flow.internal.v0.models.aldo_item_form': (): io.flow.internal.v0.models.AldoItemForm => ({
|
|
8640
9049
|
number: factories.string(),
|
|
8641
9050
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8644,6 +9053,13 @@ const factories = {
|
|
|
8644
9053
|
added_on: factories.date_iso_8601(),
|
|
8645
9054
|
}),
|
|
8646
9055
|
|
|
9056
|
+
'io.flow.internal.v0.models.aldo_item_upserted': (): io.flow.internal.v0.models.AldoItemUpserted => ({
|
|
9057
|
+
discriminator: 'aldo_item_upserted',
|
|
9058
|
+
event_id: factories.string(),
|
|
9059
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9060
|
+
item: factories['io.flow.internal.v0.models.aldo_item'](),
|
|
9061
|
+
}),
|
|
9062
|
+
|
|
8647
9063
|
'io.flow.internal.v0.models.all_items_export': (): io.flow.internal.v0.models.AllItemsExport => ({
|
|
8648
9064
|
discriminator: 'all_items_export',
|
|
8649
9065
|
event_id: factories.string(),
|
|
@@ -8675,6 +9091,13 @@ const factories = {
|
|
|
8675
9091
|
added_on: factories.date_time_iso_8601(),
|
|
8676
9092
|
}),
|
|
8677
9093
|
|
|
9094
|
+
'io.flow.internal.v0.models.anirban_item_deleted': (): io.flow.internal.v0.models.AnirbanItemDeleted => ({
|
|
9095
|
+
discriminator: 'anirban_item_deleted',
|
|
9096
|
+
event_id: factories.string(),
|
|
9097
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9098
|
+
id: factories.string(),
|
|
9099
|
+
}),
|
|
9100
|
+
|
|
8678
9101
|
'io.flow.internal.v0.models.anirban_item_form': (): io.flow.internal.v0.models.AnirbanItemForm => ({
|
|
8679
9102
|
number: factories.string(),
|
|
8680
9103
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8683,6 +9106,13 @@ const factories = {
|
|
|
8683
9106
|
added_on: factories.date_time_iso_8601(),
|
|
8684
9107
|
}),
|
|
8685
9108
|
|
|
9109
|
+
'io.flow.internal.v0.models.anirban_item_upserted': (): io.flow.internal.v0.models.AnirbanItemUpserted => ({
|
|
9110
|
+
discriminator: 'anirban_item_upserted',
|
|
9111
|
+
event_id: factories.string(),
|
|
9112
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9113
|
+
item: factories['io.flow.internal.v0.models.anirban_item'](),
|
|
9114
|
+
}),
|
|
9115
|
+
|
|
8686
9116
|
'io.flow.internal.v0.models.ansh_item': (): io.flow.internal.v0.models.AnshItem => ({
|
|
8687
9117
|
id: factories.string(),
|
|
8688
9118
|
number: factories.string(),
|
|
@@ -8692,6 +9122,13 @@ const factories = {
|
|
|
8692
9122
|
added_on: factories.date_iso_8601(),
|
|
8693
9123
|
}),
|
|
8694
9124
|
|
|
9125
|
+
'io.flow.internal.v0.models.ansh_item_deleted': (): io.flow.internal.v0.models.AnshItemDeleted => ({
|
|
9126
|
+
discriminator: 'ansh_item_deleted',
|
|
9127
|
+
event_id: factories.string(),
|
|
9128
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9129
|
+
id: factories.string(),
|
|
9130
|
+
}),
|
|
9131
|
+
|
|
8695
9132
|
'io.flow.internal.v0.models.ansh_item_form': (): io.flow.internal.v0.models.AnshItemForm => ({
|
|
8696
9133
|
number: factories.string(),
|
|
8697
9134
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8700,6 +9137,13 @@ const factories = {
|
|
|
8700
9137
|
added_on: factories.date_iso_8601(),
|
|
8701
9138
|
}),
|
|
8702
9139
|
|
|
9140
|
+
'io.flow.internal.v0.models.ansh_item_upserted': (): io.flow.internal.v0.models.AnshItemUpserted => ({
|
|
9141
|
+
discriminator: 'ansh_item_upserted',
|
|
9142
|
+
event_id: factories.string(),
|
|
9143
|
+
timestamp: factories.date_time_iso_8601(),
|
|
9144
|
+
item: factories['io.flow.internal.v0.models.ansh_item'](),
|
|
9145
|
+
}),
|
|
9146
|
+
|
|
8703
9147
|
'io.flow.internal.v0.models.apple_pay_authorization_payload': (): io.flow.internal.v0.models.ApplePayAuthorizationPayload => ({
|
|
8704
9148
|
discriminator: 'apple_pay_authorization_payload',
|
|
8705
9149
|
apple_pay_token: factories.string(),
|
|
@@ -8725,6 +9169,7 @@ const factories = {
|
|
|
8725
9169
|
'io.flow.internal.v0.models.attribute_rule': (): io.flow.internal.v0.models.AttributeRule => ({
|
|
8726
9170
|
restriction_attribute_rules: arrayOf(() => factories['io.flow.internal.v0.models.restriction_attribute_rule']()),
|
|
8727
9171
|
default_result: factories['io.flow.internal.v0.enums.restriction_attribute_result'](),
|
|
9172
|
+
require_msds: factories.boolean(),
|
|
8728
9173
|
}),
|
|
8729
9174
|
|
|
8730
9175
|
'io.flow.internal.v0.models.authentication_form': (): io.flow.internal.v0.models.AuthenticationForm => ({
|
|
@@ -8805,6 +9250,43 @@ const factories = {
|
|
|
8805
9250
|
action: factories['io.flow.internal.v0.enums.restriction_status'](),
|
|
8806
9251
|
}),
|
|
8807
9252
|
|
|
9253
|
+
'io.flow.internal.v0.models.b2b_tax_ledger': (): io.flow.internal.v0.models.B2BTaxLedger => ({
|
|
9254
|
+
id: factories.string(),
|
|
9255
|
+
total_amount: factories['io.flow.internal.v0.models.tax_type_total'](),
|
|
9256
|
+
tax_amount: factories['io.flow.common.v0.models.money'](),
|
|
9257
|
+
tax_type: factories['io.flow.consumer.invoice.v0.enums.tax_type'](),
|
|
9258
|
+
tax_rate: factories.decimal(),
|
|
9259
|
+
tax_rate_type: factories['io.flow.internal.v0.enums.b2b_tax_rate_type'](),
|
|
9260
|
+
organization_id: factories.string(),
|
|
9261
|
+
organization_country: factories.string(),
|
|
9262
|
+
organization_province: factories.string(),
|
|
9263
|
+
mor_tax_number: factories.string(),
|
|
9264
|
+
mor_country: factories.string(),
|
|
9265
|
+
mor_province: factories.string(),
|
|
9266
|
+
document_id: factories.string(),
|
|
9267
|
+
document_type: factories['io.flow.internal.v0.enums.b2b_tax_ledger_document_type'](),
|
|
9268
|
+
document_date: factories.date_time_iso_8601(),
|
|
9269
|
+
ledger_report_id: factories.string(),
|
|
9270
|
+
}),
|
|
9271
|
+
|
|
9272
|
+
'io.flow.internal.v0.models.b2b_tax_ledger_form': (): io.flow.internal.v0.models.B2BTaxLedgerForm => ({
|
|
9273
|
+
total_amount: factories['io.flow.internal.v0.models.tax_type_total'](),
|
|
9274
|
+
tax_amount: factories['io.flow.common.v0.models.money'](),
|
|
9275
|
+
tax_type: factories['io.flow.consumer.invoice.v0.enums.tax_type'](),
|
|
9276
|
+
tax_rate: factories.decimal(),
|
|
9277
|
+
tax_rate_type: factories['io.flow.internal.v0.enums.b2b_tax_rate_type'](),
|
|
9278
|
+
organization_id: factories.string(),
|
|
9279
|
+
organization_country: factories.string(),
|
|
9280
|
+
organization_province: factories.string(),
|
|
9281
|
+
mor_tax_number: factories.string(),
|
|
9282
|
+
mor_country: factories.string(),
|
|
9283
|
+
mor_province: factories.string(),
|
|
9284
|
+
document_id: factories.string(),
|
|
9285
|
+
document_type: factories['io.flow.internal.v0.enums.b2b_tax_ledger_document_type'](),
|
|
9286
|
+
document_date: factories.date_time_iso_8601(),
|
|
9287
|
+
ledger_report_id: factories.string(),
|
|
9288
|
+
}),
|
|
9289
|
+
|
|
8808
9290
|
'io.flow.internal.v0.models.bank_account': (): io.flow.internal.v0.models.BankAccount => ({
|
|
8809
9291
|
status: factories['io.flow.internal.v0.enums.bank_account_status'](),
|
|
8810
9292
|
hold_created_at: factories.date_time_iso_8601(),
|
|
@@ -9119,6 +9601,8 @@ const factories = {
|
|
|
9119
9601
|
non_l4l_tax_duty_fx: factories['io.flow.common.v0.models.price'](),
|
|
9120
9602
|
ending_balance: factories['io.flow.common.v0.models.price'](),
|
|
9121
9603
|
tax_refund: factories['io.flow.common.v0.models.price'](),
|
|
9604
|
+
b2b_tax: factories['io.flow.common.v0.models.price'](),
|
|
9605
|
+
b2b_tax_refund: factories['io.flow.common.v0.models.price'](),
|
|
9122
9606
|
}),
|
|
9123
9607
|
|
|
9124
9608
|
'io.flow.internal.v0.models.billing_statement_upserted': (): io.flow.internal.v0.models.BillingStatementUpserted => ({
|
|
@@ -9239,6 +9723,10 @@ const factories = {
|
|
|
9239
9723
|
next_action_from: factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](),
|
|
9240
9724
|
}),
|
|
9241
9725
|
|
|
9726
|
+
'io.flow.internal.v0.models.cafe24_markets_webhook': (): io.flow.internal.v0.models.Cafe24MarketsWebhook => ({
|
|
9727
|
+
placeholder: factories.json(),
|
|
9728
|
+
}),
|
|
9729
|
+
|
|
9242
9730
|
'io.flow.internal.v0.models.calculated_tax_amount': (): io.flow.internal.v0.models.CalculatedTaxAmount => ({
|
|
9243
9731
|
discriminator: 'calculated_tax_amount',
|
|
9244
9732
|
amount: factories.decimal(),
|
|
@@ -9853,6 +10341,7 @@ const factories = {
|
|
|
9853
10341
|
order_updated_at: factories.date_time_iso_8601(),
|
|
9854
10342
|
order_edit_summary: factories['io.flow.internal.v0.models.order_edit_summary'](),
|
|
9855
10343
|
payment_source: factories['io.flow.internal.v0.enums.order_payment_source_type'](),
|
|
10344
|
+
external_order_summary: factories['io.flow.channel.shopify.v0.models.external_order_summary'](),
|
|
9856
10345
|
}),
|
|
9857
10346
|
|
|
9858
10347
|
'io.flow.internal.v0.models.channel_order_acceptance_deleted': (): io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted => ({
|
|
@@ -9934,9 +10423,9 @@ const factories = {
|
|
|
9934
10423
|
channel_order_summary: factories['io.flow.internal.v0.models.channel_order_summary'](),
|
|
9935
10424
|
}),
|
|
9936
10425
|
|
|
9937
|
-
'io.flow.internal.v0.models.
|
|
10426
|
+
'io.flow.internal.v0.models.channel_organization_domains': (): io.flow.internal.v0.models.ChannelOrganizationDomains => ({
|
|
9938
10427
|
internal: factories.string(),
|
|
9939
|
-
|
|
10428
|
+
external: factories.string(),
|
|
9940
10429
|
}),
|
|
9941
10430
|
|
|
9942
10431
|
'io.flow.internal.v0.models.channel_organization_identifier': (): io.flow.internal.v0.models.ChannelOrganizationIdentifier => ({
|
|
@@ -9972,7 +10461,7 @@ const factories = {
|
|
|
9972
10461
|
}),
|
|
9973
10462
|
|
|
9974
10463
|
'io.flow.internal.v0.models.channel_organization_metadata': (): io.flow.internal.v0.models.ChannelOrganizationMetadata => ({
|
|
9975
|
-
domain: factories['io.flow.internal.v0.models.
|
|
10464
|
+
domain: factories['io.flow.internal.v0.models.channel_organization_domains'](),
|
|
9976
10465
|
token: factories.string(),
|
|
9977
10466
|
}),
|
|
9978
10467
|
|
|
@@ -10037,6 +10526,23 @@ const factories = {
|
|
|
10037
10526
|
timestamp: factories.date_time_iso_8601(),
|
|
10038
10527
|
}),
|
|
10039
10528
|
|
|
10529
|
+
'io.flow.internal.v0.models.channel_shop': (): io.flow.internal.v0.models.ChannelShop => ({
|
|
10530
|
+
id: factories.string(),
|
|
10531
|
+
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
10532
|
+
channel: factories['io.flow.common.v0.models.channel_reference'](),
|
|
10533
|
+
external_id: factories.string(),
|
|
10534
|
+
name: factories.string(),
|
|
10535
|
+
domains: factories['io.flow.internal.v0.models.channel_organization_domains'](),
|
|
10536
|
+
}),
|
|
10537
|
+
|
|
10538
|
+
'io.flow.internal.v0.models.channel_shop_form': (): io.flow.internal.v0.models.ChannelShopForm => ({
|
|
10539
|
+
channel_id: factories.string(),
|
|
10540
|
+
external_id: factories.string(),
|
|
10541
|
+
name: factories.string(),
|
|
10542
|
+
domains: factories['io.flow.internal.v0.models.channel_organization_domains'](),
|
|
10543
|
+
tokens: factories['io.flow.internal.v0.models.tokens'](),
|
|
10544
|
+
}),
|
|
10545
|
+
|
|
10040
10546
|
'io.flow.internal.v0.models.channel_transaction': (): io.flow.internal.v0.models.ChannelTransaction => ({
|
|
10041
10547
|
discriminator: 'channel_transaction',
|
|
10042
10548
|
transaction: factories['io.flow.internal.v0.models.transaction_reference'](),
|
|
@@ -11763,10 +12269,6 @@ const factories = {
|
|
|
11763
12269
|
region: factories.string(),
|
|
11764
12270
|
}),
|
|
11765
12271
|
|
|
11766
|
-
'io.flow.internal.v0.models.feature_id_reference': (): io.flow.internal.v0.models.FeatureIdReference => ({
|
|
11767
|
-
id: factories.string(),
|
|
11768
|
-
}),
|
|
11769
|
-
|
|
11770
12272
|
'io.flow.internal.v0.models.feature_reference': (): io.flow.internal.v0.models.FeatureReference => ({
|
|
11771
12273
|
id: factories.string(),
|
|
11772
12274
|
key: factories.string(),
|
|
@@ -12471,6 +12973,7 @@ const factories = {
|
|
|
12471
12973
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
12472
12974
|
sequence_number: factories.long(),
|
|
12473
12975
|
completes_order: factories.boolean(),
|
|
12976
|
+
trigger: factories['io.flow.internal.v0.unions.fulfillment_trigger'](),
|
|
12474
12977
|
}),
|
|
12475
12978
|
|
|
12476
12979
|
'io.flow.internal.v0.models.fulfillment_status_upserted': (): io.flow.internal.v0.models.FulfillmentStatusUpserted => ({
|
|
@@ -12553,6 +13056,37 @@ const factories = {
|
|
|
12553
13056
|
transaction_created_at: factories.date_time_iso_8601(),
|
|
12554
13057
|
}),
|
|
12555
13058
|
|
|
13059
|
+
'io.flow.internal.v0.models.gabriel_item': (): io.flow.internal.v0.models.GabrielItem => ({
|
|
13060
|
+
id: factories.string(),
|
|
13061
|
+
number: factories.string(),
|
|
13062
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
13063
|
+
description: factories.string(),
|
|
13064
|
+
type: factories['io.flow.internal.v0.enums.gabriel_item_type'](),
|
|
13065
|
+
added_on: factories.date_iso_8601(),
|
|
13066
|
+
}),
|
|
13067
|
+
|
|
13068
|
+
'io.flow.internal.v0.models.gabriel_item_deleted': (): io.flow.internal.v0.models.GabrielItemDeleted => ({
|
|
13069
|
+
discriminator: 'gabriel_item_deleted',
|
|
13070
|
+
event_id: factories.string(),
|
|
13071
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13072
|
+
id: factories.string(),
|
|
13073
|
+
}),
|
|
13074
|
+
|
|
13075
|
+
'io.flow.internal.v0.models.gabriel_item_form': (): io.flow.internal.v0.models.GabrielItemForm => ({
|
|
13076
|
+
number: factories.string(),
|
|
13077
|
+
amount: factories['io.flow.common.v0.models.price'](),
|
|
13078
|
+
description: factories.string(),
|
|
13079
|
+
type: factories['io.flow.internal.v0.enums.gabriel_item_type'](),
|
|
13080
|
+
added_on: factories.date_iso_8601(),
|
|
13081
|
+
}),
|
|
13082
|
+
|
|
13083
|
+
'io.flow.internal.v0.models.gabriel_item_upserted': (): io.flow.internal.v0.models.GabrielItemUpserted => ({
|
|
13084
|
+
discriminator: 'gabriel_item_upserted',
|
|
13085
|
+
event_id: factories.string(),
|
|
13086
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13087
|
+
item: factories['io.flow.internal.v0.models.gabriel_item'](),
|
|
13088
|
+
}),
|
|
13089
|
+
|
|
12556
13090
|
'io.flow.internal.v0.models.ge_revenue_share_transaction': (): io.flow.internal.v0.models.GeRevenueShareTransaction => ({
|
|
12557
13091
|
discriminator: 'ge_revenue_share_transaction',
|
|
12558
13092
|
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
@@ -12755,6 +13289,13 @@ const factories = {
|
|
|
12755
13289
|
added_on: factories.date_time_iso_8601(),
|
|
12756
13290
|
}),
|
|
12757
13291
|
|
|
13292
|
+
'io.flow.internal.v0.models.hosein_item_deleted': (): io.flow.internal.v0.models.HoseinItemDeleted => ({
|
|
13293
|
+
discriminator: 'hosein_item_deleted',
|
|
13294
|
+
event_id: factories.string(),
|
|
13295
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13296
|
+
id: factories.string(),
|
|
13297
|
+
}),
|
|
13298
|
+
|
|
12758
13299
|
'io.flow.internal.v0.models.hosein_item_form': (): io.flow.internal.v0.models.HoseinItemForm => ({
|
|
12759
13300
|
number: factories.string(),
|
|
12760
13301
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -12763,6 +13304,13 @@ const factories = {
|
|
|
12763
13304
|
added_on: factories.date_time_iso_8601(),
|
|
12764
13305
|
}),
|
|
12765
13306
|
|
|
13307
|
+
'io.flow.internal.v0.models.hosein_item_upserted': (): io.flow.internal.v0.models.HoseinItemUpserted => ({
|
|
13308
|
+
discriminator: 'hosein_item_upserted',
|
|
13309
|
+
event_id: factories.string(),
|
|
13310
|
+
timestamp: factories.date_time_iso_8601(),
|
|
13311
|
+
item: factories['io.flow.internal.v0.models.hosein_item'](),
|
|
13312
|
+
}),
|
|
13313
|
+
|
|
12766
13314
|
'io.flow.internal.v0.models.hs6': (): io.flow.internal.v0.models.Hs6 => ({
|
|
12767
13315
|
code: factories.string(),
|
|
12768
13316
|
description: factories.string(),
|
|
@@ -12991,8 +13539,6 @@ const factories = {
|
|
|
12991
13539
|
customs_value: factories.decimal(),
|
|
12992
13540
|
total_value: factories.decimal(),
|
|
12993
13541
|
usa_exporter_identifier_number_if_value_over_threshold: factories.string(),
|
|
12994
|
-
feature_israel_notes_import_duty_and_taxes_due: factories.boolean(),
|
|
12995
|
-
feature_new_export_declaration: factories.boolean(),
|
|
12996
13542
|
}),
|
|
12997
13543
|
|
|
12998
13544
|
'io.flow.internal.v0.models.invoice_data_line_item': (): io.flow.internal.v0.models.InvoiceDataLineItem => ({
|
|
@@ -13003,7 +13549,7 @@ const factories = {
|
|
|
13003
13549
|
tariff_code: factories.string(),
|
|
13004
13550
|
country_of_origin: factories.string(),
|
|
13005
13551
|
display_country_of_origin: factories.string(),
|
|
13006
|
-
|
|
13552
|
+
remitter: factories['io.flow.internal.v0.enums.tax_party'](),
|
|
13007
13553
|
gst_paid_text: factories.string(),
|
|
13008
13554
|
unit_price: factories.decimal(),
|
|
13009
13555
|
vat_price: factories.decimal(),
|
|
@@ -13487,6 +14033,8 @@ const factories = {
|
|
|
13487
14033
|
service_id: factories.string(),
|
|
13488
14034
|
errors: arrayOf(() => factories.string()),
|
|
13489
14035
|
direction: factories['io.flow.label.v0.enums.direction'](),
|
|
14036
|
+
origin: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
14037
|
+
destination: factories['io.flow.fulfillment.v0.models.shipping_address'](),
|
|
13490
14038
|
}),
|
|
13491
14039
|
|
|
13492
14040
|
'io.flow.internal.v0.models.label_request_error_deleted': (): io.flow.internal.v0.models.LabelRequestErrorDeleted => ({
|
|
@@ -13652,6 +14200,21 @@ const factories = {
|
|
|
13652
14200
|
errors: arrayOf(() => factories.string()),
|
|
13653
14201
|
}),
|
|
13654
14202
|
|
|
14203
|
+
'io.flow.internal.v0.models.ledger_report': (): io.flow.internal.v0.models.LedgerReport => ({
|
|
14204
|
+
id: factories.string(),
|
|
14205
|
+
mor_tax_number: factories.string(),
|
|
14206
|
+
jurisdiction: factories.string(),
|
|
14207
|
+
start_date: factories.date_iso_8601(),
|
|
14208
|
+
end_date: factories.date_iso_8601(),
|
|
14209
|
+
report_type: factories['io.flow.internal.v0.enums.ledger_report_type'](),
|
|
14210
|
+
urls: arrayOf(() => factories['io.flow.internal.v0.models.ledger_report_url']()),
|
|
14211
|
+
}),
|
|
14212
|
+
|
|
14213
|
+
'io.flow.internal.v0.models.ledger_report_url': (): io.flow.internal.v0.models.LedgerReportUrl => ({
|
|
14214
|
+
url: factories.string(),
|
|
14215
|
+
type: factories['io.flow.internal.v0.enums.ledger_report_url_type'](),
|
|
14216
|
+
}),
|
|
14217
|
+
|
|
13655
14218
|
'io.flow.internal.v0.models.levy_rate_summary': (): io.flow.internal.v0.models.LevyRateSummary => ({
|
|
13656
14219
|
id: factories.string(),
|
|
13657
14220
|
number: factories.string(),
|
|
@@ -14203,6 +14766,13 @@ const factories = {
|
|
|
14203
14766
|
added_on: factories.date_time_iso_8601(),
|
|
14204
14767
|
}),
|
|
14205
14768
|
|
|
14769
|
+
'io.flow.internal.v0.models.niall_item_deleted': (): io.flow.internal.v0.models.NiallItemDeleted => ({
|
|
14770
|
+
discriminator: 'niall_item_deleted',
|
|
14771
|
+
event_id: factories.string(),
|
|
14772
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14773
|
+
id: factories.string(),
|
|
14774
|
+
}),
|
|
14775
|
+
|
|
14206
14776
|
'io.flow.internal.v0.models.niall_item_form': (): io.flow.internal.v0.models.NiallItemForm => ({
|
|
14207
14777
|
number: factories.string(),
|
|
14208
14778
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -14211,6 +14781,13 @@ const factories = {
|
|
|
14211
14781
|
added_on: factories.date_time_iso_8601(),
|
|
14212
14782
|
}),
|
|
14213
14783
|
|
|
14784
|
+
'io.flow.internal.v0.models.niall_item_upserted': (): io.flow.internal.v0.models.NiallItemUpserted => ({
|
|
14785
|
+
discriminator: 'niall_item_upserted',
|
|
14786
|
+
event_id: factories.string(),
|
|
14787
|
+
timestamp: factories.date_time_iso_8601(),
|
|
14788
|
+
item: factories['io.flow.internal.v0.models.niall_item'](),
|
|
14789
|
+
}),
|
|
14790
|
+
|
|
14214
14791
|
'io.flow.internal.v0.models.no_calculated_tax_amount': (): io.flow.internal.v0.models.NoCalculatedTaxAmount => ({
|
|
14215
14792
|
discriminator: 'no_calculated_tax_amount',
|
|
14216
14793
|
amount: factories.decimal(),
|
|
@@ -14298,6 +14875,7 @@ const factories = {
|
|
|
14298
14875
|
health_score: factories.decimal(),
|
|
14299
14876
|
audit_result: factories['io.flow.internal.v0.enums.onboarding_audit_result'](),
|
|
14300
14877
|
blocked_since: factories.date_time_iso_8601(),
|
|
14878
|
+
onboarding_segment: factories.string(),
|
|
14301
14879
|
}),
|
|
14302
14880
|
|
|
14303
14881
|
'io.flow.internal.v0.models.onboarding_state_form': (): io.flow.internal.v0.models.OnboardingStateForm => ({
|
|
@@ -14752,27 +15330,6 @@ const factories = {
|
|
|
14752
15330
|
),
|
|
14753
15331
|
}),
|
|
14754
15332
|
|
|
14755
|
-
'io.flow.internal.v0.models.organization_boolean_value': (): io.flow.internal.v0.models.OrganizationBooleanValue => ({
|
|
14756
|
-
id: factories.string(),
|
|
14757
|
-
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
14758
|
-
feature: factories['io.flow.internal.v0.models.feature_id_reference'](),
|
|
14759
|
-
value: factories.boolean(),
|
|
14760
|
-
}),
|
|
14761
|
-
|
|
14762
|
-
'io.flow.internal.v0.models.organization_boolean_value_deleted': (): io.flow.internal.v0.models.OrganizationBooleanValueDeleted => ({
|
|
14763
|
-
discriminator: 'organization_boolean_value_deleted',
|
|
14764
|
-
event_id: factories.string(),
|
|
14765
|
-
timestamp: factories.date_time_iso_8601(),
|
|
14766
|
-
value: factories['io.flow.internal.v0.models.organization_boolean_value'](),
|
|
14767
|
-
}),
|
|
14768
|
-
|
|
14769
|
-
'io.flow.internal.v0.models.organization_boolean_value_upserted': (): io.flow.internal.v0.models.OrganizationBooleanValueUpserted => ({
|
|
14770
|
-
discriminator: 'organization_boolean_value_upserted',
|
|
14771
|
-
event_id: factories.string(),
|
|
14772
|
-
timestamp: factories.date_time_iso_8601(),
|
|
14773
|
-
value: factories['io.flow.internal.v0.models.organization_boolean_value'](),
|
|
14774
|
-
}),
|
|
14775
|
-
|
|
14776
15333
|
'io.flow.internal.v0.models.organization_business_entity': (): io.flow.internal.v0.models.OrganizationBusinessEntity => ({
|
|
14777
15334
|
id: factories.string(),
|
|
14778
15335
|
name: factories.string(),
|
|
@@ -15384,6 +15941,7 @@ const factories = {
|
|
|
15384
15941
|
'io.flow.internal.v0.models.payment_is': (): io.flow.internal.v0.models.PaymentIs => ({
|
|
15385
15942
|
lvg: factories.boolean(),
|
|
15386
15943
|
manual: factories.boolean(),
|
|
15944
|
+
managed_pricing: factories.boolean(),
|
|
15387
15945
|
}),
|
|
15388
15946
|
|
|
15389
15947
|
'io.flow.internal.v0.models.payment_method_detail': (): io.flow.internal.v0.models.PaymentMethodDetail => ({
|
|
@@ -15849,6 +16407,80 @@ const factories = {
|
|
|
15849
16407
|
item: factories.string(),
|
|
15850
16408
|
}),
|
|
15851
16409
|
|
|
16410
|
+
'io.flow.internal.v0.models.preonboarding_classification_rabbitmq_envelope': (): io.flow.internal.v0.models.PreonboardingClassificationRabbitmqEnvelope => ({
|
|
16411
|
+
messageType: arrayOf(() => factories.string()),
|
|
16412
|
+
message: factories['io.flow.internal.v0.models.preonboarding_classification_rabbitmq_message'](),
|
|
16413
|
+
}),
|
|
16414
|
+
|
|
16415
|
+
'io.flow.internal.v0.models.preonboarding_classification_rabbitmq_message': (): io.flow.internal.v0.models.PreonboardingClassificationRabbitmqMessage => ({
|
|
16416
|
+
MerchantId: factories.string(),
|
|
16417
|
+
ProductName: factories.string(),
|
|
16418
|
+
ProductDescription: factories.string(),
|
|
16419
|
+
ProductIdInternal: factories.string(),
|
|
16420
|
+
ProductIdExternal: factories.string(),
|
|
16421
|
+
ProductGroupCode: factories.string(),
|
|
16422
|
+
ProductUrl: factories.string(),
|
|
16423
|
+
ProductImage: factories.string(),
|
|
16424
|
+
ProductAttributes: objectOf(() => factories.string()),
|
|
16425
|
+
Categories: arrayOf(() => factories.string()),
|
|
16426
|
+
PlatformId: factories['io.flow.internal.v0.enums.preonboarding_classification_platform'](),
|
|
16427
|
+
}),
|
|
16428
|
+
|
|
16429
|
+
'io.flow.internal.v0.models.preonboarding_classification_request': (): io.flow.internal.v0.models.PreonboardingClassificationRequest => ({
|
|
16430
|
+
id: factories.string(),
|
|
16431
|
+
merchant_id: factories.string(),
|
|
16432
|
+
product_id: factories.string(),
|
|
16433
|
+
channel: factories.string(),
|
|
16434
|
+
request_id: factories.string(),
|
|
16435
|
+
status: factories['io.flow.internal.v0.enums.preonboarding_request_status'](),
|
|
16436
|
+
name: factories.string(),
|
|
16437
|
+
price: factories['io.flow.common.v0.models.money'](),
|
|
16438
|
+
description: factories.string(),
|
|
16439
|
+
relative_ranking: factories.integer(),
|
|
16440
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
16441
|
+
fingerprint: factories.string(),
|
|
16442
|
+
}),
|
|
16443
|
+
|
|
16444
|
+
'io.flow.internal.v0.models.preonboarding_classification_result': (): io.flow.internal.v0.models.PreonboardingClassificationResult => ({
|
|
16445
|
+
id: factories.string(),
|
|
16446
|
+
merchant_id: factories.string(),
|
|
16447
|
+
product_id: factories.string(),
|
|
16448
|
+
channel: factories.string(),
|
|
16449
|
+
hs6_code: factories.string(),
|
|
16450
|
+
probability: factories.integer(),
|
|
16451
|
+
classification_decision: factories['io.flow.internal.v0.enums.preonboarding_classification_decision'](),
|
|
16452
|
+
classification_type: factories['io.flow.internal.v0.enums.preonboarding_classification_type'](),
|
|
16453
|
+
}),
|
|
16454
|
+
|
|
16455
|
+
'io.flow.internal.v0.models.preonboarding_merchant': (): io.flow.internal.v0.models.PreonboardingMerchant => ({
|
|
16456
|
+
merchant_id: factories.string(),
|
|
16457
|
+
channel: factories.string(),
|
|
16458
|
+
catalog_size: factories.integer(),
|
|
16459
|
+
processed_product_count: factories.integer(),
|
|
16460
|
+
last_request: factories.date_time_iso_8601(),
|
|
16461
|
+
}),
|
|
16462
|
+
|
|
16463
|
+
'io.flow.internal.v0.models.preonboarding_sellability_result': (): io.flow.internal.v0.models.PreonboardingSellabilityResult => ({
|
|
16464
|
+
merchant_id: factories.string(),
|
|
16465
|
+
product_id: factories.string(),
|
|
16466
|
+
channel: factories.string(),
|
|
16467
|
+
request_id: factories.string(),
|
|
16468
|
+
status: factories['io.flow.sellability.v0.enums.sellability_result_status'](),
|
|
16469
|
+
error_code: factories['io.flow.sellability.v0.enums.sellability_result_error_code'](),
|
|
16470
|
+
hs6_code: factories.string(),
|
|
16471
|
+
hs6_code_source: factories['io.flow.internal.v0.enums.hs6_code_source'](),
|
|
16472
|
+
|
|
16473
|
+
restricted_regions_by_type: arrayOf(
|
|
16474
|
+
() => factories['io.flow.sellability.v0.models.sellability_restricted_region'](),
|
|
16475
|
+
),
|
|
16476
|
+
|
|
16477
|
+
rule_ids: arrayOf(() => factories.string()),
|
|
16478
|
+
matching_positive_keywords: arrayOf(() => factories.string()),
|
|
16479
|
+
classification_failure_reason: factories['io.flow.internal.v0.enums.classification_failure_reason'](),
|
|
16480
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
16481
|
+
fingerprint: factories.string(),
|
|
16482
|
+
}),
|
|
16483
|
+
|
|
15852
16484
|
'io.flow.internal.v0.models.price_inclusivity': (): io.flow.internal.v0.models.PriceInclusivity => ({
|
|
15853
16485
|
tax: factories.boolean(),
|
|
15854
16486
|
duty: factories.boolean(),
|
|
@@ -16108,7 +16740,7 @@ const factories = {
|
|
|
16108
16740
|
hs6_code: factories.string(),
|
|
16109
16741
|
|
|
16110
16742
|
restricted_regions: arrayOf(
|
|
16111
|
-
() => factories['io.flow.sellability.v0.models.
|
|
16743
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
16112
16744
|
),
|
|
16113
16745
|
|
|
16114
16746
|
rule_ids: arrayOf(() => factories.string()),
|
|
@@ -16124,7 +16756,7 @@ const factories = {
|
|
|
16124
16756
|
|
|
16125
16757
|
'io.flow.internal.v0.models.product_sellability_internal_result': (): io.flow.internal.v0.models.ProductSellabilityInternalResult => ({
|
|
16126
16758
|
restricted_regions: arrayOf(
|
|
16127
|
-
() => factories['io.flow.sellability.v0.models.
|
|
16759
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
16128
16760
|
),
|
|
16129
16761
|
|
|
16130
16762
|
rule_ids: arrayOf(() => factories.string()),
|
|
@@ -16138,7 +16770,7 @@ const factories = {
|
|
|
16138
16770
|
restricted_regions: arrayOf(() => factories.string()),
|
|
16139
16771
|
|
|
16140
16772
|
restricted_regions_by_type: arrayOf(
|
|
16141
|
-
() => factories['io.flow.sellability.v0.models.
|
|
16773
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
16142
16774
|
),
|
|
16143
16775
|
|
|
16144
16776
|
rule_ids: arrayOf(() => factories.string()),
|
|
@@ -16176,6 +16808,12 @@ const factories = {
|
|
|
16176
16808
|
shipping_notification_id: factories.string(),
|
|
16177
16809
|
}),
|
|
16178
16810
|
|
|
16811
|
+
'io.flow.internal.v0.models.proof_of_posting_synthetic': (): io.flow.internal.v0.models.ProofOfPostingSynthetic => ({
|
|
16812
|
+
discriminator: 'synthetic',
|
|
16813
|
+
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
16814
|
+
created_at: factories.date_time_iso_8601(),
|
|
16815
|
+
}),
|
|
16816
|
+
|
|
16179
16817
|
'io.flow.internal.v0.models.proof_of_posting_time_elapsed': (): io.flow.internal.v0.models.ProofOfPostingTimeElapsed => ({
|
|
16180
16818
|
discriminator: 'time_elapsed',
|
|
16181
16819
|
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
@@ -16661,6 +17299,11 @@ const factories = {
|
|
|
16661
17299
|
source: factories['io.flow.internal.v0.models.account_source'](),
|
|
16662
17300
|
}),
|
|
16663
17301
|
|
|
17302
|
+
'io.flow.internal.v0.models.report_amount_range': (): io.flow.internal.v0.models.ReportAmountRange => ({
|
|
17303
|
+
min: factories.decimal(),
|
|
17304
|
+
max: factories.decimal(),
|
|
17305
|
+
}),
|
|
17306
|
+
|
|
16664
17307
|
'io.flow.internal.v0.models.report_bank_account': (): io.flow.internal.v0.models.ReportBankAccount => ({
|
|
16665
17308
|
id: factories.string(),
|
|
16666
17309
|
last4: factories.string(),
|
|
@@ -16685,6 +17328,7 @@ const factories = {
|
|
|
16685
17328
|
'io.flow.internal.v0.models.report_filter': (): io.flow.internal.v0.models.ReportFilter => ({
|
|
16686
17329
|
source_type: factories['io.flow.internal.v0.enums.source_type_filter'](),
|
|
16687
17330
|
order_payment_source: factories['io.flow.experience.v0.enums.order_payment_source_type'](),
|
|
17331
|
+
amount_range: factories['io.flow.internal.v0.models.report_amount_range'](),
|
|
16688
17332
|
}),
|
|
16689
17333
|
|
|
16690
17334
|
'io.flow.internal.v0.models.report_form': (): io.flow.internal.v0.models.ReportForm => ({
|
|
@@ -17130,7 +17774,7 @@ const factories = {
|
|
|
17130
17774
|
'io.flow.internal.v0.models.restriction_organization': (): io.flow.internal.v0.models.RestrictionOrganization => ({
|
|
17131
17775
|
id: factories.string(),
|
|
17132
17776
|
name: factories.string(),
|
|
17133
|
-
environment: factories['io.flow.
|
|
17777
|
+
environment: factories['io.flow.restrictions.v0.enums.restriction_environment'](),
|
|
17134
17778
|
url: factories.string(),
|
|
17135
17779
|
approval_status: factories['io.flow.internal.v0.enums.organization_restriction_approval_status'](),
|
|
17136
17780
|
screening_status: factories['io.flow.internal.v0.enums.organization_restriction_screening_status'](),
|
|
@@ -17185,7 +17829,7 @@ const factories = {
|
|
|
17185
17829
|
'io.flow.internal.v0.models.restriction_organization_summary': (): io.flow.internal.v0.models.RestrictionOrganizationSummary => ({
|
|
17186
17830
|
id: factories.string(),
|
|
17187
17831
|
name: factories.string(),
|
|
17188
|
-
environment: factories['io.flow.
|
|
17832
|
+
environment: factories['io.flow.restrictions.v0.enums.restriction_environment'](),
|
|
17189
17833
|
source: factories['io.flow.internal.v0.enums.organization_source'](),
|
|
17190
17834
|
}),
|
|
17191
17835
|
|
|
@@ -17396,23 +18040,12 @@ const factories = {
|
|
|
17396
18040
|
oldest_pv_product_date_transacting: factories.date_iso_8601(),
|
|
17397
18041
|
oldest_pc_product_date_setup_complete: factories.date_iso_8601(),
|
|
17398
18042
|
oldest_pc_product_date_transacting: factories.date_iso_8601(),
|
|
17399
|
-
num_orgs_setup_complete_prs: factories.decimal(),
|
|
17400
|
-
num_products_setup_complete_prs: factories.decimal(),
|
|
17401
|
-
num_orgs_transacting_prs: factories.decimal(),
|
|
17402
|
-
num_products_transacting_prs: factories.decimal(),
|
|
17403
|
-
oldest_pr_product_date_setup_complete: factories.date_iso_8601(),
|
|
17404
|
-
oldest_pr_date_transacting: factories.date_iso_8601(),
|
|
17405
18043
|
percent_products_reviewed_transacting: factories.decimal(),
|
|
17406
18044
|
num_pv_inflow_net_new: factories.decimal(),
|
|
17407
18045
|
num_pv_outflow_human_decisions: factories.decimal(),
|
|
17408
18046
|
num_pv_outflow_auto_review_decisions: factories.decimal(),
|
|
17409
18047
|
num_pv_outflow_side_effect_decisions: factories.decimal(),
|
|
17410
|
-
num_pr_inflow_net_new: factories.decimal(),
|
|
17411
|
-
num_pr_outflow_human_decisions: factories.decimal(),
|
|
17412
|
-
num_pr_outflow_auto_review_decisions: factories.decimal(),
|
|
17413
|
-
num_pr_outflow_side_effect_decisions: factories.decimal(),
|
|
17414
18048
|
num_pending_decisions_transacting: factories.decimal(),
|
|
17415
|
-
oldest_insufficient_details_pv_onboarding: factories.date_iso_8601(),
|
|
17416
18049
|
oldest_insufficient_details_pv_active: factories.date_iso_8601(),
|
|
17417
18050
|
oldest_insufficient_details_pv_transacting: factories.date_iso_8601(),
|
|
17418
18051
|
num_products_with_fs_result: factories.decimal(),
|
|
@@ -17565,6 +18198,13 @@ const factories = {
|
|
|
17565
18198
|
added_on: factories.date_iso_8601(),
|
|
17566
18199
|
}),
|
|
17567
18200
|
|
|
18201
|
+
'io.flow.internal.v0.models.rohan_item_deleted': (): io.flow.internal.v0.models.RohanItemDeleted => ({
|
|
18202
|
+
discriminator: 'rohan_item_deleted',
|
|
18203
|
+
event_id: factories.string(),
|
|
18204
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18205
|
+
id: factories.string(),
|
|
18206
|
+
}),
|
|
18207
|
+
|
|
17568
18208
|
'io.flow.internal.v0.models.rohan_item_form': (): io.flow.internal.v0.models.RohanItemForm => ({
|
|
17569
18209
|
number: factories.string(),
|
|
17570
18210
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -17573,6 +18213,13 @@ const factories = {
|
|
|
17573
18213
|
added_on: factories.date_iso_8601(),
|
|
17574
18214
|
}),
|
|
17575
18215
|
|
|
18216
|
+
'io.flow.internal.v0.models.rohan_item_upserted': (): io.flow.internal.v0.models.RohanItemUpserted => ({
|
|
18217
|
+
discriminator: 'rohan_item_upserted',
|
|
18218
|
+
event_id: factories.string(),
|
|
18219
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18220
|
+
item: factories['io.flow.internal.v0.models.rohan_item'](),
|
|
18221
|
+
}),
|
|
18222
|
+
|
|
17576
18223
|
'io.flow.internal.v0.models.routing_account': (): io.flow.internal.v0.models.RoutingAccount => ({
|
|
17577
18224
|
discriminator: 'routing_account',
|
|
17578
18225
|
processor: factories['io.flow.internal.v0.enums.processor'](),
|
|
@@ -17599,6 +18246,8 @@ const factories = {
|
|
|
17599
18246
|
order_total: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
17600
18247
|
shopper_breakdown: factories['io.flow.internal.v0.models.shopper_breakdown'](),
|
|
17601
18248
|
payment: factories['io.flow.internal.v0.models.reporting_payment'](),
|
|
18249
|
+
tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18250
|
+
duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
17602
18251
|
fees: factories['io.flow.internal.v0.models.reporting_fees'](),
|
|
17603
18252
|
conversion_rate: factories['io.flow.internal.v0.models.reporting_conversion_rates'](),
|
|
17604
18253
|
payment_is: factories['io.flow.internal.v0.models.payment_is'](),
|
|
@@ -17624,6 +18273,13 @@ const factories = {
|
|
|
17624
18273
|
added_on: factories.date_time_iso_8601(),
|
|
17625
18274
|
}),
|
|
17626
18275
|
|
|
18276
|
+
'io.flow.internal.v0.models.sarvesh_item_deleted': (): io.flow.internal.v0.models.SarveshItemDeleted => ({
|
|
18277
|
+
discriminator: 'sarvesh_item_deleted',
|
|
18278
|
+
event_id: factories.string(),
|
|
18279
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18280
|
+
id: factories.string(),
|
|
18281
|
+
}),
|
|
18282
|
+
|
|
17627
18283
|
'io.flow.internal.v0.models.sarvesh_item_form': (): io.flow.internal.v0.models.SarveshItemForm => ({
|
|
17628
18284
|
number: factories.string(),
|
|
17629
18285
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -17632,6 +18288,13 @@ const factories = {
|
|
|
17632
18288
|
added_on: factories.date_time_iso_8601(),
|
|
17633
18289
|
}),
|
|
17634
18290
|
|
|
18291
|
+
'io.flow.internal.v0.models.sarvesh_item_upserted': (): io.flow.internal.v0.models.SarveshItemUpserted => ({
|
|
18292
|
+
discriminator: 'sarvesh_item_upserted',
|
|
18293
|
+
event_id: factories.string(),
|
|
18294
|
+
timestamp: factories.date_time_iso_8601(),
|
|
18295
|
+
item: factories['io.flow.internal.v0.models.sarvesh_item'](),
|
|
18296
|
+
}),
|
|
18297
|
+
|
|
17635
18298
|
'io.flow.internal.v0.models.scheduled_payment': (): io.flow.internal.v0.models.ScheduledPayment => ({
|
|
17636
18299
|
payment: factories['io.flow.internal.v0.models.report_payment'](),
|
|
17637
18300
|
bank_account: factories['io.flow.internal.v0.models.report_bank_account_cleartext'](),
|
|
@@ -17733,13 +18396,13 @@ const factories = {
|
|
|
17733
18396
|
current_rule_ids: arrayOf(() => factories.string()),
|
|
17734
18397
|
|
|
17735
18398
|
current_restricted_regions: arrayOf(
|
|
17736
|
-
() => factories['io.flow.sellability.v0.models.
|
|
18399
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
17737
18400
|
),
|
|
17738
18401
|
|
|
17739
18402
|
merchant_rule_ids: arrayOf(() => factories.string()),
|
|
17740
18403
|
|
|
17741
18404
|
merchant_restricted_regions: arrayOf(
|
|
17742
|
-
() => factories['io.flow.sellability.v0.models.
|
|
18405
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
17743
18406
|
),
|
|
17744
18407
|
|
|
17745
18408
|
current_error: arrayOf(() => factories['io.flow.sellability.v0.models.sellability_error']()),
|
|
@@ -17795,6 +18458,54 @@ const factories = {
|
|
|
17795
18458
|
customer_price: factories.decimal(),
|
|
17796
18459
|
}),
|
|
17797
18460
|
|
|
18461
|
+
'io.flow.internal.v0.models.shipping_rate_estimate_available_internal': (): io.flow.internal.v0.models.ShippingRateEstimateAvailableInternal => ({
|
|
18462
|
+
service: factories['io.flow.ratecard.v0.models.ratecard_service_summary'](),
|
|
18463
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
18464
|
+
shipment_window: factories['io.flow.ratecard.v0.models.shipment_window'](),
|
|
18465
|
+
total_amount: factories['io.flow.common.v0.models.money'](),
|
|
18466
|
+
base_amount: factories['io.flow.common.v0.models.money'](),
|
|
18467
|
+
fees: arrayOf(() => factories['io.flow.ratecard.v0.unions.ratecard_fee']()),
|
|
18468
|
+
dimensional_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
18469
|
+
gravitational_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
18470
|
+
weight_break: factories.decimal(),
|
|
18471
|
+
ratecard_id: factories.string(),
|
|
18472
|
+
lane_id: factories.string(),
|
|
18473
|
+
rate_level_key: factories.string(),
|
|
18474
|
+
glbe_shipping_method_id: factories.string(),
|
|
18475
|
+
glbe_proposition_name: factories.string(),
|
|
18476
|
+
channel_revenue_share_percentage: factories.decimal(),
|
|
18477
|
+
distance_unit_of_measurement: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
18478
|
+
weight_unit_of_measurement: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
18479
|
+
}),
|
|
18480
|
+
|
|
18481
|
+
'io.flow.internal.v0.models.shipping_rate_estimate_internal': (): io.flow.internal.v0.models.ShippingRateEstimateInternal => ({
|
|
18482
|
+
channel_id: factories.string(),
|
|
18483
|
+
organization_id: factories.string(),
|
|
18484
|
+
service: factories.string(),
|
|
18485
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
18486
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
18487
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
18488
|
+
|
|
18489
|
+
available: arrayOf(
|
|
18490
|
+
() => factories['io.flow.internal.v0.models.shipping_rate_estimate_available_internal'](),
|
|
18491
|
+
),
|
|
18492
|
+
}),
|
|
18493
|
+
|
|
18494
|
+
'io.flow.internal.v0.models.shipping_rate_estimate_request_internal': (): io.flow.internal.v0.models.ShippingRateEstimateRequestInternal => ({
|
|
18495
|
+
channel_id: factories.string(),
|
|
18496
|
+
organization_id: factories.string(),
|
|
18497
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
18498
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
18499
|
+
package_dimensions: factories['io.flow.common.v0.models.dimension'](),
|
|
18500
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
18501
|
+
service: factories.string(),
|
|
18502
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
18503
|
+
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
18504
|
+
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
18505
|
+
line_items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
|
|
18506
|
+
include_unpublished: factories.boolean(),
|
|
18507
|
+
}),
|
|
18508
|
+
|
|
17798
18509
|
'io.flow.internal.v0.models.shopify_catalog_publication': (): io.flow.internal.v0.models.ShopifyCatalogPublication => ({
|
|
17799
18510
|
owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
17800
18511
|
}),
|
|
@@ -18044,6 +18755,17 @@ const factories = {
|
|
|
18044
18755
|
shopify: factories['io.flow.internal.v0.models.shopify_markets_shopify_order_metrics'](),
|
|
18045
18756
|
internal: factories['io.flow.internal.v0.models.shopify_markets_internal_order_metrics'](),
|
|
18046
18757
|
discrepancy_data: factories['io.flow.internal.v0.models.shopify_markets_discrepancy_data'](),
|
|
18758
|
+
|
|
18759
|
+
organization_metrics: arrayOf(
|
|
18760
|
+
() => factories['io.flow.internal.v0.models.shopify_markets_organization_order_metrics'](),
|
|
18761
|
+
),
|
|
18762
|
+
}),
|
|
18763
|
+
|
|
18764
|
+
'io.flow.internal.v0.models.shopify_markets_organization_order_metrics': (): io.flow.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics => ({
|
|
18765
|
+
organization_id: factories.string(),
|
|
18766
|
+
shopify_order_count: factories.long(),
|
|
18767
|
+
internal_order_count: factories.long(),
|
|
18768
|
+
discrepancy_count: factories.long(),
|
|
18047
18769
|
}),
|
|
18048
18770
|
|
|
18049
18771
|
'io.flow.internal.v0.models.shopify_markets_queued_record': (): io.flow.internal.v0.models.ShopifyMarketsQueuedRecord => ({
|
|
@@ -18530,6 +19252,7 @@ const factories = {
|
|
|
18530
19252
|
|
|
18531
19253
|
'io.flow.internal.v0.models.shopper_breakdown': (): io.flow.internal.v0.models.ShopperBreakdown => ({
|
|
18532
19254
|
product: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
19255
|
+
product_purchase_price: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18533
19256
|
tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18534
19257
|
duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18535
19258
|
discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
@@ -19278,6 +20001,10 @@ const factories = {
|
|
|
19278
20001
|
tax_transaction: factories['io.flow.internal.v0.models.tax_transaction'](),
|
|
19279
20002
|
}),
|
|
19280
20003
|
|
|
20004
|
+
'io.flow.internal.v0.models.tax_type_total': (): io.flow.internal.v0.models.TaxTypeTotal => ({
|
|
20005
|
+
value: factories['io.flow.common.v0.models.money'](),
|
|
20006
|
+
}),
|
|
20007
|
+
|
|
19281
20008
|
'io.flow.internal.v0.models.taxonomy_alignment_check_result': (): io.flow.internal.v0.models.TaxonomyAlignmentCheckResult => ({
|
|
19282
20009
|
status: factories['io.flow.internal.v0.enums.taxonomy_category_classification_alignment'](),
|
|
19283
20010
|
result: factories['io.flow.internal.v0.enums.evaluation_check_result'](),
|
|
@@ -19408,6 +20135,11 @@ const factories = {
|
|
|
19408
20135
|
timezone: factories.string(),
|
|
19409
20136
|
}),
|
|
19410
20137
|
|
|
20138
|
+
'io.flow.internal.v0.models.tokens': (): io.flow.internal.v0.models.Tokens => ({
|
|
20139
|
+
webhook_signature_verification: factories.string(),
|
|
20140
|
+
api: factories.string(),
|
|
20141
|
+
}),
|
|
20142
|
+
|
|
19411
20143
|
'io.flow.internal.v0.models.tracking_assurance_analysis': (): io.flow.internal.v0.models.TrackingAssuranceAnalysis => ({
|
|
19412
20144
|
id: factories.string(),
|
|
19413
20145
|
job_id: factories.string(),
|
|
@@ -20321,8 +21053,6 @@ const factories = {
|
|
|
20321
21053
|
() => factories['io.flow.internal.v0.models.export_failed'](),
|
|
20322
21054
|
() => factories['io.flow.internal.v0.models.feature_upserted'](),
|
|
20323
21055
|
() => factories['io.flow.internal.v0.models.feature_deleted'](),
|
|
20324
|
-
() => factories['io.flow.internal.v0.models.organization_boolean_value_upserted'](),
|
|
20325
|
-
() => factories['io.flow.internal.v0.models.organization_boolean_value_deleted'](),
|
|
20326
21056
|
() => factories['io.flow.internal.v0.models.account_settings_upserted'](),
|
|
20327
21057
|
() => factories['io.flow.internal.v0.models.account_settings_deleted'](),
|
|
20328
21058
|
() => factories['io.flow.internal.v0.models.account_processing_rates_upserted'](),
|
|
@@ -20558,6 +21288,22 @@ const factories = {
|
|
|
20558
21288
|
() => factories['io.flow.internal.v0.models.stripe_connect_report_record_deleted'](),
|
|
20559
21289
|
() => factories['io.flow.internal.v0.models.liability_remittance_plan_upserted'](),
|
|
20560
21290
|
() => factories['io.flow.internal.v0.models.liability_remittance_plan_deleted'](),
|
|
21291
|
+
() => factories['io.flow.internal.v0.models.anirban_item_upserted'](),
|
|
21292
|
+
() => factories['io.flow.internal.v0.models.anirban_item_deleted'](),
|
|
21293
|
+
() => factories['io.flow.internal.v0.models.sarvesh_item_upserted'](),
|
|
21294
|
+
() => factories['io.flow.internal.v0.models.sarvesh_item_deleted'](),
|
|
21295
|
+
() => factories['io.flow.internal.v0.models.hosein_item_upserted'](),
|
|
21296
|
+
() => factories['io.flow.internal.v0.models.hosein_item_deleted'](),
|
|
21297
|
+
() => factories['io.flow.internal.v0.models.niall_item_upserted'](),
|
|
21298
|
+
() => factories['io.flow.internal.v0.models.niall_item_deleted'](),
|
|
21299
|
+
() => factories['io.flow.internal.v0.models.rohan_item_upserted'](),
|
|
21300
|
+
() => factories['io.flow.internal.v0.models.rohan_item_deleted'](),
|
|
21301
|
+
() => factories['io.flow.internal.v0.models.aldo_item_upserted'](),
|
|
21302
|
+
() => factories['io.flow.internal.v0.models.aldo_item_deleted'](),
|
|
21303
|
+
() => factories['io.flow.internal.v0.models.ansh_item_upserted'](),
|
|
21304
|
+
() => factories['io.flow.internal.v0.models.ansh_item_deleted'](),
|
|
21305
|
+
() => factories['io.flow.internal.v0.models.gabriel_item_upserted'](),
|
|
21306
|
+
() => factories['io.flow.internal.v0.models.gabriel_item_deleted'](),
|
|
20561
21307
|
() => factories['io.flow.internal.v0.models.tracking_processing_error_upserted'](),
|
|
20562
21308
|
() => factories['io.flow.internal.v0.models.tracking_processing_error_deleted'](),
|
|
20563
21309
|
() => factories['io.flow.internal.v0.models.tracking_label_event_upserted_v2'](),
|
|
@@ -20900,6 +21646,7 @@ const factories = {
|
|
|
20900
21646
|
() => factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation'](),
|
|
20901
21647
|
() => factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment'](),
|
|
20902
21648
|
() => factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed'](),
|
|
21649
|
+
() => factories['io.flow.internal.v0.models.proof_of_posting_synthetic'](),
|
|
20903
21650
|
]);
|
|
20904
21651
|
|
|
20905
21652
|
return f();
|
|
@@ -21302,6 +22049,7 @@ const factories = {
|
|
|
21302
22049
|
price_attributes: objectOf(() => factories['io.flow.item.v0.models.local_item_attribute_pricing']()),
|
|
21303
22050
|
}),
|
|
21304
22051
|
|
|
22052
|
+
'io.flow.label.v0.enums.commercial_invoice_mode': (): io.flow.label.v0.enums.CommercialInvoiceMode => faker.helpers.arrayElement(['direct', 'indirect']),
|
|
21305
22053
|
'io.flow.label.v0.enums.cost_estimate_source': (): io.flow.label.v0.enums.CostEstimateSource => faker.helpers.arrayElement(['flow', 'channel']),
|
|
21306
22054
|
'io.flow.label.v0.enums.direction': (): io.flow.label.v0.enums.Direction => faker.helpers.arrayElement(['outbound', 'return']),
|
|
21307
22055
|
|
|
@@ -21662,6 +22410,77 @@ const factories = {
|
|
|
21662
22410
|
|
|
21663
22411
|
'io.flow.merchant.onboarding.v0.enums.region_type': (): io.flow.merchant.onboarding.v0.enums.RegionType => faker.helpers.arrayElement(['state', 'province', 'jurisdiction']),
|
|
21664
22412
|
|
|
22413
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_application': (): io.flow.merchant.onboarding.v0.models.CommonMerchantApplication => ({
|
|
22414
|
+
discriminator: 'common_merchant_application',
|
|
22415
|
+
id: factories.string(),
|
|
22416
|
+
organization_id: factories.string(),
|
|
22417
|
+
organization_reference: factories['io.flow.merchant.onboarding.v0.models.onboarding_organization_reference'](),
|
|
22418
|
+
status: factories['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'](),
|
|
22419
|
+
company: factories['io.flow.merchant.onboarding.v0.models.merchant_info'](),
|
|
22420
|
+
indirect_tax: factories['io.flow.merchant.onboarding.v0.models.indirect_tax'](),
|
|
22421
|
+
ultimate_beneficiary_owner: factories['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'](),
|
|
22422
|
+
business_url: factories.string(),
|
|
22423
|
+
business_description: factories.string(),
|
|
22424
|
+
business_address: factories['io.flow.common.v0.models.address'](),
|
|
22425
|
+
refund_percentage: factories.decimal(),
|
|
22426
|
+
chargeback_percentage: factories.decimal(),
|
|
22427
|
+
beneficiary_details: factories['io.flow.merchant.onboarding.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
22428
|
+
other_trade_sector: factories.string(),
|
|
22429
|
+
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
22430
|
+
center_address: factories['io.flow.common.v0.models.address'](),
|
|
22431
|
+
average_order_weight: factories.decimal(),
|
|
22432
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
22433
|
+
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
22434
|
+
monthly_average: factories['io.flow.merchant.onboarding.v0.models.monthly_average'](),
|
|
22435
|
+
default_country_of_origin: factories.string(),
|
|
22436
|
+
rate_card: factories.string(),
|
|
22437
|
+
shop: factories['io.flow.merchant.onboarding.v0.models.shop'](),
|
|
22438
|
+
created_at: factories.date_time_iso_8601(),
|
|
22439
|
+
last_year_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
22440
|
+
last_month_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
22441
|
+
average_order_value: factories['io.flow.common.v0.models.money'](),
|
|
22442
|
+
mcc_codes: arrayOf(() => factories.long()),
|
|
22443
|
+
}),
|
|
22444
|
+
|
|
22445
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_application_form': (): io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationForm => ({
|
|
22446
|
+
discriminator: 'common_merchant_application_form',
|
|
22447
|
+
company: factories['io.flow.merchant.onboarding.v0.models.merchant_info'](),
|
|
22448
|
+
indirect_tax: factories['io.flow.merchant.onboarding.v0.models.indirect_tax'](),
|
|
22449
|
+
ultimate_beneficiary_owner: factories['io.flow.merchant.onboarding.v0.models.ultimate_beneficiary_owner'](),
|
|
22450
|
+
business_url: factories.string(),
|
|
22451
|
+
business_description: factories.string(),
|
|
22452
|
+
business_address: factories['io.flow.common.v0.models.address'](),
|
|
22453
|
+
refund_percentage: factories.decimal(),
|
|
22454
|
+
chargeback_percentage: factories.decimal(),
|
|
22455
|
+
beneficiary_details: factories['io.flow.merchant.onboarding.v0.models.merchant_onboarding_beneficiary_details'](),
|
|
22456
|
+
other_trade_sector: factories.string(),
|
|
22457
|
+
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
22458
|
+
center_address: factories['io.flow.common.v0.models.address'](),
|
|
22459
|
+
average_order_weight: factories.decimal(),
|
|
22460
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
22461
|
+
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
22462
|
+
monthly_average_volume_amount: factories.decimal(),
|
|
22463
|
+
monthly_average_volume_currency: factories.string(),
|
|
22464
|
+
monthly_average_number_transactions: factories.long(),
|
|
22465
|
+
default_country_of_origin: factories.string(),
|
|
22466
|
+
shop: factories['io.flow.merchant.onboarding.v0.models.shop'](),
|
|
22467
|
+
rate_card: factories.string(),
|
|
22468
|
+
last_year_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
22469
|
+
last_month_xborder_gmv: factories['io.flow.common.v0.models.money'](),
|
|
22470
|
+
average_order_value: factories['io.flow.common.v0.models.money'](),
|
|
22471
|
+
mcc_codes: arrayOf(() => factories.long()),
|
|
22472
|
+
}),
|
|
22473
|
+
|
|
22474
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_application_put_form': (): io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationPutForm => ({
|
|
22475
|
+
discriminator: 'common_merchant_application_put_form',
|
|
22476
|
+
status: factories['io.flow.merchant.onboarding.v0.enums.onboarding_application_status'](),
|
|
22477
|
+
}),
|
|
22478
|
+
|
|
22479
|
+
'io.flow.merchant.onboarding.v0.models.common_merchant_applications_summary': (): io.flow.merchant.onboarding.v0.models.CommonMerchantApplicationsSummary => ({
|
|
22480
|
+
discriminator: 'common_merchant_applications_summary',
|
|
22481
|
+
total: factories.long(),
|
|
22482
|
+
}),
|
|
22483
|
+
|
|
21665
22484
|
'io.flow.merchant.onboarding.v0.models.indirect_tax': (): io.flow.merchant.onboarding.v0.models.IndirectTax => ({
|
|
21666
22485
|
number: factories.string(),
|
|
21667
22486
|
id: factories.string(),
|
|
@@ -21678,6 +22497,7 @@ const factories = {
|
|
|
21678
22497
|
region: factories['io.flow.merchant.onboarding.v0.enums.region_type'](),
|
|
21679
22498
|
region_value: factories.string(),
|
|
21680
22499
|
category_code: factories.string(),
|
|
22500
|
+
description: factories.string(),
|
|
21681
22501
|
}),
|
|
21682
22502
|
|
|
21683
22503
|
'io.flow.merchant.onboarding.v0.models.merchant_onboarding_address': (): io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress => ({
|
|
@@ -21689,6 +22509,17 @@ const factories = {
|
|
|
21689
22509
|
country: factories.string(),
|
|
21690
22510
|
}),
|
|
21691
22511
|
|
|
22512
|
+
'io.flow.merchant.onboarding.v0.models.merchant_onboarding_beneficiary_details': (): io.flow.merchant.onboarding.v0.models.MerchantOnboardingBeneficiaryDetails => ({
|
|
22513
|
+
name: factories.string(),
|
|
22514
|
+
address: factories['io.flow.common.v0.models.address'](),
|
|
22515
|
+
phone: factories.string(),
|
|
22516
|
+
email: factories.string(),
|
|
22517
|
+
bank_account_number: factories.string(),
|
|
22518
|
+
bank_routing_number: factories.string(),
|
|
22519
|
+
bank_name: factories.string(),
|
|
22520
|
+
bank_address: factories['io.flow.common.v0.models.address'](),
|
|
22521
|
+
}),
|
|
22522
|
+
|
|
21692
22523
|
'io.flow.merchant.onboarding.v0.models.monthly_average': (): io.flow.merchant.onboarding.v0.models.MonthlyAverage => ({
|
|
21693
22524
|
volume: factories['io.flow.merchant.onboarding.v0.models.monthly_average_volume'](),
|
|
21694
22525
|
number_transactions: factories.long(),
|
|
@@ -21757,6 +22588,7 @@ const factories = {
|
|
|
21757
22588
|
|
|
21758
22589
|
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
21759
22590
|
average_order_weight: factories.decimal(),
|
|
22591
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
21760
22592
|
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
21761
22593
|
monthly_average: factories['io.flow.merchant.onboarding.v0.models.monthly_average'](),
|
|
21762
22594
|
default_country_of_origin: factories.string(),
|
|
@@ -21794,6 +22626,7 @@ const factories = {
|
|
|
21794
22626
|
|
|
21795
22627
|
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
21796
22628
|
average_order_weight: factories.decimal(),
|
|
22629
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
21797
22630
|
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
21798
22631
|
monthly_average_volume_amount: factories.decimal(),
|
|
21799
22632
|
monthly_average_volume_currency: factories.string(),
|
|
@@ -21839,6 +22672,7 @@ const factories = {
|
|
|
21839
22672
|
'io.flow.merchant.onboarding.v0.unions.merchant_application': (): io.flow.merchant.onboarding.v0.unions.MerchantApplication => {
|
|
21840
22673
|
const f = faker.helpers.arrayElement([
|
|
21841
22674
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application'](),
|
|
22675
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_application'](),
|
|
21842
22676
|
]);
|
|
21843
22677
|
|
|
21844
22678
|
return f();
|
|
@@ -21847,6 +22681,7 @@ const factories = {
|
|
|
21847
22681
|
'io.flow.merchant.onboarding.v0.unions.merchant_application_form': (): io.flow.merchant.onboarding.v0.unions.MerchantApplicationForm => {
|
|
21848
22682
|
const f = faker.helpers.arrayElement([
|
|
21849
22683
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_form'](),
|
|
22684
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_application_form'](),
|
|
21850
22685
|
]);
|
|
21851
22686
|
|
|
21852
22687
|
return f();
|
|
@@ -21855,6 +22690,7 @@ const factories = {
|
|
|
21855
22690
|
'io.flow.merchant.onboarding.v0.unions.merchant_application_put_form': (): io.flow.merchant.onboarding.v0.unions.MerchantApplicationPutForm => {
|
|
21856
22691
|
const f = faker.helpers.arrayElement([
|
|
21857
22692
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_put_form'](),
|
|
22693
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_application_put_form'](),
|
|
21858
22694
|
]);
|
|
21859
22695
|
|
|
21860
22696
|
return f();
|
|
@@ -21863,6 +22699,7 @@ const factories = {
|
|
|
21863
22699
|
'io.flow.merchant.onboarding.v0.unions.merchant_applications_summary': (): io.flow.merchant.onboarding.v0.unions.MerchantApplicationsSummary => {
|
|
21864
22700
|
const f = faker.helpers.arrayElement([
|
|
21865
22701
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_applications_summary'](),
|
|
22702
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_applications_summary'](),
|
|
21866
22703
|
]);
|
|
21867
22704
|
|
|
21868
22705
|
return f();
|
|
@@ -22248,6 +23085,22 @@ const factories = {
|
|
|
22248
23085
|
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
22249
23086
|
}),
|
|
22250
23087
|
|
|
23088
|
+
'io.flow.organization.v0.models.organization_tax_registration': (): io.flow.organization.v0.models.OrganizationTaxRegistration => ({
|
|
23089
|
+
id: factories.string(),
|
|
23090
|
+
organization: factories['io.flow.common.v0.models.organization_summary'](),
|
|
23091
|
+
address: factories['io.flow.common.v0.models.billing_address'](),
|
|
23092
|
+
registration: factories['io.flow.organization.v0.models.tax_registration_detail'](),
|
|
23093
|
+
self_billing_agreement: factories['io.flow.organization.v0.models.self_billing_agreement'](),
|
|
23094
|
+
}),
|
|
23095
|
+
|
|
23096
|
+
'io.flow.organization.v0.models.organization_tax_registration_form': (): io.flow.organization.v0.models.OrganizationTaxRegistrationForm => ({
|
|
23097
|
+
tax_number: factories.string(),
|
|
23098
|
+
country: factories.string(),
|
|
23099
|
+
province: factories.string(),
|
|
23100
|
+
self_billing_agreement_effective_at: factories.date_time_iso_8601(),
|
|
23101
|
+
self_billing_agreement_expires_at: factories.date_time_iso_8601(),
|
|
23102
|
+
}),
|
|
23103
|
+
|
|
22251
23104
|
'io.flow.organization.v0.models.organization_version': (): io.flow.organization.v0.models.OrganizationVersion => ({
|
|
22252
23105
|
id: factories.string(),
|
|
22253
23106
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -22265,6 +23118,18 @@ const factories = {
|
|
|
22265
23118
|
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
22266
23119
|
}),
|
|
22267
23120
|
|
|
23121
|
+
'io.flow.organization.v0.models.self_billing_agreement': (): io.flow.organization.v0.models.SelfBillingAgreement => ({
|
|
23122
|
+
effective_at: factories.date_time_iso_8601(),
|
|
23123
|
+
expires_at: factories.date_time_iso_8601(),
|
|
23124
|
+
}),
|
|
23125
|
+
|
|
23126
|
+
'io.flow.organization.v0.models.tax_registration_detail': (): io.flow.organization.v0.models.TaxRegistrationDetail => ({
|
|
23127
|
+
tax_number: factories.string(),
|
|
23128
|
+
country: factories.string(),
|
|
23129
|
+
tax_code: factories.string(),
|
|
23130
|
+
province: factories.string(),
|
|
23131
|
+
}),
|
|
23132
|
+
|
|
22268
23133
|
'io.flow.partner.v0.enums.label_format': (): io.flow.partner.v0.enums.LabelFormat => faker.helpers.arrayElement(['pdf', 'zpl', 'all']),
|
|
22269
23134
|
|
|
22270
23135
|
'io.flow.partner.v0.models.bridge_hub': (): io.flow.partner.v0.models.BridgeHub => ({
|
|
@@ -23129,6 +23994,7 @@ const factories = {
|
|
|
23129
23994
|
supported_actions: arrayOf(() => factories['io.flow.payment.gateway.v0.enums.payment_action_type']()),
|
|
23130
23995
|
payment_capture_option: factories['io.flow.payment.gateway.v0.unions.payment_capture_option'](),
|
|
23131
23996
|
review: factories['io.flow.payment.gateway.v0.models.payment_request_review'](),
|
|
23997
|
+
client_secret: factories.string(),
|
|
23132
23998
|
}),
|
|
23133
23999
|
|
|
23134
24000
|
'io.flow.payment.gateway.v0.models.payment_request_cancellation_reason_order_missing': (): io.flow.payment.gateway.v0.models.PaymentRequestCancellationReasonOrderMissing => ({
|
|
@@ -25196,6 +26062,7 @@ const factories = {
|
|
|
25196
26062
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
25197
26063
|
origin_region: factories['io.flow.ratecard.v0.models.ratecard_region_reference'](),
|
|
25198
26064
|
destination_region: factories['io.flow.ratecard.v0.models.ratecard_region_reference'](),
|
|
26065
|
+
destination_regions: arrayOf(() => factories['io.flow.ratecard.v0.models.ratecard_region_reference']()),
|
|
25199
26066
|
interval_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
25200
26067
|
}),
|
|
25201
26068
|
|
|
@@ -25400,6 +26267,7 @@ const factories = {
|
|
|
25400
26267
|
center_id: factories.string(),
|
|
25401
26268
|
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
25402
26269
|
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
26270
|
+
commercial_invoice_mode: factories['io.flow.label.v0.enums.commercial_invoice_mode'](),
|
|
25403
26271
|
}),
|
|
25404
26272
|
|
|
25405
26273
|
'io.flow.ratecard.v0.models.ratecard_estimate_summary_form': (): io.flow.ratecard.v0.models.RatecardEstimateSummaryForm => ({
|
|
@@ -25620,6 +26488,49 @@ const factories = {
|
|
|
25620
26488
|
to: factories.long(),
|
|
25621
26489
|
}),
|
|
25622
26490
|
|
|
26491
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate': (): io.flow.ratecard.v0.models.ShippingRateEstimate => ({
|
|
26492
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
26493
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
26494
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
26495
|
+
services: arrayOf(() => factories.string()),
|
|
26496
|
+
|
|
26497
|
+
available: arrayOf(
|
|
26498
|
+
() => factories['io.flow.ratecard.v0.models.shipping_rate_estimate_available'](),
|
|
26499
|
+
),
|
|
26500
|
+
|
|
26501
|
+
unavailable: arrayOf(
|
|
26502
|
+
() => factories['io.flow.ratecard.v0.models.shipping_rate_estimate_unavailable'](),
|
|
26503
|
+
),
|
|
26504
|
+
}),
|
|
26505
|
+
|
|
26506
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate_available': (): io.flow.ratecard.v0.models.ShippingRateEstimateAvailable => ({
|
|
26507
|
+
service: factories['io.flow.ratecard.v0.models.ratecard_service_summary'](),
|
|
26508
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
26509
|
+
shipment_window: factories['io.flow.ratecard.v0.models.shipment_window'](),
|
|
26510
|
+
total_amount: factories['io.flow.common.v0.models.money'](),
|
|
26511
|
+
base_amount: factories['io.flow.common.v0.models.money'](),
|
|
26512
|
+
fees: arrayOf(() => factories['io.flow.ratecard.v0.unions.ratecard_fee']()),
|
|
26513
|
+
dimensional_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
26514
|
+
gravitational_weight: factories['io.flow.common.v0.models.measurement'](),
|
|
26515
|
+
weight_break: factories.decimal(),
|
|
26516
|
+
}),
|
|
26517
|
+
|
|
26518
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate_request': (): io.flow.ratecard.v0.models.ShippingRateEstimateRequest => ({
|
|
26519
|
+
origin_address: factories['io.flow.common.v0.models.address'](),
|
|
26520
|
+
destination_address: factories['io.flow.common.v0.models.address'](),
|
|
26521
|
+
package_dimensions: factories['io.flow.common.v0.models.dimension'](),
|
|
26522
|
+
shipping_date_time: factories.date_time_iso_8601(),
|
|
26523
|
+
delivered_duty: factories['io.flow.common.v0.enums.delivered_duty'](),
|
|
26524
|
+
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
26525
|
+
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
26526
|
+
line_items: arrayOf(() => factories['io.flow.common.v0.models.line_item_form']()),
|
|
26527
|
+
}),
|
|
26528
|
+
|
|
26529
|
+
'io.flow.ratecard.v0.models.shipping_rate_estimate_unavailable': (): io.flow.ratecard.v0.models.ShippingRateEstimateUnavailable => ({
|
|
26530
|
+
service: factories.string(),
|
|
26531
|
+
reason: factories.string(),
|
|
26532
|
+
}),
|
|
26533
|
+
|
|
25623
26534
|
'io.flow.ratecard.v0.unions.fuel_surcharge_rate': (): io.flow.ratecard.v0.unions.FuelSurchargeRate => {
|
|
25624
26535
|
const f = faker.helpers.arrayElement([
|
|
25625
26536
|
() => factories['io.flow.ratecard.v0.models.fuel_surcharge_percent'](),
|
|
@@ -25815,6 +26726,49 @@ const factories = {
|
|
|
25815
26726
|
offset: factories.integer(),
|
|
25816
26727
|
}),
|
|
25817
26728
|
|
|
26729
|
+
'io.flow.restrictions.v0.enums.restricted_review_status': (): io.flow.restrictions.v0.enums.RestrictedReviewStatus => faker.helpers.arrayElement(['in_review', 'reviewed']),
|
|
26730
|
+
'io.flow.restrictions.v0.enums.restriction_environment': (): io.flow.restrictions.v0.enums.RestrictionEnvironment => faker.helpers.arrayElement(['sandbox', 'production', 'qa']),
|
|
26731
|
+
'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']),
|
|
26732
|
+
|
|
26733
|
+
'io.flow.restrictions.v0.models.carrier_restrictions': (): io.flow.restrictions.v0.models.CarrierRestrictions => ({
|
|
26734
|
+
carrier: factories.string(),
|
|
26735
|
+
regions: arrayOf(() => factories.string()),
|
|
26736
|
+
}),
|
|
26737
|
+
|
|
26738
|
+
'io.flow.restrictions.v0.models.needs_action_attributes': (): io.flow.restrictions.v0.models.NeedsActionAttributes => ({
|
|
26739
|
+
reason_code: factories.string(),
|
|
26740
|
+
category_metafield_handles: arrayOf(() => factories.string()),
|
|
26741
|
+
require_msds: factories.boolean(),
|
|
26742
|
+
}),
|
|
26743
|
+
|
|
26744
|
+
'io.flow.restrictions.v0.models.product_restriction_result': (): io.flow.restrictions.v0.models.ProductRestrictionResult => ({
|
|
26745
|
+
id: factories.string(),
|
|
26746
|
+
product_id: factories.string(),
|
|
26747
|
+
item_numbers: arrayOf(() => factories.string()),
|
|
26748
|
+
prohibited_regions: arrayOf(() => factories.string()),
|
|
26749
|
+
sellability_restricted_regions: arrayOf(() => factories.string()),
|
|
26750
|
+
reasons_per_region: arrayOf(() => factories['io.flow.restrictions.v0.models.reasons_per_region']()),
|
|
26751
|
+
review_status: factories['io.flow.restrictions.v0.enums.review_status'](),
|
|
26752
|
+
rules: arrayOf(() => factories.string()),
|
|
26753
|
+
updated_by: factories.string(),
|
|
26754
|
+
product_restriction_id: factories.string(),
|
|
26755
|
+
hs_code: factories.string(),
|
|
26756
|
+
|
|
26757
|
+
restricted_regions_by_type: arrayOf(
|
|
26758
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
26759
|
+
),
|
|
26760
|
+
|
|
26761
|
+
needs_action_attributes: arrayOf(
|
|
26762
|
+
() => factories['io.flow.restrictions.v0.models.needs_action_attributes'](),
|
|
26763
|
+
),
|
|
26764
|
+
}),
|
|
26765
|
+
|
|
26766
|
+
'io.flow.restrictions.v0.models.reasons_per_region': (): io.flow.restrictions.v0.models.ReasonsPerRegion => ({
|
|
26767
|
+
region: factories.string(),
|
|
26768
|
+
reasons: arrayOf(() => factories.string()),
|
|
26769
|
+
review_status: factories['io.flow.restrictions.v0.enums.restricted_review_status'](),
|
|
26770
|
+
}),
|
|
26771
|
+
|
|
25818
26772
|
'io.flow.return.v0.enums.return_status': (): io.flow.RESERVED_WORD_return.v0.enums.ReturnStatus => faker.helpers.arrayElement(['open', 'refunded']),
|
|
25819
26773
|
|
|
25820
26774
|
'io.flow.return.v0.enums.return_tracking_status': (): io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus => faker.helpers.arrayElement([
|
|
@@ -25933,6 +26887,9 @@ const factories = {
|
|
|
25933
26887
|
]),
|
|
25934
26888
|
|
|
25935
26889
|
'io.flow.sellability.v0.enums.sellability_request_status': (): io.flow.sellability.v0.enums.SellabilityRequestStatus => faker.helpers.arrayElement(['commit']),
|
|
26890
|
+
'io.flow.sellability.v0.enums.sellability_result_error_code': (): io.flow.sellability.v0.enums.SellabilityResultErrorCode => faker.helpers.arrayElement(['insufficient_details', 'generic_error']),
|
|
26891
|
+
'io.flow.sellability.v0.enums.sellability_result_status': (): io.flow.sellability.v0.enums.SellabilityResultStatus => faker.helpers.arrayElement(['in_review', 'succeeded', 'failed']),
|
|
26892
|
+
'io.flow.sellability.v0.enums.sellability_screening_mode': (): io.flow.sellability.v0.enums.SellabilityScreeningMode => faker.helpers.arrayElement(['pre_onboarding', 'default_on', 'active']),
|
|
25936
26893
|
|
|
25937
26894
|
'io.flow.sellability.v0.models.product_sellability': (): io.flow.sellability.v0.models.ProductSellability => ({
|
|
25938
26895
|
discriminator: 'product_sellability',
|
|
@@ -25942,11 +26899,12 @@ const factories = {
|
|
|
25942
26899
|
hs6_code: factories.string(),
|
|
25943
26900
|
|
|
25944
26901
|
restricted_regions: arrayOf(
|
|
25945
|
-
() => factories['io.flow.sellability.v0.models.
|
|
26902
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
25946
26903
|
),
|
|
25947
26904
|
}),
|
|
25948
26905
|
|
|
25949
26906
|
'io.flow.sellability.v0.models.product_sellability_form': (): io.flow.sellability.v0.models.ProductSellabilityForm => ({
|
|
26907
|
+
discriminator: 'product_sellability_form',
|
|
25950
26908
|
shop_id: factories.string(),
|
|
25951
26909
|
product_id: factories.string(),
|
|
25952
26910
|
name: factories.string(),
|
|
@@ -25957,21 +26915,93 @@ const factories = {
|
|
|
25957
26915
|
dry_run: factories.boolean(),
|
|
25958
26916
|
}),
|
|
25959
26917
|
|
|
26918
|
+
'io.flow.sellability.v0.models.product_sellability_result': (): io.flow.sellability.v0.models.ProductSellabilityResult => ({
|
|
26919
|
+
merchant_id: factories.string(),
|
|
26920
|
+
product_id: factories.string(),
|
|
26921
|
+
|
|
26922
|
+
restricted_regions: arrayOf(
|
|
26923
|
+
() => factories['io.flow.sellability.v0.models.sellability_restricted_region'](),
|
|
26924
|
+
),
|
|
26925
|
+
|
|
26926
|
+
needs_action_attributes: arrayOf(
|
|
26927
|
+
() => factories['io.flow.sellability.v0.models.sellability_needs_action_attributes'](),
|
|
26928
|
+
),
|
|
26929
|
+
|
|
26930
|
+
request_id: factories.string(),
|
|
26931
|
+
}),
|
|
26932
|
+
|
|
25960
26933
|
'io.flow.sellability.v0.models.sellability_error': (): io.flow.sellability.v0.models.SellabilityError => ({
|
|
25961
26934
|
discriminator: 'sellability_error',
|
|
25962
26935
|
code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
|
|
25963
26936
|
messages: arrayOf(() => factories.string()),
|
|
25964
26937
|
}),
|
|
25965
26938
|
|
|
26939
|
+
'io.flow.sellability.v0.models.sellability_needs_action_attributes': (): io.flow.sellability.v0.models.SellabilityNeedsActionAttributes => ({
|
|
26940
|
+
reason_code: factories.string(),
|
|
26941
|
+
category_metafield_handles: arrayOf(() => factories.string()),
|
|
26942
|
+
require_msds: factories.boolean(),
|
|
26943
|
+
}),
|
|
26944
|
+
|
|
26945
|
+
'io.flow.sellability.v0.models.sellability_region_result': (): io.flow.sellability.v0.models.SellabilityRegionResult => ({
|
|
26946
|
+
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
26947
|
+
regions: arrayOf(() => factories.string()),
|
|
26948
|
+
}),
|
|
26949
|
+
|
|
26950
|
+
'io.flow.sellability.v0.models.sellability_region_with_reasons': (): io.flow.sellability.v0.models.SellabilityRegionWithReasons => ({
|
|
26951
|
+
region: factories.string(),
|
|
26952
|
+
reasons: arrayOf(() => factories.string()),
|
|
26953
|
+
}),
|
|
26954
|
+
|
|
26955
|
+
'io.flow.sellability.v0.models.sellability_restricted_region': (): io.flow.sellability.v0.models.SellabilityRestrictedRegion => ({
|
|
26956
|
+
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
26957
|
+
|
|
26958
|
+
regions_with_reasons: arrayOf(
|
|
26959
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_with_reasons'](),
|
|
26960
|
+
),
|
|
26961
|
+
}),
|
|
26962
|
+
|
|
26963
|
+
'io.flow.sellability.v0.models.sellability_screening': (): io.flow.sellability.v0.models.SellabilityScreening => ({
|
|
26964
|
+
discriminator: 'sellability_screening',
|
|
26965
|
+
sellability_result: factories['io.flow.sellability.v0.models.product_sellability_result'](),
|
|
26966
|
+
request_id: factories.string(),
|
|
26967
|
+
status: factories['io.flow.sellability.v0.enums.sellability_result_status'](),
|
|
26968
|
+
error_code: factories['io.flow.sellability.v0.enums.sellability_result_error_code'](),
|
|
26969
|
+
error_message: factories.string(),
|
|
26970
|
+
}),
|
|
26971
|
+
|
|
26972
|
+
'io.flow.sellability.v0.models.sellability_screening_form': (): io.flow.sellability.v0.models.SellabilityScreeningForm => ({
|
|
26973
|
+
discriminator: 'sellability_screening_form',
|
|
26974
|
+
merchant_id: factories.string(),
|
|
26975
|
+
product_id: factories.string(),
|
|
26976
|
+
name: factories.string(),
|
|
26977
|
+
price: factories['io.flow.common.v0.models.money'](),
|
|
26978
|
+
description: factories.string(),
|
|
26979
|
+
taxonomy_category: factories['io.flow.product.v0.models.product_taxonomy_category'](),
|
|
26980
|
+
mode: factories['io.flow.sellability.v0.enums.sellability_screening_mode'](),
|
|
26981
|
+
catalog_size: factories.integer(),
|
|
26982
|
+
relative_ranking: factories.decimal(),
|
|
26983
|
+
dry_run: factories.boolean(),
|
|
26984
|
+
}),
|
|
26985
|
+
|
|
25966
26986
|
'io.flow.sellability.v0.models.sellablility_region_result': (): io.flow.sellability.v0.models.SellablilityRegionResult => ({
|
|
25967
26987
|
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
25968
26988
|
regions: arrayOf(() => factories.string()),
|
|
25969
26989
|
}),
|
|
25970
26990
|
|
|
26991
|
+
'io.flow.sellability.v0.unions.sellability_request': (): io.flow.sellability.v0.unions.SellabilityRequest => {
|
|
26992
|
+
const f = faker.helpers.arrayElement([
|
|
26993
|
+
() => factories['io.flow.sellability.v0.models.product_sellability_form'](),
|
|
26994
|
+
() => factories['io.flow.sellability.v0.models.sellability_screening_form'](),
|
|
26995
|
+
]);
|
|
26996
|
+
|
|
26997
|
+
return f();
|
|
26998
|
+
},
|
|
26999
|
+
|
|
25971
27000
|
'io.flow.sellability.v0.unions.sellability_response': (): io.flow.sellability.v0.unions.SellabilityResponse => {
|
|
25972
27001
|
const f = faker.helpers.arrayElement([
|
|
25973
27002
|
() => factories['io.flow.sellability.v0.models.product_sellability'](),
|
|
25974
27003
|
() => factories['io.flow.sellability.v0.models.sellability_error'](),
|
|
27004
|
+
() => factories['io.flow.sellability.v0.models.sellability_screening'](),
|
|
25975
27005
|
]);
|
|
25976
27006
|
|
|
25977
27007
|
return f();
|
|
@@ -27715,6 +28745,17 @@ const factories = {
|
|
|
27715
28745
|
shopify: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_shopify_order_metrics'](),
|
|
27716
28746
|
internal: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_internal_order_metrics'](),
|
|
27717
28747
|
discrepancy_data: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_discrepancy_data'](),
|
|
28748
|
+
|
|
28749
|
+
organization_metrics: arrayOf(
|
|
28750
|
+
() => factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_organization_order_metrics'](),
|
|
28751
|
+
),
|
|
28752
|
+
}),
|
|
28753
|
+
|
|
28754
|
+
'io.flow.shopify.markets.internal.v0.models.shopify_markets_organization_order_metrics': (): io.flow.shopify.markets.internal.v0.models.ShopifyMarketsOrganizationOrderMetrics => ({
|
|
28755
|
+
organization_id: factories.string(),
|
|
28756
|
+
shopify_order_count: factories.long(),
|
|
28757
|
+
internal_order_count: factories.long(),
|
|
28758
|
+
discrepancy_count: factories.long(),
|
|
27718
28759
|
}),
|
|
27719
28760
|
|
|
27720
28761
|
'io.flow.shopify.markets.internal.v0.models.shopify_markets_queued_record': (): io.flow.shopify.markets.internal.v0.models.ShopifyMarketsQueuedRecord => ({
|
|
@@ -28384,6 +29425,7 @@ const factories = {
|
|
|
28384
29425
|
|
|
28385
29426
|
merchant_of_record_app_id: factories.long(),
|
|
28386
29427
|
total_shipping_price_set: factories['io.flow.shopify.markets.v0.models.shopify_order_money_set'](),
|
|
29428
|
+
current_shipping_price_set: factories['io.flow.shopify.markets.v0.models.shopify_order_money_set'](),
|
|
28387
29429
|
total_tip_received: factories.string(),
|
|
28388
29430
|
}),
|
|
28389
29431
|
|
|
@@ -31345,18 +32387,24 @@ export const makeAfterpayRefundDeleted = () => factories['io.flow.internal.v0.mo
|
|
|
31345
32387
|
export const makeAfterpayRefundUpserted = () => factories['io.flow.internal.v0.models.afterpay_refund_upserted']();
|
|
31346
32388
|
export const makeAftershipWebhook = () => factories['io.flow.internal.v0.models.aftership_webhook']();
|
|
31347
32389
|
export const makeAldoItem = () => factories['io.flow.internal.v0.models.aldo_item']();
|
|
32390
|
+
export const makeAldoItemDeleted = () => factories['io.flow.internal.v0.models.aldo_item_deleted']();
|
|
31348
32391
|
export const makeAldoItemForm = () => factories['io.flow.internal.v0.models.aldo_item_form']();
|
|
31349
32392
|
export const makeAldoItemType = () => factories['io.flow.internal.v0.enums.aldo_item_type']();
|
|
32393
|
+
export const makeAldoItemUpserted = () => factories['io.flow.internal.v0.models.aldo_item_upserted']();
|
|
31350
32394
|
export const makeAllItemsExport = () => factories['io.flow.internal.v0.models.all_items_export']();
|
|
31351
32395
|
export const makeAllOrganizationsMembership = () => factories['io.flow.internal.v0.models.all_organizations_membership']();
|
|
31352
32396
|
export const makeAllocationItemReference = () => factories['io.flow.internal.v0.models.allocation_item_reference']();
|
|
31353
32397
|
export const makeAllowedLabels = () => factories['io.flow.internal.v0.models.allowed_labels']();
|
|
31354
32398
|
export const makeAnirbanItem = () => factories['io.flow.internal.v0.models.anirban_item']();
|
|
32399
|
+
export const makeAnirbanItemDeleted = () => factories['io.flow.internal.v0.models.anirban_item_deleted']();
|
|
31355
32400
|
export const makeAnirbanItemForm = () => factories['io.flow.internal.v0.models.anirban_item_form']();
|
|
31356
32401
|
export const makeAnirbanItemType = () => factories['io.flow.internal.v0.enums.anirban_item_type']();
|
|
32402
|
+
export const makeAnirbanItemUpserted = () => factories['io.flow.internal.v0.models.anirban_item_upserted']();
|
|
31357
32403
|
export const makeAnshItem = () => factories['io.flow.internal.v0.models.ansh_item']();
|
|
32404
|
+
export const makeAnshItemDeleted = () => factories['io.flow.internal.v0.models.ansh_item_deleted']();
|
|
31358
32405
|
export const makeAnshItemForm = () => factories['io.flow.internal.v0.models.ansh_item_form']();
|
|
31359
32406
|
export const makeAnshItemType = () => factories['io.flow.internal.v0.enums.ansh_item_type']();
|
|
32407
|
+
export const makeAnshItemUpserted = () => factories['io.flow.internal.v0.models.ansh_item_upserted']();
|
|
31360
32408
|
export const makeAnyDangerousGoods = () => factories['io.flow.internal.v0.enums.any_dangerous_goods']();
|
|
31361
32409
|
export const makeApiCallReferenceId = () => factories['io.flow.internal.v0.enums.api_call_reference_id']();
|
|
31362
32410
|
export const makeApplePayAuthorizationPayload = () => factories['io.flow.internal.v0.models.apple_pay_authorization_payload']();
|
|
@@ -31379,6 +32427,10 @@ export const makeAuthorizedOrderCharge = () => factories['io.flow.internal.v0.un
|
|
|
31379
32427
|
export const makeAuthorizedShippingCharge = () => factories['io.flow.internal.v0.models.authorized_shipping_charge']();
|
|
31380
32428
|
export const makeAutoRestrictRule = () => factories['io.flow.internal.v0.enums.auto_restrict_rule']();
|
|
31381
32429
|
export const makeAutoReviewCriteria = () => factories['io.flow.internal.v0.models.auto_review_criteria']();
|
|
32430
|
+
export const makeB2BTaxLedger = () => factories['io.flow.internal.v0.models.b2b_tax_ledger']();
|
|
32431
|
+
export const makeB2BTaxLedgerDocumentType = () => factories['io.flow.internal.v0.enums.b2b_tax_ledger_document_type']();
|
|
32432
|
+
export const makeB2BTaxLedgerForm = () => factories['io.flow.internal.v0.models.b2b_tax_ledger_form']();
|
|
32433
|
+
export const makeB2BTaxRateType = () => factories['io.flow.internal.v0.enums.b2b_tax_rate_type']();
|
|
31382
32434
|
export const makeBankAccount = () => factories['io.flow.internal.v0.models.bank_account']();
|
|
31383
32435
|
export const makeBankAccountReference = () => factories['io.flow.internal.v0.models.bank_account_reference']();
|
|
31384
32436
|
export const makeBankAccountStatus = () => factories['io.flow.internal.v0.enums.bank_account_status']();
|
|
@@ -31444,6 +32496,7 @@ export const makeBrickWebhookEvent = () => factories['io.flow.internal.v0.models
|
|
|
31444
32496
|
export const makeBrickWebhookEventResponse = () => factories['io.flow.internal.v0.models.brick_webhook_event_response']();
|
|
31445
32497
|
export const makeBulkClassificationAction = () => factories['io.flow.internal.v0.models.bulk_classification_action']();
|
|
31446
32498
|
export const makeBulkDutyUpdateValidationError = () => factories['io.flow.internal.v0.models.bulk_duty_update_validation_error']();
|
|
32499
|
+
export const makeCafe24MarketsWebhook = () => factories['io.flow.internal.v0.models.cafe24_markets_webhook']();
|
|
31447
32500
|
export const makeCalculatedTaxAmount = () => factories['io.flow.internal.v0.models.calculated_tax_amount']();
|
|
31448
32501
|
export const makeCalculationStampingLineItem = () => factories['io.flow.internal.v0.models.calculation_stamping_line_item']();
|
|
31449
32502
|
export const makeCalculationStampingShippingLine = () => factories['io.flow.internal.v0.models.calculation_stamping_shipping_line']();
|
|
@@ -31550,7 +32603,7 @@ export const makeChannelOrderSummary = () => factories['io.flow.internal.v0.mode
|
|
|
31550
32603
|
export const makeChannelOrderSummaryDeleted = () => factories['io.flow.internal.v0.models.channel_order_summary_deleted']();
|
|
31551
32604
|
export const makeChannelOrderSummaryFulfillmentDetails = () => factories['io.flow.internal.v0.models.channel_order_summary_fulfillment_details']();
|
|
31552
32605
|
export const makeChannelOrderSummaryUpserted = () => factories['io.flow.internal.v0.models.channel_order_summary_upserted']();
|
|
31553
|
-
export const
|
|
32606
|
+
export const makeChannelOrganizationDomains = () => factories['io.flow.internal.v0.models.channel_organization_domains']();
|
|
31554
32607
|
export const makeChannelOrganizationIdentifier = () => factories['io.flow.internal.v0.models.channel_organization_identifier']();
|
|
31555
32608
|
export const makeChannelOrganizationIdentifierDeleted = () => factories['io.flow.internal.v0.models.channel_organization_identifier_deleted']();
|
|
31556
32609
|
export const makeChannelOrganizationIdentifierUpserted = () => factories['io.flow.internal.v0.models.channel_organization_identifier_upserted']();
|
|
@@ -31570,6 +32623,8 @@ export const makeChannelRateMetadata = () => factories['io.flow.internal.v0.unio
|
|
|
31570
32623
|
export const makeChannelRateMetadataIdentity = () => factories['io.flow.internal.v0.models.channel_rate_metadata_identity']();
|
|
31571
32624
|
export const makeChannelRateMetadataRate = () => factories['io.flow.internal.v0.models.channel_rate_metadata_rate']();
|
|
31572
32625
|
export const makeChannelService = () => factories['io.flow.internal.v0.enums.channel_service']();
|
|
32626
|
+
export const makeChannelShop = () => factories['io.flow.internal.v0.models.channel_shop']();
|
|
32627
|
+
export const makeChannelShopForm = () => factories['io.flow.internal.v0.models.channel_shop_form']();
|
|
31573
32628
|
export const makeChannelTransaction = () => factories['io.flow.internal.v0.models.channel_transaction']();
|
|
31574
32629
|
export const makeChannelTransactionDeleted = () => factories['io.flow.internal.v0.models.channel_transaction_deleted']();
|
|
31575
32630
|
export const makeChannelTransactionRate = () => factories['io.flow.internal.v0.models.channel_transaction_rate']();
|
|
@@ -31616,6 +32671,7 @@ export const makeClassificationDecision = () => factories['io.flow.internal.v0.e
|
|
|
31616
32671
|
export const makeClassificationDetails = () => factories['io.flow.internal.v0.models.classification_details']();
|
|
31617
32672
|
export const makeClassificationError = () => factories['io.flow.internal.v0.models.classification_error']();
|
|
31618
32673
|
export const makeClassificationErrorCode = () => factories['io.flow.internal.v0.enums.classification_error_code']();
|
|
32674
|
+
export const makeClassificationFailureReason = () => factories['io.flow.internal.v0.enums.classification_failure_reason']();
|
|
31619
32675
|
export const makeClassificationForm = () => factories['io.flow.internal.v0.unions.classification_form']();
|
|
31620
32676
|
export const makeClassificationFormWrapper = () => factories['io.flow.internal.v0.models.classification_form_wrapper']();
|
|
31621
32677
|
export const makeClassificationItem = () => factories['io.flow.internal.v0.models.classification_item']();
|
|
@@ -31853,7 +32909,6 @@ export const makeFeatureDefaultValue = () => factories['io.flow.internal.v0.unio
|
|
|
31853
32909
|
export const makeFeatureDeleted = () => factories['io.flow.internal.v0.models.feature_deleted']();
|
|
31854
32910
|
export const makeFeatureForm = () => factories['io.flow.internal.v0.models.feature_form']();
|
|
31855
32911
|
export const makeFeatureGeoForm = () => factories['io.flow.internal.v0.models.feature_geo_form']();
|
|
31856
|
-
export const makeFeatureIdReference = () => factories['io.flow.internal.v0.models.feature_id_reference']();
|
|
31857
32912
|
export const makeFeatureReference = () => factories['io.flow.internal.v0.models.feature_reference']();
|
|
31858
32913
|
export const makeFeatureReleaseForm = () => factories['io.flow.internal.v0.models.feature_release_form']();
|
|
31859
32914
|
export const makeFeatureRule = () => factories['io.flow.internal.v0.unions.feature_rule']();
|
|
@@ -31971,6 +33026,11 @@ export const makeFxRevenueRecognitionOrder = () => factories['io.flow.internal.v
|
|
|
31971
33026
|
export const makeFxRevenueRecognitionOrganization = () => factories['io.flow.internal.v0.models.fx_revenue_recognition_organization']();
|
|
31972
33027
|
export const makeFxRevenueRecognitionRate = () => factories['io.flow.internal.v0.models.fx_revenue_recognition_rate']();
|
|
31973
33028
|
export const makeFxRevenueRecognitionSource = () => factories['io.flow.internal.v0.models.fx_revenue_recognition_source']();
|
|
33029
|
+
export const makeGabrielItem = () => factories['io.flow.internal.v0.models.gabriel_item']();
|
|
33030
|
+
export const makeGabrielItemDeleted = () => factories['io.flow.internal.v0.models.gabriel_item_deleted']();
|
|
33031
|
+
export const makeGabrielItemForm = () => factories['io.flow.internal.v0.models.gabriel_item_form']();
|
|
33032
|
+
export const makeGabrielItemType = () => factories['io.flow.internal.v0.enums.gabriel_item_type']();
|
|
33033
|
+
export const makeGabrielItemUpserted = () => factories['io.flow.internal.v0.models.gabriel_item_upserted']();
|
|
31974
33034
|
export const makeGeIngestionFileStatus = () => factories['io.flow.internal.v0.enums.ge_ingestion_file_status']();
|
|
31975
33035
|
export const makeGeRevenueShareTransaction = () => factories['io.flow.internal.v0.models.ge_revenue_share_transaction']();
|
|
31976
33036
|
export const makeGeRevenueShareTransactionType = () => factories['io.flow.internal.v0.enums.ge_revenue_share_transaction_type']();
|
|
@@ -32006,9 +33066,12 @@ export const makeHarmonizationUnclassifiedStatistics = () => factories['io.flow.
|
|
|
32006
33066
|
export const makeHarmonizeFullyRequestV2 = () => factories['io.flow.internal.v0.models.harmonize_fully_request_v2']();
|
|
32007
33067
|
export const makeHarmonizedItemsHs6Export = () => factories['io.flow.internal.v0.models.harmonized_items_hs6_export']();
|
|
32008
33068
|
export const makeHoseinItem = () => factories['io.flow.internal.v0.models.hosein_item']();
|
|
33069
|
+
export const makeHoseinItemDeleted = () => factories['io.flow.internal.v0.models.hosein_item_deleted']();
|
|
32009
33070
|
export const makeHoseinItemForm = () => factories['io.flow.internal.v0.models.hosein_item_form']();
|
|
32010
33071
|
export const makeHoseinItemType = () => factories['io.flow.internal.v0.enums.hosein_item_type']();
|
|
33072
|
+
export const makeHoseinItemUpserted = () => factories['io.flow.internal.v0.models.hosein_item_upserted']();
|
|
32011
33073
|
export const makeHs6 = () => factories['io.flow.internal.v0.models.hs6']();
|
|
33074
|
+
export const makeHs6CodeSource = () => factories['io.flow.internal.v0.enums.hs6_code_source']();
|
|
32012
33075
|
export const makeHs6Metadata = () => factories['io.flow.internal.v0.models.hs6_metadata']();
|
|
32013
33076
|
export const makeHttpMethod = () => factories['io.flow.internal.v0.enums.http_method']();
|
|
32014
33077
|
export const makeImportCompleted = () => factories['io.flow.internal.v0.models.import_completed']();
|
|
@@ -32136,6 +33199,10 @@ export const makeLabelsPrediction = () => factories['io.flow.internal.v0.models.
|
|
|
32136
33199
|
export const makeLandedCostItem = () => factories['io.flow.internal.v0.models.landed_cost_item']();
|
|
32137
33200
|
export const makeLandmark = () => factories['io.flow.internal.v0.models.landmark']();
|
|
32138
33201
|
export const makeLastFailureSummary = () => factories['io.flow.internal.v0.models.last_failure_summary']();
|
|
33202
|
+
export const makeLedgerReport = () => factories['io.flow.internal.v0.models.ledger_report']();
|
|
33203
|
+
export const makeLedgerReportType = () => factories['io.flow.internal.v0.enums.ledger_report_type']();
|
|
33204
|
+
export const makeLedgerReportUrl = () => factories['io.flow.internal.v0.models.ledger_report_url']();
|
|
33205
|
+
export const makeLedgerReportUrlType = () => factories['io.flow.internal.v0.enums.ledger_report_url_type']();
|
|
32139
33206
|
export const makeLevyRateSummary = () => factories['io.flow.internal.v0.models.levy_rate_summary']();
|
|
32140
33207
|
export const makeLevyRateSummaryUpserted = () => factories['io.flow.internal.v0.models.levy_rate_summary_upserted']();
|
|
32141
33208
|
export const makeLiability = () => factories['io.flow.internal.v0.models.liability']();
|
|
@@ -32215,8 +33282,10 @@ export const makeNatureOfSale = () => factories['io.flow.internal.v0.enums.natur
|
|
|
32215
33282
|
export const makeNegativeDebitMetrics = () => factories['io.flow.internal.v0.models.negative_debit_metrics']();
|
|
32216
33283
|
export const makeNextBillingStatement = () => factories['io.flow.internal.v0.models.next_billing_statement']();
|
|
32217
33284
|
export const makeNiallItem = () => factories['io.flow.internal.v0.models.niall_item']();
|
|
33285
|
+
export const makeNiallItemDeleted = () => factories['io.flow.internal.v0.models.niall_item_deleted']();
|
|
32218
33286
|
export const makeNiallItemForm = () => factories['io.flow.internal.v0.models.niall_item_form']();
|
|
32219
33287
|
export const makeNiallItemType = () => factories['io.flow.internal.v0.enums.niall_item_type']();
|
|
33288
|
+
export const makeNiallItemUpserted = () => factories['io.flow.internal.v0.models.niall_item_upserted']();
|
|
32220
33289
|
export const makeNoCalculatedTaxAmount = () => factories['io.flow.internal.v0.models.no_calculated_tax_amount']();
|
|
32221
33290
|
export const makeNoClassificationForm = () => factories['io.flow.internal.v0.models.no_classification_form']();
|
|
32222
33291
|
export const makeNoLiabilityReasonCode = () => factories['io.flow.internal.v0.enums.no_liability_reason_code']();
|
|
@@ -32303,9 +33372,6 @@ export const makeOrganizationAccountUpsertedV2 = () => factories['io.flow.intern
|
|
|
32303
33372
|
export const makeOrganizationBankAccountDeleted = () => factories['io.flow.internal.v0.models.organization_bank_account_deleted']();
|
|
32304
33373
|
export const makeOrganizationBankAccountUpserted = () => factories['io.flow.internal.v0.models.organization_bank_account_upserted']();
|
|
32305
33374
|
export const makeOrganizationBillingStatement = () => factories['io.flow.internal.v0.models.organization_billing_statement']();
|
|
32306
|
-
export const makeOrganizationBooleanValue = () => factories['io.flow.internal.v0.models.organization_boolean_value']();
|
|
32307
|
-
export const makeOrganizationBooleanValueDeleted = () => factories['io.flow.internal.v0.models.organization_boolean_value_deleted']();
|
|
32308
|
-
export const makeOrganizationBooleanValueUpserted = () => factories['io.flow.internal.v0.models.organization_boolean_value_upserted']();
|
|
32309
33375
|
export const makeOrganizationBusinessEntity = () => factories['io.flow.internal.v0.models.organization_business_entity']();
|
|
32310
33376
|
export const makeOrganizationBusinessEntityDeleted = () => factories['io.flow.internal.v0.models.organization_business_entity_deleted']();
|
|
32311
33377
|
export const makeOrganizationBusinessEntityUpserted = () => factories['io.flow.internal.v0.models.organization_business_entity_upserted']();
|
|
@@ -32462,6 +33528,16 @@ export const makePrateekItemForm = () => factories['io.flow.internal.v0.models.p
|
|
|
32462
33528
|
export const makePrateekItemType = () => factories['io.flow.internal.v0.enums.prateek_item_type']();
|
|
32463
33529
|
export const makePrediction = () => factories['io.flow.internal.v0.models.prediction']();
|
|
32464
33530
|
export const makePreferredBillingSchedule = () => factories['io.flow.internal.v0.enums.preferred_billing_schedule']();
|
|
33531
|
+
export const makePreonboardingClassificationDecision = () => factories['io.flow.internal.v0.enums.preonboarding_classification_decision']();
|
|
33532
|
+
export const makePreonboardingClassificationPlatform = () => factories['io.flow.internal.v0.enums.preonboarding_classification_platform']();
|
|
33533
|
+
export const makePreonboardingClassificationRabbitmqEnvelope = () => factories['io.flow.internal.v0.models.preonboarding_classification_rabbitmq_envelope']();
|
|
33534
|
+
export const makePreonboardingClassificationRabbitmqMessage = () => factories['io.flow.internal.v0.models.preonboarding_classification_rabbitmq_message']();
|
|
33535
|
+
export const makePreonboardingClassificationRequest = () => factories['io.flow.internal.v0.models.preonboarding_classification_request']();
|
|
33536
|
+
export const makePreonboardingClassificationResult = () => factories['io.flow.internal.v0.models.preonboarding_classification_result']();
|
|
33537
|
+
export const makePreonboardingClassificationType = () => factories['io.flow.internal.v0.enums.preonboarding_classification_type']();
|
|
33538
|
+
export const makePreonboardingMerchant = () => factories['io.flow.internal.v0.models.preonboarding_merchant']();
|
|
33539
|
+
export const makePreonboardingRequestStatus = () => factories['io.flow.internal.v0.enums.preonboarding_request_status']();
|
|
33540
|
+
export const makePreonboardingSellabilityResult = () => factories['io.flow.internal.v0.models.preonboarding_sellability_result']();
|
|
32465
33541
|
export const makePriceInclusivity = () => factories['io.flow.internal.v0.models.price_inclusivity']();
|
|
32466
33542
|
export const makePriceSelector = () => factories['io.flow.internal.v0.enums.price_selector']();
|
|
32467
33543
|
export const makePrioritizedCenterReference = () => factories['io.flow.internal.v0.models.prioritized_center_reference']();
|
|
@@ -32514,6 +33590,7 @@ export const makeProofOfPostingFulfilled = () => factories['io.flow.internal.v0.
|
|
|
32514
33590
|
export const makeProofOfPostingOrderCancellation = () => factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation']();
|
|
32515
33591
|
export const makeProofOfPostingOrderCombinedShipment = () => factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment']();
|
|
32516
33592
|
export const makeProofOfPostingShippingNotification = () => factories['io.flow.internal.v0.models.proof_of_posting_shipping_notification']();
|
|
33593
|
+
export const makeProofOfPostingSynthetic = () => factories['io.flow.internal.v0.models.proof_of_posting_synthetic']();
|
|
32517
33594
|
export const makeProofOfPostingTimeElapsed = () => factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed']();
|
|
32518
33595
|
export const makePspDistribution = () => factories['io.flow.internal.v0.models.psp_distribution']();
|
|
32519
33596
|
export const makePspRoutingDistribution = () => factories['io.flow.internal.v0.models.psp_routing_distribution']();
|
|
@@ -32585,6 +33662,7 @@ export const makeRejectionReason = () => factories['io.flow.internal.v0.enums.re
|
|
|
32585
33662
|
export const makeRemittanceResponsibility = () => factories['io.flow.internal.v0.models.remittance_responsibility']();
|
|
32586
33663
|
export const makeReport = () => factories['io.flow.internal.v0.models.report']();
|
|
32587
33664
|
export const makeReportAccount = () => factories['io.flow.internal.v0.models.report_account']();
|
|
33665
|
+
export const makeReportAmountRange = () => factories['io.flow.internal.v0.models.report_amount_range']();
|
|
32588
33666
|
export const makeReportBankAccount = () => factories['io.flow.internal.v0.models.report_bank_account']();
|
|
32589
33667
|
export const makeReportBankAccountCleartext = () => factories['io.flow.internal.v0.models.report_bank_account_cleartext']();
|
|
32590
33668
|
export const makeReportFile = () => factories['io.flow.internal.v0.models.report_file']();
|
|
@@ -32715,8 +33793,10 @@ export const makeRevenueRecordUpserted = () => factories['io.flow.internal.v0.mo
|
|
|
32715
33793
|
export const makeRiskCheck = () => factories['io.flow.internal.v0.enums.risk_check']();
|
|
32716
33794
|
export const makeRiskEvaluation = () => factories['io.flow.internal.v0.enums.risk_evaluation']();
|
|
32717
33795
|
export const makeRohanItem = () => factories['io.flow.internal.v0.models.rohan_item']();
|
|
33796
|
+
export const makeRohanItemDeleted = () => factories['io.flow.internal.v0.models.rohan_item_deleted']();
|
|
32718
33797
|
export const makeRohanItemForm = () => factories['io.flow.internal.v0.models.rohan_item_form']();
|
|
32719
33798
|
export const makeRohanItemType = () => factories['io.flow.internal.v0.enums.rohan_item_type']();
|
|
33799
|
+
export const makeRohanItemUpserted = () => factories['io.flow.internal.v0.models.rohan_item_upserted']();
|
|
32720
33800
|
export const makeRoutingAccount = () => factories['io.flow.internal.v0.models.routing_account']();
|
|
32721
33801
|
export const makeRoutingEntity = () => factories['io.flow.internal.v0.unions.routing_entity']();
|
|
32722
33802
|
export const makeRoutingMerchant = () => factories['io.flow.internal.v0.models.routing_merchant']();
|
|
@@ -32725,8 +33805,10 @@ export const makeSalesPaymentRecord = () => factories['io.flow.internal.v0.model
|
|
|
32725
33805
|
export const makeSandboxSetup = () => factories['io.flow.internal.v0.models.sandbox_setup']();
|
|
32726
33806
|
export const makeSandboxSetupForm = () => factories['io.flow.internal.v0.models.sandbox_setup_form']();
|
|
32727
33807
|
export const makeSarveshItem = () => factories['io.flow.internal.v0.models.sarvesh_item']();
|
|
33808
|
+
export const makeSarveshItemDeleted = () => factories['io.flow.internal.v0.models.sarvesh_item_deleted']();
|
|
32728
33809
|
export const makeSarveshItemForm = () => factories['io.flow.internal.v0.models.sarvesh_item_form']();
|
|
32729
33810
|
export const makeSarveshItemType = () => factories['io.flow.internal.v0.enums.sarvesh_item_type']();
|
|
33811
|
+
export const makeSarveshItemUpserted = () => factories['io.flow.internal.v0.models.sarvesh_item_upserted']();
|
|
32730
33812
|
export const makeScheduledPayment = () => factories['io.flow.internal.v0.models.scheduled_payment']();
|
|
32731
33813
|
export const makeScreen = () => factories['io.flow.internal.v0.models.screen']();
|
|
32732
33814
|
export const makeScreenForm = () => factories['io.flow.internal.v0.models.screen_form']();
|
|
@@ -32750,6 +33832,9 @@ export const makeShipmentCostSummary = () => factories['io.flow.internal.v0.mode
|
|
|
32750
33832
|
export const makeShippingLane = () => factories['io.flow.internal.v0.models.shipping_lane']();
|
|
32751
33833
|
export const makeShippingMethodReference = () => factories['io.flow.internal.v0.models.shipping_method_reference']();
|
|
32752
33834
|
export const makeShippingPricing = () => factories['io.flow.internal.v0.models.shipping_pricing']();
|
|
33835
|
+
export const makeShippingRateEstimateAvailableInternal = () => factories['io.flow.internal.v0.models.shipping_rate_estimate_available_internal']();
|
|
33836
|
+
export const makeShippingRateEstimateInternal = () => factories['io.flow.internal.v0.models.shipping_rate_estimate_internal']();
|
|
33837
|
+
export const makeShippingRateEstimateRequestInternal = () => factories['io.flow.internal.v0.models.shipping_rate_estimate_request_internal']();
|
|
32753
33838
|
export const makeShopifyCatalogPublication = () => factories['io.flow.internal.v0.models.shopify_catalog_publication']();
|
|
32754
33839
|
export const makeShopifyChannelOrganizationToken = () => factories['io.flow.internal.v0.models.shopify_channel_organization_token']();
|
|
32755
33840
|
export const makeShopifyChannelOrganizationTokens = () => factories['io.flow.internal.v0.models.shopify_channel_organization_tokens']();
|
|
@@ -32789,6 +33874,7 @@ export const makeShopifyMarketsOrderDeleted = () => factories['io.flow.internal.
|
|
|
32789
33874
|
export const makeShopifyMarketsOrderUpserted = () => factories['io.flow.internal.v0.models.shopify_markets_order_upserted']();
|
|
32790
33875
|
export const makeShopifyMarketsOrderVersionWithShopId = () => factories['io.flow.internal.v0.models.shopify_markets_order_version_with_shop_id']();
|
|
32791
33876
|
export const makeShopifyMarketsOrdersMetrics = () => factories['io.flow.internal.v0.models.shopify_markets_orders_metrics']();
|
|
33877
|
+
export const makeShopifyMarketsOrganizationOrderMetrics = () => factories['io.flow.internal.v0.models.shopify_markets_organization_order_metrics']();
|
|
32792
33878
|
export const makeShopifyMarketsQueuedRecord = () => factories['io.flow.internal.v0.models.shopify_markets_queued_record']();
|
|
32793
33879
|
export const makeShopifyMarketsQueuedRecordType = () => factories['io.flow.internal.v0.enums.shopify_markets_queued_record_type']();
|
|
32794
33880
|
export const makeShopifyMarketsShop = () => factories['io.flow.internal.v0.models.shopify_markets_shop']();
|
|
@@ -32969,6 +34055,7 @@ export const makeTaxTransaction = () => factories['io.flow.internal.v0.models.ta
|
|
|
32969
34055
|
export const makeTaxTransactionDeleted = () => factories['io.flow.internal.v0.models.tax_transaction_deleted']();
|
|
32970
34056
|
export const makeTaxTransactionType = () => factories['io.flow.internal.v0.enums.tax_transaction_type']();
|
|
32971
34057
|
export const makeTaxTransactionUpserted = () => factories['io.flow.internal.v0.models.tax_transaction_upserted']();
|
|
34058
|
+
export const makeTaxTypeTotal = () => factories['io.flow.internal.v0.models.tax_type_total']();
|
|
32972
34059
|
export const makeTaxonomyAlignmentCheckResult = () => factories['io.flow.internal.v0.models.taxonomy_alignment_check_result']();
|
|
32973
34060
|
export const makeTaxonomyCategory = () => factories['io.flow.internal.v0.models.taxonomy_category']();
|
|
32974
34061
|
export const makeTaxonomyCategoryClassificationAlignment = () => factories['io.flow.internal.v0.enums.taxonomy_category_classification_alignment']();
|
|
@@ -32990,6 +34077,7 @@ export const makeTimeToClassifyAggregatedUpserted = () => factories['io.flow.int
|
|
|
32990
34077
|
export const makeTimeToClassifyDeleted = () => factories['io.flow.internal.v0.models.time_to_classify_deleted']();
|
|
32991
34078
|
export const makeTimeToClassifyUpserted = () => factories['io.flow.internal.v0.models.time_to_classify_upserted']();
|
|
32992
34079
|
export const makeTimeWithTimezone = () => factories['io.flow.internal.v0.models.time_with_timezone']();
|
|
34080
|
+
export const makeTokens = () => factories['io.flow.internal.v0.models.tokens']();
|
|
32993
34081
|
export const makeTracker = () => factories['io.flow.internal.v0.unions.tracker']();
|
|
32994
34082
|
export const makeTrackingAssuranceAnalysis = () => factories['io.flow.internal.v0.models.tracking_assurance_analysis']();
|
|
32995
34083
|
export const makeTrackingAssuranceAnalysisDeleted = () => factories['io.flow.internal.v0.models.tracking_assurance_analysis_deleted']();
|