1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xeb98=['describe','/:id','show','post','put','delete','destroy','exports','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','isAuthenticated','index','get'];(function(_0x3a20b7,_0x815ffa){var _0x5b7110=function(_0x3a93d7){while(--_0x3a93d7){_0x3a20b7['push'](_0x3a20b7['shift']());}};_0x5b7110(++_0x815ffa);}(_0xeb98,0xe0));var _0x8eb9=function(_0x4bf2ec,_0x4bb8db){_0x4bf2ec=_0x4bf2ec-0x0;var _0x3005f6=_0xeb98[_0x4bf2ec];return _0x3005f6;};'use strict';var multer=require('multer');var util=require(_0x8eb9('0x0'));var path=require(_0x8eb9('0x1'));var timeout=require(_0x8eb9('0x2'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x8eb9('0x3'));var interaction=require(_0x8eb9('0x4'));var config=require(_0x8eb9('0x5'));var controller=require(_0x8eb9('0x6'));router['get']('/',auth[_0x8eb9('0x7')](),controller[_0x8eb9('0x8')]);router[_0x8eb9('0x9')]('/describe',auth[_0x8eb9('0x7')](),controller[_0x8eb9('0xa')]);router[_0x8eb9('0x9')](_0x8eb9('0xb'),auth[_0x8eb9('0x7')](),controller[_0x8eb9('0xc')]);router[_0x8eb9('0xd')]('/',auth[_0x8eb9('0x7')](),controller['create']);router[_0x8eb9('0xe')](_0x8eb9('0xb'),auth[_0x8eb9('0x7')](),controller['update']);router[_0x8eb9('0xf')](_0x8eb9('0xb'),auth[_0x8eb9('0x7')](),controller[_0x8eb9('0x10')]);module[_0x8eb9('0x11')]=router;