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 _0xd4fc=['isAuthenticated','index','/describe','describe','show','post','create','put','/:id','update','delete','exports','multer','util','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./smsQueueReport.controller','get'];(function(_0x52e68e,_0x309912){var _0x3211a4=function(_0x467c01){while(--_0x467c01){_0x52e68e['push'](_0x52e68e['shift']());}};_0x3211a4(++_0x309912);}(_0xd4fc,0x11d));var _0xcd4f=function(_0x291f6c,_0x21db27){_0x291f6c=_0x291f6c-0x0;var _0x3e4bf2=_0xd4fc[_0x291f6c];return _0x3e4bf2;};'use strict';var multer=require(_0xcd4f('0x0'));var util=require(_0xcd4f('0x1'));var path=require('path');var timeout=require(_0xcd4f('0x2'));var express=require(_0xcd4f('0x3'));var router=express[_0xcd4f('0x4')]();var auth=require(_0xcd4f('0x5'));var interaction=require(_0xcd4f('0x6'));var config=require('../../config/environment');var controller=require(_0xcd4f('0x7'));router[_0xcd4f('0x8')]('/',auth[_0xcd4f('0x9')](),controller[_0xcd4f('0xa')]);router['get'](_0xcd4f('0xb'),auth[_0xcd4f('0x9')](),controller[_0xcd4f('0xc')]);router[_0xcd4f('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xcd4f('0xd')]);router[_0xcd4f('0xe')]('/',auth['isAuthenticated'](),controller[_0xcd4f('0xf')]);router[_0xcd4f('0x10')](_0xcd4f('0x11'),auth[_0xcd4f('0x9')](),controller[_0xcd4f('0x12')]);router[_0xcd4f('0x13')](_0xcd4f('0x11'),auth[_0xcd4f('0x9')](),controller['destroy']);module[_0xcd4f('0x14')]=router;