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 _0x6fcb=['./smsApplication.controller','get','isAuthenticated','/:id','show','create','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0x6fcb,0x1f0));var _0xb6fc=function(_0x3ed209,_0x6032a1){_0x3ed209=_0x3ed209-0x0;var _0x43ec99=_0x6fcb[_0x3ed209];return _0x43ec99;};'use strict';var multer=require(_0xb6fc('0x0'));var util=require(_0xb6fc('0x1'));var path=require(_0xb6fc('0x2'));var timeout=require(_0xb6fc('0x3'));var express=require(_0xb6fc('0x4'));var router=express[_0xb6fc('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xb6fc('0x6'));var config=require(_0xb6fc('0x7'));var controller=require(_0xb6fc('0x8'));router[_0xb6fc('0x9')]('/',auth[_0xb6fc('0xa')](),controller['index']);router[_0xb6fc('0x9')](_0xb6fc('0xb'),auth[_0xb6fc('0xa')](),controller[_0xb6fc('0xc')]);router['post']('/',auth['isAuthenticated'](),controller[_0xb6fc('0xd')]);router['put'](_0xb6fc('0xb'),auth[_0xb6fc('0xa')](),controller[_0xb6fc('0xe')]);router[_0xb6fc('0xf')](_0xb6fc('0xb'),auth['isAuthenticated'](),controller[_0xb6fc('0x10')]);module[_0xb6fc('0x11')]=router;