Built motion from commit 85328c08.|2.5.50
[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 _0xf42a=['multer','path','connect-timeout','Router','fs-extra','../../config/environment','./intZohoField.controller','isAuthenticated','index','get','/:id','show','post','create','put','update','delete','destroy','exports'];(function(_0x5d154b,_0x2bb108){var _0x59ced6=function(_0x26b7ff){while(--_0x26b7ff){_0x5d154b['push'](_0x5d154b['shift']());}};_0x59ced6(++_0x2bb108);}(_0xf42a,0xab));var _0xaf42=function(_0x4b98eb,_0x36d2bd){_0x4b98eb=_0x4b98eb-0x0;var _0x224a29=_0xf42a[_0x4b98eb];return _0x224a29;};'use strict';var multer=require(_0xaf42('0x0'));var util=require('util');var path=require(_0xaf42('0x1'));var timeout=require(_0xaf42('0x2'));var express=require('express');var router=express[_0xaf42('0x3')]();var fs_extra=require(_0xaf42('0x4'));var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0xaf42('0x5'));var controller=require(_0xaf42('0x6'));router['get']('/',auth[_0xaf42('0x7')](),controller[_0xaf42('0x8')]);router[_0xaf42('0x9')](_0xaf42('0xa'),auth[_0xaf42('0x7')](),controller[_0xaf42('0xb')]);router[_0xaf42('0xc')]('/',auth[_0xaf42('0x7')](),controller[_0xaf42('0xd')]);router[_0xaf42('0xe')](_0xaf42('0xa'),auth[_0xaf42('0x7')](),controller[_0xaf42('0xf')]);router[_0xaf42('0x10')](_0xaf42('0xa'),auth[_0xaf42('0x7')](),controller[_0xaf42('0x11')]);module[_0xaf42('0x12')]=router;