Skip to content

Commit 094bb37

Browse files
update generated models from apify-docs PR #2794
1 parent 558c237 commit 094bb37

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

src/apify_client/_models.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3828,7 +3828,10 @@ class Webhook(BaseModel):
38283828
condition: WebhookCondition
38293829
ignore_ssl_errors: Annotated[bool, Field(examples=[False])]
38303830
do_not_retry: Annotated[bool | None, Field(examples=[False])] = None
3831-
request_url: Annotated[AnyUrl | None, Field(examples=['http://example.com/'])]
3831+
request_url: Annotated[AnyUrl | None, Field(examples=['http://example.com/'])] = None
3832+
"""
3833+
URL of the HTTP request sent by the webhook. It is omitted or `null` for webhooks with a non-HTTP action type (e.g. Slack or email notifications).
3834+
"""
38323835
payload_template: Annotated[str | None, Field(examples=['{\\n "userId": {{userId}}...'])] = None
38333836
headers_template: Annotated[str | None, Field(examples=['{\\n "Authorization": "Bearer ..."}'])] = None
38343837
description: Annotated[str | None, Field(examples=['this is webhook description'])] = None
@@ -3903,6 +3906,9 @@ class WebhookDispatchWebhookSummary(BaseModel):
39033906
action_type: Annotated[str | None, Field(examples=['HTTP_REQUEST'])] = None
39043907
condition: WebhookCondition | None = None
39053908
request_url: Annotated[AnyUrl | None, Field(examples=['https://example.com/webhook'])] = None
3909+
"""
3910+
URL of the HTTP request sent by the webhook. It is `null` for webhooks with a non-HTTP action type (e.g. Slack or email notifications).
3911+
"""
39063912
is_ad_hoc: Annotated[bool | None, Field(examples=[False])] = None
39073913

39083914

0 commit comments

Comments
 (0)