Built motion from commit (unavailable).|2.5.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 _0x6f7a=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intDynamics365Field.controller','get','isAuthenticated','index','/:id','create','put','exports','multer','util'];(function(_0xc3b4b5,_0x2418cf){var _0x14e5c0=function(_0x3967f6){while(--_0x3967f6){_0xc3b4b5['push'](_0xc3b4b5['shift']());}};_0x14e5c0(++_0x2418cf);}(_0x6f7a,0x1ae));var _0xa6f7=function(_0x52f3b5,_0x25aaf4){_0x52f3b5=_0x52f3b5-0x0;var _0x3940af=_0x6f7a[_0x52f3b5];return _0x3940af;};'use strict';var multer=require(_0xa6f7('0x0'));var util=require(_0xa6f7('0x1'));var path=require(_0xa6f7('0x2'));var timeout=require(_0xa6f7('0x3'));var express=require('express');var router=express[_0xa6f7('0x4')]();var auth=require(_0xa6f7('0x5'));var interaction=require(_0xa6f7('0x6'));var config=require(_0xa6f7('0x7'));var controller=require(_0xa6f7('0x8'));router[_0xa6f7('0x9')]('/',auth[_0xa6f7('0xa')](),controller[_0xa6f7('0xb')]);router[_0xa6f7('0x9')](_0xa6f7('0xc'),auth[_0xa6f7('0xa')](),controller['show']);router['post']('/',auth[_0xa6f7('0xa')](),controller[_0xa6f7('0xd')]);router[_0xa6f7('0xe')](_0xa6f7('0xc'),auth[_0xa6f7('0xa')](),controller['update']);router['delete'](_0xa6f7('0xc'),auth[_0xa6f7('0xa')](),controller['destroy']);module[_0xa6f7('0xf')]=router;