Built motion from commit (unavailable).|2.5.11
[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 _0x8438=['update','destroy','exports','multer','util','path','connect-timeout','Router','../../components/auth/service','get','index','/:id','isAuthenticated','show','post','create','put'];(function(_0x2ba650,_0x2f2c61){var _0x2d7600=function(_0x31080f){while(--_0x31080f){_0x2ba650['push'](_0x2ba650['shift']());}};_0x2d7600(++_0x2f2c61);}(_0x8438,0x19b));var _0x8843=function(_0x313282,_0x4583d6){_0x313282=_0x313282-0x0;var _0x3c4704=_0x8438[_0x313282];return _0x3c4704;};'use strict';var multer=require(_0x8843('0x0'));var util=require(_0x8843('0x1'));var path=require(_0x8843('0x2'));var timeout=require(_0x8843('0x3'));var express=require('express');var router=express[_0x8843('0x4')]();var auth=require(_0x8843('0x5'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require('./intFreshsalesField.controller');router[_0x8843('0x6')]('/',auth['isAuthenticated'](),controller[_0x8843('0x7')]);router[_0x8843('0x6')](_0x8843('0x8'),auth[_0x8843('0x9')](),controller[_0x8843('0xa')]);router[_0x8843('0xb')]('/',auth[_0x8843('0x9')](),controller[_0x8843('0xc')]);router[_0x8843('0xd')](_0x8843('0x8'),auth[_0x8843('0x9')](),controller[_0x8843('0xe')]);router['delete'](_0x8843('0x8'),auth['isAuthenticated'](),controller[_0x8843('0xf')]);module[_0x8843('0x10')]=router;