increase 0.21.0 → 0.22.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (79) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/LICENSE +1 -1
  3. package/README.md +6 -3
  4. package/core.d.ts +1 -0
  5. package/core.d.ts.map +1 -1
  6. package/core.js +38 -12
  7. package/core.js.map +1 -1
  8. package/core.mjs +38 -12
  9. package/core.mjs.map +1 -1
  10. package/index.d.mts +6 -0
  11. package/index.d.ts +6 -0
  12. package/index.d.ts.map +1 -1
  13. package/index.js +3 -0
  14. package/index.js.map +1 -1
  15. package/index.mjs +3 -0
  16. package/index.mjs.map +1 -1
  17. package/package.json +1 -1
  18. package/pagination.d.ts +0 -3
  19. package/pagination.d.ts.map +1 -1
  20. package/pagination.js +11 -5
  21. package/pagination.js.map +1 -1
  22. package/pagination.mjs +11 -5
  23. package/pagination.mjs.map +1 -1
  24. package/resources/check-transfers.d.ts +6 -3
  25. package/resources/check-transfers.d.ts.map +1 -1
  26. package/resources/check-transfers.js.map +1 -1
  27. package/resources/check-transfers.mjs.map +1 -1
  28. package/resources/index.d.ts +1 -0
  29. package/resources/index.d.ts.map +1 -1
  30. package/resources/index.js +4 -1
  31. package/resources/index.js.map +1 -1
  32. package/resources/index.mjs +1 -0
  33. package/resources/index.mjs.map +1 -1
  34. package/resources/physical-cards.d.ts +4 -0
  35. package/resources/physical-cards.d.ts.map +1 -1
  36. package/resources/physical-cards.js.map +1 -1
  37. package/resources/physical-cards.mjs.map +1 -1
  38. package/resources/real-time-payments-request-for-payments.d.ts +344 -0
  39. package/resources/real-time-payments-request-for-payments.d.ts.map +1 -0
  40. package/resources/real-time-payments-request-for-payments.js +59 -0
  41. package/resources/real-time-payments-request-for-payments.js.map +1 -0
  42. package/resources/real-time-payments-request-for-payments.mjs +31 -0
  43. package/resources/real-time-payments-request-for-payments.mjs.map +1 -0
  44. package/resources/simulations/ach-transfers.d.ts +2 -1
  45. package/resources/simulations/ach-transfers.d.ts.map +1 -1
  46. package/resources/simulations/ach-transfers.js.map +1 -1
  47. package/resources/simulations/ach-transfers.mjs.map +1 -1
  48. package/resources/simulations/interest-payments.d.ts +2 -1
  49. package/resources/simulations/interest-payments.d.ts.map +1 -1
  50. package/resources/simulations/interest-payments.js.map +1 -1
  51. package/resources/simulations/interest-payments.mjs.map +1 -1
  52. package/resources/simulations/real-time-payments-transfers.d.ts +2 -1
  53. package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
  54. package/resources/simulations/real-time-payments-transfers.js.map +1 -1
  55. package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
  56. package/resources/simulations/wire-transfers.d.ts +2 -1
  57. package/resources/simulations/wire-transfers.d.ts.map +1 -1
  58. package/resources/simulations/wire-transfers.js.map +1 -1
  59. package/resources/simulations/wire-transfers.mjs.map +1 -1
  60. package/resources/transactions.d.ts +2 -1
  61. package/resources/transactions.d.ts.map +1 -1
  62. package/resources/transactions.js.map +1 -1
  63. package/resources/transactions.mjs.map +1 -1
  64. package/src/core.ts +50 -13
  65. package/src/index.ts +8 -0
  66. package/src/pagination.ts +12 -8
  67. package/src/resources/check-transfers.ts +7 -3
  68. package/src/resources/index.ts +7 -0
  69. package/src/resources/physical-cards.ts +5 -0
  70. package/src/resources/real-time-payments-request-for-payments.ts +450 -0
  71. package/src/resources/simulations/ach-transfers.ts +2 -1
  72. package/src/resources/simulations/interest-payments.ts +2 -1
  73. package/src/resources/simulations/real-time-payments-transfers.ts +2 -1
  74. package/src/resources/simulations/wire-transfers.ts +2 -1
  75. package/src/resources/transactions.ts +2 -1
  76. package/src/version.ts +1 -1
  77. package/version.d.ts +1 -1
  78. package/version.js +1 -1
  79. package/version.mjs +1 -1
