Skip to content

Commit f342310

Browse files
committed
chore(workers_for_platforms): update generated types
1 parent d721964 commit f342310

6 files changed

Lines changed: 35 additions & 0 deletions

File tree

src/cloudflare/types/workers_for_platforms/dispatch/namespaces/script_update_params.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -453,6 +453,13 @@ class MetadataBindingWorkersBindingKindRatelimitSimple(TypedDict, total=False):
453453
period: Required[int]
454454
"""The period in seconds."""
455455

456+
mitigation_timeout: int
457+
"""
458+
Duration in seconds to apply the mitigation action after the rate limit is
459+
exceeded. Valid values are 0 (disabled), 10, or multiples of 60 up to 86400.
460+
Must be greater than or equal to the period when non-zero.
461+
"""
462+
456463

457464
class MetadataBindingWorkersBindingKindRatelimit(TypedDict, total=False):
458465
name: Required[str]

src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/binding_get_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -349,6 +349,13 @@ class WorkersBindingKindRatelimitSimple(BaseModel):
349349
period: int
350350
"""The period in seconds."""
351351

352+
mitigation_timeout: Optional[int] = None
353+
"""
354+
Duration in seconds to apply the mitigation action after the rate limit is
355+
exceeded. Valid values are 0 (disabled), 10, or multiples of 60 up to 86400.
356+
Must be greater than or equal to the period when non-zero.
357+
"""
358+
352359

353360
class WorkersBindingKindRatelimit(BaseModel):
354361
name: str

src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/secret_get_response.py

100755100644
File mode changed.

src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_edit_params.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -387,6 +387,13 @@ class SettingsBindingWorkersBindingKindRatelimitSimple(TypedDict, total=False):
387387
period: Required[int]
388388
"""The period in seconds."""
389389

390+
mitigation_timeout: int
391+
"""
392+
Duration in seconds to apply the mitigation action after the rate limit is
393+
exceeded. Valid values are 0 (disabled), 10, or multiples of 60 up to 86400.
394+
Must be greater than or equal to the period when non-zero.
395+
"""
396+
390397

391398
class SettingsBindingWorkersBindingKindRatelimit(TypedDict, total=False):
392399
name: Required[str]

src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_edit_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,13 @@ class BindingWorkersBindingKindRatelimitSimple(BaseModel):
371371
period: int
372372
"""The period in seconds."""
373373

374+
mitigation_timeout: Optional[int] = None
375+
"""
376+
Duration in seconds to apply the mitigation action after the rate limit is
377+
exceeded. Valid values are 0 (disabled), 10, or multiples of 60 up to 86400.
378+
Must be greater than or equal to the period when non-zero.
379+
"""
380+
374381

375382
class BindingWorkersBindingKindRatelimit(BaseModel):
376383
name: str

src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_get_response.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -371,6 +371,13 @@ class BindingWorkersBindingKindRatelimitSimple(BaseModel):
371371
period: int
372372
"""The period in seconds."""
373373

374+
mitigation_timeout: Optional[int] = None
375+
"""
376+
Duration in seconds to apply the mitigation action after the rate limit is
377+
exceeded. Valid values are 0 (disabled), 10, or multiples of 60 up to 86400.
378+
Must be greater than or equal to the period when non-zero.
379+
"""
380+
374381

375382
class BindingWorkersBindingKindRatelimit(BaseModel):
376383
name: str

0 commit comments

Comments
 (0)