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 _0xa0c6=['/:id','show','create','delete','multer','util','path','connect-timeout','../../components/auth/service','./smsQueueReport.controller','get','index','/describe','isAuthenticated','describe'];(function(_0x4565bf,_0x5ad9d6){var _0x5610ba=function(_0x170988){while(--_0x170988){_0x4565bf['push'](_0x4565bf['shift']());}};_0x5610ba(++_0x5ad9d6);}(_0xa0c6,0xf4));var _0x6a0c=function(_0x410a7f,_0xae127b){_0x410a7f=_0x410a7f-0x0;var _0x2322a3=_0xa0c6[_0x410a7f];return _0x2322a3;};'use strict';var multer=require(_0x6a0c('0x0'));var util=require(_0x6a0c('0x1'));var path=require(_0x6a0c('0x2'));var timeout=require(_0x6a0c('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x6a0c('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0x6a0c('0x5'));router[_0x6a0c('0x6')]('/',auth['isAuthenticated'](),controller[_0x6a0c('0x7')]);router[_0x6a0c('0x6')](_0x6a0c('0x8'),auth[_0x6a0c('0x9')](),controller[_0x6a0c('0xa')]);router['get'](_0x6a0c('0xb'),auth[_0x6a0c('0x9')](),controller[_0x6a0c('0xc')]);router['post']('/',auth[_0x6a0c('0x9')](),controller[_0x6a0c('0xd')]);router['put'](_0x6a0c('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x6a0c('0xe')](_0x6a0c('0xb'),auth[_0x6a0c('0x9')](),controller['destroy']);module['exports']=router;