Skip to content

Commit 47806ce

Browse files
feat(api): api update
1 parent f84db64 commit 47806ce

File tree

2 files changed

+15
-2
lines changed

2 files changed

+15
-2
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: 90
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-ce72fff9b44a47ab7e0425e496f09c61cde5b4258feb20cb5dbef6fa615a57e4.yml
3-
openapi_spec_hash: 3054ea299cf43dc89b68266818fecfe4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/knock%2Fknock-b4f3f8094215f4027ce5c50b44b4ba289b96bfe071deba53497eac31f6bd44ec.yml
3+
openapi_spec_hash: da078194fc3bbcae05af20ad6dee4adc
44
config_hash: 2b42d138d85c524e65fa7e205d36cc4a

src/knockapi/types/message.py

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,19 @@ class Source(BaseModel):
3030
type: Optional[Literal["broadcast", "workflow", "guide"]] = None
3131
"""Whether this message was generated from a workflow, broadcast, or guide."""
3232

33+
workflow_recipient_run_id: Optional[str] = None
34+
"""The unique identifier for the workflow recipient run that generated this
35+
message.
36+
37+
Only present for workflow/broadcast messages.
38+
"""
39+
40+
workflow_run_id: Optional[str] = None
41+
"""The unique identifier for the workflow run that generated this message.
42+
43+
Only present for workflow/broadcast messages.
44+
"""
45+
3346

3447
class Channel(BaseModel):
3548
id: str

0 commit comments

Comments
 (0)