Built motion from commit (unavailable).|2.5.8
[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 _0x7708=['multer','util','connect-timeout','../../config/environment','./intZohoField.controller','isAuthenticated','get','/:id','show','post','create','update','destroy','exports'];(function(_0xcfa2b2,_0x3973dc){var _0x10b203=function(_0x3da0bf){while(--_0x3da0bf){_0xcfa2b2['push'](_0xcfa2b2['shift']());}};_0x10b203(++_0x3973dc);}(_0x7708,0x188));var _0x8770=function(_0x33032e,_0x31411a){_0x33032e=_0x33032e-0x0;var _0x13316b=_0x7708[_0x33032e];return _0x13316b;};'use strict';var multer=require(_0x8770('0x0'));var util=require(_0x8770('0x1'));var path=require('path');var timeout=require(_0x8770('0x2'));var express=require('express');var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require('../../components/interaction/service');var config=require(_0x8770('0x3'));var controller=require(_0x8770('0x4'));router['get']('/',auth[_0x8770('0x5')](),controller['index']);router[_0x8770('0x6')](_0x8770('0x7'),auth[_0x8770('0x5')](),controller[_0x8770('0x8')]);router[_0x8770('0x9')]('/',auth[_0x8770('0x5')](),controller[_0x8770('0xa')]);router['put'](_0x8770('0x7'),auth[_0x8770('0x5')](),controller[_0x8770('0xb')]);router['delete'](_0x8770('0x7'),auth[_0x8770('0x5')](),controller[_0x8770('0xc')]);module[_0x8770('0xd')]=router;