7ed7c6e2618d282dfc2560c9f7f191164799f0c6
[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 _0x9bb8=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Field.controller','get','index','isAuthenticated','show','post','put','/:id','update','delete','destroy','exports','multer','connect-timeout','express','Router'];(function(_0x46698a,_0x8de1e4){var _0x356db0=function(_0x19e83c){while(--_0x19e83c){_0x46698a['push'](_0x46698a['shift']());}};_0x356db0(++_0x8de1e4);}(_0x9bb8,0xba));var _0x89bb=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0x9bb8[_0x3dd15e];return _0x231fd0;};'use strict';var multer=require(_0x89bb('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x89bb('0x1'));var express=require(_0x89bb('0x2'));var router=express[_0x89bb('0x3')]();var fs_extra=require('fs-extra');var auth=require(_0x89bb('0x4'));var interaction=require(_0x89bb('0x5'));var config=require(_0x89bb('0x6'));var controller=require(_0x89bb('0x7'));router[_0x89bb('0x8')]('/',auth['isAuthenticated'](),controller[_0x89bb('0x9')]);router[_0x89bb('0x8')]('/:id',auth[_0x89bb('0xa')](),controller[_0x89bb('0xb')]);router[_0x89bb('0xc')]('/',auth[_0x89bb('0xa')](),controller['create']);router[_0x89bb('0xd')](_0x89bb('0xe'),auth[_0x89bb('0xa')](),controller[_0x89bb('0xf')]);router[_0x89bb('0x10')](_0x89bb('0xe'),auth[_0x89bb('0xa')](),controller[_0x89bb('0x11')]);module[_0x89bb('0x12')]=router;