increase 0.582.0 → 0.583.0

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 (101) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/package.json +1 -1
  3. package/resources/accounts.d.mts +2 -1
  4. package/resources/accounts.d.mts.map +1 -1
  5. package/resources/accounts.d.ts +2 -1
  6. package/resources/accounts.d.ts.map +1 -1
  7. package/resources/beneficial-owners.d.mts +4 -0
  8. package/resources/beneficial-owners.d.mts.map +1 -1
  9. package/resources/beneficial-owners.d.ts +4 -0
  10. package/resources/beneficial-owners.d.ts.map +1 -1
  11. package/resources/check-transfers.d.mts +4 -1
  12. package/resources/check-transfers.d.mts.map +1 -1
  13. package/resources/check-transfers.d.ts +4 -1
  14. package/resources/check-transfers.d.ts.map +1 -1
  15. package/resources/check-transfers.js +4 -1
  16. package/resources/check-transfers.js.map +1 -1
  17. package/resources/check-transfers.mjs +4 -1
  18. package/resources/check-transfers.mjs.map +1 -1
  19. package/resources/entities.d.mts +17 -2
  20. package/resources/entities.d.mts.map +1 -1
  21. package/resources/entities.d.ts +17 -2
  22. package/resources/entities.d.ts.map +1 -1
  23. package/resources/event-subscriptions.d.mts +10 -2
  24. package/resources/event-subscriptions.d.mts.map +1 -1
  25. package/resources/event-subscriptions.d.ts +10 -2
  26. package/resources/event-subscriptions.d.ts.map +1 -1
  27. package/resources/events.d.mts +11 -3
  28. package/resources/events.d.mts.map +1 -1
  29. package/resources/events.d.ts +11 -3
  30. package/resources/events.d.ts.map +1 -1
  31. package/resources/external-accounts.d.mts +1 -1
  32. package/resources/external-accounts.d.ts +1 -1
  33. package/resources/files.d.mts +8 -6
  34. package/resources/files.d.mts.map +1 -1
  35. package/resources/files.d.ts +8 -6
  36. package/resources/files.d.ts.map +1 -1
  37. package/resources/inbound-check-deposits.d.mts +6 -0
  38. package/resources/inbound-check-deposits.d.mts.map +1 -1
  39. package/resources/inbound-check-deposits.d.ts +6 -0
  40. package/resources/inbound-check-deposits.d.ts.map +1 -1
  41. package/resources/physical-card-profiles.d.mts +6 -2
  42. package/resources/physical-card-profiles.d.mts.map +1 -1
  43. package/resources/physical-card-profiles.d.ts +6 -2
  44. package/resources/physical-card-profiles.d.ts.map +1 -1
  45. package/resources/programs.d.mts +2 -1
  46. package/resources/programs.d.mts.map +1 -1
  47. package/resources/programs.d.ts +2 -1
  48. package/resources/programs.d.ts.map +1 -1
  49. package/resources/routing-numbers.d.mts +7 -0
  50. package/resources/routing-numbers.d.mts.map +1 -1
  51. package/resources/routing-numbers.d.ts +7 -0
  52. package/resources/routing-numbers.d.ts.map +1 -1
  53. package/resources/simulations/ach-transfers.d.mts +0 -1
  54. package/resources/simulations/ach-transfers.d.mts.map +1 -1
  55. package/resources/simulations/ach-transfers.d.ts +0 -1
  56. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  57. package/resources/simulations/check-deposits.d.mts +1 -2
  58. package/resources/simulations/check-deposits.d.mts.map +1 -1
  59. package/resources/simulations/check-deposits.d.ts +1 -2
  60. package/resources/simulations/check-deposits.d.ts.map +1 -1
  61. package/resources/simulations/inbound-check-deposits.d.mts +5 -4
  62. package/resources/simulations/inbound-check-deposits.d.mts.map +1 -1
  63. package/resources/simulations/inbound-check-deposits.d.ts +5 -4
  64. package/resources/simulations/inbound-check-deposits.d.ts.map +1 -1
  65. package/resources/simulations/inbound-check-deposits.js +5 -4
  66. package/resources/simulations/inbound-check-deposits.js.map +1 -1
  67. package/resources/simulations/inbound-check-deposits.mjs +5 -4
  68. package/resources/simulations/inbound-check-deposits.mjs.map +1 -1
  69. package/resources/simulations/programs.d.mts +2 -1
  70. package/resources/simulations/programs.d.mts.map +1 -1
  71. package/resources/simulations/programs.d.ts +2 -1
  72. package/resources/simulations/programs.d.ts.map +1 -1
  73. package/resources/wire-drawdown-requests.d.mts +4 -4
  74. package/resources/wire-drawdown-requests.d.ts +4 -4
  75. package/resources/wire-transfers.d.mts +6 -2
  76. package/resources/wire-transfers.d.mts.map +1 -1
  77. package/resources/wire-transfers.d.ts +6 -2
  78. package/resources/wire-transfers.d.ts.map +1 -1
  79. package/src/resources/accounts.ts +2 -1
  80. package/src/resources/beneficial-owners.ts +4 -0
  81. package/src/resources/check-transfers.ts +4 -1
  82. package/src/resources/entities.ts +17 -2
  83. package/src/resources/event-subscriptions.ts +12 -0
  84. package/src/resources/events.ts +14 -0
  85. package/src/resources/external-accounts.ts +1 -1
  86. package/src/resources/files.ts +8 -6
  87. package/src/resources/inbound-check-deposits.ts +7 -0
  88. package/src/resources/physical-card-profiles.ts +6 -2
  89. package/src/resources/programs.ts +2 -1
  90. package/src/resources/routing-numbers.ts +8 -0
  91. package/src/resources/simulations/ach-transfers.ts +0 -1
  92. package/src/resources/simulations/check-deposits.ts +1 -2
  93. package/src/resources/simulations/inbound-check-deposits.ts +5 -4
  94. package/src/resources/simulations/programs.ts +2 -1
  95. package/src/resources/wire-drawdown-requests.ts +4 -4
  96. package/src/resources/wire-transfers.ts +10 -2
  97. package/src/version.ts +1 -1
  98. package/version.d.mts +1 -1
  99. package/version.d.ts +1 -1
  100. package/version.js +1 -1
  101. package/version.mjs +1 -1
