b651b311c727c943c0363e946556a7bed9f6652b
[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 _0x75df=['put','/:id','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','./intDynamics365Account.controller','get','index','show','/:id/configurations','isAuthenticated','getConfigurations','/:id/fields','getFields','create','post','addConfiguration'];(function(_0x5a7e78,_0x400b57){var _0xa8d4a1=function(_0x486659){while(--_0x486659){_0x5a7e78['push'](_0x5a7e78['shift']());}};_0xa8d4a1(++_0x400b57);}(_0x75df,0xe7));var _0xf75d=function(_0x25bc9f,_0x3dca96){_0x25bc9f=_0x25bc9f-0x0;var _0x112f0e=_0x75df[_0x25bc9f];return _0x112f0e;};'use strict';var multer=require(_0xf75d('0x0'));var util=require('util');var path=require(_0xf75d('0x1'));var timeout=require(_0xf75d('0x2'));var express=require(_0xf75d('0x3'));var router=express[_0xf75d('0x4')]();var fs_extra=require(_0xf75d('0x5'));var auth=require(_0xf75d('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xf75d('0x7'));router[_0xf75d('0x8')]('/',auth['isAuthenticated'](),controller[_0xf75d('0x9')]);router[_0xf75d('0x8')]('/:id',auth['isAuthenticated'](),controller[_0xf75d('0xa')]);router[_0xf75d('0x8')](_0xf75d('0xb'),auth[_0xf75d('0xc')](),controller[_0xf75d('0xd')]);router[_0xf75d('0x8')](_0xf75d('0xe'),auth[_0xf75d('0xc')](),controller[_0xf75d('0xf')]);router['post']('/',auth[_0xf75d('0xc')](),controller[_0xf75d('0x10')]);router[_0xf75d('0x11')](_0xf75d('0xb'),auth[_0xf75d('0xc')](),controller[_0xf75d('0x12')]);router[_0xf75d('0x13')](_0xf75d('0x14'),auth[_0xf75d('0xc')](),controller[_0xf75d('0x15')]);router[_0xf75d('0x16')](_0xf75d('0x14'),auth[_0xf75d('0xc')](),controller[_0xf75d('0x17')]);module[_0xf75d('0x18')]=router;