increase 0.6.0 → 0.7.1
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/CHANGELOG.md +275 -0
- package/LICENSE +201 -0
- package/README.md +243 -0
- package/_shims/formdata.node.d.ts +1 -0
- package/core.d.ts +9 -1
- package/core.d.ts.map +1 -1
- package/core.js +61 -18
- package/core.js.map +1 -1
- package/core.mjs +59 -18
- package/core.mjs.map +1 -1
- package/error.d.ts +17 -0
- package/error.d.ts.map +1 -1
- package/error.js +24 -0
- package/error.js.map +1 -1
- package/error.mjs +20 -0
- package/error.mjs.map +1 -1
- package/index.d.mts +13 -1
- package/index.d.ts +13 -1
- package/index.d.ts.map +1 -1
- package/index.js +11 -1
- package/index.js.map +1 -1
- package/index.mjs +8 -0
- package/index.mjs.map +1 -1
- package/package.json +2 -2
- package/resources/account-transfers.d.ts +14 -0
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +42 -1
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +2 -2
- package/resources/card-profiles.d.ts +46 -0
- package/resources/card-profiles.d.ts.map +1 -1
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/check-transfers.d.ts +14 -0
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +5 -0
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/entities/entities.d.ts +55 -10
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/files.d.ts +10 -9
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js.map +1 -1
- package/resources/files.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +10 -0
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +5 -0
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +14 -0
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +5 -0
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/cards.d.ts +19 -0
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +74 -0
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -0
- package/resources/simulations/inbound-funds-holds.js +19 -0
- package/resources/simulations/inbound-funds-holds.js.map +1 -0
- package/resources/simulations/inbound-funds-holds.mjs +13 -0
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -0
- package/resources/simulations/index.d.ts +1 -0
- package/resources/simulations/index.d.ts.map +1 -1
- package/resources/simulations/index.js +8 -0
- package/resources/simulations/index.js.map +1 -1
- package/resources/simulations/index.mjs +1 -0
- package/resources/simulations/index.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +5 -0
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts +4 -0
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +3 -0
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +3 -0
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +14 -0
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/_shims/fileFromPath.node.ts +1 -1
- package/src/_shims/fileFromPath.ts +1 -1
- package/src/_shims/formdata.node.d.ts +1 -0
- package/src/_shims/getMultipartRequestOptions.node.ts +1 -1
- package/src/_shims/getMultipartRequestOptions.ts +1 -1
- package/src/core.ts +63 -18
- package/src/error.ts +40 -0
- package/src/index.ts +16 -1
- package/src/resources/account-numbers.ts +5 -5
- package/src/resources/account-statements.ts +5 -5
- package/src/resources/account-transfers.ts +22 -5
- package/src/resources/accounts.ts +5 -5
- package/src/resources/ach-prenotifications.ts +5 -5
- package/src/resources/ach-transfers.ts +50 -6
- package/src/resources/balance-lookups.ts +3 -3
- package/src/resources/bookkeeping-accounts.ts +5 -5
- package/src/resources/bookkeeping-entries.ts +5 -5
- package/src/resources/bookkeeping-entry-sets.ts +5 -5
- package/src/resources/card-disputes.ts +5 -5
- package/src/resources/card-profiles.ts +60 -5
- package/src/resources/cards.ts +5 -5
- package/src/resources/check-deposits.ts +5 -5
- package/src/resources/check-transfers.ts +22 -5
- package/src/resources/declined-transactions.ts +12 -6
- package/src/resources/digital-wallet-tokens.ts +5 -5
- package/src/resources/documents.ts +5 -5
- package/src/resources/entities/entities.ts +70 -15
- package/src/resources/entities/supplemental-documents.ts +5 -5
- package/src/resources/event-subscriptions.ts +5 -5
- package/src/resources/events.ts +5 -5
- package/src/resources/exports.ts +5 -5
- package/src/resources/external-accounts.ts +5 -5
- package/src/resources/files.ts +16 -15
- package/src/resources/groups.ts +3 -3
- package/src/resources/inbound-ach-transfer-returns.ts +5 -5
- package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
- package/src/resources/limits.ts +5 -5
- package/src/resources/oauth-connections.ts +5 -5
- package/src/resources/pending-transactions.ts +18 -6
- package/src/resources/programs.ts +5 -5
- package/src/resources/real-time-decisions.ts +10 -4
- package/src/resources/real-time-payments-transfers.ts +22 -5
- package/src/resources/routing-numbers.ts +4 -4
- package/src/resources/simulations/account-statements.ts +4 -4
- package/src/resources/simulations/account-transfers.ts +3 -3
- package/src/resources/simulations/ach-transfers.ts +11 -5
- package/src/resources/simulations/card-disputes.ts +4 -4
- package/src/resources/simulations/card-profiles.ts +3 -3
- package/src/resources/simulations/card-refunds.ts +4 -4
- package/src/resources/simulations/cards.ts +28 -5
- package/src/resources/simulations/check-deposits.ts +3 -3
- package/src/resources/simulations/check-transfers.ts +3 -3
- package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
- package/src/resources/simulations/documents.ts +4 -4
- package/src/resources/simulations/inbound-funds-holds.ts +88 -0
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
- package/src/resources/simulations/index.ts +1 -0
- package/src/resources/simulations/interest-payments.ts +3 -3
- package/src/resources/simulations/programs.ts +4 -4
- package/src/resources/simulations/real-time-payments-transfers.ts +11 -5
- package/src/resources/simulations/simulations.ts +7 -2
- package/src/resources/simulations/wire-transfers.ts +3 -3
- package/src/resources/transactions.ts +5 -5
- package/src/resources/wire-drawdown-requests.ts +5 -5
- package/src/resources/wire-transfers.ts +22 -5
- package/src/uploads.ts +11 -10
- package/src/version.ts +1 -1
- package/uploads.d.ts +2 -2
- package/uploads.d.ts.map +1 -1
- package/uploads.js +3 -2
- package/uploads.js.map +1 -1
- package/uploads.mjs +3 -2
- package/uploads.mjs.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/src/streaming.ts +0 -204
- package/streaming.d.ts +0 -14
- package/streaming.d.ts.map +0 -1
- package/streaming.js +0 -155
- package/streaming.js.map +0 -1
- package/streaming.mjs +0 -151
- package/streaming.mjs.map +0 -1
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
3
|
+
import * as Core from '../../core';
|
|
4
|
+
import { APIResource } from '../../resource';
|
|
5
|
+
import { isRequestOptions } from '../../core';
|
|
6
6
|
import { SupplementalDocuments } from './supplemental-documents';
|
|
7
|
-
import * as API from '
|
|
8
|
-
import { Page, PageParams } from '
|
|
7
|
+
import * as API from '.';
|
|
8
|
+
import { Page, PageParams } from '../../pagination';
|
|
9
9
|
|
|
10
10
|
export class Entities extends APIResource {
|
|
11
11
|
supplementalDocuments: SupplementalDocuments = new SupplementalDocuments(this.client);
|
|
@@ -1055,7 +1055,7 @@ export namespace EntityCreateParams {
|
|
|
1055
1055
|
expiration_date: string;
|
|
1056
1056
|
|
|
1057
1057
|
/**
|
|
1058
|
-
* The identifier of the File containing the driver's license.
|
|
1058
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1059
1059
|
*/
|
|
1060
1060
|
file_id: string;
|
|
1061
1061
|
|
|
@@ -1063,6 +1063,11 @@ export namespace EntityCreateParams {
|
|
|
1063
1063
|
* The state that issued the provided driver's license.
|
|
1064
1064
|
*/
|
|
1065
1065
|
state: string;
|
|
1066
|
+
|
|
1067
|
+
/**
|
|
1068
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1069
|
+
*/
|
|
1070
|
+
back_file_id?: string;
|
|
1066
1071
|
}
|
|
1067
1072
|
|
|
1068
1073
|
/**
|
|
@@ -1082,10 +1087,16 @@ export namespace EntityCreateParams {
|
|
|
1082
1087
|
description: string;
|
|
1083
1088
|
|
|
1084
1089
|
/**
|
|
1085
|
-
* The identifier of the File containing the document.
|
|
1090
|
+
* The identifier of the File containing the front of the document.
|
|
1086
1091
|
*/
|
|
1087
1092
|
file_id: string;
|
|
1088
1093
|
|
|
1094
|
+
/**
|
|
1095
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1096
|
+
* document has a reverse side.
|
|
1097
|
+
*/
|
|
1098
|
+
back_file_id?: string;
|
|
1099
|
+
|
|
1089
1100
|
/**
|
|
1090
1101
|
* The document's expiration date in YYYY-MM-DD format.
|
|
1091
1102
|
*/
|
|
@@ -1254,7 +1265,7 @@ export namespace EntityCreateParams {
|
|
|
1254
1265
|
expiration_date: string;
|
|
1255
1266
|
|
|
1256
1267
|
/**
|
|
1257
|
-
* The identifier of the File containing the driver's license.
|
|
1268
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1258
1269
|
*/
|
|
1259
1270
|
file_id: string;
|
|
1260
1271
|
|
|
@@ -1262,6 +1273,11 @@ export namespace EntityCreateParams {
|
|
|
1262
1273
|
* The state that issued the provided driver's license.
|
|
1263
1274
|
*/
|
|
1264
1275
|
state: string;
|
|
1276
|
+
|
|
1277
|
+
/**
|
|
1278
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1279
|
+
*/
|
|
1280
|
+
back_file_id?: string;
|
|
1265
1281
|
}
|
|
1266
1282
|
|
|
1267
1283
|
/**
|
|
@@ -1281,10 +1297,16 @@ export namespace EntityCreateParams {
|
|
|
1281
1297
|
description: string;
|
|
1282
1298
|
|
|
1283
1299
|
/**
|
|
1284
|
-
* The identifier of the File containing the document.
|
|
1300
|
+
* The identifier of the File containing the front of the document.
|
|
1285
1301
|
*/
|
|
1286
1302
|
file_id: string;
|
|
1287
1303
|
|
|
1304
|
+
/**
|
|
1305
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1306
|
+
* document has a reverse side.
|
|
1307
|
+
*/
|
|
1308
|
+
back_file_id?: string;
|
|
1309
|
+
|
|
1288
1310
|
/**
|
|
1289
1311
|
* The document's expiration date in YYYY-MM-DD format.
|
|
1290
1312
|
*/
|
|
@@ -1441,7 +1463,7 @@ export namespace EntityCreateParams {
|
|
|
1441
1463
|
expiration_date: string;
|
|
1442
1464
|
|
|
1443
1465
|
/**
|
|
1444
|
-
* The identifier of the File containing the driver's license.
|
|
1466
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1445
1467
|
*/
|
|
1446
1468
|
file_id: string;
|
|
1447
1469
|
|
|
@@ -1449,6 +1471,11 @@ export namespace EntityCreateParams {
|
|
|
1449
1471
|
* The state that issued the provided driver's license.
|
|
1450
1472
|
*/
|
|
1451
1473
|
state: string;
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1477
|
+
*/
|
|
1478
|
+
back_file_id?: string;
|
|
1452
1479
|
}
|
|
1453
1480
|
|
|
1454
1481
|
/**
|
|
@@ -1468,10 +1495,16 @@ export namespace EntityCreateParams {
|
|
|
1468
1495
|
description: string;
|
|
1469
1496
|
|
|
1470
1497
|
/**
|
|
1471
|
-
* The identifier of the File containing the document.
|
|
1498
|
+
* The identifier of the File containing the front of the document.
|
|
1472
1499
|
*/
|
|
1473
1500
|
file_id: string;
|
|
1474
1501
|
|
|
1502
|
+
/**
|
|
1503
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1504
|
+
* document has a reverse side.
|
|
1505
|
+
*/
|
|
1506
|
+
back_file_id?: string;
|
|
1507
|
+
|
|
1475
1508
|
/**
|
|
1476
1509
|
* The document's expiration date in YYYY-MM-DD format.
|
|
1477
1510
|
*/
|
|
@@ -1733,7 +1766,7 @@ export namespace EntityCreateParams {
|
|
|
1733
1766
|
expiration_date: string;
|
|
1734
1767
|
|
|
1735
1768
|
/**
|
|
1736
|
-
* The identifier of the File containing the driver's license.
|
|
1769
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1737
1770
|
*/
|
|
1738
1771
|
file_id: string;
|
|
1739
1772
|
|
|
@@ -1741,6 +1774,11 @@ export namespace EntityCreateParams {
|
|
|
1741
1774
|
* The state that issued the provided driver's license.
|
|
1742
1775
|
*/
|
|
1743
1776
|
state: string;
|
|
1777
|
+
|
|
1778
|
+
/**
|
|
1779
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1780
|
+
*/
|
|
1781
|
+
back_file_id?: string;
|
|
1744
1782
|
}
|
|
1745
1783
|
|
|
1746
1784
|
/**
|
|
@@ -1760,10 +1798,16 @@ export namespace EntityCreateParams {
|
|
|
1760
1798
|
description: string;
|
|
1761
1799
|
|
|
1762
1800
|
/**
|
|
1763
|
-
* The identifier of the File containing the document.
|
|
1801
|
+
* The identifier of the File containing the front of the document.
|
|
1764
1802
|
*/
|
|
1765
1803
|
file_id: string;
|
|
1766
1804
|
|
|
1805
|
+
/**
|
|
1806
|
+
* The identifier of the File containing the back of the document. Not every
|
|
1807
|
+
* document has a reverse side.
|
|
1808
|
+
*/
|
|
1809
|
+
back_file_id?: string;
|
|
1810
|
+
|
|
1767
1811
|
/**
|
|
1768
1812
|
* The document's expiration date in YYYY-MM-DD format.
|
|
1769
1813
|
*/
|
|
@@ -1917,7 +1961,7 @@ export namespace EntityCreateParams {
|
|
|
1917
1961
|
expiration_date: string;
|
|
1918
1962
|
|
|
1919
1963
|
/**
|
|
1920
|
-
* The identifier of the File containing the driver's license.
|
|
1964
|
+
* The identifier of the File containing the front of the driver's license.
|
|
1921
1965
|
*/
|
|
1922
1966
|
file_id: string;
|
|
1923
1967
|
|
|
@@ -1925,6 +1969,11 @@ export namespace EntityCreateParams {
|
|
|
1925
1969
|
* The state that issued the provided driver's license.
|
|
1926
1970
|
*/
|
|
1927
1971
|
state: string;
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* The identifier of the File containing the back of the driver's license.
|
|
1975
|
+
*/
|
|
1976
|
+
back_file_id?: string;
|
|
1928
1977
|
}
|
|
1929
1978
|
|
|
1930
1979
|
/**
|
|
@@ -1944,10 +1993,16 @@ export namespace EntityCreateParams {
|
|
|
1944
1993
|
description: string;
|
|
1945
1994
|
|
|
1946
1995
|
/**
|
|
1947
|
-
* The identifier of the File containing the document.
|
|
1996
|
+
* The identifier of the File containing the front of the document.
|
|
1948
1997
|
*/
|
|
1949
1998
|
file_id: string;
|
|
1950
1999
|
|
|
2000
|
+
/**
|
|
2001
|
+
* The identifier of the File containing the back of the document. Not every
|
|
2002
|
+
* document has a reverse side.
|
|
2003
|
+
*/
|
|
2004
|
+
back_file_id?: string;
|
|
2005
|
+
|
|
1951
2006
|
/**
|
|
1952
2007
|
* The document's expiration date in YYYY-MM-DD format.
|
|
1953
2008
|
*/
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import * as Entities from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../../core';
|
|
4
|
+
import { APIResource } from '../../resource';
|
|
5
|
+
import * as Entities from './index';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../../pagination';
|
|
8
8
|
|
|
9
9
|
export class SupplementalDocuments extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class EventSubscriptions extends APIResource {
|
|
10
10
|
/**
|
package/src/resources/events.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class Events extends APIResource {
|
|
10
10
|
/**
|
package/src/resources/exports.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class Exports extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class ExternalAccounts extends APIResource {
|
|
10
10
|
/**
|
package/src/resources/files.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { type Uploadable, multipartFormRequestOptions } from '
|
|
8
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { type Uploadable, multipartFormRequestOptions } from '../core';
|
|
8
|
+
import { Page, PageParams } from '../pagination';
|
|
9
9
|
|
|
10
10
|
export class Files extends APIResource {
|
|
11
11
|
/**
|
|
@@ -102,9 +102,9 @@ export interface File {
|
|
|
102
102
|
* apps. This must be a 1536x969 pixel PNG.
|
|
103
103
|
* - `digital_wallet_app_icon` - An icon for you app to be rendered inside digital
|
|
104
104
|
* wallet apps. This must be a 100x100 pixel PNG.
|
|
105
|
-
* - `
|
|
106
|
-
*
|
|
107
|
-
*
|
|
105
|
+
* - `physical_card_front` - A card image to be printed on the front of a physical
|
|
106
|
+
* card. This must be a 2100x1340 pixel PNG with no other color but black.
|
|
107
|
+
* - `physical_card_back` - The image to be printed on the back of a physical card.
|
|
108
108
|
* - `physical_card_carrier` - An image representing the entirety of the carrier
|
|
109
109
|
* used for a physical card. This must be a 2550x3300 pixel PNG with no other
|
|
110
110
|
* color but black.
|
|
@@ -124,7 +124,8 @@ export interface File {
|
|
|
124
124
|
| 'trust_formation_document'
|
|
125
125
|
| 'digital_wallet_artwork'
|
|
126
126
|
| 'digital_wallet_app_icon'
|
|
127
|
-
| '
|
|
127
|
+
| 'physical_card_front'
|
|
128
|
+
| 'physical_card_back'
|
|
128
129
|
| 'physical_card_carrier'
|
|
129
130
|
| 'document_request'
|
|
130
131
|
| 'entity_supplemental_document'
|
|
@@ -159,9 +160,8 @@ export interface FileCreateParams {
|
|
|
159
160
|
* apps. This must be a 1536x969 pixel PNG.
|
|
160
161
|
* - `digital_wallet_app_icon` - An icon for you app to be rendered inside digital
|
|
161
162
|
* wallet apps. This must be a 100x100 pixel PNG.
|
|
162
|
-
* - `
|
|
163
|
-
*
|
|
164
|
-
* black.
|
|
163
|
+
* - `physical_card_front` - A card image to be printed on the front of a physical
|
|
164
|
+
* card. This must be a 2100x1340 pixel PNG with no other color but black.
|
|
165
165
|
* - `physical_card_carrier` - An image representing the entirety of the carrier
|
|
166
166
|
* used for a physical card. This must be a 2550x3300 pixel PNG with no other
|
|
167
167
|
* color but black.
|
|
@@ -178,7 +178,7 @@ export interface FileCreateParams {
|
|
|
178
178
|
| 'trust_formation_document'
|
|
179
179
|
| 'digital_wallet_artwork'
|
|
180
180
|
| 'digital_wallet_app_icon'
|
|
181
|
-
| '
|
|
181
|
+
| 'physical_card_front'
|
|
182
182
|
| 'physical_card_carrier'
|
|
183
183
|
| 'document_request'
|
|
184
184
|
| 'entity_supplemental_document';
|
|
@@ -238,7 +238,8 @@ export namespace FileListParams {
|
|
|
238
238
|
| 'trust_formation_document'
|
|
239
239
|
| 'digital_wallet_artwork'
|
|
240
240
|
| 'digital_wallet_app_icon'
|
|
241
|
-
| '
|
|
241
|
+
| 'physical_card_front'
|
|
242
|
+
| 'physical_card_back'
|
|
242
243
|
| 'physical_card_carrier'
|
|
243
244
|
| 'document_request'
|
|
244
245
|
| 'entity_supplemental_document'
|
package/src/resources/groups.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import * as API from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import * as API from '.';
|
|
6
6
|
|
|
7
7
|
export class Groups extends APIResource {
|
|
8
8
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class InboundACHTransferReturns extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class InboundWireDrawdownRequests extends APIResource {
|
|
10
10
|
/**
|
package/src/resources/limits.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class Limits extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class OauthConnections extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as Shared from '
|
|
7
|
-
import * as API from '
|
|
8
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as Shared from './shared';
|
|
7
|
+
import * as API from '.';
|
|
8
|
+
import { Page, PageParams } from '../pagination';
|
|
9
9
|
|
|
10
10
|
export class PendingTransactions extends APIResource {
|
|
11
11
|
/**
|
|
@@ -365,6 +365,12 @@ export namespace PendingTransaction {
|
|
|
365
365
|
*/
|
|
366
366
|
pending_transaction_id: string | null;
|
|
367
367
|
|
|
368
|
+
/**
|
|
369
|
+
* If the authorization was made in-person with a physical card, the Physical Card
|
|
370
|
+
* that was used.
|
|
371
|
+
*/
|
|
372
|
+
physical_card_id: string | null;
|
|
373
|
+
|
|
368
374
|
/**
|
|
369
375
|
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
370
376
|
* transaction.
|
|
@@ -579,6 +585,12 @@ export namespace PendingTransaction {
|
|
|
579
585
|
* - `complete` - Funds have been released.
|
|
580
586
|
*/
|
|
581
587
|
status: 'held' | 'complete';
|
|
588
|
+
|
|
589
|
+
/**
|
|
590
|
+
* A constant representing the object's type. For this resource it will always be
|
|
591
|
+
* `inbound_funds_hold`.
|
|
592
|
+
*/
|
|
593
|
+
type: 'inbound_funds_hold';
|
|
582
594
|
}
|
|
583
595
|
|
|
584
596
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class Programs extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import * as Shared from '
|
|
6
|
-
import * as API from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import * as Shared from './shared';
|
|
6
|
+
import * as API from '.';
|
|
7
7
|
|
|
8
8
|
export class RealTimeDecisions extends APIResource {
|
|
9
9
|
/**
|
|
@@ -159,6 +159,12 @@ export namespace RealTimeDecision {
|
|
|
159
159
|
*/
|
|
160
160
|
network_details: CardAuthorization.NetworkDetails;
|
|
161
161
|
|
|
162
|
+
/**
|
|
163
|
+
* If the authorization was made in-person with a physical card, the Physical Card
|
|
164
|
+
* that was used.
|
|
165
|
+
*/
|
|
166
|
+
physical_card_id: string | null;
|
|
167
|
+
|
|
162
168
|
/**
|
|
163
169
|
* The amount of the attempted authorization in the currency the card user sees at
|
|
164
170
|
* the time of purchase, in the minor unit of that currency. For dollars, for
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import { isRequestOptions } from '
|
|
6
|
-
import * as API from '
|
|
7
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import { isRequestOptions } from '../core';
|
|
6
|
+
import * as API from '.';
|
|
7
|
+
import { Page, PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class RealTimePaymentsTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -180,6 +180,11 @@ export interface RealTimePaymentsTransfer {
|
|
|
180
180
|
* `real_time_payments_transfer`.
|
|
181
181
|
*/
|
|
182
182
|
type: 'real_time_payments_transfer';
|
|
183
|
+
|
|
184
|
+
/**
|
|
185
|
+
* The unique identifier you chose for this transfer.
|
|
186
|
+
*/
|
|
187
|
+
unique_identifier: string | null;
|
|
183
188
|
}
|
|
184
189
|
|
|
185
190
|
export namespace RealTimePaymentsTransfer {
|
|
@@ -375,6 +380,13 @@ export interface RealTimePaymentsTransferCreateParams {
|
|
|
375
380
|
* Whether the transfer requires explicit approval via the dashboard or API.
|
|
376
381
|
*/
|
|
377
382
|
require_approval?: boolean;
|
|
383
|
+
|
|
384
|
+
/**
|
|
385
|
+
* A unique identifier you choose for the transfer. Reusing this identifer for
|
|
386
|
+
* another transfer will result in an error. You can query for the transfer
|
|
387
|
+
* associated with this identifier using the List endpoint.
|
|
388
|
+
*/
|
|
389
|
+
unique_identifier?: string;
|
|
378
390
|
}
|
|
379
391
|
|
|
380
392
|
export interface RealTimePaymentsTransferListParams extends PageParams {
|
|
@@ -390,6 +402,11 @@ export interface RealTimePaymentsTransferListParams extends PageParams {
|
|
|
390
402
|
* Account.
|
|
391
403
|
*/
|
|
392
404
|
external_account_id?: string;
|
|
405
|
+
|
|
406
|
+
/**
|
|
407
|
+
* Filter ACH Transfers to the one with the specified unique identifier.
|
|
408
|
+
*/
|
|
409
|
+
unique_identifier?: string;
|
|
393
410
|
}
|
|
394
411
|
|
|
395
412
|
export namespace RealTimePaymentsTransferListParams {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import * as API from '
|
|
6
|
-
import { Page, PageParams } from '
|
|
3
|
+
import * as Core from '../core';
|
|
4
|
+
import { APIResource } from '../resource';
|
|
5
|
+
import * as API from '.';
|
|
6
|
+
import { Page, PageParams } from '../pagination';
|
|
7
7
|
|
|
8
8
|
export class RoutingNumbers extends APIResource {
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import * as AccountStatements_ from '
|
|
6
|
-
import * as API from '
|
|
3
|
+
import * as Core from '../../core';
|
|
4
|
+
import { APIResource } from '../../resource';
|
|
5
|
+
import * as AccountStatements_ from '../account-statements';
|
|
6
|
+
import * as API from '.';
|
|
7
7
|
|
|
8
8
|
export class AccountStatements extends APIResource {
|
|
9
9
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import * as AccountTransfers_ from '
|
|
3
|
+
import * as Core from '../../core';
|
|
4
|
+
import { APIResource } from '../../resource';
|
|
5
|
+
import * as AccountTransfers_ from '../account-transfers';
|
|
6
6
|
|
|
7
7
|
export class AccountTransfers extends APIResource {
|
|
8
8
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '
|
|
4
|
-
import { APIResource } from '
|
|
5
|
-
import * as ACHTransfers_ from '
|
|
6
|
-
import * as Shared from '
|
|
7
|
-
import * as API from '
|
|
3
|
+
import * as Core from '../../core';
|
|
4
|
+
import { APIResource } from '../../resource';
|
|
5
|
+
import * as ACHTransfers_ from '../ach-transfers';
|
|
6
|
+
import * as Shared from '../shared';
|
|
7
|
+
import * as API from '.';
|
|
8
8
|
|
|
9
9
|
export class ACHTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -364,6 +364,12 @@ export namespace ACHTransferSimulation {
|
|
|
364
364
|
*/
|
|
365
365
|
network_details: CardDecline.NetworkDetails;
|
|
366
366
|
|
|
367
|
+
/**
|
|
368
|
+
* If the authorization was made in-person with a physical card, the Physical Card
|
|
369
|
+
* that was used.
|
|
370
|
+
*/
|
|
371
|
+
physical_card_id: string | null;
|
|
372
|
+
|
|
367
373
|
/**
|
|
368
374
|
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
369
375
|
* transaction.
|