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 _0xd62b=['create','put','delete','destroy','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./smsApplication.controller','get','isAuthenticated','/:id','post'];(function(_0x1eafba,_0xf156ae){var _0x10264e=function(_0x1e55b2){while(--_0x1e55b2){_0x1eafba['push'](_0x1eafba['shift']());}};_0x10264e(++_0xf156ae);}(_0xd62b,0xc7));var _0xbd62=function(_0x90f34f,_0x404021){_0x90f34f=_0x90f34f-0x0;var _0x4b18cf=_0xd62b[_0x90f34f];return _0x4b18cf;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xbd62('0x0'));var timeout=require(_0xbd62('0x1'));var express=require(_0xbd62('0x2'));var router=express[_0xbd62('0x3')]();var auth=require(_0xbd62('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xbd62('0x5'));var controller=require(_0xbd62('0x6'));router[_0xbd62('0x7')]('/',auth[_0xbd62('0x8')](),controller['index']);router['get'](_0xbd62('0x9'),auth[_0xbd62('0x8')](),controller['show']);router[_0xbd62('0xa')]('/',auth[_0xbd62('0x8')](),controller[_0xbd62('0xb')]);router[_0xbd62('0xc')]('/:id',auth[_0xbd62('0x8')](),controller['update']);router[_0xbd62('0xd')]('/:id',auth[_0xbd62('0x8')](),controller[_0xbd62('0xe')]);module['exports']=router;