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 _0x6a97=['put','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intSalesforceField.controller','get','isAuthenticated','index','/:id','post','create'];(function(_0x27ddf5,_0x5a3e18){var _0x26e74a=function(_0x5f24ac){while(--_0x5f24ac){_0x27ddf5['push'](_0x27ddf5['shift']());}};_0x26e74a(++_0x5a3e18);}(_0x6a97,0xe9));var _0x76a9=function(_0x1cc8fe,_0x105328){_0x1cc8fe=_0x1cc8fe-0x0;var _0x230054=_0x6a97[_0x1cc8fe];return _0x230054;};'use strict';var multer=require(_0x76a9('0x0'));var util=require('util');var path=require(_0x76a9('0x1'));var timeout=require(_0x76a9('0x2'));var express=require('express');var router=express[_0x76a9('0x3')]();var fs_extra=require(_0x76a9('0x4'));var auth=require(_0x76a9('0x5'));var interaction=require(_0x76a9('0x6'));var config=require('../../config/environment');var controller=require(_0x76a9('0x7'));router[_0x76a9('0x8')]('/',auth[_0x76a9('0x9')](),controller[_0x76a9('0xa')]);router['get'](_0x76a9('0xb'),auth[_0x76a9('0x9')](),controller['show']);router[_0x76a9('0xc')]('/',auth[_0x76a9('0x9')](),controller[_0x76a9('0xd')]);router[_0x76a9('0xe')](_0x76a9('0xb'),auth[_0x76a9('0x9')](),controller[_0x76a9('0xf')]);router[_0x76a9('0x10')](_0x76a9('0xb'),auth[_0x76a9('0x9')](),controller[_0x76a9('0x11')]);module[_0x76a9('0x12')]=router;