2e8a122a1743e9b80aa2cabdbfdc253a1f8a128c
[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 _0xd719=['put','delete','destroy','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intFreshsalesField.controller','get','isAuthenticated','index','/:id','post','create'];(function(_0x14ba20,_0x481a56){var _0x199b1d=function(_0x47e148){while(--_0x47e148){_0x14ba20['push'](_0x14ba20['shift']());}};_0x199b1d(++_0x481a56);}(_0xd719,0x190));var _0x9d71=function(_0x324ccc,_0x5c4672){_0x324ccc=_0x324ccc-0x0;var _0x2f9874=_0xd719[_0x324ccc];return _0x2f9874;};'use strict';var multer=require('multer');var util=require(_0x9d71('0x0'));var path=require(_0x9d71('0x1'));var timeout=require(_0x9d71('0x2'));var express=require(_0x9d71('0x3'));var router=express[_0x9d71('0x4')]();var auth=require(_0x9d71('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x9d71('0x6'));var controller=require(_0x9d71('0x7'));router[_0x9d71('0x8')]('/',auth[_0x9d71('0x9')](),controller[_0x9d71('0xa')]);router[_0x9d71('0x8')](_0x9d71('0xb'),auth[_0x9d71('0x9')](),controller['show']);router[_0x9d71('0xc')]('/',auth[_0x9d71('0x9')](),controller[_0x9d71('0xd')]);router[_0x9d71('0xe')]('/:id',auth[_0x9d71('0x9')](),controller['update']);router[_0x9d71('0xf')](_0x9d71('0xb'),auth['isAuthenticated'](),controller[_0x9d71('0x10')]);module[_0x9d71('0x11')]=router;