increase 0.574.0 → 0.576.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.
Files changed (83) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/bin/cli +5 -12
  3. package/client.d.mts.map +1 -1
  4. package/client.d.ts.map +1 -1
  5. package/client.js +4 -4
  6. package/client.js.map +1 -1
  7. package/client.mjs +4 -4
  8. package/client.mjs.map +1 -1
  9. package/core/error.js +5 -4
  10. package/core/error.js.map +1 -1
  11. package/core/error.mjs +5 -4
  12. package/core/error.mjs.map +1 -1
  13. package/core/pagination.d.mts.map +1 -1
  14. package/core/pagination.d.ts.map +1 -1
  15. package/internal/detect-platform.js +1 -1
  16. package/internal/detect-platform.js.map +1 -1
  17. package/internal/detect-platform.mjs +1 -1
  18. package/internal/detect-platform.mjs.map +1 -1
  19. package/internal/qs/stringify.d.mts.map +1 -1
  20. package/internal/qs/stringify.d.ts.map +1 -1
  21. package/internal/qs/stringify.js +13 -12
  22. package/internal/qs/stringify.js.map +1 -1
  23. package/internal/qs/stringify.mjs +13 -12
  24. package/internal/qs/stringify.mjs.map +1 -1
  25. package/internal/shim-types.d.mts.map +1 -1
  26. package/internal/shim-types.d.ts.map +1 -1
  27. package/internal/types.d.mts +4 -4
  28. package/internal/types.d.mts.map +1 -1
  29. package/internal/types.d.ts +4 -4
  30. package/internal/types.d.ts.map +1 -1
  31. package/internal/uploads.d.mts.map +1 -1
  32. package/internal/uploads.d.ts.map +1 -1
  33. package/internal/uploads.js +3 -5
  34. package/internal/uploads.js.map +1 -1
  35. package/internal/uploads.mjs +3 -5
  36. package/internal/uploads.mjs.map +1 -1
  37. package/internal/utils/log.d.mts.map +1 -1
  38. package/internal/utils/log.d.ts.map +1 -1
  39. package/internal/utils/log.js +3 -3
  40. package/internal/utils/log.js.map +1 -1
  41. package/internal/utils/log.mjs +3 -3
  42. package/internal/utils/log.mjs.map +1 -1
  43. package/package.json +21 -21
  44. package/resources/accounts.d.mts +1 -0
  45. package/resources/accounts.d.mts.map +1 -1
  46. package/resources/accounts.d.ts +1 -0
  47. package/resources/accounts.d.ts.map +1 -1
  48. package/resources/beneficial-owners.d.mts +2 -1
  49. package/resources/beneficial-owners.d.mts.map +1 -1
  50. package/resources/beneficial-owners.d.ts +2 -1
  51. package/resources/beneficial-owners.d.ts.map +1 -1
  52. package/resources/check-transfers.d.mts +18 -8
  53. package/resources/check-transfers.d.mts.map +1 -1
  54. package/resources/check-transfers.d.ts +18 -8
  55. package/resources/check-transfers.d.ts.map +1 -1
  56. package/resources/entities.d.mts +20 -8
  57. package/resources/entities.d.mts.map +1 -1
  58. package/resources/entities.d.ts +20 -8
  59. package/resources/entities.d.ts.map +1 -1
  60. package/resources/pending-transactions.d.mts +2 -2
  61. package/resources/pending-transactions.d.ts +2 -2
  62. package/resources/supplemental-documents.d.mts +1 -1
  63. package/resources/supplemental-documents.d.ts +1 -1
  64. package/src/client.ts +7 -10
  65. package/src/core/error.ts +6 -6
  66. package/src/core/pagination.ts +3 -3
  67. package/src/internal/detect-platform.ts +1 -1
  68. package/src/internal/qs/stringify.ts +14 -15
  69. package/src/internal/shim-types.ts +3 -2
  70. package/src/internal/types.ts +29 -33
  71. package/src/internal/uploads.ts +5 -6
  72. package/src/internal/utils/log.ts +8 -12
  73. package/src/resources/accounts.ts +2 -0
  74. package/src/resources/beneficial-owners.ts +2 -1
  75. package/src/resources/check-transfers.ts +21 -7
  76. package/src/resources/entities.ts +22 -8
  77. package/src/resources/pending-transactions.ts +2 -2
  78. package/src/resources/supplemental-documents.ts +1 -1
  79. package/src/version.ts +1 -1
  80. package/version.d.mts +1 -1
  81. package/version.d.ts +1 -1
  82. package/version.js +1 -1
  83. package/version.mjs +1 -1
