Built motion from commit 3e059bc2.|2.5.32
[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 _0x9b7b=['put','/:id','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../config/environment','./intDynamics365Account.controller','get','index','isAuthenticated','show','/:id/fields','getFields','post','/:id/configurations','addConfiguration'];(function(_0x48b810,_0x173a5e){var _0x23c17d=function(_0x38531e){while(--_0x38531e){_0x48b810['push'](_0x48b810['shift']());}};_0x23c17d(++_0x173a5e);}(_0x9b7b,0xd5));var _0xb9b7=function(_0x5f16b8,_0xc12835){_0x5f16b8=_0x5f16b8-0x0;var _0x1f8735=_0x9b7b[_0x5f16b8];return _0x1f8735;};'use strict';var multer=require(_0xb9b7('0x0'));var util=require(_0xb9b7('0x1'));var path=require('path');var timeout=require(_0xb9b7('0x2'));var express=require(_0xb9b7('0x3'));var router=express[_0xb9b7('0x4')]();var fs_extra=require(_0xb9b7('0x5'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xb9b7('0x6'));var controller=require(_0xb9b7('0x7'));router[_0xb9b7('0x8')]('/',auth['isAuthenticated'](),controller[_0xb9b7('0x9')]);router[_0xb9b7('0x8')]('/:id',auth[_0xb9b7('0xa')](),controller[_0xb9b7('0xb')]);router[_0xb9b7('0x8')]('/:id/configurations',auth['isAuthenticated'](),controller['getConfigurations']);router['get'](_0xb9b7('0xc'),auth['isAuthenticated'](),controller[_0xb9b7('0xd')]);router['post']('/',auth[_0xb9b7('0xa')](),controller['create']);router[_0xb9b7('0xe')](_0xb9b7('0xf'),auth[_0xb9b7('0xa')](),controller[_0xb9b7('0x10')]);router[_0xb9b7('0x11')](_0xb9b7('0x12'),auth[_0xb9b7('0xa')](),controller[_0xb9b7('0x13')]);router[_0xb9b7('0x14')]('/:id',auth[_0xb9b7('0xa')](),controller[_0xb9b7('0x15')]);module[_0xb9b7('0x16')]=router;