From 23351cd91dbf333a8445d39f0d59aa719fbe382d Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Tue, 22 Oct 2024 10:38:30 +0300 Subject: [PATCH] chore(update): bump openapi schema (2024-10-22) (#169) 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 53332a2..a05fb85 100644 --- a/handler/account/account.go +++ b/handler/account/account.go @@ -555,6 +555,7 @@ const ( MemberTypeProjectAuditLogsRead MemberType = "project:audit_logs:read" MemberTypeProjectIntegrationsRead MemberType = "project:integrations:read" MemberTypeProjectNetworkingRead MemberType = "project:networking:read" + MemberTypeProjectNetworkingWrite MemberType = "project:networking:write" MemberTypeProjectPermissionsRead MemberType = "project:permissions:read" MemberTypeProjectServicesRead MemberType = "project:services:read" MemberTypeReadOnly MemberType = "read_only" @@ -562,7 +563,7 @@ const ( ) func MemberTypeChoices() []string { - 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"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} } type OrderByType string @@ -644,6 +645,7 @@ const ( TeamTypeReadOnly TeamType = "read_only" TeamTypeProjectIntegrationsRead TeamType = "project:integrations:read" TeamTypeProjectNetworkingRead TeamType = "project:networking:read" + TeamTypeProjectNetworkingWrite TeamType = "project:networking:write" TeamTypeProjectPermissionsRead TeamType = "project:permissions:read" TeamTypeServiceLogsRead TeamType = "service:logs:read" TeamTypeProjectServicesRead TeamType = "project:services:read" @@ -651,7 +653,7 @@ const ( ) func TeamTypeChoices() []string { - 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"} + return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:networking:read", "project:networking:write", "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 5df6984..533e3a8 100644 --- a/handler/accountteam/accountteam.go +++ b/handler/accountteam/accountteam.go @@ -250,6 +250,7 @@ const ( TeamTypeReadOnly TeamType = "read_only" TeamTypeProjectIntegrationsRead TeamType = "project:integrations:read" TeamTypeProjectNetworkingRead TeamType = "project:networking:read" + TeamTypeProjectNetworkingWrite TeamType = "project:networking:write" TeamTypeProjectPermissionsRead TeamType = "project:permissions:read" TeamTypeServiceLogsRead TeamType = "service:logs:read" TeamTypeProjectServicesRead TeamType = "project:services:read" @@ -257,7 +258,7 @@ const ( ) func TeamTypeChoices() []string { - 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"} + return []string{"admin", "operator", "developer", "read_only", "project:integrations:read", "project:networking:read", "project:networking:write", "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 ea83971..0f4922f 100644 --- a/handler/project/project.go +++ b/handler/project/project.go @@ -453,6 +453,7 @@ const ( AnyTypeProjectAuditLogsRead AnyType = "project:audit_logs:read" AnyTypeProjectIntegrationsRead AnyType = "project:integrations:read" AnyTypeProjectNetworkingRead AnyType = "project:networking:read" + AnyTypeProjectNetworkingWrite AnyType = "project:networking:write" AnyTypeProjectPermissionsRead AnyType = "project:permissions:read" AnyTypeProjectServicesRead AnyType = "project:services:read" AnyTypeReadOnly AnyType = "read_only" @@ -460,7 +461,7 @@ const ( ) func AnyTypeChoices() []string { - 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"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} } // BackupConfigOut Backup configuration for this service plan @@ -633,6 +634,7 @@ const ( MemberTypeProjectAuditLogsRead MemberType = "project:audit_logs:read" MemberTypeProjectIntegrationsRead MemberType = "project:integrations:read" MemberTypeProjectNetworkingRead MemberType = "project:networking:read" + MemberTypeProjectNetworkingWrite MemberType = "project:networking:write" MemberTypeProjectPermissionsRead MemberType = "project:permissions:read" MemberTypeProjectServicesRead MemberType = "project:services:read" MemberTypeReadOnly MemberType = "read_only" @@ -640,7 +642,7 @@ const ( ) func MemberTypeChoices() []string { - 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"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:networking:read", "project:networking:write", "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 5c2b220..84e0e90 100644 --- a/handler/user/user.go +++ b/handler/user/user.go @@ -521,6 +521,7 @@ const ( AnyTypeProjectAuditLogsRead AnyType = "project:audit_logs:read" AnyTypeProjectIntegrationsRead AnyType = "project:integrations:read" AnyTypeProjectNetworkingRead AnyType = "project:networking:read" + AnyTypeProjectNetworkingWrite AnyType = "project:networking:write" AnyTypeProjectPermissionsRead AnyType = "project:permissions:read" AnyTypeProjectServicesRead AnyType = "project:services:read" AnyTypeReadOnly AnyType = "read_only" @@ -528,7 +529,7 @@ const ( ) func AnyTypeChoices() []string { - 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"} + return []string{"admin", "developer", "operator", "project:audit_logs:read", "project:integrations:read", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "read_only", "service:logs:read"} } type AuthenticationMethodOut struct {