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 _0x9489=['show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','get','isAuthenticated','index','/:id'];(function(_0x42c59c,_0x7e8f12){var _0x46ced0=function(_0x15aebf){while(--_0x15aebf){_0x42c59c['push'](_0x42c59c['shift']());}};_0x46ced0(++_0x7e8f12);}(_0x9489,0xb2));var _0x9948=function(_0x23d0cf,_0x1b164a){_0x23d0cf=_0x23d0cf-0x0;var _0x4e9a6c=_0x9489[_0x23d0cf];return _0x4e9a6c;};'use strict';var multer=require(_0x9948('0x0'));var util=require(_0x9948('0x1'));var path=require(_0x9948('0x2'));var timeout=require(_0x9948('0x3'));var express=require(_0x9948('0x4'));var router=express[_0x9948('0x5')]();var fs_extra=require('fs-extra');var auth=require('../../components/auth/service');var interaction=require(_0x9948('0x6'));var config=require('../../config/environment');var controller=require('./intVtigerAccount.controller');router[_0x9948('0x7')]('/',auth[_0x9948('0x8')](),controller[_0x9948('0x9')]);router[_0x9948('0x7')](_0x9948('0xa'),auth[_0x9948('0x8')](),controller[_0x9948('0xb')]);router[_0x9948('0x7')](_0x9948('0xc'),auth['isAuthenticated'](),controller[_0x9948('0xd')]);router[_0x9948('0x7')](_0x9948('0xe'),auth[_0x9948('0x8')](),controller[_0x9948('0xf')]);router[_0x9948('0x10')]('/',auth[_0x9948('0x8')](),controller[_0x9948('0x11')]);router[_0x9948('0x10')](_0x9948('0xc'),auth[_0x9948('0x8')](),controller[_0x9948('0x12')]);router['put'](_0x9948('0xa'),auth[_0x9948('0x8')](),controller['update']);router[_0x9948('0x13')]('/:id',auth[_0x9948('0x8')](),controller[_0x9948('0x14')]);module['exports']=router;