Built motion from commit (unavailable).|2.5.30
[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 _0x14a4=['delete','destroy','exports','multer','util','Router','fs-extra','../../components/auth/service','../../config/environment','./intDynamics365Field.controller','get','isAuthenticated','index','post','create','put','/:id','update'];(function(_0xa464c9,_0x7c86d8){var _0x3d73c4=function(_0x5c2056){while(--_0x5c2056){_0xa464c9['push'](_0xa464c9['shift']());}};_0x3d73c4(++_0x7c86d8);}(_0x14a4,0x147));var _0x414a=function(_0x1816f4,_0x51a03b){_0x1816f4=_0x1816f4-0x0;var _0x29dc26=_0x14a4[_0x1816f4];return _0x29dc26;};'use strict';var multer=require(_0x414a('0x0'));var util=require(_0x414a('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require('express');var router=express[_0x414a('0x2')]();var fs_extra=require(_0x414a('0x3'));var auth=require(_0x414a('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x414a('0x5'));var controller=require(_0x414a('0x6'));router[_0x414a('0x7')]('/',auth[_0x414a('0x8')](),controller[_0x414a('0x9')]);router[_0x414a('0x7')]('/:id',auth['isAuthenticated'](),controller['show']);router[_0x414a('0xa')]('/',auth[_0x414a('0x8')](),controller[_0x414a('0xb')]);router[_0x414a('0xc')](_0x414a('0xd'),auth['isAuthenticated'](),controller[_0x414a('0xe')]);router[_0x414a('0xf')](_0x414a('0xd'),auth[_0x414a('0x8')](),controller[_0x414a('0x10')]);module[_0x414a('0x11')]=router;