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
|
@@ -1,9 +1,9 @@
|
|
|
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 Entities from './index';
|
|
6
|
-
import * as API from './index';
|
|
3
|
+
import * as Core from '../../core.js';
|
|
4
|
+
import { APIResource } from '../../resource.js';
|
|
5
|
+
import * as Entities from './index.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
7
|
|
|
8
8
|
export class BeneficialOwners extends APIResource {
|
|
9
9
|
/**
|
|
@@ -22,6 +22,16 @@ export class BeneficialOwners extends APIResource {
|
|
|
22
22
|
): Core.APIPromise<Entities.Entity> {
|
|
23
23
|
return this.post('/entity_beneficial_owners/archive', { body, ...options });
|
|
24
24
|
}
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* Update the address for a beneficial owner belonging to a corporate Entity
|
|
28
|
+
*/
|
|
29
|
+
updateAddress(
|
|
30
|
+
body: BeneficialOwnerUpdateAddressParams,
|
|
31
|
+
options?: Core.RequestOptions,
|
|
32
|
+
): Core.APIPromise<Entities.Entity> {
|
|
33
|
+
return this.post('/entity_beneficial_owners/address', { body, ...options });
|
|
34
|
+
}
|
|
25
35
|
}
|
|
26
36
|
|
|
27
37
|
export interface BeneficialOwnerCreateParams {
|
|
@@ -270,7 +280,59 @@ export interface BeneficialOwnerArchiveParams {
|
|
|
270
280
|
entity_id: string;
|
|
271
281
|
}
|
|
272
282
|
|
|
283
|
+
export interface BeneficialOwnerUpdateAddressParams {
|
|
284
|
+
/**
|
|
285
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
286
|
+
*/
|
|
287
|
+
address: BeneficialOwnerUpdateAddressParams.Address;
|
|
288
|
+
|
|
289
|
+
/**
|
|
290
|
+
* The identifying details of anyone controlling or owning 25% or more of the
|
|
291
|
+
* corporation.
|
|
292
|
+
*/
|
|
293
|
+
beneficial_owner_id: string;
|
|
294
|
+
|
|
295
|
+
/**
|
|
296
|
+
* The identifier of the Entity to retrieve.
|
|
297
|
+
*/
|
|
298
|
+
entity_id: string;
|
|
299
|
+
}
|
|
300
|
+
|
|
301
|
+
export namespace BeneficialOwnerUpdateAddressParams {
|
|
302
|
+
/**
|
|
303
|
+
* The individual's physical address. Post Office Boxes are disallowed.
|
|
304
|
+
*/
|
|
305
|
+
export interface Address {
|
|
306
|
+
/**
|
|
307
|
+
* The city of the address.
|
|
308
|
+
*/
|
|
309
|
+
city: string;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* The first line of the address. This is usually the street number and street.
|
|
313
|
+
*/
|
|
314
|
+
line1: string;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
318
|
+
* the address.
|
|
319
|
+
*/
|
|
320
|
+
state: string;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* The ZIP code of the address.
|
|
324
|
+
*/
|
|
325
|
+
zip: string;
|
|
326
|
+
|
|
327
|
+
/**
|
|
328
|
+
* The second line of the address. This might be the floor or room number.
|
|
329
|
+
*/
|
|
330
|
+
line2?: string;
|
|
331
|
+
}
|
|
332
|
+
}
|
|
333
|
+
|
|
273
334
|
export namespace BeneficialOwners {
|
|
274
335
|
export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
|
|
275
336
|
export import BeneficialOwnerArchiveParams = API.BeneficialOwnerArchiveParams;
|
|
337
|
+
export import BeneficialOwnerUpdateAddressParams = API.BeneficialOwnerUpdateAddressParams;
|
|
276
338
|
}
|
|
@@ -1,12 +1,12 @@
|
|
|
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 { BeneficialOwners } from './beneficial-owners';
|
|
7
|
-
import { SupplementalDocuments } from './supplemental-documents';
|
|
8
|
-
import * as API from './index';
|
|
9
|
-
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 { BeneficialOwners } from './beneficial-owners.js';
|
|
7
|
+
import { SupplementalDocuments } from './supplemental-documents.js';
|
|
8
|
+
import * as API from './index.js';
|
|
9
|
+
import { Page, PageParams } from '../../pagination.js';
|
|
10
10
|
|
|
11
11
|
export class Entities extends APIResource {
|
|
12
12
|
beneficialOwners: BeneficialOwners = new BeneficialOwners(this.client);
|
|
@@ -47,6 +47,17 @@ export class Entities extends APIResource {
|
|
|
47
47
|
archive(entityId: string, options?: Core.RequestOptions): Core.APIPromise<Entity> {
|
|
48
48
|
return this.post(`/entities/${entityId}/archive`, options);
|
|
49
49
|
}
|
|
50
|
+
|
|
51
|
+
/**
|
|
52
|
+
* Update a Natural Person or Corporation's address
|
|
53
|
+
*/
|
|
54
|
+
updateAddress(
|
|
55
|
+
entityId: string,
|
|
56
|
+
body: EntityUpdateAddressParams,
|
|
57
|
+
options?: Core.RequestOptions,
|
|
58
|
+
): Core.APIPromise<Entity> {
|
|
59
|
+
return this.post(`/entities/${entityId}/address`, { body, ...options });
|
|
60
|
+
}
|
|
50
61
|
}
|
|
51
62
|
|
|
52
63
|
export class EntitiesPage extends Page<Entity> {}
|
|
@@ -555,7 +566,7 @@ export namespace Entity {
|
|
|
555
566
|
grantor: Trust.Grantor | null;
|
|
556
567
|
|
|
557
568
|
/**
|
|
558
|
-
* The trust's name
|
|
569
|
+
* The trust's name.
|
|
559
570
|
*/
|
|
560
571
|
name: string;
|
|
561
572
|
|
|
@@ -2076,15 +2087,57 @@ export namespace EntityListParams {
|
|
|
2076
2087
|
}
|
|
2077
2088
|
}
|
|
2078
2089
|
|
|
2090
|
+
export interface EntityUpdateAddressParams {
|
|
2091
|
+
/**
|
|
2092
|
+
* The entity's physical address. Post Office Boxes are disallowed.
|
|
2093
|
+
*/
|
|
2094
|
+
address: EntityUpdateAddressParams.Address;
|
|
2095
|
+
}
|
|
2096
|
+
|
|
2097
|
+
export namespace EntityUpdateAddressParams {
|
|
2098
|
+
/**
|
|
2099
|
+
* The entity's physical address. Post Office Boxes are disallowed.
|
|
2100
|
+
*/
|
|
2101
|
+
export interface Address {
|
|
2102
|
+
/**
|
|
2103
|
+
* The city of the address.
|
|
2104
|
+
*/
|
|
2105
|
+
city: string;
|
|
2106
|
+
|
|
2107
|
+
/**
|
|
2108
|
+
* The first line of the address. This is usually the street number and street.
|
|
2109
|
+
*/
|
|
2110
|
+
line1: string;
|
|
2111
|
+
|
|
2112
|
+
/**
|
|
2113
|
+
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
2114
|
+
* the address.
|
|
2115
|
+
*/
|
|
2116
|
+
state: string;
|
|
2117
|
+
|
|
2118
|
+
/**
|
|
2119
|
+
* The ZIP code of the address.
|
|
2120
|
+
*/
|
|
2121
|
+
zip: string;
|
|
2122
|
+
|
|
2123
|
+
/**
|
|
2124
|
+
* The second line of the address. This might be the floor or room number.
|
|
2125
|
+
*/
|
|
2126
|
+
line2?: string;
|
|
2127
|
+
}
|
|
2128
|
+
}
|
|
2129
|
+
|
|
2079
2130
|
export namespace Entities {
|
|
2080
2131
|
export import Entity = API.Entity;
|
|
2081
2132
|
export type EntitiesPage = _EntitiesPage;
|
|
2082
2133
|
export import EntityCreateParams = API.EntityCreateParams;
|
|
2083
2134
|
export import EntityListParams = API.EntityListParams;
|
|
2135
|
+
export import EntityUpdateAddressParams = API.EntityUpdateAddressParams;
|
|
2084
2136
|
|
|
2085
2137
|
export import BeneficialOwners = API.BeneficialOwners;
|
|
2086
2138
|
export import BeneficialOwnerCreateParams = API.BeneficialOwnerCreateParams;
|
|
2087
2139
|
export import BeneficialOwnerArchiveParams = API.BeneficialOwnerArchiveParams;
|
|
2140
|
+
export import BeneficialOwnerUpdateAddressParams = API.BeneficialOwnerUpdateAddressParams;
|
|
2088
2141
|
|
|
2089
2142
|
export import SupplementalDocuments = API.SupplementalDocuments;
|
|
2090
2143
|
export import SupplementalDocument = API.SupplementalDocument;
|
|
@@ -3,13 +3,21 @@
|
|
|
3
3
|
export {
|
|
4
4
|
BeneficialOwnerCreateParams,
|
|
5
5
|
BeneficialOwnerArchiveParams,
|
|
6
|
+
BeneficialOwnerUpdateAddressParams,
|
|
6
7
|
BeneficialOwners,
|
|
7
|
-
} from './beneficial-owners';
|
|
8
|
-
export {
|
|
8
|
+
} from './beneficial-owners.js';
|
|
9
|
+
export {
|
|
10
|
+
Entity,
|
|
11
|
+
EntityCreateParams,
|
|
12
|
+
EntityListParams,
|
|
13
|
+
EntityUpdateAddressParams,
|
|
14
|
+
EntitiesPage,
|
|
15
|
+
Entities,
|
|
16
|
+
} from './entities.js';
|
|
9
17
|
export {
|
|
10
18
|
SupplementalDocument,
|
|
11
19
|
SupplementalDocumentCreateParams,
|
|
12
20
|
SupplementalDocumentListParams,
|
|
13
21
|
SupplementalDocumentsPage,
|
|
14
22
|
SupplementalDocuments,
|
|
15
|
-
} from './supplemental-documents';
|
|
23
|
+
} from './supplemental-documents.js';
|
|
@@ -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 * as Entities from './index';
|
|
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 * as Entities from './index.js';
|
|
6
|
+
import * as API from './index.js';
|
|
7
|
+
import { Page, PageParams } from '../../pagination.js';
|
|
8
8
|
|
|
9
9
|
export class SupplementalDocuments 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 EventSubscriptions extends APIResource {
|
|
10
10
|
/**
|
package/src/resources/events.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 Events extends APIResource {
|
|
10
10
|
/**
|
package/src/resources/exports.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 Exports 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 ExternalAccounts extends APIResource {
|
|
10
10
|
/**
|
|
@@ -164,6 +164,11 @@ export interface ExternalAccountUpdateParams {
|
|
|
164
164
|
}
|
|
165
165
|
|
|
166
166
|
export interface ExternalAccountListParams extends PageParams {
|
|
167
|
+
/**
|
|
168
|
+
* Filter External Accounts to those with the specified Routing Number.
|
|
169
|
+
*/
|
|
170
|
+
routing_number?: string;
|
|
171
|
+
|
|
167
172
|
status?: ExternalAccountListParams.Status;
|
|
168
173
|
}
|
|
169
174
|
|
package/src/resources/files.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
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 { type Uploadable, multipartFormRequestOptions } from '../core';
|
|
8
|
-
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 { type Uploadable, multipartFormRequestOptions } from '../core.js';
|
|
8
|
+
import { Page, PageParams } from '../pagination.js';
|
|
9
9
|
|
|
10
10
|
export class Files extends APIResource {
|
|
11
11
|
/**
|
package/src/resources/groups.ts
CHANGED
|
@@ -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 Groups 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 InboundACHTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -39,6 +39,20 @@ export class InboundACHTransfers extends APIResource {
|
|
|
39
39
|
return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/decline`, options);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
+
/**
|
|
43
|
+
* Create a notification of change for an Inbound ACH Transfer
|
|
44
|
+
*/
|
|
45
|
+
notificationOfChange(
|
|
46
|
+
inboundACHTransferId: string,
|
|
47
|
+
body: InboundACHTransferNotificationOfChangeParams,
|
|
48
|
+
options?: Core.RequestOptions,
|
|
49
|
+
): Core.APIPromise<InboundACHTransfer> {
|
|
50
|
+
return this.post(`/inbound_ach_transfers/${inboundACHTransferId}/notification_of_change`, {
|
|
51
|
+
body,
|
|
52
|
+
...options,
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
|
|
42
56
|
/**
|
|
43
57
|
* Return an Inbound ACH Transfer
|
|
44
58
|
*/
|
|
@@ -70,6 +84,11 @@ export interface InboundACHTransfer {
|
|
|
70
84
|
*/
|
|
71
85
|
acceptance: InboundACHTransfer.Acceptance | null;
|
|
72
86
|
|
|
87
|
+
/**
|
|
88
|
+
* The identifier of the Account Number to which this transfer was sent.
|
|
89
|
+
*/
|
|
90
|
+
account_number_id: string;
|
|
91
|
+
|
|
73
92
|
/**
|
|
74
93
|
* The transfer amount in USD cents.
|
|
75
94
|
*/
|
|
@@ -93,6 +112,12 @@ export interface InboundACHTransfer {
|
|
|
93
112
|
*/
|
|
94
113
|
direction: 'credit' | 'debit';
|
|
95
114
|
|
|
115
|
+
/**
|
|
116
|
+
* If you initiate a notification of change in response to the transfer, this will
|
|
117
|
+
* contain its details.
|
|
118
|
+
*/
|
|
119
|
+
notification_of_change: InboundACHTransfer.NotificationOfChange | null;
|
|
120
|
+
|
|
96
121
|
/**
|
|
97
122
|
* The descriptive date of the transfer.
|
|
98
123
|
*/
|
|
@@ -187,20 +212,26 @@ export namespace InboundACHTransfer {
|
|
|
187
212
|
declined_transaction_id: string;
|
|
188
213
|
|
|
189
214
|
/**
|
|
190
|
-
* The reason for the transfer decline
|
|
215
|
+
* The reason for the transfer decline.
|
|
191
216
|
*
|
|
192
217
|
* - `ach_route_canceled` - The account number is canceled.
|
|
193
218
|
* - `ach_route_disabled` - The account number is disabled.
|
|
194
|
-
* - `breaches_limit` - The transaction would cause
|
|
195
|
-
*
|
|
196
|
-
* - `
|
|
219
|
+
* - `breaches_limit` - The transaction would cause an Increase limit to be
|
|
220
|
+
* exceeded.
|
|
221
|
+
* - `credit_entry_refused_by_receiver` - A credit was refused. This is a
|
|
222
|
+
* reasonable default reason for decline of credits.
|
|
223
|
+
* - `duplicate_return` - A rare return reason. The return this message refers to
|
|
224
|
+
* was a duplicate.
|
|
197
225
|
* - `entity_not_active` - The account's entity is not active.
|
|
198
226
|
* - `group_locked` - Your account is inactive.
|
|
199
227
|
* - `insufficient_funds` - Your account contains insufficient funds.
|
|
200
|
-
* - `misrouted_return` -
|
|
201
|
-
*
|
|
228
|
+
* - `misrouted_return` - A rare return reason. The return this message refers to
|
|
229
|
+
* was misrouted.
|
|
230
|
+
* - `return_of_erroneous_or_reversing_debit` - The originating financial
|
|
231
|
+
* institution made a mistake and this return corrects it.
|
|
202
232
|
* - `no_ach_route` - The account number that was debited does not exist.
|
|
203
|
-
* - `originator_request` -
|
|
233
|
+
* - `originator_request` - The originating financial institution asked for this
|
|
234
|
+
* transfer to be returned.
|
|
204
235
|
* - `transaction_not_allowed` - The transaction is not allowed per Increase's
|
|
205
236
|
* terms.
|
|
206
237
|
* - `user_initiated` - The user initiated the decline.
|
|
@@ -222,12 +253,28 @@ export namespace InboundACHTransfer {
|
|
|
222
253
|
| 'user_initiated';
|
|
223
254
|
}
|
|
224
255
|
|
|
256
|
+
/**
|
|
257
|
+
* If you initiate a notification of change in response to the transfer, this will
|
|
258
|
+
* contain its details.
|
|
259
|
+
*/
|
|
260
|
+
export interface NotificationOfChange {
|
|
261
|
+
/**
|
|
262
|
+
* The new account number provided in the notification of change.
|
|
263
|
+
*/
|
|
264
|
+
updated_account_number: string | null;
|
|
265
|
+
|
|
266
|
+
/**
|
|
267
|
+
* The new account number provided in the notification of change.
|
|
268
|
+
*/
|
|
269
|
+
updated_routing_number: string | null;
|
|
270
|
+
}
|
|
271
|
+
|
|
225
272
|
/**
|
|
226
273
|
* If your transfer is returned, this will contain details of the return.
|
|
227
274
|
*/
|
|
228
275
|
export interface TransferReturn {
|
|
229
276
|
/**
|
|
230
|
-
* The reason for the transfer return
|
|
277
|
+
* The reason for the transfer return.
|
|
231
278
|
*
|
|
232
279
|
* - `authorization_revoked_by_customer` - The customer no longer authorizes this
|
|
233
280
|
* transaction. The Nacha return code is R07.
|
|
@@ -317,6 +364,18 @@ export namespace InboundACHTransferListParams {
|
|
|
317
364
|
}
|
|
318
365
|
}
|
|
319
366
|
|
|
367
|
+
export interface InboundACHTransferNotificationOfChangeParams {
|
|
368
|
+
/**
|
|
369
|
+
* The updated account number to send in the notification of change.
|
|
370
|
+
*/
|
|
371
|
+
updated_account_number?: string;
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* The updated routing number to send in the notification of change.
|
|
375
|
+
*/
|
|
376
|
+
updated_routing_number?: string;
|
|
377
|
+
}
|
|
378
|
+
|
|
320
379
|
export interface InboundACHTransferTransferReturnParams {
|
|
321
380
|
/**
|
|
322
381
|
* The reason why this transfer will be returned. The most usual return codes are
|
|
@@ -355,5 +414,6 @@ export namespace InboundACHTransfers {
|
|
|
355
414
|
export import InboundACHTransfer = API.InboundACHTransfer;
|
|
356
415
|
export type InboundACHTransfersPage = _InboundACHTransfersPage;
|
|
357
416
|
export import InboundACHTransferListParams = API.InboundACHTransferListParams;
|
|
417
|
+
export import InboundACHTransferNotificationOfChangeParams = API.InboundACHTransferNotificationOfChangeParams;
|
|
358
418
|
export import InboundACHTransferTransferReturnParams = API.InboundACHTransferTransferReturnParams;
|
|
359
419
|
}
|
|
@@ -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 InboundWireDrawdownRequests extends APIResource {
|
|
10
10
|
/**
|