c430d768a79f9361b3fa3bdf0efb1c29529ef8a5
[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 _0x8b1a=['/:id/descriptions','getDescriptions','post','create','put','/:id','update','exports','multer','util','path','express','Router','../../components/auth/service','../../config/environment','./intZohoConfiguration.controller','get','isAuthenticated','index','show','/:id/fields','/:id/subjects'];(function(_0x5667a8,_0x748471){var _0x211b58=function(_0x45d225){while(--_0x45d225){_0x5667a8['push'](_0x5667a8['shift']());}};_0x211b58(++_0x748471);}(_0x8b1a,0x152));var _0xa8b1=function(_0x361bfc,_0x5f42cd){_0x361bfc=_0x361bfc-0x0;var _0x495521=_0x8b1a[_0x361bfc];return _0x495521;};'use strict';var multer=require(_0xa8b1('0x0'));var util=require(_0xa8b1('0x1'));var path=require(_0xa8b1('0x2'));var timeout=require('connect-timeout');var express=require(_0xa8b1('0x3'));var router=express[_0xa8b1('0x4')]();var auth=require(_0xa8b1('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0xa8b1('0x6'));var controller=require(_0xa8b1('0x7'));router[_0xa8b1('0x8')]('/',auth[_0xa8b1('0x9')](),controller[_0xa8b1('0xa')]);router[_0xa8b1('0x8')]('/:id',auth[_0xa8b1('0x9')](),controller[_0xa8b1('0xb')]);router['get'](_0xa8b1('0xc'),auth[_0xa8b1('0x9')](),controller['getFields']);router[_0xa8b1('0x8')](_0xa8b1('0xd'),auth[_0xa8b1('0x9')](),controller['getSubjects']);router['get'](_0xa8b1('0xe'),auth['isAuthenticated'](),controller[_0xa8b1('0xf')]);router[_0xa8b1('0x10')]('/',auth[_0xa8b1('0x9')](),controller[_0xa8b1('0x11')]);router[_0xa8b1('0x12')](_0xa8b1('0x13'),auth[_0xa8b1('0x9')](),controller[_0xa8b1('0x14')]);router['delete'](_0xa8b1('0x13'),auth[_0xa8b1('0x9')](),controller['destroy']);module[_0xa8b1('0x15')]=router;