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 _0x4eb1=['show','post','create','put','update','delete','destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../config/environment','./intSalesforceField.controller','isAuthenticated','/:id'];(function(_0x3511d3,_0x4107ae){var _0x5d6321=function(_0x1a23da){while(--_0x1a23da){_0x3511d3['push'](_0x3511d3['shift']());}};_0x5d6321(++_0x4107ae);}(_0x4eb1,0x1a0));var _0x14eb=function(_0x24e2c3,_0x11d26a){_0x24e2c3=_0x24e2c3-0x0;var _0x36733a=_0x4eb1[_0x24e2c3];return _0x36733a;};'use strict';var multer=require(_0x14eb('0x0'));var util=require(_0x14eb('0x1'));var path=require('path');var timeout=require(_0x14eb('0x2'));var express=require('express');var router=express[_0x14eb('0x3')]();var fs_extra=require(_0x14eb('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x14eb('0x5'));var controller=require(_0x14eb('0x6'));router['get']('/',auth[_0x14eb('0x7')](),controller['index']);router['get'](_0x14eb('0x8'),auth['isAuthenticated'](),controller[_0x14eb('0x9')]);router[_0x14eb('0xa')]('/',auth[_0x14eb('0x7')](),controller[_0x14eb('0xb')]);router[_0x14eb('0xc')](_0x14eb('0x8'),auth[_0x14eb('0x7')](),controller[_0x14eb('0xd')]);router[_0x14eb('0xe')]('/:id',auth[_0x14eb('0x7')](),controller[_0x14eb('0xf')]);module[_0x14eb('0x10')]=router;