faba17a9b5c3a6311eb7392e7236c14c8369e9b8
[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 _0xef7c=['../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','index','get','isAuthenticated','describe','/:id','show','delete','exports','multer','express'];(function(_0xd09668,_0x1435b2){var _0x68726=function(_0x54a030){while(--_0x54a030){_0xd09668['push'](_0xd09668['shift']());}};_0x68726(++_0x1435b2);}(_0xef7c,0x1e8));var _0xcef7=function(_0x5ed59c,_0x401273){_0x5ed59c=_0x5ed59c-0x0;var _0x3e5443=_0xef7c[_0x5ed59c];return _0x3e5443;};'use strict';var multer=require(_0xcef7('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xcef7('0x1'));var router=express['Router']();var auth=require(_0xcef7('0x2'));var interaction=require(_0xcef7('0x3'));var config=require(_0xcef7('0x4'));var controller=require(_0xcef7('0x5'));router['get']('/',auth['isAuthenticated'](),controller[_0xcef7('0x6')]);router[_0xcef7('0x7')]('/describe',auth[_0xcef7('0x8')](),controller[_0xcef7('0x9')]);router['get'](_0xcef7('0xa'),auth['isAuthenticated'](),controller[_0xcef7('0xb')]);router['post']('/',auth[_0xcef7('0x8')](),controller['create']);router['put']('/:id',auth[_0xcef7('0x8')](),controller['update']);router[_0xcef7('0xc')]('/:id',auth[_0xcef7('0x8')](),controller['destroy']);module[_0xcef7('0xd')]=router;