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 _0xcdc0=['update','delete','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','./intSalesforceField.controller','get','index','/:id','isAuthenticated','post','create','put'];(function(_0x337570,_0xdd86bc){var _0x27b1fb=function(_0x567d79){while(--_0x567d79){_0x337570['push'](_0x337570['shift']());}};_0x27b1fb(++_0xdd86bc);}(_0xcdc0,0x6e));var _0x0cdc=function(_0xcd6bc5,_0x3aa61d){_0xcd6bc5=_0xcd6bc5-0x0;var _0x9edf10=_0xcdc0[_0xcd6bc5];return _0x9edf10;};'use strict';var multer=require(_0x0cdc('0x0'));var util=require(_0x0cdc('0x1'));var path=require(_0x0cdc('0x2'));var timeout=require(_0x0cdc('0x3'));var express=require(_0x0cdc('0x4'));var router=express[_0x0cdc('0x5')]();var fs_extra=require(_0x0cdc('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x0cdc('0x7'));var config=require('../../config/environment');var controller=require(_0x0cdc('0x8'));router[_0x0cdc('0x9')]('/',auth['isAuthenticated'](),controller[_0x0cdc('0xa')]);router['get'](_0x0cdc('0xb'),auth[_0x0cdc('0xc')](),controller['show']);router[_0x0cdc('0xd')]('/',auth[_0x0cdc('0xc')](),controller[_0x0cdc('0xe')]);router[_0x0cdc('0xf')](_0x0cdc('0xb'),auth[_0x0cdc('0xc')](),controller[_0x0cdc('0x10')]);router[_0x0cdc('0x11')]('/:id',auth[_0x0cdc('0xc')](),controller['destroy']);module['exports']=router;