increase 0.184.0 → 0.186.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/CHANGELOG.md +23 -0
  2. package/core.js +2 -1
  3. package/core.js.map +1 -1
  4. package/core.mjs +2 -1
  5. package/core.mjs.map +1 -1
  6. package/index.d.mts +0 -3
  7. package/index.d.ts +0 -3
  8. package/index.d.ts.map +1 -1
  9. package/index.js +0 -4
  10. package/index.js.map +1 -1
  11. package/index.mjs +0 -4
  12. package/index.mjs.map +1 -1
  13. package/package.json +1 -1
  14. package/pagination.js +1 -1
  15. package/pagination.js.map +1 -1
  16. package/pagination.mjs +1 -1
  17. package/pagination.mjs.map +1 -1
  18. package/resources/check-transfers.d.ts +6 -0
  19. package/resources/check-transfers.d.ts.map +1 -1
  20. package/resources/check-transfers.js.map +1 -1
  21. package/resources/check-transfers.mjs.map +1 -1
  22. package/resources/index.d.ts +0 -1
  23. package/resources/index.d.ts.map +1 -1
  24. package/resources/index.js +2 -5
  25. package/resources/index.js.map +1 -1
  26. package/resources/index.mjs +0 -1
  27. package/resources/index.mjs.map +1 -1
  28. package/src/core.ts +2 -2
  29. package/src/index.ts +0 -19
  30. package/src/pagination.ts +1 -1
  31. package/src/resources/check-transfers.ts +7 -0
  32. package/src/resources/index.ts +0 -7
  33. package/src/version.ts +1 -1
  34. package/version.d.ts +1 -1
  35. package/version.js +1 -1
  36. package/version.mjs +1 -1
  37. package/resources/real-time-payments-request-for-payments.d.ts +0 -353
  38. package/resources/real-time-payments-request-for-payments.d.ts.map +0 -1
  39. package/resources/real-time-payments-request-for-payments.js +0 -34
  40. package/resources/real-time-payments-request-for-payments.js.map +0 -1
  41. package/resources/real-time-payments-request-for-payments.mjs +0 -29
  42. package/resources/real-time-payments-request-for-payments.mjs.map +0 -1
  43. package/src/resources/real-time-payments-request-for-payments.ts +0 -469
