Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 @@
{
".": "4.14.0"
".": "4.15.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 167
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/modern-treasury%2Fmodern-treasury-257040c089ce26f92854bb3b6f670346234fadcdb0c5cff409cfef36b29b10b3.yml
openapi_spec_hash: 15e400c236067ffb59f207b5332c8a34
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/modern-treasury%2Fmodern-treasury-e5103cd667934fca2733a92a23accd5ba04207204020f40a4c122b74b8d11e9f.yml
openapi_spec_hash: ce81d5cd341150ac103299e70c5b24b0
config_hash: 55a5583c24314820a65f792e2ebab57b
30 changes: 30 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,35 @@
# Changelog

## 4.15.0 (2026-04-22)

Full Changelog: [v4.14.0...v4.15.0](https://github.com/Modern-Treasury/modern-treasury-node/compare/v4.14.0...v4.15.0)

### Features

* **api:** api update ([9c77617](https://github.com/Modern-Treasury/modern-treasury-node/commit/9c77617d9d2e0fcb4f85cc1318e274191ecc75fb))
* **api:** api update ([ec856a2](https://github.com/Modern-Treasury/modern-treasury-node/commit/ec856a2a33a6885669408459ad53d153d274f3e7))
* **api:** api update ([73cda49](https://github.com/Modern-Treasury/modern-treasury-node/commit/73cda499029d2f69cdd9dbff5789cfd7ae1b4e01))
* **api:** api update ([7bf3477](https://github.com/Modern-Treasury/modern-treasury-node/commit/7bf34774b03a4f840777ae0cd5ee1e7c614ef1de))
* **api:** api update ([4ab8248](https://github.com/Modern-Treasury/modern-treasury-node/commit/4ab824831573ae58db908285a58d97e60820257f))
* **api:** api update ([7f7e77a](https://github.com/Modern-Treasury/modern-treasury-node/commit/7f7e77a803548ffcc5740eba4c9106858834013b))
* **api:** api update ([aac4500](https://github.com/Modern-Treasury/modern-treasury-node/commit/aac450006214bef41fb5f5d41292a5c1ac752643))
* **api:** api update ([2170dea](https://github.com/Modern-Treasury/modern-treasury-node/commit/2170dea05d4edd055a9e899861ec3129bcd317f2))
* **api:** api update ([3b6b75d](https://github.com/Modern-Treasury/modern-treasury-node/commit/3b6b75dea5cc8c2b1ce0a3c92c72471cc1cae104))


### Chores

* fix example snippet imports ([8eafc54](https://github.com/Modern-Treasury/modern-treasury-node/commit/8eafc542749661500fef0036cea34e36c44dbab7))
* **internal:** codegen related update ([34e49c4](https://github.com/Modern-Treasury/modern-treasury-node/commit/34e49c47f45bdde543e75e5675f65069ca4460b6))
* **internal:** more robust bootstrap script ([84c2ad9](https://github.com/Modern-Treasury/modern-treasury-node/commit/84c2ad91cccf10965967affabb3121898a229d01))
* **internal:** show error causes in MCP servers when running in local mode ([397a02b](https://github.com/Modern-Treasury/modern-treasury-node/commit/397a02b787806db4dfd9ea43aa611b74edc87d67))
* **internal:** update docs ordering ([6055b9a](https://github.com/Modern-Treasury/modern-treasury-node/commit/6055b9a99eed8652ecad6c1acb3097bdb4888723))


### Documentation

* improve examples ([39b9ec6](https://github.com/Modern-Treasury/modern-treasury-node/commit/39b9ec62eb78e4db89b2d4e5f1206c74fbf6d207))

## 4.14.0 (2026-04-08)

Full Changelog: [v4.13.0...v4.14.0](https://github.com/Modern-Treasury/modern-treasury-node/compare/v4.13.0...v4.14.0)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "modern-treasury",
"version": "4.14.0",
"version": "4.15.0",
"description": "The official TypeScript library for the Modern Treasury API",
"author": "Modern Treasury <sdk-feedback@moderntreasury.com>",
"types": "dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"dxt_version": "0.2",
"name": "modern-treasury-mcp",
"version": "4.14.0",
"version": "4.15.0",
"description": "The official MCP Server for the Modern Treasury API",
"author": {
"name": "Modern Treasury",
Expand Down
2 changes: 1 addition & 1 deletion packages/mcp-server/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "modern-treasury-mcp",
"version": "4.14.0",
"version": "4.15.0",
"description": "The official MCP Server for the Modern Treasury API",
"author": "Modern Treasury <sdk-feedback@moderntreasury.com>",
"types": "dist/index.d.ts",
Expand Down
3 changes: 2 additions & 1 deletion packages/mcp-server/src/code-tool-worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,8 @@ function makeSdkProxy<T extends object>(obj: T, { path, isBelievedBad = false }:

function parseError(code: string, error: unknown): string | undefined {
if (!(error instanceof Error)) return;
const message = error.name ? `${error.name}: ${error.message}` : error.message;
const cause = error.cause instanceof Error ? `: ${error.cause.message}` : '';
const message = error.name ? `${error.name}: ${error.message}${cause}` : `${error.message}${cause}`;
try {
// Deno uses V8; the first "<anonymous>:LINE:COLUMN" is the top of stack.
const lineNumber = error.stack?.match(/<anonymous>:([0-9]+):[0-9]+/)?.[1];
Expand Down
80 changes: 44 additions & 36 deletions packages/mcp-server/src/local-docs-search.ts

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion packages/mcp-server/src/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export const newMcpServer = async ({
new McpServer(
{
name: 'modern_treasury_api',
version: '4.14.0',
version: '4.15.0',
},
{
instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }),
Expand Down
2 changes: 1 addition & 1 deletion scripts/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e

cd "$(dirname "$0")/.."

if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "$SKIP_BREW" != "1" ] && [ -t 0 ]; then
if [ -f "Brewfile" ] && [ "$(uname -s)" = "Darwin" ] && [ "${SKIP_BREW:-}" != "1" ] && [ -t 0 ]; then
brew bundle check >/dev/null 2>&1 || {
echo -n "==> Install Homebrew dependencies? (y/N): "
read -r response
Expand Down
12 changes: 0 additions & 12 deletions src/resources/bulk-requests.ts
Original file line number Diff line number Diff line change
Expand Up @@ -594,15 +594,13 @@ export namespace BulkRequestCreateParams {
| 'ach'
| 'au_becs'
| 'bacs'
| 'base'
| 'book'
| 'card'
| 'chats'
| 'check'
| 'cross_border'
| 'dk_nets'
| 'eft'
| 'ethereum'
| 'gb_fps'
| 'hu_ics'
| 'interac'
Expand All @@ -612,7 +610,6 @@ export namespace BulkRequestCreateParams {
| 'nics'
| 'nz_becs'
| 'pl_elixir'
| 'polygon'
| 'provxchange'
| 'ro_sent'
| 'rtp'
Expand All @@ -623,7 +620,6 @@ export namespace BulkRequestCreateParams {
| 'sic'
| 'signet'
| 'sknbi'
| 'solana'
| 'stablecoin'
| 'wire'
| 'zengin';
Expand Down Expand Up @@ -881,15 +877,13 @@ export namespace BulkRequestCreateParams {
| 'ach'
| 'au_becs'
| 'bacs'
| 'base'
| 'book'
| 'card'
| 'chats'
| 'check'
| 'cross_border'
| 'dk_nets'
| 'eft'
| 'ethereum'
| 'gb_fps'
| 'hu_ics'
| 'interac'
Expand All @@ -899,7 +893,6 @@ export namespace BulkRequestCreateParams {
| 'nics'
| 'nz_becs'
| 'pl_elixir'
| 'polygon'
| 'provxchange'
| 'ro_sent'
| 'rtp'
Expand All @@ -910,7 +903,6 @@ export namespace BulkRequestCreateParams {
| 'sic'
| 'signet'
| 'sknbi'
| 'solana'
| 'stablecoin'
| 'wire'
| 'zengin'
Expand Down Expand Up @@ -1349,15 +1341,13 @@ export namespace BulkRequestCreateParams {
| 'ach'
| 'au_becs'
| 'bacs'
| 'base'
| 'book'
| 'card'
| 'chats'
| 'check'
| 'cross_border'
| 'dk_nets'
| 'eft'
| 'ethereum'
| 'gb_fps'
| 'hu_ics'
| 'interac'
Expand All @@ -1367,7 +1357,6 @@ export namespace BulkRequestCreateParams {
| 'nics'
| 'nz_becs'
| 'pl_elixir'
| 'polygon'
| 'provxchange'
| 'ro_sent'
| 'rtp'
Expand All @@ -1378,7 +1367,6 @@ export namespace BulkRequestCreateParams {
| 'sic'
| 'signet'
| 'sknbi'
| 'solana'
| 'stablecoin'
| 'wire'
| 'zengin';
Expand Down
4 changes: 0 additions & 4 deletions src/resources/counterparties.ts
Original file line number Diff line number Diff line change
Expand Up @@ -457,15 +457,13 @@ export namespace CounterpartyCreateParams {
| 'ach'
| 'au_becs'
| 'bacs'
| 'base'
| 'book'
| 'card'
| 'chats'
| 'check'
| 'cross_border'
| 'dk_nets'
| 'eft'
| 'ethereum'
| 'gb_fps'
| 'hu_ics'
| 'interac'
Expand All @@ -475,7 +473,6 @@ export namespace CounterpartyCreateParams {
| 'nics'
| 'nz_becs'
| 'pl_elixir'
| 'polygon'
| 'provxchange'
| 'ro_sent'
| 'rtp'
Expand All @@ -486,7 +483,6 @@ export namespace CounterpartyCreateParams {
| 'sic'
| 'signet'
| 'sknbi'
| 'solana'
| 'stablecoin'
| 'wire'
| 'zengin';
Expand Down
12 changes: 0 additions & 12 deletions src/resources/expected-payments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -258,15 +258,13 @@ export type ExpectedPaymentType =
| 'ach'
| 'au_becs'
| 'bacs'
| 'base'
| 'book'
| 'card'
| 'chats'
| 'check'
| 'cross_border'
| 'dk_nets'
| 'eft'
| 'ethereum'
| 'gb_fps'
| 'hu_ics'
| 'interac'
Expand All @@ -276,7 +274,6 @@ export type ExpectedPaymentType =
| 'nics'
| 'nz_becs'
| 'pl_elixir'
| 'polygon'
| 'provxchange'
| 'ro_sent'
| 'rtp'
Expand All @@ -287,7 +284,6 @@ export type ExpectedPaymentType =
| 'sic'
| 'signet'
| 'sknbi'
| 'solana'
| 'stablecoin'
| 'wire'
| 'zengin'
Expand Down Expand Up @@ -350,15 +346,13 @@ export interface ReconciliationRule {
| 'ach'
| 'au_becs'
| 'bacs'
| 'base'
| 'book'
| 'card'
| 'chats'
| 'check'
| 'cross_border'
| 'dk_nets'
| 'eft'
| 'ethereum'
| 'gb_fps'
| 'hu_ics'
| 'interac'
Expand All @@ -368,7 +362,6 @@ export interface ReconciliationRule {
| 'nics'
| 'nz_becs'
| 'pl_elixir'
| 'polygon'
| 'provxchange'
| 'ro_sent'
| 'rtp'
Expand All @@ -379,7 +372,6 @@ export interface ReconciliationRule {
| 'sic'
| 'signet'
| 'sknbi'
| 'solana'
| 'stablecoin'
| 'wire'
| 'zengin'
Expand Down Expand Up @@ -727,15 +719,13 @@ export interface ExpectedPaymentListParams extends PageParams {
| 'ach'
| 'au_becs'
| 'bacs'
| 'base'
| 'book'
| 'card'
| 'chats'
| 'check'
| 'cross_border'
| 'dk_nets'
| 'eft'
| 'ethereum'
| 'gb_fps'
| 'hu_ics'
| 'interac'
Expand All @@ -745,7 +735,6 @@ export interface ExpectedPaymentListParams extends PageParams {
| 'nics'
| 'nz_becs'
| 'pl_elixir'
| 'polygon'
| 'provxchange'
| 'ro_sent'
| 'rtp'
Expand All @@ -756,7 +745,6 @@ export interface ExpectedPaymentListParams extends PageParams {
| 'sic'
| 'signet'
| 'sknbi'
| 'solana'
| 'stablecoin'
| 'wire'
| 'zengin';
Expand Down
Loading
Loading