increase 0.447.0 → 0.449.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 +21 -0
- package/client.d.mts +2 -2
- package/client.d.mts.map +1 -1
- package/client.d.ts +2 -2
- package/client.d.ts.map +1 -1
- package/client.js.map +1 -1
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/entities.d.mts +1 -97
- package/resources/entities.d.mts.map +1 -1
- package/resources/entities.d.ts +1 -97
- package/resources/entities.d.ts.map +1 -1
- package/resources/entities.js +0 -50
- package/resources/entities.js.map +1 -1
- package/resources/entities.mjs +0 -50
- package/resources/entities.mjs.map +1 -1
- package/resources/event-subscriptions.d.mts +180 -171
- package/resources/event-subscriptions.d.mts.map +1 -1
- package/resources/event-subscriptions.d.ts +180 -171
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/src/client.ts +0 -6
- package/src/resources/entities.ts +0 -124
- package/src/resources/event-subscriptions.ts +290 -280
- package/src/resources/index.ts +0 -3
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -104,22 +104,6 @@ export class Entities extends APIResource {
|
|
|
104
104
|
return this._client.post(path`/entities/${entityID}/archive_beneficial_owner`, { body, ...options });
|
|
105
105
|
}
|
|
106
106
|
|
|
107
|
-
/**
|
|
108
|
-
* Depending on your program, you may be required to re-confirm an Entity's details
|
|
109
|
-
* on a recurring basis. After making any required updates, call this endpoint to
|
|
110
|
-
* record that your user confirmed their details.
|
|
111
|
-
*
|
|
112
|
-
* @example
|
|
113
|
-
* ```ts
|
|
114
|
-
* const entity = await client.entities.confirm(
|
|
115
|
-
* 'entity_n8y8tnk2p9339ti393yi',
|
|
116
|
-
* );
|
|
117
|
-
* ```
|
|
118
|
-
*/
|
|
119
|
-
confirm(entityID: string, body: EntityConfirmParams, options?: RequestOptions): APIPromise<Entity> {
|
|
120
|
-
return this._client.post(path`/entities/${entityID}/confirm`, { body, ...options });
|
|
121
|
-
}
|
|
122
|
-
|
|
123
107
|
/**
|
|
124
108
|
* Create a beneficial owner for a corporate Entity
|
|
125
109
|
*
|
|
@@ -156,32 +140,6 @@ export class Entities extends APIResource {
|
|
|
156
140
|
return this._client.post(path`/entities/${entityID}/create_beneficial_owner`, { body, ...options });
|
|
157
141
|
}
|
|
158
142
|
|
|
159
|
-
/**
|
|
160
|
-
* Update a Natural Person or Corporation's address
|
|
161
|
-
*
|
|
162
|
-
* @example
|
|
163
|
-
* ```ts
|
|
164
|
-
* const entity = await client.entities.updateAddress(
|
|
165
|
-
* 'entity_n8y8tnk2p9339ti393yi',
|
|
166
|
-
* {
|
|
167
|
-
* address: {
|
|
168
|
-
* city: 'New York',
|
|
169
|
-
* line1: '33 Liberty Street',
|
|
170
|
-
* state: 'NY',
|
|
171
|
-
* zip: '10045',
|
|
172
|
-
* },
|
|
173
|
-
* },
|
|
174
|
-
* );
|
|
175
|
-
* ```
|
|
176
|
-
*/
|
|
177
|
-
updateAddress(
|
|
178
|
-
entityID: string,
|
|
179
|
-
body: EntityUpdateAddressParams,
|
|
180
|
-
options?: RequestOptions,
|
|
181
|
-
): APIPromise<Entity> {
|
|
182
|
-
return this._client.post(path`/entities/${entityID}/update_address`, { body, ...options });
|
|
183
|
-
}
|
|
184
|
-
|
|
185
143
|
/**
|
|
186
144
|
* Update the address for a beneficial owner belonging to a corporate Entity
|
|
187
145
|
*
|
|
@@ -212,25 +170,6 @@ export class Entities extends APIResource {
|
|
|
212
170
|
...options,
|
|
213
171
|
});
|
|
214
172
|
}
|
|
215
|
-
|
|
216
|
-
/**
|
|
217
|
-
* Update the industry code for a corporate Entity
|
|
218
|
-
*
|
|
219
|
-
* @example
|
|
220
|
-
* ```ts
|
|
221
|
-
* const entity = await client.entities.updateIndustryCode(
|
|
222
|
-
* 'entity_n8y8tnk2p9339ti393yi',
|
|
223
|
-
* { industry_code: '5132' },
|
|
224
|
-
* );
|
|
225
|
-
* ```
|
|
226
|
-
*/
|
|
227
|
-
updateIndustryCode(
|
|
228
|
-
entityID: string,
|
|
229
|
-
body: EntityUpdateIndustryCodeParams,
|
|
230
|
-
options?: RequestOptions,
|
|
231
|
-
): APIPromise<Entity> {
|
|
232
|
-
return this._client.post(path`/entities/${entityID}/update_industry_code`, { body, ...options });
|
|
233
|
-
}
|
|
234
173
|
}
|
|
235
174
|
|
|
236
175
|
export type EntitiesPage = Page<Entity>;
|
|
@@ -3029,14 +2968,6 @@ export interface EntityArchiveBeneficialOwnerParams {
|
|
|
3029
2968
|
beneficial_owner_id: string;
|
|
3030
2969
|
}
|
|
3031
2970
|
|
|
3032
|
-
export interface EntityConfirmParams {
|
|
3033
|
-
/**
|
|
3034
|
-
* When your user confirmed the Entity's details. If not provided, the current time
|
|
3035
|
-
* will be used.
|
|
3036
|
-
*/
|
|
3037
|
-
confirmed_at?: string;
|
|
3038
|
-
}
|
|
3039
|
-
|
|
3040
2971
|
export interface EntityCreateBeneficialOwnerParams {
|
|
3041
2972
|
/**
|
|
3042
2973
|
* The identifying details of anyone controlling or owning 25% or more of the
|
|
@@ -3278,48 +3209,6 @@ export namespace EntityCreateBeneficialOwnerParams {
|
|
|
3278
3209
|
}
|
|
3279
3210
|
}
|
|
3280
3211
|
|
|
3281
|
-
export interface EntityUpdateAddressParams {
|
|
3282
|
-
/**
|
|
3283
|
-
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
3284
|
-
* are disallowed.
|
|
3285
|
-
*/
|
|
3286
|
-
address: EntityUpdateAddressParams.Address;
|
|
3287
|
-
}
|
|
3288
|
-
|
|
3289
|
-
export namespace EntityUpdateAddressParams {
|
|
3290
|
-
/**
|
|
3291
|
-
* The entity's physical address. Mail receiving locations like PO Boxes and PMB's
|
|
3292
|
-
* are disallowed.
|
|
3293
|
-
*/
|
|
3294
|
-
export interface Address {
|
|
3295
|
-
/**
|
|
3296
|
-
* The city of the address.
|
|
3297
|
-
*/
|
|
3298
|
-
city: string;
|
|
3299
|
-
|
|
3300
|
-
/**
|
|
3301
|
-
* The first line of the address. This is usually the street number and street.
|
|
3302
|
-
*/
|
|
3303
|
-
line1: string;
|
|
3304
|
-
|
|
3305
|
-
/**
|
|
3306
|
-
* The two-letter United States Postal Service (USPS) abbreviation for the state of
|
|
3307
|
-
* the address.
|
|
3308
|
-
*/
|
|
3309
|
-
state: string;
|
|
3310
|
-
|
|
3311
|
-
/**
|
|
3312
|
-
* The ZIP code of the address.
|
|
3313
|
-
*/
|
|
3314
|
-
zip: string;
|
|
3315
|
-
|
|
3316
|
-
/**
|
|
3317
|
-
* The second line of the address. This might be the floor or room number.
|
|
3318
|
-
*/
|
|
3319
|
-
line2?: string;
|
|
3320
|
-
}
|
|
3321
|
-
}
|
|
3322
|
-
|
|
3323
3212
|
export interface EntityUpdateBeneficialOwnerAddressParams {
|
|
3324
3213
|
/**
|
|
3325
3214
|
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
@@ -3373,16 +3262,6 @@ export namespace EntityUpdateBeneficialOwnerAddressParams {
|
|
|
3373
3262
|
}
|
|
3374
3263
|
}
|
|
3375
3264
|
|
|
3376
|
-
export interface EntityUpdateIndustryCodeParams {
|
|
3377
|
-
/**
|
|
3378
|
-
* The North American Industry Classification System (NAICS) code for the
|
|
3379
|
-
* corporation's primary line of business. This is a number, like `5132` for
|
|
3380
|
-
* `Software Publishers`. A full list of classification codes is available
|
|
3381
|
-
* [here](https://increase.com/documentation/data-dictionary#north-american-industry-classification-system-codes).
|
|
3382
|
-
*/
|
|
3383
|
-
industry_code: string;
|
|
3384
|
-
}
|
|
3385
|
-
|
|
3386
3265
|
export declare namespace Entities {
|
|
3387
3266
|
export {
|
|
3388
3267
|
type Entity as Entity,
|
|
@@ -3391,10 +3270,7 @@ export declare namespace Entities {
|
|
|
3391
3270
|
type EntityUpdateParams as EntityUpdateParams,
|
|
3392
3271
|
type EntityListParams as EntityListParams,
|
|
3393
3272
|
type EntityArchiveBeneficialOwnerParams as EntityArchiveBeneficialOwnerParams,
|
|
3394
|
-
type EntityConfirmParams as EntityConfirmParams,
|
|
3395
3273
|
type EntityCreateBeneficialOwnerParams as EntityCreateBeneficialOwnerParams,
|
|
3396
|
-
type EntityUpdateAddressParams as EntityUpdateAddressParams,
|
|
3397
3274
|
type EntityUpdateBeneficialOwnerAddressParams as EntityUpdateBeneficialOwnerAddressParams,
|
|
3398
|
-
type EntityUpdateIndustryCodeParams as EntityUpdateIndustryCodeParams,
|
|
3399
3275
|
};
|
|
3400
3276
|
}
|