From 0dd7bcf73b48bea098956cb2ee647318f5d74ce9 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Fri, 18 Oct 2024 14:06:04 +0300 Subject: [PATCH] chore(update): bump openapi schema (2024-10-18) (#167) 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 e3cedcd..53332a2 100644 --- a/handler/account/account.go +++ b/handler/account/account.go @@ -554,6 +554,7 @@ const ( MemberTypeOperator MemberType = "operator" MemberTypeProjectAuditLogsRead MemberType = "project:audit_logs:read" MemberTypeProjectIntegrationsRead MemberType = "project:integrations:read" + MemberTypeProjectNetworkingRead MemberType = "project:networking:read" MemberTypeProjectPermissionsRead MemberType = "project:permissions:read" MemberTypeProjectServicesRead MemberType = "project:services:read" MemberTypeReadOnly MemberType = "read_only" @@ -561,7 +562,7 @@ const ( ) func MemberTypeChoices() []string { - return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:networking:read", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} } type OrderByType string @@ -642,6 +643,7 @@ const ( TeamTypeDeveloper TeamType = "developer" TeamTypeReadOnly TeamType = "read_only" TeamTypeProjectIntegrationsRead TeamType = "project:integrations:read" + TeamTypeProjectNetworkingRead TeamType = "project:networking:read" TeamTypeProjectPermissionsRead TeamType = "project:permissions:read" TeamTypeServiceLogsRead TeamType = "service:logs:read" TeamTypeProjectServicesRead TeamType = "project:services:read" @@ -649,7 +651,7 @@ const ( ) func TeamTypeChoices() []string { - return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:permissions:read", "service:logs:read", "project:services:read", "project:audit_logs:read"} + return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:networking:read", "project:permissions:read", "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 813f022..5df6984 100644 --- a/handler/accountteam/accountteam.go +++ b/handler/accountteam/accountteam.go @@ -249,6 +249,7 @@ const ( TeamTypeDeveloper TeamType = "developer" TeamTypeReadOnly TeamType = "read_only" TeamTypeProjectIntegrationsRead TeamType = "project:integrations:read" + TeamTypeProjectNetworkingRead TeamType = "project:networking:read" TeamTypeProjectPermissionsRead TeamType = "project:permissions:read" TeamTypeServiceLogsRead TeamType = "service:logs:read" TeamTypeProjectServicesRead TeamType = "project:services:read" @@ -256,7 +257,7 @@ const ( ) func TeamTypeChoices() []string { - return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:permissions:read", "service:logs:read", "project:services:read", "project:audit_logs:read"} + return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:networking:read", "project:permissions:read", "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 70fdf57..ea83971 100644 --- a/handler/project/project.go +++ b/handler/project/project.go @@ -452,6 +452,7 @@ const ( AnyTypeOperator AnyType = "operator" AnyTypeProjectAuditLogsRead AnyType = "project:audit_logs:read" AnyTypeProjectIntegrationsRead AnyType = "project:integrations:read" + AnyTypeProjectNetworkingRead AnyType = "project:networking:read" AnyTypeProjectPermissionsRead AnyType = "project:permissions:read" AnyTypeProjectServicesRead AnyType = "project:services:read" AnyTypeReadOnly AnyType = "read_only" @@ -459,7 +460,7 @@ const ( ) func AnyTypeChoices() []string { - return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:networking:read", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} } // BackupConfigOut Backup configuration for this service plan @@ -631,6 +632,7 @@ const ( MemberTypeOperator MemberType = "operator" MemberTypeProjectAuditLogsRead MemberType = "project:audit_logs:read" MemberTypeProjectIntegrationsRead MemberType = "project:integrations:read" + MemberTypeProjectNetworkingRead MemberType = "project:networking:read" MemberTypeProjectPermissionsRead MemberType = "project:permissions:read" MemberTypeProjectServicesRead MemberType = "project:services:read" MemberTypeReadOnly MemberType = "read_only" @@ -638,7 +640,7 @@ const ( ) func MemberTypeChoices() []string { - return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:networking:read", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} } // MysqlOut Service type information diff --git a/handler/user/user.go b/handler/user/user.go index 8d34e9f..5c2b220 100644 --- a/handler/user/user.go +++ b/handler/user/user.go @@ -520,6 +520,7 @@ const ( AnyTypeOperator AnyType = "operator" AnyTypeProjectAuditLogsRead AnyType = "project:audit_logs:read" AnyTypeProjectIntegrationsRead AnyType = "project:integrations:read" + AnyTypeProjectNetworkingRead AnyType = "project:networking:read" AnyTypeProjectPermissionsRead AnyType = "project:permissions:read" AnyTypeProjectServicesRead AnyType = "project:services:read" AnyTypeReadOnly AnyType = "read_only" @@ -527,7 +528,7 @@ const ( ) func AnyTypeChoices() []string { - return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:networking:read", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} } type AuthenticationMethodOut struct {