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 _0x175c=['path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./smsApplication.controller','get','isAuthenticated','index','/:id','show','post','create','put','update','delete','destroy','exports','util'];(function(_0x2d7f0e,_0x3e6fbd){var _0x110b07=function(_0x557b00){while(--_0x557b00){_0x2d7f0e['push'](_0x2d7f0e['shift']());}};_0x110b07(++_0x3e6fbd);}(_0x175c,0x9f));var _0xc175=function(_0x1f16ee,_0x4df3d6){_0x1f16ee=_0x1f16ee-0x0;var _0x49ab16=_0x175c[_0x1f16ee];return _0x49ab16;};'use strict';var multer=require('multer');var util=require(_0xc175('0x0'));var path=require(_0xc175('0x1'));var timeout=require(_0xc175('0x2'));var express=require(_0xc175('0x3'));var router=express[_0xc175('0x4')]();var auth=require(_0xc175('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xc175('0x6'));var controller=require(_0xc175('0x7'));router[_0xc175('0x8')]('/',auth[_0xc175('0x9')](),controller[_0xc175('0xa')]);router[_0xc175('0x8')](_0xc175('0xb'),auth[_0xc175('0x9')](),controller[_0xc175('0xc')]);router[_0xc175('0xd')]('/',auth[_0xc175('0x9')](),controller[_0xc175('0xe')]);router[_0xc175('0xf')](_0xc175('0xb'),auth[_0xc175('0x9')](),controller[_0xc175('0x10')]);router[_0xc175('0x11')](_0xc175('0xb'),auth['isAuthenticated'](),controller[_0xc175('0x12')]);module[_0xc175('0x13')]=router;