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 _0xb719=['isAuthenticated','show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./intSugarcrmConfiguration.controller','get','index','/:id'];(function(_0x43ad46,_0xfc13e4){var _0x4111eb=function(_0x5f206c){while(--_0x5f206c){_0x43ad46['push'](_0x43ad46['shift']());}};_0x4111eb(++_0xfc13e4);}(_0xb719,0x6d));var _0x9b71=function(_0x19997d,_0x2c92a4){_0x19997d=_0x19997d-0x0;var _0x49be7f=_0xb719[_0x19997d];return _0x49be7f;};'use strict';var multer=require(_0x9b71('0x0'));var util=require('util');var path=require(_0x9b71('0x1'));var timeout=require(_0x9b71('0x2'));var express=require('express');var router=express[_0x9b71('0x3')]();var fs_extra=require(_0x9b71('0x4'));var auth=require(_0x9b71('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x9b71('0x6'));var controller=require(_0x9b71('0x7'));router[_0x9b71('0x8')]('/',auth['isAuthenticated'](),controller[_0x9b71('0x9')]);router['get'](_0x9b71('0xa'),auth[_0x9b71('0xb')](),controller[_0x9b71('0xc')]);router[_0x9b71('0x8')](_0x9b71('0xd'),auth[_0x9b71('0xb')](),controller['getFields']);router['get'](_0x9b71('0xe'),auth[_0x9b71('0xb')](),controller[_0x9b71('0xf')]);router[_0x9b71('0x8')](_0x9b71('0x10'),auth[_0x9b71('0xb')](),controller['getDescriptions']);router[_0x9b71('0x11')]('/',auth[_0x9b71('0xb')](),controller[_0x9b71('0x12')]);router[_0x9b71('0x13')](_0x9b71('0xa'),auth[_0x9b71('0xb')](),controller[_0x9b71('0x14')]);router[_0x9b71('0x15')](_0x9b71('0xa'),auth[_0x9b71('0xb')](),controller[_0x9b71('0x16')]);module[_0x9b71('0x17')]=router;