Skip to content

Commit ef37bfc

Browse files
chore(api): update composite API spec
1 parent f109470 commit ef37bfc

File tree

20 files changed

+116
-4
lines changed

20 files changed

+116
-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: 1924
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-6183ef87f1b8eea6ad4bae542bfde2ec23a5526ae2b7bacdf6c6a4c48d990995.yml
3-
openapi_spec_hash: 9c8ac3d56571ebf1e170d993b71ccb4d
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-58a32b55184e2798e3d45bb3dd0c7a5471ea433b0793ca4984d89e35154c1795.yml
3+
openapi_spec_hash: 51d65f9e2034b25a225669b6c0bca970
44
config_hash: d300d915a7b88f436c0498af4048e337

src/cloudflare/resources/accounts/logs/audit.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def list(
6363
actor_token_id: audit_list_params.ActorTokenID | Omit = omit,
6464
actor_token_name: audit_list_params.ActorTokenName | Omit = omit,
6565
actor_type: audit_list_params.ActorType | Omit = omit,
66+
audit_log_id: audit_list_params.AuditLogID | Omit = omit,
6667
cursor: str | Omit = omit,
6768
direction: Literal["desc", "asc"] | Omit = omit,
6869
limit: float | Omit = omit,
@@ -145,6 +146,7 @@ def list(
145146
"actor_token_id": actor_token_id,
146147
"actor_token_name": actor_token_name,
147148
"actor_type": actor_type,
149+
"audit_log_id": audit_log_id,
148150
"cursor": cursor,
149151
"direction": direction,
150152
"limit": limit,
@@ -203,6 +205,7 @@ def list(
203205
actor_token_id: audit_list_params.ActorTokenID | Omit = omit,
204206
actor_token_name: audit_list_params.ActorTokenName | Omit = omit,
205207
actor_type: audit_list_params.ActorType | Omit = omit,
208+
audit_log_id: audit_list_params.AuditLogID | Omit = omit,
206209
cursor: str | Omit = omit,
207210
direction: Literal["desc", "asc"] | Omit = omit,
208211
limit: float | Omit = omit,
@@ -285,6 +288,7 @@ def list(
285288
"actor_token_id": actor_token_id,
286289
"actor_token_name": actor_token_name,
287290
"actor_type": actor_type,
291+
"audit_log_id": audit_log_id,
288292
"cursor": cursor,
289293
"direction": direction,
290294
"limit": limit,

src/cloudflare/resources/ai_gateway/ai_gateway.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,7 @@ def create(
126126
log_management_strategy: Optional[Literal["STOP_INSERTING", "DELETE_OLDEST"]] | Omit = omit,
127127
logpush: bool | Omit = omit,
128128
logpush_public_key: Optional[str] | Omit = omit,
129+
zdr: bool | Omit = omit,
129130
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
130131
# The extra values given here take precedence over values defined on the client or passed to this method.
131132
extra_headers: Headers | None = None,
@@ -165,6 +166,7 @@ def create(
165166
"log_management_strategy": log_management_strategy,
166167
"logpush": logpush,
167168
"logpush_public_key": logpush_public_key,
169+
"zdr": zdr,
168170
},
169171
ai_gateway_create_params.AIGatewayCreateParams,
170172
),
@@ -198,6 +200,7 @@ def update(
198200
otel: Optional[Iterable[ai_gateway_update_params.Otel]] | Omit = omit,
199201
store_id: Optional[str] | Omit = omit,
200202
stripe: Optional[ai_gateway_update_params.Stripe] | Omit = omit,
203+
zdr: bool | Omit = omit,
201204
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
202205
# The extra values given here take precedence over values defined on the client or passed to this method.
203206
extra_headers: Headers | None = None,
@@ -242,6 +245,7 @@ def update(
242245
"otel": otel,
243246
"store_id": store_id,
244247
"stripe": stripe,
248+
"zdr": zdr,
245249
},
246250
ai_gateway_update_params.AIGatewayUpdateParams,
247251
),
@@ -446,6 +450,7 @@ async def create(
446450
log_management_strategy: Optional[Literal["STOP_INSERTING", "DELETE_OLDEST"]] | Omit = omit,
447451
logpush: bool | Omit = omit,
448452
logpush_public_key: Optional[str] | Omit = omit,
453+
zdr: bool | Omit = omit,
449454
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
450455
# The extra values given here take precedence over values defined on the client or passed to this method.
451456
extra_headers: Headers | None = None,
@@ -485,6 +490,7 @@ async def create(
485490
"log_management_strategy": log_management_strategy,
486491
"logpush": logpush,
487492
"logpush_public_key": logpush_public_key,
493+
"zdr": zdr,
488494
},
489495
ai_gateway_create_params.AIGatewayCreateParams,
490496
),
@@ -518,6 +524,7 @@ async def update(
518524
otel: Optional[Iterable[ai_gateway_update_params.Otel]] | Omit = omit,
519525
store_id: Optional[str] | Omit = omit,
520526
stripe: Optional[ai_gateway_update_params.Stripe] | Omit = omit,
527+
zdr: bool | Omit = omit,
521528
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
522529
# The extra values given here take precedence over values defined on the client or passed to this method.
523530
extra_headers: Headers | None = None,
@@ -562,6 +569,7 @@ async def update(
562569
"otel": otel,
563570
"store_id": store_id,
564571
"stripe": stripe,
572+
"zdr": zdr,
565573
},
566574
ai_gateway_update_params.AIGatewayUpdateParams,
567575
),

src/cloudflare/resources/magic_transit/ipsec_tunnels.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ def create(
6464
name: str,
6565
automatic_return_routing: bool | Omit = omit,
6666
bgp: ipsec_tunnel_create_params.BGP | Omit = omit,
67+
custom_remote_identities: ipsec_tunnel_create_params.CustomRemoteIdentities | Omit = omit,
6768
customer_endpoint: str | Omit = omit,
6869
description: str | Omit = omit,
6970
health_check: ipsec_tunnel_create_params.HealthCheck | Omit = omit,
@@ -142,6 +143,7 @@ def create(
142143
"name": name,
143144
"automatic_return_routing": automatic_return_routing,
144145
"bgp": bgp,
146+
"custom_remote_identities": custom_remote_identities,
145147
"customer_endpoint": customer_endpoint,
146148
"description": description,
147149
"health_check": health_check,
@@ -171,6 +173,7 @@ def update(
171173
name: str,
172174
automatic_return_routing: bool | Omit = omit,
173175
bgp: ipsec_tunnel_update_params.BGP | Omit = omit,
176+
custom_remote_identities: ipsec_tunnel_update_params.CustomRemoteIdentities | Omit = omit,
174177
customer_endpoint: str | Omit = omit,
175178
description: str | Omit = omit,
176179
health_check: ipsec_tunnel_update_params.HealthCheck | Omit = omit,
@@ -253,6 +256,7 @@ def update(
253256
"name": name,
254257
"automatic_return_routing": automatic_return_routing,
255258
"bgp": bgp,
259+
"custom_remote_identities": custom_remote_identities,
256260
"customer_endpoint": customer_endpoint,
257261
"description": description,
258262
"health_check": health_check,
@@ -569,6 +573,7 @@ async def create(
569573
name: str,
570574
automatic_return_routing: bool | Omit = omit,
571575
bgp: ipsec_tunnel_create_params.BGP | Omit = omit,
576+
custom_remote_identities: ipsec_tunnel_create_params.CustomRemoteIdentities | Omit = omit,
572577
customer_endpoint: str | Omit = omit,
573578
description: str | Omit = omit,
574579
health_check: ipsec_tunnel_create_params.HealthCheck | Omit = omit,
@@ -647,6 +652,7 @@ async def create(
647652
"name": name,
648653
"automatic_return_routing": automatic_return_routing,
649654
"bgp": bgp,
655+
"custom_remote_identities": custom_remote_identities,
650656
"customer_endpoint": customer_endpoint,
651657
"description": description,
652658
"health_check": health_check,
@@ -676,6 +682,7 @@ async def update(
676682
name: str,
677683
automatic_return_routing: bool | Omit = omit,
678684
bgp: ipsec_tunnel_update_params.BGP | Omit = omit,
685+
custom_remote_identities: ipsec_tunnel_update_params.CustomRemoteIdentities | Omit = omit,
679686
customer_endpoint: str | Omit = omit,
680687
description: str | Omit = omit,
681688
health_check: ipsec_tunnel_update_params.HealthCheck | Omit = omit,
@@ -758,6 +765,7 @@ async def update(
758765
"name": name,
759766
"automatic_return_routing": automatic_return_routing,
760767
"bgp": bgp,
768+
"custom_remote_identities": custom_remote_identities,
761769
"customer_endpoint": customer_endpoint,
762770
"description": description,
763771
"health_check": health_check,

src/cloudflare/types/accounts/logs/audit_list_params.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@
2222
"ActorTokenID",
2323
"ActorTokenName",
2424
"ActorType",
25+
"AuditLogID",
2526
"RawCfRayID",
2627
"RawMethod",
2728
"RawStatusCode",
@@ -75,6 +76,8 @@ class AuditListParams(TypedDict, total=False):
7576

7677
actor_type: ActorType
7778

79+
audit_log_id: AuditLogID
80+
7881
cursor: str
7982
"""The cursor is an opaque token used to paginate through large sets of records.
8083
@@ -257,6 +260,19 @@ class ActorType(_ActorTypeReservedKeywords, total=False):
257260
pass
258261

259262

263+
_AuditLogIDReservedKeywords = TypedDict(
264+
"_AuditLogIDReservedKeywords",
265+
{
266+
"not": SequenceNotStr[str],
267+
},
268+
total=False,
269+
)
270+
271+
272+
class AuditLogID(_AuditLogIDReservedKeywords, total=False):
273+
pass
274+
275+
260276
_RawCfRayIDReservedKeywords = TypedDict(
261277
"_RawCfRayIDReservedKeywords",
262278
{

src/cloudflare/types/ai_gateway/ai_gateway_create_params.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,3 +35,5 @@ class AIGatewayCreateParams(TypedDict, total=False):
3535
logpush: bool
3636

3737
logpush_public_key: Optional[str]
38+
39+
zdr: bool

src/cloudflare/types/ai_gateway/ai_gateway_create_response.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,3 +108,5 @@ class AIGatewayCreateResponse(BaseModel):
108108
store_id: Optional[str] = None
109109

110110
stripe: Optional[Stripe] = None
111+
112+
zdr: Optional[bool] = 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
@@ -108,3 +108,5 @@ class AIGatewayDeleteResponse(BaseModel):
108108
store_id: Optional[str] = None
109109

110110
stripe: Optional[Stripe] = None
111+
112+
zdr: Optional[bool] = 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
@@ -108,3 +108,5 @@ class AIGatewayGetResponse(BaseModel):
108108
store_id: Optional[str] = None
109109

110110
stripe: Optional[Stripe] = None
111+
112+
zdr: Optional[bool] = 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
@@ -108,3 +108,5 @@ class AIGatewayListResponse(BaseModel):
108108
store_id: Optional[str] = None
109109

110110
stripe: Optional[Stripe] = None
111+
112+
zdr: Optional[bool] = None

0 commit comments

Comments
 (0)