Built motion from commit f541bb3b.|2.6.14
[motion2.git] / server / api / intDynamics365Account / 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 _0x2f1b=['put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intDynamics365Account.controller','get','index','show','/:id/configurations','getConfigurations','/:id/fields','isAuthenticated','getFields','post','addConfiguration'];(function(_0x3a0c4f,_0x5dd1a3){var _0x247049=function(_0x144695){while(--_0x144695){_0x3a0c4f['push'](_0x3a0c4f['shift']());}};_0x247049(++_0x5dd1a3);}(_0x2f1b,0xcd));var _0xb2f1=function(_0x24d630,_0x40eede){_0x24d630=_0x24d630-0x0;var _0x2de7cf=_0x2f1b[_0x24d630];return _0x2de7cf;};'use strict';var multer=require(_0xb2f1('0x0'));var util=require(_0xb2f1('0x1'));var path=require(_0xb2f1('0x2'));var timeout=require(_0xb2f1('0x3'));var express=require(_0xb2f1('0x4'));var router=express[_0xb2f1('0x5')]();var fs_extra=require(_0xb2f1('0x6'));var auth=require(_0xb2f1('0x7'));var interaction=require('../../components/interaction/service');var config=require(_0xb2f1('0x8'));var controller=require(_0xb2f1('0x9'));router[_0xb2f1('0xa')]('/',auth['isAuthenticated'](),controller[_0xb2f1('0xb')]);router[_0xb2f1('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xb2f1('0xc')]);router[_0xb2f1('0xa')](_0xb2f1('0xd'),auth['isAuthenticated'](),controller[_0xb2f1('0xe')]);router[_0xb2f1('0xa')](_0xb2f1('0xf'),auth[_0xb2f1('0x10')](),controller[_0xb2f1('0x11')]);router[_0xb2f1('0x12')]('/',auth[_0xb2f1('0x10')](),controller['create']);router[_0xb2f1('0x12')](_0xb2f1('0xd'),auth[_0xb2f1('0x10')](),controller[_0xb2f1('0x13')]);router[_0xb2f1('0x14')]('/:id',auth[_0xb2f1('0x10')](),controller[_0xb2f1('0x15')]);router[_0xb2f1('0x16')]('/:id',auth[_0xb2f1('0x10')](),controller[_0xb2f1('0x17')]);module[_0xb2f1('0x18')]=router;