increase 0.10.1 → 0.10.2

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 (162) hide show
  1. package/CHANGELOG.md +13 -0
  2. package/core.d.ts +6 -3
  3. package/core.d.ts.map +1 -1
  4. package/core.js +13 -6
  5. package/core.js.map +1 -1
  6. package/core.mjs +13 -6
  7. package/core.mjs.map +1 -1
  8. package/index.d.mts +8 -4
  9. package/index.d.ts +8 -4
  10. package/index.d.ts.map +1 -1
  11. package/index.js +6 -3
  12. package/index.js.map +1 -1
  13. package/index.mjs +6 -3
  14. package/index.mjs.map +1 -1
  15. package/package.json +1 -1
  16. package/resources/account-transfers.d.ts +8 -1
  17. package/resources/account-transfers.d.ts.map +1 -1
  18. package/resources/account-transfers.js.map +1 -1
  19. package/resources/account-transfers.mjs.map +1 -1
  20. package/resources/ach-prenotifications.d.ts +2 -2
  21. package/resources/ach-transfers.d.ts +11 -4
  22. package/resources/ach-transfers.d.ts.map +1 -1
  23. package/resources/ach-transfers.js.map +1 -1
  24. package/resources/ach-transfers.mjs.map +1 -1
  25. package/resources/card-purchase-supplements.d.ts +1 -1
  26. package/resources/check-transfers.d.ts +6 -3
  27. package/resources/check-transfers.d.ts.map +1 -1
  28. package/resources/check-transfers.js.map +1 -1
  29. package/resources/check-transfers.mjs.map +1 -1
  30. package/resources/declined-transactions.d.ts +90 -16
  31. package/resources/declined-transactions.d.ts.map +1 -1
  32. package/resources/declined-transactions.js.map +1 -1
  33. package/resources/declined-transactions.mjs.map +1 -1
  34. package/resources/digital-wallet-tokens.d.ts +1 -1
  35. package/resources/entities/beneficial-owners.d.ts +24 -5
  36. package/resources/entities/beneficial-owners.d.ts.map +1 -1
  37. package/resources/entities/beneficial-owners.js +8 -2
  38. package/resources/entities/beneficial-owners.js.map +1 -1
  39. package/resources/entities/beneficial-owners.mjs +8 -2
  40. package/resources/entities/beneficial-owners.mjs.map +1 -1
  41. package/resources/entities/entities.d.ts +19 -14
  42. package/resources/entities/entities.d.ts.map +1 -1
  43. package/resources/entities/entities.js.map +1 -1
  44. package/resources/entities/entities.mjs.map +1 -1
  45. package/resources/entities/index.d.ts +5 -1
  46. package/resources/entities/index.d.ts.map +1 -1
  47. package/resources/entities/index.js.map +1 -1
  48. package/resources/entities/index.mjs.map +1 -1
  49. package/resources/entities/supplemental-documents.d.ts +1 -1
  50. package/resources/entities/supplemental-documents.js +1 -1
  51. package/resources/entities/supplemental-documents.mjs +1 -1
  52. package/resources/event-subscriptions.d.ts +22 -10
  53. package/resources/event-subscriptions.d.ts.map +1 -1
  54. package/resources/event-subscriptions.js.map +1 -1
  55. package/resources/event-subscriptions.mjs.map +1 -1
  56. package/resources/events.d.ts +13 -5
  57. package/resources/events.d.ts.map +1 -1
  58. package/resources/events.js.map +1 -1
  59. package/resources/events.mjs.map +1 -1
  60. package/resources/external-accounts.d.ts +2 -2
  61. package/resources/inbound-ach-transfer-returns.d.ts +1 -47
  62. package/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
  63. package/resources/inbound-ach-transfer-returns.js +0 -6
  64. package/resources/inbound-ach-transfer-returns.js.map +1 -1
  65. package/resources/inbound-ach-transfer-returns.mjs +0 -6
  66. package/resources/inbound-ach-transfer-returns.mjs.map +1 -1
  67. package/resources/inbound-ach-transfers.d.ts +303 -0
  68. package/resources/inbound-ach-transfers.d.ts.map +1 -0
  69. package/resources/inbound-ach-transfers.js +40 -0
  70. package/resources/inbound-ach-transfers.js.map +1 -0
  71. package/resources/inbound-ach-transfers.mjs +33 -0
  72. package/resources/inbound-ach-transfers.mjs.map +1 -0
  73. package/resources/index.d.ts +7 -2
  74. package/resources/index.d.ts.map +1 -1
  75. package/resources/index.js +16 -29
  76. package/resources/index.js.map +1 -1
  77. package/resources/index.mjs +1 -1
  78. package/resources/index.mjs.map +1 -1
  79. package/resources/pending-transactions.d.ts +50 -8
  80. package/resources/pending-transactions.d.ts.map +1 -1
  81. package/resources/pending-transactions.js.map +1 -1
  82. package/resources/pending-transactions.mjs.map +1 -1
  83. package/resources/real-time-decisions.d.ts +28 -4
  84. package/resources/real-time-decisions.d.ts.map +1 -1
  85. package/resources/real-time-decisions.js.map +1 -1
  86. package/resources/real-time-decisions.mjs.map +1 -1
  87. package/resources/real-time-payments-transfers.d.ts +49 -42
  88. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  89. package/resources/real-time-payments-transfers.js +2 -2
  90. package/resources/real-time-payments-transfers.js.map +1 -1
  91. package/resources/real-time-payments-transfers.mjs +2 -2
  92. package/resources/real-time-payments-transfers.mjs.map +1 -1
  93. package/resources/routing-numbers.d.ts +1 -1
  94. package/resources/simulations/ach-transfers.d.ts +91 -33
  95. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  96. package/resources/simulations/ach-transfers.js.map +1 -1
  97. package/resources/simulations/ach-transfers.mjs.map +1 -1
  98. package/resources/simulations/cards.d.ts +106 -23
  99. package/resources/simulations/cards.d.ts.map +1 -1
  100. package/resources/simulations/cards.js.map +1 -1
  101. package/resources/simulations/cards.mjs.map +1 -1
  102. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +1 -1
  103. package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
  104. package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
  105. package/resources/simulations/interest-payments.d.ts +16 -16
  106. package/resources/simulations/interest-payments.d.ts.map +1 -1
  107. package/resources/simulations/real-time-payments-transfers.d.ts +122 -64
  108. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  109. package/resources/simulations/real-time-payments-transfers.js +2 -2
  110. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  111. package/resources/simulations/real-time-payments-transfers.mjs +2 -2
  112. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  113. package/resources/simulations/wire-transfers.d.ts +16 -16
  114. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  115. package/resources/transactions.d.ts +16 -16
  116. package/resources/transactions.d.ts.map +1 -1
  117. package/resources/wire-transfers.d.ts +9 -2
  118. package/resources/wire-transfers.d.ts.map +1 -1
  119. package/resources/wire-transfers.js.map +1 -1
  120. package/resources/wire-transfers.mjs.map +1 -1
  121. package/src/core.ts +18 -6
  122. package/src/index.ts +10 -6
  123. package/src/resources/account-transfers.ts +9 -1
  124. package/src/resources/ach-prenotifications.ts +2 -2
  125. package/src/resources/ach-transfers.ts +12 -4
  126. package/src/resources/card-purchase-supplements.ts +1 -1
  127. package/src/resources/check-transfers.ts +6 -3
  128. package/src/resources/declined-transactions.ts +94 -16
  129. package/src/resources/digital-wallet-tokens.ts +1 -1
  130. package/src/resources/entities/beneficial-owners.ts +31 -6
  131. package/src/resources/entities/entities.ts +20 -14
  132. package/src/resources/entities/index.ts +5 -1
  133. package/src/resources/entities/supplemental-documents.ts +1 -1
  134. package/src/resources/event-subscriptions.ts +22 -10
  135. package/src/resources/events.ts +13 -5
  136. package/src/resources/external-accounts.ts +2 -2
  137. package/src/resources/inbound-ach-transfer-returns.ts +1 -52
  138. package/src/resources/inbound-ach-transfers.ts +359 -0
  139. package/src/resources/index.ts +7 -2
  140. package/src/resources/pending-transactions.ts +52 -8
  141. package/src/resources/real-time-decisions.ts +28 -4
  142. package/src/resources/real-time-payments-transfers.ts +50 -42
  143. package/src/resources/routing-numbers.ts +1 -1
  144. package/src/resources/simulations/ach-transfers.ts +93 -33
  145. package/src/resources/simulations/cards.ts +108 -23
  146. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
  147. package/src/resources/simulations/interest-payments.ts +16 -16
  148. package/src/resources/simulations/real-time-payments-transfers.ts +124 -64
  149. package/src/resources/simulations/wire-transfers.ts +16 -16
  150. package/src/resources/transactions.ts +16 -16
  151. package/src/resources/wire-transfers.ts +10 -2
  152. package/src/version.ts +1 -1
  153. package/version.d.ts +1 -1
  154. package/version.js +1 -1
  155. package/version.mjs +1 -1
  156. package/resources/shared.d.ts +0 -31
  157. package/resources/shared.d.ts.map +0 -1
  158. package/resources/shared.js +0 -4
  159. package/resources/shared.js.map +0 -1
  160. package/resources/shared.mjs +0 -3
  161. package/resources/shared.mjs.map +0 -1
  162. package/src/resources/shared.ts +0 -32
