From 094bb379de96ee1bc82d985e7359e55b708ea806 Mon Sep 17 00:00:00 2001 From: Apify Service Account <64261774+apify-service-account@users.noreply.github.com> Date: Wed, 22 Jul 2026 12:04:16 +0200 Subject: [PATCH 1/2] update generated models from apify-docs PR #2794 --- src/apify_client/_models.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/apify_client/_models.py b/src/apify_client/_models.py index 0adb9088..5e69a8ec 100644 --- a/src/apify_client/_models.py +++ b/src/apify_client/_models.py @@ -3828,7 +3828,10 @@ class Webhook(BaseModel): condition: WebhookCondition ignore_ssl_errors: Annotated[bool, Field(examples=[False])] do_not_retry: Annotated[bool | None, Field(examples=[False])] = None - request_url: Annotated[AnyUrl | None, Field(examples=['http://example.com/'])] + request_url: Annotated[AnyUrl | None, Field(examples=['http://example.com/'])] = None + """ + 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). + """ payload_template: Annotated[str | None, Field(examples=['{\\n "userId": {{userId}}...'])] = None headers_template: Annotated[str | None, Field(examples=['{\\n "Authorization": "Bearer ..."}'])] = None description: Annotated[str | None, Field(examples=['this is webhook description'])] = None @@ -3903,6 +3906,9 @@ class WebhookDispatchWebhookSummary(BaseModel): action_type: Annotated[str | None, Field(examples=['HTTP_REQUEST'])] = None condition: WebhookCondition | None = None request_url: Annotated[AnyUrl | None, Field(examples=['https://example.com/webhook'])] = None + """ + 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). + """ is_ad_hoc: Annotated[bool | None, Field(examples=[False])] = None From 25fe1496c9951354696b286e3233596718b50d20 Mon Sep 17 00:00:00 2001 From: Apify Service Account <64261774+apify-service-account@users.noreply.github.com> Date: Wed, 22 Jul 2026 14:21:42 +0200 Subject: [PATCH 2/2] update generated models from apify-docs PR #2794 --- src/apify_client/_models.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/apify_client/_models.py b/src/apify_client/_models.py index 5e69a8ec..aad0b44e 100644 --- a/src/apify_client/_models.py +++ b/src/apify_client/_models.py @@ -3830,7 +3830,7 @@ class Webhook(BaseModel): do_not_retry: Annotated[bool | None, Field(examples=[False])] = None request_url: Annotated[AnyUrl | None, Field(examples=['http://example.com/'])] = None """ - 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). + URL of the HTTP request sent by the webhook. It is omitted or `null` for hook actions other than the conventional HTTP case (e.g. Slack or email notifications). """ payload_template: Annotated[str | None, Field(examples=['{\\n "userId": {{userId}}...'])] = None headers_template: Annotated[str | None, Field(examples=['{\\n "Authorization": "Bearer ..."}'])] = None @@ -3907,7 +3907,7 @@ class WebhookDispatchWebhookSummary(BaseModel): condition: WebhookCondition | None = None request_url: Annotated[AnyUrl | None, Field(examples=['https://example.com/webhook'])] = None """ - 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). + URL of the HTTP request sent by the webhook. It is `null` for hook actions other than the conventional HTTP case (e.g. Slack or email notifications). """ is_ad_hoc: Annotated[bool | None, Field(examples=[False])] = None