@flowio/api-factories 0.0.62 → 0.0.63
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 +509 -57
- package/dist/esm/api.js +455 -26
- package/dist/types/api.d.ts +24 -2
- package/package.json +2 -2
- package/src/api.ts +528 -27
package/dist/esm/api.js
CHANGED
|
@@ -91,6 +91,120 @@ var factories = {
|
|
|
91
91
|
amount: factories.string(),
|
|
92
92
|
identifier: factories.string(),
|
|
93
93
|
}); },
|
|
94
|
+
'io.flow.ben.test.internal.v0.models.generate_load_multiple_orgs': function () { return ({
|
|
95
|
+
discriminator: 'generate_load_multiple_orgs',
|
|
96
|
+
organization_ids: arrayOf(function () { return factories.string(); }),
|
|
97
|
+
num_events: factories.long(),
|
|
98
|
+
}); },
|
|
99
|
+
'io.flow.ben.test.internal.v0.models.generate_load_single_org': function () { return ({
|
|
100
|
+
discriminator: 'generate_load_single_org',
|
|
101
|
+
organization_id: factories.string(),
|
|
102
|
+
num_events: factories.long(),
|
|
103
|
+
}); },
|
|
104
|
+
'io.flow.ben.test.internal.v0.models.test': function () { return ({
|
|
105
|
+
id: factories.string(),
|
|
106
|
+
name: factories.string(),
|
|
107
|
+
}); },
|
|
108
|
+
'io.flow.ben.test.internal.v0.models.test_form': function () { return ({
|
|
109
|
+
name: factories.string(),
|
|
110
|
+
}); },
|
|
111
|
+
'io.flow.ben.test.internal.v0.unions.generate_load': function () {
|
|
112
|
+
var f = faker.helpers.arrayElement([
|
|
113
|
+
function () { return factories['io.flow.ben.test.internal.v0.models.generate_load_single_org'](); },
|
|
114
|
+
function () { return factories['io.flow.ben.test.internal.v0.models.generate_load_multiple_orgs'](); },
|
|
115
|
+
]);
|
|
116
|
+
return f();
|
|
117
|
+
},
|
|
118
|
+
'io.flow.billing.true.up.v0.enums.true_up_surcharge_type': function () { return faker.helpers.arrayElement(['fuel', 'remote_area', 'oversize', 'duties_paid', 'emergency', 'peak']); },
|
|
119
|
+
'io.flow.billing.true.up.v0.enums.weight_selection': function () { return faker.helpers.arrayElement(['dead', 'dimensional']); },
|
|
120
|
+
'io.flow.billing.true.up.v0.models.label_base': function () { return ({
|
|
121
|
+
amount: factories.decimal(),
|
|
122
|
+
weight: factories.decimal(),
|
|
123
|
+
}); },
|
|
124
|
+
'io.flow.billing.true.up.v0.models.label_destination': function () { return ({
|
|
125
|
+
country: factories.string(),
|
|
126
|
+
}); },
|
|
127
|
+
'io.flow.billing.true.up.v0.models.label_invoice_request': function () { return ({
|
|
128
|
+
id: factories.string(),
|
|
129
|
+
label: factories['io.flow.billing.true.up.v0.models.true_up_label_summary'](),
|
|
130
|
+
units: factories['io.flow.billing.true.up.v0.models.label_units'](),
|
|
131
|
+
base: factories['io.flow.billing.true.up.v0.models.label_base'](),
|
|
132
|
+
surcharges: arrayOf(function () { return factories['io.flow.billing.true.up.v0.models.label_surcharge'](); }),
|
|
133
|
+
total: factories.decimal(),
|
|
134
|
+
destination: factories['io.flow.billing.true.up.v0.models.label_destination'](),
|
|
135
|
+
metadata: factories['io.flow.billing.true.up.v0.models.label_metadata'](),
|
|
136
|
+
}); },
|
|
137
|
+
'io.flow.billing.true.up.v0.models.label_metadata': function () { return ({
|
|
138
|
+
ratecard: factories['io.flow.billing.true.up.v0.models.metadata_ratecard'](),
|
|
139
|
+
weights: factories['io.flow.billing.true.up.v0.models.metadata_weights'](),
|
|
140
|
+
}); },
|
|
141
|
+
'io.flow.billing.true.up.v0.models.label_surcharge': function () { return ({
|
|
142
|
+
amount: factories.decimal(),
|
|
143
|
+
type: factories['io.flow.billing.true.up.v0.enums.true_up_surcharge_type'](),
|
|
144
|
+
detail: factories['io.flow.billing.true.up.v0.unions.label_surcharge_detail'](),
|
|
145
|
+
}); },
|
|
146
|
+
'io.flow.billing.true.up.v0.models.label_surcharge_detail_flat': function () { return ({
|
|
147
|
+
discriminator: 'flat',
|
|
148
|
+
placeholder: factories.string(),
|
|
149
|
+
}); },
|
|
150
|
+
'io.flow.billing.true.up.v0.models.label_surcharge_detail_per_weight_unit': function () { return ({
|
|
151
|
+
discriminator: 'per_weight_unit',
|
|
152
|
+
fee: factories.decimal(),
|
|
153
|
+
}); },
|
|
154
|
+
'io.flow.billing.true.up.v0.models.label_surcharge_detail_percentage': function () { return ({
|
|
155
|
+
discriminator: 'percentage',
|
|
156
|
+
percentage: factories.decimal(),
|
|
157
|
+
}); },
|
|
158
|
+
'io.flow.billing.true.up.v0.models.label_units': function () { return ({
|
|
159
|
+
currency: factories.string(),
|
|
160
|
+
weight: factories['io.flow.units.v0.enums.unit_of_weight'](),
|
|
161
|
+
length: factories['io.flow.units.v0.enums.unit_of_length'](),
|
|
162
|
+
}); },
|
|
163
|
+
'io.flow.billing.true.up.v0.models.metadata_proposition': function () { return ({
|
|
164
|
+
shipping_method: factories['io.flow.billing.true.up.v0.models.shipping_method_reference'](),
|
|
165
|
+
name: factories.string(),
|
|
166
|
+
}); },
|
|
167
|
+
'io.flow.billing.true.up.v0.models.metadata_ratecard': function () { return ({
|
|
168
|
+
id: factories.string(),
|
|
169
|
+
proposition: factories['io.flow.billing.true.up.v0.models.metadata_proposition'](),
|
|
170
|
+
}); },
|
|
171
|
+
'io.flow.billing.true.up.v0.models.metadata_weights': function () { return ({
|
|
172
|
+
selected: factories['io.flow.billing.true.up.v0.enums.weight_selection'](),
|
|
173
|
+
dead: factories['io.flow.billing.true.up.v0.models.weights_dead'](),
|
|
174
|
+
dimensional: factories['io.flow.billing.true.up.v0.models.weights_dimensional'](),
|
|
175
|
+
}); },
|
|
176
|
+
'io.flow.billing.true.up.v0.models.shipping_method_reference': function () { return ({
|
|
177
|
+
id: factories.string(),
|
|
178
|
+
}); },
|
|
179
|
+
'io.flow.billing.true.up.v0.models.true_up_label_summary': function () { return ({
|
|
180
|
+
id: factories.string(),
|
|
181
|
+
carrier_service_id: factories.string(),
|
|
182
|
+
carrier_tracking_number: factories.string(),
|
|
183
|
+
flow_tracking_number: factories.string(),
|
|
184
|
+
created_at: factories.date_time_iso_8601(),
|
|
185
|
+
}); },
|
|
186
|
+
'io.flow.billing.true.up.v0.models.weights_dead': function () { return ({
|
|
187
|
+
weight: factories.decimal(),
|
|
188
|
+
}); },
|
|
189
|
+
'io.flow.billing.true.up.v0.models.weights_dimensional': function () { return ({
|
|
190
|
+
weight: factories.decimal(),
|
|
191
|
+
length: factories.decimal(),
|
|
192
|
+
width: factories.decimal(),
|
|
193
|
+
height: factories.decimal(),
|
|
194
|
+
}); },
|
|
195
|
+
'io.flow.billing.true.up.v0.unions.label_surcharge_detail': function () {
|
|
196
|
+
var f = faker.helpers.arrayElement([
|
|
197
|
+
function () { return factories['io.flow.billing.true.up.v0.models.label_surcharge_detail_flat'](); },
|
|
198
|
+
function () { return factories['io.flow.billing.true.up.v0.models.label_surcharge_detail_percentage'](); },
|
|
199
|
+
function () { return factories['io.flow.billing.true.up.v0.models.label_surcharge_detail_per_weight_unit'](); },
|
|
200
|
+
]);
|
|
201
|
+
return f();
|
|
202
|
+
},
|
|
203
|
+
'io.flow.error.v0.enums.generic_error_code': function () { return faker.helpers.arrayElement(['generic_error', 'client_error', 'server_error']); },
|
|
204
|
+
'io.flow.error.v0.models.generic_error': function () { return ({
|
|
205
|
+
code: factories['io.flow.error.v0.enums.generic_error_code'](),
|
|
206
|
+
messages: arrayOf(function () { return factories.string(); }),
|
|
207
|
+
}); },
|
|
94
208
|
'io.flow.google.pay.v0.enums.auth_method': function () { return faker.helpers.arrayElement(['PAN_ONLY', 'CRYPTOGRAM_3DS']); },
|
|
95
209
|
'io.flow.google.pay.v0.enums.billing_address_format': function () { return faker.helpers.arrayElement(['MIN', 'FULL']); },
|
|
96
210
|
'io.flow.google.pay.v0.enums.card_gateway': function () { return faker.helpers.arrayElement(['adyen', 'stripe']); },
|
|
@@ -390,7 +504,7 @@ var factories = {
|
|
|
390
504
|
starts_at: factories.date_time_iso_8601(),
|
|
391
505
|
ends_at: factories.date_time_iso_8601(),
|
|
392
506
|
prerequisite_subtotal_range: factories['io.flow.shopify.external.v0.models.price_rule_greater_than_range'](),
|
|
393
|
-
|
|
507
|
+
prerequisite_shipping_price_range: factories['io.flow.shopify.external.v0.models.price_rule_less_than_range'](),
|
|
394
508
|
usage_limit: factories.long(),
|
|
395
509
|
entitled_product_ids: arrayOf(function () { return factories.long(); }),
|
|
396
510
|
entitled_variant_ids: arrayOf(function () { return factories.long(); }),
|
|
@@ -400,7 +514,7 @@ var factories = {
|
|
|
400
514
|
once_per_customer: factories.boolean(),
|
|
401
515
|
target_selection: factories['io.flow.shopify.external.v0.enums.price_rule_target_selection'](),
|
|
402
516
|
customer_selection: factories['io.flow.shopify.external.v0.enums.price_rule_customer_selection'](),
|
|
403
|
-
|
|
517
|
+
customer_segment_prerequisite_ids: arrayOf(function () { return factories.long(); }),
|
|
404
518
|
prerequisite_customer_ids: arrayOf(function () { return factories.long(); }),
|
|
405
519
|
prerequisite_quantity_range: factories['io.flow.shopify.external.v0.models.price_rule_greater_than_range'](),
|
|
406
520
|
prerequisite_product_ids: arrayOf(function () { return factories.long(); }),
|
|
@@ -1109,6 +1223,7 @@ var factories = {
|
|
|
1109
1223
|
webhook: factories['io.flow.shopify.external.v0.models.webhook'](),
|
|
1110
1224
|
}); },
|
|
1111
1225
|
'io.flow.stripe.v0.enums.account_type': function () { return faker.helpers.arrayElement(['platform', 'custom', 'standard', 'express']); },
|
|
1226
|
+
'io.flow.stripe.v0.enums.apple_pay_type': function () { return faker.helpers.arrayElement(['apple_pay', 'apple_pay_later']); },
|
|
1112
1227
|
'io.flow.stripe.v0.enums.cancellation_reason': function () { return faker.helpers.arrayElement([
|
|
1113
1228
|
'abandoned',
|
|
1114
1229
|
'automatic',
|
|
@@ -1142,6 +1257,19 @@ var factories = {
|
|
|
1142
1257
|
'processing_error',
|
|
1143
1258
|
]); },
|
|
1144
1259
|
'io.flow.stripe.v0.enums.card_funding_type': function () { return faker.helpers.arrayElement(['credit', 'debit', 'prepaid', 'unknown']); },
|
|
1260
|
+
'io.flow.stripe.v0.enums.card_network': function () { return faker.helpers.arrayElement([
|
|
1261
|
+
'amex',
|
|
1262
|
+
'cartes_bancaires',
|
|
1263
|
+
'diners',
|
|
1264
|
+
'discover',
|
|
1265
|
+
'eftpos_au',
|
|
1266
|
+
'interac',
|
|
1267
|
+
'jcb',
|
|
1268
|
+
'mastercard',
|
|
1269
|
+
'unionpay',
|
|
1270
|
+
'visa',
|
|
1271
|
+
'unknown',
|
|
1272
|
+
]); },
|
|
1145
1273
|
'io.flow.stripe.v0.enums.check_outcome': function () { return faker.helpers.arrayElement(['pass', 'fail', 'unavailable', 'unchecked']); },
|
|
1146
1274
|
'io.flow.stripe.v0.enums.code_verification_status': function () { return faker.helpers.arrayElement(['pending', 'succeeded', 'failed']); },
|
|
1147
1275
|
'io.flow.stripe.v0.enums.confirmation_method': function () { return faker.helpers.arrayElement(['automatic', 'manual']); },
|
|
@@ -1239,9 +1367,56 @@ var factories = {
|
|
|
1239
1367
|
'requires_payment_method',
|
|
1240
1368
|
'succeeded',
|
|
1241
1369
|
]); },
|
|
1370
|
+
'io.flow.stripe.v0.enums.payment_method_category_klarna': function () { return faker.helpers.arrayElement(['pay_later', 'pay_now', 'pay_with_financing', 'pay_in_installments']); },
|
|
1242
1371
|
'io.flow.stripe.v0.enums.payment_method_type': function () { return faker.helpers.arrayElement(['card', 'card_present']); },
|
|
1243
1372
|
'io.flow.stripe.v0.enums.payment_outcome_type': function () { return faker.helpers.arrayElement(['authorized', 'manual_review', 'issuer_declined', 'blocked', 'invalid']); },
|
|
1244
1373
|
'io.flow.stripe.v0.enums.payment_status': function () { return faker.helpers.arrayElement(['succeeded', 'pending', 'failed']); },
|
|
1374
|
+
'io.flow.stripe.v0.enums.preferred_locale_klarna': function () { return faker.helpers.arrayElement([
|
|
1375
|
+
'de-AT',
|
|
1376
|
+
'en-AT',
|
|
1377
|
+
'nl-BE',
|
|
1378
|
+
'fr-BE',
|
|
1379
|
+
'en-BE',
|
|
1380
|
+
'de-DE',
|
|
1381
|
+
'en-DE',
|
|
1382
|
+
'da-DK',
|
|
1383
|
+
'en-DK',
|
|
1384
|
+
'es-ES',
|
|
1385
|
+
'en-ES',
|
|
1386
|
+
'fi-FI',
|
|
1387
|
+
'sv-FI',
|
|
1388
|
+
'en-FI',
|
|
1389
|
+
'en-GB',
|
|
1390
|
+
'en-IE',
|
|
1391
|
+
'it-IT',
|
|
1392
|
+
'en-IT',
|
|
1393
|
+
'nl-NL',
|
|
1394
|
+
'en-NL',
|
|
1395
|
+
'nb-NO',
|
|
1396
|
+
'en-NO',
|
|
1397
|
+
'sv-SE',
|
|
1398
|
+
'en-SE',
|
|
1399
|
+
'en-US',
|
|
1400
|
+
'es-US',
|
|
1401
|
+
'fr-FR',
|
|
1402
|
+
'en-FR',
|
|
1403
|
+
'cs-CZ',
|
|
1404
|
+
'en-CZ',
|
|
1405
|
+
'el-GR',
|
|
1406
|
+
'en-GR',
|
|
1407
|
+
'en-AU',
|
|
1408
|
+
'en-NZ',
|
|
1409
|
+
'en-CA',
|
|
1410
|
+
'fr-CA',
|
|
1411
|
+
'pl-PL',
|
|
1412
|
+
'en-PL',
|
|
1413
|
+
'pt-PT',
|
|
1414
|
+
'en-PT',
|
|
1415
|
+
'de-CH',
|
|
1416
|
+
'fr-CH',
|
|
1417
|
+
'it-CH',
|
|
1418
|
+
'en-CH',
|
|
1419
|
+
]); },
|
|
1245
1420
|
'io.flow.stripe.v0.enums.refund_failure_reason': function () { return faker.helpers.arrayElement(['lost_or_stolen_card', 'expired_or_canceled_card', 'unknown']); },
|
|
1246
1421
|
'io.flow.stripe.v0.enums.refund_reason': function () { return faker.helpers.arrayElement(['duplicate', 'fraudulent', 'requested_by_customer']); },
|
|
1247
1422
|
'io.flow.stripe.v0.enums.refund_status': function () { return faker.helpers.arrayElement(['succeeded', 'failed', 'pending', 'canceled']); },
|
|
@@ -1269,6 +1444,24 @@ var factories = {
|
|
|
1269
1444
|
]); },
|
|
1270
1445
|
'io.flow.stripe.v0.enums.source_usage_type': function () { return faker.helpers.arrayElement(['reusable', 'single_use']); },
|
|
1271
1446
|
'io.flow.stripe.v0.enums.three_d_secure_support': function () { return faker.helpers.arrayElement(['required', 'recommended', 'optional', 'not_supported']); },
|
|
1447
|
+
'io.flow.stripe.v0.enums.three_ds_authentication_flow': function () { return faker.helpers.arrayElement(['challenge', 'frictionless']); },
|
|
1448
|
+
'io.flow.stripe.v0.enums.three_ds_result': function () { return faker.helpers.arrayElement([
|
|
1449
|
+
'authenticated',
|
|
1450
|
+
'attempt_acknowledged',
|
|
1451
|
+
'exempted',
|
|
1452
|
+
'not_supported',
|
|
1453
|
+
'failed',
|
|
1454
|
+
'processing_error',
|
|
1455
|
+
]); },
|
|
1456
|
+
'io.flow.stripe.v0.enums.three_ds_result_reason': function () { return faker.helpers.arrayElement([
|
|
1457
|
+
'card_not_enrolled',
|
|
1458
|
+
'network_not_supported',
|
|
1459
|
+
'abandoned',
|
|
1460
|
+
'canceled',
|
|
1461
|
+
'rejected',
|
|
1462
|
+
'bypassed',
|
|
1463
|
+
'protocol_error',
|
|
1464
|
+
]); },
|
|
1272
1465
|
'io.flow.stripe.v0.enums.token_type': function () { return faker.helpers.arrayElement(['account', 'bank_account', 'card', 'pii']); },
|
|
1273
1466
|
'io.flow.stripe.v0.enums.use_stripe_sdk_type': function () { return faker.helpers.arrayElement(['three_d_secure_redirect', 'stripe_3ds2_fingerprint']); },
|
|
1274
1467
|
'io.flow.stripe.v0.models.account': function () { return ({
|
|
@@ -1312,6 +1505,14 @@ var factories = {
|
|
|
1312
1505
|
postal_code: factories.string(),
|
|
1313
1506
|
state: factories.string(),
|
|
1314
1507
|
}); },
|
|
1508
|
+
'io.flow.stripe.v0.models.apple_pay': function () { return ({
|
|
1509
|
+
type: 'apple_pay',
|
|
1510
|
+
apple_pay: factories['io.flow.stripe.v0.models.apple_pay_information'](),
|
|
1511
|
+
dynamic_last4: factories.string(),
|
|
1512
|
+
}); },
|
|
1513
|
+
'io.flow.stripe.v0.models.apple_pay_information': function () { return ({
|
|
1514
|
+
type: factories['io.flow.stripe.v0.enums.apple_pay_type'](),
|
|
1515
|
+
}); },
|
|
1315
1516
|
'io.flow.stripe.v0.models.card': function () { return ({
|
|
1316
1517
|
id: factories.string(),
|
|
1317
1518
|
object: factories.string(),
|
|
@@ -1336,6 +1537,11 @@ var factories = {
|
|
|
1336
1537
|
name: factories.string(),
|
|
1337
1538
|
tokenization_method: factories.string(),
|
|
1338
1539
|
}); },
|
|
1540
|
+
'io.flow.stripe.v0.models.card_checks': function () { return ({
|
|
1541
|
+
address_line1_check: factories['io.flow.stripe.v0.enums.check_outcome'](),
|
|
1542
|
+
address_postal_code_check: factories['io.flow.stripe.v0.enums.check_outcome'](),
|
|
1543
|
+
cvc_check: factories['io.flow.stripe.v0.enums.check_outcome'](),
|
|
1544
|
+
}); },
|
|
1339
1545
|
'io.flow.stripe.v0.models.card_request': function () { return ({
|
|
1340
1546
|
object: factories.string(),
|
|
1341
1547
|
exp_month: factories.string(),
|
|
@@ -1378,7 +1584,7 @@ var factories = {
|
|
|
1378
1584
|
payment_intent: factories.string(),
|
|
1379
1585
|
calculated_statement_descriptor: factories.string(),
|
|
1380
1586
|
statement_descriptor: factories.string(),
|
|
1381
|
-
payment_method_details: factories.
|
|
1587
|
+
payment_method_details: factories['io.flow.stripe.v0.unions.payment_method_details'](),
|
|
1382
1588
|
}); },
|
|
1383
1589
|
'io.flow.stripe.v0.models.charge_destination': function () { return ({
|
|
1384
1590
|
account: factories.string(),
|
|
@@ -1425,7 +1631,7 @@ var factories = {
|
|
|
1425
1631
|
payment_intent: factories.string(),
|
|
1426
1632
|
calculated_statement_descriptor: factories.string(),
|
|
1427
1633
|
statement_descriptor: factories.string(),
|
|
1428
|
-
payment_method_details: factories.
|
|
1634
|
+
payment_method_details: factories['io.flow.stripe.v0.unions.payment_method_details'](),
|
|
1429
1635
|
}); },
|
|
1430
1636
|
'io.flow.stripe.v0.models.code_verification': function () { return ({
|
|
1431
1637
|
attempts_remaining: factories.long(),
|
|
@@ -1472,11 +1678,25 @@ var factories = {
|
|
|
1472
1678
|
'io.flow.stripe.v0.models.legal_entity': function () { return ({
|
|
1473
1679
|
additional_owners: arrayOf(function () { return factories['io.flow.stripe.v0.models.owner'](); }),
|
|
1474
1680
|
}); },
|
|
1681
|
+
'io.flow.stripe.v0.models.masterpass': function () { return ({
|
|
1682
|
+
type: 'masterpass',
|
|
1683
|
+
masterpass: factories['io.flow.stripe.v0.models.masterpass_information'](),
|
|
1684
|
+
dynamic_last4: factories.string(),
|
|
1685
|
+
}); },
|
|
1686
|
+
'io.flow.stripe.v0.models.masterpass_information': function () { return ({
|
|
1687
|
+
billing_address: factories['io.flow.stripe.v0.models.address'](),
|
|
1688
|
+
email: factories.string(),
|
|
1689
|
+
name: factories.string(),
|
|
1690
|
+
shipping_address: factories['io.flow.stripe.v0.models.address'](),
|
|
1691
|
+
}); },
|
|
1475
1692
|
'io.flow.stripe.v0.models.metadata': function () { return ({
|
|
1476
1693
|
order_number: factories.string(),
|
|
1477
1694
|
authorization_id: factories.string(),
|
|
1478
1695
|
organization_id: factories.string(),
|
|
1479
1696
|
}); },
|
|
1697
|
+
'io.flow.stripe.v0.models.network_token_used': function () { return ({
|
|
1698
|
+
used: factories.boolean(),
|
|
1699
|
+
}); },
|
|
1480
1700
|
'io.flow.stripe.v0.models.next_action': function () { return ({
|
|
1481
1701
|
type: factories['io.flow.stripe.v0.enums.next_action_type'](),
|
|
1482
1702
|
use_stripe_sdk: factories.object(),
|
|
@@ -1643,6 +1863,39 @@ var factories = {
|
|
|
1643
1863
|
name: factories.string(),
|
|
1644
1864
|
phone: factories.string(),
|
|
1645
1865
|
}); },
|
|
1866
|
+
'io.flow.stripe.v0.models.payment_method_details_card': function () { return ({
|
|
1867
|
+
type: 'card',
|
|
1868
|
+
card: factories['io.flow.stripe.v0.models.payment_method_details_card_information'](),
|
|
1869
|
+
}); },
|
|
1870
|
+
'io.flow.stripe.v0.models.payment_method_details_card_information': function () { return ({
|
|
1871
|
+
brand: factories.string(),
|
|
1872
|
+
checks: factories['io.flow.stripe.v0.models.card_checks'](),
|
|
1873
|
+
country: factories.string(),
|
|
1874
|
+
exp_month: factories.integer(),
|
|
1875
|
+
exp_year: factories.integer(),
|
|
1876
|
+
fingerprint: factories.string(),
|
|
1877
|
+
funding: factories['io.flow.stripe.v0.enums.card_funding_type'](),
|
|
1878
|
+
installments: factories['io.flow.stripe.v0.models.plan'](),
|
|
1879
|
+
last4: factories.string(),
|
|
1880
|
+
mandate: factories.string(),
|
|
1881
|
+
network: factories['io.flow.stripe.v0.enums.card_network'](),
|
|
1882
|
+
network_token: factories['io.flow.stripe.v0.models.network_token_used'](),
|
|
1883
|
+
three_d_secure: factories['io.flow.stripe.v0.models.three_d_secure_charge'](),
|
|
1884
|
+
capture_before: factories.long(),
|
|
1885
|
+
description: factories.string(),
|
|
1886
|
+
iin: factories.string(),
|
|
1887
|
+
issuer: factories.string(),
|
|
1888
|
+
wallet: factories['io.flow.stripe.v0.unions.card_wallet'](),
|
|
1889
|
+
network_transaction_id: factories.string(),
|
|
1890
|
+
}); },
|
|
1891
|
+
'io.flow.stripe.v0.models.payment_method_details_klarna': function () { return ({
|
|
1892
|
+
type: 'klarna',
|
|
1893
|
+
klarna: factories['io.flow.stripe.v0.models.payment_method_details_klarna_information'](),
|
|
1894
|
+
}); },
|
|
1895
|
+
'io.flow.stripe.v0.models.payment_method_details_klarna_information': function () { return ({
|
|
1896
|
+
payment_method_category: factories['io.flow.stripe.v0.enums.payment_method_category_klarna'](),
|
|
1897
|
+
preferred_locale: factories['io.flow.stripe.v0.enums.preferred_locale_klarna'](),
|
|
1898
|
+
}); },
|
|
1646
1899
|
'io.flow.stripe.v0.models.payment_method_form': function () { return ({
|
|
1647
1900
|
type: factories['io.flow.stripe.v0.enums.payment_method_type'](),
|
|
1648
1901
|
billing_details: factories['io.flow.stripe.v0.models.payment_method_billing_details'](),
|
|
@@ -1661,6 +1914,11 @@ var factories = {
|
|
|
1661
1914
|
reason: factories.string(),
|
|
1662
1915
|
type: factories['io.flow.stripe.v0.enums.payment_outcome_type'](),
|
|
1663
1916
|
}); },
|
|
1917
|
+
'io.flow.stripe.v0.models.plan': function () { return ({
|
|
1918
|
+
count: factories.integer(),
|
|
1919
|
+
interval: factories.string(),
|
|
1920
|
+
type: factories.string(),
|
|
1921
|
+
}); },
|
|
1664
1922
|
'io.flow.stripe.v0.models.receiver': function () { return ({
|
|
1665
1923
|
address: factories.string(),
|
|
1666
1924
|
amount_charged: factories.integer(),
|
|
@@ -1861,6 +2119,12 @@ var factories = {
|
|
|
1861
2119
|
card: factories.string(),
|
|
1862
2120
|
customer: factories.string(),
|
|
1863
2121
|
}); },
|
|
2122
|
+
'io.flow.stripe.v0.models.three_d_secure_charge': function () { return ({
|
|
2123
|
+
authentication_flow: factories['io.flow.stripe.v0.enums.three_ds_authentication_flow'](),
|
|
2124
|
+
result: factories['io.flow.stripe.v0.enums.three_ds_result'](),
|
|
2125
|
+
result_reason: factories['io.flow.stripe.v0.enums.three_ds_result_reason'](),
|
|
2126
|
+
version: factories.string(),
|
|
2127
|
+
}); },
|
|
1864
2128
|
'io.flow.stripe.v0.models.three_d_secure_redirect': function () { return ({
|
|
1865
2129
|
type: factories['io.flow.stripe.v0.enums.use_stripe_sdk_type'](),
|
|
1866
2130
|
stripe_js: factories.string(),
|
|
@@ -1884,6 +2148,35 @@ var factories = {
|
|
|
1884
2148
|
amount: factories.integer(),
|
|
1885
2149
|
destination: factories.string(),
|
|
1886
2150
|
}); },
|
|
2151
|
+
'io.flow.stripe.v0.models.visa_checkout': function () { return ({
|
|
2152
|
+
type: 'visa_checkout',
|
|
2153
|
+
visa_checkout: factories['io.flow.stripe.v0.models.visa_checkout_information'](),
|
|
2154
|
+
dynamic_last4: factories.string(),
|
|
2155
|
+
}); },
|
|
2156
|
+
'io.flow.stripe.v0.models.visa_checkout_information': function () { return ({
|
|
2157
|
+
billing_address: factories['io.flow.stripe.v0.models.address'](),
|
|
2158
|
+
email: factories.string(),
|
|
2159
|
+
name: factories.string(),
|
|
2160
|
+
shipping_address: factories['io.flow.stripe.v0.models.address'](),
|
|
2161
|
+
}); },
|
|
2162
|
+
'io.flow.stripe.v0.unions.card_wallet': function () {
|
|
2163
|
+
var f = faker.helpers.arrayElement([
|
|
2164
|
+
function () { return factories['io.flow.stripe.v0.models.masterpass'](); },
|
|
2165
|
+
function () { return factories['io.flow.stripe.v0.models.apple_pay'](); },
|
|
2166
|
+
function () { return factories['io.flow.stripe.v0.models.visa_checkout'](); },
|
|
2167
|
+
]);
|
|
2168
|
+
return f();
|
|
2169
|
+
},
|
|
2170
|
+
'io.flow.stripe.v0.unions.payment_method_details': function () {
|
|
2171
|
+
var f = faker.helpers.arrayElement([
|
|
2172
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_details_card'](); },
|
|
2173
|
+
function () { return factories['io.flow.stripe.v0.models.payment_method_details_klarna'](); },
|
|
2174
|
+
]);
|
|
2175
|
+
return f();
|
|
2176
|
+
},
|
|
2177
|
+
'io.flow.units.v0.enums.unit_of_length': function () { return faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
2178
|
+
'io.flow.units.v0.enums.unit_of_volume': function () { return faker.helpers.arrayElement(['cubic_inch', 'cubic_meter']); },
|
|
2179
|
+
'io.flow.units.v0.enums.unit_of_weight': function () { return faker.helpers.arrayElement(['gram', 'kilogram', 'ounce', 'pound']); },
|
|
1887
2180
|
'io.flow.v0.enums.abandoned_order_promotion_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
1888
2181
|
'io.flow.v0.enums.abandoned_order_setting_status': function () { return faker.helpers.arrayElement(['active', 'inactive']); },
|
|
1889
2182
|
'io.flow.v0.enums.address_field_name': function () { return faker.helpers.arrayElement([
|
|
@@ -2068,6 +2361,7 @@ var factories = {
|
|
|
2068
2361
|
'io.flow.v0.enums.environment': function () { return faker.helpers.arrayElement(['sandbox', 'production']); },
|
|
2069
2362
|
'io.flow.v0.enums.event_type': function () { return faker.helpers.arrayElement([
|
|
2070
2363
|
'test_upserted',
|
|
2364
|
+
'generate_load',
|
|
2071
2365
|
'transaction_upserted',
|
|
2072
2366
|
'organization_transaction_upserted',
|
|
2073
2367
|
'organization_transaction_deleted',
|
|
@@ -2525,6 +2819,7 @@ var factories = {
|
|
|
2525
2819
|
'io.flow.v0.enums.organization_payment_method_tag': function () { return faker.helpers.arrayElement(['deny']); },
|
|
2526
2820
|
'io.flow.v0.enums.organization_status': function () { return faker.helpers.arrayElement(['active', 'inactive', 'deactivated', 'provisioned']); },
|
|
2527
2821
|
'io.flow.v0.enums.organization_type': function () { return faker.helpers.arrayElement(['standalone', 'channel']); },
|
|
2822
|
+
'io.flow.v0.enums.package_dimensions_source': function () { return faker.helpers.arrayElement(['provided', 'dimensions_estimated']); },
|
|
2528
2823
|
'io.flow.v0.enums.payment_action_type': function () { return faker.helpers.arrayElement([
|
|
2529
2824
|
'redirect',
|
|
2530
2825
|
'redirect_get',
|
|
@@ -2607,6 +2902,7 @@ var factories = {
|
|
|
2607
2902
|
'io.flow.v0.enums.permitted_http_method': function () { return faker.helpers.arrayElement(['GET', 'POST', 'PUT', 'DELETE', 'PATCH']); },
|
|
2608
2903
|
'io.flow.v0.enums.physical_delivery_special_serivce': function () { return faker.helpers.arrayElement(['cold_storage', 'hazardous', 'perishable']); },
|
|
2609
2904
|
'io.flow.v0.enums.postal_type': function () { return faker.helpers.arrayElement(['eircode', 'pin', 'postal', 'zip']); },
|
|
2905
|
+
'io.flow.v0.enums.preferred_service_selection_strategy': function () { return faker.helpers.arrayElement(['calculated_rate', 'flat_rate', 'custom_rate']); },
|
|
2610
2906
|
'io.flow.v0.enums.price_accuracy': function () { return faker.helpers.arrayElement(['calculated', 'estimated_from_partial_destination']); },
|
|
2611
2907
|
'io.flow.v0.enums.price_book_status': function () { return faker.helpers.arrayElement(['draft', 'published', 'archived']); },
|
|
2612
2908
|
'io.flow.v0.enums.price_detail_component_key': function () { return faker.helpers.arrayElement([
|
|
@@ -2711,6 +3007,7 @@ var factories = {
|
|
|
2711
3007
|
'io.flow.v0.enums.shopify_sync_check': function () { return faker.helpers.arrayElement(['localized_variants', 'flow_variant_metafields']); },
|
|
2712
3008
|
'io.flow.v0.enums.sort_direction': function () { return faker.helpers.arrayElement(['ascending', 'descending']); },
|
|
2713
3009
|
'io.flow.v0.enums.statement_attachment_type': function () { return faker.helpers.arrayElement(['csv']); },
|
|
3010
|
+
'io.flow.v0.enums.stored_method_usage_step': function () { return faker.helpers.arrayElement(['initial', 'subsequent']); },
|
|
2714
3011
|
'io.flow.v0.enums.strategy': function () { return faker.helpers.arrayElement(['range', 'from', 'to']); },
|
|
2715
3012
|
'io.flow.v0.enums.subcatalog_item_status': function () { return faker.helpers.arrayElement(['excluded', 'included', 'restricted']); },
|
|
2716
3013
|
'io.flow.v0.enums.surcharge_responsible_party': function () { return faker.helpers.arrayElement(['organization', 'customer']); },
|
|
@@ -2767,6 +3064,14 @@ var factories = {
|
|
|
2767
3064
|
]); },
|
|
2768
3065
|
'io.flow.v0.enums.trade_agreement_name': function () { return faker.helpers.arrayElement(['USMCA', 'T-MEC', 'CUSMA', 'TCA']); },
|
|
2769
3066
|
'io.flow.v0.enums.trade_agreement_status': function () { return faker.helpers.arrayElement(['supported', 'not_supported']); },
|
|
3067
|
+
'io.flow.v0.enums.transaction_payout_pending_reason': function () { return faker.helpers.arrayElement([
|
|
3068
|
+
'waiting_for_full_refund',
|
|
3069
|
+
'waiting_for_fulfillment',
|
|
3070
|
+
'waiting_for_in_transit',
|
|
3071
|
+
'waiting_for_next_payout_date',
|
|
3072
|
+
'external_fulfillment_missing_tracking_info',
|
|
3073
|
+
'waiting_for_positive_account_balance',
|
|
3074
|
+
]); },
|
|
2770
3075
|
'io.flow.v0.enums.transaction_source': function () { return faker.helpers.arrayElement([
|
|
2771
3076
|
'capture',
|
|
2772
3077
|
'refund',
|
|
@@ -2788,6 +3093,7 @@ var factories = {
|
|
|
2788
3093
|
'virtual_card_capture',
|
|
2789
3094
|
'virtual_card_refund',
|
|
2790
3095
|
]); },
|
|
3096
|
+
'io.flow.v0.enums.unit_of_length': function () { return faker.helpers.arrayElement(['millimeter', 'centimeter', 'inch', 'foot', 'meter']); },
|
|
2791
3097
|
'io.flow.v0.enums.unit_of_measurement': function () { return faker.helpers.arrayElement([
|
|
2792
3098
|
'millimeter',
|
|
2793
3099
|
'centimeter',
|
|
@@ -2802,12 +3108,14 @@ var factories = {
|
|
|
2802
3108
|
'pound',
|
|
2803
3109
|
]); },
|
|
2804
3110
|
'io.flow.v0.enums.unit_of_time': function () { return faker.helpers.arrayElement(['year', 'month', 'week', 'day', 'hour', 'minute']); },
|
|
3111
|
+
'io.flow.v0.enums.unit_of_volume': function () { return faker.helpers.arrayElement(['cubic_inch', 'cubic_meter']); },
|
|
3112
|
+
'io.flow.v0.enums.unit_of_weight': function () { return faker.helpers.arrayElement(['gram', 'kilogram', 'ounce', 'pound']); },
|
|
2805
3113
|
'io.flow.v0.enums.update_policy': function () { return faker.helpers.arrayElement(['auto', 'queue', 'discard']); },
|
|
2806
3114
|
'io.flow.v0.enums.update_type': function () { return faker.helpers.arrayElement(['change', 'set']); },
|
|
2807
3115
|
'io.flow.v0.enums.user_status': function () { return faker.helpers.arrayElement(['pending', 'active', 'inactive']); },
|
|
2808
3116
|
'io.flow.v0.enums.value_added_service': function () { return faker.helpers.arrayElement(['Hazardous Material']); },
|
|
2809
3117
|
'io.flow.v0.enums.visibility': function () { return faker.helpers.arrayElement(['public', 'private']); },
|
|
2810
|
-
'io.flow.v0.enums.webhook_status': function () { return faker.helpers.arrayElement(['pending', 'success', 'failure']); },
|
|
3118
|
+
'io.flow.v0.enums.webhook_status': function () { return faker.helpers.arrayElement(['pending', 'success', 'failure', 'ignored']); },
|
|
2811
3119
|
'io.flow.v0.enums.withholding_deduction_type': function () { return faker.helpers.arrayElement(['tax', 'duty', 'freight', 'insurance']); },
|
|
2812
3120
|
'io.flow.v0.enums.zero_amount_indicator': function () { return faker.helpers.arrayElement(['zero', 'free']); },
|
|
2813
3121
|
'io.flow.v0.enums.zero_levy_reason_code': function () { return faker.helpers.arrayElement([
|
|
@@ -3718,6 +4026,8 @@ var factories = {
|
|
|
3718
4026
|
expires_at: factories.date_time_iso_8601(),
|
|
3719
4027
|
base: factories['io.flow.v0.models.money'](),
|
|
3720
4028
|
processor: factories['io.flow.v0.unions.expandable_payment_processor'](),
|
|
4029
|
+
stored_method_usage_step: factories['io.flow.v0.enums.stored_method_usage_step'](),
|
|
4030
|
+
authorized_at: factories.date_time_iso_8601(),
|
|
3721
4031
|
}); },
|
|
3722
4032
|
'io.flow.v0.models.card_authorization_deleted_v2': function () { return ({
|
|
3723
4033
|
discriminator: 'card_authorization_deleted_v2',
|
|
@@ -4200,6 +4510,7 @@ var factories = {
|
|
|
4200
4510
|
'io.flow.v0.models.channel_transaction': function () { return ({
|
|
4201
4511
|
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
4202
4512
|
id: factories.string(),
|
|
4513
|
+
metadata: factories['io.flow.v0.unions.transaction_metadata'](),
|
|
4203
4514
|
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
4204
4515
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
4205
4516
|
currency: factories.string(),
|
|
@@ -4228,6 +4539,11 @@ var factories = {
|
|
|
4228
4539
|
channel_id: factories.string(),
|
|
4229
4540
|
id: factories.string(),
|
|
4230
4541
|
}); },
|
|
4542
|
+
'io.flow.v0.models.channel_transaction_payout': function () { return ({
|
|
4543
|
+
transaction: factories['io.flow.v0.models.transaction_reference'](),
|
|
4544
|
+
waiting_for: factories['io.flow.v0.enums.transaction_payout_pending_reason'](),
|
|
4545
|
+
payout: factories['io.flow.v0.models.payout_reference'](),
|
|
4546
|
+
}); },
|
|
4231
4547
|
'io.flow.v0.models.channel_transaction_upserted': function () { return ({
|
|
4232
4548
|
discriminator: 'channel_transaction_upserted',
|
|
4233
4549
|
event_id: factories.string(),
|
|
@@ -4508,6 +4824,12 @@ var factories = {
|
|
|
4508
4824
|
currency: factories.string(),
|
|
4509
4825
|
language: factories.string(),
|
|
4510
4826
|
}); },
|
|
4827
|
+
'io.flow.v0.models.country_of_origin': function () { return ({
|
|
4828
|
+
country: factories['io.flow.v0.models.country'](),
|
|
4829
|
+
}); },
|
|
4830
|
+
'io.flow.v0.models.country_of_origin_form': function () { return ({
|
|
4831
|
+
country: factories.string(),
|
|
4832
|
+
}); },
|
|
4511
4833
|
'io.flow.v0.models.country_picker': function () { return ({
|
|
4512
4834
|
id: factories.string(),
|
|
4513
4835
|
source: factories['io.flow.v0.enums.country_picker_source'](),
|
|
@@ -4802,6 +5124,9 @@ var factories = {
|
|
|
4802
5124
|
discriminator: 'ddp_ratecard_fee',
|
|
4803
5125
|
amount: factories.decimal(),
|
|
4804
5126
|
}); },
|
|
5127
|
+
'io.flow.v0.models.deactivation_put_form': function () { return ({
|
|
5128
|
+
reason: factories.string(),
|
|
5129
|
+
}); },
|
|
4805
5130
|
'io.flow.v0.models.default_bank_account_form': function () { return ({
|
|
4806
5131
|
bank_account_id: factories.string(),
|
|
4807
5132
|
}); },
|
|
@@ -4932,6 +5257,7 @@ var factories = {
|
|
|
4932
5257
|
order_number: factories.string(),
|
|
4933
5258
|
service: factories.string(),
|
|
4934
5259
|
shipment_recipient: factories['io.flow.v0.enums.shipment_recipient'](),
|
|
5260
|
+
package_dimensions_source: factories['io.flow.v0.enums.package_dimensions_source'](),
|
|
4935
5261
|
}); },
|
|
4936
5262
|
'io.flow.v0.models.detailed_shipping_notification_form': function () { return ({
|
|
4937
5263
|
discriminator: 'detailed_shipping_notification_form',
|
|
@@ -5792,6 +6118,14 @@ var factories = {
|
|
|
5792
6118
|
hs6_code: factories.string(),
|
|
5793
6119
|
landed_costs: arrayOf(function () { return factories['io.flow.v0.models.lane_landed_cost'](); }),
|
|
5794
6120
|
}); },
|
|
6121
|
+
'io.flow.v0.models.generate_load': function () { return ({
|
|
6122
|
+
discriminator: 'generate_load',
|
|
6123
|
+
event_id: factories.string(),
|
|
6124
|
+
timestamp: factories.date_time_iso_8601(),
|
|
6125
|
+
organization: factories.string(),
|
|
6126
|
+
test_name: factories.string(),
|
|
6127
|
+
num_tests: factories.integer(),
|
|
6128
|
+
}); },
|
|
5795
6129
|
'io.flow.v0.models.generic_error': function () { return ({
|
|
5796
6130
|
code: factories['io.flow.v0.enums.generic_error_code'](),
|
|
5797
6131
|
messages: arrayOf(function () { return factories.string(); }),
|
|
@@ -6485,6 +6819,7 @@ var factories = {
|
|
|
6485
6819
|
'io.flow.v0.models.know_your_business_usa': function () { return ({
|
|
6486
6820
|
discriminator: 'know_your_business_usa',
|
|
6487
6821
|
id: factories.string(),
|
|
6822
|
+
organization_id: factories.string(),
|
|
6488
6823
|
primary_entity: factories['io.flow.v0.unions.entity'](),
|
|
6489
6824
|
parent_company: factories['io.flow.v0.models.company'](),
|
|
6490
6825
|
ultimate_parent_company: factories['io.flow.v0.models.company'](),
|
|
@@ -6545,6 +6880,7 @@ var factories = {
|
|
|
6545
6880
|
label: factories['io.flow.v0.models.label_reference'](),
|
|
6546
6881
|
in_transit: factories['io.flow.v0.models.label_tracking_summary_update'](),
|
|
6547
6882
|
delivered: factories['io.flow.v0.models.label_tracking_summary_update'](),
|
|
6883
|
+
rejected: factories['io.flow.v0.models.label_tracking_summary_update'](),
|
|
6548
6884
|
}); },
|
|
6549
6885
|
'io.flow.v0.models.label_tracking_summary_update': function () { return ({
|
|
6550
6886
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -6900,6 +7236,10 @@ var factories = {
|
|
|
6900
7236
|
timestamp: factories.date_time_iso_8601(),
|
|
6901
7237
|
merchant_application: factories['io.flow.v0.unions.merchant_application'](),
|
|
6902
7238
|
}); },
|
|
7239
|
+
'io.flow.v0.models.merchant_deactivated': function () { return ({
|
|
7240
|
+
discriminator: 'merchant_deactivated',
|
|
7241
|
+
reason: factories.string(),
|
|
7242
|
+
}); },
|
|
6903
7243
|
'io.flow.v0.models.merchant_gift_card_balance': function () { return ({
|
|
6904
7244
|
amount: factories.decimal(),
|
|
6905
7245
|
currency: factories.string(),
|
|
@@ -7091,6 +7431,7 @@ var factories = {
|
|
|
7091
7431
|
base: factories['io.flow.v0.models.money'](),
|
|
7092
7432
|
processor: factories['io.flow.v0.unions.expandable_payment_processor'](),
|
|
7093
7433
|
confirmation_details: factories['io.flow.v0.unions.confirmation_details'](),
|
|
7434
|
+
authorized_at: factories.date_time_iso_8601(),
|
|
7094
7435
|
}); },
|
|
7095
7436
|
'io.flow.v0.models.online_authorization_deleted_v2': function () { return ({
|
|
7096
7437
|
discriminator: 'online_authorization_deleted_v2',
|
|
@@ -7113,7 +7454,6 @@ var factories = {
|
|
|
7113
7454
|
key: factories.string(),
|
|
7114
7455
|
}); },
|
|
7115
7456
|
'io.flow.v0.models.operations_contact': function () { return ({
|
|
7116
|
-
full_name: factories.string(),
|
|
7117
7457
|
company: factories.string(),
|
|
7118
7458
|
email: factories.string(),
|
|
7119
7459
|
phone: factories.string(),
|
|
@@ -7872,6 +8212,7 @@ var factories = {
|
|
|
7872
8212
|
time_blocked: factories.long(),
|
|
7873
8213
|
blocked_since: factories.date_time_iso_8601(),
|
|
7874
8214
|
completed_at: factories.date_time_iso_8601(),
|
|
8215
|
+
onboarding_started_at: factories.date_time_iso_8601(),
|
|
7875
8216
|
}); },
|
|
7876
8217
|
'io.flow.v0.models.organization_onboarding_state_deleted': function () { return ({
|
|
7877
8218
|
discriminator: 'organization_onboarding_state_deleted',
|
|
@@ -8006,6 +8347,11 @@ var factories = {
|
|
|
8006
8347
|
organization: factories.string(),
|
|
8007
8348
|
id: factories.string(),
|
|
8008
8349
|
}); },
|
|
8350
|
+
'io.flow.v0.models.organization_transaction_payout': function () { return ({
|
|
8351
|
+
transaction: factories['io.flow.v0.models.transaction_reference'](),
|
|
8352
|
+
waiting_for: factories['io.flow.v0.enums.transaction_payout_pending_reason'](),
|
|
8353
|
+
payout: factories['io.flow.v0.models.payout_reference'](),
|
|
8354
|
+
}); },
|
|
8009
8355
|
'io.flow.v0.models.organization_transaction_upserted': function () { return ({
|
|
8010
8356
|
discriminator: 'organization_transaction_upserted',
|
|
8011
8357
|
event_id: factories.string(),
|
|
@@ -8048,12 +8394,27 @@ var factories = {
|
|
|
8048
8394
|
discriminator: 'outbound_carton_fee',
|
|
8049
8395
|
amount: factories['io.flow.v0.models.money'](),
|
|
8050
8396
|
}); },
|
|
8051
|
-
'io.flow.v0.models.
|
|
8052
|
-
discriminator: '
|
|
8397
|
+
'io.flow.v0.models.oversize_piece_surcharge_ratecard_fee': function () { return ({
|
|
8398
|
+
discriminator: 'oversize_piece_surcharge_ratecard_fee',
|
|
8399
|
+
dimensional_threshold: factories.decimal(),
|
|
8400
|
+
dimensional_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
8053
8401
|
weight_threshold: factories.decimal(),
|
|
8054
8402
|
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
8055
|
-
|
|
8056
|
-
|
|
8403
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
8404
|
+
}); },
|
|
8405
|
+
'io.flow.v0.models.oversize_piece_surcharge_service_fee': function () { return ({
|
|
8406
|
+
discriminator: 'oversize_piece_surcharge_service_fee',
|
|
8407
|
+
dimensional_threshold: factories.decimal(),
|
|
8408
|
+
dimensional_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
8409
|
+
weight_threshold: factories.decimal(),
|
|
8410
|
+
weight_unit: factories['io.flow.v0.enums.unit_of_measurement'](),
|
|
8411
|
+
amount: factories['io.flow.v0.models.money'](),
|
|
8412
|
+
}); },
|
|
8413
|
+
'io.flow.v0.models.package_dimensions': function () { return ({
|
|
8414
|
+
dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
|
|
8415
|
+
}); },
|
|
8416
|
+
'io.flow.v0.models.package_dimensions_form': function () { return ({
|
|
8417
|
+
dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
|
|
8057
8418
|
}); },
|
|
8058
8419
|
'io.flow.v0.models.packaging': function () { return ({
|
|
8059
8420
|
dimensions: factories['io.flow.v0.models.dimensions'](),
|
|
@@ -8623,6 +8984,9 @@ var factories = {
|
|
|
8623
8984
|
type: factories['io.flow.v0.enums.payout_attachment_type'](),
|
|
8624
8985
|
url: factories.string(),
|
|
8625
8986
|
}); },
|
|
8987
|
+
'io.flow.v0.models.payout_reference': function () { return ({
|
|
8988
|
+
id: factories.string(),
|
|
8989
|
+
}); },
|
|
8626
8990
|
'io.flow.v0.models.payout_status_failed': function () { return ({
|
|
8627
8991
|
code: 'failed',
|
|
8628
8992
|
timestamp: factories.date_time_iso_8601(),
|
|
@@ -8638,6 +9002,7 @@ var factories = {
|
|
|
8638
9002
|
}); },
|
|
8639
9003
|
'io.flow.v0.models.payout_transaction': function () { return ({
|
|
8640
9004
|
id: factories.string(),
|
|
9005
|
+
metadata: factories['io.flow.v0.unions.transaction_metadata'](),
|
|
8641
9006
|
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
8642
9007
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
8643
9008
|
currency: factories.string(),
|
|
@@ -8734,6 +9099,11 @@ var factories = {
|
|
|
8734
9099
|
total: factories['io.flow.v0.models.localized_total'](),
|
|
8735
9100
|
goods_supply: factories['io.flow.v0.enums.goods_supply'](),
|
|
8736
9101
|
merchant_of_record_flow_entity: factories['io.flow.v0.enums.flow_entity'](),
|
|
9102
|
+
preferred_service: factories['io.flow.v0.models.physical_delivery_preferred_service'](),
|
|
9103
|
+
}); },
|
|
9104
|
+
'io.flow.v0.models.physical_delivery_preferred_service': function () { return ({
|
|
9105
|
+
id: factories.string(),
|
|
9106
|
+
selection_stratey: factories['io.flow.v0.enums.preferred_service_selection_strategy'](),
|
|
8737
9107
|
}); },
|
|
8738
9108
|
'io.flow.v0.models.post_payment_redirect_urls': function () { return ({
|
|
8739
9109
|
success: factories.string(),
|
|
@@ -9120,12 +9490,16 @@ var factories = {
|
|
|
9120
9490
|
'io.flow.v0.models.ratecard': function () { return ({
|
|
9121
9491
|
id: factories.string(),
|
|
9122
9492
|
number: factories.string(),
|
|
9493
|
+
rate_level_key: factories.string(),
|
|
9123
9494
|
direction: factories['io.flow.v0.enums.direction'](),
|
|
9124
9495
|
effective_at: factories.date_time_iso_8601(),
|
|
9125
9496
|
origination_zones: arrayOf(function () { return factories['io.flow.v0.models.zone'](); }),
|
|
9126
9497
|
service: factories['io.flow.v0.models.ratecard_service_summary'](),
|
|
9127
9498
|
published_at: factories.date_time_iso_8601(),
|
|
9128
9499
|
ratecard_owner: factories['io.flow.v0.enums.ratecard_owner'](),
|
|
9500
|
+
glbe_shipping_method_id: factories.string(),
|
|
9501
|
+
glbe_proposition_name: factories.string(),
|
|
9502
|
+
channel_revenue_share_percentage: factories.decimal(),
|
|
9129
9503
|
}); },
|
|
9130
9504
|
'io.flow.v0.models.ratecard_carrier_summary': function () { return ({
|
|
9131
9505
|
id: factories.string(),
|
|
@@ -9196,6 +9570,10 @@ var factories = {
|
|
|
9196
9570
|
dimensional_weight: factories['io.flow.v0.models.measurement'](),
|
|
9197
9571
|
gravitational_weight: factories['io.flow.v0.models.measurement'](),
|
|
9198
9572
|
ratecard_id: factories.string(),
|
|
9573
|
+
glbe_shipping_method_id: factories.string(),
|
|
9574
|
+
glbe_proposition_name: factories.string(),
|
|
9575
|
+
channel_revenue_share_percentage: factories.decimal(),
|
|
9576
|
+
rate_level_key: factories.string(),
|
|
9199
9577
|
line_items: arrayOf(function () { return factories['io.flow.v0.models.line_item_form'](); }),
|
|
9200
9578
|
}); },
|
|
9201
9579
|
'io.flow.v0.models.ratecard_form': function () { return ({
|
|
@@ -9204,7 +9582,12 @@ var factories = {
|
|
|
9204
9582
|
origination_zones: arrayOf(function () { return factories['io.flow.v0.models.zone'](); }),
|
|
9205
9583
|
service: factories.string(),
|
|
9206
9584
|
number: factories.string(),
|
|
9585
|
+
rate_level_key: factories.string(),
|
|
9207
9586
|
ratecard_owner: factories['io.flow.v0.enums.ratecard_owner'](),
|
|
9587
|
+
glbe_shipping_method_id: factories.string(),
|
|
9588
|
+
glbe_proposition_name: factories.string(),
|
|
9589
|
+
channel_revenue_share_percentage: factories.decimal(),
|
|
9590
|
+
data: objectOf(function () { return factories.string(); }),
|
|
9208
9591
|
}); },
|
|
9209
9592
|
'io.flow.v0.models.ratecard_lane': function () { return ({
|
|
9210
9593
|
id: factories.string(),
|
|
@@ -10002,6 +10385,9 @@ var factories = {
|
|
|
10002
10385
|
carrier_tracking_number_url: factories.string(),
|
|
10003
10386
|
cost_estimate_source: factories['io.flow.v0.enums.cost_estimate_source'](),
|
|
10004
10387
|
cost: factories['io.flow.v0.models.price'](),
|
|
10388
|
+
delivered_duty: factories['io.flow.v0.enums.delivered_duty'](),
|
|
10389
|
+
taxes_owed: factories['io.flow.v0.models.money'](),
|
|
10390
|
+
duties_owed: factories['io.flow.v0.models.money'](),
|
|
10005
10391
|
destination: factories['io.flow.v0.models.shipping_address'](),
|
|
10006
10392
|
flow_tracking_number: factories.string(),
|
|
10007
10393
|
flow_tracking_number_url: factories.string(),
|
|
@@ -10013,6 +10399,7 @@ var factories = {
|
|
|
10013
10399
|
'return': factories['io.flow.v0.models.shipping_label_document'](),
|
|
10014
10400
|
order: factories['io.flow.v0.models.label_order_summary'](),
|
|
10015
10401
|
'package': factories['io.flow.v0.models.shipping_label_package'](),
|
|
10402
|
+
package_dimension_source: factories['io.flow.v0.enums.package_dimensions_source'](),
|
|
10016
10403
|
order_identifier: factories.string(),
|
|
10017
10404
|
fulfillment_key: factories.string(),
|
|
10018
10405
|
shipment_recipient: factories['io.flow.v0.enums.shipment_recipient'](),
|
|
@@ -10030,9 +10417,15 @@ var factories = {
|
|
|
10030
10417
|
html: factories.string(),
|
|
10031
10418
|
required: factories.boolean(),
|
|
10032
10419
|
}); },
|
|
10420
|
+
'io.flow.v0.models.shipping_label_hop_cost_itemized_estimate': function () { return ({
|
|
10421
|
+
units: factories['io.flow.billing.true.up.v0.models.label_units'](),
|
|
10422
|
+
base: factories['io.flow.billing.true.up.v0.models.label_base'](),
|
|
10423
|
+
surcharges: arrayOf(function () { return factories['io.flow.billing.true.up.v0.models.label_surcharge'](); }),
|
|
10424
|
+
}); },
|
|
10033
10425
|
'io.flow.v0.models.shipping_label_hop_summary': function () { return ({
|
|
10034
10426
|
lane: factories['io.flow.v0.models.shipping_label_lane_summary'](),
|
|
10035
10427
|
cost: factories['io.flow.v0.models.money'](),
|
|
10428
|
+
itemized_estimate: factories['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'](),
|
|
10036
10429
|
}); },
|
|
10037
10430
|
'io.flow.v0.models.shipping_label_lane_summary': function () { return ({
|
|
10038
10431
|
id: factories.string(),
|
|
@@ -10040,12 +10433,18 @@ var factories = {
|
|
|
10040
10433
|
}); },
|
|
10041
10434
|
'io.flow.v0.models.shipping_label_package': function () { return ({
|
|
10042
10435
|
dimensions: factories['io.flow.v0.models.dimension'](),
|
|
10436
|
+
volumetric_weight: factories.decimal(),
|
|
10043
10437
|
items: arrayOf(function () { return factories['io.flow.v0.models.line_item_form'](); }),
|
|
10044
10438
|
reference_number: factories.string(),
|
|
10045
10439
|
}); },
|
|
10046
10440
|
'io.flow.v0.models.shipping_label_ratecard_summary': function () { return ({
|
|
10047
10441
|
id: factories.string(),
|
|
10048
10442
|
ratecard_owner: factories['io.flow.v0.enums.ratecard_owner'](),
|
|
10443
|
+
rate_level_key: factories.string(),
|
|
10444
|
+
glbe_shipping_method_id: factories.string(),
|
|
10445
|
+
glbe_proposition_name: factories.string(),
|
|
10446
|
+
channel_revenue_share_percentage: factories.decimal(),
|
|
10447
|
+
shopify_grc_gid: factories.string(),
|
|
10049
10448
|
}); },
|
|
10050
10449
|
'io.flow.v0.models.shipping_label_summary': function () { return ({
|
|
10051
10450
|
id: factories.string(),
|
|
@@ -10304,7 +10703,6 @@ var factories = {
|
|
|
10304
10703
|
status: factories['io.flow.v0.enums.onboarding_application_status'](),
|
|
10305
10704
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
10306
10705
|
indirect_tax: factories['io.flow.v0.models.indirect_tax'](),
|
|
10307
|
-
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
10308
10706
|
beneficiary: factories.string(),
|
|
10309
10707
|
ultimate_beneficiary_owner: factories['io.flow.v0.models.ultimate_beneficiary_owner'](),
|
|
10310
10708
|
business_url: factories.string(),
|
|
@@ -10314,30 +10712,29 @@ var factories = {
|
|
|
10314
10712
|
chargeback_percentage: factories.decimal(),
|
|
10315
10713
|
bank_account_number: factories.string(),
|
|
10316
10714
|
aba_routing_transit_number: factories.string(),
|
|
10317
|
-
trade_sectors: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
10318
10715
|
other_trade_sector: factories.string(),
|
|
10319
10716
|
third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
|
|
10717
|
+
center_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
10320
10718
|
average_order_weight: factories.decimal(),
|
|
10321
10719
|
package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
|
|
10322
10720
|
monthly_average: factories['io.flow.v0.models.monthly_average'](),
|
|
10323
|
-
dangerous_goods: factories.boolean(),
|
|
10324
10721
|
default_country_of_origin: factories.string(),
|
|
10325
10722
|
ratecard: factories['io.flow.v0.models.ratecard_reference'](),
|
|
10326
10723
|
rate_card: factories.string(),
|
|
10327
10724
|
created_at: factories.date_time_iso_8601(),
|
|
10328
10725
|
activated_at: factories.date_time_iso_8601(),
|
|
10329
10726
|
status_updated_at: factories.date_time_iso_8601(),
|
|
10330
|
-
logistics_format: factories['io.flow.v0.models.logistics_format'](),
|
|
10331
10727
|
shop: factories['io.flow.v0.models.shop'](),
|
|
10332
10728
|
last_year_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
10333
10729
|
last_month_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
10334
10730
|
average_order_value: factories['io.flow.v0.models.money'](),
|
|
10731
|
+
glbe_merchant_guid: factories.string(),
|
|
10732
|
+
mcc_codes: arrayOf(function () { return factories.long(); }),
|
|
10335
10733
|
}); },
|
|
10336
10734
|
'io.flow.v0.models.shopify_merchant_application_form': function () { return ({
|
|
10337
10735
|
discriminator: 'shopify_merchant_application_form',
|
|
10338
10736
|
company: factories['io.flow.v0.models.merchant_info'](),
|
|
10339
10737
|
indirect_tax: factories['io.flow.v0.models.indirect_tax'](),
|
|
10340
|
-
parent_company: factories['io.flow.v0.models.merchant_info'](),
|
|
10341
10738
|
beneficiary: factories.string(),
|
|
10342
10739
|
ultimate_beneficiary_owner: factories['io.flow.v0.models.ultimate_beneficiary_owner'](),
|
|
10343
10740
|
business_url: factories.string(),
|
|
@@ -10347,23 +10744,22 @@ var factories = {
|
|
|
10347
10744
|
chargeback_percentage: factories.decimal(),
|
|
10348
10745
|
bank_account_number: factories.string(),
|
|
10349
10746
|
aba_routing_transit_number: factories.string(),
|
|
10350
|
-
trade_sectors: arrayOf(function () { return factories['io.flow.v0.enums.onboarding_trade_sector'](); }),
|
|
10351
10747
|
other_trade_sector: factories.string(),
|
|
10352
10748
|
third_party_logistics_partners: arrayOf(function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); }),
|
|
10749
|
+
center_contact: factories['io.flow.v0.models.operations_contact'](),
|
|
10353
10750
|
average_order_weight: factories.decimal(),
|
|
10354
10751
|
package_dimensions: arrayOf(function () { return factories['io.flow.v0.models.dimension'](); }),
|
|
10355
10752
|
monthly_average_volume_amount: factories.decimal(),
|
|
10356
10753
|
monthly_average_volume_currency: factories.string(),
|
|
10357
10754
|
monthly_average_number_transactions: factories.long(),
|
|
10358
|
-
dangerous_goods: factories.boolean(),
|
|
10359
10755
|
default_country_of_origin: factories.string(),
|
|
10360
10756
|
ratecard_id: factories.string(),
|
|
10361
10757
|
rate_card: factories.string(),
|
|
10362
|
-
logistics_format: factories['io.flow.v0.models.logistics_format'](),
|
|
10363
10758
|
shop: factories['io.flow.v0.models.shop'](),
|
|
10364
10759
|
last_year_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
10365
10760
|
last_month_xborder_gmv: factories['io.flow.v0.models.money'](),
|
|
10366
10761
|
average_order_value: factories['io.flow.v0.models.money'](),
|
|
10762
|
+
mcc_codes: arrayOf(function () { return factories.long(); }),
|
|
10367
10763
|
}); },
|
|
10368
10764
|
'io.flow.v0.models.shopify_merchant_application_put_form': function () { return ({
|
|
10369
10765
|
discriminator: 'shopify_merchant_application_put_form',
|
|
@@ -10793,15 +11189,11 @@ var factories = {
|
|
|
10793
11189
|
types: arrayOf(function () { return factories['io.flow.v0.enums.tax_report_type'](); }),
|
|
10794
11190
|
email_recipients: arrayOf(function () { return factories.string(); }),
|
|
10795
11191
|
}); },
|
|
10796
|
-
'io.flow.v0.models.test': function () { return ({
|
|
10797
|
-
id: factories.string(),
|
|
10798
|
-
}); },
|
|
10799
11192
|
'io.flow.v0.models.test_upserted': function () { return ({
|
|
10800
11193
|
discriminator: 'test_upserted',
|
|
10801
11194
|
event_id: factories.string(),
|
|
10802
11195
|
timestamp: factories.date_time_iso_8601(),
|
|
10803
|
-
|
|
10804
|
-
test: factories['io.flow.v0.models.test'](),
|
|
11196
|
+
test: factories['io.flow.ben.test.internal.v0.models.test'](),
|
|
10805
11197
|
}); },
|
|
10806
11198
|
'io.flow.v0.models.third_party_logistics_partner': function () { return ({
|
|
10807
11199
|
warehouse_address: factories['io.flow.v0.models.merchant_onboarding_address'](),
|
|
@@ -11086,6 +11478,7 @@ var factories = {
|
|
|
11086
11478
|
'io.flow.v0.models.transaction': function () { return ({
|
|
11087
11479
|
statement: factories['io.flow.v0.models.billing_channel_statement_reference'](),
|
|
11088
11480
|
id: factories.string(),
|
|
11481
|
+
metadata: factories['io.flow.v0.unions.transaction_metadata'](),
|
|
11089
11482
|
order: factories['io.flow.v0.models.billing_channel_order_summary'](),
|
|
11090
11483
|
payment_request: factories['io.flow.v0.models.billing_channel_payment_request_reference'](),
|
|
11091
11484
|
currency: factories.string(),
|
|
@@ -11106,10 +11499,17 @@ var factories = {
|
|
|
11106
11499
|
cvv_result: factories['io.flow.v0.models.cvv_result'](),
|
|
11107
11500
|
network_details: factories['io.flow.v0.models.transaction_network_details_card'](),
|
|
11108
11501
|
}); },
|
|
11502
|
+
'io.flow.v0.models.transaction_metadata_shipping_label': function () { return ({
|
|
11503
|
+
discriminator: 'shipping_label',
|
|
11504
|
+
request_method: factories['io.flow.v0.enums.label_request_method'](),
|
|
11505
|
+
}); },
|
|
11109
11506
|
'io.flow.v0.models.transaction_network_details_card': function () { return ({
|
|
11110
11507
|
network_transaction_id: factories.string(),
|
|
11111
11508
|
network: factories['io.flow.v0.enums.card_type'](),
|
|
11112
11509
|
}); },
|
|
11510
|
+
'io.flow.v0.models.transaction_reference': function () { return ({
|
|
11511
|
+
id: factories.string(),
|
|
11512
|
+
}); },
|
|
11113
11513
|
'io.flow.v0.models.transaction_upserted': function () { return ({
|
|
11114
11514
|
discriminator: 'transaction_upserted',
|
|
11115
11515
|
event_id: factories.string(),
|
|
@@ -11543,6 +11943,7 @@ var factories = {
|
|
|
11543
11943
|
'io.flow.v0.unions.event': function () {
|
|
11544
11944
|
var f = faker.helpers.arrayElement([
|
|
11545
11945
|
function () { return factories['io.flow.v0.models.test_upserted'](); },
|
|
11946
|
+
function () { return factories['io.flow.v0.models.generate_load'](); },
|
|
11546
11947
|
function () { return factories['io.flow.v0.models.transaction_upserted'](); },
|
|
11547
11948
|
function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); },
|
|
11548
11949
|
function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); },
|
|
@@ -11919,6 +12320,7 @@ var factories = {
|
|
|
11919
12320
|
function () { return factories['io.flow.v0.models.setup_blocked'](); },
|
|
11920
12321
|
function () { return factories['io.flow.v0.models.setup_completed'](); },
|
|
11921
12322
|
function () { return factories['io.flow.v0.models.merchant_activated'](); },
|
|
12323
|
+
function () { return factories['io.flow.v0.models.merchant_deactivated'](); },
|
|
11922
12324
|
]);
|
|
11923
12325
|
return f();
|
|
11924
12326
|
},
|
|
@@ -12146,7 +12548,7 @@ var factories = {
|
|
|
12146
12548
|
var f = faker.helpers.arrayElement([
|
|
12147
12549
|
function () { return factories['io.flow.v0.models.ddp_ratecard_fee'](); },
|
|
12148
12550
|
function () { return factories['io.flow.v0.models.fuel_surcharge_ratecard_fee'](); },
|
|
12149
|
-
function () { return factories['io.flow.v0.models.
|
|
12551
|
+
function () { return factories['io.flow.v0.models.oversize_piece_surcharge_ratecard_fee'](); },
|
|
12150
12552
|
function () { return factories['io.flow.v0.models.return_package_ratecard_fee'](); },
|
|
12151
12553
|
function () { return factories['io.flow.v0.models.crossdock_ratecard_fee'](); },
|
|
12152
12554
|
function () { return factories['io.flow.v0.models.remote_area_ratecard_fee'](); },
|
|
@@ -12203,6 +12605,7 @@ var factories = {
|
|
|
12203
12605
|
function () { return factories['io.flow.v0.models.peak_surcharge_service_fee'](); },
|
|
12204
12606
|
function () { return factories['io.flow.v0.models.peak_surcharge_by_weight_service_fee'](); },
|
|
12205
12607
|
function () { return factories['io.flow.v0.models.duties_taxes_paid_surcharge_service_fee'](); },
|
|
12608
|
+
function () { return factories['io.flow.v0.models.oversize_piece_surcharge_service_fee'](); },
|
|
12206
12609
|
]);
|
|
12207
12610
|
return f();
|
|
12208
12611
|
},
|
|
@@ -12307,6 +12710,10 @@ var factories = {
|
|
|
12307
12710
|
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.transaction_details_card'](); }]);
|
|
12308
12711
|
return f();
|
|
12309
12712
|
},
|
|
12713
|
+
'io.flow.v0.unions.transaction_metadata': function () {
|
|
12714
|
+
var f = faker.helpers.arrayElement([function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label'](); }]);
|
|
12715
|
+
return f();
|
|
12716
|
+
},
|
|
12310
12717
|
};
|
|
12311
12718
|
export var makeAbandonedOrderEmailSettings = function () { return factories['io.flow.v0.models.abandoned_order_email_settings'](); };
|
|
12312
12719
|
export var makeAbandonedOrderPromotion = function () { return factories['io.flow.v0.models.abandoned_order_promotion'](); };
|
|
@@ -12570,6 +12977,7 @@ export var makeChannelTokenReference = function () { return factories['io.flow.v
|
|
|
12570
12977
|
export var makeChannelTransaction = function () { return factories['io.flow.v0.models.channel_transaction'](); };
|
|
12571
12978
|
export var makeChannelTransactionDeleted = function () { return factories['io.flow.v0.models.channel_transaction_deleted'](); };
|
|
12572
12979
|
export var makeChannelTransactionDeletedV2 = function () { return factories['io.flow.v0.models.channel_transaction_deleted_v2'](); };
|
|
12980
|
+
export var makeChannelTransactionPayout = function () { return factories['io.flow.v0.models.channel_transaction_payout'](); };
|
|
12573
12981
|
export var makeChannelTransactionUpserted = function () { return factories['io.flow.v0.models.channel_transaction_upserted'](); };
|
|
12574
12982
|
export var makeChannelUpserted = function () { return factories['io.flow.v0.models.channel_upserted'](); };
|
|
12575
12983
|
export var makeChannelViesRegistration = function () { return factories['io.flow.v0.models.channel_vies_registration'](); };
|
|
@@ -12623,6 +13031,8 @@ export var makeCostEstimateSource = function () { return factories['io.flow.v0.e
|
|
|
12623
13031
|
export var makeCountry = function () { return factories['io.flow.v0.models.country'](); };
|
|
12624
13032
|
export var makeCountryAvailability = function () { return factories['io.flow.v0.models.country_availability'](); };
|
|
12625
13033
|
export var makeCountryDefaults = function () { return factories['io.flow.v0.models.country_defaults'](); };
|
|
13034
|
+
export var makeCountryOfOrigin = function () { return factories['io.flow.v0.models.country_of_origin'](); };
|
|
13035
|
+
export var makeCountryOfOriginForm = function () { return factories['io.flow.v0.models.country_of_origin_form'](); };
|
|
12626
13036
|
export var makeCountryPicker = function () { return factories['io.flow.v0.models.country_picker'](); };
|
|
12627
13037
|
export var makeCountryPickerForm = function () { return factories['io.flow.v0.models.country_picker_form'](); };
|
|
12628
13038
|
export var makeCountryPickerSource = function () { return factories['io.flow.v0.enums.country_picker_source'](); };
|
|
@@ -12684,6 +13094,7 @@ export var makeDatetimeRange = function () { return factories['io.flow.v0.models
|
|
|
12684
13094
|
export var makeDatetimeWithTimezone = function () { return factories['io.flow.v0.models.datetime_with_timezone'](); };
|
|
12685
13095
|
export var makeDayOfWeek = function () { return factories['io.flow.v0.enums.day_of_week'](); };
|
|
12686
13096
|
export var makeDdpRatecardFee = function () { return factories['io.flow.v0.models.ddp_ratecard_fee'](); };
|
|
13097
|
+
export var makeDeactivationPutForm = function () { return factories['io.flow.v0.models.deactivation_put_form'](); };
|
|
12687
13098
|
export var makeDefaultBankAccountForm = function () { return factories['io.flow.v0.models.default_bank_account_form'](); };
|
|
12688
13099
|
export var makeDeliveredDuty = function () { return factories['io.flow.v0.enums.delivered_duty'](); };
|
|
12689
13100
|
export var makeDeliveredDutyDisplayType = function () { return factories['io.flow.v0.enums.delivered_duty_display_type'](); };
|
|
@@ -12913,6 +13324,7 @@ export var makeFulfillmentRouting = function () { return factories['io.flow.v0.e
|
|
|
12913
13324
|
export var makeFullyHarmonizedItemUpserted = function () { return factories['io.flow.v0.models.fully_harmonized_item_upserted'](); };
|
|
12914
13325
|
export var makeGatewayAuthenticationData = function () { return factories['io.flow.v0.unions.gateway_authentication_data'](); };
|
|
12915
13326
|
export var makeGatewayAuthenticationDataForm = function () { return factories['io.flow.v0.unions.gateway_authentication_data_form'](); };
|
|
13327
|
+
export var makeGenerateLoad = function () { return factories['io.flow.v0.models.generate_load'](); };
|
|
12916
13328
|
export var makeGenericError = function () { return factories['io.flow.v0.models.generic_error'](); };
|
|
12917
13329
|
export var makeGenericErrorCode = function () { return factories['io.flow.v0.enums.generic_error_code'](); };
|
|
12918
13330
|
export var makeGenericReservationError = function () { return factories['io.flow.v0.models.generic_reservation_error'](); };
|
|
@@ -13127,6 +13539,7 @@ export var makeMerchantApplicationForm = function () { return factories['io.flow
|
|
|
13127
13539
|
export var makeMerchantApplicationPutForm = function () { return factories['io.flow.v0.unions.merchant_application_put_form'](); };
|
|
13128
13540
|
export var makeMerchantApplicationUpserted = function () { return factories['io.flow.v0.models.merchant_application_upserted'](); };
|
|
13129
13541
|
export var makeMerchantApplicationsSummary = function () { return factories['io.flow.v0.unions.merchant_applications_summary'](); };
|
|
13542
|
+
export var makeMerchantDeactivated = function () { return factories['io.flow.v0.models.merchant_deactivated'](); };
|
|
13130
13543
|
export var makeMerchantGiftCardBalance = function () { return factories['io.flow.v0.models.merchant_gift_card_balance'](); };
|
|
13131
13544
|
export var makeMerchantGiftCardBalanceForm = function () { return factories['io.flow.v0.models.merchant_gift_card_balance_form'](); };
|
|
13132
13545
|
export var makeMerchantGiftCardError = function () { return factories['io.flow.v0.models.merchant_gift_card_error'](); };
|
|
@@ -13335,6 +13748,7 @@ export var makeOrganizationTokenReference = function () { return factories['io.f
|
|
|
13335
13748
|
export var makeOrganizationTokenV2 = function () { return factories['io.flow.v0.models.organization_token_v2'](); };
|
|
13336
13749
|
export var makeOrganizationTokenV2Reference = function () { return factories['io.flow.v0.models.organization_token_v2_reference'](); };
|
|
13337
13750
|
export var makeOrganizationTransactionDeleted = function () { return factories['io.flow.v0.models.organization_transaction_deleted'](); };
|
|
13751
|
+
export var makeOrganizationTransactionPayout = function () { return factories['io.flow.v0.models.organization_transaction_payout'](); };
|
|
13338
13752
|
export var makeOrganizationTransactionUpserted = function () { return factories['io.flow.v0.models.organization_transaction_upserted'](); };
|
|
13339
13753
|
export var makeOrganizationType = function () { return factories['io.flow.v0.enums.organization_type'](); };
|
|
13340
13754
|
export var makeOrganizationUpserted = function () { return factories['io.flow.v0.models.organization_upserted'](); };
|
|
@@ -13342,7 +13756,11 @@ export var makeOrganizationUpsertedV2 = function () { return factories['io.flow.
|
|
|
13342
13756
|
export var makeOrganizationVersion = function () { return factories['io.flow.v0.models.organization_version'](); };
|
|
13343
13757
|
export var makeOriginalPrices = function () { return factories['io.flow.v0.models.original_prices'](); };
|
|
13344
13758
|
export var makeOutboundCartonFee = function () { return factories['io.flow.v0.models.outbound_carton_fee'](); };
|
|
13345
|
-
export var
|
|
13759
|
+
export var makeOversizePieceSurchargeRatecardFee = function () { return factories['io.flow.v0.models.oversize_piece_surcharge_ratecard_fee'](); };
|
|
13760
|
+
export var makeOversizePieceSurchargeServiceFee = function () { return factories['io.flow.v0.models.oversize_piece_surcharge_service_fee'](); };
|
|
13761
|
+
export var makePackageDimensions = function () { return factories['io.flow.v0.models.package_dimensions'](); };
|
|
13762
|
+
export var makePackageDimensionsForm = function () { return factories['io.flow.v0.models.package_dimensions_form'](); };
|
|
13763
|
+
export var makePackageDimensionsSource = function () { return factories['io.flow.v0.enums.package_dimensions_source'](); };
|
|
13346
13764
|
export var makePackaging = function () { return factories['io.flow.v0.models.packaging'](); };
|
|
13347
13765
|
export var makeParentTransactionSummary = function () { return factories['io.flow.v0.models.parent_transaction_summary'](); };
|
|
13348
13766
|
export var makePartnerCenter = function () { return factories['io.flow.v0.models.partner_center'](); };
|
|
@@ -13479,6 +13897,7 @@ export var makePaymentUpserted = function () { return factories['io.flow.v0.mode
|
|
|
13479
13897
|
export var makePaymentVersion = function () { return factories['io.flow.v0.models.payment_version'](); };
|
|
13480
13898
|
export var makePayoutAttachment = function () { return factories['io.flow.v0.models.payout_attachment'](); };
|
|
13481
13899
|
export var makePayoutAttachmentType = function () { return factories['io.flow.v0.enums.payout_attachment_type'](); };
|
|
13900
|
+
export var makePayoutReference = function () { return factories['io.flow.v0.models.payout_reference'](); };
|
|
13482
13901
|
export var makePayoutStatus = function () { return factories['io.flow.v0.unions.payout_status'](); };
|
|
13483
13902
|
export var makePayoutStatusFailed = function () { return factories['io.flow.v0.models.payout_status_failed'](); };
|
|
13484
13903
|
export var makePayoutStatusFailureCode = function () { return factories['io.flow.v0.enums.payout_status_failure_code'](); };
|
|
@@ -13499,9 +13918,11 @@ export var makePfsInventoryCheckResponse = function () { return factories['io.fl
|
|
|
13499
13918
|
export var makePfsInventoryCheckResponseItem = function () { return factories['io.flow.v0.models.pfs_inventory_check_response_item'](); };
|
|
13500
13919
|
export var makePfsInventoryStatus = function () { return factories['io.flow.v0.models.pfs_inventory_status'](); };
|
|
13501
13920
|
export var makePhysicalDelivery = function () { return factories['io.flow.v0.models.physical_delivery'](); };
|
|
13921
|
+
export var makePhysicalDeliveryPreferredService = function () { return factories['io.flow.v0.models.physical_delivery_preferred_service'](); };
|
|
13502
13922
|
export var makePhysicalDeliverySpecialSerivce = function () { return factories['io.flow.v0.enums.physical_delivery_special_serivce'](); };
|
|
13503
13923
|
export var makePostPaymentRedirectUrls = function () { return factories['io.flow.v0.models.post_payment_redirect_urls'](); };
|
|
13504
13924
|
export var makePostalType = function () { return factories['io.flow.v0.enums.postal_type'](); };
|
|
13925
|
+
export var makePreferredServiceSelectionStrategy = function () { return factories['io.flow.v0.enums.preferred_service_selection_strategy'](); };
|
|
13505
13926
|
export var makePrice = function () { return factories['io.flow.v0.models.price'](); };
|
|
13506
13927
|
export var makePriceAccuracy = function () { return factories['io.flow.v0.enums.price_accuracy'](); };
|
|
13507
13928
|
export var makePriceBook = function () { return factories['io.flow.v0.models.price_book'](); };
|
|
@@ -13750,6 +14171,7 @@ export var makeShippingConfigurationVersion = function () { return factories['io
|
|
|
13750
14171
|
export var makeShippingLabel = function () { return factories['io.flow.v0.models.shipping_label'](); };
|
|
13751
14172
|
export var makeShippingLabelDocument = function () { return factories['io.flow.v0.models.shipping_label_document'](); };
|
|
13752
14173
|
export var makeShippingLabelForm = function () { return factories['io.flow.v0.unions.shipping_label_form'](); };
|
|
14174
|
+
export var makeShippingLabelHopCostItemizedEstimate = function () { return factories['io.flow.v0.models.shipping_label_hop_cost_itemized_estimate'](); };
|
|
13753
14175
|
export var makeShippingLabelHopSummary = function () { return factories['io.flow.v0.models.shipping_label_hop_summary'](); };
|
|
13754
14176
|
export var makeShippingLabelLaneSummary = function () { return factories['io.flow.v0.models.shipping_label_lane_summary'](); };
|
|
13755
14177
|
export var makeShippingLabelPackage = function () { return factories['io.flow.v0.models.shipping_label_package'](); };
|
|
@@ -13824,6 +14246,7 @@ export var makeStatement = function () { return factories['io.flow.v0.models.sta
|
|
|
13824
14246
|
export var makeStatementAttachmentType = function () { return factories['io.flow.v0.enums.statement_attachment_type'](); };
|
|
13825
14247
|
export var makeStatementDeleted = function () { return factories['io.flow.v0.models.statement_deleted'](); };
|
|
13826
14248
|
export var makeStatementUpserted = function () { return factories['io.flow.v0.models.statement_upserted'](); };
|
|
14249
|
+
export var makeStoredMethodUsageStep = function () { return factories['io.flow.v0.enums.stored_method_usage_step'](); };
|
|
13827
14250
|
export var makeStrategy = function () { return factories['io.flow.v0.enums.strategy'](); };
|
|
13828
14251
|
export var makeStreetAddress = function () { return factories['io.flow.v0.models.street_address'](); };
|
|
13829
14252
|
export var makeStripeAuthenticationData = function () { return factories['io.flow.v0.models.stripe_authentication_data'](); };
|
|
@@ -13886,7 +14309,6 @@ export var makeTaxSetting = function () { return factories['io.flow.v0.unions.ta
|
|
|
13886
14309
|
export var makeTaxVerificationResult = function () { return factories['io.flow.v0.enums.tax_verification_result'](); };
|
|
13887
14310
|
export var makeTaxabilityType = function () { return factories['io.flow.v0.enums.taxability_type'](); };
|
|
13888
14311
|
export var makeTaxabilityValue = function () { return factories['io.flow.v0.enums.taxability_value'](); };
|
|
13889
|
-
export var makeTest = function () { return factories['io.flow.v0.models.test'](); };
|
|
13890
14312
|
export var makeTestUpserted = function () { return factories['io.flow.v0.models.test_upserted'](); };
|
|
13891
14313
|
export var makeThirdPartyLogisticsPartner = function () { return factories['io.flow.v0.models.third_party_logistics_partner'](); };
|
|
13892
14314
|
export var makeThreeDSecure = function () { return factories['io.flow.v0.models.three_d_secure'](); };
|
|
@@ -13949,15 +14371,22 @@ export var makeTradeAgreementStatus = function () { return factories['io.flow.v0
|
|
|
13949
14371
|
export var makeTransaction = function () { return factories['io.flow.v0.models.transaction'](); };
|
|
13950
14372
|
export var makeTransactionDetails = function () { return factories['io.flow.v0.unions.transaction_details'](); };
|
|
13951
14373
|
export var makeTransactionDetailsCard = function () { return factories['io.flow.v0.models.transaction_details_card'](); };
|
|
14374
|
+
export var makeTransactionMetadata = function () { return factories['io.flow.v0.unions.transaction_metadata'](); };
|
|
14375
|
+
export var makeTransactionMetadataShippingLabel = function () { return factories['io.flow.v0.models.transaction_metadata_shipping_label'](); };
|
|
13952
14376
|
export var makeTransactionNetworkDetailsCard = function () { return factories['io.flow.v0.models.transaction_network_details_card'](); };
|
|
14377
|
+
export var makeTransactionPayoutPendingReason = function () { return factories['io.flow.v0.enums.transaction_payout_pending_reason'](); };
|
|
14378
|
+
export var makeTransactionReference = function () { return factories['io.flow.v0.models.transaction_reference'](); };
|
|
13953
14379
|
export var makeTransactionSource = function () { return factories['io.flow.v0.enums.transaction_source'](); };
|
|
13954
14380
|
export var makeTransactionUpserted = function () { return factories['io.flow.v0.models.transaction_upserted'](); };
|
|
13955
14381
|
export var makeTransitEstimate = function () { return factories['io.flow.v0.models.transit_estimate'](); };
|
|
13956
14382
|
export var makeTransitWindow = function () { return factories['io.flow.v0.models.transit_window'](); };
|
|
13957
14383
|
export var makeUltimateBeneficiaryOwner = function () { return factories['io.flow.v0.models.ultimate_beneficiary_owner'](); };
|
|
13958
14384
|
export var makeUnharmonizedItemExportType = function () { return factories['io.flow.v0.models.unharmonized_item_export_type'](); };
|
|
14385
|
+
export var makeUnitOfLength = function () { return factories['io.flow.v0.enums.unit_of_length'](); };
|
|
13959
14386
|
export var makeUnitOfMeasurement = function () { return factories['io.flow.v0.enums.unit_of_measurement'](); };
|
|
13960
14387
|
export var makeUnitOfTime = function () { return factories['io.flow.v0.enums.unit_of_time'](); };
|
|
14388
|
+
export var makeUnitOfVolume = function () { return factories['io.flow.v0.enums.unit_of_volume'](); };
|
|
14389
|
+
export var makeUnitOfWeight = function () { return factories['io.flow.v0.enums.unit_of_weight'](); };
|
|
13961
14390
|
export var makeUpdatePolicy = function () { return factories['io.flow.v0.enums.update_policy'](); };
|
|
13962
14391
|
export var makeUpdateType = function () { return factories['io.flow.v0.enums.update_type'](); };
|
|
13963
14392
|
export var makeUpload = function () { return factories['io.flow.v0.models.upload'](); };
|