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