Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): api update #2212

Merged
merged 1 commit into from
Nov 26, 2024
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
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1448
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-96e28d4d04ac2f1a00dda1130ef53e8bd9f2f1590e5d7ba8bed38cad29f8b2de.yml
configured_endpoints: 1436
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-511887ff04241247ce592a1c095e403a0fc8b376f7072c28bc59ced11f82e547.yml
48 changes: 0 additions & 48 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -8274,62 +8274,14 @@ Types:
```python
from cloudflare.types.resource_sharing import (
ResourceSharingCreateResponse,
ResourceSharingUpdateResponse,
ResourceSharingListResponse,
ResourceSharingDeleteResponse,
ResourceSharingGetResponse,
)
```

Methods:

- <code title="post /accounts/{account_id}/shares">client.resource_sharing.<a href="./src/cloudflare/resources/resource_sharing/resource_sharing.py">create</a>(\*, account_id, \*\*<a href="src/cloudflare/types/resource_sharing/resource_sharing_create_params.py">params</a>) -> <a href="./src/cloudflare/types/resource_sharing/resource_sharing_create_response.py">Optional</a></code>
- <code title="put /accounts/{account_id}/shares/{share_identifier}">client.resource_sharing.<a href="./src/cloudflare/resources/resource_sharing/resource_sharing.py">update</a>(share_identifier, \*, account_id, \*\*<a href="src/cloudflare/types/resource_sharing/resource_sharing_update_params.py">params</a>) -> <a href="./src/cloudflare/types/resource_sharing/resource_sharing_update_response.py">Optional</a></code>
- <code title="get /accounts/{account_id}/shares">client.resource_sharing.<a href="./src/cloudflare/resources/resource_sharing/resource_sharing.py">list</a>(\*, account_id, \*\*<a href="src/cloudflare/types/resource_sharing/resource_sharing_list_params.py">params</a>) -> <a href="./src/cloudflare/types/resource_sharing/resource_sharing_list_response.py">SyncV4PagePaginationArray[ResourceSharingListResponse]</a></code>
- <code title="delete /accounts/{account_id}/shares/{share_identifier}">client.resource_sharing.<a href="./src/cloudflare/resources/resource_sharing/resource_sharing.py">delete</a>(share_identifier, \*, account_id) -> <a href="./src/cloudflare/types/resource_sharing/resource_sharing_delete_response.py">Optional</a></code>
- <code title="get /accounts/{account_id}/shares/{share_identifier}">client.resource_sharing.<a href="./src/cloudflare/resources/resource_sharing/resource_sharing.py">get</a>(share_identifier, \*, account_id) -> <a href="./src/cloudflare/types/resource_sharing/resource_sharing_get_response.py">Optional</a></code>

## Recipients

Types:

```python
from cloudflare.types.resource_sharing import (
RecipientCreateResponse,
RecipientListResponse,
RecipientDeleteResponse,
RecipientGetResponse,
)
```

Methods:

- <code title="post /accounts/{account_id}/shares/{share_identifier}/recipients">client.resource_sharing.recipients.<a href="./src/cloudflare/resources/resource_sharing/recipients.py">create</a>(share_identifier, \*, path_account_id, \*\*<a href="src/cloudflare/types/resource_sharing/recipient_create_params.py">params</a>) -> <a href="./src/cloudflare/types/resource_sharing/recipient_create_response.py">Optional</a></code>
- <code title="get /accounts/{account_id}/shares/{share_identifier}/recipients">client.resource_sharing.recipients.<a href="./src/cloudflare/resources/resource_sharing/recipients.py">list</a>(share_identifier, \*, account_id, \*\*<a href="src/cloudflare/types/resource_sharing/recipient_list_params.py">params</a>) -> <a href="./src/cloudflare/types/resource_sharing/recipient_list_response.py">SyncV4PagePaginationArray[RecipientListResponse]</a></code>
- <code title="delete /accounts/{account_id}/shares/{share_identifier}/recipients/{recipient_identifier}">client.resource_sharing.recipients.<a href="./src/cloudflare/resources/resource_sharing/recipients.py">delete</a>(recipient_identifier, \*, account_id, share_identifier) -> <a href="./src/cloudflare/types/resource_sharing/recipient_delete_response.py">Optional</a></code>
- <code title="get /accounts/{account_id}/shares/{share_identifier}/recipients/{recipient_identifier}">client.resource_sharing.recipients.<a href="./src/cloudflare/resources/resource_sharing/recipients.py">get</a>(recipient_identifier, \*, account_id, share_identifier) -> <a href="./src/cloudflare/types/resource_sharing/recipient_get_response.py">Optional</a></code>

