Skip to content

Commit bce15d3

Browse files
feat(api): api update
1 parent c265056 commit bce15d3

File tree

6 files changed

+26
-26
lines changed

6 files changed

+26
-26
lines changed

.stats.yml

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

src/cas_parser/resources/cas_parser.py

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ def cams_kfintech(
6969
Args:
7070
password: Password for the PDF file (if required)
7171
72-
pdf_file: Base64 encoded CAS PDF file
72+
pdf_file: Base64 encoded CAS PDF file (required if pdf_url not provided)
7373
74-
pdf_url: URL to the CAS PDF file
74+
pdf_url: URL to the CAS PDF file (required if pdf_file not provided)
7575
7676
extra_headers: Send extra headers
7777
@@ -125,9 +125,9 @@ def cdsl(
125125
Args:
126126
password: Password for the PDF file (if required)
127127
128-
pdf_file: Base64 encoded CAS PDF file
128+
pdf_file: Base64 encoded CAS PDF file (required if pdf_url not provided)
129129
130-
pdf_url: URL to the CAS PDF file
130+
pdf_url: URL to the CAS PDF file (required if pdf_file not provided)
131131
132132
extra_headers: Send extra headers
133133
@@ -181,9 +181,9 @@ def nsdl(
181181
Args:
182182
password: Password for the PDF file (if required)
183183
184-
pdf_file: Base64 encoded CAS PDF file
184+
pdf_file: Base64 encoded CAS PDF file (required if pdf_url not provided)
185185
186-
pdf_url: URL to the CAS PDF file
186+
pdf_url: URL to the CAS PDF file (required if pdf_file not provided)
187187
188188
extra_headers: Send extra headers
189189
@@ -238,9 +238,9 @@ def smart_parse(
238238
Args:
239239
password: Password for the PDF file (if required)
240240
241-
pdf_file: Base64 encoded CAS PDF file
241+
pdf_file: Base64 encoded CAS PDF file (required if pdf_url not provided)
242242
243-
pdf_url: URL to the CAS PDF file
243+
pdf_url: URL to the CAS PDF file (required if pdf_file not provided)
244244
245245
extra_headers: Send extra headers
246246
@@ -315,9 +315,9 @@ async def cams_kfintech(
315315
Args:
316316
password: Password for the PDF file (if required)
317317
318-
pdf_file: Base64 encoded CAS PDF file
318+
pdf_file: Base64 encoded CAS PDF file (required if pdf_url not provided)
319319
320-
pdf_url: URL to the CAS PDF file
320+
pdf_url: URL to the CAS PDF file (required if pdf_file not provided)
321321
322322
extra_headers: Send extra headers
323323
@@ -371,9 +371,9 @@ async def cdsl(
371371
Args:
372372
password: Password for the PDF file (if required)
373373
374-
pdf_file: Base64 encoded CAS PDF file
374+
pdf_file: Base64 encoded CAS PDF file (required if pdf_url not provided)
375375
376-
pdf_url: URL to the CAS PDF file
376+
pdf_url: URL to the CAS PDF file (required if pdf_file not provided)
377377
378378
extra_headers: Send extra headers
379379
@@ -427,9 +427,9 @@ async def nsdl(
427427
Args:
428428
password: Password for the PDF file (if required)
429429
430-
pdf_file: Base64 encoded CAS PDF file
430+
pdf_file: Base64 encoded CAS PDF file (required if pdf_url not provided)
431431
432-
pdf_url: URL to the CAS PDF file
432+
pdf_url: URL to the CAS PDF file (required if pdf_file not provided)
433433
434434
extra_headers: Send extra headers
435435
@@ -484,9 +484,9 @@ async def smart_parse(
484484
Args:
485485
password: Password for the PDF file (if required)
486486
487-
pdf_file: Base64 encoded CAS PDF file
487+
pdf_file: Base64 encoded CAS PDF file (required if pdf_url not provided)
488488
489-
pdf_url: URL to the CAS PDF file
489+
pdf_url: URL to the CAS PDF file (required if pdf_file not provided)
490490
491491
extra_headers: Send extra headers
492492

src/cas_parser/types/cas_parser_cams_kfintech_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CasParserCamsKfintechParams(TypedDict, total=False):
1212
"""Password for the PDF file (if required)"""
1313

1414
pdf_file: str
15-
"""Base64 encoded CAS PDF file"""
15+
"""Base64 encoded CAS PDF file (required if pdf_url not provided)"""
1616

1717
pdf_url: str
18-
"""URL to the CAS PDF file"""
18+
"""URL to the CAS PDF file (required if pdf_file not provided)"""

src/cas_parser/types/cas_parser_cdsl_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CasParserCdslParams(TypedDict, total=False):
1212
"""Password for the PDF file (if required)"""
1313

1414
pdf_file: str
15-
"""Base64 encoded CAS PDF file"""
15+
"""Base64 encoded CAS PDF file (required if pdf_url not provided)"""
1616

1717
pdf_url: str
18-
"""URL to the CAS PDF file"""
18+
"""URL to the CAS PDF file (required if pdf_file not provided)"""

src/cas_parser/types/cas_parser_nsdl_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CasParserNsdlParams(TypedDict, total=False):
1212
"""Password for the PDF file (if required)"""
1313

1414
pdf_file: str
15-
"""Base64 encoded CAS PDF file"""
15+
"""Base64 encoded CAS PDF file (required if pdf_url not provided)"""
1616

1717
pdf_url: str
18-
"""URL to the CAS PDF file"""
18+
"""URL to the CAS PDF file (required if pdf_file not provided)"""

src/cas_parser/types/cas_parser_smart_parse_params.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class CasParserSmartParseParams(TypedDict, total=False):
1212
"""Password for the PDF file (if required)"""
1313

1414
pdf_file: str
15-
"""Base64 encoded CAS PDF file"""
15+
"""Base64 encoded CAS PDF file (required if pdf_url not provided)"""
1616

1717
pdf_url: str
18-
"""URL to the CAS PDF file"""
18+
"""URL to the CAS PDF file (required if pdf_file not provided)"""

0 commit comments

Comments
 (0)