Built motion from commit 994c64e1.|2.6.1
[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 _0x139d=['update','delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intVtigerField.controller','get','isAuthenticated','index','show','post','create','put','/:id'];(function(_0x43ddfc,_0x4c02bb){var _0x2f0b82=function(_0x1eb5ef){while(--_0x1eb5ef){_0x43ddfc['push'](_0x43ddfc['shift']());}};_0x2f0b82(++_0x4c02bb);}(_0x139d,0x100));var _0xd139=function(_0x100c07,_0x26a1a3){_0x100c07=_0x100c07-0x0;var _0x4b1389=_0x139d[_0x100c07];return _0x4b1389;};'use strict';var multer=require(_0xd139('0x0'));var util=require(_0xd139('0x1'));var path=require(_0xd139('0x2'));var timeout=require('connect-timeout');var express=require(_0xd139('0x3'));var router=express[_0xd139('0x4')]();var fs_extra=require(_0xd139('0x5'));var auth=require(_0xd139('0x6'));var interaction=require('../../components/interaction/service');var config=require(_0xd139('0x7'));var controller=require(_0xd139('0x8'));router[_0xd139('0x9')]('/',auth[_0xd139('0xa')](),controller[_0xd139('0xb')]);router['get']('/:id',auth[_0xd139('0xa')](),controller[_0xd139('0xc')]);router[_0xd139('0xd')]('/',auth[_0xd139('0xa')](),controller[_0xd139('0xe')]);router[_0xd139('0xf')](_0xd139('0x10'),auth[_0xd139('0xa')](),controller[_0xd139('0x11')]);router[_0xd139('0x12')]('/:id',auth[_0xd139('0xa')](),controller[_0xd139('0x13')]);module[_0xd139('0x14')]=router;