Skip to content

Commit e449e47

Browse files
feat(api): api update
1 parent 29eeab3 commit e449e47

11 files changed

+28
-4
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 1793
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c56ab457f4ea2aab2ad3b66f82c677c8196d5ad1e7fb4874579b9d7b2355a26c.yml
3-
openapi_spec_hash: 7cf4fecd0d141df5ab7d1e3d98c1a407
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-88044265dcef2c68ec26e486f2a6eb3b846e85b338387f3d623f1e5c5ccee8d2.yml
3+
openapi_spec_hash: 65aa487039344e9b4f8a2e3ef908f93c
44
config_hash: 04c3e87def66bed3001640fca84ff9c5

src/cloudflare/resources/ai_gateway/ai_gateway.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ def update(
194194
log_management_strategy: Optional[Literal["STOP_INSERTING", "DELETE_OLDEST"]] | NotGiven = NOT_GIVEN,
195195
logpush: bool | NotGiven = NOT_GIVEN,
196196
logpush_public_key: Optional[str] | NotGiven = NOT_GIVEN,
197+
store_id: Optional[str] | NotGiven = NOT_GIVEN,
197198
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
198199
# The extra values given here take precedence over values defined on the client or passed to this method.
199200
extra_headers: Headers | None = None,
@@ -234,6 +235,7 @@ def update(
234235
"log_management_strategy": log_management_strategy,
235236
"logpush": logpush,
236237
"logpush_public_key": logpush_public_key,
238+
"store_id": store_id,
237239
},
238240
ai_gateway_update_params.AIGatewayUpdateParams,
239241
),
@@ -506,6 +508,7 @@ async def update(
506508
log_management_strategy: Optional[Literal["STOP_INSERTING", "DELETE_OLDEST"]] | NotGiven = NOT_GIVEN,
507509
logpush: bool | NotGiven = NOT_GIVEN,
508510
logpush_public_key: Optional[str] | NotGiven = NOT_GIVEN,
511+
store_id: Optional[str] | NotGiven = NOT_GIVEN,
509512
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
510513
# The extra values given here take precedence over values defined on the client or passed to this method.
511514
extra_headers: Headers | None = None,
@@ -546,6 +549,7 @@ async def update(
546549
"log_management_strategy": log_management_strategy,
547550
"logpush": logpush,
548551
"logpush_public_key": logpush_public_key,
552+
"store_id": store_id,
549553
},
550554
ai_gateway_update_params.AIGatewayUpdateParams,
551555
),

src/cloudflare/types/ai_gateway/ai_gateway_create_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ class AIGatewayCreateResponse(BaseModel):
4444
logpush: Optional[bool] = None
4545

4646
logpush_public_key: Optional[str] = None
47+
48+
store_id: Optional[str] = None

src/cloudflare/types/ai_gateway/ai_gateway_delete_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ class AIGatewayDeleteResponse(BaseModel):
4444
logpush: Optional[bool] = None
4545

4646
logpush_public_key: Optional[str] = None
47+
48+
store_id: Optional[str] = None

src/cloudflare/types/ai_gateway/ai_gateway_get_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ class AIGatewayGetResponse(BaseModel):
4444
logpush: Optional[bool] = None
4545

4646
logpush_public_key: Optional[str] = None
47+
48+
store_id: Optional[str] = None

src/cloudflare/types/ai_gateway/ai_gateway_list_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ class AIGatewayListResponse(BaseModel):
4444
logpush: Optional[bool] = None
4545

4646
logpush_public_key: Optional[str] = None
47+
48+
store_id: Optional[str] = None

src/cloudflare/types/ai_gateway/ai_gateway_update_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,3 +32,5 @@ class AIGatewayUpdateParams(TypedDict, total=False):
3232
logpush: bool
3333

3434
logpush_public_key: Optional[str]
35+
36+
store_id: Optional[str]

src/cloudflare/types/ai_gateway/ai_gateway_update_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,3 +44,5 @@ class AIGatewayUpdateResponse(BaseModel):
4444
logpush: Optional[bool] = None
4545

4646
logpush_public_key: Optional[str] = None
47+
48+
store_id: Optional[str] = None

src/cloudflare/types/ai_gateway/log_delete_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ class Filter(TypedDict, total=False):
3939
"created_at",
4040
"request_content_type",
4141
"response_content_type",
42+
"request_type",
4243
"success",
4344
"cached",
4445
"provider",
@@ -51,11 +52,13 @@ class Filter(TypedDict, total=False):
5152
"duration",
5253
"feedback",
5354
"event_id",
54-
"request_type",
5555
"metadata.key",
5656
"metadata.value",
5757
"prompts.prompt_id",
5858
"prompts.version_id",
59+
"authentication",
60+
"wholesale",
61+
"compatibilityMode",
5962
]
6063
]
6164

src/cloudflare/types/ai_gateway/log_list_params.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@ class Filter(TypedDict, total=False):
7878
"created_at",
7979
"request_content_type",
8080
"response_content_type",
81+
"request_type",
8182
"success",
8283
"cached",
8384
"provider",
@@ -90,11 +91,13 @@ class Filter(TypedDict, total=False):
9091
"duration",
9192
"feedback",
9293
"event_id",
93-
"request_type",
9494
"metadata.key",
9595
"metadata.value",
9696
"prompts.prompt_id",
9797
"prompts.version_id",
98+
"authentication",
99+
"wholesale",
100+
"compatibilityMode",
98101
]
99102
]
100103

0 commit comments

Comments
 (0)