Skip to content

Commit 53c2e1f

Browse files
chore(api): update composite API spec
1 parent 9f455bc commit 53c2e1f

6 files changed

Lines changed: 1100 additions & 2 deletions

File tree

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 2126
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c51406afe7e9e2e80becb9d86c4d0b67cfe23a0d04fbfba973c2133da11be47f.yml
3-
openapi_spec_hash: ebe782c4592c06e7e22eb0a725cc326e
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-47a18045a06ea18b9724a8087158d3bed1cbc7f84142ab2627cce6a03125534e.yml
3+
openapi_spec_hash: 7cc1499be250642ec1dd429afdb65dbd
44
config_hash: fab306f9c013d1ed01ed9c35c79f428b

src/cloudflare/resources/url_scanner/scans.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ def create(
6161
*,
6262
account_id: str,
6363
url: str,
64+
agent_readiness: bool | Omit = omit,
6465
country: Literal[
6566
"AF",
6667
"AL",
@@ -279,6 +280,8 @@ def create(
279280
Args:
280281
account_id: Account ID.
281282
283+
agent_readiness: Enable agent readiness checks.
284+
282285
country: Country to geo egress from
283286
284287
custom_headers: Set custom headers.
@@ -306,6 +309,7 @@ def create(
306309
body=maybe_transform(
307310
{
308311
"url": url,
312+
"agent_readiness": agent_readiness,
309313
"country": country,
310314
"customagent": customagent,
311315
"custom_headers": custom_headers,
@@ -621,6 +625,7 @@ async def create(
621625
*,
622626
account_id: str,
623627
url: str,
628+
agent_readiness: bool | Omit = omit,
624629
country: Literal[
625630
"AF",
626631
"AL",
@@ -839,6 +844,8 @@ async def create(
839844
Args:
840845
account_id: Account ID.
841846
847+
agent_readiness: Enable agent readiness checks.
848+
842849
country: Country to geo egress from
843850
844851
custom_headers: Set custom headers.
@@ -866,6 +873,7 @@ async def create(
866873
body=await async_maybe_transform(
867874
{
868875
"url": url,
876+
"agent_readiness": agent_readiness,
869877
"country": country,
870878
"customagent": customagent,
871879
"custom_headers": custom_headers,

src/cloudflare/types/url_scanner/scan_bulk_create_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ class ScanBulkCreateParams(TypedDict, total=False):
2121
class Body(TypedDict, total=False):
2222
url: Required[str]
2323

24+
agent_readiness: Annotated[bool, PropertyInfo(alias="agentReadiness")]
25+
"""Enable agent readiness checks."""
26+
2427
customagent: str
2528

2629
custom_headers: Annotated[Dict[str, str], PropertyInfo(alias="customHeaders")]

src/cloudflare/types/url_scanner/scan_create_params.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ class ScanCreateParams(TypedDict, total=False):
1616

1717
url: Required[str]
1818

19+
agent_readiness: Annotated[bool, PropertyInfo(alias="agentReadiness")]
20+
"""Enable agent readiness checks."""
21+
1922
country: Literal[
2023
"AF",
2124
"AL",

0 commit comments

Comments
 (0)