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 _0x76c2=['../../components/interaction/service','./smsApplication.controller','get','/:id','isAuthenticated','post','create','put','delete','destroy','multer','util','path','connect-timeout','../../components/auth/service'];(function(_0x52e363,_0x48062a){var _0x3fc2b5=function(_0x1b0cf9){while(--_0x1b0cf9){_0x52e363['push'](_0x52e363['shift']());}};_0x3fc2b5(++_0x48062a);}(_0x76c2,0x1cc));var _0x276c=function(_0x13fdf5,_0x219c79){_0x13fdf5=_0x13fdf5-0x0;var _0x875d04=_0x76c2[_0x13fdf5];return _0x875d04;};'use strict';var multer=require(_0x276c('0x0'));var util=require(_0x276c('0x1'));var path=require(_0x276c('0x2'));var timeout=require(_0x276c('0x3'));var express=require('express');var router=express['Router']();var auth=require(_0x276c('0x4'));var interaction=require(_0x276c('0x5'));var config=require('../../config/environment');var controller=require(_0x276c('0x6'));router[_0x276c('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x276c('0x7')](_0x276c('0x8'),auth[_0x276c('0x9')](),controller['show']);router[_0x276c('0xa')]('/',auth['isAuthenticated'](),controller[_0x276c('0xb')]);router[_0x276c('0xc')](_0x276c('0x8'),auth[_0x276c('0x9')](),controller['update']);router[_0x276c('0xd')]('/:id',auth[_0x276c('0x9')](),controller[_0x276c('0xe')]);module['exports']=router;