Built motion from commit 616d3211.|2.6.4
[motion2.git] / server / api / intFreshdeskAccount / 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 _0xc0cb=['getConfigurations','getFields','post','create','addConfiguration','put','update','delete','destroy','exports','multer','util','connect-timeout','express','Router','fs-extra','../../components/interaction/service','../../config/environment','./intFreshdeskAccount.controller','index','get','/:id','show','/:id/configurations','isAuthenticated'];(function(_0x1e03a6,_0xf0349){var _0x295b64=function(_0x1ad0a5){while(--_0x1ad0a5){_0x1e03a6['push'](_0x1e03a6['shift']());}};_0x295b64(++_0xf0349);}(_0xc0cb,0xb9));var _0xbc0c=function(_0x7141cd,_0x4f976a){_0x7141cd=_0x7141cd-0x0;var _0x4c02d7=_0xc0cb[_0x7141cd];return _0x4c02d7;};'use strict';var multer=require(_0xbc0c('0x0'));var util=require(_0xbc0c('0x1'));var path=require('path');var timeout=require(_0xbc0c('0x2'));var express=require(_0xbc0c('0x3'));var router=express[_0xbc0c('0x4')]();var fs_extra=require(_0xbc0c('0x5'));var auth=require('../../components/auth/service');var interaction=require(_0xbc0c('0x6'));var config=require(_0xbc0c('0x7'));var controller=require(_0xbc0c('0x8'));router['get']('/',auth['isAuthenticated'](),controller[_0xbc0c('0x9')]);router[_0xbc0c('0xa')](_0xbc0c('0xb'),auth['isAuthenticated'](),controller[_0xbc0c('0xc')]);router[_0xbc0c('0xa')](_0xbc0c('0xd'),auth[_0xbc0c('0xe')](),controller[_0xbc0c('0xf')]);router['get']('/:id/fields',auth[_0xbc0c('0xe')](),controller[_0xbc0c('0x10')]);router[_0xbc0c('0x11')]('/',auth['isAuthenticated'](),controller[_0xbc0c('0x12')]);router[_0xbc0c('0x11')](_0xbc0c('0xd'),auth[_0xbc0c('0xe')](),controller[_0xbc0c('0x13')]);router[_0xbc0c('0x14')](_0xbc0c('0xb'),auth[_0xbc0c('0xe')](),controller[_0xbc0c('0x15')]);router[_0xbc0c('0x16')](_0xbc0c('0xb'),auth['isAuthenticated'](),controller[_0xbc0c('0x17')]);module[_0xbc0c('0x18')]=router;