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