8661f902acbc51c949561f6042f312594b7f9f38
[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 _0x2ffa=['create','put','update','delete','destroy','exports','multer','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoField.controller','get','index','/:id','isAuthenticated','show','post'];(function(_0xb42da0,_0x5e98b4){var _0x4036c7=function(_0x1ca1dc){while(--_0x1ca1dc){_0xb42da0['push'](_0xb42da0['shift']());}};_0x4036c7(++_0x5e98b4);}(_0x2ffa,0x16e));var _0xa2ff=function(_0x150dc8,_0x40952f){_0x150dc8=_0x150dc8-0x0;var _0x5006b8=_0x2ffa[_0x150dc8];return _0x5006b8;};'use strict';var multer=require(_0xa2ff('0x0'));var util=require('util');var path=require('path');var timeout=require('connect-timeout');var express=require(_0xa2ff('0x1'));var router=express[_0xa2ff('0x2')]();var fs_extra=require(_0xa2ff('0x3'));var auth=require(_0xa2ff('0x4'));var interaction=require(_0xa2ff('0x5'));var config=require(_0xa2ff('0x6'));var controller=require(_0xa2ff('0x7'));router[_0xa2ff('0x8')]('/',auth['isAuthenticated'](),controller[_0xa2ff('0x9')]);router[_0xa2ff('0x8')](_0xa2ff('0xa'),auth[_0xa2ff('0xb')](),controller[_0xa2ff('0xc')]);router[_0xa2ff('0xd')]('/',auth[_0xa2ff('0xb')](),controller[_0xa2ff('0xe')]);router[_0xa2ff('0xf')](_0xa2ff('0xa'),auth[_0xa2ff('0xb')](),controller[_0xa2ff('0x10')]);router[_0xa2ff('0x11')](_0xa2ff('0xa'),auth[_0xa2ff('0xb')](),controller[_0xa2ff('0x12')]);module[_0xa2ff('0x13')]=router;