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