82376050490549c53609ce2951f9402820203690
[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 _0x7d98=['isAuthenticated','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','destroy','exports','multer','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','get','/:id'];(function(_0x254fd1,_0x17eae1){var _0x2d33f1=function(_0x42dffd){while(--_0x42dffd){_0x254fd1['push'](_0x254fd1['shift']());}};_0x2d33f1(++_0x17eae1);}(_0x7d98,0xe7));var _0x87d9=function(_0x48961c,_0x280e9d){_0x48961c=_0x48961c-0x0;var _0x1d895d=_0x7d98[_0x48961c];return _0x1d895d;};'use strict';var multer=require(_0x87d9('0x0'));var util=require('util');var path=require(_0x87d9('0x1'));var timeout=require(_0x87d9('0x2'));var express=require(_0x87d9('0x3'));var router=express[_0x87d9('0x4')]();var auth=require('../../components/auth/service');var interaction=require(_0x87d9('0x5'));var config=require(_0x87d9('0x6'));var controller=require('./intZohoConfiguration.controller');router[_0x87d9('0x7')]('/',auth['isAuthenticated'](),controller['index']);router['get'](_0x87d9('0x8'),auth[_0x87d9('0x9')](),controller[_0x87d9('0xa')]);router['get'](_0x87d9('0xb'),auth[_0x87d9('0x9')](),controller[_0x87d9('0xc')]);router['get'](_0x87d9('0xd'),auth[_0x87d9('0x9')](),controller[_0x87d9('0xe')]);router[_0x87d9('0x7')](_0x87d9('0xf'),auth[_0x87d9('0x9')](),controller[_0x87d9('0x10')]);router[_0x87d9('0x11')]('/',auth[_0x87d9('0x9')](),controller[_0x87d9('0x12')]);router[_0x87d9('0x13')](_0x87d9('0x8'),auth[_0x87d9('0x9')](),controller[_0x87d9('0x14')]);router[_0x87d9('0x15')](_0x87d9('0x8'),auth[_0x87d9('0x9')](),controller[_0x87d9('0x16')]);module[_0x87d9('0x17')]=router;