Built motion from commit d1eab355.|2.6.28
[motion2.git] / server / api / intZohoConfiguration / 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 _0xfc9e=['path','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intZohoConfiguration.controller','get','index','/:id','isAuthenticated','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','update','delete','exports'];(function(_0x39c659,_0x21a0da){var _0x49d0bd=function(_0x4b56d5){while(--_0x4b56d5){_0x39c659['push'](_0x39c659['shift']());}};_0x49d0bd(++_0x21a0da);}(_0xfc9e,0x19e));var _0xefc9=function(_0x33dcf7,_0x3d5390){_0x33dcf7=_0x33dcf7-0x0;var _0x542d4e=_0xfc9e[_0x33dcf7];return _0x542d4e;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0xefc9('0x0'));var timeout=require('connect-timeout');var express=require(_0xefc9('0x1'));var router=express[_0xefc9('0x2')]();var fs_extra=require(_0xefc9('0x3'));var auth=require(_0xefc9('0x4'));var interaction=require(_0xefc9('0x5'));var config=require('../../config/environment');var controller=require(_0xefc9('0x6'));router[_0xefc9('0x7')]('/',auth['isAuthenticated'](),controller[_0xefc9('0x8')]);router['get'](_0xefc9('0x9'),auth[_0xefc9('0xa')](),controller[_0xefc9('0xb')]);router[_0xefc9('0x7')](_0xefc9('0xc'),auth[_0xefc9('0xa')](),controller[_0xefc9('0xd')]);router[_0xefc9('0x7')](_0xefc9('0xe'),auth[_0xefc9('0xa')](),controller[_0xefc9('0xf')]);router['get'](_0xefc9('0x10'),auth[_0xefc9('0xa')](),controller[_0xefc9('0x11')]);router[_0xefc9('0x12')]('/',auth[_0xefc9('0xa')](),controller[_0xefc9('0x13')]);router['put']('/:id',auth[_0xefc9('0xa')](),controller[_0xefc9('0x14')]);router[_0xefc9('0x15')]('/:id',auth[_0xefc9('0xa')](),controller['destroy']);module[_0xefc9('0x16')]=router;