Skip to content

Commit 2f5b630

Browse files
feat(api): api update
1 parent 5be4f42 commit 2f5b630

File tree

9 files changed

+146
-2
lines changed

9 files changed

+146
-2
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1711
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-52688e33b35afa8c823c9d942b65b4c0fe41c8c0d22fa06a9031a122e621d205.yml
3-
openapi_spec_hash: 970950e81592f64b937f43eccbb9e6fb
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7880d391ccc2d83e1f658e313ee3096294dcede7446d2a7c540d9ac951164688.yml
3+
openapi_spec_hash: 902b2a4e4e755cde1bbde8e81a3ac60b
44
config_hash: 501967dbe66b4bf5bcf0d508ebdc37c3

src/cloudflare/resources/zero_trust/access/applications/applications.py

+56
Large diffs are not rendered by default.

src/cloudflare/types/zero_trust/access/application_create_params.py

+12
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ class SelfHostedApplication(TypedDict, total=False):
151151
authentication.
152152
"""
153153

154+
allow_iframe: bool
155+
"""Enables loading application content in an iFrame."""
156+
154157
allowed_idps: List[AllowedIdPs]
155158
"""The identity providers your users can select when connecting to this
156159
application.
@@ -696,6 +699,9 @@ class BrowserSSHApplication(TypedDict, total=False):
696699
authentication.
697700
"""
698701

702+
allow_iframe: bool
703+
"""Enables loading application content in an iFrame."""
704+
699705
allowed_idps: List[AllowedIdPs]
700706
"""The identity providers your users can select when connecting to this
701707
application.
@@ -1040,6 +1046,9 @@ class BrowserVNCApplication(TypedDict, total=False):
10401046
authentication.
10411047
"""
10421048

1049+
allow_iframe: bool
1050+
"""Enables loading application content in an iFrame."""
1051+
10431052
allowed_idps: List[AllowedIdPs]
10441053
"""The identity providers your users can select when connecting to this
10451054
application.
@@ -2289,6 +2298,9 @@ class BrowserRdpApplication(TypedDict, total=False):
22892298
authentication.
22902299
"""
22912300

2301+
allow_iframe: bool
2302+
"""Enables loading application content in an iFrame."""
2303+
22922304
allowed_idps: List[AllowedIdPs]
22932305
"""The identity providers your users can select when connecting to this
22942306
application.

src/cloudflare/types/zero_trust/access/application_create_response.py

+12
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ class SelfHostedApplication(BaseModel):
334334
authentication.
335335
"""
336336

337+
allow_iframe: Optional[bool] = None
338+
"""Enables loading application content in an iFrame."""
339+
337340
allowed_idps: Optional[List[AllowedIdPs]] = None
338341
"""The identity providers your users can select when connecting to this
339342
application.
@@ -906,6 +909,9 @@ class BrowserSSHApplication(BaseModel):
906909
authentication.
907910
"""
908911

912+
allow_iframe: Optional[bool] = None
913+
"""Enables loading application content in an iFrame."""
914+
909915
allowed_idps: Optional[List[AllowedIdPs]] = None
910916
"""The identity providers your users can select when connecting to this
911917
application.
@@ -1262,6 +1268,9 @@ class BrowserVNCApplication(BaseModel):
12621268
authentication.
12631269
"""
12641270

1271+
allow_iframe: Optional[bool] = None
1272+
"""Enables loading application content in an iFrame."""
1273+
12651274
allowed_idps: Optional[List[AllowedIdPs]] = None
12661275
"""The identity providers your users can select when connecting to this
12671276
application.
@@ -2703,6 +2712,9 @@ class BrowserRdpApplication(BaseModel):
27032712
authentication.
27042713
"""
27052714

2715+
allow_iframe: Optional[bool] = None
2716+
"""Enables loading application content in an iFrame."""
2717+
27062718
allowed_idps: Optional[List[AllowedIdPs]] = None
27072719
"""The identity providers your users can select when connecting to this
27082720
application.

src/cloudflare/types/zero_trust/access/application_get_response.py

