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 _0x0ad0=['isAuthenticated','index','/:id','show','/:id/configurations','getConfigurations','getFields','post','create','addConfiguration','delete','destroy','exports','multer','util','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./intSalesforceAccount.controller','get'];(function(_0x167cc1,_0x56ef5a){var _0x10bc4b=function(_0xd6a255){while(--_0xd6a255){_0x167cc1['push'](_0x167cc1['shift']());}};_0x10bc4b(++_0x56ef5a);}(_0x0ad0,0x141));var _0x00ad=function(_0x1cab00,_0xdcef79){_0x1cab00=_0x1cab00-0x0;var _0x37153e=_0x0ad0[_0x1cab00];return _0x37153e;};'use strict';var multer=require(_0x00ad('0x0'));var util=require(_0x00ad('0x1'));var path=require('path');var timeout=require(_0x00ad('0x2'));var express=require('express');var router=express[_0x00ad('0x3')]();var fs_extra=require(_0x00ad('0x4'));var auth=require(_0x00ad('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x00ad('0x6'));var controller=require(_0x00ad('0x7'));router[_0x00ad('0x8')]('/',auth[_0x00ad('0x9')](),controller[_0x00ad('0xa')]);router['get'](_0x00ad('0xb'),auth[_0x00ad('0x9')](),controller[_0x00ad('0xc')]);router['get'](_0x00ad('0xd'),auth[_0x00ad('0x9')](),controller[_0x00ad('0xe')]);router[_0x00ad('0x8')]('/:id/fields',auth[_0x00ad('0x9')](),controller[_0x00ad('0xf')]);router[_0x00ad('0x10')]('/',auth[_0x00ad('0x9')](),controller[_0x00ad('0x11')]);router['post'](_0x00ad('0xd'),auth[_0x00ad('0x9')](),controller[_0x00ad('0x12')]);router['put'](_0x00ad('0xb'),auth['isAuthenticated'](),controller['update']);router[_0x00ad('0x13')](_0x00ad('0xb'),auth['isAuthenticated'](),controller[_0x00ad('0x14')]);module[_0x00ad('0x15')]=router;