994051ebcab86656ca12254cc2533b9637c4dee0
[motion2.git] / server / api / intSugarcrmAccount / 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 _0xd6b8=['get','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','post','create','addConfiguration','delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmAccount.controller'];(function(_0x1f1b33,_0x42775d){var _0x2f013f=function(_0x47869b){while(--_0x47869b){_0x1f1b33['push'](_0x1f1b33['shift']());}};_0x2f013f(++_0x42775d);}(_0xd6b8,0xdc));var _0x8d6b=function(_0x17e8dc,_0x5cf16f){_0x17e8dc=_0x17e8dc-0x0;var _0x182056=_0xd6b8[_0x17e8dc];return _0x182056;};'use strict';var multer=require(_0x8d6b('0x0'));var util=require(_0x8d6b('0x1'));var path=require(_0x8d6b('0x2'));var timeout=require(_0x8d6b('0x3'));var express=require(_0x8d6b('0x4'));var router=express[_0x8d6b('0x5')]();var auth=require(_0x8d6b('0x6'));var interaction=require(_0x8d6b('0x7'));var config=require(_0x8d6b('0x8'));var controller=require(_0x8d6b('0x9'));router[_0x8d6b('0xa')]('/',auth[_0x8d6b('0xb')](),controller['index']);router[_0x8d6b('0xa')]('/:id',auth[_0x8d6b('0xb')](),controller[_0x8d6b('0xc')]);router[_0x8d6b('0xa')](_0x8d6b('0xd'),auth[_0x8d6b('0xb')](),controller[_0x8d6b('0xe')]);router[_0x8d6b('0xa')](_0x8d6b('0xf'),auth[_0x8d6b('0xb')](),controller['getFields']);router[_0x8d6b('0x10')]('/',auth[_0x8d6b('0xb')](),controller[_0x8d6b('0x11')]);router[_0x8d6b('0x10')](_0x8d6b('0xd'),auth[_0x8d6b('0xb')](),controller[_0x8d6b('0x12')]);router['put']('/:id',auth[_0x8d6b('0xb')](),controller['update']);router[_0x8d6b('0x13')](_0x8d6b('0x14'),auth[_0x8d6b('0xb')](),controller[_0x8d6b('0x15')]);module[_0x8d6b('0x16')]=router;