Built motion from commit c0cdc9d8.|2.6.28
[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 _0x8c44=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Field.controller','get','isAuthenticated','index','show','post','create','put','/:id','update','delete','exports','multer','path','connect-timeout','express','Router'];(function(_0x16abf7,_0x2c36e1){var _0x2abb12=function(_0x2b5ed5){while(--_0x2b5ed5){_0x16abf7['push'](_0x16abf7['shift']());}};_0x2abb12(++_0x2c36e1);}(_0x8c44,0xa3));var _0x48c4=function(_0x366e97,_0x2fed1f){_0x366e97=_0x366e97-0x0;var _0x152090=_0x8c44[_0x366e97];return _0x152090;};'use strict';var multer=require(_0x48c4('0x0'));var util=require('util');var path=require(_0x48c4('0x1'));var timeout=require(_0x48c4('0x2'));var express=require(_0x48c4('0x3'));var router=express[_0x48c4('0x4')]();var fs_extra=require(_0x48c4('0x5'));var auth=require(_0x48c4('0x6'));var interaction=require(_0x48c4('0x7'));var config=require(_0x48c4('0x8'));var controller=require(_0x48c4('0x9'));router[_0x48c4('0xa')]('/',auth[_0x48c4('0xb')](),controller[_0x48c4('0xc')]);router[_0x48c4('0xa')]('/:id',auth['isAuthenticated'](),controller[_0x48c4('0xd')]);router[_0x48c4('0xe')]('/',auth['isAuthenticated'](),controller[_0x48c4('0xf')]);router[_0x48c4('0x10')](_0x48c4('0x11'),auth[_0x48c4('0xb')](),controller[_0x48c4('0x12')]);router[_0x48c4('0x13')](_0x48c4('0x11'),auth[_0x48c4('0xb')](),controller['destroy']);module[_0x48c4('0x14')]=router;