Skip to content

Commit 72fb472

Browse files
Merge pull request #32 from CASParser/release-please--branches--main--changes--next--components--cas-parser-node
release: 1.17.0
2 parents e938231 + 85a941c commit 72fb472

12 files changed

Lines changed: 75 additions & 22 deletions

File tree

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "1.16.0"
2+
".": "1.17.0"
33
}

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 20
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-cd8e042a9746bbe9bd180614fccc7597b85f4e8f6a29da6cd2f4cbf831fb2fbe.yml
3-
openapi_spec_hash: e27c0d9cd8cdeb348c88e6c4e8777e39
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-4d179917b01ea51a3325e7b37ecbbb60d0ba8f60381fe715ff3ec31284ca8042.yml
3+
openapi_spec_hash: d027d37bd7051aa8c05fe1820c05b316
44
config_hash: 5509bb7a961ae2e79114b24c381606d4

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# Changelog
22

3+
## 1.17.0 (2026-08-14)
4+
5+
Full Changelog: [v1.16.0...v1.17.0](https://github.com/CASParser/cas-parser-node/compare/v1.16.0...v1.17.0)
6+
7+
### Features
8+
9+
* **api:** api update ([ffacb36](https://github.com/CASParser/cas-parser-node/commit/ffacb36d09eb78282047b9e895d565a771c18010))
10+
* **api:** api update ([369435d](https://github.com/CASParser/cas-parser-node/commit/369435dd43b66a0e9ad47bb7a1c64c859fe5d58c))
11+
12+
13+
### Chores
14+
15+
* **internal:** codegen related update ([12f0b90](https://github.com/CASParser/cas-parser-node/commit/12f0b90dbb65898e28e2523a79f9b874ac7491a5))
16+
317
## 1.16.0 (2026-08-02)
418

519
Full Changelog: [v1.15.0...v1.16.0](https://github.com/CASParser/cas-parser-node/compare/v1.15.0...v1.16.0)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cas-parser-node",
3-
"version": "1.16.0",
3+
"version": "1.17.0",
44
"description": "The official TypeScript library for the Cas Parser API",
55
"author": "Cas Parser <sameer@casparser.in>",
66
"types": "dist/index.d.ts",

packages/mcp-server/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"dxt_version": "0.2",
33
"name": "cas-parser-node-mcp",
4-
"version": "1.16.0",
4+
"version": "1.17.0",
55
"description": "The official MCP Server for the Cas Parser API",
66
"author": {
77
"name": "Cas Parser",

packages/mcp-server/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "cas-parser-node-mcp",
3-
"version": "1.16.0",
3+
"version": "1.17.0",
44
"description": "The official MCP Server for the Cas Parser API",
55
"author": "Cas Parser <sameer@casparser.in>",
66
"types": "dist/index.d.ts",

packages/mcp-server/src/local-docs-search.ts

Lines changed: 11 additions & 10 deletions
Large diffs are not rendered by default.

packages/mcp-server/src/server.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ export const newMcpServer = async ({
2828
new McpServer(
2929
{
3030
name: 'cas_parser_node_api',
31-
version: '1.16.0',
31+
version: '1.17.0',
3232
},
3333
{
3434
instructions: await getInstructions({ stainlessApiKey, customInstructionsPath }),

src/client.ts

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -822,7 +822,14 @@ export class CasParser {
822822
/**
823823
* Endpoints for importing CAS files directly from user email inboxes.
824824
*
825-
* **Supported Providers:** Gmail (more coming soon)
825+
* **Supported Providers:**
826+
*
827+
* - **Gmail** (`gmail`, default) — `@gmail.com` and Google Workspace domains
828+
* - **Microsoft** (`outlook`) — personal Microsoft accounts: `@outlook.com`,
829+
* `@hotmail.com`, `@live.com`, `@msn.com`, and localised variants such as
830+
* `@hotmail.co.uk`, `@live.in`, `@hotmail.fr`. Any other address registered
831+
* as a personal Microsoft account also works, including custom domains.
832+
* - **Zoho Mail** (`zoho`) — Zoho-hosted mailboxes, including custom domains
826833
*
827834
* **How it works:**
828835
* 1. Call `POST /v4/inbox/connect` to get an OAuth URL

src/resources/inbox.ts

Lines changed: 33 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,14 @@ import { RequestOptions } from '../internal/request-options';
88
/**
99
* Endpoints for importing CAS files directly from user email inboxes.
1010
*
11-
* **Supported Providers:** Gmail (more coming soon)
11+
* **Supported Providers:**
12+
*
13+
* - **Gmail** (`gmail`, default) — `@gmail.com` and Google Workspace domains
14+
* - **Microsoft** (`outlook`) — personal Microsoft accounts: `@outlook.com`,
15+
* `@hotmail.com`, `@live.com`, `@msn.com`, and localised variants such as
16+
* `@hotmail.co.uk`, `@live.in`, `@hotmail.fr`. Any other address registered
17+
* as a personal Microsoft account also works, including custom domains.
18+
* - **Zoho Mail** (`zoho`) — Zoho-hosted mailboxes, including custom domains
1219
*
1320
* **How it works:**
1421
* 1. Call `POST /v4/inbox/connect` to get an OAuth URL
@@ -66,7 +73,10 @@ export class Inbox extends APIResource {
6673
* - `state` - Your original state parameter
6774
*
6875
* **Store the `inbox_token` client-side** and use it for all subsequent inbox API
69-
* calls.
76+
* calls. The token is long-lived (it stores an encrypted refresh token), so a
77+
* single OAuth connect gives ongoing access to both historical and future CAS
78+
* statements in the user's inbox. Reuse the same token until the user revokes
79+
* access via `/v4/inbox/disconnect` or their provider's account settings.
7080
*
7181
* @example
7282
* ```ts
@@ -166,6 +176,11 @@ export interface InboxConnectEmailResponse {
166176
*/
167177
oauth_url?: string;
168178

179+
/**
180+
* The provider this OAuth URL was generated for
181+
*/
182+
provider?: 'gmail' | 'outlook' | 'zoho';
183+
169184
status?: string;
170185
}
171186

@@ -199,7 +214,7 @@ export namespace InboxListCasFilesResponse {
199214
/**
200215
* URL expiration time in seconds. Defaults vary by source:
201216
*
202-
* - Gmail Inbox Import: 86400 (24h)
217+
* - Email Inbox Import (Gmail, Outlook, Zoho): 86400 (24h)
203218
* - Inbound Email with `callback_url` set: 172800 (48h)
204219
* - Inbound Email without `callback_url`: aligned with the session TTL (~30 min)
205220
*/
@@ -256,6 +271,21 @@ export interface InboxConnectEmailParams {
256271
*/
257272
redirect_uri: string;
258273

274+
/**
275+
* Mail provider to connect. Defaults to `gmail`.
276+
*
277+
* - `gmail` - Google accounts: `@gmail.com` and Google Workspace domains.
278+
* - `outlook` - personal Microsoft accounts: `@outlook.com`, `@hotmail.com`,
279+
* `@live.com`, `@msn.com` and localised variants (`@hotmail.co.uk`, `@live.in`,
280+
* `@hotmail.fr`). Any other address registered as a personal Microsoft account
281+
* also works, including custom domains.
282+
* - `zoho` - Zoho Mail accounts, including custom domains hosted on Zoho.
283+
*
284+
* Any unrecognised value is treated as `gmail`. The resolved provider is returned
285+
* in the response.
286+
*/
287+
provider?: 'gmail' | 'outlook' | 'zoho';
288+
259289
/**
260290
* State parameter for CSRF protection (returned in redirect)
261291
*/

0 commit comments

Comments
 (0)