15fea32558efe69fbe7c45c15a4f37e48b412e74
[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 _0xa22f=['delete','destroy','exports','multer','util','path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intVtigerField.controller','get','isAuthenticated','index','show','post','create','put','/:id','update'];(function(_0x1ae5ab,_0xc5d441){var _0x1ce001=function(_0x5ef96d){while(--_0x5ef96d){_0x1ae5ab['push'](_0x1ae5ab['shift']());}};_0x1ce001(++_0xc5d441);}(_0xa22f,0x13e));var _0xfa22=function(_0x3bf96a,_0x5880c7){_0x3bf96a=_0x3bf96a-0x0;var _0x14379f=_0xa22f[_0x3bf96a];return _0x14379f;};'use strict';var multer=require(_0xfa22('0x0'));var util=require(_0xfa22('0x1'));var path=require(_0xfa22('0x2'));var timeout=require('connect-timeout');var express=require(_0xfa22('0x3'));var router=express[_0xfa22('0x4')]();var fs_extra=require(_0xfa22('0x5'));var auth=require(_0xfa22('0x6'));var interaction=require(_0xfa22('0x7'));var config=require('../../config/environment');var controller=require(_0xfa22('0x8'));router[_0xfa22('0x9')]('/',auth[_0xfa22('0xa')](),controller[_0xfa22('0xb')]);router[_0xfa22('0x9')]('/:id',auth[_0xfa22('0xa')](),controller[_0xfa22('0xc')]);router[_0xfa22('0xd')]('/',auth[_0xfa22('0xa')](),controller[_0xfa22('0xe')]);router[_0xfa22('0xf')](_0xfa22('0x10'),auth[_0xfa22('0xa')](),controller[_0xfa22('0x11')]);router[_0xfa22('0x12')](_0xfa22('0x10'),auth[_0xfa22('0xa')](),controller[_0xfa22('0x13')]);module[_0xfa22('0x14')]=router;