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 _0xe5d5=['/:id/configurations','getConfigurations','post','addConfiguration','update','exports','path','express','../../components/auth/service','../../config/environment','./intDeskAccount.controller','get','isAuthenticated','index','/:id','show'];(function(_0x184d49,_0x31018c){var _0x28f3ef=function(_0x29a474){while(--_0x29a474){_0x184d49['push'](_0x184d49['shift']());}};_0x28f3ef(++_0x31018c);}(_0xe5d5,0x156));var _0x5e5d=function(_0x414588,_0x6b3f00){_0x414588=_0x414588-0x0;var _0x11a72e=_0xe5d5[_0x414588];return _0x11a72e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x5e5d('0x0'));var timeout=require('connect-timeout');var express=require(_0x5e5d('0x1'));var router=express['Router']();var auth=require(_0x5e5d('0x2'));var interaction=require('../../components/interaction/service');var config=require(_0x5e5d('0x3'));var controller=require(_0x5e5d('0x4'));router[_0x5e5d('0x5')]('/',auth[_0x5e5d('0x6')](),controller[_0x5e5d('0x7')]);router[_0x5e5d('0x5')](_0x5e5d('0x8'),auth[_0x5e5d('0x6')](),controller[_0x5e5d('0x9')]);router[_0x5e5d('0x5')](_0x5e5d('0xa'),auth[_0x5e5d('0x6')](),controller[_0x5e5d('0xb')]);router[_0x5e5d('0x5')]('/:id/fields',auth[_0x5e5d('0x6')](),controller['getFields']);router[_0x5e5d('0xc')]('/',auth[_0x5e5d('0x6')](),controller['create']);router[_0x5e5d('0xc')](_0x5e5d('0xa'),auth[_0x5e5d('0x6')](),controller[_0x5e5d('0xd')]);router['put']('/:id',auth[_0x5e5d('0x6')](),controller[_0x5e5d('0xe')]);router['delete'](_0x5e5d('0x8'),auth[_0x5e5d('0x6')](),controller['destroy']);module[_0x5e5d('0xf')]=router;