Built motion from commit (unavailable).|2.5.0
[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 _0x6822=['util','path','connect-timeout','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects','/:id/descriptions','post','put','update','delete','destroy','exports'];(function(_0x3231e8,_0x41df58){var _0x13a897=function(_0x5c01b5){while(--_0x5c01b5){_0x3231e8['push'](_0x3231e8['shift']());}};_0x13a897(++_0x41df58);}(_0x6822,0x18c));var _0x2682=function(_0x48dcd8,_0x3bd2d1){_0x48dcd8=_0x48dcd8-0x0;var _0xa81baf=_0x6822[_0x48dcd8];return _0xa81baf;};'use strict';var multer=require('multer');var util=require(_0x2682('0x0'));var path=require(_0x2682('0x1'));var timeout=require(_0x2682('0x2'));var express=require(_0x2682('0x3'));var router=express['Router']();var auth=require(_0x2682('0x4'));var interaction=require(_0x2682('0x5'));var config=require(_0x2682('0x6'));var controller=require(_0x2682('0x7'));router[_0x2682('0x8')]('/',auth[_0x2682('0x9')](),controller[_0x2682('0xa')]);router[_0x2682('0x8')](_0x2682('0xb'),auth[_0x2682('0x9')](),controller[_0x2682('0xc')]);router[_0x2682('0x8')](_0x2682('0xd'),auth[_0x2682('0x9')](),controller['getFields']);router[_0x2682('0x8')](_0x2682('0xe'),auth['isAuthenticated'](),controller['getSubjects']);router['get'](_0x2682('0xf'),auth[_0x2682('0x9')](),controller['getDescriptions']);router[_0x2682('0x10')]('/',auth[_0x2682('0x9')](),controller['create']);router[_0x2682('0x11')](_0x2682('0xb'),auth[_0x2682('0x9')](),controller[_0x2682('0x12')]);router[_0x2682('0x13')](_0x2682('0xb'),auth[_0x2682('0x9')](),controller[_0x2682('0x14')]);module[_0x2682('0x15')]=router;