@flowio/api-factories 0.0.87 → 0.0.88
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 +98 -0
- package/dist/esm/api.js +98 -0
- package/package.json +2 -2
- package/src/api.ts +110 -0
package/dist/cjs/api.js
CHANGED
|
@@ -1332,6 +1332,40 @@ var factories = {
|
|
|
1332
1332
|
'highest_risk_level',
|
|
1333
1333
|
'requested_block_on_incorrect_cvc',
|
|
1334
1334
|
]); },
|
|
1335
|
+
'io.flow.stripe.v0.enums.dispute_event_type': function () { return faker_1.default.helpers.arrayElement([
|
|
1336
|
+
'charge.dispute.closed',
|
|
1337
|
+
'charge.dispute.created',
|
|
1338
|
+
'charge.dispute.funds_reinstated',
|
|
1339
|
+
'charge.dispute.funds_withdrawn',
|
|
1340
|
+
'charge.dispute.updated',
|
|
1341
|
+
]); },
|
|
1342
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type': function () { return faker_1.default.helpers.arrayElement(['chargeback', 'inquiry']); },
|
|
1343
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_type': function () { return faker_1.default.helpers.arrayElement(['card', 'klarna', 'paypal']); },
|
|
1344
|
+
'io.flow.stripe.v0.enums.dispute_reason': function () { return faker_1.default.helpers.arrayElement([
|
|
1345
|
+
'bank_cannot_process',
|
|
1346
|
+
'check_returned',
|
|
1347
|
+
'credit_not_processed',
|
|
1348
|
+
'customer_initiated',
|
|
1349
|
+
'debit_not_authorized',
|
|
1350
|
+
'duplicate',
|
|
1351
|
+
'fraudulent',
|
|
1352
|
+
'general',
|
|
1353
|
+
'incorrect_account_details',
|
|
1354
|
+
'insufficient_funds',
|
|
1355
|
+
'product_not_received',
|
|
1356
|
+
'product_unacceptable',
|
|
1357
|
+
'subscription_canceled',
|
|
1358
|
+
'unrecognized',
|
|
1359
|
+
]); },
|
|
1360
|
+
'io.flow.stripe.v0.enums.dispute_status': function () { return faker_1.default.helpers.arrayElement([
|
|
1361
|
+
'warning_needs_response',
|
|
1362
|
+
'warning_under_review',
|
|
1363
|
+
'warning_closed',
|
|
1364
|
+
'needs_response',
|
|
1365
|
+
'under_review',
|
|
1366
|
+
'won',
|
|
1367
|
+
'lost',
|
|
1368
|
+
]); },
|
|
1335
1369
|
'io.flow.stripe.v0.enums.error_code': function () { return faker_1.default.helpers.arrayElement([
|
|
1336
1370
|
'invalid_number',
|
|
1337
1371
|
'invalid_expiry_month',
|
|
@@ -1424,6 +1458,11 @@ var factories = {
|
|
|
1424
1458
|
'charge.succeeded',
|
|
1425
1459
|
'charge.updated',
|
|
1426
1460
|
'charge.refund.updated',
|
|
1461
|
+
'charge.dispute.closed',
|
|
1462
|
+
'charge.dispute.created',
|
|
1463
|
+
'charge.dispute.funds_reinstated',
|
|
1464
|
+
'charge.dispute.funds_withdrawn',
|
|
1465
|
+
'charge.dispute.updated',
|
|
1427
1466
|
'payment_intent.created',
|
|
1428
1467
|
'payment_intent.amount_capturable_updated',
|
|
1429
1468
|
'payment_intent.payment_failed',
|
|
@@ -1765,6 +1804,48 @@ var factories = {
|
|
|
1765
1804
|
source: factories.string(),
|
|
1766
1805
|
description: factories.string(),
|
|
1767
1806
|
}); },
|
|
1807
|
+
'io.flow.stripe.v0.models.dispute': function () { return ({
|
|
1808
|
+
id: factories.string(),
|
|
1809
|
+
amount: factories.integer(),
|
|
1810
|
+
charge: factories.string(),
|
|
1811
|
+
currency: factories.string(),
|
|
1812
|
+
evidence: factories.object(),
|
|
1813
|
+
metadata: objectOf(function () { return factories.string(); }),
|
|
1814
|
+
payment_intent: factories.string(),
|
|
1815
|
+
reason: factories['io.flow.stripe.v0.enums.dispute_reason'](),
|
|
1816
|
+
status: factories['io.flow.stripe.v0.enums.dispute_status'](),
|
|
1817
|
+
object: factories.string(),
|
|
1818
|
+
balance_transactions: arrayOf(function () { return factories.object(); }),
|
|
1819
|
+
created: factories.long(),
|
|
1820
|
+
evidence_details: factories['io.flow.stripe.v0.models.dispute_evidence_details'](),
|
|
1821
|
+
is_charge_refundable: factories.boolean(),
|
|
1822
|
+
livemode: factories.boolean(),
|
|
1823
|
+
payment_method_details: factories['io.flow.stripe.v0.models.dispute_payment_method_details'](),
|
|
1824
|
+
}); },
|
|
1825
|
+
'io.flow.stripe.v0.models.dispute_evidence_details': function () { return ({
|
|
1826
|
+
due_by: factories.long(),
|
|
1827
|
+
has_evidence: factories.boolean(),
|
|
1828
|
+
past_due: factories.boolean(),
|
|
1829
|
+
submission_count: factories.integer(),
|
|
1830
|
+
}); },
|
|
1831
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details': function () { return ({
|
|
1832
|
+
card: factories['io.flow.stripe.v0.models.dispute_payment_method_details_card'](),
|
|
1833
|
+
klarna: factories['io.flow.stripe.v0.models.dispute_payment_method_details_klarna'](),
|
|
1834
|
+
paypal: factories['io.flow.stripe.v0.models.dispute_payment_method_details_paypal'](),
|
|
1835
|
+
type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_type'](),
|
|
1836
|
+
}); },
|
|
1837
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_card': function () { return ({
|
|
1838
|
+
brand: factories.string(),
|
|
1839
|
+
case_type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type'](),
|
|
1840
|
+
network_reason_code: factories.string(),
|
|
1841
|
+
}); },
|
|
1842
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_klarna': function () { return ({
|
|
1843
|
+
reason_code: factories.string(),
|
|
1844
|
+
}); },
|
|
1845
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_paypal': function () { return ({
|
|
1846
|
+
case_id: factories.string(),
|
|
1847
|
+
reason_code: factories.string(),
|
|
1848
|
+
}); },
|
|
1768
1849
|
'io.flow.stripe.v0.models.error': function () { return ({
|
|
1769
1850
|
error: factories['io.flow.stripe.v0.models.stripe_error'](),
|
|
1770
1851
|
}); },
|
|
@@ -2370,6 +2451,22 @@ var factories = {
|
|
|
2370
2451
|
three_ds_optimizations: factories.string(),
|
|
2371
2452
|
directory_server_encryption: factories.object(),
|
|
2372
2453
|
}); },
|
|
2454
|
+
'io.flow.stripe.v0.models.stripe_dispute_event': function () { return ({
|
|
2455
|
+
id: factories.string(),
|
|
2456
|
+
api_version: factories.string(),
|
|
2457
|
+
data: factories['io.flow.stripe.v0.models.stripe_dispute_event_data'](),
|
|
2458
|
+
request: factories.object(),
|
|
2459
|
+
type: factories['io.flow.stripe.v0.enums.dispute_event_type'](),
|
|
2460
|
+
object: factories.string(),
|
|
2461
|
+
account: factories.string(),
|
|
2462
|
+
created: factories.long(),
|
|
2463
|
+
livemode: factories.boolean(),
|
|
2464
|
+
pending_webhooks: factories.integer(),
|
|
2465
|
+
}); },
|
|
2466
|
+
'io.flow.stripe.v0.models.stripe_dispute_event_data': function () { return ({
|
|
2467
|
+
object: factories['io.flow.stripe.v0.models.dispute'](),
|
|
2468
|
+
previous_attributes: factories.object(),
|
|
2469
|
+
}); },
|
|
2373
2470
|
'io.flow.stripe.v0.models.stripe_error': function () { return ({
|
|
2374
2471
|
type: factories['io.flow.stripe.v0.enums.error_type'](),
|
|
2375
2472
|
charge: factories.string(),
|
|
@@ -3002,6 +3099,7 @@ var factories = {
|
|
|
3002
3099
|
'business_street_address_is_po_box',
|
|
3003
3100
|
'exception_merchant',
|
|
3004
3101
|
'application_missing',
|
|
3102
|
+
'missing_logistics_contact_info',
|
|
3005
3103
|
]); },
|
|
3006
3104
|
'io.flow.v0.enums.onboarding_trade_sector': function () { return faker_1.default.helpers.arrayElement([
|
|
3007
3105
|
'accessories',
|
package/dist/esm/api.js
CHANGED
|
@@ -1291,6 +1291,40 @@ var factories = {
|
|
|
1291
1291
|
'highest_risk_level',
|
|
1292
1292
|
'requested_block_on_incorrect_cvc',
|
|
1293
1293
|
]); },
|
|
1294
|
+
'io.flow.stripe.v0.enums.dispute_event_type': function () { return faker.helpers.arrayElement([
|
|
1295
|
+
'charge.dispute.closed',
|
|
1296
|
+
'charge.dispute.created',
|
|
1297
|
+
'charge.dispute.funds_reinstated',
|
|
1298
|
+
'charge.dispute.funds_withdrawn',
|
|
1299
|
+
'charge.dispute.updated',
|
|
1300
|
+
]); },
|
|
1301
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type': function () { return faker.helpers.arrayElement(['chargeback', 'inquiry']); },
|
|
1302
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_type': function () { return faker.helpers.arrayElement(['card', 'klarna', 'paypal']); },
|
|
1303
|
+
'io.flow.stripe.v0.enums.dispute_reason': function () { return faker.helpers.arrayElement([
|
|
1304
|
+
'bank_cannot_process',
|
|
1305
|
+
'check_returned',
|
|
1306
|
+
'credit_not_processed',
|
|
1307
|
+
'customer_initiated',
|
|
1308
|
+
'debit_not_authorized',
|
|
1309
|
+
'duplicate',
|
|
1310
|
+
'fraudulent',
|
|
1311
|
+
'general',
|
|
1312
|
+
'incorrect_account_details',
|
|
1313
|
+
'insufficient_funds',
|
|
1314
|
+
'product_not_received',
|
|
1315
|
+
'product_unacceptable',
|
|
1316
|
+
'subscription_canceled',
|
|
1317
|
+
'unrecognized',
|
|
1318
|
+
]); },
|
|
1319
|
+
'io.flow.stripe.v0.enums.dispute_status': function () { return faker.helpers.arrayElement([
|
|
1320
|
+
'warning_needs_response',
|
|
1321
|
+
'warning_under_review',
|
|
1322
|
+
'warning_closed',
|
|
1323
|
+
'needs_response',
|
|
1324
|
+
'under_review',
|
|
1325
|
+
'won',
|
|
1326
|
+
'lost',
|
|
1327
|
+
]); },
|
|
1294
1328
|
'io.flow.stripe.v0.enums.error_code': function () { return faker.helpers.arrayElement([
|
|
1295
1329
|
'invalid_number',
|
|
1296
1330
|
'invalid_expiry_month',
|
|
@@ -1383,6 +1417,11 @@ var factories = {
|
|
|
1383
1417
|
'charge.succeeded',
|
|
1384
1418
|
'charge.updated',
|
|
1385
1419
|
'charge.refund.updated',
|
|
1420
|
+
'charge.dispute.closed',
|
|
1421
|
+
'charge.dispute.created',
|
|
1422
|
+
'charge.dispute.funds_reinstated',
|
|
1423
|
+
'charge.dispute.funds_withdrawn',
|
|
1424
|
+
'charge.dispute.updated',
|
|
1386
1425
|
'payment_intent.created',
|
|
1387
1426
|
'payment_intent.amount_capturable_updated',
|
|
1388
1427
|
'payment_intent.payment_failed',
|
|
@@ -1724,6 +1763,48 @@ var factories = {
|
|
|
1724
1763
|
source: factories.string(),
|
|
1725
1764
|
description: factories.string(),
|
|
1726
1765
|
}); },
|
|
1766
|
+
'io.flow.stripe.v0.models.dispute': function () { return ({
|
|
1767
|
+
id: factories.string(),
|
|
1768
|
+
amount: factories.integer(),
|
|
1769
|
+
charge: factories.string(),
|
|
1770
|
+
currency: factories.string(),
|
|
1771
|
+
evidence: factories.object(),
|
|
1772
|
+
metadata: objectOf(function () { return factories.string(); }),
|
|
1773
|
+
payment_intent: factories.string(),
|
|
1774
|
+
reason: factories['io.flow.stripe.v0.enums.dispute_reason'](),
|
|
1775
|
+
status: factories['io.flow.stripe.v0.enums.dispute_status'](),
|
|
1776
|
+
object: factories.string(),
|
|
1777
|
+
balance_transactions: arrayOf(function () { return factories.object(); }),
|
|
1778
|
+
created: factories.long(),
|
|
1779
|
+
evidence_details: factories['io.flow.stripe.v0.models.dispute_evidence_details'](),
|
|
1780
|
+
is_charge_refundable: factories.boolean(),
|
|
1781
|
+
livemode: factories.boolean(),
|
|
1782
|
+
payment_method_details: factories['io.flow.stripe.v0.models.dispute_payment_method_details'](),
|
|
1783
|
+
}); },
|
|
1784
|
+
'io.flow.stripe.v0.models.dispute_evidence_details': function () { return ({
|
|
1785
|
+
due_by: factories.long(),
|
|
1786
|
+
has_evidence: factories.boolean(),
|
|
1787
|
+
past_due: factories.boolean(),
|
|
1788
|
+
submission_count: factories.integer(),
|
|
1789
|
+
}); },
|
|
1790
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details': function () { return ({
|
|
1791
|
+
card: factories['io.flow.stripe.v0.models.dispute_payment_method_details_card'](),
|
|
1792
|
+
klarna: factories['io.flow.stripe.v0.models.dispute_payment_method_details_klarna'](),
|
|
1793
|
+
paypal: factories['io.flow.stripe.v0.models.dispute_payment_method_details_paypal'](),
|
|
1794
|
+
type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_type'](),
|
|
1795
|
+
}); },
|
|
1796
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_card': function () { return ({
|
|
1797
|
+
brand: factories.string(),
|
|
1798
|
+
case_type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type'](),
|
|
1799
|
+
network_reason_code: factories.string(),
|
|
1800
|
+
}); },
|
|
1801
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_klarna': function () { return ({
|
|
1802
|
+
reason_code: factories.string(),
|
|
1803
|
+
}); },
|
|
1804
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_paypal': function () { return ({
|
|
1805
|
+
case_id: factories.string(),
|
|
1806
|
+
reason_code: factories.string(),
|
|
1807
|
+
}); },
|
|
1727
1808
|
'io.flow.stripe.v0.models.error': function () { return ({
|
|
1728
1809
|
error: factories['io.flow.stripe.v0.models.stripe_error'](),
|
|
1729
1810
|
}); },
|
|
@@ -2329,6 +2410,22 @@ var factories = {
|
|
|
2329
2410
|
three_ds_optimizations: factories.string(),
|
|
2330
2411
|
directory_server_encryption: factories.object(),
|
|
2331
2412
|
}); },
|
|
2413
|
+
'io.flow.stripe.v0.models.stripe_dispute_event': function () { return ({
|
|
2414
|
+
id: factories.string(),
|
|
2415
|
+
api_version: factories.string(),
|
|
2416
|
+
data: factories['io.flow.stripe.v0.models.stripe_dispute_event_data'](),
|
|
2417
|
+
request: factories.object(),
|
|
2418
|
+
type: factories['io.flow.stripe.v0.enums.dispute_event_type'](),
|
|
2419
|
+
object: factories.string(),
|
|
2420
|
+
account: factories.string(),
|
|
2421
|
+
created: factories.long(),
|
|
2422
|
+
livemode: factories.boolean(),
|
|
2423
|
+
pending_webhooks: factories.integer(),
|
|
2424
|
+
}); },
|
|
2425
|
+
'io.flow.stripe.v0.models.stripe_dispute_event_data': function () { return ({
|
|
2426
|
+
object: factories['io.flow.stripe.v0.models.dispute'](),
|
|
2427
|
+
previous_attributes: factories.object(),
|
|
2428
|
+
}); },
|
|
2332
2429
|
'io.flow.stripe.v0.models.stripe_error': function () { return ({
|
|
2333
2430
|
type: factories['io.flow.stripe.v0.enums.error_type'](),
|
|
2334
2431
|
charge: factories.string(),
|
|
@@ -2961,6 +3058,7 @@ var factories = {
|
|
|
2961
3058
|
'business_street_address_is_po_box',
|
|
2962
3059
|
'exception_merchant',
|
|
2963
3060
|
'application_missing',
|
|
3061
|
+
'missing_logistics_contact_info',
|
|
2964
3062
|
]); },
|
|
2965
3063
|
'io.flow.v0.enums.onboarding_trade_sector': function () { return faker.helpers.arrayElement([
|
|
2966
3064
|
'accessories',
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@flowio/api-factories",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.88",
|
|
4
4
|
"description": "Flow API mock data factories",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"flow",
|
|
@@ -36,5 +36,5 @@
|
|
|
36
36
|
"@faker-js/faker": "^6.2.0",
|
|
37
37
|
"@flowio/api-types": "*"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "e2172791ebb0708545e2d68100656b52120f50e4"
|
|
40
40
|
}
|
package/src/api.ts
CHANGED
|
@@ -1529,6 +1529,44 @@ const factories = {
|
|
|
1529
1529
|
'requested_block_on_incorrect_cvc',
|
|
1530
1530
|
]),
|
|
1531
1531
|
|
|
1532
|
+
'io.flow.stripe.v0.enums.dispute_event_type': (): io.flow.stripe.v0.enums.DisputeEventType => faker.helpers.arrayElement([
|
|
1533
|
+
'charge.dispute.closed',
|
|
1534
|
+
'charge.dispute.created',
|
|
1535
|
+
'charge.dispute.funds_reinstated',
|
|
1536
|
+
'charge.dispute.funds_withdrawn',
|
|
1537
|
+
'charge.dispute.updated',
|
|
1538
|
+
]),
|
|
1539
|
+
|
|
1540
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type': (): io.flow.stripe.v0.enums.DisputePaymentMethodDetailsCardCaseType => faker.helpers.arrayElement(['chargeback', 'inquiry']),
|
|
1541
|
+
'io.flow.stripe.v0.enums.dispute_payment_method_details_type': (): io.flow.stripe.v0.enums.DisputePaymentMethodDetailsType => faker.helpers.arrayElement(['card', 'klarna', 'paypal']),
|
|
1542
|
+
|
|
1543
|
+
'io.flow.stripe.v0.enums.dispute_reason': (): io.flow.stripe.v0.enums.DisputeReason => faker.helpers.arrayElement([
|
|
1544
|
+
'bank_cannot_process',
|
|
1545
|
+
'check_returned',
|
|
1546
|
+
'credit_not_processed',
|
|
1547
|
+
'customer_initiated',
|
|
1548
|
+
'debit_not_authorized',
|
|
1549
|
+
'duplicate',
|
|
1550
|
+
'fraudulent',
|
|
1551
|
+
'general',
|
|
1552
|
+
'incorrect_account_details',
|
|
1553
|
+
'insufficient_funds',
|
|
1554
|
+
'product_not_received',
|
|
1555
|
+
'product_unacceptable',
|
|
1556
|
+
'subscription_canceled',
|
|
1557
|
+
'unrecognized',
|
|
1558
|
+
]),
|
|
1559
|
+
|
|
1560
|
+
'io.flow.stripe.v0.enums.dispute_status': (): io.flow.stripe.v0.enums.DisputeStatus => faker.helpers.arrayElement([
|
|
1561
|
+
'warning_needs_response',
|
|
1562
|
+
'warning_under_review',
|
|
1563
|
+
'warning_closed',
|
|
1564
|
+
'needs_response',
|
|
1565
|
+
'under_review',
|
|
1566
|
+
'won',
|
|
1567
|
+
'lost',
|
|
1568
|
+
]),
|
|
1569
|
+
|
|
1532
1570
|
'io.flow.stripe.v0.enums.error_code': (): io.flow.stripe.v0.enums.ErrorCode => faker.helpers.arrayElement([
|
|
1533
1571
|
'invalid_number',
|
|
1534
1572
|
'invalid_expiry_month',
|
|
@@ -1623,6 +1661,11 @@ const factories = {
|
|
|
1623
1661
|
'charge.succeeded',
|
|
1624
1662
|
'charge.updated',
|
|
1625
1663
|
'charge.refund.updated',
|
|
1664
|
+
'charge.dispute.closed',
|
|
1665
|
+
'charge.dispute.created',
|
|
1666
|
+
'charge.dispute.funds_reinstated',
|
|
1667
|
+
'charge.dispute.funds_withdrawn',
|
|
1668
|
+
'charge.dispute.updated',
|
|
1626
1669
|
'payment_intent.created',
|
|
1627
1670
|
'payment_intent.amount_capturable_updated',
|
|
1628
1671
|
'payment_intent.payment_failed',
|
|
@@ -1997,6 +2040,54 @@ const factories = {
|
|
|
1997
2040
|
description: factories.string(),
|
|
1998
2041
|
}),
|
|
1999
2042
|
|
|
2043
|
+
'io.flow.stripe.v0.models.dispute': (): io.flow.stripe.v0.models.Dispute => ({
|
|
2044
|
+
id: factories.string(),
|
|
2045
|
+
amount: factories.integer(),
|
|
2046
|
+
charge: factories.string(),
|
|
2047
|
+
currency: factories.string(),
|
|
2048
|
+
evidence: factories.object(),
|
|
2049
|
+
metadata: objectOf(() => factories.string()),
|
|
2050
|
+
payment_intent: factories.string(),
|
|
2051
|
+
reason: factories['io.flow.stripe.v0.enums.dispute_reason'](),
|
|
2052
|
+
status: factories['io.flow.stripe.v0.enums.dispute_status'](),
|
|
2053
|
+
object: factories.string(),
|
|
2054
|
+
balance_transactions: arrayOf(() => factories.object()),
|
|
2055
|
+
created: factories.long(),
|
|
2056
|
+
evidence_details: factories['io.flow.stripe.v0.models.dispute_evidence_details'](),
|
|
2057
|
+
is_charge_refundable: factories.boolean(),
|
|
2058
|
+
livemode: factories.boolean(),
|
|
2059
|
+
payment_method_details: factories['io.flow.stripe.v0.models.dispute_payment_method_details'](),
|
|
2060
|
+
}),
|
|
2061
|
+
|
|
2062
|
+
'io.flow.stripe.v0.models.dispute_evidence_details': (): io.flow.stripe.v0.models.DisputeEvidenceDetails => ({
|
|
2063
|
+
due_by: factories.long(),
|
|
2064
|
+
has_evidence: factories.boolean(),
|
|
2065
|
+
past_due: factories.boolean(),
|
|
2066
|
+
submission_count: factories.integer(),
|
|
2067
|
+
}),
|
|
2068
|
+
|
|
2069
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details': (): io.flow.stripe.v0.models.DisputePaymentMethodDetails => ({
|
|
2070
|
+
card: factories['io.flow.stripe.v0.models.dispute_payment_method_details_card'](),
|
|
2071
|
+
klarna: factories['io.flow.stripe.v0.models.dispute_payment_method_details_klarna'](),
|
|
2072
|
+
paypal: factories['io.flow.stripe.v0.models.dispute_payment_method_details_paypal'](),
|
|
2073
|
+
type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_type'](),
|
|
2074
|
+
}),
|
|
2075
|
+
|
|
2076
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_card': (): io.flow.stripe.v0.models.DisputePaymentMethodDetailsCard => ({
|
|
2077
|
+
brand: factories.string(),
|
|
2078
|
+
case_type: factories['io.flow.stripe.v0.enums.dispute_payment_method_details_card_case_type'](),
|
|
2079
|
+
network_reason_code: factories.string(),
|
|
2080
|
+
}),
|
|
2081
|
+
|
|
2082
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_klarna': (): io.flow.stripe.v0.models.DisputePaymentMethodDetailsKlarna => ({
|
|
2083
|
+
reason_code: factories.string(),
|
|
2084
|
+
}),
|
|
2085
|
+
|
|
2086
|
+
'io.flow.stripe.v0.models.dispute_payment_method_details_paypal': (): io.flow.stripe.v0.models.DisputePaymentMethodDetailsPaypal => ({
|
|
2087
|
+
case_id: factories.string(),
|
|
2088
|
+
reason_code: factories.string(),
|
|
2089
|
+
}),
|
|
2090
|
+
|
|
2000
2091
|
'io.flow.stripe.v0.models.error': (): io.flow.stripe.v0.models.Error => ({
|
|
2001
2092
|
error: factories['io.flow.stripe.v0.models.stripe_error'](),
|
|
2002
2093
|
}),
|
|
@@ -2684,6 +2775,24 @@ const factories = {
|
|
|
2684
2775
|
directory_server_encryption: factories.object(),
|
|
2685
2776
|
}),
|
|
2686
2777
|
|
|
2778
|
+
'io.flow.stripe.v0.models.stripe_dispute_event': (): io.flow.stripe.v0.models.StripeDisputeEvent => ({
|
|
2779
|
+
id: factories.string(),
|
|
2780
|
+
api_version: factories.string(),
|
|
2781
|
+
data: factories['io.flow.stripe.v0.models.stripe_dispute_event_data'](),
|
|
2782
|
+
request: factories.object(),
|
|
2783
|
+
type: factories['io.flow.stripe.v0.enums.dispute_event_type'](),
|
|
2784
|
+
object: factories.string(),
|
|
2785
|
+
account: factories.string(),
|
|
2786
|
+
created: factories.long(),
|
|
2787
|
+
livemode: factories.boolean(),
|
|
2788
|
+
pending_webhooks: factories.integer(),
|
|
2789
|
+
}),
|
|
2790
|
+
|
|
2791
|
+
'io.flow.stripe.v0.models.stripe_dispute_event_data': (): io.flow.stripe.v0.models.StripeDisputeEventData => ({
|
|
2792
|
+
object: factories['io.flow.stripe.v0.models.dispute'](),
|
|
2793
|
+
previous_attributes: factories.object(),
|
|
2794
|
+
}),
|
|
2795
|
+
|
|
2687
2796
|
'io.flow.stripe.v0.models.stripe_error': (): io.flow.stripe.v0.models.StripeError => ({
|
|
2688
2797
|
type: factories['io.flow.stripe.v0.enums.error_type'](),
|
|
2689
2798
|
charge: factories.string(),
|
|
@@ -3375,6 +3484,7 @@ const factories = {
|
|
|
3375
3484
|
'business_street_address_is_po_box',
|
|
3376
3485
|
'exception_merchant',
|
|
3377
3486
|
'application_missing',
|
|
3487
|
+
'missing_logistics_contact_info',
|
|
3378
3488
|
]),
|
|
3379
3489
|
|
|
3380
3490
|
'io.flow.v0.enums.onboarding_trade_sector': (): io.flow.v0.enums.OnboardingTradeSector => faker.helpers.arrayElement([
|