Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release: 2.1.0 #1783

Merged
merged 52 commits into from
Apr 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
52 commits
Select commit Hold shift + click to select a range
0adf3e1
feat(api): update via SDK Studio (#1782)
stainless-app[bot] Apr 12, 2024
1079b16
feat(api): update via SDK Studio (#1784)
stainless-app[bot] Apr 15, 2024
c46158d
feat(api): OpenAPI spec update via Stainless API (#1785)
stainless-app[bot] Apr 15, 2024
371672b
feat(api): OpenAPI spec update via Stainless API (#1786)
stainless-app[bot] Apr 15, 2024
47ad405
feat(api): OpenAPI spec update via Stainless API (#1787)
stainless-app[bot] Apr 15, 2024
49d6aec
feat(api): OpenAPI spec update via Stainless API (#1788)
stainless-app[bot] Apr 15, 2024
1bfe1dc
feat(api): OpenAPI spec update via Stainless API (#1789)
stainless-app[bot] Apr 15, 2024
b9acc0b
feat(api): OpenAPI spec update via Stainless API (#1791)
stainless-app[bot] Apr 15, 2024
dcabc90
feat(api): OpenAPI spec update via Stainless API (#1792)
stainless-app[bot] Apr 15, 2024
b45cf89
feat(api): OpenAPI spec update via Stainless API (#1793)
stainless-app[bot] Apr 15, 2024
04ad9cb
feat(api): OpenAPI spec update via Stainless API (#1794)
stainless-app[bot] Apr 15, 2024
0c33f28
feat(api): OpenAPI spec update via Stainless API (#1795)
stainless-app[bot] Apr 15, 2024
6e3fe04
feat(api): OpenAPI spec update via Stainless API (#1796)
stainless-app[bot] Apr 15, 2024
b1502e0
feat(api): OpenAPI spec update via Stainless API (#1797)
stainless-app[bot] Apr 15, 2024
18a026c
feat(api): OpenAPI spec update via Stainless API (#1798)
stainless-app[bot] Apr 16, 2024
476c601
feat(api): update via SDK Studio (#1799)
stainless-app[bot] Apr 16, 2024
c0c9b23
feat(api): OpenAPI spec update via Stainless API (#1800)
stainless-app[bot] Apr 16, 2024
5a77eae
feat(api): OpenAPI spec update via Stainless API (#1801)
stainless-app[bot] Apr 16, 2024
ab55f0c
feat(api): OpenAPI spec update via Stainless API (#1802)
stainless-app[bot] Apr 16, 2024
3bcc682
feat(api): OpenAPI spec update via Stainless API (#1803)
stainless-app[bot] Apr 16, 2024
01f9e5a
feat(api): OpenAPI spec update via Stainless API (#1804)
stainless-app[bot] Apr 16, 2024
9d6c74e
feat(api): OpenAPI spec update via Stainless API (#1805)
stainless-app[bot] Apr 16, 2024
a229e9e
feat(api): OpenAPI spec update via Stainless API (#1806)
stainless-app[bot] Apr 16, 2024
dc7ff76
feat(api): OpenAPI spec update via Stainless API (#1807)
stainless-app[bot] Apr 16, 2024
eb3189d
feat(api): OpenAPI spec update via Stainless API (#1808)
stainless-app[bot] Apr 16, 2024
7832d67
feat(api): OpenAPI spec update via Stainless API (#1809)
stainless-app[bot] Apr 16, 2024
2745e9f
feat(api): OpenAPI spec update via Stainless API (#1810)
stainless-app[bot] Apr 16, 2024
5e44bc5
feat(api): update via SDK Studio (#1812)
stainless-app[bot] Apr 16, 2024
2409946
feat(api): update via SDK Studio (#1813)
stainless-app[bot] Apr 17, 2024
438a7c9
feat(api): update via SDK Studio (#1814)
stainless-app[bot] Apr 17, 2024
39d96df
feat(api): update via SDK Studio (#1815)
stainless-app[bot] Apr 17, 2024
03cca00
feat(api): OpenAPI spec update via Stainless API (#1816)
stainless-app[bot] Apr 17, 2024
6f304fa
feat(api): update via SDK Studio (#1817)
stainless-app[bot] Apr 18, 2024
8570aec
feat(api): update via SDK Studio (#1818)
stainless-app[bot] Apr 18, 2024
cceb524
feat(api): update via SDK Studio (#1819)
stainless-app[bot] Apr 18, 2024
b6b38ee
feat(api): OpenAPI spec update via Stainless API (#1820)
stainless-app[bot] Apr 18, 2024
a035789
feat(api): update via SDK Studio (#1821)
stainless-app[bot] Apr 18, 2024
b0878be
feat(api): update via SDK Studio (#1822)
stainless-app[bot] Apr 19, 2024
8e49406
feat(api): update via SDK Studio (#1823)
stainless-app[bot] Apr 19, 2024
bbc396f
feat(api): update via SDK Studio (#1824)
stainless-app[bot] Apr 19, 2024
f427ad2
feat(api): update via SDK Studio (#1827)
stainless-app[bot] Apr 22, 2024
3b38a2d
feat(api): update via SDK Studio (#1828)
stainless-app[bot] Apr 22, 2024
22a0cf2
feat(api): OpenAPI spec update via Stainless API (#1829)
stainless-app[bot] Apr 22, 2024
3c07f23
feat(api): OpenAPI spec update via Stainless API (#1830)
stainless-app[bot] Apr 22, 2024
66a8c6a
feat(api): OpenAPI spec update via Stainless API (#1831)
stainless-app[bot] Apr 22, 2024
fd4815c
feat(api): update via SDK Studio (#1833)
stainless-app[bot] Apr 23, 2024
10bae7e
feat(api): update via SDK Studio (#1834)
stainless-app[bot] Apr 23, 2024
b496234
feat(api): OpenAPI spec update via Stainless API (#1835)
stainless-app[bot] Apr 23, 2024
9299404
feat(api): update via SDK Studio (#1836)
stainless-app[bot] Apr 23, 2024
50cc379
feat(api): update via SDK Studio (#1837)
stainless-app[bot] Apr 23, 2024
c11a40c
feat(api): OpenAPI spec update via Stainless API (#1838)
stainless-app[bot] Apr 23, 2024
1496aec
release: 2.1.0
stainless-app[bot] Apr 23, 2024
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
4 changes: 4 additions & 0 deletions .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ RUN apt-get update && apt-get install -y \
vim \
&& apt-get clean autoclean

# Ensure UTF-8 encoding
ENV LANG=C.UTF-8
ENV LC_ALL=C.UTF-8

ENV GOPATH=/go
ENV PATH=$GOPATH/bin:$PATH

Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,11 @@ jobs:

steps:
- uses: actions/checkout@v4

- name: Setup go
uses: actions/setup-go@v5

- run: |
go build ./...


2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "2.0.0"
".": "2.1.0"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1 +1 @@
configured_endpoints: 1256
configured_endpoints: 1266
58 changes: 58 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,63 @@
# Changelog

## 2.1.0 (2024-04-23)

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

### Features

* **api:** OpenAPI spec update via Stainless API ([#1785](https://github.com/cloudflare/cloudflare-go/issues/1785)) ([c46158d](https://github.com/cloudflare/cloudflare-go/commit/c46158d0fe01b5a9568cf2aa87203c903712d21d))
* **api:** OpenAPI spec update via Stainless API ([#1786](https://github.com/cloudflare/cloudflare-go/issues/1786)) ([371672b](https://github.com/cloudflare/cloudflare-go/commit/371672b695419519937f44c5e368c6fcce352220))
* **api:** OpenAPI spec update via Stainless API ([#1787](https://github.com/cloudflare/cloudflare-go/issues/1787)) ([47ad405](https://github.com/cloudflare/cloudflare-go/commit/47ad4050632c4a9304a3b5db2c4eac9d2f0a591f))
* **api:** OpenAPI spec update via Stainless API ([#1788](https://github.com/cloudflare/cloudflare-go/issues/1788)) ([49d6aec](https://github.com/cloudflare/cloudflare-go/commit/49d6aec0cdd9a1ca9422bb111b6af16bde444e22))
* **api:** OpenAPI spec update via Stainless API ([#1789](https://github.com/cloudflare/cloudflare-go/issues/1789)) ([1bfe1dc](https://github.com/cloudflare/cloudflare-go/commit/1bfe1dc1b9a68fefdca979dabfff5722ecce32cd))
* **api:** OpenAPI spec update via Stainless API ([#1791](https://github.com/cloudflare/cloudflare-go/issues/1791)) ([b9acc0b](https://github.com/cloudflare/cloudflare-go/commit/b9acc0b6ced4b2a17391a2933b375e6d2feb11bf))
* **api:** OpenAPI spec update via Stainless API ([#1792](https://github.com/cloudflare/cloudflare-go/issues/1792)) ([dcabc90](https://github.com/cloudflare/cloudflare-go/commit/dcabc909649e42f9d1e6ed42af10fe41599cea3a))
* **api:** OpenAPI spec update via Stainless API ([#1793](https://github.com/cloudflare/cloudflare-go/issues/1793)) ([b45cf89](https://github.com/cloudflare/cloudflare-go/commit/b45cf899fe80aebd25098baa30edb7df987d7e23))
* **api:** OpenAPI spec update via Stainless API ([#1794](https://github.com/cloudflare/cloudflare-go/issues/1794)) ([04ad9cb](https://github.com/cloudflare/cloudflare-go/commit/04ad9cb37c40345025f1675584488cd01c69db05))
* **api:** OpenAPI spec update via Stainless API ([#1795](https://github.com/cloudflare/cloudflare-go/issues/1795)) ([0c33f28](https://github.com/cloudflare/cloudflare-go/commit/0c33f28354d1aaea6ab472333c43a482e73f7e1e))
* **api:** OpenAPI spec update via Stainless API ([#1796](https://github.com/cloudflare/cloudflare-go/issues/1796)) ([6e3fe04](https://github.com/cloudflare/cloudflare-go/commit/6e3fe04e4a2c69ae46809809d430f1d81ec3a11b))
* **api:** OpenAPI spec update via Stainless API ([#1797](https://github.com/cloudflare/cloudflare-go/issues/1797)) ([b1502e0](https://github.com/cloudflare/cloudflare-go/commit/b1502e06208a02d859d63d8da7156d670edc5971))
* **api:** OpenAPI spec update via Stainless API ([#1798](https://github.com/cloudflare/cloudflare-go/issues/1798)) ([18a026c](https://github.com/cloudflare/cloudflare-go/commit/18a026c94477768a9becb39fca9d07467d9c5c7a))
* **api:** OpenAPI spec update via Stainless API ([#1800](https://github.com/cloudflare/cloudflare-go/issues/1800)) ([c0c9b23](https://github.com/cloudflare/cloudflare-go/commit/c0c9b23b3a654508939a30dcd85c798f773ec928))
* **api:** OpenAPI spec update via Stainless API ([#1801](https://github.com/cloudflare/cloudflare-go/issues/1801)) ([5a77eae](https://github.com/cloudflare/cloudflare-go/commit/5a77eaeebe2dbccabb96f831f173c812d7546556))
* **api:** OpenAPI spec update via Stainless API ([#1802](https://github.com/cloudflare/cloudflare-go/issues/1802)) ([ab55f0c](https://github.com/cloudflare/cloudflare-go/commit/ab55f0c71c381292891bc586cdd25e408216be3c))
* **api:** OpenAPI spec update via Stainless API ([#1803](https://github.com/cloudflare/cloudflare-go/issues/1803)) ([3bcc682](https://github.com/cloudflare/cloudflare-go/commit/3bcc682965266e5ebfe1f1e0c685711b30e04b77))
* **api:** OpenAPI spec update via Stainless API ([#1804](https://github.com/cloudflare/cloudflare-go/issues/1804)) ([01f9e5a](https://github.com/cloudflare/cloudflare-go/commit/01f9e5a71831170c90298c1dd02f1d03eefd6937))
* **api:** OpenAPI spec update via Stainless API ([#1805](https://github.com/cloudflare/cloudflare-go/issues/1805)) ([9d6c74e](https://github.com/cloudflare/cloudflare-go/commit/9d6c74e90da8159fdcee67d6cd285e440f946063))
* **api:** OpenAPI spec update via Stainless API ([#1806](https://github.com/cloudflare/cloudflare-go/issues/1806)) ([a229e9e](https://github.com/cloudflare/cloudflare-go/commit/a229e9e5944107503cc2d474367e252bae7141b5))
* **api:** OpenAPI spec update via Stainless API ([#1807](https://github.com/cloudflare/cloudflare-go/issues/1807)) ([dc7ff76](https://github.com/cloudflare/cloudflare-go/commit/dc7ff768bb1bf424f9b96c164db9e3cfc9d8ef15))
* **api:** OpenAPI spec update via Stainless API ([#1808](https://github.com/cloudflare/cloudflare-go/issues/1808)) ([eb3189d](https://github.com/cloudflare/cloudflare-go/commit/eb3189de6c671b07769d53b5acccc6f8ae4572d3))
* **api:** OpenAPI spec update via Stainless API ([#1809](https://github.com/cloudflare/cloudflare-go/issues/1809)) ([7832d67](https://github.com/cloudflare/cloudflare-go/commit/7832d67b4bca1d1e0c9308897bd2a02c1b3c0532))
* **api:** OpenAPI spec update via Stainless API ([#1810](https://github.com/cloudflare/cloudflare-go/issues/1810)) ([2745e9f](https://github.com/cloudflare/cloudflare-go/commit/2745e9f609abecabb005071e82623852ec56afd3))
* **api:** OpenAPI spec update via Stainless API ([#1816](https://github.com/cloudflare/cloudflare-go/issues/1816)) ([03cca00](https://github.com/cloudflare/cloudflare-go/commit/03cca00a0ebdda0b7ab51fee254e522320aa1fc5))
* **api:** OpenAPI spec update via Stainless API ([#1820](https://github.com/cloudflare/cloudflare-go/issues/1820)) ([b6b38ee](https://github.com/cloudflare/cloudflare-go/commit/b6b38eed042165ba51ad4d86ae08d50b21170144))
* **api:** OpenAPI spec update via Stainless API ([#1829](https://github.com/cloudflare/cloudflare-go/issues/1829)) ([22a0cf2](https://github.com/cloudflare/cloudflare-go/commit/22a0cf255057c7a47244d2a035b0d7e30395d762))
* **api:** OpenAPI spec update via Stainless API ([#1830](https://github.com/cloudflare/cloudflare-go/issues/1830)) ([3c07f23](https://github.com/cloudflare/cloudflare-go/commit/3c07f23f2f57324dbe384564acc042239ce0b608))
* **api:** OpenAPI spec update via Stainless API ([#1831](https://github.com/cloudflare/cloudflare-go/issues/1831)) ([66a8c6a](https://github.com/cloudflare/cloudflare-go/commit/66a8c6acae1d37d8826bccef21b3a80c71a94b03))
* **api:** OpenAPI spec update via Stainless API ([#1835](https://github.com/cloudflare/cloudflare-go/issues/1835)) ([b496234](https://github.com/cloudflare/cloudflare-go/commit/b496234a872bc74a8363fcc6de8d4986121b7551))
* **api:** OpenAPI spec update via Stainless API ([#1838](https://github.com/cloudflare/cloudflare-go/issues/1838)) ([c11a40c](https://github.com/cloudflare/cloudflare-go/commit/c11a40cb20f831076f6bc0d4dbb0f83761687cf1))
* **api:** update via SDK Studio ([#1782](https://github.com/cloudflare/cloudflare-go/issues/1782)) ([0adf3e1](https://github.com/cloudflare/cloudflare-go/commit/0adf3e109832895369f53e3f8042090ca3f96379))
* **api:** update via SDK Studio ([#1784](https://github.com/cloudflare/cloudflare-go/issues/1784)) ([1079b16](https://github.com/cloudflare/cloudflare-go/commit/1079b16270db855b4c4170cc0401f50a14bd69ef))
* **api:** update via SDK Studio ([#1799](https://github.com/cloudflare/cloudflare-go/issues/1799)) ([476c601](https://github.com/cloudflare/cloudflare-go/commit/476c601dd3811c56d0809cf4ac1da95e48836d38))
* **api:** update via SDK Studio ([#1812](https://github.com/cloudflare/cloudflare-go/issues/1812)) ([5e44bc5](https://github.com/cloudflare/cloudflare-go/commit/5e44bc50b00eede6a5cef326306c1f9e503dacbc))
* **api:** update via SDK Studio ([#1813](https://github.com/cloudflare/cloudflare-go/issues/1813)) ([2409946](https://github.com/cloudflare/cloudflare-go/commit/24099461a67f2d63aa7395d6b7faad59d788d6d5))
* **api:** update via SDK Studio ([#1814](https://github.com/cloudflare/cloudflare-go/issues/1814)) ([438a7c9](https://github.com/cloudflare/cloudflare-go/commit/438a7c913a22e53abe682a86837dc2c1d9fc6af8))
* **api:** update via SDK Studio ([#1815](https://github.com/cloudflare/cloudflare-go/issues/1815)) ([39d96df](https://github.com/cloudflare/cloudflare-go/commit/39d96dfe0021a26066fb83ac86e247fae596e462))
* **api:** update via SDK Studio ([#1817](https://github.com/cloudflare/cloudflare-go/issues/1817)) ([6f304fa](https://github.com/cloudflare/cloudflare-go/commit/6f304fa3d6c0c8741a9ad11cdb7ef89d2f2e2ebc))
* **api:** update via SDK Studio ([#1818](https://github.com/cloudflare/cloudflare-go/issues/1818)) ([8570aec](https://github.com/cloudflare/cloudflare-go/commit/8570aec19a2e2376b7f035043e5d94cfcd4faeca))
* **api:** update via SDK Studio ([#1819](https://github.com/cloudflare/cloudflare-go/issues/1819)) ([cceb524](https://github.com/cloudflare/cloudflare-go/commit/cceb524ecef30a14f46423417797f82ea06ce8c1))
* **api:** update via SDK Studio ([#1821](https://github.com/cloudflare/cloudflare-go/issues/1821)) ([a035789](https://github.com/cloudflare/cloudflare-go/commit/a035789c514c6b7bbdd36e4eb3f7c607fb7cc0dd))
* **api:** update via SDK Studio ([#1822](https://github.com/cloudflare/cloudflare-go/issues/1822)) ([b0878be](https://github.com/cloudflare/cloudflare-go/commit/b0878be3db6f725218a5b83bff0741f1ac3dcd79))
* **api:** update via SDK Studio ([#1823](https://github.com/cloudflare/cloudflare-go/issues/1823)) ([8e49406](https://github.com/cloudflare/cloudflare-go/commit/8e49406cad34e98e6d969069c8490fa889db061e))
* **api:** update via SDK Studio ([#1824](https://github.com/cloudflare/cloudflare-go/issues/1824)) ([bbc396f](https://github.com/cloudflare/cloudflare-go/commit/bbc396f48e0c9084fd5a2ef8b8b44436c740a41f))
* **api:** update via SDK Studio ([#1827](https://github.com/cloudflare/cloudflare-go/issues/1827)) ([f427ad2](https://github.com/cloudflare/cloudflare-go/commit/f427ad23d0f827bb114c1c767417a6c84a563c58))
* **api:** update via SDK Studio ([#1828](https://github.com/cloudflare/cloudflare-go/issues/1828)) ([3b38a2d](https://github.com/cloudflare/cloudflare-go/commit/3b38a2d27b24c481b69e630f9490046da8d29797))
* **api:** update via SDK Studio ([#1833](https://github.com/cloudflare/cloudflare-go/issues/1833)) ([fd4815c](https://github.com/cloudflare/cloudflare-go/commit/fd4815c3c97b37291363299dbb7f4d3ceff08ca2))
* **api:** update via SDK Studio ([#1834](https://github.com/cloudflare/cloudflare-go/issues/1834)) ([10bae7e](https://github.com/cloudflare/cloudflare-go/commit/10bae7e8cbbf67ec925004af272b5a453495d069))
* **api:** update via SDK Studio ([#1836](https://github.com/cloudflare/cloudflare-go/issues/1836)) ([9299404](https://github.com/cloudflare/cloudflare-go/commit/9299404ea18f6b3faf59a2e87091141e4e55ecf3))
* **api:** update via SDK Studio ([#1837](https://github.com/cloudflare/cloudflare-go/issues/1837)) ([50cc379](https://github.com/cloudflare/cloudflare-go/commit/50cc3792d66fe613fd6fae226c7acfc42ff082b9))

## 2.0.0 (2024-04-12)

Full Changelog: [v2.0.0-beta.17...v2.0.0](https://github.com/cloudflare/cloudflare-go/compare/v2.0.0-beta.17...v2.0.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/v2@v2.0.0'
go get -u 'github.com/cloudflare/cloudflare-go/v2@v2.1.0'
```

<!-- x-release-please-end -->
Expand Down
32 changes: 19 additions & 13 deletions accounts/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down Expand Up @@ -70,40 +76,40 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI
type ErrorData = shared.ErrorData

// This is an alias to an internal type.
type Permission = shared.Permission
type Member = shared.Member

// This is an alias to an internal type.
type PermissionGrant = shared.PermissionGrant
type MemberRole = shared.MemberRole

// This is an alias to an internal type.
type PermissionGrantParam = shared.PermissionGrantParam
type MemberRolesPermissions = shared.MemberRolesPermissions

// This is an alias to an internal type.
type ResponseInfo = shared.ResponseInfo
type MemberUser = shared.MemberUser

// This is an alias to an internal type.
type Role = shared.Role
type MemberParam = shared.MemberParam

// This is an alias to an internal type.
type User = shared.User
type MemberRoleParam = shared.MemberRoleParam

// This is an alias to an internal type.
type UserRole = shared.UserRole
type MemberRolesPermissionsParam = shared.MemberRolesPermissionsParam

// This is an alias to an internal type.
type UserRolesPermissions = shared.UserRolesPermissions
type MemberUserParam = shared.MemberUserParam

// This is an alias to an internal type.
type UserUser = shared.UserUser
type Permission = shared.Permission

// This is an alias to an internal type.
type UserParam = shared.UserParam
type PermissionGrant = shared.PermissionGrant

// This is an alias to an internal type.
type UserRoleParam = shared.UserRoleParam
type PermissionGrantParam = shared.PermissionGrantParam

// This is an alias to an internal type.
type UserRolesPermissionsParam = shared.UserRolesPermissionsParam
type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type UserUserParam = shared.UserUserParam
type Role = shared.Role
12 changes: 6 additions & 6 deletions accounts/member.go
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func (r *MemberService) New(ctx context.Context, params MemberNewParams, opts ..
}

// Modify an account member.
func (r *MemberService) Update(ctx context.Context, memberID string, params MemberUpdateParams, opts ...option.RequestOption) (res *shared.User, err error) {
func (r *MemberService) Update(ctx context.Context, memberID string, params MemberUpdateParams, opts ...option.RequestOption) (res *shared.Member, err error) {
opts = append(r.Options[:], opts...)
var env MemberUpdateResponseEnvelope
path := fmt.Sprintf("accounts/%v/members/%s", params.AccountID, memberID)
Expand Down Expand Up @@ -97,7 +97,7 @@ func (r *MemberService) Delete(ctx context.Context, memberID string, params Memb
}

// Get information about a specific member of an account.
func (r *MemberService) Get(ctx context.Context, memberID string, query MemberGetParams, opts ...option.RequestOption) (res *shared.User, err error) {
func (r *MemberService) Get(ctx context.Context, memberID string, query MemberGetParams, opts ...option.RequestOption) (res *shared.Member, err error) {
opts = append(r.Options[:], opts...)
var env MemberGetResponseEnvelope
path := fmt.Sprintf("accounts/%v/members/%s", query.AccountID, memberID)
Expand Down Expand Up @@ -394,17 +394,17 @@ func (r MemberNewResponseEnvelopeSuccess) IsKnown() bool {

type MemberUpdateParams struct {
AccountID param.Field[interface{}] `path:"account_id,required"`
User shared.UserParam `json:"user,required"`
Member shared.MemberParam `json:"member,required"`
}

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

type MemberUpdateResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.User `json:"result,required"`
Result shared.Member `json:"result,required"`
// Whether the API call was successful
Success MemberUpdateResponseEnvelopeSuccess `json:"success,required"`
JSON memberUpdateResponseEnvelopeJSON `json:"-"`
Expand Down Expand Up @@ -576,7 +576,7 @@ type MemberGetParams struct {
type MemberGetResponseEnvelope struct {
Errors []shared.ResponseInfo `json:"errors,required"`
Messages []shared.ResponseInfo `json:"messages,required"`
Result shared.User `json:"result,required"`
Result shared.Member `json:"result,required"`
// Whether the API call was successful
Success MemberGetResponseEnvelopeSuccess `json:"success,required"`
JSON memberGetResponseEnvelopeJSON `json:"-"`
Expand Down
4 changes: 2 additions & 2 deletions accounts/member_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,8 @@ func TestMemberUpdate(t *testing.T) {
"4536bcfad5faccb111b47003c79917fa",
accounts.MemberUpdateParams{
AccountID: cloudflare.F[any](map[string]interface{}{}),
User: shared.UserParam{
Roles: cloudflare.F([]shared.UserRoleParam{{
Member: shared.MemberParam{
Roles: cloudflare.F([]shared.MemberRoleParam{{
ID: cloudflare.F("3536bcfad5faccb999b47003c79917fb"),
}, {
ID: cloudflare.F("3536bcfad5faccb999b47003c79917fb"),
Expand Down
32 changes: 19 additions & 13 deletions acm/aliases.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,12 @@ import (

type Error = apierror.Error

// This is an alias to an internal type.
type ASN = shared.ASN

// This is an alias to an internal type.
type ASNParam = shared.ASNParam

// This is an alias to an internal type.
type AuditLog = shared.AuditLog

Expand Down Expand Up @@ -70,40 +76,40 @@ const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI
type ErrorData = shared.ErrorData

// This is an alias to an internal type.
type Permission = shared.Permission
type Member = shared.Member

// This is an alias to an internal type.
type PermissionGrant = shared.PermissionGrant
type MemberRole = shared.MemberRole

// This is an alias to an internal type.
type PermissionGrantParam = shared.PermissionGrantParam
type MemberRolesPermissions = shared.MemberRolesPermissions

// This is an alias to an internal type.
type ResponseInfo = shared.ResponseInfo
type MemberUser = shared.MemberUser

// This is an alias to an internal type.
type Role = shared.Role
type MemberParam = shared.MemberParam

// This is an alias to an internal type.
type User = shared.User
type MemberRoleParam = shared.MemberRoleParam

// This is an alias to an internal type.
type UserRole = shared.UserRole
type MemberRolesPermissionsParam = shared.MemberRolesPermissionsParam

// This is an alias to an internal type.
type UserRolesPermissions = shared.UserRolesPermissions
type MemberUserParam = shared.MemberUserParam

// This is an alias to an internal type.
type UserUser = shared.UserUser
type Permission = shared.Permission

// This is an alias to an internal type.
type UserParam = shared.UserParam
type PermissionGrant = shared.PermissionGrant

// This is an alias to an internal type.
type UserRoleParam = shared.UserRoleParam
type PermissionGrantParam = shared.PermissionGrantParam

// This is an alias to an internal type.
type UserRolesPermissionsParam = shared.UserRolesPermissionsParam
type ResponseInfo = shared.ResponseInfo

// This is an alias to an internal type.
type UserUserParam = shared.UserUserParam
type Role = shared.Role
Loading
Loading