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