@@ -60,13 +60,13 @@ export interface Transaction {
60
60
 
61
61
  /**
62
62
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the
63
- * Transaction occured.
63
+ * Transaction occurred.
64
64
  */
65
65
  created_at: string;
66
66
 
67
67
  /**
68
68
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
69
- * Transaction's currency. This will match the currency on the Transcation's
69
+ * Transaction's currency. This will match the currency on the Transaction's
70
70
  * Account.
71
71
  *
72
72
  * - `CAD` - Canadian Dollar (CAD)
@@ -209,7 +209,7 @@ export namespace Transaction {
209
209
  * object.
210
210
  * - `inbound_international_ach_transfer` - Inbound International ACH Transfer:
211
211
  * details will be under the `inbound_international_ach_transfer` object.
212
- * - `inbound_real_time_payments_transfer_confirmation` - Inbound Real Time
212
+ * - `inbound_real_time_payments_transfer_confirmation` - Inbound Real-Time
213
213
  * Payments Transfer Confirmation: details will be under the
214
214
  * `inbound_real_time_payments_transfer_confirmation` object.
215
215
  * - `inbound_wire_drawdown_payment` - Inbound Wire Drawdown Payment: details will
@@ -225,7 +225,7 @@ export namespace Transaction {
225
225
  * `interest_payment` object.
226
226
  * - `internal_source` - Internal Source: details will be under the
227
227
  * `internal_source` object.
228
- * - `real_time_payments_transfer_acknowledgement` - Real Time Payments Transfer
228
+ * - `real_time_payments_transfer_acknowledgement` - Real-Time Payments Transfer
229
229
  * Acknowledgement: details will be under the
230
230
  * `real_time_payments_transfer_acknowledgement` object.
231
231
  * - `sample_funds` - Sample Funds: details will be under the `sample_funds`
@@ -325,7 +325,7 @@ export namespace Transaction {
325
325
  inbound_international_ach_transfer: Source.InboundInternationalACHTransfer | null;
326
326
 
327
327
  /**
328
- * An Inbound Real Time Payments Transfer Confirmation object. This field will be
328
+ * An Inbound Real-Time Payments Transfer Confirmation object. This field will be
329
329
  * present in the JSON response if and only if `category` is equal to
330
330
  * `inbound_real_time_payments_transfer_confirmation`.
331
331
  */
@@ -369,7 +369,7 @@ export namespace Transaction {
369
369
  internal_source: Source.InternalSource | null;
370
370
 
371
371
  /**
372
- * A Real Time Payments Transfer Acknowledgement object. This field will be present
372
+ * A Real-Time Payments Transfer Acknowledgement object. This field will be present
373
373
  * in the JSON response if and only if `category` is equal to
374
374
  * `real_time_payments_transfer_acknowledgement`.
375
375
  */
@@ -711,7 +711,7 @@ export namespace Transaction {
711
711
  | 'untimely_return';
712
712
 
713
713
  /**
714
- * The identifier of the Tranasaction associated with this return.
714
+ * The identifier of the Transaction associated with this return.
715
715
  */
716
716
  transaction_id: string;
717
717
 
@@ -1062,7 +1062,7 @@ export namespace Transaction {
1062
1062
  food_beverage_charges_amount: number | null;
1063
1063
 
1064
1064
  /**
1065
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the foor and
1065
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and
1066
1066
  * beverage charges.
1067
1067
  */
1068
1068
  food_beverage_charges_currency: string | null;
@@ -1731,7 +1731,7 @@ export namespace Transaction {
1731
1731
  food_beverage_charges_amount: number | null;
1732
1732
 
1733
1733
  /**
1734
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the foor and
1734
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the food and
1735
1735
  * beverage charges.
1736
1736
  */
1737
1737
  food_beverage_charges_currency: string | null;
@@ -2245,7 +2245,7 @@ export namespace Transaction {
2245
2245
  * The reason why this transfer was stopped.
2246
2246
  *
2247
2247
  * - `mail_delivery_failed` - The check could not be delivered.
2248
- * - `rejected_by_increase` - The check was cancelled by an Increase operator who
2248
+ * - `rejected_by_increase` - The check was canceled by an Increase operator who
2249
2249
  * will provide details out-of-band.
2250
2250
  * - `unknown` - The check was stopped for another reason.
2251
2251
  */
@@ -2441,7 +2441,7 @@ export namespace Transaction {
2441
2441
  }
2442
2442
 
2443
2443
  /**
2444
- * An Inbound Real Time Payments Transfer Confirmation object. This field will be
2444
+ * An Inbound Real-Time Payments Transfer Confirmation object. This field will be
2445
2445
  * present in the JSON response if and only if `category` is equal to
2446
2446
  * `inbound_real_time_payments_transfer_confirmation`.
2447
2447
  */
@@ -2459,7 +2459,7 @@ export namespace Transaction {
2459
2459
 
2460
2460
  /**
2461
2461
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code of the transfer's
2462
- * currency. This will always be "USD" for a Real Time Payments transfer.
2462
+ * currency. This will always be "USD" for a Real-Time Payments transfer.
2463
2463
  *
2464
2464
  * - `CAD` - Canadian Dollar (CAD)
2465
2465
  * - `CHF` - Swiss Franc (CHF)
@@ -2491,7 +2491,7 @@ export namespace Transaction {
2491
2491
  remittance_information: string | null;
2492
2492
 
2493
2493
  /**
2494
- * The Real Time Payments network identification of the transfer
2494
+ * The Real-Time Payments network identification of the transfer
2495
2495
  */
2496
2496
  transaction_identification: string;
2497
2497
  }
@@ -2664,7 +2664,7 @@ export namespace Transaction {
2664
2664
  /**
2665
2665
  * The ID for the Transaction associated with the transfer reversal.
2666
2666
  */
2667
- transaction_id: string | null;
2667
+ transaction_id: string;
2668
2668
 
2669
2669
  /**
2670
2670
  * The ID for the Wire Transfer that is being reversed.
@@ -2812,7 +2812,7 @@ export namespace Transaction {
2812
2812
  }
2813
2813
 
2814
2814
  /**
2815
- * A Real Time Payments Transfer Acknowledgement object. This field will be present
2815
+ * A Real-Time Payments Transfer Acknowledgement object. This field will be present
2816
2816
  * in the JSON response if and only if `category` is equal to
2817
2817
  * `real_time_payments_transfer_acknowledgement`.
2818
2818
  */
@@ -2838,7 +2838,7 @@ export namespace Transaction {
2838
2838
  remittance_information: string;
2839
2839
 
2840
2840
  /**
2841
- * The identifier of the Real Time Payments Transfer that led to this Transaction.
2841
+ * The identifier of the Real-Time Payments Transfer that led to this Transaction.
2842
2842
  */
2843
2843
  transfer_id: string;
2844
2844
  }
@@ -168,6 +168,14 @@ export interface WireTransfer {
168
168
  */
169
169
  network: 'wire';
170
170
 
171
+ /**
172
+ * The ID for the pending transaction representing the transfer. A pending
173
+ * transaction is created when the transfer
174
+ * [requires approval](https://increase.com/documentation/transfer-approvals#transfer-approvals)
175
+ * by someone else in your organization.
176
+ */
177
+ pending_transaction_id: string | null;
178
+
171
179
  /**
172
180
  * If your transfer is reversed, this will contain details of the reversal.
173
181
  */
@@ -333,7 +341,7 @@ export namespace WireTransfer {
333
341
  /**
334
342
  * The ID for the Transaction associated with the transfer reversal.
335
343
  */
336
- transaction_id: string | null;
344
+ transaction_id: string;
337
345
 
338
346
  /**
339
347
  * The ID for the Wire Transfer that is being reversed.
@@ -417,7 +425,7 @@ export interface WireTransferCreateParams {
417
425
  routing_number?: string;
418
426
 
419
427
  /**
420
- * A unique identifier you choose for the transfer. Reusing this identifer for
428
+ * A unique identifier you choose for the transfer. Reusing this identifier for
421
429
  * another transfer will result in an error. You can query for the transfer
422
430
  * associated with this identifier using the List endpoint.
423
431
  */
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.10.1'; // x-release-please-version
1
+ export const VERSION = '0.10.2'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = '0.10.1';
1
+ export declare const VERSION = '0.10.2';
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.10.1'; // x-release-please-version
4
+ exports.VERSION = '0.10.2'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.10.1'; // x-release-please-version
1
+ export const VERSION = '0.10.2'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1,31 +0,0 @@
1
- /**
2
- * The method used to enter the cardholder's primary account number and card
3
- * expiration date
4
- *
5
- * - `unknown` - Unknown
6
- * - `manual` - Manual key entry
7
- * - `magnetic_stripe_no_cvv` - Magnetic stripe read, without card verification
8
- * value
9
- * - `optical_code` - Optical code
10
- * - `integrated_circuit_card` - Contact chip card
11
- * - `contactless` - Contactless read of chip card
12
- * - `credential_on_file` - Transaction iniated using a credential that has
13
- * previously been stored on file
14
- * - `magnetic_stripe` - Magnetic stripe read
15
- * - `contactless_magnetic_stripe` - Contactless read of magnetic stripe data
16
- * - `integrated_circuit_card_no_cvv` - Contact chip card, without card
17
- * verification value
18
- */
19
- export type PointOfServiceEntryMode =
20
- | 'unknown'
21
- | 'manual'
22
- | 'magnetic_stripe_no_cvv'
23
- | 'optical_code'
24
- | 'integrated_circuit_card'
25
- | 'contactless'
26
- | 'credential_on_file'
27
- | 'magnetic_stripe'
28
- | 'contactless_magnetic_stripe'
29
- | 'integrated_circuit_card_no_cvv'
30
- | null;
31
- //# sourceMappingURL=shared.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,MAAM,uBAAuB,GAC/B,SAAS,GACT,QAAQ,GACR,wBAAwB,GACxB,cAAc,GACd,yBAAyB,GACzB,aAAa,GACb,oBAAoB,GACpB,iBAAiB,GACjB,6BAA6B,GAC7B,gCAAgC,GAChC,IAAI,CAAC"}
@@ -1,4 +0,0 @@
1
- 'use strict';
2
- // File generated from our OpenAPI spec by Stainless.
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
- //# sourceMappingURL=shared.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.js","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":";AAAA,qDAAqD"}
@@ -1,3 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless.
2
- export {};
3
- //# sourceMappingURL=shared.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"shared.mjs","sourceRoot":"","sources":["../src/resources/shared.ts"],"names":[],"mappings":"AAAA,qDAAqD"}
@@ -1,32 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless.
2
-
3
- /**
4
- * The method used to enter the cardholder's primary account number and card
5
- * expiration date
6
- *
7
- * - `unknown` - Unknown
8
- * - `manual` - Manual key entry
9
- * - `magnetic_stripe_no_cvv` - Magnetic stripe read, without card verification
10
- * value
11
- * - `optical_code` - Optical code
12
- * - `integrated_circuit_card` - Contact chip card
13
- * - `contactless` - Contactless read of chip card
14
- * - `credential_on_file` - Transaction iniated using a credential that has
15
- * previously been stored on file
16
- * - `magnetic_stripe` - Magnetic stripe read
17
- * - `contactless_magnetic_stripe` - Contactless read of magnetic stripe data
18
- * - `integrated_circuit_card_no_cvv` - Contact chip card, without card
19
- * verification value
20
- */
21
- export type PointOfServiceEntryMode =
22
- | 'unknown'
23
- | 'manual'
24
- | 'magnetic_stripe_no_cvv'
25
- | 'optical_code'
26
- | 'integrated_circuit_card'
27
- | 'contactless'
28
- | 'credential_on_file'
29
- | 'magnetic_stripe'
30
- | 'contactless_magnetic_stripe'
31
- | 'integrated_circuit_card_no_cvv'
32
- | null;