cas-parser-node 1.4.0 → 1.6.2
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 +118 -0
- package/LICENSE +1 -1
- package/README.md +30 -32
- package/client.d.mts +51 -7
- package/client.d.mts.map +1 -1
- package/client.d.ts +51 -7
- package/client.d.ts.map +1 -1
- package/client.js +56 -12
- package/client.js.map +1 -1
- package/client.mjs +56 -12
- package/client.mjs.map +1 -1
- package/internal/parse.d.mts.map +1 -1
- package/internal/parse.d.ts.map +1 -1
- package/internal/parse.js +5 -0
- package/internal/parse.js.map +1 -1
- package/internal/parse.mjs +5 -0
- package/internal/parse.mjs.map +1 -1
- package/internal/to-file.d.mts +1 -1
- package/internal/to-file.d.ts +1 -1
- package/internal/to-file.js +1 -1
- package/internal/to-file.mjs +1 -1
- package/internal/tslib.js +17 -17
- package/internal/utils/values.js +3 -3
- package/internal/utils/values.js.map +1 -1
- package/internal/utils/values.mjs +3 -3
- package/internal/utils/values.mjs.map +1 -1
- package/package.json +9 -10
- package/resources/access-token.d.mts +48 -0
- package/resources/access-token.d.mts.map +1 -0
- package/resources/access-token.d.ts +48 -0
- package/resources/access-token.d.ts.map +1 -0
- package/resources/access-token.js +30 -0
- package/resources/access-token.js.map +1 -0
- package/resources/access-token.mjs +26 -0
- package/resources/access-token.mjs.map +1 -0
- package/resources/{cas-parser.d.mts → cams-kfintech.d.mts} +282 -105
- package/resources/cams-kfintech.d.mts.map +1 -0
- package/resources/{cas-parser.d.ts → cams-kfintech.d.ts} +282 -105
- package/resources/cams-kfintech.d.ts.map +1 -0
- package/resources/cams-kfintech.js +18 -0
- package/resources/cams-kfintech.js.map +1 -0
- package/resources/cams-kfintech.mjs +14 -0
- package/resources/cams-kfintech.mjs.map +1 -0
- package/resources/cdsl/cdsl.d.mts +39 -0
- package/resources/cdsl/cdsl.d.mts.map +1 -0
- package/resources/cdsl/cdsl.d.ts +39 -0
- package/resources/cdsl/cdsl.d.ts.map +1 -0
- package/resources/cdsl/cdsl.js +31 -0
- package/resources/cdsl/cdsl.js.map +1 -0
- package/resources/cdsl/cdsl.mjs +26 -0
- package/resources/cdsl/cdsl.mjs.map +1 -0
- package/resources/cdsl/fetch.d.mts +91 -0
- package/resources/cdsl/fetch.d.mts.map +1 -0
- package/resources/cdsl/fetch.d.ts +91 -0
- package/resources/cdsl/fetch.d.ts.map +1 -0
- package/resources/cdsl/fetch.js +50 -0
- package/resources/cdsl/fetch.js.map +1 -0
- package/resources/cdsl/fetch.mjs +46 -0
- package/resources/cdsl/fetch.mjs.map +1 -0
- package/resources/cdsl/index.d.mts +3 -0
- package/resources/cdsl/index.d.mts.map +1 -0
- package/resources/cdsl/index.d.ts +3 -0
- package/resources/cdsl/index.d.ts.map +1 -0
- package/resources/cdsl/index.js +9 -0
- package/resources/cdsl/index.js.map +1 -0
- package/resources/cdsl/index.mjs +4 -0
- package/resources/cdsl/index.mjs.map +1 -0
- package/resources/cdsl.d.mts +2 -0
- package/resources/cdsl.d.mts.map +1 -0
- package/resources/cdsl.d.ts +2 -0
- package/resources/cdsl.d.ts.map +1 -0
- package/resources/cdsl.js +6 -0
- package/resources/cdsl.js.map +1 -0
- package/resources/cdsl.mjs +3 -0
- package/resources/cdsl.mjs.map +1 -0
- package/resources/contract-note.d.mts +323 -0
- package/resources/contract-note.d.mts.map +1 -0
- package/resources/contract-note.d.ts +323 -0
- package/resources/contract-note.d.ts.map +1 -0
- package/resources/contract-note.js +49 -0
- package/resources/contract-note.js.map +1 -0
- package/resources/contract-note.mjs +45 -0
- package/resources/contract-note.mjs.map +1 -0
- package/resources/credits.d.mts +47 -0
- package/resources/credits.d.mts.map +1 -0
- package/resources/credits.d.ts +47 -0
- package/resources/credits.d.ts.map +1 -0
- package/resources/credits.js +23 -0
- package/resources/credits.js.map +1 -0
- package/resources/credits.mjs +19 -0
- package/resources/credits.mjs.map +1 -0
- package/resources/inbox.d.mts +206 -0
- package/resources/inbox.d.mts.map +1 -0
- package/resources/inbox.d.ts +206 -0
- package/resources/inbox.d.ts.map +1 -0
- package/resources/inbox.js +109 -0
- package/resources/inbox.js.map +1 -0
- package/resources/inbox.mjs +105 -0
- package/resources/inbox.mjs.map +1 -0
- package/resources/index.d.mts +11 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +11 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +23 -5
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +11 -2
- package/resources/index.mjs.map +1 -1
- package/resources/kfintech.d.mts +53 -0
- package/resources/kfintech.d.mts.map +1 -0
- package/resources/kfintech.d.ts +53 -0
- package/resources/kfintech.d.ts.map +1 -0
- package/resources/kfintech.js +29 -0
- package/resources/kfintech.js.map +1 -0
- package/resources/kfintech.mjs +25 -0
- package/resources/kfintech.mjs.map +1 -0
- package/resources/logs.d.mts +129 -0
- package/resources/logs.d.mts.map +1 -0
- package/resources/logs.d.ts +129 -0
- package/resources/logs.d.ts.map +1 -0
- package/resources/logs.js +37 -0
- package/resources/logs.js.map +1 -0
- package/resources/logs.mjs +33 -0
- package/resources/logs.mjs.map +1 -0
- package/resources/nsdl.d.mts +30 -0
- package/resources/nsdl.d.mts.map +1 -0
- package/resources/nsdl.d.ts +30 -0
- package/resources/nsdl.d.ts.map +1 -0
- package/resources/nsdl.js +18 -0
- package/resources/nsdl.js.map +1 -0
- package/resources/nsdl.mjs +14 -0
- package/resources/nsdl.mjs.map +1 -0
- package/resources/smart.d.mts +31 -0
- package/resources/smart.d.mts.map +1 -0
- package/resources/smart.d.ts +31 -0
- package/resources/smart.d.ts.map +1 -0
- package/resources/smart.js +19 -0
- package/resources/smart.js.map +1 -0
- package/resources/smart.mjs +15 -0
- package/resources/smart.mjs.map +1 -0
- package/resources/verify-token.d.mts +28 -0
- package/resources/verify-token.d.mts.map +1 -0
- package/resources/verify-token.d.ts +28 -0
- package/resources/verify-token.d.ts.map +1 -0
- package/resources/verify-token.js +16 -0
- package/resources/verify-token.js.map +1 -0
- package/resources/verify-token.mjs +12 -0
- package/resources/verify-token.mjs.map +1 -0
- package/src/client.ts +143 -31
- package/src/internal/parse.ts +6 -0
- package/src/internal/to-file.ts +1 -1
- package/src/internal/utils/values.ts +3 -3
- package/src/resources/access-token.ts +63 -0
- package/src/resources/{cas-parser.ts → cams-kfintech.ts} +340 -130
- package/src/resources/cdsl/cdsl.ts +67 -0
- package/src/resources/cdsl/fetch.ts +122 -0
- package/src/resources/cdsl/index.ts +10 -0
- package/src/resources/cdsl.ts +3 -0
- package/src/resources/contract-note.ts +402 -0
- package/src/resources/credits.ts +58 -0
- package/src/resources/inbox.ts +283 -0
- package/src/resources/index.ts +31 -11
- package/src/resources/kfintech.ts +71 -0
- package/src/resources/logs.ts +170 -0
- package/src/resources/nsdl.ts +42 -0
- package/src/resources/smart.ts +46 -0
- package/src/resources/verify-token.ts +36 -0
- 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/resources/cas-generator.d.mts +0 -56
- package/resources/cas-generator.d.mts.map +0 -1
- package/resources/cas-generator.d.ts +0 -56
- package/resources/cas-generator.d.ts.map +0 -1
- package/resources/cas-generator.js +0 -27
- package/resources/cas-generator.js.map +0 -1
- package/resources/cas-generator.mjs +0 -23
- package/resources/cas-generator.mjs.map +0 -1
- package/resources/cas-parser.d.mts.map +0 -1
- package/resources/cas-parser.d.ts.map +0 -1
- package/resources/cas-parser.js +0 -43
- package/resources/cas-parser.js.map +0 -1
- package/resources/cas-parser.mjs +0 -39
- package/resources/cas-parser.mjs.map +0 -1
- package/src/resources/cas-generator.ts +0 -75
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,123 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.6.2 (2026-02-14)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v1.6.1...v1.6.2](https://github.com/CASParser/cas-parser-node/compare/v1.6.1...v1.6.2)
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
* update SDK settings ([05b29e9](https://github.com/CASParser/cas-parser-node/commit/05b29e9d60bfd19087cb14cabc32f2c8221e8e8a))
|
|
10
|
+
* update SDK settings ([2361eff](https://github.com/CASParser/cas-parser-node/commit/2361eff0fb2b2cad4781d0bcf3cbe04524446732))
|
|
11
|
+
|
|
12
|
+
## 1.6.1 (2026-02-14)
|
|
13
|
+
|
|
14
|
+
Full Changelog: [v1.6.0...v1.6.1](https://github.com/CASParser/cas-parser-node/compare/v1.6.0...v1.6.1)
|
|
15
|
+
|
|
16
|
+
### Chores
|
|
17
|
+
|
|
18
|
+
* **internal:** configure MCP Server hosting ([e23865a](https://github.com/CASParser/cas-parser-node/commit/e23865ad1da35011a6c98f5e1f3794de43346609))
|
|
19
|
+
|
|
20
|
+
## 1.6.0 (2026-02-14)
|
|
21
|
+
|
|
22
|
+
Full Changelog: [v1.5.1...v1.6.0](https://github.com/CASParser/cas-parser-node/compare/v1.5.1...v1.6.0)
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* **api:** manual updates ([c483f9f](https://github.com/CASParser/cas-parser-node/commit/c483f9fa85bda72c8cd35cb36b84b7b618b7ecc9))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
### Chores
|
|
30
|
+
|
|
31
|
+
* configure new SDK language ([c5b4f8a](https://github.com/CASParser/cas-parser-node/commit/c5b4f8a53aa3d56d53802f1dcca10188b614bc47))
|
|
32
|
+
* update SDK settings ([165d960](https://github.com/CASParser/cas-parser-node/commit/165d960d998ef169f8cdbd05377ee5c386202d19))
|
|
33
|
+
|
|
34
|
+
## 1.5.1 (2026-02-14)
|
|
35
|
+
|
|
36
|
+
Full Changelog: [v1.5.0...v1.5.1](https://github.com/CASParser/cas-parser-node/compare/v1.5.0...v1.5.1)
|
|
37
|
+
|
|
38
|
+
### Chores
|
|
39
|
+
|
|
40
|
+
* **internal:** configure MCP Server hosting ([ef69e28](https://github.com/CASParser/cas-parser-node/commit/ef69e288bdb8047c419c4aa1ff72ce1aedf1f93d))
|
|
41
|
+
|
|
42
|
+
## 1.5.0 (2026-02-14)
|
|
43
|
+
|
|
44
|
+
Full Changelog: [v1.4.1...v1.5.0](https://github.com/CASParser/cas-parser-node/compare/v1.4.1...v1.5.0)
|
|
45
|
+
|
|
46
|
+
### Features
|
|
47
|
+
|
|
48
|
+
* **api:** api update ([b944bed](https://github.com/CASParser/cas-parser-node/commit/b944bedc18587bce5f196925b243c1fb06627207))
|
|
49
|
+
* **api:** api update ([af9b876](https://github.com/CASParser/cas-parser-node/commit/af9b876e705aa393015cf79d917c968e4c888d02))
|
|
50
|
+
* **api:** api update ([0c09872](https://github.com/CASParser/cas-parser-node/commit/0c09872dbb4088a98f77562e5609003c2366bbfd))
|
|
51
|
+
* **api:** api update ([17e0044](https://github.com/CASParser/cas-parser-node/commit/17e00442b40feb5b6c5c300b39b660787b99d23b))
|
|
52
|
+
* **api:** api update ([3047e70](https://github.com/CASParser/cas-parser-node/commit/3047e70310ddf1dd571c70c4683b01041579bf5f))
|
|
53
|
+
* **api:** api update ([7f71235](https://github.com/CASParser/cas-parser-node/commit/7f712351a3d5349fff33bf321ab946a58a8ae015))
|
|
54
|
+
* **mcp:** add docs search tool ([e2afa83](https://github.com/CASParser/cas-parser-node/commit/e2afa8394a7f891e90526dffeab493f4033ebfe0))
|
|
55
|
+
* **mcp:** add option for including docs tools ([e39c90e](https://github.com/CASParser/cas-parser-node/commit/e39c90ed1a75114d95ccae8183f69983331bf7c2))
|
|
56
|
+
* **mcp:** enable experimental docs search tool ([86b23ff](https://github.com/CASParser/cas-parser-node/commit/86b23ff7a185038d52d18395f7cccb68716affed))
|
|
57
|
+
* **mcp:** enable optional code execution tool on http mcp servers ([c65e4a3](https://github.com/CASParser/cas-parser-node/commit/c65e4a343bc9f6d6064e5c3a416630ef3880aa9e))
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
### Bug Fixes
|
|
61
|
+
|
|
62
|
+
* **ci:** set permissions for DXT publish action ([461a411](https://github.com/CASParser/cas-parser-node/commit/461a411c1491f80b951618ec83a117667da2c786))
|
|
63
|
+
* **mcpb:** pin @anthropic-ai/mcpb version ([3a1120e](https://github.com/CASParser/cas-parser-node/commit/3a1120e08ae1f95374532f8711918b20ad6b74c1))
|
|
64
|
+
* **mcp:** fix cli argument parsing logic ([6d18c3d](https://github.com/CASParser/cas-parser-node/commit/6d18c3d887c074a25205c62dd3a461fff1424d28))
|
|
65
|
+
* **mcp:** resolve a linting issue in server code ([691d0c1](https://github.com/CASParser/cas-parser-node/commit/691d0c124350d54df029a9fa2873a85369615f7d))
|
|
66
|
+
* **mcp:** return tool execution error on jq failure ([b36d83b](https://github.com/CASParser/cas-parser-node/commit/b36d83bad328f0cfe7eb66ec2472ab0611ea079b))
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Performance Improvements
|
|
70
|
+
|
|
71
|
+
* faster formatting ([5e72001](https://github.com/CASParser/cas-parser-node/commit/5e72001cfce74462351337f831f066cfdd500db4))
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
### Chores
|
|
75
|
+
|
|
76
|
+
* **codegen:** internal codegen update ([63d6cd7](https://github.com/CASParser/cas-parser-node/commit/63d6cd75e8ec5d1985cbaf203bd60a4172c3cbd6))
|
|
77
|
+
* do not install brew dependencies in ./scripts/bootstrap by default ([d4fb00e](https://github.com/CASParser/cas-parser-node/commit/d4fb00e57c79b1b2420cd1fd4d3843ee1e73675d))
|
|
78
|
+
* extract some types in mcp docs ([464c4ad](https://github.com/CASParser/cas-parser-node/commit/464c4adaf3e55bba56c65b932686b196057816c8))
|
|
79
|
+
* **internal:** codegen related update ([03494e0](https://github.com/CASParser/cas-parser-node/commit/03494e0cfbecc96d136297acb7cc3c44ec622c63))
|
|
80
|
+
* **internal:** codegen related update ([4d1a0f4](https://github.com/CASParser/cas-parser-node/commit/4d1a0f4799890a888f01eb528ca0d2d3a798b0cd))
|
|
81
|
+
* **internal:** codegen related update ([22c7ea2](https://github.com/CASParser/cas-parser-node/commit/22c7ea2ba63601478bc3d9ad534ff0df493f4c8c))
|
|
82
|
+
* **internal:** fix incremental formatting in some cases ([170eef2](https://github.com/CASParser/cas-parser-node/commit/170eef2a9573b4a2c3a51f4a8979a4d8cb49ce77))
|
|
83
|
+
* **internal:** gitignore .mcpb files ([037b423](https://github.com/CASParser/cas-parser-node/commit/037b423d403f4af547043cc73164df04fcbe8115))
|
|
84
|
+
* **internal:** grammar fix (it's -> its) ([0f7008c](https://github.com/CASParser/cas-parser-node/commit/0f7008c68019fc03ae354f85839784008e838eac))
|
|
85
|
+
* **internal:** ignore .eslintcache ([475202b](https://github.com/CASParser/cas-parser-node/commit/475202b2ce09234a57356ce5a1dd466f3122e9a8))
|
|
86
|
+
* **internal:** remove .eslintcache ([8897700](https://github.com/CASParser/cas-parser-node/commit/8897700e7ebf141e8416adf62a78a679e37c55bc))
|
|
87
|
+
* **internal:** remove deprecated `compilerOptions.baseUrl` from tsconfig.json ([3e2894e](https://github.com/CASParser/cas-parser-node/commit/3e2894e798b721339c48214a6b8b2d932a3e2c02))
|
|
88
|
+
* **internal:** use npm pack for build uploads ([080eee4](https://github.com/CASParser/cas-parser-node/commit/080eee4a0de5730b86eabe4cdd9bf6831ed69713))
|
|
89
|
+
* **jsdoc:** fix [@link](https://github.com/link) annotations to refer only to parts of the package‘s public interface ([2c53c6a](https://github.com/CASParser/cas-parser-node/commit/2c53c6a40eae947ff82bf62021471d770f3154a0))
|
|
90
|
+
* mcp code tool explicit error message when missing a run function ([c1688e1](https://github.com/CASParser/cas-parser-node/commit/c1688e1762adac87ce781019f0c7e3797d6cbc20))
|
|
91
|
+
* **mcp:** add friendlier MCP code tool errors on incorrect method invocations ([92613e9](https://github.com/CASParser/cas-parser-node/commit/92613e96bb14ed9de8d1042cbb30d580d44a4fa7))
|
|
92
|
+
* **mcp:** add line numbers to code tool errors ([b3c083e](https://github.com/CASParser/cas-parser-node/commit/b3c083e9e828fa712b60904be1ab82a43679615c))
|
|
93
|
+
* **mcp:** allow pointing `docs_search` tool at other URLs ([5df72aa](https://github.com/CASParser/cas-parser-node/commit/5df72aac38114806d999acd0e266eb6c6abff4cc))
|
|
94
|
+
* **mcp:** clarify http auth error ([63e29fe](https://github.com/CASParser/cas-parser-node/commit/63e29fee0c13d900bab2f1abdc905c1cc519138a))
|
|
95
|
+
* **mcp:** rename dxt to mcpb ([4206154](https://github.com/CASParser/cas-parser-node/commit/4206154f0e8c7f82ce8c62b0729e4859af7fbda9))
|
|
96
|
+
* **mcp:** upgrade jq-web ([fb5ee4c](https://github.com/CASParser/cas-parser-node/commit/fb5ee4cee2cfc01cb3718e7b71b6e0573e1128aa))
|
|
97
|
+
* update lockfile ([952858c](https://github.com/CASParser/cas-parser-node/commit/952858c419b88f6a5205daece2c9ecdac5324dd1))
|
|
98
|
+
* update SDK settings ([6669b0b](https://github.com/CASParser/cas-parser-node/commit/6669b0bc8763e9d38c711d269f90837d6c4c3120))
|
|
99
|
+
* use structured error when code execution tool errors ([0b9eb86](https://github.com/CASParser/cas-parser-node/commit/0b9eb86e3ee6d9e2a35b396453bf4fbec66dc905))
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
### Documentation
|
|
103
|
+
|
|
104
|
+
* **mcp:** add a README button for one-click add to Cursor ([f57f923](https://github.com/CASParser/cas-parser-node/commit/f57f9234638bd30b09ee62fb45e4374d78e3b93f))
|
|
105
|
+
* **mcp:** add a README link to add server to VS Code or Claude Code ([d687a4a](https://github.com/CASParser/cas-parser-node/commit/d687a4a380963a0e493b8a106e6c30f88e3d0047))
|
|
106
|
+
|
|
107
|
+
## 1.4.1 (2025-09-12)
|
|
108
|
+
|
|
109
|
+
Full Changelog: [v1.4.0...v1.4.1](https://github.com/CASParser/cas-parser-node/compare/v1.4.0...v1.4.1)
|
|
110
|
+
|
|
111
|
+
### Bug Fixes
|
|
112
|
+
|
|
113
|
+
* coerce nullable values to undefined ([5355e4d](https://github.com/CASParser/cas-parser-node/commit/5355e4dc9d5acca9d1c0fbb58539c4106af4d1b0))
|
|
114
|
+
* **mcp:** fix uploading dxt release assets ([a6e483b](https://github.com/CASParser/cas-parser-node/commit/a6e483ba375b7d97278928526ed10b2cc564bfa3))
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
### Chores
|
|
118
|
+
|
|
119
|
+
* **mcp:** upload dxt as release asset ([334e4d3](https://github.com/CASParser/cas-parser-node/commit/334e4d3dc3124709dc485d968d07fde384d3b23f))
|
|
120
|
+
|
|
3
121
|
## 1.4.0 (2025-09-06)
|
|
4
122
|
|
|
5
123
|
Full Changelog: [v1.3.0...v1.4.0](https://github.com/CASParser/cas-parser-node/compare/v1.3.0...v1.4.0)
|
package/LICENSE
CHANGED
|
@@ -186,7 +186,7 @@
|
|
|
186
186
|
same "printed page" as the copyright notice for easier
|
|
187
187
|
identification within third-party archives.
|
|
188
188
|
|
|
189
|
-
Copyright
|
|
189
|
+
Copyright 2026 Cas Parser
|
|
190
190
|
|
|
191
191
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
192
192
|
you may not use this file except in compliance with the License.
|
package/README.md
CHANGED
|
@@ -4,10 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
This library provides convenient access to the Cas Parser REST API from server-side TypeScript or JavaScript.
|
|
6
6
|
|
|
7
|
-
The
|
|
7
|
+
The full API of this library can be found in [api.md](api.md).
|
|
8
8
|
|
|
9
9
|
It is generated with [Stainless](https://www.stainless.com/).
|
|
10
10
|
|
|
11
|
+
## MCP Server
|
|
12
|
+
|
|
13
|
+
Use the Cas Parser MCP Server to enable AI assistants to interact with this API, allowing them to explore endpoints, make test requests, and use documentation to help integrate this SDK into your application.
|
|
14
|
+
|
|
15
|
+
[](https://cursor.com/en-US/install-mcp?name=cas-parser-mcp&config=eyJuYW1lIjoiY2FzLXBhcnNlci1tY3AiLCJ0cmFuc3BvcnQiOiJodHRwIiwidXJsIjoiaHR0cHM6Ly9jYXMtcGFyc2VyLnN0bG1jcC5jb20iLCJoZWFkZXJzIjp7IngtYXBpLWtleSI6Ik15IEFQSSBLZXkifX0)
|
|
16
|
+
[](https://vscode.stainless.com/mcp/%7B%22name%22%3A%22cas-parser-mcp%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fcas-parser.stlmcp.com%22%2C%22headers%22%3A%7B%22x-api-key%22%3A%22My%20API%20Key%22%7D%7D)
|
|
17
|
+
|
|
18
|
+
> Note: You may need to set environment variables in your MCP client.
|
|
19
|
+
|
|
11
20
|
## Installation
|
|
12
21
|
|
|
13
22
|
```sh
|
|
@@ -24,14 +33,12 @@ import CasParser from 'cas-parser-node';
|
|
|
24
33
|
|
|
25
34
|
const client = new CasParser({
|
|
26
35
|
apiKey: process.env['CAS_PARSER_API_KEY'], // This is the default and can be omitted
|
|
36
|
+
environment: 'environment_1', // or 'production' | 'environment_2'; defaults to 'production'
|
|
27
37
|
});
|
|
28
38
|
|
|
29
|
-
const
|
|
30
|
-
password: 'ABCDF',
|
|
31
|
-
pdf_url: 'https://your-cas-pdf-url-here.com',
|
|
32
|
-
});
|
|
39
|
+
const response = await client.credits.check();
|
|
33
40
|
|
|
34
|
-
console.log(
|
|
41
|
+
console.log(response.enabled_features);
|
|
35
42
|
```
|
|
36
43
|
|
|
37
44
|
### Request & Response types
|
|
@@ -44,13 +51,10 @@ import CasParser from 'cas-parser-node';
|
|
|
44
51
|
|
|
45
52
|
const client = new CasParser({
|
|
46
53
|
apiKey: process.env['CAS_PARSER_API_KEY'], // This is the default and can be omitted
|
|
54
|
+
environment: 'environment_1', // or 'production' | 'environment_2'; defaults to 'production'
|
|
47
55
|
});
|
|
48
56
|
|
|
49
|
-
const
|
|
50
|
-
password: 'ABCDF',
|
|
51
|
-
pdf_url: 'https://you-cas-pdf-url-here.com',
|
|
52
|
-
};
|
|
53
|
-
const unifiedResponse: CasParser.UnifiedResponse = await client.casParser.smartParse(params);
|
|
57
|
+
const response: CasParser.CreditCheckResponse = await client.credits.check();
|
|
54
58
|
```
|
|
55
59
|
|
|
56
60
|
Documentation for each method, request param, and response field are available in docstrings and will appear on hover in most modern editors.
|
|
@@ -63,17 +67,15 @@ a subclass of `APIError` will be thrown:
|
|
|
63
67
|
|
|
64
68
|
<!-- prettier-ignore -->
|
|
65
69
|
```ts
|
|
66
|
-
const
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
}
|
|
76
|
-
});
|
|
70
|
+
const response = await client.credits.check().catch(async (err) => {
|
|
71
|
+
if (err instanceof CasParser.APIError) {
|
|
72
|
+
console.log(err.status); // 400
|
|
73
|
+
console.log(err.name); // BadRequestError
|
|
74
|
+
console.log(err.headers); // {server: 'nginx', ...}
|
|
75
|
+
} else {
|
|
76
|
+
throw err;
|
|
77
|
+
}
|
|
78
|
+
});
|
|
77
79
|
```
|
|
78
80
|
|
|
79
81
|
Error codes are as follows:
|
|
@@ -105,7 +107,7 @@ const client = new CasParser({
|
|
|
105
107
|
});
|
|
106
108
|
|
|
107
109
|
// Or, configure per-request:
|
|
108
|
-
await client.
|
|
110
|
+
await client.credits.check({
|
|
109
111
|
maxRetries: 5,
|
|
110
112
|
});
|
|
111
113
|
```
|
|
@@ -122,7 +124,7 @@ const client = new CasParser({
|
|
|
122
124
|
});
|
|
123
125
|
|
|
124
126
|
// Override per-request:
|
|
125
|
-
await client.
|
|
127
|
+
await client.credits.check({
|
|
126
128
|
timeout: 5 * 1000,
|
|
127
129
|
});
|
|
128
130
|
```
|
|
@@ -145,17 +147,13 @@ Unlike `.asResponse()` this method consumes the body, returning once it is parse
|
|
|
145
147
|
```ts
|
|
146
148
|
const client = new CasParser();
|
|
147
149
|
|
|
148
|
-
const response = await client.
|
|
149
|
-
.smartParse({ password: 'ABCDF', pdf_url: 'https://you-cas-pdf-url-here.com' })
|
|
150
|
-
.asResponse();
|
|
150
|
+
const response = await client.credits.check().asResponse();
|
|
151
151
|
console.log(response.headers.get('X-My-Header'));
|
|
152
152
|
console.log(response.statusText); // access the underlying Response object
|
|
153
153
|
|
|
154
|
-
const { data:
|
|
155
|
-
.smartParse({ password: 'ABCDF', pdf_url: 'https://you-cas-pdf-url-here.com' })
|
|
156
|
-
.withResponse();
|
|
154
|
+
const { data: response, response: raw } = await client.credits.check().withResponse();
|
|
157
155
|
console.log(raw.headers.get('X-My-Header'));
|
|
158
|
-
console.log(
|
|
156
|
+
console.log(response.enabled_features);
|
|
159
157
|
```
|
|
160
158
|
|
|
161
159
|
### Logging
|
|
@@ -235,7 +233,7 @@ parameter. This library doesn't validate at runtime that the request matches the
|
|
|
235
233
|
send will be sent as-is.
|
|
236
234
|
|
|
237
235
|
```ts
|
|
238
|
-
client.
|
|
236
|
+
client.credits.check({
|
|
239
237
|
// ...
|
|
240
238
|
// @ts-expect-error baz is not yet public
|
|
241
239
|
baz: 'undocumented option',
|
package/client.d.mts
CHANGED
|
@@ -6,12 +6,27 @@ import * as Errors from "./core/error.mjs";
|
|
|
6
6
|
import * as Uploads from "./core/uploads.mjs";
|
|
7
7
|
import * as API from "./resources/index.mjs";
|
|
8
8
|
import { APIPromise } from "./core/api-promise.mjs";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { AccessToken, AccessTokenCreateParams, AccessTokenCreateResponse } from "./resources/access-token.mjs";
|
|
10
|
+
import { CamsKfintech, CamsKfintechParseParams, LinkedHolder, Transaction, UnifiedResponse } from "./resources/cams-kfintech.mjs";
|
|
11
|
+
import { ContractNote, ContractNoteParseParams, ContractNoteParseResponse } from "./resources/contract-note.mjs";
|
|
12
|
+
import { CreditCheckResponse, Credits } from "./resources/credits.mjs";
|
|
13
|
+
import { Inbox, InboxCheckConnectionStatusParams, InboxCheckConnectionStatusResponse, InboxConnectEmailParams, InboxConnectEmailResponse, InboxDisconnectEmailParams, InboxDisconnectEmailResponse, InboxListCasFilesParams, InboxListCasFilesResponse } from "./resources/inbox.mjs";
|
|
14
|
+
import { Kfintech, KfintechGenerateCasParams, KfintechGenerateCasResponse } from "./resources/kfintech.mjs";
|
|
15
|
+
import { LogCreateParams, LogCreateResponse, LogGetSummaryParams, LogGetSummaryResponse, Logs } from "./resources/logs.mjs";
|
|
16
|
+
import { Nsdl, NsdlParseParams } from "./resources/nsdl.mjs";
|
|
17
|
+
import { Smart, SmartParseCasPdfParams } from "./resources/smart.mjs";
|
|
18
|
+
import { VerifyToken, VerifyTokenVerifyResponse } from "./resources/verify-token.mjs";
|
|
19
|
+
import { Cdsl, CdslParsePdfParams } from "./resources/cdsl/cdsl.mjs";
|
|
11
20
|
import { type Fetch } from "./internal/builtin-types.mjs";
|
|
12
21
|
import { HeadersLike, NullableHeaders } from "./internal/headers.mjs";
|
|
13
22
|
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.mjs";
|
|
14
23
|
import { type LogLevel, type Logger } from "./internal/utils/log.mjs";
|
|
24
|
+
declare const environments: {
|
|
25
|
+
production: string;
|
|
26
|
+
environment_1: string;
|
|
27
|
+
environment_2: string;
|
|
28
|
+
};
|
|
29
|
+
type Environment = keyof typeof environments;
|
|
15
30
|
export interface ClientOptions {
|
|
16
31
|
/**
|
|
17
32
|
* Your API key for authentication.
|
|
@@ -19,6 +34,15 @@ export interface ClientOptions {
|
|
|
19
34
|
*
|
|
20
35
|
*/
|
|
21
36
|
apiKey?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the environment to use for the API.
|
|
39
|
+
*
|
|
40
|
+
* Each environment maps to a different base URL:
|
|
41
|
+
* - `production` corresponds to `https://portfolio-parser.api.casparser.in`
|
|
42
|
+
* - `environment_1` corresponds to `https://client-apis.casparser.in`
|
|
43
|
+
* - `environment_2` corresponds to `http://localhost:5000`
|
|
44
|
+
*/
|
|
45
|
+
environment?: Environment | undefined;
|
|
22
46
|
/**
|
|
23
47
|
* Override the default base URL for the API, e.g., "https://api.example.com/v2/"
|
|
24
48
|
*
|
|
@@ -89,7 +113,7 @@ export declare class CasParser {
|
|
|
89
113
|
baseURL: string;
|
|
90
114
|
maxRetries: number;
|
|
91
115
|
timeout: number;
|
|
92
|
-
logger: Logger
|
|
116
|
+
logger: Logger;
|
|
93
117
|
logLevel: LogLevel | undefined;
|
|
94
118
|
fetchOptions: MergedRequestInit | undefined;
|
|
95
119
|
private fetch;
|
|
@@ -99,6 +123,7 @@ export declare class CasParser {
|
|
|
99
123
|
* API Client for interfacing with the Cas Parser API.
|
|
100
124
|
*
|
|
101
125
|
* @param {string | undefined} [opts.apiKey=process.env['CAS_PARSER_API_KEY'] ?? undefined]
|
|
126
|
+
* @param {Environment} [opts.environment=production] - Specifies the environment URL to use for the API.
|
|
102
127
|
* @param {string} [opts.baseURL=process.env['CAS_PARSER_BASE_URL'] ?? https://portfolio-parser.api.casparser.in] - Override the default base URL for the API.
|
|
103
128
|
* @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
|
|
104
129
|
* @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
|
|
@@ -157,6 +182,7 @@ export declare class CasParser {
|
|
|
157
182
|
timeout: number;
|
|
158
183
|
}>;
|
|
159
184
|
private buildHeaders;
|
|
185
|
+
private _makeAbort;
|
|
160
186
|
private buildBody;
|
|
161
187
|
static CasParser: typeof CasParser;
|
|
162
188
|
static DEFAULT_TIMEOUT: number;
|
|
@@ -174,12 +200,30 @@ export declare class CasParser {
|
|
|
174
200
|
static PermissionDeniedError: typeof Errors.PermissionDeniedError;
|
|
175
201
|
static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
|
|
176
202
|
static toFile: typeof Uploads.toFile;
|
|
177
|
-
|
|
178
|
-
|
|
203
|
+
credits: API.Credits;
|
|
204
|
+
logs: API.Logs;
|
|
205
|
+
accessToken: API.AccessToken;
|
|
206
|
+
verifyToken: API.VerifyToken;
|
|
207
|
+
camsKfintech: API.CamsKfintech;
|
|
208
|
+
cdsl: API.Cdsl;
|
|
209
|
+
contractNote: API.ContractNote;
|
|
210
|
+
inbox: API.Inbox;
|
|
211
|
+
kfintech: API.Kfintech;
|
|
212
|
+
nsdl: API.Nsdl;
|
|
213
|
+
smart: API.Smart;
|
|
179
214
|
}
|
|
180
215
|
export declare namespace CasParser {
|
|
181
216
|
export type RequestOptions = Opts.RequestOptions;
|
|
182
|
-
export {
|
|
183
|
-
export {
|
|
217
|
+
export { Credits as Credits, type CreditCheckResponse as CreditCheckResponse };
|
|
218
|
+
export { Logs as Logs, type LogCreateResponse as LogCreateResponse, type LogGetSummaryResponse as LogGetSummaryResponse, type LogCreateParams as LogCreateParams, type LogGetSummaryParams as LogGetSummaryParams, };
|
|
219
|
+
export { AccessToken as AccessToken, type AccessTokenCreateResponse as AccessTokenCreateResponse, type AccessTokenCreateParams as AccessTokenCreateParams, };
|
|
220
|
+
export { VerifyToken as VerifyToken, type VerifyTokenVerifyResponse as VerifyTokenVerifyResponse };
|
|
221
|
+
export { CamsKfintech as CamsKfintech, type LinkedHolder as LinkedHolder, type Transaction as Transaction, type UnifiedResponse as UnifiedResponse, type CamsKfintechParseParams as CamsKfintechParseParams, };
|
|
222
|
+
export { Cdsl as Cdsl, type CdslParsePdfParams as CdslParsePdfParams };
|
|
223
|
+
export { ContractNote as ContractNote, type ContractNoteParseResponse as ContractNoteParseResponse, type ContractNoteParseParams as ContractNoteParseParams, };
|
|
224
|
+
export { Inbox as Inbox, type InboxCheckConnectionStatusResponse as InboxCheckConnectionStatusResponse, type InboxConnectEmailResponse as InboxConnectEmailResponse, type InboxDisconnectEmailResponse as InboxDisconnectEmailResponse, type InboxListCasFilesResponse as InboxListCasFilesResponse, type InboxCheckConnectionStatusParams as InboxCheckConnectionStatusParams, type InboxConnectEmailParams as InboxConnectEmailParams, type InboxDisconnectEmailParams as InboxDisconnectEmailParams, type InboxListCasFilesParams as InboxListCasFilesParams, };
|
|
225
|
+
export { Kfintech as Kfintech, type KfintechGenerateCasResponse as KfintechGenerateCasResponse, type KfintechGenerateCasParams as KfintechGenerateCasParams, };
|
|
226
|
+
export { Nsdl as Nsdl, type NsdlParseParams as NsdlParseParams };
|
|
227
|
+
export { Smart as Smart, type SmartParseCasPdfParams as SmartParseCasPdfParams };
|
|
184
228
|
}
|
|
185
229
|
//# sourceMappingURL=client.d.mts.map
|
package/client.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAET,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EACL,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"client.d.mts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAET,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,uBAAuB,EAAE,yBAAyB,EAAE;OACnE,EACL,YAAY,EACZ,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,eAAe,EAChB;OACM,EAAE,YAAY,EAAE,uBAAuB,EAAE,yBAAyB,EAAE;OACpE,EAAE,mBAAmB,EAAE,OAAO,EAAE;OAChC,EACL,KAAK,EACL,gCAAgC,EAChC,kCAAkC,EAClC,uBAAuB,EACvB,yBAAyB,EACzB,0BAA0B,EAC1B,4BAA4B,EAC5B,uBAAuB,EACvB,yBAAyB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AyB,IAAI,yBAAyB,EAC3D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,KAAK,IAAI,KAAK,EACd,KAAK,kCAAkC,IAAI,kCAAkC,EAC7E,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,yBAAyB,IAAI,yBAAyB,EAC3D,KAAK,gCAAgC,IAAI,gCAAgC,EACzE,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,0BAA0B,IAAI,0BAA0B,EAC7D,KAAK,uBAAuB,IAAI,uBAAuB,GACxD,CAAC;IAEF,OAAO,EACL,QAAQ,IAAI,QAAQ,EACpB,KAAK,2BAA2B,IAAI,2BAA2B,EAC/D,KAAK,yBAAyB,IAAI,yBAAyB,GAC5D,CAAC;IAEF,OAAO,EAAE,IAAI,IAAI,IAAI,EAAE,KAAK,eAAe,IAAI,eAAe,EAAE,CAAC;IAEjE,OAAO,EAAE,KAAK,IAAI,KAAK,EAAE,KAAK,sBAAsB,IAAI,sBAAsB,EAAE,CAAC;CAClF"}
|
package/client.d.ts
CHANGED
|
@@ -6,12 +6,27 @@ import * as Errors from "./core/error.js";
|
|
|
6
6
|
import * as Uploads from "./core/uploads.js";
|
|
7
7
|
import * as API from "./resources/index.js";
|
|
8
8
|
import { APIPromise } from "./core/api-promise.js";
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
9
|
+
import { AccessToken, AccessTokenCreateParams, AccessTokenCreateResponse } from "./resources/access-token.js";
|
|
10
|
+
import { CamsKfintech, CamsKfintechParseParams, LinkedHolder, Transaction, UnifiedResponse } from "./resources/cams-kfintech.js";
|
|
11
|
+
import { ContractNote, ContractNoteParseParams, ContractNoteParseResponse } from "./resources/contract-note.js";
|
|
12
|
+
import { CreditCheckResponse, Credits } from "./resources/credits.js";
|
|
13
|
+
import { Inbox, InboxCheckConnectionStatusParams, InboxCheckConnectionStatusResponse, InboxConnectEmailParams, InboxConnectEmailResponse, InboxDisconnectEmailParams, InboxDisconnectEmailResponse, InboxListCasFilesParams, InboxListCasFilesResponse } from "./resources/inbox.js";
|
|
14
|
+
import { Kfintech, KfintechGenerateCasParams, KfintechGenerateCasResponse } from "./resources/kfintech.js";
|
|
15
|
+
import { LogCreateParams, LogCreateResponse, LogGetSummaryParams, LogGetSummaryResponse, Logs } from "./resources/logs.js";
|
|
16
|
+
import { Nsdl, NsdlParseParams } from "./resources/nsdl.js";
|
|
17
|
+
import { Smart, SmartParseCasPdfParams } from "./resources/smart.js";
|
|
18
|
+
import { VerifyToken, VerifyTokenVerifyResponse } from "./resources/verify-token.js";
|
|
19
|
+
import { Cdsl, CdslParsePdfParams } from "./resources/cdsl/cdsl.js";
|
|
11
20
|
import { type Fetch } from "./internal/builtin-types.js";
|
|
12
21
|
import { HeadersLike, NullableHeaders } from "./internal/headers.js";
|
|
13
22
|
import { FinalRequestOptions, RequestOptions } from "./internal/request-options.js";
|
|
14
23
|
import { type LogLevel, type Logger } from "./internal/utils/log.js";
|
|
24
|
+
declare const environments: {
|
|
25
|
+
production: string;
|
|
26
|
+
environment_1: string;
|
|
27
|
+
environment_2: string;
|
|
28
|
+
};
|
|
29
|
+
type Environment = keyof typeof environments;
|
|
15
30
|
export interface ClientOptions {
|
|
16
31
|
/**
|
|
17
32
|
* Your API key for authentication.
|
|
@@ -19,6 +34,15 @@ export interface ClientOptions {
|
|
|
19
34
|
*
|
|
20
35
|
*/
|
|
21
36
|
apiKey?: string | undefined;
|
|
37
|
+
/**
|
|
38
|
+
* Specifies the environment to use for the API.
|
|
39
|
+
*
|
|
40
|
+
* Each environment maps to a different base URL:
|
|
41
|
+
* - `production` corresponds to `https://portfolio-parser.api.casparser.in`
|
|
42
|
+
* - `environment_1` corresponds to `https://client-apis.casparser.in`
|
|
43
|
+
* - `environment_2` corresponds to `http://localhost:5000`
|
|
44
|
+
*/
|
|
45
|
+
environment?: Environment | undefined;
|
|
22
46
|
/**
|
|
23
47
|
* Override the default base URL for the API, e.g., "https://api.example.com/v2/"
|
|
24
48
|
*
|
|
@@ -89,7 +113,7 @@ export declare class CasParser {
|
|
|
89
113
|
baseURL: string;
|
|
90
114
|
maxRetries: number;
|
|
91
115
|
timeout: number;
|
|
92
|
-
logger: Logger
|
|
116
|
+
logger: Logger;
|
|
93
117
|
logLevel: LogLevel | undefined;
|
|
94
118
|
fetchOptions: MergedRequestInit | undefined;
|
|
95
119
|
private fetch;
|
|
@@ -99,6 +123,7 @@ export declare class CasParser {
|
|
|
99
123
|
* API Client for interfacing with the Cas Parser API.
|
|
100
124
|
*
|
|
101
125
|
* @param {string | undefined} [opts.apiKey=process.env['CAS_PARSER_API_KEY'] ?? undefined]
|
|
126
|
+
* @param {Environment} [opts.environment=production] - Specifies the environment URL to use for the API.
|
|
102
127
|
* @param {string} [opts.baseURL=process.env['CAS_PARSER_BASE_URL'] ?? https://portfolio-parser.api.casparser.in] - Override the default base URL for the API.
|
|
103
128
|
* @param {number} [opts.timeout=1 minute] - The maximum amount of time (in milliseconds) the client will wait for a response before timing out.
|
|
104
129
|
* @param {MergedRequestInit} [opts.fetchOptions] - Additional `RequestInit` options to be passed to `fetch` calls.
|
|
@@ -157,6 +182,7 @@ export declare class CasParser {
|
|
|
157
182
|
timeout: number;
|
|
158
183
|
}>;
|
|
159
184
|
private buildHeaders;
|
|
185
|
+
private _makeAbort;
|
|
160
186
|
private buildBody;
|
|
161
187
|
static CasParser: typeof CasParser;
|
|
162
188
|
static DEFAULT_TIMEOUT: number;
|
|
@@ -174,12 +200,30 @@ export declare class CasParser {
|
|
|
174
200
|
static PermissionDeniedError: typeof Errors.PermissionDeniedError;
|
|
175
201
|
static UnprocessableEntityError: typeof Errors.UnprocessableEntityError;
|
|
176
202
|
static toFile: typeof Uploads.toFile;
|
|
177
|
-
|
|
178
|
-
|
|
203
|
+
credits: API.Credits;
|
|
204
|
+
logs: API.Logs;
|
|
205
|
+
accessToken: API.AccessToken;
|
|
206
|
+
verifyToken: API.VerifyToken;
|
|
207
|
+
camsKfintech: API.CamsKfintech;
|
|
208
|
+
cdsl: API.Cdsl;
|
|
209
|
+
contractNote: API.ContractNote;
|
|
210
|
+
inbox: API.Inbox;
|
|
211
|
+
kfintech: API.Kfintech;
|
|
212
|
+
nsdl: API.Nsdl;
|
|
213
|
+
smart: API.Smart;
|
|
179
214
|
}
|
|
180
215
|
export declare namespace CasParser {
|
|
181
216
|
export type RequestOptions = Opts.RequestOptions;
|
|
182
|
-
export {
|
|
183
|
-
export {
|
|
217
|
+
export { Credits as Credits, type CreditCheckResponse as CreditCheckResponse };
|
|
218
|
+
export { Logs as Logs, type LogCreateResponse as LogCreateResponse, type LogGetSummaryResponse as LogGetSummaryResponse, type LogCreateParams as LogCreateParams, type LogGetSummaryParams as LogGetSummaryParams, };
|
|
219
|
+
export { AccessToken as AccessToken, type AccessTokenCreateResponse as AccessTokenCreateResponse, type AccessTokenCreateParams as AccessTokenCreateParams, };
|
|
220
|
+
export { VerifyToken as VerifyToken, type VerifyTokenVerifyResponse as VerifyTokenVerifyResponse };
|
|
221
|
+
export { CamsKfintech as CamsKfintech, type LinkedHolder as LinkedHolder, type Transaction as Transaction, type UnifiedResponse as UnifiedResponse, type CamsKfintechParseParams as CamsKfintechParseParams, };
|
|
222
|
+
export { Cdsl as Cdsl, type CdslParsePdfParams as CdslParsePdfParams };
|
|
223
|
+
export { ContractNote as ContractNote, type ContractNoteParseResponse as ContractNoteParseResponse, type ContractNoteParseParams as ContractNoteParseParams, };
|
|
224
|
+
export { Inbox as Inbox, type InboxCheckConnectionStatusResponse as InboxCheckConnectionStatusResponse, type InboxConnectEmailResponse as InboxConnectEmailResponse, type InboxDisconnectEmailResponse as InboxDisconnectEmailResponse, type InboxListCasFilesResponse as InboxListCasFilesResponse, type InboxCheckConnectionStatusParams as InboxCheckConnectionStatusParams, type InboxConnectEmailParams as InboxConnectEmailParams, type InboxDisconnectEmailParams as InboxDisconnectEmailParams, type InboxListCasFilesParams as InboxListCasFilesParams, };
|
|
225
|
+
export { Kfintech as Kfintech, type KfintechGenerateCasResponse as KfintechGenerateCasResponse, type KfintechGenerateCasParams as KfintechGenerateCasParams, };
|
|
226
|
+
export { Nsdl as Nsdl, type NsdlParseParams as NsdlParseParams };
|
|
227
|
+
export { Smart as Smart, type SmartParseCasPdfParams as SmartParseCasPdfParams };
|
|
184
228
|
}
|
|
185
229
|
//# sourceMappingURL=client.d.ts.map
|
package/client.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAET,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EACL,YAAY,EACZ,
|
|
1
|
+
{"version":3,"file":"client.d.ts","sourceRoot":"","sources":["src/client.ts"],"names":[],"mappings":"OAEO,KAAK,EAAE,WAAW,EAAE,WAAW,EAAY;OAC3C,KAAK,EAAc,cAAc,EAAE,iBAAiB,EAAE,oBAAoB,EAAE;YAIvE,EAAE,MAAM,EAAE,QAAQ,EAAE;OAKzB,KAAK,IAAI;OAET,KAAK,MAAM;OACX,KAAK,OAAO;OACZ,KAAK,GAAG;OACR,EAAE,UAAU,EAAE;OACd,EAAE,WAAW,EAAE,uBAAuB,EAAE,yBAAyB,EAAE;OACnE,EACL,YAAY,EACZ,uBAAuB,EACvB,YAAY,EACZ,WAAW,EACX,eAAe,EAChB;OACM,EAAE,YAAY,EAAE,uBAAuB,EAAE,yBAAyB,EAAE;OACpE,EAAE,mBAAmB,EAAE,OAAO,EAAE;OAChC,EACL,KAAK,EACL,gCAAgC,EAChC,kCAAkC,EAClC,uBAAuB,EACvB,yBAAyB,EACzB,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