Skip to content

Commit 809f3de

Browse files
feat(api): api update
1 parent 4aa46fc commit 809f3de

5 files changed

Lines changed: 10 additions & 10 deletions

File tree

.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-c7cca9a7a8e15f8a584c22eab142c4af72a329117f63cc3b3f7cabb25410f2ce.yml
3-
openapi_spec_hash: f40d936e433bbf8c98179d0b36f304c8
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cas-parser/cas-parser-0dce3ce202e44ecf2270f6ca42942cc297bbeeafddb3128f8230ba3ae85c7551.yml
3+
openapi_spec_hash: e9cef5743f686d9f12910c81832accca
44
config_hash: 5509bb7a961ae2e79114b24c381606d4

src/cas_parser/types/inbound_email_create_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class InboundEmailCreateResponse(BaseModel):
1818
callback_url: Optional[str] = None
1919
"""Webhook URL for email notifications.
2020
21-
Empty string (`""`) means files are only retrievable via
22-
`GET /v4/inbound-email/{id}/files` (SDK / pull mode).
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

src/cas_parser/types/inbound_email_list_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class InboundEmail(BaseModel):
1818
callback_url: Optional[str] = None
1919
"""Webhook URL for email notifications.
2020
21-
Empty string (`""`) means files are only retrievable via
22-
`GET /v4/inbound-email/{id}/files` (SDK / pull mode).
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

src/cas_parser/types/inbound_email_retrieve_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ class InboundEmailRetrieveResponse(BaseModel):
1818
callback_url: Optional[str] = None
1919
"""Webhook URL for email notifications.
2020
21-
Empty string (`""`) means files are only retrievable via
22-
`GET /v4/inbound-email/{id}/files` (SDK / pull mode).
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

src/cas_parser/types/inbox_list_cas_files_response.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ class File(BaseModel):
1919
"""URL expiration time in seconds. Defaults vary by source:
2020
2121
- Gmail Inbox Import: 86400 (24h)
22-
- Inbound Email (webhook mode): 172800 (48h)
23-
- Inbound Email (SDK mode): aligned with the session TTL (~30 min)
22+
- Inbound Email with `callback_url` set: 172800 (48h)
23+
- Inbound Email without `callback_url`: aligned with the session TTL (~30 min)
2424
"""
2525

2626
filename: Optional[str] = None

0 commit comments

Comments
 (0)