@flowio/api-internal-factories 0.0.139 → 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 +1000 -96
- package/dist/esm/api-internal.js +916 -56
- package/dist/types/api-internal.d.ts +47 -4
- package/package.json +2 -2
- package/src/api-internal.ts +1106 -67
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(),
|
|
@@ -2099,6 +2108,7 @@ const factories = {
|
|
|
2099
2108
|
'unsupported_virtual_goods',
|
|
2100
2109
|
'non_matching_currencies',
|
|
2101
2110
|
'unsupported_order_edit',
|
|
2111
|
+
'order_allocation_duties_mismatch',
|
|
2102
2112
|
'order_missing',
|
|
2103
2113
|
]),
|
|
2104
2114
|
|
|
@@ -2155,6 +2165,7 @@ const factories = {
|
|
|
2155
2165
|
order_updated_at: factories.date_time_iso_8601(),
|
|
2156
2166
|
order_edit_summary: factories['io.flow.channel.internal.v0.models.order_edit_summary'](),
|
|
2157
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'](),
|
|
2158
2169
|
}),
|
|
2159
2170
|
|
|
2160
2171
|
'io.flow.channel.internal.v0.models.channel_order_acceptance_details': (): io.flow.channel.internal.v0.models.ChannelOrderAcceptanceDetails => ({
|
|
@@ -2261,6 +2272,35 @@ const factories = {
|
|
|
2261
2272
|
token: factories.string(),
|
|
2262
2273
|
}),
|
|
2263
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
|
+
|
|
2264
2304
|
'io.flow.channel.v0.enums.channel_currency_capability': (): io.flow.channel.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
2265
2305
|
|
|
2266
2306
|
'io.flow.channel.v0.models.channel': (): io.flow.channel.v0.models.Channel => ({
|
|
@@ -2628,6 +2668,8 @@ const factories = {
|
|
|
2628
2668
|
'io.flow.common.v0.models.merchant_of_record_entity_registration': (): io.flow.common.v0.models.MerchantOfRecordEntityRegistration => ({
|
|
2629
2669
|
number: factories.string(),
|
|
2630
2670
|
country: factories.string(),
|
|
2671
|
+
province_number: factories.string(),
|
|
2672
|
+
province: factories.string(),
|
|
2631
2673
|
}),
|
|
2632
2674
|
|
|
2633
2675
|
'io.flow.common.v0.models.money': (): io.flow.common.v0.models.Money => ({
|
|
@@ -2870,6 +2912,302 @@ const factories = {
|
|
|
2870
2912
|
return f();
|
|
2871
2913
|
},
|
|
2872
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
|
+
|
|
2873
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']),
|
|
2874
3212
|
'io.flow.crypto.v0.enums.payment_status': (): io.flow.crypto.v0.enums.PaymentStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'cancelled']),
|
|
2875
3213
|
'io.flow.crypto.v0.enums.reason_type': (): io.flow.crypto.v0.enums.ReasonType => faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']),
|
|
@@ -6665,6 +7003,8 @@ const factories = {
|
|
|
6665
7003
|
'prr-74e1320efb7741cf9ace400b69800f9b',
|
|
6666
7004
|
]),
|
|
6667
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']),
|
|
6668
7008
|
'io.flow.internal.v0.enums.bank_account_status': (): io.flow.internal.v0.enums.BankAccountStatus => faker.helpers.arrayElement(['on_hold', 'not_on_hold']),
|
|
6669
7009
|
'io.flow.internal.v0.enums.bank_payment_promise_completed_method': (): io.flow.internal.v0.enums.BankPaymentPromiseCompletedMethod => faker.helpers.arrayElement(['credit', 'time']),
|
|
6670
7010
|
'io.flow.internal.v0.enums.bank_payment_status_code': (): io.flow.internal.v0.enums.BankPaymentStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'failed']),
|
|
@@ -6944,6 +7284,8 @@ const factories = {
|
|
|
6944
7284
|
'merchant_fee',
|
|
6945
7285
|
'merchant_payout',
|
|
6946
7286
|
'merchant_refund',
|
|
7287
|
+
'b2b_tax',
|
|
7288
|
+
'b2b_tax_refund',
|
|
6947
7289
|
]),
|
|
6948
7290
|
|
|
6949
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']),
|
|
@@ -6995,6 +7337,7 @@ const factories = {
|
|
|
6995
7337
|
'unsupported_virtual_goods',
|
|
6996
7338
|
'non_matching_currencies',
|
|
6997
7339
|
'unsupported_order_edit',
|
|
7340
|
+
'order_allocation_duties_mismatch',
|
|
6998
7341
|
'order_missing',
|
|
6999
7342
|
]),
|
|
7000
7343
|
|
|
@@ -7037,7 +7380,8 @@ const factories = {
|
|
|
7037
7380
|
'io.flow.internal.v0.enums.checkout_url_type': (): io.flow.internal.v0.enums.CheckoutUrlType => faker.helpers.arrayElement(['continue_shopping', 'confirmation', 'invalid_checkout']),
|
|
7038
7381
|
'io.flow.internal.v0.enums.classification_decision': (): io.flow.internal.v0.enums.ClassificationDecision => faker.helpers.arrayElement(['Accept', 'Reject']),
|
|
7039
7382
|
'io.flow.internal.v0.enums.classification_error_code': (): io.flow.internal.v0.enums.ClassificationErrorCode => faker.helpers.arrayElement(['generic_error']),
|
|
7040
|
-
'io.flow.internal.v0.enums.
|
|
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']),
|
|
7041
7385
|
'io.flow.internal.v0.enums.classification_scope': (): io.flow.internal.v0.enums.ClassificationScope => faker.helpers.arrayElement(['Item', 'Product']),
|
|
7042
7386
|
'io.flow.internal.v0.enums.classification_type': (): io.flow.internal.v0.enums.ClassificationType => faker.helpers.arrayElement(['None', 'Manual', 'ML', 'System']),
|
|
7043
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']),
|
|
@@ -7219,8 +7563,6 @@ const factories = {
|
|
|
7219
7563
|
'export_failed',
|
|
7220
7564
|
'feature_upserted',
|
|
7221
7565
|
'feature_deleted',
|
|
7222
|
-
'organization_boolean_value_upserted',
|
|
7223
|
-
'organization_boolean_value_deleted',
|
|
7224
7566
|
'account_settings_upserted',
|
|
7225
7567
|
'account_settings_deleted',
|
|
7226
7568
|
'account_processing_rates_upserted',
|
|
@@ -7456,6 +7798,22 @@ const factories = {
|
|
|
7456
7798
|
'stripe_connect_report_record_deleted',
|
|
7457
7799
|
'liability_remittance_plan_upserted',
|
|
7458
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',
|
|
7459
7817
|
'tracking_processing_error_upserted',
|
|
7460
7818
|
'tracking_processing_error_deleted',
|
|
7461
7819
|
'tracking_label_event_upserted_v2',
|
|
@@ -7490,6 +7848,7 @@ const factories = {
|
|
|
7490
7848
|
'io.flow.internal.v0.enums.fraud_provider': (): io.flow.internal.v0.enums.FraudProvider => faker.helpers.arrayElement(['flow', 'forter', 'paypal', 'riskified', 'rps', 'other', 'none']),
|
|
7491
7849
|
'io.flow.internal.v0.enums.fraud_provider_status': (): io.flow.internal.v0.enums.FraudProviderStatus => faker.helpers.arrayElement(['active', 'archived']),
|
|
7492
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']),
|
|
7493
7852
|
'io.flow.internal.v0.enums.ge_ingestion_file_status': (): io.flow.internal.v0.enums.GeIngestionFileStatus => faker.helpers.arrayElement(['pending', 'processed']),
|
|
7494
7853
|
'io.flow.internal.v0.enums.ge_revenue_share_transaction_type': (): io.flow.internal.v0.enums.GeRevenueShareTransactionType => faker.helpers.arrayElement(['adjustment', 'reversal', 'revenue_share']),
|
|
7495
7854
|
'io.flow.internal.v0.enums.google_analytics_plugin': (): io.flow.internal.v0.enums.GoogleAnalyticsPlugin => faker.helpers.arrayElement(['ec']),
|
|
@@ -7509,6 +7868,7 @@ const factories = {
|
|
|
7509
7868
|
|
|
7510
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']),
|
|
7511
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']),
|
|
7512
7872
|
'io.flow.internal.v0.enums.http_method': (): io.flow.internal.v0.enums.HttpMethod => faker.helpers.arrayElement(['get', 'post']),
|
|
7513
7873
|
'io.flow.internal.v0.enums.internal_payment_entity_type': (): io.flow.internal.v0.enums.InternalPaymentEntityType => faker.helpers.arrayElement(['authorization', 'capture', 'refund', 'dispute']),
|
|
7514
7874
|
'io.flow.internal.v0.enums.item_classification_action': (): io.flow.internal.v0.enums.ItemClassificationAction => faker.helpers.arrayElement(['ACCEPT', 'MANUAL', 'REJECT']),
|
|
@@ -7554,6 +7914,8 @@ const factories = {
|
|
|
7554
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']),
|
|
7555
7915
|
'io.flow.internal.v0.enums.label_request_result_state': (): io.flow.internal.v0.enums.LabelRequestResultState => faker.helpers.arrayElement(['success', 'failure']),
|
|
7556
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']),
|
|
7557
7919
|
|
|
7558
7920
|
'io.flow.internal.v0.enums.liability_type': (): io.flow.internal.v0.enums.LiabilityType => faker.helpers.arrayElement(
|
|
7559
7921
|
['full_value_tax', 'low_value_goods_tax', 'high_value_goods_tax', 'duties'],
|
|
@@ -7589,6 +7951,12 @@ const factories = {
|
|
|
7589
7951
|
'global_e_united_kingdom',
|
|
7590
7952
|
'global_e_canada',
|
|
7591
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',
|
|
7592
7960
|
]),
|
|
7593
7961
|
|
|
7594
7962
|
'io.flow.internal.v0.enums.merchant_override_status': (): io.flow.internal.v0.enums.MerchantOverrideStatus => faker.helpers.arrayElement(['pending', 'in_review', 'accepted', 'rejected']),
|
|
@@ -7630,7 +7998,6 @@ const factories = {
|
|
|
7630
7998
|
'fraud',
|
|
7631
7999
|
'logistics',
|
|
7632
8000
|
'payments',
|
|
7633
|
-
'shopify_markets',
|
|
7634
8001
|
'integration_partner',
|
|
7635
8002
|
'dtce',
|
|
7636
8003
|
'restrictions',
|
|
@@ -7715,6 +8082,10 @@ const factories = {
|
|
|
7715
8082
|
'io.flow.internal.v0.enums.pending_record_type': (): io.flow.internal.v0.enums.PendingRecordType => faker.helpers.arrayElement(['verification', 'classification', 'restriction']),
|
|
7716
8083
|
'io.flow.internal.v0.enums.prateek_item_type': (): io.flow.internal.v0.enums.PrateekItemType => faker.helpers.arrayElement(['physical', 'digital']),
|
|
7717
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']),
|
|
7718
8089
|
'io.flow.internal.v0.enums.price_selector': (): io.flow.internal.v0.enums.PriceSelector => faker.helpers.arrayElement(['minimum', 'maximum']),
|
|
7719
8090
|
|
|
7720
8091
|
'io.flow.internal.v0.enums.processing_transaction_type': (): io.flow.internal.v0.enums.ProcessingTransactionType => faker.helpers.arrayElement([
|
|
@@ -7773,6 +8144,7 @@ const factories = {
|
|
|
7773
8144
|
'trueup_overview',
|
|
7774
8145
|
'non_channel_payment_bank_account',
|
|
7775
8146
|
'scheduled_payment',
|
|
8147
|
+
'scheduled_payment_citi',
|
|
7776
8148
|
'account_quarterly_balances',
|
|
7777
8149
|
'invariants',
|
|
7778
8150
|
'payments',
|
|
@@ -7802,7 +8174,15 @@ const factories = {
|
|
|
7802
8174
|
),
|
|
7803
8175
|
|
|
7804
8176
|
'io.flow.internal.v0.enums.restriction_decision': (): io.flow.internal.v0.enums.RestrictionDecision => faker.helpers.arrayElement(['accept', 'escalate', 'reject', 'review']),
|
|
7805
|
-
|
|
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
|
+
|
|
7806
8186
|
'io.flow.internal.v0.enums.restriction_organization_source': (): io.flow.internal.v0.enums.RestrictionOrganizationSource => faker.helpers.arrayElement(['smb', 'enterprise']),
|
|
7807
8187
|
'io.flow.internal.v0.enums.restriction_rule_activation_status': (): io.flow.internal.v0.enums.RestrictionRuleActivationStatus => faker.helpers.arrayElement(['draft', 'active', 'inactive']),
|
|
7808
8188
|
'io.flow.internal.v0.enums.restriction_rule_community_exemption': (): io.flow.internal.v0.enums.RestrictionRuleCommunityExemption => faker.helpers.arrayElement(['domestic_exemption', 'intra_eu_exemption']),
|
|
@@ -7910,6 +8290,7 @@ const factories = {
|
|
|
7910
8290
|
'payment',
|
|
7911
8291
|
'rate_levels',
|
|
7912
8292
|
'center_defaults',
|
|
8293
|
+
'item_dimensions',
|
|
7913
8294
|
]),
|
|
7914
8295
|
|
|
7915
8296
|
'io.flow.internal.v0.enums.tax_and_duty_inclusivity_setting': (): io.flow.internal.v0.enums.TaxAndDutyInclusivitySetting => faker.helpers.arrayElement([
|
|
@@ -8657,6 +9038,13 @@ const factories = {
|
|
|
8657
9038
|
added_on: factories.date_iso_8601(),
|
|
8658
9039
|
}),
|
|
8659
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
|
+
|
|
8660
9048
|
'io.flow.internal.v0.models.aldo_item_form': (): io.flow.internal.v0.models.AldoItemForm => ({
|
|
8661
9049
|
number: factories.string(),
|
|
8662
9050
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8665,6 +9053,13 @@ const factories = {
|
|
|
8665
9053
|
added_on: factories.date_iso_8601(),
|
|
8666
9054
|
}),
|
|
8667
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
|
+
|
|
8668
9063
|
'io.flow.internal.v0.models.all_items_export': (): io.flow.internal.v0.models.AllItemsExport => ({
|
|
8669
9064
|
discriminator: 'all_items_export',
|
|
8670
9065
|
event_id: factories.string(),
|
|
@@ -8696,6 +9091,13 @@ const factories = {
|
|
|
8696
9091
|
added_on: factories.date_time_iso_8601(),
|
|
8697
9092
|
}),
|
|
8698
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
|
+
|
|
8699
9101
|
'io.flow.internal.v0.models.anirban_item_form': (): io.flow.internal.v0.models.AnirbanItemForm => ({
|
|
8700
9102
|
number: factories.string(),
|
|
8701
9103
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8704,6 +9106,13 @@ const factories = {
|
|
|
8704
9106
|
added_on: factories.date_time_iso_8601(),
|
|
8705
9107
|
}),
|
|
8706
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
|
+
|
|
8707
9116
|
'io.flow.internal.v0.models.ansh_item': (): io.flow.internal.v0.models.AnshItem => ({
|
|
8708
9117
|
id: factories.string(),
|
|
8709
9118
|
number: factories.string(),
|
|
@@ -8713,6 +9122,13 @@ const factories = {
|
|
|
8713
9122
|
added_on: factories.date_iso_8601(),
|
|
8714
9123
|
}),
|
|
8715
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
|
+
|
|
8716
9132
|
'io.flow.internal.v0.models.ansh_item_form': (): io.flow.internal.v0.models.AnshItemForm => ({
|
|
8717
9133
|
number: factories.string(),
|
|
8718
9134
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -8721,6 +9137,13 @@ const factories = {
|
|
|
8721
9137
|
added_on: factories.date_iso_8601(),
|
|
8722
9138
|
}),
|
|
8723
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
|
+
|
|
8724
9147
|
'io.flow.internal.v0.models.apple_pay_authorization_payload': (): io.flow.internal.v0.models.ApplePayAuthorizationPayload => ({
|
|
8725
9148
|
discriminator: 'apple_pay_authorization_payload',
|
|
8726
9149
|
apple_pay_token: factories.string(),
|
|
@@ -8827,6 +9250,43 @@ const factories = {
|
|
|
8827
9250
|
action: factories['io.flow.internal.v0.enums.restriction_status'](),
|
|
8828
9251
|
}),
|
|
8829
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
|
+
|
|
8830
9290
|
'io.flow.internal.v0.models.bank_account': (): io.flow.internal.v0.models.BankAccount => ({
|
|
8831
9291
|
status: factories['io.flow.internal.v0.enums.bank_account_status'](),
|
|
8832
9292
|
hold_created_at: factories.date_time_iso_8601(),
|
|
@@ -9141,6 +9601,8 @@ const factories = {
|
|
|
9141
9601
|
non_l4l_tax_duty_fx: factories['io.flow.common.v0.models.price'](),
|
|
9142
9602
|
ending_balance: factories['io.flow.common.v0.models.price'](),
|
|
9143
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'](),
|
|
9144
9606
|
}),
|
|
9145
9607
|
|
|
9146
9608
|
'io.flow.internal.v0.models.billing_statement_upserted': (): io.flow.internal.v0.models.BillingStatementUpserted => ({
|
|
@@ -9261,6 +9723,10 @@ const factories = {
|
|
|
9261
9723
|
next_action_from: factories['io.flow.internal.v0.enums.channel_order_acceptance_next_action_from'](),
|
|
9262
9724
|
}),
|
|
9263
9725
|
|
|
9726
|
+
'io.flow.internal.v0.models.cafe24_markets_webhook': (): io.flow.internal.v0.models.Cafe24MarketsWebhook => ({
|
|
9727
|
+
placeholder: factories.json(),
|
|
9728
|
+
}),
|
|
9729
|
+
|
|
9264
9730
|
'io.flow.internal.v0.models.calculated_tax_amount': (): io.flow.internal.v0.models.CalculatedTaxAmount => ({
|
|
9265
9731
|
discriminator: 'calculated_tax_amount',
|
|
9266
9732
|
amount: factories.decimal(),
|
|
@@ -9875,6 +10341,7 @@ const factories = {
|
|
|
9875
10341
|
order_updated_at: factories.date_time_iso_8601(),
|
|
9876
10342
|
order_edit_summary: factories['io.flow.internal.v0.models.order_edit_summary'](),
|
|
9877
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'](),
|
|
9878
10345
|
}),
|
|
9879
10346
|
|
|
9880
10347
|
'io.flow.internal.v0.models.channel_order_acceptance_deleted': (): io.flow.internal.v0.models.ChannelOrderAcceptanceDeleted => ({
|
|
@@ -11802,10 +12269,6 @@ const factories = {
|
|
|
11802
12269
|
region: factories.string(),
|
|
11803
12270
|
}),
|
|
11804
12271
|
|
|
11805
|
-
'io.flow.internal.v0.models.feature_id_reference': (): io.flow.internal.v0.models.FeatureIdReference => ({
|
|
11806
|
-
id: factories.string(),
|
|
11807
|
-
}),
|
|
11808
|
-
|
|
11809
12272
|
'io.flow.internal.v0.models.feature_reference': (): io.flow.internal.v0.models.FeatureReference => ({
|
|
11810
12273
|
id: factories.string(),
|
|
11811
12274
|
key: factories.string(),
|
|
@@ -12510,6 +12973,7 @@ const factories = {
|
|
|
12510
12973
|
fulfilled_at: factories.date_time_iso_8601(),
|
|
12511
12974
|
sequence_number: factories.long(),
|
|
12512
12975
|
completes_order: factories.boolean(),
|
|
12976
|
+
trigger: factories['io.flow.internal.v0.unions.fulfillment_trigger'](),
|
|
12513
12977
|
}),
|
|
12514
12978
|
|
|
12515
12979
|
'io.flow.internal.v0.models.fulfillment_status_upserted': (): io.flow.internal.v0.models.FulfillmentStatusUpserted => ({
|
|
@@ -12592,14 +13056,45 @@ const factories = {
|
|
|
12592
13056
|
transaction_created_at: factories.date_time_iso_8601(),
|
|
12593
13057
|
}),
|
|
12594
13058
|
|
|
12595
|
-
'io.flow.internal.v0.models.
|
|
12596
|
-
discriminator: 'ge_revenue_share_transaction',
|
|
12597
|
-
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
12598
|
-
ge_revenue_share: factories['io.flow.internal.v0.models.fee'](),
|
|
13059
|
+
'io.flow.internal.v0.models.gabriel_item': (): io.flow.internal.v0.models.GabrielItem => ({
|
|
12599
13060
|
id: factories.string(),
|
|
12600
|
-
|
|
12601
|
-
|
|
12602
|
-
|
|
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
|
+
|
|
13090
|
+
'io.flow.internal.v0.models.ge_revenue_share_transaction': (): io.flow.internal.v0.models.GeRevenueShareTransaction => ({
|
|
13091
|
+
discriminator: 'ge_revenue_share_transaction',
|
|
13092
|
+
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
13093
|
+
ge_revenue_share: factories['io.flow.internal.v0.models.fee'](),
|
|
13094
|
+
id: factories.string(),
|
|
13095
|
+
type: factories['io.flow.internal.v0.enums.billing_transaction_type'](),
|
|
13096
|
+
status: factories['io.flow.internal.v0.enums.billing_transaction_status'](),
|
|
13097
|
+
posted_at: factories.date_time_iso_8601(),
|
|
12603
13098
|
value: factories['io.flow.common.v0.models.price'](),
|
|
12604
13099
|
description: factories.string(),
|
|
12605
13100
|
statement: factories['io.flow.internal.v0.models.billing_statement_reference'](),
|
|
@@ -12794,6 +13289,13 @@ const factories = {
|
|
|
12794
13289
|
added_on: factories.date_time_iso_8601(),
|
|
12795
13290
|
}),
|
|
12796
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
|
+
|
|
12797
13299
|
'io.flow.internal.v0.models.hosein_item_form': (): io.flow.internal.v0.models.HoseinItemForm => ({
|
|
12798
13300
|
number: factories.string(),
|
|
12799
13301
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -12802,6 +13304,13 @@ const factories = {
|
|
|
12802
13304
|
added_on: factories.date_time_iso_8601(),
|
|
12803
13305
|
}),
|
|
12804
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
|
+
|
|
12805
13314
|
'io.flow.internal.v0.models.hs6': (): io.flow.internal.v0.models.Hs6 => ({
|
|
12806
13315
|
code: factories.string(),
|
|
12807
13316
|
description: factories.string(),
|
|
@@ -13030,8 +13539,6 @@ const factories = {
|
|
|
13030
13539
|
customs_value: factories.decimal(),
|
|
13031
13540
|
total_value: factories.decimal(),
|
|
13032
13541
|
usa_exporter_identifier_number_if_value_over_threshold: factories.string(),
|
|
13033
|
-
feature_israel_notes_import_duty_and_taxes_due: factories.boolean(),
|
|
13034
|
-
feature_new_export_declaration: factories.boolean(),
|
|
13035
13542
|
}),
|
|
13036
13543
|
|
|
13037
13544
|
'io.flow.internal.v0.models.invoice_data_line_item': (): io.flow.internal.v0.models.InvoiceDataLineItem => ({
|
|
@@ -13042,7 +13549,7 @@ const factories = {
|
|
|
13042
13549
|
tariff_code: factories.string(),
|
|
13043
13550
|
country_of_origin: factories.string(),
|
|
13044
13551
|
display_country_of_origin: factories.string(),
|
|
13045
|
-
|
|
13552
|
+
remitter: factories['io.flow.internal.v0.enums.tax_party'](),
|
|
13046
13553
|
gst_paid_text: factories.string(),
|
|
13047
13554
|
unit_price: factories.decimal(),
|
|
13048
13555
|
vat_price: factories.decimal(),
|
|
@@ -13526,6 +14033,8 @@ const factories = {
|
|
|
13526
14033
|
service_id: factories.string(),
|
|
13527
14034
|
errors: arrayOf(() => factories.string()),
|
|
13528
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'](),
|
|
13529
14038
|
}),
|
|
13530
14039
|
|
|
13531
14040
|
'io.flow.internal.v0.models.label_request_error_deleted': (): io.flow.internal.v0.models.LabelRequestErrorDeleted => ({
|
|
@@ -13691,6 +14200,21 @@ const factories = {
|
|
|
13691
14200
|
errors: arrayOf(() => factories.string()),
|
|
13692
14201
|
}),
|
|
13693
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
|
+
|
|
13694
14218
|
'io.flow.internal.v0.models.levy_rate_summary': (): io.flow.internal.v0.models.LevyRateSummary => ({
|
|
13695
14219
|
id: factories.string(),
|
|
13696
14220
|
number: factories.string(),
|
|
@@ -14242,6 +14766,13 @@ const factories = {
|
|
|
14242
14766
|
added_on: factories.date_time_iso_8601(),
|
|
14243
14767
|
}),
|
|
14244
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
|
+
|
|
14245
14776
|
'io.flow.internal.v0.models.niall_item_form': (): io.flow.internal.v0.models.NiallItemForm => ({
|
|
14246
14777
|
number: factories.string(),
|
|
14247
14778
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -14250,6 +14781,13 @@ const factories = {
|
|
|
14250
14781
|
added_on: factories.date_time_iso_8601(),
|
|
14251
14782
|
}),
|
|
14252
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
|
+
|
|
14253
14791
|
'io.flow.internal.v0.models.no_calculated_tax_amount': (): io.flow.internal.v0.models.NoCalculatedTaxAmount => ({
|
|
14254
14792
|
discriminator: 'no_calculated_tax_amount',
|
|
14255
14793
|
amount: factories.decimal(),
|
|
@@ -14337,6 +14875,7 @@ const factories = {
|
|
|
14337
14875
|
health_score: factories.decimal(),
|
|
14338
14876
|
audit_result: factories['io.flow.internal.v0.enums.onboarding_audit_result'](),
|
|
14339
14877
|
blocked_since: factories.date_time_iso_8601(),
|
|
14878
|
+
onboarding_segment: factories.string(),
|
|
14340
14879
|
}),
|
|
14341
14880
|
|
|
14342
14881
|
'io.flow.internal.v0.models.onboarding_state_form': (): io.flow.internal.v0.models.OnboardingStateForm => ({
|
|
@@ -14791,27 +15330,6 @@ const factories = {
|
|
|
14791
15330
|
),
|
|
14792
15331
|
}),
|
|
14793
15332
|
|
|
14794
|
-
'io.flow.internal.v0.models.organization_boolean_value': (): io.flow.internal.v0.models.OrganizationBooleanValue => ({
|
|
14795
|
-
id: factories.string(),
|
|
14796
|
-
organization: factories['io.flow.common.v0.models.organization_reference'](),
|
|
14797
|
-
feature: factories['io.flow.internal.v0.models.feature_id_reference'](),
|
|
14798
|
-
value: factories.boolean(),
|
|
14799
|
-
}),
|
|
14800
|
-
|
|
14801
|
-
'io.flow.internal.v0.models.organization_boolean_value_deleted': (): io.flow.internal.v0.models.OrganizationBooleanValueDeleted => ({
|
|
14802
|
-
discriminator: 'organization_boolean_value_deleted',
|
|
14803
|
-
event_id: factories.string(),
|
|
14804
|
-
timestamp: factories.date_time_iso_8601(),
|
|
14805
|
-
value: factories['io.flow.internal.v0.models.organization_boolean_value'](),
|
|
14806
|
-
}),
|
|
14807
|
-
|
|
14808
|
-
'io.flow.internal.v0.models.organization_boolean_value_upserted': (): io.flow.internal.v0.models.OrganizationBooleanValueUpserted => ({
|
|
14809
|
-
discriminator: 'organization_boolean_value_upserted',
|
|
14810
|
-
event_id: factories.string(),
|
|
14811
|
-
timestamp: factories.date_time_iso_8601(),
|
|
14812
|
-
value: factories['io.flow.internal.v0.models.organization_boolean_value'](),
|
|
14813
|
-
}),
|
|
14814
|
-
|
|
14815
15333
|
'io.flow.internal.v0.models.organization_business_entity': (): io.flow.internal.v0.models.OrganizationBusinessEntity => ({
|
|
14816
15334
|
id: factories.string(),
|
|
14817
15335
|
name: factories.string(),
|
|
@@ -15423,6 +15941,7 @@ const factories = {
|
|
|
15423
15941
|
'io.flow.internal.v0.models.payment_is': (): io.flow.internal.v0.models.PaymentIs => ({
|
|
15424
15942
|
lvg: factories.boolean(),
|
|
15425
15943
|
manual: factories.boolean(),
|
|
15944
|
+
managed_pricing: factories.boolean(),
|
|
15426
15945
|
}),
|
|
15427
15946
|
|
|
15428
15947
|
'io.flow.internal.v0.models.payment_method_detail': (): io.flow.internal.v0.models.PaymentMethodDetail => ({
|
|
@@ -15888,6 +16407,80 @@ const factories = {
|
|
|
15888
16407
|
item: factories.string(),
|
|
15889
16408
|
}),
|
|
15890
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
|
+
|
|
15891
16484
|
'io.flow.internal.v0.models.price_inclusivity': (): io.flow.internal.v0.models.PriceInclusivity => ({
|
|
15892
16485
|
tax: factories.boolean(),
|
|
15893
16486
|
duty: factories.boolean(),
|
|
@@ -16147,7 +16740,7 @@ const factories = {
|
|
|
16147
16740
|
hs6_code: factories.string(),
|
|
16148
16741
|
|
|
16149
16742
|
restricted_regions: arrayOf(
|
|
16150
|
-
() => factories['io.flow.sellability.v0.models.
|
|
16743
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
16151
16744
|
),
|
|
16152
16745
|
|
|
16153
16746
|
rule_ids: arrayOf(() => factories.string()),
|
|
@@ -16163,7 +16756,7 @@ const factories = {
|
|
|
16163
16756
|
|
|
16164
16757
|
'io.flow.internal.v0.models.product_sellability_internal_result': (): io.flow.internal.v0.models.ProductSellabilityInternalResult => ({
|
|
16165
16758
|
restricted_regions: arrayOf(
|
|
16166
|
-
() => factories['io.flow.sellability.v0.models.
|
|
16759
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
16167
16760
|
),
|
|
16168
16761
|
|
|
16169
16762
|
rule_ids: arrayOf(() => factories.string()),
|
|
@@ -16177,7 +16770,7 @@ const factories = {
|
|
|
16177
16770
|
restricted_regions: arrayOf(() => factories.string()),
|
|
16178
16771
|
|
|
16179
16772
|
restricted_regions_by_type: arrayOf(
|
|
16180
|
-
() => factories['io.flow.sellability.v0.models.
|
|
16773
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
16181
16774
|
),
|
|
16182
16775
|
|
|
16183
16776
|
rule_ids: arrayOf(() => factories.string()),
|
|
@@ -16215,6 +16808,12 @@ const factories = {
|
|
|
16215
16808
|
shipping_notification_id: factories.string(),
|
|
16216
16809
|
}),
|
|
16217
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
|
+
|
|
16218
16817
|
'io.flow.internal.v0.models.proof_of_posting_time_elapsed': (): io.flow.internal.v0.models.ProofOfPostingTimeElapsed => ({
|
|
16219
16818
|
discriminator: 'time_elapsed',
|
|
16220
16819
|
order: factories['io.flow.internal.v0.models.billing_order_transaction_order_reference'](),
|
|
@@ -16700,6 +17299,11 @@ const factories = {
|
|
|
16700
17299
|
source: factories['io.flow.internal.v0.models.account_source'](),
|
|
16701
17300
|
}),
|
|
16702
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
|
+
|
|
16703
17307
|
'io.flow.internal.v0.models.report_bank_account': (): io.flow.internal.v0.models.ReportBankAccount => ({
|
|
16704
17308
|
id: factories.string(),
|
|
16705
17309
|
last4: factories.string(),
|
|
@@ -16724,6 +17328,7 @@ const factories = {
|
|
|
16724
17328
|
'io.flow.internal.v0.models.report_filter': (): io.flow.internal.v0.models.ReportFilter => ({
|
|
16725
17329
|
source_type: factories['io.flow.internal.v0.enums.source_type_filter'](),
|
|
16726
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'](),
|
|
16727
17332
|
}),
|
|
16728
17333
|
|
|
16729
17334
|
'io.flow.internal.v0.models.report_form': (): io.flow.internal.v0.models.ReportForm => ({
|
|
@@ -17169,7 +17774,7 @@ const factories = {
|
|
|
17169
17774
|
'io.flow.internal.v0.models.restriction_organization': (): io.flow.internal.v0.models.RestrictionOrganization => ({
|
|
17170
17775
|
id: factories.string(),
|
|
17171
17776
|
name: factories.string(),
|
|
17172
|
-
environment: factories['io.flow.
|
|
17777
|
+
environment: factories['io.flow.restrictions.v0.enums.restriction_environment'](),
|
|
17173
17778
|
url: factories.string(),
|
|
17174
17779
|
approval_status: factories['io.flow.internal.v0.enums.organization_restriction_approval_status'](),
|
|
17175
17780
|
screening_status: factories['io.flow.internal.v0.enums.organization_restriction_screening_status'](),
|
|
@@ -17224,7 +17829,7 @@ const factories = {
|
|
|
17224
17829
|
'io.flow.internal.v0.models.restriction_organization_summary': (): io.flow.internal.v0.models.RestrictionOrganizationSummary => ({
|
|
17225
17830
|
id: factories.string(),
|
|
17226
17831
|
name: factories.string(),
|
|
17227
|
-
environment: factories['io.flow.
|
|
17832
|
+
environment: factories['io.flow.restrictions.v0.enums.restriction_environment'](),
|
|
17228
17833
|
source: factories['io.flow.internal.v0.enums.organization_source'](),
|
|
17229
17834
|
}),
|
|
17230
17835
|
|
|
@@ -17435,23 +18040,12 @@ const factories = {
|
|
|
17435
18040
|
oldest_pv_product_date_transacting: factories.date_iso_8601(),
|
|
17436
18041
|
oldest_pc_product_date_setup_complete: factories.date_iso_8601(),
|
|
17437
18042
|
oldest_pc_product_date_transacting: factories.date_iso_8601(),
|
|
17438
|
-
num_orgs_setup_complete_prs: factories.decimal(),
|
|
17439
|
-
num_products_setup_complete_prs: factories.decimal(),
|
|
17440
|
-
num_orgs_transacting_prs: factories.decimal(),
|
|
17441
|
-
num_products_transacting_prs: factories.decimal(),
|
|
17442
|
-
oldest_pr_product_date_setup_complete: factories.date_iso_8601(),
|
|
17443
|
-
oldest_pr_date_transacting: factories.date_iso_8601(),
|
|
17444
18043
|
percent_products_reviewed_transacting: factories.decimal(),
|
|
17445
18044
|
num_pv_inflow_net_new: factories.decimal(),
|
|
17446
18045
|
num_pv_outflow_human_decisions: factories.decimal(),
|
|
17447
18046
|
num_pv_outflow_auto_review_decisions: factories.decimal(),
|
|
17448
18047
|
num_pv_outflow_side_effect_decisions: factories.decimal(),
|
|
17449
|
-
num_pr_inflow_net_new: factories.decimal(),
|
|
17450
|
-
num_pr_outflow_human_decisions: factories.decimal(),
|
|
17451
|
-
num_pr_outflow_auto_review_decisions: factories.decimal(),
|
|
17452
|
-
num_pr_outflow_side_effect_decisions: factories.decimal(),
|
|
17453
18048
|
num_pending_decisions_transacting: factories.decimal(),
|
|
17454
|
-
oldest_insufficient_details_pv_onboarding: factories.date_iso_8601(),
|
|
17455
18049
|
oldest_insufficient_details_pv_active: factories.date_iso_8601(),
|
|
17456
18050
|
oldest_insufficient_details_pv_transacting: factories.date_iso_8601(),
|
|
17457
18051
|
num_products_with_fs_result: factories.decimal(),
|
|
@@ -17604,6 +18198,13 @@ const factories = {
|
|
|
17604
18198
|
added_on: factories.date_iso_8601(),
|
|
17605
18199
|
}),
|
|
17606
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
|
+
|
|
17607
18208
|
'io.flow.internal.v0.models.rohan_item_form': (): io.flow.internal.v0.models.RohanItemForm => ({
|
|
17608
18209
|
number: factories.string(),
|
|
17609
18210
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -17612,6 +18213,13 @@ const factories = {
|
|
|
17612
18213
|
added_on: factories.date_iso_8601(),
|
|
17613
18214
|
}),
|
|
17614
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
|
+
|
|
17615
18223
|
'io.flow.internal.v0.models.routing_account': (): io.flow.internal.v0.models.RoutingAccount => ({
|
|
17616
18224
|
discriminator: 'routing_account',
|
|
17617
18225
|
processor: factories['io.flow.internal.v0.enums.processor'](),
|
|
@@ -17665,6 +18273,13 @@ const factories = {
|
|
|
17665
18273
|
added_on: factories.date_time_iso_8601(),
|
|
17666
18274
|
}),
|
|
17667
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
|
+
|
|
17668
18283
|
'io.flow.internal.v0.models.sarvesh_item_form': (): io.flow.internal.v0.models.SarveshItemForm => ({
|
|
17669
18284
|
number: factories.string(),
|
|
17670
18285
|
amount: factories['io.flow.common.v0.models.price'](),
|
|
@@ -17673,6 +18288,13 @@ const factories = {
|
|
|
17673
18288
|
added_on: factories.date_time_iso_8601(),
|
|
17674
18289
|
}),
|
|
17675
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
|
+
|
|
17676
18298
|
'io.flow.internal.v0.models.scheduled_payment': (): io.flow.internal.v0.models.ScheduledPayment => ({
|
|
17677
18299
|
payment: factories['io.flow.internal.v0.models.report_payment'](),
|
|
17678
18300
|
bank_account: factories['io.flow.internal.v0.models.report_bank_account_cleartext'](),
|
|
@@ -17774,13 +18396,13 @@ const factories = {
|
|
|
17774
18396
|
current_rule_ids: arrayOf(() => factories.string()),
|
|
17775
18397
|
|
|
17776
18398
|
current_restricted_regions: arrayOf(
|
|
17777
|
-
() => factories['io.flow.sellability.v0.models.
|
|
18399
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
17778
18400
|
),
|
|
17779
18401
|
|
|
17780
18402
|
merchant_rule_ids: arrayOf(() => factories.string()),
|
|
17781
18403
|
|
|
17782
18404
|
merchant_restricted_regions: arrayOf(
|
|
17783
|
-
() => factories['io.flow.sellability.v0.models.
|
|
18405
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
17784
18406
|
),
|
|
17785
18407
|
|
|
17786
18408
|
current_error: arrayOf(() => factories['io.flow.sellability.v0.models.sellability_error']()),
|
|
@@ -17836,6 +18458,54 @@ const factories = {
|
|
|
17836
18458
|
customer_price: factories.decimal(),
|
|
17837
18459
|
}),
|
|
17838
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
|
+
|
|
17839
18509
|
'io.flow.internal.v0.models.shopify_catalog_publication': (): io.flow.internal.v0.models.ShopifyCatalogPublication => ({
|
|
17840
18510
|
owner: factories['io.flow.internal.v0.enums.catalog_publication_owner'](),
|
|
17841
18511
|
}),
|
|
@@ -18085,6 +18755,17 @@ const factories = {
|
|
|
18085
18755
|
shopify: factories['io.flow.internal.v0.models.shopify_markets_shopify_order_metrics'](),
|
|
18086
18756
|
internal: factories['io.flow.internal.v0.models.shopify_markets_internal_order_metrics'](),
|
|
18087
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(),
|
|
18088
18769
|
}),
|
|
18089
18770
|
|
|
18090
18771
|
'io.flow.internal.v0.models.shopify_markets_queued_record': (): io.flow.internal.v0.models.ShopifyMarketsQueuedRecord => ({
|
|
@@ -18571,6 +19252,7 @@ const factories = {
|
|
|
18571
19252
|
|
|
18572
19253
|
'io.flow.internal.v0.models.shopper_breakdown': (): io.flow.internal.v0.models.ShopperBreakdown => ({
|
|
18573
19254
|
product: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
19255
|
+
product_purchase_price: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18574
19256
|
tax: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18575
19257
|
duty: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
18576
19258
|
discount: factories['io.flow.internal.v0.models.reporting_monetary_value'](),
|
|
@@ -19319,6 +20001,10 @@ const factories = {
|
|
|
19319
20001
|
tax_transaction: factories['io.flow.internal.v0.models.tax_transaction'](),
|
|
19320
20002
|
}),
|
|
19321
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
|
+
|
|
19322
20008
|
'io.flow.internal.v0.models.taxonomy_alignment_check_result': (): io.flow.internal.v0.models.TaxonomyAlignmentCheckResult => ({
|
|
19323
20009
|
status: factories['io.flow.internal.v0.enums.taxonomy_category_classification_alignment'](),
|
|
19324
20010
|
result: factories['io.flow.internal.v0.enums.evaluation_check_result'](),
|
|
@@ -20367,8 +21053,6 @@ const factories = {
|
|
|
20367
21053
|
() => factories['io.flow.internal.v0.models.export_failed'](),
|
|
20368
21054
|
() => factories['io.flow.internal.v0.models.feature_upserted'](),
|
|
20369
21055
|
() => factories['io.flow.internal.v0.models.feature_deleted'](),
|
|
20370
|
-
() => factories['io.flow.internal.v0.models.organization_boolean_value_upserted'](),
|
|
20371
|
-
() => factories['io.flow.internal.v0.models.organization_boolean_value_deleted'](),
|
|
20372
21056
|
() => factories['io.flow.internal.v0.models.account_settings_upserted'](),
|
|
20373
21057
|
() => factories['io.flow.internal.v0.models.account_settings_deleted'](),
|
|
20374
21058
|
() => factories['io.flow.internal.v0.models.account_processing_rates_upserted'](),
|
|
@@ -20604,6 +21288,22 @@ const factories = {
|
|
|
20604
21288
|
() => factories['io.flow.internal.v0.models.stripe_connect_report_record_deleted'](),
|
|
20605
21289
|
() => factories['io.flow.internal.v0.models.liability_remittance_plan_upserted'](),
|
|
20606
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'](),
|
|
20607
21307
|
() => factories['io.flow.internal.v0.models.tracking_processing_error_upserted'](),
|
|
20608
21308
|
() => factories['io.flow.internal.v0.models.tracking_processing_error_deleted'](),
|
|
20609
21309
|
() => factories['io.flow.internal.v0.models.tracking_label_event_upserted_v2'](),
|
|
@@ -20946,6 +21646,7 @@ const factories = {
|
|
|
20946
21646
|
() => factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation'](),
|
|
20947
21647
|
() => factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment'](),
|
|
20948
21648
|
() => factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed'](),
|
|
21649
|
+
() => factories['io.flow.internal.v0.models.proof_of_posting_synthetic'](),
|
|
20949
21650
|
]);
|
|
20950
21651
|
|
|
20951
21652
|
return f();
|
|
@@ -21348,6 +22049,7 @@ const factories = {
|
|
|
21348
22049
|
price_attributes: objectOf(() => factories['io.flow.item.v0.models.local_item_attribute_pricing']()),
|
|
21349
22050
|
}),
|
|
21350
22051
|
|
|
22052
|
+
'io.flow.label.v0.enums.commercial_invoice_mode': (): io.flow.label.v0.enums.CommercialInvoiceMode => faker.helpers.arrayElement(['direct', 'indirect']),
|
|
21351
22053
|
'io.flow.label.v0.enums.cost_estimate_source': (): io.flow.label.v0.enums.CostEstimateSource => faker.helpers.arrayElement(['flow', 'channel']),
|
|
21352
22054
|
'io.flow.label.v0.enums.direction': (): io.flow.label.v0.enums.Direction => faker.helpers.arrayElement(['outbound', 'return']),
|
|
21353
22055
|
|
|
@@ -21708,6 +22410,77 @@ const factories = {
|
|
|
21708
22410
|
|
|
21709
22411
|
'io.flow.merchant.onboarding.v0.enums.region_type': (): io.flow.merchant.onboarding.v0.enums.RegionType => faker.helpers.arrayElement(['state', 'province', 'jurisdiction']),
|
|
21710
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
|
+
|
|
21711
22484
|
'io.flow.merchant.onboarding.v0.models.indirect_tax': (): io.flow.merchant.onboarding.v0.models.IndirectTax => ({
|
|
21712
22485
|
number: factories.string(),
|
|
21713
22486
|
id: factories.string(),
|
|
@@ -21724,6 +22497,7 @@ const factories = {
|
|
|
21724
22497
|
region: factories['io.flow.merchant.onboarding.v0.enums.region_type'](),
|
|
21725
22498
|
region_value: factories.string(),
|
|
21726
22499
|
category_code: factories.string(),
|
|
22500
|
+
description: factories.string(),
|
|
21727
22501
|
}),
|
|
21728
22502
|
|
|
21729
22503
|
'io.flow.merchant.onboarding.v0.models.merchant_onboarding_address': (): io.flow.merchant.onboarding.v0.models.MerchantOnboardingAddress => ({
|
|
@@ -21735,6 +22509,17 @@ const factories = {
|
|
|
21735
22509
|
country: factories.string(),
|
|
21736
22510
|
}),
|
|
21737
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
|
+
|
|
21738
22523
|
'io.flow.merchant.onboarding.v0.models.monthly_average': (): io.flow.merchant.onboarding.v0.models.MonthlyAverage => ({
|
|
21739
22524
|
volume: factories['io.flow.merchant.onboarding.v0.models.monthly_average_volume'](),
|
|
21740
22525
|
number_transactions: factories.long(),
|
|
@@ -21803,6 +22588,7 @@ const factories = {
|
|
|
21803
22588
|
|
|
21804
22589
|
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
21805
22590
|
average_order_weight: factories.decimal(),
|
|
22591
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
21806
22592
|
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
21807
22593
|
monthly_average: factories['io.flow.merchant.onboarding.v0.models.monthly_average'](),
|
|
21808
22594
|
default_country_of_origin: factories.string(),
|
|
@@ -21840,6 +22626,7 @@ const factories = {
|
|
|
21840
22626
|
|
|
21841
22627
|
center_contact: factories['io.flow.merchant.onboarding.v0.models.operations_contact'](),
|
|
21842
22628
|
average_order_weight: factories.decimal(),
|
|
22629
|
+
average_order_weight_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
21843
22630
|
package_dimensions: arrayOf(() => factories['io.flow.common.v0.models.dimension']()),
|
|
21844
22631
|
monthly_average_volume_amount: factories.decimal(),
|
|
21845
22632
|
monthly_average_volume_currency: factories.string(),
|
|
@@ -21885,6 +22672,7 @@ const factories = {
|
|
|
21885
22672
|
'io.flow.merchant.onboarding.v0.unions.merchant_application': (): io.flow.merchant.onboarding.v0.unions.MerchantApplication => {
|
|
21886
22673
|
const f = faker.helpers.arrayElement([
|
|
21887
22674
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application'](),
|
|
22675
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_application'](),
|
|
21888
22676
|
]);
|
|
21889
22677
|
|
|
21890
22678
|
return f();
|
|
@@ -21893,6 +22681,7 @@ const factories = {
|
|
|
21893
22681
|
'io.flow.merchant.onboarding.v0.unions.merchant_application_form': (): io.flow.merchant.onboarding.v0.unions.MerchantApplicationForm => {
|
|
21894
22682
|
const f = faker.helpers.arrayElement([
|
|
21895
22683
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_application_form'](),
|
|
22684
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_application_form'](),
|
|
21896
22685
|
]);
|
|
21897
22686
|
|
|
21898
22687
|
return f();
|
|
@@ -21901,6 +22690,7 @@ const factories = {
|
|
|
21901
22690
|
'io.flow.merchant.onboarding.v0.unions.merchant_application_put_form': (): io.flow.merchant.onboarding.v0.unions.MerchantApplicationPutForm => {
|
|
21902
22691
|
const f = faker.helpers.arrayElement([
|
|
21903
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'](),
|
|
21904
22694
|
]);
|
|
21905
22695
|
|
|
21906
22696
|
return f();
|
|
@@ -21909,6 +22699,7 @@ const factories = {
|
|
|
21909
22699
|
'io.flow.merchant.onboarding.v0.unions.merchant_applications_summary': (): io.flow.merchant.onboarding.v0.unions.MerchantApplicationsSummary => {
|
|
21910
22700
|
const f = faker.helpers.arrayElement([
|
|
21911
22701
|
() => factories['io.flow.merchant.onboarding.v0.models.shopify_merchant_applications_summary'](),
|
|
22702
|
+
() => factories['io.flow.merchant.onboarding.v0.models.common_merchant_applications_summary'](),
|
|
21912
22703
|
]);
|
|
21913
22704
|
|
|
21914
22705
|
return f();
|
|
@@ -22294,6 +23085,22 @@ const factories = {
|
|
|
22294
23085
|
status: factories['io.flow.common.v0.enums.organization_status'](),
|
|
22295
23086
|
}),
|
|
22296
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
|
+
|
|
22297
23104
|
'io.flow.organization.v0.models.organization_version': (): io.flow.organization.v0.models.OrganizationVersion => ({
|
|
22298
23105
|
id: factories.string(),
|
|
22299
23106
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -22311,6 +23118,18 @@ const factories = {
|
|
|
22311
23118
|
status: factories['io.flow.common.v0.enums.availability_status'](),
|
|
22312
23119
|
}),
|
|
22313
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
|
+
|
|
22314
23133
|
'io.flow.partner.v0.enums.label_format': (): io.flow.partner.v0.enums.LabelFormat => faker.helpers.arrayElement(['pdf', 'zpl', 'all']),
|
|
22315
23134
|
|
|
22316
23135
|
'io.flow.partner.v0.models.bridge_hub': (): io.flow.partner.v0.models.BridgeHub => ({
|
|
@@ -23175,6 +23994,7 @@ const factories = {
|
|
|
23175
23994
|
supported_actions: arrayOf(() => factories['io.flow.payment.gateway.v0.enums.payment_action_type']()),
|
|
23176
23995
|
payment_capture_option: factories['io.flow.payment.gateway.v0.unions.payment_capture_option'](),
|
|
23177
23996
|
review: factories['io.flow.payment.gateway.v0.models.payment_request_review'](),
|
|
23997
|
+
client_secret: factories.string(),
|
|
23178
23998
|
}),
|
|
23179
23999
|
|
|
23180
24000
|
'io.flow.payment.gateway.v0.models.payment_request_cancellation_reason_order_missing': (): io.flow.payment.gateway.v0.models.PaymentRequestCancellationReasonOrderMissing => ({
|
|
@@ -25242,6 +26062,7 @@ const factories = {
|
|
|
25242
26062
|
amount: factories['io.flow.common.v0.models.money'](),
|
|
25243
26063
|
origin_region: factories['io.flow.ratecard.v0.models.ratecard_region_reference'](),
|
|
25244
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']()),
|
|
25245
26066
|
interval_unit: factories['io.flow.common.v0.enums.unit_of_measurement'](),
|
|
25246
26067
|
}),
|
|
25247
26068
|
|
|
@@ -25446,6 +26267,7 @@ const factories = {
|
|
|
25446
26267
|
center_id: factories.string(),
|
|
25447
26268
|
taxes_owed: factories['io.flow.common.v0.models.money'](),
|
|
25448
26269
|
duties_owed: factories['io.flow.common.v0.models.money'](),
|
|
26270
|
+
commercial_invoice_mode: factories['io.flow.label.v0.enums.commercial_invoice_mode'](),
|
|
25449
26271
|
}),
|
|
25450
26272
|
|
|
25451
26273
|
'io.flow.ratecard.v0.models.ratecard_estimate_summary_form': (): io.flow.ratecard.v0.models.RatecardEstimateSummaryForm => ({
|
|
@@ -25666,6 +26488,49 @@ const factories = {
|
|
|
25666
26488
|
to: factories.long(),
|
|
25667
26489
|
}),
|
|
25668
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
|
+
|
|
25669
26534
|
'io.flow.ratecard.v0.unions.fuel_surcharge_rate': (): io.flow.ratecard.v0.unions.FuelSurchargeRate => {
|
|
25670
26535
|
const f = faker.helpers.arrayElement([
|
|
25671
26536
|
() => factories['io.flow.ratecard.v0.models.fuel_surcharge_percent'](),
|
|
@@ -25861,6 +26726,49 @@ const factories = {
|
|
|
25861
26726
|
offset: factories.integer(),
|
|
25862
26727
|
}),
|
|
25863
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
|
+
|
|
25864
26772
|
'io.flow.return.v0.enums.return_status': (): io.flow.RESERVED_WORD_return.v0.enums.ReturnStatus => faker.helpers.arrayElement(['open', 'refunded']),
|
|
25865
26773
|
|
|
25866
26774
|
'io.flow.return.v0.enums.return_tracking_status': (): io.flow.RESERVED_WORD_return.v0.enums.ReturnTrackingStatus => faker.helpers.arrayElement([
|
|
@@ -25979,6 +26887,9 @@ const factories = {
|
|
|
25979
26887
|
]),
|
|
25980
26888
|
|
|
25981
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']),
|
|
25982
26893
|
|
|
25983
26894
|
'io.flow.sellability.v0.models.product_sellability': (): io.flow.sellability.v0.models.ProductSellability => ({
|
|
25984
26895
|
discriminator: 'product_sellability',
|
|
@@ -25988,11 +26899,12 @@ const factories = {
|
|
|
25988
26899
|
hs6_code: factories.string(),
|
|
25989
26900
|
|
|
25990
26901
|
restricted_regions: arrayOf(
|
|
25991
|
-
() => factories['io.flow.sellability.v0.models.
|
|
26902
|
+
() => factories['io.flow.sellability.v0.models.sellability_region_result'](),
|
|
25992
26903
|
),
|
|
25993
26904
|
}),
|
|
25994
26905
|
|
|
25995
26906
|
'io.flow.sellability.v0.models.product_sellability_form': (): io.flow.sellability.v0.models.ProductSellabilityForm => ({
|
|
26907
|
+
discriminator: 'product_sellability_form',
|
|
25996
26908
|
shop_id: factories.string(),
|
|
25997
26909
|
product_id: factories.string(),
|
|
25998
26910
|
name: factories.string(),
|
|
@@ -26003,21 +26915,93 @@ const factories = {
|
|
|
26003
26915
|
dry_run: factories.boolean(),
|
|
26004
26916
|
}),
|
|
26005
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
|
+
|
|
26006
26933
|
'io.flow.sellability.v0.models.sellability_error': (): io.flow.sellability.v0.models.SellabilityError => ({
|
|
26007
26934
|
discriminator: 'sellability_error',
|
|
26008
26935
|
code: factories['io.flow.sellability.v0.enums.sellability_error_code'](),
|
|
26009
26936
|
messages: arrayOf(() => factories.string()),
|
|
26010
26937
|
}),
|
|
26011
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
|
+
|
|
26012
26986
|
'io.flow.sellability.v0.models.sellablility_region_result': (): io.flow.sellability.v0.models.SellablilityRegionResult => ({
|
|
26013
26987
|
type: factories['io.flow.sellability.v0.enums.rule_effect_type'](),
|
|
26014
26988
|
regions: arrayOf(() => factories.string()),
|
|
26015
26989
|
}),
|
|
26016
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
|
+
|
|
26017
27000
|
'io.flow.sellability.v0.unions.sellability_response': (): io.flow.sellability.v0.unions.SellabilityResponse => {
|
|
26018
27001
|
const f = faker.helpers.arrayElement([
|
|
26019
27002
|
() => factories['io.flow.sellability.v0.models.product_sellability'](),
|
|
26020
27003
|
() => factories['io.flow.sellability.v0.models.sellability_error'](),
|
|
27004
|
+
() => factories['io.flow.sellability.v0.models.sellability_screening'](),
|
|
26021
27005
|
]);
|
|
26022
27006
|
|
|
26023
27007
|
return f();
|
|
@@ -27761,6 +28745,17 @@ const factories = {
|
|
|
27761
28745
|
shopify: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_shopify_order_metrics'](),
|
|
27762
28746
|
internal: factories['io.flow.shopify.markets.internal.v0.models.shopify_markets_internal_order_metrics'](),
|
|
27763
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(),
|
|
27764
28759
|
}),
|
|
27765
28760
|
|
|
27766
28761
|
'io.flow.shopify.markets.internal.v0.models.shopify_markets_queued_record': (): io.flow.shopify.markets.internal.v0.models.ShopifyMarketsQueuedRecord => ({
|
|
@@ -28430,6 +29425,7 @@ const factories = {
|
|
|
28430
29425
|
|
|
28431
29426
|
merchant_of_record_app_id: factories.long(),
|
|
28432
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'](),
|
|
28433
29429
|
total_tip_received: factories.string(),
|
|
28434
29430
|
}),
|
|
28435
29431
|
|
|
@@ -31391,18 +32387,24 @@ export const makeAfterpayRefundDeleted = () => factories['io.flow.internal.v0.mo
|
|
|
31391
32387
|
export const makeAfterpayRefundUpserted = () => factories['io.flow.internal.v0.models.afterpay_refund_upserted']();
|
|
31392
32388
|
export const makeAftershipWebhook = () => factories['io.flow.internal.v0.models.aftership_webhook']();
|
|
31393
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']();
|
|
31394
32391
|
export const makeAldoItemForm = () => factories['io.flow.internal.v0.models.aldo_item_form']();
|
|
31395
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']();
|
|
31396
32394
|
export const makeAllItemsExport = () => factories['io.flow.internal.v0.models.all_items_export']();
|
|
31397
32395
|
export const makeAllOrganizationsMembership = () => factories['io.flow.internal.v0.models.all_organizations_membership']();
|
|
31398
32396
|
export const makeAllocationItemReference = () => factories['io.flow.internal.v0.models.allocation_item_reference']();
|
|
31399
32397
|
export const makeAllowedLabels = () => factories['io.flow.internal.v0.models.allowed_labels']();
|
|
31400
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']();
|
|
31401
32400
|
export const makeAnirbanItemForm = () => factories['io.flow.internal.v0.models.anirban_item_form']();
|
|
31402
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']();
|
|
31403
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']();
|
|
31404
32405
|
export const makeAnshItemForm = () => factories['io.flow.internal.v0.models.ansh_item_form']();
|
|
31405
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']();
|
|
31406
32408
|
export const makeAnyDangerousGoods = () => factories['io.flow.internal.v0.enums.any_dangerous_goods']();
|
|
31407
32409
|
export const makeApiCallReferenceId = () => factories['io.flow.internal.v0.enums.api_call_reference_id']();
|
|
31408
32410
|
export const makeApplePayAuthorizationPayload = () => factories['io.flow.internal.v0.models.apple_pay_authorization_payload']();
|
|
@@ -31425,6 +32427,10 @@ export const makeAuthorizedOrderCharge = () => factories['io.flow.internal.v0.un
|
|
|
31425
32427
|
export const makeAuthorizedShippingCharge = () => factories['io.flow.internal.v0.models.authorized_shipping_charge']();
|
|
31426
32428
|
export const makeAutoRestrictRule = () => factories['io.flow.internal.v0.enums.auto_restrict_rule']();
|
|
31427
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']();
|
|
31428
32434
|
export const makeBankAccount = () => factories['io.flow.internal.v0.models.bank_account']();
|
|
31429
32435
|
export const makeBankAccountReference = () => factories['io.flow.internal.v0.models.bank_account_reference']();
|
|
31430
32436
|
export const makeBankAccountStatus = () => factories['io.flow.internal.v0.enums.bank_account_status']();
|
|
@@ -31490,6 +32496,7 @@ export const makeBrickWebhookEvent = () => factories['io.flow.internal.v0.models
|
|
|
31490
32496
|
export const makeBrickWebhookEventResponse = () => factories['io.flow.internal.v0.models.brick_webhook_event_response']();
|
|
31491
32497
|
export const makeBulkClassificationAction = () => factories['io.flow.internal.v0.models.bulk_classification_action']();
|
|
31492
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']();
|
|
31493
32500
|
export const makeCalculatedTaxAmount = () => factories['io.flow.internal.v0.models.calculated_tax_amount']();
|
|
31494
32501
|
export const makeCalculationStampingLineItem = () => factories['io.flow.internal.v0.models.calculation_stamping_line_item']();
|
|
31495
32502
|
export const makeCalculationStampingShippingLine = () => factories['io.flow.internal.v0.models.calculation_stamping_shipping_line']();
|
|
@@ -31664,6 +32671,7 @@ export const makeClassificationDecision = () => factories['io.flow.internal.v0.e
|
|
|
31664
32671
|
export const makeClassificationDetails = () => factories['io.flow.internal.v0.models.classification_details']();
|
|
31665
32672
|
export const makeClassificationError = () => factories['io.flow.internal.v0.models.classification_error']();
|
|
31666
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']();
|
|
31667
32675
|
export const makeClassificationForm = () => factories['io.flow.internal.v0.unions.classification_form']();
|
|
31668
32676
|
export const makeClassificationFormWrapper = () => factories['io.flow.internal.v0.models.classification_form_wrapper']();
|
|
31669
32677
|
export const makeClassificationItem = () => factories['io.flow.internal.v0.models.classification_item']();
|
|
@@ -31901,7 +32909,6 @@ export const makeFeatureDefaultValue = () => factories['io.flow.internal.v0.unio
|
|
|
31901
32909
|
export const makeFeatureDeleted = () => factories['io.flow.internal.v0.models.feature_deleted']();
|
|
31902
32910
|
export const makeFeatureForm = () => factories['io.flow.internal.v0.models.feature_form']();
|
|
31903
32911
|
export const makeFeatureGeoForm = () => factories['io.flow.internal.v0.models.feature_geo_form']();
|
|
31904
|
-
export const makeFeatureIdReference = () => factories['io.flow.internal.v0.models.feature_id_reference']();
|
|
31905
32912
|
export const makeFeatureReference = () => factories['io.flow.internal.v0.models.feature_reference']();
|
|
31906
32913
|
export const makeFeatureReleaseForm = () => factories['io.flow.internal.v0.models.feature_release_form']();
|
|
31907
32914
|
export const makeFeatureRule = () => factories['io.flow.internal.v0.unions.feature_rule']();
|
|
@@ -32019,6 +33026,11 @@ export const makeFxRevenueRecognitionOrder = () => factories['io.flow.internal.v
|
|
|
32019
33026
|
export const makeFxRevenueRecognitionOrganization = () => factories['io.flow.internal.v0.models.fx_revenue_recognition_organization']();
|
|
32020
33027
|
export const makeFxRevenueRecognitionRate = () => factories['io.flow.internal.v0.models.fx_revenue_recognition_rate']();
|
|
32021
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']();
|
|
32022
33034
|
export const makeGeIngestionFileStatus = () => factories['io.flow.internal.v0.enums.ge_ingestion_file_status']();
|
|
32023
33035
|
export const makeGeRevenueShareTransaction = () => factories['io.flow.internal.v0.models.ge_revenue_share_transaction']();
|
|
32024
33036
|
export const makeGeRevenueShareTransactionType = () => factories['io.flow.internal.v0.enums.ge_revenue_share_transaction_type']();
|
|
@@ -32054,9 +33066,12 @@ export const makeHarmonizationUnclassifiedStatistics = () => factories['io.flow.
|
|
|
32054
33066
|
export const makeHarmonizeFullyRequestV2 = () => factories['io.flow.internal.v0.models.harmonize_fully_request_v2']();
|
|
32055
33067
|
export const makeHarmonizedItemsHs6Export = () => factories['io.flow.internal.v0.models.harmonized_items_hs6_export']();
|
|
32056
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']();
|
|
32057
33070
|
export const makeHoseinItemForm = () => factories['io.flow.internal.v0.models.hosein_item_form']();
|
|
32058
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']();
|
|
32059
33073
|
export const makeHs6 = () => factories['io.flow.internal.v0.models.hs6']();
|
|
33074
|
+
export const makeHs6CodeSource = () => factories['io.flow.internal.v0.enums.hs6_code_source']();
|
|
32060
33075
|
export const makeHs6Metadata = () => factories['io.flow.internal.v0.models.hs6_metadata']();
|
|
32061
33076
|
export const makeHttpMethod = () => factories['io.flow.internal.v0.enums.http_method']();
|
|
32062
33077
|
export const makeImportCompleted = () => factories['io.flow.internal.v0.models.import_completed']();
|
|
@@ -32184,6 +33199,10 @@ export const makeLabelsPrediction = () => factories['io.flow.internal.v0.models.
|
|
|
32184
33199
|
export const makeLandedCostItem = () => factories['io.flow.internal.v0.models.landed_cost_item']();
|
|
32185
33200
|
export const makeLandmark = () => factories['io.flow.internal.v0.models.landmark']();
|
|
32186
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']();
|
|
32187
33206
|
export const makeLevyRateSummary = () => factories['io.flow.internal.v0.models.levy_rate_summary']();
|
|
32188
33207
|
export const makeLevyRateSummaryUpserted = () => factories['io.flow.internal.v0.models.levy_rate_summary_upserted']();
|
|
32189
33208
|
export const makeLiability = () => factories['io.flow.internal.v0.models.liability']();
|
|
@@ -32263,8 +33282,10 @@ export const makeNatureOfSale = () => factories['io.flow.internal.v0.enums.natur
|
|
|
32263
33282
|
export const makeNegativeDebitMetrics = () => factories['io.flow.internal.v0.models.negative_debit_metrics']();
|
|
32264
33283
|
export const makeNextBillingStatement = () => factories['io.flow.internal.v0.models.next_billing_statement']();
|
|
32265
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']();
|
|
32266
33286
|
export const makeNiallItemForm = () => factories['io.flow.internal.v0.models.niall_item_form']();
|
|
32267
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']();
|
|
32268
33289
|
export const makeNoCalculatedTaxAmount = () => factories['io.flow.internal.v0.models.no_calculated_tax_amount']();
|
|
32269
33290
|
export const makeNoClassificationForm = () => factories['io.flow.internal.v0.models.no_classification_form']();
|
|
32270
33291
|
export const makeNoLiabilityReasonCode = () => factories['io.flow.internal.v0.enums.no_liability_reason_code']();
|
|
@@ -32351,9 +33372,6 @@ export const makeOrganizationAccountUpsertedV2 = () => factories['io.flow.intern
|
|
|
32351
33372
|
export const makeOrganizationBankAccountDeleted = () => factories['io.flow.internal.v0.models.organization_bank_account_deleted']();
|
|
32352
33373
|
export const makeOrganizationBankAccountUpserted = () => factories['io.flow.internal.v0.models.organization_bank_account_upserted']();
|
|
32353
33374
|
export const makeOrganizationBillingStatement = () => factories['io.flow.internal.v0.models.organization_billing_statement']();
|
|
32354
|
-
export const makeOrganizationBooleanValue = () => factories['io.flow.internal.v0.models.organization_boolean_value']();
|
|
32355
|
-
export const makeOrganizationBooleanValueDeleted = () => factories['io.flow.internal.v0.models.organization_boolean_value_deleted']();
|
|
32356
|
-
export const makeOrganizationBooleanValueUpserted = () => factories['io.flow.internal.v0.models.organization_boolean_value_upserted']();
|
|
32357
33375
|
export const makeOrganizationBusinessEntity = () => factories['io.flow.internal.v0.models.organization_business_entity']();
|
|
32358
33376
|
export const makeOrganizationBusinessEntityDeleted = () => factories['io.flow.internal.v0.models.organization_business_entity_deleted']();
|
|
32359
33377
|
export const makeOrganizationBusinessEntityUpserted = () => factories['io.flow.internal.v0.models.organization_business_entity_upserted']();
|
|
@@ -32510,6 +33528,16 @@ export const makePrateekItemForm = () => factories['io.flow.internal.v0.models.p
|
|
|
32510
33528
|
export const makePrateekItemType = () => factories['io.flow.internal.v0.enums.prateek_item_type']();
|
|
32511
33529
|
export const makePrediction = () => factories['io.flow.internal.v0.models.prediction']();
|
|
32512
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']();
|
|
32513
33541
|
export const makePriceInclusivity = () => factories['io.flow.internal.v0.models.price_inclusivity']();
|
|
32514
33542
|
export const makePriceSelector = () => factories['io.flow.internal.v0.enums.price_selector']();
|
|
32515
33543
|
export const makePrioritizedCenterReference = () => factories['io.flow.internal.v0.models.prioritized_center_reference']();
|
|
@@ -32562,6 +33590,7 @@ export const makeProofOfPostingFulfilled = () => factories['io.flow.internal.v0.
|
|
|
32562
33590
|
export const makeProofOfPostingOrderCancellation = () => factories['io.flow.internal.v0.models.proof_of_posting_order_cancellation']();
|
|
32563
33591
|
export const makeProofOfPostingOrderCombinedShipment = () => factories['io.flow.internal.v0.models.proof_of_posting_order_combined_shipment']();
|
|
32564
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']();
|
|
32565
33594
|
export const makeProofOfPostingTimeElapsed = () => factories['io.flow.internal.v0.models.proof_of_posting_time_elapsed']();
|
|
32566
33595
|
export const makePspDistribution = () => factories['io.flow.internal.v0.models.psp_distribution']();
|
|
32567
33596
|
export const makePspRoutingDistribution = () => factories['io.flow.internal.v0.models.psp_routing_distribution']();
|
|
@@ -32633,6 +33662,7 @@ export const makeRejectionReason = () => factories['io.flow.internal.v0.enums.re
|
|
|
32633
33662
|
export const makeRemittanceResponsibility = () => factories['io.flow.internal.v0.models.remittance_responsibility']();
|
|
32634
33663
|
export const makeReport = () => factories['io.flow.internal.v0.models.report']();
|
|
32635
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']();
|
|
32636
33666
|
export const makeReportBankAccount = () => factories['io.flow.internal.v0.models.report_bank_account']();
|
|
32637
33667
|
export const makeReportBankAccountCleartext = () => factories['io.flow.internal.v0.models.report_bank_account_cleartext']();
|
|
32638
33668
|
export const makeReportFile = () => factories['io.flow.internal.v0.models.report_file']();
|
|
@@ -32763,8 +33793,10 @@ export const makeRevenueRecordUpserted = () => factories['io.flow.internal.v0.mo
|
|
|
32763
33793
|
export const makeRiskCheck = () => factories['io.flow.internal.v0.enums.risk_check']();
|
|
32764
33794
|
export const makeRiskEvaluation = () => factories['io.flow.internal.v0.enums.risk_evaluation']();
|
|
32765
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']();
|
|
32766
33797
|
export const makeRohanItemForm = () => factories['io.flow.internal.v0.models.rohan_item_form']();
|
|
32767
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']();
|
|
32768
33800
|
export const makeRoutingAccount = () => factories['io.flow.internal.v0.models.routing_account']();
|
|
32769
33801
|
export const makeRoutingEntity = () => factories['io.flow.internal.v0.unions.routing_entity']();
|
|
32770
33802
|
export const makeRoutingMerchant = () => factories['io.flow.internal.v0.models.routing_merchant']();
|
|
@@ -32773,8 +33805,10 @@ export const makeSalesPaymentRecord = () => factories['io.flow.internal.v0.model
|
|
|
32773
33805
|
export const makeSandboxSetup = () => factories['io.flow.internal.v0.models.sandbox_setup']();
|
|
32774
33806
|
export const makeSandboxSetupForm = () => factories['io.flow.internal.v0.models.sandbox_setup_form']();
|
|
32775
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']();
|
|
32776
33809
|
export const makeSarveshItemForm = () => factories['io.flow.internal.v0.models.sarvesh_item_form']();
|
|
32777
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']();
|
|
32778
33812
|
export const makeScheduledPayment = () => factories['io.flow.internal.v0.models.scheduled_payment']();
|
|
32779
33813
|
export const makeScreen = () => factories['io.flow.internal.v0.models.screen']();
|
|
32780
33814
|
export const makeScreenForm = () => factories['io.flow.internal.v0.models.screen_form']();
|
|
@@ -32798,6 +33832,9 @@ export const makeShipmentCostSummary = () => factories['io.flow.internal.v0.mode
|
|
|
32798
33832
|
export const makeShippingLane = () => factories['io.flow.internal.v0.models.shipping_lane']();
|
|
32799
33833
|
export const makeShippingMethodReference = () => factories['io.flow.internal.v0.models.shipping_method_reference']();
|
|
32800
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']();
|
|
32801
33838
|
export const makeShopifyCatalogPublication = () => factories['io.flow.internal.v0.models.shopify_catalog_publication']();
|
|
32802
33839
|
export const makeShopifyChannelOrganizationToken = () => factories['io.flow.internal.v0.models.shopify_channel_organization_token']();
|
|
32803
33840
|
export const makeShopifyChannelOrganizationTokens = () => factories['io.flow.internal.v0.models.shopify_channel_organization_tokens']();
|
|
@@ -32837,6 +33874,7 @@ export const makeShopifyMarketsOrderDeleted = () => factories['io.flow.internal.
|
|
|
32837
33874
|
export const makeShopifyMarketsOrderUpserted = () => factories['io.flow.internal.v0.models.shopify_markets_order_upserted']();
|
|
32838
33875
|
export const makeShopifyMarketsOrderVersionWithShopId = () => factories['io.flow.internal.v0.models.shopify_markets_order_version_with_shop_id']();
|
|
32839
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']();
|
|
32840
33878
|
export const makeShopifyMarketsQueuedRecord = () => factories['io.flow.internal.v0.models.shopify_markets_queued_record']();
|
|
32841
33879
|
export const makeShopifyMarketsQueuedRecordType = () => factories['io.flow.internal.v0.enums.shopify_markets_queued_record_type']();
|
|
32842
33880
|
export const makeShopifyMarketsShop = () => factories['io.flow.internal.v0.models.shopify_markets_shop']();
|
|
@@ -33017,6 +34055,7 @@ export const makeTaxTransaction = () => factories['io.flow.internal.v0.models.ta
|
|
|
33017
34055
|
export const makeTaxTransactionDeleted = () => factories['io.flow.internal.v0.models.tax_transaction_deleted']();
|
|
33018
34056
|
export const makeTaxTransactionType = () => factories['io.flow.internal.v0.enums.tax_transaction_type']();
|
|
33019
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']();
|
|
33020
34059
|
export const makeTaxonomyAlignmentCheckResult = () => factories['io.flow.internal.v0.models.taxonomy_alignment_check_result']();
|
|
33021
34060
|
export const makeTaxonomyCategory = () => factories['io.flow.internal.v0.models.taxonomy_category']();
|
|
33022
34061
|
export const makeTaxonomyCategoryClassificationAlignment = () => factories['io.flow.internal.v0.enums.taxonomy_category_classification_alignment']();
|