Built motion from commit f0b1811d.|2.6.6
[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 _0xb24b=['update','exports','multer','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoField.controller','get','isAuthenticated','index','/:id','post','create','put'];(function(_0x4d2263,_0x3fbf0d){var _0x24aba0=function(_0x389a59){while(--_0x389a59){_0x4d2263['push'](_0x4d2263['shift']());}};_0x24aba0(++_0x3fbf0d);}(_0xb24b,0x158));var _0xbb24=function(_0x1d9378,_0xb3dd8b){_0x1d9378=_0x1d9378-0x0;var _0x307c99=_0xb24b[_0x1d9378];return _0x307c99;};'use strict';var multer=require(_0xbb24('0x0'));var util=require('util');var path=require(_0xbb24('0x1'));var timeout=require(_0xbb24('0x2'));var express=require(_0xbb24('0x3'));var router=express[_0xbb24('0x4')]();var fs_extra=require(_0xbb24('0x5'));var auth=require(_0xbb24('0x6'));var interaction=require(_0xbb24('0x7'));var config=require(_0xbb24('0x8'));var controller=require(_0xbb24('0x9'));router[_0xbb24('0xa')]('/',auth[_0xbb24('0xb')](),controller[_0xbb24('0xc')]);router[_0xbb24('0xa')](_0xbb24('0xd'),auth[_0xbb24('0xb')](),controller['show']);router[_0xbb24('0xe')]('/',auth[_0xbb24('0xb')](),controller[_0xbb24('0xf')]);router[_0xbb24('0x10')]('/:id',auth[_0xbb24('0xb')](),controller[_0xbb24('0x11')]);router['delete']('/:id',auth[_0xbb24('0xb')](),controller['destroy']);module[_0xbb24('0x12')]=router;