Built motion from commit a9fb64cc6defd8fb3a5cc199221f878e91c0e969. Version 3.0.0...
[motion-next.git] / server / api / chatInteraction / index.js
index 1aafbb2..f90618c 100644 (file)
@@ -1 +1 @@
-const a71_0x2456=['originalname','../../config/environment','index','customUpdate','/:id/attachment_upload','getMyMessages','now','get','attachmentUpload','path','removeTags','close','diskStorage','delete','/:id','/:id/my_messages','put','single','chatinteraction:destroy','show','%s-%s','root','isAuthenticated','create','isChatInteractionAuthorized','./chatInteraction.controller','format','files/attachments/','getMessages','tracked','/:id/messages','/:id/download','post','chat','addMessage','attachmentDownload','destroy','update','download','/:id/close','/:id/tags','/:id/vidaoo','/:id/abandon','join','/:id/custom_update','abandon'];(function(_0xd9e64e,_0x24565b){const _0x4e6f74=function(_0x2a7e24){while(--_0x2a7e24){_0xd9e64e['push'](_0xd9e64e['shift']());}};_0x4e6f74(++_0x24565b);}(a71_0x2456,0x186));const a71_0x4e6f=function(_0xd9e64e,_0x24565b){_0xd9e64e=_0xd9e64e-0x0;let _0x4e6f74=a71_0x2456[_0xd9e64e];return _0x4e6f74;};const _0x5b8104=a71_0x4e6f;'use strict';const multer=require('multer'),util=require('util'),path=require(_0x5b8104('0x21')),express=require('express'),router=express['Router'](),auth=require('../../components/auth/service'),interaction=require('../../components/interaction/service'),config=require(_0x5b8104('0x19')),controller=require(_0x5b8104('0x3'));router['get']('/',auth[_0x5b8104('0x0')](),controller[_0x5b8104('0x1a')]),router[_0x5b8104('0x1f')]('/describe',auth[_0x5b8104('0x0')](),controller['describe']),router['get'](_0x5b8104('0x26'),auth[_0x5b8104('0x2')](),controller[_0x5b8104('0x2b')]),router[_0x5b8104('0x1f')]('/:id/attachment_download',auth['isChatInteractionAuthorized'](),controller[_0x5b8104('0xd')]),router[_0x5b8104('0x1f')](_0x5b8104('0x8'),auth[_0x5b8104('0x0')](),controller[_0x5b8104('0x6')]),router[_0x5b8104('0x1f')](_0x5b8104('0x27'),auth['isChatInteractionAuthorized'](),controller[_0x5b8104('0x1d')]),router[_0x5b8104('0x1f')](_0x5b8104('0x9'),auth[_0x5b8104('0x0')](),controller[_0x5b8104('0x10')]),router[_0x5b8104('0xa')]('/',auth[_0x5b8104('0x0')](),controller[_0x5b8104('0x1')]),router['post'](_0x5b8104('0x13'),auth['isAuthenticated'](),controller['createVidaooSession']);const upload=multer({'storage':multer[_0x5b8104('0x24')]({'destination':function(_0x2a7e24,_0x44b29f,_0x13cefd){const _0x3d0fe0=_0x5b8104;_0x13cefd(null,path[_0x3d0fe0('0x15')](config[_0x3d0fe0('0x2d')],_0x3d0fe0('0x5')));},'filename':function(_0x3bf1b8,_0x3955d7,_0x448fb8){const _0x39b732=_0x5b8104;_0x448fb8(null,util[_0x39b732('0x4')](_0x39b732('0x2c'),Date[_0x39b732('0x1e')](),_0x3955d7[_0x39b732('0x18')]['replace'](/[+@&/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x5b8104('0xa')](_0x5b8104('0x1c'),upload[_0x5b8104('0x29')]('file'),controller[_0x5b8104('0x20')]),router['post'](_0x5b8104('0x8'),auth[_0x5b8104('0x2')](),controller[_0x5b8104('0xc')]),router[_0x5b8104('0xa')]('/:id/tags',auth[_0x5b8104('0x0')](),interaction[_0x5b8104('0x7')](_0x5b8104('0xb'),'chatinteraction:addtags'),controller['addTags']),router['put'](_0x5b8104('0x26'),auth[_0x5b8104('0x0')](),interaction[_0x5b8104('0x7')](_0x5b8104('0xb'),'chatinteraction:update'),controller[_0x5b8104('0xf')]),router[_0x5b8104('0x28')](_0x5b8104('0x16'),controller[_0x5b8104('0x1b')]),router['put'](_0x5b8104('0x14'),auth[_0x5b8104('0x2')](),controller[_0x5b8104('0x17')]),router[_0x5b8104('0x28')](_0x5b8104('0x11'),controller[_0x5b8104('0x23')]),router[_0x5b8104('0x25')](_0x5b8104('0x26'),auth[_0x5b8104('0x0')](),interaction[_0x5b8104('0x7')](_0x5b8104('0xb'),_0x5b8104('0x2a')),controller[_0x5b8104('0xe')]),router['delete'](_0x5b8104('0x12'),auth[_0x5b8104('0x0')](),controller[_0x5b8104('0x22')]),module['exports']=router;
\ No newline at end of file
+const a71_0x19cc=['/:id/custom_update','isAuthenticated','%s-%s','/:id','update','show','root','path','files/attachments/','tracked','/:id/attachment_upload','describe','../../components/interaction/service','/:id/attachment_download','join','get','createVidaooSession','../../components/auth/service','post','express','download','chat','put','/:id/my_messages','chatinteraction:destroy','/:id/tags','abandon','chatinteraction:addtags','/:id/abandon','/describe','exports','multer','addTags','delete','attachmentUpload','create','./chatInteraction.controller','addMessage','util','removeTags','diskStorage','/:id/close','customUpdate','/:id/download','getMessages','/:id/messages','file','isChatInteractionAuthorized','originalname','single','replace','destroy','close'];(function(_0x18e764,_0x19cc11){const _0x3ce0fd=function(_0x25d9f4){while(--_0x25d9f4){_0x18e764['push'](_0x18e764['shift']());}};_0x3ce0fd(++_0x19cc11);}(a71_0x19cc,0xee));const a71_0x3ce0=function(_0x18e764,_0x19cc11){_0x18e764=_0x18e764-0x0;let _0x3ce0fd=a71_0x19cc[_0x18e764];return _0x3ce0fd;};const _0x4d0f80=a71_0x3ce0;'use strict';const multer=require(_0x4d0f80('0x5')),util=require(_0x4d0f80('0xc')),path=require(_0x4d0f80('0x22')),express=require(_0x4d0f80('0x2e')),router=express['Router'](),auth=require(_0x4d0f80('0x2c')),interaction=require(_0x4d0f80('0x27')),config=require('../../config/environment'),controller=require(_0x4d0f80('0xa'));router['get']('/',auth['isAuthenticated'](),controller['index']),router[_0x4d0f80('0x2a')](_0x4d0f80('0x3'),auth[_0x4d0f80('0x1c')](),controller[_0x4d0f80('0x26')]),router[_0x4d0f80('0x2a')](_0x4d0f80('0x1e'),auth[_0x4d0f80('0x15')](),controller[_0x4d0f80('0x20')]),router[_0x4d0f80('0x2a')](_0x4d0f80('0x28'),auth[_0x4d0f80('0x15')](),controller['attachmentDownload']),router[_0x4d0f80('0x2a')](_0x4d0f80('0x13'),auth[_0x4d0f80('0x1c')](),controller[_0x4d0f80('0x12')]),router[_0x4d0f80('0x2a')](_0x4d0f80('0x32'),auth[_0x4d0f80('0x15')](),controller['getMyMessages']),router['get'](_0x4d0f80('0x11'),auth[_0x4d0f80('0x1c')](),controller[_0x4d0f80('0x2f')]),router[_0x4d0f80('0x2d')]('/',auth[_0x4d0f80('0x1c')](),controller[_0x4d0f80('0x9')]),router[_0x4d0f80('0x2d')]('/:id/vidaoo',auth[_0x4d0f80('0x1c')](),controller[_0x4d0f80('0x2b')]);const upload=multer({'storage':multer[_0x4d0f80('0xe')]({'destination':function(_0x25d9f4,_0x106203,_0x4bb5cb){const _0xe717f6=_0x4d0f80;_0x4bb5cb(null,path[_0xe717f6('0x29')](config[_0xe717f6('0x21')],_0xe717f6('0x23')));},'filename':function(_0x5bd729,_0x48e3b8,_0xa7269b){const _0x5b0414=_0x4d0f80;_0xa7269b(null,util['format'](_0x5b0414('0x1d'),Date['now'](),_0x48e3b8[_0x5b0414('0x16')][_0x5b0414('0x18')](/[+@&/\\#,+()$~%'":*?<>{}\s\\|]/g,'-')));}})});router[_0x4d0f80('0x2d')](_0x4d0f80('0x25'),upload[_0x4d0f80('0x17')](_0x4d0f80('0x14')),controller[_0x4d0f80('0x8')]),router['post'](_0x4d0f80('0x13'),auth[_0x4d0f80('0x15')](),controller[_0x4d0f80('0xb')]),router['post'](_0x4d0f80('0x34'),auth[_0x4d0f80('0x1c')](),interaction[_0x4d0f80('0x24')](_0x4d0f80('0x30'),_0x4d0f80('0x1')),controller[_0x4d0f80('0x6')]),router[_0x4d0f80('0x31')](_0x4d0f80('0x1e'),auth[_0x4d0f80('0x1c')](),interaction['tracked'](_0x4d0f80('0x30'),'chatinteraction:update'),controller[_0x4d0f80('0x1f')]),router[_0x4d0f80('0x31')](_0x4d0f80('0x1b'),controller[_0x4d0f80('0x10')]),router['put'](_0x4d0f80('0x2'),auth[_0x4d0f80('0x15')](),controller[_0x4d0f80('0x0')]),router['put'](_0x4d0f80('0xf'),controller[_0x4d0f80('0x1a')]),router[_0x4d0f80('0x7')]('/:id',auth[_0x4d0f80('0x1c')](),interaction[_0x4d0f80('0x24')](_0x4d0f80('0x30'),_0x4d0f80('0x33')),controller[_0x4d0f80('0x19')]),router['delete']('/:id/tags',auth[_0x4d0f80('0x1c')](),controller[_0x4d0f80('0xd')]),module[_0x4d0f80('0x4')]=router;
\ No newline at end of file