Skip to content

Commit 44ff1a8

Browse files
feat(api): api update
1 parent c9c9ca7 commit 44ff1a8

9 files changed

Lines changed: 3 additions & 469 deletions

File tree

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
configured_endpoints: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-577a6deca47142224dbf0b3888cc02d21a87205cc9f3aac94a3837e758ef586e.yml
3-
openapi_spec_hash: b6b37700433fb0205b5550bc86d3d4ae
1+
configured_endpoints: 20
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-26d0931f3488af784c16303683cbf24225c727615fd32ee071144974e7c59670.yml
3+
openapi_spec_hash: 242a5f4d982645a25e0d66ef088940a5
44
config_hash: 5509bb7a961ae2e79114b24c381606d4

api.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -110,18 +110,6 @@ Methods:
110110
- <code title="post /v4/inbox/disconnect">client.inbox.<a href="./src/cas_parser/resources/inbox.py">disconnect_email</a>() -> <a href="./src/cas_parser/types/inbox_disconnect_email_response.py">InboxDisconnectEmailResponse</a></code>
111111
- <code title="post /v4/inbox/cas">client.inbox.<a href="./src/cas_parser/resources/inbox.py">list_cas_files</a>(\*\*<a href="src/cas_parser/types/inbox_list_cas_files_params.py">params</a>) -> <a href="./src/cas_parser/types/inbox_list_cas_files_response.py">InboxListCasFilesResponse</a></code>
112112

113-
# Kfintech
114-
115-
Types:
116-
117-
```python
118-
from cas_parser.types import KfintechGenerateCasResponse
119-
```
120-
121-
Methods:
122-
123-
- <code title="post /v4/kfintech/generate">client.kfintech.<a href="./src/cas_parser/resources/kfintech.py">generate_cas</a>(\*\*<a href="src/cas_parser/types/kfintech_generate_cas_params.py">params</a>) -> <a href="./src/cas_parser/types/kfintech_generate_cas_response.py">KfintechGenerateCasResponse</a></code>
124-
125113
# Nsdl
126114

127115
Methods:

src/cas_parser/_client.py

Lines changed: 0 additions & 44 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@
4343
inbox,
4444
smart,
4545
credits,
46-
kfintech,
4746
access_token,
4847
verify_token,
4948
cams_kfintech,
@@ -55,7 +54,6 @@
5554
from .resources.inbox import InboxResource, AsyncInboxResource
5655
from .resources.smart import SmartResource, AsyncSmartResource
5756
from .resources.credits import CreditsResource, AsyncCreditsResource
58-
from .resources.kfintech import KfintechResource, AsyncKfintechResource
5957
from .resources.cdsl.cdsl import CdslResource, AsyncCdslResource
6058
from .resources.access_token import AccessTokenResource, AsyncAccessTokenResource
6159
from .resources.verify_token import VerifyTokenResource, AsyncVerifyTokenResource
@@ -226,13 +224,6 @@ def inbox(self) -> InboxResource:
226224

227225
return InboxResource(self)
228226

229-
@cached_property
230-
def kfintech(self) -> KfintechResource:
231-
"""Endpoints for generating new CAS documents via email mailback (KFintech)."""
232-
from .resources.kfintech import KfintechResource
233-
234-
return KfintechResource(self)
235-
236227
@cached_property
237228
def nsdl(self) -> NsdlResource:
238229
"""Endpoints for parsing CAS PDF files from different sources."""
@@ -546,13 +537,6 @@ def inbox(self) -> AsyncInboxResource:
546537

547538
return AsyncInboxResource(self)
548539

549-
@cached_property
550-
def kfintech(self) -> AsyncKfintechResource:
551-
"""Endpoints for generating new CAS documents via email mailback (KFintech)."""
552-
from .resources.kfintech import AsyncKfintechResource
553-
554-
return AsyncKfintechResource(self)
555-
556540
@cached_property
557541
def nsdl(self) -> AsyncNsdlResource:
558542
"""Endpoints for parsing CAS PDF files from different sources."""
@@ -808,13 +792,6 @@ def inbox(self) -> inbox.InboxResourceWithRawResponse:
808792

809793
return InboxResourceWithRawResponse(self._client.inbox)
810794

811-
@cached_property
812-
def kfintech(self) -> kfintech.KfintechResourceWithRawResponse:
813-
"""Endpoints for generating new CAS documents via email mailback (KFintech)."""
814-
from .resources.kfintech import KfintechResourceWithRawResponse
815-
816-
return KfintechResourceWithRawResponse(self._client.kfintech)
817-
818795
@cached_property
819796
def nsdl(self) -> nsdl.NsdlResourceWithRawResponse:
820797
"""Endpoints for parsing CAS PDF files from different sources."""
@@ -951,13 +928,6 @@ def inbox(self) -> inbox.AsyncInboxResourceWithRawResponse:
951928

952929
return AsyncInboxResourceWithRawResponse(self._client.inbox)
953930

