Built motion from commit (unavailable).|2.5.17
[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 _0xf290=['destroy','util','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Field.controller','isAuthenticated','get','/:id','show','post','create','put','update','delete'];(function(_0x2c892b,_0x26ecaa){var _0x245973=function(_0x5c7b23){while(--_0x5c7b23){_0x2c892b['push'](_0x2c892b['shift']());}};_0x245973(++_0x26ecaa);}(_0xf290,0xde));var _0x0f29=function(_0x1ac6ec,_0x1f81fc){_0x1ac6ec=_0x1ac6ec-0x0;var _0x48a489=_0xf290[_0x1ac6ec];return _0x48a489;};'use strict';var multer=require('multer');var util=require(_0x0f29('0x0'));var path=require('path');var timeout=require(_0x0f29('0x1'));var express=require('express');var router=express[_0x0f29('0x2')]();var auth=require(_0x0f29('0x3'));var interaction=require(_0x0f29('0x4'));var config=require(_0x0f29('0x5'));var controller=require(_0x0f29('0x6'));router['get']('/',auth[_0x0f29('0x7')](),controller['index']);router[_0x0f29('0x8')](_0x0f29('0x9'),auth[_0x0f29('0x7')](),controller[_0x0f29('0xa')]);router[_0x0f29('0xb')]('/',auth[_0x0f29('0x7')](),controller[_0x0f29('0xc')]);router[_0x0f29('0xd')](_0x0f29('0x9'),auth[_0x0f29('0x7')](),controller[_0x0f29('0xe')]);router[_0x0f29('0xf')](_0x0f29('0x9'),auth[_0x0f29('0x7')](),controller[_0x0f29('0x10')]);module['exports']=router;