1bc1705b278cb9bd6ef487df69fdd5337d9eba55
[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 _0xb72a=['isAuthenticated','index','/:id','show','post','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intVtigerField.controller','get'];(function(_0x482214,_0x2550ff){var _0x38d0cb=function(_0x2ba281){while(--_0x2ba281){_0x482214['push'](_0x482214['shift']());}};_0x38d0cb(++_0x2550ff);}(_0xb72a,0x135));var _0xab72=function(_0x5370af,_0x5b6ec0){_0x5370af=_0x5370af-0x0;var _0x521494=_0xb72a[_0x5370af];return _0x521494;};'use strict';var multer=require(_0xab72('0x0'));var util=require(_0xab72('0x1'));var path=require(_0xab72('0x2'));var timeout=require(_0xab72('0x3'));var express=require(_0xab72('0x4'));var router=express[_0xab72('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xab72('0x6'));var interaction=require(_0xab72('0x7'));var config=require(_0xab72('0x8'));var controller=require(_0xab72('0x9'));router[_0xab72('0xa')]('/',auth[_0xab72('0xb')](),controller[_0xab72('0xc')]);router[_0xab72('0xa')](_0xab72('0xd'),auth[_0xab72('0xb')](),controller[_0xab72('0xe')]);router[_0xab72('0xf')]('/',auth[_0xab72('0xb')](),controller['create']);router['put'](_0xab72('0xd'),auth[_0xab72('0xb')](),controller[_0xab72('0x10')]);router[_0xab72('0x11')]('/:id',auth[_0xab72('0xb')](),controller[_0xab72('0x12')]);module[_0xab72('0x13')]=router;