Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1450
configured_endpoints: 1454
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-24f32ff8cc230aecb28b850e99ed99f6f66fba898e64194d21052c4c2b869a24.yml
31 changes: 31 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5591,6 +5591,37 @@ from cloudflare.types.zero_trust import (
)
```

### Commands

Types:

```python
from cloudflare.types.zero_trust.dex import CommandCreateResponse, CommandListResponse
```

Methods:

- <code title="post /accounts/{account_id}/commands">client.zero_trust.dex.commands.<a href="./src/cloudflare/resources/zero_trust/dex/commands/commands.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/zero_trust/dex/command_create_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/dex/command_create_response.py">Optional[CommandCreateResponse]</a></code>
- <code title="get /accounts/{account_id}/commands">client.zero_trust.dex.commands.<a href="./src/cloudflare/resources/zero_trust/dex/commands/commands.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/zero_trust/dex/command_list_params.py">params</a>) -> <a href="./src/cloudflare/types/zero_trust/dex/command_list_response.py">SyncV4PagePagination[Optional[CommandListResponse]]</a></code>

#### Downloads

Methods:

- <code title="get /accounts/{account_id}/commands/{command_id}/downloads/{filename}">client.zero_trust.dex.commands.downloads.<a href="./src/cloudflare/resources/zero_trust/dex/commands/downloads.py">get</a>(filename, \*, account_id, command_id) -> BinaryAPIResponse</code>

#### Quota

Types:

```python
from cloudflare.types.zero_trust.dex.commands import QuotaGetResponse
```

Methods:

- <code title="get /accounts/{account_id}/commands/quota">client.zero_trust.dex.commands.quota.<a href="./src/cloudflare/resources/zero_trust/dex/commands/quota.py">get</a>(\*, account_id) -> <a href="./src/cloudflare/types/zero_trust/dex/commands/quota_get_response.py">Optional[QuotaGetResponse]</a></code>

### Colos

Types:
Expand Down
14 changes: 14 additions & 0 deletions src/cloudflare/resources/zero_trust/dex/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@
TestsResourceWithStreamingResponse,
AsyncTestsResourceWithStreamingResponse,
)
from .commands import (
CommandsResource,
AsyncCommandsResource,
CommandsResourceWithRawResponse,
AsyncCommandsResourceWithRawResponse,
CommandsResourceWithStreamingResponse,
AsyncCommandsResourceWithStreamingResponse,
)
from .http_tests import (
HTTPTestsResource,
AsyncHTTPTestsResource,
Expand Down Expand Up @@ -58,6 +66,12 @@
)

__all__ = [
"CommandsResource",
"AsyncCommandsResource",
"CommandsResourceWithRawResponse",
"AsyncCommandsResourceWithRawResponse",
"CommandsResourceWithStreamingResponse",
"AsyncCommandsResourceWithStreamingResponse",
"ColosResource",
"AsyncColosResource",
"ColosResourceWithRawResponse",
Expand Down
47 changes: 47 additions & 0 deletions src/cloudflare/resources/zero_trust/dex/commands/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from .quota import (
QuotaResource,
AsyncQuotaResource,
QuotaResourceWithRawResponse,
AsyncQuotaResourceWithRawResponse,
QuotaResourceWithStreamingResponse,
AsyncQuotaResourceWithStreamingResponse,
)
from .commands import (
CommandsResource,
AsyncCommandsResource,
CommandsResourceWithRawResponse,
AsyncCommandsResourceWithRawResponse,
CommandsResourceWithStreamingResponse,
AsyncCommandsResourceWithStreamingResponse,
)
from .downloads import (
DownloadsResource,
AsyncDownloadsResource,
DownloadsResourceWithRawResponse,
AsyncDownloadsResourceWithRawResponse,
DownloadsResourceWithStreamingResponse,
AsyncDownloadsResourceWithStreamingResponse,
)

__all__ = [
"DownloadsResource",
"AsyncDownloadsResource",
"DownloadsResourceWithRawResponse",
"AsyncDownloadsResourceWithRawResponse",
"DownloadsResourceWithStreamingResponse",
"AsyncDownloadsResourceWithStreamingResponse",
"QuotaResource",
"AsyncQuotaResource",
"QuotaResourceWithRawResponse",
"AsyncQuotaResourceWithRawResponse",
"QuotaResourceWithStreamingResponse",
"AsyncQuotaResourceWithStreamingResponse",
"CommandsResource",
"AsyncCommandsResource",
"CommandsResourceWithRawResponse",
"AsyncCommandsResourceWithRawResponse",
"CommandsResourceWithStreamingResponse",
"AsyncCommandsResourceWithStreamingResponse",
]
Loading