Built motion from commit (unavailable).|2.5.21
[motion2.git] / server / api / whatsappAccount / index.js
index 62d245c..99ff696 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xaf6b=['/:id/applications','addApplications','/:id/notify','/:id/send','send','put','update','delete','/:id','removeDispositions','removeAnswers','exports','multer','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','isAuthenticated','index','get','describe','/:id/dispositions','getDispositions','/:id/canned_answers','/:id/users','getAgents','getApplications','post','create','addDisposition','addAnswer','addAgents'];(function(_0x1a2238,_0x24c8b6){var _0x3d0b35=function(_0x6c935e){while(--_0x6c935e){_0x1a2238['push'](_0x1a2238['shift']());}};_0x3d0b35(++_0x24c8b6);}(_0xaf6b,0x147));var _0xbaf6=function(_0x70381f,_0x3ce152){_0x70381f=_0x70381f-0x0;var _0xc650ea=_0xaf6b[_0x70381f];return _0xc650ea;};'use strict';var multer=require(_0xbaf6('0x0'));var util=require('util');var path=require(_0xbaf6('0x1'));var timeout=require(_0xbaf6('0x2'));var express=require('express');var router=express[_0xbaf6('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0xbaf6('0x4'));var interaction=require(_0xbaf6('0x5'));var config=require(_0xbaf6('0x6'));var controller=require(_0xbaf6('0x7'));router['get']('/',auth[_0xbaf6('0x8')](),controller[_0xbaf6('0x9')]);router[_0xbaf6('0xa')]('/describe',auth[_0xbaf6('0x8')](),controller[_0xbaf6('0xb')]);router[_0xbaf6('0xa')]('/:id',auth[_0xbaf6('0x8')](),controller['show']);router['get'](_0xbaf6('0xc'),auth['isAuthenticated'](),controller[_0xbaf6('0xd')]);router[_0xbaf6('0xa')](_0xbaf6('0xe'),auth['isAuthenticated'](),controller['getAnswers']);router[_0xbaf6('0xa')](_0xbaf6('0xf'),auth['isAuthenticated'](),controller[_0xbaf6('0x10')]);router[_0xbaf6('0xa')]('/:id/applications',auth['isAuthenticated'](),controller[_0xbaf6('0x11')]);router[_0xbaf6('0x12')]('/',auth[_0xbaf6('0x8')](),controller[_0xbaf6('0x13')]);router['post'](_0xbaf6('0xc'),auth['isAuthenticated'](),controller[_0xbaf6('0x14')]);router[_0xbaf6('0x12')]('/:id/canned_answers',auth[_0xbaf6('0x8')](),controller[_0xbaf6('0x15')]);router[_0xbaf6('0x12')](_0xbaf6('0xf'),auth[_0xbaf6('0x8')](),controller[_0xbaf6('0x16')]);router[_0xbaf6('0x12')](_0xbaf6('0x17'),auth['isAuthenticated'](),controller[_0xbaf6('0x18')]);router[_0xbaf6('0x12')](_0xbaf6('0x19'),controller['notify']);router[_0xbaf6('0x12')](_0xbaf6('0x1a'),auth[_0xbaf6('0x8')](),controller[_0xbaf6('0x1b')]);router[_0xbaf6('0x1c')]('/:id',auth[_0xbaf6('0x8')](),controller[_0xbaf6('0x1d')]);router[_0xbaf6('0x1e')](_0xbaf6('0x1f'),auth['isAuthenticated'](),controller['destroy']);router[_0xbaf6('0x1e')](_0xbaf6('0xc'),auth[_0xbaf6('0x8')](),controller[_0xbaf6('0x20')]);router[_0xbaf6('0x1e')](_0xbaf6('0xe'),auth[_0xbaf6('0x8')](),controller[_0xbaf6('0x21')]);router[_0xbaf6('0x1e')]('/:id/users',auth[_0xbaf6('0x8')](),controller['removeAgents']);module[_0xbaf6('0x22')]=router;
\ No newline at end of file
+var _0x1a85=['removeAgents','exports','path','connect-timeout','express','../../components/interaction/service','../../config/environment','./whatsappAccount.controller','isAuthenticated','get','describe','/:id','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/users','getAgents','/:id/applications','getApplications','post','create','addDisposition','addAnswer','addAgents','addApplications','/:id/notify','notify','/:id/send','send','put','update','delete','removeDispositions'];(function(_0x138d6d,_0x4dc6f9){var _0x3f080a=function(_0x471c8c){while(--_0x471c8c){_0x138d6d['push'](_0x138d6d['shift']());}};_0x3f080a(++_0x4dc6f9);}(_0x1a85,0x178));var _0x51a8=function(_0x1b3f52,_0x4f5b13){_0x1b3f52=_0x1b3f52-0x0;var _0x36bf2c=_0x1a85[_0x1b3f52];return _0x36bf2c;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x51a8('0x0'));var timeout=require(_0x51a8('0x1'));var express=require(_0x51a8('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x51a8('0x3'));var config=require(_0x51a8('0x4'));var controller=require(_0x51a8('0x5'));router['get']('/',auth[_0x51a8('0x6')](),controller['index']);router[_0x51a8('0x7')]('/describe',auth[_0x51a8('0x6')](),controller[_0x51a8('0x8')]);router['get'](_0x51a8('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x51a8('0x7')](_0x51a8('0xa'),auth[_0x51a8('0x6')](),controller[_0x51a8('0xb')]);router[_0x51a8('0x7')](_0x51a8('0xc'),auth[_0x51a8('0x6')](),controller[_0x51a8('0xd')]);router[_0x51a8('0x7')](_0x51a8('0xe'),auth[_0x51a8('0x6')](),controller[_0x51a8('0xf')]);router[_0x51a8('0x7')](_0x51a8('0x10'),auth[_0x51a8('0x6')](),controller[_0x51a8('0x11')]);router[_0x51a8('0x12')]('/',auth['isAuthenticated'](),controller[_0x51a8('0x13')]);router[_0x51a8('0x12')](_0x51a8('0xa'),auth['isAuthenticated'](),controller[_0x51a8('0x14')]);router['post'](_0x51a8('0xc'),auth[_0x51a8('0x6')](),controller[_0x51a8('0x15')]);router[_0x51a8('0x12')](_0x51a8('0xe'),auth[_0x51a8('0x6')](),controller[_0x51a8('0x16')]);router['post'](_0x51a8('0x10'),auth[_0x51a8('0x6')](),controller[_0x51a8('0x17')]);router[_0x51a8('0x12')](_0x51a8('0x18'),controller[_0x51a8('0x19')]);router['post'](_0x51a8('0x1a'),auth[_0x51a8('0x6')](),controller[_0x51a8('0x1b')]);router[_0x51a8('0x1c')](_0x51a8('0x9'),auth[_0x51a8('0x6')](),controller[_0x51a8('0x1d')]);router[_0x51a8('0x1e')]('/:id',auth[_0x51a8('0x6')](),controller['destroy']);router[_0x51a8('0x1e')](_0x51a8('0xa'),auth[_0x51a8('0x6')](),controller[_0x51a8('0x1f')]);router['delete'](_0x51a8('0xc'),auth['isAuthenticated'](),controller['removeAnswers']);router[_0x51a8('0x1e')]('/:id/users',auth[_0x51a8('0x6')](),controller[_0x51a8('0x20')]);module[_0x51a8('0x21')]=router;
\ No newline at end of file