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 _0x44be=['connect-timeout','Router','../../config/environment','./smsApplication.controller','get','index','/:id','isAuthenticated','post','create','put','update','exports','multer','path'];(function(_0x47633f,_0x3f3f73){var _0x34c845=function(_0x3879d6){while(--_0x3879d6){_0x47633f['push'](_0x47633f['shift']());}};_0x34c845(++_0x3f3f73);}(_0x44be,0x11b));var _0xe44b=function(_0x556bb1,_0x34830d){_0x556bb1=_0x556bb1-0x0;var _0x45455f=_0x44be[_0x556bb1];return _0x45455f;};'use strict';var multer=require(_0xe44b('0x0'));var util=require('util');var path=require(_0xe44b('0x1'));var timeout=require(_0xe44b('0x2'));var express=require('express');var router=express[_0xe44b('0x3')]();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xe44b('0x4'));var controller=require(_0xe44b('0x5'));router[_0xe44b('0x6')]('/',auth['isAuthenticated'](),controller[_0xe44b('0x7')]);router['get'](_0xe44b('0x8'),auth[_0xe44b('0x9')](),controller['show']);router[_0xe44b('0xa')]('/',auth[_0xe44b('0x9')](),controller[_0xe44b('0xb')]);router[_0xe44b('0xc')]('/:id',auth[_0xe44b('0x9')](),controller[_0xe44b('0xd')]);router['delete'](_0xe44b('0x8'),auth['isAuthenticated'](),controller['destroy']);module[_0xe44b('0xe')]=router;