Skip to content

Commit 0f6505c

Browse files
feat(api): api update
1 parent c99938c commit 0f6505c

File tree

4 files changed

+2
-12
lines changed

4 files changed

+2
-12
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1706
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-8ad36c269eeedc26f43df696f54e8e0105a0bae42e85c5188c8ce836485e0ae2.yml
3-
openapi_spec_hash: 23f6b60fa2befcd8d8e900df453079d4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-194758233eb00fa8e2d1c11f371374a356fdc8d24696c426e15f74a7bc6edb01.yml
3+
openapi_spec_hash: 0b9a9cbb4273dd1197c66dccced8d5e8
44
config_hash: 67f412c990647f3cb598378fa22a9db5

src/cloudflare/types/zero_trust/gateway/rule_create_params.py

-3
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,3 @@ class Expiration(TypedDict, total=False):
109109
110110
Must be set in order to use the `reset_expiration` endpoint on this rule.
111111
"""
112-
113-
expired: bool
114-
"""Whether the policy has expired."""

src/cloudflare/types/zero_trust/gateway/rule_update_params.py

-3
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,3 @@ class Expiration(TypedDict, total=False):
109109
110110
Must be set in order to use the `reset_expiration` endpoint on this rule.
111111
"""
112-
113-
expired: bool
114-
"""Whether the policy has expired."""

tests/api_resources/zero_trust/gateway/test_rules.py

-4
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,6 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
4242
expiration={
4343
"expires_at": parse_datetime("2014-01-01T05:20:20Z"),
4444
"duration": 10,
45-
"expired": False,
4645
},
4746
filters=["http"],
4847
identity='any(identity.groups.name[*] in {"finance"})',
@@ -203,7 +202,6 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
203202
expiration={
204203
"expires_at": parse_datetime("2014-01-01T05:20:20Z"),
205204
"duration": 10,
206-
"expired": False,
207205
},
208206
filters=["http"],
209207
identity='any(identity.groups.name[*] in {"finance"})',
@@ -559,7 +557,6 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
559557
expiration={
560558
"expires_at": parse_datetime("2014-01-01T05:20:20Z"),
561559
"duration": 10,
562-
"expired": False,
563560
},
564561
filters=["http"],
565562
identity='any(identity.groups.name[*] in {"finance"})',
@@ -720,7 +717,6 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
720717
expiration={
721718
"expires_at": parse_datetime("2014-01-01T05:20:20Z"),
722719
"duration": 10,
723-
"expired": False,
724720
},
725721
filters=["http"],
726722
identity='any(identity.groups.name[*] in {"finance"})',

0 commit comments

Comments
 (0)