Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / intZohoField / 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 _0x0c1d=['index','/:id','post','create','put','delete','destroy','exports','path','express','../../components/auth/service','./intZohoField.controller','get','isAuthenticated'];(function(_0x46698a,_0x8de1e4){var _0x356db0=function(_0x19e83c){while(--_0x19e83c){_0x46698a['push'](_0x46698a['shift']());}};_0x356db0(++_0x8de1e4);}(_0x0c1d,0xcc));var _0xd0c1=function(_0x571cee,_0xb2c1d8){_0x571cee=_0x571cee-0x0;var _0xdeb5a7=_0x0c1d[_0x571cee];return _0xdeb5a7;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xd0c1('0x0'));var timeout=require('connect-timeout');var express=require(_0xd0c1('0x1'));var router=express['Router']();var auth=require(_0xd0c1('0x2'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xd0c1('0x3'));router[_0xd0c1('0x4')]('/',auth[_0xd0c1('0x5')](),controller[_0xd0c1('0x6')]);router['get'](_0xd0c1('0x7'),auth['isAuthenticated'](),controller['show']);router[_0xd0c1('0x8')]('/',auth[_0xd0c1('0x5')](),controller[_0xd0c1('0x9')]);router[_0xd0c1('0xa')](_0xd0c1('0x7'),auth['isAuthenticated'](),controller['update']);router[_0xd0c1('0xb')]('/:id',auth[_0xd0c1('0x5')](),controller[_0xd0c1('0xc')]);module[_0xd0c1('0xd')]=router;