+12
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ class SelfHostedApplication(BaseModel):
334334
authentication.
335335
"""
336336

337+
allow_iframe: Optional[bool] = None
338+
"""Enables loading application content in an iFrame."""
339+
337340
allowed_idps: Optional[List[AllowedIdPs]] = None
338341
"""The identity providers your users can select when connecting to this
339342
application.
@@ -906,6 +909,9 @@ class BrowserSSHApplication(BaseModel):
906909
authentication.
907910
"""
908911

912+
allow_iframe: Optional[bool] = None
913+
"""Enables loading application content in an iFrame."""
914+
909915
allowed_idps: Optional[List[AllowedIdPs]] = None
910916
"""The identity providers your users can select when connecting to this
911917
application.
@@ -1262,6 +1268,9 @@ class BrowserVNCApplication(BaseModel):
12621268
authentication.
12631269
"""
12641270

1271+
allow_iframe: Optional[bool] = None
1272+
"""Enables loading application content in an iFrame."""
1273+
12651274
allowed_idps: Optional[List[AllowedIdPs]] = None
12661275
"""The identity providers your users can select when connecting to this
12671276
application.
@@ -2703,6 +2712,9 @@ class BrowserRdpApplication(BaseModel):
27032712
authentication.
27042713
"""
27052714

2715+
allow_iframe: Optional[bool] = None
2716+
"""Enables loading application content in an iFrame."""
2717+
27062718
allowed_idps: Optional[List[AllowedIdPs]] = None
27072719
"""The identity providers your users can select when connecting to this
27082720
application.

src/cloudflare/types/zero_trust/access/application_list_response.py

+12
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ class SelfHostedApplication(BaseModel):
334334
authentication.
335335
"""
336336

337+
allow_iframe: Optional[bool] = None
338+
"""Enables loading application content in an iFrame."""
339+
337340
allowed_idps: Optional[List[AllowedIdPs]] = None
338341
"""The identity providers your users can select when connecting to this
339342
application.
@@ -906,6 +909,9 @@ class BrowserSSHApplication(BaseModel):
906909
authentication.
907910
"""
908911

912+
allow_iframe: Optional[bool] = None
913+
"""Enables loading application content in an iFrame."""
914+
909915
allowed_idps: Optional[List[AllowedIdPs]] = None
910916
"""The identity providers your users can select when connecting to this
911917
application.
@@ -1262,6 +1268,9 @@ class BrowserVNCApplication(BaseModel):
12621268
authentication.
12631269
"""
12641270

1271+
allow_iframe: Optional[bool] = None
1272+
"""Enables loading application content in an iFrame."""
1273+
12651274
allowed_idps: Optional[List[AllowedIdPs]] = None
12661275
"""The identity providers your users can select when connecting to this
12671276
application.
@@ -2703,6 +2712,9 @@ class BrowserRdpApplication(BaseModel):
27032712
authentication.
27042713
"""
27052714

2715+
allow_iframe: Optional[bool] = None
2716+
"""Enables loading application content in an iFrame."""
2717+
27062718
allowed_idps: Optional[List[AllowedIdPs]] = None
27072719
"""The identity providers your users can select when connecting to this
27082720
application.

src/cloudflare/types/zero_trust/access/application_update_params.py

+12
Original file line numberDiff line numberDiff line change
@@ -151,6 +151,9 @@ class SelfHostedApplication(TypedDict, total=False):
151151
authentication.
152152
"""
153153

154+
allow_iframe: bool
155+
"""Enables loading application content in an iFrame."""
156+
154157
allowed_idps: List[AllowedIdPs]
155158
"""The identity providers your users can select when connecting to this
156159
application.
@@ -696,6 +699,9 @@ class BrowserSSHApplication(TypedDict, total=False):
696699
authentication.
697700
"""
698701

702+
allow_iframe: bool
703+
"""Enables loading application content in an iFrame."""
704+
699705
allowed_idps: List[AllowedIdPs]
700706
"""The identity providers your users can select when connecting to this
701707
application.
@@ -1040,6 +1046,9 @@ class BrowserVNCApplication(TypedDict, total=False):
10401046
authentication.
10411047
"""
10421048

1049+
allow_iframe: bool
1050+
"""Enables loading application content in an iFrame."""
1051+
10431052
allowed_idps: List[AllowedIdPs]
10441053
"""The identity providers your users can select when connecting to this
10451054
application.
@@ -2289,6 +2298,9 @@ class BrowserRdpApplication(TypedDict, total=False):
22892298
authentication.
22902299
"""
22912300

2301+
allow_iframe: bool
2302+
"""Enables loading application content in an iFrame."""
2303+
22922304
allowed_idps: List[AllowedIdPs]
22932305
"""The identity providers your users can select when connecting to this
22942306
application.

