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