// !!! This file is autogenerated! Do not modify directly.
const any = require('tiny-buffer-rpc/any')
const safetyCatch = require('safety-catch')
module.exports = function createClientAPI(rpc) {
// swarm.ready
const method0 = rpc.register(0, {
request: any,
response: any
})
// core.getVersion
const method1 = rpc.register(1, {
request: any,
response: any
})
// core.subscribeRoomVersion
const method2 = rpc.register(2, {
request: any,
response: any
})
// core.subscribeForceUpdates
const method3 = rpc.register(3, {
request: any,
response: any
})
// core.upgradeRoom
const method4 = rpc.register(4, {
request: any,
response: any
})
// core.updateUserSettings
const method5 = rpc.register(5, {
request: any,
response: any
})
// core.getIdentity
const method6 = rpc.register(6, {
request: any,
response: any
})
// core.subscribeIdentity
const method7 = rpc.register(7, {
request: any,
response: any
})
// core.generateIdentity
const method8 = rpc.register(8, {
request: any,
response: any
})
// core.restoreIdentity
const method9 = rpc.register(9, {
request: any,
response: any
})
// core.getRecoveryPhrase
const method10 = rpc.register(10, {
request: any,
response: any
})
// core.confirmRecoveryPhrase
const method11 = rpc.register(11, {
request: any,
response: any
})
// core.storeRecoveryPhrase
const method12 = rpc.register(12, {
request: any,
response: any
})
// core.confirmIdentity
const method13 = rpc.register(13, {
request: any,
response: any
})
// core.confirmPairingRequest
const method14 = rpc.register(14, {
request: any,
response: any
})
// core.subscribeIdentityPairingRequests
const method15 = rpc.register(15, {
request: any,
response: any
})
// core.updateIdentityProfile
const method16 = rpc.register(16, {
request: any,
response: any
})
// core.updateIdentityDevice
const method17 = rpc.register(17, {
request: any,
response: any
})
// core.removeIdentityDevice
const method18 = rpc.register(18, {
request: any,
response: any
})
// core.getLinkInfo
const method19 = rpc.register(19, {
request: any,
response: any
})
// core.startPairingIdentity
const method20 = rpc.register(20, {
request: any,
response: any
})
// core.pairIdentity
const method21 = rpc.register(21, {
request: any,
response: any
})
// core.createRoom
const method22 = rpc.register(22, {
request: any,
response: any
})
// core.pairRoom
const method23 = rpc.register(23, {
request: any,
response: any
})
// core.leaveRoom
const method24 = rpc.register(24, {
request: any,
response: any
})
// core.startPairingRoom
const method25 = rpc.register(25, {
request: any,
response: any
})
// core.stopPairingRoom
const method26 = rpc.register(26, {
request: any,
response: any
})
// core.subscribePendingRooms
const method27 = rpc.register(27, {
request: any,
response: any
})
// core.subscribePushNotificationChanges
const method28 = rpc.register(28, {
request: any,
response: any
})
// core.subscribeActivateRoom
const method29 = rpc.register(29, {
request: any,
response: any
})
// core.getRoomKeys
const method30 = rpc.register(30, {
request: any,
response: any
})
// core.resyncPrivateProfile
const method31 = rpc.register(31, {
request: any,
response: any
})
// core.getTipSize
const method32 = rpc.register(32, {
request: any,
response: any
})
// core.bookmark
const method33 = rpc.register(33, {
request: any,
response: any
})
// core.unbookmark
const method34 = rpc.register(34, {
request: any,
response: any
})
// core.subscribeBookmarks
const method35 = rpc.register(35, {
request: any,
response: any
})
// core.getRoomInfo
const method36 = rpc.register(36, {
request: any,
response: any
})
// core.subscribeRoomInfo
const method37 = rpc.register(37, {
request: any,
response: any
})
// core.searchRooms
const method38 = rpc.register(38, {
request: any,
response: any
})
// core.getRecentRooms
const method39 = rpc.register(39, {
request: any,
response: any
})
// core.getLocalRoomMetadata
const method40 = rpc.register(40, {
request: any,
response: any
})
// core.subscribeRecentRooms
const method41 = rpc.register(41, {
request: any,
response: any
})
// core.subscribeUnreadActivity
const method42 = rpc.register(42, {
request: any,
response: any
})
// core.setRoomUnread
const method43 = rpc.register(43, {
request: any,
response: any
})
// core.bumpRoomPriority
const method44 = rpc.register(44, {
request: any,
response: any
})
// core.addDevice
const method45 = rpc.register(45, {
request: any,
response: any
})
// core.removeDevice
const method46 = rpc.register(46, {
request: any,
response: any
})
// core.getDevice
const method47 = rpc.register(47, {
request: any,
response: any
})
// core.getDevices
const method48 = rpc.register(48, {
request: any,
response: any
})
// core.getDevicesByMemberId
const method49 = rpc.register(49, {
request: any,
response: any
})
// core.getCurrentDeviceId
const method50 = rpc.register(50, {
request: any,
response: any
})
// core.moveIndexer
const method51 = rpc.register(51, {
request: any,
response: any
})
// core.subscribeDevice
const method52 = rpc.register(52, {
request: any,
response: any
})
// core.subscribeDevices
const method53 = rpc.register(53, {
request: any,
response: any
})
// core.createIdentityInvitation
const method54 = rpc.register(54, {
request: any,
response: any
})
// core.createInvitation
const method55 = rpc.register(55, {
request: any,
response: any
})
// core.updateMember
const method56 = rpc.register(56, {
request: any,
response: any
})
// core.isMemberMuted
const method57 = rpc.register(57, {
request: any,
response: any
})
// core.getMember
const method58 = rpc.register(58, {
request: any,
response: any
})
// core.removeMember
const method59 = rpc.register(59, {
request: any,
response: any
})
// core.getMembers
const method60 = rpc.register(60, {
request: any,
response: any
})
// core.getActiveMembers
const method61 = rpc.register(61, {
request: any,
response: any
})
// core.getModerators
const method62 = rpc.register(62, {
request: any,
response: any
})
// core.getMemberCount
const method63 = rpc.register(63, {
request: any,
response: any
})
// core.waitUntilJoined
const method64 = rpc.register(64, {
request: any,
response: any
})
// core.getMemberForDevice
const method65 = rpc.register(65, {
request: any,
response: any
})
// core.subscribeMemberCount
const method66 = rpc.register(66, {
request: any,
response: any
})
// core.subscribeMember
const method67 = rpc.register(67, {
request: any,
response: any
})
// core.subscribeMembers
const method68 = rpc.register(68, {
request: any,
response: any
})
// core.subscribeModerators
const method69 = rpc.register(69, {
request: any,
response: any
})
// core.subscribeMemberForDevice
const method70 = rpc.register(70, {
request: any,
response: any
})
// core.changeMemberRole
const method71 = rpc.register(71, {
request: any,
response: any
})
// core.muteMember
const method72 = rpc.register(72, {
request: any,
response: any
})
// core.unmuteMember
const method73 = rpc.register(73, {
request: any,
response: any
})
// core.getSearchMembers
const method74 = rpc.register(74, {
request: any,
response: any
})
// core.getPushNotificationMembers
const method75 = rpc.register(75, {
request: any,
response: any
})
// core.subscribeSearchMembers
const method76 = rpc.register(76, {
request: any,
response: any
})
// core.subscribePushNotificationMembers
const method77 = rpc.register(77, {
request: any,
response: any
})
// core.getContactInfo
const method78 = rpc.register(78, {
request: any,
response: any
})
// core.subscribeContactInfo
const method79 = rpc.register(79, {
request: any,
response: any
})
// core.getSelfContactInfo
const method80 = rpc.register(80, {
request: any,
response: any
})
// core.blockMember
const method81 = rpc.register(81, {
request: any,
response: any
})
// core.unblockMember
const method82 = rpc.register(82, {
request: any,
response: any
})
// core.getBlockedMembers
const method83 = rpc.register(83, {
request: any,
response: any
})
// core.subscribeBlockedMembers
const method84 = rpc.register(84, {
request: any,
response: any
})
// core.getConnectedMembers
const method85 = rpc.register(85, {
request: any,
response: any
})
// core.subscribeConnectedMembers
const method86 = rpc.register(86, {
request: any,
response: any
})
// core.updateConfig
const method87 = rpc.register(87, {
request: any,
response: any
})
// core.getConfig
const method88 = rpc.register(88, {
request: any,
response: any
})
// core.subscribeConfig
const method89 = rpc.register(89, {
request: any,
response: any
})
// core.updateRoomSettings
const method90 = rpc.register(90, {
request: any,
response: any
})
// core.disableMembershipEvents
const method91 = rpc.register(91, {
request: any,
response: any
})
// core.enableMembershipEvents
const method92 = rpc.register(92, {
request: any,
response: any
})
// core.addChatMessage
const method93 = rpc.register(93, {
request: any,
response: any
})
// core.updateChatMessage
const method94 = rpc.register(94, {
request: any,
response: any
})
// core.removeChatMessage
const method95 = rpc.register(95, {
request: any,
response: any
})
// core.forwardChatMessage
const method96 = rpc.register(96, {
request: any,
response: any
})
// core.pinChatMessage
const method97 = rpc.register(97, {
request: any,
response: any
})
// core.unpinChatMessage
const method98 = rpc.register(98, {
request: any,
response: any
})
// core.addCallStartedEvent
const method99 = rpc.register(99, {
request: any,
response: any
})
// core.addCallHangupEvent
const method100 = rpc.register(100, {
request: any,
response: any
})
// core.addCallMissedEvent
const method101 = rpc.register(101, {
request: any,
response: any
})
// core.addLocationSharedEvent
const method102 = rpc.register(102, {
request: any,
response: any
})
// core.addRoomAvatarChangedEvent
const method103 = rpc.register(103, {
request: any,
response: any
})
// core.addEvent
const method104 = rpc.register(104, {
request: any,
response: any
})
// core.removeEvent
const method105 = rpc.register(105, {
request: any,
response: any
})
// core.getChatMessage
const method106 = rpc.register(106, {
request: any,
response: any
})
// core.getChatMessageById
const method107 = rpc.register(107, {
request: any,
response: any
})
// core.getChatMessages
const method108 = rpc.register(108, {
request: any,
response: any
})
// core.getPinnedChatMessages
const method109 = rpc.register(109, {
request: any,
response: any
})
// core.getChatLength
const method110 = rpc.register(110, {
request: any,
response: any
})
// core.subscribeChatMessages
const method111 = rpc.register(111, {
request: any,
response: any
})
// core.subscribeChatLength
const method112 = rpc.register(112, {
request: any,
response: any
})
// core.searchChatMessages
const method113 = rpc.register(113, {
request: any,
response: any
})
// core.createChatSearchStream
const method114 = rpc.register(114, {
request: any,
response: any
})
// core.sendDMFromContact
const method115 = rpc.register(115, {
request: any,
response: any
})
// core.sendDMRequest
const method116 = rpc.register(116, {
request: any,
response: any
})
// core.sendInvitations
const method117 = rpc.register(117, {
request: any,
response: any
})
// core.updatePrivateMailboxRecord
const method118 = rpc.register(118, {
request: any,
response: any
})
// core.getPrivateMailboxRecords
const method119 = rpc.register(119, {
request: any,
response: any
})
// core.subscribePrivateMailbox
const method120 = rpc.register(120, {
request: any,
response: any
})
// core.getSentPrivateMailboxRecords
const method121 = rpc.register(121, {
request: any,
response: any
})
// core.subscribeSentPrivateMailbox
const method122 = rpc.register(122, {
request: any,
response: any
})
// core.getDmByMemberId
const method123 = rpc.register(123, {
request: any,
response: any
})
// core.getDmRequestsByStatus
const method124 = rpc.register(124, {
request: any,
response: any
})
// core.subscribeDmRequestsByStatus
const method125 = rpc.register(125, {
request: any,
response: any
})
// core.acceptDmRequest
const method126 = rpc.register(126, {
request: any,
response: any
})
// core.rejectDmRequest
const method127 = rpc.register(127, {
request: any,
response: any
})
// core.addReaction
const method128 = rpc.register(128, {
request: any,
response: any
})
// core.removeReaction
const method129 = rpc.register(129, {
request: any,
response: any
})
// core.getLatestReactions
const method130 = rpc.register(130, {
request: any,
response: any
})
// core.getReactions
const method131 = rpc.register(131, {
request: any,
response: any
})
// core.subscribeReactions
const method132 = rpc.register(132, {
request: any,
response: any
})
// core.addChatReport
const method133 = rpc.register(133, {
request: any,
response: any
})
// core.removeChatReport
const method134 = rpc.register(134, {
request: any,
response: any
})
// core.reportMember
const method135 = rpc.register(135, {
request: any,
response: any
})
// core.getReportedMembers
const method136 = rpc.register(136, {
request: any,
response: any
})
// core.subscribeReportedMembers
const method137 = rpc.register(137, {
request: any,
response: any
})
// core.getReportedMessages
const method138 = rpc.register(138, {
request: any,
response: any
})
// core.subscribeReportedMessages
const method139 = rpc.register(139, {
request: any,
response: any
})
// core.addFileBlob
const method140 = rpc.register(140, {
request: any,
response: any
})
// core.addFile
const method141 = rpc.register(141, {
request: any,
response: any
})
// core.saveFileBlob
const method142 = rpc.register(142, {
request: any,
response: any
})
// core.saveFile
const method143 = rpc.register(143, {
request: any,
response: any
})
// core.subscribeAddFile
const method144 = rpc.register(144, {
request: any,
response: any
})
// core.sendFile
const method145 = rpc.register(145, {
request: any,
response: any
})
// core.removeFile
const method146 = rpc.register(146, {
request: any,
response: any
})
// core.refreshFileLinks
const method147 = rpc.register(147, {
request: any,
response: any
})
// core.subscribeFileInfo
const method148 = rpc.register(148, {
request: any,
response: any
})
// core.clearAllFiles
const method149 = rpc.register(149, {
request: any,
response: any
})
// core.getFileEntry
const method150 = rpc.register(150, {
request: any,
response: any
})
// core.getLocalFiles
const method151 = rpc.register(151, {
request: any,
response: any
})
// core.getFiles
const method152 = rpc.register(152, {
request: any,
response: any
})
// core.startDownload
const method153 = rpc.register(153, {
request: any,
response: any
})
// core.cancelDownload
const method154 = rpc.register(154, {
request: any,
response: any
})
// core.clearFile
const method155 = rpc.register(155, {
request: any,
response: any
})
// core.unclearFile
const method156 = rpc.register(156, {
request: any,
response: any
})
// core.getFileCleared
const method157 = rpc.register(157, {
request: any,
response: any
})
// core.subscribeFileCleared
const method158 = rpc.register(158, {
request: any,
response: any
})
// core.subscribeFiles
const method159 = rpc.register(159, {
request: any,
response: any
})
// core.getStats
const method160 = rpc.register(160, {
request: any,
response: any
})
// core.subscribeProgress
const method161 = rpc.register(161, {
request: any,
response: any
})
// core.subscribeSystemUpdateRequest
const method162 = rpc.register(162, {
request: any,
response: any
})
// core.lookupUsername
const method163 = rpc.register(163, {
request: any,
response: any
})
// core.lookupUserByMemberId
const method164 = rpc.register(164, {
request: any,
response: any
})
// core.subscribeUsername
const method165 = rpc.register(165, {
request: any,
response: any
})
// core.registerUsername
const method166 = rpc.register(166, {
request: any,
response: any
})
// core.updateUsername
const method167 = rpc.register(167, {
request: any,
response: any
})
// core.searchUsername
const method168 = rpc.register(168, {
request: any,
response: any
})
// core.getReservationsByKey
const method169 = rpc.register(169, {
request: any,
response: any
})
// core.checkUsername
const method170 = rpc.register(170, {
request: any,
response: any
})
// core.updateRoomPreferences
const method171 = rpc.register(171, {
request: any,
response: any
})
// core.getRoomPreferences
const method172 = rpc.register(172, {
request: any,
response: any
})
// core.audit
const method173 = rpc.register(173, {
request: any,
response: any
})
// core.close
const method174 = rpc.register(174, {
request: any,
response: any
})
// core.suspend
const method175 = rpc.register(175, {
request: any,
response: any
})
// core.resume
const method176 = rpc.register(176, {
request: any,
response: any
})
// core.getDebugFlags
const method177 = rpc.register(177, {
request: any,
response: any
})
// core.updateDebugFlag
const method178 = rpc.register(178, {
request: any,
response: any
})
// core.repair
const method179 = rpc.register(179, {
request: any,
response: any
})
// core.rotateWriter
const method180 = rpc.register(180, {
request: any,
response: any
})
// core.getRoomStats
const method181 = rpc.register(181, {
request: any,
response: any
})
// core.compact
const method182 = rpc.register(182, {
request: any,
response: any
})
// core.setUnread
const method183 = rpc.register(183, {
request: any,
response: any
})
// core.getUnread
const method184 = rpc.register(184, {
request: any,
response: any
})
// core.getUnreadAnchor
const method185 = rpc.register(185, {
request: any,
response: any
})
// core.setUnreadAnchor
const method186 = rpc.register(186, {
request: any,
response: any
})
// core.subscribeUnreadAnchor
const method187 = rpc.register(187, {
request: any,
response: any
})
// core.subscribeSentLength
const method188 = rpc.register(188, {
request: any,
response: any
})
// core.createErrorStream
const method189 = rpc.register(189, {
request: any,
response: any
})
// core.boot
const method190 = rpc.register(190, {
request: any,
response: any
})
// core.subscribeErrors
const method191 = rpc.register(191, {
request: any,
response: any
})
// core.setCallRingingId
const method192 = rpc.register(192, {
request: any,
response: any
})
// core.subscribeNotifications
const method193 = rpc.register(193, {
request: any,
response: any
})
// core.getDHTSettings
const method194 = rpc.register(194, {
request: any,
response: any
})
// core.updateDHTSettings
const method195 = rpc.register(195, {
request: any,
response: any
})
// core.setRoomFavorite
const method196 = rpc.register(196, {
request: any,
response: any
})
// preferences.subscribe
const method197 = rpc.register(197, {
request: any,
response: any
})
// preferences.update
const method198 = rpc.register(198, {
request: any,
response: any
})
// preferences.query
const method199 = rpc.register(199, {
request: any,
response: any
})
// call.authorize
const method200 = rpc.register(200, {
request: any,
response: any
})
// call.deauthorize
const method201 = rpc.register(201, {
request: any,
response: any
})
// call.joinPeer
const method202 = rpc.register(202, {
request: any,
response: any
})
// call.leavePeer
const method203 = rpc.register(203, {
request: any,
response: any
})
// call.requestTrack
const method204 = rpc.register(204, {
request: any,
response: any
})
// call.unrequestTrack
const method205 = rpc.register(205, {
request: any,
response: any
})
// call.signalMedia
const method206 = rpc.register(206, {
request: any,
response: any
})
// call.getRequestedTracks
const method207 = rpc.register(207, {
request: any,
response: any
})
// call.subscribeRequestedTracks
const method208 = rpc.register(208, {
request: any,
response: any
})
// call.subscribeMediaSignals
const method209 = rpc.register(209, {
request: any,
response: any
})
// call.subscribeProxyUpdates
const method210 = rpc.register(210, {
request: any,
response: any
})
// call.shareTrack
const method211 = rpc.register(211, {
request: any,
response: any
})
// call.unshareTrack
const method212 = rpc.register(212, {
request: any,
response: any
})
// call.relayTrack
const method213 = rpc.register(213, {
request: any,
response: any
})
// call.unrelayTrack
const method214 = rpc.register(214, {
request: any,
response: any
})
// call.subscribeAvailableTracks
const method215 = rpc.register(215, {
request: any,
response: any
})
// call.getAvailableTracks
const method216 = rpc.register(216, {
request: any,
response: any
})
// call.setPresent
const method217 = rpc.register(217, {
request: any,
response: any
})
// call.setNotPresent
const method218 = rpc.register(218, {
request: any,
response: any
})
// call.subscribePresence
const method219 = rpc.register(219, {
request: any,
response: any
})
// call.getPresence
const method220 = rpc.register(220, {
request: any,
response: any
})
// tracing.start
const method221 = rpc.register(221, {
request: any,
response: any
})
// tracing.addFrontendTrace
const method222 = rpc.register(222, {
request: any,
response: any
})
// console.log
const method223 = rpc.register(223, {
request: any,
response: any
})
// console.warn
const method224 = rpc.register(224, {
request: any,
response: any
})
// console.error
const method225 = rpc.register(225, {
request: any,
response: any
})
// network.subscribe
const method226 = rpc.register(226, {
request: any,
response: any
})
// network.query
const method227 = rpc.register(227, {
request: any,
response: any
})
// error.subscribe
const method228 = rpc.register(228, {
request: any,
response: any
})
// debug.getCurrentRoomStats
const method229 = rpc.register(229, {
request: any,
response: any
})
// debug.enableInspector
const method230 = rpc.register(230, {
request: any,
response: any
})
// debug.disableInspector
const method231 = rpc.register(231, {
request: any,
response: any
})
// debug.getInspectorKey
const method232 = rpc.register(232, {
request: any,
response: any
})
// debug.processTop
const method233 = rpc.register(233, {
request: any,
response: any
})
// debug.heapSnapshot
const method234 = rpc.register(234, {
request: any,
response: any
})
// debug.hash
const method235 = rpc.register(235, {
request: any,
response: any
})
// debug.generateSyntheticError
const method236 = rpc.register(236, {
request: any,
response: any
})
// pear.teardown
const method237 = rpc.register(237, {
request: any,
response: any
})
// pear.selfDestruct
const method238 = rpc.register(238, {
request: any,
response: any
})
// feedback.send
const method239 = rpc.register(239, {
request: any,
response: any
})
return {
swarm: {
ready: (...args) => {
const input = Array.from(args)
return method0.request(input)
}
},
core: {
getVersion: (...args) => {
const input = Array.from(args)
return method1.request(input)
},
subscribeRoomVersion: (...args) => {
const input = Array.from(args)
const stream = method2.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeForceUpdates: (...args) => {
const input = Array.from(args)
const stream = method3.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
upgradeRoom: (...args) => {
const input = Array.from(args)
return method4.request(input)
},
updateUserSettings: (...args) => {
const input = Array.from(args)
return method5.request(input)
},
getIdentity: (...args) => {
const input = Array.from(args)
return method6.request(input)
},
subscribeIdentity: (...args) => {
const input = Array.from(args)
const stream = method7.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
generateIdentity: (...args) => {
const input = Array.from(args)
return method8.request(input)
},
restoreIdentity: (...args) => {
const input = Array.from(args)
return method9.request(input)
},
getRecoveryPhrase: (...args) => {
const input = Array.from(args)
return method10.request(input)
},
confirmRecoveryPhrase: (...args) => {
const input = Array.from(args)
return method11.request(input)
},
storeRecoveryPhrase: (...args) => {
const input = Array.from(args)
return method12.request(input)
},
confirmIdentity: (...args) => {
const input = Array.from(args)
return method13.request(input)
},
confirmPairingRequest: (...args) => {
const input = Array.from(args)
return method14.request(input)
},
subscribeIdentityPairingRequests: (...args) => {
const input = Array.from(args)
const stream = method15.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
updateIdentityProfile: (...args) => {
const input = Array.from(args)
return method16.request(input)
},
updateIdentityDevice: (...args) => {
const input = Array.from(args)
return method17.request(input)
},
removeIdentityDevice: (...args) => {
const input = Array.from(args)
return method18.request(input)
},
getLinkInfo: (...args) => {
const input = Array.from(args)
return method19.request(input)
},
startPairingIdentity: (...args) => {
const input = Array.from(args)
return method20.request(input)
},
pairIdentity: (...args) => {
const input = Array.from(args)
return method21.request(input)
},
createRoom: (...args) => {
const input = Array.from(args)
return method22.request(input)
},
pairRoom: (...args) => {
const input = Array.from(args)
return method23.request(input)
},
leaveRoom: (...args) => {
const input = Array.from(args)
return method24.request(input)
},
startPairingRoom: (...args) => {
const input = Array.from(args)
return method25.request(input)
},
stopPairingRoom: (...args) => {
const input = Array.from(args)
return method26.request(input)
},
subscribePendingRooms: (...args) => {
const input = Array.from(args)
const stream = method27.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribePushNotificationChanges: (...args) => {
const input = Array.from(args)
const stream = method28.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeActivateRoom: (...args) => {
const input = Array.from(args)
const stream = method29.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getRoomKeys: (...args) => {
const input = Array.from(args)
return method30.request(input)
},
resyncPrivateProfile: (...args) => {
const input = Array.from(args)
return method31.request(input)
},
getTipSize: (...args) => {
const input = Array.from(args)
return method32.request(input)
},
bookmark: (...args) => {
const input = Array.from(args)
return method33.request(input)
},
unbookmark: (...args) => {
const input = Array.from(args)
return method34.request(input)
},
subscribeBookmarks: (...args) => {
const input = Array.from(args)
const stream = method35.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getRoomInfo: (...args) => {
const input = Array.from(args)
return method36.request(input)
},
subscribeRoomInfo: (...args) => {
const input = Array.from(args)
const stream = method37.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
searchRooms: (...args) => {
const input = Array.from(args)
return method38.request(input)
},
getRecentRooms: (...args) => {
const input = Array.from(args)
return method39.request(input)
},
getLocalRoomMetadata: (...args) => {
const input = Array.from(args)
return method40.request(input)
},
subscribeRecentRooms: (...args) => {
const input = Array.from(args)
const stream = method41.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeUnreadActivity: (...args) => {
const input = Array.from(args)
const stream = method42.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
setRoomUnread: (...args) => {
const input = Array.from(args)
return method43.request(input)
},
bumpRoomPriority: (...args) => {
const input = Array.from(args)
return method44.request(input)
},
addDevice: (...args) => {
const input = Array.from(args)
return method45.request(input)
},
removeDevice: (...args) => {
const input = Array.from(args)
return method46.request(input)
},
getDevice: (...args) => {
const input = Array.from(args)
return method47.request(input)
},
getDevices: (...args) => {
const input = Array.from(args)
return method48.request(input)
},
getDevicesByMemberId: (...args) => {
const input = Array.from(args)
return method49.request(input)
},
getCurrentDeviceId: (...args) => {
const input = Array.from(args)
return method50.request(input)
},
moveIndexer: (...args) => {
const input = Array.from(args)
return method51.request(input)
},
subscribeDevice: (...args) => {
const input = Array.from(args)
const stream = method52.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeDevices: (...args) => {
const input = Array.from(args)
const stream = method53.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
createIdentityInvitation: (...args) => {
const input = Array.from(args)
return method54.request(input)
},
createInvitation: (...args) => {
const input = Array.from(args)
return method55.request(input)
},
updateMember: (...args) => {
const input = Array.from(args)
return method56.request(input)
},
isMemberMuted: (...args) => {
const input = Array.from(args)
return method57.request(input)
},
getMember: (...args) => {
const input = Array.from(args)
return method58.request(input)
},
removeMember: (...args) => {
const input = Array.from(args)
return method59.request(input)
},
getMembers: (...args) => {
const input = Array.from(args)
return method60.request(input)
},
getActiveMembers: (...args) => {
const input = Array.from(args)
return method61.request(input)
},
getModerators: (...args) => {
const input = Array.from(args)
return method62.request(input)
},
getMemberCount: (...args) => {
const input = Array.from(args)
return method63.request(input)
},
waitUntilJoined: (...args) => {
const input = Array.from(args)
return method64.request(input)
},
getMemberForDevice: (...args) => {
const input = Array.from(args)
return method65.request(input)
},
subscribeMemberCount: (...args) => {
const input = Array.from(args)
const stream = method66.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeMember: (...args) => {
const input = Array.from(args)
const stream = method67.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeMembers: (...args) => {
const input = Array.from(args)
const stream = method68.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeModerators: (...args) => {
const input = Array.from(args)
const stream = method69.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeMemberForDevice: (...args) => {
const input = Array.from(args)
const stream = method70.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
changeMemberRole: (...args) => {
const input = Array.from(args)
return method71.request(input)
},
muteMember: (...args) => {
const input = Array.from(args)
return method72.request(input)
},
unmuteMember: (...args) => {
const input = Array.from(args)
return method73.request(input)
},
getSearchMembers: (...args) => {
const input = Array.from(args)
return method74.request(input)
},
getPushNotificationMembers: (...args) => {
const input = Array.from(args)
return method75.request(input)
},
subscribeSearchMembers: (...args) => {
const input = Array.from(args)
const stream = method76.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribePushNotificationMembers: (...args) => {
const input = Array.from(args)
const stream = method77.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getContactInfo: (...args) => {
const input = Array.from(args)
return method78.request(input)
},
subscribeContactInfo: (...args) => {
const input = Array.from(args)
const stream = method79.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getSelfContactInfo: (...args) => {
const input = Array.from(args)
return method80.request(input)
},
blockMember: (...args) => {
const input = Array.from(args)
return method81.request(input)
},
unblockMember: (...args) => {
const input = Array.from(args)
return method82.request(input)
},
getBlockedMembers: (...args) => {
const input = Array.from(args)
return method83.request(input)
},
subscribeBlockedMembers: (...args) => {
const input = Array.from(args)
const stream = method84.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getConnectedMembers: (...args) => {
const input = Array.from(args)
return method85.request(input)
},
subscribeConnectedMembers: (...args) => {
const input = Array.from(args)
const stream = method86.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
updateConfig: (...args) => {
const input = Array.from(args)
return method87.request(input)
},
getConfig: (...args) => {
const input = Array.from(args)
return method88.request(input)
},
subscribeConfig: (...args) => {
const input = Array.from(args)
const stream = method89.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
updateRoomSettings: (...args) => {
const input = Array.from(args)
return method90.request(input)
},
disableMembershipEvents: (...args) => {
const input = Array.from(args)
return method91.request(input)
},
enableMembershipEvents: (...args) => {
const input = Array.from(args)
return method92.request(input)
},
addChatMessage: (...args) => {
const input = Array.from(args)
return method93.request(input)
},
updateChatMessage: (...args) => {
const input = Array.from(args)
return method94.request(input)
},
removeChatMessage: (...args) => {
const input = Array.from(args)
return method95.request(input)
},
forwardChatMessage: (...args) => {
const input = Array.from(args)
return method96.request(input)
},
pinChatMessage: (...args) => {
const input = Array.from(args)
return method97.request(input)
},
unpinChatMessage: (...args) => {
const input = Array.from(args)
return method98.request(input)
},
addCallStartedEvent: (...args) => {
const input = Array.from(args)
return method99.request(input)
},
addCallHangupEvent: (...args) => {
const input = Array.from(args)
return method100.request(input)
},
addCallMissedEvent: (...args) => {
const input = Array.from(args)
return method101.request(input)
},
addLocationSharedEvent: (...args) => {
const input = Array.from(args)
return method102.request(input)
},
addRoomAvatarChangedEvent: (...args) => {
const input = Array.from(args)
return method103.request(input)
},
addEvent: (...args) => {
const input = Array.from(args)
return method104.request(input)
},
removeEvent: (...args) => {
const input = Array.from(args)
return method105.request(input)
},
getChatMessage: (...args) => {
const input = Array.from(args)
return method106.request(input)
},
getChatMessageById: (...args) => {
const input = Array.from(args)
return method107.request(input)
},
getChatMessages: (...args) => {
const input = Array.from(args)
return method108.request(input)
},
getPinnedChatMessages: (...args) => {
const input = Array.from(args)
return method109.request(input)
},
getChatLength: (...args) => {
const input = Array.from(args)
return method110.request(input)
},
subscribeChatMessages: (...args) => {
const input = Array.from(args)
const stream = method111.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeChatLength: (...args) => {
const input = Array.from(args)
const stream = method112.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
searchChatMessages: (...args) => {
const input = Array.from(args)
return method113.request(input)
},
createChatSearchStream: (...args) => {
const input = Array.from(args)
const stream = method114.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
sendDMFromContact: (...args) => {
const input = Array.from(args)
return method115.request(input)
},
sendDMRequest: (...args) => {
const input = Array.from(args)
return method116.request(input)
},
sendInvitations: (...args) => {
const input = Array.from(args)
return method117.request(input)
},
updatePrivateMailboxRecord: (...args) => {
const input = Array.from(args)
return method118.request(input)
},
getPrivateMailboxRecords: (...args) => {
const input = Array.from(args)
return method119.request(input)
},
subscribePrivateMailbox: (...args) => {
const input = Array.from(args)
const stream = method120.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getSentPrivateMailboxRecords: (...args) => {
const input = Array.from(args)
return method121.request(input)
},
subscribeSentPrivateMailbox: (...args) => {
const input = Array.from(args)
const stream = method122.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getDmByMemberId: (...args) => {
const input = Array.from(args)
return method123.request(input)
},
getDmRequestsByStatus: (...args) => {
const input = Array.from(args)
return method124.request(input)
},
subscribeDmRequestsByStatus: (...args) => {
const input = Array.from(args)
const stream = method125.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
acceptDmRequest: (...args) => {
const input = Array.from(args)
return method126.request(input)
},
rejectDmRequest: (...args) => {
const input = Array.from(args)
return method127.request(input)
},
addReaction: (...args) => {
const input = Array.from(args)
return method128.request(input)
},
removeReaction: (...args) => {
const input = Array.from(args)
return method129.request(input)
},
getLatestReactions: (...args) => {
const input = Array.from(args)
return method130.request(input)
},
getReactions: (...args) => {
const input = Array.from(args)
return method131.request(input)
},
subscribeReactions: (...args) => {
const input = Array.from(args)
const stream = method132.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
addChatReport: (...args) => {
const input = Array.from(args)
return method133.request(input)
},
removeChatReport: (...args) => {
const input = Array.from(args)
return method134.request(input)
},
reportMember: (...args) => {
const input = Array.from(args)
return method135.request(input)
},
getReportedMembers: (...args) => {
const input = Array.from(args)
return method136.request(input)
},
subscribeReportedMembers: (...args) => {
const input = Array.from(args)
const stream = method137.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getReportedMessages: (...args) => {
const input = Array.from(args)
return method138.request(input)
},
subscribeReportedMessages: (...args) => {
const input = Array.from(args)
const stream = method139.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
addFileBlob: (...args) => {
const input = Array.from(args)
return method140.request(input)
},
addFile: (...args) => {
const input = Array.from(args)
return method141.request(input)
},
saveFileBlob: (...args) => {
const input = Array.from(args)
return method142.request(input)
},
saveFile: (...args) => {
const input = Array.from(args)
return method143.request(input)
},
subscribeAddFile: (...args) => {
const input = Array.from(args)
const stream = method144.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
sendFile: (...args) => {
const input = Array.from(args)
return method145.request(input)
},
removeFile: (...args) => {
const input = Array.from(args)
return method146.request(input)
},
refreshFileLinks: (...args) => {
const input = Array.from(args)
return method147.request(input)
},
subscribeFileInfo: (...args) => {
const input = Array.from(args)
const stream = method148.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
clearAllFiles: (...args) => {
const input = Array.from(args)
return method149.request(input)
},
getFileEntry: (...args) => {
const input = Array.from(args)
return method150.request(input)
},
getLocalFiles: (...args) => {
const input = Array.from(args)
return method151.request(input)
},
getFiles: (...args) => {
const input = Array.from(args)
return method152.request(input)
},
startDownload: (...args) => {
const input = Array.from(args)
return method153.request(input)
},
cancelDownload: (...args) => {
const input = Array.from(args)
return method154.request(input)
},
clearFile: (...args) => {
const input = Array.from(args)
return method155.request(input)
},
unclearFile: (...args) => {
const input = Array.from(args)
return method156.request(input)
},
getFileCleared: (...args) => {
const input = Array.from(args)
return method157.request(input)
},
subscribeFileCleared: (...args) => {
const input = Array.from(args)
const stream = method158.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeFiles: (...args) => {
const input = Array.from(args)
const stream = method159.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getStats: (...args) => {
const input = Array.from(args)
return method160.request(input)
},
subscribeProgress: (...args) => {
const input = Array.from(args)
const stream = method161.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeSystemUpdateRequest: (...args) => {
const input = Array.from(args)
const stream = method162.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
lookupUsername: (...args) => {
const input = Array.from(args)
return method163.request(input)
},
lookupUserByMemberId: (...args) => {
const input = Array.from(args)
return method164.request(input)
},
subscribeUsername: (...args) => {
const input = Array.from(args)
const stream = method165.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
registerUsername: (...args) => {
const input = Array.from(args)
return method166.request(input)
},
updateUsername: (...args) => {
const input = Array.from(args)
return method167.request(input)
},
searchUsername: (...args) => {
const input = Array.from(args)
return method168.request(input)
},
getReservationsByKey: (...args) => {
const input = Array.from(args)
return method169.request(input)
},
checkUsername: (...args) => {
const input = Array.from(args)
return method170.request(input)
},
updateRoomPreferences: (...args) => {
const input = Array.from(args)
return method171.request(input)
},
getRoomPreferences: (...args) => {
const input = Array.from(args)
return method172.request(input)
},
audit: (...args) => {
const input = Array.from(args)
return method173.request(input)
},
close: (...args) => {
const input = Array.from(args)
return method174.request(input)
},
suspend: (...args) => {
const input = Array.from(args)
return method175.request(input)
},
resume: (...args) => {
const input = Array.from(args)
return method176.request(input)
},
getDebugFlags: (...args) => {
const input = Array.from(args)
return method177.request(input)
},
updateDebugFlag: (...args) => {
const input = Array.from(args)
return method178.request(input)
},
repair: (...args) => {
const input = Array.from(args)
return method179.request(input)
},
rotateWriter: (...args) => {
const input = Array.from(args)
return method180.request(input)
},
getRoomStats: (...args) => {
const input = Array.from(args)
return method181.request(input)
},
compact: (...args) => {
const input = Array.from(args)
return method182.request(input)
},
setUnread: (...args) => {
const input = Array.from(args)
return method183.request(input)
},
getUnread: (...args) => {
const input = Array.from(args)
return method184.request(input)
},
getUnreadAnchor: (...args) => {
const input = Array.from(args)
return method185.request(input)
},
setUnreadAnchor: (...args) => {
const input = Array.from(args)
return method186.request(input)
},
subscribeUnreadAnchor: (...args) => {
const input = Array.from(args)
const stream = method187.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeSentLength: (...args) => {
const input = Array.from(args)
const stream = method188.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
createErrorStream: (...args) => {
const input = Array.from(args)
const stream = method189.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
boot: (...args) => {
const input = Array.from(args)
return method190.request(input)
},
subscribeErrors: (...args) => {
const input = Array.from(args)
const stream = method191.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
setCallRingingId: (...args) => {
const input = Array.from(args)
return method192.request(input)
},
subscribeNotifications: (...args) => {
const input = Array.from(args)
const stream = method193.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getDHTSettings: (...args) => {
const input = Array.from(args)
return method194.request(input)
},
updateDHTSettings: (...args) => {
const input = Array.from(args)
return method195.request(input)
},
setRoomFavorite: (...args) => {
const input = Array.from(args)
return method196.request(input)
}
},
preferences: {
subscribe: (...args) => {
const input = Array.from(args)
const stream = method197.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
update: (...args) => {
const input = Array.from(args)
return method198.request(input)
},
query: (...args) => {
const input = Array.from(args)
return method199.request(input)
}
},
call: {
authorize: (...args) => {
const input = Array.from(args)
return method200.request(input)
},
deauthorize: (...args) => {
const input = Array.from(args)
return method201.request(input)
},
joinPeer: (...args) => {
const input = Array.from(args)
return method202.request(input)
},
leavePeer: (...args) => {
const input = Array.from(args)
return method203.request(input)
},
requestTrack: (...args) => {
const input = Array.from(args)
return method204.request(input)
},
unrequestTrack: (...args) => {
const input = Array.from(args)
return method205.request(input)
},
signalMedia: (...args) => {
const input = Array.from(args)
return method206.request(input)
},
getRequestedTracks: (...args) => {
const input = Array.from(args)
return method207.request(input)
},
subscribeRequestedTracks: (...args) => {
const input = Array.from(args)
const stream = method208.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeMediaSignals: (...args) => {
const input = Array.from(args)
const stream = method209.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
subscribeProxyUpdates: (...args) => {
const input = Array.from(args)
const stream = method210.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
shareTrack: (...args) => {
const input = Array.from(args)
return method211.request(input)
},
unshareTrack: (...args) => {
const input = Array.from(args)
return method212.request(input)
},
relayTrack: (...args) => {
const input = Array.from(args)
return method213.request(input)
},
unrelayTrack: (...args) => {
const input = Array.from(args)
return method214.request(input)
},
subscribeAvailableTracks: (...args) => {
const input = Array.from(args)
const stream = method215.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getAvailableTracks: (...args) => {
const input = Array.from(args)
return method216.request(input)
},
setPresent: (...args) => {
const input = Array.from(args)
return method217.request(input)
},
setNotPresent: (...args) => {
const input = Array.from(args)
return method218.request(input)
},
subscribePresence: (...args) => {
const input = Array.from(args)
const stream = method219.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
getPresence: (...args) => {
const input = Array.from(args)
return method220.request(input)
}
},
tracing: {
start: (...args) => {
const input = Array.from(args)
return method221.request(input)
},
addFrontendTrace: (...args) => {
const input = Array.from(args)
return method222.request(input)
}
},
console: {
log: (...args) => {
const input = Array.from(args)
return method223.request(input)
},
warn: (...args) => {
const input = Array.from(args)
return method224.request(input)
},
error: (...args) => {
const input = Array.from(args)
return method225.request(input)
}
},
network: {
subscribe: (...args) => {
const input = Array.from(args)
const stream = method226.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
},
query: (...args) => {
const input = Array.from(args)
return method227.request(input)
}
},
error: {
subscribe: (...args) => {
const input = Array.from(args)
const stream = method228.createRequestStream()
stream.write(input)
stream.end()
stream.on('error', (err) => safetyCatch(err))
return stream
}
},
debug: {
getCurrentRoomStats: (...args) => {
const input = Array.from(args)
return method229.request(input)
},
enableInspector: (...args) => {
const input = Array.from(args)
return method230.request(input)
},
disableInspector: (...args) => {
const input = Array.from(args)
return method231.request(input)
},
getInspectorKey: (...args) => {
const input = Array.from(args)
return method232.request(input)
},
processTop: (...args) => {
const input = Array.from(args)
return method233.request(input)
},
heapSnapshot: (...args) => {
const input = Array.from(args)
return method234.request(input)
},
hash: (...args) => {
const input = Array.from(args)
return method235.request(input)
},
generateSyntheticError: (...args) => {
const input = Array.from(args)
return method236.request(input)
}
},
pear: {
teardown: (...args) => {
const input = Array.from(args)
return method237.request(input)
},
selfDestruct: (...args) => {
const input = Array.from(args)
return method238.request(input)
}
},
feedback: {
send: (...args) => {
const input = Array.from(args)
return method239.request(input)
}
}
}
}