Skip to content

Commit 03e79c1

Browse files
feat(api): api update
1 parent 7b3a51b commit 03e79c1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+96
-96
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1727
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-dacc4cb6d67067b5769858b798c2505c361e4f23167820f52f2543045ee792e8.yml
3-
openapi_spec_hash: b6924a971b9b542de41c687f4add4fe0
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a357d68c00bef9ff1cffab1ac3c2d8b6850d708569cb0997c6a58833be71b3be.yml
3+
openapi_spec_hash: 9f05fcfc0035b7e8753f1facb697290e
44
config_hash: 3c780adf47c2d58e68dc5b7404d7b925

src/cloudflare/types/rulesets/block_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Ratelimit(BaseModel):
4141
incremented.
4242
"""
4343

44-
period: Literal[10, 60, 600, 3600]
44+
period: int
4545
"""Period in seconds over which the counter is being incremented."""
4646

4747
counting_expression: Optional[str] = None

src/cloudflare/types/rulesets/block_rule_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Ratelimit(TypedDict, total=False):
4141
incremented.
4242
"""
4343

44-
period: Required[Literal[10, 60, 600, 3600]]
44+
period: Required[int]
4545
"""Period in seconds over which the counter is being incremented."""
4646

4747
counting_expression: str

src/cloudflare/types/rulesets/compress_response_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Ratelimit(BaseModel):
4141
incremented.
4242
"""
4343

44-
period: Literal[10, 60, 600, 3600]
44+
period: int
4545
"""Period in seconds over which the counter is being incremented."""
4646

4747
counting_expression: Optional[str] = None

src/cloudflare/types/rulesets/compress_response_rule_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ class Ratelimit(TypedDict, total=False):
4141
incremented.
4242
"""
4343

44-
period: Required[Literal[10, 60, 600, 3600]]
44+
period: Required[int]
4545
"""Period in seconds over which the counter is being incremented."""
4646

4747
counting_expression: str

src/cloudflare/types/rulesets/ddos_dynamic_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Ratelimit(BaseModel):
2525
incremented.
2626
"""
2727

28-
period: Literal[10, 60, 600, 3600]
28+
period: int
2929
"""Period in seconds over which the counter is being incremented."""
3030

3131
counting_expression: Optional[str] = None

src/cloudflare/types/rulesets/ddos_dynamic_rule_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Ratelimit(TypedDict, total=False):
2525
incremented.
2626
"""
2727

28-
period: Required[Literal[10, 60, 600, 3600]]
28+
period: Required[int]
2929
"""Period in seconds over which the counter is being incremented."""
3030

3131
counting_expression: str

src/cloudflare/types/rulesets/execute_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class Ratelimit(BaseModel):
111111
incremented.
112112
"""
113113

114-
period: Literal[10, 60, 600, 3600]
114+
period: int
115115
"""Period in seconds over which the counter is being incremented."""
116116

117117
counting_expression: Optional[str] = None

src/cloudflare/types/rulesets/execute_rule_param.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ class Ratelimit(TypedDict, total=False):
111111
incremented.
112112
"""
113113

114-
period: Required[Literal[10, 60, 600, 3600]]
114+
period: Required[int]
115115
"""Period in seconds over which the counter is being incremented."""
116116

117117
counting_expression: str

src/cloudflare/types/rulesets/force_connection_close_rule.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ class Ratelimit(BaseModel):
2525
incremented.
2626
"""
2727

28-
period: Literal[10, 60, 600, 3600]
28+
period: int
2929
"""Period in seconds over which the counter is being incremented."""
3030

3131
counting_expression: Optional[str] = None

0 commit comments

Comments
 (0)