Built motion from commit 9d0783e6.|2.6.13
[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 _0xf856=['put','update','delete','destroy','exports','util','path','express','fs-extra','../../components/auth/service','../../components/interaction/service','./intDynamics365Field.controller','get','isAuthenticated','index','/:id','show','post'];(function(_0x1360df,_0x14bfef){var _0x399a66=function(_0x6b0416){while(--_0x6b0416){_0x1360df['push'](_0x1360df['shift']());}};_0x399a66(++_0x14bfef);}(_0xf856,0x101));var _0x6f85=function(_0x455461,_0x5f3af0){_0x455461=_0x455461-0x0;var _0x3babe4=_0xf856[_0x455461];return _0x3babe4;};'use strict';var multer=require('multer');var util=require(_0x6f85('0x0'));var path=require(_0x6f85('0x1'));var timeout=require('connect-timeout');var express=require(_0x6f85('0x2'));var router=express['Router']();var fs_extra=require(_0x6f85('0x3'));var auth=require(_0x6f85('0x4'));var interaction=require(_0x6f85('0x5'));var config=require('../../config/environment');var controller=require(_0x6f85('0x6'));router[_0x6f85('0x7')]('/',auth[_0x6f85('0x8')](),controller[_0x6f85('0x9')]);router[_0x6f85('0x7')](_0x6f85('0xa'),auth['isAuthenticated'](),controller[_0x6f85('0xb')]);router[_0x6f85('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0x6f85('0xd')](_0x6f85('0xa'),auth['isAuthenticated'](),controller[_0x6f85('0xe')]);router[_0x6f85('0xf')]('/:id',auth[_0x6f85('0x8')](),controller[_0x6f85('0x10')]);module[_0x6f85('0x11')]=router;