Skip to content

Commit ae7588d

Browse files
feat(api): api update
1 parent 699825e commit ae7588d

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1777
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7b23ea3c9f7383673139b078fe639ae38801d0a68c7374f30376fa02a0bda758.yml
3-
openapi_spec_hash: dd7cec948badb7be8e94d9c391f09bf4
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-66ad1267235a1a436819d010460f34a9353d872bfee0f838bea4872f629dcf74.yml
3+
openapi_spec_hash: 4c3dd18c52c008305ae377c0dd7734b7
44
config_hash: a35e9eb0436652c704bebf7c0a38085b

src/cloudflare/resources/zero_trust/gateway/locations.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def create(
5454
client_default: bool | NotGiven = NOT_GIVEN,
5555
dns_destination_ips_id: str | NotGiven = NOT_GIVEN,
5656
ecs_support: bool | NotGiven = NOT_GIVEN,
57-
endpoints: EndpointParam | NotGiven = NOT_GIVEN,
57+
endpoints: Optional[EndpointParam] | NotGiven = NOT_GIVEN,
5858
networks: Optional[Iterable[location_create_params.Network]] | NotGiven = NOT_GIVEN,
5959
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
6060
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -129,7 +129,7 @@ def update(
129129
client_default: bool | NotGiven = NOT_GIVEN,
130130
dns_destination_ips_id: str | NotGiven = NOT_GIVEN,
131131
ecs_support: bool | NotGiven = NOT_GIVEN,
132-
endpoints: EndpointParam | NotGiven = NOT_GIVEN,
132+
endpoints: Optional[EndpointParam] | NotGiven = NOT_GIVEN,
133133
networks: Optional[Iterable[location_update_params.Network]] | NotGiven = NOT_GIVEN,
134134
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
135135
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -340,7 +340,7 @@ async def create(
340340
client_default: bool | NotGiven = NOT_GIVEN,
341341
dns_destination_ips_id: str | NotGiven = NOT_GIVEN,
342342
ecs_support: bool | NotGiven = NOT_GIVEN,
343-
endpoints: EndpointParam | NotGiven = NOT_GIVEN,
343+
endpoints: Optional[EndpointParam] | NotGiven = NOT_GIVEN,
344344
networks: Optional[Iterable[location_create_params.Network]] | NotGiven = NOT_GIVEN,
345345
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
346346
# The extra values given here take precedence over values defined on the client or passed to this method.
@@ -415,7 +415,7 @@ async def update(
415415
client_default: bool | NotGiven = NOT_GIVEN,
416416
dns_destination_ips_id: str | NotGiven = NOT_GIVEN,
417417
ecs_support: bool | NotGiven = NOT_GIVEN,
418-
endpoints: EndpointParam | NotGiven = NOT_GIVEN,
418+
endpoints: Optional[EndpointParam] | NotGiven = NOT_GIVEN,
419419
networks: Optional[Iterable[location_update_params.Network]] | NotGiven = NOT_GIVEN,
420420
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
421421
# The extra values given here take precedence over values defined on the client or passed to this method.

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class LocationCreateParams(TypedDict, total=False):
3131
ecs_support: bool
3232
"""True if the location needs to resolve EDNS queries."""
3333

34-
endpoints: EndpointParam
34+
endpoints: Optional[EndpointParam]
3535
"""The destination endpoints configured for this location.
3636
3737
When updating a location, if this field is absent or set with null, the

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class LocationUpdateParams(TypedDict, total=False):
3131
ecs_support: bool
3232
"""True if the location needs to resolve EDNS queries."""
3333

34-
endpoints: EndpointParam
34+
endpoints: Optional[EndpointParam]
3535
"""The destination endpoints configured for this location.
3636
3737
When updating a location, if this field is absent or set with null, the

0 commit comments

Comments
 (0)