-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): update via SDK Studio (#285)
- Loading branch information
1 parent
c382c59
commit 5fcdaee
Showing
33 changed files
with
718 additions
and
459 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
|
||
__all__ = ["CarbonblackInput"] | ||
|
||
CarbonblackInput = str |
13 changes: 13 additions & 0 deletions
13
src/cloudflare/types/zero_trust/devices/client_certificate_input.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from ...._models import BaseModel | ||
|
||
__all__ = ["ClientCertificateInput"] | ||
|
||
|
||
class ClientCertificateInput(BaseModel): | ||
certificate_id: str | ||
"""UUID of Cloudflare managed certificate.""" | ||
|
||
cn: str | ||
"""Common Name that is protected by the certificate""" |
15 changes: 15 additions & 0 deletions
15
src/cloudflare/types/zero_trust/devices/client_certificate_input_param.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from __future__ import annotations | ||
|
||
from typing_extensions import Required, TypedDict | ||
|
||
__all__ = ["ClientCertificateInputParam"] | ||
|
||
|
||
class ClientCertificateInputParam(TypedDict, total=False): | ||
certificate_id: Required[str] | ||
"""UUID of Cloudflare managed certificate.""" | ||
|
||
cn: Required[str] | ||
"""Common Name that is protected by the certificate""" |
39 changes: 39 additions & 0 deletions
39
src/cloudflare/types/zero_trust/devices/crowdstrike_input.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from typing import Optional | ||
from typing_extensions import Literal | ||
|
||
from pydantic import Field as FieldInfo | ||
|
||
from ...._models import BaseModel | ||
|
||
__all__ = ["CrowdstrikeInput"] | ||
|
||
|
||
class CrowdstrikeInput(BaseModel): | ||
connection_id: str | ||
"""Posture Integration ID.""" | ||
|
||
last_seen: Optional[str] = None | ||
"""For more details on last seen, please refer to the Crowdstrike documentation.""" | ||
|
||
operator: Optional[Literal["<", "<=", ">", ">=", "=="]] = None | ||
"""operator""" | ||
|
||
os: Optional[str] = None | ||
"""Os Version""" | ||
|
||
overall: Optional[str] = None | ||
"""overall""" | ||
|
||
sensor_config: Optional[str] = None | ||
"""SensorConfig""" | ||
|
||
state: Optional[Literal["online", "offline", "unknown"]] = None | ||
"""For more details on state, please refer to the Crowdstrike documentation.""" | ||
|
||
version: Optional[str] = None | ||
"""Version""" | ||
|
||
version_operator: Optional[Literal["<", "<=", ">", ">=", "=="]] = FieldInfo(alias="versionOperator", default=None) | ||
"""Version Operator""" |
38 changes: 38 additions & 0 deletions
38
src/cloudflare/types/zero_trust/devices/crowdstrike_input_param.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
from __future__ import annotations | ||
|
||
from typing_extensions import Literal, Required, Annotated, TypedDict | ||
|
||
from ...._utils import PropertyInfo | ||
|
||
__all__ = ["CrowdstrikeInputParam"] | ||
|
||
|
||
class CrowdstrikeInputParam(TypedDict, total=False): | ||
connection_id: Required[str] | ||
"""Posture Integration ID.""" | ||
|
||
last_seen: str | ||
"""For more details on last seen, please refer to the Crowdstrike documentation.""" | ||
|
||
operator: Literal["<", "<=", ">", ">=", "=="] | ||
"""operator""" | ||
|
||
os: str | ||
"""Os Version""" | ||
|
||
overall: str | ||
"""overall""" | ||
|
||
sensor_config: str | ||
"""SensorConfig""" | ||
|
||
state: Literal["online", "offline", "unknown"] | ||
"""For more details on state, please refer to the Crowdstrike documentation.""" | ||
|
||
version: str | ||
"""Version""" | ||
|
||
version_operator: Annotated[Literal["<", "<=", ">", ">=", "=="], PropertyInfo(alias="versionOperator")] | ||
"""Version Operator""" |
Oops, something went wrong.