Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / intDynamics365Configuration / 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 _0x285b=['getDescriptions','post','create','put','/:id','update','delete','destroy','exports','multer','path','connect-timeout','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Configuration.controller','get','isAuthenticated','index','show','getFields','/:id/subjects'];(function(_0x4d4339,_0x33e314){var _0x24b8d8=function(_0x1a8323){while(--_0x1a8323){_0x4d4339['push'](_0x4d4339['shift']());}};_0x24b8d8(++_0x33e314);}(_0x285b,0x171));var _0xb285=function(_0x232dd2,_0x28c2dc){_0x232dd2=_0x232dd2-0x0;var _0x37d1a1=_0x285b[_0x232dd2];return _0x37d1a1;};'use strict';var multer=require(_0xb285('0x0'));var util=require('util');var path=require(_0xb285('0x1'));var timeout=require(_0xb285('0x2'));var express=require('express');var router=express[_0xb285('0x3')]();var fs_extra=require(_0xb285('0x4'));var auth=require(_0xb285('0x5'));var interaction=require(_0xb285('0x6'));var config=require(_0xb285('0x7'));var controller=require(_0xb285('0x8'));router[_0xb285('0x9')]('/',auth[_0xb285('0xa')](),controller[_0xb285('0xb')]);router[_0xb285('0x9')]('/:id',auth[_0xb285('0xa')](),controller[_0xb285('0xc')]);router[_0xb285('0x9')]('/:id/fields',auth['isAuthenticated'](),controller[_0xb285('0xd')]);router[_0xb285('0x9')](_0xb285('0xe'),auth[_0xb285('0xa')](),controller['getSubjects']);router[_0xb285('0x9')]('/:id/descriptions',auth[_0xb285('0xa')](),controller[_0xb285('0xf')]);router[_0xb285('0x10')]('/',auth[_0xb285('0xa')](),controller[_0xb285('0x11')]);router[_0xb285('0x12')](_0xb285('0x13'),auth[_0xb285('0xa')](),controller[_0xb285('0x14')]);router[_0xb285('0x15')]('/:id',auth['isAuthenticated'](),controller[_0xb285('0x16')]);module[_0xb285('0x17')]=router;