Admin API / Types
AddLivestreamModeratorPayload
UnionThe result of addLivestreamModerator. LivestreamModeratorIneligibleError: the member's membership is not ACTIVE, or the member has the MODERATOR role or higher. LivestreamModeratorLimitError: the livestream has 5 other moderators. LivestreamNotFoundError: the caller reads no livestream with this ID. LivestreamStateConflictError: the livestream is ENDED or CANCELLED. MemberNotFoundError: the user has no membership in the store. UnauthorizedError: the caller reads the livestream but is not the host or staff of the host's store, is not a joined cohost and is below the ADMIN role; requiredRole is ADMIN. An error member writes nothing.
union AddLivestreamModeratorPayload = AddLivestreamModeratorSuccess | LivestreamModeratorIneligibleError | LivestreamModeratorLimitError | LivestreamNotFoundError | LivestreamStateConflictError | MemberNotFoundError | UnauthorizedErrorMembers
AddLivestreamModeratorSuccessLivestreamModeratorIneligibleErrorLivestreamModeratorLimitErrorLivestreamNotFoundErrorLivestreamStateConflictErrorMemberNotFoundErrorUnauthorizedError