db42ca913cd0903fb120794f844c082c1f4dffe6
[motion2.git] / server / api / intFreshsalesField / 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 _0xe2c8=['put','update','delete','destroy','exports','multer','util','express','Router','../../components/interaction/service','isAuthenticated','index','get','/:id','post','create'];(function(_0x5b644e,_0x2e5e07){var _0x49c6bf=function(_0x3032d9){while(--_0x3032d9){_0x5b644e['push'](_0x5b644e['shift']());}};_0x49c6bf(++_0x2e5e07);}(_0xe2c8,0xd5));var _0x8e2c=function(_0x1694f5,_0x49b7c3){_0x1694f5=_0x1694f5-0x0;var _0x5b4321=_0xe2c8[_0x1694f5];return _0x5b4321;};'use strict';var multer=require(_0x8e2c('0x0'));var util=require(_0x8e2c('0x1'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0x8e2c('0x2'));var router=express[_0x8e2c('0x3')]();var auth=require('../../components/auth/service');var interaction=require(_0x8e2c('0x4'));var config=require('../../config/environment');var controller=require('./intFreshsalesField.controller');router['get']('/',auth[_0x8e2c('0x5')](),controller[_0x8e2c('0x6')]);router[_0x8e2c('0x7')](_0x8e2c('0x8'),auth[_0x8e2c('0x5')](),controller['show']);router[_0x8e2c('0x9')]('/',auth[_0x8e2c('0x5')](),controller[_0x8e2c('0xa')]);router[_0x8e2c('0xb')](_0x8e2c('0x8'),auth[_0x8e2c('0x5')](),controller[_0x8e2c('0xc')]);router[_0x8e2c('0xd')]('/:id',auth[_0x8e2c('0x5')](),controller[_0x8e2c('0xe')]);module[_0x8e2c('0xf')]=router;