src/cloudflare/types/zero_trust/access/application_update_response.py

+12
Original file line numberDiff line numberDiff line change
@@ -334,6 +334,9 @@ class SelfHostedApplication(BaseModel):
334334
authentication.
335335
"""
336336

337+
allow_iframe: Optional[bool] = None
338+
"""Enables loading application content in an iFrame."""
339+
337340
allowed_idps: Optional[List[AllowedIdPs]] = None
338341
"""The identity providers your users can select when connecting to this
339342
application.
@@ -906,6 +909,9 @@ class BrowserSSHApplication(BaseModel):
906909
authentication.
907910
"""
908911

912+
allow_iframe: Optional[bool] = None
913+
"""Enables loading application content in an iFrame."""
914+
909915
allowed_idps: Optional[List[AllowedIdPs]] = None
910916
"""The identity providers your users can select when connecting to this
911917
application.
@@ -1262,6 +1268,9 @@ class BrowserVNCApplication(BaseModel):
12621268
authentication.
12631269
"""
12641270

1271+
allow_iframe: Optional[bool] = None
1272+
"""Enables loading application content in an iFrame."""
1273+
12651274
allowed_idps: Optional[List[AllowedIdPs]] = None
12661275
"""The identity providers your users can select when connecting to this
12671276
application.
@@ -2703,6 +2712,9 @@ class BrowserRdpApplication(BaseModel):
27032712
authentication.
27042713
"""
27052714

2715+
allow_iframe: Optional[bool] = None
2716+
"""Enables loading application content in an iFrame."""
2717+
27062718
allowed_idps: Optional[List[AllowedIdPs]] = None
27072719
"""The identity providers your users can select when connecting to this
27082720
application.

tests/api_resources/zero_trust/access/test_applications.py

