Built motion from commit (unavailable).|2.5.22
[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 _0x2e21=['getDescriptions','put','update','delete','destroy','exports','multer','util','path','express','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoConfiguration.controller','get','isAuthenticated','index','/:id','show','getSubjects'];(function(_0x3fb560,_0x4b212c){var _0x7e0bce=function(_0x4e1bd0){while(--_0x4e1bd0){_0x3fb560['push'](_0x3fb560['shift']());}};_0x7e0bce(++_0x4b212c);}(_0x2e21,0xba));var _0x12e2=function(_0x32c9cc,_0x4c81c9){_0x32c9cc=_0x32c9cc-0x0;var _0x324e77=_0x2e21[_0x32c9cc];return _0x324e77;};'use strict';var multer=require(_0x12e2('0x0'));var util=require(_0x12e2('0x1'));var path=require(_0x12e2('0x2'));var timeout=require('connect-timeout');var express=require(_0x12e2('0x3'));var router=express['Router']();var auth=require(_0x12e2('0x4'));var interaction=require(_0x12e2('0x5'));var config=require(_0x12e2('0x6'));var controller=require(_0x12e2('0x7'));router[_0x12e2('0x8')]('/',auth[_0x12e2('0x9')](),controller[_0x12e2('0xa')]);router[_0x12e2('0x8')](_0x12e2('0xb'),auth[_0x12e2('0x9')](),controller[_0x12e2('0xc')]);router[_0x12e2('0x8')]('/:id/fields',auth[_0x12e2('0x9')](),controller['getFields']);router[_0x12e2('0x8')]('/:id/subjects',auth[_0x12e2('0x9')](),controller[_0x12e2('0xd')]);router[_0x12e2('0x8')]('/:id/descriptions',auth[_0x12e2('0x9')](),controller[_0x12e2('0xe')]);router['post']('/',auth[_0x12e2('0x9')](),controller['create']);router[_0x12e2('0xf')]('/:id',auth[_0x12e2('0x9')](),controller[_0x12e2('0x10')]);router[_0x12e2('0x11')](_0x12e2('0xb'),auth[_0x12e2('0x9')](),controller[_0x12e2('0x12')]);module[_0x12e2('0x13')]=router;