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 _0x2f99=['../../components/auth/service','../../components/interaction/service','../../config/environment','./smsApplication.controller','get','isAuthenticated','index','/:id','post','put','update','delete','destroy','exports','path','express','Router','fs-extra'];(function(_0x21a9d9,_0x4d5ac8){var _0x46adce=function(_0xfdd336){while(--_0xfdd336){_0x21a9d9['push'](_0x21a9d9['shift']());}};_0x46adce(++_0x4d5ac8);}(_0x2f99,0x9e));var _0x92f9=function(_0x5b1ac6,_0x2fbe00){_0x5b1ac6=_0x5b1ac6-0x0;var _0x2f86cf=_0x2f99[_0x5b1ac6];return _0x2f86cf;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x92f9('0x0'));var timeout=require('connect-timeout');var express=require(_0x92f9('0x1'));var router=express[_0x92f9('0x2')]();var fs_extra=require(_0x92f9('0x3'));var auth=require(_0x92f9('0x4'));var interaction=require(_0x92f9('0x5'));var config=require(_0x92f9('0x6'));var controller=require(_0x92f9('0x7'));router[_0x92f9('0x8')]('/',auth[_0x92f9('0x9')](),controller[_0x92f9('0xa')]);router[_0x92f9('0x8')](_0x92f9('0xb'),auth[_0x92f9('0x9')](),controller['show']);router[_0x92f9('0xc')]('/',auth[_0x92f9('0x9')](),controller['create']);router[_0x92f9('0xd')]('/:id',auth[_0x92f9('0x9')](),controller[_0x92f9('0xe')]);router[_0x92f9('0xf')](_0x92f9('0xb'),auth[_0x92f9('0x9')](),controller[_0x92f9('0x10')]);module[_0x92f9('0x11')]=router;