Built motion from commit 43538d75.|2.5.35
[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 _0x67df=['../../components/interaction/service','../../config/environment','./intVtigerField.controller','get','isAuthenticated','/:id','show','post','put','update','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service'];(function(_0x1f1ad1,_0x24857d){var _0x2a3ce1=function(_0x5c209d){while(--_0x5c209d){_0x1f1ad1['push'](_0x1f1ad1['shift']());}};_0x2a3ce1(++_0x24857d);}(_0x67df,0x1d3));var _0xf67d=function(_0x2a798b,_0x14e85c){_0x2a798b=_0x2a798b-0x0;var _0x5386e8=_0x67df[_0x2a798b];return _0x5386e8;};'use strict';var multer=require(_0xf67d('0x0'));var util=require(_0xf67d('0x1'));var path=require(_0xf67d('0x2'));var timeout=require(_0xf67d('0x3'));var express=require(_0xf67d('0x4'));var router=express[_0xf67d('0x5')]();var fs_extra=require(_0xf67d('0x6'));var auth=require(_0xf67d('0x7'));var interaction=require(_0xf67d('0x8'));var config=require(_0xf67d('0x9'));var controller=require(_0xf67d('0xa'));router[_0xf67d('0xb')]('/',auth[_0xf67d('0xc')](),controller['index']);router[_0xf67d('0xb')](_0xf67d('0xd'),auth[_0xf67d('0xc')](),controller[_0xf67d('0xe')]);router[_0xf67d('0xf')]('/',auth[_0xf67d('0xc')](),controller['create']);router[_0xf67d('0x10')](_0xf67d('0xd'),auth['isAuthenticated'](),controller[_0xf67d('0x11')]);router['delete'](_0xf67d('0xd'),auth[_0xf67d('0xc')](),controller['destroy']);module[_0xf67d('0x12')]=router;