954-
@cached_property
955-
def kfintech(self) -> kfintech.AsyncKfintechResourceWithRawResponse:
956-
"""Endpoints for generating new CAS documents via email mailback (KFintech)."""
957-
from .resources.kfintech import AsyncKfintechResourceWithRawResponse
958-
959-
return AsyncKfintechResourceWithRawResponse(self._client.kfintech)
960-
961931
@cached_property
962932
def nsdl(self) -> nsdl.AsyncNsdlResourceWithRawResponse:
963933
"""Endpoints for parsing CAS PDF files from different sources."""
@@ -1094,13 +1064,6 @@ def inbox(self) -> inbox.InboxResourceWithStreamingResponse:
10941064

10951065
return InboxResourceWithStreamingResponse(self._client.inbox)
10961066

1097-
@cached_property
1098-
def kfintech(self) -> kfintech.KfintechResourceWithStreamingResponse:
1099-
"""Endpoints for generating new CAS documents via email mailback (KFintech)."""
1100-
from .resources.kfintech import KfintechResourceWithStreamingResponse
1101-
1102-
return KfintechResourceWithStreamingResponse(self._client.kfintech)
1103-
11041067
@cached_property
11051068
def nsdl(self) -> nsdl.NsdlResourceWithStreamingResponse:
11061069
"""Endpoints for parsing CAS PDF files from different sources."""
@@ -1237,13 +1200,6 @@ def inbox(self) -> inbox.AsyncInboxResourceWithStreamingResponse:
12371200

12381201
return AsyncInboxResourceWithStreamingResponse(self._client.inbox)
12391202

1240-
@cached_property
1241-
def kfintech(self) -> kfintech.AsyncKfintechResourceWithStreamingResponse:
1242-
"""Endpoints for generating new CAS documents via email mailback (KFintech)."""
1243-
from .resources.kfintech import AsyncKfintechResourceWithStreamingResponse
1244-
1245-
return AsyncKfintechResourceWithStreamingResponse(self._client.kfintech)
1246-
12471203
@cached_property
12481204
def nsdl(self) -> nsdl.AsyncNsdlResourceWithStreamingResponse:
12491205
"""Endpoints for parsing CAS PDF files from different sources."""

src/cas_parser/resources/__init__.py

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -48,14 +48,6 @@
4848
CreditsResourceWithStreamingResponse,
4949
AsyncCreditsResourceWithStreamingResponse,
5050
)
51-
from .kfintech import (
52-
KfintechResource,
53-
AsyncKfintechResource,
54-
KfintechResourceWithRawResponse,
55-
AsyncKfintechResourceWithRawResponse,
56-
KfintechResourceWithStreamingResponse,
57-
AsyncKfintechResourceWithStreamingResponse,
58-
)
5951
from .access_token import (
6052
AccessTokenResource,
6153
AsyncAccessTokenResource,
@@ -146,12 +138,6 @@
146138
"AsyncInboxResourceWithRawResponse",
147139
"InboxResourceWithStreamingResponse",
148140
"AsyncInboxResourceWithStreamingResponse",
149-
"KfintechResource",
150-
"AsyncKfintechResource",
151-
"KfintechResourceWithRawResponse",
152-
"AsyncKfintechResourceWithRawResponse",
153-
"KfintechResourceWithStreamingResponse",
154-
"AsyncKfintechResourceWithStreamingResponse",
155141
"NsdlResource",
156142
"AsyncNsdlResource",
157143
"NsdlResourceWithRawResponse",

src/cas_parser/resources/kfintech.py

Lines changed: 0 additions & 223 deletions
This file was deleted.

src/cas_parser/types/__init__.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,10 @@
2424
from .access_token_create_response import AccessTokenCreateResponse as AccessTokenCreateResponse
2525
from .contract_note_parse_response import ContractNoteParseResponse as ContractNoteParseResponse
2626
from .inbox_connect_email_response import InboxConnectEmailResponse as InboxConnectEmailResponse
27-
from .kfintech_generate_cas_params import KfintechGenerateCasParams as KfintechGenerateCasParams
2827
from .verify_token_verify_response import VerifyTokenVerifyResponse as VerifyTokenVerifyResponse
2928
from .inbound_email_create_response import InboundEmailCreateResponse as InboundEmailCreateResponse
3029
from .inbound_email_delete_response import InboundEmailDeleteResponse as InboundEmailDeleteResponse
3130
from .inbox_list_cas_files_response import InboxListCasFilesResponse as InboxListCasFilesResponse
32-
from .kfintech_generate_cas_response import KfintechGenerateCasResponse as KfintechGenerateCasResponse
3331
from .inbound_email_retrieve_response import InboundEmailRetrieveResponse as InboundEmailRetrieveResponse
3432
from .inbox_disconnect_email_response import InboxDisconnectEmailResponse as InboxDisconnectEmailResponse
3533
from .inbox_check_connection_status_response import (

0 commit comments

Comments
 (0)