Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
183 commits
Select commit Hold shift + click to select a range
4727ace
chore(api): update composite API spec
stainless-app[bot] Feb 13, 2026
3cbb6a6
codegen metadata
stainless-app[bot] Feb 13, 2026
3accc56
feat: feat(stainless): TUN-10249 Add WARP Subnet endpoints
stainless-app[bot] Feb 13, 2026
e531924
chore(api): update composite API spec
stainless-app[bot] Feb 13, 2026
bb37db8
chore(api): update composite API spec
stainless-app[bot] Feb 13, 2026
20bfdf8
chore(api): update composite API spec
stainless-app[bot] Feb 13, 2026
dd1052d
chore(api): update composite API spec
stainless-app[bot] Feb 16, 2026
7b7741b
codegen metadata
stainless-app[bot] Feb 16, 2026
ad6565c
chore(api): update composite API spec
stainless-app[bot] Feb 17, 2026
09e3fb1
chore(api): update composite API spec
stainless-app[bot] Feb 17, 2026
17a33ff
chore(api): update composite API spec
stainless-app[bot] Feb 17, 2026
1e9c242
feat: feat(dex): add DEX rules
stainless-app[bot] Feb 17, 2026
146459d
chore(api): update composite API spec
stainless-app[bot] Feb 17, 2026
6e6f2f5
chore(api): update composite API spec
stainless-app[bot] Feb 18, 2026
2b950cf
chore(api): update composite API spec
stainless-app[bot] Feb 18, 2026
a0a0048
chore(api): update composite API spec
stainless-app[bot] Feb 18, 2026
79a09b5
chore(api): update composite API spec
stainless-app[bot] Feb 18, 2026
89ad3ec
feat: feat: GIN-1439: Add gateway PAC files
stainless-app[bot] Feb 19, 2026
b0eb476
chore(api): update composite API spec
stainless-app[bot] Feb 19, 2026
7b7407c
chore(api): update composite API spec
stainless-app[bot] Feb 20, 2026
17bbdbb
chore(api): update composite API spec
stainless-app[bot] Feb 20, 2026
90d7acd
chore(api): update composite API spec
stainless-app[bot] Feb 20, 2026
763829c
codegen metadata
stainless-app[bot] Feb 20, 2026
174f4ad
chore(api): update composite API spec
stainless-app[bot] Feb 23, 2026
6aa3d76
codegen metadata
stainless-app[bot] Feb 23, 2026
0f390d2
chore(api): update composite API spec
stainless-app[bot] Feb 23, 2026
ec3681f
feat: feat(radar): Add Botnet and PQ Endpoints to developer docs
stainless-app[bot] Feb 23, 2026
d69da32
chore(api): update composite API spec
stainless-app[bot] Feb 23, 2026
f05b011
chore(api): update composite API spec
stainless-app[bot] Feb 23, 2026
6135f31
chore(api): update composite API spec
stainless-app[bot] Feb 24, 2026
77984d0
chore(api): update composite API spec
stainless-app[bot] Feb 24, 2026
4d0d80e
chore(api): update composite API spec
stainless-app[bot] Feb 24, 2026
dd86a6d
chore(api): update composite API spec
stainless-app[bot] Feb 24, 2026
81877fb
chore(api): update composite API spec
stainless-app[bot] Feb 24, 2026
7871f72
chore(api): update composite API spec
stainless-app[bot] Feb 24, 2026
6d6d553
chore(api): update composite API spec
stainless-app[bot] Feb 24, 2026
52a4415
feat: feat(stainless): AUTH-7071 Complete Access Users endpoint
stainless-app[bot] Feb 24, 2026
e7c939e
feat: feat(email_security): Add phishguard reports endpoint
stainless-app[bot] Feb 25, 2026
3f5cf39
feat: fix: broken reference for the queues 'consumer' model
stainless-app[bot] Feb 25, 2026
62e214f
codegen metadata
stainless-app[bot] Feb 26, 2026
cdd7916
codegen metadata
stainless-app[bot] Feb 26, 2026
6242c20
feat: fix: add 'rdp' as an initialism
stainless-app[bot] Feb 26, 2026
631d664
feat: test: skip prism tests for endpoints with non-JSON content types
stainless-app[bot] Feb 26, 2026
2309442
feat: feat(custom_origin_trust_store): enable custom_origin_trust_store
stainless-app[bot] Feb 26, 2026
506aedb
codegen metadata
stainless-app[bot] Feb 27, 2026
0be54b1
codegen metadata
stainless-app[bot] Mar 2, 2026
c5144a0
codegen metadata
stainless-app[bot] Mar 2, 2026
3ed409f
codegen metadata
stainless-app[bot] Mar 3, 2026
559adb6
codegen metadata
stainless-app[bot] Mar 4, 2026
c1fdeae
feat: feat(workers): WO-989 Adds Workers>Observability>Destinations r…
stainless-app[bot] Mar 4, 2026
bcafc86
feat: feat(zero_trust_device_subnet): onboard new terraform resource …
stainless-app[bot] Mar 4, 2026
fe2b21d
feat: feat(ip_profile): onboard new terraform resource cloudflare_zer…
stainless-app[bot] Mar 5, 2026
2358e0a
feat: chore(zero_trust_device_ip_profile): skip go prism tests
stainless-app[bot] Mar 5, 2026
76eacbb
codegen metadata
stainless-app[bot] Mar 5, 2026
31cc167
chore(api): update composite API spec
stainless-app[bot] Mar 5, 2026
d0805c4
chore(api): update composite API spec
stainless-app[bot] Mar 5, 2026
e6917d2
feat: feat(tags): GRM-385 add resource_tagging routes
stainless-app[bot] Mar 5, 2026
160c7be
chore(api): update composite API spec
stainless-app[bot] Mar 6, 2026
1c6ee63
chore(api): update composite API spec
stainless-app[bot] Mar 6, 2026
fe38437
codegen metadata
stainless-app[bot] Mar 6, 2026
8270297
feat: feat: add billable usage PayGo endpoint to billing resource
stainless-app[bot] Mar 6, 2026
df8b0db
chore(api): update composite API spec
stainless-app[bot] Mar 6, 2026
f29b337
codegen metadata
stainless-app[bot] Mar 6, 2026
3e08ae0
codegen metadata
stainless-app[bot] Mar 6, 2026
f7bd429
codegen metadata
stainless-app[bot] Mar 9, 2026
22abcb9
chore(api): update composite API spec
stainless-app[bot] Mar 9, 2026
9c384f3
chore(api): update composite API spec
stainless-app[bot] Mar 9, 2026
049acfc
codegen metadata
stainless-app[bot] Mar 10, 2026
9dac694
chore(api): update composite API spec
stainless-app[bot] Mar 10, 2026
ce6abd1
chore(api): update composite API spec
stainless-app[bot] Mar 10, 2026
f79025e
feat: feat: DISCO-101 add google_tag_gateway resource
stainless-app[bot] Mar 10, 2026
c22dae8
codegen metadata
stainless-app[bot] Mar 10, 2026
b6e4985
codegen metadata
stainless-app[bot] Mar 10, 2026
d7fb232
chore(api): update composite API spec
stainless-app[bot] Mar 11, 2026
b558171
codegen metadata
stainless-app[bot] Mar 12, 2026
2cd5464
codegen metadata
stainless-app[bot] Mar 12, 2026
e38d97d
codegen metadata
stainless-app[bot] Mar 12, 2026
4b6739a
codegen metadata
stainless-app[bot] Mar 12, 2026
e57f80d
codegen metadata
stainless-app[bot] Mar 13, 2026
294b2fe
codegen metadata
stainless-app[bot] Mar 13, 2026
c525e9c
feat: feat(brand_protection): add v2 endpoints
stainless-app[bot] Mar 13, 2026
e05c02f
chore(api): update composite API spec
stainless-app[bot] Mar 13, 2026
1b205b5
chore(api): update composite API spec
stainless-app[bot] Mar 13, 2026
118d227
codegen metadata
stainless-app[bot] Mar 16, 2026
36b3662
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
5075977
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
c4576f7
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
707a709
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
1057e25
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
3b3b332
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
41b73af
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
b3c3741
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
9bbb013
chore(api): update composite API spec
stainless-app[bot] Mar 16, 2026
56c85e1
codegen metadata
stainless-app[bot] Mar 17, 2026
329d0a1
codegen metadata
stainless-app[bot] Mar 17, 2026
3504ba6
codegen metadata
stainless-app[bot] Mar 17, 2026
09212fa
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
93a4c51
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
4c4fb7a
feat: chore: skip prism PUT test for workers domain
stainless-app[bot] Mar 17, 2026
69b040b
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
b9a8b40
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
f2397ba
chore(api): update composite API spec
stainless-app[bot] Mar 17, 2026
a129f4c
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
f5688fd
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
5170136
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
f6cef98
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
236f6c4
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
7f2d577
codegen metadata
stainless-app[bot] Mar 18, 2026
79b761d
codegen metadata
stainless-app[bot] Mar 18, 2026
7f41ef1
chore(api): update composite API spec
stainless-app[bot] Mar 18, 2026
0a18e81
chore(api): update composite API spec
stainless-app[bot] Mar 19, 2026
6afb257
chore(api): update composite API spec
stainless-app[bot] Mar 19, 2026
fa3d248
chore(api): update composite API spec
stainless-app[bot] Mar 19, 2026
a70c3a8
codegen metadata
stainless-app[bot] Mar 19, 2026
49429f6
chore(api): update composite API spec
stainless-app[bot] Mar 20, 2026
7a5d5f8
feat: feat(stainless): add WARP Connector connections and failover en…
stainless-app[bot] Mar 20, 2026
e5d5273
chore(api): update composite API spec
stainless-app[bot] Mar 20, 2026
44e1823
chore(api): update composite API spec
stainless-app[bot] Mar 20, 2026
1d9ca4a
codegen metadata
stainless-app[bot] Mar 20, 2026
fb77d7b
feat: feat(email_sending): EMAIL-1451: add send/send_raw endpoints an…
stainless-app[bot] Mar 23, 2026
3d240b0
chore(api): update composite API spec
stainless-app[bot] Mar 23, 2026
47ddd9a
chore(api): update composite API spec
stainless-app[bot] Mar 23, 2026
e10b21f
codegen metadata
stainless-app[bot] Mar 23, 2026
60894d8
chore(api): update composite API spec
stainless-app[bot] Mar 23, 2026
f8c67c4
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
3904470
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
860f0f1
feat: feat(api_gateway): WAM-1196: add stainless SDK bindings for lab…
stainless-app[bot] Mar 24, 2026
59cb824
codegen metadata
stainless-app[bot] Mar 24, 2026
5210f01
codegen metadata
stainless-app[bot] Mar 24, 2026
af117cb
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
0fe8dc4
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
9352ebc
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
8150ef4
chore(api): update composite API spec
stainless-app[bot] Mar 24, 2026
ad1f9f3
codegen metadata
stainless-app[bot] Mar 25, 2026
5afb2e7
chore(api): update composite API spec
stainless-app[bot] Mar 25, 2026
8badf30
codegen metadata
stainless-app[bot] Mar 25, 2026
45b3efc
chore(api): update composite API spec
stainless-app[bot] Mar 25, 2026
dd0c648
codegen metadata
stainless-app[bot] Mar 25, 2026
c7719a0
chore(api): update composite API spec
stainless-app[bot] Mar 25, 2026
e234d53
chore(api): update composite API spec
stainless-app[bot] Mar 25, 2026
25a89d1
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
9796acc
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
2079723
codegen metadata
stainless-app[bot] Mar 26, 2026
8f69d18
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
5b6114b
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
0369387
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
f4a0a19
chore(api): update composite API spec
stainless-app[bot] Mar 26, 2026
77630b3
codegen metadata
stainless-app[bot] Mar 27, 2026
00c000e
feat: feat: add dns_records/usage endpoints (DNS-12466)
stainless-app[bot] Mar 27, 2026
83bf4b4
codegen metadata
stainless-app[bot] Mar 27, 2026
0086545
chore(api): update composite API spec
stainless-app[bot] Mar 27, 2026
5e263aa
codegen metadata
stainless-app[bot] Mar 30, 2026
719a778
feat: feat(terraform): add custom_page_asset resource for custom assets
stainless-app[bot] Mar 30, 2026
203088b
chore(api): update composite API spec
stainless-app[bot] Mar 30, 2026
68290fb
codegen metadata
stainless-app[bot] Mar 31, 2026
adeda00
chore(api): update composite API spec
stainless-app[bot] Mar 31, 2026
d75f3a2
chore(api): update composite API spec
stainless-app[bot] Mar 31, 2026
2431f72
feat: feat(zones): onboard zone environments endpoints for SDK genera…
stainless-app[bot] Mar 31, 2026
d1f482b
chore(api): update composite API spec
stainless-app[bot] Mar 31, 2026
fdf5570
chore(api): update composite API spec
stainless-app[bot] Mar 31, 2026
68d8c28
codegen metadata
stainless-app[bot] Mar 31, 2026
b5a35fd
codegen metadata
stainless-app[bot] Apr 1, 2026
dc40062
codegen metadata
stainless-app[bot] Apr 2, 2026
15fddc0
codegen metadata
stainless-app[bot] Apr 3, 2026
9ad597b
feat: feat: BRAPI-1051 add browser rendering devtools methods
stainless-app[bot] Apr 10, 2026
8b72e87
chore(api): update composite API spec
stainless-app[bot] Apr 10, 2026
59c43b8
codegen metadata
stainless-app[bot] Apr 10, 2026
28d543f
chore(api): update composite API spec
stainless-app[bot] Apr 13, 2026
2ce3689
chore(api): update composite API spec
stainless-app[bot] Apr 13, 2026
d3c0027
codegen metadata
stainless-app[bot] Apr 13, 2026
95522e9
chore(api): update composite API spec
stainless-app[bot] Apr 13, 2026
4d69350
codegen metadata
stainless-app[bot] Apr 13, 2026
1b779d6
feat: feat(vulnerability_scanner): add Stainless config for Vulnerabi…
stainless-app[bot] Apr 13, 2026
d42da57
chore(api): update composite API spec
stainless-app[bot] Apr 13, 2026
754ad7f
chore(api): update composite API spec
stainless-app[bot] Apr 13, 2026
4e8e589
chore(api): update composite API spec
stainless-app[bot] Apr 14, 2026
71c587c
codegen metadata
stainless-app[bot] Apr 14, 2026
3d71f02
chore(api): update composite API spec
stainless-app[bot] Apr 14, 2026
9a30563
chore(api): update composite API spec
stainless-app[bot] Apr 14, 2026
3e1d5c7
chore(api): update composite API spec
stainless-app[bot] Apr 14, 2026
c02d710
chore(api): update composite API spec
stainless-app[bot] Apr 14, 2026
9f455bc
feat: chore: skip failing tests from TypeScript CI run 24427365644
stainless-app[bot] Apr 15, 2026
a559a1e
release: 5.0.0-beta.2
stainless-app[bot] Apr 15, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "5.0.0-beta.1"
".": "5.0.0-beta.2"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 2015
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-83f49bc3fa9273ef989d3e8bcd27f6fdaa7d04ae2519a91f4878f46acc501bb9.yml
openapi_spec_hash: 3f4be3af6f51eea4787dc8345f9ca9c1
config_hash: 9d1829ed664bb3efa8638f98bb32cf46
configured_endpoints: 2126
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-c51406afe7e9e2e80becb9d86c4d0b67cfe23a0d04fbfba973c2133da11be47f.yml
openapi_spec_hash: ebe782c4592c06e7e22eb0a725cc326e
config_hash: fab306f9c013d1ed01ed9c35c79f428b
142 changes: 142 additions & 0 deletions CHANGELOG.md

