increase 0.10.3 → 0.11.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.
- package/CHANGELOG.md +43 -0
- package/README.md +4 -0
- package/_shims/{ReadableStream.node.d.ts → ReadableStream-node.d.ts} +1 -1
- package/_shims/ReadableStream-node.d.ts.map +1 -0
- package/_shims/{ReadableStream.node.js → ReadableStream-node.js} +1 -1
- package/_shims/ReadableStream-node.js.map +1 -0
- package/_shims/{ReadableStream.node.mjs → ReadableStream-node.mjs} +1 -1
- package/_shims/ReadableStream-node.mjs.map +1 -0
- package/_shims/{agent.node.d.ts → agent-node.d.ts} +1 -1
- package/_shims/agent-node.d.ts.map +1 -0
- package/_shims/{agent.node.js → agent-node.js} +1 -1
- package/_shims/{agent.node.js.map → agent-node.js.map} +1 -1
- package/_shims/{agent.node.mjs → agent-node.mjs} +1 -1
- package/_shims/{agent.node.mjs.map → agent-node.mjs.map} +1 -1
- package/_shims/agent.d.ts +1 -1
- package/_shims/agent.js +1 -1
- package/_shims/agent.mjs +1 -1
- package/_shims/{fileFromPath.node.d.ts → fileFromPath-node.d.ts} +2 -2
- package/_shims/{fileFromPath.node.d.ts.map → fileFromPath-node.d.ts.map} +1 -1
- package/_shims/{fileFromPath.node.js → fileFromPath-node.js} +1 -1
- package/_shims/{fileFromPath.node.js.map → fileFromPath-node.js.map} +1 -1
- package/_shims/{fileFromPath.node.mjs → fileFromPath-node.mjs} +1 -1
- package/_shims/{fileFromPath.node.mjs.map → fileFromPath-node.mjs.map} +1 -1
- package/_shims/fileFromPath.d.ts +2 -2
- package/_shims/fileFromPath.d.ts.map +1 -1
- package/_shims/fileFromPath.js +1 -1
- package/_shims/fileFromPath.mjs +1 -1
- package/_shims/{getMultipartRequestOptions.node.d.ts → getMultipartRequestOptions-node.d.ts} +2 -2
- package/_shims/getMultipartRequestOptions-node.d.ts.map +1 -0
- package/_shims/{getMultipartRequestOptions.node.js → getMultipartRequestOptions-node.js} +1 -1
- package/_shims/{getMultipartRequestOptions.node.js.map → getMultipartRequestOptions-node.js.map} +1 -1
- package/_shims/{getMultipartRequestOptions.node.mjs → getMultipartRequestOptions-node.mjs} +1 -1
- package/_shims/{getMultipartRequestOptions.node.mjs.map → getMultipartRequestOptions-node.mjs.map} +1 -1
- package/_shims/getMultipartRequestOptions.d.ts +1 -1
- package/_shims/getMultipartRequestOptions.d.ts.map +1 -1
- package/_shims/{node-readable.node.d.ts → node-readable-node.d.ts} +1 -1
- package/_shims/{node-readable.node.d.ts.map → node-readable-node.d.ts.map} +1 -1
- package/_shims/{node-readable.node.js → node-readable-node.js} +1 -1
- package/_shims/node-readable-node.js.map +1 -0
- package/_shims/{node-readable.node.mjs → node-readable-node.mjs} +1 -1
- package/_shims/node-readable-node.mjs.map +1 -0
- package/core.d.ts +2 -1
- package/core.d.ts.map +1 -1
- package/core.js +3 -1
- package/core.js.map +1 -1
- package/core.mjs +1 -1
- package/core.mjs.map +1 -1
- package/error.d.ts +1 -1
- package/error.d.ts.map +1 -1
- package/error.js +2 -2
- package/error.js.map +1 -1
- package/error.mjs +2 -2
- package/error.mjs.map +1 -1
- package/index.d.mts +2 -7
- package/index.d.ts +2 -7
- package/index.d.ts.map +1 -1
- package/index.js +3 -6
- package/index.js.map +1 -1
- package/index.mjs +3 -6
- package/index.mjs.map +1 -1
- package/package.json +9 -4
- package/pagination.d.ts +1 -1
- package/resources/account-numbers.d.ts +57 -0
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/ach-prenotifications.d.ts +219 -3
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +14 -9
- 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/bookkeeping-entry-sets.d.ts +1 -1
- package/resources/card-profiles.d.ts +12 -3
- package/resources/card-profiles.d.ts.map +1 -1
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +2 -2
- package/resources/check-deposits.d.ts +3 -0
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +6 -0
- 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 +289 -32
- 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 +2 -1
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/entities/beneficial-owners.d.ts +51 -0
- package/resources/entities/beneficial-owners.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.js +6 -0
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs +6 -0
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts +45 -1
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +6 -0
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +6 -0
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/index.d.ts +9 -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/external-accounts.d.ts +4 -0
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.ts +56 -8
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +9 -0
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +9 -0
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/index.d.ts +9 -9
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +0 -15
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +0 -1
- package/resources/index.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +19 -6
- 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 +11 -9
- 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/simulations/ach-transfers.d.ts +693 -48
- 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 +308 -38
- 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/interest-payments.d.ts +402 -14
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +691 -46
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +402 -14
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/transactions.d.ts +402 -14
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +7 -5
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +1 -1
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +1 -1
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/_shims/ReadableStream.d.ts +5 -5
- package/src/_shims/agent.ts +1 -1
- package/src/_shims/{fetch.node.d.ts → fetch-node.d.ts} +8 -8
- package/src/_shims/fetch.d.ts +10 -10
- package/src/_shims/{fileFromPath.node.ts → fileFromPath-node.ts} +1 -1
- package/src/_shims/fileFromPath.ts +2 -2
- package/src/_shims/{formdata.node.d.ts → form-data-node.d.ts} +4 -4
- package/src/_shims/{formdata.d.ts → form-data.d.ts} +4 -4
- package/src/_shims/{getMultipartRequestOptions.node.ts → getMultipartRequestOptions-node.ts} +3 -3
- package/src/_shims/getMultipartRequestOptions.ts +3 -3
- package/src/core.ts +11 -10
- package/src/error.ts +3 -3
- package/src/index.ts +9 -15
- package/src/pagination.ts +2 -2
- package/src/resource.ts +1 -1
- package/src/resources/account-numbers.ts +68 -5
- package/src/resources/account-statements.ts +5 -5
- package/src/resources/account-transfers.ts +5 -5
- package/src/resources/accounts.ts +5 -5
- package/src/resources/ach-prenotifications.ts +224 -8
- package/src/resources/ach-transfers.ts +19 -14
- package/src/resources/balance-lookups.ts +3 -3
- package/src/resources/bookkeeping-accounts.ts +5 -5
- package/src/resources/bookkeeping-entries.ts +5 -5
- package/src/resources/bookkeeping-entry-sets.ts +4 -4
- package/src/resources/card-disputes.ts +5 -5
- package/src/resources/card-profiles.ts +17 -8
- package/src/resources/card-purchase-supplements.ts +7 -7
- package/src/resources/cards.ts +5 -5
- package/src/resources/check-deposits.ts +8 -5
- package/src/resources/check-transfers.ts +12 -5
- package/src/resources/declined-transactions.ts +294 -37
- package/src/resources/digital-wallet-tokens.ts +7 -6
- package/src/resources/documents.ts +5 -5
- package/src/resources/entities/beneficial-owners.ts +66 -4
- package/src/resources/entities/entities.ts +61 -8
- package/src/resources/entities/index.ts +11 -3
- package/src/resources/entities/supplemental-documents.ts +5 -5
- package/src/resources/event-subscriptions.ts +5 -5
- package/src/resources/events.ts +5 -5
- package/src/resources/exports.ts +5 -5
- package/src/resources/external-accounts.ts +10 -5
- package/src/resources/files.ts +6 -6
- package/src/resources/groups.ts +3 -3
- package/src/resources/inbound-ach-transfers.ts +73 -13
- package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
- package/src/resources/index.ts +46 -39
- package/src/resources/oauth-connections.ts +5 -5
- package/src/resources/pending-transactions.ts +24 -11
- package/src/resources/programs.ts +5 -5
- package/src/resources/real-time-decisions.ts +14 -12
- package/src/resources/real-time-payments-transfers.ts +5 -5
- package/src/resources/routing-numbers.ts +4 -4
- package/src/resources/simulations/account-statements.ts +4 -4
- package/src/resources/simulations/account-transfers.ts +3 -3
- package/src/resources/simulations/ach-transfers.ts +706 -54
- package/src/resources/simulations/card-disputes.ts +4 -4
- package/src/resources/simulations/card-profiles.ts +3 -3
- package/src/resources/simulations/card-refunds.ts +4 -4
- package/src/resources/simulations/cards.ts +313 -43
- package/src/resources/simulations/check-deposits.ts +3 -3
- package/src/resources/simulations/check-transfers.ts +3 -3
- package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
- package/src/resources/simulations/documents.ts +4 -4
- package/src/resources/simulations/inbound-funds-holds.ts +3 -3
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
- package/src/resources/simulations/index.ts +18 -18
- package/src/resources/simulations/interest-payments.ts +413 -18
- package/src/resources/simulations/programs.ts +4 -4
- package/src/resources/simulations/real-time-payments-transfers.ts +704 -52
- package/src/resources/simulations/simulations.ts +19 -19
- package/src/resources/simulations/wire-transfers.ts +413 -18
- package/src/resources/transactions.ts +415 -20
- package/src/resources/wire-drawdown-requests.ts +5 -5
- package/src/resources/wire-transfers.ts +12 -10
- package/src/tsconfig.json +11 -0
- package/src/uploads.ts +6 -6
- package/src/version.ts +1 -1
- package/uploads.d.ts +1 -1
- package/uploads.d.ts.map +1 -1
- package/uploads.js +4 -4
- package/uploads.js.map +1 -1
- package/uploads.mjs +1 -1
- package/uploads.mjs.map +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/_shims/ReadableStream.node.d.ts.map +0 -1
- package/_shims/ReadableStream.node.js.map +0 -1
- package/_shims/ReadableStream.node.mjs.map +0 -1
- package/_shims/agent.node.d.ts.map +0 -1
- package/_shims/getMultipartRequestOptions.node.d.ts.map +0 -1
- package/_shims/node-readable.node.js.map +0 -1
- package/_shims/node-readable.node.mjs.map +0 -1
- package/resources/limits.d.ts +0 -148
- package/resources/limits.d.ts.map +0 -1
- package/resources/limits.js +0 -38
- package/resources/limits.js.map +0 -1
- package/resources/limits.mjs +0 -33
- package/resources/limits.mjs.map +0 -1
- package/src/_shims/fetch.deno.ts +0 -23
- package/src/_shims/formdata.deno.ts +0 -16
- package/src/resources/limits.ts +0 -186
- /package/_shims/{fetch.node.d.ts → fetch-node.d.ts} +0 -0
- /package/_shims/{fetch.node.js → fetch-node.js} +0 -0
- /package/_shims/{fetch.node.mjs → fetch-node.mjs} +0 -0
- /package/_shims/{formdata.node.d.ts → form-data-node.d.ts} +0 -0
- /package/_shims/{formdata.node.js → form-data-node.js} +0 -0
- /package/_shims/{formdata.node.mjs → form-data-node.mjs} +0 -0
- /package/_shims/{formdata.d.ts → form-data.d.ts} +0 -0
- /package/_shims/{formdata.js → form-data.js} +0 -0
- /package/_shims/{formdata.mjs → form-data.mjs} +0 -0
- /package/src/_shims/{ReadableStream.node.ts → ReadableStream-node.ts} +0 -0
- /package/src/_shims/{agent.node.ts → agent-node.ts} +0 -0
- /package/src/_shims/{fetch.node.js → fetch-node.js} +0 -0
- /package/src/_shims/{fetch.node.mjs → fetch-node.mjs} +0 -0
- /package/src/_shims/{formdata.node.js → form-data-node.js} +0 -0
- /package/src/_shims/{formdata.node.mjs → form-data-node.mjs} +0 -0
- /package/src/_shims/{formdata.js → form-data.js} +0 -0
- /package/src/_shims/{formdata.mjs → form-data.mjs} +0 -0
- /package/src/_shims/{node-readable.node.ts → node-readable-node.ts} +0 -0
package/src/resource.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class AccountNumbers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -84,6 +84,11 @@ export interface AccountNumber {
|
|
|
84
84
|
*/
|
|
85
85
|
created_at: string;
|
|
86
86
|
|
|
87
|
+
/**
|
|
88
|
+
* Properties related to how this Account Number handles inbound ACH transfers.
|
|
89
|
+
*/
|
|
90
|
+
inbound_ach: AccountNumber.InboundACH;
|
|
91
|
+
|
|
87
92
|
/**
|
|
88
93
|
* The name you choose for the Account Number.
|
|
89
94
|
*/
|
|
@@ -110,6 +115,22 @@ export interface AccountNumber {
|
|
|
110
115
|
type: 'account_number';
|
|
111
116
|
}
|
|
112
117
|
|
|
118
|
+
export namespace AccountNumber {
|
|
119
|
+
/**
|
|
120
|
+
* Properties related to how this Account Number handles inbound ACH transfers.
|
|
121
|
+
*/
|
|
122
|
+
export interface InboundACH {
|
|
123
|
+
/**
|
|
124
|
+
* Whether ACH debits are allowed against this Account Number. Note that they will
|
|
125
|
+
* still be declined if this is `allowed` if the Account Number is not active.
|
|
126
|
+
*
|
|
127
|
+
* - `allowed` - ACH Debits are allowed.
|
|
128
|
+
* - `blocked` - ACH Debits are blocked.
|
|
129
|
+
*/
|
|
130
|
+
debit_status: 'allowed' | 'blocked';
|
|
131
|
+
}
|
|
132
|
+
}
|
|
133
|
+
|
|
113
134
|
export interface AccountNumberCreateParams {
|
|
114
135
|
/**
|
|
115
136
|
* The Account the Account Number should belong to.
|
|
@@ -120,9 +141,35 @@ export interface AccountNumberCreateParams {
|
|
|
120
141
|
* The name you choose for the Account Number.
|
|
121
142
|
*/
|
|
122
143
|
name: string;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* Options related to how this Account Number should handle inbound ACH transfers.
|
|
147
|
+
*/
|
|
148
|
+
inbound_ach?: AccountNumberCreateParams.InboundACH;
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
export namespace AccountNumberCreateParams {
|
|
152
|
+
/**
|
|
153
|
+
* Options related to how this Account Number should handle inbound ACH transfers.
|
|
154
|
+
*/
|
|
155
|
+
export interface InboundACH {
|
|
156
|
+
/**
|
|
157
|
+
* Whether ACH debits are allowed against this Account Number. Note that ACH debits
|
|
158
|
+
* will be declined if this is `allowed` but the Account Number is not active.
|
|
159
|
+
*
|
|
160
|
+
* - `allowed` - ACH Debits are allowed.
|
|
161
|
+
* - `blocked` - ACH Debits are blocked.
|
|
162
|
+
*/
|
|
163
|
+
debit_status: 'allowed' | 'blocked';
|
|
164
|
+
}
|
|
123
165
|
}
|
|
124
166
|
|
|
125
167
|
export interface AccountNumberUpdateParams {
|
|
168
|
+
/**
|
|
169
|
+
* Options related to how this Account Number handles inbound ACH transfers.
|
|
170
|
+
*/
|
|
171
|
+
inbound_ach?: AccountNumberUpdateParams.InboundACH;
|
|
172
|
+
|
|
126
173
|
/**
|
|
127
174
|
* The name you choose for the Account Number.
|
|
128
175
|
*/
|
|
@@ -138,6 +185,22 @@ export interface AccountNumberUpdateParams {
|
|
|
138
185
|
status?: 'active' | 'disabled' | 'canceled';
|
|
139
186
|
}
|
|
140
187
|
|
|
188
|
+
export namespace AccountNumberUpdateParams {
|
|
189
|
+
/**
|
|
190
|
+
* Options related to how this Account Number handles inbound ACH transfers.
|
|
191
|
+
*/
|
|
192
|
+
export interface InboundACH {
|
|
193
|
+
/**
|
|
194
|
+
* Whether ACH debits are allowed against this Account Number. Note that ACH debits
|
|
195
|
+
* will be declined if this is `allowed` but the Account Number is not active.
|
|
196
|
+
*
|
|
197
|
+
* - `allowed` - ACH Debits are allowed.
|
|
198
|
+
* - `blocked` - ACH Debits are blocked.
|
|
199
|
+
*/
|
|
200
|
+
debit_status?: 'allowed' | 'blocked';
|
|
201
|
+
}
|
|
202
|
+
}
|
|
203
|
+
|
|
141
204
|
export interface AccountNumberListParams extends PageParams {
|
|
142
205
|
/**
|
|
143
206
|
* Filter Account Numbers to those belonging to the specified Account.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class AccountStatements extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class AccountTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class Accounts extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class ACHPrenotifications extends APIResource {
|
|
10
10
|
/**
|
|
@@ -142,7 +142,8 @@ export interface ACHPrenotification {
|
|
|
142
142
|
export namespace ACHPrenotification {
|
|
143
143
|
export interface NotificationsOfChange {
|
|
144
144
|
/**
|
|
145
|
-
* The type of change that
|
|
145
|
+
* The required type of change that is being signaled by the receiving financial
|
|
146
|
+
* institution.
|
|
146
147
|
*
|
|
147
148
|
* - `incorrect_account_number` - The account number was incorrect.
|
|
148
149
|
* - `incorrect_routing_number` - The routing number was incorrect.
|
|
@@ -174,7 +175,7 @@ export namespace ACHPrenotification {
|
|
|
174
175
|
| 'incorrect_standard_entry_class_code_for_outbound_international_payment';
|
|
175
176
|
|
|
176
177
|
/**
|
|
177
|
-
* The corrected data.
|
|
178
|
+
* The corrected data that should be used in future ACHs to this account.
|
|
178
179
|
*/
|
|
179
180
|
corrected_data: string;
|
|
180
181
|
|
|
@@ -197,8 +198,223 @@ export namespace ACHPrenotification {
|
|
|
197
198
|
|
|
198
199
|
/**
|
|
199
200
|
* Why the Prenotification was returned.
|
|
201
|
+
*
|
|
202
|
+
* - `insufficient_fund` - Code R01. Insufficient funds in the source account.
|
|
203
|
+
* - `no_account` - Code R03. The account does not exist or the receiving bank was
|
|
204
|
+
* unable to locate it.
|
|
205
|
+
* - `account_closed` - Code R02. The account is closed.
|
|
206
|
+
* - `invalid_account_number_structure` - Code R04. The account number is invalid
|
|
207
|
+
* at the receiving bank.
|
|
208
|
+
* - `account_frozen_entry_returned_per_ofac_instruction` - Code R16. The account
|
|
209
|
+
* was frozen per the Office of Foreign Assets Control.
|
|
210
|
+
* - `credit_entry_refused_by_receiver` - Code R23. The receiving bank account
|
|
211
|
+
* refused a credit transfer.
|
|
212
|
+
* - `unauthorized_debit_to_consumer_account_using_corporate_sec_code` - Code R05.
|
|
213
|
+
* The receiving bank rejected because of an incorrect Standard Entry Class code.
|
|
214
|
+
* - `corporate_customer_advised_not_authorized` - Code R29. The corporate customer
|
|
215
|
+
* reversed the transfer.
|
|
216
|
+
* - `payment_stopped` - Code R08. The receiving bank stopped payment on this
|
|
217
|
+
* transfer.
|
|
218
|
+
* - `non_transaction_account` - Code R20. The receiving bank account does not
|
|
219
|
+
* perform transfers.
|
|
220
|
+
* - `uncollected_funds` - Code R09. The receiving bank account does not have
|
|
221
|
+
* enough available balance for the transfer.
|
|
222
|
+
* - `routing_number_check_digit_error` - Code R28. The routing number is
|
|
223
|
+
* incorrect.
|
|
224
|
+
* - `customer_advised_unauthorized_improper_ineligible_or_incomplete` - Code R10.
|
|
225
|
+
* The customer reversed the transfer.
|
|
226
|
+
* - `amount_field_error` - Code R19. The amount field is incorrect or too large.
|
|
227
|
+
* - `authorization_revoked_by_customer` - Code R07. The customer who initiated the
|
|
228
|
+
* transfer revoked authorization.
|
|
229
|
+
* - `invalid_ach_routing_number` - Code R13. The routing number is invalid.
|
|
230
|
+
* - `file_record_edit_criteria` - Code R17. The receiving bank is unable to
|
|
231
|
+
* process a field in the transfer.
|
|
232
|
+
* - `enr_invalid_individual_name` - Code R45. The individual name field was
|
|
233
|
+
* invalid.
|
|
234
|
+
* - `returned_per_odfi_request` - Code R06. The originating financial institution
|
|
235
|
+
* asked for this transfer to be returned.
|
|
236
|
+
* - `limited_participation_dfi` - Code R34. The receiving bank's regulatory
|
|
237
|
+
* supervisor has limited their participation.
|
|
238
|
+
* - `incorrectly_coded_outbound_international_payment` - Code R85. The outbound
|
|
239
|
+
* international ACH transfer was incorrect.
|
|
240
|
+
* - `account_sold_to_another_dfi` - Code R12. A rare return reason. The account
|
|
241
|
+
* was sold to another bank.
|
|
242
|
+
* - `addenda_error` - Code R25. The addenda record is incorrect or missing.
|
|
243
|
+
* - `beneficiary_or_account_holder_deceased` - Code R15. A rare return reason. The
|
|
244
|
+
* account holder is deceased.
|
|
245
|
+
* - `customer_advised_not_within_authorization_terms` - Code R11. A rare return
|
|
246
|
+
* reason. The customer authorized some payment to the sender, but this payment
|
|
247
|
+
* was not in error.
|
|
248
|
+
* - `corrected_return` - Code R74. A rare return reason. Sent in response to a
|
|
249
|
+
* return that was returned with code `field_error`. The latest return should
|
|
250
|
+
* include the corrected field(s).
|
|
251
|
+
* - `duplicate_entry` - Code R24. A rare return reason. The receiving bank
|
|
252
|
+
* received an exact duplicate entry with the same trace number and amount.
|
|
253
|
+
* - `duplicate_return` - Code R67. A rare return reason. The return this message
|
|
254
|
+
* refers to was a duplicate.
|
|
255
|
+
* - `enr_duplicate_enrollment` - Code R47. A rare return reason. Only used for US
|
|
256
|
+
* Government agency non-monetary automatic enrollment messages.
|
|
257
|
+
* - `enr_invalid_dfi_account_number` - Code R43. A rare return reason. Only used
|
|
258
|
+
* for US Government agency non-monetary automatic enrollment messages.
|
|
259
|
+
* - `enr_invalid_individual_id_number` - Code R44. A rare return reason. Only used
|
|
260
|
+
* for US Government agency non-monetary automatic enrollment messages.
|
|
261
|
+
* - `enr_invalid_representative_payee_indicator` - Code R46. A rare return reason.
|
|
262
|
+
* Only used for US Government agency non-monetary automatic enrollment messages.
|
|
263
|
+
* - `enr_invalid_transaction_code` - Code R41. A rare return reason. Only used for
|
|
264
|
+
* US Government agency non-monetary automatic enrollment messages.
|
|
265
|
+
* - `enr_return_of_enr_entry` - Code R40. A rare return reason. Only used for US
|
|
266
|
+
* Government agency non-monetary automatic enrollment messages.
|
|
267
|
+
* - `enr_routing_number_check_digit_error` - Code R42. A rare return reason. Only
|
|
268
|
+
* used for US Government agency non-monetary automatic enrollment messages.
|
|
269
|
+
* - `entry_not_processed_by_gateway` - Code R84. A rare return reason. The
|
|
270
|
+
* International ACH Transfer cannot be processed by the gateway.
|
|
271
|
+
* - `field_error` - Code R69. A rare return reason. One or more of the fields in
|
|
272
|
+
* the ACH were malformed.
|
|
273
|
+
* - `foreign_receiving_dfi_unable_to_settle` - Code R83. A rare return reason. The
|
|
274
|
+
* Foreign receiving bank was unable to settle this ACH transfer.
|
|
275
|
+
* - `iat_entry_coding_error` - Code R80. A rare return reason. The International
|
|
276
|
+
* ACH Transfer is malformed.
|
|
277
|
+
* - `improper_effective_entry_date` - Code R18. A rare return reason. The ACH has
|
|
278
|
+
* an improper effective entry date field.
|
|
279
|
+
* - `improper_source_document_source_document_presented` - Code R39. A rare return
|
|
280
|
+
* reason. The source document related to this ACH, usually an ACH check
|
|
281
|
+
* conversion, was presented to the bank.
|
|
282
|
+
* - `invalid_company_id` - Code R21. A rare return reason. The Company ID field of
|
|
283
|
+
* the ACH was invalid.
|
|
284
|
+
* - `invalid_foreign_receiving_dfi_identification` - Code R82. A rare return
|
|
285
|
+
* reason. The foreign receiving bank identifier for an International ACH
|
|
286
|
+
* Transfer was invalid.
|
|
287
|
+
* - `invalid_individual_id_number` - Code R22. A rare return reason. The
|
|
288
|
+
* Individual ID number field of the ACH was invalid.
|
|
289
|
+
* - `item_and_rck_entry_presented_for_payment` - Code R53. A rare return reason.
|
|
290
|
+
* Both the Represented Check ("RCK") entry and the original check were presented
|
|
291
|
+
* to the bank.
|
|
292
|
+
* - `item_related_to_rck_entry_is_ineligible` - Code R51. A rare return reason.
|
|
293
|
+
* The Represented Check ("RCK") entry is ineligible.
|
|
294
|
+
* - `mandatory_field_error` - Code R26. A rare return reason. The ACH is missing a
|
|
295
|
+
* required field.
|
|
296
|
+
* - `misrouted_dishonored_return` - Code R71. A rare return reason. The receiving
|
|
297
|
+
* bank does not recognize the routing number in a dishonored return entry.
|
|
298
|
+
* - `misrouted_return` - Code R61. A rare return reason. The receiving bank does
|
|
299
|
+
* not recognize the routing number in a return entry.
|
|
300
|
+
* - `no_errors_found` - Code R76. A rare return reason. Sent in response to a
|
|
301
|
+
* return, the bank does not find the errors alleged by the returning bank.
|
|
302
|
+
* - `non_acceptance_of_r62_dishonored_return` - Code R77. A rare return reason.
|
|
303
|
+
* The receiving bank does not accept the return of the erroneous debit. The
|
|
304
|
+
* funds are not available at the receiving bank.
|
|
305
|
+
* - `non_participant_in_iat_program` - Code R81. A rare return reason. The
|
|
306
|
+
* receiving bank does not accept International ACH Transfers.
|
|
307
|
+
* - `permissible_return_entry` - Code R31. A rare return reason. A return that has
|
|
308
|
+
* been agreed to be accepted by the receiving bank, despite falling outside of
|
|
309
|
+
* the usual return timeframe.
|
|
310
|
+
* - `permissible_return_entry_not_accepted` - Code R70. A rare return reason. The
|
|
311
|
+
* receiving bank had not approved this return.
|
|
312
|
+
* - `rdfi_non_settlement` - Code R32. A rare return reason. The receiving bank
|
|
313
|
+
* could not settle this transaction.
|
|
314
|
+
* - `rdfi_participant_in_check_truncation_program` - Code R30. A rare return
|
|
315
|
+
* reason. The receiving bank does not accept Check Truncation ACH transfers.
|
|
316
|
+
* - `representative_payee_deceased_or_unable_to_continue_in_that_capacity` - Code
|
|
317
|
+
* R14. A rare return reason. The payee is deceased.
|
|
318
|
+
* - `return_not_a_duplicate` - Code R75. A rare return reason. The originating
|
|
319
|
+
* bank disputes that an earlier `duplicate_entry` return was actually a
|
|
320
|
+
* duplicate.
|
|
321
|
+
* - `return_of_erroneous_or_reversing_debit` - Code R62. A rare return reason. The
|
|
322
|
+
* originating financial institution made a mistake and this return corrects it.
|
|
323
|
+
* - `return_of_improper_credit_entry` - Code R36. A rare return reason. Return of
|
|
324
|
+
* a malformed credit entry.
|
|
325
|
+
* - `return_of_improper_debit_entry` - Code R35. A rare return reason. Return of a
|
|
326
|
+
* malformed debit entry.
|
|
327
|
+
* - `return_of_xck_entry` - Code R33. A rare return reason. Return of a Destroyed
|
|
328
|
+
* Check ("XKC") entry.
|
|
329
|
+
* - `source_document_presented_for_payment` - Code R37. A rare return reason. The
|
|
330
|
+
* source document related to this ACH, usually an ACH check conversion, was
|
|
331
|
+
* presented to the bank.
|
|
332
|
+
* - `state_law_affecting_rck_acceptance` - Code R50. A rare return reason. State
|
|
333
|
+
* law prevents the bank from accepting the Represented Check ("RCK") entry.
|
|
334
|
+
* - `stop_payment_on_item_related_to_rck_entry` - Code R52. A rare return reason.
|
|
335
|
+
* A stop payment was issued on a Represented Check ("RCK") entry.
|
|
336
|
+
* - `stop_payment_on_source_document` - Code R38. A rare return reason. The source
|
|
337
|
+
* attached to the ACH, usually an ACH check conversion, includes a stop payment.
|
|
338
|
+
* - `timely_original_return` - Code R73. A rare return reason. The bank receiving
|
|
339
|
+
* an `untimely_return` believes it was on time.
|
|
340
|
+
* - `trace_number_error` - Code R27. A rare return reason. An ACH Return's trace
|
|
341
|
+
* number does not match an originated ACH.
|
|
342
|
+
* - `untimely_dishonored_return` - Code R72. A rare return reason. The dishonored
|
|
343
|
+
* return was sent too late.
|
|
344
|
+
* - `untimely_return` - Code R68. A rare return reason. The return was sent too
|
|
345
|
+
* late.
|
|
200
346
|
*/
|
|
201
|
-
return_reason_code:
|
|
347
|
+
return_reason_code:
|
|
348
|
+
| 'insufficient_fund'
|
|
349
|
+
| 'no_account'
|
|
350
|
+
| 'account_closed'
|
|
351
|
+
| 'invalid_account_number_structure'
|
|
352
|
+
| 'account_frozen_entry_returned_per_ofac_instruction'
|
|
353
|
+
| 'credit_entry_refused_by_receiver'
|
|
354
|
+
| 'unauthorized_debit_to_consumer_account_using_corporate_sec_code'
|
|
355
|
+
| 'corporate_customer_advised_not_authorized'
|
|
356
|
+
| 'payment_stopped'
|
|
357
|
+
| 'non_transaction_account'
|
|
358
|
+
| 'uncollected_funds'
|
|
359
|
+
| 'routing_number_check_digit_error'
|
|
360
|
+
| 'customer_advised_unauthorized_improper_ineligible_or_incomplete'
|
|
361
|
+
| 'amount_field_error'
|
|
362
|
+
| 'authorization_revoked_by_customer'
|
|
363
|
+
| 'invalid_ach_routing_number'
|
|
364
|
+
| 'file_record_edit_criteria'
|
|
365
|
+
| 'enr_invalid_individual_name'
|
|
366
|
+
| 'returned_per_odfi_request'
|
|
367
|
+
| 'limited_participation_dfi'
|
|
368
|
+
| 'incorrectly_coded_outbound_international_payment'
|
|
369
|
+
| 'account_sold_to_another_dfi'
|
|
370
|
+
| 'addenda_error'
|
|
371
|
+
| 'beneficiary_or_account_holder_deceased'
|
|
372
|
+
| 'customer_advised_not_within_authorization_terms'
|
|
373
|
+
| 'corrected_return'
|
|
374
|
+
| 'duplicate_entry'
|
|
375
|
+
| 'duplicate_return'
|
|
376
|
+
| 'enr_duplicate_enrollment'
|
|
377
|
+
| 'enr_invalid_dfi_account_number'
|
|
378
|
+
| 'enr_invalid_individual_id_number'
|
|
379
|
+
| 'enr_invalid_representative_payee_indicator'
|
|
380
|
+
| 'enr_invalid_transaction_code'
|
|
381
|
+
| 'enr_return_of_enr_entry'
|
|
382
|
+
| 'enr_routing_number_check_digit_error'
|
|
383
|
+
| 'entry_not_processed_by_gateway'
|
|
384
|
+
| 'field_error'
|
|
385
|
+
| 'foreign_receiving_dfi_unable_to_settle'
|
|
386
|
+
| 'iat_entry_coding_error'
|
|
387
|
+
| 'improper_effective_entry_date'
|
|
388
|
+
| 'improper_source_document_source_document_presented'
|
|
389
|
+
| 'invalid_company_id'
|
|
390
|
+
| 'invalid_foreign_receiving_dfi_identification'
|
|
391
|
+
| 'invalid_individual_id_number'
|
|
392
|
+
| 'item_and_rck_entry_presented_for_payment'
|
|
393
|
+
| 'item_related_to_rck_entry_is_ineligible'
|
|
394
|
+
| 'mandatory_field_error'
|
|
395
|
+
| 'misrouted_dishonored_return'
|
|
396
|
+
| 'misrouted_return'
|
|
397
|
+
| 'no_errors_found'
|
|
398
|
+
| 'non_acceptance_of_r62_dishonored_return'
|
|
399
|
+
| 'non_participant_in_iat_program'
|
|
400
|
+
| 'permissible_return_entry'
|
|
401
|
+
| 'permissible_return_entry_not_accepted'
|
|
402
|
+
| 'rdfi_non_settlement'
|
|
403
|
+
| 'rdfi_participant_in_check_truncation_program'
|
|
404
|
+
| 'representative_payee_deceased_or_unable_to_continue_in_that_capacity'
|
|
405
|
+
| 'return_not_a_duplicate'
|
|
406
|
+
| 'return_of_erroneous_or_reversing_debit'
|
|
407
|
+
| 'return_of_improper_credit_entry'
|
|
408
|
+
| 'return_of_improper_debit_entry'
|
|
409
|
+
| 'return_of_xck_entry'
|
|
410
|
+
| 'source_document_presented_for_payment'
|
|
411
|
+
| 'state_law_affecting_rck_acceptance'
|
|
412
|
+
| 'stop_payment_on_item_related_to_rck_entry'
|
|
413
|
+
| 'stop_payment_on_source_document'
|
|
414
|
+
| 'timely_original_return'
|
|
415
|
+
| 'trace_number_error'
|
|
416
|
+
| 'untimely_dishonored_return'
|
|
417
|
+
| 'untimely_return';
|
|
202
418
|
}
|
|
203
419
|
}
|
|
204
420
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class ACHTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -252,8 +252,8 @@ export interface ACHTransfer {
|
|
|
252
252
|
* After the transfer is submitted to FedACH, this will contain supplemental
|
|
253
253
|
* details. Increase batches transfers and submits a file to the Federal Reserve
|
|
254
254
|
* roughly every 30 minutes. The Federal Reserve processes ACH transfers during
|
|
255
|
-
* weekdays according to their
|
|
256
|
-
* schedule
|
|
255
|
+
* weekdays according to their
|
|
256
|
+
* [posted schedule](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
|
|
257
257
|
*/
|
|
258
258
|
submission: ACHTransfer.Submission | null;
|
|
259
259
|
|
|
@@ -326,7 +326,8 @@ export namespace ACHTransfer {
|
|
|
326
326
|
|
|
327
327
|
export interface NotificationsOfChange {
|
|
328
328
|
/**
|
|
329
|
-
* The type of change that
|
|
329
|
+
* The required type of change that is being signaled by the receiving financial
|
|
330
|
+
* institution.
|
|
330
331
|
*
|
|
331
332
|
* - `incorrect_account_number` - The account number was incorrect.
|
|
332
333
|
* - `incorrect_routing_number` - The routing number was incorrect.
|
|
@@ -358,7 +359,7 @@ export namespace ACHTransfer {
|
|
|
358
359
|
| 'incorrect_standard_entry_class_code_for_outbound_international_payment';
|
|
359
360
|
|
|
360
361
|
/**
|
|
361
|
-
* The corrected data.
|
|
362
|
+
* The corrected data that should be used in future ACHs to this account.
|
|
362
363
|
*/
|
|
363
364
|
corrected_data: string;
|
|
364
365
|
|
|
@@ -420,7 +421,7 @@ export namespace ACHTransfer {
|
|
|
420
421
|
* - `enr_invalid_individual_name` - Code R45. The individual name field was
|
|
421
422
|
* invalid.
|
|
422
423
|
* - `returned_per_odfi_request` - Code R06. The originating financial institution
|
|
423
|
-
*
|
|
424
|
+
* asked for this transfer to be returned.
|
|
424
425
|
* - `limited_participation_dfi` - Code R34. The receiving bank's regulatory
|
|
425
426
|
* supervisor has limited their participation.
|
|
426
427
|
* - `incorrectly_coded_outbound_international_payment` - Code R85. The outbound
|
|
@@ -507,7 +508,7 @@ export namespace ACHTransfer {
|
|
|
507
508
|
* bank disputes that an earlier `duplicate_entry` return was actually a
|
|
508
509
|
* duplicate.
|
|
509
510
|
* - `return_of_erroneous_or_reversing_debit` - Code R62. A rare return reason. The
|
|
510
|
-
* originating
|
|
511
|
+
* originating financial institution made a mistake and this return corrects it.
|
|
511
512
|
* - `return_of_improper_credit_entry` - Code R36. A rare return reason. Return of
|
|
512
513
|
* a malformed credit entry.
|
|
513
514
|
* - `return_of_improper_debit_entry` - Code R35. A rare return reason. Return of a
|
|
@@ -619,8 +620,8 @@ export namespace ACHTransfer {
|
|
|
619
620
|
* After the transfer is submitted to FedACH, this will contain supplemental
|
|
620
621
|
* details. Increase batches transfers and submits a file to the Federal Reserve
|
|
621
622
|
* roughly every 30 minutes. The Federal Reserve processes ACH transfers during
|
|
622
|
-
* weekdays according to their
|
|
623
|
-
* schedule
|
|
623
|
+
* weekdays according to their
|
|
624
|
+
* [posted schedule](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
|
|
624
625
|
*/
|
|
625
626
|
export interface Submission {
|
|
626
627
|
/**
|
|
@@ -637,7 +638,11 @@ export namespace ACHTransfer {
|
|
|
637
638
|
submitted_at: string;
|
|
638
639
|
|
|
639
640
|
/**
|
|
640
|
-
*
|
|
641
|
+
* A 15 digit number recorded in the Nacha file and transmitted to the receiving
|
|
642
|
+
* bank. Along with the amount, date, and originating routing number, this can be
|
|
643
|
+
* used to identify the ACH transfer at the receiving bank. ACH trace numbers are
|
|
644
|
+
* not unique, but are
|
|
645
|
+
* [used to correlate returns](https://increase.com/documentation/ach#returns).
|
|
641
646
|
*/
|
|
642
647
|
trace_number: string;
|
|
643
648
|
}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '../core';
|
|
4
|
-
import { APIResource } from '../resource';
|
|
5
|
-
import * as API from './index';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import * as API from './index.js';
|
|
6
6
|
|
|
7
7
|
export class BalanceLookups extends APIResource {
|
|
8
8
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class BookkeepingAccounts extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class BookkeepingEntries extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
2
|
|
|
3
|
-
import * as Core from '../core';
|
|
4
|
-
import { APIResource } from '../resource';
|
|
5
|
-
import * as API from './index';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import * as API from './index.js';
|
|
6
6
|
|
|
7
7
|
export class BookkeepingEntrySets extends APIResource {
|
|
8
8
|
/**
|
|
@@ -31,7 +31,7 @@ export interface BookkeepingEntrySet {
|
|
|
31
31
|
date: string;
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* The entries
|
|
34
|
+
* The entries.
|
|
35
35
|
*/
|
|
36
36
|
entries: Array<BookkeepingEntrySet.Entry>;
|
|
37
37
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class CardDisputes extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless.
|
|
2
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';
|
|
3
|
+
import * as Core from '../core.js';
|
|
4
|
+
import { APIResource } from '../resource.js';
|
|
5
|
+
import { isRequestOptions } from '../core.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class CardProfiles extends APIResource {
|
|
10
10
|
/**
|
|
@@ -54,7 +54,7 @@ type _CardProfilesPage = CardProfilesPage;
|
|
|
54
54
|
/**
|
|
55
55
|
* This contains artwork and metadata relating to a Card's appearance in digital
|
|
56
56
|
* wallet apps like Apple Pay and Google Pay. For more information, see our guide
|
|
57
|
-
* on [digital card artwork](https://increase.com/documentation/card-art)
|
|
57
|
+
* on [digital card artwork](https://increase.com/documentation/card-art).
|
|
58
58
|
*/
|
|
59
59
|
export interface CardProfile {
|
|
60
60
|
/**
|
|
@@ -206,13 +206,20 @@ export namespace CardProfile {
|
|
|
206
206
|
* - `not_eligible` - The Card Profile is not eligible for physical cards.
|
|
207
207
|
* - `rejected` - There is an issue with the Physical Card Profile preventing it
|
|
208
208
|
* from use.
|
|
209
|
+
* - `pending_creating` - The Card Profile has not yet been processed by Increase.
|
|
209
210
|
* - `pending_reviewing` - The card profile is awaiting review by Increase.
|
|
210
211
|
* - `pending_submitting` - The card profile is awaiting submission to the
|
|
211
212
|
* fulfillment provider.
|
|
212
213
|
* - `active` - The Physical Card Profile has been submitted to the fulfillment
|
|
213
214
|
* provider and is ready to use.
|
|
214
215
|
*/
|
|
215
|
-
status:
|
|
216
|
+
status:
|
|
217
|
+
| 'not_eligible'
|
|
218
|
+
| 'rejected'
|
|
219
|
+
| 'pending_creating'
|
|
220
|
+
| 'pending_reviewing'
|
|
221
|
+
| 'pending_submitting'
|
|
222
|
+
| 'active';
|
|
216
223
|
}
|
|
217
224
|
}
|
|
218
225
|
|
|
@@ -337,7 +344,9 @@ export namespace CardProfileListParams {
|
|
|
337
344
|
* statuses. For GET requests, this should be encoded as a comma-delimited string,
|
|
338
345
|
* such as `?in=one,two,three`.
|
|
339
346
|
*/
|
|
340
|
-
in?: Array<
|
|
347
|
+
in?: Array<
|
|
348
|
+
'not_eligible' | 'rejected' | 'pending_creating' | 'pending_reviewing' | 'pending_submitting' | 'active'
|
|
349
|
+
>;
|
|
341
350
|
}
|
|
342
351
|
|
|
343
352
|
export interface Status {
|