Skip to content

Commit 535bdb6

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
feat(api): update via SDK Studio (#473)
1 parent b8e303b commit 535bdb6

18 files changed

+191
-167
lines changed

api.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5083,19 +5083,20 @@ Types:
50835083

50845084
```python
50855085
from cloudflare.types.zero_trust.access import (
5086-
AllowedHeadersh,
5087-
AllowedIdpsh,
5088-
AllowedMethodsh,
5089-
AllowedOriginsh,
5086+
AllowedHeaders,
5087+
AllowedHTTPMethods,
5088+
AllowedIdPs,
5089+
AllowedMethods,
5090+
AllowedOrigins,
50905091
AppID,
50915092
Application,
50925093
CORSHeaders,
5093-
CustomPagesh,
5094+
CustomPages,
50945095
SaaSAppNameFormat,
50955096
SaaSAppNameIDFormat,
50965097
SaaSAppSource,
50975098
SAMLSaaSApp,
5098-
SelfHostedDomainsh,
5099+
SelfHostedDomains,
50995100
ApplicationDeleteResponse,
51005101
ApplicationRevokeTokensResponse,
51015102
)

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

Lines changed: 71 additions & 71 deletions
Large diffs are not rendered by default.

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

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,16 @@
88
from .application import Application as Application
99
from .certificate import Certificate as Certificate
1010
from .custom_page import CustomPage as CustomPage
11+
from .allowed_idps import AllowedIdPs as AllowedIdPs
1112
from .app_id_param import AppIDParam as AppIDParam
1213
from .cors_headers import CORSHeaders as CORSHeaders
13-
from .allowed_idpsh import AllowedIdpsh as AllowedIdpsh
14-
from .custom_pagesh import CustomPagesh as CustomPagesh
14+
from .custom_pages import CustomPages as CustomPages
1515
from .saml_saas_app import SAMLSaaSApp as SAMLSaaSApp
1616
from .service_token import ServiceToken as ServiceToken
17+
from .allowed_headers import AllowedHeaders as AllowedHeaders
18+
from .allowed_methods import AllowedMethods as AllowedMethods
19+
from .allowed_origins import AllowedOrigins as AllowedOrigins
1720
from .saas_app_source import SaaSAppSource as SaaSAppSource
18-
from .allowed_headersh import AllowedHeadersh as AllowedHeadersh
19-
from .allowed_methodsh import AllowedMethodsh as AllowedMethodsh
20-
from .allowed_originsh import AllowedOriginsh as AllowedOriginsh
2121
from .key_get_response import KeyGetResponse as KeyGetResponse
2222
from .zero_trust_group import ZeroTrustGroup as ZeroTrustGroup
2323
from .key_update_params import KeyUpdateParams as KeyUpdateParams
@@ -29,10 +29,11 @@
2929
from .key_rotate_response import KeyRotateResponse as KeyRotateResponse
3030
from .key_update_response import KeyUpdateResponse as KeyUpdateResponse
3131
from .saml_saas_app_param import SAMLSaaSAppParam as SAMLSaaSAppParam
32+
from .self_hosted_domains import SelfHostedDomains as SelfHostedDomains
3233
from .tag_delete_response import TagDeleteResponse as TagDeleteResponse
34+
from .allowed_http_methods import AllowedHTTPMethods as AllowedHTTPMethods
3335
from .associated_hostnames import AssociatedHostnames as AssociatedHostnames
3436
from .saas_app_name_format import SaaSAppNameFormat as SaaSAppNameFormat
35-
from .self_hosted_domainsh import SelfHostedDomainsh as SelfHostedDomainsh
3637
from .group_delete_response import GroupDeleteResponse as GroupDeleteResponse
3738
from .saas_app_source_param import SaaSAppSourceParam as SaaSAppSourceParam
3839
from .bookmark_create_params import BookmarkCreateParams as BookmarkCreateParams
@@ -46,6 +47,7 @@
4647
from .certificate_update_params import CertificateUpdateParams as CertificateUpdateParams
4748
from .custom_page_create_params import CustomPageCreateParams as CustomPageCreateParams
4849
from .custom_page_update_params import CustomPageUpdateParams as CustomPageUpdateParams
50+
from .allowed_http_methods_param import AllowedHTTPMethodsParam as AllowedHTTPMethodsParam
4951
from .application_delete_response import ApplicationDeleteResponse as ApplicationDeleteResponse
5052
from .certificate_delete_response import CertificateDeleteResponse as CertificateDeleteResponse
5153
from .custom_page_delete_response import CustomPageDeleteResponse as CustomPageDeleteResponse
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33

4-
__all__ = ["AllowedHeadersh"]
4+
__all__ = ["AllowedHeaders"]
55

6-
AllowedHeadersh = str
6+
AllowedHeaders = str
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
from typing import List
4+
5+
from .allowed_methods import AllowedMethods
6+
7+
__all__ = ["AllowedHTTPMethods"]
8+
9+
AllowedHTTPMethods = List[AllowedMethods]
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
from __future__ import annotations
4+
5+
from typing import List
6+
from typing_extensions import Literal
7+
8+
__all__ = ["AllowedMethods"]
9+
10+
AllowedMethods = Literal["GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]
11+
12+
AllowedHTTPMethodsParam = List[AllowedMethods]
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33

4-
__all__ = ["AllowedIdpsh"]
4+
__all__ = ["AllowedIdPs"]
55

6-
AllowedIdpsh = str
6+
AllowedIdPs = str
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2+
3+
from typing_extensions import Literal
4+
5+
__all__ = ["AllowedMethods"]
6+
7+
AllowedMethods = Literal["GET", "POST", "HEAD", "PUT", "DELETE", "CONNECT", "OPTIONS", "TRACE", "PATCH"]

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

Lines changed: 0 additions & 7 deletions
This file was deleted.
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

33

4-
__all__ = ["AllowedOriginsh"]
4+
__all__ = ["AllowedOrigins"]
55

6-
AllowedOriginsh = str
6+
AllowedOrigins = str

0 commit comments

Comments
 (0)