Built motion from commit 0900f080.|2.5.45
[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 _0x2aa6=['isAuthenticated','/:id','show','post','put','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','./intZohoField.controller','get'];(function(_0xf26d40,_0x2f4f46){var _0x50b68c=function(_0x10aa58){while(--_0x10aa58){_0xf26d40['push'](_0xf26d40['shift']());}};_0x50b68c(++_0x2f4f46);}(_0x2aa6,0x106));var _0x62aa=function(_0x1cd47d,_0x55bc75){_0x1cd47d=_0x1cd47d-0x0;var _0x29d52f=_0x2aa6[_0x1cd47d];return _0x29d52f;};'use strict';var multer=require(_0x62aa('0x0'));var util=require(_0x62aa('0x1'));var path=require(_0x62aa('0x2'));var timeout=require(_0x62aa('0x3'));var express=require(_0x62aa('0x4'));var router=express[_0x62aa('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0x62aa('0x6'));var interaction=require(_0x62aa('0x7'));var config=require('../../config/environment');var controller=require(_0x62aa('0x8'));router[_0x62aa('0x9')]('/',auth[_0x62aa('0xa')](),controller['index']);router[_0x62aa('0x9')](_0x62aa('0xb'),auth[_0x62aa('0xa')](),controller[_0x62aa('0xc')]);router[_0x62aa('0xd')]('/',auth[_0x62aa('0xa')](),controller['create']);router[_0x62aa('0xe')](_0x62aa('0xb'),auth[_0x62aa('0xa')](),controller['update']);router[_0x62aa('0xf')](_0x62aa('0xb'),auth[_0x62aa('0xa')](),controller['destroy']);module[_0x62aa('0x10')]=router;