Built motion from commit ff78e754.|2.6.29
[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 _0x29be=['getSubjects','/:id/descriptions','getDescriptions','create','update','delete','exports','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','./intZohoConfiguration.controller','isAuthenticated','get','/:id','show','/:id/fields','getFields','/:id/subjects'];(function(_0x1630f1,_0x2eba83){var _0x1531e6=function(_0x1d25ec){while(--_0x1d25ec){_0x1630f1['push'](_0x1630f1['shift']());}};_0x1531e6(++_0x2eba83);}(_0x29be,0xc7));var _0xe29b=function(_0x5ddb1c,_0x5ea4df){_0x5ddb1c=_0x5ddb1c-0x0;var _0x354adc=_0x29be[_0x5ddb1c];return _0x354adc;};'use strict';var multer=require(_0xe29b('0x0'));var util=require(_0xe29b('0x1'));var path=require(_0xe29b('0x2'));var timeout=require(_0xe29b('0x3'));var express=require(_0xe29b('0x4'));var router=express[_0xe29b('0x5')]();var fs_extra=require(_0xe29b('0x6'));var auth=require(_0xe29b('0x7'));var interaction=require(_0xe29b('0x8'));var config=require('../../config/environment');var controller=require(_0xe29b('0x9'));router['get']('/',auth[_0xe29b('0xa')](),controller['index']);router[_0xe29b('0xb')](_0xe29b('0xc'),auth[_0xe29b('0xa')](),controller[_0xe29b('0xd')]);router[_0xe29b('0xb')](_0xe29b('0xe'),auth[_0xe29b('0xa')](),controller[_0xe29b('0xf')]);router[_0xe29b('0xb')](_0xe29b('0x10'),auth[_0xe29b('0xa')](),controller[_0xe29b('0x11')]);router[_0xe29b('0xb')](_0xe29b('0x12'),auth[_0xe29b('0xa')](),controller[_0xe29b('0x13')]);router['post']('/',auth['isAuthenticated'](),controller[_0xe29b('0x14')]);router['put']('/:id',auth['isAuthenticated'](),controller[_0xe29b('0x15')]);router[_0xe29b('0x16')](_0xe29b('0xc'),auth[_0xe29b('0xa')](),controller['destroy']);module[_0xe29b('0x17')]=router;