Built motion from commit bab6f49e.|2.6.17
[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 _0x2c19=['update','delete','destroy','exports','multer','util','path','connect-timeout','fs-extra','../../components/auth/service','../../components/interaction/service','./smsQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create','put'];(function(_0x74895e,_0x298c35){var _0x40bc2a=function(_0x558c6d){while(--_0x558c6d){_0x74895e['push'](_0x74895e['shift']());}};_0x40bc2a(++_0x298c35);}(_0x2c19,0x17a));var _0x92c1=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x2c19[_0x20a584];return _0x4b41a8;};'use strict';var multer=require(_0x92c1('0x0'));var util=require(_0x92c1('0x1'));var path=require(_0x92c1('0x2'));var timeout=require(_0x92c1('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require(_0x92c1('0x4'));var auth=require(_0x92c1('0x5'));var interaction=require(_0x92c1('0x6'));var config=require('../../config/environment');var controller=require(_0x92c1('0x7'));router[_0x92c1('0x8')]('/',auth[_0x92c1('0x9')](),controller[_0x92c1('0xa')]);router[_0x92c1('0x8')](_0x92c1('0xb'),auth[_0x92c1('0x9')](),controller[_0x92c1('0xc')]);router[_0x92c1('0x8')](_0x92c1('0xd'),auth[_0x92c1('0x9')](),controller[_0x92c1('0xe')]);router[_0x92c1('0xf')]('/',auth[_0x92c1('0x9')](),controller[_0x92c1('0x10')]);router[_0x92c1('0x11')]('/:id',auth[_0x92c1('0x9')](),controller[_0x92c1('0x12')]);router[_0x92c1('0x13')](_0x92c1('0xd'),auth[_0x92c1('0x9')](),controller[_0x92c1('0x14')]);module[_0x92c1('0x15')]=router;