65722589e287224aaf31ec2252059447a9519df5
[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 _0xbbd1=['getSubjects','/:id/descriptions','getDescriptions','post','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmConfiguration.controller','get','index','/:id','isAuthenticated','show','/:id/fields','getFields','/:id/subjects'];(function(_0x3e5086,_0x48f4a2){var _0xfeb102=function(_0x5a945f){while(--_0x5a945f){_0x3e5086['push'](_0x3e5086['shift']());}};_0xfeb102(++_0x48f4a2);}(_0xbbd1,0x14d));var _0x1bbd=function(_0x45f111,_0x3a1a4a){_0x45f111=_0x45f111-0x0;var _0x483508=_0xbbd1[_0x45f111];return _0x483508;};'use strict';var multer=require(_0x1bbd('0x0'));var util=require(_0x1bbd('0x1'));var path=require(_0x1bbd('0x2'));var timeout=require(_0x1bbd('0x3'));var express=require(_0x1bbd('0x4'));var router=express[_0x1bbd('0x5')]();var auth=require(_0x1bbd('0x6'));var interaction=require(_0x1bbd('0x7'));var config=require(_0x1bbd('0x8'));var controller=require(_0x1bbd('0x9'));router[_0x1bbd('0xa')]('/',auth['isAuthenticated'](),controller[_0x1bbd('0xb')]);router[_0x1bbd('0xa')](_0x1bbd('0xc'),auth[_0x1bbd('0xd')](),controller[_0x1bbd('0xe')]);router['get'](_0x1bbd('0xf'),auth['isAuthenticated'](),controller[_0x1bbd('0x10')]);router[_0x1bbd('0xa')](_0x1bbd('0x11'),auth['isAuthenticated'](),controller[_0x1bbd('0x12')]);router['get'](_0x1bbd('0x13'),auth['isAuthenticated'](),controller[_0x1bbd('0x14')]);router[_0x1bbd('0x15')]('/',auth[_0x1bbd('0xd')](),controller['create']);router[_0x1bbd('0x16')](_0x1bbd('0xc'),auth[_0x1bbd('0xd')](),controller[_0x1bbd('0x17')]);router[_0x1bbd('0x18')](_0x1bbd('0xc'),auth['isAuthenticated'](),controller[_0x1bbd('0x19')]);module[_0x1bbd('0x1a')]=router;