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 _0x993f=['put','delete','destroy','multer','util','path','connect-timeout','Router','fs-extra','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','/describe','describe','/:id','show','post','create'];(function(_0x25b459,_0x347064){var _0x4da043=function(_0x408140){while(--_0x408140){_0x25b459['push'](_0x25b459['shift']());}};_0x4da043(++_0x347064);}(_0x993f,0x129));var _0xf993=function(_0x1ca79d,_0x567710){_0x1ca79d=_0x1ca79d-0x0;var _0x14e374=_0x993f[_0x1ca79d];return _0x14e374;};'use strict';var multer=require(_0xf993('0x0'));var util=require(_0xf993('0x1'));var path=require(_0xf993('0x2'));var timeout=require(_0xf993('0x3'));var express=require('express');var router=express[_0xf993('0x4')]();var fs_extra=require(_0xf993('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xf993('0x6'));var config=require(_0xf993('0x7'));var controller=require(_0xf993('0x8'));router[_0xf993('0x9')]('/',auth[_0xf993('0xa')](),controller[_0xf993('0xb')]);router[_0xf993('0x9')](_0xf993('0xc'),auth[_0xf993('0xa')](),controller[_0xf993('0xd')]);router[_0xf993('0x9')](_0xf993('0xe'),auth['isAuthenticated'](),controller[_0xf993('0xf')]);router[_0xf993('0x10')]('/',auth['isAuthenticated'](),controller[_0xf993('0x11')]);router[_0xf993('0x12')](_0xf993('0xe'),auth[_0xf993('0xa')](),controller['update']);router[_0xf993('0x13')]('/:id',auth[_0xf993('0xa')](),controller[_0xf993('0x14')]);module['exports']=router;