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