@flowio/api-factories 0.0.38 → 0.0.40
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api.js +533 -417
- package/dist/esm/api.js +484 -383
- package/dist/types/api.d.ts +16 -1
- package/package.json +2 -2
- package/src/api.ts +509 -391
package/src/api.ts
CHANGED
|
@@ -30,12 +30,12 @@ const factories = {
|
|
|
30
30
|
string: () => faker.datatype.string(),
|
|
31
31
|
unit: () => undefined,
|
|
32
32
|
uuid: () => faker.datatype.uuid(),
|
|
33
|
-
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': (): io.flow.apple.pay.v0.enums.ApplePayContactField => faker.
|
|
34
|
-
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': (): io.flow.apple.pay.v0.enums.ApplePayLineItemType => faker.
|
|
35
|
-
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': (): io.flow.apple.pay.v0.enums.ApplePayMerchantCapability => faker.
|
|
36
|
-
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': (): io.flow.apple.pay.v0.enums.ApplePayShippingType => faker.
|
|
33
|
+
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': (): io.flow.apple.pay.v0.enums.ApplePayContactField => faker.helpers.arrayElement(['email', 'name', 'phone', 'postal_address', 'phonetic_name']),
|
|
34
|
+
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': (): io.flow.apple.pay.v0.enums.ApplePayLineItemType => faker.helpers.arrayElement(['final', 'pending']),
|
|
35
|
+
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': (): io.flow.apple.pay.v0.enums.ApplePayMerchantCapability => faker.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']),
|
|
36
|
+
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': (): io.flow.apple.pay.v0.enums.ApplePayShippingType => faker.helpers.arrayElement(['shipping', 'delivery', 'store_pickup', 'service_pickup']),
|
|
37
37
|
|
|
38
|
-
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': (): io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks => faker.
|
|
38
|
+
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': (): io.flow.apple.pay.v0.enums.ApplePaySupportedNetworks => faker.helpers.arrayElement([
|
|
39
39
|
'amex',
|
|
40
40
|
'chinaUnionPay',
|
|
41
41
|
'discover',
|
|
@@ -111,13 +111,13 @@ const factories = {
|
|
|
111
111
|
identifier: factories.string(),
|
|
112
112
|
}),
|
|
113
113
|
|
|
114
|
-
'io.flow.google.pay.v0.enums.auth_method': (): io.flow.google.pay.v0.enums.AuthMethod => faker.
|
|
115
|
-
'io.flow.google.pay.v0.enums.billing_address_format': (): io.flow.google.pay.v0.enums.BillingAddressFormat => faker.
|
|
116
|
-
'io.flow.google.pay.v0.enums.card_gateway': (): io.flow.google.pay.v0.enums.CardGateway => faker.
|
|
117
|
-
'io.flow.google.pay.v0.enums.card_network': (): io.flow.google.pay.v0.enums.CardNetwork => faker.
|
|
118
|
-
'io.flow.google.pay.v0.enums.payment_method_type': (): io.flow.google.pay.v0.enums.PaymentMethodType => faker.
|
|
119
|
-
'io.flow.google.pay.v0.enums.tokenization_type': (): io.flow.google.pay.v0.enums.TokenizationType => faker.
|
|
120
|
-
'io.flow.google.pay.v0.enums.total_price_status': (): io.flow.google.pay.v0.enums.TotalPriceStatus => faker.
|
|
114
|
+
'io.flow.google.pay.v0.enums.auth_method': (): io.flow.google.pay.v0.enums.AuthMethod => faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']),
|
|
115
|
+
'io.flow.google.pay.v0.enums.billing_address_format': (): io.flow.google.pay.v0.enums.BillingAddressFormat => faker.helpers.arrayElement(['MIN', 'FULL']),
|
|
116
|
+
'io.flow.google.pay.v0.enums.card_gateway': (): io.flow.google.pay.v0.enums.CardGateway => faker.helpers.arrayElement(['adyen', 'stripe']),
|
|
117
|
+
'io.flow.google.pay.v0.enums.card_network': (): io.flow.google.pay.v0.enums.CardNetwork => faker.helpers.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']),
|
|
118
|
+
'io.flow.google.pay.v0.enums.payment_method_type': (): io.flow.google.pay.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['CARD']),
|
|
119
|
+
'io.flow.google.pay.v0.enums.tokenization_type': (): io.flow.google.pay.v0.enums.TokenizationType => faker.helpers.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']),
|
|
120
|
+
'io.flow.google.pay.v0.enums.total_price_status': (): io.flow.google.pay.v0.enums.TotalPriceStatus => faker.helpers.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']),
|
|
121
121
|
|
|
122
122
|
'io.flow.google.pay.v0.models.address': (): io.flow.google.pay.v0.models.Address => ({
|
|
123
123
|
name: factories.string(),
|
|
@@ -254,7 +254,7 @@ const factories = {
|
|
|
254
254
|
}),
|
|
255
255
|
|
|
256
256
|
'io.flow.google.pay.v0.unions.payment_method_token': (): io.flow.google.pay.v0.unions.PaymentMethodToken => {
|
|
257
|
-
const f = faker.
|
|
257
|
+
const f = faker.helpers.arrayElement([
|
|
258
258
|
() => factories['io.flow.google.pay.v0.models.direct_payment_method_token'](),
|
|
259
259
|
() => factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](),
|
|
260
260
|
]);
|
|
@@ -262,12 +262,12 @@ const factories = {
|
|
|
262
262
|
return f();
|
|
263
263
|
},
|
|
264
264
|
|
|
265
|
-
'io.flow.shopify.external.v0.enums.cancel_reason': (): io.flow.shopify.external.v0.enums.CancelReason => faker.
|
|
266
|
-
'io.flow.shopify.external.v0.enums.discount_status': (): io.flow.shopify.external.v0.enums.DiscountStatus => faker.
|
|
267
|
-
'io.flow.shopify.external.v0.enums.discount_type': (): io.flow.shopify.external.v0.enums.DiscountType => faker.
|
|
268
|
-
'io.flow.shopify.external.v0.enums.discrepancy_reason': (): io.flow.shopify.external.v0.enums.DiscrepancyReason => faker.
|
|
265
|
+
'io.flow.shopify.external.v0.enums.cancel_reason': (): io.flow.shopify.external.v0.enums.CancelReason => faker.helpers.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']),
|
|
266
|
+
'io.flow.shopify.external.v0.enums.discount_status': (): io.flow.shopify.external.v0.enums.DiscountStatus => faker.helpers.arrayElement(['enabled', 'disabled', 'depleted']),
|
|
267
|
+
'io.flow.shopify.external.v0.enums.discount_type': (): io.flow.shopify.external.v0.enums.DiscountType => faker.helpers.arrayElement(['fixed_amount', 'percentage', 'shipping']),
|
|
268
|
+
'io.flow.shopify.external.v0.enums.discrepancy_reason': (): io.flow.shopify.external.v0.enums.DiscrepancyReason => faker.helpers.arrayElement(['restock', 'damage', 'customer', 'other']),
|
|
269
269
|
|
|
270
|
-
'io.flow.shopify.external.v0.enums.event': (): io.flow.shopify.external.v0.enums.Event => faker.
|
|
270
|
+
'io.flow.shopify.external.v0.enums.event': (): io.flow.shopify.external.v0.enums.Event => faker.helpers.arrayElement([
|
|
271
271
|
'cart',
|
|
272
272
|
'checkout',
|
|
273
273
|
'collection',
|
|
@@ -282,7 +282,7 @@ const factories = {
|
|
|
282
282
|
'shop',
|
|
283
283
|
]),
|
|
284
284
|
|
|
285
|
-
'io.flow.shopify.external.v0.enums.financial_status_type': (): io.flow.shopify.external.v0.enums.FinancialStatusType => faker.
|
|
285
|
+
'io.flow.shopify.external.v0.enums.financial_status_type': (): io.flow.shopify.external.v0.enums.FinancialStatusType => faker.helpers.arrayElement([
|
|
286
286
|
'pending',
|
|
287
287
|
'authorized',
|
|
288
288
|
'partially_paid',
|
|
@@ -292,35 +292,35 @@ const factories = {
|
|
|
292
292
|
'voided',
|
|
293
293
|
]),
|
|
294
294
|
|
|
295
|
-
'io.flow.shopify.external.v0.enums.format': (): io.flow.shopify.external.v0.enums.Format => faker.
|
|
296
|
-
'io.flow.shopify.external.v0.enums.fulfillment_service': (): io.flow.shopify.external.v0.enums.FulfillmentService => faker.
|
|
297
|
-
'io.flow.shopify.external.v0.enums.fulfillment_status_type': (): io.flow.shopify.external.v0.enums.FulfillmentStatusType => faker.
|
|
298
|
-
'io.flow.shopify.external.v0.enums.inventory_behaviour': (): io.flow.shopify.external.v0.enums.InventoryBehaviour => faker.
|
|
299
|
-
'io.flow.shopify.external.v0.enums.inventory_management': (): io.flow.shopify.external.v0.enums.InventoryManagement => faker.
|
|
300
|
-
'io.flow.shopify.external.v0.enums.inventory_policy': (): io.flow.shopify.external.v0.enums.InventoryPolicy => faker.
|
|
301
|
-
'io.flow.shopify.external.v0.enums.kind_type': (): io.flow.shopify.external.v0.enums.KindType => faker.
|
|
295
|
+
'io.flow.shopify.external.v0.enums.format': (): io.flow.shopify.external.v0.enums.Format => faker.helpers.arrayElement(['json', 'xml']),
|
|
296
|
+
'io.flow.shopify.external.v0.enums.fulfillment_service': (): io.flow.shopify.external.v0.enums.FulfillmentService => faker.helpers.arrayElement(['manual', 'gift_card']),
|
|
297
|
+
'io.flow.shopify.external.v0.enums.fulfillment_status_type': (): io.flow.shopify.external.v0.enums.FulfillmentStatusType => faker.helpers.arrayElement(['fulfilled', 'null', 'partial']),
|
|
298
|
+
'io.flow.shopify.external.v0.enums.inventory_behaviour': (): io.flow.shopify.external.v0.enums.InventoryBehaviour => faker.helpers.arrayElement(['bypass', 'decrement_ignoring_policy', 'decrement_obeying_policy']),
|
|
299
|
+
'io.flow.shopify.external.v0.enums.inventory_management': (): io.flow.shopify.external.v0.enums.InventoryManagement => faker.helpers.arrayElement(['blank', 'shopify']),
|
|
300
|
+
'io.flow.shopify.external.v0.enums.inventory_policy': (): io.flow.shopify.external.v0.enums.InventoryPolicy => faker.helpers.arrayElement(['deny', 'continue']),
|
|
301
|
+
'io.flow.shopify.external.v0.enums.kind_type': (): io.flow.shopify.external.v0.enums.KindType => faker.helpers.arrayElement(['authorization', 'capture', 'sale', 'void', 'refund']),
|
|
302
302
|
|
|
303
|
-
'io.flow.shopify.external.v0.enums.localized_price': (): io.flow.shopify.external.v0.enums.LocalizedPrice => faker.
|
|
303
|
+
'io.flow.shopify.external.v0.enums.localized_price': (): io.flow.shopify.external.v0.enums.LocalizedPrice => faker.helpers.arrayElement([
|
|
304
304
|
'localized_item_price',
|
|
305
305
|
'localized_item_vat',
|
|
306
306
|
'localized_item_duty',
|
|
307
307
|
'localized_total',
|
|
308
308
|
]),
|
|
309
309
|
|
|
310
|
-
'io.flow.shopify.external.v0.enums.order_status_type': (): io.flow.shopify.external.v0.enums.OrderStatusType => faker.
|
|
311
|
-
'io.flow.shopify.external.v0.enums.price_rule_allocation_method': (): io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod => faker.
|
|
312
|
-
'io.flow.shopify.external.v0.enums.price_rule_customer_selection': (): io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection => faker.
|
|
313
|
-
'io.flow.shopify.external.v0.enums.price_rule_target_selection': (): io.flow.shopify.external.v0.enums.PriceRuleTargetSelection => faker.
|
|
314
|
-
'io.flow.shopify.external.v0.enums.price_rule_target_type': (): io.flow.shopify.external.v0.enums.PriceRuleTargetType => faker.
|
|
315
|
-
'io.flow.shopify.external.v0.enums.price_rule_value_type': (): io.flow.shopify.external.v0.enums.PriceRuleValueType => faker.
|
|
316
|
-
'io.flow.shopify.external.v0.enums.published_scope': (): io.flow.shopify.external.v0.enums.PublishedScope => faker.
|
|
317
|
-
'io.flow.shopify.external.v0.enums.restock_type': (): io.flow.shopify.external.v0.enums.RestockType => faker.
|
|
318
|
-
'io.flow.shopify.external.v0.enums.shopify_customer_state': (): io.flow.shopify.external.v0.enums.ShopifyCustomerState => faker.
|
|
319
|
-
'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': (): io.flow.shopify.external.v0.enums.ShopifyDiscountPaginationDirection => faker.
|
|
320
|
-
'io.flow.shopify.external.v0.enums.shopify_gift_card_status': (): io.flow.shopify.external.v0.enums.ShopifyGiftCardStatus => faker.
|
|
321
|
-
'io.flow.shopify.external.v0.enums.shopify_processing_method_type': (): io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType => faker.
|
|
322
|
-
|
|
323
|
-
'io.flow.shopify.external.v0.enums.shopify_transaction_error_code': (): io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode => faker.
|
|
310
|
+
'io.flow.shopify.external.v0.enums.order_status_type': (): io.flow.shopify.external.v0.enums.OrderStatusType => faker.helpers.arrayElement(['open', 'closed', 'cancelled', 'any']),
|
|
311
|
+
'io.flow.shopify.external.v0.enums.price_rule_allocation_method': (): io.flow.shopify.external.v0.enums.PriceRuleAllocationMethod => faker.helpers.arrayElement(['across', 'each']),
|
|
312
|
+
'io.flow.shopify.external.v0.enums.price_rule_customer_selection': (): io.flow.shopify.external.v0.enums.PriceRuleCustomerSelection => faker.helpers.arrayElement(['all', 'prerequisite']),
|
|
313
|
+
'io.flow.shopify.external.v0.enums.price_rule_target_selection': (): io.flow.shopify.external.v0.enums.PriceRuleTargetSelection => faker.helpers.arrayElement(['all', 'entitled']),
|
|
314
|
+
'io.flow.shopify.external.v0.enums.price_rule_target_type': (): io.flow.shopify.external.v0.enums.PriceRuleTargetType => faker.helpers.arrayElement(['line_item', 'shipping_line']),
|
|
315
|
+
'io.flow.shopify.external.v0.enums.price_rule_value_type': (): io.flow.shopify.external.v0.enums.PriceRuleValueType => faker.helpers.arrayElement(['fixed_amount', 'percentage']),
|
|
316
|
+
'io.flow.shopify.external.v0.enums.published_scope': (): io.flow.shopify.external.v0.enums.PublishedScope => faker.helpers.arrayElement(['global']),
|
|
317
|
+
'io.flow.shopify.external.v0.enums.restock_type': (): io.flow.shopify.external.v0.enums.RestockType => faker.helpers.arrayElement(['no_restock', 'cancel', 'return']),
|
|
318
|
+
'io.flow.shopify.external.v0.enums.shopify_customer_state': (): io.flow.shopify.external.v0.enums.ShopifyCustomerState => faker.helpers.arrayElement(['disabled', 'invited', 'enabled']),
|
|
319
|
+
'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': (): io.flow.shopify.external.v0.enums.ShopifyDiscountPaginationDirection => faker.helpers.arrayElement(['next', 'prev']),
|
|
320
|
+
'io.flow.shopify.external.v0.enums.shopify_gift_card_status': (): io.flow.shopify.external.v0.enums.ShopifyGiftCardStatus => faker.helpers.arrayElement(['any', 'enabled', 'disabled']),
|
|
321
|
+
'io.flow.shopify.external.v0.enums.shopify_processing_method_type': (): io.flow.shopify.external.v0.enums.ShopifyProcessingMethodType => faker.helpers.arrayElement(['checkout', 'direct', 'manual', 'offsite', 'express']),
|
|
322
|
+
|
|
323
|
+
'io.flow.shopify.external.v0.enums.shopify_transaction_error_code': (): io.flow.shopify.external.v0.enums.ShopifyTransactionErrorCode => faker.helpers.arrayElement([
|
|
324
324
|
'incorrect_number',
|
|
325
325
|
'invalid_number',
|
|
326
326
|
'invalid_expiry_date',
|
|
@@ -335,9 +335,9 @@ const factories = {
|
|
|
335
335
|
'pick_up_card',
|
|
336
336
|
]),
|
|
337
337
|
|
|
338
|
-
'io.flow.shopify.external.v0.enums.shopify_transaction_status': (): io.flow.shopify.external.v0.enums.ShopifyTransactionStatus => faker.
|
|
338
|
+
'io.flow.shopify.external.v0.enums.shopify_transaction_status': (): io.flow.shopify.external.v0.enums.ShopifyTransactionStatus => faker.helpers.arrayElement(['pending', 'failure', 'success', 'error']),
|
|
339
339
|
|
|
340
|
-
'io.flow.shopify.external.v0.enums.topic': (): io.flow.shopify.external.v0.enums.Topic => faker.
|
|
340
|
+
'io.flow.shopify.external.v0.enums.topic': (): io.flow.shopify.external.v0.enums.Topic => faker.helpers.arrayElement([
|
|
341
341
|
'carts/create',
|
|
342
342
|
'carts/update',
|
|
343
343
|
'checkouts/create',
|
|
@@ -390,8 +390,8 @@ const factories = {
|
|
|
390
390
|
'themes/update',
|
|
391
391
|
]),
|
|
392
392
|
|
|
393
|
-
'io.flow.shopify.external.v0.enums.value_type': (): io.flow.shopify.external.v0.enums.ValueType => faker.
|
|
394
|
-
'io.flow.shopify.external.v0.enums.weight_unit': (): io.flow.shopify.external.v0.enums.WeightUnit => faker.
|
|
393
|
+
'io.flow.shopify.external.v0.enums.value_type': (): io.flow.shopify.external.v0.enums.ValueType => faker.helpers.arrayElement(['string', 'integer']),
|
|
394
|
+
'io.flow.shopify.external.v0.enums.weight_unit': (): io.flow.shopify.external.v0.enums.WeightUnit => faker.helpers.arrayElement(['g', 'kg', 'oz', 'lb']),
|
|
395
395
|
|
|
396
396
|
'io.flow.shopify.external.v0.models.collection': (): io.flow.shopify.external.v0.models.Collection => ({
|
|
397
397
|
id: factories.long(),
|
|
@@ -1327,9 +1327,9 @@ const factories = {
|
|
|
1327
1327
|
webhook: factories['io.flow.shopify.external.v0.models.webhook'](),
|
|
1328
1328
|
}),
|
|
1329
1329
|
|
|
1330
|
-
'io.flow.stripe.v0.enums.account_type': (): io.flow.stripe.v0.enums.AccountType => faker.
|
|
1330
|
+
'io.flow.stripe.v0.enums.account_type': (): io.flow.stripe.v0.enums.AccountType => faker.helpers.arrayElement(['platform', 'custom', 'standard', 'express']),
|
|
1331
1331
|
|
|
1332
|
-
'io.flow.stripe.v0.enums.cancellation_reason': (): io.flow.stripe.v0.enums.CancellationReason => faker.
|
|
1332
|
+
'io.flow.stripe.v0.enums.cancellation_reason': (): io.flow.stripe.v0.enums.CancellationReason => faker.helpers.arrayElement([
|
|
1333
1333
|
'abandoned',
|
|
1334
1334
|
'automatic',
|
|
1335
1335
|
'duplicate',
|
|
@@ -1339,9 +1339,9 @@ const factories = {
|
|
|
1339
1339
|
'void_invoice',
|
|
1340
1340
|
]),
|
|
1341
1341
|
|
|
1342
|
-
'io.flow.stripe.v0.enums.capture_method': (): io.flow.stripe.v0.enums.CaptureMethod => faker.
|
|
1342
|
+
'io.flow.stripe.v0.enums.capture_method': (): io.flow.stripe.v0.enums.CaptureMethod => faker.helpers.arrayElement(['automatic', 'manual']),
|
|
1343
1343
|
|
|
1344
|
-
'io.flow.stripe.v0.enums.card_brand': (): io.flow.stripe.v0.enums.CardBrand => faker.
|
|
1344
|
+
'io.flow.stripe.v0.enums.card_brand': (): io.flow.stripe.v0.enums.CardBrand => faker.helpers.arrayElement([
|
|
1345
1345
|
'American Express',
|
|
1346
1346
|
'MasterCard',
|
|
1347
1347
|
'Discover',
|
|
@@ -1350,7 +1350,7 @@ const factories = {
|
|
|
1350
1350
|
'Unknown',
|
|
1351
1351
|
]),
|
|
1352
1352
|
|
|
1353
|
-
'io.flow.stripe.v0.enums.card_error_code': (): io.flow.stripe.v0.enums.CardErrorCode => faker.
|
|
1353
|
+
'io.flow.stripe.v0.enums.card_error_code': (): io.flow.stripe.v0.enums.CardErrorCode => faker.helpers.arrayElement([
|
|
1354
1354
|
'invalid_number',
|
|
1355
1355
|
'invalid_expiry_month',
|
|
1356
1356
|
'invalid_expiry_year',
|
|
@@ -1365,12 +1365,12 @@ const factories = {
|
|
|
1365
1365
|
'processing_error',
|
|
1366
1366
|
]),
|
|
1367
1367
|
|
|
1368
|
-
'io.flow.stripe.v0.enums.card_funding_type': (): io.flow.stripe.v0.enums.CardFundingType => faker.
|
|
1369
|
-
'io.flow.stripe.v0.enums.check_outcome': (): io.flow.stripe.v0.enums.CheckOutcome => faker.
|
|
1370
|
-
'io.flow.stripe.v0.enums.code_verification_status': (): io.flow.stripe.v0.enums.CodeVerificationStatus => faker.
|
|
1371
|
-
'io.flow.stripe.v0.enums.confirmation_method': (): io.flow.stripe.v0.enums.ConfirmationMethod => faker.
|
|
1368
|
+
'io.flow.stripe.v0.enums.card_funding_type': (): io.flow.stripe.v0.enums.CardFundingType => faker.helpers.arrayElement(['credit', 'debit', 'prepaid', 'unknown']),
|
|
1369
|
+
'io.flow.stripe.v0.enums.check_outcome': (): io.flow.stripe.v0.enums.CheckOutcome => faker.helpers.arrayElement(['pass', 'fail', 'unavailable', 'unchecked']),
|
|
1370
|
+
'io.flow.stripe.v0.enums.code_verification_status': (): io.flow.stripe.v0.enums.CodeVerificationStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed']),
|
|
1371
|
+
'io.flow.stripe.v0.enums.confirmation_method': (): io.flow.stripe.v0.enums.ConfirmationMethod => faker.helpers.arrayElement(['automatic', 'manual']),
|
|
1372
1372
|
|
|
1373
|
-
'io.flow.stripe.v0.enums.decline_code': (): io.flow.stripe.v0.enums.DeclineCode => faker.
|
|
1373
|
+
'io.flow.stripe.v0.enums.decline_code': (): io.flow.stripe.v0.enums.DeclineCode => faker.helpers.arrayElement([
|
|
1374
1374
|
'approve_with_id',
|
|
1375
1375
|
'call_issuer',
|
|
1376
1376
|
'card_not_supported',
|
|
@@ -1415,7 +1415,7 @@ const factories = {
|
|
|
1415
1415
|
'withdrawal_count_limit_exceeded',
|
|
1416
1416
|
]),
|
|
1417
1417
|
|
|
1418
|
-
'io.flow.stripe.v0.enums.error_type': (): io.flow.stripe.v0.enums.ErrorType => faker.
|
|
1418
|
+
'io.flow.stripe.v0.enums.error_type': (): io.flow.stripe.v0.enums.ErrorType => faker.helpers.arrayElement([
|
|
1419
1419
|
'api_connection_error',
|
|
1420
1420
|
'api_error',
|
|
1421
1421
|
'authentication_error',
|
|
@@ -1426,7 +1426,7 @@ const factories = {
|
|
|
1426
1426
|
'validation_error',
|
|
1427
1427
|
]),
|
|
1428
1428
|
|
|
1429
|
-
'io.flow.stripe.v0.enums.event_type': (): io.flow.stripe.v0.enums.EventType => faker.
|
|
1429
|
+
'io.flow.stripe.v0.enums.event_type': (): io.flow.stripe.v0.enums.EventType => faker.helpers.arrayElement([
|
|
1430
1430
|
'charge.captured',
|
|
1431
1431
|
'charge.failed',
|
|
1432
1432
|
'charge.pending',
|
|
@@ -1442,7 +1442,7 @@ const factories = {
|
|
|
1442
1442
|
'source.failed',
|
|
1443
1443
|
]),
|
|
1444
1444
|
|
|
1445
|
-
'io.flow.stripe.v0.enums.klarna_payment_method_category_type': (): io.flow.stripe.v0.enums.KlarnaPaymentMethodCategoryType => faker.
|
|
1445
|
+
'io.flow.stripe.v0.enums.klarna_payment_method_category_type': (): io.flow.stripe.v0.enums.KlarnaPaymentMethodCategoryType => faker.helpers.arrayElement([
|
|
1446
1446
|
'direct_bank_transfer',
|
|
1447
1447
|
'direct_debit',
|
|
1448
1448
|
'pay_later',
|
|
@@ -1450,19 +1450,19 @@ const factories = {
|
|
|
1450
1450
|
'pay_over_time',
|
|
1451
1451
|
]),
|
|
1452
1452
|
|
|
1453
|
-
'io.flow.stripe.v0.enums.klarna_product': (): io.flow.stripe.v0.enums.KlarnaProduct => faker.
|
|
1453
|
+
'io.flow.stripe.v0.enums.klarna_product': (): io.flow.stripe.v0.enums.KlarnaProduct => faker.helpers.arrayElement(['payment']),
|
|
1454
1454
|
|
|
1455
|
-
'io.flow.stripe.v0.enums.network_status': (): io.flow.stripe.v0.enums.NetworkStatus => faker.
|
|
1455
|
+
'io.flow.stripe.v0.enums.network_status': (): io.flow.stripe.v0.enums.NetworkStatus => faker.helpers.arrayElement([
|
|
1456
1456
|
'approved_by_network',
|
|
1457
1457
|
'declined_by_network',
|
|
1458
1458
|
'not_sent_to_network',
|
|
1459
1459
|
'reversed_after_approval',
|
|
1460
1460
|
]),
|
|
1461
1461
|
|
|
1462
|
-
'io.flow.stripe.v0.enums.next_action_type': (): io.flow.stripe.v0.enums.NextActionType => faker.
|
|
1463
|
-
'io.flow.stripe.v0.enums.order_item_type': (): io.flow.stripe.v0.enums.OrderItemType => faker.
|
|
1462
|
+
'io.flow.stripe.v0.enums.next_action_type': (): io.flow.stripe.v0.enums.NextActionType => faker.helpers.arrayElement(['redirect_to_url', 'use_stripe_sdk']),
|
|
1463
|
+
'io.flow.stripe.v0.enums.order_item_type': (): io.flow.stripe.v0.enums.OrderItemType => faker.helpers.arrayElement(['sku', 'tax', 'shipping', 'discount']),
|
|
1464
1464
|
|
|
1465
|
-
'io.flow.stripe.v0.enums.payment_intent_status': (): io.flow.stripe.v0.enums.PaymentIntentStatus => faker.
|
|
1465
|
+
'io.flow.stripe.v0.enums.payment_intent_status': (): io.flow.stripe.v0.enums.PaymentIntentStatus => faker.helpers.arrayElement([
|
|
1466
1466
|
'canceled',
|
|
1467
1467
|
'processing',
|
|
1468
1468
|
'requires_action',
|
|
@@ -1472,19 +1472,19 @@ const factories = {
|
|
|
1472
1472
|
'succeeded',
|
|
1473
1473
|
]),
|
|
1474
1474
|
|
|
1475
|
-
'io.flow.stripe.v0.enums.payment_method_type': (): io.flow.stripe.v0.enums.PaymentMethodType => faker.
|
|
1476
|
-
'io.flow.stripe.v0.enums.payment_outcome_type': (): io.flow.stripe.v0.enums.PaymentOutcomeType => faker.
|
|
1477
|
-
'io.flow.stripe.v0.enums.payment_status': (): io.flow.stripe.v0.enums.PaymentStatus => faker.
|
|
1478
|
-
'io.flow.stripe.v0.enums.refund_failure_reason': (): io.flow.stripe.v0.enums.RefundFailureReason => faker.
|
|
1479
|
-
'io.flow.stripe.v0.enums.refund_reason': (): io.flow.stripe.v0.enums.RefundReason => faker.
|
|
1480
|
-
'io.flow.stripe.v0.enums.refund_status': (): io.flow.stripe.v0.enums.RefundStatus => faker.
|
|
1481
|
-
'io.flow.stripe.v0.enums.request_three_d_secure_type': (): io.flow.stripe.v0.enums.RequestThreeDSecureType => faker.
|
|
1482
|
-
'io.flow.stripe.v0.enums.requested_capabilities': (): io.flow.stripe.v0.enums.RequestedCapabilities => faker.
|
|
1483
|
-
'io.flow.stripe.v0.enums.setup_future_usage': (): io.flow.stripe.v0.enums.SetupFutureUsage => faker.
|
|
1484
|
-
'io.flow.stripe.v0.enums.source_flow': (): io.flow.stripe.v0.enums.SourceFlow => faker.
|
|
1485
|
-
'io.flow.stripe.v0.enums.source_status': (): io.flow.stripe.v0.enums.SourceStatus => faker.
|
|
1486
|
-
|
|
1487
|
-
'io.flow.stripe.v0.enums.source_type': (): io.flow.stripe.v0.enums.SourceType => faker.
|
|
1475
|
+
'io.flow.stripe.v0.enums.payment_method_type': (): io.flow.stripe.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['card', 'card_present']),
|
|
1476
|
+
'io.flow.stripe.v0.enums.payment_outcome_type': (): io.flow.stripe.v0.enums.PaymentOutcomeType => faker.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']),
|
|
1477
|
+
'io.flow.stripe.v0.enums.payment_status': (): io.flow.stripe.v0.enums.PaymentStatus => faker.helpers.arrayElement(['succeeded', 'pending', 'failed']),
|
|
1478
|
+
'io.flow.stripe.v0.enums.refund_failure_reason': (): io.flow.stripe.v0.enums.RefundFailureReason => faker.helpers.arrayElement(['lost_or_stolen_card', 'expired_or_canceled_card', 'unknown']),
|
|
1479
|
+
'io.flow.stripe.v0.enums.refund_reason': (): io.flow.stripe.v0.enums.RefundReason => faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']),
|
|
1480
|
+
'io.flow.stripe.v0.enums.refund_status': (): io.flow.stripe.v0.enums.RefundStatus => faker.helpers.arrayElement(['succeeded', 'failed', 'pending', 'canceled']),
|
|
1481
|
+
'io.flow.stripe.v0.enums.request_three_d_secure_type': (): io.flow.stripe.v0.enums.RequestThreeDSecureType => faker.helpers.arrayElement(['automatic', 'any']),
|
|
1482
|
+
'io.flow.stripe.v0.enums.requested_capabilities': (): io.flow.stripe.v0.enums.RequestedCapabilities => faker.helpers.arrayElement(['card_payments', 'legacy_payments', 'transfers']),
|
|
1483
|
+
'io.flow.stripe.v0.enums.setup_future_usage': (): io.flow.stripe.v0.enums.SetupFutureUsage => faker.helpers.arrayElement(['on_session', 'off_session']),
|
|
1484
|
+
'io.flow.stripe.v0.enums.source_flow': (): io.flow.stripe.v0.enums.SourceFlow => faker.helpers.arrayElement(['redirect', 'receiver', 'code_verification', 'none']),
|
|
1485
|
+
'io.flow.stripe.v0.enums.source_status': (): io.flow.stripe.v0.enums.SourceStatus => faker.helpers.arrayElement(['canceled', 'chargeable', 'consumed', 'failed', 'pending']),
|
|
1486
|
+
|
|
1487
|
+
'io.flow.stripe.v0.enums.source_type': (): io.flow.stripe.v0.enums.SourceType => faker.helpers.arrayElement([
|
|
1488
1488
|
'ach_credit_transfer',
|
|
1489
1489
|
'ach_debit',
|
|
1490
1490
|
'alipay',
|
|
@@ -1502,10 +1502,10 @@ const factories = {
|
|
|
1502
1502
|
'three_d_secure',
|
|
1503
1503
|
]),
|
|
1504
1504
|
|
|
1505
|
-
'io.flow.stripe.v0.enums.source_usage_type': (): io.flow.stripe.v0.enums.SourceUsageType => faker.
|
|
1506
|
-
'io.flow.stripe.v0.enums.three_d_secure_support': (): io.flow.stripe.v0.enums.ThreeDSecureSupport => faker.
|
|
1507
|
-
'io.flow.stripe.v0.enums.token_type': (): io.flow.stripe.v0.enums.TokenType => faker.
|
|
1508
|
-
'io.flow.stripe.v0.enums.use_stripe_sdk_type': (): io.flow.stripe.v0.enums.UseStripeSdkType => faker.
|
|
1505
|
+
'io.flow.stripe.v0.enums.source_usage_type': (): io.flow.stripe.v0.enums.SourceUsageType => faker.helpers.arrayElement(['reusable', 'single_use']),
|
|
1506
|
+
'io.flow.stripe.v0.enums.three_d_secure_support': (): io.flow.stripe.v0.enums.ThreeDSecureSupport => faker.helpers.arrayElement(['required', 'recommended', 'optional', 'not_supported']),
|
|
1507
|
+
'io.flow.stripe.v0.enums.token_type': (): io.flow.stripe.v0.enums.TokenType => faker.helpers.arrayElement(['account', 'bank_account', 'card', 'pii']),
|
|
1508
|
+
'io.flow.stripe.v0.enums.use_stripe_sdk_type': (): io.flow.stripe.v0.enums.UseStripeSdkType => faker.helpers.arrayElement(['three_d_secure_redirect', 'stripe_3ds2_fingerprint']),
|
|
1509
1509
|
|
|
1510
1510
|
'io.flow.stripe.v0.models.account': (): io.flow.stripe.v0.models.Account => ({
|
|
1511
1511
|
id: factories.string(),
|
|
@@ -2183,10 +2183,10 @@ const factories = {
|
|
|
2183
2183
|
destination: factories.string(),
|
|
2184
2184
|
}),
|
|
2185
2185
|
|
|
2186
|
-
'io.flow.v0.enums.abandoned_order_promotion_status': (): io.flow.v0.enums.AbandonedOrderPromotionStatus => faker.
|
|
2187
|
-
'io.flow.v0.enums.abandoned_order_setting_status': (): io.flow.v0.enums.AbandonedOrderSettingStatus => faker.
|
|
2186
|
+
'io.flow.v0.enums.abandoned_order_promotion_status': (): io.flow.v0.enums.AbandonedOrderPromotionStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
2187
|
+
'io.flow.v0.enums.abandoned_order_setting_status': (): io.flow.v0.enums.AbandonedOrderSettingStatus => faker.helpers.arrayElement(['active', 'inactive']),
|
|
2188
2188
|
|
|
2189
|
-
'io.flow.v0.enums.address_field_name': (): io.flow.v0.enums.AddressFieldName => faker.
|
|
2189
|
+
'io.flow.v0.enums.address_field_name': (): io.flow.v0.enums.AddressFieldName => faker.helpers.arrayElement([
|
|
2190
2190
|
'first_name',
|
|
2191
2191
|
'last_name',
|
|
2192
2192
|
'street_1',
|
|
@@ -2200,12 +2200,12 @@ const factories = {
|
|
|
2200
2200
|
'vat_registration_number',
|
|
2201
2201
|
]),
|
|
2202
2202
|
|
|
2203
|
-
'io.flow.v0.enums.adjustment_reason_key': (): io.flow.v0.enums.AdjustmentReasonKey => faker.
|
|
2204
|
-
'io.flow.v0.enums.aggregate': (): io.flow.v0.enums.Aggregate => faker.
|
|
2205
|
-
'io.flow.v0.enums.attachment_type': (): io.flow.v0.enums.AttachmentType => faker.
|
|
2206
|
-
'io.flow.v0.enums.attribute_data_type': (): io.flow.v0.enums.AttributeDataType => faker.
|
|
2203
|
+
'io.flow.v0.enums.adjustment_reason_key': (): io.flow.v0.enums.AdjustmentReasonKey => faker.helpers.arrayElement(['duty_deminimis', 'vat_deminimis']),
|
|
2204
|
+
'io.flow.v0.enums.aggregate': (): io.flow.v0.enums.Aggregate => faker.helpers.arrayElement(['maximum', 'minimum']),
|
|
2205
|
+
'io.flow.v0.enums.attachment_type': (): io.flow.v0.enums.AttachmentType => faker.helpers.arrayElement(['csv']),
|
|
2206
|
+
'io.flow.v0.enums.attribute_data_type': (): io.flow.v0.enums.AttributeDataType => faker.helpers.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']),
|
|
2207
2207
|
|
|
2208
|
-
'io.flow.v0.enums.attribute_intent': (): io.flow.v0.enums.AttributeIntent => faker.
|
|
2208
|
+
'io.flow.v0.enums.attribute_intent': (): io.flow.v0.enums.AttributeIntent => faker.helpers.arrayElement([
|
|
2209
2209
|
'brand',
|
|
2210
2210
|
'color',
|
|
2211
2211
|
'countries_of_origin',
|
|
@@ -2230,9 +2230,9 @@ const factories = {
|
|
|
2230
2230
|
'include_in_product_feeds',
|
|
2231
2231
|
]),
|
|
2232
2232
|
|
|
2233
|
-
'io.flow.v0.enums.authentication_technique': (): io.flow.v0.enums.AuthenticationTechnique => faker.
|
|
2233
|
+
'io.flow.v0.enums.authentication_technique': (): io.flow.v0.enums.AuthenticationTechnique => faker.helpers.arrayElement(['anonymous', 'session', 'token', 'partner_token', 'user']),
|
|
2234
2234
|
|
|
2235
|
-
'io.flow.v0.enums.authorization_decline_code': (): io.flow.v0.enums.AuthorizationDeclineCode => faker.
|
|
2235
|
+
'io.flow.v0.enums.authorization_decline_code': (): io.flow.v0.enums.AuthorizationDeclineCode => faker.helpers.arrayElement([
|
|
2236
2236
|
'expired',
|
|
2237
2237
|
'invalid_name',
|
|
2238
2238
|
'invalid_number',
|
|
@@ -2250,10 +2250,10 @@ const factories = {
|
|
|
2250
2250
|
'online_payment_error',
|
|
2251
2251
|
]),
|
|
2252
2252
|
|
|
2253
|
-
'io.flow.v0.enums.authorization_option': (): io.flow.v0.enums.AuthorizationOption => faker.
|
|
2254
|
-
'io.flow.v0.enums.authorization_result_action_type': (): io.flow.v0.enums.AuthorizationResultActionType => faker.
|
|
2253
|
+
'io.flow.v0.enums.authorization_option': (): io.flow.v0.enums.AuthorizationOption => faker.helpers.arrayElement(['store_card']),
|
|
2254
|
+
'io.flow.v0.enums.authorization_result_action_type': (): io.flow.v0.enums.AuthorizationResultActionType => faker.helpers.arrayElement(['native', 'redirect', 'wait']),
|
|
2255
2255
|
|
|
2256
|
-
'io.flow.v0.enums.authorization_status': (): io.flow.v0.enums.AuthorizationStatus => faker.
|
|
2256
|
+
'io.flow.v0.enums.authorization_status': (): io.flow.v0.enums.AuthorizationStatus => faker.helpers.arrayElement([
|
|
2257
2257
|
'initiated',
|
|
2258
2258
|
'pending',
|
|
2259
2259
|
'expired',
|
|
@@ -2263,9 +2263,9 @@ const factories = {
|
|
|
2263
2263
|
'reversed',
|
|
2264
2264
|
]),
|
|
2265
2265
|
|
|
2266
|
-
'io.flow.v0.enums.availability_status': (): io.flow.v0.enums.AvailabilityStatus => faker.
|
|
2266
|
+
'io.flow.v0.enums.availability_status': (): io.flow.v0.enums.AvailabilityStatus => faker.helpers.arrayElement(['enabled', 'disabled']),
|
|
2267
2267
|
|
|
2268
|
-
'io.flow.v0.enums.available_filter_format': (): io.flow.v0.enums.AvailableFilterFormat => faker.
|
|
2268
|
+
'io.flow.v0.enums.available_filter_format': (): io.flow.v0.enums.AvailableFilterFormat => faker.helpers.arrayElement([
|
|
2269
2269
|
'boolean',
|
|
2270
2270
|
'date',
|
|
2271
2271
|
'money',
|
|
@@ -2275,15 +2275,15 @@ const factories = {
|
|
|
2275
2275
|
'unit_of_mass',
|
|
2276
2276
|
]),
|
|
2277
2277
|
|
|
2278
|
-
'io.flow.v0.enums.avs_code': (): io.flow.v0.enums.AvsCode => faker.
|
|
2279
|
-
'io.flow.v0.enums.b2b_invoice_type': (): io.flow.v0.enums.B2BInvoiceType => faker.
|
|
2280
|
-
'io.flow.v0.enums.calendar': (): io.flow.v0.enums.Calendar => faker.
|
|
2281
|
-
'io.flow.v0.enums.cancel_reason': (): io.flow.v0.enums.CancelReason => faker.
|
|
2282
|
-
'io.flow.v0.enums.capability': (): io.flow.v0.enums.Capability => faker.
|
|
2283
|
-
'io.flow.v0.enums.capture_decline_code': (): io.flow.v0.enums.CaptureDeclineCode => faker.
|
|
2284
|
-
'io.flow.v0.enums.capture_status': (): io.flow.v0.enums.CaptureStatus => faker.
|
|
2278
|
+
'io.flow.v0.enums.avs_code': (): io.flow.v0.enums.AvsCode => faker.helpers.arrayElement(['match', 'partial', 'unsupported', 'no_match']),
|
|
2279
|
+
'io.flow.v0.enums.b2b_invoice_type': (): io.flow.v0.enums.B2BInvoiceType => faker.helpers.arrayElement(['self_bill_invoice', 'invoice']),
|
|
2280
|
+
'io.flow.v0.enums.calendar': (): io.flow.v0.enums.Calendar => faker.helpers.arrayElement(['weekdays', 'everyday']),
|
|
2281
|
+
'io.flow.v0.enums.cancel_reason': (): io.flow.v0.enums.CancelReason => faker.helpers.arrayElement(['out_of_stock', 'consumer_requested', 'flow_cancel']),
|
|
2282
|
+
'io.flow.v0.enums.capability': (): io.flow.v0.enums.Capability => faker.helpers.arrayElement(['crossdock']),
|
|
2283
|
+
'io.flow.v0.enums.capture_decline_code': (): io.flow.v0.enums.CaptureDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
|
|
2284
|
+
'io.flow.v0.enums.capture_status': (): io.flow.v0.enums.CaptureStatus => faker.helpers.arrayElement(['initiated', 'pending', 'succeeded', 'failed', 'canceled']),
|
|
2285
2285
|
|
|
2286
|
-
'io.flow.v0.enums.card_error_code': (): io.flow.v0.enums.CardErrorCode => faker.
|
|
2286
|
+
'io.flow.v0.enums.card_error_code': (): io.flow.v0.enums.CardErrorCode => faker.helpers.arrayElement([
|
|
2287
2287
|
'invalid_address',
|
|
2288
2288
|
'invalid_currency',
|
|
2289
2289
|
'invalid_name',
|
|
@@ -2296,7 +2296,7 @@ const factories = {
|
|
|
2296
2296
|
'unknown',
|
|
2297
2297
|
]),
|
|
2298
2298
|
|
|
2299
|
-
'io.flow.v0.enums.card_type': (): io.flow.v0.enums.CardType => faker.
|
|
2299
|
+
'io.flow.v0.enums.card_type': (): io.flow.v0.enums.CardType => faker.helpers.arrayElement([
|
|
2300
2300
|
'american_express',
|
|
2301
2301
|
'cartes_bancaires',
|
|
2302
2302
|
'china_union_pay',
|
|
@@ -2309,16 +2309,16 @@ const factories = {
|
|
|
2309
2309
|
'visa',
|
|
2310
2310
|
]),
|
|
2311
2311
|
|
|
2312
|
-
'io.flow.v0.enums.center_capability': (): io.flow.v0.enums.CenterCapability => faker.
|
|
2313
|
-
'io.flow.v0.enums.change_type': (): io.flow.v0.enums.ChangeType => faker.
|
|
2314
|
-
'io.flow.v0.enums.channel_currency_capability': (): io.flow.v0.enums.ChannelCurrencyCapability => faker.
|
|
2315
|
-
'io.flow.v0.enums.consumer_invoice_customer_type': (): io.flow.v0.enums.ConsumerInvoiceCustomerType => faker.
|
|
2316
|
-
'io.flow.v0.enums.consumer_invoice_document_type': (): io.flow.v0.enums.ConsumerInvoiceDocumentType => faker.
|
|
2317
|
-
'io.flow.v0.enums.consumer_invoice_status': (): io.flow.v0.enums.ConsumerInvoiceStatus => faker.
|
|
2318
|
-
'io.flow.v0.enums.cost_estimate_source': (): io.flow.v0.enums.CostEstimateSource => faker.
|
|
2319
|
-
'io.flow.v0.enums.country_picker_source': (): io.flow.v0.enums.CountryPickerSource => faker.
|
|
2312
|
+
'io.flow.v0.enums.center_capability': (): io.flow.v0.enums.CenterCapability => faker.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']),
|
|
2313
|
+
'io.flow.v0.enums.change_type': (): io.flow.v0.enums.ChangeType => faker.helpers.arrayElement(['insert', 'update', 'delete']),
|
|
2314
|
+
'io.flow.v0.enums.channel_currency_capability': (): io.flow.v0.enums.ChannelCurrencyCapability => faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']),
|
|
2315
|
+
'io.flow.v0.enums.consumer_invoice_customer_type': (): io.flow.v0.enums.ConsumerInvoiceCustomerType => faker.helpers.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']),
|
|
2316
|
+
'io.flow.v0.enums.consumer_invoice_document_type': (): io.flow.v0.enums.ConsumerInvoiceDocumentType => faker.helpers.arrayElement(['pdf']),
|
|
2317
|
+
'io.flow.v0.enums.consumer_invoice_status': (): io.flow.v0.enums.ConsumerInvoiceStatus => faker.helpers.arrayElement(['pending', 'available', 'invalid']),
|
|
2318
|
+
'io.flow.v0.enums.cost_estimate_source': (): io.flow.v0.enums.CostEstimateSource => faker.helpers.arrayElement(['flow', 'channel']),
|
|
2319
|
+
'io.flow.v0.enums.country_picker_source': (): io.flow.v0.enums.CountryPickerSource => faker.helpers.arrayElement(['experience', 'destination']),
|
|
2320
2320
|
|
|
2321
|
-
'io.flow.v0.enums.credit_payment_error_code': (): io.flow.v0.enums.CreditPaymentErrorCode => faker.
|
|
2321
|
+
'io.flow.v0.enums.credit_payment_error_code': (): io.flow.v0.enums.CreditPaymentErrorCode => faker.helpers.arrayElement([
|
|
2322
2322
|
'generic_error',
|
|
2323
2323
|
'invalid_order_number',
|
|
2324
2324
|
'invalid_currency',
|
|
@@ -2329,12 +2329,12 @@ const factories = {
|
|
|
2329
2329
|
'insufficient_amount',
|
|
2330
2330
|
]),
|
|
2331
2331
|
|
|
2332
|
-
'io.flow.v0.enums.currency_label_formatter': (): io.flow.v0.enums.CurrencyLabelFormatter => faker.
|
|
2333
|
-
'io.flow.v0.enums.currency_symbol_format': (): io.flow.v0.enums.CurrencySymbolFormat => faker.
|
|
2334
|
-
'io.flow.v0.enums.customer_address_type': (): io.flow.v0.enums.CustomerAddressType => faker.
|
|
2335
|
-
'io.flow.v0.enums.cvv_code': (): io.flow.v0.enums.CvvCode => faker.
|
|
2332
|
+
'io.flow.v0.enums.currency_label_formatter': (): io.flow.v0.enums.CurrencyLabelFormatter => faker.helpers.arrayElement(['strip_trailing_zeros', 'symbol_prefix', 'symbol_suffix']),
|
|
2333
|
+
'io.flow.v0.enums.currency_symbol_format': (): io.flow.v0.enums.CurrencySymbolFormat => faker.helpers.arrayElement(['narrow', 'primary']),
|
|
2334
|
+
'io.flow.v0.enums.customer_address_type': (): io.flow.v0.enums.CustomerAddressType => faker.helpers.arrayElement(['billing', 'invoice', 'shipping']),
|
|
2335
|
+
'io.flow.v0.enums.cvv_code': (): io.flow.v0.enums.CvvCode => faker.helpers.arrayElement(['match', 'suspicious', 'unsupported', 'no_match']),
|
|
2336
2336
|
|
|
2337
|
-
'io.flow.v0.enums.day_of_week': (): io.flow.v0.enums.DayOfWeek => faker.
|
|
2337
|
+
'io.flow.v0.enums.day_of_week': (): io.flow.v0.enums.DayOfWeek => faker.helpers.arrayElement([
|
|
2338
2338
|
'sunday',
|
|
2339
2339
|
'monday',
|
|
2340
2340
|
'tuesday',
|
|
@@ -2344,10 +2344,10 @@ const factories = {
|
|
|
2344
2344
|
'saturday',
|
|
2345
2345
|
]),
|
|
2346
2346
|
|
|
2347
|
-
'io.flow.v0.enums.delivered_duty': (): io.flow.v0.enums.DeliveredDuty => faker.
|
|
2348
|
-
'io.flow.v0.enums.delivered_duty_display_type': (): io.flow.v0.enums.DeliveredDutyDisplayType => faker.
|
|
2347
|
+
'io.flow.v0.enums.delivered_duty': (): io.flow.v0.enums.DeliveredDuty => faker.helpers.arrayElement(['paid', 'unpaid']),
|
|
2348
|
+
'io.flow.v0.enums.delivered_duty_display_type': (): io.flow.v0.enums.DeliveredDutyDisplayType => faker.helpers.arrayElement(['all', 'single']),
|
|
2349
2349
|
|
|
2350
|
-
'io.flow.v0.enums.delivery_option_cost_detail_component_key': (): io.flow.v0.enums.DeliveryOptionCostDetailComponentKey => faker.
|
|
2350
|
+
'io.flow.v0.enums.delivery_option_cost_detail_component_key': (): io.flow.v0.enums.DeliveryOptionCostDetailComponentKey => faker.helpers.arrayElement([
|
|
2351
2351
|
'ratecard_base_cost',
|
|
2352
2352
|
'ratecard_ddp_fee',
|
|
2353
2353
|
'ratecard_fuel_surcharge',
|
|
@@ -2361,16 +2361,16 @@ const factories = {
|
|
|
2361
2361
|
'center_outbound_carton_fee',
|
|
2362
2362
|
]),
|
|
2363
2363
|
|
|
2364
|
-
'io.flow.v0.enums.delivery_option_cost_detail_source': (): io.flow.v0.enums.DeliveryOptionCostDetailSource => faker.
|
|
2365
|
-
'io.flow.v0.enums.delivery_window_component_source': (): io.flow.v0.enums.DeliveryWindowComponentSource => faker.
|
|
2366
|
-
'io.flow.v0.enums.delivery_window_location': (): io.flow.v0.enums.DeliveryWindowLocation => faker.
|
|
2367
|
-
'io.flow.v0.enums.direction': (): io.flow.v0.enums.Direction => faker.
|
|
2368
|
-
'io.flow.v0.enums.discount_rule_status': (): io.flow.v0.enums.DiscountRuleStatus => faker.
|
|
2369
|
-
'io.flow.v0.enums.discount_rule_subsidy_target': (): io.flow.v0.enums.DiscountRuleSubsidyTarget => faker.
|
|
2370
|
-
'io.flow.v0.enums.discount_target': (): io.flow.v0.enums.DiscountTarget => faker.
|
|
2371
|
-
'io.flow.v0.enums.duty_item_approval_status': (): io.flow.v0.enums.DutyItemApprovalStatus => faker.
|
|
2364
|
+
'io.flow.v0.enums.delivery_option_cost_detail_source': (): io.flow.v0.enums.DeliveryOptionCostDetailSource => faker.helpers.arrayElement(['center', 'ratecard']),
|
|
2365
|
+
'io.flow.v0.enums.delivery_window_component_source': (): io.flow.v0.enums.DeliveryWindowComponentSource => faker.helpers.arrayElement(['flow', 'organization', 'carrier', 'center', 'mixed']),
|
|
2366
|
+
'io.flow.v0.enums.delivery_window_location': (): io.flow.v0.enums.DeliveryWindowLocation => faker.helpers.arrayElement(['center', 'crossdock', 'customer']),
|
|
2367
|
+
'io.flow.v0.enums.direction': (): io.flow.v0.enums.Direction => faker.helpers.arrayElement(['outbound', 'return']),
|
|
2368
|
+
'io.flow.v0.enums.discount_rule_status': (): io.flow.v0.enums.DiscountRuleStatus => faker.helpers.arrayElement(['active', 'scheduled', 'expired']),
|
|
2369
|
+
'io.flow.v0.enums.discount_rule_subsidy_target': (): io.flow.v0.enums.DiscountRuleSubsidyTarget => faker.helpers.arrayElement(['vat', 'duty']),
|
|
2370
|
+
'io.flow.v0.enums.discount_target': (): io.flow.v0.enums.DiscountTarget => faker.helpers.arrayElement(['item', 'shipping']),
|
|
2371
|
+
'io.flow.v0.enums.duty_item_approval_status': (): io.flow.v0.enums.DutyItemApprovalStatus => faker.helpers.arrayElement(['pending', 'certified', 'decertified']),
|
|
2372
2372
|
|
|
2373
|
-
'io.flow.v0.enums.ecommerce_platform_type': (): io.flow.v0.enums.EcommercePlatformType => faker.
|
|
2373
|
+
'io.flow.v0.enums.ecommerce_platform_type': (): io.flow.v0.enums.EcommercePlatformType => faker.helpers.arrayElement([
|
|
2374
2374
|
'commercetools',
|
|
2375
2375
|
'custom',
|
|
2376
2376
|
'hybris',
|
|
@@ -2382,17 +2382,19 @@ const factories = {
|
|
|
2382
2382
|
'workarea',
|
|
2383
2383
|
]),
|
|
2384
2384
|
|
|
2385
|
-
'io.flow.v0.enums.economic_title_location': (): io.flow.v0.enums.EconomicTitleLocation => faker.
|
|
2386
|
-
'io.flow.v0.enums.entity_identifier_type': (): io.flow.v0.enums.EntityIdentifierType => faker.
|
|
2387
|
-
'io.flow.v0.enums.environment': (): io.flow.v0.enums.Environment => faker.
|
|
2385
|
+
'io.flow.v0.enums.economic_title_location': (): io.flow.v0.enums.EconomicTitleLocation => faker.helpers.arrayElement(['high_seas', 'origination', 'destination']),
|
|
2386
|
+
'io.flow.v0.enums.entity_identifier_type': (): io.flow.v0.enums.EntityIdentifierType => faker.helpers.arrayElement(['ioss', 'voec']),
|
|
2387
|
+
'io.flow.v0.enums.environment': (): io.flow.v0.enums.Environment => faker.helpers.arrayElement(['sandbox', 'production']),
|
|
2388
2388
|
|
|
2389
|
-
'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.
|
|
2389
|
+
'io.flow.v0.enums.event_type': (): io.flow.v0.enums.EventType => faker.helpers.arrayElement([
|
|
2390
2390
|
'transaction_upserted',
|
|
2391
|
-
'
|
|
2391
|
+
'organization_transaction_upserted',
|
|
2392
|
+
'organization_transaction_deleted',
|
|
2392
2393
|
'statement_upserted',
|
|
2393
2394
|
'statement_deleted',
|
|
2394
2395
|
'channel_transaction_upserted',
|
|
2395
2396
|
'channel_transaction_deleted',
|
|
2397
|
+
'channel_transaction_deleted_v2',
|
|
2396
2398
|
'channel_statement_upserted',
|
|
2397
2399
|
'channel_statement_deleted',
|
|
2398
2400
|
'attribute_upserted',
|
|
@@ -2574,16 +2576,16 @@ const factories = {
|
|
|
2574
2576
|
'tracking_label_event_upserted',
|
|
2575
2577
|
]),
|
|
2576
2578
|
|
|
2577
|
-
'io.flow.v0.enums.exception_type': (): io.flow.v0.enums.ExceptionType => faker.
|
|
2578
|
-
'io.flow.v0.enums.exclusion_rule_state': (): io.flow.v0.enums.ExclusionRuleState => faker.
|
|
2579
|
-
'io.flow.v0.enums.experience_clone_status': (): io.flow.v0.enums.ExperienceCloneStatus => faker.
|
|
2580
|
-
'io.flow.v0.enums.experience_country_status': (): io.flow.v0.enums.ExperienceCountryStatus => faker.
|
|
2581
|
-
'io.flow.v0.enums.experience_payment_method_tag': (): io.flow.v0.enums.ExperiencePaymentMethodTag => faker.
|
|
2582
|
-
'io.flow.v0.enums.experience_status': (): io.flow.v0.enums.ExperienceStatus => faker.
|
|
2583
|
-
'io.flow.v0.enums.export_status': (): io.flow.v0.enums.ExportStatus => faker.
|
|
2584
|
-
'io.flow.v0.enums.exporter_of_record': (): io.flow.v0.enums.ExporterOfRecord => faker.
|
|
2579
|
+
'io.flow.v0.enums.exception_type': (): io.flow.v0.enums.ExceptionType => faker.helpers.arrayElement(['open', 'closed']),
|
|
2580
|
+
'io.flow.v0.enums.exclusion_rule_state': (): io.flow.v0.enums.ExclusionRuleState => faker.helpers.arrayElement(['current', 'deleting', 'updating']),
|
|
2581
|
+
'io.flow.v0.enums.experience_clone_status': (): io.flow.v0.enums.ExperienceCloneStatus => faker.helpers.arrayElement(['pending', 'updating', 'completed', 'failed']),
|
|
2582
|
+
'io.flow.v0.enums.experience_country_status': (): io.flow.v0.enums.ExperienceCountryStatus => faker.helpers.arrayElement(['enabled', 'disabled']),
|
|
2583
|
+
'io.flow.v0.enums.experience_payment_method_tag': (): io.flow.v0.enums.ExperiencePaymentMethodTag => faker.helpers.arrayElement(['display']),
|
|
2584
|
+
'io.flow.v0.enums.experience_status': (): io.flow.v0.enums.ExperienceStatus => faker.helpers.arrayElement(['draft', 'active', 'archiving', 'archived']),
|
|
2585
|
+
'io.flow.v0.enums.export_status': (): io.flow.v0.enums.ExportStatus => faker.helpers.arrayElement(['created', 'processing', 'completed', 'failed']),
|
|
2586
|
+
'io.flow.v0.enums.exporter_of_record': (): io.flow.v0.enums.ExporterOfRecord => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2585
2587
|
|
|
2586
|
-
'io.flow.v0.enums.fee_deduction_type': (): io.flow.v0.enums.FeeDeductionType => faker.
|
|
2588
|
+
'io.flow.v0.enums.fee_deduction_type': (): io.flow.v0.enums.FeeDeductionType => faker.helpers.arrayElement([
|
|
2587
2589
|
'duty_guarantee',
|
|
2588
2590
|
'mor',
|
|
2589
2591
|
'fraud',
|
|
@@ -2593,10 +2595,10 @@ const factories = {
|
|
|
2593
2595
|
'transfer',
|
|
2594
2596
|
]),
|
|
2595
2597
|
|
|
2596
|
-
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.
|
|
2597
|
-
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.
|
|
2598
|
+
'io.flow.v0.enums.flow_behavior': (): io.flow.v0.enums.FlowBehavior => faker.helpers.arrayElement(['view_consumer_data']),
|
|
2599
|
+
'io.flow.v0.enums.flow_entity': (): io.flow.v0.enums.FlowEntity => faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']),
|
|
2598
2600
|
|
|
2599
|
-
'io.flow.v0.enums.flow_role': (): io.flow.v0.enums.FlowRole => faker.
|
|
2601
|
+
'io.flow.v0.enums.flow_role': (): io.flow.v0.enums.FlowRole => faker.helpers.arrayElement([
|
|
2600
2602
|
'organization_admin',
|
|
2601
2603
|
'organization_merchant',
|
|
2602
2604
|
'organization_customer_service',
|
|
@@ -2608,19 +2610,19 @@ const factories = {
|
|
|
2608
2610
|
'channel_organization_admin',
|
|
2609
2611
|
]),
|
|
2610
2612
|
|
|
2611
|
-
'io.flow.v0.enums.fraud_email_rule_decision': (): io.flow.v0.enums.FraudEmailRuleDecision => faker.
|
|
2612
|
-
'io.flow.v0.enums.fraud_liability': (): io.flow.v0.enums.FraudLiability => faker.
|
|
2613
|
-
'io.flow.v0.enums.fraud_status': (): io.flow.v0.enums.FraudStatus => faker.
|
|
2614
|
-
'io.flow.v0.enums.ftp_file_source': (): io.flow.v0.enums.FtpFileSource => faker.
|
|
2615
|
-
'io.flow.v0.enums.fulfillment_item_quantity_status': (): io.flow.v0.enums.FulfillmentItemQuantityStatus => faker.
|
|
2616
|
-
'io.flow.v0.enums.fulfillment_method_type': (): io.flow.v0.enums.FulfillmentMethodType => faker.
|
|
2617
|
-
'io.flow.v0.enums.fulfillment_method_value': (): io.flow.v0.enums.FulfillmentMethodValue => faker.
|
|
2618
|
-
'io.flow.v0.enums.generic_error_code': (): io.flow.v0.enums.GenericErrorCode => faker.
|
|
2619
|
-
'io.flow.v0.enums.goods_supply': (): io.flow.v0.enums.GoodsSupply => faker.
|
|
2620
|
-
'io.flow.v0.enums.holiday_calendar': (): io.flow.v0.enums.HolidayCalendar => faker.
|
|
2621
|
-
'io.flow.v0.enums.image_tag': (): io.flow.v0.enums.ImageTag => faker.
|
|
2622
|
-
|
|
2623
|
-
'io.flow.v0.enums.import_type': (): io.flow.v0.enums.ImportType => faker.
|
|
2613
|
+
'io.flow.v0.enums.fraud_email_rule_decision': (): io.flow.v0.enums.FraudEmailRuleDecision => faker.helpers.arrayElement(['approved', 'declined']),
|
|
2614
|
+
'io.flow.v0.enums.fraud_liability': (): io.flow.v0.enums.FraudLiability => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2615
|
+
'io.flow.v0.enums.fraud_status': (): io.flow.v0.enums.FraudStatus => faker.helpers.arrayElement(['pending', 'approved', 'declined', 'review']),
|
|
2616
|
+
'io.flow.v0.enums.ftp_file_source': (): io.flow.v0.enums.FtpFileSource => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2617
|
+
'io.flow.v0.enums.fulfillment_item_quantity_status': (): io.flow.v0.enums.FulfillmentItemQuantityStatus => faker.helpers.arrayElement(['new', 'shipped', 'cancelled']),
|
|
2618
|
+
'io.flow.v0.enums.fulfillment_method_type': (): io.flow.v0.enums.FulfillmentMethodType => faker.helpers.arrayElement(['fulfillment_method']),
|
|
2619
|
+
'io.flow.v0.enums.fulfillment_method_value': (): io.flow.v0.enums.FulfillmentMethodValue => faker.helpers.arrayElement(['digital', 'physical']),
|
|
2620
|
+
'io.flow.v0.enums.generic_error_code': (): io.flow.v0.enums.GenericErrorCode => faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']),
|
|
2621
|
+
'io.flow.v0.enums.goods_supply': (): io.flow.v0.enums.GoodsSupply => faker.helpers.arrayElement(['export', 'intra_community', 'local']),
|
|
2622
|
+
'io.flow.v0.enums.holiday_calendar': (): io.flow.v0.enums.HolidayCalendar => faker.helpers.arrayElement(['us_bank_holidays', 'jewish_holidays']),
|
|
2623
|
+
'io.flow.v0.enums.image_tag': (): io.flow.v0.enums.ImageTag => faker.helpers.arrayElement(['thumbnail', 'checkout']),
|
|
2624
|
+
|
|
2625
|
+
'io.flow.v0.enums.import_type': (): io.flow.v0.enums.ImportType => faker.helpers.arrayElement([
|
|
2624
2626
|
'catalog_items',
|
|
2625
2627
|
'catalog_items_external',
|
|
2626
2628
|
'customs_descriptions',
|
|
@@ -2635,9 +2637,9 @@ const factories = {
|
|
|
2635
2637
|
'order_service_changes',
|
|
2636
2638
|
]),
|
|
2637
2639
|
|
|
2638
|
-
'io.flow.v0.enums.included_levy_key': (): io.flow.v0.enums.IncludedLevyKey => faker.
|
|
2640
|
+
'io.flow.v0.enums.included_levy_key': (): io.flow.v0.enums.IncludedLevyKey => faker.helpers.arrayElement(['duty', 'vat', 'vat_and_duty', 'none']),
|
|
2639
2641
|
|
|
2640
|
-
'io.flow.v0.enums.incoterm': (): io.flow.v0.enums.Incoterm => faker.
|
|
2642
|
+
'io.flow.v0.enums.incoterm': (): io.flow.v0.enums.Incoterm => faker.helpers.arrayElement([
|
|
2641
2643
|
'EXW',
|
|
2642
2644
|
'FCA',
|
|
2643
2645
|
'CPT',
|
|
@@ -2655,24 +2657,24 @@ const factories = {
|
|
|
2655
2657
|
'DDU',
|
|
2656
2658
|
]),
|
|
2657
2659
|
|
|
2658
|
-
'io.flow.v0.enums.inline_window_viewport_size': (): io.flow.v0.enums.InlineWindowViewportSize => faker.
|
|
2659
|
-
'io.flow.v0.enums.input_specification_type': (): io.flow.v0.enums.InputSpecificationType => faker.
|
|
2660
|
-
'io.flow.v0.enums.inventory_status': (): io.flow.v0.enums.InventoryStatus => faker.
|
|
2661
|
-
'io.flow.v0.enums.invitation_error_code': (): io.flow.v0.enums.InvitationErrorCode => faker.
|
|
2662
|
-
'io.flow.v0.enums.item_availability_status': (): io.flow.v0.enums.ItemAvailabilityStatus => faker.
|
|
2663
|
-
'io.flow.v0.enums.item_identifier': (): io.flow.v0.enums.ItemIdentifier => faker.
|
|
2664
|
-
'io.flow.v0.enums.lane_direction': (): io.flow.v0.enums.LaneDirection => faker.
|
|
2665
|
-
'io.flow.v0.enums.lane_preselect_preference': (): io.flow.v0.enums.LanePreselectPreference => faker.
|
|
2666
|
-
'io.flow.v0.enums.lane_strategy': (): io.flow.v0.enums.LaneStrategy => faker.
|
|
2667
|
-
'io.flow.v0.enums.levy_component': (): io.flow.v0.enums.LevyComponent => faker.
|
|
2668
|
-
'io.flow.v0.enums.levy_inclusion': (): io.flow.v0.enums.LevyInclusion => faker.
|
|
2669
|
-
'io.flow.v0.enums.levy_strategy': (): io.flow.v0.enums.LevyStrategy => faker.
|
|
2670
|
-
'io.flow.v0.enums.location_error_code': (): io.flow.v0.enums.LocationErrorCode => faker.
|
|
2671
|
-
'io.flow.v0.enums.logistics_format_preference': (): io.flow.v0.enums.LogisticsFormatPreference => faker.
|
|
2672
|
-
'io.flow.v0.enums.margin_type': (): io.flow.v0.enums.MarginType => faker.
|
|
2673
|
-
'io.flow.v0.enums.measurement_system': (): io.flow.v0.enums.MeasurementSystem => faker.
|
|
2674
|
-
|
|
2675
|
-
'io.flow.v0.enums.merchant_gift_card_error_code': (): io.flow.v0.enums.MerchantGiftCardErrorCode => faker.
|
|
2660
|
+
'io.flow.v0.enums.inline_window_viewport_size': (): io.flow.v0.enums.InlineWindowViewportSize => faker.helpers.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen', 'responsive']),
|
|
2661
|
+
'io.flow.v0.enums.input_specification_type': (): io.flow.v0.enums.InputSpecificationType => faker.helpers.arrayElement(['text', 'number']),
|
|
2662
|
+
'io.flow.v0.enums.inventory_status': (): io.flow.v0.enums.InventoryStatus => faker.helpers.arrayElement(['has_inventory', 'no_inventory']),
|
|
2663
|
+
'io.flow.v0.enums.invitation_error_code': (): io.flow.v0.enums.InvitationErrorCode => faker.helpers.arrayElement(['expired', 'invalid_email']),
|
|
2664
|
+
'io.flow.v0.enums.item_availability_status': (): io.flow.v0.enums.ItemAvailabilityStatus => faker.helpers.arrayElement(['available', 'low', 'out_of_stock']),
|
|
2665
|
+
'io.flow.v0.enums.item_identifier': (): io.flow.v0.enums.ItemIdentifier => faker.helpers.arrayElement(['item_number', 'sku']),
|
|
2666
|
+
'io.flow.v0.enums.lane_direction': (): io.flow.v0.enums.LaneDirection => faker.helpers.arrayElement(['outbound', 'return']),
|
|
2667
|
+
'io.flow.v0.enums.lane_preselect_preference': (): io.flow.v0.enums.LanePreselectPreference => faker.helpers.arrayElement(['lowest_cost', 'default_tier']),
|
|
2668
|
+
'io.flow.v0.enums.lane_strategy': (): io.flow.v0.enums.LaneStrategy => faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']),
|
|
2669
|
+
'io.flow.v0.enums.levy_component': (): io.flow.v0.enums.LevyComponent => faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']),
|
|
2670
|
+
'io.flow.v0.enums.levy_inclusion': (): io.flow.v0.enums.LevyInclusion => faker.helpers.arrayElement(['tax', 'duty']),
|
|
2671
|
+
'io.flow.v0.enums.levy_strategy': (): io.flow.v0.enums.LevyStrategy => faker.helpers.arrayElement(['minimum', 'average', 'maximum']),
|
|
2672
|
+
'io.flow.v0.enums.location_error_code': (): io.flow.v0.enums.LocationErrorCode => faker.helpers.arrayElement(['address_required', 'ip_invalid', 'ip_required', 'timezone_unavailable']),
|
|
2673
|
+
'io.flow.v0.enums.logistics_format_preference': (): io.flow.v0.enums.LogisticsFormatPreference => faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']),
|
|
2674
|
+
'io.flow.v0.enums.margin_type': (): io.flow.v0.enums.MarginType => faker.helpers.arrayElement(['fixed', 'percent']),
|
|
2675
|
+
'io.flow.v0.enums.measurement_system': (): io.flow.v0.enums.MeasurementSystem => faker.helpers.arrayElement(['imperial', 'metric']),
|
|
2676
|
+
|
|
2677
|
+
'io.flow.v0.enums.merchant_gift_card_error_code': (): io.flow.v0.enums.MerchantGiftCardErrorCode => faker.helpers.arrayElement([
|
|
2676
2678
|
'invalid',
|
|
2677
2679
|
'expired',
|
|
2678
2680
|
'empty',
|
|
@@ -2680,11 +2682,25 @@ const factories = {
|
|
|
2680
2682
|
'unsupported_currency',
|
|
2681
2683
|
]),
|
|
2682
2684
|
|
|
2683
|
-
'io.flow.v0.enums.merchant_of_record': (): io.flow.v0.enums.MerchantOfRecord => faker.
|
|
2684
|
-
'io.flow.v0.enums.method': (): io.flow.v0.enums.Method => faker.random.arrayElement(['post']),
|
|
2685
|
-
'io.flow.v0.enums.onboarding_application_status': (): io.flow.v0.enums.OnboardingApplicationStatus => faker.random.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']),
|
|
2685
|
+
'io.flow.v0.enums.merchant_of_record': (): io.flow.v0.enums.MerchantOfRecord => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2686
2686
|
|
|
2687
|
-
'io.flow.v0.enums.
|
|
2687
|
+
'io.flow.v0.enums.merchant_rejected_reason': (): io.flow.v0.enums.MerchantRejectedReason => faker.helpers.arrayElement([
|
|
2688
|
+
'merchant_ubo_is_pep',
|
|
2689
|
+
'merchant_catalog_is_unsupportable',
|
|
2690
|
+
'merchant_failed_kyb_review',
|
|
2691
|
+
]),
|
|
2692
|
+
|
|
2693
|
+
'io.flow.v0.enums.method': (): io.flow.v0.enums.Method => faker.helpers.arrayElement(['post']),
|
|
2694
|
+
'io.flow.v0.enums.onboarding_application_status': (): io.flow.v0.enums.OnboardingApplicationStatus => faker.helpers.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']),
|
|
2695
|
+
|
|
2696
|
+
'io.flow.v0.enums.onboarding_blocked_reason': (): io.flow.v0.enums.OnboardingBlockedReason => faker.helpers.arrayElement([
|
|
2697
|
+
'street_address_is_blank_3pl',
|
|
2698
|
+
'street_address_is_po_box_3pl',
|
|
2699
|
+
'business_street_address_is_blank',
|
|
2700
|
+
'business_street_address_is_po_box',
|
|
2701
|
+
]),
|
|
2702
|
+
|
|
2703
|
+
'io.flow.v0.enums.onboarding_trade_sector': (): io.flow.v0.enums.OnboardingTradeSector => faker.helpers.arrayElement([
|
|
2688
2704
|
'accessories',
|
|
2689
2705
|
'animals_and_pet_supplies',
|
|
2690
2706
|
'apparel',
|
|
@@ -2716,10 +2732,10 @@ const factories = {
|
|
|
2716
2732
|
'other',
|
|
2717
2733
|
]),
|
|
2718
2734
|
|
|
2719
|
-
'io.flow.v0.enums.optin_response_type': (): io.flow.v0.enums.OptinResponseType => faker.
|
|
2720
|
-
'io.flow.v0.enums.order_change_source': (): io.flow.v0.enums.OrderChangeSource => faker.
|
|
2735
|
+
'io.flow.v0.enums.optin_response_type': (): io.flow.v0.enums.OptinResponseType => faker.helpers.arrayElement(['not_shown', 'opted_in', 'opted_out']),
|
|
2736
|
+
'io.flow.v0.enums.order_change_source': (): io.flow.v0.enums.OrderChangeSource => faker.helpers.arrayElement(['consumer', 'retailer', 'fulfillment', 'flow', 'carrier']),
|
|
2721
2737
|
|
|
2722
|
-
'io.flow.v0.enums.order_error_code': (): io.flow.v0.enums.OrderErrorCode => faker.
|
|
2738
|
+
'io.flow.v0.enums.order_error_code': (): io.flow.v0.enums.OrderErrorCode => faker.helpers.arrayElement([
|
|
2723
2739
|
'generic_error',
|
|
2724
2740
|
'order_item_not_available',
|
|
2725
2741
|
'order_identifier_error',
|
|
@@ -2736,9 +2752,9 @@ const factories = {
|
|
|
2736
2752
|
'total_changed',
|
|
2737
2753
|
]),
|
|
2738
2754
|
|
|
2739
|
-
'io.flow.v0.enums.order_merchant_of_record': (): io.flow.v0.enums.OrderMerchantOfRecord => faker.
|
|
2755
|
+
'io.flow.v0.enums.order_merchant_of_record': (): io.flow.v0.enums.OrderMerchantOfRecord => faker.helpers.arrayElement(['flow', 'organization', 'mixed']),
|
|
2740
2756
|
|
|
2741
|
-
'io.flow.v0.enums.order_payment_type': (): io.flow.v0.enums.OrderPaymentType => faker.
|
|
2757
|
+
'io.flow.v0.enums.order_payment_type': (): io.flow.v0.enums.OrderPaymentType => faker.helpers.arrayElement([
|
|
2742
2758
|
'card',
|
|
2743
2759
|
'online',
|
|
2744
2760
|
'credit',
|
|
@@ -2747,7 +2763,7 @@ const factories = {
|
|
|
2747
2763
|
'cash_on_delivery',
|
|
2748
2764
|
]),
|
|
2749
2765
|
|
|
2750
|
-
'io.flow.v0.enums.order_price_detail_component_key': (): io.flow.v0.enums.OrderPriceDetailComponentKey => faker.
|
|
2766
|
+
'io.flow.v0.enums.order_price_detail_component_key': (): io.flow.v0.enums.OrderPriceDetailComponentKey => faker.helpers.arrayElement([
|
|
2751
2767
|
'adjustment',
|
|
2752
2768
|
'vat_deminimis',
|
|
2753
2769
|
'duty_deminimis',
|
|
@@ -2779,7 +2795,7 @@ const factories = {
|
|
|
2779
2795
|
'duties_taxes_paid_surcharge',
|
|
2780
2796
|
]),
|
|
2781
2797
|
|
|
2782
|
-
'io.flow.v0.enums.order_price_detail_key': (): io.flow.v0.enums.OrderPriceDetailKey => faker.
|
|
2798
|
+
'io.flow.v0.enums.order_price_detail_key': (): io.flow.v0.enums.OrderPriceDetailKey => faker.helpers.arrayElement([
|
|
2783
2799
|
'adjustment',
|
|
2784
2800
|
'subtotal',
|
|
2785
2801
|
'vat',
|
|
@@ -2790,9 +2806,9 @@ const factories = {
|
|
|
2790
2806
|
'surcharges',
|
|
2791
2807
|
]),
|
|
2792
2808
|
|
|
2793
|
-
'io.flow.v0.enums.order_quote_address_type': (): io.flow.v0.enums.OrderQuoteAddressType => faker.
|
|
2809
|
+
'io.flow.v0.enums.order_quote_address_type': (): io.flow.v0.enums.OrderQuoteAddressType => faker.helpers.arrayElement(['shipping']),
|
|
2794
2810
|
|
|
2795
|
-
'io.flow.v0.enums.order_quote_error_code': (): io.flow.v0.enums.OrderQuoteErrorCode => faker.
|
|
2811
|
+
'io.flow.v0.enums.order_quote_error_code': (): io.flow.v0.enums.OrderQuoteErrorCode => faker.helpers.arrayElement([
|
|
2796
2812
|
'contact_email_invalid',
|
|
2797
2813
|
'contact_email_required',
|
|
2798
2814
|
'contact_phone_invalid',
|
|
@@ -2817,23 +2833,23 @@ const factories = {
|
|
|
2817
2833
|
'session_organization_mismatch',
|
|
2818
2834
|
]),
|
|
2819
2835
|
|
|
2820
|
-
'io.flow.v0.enums.order_quote_line_error_code': (): io.flow.v0.enums.OrderQuoteLineErrorCode => faker.
|
|
2836
|
+
'io.flow.v0.enums.order_quote_line_error_code': (): io.flow.v0.enums.OrderQuoteLineErrorCode => faker.helpers.arrayElement([
|
|
2821
2837
|
'line_item_number_invalid',
|
|
2822
2838
|
'line_item_number_not_available',
|
|
2823
2839
|
'line_quantity_invalid',
|
|
2824
2840
|
'line_value_threshold_exceeded',
|
|
2825
2841
|
]),
|
|
2826
2842
|
|
|
2827
|
-
'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.
|
|
2828
|
-
'io.flow.v0.enums.order_refund_summary_partial_charged': (): io.flow.v0.enums.OrderRefundSummaryPartialCharged => faker.
|
|
2829
|
-
'io.flow.v0.enums.order_status': (): io.flow.v0.enums.OrderStatus => faker.
|
|
2830
|
-
'io.flow.v0.enums.order_storage': (): io.flow.v0.enums.OrderStorage => faker.
|
|
2831
|
-
'io.flow.v0.enums.order_type': (): io.flow.v0.enums.OrderType => faker.
|
|
2832
|
-
'io.flow.v0.enums.organization_payment_method_tag': (): io.flow.v0.enums.OrganizationPaymentMethodTag => faker.
|
|
2833
|
-
'io.flow.v0.enums.organization_status': (): io.flow.v0.enums.OrganizationStatus => faker.
|
|
2834
|
-
'io.flow.v0.enums.organization_type': (): io.flow.v0.enums.OrganizationType => faker.
|
|
2843
|
+
'io.flow.v0.enums.order_refund_summary_includes': (): io.flow.v0.enums.OrderRefundSummaryIncludes => faker.helpers.arrayElement(['duties', 'vat', 'shipping']),
|
|
2844
|
+
'io.flow.v0.enums.order_refund_summary_partial_charged': (): io.flow.v0.enums.OrderRefundSummaryPartialCharged => faker.helpers.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']),
|
|
2845
|
+
'io.flow.v0.enums.order_status': (): io.flow.v0.enums.OrderStatus => faker.helpers.arrayElement(['open', 'submitted']),
|
|
2846
|
+
'io.flow.v0.enums.order_storage': (): io.flow.v0.enums.OrderStorage => faker.helpers.arrayElement(['do_not_persist', 'persist']),
|
|
2847
|
+
'io.flow.v0.enums.order_type': (): io.flow.v0.enums.OrderType => faker.helpers.arrayElement(['standard', 'replacement']),
|
|
2848
|
+
'io.flow.v0.enums.organization_payment_method_tag': (): io.flow.v0.enums.OrganizationPaymentMethodTag => faker.helpers.arrayElement(['deny']),
|
|
2849
|
+
'io.flow.v0.enums.organization_status': (): io.flow.v0.enums.OrganizationStatus => faker.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']),
|
|
2850
|
+
'io.flow.v0.enums.organization_type': (): io.flow.v0.enums.OrganizationType => faker.helpers.arrayElement(['standalone', 'channel']),
|
|
2835
2851
|
|
|
2836
|
-
'io.flow.v0.enums.payment_action_type': (): io.flow.v0.enums.PaymentActionType => faker.
|
|
2852
|
+
'io.flow.v0.enums.payment_action_type': (): io.flow.v0.enums.PaymentActionType => faker.helpers.arrayElement([
|
|
2837
2853
|
'redirect',
|
|
2838
2854
|
'redirect_get',
|
|
2839
2855
|
'redirect_post',
|
|
@@ -2849,7 +2865,7 @@ const factories = {
|
|
|
2849
2865
|
'display_inline_window',
|
|
2850
2866
|
]),
|
|
2851
2867
|
|
|
2852
|
-
'io.flow.v0.enums.payment_error_code': (): io.flow.v0.enums.PaymentErrorCode => faker.
|
|
2868
|
+
'io.flow.v0.enums.payment_error_code': (): io.flow.v0.enums.PaymentErrorCode => faker.helpers.arrayElement([
|
|
2853
2869
|
'duplicate',
|
|
2854
2870
|
'invalid_amount',
|
|
2855
2871
|
'invalid_currency',
|
|
@@ -2860,7 +2876,7 @@ const factories = {
|
|
|
2860
2876
|
'unknown',
|
|
2861
2877
|
]),
|
|
2862
2878
|
|
|
2863
|
-
'io.flow.v0.enums.payment_failure_code': (): io.flow.v0.enums.PaymentFailureCode => faker.
|
|
2879
|
+
'io.flow.v0.enums.payment_failure_code': (): io.flow.v0.enums.PaymentFailureCode => faker.helpers.arrayElement([
|
|
2864
2880
|
'action_expired',
|
|
2865
2881
|
'action_cancelled',
|
|
2866
2882
|
'action_failed',
|
|
@@ -2871,13 +2887,13 @@ const factories = {
|
|
|
2871
2887
|
'payment_checks_declined',
|
|
2872
2888
|
]),
|
|
2873
2889
|
|
|
2874
|
-
'io.flow.v0.enums.payment_method_capability': (): io.flow.v0.enums.PaymentMethodCapability => faker.
|
|
2875
|
-
'io.flow.v0.enums.payment_method_data_option_type': (): io.flow.v0.enums.PaymentMethodDataOptionType => faker.
|
|
2876
|
-
'io.flow.v0.enums.payment_method_rule_content_key': (): io.flow.v0.enums.PaymentMethodRuleContentKey => faker.
|
|
2877
|
-
'io.flow.v0.enums.payment_method_type': (): io.flow.v0.enums.PaymentMethodType => faker.
|
|
2878
|
-
'io.flow.v0.enums.payment_source_confirmation_action_type': (): io.flow.v0.enums.PaymentSourceConfirmationActionType => faker.
|
|
2890
|
+
'io.flow.v0.enums.payment_method_capability': (): io.flow.v0.enums.PaymentMethodCapability => faker.helpers.arrayElement(['credit', 'debit']),
|
|
2891
|
+
'io.flow.v0.enums.payment_method_data_option_type': (): io.flow.v0.enums.PaymentMethodDataOptionType => faker.helpers.arrayElement(['ideal_issuer_option']),
|
|
2892
|
+
'io.flow.v0.enums.payment_method_rule_content_key': (): io.flow.v0.enums.PaymentMethodRuleContentKey => faker.helpers.arrayElement(['description']),
|
|
2893
|
+
'io.flow.v0.enums.payment_method_type': (): io.flow.v0.enums.PaymentMethodType => faker.helpers.arrayElement(['card', 'online', 'offline']),
|
|
2894
|
+
'io.flow.v0.enums.payment_source_confirmation_action_type': (): io.flow.v0.enums.PaymentSourceConfirmationActionType => faker.helpers.arrayElement(['cvv', 'billing_address', 'number']),
|
|
2879
2895
|
|
|
2880
|
-
'io.flow.v0.enums.payment_status': (): io.flow.v0.enums.PaymentStatus => faker.
|
|
2896
|
+
'io.flow.v0.enums.payment_status': (): io.flow.v0.enums.PaymentStatus => faker.helpers.arrayElement([
|
|
2881
2897
|
'requires_payment_method',
|
|
2882
2898
|
'requires_action',
|
|
2883
2899
|
'processing',
|
|
@@ -2891,7 +2907,7 @@ const factories = {
|
|
|
2891
2907
|
'charged_back',
|
|
2892
2908
|
]),
|
|
2893
2909
|
|
|
2894
|
-
'io.flow.v0.enums.payment_type': (): io.flow.v0.enums.PaymentType => faker.
|
|
2910
|
+
'io.flow.v0.enums.payment_type': (): io.flow.v0.enums.PaymentType => faker.helpers.arrayElement([
|
|
2895
2911
|
'card',
|
|
2896
2912
|
'klarna',
|
|
2897
2913
|
'googlepay',
|
|
@@ -2903,14 +2919,14 @@ const factories = {
|
|
|
2903
2919
|
'bancontact',
|
|
2904
2920
|
]),
|
|
2905
2921
|
|
|
2906
|
-
'io.flow.v0.enums.payout_status_code': (): io.flow.v0.enums.PayoutStatusCode => faker.
|
|
2907
|
-
'io.flow.v0.enums.permitted_http_method': (): io.flow.v0.enums.PermittedHttpMethod => faker.
|
|
2908
|
-
'io.flow.v0.enums.physical_delivery_special_serivce': (): io.flow.v0.enums.PhysicalDeliverySpecialSerivce => faker.
|
|
2909
|
-
'io.flow.v0.enums.postal_type': (): io.flow.v0.enums.PostalType => faker.
|
|
2910
|
-
'io.flow.v0.enums.price_accuracy': (): io.flow.v0.enums.PriceAccuracy => faker.
|
|
2911
|
-
'io.flow.v0.enums.price_book_status': (): io.flow.v0.enums.PriceBookStatus => faker.
|
|
2922
|
+
'io.flow.v0.enums.payout_status_code': (): io.flow.v0.enums.PayoutStatusCode => faker.helpers.arrayElement(['scheduled', 'sent', 'cancelled', 'failed', 'succeeded']),
|
|
2923
|
+
'io.flow.v0.enums.permitted_http_method': (): io.flow.v0.enums.PermittedHttpMethod => faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']),
|
|
2924
|
+
'io.flow.v0.enums.physical_delivery_special_serivce': (): io.flow.v0.enums.PhysicalDeliverySpecialSerivce => faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']),
|
|
2925
|
+
'io.flow.v0.enums.postal_type': (): io.flow.v0.enums.PostalType => faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']),
|
|
2926
|
+
'io.flow.v0.enums.price_accuracy': (): io.flow.v0.enums.PriceAccuracy => faker.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']),
|
|
2927
|
+
'io.flow.v0.enums.price_book_status': (): io.flow.v0.enums.PriceBookStatus => faker.helpers.arrayElement(['draft', 'published', 'archived']),
|
|
2912
2928
|
|
|
2913
|
-
'io.flow.v0.enums.price_detail_component_key': (): io.flow.v0.enums.PriceDetailComponentKey => faker.
|
|
2929
|
+
'io.flow.v0.enums.price_detail_component_key': (): io.flow.v0.enums.PriceDetailComponentKey => faker.helpers.arrayElement([
|
|
2914
2930
|
'base_price',
|
|
2915
2931
|
'discount',
|
|
2916
2932
|
'currency_margin',
|
|
@@ -2935,12 +2951,12 @@ const factories = {
|
|
|
2935
2951
|
'duty_percent_sales_margin',
|
|
2936
2952
|
]),
|
|
2937
2953
|
|
|
2938
|
-
'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.
|
|
2939
|
-
'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.
|
|
2940
|
-
'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.
|
|
2941
|
-
'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.
|
|
2954
|
+
'io.flow.v0.enums.price_detail_key': (): io.flow.v0.enums.PriceDetailKey => faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']),
|
|
2955
|
+
'io.flow.v0.enums.price_facet_boundary': (): io.flow.v0.enums.PriceFacetBoundary => faker.helpers.arrayElement(['min', 'max']),
|
|
2956
|
+
'io.flow.v0.enums.pricing_levy_setting': (): io.flow.v0.enums.PricingLevySetting => faker.helpers.arrayElement(['included', 'displayed', 'ignored']),
|
|
2957
|
+
'io.flow.v0.enums.promotion_trigger_type': (): io.flow.v0.enums.PromotionTriggerType => faker.helpers.arrayElement(['automatic', 'order_subtotal']),
|
|
2942
2958
|
|
|
2943
|
-
'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.
|
|
2959
|
+
'io.flow.v0.enums.province_type': (): io.flow.v0.enums.ProvinceType => faker.helpers.arrayElement([
|
|
2944
2960
|
'area',
|
|
2945
2961
|
'city',
|
|
2946
2962
|
'county',
|
|
@@ -2962,16 +2978,16 @@ const factories = {
|
|
|
2962
2978
|
'other',
|
|
2963
2979
|
]),
|
|
2964
2980
|
|
|
2965
|
-
'io.flow.v0.enums.quote_error_code': (): io.flow.v0.enums.QuoteErrorCode => faker.
|
|
2966
|
-
'io.flow.v0.enums.ratecard_owner': (): io.flow.v0.enums.RatecardOwner => faker.
|
|
2967
|
-
'io.flow.v0.enums.refund_decline_code': (): io.flow.v0.enums.RefundDeclineCode => faker.
|
|
2968
|
-
'io.flow.v0.enums.refund_status': (): io.flow.v0.enums.RefundStatus => faker.
|
|
2969
|
-
'io.flow.v0.enums.region_type': (): io.flow.v0.enums.RegionType => faker.
|
|
2970
|
-
'io.flow.v0.enums.return_item_status': (): io.flow.v0.enums.ReturnItemStatus => faker.
|
|
2971
|
-
'io.flow.v0.enums.return_policy_state': (): io.flow.v0.enums.ReturnPolicyState => faker.
|
|
2972
|
-
'io.flow.v0.enums.return_status': (): io.flow.v0.enums.ReturnStatus => faker.
|
|
2981
|
+
'io.flow.v0.enums.quote_error_code': (): io.flow.v0.enums.QuoteErrorCode => faker.helpers.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']),
|
|
2982
|
+
'io.flow.v0.enums.ratecard_owner': (): io.flow.v0.enums.RatecardOwner => faker.helpers.arrayElement(['flow', 'organization']),
|
|
2983
|
+
'io.flow.v0.enums.refund_decline_code': (): io.flow.v0.enums.RefundDeclineCode => faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']),
|
|
2984
|
+
'io.flow.v0.enums.refund_status': (): io.flow.v0.enums.RefundStatus => faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']),
|
|
2985
|
+
'io.flow.v0.enums.region_type': (): io.flow.v0.enums.RegionType => faker.helpers.arrayElement(['state', 'province', 'jurisdiction']),
|
|
2986
|
+
'io.flow.v0.enums.return_item_status': (): io.flow.v0.enums.ReturnItemStatus => faker.helpers.arrayElement(['returnable', 'non-returnable']),
|
|
2987
|
+
'io.flow.v0.enums.return_policy_state': (): io.flow.v0.enums.ReturnPolicyState => faker.helpers.arrayElement(['current', 'deleting', 'updating']),
|
|
2988
|
+
'io.flow.v0.enums.return_status': (): io.flow.v0.enums.ReturnStatus => faker.helpers.arrayElement(['open', 'refunded']),
|
|
2973
2989
|
|
|
2974
|
-
'io.flow.v0.enums.return_tracking_status': (): io.flow.v0.enums.ReturnTrackingStatus => faker.
|
|
2990
|
+
'io.flow.v0.enums.return_tracking_status': (): io.flow.v0.enums.ReturnTrackingStatus => faker.helpers.arrayElement([
|
|
2975
2991
|
'awaiting_customs_clearance',
|
|
2976
2992
|
'cancel_requested',
|
|
2977
2993
|
'canceled',
|
|
@@ -2992,7 +3008,7 @@ const factories = {
|
|
|
2992
3008
|
'return_registered_online',
|
|
2993
3009
|
]),
|
|
2994
3010
|
|
|
2995
|
-
'io.flow.v0.enums.reversal_error_code': (): io.flow.v0.enums.ReversalErrorCode => faker.
|
|
3011
|
+
'io.flow.v0.enums.reversal_error_code': (): io.flow.v0.enums.ReversalErrorCode => faker.helpers.arrayElement([
|
|
2996
3012
|
'amount_exceeds_balance',
|
|
2997
3013
|
'authorization_declined',
|
|
2998
3014
|
'authorization_expired',
|
|
@@ -3005,27 +3021,27 @@ const factories = {
|
|
|
3005
3021
|
'unknown',
|
|
3006
3022
|
]),
|
|
3007
3023
|
|
|
3008
|
-
'io.flow.v0.enums.reversal_status': (): io.flow.v0.enums.ReversalStatus => faker.
|
|
3009
|
-
'io.flow.v0.enums.role': (): io.flow.v0.enums.Role => faker.
|
|
3010
|
-
'io.flow.v0.enums.rounding_method': (): io.flow.v0.enums.RoundingMethod => faker.
|
|
3011
|
-
'io.flow.v0.enums.rounding_type': (): io.flow.v0.enums.RoundingType => faker.
|
|
3012
|
-
'io.flow.v0.enums.schedule_exception_status': (): io.flow.v0.enums.ScheduleExceptionStatus => faker.
|
|
3013
|
-
'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.
|
|
3014
|
-
'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.
|
|
3015
|
-
'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.
|
|
3016
|
-
'io.flow.v0.enums.shopify_grant': (): io.flow.v0.enums.ShopifyGrant => faker.
|
|
3017
|
-
'io.flow.v0.enums.shopify_localization_method': (): io.flow.v0.enums.ShopifyLocalizationMethod => faker.
|
|
3018
|
-
'io.flow.v0.enums.shopify_sync_check': (): io.flow.v0.enums.ShopifySyncCheck => faker.
|
|
3019
|
-
'io.flow.v0.enums.sort_direction': (): io.flow.v0.enums.SortDirection => faker.
|
|
3020
|
-
'io.flow.v0.enums.strategy': (): io.flow.v0.enums.Strategy => faker.
|
|
3021
|
-
'io.flow.v0.enums.subcatalog_item_status': (): io.flow.v0.enums.SubcatalogItemStatus => faker.
|
|
3022
|
-
'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.
|
|
3023
|
-
'io.flow.v0.enums.sync_record_failure_reason': (): io.flow.v0.enums.SyncRecordFailureReason => faker.
|
|
3024
|
-
'io.flow.v0.enums.sync_stream_type': (): io.flow.v0.enums.SyncStreamType => faker.
|
|
3025
|
-
'io.flow.v0.enums.sync_unit_of_time': (): io.flow.v0.enums.SyncUnitOfTime => faker.
|
|
3026
|
-
'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.
|
|
3027
|
-
|
|
3028
|
-
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.
|
|
3024
|
+
'io.flow.v0.enums.reversal_status': (): io.flow.v0.enums.ReversalStatus => faker.helpers.arrayElement(['pending', 'processed', 'failed']),
|
|
3025
|
+
'io.flow.v0.enums.role': (): io.flow.v0.enums.Role => faker.helpers.arrayElement(['admin', 'member']),
|
|
3026
|
+
'io.flow.v0.enums.rounding_method': (): io.flow.v0.enums.RoundingMethod => faker.helpers.arrayElement(['up', 'down', 'nearest']),
|
|
3027
|
+
'io.flow.v0.enums.rounding_type': (): io.flow.v0.enums.RoundingType => faker.helpers.arrayElement(['pattern', 'multiple']),
|
|
3028
|
+
'io.flow.v0.enums.schedule_exception_status': (): io.flow.v0.enums.ScheduleExceptionStatus => faker.helpers.arrayElement(['Open', 'Closed']),
|
|
3029
|
+
'io.flow.v0.enums.shipment_integration_type': (): io.flow.v0.enums.ShipmentIntegrationType => faker.helpers.arrayElement(['direct', 'information', 'preadvice']),
|
|
3030
|
+
'io.flow.v0.enums.shipment_recipient': (): io.flow.v0.enums.ShipmentRecipient => faker.helpers.arrayElement(['customer', 'return', 'crossdock']),
|
|
3031
|
+
'io.flow.v0.enums.shipping_configuration_type': (): io.flow.v0.enums.ShippingConfigurationType => faker.helpers.arrayElement(['default', 'variant']),
|
|
3032
|
+
'io.flow.v0.enums.shopify_grant': (): io.flow.v0.enums.ShopifyGrant => faker.helpers.arrayElement(['customer', 'discount', 'gift_card', 'metafield', 'order']),
|
|
3033
|
+
'io.flow.v0.enums.shopify_localization_method': (): io.flow.v0.enums.ShopifyLocalizationMethod => faker.helpers.arrayElement(['api', 'ssr']),
|
|
3034
|
+
'io.flow.v0.enums.shopify_sync_check': (): io.flow.v0.enums.ShopifySyncCheck => faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']),
|
|
3035
|
+
'io.flow.v0.enums.sort_direction': (): io.flow.v0.enums.SortDirection => faker.helpers.arrayElement(['ascending', 'descending']),
|
|
3036
|
+
'io.flow.v0.enums.strategy': (): io.flow.v0.enums.Strategy => faker.helpers.arrayElement(['range', 'from', 'to']),
|
|
3037
|
+
'io.flow.v0.enums.subcatalog_item_status': (): io.flow.v0.enums.SubcatalogItemStatus => faker.helpers.arrayElement(['excluded', 'included', 'restricted']),
|
|
3038
|
+
'io.flow.v0.enums.surcharge_responsible_party': (): io.flow.v0.enums.SurchargeResponsibleParty => faker.helpers.arrayElement(['organization', 'customer']),
|
|
3039
|
+
'io.flow.v0.enums.sync_record_failure_reason': (): io.flow.v0.enums.SyncRecordFailureReason => faker.helpers.arrayElement(['inventory', 'address', 'promotion', 'other']),
|
|
3040
|
+
'io.flow.v0.enums.sync_stream_type': (): io.flow.v0.enums.SyncStreamType => faker.helpers.arrayElement(['submitted_order', 'placed_order']),
|
|
3041
|
+
'io.flow.v0.enums.sync_unit_of_time': (): io.flow.v0.enums.SyncUnitOfTime => faker.helpers.arrayElement(['day', 'hour', 'minute', 'second']),
|
|
3042
|
+
'io.flow.v0.enums.tax_applicability': (): io.flow.v0.enums.TaxApplicability => faker.helpers.arrayElement(['none', 'all']),
|
|
3043
|
+
|
|
3044
|
+
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': (): io.flow.v0.enums.TaxDutyCalculatorValidationErrorCode => faker.helpers.arrayElement([
|
|
3029
3045
|
'generic_error',
|
|
3030
3046
|
'destination_country_not_defined',
|
|
3031
3047
|
'destination_address_iso3166_unrecognized',
|
|
@@ -3049,19 +3065,19 @@ const factories = {
|
|
|
3049
3065
|
'wrong_unit_specified',
|
|
3050
3066
|
]),
|
|
3051
3067
|
|
|
3052
|
-
'io.flow.v0.enums.tax_report_type': (): io.flow.v0.enums.TaxReportType => faker.
|
|
3053
|
-
'io.flow.v0.enums.tax_verification_result': (): io.flow.v0.enums.TaxVerificationResult => faker.
|
|
3054
|
-
'io.flow.v0.enums.taxability_type': (): io.flow.v0.enums.TaxabilityType => faker.
|
|
3055
|
-
'io.flow.v0.enums.taxability_value': (): io.flow.v0.enums.TaxabilityValue => faker.
|
|
3056
|
-
'io.flow.v0.enums.three_d_secure_code': (): io.flow.v0.enums.ThreeDSecureCode => faker.
|
|
3057
|
-
'io.flow.v0.enums.threeds_two_challenge_viewport': (): io.flow.v0.enums.ThreedsTwoChallengeViewport => faker.
|
|
3058
|
-
'io.flow.v0.enums.tier_availability': (): io.flow.v0.enums.TierAvailability => faker.
|
|
3059
|
-
'io.flow.v0.enums.tier_estimate_type': (): io.flow.v0.enums.TierEstimateType => faker.
|
|
3060
|
-
'io.flow.v0.enums.tier_strategy': (): io.flow.v0.enums.TierStrategy => faker.
|
|
3061
|
-
'io.flow.v0.enums.token_type': (): io.flow.v0.enums.TokenType => faker.
|
|
3062
|
-
'io.flow.v0.enums.tracking_number_type': (): io.flow.v0.enums.TrackingNumberType => faker.
|
|
3063
|
-
|
|
3064
|
-
'io.flow.v0.enums.tracking_status': (): io.flow.v0.enums.TrackingStatus => faker.
|
|
3068
|
+
'io.flow.v0.enums.tax_report_type': (): io.flow.v0.enums.TaxReportType => faker.helpers.arrayElement(['consumer', 'b2b']),
|
|
3069
|
+
'io.flow.v0.enums.tax_verification_result': (): io.flow.v0.enums.TaxVerificationResult => faker.helpers.arrayElement(['valid', 'invalid', 'unable_to_validate']),
|
|
3070
|
+
'io.flow.v0.enums.taxability_type': (): io.flow.v0.enums.TaxabilityType => faker.helpers.arrayElement(['tax_rule']),
|
|
3071
|
+
'io.flow.v0.enums.taxability_value': (): io.flow.v0.enums.TaxabilityValue => faker.helpers.arrayElement(['exempt']),
|
|
3072
|
+
'io.flow.v0.enums.three_d_secure_code': (): io.flow.v0.enums.ThreeDSecureCode => faker.helpers.arrayElement(['verified', 'not_verified', 'failed']),
|
|
3073
|
+
'io.flow.v0.enums.threeds_two_challenge_viewport': (): io.flow.v0.enums.ThreedsTwoChallengeViewport => faker.helpers.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen']),
|
|
3074
|
+
'io.flow.v0.enums.tier_availability': (): io.flow.v0.enums.TierAvailability => faker.helpers.arrayElement(['always', 'backup']),
|
|
3075
|
+
'io.flow.v0.enums.tier_estimate_type': (): io.flow.v0.enums.TierEstimateType => faker.helpers.arrayElement(['calculated', 'custom']),
|
|
3076
|
+
'io.flow.v0.enums.tier_strategy': (): io.flow.v0.enums.TierStrategy => faker.helpers.arrayElement(['fastest', 'lowest_cost']),
|
|
3077
|
+
'io.flow.v0.enums.token_type': (): io.flow.v0.enums.TokenType => faker.helpers.arrayElement(['permanent', 'one_time']),
|
|
3078
|
+
'io.flow.v0.enums.tracking_number_type': (): io.flow.v0.enums.TrackingNumberType => faker.helpers.arrayElement(['flow', 'carrier']),
|
|
3079
|
+
|
|
3080
|
+
'io.flow.v0.enums.tracking_status': (): io.flow.v0.enums.TrackingStatus => faker.helpers.arrayElement([
|
|
3065
3081
|
'label_created',
|
|
3066
3082
|
'pending',
|
|
3067
3083
|
'info_received',
|
|
@@ -3075,10 +3091,10 @@ const factories = {
|
|
|
3075
3091
|
'expired',
|
|
3076
3092
|
]),
|
|
3077
3093
|
|
|
3078
|
-
'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.
|
|
3079
|
-
'io.flow.v0.enums.trade_agreement_status': (): io.flow.v0.enums.TradeAgreementStatus => faker.
|
|
3094
|
+
'io.flow.v0.enums.trade_agreement_name': (): io.flow.v0.enums.TradeAgreementName => faker.helpers.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']),
|
|
3095
|
+
'io.flow.v0.enums.trade_agreement_status': (): io.flow.v0.enums.TradeAgreementStatus => faker.helpers.arrayElement(['supported', 'not_supported']),
|
|
3080
3096
|
|
|
3081
|
-
'io.flow.v0.enums.transaction_source': (): io.flow.v0.enums.TransactionSource => faker.
|
|
3097
|
+
'io.flow.v0.enums.transaction_source': (): io.flow.v0.enums.TransactionSource => faker.helpers.arrayElement([
|
|
3082
3098
|
'capture',
|
|
3083
3099
|
'refund',
|
|
3084
3100
|
'dispute',
|
|
@@ -3087,15 +3103,18 @@ const factories = {
|
|
|
3087
3103
|
'shipping_label_service',
|
|
3088
3104
|
'shipping_label_revenue_share',
|
|
3089
3105
|
'platform_fee',
|
|
3106
|
+
'tax',
|
|
3107
|
+
'duties',
|
|
3090
3108
|
'other_adjustment',
|
|
3091
3109
|
'tax_adjustment',
|
|
3092
3110
|
'channel',
|
|
3111
|
+
'channel_billed',
|
|
3093
3112
|
'order_service',
|
|
3094
3113
|
'virtual_card_capture',
|
|
3095
3114
|
'virtual_card_refund',
|
|
3096
3115
|
]),
|
|
3097
3116
|
|
|
3098
|
-
'io.flow.v0.enums.unit_of_measurement': (): io.flow.v0.enums.UnitOfMeasurement => faker.
|
|
3117
|
+
'io.flow.v0.enums.unit_of_measurement': (): io.flow.v0.enums.UnitOfMeasurement => faker.helpers.arrayElement([
|
|
3099
3118
|
'millimeter',
|
|
3100
3119
|
'centimeter',
|
|
3101
3120
|
'inch',
|
|
@@ -3109,17 +3128,17 @@ const factories = {
|
|
|
3109
3128
|
'pound',
|
|
3110
3129
|
]),
|
|
3111
3130
|
|
|
3112
|
-
'io.flow.v0.enums.unit_of_time': (): io.flow.v0.enums.UnitOfTime => faker.
|
|
3113
|
-
'io.flow.v0.enums.update_policy': (): io.flow.v0.enums.UpdatePolicy => faker.
|
|
3114
|
-
'io.flow.v0.enums.update_type': (): io.flow.v0.enums.UpdateType => faker.
|
|
3115
|
-
'io.flow.v0.enums.user_status': (): io.flow.v0.enums.UserStatus => faker.
|
|
3116
|
-
'io.flow.v0.enums.value_added_service': (): io.flow.v0.enums.ValueAddedService => faker.
|
|
3117
|
-
'io.flow.v0.enums.visibility': (): io.flow.v0.enums.Visibility => faker.
|
|
3118
|
-
'io.flow.v0.enums.webhook_status': (): io.flow.v0.enums.WebhookStatus => faker.
|
|
3119
|
-
'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.
|
|
3120
|
-
'io.flow.v0.enums.zero_amount_indicator': (): io.flow.v0.enums.ZeroAmountIndicator => faker.
|
|
3121
|
-
|
|
3122
|
-
'io.flow.v0.enums.zero_levy_reason_code': (): io.flow.v0.enums.ZeroLevyReasonCode => faker.
|
|
3131
|
+
'io.flow.v0.enums.unit_of_time': (): io.flow.v0.enums.UnitOfTime => faker.helpers.arrayElement(['year', 'month', 'week', 'day', 'hour', 'minute']),
|
|
3132
|
+
'io.flow.v0.enums.update_policy': (): io.flow.v0.enums.UpdatePolicy => faker.helpers.arrayElement(['auto', 'queue', 'discard']),
|
|
3133
|
+
'io.flow.v0.enums.update_type': (): io.flow.v0.enums.UpdateType => faker.helpers.arrayElement(['change', 'set']),
|
|
3134
|
+
'io.flow.v0.enums.user_status': (): io.flow.v0.enums.UserStatus => faker.helpers.arrayElement(['pending', 'active', 'inactive']),
|
|
3135
|
+
'io.flow.v0.enums.value_added_service': (): io.flow.v0.enums.ValueAddedService => faker.helpers.arrayElement(['Hazardous Material']),
|
|
3136
|
+
'io.flow.v0.enums.visibility': (): io.flow.v0.enums.Visibility => faker.helpers.arrayElement(['public', 'private']),
|
|
3137
|
+
'io.flow.v0.enums.webhook_status': (): io.flow.v0.enums.WebhookStatus => faker.helpers.arrayElement(['pending', 'success', 'failure']),
|
|
3138
|
+
'io.flow.v0.enums.withholding_deduction_type': (): io.flow.v0.enums.WithholdingDeductionType => faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']),
|
|
3139
|
+
'io.flow.v0.enums.zero_amount_indicator': (): io.flow.v0.enums.ZeroAmountIndicator => faker.helpers.arrayElement(['zero', 'free']),
|
|
3140
|
+
|
|
3141
|
+
'io.flow.v0.enums.zero_levy_reason_code': (): io.flow.v0.enums.ZeroLevyReasonCode => faker.helpers.arrayElement([
|
|
3123
3142
|
'zero_basis',
|
|
3124
3143
|
'zero_rate_on_goods',
|
|
3125
3144
|
'value_rounds_to_zero',
|
|
@@ -3308,6 +3327,10 @@ const factories = {
|
|
|
3308
3327
|
expires_at: factories.date_time_iso_8601(),
|
|
3309
3328
|
}),
|
|
3310
3329
|
|
|
3330
|
+
'io.flow.v0.models.activation_put_form': (): io.flow.v0.models.ActivationPutForm => ({
|
|
3331
|
+
placeholder: factories.boolean(),
|
|
3332
|
+
}),
|
|
3333
|
+
|
|
3311
3334
|
'io.flow.v0.models.address': (): io.flow.v0.models.Address => ({
|
|
3312
3335
|
text: factories.string(),
|
|
3313
3336
|
streets: arrayOf(() => factories.string()),
|
|
@@ -3547,6 +3570,11 @@ const factories = {
|
|
|
3547
3570
|
display_name: factories.string(),
|
|
3548
3571
|
}),
|
|
3549
3572
|
|
|
3573
|
+
'io.flow.v0.models.application_received': (): io.flow.v0.models.ApplicationReceived => ({
|
|
3574
|
+
discriminator: 'application_received',
|
|
3575
|
+
placeholder: factories.boolean(),
|
|
3576
|
+
}),
|
|
3577
|
+
|
|
3550
3578
|
'io.flow.v0.models.at_cost': (): io.flow.v0.models.AtCost => ({
|
|
3551
3579
|
discriminator: 'at_cost',
|
|
3552
3580
|
ignore: factories.string(),
|
|
@@ -4623,6 +4651,14 @@ const factories = {
|
|
|
4623
4651
|
channel_transaction: factories['io.flow.v0.models.channel_transaction'](),
|
|
4624
4652
|
}),
|
|
4625
4653
|
|
|
4654
|
+
'io.flow.v0.models.channel_transaction_deleted_v2': (): io.flow.v0.models.ChannelTransactionDeletedV2 => ({
|
|
4655
|
+
discriminator: 'channel_transaction_deleted_v2',
|
|
4656
|
+
event_id: factories.string(),
|
|
4657
|
+
timestamp: factories.date_time_iso_8601(),
|
|
4658
|
+
channel_id: factories.string(),
|
|
4659
|
+
id: factories.string(),
|
|
4660
|
+
}),
|
|
4661
|
+
|
|
4626
4662
|
'io.flow.v0.models.channel_transaction_upserted': (): io.flow.v0.models.ChannelTransactionUpserted => ({
|
|
4627
4663
|
discriminator: 'channel_transaction_upserted',
|
|
4628
4664
|
event_id: factories.string(),
|
|
@@ -6757,6 +6793,11 @@ const factories = {
|
|
|
6757
6793
|
'import': factories['io.flow.v0.models.import'](),
|
|
6758
6794
|
}),
|
|
6759
6795
|
|
|
6796
|
+
'io.flow.v0.models.in_compliance_review': (): io.flow.v0.models.InComplianceReview => ({
|
|
6797
|
+
discriminator: 'in_compliance_review',
|
|
6798
|
+
placeholder: factories.boolean(),
|
|
6799
|
+
}),
|
|
6800
|
+
|
|
6760
6801
|
'io.flow.v0.models.inbound_carton_fee': (): io.flow.v0.models.InboundCartonFee => ({
|
|
6761
6802
|
discriminator: 'inbound_carton_fee',
|
|
6762
6803
|
amount: factories['io.flow.v0.models.money'](),
|
|
@@ -7665,6 +7706,11 @@ const factories = {
|
|
|
7665
7706
|
membership: factories['io.flow.v0.models.membership'](),
|
|
7666
7707
|
}),
|
|
7667
7708
|
|
|
7709
|
+
'io.flow.v0.models.merchant_activated': (): io.flow.v0.models.MerchantActivated => ({
|
|
7710
|
+
discriminator: 'merchant_activated',
|
|
7711
|
+
placeholder: factories.boolean(),
|
|
7712
|
+
}),
|
|
7713
|
+
|
|
7668
7714
|
'io.flow.v0.models.merchant_application_deleted': (): io.flow.v0.models.MerchantApplicationDeleted => ({
|
|
7669
7715
|
discriminator: 'merchant_application_deleted',
|
|
7670
7716
|
event_id: factories.string(),
|
|
@@ -7773,6 +7819,12 @@ const factories = {
|
|
|
7773
7819
|
country: factories.string(),
|
|
7774
7820
|
}),
|
|
7775
7821
|
|
|
7822
|
+
'io.flow.v0.models.merchant_rejected': (): io.flow.v0.models.MerchantRejected => ({
|
|
7823
|
+
discriminator: 'merchant_rejected',
|
|
7824
|
+
reason: factories['io.flow.v0.enums.merchant_rejected_reason'](),
|
|
7825
|
+
description: factories.string(),
|
|
7826
|
+
}),
|
|
7827
|
+
|
|
7776
7828
|
'io.flow.v0.models.money': (): io.flow.v0.models.Money => ({
|
|
7777
7829
|
amount: factories.double(),
|
|
7778
7830
|
currency: factories.string(),
|
|
@@ -7870,6 +7922,11 @@ const factories = {
|
|
|
7870
7922
|
status: factories['io.flow.v0.enums.organization_status'](),
|
|
7871
7923
|
}),
|
|
7872
7924
|
|
|
7925
|
+
'io.flow.v0.models.onboarding_state_transition': (): io.flow.v0.models.OnboardingStateTransition => ({
|
|
7926
|
+
state: factories['io.flow.v0.unions.onboarding_state'](),
|
|
7927
|
+
started_at: factories.date_time_iso_8601(),
|
|
7928
|
+
}),
|
|
7929
|
+
|
|
7873
7930
|
'io.flow.v0.models.online_authorization': (): io.flow.v0.models.OnlineAuthorization => ({
|
|
7874
7931
|
discriminator: 'online_authorization',
|
|
7875
7932
|
id: factories.string(),
|
|
@@ -8791,6 +8848,12 @@ const factories = {
|
|
|
8791
8848
|
type: factories['io.flow.v0.enums.organization_type'](),
|
|
8792
8849
|
}),
|
|
8793
8850
|
|
|
8851
|
+
'io.flow.v0.models.organization_onboarding_state': (): io.flow.v0.models.OrganizationOnboardingState => ({
|
|
8852
|
+
organization: factories['io.flow.v0.models.organization_reference'](),
|
|
8853
|
+
transitions: arrayOf(() => factories['io.flow.v0.models.onboarding_state_transition']()),
|
|
8854
|
+
current_state: factories['io.flow.v0.unions.onboarding_state'](),
|
|
8855
|
+
}),
|
|
8856
|
+
|
|
8794
8857
|
'io.flow.v0.models.organization_put_form': (): io.flow.v0.models.OrganizationPutForm => ({
|
|
8795
8858
|
name: factories.string(),
|
|
8796
8859
|
environment: factories['io.flow.v0.enums.environment'](),
|
|
@@ -8891,6 +8954,22 @@ const factories = {
|
|
|
8891
8954
|
organization: factories['io.flow.v0.models.organization_reference'](),
|
|
8892
8955
|
}),
|
|
8893
8956
|
|
|
8957
|
+
'io.flow.v0.models.organization_transaction_deleted': (): io.flow.v0.models.OrganizationTransactionDeleted => ({
|
|
8958
|
+
discriminator: 'organization_transaction_deleted',
|
|
8959
|
+
event_id: factories.string(),
|
|
8960
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8961
|
+
organization: factories.string(),
|
|
8962
|
+
id: factories.string(),
|
|
8963
|
+
}),
|
|
8964
|
+
|
|
8965
|
+
'io.flow.v0.models.organization_transaction_upserted': (): io.flow.v0.models.OrganizationTransactionUpserted => ({
|
|
8966
|
+
discriminator: 'organization_transaction_upserted',
|
|
8967
|
+
event_id: factories.string(),
|
|
8968
|
+
timestamp: factories.date_time_iso_8601(),
|
|
8969
|
+
organization: factories.string(),
|
|
8970
|
+
transaction: factories['io.flow.v0.models.transaction'](),
|
|
8971
|
+
}),
|
|
8972
|
+
|
|
8894
8973
|
'io.flow.v0.models.organization_upserted': (): io.flow.v0.models.OrganizationUpserted => ({
|
|
8895
8974
|
discriminator: 'organization_upserted',
|
|
8896
8975
|
event_id: factories.string(),
|
|
@@ -10968,6 +11047,21 @@ const factories = {
|
|
|
10968
11047
|
id: factories.string(),
|
|
10969
11048
|
}),
|
|
10970
11049
|
|
|
11050
|
+
'io.flow.v0.models.setup_blocked': (): io.flow.v0.models.SetupBlocked => ({
|
|
11051
|
+
discriminator: 'setup_blocked',
|
|
11052
|
+
reasons: arrayOf(() => factories['io.flow.v0.enums.onboarding_blocked_reason']()),
|
|
11053
|
+
}),
|
|
11054
|
+
|
|
11055
|
+
'io.flow.v0.models.setup_completed': (): io.flow.v0.models.SetupCompleted => ({
|
|
11056
|
+
discriminator: 'setup_completed',
|
|
11057
|
+
placeholder: factories.boolean(),
|
|
11058
|
+
}),
|
|
11059
|
+
|
|
11060
|
+
'io.flow.v0.models.setup_in_progress': (): io.flow.v0.models.SetupInProgress => ({
|
|
11061
|
+
discriminator: 'setup_in_progress',
|
|
11062
|
+
placeholder: factories.boolean(),
|
|
11063
|
+
}),
|
|
11064
|
+
|
|
10971
11065
|
'io.flow.v0.models.shipment_window': (): io.flow.v0.models.ShipmentWindow => ({
|
|
10972
11066
|
from: factories.long(),
|
|
10973
11067
|
to: factories.long(),
|
|
@@ -11120,6 +11214,7 @@ const factories = {
|
|
|
11120
11214
|
'io.flow.v0.models.shipping_label_document': (): io.flow.v0.models.ShippingLabelDocument => ({
|
|
11121
11215
|
zpl: factories.string(),
|
|
11122
11216
|
pdf: factories.string(),
|
|
11217
|
+
pdf_data: factories.string(),
|
|
11123
11218
|
png: factories.string(),
|
|
11124
11219
|
html: factories.string(),
|
|
11125
11220
|
required: factories.boolean(),
|
|
@@ -12346,14 +12441,6 @@ const factories = {
|
|
|
12346
12441
|
created_at: factories.date_time_iso_8601(),
|
|
12347
12442
|
}),
|
|
12348
12443
|
|
|
12349
|
-
'io.flow.v0.models.transaction_deleted': (): io.flow.v0.models.TransactionDeleted => ({
|
|
12350
|
-
discriminator: 'transaction_deleted',
|
|
12351
|
-
event_id: factories.string(),
|
|
12352
|
-
timestamp: factories.date_time_iso_8601(),
|
|
12353
|
-
organization: factories.string(),
|
|
12354
|
-
transaction: factories['io.flow.v0.models.transaction'](),
|
|
12355
|
-
}),
|
|
12356
|
-
|
|
12357
12444
|
'io.flow.v0.models.transaction_upserted': (): io.flow.v0.models.TransactionUpserted => ({
|
|
12358
12445
|
discriminator: 'transaction_upserted',
|
|
12359
12446
|
event_id: factories.string(),
|
|
@@ -12598,7 +12685,7 @@ const factories = {
|
|
|
12598
12685
|
}),
|
|
12599
12686
|
|
|
12600
12687
|
'io.flow.v0.unions.abandoned_order_promotion_details': (): io.flow.v0.unions.AbandonedOrderPromotionDetails => {
|
|
12601
|
-
const f = faker.
|
|
12688
|
+
const f = faker.helpers.arrayElement([
|
|
12602
12689
|
() => factories['io.flow.v0.models.abandoned_order_promotion_discount_details'](),
|
|
12603
12690
|
]);
|
|
12604
12691
|
|
|
@@ -12606,7 +12693,7 @@ const factories = {
|
|
|
12606
12693
|
},
|
|
12607
12694
|
|
|
12608
12695
|
'io.flow.v0.unions.action': (): io.flow.v0.unions.Action => {
|
|
12609
|
-
const f = faker.
|
|
12696
|
+
const f = faker.helpers.arrayElement([
|
|
12610
12697
|
() => factories['io.flow.v0.models.action_redirect'](),
|
|
12611
12698
|
() => factories['io.flow.v0.models.action_use_sdk_klarna_v1'](),
|
|
12612
12699
|
() => factories['io.flow.v0.models.action_use_sdk_applepay_js_create_session'](),
|
|
@@ -12626,7 +12713,7 @@ const factories = {
|
|
|
12626
12713
|
},
|
|
12627
12714
|
|
|
12628
12715
|
'io.flow.v0.unions.adyen_native_data': (): io.flow.v0.unions.AdyenNativeData => {
|
|
12629
|
-
const f = faker.
|
|
12716
|
+
const f = faker.helpers.arrayElement([
|
|
12630
12717
|
() => factories['io.flow.v0.models.adyen_identify_shopper_data'](),
|
|
12631
12718
|
() => factories['io.flow.v0.models.adyen_challenge_shopper_data'](),
|
|
12632
12719
|
]);
|
|
@@ -12635,7 +12722,7 @@ const factories = {
|
|
|
12635
12722
|
},
|
|
12636
12723
|
|
|
12637
12724
|
'io.flow.v0.unions.allocation_component': (): io.flow.v0.unions.AllocationComponent => {
|
|
12638
|
-
const f = faker.
|
|
12725
|
+
const f = faker.helpers.arrayElement([
|
|
12639
12726
|
() => factories['io.flow.v0.models.allocation_detail_component'](),
|
|
12640
12727
|
() => factories['io.flow.v0.models.allocation_levy_component'](),
|
|
12641
12728
|
]);
|
|
@@ -12644,7 +12731,7 @@ const factories = {
|
|
|
12644
12731
|
},
|
|
12645
12732
|
|
|
12646
12733
|
'io.flow.v0.unions.allocation_detail': (): io.flow.v0.unions.AllocationDetail => {
|
|
12647
|
-
const f = faker.
|
|
12734
|
+
const f = faker.helpers.arrayElement([
|
|
12648
12735
|
() => factories['io.flow.v0.models.allocation_line_detail'](),
|
|
12649
12736
|
() => factories['io.flow.v0.models.allocation_order_detail'](),
|
|
12650
12737
|
]);
|
|
@@ -12653,7 +12740,7 @@ const factories = {
|
|
|
12653
12740
|
},
|
|
12654
12741
|
|
|
12655
12742
|
'io.flow.v0.unions.authorization': (): io.flow.v0.unions.Authorization => {
|
|
12656
|
-
const f = faker.
|
|
12743
|
+
const f = faker.helpers.arrayElement([
|
|
12657
12744
|
() => factories['io.flow.v0.models.card_authorization'](),
|
|
12658
12745
|
() => factories['io.flow.v0.models.online_authorization'](),
|
|
12659
12746
|
]);
|
|
@@ -12662,7 +12749,7 @@ const factories = {
|
|
|
12662
12749
|
},
|
|
12663
12750
|
|
|
12664
12751
|
'io.flow.v0.unions.authorization_form': (): io.flow.v0.unions.AuthorizationForm => {
|
|
12665
|
-
const f = faker.
|
|
12752
|
+
const f = faker.helpers.arrayElement([
|
|
12666
12753
|
() => factories['io.flow.v0.models.authorization_copy_form'](),
|
|
12667
12754
|
() => factories['io.flow.v0.models.direct_authorization_form'](),
|
|
12668
12755
|
() => factories['io.flow.v0.models.merchant_of_record_authorization_form'](),
|
|
@@ -12678,7 +12765,7 @@ const factories = {
|
|
|
12678
12765
|
},
|
|
12679
12766
|
|
|
12680
12767
|
'io.flow.v0.unions.authorization_payload_parameters': (): io.flow.v0.unions.AuthorizationPayloadParameters => {
|
|
12681
|
-
const f = faker.
|
|
12768
|
+
const f = faker.helpers.arrayElement([
|
|
12682
12769
|
() => factories['io.flow.v0.models.google_pay_authorization_payload'](),
|
|
12683
12770
|
() => factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](),
|
|
12684
12771
|
]);
|
|
@@ -12687,7 +12774,7 @@ const factories = {
|
|
|
12687
12774
|
},
|
|
12688
12775
|
|
|
12689
12776
|
'io.flow.v0.unions.authorization_result_action': (): io.flow.v0.unions.AuthorizationResultAction => {
|
|
12690
|
-
const f = faker.
|
|
12777
|
+
const f = faker.helpers.arrayElement([
|
|
12691
12778
|
() => factories['io.flow.v0.models.authorization_result_action_get'](),
|
|
12692
12779
|
() => factories['io.flow.v0.models.authorization_result_action_post'](),
|
|
12693
12780
|
() => factories['io.flow.v0.models.authorization_result_action_wait'](),
|
|
@@ -12698,7 +12785,7 @@ const factories = {
|
|
|
12698
12785
|
},
|
|
12699
12786
|
|
|
12700
12787
|
'io.flow.v0.unions.authorization_result_action_details': (): io.flow.v0.unions.AuthorizationResultActionDetails => {
|
|
12701
|
-
const f = faker.
|
|
12788
|
+
const f = faker.helpers.arrayElement([
|
|
12702
12789
|
() => factories['io.flow.v0.models.adyen_native_action_details'](),
|
|
12703
12790
|
() => factories['io.flow.v0.models.stripe_authorization_result_action_details'](),
|
|
12704
12791
|
() => factories['io.flow.v0.models.threeds_identify_action_details'](),
|
|
@@ -12711,7 +12798,7 @@ const factories = {
|
|
|
12711
12798
|
},
|
|
12712
12799
|
|
|
12713
12800
|
'io.flow.v0.unions.available_filter': (): io.flow.v0.unions.AvailableFilter => {
|
|
12714
|
-
const f = faker.
|
|
12801
|
+
const f = faker.helpers.arrayElement([
|
|
12715
12802
|
() => factories['io.flow.v0.models.available_filter_structured'](),
|
|
12716
12803
|
() => factories['io.flow.v0.models.available_filter_unstructured'](),
|
|
12717
12804
|
]);
|
|
@@ -12720,17 +12807,17 @@ const factories = {
|
|
|
12720
12807
|
},
|
|
12721
12808
|
|
|
12722
12809
|
'io.flow.v0.unions.bank_account_info': (): io.flow.v0.unions.BankAccountInfo => {
|
|
12723
|
-
const f = faker.
|
|
12810
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.bank_account_info_usa']()]);
|
|
12724
12811
|
return f();
|
|
12725
12812
|
},
|
|
12726
12813
|
|
|
12727
12814
|
'io.flow.v0.unions.browser_action_configuration': (): io.flow.v0.unions.BrowserActionConfiguration => {
|
|
12728
|
-
const f = faker.
|
|
12815
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_browser_action_configuration']()]);
|
|
12729
12816
|
return f();
|
|
12730
12817
|
},
|
|
12731
12818
|
|
|
12732
12819
|
'io.flow.v0.unions.card_authorization_action_result': (): io.flow.v0.unions.CardAuthorizationActionResult => {
|
|
12733
|
-
const f = faker.
|
|
12820
|
+
const f = faker.helpers.arrayElement([
|
|
12734
12821
|
() => factories['io.flow.v0.models.authorization_action_result_adyen_v3'](),
|
|
12735
12822
|
() => factories['io.flow.v0.models.authorization_action_result_adyen_v4'](),
|
|
12736
12823
|
]);
|
|
@@ -12739,7 +12826,7 @@ const factories = {
|
|
|
12739
12826
|
},
|
|
12740
12827
|
|
|
12741
12828
|
'io.flow.v0.unions.card_number': (): io.flow.v0.unions.CardNumber => {
|
|
12742
|
-
const f = faker.
|
|
12829
|
+
const f = faker.helpers.arrayElement([
|
|
12743
12830
|
() => factories['io.flow.v0.models.payment_method_card_number_cleartext'](),
|
|
12744
12831
|
() => factories['io.flow.v0.models.payment_method_card_number_cipher'](),
|
|
12745
12832
|
]);
|
|
@@ -12748,7 +12835,7 @@ const factories = {
|
|
|
12748
12835
|
},
|
|
12749
12836
|
|
|
12750
12837
|
'io.flow.v0.unions.checkout_token_form': (): io.flow.v0.unions.CheckoutTokenForm => {
|
|
12751
|
-
const f = faker.
|
|
12838
|
+
const f = faker.helpers.arrayElement([
|
|
12752
12839
|
() => factories['io.flow.v0.models.checkout_token_order_form'](),
|
|
12753
12840
|
() => factories['io.flow.v0.models.checkout_token_reference_form'](),
|
|
12754
12841
|
]);
|
|
@@ -12757,12 +12844,12 @@ const factories = {
|
|
|
12757
12844
|
},
|
|
12758
12845
|
|
|
12759
12846
|
'io.flow.v0.unions.confirmation_details': (): io.flow.v0.unions.ConfirmationDetails => {
|
|
12760
|
-
const f = faker.
|
|
12847
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.direct_debit']()]);
|
|
12761
12848
|
return f();
|
|
12762
12849
|
},
|
|
12763
12850
|
|
|
12764
12851
|
'io.flow.v0.unions.consumer_invoice_line': (): io.flow.v0.unions.ConsumerInvoiceLine => {
|
|
12765
|
-
const f = faker.
|
|
12852
|
+
const f = faker.helpers.arrayElement([
|
|
12766
12853
|
() => factories['io.flow.v0.models.consumer_invoice_line_item'](),
|
|
12767
12854
|
() => factories['io.flow.v0.models.consumer_invoice_line_discount'](),
|
|
12768
12855
|
() => factories['io.flow.v0.models.consumer_invoice_line_shipping'](),
|
|
@@ -12772,7 +12859,7 @@ const factories = {
|
|
|
12772
12859
|
},
|
|
12773
12860
|
|
|
12774
12861
|
'io.flow.v0.unions.consumer_invoice_line_form': (): io.flow.v0.unions.ConsumerInvoiceLineForm => {
|
|
12775
|
-
const f = faker.
|
|
12862
|
+
const f = faker.helpers.arrayElement([
|
|
12776
12863
|
() => factories['io.flow.v0.models.consumer_invoice_line_item_form'](),
|
|
12777
12864
|
() => factories['io.flow.v0.models.consumer_invoice_line_discount_form'](),
|
|
12778
12865
|
() => factories['io.flow.v0.models.consumer_invoice_line_shipping_form'](),
|
|
@@ -12782,7 +12869,7 @@ const factories = {
|
|
|
12782
12869
|
},
|
|
12783
12870
|
|
|
12784
12871
|
'io.flow.v0.unions.delivery': (): io.flow.v0.unions.Delivery => {
|
|
12785
|
-
const f = faker.
|
|
12872
|
+
const f = faker.helpers.arrayElement([
|
|
12786
12873
|
() => factories['io.flow.v0.models.digital_delivery'](),
|
|
12787
12874
|
() => factories['io.flow.v0.models.physical_delivery'](),
|
|
12788
12875
|
]);
|
|
@@ -12791,7 +12878,7 @@ const factories = {
|
|
|
12791
12878
|
},
|
|
12792
12879
|
|
|
12793
12880
|
'io.flow.v0.unions.deminimis': (): io.flow.v0.unions.Deminimis => {
|
|
12794
|
-
const f = faker.
|
|
12881
|
+
const f = faker.helpers.arrayElement([
|
|
12795
12882
|
() => factories['io.flow.v0.models.deminimis_simple'](),
|
|
12796
12883
|
() => factories['io.flow.v0.models.deminimis_per_item'](),
|
|
12797
12884
|
]);
|
|
@@ -12800,12 +12887,12 @@ const factories = {
|
|
|
12800
12887
|
},
|
|
12801
12888
|
|
|
12802
12889
|
'io.flow.v0.unions.device_details': (): io.flow.v0.unions.DeviceDetails => {
|
|
12803
|
-
const f = faker.
|
|
12890
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.device_details_browser']()]);
|
|
12804
12891
|
return f();
|
|
12805
12892
|
},
|
|
12806
12893
|
|
|
12807
12894
|
'io.flow.v0.unions.device_fingerprint_details': (): io.flow.v0.unions.DeviceFingerprintDetails => {
|
|
12808
|
-
const f = faker.
|
|
12895
|
+
const f = faker.helpers.arrayElement(
|
|
12809
12896
|
[() => factories['io.flow.v0.models.device_fingerprint_details_browser']()],
|
|
12810
12897
|
);
|
|
12811
12898
|
|
|
@@ -12813,7 +12900,7 @@ const factories = {
|
|
|
12813
12900
|
},
|
|
12814
12901
|
|
|
12815
12902
|
'io.flow.v0.unions.discount_offer': (): io.flow.v0.unions.DiscountOffer => {
|
|
12816
|
-
const f = faker.
|
|
12903
|
+
const f = faker.helpers.arrayElement([
|
|
12817
12904
|
() => factories['io.flow.v0.models.discount_offer_fixed'](),
|
|
12818
12905
|
() => factories['io.flow.v0.models.discount_offer_percent'](),
|
|
12819
12906
|
]);
|
|
@@ -12822,12 +12909,12 @@ const factories = {
|
|
|
12822
12909
|
},
|
|
12823
12910
|
|
|
12824
12911
|
'io.flow.v0.unions.discount_rule_entitlement': (): io.flow.v0.unions.DiscountRuleEntitlement => {
|
|
12825
|
-
const f = faker.
|
|
12912
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.discount_rule_subsidy_entitlement']()]);
|
|
12826
12913
|
return f();
|
|
12827
12914
|
},
|
|
12828
12915
|
|
|
12829
12916
|
'io.flow.v0.unions.document': (): io.flow.v0.unions.Document => {
|
|
12830
|
-
const f = faker.
|
|
12917
|
+
const f = faker.helpers.arrayElement([
|
|
12831
12918
|
() => factories['io.flow.v0.models.catalog_item_document'](),
|
|
12832
12919
|
() => factories['io.flow.v0.models.harmonization_document'](),
|
|
12833
12920
|
]);
|
|
@@ -12836,7 +12923,7 @@ const factories = {
|
|
|
12836
12923
|
},
|
|
12837
12924
|
|
|
12838
12925
|
'io.flow.v0.unions.email_notification_data': (): io.flow.v0.unions.EmailNotificationData => {
|
|
12839
|
-
const f = faker.
|
|
12926
|
+
const f = faker.helpers.arrayElement([
|
|
12840
12927
|
() => factories['io.flow.v0.models.email_notification_data_refund'](),
|
|
12841
12928
|
() => factories['io.flow.v0.models.email_notification_abandoned_order'](),
|
|
12842
12929
|
]);
|
|
@@ -12845,13 +12932,15 @@ const factories = {
|
|
|
12845
12932
|
},
|
|
12846
12933
|
|
|
12847
12934
|
'io.flow.v0.unions.event': (): io.flow.v0.unions.Event => {
|
|
12848
|
-
const f = faker.
|
|
12935
|
+
const f = faker.helpers.arrayElement([
|
|
12849
12936
|
() => factories['io.flow.v0.models.transaction_upserted'](),
|
|
12850
|
-
() => factories['io.flow.v0.models.
|
|
12937
|
+
() => factories['io.flow.v0.models.organization_transaction_upserted'](),
|
|
12938
|
+
() => factories['io.flow.v0.models.organization_transaction_deleted'](),
|
|
12851
12939
|
() => factories['io.flow.v0.models.statement_upserted'](),
|
|
12852
12940
|
() => factories['io.flow.v0.models.statement_deleted'](),
|
|
12853
12941
|
() => factories['io.flow.v0.models.channel_transaction_upserted'](),
|
|
12854
12942
|
() => factories['io.flow.v0.models.channel_transaction_deleted'](),
|
|
12943
|
+
() => factories['io.flow.v0.models.channel_transaction_deleted_v2'](),
|
|
12855
12944
|
() => factories['io.flow.v0.models.channel_statement_upserted'](),
|
|
12856
12945
|
() => factories['io.flow.v0.models.channel_statement_deleted'](),
|
|
12857
12946
|
() => factories['io.flow.v0.models.attribute_upserted'](),
|
|
@@ -13037,7 +13126,7 @@ const factories = {
|
|
|
13037
13126
|
},
|
|
13038
13127
|
|
|
13039
13128
|
'io.flow.v0.unions.expandable_card': (): io.flow.v0.unions.ExpandableCard => {
|
|
13040
|
-
const f = faker.
|
|
13129
|
+
const f = faker.helpers.arrayElement([
|
|
13041
13130
|
() => factories['io.flow.v0.models.card'](),
|
|
13042
13131
|
() => factories['io.flow.v0.models.card_reference'](),
|
|
13043
13132
|
() => factories['io.flow.v0.models.card_summary'](),
|
|
@@ -13047,7 +13136,7 @@ const factories = {
|
|
|
13047
13136
|
},
|
|
13048
13137
|
|
|
13049
13138
|
'io.flow.v0.unions.expandable_center': (): io.flow.v0.unions.ExpandableCenter => {
|
|
13050
|
-
const f = faker.
|
|
13139
|
+
const f = faker.helpers.arrayElement([
|
|
13051
13140
|
() => factories['io.flow.v0.models.center'](),
|
|
13052
13141
|
() => factories['io.flow.v0.models.center_reference'](),
|
|
13053
13142
|
]);
|
|
@@ -13056,7 +13145,7 @@ const factories = {
|
|
|
13056
13145
|
},
|
|
13057
13146
|
|
|
13058
13147
|
'io.flow.v0.unions.expandable_experience': (): io.flow.v0.unions.ExpandableExperience => {
|
|
13059
|
-
const f = faker.
|
|
13148
|
+
const f = faker.helpers.arrayElement([
|
|
13060
13149
|
() => factories['io.flow.v0.models.experience'](),
|
|
13061
13150
|
() => factories['io.flow.v0.models.experience_reference'](),
|
|
13062
13151
|
]);
|
|
@@ -13065,7 +13154,7 @@ const factories = {
|
|
|
13065
13154
|
},
|
|
13066
13155
|
|
|
13067
13156
|
'io.flow.v0.unions.expandable_order': (): io.flow.v0.unions.ExpandableOrder => {
|
|
13068
|
-
const f = faker.
|
|
13157
|
+
const f = faker.helpers.arrayElement([
|
|
13069
13158
|
() => factories['io.flow.v0.models.order'](),
|
|
13070
13159
|
() => factories['io.flow.v0.models.order_reference'](),
|
|
13071
13160
|
]);
|
|
@@ -13074,7 +13163,7 @@ const factories = {
|
|
|
13074
13163
|
},
|
|
13075
13164
|
|
|
13076
13165
|
'io.flow.v0.unions.expandable_organization': (): io.flow.v0.unions.ExpandableOrganization => {
|
|
13077
|
-
const f = faker.
|
|
13166
|
+
const f = faker.helpers.arrayElement([
|
|
13078
13167
|
() => factories['io.flow.v0.models.organization'](),
|
|
13079
13168
|
() => factories['io.flow.v0.models.organization_reference'](),
|
|
13080
13169
|
]);
|
|
@@ -13083,7 +13172,7 @@ const factories = {
|
|
|
13083
13172
|
},
|
|
13084
13173
|
|
|
13085
13174
|
'io.flow.v0.unions.expandable_payment_processor': (): io.flow.v0.unions.ExpandablePaymentProcessor => {
|
|
13086
|
-
const f = faker.
|
|
13175
|
+
const f = faker.helpers.arrayElement([
|
|
13087
13176
|
() => factories['io.flow.v0.models.payment_processor'](),
|
|
13088
13177
|
() => factories['io.flow.v0.models.payment_processor_reference'](),
|
|
13089
13178
|
]);
|
|
@@ -13092,7 +13181,7 @@ const factories = {
|
|
|
13092
13181
|
},
|
|
13093
13182
|
|
|
13094
13183
|
'io.flow.v0.unions.expandable_subcatalog': (): io.flow.v0.unions.ExpandableSubcatalog => {
|
|
13095
|
-
const f = faker.
|
|
13184
|
+
const f = faker.helpers.arrayElement([
|
|
13096
13185
|
() => factories['io.flow.v0.models.subcatalog'](),
|
|
13097
13186
|
() => factories['io.flow.v0.models.subcatalog_reference'](),
|
|
13098
13187
|
]);
|
|
@@ -13101,7 +13190,7 @@ const factories = {
|
|
|
13101
13190
|
},
|
|
13102
13191
|
|
|
13103
13192
|
'io.flow.v0.unions.expandable_user': (): io.flow.v0.unions.ExpandableUser => {
|
|
13104
|
-
const f = faker.
|
|
13193
|
+
const f = faker.helpers.arrayElement([
|
|
13105
13194
|
() => factories['io.flow.v0.models.user'](),
|
|
13106
13195
|
() => factories['io.flow.v0.models.user_reference'](),
|
|
13107
13196
|
]);
|
|
@@ -13110,12 +13199,12 @@ const factories = {
|
|
|
13110
13199
|
},
|
|
13111
13200
|
|
|
13112
13201
|
'io.flow.v0.unions.export_delivery': (): io.flow.v0.unions.ExportDelivery => {
|
|
13113
|
-
const f = faker.
|
|
13202
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.export_delivery_email']()]);
|
|
13114
13203
|
return f();
|
|
13115
13204
|
},
|
|
13116
13205
|
|
|
13117
13206
|
'io.flow.v0.unions.export_type': (): io.flow.v0.unions.ExportType => {
|
|
13118
|
-
const f = faker.
|
|
13207
|
+
const f = faker.helpers.arrayElement([
|
|
13119
13208
|
() => factories['io.flow.v0.models.account_transactions_export_type'](),
|
|
13120
13209
|
() => factories['io.flow.v0.models.account_orders_export_type'](),
|
|
13121
13210
|
() => factories['io.flow.v0.models.analytics_export_type'](),
|
|
@@ -13139,7 +13228,7 @@ const factories = {
|
|
|
13139
13228
|
},
|
|
13140
13229
|
|
|
13141
13230
|
'io.flow.v0.unions.field_validation_rule': (): io.flow.v0.unions.FieldValidationRule => {
|
|
13142
|
-
const f = faker.
|
|
13231
|
+
const f = faker.helpers.arrayElement([
|
|
13143
13232
|
() => factories['io.flow.v0.models.field_validation_required'](),
|
|
13144
13233
|
() => factories['io.flow.v0.models.field_validation_required_if_present'](),
|
|
13145
13234
|
() => factories['io.flow.v0.models.field_validation_min'](),
|
|
@@ -13151,7 +13240,7 @@ const factories = {
|
|
|
13151
13240
|
},
|
|
13152
13241
|
|
|
13153
13242
|
'io.flow.v0.unions.fraud_order_reference': (): io.flow.v0.unions.FraudOrderReference => {
|
|
13154
|
-
const f = faker.
|
|
13243
|
+
const f = faker.helpers.arrayElement([
|
|
13155
13244
|
() => factories['io.flow.v0.models.fraud_flow_order_reference'](),
|
|
13156
13245
|
() => factories['io.flow.v0.models.fraud_payment_request_reference'](),
|
|
13157
13246
|
]);
|
|
@@ -13160,17 +13249,17 @@ const factories = {
|
|
|
13160
13249
|
},
|
|
13161
13250
|
|
|
13162
13251
|
'io.flow.v0.unions.gateway_authentication_data': (): io.flow.v0.unions.GatewayAuthenticationData => {
|
|
13163
|
-
const f = faker.
|
|
13252
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.stripe_authentication_data']()]);
|
|
13164
13253
|
return f();
|
|
13165
13254
|
},
|
|
13166
13255
|
|
|
13167
13256
|
'io.flow.v0.unions.gateway_authentication_data_form': (): io.flow.v0.unions.GatewayAuthenticationDataForm => {
|
|
13168
|
-
const f = faker.
|
|
13257
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.stripe_authentication_data_form']()]);
|
|
13169
13258
|
return f();
|
|
13170
13259
|
},
|
|
13171
13260
|
|
|
13172
13261
|
'io.flow.v0.unions.inline_action_configuration': (): io.flow.v0.unions.InlineActionConfiguration => {
|
|
13173
|
-
const f = faker.
|
|
13262
|
+
const f = faker.helpers.arrayElement(
|
|
13174
13263
|
[() => factories['io.flow.v0.models.browser_inline_action_configuration']()],
|
|
13175
13264
|
);
|
|
13176
13265
|
|
|
@@ -13178,7 +13267,7 @@ const factories = {
|
|
|
13178
13267
|
},
|
|
13179
13268
|
|
|
13180
13269
|
'io.flow.v0.unions.input_specification_limitation': (): io.flow.v0.unions.InputSpecificationLimitation => {
|
|
13181
|
-
const f = faker.
|
|
13270
|
+
const f = faker.helpers.arrayElement(
|
|
13182
13271
|
[() => factories['io.flow.v0.models.input_specification_limitation_max']()],
|
|
13183
13272
|
);
|
|
13184
13273
|
|
|
@@ -13186,7 +13275,7 @@ const factories = {
|
|
|
13186
13275
|
},
|
|
13187
13276
|
|
|
13188
13277
|
'io.flow.v0.unions.inventory_strategy': (): io.flow.v0.unions.InventoryStrategy => {
|
|
13189
|
-
const f = faker.
|
|
13278
|
+
const f = faker.helpers.arrayElement([
|
|
13190
13279
|
() => factories['io.flow.v0.models.inventory_backorder'](),
|
|
13191
13280
|
() => factories['io.flow.v0.models.inventory_stock'](),
|
|
13192
13281
|
() => factories['io.flow.v0.models.inventory_unlimited'](),
|
|
@@ -13197,7 +13286,7 @@ const factories = {
|
|
|
13197
13286
|
},
|
|
13198
13287
|
|
|
13199
13288
|
'io.flow.v0.unions.localized_price': (): io.flow.v0.unions.LocalizedPrice => {
|
|
13200
|
-
const f = faker.
|
|
13289
|
+
const f = faker.helpers.arrayElement([
|
|
13201
13290
|
() => factories['io.flow.v0.models.localized_item_price'](),
|
|
13202
13291
|
() => factories['io.flow.v0.models.localized_item_vat'](),
|
|
13203
13292
|
() => factories['io.flow.v0.models.localized_item_duty'](),
|
|
@@ -13208,7 +13297,7 @@ const factories = {
|
|
|
13208
13297
|
},
|
|
13209
13298
|
|
|
13210
13299
|
'io.flow.v0.unions.logo_image': (): io.flow.v0.unions.LogoImage => {
|
|
13211
|
-
const f = faker.
|
|
13300
|
+
const f = faker.helpers.arrayElement([
|
|
13212
13301
|
() => factories['io.flow.v0.models.logo_image_svg'](),
|
|
13213
13302
|
() => factories['io.flow.v0.models.logo_image_set_static'](),
|
|
13214
13303
|
]);
|
|
@@ -13217,17 +13306,17 @@ const factories = {
|
|
|
13217
13306
|
},
|
|
13218
13307
|
|
|
13219
13308
|
'io.flow.v0.unions.merchant_application': (): io.flow.v0.unions.MerchantApplication => {
|
|
13220
|
-
const f = faker.
|
|
13309
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.shopify_merchant_application']()]);
|
|
13221
13310
|
return f();
|
|
13222
13311
|
},
|
|
13223
13312
|
|
|
13224
13313
|
'io.flow.v0.unions.merchant_application_form': (): io.flow.v0.unions.MerchantApplicationForm => {
|
|
13225
|
-
const f = faker.
|
|
13314
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.shopify_merchant_application_form']()]);
|
|
13226
13315
|
return f();
|
|
13227
13316
|
},
|
|
13228
13317
|
|
|
13229
13318
|
'io.flow.v0.unions.merchant_application_put_form': (): io.flow.v0.unions.MerchantApplicationPutForm => {
|
|
13230
|
-
const f = faker.
|
|
13319
|
+
const f = faker.helpers.arrayElement([
|
|
13231
13320
|
() => factories['io.flow.v0.models.shopify_merchant_application_put_form'](),
|
|
13232
13321
|
]);
|
|
13233
13322
|
|
|
@@ -13235,15 +13324,29 @@ const factories = {
|
|
|
13235
13324
|
},
|
|
13236
13325
|
|
|
13237
13326
|
'io.flow.v0.unions.merchant_applications_summary': (): io.flow.v0.unions.MerchantApplicationsSummary => {
|
|
13238
|
-
const f = faker.
|
|
13327
|
+
const f = faker.helpers.arrayElement([
|
|
13239
13328
|
() => factories['io.flow.v0.models.shopify_merchant_applications_summary'](),
|
|
13240
13329
|
]);
|
|
13241
13330
|
|
|
13242
13331
|
return f();
|
|
13243
13332
|
},
|
|
13244
13333
|
|
|
13334
|
+
'io.flow.v0.unions.onboarding_state': (): io.flow.v0.unions.OnboardingState => {
|
|
13335
|
+
const f = faker.helpers.arrayElement([
|
|
13336
|
+
() => factories['io.flow.v0.models.application_received'](),
|
|
13337
|
+
() => factories['io.flow.v0.models.in_compliance_review'](),
|
|
13338
|
+
() => factories['io.flow.v0.models.setup_in_progress'](),
|
|
13339
|
+
() => factories['io.flow.v0.models.merchant_rejected'](),
|
|
13340
|
+
() => factories['io.flow.v0.models.setup_blocked'](),
|
|
13341
|
+
() => factories['io.flow.v0.models.setup_completed'](),
|
|
13342
|
+
() => factories['io.flow.v0.models.merchant_activated'](),
|
|
13343
|
+
]);
|
|
13344
|
+
|
|
13345
|
+
return f();
|
|
13346
|
+
},
|
|
13347
|
+
|
|
13245
13348
|
'io.flow.v0.unions.online_authorization_details': (): io.flow.v0.unions.OnlineAuthorizationDetails => {
|
|
13246
|
-
const f = faker.
|
|
13349
|
+
const f = faker.helpers.arrayElement([
|
|
13247
13350
|
() => factories['io.flow.v0.models.cryptopay_authorization_details'](),
|
|
13248
13351
|
() => factories['io.flow.v0.models.paypal_authorization_details'](),
|
|
13249
13352
|
() => factories['io.flow.v0.models.redirect_authorization_details'](),
|
|
@@ -13254,7 +13357,7 @@ const factories = {
|
|
|
13254
13357
|
},
|
|
13255
13358
|
|
|
13256
13359
|
'io.flow.v0.unions.order_information': (): io.flow.v0.unions.OrderInformation => {
|
|
13257
|
-
const f = faker.
|
|
13360
|
+
const f = faker.helpers.arrayElement([
|
|
13258
13361
|
() => factories['io.flow.v0.models.order_information_flow'](),
|
|
13259
13362
|
() => factories['io.flow.v0.models.order_information_details'](),
|
|
13260
13363
|
]);
|
|
@@ -13263,7 +13366,7 @@ const factories = {
|
|
|
13263
13366
|
},
|
|
13264
13367
|
|
|
13265
13368
|
'io.flow.v0.unions.order_number_generator': (): io.flow.v0.unions.OrderNumberGenerator => {
|
|
13266
|
-
const f = faker.
|
|
13369
|
+
const f = faker.helpers.arrayElement([
|
|
13267
13370
|
() => factories['io.flow.v0.models.order_number_generator_uuid'](),
|
|
13268
13371
|
() => factories['io.flow.v0.models.order_number_generator_hexadecimal'](),
|
|
13269
13372
|
() => factories['io.flow.v0.models.order_number_generator_prefix_suffix'](),
|
|
@@ -13273,12 +13376,12 @@ const factories = {
|
|
|
13273
13376
|
},
|
|
13274
13377
|
|
|
13275
13378
|
'io.flow.v0.unions.order_promotion': (): io.flow.v0.unions.OrderPromotion => {
|
|
13276
|
-
const f = faker.
|
|
13379
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.free_shipping_order_promotion']()]);
|
|
13277
13380
|
return f();
|
|
13278
13381
|
},
|
|
13279
13382
|
|
|
13280
13383
|
'io.flow.v0.unions.order_promotion_form': (): io.flow.v0.unions.OrderPromotionForm => {
|
|
13281
|
-
const f = faker.
|
|
13384
|
+
const f = faker.helpers.arrayElement(
|
|
13282
13385
|
[() => factories['io.flow.v0.models.free_shipping_order_promotion_form']()],
|
|
13283
13386
|
);
|
|
13284
13387
|
|
|
@@ -13286,7 +13389,7 @@ const factories = {
|
|
|
13286
13389
|
},
|
|
13287
13390
|
|
|
13288
13391
|
'io.flow.v0.unions.order_quote_price': (): io.flow.v0.unions.OrderQuotePrice => {
|
|
13289
|
-
const f = faker.
|
|
13392
|
+
const f = faker.helpers.arrayElement([
|
|
13290
13393
|
() => factories['io.flow.v0.models.order_quote_price_free'](),
|
|
13291
13394
|
() => factories['io.flow.v0.models.order_quote_price_not_yet_known'](),
|
|
13292
13395
|
() => factories['io.flow.v0.models.order_quote_price_included'](),
|
|
@@ -13298,7 +13401,7 @@ const factories = {
|
|
|
13298
13401
|
},
|
|
13299
13402
|
|
|
13300
13403
|
'io.flow.v0.unions.order_refund_summary_form': (): io.flow.v0.unions.OrderRefundSummaryForm => {
|
|
13301
|
-
const f = faker.
|
|
13404
|
+
const f = faker.helpers.arrayElement([
|
|
13302
13405
|
() => factories['io.flow.v0.models.order_refund_summary_full_form'](),
|
|
13303
13406
|
() => factories['io.flow.v0.models.order_refund_summary_partial_form'](),
|
|
13304
13407
|
]);
|
|
@@ -13307,7 +13410,7 @@ const factories = {
|
|
|
13307
13410
|
},
|
|
13308
13411
|
|
|
13309
13412
|
'io.flow.v0.unions.partner_center_fee': (): io.flow.v0.unions.PartnerCenterFee => {
|
|
13310
|
-
const f = faker.
|
|
13413
|
+
const f = faker.helpers.arrayElement([
|
|
13311
13414
|
() => factories['io.flow.v0.models.commercial_invoice_fee'](),
|
|
13312
13415
|
() => factories['io.flow.v0.models.inbound_carton_fee'](),
|
|
13313
13416
|
() => factories['io.flow.v0.models.outbound_carton_fee'](),
|
|
@@ -13317,7 +13420,7 @@ const factories = {
|
|
|
13317
13420
|
},
|
|
13318
13421
|
|
|
13319
13422
|
'io.flow.v0.unions.payment': (): io.flow.v0.unions.Payment => {
|
|
13320
|
-
const f = faker.
|
|
13423
|
+
const f = faker.helpers.arrayElement([
|
|
13321
13424
|
() => factories['io.flow.v0.models.payment_paypal'](),
|
|
13322
13425
|
() => factories['io.flow.v0.models.payment_cryptopay'](),
|
|
13323
13426
|
]);
|
|
@@ -13326,7 +13429,7 @@ const factories = {
|
|
|
13326
13429
|
},
|
|
13327
13430
|
|
|
13328
13431
|
'io.flow.v0.unions.payment_capture_option': (): io.flow.v0.unions.PaymentCaptureOption => {
|
|
13329
|
-
const f = faker.
|
|
13432
|
+
const f = faker.helpers.arrayElement([
|
|
13330
13433
|
() => factories['io.flow.v0.models.payment_capture_option_automatic_immediate'](),
|
|
13331
13434
|
() => factories['io.flow.v0.models.payment_capture_option_manual'](),
|
|
13332
13435
|
]);
|
|
@@ -13335,12 +13438,12 @@ const factories = {
|
|
|
13335
13438
|
},
|
|
13336
13439
|
|
|
13337
13440
|
'io.flow.v0.unions.payment_form': (): io.flow.v0.unions.PaymentForm => {
|
|
13338
|
-
const f = faker.
|
|
13441
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.merchant_of_record_payment_form']()]);
|
|
13339
13442
|
return f();
|
|
13340
13443
|
},
|
|
13341
13444
|
|
|
13342
13445
|
'io.flow.v0.unions.payment_method_card': (): io.flow.v0.unions.PaymentMethodCard => {
|
|
13343
|
-
const f = faker.
|
|
13446
|
+
const f = faker.helpers.arrayElement([
|
|
13344
13447
|
() => factories['io.flow.v0.models.payment_method_card_pci_details'](),
|
|
13345
13448
|
() => factories['io.flow.v0.models.payment_method_card_token'](),
|
|
13346
13449
|
]);
|
|
@@ -13349,7 +13452,7 @@ const factories = {
|
|
|
13349
13452
|
},
|
|
13350
13453
|
|
|
13351
13454
|
'io.flow.v0.unions.payment_method_data': (): io.flow.v0.unions.PaymentMethodData => {
|
|
13352
|
-
const f = faker.
|
|
13455
|
+
const f = faker.helpers.arrayElement([
|
|
13353
13456
|
() => factories['io.flow.v0.models.payment_method_data_init_klarna'](),
|
|
13354
13457
|
() => factories['io.flow.v0.models.payment_method_data_init_afterpay'](),
|
|
13355
13458
|
() => factories['io.flow.v0.models.payment_method_data_init_applepay'](),
|
|
@@ -13372,7 +13475,7 @@ const factories = {
|
|
|
13372
13475
|
},
|
|
13373
13476
|
|
|
13374
13477
|
'io.flow.v0.unions.payment_method_data_authorize_klarna_result': (): io.flow.v0.unions.PaymentMethodDataAuthorizeKlarnaResult => {
|
|
13375
|
-
const f = faker.
|
|
13478
|
+
const f = faker.helpers.arrayElement([
|
|
13376
13479
|
() => factories['io.flow.v0.models.payment_method_data_authorize_klarna_result_success'](),
|
|
13377
13480
|
() => factories['io.flow.v0.models.payment_method_data_authorize_klarna_result_failure'](),
|
|
13378
13481
|
]);
|
|
@@ -13381,7 +13484,7 @@ const factories = {
|
|
|
13381
13484
|
},
|
|
13382
13485
|
|
|
13383
13486
|
'io.flow.v0.unions.payment_method_data_option_logo': (): io.flow.v0.unions.PaymentMethodDataOptionLogo => {
|
|
13384
|
-
const f = faker.
|
|
13487
|
+
const f = faker.helpers.arrayElement(
|
|
13385
13488
|
[() => factories['io.flow.v0.models.payment_method_data_option_logo_svg']()],
|
|
13386
13489
|
);
|
|
13387
13490
|
|
|
@@ -13389,7 +13492,7 @@ const factories = {
|
|
|
13389
13492
|
},
|
|
13390
13493
|
|
|
13391
13494
|
'io.flow.v0.unions.payment_method_summary': (): io.flow.v0.unions.PaymentMethodSummary => {
|
|
13392
|
-
const f = faker.
|
|
13495
|
+
const f = faker.helpers.arrayElement([
|
|
13393
13496
|
() => factories['io.flow.v0.models.payment_method_summary_card'](),
|
|
13394
13497
|
() => factories['io.flow.v0.models.payment_method_summary_klarna'](),
|
|
13395
13498
|
() => factories['io.flow.v0.models.payment_method_summary_afterpay'](),
|
|
@@ -13405,7 +13508,7 @@ const factories = {
|
|
|
13405
13508
|
},
|
|
13406
13509
|
|
|
13407
13510
|
'io.flow.v0.unions.payment_method_tag': (): io.flow.v0.unions.PaymentMethodTag => {
|
|
13408
|
-
const f = faker.
|
|
13511
|
+
const f = faker.helpers.arrayElement([() => ({
|
|
13409
13512
|
discriminator: 'organization_payment_method_tag' as const,
|
|
13410
13513
|
value: factories['io.flow.v0.enums.organization_payment_method_tag'](),
|
|
13411
13514
|
}), () => ({
|
|
@@ -13417,7 +13520,7 @@ const factories = {
|
|
|
13417
13520
|
},
|
|
13418
13521
|
|
|
13419
13522
|
'io.flow.v0.unions.payment_order_reference': (): io.flow.v0.unions.PaymentOrderReference => {
|
|
13420
|
-
const f = faker.
|
|
13523
|
+
const f = faker.helpers.arrayElement([
|
|
13421
13524
|
() => factories['io.flow.v0.models.authorization_order_reference'](),
|
|
13422
13525
|
() => factories['io.flow.v0.models.payment_payment_request_reference'](),
|
|
13423
13526
|
]);
|
|
@@ -13426,17 +13529,17 @@ const factories = {
|
|
|
13426
13529
|
},
|
|
13427
13530
|
|
|
13428
13531
|
'io.flow.v0.unions.payment_source': (): io.flow.v0.unions.PaymentSource => {
|
|
13429
|
-
const f = faker.
|
|
13532
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_payment_source']()]);
|
|
13430
13533
|
return f();
|
|
13431
13534
|
},
|
|
13432
13535
|
|
|
13433
13536
|
'io.flow.v0.unions.payment_source_form': (): io.flow.v0.unions.PaymentSourceForm => {
|
|
13434
|
-
const f = faker.
|
|
13537
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.card_payment_source_form']()]);
|
|
13435
13538
|
return f();
|
|
13436
13539
|
},
|
|
13437
13540
|
|
|
13438
13541
|
'io.flow.v0.unions.price_source': (): io.flow.v0.unions.PriceSource => {
|
|
13439
|
-
const f = faker.
|
|
13542
|
+
const f = faker.helpers.arrayElement([
|
|
13440
13543
|
() => factories['io.flow.v0.models.price_source_price_book'](),
|
|
13441
13544
|
() => factories['io.flow.v0.models.price_source_catalog'](),
|
|
13442
13545
|
() => factories['io.flow.v0.models.price_source_provided'](),
|
|
@@ -13446,7 +13549,7 @@ const factories = {
|
|
|
13446
13549
|
},
|
|
13447
13550
|
|
|
13448
13551
|
'io.flow.v0.unions.promotion': (): io.flow.v0.unions.Promotion => {
|
|
13449
|
-
const f = faker.
|
|
13552
|
+
const f = faker.helpers.arrayElement([
|
|
13450
13553
|
() => factories['io.flow.v0.models.free_shipping'](),
|
|
13451
13554
|
() => factories['io.flow.v0.models.discount'](),
|
|
13452
13555
|
]);
|
|
@@ -13455,7 +13558,7 @@ const factories = {
|
|
|
13455
13558
|
},
|
|
13456
13559
|
|
|
13457
13560
|
'io.flow.v0.unions.query_builder_form': (): io.flow.v0.unions.QueryBuilderForm => {
|
|
13458
|
-
const f = faker.
|
|
13561
|
+
const f = faker.helpers.arrayElement([
|
|
13459
13562
|
() => factories['io.flow.v0.models.query_builder_filter_form'](),
|
|
13460
13563
|
() => factories['io.flow.v0.models.query_builder_query_form'](),
|
|
13461
13564
|
]);
|
|
@@ -13464,7 +13567,7 @@ const factories = {
|
|
|
13464
13567
|
},
|
|
13465
13568
|
|
|
13466
13569
|
'io.flow.v0.unions.query_filter': (): io.flow.v0.unions.QueryFilter => {
|
|
13467
|
-
const f = faker.
|
|
13570
|
+
const f = faker.helpers.arrayElement([
|
|
13468
13571
|
() => factories['io.flow.v0.models.query_filter_structured'](),
|
|
13469
13572
|
() => factories['io.flow.v0.models.query_filter_unstructured'](),
|
|
13470
13573
|
]);
|
|
@@ -13473,7 +13576,7 @@ const factories = {
|
|
|
13473
13576
|
},
|
|
13474
13577
|
|
|
13475
13578
|
'io.flow.v0.unions.query_filter_form': (): io.flow.v0.unions.QueryFilterForm => {
|
|
13476
|
-
const f = faker.
|
|
13579
|
+
const f = faker.helpers.arrayElement([
|
|
13477
13580
|
() => factories['io.flow.v0.models.query_filter_structured_form'](),
|
|
13478
13581
|
() => factories['io.flow.v0.models.query_filter_unstructured_form'](),
|
|
13479
13582
|
]);
|
|
@@ -13482,7 +13585,7 @@ const factories = {
|
|
|
13482
13585
|
},
|
|
13483
13586
|
|
|
13484
13587
|
'io.flow.v0.unions.ratecard_estimate': (): io.flow.v0.unions.RatecardEstimate => {
|
|
13485
|
-
const f = faker.
|
|
13588
|
+
const f = faker.helpers.arrayElement([
|
|
13486
13589
|
() => factories['io.flow.v0.models.ratecard_estimate_v1'](),
|
|
13487
13590
|
() => factories['io.flow.v0.models.ratecard_estimate_v2'](),
|
|
13488
13591
|
() => factories['io.flow.v0.models.ratecard_estimate_v3'](),
|
|
@@ -13493,7 +13596,7 @@ const factories = {
|
|
|
13493
13596
|
},
|
|
13494
13597
|
|
|
13495
13598
|
'io.flow.v0.unions.ratecard_fee': (): io.flow.v0.unions.RatecardFee => {
|
|
13496
|
-
const f = faker.
|
|
13599
|
+
const f = faker.helpers.arrayElement([
|
|
13497
13600
|
() => factories['io.flow.v0.models.ddp_ratecard_fee'](),
|
|
13498
13601
|
() => factories['io.flow.v0.models.fuel_surcharge_ratecard_fee'](),
|
|
13499
13602
|
() => factories['io.flow.v0.models.oversized_shipment_ratecard_fee'](),
|
|
@@ -13509,7 +13612,7 @@ const factories = {
|
|
|
13509
13612
|
},
|
|
13510
13613
|
|
|
13511
13614
|
'io.flow.v0.unions.repeat_schedule': (): io.flow.v0.unions.RepeatSchedule => {
|
|
13512
|
-
const f = faker.
|
|
13615
|
+
const f = faker.helpers.arrayElement([
|
|
13513
13616
|
() => factories['io.flow.v0.models.repeat_hourly'](),
|
|
13514
13617
|
() => factories['io.flow.v0.models.repeat_daily'](),
|
|
13515
13618
|
() => factories['io.flow.v0.models.repeat_weekly'](),
|
|
@@ -13520,7 +13623,7 @@ const factories = {
|
|
|
13520
13623
|
},
|
|
13521
13624
|
|
|
13522
13625
|
'io.flow.v0.unions.reservation_error': (): io.flow.v0.unions.ReservationError => {
|
|
13523
|
-
const f = faker.
|
|
13626
|
+
const f = faker.helpers.arrayElement([
|
|
13524
13627
|
() => factories['io.flow.v0.models.no_inventory_reservation_error'](),
|
|
13525
13628
|
() => factories['io.flow.v0.models.external_api_timeout_reservation_error'](),
|
|
13526
13629
|
() => factories['io.flow.v0.models.generic_reservation_error'](),
|
|
@@ -13530,7 +13633,7 @@ const factories = {
|
|
|
13530
13633
|
},
|
|
13531
13634
|
|
|
13532
13635
|
'io.flow.v0.unions.return_source': (): io.flow.v0.unions.ReturnSource => {
|
|
13533
|
-
const f = faker.
|
|
13636
|
+
const f = faker.helpers.arrayElement([
|
|
13534
13637
|
() => factories['io.flow.v0.models.return_source_flow'](),
|
|
13535
13638
|
() => factories['io.flow.v0.models.return_source_external_vendor'](),
|
|
13536
13639
|
]);
|
|
@@ -13539,7 +13642,7 @@ const factories = {
|
|
|
13539
13642
|
},
|
|
13540
13643
|
|
|
13541
13644
|
'io.flow.v0.unions.sdk_adyen_v3_authentication_token': (): io.flow.v0.unions.SdkAdyenV3AuthenticationToken => {
|
|
13542
|
-
const f = faker.
|
|
13645
|
+
const f = faker.helpers.arrayElement([
|
|
13543
13646
|
() => factories['io.flow.v0.models.adyen_v3_fingerprint_token'](),
|
|
13544
13647
|
() => factories['io.flow.v0.models.adyen_v3_challenge_token'](),
|
|
13545
13648
|
]);
|
|
@@ -13548,7 +13651,7 @@ const factories = {
|
|
|
13548
13651
|
},
|
|
13549
13652
|
|
|
13550
13653
|
'io.flow.v0.unions.service_fee': (): io.flow.v0.unions.ServiceFee => {
|
|
13551
|
-
const f = faker.
|
|
13654
|
+
const f = faker.helpers.arrayElement([
|
|
13552
13655
|
() => factories['io.flow.v0.models.fuel_surcharge_service_fee'](),
|
|
13553
13656
|
() => factories['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'](),
|
|
13554
13657
|
() => factories['io.flow.v0.models.remote_area_service_fee'](),
|
|
@@ -13562,12 +13665,12 @@ const factories = {
|
|
|
13562
13665
|
},
|
|
13563
13666
|
|
|
13564
13667
|
'io.flow.v0.unions.session': (): io.flow.v0.unions.Session => {
|
|
13565
|
-
const f = faker.
|
|
13668
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.organization_session']()]);
|
|
13566
13669
|
return f();
|
|
13567
13670
|
},
|
|
13568
13671
|
|
|
13569
13672
|
'io.flow.v0.unions.session_authorization': (): io.flow.v0.unions.SessionAuthorization => {
|
|
13570
|
-
const f = faker.
|
|
13673
|
+
const f = faker.helpers.arrayElement(
|
|
13571
13674
|
[() => factories['io.flow.v0.models.organization_session_authorization']()],
|
|
13572
13675
|
);
|
|
13573
13676
|
|
|
@@ -13575,7 +13678,7 @@ const factories = {
|
|
|
13575
13678
|
},
|
|
13576
13679
|
|
|
13577
13680
|
'io.flow.v0.unions.settlement': (): io.flow.v0.unions.Settlement => {
|
|
13578
|
-
const f = faker.
|
|
13681
|
+
const f = faker.helpers.arrayElement([
|
|
13579
13682
|
() => factories['io.flow.v0.models.no_payout'](),
|
|
13580
13683
|
() => factories['io.flow.v0.models.payout'](),
|
|
13581
13684
|
]);
|
|
@@ -13584,7 +13687,7 @@ const factories = {
|
|
|
13584
13687
|
},
|
|
13585
13688
|
|
|
13586
13689
|
'io.flow.v0.unions.shipping_label_form': (): io.flow.v0.unions.ShippingLabelForm => {
|
|
13587
|
-
const f = faker.
|
|
13690
|
+
const f = faker.helpers.arrayElement([
|
|
13588
13691
|
() => factories['io.flow.v0.models.detailed_shipping_label_form'](),
|
|
13589
13692
|
() => factories['io.flow.v0.models.summary_shipping_label_form'](),
|
|
13590
13693
|
]);
|
|
@@ -13593,7 +13696,7 @@ const factories = {
|
|
|
13593
13696
|
},
|
|
13594
13697
|
|
|
13595
13698
|
'io.flow.v0.unions.shipping_notification_form': (): io.flow.v0.unions.ShippingNotificationForm => {
|
|
13596
|
-
const f = faker.
|
|
13699
|
+
const f = faker.helpers.arrayElement([
|
|
13597
13700
|
() => factories['io.flow.v0.models.detailed_shipping_notification_form'](),
|
|
13598
13701
|
() => factories['io.flow.v0.models.single_package_shipping_notification_form'](),
|
|
13599
13702
|
() => factories['io.flow.v0.models.summary_shipping_notification_form'](),
|
|
@@ -13603,7 +13706,7 @@ const factories = {
|
|
|
13603
13706
|
},
|
|
13604
13707
|
|
|
13605
13708
|
'io.flow.v0.unions.shopify_cart_add_form': (): io.flow.v0.unions.ShopifyCartAddForm => {
|
|
13606
|
-
const f = faker.
|
|
13709
|
+
const f = faker.helpers.arrayElement([
|
|
13607
13710
|
() => factories['io.flow.v0.models.shopify_cart_add_single_form'](),
|
|
13608
13711
|
() => factories['io.flow.v0.models.shopify_cart_add_multiple_form'](),
|
|
13609
13712
|
]);
|
|
@@ -13612,17 +13715,17 @@ const factories = {
|
|
|
13612
13715
|
},
|
|
13613
13716
|
|
|
13614
13717
|
'io.flow.v0.unions.shopify_event_bucket': (): io.flow.v0.unions.ShopifyEventBucket => {
|
|
13615
|
-
const f = faker.
|
|
13718
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.shopify_item_event_bucket']()]);
|
|
13616
13719
|
return f();
|
|
13617
13720
|
},
|
|
13618
13721
|
|
|
13619
13722
|
'io.flow.v0.unions.tax_duty_quote_levy_value': (): io.flow.v0.unions.TaxDutyQuoteLevyValue => {
|
|
13620
|
-
const f = faker.
|
|
13723
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.tax_duty_quote_simple_levy_value']()]);
|
|
13621
13724
|
return f();
|
|
13622
13725
|
},
|
|
13623
13726
|
|
|
13624
13727
|
'io.flow.v0.unions.tax_setting': (): io.flow.v0.unions.TaxSetting => {
|
|
13625
|
-
const f = faker.
|
|
13728
|
+
const f = faker.helpers.arrayElement([
|
|
13626
13729
|
() => factories['io.flow.v0.models.avalara_tax_setting'](),
|
|
13627
13730
|
() => factories['io.flow.v0.models.avalara_tax_csv_setting'](),
|
|
13628
13731
|
]);
|
|
@@ -13631,17 +13734,17 @@ const factories = {
|
|
|
13631
13734
|
},
|
|
13632
13735
|
|
|
13633
13736
|
'io.flow.v0.unions.threeds_challenge_action': (): io.flow.v0.unions.ThreedsChallengeAction => {
|
|
13634
|
-
const f = faker.
|
|
13737
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.threeds_two_challenge_request']()]);
|
|
13635
13738
|
return f();
|
|
13636
13739
|
},
|
|
13637
13740
|
|
|
13638
13741
|
'io.flow.v0.unions.threeds_identify_action': (): io.flow.v0.unions.ThreedsIdentifyAction => {
|
|
13639
|
-
const f = faker.
|
|
13742
|
+
const f = faker.helpers.arrayElement([() => factories['io.flow.v0.models.threeds_two_method']()]);
|
|
13640
13743
|
return f();
|
|
13641
13744
|
},
|
|
13642
13745
|
|
|
13643
13746
|
'io.flow.v0.unions.tier_rule_outcome': (): io.flow.v0.unions.TierRuleOutcome => {
|
|
13644
|
-
const f = faker.
|
|
13747
|
+
const f = faker.helpers.arrayElement([
|
|
13645
13748
|
() => factories['io.flow.v0.models.amount_margin'](),
|
|
13646
13749
|
() => factories['io.flow.v0.models.at_cost'](),
|
|
13647
13750
|
() => factories['io.flow.v0.models.flat_rate'](),
|
|
@@ -13652,7 +13755,7 @@ const factories = {
|
|
|
13652
13755
|
},
|
|
13653
13756
|
|
|
13654
13757
|
'io.flow.v0.unions.tier_rule_outcome_form': (): io.flow.v0.unions.TierRuleOutcomeForm => {
|
|
13655
|
-
const f = faker.
|
|
13758
|
+
const f = faker.helpers.arrayElement([
|
|
13656
13759
|
() => factories['io.flow.v0.models.amount_margin_form'](),
|
|
13657
13760
|
() => factories['io.flow.v0.models.flat_rate_form'](),
|
|
13658
13761
|
() => factories['io.flow.v0.models.at_cost'](),
|
|
@@ -13663,7 +13766,7 @@ const factories = {
|
|
|
13663
13766
|
},
|
|
13664
13767
|
|
|
13665
13768
|
'io.flow.v0.unions.token': (): io.flow.v0.unions.Token => {
|
|
13666
|
-
const f = faker.
|
|
13769
|
+
const f = faker.helpers.arrayElement([
|
|
13667
13770
|
() => factories['io.flow.v0.models.channel_token'](),
|
|
13668
13771
|
() => factories['io.flow.v0.models.organization_token'](),
|
|
13669
13772
|
() => factories['io.flow.v0.models.organization_token_v2'](),
|
|
@@ -13674,7 +13777,7 @@ const factories = {
|
|
|
13674
13777
|
},
|
|
13675
13778
|
|
|
13676
13779
|
'io.flow.v0.unions.token_reference': (): io.flow.v0.unions.TokenReference => {
|
|
13677
|
-
const f = faker.
|
|
13780
|
+
const f = faker.helpers.arrayElement([
|
|
13678
13781
|
() => factories['io.flow.v0.models.channel_token_reference'](),
|
|
13679
13782
|
() => factories['io.flow.v0.models.organization_token_reference'](),
|
|
13680
13783
|
() => factories['io.flow.v0.models.organization_token_v2_reference'](),
|
|
@@ -13711,6 +13814,7 @@ export const makeActionUseSdkKlarnaV1 = () => factories['io.flow.v0.models.actio
|
|
|
13711
13814
|
export const makeActionUseSdkPaypal = () => factories['io.flow.v0.models.action_use_sdk_paypal']();
|
|
13712
13815
|
export const makeActionUseSdkStripeV3 = () => factories['io.flow.v0.models.action_use_sdk_stripe_v3']();
|
|
13713
13816
|
export const makeActionWait = () => factories['io.flow.v0.models.action_wait']();
|
|
13817
|
+
export const makeActivationPutForm = () => factories['io.flow.v0.models.activation_put_form']();
|
|
13714
13818
|
export const makeAddress = () => factories['io.flow.v0.models.address']();
|
|
13715
13819
|
export const makeAddressConfiguration = () => factories['io.flow.v0.models.address_configuration']();
|
|
13716
13820
|
export const makeAddressConfigurationFieldPlacement = () => factories['io.flow.v0.models.address_configuration_field_placement']();
|
|
@@ -13749,6 +13853,7 @@ export const makeAmountMargin = () => factories['io.flow.v0.models.amount_margin
|
|
|
13749
13853
|
export const makeAmountMarginForm = () => factories['io.flow.v0.models.amount_margin_form']();
|
|
13750
13854
|
export const makeAnalyticsExportType = () => factories['io.flow.v0.models.analytics_export_type']();
|
|
13751
13855
|
export const makeApplePayMerchantValidationPayload = () => factories['io.flow.v0.models.apple_pay_merchant_validation_payload']();
|
|
13856
|
+
export const makeApplicationReceived = () => factories['io.flow.v0.models.application_received']();
|
|
13752
13857
|
export const makeAtCost = () => factories['io.flow.v0.models.at_cost']();
|
|
13753
13858
|
export const makeAttachment = () => factories['io.flow.v0.models.attachment']();
|
|
13754
13859
|
export const makeAttachmentType = () => factories['io.flow.v0.enums.attachment_type']();
|
|
@@ -13926,6 +14031,7 @@ export const makeChannelTokenForm = () => factories['io.flow.v0.models.channel_t
|
|
|
13926
14031
|
export const makeChannelTokenReference = () => factories['io.flow.v0.models.channel_token_reference']();
|
|
13927
14032
|
export const makeChannelTransaction = () => factories['io.flow.v0.models.channel_transaction']();
|
|
13928
14033
|
export const makeChannelTransactionDeleted = () => factories['io.flow.v0.models.channel_transaction_deleted']();
|
|
14034
|
+
export const makeChannelTransactionDeletedV2 = () => factories['io.flow.v0.models.channel_transaction_deleted_v2']();
|
|
13929
14035
|
export const makeChannelTransactionUpserted = () => factories['io.flow.v0.models.channel_transaction_upserted']();
|
|
13930
14036
|
export const makeChannelUpserted = () => factories['io.flow.v0.models.channel_upserted']();
|
|
13931
14037
|
export const makeChannelViesRegistration = () => factories['io.flow.v0.models.channel_vies_registration']();
|
|
@@ -14314,6 +14420,7 @@ export const makeImportTemplateExample = () => factories['io.flow.v0.models.impo
|
|
|
14314
14420
|
export const makeImportTemplateForm = () => factories['io.flow.v0.models.import_template_form']();
|
|
14315
14421
|
export const makeImportType = () => factories['io.flow.v0.enums.import_type']();
|
|
14316
14422
|
export const makeImportVersion = () => factories['io.flow.v0.models.import_version']();
|
|
14423
|
+
export const makeInComplianceReview = () => factories['io.flow.v0.models.in_compliance_review']();
|
|
14317
14424
|
export const makeInboundCartonFee = () => factories['io.flow.v0.models.inbound_carton_fee']();
|
|
14318
14425
|
export const makeIncludedLevies = () => factories['io.flow.v0.models.included_levies']();
|
|
14319
14426
|
export const makeIncludedLevyKey = () => factories['io.flow.v0.enums.included_levy_key']();
|
|
@@ -14463,6 +14570,7 @@ export const makeMembershipForm = () => factories['io.flow.v0.models.membership_
|
|
|
14463
14570
|
export const makeMembershipPutForm = () => factories['io.flow.v0.models.membership_put_form']();
|
|
14464
14571
|
export const makeMembershipUpsertedV2 = () => factories['io.flow.v0.models.membership_upserted_v2']();
|
|
14465
14572
|
export const makeMembershipVersion = () => factories['io.flow.v0.models.membership_version']();
|
|
14573
|
+
export const makeMerchantActivated = () => factories['io.flow.v0.models.merchant_activated']();
|
|
14466
14574
|
export const makeMerchantApplication = () => factories['io.flow.v0.unions.merchant_application']();
|
|
14467
14575
|
export const makeMerchantApplicationDeleted = () => factories['io.flow.v0.models.merchant_application_deleted']();
|
|
14468
14576
|
export const makeMerchantApplicationForm = () => factories['io.flow.v0.unions.merchant_application_form']();
|
|
@@ -14484,6 +14592,8 @@ export const makeMerchantOfRecordEntity = () => factories['io.flow.v0.models.mer
|
|
|
14484
14592
|
export const makeMerchantOfRecordEntityRegistration = () => factories['io.flow.v0.models.merchant_of_record_entity_registration']();
|
|
14485
14593
|
export const makeMerchantOfRecordPaymentForm = () => factories['io.flow.v0.models.merchant_of_record_payment_form']();
|
|
14486
14594
|
export const makeMerchantOnboardingAddress = () => factories['io.flow.v0.models.merchant_onboarding_address']();
|
|
14595
|
+
export const makeMerchantRejected = () => factories['io.flow.v0.models.merchant_rejected']();
|
|
14596
|
+
export const makeMerchantRejectedReason = () => factories['io.flow.v0.enums.merchant_rejected_reason']();
|
|
14487
14597
|
export const makeMethod = () => factories['io.flow.v0.enums.method']();
|
|
14488
14598
|
export const makeMoney = () => factories['io.flow.v0.models.money']();
|
|
14489
14599
|
export const makeMoneyWithBase = () => factories['io.flow.v0.models.money_with_base']();
|
|
@@ -14499,10 +14609,13 @@ export const makeNotificationDeletedV2 = () => factories['io.flow.v0.models.noti
|
|
|
14499
14609
|
export const makeNotificationUpsertedV2 = () => factories['io.flow.v0.models.notification_upserted_v2']();
|
|
14500
14610
|
export const makeNumberRange = () => factories['io.flow.v0.models.number_range']();
|
|
14501
14611
|
export const makeOnboardingApplicationStatus = () => factories['io.flow.v0.enums.onboarding_application_status']();
|
|
14612
|
+
export const makeOnboardingBlockedReason = () => factories['io.flow.v0.enums.onboarding_blocked_reason']();
|
|
14502
14613
|
export const makeOnboardingMerchantPickupWindow = () => factories['io.flow.v0.models.onboarding_merchant_pickup_window']();
|
|
14503
14614
|
export const makeOnboardingMerchantScheduledPickup = () => factories['io.flow.v0.models.onboarding_merchant_scheduled_pickup']();
|
|
14504
14615
|
export const makeOnboardingMerchantTime = () => factories['io.flow.v0.models.onboarding_merchant_time']();
|
|
14505
14616
|
export const makeOnboardingOrganizationReference = () => factories['io.flow.v0.models.onboarding_organization_reference']();
|
|
14617
|
+
export const makeOnboardingState = () => factories['io.flow.v0.unions.onboarding_state']();
|
|
14618
|
+
export const makeOnboardingStateTransition = () => factories['io.flow.v0.models.onboarding_state_transition']();
|
|
14506
14619
|
export const makeOnboardingTradeSector = () => factories['io.flow.v0.enums.onboarding_trade_sector']();
|
|
14507
14620
|
export const makeOnlineAuthorization = () => factories['io.flow.v0.models.online_authorization']();
|
|
14508
14621
|
export const makeOnlineAuthorizationDeletedV2 = () => factories['io.flow.v0.models.online_authorization_deleted_v2']();
|
|
@@ -14651,6 +14764,7 @@ export const makeOrganizationDefaults = () => factories['io.flow.v0.models.organ
|
|
|
14651
14764
|
export const makeOrganizationDeleted = () => factories['io.flow.v0.models.organization_deleted']();
|
|
14652
14765
|
export const makeOrganizationDeletedV2 = () => factories['io.flow.v0.models.organization_deleted_v2']();
|
|
14653
14766
|
export const makeOrganizationForm = () => factories['io.flow.v0.models.organization_form']();
|
|
14767
|
+
export const makeOrganizationOnboardingState = () => factories['io.flow.v0.models.organization_onboarding_state']();
|
|
14654
14768
|
export const makeOrganizationPaymentMethodTag = () => factories['io.flow.v0.enums.organization_payment_method_tag']();
|
|
14655
14769
|
export const makeOrganizationPutForm = () => factories['io.flow.v0.models.organization_put_form']();
|
|
14656
14770
|
export const makeOrganizationRatesData = () => factories['io.flow.v0.models.organization_rates_data']();
|
|
@@ -14666,6 +14780,8 @@ export const makeOrganizationTokenFormV2 = () => factories['io.flow.v0.models.or
|
|
|
14666
14780
|
export const makeOrganizationTokenReference = () => factories['io.flow.v0.models.organization_token_reference']();
|
|
14667
14781
|
export const makeOrganizationTokenV2 = () => factories['io.flow.v0.models.organization_token_v2']();
|
|
14668
14782
|
export const makeOrganizationTokenV2Reference = () => factories['io.flow.v0.models.organization_token_v2_reference']();
|
|
14783
|
+
export const makeOrganizationTransactionDeleted = () => factories['io.flow.v0.models.organization_transaction_deleted']();
|
|
14784
|
+
export const makeOrganizationTransactionUpserted = () => factories['io.flow.v0.models.organization_transaction_upserted']();
|
|
14669
14785
|
export const makeOrganizationType = () => factories['io.flow.v0.enums.organization_type']();
|
|
14670
14786
|
export const makeOrganizationUpserted = () => factories['io.flow.v0.models.organization_upserted']();
|
|
14671
14787
|
export const makeOrganizationUpsertedV2 = () => factories['io.flow.v0.models.organization_upserted_v2']();
|
|
@@ -15030,6 +15146,9 @@ export const makeSessionReference = () => factories['io.flow.v0.models.session_r
|
|
|
15030
15146
|
export const makeSessionVisit = () => factories['io.flow.v0.models.session_visit']();
|
|
15031
15147
|
export const makeSessionVisitor = () => factories['io.flow.v0.models.session_visitor']();
|
|
15032
15148
|
export const makeSettlement = () => factories['io.flow.v0.unions.settlement']();
|
|
15149
|
+
export const makeSetupBlocked = () => factories['io.flow.v0.models.setup_blocked']();
|
|
15150
|
+
export const makeSetupCompleted = () => factories['io.flow.v0.models.setup_completed']();
|
|
15151
|
+
export const makeSetupInProgress = () => factories['io.flow.v0.models.setup_in_progress']();
|
|
15033
15152
|
export const makeShipmentIntegrationType = () => factories['io.flow.v0.enums.shipment_integration_type']();
|
|
15034
15153
|
export const makeShipmentRecipient = () => factories['io.flow.v0.enums.shipment_recipient']();
|
|
15035
15154
|
export const makeShipmentWindow = () => factories['io.flow.v0.models.shipment_window']();
|
|
@@ -15248,7 +15367,6 @@ export const makeTradeAgreementDuty = () => factories['io.flow.v0.models.trade_a
|
|
|
15248
15367
|
export const makeTradeAgreementName = () => factories['io.flow.v0.enums.trade_agreement_name']();
|
|
15249
15368
|
export const makeTradeAgreementStatus = () => factories['io.flow.v0.enums.trade_agreement_status']();
|
|
15250
15369
|
export const makeTransaction = () => factories['io.flow.v0.models.transaction']();
|
|
15251
|
-
export const makeTransactionDeleted = () => factories['io.flow.v0.models.transaction_deleted']();
|
|
15252
15370
|
export const makeTransactionSource = () => factories['io.flow.v0.enums.transaction_source']();
|
|
15253
15371
|
export const makeTransactionUpserted = () => factories['io.flow.v0.models.transaction_upserted']();
|
|
15254
15372
|
export const makeTransitEstimate = () => factories['io.flow.v0.models.transit_estimate']();
|