Large diffs are not rendered by default.

1,018 changes: 787 additions & 231 deletions api.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "cloudflare"
version = "5.0.0-beta.1"
version = "5.0.0-beta.2"
description = "The official Python library for the cloudflare API"
dynamic = ["readme"]
license = "Apache-2.0"
Expand Down
233 changes: 156 additions & 77 deletions src/cloudflare/_client.py

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/cloudflare/_version.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.

__title__ = "cloudflare"
__version__ = "5.0.0-beta.1" # x-release-please-version
__version__ = "5.0.0-beta.2" # x-release-please-version
18 changes: 14 additions & 4 deletions src/cloudflare/resources/abuse_reports/abuse_reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -273,7 +273,7 @@ def create(
host_notification: Literal["send", "send-anon"],
justification: str,
name: str,
owner_notification: Literal["send", "send-anon", "none"],
owner_notification: Literal["send", "send-anon"],
urls: str,
comments: str | Omit = omit,
company: str | Omit = omit,
Expand Down Expand Up @@ -631,6 +631,7 @@ def create(
urls: str,
comments: str | Omit = omit,
company: str | Omit = omit,
reg_who_request: abuse_report_create_params.AbuseReportsRegistrarWhoisReportRegWhoRequest | Omit = omit,
reported_country: str | Omit = omit,
reported_user_agent: str | Omit = omit,
tele: str | Omit = omit,
Expand Down Expand Up @@ -671,6 +672,8 @@ def create(
company: Text not exceeding 100 characters. This field may be released by Cloudflare to
third parties such as the Lumen Database (https://lumendatabase.org/).

reg_who_request: RDP-mandated fields for registrar WHOIS data disclosure requests.

reported_country: Text containing 2 characters

reported_user_agent: Text not exceeding 255 characters
Expand Down Expand Up @@ -866,7 +869,7 @@ def create(
host_notification: Literal["send"] | Literal["send", "send-anon"] | Omit = omit,
name: str,
original_work: str | Omit = omit,
owner_notification: Literal["send"] | Literal["send", "send-anon", "none"] | Literal["send", "send-anon"],
owner_notification: Literal["send"] | Literal["send", "send-anon"] | Literal["send", "send-anon", "none"],
signature: str | Omit = omit,
state: str | Omit = omit,
urls: str,
Expand All @@ -884,6 +887,7 @@ def create(
ports_protocols: str | Omit = omit,
source_ips: str | Omit = omit,
ncmec_notification: Literal["send", "send-anon"] | Omit = omit,
reg_who_request: abuse_report_create_params.AbuseReportsRegistrarWhoisReportRegWhoRequest | Omit = omit,
ncsei_subject_representation: bool | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -929,6 +933,7 @@ def create(
"ports_protocols": ports_protocols,
"source_ips": source_ips,
"ncmec_notification": ncmec_notification,
"reg_who_request": reg_who_request,
"ncsei_subject_representation": ncsei_subject_representation,
},
abuse_report_create_params.AbuseReportCreateParams,
Expand Down Expand Up @@ -1299,7 +1304,7 @@ async def create(
host_notification: Literal["send", "send-anon"],
justification: str,
name: str,
owner_notification: Literal["send", "send-anon", "none"],
owner_notification: Literal["send", "send-anon"],
urls: str,
comments: str | Omit = omit,
company: str | Omit = omit,
Expand Down Expand Up @@ -1657,6 +1662,7 @@ async def create(
urls: str,
comments: str | Omit = omit,
company: str | Omit = omit,
reg_who_request: abuse_report_create_params.AbuseReportsRegistrarWhoisReportRegWhoRequest | Omit = omit,
reported_country: str | Omit = omit,
reported_user_agent: str | Omit = omit,
tele: str | Omit = omit,
Expand Down Expand Up @@ -1697,6 +1703,8 @@ async def create(
company: Text not exceeding 100 characters. This field may be released by Cloudflare to
third parties such as the Lumen Database (https://lumendatabase.org/).

reg_who_request: RDP-mandated fields for registrar WHOIS data disclosure requests.

reported_country: Text containing 2 characters

reported_user_agent: Text not exceeding 255 characters
Expand Down Expand Up @@ -1892,7 +1900,7 @@ async def create(
host_notification: Literal["send"] | Literal["send", "send-anon"] | Omit = omit,
name: str,
original_work: str | Omit = omit,
owner_notification: Literal["send"] | Literal["send", "send-anon", "none"] | Literal["send", "send-anon"],
owner_notification: Literal["send"] | Literal["send", "send-anon"] | Literal["send", "send-anon", "none"],
signature: str | Omit = omit,
state: str | Omit = omit,
urls: str,
Expand All @@ -1910,6 +1918,7 @@ async def create(
ports_protocols: str | Omit = omit,
source_ips: str | Omit = omit,
ncmec_notification: Literal["send", "send-anon"] | Omit = omit,
reg_who_request: abuse_report_create_params.AbuseReportsRegistrarWhoisReportRegWhoRequest | Omit = omit,
ncsei_subject_representation: bool | Omit = omit,
# Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
# The extra values given here take precedence over values defined on the client or passed to this method.
Expand Down Expand Up @@ -1955,6 +1964,7 @@ async def create(
"ports_protocols": ports_protocols,
"source_ips": source_ips,
"ncmec_notification": ncmec_notification,
"reg_who_request": reg_who_request,
"ncsei_subject_representation": ncsei_subject_representation,
},
abuse_report_create_params.AbuseReportCreateParams,
Expand Down
2 changes: 2 additions & 0 deletions src/cloudflare/resources/abuse_reports/mitigations.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@ def list(
status: Literal["pending", "active", "in_review", "cancelled", "removed"] | Omit = omit,
type: Literal[
"legal_block",
"misleading_interstitial",
"phishing_interstitial",
"network_block",
"rate_limit_cache",
Expand Down Expand Up @@ -230,6 +231,7 @@ def list(
status: Literal["pending", "active", "in_review", "cancelled", "removed"] | Omit = omit,
type: Literal[
"legal_block",
"misleading_interstitial",
"phishing_interstitial",
"network_block",
"rate_limit_cache",
Expand Down
18 changes: 4 additions & 14 deletions src/cloudflare/resources/accounts/logs/audit.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,8 @@ def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> SyncCursorPaginationAfter[AuditListResponse]:
"""Gets a list of audit logs for an account.

<br /> <br /> This is the beta release
of Audit Logs Version 2. Since this is a beta version, there may be gaps or
missing entries in the available audit logs. Be aware of the following
limitations. <br /> <ul> <li>Audit logs are available only for the past 30 days.
<br /></li> <li>Error handling is not yet implemented. <br /> </li> </ul>
"""
Gets a list of audit logs for an account.

Args:
account_id: The unique id that identifies the account.
Expand Down Expand Up @@ -226,13 +221,8 @@ def list(
extra_body: Body | None = None,
timeout: float | httpx.Timeout | None | NotGiven = not_given,
) -> AsyncPaginator[AuditListResponse, AsyncCursorPaginationAfter[AuditListResponse]]:
"""Gets a list of audit logs for an account.

<br /> <br /> This is the beta release
of Audit Logs Version 2. Since this is a beta version, there may be gaps or
missing entries in the available audit logs. Be aware of the following
limitations. <br /> <ul> <li>Audit logs are available only for the past 30 days.
<br /></li> <li>Error handling is not yet implemented. <br /> </li> </ul>
"""
Gets a list of audit logs for an account.

Args:
account_id: The unique id that identifies the account.
Expand Down
16 changes: 16 additions & 0 deletions src/cloudflare/resources/accounts/members.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,10 @@ def create(

roles: Array of roles associated with this member.

status: Status of the member invitation. If not provided during creation, defaults to
'pending'. Changing from 'accepted' back to 'pending' will trigger a replacement
of the member resource in Terraform.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down Expand Up @@ -108,6 +112,10 @@ def create(

policies: Array of policies associated with this member.

status: Status of the member invitation. If not provided during creation, defaults to
'pending'. Changing from 'accepted' back to 'pending' will trigger a replacement
of the member resource in Terraform.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down Expand Up @@ -461,6 +469,10 @@ async def create(

roles: Array of roles associated with this member.

status: Status of the member invitation. If not provided during creation, defaults to
'pending'. Changing from 'accepted' back to 'pending' will trigger a replacement
of the member resource in Terraform.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down Expand Up @@ -496,6 +508,10 @@ async def create(

policies: Array of policies associated with this member.

status: Status of the member invitation. If not provided during creation, defaults to
'pending'. Changing from 'accepted' back to 'pending' will trigger a replacement
of the member resource in Terraform.

extra_headers: Send extra headers

extra_query: Add additional query parameters to the request
Expand Down
14 changes: 14 additions & 0 deletions src/cloudflare/resources/acm/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,14 @@
TotalTLSResourceWithStreamingResponse,
AsyncTotalTLSResourceWithStreamingResponse,
)
from .custom_trust_store import (
CustomTrustStoreResource,
AsyncCustomTrustStoreResource,
CustomTrustStoreResourceWithRawResponse,
AsyncCustomTrustStoreResourceWithRawResponse,
CustomTrustStoreResourceWithStreamingResponse,
AsyncCustomTrustStoreResourceWithStreamingResponse,
)

__all__ = [
"TotalTLSResource",
Expand All @@ -24,6 +32,12 @@
"AsyncTotalTLSResourceWithRawResponse",
"TotalTLSResourceWithStreamingResponse",
"AsyncTotalTLSResourceWithStreamingResponse",
"CustomTrustStoreResource",
"AsyncCustomTrustStoreResource",
"CustomTrustStoreResourceWithRawResponse",
"AsyncCustomTrustStoreResourceWithRawResponse",
"CustomTrustStoreResourceWithStreamingResponse",
"AsyncCustomTrustStoreResourceWithStreamingResponse",
"ACMResource",
"AsyncACMResource",
"ACMResourceWithRawResponse",
Expand Down
32 changes: 32 additions & 0 deletions src/cloudflare/resources/acm/acm.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,14 @@
AsyncTotalTLSResourceWithStreamingResponse,
)
from ..._resource import SyncAPIResource, AsyncAPIResource
from .custom_trust_store import (
CustomTrustStoreResource,
AsyncCustomTrustStoreResource,
CustomTrustStoreResourceWithRawResponse,
AsyncCustomTrustStoreResourceWithRawResponse,
CustomTrustStoreResourceWithStreamingResponse,
AsyncCustomTrustStoreResourceWithStreamingResponse,
)

__all__ = ["ACMResource", "AsyncACMResource"]

Expand All @@ -21,6 +29,10 @@ class ACMResource(SyncAPIResource):
def total_tls(self) -> TotalTLSResource:
return TotalTLSResource(self._client)

@cached_property
def custom_trust_store(self) -> CustomTrustStoreResource:
return CustomTrustStoreResource(self._client)

@cached_property
def with_raw_response(self) -> ACMResourceWithRawResponse:
"""
Expand All @@ -46,6 +58,10 @@ class AsyncACMResource(AsyncAPIResource):
def total_tls(self) -> AsyncTotalTLSResource:
return AsyncTotalTLSResource(self._client)

@cached_property
def custom_trust_store(self) -> AsyncCustomTrustStoreResource:
return AsyncCustomTrustStoreResource(self._client)

@cached_property
def with_raw_response(self) -> AsyncACMResourceWithRawResponse:
"""
Expand Down Expand Up @@ -74,6 +90,10 @@ def __init__(self, acm: ACMResource) -> None:
def total_tls(self) -> TotalTLSResourceWithRawResponse:
return TotalTLSResourceWithRawResponse(self._acm.total_tls)

@cached_property
def custom_trust_store(self) -> CustomTrustStoreResourceWithRawResponse:
return CustomTrustStoreResourceWithRawResponse(self._acm.custom_trust_store)


class AsyncACMResourceWithRawResponse:
def __init__(self, acm: AsyncACMResource) -> None:
Expand All @@ -83,6 +103,10 @@ def __init__(self, acm: AsyncACMResource) -> None:
def total_tls(self) -> AsyncTotalTLSResourceWithRawResponse:
return AsyncTotalTLSResourceWithRawResponse(self._acm.total_tls)

@cached_property
def custom_trust_store(self) -> AsyncCustomTrustStoreResourceWithRawResponse:
return AsyncCustomTrustStoreResourceWithRawResponse(self._acm.custom_trust_store)


class ACMResourceWithStreamingResponse:
def __init__(self, acm: ACMResource) -> None:
Expand All @@ -92,6 +116,10 @@ def __init__(self, acm: ACMResource) -> None:
def total_tls(self) -> TotalTLSResourceWithStreamingResponse:
return TotalTLSResourceWithStreamingResponse(self._acm.total_tls)

@cached_property
def custom_trust_store(self) -> CustomTrustStoreResourceWithStreamingResponse:
return CustomTrustStoreResourceWithStreamingResponse(self._acm.custom_trust_store)


class AsyncACMResourceWithStreamingResponse:
def __init__(self, acm: AsyncACMResource) -> None:
Expand All @@ -100,3 +128,7 @@ def __init__(self, acm: AsyncACMResource) -> None:
@cached_property
def total_tls(self) -> AsyncTotalTLSResourceWithStreamingResponse:
return AsyncTotalTLSResourceWithStreamingResponse(self._acm.total_tls)

@cached_property
def custom_trust_store(self) -> AsyncCustomTrustStoreResourceWithStreamingResponse:
return AsyncCustomTrustStoreResourceWithStreamingResponse(self._acm.custom_trust_store)
Loading
Loading