Built motion from commit da617fac.|2.6.6
[motion2.git] / server / api / smsAccount / index.js
index fc7bf8b..ea8a222 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x7630=['post','/:id/dispositions','addDisposition','addAnswer','/:id/notify','notify','addApplications','/:id/send','send','status','addAgents','put','/:id','update','destroy','delete','removeDispositions','removeAnswers','exports','multer','path','connect-timeout','express','Router','../../config/environment','./smsAccount.controller','get','index','/describe','isAuthenticated','show','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/status','statusGet','/:id/users'];(function(_0x4cf98e,_0xba4b79){var _0x1623ac=function(_0x459bc0){while(--_0x459bc0){_0x4cf98e['push'](_0x4cf98e['shift']());}};_0x1623ac(++_0xba4b79);}(_0x7630,0x172));var _0x0763=function(_0x26d64e,_0x178608){_0x26d64e=_0x26d64e-0x0;var _0xf16657=_0x7630[_0x26d64e];return _0xf16657;};'use strict';var multer=require(_0x0763('0x0'));var util=require('util');var path=require(_0x0763('0x1'));var timeout=require(_0x0763('0x2'));var express=require(_0x0763('0x3'));var router=express[_0x0763('0x4')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x0763('0x5'));var controller=require(_0x0763('0x6'));router[_0x0763('0x7')]('/',auth['isAuthenticated'](),controller[_0x0763('0x8')]);router[_0x0763('0x7')](_0x0763('0x9'),auth['isAuthenticated'](),controller['describe']);router[_0x0763('0x7')]('/:id',auth[_0x0763('0xa')](),controller[_0x0763('0xb')]);router[_0x0763('0x7')]('/:id/dispositions',auth[_0x0763('0xa')](),controller[_0x0763('0xc')]);router[_0x0763('0x7')](_0x0763('0xd'),auth[_0x0763('0xa')](),controller[_0x0763('0xe')]);router['get'](_0x0763('0xf'),auth[_0x0763('0xa')](),controller[_0x0763('0x10')]);router['get']('/:id/interactions',auth[_0x0763('0xa')](),controller['getInteractions']);router[_0x0763('0x7')](_0x0763('0x11'),controller[_0x0763('0x12')]);router[_0x0763('0x7')](_0x0763('0x13'),auth[_0x0763('0xa')](),controller['getAgents']);router[_0x0763('0x14')]('/',auth[_0x0763('0xa')](),controller['create']);router['post'](_0x0763('0x15'),auth[_0x0763('0xa')](),controller[_0x0763('0x16')]);router[_0x0763('0x14')](_0x0763('0xd'),auth[_0x0763('0xa')](),controller[_0x0763('0x17')]);router[_0x0763('0x14')](_0x0763('0x18'),controller[_0x0763('0x19')]);router['post'](_0x0763('0xf'),auth[_0x0763('0xa')](),controller[_0x0763('0x1a')]);router[_0x0763('0x14')](_0x0763('0x1b'),auth[_0x0763('0xa')](),controller[_0x0763('0x1c')]);router['post']('/:id/status',controller[_0x0763('0x1d')]);router['post'](_0x0763('0x13'),auth[_0x0763('0xa')](),controller[_0x0763('0x1e')]);router[_0x0763('0x1f')](_0x0763('0x20'),auth['isAuthenticated'](),controller[_0x0763('0x21')]);router['delete'](_0x0763('0x20'),auth[_0x0763('0xa')](),controller[_0x0763('0x22')]);router[_0x0763('0x23')](_0x0763('0x15'),auth[_0x0763('0xa')](),controller[_0x0763('0x24')]);router[_0x0763('0x23')](_0x0763('0xd'),auth['isAuthenticated'](),controller[_0x0763('0x25')]);router['delete'](_0x0763('0x13'),auth[_0x0763('0xa')](),controller['removeAgents']);module[_0x0763('0x26')]=router;
\ No newline at end of file
+var _0x814b=['/describe','describe','/:id','show','/:id/dispositions','getDispositions','/:id/canned_answers','getAnswers','/:id/applications','getApplications','/:id/interactions','getInteractions','/:id/status','statusGet','/:id/users','getAgents','post','create','addDisposition','addAnswer','/:id/send','status','addAgents','put','update','destroy','delete','removeDispositions','removeAnswers','removeAgents','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsAccount.controller','get','isAuthenticated'];(function(_0x3064e7,_0x34edba){var _0x26038e=function(_0x35336c){while(--_0x35336c){_0x3064e7['push'](_0x3064e7['shift']());}};_0x26038e(++_0x34edba);}(_0x814b,0x1a2));var _0xb814=function(_0x1d291d,_0x17314a){_0x1d291d=_0x1d291d-0x0;var _0x44cc4e=_0x814b[_0x1d291d];return _0x44cc4e;};'use strict';var multer=require(_0xb814('0x0'));var util=require(_0xb814('0x1'));var path=require(_0xb814('0x2'));var timeout=require(_0xb814('0x3'));var express=require(_0xb814('0x4'));var router=express[_0xb814('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xb814('0x6'));var interaction=require(_0xb814('0x7'));var config=require(_0xb814('0x8'));var controller=require(_0xb814('0x9'));router[_0xb814('0xa')]('/',auth[_0xb814('0xb')](),controller['index']);router[_0xb814('0xa')](_0xb814('0xc'),auth['isAuthenticated'](),controller[_0xb814('0xd')]);router[_0xb814('0xa')](_0xb814('0xe'),auth[_0xb814('0xb')](),controller[_0xb814('0xf')]);router[_0xb814('0xa')](_0xb814('0x10'),auth[_0xb814('0xb')](),controller[_0xb814('0x11')]);router[_0xb814('0xa')](_0xb814('0x12'),auth['isAuthenticated'](),controller[_0xb814('0x13')]);router['get'](_0xb814('0x14'),auth[_0xb814('0xb')](),controller[_0xb814('0x15')]);router[_0xb814('0xa')](_0xb814('0x16'),auth[_0xb814('0xb')](),controller[_0xb814('0x17')]);router[_0xb814('0xa')](_0xb814('0x18'),controller[_0xb814('0x19')]);router[_0xb814('0xa')](_0xb814('0x1a'),auth[_0xb814('0xb')](),controller[_0xb814('0x1b')]);router[_0xb814('0x1c')]('/',auth[_0xb814('0xb')](),controller[_0xb814('0x1d')]);router[_0xb814('0x1c')](_0xb814('0x10'),auth[_0xb814('0xb')](),controller[_0xb814('0x1e')]);router['post'](_0xb814('0x12'),auth['isAuthenticated'](),controller[_0xb814('0x1f')]);router[_0xb814('0x1c')]('/:id/notify',controller['notify']);router['post'](_0xb814('0x14'),auth['isAuthenticated'](),controller['addApplications']);router[_0xb814('0x1c')](_0xb814('0x20'),auth[_0xb814('0xb')](),controller['send']);router[_0xb814('0x1c')]('/:id/status',controller[_0xb814('0x21')]);router[_0xb814('0x1c')](_0xb814('0x1a'),auth[_0xb814('0xb')](),controller[_0xb814('0x22')]);router[_0xb814('0x23')](_0xb814('0xe'),auth['isAuthenticated'](),controller[_0xb814('0x24')]);router['delete'](_0xb814('0xe'),auth[_0xb814('0xb')](),controller[_0xb814('0x25')]);router[_0xb814('0x26')](_0xb814('0x10'),auth[_0xb814('0xb')](),controller[_0xb814('0x27')]);router['delete'](_0xb814('0x12'),auth[_0xb814('0xb')](),controller[_0xb814('0x28')]);router[_0xb814('0x26')](_0xb814('0x1a'),auth[_0xb814('0xb')](),controller[_0xb814('0x29')]);module[_0xb814('0x2a')]=router;
\ No newline at end of file