increase 0.410.0 → 0.412.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 +16 -0
- package/package.json +1 -1
- package/resources/account-statements.d.mts +24 -1
- package/resources/account-statements.d.mts.map +1 -1
- package/resources/account-statements.d.ts +24 -1
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/accounts.d.mts +129 -2
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +129 -2
- package/resources/accounts.d.ts.map +1 -1
- package/resources/intrafi-exclusions.d.mts +9 -6
- package/resources/intrafi-exclusions.d.mts.map +1 -1
- package/resources/intrafi-exclusions.d.ts +9 -6
- package/resources/intrafi-exclusions.d.ts.map +1 -1
- package/resources/intrafi-exclusions.js +1 -1
- package/resources/intrafi-exclusions.mjs +1 -1
- package/resources/programs.d.mts +15 -1
- package/resources/programs.d.mts.map +1 -1
- package/resources/programs.d.ts +15 -1
- package/resources/programs.d.ts.map +1 -1
- package/resources/simulations/programs.d.mts +4 -1
- package/resources/simulations/programs.d.mts.map +1 -1
- package/resources/simulations/programs.d.ts +4 -1
- package/resources/simulations/programs.d.ts.map +1 -1
- package/src/resources/account-statements.ts +27 -1
- package/src/resources/accounts.ts +147 -2
- package/src/resources/intrafi-exclusions.ts +9 -6
- package/src/resources/programs.ts +16 -1
- package/src/resources/simulations/programs.ts +5 -2
- 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
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,21 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.412.0 (2026-01-30)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.411.0...v0.412.0](https://github.com/Increase/increase-typescript/compare/v0.411.0...v0.412.0)
|
|
6
|
+
|
|
7
|
+
### Features
|
|
8
|
+
|
|
9
|
+
* **api:** api update ([b58fb5e](https://github.com/Increase/increase-typescript/commit/b58fb5efe686c54de155eb6e085b50b297add4d3))
|
|
10
|
+
|
|
11
|
+
## 0.411.0 (2026-01-30)
|
|
12
|
+
|
|
13
|
+
Full Changelog: [v0.410.0...v0.411.0](https://github.com/Increase/increase-typescript/compare/v0.410.0...v0.411.0)
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* **api:** api update ([f97ff22](https://github.com/Increase/increase-typescript/commit/f97ff22b97da37c739ce3bcb50daccd2eeb44ca3))
|
|
18
|
+
|
|
3
19
|
## 0.410.0 (2026-01-30)
|
|
4
20
|
|
|
5
21
|
Full Changelog: [v0.409.0...v0.410.0](https://github.com/Increase/increase-typescript/compare/v0.409.0...v0.410.0)
|
package/package.json
CHANGED
|
@@ -56,6 +56,10 @@ export interface AccountStatement {
|
|
|
56
56
|
* The identifier of the File containing a PDF of the statement.
|
|
57
57
|
*/
|
|
58
58
|
file_id: string;
|
|
59
|
+
/**
|
|
60
|
+
* The loan balances.
|
|
61
|
+
*/
|
|
62
|
+
loan: AccountStatement.Loan | null;
|
|
59
63
|
/**
|
|
60
64
|
* The Account's balance at the start of its statement period.
|
|
61
65
|
*/
|
|
@@ -75,7 +79,26 @@ export interface AccountStatement {
|
|
|
75
79
|
* `account_statement`.
|
|
76
80
|
*/
|
|
77
81
|
type: 'account_statement';
|
|
78
|
-
|
|
82
|
+
}
|
|
83
|
+
export declare namespace AccountStatement {
|
|
84
|
+
/**
|
|
85
|
+
* The loan balances.
|
|
86
|
+
*/
|
|
87
|
+
interface Loan {
|
|
88
|
+
/**
|
|
89
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the loan
|
|
90
|
+
* payment is due.
|
|
91
|
+
*/
|
|
92
|
+
due_at: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* The total amount due on the loan.
|
|
95
|
+
*/
|
|
96
|
+
due_balance: number;
|
|
97
|
+
/**
|
|
98
|
+
* The amount past due on the loan.
|
|
99
|
+
*/
|
|
100
|
+
past_due_balance: number;
|
|
101
|
+
}
|
|
79
102
|
}
|
|
80
103
|
export interface AccountStatementListParams extends PageParams {
|
|
81
104
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-statements.d.mts","sourceRoot":"","sources":["../src/resources/account-statements.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,iBAAkB,SAAQ,WAAW;IAChD;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI5F;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qBAAqB,EAAE,gBAAgB,CAAC;CAGxD;AAED,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,oBAAoB,EAAE,MAAM,CAAC;IAE7B;;;OAGG;IACH,sBAAsB,EAAE,MAAM,CAAC;IAE/B;;;OAGG;IACH,IAAI,EAAE,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"account-statements.d.mts","sourceRoot":"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;QAEpB;;WAEG;QACH,gBAAgB,EAAE,MAAM,CAAC;KAC1B;CACF;AAED,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,sBAAsB,CAAC,EAAE,0BAA0B,CAAC,oBAAoB,CAAC;CAC1E;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,oBAAoB;QACnC;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -56,6 +56,10 @@ export interface AccountStatement {
|
|
|
56
56
|
* The identifier of the File containing a PDF of the statement.
|
|
57
57
|
*/
|
|
58
58
|
file_id: string;
|
|
59
|
+
/**
|
|
60
|
+
* The loan balances.
|
|
61
|
+
*/
|
|
62
|
+
loan: AccountStatement.Loan | null;
|
|
59
63
|
/**
|
|
60
64
|
* The Account's balance at the start of its statement period.
|
|
61
65
|
*/
|
|
@@ -75,7 +79,26 @@ export interface AccountStatement {
|
|
|
75
79
|
* `account_statement`.
|
|
76
80
|
*/
|
|
77
81
|
type: 'account_statement';
|
|
78
|
-
|
|
82
|
+
}
|
|
83
|
+
export declare namespace AccountStatement {
|
|
84
|
+
/**
|
|
85
|
+
* The loan balances.
|
|
86
|
+
*/
|
|
87
|
+
interface Loan {
|
|
88
|
+
/**
|
|
89
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the loan
|
|
90
|
+
* payment is due.
|
|
91
|
+
*/
|
|
92
|
+
due_at: string | null;
|
|
93
|
+
/**
|
|
94
|
+
* The total amount due on the loan.
|
|
95
|
+
*/
|
|
96
|
+
due_balance: number;
|
|
97
|
+
/**
|
|
98
|
+
* The amount past due on the loan.
|
|
99
|
+
*/
|
|
100
|
+
past_due_balance: number;
|
|
101
|
+
}
|
|
79
102
|
}
|
|
80
103
|
export interface AccountStatementListParams extends PageParams {
|
|
81
104
|
/**
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"account-statements.d.ts","sourceRoot":"","sources":["../src/resources/account-statements.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,iBAAkB,SAAQ,WAAW;IAChD;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI5F;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qBAAqB,EAAE,gBAAgB,CAAC;CAGxD;AAED,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC;AAE3D;;;;GAIG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,cAAc,EAAE,MAAM,CAAC;IAEvB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,gBAAgB,EAAE,MAAM,CAAC;IAEzB;;;OAGG;IACH,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AC;CAC3B;AAED,yBAAiB,gBAAgB,CAAC;IAChC;;OAEG;IACH,UAAiB,IAAI;QACnB;;;WAGG;QACH,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;QAEtB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QAEpB;;WAEG;QACH,gBAAgB,EAAE,MAAM,CAAC;KAC1B;CACF;AAED,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,sBAAsB,CAAC,EAAE,0BAA0B,CAAC,oBAAoB,CAAC;CAC1E;AAED,yBAAiB,0BAA0B,CAAC;IAC1C,UAAiB,oBAAoB;QACnC;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAED,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
package/resources/accounts.d.mts
CHANGED
|
@@ -118,6 +118,14 @@ export interface Account {
|
|
|
118
118
|
* The identifier for the Entity the Account belongs to.
|
|
119
119
|
*/
|
|
120
120
|
entity_id: string;
|
|
121
|
+
/**
|
|
122
|
+
* Whether the Account is funded by a loan or by deposits.
|
|
123
|
+
*
|
|
124
|
+
* - `loan` - An account funded by a loan. Before opening a loan account, contact
|
|
125
|
+
* support@increase.com to set up a loan program.
|
|
126
|
+
* - `deposits` - An account funded by deposits.
|
|
127
|
+
*/
|
|
128
|
+
funding: 'loan' | 'deposits' | null;
|
|
121
129
|
/**
|
|
122
130
|
* The idempotency key you chose for this object. This value is unique across
|
|
123
131
|
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
@@ -145,6 +153,10 @@ export interface Account {
|
|
|
145
153
|
* "0.01".
|
|
146
154
|
*/
|
|
147
155
|
interest_rate: string;
|
|
156
|
+
/**
|
|
157
|
+
* The Account's loan-related information, if the Account is a loan account.
|
|
158
|
+
*/
|
|
159
|
+
loan: Account.Loan | null;
|
|
148
160
|
/**
|
|
149
161
|
* The name you choose for the Account.
|
|
150
162
|
*/
|
|
@@ -168,6 +180,39 @@ export interface Account {
|
|
|
168
180
|
type: 'account';
|
|
169
181
|
[k: string]: unknown;
|
|
170
182
|
}
|
|
183
|
+
export declare namespace Account {
|
|
184
|
+
/**
|
|
185
|
+
* The Account's loan-related information, if the Account is a loan account.
|
|
186
|
+
*/
|
|
187
|
+
interface Loan {
|
|
188
|
+
/**
|
|
189
|
+
* The maximum amount of money that can be borrowed on the Account.
|
|
190
|
+
*/
|
|
191
|
+
credit_limit: number;
|
|
192
|
+
/**
|
|
193
|
+
* The number of days after the statement date that the Account can be past due
|
|
194
|
+
* before being considered delinquent.
|
|
195
|
+
*/
|
|
196
|
+
grace_period_days: number;
|
|
197
|
+
/**
|
|
198
|
+
* The date on which the loan matures.
|
|
199
|
+
*/
|
|
200
|
+
maturity_date: string | null;
|
|
201
|
+
/**
|
|
202
|
+
* The day of the month on which the loan statement is generated.
|
|
203
|
+
*/
|
|
204
|
+
statement_day_of_month: number;
|
|
205
|
+
/**
|
|
206
|
+
* The type of payment for the loan.
|
|
207
|
+
*
|
|
208
|
+
* - `balance` - The borrower must pay the full balance of the loan at the end of
|
|
209
|
+
* the statement period.
|
|
210
|
+
* - `interest_until_maturity` - The borrower must pay the accrued interest at the
|
|
211
|
+
* end of the statement period.
|
|
212
|
+
*/
|
|
213
|
+
statement_payment_type: 'balance' | 'interest_until_maturity';
|
|
214
|
+
}
|
|
215
|
+
}
|
|
171
216
|
/**
|
|
172
217
|
* Represents a request to lookup the balance of an Account at a given point in
|
|
173
218
|
* time.
|
|
@@ -187,12 +232,35 @@ export interface BalanceLookup {
|
|
|
187
232
|
* on the Account.
|
|
188
233
|
*/
|
|
189
234
|
current_balance: number;
|
|
235
|
+
/**
|
|
236
|
+
* The loan balances for the Account.
|
|
237
|
+
*/
|
|
238
|
+
loan: BalanceLookup.Loan | null;
|
|
190
239
|
/**
|
|
191
240
|
* A constant representing the object's type. For this resource it will always be
|
|
192
241
|
* `balance_lookup`.
|
|
193
242
|
*/
|
|
194
243
|
type: 'balance_lookup';
|
|
195
|
-
|
|
244
|
+
}
|
|
245
|
+
export declare namespace BalanceLookup {
|
|
246
|
+
/**
|
|
247
|
+
* The loan balances for the Account.
|
|
248
|
+
*/
|
|
249
|
+
interface Loan {
|
|
250
|
+
/**
|
|
251
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the loan
|
|
252
|
+
* payment is due.
|
|
253
|
+
*/
|
|
254
|
+
due_at: string | null;
|
|
255
|
+
/**
|
|
256
|
+
* The total amount due on the loan.
|
|
257
|
+
*/
|
|
258
|
+
due_balance: number;
|
|
259
|
+
/**
|
|
260
|
+
* The amount past due on the loan.
|
|
261
|
+
*/
|
|
262
|
+
past_due_balance: number;
|
|
263
|
+
}
|
|
196
264
|
}
|
|
197
265
|
export interface AccountCreateParams {
|
|
198
266
|
/**
|
|
@@ -203,11 +271,23 @@ export interface AccountCreateParams {
|
|
|
203
271
|
* The identifier for the Entity that will own the Account.
|
|
204
272
|
*/
|
|
205
273
|
entity_id?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Whether the Account is funded by a loan or by deposits.
|
|
276
|
+
*
|
|
277
|
+
* - `loan` - An account funded by a loan. Before opening a loan account, contact
|
|
278
|
+
* support@increase.com to set up a loan program.
|
|
279
|
+
* - `deposits` - An account funded by deposits.
|
|
280
|
+
*/
|
|
281
|
+
funding?: 'loan' | 'deposits';
|
|
206
282
|
/**
|
|
207
283
|
* The identifier of an Entity that, while not owning the Account, is associated
|
|
208
284
|
* with its activity. This is generally the beneficiary of the funds.
|
|
209
285
|
*/
|
|
210
286
|
informational_entity_id?: string;
|
|
287
|
+
/**
|
|
288
|
+
* The loan details for the account.
|
|
289
|
+
*/
|
|
290
|
+
loan?: AccountCreateParams.Loan;
|
|
211
291
|
/**
|
|
212
292
|
* The identifier for the Program that this Account falls under. Required if you
|
|
213
293
|
* operate more than one Program.
|
|
@@ -215,12 +295,59 @@ export interface AccountCreateParams {
|
|
|
215
295
|
program_id?: string;
|
|
216
296
|
[k: string]: unknown;
|
|
217
297
|
}
|
|
298
|
+
export declare namespace AccountCreateParams {
|
|
299
|
+
/**
|
|
300
|
+
* The loan details for the account.
|
|
301
|
+
*/
|
|
302
|
+
interface Loan {
|
|
303
|
+
/**
|
|
304
|
+
* The maximum amount of money that can be drawn from the Account.
|
|
305
|
+
*/
|
|
306
|
+
credit_limit: number;
|
|
307
|
+
/**
|
|
308
|
+
* The number of days after the statement date that the Account can be past due
|
|
309
|
+
* before being considered delinquent.
|
|
310
|
+
*/
|
|
311
|
+
grace_period_days: number;
|
|
312
|
+
/**
|
|
313
|
+
* The day of the month on which the loan statement is generated.
|
|
314
|
+
*/
|
|
315
|
+
statement_day_of_month: number;
|
|
316
|
+
/**
|
|
317
|
+
* The type of statement payment for the account.
|
|
318
|
+
*
|
|
319
|
+
* - `balance` - The borrower must pay the full balance of the loan at the end of
|
|
320
|
+
* the statement period.
|
|
321
|
+
* - `interest_until_maturity` - The borrower must pay the accrued interest at the
|
|
322
|
+
* end of the statement period.
|
|
323
|
+
*/
|
|
324
|
+
statement_payment_type: 'balance' | 'interest_until_maturity';
|
|
325
|
+
/**
|
|
326
|
+
* The date on which the loan matures.
|
|
327
|
+
*/
|
|
328
|
+
maturity_date?: string;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
218
331
|
export interface AccountUpdateParams {
|
|
332
|
+
/**
|
|
333
|
+
* The loan details for the account.
|
|
334
|
+
*/
|
|
335
|
+
loan?: AccountUpdateParams.Loan;
|
|
219
336
|
/**
|
|
220
337
|
* The new name of the Account.
|
|
221
338
|
*/
|
|
222
339
|
name?: string;
|
|
223
|
-
|
|
340
|
+
}
|
|
341
|
+
export declare namespace AccountUpdateParams {
|
|
342
|
+
/**
|
|
343
|
+
* The loan details for the account.
|
|
344
|
+
*/
|
|
345
|
+
interface Loan {
|
|
346
|
+
/**
|
|
347
|
+
* The maximum amount of money that can be drawn from the Account.
|
|
348
|
+
*/
|
|
349
|
+
credit_limit: number;
|
|
350
|
+
}
|
|
224
351
|
}
|
|
225
352
|
export interface AccountListParams extends PageParams {
|
|
226
353
|
created_at?: AccountListParams.CreatedAt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.d.mts","sourceRoot":"","sources":["../src/resources/accounts.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,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAIhF;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAI1E;;;;;;;;;OASG;IACH,MAAM,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAInG;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,YAAY,EAAE,OAAO,CAAC;IAIrC;;;;;;;;;;OAUG;IACH,OAAO,CACL,SAAS,EAAE,MAAM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AAoB;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,aAAa,IAAI,aAAa,EACnC,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,mBAAmB,IAAI,mBAAmB,EAC/C,KAAK,iBAAiB,IAAI,iBAAiB,EAC3C,KAAK,oBAAoB,IAAI,oBAAoB,GAClD,CAAC;CACH"}
|
package/resources/accounts.d.ts
CHANGED
|
@@ -118,6 +118,14 @@ export interface Account {
|
|
|
118
118
|
* The identifier for the Entity the Account belongs to.
|
|
119
119
|
*/
|
|
120
120
|
entity_id: string;
|
|
121
|
+
/**
|
|
122
|
+
* Whether the Account is funded by a loan or by deposits.
|
|
123
|
+
*
|
|
124
|
+
* - `loan` - An account funded by a loan. Before opening a loan account, contact
|
|
125
|
+
* support@increase.com to set up a loan program.
|
|
126
|
+
* - `deposits` - An account funded by deposits.
|
|
127
|
+
*/
|
|
128
|
+
funding: 'loan' | 'deposits' | null;
|
|
121
129
|
/**
|
|
122
130
|
* The idempotency key you chose for this object. This value is unique across
|
|
123
131
|
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
@@ -145,6 +153,10 @@ export interface Account {
|
|
|
145
153
|
* "0.01".
|
|
146
154
|
*/
|
|
147
155
|
interest_rate: string;
|
|
156
|
+
/**
|
|
157
|
+
* The Account's loan-related information, if the Account is a loan account.
|
|
158
|
+
*/
|
|
159
|
+
loan: Account.Loan | null;
|
|
148
160
|
/**
|
|
149
161
|
* The name you choose for the Account.
|
|
150
162
|
*/
|
|
@@ -168,6 +180,39 @@ export interface Account {
|
|
|
168
180
|
type: 'account';
|
|
169
181
|
[k: string]: unknown;
|
|
170
182
|
}
|
|
183
|
+
export declare namespace Account {
|
|
184
|
+
/**
|
|
185
|
+
* The Account's loan-related information, if the Account is a loan account.
|
|
186
|
+
*/
|
|
187
|
+
interface Loan {
|
|
188
|
+
/**
|
|
189
|
+
* The maximum amount of money that can be borrowed on the Account.
|
|
190
|
+
*/
|
|
191
|
+
credit_limit: number;
|
|
192
|
+
/**
|
|
193
|
+
* The number of days after the statement date that the Account can be past due
|
|
194
|
+
* before being considered delinquent.
|
|
195
|
+
*/
|
|
196
|
+
grace_period_days: number;
|
|
197
|
+
/**
|
|
198
|
+
* The date on which the loan matures.
|
|
199
|
+
*/
|
|
200
|
+
maturity_date: string | null;
|
|
201
|
+
/**
|
|
202
|
+
* The day of the month on which the loan statement is generated.
|
|
203
|
+
*/
|
|
204
|
+
statement_day_of_month: number;
|
|
205
|
+
/**
|
|
206
|
+
* The type of payment for the loan.
|
|
207
|
+
*
|
|
208
|
+
* - `balance` - The borrower must pay the full balance of the loan at the end of
|
|
209
|
+
* the statement period.
|
|
210
|
+
* - `interest_until_maturity` - The borrower must pay the accrued interest at the
|
|
211
|
+
* end of the statement period.
|
|
212
|
+
*/
|
|
213
|
+
statement_payment_type: 'balance' | 'interest_until_maturity';
|
|
214
|
+
}
|
|
215
|
+
}
|
|
171
216
|
/**
|
|
172
217
|
* Represents a request to lookup the balance of an Account at a given point in
|
|
173
218
|
* time.
|
|
@@ -187,12 +232,35 @@ export interface BalanceLookup {
|
|
|
187
232
|
* on the Account.
|
|
188
233
|
*/
|
|
189
234
|
current_balance: number;
|
|
235
|
+
/**
|
|
236
|
+
* The loan balances for the Account.
|
|
237
|
+
*/
|
|
238
|
+
loan: BalanceLookup.Loan | null;
|
|
190
239
|
/**
|
|
191
240
|
* A constant representing the object's type. For this resource it will always be
|
|
192
241
|
* `balance_lookup`.
|
|
193
242
|
*/
|
|
194
243
|
type: 'balance_lookup';
|
|
195
|
-
|
|
244
|
+
}
|
|
245
|
+
export declare namespace BalanceLookup {
|
|
246
|
+
/**
|
|
247
|
+
* The loan balances for the Account.
|
|
248
|
+
*/
|
|
249
|
+
interface Loan {
|
|
250
|
+
/**
|
|
251
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the loan
|
|
252
|
+
* payment is due.
|
|
253
|
+
*/
|
|
254
|
+
due_at: string | null;
|
|
255
|
+
/**
|
|
256
|
+
* The total amount due on the loan.
|
|
257
|
+
*/
|
|
258
|
+
due_balance: number;
|
|
259
|
+
/**
|
|
260
|
+
* The amount past due on the loan.
|
|
261
|
+
*/
|
|
262
|
+
past_due_balance: number;
|
|
263
|
+
}
|
|
196
264
|
}
|
|
197
265
|
export interface AccountCreateParams {
|
|
198
266
|
/**
|
|
@@ -203,11 +271,23 @@ export interface AccountCreateParams {
|
|
|
203
271
|
* The identifier for the Entity that will own the Account.
|
|
204
272
|
*/
|
|
205
273
|
entity_id?: string;
|
|
274
|
+
/**
|
|
275
|
+
* Whether the Account is funded by a loan or by deposits.
|
|
276
|
+
*
|
|
277
|
+
* - `loan` - An account funded by a loan. Before opening a loan account, contact
|
|
278
|
+
* support@increase.com to set up a loan program.
|
|
279
|
+
* - `deposits` - An account funded by deposits.
|
|
280
|
+
*/
|
|
281
|
+
funding?: 'loan' | 'deposits';
|
|
206
282
|
/**
|
|
207
283
|
* The identifier of an Entity that, while not owning the Account, is associated
|
|
208
284
|
* with its activity. This is generally the beneficiary of the funds.
|
|
209
285
|
*/
|
|
210
286
|
informational_entity_id?: string;
|
|
287
|
+
/**
|
|
288
|
+
* The loan details for the account.
|
|
289
|
+
*/
|
|
290
|
+
loan?: AccountCreateParams.Loan;
|
|
211
291
|
/**
|
|
212
292
|
* The identifier for the Program that this Account falls under. Required if you
|
|
213
293
|
* operate more than one Program.
|
|
@@ -215,12 +295,59 @@ export interface AccountCreateParams {
|
|
|
215
295
|
program_id?: string;
|
|
216
296
|
[k: string]: unknown;
|
|
217
297
|
}
|
|
298
|
+
export declare namespace AccountCreateParams {
|
|
299
|
+
/**
|
|
300
|
+
* The loan details for the account.
|
|
301
|
+
*/
|
|
302
|
+
interface Loan {
|
|
303
|
+
/**
|
|
304
|
+
* The maximum amount of money that can be drawn from the Account.
|
|
305
|
+
*/
|
|
306
|
+
credit_limit: number;
|
|
307
|
+
/**
|
|
308
|
+
* The number of days after the statement date that the Account can be past due
|
|
309
|
+
* before being considered delinquent.
|
|
310
|
+
*/
|
|
311
|
+
grace_period_days: number;
|
|
312
|
+
/**
|
|
313
|
+
* The day of the month on which the loan statement is generated.
|
|
314
|
+
*/
|
|
315
|
+
statement_day_of_month: number;
|
|
316
|
+
/**
|
|
317
|
+
* The type of statement payment for the account.
|
|
318
|
+
*
|
|
319
|
+
* - `balance` - The borrower must pay the full balance of the loan at the end of
|
|
320
|
+
* the statement period.
|
|
321
|
+
* - `interest_until_maturity` - The borrower must pay the accrued interest at the
|
|
322
|
+
* end of the statement period.
|
|
323
|
+
*/
|
|
324
|
+
statement_payment_type: 'balance' | 'interest_until_maturity';
|
|
325
|
+
/**
|
|
326
|
+
* The date on which the loan matures.
|
|
327
|
+
*/
|
|
328
|
+
maturity_date?: string;
|
|
329
|
+
}
|
|
330
|
+
}
|
|
218
331
|
export interface AccountUpdateParams {
|
|
332
|
+
/**
|
|
333
|
+
* The loan details for the account.
|
|
334
|
+
*/
|
|
335
|
+
loan?: AccountUpdateParams.Loan;
|
|
219
336
|
/**
|
|
220
337
|
* The new name of the Account.
|
|
221
338
|
*/
|
|
222
339
|
name?: string;
|
|
223
|
-
|
|
340
|
+
}
|
|
341
|
+
export declare namespace AccountUpdateParams {
|
|
342
|
+
/**
|
|
343
|
+
* The loan details for the account.
|
|
344
|
+
*/
|
|
345
|
+
interface Loan {
|
|
346
|
+
/**
|
|
347
|
+
* The maximum amount of money that can be drawn from the Account.
|
|
348
|
+
*/
|
|
349
|
+
credit_limit: number;
|
|
350
|
+
}
|
|
224
351
|
}
|
|
225
352
|
export interface AccountListParams extends PageParams {
|
|
226
353
|
created_at?: AccountListParams.CreatedAt;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.d.ts","sourceRoot":"","sources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intrafiExclusion =
|
|
12
12
|
* await client.intrafiExclusions.create({
|
|
13
|
-
* bank_name: 'Example Bank',
|
|
14
13
|
* entity_id: 'entity_n8y8tnk2p9339ti393yi',
|
|
14
|
+
* fdic_certificate_number: '314159',
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
@@ -68,7 +68,7 @@ export interface IntrafiExclusion {
|
|
|
68
68
|
/**
|
|
69
69
|
* The name of the excluded institution.
|
|
70
70
|
*/
|
|
71
|
-
bank_name: string;
|
|
71
|
+
bank_name: string | null;
|
|
72
72
|
/**
|
|
73
73
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
74
74
|
* the exclusion was created.
|
|
@@ -112,14 +112,17 @@ export interface IntrafiExclusion {
|
|
|
112
112
|
type: 'intrafi_exclusion';
|
|
113
113
|
}
|
|
114
114
|
export interface IntrafiExclusionCreateParams {
|
|
115
|
-
/**
|
|
116
|
-
* The name of the financial institution to be excluded.
|
|
117
|
-
*/
|
|
118
|
-
bank_name: string;
|
|
119
115
|
/**
|
|
120
116
|
* The identifier of the Entity whose deposits will be excluded.
|
|
121
117
|
*/
|
|
122
118
|
entity_id: string;
|
|
119
|
+
/**
|
|
120
|
+
* The FDIC certificate number of the financial institution to be excluded. An FDIC
|
|
121
|
+
* certificate number uniquely identifies a financial institution, and is different
|
|
122
|
+
* than a routing number. To find one, we recommend searching by Bank Name using
|
|
123
|
+
* the [FDIC's bankfind tool](https://banks.data.fdic.gov/bankfind-suite/bankfind).
|
|
124
|
+
*/
|
|
125
|
+
fdic_certificate_number: string;
|
|
123
126
|
[k: string]: unknown;
|
|
124
127
|
}
|
|
125
128
|
export interface IntrafiExclusionListParams extends PageParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intrafi-exclusions.d.mts","sourceRoot":"","sources":["../src/resources/intrafi-exclusions.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,EAAE,UAAU,EA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;AAED,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -10,8 +10,8 @@ export declare class IntrafiExclusions extends APIResource {
|
|
|
10
10
|
* ```ts
|
|
11
11
|
* const intrafiExclusion =
|
|
12
12
|
* await client.intrafiExclusions.create({
|
|
13
|
-
* bank_name: 'Example Bank',
|
|
14
13
|
* entity_id: 'entity_n8y8tnk2p9339ti393yi',
|
|
14
|
+
* fdic_certificate_number: '314159',
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
@@ -68,7 +68,7 @@ export interface IntrafiExclusion {
|
|
|
68
68
|
/**
|
|
69
69
|
* The name of the excluded institution.
|
|
70
70
|
*/
|
|
71
|
-
bank_name: string;
|
|
71
|
+
bank_name: string | null;
|
|
72
72
|
/**
|
|
73
73
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
74
74
|
* the exclusion was created.
|
|
@@ -112,14 +112,17 @@ export interface IntrafiExclusion {
|
|
|
112
112
|
type: 'intrafi_exclusion';
|
|
113
113
|
}
|
|
114
114
|
export interface IntrafiExclusionCreateParams {
|
|
115
|
-
/**
|
|
116
|
-
* The name of the financial institution to be excluded.
|
|
117
|
-
*/
|
|
118
|
-
bank_name: string;
|
|
119
115
|
/**
|
|
120
116
|
* The identifier of the Entity whose deposits will be excluded.
|
|
121
117
|
*/
|
|
122
118
|
entity_id: string;
|
|
119
|
+
/**
|
|
120
|
+
* The FDIC certificate number of the financial institution to be excluded. An FDIC
|
|
121
|
+
* certificate number uniquely identifies a financial institution, and is different
|
|
122
|
+
* than a routing number. To find one, we recommend searching by Bank Name using
|
|
123
|
+
* the [FDIC's bankfind tool](https://banks.data.fdic.gov/bankfind-suite/bankfind).
|
|
124
|
+
*/
|
|
125
|
+
fdic_certificate_number: string;
|
|
123
126
|
[k: string]: unknown;
|
|
124
127
|
}
|
|
125
128
|
export interface IntrafiExclusionListParams extends PageParams {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"intrafi-exclusions.d.ts","sourceRoot":"","sources":["../src/resources/intrafi-exclusions.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,iBAAkB,SAAQ,WAAW;IAChD;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,EAAE,4BAA4B,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAIlG;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAI5F;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,0BAA0B,GAAG,IAAI,GAAG,SAAc,EACzD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,qBAAqB,EAAE,gBAAgB,CAAC;IAIvD;;;;;;;;;;OAUG;IACH,OAAO,CAAC,kBAAkB,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,gBAAgB,CAAC;CAG5F;AAED,MAAM,MAAM,qBAAqB,GAAG,IAAI,CAAC,gBAAgB,CAAC,CAAC;AAE3D;;;;;GAKG;AACH,MAAM,WAAW,gBAAgB;IAC/B;;OAEG;IACH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uBAAuB,EAAE,MAAM,GAAG,IAAI,CAAC;IAEvC;;;;OAIG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;;;;;OAMG;IACH,MAAM,EAAE,SAAS,GAAG,WAAW,GAAG,UAAU,CAAC;IAE7C;;OAEG;IACH,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAE5B;;;OAGG;IACH,IAAI,EAAE,mBAAmB,CAAC;CAC3B;AAED,MAAM,WAAW,4BAA4B;IAC3C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,uBAAuB,EAAE,MAAM,CAAC;IAEhC,CAAC,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CACtB;AAED,MAAM,WAAW,0BAA2B,SAAQ,UAAU;IAC5D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,CAAC,OAAO,WAAW,iBAAiB,CAAC;IACzC,OAAO,EACL,KAAK,gBAAgB,IAAI,gBAAgB,EACzC,KAAK,qBAAqB,IAAI,qBAAqB,EACnD,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,0BAA0B,IAAI,0BAA0B,GAC9D,CAAC;CACH"}
|
|
@@ -13,8 +13,8 @@ class IntrafiExclusions extends resource_1.APIResource {
|
|
|
13
13
|
* ```ts
|
|
14
14
|
* const intrafiExclusion =
|
|
15
15
|
* await client.intrafiExclusions.create({
|
|
16
|
-
* bank_name: 'Example Bank',
|
|
17
16
|
* entity_id: 'entity_n8y8tnk2p9339ti393yi',
|
|
17
|
+
* fdic_certificate_number: '314159',
|
|
18
18
|
* });
|
|
19
19
|
* ```
|
|
20
20
|
*/
|
|
@@ -10,8 +10,8 @@ export class IntrafiExclusions extends APIResource {
|
|
|
10
10
|
* ```ts
|
|
11
11
|
* const intrafiExclusion =
|
|
12
12
|
* await client.intrafiExclusions.create({
|
|
13
|
-
* bank_name: 'Example Bank',
|
|
14
13
|
* entity_id: 'entity_n8y8tnk2p9339ti393yi',
|
|
14
|
+
* fdic_certificate_number: '314159',
|
|
15
15
|
* });
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
package/resources/programs.d.mts
CHANGED
|
@@ -66,6 +66,10 @@ export interface Program {
|
|
|
66
66
|
* represented as "0.01".
|
|
67
67
|
*/
|
|
68
68
|
interest_rate: string;
|
|
69
|
+
/**
|
|
70
|
+
* The lending details for the program.
|
|
71
|
+
*/
|
|
72
|
+
lending: Program.Lending | null;
|
|
69
73
|
/**
|
|
70
74
|
* The name of the Program.
|
|
71
75
|
*/
|
|
@@ -80,7 +84,17 @@ export interface Program {
|
|
|
80
84
|
* was last updated.
|
|
81
85
|
*/
|
|
82
86
|
updated_at: string;
|
|
83
|
-
|
|
87
|
+
}
|
|
88
|
+
export declare namespace Program {
|
|
89
|
+
/**
|
|
90
|
+
* The lending details for the program.
|
|
91
|
+
*/
|
|
92
|
+
interface Lending {
|
|
93
|
+
/**
|
|
94
|
+
* The maximum extendable credit of the program.
|
|
95
|
+
*/
|
|
96
|
+
maximum_extendable_credit: number;
|
|
97
|
+
}
|
|
84
98
|
}
|
|
85
99
|
export interface ProgramListParams extends PageParams {
|
|
86
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"programs.d.mts","sourceRoot":"","sources":["../src/resources/programs.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,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAI1E;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAA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EzC;;;;;GAKG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;;;OAMG;IACH,IAAI,EAAE,WAAW,GAAG,qBAAqB,GAAG,kBAAkB,CAAC;IAE/D;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,+BAA+B,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/C;;;;OAIG;IACH,aAAa,EAAE,MAAM,CAAC;IAEtB;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC,OAAO,GAAG,IAAI,CAAC;IAEhC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;OAGG;IACH,IAAI,EAAE,SAAS,CAAC;IAEhB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,yBAAiB,OAAO,CAAC;IACvB;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,yBAAyB,EAAE,MAAM,CAAC;KACnC;CACF;AAED,MAAM,WAAW,iBAAkB,SAAQ,UAAU;CAAG;AAExD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
package/resources/programs.d.ts
CHANGED
|
@@ -66,6 +66,10 @@ export interface Program {
|
|
|
66
66
|
* represented as "0.01".
|
|
67
67
|
*/
|
|
68
68
|
interest_rate: string;
|
|
69
|
+
/**
|
|
70
|
+
* The lending details for the program.
|
|
71
|
+
*/
|
|
72
|
+
lending: Program.Lending | null;
|
|
69
73
|
/**
|
|
70
74
|
* The name of the Program.
|
|
71
75
|
*/
|
|
@@ -80,7 +84,17 @@ export interface Program {
|
|
|
80
84
|
* was last updated.
|
|
81
85
|
*/
|
|
82
86
|
updated_at: string;
|
|
83
|
-
|
|
87
|
+
}
|
|
88
|
+
export declare namespace Program {
|
|
89
|
+
/**
|
|
90
|
+
* The lending details for the program.
|
|
91
|
+
*/
|
|
92
|
+
interface Lending {
|
|
93
|
+
/**
|
|
94
|
+
* The maximum extendable credit of the program.
|
|
95
|
+
*/
|
|
96
|
+
maximum_extendable_credit: number;
|
|
97
|
+
}
|
|
84
98
|
}
|
|
85
99
|
export interface ProgramListParams extends PageParams {
|
|
86
100
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"programs.d.ts","sourceRoot":"","sources":["../src/resources/programs.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,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,OAAO,CAAC;IAI1E;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,GAAE,iBAAiB,GAAG,IAAI,GAAG,SAAc,EAChD,OAAO,CAAC,EAAE,cAAc,GACvB,WAAW,CAAC,YAAY,EAAE,OAAO,CAAC;CAGtC;AAED,MAAM,MAAM,YAAY,GAAG,IAAI,CAAC,OAAO,CAAC,CAAC;AAEzC;;;;;GAKG;AACH,MAAM,WAAW,OAAO;IACtB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;;;;;OAMG;IACH,IAAI,EAAE,WAAW,GAAG,qBAAqB,GAAG,kBAAkB,CAAC;IAE/D;;OAEG;IACH,kBAAkB,EAAE,MAAM,GAAG,IAAI,CAAC;IAElC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,+BAA+B,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/C;;;;OAI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IAAI,EAAE,SAAS,CAAC;IAEhB;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;CACpB;AAED,yBAAiB,OAAO,CAAC;IACvB;;OAEG;IACH,UAAiB,OAAO;QACtB;;WAEG;QACH,yBAAyB,EAAE,MAAM,CAAC;KACnC;CACF;AAED,MAAM,WAAW,iBAAkB,SAAQ,UAAU;CAAG;AAExD,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EACL,KAAK,OAAO,IAAI,OAAO,EACvB,KAAK,YAAY,IAAI,YAAY,EACjC,KAAK,iBAAiB,IAAI,iBAAiB,GAC5C,CAAC;CACH"}
|
|
@@ -34,11 +34,14 @@ export interface ProgramCreateParams {
|
|
|
34
34
|
* - `twin_city_bank` - Twin City Bank
|
|
35
35
|
*/
|
|
36
36
|
bank?: 'blue_ridge_bank' | 'core_bank' | 'first_internet_bank' | 'global_innovations_bank' | 'grasshopper_bank' | 'twin_city_bank';
|
|
37
|
+
/**
|
|
38
|
+
* The maximum extendable credit of the program being added.
|
|
39
|
+
*/
|
|
40
|
+
lending_maximum_extendable_credit?: number;
|
|
37
41
|
/**
|
|
38
42
|
* The identifier of the Account the Program should be added to is for.
|
|
39
43
|
*/
|
|
40
44
|
reserve_account_id?: string;
|
|
41
|
-
[k: string]: unknown;
|
|
42
45
|
}
|
|
43
46
|
export declare namespace Programs {
|
|
44
47
|
export { type ProgramCreateParams as ProgramCreateParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"programs.d.mts","sourceRoot":"","sources":["../../src/resources/simulations/programs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC;CAG7F;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;;OASG;IACH,IAAI,CAAC,EACD,iBAAiB,GACjB,WAAW,GACX,qBAAqB,GACrB,yBAAyB,GACzB,kBAAkB,GAClB,gBAAgB,CAAC;IAErB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"programs.d.mts","sourceRoot":"","sources":["../../src/resources/simulations/programs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC;CAG7F;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;;OASG;IACH,IAAI,CAAC,EACD,iBAAiB,GACjB,WAAW,GACX,qBAAqB,GACrB,yBAAyB,GACzB,kBAAkB,GAClB,gBAAgB,CAAC;IAErB;;OAEG;IACH,iCAAiC,CAAC,EAAE,MAAM,CAAC;IAE3C;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
|
|
@@ -34,11 +34,14 @@ export interface ProgramCreateParams {
|
|
|
34
34
|
* - `twin_city_bank` - Twin City Bank
|
|
35
35
|
*/
|
|
36
36
|
bank?: 'blue_ridge_bank' | 'core_bank' | 'first_internet_bank' | 'global_innovations_bank' | 'grasshopper_bank' | 'twin_city_bank';
|
|
37
|
+
/**
|
|
38
|
+
* The maximum extendable credit of the program being added.
|
|
39
|
+
*/
|
|
40
|
+
lending_maximum_extendable_credit?: number;
|
|
37
41
|
/**
|
|
38
42
|
* The identifier of the Account the Program should be added to is for.
|
|
39
43
|
*/
|
|
40
44
|
reserve_account_id?: string;
|
|
41
|
-
[k: string]: unknown;
|
|
42
45
|
}
|
|
43
46
|
export declare namespace Programs {
|
|
44
47
|
export { type ProgramCreateParams as ProgramCreateParams };
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"programs.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/programs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC;CAG7F;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;;OASG;IACH,IAAI,CAAC,EACD,iBAAiB,GACjB,WAAW,GACX,qBAAqB,GACrB,yBAAyB,GACzB,kBAAkB,GAClB,gBAAgB,CAAC;IAErB;;OAEG;IACH,
|
|
1
|
+
{"version":3,"file":"programs.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/programs.ts"],"names":[],"mappings":"OAEO,EAAE,WAAW,EAAE;OACf,KAAK,WAAW;OAChB,EAAE,UAAU,EAAE;OACd,EAAE,cAAc,EAAE;AAEzB,qBAAa,QAAS,SAAQ,WAAW;IACvC;;;;;;;;;;;;OAYG;IACH,MAAM,CAAC,IAAI,EAAE,mBAAmB,EAAE,OAAO,CAAC,EAAE,cAAc,GAAG,UAAU,CAAC,WAAW,CAAC,OAAO,CAAC;CAG7F;AAED,MAAM,WAAW,mBAAmB;IAClC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;;;;;;;;OASG;IACH,IAAI,CAAC,EACD,iBAAiB,GACjB,WAAW,GACX,qBAAqB,GACrB,yBAAyB,GACzB,kBAAkB,GAClB,gBAAgB,CAAC;IAErB;;OAEG;IACH,iCAAiC,CAAC,EAAE,MAAM,CAAC;IAE3C;;OAEG;IACH,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAED,MAAM,CAAC,OAAO,WAAW,QAAQ,CAAC;IAChC,OAAO,EAAE,KAAK,mBAAmB,IAAI,mBAAmB,EAAE,CAAC;CAC5D"}
|
|
@@ -75,6 +75,11 @@ export interface AccountStatement {
|
|
|
75
75
|
*/
|
|
76
76
|
file_id: string;
|
|
77
77
|
|
|
78
|
+
/**
|
|
79
|
+
* The loan balances.
|
|
80
|
+
*/
|
|
81
|
+
loan: AccountStatement.Loan | null;
|
|
82
|
+
|
|
78
83
|
/**
|
|
79
84
|
* The Account's balance at the start of its statement period.
|
|
80
85
|
*/
|
|
@@ -97,8 +102,29 @@ export interface AccountStatement {
|
|
|
97
102
|
* `account_statement`.
|
|
98
103
|
*/
|
|
99
104
|
type: 'account_statement';
|
|
105
|
+
}
|
|
100
106
|
|
|
101
|
-
|
|
107
|
+
export namespace AccountStatement {
|
|
108
|
+
/**
|
|
109
|
+
* The loan balances.
|
|
110
|
+
*/
|
|
111
|
+
export interface Loan {
|
|
112
|
+
/**
|
|
113
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the loan
|
|
114
|
+
* payment is due.
|
|
115
|
+
*/
|
|
116
|
+
due_at: string | null;
|
|
117
|
+
|
|
118
|
+
/**
|
|
119
|
+
* The total amount due on the loan.
|
|
120
|
+
*/
|
|
121
|
+
due_balance: number;
|
|
122
|
+
|
|
123
|
+
/**
|
|
124
|
+
* The amount past due on the loan.
|
|
125
|
+
*/
|
|
126
|
+
past_due_balance: number;
|
|
127
|
+
}
|
|
102
128
|
}
|
|
103
129
|
|
|
104
130
|
export interface AccountStatementListParams extends PageParams {
|
|
@@ -155,6 +155,15 @@ export interface Account {
|
|
|
155
155
|
*/
|
|
156
156
|
entity_id: string;
|
|
157
157
|
|
|
158
|
+
/**
|
|
159
|
+
* Whether the Account is funded by a loan or by deposits.
|
|
160
|
+
*
|
|
161
|
+
* - `loan` - An account funded by a loan. Before opening a loan account, contact
|
|
162
|
+
* support@increase.com to set up a loan program.
|
|
163
|
+
* - `deposits` - An account funded by deposits.
|
|
164
|
+
*/
|
|
165
|
+
funding: 'loan' | 'deposits' | null;
|
|
166
|
+
|
|
158
167
|
/**
|
|
159
168
|
* The idempotency key you chose for this object. This value is unique across
|
|
160
169
|
* Increase and is used to ensure that a request is only processed once. Learn more
|
|
@@ -187,6 +196,11 @@ export interface Account {
|
|
|
187
196
|
*/
|
|
188
197
|
interest_rate: string;
|
|
189
198
|
|
|
199
|
+
/**
|
|
200
|
+
* The Account's loan-related information, if the Account is a loan account.
|
|
201
|
+
*/
|
|
202
|
+
loan: Account.Loan | null;
|
|
203
|
+
|
|
190
204
|
/**
|
|
191
205
|
* The name you choose for the Account.
|
|
192
206
|
*/
|
|
@@ -215,6 +229,44 @@ export interface Account {
|
|
|
215
229
|
[k: string]: unknown;
|
|
216
230
|
}
|
|
217
231
|
|
|
232
|
+
export namespace Account {
|
|
233
|
+
/**
|
|
234
|
+
* The Account's loan-related information, if the Account is a loan account.
|
|
235
|
+
*/
|
|
236
|
+
export interface Loan {
|
|
237
|
+
/**
|
|
238
|
+
* The maximum amount of money that can be borrowed on the Account.
|
|
239
|
+
*/
|
|
240
|
+
credit_limit: number;
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* The number of days after the statement date that the Account can be past due
|
|
244
|
+
* before being considered delinquent.
|
|
245
|
+
*/
|
|
246
|
+
grace_period_days: number;
|
|
247
|
+
|
|
248
|
+
/**
|
|
249
|
+
* The date on which the loan matures.
|
|
250
|
+
*/
|
|
251
|
+
maturity_date: string | null;
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* The day of the month on which the loan statement is generated.
|
|
255
|
+
*/
|
|
256
|
+
statement_day_of_month: number;
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* The type of payment for the loan.
|
|
260
|
+
*
|
|
261
|
+
* - `balance` - The borrower must pay the full balance of the loan at the end of
|
|
262
|
+
* the statement period.
|
|
263
|
+
* - `interest_until_maturity` - The borrower must pay the accrued interest at the
|
|
264
|
+
* end of the statement period.
|
|
265
|
+
*/
|
|
266
|
+
statement_payment_type: 'balance' | 'interest_until_maturity';
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
218
270
|
/**
|
|
219
271
|
* Represents a request to lookup the balance of an Account at a given point in
|
|
220
272
|
* time.
|
|
@@ -237,13 +289,39 @@ export interface BalanceLookup {
|
|
|
237
289
|
*/
|
|
238
290
|
current_balance: number;
|
|
239
291
|
|
|
292
|
+
/**
|
|
293
|
+
* The loan balances for the Account.
|
|
294
|
+
*/
|
|
295
|
+
loan: BalanceLookup.Loan | null;
|
|
296
|
+
|
|
240
297
|
/**
|
|
241
298
|
* A constant representing the object's type. For this resource it will always be
|
|
242
299
|
* `balance_lookup`.
|
|
243
300
|
*/
|
|
244
301
|
type: 'balance_lookup';
|
|
302
|
+
}
|
|
245
303
|
|
|
246
|
-
|
|
304
|
+
export namespace BalanceLookup {
|
|
305
|
+
/**
|
|
306
|
+
* The loan balances for the Account.
|
|
307
|
+
*/
|
|
308
|
+
export interface Loan {
|
|
309
|
+
/**
|
|
310
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the loan
|
|
311
|
+
* payment is due.
|
|
312
|
+
*/
|
|
313
|
+
due_at: string | null;
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* The total amount due on the loan.
|
|
317
|
+
*/
|
|
318
|
+
due_balance: number;
|
|
319
|
+
|
|
320
|
+
/**
|
|
321
|
+
* The amount past due on the loan.
|
|
322
|
+
*/
|
|
323
|
+
past_due_balance: number;
|
|
324
|
+
}
|
|
247
325
|
}
|
|
248
326
|
|
|
249
327
|
export interface AccountCreateParams {
|
|
@@ -257,12 +335,26 @@ export interface AccountCreateParams {
|
|
|
257
335
|
*/
|
|
258
336
|
entity_id?: string;
|
|
259
337
|
|
|
338
|
+
/**
|
|
339
|
+
* Whether the Account is funded by a loan or by deposits.
|
|
340
|
+
*
|
|
341
|
+
* - `loan` - An account funded by a loan. Before opening a loan account, contact
|
|
342
|
+
* support@increase.com to set up a loan program.
|
|
343
|
+
* - `deposits` - An account funded by deposits.
|
|
344
|
+
*/
|
|
345
|
+
funding?: 'loan' | 'deposits';
|
|
346
|
+
|
|
260
347
|
/**
|
|
261
348
|
* The identifier of an Entity that, while not owning the Account, is associated
|
|
262
349
|
* with its activity. This is generally the beneficiary of the funds.
|
|
263
350
|
*/
|
|
264
351
|
informational_entity_id?: string;
|
|
265
352
|
|
|
353
|
+
/**
|
|
354
|
+
* The loan details for the account.
|
|
355
|
+
*/
|
|
356
|
+
loan?: AccountCreateParams.Loan;
|
|
357
|
+
|
|
266
358
|
/**
|
|
267
359
|
* The identifier for the Program that this Account falls under. Required if you
|
|
268
360
|
* operate more than one Program.
|
|
@@ -272,13 +364,66 @@ export interface AccountCreateParams {
|
|
|
272
364
|
[k: string]: unknown;
|
|
273
365
|
}
|
|
274
366
|
|
|
367
|
+
export namespace AccountCreateParams {
|
|
368
|
+
/**
|
|
369
|
+
* The loan details for the account.
|
|
370
|
+
*/
|
|
371
|
+
export interface Loan {
|
|
372
|
+
/**
|
|
373
|
+
* The maximum amount of money that can be drawn from the Account.
|
|
374
|
+
*/
|
|
375
|
+
credit_limit: number;
|
|
376
|
+
|
|
377
|
+
/**
|
|
378
|
+
* The number of days after the statement date that the Account can be past due
|
|
379
|
+
* before being considered delinquent.
|
|
380
|
+
*/
|
|
381
|
+
grace_period_days: number;
|
|
382
|
+
|
|
383
|
+
/**
|
|
384
|
+
* The day of the month on which the loan statement is generated.
|
|
385
|
+
*/
|
|
386
|
+
statement_day_of_month: number;
|
|
387
|
+
|
|
388
|
+
/**
|
|
389
|
+
* The type of statement payment for the account.
|
|
390
|
+
*
|
|
391
|
+
* - `balance` - The borrower must pay the full balance of the loan at the end of
|
|
392
|
+
* the statement period.
|
|
393
|
+
* - `interest_until_maturity` - The borrower must pay the accrued interest at the
|
|
394
|
+
* end of the statement period.
|
|
395
|
+
*/
|
|
396
|
+
statement_payment_type: 'balance' | 'interest_until_maturity';
|
|
397
|
+
|
|
398
|
+
/**
|
|
399
|
+
* The date on which the loan matures.
|
|
400
|
+
*/
|
|
401
|
+
maturity_date?: string;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
|
|
275
405
|
export interface AccountUpdateParams {
|
|
406
|
+
/**
|
|
407
|
+
* The loan details for the account.
|
|
408
|
+
*/
|
|
409
|
+
loan?: AccountUpdateParams.Loan;
|
|
410
|
+
|
|
276
411
|
/**
|
|
277
412
|
* The new name of the Account.
|
|
278
413
|
*/
|
|
279
414
|
name?: string;
|
|
415
|
+
}
|
|
280
416
|
|
|
281
|
-
|
|
417
|
+
export namespace AccountUpdateParams {
|
|
418
|
+
/**
|
|
419
|
+
* The loan details for the account.
|
|
420
|
+
*/
|
|
421
|
+
export interface Loan {
|
|
422
|
+
/**
|
|
423
|
+
* The maximum amount of money that can be drawn from the Account.
|
|
424
|
+
*/
|
|
425
|
+
credit_limit: number;
|
|
426
|
+
}
|
|
282
427
|
}
|
|
283
428
|
|
|
284
429
|
export interface AccountListParams extends PageParams {
|
|
@@ -14,8 +14,8 @@ export class IntrafiExclusions extends APIResource {
|
|
|
14
14
|
* ```ts
|
|
15
15
|
* const intrafiExclusion =
|
|
16
16
|
* await client.intrafiExclusions.create({
|
|
17
|
-
* bank_name: 'Example Bank',
|
|
18
17
|
* entity_id: 'entity_n8y8tnk2p9339ti393yi',
|
|
18
|
+
* fdic_certificate_number: '314159',
|
|
19
19
|
* });
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
@@ -89,7 +89,7 @@ export interface IntrafiExclusion {
|
|
|
89
89
|
/**
|
|
90
90
|
* The name of the excluded institution.
|
|
91
91
|
*/
|
|
92
|
-
bank_name: string;
|
|
92
|
+
bank_name: string | null;
|
|
93
93
|
|
|
94
94
|
/**
|
|
95
95
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
@@ -143,14 +143,17 @@ export interface IntrafiExclusion {
|
|
|
143
143
|
|
|
144
144
|
export interface IntrafiExclusionCreateParams {
|
|
145
145
|
/**
|
|
146
|
-
* The
|
|
146
|
+
* The identifier of the Entity whose deposits will be excluded.
|
|
147
147
|
*/
|
|
148
|
-
|
|
148
|
+
entity_id: string;
|
|
149
149
|
|
|
150
150
|
/**
|
|
151
|
-
* The
|
|
151
|
+
* The FDIC certificate number of the financial institution to be excluded. An FDIC
|
|
152
|
+
* certificate number uniquely identifies a financial institution, and is different
|
|
153
|
+
* than a routing number. To find one, we recommend searching by Bank Name using
|
|
154
|
+
* the [FDIC's bankfind tool](https://banks.data.fdic.gov/bankfind-suite/bankfind).
|
|
152
155
|
*/
|
|
153
|
-
|
|
156
|
+
fdic_certificate_number: string;
|
|
154
157
|
|
|
155
158
|
[k: string]: unknown;
|
|
156
159
|
}
|
|
@@ -86,6 +86,11 @@ export interface Program {
|
|
|
86
86
|
*/
|
|
87
87
|
interest_rate: string;
|
|
88
88
|
|
|
89
|
+
/**
|
|
90
|
+
* The lending details for the program.
|
|
91
|
+
*/
|
|
92
|
+
lending: Program.Lending | null;
|
|
93
|
+
|
|
89
94
|
/**
|
|
90
95
|
* The name of the Program.
|
|
91
96
|
*/
|
|
@@ -102,8 +107,18 @@ export interface Program {
|
|
|
102
107
|
* was last updated.
|
|
103
108
|
*/
|
|
104
109
|
updated_at: string;
|
|
110
|
+
}
|
|
105
111
|
|
|
106
|
-
|
|
112
|
+
export namespace Program {
|
|
113
|
+
/**
|
|
114
|
+
* The lending details for the program.
|
|
115
|
+
*/
|
|
116
|
+
export interface Lending {
|
|
117
|
+
/**
|
|
118
|
+
* The maximum extendable credit of the program.
|
|
119
|
+
*/
|
|
120
|
+
maximum_extendable_credit: number;
|
|
121
|
+
}
|
|
107
122
|
}
|
|
108
123
|
|
|
109
124
|
export interface ProgramListParams extends PageParams {}
|
|
@@ -48,12 +48,15 @@ export interface ProgramCreateParams {
|
|
|
48
48
|
| 'grasshopper_bank'
|
|
49
49
|
| 'twin_city_bank';
|
|
50
50
|
|
|
51
|
+
/**
|
|
52
|
+
* The maximum extendable credit of the program being added.
|
|
53
|
+
*/
|
|
54
|
+
lending_maximum_extendable_credit?: number;
|
|
55
|
+
|
|
51
56
|
/**
|
|
52
57
|
* The identifier of the Account the Program should be added to is for.
|
|
53
58
|
*/
|
|
54
59
|
reserve_account_id?: string;
|
|
55
|
-
|
|
56
|
-
[k: string]: unknown;
|
|
57
60
|
}
|
|
58
61
|
|
|
59
62
|
export declare namespace Programs {
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.412.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.412.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.412.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.412.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|