Built motion from commit (unavailable).|2.3.96
[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 _0x9b9b=['put','update','exports','util','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','create'];(function(_0x5b316b,_0x7aef00){var _0x9464c0=function(_0x176347){while(--_0x176347){_0x5b316b['push'](_0x5b316b['shift']());}};_0x9464c0(++_0x7aef00);}(_0x9b9b,0x114));var _0xb9b9=function(_0x2b20c7,_0x278d49){_0x2b20c7=_0x2b20c7-0x0;var _0x3a6e02=_0x9b9b[_0x2b20c7];return _0x3a6e02;};'use strict';var multer=require('multer');var util=require(_0xb9b9('0x0'));var path=require('path');var timeout=require('connect-timeout');var express=require(_0xb9b9('0x1'));var router=express[_0xb9b9('0x2')]();var auth=require(_0xb9b9('0x3'));var interaction=require(_0xb9b9('0x4'));var config=require(_0xb9b9('0x5'));var controller=require(_0xb9b9('0x6'));router[_0xb9b9('0x7')]('/',auth[_0xb9b9('0x8')](),controller[_0xb9b9('0x9')]);router[_0xb9b9('0x7')](_0xb9b9('0xa'),auth[_0xb9b9('0x8')](),controller[_0xb9b9('0xb')]);router[_0xb9b9('0x7')](_0xb9b9('0xc'),auth[_0xb9b9('0x8')](),controller['getFields']);router['get'](_0xb9b9('0xd'),auth[_0xb9b9('0x8')](),controller[_0xb9b9('0xe')]);router['get'](_0xb9b9('0xf'),auth[_0xb9b9('0x8')](),controller[_0xb9b9('0x10')]);router['post']('/',auth[_0xb9b9('0x8')](),controller[_0xb9b9('0x11')]);router[_0xb9b9('0x12')](_0xb9b9('0xa'),auth[_0xb9b9('0x8')](),controller[_0xb9b9('0x13')]);router['delete']('/:id',auth[_0xb9b9('0x8')](),controller['destroy']);module[_0xb9b9('0x14')]=router;