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 _0x2ab4=['/:id','show','post','create','destroy','exports','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./smsApplication.controller','get','isAuthenticated','index'];(function(_0x4ffa64,_0x271035){var _0x5da001=function(_0x7d1940){while(--_0x7d1940){_0x4ffa64['push'](_0x4ffa64['shift']());}};_0x5da001(++_0x271035);}(_0x2ab4,0x138));var _0x42ab=function(_0x35885a,_0x42fed7){_0x35885a=_0x35885a-0x0;var _0xe86249=_0x2ab4[_0x35885a];return _0xe86249;};'use strict';var multer=require('multer');var util=require(_0x42ab('0x0'));var path=require(_0x42ab('0x1'));var timeout=require(_0x42ab('0x2'));var express=require(_0x42ab('0x3'));var router=express[_0x42ab('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x42ab('0x5'));var config=require(_0x42ab('0x6'));var controller=require(_0x42ab('0x7'));router[_0x42ab('0x8')]('/',auth[_0x42ab('0x9')](),controller[_0x42ab('0xa')]);router[_0x42ab('0x8')](_0x42ab('0xb'),auth[_0x42ab('0x9')](),controller[_0x42ab('0xc')]);router[_0x42ab('0xd')]('/',auth[_0x42ab('0x9')](),controller[_0x42ab('0xe')]);router['put'](_0x42ab('0xb'),auth[_0x42ab('0x9')](),controller['update']);router['delete'](_0x42ab('0xb'),auth['isAuthenticated'](),controller[_0x42ab('0xf')]);module[_0x42ab('0x10')]=router;