2bb33cd1063706c64616980b947ff781d61cb6b7
[motion2.git] / server / api / intSugarcrmConfiguration / 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 _0x51f2=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','put','delete','destroy','exports','util','connect-timeout','express'];(function(_0x398294,_0x5ceb9d){var _0x2a872d=function(_0x390883){while(--_0x390883){_0x398294['push'](_0x398294['shift']());}};_0x2a872d(++_0x5ceb9d);}(_0x51f2,0x11d));var _0x251f=function(_0x663859,_0x51eb4b){_0x663859=_0x663859-0x0;var _0x1e03e8=_0x51f2[_0x663859];return _0x1e03e8;};'use strict';var multer=require('multer');var util=require(_0x251f('0x0'));var path=require('path');var timeout=require(_0x251f('0x1'));var express=require(_0x251f('0x2'));var router=express['Router']();var fs_extra=require(_0x251f('0x3'));var auth=require(_0x251f('0x4'));var interaction=require(_0x251f('0x5'));var config=require(_0x251f('0x6'));var controller=require(_0x251f('0x7'));router[_0x251f('0x8')]('/',auth[_0x251f('0x9')](),controller[_0x251f('0xa')]);router['get'](_0x251f('0xb'),auth[_0x251f('0x9')](),controller[_0x251f('0xc')]);router[_0x251f('0x8')](_0x251f('0xd'),auth[_0x251f('0x9')](),controller[_0x251f('0xe')]);router[_0x251f('0x8')](_0x251f('0xf'),auth[_0x251f('0x9')](),controller[_0x251f('0x10')]);router[_0x251f('0x8')](_0x251f('0x11'),auth[_0x251f('0x9')](),controller[_0x251f('0x12')]);router[_0x251f('0x13')]('/',auth[_0x251f('0x9')](),controller['create']);router[_0x251f('0x14')](_0x251f('0xb'),auth[_0x251f('0x9')](),controller['update']);router[_0x251f('0x15')](_0x251f('0xb'),auth[_0x251f('0x9')](),controller[_0x251f('0x16')]);module[_0x251f('0x17')]=router;