82661bdfc212a5ded6af1e70c9269fe535dff2e3
[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 _0x9e76=['delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','index','get','/describe','isAuthenticated','describe','/:id','show','post','put','update'];(function(_0x2204d0,_0x570894){var _0x3601b5=function(_0x396e3a){while(--_0x396e3a){_0x2204d0['push'](_0x2204d0['shift']());}};_0x3601b5(++_0x570894);}(_0x9e76,0x117));var _0x69e7=function(_0x2e4e19,_0x493b50){_0x2e4e19=_0x2e4e19-0x0;var _0x9ba20b=_0x9e76[_0x2e4e19];return _0x9ba20b;};'use strict';var multer=require(_0x69e7('0x0'));var util=require(_0x69e7('0x1'));var path=require(_0x69e7('0x2'));var timeout=require(_0x69e7('0x3'));var express=require(_0x69e7('0x4'));var router=express[_0x69e7('0x5')]();var auth=require(_0x69e7('0x6'));var interaction=require(_0x69e7('0x7'));var config=require(_0x69e7('0x8'));var controller=require(_0x69e7('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0x69e7('0xa')]);router[_0x69e7('0xb')](_0x69e7('0xc'),auth[_0x69e7('0xd')](),controller[_0x69e7('0xe')]);router[_0x69e7('0xb')](_0x69e7('0xf'),auth[_0x69e7('0xd')](),controller[_0x69e7('0x10')]);router[_0x69e7('0x11')]('/',auth['isAuthenticated'](),controller['create']);router[_0x69e7('0x12')]('/:id',auth[_0x69e7('0xd')](),controller[_0x69e7('0x13')]);router[_0x69e7('0x14')](_0x69e7('0xf'),auth[_0x69e7('0xd')](),controller[_0x69e7('0x15')]);module[_0x69e7('0x16')]=router;