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 _0xb47a=['getFields','post','create','addConfiguration','put','update','delete','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../config/environment','./intSugarcrmAccount.controller','get','isAuthenticated','index','/:id/configurations','getConfigurations'];(function(_0xb15db6,_0x388d94){var _0x1db34d=function(_0x309006){while(--_0x309006){_0xb15db6['push'](_0xb15db6['shift']());}};_0x1db34d(++_0x388d94);}(_0xb47a,0x169));var _0xab47=function(_0x1b4b23,_0x5dd6d6){_0x1b4b23=_0x1b4b23-0x0;var _0x2a325b=_0xb47a[_0x1b4b23];return _0x2a325b;};'use strict';var multer=require(_0xab47('0x0'));var util=require(_0xab47('0x1'));var path=require(_0xab47('0x2'));var timeout=require(_0xab47('0x3'));var express=require('express');var router=express[_0xab47('0x4')]();var auth=require(_0xab47('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xab47('0x6'));var controller=require(_0xab47('0x7'));router[_0xab47('0x8')]('/',auth[_0xab47('0x9')](),controller[_0xab47('0xa')]);router['get']('/:id',auth[_0xab47('0x9')](),controller['show']);router[_0xab47('0x8')](_0xab47('0xb'),auth[_0xab47('0x9')](),controller[_0xab47('0xc')]);router[_0xab47('0x8')]('/:id/fields',auth[_0xab47('0x9')](),controller[_0xab47('0xd')]);router[_0xab47('0xe')]('/',auth[_0xab47('0x9')](),controller[_0xab47('0xf')]);router[_0xab47('0xe')](_0xab47('0xb'),auth[_0xab47('0x9')](),controller[_0xab47('0x10')]);router[_0xab47('0x11')]('/:id',auth[_0xab47('0x9')](),controller[_0xab47('0x12')]);router[_0xab47('0x13')]('/:id',auth[_0xab47('0x9')](),controller[_0xab47('0x14')]);module[_0xab47('0x15')]=router;