b13d924f3f8039defd27cb0971db8dbf8d864d21
[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 _0x586b=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoConfiguration.controller','index','get','/:id','isAuthenticated','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','post','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0x540bc5,_0x3fca60){var _0x7fb43e=function(_0x358d6b){while(--_0x358d6b){_0x540bc5['push'](_0x540bc5['shift']());}};_0x7fb43e(++_0x3fca60);}(_0x586b,0x167));var _0xb586=function(_0x55fc5a,_0xf8c719){_0x55fc5a=_0x55fc5a-0x0;var _0x2c396f=_0x586b[_0x55fc5a];return _0x2c396f;};'use strict';var multer=require(_0xb586('0x0'));var util=require(_0xb586('0x1'));var path=require(_0xb586('0x2'));var timeout=require(_0xb586('0x3'));var express=require(_0xb586('0x4'));var router=express[_0xb586('0x5')]();var fs_extra=require('fs-extra');var auth=require(_0xb586('0x6'));var interaction=require(_0xb586('0x7'));var config=require(_0xb586('0x8'));var controller=require(_0xb586('0x9'));router['get']('/',auth['isAuthenticated'](),controller[_0xb586('0xa')]);router[_0xb586('0xb')](_0xb586('0xc'),auth[_0xb586('0xd')](),controller[_0xb586('0xe')]);router[_0xb586('0xb')](_0xb586('0xf'),auth[_0xb586('0xd')](),controller[_0xb586('0x10')]);router[_0xb586('0xb')](_0xb586('0x11'),auth[_0xb586('0xd')](),controller[_0xb586('0x12')]);router[_0xb586('0xb')](_0xb586('0x13'),auth[_0xb586('0xd')](),controller['getDescriptions']);router[_0xb586('0x14')]('/',auth[_0xb586('0xd')](),controller[_0xb586('0x15')]);router[_0xb586('0x16')](_0xb586('0xc'),auth[_0xb586('0xd')](),controller['update']);router[_0xb586('0x17')](_0xb586('0xc'),auth['isAuthenticated'](),controller[_0xb586('0x18')]);module[_0xb586('0x19')]=router;