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