Built motion from commit (unavailable).|2.3.94
[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 _0x322e=['./intDynamics365Field.controller','isAuthenticated','index','get','show','post','create','/:id','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment'];(function(_0xf6821,_0x145833){var _0x925750=function(_0x4a0316){while(--_0x4a0316){_0xf6821['push'](_0xf6821['shift']());}};_0x925750(++_0x145833);}(_0x322e,0x1f0));var _0xe322=function(_0x51769e,_0x35322e){_0x51769e=_0x51769e-0x0;var _0x4f9748=_0x322e[_0x51769e];return _0x4f9748;};'use strict';var multer=require(_0xe322('0x0'));var util=require(_0xe322('0x1'));var path=require(_0xe322('0x2'));var timeout=require(_0xe322('0x3'));var express=require('express');var router=express[_0xe322('0x4')]();var auth=require(_0xe322('0x5'));var interaction=require(_0xe322('0x6'));var config=require(_0xe322('0x7'));var controller=require(_0xe322('0x8'));router['get']('/',auth[_0xe322('0x9')](),controller[_0xe322('0xa')]);router[_0xe322('0xb')]('/:id',auth[_0xe322('0x9')](),controller[_0xe322('0xc')]);router[_0xe322('0xd')]('/',auth[_0xe322('0x9')](),controller[_0xe322('0xe')]);router['put'](_0xe322('0xf'),auth[_0xe322('0x9')](),controller['update']);router['delete'](_0xe322('0xf'),auth[_0xe322('0x9')](),controller[_0xe322('0x10')]);module[_0xe322('0x11')]=router;