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 _0x977a=['../../config/environment','./intSugarcrmField.controller','get','isAuthenticated','/:id','show','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','../../components/auth/service','../../components/interaction/service'];(function(_0x489ece,_0x3ff87d){var _0xc07e80=function(_0x50ae28){while(--_0x50ae28){_0x489ece['push'](_0x489ece['shift']());}};_0xc07e80(++_0x3ff87d);}(_0x977a,0x8a));var _0xa977=function(_0x119aec,_0x2016f3){_0x119aec=_0x119aec-0x0;var _0x5316f0=_0x977a[_0x119aec];return _0x5316f0;};'use strict';var multer=require(_0xa977('0x0'));var util=require(_0xa977('0x1'));var path=require(_0xa977('0x2'));var timeout=require(_0xa977('0x3'));var express=require('express');var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0xa977('0x4'));var interaction=require(_0xa977('0x5'));var config=require(_0xa977('0x6'));var controller=require(_0xa977('0x7'));router[_0xa977('0x8')]('/',auth[_0xa977('0x9')](),controller['index']);router[_0xa977('0x8')](_0xa977('0xa'),auth[_0xa977('0x9')](),controller[_0xa977('0xb')]);router[_0xa977('0xc')]('/',auth[_0xa977('0x9')](),controller[_0xa977('0xd')]);router[_0xa977('0xe')](_0xa977('0xa'),auth[_0xa977('0x9')](),controller[_0xa977('0xf')]);router[_0xa977('0x10')](_0xa977('0xa'),auth['isAuthenticated'](),controller[_0xa977('0x11')]);module['exports']=router;