Built motion from commit (unavailable).|2.5.31
[motion2.git] / server / api / intSugarcrmField / index.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xfe17=['show','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./intSugarcrmField.controller','get','isAuthenticated','/:id'];(function(_0xc07720,_0x248d12){var _0x2eefd1=function(_0x8947ca){while(--_0x8947ca){_0xc07720['push'](_0xc07720['shift']());}};_0x2eefd1(++_0x248d12);}(_0xfe17,0x147));var _0x7fe1=function(_0x2a5511,_0x53e358){_0x2a5511=_0x2a5511-0x0;var _0x47ed86=_0xfe17[_0x2a5511];return _0x47ed86;};'use strict';var multer=require(_0x7fe1('0x0'));var util=require(_0x7fe1('0x1'));var path=require(_0x7fe1('0x2'));var timeout=require(_0x7fe1('0x3'));var express=require(_0x7fe1('0x4'));var router=express[_0x7fe1('0x5')]();var fs_extra=require(_0x7fe1('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x7fe1('0x7'));var config=require(_0x7fe1('0x8'));var controller=require(_0x7fe1('0x9'));router[_0x7fe1('0xa')]('/',auth[_0x7fe1('0xb')](),controller['index']);router[_0x7fe1('0xa')](_0x7fe1('0xc'),auth[_0x7fe1('0xb')](),controller[_0x7fe1('0xd')]);router[_0x7fe1('0xe')]('/',auth[_0x7fe1('0xb')](),controller[_0x7fe1('0xf')]);router[_0x7fe1('0x10')](_0x7fe1('0xc'),auth['isAuthenticated'](),controller['update']);router[_0x7fe1('0x11')](_0x7fe1('0xc'),auth[_0x7fe1('0xb')](),controller[_0x7fe1('0x12')]);module[_0x7fe1('0x13')]=router;