Built motion from commit (unavailable).|2.5.4
[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 _0xf012=['../../components/interaction/service','../../config/environment','./intFreshsalesField.controller','get','isAuthenticated','show','post','create','put','update','delete','/:id','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service'];(function(_0x350a01,_0x5ed763){var _0xc17c6b=function(_0x31aaec){while(--_0x31aaec){_0x350a01['push'](_0x350a01['shift']());}};_0xc17c6b(++_0x5ed763);}(_0xf012,0x19d));var _0x2f01=function(_0x1cad51,_0x27ff4d){_0x1cad51=_0x1cad51-0x0;var _0x2ef33e=_0xf012[_0x1cad51];return _0x2ef33e;};'use strict';var multer=require(_0x2f01('0x0'));var util=require(_0x2f01('0x1'));var path=require(_0x2f01('0x2'));var timeout=require(_0x2f01('0x3'));var express=require(_0x2f01('0x4'));var router=express[_0x2f01('0x5')]();var auth=require(_0x2f01('0x6'));var interaction=require(_0x2f01('0x7'));var config=require(_0x2f01('0x8'));var controller=require(_0x2f01('0x9'));router[_0x2f01('0xa')]('/',auth[_0x2f01('0xb')](),controller['index']);router[_0x2f01('0xa')]('/:id',auth[_0x2f01('0xb')](),controller[_0x2f01('0xc')]);router[_0x2f01('0xd')]('/',auth[_0x2f01('0xb')](),controller[_0x2f01('0xe')]);router[_0x2f01('0xf')]('/:id',auth[_0x2f01('0xb')](),controller[_0x2f01('0x10')]);router[_0x2f01('0x11')](_0x2f01('0x12'),auth[_0x2f01('0xb')](),controller[_0x2f01('0x13')]);module[_0x2f01('0x14')]=router;