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