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