Built motion from commit da617fac.|2.6.6
[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 _0x28fa=['post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmField.controller','isAuthenticated','get','/:id'];(function(_0x5ddaac,_0x2697a8){var _0x2a9c58=function(_0x851032){while(--_0x851032){_0x5ddaac['push'](_0x5ddaac['shift']());}};_0x2a9c58(++_0x2697a8);}(_0x28fa,0x93));var _0xa28f=function(_0x19215c,_0x250cd9){_0x19215c=_0x19215c-0x0;var _0x129a4d=_0x28fa[_0x19215c];return _0x129a4d;};'use strict';var multer=require(_0xa28f('0x0'));var util=require(_0xa28f('0x1'));var path=require(_0xa28f('0x2'));var timeout=require(_0xa28f('0x3'));var express=require(_0xa28f('0x4'));var router=express['Router']();var fs_extra=require(_0xa28f('0x5'));var auth=require(_0xa28f('0x6'));var interaction=require(_0xa28f('0x7'));var config=require(_0xa28f('0x8'));var controller=require(_0xa28f('0x9'));router['get']('/',auth[_0xa28f('0xa')](),controller['index']);router[_0xa28f('0xb')](_0xa28f('0xc'),auth[_0xa28f('0xa')](),controller['show']);router[_0xa28f('0xd')]('/',auth[_0xa28f('0xa')](),controller[_0xa28f('0xe')]);router[_0xa28f('0xf')](_0xa28f('0xc'),auth[_0xa28f('0xa')](),controller[_0xa28f('0x10')]);router[_0xa28f('0x11')](_0xa28f('0xc'),auth[_0xa28f('0xa')](),controller[_0xa28f('0x12')]);module[_0xa28f('0x13')]=router;