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