Built motion from commit 06eb8eb0.|2.6.31
[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 _0xae75=['../../components/interaction/service','./intDynamics365Field.controller','isAuthenticated','index','get','/:id','show','post','put','update','delete','destroy','multer','util','connect-timeout','express','../../components/auth/service'];(function(_0x4d613c,_0x55f220){var _0x301fe3=function(_0x5eec0b){while(--_0x5eec0b){_0x4d613c['push'](_0x4d613c['shift']());}};_0x301fe3(++_0x55f220);}(_0xae75,0x94));var _0x5ae7=function(_0xa4fc15,_0x38c4ab){_0xa4fc15=_0xa4fc15-0x0;var _0x2730fc=_0xae75[_0xa4fc15];return _0x2730fc;};'use strict';var multer=require(_0x5ae7('0x0'));var util=require(_0x5ae7('0x1'));var path=require('path');var timeout=require(_0x5ae7('0x2'));var express=require(_0x5ae7('0x3'));var router=express['Router']();var fs_extra=require('fs-extra');var auth=require(_0x5ae7('0x4'));var interaction=require(_0x5ae7('0x5'));var config=require('../../config/environment');var controller=require(_0x5ae7('0x6'));router['get']('/',auth[_0x5ae7('0x7')](),controller[_0x5ae7('0x8')]);router[_0x5ae7('0x9')](_0x5ae7('0xa'),auth[_0x5ae7('0x7')](),controller[_0x5ae7('0xb')]);router[_0x5ae7('0xc')]('/',auth[_0x5ae7('0x7')](),controller['create']);router[_0x5ae7('0xd')](_0x5ae7('0xa'),auth[_0x5ae7('0x7')](),controller[_0x5ae7('0xe')]);router[_0x5ae7('0xf')](_0x5ae7('0xa'),auth[_0x5ae7('0x7')](),controller[_0x5ae7('0x10')]);module['exports']=router;