Skip to content

Commit 5bf1ef5

Browse files
stainless-app[bot]stainless-bot
authored andcommitted
chore(internal): codegen related update (#2213)
1 parent 19d7551 commit 5bf1ef5

29 files changed

+3789
-4
lines changed

.stats.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
configured_endpoints: 1436
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-511887ff04241247ce592a1c095e403a0fc8b376f7072c28bc59ced11f82e547.yml
1+
configured_endpoints: 1448
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-96e28d4d04ac2f1a00dda1130ef53e8bd9f2f1590e5d7ba8bed38cad29f8b2de.yml

api.md

+48
Original file line numberDiff line numberDiff line change
@@ -8274,14 +8274,62 @@ Types:
82748274
```python
82758275
from cloudflare.types.resource_sharing import (
82768276
ResourceSharingCreateResponse,
8277+
ResourceSharingUpdateResponse,
82778278
ResourceSharingListResponse,
8279+
ResourceSharingDeleteResponse,
8280+
ResourceSharingGetResponse,
82788281
)
82798282
```
82808283

82818284
Methods:
82828285

82838286
- <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>
8287+
- <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>
82848288
- <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>
8289+
- <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>
8290+
- <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>
8291+
8292+
## Recipients
8293+
8294+
Types:
8295+
8296+
```python
8297+
from cloudflare.types.resource_sharing import (
8298+
RecipientCreateResponse,
8299+
RecipientListResponse,
8300+
RecipientDeleteResponse,
8301+
RecipientGetResponse,
8302+
)
8303+
```
8304+
8305+
Methods:
8306+
8307+
- <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>
8308+
- <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>
8309+
- <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>
8310+
- <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>
8311+
8312+
## Resources
8313+
8314+
Types:
8315+
8316+
```python
8317+
from cloudflare.types.resource_sharing import (
8318+
ResourceCreateResponse,
8319+
ResourceUpdateResponse,
8320+
ResourceListResponse,
8321+
ResourceDeleteResponse,
8322+
ResourceGetResponse,
8323+
)
8324+
```
8325+
8326+
Methods:
8327+
8328+
- <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>
8329+
- <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>
8330+
- <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>
8331+
- <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>
8332+
- <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>
82858333

82868334
# LeakedCredentialChecks
82878335

src/cloudflare/resources/resource_sharing/__init__.py

+28
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
22

3+
from .resources import (
4+
ResourcesResource,
5+
AsyncResourcesResource,
6+
ResourcesResourceWithRawResponse,
7+
AsyncResourcesResourceWithRawResponse,
8+
ResourcesResourceWithStreamingResponse,
9+
AsyncResourcesResourceWithStreamingResponse,
10+
)
11+
from .recipients import (
12+
RecipientsResource,
13+
AsyncRecipientsResource,
14+
RecipientsResourceWithRawResponse,
15+
AsyncRecipientsResourceWithRawResponse,
16+
RecipientsResourceWithStreamingResponse,
17+
AsyncRecipientsResourceWithStreamingResponse,
18+
)
319
from .resource_sharing import (
420
ResourceSharingResource,
521
AsyncResourceSharingResource,
@@ -10,6 +26,18 @@
1026
)
1127

1228
__all__ = [
29+
"RecipientsResource",
30+
"AsyncRecipientsResource",
31+
"RecipientsResourceWithRawResponse",
32+
"AsyncRecipientsResourceWithRawResponse",
33+
"RecipientsResourceWithStreamingResponse",
34+
"AsyncRecipientsResourceWithStreamingResponse",
35+
"ResourcesResource",
36+
"AsyncResourcesResource",
37+
"ResourcesResourceWithRawResponse",
38+
"AsyncResourcesResourceWithRawResponse",
39+
"ResourcesResourceWithStreamingResponse",
40+
"AsyncResourcesResourceWithStreamingResponse",
1341
"ResourceSharingResource",
1442
"AsyncResourceSharingResource",
1543
"ResourceSharingResourceWithRawResponse",

0 commit comments

Comments
 (0)