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