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 _0x1caf=['create','put','delete','destroy','exports','multer','path','fs-extra','../../components/interaction/service','isAuthenticated','get','/describe','/:id','show'];(function(_0x480365,_0x5d6561){var _0x10147c=function(_0x3dc482){while(--_0x3dc482){_0x480365['push'](_0x480365['shift']());}};_0x10147c(++_0x5d6561);}(_0x1caf,0x1e1));var _0xf1ca=function(_0x18ab2a,_0x4debcd){_0x18ab2a=_0x18ab2a-0x0;var _0x16dcee=_0x1caf[_0x18ab2a];return _0x16dcee;};'use strict';var multer=require(_0xf1ca('0x0'));var util=require('util');var path=require(_0xf1ca('0x1'));var timeout=require('connect-timeout');var express=require('express');var router=express['Router']();var fs_extra=require(_0xf1ca('0x2'));var auth=require('../../components/auth/service');var interaction=require(_0xf1ca('0x3'));var config=require('../../config/environment');var controller=require('./smsQueueReport.controller');router['get']('/',auth[_0xf1ca('0x4')](),controller['index']);router[_0xf1ca('0x5')](_0xf1ca('0x6'),auth[_0xf1ca('0x4')](),controller['describe']);router['get'](_0xf1ca('0x7'),auth[_0xf1ca('0x4')](),controller[_0xf1ca('0x8')]);router['post']('/',auth['isAuthenticated'](),controller[_0xf1ca('0x9')]);router[_0xf1ca('0xa')](_0xf1ca('0x7'),auth[_0xf1ca('0x4')](),controller['update']);router[_0xf1ca('0xb')](_0xf1ca('0x7'),auth[_0xf1ca('0x4')](),controller[_0xf1ca('0xc')]);module[_0xf1ca('0xd')]=router;