Built motion from commit 994c64e1.|2.6.1
[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 _0x732f=['../../components/auth/service','../../config/environment','./smsQueue.controller','isAuthenticated','index','/describe','describe','get','/:id','show','/:id/members','getMembers','/:id/teams','/:id/users','getAgents','create','post','addTeams','addAgents','put','update','delete','removeTeams','removeAgents','exports','multer','util','connect-timeout','express'];(function(_0x48b5e0,_0xb3826){var _0x4287ea=function(_0x14519e){while(--_0x14519e){_0x48b5e0['push'](_0x48b5e0['shift']());}};_0x4287ea(++_0xb3826);}(_0x732f,0x1e9));var _0xf732=function(_0x5eb3c1,_0x2d0bab){_0x5eb3c1=_0x5eb3c1-0x0;var _0xfafed=_0x732f[_0x5eb3c1];return _0xfafed;};'use strict';var multer=require(_0xf732('0x0'));var util=require(_0xf732('0x1'));var path=require('path');var timeout=require(_0xf732('0x2'));var express=require(_0xf732('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xf732('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xf732('0x5'));var controller=require(_0xf732('0x6'));router['get']('/',auth[_0xf732('0x7')](),controller[_0xf732('0x8')]);router['get'](_0xf732('0x9'),auth[_0xf732('0x7')](),controller[_0xf732('0xa')]);router[_0xf732('0xb')](_0xf732('0xc'),auth[_0xf732('0x7')](),controller[_0xf732('0xd')]);router[_0xf732('0xb')](_0xf732('0xe'),auth[_0xf732('0x7')](),controller[_0xf732('0xf')]);router[_0xf732('0xb')](_0xf732('0x10'),auth[_0xf732('0x7')](),controller['getTeams']);router['get'](_0xf732('0x11'),auth[_0xf732('0x7')](),controller[_0xf732('0x12')]);router['post']('/',auth[_0xf732('0x7')](),controller[_0xf732('0x13')]);router[_0xf732('0x14')](_0xf732('0x10'),auth['isAuthenticated'](),controller[_0xf732('0x15')]);router[_0xf732('0x14')](_0xf732('0x11'),auth['isAuthenticated'](),controller[_0xf732('0x16')]);router[_0xf732('0x17')](_0xf732('0xc'),auth[_0xf732('0x7')](),controller[_0xf732('0x18')]);router[_0xf732('0x19')](_0xf732('0xc'),auth['isAuthenticated'](),controller['destroy']);router['delete']('/:id/teams',auth[_0xf732('0x7')](),controller[_0xf732('0x1a')]);router[_0xf732('0x19')](_0xf732('0x11'),auth[_0xf732('0x7')](),controller[_0xf732('0x1b')]);module[_0xf732('0x1c')]=router;