Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
17 commits
Select commit Hold shift + click to select a range
c495fe0
codegen metadata
stainless-app[bot] Feb 19, 2026
6657e0d
chore: update mock server docs
stainless-app[bot] Feb 19, 2026
342cb07
feat(api): Add INTEREST_AND_FEES_PAUSED substatus to financial account
stainless-app[bot] Feb 19, 2026
71e0dc6
chore(mcp): correctly update version in sync with sdk
stainless-app[bot] Feb 19, 2026
49b3676
fix(docs/contributing): correct pnpm link command
stainless-app[bot] Feb 23, 2026
c71b835
feat(api): Expose MIL interest schedules and loan tape configuration …
stainless-app[bot] Feb 23, 2026
7e9cc7b
chore(internal): upgrade @modelcontextprotocol/sdk and hono
stainless-app[bot] Feb 23, 2026
d7ce232
chore(internal): make MCP code execution location configurable via a …
stainless-app[bot] Feb 24, 2026
d654204
chore(internal): fix MCP Dockerfiles so they can be built without bui…
stainless-app[bot] Feb 25, 2026
b11e333
chore(internal): fix MCP Dockerfiles so they can be built without bui…
stainless-app[bot] Feb 25, 2026
3fb22ea
feat(api): Add account holder entity endpoints
stainless-app[bot] Feb 26, 2026
18e4250
chore(internal): move stringifyQuery implementation to internal function
stainless-app[bot] Feb 26, 2026
c3f0f72
feat(mcp): add an option to disable code tool
stainless-app[bot] Feb 26, 2026
fe87cb7
fix(mcp): update prompt
stainless-app[bot] Feb 26, 2026
79f3258
docs: Remove CONDITIONAL_BLOCK from docs
stainless-app[bot] Feb 27, 2026
b55c509
fix(api): Correct token_metadata field name in tokenization.approval_…
stainless-app[bot] Feb 27, 2026
6301698
release: 0.130.0
stainless-app[bot] Feb 27, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.129.0"
".": "0.130.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 177
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-c24eebe942f400bff8922a6fbef1ce551ad14f61eb4da21b50d823a62ca42586.yml
openapi_spec_hash: b79ed927e625dedff69cea29131a34d9
config_hash: 693dddc4721eef512d75ab6c60897794
configured_endpoints: 185
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/lithic%2Flithic-a45946df228eec554b3cd2491f658bd5a45cb91509da0a9f92d50468ea88072f.yml
openapi_spec_hash: 24c7c13e1e7385cab5442ca66091ffc6
config_hash: 50031f78031362c2e4900222b9ce7ada
34 changes: 34 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,39 @@
# Changelog

## 0.130.0 (2026-02-27)