@@ -1,353 +0,0 @@
1
- import { APIResource } from "../resource.js";
2
- import * as Core from "../core.js";
3
- import { Page, type PageParams } from "../pagination.js";
4
- export declare class RealTimePaymentsRequestForPayments extends APIResource {
5
- /**
6
- * Create a Real-Time Payments Request for Payment
7
- */
8
- create(body: RealTimePaymentsRequestForPaymentCreateParams, options?: Core.RequestOptions): Core.APIPromise<RealTimePaymentsRequestForPayment>;
9
- /**
10
- * Retrieve a Real-Time Payments Request for Payment
11
- */
12
- retrieve(requestForPaymentId: string, options?: Core.RequestOptions): Core.APIPromise<RealTimePaymentsRequestForPayment>;
13
- /**
14
- * List Real-Time Payments Request for Payments
15
- */
16
- list(query?: RealTimePaymentsRequestForPaymentListParams, options?: Core.RequestOptions): Core.PagePromise<RealTimePaymentsRequestForPaymentsPage, RealTimePaymentsRequestForPayment>;
17
- list(options?: Core.RequestOptions): Core.PagePromise<RealTimePaymentsRequestForPaymentsPage, RealTimePaymentsRequestForPayment>;
18
- }
19
- export declare class RealTimePaymentsRequestForPaymentsPage extends Page<RealTimePaymentsRequestForPayment> {
20
- }
21
- /**
22
- * Real-Time Payments transfers move funds, within seconds, between your Increase
23
- * account and any other account on the Real-Time Payments network. A request for
24
- * payment is a request to the receiver to send funds to your account. The
25
- * permitted uses of Requests For Payment are limited by the Real-Time Payments
26
- * network to business-to-business payments and transfers between two accounts at
27
- * different banks owned by the same individual. Please contact
28
- * [support@increase.com](mailto:support@increase.com) to enable this API for your
29
- * team.
30
- */
31
- export interface RealTimePaymentsRequestForPayment {
32
- /**
33
- * The Real-Time Payments Request for Payment's identifier.
34
- */
35
- id: string;
36
- /**
37
- * The transfer amount in USD cents.
38
- */
39
- amount: number;
40
- /**
41
- * The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
42
- * the request for payment was created.
43
- */
44
- created_at: string;
45
- /**
46
- * The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
47
- * currency. For real-time payments transfers this is always equal to `USD`.
48
- *
49
- * - `CAD` - Canadian Dollar (CAD)
50
- * - `CHF` - Swiss Franc (CHF)
51
- * - `EUR` - Euro (EUR)
52
- * - `GBP` - British Pound (GBP)
53
- * - `JPY` - Japanese Yen (JPY)
54
- * - `USD` - US Dollar (USD)
55
- */
56
- currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
57
- /**
58
- * The name of the recipient the sender is requesting a transfer from.
59
- */
60
- debtor_name: string;
61
- /**
62
- * The Account Number in which a successful transfer will arrive.
63
- */
64
- destination_account_number_id: string;
65
- /**
66
- * The expiration time for this request, in UTC. The requestee will not be able to
67
- * pay after this date.
68
- */
69
- expires_at: string;
70
- /**
71
- * The transaction that fulfilled this request.
72
- */
73
- fulfillment_transaction_id: string | null;
74
- /**
75
- * The idempotency key you chose for this object. This value is unique across
76
- * Increase and is used to ensure that a request is only processed once. Learn more
77
- * about [idempotency](https://increase.com/documentation/idempotency-keys).
78
- */
79
- idempotency_key: string | null;
80
- /**
81
- * If the request for payment is refused by the destination financial institution
82
- * or the receiving customer, this will contain supplemental details.
83
- */
84
- refusal: RealTimePaymentsRequestForPayment.Refusal | null;
85
- /**
86
- * If the request for payment is rejected by Real-Time Payments or the destination
87
- * financial institution, this will contain supplemental details.
88
- */
89
- rejection: RealTimePaymentsRequestForPayment.Rejection | null;
90
- /**
91
- * Unstructured information that will show on the recipient's bank statement.
92
- */
93
- remittance_information: string;
94
- /**
95
- * The account number the request is sent to.
96
- */
97
- source_account_number: string;
98
- /**
99
- * The receiver's American Bankers' Association (ABA) Routing Transit Number (RTN).
100
- */
101
- source_routing_number: string;
102
- /**
103
- * The lifecycle status of the request for payment.
104
- *
105
- * - `pending_submission` - The request for payment is queued to be submitted to
106
- * Real-Time Payments.
107
- * - `pending_response` - The request for payment has been submitted and is pending
108
- * a response from Real-Time Payments.
109
- * - `rejected` - The request for payment was rejected by the network or the
110
- * recipient.
111
- * - `accepted` - The request for payment was accepted by the recipient but has not
112
- * yet been paid.
113
- * - `refused` - The request for payment was refused by the recipient.
114
- * - `fulfilled` - The request for payment was fulfilled by the receiver.
115
- */
116
- status: 'pending_submission' | 'pending_response' | 'rejected' | 'accepted' | 'refused' | 'fulfilled';
117
- /**
118
- * After the request for payment is submitted to Real-Time Payments, this will
119
- * contain supplemental details.
120
- */
121
- submission: RealTimePaymentsRequestForPayment.Submission | null;
122
- /**
123
- * A constant representing the object's type. For this resource it will always be
124
- * `real_time_payments_request_for_payment`.
125
- */
126
- type: 'real_time_payments_request_for_payment';
127
- }
128
- export declare namespace RealTimePaymentsRequestForPayment {
129
- /**
130
- * If the request for payment is refused by the destination financial institution
131
- * or the receiving customer, this will contain supplemental details.
132
- */
133
- interface Refusal {
134
- /**
135
- * The reason the request for payment was refused as provided by the recipient bank
136
- * or the customer.
137
- *
138
- * - `account_blocked` - The destination account is currently blocked from
139
- * receiving transactions. Corresponds to the Real-Time Payments reason code
140
- * `AC06`.
141
- * - `transaction_forbidden` - Real-Time Payments transfers are not allowed to the
142
- * destination account. Corresponds to the Real-Time Payments reason code `AG01`.
143
- * - `transaction_type_not_supported` - Real-Time Payments transfers are not
144
- * enabled for the destination account. Corresponds to the Real-Time Payments
145
- * reason code `AG03`.
146
- * - `unexpected_amount` - The amount of the transfer is different than expected by
147
- * the recipient. Corresponds to the Real-Time Payments reason code `AM09`.
148
- * - `amount_exceeds_bank_limits` - The amount is higher than the recipient is
149
- * authorized to send or receive. Corresponds to the Real-Time Payments reason
150
- * code `AM14`.
151
- * - `invalid_debtor_address` - The debtor's address is required, but missing or
152
- * invalid. Corresponds to the Real-Time Payments reason code `BE07`.
153
- * - `invalid_creditor_address` - The creditor's address is required, but missing
154
- * or invalid. Corresponds to the Real-Time Payments reason code `BE04`.
155
- * - `creditor_identifier_incorrect` - Creditor identifier incorrect. Corresponds
156
- * to the Real-Time Payments reason code `CH11`.
157
- * - `requested_by_customer` - The customer refused the request. Corresponds to the
158
- * Real-Time Payments reason code `CUST`.
159
- * - `order_rejected` - The order was rejected. Corresponds to the Real-Time
160
- * Payments reason code `DS04`.
161
- * - `end_customer_deceased` - The destination account holder is deceased.
162
- * Corresponds to the Real-Time Payments reason code `MD07`.
163
- * - `customer_has_opted_out` - The customer has opted out of receiving requests
164
- * for payments from this creditor. Corresponds to the Real-Time Payments reason
165
- * code `SL12`.
166
- * - `other` - Some other error or issue has occurred.
167
- */
168
- refusal_reason_code: 'account_blocked' | 'transaction_forbidden' | 'transaction_type_not_supported' | 'unexpected_amount' | 'amount_exceeds_bank_limits' | 'invalid_debtor_address' | 'invalid_creditor_address' | 'creditor_identifier_incorrect' | 'requested_by_customer' | 'order_rejected' | 'end_customer_deceased' | 'customer_has_opted_out' | 'other';
169
- }
170
- /**
171
- * If the request for payment is rejected by Real-Time Payments or the destination
172
- * financial institution, this will contain supplemental details.
173
- */
174
- interface Rejection {
175
- /**
176
- * The reason the request for payment was rejected as provided by the recipient
177
- * bank or the Real-Time Payments network.
178
- *
179
- * - `account_closed` - The destination account is closed. Corresponds to the
180
- * Real-Time Payments reason code `AC04`.
181
- * - `account_blocked` - The destination account is currently blocked from
182
- * receiving transactions. Corresponds to the Real-Time Payments reason code
183
- * `AC06`.
184
- * - `invalid_creditor_account_type` - The destination account is ineligible to
185
- * receive Real-Time Payments transfers. Corresponds to the Real-Time Payments
186
- * reason code `AC14`.
187
- * - `invalid_creditor_account_number` - The destination account does not exist.
188
- * Corresponds to the Real-Time Payments reason code `AC03`.
189
- * - `invalid_creditor_financial_institution_identifier` - The destination routing
190
- * number is invalid. Corresponds to the Real-Time Payments reason code `RC04`.
191
- * - `end_customer_deceased` - The destination account holder is deceased.
192
- * Corresponds to the Real-Time Payments reason code `MD07`.
193
- * - `narrative` - The reason is provided as narrative information in the
194
- * additional information field.
195
- * - `transaction_forbidden` - Real-Time Payments transfers are not allowed to the
196
- * destination account. Corresponds to the Real-Time Payments reason code `AG01`.
197
- * - `transaction_type_not_supported` - Real-Time Payments transfers are not
198
- * enabled for the destination account. Corresponds to the Real-Time Payments
199
- * reason code `AG03`.
200
- * - `unexpected_amount` - The amount of the transfer is different than expected by
201
- * the recipient. Corresponds to the Real-Time Payments reason code `AM09`.
202
- * - `amount_exceeds_bank_limits` - The amount is higher than the recipient is
203
- * authorized to send or receive. Corresponds to the Real-Time Payments reason
204
- * code `AM14`.
205
- * - `invalid_creditor_address` - The creditor's address is required, but missing
206
- * or invalid. Corresponds to the Real-Time Payments reason code `BE04`.
207
- * - `unknown_end_customer` - The specified creditor is unknown. Corresponds to the
208
- * Real-Time Payments reason code `BE06`.
209
- * - `invalid_debtor_address` - The debtor's address is required, but missing or
210
- * invalid. Corresponds to the Real-Time Payments reason code `BE07`.
211
- * - `timeout` - There was a timeout processing the transfer. Corresponds to the
212
- * Real-Time Payments reason code `DS24`.
213
- * - `unsupported_message_for_recipient` - Real-Time Payments transfers are not
214
- * enabled for the destination account. Corresponds to the Real-Time Payments
215
- * reason code `NOAT`.
216
- * - `recipient_connection_not_available` - The destination financial institution
217
- * is currently not connected to Real-Time Payments. Corresponds to the Real-Time
218
- * Payments reason code `9912`.
219
- * - `real_time_payments_suspended` - Real-Time Payments is currently unavailable.
220
- * Corresponds to the Real-Time Payments reason code `9948`.
221
- * - `instructed_agent_signed_off` - The destination financial institution is
222
- * currently signed off of Real-Time Payments. Corresponds to the Real-Time
223
- * Payments reason code `9910`.
224
- * - `processing_error` - The transfer was rejected due to an internal Increase
225
- * issue. We have been notified.
226
- * - `other` - Some other error or issue has occurred.
227
- */
228
- reject_reason_code: 'account_closed' | 'account_blocked' | 'invalid_creditor_account_type' | 'invalid_creditor_account_number' | 'invalid_creditor_financial_institution_identifier' | 'end_customer_deceased' | 'narrative' | 'transaction_forbidden' | 'transaction_type_not_supported' | 'unexpected_amount' | 'amount_exceeds_bank_limits' | 'invalid_creditor_address' | 'unknown_end_customer' | 'invalid_debtor_address' | 'timeout' | 'unsupported_message_for_recipient' | 'recipient_connection_not_available' | 'real_time_payments_suspended' | 'instructed_agent_signed_off' | 'processing_error' | 'other';
229
- }
230
- /**
231
- * After the request for payment is submitted to Real-Time Payments, this will
232
- * contain supplemental details.
233
- */
234
- interface Submission {
235
- /**
236
- * The Real-Time Payments payment information identification of the request.
237
- */
238
- payment_information_identification: string;
239
- }
240
- }
241
- export interface RealTimePaymentsRequestForPaymentCreateParams {
242
- /**
243
- * The requested amount in USD cents. Must be positive.
244
- */
245
- amount: number;
246
- /**
247
- * Details of the person being requested to pay.
248
- */
249
- debtor: RealTimePaymentsRequestForPaymentCreateParams.Debtor;
250
- /**
251
- * The identifier of the Account Number where the funds will land.
252
- */
253
- destination_account_number_id: string;
254
- /**
255
- * The expiration time for this request, in UTC. The requestee will not be able to
256
- * pay after this date.
257
- */
258
- expires_at: string;
259
- /**
260
- * Unstructured information that will show on the requestee's bank statement.
261
- */
262
- remittance_information: string;
263
- /**
264
- * The account number the funds will be requested from.
265
- */
266
- source_account_number: string;
267
- /**
268
- * The requestee's American Bankers' Association (ABA) Routing Transit Number
269
- * (RTN).
270
- */
271
- source_routing_number: string;
272
- }
273
- export declare namespace RealTimePaymentsRequestForPaymentCreateParams {
274
- /**
275
- * Details of the person being requested to pay.
276
- */
277
- interface Debtor {
278
- /**
279
- * Address of the debtor.
280
- */
281
- address: Debtor.Address;
282
- /**
283
- * The name of the debtor.
284
- */
285
- name: string;
286
- }
287
- namespace Debtor {
288
- /**
289
- * Address of the debtor.
290
- */
291
- interface Address {
292
- /**
293
- * The ISO 3166, Alpha-2 country code.
294
- */
295
- country: string;
296
- /**
297
- * The town or city.
298
- */
299
- city?: string;
300
- /**
301
- * The postal code or zip.
302
- */
303
- post_code?: string;
304
- /**
305
- * The street name without the street number.
306
- */
307
- street_name?: string;
308
- }
309
- }
310
- }
311
- export interface RealTimePaymentsRequestForPaymentListParams extends PageParams {
312
- /**
313
- * Filter Real-Time Payments Request for Payments to those destined to the
314
- * specified Account.
315
- */
316
- account_id?: string;
317
- created_at?: RealTimePaymentsRequestForPaymentListParams.CreatedAt;
318
- /**
319
- * Filter records to the one with the specified `idempotency_key` you chose for
320
- * that object. This value is unique across Increase and is used to ensure that a
321
- * request is only processed once. Learn more about
322
- * [idempotency](https://increase.com/documentation/idempotency-keys).
323
- */
324
- idempotency_key?: string;
325
- }
326
- export declare namespace RealTimePaymentsRequestForPaymentListParams {
327
- interface CreatedAt {
328
- /**
329
- * Return results after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
330
- * timestamp.
331
- */
332
- after?: string;
333
- /**
334
- * Return results before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601)
335
- * timestamp.
336
- */
337
- before?: string;
338
- /**
339
- * Return results on or after this
340
- * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
341
- */
342
- on_or_after?: string;
343
- /**
344
- * Return results on or before this
345
- * [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) timestamp.
346
- */
347
- on_or_before?: string;
348
- }
349
- }
350
- export declare namespace RealTimePaymentsRequestForPayments {
351
- export { type RealTimePaymentsRequestForPayment as RealTimePaymentsRequestForPayment, RealTimePaymentsRequestForPaymentsPage as RealTimePaymentsRequestForPaymentsPage, type RealTimePaymentsRequestForPaymentCreateParams as RealTimePaymentsRequestForPaymentCreateParams, type RealTimePaymentsRequestForPaymentListParams as RealTimePaymentsRequestForPaymentListParams, };
352
- }
353
- //# sourceMappingURL=real-time-payments-request-for-payments.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"real-time-payments-request-for-payments.d.ts","sourceRoot":"","sources":["../src/resources/real-time-payments-request-for-payments.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,kCAAmC,SAAQ,WAAW;IACjE;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,6CAA6C,EACnD,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,iCA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KAAK,iCAAiC,IAAI,iCAAiC,EAC3E,sCAAsC,IAAI,sCAAsC,EAChF,KAAK,6CAA6C,IAAI,6CAA6C,EACnG,KAAK,2CAA2C,IAAI,2CAA2C,GAChG,CAAC;CACH"}
@@ -1,34 +0,0 @@
1
- "use strict";
2
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
- Object.defineProperty(exports, "__esModule", { value: true });
4
- exports.RealTimePaymentsRequestForPaymentsPage = exports.RealTimePaymentsRequestForPayments = void 0;
5
- const resource_1 = require("../resource.js");
6
- const core_1 = require("../core.js");
7
- const pagination_1 = require("../pagination.js");
8
- class RealTimePaymentsRequestForPayments extends resource_1.APIResource {
9
- /**
10
- * Create a Real-Time Payments Request for Payment
11
- */
12
- create(body, options) {
13
- return this._client.post('/real_time_payments_request_for_payments', { body, ...options });
14
- }
15
- /**
16
- * Retrieve a Real-Time Payments Request for Payment
17
- */
18
- retrieve(requestForPaymentId, options) {
19
- return this._client.get(`/real_time_payments_request_for_payments/${requestForPaymentId}`, options);
20
- }
21
- list(query = {}, options) {
22
- if ((0, core_1.isRequestOptions)(query)) {
23
- return this.list({}, query);
24
- }
25
- return this._client.getAPIList('/real_time_payments_request_for_payments', RealTimePaymentsRequestForPaymentsPage, { query, ...options });
26
- }
27
- }
28
- exports.RealTimePaymentsRequestForPayments = RealTimePaymentsRequestForPayments;
29
- class RealTimePaymentsRequestForPaymentsPage extends pagination_1.Page {
30
- }
31
- exports.RealTimePaymentsRequestForPaymentsPage = RealTimePaymentsRequestForPaymentsPage;
32
- RealTimePaymentsRequestForPayments.RealTimePaymentsRequestForPaymentsPage =
33
- RealTimePaymentsRequestForPaymentsPage;
34
- //# sourceMappingURL=real-time-payments-request-for-payments.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"real-time-payments-request-for-payments.js","sourceRoot":"","sources":["../src/resources/real-time-payments-request-for-payments.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,kCAAmC,SAAQ,sBAAW;IACjE;;OAEG;IACH,MAAM,CACJ,IAAmD,EACnD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,mBAA2B,EAC3B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4CAA4C,mBAAmB,EAAE,EAAE,OAAO,CAAC,CAAC;IACtG,CAAC;IAYD,IAAI,CACF,QAA2E,EAAE,EAC7E,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,OAAO,CAAC,UAAU,CAC5B,0CAA0C,EAC1C,sCAAsC,EACtC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AA5CD,gFA4CC;AAED,MAAa,sCAAuC,SAAQ,iBAAuC;CAAG;AAAtG,wFAAsG;AAqZtG,kCAAkC,CAAC,sCAAsC;IACvE,sCAAsC,CAAC"}
@@ -1,29 +0,0 @@
1
- // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
- import { APIResource } from "../resource.mjs";
3
- import { isRequestOptions } from "../core.mjs";
4
- import { Page } from "../pagination.mjs";
5
- export class RealTimePaymentsRequestForPayments extends APIResource {
6
- /**
7
- * Create a Real-Time Payments Request for Payment
8
- */
9
- create(body, options) {
10
- return this._client.post('/real_time_payments_request_for_payments', { body, ...options });
11
- }
12
- /**
13
- * Retrieve a Real-Time Payments Request for Payment
14
- */
15
- retrieve(requestForPaymentId, options) {
16
- return this._client.get(`/real_time_payments_request_for_payments/${requestForPaymentId}`, options);
17
- }
18
- list(query = {}, options) {
19
- if (isRequestOptions(query)) {
20
- return this.list({}, query);
21
- }
22
- return this._client.getAPIList('/real_time_payments_request_for_payments', RealTimePaymentsRequestForPaymentsPage, { query, ...options });
23
- }
24
- }
25
- export class RealTimePaymentsRequestForPaymentsPage extends Page {
26
- }
27
- RealTimePaymentsRequestForPayments.RealTimePaymentsRequestForPaymentsPage =
28
- RealTimePaymentsRequestForPaymentsPage;
29
- //# sourceMappingURL=real-time-payments-request-for-payments.mjs.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"real-time-payments-request-for-payments.mjs","sourceRoot":"","sources":["../src/resources/real-time-payments-request-for-payments.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,kCAAmC,SAAQ,WAAW;IACjE;;OAEG;IACH,MAAM,CACJ,IAAmD,EACnD,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,0CAA0C,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC7F,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,mBAA2B,EAC3B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,4CAA4C,mBAAmB,EAAE,EAAE,OAAO,CAAC,CAAC;IACtG,CAAC;IAYD,IAAI,CACF,QAA2E,EAAE,EAC7E,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAC5B,0CAA0C,EAC1C,sCAAsC,EACtC,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CACtB,CAAC;IACJ,CAAC;CACF;AAED,MAAM,OAAO,sCAAuC,SAAQ,IAAuC;CAAG;AAqZtG,kCAAkC,CAAC,sCAAsC;IACvE,sCAAsC,CAAC"}