OverviewFilesCommitsIssuesDocsReleasesPeers

keet-cli / deobfuscated / packages / schema / contract / index.js

18 lines · javascript ref:
module.exports=function generateHyperschema(_0x397b27){
  _0x46c78b={
    _0x305cf6:0xf,_0x381c58:0x84},_0x24f2f7={
    _0x5b7d74:0x175,_0x21e597:0x607},_0x167b83=_0x397b27.namespace("keet");
  _0x167b83.register({'name':'public-key','alias':"fixed32"}),_0x167b83.register({'name':"secret-key",'alias':'buffer'}),_0x167b83.register({'name':"room-key",'alias':"fixed32"}),_0x167b83.register({'name':"encryption-key",'alias':'buffer'}),_0x167b83.register({'name':"room-discovery-key",'alias':'fixed32'}),_0x167b83.register({'name':"core-key",'alias':"fixed32"}),_0x167b83.register({'name':"device-key",'alias':'fixed32'}),_0x167b83.register({'name':"invitation-id",'alias':'fixed32'}),_0x167b83.register({'name':"member-key",'alias':"fixed32"}),_0x167b83.register({'name':"swarm-key",'alias':'fixed32'}),_0x167b83.register({'name':"core-seq",'alias':'uint'}),_0x167b83.register({'name':"head",'compact':!![],'fields':[{'name':"key",'type':"@keet/device-key",'required':!![]},{'name':"length",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"oplog-id",'compact':!![],'fields':[{'name':'key','type':"@keet/device-key",'required':!![]},{'name':"seq",'type':"@keet/core-seq",'required':!![]}]}),_0x167b83.register({'name':"encryption-keypair",'compact':!![],'fields':[{'name':"publicKey",'type':"fixed32",'required':!![]},{'name':"secretKey",'type':"fixed32",'required':!![]}]}),_0x167b83.register({'name':"signing-keypair",'compact':!![],'fields':[{'name':'publicKey','type':"fixed32",'required':!![]},{'name':"secretKey",'type':"fixed64",'required':!![]}]}),_0x167b83.register({'name':"room-keys",'fields':[{'name':"key",'type':"@keet/room-key",'required':!![]},{'name':"encryptionKey",'type':"@keet/encryption-key"},{'name':"fastForwardTo",'type':"fixed32"}]});
  const _0x540975={
    'name':"header",'type':"@keet/operation-header",'required':!![]}
  ;
  _0x167b83.register({'name':"operation-header",'fields':[{'name':"timestamp",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"blob-pointer",'compact':!![],'fields':[{'name':"blockOffset",'type':"uint",'required':!![]},{'name':"blockLength",'type':"uint",'required':!![]},{'name':"byteOffset",'type':"uint",'required':!![]},{'name':"byteLength",'type':'uint','required':!![]}]}),_0x167b83.register({'name':"file-dimensions",'fields':[{'name':"width",'type':"uint",'required':!![]},{'name':"height",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"file-metadata",'fields':[{'name':"name",'type':"string"},{'name':"mimetype",'type':"string"},{'name':"dimensions",'type':"@keet/file-dimensions"},{'name':"userdata",'type':"buffer"},{'name':"duration",'type':"uint"},{'name':"isPreview",'type':"bool"}]}),_0x167b83.register({'name':"external-drive-pointer",'fields':[{'name':"key",'type':"@keet/core-key",'required':!![]},{'name':"path",'type':"string",'required':!![]},{'name':"version",'type':"uint",'required':!![]},{'name':"size",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"external-blob-pointer",'fields':[{'name':"key",'type':"@keet/core-key",'required':!![]},{'name':"blob",'type':"@keet/blob-pointer",'required':!![]}]}),_0x167b83.register({'name':"file-pointer",'fields':[{'name':'inlined','type':"buffer"},{'name':'blob','type':"@keet/blob-pointer"},{'name':"externalBlob",'type':"@keet/external-blob-pointer"},{'name':"externalDrive",'type':"@keet/external-drive-pointer"}]}),_0x167b83.register({'name':"file",'fields':[{'name':"pointer",'type':"@keet/file-pointer",'required':!![]},{'name':'metadata','type':"@keet/file-metadata"},{'name':'preview','type':"@keet/image-file"},{'name':'hash','type':'fixed32'}]}),_0x167b83.register({'name':"image-file",'fields':[{'name':"small",'type':"@keet/file"},{'name':"medium",'type':'@keet/file'},{'name':'large','type':"@keet/file"}]}),_0x167b83.register({'name':"file-status",'fields':[{'name':'isDeleted','type':"bool"}]}),_0x167b83.register({'name':"file-record",'fields':[{'name':'id','type':"uint",'required':!![]},{'name':'oplog','type':"@keet/oplog-id",'required':!![]},{'name':"status",'type':"@keet/file-status",'required':!![]},{'name':"file",'type':"@keet/file",'required':!![]},{'name':"version",'type':"uint"}]}),_0x167b83.register({'name':"device-status",'fields':[{'name':"isActive",'type':"bool"},{'name':"isIndexing",'type':"bool"}]}),_0x167b83.register({'name':"member-status",'fields':[{'name':'isAdmin','type':'bool'},{'name':"isModerator",'type':"bool"},{'name':'isPending','type':"bool"},{'name':"isActive",'type':"bool"},{'name':"isMuted",'type':'bool'},{'name':"isBanned",'type':"bool"},{'name':"isShadowBanned",'type':"bool"},{'name':"isRemoved",'type':"bool"}]}),_0x167b83.register({'name':"member-moderation-status",'fields':[{'name':"isMuted",'type':"bool"},{'name':"isBanned",'type':"bool"},{'name':"isShadowBanned",'type':'bool'}]}),_0x167b83.register({'name':'abi','fields':[{'name':"version",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"device-stats",'fields':[{'name':"total",'type':"uint",'required':!![]},{'name':"active",'type':'uint','required':!![]}]}),_0x167b83.register({'name':"member-stats",'fields':[{'name':"total",'type':"uint",'required':!![]},{'name':"active",'type':"uint",'required':!![]},{'name':"pending",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':'chat-stats','fields':[{'name':"clock",'type':"uint",'required':!![]},{'name':'pinned','type':"uint",'required':!![]},{'name':"threads",'type':'uint','required':!![]},{'name':"timestamp",'type':"uint",'required':!![]},{'name':"flagsClock",'type':"uint"}]}),_0x167b83.register({'name':"file-stats",'fields':[{'name':"clock",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':'stats','fields':[{'name':"devices",'type':"@keet/device-stats",'required':!![]},{'name':"members",'type':"@keet/member-stats",'required':!![]},{'name':"chat",'type':"@keet/chat-stats",'required':!![]},{'name':"files",'type':"@keet/file-stats",'required':!![]}]}),_0x167b83.register({'name':"room-type",'enum':["Default","Broadcast","DirectMessage"]}),_0x167b83.register({'name':"system-settings",'fields':[{'name':"roomType",'type':"@keet/room-type"},{'name':"isExperimental",'type':"bool"},{'name':"isJoiningDisabled",'type':'bool'},{'name':"isAppendingDisabled",'type':"bool"},{'name':"isCallingDisabled",'type':"bool"},{'name':"isMembershipEventsDisabled",'type':"bool"}]});
  _0x167b83.register({'name':"system-digest",'fields':[{'name':'abi','type':"@keet/abi",'required':!![]},{'name':"settings",'type':"@keet/system-settings",'required':!![]},{'name':"creationTime",'type':'uint','required':!![]}]}),_0x167b83.register({'name':"room-seed",'fields':[{'name':"seed",'type':'fixed32','required':!![]}]}),_0x167b83.register({'name':"room-capabilities",'fields':[{'name':"mailboxKeyPair",'type':"@keet/encryption-keypair",'required':!![]},{'name':"discoveryKeyPair",'type':"@keet/signing-keypair",'required':!![]},{'name':"wakeupTopic",'type':"@keet/room-discovery-key",'required':!![]},{'name':"swarmTopic",'type':"@keet/room-discovery-key",'required':!![]}]}),_0x167b83.register({'name':"room-supported-language",'strings':!![],'enum':['en','it','ru','es','de']}),_0x167b83.register({'name':"room-config",'fields':[{'name':"title",'type':'string'},{'name':"avatar",'type':"@keet/image-file"},{'name':"description",'type':'string'},{'name':"supportedLanguages",'array':!![],'type':"@keet/room-supported-language"},{'name':'blindPeers','type':"fixed32",'array':!![]}]}),_0x167b83.register({'name':'blind-peer','fields':[{'name':'key','type':"@keet/public-key",'required':!![]}]}),_0x167b83.register({'name':"add-blind-peer-operation",'fields':[_0x540975,{'name':"peer",'type':"@keet/blind-peer",'required':!![]}]}),_0x167b83.register({'name':"remove-blind-peer-operation",'fields':[_0x540975,{'name':'key','type':"@keet/public-key",'required':!![]}]}),_0x167b83.register({'name':"identity-attestation",'compact':!![],'fields':[{'name':"memberKey",'type':"@keet/member-key",'required':!![]},{'name':"proof",'type':"buffer",'required':!![]}]}),_0x167b83.register({'name':"device-invitation",'fields':[{'name':'id','type':"@keet/invitation-id",'required':!![]},{'name':"response",'type':'buffer','required':!![]}]}),_0x167b83.register({'name':"device",'fields':[{'name':"key",'type':"@keet/device-key",'required':!![]},{'name':'memberKey','type':"@keet/member-key",'required':!![]},{'name':"status",'type':"@keet/device-status",'required':!![]},{'name':"profile",'type':"@keet/device-profile",'required':!![]},{'name':"invitation",'type':"@keet/device-invitation"}]}),_0x167b83.register({'name':"member-profile",'fields':[{'name':"timestamp",'type':'uint','required':!![]},{'name':"mailbox",'type':"@keet/public-key"},{'name':"displayName",'type':"string"},{'name':'avatar','type':"@keet/image-file"},{'name':'username','type':'string'}]}),_0x167b83.register({'name':"device-profile",'fields':[{'name':"swarmKey",'type':"@keet/swarm-key"},{'name':"name",'type':"string"},{'name':"isMobile",'type':"bool"}]}),_0x167b83.register({'name':"member-update",'fields':[{'name':"profile",'type':"@keet/member-profile",'required':!![]},{'name':"attestation",'type':"@keet/identity-attestation",'required':!![]}]}),_0x167b83.register({'name':"device-update",'fields':[{'name':"profile",'type':"@keet/device-profile",'required':!![]},{'name':"attestation",'type':"@keet/identity-attestation",'required':!![]}]}),_0x167b83.register({'name':"member-contact-info",'fields':[{'name':"profile",'type':"@keet/member-profile",'required':!![]},{'name':"attestation",'type':"@keet/identity-attestation",'required':!![]}]}),_0x167b83.register({'name':"signed-pairing-data",'fields':[{'name':'id','type':"@keet/invitation-id",'required':!![]},{'name':"data",'type':'buffer','required':!![]},{'name':"signature",'type':"buffer",'required':!![]}]}),_0x167b83.register({'name':"device-request-identity",'fields':[{'name':"devicePublicKey",'type':"@keet/public-key",'required':!![]}]}),_0x167b83.register({'name':"device-response-identity",'fields':[{'name':"privateProfileIdentity",'type':"@keet/identity-attestation",'required':!![]},{'name':"deviceProof",'type':"buffer",'required':!![]}]}),_0x167b83.register({'name':"device-identity",'fields':[{'name':'deviceKey','type':"@keet/device-key",'required':!![]},{'name':"privateProfileIdentity",'type':"@keet/identity-attestation",'required':!![]},{'name':"deviceProof",'type':"buffer",'required':!![]}]}),_0x167b83.register({'name':"device-request-with-invitation",'fields':[{'name':"deviceKey",'type':"@keet/device-key",'required':!![]},{'name':"keyPair",'type':"@keet/signing-keypair",'required':!![]},{'name':"device",'type':"@keet/device-update",'required':!![]},{'name':'member','type':"@keet/member-update",'required':!![]},{'name':"identity",'type':"@keet/device-request-identity"}]}),_0x167b83.register({'name':"device-request-with-invitation-and-proof",'fields':[{'name':'id','type':"@keet/invitation-id",'required':!![]},{'name':'request','type':"@keet/device-request-with-invitation",'required':!![]},{'name':"signature",'type':"buffer",'required':!![]}]}),_0x167b83.register({'name':"device-request-with-member-proof",'fields':[{'name':'device','type':"@keet/device-update",'required':!![]},{'name':"member",'type':"@keet/member-update"}]}),_0x167b83.register({'name':"device-request",'fields':[{'name':"withInvitation",'type':"@keet/device-request-with-invitation-and-proof"},{'name':"withMemberProof",'type':"@keet/device-request-with-member-proof"}]}),_0x167b83.register({'name':"device-response",'fields':[{'name':'signedKeys','type':"@keet/signed-pairing-data",'required':!![]},{'name':"identity",'type':"@keet/device-response-identity"}]}),_0x167b83.register({'name':"invitation-metadata",'fields':[{'name':"expiration",'type':'uint'},{'name':"requiresConfirmation",'type':'bool'},{'name':"canModerate",'type':"bool"},{'name':"canAdmin",'type':'bool'}]}),_0x167b83.register({'name':'invitation','fields':[{'name':'id','type':"@keet/invitation-id",'required':!![]},{'name':"response",'type':"@keet/signed-pairing-data",'required':!![]},{'name':'metadata','type':"@keet/invitation-metadata",'required':!![]},{'name':"anchor",'type':'@keet/head'},{'name':'isActive','type':"bool"}]}),_0x167b83.register({'name':"add-invitation-operation",'fields':[_0x540975,{'name':"invitation",'type':"@keet/invitation",'required':!![]}]}),_0x167b83.register({'name':"remove-invitation-operation",'fields':[_0x540975,{'name':'id','type':'fixed32','required':!![]}]}),_0x167b83.register({'name':"sendable-room-invitation",'fields':[{'name':"mailbox",'type':"fixed32",'required':!![]},{'name':"invitationSeed",'type':"fixed32",'required':!![]},{'name':"anchor",'type':"@keet/head",'required':!![]}]}),_0x167b83.register({'name':"readonly-room-invitation",'fields':[{'name':"roomKey",'type':"fixed32",'required':!![]},{'name':"encryptionKey",'type':'fixed32','required':!![]},{'name':'seed','type':'fixed32','required':!![]},{'name':"fastForwardTo",'type':"fixed32"}]}),_0x167b83.register({'name':"sendable-identity-invitation",'fields':[{'name':"mailbox",'type':"fixed32",'required':!![]},{'name':"invitationSeed",'type':'fixed32','required':!![]},{'name':"anchor",'type':"@keet/head",'required':!![]},{'name':"identityPublicKey",'type':"@keet/member-key",'required':!![]}]}),_0x167b83.register({'name':"sendable-contact-invitation",'fields':[{'name':"mailbox",'type':"fixed32",'required':!![]}]}),_0x167b83.register({'name':"sendable-invitation",'fields':[{'name':"room",'type':"@keet/sendable-room-invitation"},{'name':"identity",'type':"@keet/sendable-identity-invitation"},{'name':"contact",'type':"@keet/sendable-contact-invitation"},{'name':'readonly','type':"@keet/readonly-room-invitation"},{'name':"additionalNodes",'array':!![],'type':"ipv4Address"}]}),_0x167b83.register({'name':"add-device-operation",'fields':[_0x540975,{'name':"blindRequest",'type':'buffer','required':!![]}]}),_0x167b83.register({'name':"update-device-operation",'fields':[_0x540975,{'name':"profile",'type':"@keet/device-profile"}]}),_0x167b83.register({'name':"remove-device-operation",'fields':[_0x540975,{'name':'key','type':"@keet/device-key",'required':!![]}]}),_0x167b83.register({'name':"start-indexing-operation",'fields':[]}),_0x167b83.register({'name':"stop-indexing-operation",'fields':[]}),_0x167b83.register({'name':"join-request",'fields':[{'name':"deviceKey",'type':"@keet/device-key",'required':!![]},{'name':'id','type':"@keet/invitation-id",'required':!![]},{'name':"request",'type':"@keet/device-request-with-invitation",'required':!![]}]}),_0x167b83.register({'name':"accept-join-request-operation",'fields':[_0x540975,{'name':'deviceKey','type':"@keet/device-key",'required':!![]},{'name':"identity",'type':"@keet/device-response-identity"}]}),_0x167b83.register({'name':"reject-join-request-operation",'fields':[_0x540975,{'name':"deviceKey",'type':"@keet/device-key",'required':!![]}]});
  const _0xf27b48=[{'name':'key','type':"@keet/member-key",'required':!![]},{'name':"status",'type':"@keet/member-status",'required':!![]},{'name':"profile",'type':"@keet/member-profile",'required':!![]}];
  _0x167b83.register({'name':"member",'fields':_0xf27b48}),_0x167b83.register({'name':"full-member",'fields':[..._0xf27b48,{'name':"proofs",'type':"@keet/member-proofs"}]}),_0x167b83.register({'name':"member-proofs",'fields':[{'name':"key",'type':"@keet/member-key",'required':!![]},{'name':"profileAttestation",'type':'buffer'},{'name':"latestReceipt",'type':"buffer"}]}),_0x167b83.register({'name':"update-member-operation",'fields':[_0x540975,{'name':"member",'type':"@keet/member-update",'required':!![]}]}),_0x167b83.register({'name':"change-member-status-operation",'fields':[_0x540975,{'name':"memberKey",'type':"@keet/member-key",'required':!![]},{'name':"key",'type':"uint",'required':!![]},{'name':"status",'type':"@keet/member-moderation-status",'required':!![]}]}),_0x167b83.register({'name':"change-member-role-operation",'fields':[_0x540975,{'name':"key",'type':"@keet/member-key",'required':!![]},{'name':"isModerator",'type':"bool"},{'name':"isAdmin",'type':'bool'}]}),_0x167b83.register({'name':"remove-member-operation",'fields':[_0x540975,{'name':"key",'type':"@keet/member-key",'required':!![]}]}),_0x167b83.register({'name':"member-activity",'fields':[{'name':"key",'type':"@keet/member-key",'required':!![]},{'name':"mentions",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"member-joined-event",'fields':[{'name':'memberKey','type':"@keet/member-key"}]}),_0x167b83.register({'name':"member-left-event",'fields':[{'name':"memberKey",'type':"@keet/member-key"}]}),_0x167b83.register({'name':"member-removed-event",'fields':[{'name':"memberKey",'type':"@keet/member-key"}]}),_0x167b83.register({'name':"title-changed-chat-event",'fields':[{'name':"from",'type':"string"},{'name':'to','type':"string"}]}),_0x167b83.register({'name':"location-shared-event",'fields':[{'name':"latitude",'type':"float64",'required':!![]},{'name':"longitude",'type':'float64','required':!![]}]}),_0x167b83.register({'name':"chat-event",'fields':[{'name':"memberJoined",'type':"@keet/member-joined-event"},{'name':"memberLeft",'type':"@keet/member-left-event"},{'name':"titleChanged",'type':"@keet/title-changed-chat-event"},{'name':"callStarted",'type':"bool"},{'name':"callHangup",'type':"bool"},{'name':"callMissed",'type':"bool"},{'name':"roomAvatarChanged",'type':'bool'},{'name':"invitationCreated",'type':"bool"},{'name':"memberRemoved",'type':"@keet/member-removed-event"},{'name':"locationShared",'type':"@keet/location-shared-event"}]}),_0x167b83.register({'name':"sendable-event",'fields':[{'name':"callStarted",'type':"bool"},{'name':'callHangup','type':'bool'},{'name':"callMissed",'type':'bool'},{'name':"locationShared",'type':"@keet/location-shared-event"}]}),_0x167b83.register({'name':"display-range",'fields':[{'name':"start",'type':"uint",'required':!![]},{'name':"length",'type':'uint','required':!![]}]}),_0x167b83.register({'name':"display-content-range",'fields':[{'name':"range",'type':"@keet/display-range",'required':!![]},{'name':'content','type':"string",'required':!![]}]}),_0x167b83.register({'name':"mention-display-item",'fields':[{'name':"range",'type':"@keet/display-range",'required':!![]},{'name':"memberKey",'type':"@keet/member-key",'required':!![]}]}),_0x167b83.register({'name':"translation-display-item",'fields':[{'name':"range",'type':"@keet/display-range",'required':!![]},{'name':'language','type':"@keet/room-supported-language",'required':!![]},{'name':"text",'type':'string','required':!![]}]}),_0x167b83.register({'name':"link-preview",'fields':[{'name':"title",'type':'string'},{'name':"description",'type':"string"},{'name':"file",'type':'@keet/file'},{'name':'files','type':'uint','array':!![]}]}),_0x167b83.register({'name':"display-link-item",'fields':[{'name':"range",'type':"@keet/display-range",'required':!![]},{'name':"url",'type':"string",'required':!![]},{'name':"preview",'type':"@keet/link-preview"}]}),_0x167b83.register({'name':'display','fields':[{'name':'mention','type':"@keet/mention-display-item",'array':!![]},{'name':"httpLink",'type':"@keet/display-link-item",'array':!![]},{'name':'pearLink','type':"@keet/display-link-item",'array':!![]},{'name':"bold",'type':"@keet/display-range",'array':!![]},{'name':"italic",'type':"@keet/display-range",'array':!![]},{'name':"code",'type':"@keet/display-range",'array':!![]},{'name':"emoji",'type':"@keet/display-content-range",'array':!![]},{'name':"codeBlock",'type':"@keet/display-range",'array':!![]},{'name':"strike",'type':"@keet/display-range",'array':!![]},{'name':"translation",'type':"@keet/translation-display-item",'array':!![]}]}),_0x167b83.register({'name':"oplog-message",'fields':[{'name':"text",'type':"string"},{'name':"files",'type':"@keet/file",'array':!![]},{'name':"display",'type':"@keet/display"},{'name':"replyTo",'type':"@keet/oplog-id"},{'name':"parent",'type':"@keet/oplog-id"},{'name':"event",'type':"@keet/sendable-event"},{'name':"forwarded",'type':"bool"}]}),_0x167b83.register({'name':"index-message",'fields':[{'name':"text",'type':'string'},{'name':"files",'type':"uint",'array':!![]},{'name':'display','type':"@keet/display"},{'name':"replyTo",'type':"@keet/oplog-id"},{'name':"parent",'type':"@keet/oplog-id"},{'name':'forwarded','type':"bool"}]}),_0x167b83.register({'name':"full-index-message",'fields':[{'name':"text",'type':'string'},{'name':"files",'type':'@keet/file','array':!![]},{'name':'display','type':"@keet/display"},{'name':"replyTo",'type':"@keet/oplog-id"},{'name':"parent",'type':"@keet/oplog-id"},{'name':"forwarded",'type':"bool"}]}),_0x167b83.register({'name':"message-status",'fields':[{'name':'isEdited','type':'bool'},{'name':'isDeleted','type':"bool"},{'name':"isPinned",'type':"bool"}]}),_0x167b83.register({'name':"message-index-id",'compact':!![],'fields':[{'name':"thread",'type':"uint",'required':!![]},{'name':'index','type':"uint",'required':!![]}]}),_0x167b83.register({'name':"thread",'fields':[{'name':'id','type':"uint",'required':!![]},{'name':"count",'type':"uint",'required':!![]},{'name':"parent",'type':"@keet/oplog-id"},{'name':"stats",'type':"@keet/stats"}]}),_0x167b83.register({'name':"chat-message-record",'fields':[{'name':'id','type':"@keet/message-index-id",'required':!![]},{'name':"oplog",'type':"@keet/oplog-id",'required':!![]},{'name':"clock",'type':'uint','required':!![]},{'name':"timestamp",'type':'uint','required':!![]},{'name':"editedAt",'type':"uint"},{'name':"status",'type':"@keet/message-status",'required':!![]},{'name':"message",'type':"@keet/index-message"},{'name':"event",'type':"@keet/chat-event"}]}),_0x167b83.register({'name':"full-chat-message-record",'fields':[{'name':'id','type':"@keet/message-index-id",'required':!![]},{'name':'oplog','type':"@keet/oplog-id",'required':!![]},{'name':"clock",'type':"uint",'required':!![]},{'name':"timestamp",'type':"uint",'required':!![]},{'name':"editedAt",'type':"uint"},{'name':'status','type':"@keet/message-status",'required':!![]},{'name':"message",'type':"@keet/full-index-message"},{'name':"event",'type':"@keet/chat-event"}]}),_0x167b83.register({'name':"add-chat-message-operation",'fields':[_0x540975,{'name':'message','type':"@keet/oplog-message",'required':!![]}]}),_0x167b83.register({'name':"remove-chat-message-operation",'fields':[_0x540975,{'name':"oplog",'type':"@keet/oplog-id",'required':!![]}]}),_0x167b83.register({'name':"update-chat-message-operation",'fields':[_0x540975,{'name':"oplog",'type':"@keet/oplog-id",'required':!![]},{'name':"message",'type':"@keet/oplog-message",'required':!![]}]}),_0x167b83.register({'name':"pin-chat-message-operation",'fields':[_0x540975,{'name':"oplog",'type':"@keet/oplog-id",'required':!![]},{'name':"isPinned",'type':"bool"}]}),_0x167b83.register({'name':"display-type",'enum':["HttpLink",'PearLink']}),_0x167b83.register({'name':"add-file-preview-operation",'fields':[_0x540975,{'name':"oplog",'type':"@keet/oplog-id",'required':!![]},{'name':"index",'type':"uint",'required':!![]},{'name':'preview','type':"@keet/image-file",'required':!![]},{'name':"displayType",'type':"@keet/display-type"}]}),_0x167b83.register({'name':'reaction','fields':[{'name':'id','type':"@keet/message-index-id",'required':!![]},{'name':"sender",'type':"@keet/member-key",'required':!![]},{'name':'clock','type':'uint','required':!![]},{'name':"reaction",'type':"string",'required':!![]}]}),_0x167b83.register({'name':"reactions-summary",'fields':[{'name':"text",'type':"string",'required':!![]},{'name':"count",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"reactions-digest",'fields':[{'name':'id','type':"@keet/message-index-id",'required':!![]},{'name':"total",'type':'uint','required':!![]},{'name':"reactions",'type':"@keet/reactions-summary",'required':!![],'array':!![]},{'name':'editedAt','type':'uint'}]}),_0x167b83.register({'name':"add-reaction-operation",'fields':[_0x540975,{'name':'oplog','type':"@keet/oplog-id",'required':!![]},{'name':"reaction",'type':"string",'required':!![]}]}),_0x167b83.register({'name':"remove-reaction-operation",'fields':[_0x540975,{'name':"oplog",'type':"@keet/oplog-id",'required':!![]},{'name':"reaction",'type':'string','required':!![]}]}),_0x167b83.register({'name':"update-room-config-operation",'fields':[_0x540975,{'name':"key",'type':"uint",'required':!![]},{'name':"config",'type':"@keet/room-config",'required':!![]}]}),_0x167b83.register({'name':"group-member",'fields':[{'name':"memberKey",'type':"@keet/member-key",'required':!![]},{'name':"displayName",'type':"string",'required':!![]},{'name':"avatar",'type':"@keet/image-file"}]}),_0x167b83.register({'name':"user-registry-info",'fields':[{'name':"key",'type':"@keet/core-key",'required':!![]},{'name':"username",'type':"string"}]}),_0x167b83.register({'name':"room-identity",'fields':[{'name':"publicKey",'type':"@keet/member-key",'required':!![]},{'name':"discoveryCoreKey",'type':"@keet/core-key"},{'name':"userRegistry",'type':"@keet/user-registry-info"}]}),_0x167b83.register({'name':"genesis-operation",'fields':[_0x540975,{'name':"digest",'type':"@keet/system-digest",'required':!![]},{'name':"capabilities",'type':"@keet/room-seed",'required':!![]},{'name':"config",'type':"@keet/room-config"},{'name':"identity",'type':"@keet/room-identity"},{'name':"bootstrapDevice",'type':"@keet/device-update"},{'name':"initialMembers",'type':"@keet/member-update",'array':!![]}]}),_0x167b83.register({'name':"upgrade-operation",'fields':[_0x540975,{'name':'version','type':"uint",'required':!![]}]}),_0x167b83.register({'name':"migrate-abi-operation",'fields':[_0x540975,{'name':"from",'type':'uint','required':!![]},{'name':'to','type':'uint','required':!![]}]}),_0x167b83.register({'name':"system-settings-keys",'enum':['RoomType',"IsExperimental","IsJoiningDisabled","IsAppendingDisabled","IsCallingDisabled","IsMembershipEventsDisabled"]}),_0x167b83.register({'name':"update-system-settings-operation",'fields':[_0x540975,{'name':'key','type':"uint",'required':!![]},{'name':"settings",'type':"@keet/system-settings",'required':!![]}]}),_0x167b83.register({'name':"test-increment-operation",'fields':[_0x540975,{'name':"value",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"test-collection-record-1",'fields':[{'name':'key','type':"uint",'required':!![]},{'name':"value",'type':'uint','required':!![]}]}),_0x167b83.register({'name':"label-type",'enum':.Flag}),_0x167b83.register({'name':"chat-label",'fields':[{'name':'id','type':"@keet/message-index-id",'required':!![]},{'name':'sender','type':"@keet/member-key",'required':!![]},{'name':"clock",'type':"uint",'required':!![]},{'name':'label','type':"@keet/label-type",'required':!![]}]}),_0x167b83.register({'name':"add-chat-label-operation",'fields':[_0x540975,{'name':"oplog",'type':"@keet/oplog-id",'required':!![]},{'name':"label",'type':"@keet/label-type",'required':!![]}]}),_0x167b83.register({'name':"remove-chat-label-operation",'fields':[_0x540975,{'name':'oplog','type':"@keet/oplog-id",'required':!![]},{'name':"label",'type':"@keet/label-type",'required':!![]}]}),_0x167b83.register({'name':"chat-label-summary",'fields':[{'name':'label','type':"@keet/label-type",'required':!![]},{'name':"count",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"chat-label-digest",'fields':[{'name':'id','type':"@keet/message-index-id",'required':!![]},{'name':"total",'type':"uint",'required':!![]},{'name':"labels",'type':"@keet/chat-label-summary",'required':!![],'array':!![]},{'name':"editedAt",'type':"uint",'required':!![]},{'name':"flagsClock",'type':'uint'},{'name':"version",'type':'uint'},{'name':'isDeleted','type':"bool"}]}),_0x167b83.register({'name':"member-label-type",'enum':.Flag}),_0x167b83.register({'name':"member-label",'fields':[{'name':'key','type':"@keet/member-key",'required':!![]},{'name':'sender','type':"@keet/member-key",'required':!![]},{'name':'clock','type':'uint','required':!![]},{'name':'label','type':"@keet/member-label-type",'required':!![]}]}),_0x167b83.register({'name':"add-member-label-operation",'fields':[_0x540975,{'name':"key",'type':"@keet/member-key",'required':!![]},{'name':"label",'type':"@keet/member-label-type",'required':!![]}]}),_0x167b83.register({'name':"member-label-summary",'fields':[{'name':"label",'type':"@keet/member-label-type",'required':!![]},{'name':"count",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"member-label-digest",'fields':[{'name':"key",'type':"@keet/member-key",'required':!![]},{'name':'total','type':"uint",'required':!![]},{'name':'labels','type':"@keet/member-label-summary",'required':!![],'array':!![]},{'name':"editedAt",'type':"uint",'required':!![]},{'name':"flagsClock",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"update-read-length-operation",'fields':[_0x540975,{'name':"length",'type':"uint",'required':!![]}]}),_0x167b83.register({'name':"read-length",'fields':[{'name':'memberKey','type':"@keet/member-key",'required':!![]},{'name':"length",'type':'uint','required':!![]}]}),_0x167b83.register({'name':"move-indexer-operation",'fields':[_0x540975,{'name':"deviceKey",'type':"@keet/device-key",'required':!![]},{'name':"fromDeviceKey",'type':"@keet/device-key",'required':!![]}]}),_0x167b83.register({'name':"tmp-removed-member",'fields':[{'name':'key','type':"@keet/member-key",'required':!![]}]});
  const _0x330a07=_0x397b27.namespace("keet-private-id");
  _0x330a07.register({'name':"contact",'fields':[{'name':"memberKey",'type':"@keet/member-key",'required':!![]},{'name':"status",'type':"@keet-private-id/contact-status",'required':!![]},{'name':"mailbox",'type':"@keet/public-key"},{'name':'roomKey','type':"@keet/room-key"}]}),_0x330a07.register({'name':"v3-room-migration-info",'fields':[{'name':"roomKey",'type':"@keet/room-key",'required':!![]},{'name':"encryptionKey",'type':"@keet/encryption-key",'required':!![]},{'name':"seed",'type':"fixed32",'required':!![]},{'name':"initiator",'type':"@keet/head",'required':!![]},{'name':"fastForwardTo",'type':'fixed32','required':!![]}]}),_0x330a07.register({'name':"run-v3-migration-operation",'fields':[{'name':"sharedRooms",'type':"@keet-private-id/v3-room-migration-info",'array':!![],'required':!![]},{'name':"blockedContacts",'type':"@keet/member-key",'array':!![],'required':!![]}]});
  _0x330a07.register({'name':"update-identity-operation",'fields':[{'name':'identity','type':"@keet/room-identity",'required':!![]}]}),_0x330a07.register({'name':"counters",'fields':[{'name':"rooms",'type':"uint",'required':!![]},{'name':"contacts",'type':'uint','required':!![]}]}),_0x330a07.register({'name':"stats",'fields':[{'name':'rooms','type':"uint",'required':!![]},{'name':"contactRequests",'type':"uint",'required':!![]}]}),_0x330a07.register({'name':"add-entropy-operation",'fields':[{'name':"entropy",'type':"buffer",'required':!![]}]}),_0x330a07.register({'name':"pending-invitation-identity",'fields':[{'name':"publicKey",'type':"@keet/member-key",'required':!![]},{'name':"devicePublicKey",'type':"@keet/public-key",'required':!![]},{'name':'writerKey','type':"@keet/device-key",'required':!![]}]}),_0x330a07.register({'name':"pending-invitation",'fields':[{'name':'id','type':"fixed32",'required':!![]},{'name':"invitationSeed",'type':"fixed32",'required':!![]},{'name':'mailbox','type':"fixed32",'required':!![]},{'name':"responseKeyPair",'type':"@keet/signing-keypair",'required':!![]},{'name':"initiator",'type':"@keet/head",'required':!![]},{'name':"inviter",'type':'@keet/head','required':!![]},{'name':"identity",'type':"@keet-private-id/pending-invitation-identity"}]}),_0x330a07.register({'name':"resolve-pending-invitation-operation",'fields':[_0x540975,{'name':"blindResponse",'type':"buffer",'required':!![]}]}),_0x330a07.register({'name':"add-pending-invitation-operation",'fields':[_0x540975,{'name':'invitation','type':"@keet-private-id/pending-invitation",'required':!![]}]}),_0x330a07.register({'name':"remove-pending-invitation-operation",'fields':[_0x540975,{'name':'id','type':"fixed32",'required':!![]}]}),_0x330a07.register({'name':"identity-swap",'fields':[{'name':"publicKey",'type':"@keet/member-key",'required':!![]},{'name':"devicePublicKey",'type':"@keet/public-key",'required':!![]},{'name':"privateProfileKey",'type':"@keet/room-key"},{'name':"deviceKeyPair",'type':"@keet/signing-keypair"},{'name':"deviceProof",'type':'buffer','required':!![]}]}),_0x330a07.register({'name':"identity-swap-v2",'fields':[{'name':"publicKey",'type':"@keet/member-key",'required':!![]},{'name':"writerKey",'type':"@keet/core-key",'required':!![]},{'name':"devicePublicKey",'type':"@keet/public-key",'required':!![]},{'name':"privateProfileKey",'type':"@keet/room-key"}]}),_0x330a07.register({'name':"room-status",'fields':[{'name':'isActive','type':"bool"},{'name':"isFullyMuted",'type':"bool"},{'name':"isMentionsOnlyMuted",'type':"bool"},{'name':"isReadOnly",'type':"bool"},{'name':"isFavorite",'type':'bool'}]}),_0x330a07.register({'name':"room",'fields':[{'name':"roomKey",'type':"@keet/room-key",'required':!![]},{'name':"encryptionKey",'type':"@keet/encryption-key",'required':!![]},{'name':"mailbox",'type':"@keet/public-key",'required':!![]},{'name':"status",'type':"@keet-private-id/room-status",'required':!![]},{'name':'clock','type':"uint",'required':!![]},{'name':"initiator",'type':"@keet/head"},{'name':"fastForwardTo",'type':"fixed32"},{'name':"identitySwap",'type':"@keet-private-id/identity-swap"},{'name':"identitySwapV2",'type':"@keet-private-id/pending-invitation-identity"},{'name':"contact",'type':"@keet/member-key"}]}),_0x330a07.register({'name':"add-room-operation",'fields':[_0x540975,{'name':"roomKey",'type':"@keet/room-key",'required':!![]},{'name':"encryptionKey",'type':"@keet/encryption-key",'required':!![]},{'name':"mailbox",'type':"@keet/public-key",'required':!![]},{'name':"fastForwardTo",'type':"fixed32"},{'name':"initiator",'type':"@keet/head"},{'name':'dm','type':"@keet/member-key"},{'name':"isReadOnly",'type':"bool"}]}),_0x330a07.register({'name':"remove-room-operation",'fields':[_0x540975,{'name':"discoveryKey",'type':"@keet/room-discovery-key",'required':!![]}]}),_0x330a07.register({'name':"update-room-status-operation",'fields':[_0x540975,{'name':"roomKey",'type':"@keet/room-key",'required':!![]},{'name':'key','type':"uint",'required':!![]},{'name':"status",'type':"@keet-private-id/room-status",'required':!![]}]}),_0x330a07.register({'name':"contact-status",'fields':[{'name':"isBlocked",'type':"bool"}]}),_0x330a07.register({'name':"contact-record",'fields':[{'name':"memberKey",'type':"@keet/member-key",'required':!![]},{'name':"clock",'type':'uint','required':!![]},{'name':'status','type':"@keet-private-id/contact-status",'required':!![]},{'name':"mailbox",'type':"@keet/public-key"},{'name':"roomKey",'type':"@keet/room-key"}]}),_0x330a07.register({'name':"add-contact-operation",'fields':[_0x540975,{'name':"contact",'type':"@keet-private-id/contact",'required':!![]}]}),_0x330a07.register({'name':"update-contact-status-operation",'fields':[_0x540975,{'name':"memberKey",'type':"@keet/member-key",'required':!![]},{'name':'key','type':"uint",'required':!![]},{'name':"status",'type':"@keet-private-id/contact-status",'required':!![]}]}),_0x330a07.register({'name':"remove-contact-operation",'fields':[_0x540975,{'name':"memberKey",'type':"@keet/member-key",'required':!![]}]}),_0x330a07.register({'name':"activate-contact-room-operation",'fields':[_0x540975,{'name':'memberKey','type':"@keet/member-key",'required':!![]}]}),_0x330a07.register({'name':"contact-request-status",'fields':[{'name':'isPending','type':"bool"},{'name':"isAccepted",'type':'bool'},{'name':"isRejected",'type':"bool"},{'name':"isDiscarded",'type':"bool"},{'name':"isSeen",'type':"bool"}]}),_0x330a07.register({'name':"contact-request-body",'fields':[{'name':"sender",'type':"@keet/member-update",'required':!![]},{'name':"keys",'type':"@keet/room-keys",'required':!![]},{'name':"mailbox",'type':"@keet/public-key",'required':!![]},{'name':"message",'type':"string"}]}),_0x330a07.register({'name':"contact-request",'fields':[{'name':"body",'type':"@keet-private-id/contact-request-body",'required':!![]},{'name':"attestation",'type':"@keet/identity-attestation",'required':!![]}]}),_0x330a07.register({'name':"contact-request-record",'fields':[{'name':'memberKey','type':"@keet/member-key",'required':!![]},{'name':"clock",'type':'uint','required':!![]},{'name':"sender",'type':"@keet/member-profile",'required':!![]},{'name':"status",'type':"@keet-private-id/contact-request-status",'required':!![]},{'name':"keys",'type':"@keet/room-keys",'required':!![]},{'name':"mailbox",'type':"@keet/public-key",'required':!![]},{'name':"message",'type':"string"},{'name':"sentAt",'type':"uint"}]}),_0x330a07.register({'name':"add-contact-request-operation",'fields':[_0x540975,{'name':"blindRequest",'type':"buffer",'required':!![]}]}),_0x330a07.register({'name':"update-contact-request-status-operation",'fields':[_0x540975,{'name':"memberKey",'type':"@keet/member-key",'required':!![]},{'name':"key",'type':"uint",'required':!![]},{'name':'status','type':"@keet-private-id/contact-request-status",'required':!![]},{'name':'roomKey','type':"@keet/room-key"}]}),_0x330a07.register({'name':"profile-discovery-record-v1",'fields':[{'name':"timestamp",'type':"uint",'required':!![]},{'name':"key",'type':"@keet/core-key",'required':!![]},{'name':"mailbox",'type':"@keet/public-key",'required':!![]}]}),_0x330a07.register({'name':"profile-discovery-record",'versions':[{'version':0x1,'type':"@keet-private-id/profile-discovery-record-v1"}]}),_0x330a07.register({'name':"unreads",'fields':[{'name':"deviceKey",'type':"@keet/device-key",'required':!![]},{'name':'key','type':"@keet/core-key",'required':!![]}]}),_0x330a07.register({'name':"add-unreads-key-operation",'fields':[_0x540975,{'name':"key",'type':"@keet/core-key",'required':!![]}]}),_0x330a07.register({'name':"remove-unreads-key-operation",'fields':[_0x540975,{'name':"key",'type':"@keet/core-key",'required':!![]}]}),_0x330a07.register({'name':'settings','fields':[{'name':"disableReadReceipts",'type':'bool'}]}),_0x330a07.register({'name':"user-settings-key",'strings':!![],'enum':.disableReadReceipts}),_0x330a07.register({'name':"update-settings-operation",'fields':[_0x540975,{'name':"key",'type':"@keet-private-id/user-settings-key",'required':!![]},{'name':'settings','type':"@keet-private-id/settings",'required':!![]}]});
}
;