const _0x3b6f57=(function(){let _0x33ec38=!![];return function(_0x5b04c9,_0x1aab40){const _0x1b0f3c=_0x33ec38?function(){if(_0x1aab40){const _0x6965a1=_0x1aab40.apply(_0x5b04c9,arguments);return _0x1aab40=null,_0x6965a1;}}:function(){};return _0x33ec38=![],_0x1b0f3c;};}()),_0xc6a3cd=_0x3b6f57(this,function(){_0x37b003={_0x54aaef:0x369};return _0xc6a3cd.toString().search("(((.+)+)+)+$").toString().constructor(_0xc6a3cd).search("(((.+)+)+)+$");});
_0xc6a3cd();
const {
createRequest,createResponse,createWant,createUnwant}
=require('../common.js');
module.exports=function generate(_0x4a2a01){
_0x40fbb5={
_0x85a3a9:0x20d,_0x4a0287:0x74},_0x4975f2={
_0x1a4be4:0x129,_0x5755a7:0x18c}
;
_0x4a2a01.register({'name':"want-pairing",'fields':createWant([])}),_0x4a2a01.register({'name':"unwant-pairing",'fields':createUnwant([])}),_0x4a2a01.register({'name':"pending-invitations",'fields':[{'name':"invitations",'type':"@keet-private-id/pending-invitation",'array':!![],'required':!![]}]}),_0x4a2a01.register({'name':"join-request",'fields':[{'name':"roomKey",'type':"@keet/room-key",'required':!![]},{'name':"request",'type':"@keet/join-request",'required':!![]}]}),_0x4a2a01.register({'name':"join-requests",'fields':[{'name':"requests",'type':"@api/core/join-request",'array':!![],'required':!![]}]}),_0x4a2a01.register({'name':"pairing",'fields':[{'name':"pendingInvitations",'type':"@keet-private-id/pending-invitation",'array':!![],'required':!![]},{'name':"identityJoinRequests",'type':"@keet/join-request",'array':!![],'required':!![]}]}),_0x4a2a01.register({'name':"start-pairing-request",'fields':createRequest([{'name':"invitation",'type':"string",'required':!![]},{'name':"isIdentity",'type':"bool"}])}),_0x4a2a01.register({'name':"start-pairing-response",'fields':createResponse([])}),_0x4a2a01.register({'name':"invitation-permissions",'fields':[{'name':"canModerate",'type':"bool"},{'name':"canAdmin",'type':"bool"},{'name':"requiresConfirmation",'type':"bool"},{'name':'isReadOnly','type':"bool"}]}),_0x4a2a01.register({'name':"create-room-invitation-request",'fields':createRequest([{'name':"roomKey",'type':"@keet/room-key",'required':!![]},{'name':"permissions",'type':"@api/core/invitation-permissions"},{'name':"expiration",'type':"uint"}])}),_0x4a2a01.register({'name':"create-room-invitation-response",'fields':createResponse([{'name':"invitation",'type':"string",'required':!![]}])}),_0x4a2a01.register({'name':"create-identity-invitation-request",'fields':createRequest([])}),_0x4a2a01.register({'name':"create-identity-invitation-response",'fields':createResponse([{'name':"invitation",'type':"string",'required':!![]}])}),_0x4a2a01.register({'name':"accept-join-request-request",'fields':createRequest([{'name':"roomKey",'type':"@keet/room-key",'required':!![]},{'name':"request",'type':"@keet/join-request",'required':!![]}])}),_0x4a2a01.register({'name':"accept-join-request-response",'fields':createResponse([])});
_0x4a2a01.register({'name':"reject-join-request-request",'fields':createRequest([{'name':"roomKey",'type':"@keet/room-key",'required':!![]},{'name':"request",'type':"@keet/join-request",'required':!![]}])}),_0x4a2a01.register({'name':"reject-join-request-response",'fields':createResponse([])});
_0x4a2a01.register({'name':"stop-pairing-request",'fields':createRequest([{'name':'id','type':"@keet/invitation-id",'required':!![]}])}),_0x4a2a01.register({'name':"stop-pairing-response",'fields':createResponse([])});
}
;