increase 0.476.0 → 0.478.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 +17 -0
- package/client.d.mts +4 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +4 -4
- 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/beneficial-owners.d.mts +226 -1
- package/resources/beneficial-owners.d.mts.map +1 -1
- package/resources/beneficial-owners.d.ts +226 -1
- package/resources/beneficial-owners.d.ts.map +1 -1
- package/resources/beneficial-owners.js +28 -0
- package/resources/beneficial-owners.js.map +1 -1
- package/resources/beneficial-owners.mjs +28 -0
- package/resources/beneficial-owners.mjs.map +1 -1
- package/resources/check-transfers.d.mts +35 -6
- package/resources/check-transfers.d.mts.map +1 -1
- package/resources/check-transfers.d.ts +35 -6
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/entities.d.mts +1 -232
- package/resources/entities.d.mts.map +1 -1
- package/resources/entities.d.ts +1 -232
- package/resources/entities.d.ts.map +1 -1
- package/resources/entities.js +0 -31
- package/resources/entities.js.map +1 -1
- package/resources/entities.mjs +0 -31
- package/resources/entities.mjs.map +1 -1
- package/resources/files.d.mts +7 -3
- package/resources/files.d.mts.map +1 -1
- package/resources/files.d.ts +7 -3
- package/resources/files.d.ts.map +1 -1
- package/resources/index.d.mts +2 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -2
- 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 +2 -2
- package/src/resources/beneficial-owners.ts +269 -0
- package/src/resources/check-transfers.ts +39 -6
- package/src/resources/entities.ts +0 -278
- package/src/resources/files.ts +7 -0
- package/src/resources/index.ts +1 -1
- 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
|
@@ -82,42 +82,6 @@ export class Entities extends APIResource {
|
|
|
82
82
|
archive(entityID: string, options?: RequestOptions): APIPromise<Entity> {
|
|
83
83
|
return this._client.post(path`/entities/${entityID}/archive`, options);
|
|
84
84
|
}
|
|
85
|
-
|
|
86
|
-
/**
|
|
87
|
-
* Create a beneficial owner for a corporate Entity
|
|
88
|
-
*
|
|
89
|
-
* @example
|
|
90
|
-
* ```ts
|
|
91
|
-
* const entity = await client.entities.createBeneficialOwner(
|
|
92
|
-
* 'entity_n8y8tnk2p9339ti393yi',
|
|
93
|
-
* {
|
|
94
|
-
* beneficial_owner: {
|
|
95
|
-
* individual: {
|
|
96
|
-
* address: {
|
|
97
|
-
* city: 'New York',
|
|
98
|
-
* country: 'US',
|
|
99
|
-
* line1: '33 Liberty Street',
|
|
100
|
-
* },
|
|
101
|
-
* date_of_birth: '1970-01-31',
|
|
102
|
-
* identification: {
|
|
103
|
-
* method: 'social_security_number',
|
|
104
|
-
* number: '078051120',
|
|
105
|
-
* },
|
|
106
|
-
* name: 'Ian Crease',
|
|
107
|
-
* },
|
|
108
|
-
* prongs: ['control'],
|
|
109
|
-
* },
|
|
110
|
-
* },
|
|
111
|
-
* );
|
|
112
|
-
* ```
|
|
113
|
-
*/
|
|
114
|
-
createBeneficialOwner(
|
|
115
|
-
entityID: string,
|
|
116
|
-
body: EntityCreateBeneficialOwnerParams,
|
|
117
|
-
options?: RequestOptions,
|
|
118
|
-
): APIPromise<Entity> {
|
|
119
|
-
return this._client.post(path`/entities/${entityID}/create_beneficial_owner`, { body, ...options });
|
|
120
|
-
}
|
|
121
85
|
}
|
|
122
86
|
|
|
123
87
|
export type EntitiesPage = Page<Entity>;
|
|
@@ -2789,247 +2753,6 @@ export namespace EntityListParams {
|
|
|
2789
2753
|
}
|
|
2790
2754
|
}
|
|
2791
2755
|
|
|
2792
|
-
export interface EntityCreateBeneficialOwnerParams {
|
|
2793
|
-
/**
|
|
2794
|
-
* The identifying details of anyone controlling or owning 25% or more of the
|
|
2795
|
-
* corporation.
|
|
2796
|
-
*/
|
|
2797
|
-
beneficial_owner: EntityCreateBeneficialOwnerParams.BeneficialOwner;
|
|
2798
|
-
}
|
|
2799
|
-
|
|
2800
|
-
export namespace EntityCreateBeneficialOwnerParams {
|
|
2801
|
-
/**
|
|
2802
|
-
* The identifying details of anyone controlling or owning 25% or more of the
|
|
2803
|
-
* corporation.
|
|
2804
|
-
*/
|
|
2805
|
-
export interface BeneficialOwner {
|
|
2806
|
-
/**
|
|
2807
|
-
* Personal details for the beneficial owner.
|
|
2808
|
-
*/
|
|
2809
|
-
individual: BeneficialOwner.Individual;
|
|
2810
|
-
|
|
2811
|
-
/**
|
|
2812
|
-
* Why this person is considered a beneficial owner of the entity. At least one
|
|
2813
|
-
* option is required, if a person is both a control person and owner, submit an
|
|
2814
|
-
* array containing both.
|
|
2815
|
-
*/
|
|
2816
|
-
prongs: Array<'ownership' | 'control'>;
|
|
2817
|
-
|
|
2818
|
-
/**
|
|
2819
|
-
* This person's role or title within the entity.
|
|
2820
|
-
*/
|
|
2821
|
-
company_title?: string;
|
|
2822
|
-
|
|
2823
|
-
[k: string]: unknown;
|
|
2824
|
-
}
|
|
2825
|
-
|
|
2826
|
-
export namespace BeneficialOwner {
|
|
2827
|
-
/**
|
|
2828
|
-
* Personal details for the beneficial owner.
|
|
2829
|
-
*/
|
|
2830
|
-
export interface Individual {
|
|
2831
|
-
/**
|
|
2832
|
-
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
2833
|
-
* PMB's are disallowed.
|
|
2834
|
-
*/
|
|
2835
|
-
address: Individual.Address;
|
|
2836
|
-
|
|
2837
|
-
/**
|
|
2838
|
-
* The person's date of birth in YYYY-MM-DD format.
|
|
2839
|
-
*/
|
|
2840
|
-
date_of_birth: string;
|
|
2841
|
-
|
|
2842
|
-
/**
|
|
2843
|
-
* A means of verifying the person's identity.
|
|
2844
|
-
*/
|
|
2845
|
-
identification: Individual.Identification;
|
|
2846
|
-
|
|
2847
|
-
/**
|
|
2848
|
-
* The person's legal name.
|
|
2849
|
-
*/
|
|
2850
|
-
name: string;
|
|
2851
|
-
|
|
2852
|
-
/**
|
|
2853
|
-
* The identification method for an individual can only be a passport, driver's
|
|
2854
|
-
* license, or other document if you've confirmed the individual does not have a US
|
|
2855
|
-
* tax id (either a Social Security Number or Individual Taxpayer Identification
|
|
2856
|
-
* Number).
|
|
2857
|
-
*/
|
|
2858
|
-
confirmed_no_us_tax_id?: boolean;
|
|
2859
|
-
}
|
|
2860
|
-
|
|
2861
|
-
export namespace Individual {
|
|
2862
|
-
/**
|
|
2863
|
-
* The individual's physical address. Mail receiving locations like PO Boxes and
|
|
2864
|
-
* PMB's are disallowed.
|
|
2865
|
-
*/
|
|
2866
|
-
export interface Address {
|
|
2867
|
-
/**
|
|
2868
|
-
* The city, district, town, or village of the address.
|
|
2869
|
-
*/
|
|
2870
|
-
city: string;
|
|
2871
|
-
|
|
2872
|
-
/**
|
|
2873
|
-
* The two-letter ISO 3166-1 alpha-2 code for the country of the address.
|
|
2874
|
-
*/
|
|
2875
|
-
country: string;
|
|
2876
|
-
|
|
2877
|
-
/**
|
|
2878
|
-
* The first line of the address. This is usually the street number and street.
|
|
2879
|
-
*/
|
|
2880
|
-
line1: string;
|
|
2881
|
-
|
|
2882
|
-
/**
|
|
2883
|
-
* The second line of the address. This might be the floor or room number.
|
|
2884
|
-
*/
|
|
2885
|
-
line2?: string;
|
|
2886
|
-
|
|
2887
|
-
/**
|
|
2888
|
-
* The two-letter United States Postal Service (USPS) abbreviation for the US
|
|
2889
|
-
* state, province, or region of the address. Required in certain countries.
|
|
2890
|
-
*/
|
|
2891
|
-
state?: string;
|
|
2892
|
-
|
|
2893
|
-
/**
|
|
2894
|
-
* The ZIP or postal code of the address. Required in certain countries.
|
|
2895
|
-
*/
|
|
2896
|
-
zip?: string;
|
|
2897
|
-
}
|
|
2898
|
-
|
|
2899
|
-
/**
|
|
2900
|
-
* A means of verifying the person's identity.
|
|
2901
|
-
*/
|
|
2902
|
-
export interface Identification {
|
|
2903
|
-
/**
|
|
2904
|
-
* A method that can be used to verify the individual's identity.
|
|
2905
|
-
*
|
|
2906
|
-
* - `social_security_number` - A social security number.
|
|
2907
|
-
* - `individual_taxpayer_identification_number` - An individual taxpayer
|
|
2908
|
-
* identification number (ITIN).
|
|
2909
|
-
* - `passport` - A passport number.
|
|
2910
|
-
* - `drivers_license` - A driver's license number.
|
|
2911
|
-
* - `other` - Another identifying document.
|
|
2912
|
-
*/
|
|
2913
|
-
method:
|
|
2914
|
-
| 'social_security_number'
|
|
2915
|
-
| 'individual_taxpayer_identification_number'
|
|
2916
|
-
| 'passport'
|
|
2917
|
-
| 'drivers_license'
|
|
2918
|
-
| 'other';
|
|
2919
|
-
|
|
2920
|
-
/**
|
|
2921
|
-
* An identification number that can be used to verify the individual's identity,
|
|
2922
|
-
* such as a social security number.
|
|
2923
|
-
*/
|
|
2924
|
-
number: string;
|
|
2925
|
-
|
|
2926
|
-
/**
|
|
2927
|
-
* Information about the United States driver's license used for identification.
|
|
2928
|
-
* Required if `method` is equal to `drivers_license`.
|
|
2929
|
-
*/
|
|
2930
|
-
drivers_license?: Identification.DriversLicense;
|
|
2931
|
-
|
|
2932
|
-
/**
|
|
2933
|
-
* Information about the identification document provided. Required if `method` is
|
|
2934
|
-
* equal to `other`.
|
|
2935
|
-
*/
|
|
2936
|
-
other?: Identification.Other;
|
|
2937
|
-
|
|
2938
|
-
/**
|
|
2939
|
-
* Information about the passport used for identification. Required if `method` is
|
|
2940
|
-
* equal to `passport`.
|
|
2941
|
-
*/
|
|
2942
|
-
passport?: Identification.Passport;
|
|
2943
|
-
|
|
2944
|
-
[k: string]: unknown;
|
|
2945
|
-
}
|
|
2946
|
-
|
|
2947
|
-
export namespace Identification {
|
|
2948
|
-
/**
|
|
2949
|
-
* Information about the United States driver's license used for identification.
|
|
2950
|
-
* Required if `method` is equal to `drivers_license`.
|
|
2951
|
-
*/
|
|
2952
|
-
export interface DriversLicense {
|
|
2953
|
-
/**
|
|
2954
|
-
* The driver's license's expiration date in YYYY-MM-DD format.
|
|
2955
|
-
*/
|
|
2956
|
-
expiration_date: string;
|
|
2957
|
-
|
|
2958
|
-
/**
|
|
2959
|
-
* The identifier of the File containing the front of the driver's license.
|
|
2960
|
-
*/
|
|
2961
|
-
file_id: string;
|
|
2962
|
-
|
|
2963
|
-
/**
|
|
2964
|
-
* The state that issued the provided driver's license.
|
|
2965
|
-
*/
|
|
2966
|
-
state: string;
|
|
2967
|
-
|
|
2968
|
-
/**
|
|
2969
|
-
* The identifier of the File containing the back of the driver's license.
|
|
2970
|
-
*/
|
|
2971
|
-
back_file_id?: string;
|
|
2972
|
-
}
|
|
2973
|
-
|
|
2974
|
-
/**
|
|
2975
|
-
* Information about the identification document provided. Required if `method` is
|
|
2976
|
-
* equal to `other`.
|
|
2977
|
-
*/
|
|
2978
|
-
export interface Other {
|
|
2979
|
-
/**
|
|
2980
|
-
* The two-character ISO 3166-1 code representing the country that issued the
|
|
2981
|
-
* document (e.g., `US`).
|
|
2982
|
-
*/
|
|
2983
|
-
country: string;
|
|
2984
|
-
|
|
2985
|
-
/**
|
|
2986
|
-
* A description of the document submitted.
|
|
2987
|
-
*/
|
|
2988
|
-
description: string;
|
|
2989
|
-
|
|
2990
|
-
/**
|
|
2991
|
-
* The identifier of the File containing the front of the document.
|
|
2992
|
-
*/
|
|
2993
|
-
file_id: string;
|
|
2994
|
-
|
|
2995
|
-
/**
|
|
2996
|
-
* The identifier of the File containing the back of the document. Not every
|
|
2997
|
-
* document has a reverse side.
|
|
2998
|
-
*/
|
|
2999
|
-
back_file_id?: string;
|
|
3000
|
-
|
|
3001
|
-
/**
|
|
3002
|
-
* The document's expiration date in YYYY-MM-DD format.
|
|
3003
|
-
*/
|
|
3004
|
-
expiration_date?: string;
|
|
3005
|
-
}
|
|
3006
|
-
|
|
3007
|
-
/**
|
|
3008
|
-
* Information about the passport used for identification. Required if `method` is
|
|
3009
|
-
* equal to `passport`.
|
|
3010
|
-
*/
|
|
3011
|
-
export interface Passport {
|
|
3012
|
-
/**
|
|
3013
|
-
* The two-character ISO 3166-1 code representing the country that issued the
|
|
3014
|
-
* document (e.g., `US`).
|
|
3015
|
-
*/
|
|
3016
|
-
country: string;
|
|
3017
|
-
|
|
3018
|
-
/**
|
|
3019
|
-
* The passport's expiration date in YYYY-MM-DD format.
|
|
3020
|
-
*/
|
|
3021
|
-
expiration_date: string;
|
|
3022
|
-
|
|
3023
|
-
/**
|
|
3024
|
-
* The identifier of the File containing the passport.
|
|
3025
|
-
*/
|
|
3026
|
-
file_id: string;
|
|
3027
|
-
}
|
|
3028
|
-
}
|
|
3029
|
-
}
|
|
3030
|
-
}
|
|
3031
|
-
}
|
|
3032
|
-
|
|
3033
2756
|
export declare namespace Entities {
|
|
3034
2757
|
export {
|
|
3035
2758
|
type Entity as Entity,
|
|
@@ -3037,6 +2760,5 @@ export declare namespace Entities {
|
|
|
3037
2760
|
type EntityCreateParams as EntityCreateParams,
|
|
3038
2761
|
type EntityUpdateParams as EntityUpdateParams,
|
|
3039
2762
|
type EntityListParams as EntityListParams,
|
|
3040
|
-
type EntityCreateBeneficialOwnerParams as EntityCreateBeneficialOwnerParams,
|
|
3041
2763
|
};
|
|
3042
2764
|
}
|
package/src/resources/files.ts
CHANGED
|
@@ -128,6 +128,8 @@ export interface File {
|
|
|
128
128
|
* - `check_voucher_image` - An image to be used as the check voucher image, which
|
|
129
129
|
* is printed in the middle of the trifold area of a check. This must be a
|
|
130
130
|
* 2550x1100 pixel PNG.
|
|
131
|
+
* - `check_signature` - A signature image to be printed on a check. This must be a
|
|
132
|
+
* 1320x120 pixel PNG.
|
|
131
133
|
* - `inbound_mail_item` - A scanned mail item sent to Increase.
|
|
132
134
|
* - `form_1099_int` - IRS Form 1099-INT.
|
|
133
135
|
* - `form_1099_misc` - IRS Form 1099-MISC.
|
|
@@ -172,6 +174,7 @@ export interface File {
|
|
|
172
174
|
| 'mailed_check_image'
|
|
173
175
|
| 'check_attachment'
|
|
174
176
|
| 'check_voucher_image'
|
|
177
|
+
| 'check_signature'
|
|
175
178
|
| 'inbound_mail_item'
|
|
176
179
|
| 'form_1099_int'
|
|
177
180
|
| 'form_1099_misc'
|
|
@@ -228,6 +231,8 @@ export interface FileCreateParams {
|
|
|
228
231
|
* - `check_voucher_image` - An image to be used as the check voucher image, which
|
|
229
232
|
* is printed in the middle of the trifold area of a check. This must be a
|
|
230
233
|
* 2550x1100 pixel PNG.
|
|
234
|
+
* - `check_signature` - A signature image to be printed on a check. This must be a
|
|
235
|
+
* 1320x120 pixel PNG.
|
|
231
236
|
* - `form_ss_4` - IRS Form SS-4.
|
|
232
237
|
* - `identity_document` - An image of a government-issued ID.
|
|
233
238
|
* - `loan_application_supplemental_document` - A supplemental document for a Loan
|
|
@@ -258,6 +263,7 @@ export interface FileCreateParams {
|
|
|
258
263
|
| 'mailed_check_image'
|
|
259
264
|
| 'check_attachment'
|
|
260
265
|
| 'check_voucher_image'
|
|
266
|
+
| 'check_signature'
|
|
261
267
|
| 'form_ss_4'
|
|
262
268
|
| 'identity_document'
|
|
263
269
|
| 'loan_application_supplemental_document'
|
|
@@ -335,6 +341,7 @@ export namespace FileListParams {
|
|
|
335
341
|
| 'mailed_check_image'
|
|
336
342
|
| 'check_attachment'
|
|
337
343
|
| 'check_voucher_image'
|
|
344
|
+
| 'check_signature'
|
|
338
345
|
| 'inbound_mail_item'
|
|
339
346
|
| 'form_1099_int'
|
|
340
347
|
| 'form_1099_misc'
|
package/src/resources/index.ts
CHANGED
|
@@ -48,6 +48,7 @@ export {
|
|
|
48
48
|
export {
|
|
49
49
|
BeneficialOwners,
|
|
50
50
|
type EntityBeneficialOwner,
|
|
51
|
+
type BeneficialOwnerCreateParams,
|
|
51
52
|
type BeneficialOwnerUpdateParams,
|
|
52
53
|
type BeneficialOwnerListParams,
|
|
53
54
|
type EntityBeneficialOwnersPage,
|
|
@@ -170,7 +171,6 @@ export {
|
|
|
170
171
|
type EntityCreateParams,
|
|
171
172
|
type EntityUpdateParams,
|
|
172
173
|
type EntityListParams,
|
|
173
|
-
type EntityCreateBeneficialOwnerParams,
|
|
174
174
|
type EntitiesPage,
|
|
175
175
|
} from './entities';
|
|
176
176
|
export {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.478.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.478.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.478.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.478.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|