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 _0x612b=['get','isAuthenticated','show','post','create','put','/:id','delete','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./openchannelApplication.controller'];(function(_0x487b0c,_0x14ff74){var _0x1adbdc=function(_0x2e7b9d){while(--_0x2e7b9d){_0x487b0c['push'](_0x487b0c['shift']());}};_0x1adbdc(++_0x14ff74);}(_0x612b,0x172));var _0xb612=function(_0xf44745,_0x5b09b5){_0xf44745=_0xf44745-0x0;var _0x526764=_0x612b[_0xf44745];return _0x526764;};'use strict';var multer=require(_0xb612('0x0'));var util=require(_0xb612('0x1'));var path=require('path');var timeout=require(_0xb612('0x2'));var express=require(_0xb612('0x3'));var router=express[_0xb612('0x4')]();var fs_extra=require(_0xb612('0x5'));var auth=require(_0xb612('0x6'));var interaction=require(_0xb612('0x7'));var config=require(_0xb612('0x8'));var controller=require(_0xb612('0x9'));router[_0xb612('0xa')]('/',auth['isAuthenticated'](),controller['index']);router[_0xb612('0xa')]('/:id',auth[_0xb612('0xb')](),controller[_0xb612('0xc')]);router[_0xb612('0xd')]('/',auth[_0xb612('0xb')](),controller[_0xb612('0xe')]);router[_0xb612('0xf')](_0xb612('0x10'),auth[_0xb612('0xb')](),controller['update']);router[_0xb612('0x11')](_0xb612('0x10'),auth[_0xb612('0xb')](),controller['destroy']);module[_0xb612('0x12')]=router;