From f90ff328f6c38560feb3216f9fddfc004b626d50 Mon Sep 17 00:00:00 2001 From: Apify Service Account <64261774+apify-service-account@users.noreply.github.com> Date: Thu, 11 Jun 2026 15:15:42 +0200 Subject: [PATCH] [TODO]: update generated models from apify-docs PR #2640 --- src/apify_client/_models.py | 12 ++++++++++++ src/apify_client/_typeddicts.py | 24 ++++++++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/src/apify_client/_models.py b/src/apify_client/_models.py index 19f5cf6d..57b1db8e 100644 --- a/src/apify_client/_models.py +++ b/src/apify_client/_models.py @@ -3766,6 +3766,18 @@ class WebhookRepresentation(BaseModel): """ Optional template for the HTTP headers sent by the webhook. """ + idempotency_key: Annotated[str | None, Field(alias='idempotencyKey', examples=['fdSJmdP3nfs7sfk3y'])] = None + """ + Optional key that prevents creating duplicate webhooks, e.g. when the run-starting request is retried. + """ + ignore_ssl_errors: Annotated[bool | None, Field(alias='ignoreSslErrors', examples=[False])] = None + """ + Optional flag to ignore SSL errors when the webhook sends the request. + """ + do_not_retry: Annotated[bool | None, Field(alias='doNotRetry', examples=[False])] = None + """ + Optional flag to skip retrying the webhook request on failure. + """ @docs_group('Models') diff --git a/src/apify_client/_typeddicts.py b/src/apify_client/_typeddicts.py index fa430ab7..e3e3bbb1 100644 --- a/src/apify_client/_typeddicts.py +++ b/src/apify_client/_typeddicts.py @@ -336,6 +336,18 @@ class WebhookRepresentationDict(TypedDict): """ Optional template for the HTTP headers sent by the webhook. """ + idempotency_key: NotRequired[str | None] + """ + Optional key that prevents creating duplicate webhooks, e.g. when the run-starting request is retried. + """ + ignore_ssl_errors: NotRequired[bool | None] + """ + Optional flag to ignore SSL errors when the webhook sends the request. + """ + do_not_retry: NotRequired[bool | None] + """ + Optional flag to skip retrying the webhook request on failure. + """ @docs_group('Typed dicts') @@ -374,3 +386,15 @@ class WebhookRepresentationCamelDict(TypedDict): """ Optional template for the HTTP headers sent by the webhook. """ + idempotencyKey: NotRequired[str | None] + """ + Optional key that prevents creating duplicate webhooks, e.g. when the run-starting request is retried. + """ + ignoreSslErrors: NotRequired[bool | None] + """ + Optional flag to ignore SSL errors when the webhook sends the request. + """ + doNotRetry: NotRequired[bool | None] + """ + Optional flag to skip retrying the webhook request on failure. + """