8000 feat(api): update via SDK Studio (#2193) · cloudflare/cloudflare-python@d4deaed · GitHub
[go: up one dir, main page]

Skip to content

Commit d4deaed

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#2193)
1 parent f1b6c86 commit d4deaed

File tree

8 files changed

+97
-31
lines changed

8 files changed

+97
-31
lines changed

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1448
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4d2f05325a71a386987074fbab49673b6a1172a173789df9ed0d6db31a293904.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-a87c8380ec40a8719b4385109e29fd5ec40c54f39d6fe216861c55e43ab74fd3.yml

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

Lines changed: 24 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,8 @@ def create(
216216
217217
self_hosted_domains: List of domains that Access will secure.
218218
219-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
219+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
220+
foo.
220221
221222
session_duration: The amount of time that tokens issued for this application will be valid. Must
222223
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -408,7 +409,8 @@ def create(
408409
409410
self_hosted_domains: List of domains that Access will secure.
410411
411-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
412+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
413+
foo.
412414
413415
session_duration: The amount of time that tokens issued for this application will be valid. Must
414416
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -532,7 +534,8 @@ def create(
532534
533535
self_hosted_domains: List of domains that Access will secure.
534536
535-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
537+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
538+
foo.
536539
537540
session_duration: The amount of time that tokens issued for this application will be valid. Must
538541
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -1095,7 +1098,8 @@ def update(
10951098
10961099
self_hosted_domains: List of domains that Access will secure.
10971100
1098-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
1101+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
1102+
foo.
10991103
11001104
session_duration: The amount of time that tokens issued for this application will be valid. Must
11011105
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -1293,7 +1297,8 @@ def update(
12931297
12941298
self_hosted_domains: List of domains that Access will secure.
12951299
1296-
service_auth_40 57AE 1_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
1300+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
1301+
foo.
12971302
12981303
session_duration: The amount of time that tokens issued for this application will be valid. Must
12991304
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -1420,7 +1425,8 @@ def update(
14201425
14211426
self_hosted_domains: List of domains that Access will secure.
14221427
1423-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
1428+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
1429+
foo.
14241430
14251431
session_duration: The amount of time that tokens issued for this application will be valid. Must
14261432
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -2284,7 +2290,8 @@ async def create(
22842290
22852291
self_hosted_domains: List of domains that Access will secure.
22862292
2287-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
2293+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
2294+
foo.
22882295
22892296
session_duration: The amount of time that tokens issued for this application will be valid. Must
22902297
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -2476,7 +2483,8 @@ async def create(
24762483
24772484
self_hosted_domains: List of domains that Access will secure.
24782485
2479-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
2486+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
2487+
foo.
24802488
24812489
session_duration: The amount of time that tokens issued for this application will be valid. Must
24822490
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -2600,7 +2608,8 @@ async def create(
26002608
26012609
self_hosted_domains: List of domains that Access will secure.
26022610
2603-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
2611+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
2612+
foo.
26042613
26052614
session_duration: The amount of time that tokens issued for this application will be valid. Must
26062615
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -3163,7 +3172,8 @@ async def update(
31633172
31643173
self_hosted_domains: List of domains that Access will secure.
31653174
3166-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
3175+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
3176+
foo.
31673177
31683178
session_duration: The amount of time that tokens issued for this application will be valid. Must
31693179
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -3361,7 +3371,8 @@ async def update(
33613371
33623372
self_hosted_domains: List of domains that Access will secure.
33633373
3364-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
3374+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
3375+
foo.
33653376
33663377
session_duration: The amount of time that tokens issued for this application will be valid. Must
33673378
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,
@@ -3488,7 +3499,8 @@ async def update(
34883499
34893500
self_hosted_domains: List of domains that Access will secure.
34903501
3491-
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy.
3502+
service_auth_401_redirect: Returns a 401 status code when the request is blocked by a Service Auth policy
3503+
foo.
34923504
34933505
session_duration: The amount of time that tokens issued for this application will be valid. Must
34943506
be in the format `300ms` or `2h45m`. Valid time units are: ns, us (or µs), ms,

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,10 @@ class SelfHostedApplication(TypedDict, total=False):
197197
"""List of domains that Access will secure."""
198198

199199
service_auth_401_redirect: bool
200-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
200+
"""
201+
Returns a 401 status code when the request is blocked by a Service Auth policy
202+
foo.
203+
"""
201204

202205
session_duration: str
203206
"""The amount of time that tokens issued for this application will be valid.
@@ -584,7 +587,10 @@ class BrowserSSHApplication(TypedDict, total=False):
584587
"""List of domains that Access will secure."""
585588

586589
service_auth_401_redirect: bool
587-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
590+
"""
591+
Returns a 401 status code when the request is blocked by a Service Auth policy
592+
foo.
593+
"""
588594

589595
session_duration: str
590596
"""The amount of time that tokens issued for this application will be valid.
@@ -816,7 +822,10 @@ class BrowserVNCApplication(TypedDict, total=False):
816822
"""List of domains that Access will secure."""
817823

818824
service_auth_401_redirect: bool
819-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
825+
"""
826+
Returns a 401 status code when the request is blocked by a Service Auth policy
827+
foo.
828+
"""
820829

821830
session_duration: str
822831
"""The amount of time that tokens issued for this application will be valid.

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@ class SelfHostedApplication(BaseModel):
212212
"""List of domains that Access will secure."""
213213

214214
service_auth_401_redirect: Optional[bool] = None
215-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
215+
"""
216+
Returns a 401 status code when the request is blocked by a Service Auth policy
217+
foo.
218+
"""
216219

217220
session_duration: Optional[str] = None
218221
"""The amount of time that tokens issued for this application will be valid.
@@ -483,7 +486,10 @@ class BrowserSSHApplication(BaseModel):
483486
"""List of domains that Access will secure."""
484487

485488
service_auth_401_redirect: Optional[bool] = None
486-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
489+
"""
490+
Returns a 401 status code when the request is blocked by a Service Auth policy
491+
foo.
492+
"""
487493

488494
session_duration: Optional[str] = None
489495
"""The amount of time that tokens issued for this application will be valid.
@@ -657,7 +663,10 @@ class BrowserVNCApplication(BaseModel):
657663
"""List of domains that Access will secure."""
658664

659665
service_auth_401_redirect: Optional[bool] = None
660-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
666+
"""
667+
Returns a 401 status code when the request is blocked by a Service Auth policy
668+
foo.
669+
"""
661670

662671
session_duration: Optional[str] = None
663672
"""The amount of time that tokens issued for this application will be valid.

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@ class SelfHostedApplication(BaseModel):
212212
"""List of domains that Access will secure."""
213213

214214
service_auth_401_redirect: Optional[bool] = None
215-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
215+
"""
216+
Returns a 401 status code when the request is blocked by a Service Auth policy
217+
foo.
218+
"""
216219

217220
session_duration: Optional[str] = None
218221
"""The amount of time that tokens issued for this application will be valid.
@@ -483,7 +486,10 @@ class BrowserSSHApplication(BaseModel):
483486
"""List of domains that Access will secure."""
484487

485488
service_auth_401_redirect: Optional[bool] = None
486-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
489+
"""
490+
Returns a 401 status code when the request is blocked by a Service Auth policy
491+
foo.
492+
"""
487493

488494
session_duration: Optional[str] = None
489495
"""The amount of time that tokens issued for this application will be valid.
@@ -657,7 +663,10 @@ class BrowserVNCApplication(BaseModel):
657663
"""List of domains that Access will secure."""
658664

659665
service_auth_401_redirect: Optional[bool] = None
660-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
666+
"""
667+
Returns a 401 status code when the request is blocked by a Service Auth policy
668+
foo.
669+
"""
661670

662671
session_duration: Optional[str] = None
663672
"""The amount of time that tokens issued for this application will be valid.

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@ class SelfHostedApplication(BaseModel):
212212
"""List of domains that Access will secure."""
213213

214214
service_auth_401_redirect: Optional[bool] = None
215-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
215+
"""
216+
Returns a 401 status code when the request is blocked by a Service Auth policy
217+
foo.
218+
"""
216219

217220
session_duration: Optional[str] = None
218221
"""The amount of time that tokens issued for this application will be valid.
@@ -483,7 +486,10 @@ class BrowserSSHApplication(BaseModel):
483486
"""List of domains that Access will secure."""
484487

485488
service_auth_401_redirect: Optional[bool] = None
486-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
489+
"""
490+
Returns a 401 status code when the request is blocked by a Service Auth policy
491+
foo.
492+
"""
487493

488494
session_duration: Optional[str] = None
489495
"""The amount of time that tokens issued for this application will be valid.
@@ -657,7 +663,10 @@ class BrowserVNCApplication(BaseModel):
657663
"""List of domains that Access will secure."""
658664

659665
service_auth_401_redirect: Optional[bool] = None
660-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
666+
"""
667+
Returns a 401 status code when the request is blocked by a Service Auth policy
668+
foo.
669+
"""
661670

662671
session_duration: Optional[str] = None
663672
"""The amount of time that tokens issued for this application will be valid.

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,7 +197,10 @@ class SelfHostedApplication(TypedDict, total=False):
197197
"""List of domains that Access will secure."""
198198

199199
service_auth_401_redirect: bool
200-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
200+
"""
201+
Returns a 401 status code when the request is blocked by a Service Auth policy
202+
foo.
203+
"""
201204

202205
session_duration: str
203206
"""The amount of time that tokens issued for this application will be valid.
@@ -584,7 +587,10 @@ class BrowserSSHApplication(TypedDict, total=False):
584587
"""List of domains that Access will secure."""
585588

586589
service_auth_401_redirect: bool
587-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
590+
"""
591+
Returns a 401 status code when the request is blocked by a Service Auth policy
592+
foo.
593+
"""
588594

589595
session_duration: str
590596
"""The amount of time that tokens issued for this application will be valid.
@@ -816,7 +822,10 @@ class BrowserVNCApplication(TypedDict, total=False):
816822
"""List of domains that Access will secure."""
817823

818824
service_auth_401_redirect: bool
819-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
825+
"""
826+
Returns a 401 status code when the request is blocked by a Service Auth policy
827+
foo.
828+
"""
820829

821830
session_duration: str
822831
"""The amount of time that tokens issued for this application will be valid.

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

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -212,7 +212,10 @@ class SelfHostedApplication(BaseModel):
212212
"""List of domains that Access will secure."""
213213

214214
service_auth_401_redirect: Optional[bool] = None
215-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
215+
"""
216+
Returns a 401 status code when the request is blocked by a Service Auth policy
217+
foo.
218+
"""
216219

217220
session_duration: Optional[str] = None
218221
"""The amount of time that tokens issued for this application will be valid.
@@ -483,7 +486,10 @@ class BrowserSSHApplication(BaseModel):
483486
"""List of domains that Access will secure."""
484487

485488
service_auth_401_redirect: Optional[bool] = None
486-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
489+
"""
490+
Returns a 401 status code when the request is blocked by a Service Auth policy
491+
foo.
492+
"""
487493

488494
session_duration: Optional[str] = None
489495
"""The amount of time that tokens issued for this application will be valid.
@@ -657,7 +663,10 @@ class BrowserVNCApplication(BaseModel):
657663
"""List of domains that Access will secure."""
658664

659665
service_auth_401_redirect: Optional[bool] = None
660-
"""Returns a 401 status code when the request is blocked by a Service Auth policy."""
666+
"""
667+
Returns a 401 status code when the request is blocked by a Service Auth policy
668+
foo.
669+
"""
661670

662671
session_duration: Optional[str] = None
663672
"""The amount of time that tokens issued for this application will be valid.

0 commit comments

Comments
 (0)
0