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 _0x4fc3=['put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','show','post','create'];(function(_0x2d8766,_0x3fdbd0){var _0x10a9c9=function(_0xc91cd0){while(--_0xc91cd0){_0x2d8766['push'](_0x2d8766['shift']());}};_0x10a9c9(++_0x3fdbd0);}(_0x4fc3,0x17f));var _0x34fc=function(_0x56f651,_0x31c4d5){_0x56f651=_0x56f651-0x0;var _0x34b880=_0x4fc3[_0x56f651];return _0x34b880;};'use strict';var multer=require(_0x34fc('0x0'));var util=require(_0x34fc('0x1'));var path=require(_0x34fc('0x2'));var timeout=require(_0x34fc('0x3'));var express=require(_0x34fc('0x4'));var router=express[_0x34fc('0x5')]();var fs_extra=require(_0x34fc('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x34fc('0x7'));var config=require(_0x34fc('0x8'));var controller=require('./openchannelApplication.controller');router[_0x34fc('0x9')]('/',auth[_0x34fc('0xa')](),controller[_0x34fc('0xb')]);router[_0x34fc('0x9')](_0x34fc('0xc'),auth[_0x34fc('0xa')](),controller[_0x34fc('0xd')]);router[_0x34fc('0xe')]('/',auth[_0x34fc('0xa')](),controller[_0x34fc('0xf')]);router[_0x34fc('0x10')]('/:id',auth['isAuthenticated'](),controller[_0x34fc('0x11')]);router[_0x34fc('0x12')]('/:id',auth[_0x34fc('0xa')](),controller[_0x34fc('0x13')]);module[_0x34fc('0x14')]=router;