Built motion from commit f8768ebe.|2.6.15
[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 _0x6547=['path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Field.controller','isAuthenticated','index','/:id','show','put','update','delete','destroy','exports','multer','util'];(function(_0x3e88da,_0x39dcf5){var _0x186c6b=function(_0x35902e){while(--_0x35902e){_0x3e88da['push'](_0x3e88da['shift']());}};_0x186c6b(++_0x39dcf5);}(_0x6547,0x167));var _0x7654=function(_0x5125d9,_0x2a678c){_0x5125d9=_0x5125d9-0x0;var _0x529d4a=_0x6547[_0x5125d9];return _0x529d4a;};'use strict';var multer=require(_0x7654('0x0'));var util=require(_0x7654('0x1'));var path=require(_0x7654('0x2'));var timeout=require(_0x7654('0x3'));var express=require(_0x7654('0x4'));var router=express['Router']();var fs_extra=require(_0x7654('0x5'));var auth=require(_0x7654('0x6'));var interaction=require(_0x7654('0x7'));var config=require(_0x7654('0x8'));var controller=require(_0x7654('0x9'));router['get']('/',auth[_0x7654('0xa')](),controller[_0x7654('0xb')]);router['get'](_0x7654('0xc'),auth['isAuthenticated'](),controller[_0x7654('0xd')]);router['post']('/',auth[_0x7654('0xa')](),controller['create']);router[_0x7654('0xe')](_0x7654('0xc'),auth['isAuthenticated'](),controller[_0x7654('0xf')]);router[_0x7654('0x10')]('/:id',auth[_0x7654('0xa')](),controller[_0x7654('0x11')]);module[_0x7654('0x12')]=router;