{"components":{"schemas":{"AccessRole_Mzk3MDYzMzcw":{"description":"Which users/services can join conversations. This replaces legacy access roles and allows a more fine grained configuration of access roles, and in particular a separation of guest and services access.\n\nThis field is optional. If it is not present, the default will be `[team_member, non_team_member, service]`. Please note that an empty list is not allowed when creating a new conversation.","enum":["team_member","non_team_member","guest","service"],"type":"string"},"Access_NjkyMzE5ODc0":{"description":"How users can join conversations","enum":["private","invite","link","code"],"type":"string"},"Action":{"enum":["add_conversation_member","remove_conversation_member","modify_conversation_name","modify_conversation_message_timer","modify_conversation_receipt_mode","modify_conversation_access","modify_other_conversation_member","leave_conversation","delete_conversation","modify_add_permission"],"type":"string"},"AddPermission_LTE1MzgzNzE3":{"enum":["admins","everyone"],"type":"string"},"Base64ByteString":{"example":"ZXhhbXBsZQo=","type":"string"},"CellsState_LTg4MDEwNDA5":{"enum":["disabled","pending","ready"],"type":"string"},"CipherSuiteTag":{"description":"The cipher suite of the corresponding MLS group","maximum":65535,"minimum":0,"type":"integer"},"ClientIdentity_MjAxMjI3NTUw":{"properties":{"client_id":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"domain":{"$ref":"#/components/schemas/Domain"},"user_id":{"$ref":"#/components/schemas/UUID"}},"required":["domain","user_id","client_id"],"type":"object"},"ClientRemovedRequest":{"properties":{"client":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"convs":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["user","client","convs"],"type":"object"},"ConvOrSubChoice_Id_IdTag_Conversation_SubConvId_NjAyMjUzNDMx":{"properties":{"tag":{"$ref":"#/components/schemas/ConvOrSubTag_LTUyMDQ0OTgw"},"value":{"properties":{"conv_id":{"$ref":"#/components/schemas/UUID"},"subconv_id":{"type":"string"}},"required":["conv_id","conv_id","subconv_id"],"type":"object"}},"required":["tag","value"],"type":"object"},"ConvOrSubTag_LTUyMDQ0OTgw":{"enum":["conv","subconv"],"type":"string"},"ConvType_MzM0NTE3ODE5":{"enum":[0,1,2,3],"type":"integer"},"ConversationAccessData_MjMxMTI5ODc3":{"properties":{"access":{"items":{"$ref":"#/components/schemas/Access_NjkyMzE5ODc0"},"type":"array"},"access_role":{"items":{"$ref":"#/components/schemas/AccessRole_Mzk3MDYzMzcw"},"type":"array"}},"required":["access","access_role"],"type":"object"},"ConversationCreated_(Id_IdTag_'Conversation)":{"properties":{"channelAddPermission":{"$ref":"#/components/schemas/AddPermission_LTE1MzgzNzE3"},"cnvAccess":{"items":{"$ref":"#/components/schemas/Access_NjkyMzE5ODc0"},"type":"array"},"cnvAccessRoles":{"items":{"$ref":"#/components/schemas/AccessRole_Mzk3MDYzMzcw"},"type":"array","uniqueItems":true},"cnvId":{"$ref":"#/components/schemas/UUID"},"cnvName":{"type":"string"},"cnvType":{"$ref":"#/components/schemas/ConvType_MzM0NTE3ODE5"},"groupConvType":{"$ref":"#/components/schemas/GroupConvType_LTU4NjU0MTY5"},"history":{"$ref":"#/components/schemas/History"},"messageTimer":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"nonCreatorMembers":{"items":{"$ref":"#/components/schemas/OtherMember_LTgzNzE2MTk4"},"type":"array","uniqueItems":true},"origUserId":{"$ref":"#/components/schemas/UUID"},"protocol":{"$ref":"#/components/schemas/Protocol_LTI0OTUyODIx"},"receiptMode":{"description":"Conversation receipt mode","format":"int32","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"time":{"$ref":"#/components/schemas/UTCTime"}},"required":["time","origUserId","cnvId","cnvType","cnvAccess","cnvAccessRoles","nonCreatorMembers","protocol"],"type":"object"},"ConversationJoin_ODM0ODkwMzY0":{"description":"The action of some users joining a conversation","properties":{"join_type":{"$ref":"#/components/schemas/JoinType_LTY4MDg2MzA5"},"role":{"$ref":"#/components/schemas/RoleName"},"users":{"items":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"minItems":1,"type":"array"}},"required":["users","role"],"type":"object"},"ConversationMemberUpdate_LTkxOTIyNDk4":{"description":"The action of promoting/demoting a member of a conversation","properties":{"target":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"update":{"$ref":"#/components/schemas/OtherMemberUpdate_LTM1MjYzOTU0"}},"required":["target","update"],"type":"object"},"ConversationMessageTimerUpdate_LTcxMjUwNzQ4":{"description":"Contains conversation properties to update","properties":{"message_timer":{"format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"type":"object"},"ConversationMetadata_LTg2ODQ3ODY1":{"properties":{"access":{"items":{"$ref":"#/components/schemas/Access_NjkyMzE5ODc0"},"type":"array"},"access_role":{"items":{"$ref":"#/components/schemas/AccessRole_Mzk3MDYzMzcw"},"type":"array"},"add_permission":{"$ref":"#/components/schemas/AddPermission_LTE1MzgzNzE3"},"cells_state":{"$ref":"#/components/schemas/CellsState_LTg4MDEwNDA5"},"creator":{"$ref":"#/components/schemas/UUID"},"group_conv_type":{"$ref":"#/components/schemas/GroupConvType_LTU4NjU0MTY5"},"history":{"$ref":"#/components/schemas/History"},"last_event":{"type":"string"},"last_event_time":{"type":"string"},"message_timer":{"description":"Per-conversation message timer (can be null)","format":"int64","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"name":{"type":"string"},"parent":{"$ref":"#/components/schemas/UUID"},"receipt_mode":{"description":"Conversation receipt mode","format":"int32","maximum":2147483647,"minimum":-2147483648,"type":"integer"},"team":{"$ref":"#/components/schemas/UUID"},"type":{"$ref":"#/components/schemas/ConvType_MzM0NTE3ODE5"}},"required":["type","access","access_role"],"type":"object"},"ConversationReceiptModeUpdate_NDE4MzUzNTU3":{"description":"Contains conversation receipt mode to update to. Receipt mode tells clients whether certain types of receipts should be sent in the given conversation or not. How this value is interpreted is up to clients.","properties":{"receipt_mode":{"description":"Conversation receipt mode","format":"int32","maximum":2147483647,"minimum":-2147483648,"type":"integer"}},"required":["receipt_mode"],"type":"object"},"ConversationRemoveMembers_LTE0NzE5NDQy":{"description":"The action of removing members from a conversation","properties":{"reason":{"$ref":"#/components/schemas/EdMemberLeftReason_OTAyMDA4NzEw"},"targets":{"items":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"minItems":1,"type":"array"}},"required":["targets","reason"],"type":"object"},"ConversationRename_ODkwODg1MzQ0":{"properties":{"name":{"description":"The new conversation name","type":"string"}},"required":["name"],"type":"object"},"ConversationUpdate":{"properties":{"action":{"$ref":"#/components/schemas/SomeConversationAction"},"alreadyPresentUsers":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"convId":{"$ref":"#/components/schemas/UUID"},"extraConversationData":{"$ref":"#/components/schemas/ExtraConversationData_LTY5MzA1ODUy"},"origUserId":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"time":{"$ref":"#/components/schemas/UTCTime"}},"required":["time","origUserId","convId","alreadyPresentUsers","action"],"type":"object"},"ConversationUpdateRequest":{"properties":{"action":{"$ref":"#/components/schemas/SomeConversationAction"},"convId":{"$ref":"#/components/schemas/UUID"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["user","convId","action"],"type":"object"},"ConversationUpdateResponse":{"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/GalleyError"},"tag":{"enum":["ConversationUpdateResponseError"],"type":"string"}},"required":["tag","contents"],"title":"ConversationUpdateResponseError","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/ConversationUpdate"},"tag":{"enum":["ConversationUpdateResponseUpdate"],"type":"string"}},"required":["tag","contents"],"title":"ConversationUpdateResponseUpdate","type":"object"},{"properties":{"tag":{"enum":["ConversationUpdateResponseNoChanges"],"type":"string"}},"required":["tag"],"title":"ConversationUpdateResponseNoChanges","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/NonFederatingBackends_MTYyNDc4ODgx"},"tag":{"enum":["ConversationUpdateResponseNonFederatingBackends"],"type":"string"}},"required":["tag","contents"],"title":"ConversationUpdateResponseNonFederatingBackends","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/UnreachableBackends_OTA5MTA4MzA3"},"tag":{"enum":["ConversationUpdateResponseUnreachableBackends"],"type":"string"}},"required":["tag","contents"],"title":"ConversationUpdateResponseUnreachableBackends","type":"object"}]},"DeleteSubConversationFedRequest":{"properties":{"dscreqConv":{"$ref":"#/components/schemas/UUID"},"dscreqEpoch":{"format":"int64","maximum":18446744073709551615,"minimum":0,"type":"integer"},"dscreqGroupId":{"$ref":"#/components/schemas/GroupId"},"dscreqSubConv":{"type":"string"},"dscreqUser":{"$ref":"#/components/schemas/UUID"}},"required":["dscreqUser","dscreqConv","dscreqSubConv","dscreqGroupId","dscreqEpoch"],"type":"object"},"DeleteSubConversationResponse":{"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/GalleyError"},"tag":{"enum":["DeleteSubConversationResponseError"],"type":"string"}},"required":["tag","contents"],"title":"DeleteSubConversationResponseError","type":"object"},{"properties":{"tag":{"enum":["DeleteSubConversationResponseSuccess"],"type":"string"}},"required":["tag"],"title":"DeleteSubConversationResponseSuccess","type":"object"}]},"Domain":{"example":"example.com","type":"string"},"EdMemberLeftReason_OTAyMDA4NzEw":{"enum":["left","user-deleted","removed"],"type":"string"},"Either_(MessageNotSent_MessageSendingStatus)_MessageSendingStatus":{"oneOf":[{"properties":{"Left":{"$ref":"#/components/schemas/MessageNotSent_MessageSendingStatus"}},"required":["Left"],"title":"Left","type":"object"},{"properties":{"Right":{"$ref":"#/components/schemas/MessageSendingStatus_ODg0NDgyNDk4"}},"required":["Right"],"title":"Right","type":"object"}]},"Either_RemoveFromConversationError_()":{"oneOf":[{"properties":{"Left":{"$ref":"#/components/schemas/RemoveFromConversationError"}},"required":["Left"],"title":"Left","type":"object"},{"properties":{"Right":{"example":[],"items":{},"maxItems":0,"type":"array"}},"required":["Right"],"title":"Right","type":"object"}]},"EmptyResponse":{"enum":["EmptyResponse"],"type":"string"},"EnableOutOfSyncCheck":{"enum":["EnableOutOfSyncCheck","DisableOutOfSyncCheck"],"type":"string"},"EpochTimestamp":{"example":"2021-05-12T10:52:02Z","format":"yyyy-mm-ddThh:MM:ssZ","type":"string"},"ExtraConversationData_LTY5MzA1ODUy":{"description":"Extra conversation data, used for group conversations","properties":{"group_id":{"$ref":"#/components/schemas/GroupId"}},"type":"object"},"GalleyError":{"oneOf":[{"properties":{"tag":{"enum":["InvalidAction"],"type":"string"}},"required":["tag"],"title":"InvalidAction","type":"object"},{"properties":{"tag":{"enum":["InvalidTargetAccess"],"type":"string"}},"required":["tag"],"title":"InvalidTargetAccess","type":"object"},{"properties":{"tag":{"enum":["TeamNotFound"],"type":"string"}},"required":["tag"],"title":"TeamNotFound","type":"object"},{"properties":{"tag":{"enum":["TeamMemberNotFound"],"type":"string"}},"required":["tag"],"title":"TeamMemberNotFound","type":"object"},{"properties":{"tag":{"enum":["NotATeamMember"],"type":"string"}},"required":["tag"],"title":"NotATeamMember","type":"object"},{"properties":{"tag":{"enum":["NonBindingTeam"],"type":"string"}},"required":["tag"],"title":"NonBindingTeam","type":"object"},{"properties":{"tag":{"enum":["BroadcastLimitExceeded"],"type":"string"}},"required":["tag"],"title":"BroadcastLimitExceeded","type":"object"},{"properties":{"tag":{"enum":["UserBindingExists"],"type":"string"}},"required":["tag"],"title":"UserBindingExists","type":"object"},{"properties":{"tag":{"enum":["NoAddToBinding"],"type":"string"}},"required":["tag"],"title":"NoAddToBinding","type":"object"},{"properties":{"tag":{"enum":["TooManyTeamMembers"],"type":"string"}},"required":["tag"],"title":"TooManyTeamMembers","type":"object"},{"properties":{"tag":{"enum":["TooManyTeamAdmins"],"type":"string"}},"required":["tag"],"title":"TooManyTeamAdmins","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/Perm"},"tag":{"enum":["MissingPermission"],"type":"string"}},"required":["tag","contents"],"title":"MissingPermission","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/Action"},"tag":{"enum":["ActionDenied"],"type":"string"}},"required":["tag","contents"],"title":"ActionDenied","type":"object"},{"properties":{"tag":{"enum":["NotConnected"],"type":"string"}},"required":["tag"],"title":"NotConnected","type":"object"},{"properties":{"tag":{"enum":["InvalidOperation"],"type":"string"}},"required":["tag"],"title":"InvalidOperation","type":"object"},{"properties":{"tag":{"enum":["InvalidTarget"],"type":"string"}},"required":["tag"],"title":"InvalidTarget","type":"object"},{"properties":{"tag":{"enum":["ConvNotFound"],"type":"string"}},"required":["tag"],"title":"ConvNotFound","type":"object"},{"properties":{"tag":{"enum":["ConvAccessDenied"],"type":"string"}},"required":["tag"],"title":"ConvAccessDenied","type":"object"},{"properties":{"tag":{"enum":["ConvInvalidProtocolTransition"],"type":"string"}},"required":["tag"],"title":"ConvInvalidProtocolTransition","type":"object"},{"properties":{"tag":{"enum":["HistoryNotSupported"],"type":"string"}},"required":["tag"],"title":"HistoryNotSupported","type":"object"},{"properties":{"tag":{"enum":["MLSNotEnabled"],"type":"string"}},"required":["tag"],"title":"MLSNotEnabled","type":"object"},{"properties":{"tag":{"enum":["MLSNonEmptyMemberList"],"type":"string"}},"required":["tag"],"title":"MLSNonEmptyMemberList","type":"object"},{"properties":{"tag":{"enum":["MLSDuplicatePublicKey"],"type":"string"}},"required":["tag"],"title":"MLSDuplicatePublicKey","type":"object"},{"properties":{"tag":{"enum":["MLSInvalidLeafNodeIndex"],"type":"string"}},"required":["tag"],"title":"MLSInvalidLeafNodeIndex","type":"object"},{"properties":{"tag":{"enum":["MLSUnsupportedMessage"],"type":"string"}},"required":["tag"],"title":"MLSUnsupportedMessage","type":"object"},{"properties":{"tag":{"enum":["MLSProposalNotFound"],"type":"string"}},"required":["tag"],"title":"MLSProposalNotFound","type":"object"},{"properties":{"tag":{"enum":["MLSUnsupportedProposal"],"type":"string"}},"required":["tag"],"title":"MLSUnsupportedProposal","type":"object"},{"properties":{"tag":{"enum":["MLSProtocolErrorTag"],"type":"string"}},"required":["tag"],"title":"MLSProtocolErrorTag","type":"object"},{"properties":{"tag":{"enum":["MLSClientMismatch"],"type":"string"}},"required":["tag"],"title":"MLSClientMismatch","type":"object"},{"properties":{"tag":{"enum":["MLSStaleMessage"],"type":"string"}},"required":["tag"],"title":"MLSStaleMessage","type":"object"},{"properties":{"tag":{"enum":["MLSCommitMissingReferences"],"type":"string"}},"required":["tag"],"title":"MLSCommitMissingReferences","type":"object"},{"properties":{"tag":{"enum":["MLSSelfRemovalNotAllowed"],"type":"string"}},"required":["tag"],"title":"MLSSelfRemovalNotAllowed","type":"object"},{"properties":{"tag":{"enum":["MLSGroupConversationMismatch"],"type":"string"}},"required":["tag"],"title":"MLSGroupConversationMismatch","type":"object"},{"properties":{"tag":{"enum":["MLSClientSenderUserMismatch"],"type":"string"}},"required":["tag"],"title":"MLSClientSenderUserMismatch","type":"object"},{"properties":{"tag":{"enum":["MLSWelcomeMismatch"],"type":"string"}},"required":["tag"],"title":"MLSWelcomeMismatch","type":"object"},{"properties":{"tag":{"enum":["MLSMissingGroupInfo"],"type":"string"}},"required":["tag"],"title":"MLSMissingGroupInfo","type":"object"},{"properties":{"tag":{"enum":["MLSUnexpectedSenderClient"],"type":"string"}},"required":["tag"],"title":"MLSUnexpectedSenderClient","type":"object"},{"properties":{"tag":{"enum":["MLSSubConvUnsupportedConvType"],"type":"string"}},"required":["tag"],"title":"MLSSubConvUnsupportedConvType","type":"object"},{"properties":{"tag":{"enum":["MLSSubConvClientNotInParent"],"type":"string"}},"required":["tag"],"title":"MLSSubConvClientNotInParent","type":"object"},{"properties":{"tag":{"enum":["MLSMigrationCriteriaNotSatisfied"],"type":"string"}},"required":["tag"],"title":"MLSMigrationCriteriaNotSatisfied","type":"object"},{"properties":{"tag":{"enum":["MLSFederatedOne2OneNotSupported"],"type":"string"}},"required":["tag"],"title":"MLSFederatedOne2OneNotSupported","type":"object"},{"properties":{"tag":{"enum":["MLSFederatedResetNotSupported"],"type":"string"}},"required":["tag"],"title":"MLSFederatedResetNotSupported","type":"object"},{"properties":{"tag":{"enum":["GroupIdVersionNotSupported"],"type":"string"}},"required":["tag"],"title":"GroupIdVersionNotSupported","type":"object"},{"properties":{"tag":{"enum":["MLSLegalholdIncompatible"],"type":"string"}},"required":["tag"],"title":"MLSLegalholdIncompatible","type":"object"},{"properties":{"tag":{"enum":["MLSIdentityMismatch"],"type":"string"}},"required":["tag"],"title":"MLSIdentityMismatch","type":"object"},{"properties":{"tag":{"enum":["NoBindingTeamMembers"],"type":"string"}},"required":["tag"],"title":"NoBindingTeamMembers","type":"object"},{"properties":{"tag":{"enum":["NoBindingTeam"],"type":"string"}},"required":["tag"],"title":"NoBindingTeam","type":"object"},{"properties":{"tag":{"enum":["NotAOneMemberTeam"],"type":"string"}},"required":["tag"],"title":"NotAOneMemberTeam","type":"object"},{"properties":{"tag":{"enum":["TooManyMembers"],"type":"string"}},"required":["tag"],"title":"TooManyMembers","type":"object"},{"properties":{"tag":{"enum":["ConvMemberNotFound"],"type":"string"}},"required":["tag"],"title":"ConvMemberNotFound","type":"object"},{"properties":{"tag":{"enum":["GuestLinksDisabled"],"type":"string"}},"required":["tag"],"title":"GuestLinksDisabled","type":"object"},{"properties":{"tag":{"enum":["CodeNotFound"],"type":"string"}},"required":["tag"],"title":"CodeNotFound","type":"object"},{"properties":{"tag":{"enum":["InvalidConversationPassword"],"type":"string"}},"required":["tag"],"title":"InvalidConversationPassword","type":"object"},{"properties":{"tag":{"enum":["CreateConversationCodeConflict"],"type":"string"}},"required":["tag"],"title":"CreateConversationCodeConflict","type":"object"},{"properties":{"tag":{"enum":["InvalidPermissions"],"type":"string"}},"required":["tag"],"title":"InvalidPermissions","type":"object"},{"properties":{"tag":{"enum":["InvalidTeamStatusUpdate"],"type":"string"}},"required":["tag"],"title":"InvalidTeamStatusUpdate","type":"object"},{"properties":{"tag":{"enum":["AccessDenied"],"type":"string"}},"required":["tag"],"title":"AccessDenied","type":"object"},{"properties":{"tag":{"enum":["CustomBackendNotFound"],"type":"string"}},"required":["tag"],"title":"CustomBackendNotFound","type":"object"},{"properties":{"tag":{"enum":["DeleteQueueFull"],"type":"string"}},"required":["tag"],"title":"DeleteQueueFull","type":"object"},{"properties":{"tag":{"enum":["TeamSearchVisibilityNotEnabled"],"type":"string"}},"required":["tag"],"title":"TeamSearchVisibilityNotEnabled","type":"object"},{"properties":{"tag":{"enum":["CannotEnableLegalHoldServiceLargeTeam"],"type":"string"}},"required":["tag"],"title":"CannotEnableLegalHoldServiceLargeTeam","type":"object"},{"properties":{"tag":{"enum":["MissingLegalholdConsent"],"type":"string"}},"required":["tag"],"title":"MissingLegalholdConsent","type":"object"},{"properties":{"tag":{"enum":["MissingLegalholdConsentOldClients"],"type":"string"}},"required":["tag"],"title":"MissingLegalholdConsentOldClients","type":"object"},{"properties":{"tag":{"enum":["NoUserLegalHoldConsent"],"type":"string"}},"required":["tag"],"title":"NoUserLegalHoldConsent","type":"object"},{"properties":{"tag":{"enum":["LegalHoldNotEnabled"],"type":"string"}},"required":["tag"],"title":"LegalHoldNotEnabled","type":"object"},{"properties":{"tag":{"enum":["LegalHoldDisableUnimplemented"],"type":"string"}},"required":["tag"],"title":"LegalHoldDisableUnimplemented","type":"object"},{"properties":{"tag":{"enum":["LegalHoldServiceInvalidKey"],"type":"string"}},"required":["tag"],"title":"LegalHoldServiceInvalidKey","type":"object"},{"properties":{"tag":{"enum":["LegalHoldServiceBadResponse"],"type":"string"}},"required":["tag"],"title":"LegalHoldServiceBadResponse","type":"object"},{"properties":{"tag":{"enum":["UserLegalHoldAlreadyEnabled"],"type":"string"}},"required":["tag"],"title":"UserLegalHoldAlreadyEnabled","type":"object"},{"properties":{"tag":{"enum":["LegalHoldServiceNotRegistered"],"type":"string"}},"required":["tag"],"title":"LegalHoldServiceNotRegistered","type":"object"},{"properties":{"tag":{"enum":["LegalHoldCouldNotBlockConnections"],"type":"string"}},"required":["tag"],"title":"LegalHoldCouldNotBlockConnections","type":"object"},{"properties":{"tag":{"enum":["UserLegalHoldIllegalOperation"],"type":"string"}},"required":["tag"],"title":"UserLegalHoldIllegalOperation","type":"object"},{"properties":{"tag":{"enum":["TooManyTeamMembersOnTeamWithLegalhold"],"type":"string"}},"required":["tag"],"title":"TooManyTeamMembersOnTeamWithLegalhold","type":"object"},{"properties":{"tag":{"enum":["NoLegalHoldDeviceAllocated"],"type":"string"}},"required":["tag"],"title":"NoLegalHoldDeviceAllocated","type":"object"},{"properties":{"tag":{"enum":["UserLegalHoldNotPending"],"type":"string"}},"required":["tag"],"title":"UserLegalHoldNotPending","type":"object"},{"properties":{"tag":{"enum":["BulkGetMemberLimitExceeded"],"type":"string"}},"required":["tag"],"title":"BulkGetMemberLimitExceeded","type":"object"},{"properties":{"tag":{"enum":["InvalidTeamNotificationId"],"type":"string"}},"required":["tag"],"title":"InvalidTeamNotificationId","type":"object"},{"properties":{"tag":{"enum":["ChannelsNotEnabled"],"type":"string"}},"required":["tag"],"title":"ChannelsNotEnabled","type":"object"},{"properties":{"tag":{"enum":["NotAnMlsConversation"],"type":"string"}},"required":["tag"],"title":"NotAnMlsConversation","type":"object"},{"properties":{"tag":{"enum":["MLSReadReceiptsNotAllowed"],"type":"string"}},"required":["tag"],"title":"MLSReadReceiptsNotAllowed","type":"object"},{"properties":{"tag":{"enum":["MLSInvalidLeafNodeSignature"],"type":"string"}},"required":["tag"],"title":"MLSInvalidLeafNodeSignature","type":"object"},{"properties":{"tag":{"enum":["MeetingNotFound"],"type":"string"}},"required":["tag"],"title":"MeetingNotFound","type":"object"},{"properties":{"tag":{"enum":["MLSHistoryClientConflict"],"type":"string"}},"required":["tag"],"title":"MLSHistoryClientConflict","type":"object"},{"properties":{"tag":{"enum":["MLSHistoryClientDuplication"],"type":"string"}},"required":["tag"],"title":"MLSHistoryClientDuplication","type":"object"}]},"GetConversationsRequest":{"properties":{"convIds":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"userId":{"$ref":"#/components/schemas/UUID"}},"required":["userId","convIds"],"type":"object"},"GetConversationsResponse":{"properties":{"convs":{"items":{"$ref":"#/components/schemas/RemoteConversation"},"type":"array"}},"required":["convs"],"type":"object"},"GetGroupInfoRequest":{"properties":{"conv":{"$ref":"#/components/schemas/ConvOrSubChoice_Id_IdTag_Conversation_SubConvId_NjAyMjUzNDMx"},"sender":{"$ref":"#/components/schemas/UUID"}},"required":["conv","sender"],"type":"object"},"GetGroupInfoResponse":{"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/GalleyError"},"tag":{"enum":["GetGroupInfoResponseError"],"type":"string"}},"required":["tag","contents"],"title":"GetGroupInfoResponseError","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/Base64ByteString"},"tag":{"enum":["GetGroupInfoResponseState"],"type":"string"}},"required":["tag","contents"],"title":"GetGroupInfoResponseState","type":"object"}]},"GetOne2OneConversationRequest":{"properties":{"goocReceiverUser":{"$ref":"#/components/schemas/UUID"},"goocSenderUser":{"$ref":"#/components/schemas/UUID"}},"required":["goocSenderUser","goocReceiverUser"],"type":"object"},"GetOne2OneConversationResponse":{"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/RemoteConversation"},"tag":{"enum":["GetOne2OneConversationOk"],"type":"string"}},"required":["tag","contents"],"title":"GetOne2OneConversationOk","type":"object"},{"properties":{"tag":{"enum":["GetOne2OneConversationBackendMismatch"],"type":"string"}},"required":["tag"],"title":"GetOne2OneConversationBackendMismatch","type":"object"},{"properties":{"tag":{"enum":["GetOne2OneConversationNotConnected"],"type":"string"}},"required":["tag"],"title":"GetOne2OneConversationNotConnected","type":"object"}]},"GetSubConversationsRequest":{"properties":{"gsreqConv":{"$ref":"#/components/schemas/UUID"},"gsreqSubConv":{"type":"string"},"gsreqUser":{"$ref":"#/components/schemas/UUID"}},"required":["gsreqUser","gsreqConv","gsreqSubConv"],"type":"object"},"GetSubConversationsResponse":{"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/GalleyError"},"tag":{"enum":["GetSubConversationsResponseError"],"type":"string"}},"required":["tag","contents"],"title":"GetSubConversationsResponseError","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/PublicSubConversation_MjI2NTIxMzU4"},"tag":{"enum":["GetSubConversationsResponseSuccess"],"type":"string"}},"required":["tag","contents"],"title":"GetSubConversationsResponseSuccess","type":"object"}]},"GroupConvType_LTU4NjU0MTY5":{"enum":["group_conversation","channel","meeting"],"type":"string"},"GroupId":{"example":"ZXhhbXBsZQo=","type":"string"},"GroupInfoDiagnostics_LTM4NDYyMDY2":{"properties":{"clients":{"items":{"$ref":"#/components/schemas/Int_GroupMember_LTIzODQ3ODE2"},"type":"array"},"code":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"commit":{"example":"ZXhhbXBsZQo=","type":"string"},"conv_id":{"$ref":"#/components/schemas/UUID"},"domain":{"$ref":"#/components/schemas/Domain"},"group_id":{"$ref":"#/components/schemas/GroupId"},"group_info":{"example":"ZXhhbXBsZQo=","type":"string"},"label":{"type":"string"},"message":{"type":"string"},"subconv_id":{"type":"string"}},"required":["commit","group_info","group_id","clients","conv_id","domain","code","label","message"],"type":"object"},"GroupMember":{"example":"99db9768-04e3-4b5d-9268-831b6a25c4ab","format":"uuid","properties":{"client_id":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"domain":{"$ref":"#/components/schemas/Domain"},"user_id":{"$ref":"#/components/schemas/UUID"}},"required":["domain","user_id","client_id"],"type":"string"},"History":{"properties":{"depth":{"$ref":"#/components/schemas/HistoryDuration"}},"required":["depth"],"type":"object"},"HistoryDuration":{"type":"string"},"HistorySharingConfig_Mjc4MzA1Nzgw":{"properties":{"depth":{"$ref":"#/components/schemas/HistoryDuration"}},"required":["depth"],"type":"object"},"Id_IdTag_Conversation_LTgxMDg4NzAz":{"properties":{"conv_id":{"$ref":"#/components/schemas/UUID"}},"required":["conv_id"],"type":"object"},"Id_IdTag_Conversation_SubConvId_LTgwNDYzNTE5":{"properties":{"conv_id":{"$ref":"#/components/schemas/UUID"},"subconv_id":{"type":"string"}},"required":["conv_id","subconv_id"],"type":"object"},"Int_GroupMember_LTIzODQ3ODE2":{"properties":{"client":{"$ref":"#/components/schemas/GroupMember"},"index":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["index","client"],"type":"object"},"JSONResponse_LTg0NjYyMjYw":{"properties":{"status":{"maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"},"value":{}},"required":["status","value"],"type":"object"},"JoinType_LTY4MDg2MzA5":{"enum":["external_add","internal_add"],"type":"string"},"LeaveConversationRequest":{"properties":{"convId":{"$ref":"#/components/schemas/UUID"},"leaver":{"$ref":"#/components/schemas/UUID"}},"required":["convId","leaver"],"type":"object"},"LeaveConversationResponse":{"properties":{"response":{"$ref":"#/components/schemas/Either_RemoveFromConversationError_()"}},"required":["response"],"type":"object"},"LeaveSubConversationRequest":{"properties":{"lscrClient":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"lscrConv":{"$ref":"#/components/schemas/UUID"},"lscrSubConv":{"type":"string"},"lscrUser":{"$ref":"#/components/schemas/UUID"}},"required":["lscrUser","lscrClient","lscrConv","lscrSubConv"],"type":"object"},"LeaveSubConversationResponse":{"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/GalleyError"},"tag":{"enum":["LeaveSubConversationResponseError"],"type":"string"}},"required":["tag","contents"],"title":"LeaveSubConversationResponseError","type":"object"},{"properties":{"contents":{"type":"string"},"tag":{"enum":["LeaveSubConversationResponseProtocolError"],"type":"string"}},"required":["tag","contents"],"title":"LeaveSubConversationResponseProtocolError","type":"object"},{"properties":{"tag":{"enum":["LeaveSubConversationResponseOk"],"type":"string"}},"required":["tag"],"title":"LeaveSubConversationResponseOk","type":"object"}]},"MLSMessageResponse":{"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/GalleyError"},"tag":{"enum":["MLSMessageResponseError"],"type":"string"}},"required":["tag","contents"],"title":"MLSMessageResponseError","type":"object"},{"properties":{"contents":{"type":"string"},"tag":{"enum":["MLSMessageResponseProtocolError"],"type":"string"}},"required":["tag","contents"],"title":"MLSMessageResponseProtocolError","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/JSONResponse_LTg0NjYyMjYw"},"tag":{"enum":["MLSMessageResponseProposalFailure"],"type":"string"}},"required":["tag","contents"],"title":"MLSMessageResponseProposalFailure","type":"object"},{"properties":{"contents":{"items":{"$ref":"#/components/schemas/Domain"},"type":"array","uniqueItems":true},"tag":{"enum":["MLSMessageResponseUnreachableBackends"],"type":"string"}},"required":["tag","contents"],"title":"MLSMessageResponseUnreachableBackends","type":"object"},{"properties":{"contents":{"items":{"$ref":"#/components/schemas/ConversationUpdate"},"type":"array"},"tag":{"enum":["MLSMessageResponseUpdates"],"type":"string"}},"required":["tag","contents"],"title":"MLSMessageResponseUpdates","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/NonFederatingBackends_MTYyNDc4ODgx"},"tag":{"enum":["MLSMessageResponseNonFederatingBackends"],"type":"string"}},"required":["tag","contents"],"title":"MLSMessageResponseNonFederatingBackends","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/GroupInfoDiagnostics_LTM4NDYyMDY2"},"tag":{"enum":["MLSMessageResponseGroupInfoDiagnostics"],"type":"string"}},"required":["tag","contents"],"title":"MLSMessageResponseGroupInfoDiagnostics","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/MLSOutOfSyncError_LTEyNTExMDEy"},"tag":{"enum":["MLSMessageResponseOutOfSyncError"],"type":"string"}},"required":["tag","contents"],"title":"MLSMessageResponseOutOfSyncError","type":"object"}]},"MLSMessageSendRequest":{"properties":{"convOrSubId":{"$ref":"#/components/schemas/ConvOrSubChoice_Id_IdTag_Conversation_SubConvId_NjAyMjUzNDMx"},"enableOutOfSyncCheck":{"$ref":"#/components/schemas/EnableOutOfSyncCheck"},"rawMessage":{"$ref":"#/components/schemas/Base64ByteString"},"sender":{"$ref":"#/components/schemas/UUID"},"senderClient":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"}},"required":["convOrSubId","sender","senderClient","rawMessage"],"type":"object"},"MLSOutOfSyncError_LTEyNTExMDEy":{"properties":{"missing_users":{"items":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"type":"array"}},"required":["missing_users"],"type":"object"},"MLSWelcomeRequest":{"properties":{"originatingUser":{"$ref":"#/components/schemas/UUID"},"qualifiedConvId":{"$ref":"#/components/schemas/Qualified_Id_IdTag_Conversation_LTQ5NDQwNjc5"},"recipients":{"items":{"items":[{"$ref":"#/components/schemas/UUID"},{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"}],"maxItems":2,"minItems":2,"type":"array"},"type":"array"},"welcomeMessage":{"$ref":"#/components/schemas/Base64ByteString"}},"required":["originatingUser","welcomeMessage","recipients","qualifiedConvId"],"type":"object"},"MLSWelcomeResponse":{"enum":["MLSWelcomeSent","MLSWelcomeMLSNotEnabled"],"type":"string"},"MessageMetadata_LTkwMTY3OTYx":{"properties":{"data":{"type":"string"},"native_priority":{"$ref":"#/components/schemas/Priority_ODA3NDM3MDYy"},"native_push":{"type":"boolean"},"transient":{"type":"boolean"}},"type":"object"},"MessageNotSent_MessageSendingStatus":{"oneOf":[{"properties":{"tag":{"enum":["MessageNotSentConversationNotFound"],"type":"string"}},"required":["tag"],"title":"MessageNotSentConversationNotFound","type":"object"},{"properties":{"tag":{"enum":["MessageNotSentUnknownClient"],"type":"string"}},"required":["tag"],"title":"MessageNotSentUnknownClient","type":"object"},{"properties":{"tag":{"enum":["MessageNotSentLegalholdOldClients"],"type":"string"}},"required":["tag"],"title":"MessageNotSentLegalholdOldClients","type":"object"},{"properties":{"tag":{"enum":["MessageNotSentLegalhold"],"type":"string"}},"required":["tag"],"title":"MessageNotSentLegalhold","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/MessageSendingStatus_ODg0NDgyNDk4"},"tag":{"enum":["MessageNotSentClientMissing"],"type":"string"}},"required":["tag","contents"],"title":"MessageNotSentClientMissing","type":"object"}]},"MessageSendResponse":{"properties":{"response":{"$ref":"#/components/schemas/Either_(MessageNotSent_MessageSendingStatus)_MessageSendingStatus"}},"required":["response"],"type":"object"},"MessageSendingStatus_ODg0NDgyNDk4":{"description":"The Proteus message sending status. It has these fields:\n- `time`: Time of sending message.\n- `missing`: Clients that the message /should/ have been encrypted for, but wasn't.\n- `redundant`: Clients that the message /should not/ have been encrypted for, but was.\n- `deleted`: Clients that were deleted.\n- `failed_to_send`: When message sending fails for some clients but succeeds for others, e.g., because a remote backend is unreachable, this field will contain the list of clients for which the message sending failed. This list should be empty when message sending is not even tried, like when some clients are missing.","properties":{"deleted":{"$ref":"#/components/schemas/QualifiedUserClients"},"failed_to_confirm_clients":{"$ref":"#/components/schemas/QualifiedUserClients"},"failed_to_send":{"$ref":"#/components/schemas/QualifiedUserClients"},"missing":{"$ref":"#/components/schemas/QualifiedUserClients"},"redundant":{"$ref":"#/components/schemas/QualifiedUserClients"},"time":{"$ref":"#/components/schemas/UTCTimeMillis"}},"required":["time","missing","redundant","deleted","failed_to_send","failed_to_confirm_clients"],"type":"object"},"NonFederatingBackends_MTYyNDc4ODgx":{"properties":{"non_federating_backends":{"items":{"$ref":"#/components/schemas/Domain"},"type":"array"}},"required":["non_federating_backends"],"type":"object"},"OtherMemberUpdate_LTM1MjYzOTU0":{"description":"Update user properties of other members relative to a conversation","properties":{"conversation_role":{"$ref":"#/components/schemas/RoleName"}},"type":"object"},"OtherMember_LTgzNzE2MTk4":{"properties":{"conversation_role":{"$ref":"#/components/schemas/RoleName"},"id":{"$ref":"#/components/schemas/UUID"},"qualified_id":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"service":{"$ref":"#/components/schemas/ServiceRef_LTgxMjY3NzAz"},"status":{"deprecated":true,"description":"deprecated","maximum":9223372036854775807,"minimum":-9223372036854775808,"type":"integer"}},"required":["qualified_id"],"type":"object"},"Perm":{"enum":["CreateConversation","DeleteConversation","AddTeamMember","RemoveTeamMember","AddRemoveConvMember","ModifyConvName","GetBilling","SetBilling","SetTeamData","GetMemberPermissions","SetMemberPermissions","GetTeamConversations","DeleteTeam"],"type":"string"},"Priority_ODA3NDM3MDYy":{"enum":["low","high"],"type":"string"},"ProteusMessageSendRequest":{"properties":{"convId":{"$ref":"#/components/schemas/UUID"},"rawMessage":{"$ref":"#/components/schemas/Base64ByteString"},"sender":{"$ref":"#/components/schemas/UUID"}},"required":["convId","sender","rawMessage"],"type":"object"},"ProtocolTag":{"enum":["ProtocolProteusTag","ProtocolMLSTag","ProtocolMixedTag"],"type":"string"},"ProtocolTag_ODg1MTE5NjEw":{"enum":["proteus","mls","mixed"],"type":"string"},"Protocol_LTI0OTUyODIx":{"properties":{"cipher_suite":{"$ref":"#/components/schemas/CipherSuiteTag"},"epoch":{"description":"The epoch number of the corresponding MLS group","format":"int64","maximum":18446744073709551615,"minimum":0,"type":"integer"},"epoch_timestamp":{"$ref":"#/components/schemas/UTCTime"},"group_id":{"$ref":"#/components/schemas/GroupId"},"protocol":{"$ref":"#/components/schemas/ProtocolTag_ODg1MTE5NjEw"}},"required":["group_id","epoch","group_id","epoch"],"type":"object"},"PublicSubConversation_MjI2NTIxMzU4":{"description":"An MLS subconversation","properties":{"cipher_suite":{"$ref":"#/components/schemas/CipherSuiteTag"},"epoch":{"description":"The epoch number of the corresponding MLS group","format":"int64","maximum":18446744073709551615,"minimum":0,"type":"integer"},"epoch_timestamp":{"$ref":"#/components/schemas/UTCTime"},"group_id":{"$ref":"#/components/schemas/GroupId"},"members":{"items":{"$ref":"#/components/schemas/ClientIdentity_MjAxMjI3NTUw"},"type":"array"},"parent_qualified_id":{"$ref":"#/components/schemas/Qualified_Id_IdTag_Conversation_LTQ5NDQwNjc5"},"subconv_id":{"type":"string"}},"required":["parent_qualified_id","subconv_id","group_id","epoch","members"],"type":"object"},"QualifiedUserClients":{"additionalProperties":{"additionalProperties":{"items":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"type":"array"},"type":"object"},"description":"Map of Domain to UserClients","example":{"domain1.example.com":{"1d51e2d6-9c70-605f-efc8-ff85c3dabdc7":["60f85e4b15ad3786","6e323ab31554353b"]}},"type":"object"},"Qualified_Id_IdTag_Conversation_LTQ5NDQwNjc5":{"properties":{"domain":{"$ref":"#/components/schemas/Domain"},"id":{"$ref":"#/components/schemas/UUID"}},"required":["domain","id"],"type":"object"},"Qualified_Id_IdTag_User_LTQ1NTIwNDM1":{"properties":{"domain":{"$ref":"#/components/schemas/Domain"},"id":{"$ref":"#/components/schemas/UUID"}},"required":["domain","id"],"type":"object"},"RemoteConvMembers":{"properties":{"others":{"items":{"$ref":"#/components/schemas/OtherMember_LTgzNzE2MTk4"},"type":"array"},"selfRole":{"$ref":"#/components/schemas/RoleName"}},"required":["selfRole","others"],"type":"object"},"RemoteConversation":{"properties":{"id":{"$ref":"#/components/schemas/UUID"},"members":{"$ref":"#/components/schemas/RemoteConvMembers"},"metadata":{"$ref":"#/components/schemas/ConversationMetadata_LTg2ODQ3ODY1"},"protocol":{"$ref":"#/components/schemas/Versioned_V5_Protocol_Mjg5NjUzNTM4V5"}},"required":["id","metadata","members","protocol"],"type":"object"},"RemoteMLSMessage":{"properties":{"conversation":{"$ref":"#/components/schemas/UUID"},"message":{"$ref":"#/components/schemas/Base64ByteString"},"metadata":{"$ref":"#/components/schemas/MessageMetadata_LTkwMTY3OTYx"},"recipients":{"additionalProperties":{"items":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"minItems":1,"type":"array"},"type":"object"},"sender":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"subConversation":{"type":"string"},"time":{"$ref":"#/components/schemas/UTCTime"}},"required":["time","metadata","sender","conversation","recipients","message"],"type":"object"},"RemoteMessage_(Id_IdTag_'Conversation)":{"properties":{"_data":{"type":"string"},"conversation":{"$ref":"#/components/schemas/UUID"},"priority":{"$ref":"#/components/schemas/Priority_ODA3NDM3MDYy"},"push":{"type":"boolean"},"recipients":{"$ref":"#/components/schemas/UserClientMap"},"sender":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"senderClient":{"description":"A 64-bit unsigned integer, represented as a hexadecimal numeral. Any valid hexadecimal numeral is accepted, but the backend will only produce representations with lowercase digits and no leading zeros","type":"string"},"time":{"$ref":"#/components/schemas/UTCTime"},"transient":{"type":"boolean"}},"required":["time","sender","senderClient","conversation","push","transient","recipients"],"type":"object"},"RemoveFromConversationError":{"enum":["RemoveFromConversationErrorRemovalNotAllowed","RemoveFromConversationErrorNotFound","RemoveFromConversationErrorUnchanged"],"type":"string"},"RoleName":{"description":"Role name, between 2 and 128 chars, 'wire_' prefix is reserved for roles designed by Wire (i.e., no custom roles can have the same prefix)","type":"string"},"ServiceRef_LTgxMjY3NzAz":{"description":"The reference to the owning service, if the member is a 'bot'.","properties":{"id":{"$ref":"#/components/schemas/UUID"},"provider":{"$ref":"#/components/schemas/UUID"}},"required":["id","provider"],"type":"object"},"SomeConversationAction":{"oneOf":[{"properties":{"action":{"$ref":"#/components/schemas/ConversationJoin_ODM0ODkwMzY0"},"tag":{"enum":["ConversationJoinTag"],"type":"string"}},"required":["tag","action"],"type":"object"},{"properties":{"action":{"example":[],"items":{},"maxItems":0,"type":"array"},"tag":{"enum":["ConversationLeaveTag"],"type":"string"}},"required":["tag","action"],"type":"object"},{"properties":{"action":{"$ref":"#/components/schemas/ConversationMemberUpdate_LTkxOTIyNDk4"},"tag":{"enum":["ConversationMemberUpdateTag"],"type":"string"}},"required":["tag","action"],"type":"object"},{"properties":{"action":{"example":[],"items":{},"maxItems":0,"type":"array"},"tag":{"enum":["ConversationDeleteTag"],"type":"string"}},"required":["tag","action"],"type":"object"},{"properties":{"action":{"$ref":"#/components/schemas/ConversationRename_ODkwODg1MzQ0"},"tag":{"enum":["ConversationRenameTag"],"type":"string"}},"required":["tag","action"],"type":"object"},{"properties":{"action":{"$ref":"#/components/schemas/ConversationMessageTimerUpdate_LTcxMjUwNzQ4"},"tag":{"enum":["ConversationMessageTimerUpdateTag"],"type":"string"}},"required":["tag","action"],"type":"object"},{"properties":{"action":{"$ref":"#/components/schemas/ConversationReceiptModeUpdate_NDE4MzUzNTU3"},"tag":{"enum":["ConversationReceiptModeUpdateTag"],"type":"string"}},"required":["tag","action"],"type":"object"},{"properties":{"action":{"$ref":"#/components/schemas/ConversationAccessData_MjMxMTI5ODc3"},"tag":{"enum":["ConversationAccessDataTag"],"type":"string"}},"required":["tag","action"],"type":"object"},{"properties":{"action":{"$ref":"#/components/schemas/ConversationRemoveMembers_LTE0NzE5NDQy"},"tag":{"enum":["ConversationRemoveMembersTag"],"type":"string"}},"required":["tag","action"],"type":"object"},{"properties":{"action":{"$ref":"#/components/schemas/ProtocolTag"},"tag":{"enum":["ConversationUpdateProtocolTag"],"type":"string"}},"required":["tag","action"],"type":"object"}]},"TypingDataUpdateRequest":{"properties":{"convId":{"$ref":"#/components/schemas/UUID"},"typingStatus":{"$ref":"#/components/schemas/TypingStatus_LTg5MzcyNDMy"},"userId":{"$ref":"#/components/schemas/UUID"}},"required":["typingStatus","userId","convId"],"type":"object"},"TypingDataUpdateResponse":{"oneOf":[{"properties":{"contents":{"$ref":"#/components/schemas/TypingDataUpdated"},"tag":{"enum":["TypingDataUpdateSuccess"],"type":"string"}},"required":["tag","contents"],"title":"TypingDataUpdateSuccess","type":"object"},{"properties":{"contents":{"$ref":"#/components/schemas/GalleyError"},"tag":{"enum":["TypingDataUpdateError"],"type":"string"}},"required":["tag","contents"],"title":"TypingDataUpdateError","type":"object"}]},"TypingDataUpdated":{"properties":{"convId":{"$ref":"#/components/schemas/UUID"},"origUserId":{"$ref":"#/components/schemas/Qualified_Id_IdTag_User_LTQ1NTIwNDM1"},"time":{"$ref":"#/components/schemas/UTCTime"},"typingStatus":{"$ref":"#/components/schemas/TypingStatus_LTg5MzcyNDMy"},"usersInConv":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"}},"required":["time","origUserId","convId","usersInConv","typingStatus"],"type":"object"},"TypingStatus_LTg5MzcyNDMy":{"properties":{"status":{"$ref":"#/components/schemas/TypingStatus_LTg5MzcyNDMy"}},"required":["status"],"type":"object"},"UTCTime":{"example":"2016-07-22T00:00:00Z","format":"yyyy-mm-ddThh:MM:ssZ","type":"string"},"UTCTimeMillis":{"example":"2021-05-12T10:52:02.671Z","format":"yyyy-mm-ddThh:MM:ss.qqqZ","type":"string"},"UUID":{"example":"99db9768-04e3-4b5d-9268-831b6a25c4ab","format":"uuid","type":"string"},"UnreachableBackends_OTA5MTA4MzA3":{"properties":{"unreachable_backends":{"items":{"$ref":"#/components/schemas/Domain"},"type":"array"}},"required":["unreachable_backends"],"type":"object"},"UserClientMap":{"additionalProperties":{"additionalProperties":{"type":"string"},"type":"object"},"type":"object"},"UserDeletedConversationsNotification":{"properties":{"conversations":{"items":{"$ref":"#/components/schemas/UUID"},"type":"array"},"user":{"$ref":"#/components/schemas/UUID"}},"required":["user","conversations"],"type":"object"},"Versioned_V5_Protocol_Mjg5NjUzNTM4V5":{"properties":{"cipher_suite":{"$ref":"#/components/schemas/CipherSuiteTag"},"epoch":{"description":"The epoch number of the corresponding MLS group","format":"int64","maximum":18446744073709551615,"minimum":0,"type":"integer"},"epoch_timestamp":{"$ref":"#/components/schemas/EpochTimestamp"},"group_id":{"$ref":"#/components/schemas/GroupId"},"protocol":{"$ref":"#/components/schemas/ProtocolTag_ODg1MTE5NjEw"}},"required":["group_id","epoch","epoch_timestamp","cipher_suite","group_id","epoch","epoch_timestamp","cipher_suite"],"type":"object"}}},"info":{"title":"Wire-Server Federation API (galley)","version":""},"openapi":"3.0.0","paths":{"/delete-sub-conversation":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"delete-sub-conversation\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"delete-sub-conversation","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/DeleteSubConversationFedRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/DeleteSubConversationResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/get-conversations":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-conversations@v1\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"get-conversations@v1","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetConversationsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetConversationsResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/get-one2one-conversation":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-one2one-conversation@v1\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"get-one2one-conversation@v1","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetOne2OneConversationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetOne2OneConversationResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/get-sub-conversation":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"get-sub-conversation\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"get-sub-conversation","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetSubConversationsRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetSubConversationsResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/leave-conversation":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"leave-conversation\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"leave-conversation","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LeaveConversationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LeaveConversationResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/leave-sub-conversation":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"leave-sub-conversation\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"leave-sub-conversation","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LeaveSubConversationRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/LeaveSubConversationResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/mls-welcome":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"mls-welcome\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"mls-welcome","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MLSWelcomeRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MLSWelcomeResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/on-client-removed":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"on-client-removed\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"on-client-removed","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ClientRemovedRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/on-conversation-created":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"on-conversation-created\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"on-conversation-created","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ConversationCreated_(Id_IdTag_'Conversation)"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/on-conversation-updated":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"on-conversation-updated\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"on-conversation-updated","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ConversationUpdate"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/on-message-sent":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"on-message-sent\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"on-message-sent","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/RemoteMessage_(Id_IdTag_'Conversation)"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/on-mls-message-sent":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"on-mls-message-sent\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"on-mls-message-sent","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/RemoteMLSMessage"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/on-typing-indicator-updated":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"on-typing-indicator-updated\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"on-typing-indicator-updated","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TypingDataUpdated"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/on-user-deleted-conversations":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"on-user-deleted-conversations\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"on-user-deleted-conversations","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/UserDeletedConversationsNotification"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/EmptyResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/query-group-info":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"query-group-info\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"query-group-info","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetGroupInfoRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/GetGroupInfoResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/send-message":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"send-message\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"send-message","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ProteusMessageSendRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MessageSendResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/send-mls-commit-bundle":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"send-mls-commit-bundle\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"send-mls-commit-bundle","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MLSMessageSendRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MLSMessageResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/send-mls-message":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"send-mls-message\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"send-mls-message","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MLSMessageSendRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/MLSMessageResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/update-conversation":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"update-conversation\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"update-conversation","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ConversationUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/ConversationUpdateResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}},"/update-typing-indicator":{"post":{"description":" [<a href=\"https://docs.wire.com/developer/developer/servant.html#named-and-internal-route-ids\">internal route ID:</a> \"update-typing-indicator\"]\n\nAll federated endpoints expect origin domain header: `Wire-Origin-Domain`","operationId":"update-typing-indicator","requestBody":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TypingDataUpdateRequest"}}},"required":true},"responses":{"200":{"content":{"application/json;charset=utf-8":{"schema":{"$ref":"#/components/schemas/TypingDataUpdateResponse"}}},"description":""},"400":{"description":"Invalid `body`"}},"tags":["galley"]}}}}