@flowio/api-factories 0.0.39 → 0.0.41
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/api.js +454 -409
- package/dist/esm/api.js +414 -376
- package/dist/types/api.d.ts +7 -0
- package/package.json +2 -2
- package/src/api.ts +426 -383
package/dist/esm/api.js
CHANGED
|
@@ -25,11 +25,11 @@ var factories = {
|
|
|
25
25
|
string: function () { return faker.datatype.string(); },
|
|
26
26
|
unit: function () { return undefined; },
|
|
27
27
|
uuid: function () { return faker.datatype.uuid(); },
|
|
28
|
-
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker.
|
|
29
|
-
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': function () { return faker.
|
|
30
|
-
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': function () { return faker.
|
|
31
|
-
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker.
|
|
32
|
-
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': function () { return faker.
|
|
28
|
+
'io.flow.apple.pay.v0.enums.apple_pay_contact_field': function () { return faker.helpers.arrayElement(['email', 'name', 'phone', 'postal_address', 'phonetic_name']); },
|
|
29
|
+
'io.flow.apple.pay.v0.enums.apple_pay_line_item_type': function () { return faker.helpers.arrayElement(['final', 'pending']); },
|
|
30
|
+
'io.flow.apple.pay.v0.enums.apple_pay_merchant_capability': function () { return faker.helpers.arrayElement(['supports3DS', 'supportsCredit', 'supportsDebit', 'supportsEMV']); },
|
|
31
|
+
'io.flow.apple.pay.v0.enums.apple_pay_shipping_type': function () { return faker.helpers.arrayElement(['shipping', 'delivery', 'store_pickup', 'service_pickup']); },
|
|
32
|
+
'io.flow.apple.pay.v0.enums.apple_pay_supported_networks': function () { return faker.helpers.arrayElement([
|
|
33
33
|
'amex',
|
|
34
34
|
'chinaUnionPay',
|
|
35
35
|
'discover',
|
|
@@ -91,13 +91,13 @@ var factories = {
|
|
|
91
91
|
amount: factories.decimal(),
|
|
92
92
|
identifier: factories.string(),
|
|
93
93
|
}); },
|
|
94
|
-
'io.flow.google.pay.v0.enums.auth_method': function () { return faker.
|
|
95
|
-
'io.flow.google.pay.v0.enums.billing_address_format': function () { return faker.
|
|
96
|
-
'io.flow.google.pay.v0.enums.card_gateway': function () { return faker.
|
|
97
|
-
'io.flow.google.pay.v0.enums.card_network': function () { return faker.
|
|
98
|
-
'io.flow.google.pay.v0.enums.payment_method_type': function () { return faker.
|
|
99
|
-
'io.flow.google.pay.v0.enums.tokenization_type': function () { return faker.
|
|
100
|
-
'io.flow.google.pay.v0.enums.total_price_status': function () { return faker.
|
|
94
|
+
'io.flow.google.pay.v0.enums.auth_method': function () { return faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']); },
|
|
95
|
+
'io.flow.google.pay.v0.enums.billing_address_format': function () { return faker.helpers.arrayElement(['MIN', 'FULL']); },
|
|
96
|
+
'io.flow.google.pay.v0.enums.card_gateway': function () { return faker.helpers.arrayElement(['adyen', 'stripe']); },
|
|
97
|
+
'io.flow.google.pay.v0.enums.card_network': function () { return faker.helpers.arrayElement(['AMEX', 'DISCOVER', 'JCB', 'MASTERCARD', 'VISA']); },
|
|
98
|
+
'io.flow.google.pay.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['CARD']); },
|
|
99
|
+
'io.flow.google.pay.v0.enums.tokenization_type': function () { return faker.helpers.arrayElement(['PAYMENT_GATEWAY', 'DIRECT']); },
|
|
100
|
+
'io.flow.google.pay.v0.enums.total_price_status': function () { return faker.helpers.arrayElement(['NOT_CURRENTLY_KNOWN', 'ESTIMATED', 'FINAL']); },
|
|
101
101
|
'io.flow.google.pay.v0.models.address': function () { return ({
|
|
102
102
|
name: factories.string(),
|
|
103
103
|
postalCode: factories.string(),
|
|
@@ -213,17 +213,17 @@ var factories = {
|
|
|
213
213
|
currencyCode: factories.string(),
|
|
214
214
|
}); },
|
|
215
215
|
'io.flow.google.pay.v0.unions.payment_method_token': function () {
|
|
216
|
-
var f = faker.
|
|
216
|
+
var f = faker.helpers.arrayElement([
|
|
217
217
|
function () { return factories['io.flow.google.pay.v0.models.direct_payment_method_token'](); },
|
|
218
218
|
function () { return factories['io.flow.google.pay.v0.models.stripe_payment_method_token'](); },
|
|
219
219
|
]);
|
|
220
220
|
return f();
|
|
221
221
|
},
|
|
222
|
-
'io.flow.shopify.external.v0.enums.cancel_reason': function () { return faker.
|
|
223
|
-
'io.flow.shopify.external.v0.enums.discount_status': function () { return faker.
|
|
224
|
-
'io.flow.shopify.external.v0.enums.discount_type': function () { return faker.
|
|
225
|
-
'io.flow.shopify.external.v0.enums.discrepancy_reason': function () { return faker.
|
|
226
|
-
'io.flow.shopify.external.v0.enums.event': function () { return faker.
|
|
222
|
+
'io.flow.shopify.external.v0.enums.cancel_reason': function () { return faker.helpers.arrayElement(['customer', 'fraud', 'inventory', 'declined', 'other']); },
|
|
223
|
+
'io.flow.shopify.external.v0.enums.discount_status': function () { return faker.helpers.arrayElement(['enabled', 'disabled', 'depleted']); },
|
|
224
|
+
'io.flow.shopify.external.v0.enums.discount_type': function () { return faker.helpers.arrayElement(['fixed_amount', 'percentage', 'shipping']); },
|
|
225
|
+
'io.flow.shopify.external.v0.enums.discrepancy_reason': function () { return faker.helpers.arrayElement(['restock', 'damage', 'customer', 'other']); },
|
|
226
|
+
'io.flow.shopify.external.v0.enums.event': function () { return faker.helpers.arrayElement([
|
|
227
227
|
'cart',
|
|
228
228
|
'checkout',
|
|
229
229
|
'collection',
|
|
@@ -237,7 +237,7 @@ var factories = {
|
|
|
237
237
|
'refund',
|
|
238
238
|
'shop',
|
|
239
239
|
]); },
|
|
240
|
-
'io.flow.shopify.external.v0.enums.financial_status_type': function () { return faker.
|
|
240
|
+
'io.flow.shopify.external.v0.enums.financial_status_type': function () { return faker.helpers.arrayElement([
|
|
241
241
|
'pending',
|
|
242
242
|
'authorized',
|
|
243
243
|
'partially_paid',
|
|
@@ -246,32 +246,32 @@ var factories = {
|
|
|
246
246
|
'refunded',
|
|
247
247
|
'voided',
|
|
248
248
|
]); },
|
|
249
|
-
'io.flow.shopify.external.v0.enums.format': function () { return faker.
|
|
250
|
-
'io.flow.shopify.external.v0.enums.fulfillment_service': function () { return faker.
|
|
251
|
-
'io.flow.shopify.external.v0.enums.fulfillment_status_type': function () { return faker.
|
|
252
|
-
'io.flow.shopify.external.v0.enums.inventory_behaviour': function () { return faker.
|
|
253
|
-
'io.flow.shopify.external.v0.enums.inventory_management': function () { return faker.
|
|
254
|
-
'io.flow.shopify.external.v0.enums.inventory_policy': function () { return faker.
|
|
255
|
-
'io.flow.shopify.external.v0.enums.kind_type': function () { return faker.
|
|
256
|
-
'io.flow.shopify.external.v0.enums.localized_price': function () { return faker.
|
|
249
|
+
'io.flow.shopify.external.v0.enums.format': function () { return faker.helpers.arrayElement(['json', 'xml']); },
|
|
250
|
+
'io.flow.shopify.external.v0.enums.fulfillment_service': function () { return faker.helpers.arrayElement(['manual', 'gift_card']); },
|
|
251
|
+
'io.flow.shopify.external.v0.enums.fulfillment_status_type': function () { return faker.helpers.arrayElement(['fulfilled', 'null', 'partial']); },
|
|
252
|
+
'io.flow.shopify.external.v0.enums.inventory_behaviour': function () { return faker.helpers.arrayElement(['bypass', 'decrement_ignoring_policy', 'decrement_obeying_policy']); },
|
|
253
|
+
'io.flow.shopify.external.v0.enums.inventory_management': function () { return faker.helpers.arrayElement(['blank', 'shopify']); },
|
|
254
|
+
'io.flow.shopify.external.v0.enums.inventory_policy': function () { return faker.helpers.arrayElement(['deny', 'continue']); },
|
|
255
|
+
'io.flow.shopify.external.v0.enums.kind_type': function () { return faker.helpers.arrayElement(['authorization', 'capture', 'sale', 'void', 'refund']); },
|
|
256
|
+
'io.flow.shopify.external.v0.enums.localized_price': function () { return faker.helpers.arrayElement([
|
|
257
257
|
'localized_item_price',
|
|
258
258
|
'localized_item_vat',
|
|
259
259
|
'localized_item_duty',
|
|
260
260
|
'localized_total',
|
|
261
261
|
]); },
|
|
262
|
-
'io.flow.shopify.external.v0.enums.order_status_type': function () { return faker.
|
|
263
|
-
'io.flow.shopify.external.v0.enums.price_rule_allocation_method': function () { return faker.
|
|
264
|
-
'io.flow.shopify.external.v0.enums.price_rule_customer_selection': function () { return faker.
|
|
265
|
-
'io.flow.shopify.external.v0.enums.price_rule_target_selection': function () { return faker.
|
|
266
|
-
'io.flow.shopify.external.v0.enums.price_rule_target_type': function () { return faker.
|
|
267
|
-
'io.flow.shopify.external.v0.enums.price_rule_value_type': function () { return faker.
|
|
268
|
-
'io.flow.shopify.external.v0.enums.published_scope': function () { return faker.
|
|
269
|
-
'io.flow.shopify.external.v0.enums.restock_type': function () { return faker.
|
|
270
|
-
'io.flow.shopify.external.v0.enums.shopify_customer_state': function () { return faker.
|
|
271
|
-
'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': function () { return faker.
|
|
272
|
-
'io.flow.shopify.external.v0.enums.shopify_gift_card_status': function () { return faker.
|
|
273
|
-
'io.flow.shopify.external.v0.enums.shopify_processing_method_type': function () { return faker.
|
|
274
|
-
'io.flow.shopify.external.v0.enums.shopify_transaction_error_code': function () { return faker.
|
|
262
|
+
'io.flow.shopify.external.v0.enums.order_status_type': function () { return faker.helpers.arrayElement(['open', 'closed', 'cancelled', 'any']); },
|
|
263
|
+
'io.flow.shopify.external.v0.enums.price_rule_allocation_method': function () { return faker.helpers.arrayElement(['across', 'each']); },
|
|
264
|
+
'io.flow.shopify.external.v0.enums.price_rule_customer_selection': function () { return faker.helpers.arrayElement(['all', 'prerequisite']); },
|
|
265
|
+
'io.flow.shopify.external.v0.enums.price_rule_target_selection': function () { return faker.helpers.arrayElement(['all', 'entitled']); },
|
|
266
|
+
'io.flow.shopify.external.v0.enums.price_rule_target_type': function () { return faker.helpers.arrayElement(['line_item', 'shipping_line']); },
|
|
267
|
+
'io.flow.shopify.external.v0.enums.price_rule_value_type': function () { return faker.helpers.arrayElement(['fixed_amount', 'percentage']); },
|
|
268
|
+
'io.flow.shopify.external.v0.enums.published_scope': function () { return faker.helpers.arrayElement(['global']); },
|
|
269
|
+
'io.flow.shopify.external.v0.enums.restock_type': function () { return faker.helpers.arrayElement(['no_restock', 'cancel', 'return']); },
|
|
270
|
+
'io.flow.shopify.external.v0.enums.shopify_customer_state': function () { return faker.helpers.arrayElement(['disabled', 'invited', 'enabled']); },
|
|
271
|
+
'io.flow.shopify.external.v0.enums.shopify_discount_pagination_direction': function () { return faker.helpers.arrayElement(['next', 'prev']); },
|
|
272
|
+
'io.flow.shopify.external.v0.enums.shopify_gift_card_status': function () { return faker.helpers.arrayElement(['any', 'enabled', 'disabled']); },
|
|
273
|
+
'io.flow.shopify.external.v0.enums.shopify_processing_method_type': function () { return faker.helpers.arrayElement(['checkout', 'direct', 'manual', 'offsite', 'express']); },
|
|
274
|
+
'io.flow.shopify.external.v0.enums.shopify_transaction_error_code': function () { return faker.helpers.arrayElement([
|
|
275
275
|
'incorrect_number',
|
|
276
276
|
'invalid_number',
|
|
277
277
|
'invalid_expiry_date',
|
|
@@ -285,8 +285,8 @@ var factories = {
|
|
|
285
285
|
'call_issuer',
|
|
286
286
|
'pick_up_card',
|
|
287
287
|
]); },
|
|
288
|
-
'io.flow.shopify.external.v0.enums.shopify_transaction_status': function () { return faker.
|
|
289
|
-
'io.flow.shopify.external.v0.enums.topic': function () { return faker.
|
|
288
|
+
'io.flow.shopify.external.v0.enums.shopify_transaction_status': function () { return faker.helpers.arrayElement(['pending', 'failure', 'success', 'error']); },
|
|
289
|
+
'io.flow.shopify.external.v0.enums.topic': function () { return faker.helpers.arrayElement([
|
|
290
290
|
'carts/create',
|
|
291
291
|
'carts/update',
|
|
292
292
|
'checkouts/create',
|
|
@@ -338,8 +338,8 @@ var factories = {
|
|
|
338
338
|
'themes/publish',
|
|
339
339
|
'themes/update',
|
|
340
340
|
]); },
|
|
341
|
-
'io.flow.shopify.external.v0.enums.value_type': function () { return faker.
|
|
342
|
-
'io.flow.shopify.external.v0.enums.weight_unit': function () { return faker.
|
|
341
|
+
'io.flow.shopify.external.v0.enums.value_type': function () { return faker.helpers.arrayElement(['string', 'integer']); },
|
|
342
|
+
'io.flow.shopify.external.v0.enums.weight_unit': function () { return faker.helpers.arrayElement(['g', 'kg', 'oz', 'lb']); },
|
|
343
343
|
'io.flow.shopify.external.v0.models.collection': function () { return ({
|
|
344
344
|
id: factories.long(),
|
|
345
345
|
handle: factories.string(),
|
|
@@ -1111,8 +1111,8 @@ var factories = {
|
|
|
1111
1111
|
'io.flow.shopify.external.v0.models.webhook_response_single': function () { return ({
|
|
1112
1112
|
webhook: factories['io.flow.shopify.external.v0.models.webhook'](),
|
|
1113
1113
|
}); },
|
|
1114
|
-
'io.flow.stripe.v0.enums.account_type': function () { return faker.
|
|
1115
|
-
'io.flow.stripe.v0.enums.cancellation_reason': function () { return faker.
|
|
1114
|
+
'io.flow.stripe.v0.enums.account_type': function () { return faker.helpers.arrayElement(['platform', 'custom', 'standard', 'express']); },
|
|
1115
|
+
'io.flow.stripe.v0.enums.cancellation_reason': function () { return faker.helpers.arrayElement([
|
|
1116
1116
|
'abandoned',
|
|
1117
1117
|
'automatic',
|
|
1118
1118
|
'duplicate',
|
|
@@ -1121,8 +1121,8 @@ var factories = {
|
|
|
1121
1121
|
'requested_by_customer',
|
|
1122
1122
|
'void_invoice',
|
|
1123
1123
|
]); },
|
|
1124
|
-
'io.flow.stripe.v0.enums.capture_method': function () { return faker.
|
|
1125
|
-
'io.flow.stripe.v0.enums.card_brand': function () { return faker.
|
|
1124
|
+
'io.flow.stripe.v0.enums.capture_method': function () { return faker.helpers.arrayElement(['automatic', 'manual']); },
|
|
1125
|
+
'io.flow.stripe.v0.enums.card_brand': function () { return faker.helpers.arrayElement([
|
|
1126
1126
|
'American Express',
|
|
1127
1127
|
'MasterCard',
|
|
1128
1128
|
'Discover',
|
|
@@ -1130,7 +1130,7 @@ var factories = {
|
|
|
1130
1130
|
'Diners Club',
|
|
1131
1131
|
'Unknown',
|
|
1132
1132
|
]); },
|
|
1133
|
-
'io.flow.stripe.v0.enums.card_error_code': function () { return faker.
|
|
1133
|
+
'io.flow.stripe.v0.enums.card_error_code': function () { return faker.helpers.arrayElement([
|
|
1134
1134
|
'invalid_number',
|
|
1135
1135
|
'invalid_expiry_month',
|
|
1136
1136
|
'invalid_expiry_year',
|
|
@@ -1144,11 +1144,11 @@ var factories = {
|
|
|
1144
1144
|
'missing',
|
|
1145
1145
|
'processing_error',
|
|
1146
1146
|
]); },
|
|
1147
|
-
'io.flow.stripe.v0.enums.card_funding_type': function () { return faker.
|
|
1148
|
-
'io.flow.stripe.v0.enums.check_outcome': function () { return faker.
|
|
1149
|
-
'io.flow.stripe.v0.enums.code_verification_status': function () { return faker.
|
|
1150
|
-
'io.flow.stripe.v0.enums.confirmation_method': function () { return faker.
|
|
1151
|
-
'io.flow.stripe.v0.enums.decline_code': function () { return faker.
|
|
1147
|
+
'io.flow.stripe.v0.enums.card_funding_type': function () { return faker.helpers.arrayElement(['credit', 'debit', 'prepaid', 'unknown']); },
|
|
1148
|
+
'io.flow.stripe.v0.enums.check_outcome': function () { return faker.helpers.arrayElement(['pass', 'fail', 'unavailable', 'unchecked']); },
|
|
1149
|
+
'io.flow.stripe.v0.enums.code_verification_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'failed']); },
|
|
1150
|
+
'io.flow.stripe.v0.enums.confirmation_method': function () { return faker.helpers.arrayElement(['automatic', 'manual']); },
|
|
1151
|
+
'io.flow.stripe.v0.enums.decline_code': function () { return faker.helpers.arrayElement([
|
|
1152
1152
|
'approve_with_id',
|
|
1153
1153
|
'call_issuer',
|
|
1154
1154
|
'card_not_supported',
|
|
@@ -1192,7 +1192,7 @@ var factories = {
|
|
|
1192
1192
|
'try_again_later',
|
|
1193
1193
|
'withdrawal_count_limit_exceeded',
|
|
1194
1194
|
]); },
|
|
1195
|
-
'io.flow.stripe.v0.enums.error_type': function () { return faker.
|
|
1195
|
+
'io.flow.stripe.v0.enums.error_type': function () { return faker.helpers.arrayElement([
|
|
1196
1196
|
'api_connection_error',
|
|
1197
1197
|
'api_error',
|
|
1198
1198
|
'authentication_error',
|
|
@@ -1202,7 +1202,7 @@ var factories = {
|
|
|
1202
1202
|
'rate_limit_error',
|
|
1203
1203
|
'validation_error',
|
|
1204
1204
|
]); },
|
|
1205
|
-
'io.flow.stripe.v0.enums.event_type': function () { return faker.
|
|
1205
|
+
'io.flow.stripe.v0.enums.event_type': function () { return faker.helpers.arrayElement([
|
|
1206
1206
|
'charge.captured',
|
|
1207
1207
|
'charge.failed',
|
|
1208
1208
|
'charge.pending',
|
|
@@ -1217,23 +1217,23 @@ var factories = {
|
|
|
1217
1217
|
'source.chargeable',
|
|
1218
1218
|
'source.failed',
|
|
1219
1219
|
]); },
|
|
1220
|
-
'io.flow.stripe.v0.enums.klarna_payment_method_category_type': function () { return faker.
|
|
1220
|
+
'io.flow.stripe.v0.enums.klarna_payment_method_category_type': function () { return faker.helpers.arrayElement([
|
|
1221
1221
|
'direct_bank_transfer',
|
|
1222
1222
|
'direct_debit',
|
|
1223
1223
|
'pay_later',
|
|
1224
1224
|
'pay_now',
|
|
1225
1225
|
'pay_over_time',
|
|
1226
1226
|
]); },
|
|
1227
|
-
'io.flow.stripe.v0.enums.klarna_product': function () { return faker.
|
|
1228
|
-
'io.flow.stripe.v0.enums.network_status': function () { return faker.
|
|
1227
|
+
'io.flow.stripe.v0.enums.klarna_product': function () { return faker.helpers.arrayElement(['payment']); },
|
|
1228
|
+
'io.flow.stripe.v0.enums.network_status': function () { return faker.helpers.arrayElement([
|
|
1229
1229
|
'approved_by_network',
|
|
1230
1230
|
'declined_by_network',
|
|
1231
1231
|
'not_sent_to_network',
|
|
1232
1232
|
'reversed_after_approval',
|
|
1233
1233
|
]); },
|
|
1234
|
-
'io.flow.stripe.v0.enums.next_action_type': function () { return faker.
|
|
1235
|
-
'io.flow.stripe.v0.enums.order_item_type': function () { return faker.
|
|
1236
|
-
'io.flow.stripe.v0.enums.payment_intent_status': function () { return faker.
|
|
1234
|
+
'io.flow.stripe.v0.enums.next_action_type': function () { return faker.helpers.arrayElement(['redirect_to_url', 'use_stripe_sdk']); },
|
|
1235
|
+
'io.flow.stripe.v0.enums.order_item_type': function () { return faker.helpers.arrayElement(['sku', 'tax', 'shipping', 'discount']); },
|
|
1236
|
+
'io.flow.stripe.v0.enums.payment_intent_status': function () { return faker.helpers.arrayElement([
|
|
1237
1237
|
'canceled',
|
|
1238
1238
|
'processing',
|
|
1239
1239
|
'requires_action',
|
|
@@ -1242,18 +1242,18 @@ var factories = {
|
|
|
1242
1242
|
'requires_payment_method',
|
|
1243
1243
|
'succeeded',
|
|
1244
1244
|
]); },
|
|
1245
|
-
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.
|
|
1246
|
-
'io.flow.stripe.v0.enums.payment_outcome_type': function () { return faker.
|
|
1247
|
-
'io.flow.stripe.v0.enums.payment_status': function () { return faker.
|
|
1248
|
-
'io.flow.stripe.v0.enums.refund_failure_reason': function () { return faker.
|
|
1249
|
-
'io.flow.stripe.v0.enums.refund_reason': function () { return faker.
|
|
1250
|
-
'io.flow.stripe.v0.enums.refund_status': function () { return faker.
|
|
1251
|
-
'io.flow.stripe.v0.enums.request_three_d_secure_type': function () { return faker.
|
|
1252
|
-
'io.flow.stripe.v0.enums.requested_capabilities': function () { return faker.
|
|
1253
|
-
'io.flow.stripe.v0.enums.setup_future_usage': function () { return faker.
|
|
1254
|
-
'io.flow.stripe.v0.enums.source_flow': function () { return faker.
|
|
1255
|
-
'io.flow.stripe.v0.enums.source_status': function () { return faker.
|
|
1256
|
-
'io.flow.stripe.v0.enums.source_type': function () { return faker.
|
|
1245
|
+
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present']); },
|
|
1246
|
+
'io.flow.stripe.v0.enums.payment_outcome_type': function () { return faker.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']); },
|
|
1247
|
+
'io.flow.stripe.v0.enums.payment_status': function () { return faker.helpers.arrayElement(['succeeded', 'pending', 'failed']); },
|
|
1248
|
+
'io.flow.stripe.v0.enums.refund_failure_reason': function () { return faker.helpers.arrayElement(['lost_or_stolen_card', 'expired_or_canceled_card', 'unknown']); },
|
|
1249
|
+
'io.flow.stripe.v0.enums.refund_reason': function () { return faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']); },
|
|
1250
|
+
'io.flow.stripe.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['succeeded', 'failed', 'pending', 'canceled']); },
|
|
1251
|
+
'io.flow.stripe.v0.enums.request_three_d_secure_type': function () { return faker.helpers.arrayElement(['automatic', 'any']); },
|
|
1252
|
+
'io.flow.stripe.v0.enums.requested_capabilities': function () { return faker.helpers.arrayElement(['card_payments', 'legacy_payments', 'transfers']); },
|
|
1253
|
+
'io.flow.stripe.v0.enums.setup_future_usage': function () { return faker.helpers.arrayElement(['on_session', 'off_session']); },
|
|
1254
|
+
'io.flow.stripe.v0.enums.source_flow': function () { return faker.helpers.arrayElement(['redirect', 'receiver', 'code_verification', 'none']); },
|
|
1255
|
+
'io.flow.stripe.v0.enums.source_status': function () { return faker.helpers.arrayElement(['canceled', 'chargeable', 'consumed', 'failed', 'pending']); },
|
|
1256
|
+
'io.flow.stripe.v0.enums.source_type': function () { return faker.helpers.arrayElement([
|
|
1257
1257
|
'ach_credit_transfer',
|
|
1258
1258
|
'ach_debit',
|
|
1259
1259
|
'alipay',
|
|
@@ -1270,10 +1270,10 @@ var factories = {
|
|
|
1270
1270
|
'sofort',
|
|
1271
1271
|
'three_d_secure',
|
|
1272
1272
|
]); },
|
|
1273
|
-
'io.flow.stripe.v0.enums.source_usage_type': function () { return faker.
|
|
1274
|
-
'io.flow.stripe.v0.enums.three_d_secure_support': function () { return faker.
|
|
1275
|
-
'io.flow.stripe.v0.enums.token_type': function () { return faker.
|
|
1276
|
-
'io.flow.stripe.v0.enums.use_stripe_sdk_type': function () { return faker.
|
|
1273
|
+
'io.flow.stripe.v0.enums.source_usage_type': function () { return faker.helpers.arrayElement(['reusable', 'single_use']); },
|
|
1274
|
+
'io.flow.stripe.v0.enums.three_d_secure_support': function () { return faker.helpers.arrayElement(['required', 'recommended', 'optional', 'not_supported']); },
|
|
1275
|
+
'io.flow.stripe.v0.enums.token_type': function () { return faker.helpers.arrayElement(['account', 'bank_account', 'card', 'pii']); },
|
|
1276
|
+
'io.flow.stripe.v0.enums.use_stripe_sdk_type': function () { return faker.helpers.arrayElement(['three_d_secure_redirect', 'stripe_3ds2_fingerprint']); },
|
|
1277
1277
|
'io.flow.stripe.v0.models.account': function () { return ({
|
|
1278
1278
|
id: factories.string(),
|
|
1279
1279
|
object: factories.string(),
|
|
@@ -1885,9 +1885,9 @@ var factories = {
|
|
|
1885
1885
|
amount: factories.integer(),
|
|
1886
1886
|
destination: factories.string(),
|
|
1887
1887
|
}); },
|
|
1888
|
-
'io.flow.v0.enums.abandoned_order_promotion_status': function () { return faker.
|
|
1889
|
-
'io.flow.v0.enums.abandoned_order_setting_status': function () { return faker.
|
|
1890
|
-
'io.flow.v0.enums.address_field_name': function () { return faker.
|
|
1888
|
+
'io.flow.v0.enums.abandoned_order_promotion_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
1889
|
+
'io.flow.v0.enums.abandoned_order_setting_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
1890
|
+
'io.flow.v0.enums.address_field_name': function () { return faker.helpers.arrayElement([
|
|
1891
1891
|
'first_name',
|
|
1892
1892
|
'last_name',
|
|
1893
1893
|
'street_1',
|
|
@@ -1900,11 +1900,12 @@ var factories = {
|
|
|
1900
1900
|
'company',
|
|
1901
1901
|
'vat_registration_number',
|
|
1902
1902
|
]); },
|
|
1903
|
-
'io.flow.v0.enums.
|
|
1904
|
-
'io.flow.v0.enums.
|
|
1905
|
-
'io.flow.v0.enums.
|
|
1906
|
-
'io.flow.v0.enums.
|
|
1907
|
-
'io.flow.v0.enums.
|
|
1903
|
+
'io.flow.v0.enums.address_verification_result_field_code': function () { return faker.helpers.arrayElement(['match', 'not_available', 'not_checked', 'not_matched']); },
|
|
1904
|
+
'io.flow.v0.enums.adjustment_reason_key': function () { return faker.helpers.arrayElement(['duty_deminimis', 'vat_deminimis']); },
|
|
1905
|
+
'io.flow.v0.enums.aggregate': function () { return faker.helpers.arrayElement(['maximum', 'minimum']); },
|
|
1906
|
+
'io.flow.v0.enums.attachment_type': function () { return faker.helpers.arrayElement(['csv']); },
|
|
1907
|
+
'io.flow.v0.enums.attribute_data_type': function () { return faker.helpers.arrayElement(['boolean', 'integer', 'decimal', 'string', 'json_array']); },
|
|
1908
|
+
'io.flow.v0.enums.attribute_intent': function () { return faker.helpers.arrayElement([
|
|
1908
1909
|
'brand',
|
|
1909
1910
|
'color',
|
|
1910
1911
|
'countries_of_origin',
|
|
@@ -1928,8 +1929,8 @@ var factories = {
|
|
|
1928
1929
|
'commercial_invoice_item_number',
|
|
1929
1930
|
'include_in_product_feeds',
|
|
1930
1931
|
]); },
|
|
1931
|
-
'io.flow.v0.enums.authentication_technique': function () { return faker.
|
|
1932
|
-
'io.flow.v0.enums.authorization_decline_code': function () { return faker.
|
|
1932
|
+
'io.flow.v0.enums.authentication_technique': function () { return faker.helpers.arrayElement(['anonymous', 'session', 'token', 'partner_token', 'user']); },
|
|
1933
|
+
'io.flow.v0.enums.authorization_decline_code': function () { return faker.helpers.arrayElement([
|
|
1933
1934
|
'expired',
|
|
1934
1935
|
'invalid_name',
|
|
1935
1936
|
'invalid_number',
|
|
@@ -1946,9 +1947,9 @@ var factories = {
|
|
|
1946
1947
|
'unknown',
|
|
1947
1948
|
'online_payment_error',
|
|
1948
1949
|
]); },
|
|
1949
|
-
'io.flow.v0.enums.authorization_option': function () { return faker.
|
|
1950
|
-
'io.flow.v0.enums.authorization_result_action_type': function () { return faker.
|
|
1951
|
-
'io.flow.v0.enums.authorization_status': function () { return faker.
|
|
1950
|
+
'io.flow.v0.enums.authorization_option': function () { return faker.helpers.arrayElement(['store_card']); },
|
|
1951
|
+
'io.flow.v0.enums.authorization_result_action_type': function () { return faker.helpers.arrayElement(['native', 'redirect', 'wait']); },
|
|
1952
|
+
'io.flow.v0.enums.authorization_status': function () { return faker.helpers.arrayElement([
|
|
1952
1953
|
'initiated',
|
|
1953
1954
|
'pending',
|
|
1954
1955
|
'expired',
|
|
@@ -1957,8 +1958,8 @@ var factories = {
|
|
|
1957
1958
|
'declined',
|
|
1958
1959
|
'reversed',
|
|
1959
1960
|
]); },
|
|
1960
|
-
'io.flow.v0.enums.availability_status': function () { return faker.
|
|
1961
|
-
'io.flow.v0.enums.available_filter_format': function () { return faker.
|
|
1961
|
+
'io.flow.v0.enums.availability_status': function () { return faker.helpers.arrayElement(['enabled', 'disabled']); },
|
|
1962
|
+
'io.flow.v0.enums.available_filter_format': function () { return faker.helpers.arrayElement([
|
|
1962
1963
|
'boolean',
|
|
1963
1964
|
'date',
|
|
1964
1965
|
'money',
|
|
@@ -1967,14 +1968,14 @@ var factories = {
|
|
|
1967
1968
|
'unit_of_length',
|
|
1968
1969
|
'unit_of_mass',
|
|
1969
1970
|
]); },
|
|
1970
|
-
'io.flow.v0.enums.avs_code': function () { return faker.
|
|
1971
|
-
'io.flow.v0.enums.b2b_invoice_type': function () { return faker.
|
|
1972
|
-
'io.flow.v0.enums.calendar': function () { return faker.
|
|
1973
|
-
'io.flow.v0.enums.cancel_reason': function () { return faker.
|
|
1974
|
-
'io.flow.v0.enums.capability': function () { return faker.
|
|
1975
|
-
'io.flow.v0.enums.capture_decline_code': function () { return faker.
|
|
1976
|
-
'io.flow.v0.enums.capture_status': function () { return faker.
|
|
1977
|
-
'io.flow.v0.enums.card_error_code': function () { return faker.
|
|
1971
|
+
'io.flow.v0.enums.avs_code': function () { return faker.helpers.arrayElement(['match', 'partial', 'unsupported', 'no_match']); },
|
|
1972
|
+
'io.flow.v0.enums.b2b_invoice_type': function () { return faker.helpers.arrayElement(['self_bill_invoice', 'invoice']); },
|
|
1973
|
+
'io.flow.v0.enums.calendar': function () { return faker.helpers.arrayElement(['weekdays', 'everyday']); },
|
|
1974
|
+
'io.flow.v0.enums.cancel_reason': function () { return faker.helpers.arrayElement(['out_of_stock', 'consumer_requested', 'flow_cancel']); },
|
|
1975
|
+
'io.flow.v0.enums.capability': function () { return faker.helpers.arrayElement(['crossdock']); },
|
|
1976
|
+
'io.flow.v0.enums.capture_decline_code': function () { return faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
1977
|
+
'io.flow.v0.enums.capture_status': function () { return faker.helpers.arrayElement(['initiated', 'pending', 'succeeded', 'failed', 'canceled']); },
|
|
1978
|
+
'io.flow.v0.enums.card_error_code': function () { return faker.helpers.arrayElement([
|
|
1978
1979
|
'invalid_address',
|
|
1979
1980
|
'invalid_currency',
|
|
1980
1981
|
'invalid_name',
|
|
@@ -1986,7 +1987,7 @@ var factories = {
|
|
|
1986
1987
|
'fraud',
|
|
1987
1988
|
'unknown',
|
|
1988
1989
|
]); },
|
|
1989
|
-
'io.flow.v0.enums.card_type': function () { return faker.
|
|
1990
|
+
'io.flow.v0.enums.card_type': function () { return faker.helpers.arrayElement([
|
|
1990
1991
|
'american_express',
|
|
1991
1992
|
'cartes_bancaires',
|
|
1992
1993
|
'china_union_pay',
|
|
@@ -1998,15 +1999,15 @@ var factories = {
|
|
|
1998
1999
|
'mastercard',
|
|
1999
2000
|
'visa',
|
|
2000
2001
|
]); },
|
|
2001
|
-
'io.flow.v0.enums.center_capability': function () { return faker.
|
|
2002
|
-
'io.flow.v0.enums.change_type': function () { return faker.
|
|
2003
|
-
'io.flow.v0.enums.channel_currency_capability': function () { return faker.
|
|
2004
|
-
'io.flow.v0.enums.consumer_invoice_customer_type': function () { return faker.
|
|
2005
|
-
'io.flow.v0.enums.consumer_invoice_document_type': function () { return faker.
|
|
2006
|
-
'io.flow.v0.enums.consumer_invoice_status': function () { return faker.
|
|
2007
|
-
'io.flow.v0.enums.cost_estimate_source': function () { return faker.
|
|
2008
|
-
'io.flow.v0.enums.country_picker_source': function () { return faker.
|
|
2009
|
-
'io.flow.v0.enums.credit_payment_error_code': function () { return faker.
|
|
2002
|
+
'io.flow.v0.enums.center_capability': function () { return faker.helpers.arrayElement(['international', 'domestic', 'crossdock', 'commercial_invoice']); },
|
|
2003
|
+
'io.flow.v0.enums.change_type': function () { return faker.helpers.arrayElement(['insert', 'update', 'delete']); },
|
|
2004
|
+
'io.flow.v0.enums.channel_currency_capability': function () { return faker.helpers.arrayElement(['payment_authorizations', 'settlement_currency']); },
|
|
2005
|
+
'io.flow.v0.enums.consumer_invoice_customer_type': function () { return faker.helpers.arrayElement(['business_eu_verified', 'business_non_verified', 'individual']); },
|
|
2006
|
+
'io.flow.v0.enums.consumer_invoice_document_type': function () { return faker.helpers.arrayElement(['pdf']); },
|
|
2007
|
+
'io.flow.v0.enums.consumer_invoice_status': function () { return faker.helpers.arrayElement(['pending', 'available', 'invalid']); },
|
|
2008
|
+
'io.flow.v0.enums.cost_estimate_source': function () { return faker.helpers.arrayElement(['flow', 'channel']); },
|
|
2009
|
+
'io.flow.v0.enums.country_picker_source': function () { return faker.helpers.arrayElement(['experience', 'destination']); },
|
|
2010
|
+
'io.flow.v0.enums.credit_payment_error_code': function () { return faker.helpers.arrayElement([
|
|
2010
2011
|
'generic_error',
|
|
2011
2012
|
'invalid_order_number',
|
|
2012
2013
|
'invalid_currency',
|
|
@@ -2016,11 +2017,12 @@ var factories = {
|
|
|
2016
2017
|
'amount_exceeds_balance',
|
|
2017
2018
|
'insufficient_amount',
|
|
2018
2019
|
]); },
|
|
2019
|
-
'io.flow.v0.enums.currency_label_formatter': function () { return faker.
|
|
2020
|
-
'io.flow.v0.enums.currency_symbol_format': function () { return faker.
|
|
2021
|
-
'io.flow.v0.enums.customer_address_type': function () { return faker.
|
|
2022
|
-
'io.flow.v0.enums.cvv_code': function () { return faker.
|
|
2023
|
-
'io.flow.v0.enums.
|
|
2020
|
+
'io.flow.v0.enums.currency_label_formatter': function () { return faker.helpers.arrayElement(['strip_trailing_zeros', 'symbol_prefix', 'symbol_suffix']); },
|
|
2021
|
+
'io.flow.v0.enums.currency_symbol_format': function () { return faker.helpers.arrayElement(['narrow', 'primary']); },
|
|
2022
|
+
'io.flow.v0.enums.customer_address_type': function () { return faker.helpers.arrayElement(['billing', 'invoice', 'shipping']); },
|
|
2023
|
+
'io.flow.v0.enums.cvv_code': function () { return faker.helpers.arrayElement(['match', 'suspicious', 'unsupported', 'no_match']); },
|
|
2024
|
+
'io.flow.v0.enums.cvv_result_code': function () { return faker.helpers.arrayElement(['match', 'not_available', 'not_checked', 'not_matched']); },
|
|
2025
|
+
'io.flow.v0.enums.day_of_week': function () { return faker.helpers.arrayElement([
|
|
2024
2026
|
'sunday',
|
|
2025
2027
|
'monday',
|
|
2026
2028
|
'tuesday',
|
|
@@ -2029,9 +2031,9 @@ var factories = {
|
|
|
2029
2031
|
'friday',
|
|
2030
2032
|
'saturday',
|
|
2031
2033
|
]); },
|
|
2032
|
-
'io.flow.v0.enums.delivered_duty': function () { return faker.
|
|
2033
|
-
'io.flow.v0.enums.delivered_duty_display_type': function () { return faker.
|
|
2034
|
-
'io.flow.v0.enums.delivery_option_cost_detail_component_key': function () { return faker.
|
|
2034
|
+
'io.flow.v0.enums.delivered_duty': function () { return faker.helpers.arrayElement(['paid', 'unpaid']); },
|
|
2035
|
+
'io.flow.v0.enums.delivered_duty_display_type': function () { return faker.helpers.arrayElement(['all', 'single']); },
|
|
2036
|
+
'io.flow.v0.enums.delivery_option_cost_detail_component_key': function () { return faker.helpers.arrayElement([
|
|
2035
2037
|
'ratecard_base_cost',
|
|
2036
2038
|
'ratecard_ddp_fee',
|
|
2037
2039
|
'ratecard_fuel_surcharge',
|
|
@@ -2044,15 +2046,15 @@ var factories = {
|
|
|
2044
2046
|
'center_inbound_carton_fee',
|
|
2045
2047
|
'center_outbound_carton_fee',
|
|
2046
2048
|
]); },
|
|
2047
|
-
'io.flow.v0.enums.delivery_option_cost_detail_source': function () { return faker.
|
|
2048
|
-
'io.flow.v0.enums.delivery_window_component_source': function () { return faker.
|
|
2049
|
-
'io.flow.v0.enums.delivery_window_location': function () { return faker.
|
|
2050
|
-
'io.flow.v0.enums.direction': function () { return faker.
|
|
2051
|
-
'io.flow.v0.enums.discount_rule_status': function () { return faker.
|
|
2052
|
-
'io.flow.v0.enums.discount_rule_subsidy_target': function () { return faker.
|
|
2053
|
-
'io.flow.v0.enums.discount_target': function () { return faker.
|
|
2054
|
-
'io.flow.v0.enums.duty_item_approval_status': function () { return faker.
|
|
2055
|
-
'io.flow.v0.enums.ecommerce_platform_type': function () { return faker.
|
|
2049
|
+
'io.flow.v0.enums.delivery_option_cost_detail_source': function () { return faker.helpers.arrayElement(['center', 'ratecard']); },
|
|
2050
|
+
'io.flow.v0.enums.delivery_window_component_source': function () { return faker.helpers.arrayElement(['flow', 'organization', 'carrier', 'center', 'mixed']); },
|
|
2051
|
+
'io.flow.v0.enums.delivery_window_location': function () { return faker.helpers.arrayElement(['center', 'crossdock', 'customer']); },
|
|
2052
|
+
'io.flow.v0.enums.direction': function () { return faker.helpers.arrayElement(['outbound', 'return']); },
|
|
2053
|
+
'io.flow.v0.enums.discount_rule_status': function () { return faker.helpers.arrayElement(['active', 'scheduled', 'expired']); },
|
|
2054
|
+
'io.flow.v0.enums.discount_rule_subsidy_target': function () { return faker.helpers.arrayElement(['vat', 'duty']); },
|
|
2055
|
+
'io.flow.v0.enums.discount_target': function () { return faker.helpers.arrayElement(['item', 'shipping']); },
|
|
2056
|
+
'io.flow.v0.enums.duty_item_approval_status': function () { return faker.helpers.arrayElement(['pending', 'certified', 'decertified']); },
|
|
2057
|
+
'io.flow.v0.enums.ecommerce_platform_type': function () { return faker.helpers.arrayElement([
|
|
2056
2058
|
'commercetools',
|
|
2057
2059
|
'custom',
|
|
2058
2060
|
'hybris',
|
|
@@ -2063,10 +2065,10 @@ var factories = {
|
|
|
2063
2065
|
'solidus',
|
|
2064
2066
|
'workarea',
|
|
2065
2067
|
]); },
|
|
2066
|
-
'io.flow.v0.enums.economic_title_location': function () { return faker.
|
|
2067
|
-
'io.flow.v0.enums.entity_identifier_type': function () { return faker.
|
|
2068
|
-
'io.flow.v0.enums.environment': function () { return faker.
|
|
2069
|
-
'io.flow.v0.enums.event_type': function () { return faker.
|
|
2068
|
+
'io.flow.v0.enums.economic_title_location': function () { return faker.helpers.arrayElement(['high_seas', 'origination', 'destination']); },
|
|
2069
|
+
'io.flow.v0.enums.entity_identifier_type': function () { return faker.helpers.arrayElement(['ioss', 'voec']); },
|
|
2070
|
+
'io.flow.v0.enums.environment': function () { return faker.helpers.arrayElement(['sandbox', 'production']); },
|
|
2071
|
+
'io.flow.v0.enums.event_type': function () { return faker.helpers.arrayElement([
|
|
2070
2072
|
'transaction_upserted',
|
|
2071
2073
|
'organization_transaction_upserted',
|
|
2072
2074
|
'organization_transaction_deleted',
|
|
@@ -2255,15 +2257,15 @@ var factories = {
|
|
|
2255
2257
|
'shopify_localization_setting_deleted',
|
|
2256
2258
|
'tracking_label_event_upserted',
|
|
2257
2259
|
]); },
|
|
2258
|
-
'io.flow.v0.enums.exception_type': function () { return faker.
|
|
2259
|
-
'io.flow.v0.enums.exclusion_rule_state': function () { return faker.
|
|
2260
|
-
'io.flow.v0.enums.experience_clone_status': function () { return faker.
|
|
2261
|
-
'io.flow.v0.enums.experience_country_status': function () { return faker.
|
|
2262
|
-
'io.flow.v0.enums.experience_payment_method_tag': function () { return faker.
|
|
2263
|
-
'io.flow.v0.enums.experience_status': function () { return faker.
|
|
2264
|
-
'io.flow.v0.enums.export_status': function () { return faker.
|
|
2265
|
-
'io.flow.v0.enums.exporter_of_record': function () { return faker.
|
|
2266
|
-
'io.flow.v0.enums.fee_deduction_type': function () { return faker.
|
|
2260
|
+
'io.flow.v0.enums.exception_type': function () { return faker.helpers.arrayElement(['open', 'closed']); },
|
|
2261
|
+
'io.flow.v0.enums.exclusion_rule_state': function () { return faker.helpers.arrayElement(['current', 'deleting', 'updating']); },
|
|
2262
|
+
'io.flow.v0.enums.experience_clone_status': function () { return faker.helpers.arrayElement(['pending', 'updating', 'completed', 'failed']); },
|
|
2263
|
+
'io.flow.v0.enums.experience_country_status': function () { return faker.helpers.arrayElement(['enabled', 'disabled']); },
|
|
2264
|
+
'io.flow.v0.enums.experience_payment_method_tag': function () { return faker.helpers.arrayElement(['display']); },
|
|
2265
|
+
'io.flow.v0.enums.experience_status': function () { return faker.helpers.arrayElement(['draft', 'active', 'archiving', 'archived']); },
|
|
2266
|
+
'io.flow.v0.enums.export_status': function () { return faker.helpers.arrayElement(['created', 'processing', 'completed', 'failed']); },
|
|
2267
|
+
'io.flow.v0.enums.exporter_of_record': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
2268
|
+
'io.flow.v0.enums.fee_deduction_type': function () { return faker.helpers.arrayElement([
|
|
2267
2269
|
'duty_guarantee',
|
|
2268
2270
|
'mor',
|
|
2269
2271
|
'fraud',
|
|
@@ -2272,9 +2274,9 @@ var factories = {
|
|
|
2272
2274
|
'rate_lock',
|
|
2273
2275
|
'transfer',
|
|
2274
2276
|
]); },
|
|
2275
|
-
'io.flow.v0.enums.flow_behavior': function () { return faker.
|
|
2276
|
-
'io.flow.v0.enums.flow_entity': function () { return faker.
|
|
2277
|
-
'io.flow.v0.enums.flow_role': function () { return faker.
|
|
2277
|
+
'io.flow.v0.enums.flow_behavior': function () { return faker.helpers.arrayElement(['view_consumer_data']); },
|
|
2278
|
+
'io.flow.v0.enums.flow_entity': function () { return faker.helpers.arrayElement(['flow-usa', 'flow-irl', 'flow-can']); },
|
|
2279
|
+
'io.flow.v0.enums.flow_role': function () { return faker.helpers.arrayElement([
|
|
2278
2280
|
'organization_admin',
|
|
2279
2281
|
'organization_merchant',
|
|
2280
2282
|
'organization_customer_service',
|
|
@@ -2285,18 +2287,18 @@ var factories = {
|
|
|
2285
2287
|
'channel_admin',
|
|
2286
2288
|
'channel_organization_admin',
|
|
2287
2289
|
]); },
|
|
2288
|
-
'io.flow.v0.enums.fraud_email_rule_decision': function () { return faker.
|
|
2289
|
-
'io.flow.v0.enums.fraud_liability': function () { return faker.
|
|
2290
|
-
'io.flow.v0.enums.fraud_status': function () { return faker.
|
|
2291
|
-
'io.flow.v0.enums.ftp_file_source': function () { return faker.
|
|
2292
|
-
'io.flow.v0.enums.fulfillment_item_quantity_status': function () { return faker.
|
|
2293
|
-
'io.flow.v0.enums.fulfillment_method_type': function () { return faker.
|
|
2294
|
-
'io.flow.v0.enums.fulfillment_method_value': function () { return faker.
|
|
2295
|
-
'io.flow.v0.enums.generic_error_code': function () { return faker.
|
|
2296
|
-
'io.flow.v0.enums.goods_supply': function () { return faker.
|
|
2297
|
-
'io.flow.v0.enums.holiday_calendar': function () { return faker.
|
|
2298
|
-
'io.flow.v0.enums.image_tag': function () { return faker.
|
|
2299
|
-
'io.flow.v0.enums.import_type': function () { return faker.
|
|
2290
|
+
'io.flow.v0.enums.fraud_email_rule_decision': function () { return faker.helpers.arrayElement(['approved', 'declined']); },
|
|
2291
|
+
'io.flow.v0.enums.fraud_liability': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
2292
|
+
'io.flow.v0.enums.fraud_status': function () { return faker.helpers.arrayElement(['pending', 'approved', 'declined', 'review']); },
|
|
2293
|
+
'io.flow.v0.enums.ftp_file_source': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
2294
|
+
'io.flow.v0.enums.fulfillment_item_quantity_status': function () { return faker.helpers.arrayElement(['new', 'shipped', 'cancelled']); },
|
|
2295
|
+
'io.flow.v0.enums.fulfillment_method_type': function () { return faker.helpers.arrayElement(['fulfillment_method']); },
|
|
2296
|
+
'io.flow.v0.enums.fulfillment_method_value': function () { return faker.helpers.arrayElement(['digital', 'physical']); },
|
|
2297
|
+
'io.flow.v0.enums.generic_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']); },
|
|
2298
|
+
'io.flow.v0.enums.goods_supply': function () { return faker.helpers.arrayElement(['export', 'intra_community', 'local']); },
|
|
2299
|
+
'io.flow.v0.enums.holiday_calendar': function () { return faker.helpers.arrayElement(['us_bank_holidays', 'jewish_holidays']); },
|
|
2300
|
+
'io.flow.v0.enums.image_tag': function () { return faker.helpers.arrayElement(['thumbnail', 'checkout']); },
|
|
2301
|
+
'io.flow.v0.enums.import_type': function () { return faker.helpers.arrayElement([
|
|
2300
2302
|
'catalog_items',
|
|
2301
2303
|
'catalog_items_external',
|
|
2302
2304
|
'customs_descriptions',
|
|
@@ -2310,8 +2312,8 @@ var factories = {
|
|
|
2310
2312
|
'ratecard_lanes',
|
|
2311
2313
|
'order_service_changes',
|
|
2312
2314
|
]); },
|
|
2313
|
-
'io.flow.v0.enums.included_levy_key': function () { return faker.
|
|
2314
|
-
'io.flow.v0.enums.incoterm': function () { return faker.
|
|
2315
|
+
'io.flow.v0.enums.included_levy_key': function () { return faker.helpers.arrayElement(['duty', 'vat', 'vat_and_duty', 'none']); },
|
|
2316
|
+
'io.flow.v0.enums.incoterm': function () { return faker.helpers.arrayElement([
|
|
2315
2317
|
'EXW',
|
|
2316
2318
|
'FCA',
|
|
2317
2319
|
'CPT',
|
|
@@ -2328,44 +2330,44 @@ var factories = {
|
|
|
2328
2330
|
'DEQ',
|
|
2329
2331
|
'DDU',
|
|
2330
2332
|
]); },
|
|
2331
|
-
'io.flow.v0.enums.inline_window_viewport_size': function () { return faker.
|
|
2332
|
-
'io.flow.v0.enums.input_specification_type': function () { return faker.
|
|
2333
|
-
'io.flow.v0.enums.inventory_status': function () { return faker.
|
|
2334
|
-
'io.flow.v0.enums.invitation_error_code': function () { return faker.
|
|
2335
|
-
'io.flow.v0.enums.item_availability_status': function () { return faker.
|
|
2336
|
-
'io.flow.v0.enums.item_identifier': function () { return faker.
|
|
2337
|
-
'io.flow.v0.enums.lane_direction': function () { return faker.
|
|
2338
|
-
'io.flow.v0.enums.lane_preselect_preference': function () { return faker.
|
|
2339
|
-
'io.flow.v0.enums.lane_strategy': function () { return faker.
|
|
2340
|
-
'io.flow.v0.enums.levy_component': function () { return faker.
|
|
2341
|
-
'io.flow.v0.enums.levy_inclusion': function () { return faker.
|
|
2342
|
-
'io.flow.v0.enums.levy_strategy': function () { return faker.
|
|
2343
|
-
'io.flow.v0.enums.location_error_code': function () { return faker.
|
|
2344
|
-
'io.flow.v0.enums.logistics_format_preference': function () { return faker.
|
|
2345
|
-
'io.flow.v0.enums.margin_type': function () { return faker.
|
|
2346
|
-
'io.flow.v0.enums.measurement_system': function () { return faker.
|
|
2347
|
-
'io.flow.v0.enums.merchant_gift_card_error_code': function () { return faker.
|
|
2333
|
+
'io.flow.v0.enums.inline_window_viewport_size': function () { return faker.helpers.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen', 'responsive']); },
|
|
2334
|
+
'io.flow.v0.enums.input_specification_type': function () { return faker.helpers.arrayElement(['text', 'number']); },
|
|
2335
|
+
'io.flow.v0.enums.inventory_status': function () { return faker.helpers.arrayElement(['has_inventory', 'no_inventory']); },
|
|
2336
|
+
'io.flow.v0.enums.invitation_error_code': function () { return faker.helpers.arrayElement(['expired', 'invalid_email']); },
|
|
2337
|
+
'io.flow.v0.enums.item_availability_status': function () { return faker.helpers.arrayElement(['available', 'low', 'out_of_stock']); },
|
|
2338
|
+
'io.flow.v0.enums.item_identifier': function () { return faker.helpers.arrayElement(['item_number', 'sku']); },
|
|
2339
|
+
'io.flow.v0.enums.lane_direction': function () { return faker.helpers.arrayElement(['outbound', 'return']); },
|
|
2340
|
+
'io.flow.v0.enums.lane_preselect_preference': function () { return faker.helpers.arrayElement(['lowest_cost', 'default_tier']); },
|
|
2341
|
+
'io.flow.v0.enums.lane_strategy': function () { return faker.helpers.arrayElement(['oldest', 'fastest', 'lowest_cost', 'highest_priority']); },
|
|
2342
|
+
'io.flow.v0.enums.levy_component': function () { return faker.helpers.arrayElement(['goods', 'duty', 'insurance', 'freight', 'vat']); },
|
|
2343
|
+
'io.flow.v0.enums.levy_inclusion': function () { return faker.helpers.arrayElement(['tax', 'duty']); },
|
|
2344
|
+
'io.flow.v0.enums.levy_strategy': function () { return faker.helpers.arrayElement(['minimum', 'average', 'maximum']); },
|
|
2345
|
+
'io.flow.v0.enums.location_error_code': function () { return faker.helpers.arrayElement(['address_required', 'ip_invalid', 'ip_required', 'timezone_unavailable']); },
|
|
2346
|
+
'io.flow.v0.enums.logistics_format_preference': function () { return faker.helpers.arrayElement(['shopify_console', 'existing_3pl_integration', 'byo_integration']); },
|
|
2347
|
+
'io.flow.v0.enums.margin_type': function () { return faker.helpers.arrayElement(['fixed', 'percent']); },
|
|
2348
|
+
'io.flow.v0.enums.measurement_system': function () { return faker.helpers.arrayElement(['imperial', 'metric']); },
|
|
2349
|
+
'io.flow.v0.enums.merchant_gift_card_error_code': function () { return faker.helpers.arrayElement([
|
|
2348
2350
|
'invalid',
|
|
2349
2351
|
'expired',
|
|
2350
2352
|
'empty',
|
|
2351
2353
|
'insufficient_funds',
|
|
2352
2354
|
'unsupported_currency',
|
|
2353
2355
|
]); },
|
|
2354
|
-
'io.flow.v0.enums.merchant_of_record': function () { return faker.
|
|
2355
|
-
'io.flow.v0.enums.merchant_rejected_reason': function () { return faker.
|
|
2356
|
+
'io.flow.v0.enums.merchant_of_record': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
2357
|
+
'io.flow.v0.enums.merchant_rejected_reason': function () { return faker.helpers.arrayElement([
|
|
2356
2358
|
'merchant_ubo_is_pep',
|
|
2357
2359
|
'merchant_catalog_is_unsupportable',
|
|
2358
2360
|
'merchant_failed_kyb_review',
|
|
2359
2361
|
]); },
|
|
2360
|
-
'io.flow.v0.enums.method': function () { return faker.
|
|
2361
|
-
'io.flow.v0.enums.onboarding_application_status': function () { return faker.
|
|
2362
|
-
'io.flow.v0.enums.onboarding_blocked_reason': function () { return faker.
|
|
2362
|
+
'io.flow.v0.enums.method': function () { return faker.helpers.arrayElement(['post']); },
|
|
2363
|
+
'io.flow.v0.enums.onboarding_application_status': function () { return faker.helpers.arrayElement(['to_do', 'in_progress', 'on_hold', 'rejected', 'accepted']); },
|
|
2364
|
+
'io.flow.v0.enums.onboarding_blocked_reason': function () { return faker.helpers.arrayElement([
|
|
2363
2365
|
'street_address_is_blank_3pl',
|
|
2364
2366
|
'street_address_is_po_box_3pl',
|
|
2365
2367
|
'business_street_address_is_blank',
|
|
2366
2368
|
'business_street_address_is_po_box',
|
|
2367
2369
|
]); },
|
|
2368
|
-
'io.flow.v0.enums.onboarding_trade_sector': function () { return faker.
|
|
2370
|
+
'io.flow.v0.enums.onboarding_trade_sector': function () { return faker.helpers.arrayElement([
|
|
2369
2371
|
'accessories',
|
|
2370
2372
|
'animals_and_pet_supplies',
|
|
2371
2373
|
'apparel',
|
|
@@ -2396,9 +2398,9 @@ var factories = {
|
|
|
2396
2398
|
'vehicles_and_parts',
|
|
2397
2399
|
'other',
|
|
2398
2400
|
]); },
|
|
2399
|
-
'io.flow.v0.enums.optin_response_type': function () { return faker.
|
|
2400
|
-
'io.flow.v0.enums.order_change_source': function () { return faker.
|
|
2401
|
-
'io.flow.v0.enums.order_error_code': function () { return faker.
|
|
2401
|
+
'io.flow.v0.enums.optin_response_type': function () { return faker.helpers.arrayElement(['not_shown', 'opted_in', 'opted_out']); },
|
|
2402
|
+
'io.flow.v0.enums.order_change_source': function () { return faker.helpers.arrayElement(['consumer', 'retailer', 'fulfillment', 'flow', 'carrier']); },
|
|
2403
|
+
'io.flow.v0.enums.order_error_code': function () { return faker.helpers.arrayElement([
|
|
2402
2404
|
'generic_error',
|
|
2403
2405
|
'order_item_not_available',
|
|
2404
2406
|
'order_identifier_error',
|
|
@@ -2414,8 +2416,8 @@ var factories = {
|
|
|
2414
2416
|
'gift_card_not_accepted',
|
|
2415
2417
|
'total_changed',
|
|
2416
2418
|
]); },
|
|
2417
|
-
'io.flow.v0.enums.order_merchant_of_record': function () { return faker.
|
|
2418
|
-
'io.flow.v0.enums.order_payment_type': function () { return faker.
|
|
2419
|
+
'io.flow.v0.enums.order_merchant_of_record': function () { return faker.helpers.arrayElement(['flow', 'organization', 'mixed']); },
|
|
2420
|
+
'io.flow.v0.enums.order_payment_type': function () { return faker.helpers.arrayElement([
|
|
2419
2421
|
'card',
|
|
2420
2422
|
'online',
|
|
2421
2423
|
'credit',
|
|
@@ -2423,7 +2425,7 @@ var factories = {
|
|
|
2423
2425
|
'installment_plan',
|
|
2424
2426
|
'cash_on_delivery',
|
|
2425
2427
|
]); },
|
|
2426
|
-
'io.flow.v0.enums.order_price_detail_component_key': function () { return faker.
|
|
2428
|
+
'io.flow.v0.enums.order_price_detail_component_key': function () { return faker.helpers.arrayElement([
|
|
2427
2429
|
'adjustment',
|
|
2428
2430
|
'vat_deminimis',
|
|
2429
2431
|
'duty_deminimis',
|
|
@@ -2454,7 +2456,7 @@ var factories = {
|
|
|
2454
2456
|
'peak_surcharge',
|
|
2455
2457
|
'duties_taxes_paid_surcharge',
|
|
2456
2458
|
]); },
|
|
2457
|
-
'io.flow.v0.enums.order_price_detail_key': function () { return faker.
|
|
2459
|
+
'io.flow.v0.enums.order_price_detail_key': function () { return faker.helpers.arrayElement([
|
|
2458
2460
|
'adjustment',
|
|
2459
2461
|
'subtotal',
|
|
2460
2462
|
'vat',
|
|
@@ -2464,8 +2466,8 @@ var factories = {
|
|
|
2464
2466
|
'discount',
|
|
2465
2467
|
'surcharges',
|
|
2466
2468
|
]); },
|
|
2467
|
-
'io.flow.v0.enums.order_quote_address_type': function () { return faker.
|
|
2468
|
-
'io.flow.v0.enums.order_quote_error_code': function () { return faker.
|
|
2469
|
+
'io.flow.v0.enums.order_quote_address_type': function () { return faker.helpers.arrayElement(['shipping']); },
|
|
2470
|
+
'io.flow.v0.enums.order_quote_error_code': function () { return faker.helpers.arrayElement([
|
|
2469
2471
|
'contact_email_invalid',
|
|
2470
2472
|
'contact_email_required',
|
|
2471
2473
|
'contact_phone_invalid',
|
|
@@ -2489,21 +2491,21 @@ var factories = {
|
|
|
2489
2491
|
'session_not_found',
|
|
2490
2492
|
'session_organization_mismatch',
|
|
2491
2493
|
]); },
|
|
2492
|
-
'io.flow.v0.enums.order_quote_line_error_code': function () { return faker.
|
|
2494
|
+
'io.flow.v0.enums.order_quote_line_error_code': function () { return faker.helpers.arrayElement([
|
|
2493
2495
|
'line_item_number_invalid',
|
|
2494
2496
|
'line_item_number_not_available',
|
|
2495
2497
|
'line_quantity_invalid',
|
|
2496
2498
|
'line_value_threshold_exceeded',
|
|
2497
2499
|
]); },
|
|
2498
|
-
'io.flow.v0.enums.order_refund_summary_includes': function () { return faker.
|
|
2499
|
-
'io.flow.v0.enums.order_refund_summary_partial_charged': function () { return faker.
|
|
2500
|
-
'io.flow.v0.enums.order_status': function () { return faker.
|
|
2501
|
-
'io.flow.v0.enums.order_storage': function () { return faker.
|
|
2502
|
-
'io.flow.v0.enums.order_type': function () { return faker.
|
|
2503
|
-
'io.flow.v0.enums.organization_payment_method_tag': function () { return faker.
|
|
2504
|
-
'io.flow.v0.enums.organization_status': function () { return faker.
|
|
2505
|
-
'io.flow.v0.enums.organization_type': function () { return faker.
|
|
2506
|
-
'io.flow.v0.enums.payment_action_type': function () { return faker.
|
|
2500
|
+
'io.flow.v0.enums.order_refund_summary_includes': function () { return faker.helpers.arrayElement(['duties', 'vat', 'shipping']); },
|
|
2501
|
+
'io.flow.v0.enums.order_refund_summary_partial_charged': function () { return faker.helpers.arrayElement(['per_item', 'for_order', 'by_value_percentage', 'by_quantity_percentage']); },
|
|
2502
|
+
'io.flow.v0.enums.order_status': function () { return faker.helpers.arrayElement(['open', 'submitted']); },
|
|
2503
|
+
'io.flow.v0.enums.order_storage': function () { return faker.helpers.arrayElement(['do_not_persist', 'persist']); },
|
|
2504
|
+
'io.flow.v0.enums.order_type': function () { return faker.helpers.arrayElement(['standard', 'replacement']); },
|
|
2505
|
+
'io.flow.v0.enums.organization_payment_method_tag': function () { return faker.helpers.arrayElement(['deny']); },
|
|
2506
|
+
'io.flow.v0.enums.organization_status': function () { return faker.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']); },
|
|
2507
|
+
'io.flow.v0.enums.organization_type': function () { return faker.helpers.arrayElement(['standalone', 'channel']); },
|
|
2508
|
+
'io.flow.v0.enums.payment_action_type': function () { return faker.helpers.arrayElement([
|
|
2507
2509
|
'redirect',
|
|
2508
2510
|
'redirect_get',
|
|
2509
2511
|
'redirect_post',
|
|
@@ -2518,7 +2520,7 @@ var factories = {
|
|
|
2518
2520
|
'execute_script',
|
|
2519
2521
|
'display_inline_window',
|
|
2520
2522
|
]); },
|
|
2521
|
-
'io.flow.v0.enums.payment_error_code': function () { return faker.
|
|
2523
|
+
'io.flow.v0.enums.payment_error_code': function () { return faker.helpers.arrayElement([
|
|
2522
2524
|
'duplicate',
|
|
2523
2525
|
'invalid_amount',
|
|
2524
2526
|
'invalid_currency',
|
|
@@ -2528,7 +2530,7 @@ var factories = {
|
|
|
2528
2530
|
'invalid_destination',
|
|
2529
2531
|
'unknown',
|
|
2530
2532
|
]); },
|
|
2531
|
-
'io.flow.v0.enums.payment_failure_code': function () { return faker.
|
|
2533
|
+
'io.flow.v0.enums.payment_failure_code': function () { return faker.helpers.arrayElement([
|
|
2532
2534
|
'action_expired',
|
|
2533
2535
|
'action_cancelled',
|
|
2534
2536
|
'action_failed',
|
|
@@ -2538,12 +2540,12 @@ var factories = {
|
|
|
2538
2540
|
'error',
|
|
2539
2541
|
'payment_checks_declined',
|
|
2540
2542
|
]); },
|
|
2541
|
-
'io.flow.v0.enums.payment_method_capability': function () { return faker.
|
|
2542
|
-
'io.flow.v0.enums.payment_method_data_option_type': function () { return faker.
|
|
2543
|
-
'io.flow.v0.enums.payment_method_rule_content_key': function () { return faker.
|
|
2544
|
-
'io.flow.v0.enums.payment_method_type': function () { return faker.
|
|
2545
|
-
'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker.
|
|
2546
|
-
'io.flow.v0.enums.payment_status': function () { return faker.
|
|
2543
|
+
'io.flow.v0.enums.payment_method_capability': function () { return faker.helpers.arrayElement(['credit', 'debit']); },
|
|
2544
|
+
'io.flow.v0.enums.payment_method_data_option_type': function () { return faker.helpers.arrayElement(['ideal_issuer_option']); },
|
|
2545
|
+
'io.flow.v0.enums.payment_method_rule_content_key': function () { return faker.helpers.arrayElement(['description']); },
|
|
2546
|
+
'io.flow.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'online', 'offline']); },
|
|
2547
|
+
'io.flow.v0.enums.payment_source_confirmation_action_type': function () { return faker.helpers.arrayElement(['cvv', 'billing_address', 'number']); },
|
|
2548
|
+
'io.flow.v0.enums.payment_status': function () { return faker.helpers.arrayElement([
|
|
2547
2549
|
'requires_payment_method',
|
|
2548
2550
|
'requires_action',
|
|
2549
2551
|
'processing',
|
|
@@ -2556,7 +2558,7 @@ var factories = {
|
|
|
2556
2558
|
'in_dispute',
|
|
2557
2559
|
'charged_back',
|
|
2558
2560
|
]); },
|
|
2559
|
-
'io.flow.v0.enums.payment_type': function () { return faker.
|
|
2561
|
+
'io.flow.v0.enums.payment_type': function () { return faker.helpers.arrayElement([
|
|
2560
2562
|
'card',
|
|
2561
2563
|
'klarna',
|
|
2562
2564
|
'googlepay',
|
|
@@ -2567,13 +2569,13 @@ var factories = {
|
|
|
2567
2569
|
'afterpay',
|
|
2568
2570
|
'bancontact',
|
|
2569
2571
|
]); },
|
|
2570
|
-
'io.flow.v0.enums.payout_status_code': function () { return faker.
|
|
2571
|
-
'io.flow.v0.enums.permitted_http_method': function () { return faker.
|
|
2572
|
-
'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.
|
|
2573
|
-
'io.flow.v0.enums.postal_type': function () { return faker.
|
|
2574
|
-
'io.flow.v0.enums.price_accuracy': function () { return faker.
|
|
2575
|
-
'io.flow.v0.enums.price_book_status': function () { return faker.
|
|
2576
|
-
'io.flow.v0.enums.price_detail_component_key': function () { return faker.
|
|
2572
|
+
'io.flow.v0.enums.payout_status_code': function () { return faker.helpers.arrayElement(['scheduled', 'sent', 'cancelled', 'failed', 'succeeded']); },
|
|
2573
|
+
'io.flow.v0.enums.permitted_http_method': function () { return faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
2574
|
+
'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
2575
|
+
'io.flow.v0.enums.postal_type': function () { return faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']); },
|
|
2576
|
+
'io.flow.v0.enums.price_accuracy': function () { return faker.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']); },
|
|
2577
|
+
'io.flow.v0.enums.price_book_status': function () { return faker.helpers.arrayElement(['draft', 'published', 'archived']); },
|
|
2578
|
+
'io.flow.v0.enums.price_detail_component_key': function () { return faker.helpers.arrayElement([
|
|
2577
2579
|
'base_price',
|
|
2578
2580
|
'discount',
|
|
2579
2581
|
'currency_margin',
|
|
@@ -2597,11 +2599,11 @@ var factories = {
|
|
|
2597
2599
|
'vat_duty_percent_sales_margin',
|
|
2598
2600
|
'duty_percent_sales_margin',
|
|
2599
2601
|
]); },
|
|
2600
|
-
'io.flow.v0.enums.price_detail_key': function () { return faker.
|
|
2601
|
-
'io.flow.v0.enums.price_facet_boundary': function () { return faker.
|
|
2602
|
-
'io.flow.v0.enums.pricing_levy_setting': function () { return faker.
|
|
2603
|
-
'io.flow.v0.enums.promotion_trigger_type': function () { return faker.
|
|
2604
|
-
'io.flow.v0.enums.province_type': function () { return faker.
|
|
2602
|
+
'io.flow.v0.enums.price_detail_key': function () { return faker.helpers.arrayElement(['item_price', 'margins', 'vat', 'duty', 'rounding', 'adjustment']); },
|
|
2603
|
+
'io.flow.v0.enums.price_facet_boundary': function () { return faker.helpers.arrayElement(['min', 'max']); },
|
|
2604
|
+
'io.flow.v0.enums.pricing_levy_setting': function () { return faker.helpers.arrayElement(['included', 'displayed', 'ignored']); },
|
|
2605
|
+
'io.flow.v0.enums.promotion_trigger_type': function () { return faker.helpers.arrayElement(['automatic', 'order_subtotal']); },
|
|
2606
|
+
'io.flow.v0.enums.province_type': function () { return faker.helpers.arrayElement([
|
|
2605
2607
|
'area',
|
|
2606
2608
|
'city',
|
|
2607
2609
|
'county',
|
|
@@ -2622,15 +2624,15 @@ var factories = {
|
|
|
2622
2624
|
'territory',
|
|
2623
2625
|
'other',
|
|
2624
2626
|
]); },
|
|
2625
|
-
'io.flow.v0.enums.quote_error_code': function () { return faker.
|
|
2626
|
-
'io.flow.v0.enums.ratecard_owner': function () { return faker.
|
|
2627
|
-
'io.flow.v0.enums.refund_decline_code': function () { return faker.
|
|
2628
|
-
'io.flow.v0.enums.refund_status': function () { return faker.
|
|
2629
|
-
'io.flow.v0.enums.region_type': function () { return faker.
|
|
2630
|
-
'io.flow.v0.enums.return_item_status': function () { return faker.
|
|
2631
|
-
'io.flow.v0.enums.return_policy_state': function () { return faker.
|
|
2632
|
-
'io.flow.v0.enums.return_status': function () { return faker.
|
|
2633
|
-
'io.flow.v0.enums.return_tracking_status': function () { return faker.
|
|
2627
|
+
'io.flow.v0.enums.quote_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'items_not_available', 'shipping_unavailable']); },
|
|
2628
|
+
'io.flow.v0.enums.ratecard_owner': function () { return faker.helpers.arrayElement(['flow', 'organization']); },
|
|
2629
|
+
'io.flow.v0.enums.refund_decline_code': function () { return faker.helpers.arrayElement(['expired', 'insufficient_funds', 'unknown']); },
|
|
2630
|
+
'io.flow.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'failed', 'canceled']); },
|
|
2631
|
+
'io.flow.v0.enums.region_type': function () { return faker.helpers.arrayElement(['state', 'province', 'jurisdiction']); },
|
|
2632
|
+
'io.flow.v0.enums.return_item_status': function () { return faker.helpers.arrayElement(['returnable', 'non-returnable']); },
|
|
2633
|
+
'io.flow.v0.enums.return_policy_state': function () { return faker.helpers.arrayElement(['current', 'deleting', 'updating']); },
|
|
2634
|
+
'io.flow.v0.enums.return_status': function () { return faker.helpers.arrayElement(['open', 'refunded']); },
|
|
2635
|
+
'io.flow.v0.enums.return_tracking_status': function () { return faker.helpers.arrayElement([
|
|
2634
2636
|
'awaiting_customs_clearance',
|
|
2635
2637
|
'cancel_requested',
|
|
2636
2638
|
'canceled',
|
|
@@ -2650,7 +2652,7 @@ var factories = {
|
|
|
2650
2652
|
'received_by_the_carrier',
|
|
2651
2653
|
'return_registered_online',
|
|
2652
2654
|
]); },
|
|
2653
|
-
'io.flow.v0.enums.reversal_error_code': function () { return faker.
|
|
2655
|
+
'io.flow.v0.enums.reversal_error_code': function () { return faker.helpers.arrayElement([
|
|
2654
2656
|
'amount_exceeds_balance',
|
|
2655
2657
|
'authorization_declined',
|
|
2656
2658
|
'authorization_expired',
|
|
@@ -2662,26 +2664,26 @@ var factories = {
|
|
|
2662
2664
|
'partial_reversal_not_supported',
|
|
2663
2665
|
'unknown',
|
|
2664
2666
|
]); },
|
|
2665
|
-
'io.flow.v0.enums.reversal_status': function () { return faker.
|
|
2666
|
-
'io.flow.v0.enums.role': function () { return faker.
|
|
2667
|
-
'io.flow.v0.enums.rounding_method': function () { return faker.
|
|
2668
|
-
'io.flow.v0.enums.rounding_type': function () { return faker.
|
|
2669
|
-
'io.flow.v0.enums.schedule_exception_status': function () { return faker.
|
|
2670
|
-
'io.flow.v0.enums.shipment_integration_type': function () { return faker.
|
|
2671
|
-
'io.flow.v0.enums.shipment_recipient': function () { return faker.
|
|
2672
|
-
'io.flow.v0.enums.shipping_configuration_type': function () { return faker.
|
|
2673
|
-
'io.flow.v0.enums.shopify_grant': function () { return faker.
|
|
2674
|
-
'io.flow.v0.enums.shopify_localization_method': function () { return faker.
|
|
2675
|
-
'io.flow.v0.enums.shopify_sync_check': function () { return faker.
|
|
2676
|
-
'io.flow.v0.enums.sort_direction': function () { return faker.
|
|
2677
|
-
'io.flow.v0.enums.strategy': function () { return faker.
|
|
2678
|
-
'io.flow.v0.enums.subcatalog_item_status': function () { return faker.
|
|
2679
|
-
'io.flow.v0.enums.surcharge_responsible_party': function () { return faker.
|
|
2680
|
-
'io.flow.v0.enums.sync_record_failure_reason': function () { return faker.
|
|
2681
|
-
'io.flow.v0.enums.sync_stream_type': function () { return faker.
|
|
2682
|
-
'io.flow.v0.enums.sync_unit_of_time': function () { return faker.
|
|
2683
|
-
'io.flow.v0.enums.tax_applicability': function () { return faker.
|
|
2684
|
-
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': function () { return faker.
|
|
2667
|
+
'io.flow.v0.enums.reversal_status': function () { return faker.helpers.arrayElement(['pending', 'processed', 'failed']); },
|
|
2668
|
+
'io.flow.v0.enums.role': function () { return faker.helpers.arrayElement(['admin', 'member']); },
|
|
2669
|
+
'io.flow.v0.enums.rounding_method': function () { return faker.helpers.arrayElement(['up', 'down', 'nearest']); },
|
|
2670
|
+
'io.flow.v0.enums.rounding_type': function () { return faker.helpers.arrayElement(['pattern', 'multiple']); },
|
|
2671
|
+
'io.flow.v0.enums.schedule_exception_status': function () { return faker.helpers.arrayElement(['Open', 'Closed']); },
|
|
2672
|
+
'io.flow.v0.enums.shipment_integration_type': function () { return faker.helpers.arrayElement(['direct', 'information', 'preadvice']); },
|
|
2673
|
+
'io.flow.v0.enums.shipment_recipient': function () { return faker.helpers.arrayElement(['customer', 'return', 'crossdock']); },
|
|
2674
|
+
'io.flow.v0.enums.shipping_configuration_type': function () { return faker.helpers.arrayElement(['default', 'variant']); },
|
|
2675
|
+
'io.flow.v0.enums.shopify_grant': function () { return faker.helpers.arrayElement(['customer', 'discount', 'gift_card', 'metafield', 'order']); },
|
|
2676
|
+
'io.flow.v0.enums.shopify_localization_method': function () { return faker.helpers.arrayElement(['api', 'ssr']); },
|
|
2677
|
+
'io.flow.v0.enums.shopify_sync_check': function () { return faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']); },
|
|
2678
|
+
'io.flow.v0.enums.sort_direction': function () { return faker.helpers.arrayElement(['ascending', 'descending']); },
|
|
2679
|
+
'io.flow.v0.enums.strategy': function () { return faker.helpers.arrayElement(['range', 'from', 'to']); },
|
|
2680
|
+
'io.flow.v0.enums.subcatalog_item_status': function () { return faker.helpers.arrayElement(['excluded', 'included', 'restricted']); },
|
|
2681
|
+
'io.flow.v0.enums.surcharge_responsible_party': function () { return faker.helpers.arrayElement(['organization', 'customer']); },
|
|
2682
|
+
'io.flow.v0.enums.sync_record_failure_reason': function () { return faker.helpers.arrayElement(['inventory', 'address', 'promotion', 'other']); },
|
|
2683
|
+
'io.flow.v0.enums.sync_stream_type': function () { return faker.helpers.arrayElement(['submitted_order', 'placed_order']); },
|
|
2684
|
+
'io.flow.v0.enums.sync_unit_of_time': function () { return faker.helpers.arrayElement(['day', 'hour', 'minute', 'second']); },
|
|
2685
|
+
'io.flow.v0.enums.tax_applicability': function () { return faker.helpers.arrayElement(['none', 'all']); },
|
|
2686
|
+
'io.flow.v0.enums.tax_duty_calculator_validation_error_code': function () { return faker.helpers.arrayElement([
|
|
2685
2687
|
'generic_error',
|
|
2686
2688
|
'destination_country_not_defined',
|
|
2687
2689
|
'destination_address_iso3166_unrecognized',
|
|
@@ -2704,18 +2706,18 @@ var factories = {
|
|
|
2704
2706
|
'merchant_of_record_invalid',
|
|
2705
2707
|
'wrong_unit_specified',
|
|
2706
2708
|
]); },
|
|
2707
|
-
'io.flow.v0.enums.tax_report_type': function () { return faker.
|
|
2708
|
-
'io.flow.v0.enums.tax_verification_result': function () { return faker.
|
|
2709
|
-
'io.flow.v0.enums.taxability_type': function () { return faker.
|
|
2710
|
-
'io.flow.v0.enums.taxability_value': function () { return faker.
|
|
2711
|
-
'io.flow.v0.enums.three_d_secure_code': function () { return faker.
|
|
2712
|
-
'io.flow.v0.enums.threeds_two_challenge_viewport': function () { return faker.
|
|
2713
|
-
'io.flow.v0.enums.tier_availability': function () { return faker.
|
|
2714
|
-
'io.flow.v0.enums.tier_estimate_type': function () { return faker.
|
|
2715
|
-
'io.flow.v0.enums.tier_strategy': function () { return faker.
|
|
2716
|
-
'io.flow.v0.enums.token_type': function () { return faker.
|
|
2717
|
-
'io.flow.v0.enums.tracking_number_type': function () { return faker.
|
|
2718
|
-
'io.flow.v0.enums.tracking_status': function () { return faker.
|
|
2709
|
+
'io.flow.v0.enums.tax_report_type': function () { return faker.helpers.arrayElement(['consumer', 'b2b']); },
|
|
2710
|
+
'io.flow.v0.enums.tax_verification_result': function () { return faker.helpers.arrayElement(['valid', 'invalid', 'unable_to_validate']); },
|
|
2711
|
+
'io.flow.v0.enums.taxability_type': function () { return faker.helpers.arrayElement(['tax_rule']); },
|
|
2712
|
+
'io.flow.v0.enums.taxability_value': function () { return faker.helpers.arrayElement(['exempt']); },
|
|
2713
|
+
'io.flow.v0.enums.three_d_secure_code': function () { return faker.helpers.arrayElement(['verified', 'not_verified', 'failed']); },
|
|
2714
|
+
'io.flow.v0.enums.threeds_two_challenge_viewport': function () { return faker.helpers.arrayElement(['xxx_small', 'xx_small', 'x_small', 'small', 'fullscreen']); },
|
|
2715
|
+
'io.flow.v0.enums.tier_availability': function () { return faker.helpers.arrayElement(['always', 'backup']); },
|
|
2716
|
+
'io.flow.v0.enums.tier_estimate_type': function () { return faker.helpers.arrayElement(['calculated', 'custom']); },
|
|
2717
|
+
'io.flow.v0.enums.tier_strategy': function () { return faker.helpers.arrayElement(['fastest', 'lowest_cost']); },
|
|
2718
|
+
'io.flow.v0.enums.token_type': function () { return faker.helpers.arrayElement(['permanent', 'one_time']); },
|
|
2719
|
+
'io.flow.v0.enums.tracking_number_type': function () { return faker.helpers.arrayElement(['flow', 'carrier']); },
|
|
2720
|
+
'io.flow.v0.enums.tracking_status': function () { return faker.helpers.arrayElement([
|
|
2719
2721
|
'label_created',
|
|
2720
2722
|
'pending',
|
|
2721
2723
|
'info_received',
|
|
@@ -2728,9 +2730,9 @@ var factories = {
|
|
|
2728
2730
|
'returned',
|
|
2729
2731
|
'expired',
|
|
2730
2732
|
]); },
|
|
2731
|
-
'io.flow.v0.enums.trade_agreement_name': function () { return faker.
|
|
2732
|
-
'io.flow.v0.enums.trade_agreement_status': function () { return faker.
|
|
2733
|
-
'io.flow.v0.enums.transaction_source': function () { return faker.
|
|
2733
|
+
'io.flow.v0.enums.trade_agreement_name': function () { return faker.helpers.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
|
|
2734
|
+
'io.flow.v0.enums.trade_agreement_status': function () { return faker.helpers.arrayElement(['supported', 'not_supported']); },
|
|
2735
|
+
'io.flow.v0.enums.transaction_source': function () { return faker.helpers.arrayElement([
|
|
2734
2736
|
'capture',
|
|
2735
2737
|
'refund',
|
|
2736
2738
|
'dispute',
|
|
@@ -2739,6 +2741,8 @@ var factories = {
|
|
|
2739
2741
|
'shipping_label_service',
|
|
2740
2742
|
'shipping_label_revenue_share',
|
|
2741
2743
|
'platform_fee',
|
|
2744
|
+
'tax',
|
|
2745
|
+
'duties',
|
|
2742
2746
|
'other_adjustment',
|
|
2743
2747
|
'tax_adjustment',
|
|
2744
2748
|
'channel',
|
|
@@ -2747,7 +2751,7 @@ var factories = {
|
|
|
2747
2751
|
'virtual_card_capture',
|
|
2748
2752
|
'virtual_card_refund',
|
|
2749
2753
|
]); },
|
|
2750
|
-
'io.flow.v0.enums.unit_of_measurement': function () { return faker.
|
|
2754
|
+
'io.flow.v0.enums.unit_of_measurement': function () { return faker.helpers.arrayElement([
|
|
2751
2755
|
'millimeter',
|
|
2752
2756
|
'centimeter',
|
|
2753
2757
|
'inch',
|
|
@@ -2760,16 +2764,16 @@ var factories = {
|
|
|
2760
2764
|
'ounce',
|
|
2761
2765
|
'pound',
|
|
2762
2766
|
]); },
|
|
2763
|
-
'io.flow.v0.enums.unit_of_time': function () { return faker.
|
|
2764
|
-
'io.flow.v0.enums.update_policy': function () { return faker.
|
|
2765
|
-
'io.flow.v0.enums.update_type': function () { return faker.
|
|
2766
|
-
'io.flow.v0.enums.user_status': function () { return faker.
|
|
2767
|
-
'io.flow.v0.enums.value_added_service': function () { return faker.
|
|
2768
|
-
'io.flow.v0.enums.visibility': function () { return faker.
|
|
2769
|
-
'io.flow.v0.enums.webhook_status': function () { return faker.
|
|
2770
|
-
'io.flow.v0.enums.withholding_deduction_type': function () { return faker.
|
|
2771
|
-
'io.flow.v0.enums.zero_amount_indicator': function () { return faker.
|
|
2772
|
-
'io.flow.v0.enums.zero_levy_reason_code': function () { return faker.
|
|
2767
|
+
'io.flow.v0.enums.unit_of_time': function () { return faker.helpers.arrayElement(['year', 'month', 'week', 'day', 'hour', 'minute']); },
|
|
2768
|
+
'io.flow.v0.enums.update_policy': function () { return faker.helpers.arrayElement(['auto', 'queue', 'discard']); },
|
|
2769
|
+
'io.flow.v0.enums.update_type': function () { return faker.helpers.arrayElement(['change', 'set']); },
|
|
2770
|
+
'io.flow.v0.enums.user_status': function () { return faker.helpers.arrayElement(['pending', 'active', 'inactive']); },
|
|
2771
|
+
'io.flow.v0.enums.value_added_service': function () { return faker.helpers.arrayElement(['Hazardous Material']); },
|
|
2772
|
+
'io.flow.v0.enums.visibility': function () { return faker.helpers.arrayElement(['public', 'private']); },
|
|
2773
|
+
'io.flow.v0.enums.webhook_status': function () { return faker.helpers.arrayElement(['pending', 'success', 'failure']); },
|
|
2774
|
+
'io.flow.v0.enums.withholding_deduction_type': function () { return faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']); },
|
|
2775
|
+
'io.flow.v0.enums.zero_amount_indicator': function () { return faker.helpers.arrayElement(['zero', 'free']); },
|
|
2776
|
+
'io.flow.v0.enums.zero_levy_reason_code': function () { return faker.helpers.arrayElement([
|
|
2773
2777
|
'zero_basis',
|
|
2774
2778
|
'zero_rate_on_goods',
|
|
2775
2779
|
'value_rounds_to_zero',
|
|
@@ -2935,6 +2939,9 @@ var factories = {
|
|
|
2935
2939
|
type: 'wait',
|
|
2936
2940
|
expires_at: factories.date_time_iso_8601(),
|
|
2937
2941
|
}); },
|
|
2942
|
+
'io.flow.v0.models.activation_put_form': function () { return ({
|
|
2943
|
+
placeholder: factories.boolean(),
|
|
2944
|
+
}); },
|
|
2938
2945
|
'io.flow.v0.models.address': function () { return ({
|
|
2939
2946
|
text: factories.string(),
|
|
2940
2947
|
streets: arrayOf(function () { return factories.string(); }),
|
|
@@ -2998,6 +3005,12 @@ var factories = {
|
|
|
2998
3005
|
valid: factories.boolean(),
|
|
2999
3006
|
suggestions: arrayOf(function () { return factories['io.flow.v0.models.address_suggestion'](); }),
|
|
3000
3007
|
}); },
|
|
3008
|
+
'io.flow.v0.models.address_verification_result': function () { return ({
|
|
3009
|
+
street_code: factories['io.flow.v0.enums.address_verification_result_field_code'](),
|
|
3010
|
+
postal_code: factories['io.flow.v0.enums.address_verification_result_field_code'](),
|
|
3011
|
+
name_code: factories['io.flow.v0.enums.address_verification_result_field_code'](),
|
|
3012
|
+
raw: factories.string(),
|
|
3013
|
+
}); },
|
|
3001
3014
|
'io.flow.v0.models.adjustment_reason': function () { return ({
|
|
3002
3015
|
key: factories['io.flow.v0.enums.adjustment_reason_key'](),
|
|
3003
3016
|
label: factories.string(),
|
|
@@ -4630,6 +4643,10 @@ var factories = {
|
|
|
4630
4643
|
code: factories['io.flow.v0.enums.cvv_code'](),
|
|
4631
4644
|
description: factories.string(),
|
|
4632
4645
|
}); },
|
|
4646
|
+
'io.flow.v0.models.cvv_result': function () { return ({
|
|
4647
|
+
code: factories['io.flow.v0.enums.cvv_result_code'](),
|
|
4648
|
+
raw: factories.string(),
|
|
4649
|
+
}); },
|
|
4633
4650
|
'io.flow.v0.models.datetime_range': function () { return ({
|
|
4634
4651
|
from: factories.date_time_iso_8601(),
|
|
4635
4652
|
to: factories.date_time_iso_8601(),
|
|
@@ -8019,6 +8036,8 @@ var factories = {
|
|
|
8019
8036
|
card_data: factories['io.flow.v0.unions.payment_method_card'](),
|
|
8020
8037
|
device_fingerprint_details: factories['io.flow.v0.unions.device_fingerprint_details'](),
|
|
8021
8038
|
cvv: factories.string(),
|
|
8039
|
+
reference: factories.string(),
|
|
8040
|
+
previous_transaction_details: factories['io.flow.v0.models.transaction_network_details_card'](),
|
|
8022
8041
|
}); },
|
|
8023
8042
|
'io.flow.v0.models.payment_method_data_authorize_googlepay': function () { return ({
|
|
8024
8043
|
type: 'authorize_googlepay',
|
|
@@ -8140,6 +8159,8 @@ var factories = {
|
|
|
8140
8159
|
last_four: factories.string(),
|
|
8141
8160
|
card_type: factories['io.flow.v0.enums.card_type'](),
|
|
8142
8161
|
id: factories.string(),
|
|
8162
|
+
reference: factories.string(),
|
|
8163
|
+
transaction_details: factories['io.flow.v0.models.transaction_details_card'](),
|
|
8143
8164
|
}); },
|
|
8144
8165
|
'io.flow.v0.models.payment_method_summary_googlepay': function () { return ({
|
|
8145
8166
|
type: 'googlepay',
|
|
@@ -9697,6 +9718,7 @@ var factories = {
|
|
|
9697
9718
|
'io.flow.v0.models.shipping_label_document': function () { return ({
|
|
9698
9719
|
zpl: factories.string(),
|
|
9699
9720
|
pdf: factories.string(),
|
|
9721
|
+
pdf_data: factories.string(),
|
|
9700
9722
|
png: factories.string(),
|
|
9701
9723
|
html: factories.string(),
|
|
9702
9724
|
required: factories.boolean(),
|
|
@@ -10757,6 +10779,15 @@ var factories = {
|
|
|
10757
10779
|
identifiers: objectOf(function () { return factories.string(); }),
|
|
10758
10780
|
created_at: factories.date_time_iso_8601(),
|
|
10759
10781
|
}); },
|
|
10782
|
+
'io.flow.v0.models.transaction_details_card': function () { return ({
|
|
10783
|
+
address_verification_result: factories['io.flow.v0.models.address_verification_result'](),
|
|
10784
|
+
cvv_result: factories['io.flow.v0.models.cvv_result'](),
|
|
10785
|
+
network_details: factories['io.flow.v0.models.transaction_network_details_card'](),
|
|
10786
|
+
}); },
|
|
10787
|
+
'io.flow.v0.models.transaction_network_details_card': function () { return ({
|
|
10788
|
+
network_transaction_id: factories.string(),
|
|
10789
|
+
network: factories['io.flow.v0.enums.card_type'](),
|
|
10790
|
+
}); },
|
|
10760
10791
|
'io.flow.v0.models.transaction_upserted': function () { return ({
|
|
10761
10792
|
discriminator: 'transaction_upserted',
|
|
10762
10793
|
event_id: factories.string(),
|
|
@@ -10967,13 +10998,13 @@ var factories = {
|
|
|
10967
10998
|
country: factories.string(),
|
|
10968
10999
|
}); },
|
|
10969
11000
|
'io.flow.v0.unions.abandoned_order_promotion_details': function () {
|
|
10970
|
-
var f = faker.
|
|
11001
|
+
var f = faker.helpers.arrayElement([
|
|
10971
11002
|
function () { return factories['io.flow.v0.models.abandoned_order_promotion_discount_details'](); },
|
|
10972
11003
|
]);
|
|
10973
11004
|
return f();
|
|
10974
11005
|
},
|
|
10975
11006
|
'io.flow.v0.unions.action': function () {
|
|
10976
|
-
var f = faker.
|
|
11007
|
+
var f = faker.helpers.arrayElement([
|
|
10977
11008
|
function () { return factories['io.flow.v0.models.action_redirect'](); },
|
|
10978
11009
|
function () { return factories['io.flow.v0.models.action_use_sdk_klarna_v1'](); },
|
|
10979
11010
|
function () { return factories['io.flow.v0.models.action_use_sdk_applepay_js_create_session'](); },
|
|
@@ -10991,35 +11022,35 @@ var factories = {
|
|
|
10991
11022
|
return f();
|
|
10992
11023
|
},
|
|
10993
11024
|
'io.flow.v0.unions.adyen_native_data': function () {
|
|
10994
|
-
var f = faker.
|
|
11025
|
+
var f = faker.helpers.arrayElement([
|
|
10995
11026
|
function () { return factories['io.flow.v0.models.adyen_identify_shopper_data'](); },
|
|
10996
11027
|
function () { return factories['io.flow.v0.models.adyen_challenge_shopper_data'](); },
|
|
10997
11028
|
]);
|
|
10998
11029
|
return f();
|
|
10999
11030
|
},
|
|
11000
11031
|
'io.flow.v0.unions.allocation_component': function () {
|
|
11001
|
-
var f = faker.
|
|
11032
|
+
var f = faker.helpers.arrayElement([
|
|
11002
11033
|
function () { return factories['io.flow.v0.models.allocation_detail_component'](); },
|
|
11003
11034
|
function () { return factories['io.flow.v0.models.allocation_levy_component'](); },
|
|
11004
11035
|
]);
|
|
11005
11036
|
return f();
|
|
11006
11037
|
},
|
|
11007
11038
|
'io.flow.v0.unions.allocation_detail': function () {
|
|
11008
|
-
var f = faker.
|
|
11039
|
+
var f = faker.helpers.arrayElement([
|
|
11009
11040
|
function () { return factories['io.flow.v0.models.allocation_line_detail'](); },
|
|
11010
11041
|
function () { return factories['io.flow.v0.models.allocation_order_detail'](); },
|
|
11011
11042
|
]);
|
|
11012
11043
|
return f();
|
|
11013
11044
|
},
|
|
11014
11045
|
'io.flow.v0.unions.authorization': function () {
|
|
11015
|
-
var f = faker.
|
|
11046
|
+
var f = faker.helpers.arrayElement([
|
|
11016
11047
|
function () { return factories['io.flow.v0.models.card_authorization'](); },
|
|
11017
11048
|
function () { return factories['io.flow.v0.models.online_authorization'](); },
|
|
11018
11049
|
]);
|
|
11019
11050
|
return f();
|
|
11020
11051
|
},
|
|
11021
11052
|
'io.flow.v0.unions.authorization_form': function () {
|
|
11022
|
-
var f = faker.
|
|
11053
|
+
var f = faker.helpers.arrayElement([
|
|
11023
11054
|
function () { return factories['io.flow.v0.models.authorization_copy_form'](); },
|
|
11024
11055
|
function () { return factories['io.flow.v0.models.direct_authorization_form'](); },
|
|
11025
11056
|
function () { return factories['io.flow.v0.models.merchant_of_record_authorization_form'](); },
|
|
@@ -11033,14 +11064,14 @@ var factories = {
|
|
|
11033
11064
|
return f();
|
|
11034
11065
|
},
|
|
11035
11066
|
'io.flow.v0.unions.authorization_payload_parameters': function () {
|
|
11036
|
-
var f = faker.
|
|
11067
|
+
var f = faker.helpers.arrayElement([
|
|
11037
11068
|
function () { return factories['io.flow.v0.models.google_pay_authorization_payload'](); },
|
|
11038
11069
|
function () { return factories['io.flow.v0.models.apple_pay_merchant_validation_payload'](); },
|
|
11039
11070
|
]);
|
|
11040
11071
|
return f();
|
|
11041
11072
|
},
|
|
11042
11073
|
'io.flow.v0.unions.authorization_result_action': function () {
|
|
11043
|
-
var f = faker.
|
|
11074
|
+
var f = faker.helpers.arrayElement([
|
|
11044
11075
|
function () { return factories['io.flow.v0.models.authorization_result_action_get'](); },
|
|
11045
11076
|
function () { return factories['io.flow.v0.models.authorization_result_action_post'](); },
|
|
11046
11077
|
function () { return factories['io.flow.v0.models.authorization_result_action_wait'](); },
|
|
@@ -11049,7 +11080,7 @@ var factories = {
|
|
|
11049
11080
|
return f();
|
|
11050
11081
|
},
|
|
11051
11082
|
'io.flow.v0.unions.authorization_result_action_details': function () {
|
|
11052
|
-
var f = faker.
|
|
11083
|
+
var f = faker.helpers.arrayElement([
|
|
11053
11084
|
function () { return factories['io.flow.v0.models.adyen_native_action_details'](); },
|
|
11054
11085
|
function () { return factories['io.flow.v0.models.stripe_authorization_result_action_details'](); },
|
|
11055
11086
|
function () { return factories['io.flow.v0.models.threeds_identify_action_details'](); },
|
|
@@ -11060,47 +11091,47 @@ var factories = {
|
|
|
11060
11091
|
return f();
|
|
11061
11092
|
},
|
|
11062
11093
|
'io.flow.v0.unions.available_filter': function () {
|
|
11063
|
-
var f = faker.
|
|
11094
|
+
var f = faker.helpers.arrayElement([
|
|
11064
11095
|
function () { return factories['io.flow.v0.models.available_filter_structured'](); },
|
|
11065
11096
|
function () { return factories['io.flow.v0.models.available_filter_unstructured'](); },
|
|
11066
11097
|
]);
|
|
11067
11098
|
return f();
|
|
11068
11099
|
},
|
|
11069
11100
|
'io.flow.v0.unions.bank_account_info': function () {
|
|
11070
|
-
var f = faker.
|
|
11101
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.bank_account_info_usa'](); }]);
|
|
11071
11102
|
return f();
|
|
11072
11103
|
},
|
|
11073
11104
|
'io.flow.v0.unions.browser_action_configuration': function () {
|
|
11074
|
-
var f = faker.
|
|
11105
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.card_browser_action_configuration'](); }]);
|
|
11075
11106
|
return f();
|
|
11076
11107
|
},
|
|
11077
11108
|
'io.flow.v0.unions.card_authorization_action_result': function () {
|
|
11078
|
-
var f = faker.
|
|
11109
|
+
var f = faker.helpers.arrayElement([
|
|
11079
11110
|
function () { return factories['io.flow.v0.models.authorization_action_result_adyen_v3'](); },
|
|
11080
11111
|
function () { return factories['io.flow.v0.models.authorization_action_result_adyen_v4'](); },
|
|
11081
11112
|
]);
|
|
11082
11113
|
return f();
|
|
11083
11114
|
},
|
|
11084
11115
|
'io.flow.v0.unions.card_number': function () {
|
|
11085
|
-
var f = faker.
|
|
11116
|
+
var f = faker.helpers.arrayElement([
|
|
11086
11117
|
function () { return factories['io.flow.v0.models.payment_method_card_number_cleartext'](); },
|
|
11087
11118
|
function () { return factories['io.flow.v0.models.payment_method_card_number_cipher'](); },
|
|
11088
11119
|
]);
|
|
11089
11120
|
return f();
|
|
11090
11121
|
},
|
|
11091
11122
|
'io.flow.v0.unions.checkout_token_form': function () {
|
|
11092
|
-
var f = faker.
|
|
11123
|
+
var f = faker.helpers.arrayElement([
|
|
11093
11124
|
function () { return factories['io.flow.v0.models.checkout_token_order_form'](); },
|
|
11094
11125
|
function () { return factories['io.flow.v0.models.checkout_token_reference_form'](); },
|
|
11095
11126
|
]);
|
|
11096
11127
|
return f();
|
|
11097
11128
|
},
|
|
11098
11129
|
'io.flow.v0.unions.confirmation_details': function () {
|
|
11099
|
-
var f = faker.
|
|
11130
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.direct_debit'](); }]);
|
|
11100
11131
|
return f();
|
|
11101
11132
|
},
|
|
11102
11133
|
'io.flow.v0.unions.consumer_invoice_line': function () {
|
|
11103
|
-
var f = faker.
|
|
11134
|
+
var f = faker.helpers.arrayElement([
|
|
11104
11135
|
function () { return factories['io.flow.v0.models.consumer_invoice_line_item'](); },
|
|
11105
11136
|
function () { return factories['io.flow.v0.models.consumer_invoice_line_discount'](); },
|
|
11106
11137
|
function () { return factories['io.flow.v0.models.consumer_invoice_line_shipping'](); },
|
|
@@ -11108,7 +11139,7 @@ var factories = {
|
|
|
11108
11139
|
return f();
|
|
11109
11140
|
},
|
|
11110
11141
|
'io.flow.v0.unions.consumer_invoice_line_form': function () {
|
|
11111
|
-
var f = faker.
|
|
11142
|
+
var f = faker.helpers.arrayElement([
|
|
11112
11143
|
function () { return factories['io.flow.v0.models.consumer_invoice_line_item_form'](); },
|
|
11113
11144
|
function () { return factories['io.flow.v0.models.consumer_invoice_line_discount_form'](); },
|
|
11114
11145
|
function () { return factories['io.flow.v0.models.consumer_invoice_line_shipping_form'](); },
|
|
@@ -11116,54 +11147,54 @@ var factories = {
|
|
|
11116
11147
|
return f();
|
|
11117
11148
|
},
|
|
11118
11149
|
'io.flow.v0.unions.delivery': function () {
|
|
11119
|
-
var f = faker.
|
|
11150
|
+
var f = faker.helpers.arrayElement([
|
|
11120
11151
|
function () { return factories['io.flow.v0.models.digital_delivery'](); },
|
|
11121
11152
|
function () { return factories['io.flow.v0.models.physical_delivery'](); },
|
|
11122
11153
|
]);
|
|
11123
11154
|
return f();
|
|
11124
11155
|
},
|
|
11125
11156
|
'io.flow.v0.unions.deminimis': function () {
|
|
11126
|
-
var f = faker.
|
|
11157
|
+
var f = faker.helpers.arrayElement([
|
|
11127
11158
|
function () { return factories['io.flow.v0.models.deminimis_simple'](); },
|
|
11128
11159
|
function () { return factories['io.flow.v0.models.deminimis_per_item'](); },
|
|
11129
11160
|
]);
|
|
11130
11161
|
return f();
|
|
11131
11162
|
},
|
|
11132
11163
|
'io.flow.v0.unions.device_details': function () {
|
|
11133
|
-
var f = faker.
|
|
11164
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.device_details_browser'](); }]);
|
|
11134
11165
|
return f();
|
|
11135
11166
|
},
|
|
11136
11167
|
'io.flow.v0.unions.device_fingerprint_details': function () {
|
|
11137
|
-
var f = faker.
|
|
11168
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.device_fingerprint_details_browser'](); }]);
|
|
11138
11169
|
return f();
|
|
11139
11170
|
},
|
|
11140
11171
|
'io.flow.v0.unions.discount_offer': function () {
|
|
11141
|
-
var f = faker.
|
|
11172
|
+
var f = faker.helpers.arrayElement([
|
|
11142
11173
|
function () { return factories['io.flow.v0.models.discount_offer_fixed'](); },
|
|
11143
11174
|
function () { return factories['io.flow.v0.models.discount_offer_percent'](); },
|
|
11144
11175
|
]);
|
|
11145
11176
|
return f();
|
|
11146
11177
|
},
|
|
11147
11178
|
'io.flow.v0.unions.discount_rule_entitlement': function () {
|
|
11148
|
-
var f = faker.
|
|
11179
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.discount_rule_subsidy_entitlement'](); }]);
|
|
11149
11180
|
return f();
|
|
11150
11181
|
},
|
|
11151
11182
|
'io.flow.v0.unions.document': function () {
|
|
11152
|
-
var f = faker.
|
|
11183
|
+
var f = faker.helpers.arrayElement([
|
|
11153
11184
|
function () { return factories['io.flow.v0.models.catalog_item_document'](); },
|
|
11154
11185
|
function () { return factories['io.flow.v0.models.harmonization_document'](); },
|
|
11155
11186
|
]);
|
|
11156
11187
|
return f();
|
|
11157
11188
|
},
|
|
11158
11189
|
'io.flow.v0.unions.email_notification_data': function () {
|
|
11159
|
-
var f = faker.
|
|
11190
|
+
var f = faker.helpers.arrayElement([
|
|
11160
11191
|
function () { return factories['io.flow.v0.models.email_notification_data_refund'](); },
|
|
11161
11192
|
function () { return factories['io.flow.v0.models.email_notification_abandoned_order'](); },
|
|
11162
11193
|
]);
|
|
11163
11194
|
return f();
|
|
11164
11195
|
},
|
|
11165
11196
|
'io.flow.v0.unions.event': function () {
|
|
11166
|
-
var f = faker.
|
|
11197
|
+
var f = faker.helpers.arrayElement([
|
|
11167
11198
|
function () { return factories['io.flow.v0.models.transaction_upserted'](); },
|
|
11168
11199
|
function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); },
|
|
11169
11200
|
function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); },
|
|
@@ -11355,7 +11386,7 @@ var factories = {
|
|
|
11355
11386
|
return f();
|
|
11356
11387
|
},
|
|
11357
11388
|
'io.flow.v0.unions.expandable_card': function () {
|
|
11358
|
-
var f = faker.
|
|
11389
|
+
var f = faker.helpers.arrayElement([
|
|
11359
11390
|
function () { return factories['io.flow.v0.models.card'](); },
|
|
11360
11391
|
function () { return factories['io.flow.v0.models.card_reference'](); },
|
|
11361
11392
|
function () { return factories['io.flow.v0.models.card_summary'](); },
|
|
@@ -11363,60 +11394,60 @@ var factories = {
|
|
|
11363
11394
|
return f();
|
|
11364
11395
|
},
|
|
11365
11396
|
'io.flow.v0.unions.expandable_center': function () {
|
|
11366
|
-
var f = faker.
|
|
11397
|
+
var f = faker.helpers.arrayElement([
|
|
11367
11398
|
function () { return factories['io.flow.v0.models.center'](); },
|
|
11368
11399
|
function () { return factories['io.flow.v0.models.center_reference'](); },
|
|
11369
11400
|
]);
|
|
11370
11401
|
return f();
|
|
11371
11402
|
},
|
|
11372
11403
|
'io.flow.v0.unions.expandable_experience': function () {
|
|
11373
|
-
var f = faker.
|
|
11404
|
+
var f = faker.helpers.arrayElement([
|
|
11374
11405
|
function () { return factories['io.flow.v0.models.experience'](); },
|
|
11375
11406
|
function () { return factories['io.flow.v0.models.experience_reference'](); },
|
|
11376
11407
|
]);
|
|
11377
11408
|
return f();
|
|
11378
11409
|
},
|
|
11379
11410
|
'io.flow.v0.unions.expandable_order': function () {
|
|
11380
|
-
var f = faker.
|
|
11411
|
+
var f = faker.helpers.arrayElement([
|
|
11381
11412
|
function () { return factories['io.flow.v0.models.order'](); },
|
|
11382
11413
|
function () { return factories['io.flow.v0.models.order_reference'](); },
|
|
11383
11414
|
]);
|
|
11384
11415
|
return f();
|
|
11385
11416
|
},
|
|
11386
11417
|
'io.flow.v0.unions.expandable_organization': function () {
|
|
11387
|
-
var f = faker.
|
|
11418
|
+
var f = faker.helpers.arrayElement([
|
|
11388
11419
|
function () { return factories['io.flow.v0.models.organization'](); },
|
|
11389
11420
|
function () { return factories['io.flow.v0.models.organization_reference'](); },
|
|
11390
11421
|
]);
|
|
11391
11422
|
return f();
|
|
11392
11423
|
},
|
|
11393
11424
|
'io.flow.v0.unions.expandable_payment_processor': function () {
|
|
11394
|
-
var f = faker.
|
|
11425
|
+
var f = faker.helpers.arrayElement([
|
|
11395
11426
|
function () { return factories['io.flow.v0.models.payment_processor'](); },
|
|
11396
11427
|
function () { return factories['io.flow.v0.models.payment_processor_reference'](); },
|
|
11397
11428
|
]);
|
|
11398
11429
|
return f();
|
|
11399
11430
|
},
|
|
11400
11431
|
'io.flow.v0.unions.expandable_subcatalog': function () {
|
|
11401
|
-
var f = faker.
|
|
11432
|
+
var f = faker.helpers.arrayElement([
|
|
11402
11433
|
function () { return factories['io.flow.v0.models.subcatalog'](); },
|
|
11403
11434
|
function () { return factories['io.flow.v0.models.subcatalog_reference'](); },
|
|
11404
11435
|
]);
|
|
11405
11436
|
return f();
|
|
11406
11437
|
},
|
|
11407
11438
|
'io.flow.v0.unions.expandable_user': function () {
|
|
11408
|
-
var f = faker.
|
|
11439
|
+
var f = faker.helpers.arrayElement([
|
|
11409
11440
|
function () { return factories['io.flow.v0.models.user'](); },
|
|
11410
11441
|
function () { return factories['io.flow.v0.models.user_reference'](); },
|
|
11411
11442
|
]);
|
|
11412
11443
|
return f();
|
|
11413
11444
|
},
|
|
11414
11445
|
'io.flow.v0.unions.export_delivery': function () {
|
|
11415
|
-
var f = faker.
|
|
11446
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.export_delivery_email'](); }]);
|
|
11416
11447
|
return f();
|
|
11417
11448
|
},
|
|
11418
11449
|
'io.flow.v0.unions.export_type': function () {
|
|
11419
|
-
var f = faker.
|
|
11450
|
+
var f = faker.helpers.arrayElement([
|
|
11420
11451
|
function () { return factories['io.flow.v0.models.account_transactions_export_type'](); },
|
|
11421
11452
|
function () { return factories['io.flow.v0.models.account_orders_export_type'](); },
|
|
11422
11453
|
function () { return factories['io.flow.v0.models.analytics_export_type'](); },
|
|
@@ -11438,7 +11469,7 @@ var factories = {
|
|
|
11438
11469
|
return f();
|
|
11439
11470
|
},
|
|
11440
11471
|
'io.flow.v0.unions.field_validation_rule': function () {
|
|
11441
|
-
var f = faker.
|
|
11472
|
+
var f = faker.helpers.arrayElement([
|
|
11442
11473
|
function () { return factories['io.flow.v0.models.field_validation_required'](); },
|
|
11443
11474
|
function () { return factories['io.flow.v0.models.field_validation_required_if_present'](); },
|
|
11444
11475
|
function () { return factories['io.flow.v0.models.field_validation_min'](); },
|
|
@@ -11448,30 +11479,30 @@ var factories = {
|
|
|
11448
11479
|
return f();
|
|
11449
11480
|
},
|
|
11450
11481
|
'io.flow.v0.unions.fraud_order_reference': function () {
|
|
11451
|
-
var f = faker.
|
|
11482
|
+
var f = faker.helpers.arrayElement([
|
|
11452
11483
|
function () { return factories['io.flow.v0.models.fraud_flow_order_reference'](); },
|
|
11453
11484
|
function () { return factories['io.flow.v0.models.fraud_payment_request_reference'](); },
|
|
11454
11485
|
]);
|
|
11455
11486
|
return f();
|
|
11456
11487
|
},
|
|
11457
11488
|
'io.flow.v0.unions.gateway_authentication_data': function () {
|
|
11458
|
-
var f = faker.
|
|
11489
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.stripe_authentication_data'](); }]);
|
|
11459
11490
|
return f();
|
|
11460
11491
|
},
|
|
11461
11492
|
'io.flow.v0.unions.gateway_authentication_data_form': function () {
|
|
11462
|
-
var f = faker.
|
|
11493
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.stripe_authentication_data_form'](); }]);
|
|
11463
11494
|
return f();
|
|
11464
11495
|
},
|
|
11465
11496
|
'io.flow.v0.unions.inline_action_configuration': function () {
|
|
11466
|
-
var f = faker.
|
|
11497
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.browser_inline_action_configuration'](); }]);
|
|
11467
11498
|
return f();
|
|
11468
11499
|
},
|
|
11469
11500
|
'io.flow.v0.unions.input_specification_limitation': function () {
|
|
11470
|
-
var f = faker.
|
|
11501
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.input_specification_limitation_max'](); }]);
|
|
11471
11502
|
return f();
|
|
11472
11503
|
},
|
|
11473
11504
|
'io.flow.v0.unions.inventory_strategy': function () {
|
|
11474
|
-
var f = faker.
|
|
11505
|
+
var f = faker.helpers.arrayElement([
|
|
11475
11506
|
function () { return factories['io.flow.v0.models.inventory_backorder'](); },
|
|
11476
11507
|
function () { return factories['io.flow.v0.models.inventory_stock'](); },
|
|
11477
11508
|
function () { return factories['io.flow.v0.models.inventory_unlimited'](); },
|
|
@@ -11480,7 +11511,7 @@ var factories = {
|
|
|
11480
11511
|
return f();
|
|
11481
11512
|
},
|
|
11482
11513
|
'io.flow.v0.unions.localized_price': function () {
|
|
11483
|
-
var f = faker.
|
|
11514
|
+
var f = faker.helpers.arrayElement([
|
|
11484
11515
|
function () { return factories['io.flow.v0.models.localized_item_price'](); },
|
|
11485
11516
|
function () { return factories['io.flow.v0.models.localized_item_vat'](); },
|
|
11486
11517
|
function () { return factories['io.flow.v0.models.localized_item_duty'](); },
|
|
@@ -11489,34 +11520,34 @@ var factories = {
|
|
|
11489
11520
|
return f();
|
|
11490
11521
|
},
|
|
11491
11522
|
'io.flow.v0.unions.logo_image': function () {
|
|
11492
|
-
var f = faker.
|
|
11523
|
+
var f = faker.helpers.arrayElement([
|
|
11493
11524
|
function () { return factories['io.flow.v0.models.logo_image_svg'](); },
|
|
11494
11525
|
function () { return factories['io.flow.v0.models.logo_image_set_static'](); },
|
|
11495
11526
|
]);
|
|
11496
11527
|
return f();
|
|
11497
11528
|
},
|
|
11498
11529
|
'io.flow.v0.unions.merchant_application': function () {
|
|
11499
|
-
var f = faker.
|
|
11530
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.shopify_merchant_application'](); }]);
|
|
11500
11531
|
return f();
|
|
11501
11532
|
},
|
|
11502
11533
|
'io.flow.v0.unions.merchant_application_form': function () {
|
|
11503
|
-
var f = faker.
|
|
11534
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.shopify_merchant_application_form'](); }]);
|
|
11504
11535
|
return f();
|
|
11505
11536
|
},
|
|
11506
11537
|
'io.flow.v0.unions.merchant_application_put_form': function () {
|
|
11507
|
-
var f = faker.
|
|
11538
|
+
var f = faker.helpers.arrayElement([
|
|
11508
11539
|
function () { return factories['io.flow.v0.models.shopify_merchant_application_put_form'](); },
|
|
11509
11540
|
]);
|
|
11510
11541
|
return f();
|
|
11511
11542
|
},
|
|
11512
11543
|
'io.flow.v0.unions.merchant_applications_summary': function () {
|
|
11513
|
-
var f = faker.
|
|
11544
|
+
var f = faker.helpers.arrayElement([
|
|
11514
11545
|
function () { return factories['io.flow.v0.models.shopify_merchant_applications_summary'](); },
|
|
11515
11546
|
]);
|
|
11516
11547
|
return f();
|
|
11517
11548
|
},
|
|
11518
11549
|
'io.flow.v0.unions.onboarding_state': function () {
|
|
11519
|
-
var f = faker.
|
|
11550
|
+
var f = faker.helpers.arrayElement([
|
|
11520
11551
|
function () { return factories['io.flow.v0.models.application_received'](); },
|
|
11521
11552
|
function () { return factories['io.flow.v0.models.in_compliance_review'](); },
|
|
11522
11553
|
function () { return factories['io.flow.v0.models.setup_in_progress'](); },
|
|
@@ -11528,7 +11559,7 @@ var factories = {
|
|
|
11528
11559
|
return f();
|
|
11529
11560
|
},
|
|
11530
11561
|
'io.flow.v0.unions.online_authorization_details': function () {
|
|
11531
|
-
var f = faker.
|
|
11562
|
+
var f = faker.helpers.arrayElement([
|
|
11532
11563
|
function () { return factories['io.flow.v0.models.cryptopay_authorization_details'](); },
|
|
11533
11564
|
function () { return factories['io.flow.v0.models.paypal_authorization_details'](); },
|
|
11534
11565
|
function () { return factories['io.flow.v0.models.redirect_authorization_details'](); },
|
|
@@ -11537,14 +11568,14 @@ var factories = {
|
|
|
11537
11568
|
return f();
|
|
11538
11569
|
},
|
|
11539
11570
|
'io.flow.v0.unions.order_information': function () {
|
|
11540
|
-
var f = faker.
|
|
11571
|
+
var f = faker.helpers.arrayElement([
|
|
11541
11572
|
function () { return factories['io.flow.v0.models.order_information_flow'](); },
|
|
11542
11573
|
function () { return factories['io.flow.v0.models.order_information_details'](); },
|
|
11543
11574
|
]);
|
|
11544
11575
|
return f();
|
|
11545
11576
|
},
|
|
11546
11577
|
'io.flow.v0.unions.order_number_generator': function () {
|
|
11547
|
-
var f = faker.
|
|
11578
|
+
var f = faker.helpers.arrayElement([
|
|
11548
11579
|
function () { return factories['io.flow.v0.models.order_number_generator_uuid'](); },
|
|
11549
11580
|
function () { return factories['io.flow.v0.models.order_number_generator_hexadecimal'](); },
|
|
11550
11581
|
function () { return factories['io.flow.v0.models.order_number_generator_prefix_suffix'](); },
|
|
@@ -11552,15 +11583,15 @@ var factories = {
|
|
|
11552
11583
|
return f();
|
|
11553
11584
|
},
|
|
11554
11585
|
'io.flow.v0.unions.order_promotion': function () {
|
|
11555
|
-
var f = faker.
|
|
11586
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.free_shipping_order_promotion'](); }]);
|
|
11556
11587
|
return f();
|
|
11557
11588
|
},
|
|
11558
11589
|
'io.flow.v0.unions.order_promotion_form': function () {
|
|
11559
|
-
var f = faker.
|
|
11590
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.free_shipping_order_promotion_form'](); }]);
|
|
11560
11591
|
return f();
|
|
11561
11592
|
},
|
|
11562
11593
|
'io.flow.v0.unions.order_quote_price': function () {
|
|
11563
|
-
var f = faker.
|
|
11594
|
+
var f = faker.helpers.arrayElement([
|
|
11564
11595
|
function () { return factories['io.flow.v0.models.order_quote_price_free'](); },
|
|
11565
11596
|
function () { return factories['io.flow.v0.models.order_quote_price_not_yet_known'](); },
|
|
11566
11597
|
function () { return factories['io.flow.v0.models.order_quote_price_included'](); },
|
|
@@ -11570,14 +11601,14 @@ var factories = {
|
|
|
11570
11601
|
return f();
|
|
11571
11602
|
},
|
|
11572
11603
|
'io.flow.v0.unions.order_refund_summary_form': function () {
|
|
11573
|
-
var f = faker.
|
|
11604
|
+
var f = faker.helpers.arrayElement([
|
|
11574
11605
|
function () { return factories['io.flow.v0.models.order_refund_summary_full_form'](); },
|
|
11575
11606
|
function () { return factories['io.flow.v0.models.order_refund_summary_partial_form'](); },
|
|
11576
11607
|
]);
|
|
11577
11608
|
return f();
|
|
11578
11609
|
},
|
|
11579
11610
|
'io.flow.v0.unions.partner_center_fee': function () {
|
|
11580
|
-
var f = faker.
|
|
11611
|
+
var f = faker.helpers.arrayElement([
|
|
11581
11612
|
function () { return factories['io.flow.v0.models.commercial_invoice_fee'](); },
|
|
11582
11613
|
function () { return factories['io.flow.v0.models.inbound_carton_fee'](); },
|
|
11583
11614
|
function () { return factories['io.flow.v0.models.outbound_carton_fee'](); },
|
|
@@ -11585,32 +11616,32 @@ var factories = {
|
|
|
11585
11616
|
return f();
|
|
11586
11617
|
},
|
|
11587
11618
|
'io.flow.v0.unions.payment': function () {
|
|
11588
|
-
var f = faker.
|
|
11619
|
+
var f = faker.helpers.arrayElement([
|
|
11589
11620
|
function () { return factories['io.flow.v0.models.payment_paypal'](); },
|
|
11590
11621
|
function () { return factories['io.flow.v0.models.payment_cryptopay'](); },
|
|
11591
11622
|
]);
|
|
11592
11623
|
return f();
|
|
11593
11624
|
},
|
|
11594
11625
|
'io.flow.v0.unions.payment_capture_option': function () {
|
|
11595
|
-
var f = faker.
|
|
11626
|
+
var f = faker.helpers.arrayElement([
|
|
11596
11627
|
function () { return factories['io.flow.v0.models.payment_capture_option_automatic_immediate'](); },
|
|
11597
11628
|
function () { return factories['io.flow.v0.models.payment_capture_option_manual'](); },
|
|
11598
11629
|
]);
|
|
11599
11630
|
return f();
|
|
11600
11631
|
},
|
|
11601
11632
|
'io.flow.v0.unions.payment_form': function () {
|
|
11602
|
-
var f = faker.
|
|
11633
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.merchant_of_record_payment_form'](); }]);
|
|
11603
11634
|
return f();
|
|
11604
11635
|
},
|
|
11605
11636
|
'io.flow.v0.unions.payment_method_card': function () {
|
|
11606
|
-
var f = faker.
|
|
11637
|
+
var f = faker.helpers.arrayElement([
|
|
11607
11638
|
function () { return factories['io.flow.v0.models.payment_method_card_pci_details'](); },
|
|
11608
11639
|
function () { return factories['io.flow.v0.models.payment_method_card_token'](); },
|
|
11609
11640
|
]);
|
|
11610
11641
|
return f();
|
|
11611
11642
|
},
|
|
11612
11643
|
'io.flow.v0.unions.payment_method_data': function () {
|
|
11613
|
-
var f = faker.
|
|
11644
|
+
var f = faker.helpers.arrayElement([
|
|
11614
11645
|
function () { return factories['io.flow.v0.models.payment_method_data_init_klarna'](); },
|
|
11615
11646
|
function () { return factories['io.flow.v0.models.payment_method_data_init_afterpay'](); },
|
|
11616
11647
|
function () { return factories['io.flow.v0.models.payment_method_data_init_applepay'](); },
|
|
@@ -11631,18 +11662,18 @@ var factories = {
|
|
|
11631
11662
|
return f();
|
|
11632
11663
|
},
|
|
11633
11664
|
'io.flow.v0.unions.payment_method_data_authorize_klarna_result': function () {
|
|
11634
|
-
var f = faker.
|
|
11665
|
+
var f = faker.helpers.arrayElement([
|
|
11635
11666
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_klarna_result_success'](); },
|
|
11636
11667
|
function () { return factories['io.flow.v0.models.payment_method_data_authorize_klarna_result_failure'](); },
|
|
11637
11668
|
]);
|
|
11638
11669
|
return f();
|
|
11639
11670
|
},
|
|
11640
11671
|
'io.flow.v0.unions.payment_method_data_option_logo': function () {
|
|
11641
|
-
var f = faker.
|
|
11672
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.payment_method_data_option_logo_svg'](); }]);
|
|
11642
11673
|
return f();
|
|
11643
11674
|
},
|
|
11644
11675
|
'io.flow.v0.unions.payment_method_summary': function () {
|
|
11645
|
-
var f = faker.
|
|
11676
|
+
var f = faker.helpers.arrayElement([
|
|
11646
11677
|
function () { return factories['io.flow.v0.models.payment_method_summary_card'](); },
|
|
11647
11678
|
function () { return factories['io.flow.v0.models.payment_method_summary_klarna'](); },
|
|
11648
11679
|
function () { return factories['io.flow.v0.models.payment_method_summary_afterpay'](); },
|
|
@@ -11656,7 +11687,7 @@ var factories = {
|
|
|
11656
11687
|
return f();
|
|
11657
11688
|
},
|
|
11658
11689
|
'io.flow.v0.unions.payment_method_tag': function () {
|
|
11659
|
-
var f = faker.
|
|
11690
|
+
var f = faker.helpers.arrayElement([function () { return ({
|
|
11660
11691
|
discriminator: 'organization_payment_method_tag',
|
|
11661
11692
|
value: factories['io.flow.v0.enums.organization_payment_method_tag'](),
|
|
11662
11693
|
}); }, function () { return ({
|
|
@@ -11666,22 +11697,22 @@ var factories = {
|
|
|
11666
11697
|
return f();
|
|
11667
11698
|
},
|
|
11668
11699
|
'io.flow.v0.unions.payment_order_reference': function () {
|
|
11669
|
-
var f = faker.
|
|
11700
|
+
var f = faker.helpers.arrayElement([
|
|
11670
11701
|
function () { return factories['io.flow.v0.models.authorization_order_reference'](); },
|
|
11671
11702
|
function () { return factories['io.flow.v0.models.payment_payment_request_reference'](); },
|
|
11672
11703
|
]);
|
|
11673
11704
|
return f();
|
|
11674
11705
|
},
|
|
11675
11706
|
'io.flow.v0.unions.payment_source': function () {
|
|
11676
|
-
var f = faker.
|
|
11707
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.card_payment_source'](); }]);
|
|
11677
11708
|
return f();
|
|
11678
11709
|
},
|
|
11679
11710
|
'io.flow.v0.unions.payment_source_form': function () {
|
|
11680
|
-
var f = faker.
|
|
11711
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.card_payment_source_form'](); }]);
|
|
11681
11712
|
return f();
|
|
11682
11713
|
},
|
|
11683
11714
|
'io.flow.v0.unions.price_source': function () {
|
|
11684
|
-
var f = faker.
|
|
11715
|
+
var f = faker.helpers.arrayElement([
|
|
11685
11716
|
function () { return factories['io.flow.v0.models.price_source_price_book'](); },
|
|
11686
11717
|
function () { return factories['io.flow.v0.models.price_source_catalog'](); },
|
|
11687
11718
|
function () { return factories['io.flow.v0.models.price_source_provided'](); },
|
|
@@ -11689,35 +11720,35 @@ var factories = {
|
|
|
11689
11720
|
return f();
|
|
11690
11721
|
},
|
|
11691
11722
|
'io.flow.v0.unions.promotion': function () {
|
|
11692
|
-
var f = faker.
|
|
11723
|
+
var f = faker.helpers.arrayElement([
|
|
11693
11724
|
function () { return factories['io.flow.v0.models.free_shipping'](); },
|
|
11694
11725
|
function () { return factories['io.flow.v0.models.discount'](); },
|
|
11695
11726
|
]);
|
|
11696
11727
|
return f();
|
|
11697
11728
|
},
|
|
11698
11729
|
'io.flow.v0.unions.query_builder_form': function () {
|
|
11699
|
-
var f = faker.
|
|
11730
|
+
var f = faker.helpers.arrayElement([
|
|
11700
11731
|
function () { return factories['io.flow.v0.models.query_builder_filter_form'](); },
|
|
11701
11732
|
function () { return factories['io.flow.v0.models.query_builder_query_form'](); },
|
|
11702
11733
|
]);
|
|
11703
11734
|
return f();
|
|
11704
11735
|
},
|
|
11705
11736
|
'io.flow.v0.unions.query_filter': function () {
|
|
11706
|
-
var f = faker.
|
|
11737
|
+
var f = faker.helpers.arrayElement([
|
|
11707
11738
|
function () { return factories['io.flow.v0.models.query_filter_structured'](); },
|
|
11708
11739
|
function () { return factories['io.flow.v0.models.query_filter_unstructured'](); },
|
|
11709
11740
|
]);
|
|
11710
11741
|
return f();
|
|
11711
11742
|
},
|
|
11712
11743
|
'io.flow.v0.unions.query_filter_form': function () {
|
|
11713
|
-
var f = faker.
|
|
11744
|
+
var f = faker.helpers.arrayElement([
|
|
11714
11745
|
function () { return factories['io.flow.v0.models.query_filter_structured_form'](); },
|
|
11715
11746
|
function () { return factories['io.flow.v0.models.query_filter_unstructured_form'](); },
|
|
11716
11747
|
]);
|
|
11717
11748
|
return f();
|
|
11718
11749
|
},
|
|
11719
11750
|
'io.flow.v0.unions.ratecard_estimate': function () {
|
|
11720
|
-
var f = faker.
|
|
11751
|
+
var f = faker.helpers.arrayElement([
|
|
11721
11752
|
function () { return factories['io.flow.v0.models.ratecard_estimate_v1'](); },
|
|
11722
11753
|
function () { return factories['io.flow.v0.models.ratecard_estimate_v2'](); },
|
|
11723
11754
|
function () { return factories['io.flow.v0.models.ratecard_estimate_v3'](); },
|
|
@@ -11726,7 +11757,7 @@ var factories = {
|
|
|
11726
11757
|
return f();
|
|
11727
11758
|
},
|
|
11728
11759
|
'io.flow.v0.unions.ratecard_fee': function () {
|
|
11729
|
-
var f = faker.
|
|
11760
|
+
var f = faker.helpers.arrayElement([
|
|
11730
11761
|
function () { return factories['io.flow.v0.models.ddp_ratecard_fee'](); },
|
|
11731
11762
|
function () { return factories['io.flow.v0.models.fuel_surcharge_ratecard_fee'](); },
|
|
11732
11763
|
function () { return factories['io.flow.v0.models.oversized_shipment_ratecard_fee'](); },
|
|
@@ -11740,7 +11771,7 @@ var factories = {
|
|
|
11740
11771
|
return f();
|
|
11741
11772
|
},
|
|
11742
11773
|
'io.flow.v0.unions.repeat_schedule': function () {
|
|
11743
|
-
var f = faker.
|
|
11774
|
+
var f = faker.helpers.arrayElement([
|
|
11744
11775
|
function () { return factories['io.flow.v0.models.repeat_hourly'](); },
|
|
11745
11776
|
function () { return factories['io.flow.v0.models.repeat_daily'](); },
|
|
11746
11777
|
function () { return factories['io.flow.v0.models.repeat_weekly'](); },
|
|
@@ -11749,7 +11780,7 @@ var factories = {
|
|
|
11749
11780
|
return f();
|
|
11750
11781
|
},
|
|
11751
11782
|
'io.flow.v0.unions.reservation_error': function () {
|
|
11752
|
-
var f = faker.
|
|
11783
|
+
var f = faker.helpers.arrayElement([
|
|
11753
11784
|
function () { return factories['io.flow.v0.models.no_inventory_reservation_error'](); },
|
|
11754
11785
|
function () { return factories['io.flow.v0.models.external_api_timeout_reservation_error'](); },
|
|
11755
11786
|
function () { return factories['io.flow.v0.models.generic_reservation_error'](); },
|
|
@@ -11757,21 +11788,21 @@ var factories = {
|
|
|
11757
11788
|
return f();
|
|
11758
11789
|
},
|
|
11759
11790
|
'io.flow.v0.unions.return_source': function () {
|
|
11760
|
-
var f = faker.
|
|
11791
|
+
var f = faker.helpers.arrayElement([
|
|
11761
11792
|
function () { return factories['io.flow.v0.models.return_source_flow'](); },
|
|
11762
11793
|
function () { return factories['io.flow.v0.models.return_source_external_vendor'](); },
|
|
11763
11794
|
]);
|
|
11764
11795
|
return f();
|
|
11765
11796
|
},
|
|
11766
11797
|
'io.flow.v0.unions.sdk_adyen_v3_authentication_token': function () {
|
|
11767
|
-
var f = faker.
|
|
11798
|
+
var f = faker.helpers.arrayElement([
|
|
11768
11799
|
function () { return factories['io.flow.v0.models.adyen_v3_fingerprint_token'](); },
|
|
11769
11800
|
function () { return factories['io.flow.v0.models.adyen_v3_challenge_token'](); },
|
|
11770
11801
|
]);
|
|
11771
11802
|
return f();
|
|
11772
11803
|
},
|
|
11773
11804
|
'io.flow.v0.unions.service_fee': function () {
|
|
11774
|
-
var f = faker.
|
|
11805
|
+
var f = faker.helpers.arrayElement([
|
|
11775
11806
|
function () { return factories['io.flow.v0.models.fuel_surcharge_service_fee'](); },
|
|
11776
11807
|
function () { return factories['io.flow.v0.models.fuel_surcharge_amount_by_weight_service_fee'](); },
|
|
11777
11808
|
function () { return factories['io.flow.v0.models.remote_area_service_fee'](); },
|
|
@@ -11783,29 +11814,29 @@ var factories = {
|
|
|
11783
11814
|
return f();
|
|
11784
11815
|
},
|
|
11785
11816
|
'io.flow.v0.unions.session': function () {
|
|
11786
|
-
var f = faker.
|
|
11817
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.organization_session'](); }]);
|
|
11787
11818
|
return f();
|
|
11788
11819
|
},
|
|
11789
11820
|
'io.flow.v0.unions.session_authorization': function () {
|
|
11790
|
-
var f = faker.
|
|
11821
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.organization_session_authorization'](); }]);
|
|
11791
11822
|
return f();
|
|
11792
11823
|
},
|
|
11793
11824
|
'io.flow.v0.unions.settlement': function () {
|
|
11794
|
-
var f = faker.
|
|
11825
|
+
var f = faker.helpers.arrayElement([
|
|
11795
11826
|
function () { return factories['io.flow.v0.models.no_payout'](); },
|
|
11796
11827
|
function () { return factories['io.flow.v0.models.payout'](); },
|
|
11797
11828
|
]);
|
|
11798
11829
|
return f();
|
|
11799
11830
|
},
|
|
11800
11831
|
'io.flow.v0.unions.shipping_label_form': function () {
|
|
11801
|
-
var f = faker.
|
|
11832
|
+
var f = faker.helpers.arrayElement([
|
|
11802
11833
|
function () { return factories['io.flow.v0.models.detailed_shipping_label_form'](); },
|
|
11803
11834
|
function () { return factories['io.flow.v0.models.summary_shipping_label_form'](); },
|
|
11804
11835
|
]);
|
|
11805
11836
|
return f();
|
|
11806
11837
|
},
|
|
11807
11838
|
'io.flow.v0.unions.shipping_notification_form': function () {
|
|
11808
|
-
var f = faker.
|
|
11839
|
+
var f = faker.helpers.arrayElement([
|
|
11809
11840
|
function () { return factories['io.flow.v0.models.detailed_shipping_notification_form'](); },
|
|
11810
11841
|
function () { return factories['io.flow.v0.models.single_package_shipping_notification_form'](); },
|
|
11811
11842
|
function () { return factories['io.flow.v0.models.summary_shipping_notification_form'](); },
|
|
@@ -11813,37 +11844,37 @@ var factories = {
|
|
|
11813
11844
|
return f();
|
|
11814
11845
|
},
|
|
11815
11846
|
'io.flow.v0.unions.shopify_cart_add_form': function () {
|
|
11816
|
-
var f = faker.
|
|
11847
|
+
var f = faker.helpers.arrayElement([
|
|
11817
11848
|
function () { return factories['io.flow.v0.models.shopify_cart_add_single_form'](); },
|
|
11818
11849
|
function () { return factories['io.flow.v0.models.shopify_cart_add_multiple_form'](); },
|
|
11819
11850
|
]);
|
|
11820
11851
|
return f();
|
|
11821
11852
|
},
|
|
11822
11853
|
'io.flow.v0.unions.shopify_event_bucket': function () {
|
|
11823
|
-
var f = faker.
|
|
11854
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.shopify_item_event_bucket'](); }]);
|
|
11824
11855
|
return f();
|
|
11825
11856
|
},
|
|
11826
11857
|
'io.flow.v0.unions.tax_duty_quote_levy_value': function () {
|
|
11827
|
-
var f = faker.
|
|
11858
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.tax_duty_quote_simple_levy_value'](); }]);
|
|
11828
11859
|
return f();
|
|
11829
11860
|
},
|
|
11830
11861
|
'io.flow.v0.unions.tax_setting': function () {
|
|
11831
|
-
var f = faker.
|
|
11862
|
+
var f = faker.helpers.arrayElement([
|
|
11832
11863
|
function () { return factories['io.flow.v0.models.avalara_tax_setting'](); },
|
|
11833
11864
|
function () { return factories['io.flow.v0.models.avalara_tax_csv_setting'](); },
|
|
11834
11865
|
]);
|
|
11835
11866
|
return f();
|
|
11836
11867
|
},
|
|
11837
11868
|
'io.flow.v0.unions.threeds_challenge_action': function () {
|
|
11838
|
-
var f = faker.
|
|
11869
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.threeds_two_challenge_request'](); }]);
|
|
11839
11870
|
return f();
|
|
11840
11871
|
},
|
|
11841
11872
|
'io.flow.v0.unions.threeds_identify_action': function () {
|
|
11842
|
-
var f = faker.
|
|
11873
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.threeds_two_method'](); }]);
|
|
11843
11874
|
return f();
|
|
11844
11875
|
},
|
|
11845
11876
|
'io.flow.v0.unions.tier_rule_outcome': function () {
|
|
11846
|
-
var f = faker.
|
|
11877
|
+
var f = faker.helpers.arrayElement([
|
|
11847
11878
|
function () { return factories['io.flow.v0.models.amount_margin'](); },
|
|
11848
11879
|
function () { return factories['io.flow.v0.models.at_cost'](); },
|
|
11849
11880
|
function () { return factories['io.flow.v0.models.flat_rate'](); },
|
|
@@ -11852,7 +11883,7 @@ var factories = {
|
|
|
11852
11883
|
return f();
|
|
11853
11884
|
},
|
|
11854
11885
|
'io.flow.v0.unions.tier_rule_outcome_form': function () {
|
|
11855
|
-
var f = faker.
|
|
11886
|
+
var f = faker.helpers.arrayElement([
|
|
11856
11887
|
function () { return factories['io.flow.v0.models.amount_margin_form'](); },
|
|
11857
11888
|
function () { return factories['io.flow.v0.models.flat_rate_form'](); },
|
|
11858
11889
|
function () { return factories['io.flow.v0.models.at_cost'](); },
|
|
@@ -11861,7 +11892,7 @@ var factories = {
|
|
|
11861
11892
|
return f();
|
|
11862
11893
|
},
|
|
11863
11894
|
'io.flow.v0.unions.token': function () {
|
|
11864
|
-
var f = faker.
|
|
11895
|
+
var f = faker.helpers.arrayElement([
|
|
11865
11896
|
function () { return factories['io.flow.v0.models.channel_token'](); },
|
|
11866
11897
|
function () { return factories['io.flow.v0.models.organization_token'](); },
|
|
11867
11898
|
function () { return factories['io.flow.v0.models.organization_token_v2'](); },
|
|
@@ -11870,7 +11901,7 @@ var factories = {
|
|
|
11870
11901
|
return f();
|
|
11871
11902
|
},
|
|
11872
11903
|
'io.flow.v0.unions.token_reference': function () {
|
|
11873
|
-
var f = faker.
|
|
11904
|
+
var f = faker.helpers.arrayElement([
|
|
11874
11905
|
function () { return factories['io.flow.v0.models.channel_token_reference'](); },
|
|
11875
11906
|
function () { return factories['io.flow.v0.models.organization_token_reference'](); },
|
|
11876
11907
|
function () { return factories['io.flow.v0.models.organization_token_v2_reference'](); },
|
|
@@ -11905,6 +11936,7 @@ export var makeActionUseSdkKlarnaV1 = function () { return factories['io.flow.v0
|
|
|
11905
11936
|
export var makeActionUseSdkPaypal = function () { return factories['io.flow.v0.models.action_use_sdk_paypal'](); };
|
|
11906
11937
|
export var makeActionUseSdkStripeV3 = function () { return factories['io.flow.v0.models.action_use_sdk_stripe_v3'](); };
|
|
11907
11938
|
export var makeActionWait = function () { return factories['io.flow.v0.models.action_wait'](); };
|
|
11939
|
+
export var makeActivationPutForm = function () { return factories['io.flow.v0.models.activation_put_form'](); };
|
|
11908
11940
|
export var makeAddress = function () { return factories['io.flow.v0.models.address'](); };
|
|
11909
11941
|
export var makeAddressConfiguration = function () { return factories['io.flow.v0.models.address_configuration'](); };
|
|
11910
11942
|
export var makeAddressConfigurationFieldPlacement = function () { return factories['io.flow.v0.models.address_configuration_field_placement'](); };
|
|
@@ -11916,6 +11948,8 @@ export var makeAddressFieldName = function () { return factories['io.flow.v0.enu
|
|
|
11916
11948
|
export var makeAddressFieldValidation = function () { return factories['io.flow.v0.models.address_field_validation'](); };
|
|
11917
11949
|
export var makeAddressSuggestion = function () { return factories['io.flow.v0.models.address_suggestion'](); };
|
|
11918
11950
|
export var makeAddressVerification = function () { return factories['io.flow.v0.models.address_verification'](); };
|
|
11951
|
+
export var makeAddressVerificationResult = function () { return factories['io.flow.v0.models.address_verification_result'](); };
|
|
11952
|
+
export var makeAddressVerificationResultFieldCode = function () { return factories['io.flow.v0.enums.address_verification_result_field_code'](); };
|
|
11919
11953
|
export var makeAdjustmentReason = function () { return factories['io.flow.v0.models.adjustment_reason'](); };
|
|
11920
11954
|
export var makeAdjustmentReasonKey = function () { return factories['io.flow.v0.enums.adjustment_reason_key'](); };
|
|
11921
11955
|
export var makeAdyenChallengeShopperData = function () { return factories['io.flow.v0.models.adyen_challenge_shopper_data'](); };
|
|
@@ -12229,6 +12263,8 @@ export var makeCustomerToken = function () { return factories['io.flow.v0.models
|
|
|
12229
12263
|
export var makeCustomerUpserted = function () { return factories['io.flow.v0.models.customer_upserted'](); };
|
|
12230
12264
|
export var makeCvv = function () { return factories['io.flow.v0.models.cvv'](); };
|
|
12231
12265
|
export var makeCvvCode = function () { return factories['io.flow.v0.enums.cvv_code'](); };
|
|
12266
|
+
export var makeCvvResult = function () { return factories['io.flow.v0.models.cvv_result'](); };
|
|
12267
|
+
export var makeCvvResultCode = function () { return factories['io.flow.v0.enums.cvv_result_code'](); };
|
|
12232
12268
|
export var makeDatetimeRange = function () { return factories['io.flow.v0.models.datetime_range'](); };
|
|
12233
12269
|
export var makeDatetimeWithTimezone = function () { return factories['io.flow.v0.models.datetime_with_timezone'](); };
|
|
12234
12270
|
export var makeDayOfWeek = function () { return factories['io.flow.v0.enums.day_of_week'](); };
|
|
@@ -13457,6 +13493,8 @@ export var makeTradeAgreementDuty = function () { return factories['io.flow.v0.m
|
|
|
13457
13493
|
export var makeTradeAgreementName = function () { return factories['io.flow.v0.enums.trade_agreement_name'](); };
|
|
13458
13494
|
export var makeTradeAgreementStatus = function () { return factories['io.flow.v0.enums.trade_agreement_status'](); };
|
|
13459
13495
|
export var makeTransaction = function () { return factories['io.flow.v0.models.transaction'](); };
|
|
13496
|
+
export var makeTransactionDetailsCard = function () { return factories['io.flow.v0.models.transaction_details_card'](); };
|
|
13497
|
+
export var makeTransactionNetworkDetailsCard = function () { return factories['io.flow.v0.models.transaction_network_details_card'](); };
|
|
13460
13498
|
export var makeTransactionSource = function () { return factories['io.flow.v0.enums.transaction_source'](); };
|
|
13461
13499
|
export var makeTransactionUpserted = function () { return factories['io.flow.v0.models.transaction_upserted'](); };
|
|
13462
13500
|
export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
|