Built motion from commit eddce310.|2.6.12
[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 _0xacf2=['express','Router','fs-extra','../../components/interaction/service','../../config/environment','./intZohoAccount.controller','get','isAuthenticated','index','/:id','/:id/configurations','getConfigurations','post','create','addConfiguration','put','delete','exports','multer','util','path','connect-timeout'];(function(_0x58c729,_0x17ea06){var _0x6dda6f=function(_0x105f09){while(--_0x105f09){_0x58c729['push'](_0x58c729['shift']());}};_0x6dda6f(++_0x17ea06);}(_0xacf2,0xac));var _0x2acf=function(_0x43cc3b,_0x2f3963){_0x43cc3b=_0x43cc3b-0x0;var _0x44fe5e=_0xacf2[_0x43cc3b];return _0x44fe5e;};'use strict';var multer=require(_0x2acf('0x0'));var util=require(_0x2acf('0x1'));var path=require(_0x2acf('0x2'));var timeout=require(_0x2acf('0x3'));var express=require(_0x2acf('0x4'));var router=express[_0x2acf('0x5')]();var fs_extra=require(_0x2acf('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0x2acf('0x7'));var config=require(_0x2acf('0x8'));var controller=require(_0x2acf('0x9'));router[_0x2acf('0xa')]('/',auth[_0x2acf('0xb')](),controller[_0x2acf('0xc')]);router[_0x2acf('0xa')](_0x2acf('0xd'),auth['isAuthenticated'](),controller['show']);router[_0x2acf('0xa')](_0x2acf('0xe'),auth[_0x2acf('0xb')](),controller[_0x2acf('0xf')]);router[_0x2acf('0xa')]('/:id/fields',auth[_0x2acf('0xb')](),controller['getFields']);router[_0x2acf('0x10')]('/',auth[_0x2acf('0xb')](),controller[_0x2acf('0x11')]);router[_0x2acf('0x10')](_0x2acf('0xe'),auth[_0x2acf('0xb')](),controller[_0x2acf('0x12')]);router[_0x2acf('0x13')](_0x2acf('0xd'),auth['isAuthenticated'](),controller['update']);router[_0x2acf('0x14')](_0x2acf('0xd'),auth['isAuthenticated'](),controller['destroy']);module[_0x2acf('0x15')]=router;