Skip to content

Commit

Permalink
feat(api): api update (#2282)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and meorphis committed Jan 13, 2025
1 parent 05e1ed4 commit 6c77547
Show file tree
Hide file tree
Showing 17 changed files with 3,267 additions and 744 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1490
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-deec6a3026245e9d34c70161312299d938e328e4e8a8a28517fd9930adb7b6f2.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-fec3d9d9680cac6ccc3e9d846afa5f8b26d2d05bd522b5039f60002f3e0cdc98.yml
12 changes: 2 additions & 10 deletions api.md
Original file line number Diff line number Diff line change
Expand Up @@ -1995,16 +1995,7 @@ Methods:

Types:

- <code><a href="./src/resources/workers/workers.ts">Binding</a></code>
- <code><a href="./src/resources/workers/workers.ts">D1Binding</a></code>
- <code><a href="./src/resources/workers/workers.ts">DispatchNamespaceBinding</a></code>
- <code><a href="./src/resources/workers/workers.ts">DurableObjectBinding</a></code>
- <code><a href="./src/resources/workers/workers.ts">KVNamespaceBinding</a></code>
- <code><a href="./src/resources/workers/workers.ts">MigrationStep</a></code>
- <code><a href="./src/resources/workers/workers.ts">MTLSCERTBinding</a></code>
- <code><a href="./src/resources/workers/workers.ts">PlacementConfiguration</a></code>
- <code><a href="./src/resources/workers/workers.ts">R2Binding</a></code>
- <code><a href="./src/resources/workers/workers.ts">ServiceBinding</a></code>
- <code><a href="./src/resources/workers/workers.ts">SingleStepMigration</a></code>
- <code><a href="./src/resources/workers/workers.ts">WorkerMetadata</a></code>

Expand Down Expand Up @@ -2045,13 +2036,14 @@ Types:
- <code><a href="./src/resources/workers/scripts/scripts.ts">Script</a></code>
- <code><a href="./src/resources/workers/scripts/scripts.ts">ScriptSetting</a></code>
- <code><a href="./src/resources/workers/scripts/scripts.ts">ScriptUpdateResponse</a></code>
- <code><a href="./src/resources/workers/scripts/scripts.ts">ScriptGetResponse</a></code>

Methods:

- <code title="put /accounts/{account_id}/workers/scripts/{script_name}">client.workers.scripts.<a href="./src/resources/workers/scripts/scripts.ts">update</a>(scriptName, { ...params }) -> ScriptUpdateResponse</code>
- <code title="get /accounts/{account_id}/workers/scripts">client.workers.scripts.<a href="./src/resources/workers/scripts/scripts.ts">list</a>({ ...params }) -> ScriptsSinglePage</code>
- <code title="delete /accounts/{account_id}/workers/scripts/{script_name}">client.workers.scripts.<a href="./src/resources/workers/scripts/scripts.ts">delete</a>(scriptName, { ...params }) -> void</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}">client.workers.scripts.<a href="./src/resources/workers/scripts/scripts.ts">get</a>(scriptName, { ...params }) -> Response</code>
- <code title="get /accounts/{account_id}/workers/scripts/{script_name}">client.workers.scripts.<a href="./src/resources/workers/scripts/scripts.ts">get</a>(scriptName, { ...params }) -> string</code>

### Assets

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@ import * as Core from '../../../../../core';

export class AssetUpload extends APIResource {
/**
* Start uploading a collection of assets for use in a Worker version.
* Start uploading a collection of assets for use in a Worker version. To learn
* more about the direct uploads of assets, see
* https://developers.cloudflare.com/workers/static-assets/direct-upload/
*/
create(
dispatchNamespace: string,
Expand Down
Loading

0 comments on commit 6c77547

Please sign in to comment.