Skip to content
Open
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 @@
{
".": "1.12.0"
".": "1.13.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: 21
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-2fd773786951b723a5d7d7342bf1c6ab46f08bd2851e916d188faae379d5aa4c.yml
openapi_spec_hash: 7515d1e5fe3130b9f5411f7aacbc8a64
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-e572d88c2af6e4d7bc4f7e119357fd3f68b1e67d612fd1d3a657d916cde0087c.yml
openapi_spec_hash: a9fc7d947111bffa9184f8ca8be4a579
config_hash: 5509bb7a961ae2e79114b24c381606d4
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# Changelog

## 1.13.0 (2026-05-02)

Full Changelog: [v1.12.0...v1.13.0](https://github.com/CASParser/cas-parser-node/compare/v1.12.0...v1.13.0)

### Features

* **api:** api update ([0116ca5](https://github.com/CASParser/cas-parser-node/commit/0116ca5490a4dcc51738a366f5664cdb6c6ee973))
* **api:** api update ([e997de1](https://github.com/CASParser/cas-parser-node/commit/e997de1bf4b9578656c61393865da3deb365a1db))

## 1.12.0 (2026-05-01)

Full Changelog: [v1.11.0...v1.12.0](https://github.com/CASParser/cas-parser-node/compare/v1.11.0...v1.12.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": "cas-parser-node",
"version": "1.12.0",
"version": "1.13.0",
"description": "The official TypeScript library for the Cas Parser API",
"author": "Cas Parser <sameer@casparser.in>",
"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": "cas-parser-node-mcp",
"version": "1.12.0",
"version": "1.13.0",
"description": "The official MCP Server for the Cas Parser API",
"author": {
"name": "Cas Parser",
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": "cas-parser-node-mcp",
"version": "1.12.0",
"version": "1.13.0",
"description": "The official MCP Server for the Cas Parser API",
"author": "Cas Parser <sameer@casparser.in>",
"types": "dist/index.d.ts",
Expand Down
8 changes: 4 additions & 4 deletions packages/mcp-server/src/local-docs-search.ts
Original file line number Diff line number Diff line change
Expand Up @@ -844,14 +844,14 @@ const EMBEDDED_METHODS: MethodEntry[] = [
httpMethod: 'get',
summary: 'List Inbound Emails',
description:
'List all mailboxes associated with your API key.\nReturns active and inactive mailboxes (deleted mailboxes are excluded).\n',
'List all inbound emails associated with your API key.\nReturns active and paused inbound emails (deleted ones are excluded).\n',
stainlessPath: '(resource) inbound_email > (method) list',
qualified: 'client.inboundEmail.list',
params: ['limit?: number;', 'offset?: number;', "status?: 'active' | 'paused' | 'all';"],
response:
"{ inbound_emails?: { allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }[]; limit?: number; offset?: number; status?: string; total?: number; }",
markdown:
"## list\n\n`client.inboundEmail.list(limit?: number, offset?: number, status?: 'active' | 'paused' | 'all'): { inbound_emails?: object[]; limit?: number; offset?: number; status?: string; total?: number; }`\n\n**get** `/v4/inbound-email`\n\nList all mailboxes associated with your API key.\nReturns active and inactive mailboxes (deleted mailboxes are excluded).\n\n\n### Parameters\n\n- `limit?: number`\n Maximum number of inbound emails to return\n\n- `offset?: number`\n Pagination offset\n\n- `status?: 'active' | 'paused' | 'all'`\n Filter by status\n\n### Returns\n\n- `{ inbound_emails?: { allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }[]; limit?: number; offset?: number; status?: string; total?: number; }`\n\n - `inbound_emails?: { allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }[]`\n - `limit?: number`\n - `offset?: number`\n - `status?: string`\n - `total?: number`\n\n### Example\n\n```typescript\nimport CasParser from 'cas-parser-node';\n\nconst client = new CasParser();\n\nconst inboundEmails = await client.inboundEmail.list();\n\nconsole.log(inboundEmails);\n```",
"## list\n\n`client.inboundEmail.list(limit?: number, offset?: number, status?: 'active' | 'paused' | 'all'): { inbound_emails?: object[]; limit?: number; offset?: number; status?: string; total?: number; }`\n\n**get** `/v4/inbound-email`\n\nList all inbound emails associated with your API key.\nReturns active and paused inbound emails (deleted ones are excluded).\n\n\n### Parameters\n\n- `limit?: number`\n Maximum number of inbound emails to return\n\n- `offset?: number`\n Pagination offset\n\n- `status?: 'active' | 'paused' | 'all'`\n Filter by status\n\n### Returns\n\n- `{ inbound_emails?: { allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }[]; limit?: number; offset?: number; status?: string; total?: number; }`\n\n - `inbound_emails?: { allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }[]`\n - `limit?: number`\n - `offset?: number`\n - `status?: string`\n - `total?: number`\n\n### Example\n\n```typescript\nimport CasParser from 'cas-parser-node';\n\nconst client = new CasParser();\n\nconst inboundEmails = await client.inboundEmail.list();\n\nconsole.log(inboundEmails);\n```",
perLanguage: {
typescript: {
method: 'client.inboundEmail.list',
Expand Down Expand Up @@ -985,14 +985,14 @@ const EMBEDDED_METHODS: MethodEntry[] = [
endpoint: '/v4/inbound-email/{inbound_email_id}',
httpMethod: 'get',
summary: 'Get Inbound Email Details',
description: 'Retrieve details of a specific mailbox including statistics.\n',
description: 'Retrieve details of a specific inbound email including statistics.\n',
stainlessPath: '(resource) inbound_email > (method) retrieve',
qualified: 'client.inboundEmail.retrieve',
params: ['inbound_email_id: string;'],
response:
"{ allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }",
markdown:
"## retrieve\n\n`client.inboundEmail.retrieve(inbound_email_id: string): { allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }`\n\n**get** `/v4/inbound-email/{inbound_email_id}`\n\nRetrieve details of a specific mailbox including statistics.\n\n\n### Parameters\n\n- `inbound_email_id: string`\n\n### Returns\n\n- `{ allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }`\n An inbound email address for receiving forwarded CAS emails\n\n - `allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]`\n - `callback_url?: string`\n - `created_at?: string`\n - `email?: string`\n - `inbound_email_id?: string`\n - `metadata?: object`\n - `reference?: string`\n - `status?: 'active' | 'paused'`\n - `updated_at?: string`\n\n### Example\n\n```typescript\nimport CasParser from 'cas-parser-node';\n\nconst client = new CasParser();\n\nconst inboundEmail = await client.inboundEmail.retrieve('inbound_email_id');\n\nconsole.log(inboundEmail);\n```",
"## retrieve\n\n`client.inboundEmail.retrieve(inbound_email_id: string): { allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }`\n\n**get** `/v4/inbound-email/{inbound_email_id}`\n\nRetrieve details of a specific inbound email including statistics.\n\n\n### Parameters\n\n- `inbound_email_id: string`\n\n### Returns\n\n- `{ allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]; callback_url?: string; created_at?: string; email?: string; inbound_email_id?: string; metadata?: object; reference?: string; status?: 'active' | 'paused'; updated_at?: string; }`\n An inbound email address for receiving forwarded CAS emails\n\n - `allowed_sources?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech'[]`\n - `callback_url?: string`\n - `created_at?: string`\n - `email?: string`\n - `inbound_email_id?: string`\n - `metadata?: object`\n - `reference?: string`\n - `status?: 'active' | 'paused'`\n - `updated_at?: string`\n\n### Example\n\n```typescript\nimport CasParser from 'cas-parser-node';\n\nconst client = new CasParser();\n\nconst inboundEmail = await client.inboundEmail.retrieve('inbound_email_id');\n\nconsole.log(inboundEmail);\n```",
perLanguage: {
typescript: {
method: 'client.inboundEmail.retrieve',
Expand Down
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: 'cas_parser_node_api',
version: '1.12.0',
version: '1.13.0',
},
{
instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }),
Expand Down
42 changes: 21 additions & 21 deletions src/resources/inbound-email.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export class InboundEmail extends APIResource {
}

/**
* Retrieve details of a specific mailbox including statistics.
* Retrieve details of a specific inbound email including statistics.
*
* @example
* ```ts
Expand All @@ -63,8 +63,8 @@ export class InboundEmail extends APIResource {
}

/**
* List all mailboxes associated with your API key. Returns active and inactive
* mailboxes (deleted mailboxes are excluded).
* List all inbound emails associated with your API key. Returns active and paused
* inbound emails (deleted ones are excluded).
*
* @example
* ```ts
Expand Down Expand Up @@ -106,13 +106,13 @@ export interface InboundEmailCreateResponse {
allowed_sources?: Array<'cdsl' | 'nsdl' | 'cams' | 'kfintech'>;

/**
* Webhook URL for email notifications. `null` means files are only retrievable via
* `GET /v4/inbound-email/{id}/files` (pull delivery).
* Webhook URL for email notifications. If set, we POST each parsed email here. If
* omitted, files are only retrievable via `GET /v4/inbound-email/{id}/files`.
*/
callback_url?: string | null;
callback_url?: string;

/**
* When the mailbox was created
* When the inbound email was created
*/
created_at?: string;

Expand All @@ -137,12 +137,12 @@ export interface InboundEmailCreateResponse {
reference?: string | null;

/**
* Current mailbox status
* Current inbound email lifecycle status
*/
status?: 'active' | 'paused';

/**
* When the mailbox was last updated
* When the inbound email was last updated
*/
updated_at?: string;
}
Expand All @@ -157,13 +157,13 @@ export interface InboundEmailRetrieveResponse {
allowed_sources?: Array<'cdsl' | 'nsdl' | 'cams' | 'kfintech'>;

/**
* Webhook URL for email notifications. `null` means files are only retrievable via
* `GET /v4/inbound-email/{id}/files` (pull delivery).
* Webhook URL for email notifications. If set, we POST each parsed email here. If
* omitted, files are only retrievable via `GET /v4/inbound-email/{id}/files`.
*/
callback_url?: string | null;
callback_url?: string;

/**
* When the mailbox was created
* When the inbound email was created
*/
created_at?: string;

Expand All @@ -188,12 +188,12 @@ export interface InboundEmailRetrieveResponse {
reference?: string | null;

/**
* Current mailbox status
* Current inbound email lifecycle status
*/
status?: 'active' | 'paused';

/**
* When the mailbox was last updated
* When the inbound email was last updated
*/
updated_at?: string;
}
Expand Down Expand Up @@ -224,13 +224,13 @@ export namespace InboundEmailListResponse {
allowed_sources?: Array<'cdsl' | 'nsdl' | 'cams' | 'kfintech'>;

/**
* Webhook URL for email notifications. `null` means files are only retrievable via
* `GET /v4/inbound-email/{id}/files` (pull delivery).
* Webhook URL for email notifications. If set, we POST each parsed email here. If
* omitted, files are only retrievable via `GET /v4/inbound-email/{id}/files`.
*/
callback_url?: string | null;
callback_url?: string;

/**
* When the mailbox was created
* When the inbound email was created
*/
created_at?: string;

Expand All @@ -255,12 +255,12 @@ export namespace InboundEmailListResponse {
reference?: string | null;

/**
* Current mailbox status
* Current inbound email lifecycle status
*/
status?: 'active' | 'paused';

/**
* When the mailbox was last updated
* When the inbound email was last updated
*/
updated_at?: string;
}
Expand Down
6 changes: 5 additions & 1 deletion src/resources/inbox.ts
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,11 @@ export namespace InboxListCasFilesResponse {
cas_type?: 'cdsl' | 'nsdl' | 'cams' | 'kfintech';

/**
* URL expiration time in seconds (default 86400 = 24 hours)
* URL expiration time in seconds. Defaults vary by source:
*
* - Gmail Inbox Import: 86400 (24h)
* - Inbound Email with `callback_url` set: 172800 (48h)
* - Inbound Email without `callback_url`: aligned with the session TTL (~30 min)
*/
expires_in?: number;

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '1.12.0'; // x-release-please-version
export const VERSION = '1.13.0'; // x-release-please-version
Loading