Built motion from commit (unavailable).|2.4.18
[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 _0xc93f=['isAuthenticated','index','show','/:id/configurations','getConfigurations','/:id/fields','post','create','addConfiguration','put','/:id','update','delete','exports','multer','util','connect-timeout','express','../../config/environment','./intDynamics365Account.controller','get'];(function(_0x2d4421,_0x15a84f){var _0x2d3b01=function(_0xb9e94c){while(--_0xb9e94c){_0x2d4421['push'](_0x2d4421['shift']());}};_0x2d3b01(++_0x15a84f);}(_0xc93f,0xa1));var _0xfc93=function(_0x3fb359,_0x3568dd){_0x3fb359=_0x3fb359-0x0;var _0xce5fb3=_0xc93f[_0x3fb359];return _0xce5fb3;};'use strict';var multer=require(_0xfc93('0x0'));var util=require(_0xfc93('0x1'));var path=require('path');var timeout=require(_0xfc93('0x2'));var express=require(_0xfc93('0x3'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xfc93('0x4'));var controller=require(_0xfc93('0x5'));router[_0xfc93('0x6')]('/',auth[_0xfc93('0x7')](),controller[_0xfc93('0x8')]);router[_0xfc93('0x6')]('/:id',auth[_0xfc93('0x7')](),controller[_0xfc93('0x9')]);router[_0xfc93('0x6')](_0xfc93('0xa'),auth[_0xfc93('0x7')](),controller[_0xfc93('0xb')]);router[_0xfc93('0x6')](_0xfc93('0xc'),auth[_0xfc93('0x7')](),controller['getFields']);router[_0xfc93('0xd')]('/',auth[_0xfc93('0x7')](),controller[_0xfc93('0xe')]);router['post'](_0xfc93('0xa'),auth['isAuthenticated'](),controller[_0xfc93('0xf')]);router[_0xfc93('0x10')](_0xfc93('0x11'),auth[_0xfc93('0x7')](),controller[_0xfc93('0x12')]);router[_0xfc93('0x13')]('/:id',auth[_0xfc93('0x7')](),controller['destroy']);module[_0xfc93('0x14')]=router;