Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 9061b65

Browse files
committedMar 3, 2025·
feat(api): api update (#2493)
1 parent 12d3ff5 commit 9061b65

File tree

12 files changed

+2955
-143
lines changed

12 files changed

+2955
-143
lines changed
 

‎.stats.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
configured_endpoints: 1570
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7d1c8776ad98d4258515abf9c7001b88a4103b0271efb668ca21365fe82d9a0d.yml
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-127009ef6121eb06515634b8713f33ef23495208b5013daa60f923989991cecc.yml

‎src/cloudflare/types/workers/script_update_params.py

+437-19
Large diffs are not rendered by default.

‎src/cloudflare/types/workers/scripts/version_create_params.py

+437-19
Large diffs are not rendered by default.

‎src/cloudflare/types/workers_for_platforms/dispatch/namespaces/script_update_params.py

+437-19
Large diffs are not rendered by default.

‎src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/binding_get_response.py

+400-20
Large diffs are not rendered by default.

‎src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_edit_params.py

+437-19
Large diffs are not rendered by default.

‎src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_edit_response.py

+399-19
Large diffs are not rendered by default.

‎src/cloudflare/types/workers_for_platforms/dispatch/namespaces/scripts/setting_get_response.py

+399-19
Large diffs are not rendered by default.

‎tests/api_resources/workers/scripts/test_versions.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def test_method_create_with_all_params(self, client: Cloudflare) -> None:
4747
"bindings": [
4848
{
4949
"name": "MY_ENV_VAR",
50-
"type": "plain_text",
50+
"type": "ai",
5151
}
5252
],
5353
"compatibility_date": "2021-01-01",
@@ -253,7 +253,7 @@ async def test_method_create_with_all_params(self, async_client: AsyncCloudflare
253253
"bindings": [
254254
{
255255
"name": "MY_ENV_VAR",
256-
"type": "plain_text",
256+
"type": "ai",
257257
}
258258
],
259259
"compatibility_date": "2021-01-01",

‎tests/api_resources/workers/test_scripts.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
5050
"bindings": [
5151
{
5252
"name": "MY_ENV_VAR",
53-
"type": "plain_text",
53+
"type": "ai",
5454
}
5555
],
5656
"body_part": "worker.js",
@@ -321,7 +321,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
321321
"bindings": [
322322
{
323323
"name": "MY_ENV_VAR",
324-
"type": "plain_text",
324+
"type": "ai",
325325
}
326326
],
327327
"body_part": "worker.js",

‎tests/api_resources/workers_for_platforms/dispatch/namespaces/scripts/test_settings.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def test_method_edit_with_all_params(self, client: Cloudflare) -> None:
4141
"bindings": [
4242
{
4343
"name": "MY_ENV_VAR",
44-
"type": "plain_text",
44+
"type": "ai",
4545
}
4646
],
4747
"compatibility_date": "2021-01-01",
@@ -225,7 +225,7 @@ async def test_method_edit_with_all_params(self, async_client: AsyncCloudflare)
225225
"bindings": [
226226
{
227227
"name": "MY_ENV_VAR",
228-
"type": "plain_text",
228+
"type": "ai",
229229
}
230230
],
231231
"compatibility_date": "2021-01-01",

‎tests/api_resources/workers_for_platforms/dispatch/namespaces/test_scripts.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def test_method_update_with_all_params(self, client: Cloudflare) -> None:
5151
"bindings": [
5252
{
5353
"name": "MY_ENV_VAR",
54-
"type": "plain_text",
54+
"type": "ai",
5555
}
5656
],
5757
"body_part": "worker.js",
@@ -323,7 +323,7 @@ async def test_method_update_with_all_params(self, async_client: AsyncCloudflare
323323
"bindings": [
324324
{
325325
"name": "MY_ENV_VAR",
326-
"type": "plain_text",
326+
"type": "ai",
327327
}
328328
],
329329
"body_part": "worker.js",

0 commit comments

Comments
 (0)
Please sign in to comment.