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 _0x563a=['Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','show','post','/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x563a,0xaf));var _0xa563=function(_0x186376,_0x5d988a){_0x186376=_0x186376-0x0;var _0x2dbdd9=_0x563a[_0x186376];return _0x2dbdd9;};'use strict';var multer=require(_0xa563('0x0'));var util=require(_0xa563('0x1'));var path=require(_0xa563('0x2'));var timeout=require(_0xa563('0x3'));var express=require(_0xa563('0x4'));var router=express[_0xa563('0x5')]();var fs_extra=require(_0xa563('0x6'));var auth=require(_0xa563('0x7'));var interaction=require(_0xa563('0x8'));var config=require(_0xa563('0x9'));var controller=require('./smsApplication.controller');router[_0xa563('0xa')]('/',auth[_0xa563('0xb')](),controller[_0xa563('0xc')]);router['get']('/:id',auth['isAuthenticated'](),controller[_0xa563('0xd')]);router[_0xa563('0xe')]('/',auth[_0xa563('0xb')](),controller['create']);router['put'](_0xa563('0xf'),auth[_0xa563('0xb')](),controller[_0xa563('0x10')]);router[_0xa563('0x11')](_0xa563('0xf'),auth['isAuthenticated'](),controller[_0xa563('0x12')]);module[_0xa563('0x13')]=router;