@flowio/api-factories 0.0.39 → 0.0.41

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/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.random.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.random.arrayElement(['final', 'pending']),
35
- 'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': (): io.flow.apple.pay.v0.enums.ApplePayMerchantCapability => faker.random.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']),
36
- 'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': (): io.flow.apple.pay.v0.enums.ApplePayShippingType => faker.random.arrayElement(['shipping', 'delivery', 'store_pickup', 'service_pickup']),
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.random.arrayElement([
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.random.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']),
115
- 'io.flow.google.pay.v0.enums.billing_address_format': (): io.flow.google.pay.v0.enums.BillingAddressFormat => faker.random.arrayElement(['MIN', 'FULL']),
116
- 'io.flow.google.pay.v0.enums.card_gateway': (): io.flow.google.pay.v0.enums.CardGateway => faker.random.arrayElement(['adyen', 'stripe']),
117
- 'io.flow.google.pay.v0.enums.card_network': (): io.flow.google.pay.v0.enums.CardNetwork => faker.random.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']),
118
- 'io.flow.google.pay.v0.enums.payment_method_type': (): io.flow.google.pay.v0.enums.PaymentMethodType => faker.random.arrayElement(['CARD']),
119
- 'io.flow.google.pay.v0.enums.tokenization_type': (): io.flow.google.pay.v0.enums.TokenizationType => faker.random.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']),
120
- 'io.flow.google.pay.v0.enums.total_price_status': (): io.flow.google.pay.v0.enums.TotalPriceStatus => faker.random.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']),
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.random.arrayElement([
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.random.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']),
266
- 'io.flow.shopify.external.v0.enums.discount_status': (): io.flow.shopify.external.v0.enums.DiscountStatus => faker.random.arrayElement(['enabled', 'disabled', 'depleted']),
267
- 'io.flow.shopify.external.v0.enums.discount_type': (): io.flow.shopify.external.v0.enums.DiscountType => faker.random.arrayElement(['fixed_amount', 'percentage', 'shipping']),
268
- 'io.flow.shopify.external.v0.enums.discrepancy_reason': (): io.flow.shopify.external.v0.enums.DiscrepancyReason => faker.random.arrayElement(['restock', 'damage', 'customer', 'other']),
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.random.arrayElement([
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.random.arrayElement([
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.random.arrayElement(['json', 'xml']),
296
- 'io.flow.shopify.external.v0.enums.fulfillment_service': (): io.flow.shopify.external.v0.enums.FulfillmentService => faker.random.arrayElement(['manual', 'gift_card']),
297
- 'io.flow.shopify.external.v0.enums.fulfillment_status_type': (): io.flow.shopify.external.v0.enums.FulfillmentStatusType => faker.random.arrayElement(['fulfilled', 'null', 'partial']),
298
- 'io.flow.shopify.external.v0.enums.inventory_behaviour': (): io.flow.shopify.external.v0.enums.InventoryBehaviour => faker.random.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.random.arrayElement(['blank', 'shopify']),
300
- 'io.flow.shopify.external.v0.enums.inventory_policy': (): io.flow.shopify.external.v0.enums.InventoryPolicy => faker.random.arrayElement(['deny', 'continue']),
301
- 'io.flow.shopify.external.v0.enums.kind_type': (): io.flow.shopify.external.v0.enums.KindType => faker.random.arrayElement(['authorization', 'capture', 'sale', 'void', 'refund']),
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.random.arrayElement([
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.random.arrayElement(['open', 'closed', 'cancelled', 'any']),
311
- 'io.flow.shopify.external.v0.enums.price_rule_allocation_method': (): io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod => faker.random.arrayElement(['across', 'each']),
312
- 'io.flow.shopify.external.v0.enums.price_rule_customer_selection': (): io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection => faker.random.arrayElement(['all', 'prerequisite']),
313
- 'io.flow.shopify.external.v0.enums.price_rule_target_selection': (): io.flow.shopify.external.v0.enums.PriceRuleTargetSelection => faker.random.arrayElement(['all', 'entitled']),
314
- 'io.flow.shopify.external.v0.enums.price_rule_target_type': (): io.flow.shopify.external.v0.enums.PriceRuleTargetType => faker.random.arrayElement(['line_item', 'shipping_line']),
315
- 'io.flow.shopify.external.v0.enums.price_rule_value_type': (): io.flow.shopify.external.v0.enums.PriceRuleValueType => faker.random.arrayElement(['fixed_amount', 'percentage']),
316
- 'io.flow.shopify.external.v0.enums.published_scope': (): io.flow.shopify.external.v0.enums.PublishedScope => faker.random.arrayElement(['global']),
317
- 'io.flow.shopify.external.v0.enums.restock_type': (): io.flow.shopify.external.v0.enums.RestockType => faker.random.arrayElement(['no_restock', 'cancel', 'return']),
318
- 'io.flow.shopify.external.v0.enums.shopify_customer_state': (): io.flow.shopify.external.v0.enums.ShopifyCustomerState => faker.random.arrayElement(['disabled', 'invited', 'enabled']),
319
- 'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': (): io.flow.shopify.external.v0.enums.ShopifyDiscountPaginationDirection => faker.random.arrayElement(['next', 'prev']),
320
- 'io.flow.shopify.external.v0.enums.shopify_gift_card_status': (): io.flow.shopify.external.v0.enums.ShopifyGiftCardStatus => faker.random.arrayElement(['any', 'enabled', 'disabled']),
321
- 'io.flow.shopify.external.v0.enums.shopify_processing_method_type': (): io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType => faker.random.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.random.arrayElement([
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.random.arrayElement(['pending', 'failure', 'success', 'error']),
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.random.arrayElement([
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.random.arrayElement(['string', 'integer']),
394
- 'io.flow.shopify.external.v0.enums.weight_unit': (): io.flow.shopify.external.v0.enums.WeightUnit => faker.random.arrayElement(['g', 'kg', 'oz', 'lb']),
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.random.arrayElement(['platform', 'custom', 'standard', 'express']),
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.random.arrayElement([
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.random.arrayElement(['automatic', 'manual']),
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.random.arrayElement([
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.random.arrayElement([
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.random.arrayElement(['credit', 'debit', 'prepaid', 'unknown']),
1369
- 'io.flow.stripe.v0.enums.check_outcome': (): io.flow.stripe.v0.enums.CheckOutcome => faker.random.arrayElement(['pass', 'fail', 'unavailable', 'unchecked']),
1370
- 'io.flow.stripe.v0.enums.code_verification_status': (): io.flow.stripe.v0.enums.CodeVerificationStatus => faker.random.arrayElement(['pending', 'succeeded', 'failed']),
1371
- 'io.flow.stripe.v0.enums.confirmation_method': (): io.flow.stripe.v0.enums.ConfirmationMethod => faker.random.arrayElement(['automatic', 'manual']),
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.random.arrayElement([
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.random.arrayElement([
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.random.arrayElement([
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.random.arrayElement([
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.random.arrayElement(['payment']),
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.random.arrayElement([
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.random.arrayElement(['redirect_to_url', 'use_stripe_sdk']),
1463
- 'io.flow.stripe.v0.enums.order_item_type': (): io.flow.stripe.v0.enums.OrderItemType => faker.random.arrayElement(['sku', 'tax', 'shipping', 'discount']),
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.random.arrayElement([
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.random.arrayElement(['card', 'card_present']),
1476
- 'io.flow.stripe.v0.enums.payment_outcome_type': (): io.flow.stripe.v0.enums.PaymentOutcomeType => faker.random.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']),
1477
- 'io.flow.stripe.v0.enums.payment_status': (): io.flow.stripe.v0.enums.PaymentStatus => faker.random.arrayElement(['succeeded', 'pending', 'failed']),
1478
- 'io.flow.stripe.v0.enums.refund_failure_reason': (): io.flow.stripe.v0.enums.RefundFailureReason => faker.random.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.random.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']),
1480
- 'io.flow.stripe.v0.enums.refund_status': (): io.flow.stripe.v0.enums.RefundStatus => faker.random.arrayElement(['succeeded', 'failed', 'pending', 'canceled']),
1481
- 'io.flow.stripe.v0.enums.request_three_d_secure_type': (): io.flow.stripe.v0.enums.RequestThreeDSecureType => faker.random.arrayElement(['automatic', 'any']),
1482
- 'io.flow.stripe.v0.enums.requested_capabilities': (): io.flow.stripe.v0.enums.RequestedCapabilities => faker.random.arrayElement(['card_payments', 'legacy_payments', 'transfers']),
1483
- 'io.flow.stripe.v0.enums.setup_future_usage': (): io.flow.stripe.v0.enums.SetupFutureUsage => faker.random.arrayElement(['on_session', 'off_session']),
1484
- 'io.flow.stripe.v0.enums.source_flow': (): io.flow.stripe.v0.enums.SourceFlow => faker.random.arrayElement(['redirect', 'receiver', 'code_verification', 'none']),
1485
- 'io.flow.stripe.v0.enums.source_status': (): io.flow.stripe.v0.enums.SourceStatus => faker.random.arrayElement(['canceled', 'chargeable', 'consumed', 'failed', 'pending']),
1486
-
1487
- 'io.flow.stripe.v0.enums.source_type': (): io.flow.stripe.v0.enums.SourceType => faker.random.arrayElement([
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.random.arrayElement(['reusable', 'single_use']),
1506
- 'io.flow.stripe.v0.enums.three_d_secure_support': (): io.flow.stripe.v0.enums.ThreeDSecureSupport => faker.random.arrayElement(['required', 'recommended', 'optional', 'not_supported']),
1507
- 'io.flow.stripe.v0.enums.token_type': (): io.flow.stripe.v0.enums.TokenType => faker.random.arrayElement(['account', 'bank_account', 'card', 'pii']),
1508
- 'io.flow.stripe.v0.enums.use_stripe_sdk_type': (): io.flow.stripe.v0.enums.UseStripeSdkType => faker.random.arrayElement(['three_d_secure_redirect', 'stripe_3ds2_fingerprint']),
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.random.arrayElement(['active', 'inactive']),
2187
- 'io.flow.v0.enums.abandoned_order_setting_status': (): io.flow.v0.enums.AbandonedOrderSettingStatus => faker.random.arrayElement(['active', 'inactive']),
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.random.arrayElement([
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,13 @@ 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.random.arrayElement(['duty_deminimis', 'vat_deminimis']),
2204
- 'io.flow.v0.enums.aggregate': (): io.flow.v0.enums.Aggregate => faker.random.arrayElement(['maximum', 'minimum']),
2205
- 'io.flow.v0.enums.attachment_type': (): io.flow.v0.enums.AttachmentType => faker.random.arrayElement(['csv']),
2206
- 'io.flow.v0.enums.attribute_data_type': (): io.flow.v0.enums.AttributeDataType => faker.random.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']),
2203
+ 'io.flow.v0.enums.address_verification_result_field_code': (): io.flow.v0.enums.AddressVerificationResultFieldCode => faker.helpers.arrayElement(['match', 'not_available', 'not_checked', 'not_matched']),
2204
+ 'io.flow.v0.enums.adjustment_reason_key': (): io.flow.v0.enums.AdjustmentReasonKey => faker.helpers.arrayElement(['duty_deminimis', 'vat_deminimis']),
2205
+ 'io.flow.v0.enums.aggregate': (): io.flow.v0.enums.Aggregate => faker.helpers.arrayElement(['maximum', 'minimum']),
2206
+ 'io.flow.v0.enums.attachment_type': (): io.flow.v0.enums.AttachmentType => faker.helpers.arrayElement(['csv']),
2207
+ 'io.flow.v0.enums.attribute_data_type': (): io.flow.v0.enums.AttributeDataType => faker.helpers.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']),
2207
2208
 
2208
- 'io.flow.v0.enums.attribute_intent': (): io.flow.v0.enums.AttributeIntent => faker.random.arrayElement([
2209
+ 'io.flow.v0.enums.attribute_intent': (): io.flow.v0.enums.AttributeIntent => faker.helpers.arrayElement([
2209
2210
  'brand',
2210
2211
  'color',
2211
2212
  'countries_of_origin',
@@ -2230,9 +2231,9 @@ const factories = {
2230
2231
  'include_in_product_feeds',
2231
2232
  ]),
2232
2233
 
2233
- 'io.flow.v0.enums.authentication_technique': (): io.flow.v0.enums.AuthenticationTechnique => faker.random.arrayElement(['anonymous', 'session', 'token', 'partner_token', 'user']),
2234
+ 'io.flow.v0.enums.authentication_technique': (): io.flow.v0.enums.AuthenticationTechnique => faker.helpers.arrayElement(['anonymous', 'session', 'token', 'partner_token', 'user']),
2234
2235
 
2235
- 'io.flow.v0.enums.authorization_decline_code': (): io.flow.v0.enums.AuthorizationDeclineCode => faker.random.arrayElement([
2236
+ 'io.flow.v0.enums.authorization_decline_code': (): io.flow.v0.enums.AuthorizationDeclineCode => faker.helpers.arrayElement([
2236
2237
  'expired',
2237
2238
  'invalid_name',
2238
2239
  'invalid_number',
@@ -2250,10 +2251,10 @@ const factories = {
2250
2251
  'online_payment_error',
2251
2252
  ]),
2252
2253
 
2253
- 'io.flow.v0.enums.authorization_option': (): io.flow.v0.enums.AuthorizationOption => faker.random.arrayElement(['store_card']),
2254
- 'io.flow.v0.enums.authorization_result_action_type': (): io.flow.v0.enums.AuthorizationResultActionType => faker.random.arrayElement(['native', 'redirect', 'wait']),
2254
+ 'io.flow.v0.enums.authorization_option': (): io.flow.v0.enums.AuthorizationOption => faker.helpers.arrayElement(['store_card']),
2255
+ 'io.flow.v0.enums.authorization_result_action_type': (): io.flow.v0.enums.AuthorizationResultActionType => faker.helpers.arrayElement(['native', 'redirect', 'wait']),
2255
2256
 
2256
- 'io.flow.v0.enums.authorization_status': (): io.flow.v0.enums.AuthorizationStatus => faker.random.arrayElement([
2257
+ 'io.flow.v0.enums.authorization_status': (): io.flow.v0.enums.AuthorizationStatus => faker.helpers.arrayElement([
2257
2258
  'initiated',
2258
2259
  'pending',
2259
2260
  'expired',
@@ -2263,9 +2264,9 @@ const factories = {
2263
2264
  'reversed',
2264
2265
  ]),
2265
2266
 
2266
- 'io.flow.v0.enums.availability_status': (): io.flow.v0.enums.AvailabilityStatus => faker.random.arrayElement(['enabled', 'disabled']),
2267
+ 'io.flow.v0.enums.availability_status': (): io.flow.v0.enums.AvailabilityStatus => faker.helpers.arrayElement(['enabled', 'disabled']),
2267
2268
 
2268
- 'io.flow.v0.enums.available_filter_format': (): io.flow.v0.enums.AvailableFilterFormat => faker.random.arrayElement([
2269
+ 'io.flow.v0.enums.available_filter_format': (): io.flow.v0.enums.AvailableFilterFormat => faker.helpers.arrayElement([
2269
2270
  'boolean',
2270
2271
  'date',
2271
2272
  'money',
@@ -2275,15 +2276,15 @@ const factories = {
2275
2276
  'unit_of_mass',
2276
2277
  ]),
2277
2278
 
2278
- 'io.flow.v0.enums.avs_code': (): io.flow.v0.enums.AvsCode => faker.random.arrayElement(['match', 'partial', 'unsupported', 'no_match']),
2279
- 'io.flow.v0.enums.b2b_invoice_type': (): io.flow.v0.enums.B2BInvoiceType => faker.random.arrayElement(['self_bill_invoice', 'invoice']),
2280
- 'io.flow.v0.enums.calendar': (): io.flow.v0.enums.Calendar => faker.random.arrayElement(['weekdays', 'everyday']),
2281
- 'io.flow.v0.enums.cancel_reason': (): io.flow.v0.enums.CancelReason => faker.random.arrayElement(['out_of_stock', 'consumer_requested', 'flow_cancel']),
2282
- 'io.flow.v0.enums.capability': (): io.flow.v0.enums.Capability => faker.random.arrayElement(['crossdock']),
2283
- 'io.flow.v0.enums.capture_decline_code': (): io.flow.v0.enums.CaptureDeclineCode => faker.random.arrayElement(['expired', 'insufficient_funds', 'unknown']),
2284
- 'io.flow.v0.enums.capture_status': (): io.flow.v0.enums.CaptureStatus => faker.random.arrayElement(['initiated', 'pending', 'succeeded', 'failed', 'canceled']),
2279
+ 'io.flow.v0.enums.avs_code': (): io.flow.v0.enums.AvsCode => faker.helpers.arrayElement(['match', 'partial', 'unsupported', 'no_match']),
2280
+ 'io.flow.v0.enums.b2b_invoice_type': (): io.flow.v0.enums.B2BInvoiceType => faker.helpers.arrayElement(['self_bill_invoice', 'invoice']),
2281
+ 'io.flow.v0.enums.calendar': (): io.flow.v0.enums.Calendar => faker.helpers.arrayElement(['weekdays', 'everyday']),
2282
+ 'io.flow.v0.enums.cancel_reason': (): io.flow.v0.enums.CancelReason => faker.helpers.arrayElement(['out_of_stock', 'consumer_requested', 'flow_cancel']),
2283
+ 'io.flow.v0.enums.capability': (): io.flow.v0.enums.Capability => faker.helpers.arrayElement(['crossdock']),
2284
+ 'io.flow.v0.enums.capture_decline_code': (): io.flow.v0.enums.CaptureDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
2285
+ 'io.flow.v0.enums.capture_status': (): io.flow.v0.enums.CaptureStatus => faker.helpers.arrayElement(['initiated', 'pending', 'succeeded', 'failed', 'canceled']),
2285
2286
 
2286
- 'io.flow.v0.enums.card_error_code': (): io.flow.v0.enums.CardErrorCode => faker.random.arrayElement([
2287
+ 'io.flow.v0.enums.card_error_code': (): io.flow.v0.enums.CardErrorCode => faker.helpers.arrayElement([
2287
2288
  'invalid_address',
2288
2289
  'invalid_currency',
2289
2290
  'invalid_name',
@@ -2296,7 +2297,7 @@ const factories = {
2296
2297
  'unknown',
2297
2298
  ]),
2298
2299
 
2299
- 'io.flow.v0.enums.card_type': (): io.flow.v0.enums.CardType => faker.random.arrayElement([
2300
+ 'io.flow.v0.enums.card_type': (): io.flow.v0.enums.CardType => faker.helpers.arrayElement([
2300
2301
  'american_express',
2301
2302
  'cartes_bancaires',
2302
2303
  'china_union_pay',
@@ -2309,16 +2310,16 @@ const factories = {
2309
2310
  'visa',
2310
2311
  ]),
2311
2312
 
2312
- 'io.flow.v0.enums.center_capability': (): io.flow.v0.enums.CenterCapability => faker.random.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']),
2313
- 'io.flow.v0.enums.change_type': (): io.flow.v0.enums.ChangeType => faker.random.arrayElement(['insert', 'update', 'delete']),
2314
- 'io.flow.v0.enums.channel_currency_capability': (): io.flow.v0.enums.ChannelCurrencyCapability => faker.random.arrayElement(['payment_authorizations', 'settlement_currency']),
2315
- 'io.flow.v0.enums.consumer_invoice_customer_type': (): io.flow.v0.enums.ConsumerInvoiceCustomerType => faker.random.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']),
2316
- 'io.flow.v0.enums.consumer_invoice_document_type': (): io.flow.v0.enums.ConsumerInvoiceDocumentType => faker.random.arrayElement(['pdf']),
2317
- 'io.flow.v0.enums.consumer_invoice_status': (): io.flow.v0.enums.ConsumerInvoiceStatus => faker.random.arrayElement(['pending', 'available', 'invalid']),
2318
- 'io.flow.v0.enums.cost_estimate_source': (): io.flow.v0.enums.CostEstimateSource => faker.random.arrayElement(['flow', 'channel']),
2319
- 'io.flow.v0.enums.country_picker_source': (): io.flow.v0.enums.CountryPickerSource => faker.random.arrayElement(['experience', 'destination']),
2313
+ 'io.flow.v0.enums.center_capability': (): io.flow.v0.enums.CenterCapability => faker.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']),
2314
+ 'io.flow.v0.enums.change_type': (): io.flow.v0.enums.ChangeType => faker.helpers.arrayElement(['insert', 'update', 'delete']),
2315
+ 'io.flow.v0.enums.channel_currency_capability': (): io.flow.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
2316
+ 'io.flow.v0.enums.consumer_invoice_customer_type': (): io.flow.v0.enums.ConsumerInvoiceCustomerType => faker.helpers.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']),
2317
+ 'io.flow.v0.enums.consumer_invoice_document_type': (): io.flow.v0.enums.ConsumerInvoiceDocumentType => faker.helpers.arrayElement(['pdf']),
2318
+ 'io.flow.v0.enums.consumer_invoice_status': (): io.flow.v0.enums.ConsumerInvoiceStatus => faker.helpers.arrayElement(['pending', 'available', 'invalid']),
2319
+ 'io.flow.v0.enums.cost_estimate_source': (): io.flow.v0.enums.CostEstimateSource => faker.helpers.arrayElement(['flow', 'channel']),
2320
+ 'io.flow.v0.enums.country_picker_source': (): io.flow.v0.enums.CountryPickerSource => faker.helpers.arrayElement(['experience', 'destination']),
2320
2321
 
2321
- 'io.flow.v0.enums.credit_payment_error_code': (): io.flow.v0.enums.CreditPaymentErrorCode => faker.random.arrayElement([
2322
+ 'io.flow.v0.enums.credit_payment_error_code': (): io.flow.v0.enums.CreditPaymentErrorCode => faker.helpers.arrayElement([
2322
2323
  'generic_error',
2323
2324
  'invalid_order_number',
2324
2325
  'invalid_currency',
@@ -2329,12 +2330,13 @@ const factories = {
2329
2330
  'insufficient_amount',
2330
2331
  ]),
2331
2332
 
2332
- 'io.flow.v0.enums.currency_label_formatter': (): io.flow.v0.enums.CurrencyLabelFormatter => faker.random.arrayElement(['strip_trailing_zeros', 'symbol_prefix', 'symbol_suffix']),
2333
- 'io.flow.v0.enums.currency_symbol_format': (): io.flow.v0.enums.CurrencySymbolFormat => faker.random.arrayElement(['narrow', 'primary']),
2334
- 'io.flow.v0.enums.customer_address_type': (): io.flow.v0.enums.CustomerAddressType => faker.random.arrayElement(['billing', 'invoice', 'shipping']),
2335
- 'io.flow.v0.enums.cvv_code': (): io.flow.v0.enums.CvvCode => faker.random.arrayElement(['match', 'suspicious', 'unsupported', 'no_match']),
2333
+ 'io.flow.v0.enums.currency_label_formatter': (): io.flow.v0.enums.CurrencyLabelFormatter => faker.helpers.arrayElement(['strip_trailing_zeros', 'symbol_prefix', 'symbol_suffix']),
2334
+ 'io.flow.v0.enums.currency_symbol_format': (): io.flow.v0.enums.CurrencySymbolFormat => faker.helpers.arrayElement(['narrow', 'primary']),
2335
+ 'io.flow.v0.enums.customer_address_type': (): io.flow.v0.enums.CustomerAddressType => faker.helpers.arrayElement(['billing', 'invoice', 'shipping']),
2336
+ 'io.flow.v0.enums.cvv_code': (): io.flow.v0.enums.CvvCode => faker.helpers.arrayElement(['match', 'suspicious', 'unsupported', 'no_match']),
2337
+ 'io.flow.v0.enums.cvv_result_code': (): io.flow.v0.enums.CvvResultCode => faker.helpers.arrayElement(['match', 'not_available', 'not_checked', 'not_matched']),
2336
2338
 
2337
- 'io.flow.v0.enums.day_of_week': (): io.flow.v0.enums.DayOfWeek => faker.random.arrayElement([
2339
+ 'io.flow.v0.enums.day_of_week': (): io.flow.v0.enums.DayOfWeek => faker.helpers.arrayElement([
2338
2340
  'sunday',
2339
2341
  'monday',
2340
2342
  'tuesday',
@@ -2344,10 +2346,10 @@ const factories = {
2344
2346
  'saturday',
2345
2347
  ]),
2346
2348
 
2347
- 'io.flow.v0.enums.delivered_duty': (): io.flow.v0.enums.DeliveredDuty => faker.random.arrayElement(['paid', 'unpaid']),
2348
- 'io.flow.v0.enums.delivered_duty_display_type': (): io.flow.v0.enums.DeliveredDutyDisplayType => faker.random.arrayElement(['all', 'single']),
2349
+ 'io.flow.v0.enums.delivered_duty': (): io.flow.v0.enums.DeliveredDuty => faker.helpers.arrayElement(['paid', 'unpaid']),
2350
+ 'io.flow.v0.enums.delivered_duty_display_type': (): io.flow.v0.enums.DeliveredDutyDisplayType => faker.helpers.arrayElement(['all', 'single']),
2349
2351
 
2350
- 'io.flow.v0.enums.delivery_option_cost_detail_component_key': (): io.flow.v0.enums.DeliveryOptionCostDetailComponentKey => faker.random.arrayElement([
2352
+ 'io.flow.v0.enums.delivery_option_cost_detail_component_key': (): io.flow.v0.enums.DeliveryOptionCostDetailComponentKey => faker.helpers.arrayElement([
2351
2353
  'ratecard_base_cost',
2352
2354
  'ratecard_ddp_fee',
2353
2355
  'ratecard_fuel_surcharge',
@@ -2361,16 +2363,16 @@ const factories = {
2361
2363
  'center_outbound_carton_fee',
2362
2364
  ]),
2363
2365
 
2364
- 'io.flow.v0.enums.delivery_option_cost_detail_source': (): io.flow.v0.enums.DeliveryOptionCostDetailSource => faker.random.arrayElement(['center', 'ratecard']),
2365
- 'io.flow.v0.enums.delivery_window_component_source': (): io.flow.v0.enums.DeliveryWindowComponentSource => faker.random.arrayElement(['flow', 'organization', 'carrier', 'center', 'mixed']),
2366
- 'io.flow.v0.enums.delivery_window_location': (): io.flow.v0.enums.DeliveryWindowLocation => faker.random.arrayElement(['center', 'crossdock', 'customer']),
2367
- 'io.flow.v0.enums.direction': (): io.flow.v0.enums.Direction => faker.random.arrayElement(['outbound', 'return']),
2368
- 'io.flow.v0.enums.discount_rule_status': (): io.flow.v0.enums.DiscountRuleStatus => faker.random.arrayElement(['active', 'scheduled', 'expired']),
2369
- 'io.flow.v0.enums.discount_rule_subsidy_target': (): io.flow.v0.enums.DiscountRuleSubsidyTarget => faker.random.arrayElement(['vat', 'duty']),
2370
- 'io.flow.v0.enums.discount_target': (): io.flow.v0.enums.DiscountTarget => faker.random.arrayElement(['item', 'shipping']),
2371
- 'io.flow.v0.enums.duty_item_approval_status': (): io.flow.v0.enums.DutyItemApprovalStatus => faker.random.arrayElement(['pending', 'certified', 'decertified']),
2366
+ 'io.flow.v0.enums.delivery_option_cost_detail_source': (): io.flow.v0.enums.DeliveryOptionCostDetailSource => faker.helpers.arrayElement(['center', 'ratecard']),
2367
+ 'io.flow.v0.enums.delivery_window_component_source': (): io.flow.v0.enums.DeliveryWindowComponentSource => faker.helpers.arrayElement(['flow', 'organization', 'carrier', 'center', 'mixed']),
2368
+ 'io.flow.v0.enums.delivery_window_location': (): io.flow.v0.enums.DeliveryWindowLocation => faker.helpers.arrayElement(['center', 'crossdock', 'customer']),
2369
+ 'io.flow.v0.enums.direction': (): io.flow.v0.enums.Direction => faker.helpers.arrayElement(['outbound', 'return']),
2370
+ 'io.flow.v0.enums.discount_rule_status': (): io.flow.v0.enums.DiscountRuleStatus => faker.helpers.arrayElement(['active', 'scheduled', 'expired']),
2371
+ 'io.flow.v0.enums.discount_rule_subsidy_target': (): io.flow.v0.enums.DiscountRuleSubsidyTarget => faker.helpers.arrayElement(['vat', 'duty']),
2372
+ 'io.flow.v0.enums.discount_target': (): io.flow.v0.enums.DiscountTarget => faker.helpers.arrayElement(['item', 'shipping']),
2373
+ 'io.flow.v0.enums.duty_item_approval_status': (): io.flow.v0.enums.DutyItemApprovalStatus => faker.helpers.arrayElement(['pending', 'certified', 'decertified']),
2372
2374
 
2373
- 'io.flow.v0.enums.ecommerce_platform_type': (): io.flow.v0.enums.EcommercePlatformType => faker.random.arrayElement([
2375
+ 'io.flow.v0.enums.ecommerce_platform_type': (): io.flow.v0.enums.EcommercePlatformType => faker.helpers.arrayElement([
2374
2376
  'commercetools',
2375
2377
  'custom',
2376
2378
  'hybris',
@@ -2382,11 +2384,11 @@ const factories = {
2382
2384
  'workarea',
2383
2385
  ]),
2384
2386
 
2385
- 'io.flow.v0.enums.economic_title_location': (): io.flow.v0.enums.EconomicTitleLocation => faker.random.arrayElement(['high_seas', 'origination', 'destination']),
2386
- 'io.flow.v0.enums.entity_identifier_type': (): io.flow.v0.enums.EntityIdentifierType => faker.random.arrayElement(['ioss', 'voec']),
2387
- 'io.flow.v0.enums.environment': (): io.flow.v0.enums.Environment => faker.random.arrayElement(['sandbox', 'production']),
2387
+ 'io.flow.v0.enums.economic_title_location': (): io.flow.v0.enums.EconomicTitleLocation => faker.helpers.arrayElement(['high_seas', 'origination', 'destination']),
2388
+ 'io.flow.v0.enums.entity_identifier_type': (): io.flow.v0.enums.EntityIdentifierType => faker.helpers.arrayElement(['ioss', 'voec']),
2389
+ 'io.flow.v0.enums.environment': (): io.flow.v0.enums.Environment => faker.helpers.arrayElement(['sandbox', 'production']),
2388
2390
 
2389
- 'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.random.arrayElement([
2391
+ 'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.helpers.arrayElement([
2390
2392
  'transaction_upserted',
2391
2393
  'organization_transaction_upserted',
2392
2394
  'organization_transaction_deleted',
@@ -2576,16 +2578,16 @@ const factories = {
2576
2578
  'tracking_label_event_upserted',
2577
2579
  ]),
2578
2580
 
2579
- 'io.flow.v0.enums.exception_type': (): io.flow.v0.enums.ExceptionType => faker.random.arrayElement(['open', 'closed']),
2580
- 'io.flow.v0.enums.exclusion_rule_state': (): io.flow.v0.enums.ExclusionRuleState => faker.random.arrayElement(['current', 'deleting', 'updating']),
2581
- 'io.flow.v0.enums.experience_clone_status': (): io.flow.v0.enums.ExperienceCloneStatus => faker.random.arrayElement(['pending', 'updating', 'completed', 'failed']),
2582
- 'io.flow.v0.enums.experience_country_status': (): io.flow.v0.enums.ExperienceCountryStatus => faker.random.arrayElement(['enabled', 'disabled']),
2583
- 'io.flow.v0.enums.experience_payment_method_tag': (): io.flow.v0.enums.ExperiencePaymentMethodTag => faker.random.arrayElement(['display']),
2584
- 'io.flow.v0.enums.experience_status': (): io.flow.v0.enums.ExperienceStatus => faker.random.arrayElement(['draft', 'active', 'archiving', 'archived']),
2585
- 'io.flow.v0.enums.export_status': (): io.flow.v0.enums.ExportStatus => faker.random.arrayElement(['created', 'processing', 'completed', 'failed']),
2586
- 'io.flow.v0.enums.exporter_of_record': (): io.flow.v0.enums.ExporterOfRecord => faker.random.arrayElement(['flow', 'organization']),
2581
+ 'io.flow.v0.enums.exception_type': (): io.flow.v0.enums.ExceptionType => faker.helpers.arrayElement(['open', 'closed']),
2582
+ 'io.flow.v0.enums.exclusion_rule_state': (): io.flow.v0.enums.ExclusionRuleState => faker.helpers.arrayElement(['current', 'deleting', 'updating']),
2583
+ 'io.flow.v0.enums.experience_clone_status': (): io.flow.v0.enums.ExperienceCloneStatus => faker.helpers.arrayElement(['pending', 'updating', 'completed', 'failed']),
2584
+ 'io.flow.v0.enums.experience_country_status': (): io.flow.v0.enums.ExperienceCountryStatus => faker.helpers.arrayElement(['enabled', 'disabled']),
2585
+ 'io.flow.v0.enums.experience_payment_method_tag': (): io.flow.v0.enums.ExperiencePaymentMethodTag => faker.helpers.arrayElement(['display']),
2586
+ 'io.flow.v0.enums.experience_status': (): io.flow.v0.enums.ExperienceStatus => faker.helpers.arrayElement(['draft', 'active', 'archiving', 'archived']),
2587
+ 'io.flow.v0.enums.export_status': (): io.flow.v0.enums.ExportStatus => faker.helpers.arrayElement(['created', 'processing', 'completed', 'failed']),
2588
+ 'io.flow.v0.enums.exporter_of_record': (): io.flow.v0.enums.ExporterOfRecord => faker.helpers.arrayElement(['flow', 'organization']),
2587
2589
 
2588
- 'io.flow.v0.enums.fee_deduction_type': (): io.flow.v0.enums.FeeDeductionType => faker.random.arrayElement([
2590
+ 'io.flow.v0.enums.fee_deduction_type': (): io.flow.v0.enums.FeeDeductionType => faker.helpers.arrayElement([
2589
2591
  'duty_guarantee',
2590
2592
  'mor',
2591
2593
  'fraud',
@@ -2595,10 +2597,10 @@ const factories = {
2595
2597
  'transfer',
2596
2598
  ]),
2597
2599
 
2598
- 'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.random.arrayElement(['view_consumer_data']),
2599
- 'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.random.arrayElement(['flow-usa', 'flow-irl', 'flow-can']),
2600
+ 'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.helpers.arrayElement(['view_consumer_data']),
2601
+ 'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']),
2600
2602
 
2601
- 'io.flow.v0.enums.flow_role': (): io.flow.v0.enums.FlowRole => faker.random.arrayElement([
2603
+ 'io.flow.v0.enums.flow_role': (): io.flow.v0.enums.FlowRole => faker.helpers.arrayElement([
2602
2604
  'organization_admin',
2603
2605
  'organization_merchant',
2604
2606
  'organization_customer_service',
@@ -2610,19 +2612,19 @@ const factories = {
2610
2612
  'channel_organization_admin',
2611
2613
  ]),
2612
2614
 
2613
- 'io.flow.v0.enums.fraud_email_rule_decision': (): io.flow.v0.enums.FraudEmailRuleDecision => faker.random.arrayElement(['approved', 'declined']),
2614
- 'io.flow.v0.enums.fraud_liability': (): io.flow.v0.enums.FraudLiability => faker.random.arrayElement(['flow', 'organization']),
2615
- 'io.flow.v0.enums.fraud_status': (): io.flow.v0.enums.FraudStatus => faker.random.arrayElement(['pending', 'approved', 'declined', 'review']),
2616
- 'io.flow.v0.enums.ftp_file_source': (): io.flow.v0.enums.FtpFileSource => faker.random.arrayElement(['flow', 'organization']),
2617
- 'io.flow.v0.enums.fulfillment_item_quantity_status': (): io.flow.v0.enums.FulfillmentItemQuantityStatus => faker.random.arrayElement(['new', 'shipped', 'cancelled']),
2618
- 'io.flow.v0.enums.fulfillment_method_type': (): io.flow.v0.enums.FulfillmentMethodType => faker.random.arrayElement(['fulfillment_method']),
2619
- 'io.flow.v0.enums.fulfillment_method_value': (): io.flow.v0.enums.FulfillmentMethodValue => faker.random.arrayElement(['digital', 'physical']),
2620
- 'io.flow.v0.enums.generic_error_code': (): io.flow.v0.enums.GenericErrorCode => faker.random.arrayElement(['generic_error', 'client_error', 'server_error']),
2621
- 'io.flow.v0.enums.goods_supply': (): io.flow.v0.enums.GoodsSupply => faker.random.arrayElement(['export', 'intra_community', 'local']),
2622
- 'io.flow.v0.enums.holiday_calendar': (): io.flow.v0.enums.HolidayCalendar => faker.random.arrayElement(['us_bank_holidays', 'jewish_holidays']),
2623
- 'io.flow.v0.enums.image_tag': (): io.flow.v0.enums.ImageTag => faker.random.arrayElement(['thumbnail', 'checkout']),
2624
-
2625
- 'io.flow.v0.enums.import_type': (): io.flow.v0.enums.ImportType => faker.random.arrayElement([
2615
+ 'io.flow.v0.enums.fraud_email_rule_decision': (): io.flow.v0.enums.FraudEmailRuleDecision => faker.helpers.arrayElement(['approved', 'declined']),
2616
+ 'io.flow.v0.enums.fraud_liability': (): io.flow.v0.enums.FraudLiability => faker.helpers.arrayElement(['flow', 'organization']),
2617
+ 'io.flow.v0.enums.fraud_status': (): io.flow.v0.enums.FraudStatus => faker.helpers.arrayElement(['pending', 'approved', 'declined', 'review']),
2618
+ 'io.flow.v0.enums.ftp_file_source': (): io.flow.v0.enums.FtpFileSource => faker.helpers.arrayElement(['flow', 'organization']),
2619
+ 'io.flow.v0.enums.fulfillment_item_quantity_status': (): io.flow.v0.enums.FulfillmentItemQuantityStatus => faker.helpers.arrayElement(['new', 'shipped', 'cancelled']),
2620
+ 'io.flow.v0.enums.fulfillment_method_type': (): io.flow.v0.enums.FulfillmentMethodType => faker.helpers.arrayElement(['fulfillment_method']),
2621
+ 'io.flow.v0.enums.fulfillment_method_value': (): io.flow.v0.enums.FulfillmentMethodValue => faker.helpers.arrayElement(['digital', 'physical']),
2622
+ 'io.flow.v0.enums.generic_error_code': (): io.flow.v0.enums.GenericErrorCode => faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']),
2623
+ 'io.flow.v0.enums.goods_supply': (): io.flow.v0.enums.GoodsSupply => faker.helpers.arrayElement(['export', 'intra_community', 'local']),
2624
+ 'io.flow.v0.enums.holiday_calendar': (): io.flow.v0.enums.HolidayCalendar => faker.helpers.arrayElement(['us_bank_holidays', 'jewish_holidays']),
2625
+ 'io.flow.v0.enums.image_tag': (): io.flow.v0.enums.ImageTag => faker.helpers.arrayElement(['thumbnail', 'checkout']),
2626
+
2627
+ 'io.flow.v0.enums.import_type': (): io.flow.v0.enums.ImportType => faker.helpers.arrayElement([
2626
2628
  'catalog_items',
2627
2629
  'catalog_items_external',
2628
2630
  'customs_descriptions',
@@ -2637,9 +2639,9 @@ const factories = {
2637
2639
  'order_service_changes',
2638
2640
  ]),
2639
2641
 
2640
- 'io.flow.v0.enums.included_levy_key': (): io.flow.v0.enums.IncludedLevyKey => faker.random.arrayElement(['duty', 'vat', 'vat_and_duty', 'none']),
2642
+ 'io.flow.v0.enums.included_levy_key': (): io.flow.v0.enums.IncludedLevyKey => faker.helpers.arrayElement(['duty', 'vat', 'vat_and_duty', 'none']),
2641
2643
 
2642
- 'io.flow.v0.enums.incoterm': (): io.flow.v0.enums.Incoterm => faker.random.arrayElement([
2644
+ 'io.flow.v0.enums.incoterm': (): io.flow.v0.enums.Incoterm => faker.helpers.arrayElement([
2643
2645
  'EXW',
2644
2646
  'FCA',
2645
2647
  'CPT',
@@ -2657,24 +2659,24 @@ const factories = {
2657
2659
  'DDU',
2658
2660
  ]),
2659
2661
 
2660
- 'io.flow.v0.enums.inline_window_viewport_size': (): io.flow.v0.enums.InlineWindowViewportSize => faker.random.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen', 'responsive']),
2661
- 'io.flow.v0.enums.input_specification_type': (): io.flow.v0.enums.InputSpecificationType => faker.random.arrayElement(['text', 'number']),
2662
- 'io.flow.v0.enums.inventory_status': (): io.flow.v0.enums.InventoryStatus => faker.random.arrayElement(['has_inventory', 'no_inventory']),
2663
- 'io.flow.v0.enums.invitation_error_code': (): io.flow.v0.enums.InvitationErrorCode => faker.random.arrayElement(['expired', 'invalid_email']),
2664
- 'io.flow.v0.enums.item_availability_status': (): io.flow.v0.enums.ItemAvailabilityStatus => faker.random.arrayElement(['available', 'low', 'out_of_stock']),
2665
- 'io.flow.v0.enums.item_identifier': (): io.flow.v0.enums.ItemIdentifier => faker.random.arrayElement(['item_number', 'sku']),
2666
- 'io.flow.v0.enums.lane_direction': (): io.flow.v0.enums.LaneDirection => faker.random.arrayElement(['outbound', 'return']),
2667
- 'io.flow.v0.enums.lane_preselect_preference': (): io.flow.v0.enums.LanePreselectPreference => faker.random.arrayElement(['lowest_cost', 'default_tier']),
2668
- 'io.flow.v0.enums.lane_strategy': (): io.flow.v0.enums.LaneStrategy => faker.random.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']),
2669
- 'io.flow.v0.enums.levy_component': (): io.flow.v0.enums.LevyComponent => faker.random.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']),
2670
- 'io.flow.v0.enums.levy_inclusion': (): io.flow.v0.enums.LevyInclusion => faker.random.arrayElement(['tax', 'duty']),
2671
- 'io.flow.v0.enums.levy_strategy': (): io.flow.v0.enums.LevyStrategy => faker.random.arrayElement(['minimum', 'average', 'maximum']),
2672
- 'io.flow.v0.enums.location_error_code': (): io.flow.v0.enums.LocationErrorCode => faker.random.arrayElement(['address_required', 'ip_invalid', 'ip_required', 'timezone_unavailable']),
2673
- 'io.flow.v0.enums.logistics_format_preference': (): io.flow.v0.enums.LogisticsFormatPreference => faker.random.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']),
2674
- 'io.flow.v0.enums.margin_type': (): io.flow.v0.enums.MarginType => faker.random.arrayElement(['fixed', 'percent']),
2675
- 'io.flow.v0.enums.measurement_system': (): io.flow.v0.enums.MeasurementSystem => faker.random.arrayElement(['imperial', 'metric']),
2676
-
2677
- 'io.flow.v0.enums.merchant_gift_card_error_code': (): io.flow.v0.enums.MerchantGiftCardErrorCode => faker.random.arrayElement([
2662
+ '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']),
2663
+ 'io.flow.v0.enums.input_specification_type': (): io.flow.v0.enums.InputSpecificationType => faker.helpers.arrayElement(['text', 'number']),
2664
+ 'io.flow.v0.enums.inventory_status': (): io.flow.v0.enums.InventoryStatus => faker.helpers.arrayElement(['has_inventory', 'no_inventory']),
2665
+ 'io.flow.v0.enums.invitation_error_code': (): io.flow.v0.enums.InvitationErrorCode => faker.helpers.arrayElement(['expired', 'invalid_email']),
2666
+ 'io.flow.v0.enums.item_availability_status': (): io.flow.v0.enums.ItemAvailabilityStatus => faker.helpers.arrayElement(['available', 'low', 'out_of_stock']),
2667
+ 'io.flow.v0.enums.item_identifier': (): io.flow.v0.enums.ItemIdentifier => faker.helpers.arrayElement(['item_number', 'sku']),
2668
+ 'io.flow.v0.enums.lane_direction': (): io.flow.v0.enums.LaneDirection => faker.helpers.arrayElement(['outbound', 'return']),
2669
+ 'io.flow.v0.enums.lane_preselect_preference': (): io.flow.v0.enums.LanePreselectPreference => faker.helpers.arrayElement(['lowest_cost', 'default_tier']),
2670
+ 'io.flow.v0.enums.lane_strategy': (): io.flow.v0.enums.LaneStrategy => faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']),
2671
+ 'io.flow.v0.enums.levy_component': (): io.flow.v0.enums.LevyComponent => faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']),
2672
+ 'io.flow.v0.enums.levy_inclusion': (): io.flow.v0.enums.LevyInclusion => faker.helpers.arrayElement(['tax', 'duty']),
2673
+ 'io.flow.v0.enums.levy_strategy': (): io.flow.v0.enums.LevyStrategy => faker.helpers.arrayElement(['minimum', 'average', 'maximum']),
2674
+ 'io.flow.v0.enums.location_error_code': (): io.flow.v0.enums.LocationErrorCode => faker.helpers.arrayElement(['address_required', 'ip_invalid', 'ip_required', 'timezone_unavailable']),
2675
+ 'io.flow.v0.enums.logistics_format_preference': (): io.flow.v0.enums.LogisticsFormatPreference => faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']),
2676
+ 'io.flow.v0.enums.margin_type': (): io.flow.v0.enums.MarginType => faker.helpers.arrayElement(['fixed', 'percent']),
2677
+ 'io.flow.v0.enums.measurement_system': (): io.flow.v0.enums.MeasurementSystem => faker.helpers.arrayElement(['imperial', 'metric']),
2678
+
2679
+ 'io.flow.v0.enums.merchant_gift_card_error_code': (): io.flow.v0.enums.MerchantGiftCardErrorCode => faker.helpers.arrayElement([
2678
2680
  'invalid',
2679
2681
  'expired',
2680
2682
  'empty',
@@ -2682,25 +2684,25 @@ const factories = {
2682
2684
  'unsupported_currency',
2683
2685
  ]),
2684
2686
 
2685
- 'io.flow.v0.enums.merchant_of_record': (): io.flow.v0.enums.MerchantOfRecord => faker.random.arrayElement(['flow', 'organization']),
2687
+ 'io.flow.v0.enums.merchant_of_record': (): io.flow.v0.enums.MerchantOfRecord => faker.helpers.arrayElement(['flow', 'organization']),
2686
2688
 
2687
- 'io.flow.v0.enums.merchant_rejected_reason': (): io.flow.v0.enums.MerchantRejectedReason => faker.random.arrayElement([
2689
+ 'io.flow.v0.enums.merchant_rejected_reason': (): io.flow.v0.enums.MerchantRejectedReason => faker.helpers.arrayElement([
2688
2690
  'merchant_ubo_is_pep',
2689
2691
  'merchant_catalog_is_unsupportable',
2690
2692
  'merchant_failed_kyb_review',
2691
2693
  ]),
2692
2694
 
2693
- 'io.flow.v0.enums.method': (): io.flow.v0.enums.Method => faker.random.arrayElement(['post']),
2694
- 'io.flow.v0.enums.onboarding_application_status': (): io.flow.v0.enums.OnboardingApplicationStatus => faker.random.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']),
2695
+ 'io.flow.v0.enums.method': (): io.flow.v0.enums.Method => faker.helpers.arrayElement(['post']),
2696
+ 'io.flow.v0.enums.onboarding_application_status': (): io.flow.v0.enums.OnboardingApplicationStatus => faker.helpers.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']),
2695
2697
 
2696
- 'io.flow.v0.enums.onboarding_blocked_reason': (): io.flow.v0.enums.OnboardingBlockedReason => faker.random.arrayElement([
2698
+ 'io.flow.v0.enums.onboarding_blocked_reason': (): io.flow.v0.enums.OnboardingBlockedReason => faker.helpers.arrayElement([
2697
2699
  'street_address_is_blank_3pl',
2698
2700
  'street_address_is_po_box_3pl',
2699
2701
  'business_street_address_is_blank',
2700
2702
  'business_street_address_is_po_box',
2701
2703
  ]),
2702
2704
 
2703
- 'io.flow.v0.enums.onboarding_trade_sector': (): io.flow.v0.enums.OnboardingTradeSector => faker.random.arrayElement([
2705
+ 'io.flow.v0.enums.onboarding_trade_sector': (): io.flow.v0.enums.OnboardingTradeSector => faker.helpers.arrayElement([
2704
2706
  'accessories',
2705
2707
  'animals_and_pet_supplies',
2706
2708
  'apparel',
@@ -2732,10 +2734,10 @@ const factories = {
2732
2734
  'other',
2733
2735
  ]),
2734
2736
 
2735
- 'io.flow.v0.enums.optin_response_type': (): io.flow.v0.enums.OptinResponseType => faker.random.arrayElement(['not_shown', 'opted_in', 'opted_out']),
2736
- 'io.flow.v0.enums.order_change_source': (): io.flow.v0.enums.OrderChangeSource => faker.random.arrayElement(['consumer', 'retailer', 'fulfillment', 'flow', 'carrier']),
2737
+ 'io.flow.v0.enums.optin_response_type': (): io.flow.v0.enums.OptinResponseType => faker.helpers.arrayElement(['not_shown', 'opted_in', 'opted_out']),
2738
+ 'io.flow.v0.enums.order_change_source': (): io.flow.v0.enums.OrderChangeSource => faker.helpers.arrayElement(['consumer', 'retailer', 'fulfillment', 'flow', 'carrier']),
2737
2739
 
2738
- 'io.flow.v0.enums.order_error_code': (): io.flow.v0.enums.OrderErrorCode => faker.random.arrayElement([
2740
+ 'io.flow.v0.enums.order_error_code': (): io.flow.v0.enums.OrderErrorCode => faker.helpers.arrayElement([
2739
2741
  'generic_error',
2740
2742
  'order_item_not_available',
2741
2743
  'order_identifier_error',
@@ -2752,9 +2754,9 @@ const factories = {
2752
2754
  'total_changed',
2753
2755
  ]),
2754
2756
 
2755
- 'io.flow.v0.enums.order_merchant_of_record': (): io.flow.v0.enums.OrderMerchantOfRecord => faker.random.arrayElement(['flow', 'organization', 'mixed']),
2757
+ 'io.flow.v0.enums.order_merchant_of_record': (): io.flow.v0.enums.OrderMerchantOfRecord => faker.helpers.arrayElement(['flow', 'organization', 'mixed']),
2756
2758
 
2757
- 'io.flow.v0.enums.order_payment_type': (): io.flow.v0.enums.OrderPaymentType => faker.random.arrayElement([
2759
+ 'io.flow.v0.enums.order_payment_type': (): io.flow.v0.enums.OrderPaymentType => faker.helpers.arrayElement([
2758
2760
  'card',
2759
2761
  'online',
2760
2762
  'credit',
@@ -2763,7 +2765,7 @@ const factories = {
2763
2765
  'cash_on_delivery',
2764
2766
  ]),
2765
2767
 
2766
- 'io.flow.v0.enums.order_price_detail_component_key': (): io.flow.v0.enums.OrderPriceDetailComponentKey => faker.random.arrayElement([
2768
+ 'io.flow.v0.enums.order_price_detail_component_key': (): io.flow.v0.enums.OrderPriceDetailComponentKey => faker.helpers.arrayElement([
2767
2769
  'adjustment',
2768
2770
  'vat_deminimis',
2769
2771
  'duty_deminimis',
@@ -2795,7 +2797,7 @@ const factories = {
2795
2797
  'duties_taxes_paid_surcharge',
2796
2798
  ]),
2797
2799
 
2798
- 'io.flow.v0.enums.order_price_detail_key': (): io.flow.v0.enums.OrderPriceDetailKey => faker.random.arrayElement([
2800
+ 'io.flow.v0.enums.order_price_detail_key': (): io.flow.v0.enums.OrderPriceDetailKey => faker.helpers.arrayElement([
2799
2801
  'adjustment',
2800
2802
  'subtotal',
2801
2803
  'vat',
@@ -2806,9 +2808,9 @@ const factories = {
2806
2808
  'surcharges',
2807
2809
  ]),
2808
2810
 
2809
- 'io.flow.v0.enums.order_quote_address_type': (): io.flow.v0.enums.OrderQuoteAddressType => faker.random.arrayElement(['shipping']),
2811
+ 'io.flow.v0.enums.order_quote_address_type': (): io.flow.v0.enums.OrderQuoteAddressType => faker.helpers.arrayElement(['shipping']),
2810
2812
 
2811
- 'io.flow.v0.enums.order_quote_error_code': (): io.flow.v0.enums.OrderQuoteErrorCode => faker.random.arrayElement([
2813
+ 'io.flow.v0.enums.order_quote_error_code': (): io.flow.v0.enums.OrderQuoteErrorCode => faker.helpers.arrayElement([
2812
2814
  'contact_email_invalid',
2813
2815
  'contact_email_required',
2814
2816
  'contact_phone_invalid',
@@ -2833,23 +2835,23 @@ const factories = {
2833
2835
  'session_organization_mismatch',
2834
2836
  ]),
2835
2837
 
2836
- 'io.flow.v0.enums.order_quote_line_error_code': (): io.flow.v0.enums.OrderQuoteLineErrorCode => faker.random.arrayElement([
2838
+ 'io.flow.v0.enums.order_quote_line_error_code': (): io.flow.v0.enums.OrderQuoteLineErrorCode => faker.helpers.arrayElement([
2837
2839
  'line_item_number_invalid',
2838
2840
  'line_item_number_not_available',
2839
2841
  'line_quantity_invalid',
2840
2842
  'line_value_threshold_exceeded',
2841
2843
  ]),
2842
2844
 
2843
- 'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.random.arrayElement(['duties', 'vat', 'shipping']),
2844
- 'io.flow.v0.enums.order_refund_summary_partial_charged': (): io.flow.v0.enums.OrderRefundSummaryPartialCharged => faker.random.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']),
2845
- 'io.flow.v0.enums.order_status': (): io.flow.v0.enums.OrderStatus => faker.random.arrayElement(['open', 'submitted']),
2846
- 'io.flow.v0.enums.order_storage': (): io.flow.v0.enums.OrderStorage => faker.random.arrayElement(['do_not_persist', 'persist']),
2847
- 'io.flow.v0.enums.order_type': (): io.flow.v0.enums.OrderType => faker.random.arrayElement(['standard', 'replacement']),
2848
- 'io.flow.v0.enums.organization_payment_method_tag': (): io.flow.v0.enums.OrganizationPaymentMethodTag => faker.random.arrayElement(['deny']),
2849
- 'io.flow.v0.enums.organization_status': (): io.flow.v0.enums.OrganizationStatus => faker.random.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']),
2850
- 'io.flow.v0.enums.organization_type': (): io.flow.v0.enums.OrganizationType => faker.random.arrayElement(['standalone', 'channel']),
2845
+ 'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.helpers.arrayElement(['duties', 'vat', 'shipping']),
2846
+ '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']),
2847
+ 'io.flow.v0.enums.order_status': (): io.flow.v0.enums.OrderStatus => faker.helpers.arrayElement(['open', 'submitted']),
2848
+ 'io.flow.v0.enums.order_storage': (): io.flow.v0.enums.OrderStorage => faker.helpers.arrayElement(['do_not_persist', 'persist']),
2849
+ 'io.flow.v0.enums.order_type': (): io.flow.v0.enums.OrderType => faker.helpers.arrayElement(['standard', 'replacement']),
2850
+ 'io.flow.v0.enums.organization_payment_method_tag': (): io.flow.v0.enums.OrganizationPaymentMethodTag => faker.helpers.arrayElement(['deny']),
2851
+ 'io.flow.v0.enums.organization_status': (): io.flow.v0.enums.OrganizationStatus => faker.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']),
2852
+ 'io.flow.v0.enums.organization_type': (): io.flow.v0.enums.OrganizationType => faker.helpers.arrayElement(['standalone', 'channel']),
2851
2853
 
2852
- 'io.flow.v0.enums.payment_action_type': (): io.flow.v0.enums.PaymentActionType => faker.random.arrayElement([
2854
+ 'io.flow.v0.enums.payment_action_type': (): io.flow.v0.enums.PaymentActionType => faker.helpers.arrayElement([
2853
2855
  'redirect',
2854
2856
  'redirect_get',
2855
2857
  'redirect_post',
@@ -2865,7 +2867,7 @@ const factories = {
2865
2867
  'display_inline_window',
2866
2868
  ]),
2867
2869
 
2868
- 'io.flow.v0.enums.payment_error_code': (): io.flow.v0.enums.PaymentErrorCode => faker.random.arrayElement([
2870
+ 'io.flow.v0.enums.payment_error_code': (): io.flow.v0.enums.PaymentErrorCode => faker.helpers.arrayElement([
2869
2871
  'duplicate',
2870
2872
  'invalid_amount',
2871
2873
  'invalid_currency',
@@ -2876,7 +2878,7 @@ const factories = {
2876
2878
  'unknown',
2877
2879
  ]),
2878
2880
 
2879
- 'io.flow.v0.enums.payment_failure_code': (): io.flow.v0.enums.PaymentFailureCode => faker.random.arrayElement([
2881
+ 'io.flow.v0.enums.payment_failure_code': (): io.flow.v0.enums.PaymentFailureCode => faker.helpers.arrayElement([
2880
2882
  'action_expired',
2881
2883
  'action_cancelled',
2882
2884
  'action_failed',
@@ -2887,13 +2889,13 @@ const factories = {
2887
2889
  'payment_checks_declined',
2888
2890
  ]),
2889
2891
 
2890
- 'io.flow.v0.enums.payment_method_capability': (): io.flow.v0.enums.PaymentMethodCapability => faker.random.arrayElement(['credit', 'debit']),
2891
- 'io.flow.v0.enums.payment_method_data_option_type': (): io.flow.v0.enums.PaymentMethodDataOptionType => faker.random.arrayElement(['ideal_issuer_option']),
2892
- 'io.flow.v0.enums.payment_method_rule_content_key': (): io.flow.v0.enums.PaymentMethodRuleContentKey => faker.random.arrayElement(['description']),
2893
- 'io.flow.v0.enums.payment_method_type': (): io.flow.v0.enums.PaymentMethodType => faker.random.arrayElement(['card', 'online', 'offline']),
2894
- 'io.flow.v0.enums.payment_source_confirmation_action_type': (): io.flow.v0.enums.PaymentSourceConfirmationActionType => faker.random.arrayElement(['cvv', 'billing_address', 'number']),
2892
+ 'io.flow.v0.enums.payment_method_capability': (): io.flow.v0.enums.PaymentMethodCapability => faker.helpers.arrayElement(['credit', 'debit']),
2893
+ 'io.flow.v0.enums.payment_method_data_option_type': (): io.flow.v0.enums.PaymentMethodDataOptionType => faker.helpers.arrayElement(['ideal_issuer_option']),
2894
+ 'io.flow.v0.enums.payment_method_rule_content_key': (): io.flow.v0.enums.PaymentMethodRuleContentKey => faker.helpers.arrayElement(['description']),
2895
+ 'io.flow.v0.enums.payment_method_type': (): io.flow.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['card', 'online', 'offline']),
2896
+ 'io.flow.v0.enums.payment_source_confirmation_action_type': (): io.flow.v0.enums.PaymentSourceConfirmationActionType => faker.helpers.arrayElement(['cvv', 'billing_address', 'number']),
2895
2897
 
2896
- 'io.flow.v0.enums.payment_status': (): io.flow.v0.enums.PaymentStatus => faker.random.arrayElement([
2898
+ 'io.flow.v0.enums.payment_status': (): io.flow.v0.enums.PaymentStatus => faker.helpers.arrayElement([
2897
2899
  'requires_payment_method',
2898
2900
  'requires_action',
2899
2901
  'processing',
@@ -2907,7 +2909,7 @@ const factories = {
2907
2909
  'charged_back',
2908
2910
  ]),
2909
2911
 
2910
- 'io.flow.v0.enums.payment_type': (): io.flow.v0.enums.PaymentType => faker.random.arrayElement([
2912
+ 'io.flow.v0.enums.payment_type': (): io.flow.v0.enums.PaymentType => faker.helpers.arrayElement([
2911
2913
  'card',
2912
2914
  'klarna',
2913
2915
  'googlepay',
@@ -2919,14 +2921,14 @@ const factories = {
2919
2921
  'bancontact',
2920
2922
  ]),
2921
2923
 
2922
- 'io.flow.v0.enums.payout_status_code': (): io.flow.v0.enums.PayoutStatusCode => faker.random.arrayElement(['scheduled', 'sent', 'cancelled', 'failed', 'succeeded']),
2923
- 'io.flow.v0.enums.permitted_http_method': (): io.flow.v0.enums.PermittedHttpMethod => faker.random.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']),
2924
- 'io.flow.v0.enums.physical_delivery_special_serivce': (): io.flow.v0.enums.PhysicalDeliverySpecialSerivce => faker.random.arrayElement(['cold_storage', 'hazardous', 'perishable']),
2925
- 'io.flow.v0.enums.postal_type': (): io.flow.v0.enums.PostalType => faker.random.arrayElement(['eircode', 'pin', 'postal', 'zip']),
2926
- 'io.flow.v0.enums.price_accuracy': (): io.flow.v0.enums.PriceAccuracy => faker.random.arrayElement(['calculated', 'estimated_from_partial_destination']),
2927
- 'io.flow.v0.enums.price_book_status': (): io.flow.v0.enums.PriceBookStatus => faker.random.arrayElement(['draft', 'published', 'archived']),
2924
+ 'io.flow.v0.enums.payout_status_code': (): io.flow.v0.enums.PayoutStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'cancelled', 'failed', 'succeeded']),
2925
+ 'io.flow.v0.enums.permitted_http_method': (): io.flow.v0.enums.PermittedHttpMethod => faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']),
2926
+ 'io.flow.v0.enums.physical_delivery_special_serivce': (): io.flow.v0.enums.PhysicalDeliverySpecialSerivce => faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']),
2927
+ 'io.flow.v0.enums.postal_type': (): io.flow.v0.enums.PostalType => faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']),
2928
+ 'io.flow.v0.enums.price_accuracy': (): io.flow.v0.enums.PriceAccuracy => faker.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']),
2929
+ 'io.flow.v0.enums.price_book_status': (): io.flow.v0.enums.PriceBookStatus => faker.helpers.arrayElement(['draft', 'published', 'archived']),
2928
2930
 
2929
- 'io.flow.v0.enums.price_detail_component_key': (): io.flow.v0.enums.PriceDetailComponentKey => faker.random.arrayElement([
2931
+ 'io.flow.v0.enums.price_detail_component_key': (): io.flow.v0.enums.PriceDetailComponentKey => faker.helpers.arrayElement([
2930
2932
  'base_price',
2931
2933
  'discount',
2932
2934
  'currency_margin',
@@ -2951,12 +2953,12 @@ const factories = {
2951
2953
  'duty_percent_sales_margin',
2952
2954
  ]),
2953
2955
 
2954
- 'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.random.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']),
2955
- 'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.random.arrayElement(['min', 'max']),
2956
- 'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.random.arrayElement(['included', 'displayed', 'ignored']),
2957
- 'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.random.arrayElement(['automatic', 'order_subtotal']),
2956
+ 'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']),
2957
+ 'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.helpers.arrayElement(['min', 'max']),
2958
+ 'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.helpers.arrayElement(['included', 'displayed', 'ignored']),
2959
+ 'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.helpers.arrayElement(['automatic', 'order_subtotal']),
2958
2960
 
2959
- 'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.random.arrayElement([
2961
+ 'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.helpers.arrayElement([
2960
2962
  'area',
2961
2963
  'city',
2962
2964
  'county',
@@ -2978,16 +2980,16 @@ const factories = {
2978
2980
  'other',
2979
2981
  ]),
2980
2982
 
2981
- 'io.flow.v0.enums.quote_error_code': (): io.flow.v0.enums.QuoteErrorCode => faker.random.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']),
2982
- 'io.flow.v0.enums.ratecard_owner': (): io.flow.v0.enums.RatecardOwner => faker.random.arrayElement(['flow', 'organization']),
2983
- 'io.flow.v0.enums.refund_decline_code': (): io.flow.v0.enums.RefundDeclineCode => faker.random.arrayElement(['expired', 'insufficient_funds', 'unknown']),
2984
- 'io.flow.v0.enums.refund_status': (): io.flow.v0.enums.RefundStatus => faker.random.arrayElement(['pending', 'succeeded', 'failed', 'canceled']),
2985
- 'io.flow.v0.enums.region_type': (): io.flow.v0.enums.RegionType => faker.random.arrayElement(['state', 'province', 'jurisdiction']),
2986
- 'io.flow.v0.enums.return_item_status': (): io.flow.v0.enums.ReturnItemStatus => faker.random.arrayElement(['returnable', 'non-returnable']),
2987
- 'io.flow.v0.enums.return_policy_state': (): io.flow.v0.enums.ReturnPolicyState => faker.random.arrayElement(['current', 'deleting', 'updating']),
2988
- 'io.flow.v0.enums.return_status': (): io.flow.v0.enums.ReturnStatus => faker.random.arrayElement(['open', 'refunded']),
2983
+ 'io.flow.v0.enums.quote_error_code': (): io.flow.v0.enums.QuoteErrorCode => faker.helpers.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']),
2984
+ 'io.flow.v0.enums.ratecard_owner': (): io.flow.v0.enums.RatecardOwner => faker.helpers.arrayElement(['flow', 'organization']),
2985
+ 'io.flow.v0.enums.refund_decline_code': (): io.flow.v0.enums.RefundDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
2986
+ 'io.flow.v0.enums.refund_status': (): io.flow.v0.enums.RefundStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']),
2987
+ 'io.flow.v0.enums.region_type': (): io.flow.v0.enums.RegionType => faker.helpers.arrayElement(['state', 'province', 'jurisdiction']),
2988
+ 'io.flow.v0.enums.return_item_status': (): io.flow.v0.enums.ReturnItemStatus => faker.helpers.arrayElement(['returnable', 'non-returnable']),
2989
+ 'io.flow.v0.enums.return_policy_state': (): io.flow.v0.enums.ReturnPolicyState => faker.helpers.arrayElement(['current', 'deleting', 'updating']),
2990
+ 'io.flow.v0.enums.return_status': (): io.flow.v0.enums.ReturnStatus => faker.helpers.arrayElement(['open', 'refunded']),
2989
2991
 
2990
- 'io.flow.v0.enums.return_tracking_status': (): io.flow.v0.enums.ReturnTrackingStatus => faker.random.arrayElement([
2992
+ 'io.flow.v0.enums.return_tracking_status': (): io.flow.v0.enums.ReturnTrackingStatus => faker.helpers.arrayElement([
2991
2993
  'awaiting_customs_clearance',
2992
2994
  'cancel_requested',
2993
2995
  'canceled',
@@ -3008,7 +3010,7 @@ const factories = {
3008
3010
  'return_registered_online',
3009
3011
  ]),
3010
3012
 
3011
- 'io.flow.v0.enums.reversal_error_code': (): io.flow.v0.enums.ReversalErrorCode => faker.random.arrayElement([
3013
+ 'io.flow.v0.enums.reversal_error_code': (): io.flow.v0.enums.ReversalErrorCode => faker.helpers.arrayElement([
3012
3014
  'amount_exceeds_balance',
3013
3015
  'authorization_declined',
3014
3016
  'authorization_expired',
@@ -3021,27 +3023,27 @@ const factories = {
3021
3023
  'unknown',
3022
3024
  ]),
3023
3025
 
3024
- 'io.flow.v0.enums.reversal_status': (): io.flow.v0.enums.ReversalStatus => faker.random.arrayElement(['pending', 'processed', 'failed']),
3025
- 'io.flow.v0.enums.role': (): io.flow.v0.enums.Role => faker.random.arrayElement(['admin', 'member']),
3026
- 'io.flow.v0.enums.rounding_method': (): io.flow.v0.enums.RoundingMethod => faker.random.arrayElement(['up', 'down', 'nearest']),
3027
- 'io.flow.v0.enums.rounding_type': (): io.flow.v0.enums.RoundingType => faker.random.arrayElement(['pattern', 'multiple']),
3028
- 'io.flow.v0.enums.schedule_exception_status': (): io.flow.v0.enums.ScheduleExceptionStatus => faker.random.arrayElement(['Open', 'Closed']),
3029
- 'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.random.arrayElement(['direct', 'information', 'preadvice']),
3030
- 'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.random.arrayElement(['customer', 'return', 'crossdock']),
3031
- 'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.random.arrayElement(['default', 'variant']),
3032
- 'io.flow.v0.enums.shopify_grant': (): io.flow.v0.enums.ShopifyGrant => faker.random.arrayElement(['customer', 'discount', 'gift_card', 'metafield', 'order']),
3033
- 'io.flow.v0.enums.shopify_localization_method': (): io.flow.v0.enums.ShopifyLocalizationMethod => faker.random.arrayElement(['api', 'ssr']),
3034
- 'io.flow.v0.enums.shopify_sync_check': (): io.flow.v0.enums.ShopifySyncCheck => faker.random.arrayElement(['localized_variants', 'flow_variant_metafields']),
3035
- 'io.flow.v0.enums.sort_direction': (): io.flow.v0.enums.SortDirection => faker.random.arrayElement(['ascending', 'descending']),
3036
- 'io.flow.v0.enums.strategy': (): io.flow.v0.enums.Strategy => faker.random.arrayElement(['range', 'from', 'to']),
3037
- 'io.flow.v0.enums.subcatalog_item_status': (): io.flow.v0.enums.SubcatalogItemStatus => faker.random.arrayElement(['excluded', 'included', 'restricted']),
3038
- 'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.random.arrayElement(['organization', 'customer']),
3039
- 'io.flow.v0.enums.sync_record_failure_reason': (): io.flow.v0.enums.SyncRecordFailureReason => faker.random.arrayElement(['inventory', 'address', 'promotion', 'other']),
3040
- 'io.flow.v0.enums.sync_stream_type': (): io.flow.v0.enums.SyncStreamType => faker.random.arrayElement(['submitted_order', 'placed_order']),
3041
- 'io.flow.v0.enums.sync_unit_of_time': (): io.flow.v0.enums.SyncUnitOfTime => faker.random.arrayElement(['day', 'hour', 'minute', 'second']),
3042
- 'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.random.arrayElement(['none', 'all']),
3043
-
3044
- 'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.random.arrayElement([
3026
+ 'io.flow.v0.enums.reversal_status': (): io.flow.v0.enums.ReversalStatus => faker.helpers.arrayElement(['pending', 'processed', 'failed']),
3027
+ 'io.flow.v0.enums.role': (): io.flow.v0.enums.Role => faker.helpers.arrayElement(['admin', 'member']),
3028
+ 'io.flow.v0.enums.rounding_method': (): io.flow.v0.enums.RoundingMethod => faker.helpers.arrayElement(['up', 'down', 'nearest']),
3029
+ 'io.flow.v0.enums.rounding_type': (): io.flow.v0.enums.RoundingType => faker.helpers.arrayElement(['pattern', 'multiple']),
3030
+ 'io.flow.v0.enums.schedule_exception_status': (): io.flow.v0.enums.ScheduleExceptionStatus => faker.helpers.arrayElement(['Open', 'Closed']),
3031
+ 'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
3032
+ 'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.helpers.arrayElement(['customer', 'return', 'crossdock']),
3033
+ 'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.helpers.arrayElement(['default', 'variant']),
3034
+ 'io.flow.v0.enums.shopify_grant': (): io.flow.v0.enums.ShopifyGrant => faker.helpers.arrayElement(['customer', 'discount', 'gift_card', 'metafield', 'order']),
3035
+ 'io.flow.v0.enums.shopify_localization_method': (): io.flow.v0.enums.ShopifyLocalizationMethod => faker.helpers.arrayElement(['api', 'ssr']),
3036
+ 'io.flow.v0.enums.shopify_sync_check': (): io.flow.v0.enums.ShopifySyncCheck => faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']),
3037
+ 'io.flow.v0.enums.sort_direction': (): io.flow.v0.enums.SortDirection => faker.helpers.arrayElement(['ascending', 'descending']),
3038
+ 'io.flow.v0.enums.strategy': (): io.flow.v0.enums.Strategy => faker.helpers.arrayElement(['range', 'from', 'to']),
3039
+ 'io.flow.v0.enums.subcatalog_item_status': (): io.flow.v0.enums.SubcatalogItemStatus => faker.helpers.arrayElement(['excluded', 'included', 'restricted']),
3040
+ 'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.helpers.arrayElement(['organization', 'customer']),
3041
+ 'io.flow.v0.enums.sync_record_failure_reason': (): io.flow.v0.enums.SyncRecordFailureReason => faker.helpers.arrayElement(['inventory', 'address', 'promotion', 'other']),
3042
+ 'io.flow.v0.enums.sync_stream_type': (): io.flow.v0.enums.SyncStreamType => faker.helpers.arrayElement(['submitted_order', 'placed_order']),
3043
+ 'io.flow.v0.enums.sync_unit_of_time': (): io.flow.v0.enums.SyncUnitOfTime => faker.helpers.arrayElement(['day', 'hour', 'minute', 'second']),
3044
+ 'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.helpers.arrayElement(['none', 'all']),
3045
+
3046
+ 'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.helpers.arrayElement([
3045
3047
  'generic_error',
3046
3048
  'destination_country_not_defined',
3047
3049
  'destination_address_iso3166_unrecognized',
@@ -3065,19 +3067,19 @@ const factories = {
3065
3067
  'wrong_unit_specified',
3066
3068
  ]),
3067
3069
 
3068
- 'io.flow.v0.enums.tax_report_type': (): io.flow.v0.enums.TaxReportType => faker.random.arrayElement(['consumer', 'b2b']),
3069
- 'io.flow.v0.enums.tax_verification_result': (): io.flow.v0.enums.TaxVerificationResult => faker.random.arrayElement(['valid', 'invalid', 'unable_to_validate']),
3070
- 'io.flow.v0.enums.taxability_type': (): io.flow.v0.enums.TaxabilityType => faker.random.arrayElement(['tax_rule']),
3071
- 'io.flow.v0.enums.taxability_value': (): io.flow.v0.enums.TaxabilityValue => faker.random.arrayElement(['exempt']),
3072
- 'io.flow.v0.enums.three_d_secure_code': (): io.flow.v0.enums.ThreeDSecureCode => faker.random.arrayElement(['verified', 'not_verified', 'failed']),
3073
- 'io.flow.v0.enums.threeds_two_challenge_viewport': (): io.flow.v0.enums.ThreedsTwoChallengeViewport => faker.random.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen']),
3074
- 'io.flow.v0.enums.tier_availability': (): io.flow.v0.enums.TierAvailability => faker.random.arrayElement(['always', 'backup']),
3075
- 'io.flow.v0.enums.tier_estimate_type': (): io.flow.v0.enums.TierEstimateType => faker.random.arrayElement(['calculated', 'custom']),
3076
- 'io.flow.v0.enums.tier_strategy': (): io.flow.v0.enums.TierStrategy => faker.random.arrayElement(['fastest', 'lowest_cost']),
3077
- 'io.flow.v0.enums.token_type': (): io.flow.v0.enums.TokenType => faker.random.arrayElement(['permanent', 'one_time']),
3078
- 'io.flow.v0.enums.tracking_number_type': (): io.flow.v0.enums.TrackingNumberType => faker.random.arrayElement(['flow', 'carrier']),
3079
-
3080
- 'io.flow.v0.enums.tracking_status': (): io.flow.v0.enums.TrackingStatus => faker.random.arrayElement([
3070
+ 'io.flow.v0.enums.tax_report_type': (): io.flow.v0.enums.TaxReportType => faker.helpers.arrayElement(['consumer', 'b2b']),
3071
+ 'io.flow.v0.enums.tax_verification_result': (): io.flow.v0.enums.TaxVerificationResult => faker.helpers.arrayElement(['valid', 'invalid', 'unable_to_validate']),
3072
+ 'io.flow.v0.enums.taxability_type': (): io.flow.v0.enums.TaxabilityType => faker.helpers.arrayElement(['tax_rule']),
3073
+ 'io.flow.v0.enums.taxability_value': (): io.flow.v0.enums.TaxabilityValue => faker.helpers.arrayElement(['exempt']),
3074
+ 'io.flow.v0.enums.three_d_secure_code': (): io.flow.v0.enums.ThreeDSecureCode => faker.helpers.arrayElement(['verified', 'not_verified', 'failed']),
3075
+ 'io.flow.v0.enums.threeds_two_challenge_viewport': (): io.flow.v0.enums.ThreedsTwoChallengeViewport => faker.helpers.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen']),
3076
+ 'io.flow.v0.enums.tier_availability': (): io.flow.v0.enums.TierAvailability => faker.helpers.arrayElement(['always', 'backup']),
3077
+ 'io.flow.v0.enums.tier_estimate_type': (): io.flow.v0.enums.TierEstimateType => faker.helpers.arrayElement(['calculated', 'custom']),
3078
+ 'io.flow.v0.enums.tier_strategy': (): io.flow.v0.enums.TierStrategy => faker.helpers.arrayElement(['fastest', 'lowest_cost']),
3079
+ 'io.flow.v0.enums.token_type': (): io.flow.v0.enums.TokenType => faker.helpers.arrayElement(['permanent', 'one_time']),
3080
+ 'io.flow.v0.enums.tracking_number_type': (): io.flow.v0.enums.TrackingNumberType => faker.helpers.arrayElement(['flow', 'carrier']),
3081
+
3082
+ 'io.flow.v0.enums.tracking_status': (): io.flow.v0.enums.TrackingStatus => faker.helpers.arrayElement([
3081
3083
  'label_created',
3082
3084
  'pending',
3083
3085
  'info_received',
@@ -3091,10 +3093,10 @@ const factories = {
3091
3093
  'expired',
3092
3094
  ]),
3093
3095
 
3094
- 'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.random.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']),
3095
- 'io.flow.v0.enums.trade_agreement_status': (): io.flow.v0.enums.TradeAgreementStatus => faker.random.arrayElement(['supported', 'not_supported']),
3096
+ 'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.helpers.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']),
3097
+ 'io.flow.v0.enums.trade_agreement_status': (): io.flow.v0.enums.TradeAgreementStatus => faker.helpers.arrayElement(['supported', 'not_supported']),
3096
3098
 
3097
- 'io.flow.v0.enums.transaction_source': (): io.flow.v0.enums.TransactionSource => faker.random.arrayElement([
3099
+ 'io.flow.v0.enums.transaction_source': (): io.flow.v0.enums.TransactionSource => faker.helpers.arrayElement([
3098
3100
  'capture',
3099
3101
  'refund',
3100
3102
  'dispute',
@@ -3103,6 +3105,8 @@ const factories = {
3103
3105
  'shipping_label_service',
3104
3106
  'shipping_label_revenue_share',
3105
3107
  'platform_fee',
3108
+ 'tax',
3109
+ 'duties',
3106
3110
  'other_adjustment',
3107
3111
  'tax_adjustment',
3108
3112
  'channel',
@@ -3112,7 +3116,7 @@ const factories = {
3112
3116
  'virtual_card_refund',
3113
3117
  ]),
3114
3118
 
3115
- 'io.flow.v0.enums.unit_of_measurement': (): io.flow.v0.enums.UnitOfMeasurement => faker.random.arrayElement([
3119
+ 'io.flow.v0.enums.unit_of_measurement': (): io.flow.v0.enums.UnitOfMeasurement => faker.helpers.arrayElement([
3116
3120
  'millimeter',
3117
3121
  'centimeter',
3118
3122
  'inch',
@@ -3126,17 +3130,17 @@ const factories = {
3126
3130
  'pound',
3127
3131
  ]),
3128
3132
 
3129
- 'io.flow.v0.enums.unit_of_time': (): io.flow.v0.enums.UnitOfTime => faker.random.arrayElement(['year', 'month', 'week', 'day', 'hour', 'minute']),
3130
- 'io.flow.v0.enums.update_policy': (): io.flow.v0.enums.UpdatePolicy => faker.random.arrayElement(['auto', 'queue', 'discard']),
3131
- 'io.flow.v0.enums.update_type': (): io.flow.v0.enums.UpdateType => faker.random.arrayElement(['change', 'set']),
3132
- 'io.flow.v0.enums.user_status': (): io.flow.v0.enums.UserStatus => faker.random.arrayElement(['pending', 'active', 'inactive']),
3133
- 'io.flow.v0.enums.value_added_service': (): io.flow.v0.enums.ValueAddedService => faker.random.arrayElement(['Hazardous Material']),
3134
- 'io.flow.v0.enums.visibility': (): io.flow.v0.enums.Visibility => faker.random.arrayElement(['public', 'private']),
3135
- 'io.flow.v0.enums.webhook_status': (): io.flow.v0.enums.WebhookStatus => faker.random.arrayElement(['pending', 'success', 'failure']),
3136
- 'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.random.arrayElement(['tax', 'duty', 'freight', 'insurance']),
3137
- 'io.flow.v0.enums.zero_amount_indicator': (): io.flow.v0.enums.ZeroAmountIndicator => faker.random.arrayElement(['zero', 'free']),
3138
-
3139
- 'io.flow.v0.enums.zero_levy_reason_code': (): io.flow.v0.enums.ZeroLevyReasonCode => faker.random.arrayElement([
3133
+ 'io.flow.v0.enums.unit_of_time': (): io.flow.v0.enums.UnitOfTime => faker.helpers.arrayElement(['year', 'month', 'week', 'day', 'hour', 'minute']),
3134
+ 'io.flow.v0.enums.update_policy': (): io.flow.v0.enums.UpdatePolicy => faker.helpers.arrayElement(['auto', 'queue', 'discard']),
3135
+ 'io.flow.v0.enums.update_type': (): io.flow.v0.enums.UpdateType => faker.helpers.arrayElement(['change', 'set']),
3136
+ 'io.flow.v0.enums.user_status': (): io.flow.v0.enums.UserStatus => faker.helpers.arrayElement(['pending', 'active', 'inactive']),
3137
+ 'io.flow.v0.enums.value_added_service': (): io.flow.v0.enums.ValueAddedService => faker.helpers.arrayElement(['Hazardous Material']),
3138
+ 'io.flow.v0.enums.visibility': (): io.flow.v0.enums.Visibility => faker.helpers.arrayElement(['public', 'private']),
3139
+ 'io.flow.v0.enums.webhook_status': (): io.flow.v0.enums.WebhookStatus => faker.helpers.arrayElement(['pending', 'success', 'failure']),
3140
+ 'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']),
3141
+ 'io.flow.v0.enums.zero_amount_indicator': (): io.flow.v0.enums.ZeroAmountIndicator => faker.helpers.arrayElement(['zero', 'free']),
3142
+
3143
+ 'io.flow.v0.enums.zero_levy_reason_code': (): io.flow.v0.enums.ZeroLevyReasonCode => faker.helpers.arrayElement([
3140
3144
  'zero_basis',
3141
3145
  'zero_rate_on_goods',
3142
3146
  'value_rounds_to_zero',
@@ -3325,6 +3329,10 @@ const factories = {
3325
3329
  expires_at: factories.date_time_iso_8601(),
3326
3330
  }),
3327
3331
 
3332
+ 'io.flow.v0.models.activation_put_form': (): io.flow.v0.models.ActivationPutForm => ({
3333
+ placeholder: factories.boolean(),
3334
+ }),
3335
+
3328
3336
  'io.flow.v0.models.address': (): io.flow.v0.models.Address => ({
3329
3337
  text: factories.string(),
3330
3338
  streets: arrayOf(() => factories.string()),
@@ -3403,6 +3411,13 @@ const factories = {
3403
3411
  suggestions: arrayOf(() => factories['io.flow.v0.models.address_suggestion']()),
3404
3412
  }),
3405
3413
 
3414
+ 'io.flow.v0.models.address_verification_result': (): io.flow.v0.models.AddressVerificationResult => ({
3415
+ street_code: factories['io.flow.v0.enums.address_verification_result_field_code'](),
3416
+ postal_code: factories['io.flow.v0.enums.address_verification_result_field_code'](),
3417
+ name_code: factories['io.flow.v0.enums.address_verification_result_field_code'](),
3418
+ raw: factories.string(),
3419
+ }),
3420
+
3406
3421
  'io.flow.v0.models.adjustment_reason': (): io.flow.v0.models.AdjustmentReason => ({
3407
3422
  key: factories['io.flow.v0.enums.adjustment_reason_key'](),
3408
3423
  label: factories.string(),
@@ -5297,6 +5312,11 @@ const factories = {
5297
5312
  description: factories.string(),
5298
5313
  }),
5299
5314
 
5315
+ 'io.flow.v0.models.cvv_result': (): io.flow.v0.models.CvvResult => ({
5316
+ code: factories['io.flow.v0.enums.cvv_result_code'](),
5317
+ raw: factories.string(),
5318
+ }),
5319
+
5300
5320
  'io.flow.v0.models.datetime_range': (): io.flow.v0.models.DatetimeRange => ({
5301
5321
  from: factories.date_time_iso_8601(),
5302
5322
  to: factories.date_time_iso_8601(),
@@ -9252,6 +9272,8 @@ const factories = {
9252
9272
  card_data: factories['io.flow.v0.unions.payment_method_card'](),
9253
9273
  device_fingerprint_details: factories['io.flow.v0.unions.device_fingerprint_details'](),
9254
9274
  cvv: factories.string(),
9275
+ reference: factories.string(),
9276
+ previous_transaction_details: factories['io.flow.v0.models.transaction_network_details_card'](),
9255
9277
  }),
9256
9278
 
9257
9279
  'io.flow.v0.models.payment_method_data_authorize_googlepay': (): io.flow.v0.models.PaymentMethodDataAuthorizeGooglepay => ({
@@ -9400,6 +9422,8 @@ const factories = {
9400
9422
  last_four: factories.string(),
9401
9423
  card_type: factories['io.flow.v0.enums.card_type'](),
9402
9424
  id: factories.string(),
9425
+ reference: factories.string(),
9426
+ transaction_details: factories['io.flow.v0.models.transaction_details_card'](),
9403
9427
  }),
9404
9428
 
9405
9429
  'io.flow.v0.models.payment_method_summary_googlepay': (): io.flow.v0.models.PaymentMethodSummaryGooglepay => ({
@@ -11208,6 +11232,7 @@ const factories = {
11208
11232
  'io.flow.v0.models.shipping_label_document': (): io.flow.v0.models.ShippingLabelDocument => ({
11209
11233
  zpl: factories.string(),
11210
11234
  pdf: factories.string(),
11235
+ pdf_data: factories.string(),
11211
11236
  png: factories.string(),
11212
11237
  html: factories.string(),
11213
11238
  required: factories.boolean(),
@@ -12434,6 +12459,17 @@ const factories = {
12434
12459
  created_at: factories.date_time_iso_8601(),
12435
12460
  }),
12436
12461
 
12462
+ 'io.flow.v0.models.transaction_details_card': (): io.flow.v0.models.TransactionDetailsCard => ({
12463
+ address_verification_result: factories['io.flow.v0.models.address_verification_result'](),
12464
+ cvv_result: factories['io.flow.v0.models.cvv_result'](),
12465
+ network_details: factories['io.flow.v0.models.transaction_network_details_card'](),
12466
+ }),
12467
+
12468
+ 'io.flow.v0.models.transaction_network_details_card': (): io.flow.v0.models.TransactionNetworkDetailsCard => ({
12469
+ network_transaction_id: factories.string(),
12470
+ network: factories['io.flow.v0.enums.card_type'](),
12471
+ }),
12472
+
12437
12473
  'io.flow.v0.models.transaction_upserted': (): io.flow.v0.models.TransactionUpserted => ({
12438
12474
  discriminator: 'transaction_upserted',
12439
12475
  event_id: factories.string(),
@@ -12678,7 +12714,7 @@ const factories = {
12678
12714
  }),
12679
12715
 
12680
12716
  'io.flow.v0.unions.abandoned_order_promotion_details': (): io.flow.v0.unions.AbandonedOrderPromotionDetails => {
12681
- const f = faker.random.arrayElement([
12717
+ const f = faker.helpers.arrayElement([
12682
12718
  () => factories['io.flow.v0.models.abandoned_order_promotion_discount_details'](),
12683
12719
  ]);
12684
12720
 
@@ -12686,7 +12722,7 @@ const factories = {
12686
12722
  },
12687
12723
 
12688
12724
  'io.flow.v0.unions.action': (): io.flow.v0.unions.Action => {
12689
- const f = faker.random.arrayElement([
12725
+ const f = faker.helpers.arrayElement([
12690
12726
  () => factories['io.flow.v0.models.action_redirect'](),
12691
12727
  () => factories['io.flow.v0.models.action_use_sdk_klarna_v1'](),
12692
12728
  () => factories['io.flow.v0.models.action_use_sdk_applepay_js_create_session'](),
@@ -12706,7 +12742,7 @@ const factories = {
12706
12742
  },
12707
12743
 
12708
12744
  'io.flow.v0.unions.adyen_native_data': (): io.flow.v0.unions.AdyenNativeData => {
12709
- const f = faker.random.arrayElement([
12745
+ const f = faker.helpers.arrayElement([
12710
12746
  () => factories['io.flow.v0.models.adyen_identify_shopper_data'](),
12711
12747
  () => factories['io.flow.v0.models.adyen_challenge_shopper_data'](),
12712
12748
  ]);
@@ -12715,7 +12751,7 @@ const factories = {
12715
12751
  },
12716
12752
 
12717
12753
  'io.flow.v0.unions.allocation_component': (): io.flow.v0.unions.AllocationComponent => {
12718
- const f = faker.random.arrayElement([
12754
+ const f = faker.helpers.arrayElement([
12719
12755
  () => factories['io.flow.v0.models.allocation_detail_component'](),
12720
12756
  () => factories['io.flow.v0.models.allocation_levy_component'](),
12721
12757
  ]);
@@ -12724,7 +12760,7 @@ const factories = {
12724
12760
  },
12725
12761
 
12726
12762
  'io.flow.v0.unions.allocation_detail': (): io.flow.v0.unions.AllocationDetail => {
12727
- const f = faker.random.arrayElement([
12763
+ const f = faker.helpers.arrayElement([
12728
12764
  () => factories['io.flow.v0.models.allocation_line_detail'](),
12729
12765
  () => factories['io.flow.v0.models.allocation_order_detail'](),
12730
12766
  ]);
@@ -12733,7 +12769,7 @@ const factories = {
12733
12769
  },
12734
12770
 
12735
12771
  'io.flow.v0.unions.authorization': (): io.flow.v0.unions.Authorization => {
12736
- const f = faker.random.arrayElement([
12772
+ const f = faker.helpers.arrayElement([
12737
12773
  () => factories['io.flow.v0.models.card_authorization'](),
12738
12774
  () => factories['io.flow.v0.models.online_authorization'](),
12739
12775
  ]);
@@ -12742,7 +12778,7 @@ const factories = {
12742
12778
  },
12743
12779
 
12744
12780
  'io.flow.v0.unions.authorization_form': (): io.flow.v0.unions.AuthorizationForm => {
12745
- const f = faker.random.arrayElement([
12781
+ const f = faker.helpers.arrayElement([
12746
12782
  () => factories['io.flow.v0.models.authorization_copy_form'](),
12747
12783
  () => factories['io.flow.v0.models.direct_authorization_form'](),
12748
12784
  () => factories['io.flow.v0.models.merchant_of_record_authorization_form'](),
@@ -12758,7 +12794,7 @@ const factories = {
12758
12794
  },
12759
12795
 
12760
12796
  'io.flow.v0.unions.authorization_payload_parameters': (): io.flow.v0.unions.AuthorizationPayloadParameters => {
12761
- const f = faker.random.arrayElement([
12797
+ const f = faker.helpers.arrayElement([
12762
12798
  () => factories['io.flow.v0.models.google_pay_authorization_payload'](),
12763
12799
  () => factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](),
12764
12800
  ]);
@@ -12767,7 +12803,7 @@ const factories = {
12767
12803
  },
12768
12804
 
12769
12805
  'io.flow.v0.unions.authorization_result_action': (): io.flow.v0.unions.AuthorizationResultAction => {
12770
- const f = faker.random.arrayElement([
12806
+ const f = faker.helpers.arrayElement([
12771
12807
  () => factories['io.flow.v0.models.authorization_result_action_get'](),
12772
12808
  () => factories['io.flow.v0.models.authorization_result_action_post'](),
12773
12809
  () => factories['io.flow.v0.models.authorization_result_action_wait'](),
@@ -12778,7 +12814,7 @@ const factories = {
12778
12814
  },
12779
12815
 
12780
12816
  'io.flow.v0.unions.authorization_result_action_details': (): io.flow.v0.unions.AuthorizationResultActionDetails => {
12781
- const f = faker.random.arrayElement([
12817
+ const f = faker.helpers.arrayElement([
12782
12818
  () => factories['io.flow.v0.models.adyen_native_action_details'](),
12783
12819
  () => factories['io.flow.v0.models.stripe_authorization_result_action_details'](),
12784
12820
  () => factories['io.flow.v0.models.threeds_identify_action_details'](),
@@ -12791,7 +12827,7 @@ const factories = {
12791
12827
  },
12792
12828
 
12793
12829
  'io.flow.v0.unions.available_filter': (): io.flow.v0.unions.AvailableFilter => {
12794
- const f = faker.random.arrayElement([
12830
+ const f = faker.helpers.arrayElement([
12795
12831
  () => factories['io.flow.v0.models.available_filter_structured'](),
12796
12832
  () => factories['io.flow.v0.models.available_filter_unstructured'](),
12797
12833
  ]);
@@ -12800,17 +12836,17 @@ const factories = {
12800
12836
  },
12801
12837
 
12802
12838
  'io.flow.v0.unions.bank_account_info': (): io.flow.v0.unions.BankAccountInfo => {
12803
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.bank_account_info_usa']()]);
12839
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.bank_account_info_usa']()]);
12804
12840
  return f();
12805
12841
  },
12806
12842
 
12807
12843
  'io.flow.v0.unions.browser_action_configuration': (): io.flow.v0.unions.BrowserActionConfiguration => {
12808
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.card_browser_action_configuration']()]);
12844
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_browser_action_configuration']()]);
12809
12845
  return f();
12810
12846
  },
12811
12847
 
12812
12848
  'io.flow.v0.unions.card_authorization_action_result': (): io.flow.v0.unions.CardAuthorizationActionResult => {
12813
- const f = faker.random.arrayElement([
12849
+ const f = faker.helpers.arrayElement([
12814
12850
  () => factories['io.flow.v0.models.authorization_action_result_adyen_v3'](),
12815
12851
  () => factories['io.flow.v0.models.authorization_action_result_adyen_v4'](),
12816
12852
  ]);
@@ -12819,7 +12855,7 @@ const factories = {
12819
12855
  },
12820
12856
 
12821
12857
  'io.flow.v0.unions.card_number': (): io.flow.v0.unions.CardNumber => {
12822
- const f = faker.random.arrayElement([
12858
+ const f = faker.helpers.arrayElement([
12823
12859
  () => factories['io.flow.v0.models.payment_method_card_number_cleartext'](),
12824
12860
  () => factories['io.flow.v0.models.payment_method_card_number_cipher'](),
12825
12861
  ]);
@@ -12828,7 +12864,7 @@ const factories = {
12828
12864
  },
12829
12865
 
12830
12866
  'io.flow.v0.unions.checkout_token_form': (): io.flow.v0.unions.CheckoutTokenForm => {
12831
- const f = faker.random.arrayElement([
12867
+ const f = faker.helpers.arrayElement([
12832
12868
  () => factories['io.flow.v0.models.checkout_token_order_form'](),
12833
12869
  () => factories['io.flow.v0.models.checkout_token_reference_form'](),
12834
12870
  ]);
@@ -12837,12 +12873,12 @@ const factories = {
12837
12873
  },
12838
12874
 
12839
12875
  'io.flow.v0.unions.confirmation_details': (): io.flow.v0.unions.ConfirmationDetails => {
12840
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.direct_debit']()]);
12876
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.direct_debit']()]);
12841
12877
  return f();
12842
12878
  },
12843
12879
 
12844
12880
  'io.flow.v0.unions.consumer_invoice_line': (): io.flow.v0.unions.ConsumerInvoiceLine => {
12845
- const f = faker.random.arrayElement([
12881
+ const f = faker.helpers.arrayElement([
12846
12882
  () => factories['io.flow.v0.models.consumer_invoice_line_item'](),
12847
12883
  () => factories['io.flow.v0.models.consumer_invoice_line_discount'](),
12848
12884
  () => factories['io.flow.v0.models.consumer_invoice_line_shipping'](),
@@ -12852,7 +12888,7 @@ const factories = {
12852
12888
  },
12853
12889
 
12854
12890
  'io.flow.v0.unions.consumer_invoice_line_form': (): io.flow.v0.unions.ConsumerInvoiceLineForm => {
12855
- const f = faker.random.arrayElement([
12891
+ const f = faker.helpers.arrayElement([
12856
12892
  () => factories['io.flow.v0.models.consumer_invoice_line_item_form'](),
12857
12893
  () => factories['io.flow.v0.models.consumer_invoice_line_discount_form'](),
12858
12894
  () => factories['io.flow.v0.models.consumer_invoice_line_shipping_form'](),
@@ -12862,7 +12898,7 @@ const factories = {
12862
12898
  },
12863
12899
 
12864
12900
  'io.flow.v0.unions.delivery': (): io.flow.v0.unions.Delivery => {
12865
- const f = faker.random.arrayElement([
12901
+ const f = faker.helpers.arrayElement([
12866
12902
  () => factories['io.flow.v0.models.digital_delivery'](),
12867
12903
  () => factories['io.flow.v0.models.physical_delivery'](),
12868
12904
  ]);
@@ -12871,7 +12907,7 @@ const factories = {
12871
12907
  },
12872
12908
 
12873
12909
  'io.flow.v0.unions.deminimis': (): io.flow.v0.unions.Deminimis => {
12874
- const f = faker.random.arrayElement([
12910
+ const f = faker.helpers.arrayElement([
12875
12911
  () => factories['io.flow.v0.models.deminimis_simple'](),
12876
12912
  () => factories['io.flow.v0.models.deminimis_per_item'](),
12877
12913
  ]);
@@ -12880,12 +12916,12 @@ const factories = {
12880
12916
  },
12881
12917
 
12882
12918
  'io.flow.v0.unions.device_details': (): io.flow.v0.unions.DeviceDetails => {
12883
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.device_details_browser']()]);
12919
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.device_details_browser']()]);
12884
12920
  return f();
12885
12921
  },
12886
12922
 
12887
12923
  'io.flow.v0.unions.device_fingerprint_details': (): io.flow.v0.unions.DeviceFingerprintDetails => {
12888
- const f = faker.random.arrayElement(
12924
+ const f = faker.helpers.arrayElement(
12889
12925
  [() => factories['io.flow.v0.models.device_fingerprint_details_browser']()],
12890
12926
  );
12891
12927
 
@@ -12893,7 +12929,7 @@ const factories = {
12893
12929
  },
12894
12930
 
12895
12931
  'io.flow.v0.unions.discount_offer': (): io.flow.v0.unions.DiscountOffer => {
12896
- const f = faker.random.arrayElement([
12932
+ const f = faker.helpers.arrayElement([
12897
12933
  () => factories['io.flow.v0.models.discount_offer_fixed'](),
12898
12934
  () => factories['io.flow.v0.models.discount_offer_percent'](),
12899
12935
  ]);
@@ -12902,12 +12938,12 @@ const factories = {
12902
12938
  },
12903
12939
 
12904
12940
  'io.flow.v0.unions.discount_rule_entitlement': (): io.flow.v0.unions.DiscountRuleEntitlement => {
12905
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.discount_rule_subsidy_entitlement']()]);
12941
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.discount_rule_subsidy_entitlement']()]);
12906
12942
  return f();
12907
12943
  },
12908
12944
 
12909
12945
  'io.flow.v0.unions.document': (): io.flow.v0.unions.Document => {
12910
- const f = faker.random.arrayElement([
12946
+ const f = faker.helpers.arrayElement([
12911
12947
  () => factories['io.flow.v0.models.catalog_item_document'](),
12912
12948
  () => factories['io.flow.v0.models.harmonization_document'](),
12913
12949
  ]);
@@ -12916,7 +12952,7 @@ const factories = {
12916
12952
  },
12917
12953
 
12918
12954
  'io.flow.v0.unions.email_notification_data': (): io.flow.v0.unions.EmailNotificationData => {
12919
- const f = faker.random.arrayElement([
12955
+ const f = faker.helpers.arrayElement([
12920
12956
  () => factories['io.flow.v0.models.email_notification_data_refund'](),
12921
12957
  () => factories['io.flow.v0.models.email_notification_abandoned_order'](),
12922
12958
  ]);
@@ -12925,7 +12961,7 @@ const factories = {
12925
12961
  },
12926
12962
 
12927
12963
  'io.flow.v0.unions.event': (): io.flow.v0.unions.Event => {
12928
- const f = faker.random.arrayElement([
12964
+ const f = faker.helpers.arrayElement([
12929
12965
  () => factories['io.flow.v0.models.transaction_upserted'](),
12930
12966
  () => factories['io.flow.v0.models.organization_transaction_upserted'](),
12931
12967
  () => factories['io.flow.v0.models.organization_transaction_deleted'](),
@@ -13119,7 +13155,7 @@ const factories = {
13119
13155
  },
13120
13156
 
13121
13157
  'io.flow.v0.unions.expandable_card': (): io.flow.v0.unions.ExpandableCard => {
13122
- const f = faker.random.arrayElement([
13158
+ const f = faker.helpers.arrayElement([
13123
13159
  () => factories['io.flow.v0.models.card'](),
13124
13160
  () => factories['io.flow.v0.models.card_reference'](),
13125
13161
  () => factories['io.flow.v0.models.card_summary'](),
@@ -13129,7 +13165,7 @@ const factories = {
13129
13165
  },
13130
13166
 
13131
13167
  'io.flow.v0.unions.expandable_center': (): io.flow.v0.unions.ExpandableCenter => {
13132
- const f = faker.random.arrayElement([
13168
+ const f = faker.helpers.arrayElement([
13133
13169
  () => factories['io.flow.v0.models.center'](),
13134
13170
  () => factories['io.flow.v0.models.center_reference'](),
13135
13171
  ]);
@@ -13138,7 +13174,7 @@ const factories = {
13138
13174
  },
13139
13175
 
13140
13176
  'io.flow.v0.unions.expandable_experience': (): io.flow.v0.unions.ExpandableExperience => {
13141
- const f = faker.random.arrayElement([
13177
+ const f = faker.helpers.arrayElement([
13142
13178
  () => factories['io.flow.v0.models.experience'](),
13143
13179
  () => factories['io.flow.v0.models.experience_reference'](),
13144
13180
  ]);
@@ -13147,7 +13183,7 @@ const factories = {
13147
13183
  },
13148
13184
 
13149
13185
  'io.flow.v0.unions.expandable_order': (): io.flow.v0.unions.ExpandableOrder => {
13150
- const f = faker.random.arrayElement([
13186
+ const f = faker.helpers.arrayElement([
13151
13187
  () => factories['io.flow.v0.models.order'](),
13152
13188
  () => factories['io.flow.v0.models.order_reference'](),
13153
13189
  ]);
@@ -13156,7 +13192,7 @@ const factories = {
13156
13192
  },
13157
13193
 
13158
13194
  'io.flow.v0.unions.expandable_organization': (): io.flow.v0.unions.ExpandableOrganization => {
13159
- const f = faker.random.arrayElement([
13195
+ const f = faker.helpers.arrayElement([
13160
13196
  () => factories['io.flow.v0.models.organization'](),
13161
13197
  () => factories['io.flow.v0.models.organization_reference'](),
13162
13198
  ]);
@@ -13165,7 +13201,7 @@ const factories = {
13165
13201
  },
13166
13202
 
13167
13203
  'io.flow.v0.unions.expandable_payment_processor': (): io.flow.v0.unions.ExpandablePaymentProcessor => {
13168
- const f = faker.random.arrayElement([
13204
+ const f = faker.helpers.arrayElement([
13169
13205
  () => factories['io.flow.v0.models.payment_processor'](),
13170
13206
  () => factories['io.flow.v0.models.payment_processor_reference'](),
13171
13207
  ]);
@@ -13174,7 +13210,7 @@ const factories = {
13174
13210
  },
13175
13211
 
13176
13212
  'io.flow.v0.unions.expandable_subcatalog': (): io.flow.v0.unions.ExpandableSubcatalog => {
13177
- const f = faker.random.arrayElement([
13213
+ const f = faker.helpers.arrayElement([
13178
13214
  () => factories['io.flow.v0.models.subcatalog'](),
13179
13215
  () => factories['io.flow.v0.models.subcatalog_reference'](),
13180
13216
  ]);
@@ -13183,7 +13219,7 @@ const factories = {
13183
13219
  },
13184
13220
 
13185
13221
  'io.flow.v0.unions.expandable_user': (): io.flow.v0.unions.ExpandableUser => {
13186
- const f = faker.random.arrayElement([
13222
+ const f = faker.helpers.arrayElement([
13187
13223
  () => factories['io.flow.v0.models.user'](),
13188
13224
  () => factories['io.flow.v0.models.user_reference'](),
13189
13225
  ]);
@@ -13192,12 +13228,12 @@ const factories = {
13192
13228
  },
13193
13229
 
13194
13230
  'io.flow.v0.unions.export_delivery': (): io.flow.v0.unions.ExportDelivery => {
13195
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.export_delivery_email']()]);
13231
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.export_delivery_email']()]);
13196
13232
  return f();
13197
13233
  },
13198
13234
 
13199
13235
  'io.flow.v0.unions.export_type': (): io.flow.v0.unions.ExportType => {
13200
- const f = faker.random.arrayElement([
13236
+ const f = faker.helpers.arrayElement([
13201
13237
  () => factories['io.flow.v0.models.account_transactions_export_type'](),
13202
13238
  () => factories['io.flow.v0.models.account_orders_export_type'](),
13203
13239
  () => factories['io.flow.v0.models.analytics_export_type'](),
@@ -13221,7 +13257,7 @@ const factories = {
13221
13257
  },
13222
13258
 
13223
13259
  'io.flow.v0.unions.field_validation_rule': (): io.flow.v0.unions.FieldValidationRule => {
13224
- const f = faker.random.arrayElement([
13260
+ const f = faker.helpers.arrayElement([
13225
13261
  () => factories['io.flow.v0.models.field_validation_required'](),
13226
13262
  () => factories['io.flow.v0.models.field_validation_required_if_present'](),
13227
13263
  () => factories['io.flow.v0.models.field_validation_min'](),
@@ -13233,7 +13269,7 @@ const factories = {
13233
13269
  },
13234
13270
 
13235
13271
  'io.flow.v0.unions.fraud_order_reference': (): io.flow.v0.unions.FraudOrderReference => {
13236
- const f = faker.random.arrayElement([
13272
+ const f = faker.helpers.arrayElement([
13237
13273
  () => factories['io.flow.v0.models.fraud_flow_order_reference'](),
13238
13274
  () => factories['io.flow.v0.models.fraud_payment_request_reference'](),
13239
13275
  ]);
@@ -13242,17 +13278,17 @@ const factories = {
13242
13278
  },
13243
13279
 
13244
13280
  'io.flow.v0.unions.gateway_authentication_data': (): io.flow.v0.unions.GatewayAuthenticationData => {
13245
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.stripe_authentication_data']()]);
13281
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.stripe_authentication_data']()]);
13246
13282
  return f();
13247
13283
  },
13248
13284
 
13249
13285
  'io.flow.v0.unions.gateway_authentication_data_form': (): io.flow.v0.unions.GatewayAuthenticationDataForm => {
13250
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.stripe_authentication_data_form']()]);
13286
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.stripe_authentication_data_form']()]);
13251
13287
  return f();
13252
13288
  },
13253
13289
 
13254
13290
  'io.flow.v0.unions.inline_action_configuration': (): io.flow.v0.unions.InlineActionConfiguration => {
13255
- const f = faker.random.arrayElement(
13291
+ const f = faker.helpers.arrayElement(
13256
13292
  [() => factories['io.flow.v0.models.browser_inline_action_configuration']()],
13257
13293
  );
13258
13294
 
@@ -13260,7 +13296,7 @@ const factories = {
13260
13296
  },
13261
13297
 
13262
13298
  'io.flow.v0.unions.input_specification_limitation': (): io.flow.v0.unions.InputSpecificationLimitation => {
13263
- const f = faker.random.arrayElement(
13299
+ const f = faker.helpers.arrayElement(
13264
13300
  [() => factories['io.flow.v0.models.input_specification_limitation_max']()],
13265
13301
  );
13266
13302
 
@@ -13268,7 +13304,7 @@ const factories = {
13268
13304
  },
13269
13305
 
13270
13306
  'io.flow.v0.unions.inventory_strategy': (): io.flow.v0.unions.InventoryStrategy => {
13271
- const f = faker.random.arrayElement([
13307
+ const f = faker.helpers.arrayElement([
13272
13308
  () => factories['io.flow.v0.models.inventory_backorder'](),
13273
13309
  () => factories['io.flow.v0.models.inventory_stock'](),
13274
13310
  () => factories['io.flow.v0.models.inventory_unlimited'](),
@@ -13279,7 +13315,7 @@ const factories = {
13279
13315
  },
13280
13316
 
13281
13317
  'io.flow.v0.unions.localized_price': (): io.flow.v0.unions.LocalizedPrice => {
13282
- const f = faker.random.arrayElement([
13318
+ const f = faker.helpers.arrayElement([
13283
13319
  () => factories['io.flow.v0.models.localized_item_price'](),
13284
13320
  () => factories['io.flow.v0.models.localized_item_vat'](),
13285
13321
  () => factories['io.flow.v0.models.localized_item_duty'](),
@@ -13290,7 +13326,7 @@ const factories = {
13290
13326
  },
13291
13327
 
13292
13328
  'io.flow.v0.unions.logo_image': (): io.flow.v0.unions.LogoImage => {
13293
- const f = faker.random.arrayElement([
13329
+ const f = faker.helpers.arrayElement([
13294
13330
  () => factories['io.flow.v0.models.logo_image_svg'](),
13295
13331
  () => factories['io.flow.v0.models.logo_image_set_static'](),
13296
13332
  ]);
@@ -13299,17 +13335,17 @@ const factories = {
13299
13335
  },
13300
13336
 
13301
13337
  'io.flow.v0.unions.merchant_application': (): io.flow.v0.unions.MerchantApplication => {
13302
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.shopify_merchant_application']()]);
13338
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.shopify_merchant_application']()]);
13303
13339
  return f();
13304
13340
  },
13305
13341
 
13306
13342
  'io.flow.v0.unions.merchant_application_form': (): io.flow.v0.unions.MerchantApplicationForm => {
13307
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.shopify_merchant_application_form']()]);
13343
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.shopify_merchant_application_form']()]);
13308
13344
  return f();
13309
13345
  },
13310
13346
 
13311
13347
  'io.flow.v0.unions.merchant_application_put_form': (): io.flow.v0.unions.MerchantApplicationPutForm => {
13312
- const f = faker.random.arrayElement([
13348
+ const f = faker.helpers.arrayElement([
13313
13349
  () => factories['io.flow.v0.models.shopify_merchant_application_put_form'](),
13314
13350
  ]);
13315
13351
 
@@ -13317,7 +13353,7 @@ const factories = {
13317
13353
  },
13318
13354
 
13319
13355
  'io.flow.v0.unions.merchant_applications_summary': (): io.flow.v0.unions.MerchantApplicationsSummary => {
13320
- const f = faker.random.arrayElement([
13356
+ const f = faker.helpers.arrayElement([
13321
13357
  () => factories['io.flow.v0.models.shopify_merchant_applications_summary'](),
13322
13358
  ]);
13323
13359
 
@@ -13325,7 +13361,7 @@ const factories = {
13325
13361
  },
13326
13362
 
13327
13363
  'io.flow.v0.unions.onboarding_state': (): io.flow.v0.unions.OnboardingState => {
13328
- const f = faker.random.arrayElement([
13364
+ const f = faker.helpers.arrayElement([
13329
13365
  () => factories['io.flow.v0.models.application_received'](),
13330
13366
  () => factories['io.flow.v0.models.in_compliance_review'](),
13331
13367
  () => factories['io.flow.v0.models.setup_in_progress'](),
@@ -13339,7 +13375,7 @@ const factories = {
13339
13375
  },
13340
13376
 
13341
13377
  'io.flow.v0.unions.online_authorization_details': (): io.flow.v0.unions.OnlineAuthorizationDetails => {
13342
- const f = faker.random.arrayElement([
13378
+ const f = faker.helpers.arrayElement([
13343
13379
  () => factories['io.flow.v0.models.cryptopay_authorization_details'](),
13344
13380
  () => factories['io.flow.v0.models.paypal_authorization_details'](),
13345
13381
  () => factories['io.flow.v0.models.redirect_authorization_details'](),
@@ -13350,7 +13386,7 @@ const factories = {
13350
13386
  },
13351
13387
 
13352
13388
  'io.flow.v0.unions.order_information': (): io.flow.v0.unions.OrderInformation => {
13353
- const f = faker.random.arrayElement([
13389
+ const f = faker.helpers.arrayElement([
13354
13390
  () => factories['io.flow.v0.models.order_information_flow'](),
13355
13391
  () => factories['io.flow.v0.models.order_information_details'](),
13356
13392
  ]);
@@ -13359,7 +13395,7 @@ const factories = {
13359
13395
  },
13360
13396
 
13361
13397
  'io.flow.v0.unions.order_number_generator': (): io.flow.v0.unions.OrderNumberGenerator => {
13362
- const f = faker.random.arrayElement([
13398
+ const f = faker.helpers.arrayElement([
13363
13399
  () => factories['io.flow.v0.models.order_number_generator_uuid'](),
13364
13400
  () => factories['io.flow.v0.models.order_number_generator_hexadecimal'](),
13365
13401
  () => factories['io.flow.v0.models.order_number_generator_prefix_suffix'](),
@@ -13369,12 +13405,12 @@ const factories = {
13369
13405
  },
13370
13406
 
13371
13407
  'io.flow.v0.unions.order_promotion': (): io.flow.v0.unions.OrderPromotion => {
13372
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.free_shipping_order_promotion']()]);
13408
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.free_shipping_order_promotion']()]);
13373
13409
  return f();
13374
13410
  },
13375
13411
 
13376
13412
  'io.flow.v0.unions.order_promotion_form': (): io.flow.v0.unions.OrderPromotionForm => {
13377
- const f = faker.random.arrayElement(
13413
+ const f = faker.helpers.arrayElement(
13378
13414
  [() => factories['io.flow.v0.models.free_shipping_order_promotion_form']()],
13379
13415
  );
13380
13416
 
@@ -13382,7 +13418,7 @@ const factories = {
13382
13418
  },
13383
13419
 
13384
13420
  'io.flow.v0.unions.order_quote_price': (): io.flow.v0.unions.OrderQuotePrice => {
13385
- const f = faker.random.arrayElement([
13421
+ const f = faker.helpers.arrayElement([
13386
13422
  () => factories['io.flow.v0.models.order_quote_price_free'](),
13387
13423
  () => factories['io.flow.v0.models.order_quote_price_not_yet_known'](),
13388
13424
  () => factories['io.flow.v0.models.order_quote_price_included'](),
@@ -13394,7 +13430,7 @@ const factories = {
13394
13430
  },
13395
13431
 
13396
13432
  'io.flow.v0.unions.order_refund_summary_form': (): io.flow.v0.unions.OrderRefundSummaryForm => {
13397
- const f = faker.random.arrayElement([
13433
+ const f = faker.helpers.arrayElement([
13398
13434
  () => factories['io.flow.v0.models.order_refund_summary_full_form'](),
13399
13435
  () => factories['io.flow.v0.models.order_refund_summary_partial_form'](),
13400
13436
  ]);
@@ -13403,7 +13439,7 @@ const factories = {
13403
13439
  },
13404
13440
 
13405
13441
  'io.flow.v0.unions.partner_center_fee': (): io.flow.v0.unions.PartnerCenterFee => {
13406
- const f = faker.random.arrayElement([
13442
+ const f = faker.helpers.arrayElement([
13407
13443
  () => factories['io.flow.v0.models.commercial_invoice_fee'](),
13408
13444
  () => factories['io.flow.v0.models.inbound_carton_fee'](),
13409
13445
  () => factories['io.flow.v0.models.outbound_carton_fee'](),
@@ -13413,7 +13449,7 @@ const factories = {
13413
13449
  },
13414
13450
 
13415
13451
  'io.flow.v0.unions.payment': (): io.flow.v0.unions.Payment => {
13416
- const f = faker.random.arrayElement([
13452
+ const f = faker.helpers.arrayElement([
13417
13453
  () => factories['io.flow.v0.models.payment_paypal'](),
13418
13454
  () => factories['io.flow.v0.models.payment_cryptopay'](),
13419
13455
  ]);
@@ -13422,7 +13458,7 @@ const factories = {
13422
13458
  },
13423
13459
 
13424
13460
  'io.flow.v0.unions.payment_capture_option': (): io.flow.v0.unions.PaymentCaptureOption => {
13425
- const f = faker.random.arrayElement([
13461
+ const f = faker.helpers.arrayElement([
13426
13462
  () => factories['io.flow.v0.models.payment_capture_option_automatic_immediate'](),
13427
13463
  () => factories['io.flow.v0.models.payment_capture_option_manual'](),
13428
13464
  ]);
@@ -13431,12 +13467,12 @@ const factories = {
13431
13467
  },
13432
13468
 
13433
13469
  'io.flow.v0.unions.payment_form': (): io.flow.v0.unions.PaymentForm => {
13434
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.merchant_of_record_payment_form']()]);
13470
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.merchant_of_record_payment_form']()]);
13435
13471
  return f();
13436
13472
  },
13437
13473
 
13438
13474
  'io.flow.v0.unions.payment_method_card': (): io.flow.v0.unions.PaymentMethodCard => {
13439
- const f = faker.random.arrayElement([
13475
+ const f = faker.helpers.arrayElement([
13440
13476
  () => factories['io.flow.v0.models.payment_method_card_pci_details'](),
13441
13477
  () => factories['io.flow.v0.models.payment_method_card_token'](),
13442
13478
  ]);
@@ -13445,7 +13481,7 @@ const factories = {
13445
13481
  },
13446
13482
 
13447
13483
  'io.flow.v0.unions.payment_method_data': (): io.flow.v0.unions.PaymentMethodData => {
13448
- const f = faker.random.arrayElement([
13484
+ const f = faker.helpers.arrayElement([
13449
13485
  () => factories['io.flow.v0.models.payment_method_data_init_klarna'](),
13450
13486
  () => factories['io.flow.v0.models.payment_method_data_init_afterpay'](),
13451
13487
  () => factories['io.flow.v0.models.payment_method_data_init_applepay'](),
@@ -13468,7 +13504,7 @@ const factories = {
13468
13504
  },
13469
13505
 
13470
13506
  'io.flow.v0.unions.payment_method_data_authorize_klarna_result': (): io.flow.v0.unions.PaymentMethodDataAuthorizeKlarnaResult => {
13471
- const f = faker.random.arrayElement([
13507
+ const f = faker.helpers.arrayElement([
13472
13508
  () => factories['io.flow.v0.models.payment_method_data_authorize_klarna_result_success'](),
13473
13509
  () => factories['io.flow.v0.models.payment_method_data_authorize_klarna_result_failure'](),
13474
13510
  ]);
@@ -13477,7 +13513,7 @@ const factories = {
13477
13513
  },
13478
13514
 
13479
13515
  'io.flow.v0.unions.payment_method_data_option_logo': (): io.flow.v0.unions.PaymentMethodDataOptionLogo => {
13480
- const f = faker.random.arrayElement(
13516
+ const f = faker.helpers.arrayElement(
13481
13517
  [() => factories['io.flow.v0.models.payment_method_data_option_logo_svg']()],
13482
13518
  );
13483
13519
 
@@ -13485,7 +13521,7 @@ const factories = {
13485
13521
  },
13486
13522
 
13487
13523
  'io.flow.v0.unions.payment_method_summary': (): io.flow.v0.unions.PaymentMethodSummary => {
13488
- const f = faker.random.arrayElement([
13524
+ const f = faker.helpers.arrayElement([
13489
13525
  () => factories['io.flow.v0.models.payment_method_summary_card'](),
13490
13526
  () => factories['io.flow.v0.models.payment_method_summary_klarna'](),
13491
13527
  () => factories['io.flow.v0.models.payment_method_summary_afterpay'](),
@@ -13501,7 +13537,7 @@ const factories = {
13501
13537
  },
13502
13538
 
13503
13539
  'io.flow.v0.unions.payment_method_tag': (): io.flow.v0.unions.PaymentMethodTag => {
13504
- const f = faker.random.arrayElement([() => ({
13540
+ const f = faker.helpers.arrayElement([() => ({
13505
13541
  discriminator: 'organization_payment_method_tag' as const,
13506
13542
  value: factories['io.flow.v0.enums.organization_payment_method_tag'](),
13507
13543
  }), () => ({
@@ -13513,7 +13549,7 @@ const factories = {
13513
13549
  },
13514
13550
 
13515
13551
  'io.flow.v0.unions.payment_order_reference': (): io.flow.v0.unions.PaymentOrderReference => {
13516
- const f = faker.random.arrayElement([
13552
+ const f = faker.helpers.arrayElement([
13517
13553
  () => factories['io.flow.v0.models.authorization_order_reference'](),
13518
13554
  () => factories['io.flow.v0.models.payment_payment_request_reference'](),
13519
13555
  ]);
@@ -13522,17 +13558,17 @@ const factories = {
13522
13558
  },
13523
13559
 
13524
13560
  'io.flow.v0.unions.payment_source': (): io.flow.v0.unions.PaymentSource => {
13525
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.card_payment_source']()]);
13561
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_payment_source']()]);
13526
13562
  return f();
13527
13563
  },
13528
13564
 
13529
13565
  'io.flow.v0.unions.payment_source_form': (): io.flow.v0.unions.PaymentSourceForm => {
13530
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.card_payment_source_form']()]);
13566
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_payment_source_form']()]);
13531
13567
  return f();
13532
13568
  },
13533
13569
 
13534
13570
  'io.flow.v0.unions.price_source': (): io.flow.v0.unions.PriceSource => {
13535
- const f = faker.random.arrayElement([
13571
+ const f = faker.helpers.arrayElement([
13536
13572
  () => factories['io.flow.v0.models.price_source_price_book'](),
13537
13573
  () => factories['io.flow.v0.models.price_source_catalog'](),
13538
13574
  () => factories['io.flow.v0.models.price_source_provided'](),
@@ -13542,7 +13578,7 @@ const factories = {
13542
13578
  },
13543
13579
 
13544
13580
  'io.flow.v0.unions.promotion': (): io.flow.v0.unions.Promotion => {
13545
- const f = faker.random.arrayElement([
13581
+ const f = faker.helpers.arrayElement([
13546
13582
  () => factories['io.flow.v0.models.free_shipping'](),
13547
13583
  () => factories['io.flow.v0.models.discount'](),
13548
13584
  ]);
@@ -13551,7 +13587,7 @@ const factories = {
13551
13587
  },
13552
13588
 
13553
13589
  'io.flow.v0.unions.query_builder_form': (): io.flow.v0.unions.QueryBuilderForm => {
13554
- const f = faker.random.arrayElement([
13590
+ const f = faker.helpers.arrayElement([
13555
13591
  () => factories['io.flow.v0.models.query_builder_filter_form'](),
13556
13592
  () => factories['io.flow.v0.models.query_builder_query_form'](),
13557
13593
  ]);
@@ -13560,7 +13596,7 @@ const factories = {
13560
13596
  },
13561
13597
 
13562
13598
  'io.flow.v0.unions.query_filter': (): io.flow.v0.unions.QueryFilter => {
13563
- const f = faker.random.arrayElement([
13599
+ const f = faker.helpers.arrayElement([
13564
13600
  () => factories['io.flow.v0.models.query_filter_structured'](),
13565
13601
  () => factories['io.flow.v0.models.query_filter_unstructured'](),
13566
13602
  ]);
@@ -13569,7 +13605,7 @@ const factories = {
13569
13605
  },
13570
13606
 
13571
13607
  'io.flow.v0.unions.query_filter_form': (): io.flow.v0.unions.QueryFilterForm => {
13572
- const f = faker.random.arrayElement([
13608
+ const f = faker.helpers.arrayElement([
13573
13609
  () => factories['io.flow.v0.models.query_filter_structured_form'](),
13574
13610
  () => factories['io.flow.v0.models.query_filter_unstructured_form'](),
13575
13611
  ]);
@@ -13578,7 +13614,7 @@ const factories = {
13578
13614
  },
13579
13615
 
13580
13616
  'io.flow.v0.unions.ratecard_estimate': (): io.flow.v0.unions.RatecardEstimate => {
13581
- const f = faker.random.arrayElement([
13617
+ const f = faker.helpers.arrayElement([
13582
13618
  () => factories['io.flow.v0.models.ratecard_estimate_v1'](),
13583
13619
  () => factories['io.flow.v0.models.ratecard_estimate_v2'](),
13584
13620
  () => factories['io.flow.v0.models.ratecard_estimate_v3'](),
@@ -13589,7 +13625,7 @@ const factories = {
13589
13625
  },
13590
13626
 
13591
13627
  'io.flow.v0.unions.ratecard_fee': (): io.flow.v0.unions.RatecardFee => {
13592
- const f = faker.random.arrayElement([
13628
+ const f = faker.helpers.arrayElement([
13593
13629
  () => factories['io.flow.v0.models.ddp_ratecard_fee'](),
13594
13630
  () => factories['io.flow.v0.models.fuel_surcharge_ratecard_fee'](),
13595
13631
  () => factories['io.flow.v0.models.oversized_shipment_ratecard_fee'](),
@@ -13605,7 +13641,7 @@ const factories = {
13605
13641
  },
13606
13642
 
13607
13643
  'io.flow.v0.unions.repeat_schedule': (): io.flow.v0.unions.RepeatSchedule => {
13608
- const f = faker.random.arrayElement([
13644
+ const f = faker.helpers.arrayElement([
13609
13645
  () => factories['io.flow.v0.models.repeat_hourly'](),
13610
13646
  () => factories['io.flow.v0.models.repeat_daily'](),
13611
13647
  () => factories['io.flow.v0.models.repeat_weekly'](),
@@ -13616,7 +13652,7 @@ const factories = {
13616
13652
  },
13617
13653
 
13618
13654
  'io.flow.v0.unions.reservation_error': (): io.flow.v0.unions.ReservationError => {
13619
- const f = faker.random.arrayElement([
13655
+ const f = faker.helpers.arrayElement([
13620
13656
  () => factories['io.flow.v0.models.no_inventory_reservation_error'](),
13621
13657
  () => factories['io.flow.v0.models.external_api_timeout_reservation_error'](),
13622
13658
  () => factories['io.flow.v0.models.generic_reservation_error'](),
@@ -13626,7 +13662,7 @@ const factories = {
13626
13662
  },
13627
13663
 
13628
13664
  'io.flow.v0.unions.return_source': (): io.flow.v0.unions.ReturnSource => {
13629
- const f = faker.random.arrayElement([
13665
+ const f = faker.helpers.arrayElement([
13630
13666
  () => factories['io.flow.v0.models.return_source_flow'](),
13631
13667
  () => factories['io.flow.v0.models.return_source_external_vendor'](),
13632
13668
  ]);
@@ -13635,7 +13671,7 @@ const factories = {
13635
13671
  },
13636
13672
 
13637
13673
  'io.flow.v0.unions.sdk_adyen_v3_authentication_token': (): io.flow.v0.unions.SdkAdyenV3AuthenticationToken => {
13638
- const f = faker.random.arrayElement([
13674
+ const f = faker.helpers.arrayElement([
13639
13675
  () => factories['io.flow.v0.models.adyen_v3_fingerprint_token'](),
13640
13676
  () => factories['io.flow.v0.models.adyen_v3_challenge_token'](),
13641
13677
  ]);
@@ -13644,7 +13680,7 @@ const factories = {
13644
13680
  },
13645
13681
 
13646
13682
  'io.flow.v0.unions.service_fee': (): io.flow.v0.unions.ServiceFee => {
13647
- const f = faker.random.arrayElement([
13683
+ const f = faker.helpers.arrayElement([
13648
13684
  () => factories['io.flow.v0.models.fuel_surcharge_service_fee'](),
13649
13685
  () => factories['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'](),
13650
13686
  () => factories['io.flow.v0.models.remote_area_service_fee'](),
@@ -13658,12 +13694,12 @@ const factories = {
13658
13694
  },
13659
13695
 
13660
13696
  'io.flow.v0.unions.session': (): io.flow.v0.unions.Session => {
13661
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.organization_session']()]);
13697
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.organization_session']()]);
13662
13698
  return f();
13663
13699
  },
13664
13700
 
13665
13701
  'io.flow.v0.unions.session_authorization': (): io.flow.v0.unions.SessionAuthorization => {
13666
- const f = faker.random.arrayElement(
13702
+ const f = faker.helpers.arrayElement(
13667
13703
  [() => factories['io.flow.v0.models.organization_session_authorization']()],
13668
13704
  );
13669
13705
 
@@ -13671,7 +13707,7 @@ const factories = {
13671
13707
  },
13672
13708
 
13673
13709
  'io.flow.v0.unions.settlement': (): io.flow.v0.unions.Settlement => {
13674
- const f = faker.random.arrayElement([
13710
+ const f = faker.helpers.arrayElement([
13675
13711
  () => factories['io.flow.v0.models.no_payout'](),
13676
13712
  () => factories['io.flow.v0.models.payout'](),
13677
13713
  ]);
@@ -13680,7 +13716,7 @@ const factories = {
13680
13716
  },
13681
13717
 
13682
13718
  'io.flow.v0.unions.shipping_label_form': (): io.flow.v0.unions.ShippingLabelForm => {
13683
- const f = faker.random.arrayElement([
13719
+ const f = faker.helpers.arrayElement([
13684
13720
  () => factories['io.flow.v0.models.detailed_shipping_label_form'](),
13685
13721
  () => factories['io.flow.v0.models.summary_shipping_label_form'](),
13686
13722
  ]);
@@ -13689,7 +13725,7 @@ const factories = {
13689
13725
  },
13690
13726
 
13691
13727
  'io.flow.v0.unions.shipping_notification_form': (): io.flow.v0.unions.ShippingNotificationForm => {
13692
- const f = faker.random.arrayElement([
13728
+ const f = faker.helpers.arrayElement([
13693
13729
  () => factories['io.flow.v0.models.detailed_shipping_notification_form'](),
13694
13730
  () => factories['io.flow.v0.models.single_package_shipping_notification_form'](),
13695
13731
  () => factories['io.flow.v0.models.summary_shipping_notification_form'](),
@@ -13699,7 +13735,7 @@ const factories = {
13699
13735
  },
13700
13736
 
13701
13737
  'io.flow.v0.unions.shopify_cart_add_form': (): io.flow.v0.unions.ShopifyCartAddForm => {
13702
- const f = faker.random.arrayElement([
13738
+ const f = faker.helpers.arrayElement([
13703
13739
  () => factories['io.flow.v0.models.shopify_cart_add_single_form'](),
13704
13740
  () => factories['io.flow.v0.models.shopify_cart_add_multiple_form'](),
13705
13741
  ]);
@@ -13708,17 +13744,17 @@ const factories = {
13708
13744
  },
13709
13745
 
13710
13746
  'io.flow.v0.unions.shopify_event_bucket': (): io.flow.v0.unions.ShopifyEventBucket => {
13711
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.shopify_item_event_bucket']()]);
13747
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.shopify_item_event_bucket']()]);
13712
13748
  return f();
13713
13749
  },
13714
13750
 
13715
13751
  'io.flow.v0.unions.tax_duty_quote_levy_value': (): io.flow.v0.unions.TaxDutyQuoteLevyValue => {
13716
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.tax_duty_quote_simple_levy_value']()]);
13752
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.tax_duty_quote_simple_levy_value']()]);
13717
13753
  return f();
13718
13754
  },
13719
13755
 
13720
13756
  'io.flow.v0.unions.tax_setting': (): io.flow.v0.unions.TaxSetting => {
13721
- const f = faker.random.arrayElement([
13757
+ const f = faker.helpers.arrayElement([
13722
13758
  () => factories['io.flow.v0.models.avalara_tax_setting'](),
13723
13759
  () => factories['io.flow.v0.models.avalara_tax_csv_setting'](),
13724
13760
  ]);
@@ -13727,17 +13763,17 @@ const factories = {
13727
13763
  },
13728
13764
 
13729
13765
  'io.flow.v0.unions.threeds_challenge_action': (): io.flow.v0.unions.ThreedsChallengeAction => {
13730
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.threeds_two_challenge_request']()]);
13766
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.threeds_two_challenge_request']()]);
13731
13767
  return f();
13732
13768
  },
13733
13769
 
13734
13770
  'io.flow.v0.unions.threeds_identify_action': (): io.flow.v0.unions.ThreedsIdentifyAction => {
13735
- const f = faker.random.arrayElement([() => factories['io.flow.v0.models.threeds_two_method']()]);
13771
+ const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.threeds_two_method']()]);
13736
13772
  return f();
13737
13773
  },
13738
13774
 
13739
13775
  'io.flow.v0.unions.tier_rule_outcome': (): io.flow.v0.unions.TierRuleOutcome => {
13740
- const f = faker.random.arrayElement([
13776
+ const f = faker.helpers.arrayElement([
13741
13777
  () => factories['io.flow.v0.models.amount_margin'](),
13742
13778
  () => factories['io.flow.v0.models.at_cost'](),
13743
13779
  () => factories['io.flow.v0.models.flat_rate'](),
@@ -13748,7 +13784,7 @@ const factories = {
13748
13784
  },
13749
13785
 
13750
13786
  'io.flow.v0.unions.tier_rule_outcome_form': (): io.flow.v0.unions.TierRuleOutcomeForm => {
13751
- const f = faker.random.arrayElement([
13787
+ const f = faker.helpers.arrayElement([
13752
13788
  () => factories['io.flow.v0.models.amount_margin_form'](),
13753
13789
  () => factories['io.flow.v0.models.flat_rate_form'](),
13754
13790
  () => factories['io.flow.v0.models.at_cost'](),
@@ -13759,7 +13795,7 @@ const factories = {
13759
13795
  },
13760
13796
 
13761
13797
  'io.flow.v0.unions.token': (): io.flow.v0.unions.Token => {
13762
- const f = faker.random.arrayElement([
13798
+ const f = faker.helpers.arrayElement([
13763
13799
  () => factories['io.flow.v0.models.channel_token'](),
13764
13800
  () => factories['io.flow.v0.models.organization_token'](),
13765
13801
  () => factories['io.flow.v0.models.organization_token_v2'](),
@@ -13770,7 +13806,7 @@ const factories = {
13770
13806
  },
13771
13807
 
13772
13808
  'io.flow.v0.unions.token_reference': (): io.flow.v0.unions.TokenReference => {
13773
- const f = faker.random.arrayElement([
13809
+ const f = faker.helpers.arrayElement([
13774
13810
  () => factories['io.flow.v0.models.channel_token_reference'](),
13775
13811
  () => factories['io.flow.v0.models.organization_token_reference'](),
13776
13812
  () => factories['io.flow.v0.models.organization_token_v2_reference'](),
@@ -13807,6 +13843,7 @@ export const makeActionUseSdkKlarnaV1 = () => factories['io.flow.v0.models.actio
13807
13843
  export const makeActionUseSdkPaypal = () => factories['io.flow.v0.models.action_use_sdk_paypal']();
13808
13844
  export const makeActionUseSdkStripeV3 = () => factories['io.flow.v0.models.action_use_sdk_stripe_v3']();
13809
13845
  export const makeActionWait = () => factories['io.flow.v0.models.action_wait']();
13846
+ export const makeActivationPutForm = () => factories['io.flow.v0.models.activation_put_form']();
13810
13847
  export const makeAddress = () => factories['io.flow.v0.models.address']();
13811
13848
  export const makeAddressConfiguration = () => factories['io.flow.v0.models.address_configuration']();
13812
13849
  export const makeAddressConfigurationFieldPlacement = () => factories['io.flow.v0.models.address_configuration_field_placement']();
@@ -13818,6 +13855,8 @@ export const makeAddressFieldName = () => factories['io.flow.v0.enums.address_fi
13818
13855
  export const makeAddressFieldValidation = () => factories['io.flow.v0.models.address_field_validation']();
13819
13856
  export const makeAddressSuggestion = () => factories['io.flow.v0.models.address_suggestion']();
13820
13857
  export const makeAddressVerification = () => factories['io.flow.v0.models.address_verification']();
13858
+ export const makeAddressVerificationResult = () => factories['io.flow.v0.models.address_verification_result']();
13859
+ export const makeAddressVerificationResultFieldCode = () => factories['io.flow.v0.enums.address_verification_result_field_code']();
13821
13860
  export const makeAdjustmentReason = () => factories['io.flow.v0.models.adjustment_reason']();
13822
13861
  export const makeAdjustmentReasonKey = () => factories['io.flow.v0.enums.adjustment_reason_key']();
13823
13862
  export const makeAdyenChallengeShopperData = () => factories['io.flow.v0.models.adyen_challenge_shopper_data']();
@@ -14131,6 +14170,8 @@ export const makeCustomerToken = () => factories['io.flow.v0.models.customer_tok
14131
14170
  export const makeCustomerUpserted = () => factories['io.flow.v0.models.customer_upserted']();
14132
14171
  export const makeCvv = () => factories['io.flow.v0.models.cvv']();
14133
14172
  export const makeCvvCode = () => factories['io.flow.v0.enums.cvv_code']();
14173
+ export const makeCvvResult = () => factories['io.flow.v0.models.cvv_result']();
14174
+ export const makeCvvResultCode = () => factories['io.flow.v0.enums.cvv_result_code']();
14134
14175
  export const makeDatetimeRange = () => factories['io.flow.v0.models.datetime_range']();
14135
14176
  export const makeDatetimeWithTimezone = () => factories['io.flow.v0.models.datetime_with_timezone']();
14136
14177
  export const makeDayOfWeek = () => factories['io.flow.v0.enums.day_of_week']();
@@ -15359,6 +15400,8 @@ export const makeTradeAgreementDuty = () => factories['io.flow.v0.models.trade_a
15359
15400
  export const makeTradeAgreementName = () => factories['io.flow.v0.enums.trade_agreement_name']();
15360
15401
  export const makeTradeAgreementStatus = () => factories['io.flow.v0.enums.trade_agreement_status']();
15361
15402
  export const makeTransaction = () => factories['io.flow.v0.models.transaction']();
15403
+ export const makeTransactionDetailsCard = () => factories['io.flow.v0.models.transaction_details_card']();
15404
+ export const makeTransactionNetworkDetailsCard = () => factories['io.flow.v0.models.transaction_network_details_card']();
15362
15405
  export const makeTransactionSource = () => factories['io.flow.v0.enums.transaction_source']();
15363
15406
  export const makeTransactionUpserted = () => factories['io.flow.v0.models.transaction_upserted']();
15364
15407
  export const makeTransitEstimate = () => factories['io.flow.v0.models.transit_estimate']();