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