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",