## Resources

Types:

```python
from cloudflare.types.resource_sharing import (
ResourceCreateResponse,
ResourceUpdateResponse,
ResourceListResponse,
ResourceDeleteResponse,
ResourceGetResponse,
)
```

Methods:

- <code title="post /accounts/{account_id}/shares/{share_identifier}/resources">client.resource_sharing.resources.<a href="./src/cloudflare/resources/resource_sharing/resources.py">create</a>(share_identifier, \*, account_id, \*\*<a href="src/cloudflare/types/resource_sharing/resource_create_params.py">params</a>) -> <a href="./src/cloudflare/types/resource_sharing/resource_create_response.py">Optional</a></code>
- <code title="put /accounts/{account_id}/shares/{share_identifier}/resources/{resource_identifier}">client.resource_sharing.resources.<a href="./src/cloudflare/resources/resource_sharing/resources.py">update</a>(resource_identifier, \*, account_id, share_identifier, \*\*<a href="src/cloudflare/types/resource_sharing/resource_update_params.py">params</a>) -> <a href="./src/cloudflare/types/resource_sharing/resource_update_response.py">Optional</a></code>
- <code title="get /accounts/{account_id}/shares/{share_identifier}/resources">client.resource_sharing.resources.<a href="./src/cloudflare/resources/resource_sharing/resources.py">list</a>(share_identifier, \*, account_id, \*\*<a href="src/cloudflare/types/resource_sharing/resource_list_params.py">params</a>) -> <a href="./src/cloudflare/types/resource_sharing/resource_list_response.py">SyncV4PagePaginationArray[ResourceListResponse]</a></code>
- <code title="delete /accounts/{account_id}/shares/{share_identifier}/resources/{resource_identifier}">client.resource_sharing.resources.<a href="./src/cloudflare/resources/resource_sharing/resources.py">delete</a>(resource_identifier, \*, account_id, share_identifier) -> <a href="./src/cloudflare/types/resource_sharing/resource_delete_response.py">Optional</a></code>
- <code title="get /accounts/{account_id}/shares/{share_identifier}/resources/{resource_identifier}">client.resource_sharing.resources.<a href="./src/cloudflare/resources/resource_sharing/resources.py">get</a>(resource_identifier, \*, account_id, share_identifier) -> <a href="./src/cloudflare/types/resource_sharing/resource_get_response.py">Optional</a></code>

# LeakedCredentialChecks

Expand Down
28 changes: 0 additions & 28 deletions src/cloudflare/resources/resource_sharing/__init__.py
Original file line number Diff line number Diff line change
@@ -1,21 +1,5 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

from .resources import (
ResourcesResource,
AsyncResourcesResource,
ResourcesResourceWithRawResponse,
AsyncResourcesResourceWithRawResponse,
ResourcesResourceWithStreamingResponse,
AsyncResourcesResourceWithStreamingResponse,
)
from .recipients import (
RecipientsResource,
AsyncRecipientsResource,
RecipientsResourceWithRawResponse,
AsyncRecipientsResourceWithRawResponse,
RecipientsResourceWithStreamingResponse,
AsyncRecipientsResourceWithStreamingResponse,
)
from .resource_sharing import (
ResourceSharingResource,
AsyncResourceSharingResource,
Expand All @@ -26,18 +10,6 @@
)

__all__ = [
"RecipientsResource",
"AsyncRecipientsResource",
"RecipientsResourceWithRawResponse",
"AsyncRecipientsResourceWithRawResponse",
"RecipientsResourceWithStreamingResponse",
"AsyncRecipientsResourceWithStreamingResponse",
"ResourcesResource",
"AsyncResourcesResource",
"ResourcesResourceWithRawResponse",
"AsyncResourcesResourceWithRawResponse",
"ResourcesResourceWithStreamingResponse",
"AsyncResourcesResourceWithStreamingResponse",
"ResourceSharingResource",
"AsyncResourceSharingResource",
"ResourceSharingResourceWithRawResponse",
Expand Down
Loading