Built motion from commit 639a1a7f.|2.6.19
[motion2.git] / server / api / smsQueueReport / 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 _0xb7d8=['../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','/describe','/:id','show','post','create','update','delete','exports','multer','util','connect-timeout','fs-extra','../../components/auth/service'];(function(_0x3ad58c,_0x1fd63b){var _0x172063=function(_0x4cd87a){while(--_0x4cd87a){_0x3ad58c['push'](_0x3ad58c['shift']());}};_0x172063(++_0x1fd63b);}(_0xb7d8,0x163));var _0x8b7d=function(_0x5a5a11,_0x45ac63){_0x5a5a11=_0x5a5a11-0x0;var _0x510cb3=_0xb7d8[_0x5a5a11];return _0x510cb3;};'use strict';var multer=require(_0x8b7d('0x0'));var util=require(_0x8b7d('0x1'));var path=require('path');var timeout=require(_0x8b7d('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x8b7d('0x3'));var auth=require(_0x8b7d('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x8b7d('0x5'));var controller=require(_0x8b7d('0x6'));router[_0x8b7d('0x7')]('/',auth[_0x8b7d('0x8')](),controller[_0x8b7d('0x9')]);router[_0x8b7d('0x7')](_0x8b7d('0xa'),auth['isAuthenticated'](),controller['describe']);router[_0x8b7d('0x7')](_0x8b7d('0xb'),auth[_0x8b7d('0x8')](),controller[_0x8b7d('0xc')]);router[_0x8b7d('0xd')]('/',auth[_0x8b7d('0x8')](),controller[_0x8b7d('0xe')]);router['put'](_0x8b7d('0xb'),auth[_0x8b7d('0x8')](),controller[_0x8b7d('0xf')]);router[_0x8b7d('0x10')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0x8b7d('0x11')]=router;