increase 0.10.1 → 0.10.3

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 +32 -0
  2. package/core.d.ts +7 -4
  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 -9
  9. package/index.d.ts +8 -9
  10. package/index.d.ts.map +1 -1
  11. package/index.js +6 -6
  12. package/index.js.map +1 -1
  13. package/index.mjs +6 -6
  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 +92 -18
  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-transfers.d.ts +303 -0
  62. package/resources/inbound-ach-transfers.d.ts.map +1 -0
  63. package/resources/inbound-ach-transfers.js +40 -0
  64. package/resources/inbound-ach-transfers.js.map +1 -0
  65. package/resources/inbound-ach-transfers.mjs +33 -0
  66. package/resources/inbound-ach-transfers.mjs.map +1 -0
  67. package/resources/index.d.ts +6 -7
  68. package/resources/index.d.ts.map +1 -1
  69. package/resources/index.js +7 -35
  70. package/resources/index.js.map +1 -1
  71. package/resources/index.mjs +1 -2
  72. package/resources/index.mjs.map +1 -1
  73. package/resources/pending-transactions.d.ts +50 -8
  74. package/resources/pending-transactions.d.ts.map +1 -1
  75. package/resources/pending-transactions.js.map +1 -1
  76. package/resources/pending-transactions.mjs.map +1 -1
  77. package/resources/real-time-decisions.d.ts +33 -4
  78. package/resources/real-time-decisions.d.ts.map +1 -1
  79. package/resources/real-time-decisions.js.map +1 -1
  80. package/resources/real-time-decisions.mjs.map +1 -1
  81. package/resources/real-time-payments-transfers.d.ts +49 -42
  82. package/resources/real-time-payments-transfers.d.ts.map +1 -1
  83. package/resources/real-time-payments-transfers.js +2 -2
  84. package/resources/real-time-payments-transfers.js.map +1 -1
  85. package/resources/real-time-payments-transfers.mjs +2 -2
  86. package/resources/real-time-payments-transfers.mjs.map +1 -1
  87. package/resources/routing-numbers.d.ts +1 -1
  88. package/resources/simulations/ach-transfers.d.ts +93 -35
  89. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  90. package/resources/simulations/ach-transfers.js.map +1 -1
  91. package/resources/simulations/ach-transfers.mjs.map +1 -1
  92. package/resources/simulations/cards.d.ts +108 -25
  93. package/resources/simulations/cards.d.ts.map +1 -1
  94. package/resources/simulations/cards.js.map +1 -1
  95. package/resources/simulations/cards.mjs.map +1 -1
  96. package/resources/simulations/inbound-wire-drawdown-requests.d.ts +1 -1
  97. package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
  98. package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
  99. package/resources/simulations/interest-payments.d.ts +16 -16
  100. package/resources/simulations/interest-payments.d.ts.map +1 -1
  101. package/resources/simulations/real-time-payments-transfers.d.ts +124 -66
  102. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  103. package/resources/simulations/real-time-payments-transfers.js +2 -2
  104. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  105. package/resources/simulations/real-time-payments-transfers.mjs +2 -2
  106. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  107. package/resources/simulations/wire-transfers.d.ts +16 -16
  108. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  109. package/resources/transactions.d.ts +16 -16
  110. package/resources/transactions.d.ts.map +1 -1
  111. package/resources/wire-transfers.d.ts +9 -2
  112. package/resources/wire-transfers.d.ts.map +1 -1
  113. package/resources/wire-transfers.js.map +1 -1
  114. package/resources/wire-transfers.mjs.map +1 -1
  115. package/src/core.ts +19 -7
  116. package/src/index.ts +10 -12
  117. package/src/resources/account-transfers.ts +9 -1
  118. package/src/resources/ach-prenotifications.ts +2 -2
  119. package/src/resources/ach-transfers.ts +12 -4
  120. package/src/resources/card-purchase-supplements.ts +1 -1
  121. package/src/resources/check-transfers.ts +6 -3
  122. package/src/resources/declined-transactions.ts +96 -18
  123. package/src/resources/digital-wallet-tokens.ts +1 -1
  124. package/src/resources/entities/beneficial-owners.ts +31 -6
  125. package/src/resources/entities/entities.ts +20 -14
  126. package/src/resources/entities/index.ts +5 -1
  127. package/src/resources/entities/supplemental-documents.ts +1 -1
  128. package/src/resources/event-subscriptions.ts +22 -10
  129. package/src/resources/events.ts +13 -5
  130. package/src/resources/external-accounts.ts +2 -2
  131. package/src/resources/inbound-ach-transfers.ts +359 -0
  132. package/src/resources/index.ts +6 -7
  133. package/src/resources/pending-transactions.ts +52 -8
  134. package/src/resources/real-time-decisions.ts +34 -4
  135. package/src/resources/real-time-payments-transfers.ts +50 -42
  136. package/src/resources/routing-numbers.ts +1 -1
  137. package/src/resources/simulations/ach-transfers.ts +95 -35
  138. package/src/resources/simulations/cards.ts +110 -25
  139. package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
  140. package/src/resources/simulations/interest-payments.ts +16 -16
  141. package/src/resources/simulations/real-time-payments-transfers.ts +126 -66
  142. package/src/resources/simulations/wire-transfers.ts +16 -16
  143. package/src/resources/transactions.ts +16 -16
  144. package/src/resources/wire-transfers.ts +10 -2
  145. package/src/version.ts +1 -1
  146. package/version.d.ts +1 -1
  147. package/version.js +1 -1
  148. package/version.mjs +1 -1
  149. package/resources/inbound-ach-transfer-returns.d.ts +0 -161
  150. package/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
  151. package/resources/inbound-ach-transfer-returns.js +0 -37
  152. package/resources/inbound-ach-transfer-returns.js.map +0 -1
  153. package/resources/inbound-ach-transfer-returns.mjs +0 -30
  154. package/resources/inbound-ach-transfer-returns.mjs.map +0 -1
  155. package/resources/shared.d.ts +0 -31
  156. package/resources/shared.d.ts.map +0 -1
  157. package/resources/shared.js +0 -4
  158. package/resources/shared.js.map +0 -1
  159. package/resources/shared.mjs +0 -3
  160. package/resources/shared.mjs.map +0 -1
  161. package/src/resources/inbound-ach-transfer-returns.ts +0 -196
  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.3'; // 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.3';
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.3'; // 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.3'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map
@@ -1,161 +0,0 @@
1
- import * as Core from 'increase/core';
2
- import { APIResource } from 'increase/resource';
3
- import * as API from './index.js';
4
- import { Page, PageParams } from 'increase/pagination';
5
- export declare class InboundACHTransferReturns extends APIResource {
6
- /**
7
- * Create an ACH Return
8
- */
9
- create(
10
- body: InboundACHTransferReturnCreateParams,
11
- options?: Core.RequestOptions,
12
- ): Core.APIPromise<InboundACHTransferReturn>;
13
- /**
14
- * Retrieve an Inbound ACH Transfer Return
15
- */
16
- retrieve(
17
- inboundACHTransferReturnId: string,
18
- options?: Core.RequestOptions,
19
- ): Core.APIPromise<InboundACHTransferReturn>;
20
- /**
21
- * List Inbound ACH Transfer Returns
22
- */
23
- list(
24
- query?: InboundACHTransferReturnListParams,
25
- options?: Core.RequestOptions,
26
- ): Core.PagePromise<InboundACHTransferReturnsPage, InboundACHTransferReturn>;
27
- list(
28
- options?: Core.RequestOptions,
29
- ): Core.PagePromise<InboundACHTransferReturnsPage, InboundACHTransferReturn>;
30
- }
31
- export declare class InboundACHTransferReturnsPage extends Page<InboundACHTransferReturn> {}
32
- type _InboundACHTransferReturnsPage = InboundACHTransferReturnsPage;
33
- /**
34
- * If unauthorized activity occurs via ACH, you can create an Inbound ACH Transfer
35
- * Return and we'll reverse the transaction. You can create an Inbound ACH Transfer
36
- * return the first two days after receiving an Inbound ACH Transfer.
37
- */
38
- export interface InboundACHTransferReturn {
39
- /**
40
- * The ID of the Inbound ACH Transfer Return.
41
- */
42
- id: string;
43
- /**
44
- * The ID for the Transaction that is being returned.
45
- */
46
- inbound_ach_transfer_transaction_id: string;
47
- /**
48
- * The reason why this transfer will be returned. This is sent to the initiating
49
- * bank.
50
- *
51
- * - `authorization_revoked_by_customer` - The customer no longer authorizes this
52
- * transaction. The Nacha return code is R07.
53
- * - `payment_stopped` - The customer asked for the payment to be stopped. This
54
- * reason is only allowed for debits. The Nacha return code is R08.
55
- * - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - The
56
- * customer advises that the debit was unauthorized. The Nacha return code is
57
- * R10.
58
- * - `representative_payee_deceased_or_unable_to_continue_in_that_capacity` - The
59
- * payee is deceased. The Nacha return code is R14.
60
- * - `beneficiary_or_account_holder_deceased` - The account holder is deceased. The
61
- * Nacha return code is R15.
62
- * - `credit_entry_refused_by_receiver` - The customer refused a credit entry. This
63
- * reason is only allowed for credits. The Nacha return code is R23.
64
- * - `duplicate_entry` - The account holder identified this transaction as a
65
- * duplicate. The Nacha return code is R24.
66
- * - `corporate_customer_advised_not_authorized` - The corporate customer no longer
67
- * authorizes this transaction. The Nacha return code is R29.
68
- */
69
- reason:
70
- | 'authorization_revoked_by_customer'
71
- | 'payment_stopped'
72
- | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
73
- | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
74
- | 'beneficiary_or_account_holder_deceased'
75
- | 'credit_entry_refused_by_receiver'
76
- | 'duplicate_entry'
77
- | 'corporate_customer_advised_not_authorized';
78
- /**
79
- * The lifecycle status of the transfer.
80
- *
81
- * - `pending_submitting` - The transfer return is pending submission to the
82
- * Federal Reserve.
83
- * - `submitted` - The transfer has been submitted to the Federal Reserve.
84
- */
85
- status: 'pending_submitting' | 'submitted';
86
- /**
87
- * After the return is submitted to FedACH, this will contain supplemental details.
88
- */
89
- submission: InboundACHTransferReturn.Submission | null;
90
- /**
91
- * The ID for the transaction refunding the transfer.
92
- */
93
- transaction_id: string | null;
94
- /**
95
- * A constant representing the object's type. For this resource it will always be
96
- * `inbound_ach_transfer_return`.
97
- */
98
- type: 'inbound_ach_transfer_return';
99
- }
100
- export declare namespace InboundACHTransferReturn {
101
- /**
102
- * After the return is submitted to FedACH, this will contain supplemental details.
103
- */
104
- interface Submission {
105
- /**
106
- * When the ACH transfer return was sent to FedACH.
107
- */
108
- submitted_at: string;
109
- /**
110
- * The trace number for the submission.
111
- */
112
- trace_number: string;
113
- }
114
- }
115
- export interface InboundACHTransferReturnCreateParams {
116
- /**
117
- * The reason why this transfer will be returned. The most usual return codes are
118
- * `payment_stopped` for debits and `credit_entry_refused_by_receiver` for credits.
119
- *
120
- * - `authorization_revoked_by_customer` - The customer no longer authorizes this
121
- * transaction. The Nacha return code is R07.
122
- * - `payment_stopped` - The customer asked for the payment to be stopped. This
123
- * reason is only allowed for debits. The Nacha return code is R08.
124
- * - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - The
125
- * customer advises that the debit was unauthorized. The Nacha return code is
126
- * R10.
127
- * - `representative_payee_deceased_or_unable_to_continue_in_that_capacity` - The
128
- * payee is deceased. The Nacha return code is R14.
129
- * - `beneficiary_or_account_holder_deceased` - The account holder is deceased. The
130
- * Nacha return code is R15.
131
- * - `credit_entry_refused_by_receiver` - The customer refused a credit entry. This
132
- * reason is only allowed for credits. The Nacha return code is R23.
133
- * - `duplicate_entry` - The account holder identified this transaction as a
134
- * duplicate. The Nacha return code is R24.
135
- * - `corporate_customer_advised_not_authorized` - The corporate customer no longer
136
- * authorizes this transaction. The Nacha return code is R29.
137
- */
138
- reason:
139
- | 'authorization_revoked_by_customer'
140
- | 'payment_stopped'
141
- | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
142
- | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
143
- | 'beneficiary_or_account_holder_deceased'
144
- | 'credit_entry_refused_by_receiver'
145
- | 'duplicate_entry'
146
- | 'corporate_customer_advised_not_authorized';
147
- /**
148
- * The transaction identifier of the Inbound ACH Transfer to return to the
149
- * originating financial institution.
150
- */
151
- transaction_id: string;
152
- }
153
- export interface InboundACHTransferReturnListParams extends PageParams {}
154
- export declare namespace InboundACHTransferReturns {
155
- export import InboundACHTransferReturn = API.InboundACHTransferReturn;
156
- type InboundACHTransferReturnsPage = _InboundACHTransferReturnsPage;
157
- export import InboundACHTransferReturnCreateParams = API.InboundACHTransferReturnCreateParams;
158
- export import InboundACHTransferReturnListParams = API.InboundACHTransferReturnListParams;
159
- }
160
- export {};
161
- //# sourceMappingURL=inbound-ach-transfer-returns.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inbound-ach-transfer-returns.d.ts","sourceRoot":"","sources":["../src/resources/inbound-ach-transfer-returns.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,IAAI,MAAM,eAAe,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,OAAO,KAAK,GAAG,MAAM,SAAS,CAAC;AAC/B,OAAO,EAAE,IAAI,EAAE,UAAU,EAAE,MAAM,qBAAqB,CAAC;AAEvD,qBAAa,yBAA0B,SAAQ,WAAW;IACxD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,oCAAoC,EAC1C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAI5C;;OAEG;IACH,QAAQ,CACN,0BAA0B,EAAE,MAAM,EAClC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,wBAAwB,CAAC;IAI5C;;OAEG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,kCAAkC,EAC1C,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,6BAA6B,EAAE,wBAAwB,CAAC;IAC5E,IAAI,CACF,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,6BAA6B,EAAE,wBAAwB,CAAC;CAa7E;AAED,qBAAa,6BAA8B,SAAQ,IAAI,CAAC,wBAAwB,CAAC;CAAG;AAEpF,KAAK,8BAA8B,GAAG,6BAA6B,CAAC;AAEpE;;;;GAIG;AACH,MAAM,WAAW,wBAAwB;IACvC;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,mCAAmC,EAAE,MAAM,CAAC;IAE5C;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,EACF,mCAAmC,GACnC,iBAAiB,GACjB,iEAAiE,GACjE,sEAAsE,GACtE,wCAAwC,GACxC,kCAAkC,GAClC,iBAAiB,GACjB,2CAA2C,CAAC;IAEhD;;;;;;OAMG;IACH,MAAM,EAAE,oBAAoB,GAAG,WAAW,CAAC;IAE3C;;OAEG;IACH,UAAU,EAAE,wBAAwB,CAAC,UAAU,GAAG,IAAI,CAAC;IAEvD;;OAEG;IACH,cAAc,EAAE,MAAM,GAAG,IAAI,CAAC;IAE9B;;;OAGG;IACH,IAAI,EAAE,6BAA6B,CAAC;CACrC;AAED,yBAAiB,wBAAwB,CAAC;IACxC;;OAEG;IACH,UAAiB,UAAU;QACzB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;QAErB;;WAEG;QACH,YAAY,EAAE,MAAM,CAAC;KACtB;CACF;AAED,MAAM,WAAW,oCAAoC;IACnD;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,EACF,mCAAmC,GACnC,iBAAiB,GACjB,iEAAiE,GACjE,sEAAsE,GACtE,wCAAwC,GACxC,kCAAkC,GAClC,iBAAiB,GACjB,2CAA2C,CAAC;IAEhD;;;OAGG;IACH,cAAc,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,kCAAmC,SAAQ,UAAU;CAAG;AAEzE,yBAAiB,yBAAyB,CAAC;IACzC,MAAM,QAAQ,wBAAwB,GAAG,GAAG,CAAC,wBAAwB,CAAC;IACtE,KAAY,6BAA6B,GAAG,8BAA8B,CAAC;IAC3E,MAAM,QAAQ,oCAAoC,GAAG,GAAG,CAAC,oCAAoC,CAAC;IAC9F,MAAM,QAAQ,kCAAkC,GAAG,GAAG,CAAC,kCAAkC,CAAC;CAC3F"}
@@ -1,37 +0,0 @@
1
- 'use strict';
2
- // File generated from our OpenAPI spec by Stainless.
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
- exports.InboundACHTransferReturnsPage = exports.InboundACHTransferReturns = void 0;
5
- const resource_1 = require('increase/resource');
6
- const core_1 = require('increase/core');
7
- const pagination_1 = require('increase/pagination');
8
- class InboundACHTransferReturns extends resource_1.APIResource {
9
- /**
10
- * Create an ACH Return
11
- */
12
- create(body, options) {
13
- return this.post('/inbound_ach_transfer_returns', { body, ...options });
14
- }
15
- /**
16
- * Retrieve an Inbound ACH Transfer Return
17
- */
18
- retrieve(inboundACHTransferReturnId, options) {
19
- return this.get(`/inbound_ach_transfer_returns/${inboundACHTransferReturnId}`, options);
20
- }
21
- list(query = {}, options) {
22
- if ((0, core_1.isRequestOptions)(query)) {
23
- return this.list({}, query);
24
- }
25
- return this.getAPIList('/inbound_ach_transfer_returns', InboundACHTransferReturnsPage, {
26
- query,
27
- ...options,
28
- });
29
- }
30
- }
31
- exports.InboundACHTransferReturns = InboundACHTransferReturns;
32
- class InboundACHTransferReturnsPage extends pagination_1.Page {}
33
- exports.InboundACHTransferReturnsPage = InboundACHTransferReturnsPage;
34
- (function (InboundACHTransferReturns) {})(
35
- (InboundACHTransferReturns = exports.InboundACHTransferReturns || (exports.InboundACHTransferReturns = {})),
36
- );
37
- //# sourceMappingURL=inbound-ach-transfer-returns.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inbound-ach-transfer-returns.js","sourceRoot":"","sources":["../src/resources/inbound-ach-transfer-returns.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,gDAAgD;AAChD,wCAAiD;AAEjD,oDAAuD;AAEvD,MAAa,yBAA0B,SAAQ,sBAAW;IACxD;;OAEG;IACH,MAAM,CACJ,IAA0C,EAC1C,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,0BAAkC,EAClC,OAA6B;QAE7B,OAAO,IAAI,CAAC,GAAG,CAAC,iCAAiC,0BAA0B,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAYD,IAAI,CACF,QAAkE,EAAE,EACpE,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,+BAA+B,EAAE,6BAA6B,EAAE;YACrF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AA3CD,8DA2CC;AAED,MAAa,6BAA8B,SAAQ,iBAA8B;CAAG;AAApF,sEAAoF;AAyIpF,WAAiB,yBAAyB;AAK1C,CAAC,EALgB,yBAAyB,GAAzB,iCAAyB,KAAzB,iCAAyB,QAKzC"}
@@ -1,30 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless.
2
- import { APIResource } from 'increase/resource';
3
- import { isRequestOptions } from 'increase/core';
4
- import { Page } from 'increase/pagination';
5
- export class InboundACHTransferReturns extends APIResource {
6
- /**
7
- * Create an ACH Return
8
- */
9
- create(body, options) {
10
- return this.post('/inbound_ach_transfer_returns', { body, ...options });
11
- }
12
- /**
13
- * Retrieve an Inbound ACH Transfer Return
14
- */
15
- retrieve(inboundACHTransferReturnId, options) {
16
- return this.get(`/inbound_ach_transfer_returns/${inboundACHTransferReturnId}`, options);
17
- }
18
- list(query = {}, options) {
19
- if (isRequestOptions(query)) {
20
- return this.list({}, query);
21
- }
22
- return this.getAPIList('/inbound_ach_transfer_returns', InboundACHTransferReturnsPage, {
23
- query,
24
- ...options,
25
- });
26
- }
27
- }
28
- export class InboundACHTransferReturnsPage extends Page {}
29
- (function (InboundACHTransferReturns) {})(InboundACHTransferReturns || (InboundACHTransferReturns = {}));
30
- //# sourceMappingURL=inbound-ach-transfer-returns.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"inbound-ach-transfer-returns.mjs","sourceRoot":"","sources":["../src/resources/inbound-ach-transfer-returns.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OAEzC,EAAE,IAAI,EAAc,MAAM,qBAAqB;AAEtD,MAAM,OAAO,yBAA0B,SAAQ,WAAW;IACxD;;OAEG;IACH,MAAM,CACJ,IAA0C,EAC1C,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,+BAA+B,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,0BAAkC,EAClC,OAA6B;QAE7B,OAAO,IAAI,CAAC,GAAG,CAAC,iCAAiC,0BAA0B,EAAE,EAAE,OAAO,CAAC,CAAC;IAC1F,CAAC;IAYD,IAAI,CACF,QAAkE,EAAE,EACpE,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,UAAU,CAAC,+BAA+B,EAAE,6BAA6B,EAAE;YACrF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,6BAA8B,SAAQ,IAA8B;CAAG;AAyIpF,WAAiB,yBAAyB;AAK1C,CAAC,EALgB,yBAAyB,KAAzB,yBAAyB,QAKzC"}
@@ -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"}