@@ -122,6 +122,13 @@ export interface InboundCheckDeposit {
122
122
  */
123
123
  amount: number;
124
124
 
125
+ /**
126
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
127
+ * the Inbound Check Deposit will be automatically resolved if it has not been
128
+ * actioned by then.
129
+ */
130
+ automatically_resolves_at: string;
131
+
125
132
  /**
126
133
  * The ID for the File containing the image of the back of the check.
127
134
  */
@@ -229,7 +229,9 @@ export namespace PhysicalCardProfile {
229
229
 
230
230
  export interface PhysicalCardProfileCreateParams {
231
231
  /**
232
- * The identifier of the File containing the physical card's carrier image.
232
+ * The identifier of the File containing the physical card's carrier image. This
233
+ * must have `purpose: physical_card_carrier` and be a 2550x3300 pixel PNG with a
234
+ * density of 300 dots per inch (DPI).
233
235
  */
234
236
  carrier_image_file_id: string;
235
237
 
@@ -244,7 +246,9 @@ export interface PhysicalCardProfileCreateParams {
244
246
  description: string;
245
247
 
246
248
  /**
247
- * The identifier of the File containing the physical card's front image.
249
+ * The identifier of the File containing the physical card's front image. This must
250
+ * have `purpose: physical_card_front` and be a 2100x1344 pixel PNG with a density
251
+ * of 600 dots per inch (DPI).
248
252
  */
249
253
  front_image_file_id: string;
250
254
 
@@ -60,8 +60,9 @@ export interface Program {
60
60
  * - `core_bank` - Core Bank
61
61
  * - `first_internet_bank` - First Internet Bank of Indiana
62
62
  * - `grasshopper_bank` - Grasshopper Bank
63
+ * - `increase_bank` - Increase Bank
63
64
  */
64
- bank: 'core_bank' | 'first_internet_bank' | 'grasshopper_bank';
65
+ bank: 'core_bank' | 'first_internet_bank' | 'grasshopper_bank' | 'increase_bank';
65
66
 
66
67
  /**
67
68
  * The Program billing account.
@@ -60,6 +60,14 @@ export interface RoutingNumberListResponse {
60
60
  */
61
61
  name: string;
62
62
 
63
+ /**
64
+ * This routing number's support for Real-Time Payments Requests for Payment.
65
+ *
66
+ * - `supported` - The routing number can receive this transfer type.
67
+ * - `not_supported` - The routing number cannot receive this transfer type.
68
+ */
69
+ real_time_payments_request_for_payment: 'supported' | 'not_supported';
70
+
63
71
  /**
64
72
  * This routing number's support for Real-Time Payments Transfers.
65
73
  *
@@ -156,7 +156,6 @@ export interface ACHTransferReturnParams {
156
156
 
157
157
  /**
158
158
  * The reason why the Federal Reserve or destination bank returned this transfer.
159
- * Defaults to `no_account`.
160
159
  *
161
160
  * - `insufficient_fund` - Code R01. Insufficient funds in the receiving account.
162
161
  * Sometimes abbreviated to "NSF."
@@ -99,8 +99,7 @@ export interface CheckDepositAdjustmentParams {
99
99
  amount?: number;
100
100
 
101
101
  /**
102
- * The reason for the adjustment. Defaults to `non_conforming_item`, which is often
103
- * used for a low quality image that the recipient wasn't able to handle.
102
+ * The reason for the adjustment.
104
103
  *
105
104
  * - `late_return` - The return was initiated too late and the receiving
106
105
  * institution has responded with a Late Return Claim.
@@ -10,10 +10,11 @@ export class InboundCheckDeposits extends APIResource {
10
10
  /**
11
11
  * Simulates an Inbound Check Deposit against your account. This imitates someone
12
12
  * depositing a check at their bank that was issued from your account. It may or
13
- * may not be associated with a Check Transfer. Increase will evaluate the Inbound
14
- * Check Deposit as we would in production and either create a Transaction or a
15
- * Declined Transaction as a result. You can inspect the resulting Inbound Check
16
- * Deposit object to see the result.
13
+ * may not be associated with a Check Transfer. The resulting Inbound Check Deposit
14
+ * will have a `status` of `pending`, and after an hour Increase will evaluate it
15
+ * as we would in production and either create a Transaction or a Declined
16
+ * Transaction as a result. To resolve it sooner, use the simulation to accept an
17
+ * Inbound Check Deposit or the API to decline one.
17
18
  *
18
19
  * @example
19
20
  * ```ts
@@ -36,8 +36,9 @@ export interface ProgramCreateParams {
36
36
  * - `core_bank` - Core Bank
37
37
  * - `first_internet_bank` - First Internet Bank of Indiana
38
38
  * - `grasshopper_bank` - Grasshopper Bank
39
+ * - `increase_bank` - Increase Bank
39
40
  */
40
- bank?: 'core_bank' | 'first_internet_bank' | 'grasshopper_bank';
41
+ bank?: 'core_bank' | 'first_internet_bank' | 'grasshopper_bank' | 'increase_bank';
41
42
 
42
43
  /**
43
44
  * The maximum extendable credit of the program being added.
@@ -234,7 +234,7 @@ export namespace WireDrawdownRequest {
234
234
  line2: string | null;
235
235
 
236
236
  /**
237
- * The ZIP code of the address.
237
+ * The postal code of the address.
238
238
  */
239
239
  postal_code: string | null;
240
240
 
@@ -271,7 +271,7 @@ export namespace WireDrawdownRequest {
271
271
  line2: string | null;
272
272
 
273
273
  /**
274
- * The ZIP code of the address.
274
+ * The postal code of the address.
275
275
  */
276
276
  postal_code: string | null;
277
277
 
@@ -394,7 +394,7 @@ export namespace WireDrawdownRequestCreateParams {
394
394
  line2?: string;
395
395
 
396
396
  /**
397
- * The ZIP code of the address.
397
+ * The postal code of the address.
398
398
  */
399
399
  postal_code?: string;
400
400
 
@@ -431,7 +431,7 @@ export namespace WireDrawdownRequestCreateParams {
431
431
  line2?: string;
432
432
 
433
433
  /**
434
- * The ZIP code of the address.
434
+ * The postal code of the address.
435
435
  */
436
436
  postal_code?: string;
437
437
 
@@ -381,6 +381,8 @@ export namespace WireTransfer {
381
381
  * Unstructured address lines.
382
382
  */
383
383
  unstructured: Address.Unstructured | null;
384
+
385
+ [k: string]: unknown;
384
386
  }
385
387
 
386
388
  export namespace Address {
@@ -430,6 +432,8 @@ export namespace WireTransfer {
430
432
  * Unstructured address lines.
431
433
  */
432
434
  unstructured: Address.Unstructured | null;
435
+
436
+ [k: string]: unknown;
433
437
  }
434
438
 
435
439
  export namespace Address {
@@ -704,7 +708,9 @@ export namespace WireTransferCreateParams {
704
708
  /**
705
709
  * Unstructured address lines.
706
710
  */
707
- unstructured: Address.Unstructured;
711
+ unstructured?: Address.Unstructured;
712
+
713
+ [k: string]: unknown;
708
714
  }
709
715
 
710
716
  export namespace Address {
@@ -818,7 +824,9 @@ export namespace WireTransferCreateParams {
818
824
  /**
819
825
  * Unstructured address lines.
820
826
  */
821
- unstructured: Address.Unstructured;
827
+ unstructured?: Address.Unstructured;
828
+
829
+ [k: string]: unknown;
822
830
  }
823
831
 
824
832
  export namespace Address {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.582.0'; // x-release-please-version
1
+ export const VERSION = '0.583.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.582.0";
1
+ export declare const VERSION = "0.583.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.582.0";
1
+ export declare const VERSION = "0.583.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.582.0'; // x-release-please-version
4
+ exports.VERSION = '0.583.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.582.0'; // x-release-please-version
1
+ export const VERSION = '0.583.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map