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 _0xb30c=['./intDeskAccount.controller','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','/:id/fields','getFields','post','addConfiguration','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service'];(function(_0x2dafbe,_0x5d04de){var _0x58a45a=function(_0x50ac96){while(--_0x50ac96){_0x2dafbe['push'](_0x2dafbe['shift']());}};_0x58a45a(++_0x5d04de);}(_0xb30c,0x16f));var _0xcb30=function(_0x1ab56b,_0x392e65){_0x1ab56b=_0x1ab56b-0x0;var _0x4c5385=_0xb30c[_0x1ab56b];return _0x4c5385;};'use strict';var multer=require(_0xcb30('0x0'));var util=require(_0xcb30('0x1'));var path=require(_0xcb30('0x2'));var timeout=require(_0xcb30('0x3'));var express=require('express');var router=express[_0xcb30('0x4')]();var fs_extra=require(_0xcb30('0x5'));var auth=require(_0xcb30('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xcb30('0x7'));router[_0xcb30('0x8')]('/',auth[_0xcb30('0x9')](),controller[_0xcb30('0xa')]);router[_0xcb30('0x8')](_0xcb30('0xb'),auth[_0xcb30('0x9')](),controller['show']);router['get'](_0xcb30('0xc'),auth[_0xcb30('0x9')](),controller[_0xcb30('0xd')]);router['get'](_0xcb30('0xe'),auth[_0xcb30('0x9')](),controller[_0xcb30('0xf')]);router[_0xcb30('0x10')]('/',auth[_0xcb30('0x9')](),controller['create']);router[_0xcb30('0x10')]('/:id/configurations',auth[_0xcb30('0x9')](),controller[_0xcb30('0x11')]);router['put'](_0xcb30('0xb'),auth[_0xcb30('0x9')](),controller[_0xcb30('0x12')]);router[_0xcb30('0x13')]('/:id',auth[_0xcb30('0x9')](),controller[_0xcb30('0x14')]);module[_0xcb30('0x15')]=router;