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 _0x2f6b=['./intSugarcrmField.controller','isAuthenticated','index','get','/:id','show','post','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service'];(function(_0x55f73e,_0x358451){var _0x5c2276=function(_0xfd88fc){while(--_0xfd88fc){_0x55f73e['push'](_0x55f73e['shift']());}};_0x5c2276(++_0x358451);}(_0x2f6b,0x161));var _0xb2f6=function(_0x48571f,_0x4c86f4){_0x48571f=_0x48571f-0x0;var _0x495a93=_0x2f6b[_0x48571f];return _0x495a93;};'use strict';var multer=require(_0xb2f6('0x0'));var util=require('util');var path=require(_0xb2f6('0x1'));var timeout=require(_0xb2f6('0x2'));var express=require(_0xb2f6('0x3'));var router=express[_0xb2f6('0x4')]();var fs_extra=require(_0xb2f6('0x5'));var auth=require(_0xb2f6('0x6'));var interaction=require(_0xb2f6('0x7'));var config=require('../../config/environment');var controller=require(_0xb2f6('0x8'));router['get']('/',auth[_0xb2f6('0x9')](),controller[_0xb2f6('0xa')]);router[_0xb2f6('0xb')](_0xb2f6('0xc'),auth[_0xb2f6('0x9')](),controller[_0xb2f6('0xd')]);router[_0xb2f6('0xe')]('/',auth[_0xb2f6('0x9')](),controller['create']);router['put'](_0xb2f6('0xc'),auth[_0xb2f6('0x9')](),controller[_0xb2f6('0xf')]);router[_0xb2f6('0x10')](_0xb2f6('0xc'),auth[_0xb2f6('0x9')](),controller[_0xb2f6('0x11')]);module[_0xb2f6('0x12')]=router;