@@ -113,8 +113,8 @@ function inner_stringify(
113
113
 
114
114
  if (obj === null) {
115
115
  if (strictNullHandling) {
116
- return encoder && !encodeValuesOnly ?
117
- // @ts-expect-error
116
+ return encoder && !encodeValuesOnly
117
+ ? // @ts-expect-error
118
118
  encoder(prefix, defaults.encoder, charset, 'key', format)
119
119
  : prefix;
120
120
  }
@@ -124,10 +124,10 @@ function inner_stringify(
124
124
 
125
125
  if (is_non_nullish_primitive(obj) || is_buffer(obj)) {
126
126
  if (encoder) {
127
- const key_value =
128
- encodeValuesOnly ? prefix
129
- // @ts-expect-error
130
- : encoder(prefix, defaults.encoder, charset, 'key', format);
127
+ const key_value = encodeValuesOnly
128
+ ? prefix
129
+ : // @ts-expect-error
130
+ encoder(prefix, defaults.encoder, charset, 'key', format);
131
131
  return [
132
132
  formatter?.(key_value) +
133
133
  '=' +
@@ -180,10 +180,9 @@ function inner_stringify(
180
180
 
181
181
  // @ts-ignore
182
182
  const encoded_key = allowDots && encodeDotInKeys ? (key as any).replace(/\./g, '%2E') : key;
183
- const key_prefix =
184
- isArray(obj) ?
185
- typeof generateArrayPrefix === 'function' ?
186
- generateArrayPrefix(adjusted_prefix, encoded_key)
183
+ const key_prefix = isArray(obj)
184
+ ? typeof generateArrayPrefix === 'function'
185
+ ? generateArrayPrefix(adjusted_prefix, encoded_key)
187
186
  : adjusted_prefix
188
187
  : adjusted_prefix + (allowDots ? '.' + encoded_key : '[' + encoded_key + ']');
189
188
 
@@ -267,11 +266,11 @@ function normalize_stringify_options(
267
266
  }
268
267
 
269
268
  const allowDots =
270
- typeof opts.allowDots === 'undefined' ?
271
- !!opts.encodeDotInKeys === true ?
272
- true
273
- : defaults.allowDots
274
- : !!opts.allowDots;
269
+ typeof opts.allowDots === 'undefined'
270
+ ? !!opts.encodeDotInKeys === true
271
+ ? true
272
+ : defaults.allowDots
273
+ : !!opts.allowDots;
275
274
 
276
275
  return {
277
276
  addQueryPrefix: typeof opts.addQueryPrefix === 'boolean' ? opts.addQueryPrefix : defaults.addQueryPrefix,
@@ -15,8 +15,9 @@ type _DOMReadableStream<R = any> = globalThis.ReadableStream<R>;
15
15
  /** @ts-ignore */
16
16
  type _NodeReadableStream<R = any> = import('stream/web').ReadableStream<R>;
17
17
 
18
- type _ConditionalNodeReadableStream<R = any> =
19
- typeof globalThis extends { ReadableStream: any } ? never : _NodeReadableStream<R>;
18
+ type _ConditionalNodeReadableStream<R = any> = typeof globalThis extends { ReadableStream: any }
19
+ ? never
20
+ : _NodeReadableStream<R>;
20
21
 
21
22
  type _ReadableStream<R = any> = NeverToAny<
22
23
  | ([0] extends [1 & _DOMReadableStream<R>] ? never : _DOMReadableStream<R>)
@@ -12,34 +12,29 @@ type NotAny<T> = [0] extends [1 & T] ? never : T;
12
12
  /**
13
13
  * Some environments overload the global fetch function, and Parameters<T> only gets the last signature.
14
14
  */
15
- type OverloadedParameters<T> =
16
- T extends (
17
- {
18
- (...args: infer A): unknown;
19
- (...args: infer B): unknown;
20
- (...args: infer C): unknown;
21
- (...args: infer D): unknown;
22
- }
23
- ) ?
24
- A | B | C | D
25
- : T extends (
26
- {
27
- (...args: infer A): unknown;
28
- (...args: infer B): unknown;
29
- (...args: infer C): unknown;
30
- }
31
- ) ?
32
- A | B | C
33
- : T extends (
34
- {
35
- (...args: infer A): unknown;
36
- (...args: infer B): unknown;
37
- }
38
- ) ?
39
- A | B
40
- : T extends (...args: infer A) => unknown ? A
41
- : never;
15
+ type OverloadedParameters<T> = T extends {
16
+ (...args: infer A): unknown;
17
+ (...args: infer B): unknown;
18
+ (...args: infer C): unknown;
19
+ (...args: infer D): unknown;
20
+ }
21
+ ? A | B | C | D
22
+ : T extends {
23
+ (...args: infer A): unknown;
24
+ (...args: infer B): unknown;
25
+ (...args: infer C): unknown;
26
+ }
27
+ ? A | B | C
28
+ : T extends {
29
+ (...args: infer A): unknown;
30
+ (...args: infer B): unknown;
31
+ }
32
+ ? A | B
33
+ : T extends (...args: infer A) => unknown
34
+ ? A
35
+ : never;
42
36
 
37
+ /* eslint-disable */
43
38
  /**
44
39
  * These imports attempt to get types from a parent package's dependencies.
45
40
  * Unresolved bare specifiers can trigger [automatic type acquisition][1] in some projects, which
@@ -62,18 +57,19 @@ type OverloadedParameters<T> =
62
57
  *
63
58
  * [1]: https://www.typescriptlang.org/tsconfig/#typeAcquisition
64
59
  */
65
- /** @ts-ignore For users with \@types/node */ /* prettier-ignore */
60
+ /** @ts-ignore For users with \@types/node */ /* oxfmt-ignore */
66
61
  type UndiciTypesRequestInit = NotAny<import('../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../node_modules/undici-types/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../../node_modules/undici-types/index.d.ts').RequestInit>;
67
- /** @ts-ignore For users with undici */ /* prettier-ignore */
62
+ /** @ts-ignore For users with undici */ /* oxfmt-ignore */
68
63
  type UndiciRequestInit = NotAny<import('../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../node_modules/undici/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../../node_modules/undici/index.d.ts').RequestInit>;
69
- /** @ts-ignore For users with \@types/bun */ /* prettier-ignore */
64
+ /** @ts-ignore For users with \@types/bun */ /* oxfmt-ignore */
70
65
  type BunRequestInit = globalThis.FetchRequestInit;
71
- /** @ts-ignore For users with node-fetch@2 */ /* prettier-ignore */
66
+ /** @ts-ignore For users with node-fetch@2 */ /* oxfmt-ignore */
72
67
  type NodeFetch2RequestInit = NotAny<import('../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit> | NotAny<import('../../../../../../../../../../node_modules/@types/node-fetch/index.d.ts').RequestInit>;
73
- /** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ /* prettier-ignore */
68
+ /** @ts-ignore For users with node-fetch@3, doesn't need file extension because types are at ./@types/index.d.ts */ /* oxfmt-ignore */
74
69
  type NodeFetch3RequestInit = NotAny<import('../node_modules/node-fetch').RequestInit> | NotAny<import('../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../../../../node_modules/node-fetch').RequestInit> | NotAny<import('../../../../../../../../../../node_modules/node-fetch').RequestInit>;
75
- /** @ts-ignore For users who use Deno */ /* prettier-ignore */
70
+ /** @ts-ignore For users who use Deno */ /* oxfmt-ignore */
76
71
  type FetchRequestInit = NonNullable<OverloadedParameters<typeof fetch>[1]>;
72
+ /* eslint-enable */
77
73
 
78
74
  type RequestInits =
79
75
  | NotAny<UndiciTypesRequestInit>
@@ -18,9 +18,9 @@ export const checkFileSupport = () => {
18
18
  typeof process?.versions?.node === 'string' && parseInt(process.versions.node.split('.')) < 20;
19
19
  throw new Error(
20
20
  '`File` is not defined as a global, which is required for file uploads.' +
21
- (isOldNode ?
22
- " Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`."
23
- : ''),
21
+ (isOldNode
22
+ ? " Update to Node 20 LTS or newer, or set `globalThis.File` to `import('node:buffer').File`."
23
+ : ''),
24
24
  );
25
25
  }
26
26
  };
@@ -105,9 +105,8 @@ function supportsFormData(fetchObject: Increase | Fetch): Promise<boolean> {
105
105
  const promise = (async () => {
106
106
  try {
107
107
  const FetchResponse = (
108
- 'Response' in fetch ?
109
- fetch.Response
110
- : (await fetch('data:,')).constructor) as typeof Response;
108
+ 'Response' in fetch ? fetch.Response : (await fetch('data:,')).constructor
109
+ ) as typeof Response;
111
110
  const data = new FormData();
112
111
  if (data.toString() === (await new FetchResponse(data).text())) {
113
112
  return false;
@@ -33,9 +33,7 @@ export const parseLogLevel = (
33
33
  return maybeLevel;
34
34
  }
35
35
  loggerFor(client).warn(
36
- `${sourceName} was set to ${JSON.stringify(maybeLevel)}, expected one of ${JSON.stringify(
37
- Object.keys(levelNumbers),
38
- )}`,
36
+ `${sourceName} was set to ${JSON.stringify(maybeLevel)}, expected one of ${JSON.stringify(Object.keys(levelNumbers))}`,
39
37
  );
40
38
  return undefined;
41
39
  };
@@ -105,15 +103,13 @@ export const formatRequestDetails = (details: {
105
103
  (details.headers instanceof Headers ? [...details.headers] : Object.entries(details.headers)).map(
106
104
  ([name, value]) => [
107
105
  name,
108
- (
109
- name.toLowerCase() === 'authorization' ||
110
- name.toLowerCase() === 'api-key' ||
111
- name.toLowerCase() === 'x-api-key' ||
112
- name.toLowerCase() === 'cookie' ||
113
- name.toLowerCase() === 'set-cookie'
114
- ) ?
115
- '***'
116
- : value,
106
+ name.toLowerCase() === 'authorization' ||
107
+ name.toLowerCase() === 'api-key' ||
108
+ name.toLowerCase() === 'x-api-key' ||
109
+ name.toLowerCase() === 'cookie' ||
110
+ name.toLowerCase() === 'set-cookie'
111
+ ? '***'
112
+ : value,
117
113
  ],
118
114
  ),
119
115
  );
@@ -410,6 +410,8 @@ export namespace AccountCreateParams {
410
410
  * The date on which the loan matures.
411
411
  */
412
412
  maturity_date?: string;
413
+
414
+ [k: string]: unknown;
413
415
  }
414
416
  }
415
417
 
@@ -264,7 +264,8 @@ export namespace EntityBeneficialOwner {
264
264
 
265
265
  export interface BeneficialOwnerCreateParams {
266
266
  /**
267
- * The identifier of the Entity to associate with the new Beneficial Owner.
267
+ * The identifier of the Entity to associate with the new Beneficial Owner. Only
268
+ * `corporation` entities have beneficial owners.
268
269
  */
269
270
  entity_id: string;
270
271
 
@@ -243,6 +243,7 @@ export interface CheckTransfer {
243
243
  * - `pending_approval` - The transfer is awaiting approval.
244
244
  * - `canceled` - The transfer has been canceled.
245
245
  * - `pending_submission` - The transfer is pending submission.
246
+ * - `pending_reviewing` - The transfer is pending review by Increase.
246
247
  * - `requires_attention` - The transfer requires attention from an Increase
247
248
  * operator.
248
249
  * - `rejected` - The transfer has been rejected.
@@ -256,6 +257,7 @@ export interface CheckTransfer {
256
257
  | 'pending_approval'
257
258
  | 'canceled'
258
259
  | 'pending_submission'
260
+ | 'pending_reviewing'
259
261
  | 'requires_attention'
260
262
  | 'rejected'
261
263
  | 'pending_mailing'
@@ -458,6 +460,11 @@ export namespace CheckTransfer {
458
460
  */
459
461
  return_address: PhysicalCheck.ReturnAddress | null;
460
462
 
463
+ /**
464
+ * A custom name printed above the Increase-managed return address.
465
+ */
466
+ return_address_name: string | null;
467
+
461
468
  /**
462
469
  * The shipping method for the check.
463
470
  *
@@ -842,6 +849,13 @@ export namespace CheckTransferCreateParams {
842
849
  */
843
850
  memo: string;
844
851
 
852
+ /**
853
+ * The payer of the check. This will be printed on the top-left portion of the
854
+ * check. This should be an array of up to 4 elements, each of which represents a
855
+ * line of the payer.
856
+ */
857
+ payer: Array<PhysicalCheck.Payer>;
858
+
845
859
  /**
846
860
  * The name that will be printed on the check in the 'To:' field.
847
861
  */
@@ -866,13 +880,6 @@ export namespace CheckTransferCreateParams {
866
880
  */
867
881
  note?: string;
868
882
 
869
- /**
870
- * The payer of the check. This will be printed on the top-left portion of the
871
- * check and defaults to the return address if unspecified. This should be an array
872
- * of up to 4 elements, each of which represents a line of the payer.
873
- */
874
- payer?: Array<PhysicalCheck.Payer>;
875
-
876
883
  /**
877
884
  * The return address to be printed on the check. If omitted this will default to
878
885
  * an Increase-owned address that will mark checks as delivery failed and shred
@@ -880,6 +887,12 @@ export namespace CheckTransferCreateParams {
880
887
  */
881
888
  return_address?: PhysicalCheck.ReturnAddress;
882
889
 
890
+ /**
891
+ * A custom name to print above the default return address. Cannot be provided
892
+ * together with `return_address`.
893
+ */
894
+ return_address_name?: string;
895
+
883
896
  /**
884
897
  * How to ship the check. For details on pricing, timing, and restrictions, see
885
898
  * https://increase.com/documentation/originating-checks#printing-checks .
@@ -1086,6 +1099,7 @@ export namespace CheckTransferListParams {
1086
1099
  | 'pending_approval'
1087
1100
  | 'canceled'
1088
1101
  | 'pending_submission'
1102
+ | 'pending_reviewing'
1089
1103
  | 'requires_attention'
1090
1104
  | 'rejected'
1091
1105
  | 'pending_mailing'
@@ -87,7 +87,7 @@ export type EntitiesPage = Page<Entity>;
87
87
 
88
88
  /**
89
89
  * Entities are the legal entities that own accounts. They can be people,
90
- * corporations, partnerships, government authorities, or trusts. To learn more,
90
+ * corporations, joint accounts, trusts, or government authorities. To learn more,
91
91
  * see [Entities](/documentation/entities).
92
92
  */
93
93
  export interface Entity {
@@ -271,7 +271,8 @@ export namespace Entity {
271
271
  industry_code: string | null;
272
272
 
273
273
  /**
274
- * The legal identifier of the corporation.
274
+ * The legal identifier of the corporation, like an Employer Identification Number
275
+ * (EIN).
275
276
  */
276
277
  legal_identifier: Corporation.LegalIdentifier | null;
277
278
 
@@ -445,7 +446,8 @@ export namespace Entity {
445
446
  }
446
447
 
447
448
  /**
448
- * The legal identifier of the corporation.
449
+ * The legal identifier of the corporation, like an Employer Identification Number
450
+ * (EIN).
449
451
  */
450
452
  export interface LegalIdentifier {
451
453
  /**
@@ -460,7 +462,7 @@ export namespace Entity {
460
462
  category: 'us_employer_identification_number' | 'other';
461
463
 
462
464
  /**
463
- * The identifier of the legal identifier.
465
+ * The legal identifier itself.
464
466
  */
465
467
  value: string;
466
468
  }
@@ -1658,8 +1660,9 @@ export namespace EntityCreateParams {
1658
1660
  */
1659
1661
  export interface LegalIdentifier {
1660
1662
  /**
1661
- * The legal identifier. For US Employer Identification Numbers, submit nine digits
1662
- * with no dashes or other separators. When testing in sandbox, use one of our
1663
+ * The legal identifier itself. For US Employer Identification Numbers, submit nine
1664
+ * digits with no dashes or other separators. When testing in sandbox, use one of
1665
+ * our
1663
1666
  * [sandbox test values](https://increase.com/documentation/sandbox-test-values).
1664
1667
  */
1665
1668
  value: string;
@@ -2927,8 +2930,8 @@ export namespace EntityUpdateParams {
2927
2930
  */
2928
2931
  export interface LegalIdentifier {
2929
2932
  /**
2930
- * The identifier of the legal identifier. For US Employer Identification Numbers,
2931
- * submit nine digits with no dashes or other separators.
2933
+ * The legal identifier itself. For US Employer Identification Numbers, submit nine
2934
+ * digits with no dashes or other separators.
2932
2935
  */
2933
2936
  value: string;
2934
2937
 
@@ -3324,6 +3327,8 @@ export interface EntityListParams extends PageParams {
3324
3327
  idempotency_key?: string;
3325
3328
 
3326
3329
  status?: EntityListParams.Status;
3330
+
3331
+ validation_status?: EntityListParams.ValidationStatus;
3327
3332
  }
3328
3333
 
3329
3334
  export namespace EntityListParams {
@@ -3361,6 +3366,15 @@ export namespace EntityListParams {
3361
3366
  */
3362
3367
  in?: Array<'active' | 'archived' | 'disabled'>;
3363
3368
  }
3369
+
3370
+ export interface ValidationStatus {
3371
+ /**
3372
+ * Filter Entities for those with the specified validation status. For GET
3373
+ * requests, this should be encoded as a comma-delimited string, such as
3374
+ * `?in=one,two,three`.
3375
+ */
3376
+ in?: Array<'pending' | 'valid' | 'invalid'>;
3377
+ }
3364
3378
  }
3365
3379
 
3366
3380
  export declare namespace Entities {
@@ -1705,8 +1705,8 @@ export interface PendingTransactionCreateParams {
1705
1705
 
1706
1706
  /**
1707
1707
  * The amount to hold in the minor unit of the account's currency. For dollars, for
1708
- * example, this is cents. This should be a negative amount - to hold $1.00 from
1709
- * the account, you would pass -100.
1708
+ * example, this is cents. This should be a negative amount: To hold $1.00 from the
1709
+ * account, pass -100 as `amount`.
1710
1710
  */
1711
1711
  amount: number;
1712
1712
 
@@ -53,7 +53,7 @@ export type EntitySupplementalDocumentsPage = Page<EntitySupplementalDocument>;
53
53
 
54
54
  /**
55
55
  * Supplemental Documents are uploaded files connected to an Entity during
56
- * onboarding.
56
+ * onboarding. Not all programs require supplemental documents.
57
57
  */
58
58
  export interface EntitySupplementalDocument {
59
59
  /**
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.574.0'; // x-release-please-version
1
+ export const VERSION = '0.576.0'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.574.0";
1
+ export declare const VERSION = "0.576.0";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.574.0";
1
+ export declare const VERSION = "0.576.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.574.0'; // x-release-please-version
4
+ exports.VERSION = '0.576.0'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.574.0'; // x-release-please-version
1
+ export const VERSION = '0.576.0'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map