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 _0xa132=['isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmAccount.controller','get','index','/:id'];(function(_0x5ae715,_0x379a3e){var _0x407d2d=function(_0x5e2964){while(--_0x5e2964){_0x5ae715['push'](_0x5ae715['shift']());}};_0x407d2d(++_0x379a3e);}(_0xa132,0x1e1));var _0x2a13=function(_0x1ade91,_0x48f178){_0x1ade91=_0x1ade91-0x0;var _0x2c35d2=_0xa132[_0x1ade91];return _0x2c35d2;};'use strict';var multer=require(_0x2a13('0x0'));var util=require(_0x2a13('0x1'));var path=require(_0x2a13('0x2'));var timeout=require(_0x2a13('0x3'));var express=require(_0x2a13('0x4'));var router=express[_0x2a13('0x5')]();var auth=require(_0x2a13('0x6'));var interaction=require(_0x2a13('0x7'));var config=require(_0x2a13('0x8'));var controller=require(_0x2a13('0x9'));router[_0x2a13('0xa')]('/',auth['isAuthenticated'](),controller[_0x2a13('0xb')]);router['get'](_0x2a13('0xc'),auth[_0x2a13('0xd')](),controller[_0x2a13('0xe')]);router[_0x2a13('0xa')](_0x2a13('0xf'),auth[_0x2a13('0xd')](),controller[_0x2a13('0x10')]);router[_0x2a13('0xa')](_0x2a13('0x11'),auth[_0x2a13('0xd')](),controller[_0x2a13('0x12')]);router[_0x2a13('0x13')]('/',auth[_0x2a13('0xd')](),controller[_0x2a13('0x14')]);router[_0x2a13('0x13')]('/:id/configurations',auth[_0x2a13('0xd')](),controller[_0x2a13('0x15')]);router[_0x2a13('0x16')](_0x2a13('0xc'),auth[_0x2a13('0xd')](),controller[_0x2a13('0x17')]);router['delete'](_0x2a13('0xc'),auth[_0x2a13('0xd')](),controller[_0x2a13('0x18')]);module[_0x2a13('0x19')]=router;