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 _0xa57f=['show','post','create','put','update','destroy','exports','multer','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','./smsApplication.controller','get','isAuthenticated','index','/:id'];(function(_0x21e481,_0x28040a){var _0x1fd4c2=function(_0x3c27da){while(--_0x3c27da){_0x21e481['push'](_0x21e481['shift']());}};_0x1fd4c2(++_0x28040a);}(_0xa57f,0x1db));var _0xfa57=function(_0x5eba43,_0xfea029){_0x5eba43=_0x5eba43-0x0;var _0x590cfd=_0xa57f[_0x5eba43];return _0x590cfd;};'use strict';var multer=require(_0xfa57('0x0'));var util=require(_0xfa57('0x1'));var path=require('path');var timeout=require(_0xfa57('0x2'));var express=require('express');var router=express[_0xfa57('0x3')]();var auth=require(_0xfa57('0x4'));var interaction=require(_0xfa57('0x5'));var config=require('../../config/environment');var controller=require(_0xfa57('0x6'));router[_0xfa57('0x7')]('/',auth[_0xfa57('0x8')](),controller[_0xfa57('0x9')]);router[_0xfa57('0x7')](_0xfa57('0xa'),auth[_0xfa57('0x8')](),controller[_0xfa57('0xb')]);router[_0xfa57('0xc')]('/',auth['isAuthenticated'](),controller[_0xfa57('0xd')]);router[_0xfa57('0xe')](_0xfa57('0xa'),auth[_0xfa57('0x8')](),controller[_0xfa57('0xf')]);router['delete']('/:id',auth[_0xfa57('0x8')](),controller[_0xfa57('0x10')]);module[_0xfa57('0x11')]=router;