Built motion from commit 19a84241.|2.5.34
[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 _0x644a=['path','connect-timeout','express','fs-extra','../../components/auth/service','./intFreshsalesField.controller','get','isAuthenticated','/:id','show','post','put','update','delete','destroy','multer','util'];(function(_0x4a9fb1,_0x273043){var _0x348672=function(_0x142b69){while(--_0x142b69){_0x4a9fb1['push'](_0x4a9fb1['shift']());}};_0x348672(++_0x273043);}(_0x644a,0xfd));var _0xa644=function(_0xf915a7,_0x3c5104){_0xf915a7=_0xf915a7-0x0;var _0x714195=_0x644a[_0xf915a7];return _0x714195;};'use strict';var multer=require(_0xa644('0x0'));var util=require(_0xa644('0x1'));var path=require(_0xa644('0x2'));var timeout=require(_0xa644('0x3'));var express=require(_0xa644('0x4'));var router=express['Router']();var fs_extra=require(_0xa644('0x5'));var auth=require(_0xa644('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xa644('0x7'));router[_0xa644('0x8')]('/',auth[_0xa644('0x9')](),controller['index']);router[_0xa644('0x8')](_0xa644('0xa'),auth['isAuthenticated'](),controller[_0xa644('0xb')]);router[_0xa644('0xc')]('/',auth['isAuthenticated'](),controller['create']);router[_0xa644('0xd')](_0xa644('0xa'),auth['isAuthenticated'](),controller[_0xa644('0xe')]);router[_0xa644('0xf')](_0xa644('0xa'),auth[_0xa644('0x9')](),controller[_0xa644('0x10')]);module['exports']=router;