+16
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ def test_method_create_with_all_params_overload_1(self, client: Cloudflare) -> N
4242
type="self_hosted",
4343
account_id="account_id",
4444
allow_authenticate_via_warp=True,
45+
allow_iframe=True,
4546
allowed_idps=["699d98642c564d2e855e9661899b7252"],
4647
app_launcher_visible=True,
4748
auto_redirect_to_identity=True,
@@ -328,6 +329,7 @@ def test_method_create_with_all_params_overload_3(self, client: Cloudflare) -> N
328329
type="ssh",
329330
account_id="account_id",
330331
allow_authenticate_via_warp=True,
332+
allow_iframe=True,
331333
allowed_idps=["699d98642c564d2e855e9661899b7252"],
332334
app_launcher_visible=True,
333335
auto_redirect_to_identity=True,
@@ -491,6 +493,7 @@ def test_method_create_with_all_params_overload_4(self, client: Cloudflare) -> N
491493
type="vnc",
492494
account_id="account_id",
493495
allow_authenticate_via_warp=True,
496+
allow_iframe=True,
494497
allowed_idps=["699d98642c564d2e855e9661899b7252"],
495498
app_launcher_visible=True,
496499
auto_redirect_to_identity=True,
@@ -1209,6 +1212,7 @@ def test_method_create_with_all_params_overload_10(self, client: Cloudflare) ->
12091212
type="rdp",
12101213
account_id="account_id",
12111214
allow_authenticate_via_warp=True,
1215+
allow_iframe=True,
12121216
allowed_idps=["699d98642c564d2e855e9661899b7252"],
12131217
app_launcher_visible=True,
12141218
auto_redirect_to_identity=True,
@@ -1402,6 +1406,7 @@ def test_method_update_with_all_params_overload_1(self, client: Cloudflare) -> N
14021406
type="self_hosted",
14031407
account_id="account_id",
14041408
allow_authenticate_via_warp=True,
1409+
allow_iframe=True,
14051410
allowed_idps=["699d98642c564d2e855e9661899b7252"],
14061411
app_launcher_visible=True,
14071412
auto_redirect_to_identity=True,
@@ -1714,6 +1719,7 @@ def test_method_update_with_all_params_overload_3(self, client: Cloudflare) -> N
17141719
type="ssh",
17151720
account_id="account_id",
17161721
allow_authenticate_via_warp=True,
1722+
allow_iframe=True,
17171723
allowed_idps=["699d98642c564d2e855e9661899b7252"],
17181724
app_launcher_visible=True,
17191725
auto_redirect_to_identity=True,
@@ -1891,6 +1897,7 @@ def test_method_update_with_all_params_overload_4(self, client: Cloudflare) -> N
18911897
type="vnc",
18921898
account_id="account_id",
18931899
allow_authenticate_via_warp=True,
1900+
allow_iframe=True,
18941901
allowed_idps=["699d98642c564d2e855e9661899b7252"],
18951902
app_launcher_visible=True,
18961903
auto_redirect_to_identity=True,
@@ -2694,6 +2701,7 @@ def test_method_update_with_all_params_overload_10(self, client: Cloudflare) ->
26942701
type="rdp",
26952702
account_id="account_id",
26962703
allow_authenticate_via_warp=True,
2704+
allow_iframe=True,
26972705
allowed_idps=["699d98642c564d2e855e9661899b7252"],
26982706
app_launcher_visible=True,
26992707
auto_redirect_to_identity=True,
@@ -3168,6 +3176,7 @@ async def test_method_create_with_all_params_overload_1(self, async_client: Asyn
31683176
type="self_hosted",
31693177
account_id="account_id",
31703178
allow_authenticate_via_warp=True,
3179+
allow_iframe=True,
31713180
allowed_idps=["699d98642c564d2e855e9661899b7252"],
31723181
app_launcher_visible=True,
31733182
auto_redirect_to_identity=True,
@@ -3454,6 +3463,7 @@ async def test_method_create_with_all_params_overload_3(self, async_client: Asyn
34543463
type="ssh",
34553464
account_id="account_id",
34563465
allow_authenticate_via_warp=True,
3466+
allow_iframe=True,
34573467
allowed_idps=["699d98642c564d2e855e9661899b7252"],
34583468
app_launcher_visible=True,
34593469
auto_redirect_to_identity=True,
@@ -3617,6 +3627,7 @@ async def test_method_create_with_all_params_overload_4(self, async_client: Asyn
36173627
type="vnc",
36183628
account_id="account_id",
36193629
allow_authenticate_via_warp=True,
3630+
allow_iframe=True,
36203631
allowed_idps=["699d98642c564d2e855e9661899b7252"],
36213632
app_launcher_visible=True,
36223633
auto_redirect_to_identity=True,
@@ -4335,6 +4346,7 @@ async def test_method_create_with_all_params_overload_10(self, async_client: Asy
43354346
type="rdp",
43364347
account_id="account_id",
43374348
allow_authenticate_via_warp=True,
4349+
allow_iframe=True,
43384350
allowed_idps=["699d98642c564d2e855e9661899b7252"],
43394351
app_launcher_visible=True,
43404352
auto_redirect_to_identity=True,
@@ -4528,6 +4540,7 @@ async def test_method_update_with_all_params_overload_1(self, async_client: Asyn
45284540
type="self_hosted",
45294541
account_id="account_id",
45304542
allow_authenticate_via_warp=True,
4543+
allow_iframe=True,
45314544
allowed_idps=["699d98642c564d2e855e9661899b7252"],
45324545
app_launcher_visible=True,
45334546
auto_redirect_to_identity=True,
@@ -4840,6 +4853,7 @@ async def test_method_update_with_all_params_overload_3(self, async_client: Asyn
48404853
type="ssh",
48414854
account_id="account_id",
48424855
allow_authenticate_via_warp=True,
4856+
allow_iframe=True,
48434857
allowed_idps=["699d98642c564d2e855e9661899b7252"],
48444858
app_launcher_visible=True,
48454859
auto_redirect_to_identity=True,
@@ -5017,6 +5031,7 @@ async def test_method_update_with_all_params_overload_4(self, async_client: Asyn
50175031
type="vnc",
50185032
account_id="account_id",
50195033
allow_authenticate_via_warp=True,
5034+
allow_iframe=True,
50205035
allowed_idps=["699d98642c564d2e855e9661899b7252"],
50215036
app_launcher_visible=True,
50225037
auto_redirect_to_identity=True,
@@ -5820,6 +5835,7 @@ async def test_method_update_with_all_params_overload_10(self, async_client: Asy
58205835
type="rdp",
58215836
account_id="account_id",
58225837
allow_authenticate_via_warp=True,
5838+
allow_iframe=True,
58235839
allowed_idps=["699d98642c564d2e855e9661899b7252"],
58245840
app_launcher_visible=True,
58255841
auto_redirect_to_identity=True,

0 commit comments

Comments
 (0)