increase 0.10.1 → 0.10.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +32 -0
- package/core.d.ts +7 -4
- package/core.d.ts.map +1 -1
- package/core.js +13 -6
- package/core.js.map +1 -1
- package/core.mjs +13 -6
- package/core.mjs.map +1 -1
- package/index.d.mts +8 -9
- package/index.d.ts +8 -9
- package/index.d.ts.map +1 -1
- package/index.js +6 -6
- package/index.js.map +1 -1
- package/index.mjs +6 -6
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-transfers.d.ts +8 -1
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/ach-prenotifications.d.ts +2 -2
- package/resources/ach-transfers.d.ts +11 -4
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +1 -1
- package/resources/check-transfers.d.ts +6 -3
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +92 -18
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-wallet-tokens.d.ts +1 -1
- package/resources/entities/beneficial-owners.d.ts +24 -5
- package/resources/entities/beneficial-owners.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.js +8 -2
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs +8 -2
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts +19 -14
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/index.d.ts +5 -1
- package/resources/entities/index.d.ts.map +1 -1
- package/resources/entities/index.js.map +1 -1
- package/resources/entities/index.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +1 -1
- package/resources/entities/supplemental-documents.js +1 -1
- package/resources/entities/supplemental-documents.mjs +1 -1
- package/resources/event-subscriptions.d.ts +22 -10
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.ts +13 -5
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/external-accounts.d.ts +2 -2
- package/resources/inbound-ach-transfers.d.ts +303 -0
- package/resources/inbound-ach-transfers.d.ts.map +1 -0
- package/resources/inbound-ach-transfers.js +40 -0
- package/resources/inbound-ach-transfers.js.map +1 -0
- package/resources/inbound-ach-transfers.mjs +33 -0
- package/resources/inbound-ach-transfers.mjs.map +1 -0
- package/resources/index.d.ts +6 -7
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -35
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -2
- package/resources/index.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +50 -8
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +33 -4
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +49 -42
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js +2 -2
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +2 -2
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +1 -1
- package/resources/simulations/ach-transfers.d.ts +93 -35
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/cards.d.ts +108 -25
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
- package/resources/simulations/interest-payments.d.ts +16 -16
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +124 -66
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +2 -2
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +2 -2
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +16 -16
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/transactions.d.ts +16 -16
- package/resources/transactions.d.ts.map +1 -1
- package/resources/wire-transfers.d.ts +9 -2
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/core.ts +19 -7
- package/src/index.ts +10 -12
- package/src/resources/account-transfers.ts +9 -1
- package/src/resources/ach-prenotifications.ts +2 -2
- package/src/resources/ach-transfers.ts +12 -4
- package/src/resources/card-purchase-supplements.ts +1 -1
- package/src/resources/check-transfers.ts +6 -3
- package/src/resources/declined-transactions.ts +96 -18
- package/src/resources/digital-wallet-tokens.ts +1 -1
- package/src/resources/entities/beneficial-owners.ts +31 -6
- package/src/resources/entities/entities.ts +20 -14
- package/src/resources/entities/index.ts +5 -1
- package/src/resources/entities/supplemental-documents.ts +1 -1
- package/src/resources/event-subscriptions.ts +22 -10
- package/src/resources/events.ts +13 -5
- package/src/resources/external-accounts.ts +2 -2
- package/src/resources/inbound-ach-transfers.ts +359 -0
- package/src/resources/index.ts +6 -7
- package/src/resources/pending-transactions.ts +52 -8
- package/src/resources/real-time-decisions.ts +34 -4
- package/src/resources/real-time-payments-transfers.ts +50 -42
- package/src/resources/routing-numbers.ts +1 -1
- package/src/resources/simulations/ach-transfers.ts +95 -35
- package/src/resources/simulations/cards.ts +110 -25
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
- package/src/resources/simulations/interest-payments.ts +16 -16
- package/src/resources/simulations/real-time-payments-transfers.ts +126 -66
- package/src/resources/simulations/wire-transfers.ts +16 -16
- package/src/resources/transactions.ts +16 -16
- package/src/resources/wire-transfers.ts +10 -2
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/inbound-ach-transfer-returns.d.ts +0 -161
- package/resources/inbound-ach-transfer-returns.d.ts.map +0 -1
- package/resources/inbound-ach-transfer-returns.js +0 -37
- package/resources/inbound-ach-transfer-returns.js.map +0 -1
- package/resources/inbound-ach-transfer-returns.mjs +0 -30
- package/resources/inbound-ach-transfer-returns.mjs.map +0 -1
- package/resources/shared.d.ts +0 -31
- package/resources/shared.d.ts.map +0 -1
- package/resources/shared.js +0 -4
- package/resources/shared.js.map +0 -1
- package/resources/shared.mjs +0 -3
- package/resources/shared.mjs.map +0 -1
- package/src/resources/inbound-ach-transfer-returns.ts +0 -196
- package/src/resources/shared.ts +0 -32
|
@@ -1,196 +0,0 @@
|
|
|
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 API from './index';
|
|
7
|
-
import { Page, PageParams } from '../pagination';
|
|
8
|
-
|
|
9
|
-
export class InboundACHTransferReturns extends APIResource {
|
|
10
|
-
/**
|
|
11
|
-
* Create an ACH Return
|
|
12
|
-
*/
|
|
13
|
-
create(
|
|
14
|
-
body: InboundACHTransferReturnCreateParams,
|
|
15
|
-
options?: Core.RequestOptions,
|
|
16
|
-
): Core.APIPromise<InboundACHTransferReturn> {
|
|
17
|
-
return this.post('/inbound_ach_transfer_returns', { body, ...options });
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
/**
|
|
21
|
-
* Retrieve an Inbound ACH Transfer Return
|
|
22
|
-
*/
|
|
23
|
-
retrieve(
|
|
24
|
-
inboundACHTransferReturnId: string,
|
|
25
|
-
options?: Core.RequestOptions,
|
|
26
|
-
): Core.APIPromise<InboundACHTransferReturn> {
|
|
27
|
-
return this.get(`/inbound_ach_transfer_returns/${inboundACHTransferReturnId}`, options);
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
/**
|
|
31
|
-
* List Inbound ACH Transfer Returns
|
|
32
|
-
*/
|
|
33
|
-
list(
|
|
34
|
-
query?: InboundACHTransferReturnListParams,
|
|
35
|
-
options?: Core.RequestOptions,
|
|
36
|
-
): Core.PagePromise<InboundACHTransferReturnsPage, InboundACHTransferReturn>;
|
|
37
|
-
list(
|
|
38
|
-
options?: Core.RequestOptions,
|
|
39
|
-
): Core.PagePromise<InboundACHTransferReturnsPage, InboundACHTransferReturn>;
|
|
40
|
-
list(
|
|
41
|
-
query: InboundACHTransferReturnListParams | Core.RequestOptions = {},
|
|
42
|
-
options?: Core.RequestOptions,
|
|
43
|
-
): Core.PagePromise<InboundACHTransferReturnsPage, InboundACHTransferReturn> {
|
|
44
|
-
if (isRequestOptions(query)) {
|
|
45
|
-
return this.list({}, query);
|
|
46
|
-
}
|
|
47
|
-
return this.getAPIList('/inbound_ach_transfer_returns', InboundACHTransferReturnsPage, {
|
|
48
|
-
query,
|
|
49
|
-
...options,
|
|
50
|
-
});
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
export class InboundACHTransferReturnsPage extends Page<InboundACHTransferReturn> {}
|
|
55
|
-
// alias so we can export it in the namespace
|
|
56
|
-
type _InboundACHTransferReturnsPage = InboundACHTransferReturnsPage;
|
|
57
|
-
|
|
58
|
-
/**
|
|
59
|
-
* If unauthorized activity occurs via ACH, you can create an Inbound ACH Transfer
|
|
60
|
-
* Return and we'll reverse the transaction. You can create an Inbound ACH Transfer
|
|
61
|
-
* return the first two days after receiving an Inbound ACH Transfer.
|
|
62
|
-
*/
|
|
63
|
-
export interface InboundACHTransferReturn {
|
|
64
|
-
/**
|
|
65
|
-
* The ID of the Inbound ACH Transfer Return.
|
|
66
|
-
*/
|
|
67
|
-
id: string;
|
|
68
|
-
|
|
69
|
-
/**
|
|
70
|
-
* The ID for the Transaction that is being returned.
|
|
71
|
-
*/
|
|
72
|
-
inbound_ach_transfer_transaction_id: string;
|
|
73
|
-
|
|
74
|
-
/**
|
|
75
|
-
* The reason why this transfer will be returned. This is sent to the initiating
|
|
76
|
-
* bank.
|
|
77
|
-
*
|
|
78
|
-
* - `authorization_revoked_by_customer` - The customer no longer authorizes this
|
|
79
|
-
* transaction. The Nacha return code is R07.
|
|
80
|
-
* - `payment_stopped` - The customer asked for the payment to be stopped. This
|
|
81
|
-
* reason is only allowed for debits. The Nacha return code is R08.
|
|
82
|
-
* - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - The
|
|
83
|
-
* customer advises that the debit was unauthorized. The Nacha return code is
|
|
84
|
-
* R10.
|
|
85
|
-
* - `representative_payee_deceased_or_unable_to_continue_in_that_capacity` - The
|
|
86
|
-
* payee is deceased. The Nacha return code is R14.
|
|
87
|
-
* - `beneficiary_or_account_holder_deceased` - The account holder is deceased. The
|
|
88
|
-
* Nacha return code is R15.
|
|
89
|
-
* - `credit_entry_refused_by_receiver` - The customer refused a credit entry. This
|
|
90
|
-
* reason is only allowed for credits. The Nacha return code is R23.
|
|
91
|
-
* - `duplicate_entry` - The account holder identified this transaction as a
|
|
92
|
-
* duplicate. The Nacha return code is R24.
|
|
93
|
-
* - `corporate_customer_advised_not_authorized` - The corporate customer no longer
|
|
94
|
-
* authorizes this transaction. The Nacha return code is R29.
|
|
95
|
-
*/
|
|
96
|
-
reason:
|
|
97
|
-
| 'authorization_revoked_by_customer'
|
|
98
|
-
| 'payment_stopped'
|
|
99
|
-
| 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
|
|
100
|
-
| 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
|
|
101
|
-
| 'beneficiary_or_account_holder_deceased'
|
|
102
|
-
| 'credit_entry_refused_by_receiver'
|
|
103
|
-
| 'duplicate_entry'
|
|
104
|
-
| 'corporate_customer_advised_not_authorized';
|
|
105
|
-
|
|
106
|
-
/**
|
|
107
|
-
* The lifecycle status of the transfer.
|
|
108
|
-
*
|
|
109
|
-
* - `pending_submitting` - The transfer return is pending submission to the
|
|
110
|
-
* Federal Reserve.
|
|
111
|
-
* - `submitted` - The transfer has been submitted to the Federal Reserve.
|
|
112
|
-
*/
|
|
113
|
-
status: 'pending_submitting' | 'submitted';
|
|
114
|
-
|
|
115
|
-
/**
|
|
116
|
-
* After the return is submitted to FedACH, this will contain supplemental details.
|
|
117
|
-
*/
|
|
118
|
-
submission: InboundACHTransferReturn.Submission | null;
|
|
119
|
-
|
|
120
|
-
/**
|
|
121
|
-
* The ID for the transaction refunding the transfer.
|
|
122
|
-
*/
|
|
123
|
-
transaction_id: string | null;
|
|
124
|
-
|
|
125
|
-
/**
|
|
126
|
-
* A constant representing the object's type. For this resource it will always be
|
|
127
|
-
* `inbound_ach_transfer_return`.
|
|
128
|
-
*/
|
|
129
|
-
type: 'inbound_ach_transfer_return';
|
|
130
|
-
}
|
|
131
|
-
|
|
132
|
-
export namespace InboundACHTransferReturn {
|
|
133
|
-
/**
|
|
134
|
-
* After the return is submitted to FedACH, this will contain supplemental details.
|
|
135
|
-
*/
|
|
136
|
-
export interface Submission {
|
|
137
|
-
/**
|
|
138
|
-
* When the ACH transfer return was sent to FedACH.
|
|
139
|
-
*/
|
|
140
|
-
submitted_at: string;
|
|
141
|
-
|
|
142
|
-
/**
|
|
143
|
-
* The trace number for the submission.
|
|
144
|
-
*/
|
|
145
|
-
trace_number: string;
|
|
146
|
-
}
|
|
147
|
-
}
|
|
148
|
-
|
|
149
|
-
export interface InboundACHTransferReturnCreateParams {
|
|
150
|
-
/**
|
|
151
|
-
* The reason why this transfer will be returned. The most usual return codes are
|
|
152
|
-
* `payment_stopped` for debits and `credit_entry_refused_by_receiver` for credits.
|
|
153
|
-
*
|
|
154
|
-
* - `authorization_revoked_by_customer` - The customer no longer authorizes this
|
|
155
|
-
* transaction. The Nacha return code is R07.
|
|
156
|
-
* - `payment_stopped` - The customer asked for the payment to be stopped. This
|
|
157
|
-
* reason is only allowed for debits. The Nacha return code is R08.
|
|
158
|
-
* - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - The
|
|
159
|
-
* customer advises that the debit was unauthorized. The Nacha return code is
|
|
160
|
-
* R10.
|
|
161
|
-
* - `representative_payee_deceased_or_unable_to_continue_in_that_capacity` - The
|
|
162
|
-
* payee is deceased. The Nacha return code is R14.
|
|
163
|
-
* - `beneficiary_or_account_holder_deceased` - The account holder is deceased. The
|
|
164
|
-
* Nacha return code is R15.
|
|
165
|
-
* - `credit_entry_refused_by_receiver` - The customer refused a credit entry. This
|
|
166
|
-
* reason is only allowed for credits. The Nacha return code is R23.
|
|
167
|
-
* - `duplicate_entry` - The account holder identified this transaction as a
|
|
168
|
-
* duplicate. The Nacha return code is R24.
|
|
169
|
-
* - `corporate_customer_advised_not_authorized` - The corporate customer no longer
|
|
170
|
-
* authorizes this transaction. The Nacha return code is R29.
|
|
171
|
-
*/
|
|
172
|
-
reason:
|
|
173
|
-
| 'authorization_revoked_by_customer'
|
|
174
|
-
| 'payment_stopped'
|
|
175
|
-
| 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
|
|
176
|
-
| 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
|
|
177
|
-
| 'beneficiary_or_account_holder_deceased'
|
|
178
|
-
| 'credit_entry_refused_by_receiver'
|
|
179
|
-
| 'duplicate_entry'
|
|
180
|
-
| 'corporate_customer_advised_not_authorized';
|
|
181
|
-
|
|
182
|
-
/**
|
|
183
|
-
* The transaction identifier of the Inbound ACH Transfer to return to the
|
|
184
|
-
* originating financial institution.
|
|
185
|
-
*/
|
|
186
|
-
transaction_id: string;
|
|
187
|
-
}
|
|
188
|
-
|
|
189
|
-
export interface InboundACHTransferReturnListParams extends PageParams {}
|
|
190
|
-
|
|
191
|
-
export namespace InboundACHTransferReturns {
|
|
192
|
-
export import InboundACHTransferReturn = API.InboundACHTransferReturn;
|
|
193
|
-
export type InboundACHTransferReturnsPage = _InboundACHTransferReturnsPage;
|
|
194
|
-
export import InboundACHTransferReturnCreateParams = API.InboundACHTransferReturnCreateParams;
|
|
195
|
-
export import InboundACHTransferReturnListParams = API.InboundACHTransferReturnListParams;
|
|
196
|
-
}
|
package/src/resources/shared.ts
DELETED
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
// File generated from our OpenAPI spec by Stainless.
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The method used to enter the cardholder's primary account number and card
|
|
5
|
-
* expiration date
|
|
6
|
-
*
|
|
7
|
-
* - `unknown` - Unknown
|
|
8
|
-
* - `manual` - Manual key entry
|
|
9
|
-
* - `magnetic_stripe_no_cvv` - Magnetic stripe read, without card verification
|
|
10
|
-
* value
|
|
11
|
-
* - `optical_code` - Optical code
|
|
12
|
-
* - `integrated_circuit_card` - Contact chip card
|
|
13
|
-
* - `contactless` - Contactless read of chip card
|
|
14
|
-
* - `credential_on_file` - Transaction iniated using a credential that has
|
|
15
|
-
* previously been stored on file
|
|
16
|
-
* - `magnetic_stripe` - Magnetic stripe read
|
|
17
|
-
* - `contactless_magnetic_stripe` - Contactless read of magnetic stripe data
|
|
18
|
-
* - `integrated_circuit_card_no_cvv` - Contact chip card, without card
|
|
19
|
-
* verification value
|
|
20
|
-
*/
|
|
21
|
-
export type PointOfServiceEntryMode =
|
|
22
|
-
| 'unknown'
|
|
23
|
-
| 'manual'
|
|
24
|
-
| 'magnetic_stripe_no_cvv'
|
|
25
|
-
| 'optical_code'
|
|
26
|
-
| 'integrated_circuit_card'
|
|
27
|
-
| 'contactless'
|
|
28
|
-
| 'credential_on_file'
|
|
29
|
-
| 'magnetic_stripe'
|
|
30
|
-
| 'contactless_magnetic_stripe'
|
|
31
|
-
| 'integrated_circuit_card_no_cvv'
|
|
32
|
-
| null;
|