e6646d6af5b57e594944b44330a4c92d49ab524e
[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 _0xeacb=['util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./intFreshsalesField.controller','get','isAuthenticated','/:id','show','post','create','update','delete','destroy','exports','multer'];(function(_0x3da9b1,_0x7db7b8){var _0x4c7061=function(_0x23da67){while(--_0x23da67){_0x3da9b1['push'](_0x3da9b1['shift']());}};_0x4c7061(++_0x7db7b8);}(_0xeacb,0x1b4));var _0xbeac=function(_0x5ca8a1,_0x4a1863){_0x5ca8a1=_0x5ca8a1-0x0;var _0x35838a=_0xeacb[_0x5ca8a1];return _0x35838a;};'use strict';var multer=require(_0xbeac('0x0'));var util=require(_0xbeac('0x1'));var path=require(_0xbeac('0x2'));var timeout=require(_0xbeac('0x3'));var express=require(_0xbeac('0x4'));var router=express[_0xbeac('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xbeac('0x6'));var config=require(_0xbeac('0x7'));var controller=require(_0xbeac('0x8'));router[_0xbeac('0x9')]('/',auth[_0xbeac('0xa')](),controller['index']);router['get'](_0xbeac('0xb'),auth['isAuthenticated'](),controller[_0xbeac('0xc')]);router[_0xbeac('0xd')]('/',auth[_0xbeac('0xa')](),controller[_0xbeac('0xe')]);router['put'](_0xbeac('0xb'),auth['isAuthenticated'](),controller[_0xbeac('0xf')]);router[_0xbeac('0x10')](_0xbeac('0xb'),auth['isAuthenticated'](),controller[_0xbeac('0x11')]);module[_0xbeac('0x12')]=router;