diff --git a/src/openapi/schemas/tweet.yaml b/src/openapi/schemas/tweet.yaml index 266677d..9d8d3f6 100644 --- a/src/openapi/schemas/tweet.yaml +++ b/src/openapi/schemas/tweet.yaml @@ -426,7 +426,7 @@ components: $ref: "#/components/schemas/Community" role: type: string - enum: [Member, Moderator] + enum: [Member, Moderator, Admin] user_results: $ref: "user.yaml#/components/schemas/UserResults" @@ -488,10 +488,10 @@ components: $ref: "#/components/schemas/CommunityJoinRequestsResult" join_policy: type: string - enum: [Open] + enum: [Open, RestrictedJoinRequestsRequireModeratorApproval] invites_policy: type: string - enum: [MemberInvitesAllowed] + enum: [MemberInvitesAllowed, ModeratorInvitesAllowed] is_pinned: type: boolean members_facepile_results: @@ -649,11 +649,7 @@ components: BirdwatchPivot: required: - "destinationUrl" - - "footer" - - "note" - - "subtitle" - "title" - - "shorttitle" - "iconType" properties: destinationUrl: @@ -671,7 +667,7 @@ components: type: string visualStyle: type: string - enum: [Default] + enum: [Default, Tentative] iconType: type: string enum: [BirdwatchV1Icon] @@ -968,6 +964,7 @@ components: - "stale_tweet" - "community_tweet_non_member_public_community" - "community_tweet_non_member_closed_community" + - "blocked_viewer" place: additionalProperties: true # todo diff --git a/src/openapi/schemas/typename.yaml b/src/openapi/schemas/typename.yaml index 1b34fc3..0384bdc 100644 --- a/src/openapi/schemas/typename.yaml +++ b/src/openapi/schemas/typename.yaml @@ -27,6 +27,7 @@ components: Community, CommunityDeleteActionUnavailable, CommunityJoinAction, + CommunityJoinActionUnavailable, CommunityLeaveActionUnavailable, CommunityTweetPinActionUnavailable, CommunityTweetUnpinActionUnavailable, diff --git a/src/openapi/schemas/user.yaml b/src/openapi/schemas/user.yaml index f249210..5358734 100644 --- a/src/openapi/schemas/user.yaml +++ b/src/openapi/schemas/user.yaml @@ -146,7 +146,6 @@ components: required: - "description" - "verified_since_msec" - - "override_verified_year" properties: description: $ref: "#/components/schemas/UserVerificationInfoReasonDescription"