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.
Files changed (182) hide show
  1. package/CHANGELOG.md +275 -0
  2. package/LICENSE +201 -0
  3. package/README.md +243 -0
  4. package/_shims/formdata.node.d.ts +1 -0
  5. package/core.d.ts +9 -1
  6. package/core.d.ts.map +1 -1
  7. package/core.js +61 -18
  8. package/core.js.map +1 -1
  9. package/core.mjs +59 -18
  10. package/core.mjs.map +1 -1
  11. package/error.d.ts +17 -0
  12. package/error.d.ts.map +1 -1
  13. package/error.js +24 -0
  14. package/error.js.map +1 -1
  15. package/error.mjs +20 -0
  16. package/error.mjs.map +1 -1
  17. package/index.d.mts +13 -1
  18. package/index.d.ts +13 -1
  19. package/index.d.ts.map +1 -1
  20. package/index.js +11 -1
  21. package/index.js.map +1 -1
  22. package/index.mjs +8 -0
  23. package/index.mjs.map +1 -1
  24. package/package.json +2 -2
  25. package/resources/account-transfers.d.ts +14 -0
  26. package/resources/account-transfers.d.ts.map +1 -1
  27. package/resources/account-transfers.js.map +1 -1
  28. package/resources/account-transfers.mjs.map +1 -1
  29. package/resources/ach-transfers.d.ts +42 -1
  30. package/resources/ach-transfers.d.ts.map +1 -1
  31. package/resources/ach-transfers.js.map +1 -1
  32. package/resources/ach-transfers.mjs.map +1 -1
  33. package/resources/bookkeeping-entry-sets.d.ts +2 -2
  34. package/resources/card-profiles.d.ts +46 -0
  35. package/resources/card-profiles.d.ts.map +1 -1
  36. package/resources/card-profiles.js.map +1 -1
  37. package/resources/card-profiles.mjs.map +1 -1
  38. package/resources/check-transfers.d.ts +14 -0
  39. package/resources/check-transfers.d.ts.map +1 -1
  40. package/resources/check-transfers.js.map +1 -1
  41. package/resources/check-transfers.mjs.map +1 -1
  42. package/resources/declined-transactions.d.ts +5 -0
  43. package/resources/declined-transactions.d.ts.map +1 -1
  44. package/resources/declined-transactions.js.map +1 -1
  45. package/resources/declined-transactions.mjs.map +1 -1
  46. package/resources/entities/entities.d.ts +55 -10
  47. package/resources/entities/entities.d.ts.map +1 -1
  48. package/resources/entities/entities.js.map +1 -1
  49. package/resources/entities/entities.mjs.map +1 -1
  50. package/resources/files.d.ts +10 -9
  51. package/resources/files.d.ts.map +1 -1
  52. package/resources/files.js.map +1 -1
  53. package/resources/files.mjs.map +1 -1
  54. package/resources/pending-transactions.d.ts +10 -0
  55. package/resources/pending-transactions.d.ts.map +1 -1
  56. package/resources/pending-transactions.js.map +1 -1
  57. package/resources/pending-transactions.mjs.map +1 -1
  58. package/resources/real-time-decisions.d.ts +5 -0
  59. package/resources/real-time-decisions.d.ts.map +1 -1
  60. package/resources/real-time-decisions.js.map +1 -1
  61. package/resources/real-time-decisions.mjs.map +1 -1
  62. package/resources/real-time-payments-transfers.d.ts +14 -0
  63. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  64. package/resources/real-time-payments-transfers.js.map +1 -1
  65. package/resources/real-time-payments-transfers.mjs.map +1 -1
  66. package/resources/simulations/ach-transfers.d.ts +5 -0
  67. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  68. package/resources/simulations/ach-transfers.js.map +1 -1
  69. package/resources/simulations/ach-transfers.mjs.map +1 -1
  70. package/resources/simulations/cards.d.ts +19 -0
  71. package/resources/simulations/cards.d.ts.map +1 -1
  72. package/resources/simulations/cards.js.map +1 -1
  73. package/resources/simulations/cards.mjs.map +1 -1
  74. package/resources/simulations/inbound-funds-holds.d.ts +74 -0
  75. package/resources/simulations/inbound-funds-holds.d.ts.map +1 -0
  76. package/resources/simulations/inbound-funds-holds.js +19 -0
  77. package/resources/simulations/inbound-funds-holds.js.map +1 -0
  78. package/resources/simulations/inbound-funds-holds.mjs +13 -0
  79. package/resources/simulations/inbound-funds-holds.mjs.map +1 -0
  80. package/resources/simulations/index.d.ts +1 -0
  81. package/resources/simulations/index.d.ts.map +1 -1
  82. package/resources/simulations/index.js +8 -0
  83. package/resources/simulations/index.js.map +1 -1
  84. package/resources/simulations/index.mjs +1 -0
  85. package/resources/simulations/index.mjs.map +1 -1
  86. package/resources/simulations/real-time-payments-transfers.d.ts +5 -0
  87. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  88. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  89. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  90. package/resources/simulations/simulations.d.ts +4 -0
  91. package/resources/simulations/simulations.d.ts.map +1 -1
  92. package/resources/simulations/simulations.js +3 -0
  93. package/resources/simulations/simulations.js.map +1 -1
  94. package/resources/simulations/simulations.mjs +3 -0
  95. package/resources/simulations/simulations.mjs.map +1 -1
  96. package/resources/wire-transfers.d.ts +14 -0
  97. package/resources/wire-transfers.d.ts.map +1 -1
  98. package/resources/wire-transfers.js.map +1 -1
  99. package/resources/wire-transfers.mjs.map +1 -1
  100. package/src/_shims/fileFromPath.node.ts +1 -1
  101. package/src/_shims/fileFromPath.ts +1 -1
  102. package/src/_shims/formdata.node.d.ts +1 -0
  103. package/src/_shims/getMultipartRequestOptions.node.ts +1 -1
  104. package/src/_shims/getMultipartRequestOptions.ts +1 -1
  105. package/src/core.ts +63 -18
  106. package/src/error.ts +40 -0
  107. package/src/index.ts +16 -1
  108. package/src/resources/account-numbers.ts +5 -5
  109. package/src/resources/account-statements.ts +5 -5
  110. package/src/resources/account-transfers.ts +22 -5
  111. package/src/resources/accounts.ts +5 -5
  112. package/src/resources/ach-prenotifications.ts +5 -5
  113. package/src/resources/ach-transfers.ts +50 -6
  114. package/src/resources/balance-lookups.ts +3 -3
  115. package/src/resources/bookkeeping-accounts.ts +5 -5
  116. package/src/resources/bookkeeping-entries.ts +5 -5
  117. package/src/resources/bookkeeping-entry-sets.ts +5 -5
  118. package/src/resources/card-disputes.ts +5 -5
  119. package/src/resources/card-profiles.ts +60 -5
  120. package/src/resources/cards.ts +5 -5
  121. package/src/resources/check-deposits.ts +5 -5
  122. package/src/resources/check-transfers.ts +22 -5
  123. package/src/resources/declined-transactions.ts +12 -6
  124. package/src/resources/digital-wallet-tokens.ts +5 -5
  125. package/src/resources/documents.ts +5 -5
  126. package/src/resources/entities/entities.ts +70 -15
  127. package/src/resources/entities/supplemental-documents.ts +5 -5
  128. package/src/resources/event-subscriptions.ts +5 -5
  129. package/src/resources/events.ts +5 -5
  130. package/src/resources/exports.ts +5 -5
  131. package/src/resources/external-accounts.ts +5 -5
  132. package/src/resources/files.ts +16 -15
  133. package/src/resources/groups.ts +3 -3
  134. package/src/resources/inbound-ach-transfer-returns.ts +5 -5
  135. package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
  136. package/src/resources/limits.ts +5 -5
  137. package/src/resources/oauth-connections.ts +5 -5
  138. package/src/resources/pending-transactions.ts +18 -6
  139. package/src/resources/programs.ts +5 -5
  140. package/src/resources/real-time-decisions.ts +10 -4
  141. package/src/resources/real-time-payments-transfers.ts +22 -5
  142. package/src/resources/routing-numbers.ts +4 -4
  143. package/src/resources/simulations/account-statements.ts +4 -4
  144. package/src/resources/simulations/account-transfers.ts +3 -3
  145. package/src/resources/simulations/ach-transfers.ts +11 -5
  146. package/src/resources/simulations/card-disputes.ts +4 -4
  147. package/src/resources/simulations/card-profiles.ts +3 -3
  148. package/src/resources/simulations/card-refunds.ts +4 -4
  149. package/src/resources/simulations/cards.ts +28 -5
  150. package/src/resources/simulations/check-deposits.ts +3 -3
  151. package/src/resources/simulations/check-transfers.ts +3 -3
  152. package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
  153. package/src/resources/simulations/documents.ts +4 -4
  154. package/src/resources/simulations/inbound-funds-holds.ts +88 -0
  155. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
  156. package/src/resources/simulations/index.ts +1 -0
  157. package/src/resources/simulations/interest-payments.ts +3 -3
  158. package/src/resources/simulations/programs.ts +4 -4
  159. package/src/resources/simulations/real-time-payments-transfers.ts +11 -5
  160. package/src/resources/simulations/simulations.ts +7 -2
  161. package/src/resources/simulations/wire-transfers.ts +3 -3
  162. package/src/resources/transactions.ts +5 -5
  163. package/src/resources/wire-drawdown-requests.ts +5 -5
  164. package/src/resources/wire-transfers.ts +22 -5
  165. package/src/uploads.ts +11 -10
  166. package/src/version.ts +1 -1
  167. package/uploads.d.ts +2 -2
  168. package/uploads.d.ts.map +1 -1
  169. package/uploads.js +3 -2
  170. package/uploads.js.map +1 -1
  171. package/uploads.mjs +3 -2
  172. package/uploads.mjs.map +1 -1
  173. package/version.d.ts +1 -1
  174. package/version.js +1 -1
  175. package/version.mjs +1 -1
  176. package/src/streaming.ts +0 -204
  177. package/streaming.d.ts +0 -14
  178. package/streaming.d.ts.map +0 -1
  179. package/streaming.js +0 -155
  180. package/streaming.js.map +0 -1
  181. package/streaming.mjs +0 -151
  182. 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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
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 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as Entities from 'increase/resources/entities/index';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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
  /**
@@ -1,11 +1,11 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { type Uploadable, multipartFormRequestOptions } from 'increase/core';
8
- import { Page, PageParams } from 'increase/pagination';
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
- * - `physical_card_artwork` - A card image to be printed on the front of a
106
- * physical card. This must be a 2100x1340 pixel PNG with no other color but
107
- * black.
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
- | 'physical_card_artwork'
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
- * - `physical_card_artwork` - A card image to be printed on the front of a
163
- * physical card. This must be a 2100x1340 pixel PNG with no other color but
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
- | 'physical_card_artwork'
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
- | 'physical_card_artwork'
241
+ | 'physical_card_front'
242
+ | 'physical_card_back'
242
243
  | 'physical_card_carrier'
243
244
  | 'document_request'
244
245
  | 'entity_supplemental_document'
@@ -1,8 +1,8 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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
  /**
@@ -1,10 +1,10 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
2
 
3
- import * as Core from 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as Shared from 'increase/resources/shared';
7
- import * as API from './';
8
- import { Page, PageParams } from 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as Shared from 'increase/resources/shared';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import { isRequestOptions } from 'increase/core';
6
- import * as API from './';
7
- import { Page, PageParams } from 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as API from './';
6
- import { Page, PageParams } from 'increase/pagination';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as AccountStatements_ from 'increase/resources/account-statements';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as AccountTransfers_ from 'increase/resources/account-transfers';
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 'increase/core';
4
- import { APIResource } from 'increase/resource';
5
- import * as ACHTransfers_ from 'increase/resources/ach-transfers';
6
- import * as Shared from 'increase/resources/shared';
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.