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