Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#1814)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 17, 2024
1 parent 2409946 commit 438a7c9
Show file tree
Hide file tree
Showing 5 changed files with 1,323 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1249
configured_endpoints: 1259
28 changes: 28 additions & 0 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5626,6 +5626,34 @@ Methods:

## Indexes

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexDimensionConfigurationParam">IndexDimensionConfigurationParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#CreateIndex">CreateIndex</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexDeleteVectorsByID">IndexDeleteVectorsByID</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexDimensionConfiguration">IndexDimensionConfiguration</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexInsert">IndexInsert</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexQuery">IndexQuery</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexUpsert">IndexUpsert</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexDeleteResponseUnion">IndexDeleteResponseUnion</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexGetByIDsResponse">IndexGetByIDsResponse</a>

Methods:

- <code title="post /accounts/{account_id}/vectorize/indexes">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexNewParams">IndexNewParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#CreateIndex">CreateIndex</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/vectorize/indexes/{index_name}">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexUpdateParams">IndexUpdateParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#CreateIndex">CreateIndex</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/vectorize/indexes">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexListParams">IndexListParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/internal/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#CreateIndex">CreateIndex</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/vectorize/indexes/{index_name}">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexDeleteParams">IndexDeleteParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexDeleteResponseUnion">IndexDeleteResponseUnion</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/delete-by-ids">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.DeleteByIDs">DeleteByIDs</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexDeleteByIDsParams">IndexDeleteByIDsParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexDeleteVectorsByID">IndexDeleteVectorsByID</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/vectorize/indexes/{index_name}">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexGetParams">IndexGetParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#CreateIndex">CreateIndex</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/get-by-ids">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.GetByIDs">GetByIDs</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexGetByIDsParams">IndexGetByIDsParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexGetByIDsResponse">IndexGetByIDsResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/insert">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.Insert">Insert</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexInsertParams">IndexInsertParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexInsert">IndexInsert</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/query">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.Query">Query</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexQueryParams">IndexQueryParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexQuery">IndexQuery</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/vectorize/indexes/{index_name}/upsert">client.Vectorize.Indexes.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexService.Upsert">Upsert</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexUpsertParams">IndexUpsertParams</a>) (<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize">vectorize</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v2/vectorize#IndexUpsert">IndexUpsert</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

# URLScanner

Response Types:
Expand Down
1 change: 1 addition & 0 deletions internal/shared/union.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,6 +168,7 @@ func (UnionString) ImplementsZeroTrustNetworkVirtualNetworkNewResponseUnion()
func (UnionString) ImplementsZeroTrustNetworkVirtualNetworkDeleteResponseUnion() {}
func (UnionString) ImplementsZeroTrustNetworkVirtualNetworkEditResponseUnion() {}
func (UnionString) ImplementsHyperdriveConfigDeleteResponseUnion() {}
func (UnionString) ImplementsVectorizeIndexDeleteResponseUnion() {}
func (UnionString) ImplementsRadarRankingTimeseriesGroupsResponseSerie0Union() {}
func (UnionString) ImplementsOriginPostQuantumEncryptionOriginPostQuantumEncryptionUpdateResponseUnion() {
}
Expand Down
Loading

0 comments on commit 438a7c9

Please sign in to comment.