Skip to content

Commit a7ed6fe

Browse files
Merge pull request #21 from CASParser/release-please--branches--main--changes--next
release: 1.10.0
2 parents b543e85 + 8158c7b commit a7ed6fe

11 files changed

Lines changed: 49 additions & 30 deletions

.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.9.0"
2+
".": "1.10.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: 21
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-2fd773786951b723a5d7d7342bf1c6ab46f08bd2851e916d188faae379d5aa4c.yml
3-
openapi_spec_hash: 7515d1e5fe3130b9f5411f7aacbc8a64
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-e572d88c2af6e4d7bc4f7e119357fd3f68b1e67d612fd1d3a657d916cde0087c.yml
3+
openapi_spec_hash: a9fc7d947111bffa9184f8ca8be4a579
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.10.0 (2026-05-09)
4+
5+
Full Changelog: [v1.9.0...v1.10.0](https://github.com/CASParser/cas-parser-python/compare/v1.9.0...v1.10.0)
6+
7+
### Features
8+
9+
* **api:** api update ([809f3de](https://github.com/CASParser/cas-parser-python/commit/809f3de0c92ab34db2ffcdcc494adaba9913fe7a))
10+
* **api:** api update ([4aa46fc](https://github.com/CASParser/cas-parser-python/commit/4aa46fcbc1cf3279f572ff3a1c2110a6e1f31d4a))
11+
12+
13+
### Bug Fixes
14+
15+
* **client:** add missing f-string prefix in file type error message ([4913e8e](https://github.com/CASParser/cas-parser-python/commit/4913e8ed72218184229f351b52767e1aa42cdf8b))
16+
317
## 1.9.0 (2026-05-01)
418

519
Full Changelog: [v1.8.0...v1.9.0](https://github.com/CASParser/cas-parser-python/compare/v1.8.0...v1.9.0)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "cas-parser-python"
3-
version = "1.9.0"
3+
version = "1.10.0"
44
description = "The official Python library for the cas-parser API"
55
dynamic = ["readme"]
66
license = "Apache-2.0"

src/cas_parser/_files.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,7 @@ async def async_to_httpx_files(files: RequestFiles | None) -> HttpxRequestFiles
9999
elif is_sequence_t(files):
100100
files = [(key, await _async_transform_file(file)) for key, file in files]
101101
else:
102-
raise TypeError("Unexpected file type input {type(files)}, expected mapping or sequence")
102+
raise TypeError(f"Unexpected file type input {type(files)}, expected mapping or sequence")
103103

104104
return files
105105

src/cas_parser/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33
__title__ = "cas_parser"
4-
__version__ = "1.9.0" # x-release-please-version
4+
__version__ = "1.10.0" # x-release-please-version

src/cas_parser/resources/inbound_email.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ def retrieve(
156156
timeout: float | httpx.Timeout | None | NotGiven = not_given,
157157
) -> InboundEmailRetrieveResponse:
158158
"""
159-
Retrieve details of a specific mailbox including statistics.
159+
Retrieve details of a specific inbound email including statistics.
160160
161161
Args:
162162
extra_headers: Send extra headers
@@ -190,10 +190,10 @@ def list(
190190
extra_body: Body | None = None,
191191
timeout: float | httpx.Timeout | None | NotGiven = not_given,
192192
) -> InboundEmailListResponse:
193-
"""List all mailboxes associated with your API key.
193+
"""List all inbound emails associated with your API key.
194194
195-
Returns active and inactive
196-
mailboxes (deleted mailboxes are excluded).
195+
Returns active and paused
196+
inbound emails (deleted ones are excluded).
197197
198198
Args:
199199
limit: Maximum number of inbound emails to return
@@ -396,7 +396,7 @@ async def retrieve(
396396
timeout: float | httpx.Timeout | None | NotGiven = not_given,
397397
) -> InboundEmailRetrieveResponse:
398398
"""
399-
Retrieve details of a specific mailbox including statistics.
399+
Retrieve details of a specific inbound email including statistics.
400400
401401
Args:
402402
extra_headers: Send extra headers
@@ -430,10 +430,10 @@ async def list(
430430
extra_body: Body | None = None,
431431
timeout: float | httpx.Timeout | None | NotGiven = not_given,
432432
) -> InboundEmailListResponse:
433-
"""List all mailboxes associated with your API key.
433+
"""List all inbound emails associated with your API key.
434434
435-
Returns active and inactive
436-
mailboxes (deleted mailboxes are excluded).
435+
Returns active and paused
436+
inbound emails (deleted ones are excluded).
437437
438438
Args:
439439
limit: Maximum number of inbound emails to return

src/cas_parser/types/inbound_email_create_response.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ class InboundEmailCreateResponse(BaseModel):
1818
callback_url: Optional[str] = None
1919
"""Webhook URL for email notifications.
2020
21-
`null` means files are only retrievable via `GET /v4/inbound-email/{id}/files`
22-
(pull delivery).
21+
If set, we POST each parsed email here. If omitted, files are only retrievable
22+
via `GET /v4/inbound-email/{id}/files`.
2323
"""
2424

2525
created_at: Optional[datetime] = None
26-
"""When the mailbox was created"""
26+
"""When the inbound email was created"""
2727

2828
email: Optional[str] = None
2929
"""The inbound email address to forward CAS statements to"""
@@ -38,7 +38,7 @@ class InboundEmailCreateResponse(BaseModel):
3838
"""Your internal reference identifier"""
3939

4040
status: Optional[Literal["active", "paused"]] = None
41-
"""Current mailbox status"""
41+
"""Current inbound email lifecycle status"""
4242

4343
updated_at: Optional[datetime] = None
44-
"""When the mailbox was last updated"""
44+
"""When the inbound email was last updated"""

src/cas_parser/types/inbound_email_list_response.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ class InboundEmail(BaseModel):
1818
callback_url: Optional[str] = None
1919
"""Webhook URL for email notifications.
2020
21-
`null` means files are only retrievable via `GET /v4/inbound-email/{id}/files`
22-
(pull delivery).
21+
If set, we POST each parsed email here. If omitted, files are only retrievable
22+
via `GET /v4/inbound-email/{id}/files`.
2323
"""
2424

2525
created_at: Optional[datetime] = None
26-
"""When the mailbox was created"""
26+
"""When the inbound email was created"""
2727

2828
email: Optional[str] = None
2929
"""The inbound email address to forward CAS statements to"""
@@ -38,10 +38,10 @@ class InboundEmail(BaseModel):
3838
"""Your internal reference identifier"""
3939

4040
status: Optional[Literal["active", "paused"]] = None
41-
"""Current mailbox status"""
41+
"""Current inbound email lifecycle status"""
4242

4343
updated_at: Optional[datetime] = None
44-
"""When the mailbox was last updated"""
44+
"""When the inbound email was last updated"""
4545

4646

4747
class InboundEmailListResponse(BaseModel):

src/cas_parser/types/inbound_email_retrieve_response.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@ class InboundEmailRetrieveResponse(BaseModel):
1818
callback_url: Optional[str] = None
1919
"""Webhook URL for email notifications.
2020
21-
`null` means files are only retrievable via `GET /v4/inbound-email/{id}/files`
22-
(pull delivery).
21+
If set, we POST each parsed email here. If omitted, files are only retrievable
22+
via `GET /v4/inbound-email/{id}/files`.
2323
"""
2424

2525
created_at: Optional[datetime] = None
26-
"""When the mailbox was created"""
26+
"""When the inbound email was created"""
2727

2828
email: Optional[str] = None
2929
"""The inbound email address to forward CAS statements to"""
@@ -38,7 +38,7 @@ class InboundEmailRetrieveResponse(BaseModel):
3838
"""Your internal reference identifier"""
3939

4040
status: Optional[Literal["active", "paused"]] = None
41-
"""Current mailbox status"""
41+
"""Current inbound email lifecycle status"""
4242

4343
updated_at: Optional[datetime] = None
44-
"""When the mailbox was last updated"""
44+
"""When the inbound email was last updated"""

0 commit comments

Comments
 (0)