Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
282 commits
Select commit Hold shift + click to select a range
dad8f63
codegen metadata
stainless-app[bot] Oct 2, 2025
5f89914
codegen metadata
stainless-app[bot] Oct 2, 2025
6011a87
codegen metadata
stainless-app[bot] Oct 2, 2025
88722f0
codegen metadata
stainless-app[bot] Oct 2, 2025
38e61d7
codegen metadata
stainless-app[bot] Oct 2, 2025
ee3af52
codegen metadata
stainless-app[bot] Oct 2, 2025
9053090
codegen metadata
stainless-app[bot] Oct 2, 2025
31628bc
codegen metadata
stainless-app[bot] Oct 2, 2025
c4edf0e
codegen metadata
stainless-app[bot] Oct 2, 2025
0a8d8a7
codegen metadata
stainless-app[bot] Oct 2, 2025
e2c9248
codegen metadata
stainless-app[bot] Oct 2, 2025
128da9f
codegen metadata
stainless-app[bot] Oct 2, 2025
c50f603
codegen metadata
stainless-app[bot] Oct 2, 2025
5e9b571
codegen metadata
stainless-app[bot] Oct 2, 2025
27a5bb0
codegen metadata
stainless-app[bot] Oct 2, 2025
bedd1da
codegen metadata
stainless-app[bot] Oct 2, 2025
c222cc7
codegen metadata
stainless-app[bot] Oct 2, 2025
d2df836
codegen metadata
stainless-app[bot] Oct 2, 2025
786fc85
codegen metadata
stainless-app[bot] Oct 2, 2025
7178510
codegen metadata
stainless-app[bot] Oct 2, 2025
6ade664
codegen metadata
stainless-app[bot] Oct 2, 2025
2de2648
codegen metadata
stainless-app[bot] Oct 2, 2025
3d2ce8f
codegen metadata
stainless-app[bot] Oct 2, 2025
2b7d119
codegen metadata
stainless-app[bot] Oct 2, 2025
7a69eb5
codegen metadata
stainless-app[bot] Oct 2, 2025
ff5b454
codegen metadata
stainless-app[bot] Oct 2, 2025
e75bd8f
codegen metadata
stainless-app[bot] Oct 2, 2025
3297a69
codegen metadata
stainless-app[bot] Oct 2, 2025
7d93d1d
codegen metadata
stainless-app[bot] Oct 2, 2025
c9eface
codegen metadata
stainless-app[bot] Oct 2, 2025
e80eff9
codegen metadata
stainless-app[bot] Oct 2, 2025
dcdd604
codegen metadata
stainless-app[bot] Oct 2, 2025
65e8162
codegen metadata
stainless-app[bot] Oct 2, 2025
8f9e027
chore(api): update composite API spec
stainless-app[bot] Oct 2, 2025
c308671
chore(api): update composite API spec
stainless-app[bot] Oct 2, 2025
da50735
chore(api): update composite API spec
stainless-app[bot] Oct 3, 2025
32b3ed1
chore(api): update composite API spec
stainless-app[bot] Oct 2, 2025
2f34379
codegen metadata
stainless-app[bot] Oct 3, 2025
d7705ce
codegen metadata
stainless-app[bot] Oct 3, 2025
c425620
codegen metadata
stainless-app[bot] Oct 3, 2025
dec52bc
codegen metadata
stainless-app[bot] Oct 3, 2025
dcd1edf
codegen metadata
stainless-app[bot] Oct 3, 2025
c87a47f
codegen metadata
stainless-app[bot] Oct 3, 2025
d184702
chore(api): update composite API spec
stainless-app[bot] Oct 3, 2025
0e3d223
chore(api): update composite API spec
stainless-app[bot] Oct 3, 2025
c403ed1
codegen metadata
stainless-app[bot] Oct 3, 2025
b0aa914
codegen metadata
stainless-app[bot] Oct 3, 2025
83283f2
codegen metadata
stainless-app[bot] Oct 3, 2025
24414e7
codegen metadata
stainless-app[bot] Oct 3, 2025
553bbd4
codegen metadata
stainless-app[bot] Oct 3, 2025
45e40a5
codegen metadata
stainless-app[bot] Oct 3, 2025
6d930a3
codegen metadata
stainless-app[bot] Oct 3, 2025
3a28705
chore(api): update composite API spec
stainless-app[bot] Oct 3, 2025
2a3084d
chore(api): update composite API spec
stainless-app[bot] Oct 3, 2025
e5dbb78
chore(api): update composite API spec
stainless-app[bot] Oct 3, 2025
c631fec
codegen metadata
stainless-app[bot] Oct 3, 2025
f690c10
codegen metadata
stainless-app[bot] Oct 3, 2025
54ef18e
codegen metadata
stainless-app[bot] Oct 3, 2025
faaac2c
codegen metadata
stainless-app[bot] Oct 3, 2025
c24ec41
codegen metadata
stainless-app[bot] Oct 3, 2025
96eb11d
codegen metadata
stainless-app[bot] Oct 3, 2025
60ef1c6
codegen metadata
stainless-app[bot] Oct 3, 2025
15c3838
codegen metadata
stainless-app[bot] Oct 3, 2025
4fa18b7
chore(api): update composite API spec
stainless-app[bot] Oct 4, 2025
dd22595
codegen metadata
stainless-app[bot] Oct 4, 2025
55829ba
codegen metadata
stainless-app[bot] Oct 4, 2025
d8260e6
codegen metadata
stainless-app[bot] Oct 6, 2025
7437b44
codegen metadata
stainless-app[bot] Oct 6, 2025
ed399dc
codegen metadata
stainless-app[bot] Oct 6, 2025
48739c6
codegen metadata
stainless-app[bot] Oct 6, 2025
2475054
codegen metadata
stainless-app[bot] Oct 6, 2025
4c91e72
codegen metadata
stainless-app[bot] Oct 6, 2025
143bacd
codegen metadata
stainless-app[bot] Oct 6, 2025
a283ea4
codegen metadata
stainless-app[bot] Oct 6, 2025
f804ebd
chore(api): update composite API spec
stainless-app[bot] Oct 6, 2025
ae573a5
codegen metadata
stainless-app[bot] Oct 6, 2025
455dc40
codegen metadata
stainless-app[bot] Oct 6, 2025
ba8a3c1
codegen metadata
stainless-app[bot] Oct 6, 2025
5cb0ad6
codegen metadata
stainless-app[bot] Oct 6, 2025
a22ebf5
codegen metadata
stainless-app[bot] Oct 6, 2025
22d63de
codegen metadata
stainless-app[bot] Oct 6, 2025
0211df1
codegen metadata
stainless-app[bot] Oct 6, 2025
1fc9559
codegen metadata
stainless-app[bot] Oct 6, 2025
3c646e5
codegen metadata
stainless-app[bot] Oct 6, 2025
eda6cce
codegen metadata
stainless-app[bot] Oct 6, 2025
5557332
codegen metadata
stainless-app[bot] Oct 6, 2025
17273d8
codegen metadata
stainless-app[bot] Oct 6, 2025
e526b05
codegen metadata
stainless-app[bot] Oct 6, 2025
e54747e
codegen metadata
stainless-app[bot] Oct 6, 2025
38db835
chore(api): update composite API spec
stainless-app[bot] Oct 6, 2025
4a7854d
codegen metadata
stainless-app[bot] Oct 6, 2025
6d460a1
codegen metadata
stainless-app[bot] Oct 6, 2025
14809d0
codegen metadata
stainless-app[bot] Oct 6, 2025
38a3b6b
codegen metadata
stainless-app[bot] Oct 6, 2025
5cc20a9
codegen metadata
stainless-app[bot] Oct 6, 2025
bfa714f
codegen metadata
stainless-app[bot] Oct 6, 2025
ed91f4e
codegen metadata
stainless-app[bot] Oct 6, 2025
149127b
codegen metadata
stainless-app[bot] Oct 6, 2025
ee4b577
codegen metadata
stainless-app[bot] Oct 6, 2025
d189633
codegen metadata
stainless-app[bot] Oct 6, 2025
1e28d33
feat: fix(content_scanning): content scanning terraform resource
stainless-app[bot] Oct 6, 2025
78e96c8
codegen metadata
stainless-app[bot] Oct 6, 2025
b288a02
chore(api): update composite API spec
stainless-app[bot] Oct 6, 2025
da83e67
codegen metadata
stainless-app[bot] Oct 6, 2025
a310d31
codegen metadata
stainless-app[bot] Oct 6, 2025
aa575d1
codegen metadata
stainless-app[bot] Oct 6, 2025
fd01b48
chore(api): update composite API spec
stainless-app[bot] Oct 6, 2025
42bd7f6
codegen metadata
stainless-app[bot] Oct 6, 2025
7cc3bf9
codegen metadata
stainless-app[bot] Oct 6, 2025
34e714f
codegen metadata
stainless-app[bot] Oct 7, 2025
b67c214
chore(api): update composite API spec
stainless-app[bot] Oct 7, 2025
6a19f08
codegen metadata
stainless-app[bot] Oct 7, 2025
5e7e676
codegen metadata
stainless-app[bot] Oct 7, 2025
859156e
codegen metadata
stainless-app[bot] Oct 7, 2025
560e625
codegen metadata
stainless-app[bot] Oct 7, 2025
e5d9e10
codegen metadata
stainless-app[bot] Oct 7, 2025
4f4500b
codegen metadata
stainless-app[bot] Oct 7, 2025
aebaff6
codegen metadata
stainless-app[bot] Oct 7, 2025
3b764bb
codegen metadata
stainless-app[bot] Oct 7, 2025
328c947
codegen metadata
stainless-app[bot] Oct 7, 2025
c4373d0
codegen metadata
stainless-app[bot] Oct 7, 2025
ca11bed
codegen metadata
stainless-app[bot] Oct 7, 2025
2fbb294
codegen metadata
stainless-app[bot] Oct 7, 2025
cc25c9a
codegen metadata
stainless-app[bot] Oct 7, 2025
8505e49
codegen metadata
stainless-app[bot] Oct 7, 2025
b1c6a05
codegen metadata
stainless-app[bot] Oct 7, 2025
aef41b4
codegen metadata
stainless-app[bot] Oct 7, 2025
05a7dc2
codegen metadata
stainless-app[bot] Oct 7, 2025
0179876
codegen metadata
stainless-app[bot] Oct 7, 2025
ab9025c
codegen metadata
stainless-app[bot] Oct 7, 2025
fe4f3fd
codegen metadata
stainless-app[bot] Oct 7, 2025
b12d6a5
codegen metadata
stainless-app[bot] Oct 7, 2025
12aa238
codegen metadata
stainless-app[bot] Oct 7, 2025
7a08b43
codegen metadata
stainless-app[bot] Oct 7, 2025
2b75794
codegen metadata
stainless-app[bot] Oct 7, 2025
57ed483
codegen metadata
stainless-app[bot] Oct 7, 2025
926d463
chore(api): update composite API spec
stainless-app[bot] Oct 7, 2025
53694d6
codegen metadata
stainless-app[bot] Oct 7, 2025
125260f
codegen metadata
stainless-app[bot] Oct 7, 2025
73a2b84
codegen metadata
stainless-app[bot] Oct 7, 2025
ce9f7b7
codegen metadata
stainless-app[bot] Oct 7, 2025
d3c7a5a
codegen metadata
stainless-app[bot] Oct 7, 2025
2f5caa9
codegen metadata
stainless-app[bot] Oct 7, 2025
afe9bd6
codegen metadata
stainless-app[bot] Oct 7, 2025
c0e0a03
codegen metadata
stainless-app[bot] Oct 7, 2025
c6c6112
codegen metadata
stainless-app[bot] Oct 7, 2025
1956344
codegen metadata
stainless-app[bot] Oct 7, 2025
0d9d353
chore(api): update composite API spec
stainless-app[bot] Oct 8, 2025
6bff3f1
codegen metadata
stainless-app[bot] Oct 8, 2025
01cf63f
codegen metadata
stainless-app[bot] Oct 8, 2025
e2e988a
codegen metadata
stainless-app[bot] Oct 8, 2025
010b27d
codegen metadata
stainless-app[bot] Oct 8, 2025
46df66c
codegen metadata
stainless-app[bot] Oct 8, 2025
f8b238e
codegen metadata
stainless-app[bot] Oct 8, 2025
40cf0cd
codegen metadata
stainless-app[bot] Oct 8, 2025
ff6aff5
codegen metadata
stainless-app[bot] Oct 8, 2025
71b8764
codegen metadata
stainless-app[bot] Oct 8, 2025
8b4dd8a
codegen metadata
stainless-app[bot] Oct 8, 2025
86b5086
codegen metadata
stainless-app[bot] Oct 8, 2025
260ab99
chore(api): update composite API spec
stainless-app[bot] Oct 8, 2025
500840e
chore(api): update composite API spec
stainless-app[bot] Oct 8, 2025
eb71c27
codegen metadata
stainless-app[bot] Oct 8, 2025
fa3a4c1
codegen metadata
stainless-app[bot] Oct 8, 2025
980ba75
codegen metadata
stainless-app[bot] Oct 8, 2025
b12ef1f
chore(api): update composite API spec
stainless-app[bot] Oct 8, 2025
bf508cb
codegen metadata
stainless-app[bot] Oct 8, 2025
2843cff
codegen metadata
stainless-app[bot] Oct 8, 2025
9adc963
codegen metadata
stainless-app[bot] Oct 8, 2025
3b42f20
chore(api): update composite API spec
stainless-app[bot] Oct 8, 2025
04f6348
codegen metadata
stainless-app[bot] Oct 8, 2025
450651a
codegen metadata
stainless-app[bot] Oct 8, 2025
5b80a99
codegen metadata
stainless-app[bot] Oct 8, 2025
11a3dba
codegen metadata
stainless-app[bot] Oct 8, 2025
4271f2d
chore(api): update composite API spec
stainless-app[bot] Oct 9, 2025
c6a5ae2
codegen metadata
stainless-app[bot] Oct 9, 2025
3251c32
codegen metadata
stainless-app[bot] Oct 9, 2025
80ec154
codegen metadata
stainless-app[bot] Oct 9, 2025
938812a
codegen metadata
stainless-app[bot] Oct 9, 2025
338bafe
codegen metadata
stainless-app[bot] Oct 9, 2025
6a6cf37
codegen metadata
stainless-app[bot] Oct 9, 2025
7fca07d
codegen metadata
stainless-app[bot] Oct 9, 2025
ad2ace9
codegen metadata
stainless-app[bot] Oct 9, 2025
4b112ca
codegen metadata
stainless-app[bot] Oct 9, 2025
1c6119b
codegen metadata
stainless-app[bot] Oct 9, 2025
dee834f
chore(api): update composite API spec
stainless-app[bot] Oct 9, 2025
9286a4c
codegen metadata
stainless-app[bot] Oct 9, 2025
b91845e
codegen metadata
stainless-app[bot] Oct 9, 2025
44ef339
codegen metadata
stainless-app[bot] Oct 9, 2025
1dbce03
feat: feat: SDKs for Organizations and OrganizationsProfile
stainless-app[bot] Oct 9, 2025
b442ba7
codegen metadata
stainless-app[bot] Oct 9, 2025
f41fc4d
codegen metadata
stainless-app[bot] Oct 9, 2025
712703c
codegen metadata
stainless-app[bot] Oct 9, 2025
058eda6
codegen metadata
stainless-app[bot] Oct 9, 2025
fcfc5a8
chore(api): update composite API spec
stainless-app[bot] Oct 9, 2025
2af1a08
codegen metadata
stainless-app[bot] Oct 9, 2025
e698927
codegen metadata
stainless-app[bot] Oct 9, 2025
94b33ac
codegen metadata
stainless-app[bot] Oct 9, 2025
00eb546
codegen metadata
stainless-app[bot] Oct 9, 2025
2ad1c9b
codegen metadata
stainless-app[bot] Oct 9, 2025
257fc8f
codegen metadata
stainless-app[bot] Oct 9, 2025
08dc4dd
codegen metadata
stainless-app[bot] Oct 10, 2025
c623e10
codegen metadata
stainless-app[bot] Oct 10, 2025
af43b63
codegen metadata
stainless-app[bot] Oct 10, 2025
46037d7
codegen metadata
stainless-app[bot] Oct 10, 2025
54940b0
codegen metadata
stainless-app[bot] Oct 10, 2025
5852d5f
codegen metadata
stainless-app[bot] Oct 10, 2025
74a6216
codegen metadata
stainless-app[bot] Oct 10, 2025
fd42665
codegen metadata
stainless-app[bot] Oct 10, 2025
4bc6c7d
codegen metadata
stainless-app[bot] Oct 10, 2025
d42cd07
codegen metadata
stainless-app[bot] Oct 10, 2025
15ce84e
codegen metadata
stainless-app[bot] Oct 10, 2025
ce0287f
codegen metadata
stainless-app[bot] Oct 10, 2025
b95acbe
codegen metadata
stainless-app[bot] Oct 10, 2025
3f0a745
chore(api): update composite API spec
stainless-app[bot] Oct 10, 2025
4f67aff
codegen metadata
stainless-app[bot] Oct 10, 2025
dd85d36
codegen metadata
stainless-app[bot] Oct 10, 2025
c2a3afe
codegen metadata
stainless-app[bot] Oct 10, 2025
71b62a3
codegen metadata
stainless-app[bot] Oct 10, 2025
a10a810
fix(build): remove duplicate function in kv resource
musa-cf Oct 10, 2025
47ef808
Merge pull request #4201 from cloudflare/fix-build
musa-cf Oct 10, 2025
0107478
codegen metadata
stainless-app[bot] Oct 10, 2025
fa02130
codegen metadata
stainless-app[bot] Oct 10, 2025
24f204c
codegen metadata
stainless-app[bot] Oct 10, 2025
38d90d4
codegen metadata
stainless-app[bot] Oct 10, 2025
b0450c0
codegen metadata
stainless-app[bot] Oct 10, 2025
64138ed
codegen metadata
stainless-app[bot] Oct 10, 2025
f6cabcc
codegen metadata
stainless-app[bot] Oct 10, 2025
823d3df
codegen metadata
stainless-app[bot] Oct 10, 2025
e73f4f1
codegen metadata
stainless-app[bot] Oct 10, 2025
474f6c5
codegen metadata
stainless-app[bot] Oct 10, 2025
2f54f49
codegen metadata
stainless-app[bot] Oct 10, 2025
6f3b557
feat: feat(api): add mcp portals endpoints
stainless-app[bot] Oct 13, 2025
1dcc5a6
feat: feat(radar): add new group by dimension endpoints; deprecate to…
stainless-app[bot] Oct 13, 2025
6b8bced
chore(api): update composite API spec
stainless-app[bot] Oct 14, 2025
34685ef
chore(api): update composite API spec
stainless-app[bot] Oct 14, 2025
da98270
chore(api): update composite API spec
stainless-app[bot] Oct 14, 2025
511b36f
feat: docs(zero_trust_gateway_policy): add /rules/tenants endpoint to…
stainless-app[bot] Oct 13, 2025
eb26e21
feat: feat: add connectivity directory service APIs to openapi.stainl…
stainless-app[bot] Oct 14, 2025
d86239b
chore(api): update composite API spec
stainless-app[bot] Oct 14, 2025
115150f
chore(api): update composite API spec
stainless-app[bot] Oct 14, 2025
fdb4538
chore(api): update composite API spec
stainless-app[bot] Oct 14, 2025
2e35c27
codegen metadata
stainless-app[bot] Oct 14, 2025
0106aec
codegen metadata
stainless-app[bot] Oct 14, 2025
2a2b870
codegen metadata
stainless-app[bot] Oct 14, 2025
c0d3b38
feat: chore(abuse): rename path parameter
stainless-app[bot] Oct 15, 2025
83ea47a
Fix marshaling of `workers.AssetUploadNewParams`
1000hz Oct 17, 2025
17102c3
Merge pull request #4203 from 1000hz/patch-1
tamas-jozsa Oct 20, 2025
3f6d26f
chore(api): update composite API spec
stainless-app[bot] Oct 21, 2025
68eb7ee
feat: ci: trigger prod build
stainless-app[bot] Oct 21, 2025
8a8e2e0
release: 6.2.0
stainless-app[bot] Oct 21, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
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 @@
{
".": "6.1.0"
".": "6.2.0"
}
8 changes: 4 additions & 4 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
configured_endpoints: 1835
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-ca8fbfa82d19dca400ec61b8c93392de1acd157860e435419f9a5e9ec8c586e0.yml
openapi_spec_hash: 77d55c70bc3824ac61bd056e2319ee18
config_hash: 107e0f1f8a98b007260b319226b88b3c
configured_endpoints: 1865
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-25948e3293c7ca8798d7722f962cf2fc566faa8880489e0746d3a16f1e02e523.yml
openapi_spec_hash: 97e3f177c34640dd60815a578f1ed7bd
config_hash: e16fca6aff930b2279d586d92022f7d1
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# Changelog

