Built motion from commit (unavailable).|2.5.30
[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 _0xfcb3=['put','update','exports','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSugarcrmAccount.controller','get','isAuthenticated','/:id','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration'];(function(_0x598d69,_0x462bc7){var _0xe427b4=function(_0xf1b429){while(--_0xf1b429){_0x598d69['push'](_0x598d69['shift']());}};_0xe427b4(++_0x462bc7);}(_0xfcb3,0xa4));var _0x3fcb=function(_0x5a1b02,_0x1e09f0){_0x5a1b02=_0x5a1b02-0x0;var _0xf6d3b4=_0xfcb3[_0x5a1b02];return _0xf6d3b4;};'use strict';var multer=require('multer');var util=require(_0x3fcb('0x0'));var path=require(_0x3fcb('0x1'));var timeout=require('connect-timeout');var express=require(_0x3fcb('0x2'));var router=express[_0x3fcb('0x3')]();var fs_extra=require(_0x3fcb('0x4'));var auth=require(_0x3fcb('0x5'));var interaction=require(_0x3fcb('0x6'));var config=require(_0x3fcb('0x7'));var controller=require(_0x3fcb('0x8'));router[_0x3fcb('0x9')]('/',auth[_0x3fcb('0xa')](),controller['index']);router['get'](_0x3fcb('0xb'),auth['isAuthenticated'](),controller[_0x3fcb('0xc')]);router['get'](_0x3fcb('0xd'),auth[_0x3fcb('0xa')](),controller[_0x3fcb('0xe')]);router[_0x3fcb('0x9')](_0x3fcb('0xf'),auth[_0x3fcb('0xa')](),controller[_0x3fcb('0x10')]);router[_0x3fcb('0x11')]('/',auth[_0x3fcb('0xa')](),controller[_0x3fcb('0x12')]);router[_0x3fcb('0x11')](_0x3fcb('0xd'),auth['isAuthenticated'](),controller[_0x3fcb('0x13')]);router[_0x3fcb('0x14')](_0x3fcb('0xb'),auth[_0x3fcb('0xa')](),controller[_0x3fcb('0x15')]);router['delete'](_0x3fcb('0xb'),auth[_0x3fcb('0xa')](),controller['destroy']);module[_0x3fcb('0x16')]=router;