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 _0xebe8=['../../components/interaction/service','./smsApplication.controller','get','isAuthenticated','put','/:id','update','delete','destroy','exports','util','path','connect-timeout','express','Router'];(function(_0x15b045,_0x4a8587){var _0x559bf3=function(_0x3da78e){while(--_0x3da78e){_0x15b045['push'](_0x15b045['shift']());}};_0x559bf3(++_0x4a8587);}(_0xebe8,0x73));var _0x8ebe=function(_0x3699a4,_0x2ce40a){_0x3699a4=_0x3699a4-0x0;var _0x291717=_0xebe8[_0x3699a4];return _0x291717;};'use strict';var multer=require('multer');var util=require(_0x8ebe('0x0'));var path=require(_0x8ebe('0x1'));var timeout=require(_0x8ebe('0x2'));var express=require(_0x8ebe('0x3'));var router=express[_0x8ebe('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x8ebe('0x5'));var config=require('../../config/environment');var controller=require(_0x8ebe('0x6'));router[_0x8ebe('0x7')]('/',auth[_0x8ebe('0x8')](),controller['index']);router['get']('/:id',auth[_0x8ebe('0x8')](),controller['show']);router['post']('/',auth[_0x8ebe('0x8')](),controller['create']);router[_0x8ebe('0x9')](_0x8ebe('0xa'),auth[_0x8ebe('0x8')](),controller[_0x8ebe('0xb')]);router[_0x8ebe('0xc')](_0x8ebe('0xa'),auth[_0x8ebe('0x8')](),controller[_0x8ebe('0xd')]);module[_0x8ebe('0xe')]=router;