6c9d50b17d36e10fd07800ef5d3e365ba7547eff
[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 _0xaf5a=['update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoField.controller','isAuthenticated','get','/:id','show','post','create','put'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xaf5a,0x144));var _0xaaf5=function(_0x13a0d6,_0x9a1972){_0x13a0d6=_0x13a0d6-0x0;var _0x241df1=_0xaf5a[_0x13a0d6];return _0x241df1;};'use strict';var multer=require('multer');var util=require(_0xaaf5('0x0'));var path=require('path');var timeout=require(_0xaaf5('0x1'));var express=require(_0xaaf5('0x2'));var router=express[_0xaaf5('0x3')]();var fs_extra=require(_0xaaf5('0x4'));var auth=require(_0xaaf5('0x5'));var interaction=require(_0xaaf5('0x6'));var config=require(_0xaaf5('0x7'));var controller=require(_0xaaf5('0x8'));router['get']('/',auth[_0xaaf5('0x9')](),controller['index']);router[_0xaaf5('0xa')](_0xaaf5('0xb'),auth[_0xaaf5('0x9')](),controller[_0xaaf5('0xc')]);router[_0xaaf5('0xd')]('/',auth['isAuthenticated'](),controller[_0xaaf5('0xe')]);router[_0xaaf5('0xf')](_0xaaf5('0xb'),auth['isAuthenticated'](),controller[_0xaaf5('0x10')]);router[_0xaaf5('0x11')](_0xaaf5('0xb'),auth[_0xaaf5('0x9')](),controller[_0xaaf5('0x12')]);module[_0xaaf5('0x13')]=router;