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 _0xf742=['Router','fs-extra','../../components/auth/service','../../config/environment','./smsQueueReport.controller','get','/describe','isAuthenticated','/:id','show','create','put','update','destroy','util','path','connect-timeout','express'];(function(_0x1e896c,_0x3f9948){var _0xd149d9=function(_0x3281e5){while(--_0x3281e5){_0x1e896c['push'](_0x1e896c['shift']());}};_0xd149d9(++_0x3f9948);}(_0xf742,0x8c));var _0x2f74=function(_0x3a0d77,_0x142c0d){_0x3a0d77=_0x3a0d77-0x0;var _0x450756=_0xf742[_0x3a0d77];return _0x450756;};'use strict';var multer=require('multer');var util=require(_0x2f74('0x0'));var path=require(_0x2f74('0x1'));var timeout=require(_0x2f74('0x2'));var express=require(_0x2f74('0x3'));var router=express[_0x2f74('0x4')]();var fs_extra=require(_0x2f74('0x5'));var auth=require(_0x2f74('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0x2f74('0x7'));var controller=require(_0x2f74('0x8'));router[_0x2f74('0x9')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x2f74('0xa'),auth[_0x2f74('0xb')](),controller['describe']);router[_0x2f74('0x9')](_0x2f74('0xc'),auth[_0x2f74('0xb')](),controller[_0x2f74('0xd')]);router['post']('/',auth['isAuthenticated'](),controller[_0x2f74('0xe')]);router[_0x2f74('0xf')](_0x2f74('0xc'),auth[_0x2f74('0xb')](),controller[_0x2f74('0x10')]);router['delete'](_0x2f74('0xc'),auth['isAuthenticated'](),controller[_0x2f74('0x11')]);module['exports']=router;