Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#1809)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Apr 16, 2024
1 parent eb3189d commit 7832d67
Show file tree
Hide file tree
Showing 5 changed files with 1 addition and 1,281 deletions.
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
28 changes: 0 additions & 28 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -5622,34 +5622,6 @@ 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_identifier}/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>, accountIdentifier <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#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_identifier}/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>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</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#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_identifier}/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>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</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_identifier}/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>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</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_identifier}/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>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</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#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_identifier}/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>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</a>, indexName <a href="https://pkg.go.dev/builtin#string">string</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_identifier}/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>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</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#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_identifier}/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>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</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#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_identifier}/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>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</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#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_identifier}/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>, accountIdentifier <a href="https://pkg.go.dev/builtin#string">string</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#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: 0 additions & 1 deletion internal/shared/union.go
Original file line number Diff line number Diff line change
Expand Up @@ -168,7 +168,6 @@ 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 7832d67

Please sign in to comment.