7fe8093221e7b24648651c6e22518487cd966a18
[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 _0x6506=['addTeams','addAgents','put','update','delete','destroy','removeTeams','exports','multer','connect-timeout','express','fs-extra','../../components/interaction/service','../../config/environment','./smsQueue.controller','get','isAuthenticated','index','/describe','describe','/:id','show','/:id/members','getMembers','/:id/teams','getTeams','/:id/users','getAgents','post','create'];(function(_0x12b116,_0xfd8648){var _0x833bd=function(_0x58f280){while(--_0x58f280){_0x12b116['push'](_0x12b116['shift']());}};_0x833bd(++_0xfd8648);}(_0x6506,0xbc));var _0x6650=function(_0x616290,_0x280b7f){_0x616290=_0x616290-0x0;var _0x453879=_0x6506[_0x616290];return _0x453879;};'use strict';var multer=require(_0x6650('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x6650('0x1'));var express=require(_0x6650('0x2'));var router=express['Router']();var fs_extra=require(_0x6650('0x3'));var auth=require('../../components/auth/service');var interaction=require(_0x6650('0x4'));var config=require(_0x6650('0x5'));var controller=require(_0x6650('0x6'));router[_0x6650('0x7')]('/',auth[_0x6650('0x8')](),controller[_0x6650('0x9')]);router[_0x6650('0x7')](_0x6650('0xa'),auth[_0x6650('0x8')](),controller[_0x6650('0xb')]);router['get'](_0x6650('0xc'),auth[_0x6650('0x8')](),controller[_0x6650('0xd')]);router[_0x6650('0x7')](_0x6650('0xe'),auth[_0x6650('0x8')](),controller[_0x6650('0xf')]);router[_0x6650('0x7')](_0x6650('0x10'),auth['isAuthenticated'](),controller[_0x6650('0x11')]);router[_0x6650('0x7')](_0x6650('0x12'),auth[_0x6650('0x8')](),controller[_0x6650('0x13')]);router[_0x6650('0x14')]('/',auth[_0x6650('0x8')](),controller[_0x6650('0x15')]);router[_0x6650('0x14')](_0x6650('0x10'),auth['isAuthenticated'](),controller[_0x6650('0x16')]);router[_0x6650('0x14')]('/:id/users',auth[_0x6650('0x8')](),controller[_0x6650('0x17')]);router[_0x6650('0x18')](_0x6650('0xc'),auth[_0x6650('0x8')](),controller[_0x6650('0x19')]);router[_0x6650('0x1a')]('/:id',auth['isAuthenticated'](),controller[_0x6650('0x1b')]);router['delete'](_0x6650('0x10'),auth[_0x6650('0x8')](),controller[_0x6650('0x1c')]);router[_0x6650('0x1a')](_0x6650('0x12'),auth[_0x6650('0x8')](),controller['removeAgents']);module[_0x6650('0x1d')]=router;