From eb04c76f20e0b160ce520ad793efcc9696e9bbd2 Mon Sep 17 00:00:00 2001 From: "Nelly (automation bot)" <> Date: Wed, 15 Apr 2026 02:47:05 +0000 Subject: [PATCH] Automated spec update (208988) --- specs/openapi.json | 18 +++++++++++++++++- specs/openapi_preview.json | 18 +++++++++++++++++- 2 files changed, 34 insertions(+), 2 deletions(-) diff --git a/specs/openapi.json b/specs/openapi.json index e1f0f75..3dc3dda 100644 --- a/specs/openapi.json +++ b/specs/openapi.json @@ -36955,7 +36955,23 @@ }, "TeamMemberRoles": { "type": "string", - "oneOf": [] + "oneOf": [ + { + "title": "ADMIN", + "description": "Admins have similar access as owners, except they cannot take destructive actions on the team or team-owned apps.", + "const": "admin" + }, + { + "title": "DEVELOPER", + "description": "Developers can access information about team-owned apps, like the client secret or public key. They can also take limited actions on team-owned apps, like configuring interaction endpoints or resetting the bot token. Members with the Developer role cannot manage the team or its members, or take destructive actions on team-owned apps.", + "const": "developer" + }, + { + "title": "READ_ONLY", + "description": "Read-only members can access information about a team and any team-owned apps. Some examples include getting the IDs of applications and exporting payout records. Members can also invite bots associated with team-owned apps that are marked private.", + "const": "read_only" + } + ] }, "TeamMembershipStates": { "type": "integer", diff --git a/specs/openapi_preview.json b/specs/openapi_preview.json index 90e60c1..f85c684 100644 --- a/specs/openapi_preview.json +++ b/specs/openapi_preview.json @@ -37401,7 +37401,23 @@ }, "TeamMemberRoles": { "type": "string", - "oneOf": [] + "oneOf": [ + { + "title": "ADMIN", + "description": "Admins have similar access as owners, except they cannot take destructive actions on the team or team-owned apps.", + "const": "admin" + }, + { + "title": "DEVELOPER", + "description": "Developers can access information about team-owned apps, like the client secret or public key. They can also take limited actions on team-owned apps, like configuring interaction endpoints or resetting the bot token. Members with the Developer role cannot manage the team or its members, or take destructive actions on team-owned apps.", + "const": "developer" + }, + { + "title": "READ_ONLY", + "description": "Read-only members can access information about a team and any team-owned apps. Some examples include getting the IDs of applications and exporting payout records. Members can also invite bots associated with team-owned apps that are marked private.", + "const": "read_only" + } + ] }, "TeamMembershipStates": { "type": "integer",