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 _0x136a=['/:id','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intSugarcrmField.controller','isAuthenticated','index','get','show','post','create'];(function(_0x99facc,_0x548cd6){var _0xd39ed0=function(_0x207e47){while(--_0x207e47){_0x99facc['push'](_0x99facc['shift']());}};_0xd39ed0(++_0x548cd6);}(_0x136a,0x6e));var _0xa136=function(_0xf02b84,_0x2290ca){_0xf02b84=_0xf02b84-0x0;var _0x266aa0=_0x136a[_0xf02b84];return _0x266aa0;};'use strict';var multer=require(_0xa136('0x0'));var util=require(_0xa136('0x1'));var path=require(_0xa136('0x2'));var timeout=require(_0xa136('0x3'));var express=require(_0xa136('0x4'));var router=express[_0xa136('0x5')]();var fs_extra=require(_0xa136('0x6'));var auth=require(_0xa136('0x7'));var interaction=require(_0xa136('0x8'));var config=require('../../config/environment');var controller=require(_0xa136('0x9'));router['get']('/',auth[_0xa136('0xa')](),controller[_0xa136('0xb')]);router[_0xa136('0xc')]('/:id',auth['isAuthenticated'](),controller[_0xa136('0xd')]);router[_0xa136('0xe')]('/',auth[_0xa136('0xa')](),controller[_0xa136('0xf')]);router['put'](_0xa136('0x10'),auth[_0xa136('0xa')](),controller[_0xa136('0x11')]);router[_0xa136('0x12')]('/:id',auth[_0xa136('0xa')](),controller[_0xa136('0x13')]);module[_0xa136('0x14')]=router;