Built motion from commit (unavailable).|2.5.14
[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 _0xecdf=['index','get','/:id','post','isAuthenticated','put','update','delete','destroy','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshsalesField.controller'];(function(_0x33d552,_0x3626bd){var _0x339c99=function(_0x57d574){while(--_0x57d574){_0x33d552['push'](_0x33d552['shift']());}};_0x339c99(++_0x3626bd);}(_0xecdf,0x8e));var _0xfecd=function(_0x321bb2,_0x202794){_0x321bb2=_0x321bb2-0x0;var _0x9c12ed=_0xecdf[_0x321bb2];return _0x9c12ed;};'use strict';var multer=require(_0xfecd('0x0'));var util=require(_0xfecd('0x1'));var path=require(_0xfecd('0x2'));var timeout=require(_0xfecd('0x3'));var express=require(_0xfecd('0x4'));var router=express[_0xfecd('0x5')]();var auth=require(_0xfecd('0x6'));var interaction=require(_0xfecd('0x7'));var config=require(_0xfecd('0x8'));var controller=require(_0xfecd('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0xfecd('0xa')]);router[_0xfecd('0xb')](_0xfecd('0xc'),auth['isAuthenticated'](),controller['show']);router[_0xfecd('0xd')]('/',auth[_0xfecd('0xe')](),controller['create']);router[_0xfecd('0xf')](_0xfecd('0xc'),auth[_0xfecd('0xe')](),controller[_0xfecd('0x10')]);router[_0xfecd('0x11')](_0xfecd('0xc'),auth[_0xfecd('0xe')](),controller[_0xfecd('0x12')]);module['exports']=router;