Built motion from commit (unavailable).|2.5.18
[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 _0xc1fc=['/:id/teams','getTeams','/:id/users','getAgents','post','create','addAgents','put','update','delete','removeAgents','exports','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueue.controller','get','isAuthenticated','/describe','describe','/:id','/:id/members','getMembers'];(function(_0x45d55e,_0x2fede3){var _0x29812a=function(_0x3c6830){while(--_0x3c6830){_0x45d55e['push'](_0x45d55e['shift']());}};_0x29812a(++_0x2fede3);}(_0xc1fc,0x93));var _0xcc1f=function(_0x19d3bc,_0x511f68){_0x19d3bc=_0x19d3bc-0x0;var _0x553da0=_0xc1fc[_0x19d3bc];return _0x553da0;};'use strict';var multer=require('multer');var util=require(_0xcc1f('0x0'));var path=require(_0xcc1f('0x1'));var timeout=require('connect-timeout');var express=require(_0xcc1f('0x2'));var router=express[_0xcc1f('0x3')]();var auth=require(_0xcc1f('0x4'));var interaction=require(_0xcc1f('0x5'));var config=require(_0xcc1f('0x6'));var controller=require(_0xcc1f('0x7'));router[_0xcc1f('0x8')]('/',auth[_0xcc1f('0x9')](),controller['index']);router['get'](_0xcc1f('0xa'),auth[_0xcc1f('0x9')](),controller[_0xcc1f('0xb')]);router[_0xcc1f('0x8')](_0xcc1f('0xc'),auth['isAuthenticated'](),controller['show']);router['get'](_0xcc1f('0xd'),auth[_0xcc1f('0x9')](),controller[_0xcc1f('0xe')]);router[_0xcc1f('0x8')](_0xcc1f('0xf'),auth[_0xcc1f('0x9')](),controller[_0xcc1f('0x10')]);router[_0xcc1f('0x8')](_0xcc1f('0x11'),auth['isAuthenticated'](),controller[_0xcc1f('0x12')]);router[_0xcc1f('0x13')]('/',auth[_0xcc1f('0x9')](),controller[_0xcc1f('0x14')]);router[_0xcc1f('0x13')](_0xcc1f('0xf'),auth[_0xcc1f('0x9')](),controller['addTeams']);router[_0xcc1f('0x13')](_0xcc1f('0x11'),auth[_0xcc1f('0x9')](),controller[_0xcc1f('0x15')]);router[_0xcc1f('0x16')](_0xcc1f('0xc'),auth[_0xcc1f('0x9')](),controller[_0xcc1f('0x17')]);router[_0xcc1f('0x18')](_0xcc1f('0xc'),auth['isAuthenticated'](),controller['destroy']);router[_0xcc1f('0x18')](_0xcc1f('0xf'),auth[_0xcc1f('0x9')](),controller['removeTeams']);router[_0xcc1f('0x18')]('/:id/users',auth['isAuthenticated'](),controller[_0xcc1f('0x19')]);module[_0xcc1f('0x1a')]=router;