From a3362ea4bf69ef6ffae01b62f96ce6b84e4826ef Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Wed, 30 Oct 2024 08:29:41 +0200 Subject: [PATCH] chore(update): bump openapi schema (2024-10-30) (#173) Co-authored-by: GitHub --- handler/account/account.go | 6 ++++-- handler/accountteam/accountteam.go | 3 ++- handler/project/project.go | 6 ++++-- handler/user/user.go | 3 ++- 4 files changed, 12 insertions(+), 6 deletions(-) diff --git a/handler/account/account.go b/handler/account/account.go index deaefb6..d1032a8 100644 --- a/handler/account/account.go +++ b/handler/account/account.go @@ -562,10 +562,11 @@ const ( MemberTypeReadOnly MemberType = "read_only" MemberTypeServiceConfigurationWrite MemberType = "service:configuration:write" MemberTypeServiceLogsRead MemberType = "service:logs:read" + MemberTypeServicesMaintenance MemberType = "services:maintenance" ) func MemberTypeChoices() []string { - return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:configuration:write", "service:logs:read"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:configuration:write", "service:logs:read", "services:maintenance"} } type OrderByType string @@ -651,13 +652,14 @@ const ( TeamTypeProjectNetworkingWrite TeamType = "project:networking:write" TeamTypeProjectPermissionsRead TeamType = "project:permissions:read" TeamTypeServiceConfigurationWrite TeamType = "service:configuration:write" + TeamTypeServicesMaintenance TeamType = "services:maintenance" TeamTypeServiceLogsRead TeamType = "service:logs:read" TeamTypeProjectServicesRead TeamType = "project:services:read" TeamTypeProjectAuditLogsRead TeamType = "project:audit_logs:read" ) func TeamTypeChoices() []string { - return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "service:configuration:write", "service:logs:read", "project:services:read", "project:audit_logs:read"} + return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "service:configuration:write", "services:maintenance", "service:logs:read", "project:services:read", "project:audit_logs:read"} } type TechEmailOut struct { diff --git a/handler/accountteam/accountteam.go b/handler/accountteam/accountteam.go index 1711f6d..2f590d6 100644 --- a/handler/accountteam/accountteam.go +++ b/handler/accountteam/accountteam.go @@ -254,13 +254,14 @@ const ( TeamTypeProjectNetworkingWrite TeamType = "project:networking:write" TeamTypeProjectPermissionsRead TeamType = "project:permissions:read" TeamTypeServiceConfigurationWrite TeamType = "service:configuration:write" + TeamTypeServicesMaintenance TeamType = "services:maintenance" TeamTypeServiceLogsRead TeamType = "service:logs:read" TeamTypeProjectServicesRead TeamType = "project:services:read" TeamTypeProjectAuditLogsRead TeamType = "project:audit_logs:read" ) func TeamTypeChoices() []string { - return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "service:configuration:write", "service:logs:read", "project:services:read", "project:audit_logs:read"} + return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "service:configuration:write", "services:maintenance", "service:logs:read", "project:services:read", "project:audit_logs:read"} } // accountTeamCreateOut AccountTeamCreateResponse diff --git a/handler/project/project.go b/handler/project/project.go index 93f1d32..4edba81 100644 --- a/handler/project/project.go +++ b/handler/project/project.go @@ -460,10 +460,11 @@ const ( AnyTypeReadOnly AnyType = "read_only" AnyTypeServiceConfigurationWrite AnyType = "service:configuration:write" AnyTypeServiceLogsRead AnyType = "service:logs:read" + AnyTypeServicesMaintenance AnyType = "services:maintenance" ) func AnyTypeChoices() []string { - return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:configuration:write", "service:logs:read"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:configuration:write", "service:logs:read", "services:maintenance"} } // BackupConfigOut Backup configuration for this service plan @@ -643,10 +644,11 @@ const ( MemberTypeReadOnly MemberType = "read_only" MemberTypeServiceConfigurationWrite MemberType = "service:configuration:write" MemberTypeServiceLogsRead MemberType = "service:logs:read" + MemberTypeServicesMaintenance MemberType = "services:maintenance" ) func MemberTypeChoices() []string { - return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:configuration:write", "service:logs:read"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:configuration:write", "service:logs:read", "services:maintenance"} } // MysqlOut Service type information diff --git a/handler/user/user.go b/handler/user/user.go index 54ce74d..0f3a91e 100644 --- a/handler/user/user.go +++ b/handler/user/user.go @@ -528,10 +528,11 @@ const ( AnyTypeReadOnly AnyType = "read_only" AnyTypeServiceConfigurationWrite AnyType = "service:configuration:write" AnyTypeServiceLogsRead AnyType = "service:logs:read" + AnyTypeServicesMaintenance AnyType = "services:maintenance" ) func AnyTypeChoices() []string { - return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:configuration:write", "service:logs:read"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:configuration:write", "service:logs:read", "services:maintenance"} } type AuthenticationMethodOut struct {