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