Skip to content

Commit 0c08966

Browse files
Merge pull request #5 from CASParser/release-please--branches--main--changes--next
release: 0.2.0
2 parents 1356ddc + cc3173d commit 0c08966

File tree

162 files changed

+27371
-13364
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

162 files changed

+27371
-13364
lines changed

.release-please-manifest.json

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

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 4
1+
configured_endpoints: 17
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser%2Fcas-parser-56b0f699c5437d9e5326626d35dfc972c17d01f12cb416c7f4854c8ea6d0e95e.yml
33
openapi_spec_hash: 158f405c1880706266d83e6ff16b9d2f
4-
config_hash: cb5d75abef6264b5d86448caf7295afa
4+
config_hash: 1af2e938c93ea4ec25fc633469072c43

CHANGELOG.md

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

3+
## 0.2.0 (2026-02-14)
4+
5+
Full Changelog: [v0.1.0...v0.2.0](https://github.com/CASParser/cas-parser-java/compare/v0.1.0...v0.2.0)
6+
7+
### Features
8+
9+
* **api:** manual updates ([b21f22f](https://github.com/CASParser/cas-parser-java/commit/b21f22fdb7949e53222c362d41cdde390036a7d7))
10+
11+
12+
### Chores
13+
14+
* configure new SDK language ([2e9b4a1](https://github.com/CASParser/cas-parser-java/commit/2e9b4a178af20b81ed25065a309581afad0689da))
15+
* update SDK settings ([27c0e10](https://github.com/CASParser/cas-parser-java/commit/27c0e107ff02b981b34b1740d977ce4d99f3c771))
16+
317
## 0.1.0 (2026-02-14)
418

519
Full Changelog: [v0.0.4...v0.1.0](https://github.com/CASParser/cas-parser-java/compare/v0.0.4...v0.1.0)

README.md

Lines changed: 72 additions & 61 deletions
Large diffs are not rendered by default.

build.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ repositories {
99

1010
allprojects {
1111
group = "com.cas_parser.api"
12-
version = "0.1.0" // x-release-please-version
12+
version = "0.2.0" // x-release-please-version
1313
}
1414

1515
subprojects {

buildSrc/src/main/kotlin/cas-parser.publish.gradle.kts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ configure<PublishingExtension> {
1111
pom {
1212
name.set("CAS Parser - Track Portfolios from CDSL, NSDL, CAMS, KFintech")
1313
description.set("API for parsing and analyzing CAS (Consolidated Account Statement) PDF files\nfrom NSDL, CDSL, and CAMS/KFintech, with a unified response format")
14-
url.set("https://docs.casparser.in/reference")
14+
url.set("https://www.github.com/CASParser/cas-parser-java")
1515

1616
licenses {
1717
license {

cas-parser-java-client-okhttp/src/main/kotlin/com/cas_parser/api/client/okhttp/CasParserOkHttpClient.kt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,22 @@ class CasParserOkHttpClient private constructor() {
166166
* The base URL to use for every request.
167167
*
168168
* Defaults to the production environment: `https://portfolio-parser.api.casparser.in`.
169+
*
170+
* The following other environments, with dedicated builder methods, are available:
171+
* - environment_1: `https://client-apis.casparser.in`
172+
* - environment_2: `http://localhost:5000`
169173
*/
170174
fun baseUrl(baseUrl: String?) = apply { clientOptions.baseUrl(baseUrl) }
171175

172176
/** Alias for calling [Builder.baseUrl] with `baseUrl.orElse(null)`. */
173177
fun baseUrl(baseUrl: Optional<String>) = baseUrl(baseUrl.getOrNull())
174178

179+
/** Sets [baseUrl] to `https://client-apis.casparser.in`. */
180+
fun environment1() = apply { clientOptions.environment1() }
181+
182+
/** Sets [baseUrl] to `http://localhost:5000`. */
183+
fun environment2() = apply { clientOptions.environment2() }
184+
175185
/**
176186
* Whether to call `validate` on every response before returning it.
177187
*

cas-parser-java-client-okhttp/src/main/kotlin/com/cas_parser/api/client/okhttp/CasParserOkHttpClientAsync.kt

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,12 +166,22 @@ class CasParserOkHttpClientAsync private constructor() {
166166
* The base URL to use for every request.
167167
*
168168
* Defaults to the production environment: `https://portfolio-parser.api.casparser.in`.
169+
*
170+
* The following other environments, with dedicated builder methods, are available:
171+
* - environment_1: `https://client-apis.casparser.in`
172+
* - environment_2: `http://localhost:5000`
169173
*/
170174
fun baseUrl(baseUrl: String?) = apply { clientOptions.baseUrl(baseUrl) }
171175

172176
/** Alias for calling [Builder.baseUrl] with `baseUrl.orElse(null)`. */
173177
fun baseUrl(baseUrl: Optional<String>) = baseUrl(baseUrl.getOrNull())
174178

179+
/** Sets [baseUrl] to `https://client-apis.casparser.in`. */
180+
fun environment1() = apply { clientOptions.environment1() }
181+
182+
/** Sets [baseUrl] to `http://localhost:5000`. */
183+
fun environment2() = apply { clientOptions.environment2() }
184+
175185
/**
176186
* Whether to call `validate` on every response before returning it.
177187
*

cas-parser-java-core/src/main/kotlin/com/cas_parser/api/client/CasParserClient.kt

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@
33
package com.cas_parser.api.client
44

55
import com.cas_parser.api.core.ClientOptions
6-
import com.cas_parser.api.services.blocking.CasGeneratorService
7-
import com.cas_parser.api.services.blocking.CasParserService
6+
import com.cas_parser.api.services.blocking.AccessTokenService
7+
import com.cas_parser.api.services.blocking.CamsKfintechService
8+
import com.cas_parser.api.services.blocking.CdslService
9+
import com.cas_parser.api.services.blocking.ContractNoteService
10+
import com.cas_parser.api.services.blocking.CreditService
11+
import com.cas_parser.api.services.blocking.InboxService
12+
import com.cas_parser.api.services.blocking.KfintechService
13+
import com.cas_parser.api.services.blocking.LogService
14+
import com.cas_parser.api.services.blocking.NsdlService
15+
import com.cas_parser.api.services.blocking.SmartService
16+
import com.cas_parser.api.services.blocking.VerifyTokenService
817
import java.util.function.Consumer
918

1019
/**
@@ -43,9 +52,27 @@ interface CasParserClient {
4352
*/
4453
fun withOptions(modifier: Consumer<ClientOptions.Builder>): CasParserClient
4554

46-
fun casParser(): CasParserService
55+
fun credits(): CreditService
4756

48-
fun casGenerator(): CasGeneratorService
57+
fun logs(): LogService
58+
59+
fun accessToken(): AccessTokenService
60+
61+
fun verifyToken(): VerifyTokenService
62+
63+
fun camsKfintech(): CamsKfintechService
64+
65+
fun cdsl(): CdslService
66+
67+
fun contractNote(): ContractNoteService
68+
69+
fun inbox(): InboxService
70+
71+
fun kfintech(): KfintechService
72+
73+
fun nsdl(): NsdlService
74+
75+
fun smart(): SmartService
4976

5077
/**
5178
* Closes this client, relinquishing any underlying resources.
@@ -70,8 +97,26 @@ interface CasParserClient {
7097
*/
7198
fun withOptions(modifier: Consumer<ClientOptions.Builder>): CasParserClient.WithRawResponse
7299

73-
fun casParser(): CasParserService.WithRawResponse
100+
fun credits(): CreditService.WithRawResponse
101+
102+
fun logs(): LogService.WithRawResponse
103+
104+
fun accessToken(): AccessTokenService.WithRawResponse
105+
106+
fun verifyToken(): VerifyTokenService.WithRawResponse
107+
108+
fun camsKfintech(): CamsKfintechService.WithRawResponse
109+
110+
fun cdsl(): CdslService.WithRawResponse
111+
112+
fun contractNote(): ContractNoteService.WithRawResponse
113+
114+
fun inbox(): InboxService.WithRawResponse
115+
116+
fun kfintech(): KfintechService.WithRawResponse
117+
118+
fun nsdl(): NsdlService.WithRawResponse
74119

75-
fun casGenerator(): CasGeneratorService.WithRawResponse
120+
fun smart(): SmartService.WithRawResponse
76121
}
77122
}

cas-parser-java-core/src/main/kotlin/com/cas_parser/api/client/CasParserClientAsync.kt

Lines changed: 51 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,17 @@
33
package com.cas_parser.api.client
44

55
import com.cas_parser.api.core.ClientOptions
6-
import com.cas_parser.api.services.async.CasGeneratorServiceAsync
7-
import com.cas_parser.api.services.async.CasParserServiceAsync
6+
import com.cas_parser.api.services.async.AccessTokenServiceAsync
7+
import com.cas_parser.api.services.async.CamsKfintechServiceAsync
8+
import com.cas_parser.api.services.async.CdslServiceAsync
9+
import com.cas_parser.api.services.async.ContractNoteServiceAsync
10+
import com.cas_parser.api.services.async.CreditServiceAsync
11+
import com.cas_parser.api.services.async.InboxServiceAsync
12+
import com.cas_parser.api.services.async.KfintechServiceAsync
13+
import com.cas_parser.api.services.async.LogServiceAsync
14+
import com.cas_parser.api.services.async.NsdlServiceAsync
15+
import com.cas_parser.api.services.async.SmartServiceAsync
16+
import com.cas_parser.api.services.async.VerifyTokenServiceAsync
817
import java.util.function.Consumer
918

1019
/**
@@ -43,9 +52,27 @@ interface CasParserClientAsync {
4352
*/
4453
fun withOptions(modifier: Consumer<ClientOptions.Builder>): CasParserClientAsync
4554

46-
fun casParser(): CasParserServiceAsync
55+
fun credits(): CreditServiceAsync
4756

48-
fun casGenerator(): CasGeneratorServiceAsync
57+
fun logs(): LogServiceAsync
58+
59+
fun accessToken(): AccessTokenServiceAsync
60+
61+
fun verifyToken(): VerifyTokenServiceAsync
62+
63+
fun camsKfintech(): CamsKfintechServiceAsync
64+
65+
fun cdsl(): CdslServiceAsync
66+
67+
fun contractNote(): ContractNoteServiceAsync
68+
69+
fun inbox(): InboxServiceAsync
70+
71+
fun kfintech(): KfintechServiceAsync
72+
73+
fun nsdl(): NsdlServiceAsync
74+
75+
fun smart(): SmartServiceAsync
4976

5077
/**
5178
* Closes this client, relinquishing any underlying resources.
@@ -74,8 +101,26 @@ interface CasParserClientAsync {
74101
modifier: Consumer<ClientOptions.Builder>
75102
): CasParserClientAsync.WithRawResponse
76103

77-
fun casParser(): CasParserServiceAsync.WithRawResponse
104+
fun credits(): CreditServiceAsync.WithRawResponse
105+
106+
fun logs(): LogServiceAsync.WithRawResponse
107+
108+
fun accessToken(): AccessTokenServiceAsync.WithRawResponse
109+
110+
fun verifyToken(): VerifyTokenServiceAsync.WithRawResponse
111+
112+
fun camsKfintech(): CamsKfintechServiceAsync.WithRawResponse
113+
114+
fun cdsl(): CdslServiceAsync.WithRawResponse
115+
116+
fun contractNote(): ContractNoteServiceAsync.WithRawResponse
117+
118+
fun inbox(): InboxServiceAsync.WithRawResponse
119+
120+
fun kfintech(): KfintechServiceAsync.WithRawResponse
121+
122+
fun nsdl(): NsdlServiceAsync.WithRawResponse
78123

79-
fun casGenerator(): CasGeneratorServiceAsync.WithRawResponse
124+
fun smart(): SmartServiceAsync.WithRawResponse
80125
}
81126
}

0 commit comments

Comments
 (0)