Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 538f71d

Browse files
committedMar 4, 2025·
feat(api): api update (#2496)
1 parent 1b42744 commit 538f71d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1570
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6e348c5f2a0923834af2357c619fc89a639c49f484dbba769a4ec17328493818.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-b1d62ee304bcbec71b90c35e9078c7a0b0428d19f4c2ebe541fd14b6046977f5.yml

‎src/cloudflare/resources/zero_trust/networks/subnets/subnets.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def list(
7070
page: float | NotGiven = NOT_GIVEN,
7171
per_page: float | NotGiven = NOT_GIVEN,
7272
sort_order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN,
73-
subnet_types: Literal["cloudflare_source"] | NotGiven = NOT_GIVEN,
73+
subnet_types: Literal["cloudflare_source", "warp"] | NotGiven = NOT_GIVEN,
7474
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
7575
# The extra values given here take precedence over values defined on the client or passed to this method.
7676
extra_headers: Headers | None = None,
@@ -187,7 +187,7 @@ def list(
187187
page: float | NotGiven = NOT_GIVEN,
188188
per_page: float | NotGiven = NOT_GIVEN,
189189
sort_order: Literal["asc", "desc"] | NotGiven = NOT_GIVEN,
190-
subnet_types: Literal["cloudflare_source"] | NotGiven = NOT_GIVEN,
190+
subnet_types: Literal["cloudflare_source", "warp"] | NotGiven = NOT_GIVEN,
191191
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
192192
# The extra values given here take precedence over values defined on the client or passed to this method.
193193
extra_headers: Headers | None = None,

‎src/cloudflare/types/zero_trust/networks/subnet_list_params.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,5 @@ class SubnetListParams(TypedDict, total=False):
5555
will not be in any particular order.
5656
"""
5757

58-
subnet_types: Literal["cloudflare_source"]
58+
subnet_types: Literal["cloudflare_source", "warp"]
5959
"""If set, the types of subnets to include, separated by comma."""

0 commit comments

Comments
 (0)
Please sign in to comment.