Skip to content

Commit bc7133d

Browse files
feat(api): api update
1 parent 7d694e1 commit bc7133d

File tree

11 files changed

+74
-2
lines changed

11 files changed

+74
-2
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1739
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-29bb5e0cbaf9419a923938770dd7de6b00baf0939e52d20675e5c102510aa11b.yml
3-
openapi_spec_hash: 783016a5d5217d310bc8b9e331ccb212
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-fd423e274e743576650632cc81ded82e1feb7b53cc55efc6027a3db1f93dcac7.yml
3+
openapi_spec_hash: 67b7e9365173ee8bbfbe38a31ca16a54
44
config_hash: 428cd5372293bd6f28ee41c3a277c71b

src/cloudflare/resources/zero_trust/devices/policies/custom/custom.py

+20
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ def create(
104104
lan_allow_minutes: float | NotGiven = NOT_GIVEN,
105105
lan_allow_subnet_size: float | NotGiven = NOT_GIVEN,
106106
register_interface_ip_with_dns: bool | NotGiven = NOT_GIVEN,
107+
sccm_vpn_boundary_support: bool | NotGiven = NOT_GIVEN,
107108
service_mode_v2: custom_create_params.ServiceModeV2 | NotGiven = NOT_GIVEN,
108109
support_url: str | NotGiven = NOT_GIVEN,
109110
switch_locked: bool | NotGiven = NOT_GIVEN,
@@ -168,6 +169,9 @@ def create(
168169
register_interface_ip_with_dns: Determines if the operating system will register WARP's local interface IP with
169170
your on-premises DNS server.
170171
172+
sccm_vpn_boundary_support: Determines whether the WARP client indicates to SCCM that it is inside a VPN
173+
boundary. (Windows only).
174+
171175
support_url: The URL to launch when the Send Feedback button is clicked.
172176
173177
switch_locked: Whether to allow the user to turn off the WARP switch and disconnect the client.
@@ -205,6 +209,7 @@ def create(
205209
"lan_allow_minutes": lan_allow_minutes,
206210
"lan_allow_subnet_size": lan_allow_subnet_size,
207211
"register_interface_ip_with_dns": register_interface_ip_with_dns,
212+
"sccm_vpn_boundary_support": sccm_vpn_boundary_support,
208213
"service_mode_v2": service_mode_v2,
209214
"support_url": support_url,
210215
"switch_locked": switch_locked,
@@ -317,6 +322,7 @@ def edit(
317322
name: str | NotGiven = NOT_GIVEN,
318323
precedence: float | NotGiven = NOT_GIVEN,
319324
register_interface_ip_with_dns: bool | NotGiven = NOT_GIVEN,
325+
sccm_vpn_boundary_support: bool | NotGiven = NOT_GIVEN,
320326
service_mode_v2: custom_edit_params.ServiceModeV2 | NotGiven = NOT_GIVEN,
321327
support_url: str | NotGiven = NOT_GIVEN,
322328
switch_locked: bool | NotGiven = NOT_GIVEN,
@@ -380,6 +386,9 @@ def edit(
380386
register_interface_ip_with_dns: Determines if the operating system will register WARP's local interface IP with
381387
your on-premises DNS server.
382388
389+
sccm_vpn_boundary_support: Determines whether the WARP client indicates to SCCM that it is inside a VPN
390+
boundary. (Windows only).
391+
383392
support_url: The URL to launch when the Send Feedback button is clicked.
384393
385394
switch_locked: Whether to allow the user to turn off the WARP switch and disconnect the client.
@@ -419,6 +428,7 @@ def edit(
419428
"name": name,
420429
"precedence": precedence,
421430
"register_interface_ip_with_dns": register_interface_ip_with_dns,
431+
"sccm_vpn_boundary_support": sccm_vpn_boundary_support,
422432
"service_mode_v2": service_mode_v2,
423433
"support_url": support_url,
424434
"switch_locked": switch_locked,
@@ -530,6 +540,7 @@ async def create(
530540
lan_allow_minutes: float | NotGiven = NOT_GIVEN,
531541
lan_allow_subnet_size: float | NotGiven = NOT_GIVEN,
532542
register_interface_ip_with_dns: bool | NotGiven = NOT_GIVEN,
543+
sccm_vpn_boundary_support: bool | NotGiven = NOT_GIVEN,
533544
service_mode_v2: custom_create_params.ServiceModeV2 | NotGiven = NOT_GIVEN,
534545
support_url: str | NotGiven = NOT_GIVEN,
535546
switch_locked: bool | NotGiven = NOT_GIVEN,
@@ -594,6 +605,9 @@ async def create(
594605
register_interface_ip_with_dns: Determines if the operating system will register WARP's local interface IP with
595606
your on-premises DNS server.
596607
608+
sccm_vpn_boundary_support: Determines whether the WARP client indicates to SCCM that it is inside a VPN
609+
boundary. (Windows only).
610+
597611
support_url: The URL to launch when the Send Feedback button is clicked.
598612
599613
switch_locked: Whether to allow the user to turn off the WARP switch and disconnect the client.
@@ -631,6 +645,7 @@ async def create(
631645
"lan_allow_minutes": lan_allow_minutes,
632646
"lan_allow_subnet_size": lan_allow_subnet_size,
633647
"register_interface_ip_with_dns": register_interface_ip_with_dns,
648+
"sccm_vpn_boundary_support": sccm_vpn_boundary_support,
634649
"service_mode_v2": service_mode_v2,
635650
"support_url": support_url,
636651
"switch_locked": switch_locked,
@@ -743,6 +758,7 @@ async def edit(
743758
name: str | NotGiven = NOT_GIVEN,
744759
precedence: float | NotGiven = NOT_GIVEN,
745760
register_interface_ip_with_dns: bool | NotGiven = NOT_GIVEN,
761+
sccm_vpn_boundary_support: bool | NotGiven = NOT_GIVEN,
746762
service_mode_v2: custom_edit_params.ServiceModeV2 | NotGiven = NOT_GIVEN,
747763
support_url: str | NotGiven = NOT_GIVEN,
748764
switch_locked: bool | NotGiven = NOT_GIVEN,
@@ -806,6 +822,9 @@ async def edit(
806822
register_interface_ip_with_dns: Determines if the operating system will register WARP's local interface IP with
807823
your on-premises DNS server.
808824
825+
sccm_vpn_boundary_support: Determines whether the WARP client indicates to SCCM that it is inside a VPN
826+
boundary. (Windows only).
827+
809828
support_url: The URL to launch when the Send Feedback button is clicked.
810829
811830
switch_locked: Whether to allow the user to turn off the WARP switch and disconnect the client.
@@ -845,6 +864,7 @@ async def edit(
845864
"name": name,
846865
"precedence": precedence,
847866
"register_interface_ip_with_dns": register_interface_ip_with_dns,
867+
"sccm_vpn_boundary_support": sccm_vpn_boundary_support,
848868
"service_mode_v2": service_mode_v2,
849869
"support_url": support_url,
850870
"switch_locked": switch_locked,

src/cloudflare/resources/zero_trust/devices/policies/default/default.py

+10
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ def edit(
111111
lan_allow_minutes: float | NotGiven = NOT_GIVEN,
112112
lan_allow_subnet_size: float | NotGiven = NOT_GIVEN,
113113
register_interface_ip_with_dns: bool | NotGiven = NOT_GIVEN,
114+
sccm_vpn_boundary_support: bool | NotGiven = NOT_GIVEN,
114115
service_mode_v2: default_edit_params.ServiceModeV2 | NotGiven = NOT_GIVEN,
115116
support_url: str | NotGiven = NOT_GIVEN,
116117
switch_locked: bool | NotGiven = NOT_GIVEN,
@@ -160,6 +161,9 @@ def edit(
160161
register_interface_ip_with_dns: Determines if the operating system will register WARP's local interface IP with
161162
your on-premises DNS server.
162163
164+
sccm_vpn_boundary_support: Determines whether the WARP client indicates to SCCM that it is inside a VPN
165+
boundary. (Windows only).
166+
163167
support_url: The URL to launch when the Send Feedback button is clicked.
164168
165169
switch_locked: Whether to allow the user to turn off the WARP switch and disconnect the client.
@@ -192,6 +196,7 @@ def edit(
192196
"lan_allow_minutes": lan_allow_minutes,
193197
"lan_allow_subnet_size": lan_allow_subnet_size,
194198
"register_interface_ip_with_dns": register_interface_ip_with_dns,
199+
"sccm_vpn_boundary_support": sccm_vpn_boundary_support,
195200
"service_mode_v2": service_mode_v2,
196201
"support_url": support_url,
197202
"switch_locked": switch_locked,
@@ -299,6 +304,7 @@ async def edit(
299304
lan_allow_minutes: float | NotGiven = NOT_GIVEN,
300305
lan_allow_subnet_size: float | NotGiven = NOT_GIVEN,
301306
register_interface_ip_with_dns: bool | NotGiven = NOT_GIVEN,
307+
sccm_vpn_boundary_support: bool | NotGiven = NOT_GIVEN,
302308
service_mode_v2: default_edit_params.ServiceModeV2 | NotGiven = NOT_GIVEN,
303309
support_url: str | NotGiven = NOT_GIVEN,
304310
switch_locked: bool | NotGiven = NOT_GIVEN,
@@ -348,6 +354,9 @@ async def edit(
348354
register_interface_ip_with_dns: Determines if the operating system will register WARP's local interface IP with
349355
your on-premises DNS server.
350356
357+
sccm_vpn_boundary_support: Determines whether the WARP client indicates to SCCM that it is inside a VPN
358+
boundary. (Windows only).
359+
351360
support_url: The URL to launch when the Send Feedback button is clicked.
352361
353362
switch_locked: Whether to allow the user to turn off the WARP switch and disconnect the client.
@@ -380,6 +389,7 @@ async def edit(
380389
"lan_allow_minutes": lan_allow_minutes,
381390
"lan_allow_subnet_size": lan_allow_subnet_size,
382391
"register_interface_ip_with_dns": register_interface_ip_with_dns,
392+
"sccm_vpn_boundary_support": sccm_vpn_boundary_support,
383393
"service_mode_v2": service_mode_v2,
384394
"support_url": support_url,
385395
"switch_locked": switch_locked,

src/cloudflare/types/zero_trust/devices/policies/custom_create_params.py

+6
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ class CustomCreateParams(TypedDict, total=False):
9898
your on-premises DNS server.
9999
"""
100100

101+
sccm_vpn_boundary_support: bool
102+
"""
103+
Determines whether the WARP client indicates to SCCM that it is inside a VPN
104+
boundary. (Windows only).
105+
"""
106+
101107
service_mode_v2: ServiceModeV2
102108

103109
support_url: str

src/cloudflare/types/zero_trust/devices/policies/custom_edit_params.py

+6
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,12 @@ class CustomEditParams(TypedDict, total=False):
9898
your on-premises DNS server.
9999
"""
100100

101+
sccm_vpn_boundary_support: bool
102+
"""
103+
Determines whether the WARP client indicates to SCCM that it is inside a VPN
104+
boundary. (Windows only).
105+
"""
106+
101107
service_mode_v2: ServiceModeV2
102108

103109
support_url: str

src/cloudflare/types/zero_trust/devices/policies/default_edit_params.py

+6
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,12 @@ class DefaultEditParams(TypedDict, total=False):
7474
your on-premises DNS server.
7575
"""
7676

77+
sccm_vpn_boundary_support: bool
78+
"""
79+
Determines whether the WARP client indicates to SCCM that it is inside a VPN
80+
boundary. (Windows only).
81+
"""
82+
7783
service_mode_v2: ServiceModeV2
7884

7985
support_url: str

src/cloudflare/types/zero_trust/devices/policies/default_edit_response.py

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ class DefaultEditResponse(BaseModel):
6969
your on-premises DNS server.
7070
"""
7171

72+
sccm_vpn_boundary_support: Optional[bool] = None
73+
"""
74+
Determines whether the WARP client indicates to SCCM that it is inside a VPN
75+
boundary. (Windows only).
76+
"""
77+
7278
service_mode_v2: Optional[ServiceModeV2] = None
7379

7480
support_url: Optional[str] = None

src/cloudflare/types/zero_trust/devices/policies/default_get_response.py

+6
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,12 @@ class DefaultGetResponse(BaseModel):
6969
your on-premises DNS server.
7070
"""
7171

72+
sccm_vpn_boundary_support: Optional[bool] = None
73+
"""
74+
Determines whether the WARP client indicates to SCCM that it is inside a VPN
75+
boundary. (Windows only).
76+
"""
77+
7278
service_mode_v2: Optional[ServiceModeV2] = None
7379

7480
support_url: Optional[str] = None

src/cloudflare/types/zero_trust/devices/settings_policy.py

+6
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,12 @@ class SettingsPolicy(BaseModel):
114114
your on-premises DNS server.
115115
"""
116116

117+
sccm_vpn_boundary_support: Optional[bool] = None
118+
"""
119+
Determines whether the WARP client indicates to SCCM that it is inside a VPN
120+
boundary. (Windows only).
121+
"""
122+
117123
service_mode_v2: Optional[ServiceModeV2] = None
118124

119125
support_url: Optional[str] = None

tests/api_resources/zero_trust/devices/policies/test_custom.py

+4
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
6161
lan_allow_minutes=30,
6262
lan_allow_subnet_size=24,
6363
register_interface_ip_with_dns=True,
64+
sccm_vpn_boundary_support=False,
6465
service_mode_v2={
6566
"mode": "proxy",
6667
"port": 3000,
@@ -242,6 +243,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
242243
name="Allow Developers",
243244
precedence=100,
244245
register_interface_ip_with_dns=True,
246+
sccm_vpn_boundary_support=False,
245247
service_mode_v2={
246248
"mode": "proxy",
247249
"port": 3000,
@@ -394,6 +396,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
394396
lan_allow_minutes=30,
395397
lan_allow_subnet_size=24,
396398
register_interface_ip_with_dns=True,
399+
sccm_vpn_boundary_support=False,
397400
service_mode_v2={
398401
"mode": "proxy",
399402
"port": 3000,
@@ -575,6 +578,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
575578
name="Allow Developers",
576579
precedence=100,
577580
register_interface_ip_with_dns=True,
581+
sccm_vpn_boundary_support=False,
578582
service_mode_v2={
579583
"mode": "proxy",
580584
"port": 3000,

tests/api_resources/zero_trust/devices/policies/test_default.py

+2
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
5050
lan_allow_minutes=30,
5151
lan_allow_subnet_size=24,
5252
register_interface_ip_with_dns=True,
53+
sccm_vpn_boundary_support=False,
5354
service_mode_v2={
5455
"mode": "proxy",
5556
"port": 3000,
@@ -166,6 +167,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
166167
lan_allow_minutes=30,
167168
lan_allow_subnet_size=24,
168169
register_interface_ip_with_dns=True,
170+
sccm_vpn_boundary_support=False,
169171
service_mode_v2={
170172
"mode": "proxy",
171173
"port": 3000,

0 commit comments

Comments
 (0)