Built motion from commit (unavailable).|2.5.17
[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 _0xdaed=['multer','path','express','Router','../../components/auth/service','./intFreshsalesField.controller','get','isAuthenticated','index','/:id','post','create','exports'];(function(_0x4c7935,_0x4a53fb){var _0x30651d=function(_0x12f35f){while(--_0x12f35f){_0x4c7935['push'](_0x4c7935['shift']());}};_0x30651d(++_0x4a53fb);}(_0xdaed,0x179));var _0xddae=function(_0x53cd41,_0x54159a){_0x53cd41=_0x53cd41-0x0;var _0x1192a2=_0xdaed[_0x53cd41];return _0x1192a2;};'use strict';var multer=require(_0xddae('0x0'));var util=require('util');var path=require(_0xddae('0x1'));var timeout=require('connect-timeout');var express=require(_0xddae('0x2'));var router=express[_0xddae('0x3')]();var auth=require(_0xddae('0x4'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xddae('0x5'));router[_0xddae('0x6')]('/',auth[_0xddae('0x7')](),controller[_0xddae('0x8')]);router['get'](_0xddae('0x9'),auth[_0xddae('0x7')](),controller['show']);router[_0xddae('0xa')]('/',auth[_0xddae('0x7')](),controller[_0xddae('0xb')]);router['put'](_0xddae('0x9'),auth[_0xddae('0x7')](),controller['update']);router['delete'](_0xddae('0x9'),auth[_0xddae('0x7')](),controller['destroy']);module[_0xddae('0xc')]=router;