Skip to content

Commit dbc4560

Browse files
[TODO]: update generated models from apify-docs PR #2640
1 parent 20e0b97 commit dbc4560

2 files changed

Lines changed: 21 additions & 9 deletions

File tree

src/apify_client/_models.py

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3766,17 +3766,21 @@ class WebhookRepresentation(BaseModel):
37663766
"""
37673767
Optional template for the HTTP headers sent by the webhook.
37683768
"""
3769+
should_interpolate_strings: Annotated[bool | None, Field(alias='shouldInterpolateStrings', examples=[False])] = None
3770+
"""
3771+
Flag to also interpolate `{{...}}` variables inside string values of the payload and headers templates.
3772+
"""
37693773
idempotency_key: Annotated[str | None, Field(alias='idempotencyKey', examples=['fdSJmdP3nfs7sfk3y'])] = None
37703774
"""
3771-
Optional key that prevents creating duplicate webhooks, e.g. when the run-starting request is retried.
3775+
Key that prevents creating duplicate webhooks, e.g. when the run-starting request is retried.
37723776
"""
37733777
ignore_ssl_errors: Annotated[bool | None, Field(alias='ignoreSslErrors', examples=[False])] = None
37743778
"""
3775-
Optional flag to ignore SSL errors when the webhook sends the request.
3779+
Flag to ignore SSL errors when the webhook sends the request.
37763780
"""
37773781
do_not_retry: Annotated[bool | None, Field(alias='doNotRetry', examples=[False])] = None
37783782
"""
3779-
Optional flag to skip retrying the webhook request on failure.
3783+
Flag to skip retrying the webhook request on failure.
37803784
"""
37813785

37823786

src/apify_client/_typeddicts.py

Lines changed: 14 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -336,17 +336,21 @@ class WebhookRepresentationDict(TypedDict):
336336
"""
337337
Optional template for the HTTP headers sent by the webhook.
338338
"""
339+
should_interpolate_strings: NotRequired[bool | None]
340+
"""
341+
Flag to also interpolate `{{...}}` variables inside string values of the payload and headers templates.
342+
"""
339343
idempotency_key: NotRequired[str | None]
340344
"""
341-
Optional key that prevents creating duplicate webhooks, e.g. when the run-starting request is retried.
345+
Key that prevents creating duplicate webhooks, e.g. when the run-starting request is retried.
342346
"""
343347
ignore_ssl_errors: NotRequired[bool | None]
344348
"""
345-
Optional flag to ignore SSL errors when the webhook sends the request.
349+
Flag to ignore SSL errors when the webhook sends the request.
346350
"""
347351
do_not_retry: NotRequired[bool | None]
348352
"""
349-
Optional flag to skip retrying the webhook request on failure.
353+
Flag to skip retrying the webhook request on failure.
350354
"""
351355

352356

@@ -386,15 +390,19 @@ class WebhookRepresentationCamelDict(TypedDict):
386390
"""
387391
Optional template for the HTTP headers sent by the webhook.
388392
"""
393+
shouldInterpolateStrings: NotRequired[bool | None]
394+
"""
395+
Flag to also interpolate `{{...}}` variables inside string values of the payload and headers templates.
396+
"""
389397
idempotencyKey: NotRequired[str | None]
390398
"""
391-
Optional key that prevents creating duplicate webhooks, e.g. when the run-starting request is retried.
399+
Key that prevents creating duplicate webhooks, e.g. when the run-starting request is retried.
392400
"""
393401
ignoreSslErrors: NotRequired[bool | None]
394402
"""
395-
Optional flag to ignore SSL errors when the webhook sends the request.
403+
Flag to ignore SSL errors when the webhook sends the request.
396404
"""
397405
doNotRetry: NotRequired[bool | None]
398406
"""
399-
Optional flag to skip retrying the webhook request on failure.
407+
Flag to skip retrying the webhook request on failure.
400408
"""

0 commit comments

Comments
 (0)