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