increase 0.472.0 → 0.474.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 CHANGED
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.474.0 (2026-03-12)
4
+
5
+ Full Changelog: [v0.473.0...v0.474.0](https://github.com/Increase/increase-typescript/compare/v0.473.0...v0.474.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([1a37ef0](https://github.com/Increase/increase-typescript/commit/1a37ef04f9623fb8b61cb7c339d0b9445172333e))
10
+
11
+ ## 0.473.0 (2026-03-11)
12
+
13
+ Full Changelog: [v0.472.0...v0.473.0](https://github.com/Increase/increase-typescript/compare/v0.472.0...v0.473.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([2f4b214](https://github.com/Increase/increase-typescript/commit/2f4b2144199dbca245c8dcaba822286bf63c27a6))
18
+
3
19
  ## 0.472.0 (2026-03-11)
4
20
 
5
21
  Full Changelog: [v0.471.0...v0.472.0](https://github.com/Increase/increase-typescript/compare/v0.471.0...v0.472.0)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "increase",
3
- "version": "0.472.0",
3
+ "version": "0.474.0",
4
4
  "description": "The official TypeScript library for the Increase API",
5
5
  "author": "Increase <dev-feedback@increase.com>",
6
6
  "types": "./index.d.ts",
@@ -155,6 +155,21 @@ export interface BeneficialOwnerUpdateParams {
155
155
  * PMB's are disallowed.
156
156
  */
157
157
  address?: BeneficialOwnerUpdateParams.Address;
158
+ /**
159
+ * The identification method for an individual can only be a passport, driver's
160
+ * license, or other document if you've confirmed the individual does not have a US
161
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
162
+ * Number).
163
+ */
164
+ confirmed_no_us_tax_id?: boolean;
165
+ /**
166
+ * A means of verifying the person's identity.
167
+ */
168
+ identification?: BeneficialOwnerUpdateParams.Identification;
169
+ /**
170
+ * The individual's legal name.
171
+ */
172
+ name?: string;
158
173
  }
159
174
  export declare namespace BeneficialOwnerUpdateParams {
160
175
  /**
@@ -188,6 +203,114 @@ export declare namespace BeneficialOwnerUpdateParams {
188
203
  */
189
204
  zip?: string;
190
205
  }
206
+ /**
207
+ * A means of verifying the person's identity.
208
+ */
209
+ interface Identification {
210
+ /**
211
+ * A method that can be used to verify the individual's identity.
212
+ *
213
+ * - `social_security_number` - A social security number.
214
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
215
+ * identification number (ITIN).
216
+ * - `passport` - A passport number.
217
+ * - `drivers_license` - A driver's license number.
218
+ * - `other` - Another identifying document.
219
+ */
220
+ method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
221
+ /**
222
+ * An identification number that can be used to verify the individual's identity,
223
+ * such as a social security number.
224
+ */
225
+ number: string;
226
+ /**
227
+ * Information about the United States driver's license used for identification.
228
+ * Required if `method` is equal to `drivers_license`.
229
+ */
230
+ drivers_license?: Identification.DriversLicense;
231
+ /**
232
+ * Information about the identification document provided. Required if `method` is
233
+ * equal to `other`.
234
+ */
235
+ other?: Identification.Other;
236
+ /**
237
+ * Information about the passport used for identification. Required if `method` is
238
+ * equal to `passport`.
239
+ */
240
+ passport?: Identification.Passport;
241
+ [k: string]: unknown;
242
+ }
243
+ namespace Identification {
244
+ /**
245
+ * Information about the United States driver's license used for identification.
246
+ * Required if `method` is equal to `drivers_license`.
247
+ */
248
+ interface DriversLicense {
249
+ /**
250
+ * The driver's license's expiration date in YYYY-MM-DD format.
251
+ */
252
+ expiration_date: string;
253
+ /**
254
+ * The identifier of the File containing the front of the driver's license.
255
+ */
256
+ file_id: string;
257
+ /**
258
+ * The state that issued the provided driver's license.
259
+ */
260
+ state: string;
261
+ /**
262
+ * The identifier of the File containing the back of the driver's license.
263
+ */
264
+ back_file_id?: string;
265
+ }
266
+ /**
267
+ * Information about the identification document provided. Required if `method` is
268
+ * equal to `other`.
269
+ */
270
+ interface Other {
271
+ /**
272
+ * The two-character ISO 3166-1 code representing the country that issued the
273
+ * document (e.g., `US`).
274
+ */
275
+ country: string;
276
+ /**
277
+ * A description of the document submitted.
278
+ */
279
+ description: string;
280
+ /**
281
+ * The identifier of the File containing the front of the document.
282
+ */
283
+ file_id: string;
284
+ /**
285
+ * The identifier of the File containing the back of the document. Not every
286
+ * document has a reverse side.
287
+ */
288
+ back_file_id?: string;
289
+ /**
290
+ * The document's expiration date in YYYY-MM-DD format.
291
+ */
292
+ expiration_date?: string;
293
+ }
294
+ /**
295
+ * Information about the passport used for identification. Required if `method` is
296
+ * equal to `passport`.
297
+ */
298
+ interface Passport {
299
+ /**
300
+ * The two-character ISO 3166-1 code representing the country that issued the
301
+ * document (e.g., `US`).
302
+ */
303
+ country: string;
304
+ /**
305
+ * The passport's expiration date in YYYY-MM-DD format.
306
+ */
307
+ expiration_date: string;
308
+ /**
309
+ * The identifier of the File containing the passport.
310
+ */
311
+ file_id: string;
312
+ }
313
+ }
191
314
  }
192
315
  export interface BeneficialOwnerListParams extends PageParams {
193
316
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"beneficial-owners.d.mts","sourceRoot":"","sources":["../src/resources/beneficial-owners.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE;OACtC,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,SAAQ,WAAW;IAC/C;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,uBAAuB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,qBAAqB,CAAC;IAItG;;;;;;;;;;OAUG;IACH,MAAM,CACJ,uBAAuB,EAAE,MAAM,EAC/B,IAAI,EAAE,2BAA2B,EACjC,OAAO,CAAC,EAAE,cAAc,GACvB,UAAU,CAAC,qBAAqB,CAAC;IAOpC;;;;;;;;;;;;OAYG;IACH,IAAI,CACF,KAAK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;;;;;eASG;YACH,MAAM,EACF,wBAAwB,GACxB,2CAA2C,GAC3C,UAAU,GACV,iBAAiB,GACjB,OAAO,CAAC;YAEZ;;;eAGG;YACH,YAAY,EAAE,MAAM,CAAC;YAErB,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;SACtB;KACF;CACF;AAED,MAAM,WAAW,2BAA2B;IAC1C;;;OAGG;IACH,OAAO,CAAC,EAAE,2BAA2B,CAAC,OAAO,CAAC;CAC/C;AAED,yBAAiB,2BAA2B,CAAC;IAC3C;;;OAGG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,OAAO,EAAE,MAAM,CAAC;QAEhB;;WAEG;QACH,KAAK,EAAE,MAAM,CAAC;QAEd;;WAEG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;WAEG;QACH,GAAG,CAAC,EAAE,MAAM,CAAC;KACd;CACF;AAED,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
1
+ {"version":3,"file":"beneficial-owners.d.mts","sourceRoot":"","sources":["../src/resources/beneficial-owners.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EAAE;OACd,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,WAAW,EAAE;OACtC,EAAE,cAAc,EAAE;AAGzB,qBAAa,gBAAiB,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B,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -155,6 +155,21 @@ export interface BeneficialOwnerUpdateParams {
155
155
  * PMB's are disallowed.
156
156
  */
157
157
  address?: BeneficialOwnerUpdateParams.Address;
158
+ /**
159
+ * The identification method for an individual can only be a passport, driver's
160
+ * license, or other document if you've confirmed the individual does not have a US
161
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
162
+ * Number).
163
+ */
164
+ confirmed_no_us_tax_id?: boolean;
165
+ /**
166
+ * A means of verifying the person's identity.
167
+ */
168
+ identification?: BeneficialOwnerUpdateParams.Identification;
169
+ /**
170
+ * The individual's legal name.
171
+ */
172
+ name?: string;
158
173
  }
159
174
  export declare namespace BeneficialOwnerUpdateParams {
160
175
  /**
@@ -188,6 +203,114 @@ export declare namespace BeneficialOwnerUpdateParams {
188
203
  */
189
204
  zip?: string;
190
205
  }
206
+ /**
207
+ * A means of verifying the person's identity.
208
+ */
209
+ interface Identification {
210
+ /**
211
+ * A method that can be used to verify the individual's identity.
212
+ *
213
+ * - `social_security_number` - A social security number.
214
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
215
+ * identification number (ITIN).
216
+ * - `passport` - A passport number.
217
+ * - `drivers_license` - A driver's license number.
218
+ * - `other` - Another identifying document.
219
+ */
220
+ method: 'social_security_number' | 'individual_taxpayer_identification_number' | 'passport' | 'drivers_license' | 'other';
221
+ /**
222
+ * An identification number that can be used to verify the individual's identity,
223
+ * such as a social security number.
224
+ */
225
+ number: string;
226
+ /**
227
+ * Information about the United States driver's license used for identification.
228
+ * Required if `method` is equal to `drivers_license`.
229
+ */
230
+ drivers_license?: Identification.DriversLicense;
231
+ /**
232
+ * Information about the identification document provided. Required if `method` is
233
+ * equal to `other`.
234
+ */
235
+ other?: Identification.Other;
236
+ /**
237
+ * Information about the passport used for identification. Required if `method` is
238
+ * equal to `passport`.
239
+ */
240
+ passport?: Identification.Passport;
241
+ [k: string]: unknown;
242
+ }
243
+ namespace Identification {
244
+ /**
245
+ * Information about the United States driver's license used for identification.
246
+ * Required if `method` is equal to `drivers_license`.
247
+ */
248
+ interface DriversLicense {
249
+ /**
250
+ * The driver's license's expiration date in YYYY-MM-DD format.
251
+ */
252
+ expiration_date: string;
253
+ /**
254
+ * The identifier of the File containing the front of the driver's license.
255
+ */
256
+ file_id: string;
257
+ /**
258
+ * The state that issued the provided driver's license.
259
+ */
260
+ state: string;
261
+ /**
262
+ * The identifier of the File containing the back of the driver's license.
263
+ */
264
+ back_file_id?: string;
265
+ }
266
+ /**
267
+ * Information about the identification document provided. Required if `method` is
268
+ * equal to `other`.
269
+ */
270
+ interface Other {
271
+ /**
272
+ * The two-character ISO 3166-1 code representing the country that issued the
273
+ * document (e.g., `US`).
274
+ */
275
+ country: string;
276
+ /**
277
+ * A description of the document submitted.
278
+ */
279
+ description: string;
280
+ /**
281
+ * The identifier of the File containing the front of the document.
282
+ */
283
+ file_id: string;
284
+ /**
285
+ * The identifier of the File containing the back of the document. Not every
286
+ * document has a reverse side.
287
+ */
288
+ back_file_id?: string;
289
+ /**
290
+ * The document's expiration date in YYYY-MM-DD format.
291
+ */
292
+ expiration_date?: string;
293
+ }
294
+ /**
295
+ * Information about the passport used for identification. Required if `method` is
296
+ * equal to `passport`.
297
+ */
298
+ interface Passport {
299
+ /**
300
+ * The two-character ISO 3166-1 code representing the country that issued the
301
+ * document (e.g., `US`).
302
+ */
303
+ country: string;
304
+ /**
305
+ * The passport's expiration date in YYYY-MM-DD format.
306
+ */
307
+ expiration_date: string;
308
+ /**
309
+ * The identifier of the File containing the passport.
310
+ */
311
+ file_id: string;
312
+ }
313
+ }
191
314
  }
192
315
  export interface BeneficialOwnerListParams extends PageParams {
193
316
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"beneficial-owners.d.ts","sourceRoot":"","sources":["../src/resources/beneficial-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CAAC;YAEhB;;;eAGG;YACH,YAAY,CAAC,EAAE,MAAM,CAAC;YAEtB;;eAEG;YACH,eAAe,CAAC,EAAE,MAAM,CAAC;SAC1B;QAED;;;WAGG;QACH,UAAiB,QAAQ;YACvB;;;eAGG;YACH,OAAO,EAAE,MAAM,CAAC;YAEhB;;eAEG;YACH,eAAe,EAAE,MAAM,CAAC;YAExB;;eAEG;YACH,OAAO,EAAE,MAAM,CAAC;SACjB;KACF;CACF;AAED,MAAM,WAAW,yBAA0B,SAAQ,UAAU;IAC3D;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,gBAAgB,CAAC;IACxC,OAAO,EACL,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;CACH"}
@@ -207,6 +207,24 @@ export interface BeneficialOwnerUpdateParams {
207
207
  * PMB's are disallowed.
208
208
  */
209
209
  address?: BeneficialOwnerUpdateParams.Address;
210
+
211
+ /**
212
+ * The identification method for an individual can only be a passport, driver's
213
+ * license, or other document if you've confirmed the individual does not have a US
214
+ * tax id (either a Social Security Number or Individual Taxpayer Identification
215
+ * Number).
216
+ */
217
+ confirmed_no_us_tax_id?: boolean;
218
+
219
+ /**
220
+ * A means of verifying the person's identity.
221
+ */
222
+ identification?: BeneficialOwnerUpdateParams.Identification;
223
+
224
+ /**
225
+ * The individual's legal name.
226
+ */
227
+ name?: string;
210
228
  }
211
229
 
212
230
  export namespace BeneficialOwnerUpdateParams {
@@ -246,6 +264,137 @@ export namespace BeneficialOwnerUpdateParams {
246
264
  */
247
265
  zip?: string;
248
266
  }
267
+
268
+ /**
269
+ * A means of verifying the person's identity.
270
+ */
271
+ export interface Identification {
272
+ /**
273
+ * A method that can be used to verify the individual's identity.
274
+ *
275
+ * - `social_security_number` - A social security number.
276
+ * - `individual_taxpayer_identification_number` - An individual taxpayer
277
+ * identification number (ITIN).
278
+ * - `passport` - A passport number.
279
+ * - `drivers_license` - A driver's license number.
280
+ * - `other` - Another identifying document.
281
+ */
282
+ method:
283
+ | 'social_security_number'
284
+ | 'individual_taxpayer_identification_number'
285
+ | 'passport'
286
+ | 'drivers_license'
287
+ | 'other';
288
+
289
+ /**
290
+ * An identification number that can be used to verify the individual's identity,
291
+ * such as a social security number.
292
+ */
293
+ number: string;
294
+
295
+ /**
296
+ * Information about the United States driver's license used for identification.
297
+ * Required if `method` is equal to `drivers_license`.
298
+ */
299
+ drivers_license?: Identification.DriversLicense;
300
+
301
+ /**
302
+ * Information about the identification document provided. Required if `method` is
303
+ * equal to `other`.
304
+ */
305
+ other?: Identification.Other;
306
+
307
+ /**
308
+ * Information about the passport used for identification. Required if `method` is
309
+ * equal to `passport`.
310
+ */
311
+ passport?: Identification.Passport;
312
+
313
+ [k: string]: unknown;
314
+ }
315
+
316
+ export namespace Identification {
317
+ /**
318
+ * Information about the United States driver's license used for identification.
319
+ * Required if `method` is equal to `drivers_license`.
320
+ */
321
+ export interface DriversLicense {
322
+ /**
323
+ * The driver's license's expiration date in YYYY-MM-DD format.
324
+ */
325
+ expiration_date: string;
326
+
327
+ /**
328
+ * The identifier of the File containing the front of the driver's license.
329
+ */
330
+ file_id: string;
331
+
332
+ /**
333
+ * The state that issued the provided driver's license.
334
+ */
335
+ state: string;
336
+
337
+ /**
338
+ * The identifier of the File containing the back of the driver's license.
339
+ */
340
+ back_file_id?: string;
341
+ }
342
+
343
+ /**
344
+ * Information about the identification document provided. Required if `method` is
345
+ * equal to `other`.
346
+ */
347
+ export interface Other {
348
+ /**
349
+ * The two-character ISO 3166-1 code representing the country that issued the
350
+ * document (e.g., `US`).
351
+ */
352
+ country: string;
353
+
354
+ /**
355
+ * A description of the document submitted.
356
+ */
357
+ description: string;
358
+
359
+ /**
360
+ * The identifier of the File containing the front of the document.
361
+ */
362
+ file_id: string;
363
+
364
+ /**
365
+ * The identifier of the File containing the back of the document. Not every
366
+ * document has a reverse side.
367
+ */
368
+ back_file_id?: string;
369
+
370
+ /**
371
+ * The document's expiration date in YYYY-MM-DD format.
372
+ */
373
+ expiration_date?: string;
374
+ }
375
+
376
+ /**
377
+ * Information about the passport used for identification. Required if `method` is
378
+ * equal to `passport`.
379
+ */
380
+ export interface Passport {
381
+ /**
382
+ * The two-character ISO 3166-1 code representing the country that issued the
383
+ * document (e.g., `US`).
384
+ */
385
+ country: string;
386
+
387
+ /**
388
+ * The passport's expiration date in YYYY-MM-DD format.
389
+ */
390
+ expiration_date: string;
391
+
392
+ /**
393
+ * The identifier of the File containing the passport.
394
+ */
395
+ file_id: string;
396
+ }
397
+ }
249
398
  }
250
399
 
251
400
  export interface BeneficialOwnerListParams extends PageParams {
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.472.0'; // x-release-please-version
1
+ export const VERSION = '0.474.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.472.0";
1
+ export declare const VERSION = "0.474.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.472.0";
1
+ export declare const VERSION = "0.474.0";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.472.0'; // x-release-please-version
4
+ exports.VERSION = '0.474.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.472.0'; // x-release-please-version
1
+ export const VERSION = '0.474.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map