Built motion from commit 3c2ce842.|2.6.31
[motion2.git] / server / api / intDynamics365Field / 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 _0xc25e=['update','delete','destroy','exports','multer','util','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','isAuthenticated','index','/:id','post','create','put'];(function(_0x42cae2,_0x284ef8){var _0x5f256f=function(_0x41abc8){while(--_0x41abc8){_0x42cae2['push'](_0x42cae2['shift']());}};_0x5f256f(++_0x284ef8);}(_0xc25e,0x10e));var _0xec25=function(_0x297fd3,_0x115406){_0x297fd3=_0x297fd3-0x0;var _0x2af381=_0xc25e[_0x297fd3];return _0x2af381;};'use strict';var multer=require(_0xec25('0x0'));var util=require(_0xec25('0x1'));var path=require('path');var timeout=require(_0xec25('0x2'));var express=require(_0xec25('0x3'));var router=express['Router']();var fs_extra=require(_0xec25('0x4'));var auth=require(_0xec25('0x5'));var interaction=require(_0xec25('0x6'));var config=require(_0xec25('0x7'));var controller=require('./intDynamics365Field.controller');router[_0xec25('0x8')]('/',auth[_0xec25('0x9')](),controller[_0xec25('0xa')]);router[_0xec25('0x8')](_0xec25('0xb'),auth[_0xec25('0x9')](),controller['show']);router[_0xec25('0xc')]('/',auth[_0xec25('0x9')](),controller[_0xec25('0xd')]);router[_0xec25('0xe')](_0xec25('0xb'),auth[_0xec25('0x9')](),controller[_0xec25('0xf')]);router[_0xec25('0x10')](_0xec25('0xb'),auth['isAuthenticated'](),controller[_0xec25('0x11')]);module[_0xec25('0x12')]=router;