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