@flowio/api-factories 0.0.39 → 0.0.40
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.js +417 -409
- package/dist/esm/api.js +383 -376
- package/dist/types/api.d.ts +1 -0
- package/package.json +2 -2
- package/src/api.ts +391 -383
package/src/api.ts
CHANGED
|
@@ -30,12 +30,12 @@ const factories = {
|
|
|
30
30
|
string: () => faker.datatype.string(),
|
|
31
31
|
unit: () => undefined,
|
|
32
32
|
uuid: () => faker.datatype.uuid(),
|
|
33
|
-
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': (): io.flow.apple.pay.v0.enums.ApplePayContactField => faker.
|
|
34
|
-
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': (): io.flow.apple.pay.v0.enums.ApplePayLineItemType => faker.
|
|
35
|
-
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': (): io.flow.apple.pay.v0.enums.ApplePayMerchantCapability => faker.
|
|
36
|
-
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': (): io.flow.apple.pay.v0.enums.ApplePayShippingType => faker.
|
|
33
|
+
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': (): io.flow.apple.pay.v0.enums.ApplePayContactField => faker.helpers.arrayElement(['email', 'name', 'phone', 'postal_address', 'phonetic_name']),
|
|
34
|
+
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': (): io.flow.apple.pay.v0.enums.ApplePayLineItemType => faker.helpers.arrayElement(['final', 'pending']),
|
|
35
|
+
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': (): io.flow.apple.pay.v0.enums.ApplePayMerchantCapability => faker.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']),
|
|
36
|
+
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': (): io.flow.apple.pay.v0.enums.ApplePayShippingType => faker.helpers.arrayElement(['shipping', 'delivery', 'store_pickup', 'service_pickup']),
|
|
37
37
|
|
|
38
|
-
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': (): io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks => faker.
|
|
38
|
+
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': (): io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks => faker.helpers.arrayElement([
|
|
39
39
|
'amex',
|
|
40
40
|
'chinaUnionPay',
|
|
41
41
|
'discover',
|
|
@@ -111,13 +111,13 @@ const factories = {
|
|
|
111
111
|
identifier: factories.string(),
|
|
112
112
|
}),
|
|
113
113
|
|
|
114
|
-
'io.flow.google.pay.v0.enums.auth_method': (): io.flow.google.pay.v0.enums.AuthMethod => faker.
|
|
115
|
-
'io.flow.google.pay.v0.enums.billing_address_format': (): io.flow.google.pay.v0.enums.BillingAddressFormat => faker.
|
|
116
|
-
'io.flow.google.pay.v0.enums.card_gateway': (): io.flow.google.pay.v0.enums.CardGateway => faker.
|
|
117
|
-
'io.flow.google.pay.v0.enums.card_network': (): io.flow.google.pay.v0.enums.CardNetwork => faker.
|
|
118
|
-
'io.flow.google.pay.v0.enums.payment_method_type': (): io.flow.google.pay.v0.enums.PaymentMethodType => faker.
|
|
119
|
-
'io.flow.google.pay.v0.enums.tokenization_type': (): io.flow.google.pay.v0.enums.TokenizationType => faker.
|
|
120
|
-
'io.flow.google.pay.v0.enums.total_price_status': (): io.flow.google.pay.v0.enums.TotalPriceStatus => faker.
|
|
114
|
+
'io.flow.google.pay.v0.enums.auth_method': (): io.flow.google.pay.v0.enums.AuthMethod => faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']),
|
|
115
|
+
'io.flow.google.pay.v0.enums.billing_address_format': (): io.flow.google.pay.v0.enums.BillingAddressFormat => faker.helpers.arrayElement(['MIN', 'FULL']),
|
|
116
|
+
'io.flow.google.pay.v0.enums.card_gateway': (): io.flow.google.pay.v0.enums.CardGateway => faker.helpers.arrayElement(['adyen', 'stripe']),
|
|
117
|
+
'io.flow.google.pay.v0.enums.card_network': (): io.flow.google.pay.v0.enums.CardNetwork => faker.helpers.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']),
|
|
118
|
+
'io.flow.google.pay.v0.enums.payment_method_type': (): io.flow.google.pay.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['CARD']),
|
|
119
|
+
'io.flow.google.pay.v0.enums.tokenization_type': (): io.flow.google.pay.v0.enums.TokenizationType => faker.helpers.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']),
|
|
120
|
+
'io.flow.google.pay.v0.enums.total_price_status': (): io.flow.google.pay.v0.enums.TotalPriceStatus => faker.helpers.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']),
|
|
121
121
|
|
|
122
122
|
'io.flow.google.pay.v0.models.address': (): io.flow.google.pay.v0.models.Address => ({
|
|
123
123
|
name: factories.string(),
|
|
@@ -254,7 +254,7 @@ const factories = {
|
|
|
254
254
|
}),
|
|
255
255
|
|
|
256
256
|
'io.flow.google.pay.v0.unions.payment_method_token': (): io.flow.google.pay.v0.unions.PaymentMethodToken => {
|
|
257
|
-
const f = faker.
|
|
257
|
+
const f = faker.helpers.arrayElement([
|
|
258
258
|
() => factories['io.flow.google.pay.v0.models.direct_payment_method_token'](),
|
|
259
259
|
() => factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](),
|
|
260
260
|
]);
|
|
@@ -262,12 +262,12 @@ const factories = {
|
|
|
262
262
|
return f();
|
|
263
263
|
},
|
|
264
264
|
|
|
265
|
-
'io.flow.shopify.external.v0.enums.cancel_reason': (): io.flow.shopify.external.v0.enums.CancelReason => faker.
|
|
266
|
-
'io.flow.shopify.external.v0.enums.discount_status': (): io.flow.shopify.external.v0.enums.DiscountStatus => faker.
|
|
267
|
-
'io.flow.shopify.external.v0.enums.discount_type': (): io.flow.shopify.external.v0.enums.DiscountType => faker.
|
|
268
|
-
'io.flow.shopify.external.v0.enums.discrepancy_reason': (): io.flow.shopify.external.v0.enums.DiscrepancyReason => faker.
|
|
265
|
+
'io.flow.shopify.external.v0.enums.cancel_reason': (): io.flow.shopify.external.v0.enums.CancelReason => faker.helpers.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']),
|
|
266
|
+
'io.flow.shopify.external.v0.enums.discount_status': (): io.flow.shopify.external.v0.enums.DiscountStatus => faker.helpers.arrayElement(['enabled', 'disabled', 'depleted']),
|
|
267
|
+
'io.flow.shopify.external.v0.enums.discount_type': (): io.flow.shopify.external.v0.enums.DiscountType => faker.helpers.arrayElement(['fixed_amount', 'percentage', 'shipping']),
|
|
268
|
+
'io.flow.shopify.external.v0.enums.discrepancy_reason': (): io.flow.shopify.external.v0.enums.DiscrepancyReason => faker.helpers.arrayElement(['restock', 'damage', 'customer', 'other']),
|
|
269
269
|
|
|
270
|
-
'io.flow.shopify.external.v0.enums.event': (): io.flow.shopify.external.v0.enums.Event => faker.
|
|
270
|
+
'io.flow.shopify.external.v0.enums.event': (): io.flow.shopify.external.v0.enums.Event => faker.helpers.arrayElement([
|
|
271
271
|
'cart',
|
|
272
272
|
'checkout',
|
|
273
273
|
'collection',
|
|
@@ -282,7 +282,7 @@ const factories = {
|
|
|
282
282
|
'shop',
|
|
283
283
|
]),
|
|
284
284
|
|
|
285
|
-
'io.flow.shopify.external.v0.enums.financial_status_type': (): io.flow.shopify.external.v0.enums.FinancialStatusType => faker.
|
|
285
|
+
'io.flow.shopify.external.v0.enums.financial_status_type': (): io.flow.shopify.external.v0.enums.FinancialStatusType => faker.helpers.arrayElement([
|
|
286
286
|
'pending',
|
|
287
287
|
'authorized',
|
|
288
288
|
'partially_paid',
|
|
@@ -292,35 +292,35 @@ const factories = {
|
|
|
292
292
|
'voided',
|
|
293
293
|
]),
|
|
294
294
|
|
|
295
|
-
'io.flow.shopify.external.v0.enums.format': (): io.flow.shopify.external.v0.enums.Format => faker.
|
|
296
|
-
'io.flow.shopify.external.v0.enums.fulfillment_service': (): io.flow.shopify.external.v0.enums.FulfillmentService => faker.
|
|
297
|
-
'io.flow.shopify.external.v0.enums.fulfillment_status_type': (): io.flow.shopify.external.v0.enums.FulfillmentStatusType => faker.
|
|
298
|
-
'io.flow.shopify.external.v0.enums.inventory_behaviour': (): io.flow.shopify.external.v0.enums.InventoryBehaviour => faker.
|
|
299
|
-
'io.flow.shopify.external.v0.enums.inventory_management': (): io.flow.shopify.external.v0.enums.InventoryManagement => faker.
|
|
300
|
-
'io.flow.shopify.external.v0.enums.inventory_policy': (): io.flow.shopify.external.v0.enums.InventoryPolicy => faker.
|
|
301
|
-
'io.flow.shopify.external.v0.enums.kind_type': (): io.flow.shopify.external.v0.enums.KindType => faker.
|
|
295
|
+
'io.flow.shopify.external.v0.enums.format': (): io.flow.shopify.external.v0.enums.Format => faker.helpers.arrayElement(['json', 'xml']),
|
|
296
|
+
'io.flow.shopify.external.v0.enums.fulfillment_service': (): io.flow.shopify.external.v0.enums.FulfillmentService => faker.helpers.arrayElement(['manual', 'gift_card']),
|
|
297
|
+
'io.flow.shopify.external.v0.enums.fulfillment_status_type': (): io.flow.shopify.external.v0.enums.FulfillmentStatusType => faker.helpers.arrayElement(['fulfilled', 'null', 'partial']),
|
|
298
|
+
'io.flow.shopify.external.v0.enums.inventory_behaviour': (): io.flow.shopify.external.v0.enums.InventoryBehaviour => faker.helpers.arrayElement(['bypass', 'decrement_ignoring_policy', 'decrement_obeying_policy']),
|
|
299
|
+
'io.flow.shopify.external.v0.enums.inventory_management': (): io.flow.shopify.external.v0.enums.InventoryManagement => faker.helpers.arrayElement(['blank', 'shopify']),
|
|
300
|
+
'io.flow.shopify.external.v0.enums.inventory_policy': (): io.flow.shopify.external.v0.enums.InventoryPolicy => faker.helpers.arrayElement(['deny', 'continue']),
|
|
301
|
+
'io.flow.shopify.external.v0.enums.kind_type': (): io.flow.shopify.external.v0.enums.KindType => faker.helpers.arrayElement(['authorization', 'capture', 'sale', 'void', 'refund']),
|
|
302
302
|
|
|
303
|
-
'io.flow.shopify.external.v0.enums.localized_price': (): io.flow.shopify.external.v0.enums.LocalizedPrice => faker.
|
|
303
|
+
'io.flow.shopify.external.v0.enums.localized_price': (): io.flow.shopify.external.v0.enums.LocalizedPrice => faker.helpers.arrayElement([
|
|
304
304
|
'localized_item_price',
|
|
305
305
|
'localized_item_vat',
|
|
306
306
|
'localized_item_duty',
|
|
307
307
|
'localized_total',
|
|
308
308
|
]),
|
|
309
309
|
|
|
310
|
-
'io.flow.shopify.external.v0.enums.order_status_type': (): io.flow.shopify.external.v0.enums.OrderStatusType => faker.
|
|
311
|
-
'io.flow.shopify.external.v0.enums.price_rule_allocation_method': (): io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod => faker.
|
|
312
|
-
'io.flow.shopify.external.v0.enums.price_rule_customer_selection': (): io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection => faker.
|
|
313
|
-
'io.flow.shopify.external.v0.enums.price_rule_target_selection': (): io.flow.shopify.external.v0.enums.PriceRuleTargetSelection => faker.
|
|
314
|
-
'io.flow.shopify.external.v0.enums.price_rule_target_type': (): io.flow.shopify.external.v0.enums.PriceRuleTargetType => faker.
|
|
315
|
-
'io.flow.shopify.external.v0.enums.price_rule_value_type': (): io.flow.shopify.external.v0.enums.PriceRuleValueType => faker.
|
|
316
|
-
'io.flow.shopify.external.v0.enums.published_scope': (): io.flow.shopify.external.v0.enums.PublishedScope => faker.
|
|
317
|
-
'io.flow.shopify.external.v0.enums.restock_type': (): io.flow.shopify.external.v0.enums.RestockType => faker.
|
|
318
|
-
'io.flow.shopify.external.v0.enums.shopify_customer_state': (): io.flow.shopify.external.v0.enums.ShopifyCustomerState => faker.
|
|
319
|
-
'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': (): io.flow.shopify.external.v0.enums.ShopifyDiscountPaginationDirection => faker.
|
|
320
|
-
'io.flow.shopify.external.v0.enums.shopify_gift_card_status': (): io.flow.shopify.external.v0.enums.ShopifyGiftCardStatus => faker.
|
|
321
|
-
'io.flow.shopify.external.v0.enums.shopify_processing_method_type': (): io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType => faker.
|
|
322
|
-
|
|
323
|
-
'io.flow.shopify.external.v0.enums.shopify_transaction_error_code': (): io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode => faker.
|
|
310
|
+
'io.flow.shopify.external.v0.enums.order_status_type': (): io.flow.shopify.external.v0.enums.OrderStatusType => faker.helpers.arrayElement(['open', 'closed', 'cancelled', 'any']),
|
|
311
|
+
'io.flow.shopify.external.v0.enums.price_rule_allocation_method': (): io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod => faker.helpers.arrayElement(['across', 'each']),
|
|
312
|
+
'io.flow.shopify.external.v0.enums.price_rule_customer_selection': (): io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection => faker.helpers.arrayElement(['all', 'prerequisite']),
|
|
313
|
+
'io.flow.shopify.external.v0.enums.price_rule_target_selection': (): io.flow.shopify.external.v0.enums.PriceRuleTargetSelection => faker.helpers.arrayElement(['all', 'entitled']),
|
|
314
|
+
'io.flow.shopify.external.v0.enums.price_rule_target_type': (): io.flow.shopify.external.v0.enums.PriceRuleTargetType => faker.helpers.arrayElement(['line_item', 'shipping_line']),
|
|
315
|
+
'io.flow.shopify.external.v0.enums.price_rule_value_type': (): io.flow.shopify.external.v0.enums.PriceRuleValueType => faker.helpers.arrayElement(['fixed_amount', 'percentage']),
|
|
316
|
+
'io.flow.shopify.external.v0.enums.published_scope': (): io.flow.shopify.external.v0.enums.PublishedScope => faker.helpers.arrayElement(['global']),
|
|
317
|
+
'io.flow.shopify.external.v0.enums.restock_type': (): io.flow.shopify.external.v0.enums.RestockType => faker.helpers.arrayElement(['no_restock', 'cancel', 'return']),
|
|
318
|
+
'io.flow.shopify.external.v0.enums.shopify_customer_state': (): io.flow.shopify.external.v0.enums.ShopifyCustomerState => faker.helpers.arrayElement(['disabled', 'invited', 'enabled']),
|
|
319
|
+
'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': (): io.flow.shopify.external.v0.enums.ShopifyDiscountPaginationDirection => faker.helpers.arrayElement(['next', 'prev']),
|
|
320
|
+
'io.flow.shopify.external.v0.enums.shopify_gift_card_status': (): io.flow.shopify.external.v0.enums.ShopifyGiftCardStatus => faker.helpers.arrayElement(['any', 'enabled', 'disabled']),
|
|
321
|
+
'io.flow.shopify.external.v0.enums.shopify_processing_method_type': (): io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType => faker.helpers.arrayElement(['checkout', 'direct', 'manual', 'offsite', 'express']),
|
|
322
|
+
|
|
323
|
+
'io.flow.shopify.external.v0.enums.shopify_transaction_error_code': (): io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode => faker.helpers.arrayElement([
|
|
324
324
|
'incorrect_number',
|
|
325
325
|
'invalid_number',
|
|
326
326
|
'invalid_expiry_date',
|
|
@@ -335,9 +335,9 @@ const factories = {
|
|
|
335
335
|
'pick_up_card',
|
|
336
336
|
]),
|
|
337
337
|
|
|
338
|
-
'io.flow.shopify.external.v0.enums.shopify_transaction_status': (): io.flow.shopify.external.v0.enums.ShopifyTransactionStatus => faker.
|
|
338
|
+
'io.flow.shopify.external.v0.enums.shopify_transaction_status': (): io.flow.shopify.external.v0.enums.ShopifyTransactionStatus => faker.helpers.arrayElement(['pending', 'failure', 'success', 'error']),
|
|
339
339
|
|
|
340
|
-
'io.flow.shopify.external.v0.enums.topic': (): io.flow.shopify.external.v0.enums.Topic => faker.
|
|
340
|
+
'io.flow.shopify.external.v0.enums.topic': (): io.flow.shopify.external.v0.enums.Topic => faker.helpers.arrayElement([
|
|
341
341
|
'carts/create',
|
|
342
342
|
'carts/update',
|
|
343
343
|
'checkouts/create',
|
|
@@ -390,8 +390,8 @@ const factories = {
|
|
|
390
390
|
'themes/update',
|
|
391
391
|
]),
|
|
392
392
|
|
|
393
|
-
'io.flow.shopify.external.v0.enums.value_type': (): io.flow.shopify.external.v0.enums.ValueType => faker.
|
|
394
|
-
'io.flow.shopify.external.v0.enums.weight_unit': (): io.flow.shopify.external.v0.enums.WeightUnit => faker.
|
|
393
|
+
'io.flow.shopify.external.v0.enums.value_type': (): io.flow.shopify.external.v0.enums.ValueType => faker.helpers.arrayElement(['string', 'integer']),
|
|
394
|
+
'io.flow.shopify.external.v0.enums.weight_unit': (): io.flow.shopify.external.v0.enums.WeightUnit => faker.helpers.arrayElement(['g', 'kg', 'oz', 'lb']),
|
|
395
395
|
|
|
396
396
|
'io.flow.shopify.external.v0.models.collection': (): io.flow.shopify.external.v0.models.Collection => ({
|
|
397
397
|
id: factories.long(),
|
|
@@ -1327,9 +1327,9 @@ const factories = {
|
|
|
1327
1327
|
webhook: factories['io.flow.shopify.external.v0.models.webhook'](),
|
|
1328
1328
|
}),
|
|
1329
1329
|
|
|
1330
|
-
'io.flow.stripe.v0.enums.account_type': (): io.flow.stripe.v0.enums.AccountType => faker.
|
|
1330
|
+
'io.flow.stripe.v0.enums.account_type': (): io.flow.stripe.v0.enums.AccountType => faker.helpers.arrayElement(['platform', 'custom', 'standard', 'express']),
|
|
1331
1331
|
|
|
1332
|
-
'io.flow.stripe.v0.enums.cancellation_reason': (): io.flow.stripe.v0.enums.CancellationReason => faker.
|
|
1332
|
+
'io.flow.stripe.v0.enums.cancellation_reason': (): io.flow.stripe.v0.enums.CancellationReason => faker.helpers.arrayElement([
|
|
1333
1333
|
'abandoned',
|
|
1334
1334
|
'automatic',
|
|
1335
1335
|
'duplicate',
|
|
@@ -1339,9 +1339,9 @@ const factories = {
|
|
|
1339
1339
|
'void_invoice',
|
|
1340
1340
|
]),
|
|
1341
1341
|
|
|
1342
|
-
'io.flow.stripe.v0.enums.capture_method': (): io.flow.stripe.v0.enums.CaptureMethod => faker.
|
|
1342
|
+
'io.flow.stripe.v0.enums.capture_method': (): io.flow.stripe.v0.enums.CaptureMethod => faker.helpers.arrayElement(['automatic', 'manual']),
|
|
1343
1343
|
|
|
1344
|
-
'io.flow.stripe.v0.enums.card_brand': (): io.flow.stripe.v0.enums.CardBrand => faker.
|
|
1344
|
+
'io.flow.stripe.v0.enums.card_brand': (): io.flow.stripe.v0.enums.CardBrand => faker.helpers.arrayElement([
|
|
1345
1345
|
'American Express',
|
|
1346
1346
|
'MasterCard',
|
|
1347
1347
|
'Discover',
|
|
@@ -1350,7 +1350,7 @@ const factories = {
|
|
|
1350
1350
|
'Unknown',
|
|
1351
1351
|
]),
|
|
1352
1352
|
|
|
1353
|
-
'io.flow.stripe.v0.enums.card_error_code': (): io.flow.stripe.v0.enums.CardErrorCode => faker.
|
|
1353
|
+
'io.flow.stripe.v0.enums.card_error_code': (): io.flow.stripe.v0.enums.CardErrorCode => faker.helpers.arrayElement([
|
|
1354
1354
|
'invalid_number',
|
|
1355
1355
|
'invalid_expiry_month',
|
|
1356
1356
|
'invalid_expiry_year',
|
|
@@ -1365,12 +1365,12 @@ const factories = {
|
|
|
1365
1365
|
'processing_error',
|
|
1366
1366
|
]),
|
|
1367
1367
|
|
|
1368
|
-
'io.flow.stripe.v0.enums.card_funding_type': (): io.flow.stripe.v0.enums.CardFundingType => faker.
|
|
1369
|
-
'io.flow.stripe.v0.enums.check_outcome': (): io.flow.stripe.v0.enums.CheckOutcome => faker.
|
|
1370
|
-
'io.flow.stripe.v0.enums.code_verification_status': (): io.flow.stripe.v0.enums.CodeVerificationStatus => faker.
|
|
1371
|
-
'io.flow.stripe.v0.enums.confirmation_method': (): io.flow.stripe.v0.enums.ConfirmationMethod => faker.
|
|
1368
|
+
'io.flow.stripe.v0.enums.card_funding_type': (): io.flow.stripe.v0.enums.CardFundingType => faker.helpers.arrayElement(['credit', 'debit', 'prepaid', 'unknown']),
|
|
1369
|
+
'io.flow.stripe.v0.enums.check_outcome': (): io.flow.stripe.v0.enums.CheckOutcome => faker.helpers.arrayElement(['pass', 'fail', 'unavailable', 'unchecked']),
|
|
1370
|
+
'io.flow.stripe.v0.enums.code_verification_status': (): io.flow.stripe.v0.enums.CodeVerificationStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed']),
|
|
1371
|
+
'io.flow.stripe.v0.enums.confirmation_method': (): io.flow.stripe.v0.enums.ConfirmationMethod => faker.helpers.arrayElement(['automatic', 'manual']),
|
|
1372
1372
|
|
|
1373
|
-
'io.flow.stripe.v0.enums.decline_code': (): io.flow.stripe.v0.enums.DeclineCode => faker.
|
|
1373
|
+
'io.flow.stripe.v0.enums.decline_code': (): io.flow.stripe.v0.enums.DeclineCode => faker.helpers.arrayElement([
|
|
1374
1374
|
'approve_with_id',
|
|
1375
1375
|
'call_issuer',
|
|
1376
1376
|
'card_not_supported',
|
|
@@ -1415,7 +1415,7 @@ const factories = {
|
|
|
1415
1415
|
'withdrawal_count_limit_exceeded',
|
|
1416
1416
|
]),
|
|
1417
1417
|
|
|
1418
|
-
'io.flow.stripe.v0.enums.error_type': (): io.flow.stripe.v0.enums.ErrorType => faker.
|
|
1418
|
+
'io.flow.stripe.v0.enums.error_type': (): io.flow.stripe.v0.enums.ErrorType => faker.helpers.arrayElement([
|
|
1419
1419
|
'api_connection_error',
|
|
1420
1420
|
'api_error',
|
|
1421
1421
|
'authentication_error',
|
|
@@ -1426,7 +1426,7 @@ const factories = {
|
|
|
1426
1426
|
'validation_error',
|
|
1427
1427
|
]),
|
|
1428
1428
|
|
|
1429
|
-
'io.flow.stripe.v0.enums.event_type': (): io.flow.stripe.v0.enums.EventType => faker.
|
|
1429
|
+
'io.flow.stripe.v0.enums.event_type': (): io.flow.stripe.v0.enums.EventType => faker.helpers.arrayElement([
|
|
1430
1430
|
'charge.captured',
|
|
1431
1431
|
'charge.failed',
|
|
1432
1432
|
'charge.pending',
|
|
@@ -1442,7 +1442,7 @@ const factories = {
|
|
|
1442
1442
|
'source.failed',
|
|
1443
1443
|
]),
|
|
1444
1444
|
|
|
1445
|
-
'io.flow.stripe.v0.enums.klarna_payment_method_category_type': (): io.flow.stripe.v0.enums.KlarnaPaymentMethodCategoryType => faker.
|
|
1445
|
+
'io.flow.stripe.v0.enums.klarna_payment_method_category_type': (): io.flow.stripe.v0.enums.KlarnaPaymentMethodCategoryType => faker.helpers.arrayElement([
|
|
1446
1446
|
'direct_bank_transfer',
|
|
1447
1447
|
'direct_debit',
|
|
1448
1448
|
'pay_later',
|
|
@@ -1450,19 +1450,19 @@ const factories = {
|
|
|
1450
1450
|
'pay_over_time',
|
|
1451
1451
|
]),
|
|
1452
1452
|
|
|
1453
|
-
'io.flow.stripe.v0.enums.klarna_product': (): io.flow.stripe.v0.enums.KlarnaProduct => faker.
|
|
1453
|
+
'io.flow.stripe.v0.enums.klarna_product': (): io.flow.stripe.v0.enums.KlarnaProduct => faker.helpers.arrayElement(['payment']),
|
|
1454
1454
|
|
|
1455
|
-
'io.flow.stripe.v0.enums.network_status': (): io.flow.stripe.v0.enums.NetworkStatus => faker.
|
|
1455
|
+
'io.flow.stripe.v0.enums.network_status': (): io.flow.stripe.v0.enums.NetworkStatus => faker.helpers.arrayElement([
|
|
1456
1456
|
'approved_by_network',
|
|
1457
1457
|
'declined_by_network',
|
|
1458
1458
|
'not_sent_to_network',
|
|
1459
1459
|
'reversed_after_approval',
|
|
1460
1460
|
]),
|
|
1461
1461
|
|
|
1462
|
-
'io.flow.stripe.v0.enums.next_action_type': (): io.flow.stripe.v0.enums.NextActionType => faker.
|
|
1463
|
-
'io.flow.stripe.v0.enums.order_item_type': (): io.flow.stripe.v0.enums.OrderItemType => faker.
|
|
1462
|
+
'io.flow.stripe.v0.enums.next_action_type': (): io.flow.stripe.v0.enums.NextActionType => faker.helpers.arrayElement(['redirect_to_url', 'use_stripe_sdk']),
|
|
1463
|
+
'io.flow.stripe.v0.enums.order_item_type': (): io.flow.stripe.v0.enums.OrderItemType => faker.helpers.arrayElement(['sku', 'tax', 'shipping', 'discount']),
|
|
1464
1464
|
|
|
1465
|
-
'io.flow.stripe.v0.enums.payment_intent_status': (): io.flow.stripe.v0.enums.PaymentIntentStatus => faker.
|
|
1465
|
+
'io.flow.stripe.v0.enums.payment_intent_status': (): io.flow.stripe.v0.enums.PaymentIntentStatus => faker.helpers.arrayElement([
|
|
1466
1466
|
'canceled',
|
|
1467
1467
|
'processing',
|
|
1468
1468
|
'requires_action',
|
|
@@ -1472,19 +1472,19 @@ const factories = {
|
|
|
1472
1472
|
'succeeded',
|
|
1473
1473
|
]),
|
|
1474
1474
|
|
|
1475
|
-
'io.flow.stripe.v0.enums.payment_method_type': (): io.flow.stripe.v0.enums.PaymentMethodType => faker.
|
|
1476
|
-
'io.flow.stripe.v0.enums.payment_outcome_type': (): io.flow.stripe.v0.enums.PaymentOutcomeType => faker.
|
|
1477
|
-
'io.flow.stripe.v0.enums.payment_status': (): io.flow.stripe.v0.enums.PaymentStatus => faker.
|
|
1478
|
-
'io.flow.stripe.v0.enums.refund_failure_reason': (): io.flow.stripe.v0.enums.RefundFailureReason => faker.
|
|
1479
|
-
'io.flow.stripe.v0.enums.refund_reason': (): io.flow.stripe.v0.enums.RefundReason => faker.
|
|
1480
|
-
'io.flow.stripe.v0.enums.refund_status': (): io.flow.stripe.v0.enums.RefundStatus => faker.
|
|
1481
|
-
'io.flow.stripe.v0.enums.request_three_d_secure_type': (): io.flow.stripe.v0.enums.RequestThreeDSecureType => faker.
|
|
1482
|
-
'io.flow.stripe.v0.enums.requested_capabilities': (): io.flow.stripe.v0.enums.RequestedCapabilities => faker.
|
|
1483
|
-
'io.flow.stripe.v0.enums.setup_future_usage': (): io.flow.stripe.v0.enums.SetupFutureUsage => faker.
|
|
1484
|
-
'io.flow.stripe.v0.enums.source_flow': (): io.flow.stripe.v0.enums.SourceFlow => faker.
|
|
1485
|
-
'io.flow.stripe.v0.enums.source_status': (): io.flow.stripe.v0.enums.SourceStatus => faker.
|
|
1486
|
-
|
|
1487
|
-
'io.flow.stripe.v0.enums.source_type': (): io.flow.stripe.v0.enums.SourceType => faker.
|
|
1475
|
+
'io.flow.stripe.v0.enums.payment_method_type': (): io.flow.stripe.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['card', 'card_present']),
|
|
1476
|
+
'io.flow.stripe.v0.enums.payment_outcome_type': (): io.flow.stripe.v0.enums.PaymentOutcomeType => faker.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']),
|
|
1477
|
+
'io.flow.stripe.v0.enums.payment_status': (): io.flow.stripe.v0.enums.PaymentStatus => faker.helpers.arrayElement(['succeeded', 'pending', 'failed']),
|
|
1478
|
+
'io.flow.stripe.v0.enums.refund_failure_reason': (): io.flow.stripe.v0.enums.RefundFailureReason => faker.helpers.arrayElement(['lost_or_stolen_card', 'expired_or_canceled_card', 'unknown']),
|
|
1479
|
+
'io.flow.stripe.v0.enums.refund_reason': (): io.flow.stripe.v0.enums.RefundReason => faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']),
|
|
1480
|
+
'io.flow.stripe.v0.enums.refund_status': (): io.flow.stripe.v0.enums.RefundStatus => faker.helpers.arrayElement(['succeeded', 'failed', 'pending', 'canceled']),
|
|
1481
|
+
'io.flow.stripe.v0.enums.request_three_d_secure_type': (): io.flow.stripe.v0.enums.RequestThreeDSecureType => faker.helpers.arrayElement(['automatic', 'any']),
|
|
1482
|
+
'io.flow.stripe.v0.enums.requested_capabilities': (): io.flow.stripe.v0.enums.RequestedCapabilities => faker.helpers.arrayElement(['card_payments', 'legacy_payments', 'transfers']),
|
|
1483
|
+
'io.flow.stripe.v0.enums.setup_future_usage': (): io.flow.stripe.v0.enums.SetupFutureUsage => faker.helpers.arrayElement(['on_session', 'off_session']),
|
|
1484
|
+
'io.flow.stripe.v0.enums.source_flow': (): io.flow.stripe.v0.enums.SourceFlow => faker.helpers.arrayElement(['redirect', 'receiver', 'code_verification', 'none']),
|
|
1485
|
+
'io.flow.stripe.v0.enums.source_status': (): io.flow.stripe.v0.enums.SourceStatus => faker.helpers.arrayElement(['canceled', 'chargeable', 'consumed', 'failed', 'pending']),
|
|
1486
|
+
|
|
1487
|
+
'io.flow.stripe.v0.enums.source_type': (): io.flow.stripe.v0.enums.SourceType => faker.helpers.arrayElement([
|
|
1488
1488
|
'ach_credit_transfer',
|
|
1489
1489
|
'ach_debit',
|
|
1490
1490
|
'alipay',
|
|
@@ -1502,10 +1502,10 @@ const factories = {
|
|
|
1502
1502
|
'three_d_secure',
|
|
1503
1503
|
]),
|
|
1504
1504
|
|
|
1505
|
-
'io.flow.stripe.v0.enums.source_usage_type': (): io.flow.stripe.v0.enums.SourceUsageType => faker.
|
|
1506
|
-
'io.flow.stripe.v0.enums.three_d_secure_support': (): io.flow.stripe.v0.enums.ThreeDSecureSupport => faker.
|
|
1507
|
-
'io.flow.stripe.v0.enums.token_type': (): io.flow.stripe.v0.enums.TokenType => faker.
|
|
1508
|
-
'io.flow.stripe.v0.enums.use_stripe_sdk_type': (): io.flow.stripe.v0.enums.UseStripeSdkType => faker.
|
|
1505
|
+
'io.flow.stripe.v0.enums.source_usage_type': (): io.flow.stripe.v0.enums.SourceUsageType => faker.helpers.arrayElement(['reusable', 'single_use']),
|
|
1506
|
+
'io.flow.stripe.v0.enums.three_d_secure_support': (): io.flow.stripe.v0.enums.ThreeDSecureSupport => faker.helpers.arrayElement(['required', 'recommended', 'optional', 'not_supported']),
|
|
1507
|
+
'io.flow.stripe.v0.enums.token_type': (): io.flow.stripe.v0.enums.TokenType => faker.helpers.arrayElement(['account', 'bank_account', 'card', 'pii']),
|
|
1508
|
+
'io.flow.stripe.v0.enums.use_stripe_sdk_type': (): io.flow.stripe.v0.enums.UseStripeSdkType => faker.helpers.arrayElement(['three_d_secure_redirect', 'stripe_3ds2_fingerprint']),
|
|
1509
1509
|
|
|
1510
1510
|
'io.flow.stripe.v0.models.account': (): io.flow.stripe.v0.models.Account => ({
|
|
1511
1511
|
id: factories.string(),
|
|
@@ -2183,10 +2183,10 @@ const factories = {
|
|
|
2183
2183
|
destination: factories.string(),
|
|
2184
2184
|
}),
|
|
2185
2185
|
|
|
2186
|
-
'io.flow.v0.enums.abandoned_order_promotion_status': (): io.flow.v0.enums.AbandonedOrderPromotionStatus => faker.
|
|
2187
|
-
'io.flow.v0.enums.abandoned_order_setting_status': (): io.flow.v0.enums.AbandonedOrderSettingStatus => faker.
|
|
2186
|
+
'io.flow.v0.enums.abandoned_order_promotion_status': (): io.flow.v0.enums.AbandonedOrderPromotionStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
2187
|
+
'io.flow.v0.enums.abandoned_order_setting_status': (): io.flow.v0.enums.AbandonedOrderSettingStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
2188
2188
|
|
|
2189
|
-
'io.flow.v0.enums.address_field_name': (): io.flow.v0.enums.AddressFieldName => faker.
|
|
2189
|
+
'io.flow.v0.enums.address_field_name': (): io.flow.v0.enums.AddressFieldName => faker.helpers.arrayElement([
|
|
2190
2190
|
'first_name',
|
|
2191
2191
|
'last_name',
|
|
2192
2192
|
'street_1',
|
|
@@ -2200,12 +2200,12 @@ const factories = {
|
|
|
2200
2200
|
'vat_registration_number',
|
|
2201
2201
|
]),
|
|
2202
2202
|
|
|
2203
|
-
'io.flow.v0.enums.adjustment_reason_key': (): io.flow.v0.enums.AdjustmentReasonKey => faker.
|
|
2204
|
-
'io.flow.v0.enums.aggregate': (): io.flow.v0.enums.Aggregate => faker.
|
|
2205
|
-
'io.flow.v0.enums.attachment_type': (): io.flow.v0.enums.AttachmentType => faker.
|
|
2206
|
-
'io.flow.v0.enums.attribute_data_type': (): io.flow.v0.enums.AttributeDataType => faker.
|
|
2203
|
+
'io.flow.v0.enums.adjustment_reason_key': (): io.flow.v0.enums.AdjustmentReasonKey => faker.helpers.arrayElement(['duty_deminimis', 'vat_deminimis']),
|
|
2204
|
+
'io.flow.v0.enums.aggregate': (): io.flow.v0.enums.Aggregate => faker.helpers.arrayElement(['maximum', 'minimum']),
|
|
2205
|
+
'io.flow.v0.enums.attachment_type': (): io.flow.v0.enums.AttachmentType => faker.helpers.arrayElement(['csv']),
|
|
2206
|
+
'io.flow.v0.enums.attribute_data_type': (): io.flow.v0.enums.AttributeDataType => faker.helpers.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']),
|
|
2207
2207
|
|
|
2208
|
-
'io.flow.v0.enums.attribute_intent': (): io.flow.v0.enums.AttributeIntent => faker.
|
|
2208
|
+
'io.flow.v0.enums.attribute_intent': (): io.flow.v0.enums.AttributeIntent => faker.helpers.arrayElement([
|
|
2209
2209
|
'brand',
|
|
2210
2210
|
'color',
|
|
2211
2211
|
'countries_of_origin',
|
|
@@ -2230,9 +2230,9 @@ const factories = {
|
|
|
2230
2230
|
'include_in_product_feeds',
|
|
2231
2231
|
]),
|
|
2232
2232
|
|
|
2233
|
-
'io.flow.v0.enums.authentication_technique': (): io.flow.v0.enums.AuthenticationTechnique => faker.
|
|
2233
|
+
'io.flow.v0.enums.authentication_technique': (): io.flow.v0.enums.AuthenticationTechnique => faker.helpers.arrayElement(['anonymous', 'session', 'token', 'partner_token', 'user']),
|
|
2234
2234
|
|
|
2235
|
-
'io.flow.v0.enums.authorization_decline_code': (): io.flow.v0.enums.AuthorizationDeclineCode => faker.
|
|
2235
|
+
'io.flow.v0.enums.authorization_decline_code': (): io.flow.v0.enums.AuthorizationDeclineCode => faker.helpers.arrayElement([
|
|
2236
2236
|
'expired',
|
|
2237
2237
|
'invalid_name',
|
|
2238
2238
|
'invalid_number',
|
|
@@ -2250,10 +2250,10 @@ const factories = {
|
|
|
2250
2250
|
'online_payment_error',
|
|
2251
2251
|
]),
|
|
2252
2252
|
|
|
2253
|
-
'io.flow.v0.enums.authorization_option': (): io.flow.v0.enums.AuthorizationOption => faker.
|
|
2254
|
-
'io.flow.v0.enums.authorization_result_action_type': (): io.flow.v0.enums.AuthorizationResultActionType => faker.
|
|
2253
|
+
'io.flow.v0.enums.authorization_option': (): io.flow.v0.enums.AuthorizationOption => faker.helpers.arrayElement(['store_card']),
|
|
2254
|
+
'io.flow.v0.enums.authorization_result_action_type': (): io.flow.v0.enums.AuthorizationResultActionType => faker.helpers.arrayElement(['native', 'redirect', 'wait']),
|
|
2255
2255
|
|
|
2256
|
-
'io.flow.v0.enums.authorization_status': (): io.flow.v0.enums.AuthorizationStatus => faker.
|
|
2256
|
+
'io.flow.v0.enums.authorization_status': (): io.flow.v0.enums.AuthorizationStatus => faker.helpers.arrayElement([
|
|
2257
2257
|
'initiated',
|
|
2258
2258
|
'pending',
|
|
2259
2259
|
'expired',
|
|
@@ -2263,9 +2263,9 @@ const factories = {
|
|
|
2263
2263
|
'reversed',
|
|
2264
2264
|
]),
|
|
2265
2265
|
|
|
2266
|
-
'io.flow.v0.enums.availability_status': (): io.flow.v0.enums.AvailabilityStatus => faker.
|
|
2266
|
+
'io.flow.v0.enums.availability_status': (): io.flow.v0.enums.AvailabilityStatus => faker.helpers.arrayElement(['enabled', 'disabled']),
|
|
2267
2267
|
|
|
2268
|
-
'io.flow.v0.enums.available_filter_format': (): io.flow.v0.enums.AvailableFilterFormat => faker.
|
|
2268
|
+
'io.flow.v0.enums.available_filter_format': (): io.flow.v0.enums.AvailableFilterFormat => faker.helpers.arrayElement([
|
|
2269
2269
|
'boolean',
|
|
2270
2270
|
'date',
|
|
2271
2271
|
'money',
|
|
@@ -2275,15 +2275,15 @@ const factories = {
|
|
|
2275
2275
|
'unit_of_mass',
|
|
2276
2276
|
]),
|
|
2277
2277
|
|
|
2278
|
-
'io.flow.v0.enums.avs_code': (): io.flow.v0.enums.AvsCode => faker.
|
|
2279
|
-
'io.flow.v0.enums.b2b_invoice_type': (): io.flow.v0.enums.B2BInvoiceType => faker.
|
|
2280
|
-
'io.flow.v0.enums.calendar': (): io.flow.v0.enums.Calendar => faker.
|
|
2281
|
-
'io.flow.v0.enums.cancel_reason': (): io.flow.v0.enums.CancelReason => faker.
|
|
2282
|
-
'io.flow.v0.enums.capability': (): io.flow.v0.enums.Capability => faker.
|
|
2283
|
-
'io.flow.v0.enums.capture_decline_code': (): io.flow.v0.enums.CaptureDeclineCode => faker.
|
|
2284
|
-
'io.flow.v0.enums.capture_status': (): io.flow.v0.enums.CaptureStatus => faker.
|
|
2278
|
+
'io.flow.v0.enums.avs_code': (): io.flow.v0.enums.AvsCode => faker.helpers.arrayElement(['match', 'partial', 'unsupported', 'no_match']),
|
|
2279
|
+
'io.flow.v0.enums.b2b_invoice_type': (): io.flow.v0.enums.B2BInvoiceType => faker.helpers.arrayElement(['self_bill_invoice', 'invoice']),
|
|
2280
|
+
'io.flow.v0.enums.calendar': (): io.flow.v0.enums.Calendar => faker.helpers.arrayElement(['weekdays', 'everyday']),
|
|
2281
|
+
'io.flow.v0.enums.cancel_reason': (): io.flow.v0.enums.CancelReason => faker.helpers.arrayElement(['out_of_stock', 'consumer_requested', 'flow_cancel']),
|
|
2282
|
+
'io.flow.v0.enums.capability': (): io.flow.v0.enums.Capability => faker.helpers.arrayElement(['crossdock']),
|
|
2283
|
+
'io.flow.v0.enums.capture_decline_code': (): io.flow.v0.enums.CaptureDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
|
|
2284
|
+
'io.flow.v0.enums.capture_status': (): io.flow.v0.enums.CaptureStatus => faker.helpers.arrayElement(['initiated', 'pending', 'succeeded', 'failed', 'canceled']),
|
|
2285
2285
|
|
|
2286
|
-
'io.flow.v0.enums.card_error_code': (): io.flow.v0.enums.CardErrorCode => faker.
|
|
2286
|
+
'io.flow.v0.enums.card_error_code': (): io.flow.v0.enums.CardErrorCode => faker.helpers.arrayElement([
|
|
2287
2287
|
'invalid_address',
|
|
2288
2288
|
'invalid_currency',
|
|
2289
2289
|
'invalid_name',
|
|
@@ -2296,7 +2296,7 @@ const factories = {
|
|
|
2296
2296
|
'unknown',
|
|
2297
2297
|
]),
|
|
2298
2298
|
|
|
2299
|
-
'io.flow.v0.enums.card_type': (): io.flow.v0.enums.CardType => faker.
|
|
2299
|
+
'io.flow.v0.enums.card_type': (): io.flow.v0.enums.CardType => faker.helpers.arrayElement([
|
|
2300
2300
|
'american_express',
|
|
2301
2301
|
'cartes_bancaires',
|
|
2302
2302
|
'china_union_pay',
|
|
@@ -2309,16 +2309,16 @@ const factories = {
|
|
|
2309
2309
|
'visa',
|
|
2310
2310
|
]),
|
|
2311
2311
|
|
|
2312
|
-
'io.flow.v0.enums.center_capability': (): io.flow.v0.enums.CenterCapability => faker.
|
|
2313
|
-
'io.flow.v0.enums.change_type': (): io.flow.v0.enums.ChangeType => faker.
|
|
2314
|
-
'io.flow.v0.enums.channel_currency_capability': (): io.flow.v0.enums.ChannelCurrencyCapability => faker.
|
|
2315
|
-
'io.flow.v0.enums.consumer_invoice_customer_type': (): io.flow.v0.enums.ConsumerInvoiceCustomerType => faker.
|
|
2316
|
-
'io.flow.v0.enums.consumer_invoice_document_type': (): io.flow.v0.enums.ConsumerInvoiceDocumentType => faker.
|
|
2317
|
-
'io.flow.v0.enums.consumer_invoice_status': (): io.flow.v0.enums.ConsumerInvoiceStatus => faker.
|
|
2318
|
-
'io.flow.v0.enums.cost_estimate_source': (): io.flow.v0.enums.CostEstimateSource => faker.
|
|
2319
|
-
'io.flow.v0.enums.country_picker_source': (): io.flow.v0.enums.CountryPickerSource => faker.
|
|
2312
|
+
'io.flow.v0.enums.center_capability': (): io.flow.v0.enums.CenterCapability => faker.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']),
|
|
2313
|
+
'io.flow.v0.enums.change_type': (): io.flow.v0.enums.ChangeType => faker.helpers.arrayElement(['insert', 'update', 'delete']),
|
|
2314
|
+
'io.flow.v0.enums.channel_currency_capability': (): io.flow.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
2315
|
+
'io.flow.v0.enums.consumer_invoice_customer_type': (): io.flow.v0.enums.ConsumerInvoiceCustomerType => faker.helpers.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']),
|
|
2316
|
+
'io.flow.v0.enums.consumer_invoice_document_type': (): io.flow.v0.enums.ConsumerInvoiceDocumentType => faker.helpers.arrayElement(['pdf']),
|
|
2317
|
+
'io.flow.v0.enums.consumer_invoice_status': (): io.flow.v0.enums.ConsumerInvoiceStatus => faker.helpers.arrayElement(['pending', 'available', 'invalid']),
|
|
2318
|
+
'io.flow.v0.enums.cost_estimate_source': (): io.flow.v0.enums.CostEstimateSource => faker.helpers.arrayElement(['flow', 'channel']),
|
|
2319
|
+
'io.flow.v0.enums.country_picker_source': (): io.flow.v0.enums.CountryPickerSource => faker.helpers.arrayElement(['experience', 'destination']),
|
|
2320
2320
|
|
|
2321
|
-
'io.flow.v0.enums.credit_payment_error_code': (): io.flow.v0.enums.CreditPaymentErrorCode => faker.
|
|
2321
|
+
'io.flow.v0.enums.credit_payment_error_code': (): io.flow.v0.enums.CreditPaymentErrorCode => faker.helpers.arrayElement([
|
|
2322
2322
|
'generic_error',
|
|
2323
2323
|
'invalid_order_number',
|
|
2324
2324
|
'invalid_currency',
|
|
@@ -2329,12 +2329,12 @@ const factories = {
|
|
|
2329
2329
|
'insufficient_amount',
|
|
2330
2330
|
]),
|
|
2331
2331
|
|
|
2332
|
-
'io.flow.v0.enums.currency_label_formatter': (): io.flow.v0.enums.CurrencyLabelFormatter => faker.
|
|
2333
|
-
'io.flow.v0.enums.currency_symbol_format': (): io.flow.v0.enums.CurrencySymbolFormat => faker.
|
|
2334
|
-
'io.flow.v0.enums.customer_address_type': (): io.flow.v0.enums.CustomerAddressType => faker.
|
|
2335
|
-
'io.flow.v0.enums.cvv_code': (): io.flow.v0.enums.CvvCode => faker.
|
|
2332
|
+
'io.flow.v0.enums.currency_label_formatter': (): io.flow.v0.enums.CurrencyLabelFormatter => faker.helpers.arrayElement(['strip_trailing_zeros', 'symbol_prefix', 'symbol_suffix']),
|
|
2333
|
+
'io.flow.v0.enums.currency_symbol_format': (): io.flow.v0.enums.CurrencySymbolFormat => faker.helpers.arrayElement(['narrow', 'primary']),
|
|
2334
|
+
'io.flow.v0.enums.customer_address_type': (): io.flow.v0.enums.CustomerAddressType => faker.helpers.arrayElement(['billing', 'invoice', 'shipping']),
|
|
2335
|
+
'io.flow.v0.enums.cvv_code': (): io.flow.v0.enums.CvvCode => faker.helpers.arrayElement(['match', 'suspicious', 'unsupported', 'no_match']),
|
|
2336
2336
|
|
|
2337
|
-
'io.flow.v0.enums.day_of_week': (): io.flow.v0.enums.DayOfWeek => faker.
|
|
2337
|
+
'io.flow.v0.enums.day_of_week': (): io.flow.v0.enums.DayOfWeek => faker.helpers.arrayElement([
|
|
2338
2338
|
'sunday',
|
|
2339
2339
|
'monday',
|
|
2340
2340
|
'tuesday',
|
|
@@ -2344,10 +2344,10 @@ const factories = {
|
|
|
2344
2344
|
'saturday',
|
|
2345
2345
|
]),
|
|
2346
2346
|
|
|
2347
|
-
'io.flow.v0.enums.delivered_duty': (): io.flow.v0.enums.DeliveredDuty => faker.
|
|
2348
|
-
'io.flow.v0.enums.delivered_duty_display_type': (): io.flow.v0.enums.DeliveredDutyDisplayType => faker.
|
|
2347
|
+
'io.flow.v0.enums.delivered_duty': (): io.flow.v0.enums.DeliveredDuty => faker.helpers.arrayElement(['paid', 'unpaid']),
|
|
2348
|
+
'io.flow.v0.enums.delivered_duty_display_type': (): io.flow.v0.enums.DeliveredDutyDisplayType => faker.helpers.arrayElement(['all', 'single']),
|
|
2349
2349
|
|
|
2350
|
-
'io.flow.v0.enums.delivery_option_cost_detail_component_key': (): io.flow.v0.enums.DeliveryOptionCostDetailComponentKey => faker.
|
|
2350
|
+
'io.flow.v0.enums.delivery_option_cost_detail_component_key': (): io.flow.v0.enums.DeliveryOptionCostDetailComponentKey => faker.helpers.arrayElement([
|
|
2351
2351
|
'ratecard_base_cost',
|
|
2352
2352
|
'ratecard_ddp_fee',
|
|
2353
2353
|
'ratecard_fuel_surcharge',
|
|
@@ -2361,16 +2361,16 @@ const factories = {
|
|
|
2361
2361
|
'center_outbound_carton_fee',
|
|
2362
2362
|
]),
|
|
2363
2363
|
|
|
2364
|
-
'io.flow.v0.enums.delivery_option_cost_detail_source': (): io.flow.v0.enums.DeliveryOptionCostDetailSource => faker.
|
|
2365
|
-
'io.flow.v0.enums.delivery_window_component_source': (): io.flow.v0.enums.DeliveryWindowComponentSource => faker.
|
|
2366
|
-
'io.flow.v0.enums.delivery_window_location': (): io.flow.v0.enums.DeliveryWindowLocation => faker.
|
|
2367
|
-
'io.flow.v0.enums.direction': (): io.flow.v0.enums.Direction => faker.
|
|
2368
|
-
'io.flow.v0.enums.discount_rule_status': (): io.flow.v0.enums.DiscountRuleStatus => faker.
|
|
2369
|
-
'io.flow.v0.enums.discount_rule_subsidy_target': (): io.flow.v0.enums.DiscountRuleSubsidyTarget => faker.
|
|
2370
|
-
'io.flow.v0.enums.discount_target': (): io.flow.v0.enums.DiscountTarget => faker.
|
|
2371
|
-
'io.flow.v0.enums.duty_item_approval_status': (): io.flow.v0.enums.DutyItemApprovalStatus => faker.
|
|
2364
|
+
'io.flow.v0.enums.delivery_option_cost_detail_source': (): io.flow.v0.enums.DeliveryOptionCostDetailSource => faker.helpers.arrayElement(['center', 'ratecard']),
|
|
2365
|
+
'io.flow.v0.enums.delivery_window_component_source': (): io.flow.v0.enums.DeliveryWindowComponentSource => faker.helpers.arrayElement(['flow', 'organization', 'carrier', 'center', 'mixed']),
|
|
2366
|
+
'io.flow.v0.enums.delivery_window_location': (): io.flow.v0.enums.DeliveryWindowLocation => faker.helpers.arrayElement(['center', 'crossdock', 'customer']),
|
|
2367
|
+
'io.flow.v0.enums.direction': (): io.flow.v0.enums.Direction => faker.helpers.arrayElement(['outbound', 'return']),
|
|
2368
|
+
'io.flow.v0.enums.discount_rule_status': (): io.flow.v0.enums.DiscountRuleStatus => faker.helpers.arrayElement(['active', 'scheduled', 'expired']),
|
|
2369
|
+
'io.flow.v0.enums.discount_rule_subsidy_target': (): io.flow.v0.enums.DiscountRuleSubsidyTarget => faker.helpers.arrayElement(['vat', 'duty']),
|
|
2370
|
+
'io.flow.v0.enums.discount_target': (): io.flow.v0.enums.DiscountTarget => faker.helpers.arrayElement(['item', 'shipping']),
|
|
2371
|
+
'io.flow.v0.enums.duty_item_approval_status': (): io.flow.v0.enums.DutyItemApprovalStatus => faker.helpers.arrayElement(['pending', 'certified', 'decertified']),
|
|
2372
2372
|
|
|
2373
|
-
'io.flow.v0.enums.ecommerce_platform_type': (): io.flow.v0.enums.EcommercePlatformType => faker.
|
|
2373
|
+
'io.flow.v0.enums.ecommerce_platform_type': (): io.flow.v0.enums.EcommercePlatformType => faker.helpers.arrayElement([
|
|
2374
2374
|
'commercetools',
|
|
2375
2375
|
'custom',
|
|
2376
2376
|
'hybris',
|
|
@@ -2382,11 +2382,11 @@ const factories = {
|
|
|
2382
2382
|
'workarea',
|
|
2383
2383
|
]),
|
|
2384
2384
|
|
|
2385
|
-
'io.flow.v0.enums.economic_title_location': (): io.flow.v0.enums.EconomicTitleLocation => faker.
|
|
2386
|
-
'io.flow.v0.enums.entity_identifier_type': (): io.flow.v0.enums.EntityIdentifierType => faker.
|
|
2387
|
-
'io.flow.v0.enums.environment': (): io.flow.v0.enums.Environment => faker.
|
|
2385
|
+
'io.flow.v0.enums.economic_title_location': (): io.flow.v0.enums.EconomicTitleLocation => faker.helpers.arrayElement(['high_seas', 'origination', 'destination']),
|
|
2386
|
+
'io.flow.v0.enums.entity_identifier_type': (): io.flow.v0.enums.EntityIdentifierType => faker.helpers.arrayElement(['ioss', 'voec']),
|
|
2387
|
+
'io.flow.v0.enums.environment': (): io.flow.v0.enums.Environment => faker.helpers.arrayElement(['sandbox', 'production']),
|
|
2388
2388
|
|
|
2389
|
-
'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.
|
|
2389
|
+
'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.helpers.arrayElement([
|
|
2390
2390
|
'transaction_upserted',
|
|
2391
2391
|
'organization_transaction_upserted',
|
|
2392
2392
|
'organization_transaction_deleted',
|
|
@@ -2576,16 +2576,16 @@ const factories = {
|
|
|
2576
2576
|
'tracking_label_event_upserted',
|
|
2577
2577
|
]),
|
|
2578
2578
|
|
|
2579
|
-
'io.flow.v0.enums.exception_type': (): io.flow.v0.enums.ExceptionType => faker.
|
|
2580
|
-
'io.flow.v0.enums.exclusion_rule_state': (): io.flow.v0.enums.ExclusionRuleState => faker.
|
|
2581
|
-
'io.flow.v0.enums.experience_clone_status': (): io.flow.v0.enums.ExperienceCloneStatus => faker.
|
|
2582
|
-
'io.flow.v0.enums.experience_country_status': (): io.flow.v0.enums.ExperienceCountryStatus => faker.
|
|
2583
|
-
'io.flow.v0.enums.experience_payment_method_tag': (): io.flow.v0.enums.ExperiencePaymentMethodTag => faker.
|
|
2584
|
-
'io.flow.v0.enums.experience_status': (): io.flow.v0.enums.ExperienceStatus => faker.
|
|
2585
|
-
'io.flow.v0.enums.export_status': (): io.flow.v0.enums.ExportStatus => faker.
|
|
2586
|
-
'io.flow.v0.enums.exporter_of_record': (): io.flow.v0.enums.ExporterOfRecord => faker.
|
|
2579
|
+
'io.flow.v0.enums.exception_type': (): io.flow.v0.enums.ExceptionType => faker.helpers.arrayElement(['open', 'closed']),
|
|
2580
|
+
'io.flow.v0.enums.exclusion_rule_state': (): io.flow.v0.enums.ExclusionRuleState => faker.helpers.arrayElement(['current', 'deleting', 'updating']),
|
|
2581
|
+
'io.flow.v0.enums.experience_clone_status': (): io.flow.v0.enums.ExperienceCloneStatus => faker.helpers.arrayElement(['pending', 'updating', 'completed', 'failed']),
|
|
2582
|
+
'io.flow.v0.enums.experience_country_status': (): io.flow.v0.enums.ExperienceCountryStatus => faker.helpers.arrayElement(['enabled', 'disabled']),
|
|
2583
|
+
'io.flow.v0.enums.experience_payment_method_tag': (): io.flow.v0.enums.ExperiencePaymentMethodTag => faker.helpers.arrayElement(['display']),
|
|
2584
|
+
'io.flow.v0.enums.experience_status': (): io.flow.v0.enums.ExperienceStatus => faker.helpers.arrayElement(['draft', 'active', 'archiving', 'archived']),
|
|
2585
|
+
'io.flow.v0.enums.export_status': (): io.flow.v0.enums.ExportStatus => faker.helpers.arrayElement(['created', 'processing', 'completed', 'failed']),
|
|
2586
|
+
'io.flow.v0.enums.exporter_of_record': (): io.flow.v0.enums.ExporterOfRecord => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2587
2587
|
|
|
2588
|
-
'io.flow.v0.enums.fee_deduction_type': (): io.flow.v0.enums.FeeDeductionType => faker.
|
|
2588
|
+
'io.flow.v0.enums.fee_deduction_type': (): io.flow.v0.enums.FeeDeductionType => faker.helpers.arrayElement([
|
|
2589
2589
|
'duty_guarantee',
|
|
2590
2590
|
'mor',
|
|
2591
2591
|
'fraud',
|
|
@@ -2595,10 +2595,10 @@ const factories = {
|
|
|
2595
2595
|
'transfer',
|
|
2596
2596
|
]),
|
|
2597
2597
|
|
|
2598
|
-
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.
|
|
2599
|
-
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.
|
|
2598
|
+
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.helpers.arrayElement(['view_consumer_data']),
|
|
2599
|
+
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']),
|
|
2600
2600
|
|
|
2601
|
-
'io.flow.v0.enums.flow_role': (): io.flow.v0.enums.FlowRole => faker.
|
|
2601
|
+
'io.flow.v0.enums.flow_role': (): io.flow.v0.enums.FlowRole => faker.helpers.arrayElement([
|
|
2602
2602
|
'organization_admin',
|
|
2603
2603
|
'organization_merchant',
|
|
2604
2604
|
'organization_customer_service',
|
|
@@ -2610,19 +2610,19 @@ const factories = {
|
|
|
2610
2610
|
'channel_organization_admin',
|
|
2611
2611
|
]),
|
|
2612
2612
|
|
|
2613
|
-
'io.flow.v0.enums.fraud_email_rule_decision': (): io.flow.v0.enums.FraudEmailRuleDecision => faker.
|
|
2614
|
-
'io.flow.v0.enums.fraud_liability': (): io.flow.v0.enums.FraudLiability => faker.
|
|
2615
|
-
'io.flow.v0.enums.fraud_status': (): io.flow.v0.enums.FraudStatus => faker.
|
|
2616
|
-
'io.flow.v0.enums.ftp_file_source': (): io.flow.v0.enums.FtpFileSource => faker.
|
|
2617
|
-
'io.flow.v0.enums.fulfillment_item_quantity_status': (): io.flow.v0.enums.FulfillmentItemQuantityStatus => faker.
|
|
2618
|
-
'io.flow.v0.enums.fulfillment_method_type': (): io.flow.v0.enums.FulfillmentMethodType => faker.
|
|
2619
|
-
'io.flow.v0.enums.fulfillment_method_value': (): io.flow.v0.enums.FulfillmentMethodValue => faker.
|
|
2620
|
-
'io.flow.v0.enums.generic_error_code': (): io.flow.v0.enums.GenericErrorCode => faker.
|
|
2621
|
-
'io.flow.v0.enums.goods_supply': (): io.flow.v0.enums.GoodsSupply => faker.
|
|
2622
|
-
'io.flow.v0.enums.holiday_calendar': (): io.flow.v0.enums.HolidayCalendar => faker.
|
|
2623
|
-
'io.flow.v0.enums.image_tag': (): io.flow.v0.enums.ImageTag => faker.
|
|
2624
|
-
|
|
2625
|
-
'io.flow.v0.enums.import_type': (): io.flow.v0.enums.ImportType => faker.
|
|
2613
|
+
'io.flow.v0.enums.fraud_email_rule_decision': (): io.flow.v0.enums.FraudEmailRuleDecision => faker.helpers.arrayElement(['approved', 'declined']),
|
|
2614
|
+
'io.flow.v0.enums.fraud_liability': (): io.flow.v0.enums.FraudLiability => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2615
|
+
'io.flow.v0.enums.fraud_status': (): io.flow.v0.enums.FraudStatus => faker.helpers.arrayElement(['pending', 'approved', 'declined', 'review']),
|
|
2616
|
+
'io.flow.v0.enums.ftp_file_source': (): io.flow.v0.enums.FtpFileSource => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2617
|
+
'io.flow.v0.enums.fulfillment_item_quantity_status': (): io.flow.v0.enums.FulfillmentItemQuantityStatus => faker.helpers.arrayElement(['new', 'shipped', 'cancelled']),
|
|
2618
|
+
'io.flow.v0.enums.fulfillment_method_type': (): io.flow.v0.enums.FulfillmentMethodType => faker.helpers.arrayElement(['fulfillment_method']),
|
|
2619
|
+
'io.flow.v0.enums.fulfillment_method_value': (): io.flow.v0.enums.FulfillmentMethodValue => faker.helpers.arrayElement(['digital', 'physical']),
|
|
2620
|
+
'io.flow.v0.enums.generic_error_code': (): io.flow.v0.enums.GenericErrorCode => faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']),
|
|
2621
|
+
'io.flow.v0.enums.goods_supply': (): io.flow.v0.enums.GoodsSupply => faker.helpers.arrayElement(['export', 'intra_community', 'local']),
|
|
2622
|
+
'io.flow.v0.enums.holiday_calendar': (): io.flow.v0.enums.HolidayCalendar => faker.helpers.arrayElement(['us_bank_holidays', 'jewish_holidays']),
|
|
2623
|
+
'io.flow.v0.enums.image_tag': (): io.flow.v0.enums.ImageTag => faker.helpers.arrayElement(['thumbnail', 'checkout']),
|
|
2624
|
+
|
|
2625
|
+
'io.flow.v0.enums.import_type': (): io.flow.v0.enums.ImportType => faker.helpers.arrayElement([
|
|
2626
2626
|
'catalog_items',
|
|
2627
2627
|
'catalog_items_external',
|
|
2628
2628
|
'customs_descriptions',
|
|
@@ -2637,9 +2637,9 @@ const factories = {
|
|
|
2637
2637
|
'order_service_changes',
|
|
2638
2638
|
]),
|
|
2639
2639
|
|
|
2640
|
-
'io.flow.v0.enums.included_levy_key': (): io.flow.v0.enums.IncludedLevyKey => faker.
|
|
2640
|
+
'io.flow.v0.enums.included_levy_key': (): io.flow.v0.enums.IncludedLevyKey => faker.helpers.arrayElement(['duty', 'vat', 'vat_and_duty', 'none']),
|
|
2641
2641
|
|
|
2642
|
-
'io.flow.v0.enums.incoterm': (): io.flow.v0.enums.Incoterm => faker.
|
|
2642
|
+
'io.flow.v0.enums.incoterm': (): io.flow.v0.enums.Incoterm => faker.helpers.arrayElement([
|
|
2643
2643
|
'EXW',
|
|
2644
2644
|
'FCA',
|
|
2645
2645
|
'CPT',
|
|
@@ -2657,24 +2657,24 @@ const factories = {
|
|
|
2657
2657
|
'DDU',
|
|
2658
2658
|
]),
|
|
2659
2659
|
|
|
2660
|
-
'io.flow.v0.enums.inline_window_viewport_size': (): io.flow.v0.enums.InlineWindowViewportSize => faker.
|
|
2661
|
-
'io.flow.v0.enums.input_specification_type': (): io.flow.v0.enums.InputSpecificationType => faker.
|
|
2662
|
-
'io.flow.v0.enums.inventory_status': (): io.flow.v0.enums.InventoryStatus => faker.
|
|
2663
|
-
'io.flow.v0.enums.invitation_error_code': (): io.flow.v0.enums.InvitationErrorCode => faker.
|
|
2664
|
-
'io.flow.v0.enums.item_availability_status': (): io.flow.v0.enums.ItemAvailabilityStatus => faker.
|
|
2665
|
-
'io.flow.v0.enums.item_identifier': (): io.flow.v0.enums.ItemIdentifier => faker.
|
|
2666
|
-
'io.flow.v0.enums.lane_direction': (): io.flow.v0.enums.LaneDirection => faker.
|
|
2667
|
-
'io.flow.v0.enums.lane_preselect_preference': (): io.flow.v0.enums.LanePreselectPreference => faker.
|
|
2668
|
-
'io.flow.v0.enums.lane_strategy': (): io.flow.v0.enums.LaneStrategy => faker.
|
|
2669
|
-
'io.flow.v0.enums.levy_component': (): io.flow.v0.enums.LevyComponent => faker.
|
|
2670
|
-
'io.flow.v0.enums.levy_inclusion': (): io.flow.v0.enums.LevyInclusion => faker.
|
|
2671
|
-
'io.flow.v0.enums.levy_strategy': (): io.flow.v0.enums.LevyStrategy => faker.
|
|
2672
|
-
'io.flow.v0.enums.location_error_code': (): io.flow.v0.enums.LocationErrorCode => faker.
|
|
2673
|
-
'io.flow.v0.enums.logistics_format_preference': (): io.flow.v0.enums.LogisticsFormatPreference => faker.
|
|
2674
|
-
'io.flow.v0.enums.margin_type': (): io.flow.v0.enums.MarginType => faker.
|
|
2675
|
-
'io.flow.v0.enums.measurement_system': (): io.flow.v0.enums.MeasurementSystem => faker.
|
|
2676
|
-
|
|
2677
|
-
'io.flow.v0.enums.merchant_gift_card_error_code': (): io.flow.v0.enums.MerchantGiftCardErrorCode => faker.
|
|
2660
|
+
'io.flow.v0.enums.inline_window_viewport_size': (): io.flow.v0.enums.InlineWindowViewportSize => faker.helpers.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen', 'responsive']),
|
|
2661
|
+
'io.flow.v0.enums.input_specification_type': (): io.flow.v0.enums.InputSpecificationType => faker.helpers.arrayElement(['text', 'number']),
|
|
2662
|
+
'io.flow.v0.enums.inventory_status': (): io.flow.v0.enums.InventoryStatus => faker.helpers.arrayElement(['has_inventory', 'no_inventory']),
|
|
2663
|
+
'io.flow.v0.enums.invitation_error_code': (): io.flow.v0.enums.InvitationErrorCode => faker.helpers.arrayElement(['expired', 'invalid_email']),
|
|
2664
|
+
'io.flow.v0.enums.item_availability_status': (): io.flow.v0.enums.ItemAvailabilityStatus => faker.helpers.arrayElement(['available', 'low', 'out_of_stock']),
|
|
2665
|
+
'io.flow.v0.enums.item_identifier': (): io.flow.v0.enums.ItemIdentifier => faker.helpers.arrayElement(['item_number', 'sku']),
|
|
2666
|
+
'io.flow.v0.enums.lane_direction': (): io.flow.v0.enums.LaneDirection => faker.helpers.arrayElement(['outbound', 'return']),
|
|
2667
|
+
'io.flow.v0.enums.lane_preselect_preference': (): io.flow.v0.enums.LanePreselectPreference => faker.helpers.arrayElement(['lowest_cost', 'default_tier']),
|
|
2668
|
+
'io.flow.v0.enums.lane_strategy': (): io.flow.v0.enums.LaneStrategy => faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']),
|
|
2669
|
+
'io.flow.v0.enums.levy_component': (): io.flow.v0.enums.LevyComponent => faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']),
|
|
2670
|
+
'io.flow.v0.enums.levy_inclusion': (): io.flow.v0.enums.LevyInclusion => faker.helpers.arrayElement(['tax', 'duty']),
|
|
2671
|
+
'io.flow.v0.enums.levy_strategy': (): io.flow.v0.enums.LevyStrategy => faker.helpers.arrayElement(['minimum', 'average', 'maximum']),
|
|
2672
|
+
'io.flow.v0.enums.location_error_code': (): io.flow.v0.enums.LocationErrorCode => faker.helpers.arrayElement(['address_required', 'ip_invalid', 'ip_required', 'timezone_unavailable']),
|
|
2673
|
+
'io.flow.v0.enums.logistics_format_preference': (): io.flow.v0.enums.LogisticsFormatPreference => faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']),
|
|
2674
|
+
'io.flow.v0.enums.margin_type': (): io.flow.v0.enums.MarginType => faker.helpers.arrayElement(['fixed', 'percent']),
|
|
2675
|
+
'io.flow.v0.enums.measurement_system': (): io.flow.v0.enums.MeasurementSystem => faker.helpers.arrayElement(['imperial', 'metric']),
|
|
2676
|
+
|
|
2677
|
+
'io.flow.v0.enums.merchant_gift_card_error_code': (): io.flow.v0.enums.MerchantGiftCardErrorCode => faker.helpers.arrayElement([
|
|
2678
2678
|
'invalid',
|
|
2679
2679
|
'expired',
|
|
2680
2680
|
'empty',
|
|
@@ -2682,25 +2682,25 @@ const factories = {
|
|
|
2682
2682
|
'unsupported_currency',
|
|
2683
2683
|
]),
|
|
2684
2684
|
|
|
2685
|
-
'io.flow.v0.enums.merchant_of_record': (): io.flow.v0.enums.MerchantOfRecord => faker.
|
|
2685
|
+
'io.flow.v0.enums.merchant_of_record': (): io.flow.v0.enums.MerchantOfRecord => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2686
2686
|
|
|
2687
|
-
'io.flow.v0.enums.merchant_rejected_reason': (): io.flow.v0.enums.MerchantRejectedReason => faker.
|
|
2687
|
+
'io.flow.v0.enums.merchant_rejected_reason': (): io.flow.v0.enums.MerchantRejectedReason => faker.helpers.arrayElement([
|
|
2688
2688
|
'merchant_ubo_is_pep',
|
|
2689
2689
|
'merchant_catalog_is_unsupportable',
|
|
2690
2690
|
'merchant_failed_kyb_review',
|
|
2691
2691
|
]),
|
|
2692
2692
|
|
|
2693
|
-
'io.flow.v0.enums.method': (): io.flow.v0.enums.Method => faker.
|
|
2694
|
-
'io.flow.v0.enums.onboarding_application_status': (): io.flow.v0.enums.OnboardingApplicationStatus => faker.
|
|
2693
|
+
'io.flow.v0.enums.method': (): io.flow.v0.enums.Method => faker.helpers.arrayElement(['post']),
|
|
2694
|
+
'io.flow.v0.enums.onboarding_application_status': (): io.flow.v0.enums.OnboardingApplicationStatus => faker.helpers.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']),
|
|
2695
2695
|
|
|
2696
|
-
'io.flow.v0.enums.onboarding_blocked_reason': (): io.flow.v0.enums.OnboardingBlockedReason => faker.
|
|
2696
|
+
'io.flow.v0.enums.onboarding_blocked_reason': (): io.flow.v0.enums.OnboardingBlockedReason => faker.helpers.arrayElement([
|
|
2697
2697
|
'street_address_is_blank_3pl',
|
|
2698
2698
|
'street_address_is_po_box_3pl',
|
|
2699
2699
|
'business_street_address_is_blank',
|
|
2700
2700
|
'business_street_address_is_po_box',
|
|
2701
2701
|
]),
|
|
2702
2702
|
|
|
2703
|
-
'io.flow.v0.enums.onboarding_trade_sector': (): io.flow.v0.enums.OnboardingTradeSector => faker.
|
|
2703
|
+
'io.flow.v0.enums.onboarding_trade_sector': (): io.flow.v0.enums.OnboardingTradeSector => faker.helpers.arrayElement([
|
|
2704
2704
|
'accessories',
|
|
2705
2705
|
'animals_and_pet_supplies',
|
|
2706
2706
|
'apparel',
|
|
@@ -2732,10 +2732,10 @@ const factories = {
|
|
|
2732
2732
|
'other',
|
|
2733
2733
|
]),
|
|
2734
2734
|
|
|
2735
|
-
'io.flow.v0.enums.optin_response_type': (): io.flow.v0.enums.OptinResponseType => faker.
|
|
2736
|
-
'io.flow.v0.enums.order_change_source': (): io.flow.v0.enums.OrderChangeSource => faker.
|
|
2735
|
+
'io.flow.v0.enums.optin_response_type': (): io.flow.v0.enums.OptinResponseType => faker.helpers.arrayElement(['not_shown', 'opted_in', 'opted_out']),
|
|
2736
|
+
'io.flow.v0.enums.order_change_source': (): io.flow.v0.enums.OrderChangeSource => faker.helpers.arrayElement(['consumer', 'retailer', 'fulfillment', 'flow', 'carrier']),
|
|
2737
2737
|
|
|
2738
|
-
'io.flow.v0.enums.order_error_code': (): io.flow.v0.enums.OrderErrorCode => faker.
|
|
2738
|
+
'io.flow.v0.enums.order_error_code': (): io.flow.v0.enums.OrderErrorCode => faker.helpers.arrayElement([
|
|
2739
2739
|
'generic_error',
|
|
2740
2740
|
'order_item_not_available',
|
|
2741
2741
|
'order_identifier_error',
|
|
@@ -2752,9 +2752,9 @@ const factories = {
|
|
|
2752
2752
|
'total_changed',
|
|
2753
2753
|
]),
|
|
2754
2754
|
|
|
2755
|
-
'io.flow.v0.enums.order_merchant_of_record': (): io.flow.v0.enums.OrderMerchantOfRecord => faker.
|
|
2755
|
+
'io.flow.v0.enums.order_merchant_of_record': (): io.flow.v0.enums.OrderMerchantOfRecord => faker.helpers.arrayElement(['flow', 'organization', 'mixed']),
|
|
2756
2756
|
|
|
2757
|
-
'io.flow.v0.enums.order_payment_type': (): io.flow.v0.enums.OrderPaymentType => faker.
|
|
2757
|
+
'io.flow.v0.enums.order_payment_type': (): io.flow.v0.enums.OrderPaymentType => faker.helpers.arrayElement([
|
|
2758
2758
|
'card',
|
|
2759
2759
|
'online',
|
|
2760
2760
|
'credit',
|
|
@@ -2763,7 +2763,7 @@ const factories = {
|
|
|
2763
2763
|
'cash_on_delivery',
|
|
2764
2764
|
]),
|
|
2765
2765
|
|
|
2766
|
-
'io.flow.v0.enums.order_price_detail_component_key': (): io.flow.v0.enums.OrderPriceDetailComponentKey => faker.
|
|
2766
|
+
'io.flow.v0.enums.order_price_detail_component_key': (): io.flow.v0.enums.OrderPriceDetailComponentKey => faker.helpers.arrayElement([
|
|
2767
2767
|
'adjustment',
|
|
2768
2768
|
'vat_deminimis',
|
|
2769
2769
|
'duty_deminimis',
|
|
@@ -2795,7 +2795,7 @@ const factories = {
|
|
|
2795
2795
|
'duties_taxes_paid_surcharge',
|
|
2796
2796
|
]),
|
|
2797
2797
|
|
|
2798
|
-
'io.flow.v0.enums.order_price_detail_key': (): io.flow.v0.enums.OrderPriceDetailKey => faker.
|
|
2798
|
+
'io.flow.v0.enums.order_price_detail_key': (): io.flow.v0.enums.OrderPriceDetailKey => faker.helpers.arrayElement([
|
|
2799
2799
|
'adjustment',
|
|
2800
2800
|
'subtotal',
|
|
2801
2801
|
'vat',
|
|
@@ -2806,9 +2806,9 @@ const factories = {
|
|
|
2806
2806
|
'surcharges',
|
|
2807
2807
|
]),
|
|
2808
2808
|
|
|
2809
|
-
'io.flow.v0.enums.order_quote_address_type': (): io.flow.v0.enums.OrderQuoteAddressType => faker.
|
|
2809
|
+
'io.flow.v0.enums.order_quote_address_type': (): io.flow.v0.enums.OrderQuoteAddressType => faker.helpers.arrayElement(['shipping']),
|
|
2810
2810
|
|
|
2811
|
-
'io.flow.v0.enums.order_quote_error_code': (): io.flow.v0.enums.OrderQuoteErrorCode => faker.
|
|
2811
|
+
'io.flow.v0.enums.order_quote_error_code': (): io.flow.v0.enums.OrderQuoteErrorCode => faker.helpers.arrayElement([
|
|
2812
2812
|
'contact_email_invalid',
|
|
2813
2813
|
'contact_email_required',
|
|
2814
2814
|
'contact_phone_invalid',
|
|
@@ -2833,23 +2833,23 @@ const factories = {
|
|
|
2833
2833
|
'session_organization_mismatch',
|
|
2834
2834
|
]),
|
|
2835
2835
|
|
|
2836
|
-
'io.flow.v0.enums.order_quote_line_error_code': (): io.flow.v0.enums.OrderQuoteLineErrorCode => faker.
|
|
2836
|
+
'io.flow.v0.enums.order_quote_line_error_code': (): io.flow.v0.enums.OrderQuoteLineErrorCode => faker.helpers.arrayElement([
|
|
2837
2837
|
'line_item_number_invalid',
|
|
2838
2838
|
'line_item_number_not_available',
|
|
2839
2839
|
'line_quantity_invalid',
|
|
2840
2840
|
'line_value_threshold_exceeded',
|
|
2841
2841
|
]),
|
|
2842
2842
|
|
|
2843
|
-
'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.
|
|
2844
|
-
'io.flow.v0.enums.order_refund_summary_partial_charged': (): io.flow.v0.enums.OrderRefundSummaryPartialCharged => faker.
|
|
2845
|
-
'io.flow.v0.enums.order_status': (): io.flow.v0.enums.OrderStatus => faker.
|
|
2846
|
-
'io.flow.v0.enums.order_storage': (): io.flow.v0.enums.OrderStorage => faker.
|
|
2847
|
-
'io.flow.v0.enums.order_type': (): io.flow.v0.enums.OrderType => faker.
|
|
2848
|
-
'io.flow.v0.enums.organization_payment_method_tag': (): io.flow.v0.enums.OrganizationPaymentMethodTag => faker.
|
|
2849
|
-
'io.flow.v0.enums.organization_status': (): io.flow.v0.enums.OrganizationStatus => faker.
|
|
2850
|
-
'io.flow.v0.enums.organization_type': (): io.flow.v0.enums.OrganizationType => faker.
|
|
2843
|
+
'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.helpers.arrayElement(['duties', 'vat', 'shipping']),
|
|
2844
|
+
'io.flow.v0.enums.order_refund_summary_partial_charged': (): io.flow.v0.enums.OrderRefundSummaryPartialCharged => faker.helpers.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']),
|
|
2845
|
+
'io.flow.v0.enums.order_status': (): io.flow.v0.enums.OrderStatus => faker.helpers.arrayElement(['open', 'submitted']),
|
|
2846
|
+
'io.flow.v0.enums.order_storage': (): io.flow.v0.enums.OrderStorage => faker.helpers.arrayElement(['do_not_persist', 'persist']),
|
|
2847
|
+
'io.flow.v0.enums.order_type': (): io.flow.v0.enums.OrderType => faker.helpers.arrayElement(['standard', 'replacement']),
|
|
2848
|
+
'io.flow.v0.enums.organization_payment_method_tag': (): io.flow.v0.enums.OrganizationPaymentMethodTag => faker.helpers.arrayElement(['deny']),
|
|
2849
|
+
'io.flow.v0.enums.organization_status': (): io.flow.v0.enums.OrganizationStatus => faker.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']),
|
|
2850
|
+
'io.flow.v0.enums.organization_type': (): io.flow.v0.enums.OrganizationType => faker.helpers.arrayElement(['standalone', 'channel']),
|
|
2851
2851
|
|
|
2852
|
-
'io.flow.v0.enums.payment_action_type': (): io.flow.v0.enums.PaymentActionType => faker.
|
|
2852
|
+
'io.flow.v0.enums.payment_action_type': (): io.flow.v0.enums.PaymentActionType => faker.helpers.arrayElement([
|
|
2853
2853
|
'redirect',
|
|
2854
2854
|
'redirect_get',
|
|
2855
2855
|
'redirect_post',
|
|
@@ -2865,7 +2865,7 @@ const factories = {
|
|
|
2865
2865
|
'display_inline_window',
|
|
2866
2866
|
]),
|
|
2867
2867
|
|
|
2868
|
-
'io.flow.v0.enums.payment_error_code': (): io.flow.v0.enums.PaymentErrorCode => faker.
|
|
2868
|
+
'io.flow.v0.enums.payment_error_code': (): io.flow.v0.enums.PaymentErrorCode => faker.helpers.arrayElement([
|
|
2869
2869
|
'duplicate',
|
|
2870
2870
|
'invalid_amount',
|
|
2871
2871
|
'invalid_currency',
|
|
@@ -2876,7 +2876,7 @@ const factories = {
|
|
|
2876
2876
|
'unknown',
|
|
2877
2877
|
]),
|
|
2878
2878
|
|
|
2879
|
-
'io.flow.v0.enums.payment_failure_code': (): io.flow.v0.enums.PaymentFailureCode => faker.
|
|
2879
|
+
'io.flow.v0.enums.payment_failure_code': (): io.flow.v0.enums.PaymentFailureCode => faker.helpers.arrayElement([
|
|
2880
2880
|
'action_expired',
|
|
2881
2881
|
'action_cancelled',
|
|
2882
2882
|
'action_failed',
|
|
@@ -2887,13 +2887,13 @@ const factories = {
|
|
|
2887
2887
|
'payment_checks_declined',
|
|
2888
2888
|
]),
|
|
2889
2889
|
|
|
2890
|
-
'io.flow.v0.enums.payment_method_capability': (): io.flow.v0.enums.PaymentMethodCapability => faker.
|
|
2891
|
-
'io.flow.v0.enums.payment_method_data_option_type': (): io.flow.v0.enums.PaymentMethodDataOptionType => faker.
|
|
2892
|
-
'io.flow.v0.enums.payment_method_rule_content_key': (): io.flow.v0.enums.PaymentMethodRuleContentKey => faker.
|
|
2893
|
-
'io.flow.v0.enums.payment_method_type': (): io.flow.v0.enums.PaymentMethodType => faker.
|
|
2894
|
-
'io.flow.v0.enums.payment_source_confirmation_action_type': (): io.flow.v0.enums.PaymentSourceConfirmationActionType => faker.
|
|
2890
|
+
'io.flow.v0.enums.payment_method_capability': (): io.flow.v0.enums.PaymentMethodCapability => faker.helpers.arrayElement(['credit', 'debit']),
|
|
2891
|
+
'io.flow.v0.enums.payment_method_data_option_type': (): io.flow.v0.enums.PaymentMethodDataOptionType => faker.helpers.arrayElement(['ideal_issuer_option']),
|
|
2892
|
+
'io.flow.v0.enums.payment_method_rule_content_key': (): io.flow.v0.enums.PaymentMethodRuleContentKey => faker.helpers.arrayElement(['description']),
|
|
2893
|
+
'io.flow.v0.enums.payment_method_type': (): io.flow.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['card', 'online', 'offline']),
|
|
2894
|
+
'io.flow.v0.enums.payment_source_confirmation_action_type': (): io.flow.v0.enums.PaymentSourceConfirmationActionType => faker.helpers.arrayElement(['cvv', 'billing_address', 'number']),
|
|
2895
2895
|
|
|
2896
|
-
'io.flow.v0.enums.payment_status': (): io.flow.v0.enums.PaymentStatus => faker.
|
|
2896
|
+
'io.flow.v0.enums.payment_status': (): io.flow.v0.enums.PaymentStatus => faker.helpers.arrayElement([
|
|
2897
2897
|
'requires_payment_method',
|
|
2898
2898
|
'requires_action',
|
|
2899
2899
|
'processing',
|
|
@@ -2907,7 +2907,7 @@ const factories = {
|
|
|
2907
2907
|
'charged_back',
|
|
2908
2908
|
]),
|
|
2909
2909
|
|
|
2910
|
-
'io.flow.v0.enums.payment_type': (): io.flow.v0.enums.PaymentType => faker.
|
|
2910
|
+
'io.flow.v0.enums.payment_type': (): io.flow.v0.enums.PaymentType => faker.helpers.arrayElement([
|
|
2911
2911
|
'card',
|
|
2912
2912
|
'klarna',
|
|
2913
2913
|
'googlepay',
|
|
@@ -2919,14 +2919,14 @@ const factories = {
|
|
|
2919
2919
|
'bancontact',
|
|
2920
2920
|
]),
|
|
2921
2921
|
|
|
2922
|
-
'io.flow.v0.enums.payout_status_code': (): io.flow.v0.enums.PayoutStatusCode => faker.
|
|
2923
|
-
'io.flow.v0.enums.permitted_http_method': (): io.flow.v0.enums.PermittedHttpMethod => faker.
|
|
2924
|
-
'io.flow.v0.enums.physical_delivery_special_serivce': (): io.flow.v0.enums.PhysicalDeliverySpecialSerivce => faker.
|
|
2925
|
-
'io.flow.v0.enums.postal_type': (): io.flow.v0.enums.PostalType => faker.
|
|
2926
|
-
'io.flow.v0.enums.price_accuracy': (): io.flow.v0.enums.PriceAccuracy => faker.
|
|
2927
|
-
'io.flow.v0.enums.price_book_status': (): io.flow.v0.enums.PriceBookStatus => faker.
|
|
2922
|
+
'io.flow.v0.enums.payout_status_code': (): io.flow.v0.enums.PayoutStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'cancelled', 'failed', 'succeeded']),
|
|
2923
|
+
'io.flow.v0.enums.permitted_http_method': (): io.flow.v0.enums.PermittedHttpMethod => faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']),
|
|
2924
|
+
'io.flow.v0.enums.physical_delivery_special_serivce': (): io.flow.v0.enums.PhysicalDeliverySpecialSerivce => faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']),
|
|
2925
|
+
'io.flow.v0.enums.postal_type': (): io.flow.v0.enums.PostalType => faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']),
|
|
2926
|
+
'io.flow.v0.enums.price_accuracy': (): io.flow.v0.enums.PriceAccuracy => faker.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']),
|
|
2927
|
+
'io.flow.v0.enums.price_book_status': (): io.flow.v0.enums.PriceBookStatus => faker.helpers.arrayElement(['draft', 'published', 'archived']),
|
|
2928
2928
|
|
|
2929
|
-
'io.flow.v0.enums.price_detail_component_key': (): io.flow.v0.enums.PriceDetailComponentKey => faker.
|
|
2929
|
+
'io.flow.v0.enums.price_detail_component_key': (): io.flow.v0.enums.PriceDetailComponentKey => faker.helpers.arrayElement([
|
|
2930
2930
|
'base_price',
|
|
2931
2931
|
'discount',
|
|
2932
2932
|
'currency_margin',
|
|
@@ -2951,12 +2951,12 @@ const factories = {
|
|
|
2951
2951
|
'duty_percent_sales_margin',
|
|
2952
2952
|
]),
|
|
2953
2953
|
|
|
2954
|
-
'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.
|
|
2955
|
-
'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.
|
|
2956
|
-
'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.
|
|
2957
|
-
'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.
|
|
2954
|
+
'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']),
|
|
2955
|
+
'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.helpers.arrayElement(['min', 'max']),
|
|
2956
|
+
'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.helpers.arrayElement(['included', 'displayed', 'ignored']),
|
|
2957
|
+
'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.helpers.arrayElement(['automatic', 'order_subtotal']),
|
|
2958
2958
|
|
|
2959
|
-
'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.
|
|
2959
|
+
'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.helpers.arrayElement([
|
|
2960
2960
|
'area',
|
|
2961
2961
|
'city',
|
|
2962
2962
|
'county',
|
|
@@ -2978,16 +2978,16 @@ const factories = {
|
|
|
2978
2978
|
'other',
|
|
2979
2979
|
]),
|
|
2980
2980
|
|
|
2981
|
-
'io.flow.v0.enums.quote_error_code': (): io.flow.v0.enums.QuoteErrorCode => faker.
|
|
2982
|
-
'io.flow.v0.enums.ratecard_owner': (): io.flow.v0.enums.RatecardOwner => faker.
|
|
2983
|
-
'io.flow.v0.enums.refund_decline_code': (): io.flow.v0.enums.RefundDeclineCode => faker.
|
|
2984
|
-
'io.flow.v0.enums.refund_status': (): io.flow.v0.enums.RefundStatus => faker.
|
|
2985
|
-
'io.flow.v0.enums.region_type': (): io.flow.v0.enums.RegionType => faker.
|
|
2986
|
-
'io.flow.v0.enums.return_item_status': (): io.flow.v0.enums.ReturnItemStatus => faker.
|
|
2987
|
-
'io.flow.v0.enums.return_policy_state': (): io.flow.v0.enums.ReturnPolicyState => faker.
|
|
2988
|
-
'io.flow.v0.enums.return_status': (): io.flow.v0.enums.ReturnStatus => faker.
|
|
2981
|
+
'io.flow.v0.enums.quote_error_code': (): io.flow.v0.enums.QuoteErrorCode => faker.helpers.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']),
|
|
2982
|
+
'io.flow.v0.enums.ratecard_owner': (): io.flow.v0.enums.RatecardOwner => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2983
|
+
'io.flow.v0.enums.refund_decline_code': (): io.flow.v0.enums.RefundDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
|
|
2984
|
+
'io.flow.v0.enums.refund_status': (): io.flow.v0.enums.RefundStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']),
|
|
2985
|
+
'io.flow.v0.enums.region_type': (): io.flow.v0.enums.RegionType => faker.helpers.arrayElement(['state', 'province', 'jurisdiction']),
|
|
2986
|
+
'io.flow.v0.enums.return_item_status': (): io.flow.v0.enums.ReturnItemStatus => faker.helpers.arrayElement(['returnable', 'non-returnable']),
|
|
2987
|
+
'io.flow.v0.enums.return_policy_state': (): io.flow.v0.enums.ReturnPolicyState => faker.helpers.arrayElement(['current', 'deleting', 'updating']),
|
|
2988
|
+
'io.flow.v0.enums.return_status': (): io.flow.v0.enums.ReturnStatus => faker.helpers.arrayElement(['open', 'refunded']),
|
|
2989
2989
|
|
|
2990
|
-
'io.flow.v0.enums.return_tracking_status': (): io.flow.v0.enums.ReturnTrackingStatus => faker.
|
|
2990
|
+
'io.flow.v0.enums.return_tracking_status': (): io.flow.v0.enums.ReturnTrackingStatus => faker.helpers.arrayElement([
|
|
2991
2991
|
'awaiting_customs_clearance',
|
|
2992
2992
|
'cancel_requested',
|
|
2993
2993
|
'canceled',
|
|
@@ -3008,7 +3008,7 @@ const factories = {
|
|
|
3008
3008
|
'return_registered_online',
|
|
3009
3009
|
]),
|
|
3010
3010
|
|
|
3011
|
-
'io.flow.v0.enums.reversal_error_code': (): io.flow.v0.enums.ReversalErrorCode => faker.
|
|
3011
|
+
'io.flow.v0.enums.reversal_error_code': (): io.flow.v0.enums.ReversalErrorCode => faker.helpers.arrayElement([
|
|
3012
3012
|
'amount_exceeds_balance',
|
|
3013
3013
|
'authorization_declined',
|
|
3014
3014
|
'authorization_expired',
|
|
@@ -3021,27 +3021,27 @@ const factories = {
|
|
|
3021
3021
|
'unknown',
|
|
3022
3022
|
]),
|
|
3023
3023
|
|
|
3024
|
-
'io.flow.v0.enums.reversal_status': (): io.flow.v0.enums.ReversalStatus => faker.
|
|
3025
|
-
'io.flow.v0.enums.role': (): io.flow.v0.enums.Role => faker.
|
|
3026
|
-
'io.flow.v0.enums.rounding_method': (): io.flow.v0.enums.RoundingMethod => faker.
|
|
3027
|
-
'io.flow.v0.enums.rounding_type': (): io.flow.v0.enums.RoundingType => faker.
|
|
3028
|
-
'io.flow.v0.enums.schedule_exception_status': (): io.flow.v0.enums.ScheduleExceptionStatus => faker.
|
|
3029
|
-
'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.
|
|
3030
|
-
'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.
|
|
3031
|
-
'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.
|
|
3032
|
-
'io.flow.v0.enums.shopify_grant': (): io.flow.v0.enums.ShopifyGrant => faker.
|
|
3033
|
-
'io.flow.v0.enums.shopify_localization_method': (): io.flow.v0.enums.ShopifyLocalizationMethod => faker.
|
|
3034
|
-
'io.flow.v0.enums.shopify_sync_check': (): io.flow.v0.enums.ShopifySyncCheck => faker.
|
|
3035
|
-
'io.flow.v0.enums.sort_direction': (): io.flow.v0.enums.SortDirection => faker.
|
|
3036
|
-
'io.flow.v0.enums.strategy': (): io.flow.v0.enums.Strategy => faker.
|
|
3037
|
-
'io.flow.v0.enums.subcatalog_item_status': (): io.flow.v0.enums.SubcatalogItemStatus => faker.
|
|
3038
|
-
'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.
|
|
3039
|
-
'io.flow.v0.enums.sync_record_failure_reason': (): io.flow.v0.enums.SyncRecordFailureReason => faker.
|
|
3040
|
-
'io.flow.v0.enums.sync_stream_type': (): io.flow.v0.enums.SyncStreamType => faker.
|
|
3041
|
-
'io.flow.v0.enums.sync_unit_of_time': (): io.flow.v0.enums.SyncUnitOfTime => faker.
|
|
3042
|
-
'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.
|
|
3043
|
-
|
|
3044
|
-
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.
|
|
3024
|
+
'io.flow.v0.enums.reversal_status': (): io.flow.v0.enums.ReversalStatus => faker.helpers.arrayElement(['pending', 'processed', 'failed']),
|
|
3025
|
+
'io.flow.v0.enums.role': (): io.flow.v0.enums.Role => faker.helpers.arrayElement(['admin', 'member']),
|
|
3026
|
+
'io.flow.v0.enums.rounding_method': (): io.flow.v0.enums.RoundingMethod => faker.helpers.arrayElement(['up', 'down', 'nearest']),
|
|
3027
|
+
'io.flow.v0.enums.rounding_type': (): io.flow.v0.enums.RoundingType => faker.helpers.arrayElement(['pattern', 'multiple']),
|
|
3028
|
+
'io.flow.v0.enums.schedule_exception_status': (): io.flow.v0.enums.ScheduleExceptionStatus => faker.helpers.arrayElement(['Open', 'Closed']),
|
|
3029
|
+
'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
|
|
3030
|
+
'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.helpers.arrayElement(['customer', 'return', 'crossdock']),
|
|
3031
|
+
'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.helpers.arrayElement(['default', 'variant']),
|
|
3032
|
+
'io.flow.v0.enums.shopify_grant': (): io.flow.v0.enums.ShopifyGrant => faker.helpers.arrayElement(['customer', 'discount', 'gift_card', 'metafield', 'order']),
|
|
3033
|
+
'io.flow.v0.enums.shopify_localization_method': (): io.flow.v0.enums.ShopifyLocalizationMethod => faker.helpers.arrayElement(['api', 'ssr']),
|
|
3034
|
+
'io.flow.v0.enums.shopify_sync_check': (): io.flow.v0.enums.ShopifySyncCheck => faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']),
|
|
3035
|
+
'io.flow.v0.enums.sort_direction': (): io.flow.v0.enums.SortDirection => faker.helpers.arrayElement(['ascending', 'descending']),
|
|
3036
|
+
'io.flow.v0.enums.strategy': (): io.flow.v0.enums.Strategy => faker.helpers.arrayElement(['range', 'from', 'to']),
|
|
3037
|
+
'io.flow.v0.enums.subcatalog_item_status': (): io.flow.v0.enums.SubcatalogItemStatus => faker.helpers.arrayElement(['excluded', 'included', 'restricted']),
|
|
3038
|
+
'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.helpers.arrayElement(['organization', 'customer']),
|
|
3039
|
+
'io.flow.v0.enums.sync_record_failure_reason': (): io.flow.v0.enums.SyncRecordFailureReason => faker.helpers.arrayElement(['inventory', 'address', 'promotion', 'other']),
|
|
3040
|
+
'io.flow.v0.enums.sync_stream_type': (): io.flow.v0.enums.SyncStreamType => faker.helpers.arrayElement(['submitted_order', 'placed_order']),
|
|
3041
|
+
'io.flow.v0.enums.sync_unit_of_time': (): io.flow.v0.enums.SyncUnitOfTime => faker.helpers.arrayElement(['day', 'hour', 'minute', 'second']),
|
|
3042
|
+
'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.helpers.arrayElement(['none', 'all']),
|
|
3043
|
+
|
|
3044
|
+
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.helpers.arrayElement([
|
|
3045
3045
|
'generic_error',
|
|
3046
3046
|
'destination_country_not_defined',
|
|
3047
3047
|
'destination_address_iso3166_unrecognized',
|
|
@@ -3065,19 +3065,19 @@ const factories = {
|
|
|
3065
3065
|
'wrong_unit_specified',
|
|
3066
3066
|
]),
|
|
3067
3067
|
|
|
3068
|
-
'io.flow.v0.enums.tax_report_type': (): io.flow.v0.enums.TaxReportType => faker.
|
|
3069
|
-
'io.flow.v0.enums.tax_verification_result': (): io.flow.v0.enums.TaxVerificationResult => faker.
|
|
3070
|
-
'io.flow.v0.enums.taxability_type': (): io.flow.v0.enums.TaxabilityType => faker.
|
|
3071
|
-
'io.flow.v0.enums.taxability_value': (): io.flow.v0.enums.TaxabilityValue => faker.
|
|
3072
|
-
'io.flow.v0.enums.three_d_secure_code': (): io.flow.v0.enums.ThreeDSecureCode => faker.
|
|
3073
|
-
'io.flow.v0.enums.threeds_two_challenge_viewport': (): io.flow.v0.enums.ThreedsTwoChallengeViewport => faker.
|
|
3074
|
-
'io.flow.v0.enums.tier_availability': (): io.flow.v0.enums.TierAvailability => faker.
|
|
3075
|
-
'io.flow.v0.enums.tier_estimate_type': (): io.flow.v0.enums.TierEstimateType => faker.
|
|
3076
|
-
'io.flow.v0.enums.tier_strategy': (): io.flow.v0.enums.TierStrategy => faker.
|
|
3077
|
-
'io.flow.v0.enums.token_type': (): io.flow.v0.enums.TokenType => faker.
|
|
3078
|
-
'io.flow.v0.enums.tracking_number_type': (): io.flow.v0.enums.TrackingNumberType => faker.
|
|
3079
|
-
|
|
3080
|
-
'io.flow.v0.enums.tracking_status': (): io.flow.v0.enums.TrackingStatus => faker.
|
|
3068
|
+
'io.flow.v0.enums.tax_report_type': (): io.flow.v0.enums.TaxReportType => faker.helpers.arrayElement(['consumer', 'b2b']),
|
|
3069
|
+
'io.flow.v0.enums.tax_verification_result': (): io.flow.v0.enums.TaxVerificationResult => faker.helpers.arrayElement(['valid', 'invalid', 'unable_to_validate']),
|
|
3070
|
+
'io.flow.v0.enums.taxability_type': (): io.flow.v0.enums.TaxabilityType => faker.helpers.arrayElement(['tax_rule']),
|
|
3071
|
+
'io.flow.v0.enums.taxability_value': (): io.flow.v0.enums.TaxabilityValue => faker.helpers.arrayElement(['exempt']),
|
|
3072
|
+
'io.flow.v0.enums.three_d_secure_code': (): io.flow.v0.enums.ThreeDSecureCode => faker.helpers.arrayElement(['verified', 'not_verified', 'failed']),
|
|
3073
|
+
'io.flow.v0.enums.threeds_two_challenge_viewport': (): io.flow.v0.enums.ThreedsTwoChallengeViewport => faker.helpers.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen']),
|
|
3074
|
+
'io.flow.v0.enums.tier_availability': (): io.flow.v0.enums.TierAvailability => faker.helpers.arrayElement(['always', 'backup']),
|
|
3075
|
+
'io.flow.v0.enums.tier_estimate_type': (): io.flow.v0.enums.TierEstimateType => faker.helpers.arrayElement(['calculated', 'custom']),
|
|
3076
|
+
'io.flow.v0.enums.tier_strategy': (): io.flow.v0.enums.TierStrategy => faker.helpers.arrayElement(['fastest', 'lowest_cost']),
|
|
3077
|
+
'io.flow.v0.enums.token_type': (): io.flow.v0.enums.TokenType => faker.helpers.arrayElement(['permanent', 'one_time']),
|
|
3078
|
+
'io.flow.v0.enums.tracking_number_type': (): io.flow.v0.enums.TrackingNumberType => faker.helpers.arrayElement(['flow', 'carrier']),
|
|
3079
|
+
|
|
3080
|
+
'io.flow.v0.enums.tracking_status': (): io.flow.v0.enums.TrackingStatus => faker.helpers.arrayElement([
|
|
3081
3081
|
'label_created',
|
|
3082
3082
|
'pending',
|
|
3083
3083
|
'info_received',
|
|
@@ -3091,10 +3091,10 @@ const factories = {
|
|
|
3091
3091
|
'expired',
|
|
3092
3092
|
]),
|
|
3093
3093
|
|
|
3094
|
-
'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.
|
|
3095
|
-
'io.flow.v0.enums.trade_agreement_status': (): io.flow.v0.enums.TradeAgreementStatus => faker.
|
|
3094
|
+
'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.helpers.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']),
|
|
3095
|
+
'io.flow.v0.enums.trade_agreement_status': (): io.flow.v0.enums.TradeAgreementStatus => faker.helpers.arrayElement(['supported', 'not_supported']),
|
|
3096
3096
|
|
|
3097
|
-
'io.flow.v0.enums.transaction_source': (): io.flow.v0.enums.TransactionSource => faker.
|
|
3097
|
+
'io.flow.v0.enums.transaction_source': (): io.flow.v0.enums.TransactionSource => faker.helpers.arrayElement([
|
|
3098
3098
|
'capture',
|
|
3099
3099
|
'refund',
|
|
3100
3100
|
'dispute',
|
|
@@ -3103,6 +3103,8 @@ const factories = {
|
|
|
3103
3103
|
'shipping_label_service',
|
|
3104
3104
|
'shipping_label_revenue_share',
|
|
3105
3105
|
'platform_fee',
|
|
3106
|
+
'tax',
|
|
3107
|
+
'duties',
|
|
3106
3108
|
'other_adjustment',
|
|
3107
3109
|
'tax_adjustment',
|
|
3108
3110
|
'channel',
|
|
@@ -3112,7 +3114,7 @@ const factories = {
|
|
|
3112
3114
|
'virtual_card_refund',
|
|
3113
3115
|
]),
|
|
3114
3116
|
|
|
3115
|
-
'io.flow.v0.enums.unit_of_measurement': (): io.flow.v0.enums.UnitOfMeasurement => faker.
|
|
3117
|
+
'io.flow.v0.enums.unit_of_measurement': (): io.flow.v0.enums.UnitOfMeasurement => faker.helpers.arrayElement([
|
|
3116
3118
|
'millimeter',
|
|
3117
3119
|
'centimeter',
|
|
3118
3120
|
'inch',
|
|
@@ -3126,17 +3128,17 @@ const factories = {
|
|
|
3126
3128
|
'pound',
|
|
3127
3129
|
]),
|
|
3128
3130
|
|
|
3129
|
-
'io.flow.v0.enums.unit_of_time': (): io.flow.v0.enums.UnitOfTime => faker.
|
|
3130
|
-
'io.flow.v0.enums.update_policy': (): io.flow.v0.enums.UpdatePolicy => faker.
|
|
3131
|
-
'io.flow.v0.enums.update_type': (): io.flow.v0.enums.UpdateType => faker.
|
|
3132
|
-
'io.flow.v0.enums.user_status': (): io.flow.v0.enums.UserStatus => faker.
|
|
3133
|
-
'io.flow.v0.enums.value_added_service': (): io.flow.v0.enums.ValueAddedService => faker.
|
|
3134
|
-
'io.flow.v0.enums.visibility': (): io.flow.v0.enums.Visibility => faker.
|
|
3135
|
-
'io.flow.v0.enums.webhook_status': (): io.flow.v0.enums.WebhookStatus => faker.
|
|
3136
|
-
'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.
|
|
3137
|
-
'io.flow.v0.enums.zero_amount_indicator': (): io.flow.v0.enums.ZeroAmountIndicator => faker.
|
|
3138
|
-
|
|
3139
|
-
'io.flow.v0.enums.zero_levy_reason_code': (): io.flow.v0.enums.ZeroLevyReasonCode => faker.
|
|
3131
|
+
'io.flow.v0.enums.unit_of_time': (): io.flow.v0.enums.UnitOfTime => faker.helpers.arrayElement(['year', 'month', 'week', 'day', 'hour', 'minute']),
|
|
3132
|
+
'io.flow.v0.enums.update_policy': (): io.flow.v0.enums.UpdatePolicy => faker.helpers.arrayElement(['auto', 'queue', 'discard']),
|
|
3133
|
+
'io.flow.v0.enums.update_type': (): io.flow.v0.enums.UpdateType => faker.helpers.arrayElement(['change', 'set']),
|
|
3134
|
+
'io.flow.v0.enums.user_status': (): io.flow.v0.enums.UserStatus => faker.helpers.arrayElement(['pending', 'active', 'inactive']),
|
|
3135
|
+
'io.flow.v0.enums.value_added_service': (): io.flow.v0.enums.ValueAddedService => faker.helpers.arrayElement(['Hazardous Material']),
|
|
3136
|
+
'io.flow.v0.enums.visibility': (): io.flow.v0.enums.Visibility => faker.helpers.arrayElement(['public', 'private']),
|
|
3137
|
+
'io.flow.v0.enums.webhook_status': (): io.flow.v0.enums.WebhookStatus => faker.helpers.arrayElement(['pending', 'success', 'failure']),
|
|
3138
|
+
'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']),
|
|
3139
|
+
'io.flow.v0.enums.zero_amount_indicator': (): io.flow.v0.enums.ZeroAmountIndicator => faker.helpers.arrayElement(['zero', 'free']),
|
|
3140
|
+
|
|
3141
|
+
'io.flow.v0.enums.zero_levy_reason_code': (): io.flow.v0.enums.ZeroLevyReasonCode => faker.helpers.arrayElement([
|
|
3140
3142
|
'zero_basis',
|
|
3141
3143
|
'zero_rate_on_goods',
|
|
3142
3144
|
'value_rounds_to_zero',
|
|
@@ -3325,6 +3327,10 @@ const factories = {
|
|
|
3325
3327
|
expires_at: factories.date_time_iso_8601(),
|
|
3326
3328
|
}),
|
|
3327
3329
|
|
|
3330
|
+
'io.flow.v0.models.activation_put_form': (): io.flow.v0.models.ActivationPutForm => ({
|
|
3331
|
+
placeholder: factories.boolean(),
|
|
3332
|
+
}),
|
|
3333
|
+
|
|
3328
3334
|
'io.flow.v0.models.address': (): io.flow.v0.models.Address => ({
|
|
3329
3335
|
text: factories.string(),
|
|
3330
3336
|
streets: arrayOf(() => factories.string()),
|
|
@@ -11208,6 +11214,7 @@ const factories = {
|
|
|
11208
11214
|
'io.flow.v0.models.shipping_label_document': (): io.flow.v0.models.ShippingLabelDocument => ({
|
|
11209
11215
|
zpl: factories.string(),
|
|
11210
11216
|
pdf: factories.string(),
|
|
11217
|
+
pdf_data: factories.string(),
|
|
11211
11218
|
png: factories.string(),
|
|
11212
11219
|
html: factories.string(),
|
|
11213
11220
|
required: factories.boolean(),
|
|
@@ -12678,7 +12685,7 @@ const factories = {
|
|
|
12678
12685
|
}),
|
|
12679
12686
|
|
|
12680
12687
|
'io.flow.v0.unions.abandoned_order_promotion_details': (): io.flow.v0.unions.AbandonedOrderPromotionDetails => {
|
|
12681
|
-
const f = faker.
|
|
12688
|
+
const f = faker.helpers.arrayElement([
|
|
12682
12689
|
() => factories['io.flow.v0.models.abandoned_order_promotion_discount_details'](),
|
|
12683
12690
|
]);
|
|
12684
12691
|
|
|
@@ -12686,7 +12693,7 @@ const factories = {
|
|
|
12686
12693
|
},
|
|
12687
12694
|
|
|
12688
12695
|
'io.flow.v0.unions.action': (): io.flow.v0.unions.Action => {
|
|
12689
|
-
const f = faker.
|
|
12696
|
+
const f = faker.helpers.arrayElement([
|
|
12690
12697
|
() => factories['io.flow.v0.models.action_redirect'](),
|
|
12691
12698
|
() => factories['io.flow.v0.models.action_use_sdk_klarna_v1'](),
|
|
12692
12699
|
() => factories['io.flow.v0.models.action_use_sdk_applepay_js_create_session'](),
|
|
@@ -12706,7 +12713,7 @@ const factories = {
|
|
|
12706
12713
|
},
|
|
12707
12714
|
|
|
12708
12715
|
'io.flow.v0.unions.adyen_native_data': (): io.flow.v0.unions.AdyenNativeData => {
|
|
12709
|
-
const f = faker.
|
|
12716
|
+
const f = faker.helpers.arrayElement([
|
|
12710
12717
|
() => factories['io.flow.v0.models.adyen_identify_shopper_data'](),
|
|
12711
12718
|
() => factories['io.flow.v0.models.adyen_challenge_shopper_data'](),
|
|
12712
12719
|
]);
|
|
@@ -12715,7 +12722,7 @@ const factories = {
|
|
|
12715
12722
|
},
|
|
12716
12723
|
|
|
12717
12724
|
'io.flow.v0.unions.allocation_component': (): io.flow.v0.unions.AllocationComponent => {
|
|
12718
|
-
const f = faker.
|
|
12725
|
+
const f = faker.helpers.arrayElement([
|
|
12719
12726
|
() => factories['io.flow.v0.models.allocation_detail_component'](),
|
|
12720
12727
|
() => factories['io.flow.v0.models.allocation_levy_component'](),
|
|
12721
12728
|
]);
|
|
@@ -12724,7 +12731,7 @@ const factories = {
|
|
|
12724
12731
|
},
|
|
12725
12732
|
|
|
12726
12733
|
'io.flow.v0.unions.allocation_detail': (): io.flow.v0.unions.AllocationDetail => {
|
|
12727
|
-
const f = faker.
|
|
12734
|
+
const f = faker.helpers.arrayElement([
|
|
12728
12735
|
() => factories['io.flow.v0.models.allocation_line_detail'](),
|
|
12729
12736
|
() => factories['io.flow.v0.models.allocation_order_detail'](),
|
|
12730
12737
|
]);
|
|
@@ -12733,7 +12740,7 @@ const factories = {
|
|
|
12733
12740
|
},
|
|
12734
12741
|
|
|
12735
12742
|
'io.flow.v0.unions.authorization': (): io.flow.v0.unions.Authorization => {
|
|
12736
|
-
const f = faker.
|
|
12743
|
+
const f = faker.helpers.arrayElement([
|
|
12737
12744
|
() => factories['io.flow.v0.models.card_authorization'](),
|
|
12738
12745
|
() => factories['io.flow.v0.models.online_authorization'](),
|
|
12739
12746
|
]);
|
|
@@ -12742,7 +12749,7 @@ const factories = {
|
|
|
12742
12749
|
},
|
|
12743
12750
|
|
|
12744
12751
|
'io.flow.v0.unions.authorization_form': (): io.flow.v0.unions.AuthorizationForm => {
|
|
12745
|
-
const f = faker.
|
|
12752
|
+
const f = faker.helpers.arrayElement([
|
|
12746
12753
|
() => factories['io.flow.v0.models.authorization_copy_form'](),
|
|
12747
12754
|
() => factories['io.flow.v0.models.direct_authorization_form'](),
|
|
12748
12755
|
() => factories['io.flow.v0.models.merchant_of_record_authorization_form'](),
|
|
@@ -12758,7 +12765,7 @@ const factories = {
|
|
|
12758
12765
|
},
|
|
12759
12766
|
|
|
12760
12767
|
'io.flow.v0.unions.authorization_payload_parameters': (): io.flow.v0.unions.AuthorizationPayloadParameters => {
|
|
12761
|
-
const f = faker.
|
|
12768
|
+
const f = faker.helpers.arrayElement([
|
|
12762
12769
|
() => factories['io.flow.v0.models.google_pay_authorization_payload'](),
|
|
12763
12770
|
() => factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](),
|
|
12764
12771
|
]);
|
|
@@ -12767,7 +12774,7 @@ const factories = {
|
|
|
12767
12774
|
},
|
|
12768
12775
|
|
|
12769
12776
|
'io.flow.v0.unions.authorization_result_action': (): io.flow.v0.unions.AuthorizationResultAction => {
|
|
12770
|
-
const f = faker.
|
|
12777
|
+
const f = faker.helpers.arrayElement([
|
|
12771
12778
|
() => factories['io.flow.v0.models.authorization_result_action_get'](),
|
|
12772
12779
|
() => factories['io.flow.v0.models.authorization_result_action_post'](),
|
|
12773
12780
|
() => factories['io.flow.v0.models.authorization_result_action_wait'](),
|
|
@@ -12778,7 +12785,7 @@ const factories = {
|
|
|
12778
12785
|
},
|
|
12779
12786
|
|
|
12780
12787
|
'io.flow.v0.unions.authorization_result_action_details': (): io.flow.v0.unions.AuthorizationResultActionDetails => {
|
|
12781
|
-
const f = faker.
|
|
12788
|
+
const f = faker.helpers.arrayElement([
|
|
12782
12789
|
() => factories['io.flow.v0.models.adyen_native_action_details'](),
|
|
12783
12790
|
() => factories['io.flow.v0.models.stripe_authorization_result_action_details'](),
|
|
12784
12791
|
() => factories['io.flow.v0.models.threeds_identify_action_details'](),
|
|
@@ -12791,7 +12798,7 @@ const factories = {
|
|
|
12791
12798
|
},
|
|
12792
12799
|
|
|
12793
12800
|
'io.flow.v0.unions.available_filter': (): io.flow.v0.unions.AvailableFilter => {
|
|
12794
|
-
const f = faker.
|
|
12801
|
+
const f = faker.helpers.arrayElement([
|
|
12795
12802
|
() => factories['io.flow.v0.models.available_filter_structured'](),
|
|
12796
12803
|
() => factories['io.flow.v0.models.available_filter_unstructured'](),
|
|
12797
12804
|
]);
|
|
@@ -12800,17 +12807,17 @@ const factories = {
|
|
|
12800
12807
|
},
|
|
12801
12808
|
|
|
12802
12809
|
'io.flow.v0.unions.bank_account_info': (): io.flow.v0.unions.BankAccountInfo => {
|
|
12803
|
-
const f = faker.
|
|
12810
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.bank_account_info_usa']()]);
|
|
12804
12811
|
return f();
|
|
12805
12812
|
},
|
|
12806
12813
|
|
|
12807
12814
|
'io.flow.v0.unions.browser_action_configuration': (): io.flow.v0.unions.BrowserActionConfiguration => {
|
|
12808
|
-
const f = faker.
|
|
12815
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_browser_action_configuration']()]);
|
|
12809
12816
|
return f();
|
|
12810
12817
|
},
|
|
12811
12818
|
|
|
12812
12819
|
'io.flow.v0.unions.card_authorization_action_result': (): io.flow.v0.unions.CardAuthorizationActionResult => {
|
|
12813
|
-
const f = faker.
|
|
12820
|
+
const f = faker.helpers.arrayElement([
|
|
12814
12821
|
() => factories['io.flow.v0.models.authorization_action_result_adyen_v3'](),
|
|
12815
12822
|
() => factories['io.flow.v0.models.authorization_action_result_adyen_v4'](),
|
|
12816
12823
|
]);
|
|
@@ -12819,7 +12826,7 @@ const factories = {
|
|
|
12819
12826
|
},
|
|
12820
12827
|
|
|
12821
12828
|
'io.flow.v0.unions.card_number': (): io.flow.v0.unions.CardNumber => {
|
|
12822
|
-
const f = faker.
|
|
12829
|
+
const f = faker.helpers.arrayElement([
|
|
12823
12830
|
() => factories['io.flow.v0.models.payment_method_card_number_cleartext'](),
|
|
12824
12831
|
() => factories['io.flow.v0.models.payment_method_card_number_cipher'](),
|
|
12825
12832
|
]);
|
|
@@ -12828,7 +12835,7 @@ const factories = {
|
|
|
12828
12835
|
},
|
|
12829
12836
|
|
|
12830
12837
|
'io.flow.v0.unions.checkout_token_form': (): io.flow.v0.unions.CheckoutTokenForm => {
|
|
12831
|
-
const f = faker.
|
|
12838
|
+
const f = faker.helpers.arrayElement([
|
|
12832
12839
|
() => factories['io.flow.v0.models.checkout_token_order_form'](),
|
|
12833
12840
|
() => factories['io.flow.v0.models.checkout_token_reference_form'](),
|
|
12834
12841
|
]);
|
|
@@ -12837,12 +12844,12 @@ const factories = {
|
|
|
12837
12844
|
},
|
|
12838
12845
|
|
|
12839
12846
|
'io.flow.v0.unions.confirmation_details': (): io.flow.v0.unions.ConfirmationDetails => {
|
|
12840
|
-
const f = faker.
|
|
12847
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.direct_debit']()]);
|
|
12841
12848
|
return f();
|
|
12842
12849
|
},
|
|
12843
12850
|
|
|
12844
12851
|
'io.flow.v0.unions.consumer_invoice_line': (): io.flow.v0.unions.ConsumerInvoiceLine => {
|
|
12845
|
-
const f = faker.
|
|
12852
|
+
const f = faker.helpers.arrayElement([
|
|
12846
12853
|
() => factories['io.flow.v0.models.consumer_invoice_line_item'](),
|
|
12847
12854
|
() => factories['io.flow.v0.models.consumer_invoice_line_discount'](),
|
|
12848
12855
|
() => factories['io.flow.v0.models.consumer_invoice_line_shipping'](),
|
|
@@ -12852,7 +12859,7 @@ const factories = {
|
|
|
12852
12859
|
},
|
|
12853
12860
|
|
|
12854
12861
|
'io.flow.v0.unions.consumer_invoice_line_form': (): io.flow.v0.unions.ConsumerInvoiceLineForm => {
|
|
12855
|
-
const f = faker.
|
|
12862
|
+
const f = faker.helpers.arrayElement([
|
|
12856
12863
|
() => factories['io.flow.v0.models.consumer_invoice_line_item_form'](),
|
|
12857
12864
|
() => factories['io.flow.v0.models.consumer_invoice_line_discount_form'](),
|
|
12858
12865
|
() => factories['io.flow.v0.models.consumer_invoice_line_shipping_form'](),
|
|
@@ -12862,7 +12869,7 @@ const factories = {
|
|
|
12862
12869
|
},
|
|
12863
12870
|
|
|
12864
12871
|
'io.flow.v0.unions.delivery': (): io.flow.v0.unions.Delivery => {
|
|
12865
|
-
const f = faker.
|
|
12872
|
+
const f = faker.helpers.arrayElement([
|
|
12866
12873
|
() => factories['io.flow.v0.models.digital_delivery'](),
|
|
12867
12874
|
() => factories['io.flow.v0.models.physical_delivery'](),
|
|
12868
12875
|
]);
|
|
@@ -12871,7 +12878,7 @@ const factories = {
|
|
|
12871
12878
|
},
|
|
12872
12879
|
|
|
12873
12880
|
'io.flow.v0.unions.deminimis': (): io.flow.v0.unions.Deminimis => {
|
|
12874
|
-
const f = faker.
|
|
12881
|
+
const f = faker.helpers.arrayElement([
|
|
12875
12882
|
() => factories['io.flow.v0.models.deminimis_simple'](),
|
|
12876
12883
|
() => factories['io.flow.v0.models.deminimis_per_item'](),
|
|
12877
12884
|
]);
|
|
@@ -12880,12 +12887,12 @@ const factories = {
|
|
|
12880
12887
|
},
|
|
12881
12888
|
|
|
12882
12889
|
'io.flow.v0.unions.device_details': (): io.flow.v0.unions.DeviceDetails => {
|
|
12883
|
-
const f = faker.
|
|
12890
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.device_details_browser']()]);
|
|
12884
12891
|
return f();
|
|
12885
12892
|
},
|
|
12886
12893
|
|
|
12887
12894
|
'io.flow.v0.unions.device_fingerprint_details': (): io.flow.v0.unions.DeviceFingerprintDetails => {
|
|
12888
|
-
const f = faker.
|
|
12895
|
+
const f = faker.helpers.arrayElement(
|
|
12889
12896
|
[() => factories['io.flow.v0.models.device_fingerprint_details_browser']()],
|
|
12890
12897
|
);
|
|
12891
12898
|
|
|
@@ -12893,7 +12900,7 @@ const factories = {
|
|
|
12893
12900
|
},
|
|
12894
12901
|
|
|
12895
12902
|
'io.flow.v0.unions.discount_offer': (): io.flow.v0.unions.DiscountOffer => {
|
|
12896
|
-
const f = faker.
|
|
12903
|
+
const f = faker.helpers.arrayElement([
|
|
12897
12904
|
() => factories['io.flow.v0.models.discount_offer_fixed'](),
|
|
12898
12905
|
() => factories['io.flow.v0.models.discount_offer_percent'](),
|
|
12899
12906
|
]);
|
|
@@ -12902,12 +12909,12 @@ const factories = {
|
|
|
12902
12909
|
},
|
|
12903
12910
|
|
|
12904
12911
|
'io.flow.v0.unions.discount_rule_entitlement': (): io.flow.v0.unions.DiscountRuleEntitlement => {
|
|
12905
|
-
const f = faker.
|
|
12912
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.discount_rule_subsidy_entitlement']()]);
|
|
12906
12913
|
return f();
|
|
12907
12914
|
},
|
|
12908
12915
|
|
|
12909
12916
|
'io.flow.v0.unions.document': (): io.flow.v0.unions.Document => {
|
|
12910
|
-
const f = faker.
|
|
12917
|
+
const f = faker.helpers.arrayElement([
|
|
12911
12918
|
() => factories['io.flow.v0.models.catalog_item_document'](),
|
|
12912
12919
|
() => factories['io.flow.v0.models.harmonization_document'](),
|
|
12913
12920
|
]);
|
|
@@ -12916,7 +12923,7 @@ const factories = {
|
|
|
12916
12923
|
},
|
|
12917
12924
|
|
|
12918
12925
|
'io.flow.v0.unions.email_notification_data': (): io.flow.v0.unions.EmailNotificationData => {
|
|
12919
|
-
const f = faker.
|
|
12926
|
+
const f = faker.helpers.arrayElement([
|
|
12920
12927
|
() => factories['io.flow.v0.models.email_notification_data_refund'](),
|
|
12921
12928
|
() => factories['io.flow.v0.models.email_notification_abandoned_order'](),
|
|
12922
12929
|
]);
|
|
@@ -12925,7 +12932,7 @@ const factories = {
|
|
|
12925
12932
|
},
|
|
12926
12933
|
|
|
12927
12934
|
'io.flow.v0.unions.event': (): io.flow.v0.unions.Event => {
|
|
12928
|
-
const f = faker.
|
|
12935
|
+
const f = faker.helpers.arrayElement([
|
|
12929
12936
|
() => factories['io.flow.v0.models.transaction_upserted'](),
|
|
12930
12937
|
() => factories['io.flow.v0.models.organization_transaction_upserted'](),
|
|
12931
12938
|
() => factories['io.flow.v0.models.organization_transaction_deleted'](),
|
|
@@ -13119,7 +13126,7 @@ const factories = {
|
|
|
13119
13126
|
},
|
|
13120
13127
|
|
|
13121
13128
|
'io.flow.v0.unions.expandable_card': (): io.flow.v0.unions.ExpandableCard => {
|
|
13122
|
-
const f = faker.
|
|
13129
|
+
const f = faker.helpers.arrayElement([
|
|
13123
13130
|
() => factories['io.flow.v0.models.card'](),
|
|
13124
13131
|
() => factories['io.flow.v0.models.card_reference'](),
|
|
13125
13132
|
() => factories['io.flow.v0.models.card_summary'](),
|
|
@@ -13129,7 +13136,7 @@ const factories = {
|
|
|
13129
13136
|
},
|
|
13130
13137
|
|
|
13131
13138
|
'io.flow.v0.unions.expandable_center': (): io.flow.v0.unions.ExpandableCenter => {
|
|
13132
|
-
const f = faker.
|
|
13139
|
+
const f = faker.helpers.arrayElement([
|
|
13133
13140
|
() => factories['io.flow.v0.models.center'](),
|
|
13134
13141
|
() => factories['io.flow.v0.models.center_reference'](),
|
|
13135
13142
|
]);
|
|
@@ -13138,7 +13145,7 @@ const factories = {
|
|
|
13138
13145
|
},
|
|
13139
13146
|
|
|
13140
13147
|
'io.flow.v0.unions.expandable_experience': (): io.flow.v0.unions.ExpandableExperience => {
|
|
13141
|
-
const f = faker.
|
|
13148
|
+
const f = faker.helpers.arrayElement([
|
|
13142
13149
|
() => factories['io.flow.v0.models.experience'](),
|
|
13143
13150
|
() => factories['io.flow.v0.models.experience_reference'](),
|
|
13144
13151
|
]);
|
|
@@ -13147,7 +13154,7 @@ const factories = {
|
|
|
13147
13154
|
},
|
|
13148
13155
|
|
|
13149
13156
|
'io.flow.v0.unions.expandable_order': (): io.flow.v0.unions.ExpandableOrder => {
|
|
13150
|
-
const f = faker.
|
|
13157
|
+
const f = faker.helpers.arrayElement([
|
|
13151
13158
|
() => factories['io.flow.v0.models.order'](),
|
|
13152
13159
|
() => factories['io.flow.v0.models.order_reference'](),
|
|
13153
13160
|
]);
|
|
@@ -13156,7 +13163,7 @@ const factories = {
|
|
|
13156
13163
|
},
|
|
13157
13164
|
|
|
13158
13165
|
'io.flow.v0.unions.expandable_organization': (): io.flow.v0.unions.ExpandableOrganization => {
|
|
13159
|
-
const f = faker.
|
|
13166
|
+
const f = faker.helpers.arrayElement([
|
|
13160
13167
|
() => factories['io.flow.v0.models.organization'](),
|
|
13161
13168
|
() => factories['io.flow.v0.models.organization_reference'](),
|
|
13162
13169
|
]);
|
|
@@ -13165,7 +13172,7 @@ const factories = {
|
|
|
13165
13172
|
},
|
|
13166
13173
|
|
|
13167
13174
|
'io.flow.v0.unions.expandable_payment_processor': (): io.flow.v0.unions.ExpandablePaymentProcessor => {
|
|
13168
|
-
const f = faker.
|
|
13175
|
+
const f = faker.helpers.arrayElement([
|
|
13169
13176
|
() => factories['io.flow.v0.models.payment_processor'](),
|
|
13170
13177
|
() => factories['io.flow.v0.models.payment_processor_reference'](),
|
|
13171
13178
|
]);
|
|
@@ -13174,7 +13181,7 @@ const factories = {
|
|
|
13174
13181
|
},
|
|
13175
13182
|
|
|
13176
13183
|
'io.flow.v0.unions.expandable_subcatalog': (): io.flow.v0.unions.ExpandableSubcatalog => {
|
|
13177
|
-
const f = faker.
|
|
13184
|
+
const f = faker.helpers.arrayElement([
|
|
13178
13185
|
() => factories['io.flow.v0.models.subcatalog'](),
|
|
13179
13186
|
() => factories['io.flow.v0.models.subcatalog_reference'](),
|
|
13180
13187
|
]);
|
|
@@ -13183,7 +13190,7 @@ const factories = {
|
|
|
13183
13190
|
},
|
|
13184
13191
|
|
|
13185
13192
|
'io.flow.v0.unions.expandable_user': (): io.flow.v0.unions.ExpandableUser => {
|
|
13186
|
-
const f = faker.
|
|
13193
|
+
const f = faker.helpers.arrayElement([
|
|
13187
13194
|
() => factories['io.flow.v0.models.user'](),
|
|
13188
13195
|
() => factories['io.flow.v0.models.user_reference'](),
|
|
13189
13196
|
]);
|
|
@@ -13192,12 +13199,12 @@ const factories = {
|
|
|
13192
13199
|
},
|
|
13193
13200
|
|
|
13194
13201
|
'io.flow.v0.unions.export_delivery': (): io.flow.v0.unions.ExportDelivery => {
|
|
13195
|
-
const f = faker.
|
|
13202
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.export_delivery_email']()]);
|
|
13196
13203
|
return f();
|
|
13197
13204
|
},
|
|
13198
13205
|
|
|
13199
13206
|
'io.flow.v0.unions.export_type': (): io.flow.v0.unions.ExportType => {
|
|
13200
|
-
const f = faker.
|
|
13207
|
+
const f = faker.helpers.arrayElement([
|
|
13201
13208
|
() => factories['io.flow.v0.models.account_transactions_export_type'](),
|
|
13202
13209
|
() => factories['io.flow.v0.models.account_orders_export_type'](),
|
|
13203
13210
|
() => factories['io.flow.v0.models.analytics_export_type'](),
|
|
@@ -13221,7 +13228,7 @@ const factories = {
|
|
|
13221
13228
|
},
|
|
13222
13229
|
|
|
13223
13230
|
'io.flow.v0.unions.field_validation_rule': (): io.flow.v0.unions.FieldValidationRule => {
|
|
13224
|
-
const f = faker.
|
|
13231
|
+
const f = faker.helpers.arrayElement([
|
|
13225
13232
|
() => factories['io.flow.v0.models.field_validation_required'](),
|
|
13226
13233
|
() => factories['io.flow.v0.models.field_validation_required_if_present'](),
|
|
13227
13234
|
() => factories['io.flow.v0.models.field_validation_min'](),
|
|
@@ -13233,7 +13240,7 @@ const factories = {
|
|
|
13233
13240
|
},
|
|
13234
13241
|
|
|
13235
13242
|
'io.flow.v0.unions.fraud_order_reference': (): io.flow.v0.unions.FraudOrderReference => {
|
|
13236
|
-
const f = faker.
|
|
13243
|
+
const f = faker.helpers.arrayElement([
|
|
13237
13244
|
() => factories['io.flow.v0.models.fraud_flow_order_reference'](),
|
|
13238
13245
|
() => factories['io.flow.v0.models.fraud_payment_request_reference'](),
|
|
13239
13246
|
]);
|
|
@@ -13242,17 +13249,17 @@ const factories = {
|
|
|
13242
13249
|
},
|
|
13243
13250
|
|
|
13244
13251
|
'io.flow.v0.unions.gateway_authentication_data': (): io.flow.v0.unions.GatewayAuthenticationData => {
|
|
13245
|
-
const f = faker.
|
|
13252
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.stripe_authentication_data']()]);
|
|
13246
13253
|
return f();
|
|
13247
13254
|
},
|
|
13248
13255
|
|
|
13249
13256
|
'io.flow.v0.unions.gateway_authentication_data_form': (): io.flow.v0.unions.GatewayAuthenticationDataForm => {
|
|
13250
|
-
const f = faker.
|
|
13257
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.stripe_authentication_data_form']()]);
|
|
13251
13258
|
return f();
|
|
13252
13259
|
},
|
|
13253
13260
|
|
|
13254
13261
|
'io.flow.v0.unions.inline_action_configuration': (): io.flow.v0.unions.InlineActionConfiguration => {
|
|
13255
|
-
const f = faker.
|
|
13262
|
+
const f = faker.helpers.arrayElement(
|
|
13256
13263
|
[() => factories['io.flow.v0.models.browser_inline_action_configuration']()],
|
|
13257
13264
|
);
|
|
13258
13265
|
|
|
@@ -13260,7 +13267,7 @@ const factories = {
|
|
|
13260
13267
|
},
|
|
13261
13268
|
|
|
13262
13269
|
'io.flow.v0.unions.input_specification_limitation': (): io.flow.v0.unions.InputSpecificationLimitation => {
|
|
13263
|
-
const f = faker.
|
|
13270
|
+
const f = faker.helpers.arrayElement(
|
|
13264
13271
|
[() => factories['io.flow.v0.models.input_specification_limitation_max']()],
|
|
13265
13272
|
);
|
|
13266
13273
|
|
|
@@ -13268,7 +13275,7 @@ const factories = {
|
|
|
13268
13275
|
},
|
|
13269
13276
|
|
|
13270
13277
|
'io.flow.v0.unions.inventory_strategy': (): io.flow.v0.unions.InventoryStrategy => {
|
|
13271
|
-
const f = faker.
|
|
13278
|
+
const f = faker.helpers.arrayElement([
|
|
13272
13279
|
() => factories['io.flow.v0.models.inventory_backorder'](),
|
|
13273
13280
|
() => factories['io.flow.v0.models.inventory_stock'](),
|
|
13274
13281
|
() => factories['io.flow.v0.models.inventory_unlimited'](),
|
|
@@ -13279,7 +13286,7 @@ const factories = {
|
|
|
13279
13286
|
},
|
|
13280
13287
|
|
|
13281
13288
|
'io.flow.v0.unions.localized_price': (): io.flow.v0.unions.LocalizedPrice => {
|
|
13282
|
-
const f = faker.
|
|
13289
|
+
const f = faker.helpers.arrayElement([
|
|
13283
13290
|
() => factories['io.flow.v0.models.localized_item_price'](),
|
|
13284
13291
|
() => factories['io.flow.v0.models.localized_item_vat'](),
|
|
13285
13292
|
() => factories['io.flow.v0.models.localized_item_duty'](),
|
|
@@ -13290,7 +13297,7 @@ const factories = {
|
|
|
13290
13297
|
},
|
|
13291
13298
|
|
|
13292
13299
|
'io.flow.v0.unions.logo_image': (): io.flow.v0.unions.LogoImage => {
|
|
13293
|
-
const f = faker.
|
|
13300
|
+
const f = faker.helpers.arrayElement([
|
|
13294
13301
|
() => factories['io.flow.v0.models.logo_image_svg'](),
|
|
13295
13302
|
() => factories['io.flow.v0.models.logo_image_set_static'](),
|
|
13296
13303
|
]);
|
|
@@ -13299,17 +13306,17 @@ const factories = {
|
|
|
13299
13306
|
},
|
|
13300
13307
|
|
|
13301
13308
|
'io.flow.v0.unions.merchant_application': (): io.flow.v0.unions.MerchantApplication => {
|
|
13302
|
-
const f = faker.
|
|
13309
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.shopify_merchant_application']()]);
|
|
13303
13310
|
return f();
|
|
13304
13311
|
},
|
|
13305
13312
|
|
|
13306
13313
|
'io.flow.v0.unions.merchant_application_form': (): io.flow.v0.unions.MerchantApplicationForm => {
|
|
13307
|
-
const f = faker.
|
|
13314
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.shopify_merchant_application_form']()]);
|
|
13308
13315
|
return f();
|
|
13309
13316
|
},
|
|
13310
13317
|
|
|
13311
13318
|
'io.flow.v0.unions.merchant_application_put_form': (): io.flow.v0.unions.MerchantApplicationPutForm => {
|
|
13312
|
-
const f = faker.
|
|
13319
|
+
const f = faker.helpers.arrayElement([
|
|
13313
13320
|
() => factories['io.flow.v0.models.shopify_merchant_application_put_form'](),
|
|
13314
13321
|
]);
|
|
13315
13322
|
|
|
@@ -13317,7 +13324,7 @@ const factories = {
|
|
|
13317
13324
|
},
|
|
13318
13325
|
|
|
13319
13326
|
'io.flow.v0.unions.merchant_applications_summary': (): io.flow.v0.unions.MerchantApplicationsSummary => {
|
|
13320
|
-
const f = faker.
|
|
13327
|
+
const f = faker.helpers.arrayElement([
|
|
13321
13328
|
() => factories['io.flow.v0.models.shopify_merchant_applications_summary'](),
|
|
13322
13329
|
]);
|
|
13323
13330
|
|
|
@@ -13325,7 +13332,7 @@ const factories = {
|
|
|
13325
13332
|
},
|
|
13326
13333
|
|
|
13327
13334
|
'io.flow.v0.unions.onboarding_state': (): io.flow.v0.unions.OnboardingState => {
|
|
13328
|
-
const f = faker.
|
|
13335
|
+
const f = faker.helpers.arrayElement([
|
|
13329
13336
|
() => factories['io.flow.v0.models.application_received'](),
|
|
13330
13337
|
() => factories['io.flow.v0.models.in_compliance_review'](),
|
|
13331
13338
|
() => factories['io.flow.v0.models.setup_in_progress'](),
|
|
@@ -13339,7 +13346,7 @@ const factories = {
|
|
|
13339
13346
|
},
|
|
13340
13347
|
|
|
13341
13348
|
'io.flow.v0.unions.online_authorization_details': (): io.flow.v0.unions.OnlineAuthorizationDetails => {
|
|
13342
|
-
const f = faker.
|
|
13349
|
+
const f = faker.helpers.arrayElement([
|
|
13343
13350
|
() => factories['io.flow.v0.models.cryptopay_authorization_details'](),
|
|
13344
13351
|
() => factories['io.flow.v0.models.paypal_authorization_details'](),
|
|
13345
13352
|
() => factories['io.flow.v0.models.redirect_authorization_details'](),
|
|
@@ -13350,7 +13357,7 @@ const factories = {
|
|
|
13350
13357
|
},
|
|
13351
13358
|
|
|
13352
13359
|
'io.flow.v0.unions.order_information': (): io.flow.v0.unions.OrderInformation => {
|
|
13353
|
-
const f = faker.
|
|
13360
|
+
const f = faker.helpers.arrayElement([
|
|
13354
13361
|
() => factories['io.flow.v0.models.order_information_flow'](),
|
|
13355
13362
|
() => factories['io.flow.v0.models.order_information_details'](),
|
|
13356
13363
|
]);
|
|
@@ -13359,7 +13366,7 @@ const factories = {
|
|
|
13359
13366
|
},
|
|
13360
13367
|
|
|
13361
13368
|
'io.flow.v0.unions.order_number_generator': (): io.flow.v0.unions.OrderNumberGenerator => {
|
|
13362
|
-
const f = faker.
|
|
13369
|
+
const f = faker.helpers.arrayElement([
|
|
13363
13370
|
() => factories['io.flow.v0.models.order_number_generator_uuid'](),
|
|
13364
13371
|
() => factories['io.flow.v0.models.order_number_generator_hexadecimal'](),
|
|
13365
13372
|
() => factories['io.flow.v0.models.order_number_generator_prefix_suffix'](),
|
|
@@ -13369,12 +13376,12 @@ const factories = {
|
|
|
13369
13376
|
},
|
|
13370
13377
|
|
|
13371
13378
|
'io.flow.v0.unions.order_promotion': (): io.flow.v0.unions.OrderPromotion => {
|
|
13372
|
-
const f = faker.
|
|
13379
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.free_shipping_order_promotion']()]);
|
|
13373
13380
|
return f();
|
|
13374
13381
|
},
|
|
13375
13382
|
|
|
13376
13383
|
'io.flow.v0.unions.order_promotion_form': (): io.flow.v0.unions.OrderPromotionForm => {
|
|
13377
|
-
const f = faker.
|
|
13384
|
+
const f = faker.helpers.arrayElement(
|
|
13378
13385
|
[() => factories['io.flow.v0.models.free_shipping_order_promotion_form']()],
|
|
13379
13386
|
);
|
|
13380
13387
|
|
|
@@ -13382,7 +13389,7 @@ const factories = {
|
|
|
13382
13389
|
},
|
|
13383
13390
|
|
|
13384
13391
|
'io.flow.v0.unions.order_quote_price': (): io.flow.v0.unions.OrderQuotePrice => {
|
|
13385
|
-
const f = faker.
|
|
13392
|
+
const f = faker.helpers.arrayElement([
|
|
13386
13393
|
() => factories['io.flow.v0.models.order_quote_price_free'](),
|
|
13387
13394
|
() => factories['io.flow.v0.models.order_quote_price_not_yet_known'](),
|
|
13388
13395
|
() => factories['io.flow.v0.models.order_quote_price_included'](),
|
|
@@ -13394,7 +13401,7 @@ const factories = {
|
|
|
13394
13401
|
},
|
|
13395
13402
|
|
|
13396
13403
|
'io.flow.v0.unions.order_refund_summary_form': (): io.flow.v0.unions.OrderRefundSummaryForm => {
|
|
13397
|
-
const f = faker.
|
|
13404
|
+
const f = faker.helpers.arrayElement([
|
|
13398
13405
|
() => factories['io.flow.v0.models.order_refund_summary_full_form'](),
|
|
13399
13406
|
() => factories['io.flow.v0.models.order_refund_summary_partial_form'](),
|
|
13400
13407
|
]);
|
|
@@ -13403,7 +13410,7 @@ const factories = {
|
|
|
13403
13410
|
},
|
|
13404
13411
|
|
|
13405
13412
|
'io.flow.v0.unions.partner_center_fee': (): io.flow.v0.unions.PartnerCenterFee => {
|
|
13406
|
-
const f = faker.
|
|
13413
|
+
const f = faker.helpers.arrayElement([
|
|
13407
13414
|
() => factories['io.flow.v0.models.commercial_invoice_fee'](),
|
|
13408
13415
|
() => factories['io.flow.v0.models.inbound_carton_fee'](),
|
|
13409
13416
|
() => factories['io.flow.v0.models.outbound_carton_fee'](),
|
|
@@ -13413,7 +13420,7 @@ const factories = {
|
|
|
13413
13420
|
},
|
|
13414
13421
|
|
|
13415
13422
|
'io.flow.v0.unions.payment': (): io.flow.v0.unions.Payment => {
|
|
13416
|
-
const f = faker.
|
|
13423
|
+
const f = faker.helpers.arrayElement([
|
|
13417
13424
|
() => factories['io.flow.v0.models.payment_paypal'](),
|
|
13418
13425
|
() => factories['io.flow.v0.models.payment_cryptopay'](),
|
|
13419
13426
|
]);
|
|
@@ -13422,7 +13429,7 @@ const factories = {
|
|
|
13422
13429
|
},
|
|
13423
13430
|
|
|
13424
13431
|
'io.flow.v0.unions.payment_capture_option': (): io.flow.v0.unions.PaymentCaptureOption => {
|
|
13425
|
-
const f = faker.
|
|
13432
|
+
const f = faker.helpers.arrayElement([
|
|
13426
13433
|
() => factories['io.flow.v0.models.payment_capture_option_automatic_immediate'](),
|
|
13427
13434
|
() => factories['io.flow.v0.models.payment_capture_option_manual'](),
|
|
13428
13435
|
]);
|
|
@@ -13431,12 +13438,12 @@ const factories = {
|
|
|
13431
13438
|
},
|
|
13432
13439
|
|
|
13433
13440
|
'io.flow.v0.unions.payment_form': (): io.flow.v0.unions.PaymentForm => {
|
|
13434
|
-
const f = faker.
|
|
13441
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.merchant_of_record_payment_form']()]);
|
|
13435
13442
|
return f();
|
|
13436
13443
|
},
|
|
13437
13444
|
|
|
13438
13445
|
'io.flow.v0.unions.payment_method_card': (): io.flow.v0.unions.PaymentMethodCard => {
|
|
13439
|
-
const f = faker.
|
|
13446
|
+
const f = faker.helpers.arrayElement([
|
|
13440
13447
|
() => factories['io.flow.v0.models.payment_method_card_pci_details'](),
|
|
13441
13448
|
() => factories['io.flow.v0.models.payment_method_card_token'](),
|
|
13442
13449
|
]);
|
|
@@ -13445,7 +13452,7 @@ const factories = {
|
|
|
13445
13452
|
},
|
|
13446
13453
|
|
|
13447
13454
|
'io.flow.v0.unions.payment_method_data': (): io.flow.v0.unions.PaymentMethodData => {
|
|
13448
|
-
const f = faker.
|
|
13455
|
+
const f = faker.helpers.arrayElement([
|
|
13449
13456
|
() => factories['io.flow.v0.models.payment_method_data_init_klarna'](),
|
|
13450
13457
|
() => factories['io.flow.v0.models.payment_method_data_init_afterpay'](),
|
|
13451
13458
|
() => factories['io.flow.v0.models.payment_method_data_init_applepay'](),
|
|
@@ -13468,7 +13475,7 @@ const factories = {
|
|
|
13468
13475
|
},
|
|
13469
13476
|
|
|
13470
13477
|
'io.flow.v0.unions.payment_method_data_authorize_klarna_result': (): io.flow.v0.unions.PaymentMethodDataAuthorizeKlarnaResult => {
|
|
13471
|
-
const f = faker.
|
|
13478
|
+
const f = faker.helpers.arrayElement([
|
|
13472
13479
|
() => factories['io.flow.v0.models.payment_method_data_authorize_klarna_result_success'](),
|
|
13473
13480
|
() => factories['io.flow.v0.models.payment_method_data_authorize_klarna_result_failure'](),
|
|
13474
13481
|
]);
|
|
@@ -13477,7 +13484,7 @@ const factories = {
|
|
|
13477
13484
|
},
|
|
13478
13485
|
|
|
13479
13486
|
'io.flow.v0.unions.payment_method_data_option_logo': (): io.flow.v0.unions.PaymentMethodDataOptionLogo => {
|
|
13480
|
-
const f = faker.
|
|
13487
|
+
const f = faker.helpers.arrayElement(
|
|
13481
13488
|
[() => factories['io.flow.v0.models.payment_method_data_option_logo_svg']()],
|
|
13482
13489
|
);
|
|
13483
13490
|
|
|
@@ -13485,7 +13492,7 @@ const factories = {
|
|
|
13485
13492
|
},
|
|
13486
13493
|
|
|
13487
13494
|
'io.flow.v0.unions.payment_method_summary': (): io.flow.v0.unions.PaymentMethodSummary => {
|
|
13488
|
-
const f = faker.
|
|
13495
|
+
const f = faker.helpers.arrayElement([
|
|
13489
13496
|
() => factories['io.flow.v0.models.payment_method_summary_card'](),
|
|
13490
13497
|
() => factories['io.flow.v0.models.payment_method_summary_klarna'](),
|
|
13491
13498
|
() => factories['io.flow.v0.models.payment_method_summary_afterpay'](),
|
|
@@ -13501,7 +13508,7 @@ const factories = {
|
|
|
13501
13508
|
},
|
|
13502
13509
|
|
|
13503
13510
|
'io.flow.v0.unions.payment_method_tag': (): io.flow.v0.unions.PaymentMethodTag => {
|
|
13504
|
-
const f = faker.
|
|
13511
|
+
const f = faker.helpers.arrayElement([() => ({
|
|
13505
13512
|
discriminator: 'organization_payment_method_tag' as const,
|
|
13506
13513
|
value: factories['io.flow.v0.enums.organization_payment_method_tag'](),
|
|
13507
13514
|
}), () => ({
|
|
@@ -13513,7 +13520,7 @@ const factories = {
|
|
|
13513
13520
|
},
|
|
13514
13521
|
|
|
13515
13522
|
'io.flow.v0.unions.payment_order_reference': (): io.flow.v0.unions.PaymentOrderReference => {
|
|
13516
|
-
const f = faker.
|
|
13523
|
+
const f = faker.helpers.arrayElement([
|
|
13517
13524
|
() => factories['io.flow.v0.models.authorization_order_reference'](),
|
|
13518
13525
|
() => factories['io.flow.v0.models.payment_payment_request_reference'](),
|
|
13519
13526
|
]);
|
|
@@ -13522,17 +13529,17 @@ const factories = {
|
|
|
13522
13529
|
},
|
|
13523
13530
|
|
|
13524
13531
|
'io.flow.v0.unions.payment_source': (): io.flow.v0.unions.PaymentSource => {
|
|
13525
|
-
const f = faker.
|
|
13532
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_payment_source']()]);
|
|
13526
13533
|
return f();
|
|
13527
13534
|
},
|
|
13528
13535
|
|
|
13529
13536
|
'io.flow.v0.unions.payment_source_form': (): io.flow.v0.unions.PaymentSourceForm => {
|
|
13530
|
-
const f = faker.
|
|
13537
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_payment_source_form']()]);
|
|
13531
13538
|
return f();
|
|
13532
13539
|
},
|
|
13533
13540
|
|
|
13534
13541
|
'io.flow.v0.unions.price_source': (): io.flow.v0.unions.PriceSource => {
|
|
13535
|
-
const f = faker.
|
|
13542
|
+
const f = faker.helpers.arrayElement([
|
|
13536
13543
|
() => factories['io.flow.v0.models.price_source_price_book'](),
|
|
13537
13544
|
() => factories['io.flow.v0.models.price_source_catalog'](),
|
|
13538
13545
|
() => factories['io.flow.v0.models.price_source_provided'](),
|
|
@@ -13542,7 +13549,7 @@ const factories = {
|
|
|
13542
13549
|
},
|
|
13543
13550
|
|
|
13544
13551
|
'io.flow.v0.unions.promotion': (): io.flow.v0.unions.Promotion => {
|
|
13545
|
-
const f = faker.
|
|
13552
|
+
const f = faker.helpers.arrayElement([
|
|
13546
13553
|
() => factories['io.flow.v0.models.free_shipping'](),
|
|
13547
13554
|
() => factories['io.flow.v0.models.discount'](),
|
|
13548
13555
|
]);
|
|
@@ -13551,7 +13558,7 @@ const factories = {
|
|
|
13551
13558
|
},
|
|
13552
13559
|
|
|
13553
13560
|
'io.flow.v0.unions.query_builder_form': (): io.flow.v0.unions.QueryBuilderForm => {
|
|
13554
|
-
const f = faker.
|
|
13561
|
+
const f = faker.helpers.arrayElement([
|
|
13555
13562
|
() => factories['io.flow.v0.models.query_builder_filter_form'](),
|
|
13556
13563
|
() => factories['io.flow.v0.models.query_builder_query_form'](),
|
|
13557
13564
|
]);
|
|
@@ -13560,7 +13567,7 @@ const factories = {
|
|
|
13560
13567
|
},
|
|
13561
13568
|
|
|
13562
13569
|
'io.flow.v0.unions.query_filter': (): io.flow.v0.unions.QueryFilter => {
|
|
13563
|
-
const f = faker.
|
|
13570
|
+
const f = faker.helpers.arrayElement([
|
|
13564
13571
|
() => factories['io.flow.v0.models.query_filter_structured'](),
|
|
13565
13572
|
() => factories['io.flow.v0.models.query_filter_unstructured'](),
|
|
13566
13573
|
]);
|
|
@@ -13569,7 +13576,7 @@ const factories = {
|
|
|
13569
13576
|
},
|
|
13570
13577
|
|
|
13571
13578
|
'io.flow.v0.unions.query_filter_form': (): io.flow.v0.unions.QueryFilterForm => {
|
|
13572
|
-
const f = faker.
|
|
13579
|
+
const f = faker.helpers.arrayElement([
|
|
13573
13580
|
() => factories['io.flow.v0.models.query_filter_structured_form'](),
|
|
13574
13581
|
() => factories['io.flow.v0.models.query_filter_unstructured_form'](),
|
|
13575
13582
|
]);
|
|
@@ -13578,7 +13585,7 @@ const factories = {
|
|
|
13578
13585
|
},
|
|
13579
13586
|
|
|
13580
13587
|
'io.flow.v0.unions.ratecard_estimate': (): io.flow.v0.unions.RatecardEstimate => {
|
|
13581
|
-
const f = faker.
|
|
13588
|
+
const f = faker.helpers.arrayElement([
|
|
13582
13589
|
() => factories['io.flow.v0.models.ratecard_estimate_v1'](),
|
|
13583
13590
|
() => factories['io.flow.v0.models.ratecard_estimate_v2'](),
|
|
13584
13591
|
() => factories['io.flow.v0.models.ratecard_estimate_v3'](),
|
|
@@ -13589,7 +13596,7 @@ const factories = {
|
|
|
13589
13596
|
},
|
|
13590
13597
|
|
|
13591
13598
|
'io.flow.v0.unions.ratecard_fee': (): io.flow.v0.unions.RatecardFee => {
|
|
13592
|
-
const f = faker.
|
|
13599
|
+
const f = faker.helpers.arrayElement([
|
|
13593
13600
|
() => factories['io.flow.v0.models.ddp_ratecard_fee'](),
|
|
13594
13601
|
() => factories['io.flow.v0.models.fuel_surcharge_ratecard_fee'](),
|
|
13595
13602
|
() => factories['io.flow.v0.models.oversized_shipment_ratecard_fee'](),
|
|
@@ -13605,7 +13612,7 @@ const factories = {
|
|
|
13605
13612
|
},
|
|
13606
13613
|
|
|
13607
13614
|
'io.flow.v0.unions.repeat_schedule': (): io.flow.v0.unions.RepeatSchedule => {
|
|
13608
|
-
const f = faker.
|
|
13615
|
+
const f = faker.helpers.arrayElement([
|
|
13609
13616
|
() => factories['io.flow.v0.models.repeat_hourly'](),
|
|
13610
13617
|
() => factories['io.flow.v0.models.repeat_daily'](),
|
|
13611
13618
|
() => factories['io.flow.v0.models.repeat_weekly'](),
|
|
@@ -13616,7 +13623,7 @@ const factories = {
|
|
|
13616
13623
|
},
|
|
13617
13624
|
|
|
13618
13625
|
'io.flow.v0.unions.reservation_error': (): io.flow.v0.unions.ReservationError => {
|
|
13619
|
-
const f = faker.
|
|
13626
|
+
const f = faker.helpers.arrayElement([
|
|
13620
13627
|
() => factories['io.flow.v0.models.no_inventory_reservation_error'](),
|
|
13621
13628
|
() => factories['io.flow.v0.models.external_api_timeout_reservation_error'](),
|
|
13622
13629
|
() => factories['io.flow.v0.models.generic_reservation_error'](),
|
|
@@ -13626,7 +13633,7 @@ const factories = {
|
|
|
13626
13633
|
},
|
|
13627
13634
|
|
|
13628
13635
|
'io.flow.v0.unions.return_source': (): io.flow.v0.unions.ReturnSource => {
|
|
13629
|
-
const f = faker.
|
|
13636
|
+
const f = faker.helpers.arrayElement([
|
|
13630
13637
|
() => factories['io.flow.v0.models.return_source_flow'](),
|
|
13631
13638
|
() => factories['io.flow.v0.models.return_source_external_vendor'](),
|
|
13632
13639
|
]);
|
|
@@ -13635,7 +13642,7 @@ const factories = {
|
|
|
13635
13642
|
},
|
|
13636
13643
|
|
|
13637
13644
|
'io.flow.v0.unions.sdk_adyen_v3_authentication_token': (): io.flow.v0.unions.SdkAdyenV3AuthenticationToken => {
|
|
13638
|
-
const f = faker.
|
|
13645
|
+
const f = faker.helpers.arrayElement([
|
|
13639
13646
|
() => factories['io.flow.v0.models.adyen_v3_fingerprint_token'](),
|
|
13640
13647
|
() => factories['io.flow.v0.models.adyen_v3_challenge_token'](),
|
|
13641
13648
|
]);
|
|
@@ -13644,7 +13651,7 @@ const factories = {
|
|
|
13644
13651
|
},
|
|
13645
13652
|
|
|
13646
13653
|
'io.flow.v0.unions.service_fee': (): io.flow.v0.unions.ServiceFee => {
|
|
13647
|
-
const f = faker.
|
|
13654
|
+
const f = faker.helpers.arrayElement([
|
|
13648
13655
|
() => factories['io.flow.v0.models.fuel_surcharge_service_fee'](),
|
|
13649
13656
|
() => factories['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'](),
|
|
13650
13657
|
() => factories['io.flow.v0.models.remote_area_service_fee'](),
|
|
@@ -13658,12 +13665,12 @@ const factories = {
|
|
|
13658
13665
|
},
|
|
13659
13666
|
|
|
13660
13667
|
'io.flow.v0.unions.session': (): io.flow.v0.unions.Session => {
|
|
13661
|
-
const f = faker.
|
|
13668
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.organization_session']()]);
|
|
13662
13669
|
return f();
|
|
13663
13670
|
},
|
|
13664
13671
|
|
|
13665
13672
|
'io.flow.v0.unions.session_authorization': (): io.flow.v0.unions.SessionAuthorization => {
|
|
13666
|
-
const f = faker.
|
|
13673
|
+
const f = faker.helpers.arrayElement(
|
|
13667
13674
|
[() => factories['io.flow.v0.models.organization_session_authorization']()],
|
|
13668
13675
|
);
|
|
13669
13676
|
|
|
@@ -13671,7 +13678,7 @@ const factories = {
|
|
|
13671
13678
|
},
|
|
13672
13679
|
|
|
13673
13680
|
'io.flow.v0.unions.settlement': (): io.flow.v0.unions.Settlement => {
|
|
13674
|
-
const f = faker.
|
|
13681
|
+
const f = faker.helpers.arrayElement([
|
|
13675
13682
|
() => factories['io.flow.v0.models.no_payout'](),
|
|
13676
13683
|
() => factories['io.flow.v0.models.payout'](),
|
|
13677
13684
|
]);
|
|
@@ -13680,7 +13687,7 @@ const factories = {
|
|
|
13680
13687
|
},
|
|
13681
13688
|
|
|
13682
13689
|
'io.flow.v0.unions.shipping_label_form': (): io.flow.v0.unions.ShippingLabelForm => {
|
|
13683
|
-
const f = faker.
|
|
13690
|
+
const f = faker.helpers.arrayElement([
|
|
13684
13691
|
() => factories['io.flow.v0.models.detailed_shipping_label_form'](),
|
|
13685
13692
|
() => factories['io.flow.v0.models.summary_shipping_label_form'](),
|
|
13686
13693
|
]);
|
|
@@ -13689,7 +13696,7 @@ const factories = {
|
|
|
13689
13696
|
},
|
|
13690
13697
|
|
|
13691
13698
|
'io.flow.v0.unions.shipping_notification_form': (): io.flow.v0.unions.ShippingNotificationForm => {
|
|
13692
|
-
const f = faker.
|
|
13699
|
+
const f = faker.helpers.arrayElement([
|
|
13693
13700
|
() => factories['io.flow.v0.models.detailed_shipping_notification_form'](),
|
|
13694
13701
|
() => factories['io.flow.v0.models.single_package_shipping_notification_form'](),
|
|
13695
13702
|
() => factories['io.flow.v0.models.summary_shipping_notification_form'](),
|
|
@@ -13699,7 +13706,7 @@ const factories = {
|
|
|
13699
13706
|
},
|
|
13700
13707
|
|
|
13701
13708
|
'io.flow.v0.unions.shopify_cart_add_form': (): io.flow.v0.unions.ShopifyCartAddForm => {
|
|
13702
|
-
const f = faker.
|
|
13709
|
+
const f = faker.helpers.arrayElement([
|
|
13703
13710
|
() => factories['io.flow.v0.models.shopify_cart_add_single_form'](),
|
|
13704
13711
|
() => factories['io.flow.v0.models.shopify_cart_add_multiple_form'](),
|
|
13705
13712
|
]);
|
|
@@ -13708,17 +13715,17 @@ const factories = {
|
|
|
13708
13715
|
},
|
|
13709
13716
|
|
|
13710
13717
|
'io.flow.v0.unions.shopify_event_bucket': (): io.flow.v0.unions.ShopifyEventBucket => {
|
|
13711
|
-
const f = faker.
|
|
13718
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.shopify_item_event_bucket']()]);
|
|
13712
13719
|
return f();
|
|
13713
13720
|
},
|
|
13714
13721
|
|
|
13715
13722
|
'io.flow.v0.unions.tax_duty_quote_levy_value': (): io.flow.v0.unions.TaxDutyQuoteLevyValue => {
|
|
13716
|
-
const f = faker.
|
|
13723
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.tax_duty_quote_simple_levy_value']()]);
|
|
13717
13724
|
return f();
|
|
13718
13725
|
},
|
|
13719
13726
|
|
|
13720
13727
|
'io.flow.v0.unions.tax_setting': (): io.flow.v0.unions.TaxSetting => {
|
|
13721
|
-
const f = faker.
|
|
13728
|
+
const f = faker.helpers.arrayElement([
|
|
13722
13729
|
() => factories['io.flow.v0.models.avalara_tax_setting'](),
|
|
13723
13730
|
() => factories['io.flow.v0.models.avalara_tax_csv_setting'](),
|
|
13724
13731
|
]);
|
|
@@ -13727,17 +13734,17 @@ const factories = {
|
|
|
13727
13734
|
},
|
|
13728
13735
|
|
|
13729
13736
|
'io.flow.v0.unions.threeds_challenge_action': (): io.flow.v0.unions.ThreedsChallengeAction => {
|
|
13730
|
-
const f = faker.
|
|
13737
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.threeds_two_challenge_request']()]);
|
|
13731
13738
|
return f();
|
|
13732
13739
|
},
|
|
13733
13740
|
|
|
13734
13741
|
'io.flow.v0.unions.threeds_identify_action': (): io.flow.v0.unions.ThreedsIdentifyAction => {
|
|
13735
|
-
const f = faker.
|
|
13742
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.threeds_two_method']()]);
|
|
13736
13743
|
return f();
|
|
13737
13744
|
},
|
|
13738
13745
|
|
|
13739
13746
|
'io.flow.v0.unions.tier_rule_outcome': (): io.flow.v0.unions.TierRuleOutcome => {
|
|
13740
|
-
const f = faker.
|
|
13747
|
+
const f = faker.helpers.arrayElement([
|
|
13741
13748
|
() => factories['io.flow.v0.models.amount_margin'](),
|
|
13742
13749
|
() => factories['io.flow.v0.models.at_cost'](),
|
|
13743
13750
|
() => factories['io.flow.v0.models.flat_rate'](),
|
|
@@ -13748,7 +13755,7 @@ const factories = {
|
|
|
13748
13755
|
},
|
|
13749
13756
|
|
|
13750
13757
|
'io.flow.v0.unions.tier_rule_outcome_form': (): io.flow.v0.unions.TierRuleOutcomeForm => {
|
|
13751
|
-
const f = faker.
|
|
13758
|
+
const f = faker.helpers.arrayElement([
|
|
13752
13759
|
() => factories['io.flow.v0.models.amount_margin_form'](),
|
|
13753
13760
|
() => factories['io.flow.v0.models.flat_rate_form'](),
|
|
13754
13761
|
() => factories['io.flow.v0.models.at_cost'](),
|
|
@@ -13759,7 +13766,7 @@ const factories = {
|
|
|
13759
13766
|
},
|
|
13760
13767
|
|
|
13761
13768
|
'io.flow.v0.unions.token': (): io.flow.v0.unions.Token => {
|
|
13762
|
-
const f = faker.
|
|
13769
|
+
const f = faker.helpers.arrayElement([
|
|
13763
13770
|
() => factories['io.flow.v0.models.channel_token'](),
|
|
13764
13771
|
() => factories['io.flow.v0.models.organization_token'](),
|
|
13765
13772
|
() => factories['io.flow.v0.models.organization_token_v2'](),
|
|
@@ -13770,7 +13777,7 @@ const factories = {
|
|
|
13770
13777
|
},
|
|
13771
13778
|
|
|
13772
13779
|
'io.flow.v0.unions.token_reference': (): io.flow.v0.unions.TokenReference => {
|
|
13773
|
-
const f = faker.
|
|
13780
|
+
const f = faker.helpers.arrayElement([
|
|
13774
13781
|
() => factories['io.flow.v0.models.channel_token_reference'](),
|
|
13775
13782
|
() => factories['io.flow.v0.models.organization_token_reference'](),
|
|
13776
13783
|
() => factories['io.flow.v0.models.organization_token_v2_reference'](),
|
|
@@ -13807,6 +13814,7 @@ export const makeActionUseSdkKlarnaV1 = () => factories['io.flow.v0.models.actio
|
|
|
13807
13814
|
export const makeActionUseSdkPaypal = () => factories['io.flow.v0.models.action_use_sdk_paypal']();
|
|
13808
13815
|
export const makeActionUseSdkStripeV3 = () => factories['io.flow.v0.models.action_use_sdk_stripe_v3']();
|
|
13809
13816
|
export const makeActionWait = () => factories['io.flow.v0.models.action_wait']();
|
|
13817
|
+
export const makeActivationPutForm = () => factories['io.flow.v0.models.activation_put_form']();
|
|
13810
13818
|
export const makeAddress = () => factories['io.flow.v0.models.address']();
|
|
13811
13819
|
export const makeAddressConfiguration = () => factories['io.flow.v0.models.address_configuration']();
|
|
13812
13820
|
export const makeAddressConfigurationFieldPlacement = () => factories['io.flow.v0.models.address_configuration_field_placement']();
|