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 _0xbf72=['delete','multer','path','connect-timeout','Router','../../components/interaction/service','../../config/environment','isAuthenticated','index','get','/:id','post','put','update'];(function(_0x41fd9f,_0x377d67){var _0x251a06=function(_0x5a365a){while(--_0x5a365a){_0x41fd9f['push'](_0x41fd9f['shift']());}};_0x251a06(++_0x377d67);}(_0xbf72,0x151));var _0x2bf7=function(_0x4d1fd6,_0x465044){_0x4d1fd6=_0x4d1fd6-0x0;var _0x2bbd49=_0xbf72[_0x4d1fd6];return _0x2bbd49;};'use strict';var multer=require(_0x2bf7('0x0'));var util=require('util');var path=require(_0x2bf7('0x1'));var timeout=require(_0x2bf7('0x2'));var express=require('express');var router=express[_0x2bf7('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x2bf7('0x4'));var config=require(_0x2bf7('0x5'));var controller=require('./smsApplication.controller');router['get']('/',auth[_0x2bf7('0x6')](),controller[_0x2bf7('0x7')]);router[_0x2bf7('0x8')](_0x2bf7('0x9'),auth['isAuthenticated'](),controller['show']);router[_0x2bf7('0xa')]('/',auth[_0x2bf7('0x6')](),controller['create']);router[_0x2bf7('0xb')](_0x2bf7('0x9'),auth['isAuthenticated'](),controller[_0x2bf7('0xc')]);router[_0x2bf7('0xd')](_0x2bf7('0x9'),auth[_0x2bf7('0x6')](),controller['destroy']);module['exports']=router;