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
@@ -0,0 +1,303 @@
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 InboundACHTransfers extends APIResource {
6
+ /**
7
+ * Retrieve an Inbound ACH Transfer
8
+ */
9
+ retrieve(inboundACHTransferId: string, options?: Core.RequestOptions): Core.APIPromise<InboundACHTransfer>;
10
+ /**
11
+ * List Inbound ACH Transfers
12
+ */
13
+ list(
14
+ query?: InboundACHTransferListParams,
15
+ options?: Core.RequestOptions,
16
+ ): Core.PagePromise<InboundACHTransfersPage, InboundACHTransfer>;
17
+ list(options?: Core.RequestOptions): Core.PagePromise<InboundACHTransfersPage, InboundACHTransfer>;
18
+ /**
19
+ * Decline an Inbound ACH Transfer
20
+ */
21
+ decline(inboundACHTransferId: string, options?: Core.RequestOptions): Core.APIPromise<InboundACHTransfer>;
22
+ /**
23
+ * Create an ACH Return
24
+ */
25
+ transferReturn(
26
+ inboundACHTransferId: string,
27
+ body: InboundACHTransferTransferReturnParams,
28
+ options?: Core.RequestOptions,
29
+ ): Core.APIPromise<InboundACHTransfer>;
30
+ }
31
+ export declare class InboundACHTransfersPage extends Page<InboundACHTransfer> {}
32
+ type _InboundACHTransfersPage = InboundACHTransfersPage;
33
+ /**
34
+ * An Inbound ACH Transfer is an ACH transfer initiated outside of Increase to your
35
+ * account.
36
+ */
37
+ export interface InboundACHTransfer {
38
+ /**
39
+ * The inbound ach transfer's identifier.
40
+ */
41
+ id: string;
42
+ /**
43
+ * If your transfer is accepted, this will contain details of the acceptance.
44
+ */
45
+ acceptance: InboundACHTransfer.Acceptance | null;
46
+ /**
47
+ * The transfer amount in USD cents.
48
+ */
49
+ amount: number;
50
+ /**
51
+ * The time at which the transfer will be automatically resolved.
52
+ */
53
+ automatically_resolves_at: string;
54
+ /**
55
+ * If your transfer is declined, this will contain details of the decline.
56
+ */
57
+ decline: InboundACHTransfer.Decline | null;
58
+ /**
59
+ * The direction of the transfer.
60
+ *
61
+ * - `credit` - Credit
62
+ * - `debit` - Debit
63
+ */
64
+ direction: 'credit' | 'debit';
65
+ /**
66
+ * The descriptive date of the transfer.
67
+ */
68
+ originator_company_descriptive_date: string | null;
69
+ /**
70
+ * The additional information included with the transfer.
71
+ */
72
+ originator_company_discretionary_data: string | null;
73
+ /**
74
+ * The description of the transfer.
75
+ */
76
+ originator_company_entry_description: string;
77
+ /**
78
+ * The id of the company that initiated the transfer.
79
+ */
80
+ originator_company_id: string;
81
+ /**
82
+ * The name of the company that initiated the transfer.
83
+ */
84
+ originator_company_name: string;
85
+ /**
86
+ * The id of the receiver of the transfer.
87
+ */
88
+ receiver_id_number: string | null;
89
+ /**
90
+ * The name of the receiver of the transfer.
91
+ */
92
+ receiver_name: string | null;
93
+ /**
94
+ * The status of the transfer.
95
+ *
96
+ * - `pending` - The Inbound ACH Transfer is awaiting action, will transition
97
+ * automatically if no action is taken.
98
+ * - `declined` - The Inbound ACH Transfer has been declined.
99
+ * - `accepted` - The Inbound ACH Transfer is accepted.
100
+ * - `returned` - The Inbound ACH Transfer has been returned.
101
+ */
102
+ status: 'pending' | 'declined' | 'accepted' | 'returned';
103
+ /**
104
+ * The trace number of the transfer.
105
+ */
106
+ trace_number: string;
107
+ /**
108
+ * If your transfer is returned, this will contain details of the return.
109
+ */
110
+ transfer_return: InboundACHTransfer.TransferReturn | null;
111
+ /**
112
+ * A constant representing the object's type. For this resource it will always be
113
+ * `inbound_ach_transfer`.
114
+ */
115
+ type: 'inbound_ach_transfer';
116
+ }
117
+ export declare namespace InboundACHTransfer {
118
+ /**
119
+ * If your transfer is accepted, this will contain details of the acceptance.
120
+ */
121
+ interface Acceptance {
122
+ /**
123
+ * The time at which the transfer was accepted.
124
+ */
125
+ accepted_at: string;
126
+ /**
127
+ * The id of the transaction for the accepted transfer.
128
+ */
129
+ transaction_id: string;
130
+ }
131
+ /**
132
+ * If your transfer is declined, this will contain details of the decline.
133
+ */
134
+ interface Decline {
135
+ /**
136
+ * The time at which the transfer was declined.
137
+ */
138
+ declined_at: string;
139
+ /**
140
+ * The id of the transaction for the declined transfer.
141
+ */
142
+ declined_transaction_id: string;
143
+ /**
144
+ * The reason for the transfer decline
145
+ *
146
+ * - `ach_route_canceled` - The account number is canceled.
147
+ * - `ach_route_disabled` - The account number is disabled.
148
+ * - `breaches_limit` - The transaction would cause a limit to be exceeded.
149
+ * - `credit_entry_refused_by_receiver` - A credit was refused.
150
+ * - `duplicate_return` - Other.
151
+ * - `entity_not_active` - The account's entity is not active.
152
+ * - `group_locked` - Your account is inactive.
153
+ * - `insufficient_funds` - Your account contains insufficient funds.
154
+ * - `misrouted_return` - Other.
155
+ * - `return_of_erroneous_or_reversing_debit` - Other.
156
+ * - `no_ach_route` - The account number that was debited does not exist.
157
+ * - `originator_request` - Other.
158
+ * - `transaction_not_allowed` - The transaction is not allowed per Increase's
159
+ * terms.
160
+ * - `user_initiated` - The user initiated the decline.
161
+ */
162
+ reason:
163
+ | 'ach_route_canceled'
164
+ | 'ach_route_disabled'
165
+ | 'breaches_limit'
166
+ | 'credit_entry_refused_by_receiver'
167
+ | 'duplicate_return'
168
+ | 'entity_not_active'
169
+ | 'group_locked'
170
+ | 'insufficient_funds'
171
+ | 'misrouted_return'
172
+ | 'return_of_erroneous_or_reversing_debit'
173
+ | 'no_ach_route'
174
+ | 'originator_request'
175
+ | 'transaction_not_allowed'
176
+ | 'user_initiated';
177
+ }
178
+ /**
179
+ * If your transfer is returned, this will contain details of the return.
180
+ */
181
+ interface TransferReturn {
182
+ /**
183
+ * The reason for the transfer return
184
+ *
185
+ * - `authorization_revoked_by_customer` - The customer no longer authorizes this
186
+ * transaction. The Nacha return code is R07.
187
+ * - `payment_stopped` - The customer asked for the payment to be stopped. This
188
+ * reason is only allowed for debits. The Nacha return code is R08.
189
+ * - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - The
190
+ * customer advises that the debit was unauthorized. The Nacha return code is
191
+ * R10.
192
+ * - `representative_payee_deceased_or_unable_to_continue_in_that_capacity` - The
193
+ * payee is deceased. The Nacha return code is R14.
194
+ * - `beneficiary_or_account_holder_deceased` - The account holder is deceased. The
195
+ * Nacha return code is R15.
196
+ * - `credit_entry_refused_by_receiver` - The customer refused a credit entry. This
197
+ * reason is only allowed for credits. The Nacha return code is R23.
198
+ * - `duplicate_entry` - The account holder identified this transaction as a
199
+ * duplicate. The Nacha return code is R24.
200
+ * - `corporate_customer_advised_not_authorized` - The corporate customer no longer
201
+ * authorizes this transaction. The Nacha return code is R29.
202
+ */
203
+ reason:
204
+ | 'authorization_revoked_by_customer'
205
+ | 'payment_stopped'
206
+ | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
207
+ | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
208
+ | 'beneficiary_or_account_holder_deceased'
209
+ | 'credit_entry_refused_by_receiver'
210
+ | 'duplicate_entry'
211
+ | 'corporate_customer_advised_not_authorized';
212
+ /**
213
+ * The time at which the transfer was returned.
214
+ */
215
+ returned_at: string;
216
+ /**
217
+ * The id of the transaction for the returned transfer.
218
+ */
219
+ transaction_id: string;
220
+ }
221
+ }
222
+ export interface InboundACHTransferListParams extends PageParams {
223
+ /**
224
+ * Filter Inbound ACH Tranfers to ones belonging to the specified Account.
225
+ */
226
+ account_id?: string;
227
+ created_at?: InboundACHTransferListParams.CreatedAt;
228
+ /**
229
+ * Filter Inbound ACH Transfers to those with the specified status.
230
+ *
231
+ * - `pending` - The Inbound ACH Transfer is awaiting action, will transition
232
+ * automatically if no action is taken.
233
+ * - `declined` - The Inbound ACH Transfer has been declined.
234
+ * - `accepted` - The Inbound ACH Transfer is accepted.
235
+ * - `returned` - The Inbound ACH Transfer has been returned.
236
+ */
237
+ status?: 'pending' | 'declined' | 'accepted' | 'returned';
238
+ }
239
+ export declare namespace InboundACHTransferListParams {
240
+ interface CreatedAt {
241
+ /**
242
+ * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
243
+ * timestamp.
244
+ */
245
+ after?: string;
246
+ /**
247
+ * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
248
+ * timestamp.
249
+ */
250
+ before?: string;
251
+ /**
252
+ * Return results on or after this
253
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
254
+ */
255
+ on_or_after?: string;
256
+ /**
257
+ * Return results on or before this
258
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
259
+ */
260
+ on_or_before?: string;
261
+ }
262
+ }
263
+ export interface InboundACHTransferTransferReturnParams {
264
+ /**
265
+ * The reason why this transfer will be returned. The most usual return codes are
266
+ * `payment_stopped` for debits and `credit_entry_refused_by_receiver` for credits.
267
+ *
268
+ * - `authorization_revoked_by_customer` - The customer no longer authorizes this
269
+ * transaction. The Nacha return code is R07.
270
+ * - `payment_stopped` - The customer asked for the payment to be stopped. This
271
+ * reason is only allowed for debits. The Nacha return code is R08.
272
+ * - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - The
273
+ * customer advises that the debit was unauthorized. The Nacha return code is
274
+ * R10.
275
+ * - `representative_payee_deceased_or_unable_to_continue_in_that_capacity` - The
276
+ * payee is deceased. The Nacha return code is R14.
277
+ * - `beneficiary_or_account_holder_deceased` - The account holder is deceased. The
278
+ * Nacha return code is R15.
279
+ * - `credit_entry_refused_by_receiver` - The customer refused a credit entry. This
280
+ * reason is only allowed for credits. The Nacha return code is R23.
281
+ * - `duplicate_entry` - The account holder identified this transaction as a
282
+ * duplicate. The Nacha return code is R24.
283
+ * - `corporate_customer_advised_not_authorized` - The corporate customer no longer
284
+ * authorizes this transaction. The Nacha return code is R29.
285
+ */
286
+ reason:
287
+ | 'authorization_revoked_by_customer'
288
+ | 'payment_stopped'
289
+ | 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
290
+ | 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
291
+ | 'beneficiary_or_account_holder_deceased'
292
+ | 'credit_entry_refused_by_receiver'
293
+ | 'duplicate_entry'
294
+ | 'corporate_customer_advised_not_authorized';
295
+ }
296
+ export declare namespace InboundACHTransfers {
297
+ export import InboundACHTransfer = API.InboundACHTransfer;
298
+ type InboundACHTransfersPage = _InboundACHTransfersPage;
299
+ export import InboundACHTransferListParams = API.InboundACHTransferListParams;
300
+ export import InboundACHTransferTransferReturnParams = API.InboundACHTransferTransferReturnParams;
301
+ }
302
+ export {};
303
+ //# sourceMappingURL=inbound-ach-transfers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inbound-ach-transfers.d.ts","sourceRoot":"","sources":["../src/resources/inbound-ach-transfers.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,mBAAoB,SAAQ,WAAW;IAClD;;OAEG;IACH,QAAQ,CAAC,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAI1G;;OAEG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,4BAA4B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,uBAAuB,EAAE,kBAAkB,CAAC;IAChE,IAAI,CAAC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,WAAW,CAAC,uBAAuB,EAAE,kBAAkB,CAAC;IAWlG;;OAEG;IACH,OAAO,CAAC,oBAAoB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,G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WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAED,MAAM,WAAW,sCAAsC;IACrD;;;;;;;;;;;;;;;;;;;;;OAqBG;IACH,MAAM,EACF,mCAAmC,GACnC,iBAAiB,GACjB,iEAAiE,GACjE,sEAAsE,GACtE,wCAAwC,GACxC,kCAAkC,GAClC,iBAAiB,GACjB,2CAA2C,CAAC;CACjD;AAED,yBAAiB,mBAAmB,CAAC;IACnC,MAAM,QAAQ,kBAAkB,GAAG,GAAG,CAAC,kBAAkB,CAAC;IAC1D,KAAY,uBAAuB,GAAG,wBAAwB,CAAC;IAC/D,MAAM,QAAQ,4BAA4B,GAAG,GAAG,CAAC,4BAA4B,CAAC;IAC9E,MAAM,QAAQ,sCAAsC,GAAG,GAAG,CAAC,sCAAsC,CAAC;CACnG"}
@@ -0,0 +1,40 @@
1
+ 'use strict';
2
+ // File generated from our OpenAPI spec by Stainless.
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+ exports.InboundACHTransfersPage = exports.InboundACHTransfers = 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 InboundACHTransfers extends resource_1.APIResource {
9
+ /**
10
+ * Retrieve an Inbound ACH Transfer
11
+ */
12
+ retrieve(inboundACHTransferId, options) {
13
+ return this.get(`/inbound_ach_transfers/${inboundACHTransferId}`, options);
14
+ }
15
+ list(query = {}, options) {
16
+ if ((0, core_1.isRequestOptions)(query)) {
17
+ return this.list({}, query);
18
+ }
19
+ return this.getAPIList('/inbound_ach_transfers', InboundACHTransfersPage, { query, ...options });
20
+ }
21
+ /**
22
+ * Decline an Inbound ACH Transfer
23
+ */
24
+ decline(inboundACHTransferId, options) {
25
+ return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
26
+ }
27
+ /**
28
+ * Create an ACH Return
29
+ */
30
+ transferReturn(inboundACHTransferId, body, options) {
31
+ return this.post(`/inbound_ach_transfer/${inboundACHTransferId}/transfer_returns`, { body, ...options });
32
+ }
33
+ }
34
+ exports.InboundACHTransfers = InboundACHTransfers;
35
+ class InboundACHTransfersPage extends pagination_1.Page {}
36
+ exports.InboundACHTransfersPage = InboundACHTransfersPage;
37
+ (function (InboundACHTransfers) {})(
38
+ (InboundACHTransfers = exports.InboundACHTransfers || (exports.InboundACHTransfers = {})),
39
+ );
40
+ //# sourceMappingURL=inbound-ach-transfers.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inbound-ach-transfers.js","sourceRoot":"","sources":["../src/resources/inbound-ach-transfers.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;AAGrD,gDAAgD;AAChD,wCAAiD;AAEjD,oDAAuD;AAEvD,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;OAEG;IACH,QAAQ,CAAC,oBAA4B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,GAAG,CAAC,0BAA0B,oBAAoB,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAUD,IAAI,CACF,QAA4D,EAAE,EAC9D,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,wBAAwB,EAAE,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,oBAA4B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,IAAI,CAAC,0BAA0B,oBAAoB,UAAU,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;OAEG;IACH,cAAc,CACZ,oBAA4B,EAC5B,IAA4C,EAC5C,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,yBAAyB,oBAAoB,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;CACF;AA3CD,kDA2CC;AAED,MAAa,uBAAwB,SAAQ,iBAAwB;CAAG;AAAxE,0DAAwE;AA4SxE,WAAiB,mBAAmB;AAKpC,CAAC,EALgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAKnC"}
@@ -0,0 +1,33 @@
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 InboundACHTransfers extends APIResource {
6
+ /**
7
+ * Retrieve an Inbound ACH Transfer
8
+ */
9
+ retrieve(inboundACHTransferId, options) {
10
+ return this.get(`/inbound_ach_transfers/${inboundACHTransferId}`, options);
11
+ }
12
+ list(query = {}, options) {
13
+ if (isRequestOptions(query)) {
14
+ return this.list({}, query);
15
+ }
16
+ return this.getAPIList('/inbound_ach_transfers', InboundACHTransfersPage, { query, ...options });
17
+ }
18
+ /**
19
+ * Decline an Inbound ACH Transfer
20
+ */
21
+ decline(inboundACHTransferId, options) {
22
+ return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
23
+ }
24
+ /**
25
+ * Create an ACH Return
26
+ */
27
+ transferReturn(inboundACHTransferId, body, options) {
28
+ return this.post(`/inbound_ach_transfer/${inboundACHTransferId}/transfer_returns`, { body, ...options });
29
+ }
30
+ }
31
+ export class InboundACHTransfersPage extends Page {}
32
+ (function (InboundACHTransfers) {})(InboundACHTransfers || (InboundACHTransfers = {}));
33
+ //# sourceMappingURL=inbound-ach-transfers.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"inbound-ach-transfers.mjs","sourceRoot":"","sources":["../src/resources/inbound-ach-transfers.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,mBAAoB,SAAQ,WAAW;IAClD;;OAEG;IACH,QAAQ,CAAC,oBAA4B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,GAAG,CAAC,0BAA0B,oBAAoB,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7E,CAAC;IAUD,IAAI,CACF,QAA4D,EAAE,EAC9D,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,wBAAwB,EAAE,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAED;;OAEG;IACH,OAAO,CAAC,oBAA4B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,IAAI,CAAC,0BAA0B,oBAAoB,UAAU,EAAE,OAAO,CAAC,CAAC;IACtF,CAAC;IAED;;OAEG;IACH,cAAc,CACZ,oBAA4B,EAC5B,IAA4C,EAC5C,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,yBAAyB,oBAAoB,mBAAmB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC3G,CAAC;CACF;AAED,MAAM,OAAO,uBAAwB,SAAQ,IAAwB;CAAG;AA4SxE,WAAiB,mBAAmB;AAKpC,CAAC,EALgB,mBAAmB,KAAnB,mBAAmB,QAKnC"}
@@ -1,4 +1,3 @@
1
- export * from './shared.js';
2
1
  export {
3
2
  ACHPrenotification,
4
3
  ACHPrenotificationCreateParams,
@@ -139,9 +138,15 @@ export {
139
138
  } from './external-accounts.js';
140
139
  export { File, FileCreateParams, FileListParams, FilesPage, Files } from './files.js';
141
140
  export { Group, Groups } from './groups.js';
141
+ export {
142
+ InboundACHTransfer,
143
+ InboundACHTransferListParams,
144
+ InboundACHTransferTransferReturnParams,
145
+ InboundACHTransfersPage,
146
+ InboundACHTransfers,
147
+ } from './inbound-ach-transfers.js';
142
148
  export {
143
149
  InboundACHTransferReturn,
144
- InboundACHTransferReturnCreateParams,
145
150
  InboundACHTransferReturnListParams,
146
151
  InboundACHTransferReturnsPage,
147
152
  InboundACHTransferReturns,
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,cAAc,UAAU,CAAC;AACzB,OAAO,EACL,kBAAkB,EAClB,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,GACb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EACP,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,GACT,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,aAAa,EACb,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,kBAAkB,EAClB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,gBAAgB,EAChB,0BAA0B,EAC1B,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,eAAe,EACf,2BAA2B,EAC3B,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EAAE,2BAA2B,EAAE,yBAAyB,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AAC3G,OAAO,EACL,kBAAkB,EAClB,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,wBAAwB,CAAC;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,EAAE,MAAM,uBAAuB,CAAC;AAC1G,OAAO,EACL,wBAAwB,EACxB,oCAAoC,EACpC,kCAAkC,EAClC,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,kBAAkB,EAClB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACpG,OAAO,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,6BAA6B,EAC7B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,aAAa,GACd,MAAM,kBAAkB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,kBAAkB,EAClB,8BAA8B,EAC9B,4BAA4B,EAC5B,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,WAAW,EACX,uBAAuB,EACvB,qBAAqB,EACrB,gBAAgB,EAChB,YAAY,GACb,MAAM,iBAAiB,CAAC;AACzB,OAAO,EACL,OAAO,EACP,mBAAmB,EACnB,mBAAmB,EACnB,iBAAiB,EACjB,YAAY,EACZ,QAAQ,GACT,MAAM,YAAY,CAAC;AACpB,OAAO,EACL,aAAa,EACb,yBAAyB,EACzB,yBAAyB,EACzB,uBAAuB,EACvB,kBAAkB,EAClB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,gBAAgB,EAChB,0BAA0B,EAC1B,qBAAqB,EACrB,iBAAiB,GAClB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,eAAe,EACf,2BA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AE,MAAM,EAAE,MAAM,UAAU,CAAC;AAC5G,OAAO,EACL,eAAe,EACf,yBAAyB,EACzB,oBAAoB,EACpB,gBAAgB,GACjB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,EACL,kBAAkB,EAClB,4BAA4B,EAC5B,uBAAuB,EACvB,mBAAmB,GACpB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,iBAAiB,EAAE,YAAY,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AAChF,OAAO,EAAE,gBAAgB,EAAE,4BAA4B,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAC;AAC1G,OAAO,EACL,wBAAwB,EACxB,oCAAoC,EACpC,kCAAkC,EAClC,6BAA6B,EAC7B,yBAAyB,GAC1B,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,kBAAkB,EAClB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AACxD,OAAO,EAAE,WAAW,EAAE,qBAAqB,EAAE,gBAAgB,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AACpG,OAAO,EACL,mBAAmB,EACnB,+BAA+B,EAC/B,6BAA6B,EAC7B,wBAAwB,EACxB,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EACL,YAAY,EACZ,wBAAwB,EACxB,sBAAsB,EACtB,iBAAiB,EACjB,aAAa,GACd,MAAM,kBAAkB,CAAC"}
@@ -1,34 +1,7 @@
1
1
  'use strict';
2
2
  // File generated from our OpenAPI spec by Stainless.
3
- var __createBinding =
4
- (this && this.__createBinding) ||
5
- (Object.create ?
6
- function (o, m, k, k2) {
7
- if (k2 === undefined) k2 = k;
8
- var desc = Object.getOwnPropertyDescriptor(m, k);
9
- if (!desc || ('get' in desc ? !m.__esModule : desc.writable || desc.configurable)) {
10
- desc = {
11
- enumerable: true,
12
- get: function () {
13
- return m[k];
14
- },
15
- };
16
- }
17
- Object.defineProperty(o, k2, desc);
18
- }
19
- : function (o, m, k, k2) {
20
- if (k2 === undefined) k2 = k;
21
- o[k2] = m[k];
22
- });
23
- var __exportStar =
24
- (this && this.__exportStar) ||
25
- function (m, exports) {
26
- for (var p in m)
27
- if (p !== 'default' && !Object.prototype.hasOwnProperty.call(exports, p))
28
- __createBinding(exports, m, p);
29
- };
30
3
  Object.defineProperty(exports, '__esModule', { value: true });
31
- exports.InboundACHTransferReturnsPage =
4
+ exports.InboundACHTransfersPage =
32
5
  exports.Groups =
33
6
  exports.Files =
34
7
  exports.FilesPage =
@@ -102,8 +75,9 @@ exports.WireTransfers =
102
75
  exports.InboundWireDrawdownRequests =
103
76
  exports.InboundWireDrawdownRequestsPage =
104
77
  exports.InboundACHTransferReturns =
78
+ exports.InboundACHTransferReturnsPage =
79
+ exports.InboundACHTransfers =
105
80
  void 0;
106
- __exportStar(require('./shared.js'), exports);
107
81
  var ach_prenotifications_1 = require('./ach-prenotifications.js');
108
82
  Object.defineProperty(exports, 'ACHPrenotificationsPage', {
109
83
  enumerable: true,
@@ -424,6 +398,19 @@ Object.defineProperty(exports, 'Groups', {
424
398
  return groups_1.Groups;
425
399
  },
426
400
  });
401
+ var inbound_ach_transfers_1 = require('./inbound-ach-transfers.js');
402
+ Object.defineProperty(exports, 'InboundACHTransfersPage', {
403
+ enumerable: true,
404
+ get: function () {
405
+ return inbound_ach_transfers_1.InboundACHTransfersPage;
406
+ },
407
+ });
408
+ Object.defineProperty(exports, 'InboundACHTransfers', {
409
+ enumerable: true,
410
+ get: function () {
411
+ return inbound_ach_transfers_1.InboundACHTransfers;
412
+ },
413
+ });
427
414
  var inbound_ach_transfer_returns_1 = require('./inbound-ach-transfer-returns.js');
428
415
  Object.defineProperty(exports, 'InboundACHTransferReturnsPage', {
429
416
  enumerable: true,
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";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AA;AAC3D,gEAA0G;AAAjD,wHAAA,iBAAiB,OAAA;AAC1E,kFAMwC;AAFtC,6IAAA,6BAA6B,OAAA;AAC7B,yIAAA,yBAAyB,OAAA;AAE3B,wDAK2B;AAFzB,qHAAA,kBAAkB,OAAA;AAClB,iHAAA,cAAc,OAAA;AAEhB,4DAAwD;AAA/C,0GAAA,WAAW,OAAA;AACpB,kDAAoG;AAAvD,gHAAA,gBAAgB,OAAA;AAAE,4GAAA,YAAY,OAAA;AAC3E,sEAMkC;AAFhC,kIAAA,wBAAwB,OAAA;AACxB,8HAAA,oBAAoB,OAAA;AAEtB,sDAM0B;AAFxB,mHAAA,iBAAiB,OAAA;AACjB,+GAAA,aAAa,OAAA"}
@@ -1,5 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless.
2
- export * from './shared.mjs';
3
2
  export { ACHPrenotificationsPage, ACHPrenotifications } from './ach-prenotifications.mjs';
4
3
  export { ACHTransfersPage, ACHTransfers } from './ach-transfers.mjs';
5
4
  export { AccountsPage, Accounts } from './accounts.mjs';
@@ -26,6 +25,7 @@ export { ExportsPage, Exports } from './exports.mjs';
26
25
  export { ExternalAccountsPage, ExternalAccounts } from './external-accounts.mjs';
27
26
  export { FilesPage, Files } from './files.mjs';
28
27
  export { Groups } from './groups.mjs';
28
+ export { InboundACHTransfersPage, InboundACHTransfers } from './inbound-ach-transfers.mjs';
29
29
  export { InboundACHTransferReturnsPage, InboundACHTransferReturns } from './inbound-ach-transfer-returns.mjs';
30
30
  export {
31
31
  InboundWireDrawdownRequestsPage,
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;;OAG9C,EAIL,uBAAuB,EACvB,mBAAmB,GACpB;OACM,EAIL,gBAAgB,EAChB,YAAY,GACb;OACM,EAKL,YAAY,EACZ,QAAQ,GACT;OACM,EAKL,kBAAkB,EAClB,cAAc,GACf;OACM,EAGL,qBAAqB,EACrB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IL,iBAAiB,EACjB,aAAa,GACd"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAE9C,EAIL,uBAAuB,EACvB,mBAAmB,GACpB;OACM,EAIL,gBAAgB,EAChB,YAAY,GACb;OACM,EAKL,YAAY,EACZ,QAAQ,GACT;OACM,EAKL,kBAAkB,EAClB,cAAc,GACf;OACM,EAGL,qBAAqB,EACrB,iBAAiB,GAClB;OACM,EAIL,oBAAoB,EACpB,gBAAgB,GACjB;OACM,EAA0D,cAAc,EAAE;OAC1E,EAIL,uBAAuB,EACvB,mBAAmB,GACpB;OACM,EAGL,sBAAsB,EACtB,kBAAkB,GACnB;OACM,EAGL,oBAAoB,GACrB;OACM,EAML,SAAS,EACT,KAAK,GACN;OACM,EAIL,gBAAgB,EAChB,YAAY,GACb;OACM,EAIL,gBAAgB,EAChB,YAAY,GACb;OACM,EAGL,2BAA2B,EAC3B,uBAAuB,GACxB;OACM,EAIL,iBAAiB,EACjB,aAAa,GACd;OACM,EAKL,kBAAkB,EAClB,cAAc,GACf;OACM,EAGL,wBAAwB,EACxB,oBAAoB,GACrB;OACM,EAGL,uBAAuB,EACvB,mBAAmB,GACpB;OACM,EAAgC,aAAa,EAAE,SAAS,EAAE;OAC1D,EAAgD,YAAY,EAAE,QAAQ,EAAE;OACxE,EAA0B,UAAU,EAAE,MAAM,EAAE;OAC9C,EAKL,sBAAsB,EACtB,kBAAkB,GACnB;OACM,EAAgD,WAAW,EAAE,OAAO,EAAE;OACtE,EAKL,oBAAoB,EACpB,gBAAgB,GACjB;OACM,EAA0C,SAAS,EAAE,KAAK,EAAE;OAC5D,EAAS,MAAM,EAAE;OACjB,EAIL,uBAAuB,EACvB,mBAAmB,GACpB;OACM,EAGL,6BAA6B,EAC7B,yBAAyB,GAC1B;OACM,EAGL,+BAA+B,EAC/B,2BAA2B,GAC5B;OACM,EAAgE,UAAU,EAAE,MAAM,EAAE;OACpF,EAGL,oBAAoB,EACpB,gBAAgB,GACjB;OACM,EAGL,uBAAuB,EACvB,mBAAmB,GACpB;OACM,EAA8B,YAAY,EAAE,QAAQ,EAAE;OACtD,EAAkD,iBAAiB,EAAE;OACrE,EAIL,6BAA6B,EAC7B,yBAAyB,GAC1B;OACM,EAGL,kBAAkB,EAClB,cAAc,GACf;OACM,EAAE,WAAW,EAAE;OACf,EAAsC,gBAAgB,EAAE,YAAY,EAAE;OACtE,EAIL,wBAAwB,EACxB,oBAAoB,GACrB;OACM,EAIL,iBAAiB,EACjB,aAAa,GACd"}
@@ -1,6 +1,5 @@
1
1
  import * as Core from 'increase/core';
2
2
  import { APIResource } from 'increase/resource';
3
- import * as Shared from 'increase/resources/shared';
4
3
  import * as API from './index.js';
5
4
  import { Page, PageParams } from 'increase/pagination';
6
5
  export declare class PendingTransactions extends APIResource {
@@ -44,13 +43,13 @@ export interface PendingTransaction {
44
43
  completed_at: string | null;
45
44
  /**
46
45
  * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date on which the Pending
47
- * Transaction occured.
46
+ * Transaction occurred.
48
47
  */
49
48
  created_at: string;
50
49
  /**
51
50
  * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the Pending
52
51
  * Transaction's currency. This will match the currency on the Pending
53
- * Transcation's Account.
52
+ * Transaction's Account.
54
53
  *
55
54
  * - `CAD` - Canadian Dollar (CAD)
56
55
  * - `CHF` - Swiss Franc (CHF)
@@ -138,7 +137,7 @@ export declare namespace PendingTransaction {
138
137
  * under the `check_transfer_instruction` object.
139
138
  * - `inbound_funds_hold` - Inbound Funds Hold: details will be under the
140
139
  * `inbound_funds_hold` object.
141
- * - `real_time_payments_transfer_instruction` - Real Time Payments Transfer
140
+ * - `real_time_payments_transfer_instruction` - Real-Time Payments Transfer
142
141
  * Instruction: details will be under the
143
142
  * `real_time_payments_transfer_instruction` object.
144
143
  * - `wire_transfer_instruction` - Wire Transfer Instruction: details will be under
@@ -172,7 +171,7 @@ export declare namespace PendingTransaction {
172
171
  */
173
172
  inbound_funds_hold: Source.InboundFundsHold | null;
174
173
  /**
175
- * A Real Time Payments Transfer Instruction object. This field will be present in
174
+ * A Real-Time Payments Transfer Instruction object. This field will be present in
176
175
  * the JSON response if and only if `category` is equal to
177
176
  * `real_time_payments_transfer_instruction`.
178
177
  */
@@ -377,8 +376,33 @@ export declare namespace PendingTransaction {
377
376
  /**
378
377
  * The method used to enter the cardholder's primary account number and card
379
378
  * expiration date
379
+ *
380
+ * - `unknown` - Unknown
381
+ * - `manual` - Manual key entry
382
+ * - `magnetic_stripe_no_cvv` - Magnetic stripe read, without card verification
383
+ * value
384
+ * - `optical_code` - Optical code
385
+ * - `integrated_circuit_card` - Contact chip card
386
+ * - `contactless` - Contactless read of chip card
387
+ * - `credential_on_file` - Transaction initiated using a credential that has
388
+ * previously been stored on file
389
+ * - `magnetic_stripe` - Magnetic stripe read
390
+ * - `contactless_magnetic_stripe` - Contactless read of magnetic stripe data
391
+ * - `integrated_circuit_card_no_cvv` - Contact chip card, without card
392
+ * verification value
380
393
  */
381
- point_of_service_entry_mode: Shared.PointOfServiceEntryMode | null;
394
+ point_of_service_entry_mode:
395
+ | 'unknown'
396
+ | 'manual'
397
+ | 'magnetic_stripe_no_cvv'
398
+ | 'optical_code'
399
+ | 'integrated_circuit_card'
400
+ | 'contactless'
401
+ | 'credential_on_file'
402
+ | 'magnetic_stripe'
403
+ | 'contactless_magnetic_stripe'
404
+ | 'integrated_circuit_card_no_cvv'
405
+ | null;
382
406
  }
383
407
  }
384
408
  }
@@ -508,7 +532,7 @@ export declare namespace PendingTransaction {
508
532
  type: 'inbound_funds_hold';
509
533
  }
510
534
  /**
511
- * A Real Time Payments Transfer Instruction object. This field will be present in
535
+ * A Real-Time Payments Transfer Instruction object. This field will be present in
512
536
  * the JSON response if and only if `category` is equal to
513
537
  * `real_time_payments_transfer_instruction`.
514
538
  */
@@ -519,7 +543,7 @@ export declare namespace PendingTransaction {
519
543
  */
520
544
  amount: number;
521
545
  /**
522
- * The identifier of the Real Time Payments Transfer that led to this Pending
546
+ * The identifier of the Real-Time Payments Transfer that led to this Pending
523
547
  * Transaction.
524
548
  */
525
549
  transfer_id: string;
@@ -546,6 +570,7 @@ export interface PendingTransactionListParams extends PageParams {
546
570
  * Filter pending transactions to those belonging to the specified Account.
547
571
  */
548
572
  account_id?: string;
573
+ category?: PendingTransactionListParams.Category;
549
574
  created_at?: PendingTransactionListParams.CreatedAt;
550
575
  /**
551
576
  * Filter pending transactions to those belonging to the specified Route.
@@ -558,6 +583,23 @@ export interface PendingTransactionListParams extends PageParams {
558
583
  status?: PendingTransactionListParams.Status;
559
584
  }
560
585
  export declare namespace PendingTransactionListParams {
586
+ interface Category {
587
+ /**
588
+ * Return results whose value is in the provided list. For GET requests, this
589
+ * should be encoded as a comma-delimited string, such as `?in=one,two,three`.
590
+ */
591
+ in?: Array<
592
+ | 'account_transfer_instruction'
593
+ | 'ach_transfer_instruction'
594
+ | 'card_authorization'
595
+ | 'check_deposit_instruction'
596
+ | 'check_transfer_instruction'
597
+ | 'inbound_funds_hold'
598
+ | 'real_time_payments_transfer_instruction'
599
+ | 'wire_transfer_instruction'
600
+ | 'other'
601
+ >;
602
+ }
561
603
  interface CreatedAt {
562
604
  /**
563
605
  * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)