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 _0x387f=['exports','util','connect-timeout','express','../../components/auth/service','../../components/interaction/service','get','isAuthenticated','index','/:id','show','put','update','delete','destroy'];(function(_0x5142b0,_0x2053b1){var _0x176b54=function(_0x2edfbc){while(--_0x2edfbc){_0x5142b0['push'](_0x5142b0['shift']());}};_0x176b54(++_0x2053b1);}(_0x387f,0x10f));var _0xf387=function(_0x4c8f89,_0x318d19){_0x4c8f89=_0x4c8f89-0x0;var _0x5c5685=_0x387f[_0x4c8f89];return _0x5c5685;};'use strict';var multer=require('multer');var util=require(_0xf387('0x0'));var path=require('path');var timeout=require(_0xf387('0x1'));var express=require(_0xf387('0x2'));var router=express['Router']();var auth=require(_0xf387('0x3'));var interaction=require(_0xf387('0x4'));var config=require('../../config/environment');var controller=require('./smsApplication.controller');router[_0xf387('0x5')]('/',auth[_0xf387('0x6')](),controller[_0xf387('0x7')]);router['get'](_0xf387('0x8'),auth[_0xf387('0x6')](),controller[_0xf387('0x9')]);router['post']('/',auth[_0xf387('0x6')](),controller['create']);router[_0xf387('0xa')](_0xf387('0x8'),auth[_0xf387('0x6')](),controller[_0xf387('0xb')]);router[_0xf387('0xc')](_0xf387('0x8'),auth[_0xf387('0x6')](),controller[_0xf387('0xd')]);module[_0xf387('0xe')]=router;