Built motion from commit (unavailable).|2.4.6
[motion2.git] / server / api / smsQueue / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xea1c=['addAgents','put','/:id','update','delete','destroy','removeTeams','removeAgents','exports','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./smsQueue.controller','get','isAuthenticated','index','/describe','describe','show','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create','addTeams'];(function(_0x5c422a,_0x304847){var _0x585f5c=function(_0x29fe77){while(--_0x29fe77){_0x5c422a['push'](_0x5c422a['shift']());}};_0x585f5c(++_0x304847);}(_0xea1c,0x117));var _0xcea1=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xea1c[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xcea1('0x0'));var timeout=require(_0xcea1('0x1'));var express=require(_0xcea1('0x2'));var router=express[_0xcea1('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0xcea1('0x4'));var config=require(_0xcea1('0x5'));var controller=require(_0xcea1('0x6'));router[_0xcea1('0x7')]('/',auth[_0xcea1('0x8')](),controller[_0xcea1('0x9')]);router[_0xcea1('0x7')](_0xcea1('0xa'),auth[_0xcea1('0x8')](),controller[_0xcea1('0xb')]);router[_0xcea1('0x7')]('/:id',auth[_0xcea1('0x8')](),controller[_0xcea1('0xc')]);router[_0xcea1('0x7')]('/:id/members',auth[_0xcea1('0x8')](),controller[_0xcea1('0xd')]);router[_0xcea1('0x7')](_0xcea1('0xe'),auth[_0xcea1('0x8')](),controller[_0xcea1('0xf')]);router[_0xcea1('0x7')](_0xcea1('0x10'),auth[_0xcea1('0x8')](),controller[_0xcea1('0x11')]);router[_0xcea1('0x12')]('/',auth['isAuthenticated'](),controller[_0xcea1('0x13')]);router['post'](_0xcea1('0xe'),auth[_0xcea1('0x8')](),controller[_0xcea1('0x14')]);router['post']('/:id/users',auth[_0xcea1('0x8')](),controller[_0xcea1('0x15')]);router[_0xcea1('0x16')](_0xcea1('0x17'),auth[_0xcea1('0x8')](),controller[_0xcea1('0x18')]);router[_0xcea1('0x19')](_0xcea1('0x17'),auth[_0xcea1('0x8')](),controller[_0xcea1('0x1a')]);router[_0xcea1('0x19')]('/:id/teams',auth['isAuthenticated'](),controller[_0xcea1('0x1b')]);router[_0xcea1('0x19')]('/:id/users',auth['isAuthenticated'](),controller[_0xcea1('0x1c')]);module[_0xcea1('0x1d')]=router;