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): OpenAPI spec update via Stainless API #331

Merged
merged 1 commit into from
Apr 16, 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
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1259
configured_endpoints: 1249
15 changes: 0 additions & 15 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5988,24 +5988,9 @@ from cloudflare.types.vectorize import (
IndexInsert,
IndexQuery,
IndexUpsert,
IndexDeleteResponse,
IndexGetByIDsResponse,
)
```

Methods:

- <code title="post /accounts/{account_identifier}/vectorize/indexes">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">create</a>(account_identifier, \*\*<a href="src/cloudflare/types/vectorize/index_create_params.py">params</a>) -> <a href="./src/cloudflare/types/vectorize/create_index.py">Optional</a></code>
- <code title="put /accounts/{account_identifier}/vectorize/indexes/{index_name}">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">update</a>(index_name, \*, account_identifier, \*\*<a href="src/cloudflare/types/vectorize/index_update_params.py">params</a>) -> <a href="./src/cloudflare/types/vectorize/create_index.py">Optional</a></code>
- <code title="get /accounts/{account_identifier}/vectorize/indexes">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">list</a>(account_identifier) -> <a href="./src/cloudflare/types/vectorize/create_index.py">SyncSinglePage[CreateIndex]</a></code>
- <code title="delete /accounts/{account_identifier}/vectorize/indexes/{index_name}">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">delete</a>(index_name, \*, account_identifier) -> <a href="./src/cloudflare/types/vectorize/index_delete_response.py">IndexDeleteResponse</a></code>
- <code title="post /accounts/{account_identifier}/vectorize/indexes/{index_name}/delete-by-ids">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">delete_by_ids</a>(index_name, \*, account_identifier, \*\*<a href="src/cloudflare/types/vectorize/index_delete_by_ids_params.py">params</a>) -> <a href="./src/cloudflare/types/vectorize/index_delete_vectors_by_id.py">Optional</a></code>
- <code title="get /accounts/{account_identifier}/vectorize/indexes/{index_name}">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">get</a>(index_name, \*, account_identifier) -> <a href="./src/cloudflare/types/vectorize/create_index.py">Optional</a></code>
- <code title="post /accounts/{account_identifier}/vectorize/indexes/{index_name}/get-by-ids">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">get_by_ids</a>(index_name, \*, account_identifier, \*\*<a href="src/cloudflare/types/vectorize/index_get_by_ids_params.py">params</a>) -> <a href="./src/cloudflare/types/vectorize/index_get_by_ids_response.py">object</a></code>
- <code title="post /accounts/{account_identifier}/vectorize/indexes/{index_name}/insert">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">insert</a>(index_name, \*, account_identifier, \*\*<a href="src/cloudflare/types/vectorize/index_insert_params.py">params</a>) -> <a href="./src/cloudflare/types/vectorize/index_insert.py">Optional</a></code>
- <code title="post /accounts/{account_identifier}/vectorize/indexes/{index_name}/query">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">query</a>(index_name, \*, account_identifier, \*\*<a href="src/cloudflare/types/vectorize/index_query_params.py">params</a>) -> <a href="./src/cloudflare/types/vectorize/index_query.py">Optional</a></code>
- <code title="post /accounts/{account_identifier}/vectorize/indexes/{index_name}/upsert">client.vectorize.indexes.<a href="./src/cloudflare/resources/vectorize/indexes.py">upsert</a>(index_name, \*, account_identifier, \*\*<a href="src/cloudflare/types/vectorize/index_upsert_params.py">params</a>) -> <a href="./src/cloudflare/types/vectorize/index_upsert.py">Optional</a></code>

# URLScanner

Types:
Expand Down
8 changes: 0 additions & 8 deletions src/cloudflare/_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,6 @@ class Cloudflare(SyncAPIClient):
challenges: resources.Challenges
hyperdrive: resources.HyperdriveResource
rum: resources.RUM
vectorize: resources.Vectorize
url_scanner: resources.URLScanner
radar: resources.Radar
bot_management: resources.BotManagement
Expand Down Expand Up @@ -272,7 +271,6 @@ def __init__(
self.challenges = resources.Challenges(self)
self.hyperdrive = resources.HyperdriveResource(self)
self.rum = resources.RUM(self)
self.vectorize = resources.Vectorize(self)
self.url_scanner = resources.URLScanner(self)
self.radar = resources.Radar(self)
self.bot_management = resources.BotManagement(self)
Expand Down Expand Up @@ -531,7 +529,6 @@ class AsyncCloudflare(AsyncAPIClient):
challenges: resources.AsyncChallenges
hyperdrive: resources.AsyncHyperdriveResource
rum: resources.AsyncRUM
vectorize: resources.AsyncVectorize
url_scanner: resources.AsyncURLScanner
radar: resources.AsyncRadar
bot_management: resources.AsyncBotManagement
Expand Down Expand Up @@ -687,7 +684,6 @@ def __init__(
self.challenges = resources.AsyncChallenges(self)
self.hyperdrive = resources.AsyncHyperdriveResource(self)
self.rum = resources.AsyncRUM(self)
self.vectorize = resources.AsyncVectorize(self)
self.url_scanner = resources.AsyncURLScanner(self)
self.radar = resources.AsyncRadar(self)
self.bot_management = resources.AsyncBotManagement(self)
Expand Down Expand Up @@ -947,7 +943,6 @@ def __init__(self, client: Cloudflare) -> None:
self.challenges = resources.ChallengesWithRawResponse(client.challenges)
self.hyperdrive = resources.HyperdriveResourceWithRawResponse(client.hyperdrive)
self.rum = resources.RUMWithRawResponse(client.rum)
self.vectorize = resources.VectorizeWithRawResponse(client.vectorize)
self.url_scanner = resources.URLScannerWithRawResponse(client.url_scanner)
self.radar = resources.RadarWithRawResponse(client.radar)
self.bot_management = resources.BotManagementWithRawResponse(client.bot_management)
Expand Down Expand Up @@ -1038,7 +1033,6 @@ def __init__(self, client: AsyncCloudflare) -> None:
self.challenges = resources.AsyncChallengesWithRawResponse(client.challenges)
self.hyperdrive = resources.AsyncHyperdriveResourceWithRawResponse(client.hyperdrive)
self.rum = resources.AsyncRUMWithRawResponse(client.rum)
self.vectorize = resources.AsyncVectorizeWithRawResponse(client.vectorize)
self.url_scanner = resources.AsyncURLScannerWithRawResponse(client.url_scanner)
self.radar = resources.AsyncRadarWithRawResponse(client.radar)
self.bot_management = resources.AsyncBotManagementWithRawResponse(client.bot_management)
Expand Down Expand Up @@ -1129,7 +1123,6 @@ def __init__(self, client: Cloudflare) -> None:
self.challenges = resources.ChallengesWithStreamingResponse(client.challenges)
self.hyperdrive = resources.HyperdriveResourceWithStreamingResponse(client.hyperdrive)
self.rum = resources.RUMWithStreamingResponse(client.rum)
self.vectorize = resources.VectorizeWithStreamingResponse(client.vectorize)
self.url_scanner = resources.URLScannerWithStreamingResponse(client.url_scanner)
self.radar = resources.RadarWithStreamingResponse(client.radar)
self.bot_management = resources.BotManagementWithStreamingResponse(client.bot_management)
Expand Down Expand Up @@ -1226,7 +1219,6 @@ def __init__(self, client: AsyncCloudflare) -> None:
self.challenges = resources.AsyncChallengesWithStreamingResponse(client.challenges)
self.hyperdrive = resources.AsyncHyperdriveResourceWithStreamingResponse(client.hyperdrive)
self.rum = resources.AsyncRUMWithStreamingResponse(client.rum)
self.vectorize = resources.AsyncVectorizeWithStreamingResponse(client.vectorize)
self.url_scanner = resources.AsyncURLScannerWithStreamingResponse(client.url_scanner)
self.radar = resources.AsyncRadarWithStreamingResponse(client.radar)
self.bot_management = resources.AsyncBotManagementWithStreamingResponse(client.bot_management)
Expand Down
14 changes: 0 additions & 14 deletions src/cloudflare/resources/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -320,14 +320,6 @@
RegistrarWithStreamingResponse,
AsyncRegistrarWithStreamingResponse,
)
from .vectorize import (
Vectorize,
AsyncVectorize,
VectorizeWithRawResponse,
AsyncVectorizeWithRawResponse,
VectorizeWithStreamingResponse,
AsyncVectorizeWithStreamingResponse,
)
from .addressing import (
Addressing,
AsyncAddressing,
Expand Down Expand Up @@ -1064,12 +1056,6 @@
"AsyncRUMWithRawResponse",
"RUMWithStreamingResponse",
"AsyncRUMWithStreamingResponse",
"Vectorize",
"AsyncVectorize",
"VectorizeWithRawResponse",
"AsyncVectorizeWithRawResponse",
"VectorizeWithStreamingResponse",
"AsyncVectorizeWithStreamingResponse",
"URLScanner",
"AsyncURLScanner",
"URLScannerWithRawResponse",
Expand Down
33 changes: 0 additions & 33 deletions src/cloudflare/resources/vectorize/__init__.py

This file was deleted.

Loading