diff --git a/handler/account/account.go b/handler/account/account.go index 36c7215..248d699 100644 --- a/handler/account/account.go +++ b/handler/account/account.go @@ -570,6 +570,8 @@ const ( MemberTypeOrganizationProjectsWrite MemberType = "organization:projects:write" MemberTypeOrganizationSustainabilityRead MemberType = "organization:sustainability:read" MemberTypeOrganizationUsersWrite MemberType = "organization:users:write" + MemberTypeProjectAiGatewayKeysRead MemberType = "project:ai_gateway_keys:read" + MemberTypeProjectAiGatewayKeysWrite MemberType = "project:ai_gateway_keys:write" MemberTypeProjectAuditLogsRead MemberType = "project:audit_logs:read" MemberTypeProjectIntegrationsRead MemberType = "project:integrations:read" MemberTypeProjectIntegrationsWrite MemberType = "project:integrations:write" @@ -592,7 +594,7 @@ const ( ) func MemberTypeChoices() []string { - return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} + return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:ai_gateway_keys:read", "project:ai_gateway_keys:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} } type OrderByType string @@ -683,6 +685,8 @@ const ( TeamTypeOrganizationProjectsWrite TeamType = "organization:projects:write" TeamTypeOrganizationSustainabilityRead TeamType = "organization:sustainability:read" TeamTypeOrganizationUsersWrite TeamType = "organization:users:write" + TeamTypeProjectAiGatewayKeysRead TeamType = "project:ai_gateway_keys:read" + TeamTypeProjectAiGatewayKeysWrite TeamType = "project:ai_gateway_keys:write" TeamTypeProjectAuditLogsRead TeamType = "project:audit_logs:read" TeamTypeProjectIntegrationsRead TeamType = "project:integrations:read" TeamTypeProjectIntegrationsWrite TeamType = "project:integrations:write" @@ -705,7 +709,7 @@ const ( ) func TeamTypeChoices() []string { - return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} + return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:ai_gateway_keys:read", "project:ai_gateway_keys:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} } type TechEmailOut struct { diff --git a/handler/accountteam/accountteam.go b/handler/accountteam/accountteam.go index 27adfd2..719cf09 100644 --- a/handler/accountteam/accountteam.go +++ b/handler/accountteam/accountteam.go @@ -254,6 +254,8 @@ const ( TeamTypeOrganizationProjectsWrite TeamType = "organization:projects:write" TeamTypeOrganizationSustainabilityRead TeamType = "organization:sustainability:read" TeamTypeOrganizationUsersWrite TeamType = "organization:users:write" + TeamTypeProjectAiGatewayKeysRead TeamType = "project:ai_gateway_keys:read" + TeamTypeProjectAiGatewayKeysWrite TeamType = "project:ai_gateway_keys:write" TeamTypeProjectAuditLogsRead TeamType = "project:audit_logs:read" TeamTypeProjectIntegrationsRead TeamType = "project:integrations:read" TeamTypeProjectIntegrationsWrite TeamType = "project:integrations:write" @@ -276,7 +278,7 @@ const ( ) func TeamTypeChoices() []string { - return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} + return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:ai_gateway_keys:read", "project:ai_gateway_keys:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} } // accountTeamCreateOut AccountTeamCreateResponse diff --git a/handler/project/project.go b/handler/project/project.go index 25f47d2..a1b23a9 100644 --- a/handler/project/project.go +++ b/handler/project/project.go @@ -601,6 +601,8 @@ const ( MemberTypeOrganizationProjectsWrite MemberType = "organization:projects:write" MemberTypeOrganizationSustainabilityRead MemberType = "organization:sustainability:read" MemberTypeOrganizationUsersWrite MemberType = "organization:users:write" + MemberTypeProjectAiGatewayKeysRead MemberType = "project:ai_gateway_keys:read" + MemberTypeProjectAiGatewayKeysWrite MemberType = "project:ai_gateway_keys:write" MemberTypeProjectAuditLogsRead MemberType = "project:audit_logs:read" MemberTypeProjectIntegrationsRead MemberType = "project:integrations:read" MemberTypeProjectIntegrationsWrite MemberType = "project:integrations:write" @@ -623,7 +625,7 @@ const ( ) func MemberTypeChoices() []string { - return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} + return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:ai_gateway_keys:read", "project:ai_gateway_keys:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} } // MysqlOut Service type information @@ -784,6 +786,8 @@ const ( ProjectMembershipTypeOrganizationProjectsWrite ProjectMembershipType = "organization:projects:write" ProjectMembershipTypeOrganizationSustainabilityRead ProjectMembershipType = "organization:sustainability:read" ProjectMembershipTypeOrganizationUsersWrite ProjectMembershipType = "organization:users:write" + ProjectMembershipTypeProjectAiGatewayKeysRead ProjectMembershipType = "project:ai_gateway_keys:read" + ProjectMembershipTypeProjectAiGatewayKeysWrite ProjectMembershipType = "project:ai_gateway_keys:write" ProjectMembershipTypeProjectAuditLogsRead ProjectMembershipType = "project:audit_logs:read" ProjectMembershipTypeProjectIntegrationsRead ProjectMembershipType = "project:integrations:read" ProjectMembershipTypeProjectIntegrationsWrite ProjectMembershipType = "project:integrations:write" @@ -806,7 +810,7 @@ const ( ) func ProjectMembershipTypeChoices() []string { - return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} + return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:ai_gateway_keys:read", "project:ai_gateway_keys:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} } type ProjectOut struct { diff --git a/handler/user/user.go b/handler/user/user.go index bf2959b..ad174a5 100644 --- a/handler/user/user.go +++ b/handler/user/user.go @@ -614,6 +614,8 @@ const ( ProjectMembershipTypeOrganizationProjectsWrite ProjectMembershipType = "organization:projects:write" ProjectMembershipTypeOrganizationSustainabilityRead ProjectMembershipType = "organization:sustainability:read" ProjectMembershipTypeOrganizationUsersWrite ProjectMembershipType = "organization:users:write" + ProjectMembershipTypeProjectAiGatewayKeysRead ProjectMembershipType = "project:ai_gateway_keys:read" + ProjectMembershipTypeProjectAiGatewayKeysWrite ProjectMembershipType = "project:ai_gateway_keys:write" ProjectMembershipTypeProjectAuditLogsRead ProjectMembershipType = "project:audit_logs:read" ProjectMembershipTypeProjectIntegrationsRead ProjectMembershipType = "project:integrations:read" ProjectMembershipTypeProjectIntegrationsWrite ProjectMembershipType = "project:integrations:write" @@ -636,7 +638,7 @@ const ( ) func ProjectMembershipTypeChoices() []string { - return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} + return []string{"admin", "developer", "operator", "organization:app_users:write", "organization:audit_logs:read", "organization:billing:read", "organization:billing:write", "organization:domains:write", "organization:event_logs:read", "organization:groups:write", "organization:networking:read", "organization:networking:write", "organization:projects:write", "organization:sustainability:read", "organization:users:write", "project:ai_gateway_keys:read", "project:ai_gateway_keys:write", "project:audit_logs:read", "project:integrations:read", "project:integrations:write", "project:networking:read", "project:networking:write", "project:permissions:read", "project:services:read", "project:services:write", "read_only", "role:organization:admin", "role:project:admin", "role:services:maintenance", "role:services:recover", "service:configuration:write", "service:data:write", "service:logs:read", "service:metrics:read", "service:secrets:read", "service:users:write"} } type TokenOut struct {