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