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 _0x0fcf=['connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intSalesforceAccount.controller','get','index','/:id','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','post','create','addConfiguration','put','delete','destroy','exports','path'];(function(_0x58f65e,_0x467d61){var _0x35684b=function(_0x17cafe){while(--_0x17cafe){_0x58f65e['push'](_0x58f65e['shift']());}};_0x35684b(++_0x467d61);}(_0x0fcf,0xdb));var _0xf0fc=function(_0x2dc05d,_0x3a1e91){_0x2dc05d=_0x2dc05d-0x0;var _0x257e1f=_0x0fcf[_0x2dc05d];return _0x257e1f;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xf0fc('0x0'));var timeout=require(_0xf0fc('0x1'));var express=require(_0xf0fc('0x2'));var router=express[_0xf0fc('0x3')]();var auth=require(_0xf0fc('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0xf0fc('0x5'));var controller=require(_0xf0fc('0x6'));router[_0xf0fc('0x7')]('/',auth['isAuthenticated'](),controller[_0xf0fc('0x8')]);router[_0xf0fc('0x7')](_0xf0fc('0x9'),auth[_0xf0fc('0xa')](),controller[_0xf0fc('0xb')]);router['get'](_0xf0fc('0xc'),auth[_0xf0fc('0xa')](),controller[_0xf0fc('0xd')]);router[_0xf0fc('0x7')](_0xf0fc('0xe'),auth[_0xf0fc('0xa')](),controller['getFields']);router[_0xf0fc('0xf')]('/',auth['isAuthenticated'](),controller[_0xf0fc('0x10')]);router[_0xf0fc('0xf')](_0xf0fc('0xc'),auth['isAuthenticated'](),controller[_0xf0fc('0x11')]);router[_0xf0fc('0x12')](_0xf0fc('0x9'),auth[_0xf0fc('0xa')](),controller['update']);router[_0xf0fc('0x13')](_0xf0fc('0x9'),auth[_0xf0fc('0xa')](),controller[_0xf0fc('0x14')]);module[_0xf0fc('0x15')]=router;