Built motion from commit (unavailable).|2.5.4
[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 _0x5fc7=['post','create','put','update','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoConfiguration.controller','get','isAuthenticated','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions'];(function(_0x59a053,_0x3d743f){var _0x4bf794=function(_0x5589ef){while(--_0x5589ef){_0x59a053['push'](_0x59a053['shift']());}};_0x4bf794(++_0x3d743f);}(_0x5fc7,0x1e1));var _0x75fc=function(_0x31b5a5,_0x44376a){_0x31b5a5=_0x31b5a5-0x0;var _0x364cc9=_0x5fc7[_0x31b5a5];return _0x364cc9;};'use strict';var multer=require(_0x75fc('0x0'));var util=require(_0x75fc('0x1'));var path=require(_0x75fc('0x2'));var timeout=require(_0x75fc('0x3'));var express=require(_0x75fc('0x4'));var router=express[_0x75fc('0x5')]();var auth=require(_0x75fc('0x6'));var interaction=require(_0x75fc('0x7'));var config=require(_0x75fc('0x8'));var controller=require(_0x75fc('0x9'));router[_0x75fc('0xa')]('/',auth[_0x75fc('0xb')](),controller['index']);router[_0x75fc('0xa')](_0x75fc('0xc'),auth[_0x75fc('0xb')](),controller[_0x75fc('0xd')]);router[_0x75fc('0xa')](_0x75fc('0xe'),auth[_0x75fc('0xb')](),controller[_0x75fc('0xf')]);router[_0x75fc('0xa')](_0x75fc('0x10'),auth['isAuthenticated'](),controller[_0x75fc('0x11')]);router[_0x75fc('0xa')](_0x75fc('0x12'),auth[_0x75fc('0xb')](),controller['getDescriptions']);router[_0x75fc('0x13')]('/',auth[_0x75fc('0xb')](),controller[_0x75fc('0x14')]);router[_0x75fc('0x15')](_0x75fc('0xc'),auth[_0x75fc('0xb')](),controller[_0x75fc('0x16')]);router['delete']('/:id',auth['isAuthenticated'](),controller[_0x75fc('0x17')]);module[_0x75fc('0x18')]=router;