Full Changelog: [v0.129.0...v0.130.0](https://github.com/lithic-com/lithic-node/compare/v0.129.0...v0.130.0)

### Features

* **api:** Add account holder entity endpoints ([3fb22ea](https://github.com/lithic-com/lithic-node/commit/3fb22eacba6bcf9e4ea5e96bc628a9e16c6a981d))
* **api:** Add INTEREST_AND_FEES_PAUSED substatus to financial account ([342cb07](https://github.com/lithic-com/lithic-node/commit/342cb0725d8b9d8645e20e7c7ca7a386ce657f36))
* **api:** Expose MIL interest schedules and loan tape configuration endpoints ([c71b835](https://github.com/lithic-com/lithic-node/commit/c71b835642458ce89a801ac770b4c5c7e2788a60))
* **mcp:** add an option to disable code tool ([c3f0f72](https://github.com/lithic-com/lithic-node/commit/c3f0f72caf3029aab0a066cffa1bee89096599f5))


### Bug Fixes

* **api:** Correct token_metadata field name in tokenization.approval_request schema ([b55c509](https://github.com/lithic-com/lithic-node/commit/b55c50939ea421b13dfa3443396476f54001b890))
* **docs/contributing:** correct pnpm link command ([49b3676](https://github.com/lithic-com/lithic-node/commit/49b3676c5eb963fb6608a65b3effb56e2162dc44))
* **mcp:** update prompt ([fe87cb7](https://github.com/lithic-com/lithic-node/commit/fe87cb730b53bbdfab52ee644a245393045c7808))


### Chores

* **internal:** fix MCP Dockerfiles so they can be built without buildkit ([b11e333](https://github.com/lithic-com/lithic-node/commit/b11e3337b479aa0b2eab7ae5aaa914d5ab0cd599))
* **internal:** fix MCP Dockerfiles so they can be built without buildkit ([d654204](https://github.com/lithic-com/lithic-node/commit/d654204ff237b1ff579d704fd69518ff5f604dc0))
* **internal:** make MCP code execution location configurable via a flag ([d7ce232](https://github.com/lithic-com/lithic-node/commit/d7ce232aec15b1fd054e8ef2b29d19d54627fcea))
* **internal:** move stringifyQuery implementation to internal function ([18e4250](https://github.com/lithic-com/lithic-node/commit/18e4250eccfe59f8e09a7c017cfa3745ad0b1d99))
* **internal:** upgrade @modelcontextprotocol/sdk and hono ([7e9cc7b](https://github.com/lithic-com/lithic-node/commit/7e9cc7b6d308347668dec9dc874cb0c3048fa17b))
* **mcp:** correctly update version in sync with sdk ([71e0dc6](https://github.com/lithic-com/lithic-node/commit/71e0dc6a360f33aacffbd34619282022d8128060))
* update mock server docs ([6657e0d](https://github.com/lithic-com/lithic-node/commit/6657e0d898b31c05c58a76c6babff472fc1dfbef))


### Documentation

* Remove CONDITIONAL_BLOCK from docs ([79f3258](https://github.com/lithic-com/lithic-node/commit/79f3258e3eb1813e2dbded5b0abc956873035654))

## 0.129.0 (2026-02-19)

Full Changelog: [v0.128.0...v0.129.0](https://github.com/lithic-com/lithic-node/compare/v0.128.0...v0.129.0)
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -60,15 +60,15 @@ $ yarn link lithic
# With pnpm
$ pnpm link --global
$ cd ../my-package
$ pnpm link -global lithic
$ pnpm link --global lithic
```

## Running tests

Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.

```sh
$ npx prism mock path/to/your/openapi.yml
$ ./scripts/mock
```

```sh
Expand Down
5 changes: 5 additions & 0 deletions MIGRATION.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ client.parents.children.retrieve('c_456', { parent_id: 'p_123' });
This affects the following methods:

- `client.accountHolders.retrieveDocument()`
- `client.accountHolders.entities.delete()`
- `client.authRules.v2.backtests.retrieve()`
- `client.cards.financialTransactions.retrieve()`
- `client.disputes.deleteEvidence()`
Expand All @@ -64,6 +65,9 @@ This affects the following methods:
- `client.financialAccounts.statements.retrieve()`
- `client.financialAccounts.statements.lineItems.list()`
- `client.financialAccounts.loanTapes.retrieve()`
- `client.financialAccounts.interestTierSchedule.retrieve()`
- `client.financialAccounts.interestTierSchedule.update()`
- `client.financialAccounts.interestTierSchedule.delete()`

### URI encoded path parameters

Expand Down Expand Up @@ -127,6 +131,7 @@ client.example.list(undefined, { headers: { ... } });
- `client.financialAccounts.creditConfiguration.update()`
- `client.financialAccounts.statements.list()`
- `client.financialAccounts.loanTapes.list()`
- `client.financialAccounts.interestTierSchedule.list()`
- `client.transactions.list()`
- `client.externalBankAccounts.list()`
- `client.externalBankAccounts.retryMicroDeposits()`
Expand Down
86 changes: 62 additions & 24 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,29 +40,41 @@ Methods:

Types:

- <code><a href="./src/resources/account-holders.ts">AccountHolder</a></code>
- <code><a href="./src/resources/account-holders.ts">AddressUpdate</a></code>
- <code><a href="./src/resources/account-holders.ts">KYB</a></code>
- <code><a href="./src/resources/account-holders.ts">KYBBusinessEntity</a></code>
- <code><a href="./src/resources/account-holders.ts">KYC</a></code>
- <code><a href="./src/resources/account-holders.ts">KYCExempt</a></code>
- <code><a href="./src/resources/account-holders.ts">RequiredDocument</a></code>
- <code><a href="./src/resources/account-holders.ts">AccountHolderCreateResponse</a></code>
- <code><a href="./src/resources/account-holders.ts">AccountHolderUpdateResponse</a></code>
- <code><a href="./src/resources/account-holders.ts">AccountHolderListDocumentsResponse</a></code>
- <code><a href="./src/resources/account-holders.ts">AccountHolderSimulateEnrollmentReviewResponse</a></code>

Methods:

- <code title="post /v1/account_holders">client.accountHolders.<a href="./src/resources/account-holders.ts">create</a>({ ...params }) -> AccountHolderCreateResponse</code>
- <code title="get /v1/account_holders/{account_holder_token}">client.accountHolders.<a href="./src/resources/account-holders.ts">retrieve</a>(accountHolderToken) -> AccountHolder</code>
- <code title="patch /v1/account_holders/{account_holder_token}">client.accountHolders.<a href="./src/resources/account-holders.ts">update</a>(accountHolderToken, { ...params }) -> AccountHolderUpdateResponse</code>
- <code title="get /v1/account_holders">client.accountHolders.<a href="./src/resources/account-holders.ts">list</a>({ ...params }) -> AccountHoldersSinglePage</code>
- <code title="get /v1/account_holders/{account_holder_token}/documents">client.accountHolders.<a href="./src/resources/account-holders.ts">listDocuments</a>(accountHolderToken) -> AccountHolderListDocumentsResponse</code>
- <code title="get /v1/account_holders/{account_holder_token}/documents/{document_token}">client.accountHolders.<a href="./src/resources/account-holders.ts">retrieveDocument</a>(documentToken, { ...params }) -> Document</code>
- <code title="post /v1/simulate/account_holders/enrollment_document_review">client.accountHolders.<a href="./src/resources/account-holders.ts">simulateEnrollmentDocumentReview</a>({ ...params }) -> Document</code>
- <code title="post /v1/simulate/account_holders/enrollment_review">client.accountHolders.<a href="./src/resources/account-holders.ts">simulateEnrollmentReview</a>({ ...params }) -> AccountHolderSimulateEnrollmentReviewResponse</code>
- <code title="post /v1/account_holders/{account_holder_token}/documents">client.accountHolders.<a href="./src/resources/account-holders.ts">uploadDocument</a>(accountHolderToken, { ...params }) -> Document</code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolder</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AddressUpdate</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">KYB</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">KYBBusinessEntity</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">KYC</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">KYCExempt</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">RequiredDocument</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolderCreateResponse</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolderUpdateResponse</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolderListDocumentsResponse</a></code>
- <code><a href="./src/resources/account-holders/account-holders.ts">AccountHolderSimulateEnrollmentReviewResponse</a></code>

Methods:

- <code title="post /v1/account_holders">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">create</a>({ ...params }) -> AccountHolderCreateResponse</code>
- <code title="get /v1/account_holders/{account_holder_token}">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">retrieve</a>(accountHolderToken) -> AccountHolder</code>
- <code title="patch /v1/account_holders/{account_holder_token}">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">update</a>(accountHolderToken, { ...params }) -> AccountHolderUpdateResponse</code>
- <code title="get /v1/account_holders">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">list</a>({ ...params }) -> AccountHoldersSinglePage</code>
- <code title="get /v1/account_holders/{account_holder_token}/documents">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">listDocuments</a>(accountHolderToken) -> AccountHolderListDocumentsResponse</code>
- <code title="get /v1/account_holders/{account_holder_token}/documents/{document_token}">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">retrieveDocument</a>(documentToken, { ...params }) -> Document</code>
- <code title="post /v1/simulate/account_holders/enrollment_document_review">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">simulateEnrollmentDocumentReview</a>({ ...params }) -> Document</code>
- <code title="post /v1/simulate/account_holders/enrollment_review">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">simulateEnrollmentReview</a>({ ...params }) -> AccountHolderSimulateEnrollmentReviewResponse</code>
- <code title="post /v1/account_holders/{account_holder_token}/documents">client.accountHolders.<a href="./src/resources/account-holders/account-holders.ts">uploadDocument</a>(accountHolderToken, { ...params }) -> Document</code>

## Entities

Types:

- <code><a href="./src/resources/account-holders/entities.ts">AccountHolderEntity</a></code>
- <code><a href="./src/resources/account-holders/entities.ts">EntityCreateResponse</a></code>

Methods:

- <code title="post /v1/account_holders/{account_holder_token}/entities">client.accountHolders.entities.<a href="./src/resources/account-holders/entities.ts">create</a>(accountHolderToken, { ...params }) -> EntityCreateResponse</code>
- <code title="delete /v1/account_holders/{account_holder_token}/entities/{entity_token}">client.accountHolders.entities.<a href="./src/resources/account-holders/entities.ts">delete</a>(entityToken, { ...params }) -> AccountHolderEntity</code>

# AuthRules

Expand Down Expand Up @@ -142,7 +154,7 @@ Methods:
Types:

- <code><a href="./src/resources/tokenizations.ts">Device</a></code>
- <code><a href="./src/resources/tokenizations.ts">DigitalWalletTokenMetadata</a></code>
- <code><a href="./src/resources/tokenizations.ts">TokenMetadata</a></code>
- <code><a href="./src/resources/tokenizations.ts">Tokenization</a></code>
- <code><a href="./src/resources/tokenizations.ts">TokenizationDeclineReason</a></code>
- <code><a href="./src/resources/tokenizations.ts">TokenizationRuleResult</a></code>
Expand Down Expand Up @@ -386,6 +398,32 @@ Methods:
- <code title="get /v1/financial_accounts/{financial_account_token}/loan_tapes/{loan_tape_token}">client.financialAccounts.loanTapes.<a href="./src/resources/financial-accounts/loan-tapes.ts">retrieve</a>(loanTapeToken, { ...params }) -> LoanTape</code>
- <code title="get /v1/financial_accounts/{financial_account_token}/loan_tapes">client.financialAccounts.loanTapes.<a href="./src/resources/financial-accounts/loan-tapes.ts">list</a>(financialAccountToken, { ...params }) -> LoanTapesCursorPage</code>

## LoanTapeConfiguration

Types:

- <code><a href="./src/resources/financial-accounts/loan-tape-configuration.ts">LoanTapeConfiguration</a></code>
- <code><a href="./src/resources/financial-accounts/loan-tape-configuration.ts">LoanTapeRebuildConfiguration</a></code>

Methods:

- <code title="get /v1/financial_accounts/{financial_account_token}/loan_tape_configuration">client.financialAccounts.loanTapeConfiguration.<a href="./src/resources/financial-accounts/loan-tape-configuration.ts">retrieve</a>(financialAccountToken) -> LoanTapeConfiguration</code>

## InterestTierSchedule

Types:

- <code><a href="./src/resources/financial-accounts/interest-tier-schedule.ts">CategoryTier</a></code>
- <code><a href="./src/resources/financial-accounts/interest-tier-schedule.ts">InterestTierSchedule</a></code>

Methods:

- <code title="post /v1/financial_accounts/{financial_account_token}/interest_tier_schedule">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">create</a>(financialAccountToken, { ...params }) -> InterestTierSchedule</code>
- <code title="get /v1/financial_accounts/{financial_account_token}/interest_tier_schedule/{effective_date}">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">retrieve</a>(effectiveDate, { ...params }) -> InterestTierSchedule</code>
- <code title="put /v1/financial_accounts/{financial_account_token}/interest_tier_schedule/{effective_date}">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">update</a>(effectiveDate, { ...params }) -> InterestTierSchedule</code>
- <code title="get /v1/financial_accounts/{financial_account_token}/interest_tier_schedule">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">list</a>(financialAccountToken, { ...params }) -> InterestTierSchedulesSinglePage</code>
- <code title="delete /v1/financial_accounts/{financial_account_token}/interest_tier_schedule/{effective_date}">client.financialAccounts.interestTierSchedule.<a href="./src/resources/financial-accounts/interest-tier-schedule.ts">delete</a>(effectiveDate, { ...params }) -> void</code>

# Transactions

Types:
Expand Down
136 changes: 136 additions & 0 deletions bin/migration-config.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,39 @@
}
]
},
{
"base": "accountHolders.entities",
"name": "delete",
"params": [
{
"type": "param",
"key": "entity_token",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "account_holder_token",
"location": "path"
},
{
"type": "param",
"key": "entity_token",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "authRules.v2.backtests",
"name": "retrieve",
Expand Down Expand Up @@ -336,6 +369,109 @@
"type": "options"
}
]
},
{
"base": "financialAccounts.interestTierSchedule",
"name": "retrieve",
"params": [
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "financial_account_token",
"location": "path"
},
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "options"
}
]
},
{
"base": "financialAccounts.interestTierSchedule",
"name": "update",
"params": [
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "financial_account_token",
"location": "path"
},
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
]
},
{
"base": "financialAccounts.interestTierSchedule",
"name": "delete",
"params": [
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "params",
"maybeOverload": false
},
{
"type": "options"
}
],
"oldParams": [
{
"type": "param",
"key": "financial_account_token",
"location": "path"
},
{
"type": "param",
"key": "effective_date",
"location": "path"
},
{
"type": "options"
}
]
}
]
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "lithic",
"version": "0.129.0",
"version": "0.130.0",
"description": "The official TypeScript library for the Lithic API",
"author": "Lithic <sdk-feedback@lithic.com>",
"types": "dist/index.d.ts",
Expand Down
9 changes: 7 additions & 2 deletions packages/mcp-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,12 @@ COPY . .
RUN yarn install --frozen-lockfile && \
yarn build

# Production stage
FROM node:24-alpine
FROM denoland/deno:alpine-2.7.1

# Install node and npm
RUN apk add --no-cache nodejs npm

ENV LD_LIBRARY_PATH=/usr/lib:/usr/local/lib

# Add non-root user
RUN addgroup -g 1001 -S nodejs && adduser -S nodejs -u 1001
Expand All @@ -57,6 +61,7 @@ COPY --from=builder /build/dist ./node_modules/lithic

# Change ownership to nodejs user
RUN chown -R nodejs:nodejs /app
RUN chown -R nodejs:nodejs /deno-dir

# Switch to non-root user
USER nodejs
Expand Down
Loading