@@ -0,0 +1,450 @@
1
+ // File generated from our OpenAPI spec by Stainless.
2
+
3
+ import * as Core from "../core";
4
+ import { APIResource } from "../resource";
5
+ import { isRequestOptions } from "../core";
6
+ import * as RealTimePaymentsRequestForPaymentsAPI from "./real-time-payments-request-for-payments";
7
+ import { Page, type PageParams } from "../pagination";
8
+
9
+ export class RealTimePaymentsRequestForPayments extends APIResource {
10
+ /**
11
+ * Create a Real-Time Payments Request for Payment
12
+ */
13
+ create(
14
+ body: RealTimePaymentsRequestForPaymentCreateParams,
15
+ options?: Core.RequestOptions,
16
+ ): Core.APIPromise<RealTimePaymentsRequestForPayment> {
17
+ return this._client.post('/real_time_payments_request_for_payments', { body, ...options });
18
+ }
19
+
20
+ /**
21
+ * Retrieve a Real-Time Payments Request for Payment
22
+ */
23
+ retrieve(
24
+ requestForPaymentId: string,
25
+ options?: Core.RequestOptions,
26
+ ): Core.APIPromise<RealTimePaymentsRequestForPayment> {
27
+ return this._client.get(`/real_time_payments_request_for_payments/${requestForPaymentId}`, options);
28
+ }
29
+
30
+ /**
31
+ * List Real-Time Payments Request for Payments
32
+ */
33
+ list(
34
+ query?: RealTimePaymentsRequestForPaymentListParams,
35
+ options?: Core.RequestOptions,
36
+ ): Core.PagePromise<RealTimePaymentsRequestForPaymentsPage, RealTimePaymentsRequestForPayment>;
37
+ list(
38
+ options?: Core.RequestOptions,
39
+ ): Core.PagePromise<RealTimePaymentsRequestForPaymentsPage, RealTimePaymentsRequestForPayment>;
40
+ list(
41
+ query: RealTimePaymentsRequestForPaymentListParams | Core.RequestOptions = {},
42
+ options?: Core.RequestOptions,
43
+ ): Core.PagePromise<RealTimePaymentsRequestForPaymentsPage, RealTimePaymentsRequestForPayment> {
44
+ if (isRequestOptions(query)) {
45
+ return this.list({}, query);
46
+ }
47
+ return this._client.getAPIList(
48
+ '/real_time_payments_request_for_payments',
49
+ RealTimePaymentsRequestForPaymentsPage,
50
+ { query, ...options },
51
+ );
52
+ }
53
+ }
54
+
55
+ export class RealTimePaymentsRequestForPaymentsPage extends Page<RealTimePaymentsRequestForPayment> {}
56
+
57
+ /**
58
+ * Real-Time Payments transfers move funds, within seconds, between your Increase
59
+ * account and any other account on the Real-Time Payments network. A request for
60
+ * payment is a request to the receiver to send funds to your account. The
61
+ * permitted uses of Requests For Payment are limited by the Real-Time Payments
62
+ * network to business-to-business payments and transfers between two accounts at
63
+ * different banks owned by the same individual. Please contact
64
+ * [support@increase.com](mailto:support@increase.com) to enable this API for your
65
+ * team.
66
+ */
67
+ export interface RealTimePaymentsRequestForPayment {
68
+ /**
69
+ * The Real-Time Payments Request for Payment's identifier.
70
+ */
71
+ id: string;
72
+
73
+ /**
74
+ * The transfer amount in USD cents.
75
+ */
76
+ amount: number;
77
+
78
+ /**
79
+ * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
80
+ * the request for payment was created.
81
+ */
82
+ created_at: string;
83
+
84
+ /**
85
+ * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
86
+ * currency. For real-time payments transfers this is always equal to `USD`.
87
+ *
88
+ * - `CAD` - Canadian Dollar (CAD)
89
+ * - `CHF` - Swiss Franc (CHF)
90
+ * - `EUR` - Euro (EUR)
91
+ * - `GBP` - British Pound (GBP)
92
+ * - `JPY` - Japanese Yen (JPY)
93
+ * - `USD` - US Dollar (USD)
94
+ */
95
+ currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
96
+
97
+ /**
98
+ * The name of the recipient the sender is requesting a transfer from.
99
+ */
100
+ debtor_name: string;
101
+
102
+ /**
103
+ * The Account Number in which a successful transfer will arrive.
104
+ */
105
+ destination_account_number_id: string;
106
+
107
+ /**
108
+ * The expiration time for this request, in UTC. The requestee will not be able to
109
+ * pay after this date.
110
+ */
111
+ expires_at: string;
112
+
113
+ /**
114
+ * The transaction that fulfilled this request.
115
+ */
116
+ fulfillment_transaction_id: string | null;
117
+
118
+ /**
119
+ * If the request for payment is refused by the destination financial institution
120
+ * or the receiving customer, this will contain supplemental details.
121
+ */
122
+ refusal: RealTimePaymentsRequestForPayment.Refusal | null;
123
+
124
+ /**
125
+ * If the request for payment is rejected by Real-Time Payments or the destination
126
+ * financial institution, this will contain supplemental details.
127
+ */
128
+ rejection: RealTimePaymentsRequestForPayment.Rejection | null;
129
+
130
+ /**
131
+ * Unstructured information that will show on the recipient's bank statement.
132
+ */
133
+ remittance_information: string;
134
+
135
+ /**
136
+ * The account number the request is sent to.
137
+ */
138
+ source_account_number: string;
139
+
140
+ /**
141
+ * The receiver's American Bankers' Association (ABA) Routing Transit Number (RTN).
142
+ */
143
+ source_routing_number: string;
144
+
145
+ /**
146
+ * The lifecycle status of the request for payment.
147
+ *
148
+ * - `pending_submission` - The request for payment is queued to be submitted to
149
+ * Real-Time Payments.
150
+ * - `pending_response` - The request for payment has been submitted and is pending
151
+ * a response from Real-Time Payments.
152
+ * - `rejected` - The request for payment was rejected by the network or the
153
+ * recipient.
154
+ * - `accepted` - The request for payment was accepted by the recipient but has not
155
+ * yet been paid.
156
+ * - `refused` - The request for payment was refused by the recipient.
157
+ * - `fulfilled` - The request for payment was fulfilled by the receiver.
158
+ */
159
+ status: 'pending_submission' | 'pending_response' | 'rejected' | 'accepted' | 'refused' | 'fulfilled';
160
+
161
+ /**
162
+ * After the request for payment is submitted to Real-Time Payments, this will
163
+ * contain supplemental details.
164
+ */
165
+ submission: RealTimePaymentsRequestForPayment.Submission | null;
166
+
167
+ /**
168
+ * A constant representing the object's type. For this resource it will always be
169
+ * `real_time_payments_request_for_payment`.
170
+ */
171
+ type: 'real_time_payments_request_for_payment';
172
+ }
173
+
174
+ export namespace RealTimePaymentsRequestForPayment {
175
+ /**
176
+ * If the request for payment is refused by the destination financial institution
177
+ * or the receiving customer, this will contain supplemental details.
178
+ */
179
+ export interface Refusal {
180
+ /**
181
+ * The reason the request for payment was refused as provided by the recipient bank
182
+ * or the customer.
183
+ *
184
+ * - `account_blocked` - The destination account is currently blocked from
185
+ * receiving transactions. Corresponds to the Real-Time Payments reason code
186
+ * `AC06`.
187
+ * - `transaction_forbidden` - Real-Time Payments transfers are not allowed to the
188
+ * destination account. Corresponds to the Real-Time Payments reason code `AG01`.
189
+ * - `transaction_type_not_supported` - Real-Time Payments transfers are not
190
+ * enabled for the destination account. Corresponds to the Real-Time Payments
191
+ * reason code `AG03`.
192
+ * - `unexpected_amount` - The amount of the transfer is different than expected by
193
+ * the recipient. Corresponds to the Real-Time Payments reason code `AM09`.
194
+ * - `amount_exceeds_bank_limits` - The amount is higher than the recipient is
195
+ * authorized to send or receive. Corresponds to the Real-Time Payments reason
196
+ * code `AM14`.
197
+ * - `invalid_debtor_address` - The debtor's address is required, but missing or
198
+ * invalid. Corresponds to the Real-Time Payments reason code `BE07`.
199
+ * - `invalid_creditor_address` - The creditor's address is required, but missing
200
+ * or invalid. Corresponds to the Real-Time Payments reason code `BE04`.
201
+ * - `creditor_identifier_incorrect` - Creditor identifier incorrect. Corresponds
202
+ * to the Real-Time Payments reason code `CH11`.
203
+ * - `requested_by_customer` - The customer refused the request. Corresponds to the
204
+ * Real-Time Payments reason code `CUST`.
205
+ * - `order_rejected` - The order was rejected. Corresponds to the Real-Time
206
+ * Payments reason code `DS04`.
207
+ * - `end_customer_deceased` - The destination account holder is deceased.
208
+ * Corresponds to the Real-Time Payments reason code `MD07`.
209
+ * - `customer_has_opted_out` - The customer has opted out of receiving requests
210
+ * for payments from this creditor. Corresponds to the Real-Time Payments reason
211
+ * code `SL12`.
212
+ * - `other` - Some other error or issue has occurred.
213
+ */
214
+ refusal_reason_code:
215
+ | 'account_blocked'
216
+ | 'transaction_forbidden'
217
+ | 'transaction_type_not_supported'
218
+ | 'unexpected_amount'
219
+ | 'amount_exceeds_bank_limits'
220
+ | 'invalid_debtor_address'
221
+ | 'invalid_creditor_address'
222
+ | 'creditor_identifier_incorrect'
223
+ | 'requested_by_customer'
224
+ | 'order_rejected'
225
+ | 'end_customer_deceased'
226
+ | 'customer_has_opted_out'
227
+ | 'other';
228
+ }
229
+
230
+ /**
231
+ * If the request for payment is rejected by Real-Time Payments or the destination
232
+ * financial institution, this will contain supplemental details.
233
+ */
234
+ export interface Rejection {
235
+ /**
236
+ * The reason the request for payment was rejected as provided by the recipient
237
+ * bank or the Real-Time Payments network.
238
+ *
239
+ * - `account_closed` - The destination account is closed. Corresponds to the
240
+ * Real-Time Payments reason code `AC04`.
241
+ * - `account_blocked` - The destination account is currently blocked from
242
+ * receiving transactions. Corresponds to the Real-Time Payments reason code
243
+ * `AC06`.
244
+ * - `invalid_creditor_account_type` - The destination account is ineligible to
245
+ * receive Real-Time Payments transfers. Corresponds to the Real-Time Payments
246
+ * reason code `AC14`.
247
+ * - `invalid_creditor_account_number` - The destination account does not exist.
248
+ * Corresponds to the Real-Time Payments reason code `AC03`.
249
+ * - `invalid_creditor_financial_institution_identifier` - The destination routing
250
+ * number is invalid. Corresponds to the Real-Time Payments reason code `RC04`.
251
+ * - `end_customer_deceased` - The destination account holder is deceased.
252
+ * Corresponds to the Real-Time Payments reason code `MD07`.
253
+ * - `narrative` - The reason is provided as narrative information in the
254
+ * additional information field.
255
+ * - `transaction_forbidden` - Real-Time Payments transfers are not allowed to the
256
+ * destination account. Corresponds to the Real-Time Payments reason code `AG01`.
257
+ * - `transaction_type_not_supported` - Real-Time Payments transfers are not
258
+ * enabled for the destination account. Corresponds to the Real-Time Payments
259
+ * reason code `AG03`.
260
+ * - `unexpected_amount` - The amount of the transfer is different than expected by
261
+ * the recipient. Corresponds to the Real-Time Payments reason code `AM09`.
262
+ * - `amount_exceeds_bank_limits` - The amount is higher than the recipient is
263
+ * authorized to send or receive. Corresponds to the Real-Time Payments reason
264
+ * code `AM14`.
265
+ * - `invalid_creditor_address` - The creditor's address is required, but missing
266
+ * or invalid. Corresponds to the Real-Time Payments reason code `BE04`.
267
+ * - `unknown_end_customer` - The specified creditor is unknown. Corresponds to the
268
+ * Real-Time Payments reason code `BE06`.
269
+ * - `invalid_debtor_address` - The debtor's address is required, but missing or
270
+ * invalid. Corresponds to the Real-Time Payments reason code `BE07`.
271
+ * - `timeout` - There was a timeout processing the transfer. Corresponds to the
272
+ * Real-Time Payments reason code `DS24`.
273
+ * - `unsupported_message_for_recipient` - Real-Time Payments transfers are not
274
+ * enabled for the destination account. Corresponds to the Real-Time Payments
275
+ * reason code `NOAT`.
276
+ * - `recipient_connection_not_available` - The destination financial institution
277
+ * is currently not connected to Real-Time Payments. Corresponds to the Real-Time
278
+ * Payments reason code `9912`.
279
+ * - `real_time_payments_suspended` - Real-Time Payments is currently unavailable.
280
+ * Corresponds to the Real-Time Payments reason code `9948`.
281
+ * - `instructed_agent_signed_off` - The destination financial institution is
282
+ * currently signed off of Real-Time Payments. Corresponds to the Real-Time
283
+ * Payments reason code `9910`.
284
+ * - `processing_error` - The transfer was rejected due to an internal Increase
285
+ * issue. We have been notified.
286
+ * - `other` - Some other error or issue has occurred.
287
+ */
288
+ reject_reason_code:
289
+ | 'account_closed'
290
+ | 'account_blocked'
291
+ | 'invalid_creditor_account_type'
292
+ | 'invalid_creditor_account_number'
293
+ | 'invalid_creditor_financial_institution_identifier'
294
+ | 'end_customer_deceased'
295
+ | 'narrative'
296
+ | 'transaction_forbidden'
297
+ | 'transaction_type_not_supported'
298
+ | 'unexpected_amount'
299
+ | 'amount_exceeds_bank_limits'
300
+ | 'invalid_creditor_address'
301
+ | 'unknown_end_customer'
302
+ | 'invalid_debtor_address'
303
+ | 'timeout'
304
+ | 'unsupported_message_for_recipient'
305
+ | 'recipient_connection_not_available'
306
+ | 'real_time_payments_suspended'
307
+ | 'instructed_agent_signed_off'
308
+ | 'processing_error'
309
+ | 'other';
310
+ }
311
+
312
+ /**
313
+ * After the request for payment is submitted to Real-Time Payments, this will
314
+ * contain supplemental details.
315
+ */
316
+ export interface Submission {
317
+ /**
318
+ * The Real-Time Payments payment information identification of the request.
319
+ */
320
+ payment_information_identification: string;
321
+ }
322
+ }
323
+
324
+ export interface RealTimePaymentsRequestForPaymentCreateParams {
325
+ /**
326
+ * The requested amount in USD cents. Must be positive.
327
+ */
328
+ amount: number;
329
+
330
+ /**
331
+ * Details of the person being requested to pay.
332
+ */
333
+ debtor: RealTimePaymentsRequestForPaymentCreateParams.Debtor;
334
+
335
+ /**
336
+ * The identifier of the Account Number where the funds will land.
337
+ */
338
+ destination_account_number_id: string;
339
+
340
+ /**
341
+ * The expiration time for this request, in UTC. The requestee will not be able to
342
+ * pay after this date.
343
+ */
344
+ expires_at: string;
345
+
346
+ /**
347
+ * Unstructured information that will show on the requestee's bank statement.
348
+ */
349
+ remittance_information: string;
350
+
351
+ /**
352
+ * The account number the funds will be requested from.
353
+ */
354
+ source_account_number: string;
355
+
356
+ /**
357
+ * The requestee's American Bankers' Association (ABA) Routing Transit Number
358
+ * (RTN).
359
+ */
360
+ source_routing_number: string;
361
+ }
362
+
363
+ export namespace RealTimePaymentsRequestForPaymentCreateParams {
364
+ /**
365
+ * Details of the person being requested to pay.
366
+ */
367
+ export interface Debtor {
368
+ /**
369
+ * Address of the debtor.
370
+ */
371
+ address: Debtor.Address;
372
+
373
+ /**
374
+ * The name of the debtor.
375
+ */
376
+ name: string;
377
+ }
378
+
379
+ export namespace Debtor {
380
+ /**
381
+ * Address of the debtor.
382
+ */
383
+ export interface Address {
384
+ /**
385
+ * The ISO 3166, Alpha-2 country code.
386
+ */
387
+ country: string;
388
+
389
+ /**
390
+ * The town or city.
391
+ */
392
+ city?: string;
393
+
394
+ /**
395
+ * The postal code or zip.
396
+ */
397
+ post_code?: string;
398
+
399
+ /**
400
+ * The street name without the street number.
401
+ */
402
+ street_name?: string;
403
+ }
404
+ }
405
+ }
406
+
407
+ export interface RealTimePaymentsRequestForPaymentListParams extends PageParams {
408
+ /**
409
+ * Filter Real-Time Payments Request for Payments to those destined to the
410
+ * specified Account.
411
+ */
412
+ account_id?: string;
413
+
414
+ created_at?: RealTimePaymentsRequestForPaymentListParams.CreatedAt;
415
+ }
416
+
417
+ export namespace RealTimePaymentsRequestForPaymentListParams {
418
+ export interface CreatedAt {
419
+ /**
420
+ * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
421
+ * timestamp.
422
+ */
423
+ after?: string;
424
+
425
+ /**
426
+ * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
427
+ * timestamp.
428
+ */
429
+ before?: string;
430
+
431
+ /**
432
+ * Return results on or after this
433
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
434
+ */
435
+ on_or_after?: string;
436
+
437
+ /**
438
+ * Return results on or before this
439
+ * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
440
+ */
441
+ on_or_before?: string;
442
+ }
443
+ }
444
+
445
+ export namespace RealTimePaymentsRequestForPayments {
446
+ export import RealTimePaymentsRequestForPayment = RealTimePaymentsRequestForPaymentsAPI.RealTimePaymentsRequestForPayment;
447
+ export import RealTimePaymentsRequestForPaymentsPage = RealTimePaymentsRequestForPaymentsAPI.RealTimePaymentsRequestForPaymentsPage;
448
+ export import RealTimePaymentsRequestForPaymentCreateParams = RealTimePaymentsRequestForPaymentsAPI.RealTimePaymentsRequestForPaymentCreateParams;
449
+ export import RealTimePaymentsRequestForPaymentListParams = RealTimePaymentsRequestForPaymentsAPI.RealTimePaymentsRequestForPaymentListParams;
450
+ }
@@ -3587,9 +3587,10 @@ export namespace ACHTransferSimulation {
3587
3587
  * - `mail_delivery_failed` - The check could not be delivered.
3588
3588
  * - `rejected_by_increase` - The check was canceled by an Increase operator who
3589
3589
  * will provide details out-of-band.
3590
+ * - `not_authorized` - The check was not authorized.
3590
3591
  * - `unknown` - The check was stopped for another reason.
3591
3592
  */
3592
- reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'unknown';
3593
+ reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'not_authorized' | 'unknown';
3593
3594
 
3594
3595
  /**
3595
3596
  * The time the stop-payment was requested.
@@ -2369,9 +2369,10 @@ export namespace InterestPaymentSimulationResult {
2369
2369
  * - `mail_delivery_failed` - The check could not be delivered.
2370
2370
  * - `rejected_by_increase` - The check was canceled by an Increase operator who
2371
2371
  * will provide details out-of-band.
2372
+ * - `not_authorized` - The check was not authorized.
2372
2373
  * - `unknown` - The check was stopped for another reason.
2373
2374
  */
2374
- reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'unknown';
2375
+ reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'not_authorized' | 'unknown';
2375
2376
 
2376
2377
  /**
2377
2378
  * The time the stop-payment was requested.
@@ -3567,9 +3567,10 @@ export namespace InboundRealTimePaymentsTransferSimulationResult {
3567
3567
  * - `mail_delivery_failed` - The check could not be delivered.
3568
3568
  * - `rejected_by_increase` - The check was canceled by an Increase operator who
3569
3569
  * will provide details out-of-band.
3570
+ * - `not_authorized` - The check was not authorized.
3570
3571
  * - `unknown` - The check was stopped for another reason.
3571
3572
  */
3572
- reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'unknown';
3573
+ reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'not_authorized' | 'unknown';
3573
3574
 
3574
3575
  /**
3575
3576
  * The time the stop-payment was requested.
@@ -2370,9 +2370,10 @@ export namespace WireTransferSimulation {
2370
2370
  * - `mail_delivery_failed` - The check could not be delivered.
2371
2371
  * - `rejected_by_increase` - The check was canceled by an Increase operator who
2372
2372
  * will provide details out-of-band.
2373
+ * - `not_authorized` - The check was not authorized.
2373
2374
  * - `unknown` - The check was stopped for another reason.
2374
2375
  */
2375
- reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'unknown';
2376
+ reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'not_authorized' | 'unknown';
2376
2377
 
2377
2378
  /**
2378
2379
  * The time the stop-payment was requested.
@@ -2369,9 +2369,10 @@ export namespace Transaction {
2369
2369
  * - `mail_delivery_failed` - The check could not be delivered.
2370
2370
  * - `rejected_by_increase` - The check was canceled by an Increase operator who
2371
2371
  * will provide details out-of-band.
2372
+ * - `not_authorized` - The check was not authorized.
2372
2373
  * - `unknown` - The check was stopped for another reason.
2373
2374
  */
2374
- reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'unknown';
2375
+ reason: 'mail_delivery_failed' | 'rejected_by_increase' | 'not_authorized' | 'unknown';
2375
2376
 
2376
2377
  /**
2377
2378
  * The time the stop-payment was requested.
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.21.0'; // x-release-please-version
1
+ export const VERSION = '0.22.1'; // x-release-please-version
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.21.0";
1
+ export declare const VERSION = "0.22.1";
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.21.0'; // x-release-please-version
4
+ exports.VERSION = '0.22.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.21.0'; // x-release-please-version
1
+ export const VERSION = '0.22.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map