Built motion from commit df3e9871f6bcc3432fec345b2f4facbd4dba8b5c. Version 3.0.0...
[motion-next.git] / server / api / chatInteraction / index.js
index 79b01cc..2bc7718 100644 (file)
@@ -1 +1 @@
-const a71_0x3046=['/:id/download','originalname','exports','chatinteraction:update','isChatInteractionAuthorized','replace','/describe','describe','now','/:id','/:id/attachment_download','post','chatinteraction:addtags','root','addTags','attachmentUpload','/:id/my_messages','/:id/tags','isAuthenticated','destroy','/:id/messages','../../components/auth/service','files/attachments/','tracked','put','chatinteraction:destroy','delete','Router','getMyMessages','customUpdate','/:id/attachment_upload','join','express','create','createVidaooSession','../../components/interaction/service','/:id/custom_update','util','attachmentDownload','download','path','%s-%s','../../config/environment','addMessage','single','multer','get','chat'];(function(_0x584927,_0x3046e9){const _0x461177=function(_0x56d409){while(--_0x56d409){_0x584927['push'](_0x584927['shift']());}};_0x461177(++_0x3046e9);}(a71_0x3046,0x163));const a71_0x4611=function(_0x584927,_0x3046e9){_0x584927=_0x584927-0x0;let _0x461177=a71_0x3046[_0x584927];return _0x461177;};const _0x48d987=a71_0x4611;'use strict';const multer=require(_0x48d987('0x1a')),util=require(_0x48d987('0x12')),path=require(_0x48d987('0x15')),express=require(_0x48d987('0xd')),router=express[_0x48d987('0x8')](),auth=require(_0x48d987('0x2')),interaction=require(_0x48d987('0x10')),config=require(_0x48d987('0x17')),controller=require('./chatInteraction.controller');router[_0x48d987('0x1b')]('/',auth[_0x48d987('0x2f')](),controller['index']),router[_0x48d987('0x1b')](_0x48d987('0x23'),auth[_0x48d987('0x2f')](),controller[_0x48d987('0x24')]),router[_0x48d987('0x1b')]('/:id',auth[_0x48d987('0x21')](),controller['show']),router[_0x48d987('0x1b')](_0x48d987('0x27'),auth['isChatInteractionAuthorized'](),controller[_0x48d987('0x13')]),router[_0x48d987('0x1b')](_0x48d987('0x1'),auth[_0x48d987('0x2f')](),controller['getMessages']),router[_0x48d987('0x1b')](_0x48d987('0x2d'),auth[_0x48d987('0x21')](),controller[_0x48d987('0x9')]),router[_0x48d987('0x1b')](_0x48d987('0x1d'),auth['isAuthenticated'](),controller[_0x48d987('0x14')]),router[_0x48d987('0x28')]('/',auth[_0x48d987('0x2f')](),controller[_0x48d987('0xe')]),router[_0x48d987('0x28')]('/:id/vidaoo',auth[_0x48d987('0x2f')](),controller[_0x48d987('0xf')]);const upload=multer({'storage':multer['diskStorage']({'destination':function(_0x56d409,_0x1f5cc1,_0x4733e4){const _0x1675a9=_0x48d987;_0x4733e4(null,path[_0x1675a9('0xc')](config[_0x1675a9('0x2a')],_0x1675a9('0x3')));},'filename':function(_0x30c66a,_0x4c0b70,_0x36ecdc){const _0x345f3b=_0x48d987;_0x36ecdc(null,util['format'](_0x345f3b('0x16'),Date[_0x345f3b('0x25')](),_0x4c0b70[_0x345f3b('0x1e')][_0x345f3b('0x22')](/[+@&/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x48d987('0x28')](_0x48d987('0xb'),upload[_0x48d987('0x19')]('file'),controller[_0x48d987('0x2c')]),router[_0x48d987('0x28')](_0x48d987('0x1'),auth[_0x48d987('0x21')](),controller[_0x48d987('0x18')]),router['post'](_0x48d987('0x2e'),auth[_0x48d987('0x2f')](),interaction[_0x48d987('0x4')](_0x48d987('0x1c'),_0x48d987('0x29')),controller[_0x48d987('0x2b')]),router[_0x48d987('0x5')](_0x48d987('0x26'),auth[_0x48d987('0x2f')](),interaction[_0x48d987('0x4')]('chat',_0x48d987('0x20')),controller['update']),router['put'](_0x48d987('0x11'),controller[_0x48d987('0xa')]),router[_0x48d987('0x5')]('/:id/abandon',auth[_0x48d987('0x21')](),controller['abandon']),router[_0x48d987('0x5')]('/:id/close',controller['close']),router[_0x48d987('0x7')](_0x48d987('0x26'),auth['isAuthenticated'](),interaction[_0x48d987('0x4')]('chat',_0x48d987('0x6')),controller[_0x48d987('0x0')]),router[_0x48d987('0x7')](_0x48d987('0x2e'),auth[_0x48d987('0x2f')](),controller['removeTags']),module[_0x48d987('0x1f')]=router;
\ No newline at end of file
+const a71_0x24ac=['../../config/environment','download','/:id/attachment_download','/:id/attachment_upload','originalname','../../components/auth/service','abandon','/describe','replace','describe','put','isAuthenticated','customUpdate','getMessages','util','chatinteraction:update','/:id/download','destroy','root','chatinteraction:destroy','file','multer','chat','/:id/messages','join','../../components/interaction/service','get','addMessage','%s-%s','isChatInteractionAuthorized','addTags','/:id/abandon','delete','attachmentUpload','now','/:id/my_messages','path','/:id','/:id/vidaoo','tracked','getMyMessages','/:id/tags','update','/:id/close','files/attachments/','attachmentDownload','/:id/custom_update','removeTags','post'];(function(_0x5d6ef0,_0x24acfd){const _0x5c900b=function(_0xd627d5){while(--_0xd627d5){_0x5d6ef0['push'](_0x5d6ef0['shift']());}};_0x5c900b(++_0x24acfd);}(a71_0x24ac,0x1e3));const a71_0x5c90=function(_0x5d6ef0,_0x24acfd){_0x5d6ef0=_0x5d6ef0-0x0;let _0x5c900b=a71_0x24ac[_0x5d6ef0];return _0x5c900b;};const _0x1d79ef=a71_0x5c90;'use strict';const multer=require(_0x1d79ef('0x1c')),util=require(_0x1d79ef('0x15')),path=require(_0x1d79ef('0x2b')),express=require('express'),router=express['Router'](),auth=require(_0x1d79ef('0xc')),interaction=require(_0x1d79ef('0x20')),config=require(_0x1d79ef('0x7')),controller=require('./chatInteraction.controller');router[_0x1d79ef('0x21')]('/',auth['isAuthenticated'](),controller['index']),router[_0x1d79ef('0x21')](_0x1d79ef('0xe'),auth[_0x1d79ef('0x12')](),controller[_0x1d79ef('0x10')]),router[_0x1d79ef('0x21')]('/:id',auth[_0x1d79ef('0x24')](),controller['show']),router[_0x1d79ef('0x21')](_0x1d79ef('0x9'),auth[_0x1d79ef('0x24')](),controller[_0x1d79ef('0x3')]),router['get'](_0x1d79ef('0x1e'),auth['isAuthenticated'](),controller[_0x1d79ef('0x14')]),router[_0x1d79ef('0x21')](_0x1d79ef('0x2a'),auth[_0x1d79ef('0x24')](),controller[_0x1d79ef('0x2f')]),router[_0x1d79ef('0x21')](_0x1d79ef('0x17'),auth[_0x1d79ef('0x12')](),controller[_0x1d79ef('0x8')]),router['post']('/',auth[_0x1d79ef('0x12')](),controller['create']),router[_0x1d79ef('0x6')](_0x1d79ef('0x2d'),auth[_0x1d79ef('0x12')](),controller['createVidaooSession']);const upload=multer({'storage':multer['diskStorage']({'destination':function(_0xd627d5,_0xc2e1bc,_0x22f9e3){const _0x3a3619=_0x1d79ef;_0x22f9e3(null,path[_0x3a3619('0x1f')](config[_0x3a3619('0x19')],_0x3a3619('0x2')));},'filename':function(_0x3c55be,_0x3f6a51,_0x2dd6e7){const _0x3bec5c=_0x1d79ef;_0x2dd6e7(null,util['format'](_0x3bec5c('0x23'),Date[_0x3bec5c('0x29')](),_0x3f6a51[_0x3bec5c('0xb')][_0x3bec5c('0xf')](/[+@&/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x1d79ef('0x6')](_0x1d79ef('0xa'),upload['single'](_0x1d79ef('0x1b')),controller[_0x1d79ef('0x28')]),router['post'](_0x1d79ef('0x1e'),auth[_0x1d79ef('0x24')](),controller[_0x1d79ef('0x22')]),router[_0x1d79ef('0x6')]('/:id/tags',auth[_0x1d79ef('0x12')](),interaction[_0x1d79ef('0x2e')](_0x1d79ef('0x1d'),'chatinteraction:addtags'),controller[_0x1d79ef('0x25')]),router[_0x1d79ef('0x11')]('/:id',auth['isAuthenticated'](),interaction['tracked'](_0x1d79ef('0x1d'),_0x1d79ef('0x16')),controller[_0x1d79ef('0x0')]),router['put'](_0x1d79ef('0x4'),controller[_0x1d79ef('0x13')]),router['put'](_0x1d79ef('0x26'),auth[_0x1d79ef('0x24')](),controller[_0x1d79ef('0xd')]),router['put'](_0x1d79ef('0x1'),controller['close']),router[_0x1d79ef('0x27')](_0x1d79ef('0x2c'),auth[_0x1d79ef('0x12')](),interaction[_0x1d79ef('0x2e')](_0x1d79ef('0x1d'),_0x1d79ef('0x1a')),controller[_0x1d79ef('0x18')]),router[_0x1d79ef('0x27')](_0x1d79ef('0x30'),auth[_0x1d79ef('0x12')](),controller[_0x1d79ef('0x5')]),module['exports']=router;
\ No newline at end of file