Built motion from commit (unavailable).|2.4.21
[motion2.git] / server / api / intZohoAccount / 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 _0x45a1=['path','connect-timeout','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intZohoAccount.controller','get','isAuthenticated','index','show','/:id/configurations','getConfigurations','/:id/fields','post','create','addConfiguration','put','/:id','update','delete','destroy','exports','multer','util'];(function(_0x55f020,_0x20dfc0){var _0xdee3d0=function(_0xc9f079){while(--_0xc9f079){_0x55f020['push'](_0x55f020['shift']());}};_0xdee3d0(++_0x20dfc0);}(_0x45a1,0xf8));var _0x145a=function(_0x2f6cd2,_0x3c0cd3){_0x2f6cd2=_0x2f6cd2-0x0;var _0x472f68=_0x45a1[_0x2f6cd2];return _0x472f68;};'use strict';var multer=require(_0x145a('0x0'));var util=require(_0x145a('0x1'));var path=require(_0x145a('0x2'));var timeout=require(_0x145a('0x3'));var express=require('express');var router=express[_0x145a('0x4')]();var auth=require(_0x145a('0x5'));var interaction=require(_0x145a('0x6'));var config=require(_0x145a('0x7'));var controller=require(_0x145a('0x8'));router[_0x145a('0x9')]('/',auth[_0x145a('0xa')](),controller[_0x145a('0xb')]);router[_0x145a('0x9')]('/:id',auth['isAuthenticated'](),controller[_0x145a('0xc')]);router['get'](_0x145a('0xd'),auth[_0x145a('0xa')](),controller[_0x145a('0xe')]);router[_0x145a('0x9')](_0x145a('0xf'),auth[_0x145a('0xa')](),controller['getFields']);router[_0x145a('0x10')]('/',auth[_0x145a('0xa')](),controller[_0x145a('0x11')]);router['post'](_0x145a('0xd'),auth[_0x145a('0xa')](),controller[_0x145a('0x12')]);router[_0x145a('0x13')](_0x145a('0x14'),auth[_0x145a('0xa')](),controller[_0x145a('0x15')]);router[_0x145a('0x16')](_0x145a('0x14'),auth[_0x145a('0xa')](),controller[_0x145a('0x17')]);module[_0x145a('0x18')]=router;