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 _0x0ab0=['express','../../components/auth/service','../../components/interaction/service','../../config/environment','./smsQueueReport.controller','get','isAuthenticated','index','/describe','/:id','show','update','destroy','exports','multer','util','path'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0x0ab0,0x184));var _0x00ab=function(_0xde0a67,_0x10590e){_0xde0a67=_0xde0a67-0x0;var _0x2a34d9=_0x0ab0[_0xde0a67];return _0x2a34d9;};'use strict';var multer=require(_0x00ab('0x0'));var util=require(_0x00ab('0x1'));var path=require(_0x00ab('0x2'));var timeout=require('connect-timeout');var express=require(_0x00ab('0x3'));var router=express['Router']();var auth=require(_0x00ab('0x4'));var interaction=require(_0x00ab('0x5'));var config=require(_0x00ab('0x6'));var controller=require(_0x00ab('0x7'));router[_0x00ab('0x8')]('/',auth[_0x00ab('0x9')](),controller[_0x00ab('0xa')]);router[_0x00ab('0x8')](_0x00ab('0xb'),auth['isAuthenticated'](),controller['describe']);router[_0x00ab('0x8')](_0x00ab('0xc'),auth[_0x00ab('0x9')](),controller[_0x00ab('0xd')]);router['post']('/',auth[_0x00ab('0x9')](),controller['create']);router['put']('/:id',auth[_0x00ab('0x9')](),controller[_0x00ab('0xe')]);router['delete'](_0x00ab('0xc'),auth['isAuthenticated'](),controller[_0x00ab('0xf')]);module[_0x00ab('0x10')]=router;