aaa97f739d70074b4a7fcc3a0a93799ae79b9420
[motion2.git] / server / api / intVtigerField / 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 _0xc5ce=['connect-timeout','express','Router','fs-extra','../../components/auth/service','./intVtigerField.controller','isAuthenticated','get','/:id','post','create','update','delete','destroy','exports','multer','util','path'];(function(_0x406fbb,_0x1093e5){var _0x8e921d=function(_0x410517){while(--_0x410517){_0x406fbb['push'](_0x406fbb['shift']());}};_0x8e921d(++_0x1093e5);}(_0xc5ce,0x153));var _0xec5c=function(_0x16b9ed,_0x56517a){_0x16b9ed=_0x16b9ed-0x0;var _0x66b1f8=_0xc5ce[_0x16b9ed];return _0x66b1f8;};'use strict';var multer=require(_0xec5c('0x0'));var util=require(_0xec5c('0x1'));var path=require(_0xec5c('0x2'));var timeout=require(_0xec5c('0x3'));var express=require(_0xec5c('0x4'));var router=express[_0xec5c('0x5')]();var fs_extra=require(_0xec5c('0x6'));var auth=require(_0xec5c('0x7'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xec5c('0x8'));router['get']('/',auth[_0xec5c('0x9')](),controller['index']);router[_0xec5c('0xa')](_0xec5c('0xb'),auth[_0xec5c('0x9')](),controller['show']);router[_0xec5c('0xc')]('/',auth['isAuthenticated'](),controller[_0xec5c('0xd')]);router['put'](_0xec5c('0xb'),auth[_0xec5c('0x9')](),controller[_0xec5c('0xe')]);router[_0xec5c('0xf')](_0xec5c('0xb'),auth[_0xec5c('0x9')](),controller[_0xec5c('0x10')]);module[_0xec5c('0x11')]=router;