## 6.2.0 (2025-10-21)

Full Changelog: [v6.1.0...v6.2.0](https://github.com/cloudflare/cloudflare-go/compare/v6.1.0...v6.2.0)

### Features

* chore(abuse): rename path parameter ([c0d3b38](https://github.com/cloudflare/cloudflare-go/commit/c0d3b387dd4d12b2fec8e7f3f85d6502270a6017))
* ci: trigger prod build ([68eb7ee](https://github.com/cloudflare/cloudflare-go/commit/68eb7ee152afd8c92b5b0d05068dd5d86292678d))
* docs(zero_trust_gateway_policy): add /rules/tenants endpoint to Gateway API docs ([511b36f](https://github.com/cloudflare/cloudflare-go/commit/511b36f7ca1f2bf66e5b9ca7843097dc221aefdb))
* feat: add connectivity directory service APIs to openapi.stainless.yml ([eb26e21](https://github.com/cloudflare/cloudflare-go/commit/eb26e213c151222d857974559fac8c9ffc19b0d5))
* feat: SDKs for Organizations and OrganizationsProfile ([1dbce03](https://github.com/cloudflare/cloudflare-go/commit/1dbce03083292af3a9d0dfc98d2550308d19c468))
* feat(api): add mcp portals endpoints ([6f3b557](https://github.com/cloudflare/cloudflare-go/commit/6f3b5570fef970132964799e7aa98c8533376fc8))
* feat(radar): add new group by dimension endpoints; deprecate to_markdown endpoint ([1dcc5a6](https://github.com/cloudflare/cloudflare-go/commit/1dcc5a68edc8244010ebc1496963181673548972))
* fix(content_scanning): content scanning terraform resource ([1e28d33](https://github.com/cloudflare/cloudflare-go/commit/1e28d339706999bd6880dff4e06819259ae6a9f1))


### Bug Fixes

* **build:** remove duplicate function in kv resource ([a10a810](https://github.com/cloudflare/cloudflare-go/commit/a10a810b672cf92ac53de2fda72f52543d58eaa4))


### Chores

* **api:** update composite API spec ([3f6d26f](https://github.com/cloudflare/cloudflare-go/commit/3f6d26f82d99f2a7f62b36d0a2de3f46d176f50f))
* **api:** update composite API spec ([fdb4538](https://github.com/cloudflare/cloudflare-go/commit/fdb453898c98dc87df97d56c7f79e861d0f7f589))
* **api:** update composite API spec ([115150f](https://github.com/cloudflare/cloudflare-go/commit/115150f7a3798a0e38b02a9b0f20234f1d7b8c87))
* **api:** update composite API spec ([d86239b](https://github.com/cloudflare/cloudflare-go/commit/d86239be194fcd596007f96719d5ea5dd51eac55))
* **api:** update composite API spec ([da98270](https://github.com/cloudflare/cloudflare-go/commit/da98270894bda2f73999581a44913301454ee5d1))
* **api:** update composite API spec ([34685ef](https://github.com/cloudflare/cloudflare-go/commit/34685efef31024470147b7824cf66104593ed39a))
* **api:** update composite API spec ([6b8bced](https://github.com/cloudflare/cloudflare-go/commit/6b8bcedeedc8b3fb45098b307d087152644eb98c))
* **api:** update composite API spec ([3f0a745](https://github.com/cloudflare/cloudflare-go/commit/3f0a74523bc67ebaceff7ffbe40463c1d9c870b4))
* **api:** update composite API spec ([fcfc5a8](https://github.com/cloudflare/cloudflare-go/commit/fcfc5a8c6d296e315034e69a2629a3b908898a1c))
* **api:** update composite API spec ([dee834f](https://github.com/cloudflare/cloudflare-go/commit/dee834fe33e15200823ecd3ca9cfa536c0817bb9))
* **api:** update composite API spec ([4271f2d](https://github.com/cloudflare/cloudflare-go/commit/4271f2de5465e74ff228dfa4e78ca0e116b1aef1))
* **api:** update composite API spec ([3b42f20](https://github.com/cloudflare/cloudflare-go/commit/3b42f20263764dc638dfbd25f69af25140fbbf48))
* **api:** update composite API spec ([b12ef1f](https://github.com/cloudflare/cloudflare-go/commit/b12ef1fc87456d6b3d0b425d7fef20f14c0f1693))
* **api:** update composite API spec ([500840e](https://github.com/cloudflare/cloudflare-go/commit/500840e18c7c7cdbfd255ddc6b7968938a3ed4f0))
* **api:** update composite API spec ([260ab99](https://github.com/cloudflare/cloudflare-go/commit/260ab99e4bf4af2987105fe5aef099a076a1350b))
* **api:** update composite API spec ([0d9d353](https://github.com/cloudflare/cloudflare-go/commit/0d9d353ea5fa6650c68aff537383048a2ceddd96))
* **api:** update composite API spec ([926d463](https://github.com/cloudflare/cloudflare-go/commit/926d463456791999bd3deaf4f5ae76344ef8f36e))
* **api:** update composite API spec ([b67c214](https://github.com/cloudflare/cloudflare-go/commit/b67c214c63b515897d7f422c52ff9a02f6d5f84a))
* **api:** update composite API spec ([fd01b48](https://github.com/cloudflare/cloudflare-go/commit/fd01b4812f334940a2965ae1eb3d9e4b692190ff))
* **api:** update composite API spec ([b288a02](https://github.com/cloudflare/cloudflare-go/commit/b288a0283229f5e24e71422530a03c55ca9e7db2))
* **api:** update composite API spec ([38db835](https://github.com/cloudflare/cloudflare-go/commit/38db835e15dead33fb7edc6f1bf180734914661e))
* **api:** update composite API spec ([f804ebd](https://github.com/cloudflare/cloudflare-go/commit/f804ebd42858ea1bb2b4b7aa9ce7d8619dc075c1))
* **api:** update composite API spec ([4fa18b7](https://github.com/cloudflare/cloudflare-go/commit/4fa18b71ebac684140ce7a7d79a4c711b72f9de0))
* **api:** update composite API spec ([e5dbb78](https://github.com/cloudflare/cloudflare-go/commit/e5dbb78cee584a70b7442d307b8d6b887ab3d397))
* **api:** update composite API spec ([2a3084d](https://github.com/cloudflare/cloudflare-go/commit/2a3084d99eed240351398271505df348d03d884a))
* **api:** update composite API spec ([3a28705](https://github.com/cloudflare/cloudflare-go/commit/3a28705e70e3226821f8bbb51fb7f1f1f42aa948))
* **api:** update composite API spec ([0e3d223](https://github.com/cloudflare/cloudflare-go/commit/0e3d223b1a723e84d1c56c6aa28a0909db26912e))
* **api:** update composite API spec ([d184702](https://github.com/cloudflare/cloudflare-go/commit/d18470233a5bc070423bb1c4576c2ae34b0fd0e4))
* **api:** update composite API spec ([32b3ed1](https://github.com/cloudflare/cloudflare-go/commit/32b3ed1d3e8ac065d9c71873863671e146838400))
* **api:** update composite API spec ([da50735](https://github.com/cloudflare/cloudflare-go/commit/da50735711bb749c4b415e2f7a5f42a65e3b6a25))
* **api:** update composite API spec ([c308671](https://github.com/cloudflare/cloudflare-go/commit/c308671336a8d1a796c17bf16b86e0a4de2db2bf))
* **api:** update composite API spec ([8f9e027](https://github.com/cloudflare/cloudflare-go/commit/8f9e027dc85b6c86f2ea4f6c9fe0771a44cb06ab))
* **api:** update composite API spec ([5fc3d87](https://github.com/cloudflare/cloudflare-go/commit/5fc3d878e3841ae66e925d6e182122077cf12935))
* **api:** update composite API spec ([1bfcb55](https://github.com/cloudflare/cloudflare-go/commit/1bfcb554abc2667e8086352158002ba68c4ed397))

## 6.1.0 (2025-09-30)

Full Changelog: [v6.0.1...v6.1.0](https://github.com/cloudflare/cloudflare-go/compare/v6.0.1...v6.1.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ Or to pin the version:
<!-- x-release-please-start-version -->

```sh
go get -u 'github.com/cloudflare/cloudflare-go/v4@v6.1.0'
go get -u 'github.com/cloudflare/cloudflare-go/v4@v6.2.0'
```

<!-- x-release-please-end -->
Expand Down
46 changes: 23 additions & 23 deletions abuse_reports/abusereport.go
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,18 @@ func NewAbuseReportService(opts ...option.RequestOption) (r *AbuseReportService)
}

// Submit the Abuse Report of a particular type
func (r *AbuseReportService) New(ctx context.Context, reportType string, params AbuseReportNewParams, opts ...option.RequestOption) (res *string, err error) {
func (r *AbuseReportService) New(ctx context.Context, reportParam string, params AbuseReportNewParams, opts ...option.RequestOption) (res *string, err error) {
var env AbuseReportNewResponseEnvelope
opts = slices.Concat(r.Options, opts)
if params.AccountID.Value == "" {
err = errors.New("missing required account_id parameter")
return
}
if reportType == "" {
err = errors.New("missing required report_type parameter")
if reportParam == "" {
err = errors.New("missing required report_param parameter")
return
}
path := fmt.Sprintf("accounts/%s/abuse-reports/%s", params.AccountID, reportType)
path := fmt.Sprintf("accounts/%s/abuse-reports/%s", params.AccountID, reportParam)
err = requestconfig.ExecuteNewRequest(ctx, http.MethodPost, path, params, &env, opts...)
if err != nil {
return
Expand All @@ -65,7 +65,7 @@ func (r AbuseReportNewParams) MarshalJSON() (data []byte, err error) {
}

type AbuseReportNewParamsBody struct {
// The abuse report type.
// The report type for submitted reports.
Act param.Field[AbuseReportNewParamsBodyAct] `json:"act,required"`
// A valid email of the abuse reporter. This field may be released by Cloudflare to
// third parties such as the Lumen Database (https://lumendatabase.org/).
Expand Down Expand Up @@ -175,7 +175,7 @@ type AbuseReportNewParamsBodyUnion interface {
}

type AbuseReportNewParamsBodyAbuseReportsDmcaReport struct {
// The abuse report type.
// The report type for submitted reports.
Act param.Field[AbuseReportNewParamsBodyAbuseReportsDmcaReportAct] `json:"act,required"`
// Text not exceeding 100 characters. This field may be released by Cloudflare to
// third parties such as the Lumen Database (https://lumendatabase.org/).
Expand Down Expand Up @@ -243,7 +243,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsDmcaReport) MarshalJSON() (data []by

func (r AbuseReportNewParamsBodyAbuseReportsDmcaReport) implementsAbuseReportNewParamsBodyUnion() {}

// The abuse report type.
// The report type for submitted reports.
type AbuseReportNewParamsBodyAbuseReportsDmcaReportAct string

const (
Expand Down Expand Up @@ -306,7 +306,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsDmcaReportOwnerNotification) IsKnown
}

type AbuseReportNewParamsBodyAbuseReportsTrademarkReport struct {
// The abuse report type.
// The report type for submitted reports.
Act param.Field[AbuseReportNewParamsBodyAbuseReportsTrademarkReportAct] `json:"act,required"`
// A valid email of the abuse reporter. This field may be released by Cloudflare to
// third parties such as the Lumen Database (https://lumendatabase.org/).
Expand Down Expand Up @@ -360,7 +360,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsTrademarkReport) MarshalJSON() (data
func (r AbuseReportNewParamsBodyAbuseReportsTrademarkReport) implementsAbuseReportNewParamsBodyUnion() {
}

// The abuse report type.
// The report type for submitted reports.
type AbuseReportNewParamsBodyAbuseReportsTrademarkReportAct string

const (
Expand Down Expand Up @@ -408,7 +408,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsTrademarkReportOwnerNotification) Is
}

type AbuseReportNewParamsBodyAbuseReportsGeneralReport struct {
// The abuse report type.
// The report type for submitted reports.
Act param.Field[AbuseReportNewParamsBodyAbuseReportsGeneralReportAct] `json:"act,required"`
// A valid email of the abuse reporter. This field may be released by Cloudflare to
// third parties such as the Lumen Database (https://lumendatabase.org/).
Expand Down Expand Up @@ -469,7 +469,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsGeneralReport) MarshalJSON() (data [
func (r AbuseReportNewParamsBodyAbuseReportsGeneralReport) implementsAbuseReportNewParamsBodyUnion() {
}

// The abuse report type.
// The report type for submitted reports.
type AbuseReportNewParamsBodyAbuseReportsGeneralReportAct string

const (
Expand Down Expand Up @@ -520,7 +520,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsGeneralReportOwnerNotification) IsKn
}

type AbuseReportNewParamsBodyAbuseReportsPhishingReport struct {
// The abuse report type.
// The report type for submitted reports.
Act param.Field[AbuseReportNewParamsBodyAbuseReportsPhishingReportAct] `json:"act,required"`
// A valid email of the abuse reporter. This field may be released by Cloudflare to
// third parties such as the Lumen Database (https://lumendatabase.org/).
Expand Down Expand Up @@ -571,7 +571,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsPhishingReport) MarshalJSON() (data
func (r AbuseReportNewParamsBodyAbuseReportsPhishingReport) implementsAbuseReportNewParamsBodyUnion() {
}

// The abuse report type.
// The report type for submitted reports.
type AbuseReportNewParamsBodyAbuseReportsPhishingReportAct string

const (
Expand Down Expand Up @@ -621,7 +621,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsPhishingReportOwnerNotification) IsK
}

type AbuseReportNewParamsBodyAbuseReportsCsamReport struct {
// The abuse report type.
// The report type for submitted reports.
Act param.Field[AbuseReportNewParamsBodyAbuseReportsCsamReportAct] `json:"act,required"`
// A valid email of the abuse reporter. This field may be released by Cloudflare to
// third parties such as the Lumen Database (https://lumendatabase.org/).
Expand Down Expand Up @@ -674,7 +674,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsCsamReport) MarshalJSON() (data []by

func (r AbuseReportNewParamsBodyAbuseReportsCsamReport) implementsAbuseReportNewParamsBodyUnion() {}

// The abuse report type.
// The report type for submitted reports.
type AbuseReportNewParamsBodyAbuseReportsCsamReportAct string

const (
Expand Down Expand Up @@ -742,7 +742,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsCsamReportOwnerNotification) IsKnown
}

type AbuseReportNewParamsBodyAbuseReportsThreatReport struct {
// The abuse report type.
// The report type for submitted reports.
Act param.Field[AbuseReportNewParamsBodyAbuseReportsThreatReportAct] `json:"act,required"`
// A valid email of the abuse reporter. This field may be released by Cloudflare to
// third parties such as the Lumen Database (https://lumendatabase.org/).
Expand Down Expand Up @@ -789,7 +789,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsThreatReport) MarshalJSON() (data []

func (r AbuseReportNewParamsBodyAbuseReportsThreatReport) implementsAbuseReportNewParamsBodyUnion() {}

// The abuse report type.
// The report type for submitted reports.
type AbuseReportNewParamsBodyAbuseReportsThreatReportAct string

const (
Expand Down Expand Up @@ -839,7 +839,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsThreatReportOwnerNotification) IsKno
}

type AbuseReportNewParamsBodyAbuseReportsRegistrarWhoisReport struct {
// The abuse report type.
// The report type for submitted reports.
Act param.Field[AbuseReportNewParamsBodyAbuseReportsRegistrarWhoisReportAct] `json:"act,required"`
// A valid email of the abuse reporter. This field may be released by Cloudflare to
// third parties such as the Lumen Database (https://lumendatabase.org/).
Expand Down Expand Up @@ -880,7 +880,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsRegistrarWhoisReport) MarshalJSON()
func (r AbuseReportNewParamsBodyAbuseReportsRegistrarWhoisReport) implementsAbuseReportNewParamsBodyUnion() {
}

// The abuse report type.
// The report type for submitted reports.
type AbuseReportNewParamsBodyAbuseReportsRegistrarWhoisReportAct string

const (
Expand Down Expand Up @@ -914,7 +914,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsRegistrarWhoisReportOwnerNotificatio
}

type AbuseReportNewParamsBodyAbuseReportsNcseiReport struct {
// The abuse report type.
// The report type for submitted reports.
Act param.Field[AbuseReportNewParamsBodyAbuseReportsNcseiReportAct] `json:"act,required"`
// A valid email of the abuse reporter. This field may be released by Cloudflare to
// third parties such as the Lumen Database (https://lumendatabase.org/).
Expand Down Expand Up @@ -962,7 +962,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsNcseiReport) MarshalJSON() (data []b

func (r AbuseReportNewParamsBodyAbuseReportsNcseiReport) implementsAbuseReportNewParamsBodyUnion() {}

// The abuse report type.
// The report type for submitted reports.
type AbuseReportNewParamsBodyAbuseReportsNcseiReportAct string

const (
Expand Down Expand Up @@ -1012,7 +1012,7 @@ func (r AbuseReportNewParamsBodyAbuseReportsNcseiReportOwnerNotification) IsKnow
return false
}

// The abuse report type.
// The report type for submitted reports.
type AbuseReportNewParamsBodyAct string

const (
Expand Down Expand Up @@ -1129,7 +1129,7 @@ func (r abuseReportNewResponseEnvelopeJSON) RawJSON() string {
}

type AbuseReportNewResponseEnvelopeRequest struct {
// The abuse report type.
// The report type for submitted reports.
Act string `json:"act,required"`
JSON abuseReportNewResponseEnvelopeRequestJSON `json:"-"`
}
Expand Down
2 changes: 1 addition & 1 deletion abuse_reports/abusereport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ func TestAbuseReportNewWithOptionalParams(t *testing.T) {
)
_, err := client.AbuseReports.New(
context.TODO(),
"report_type",
"report_param",
abuse_reports.AbuseReportNewParams{
AccountID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
Body: abuse_reports.AbuseReportNewParamsBodyAbuseReportsDmcaReport{
Expand Down
39 changes: 39 additions & 0 deletions accounts/account.go
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ type Account struct {
Type AccountType `json:"type,required"`
// Timestamp for the creation of the account
CreatedOn time.Time `json:"created_on" format:"date-time"`
// Parent container details
ManagedBy AccountManagedBy `json:"managed_by"`
// Account settings
Settings AccountSettings `json:"settings"`
JSON accountJSON `json:"-"`
Expand All @@ -160,6 +162,7 @@ type accountJSON struct {
Name apijson.Field
Type apijson.Field
CreatedOn apijson.Field
ManagedBy apijson.Field
Settings apijson.Field
raw string
ExtraFields map[string]apijson.Field
Expand Down Expand Up @@ -188,6 +191,32 @@ func (r AccountType) IsKnown() bool {
return false
}

// Parent container details
type AccountManagedBy struct {
// ID of the parent Organization, if one exists
ParentOrgID string `json:"parent_org_id"`
// Name of the parent Organization, if one exists
ParentOrgName string `json:"parent_org_name"`
JSON accountManagedByJSON `json:"-"`
}

// accountManagedByJSON contains the JSON metadata for the struct
// [AccountManagedBy]
type accountManagedByJSON struct {
ParentOrgID apijson.Field
ParentOrgName apijson.Field
raw string
ExtraFields map[string]apijson.Field
}

func (r *AccountManagedBy) UnmarshalJSON(data []byte) (err error) {
return apijson.UnmarshalRoot(data, r)
}

func (r accountManagedByJSON) RawJSON() string {
return r.raw
}

// Account settings
type AccountSettings struct {
// Sets an abuse contact email to notify for abuse reports.
Expand Down Expand Up @@ -220,6 +249,8 @@ type AccountParam struct {
// Account name
Name param.Field[string] `json:"name,required"`
Type param.Field[AccountType] `json:"type,required"`
// Parent container details
ManagedBy param.Field[AccountManagedByParam] `json:"managed_by"`
// Account settings
Settings param.Field[AccountSettingsParam] `json:"settings"`
}
Expand All @@ -228,6 +259,14 @@ func (r AccountParam) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}

// Parent container details
type AccountManagedByParam struct {
}

func (r AccountManagedByParam) MarshalJSON() (data []byte, err error) {
return apijson.MarshalRoot(r)
}

// Account settings
type AccountSettingsParam struct {
// Sets an abuse contact email to notify for abuse reports.
Expand Down
7 changes: 4 additions & 3 deletions accounts/account_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,10 @@ func TestAccountUpdateWithOptionalParams(t *testing.T) {
_, err := client.Accounts.Update(context.TODO(), accounts.AccountUpdateParams{
AccountID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
Account: accounts.AccountParam{
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
Name: cloudflare.F("Demo Account"),
Type: cloudflare.F(accounts.AccountTypeStandard),
ID: cloudflare.F("023e105f4ecef8ad9ca31a8372d0c353"),
Name: cloudflare.F("Demo Account"),
Type: cloudflare.F(accounts.AccountTypeStandard),
ManagedBy: cloudflare.F(accounts.AccountManagedByParam{}),
Settings: cloudflare.F(accounts.AccountSettingsParam{
AbuseContactEmail: cloudflare.F("abuse_contact_email"),
EnforceTwofactor: cloudflare.F(true),
Expand Down
Loading