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 _0x38e8=['multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSalesforceField.controller','isAuthenticated','get','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x544bb8,_0x391703){var _0x3eb778=function(_0x4d3114){while(--_0x4d3114){_0x544bb8['push'](_0x544bb8['shift']());}};_0x3eb778(++_0x391703);}(_0x38e8,0x69));var _0x838e=function(_0x26b072,_0x230960){_0x26b072=_0x26b072-0x0;var _0x5734c3=_0x38e8[_0x26b072];return _0x5734c3;};'use strict';var multer=require(_0x838e('0x0'));var util=require(_0x838e('0x1'));var path=require(_0x838e('0x2'));var timeout=require('connect-timeout');var express=require(_0x838e('0x3'));var router=express[_0x838e('0x4')]();var fs_extra=require(_0x838e('0x5'));var auth=require(_0x838e('0x6'));var interaction=require(_0x838e('0x7'));var config=require(_0x838e('0x8'));var controller=require(_0x838e('0x9'));router['get']('/',auth[_0x838e('0xa')](),controller['index']);router[_0x838e('0xb')](_0x838e('0xc'),auth[_0x838e('0xa')](),controller[_0x838e('0xd')]);router[_0x838e('0xe')]('/',auth[_0x838e('0xa')](),controller[_0x838e('0xf')]);router[_0x838e('0x10')](_0x838e('0xc'),auth['isAuthenticated'](),controller[_0x838e('0x11')]);router[_0x838e('0x12')]('/:id',auth[_0x838e('0xa')](),controller[_0x838e('0x13')]);module[_0x838e('0x14')]=router;