Built motion from commit (unavailable).|2.6.0
[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 _0xa8c0=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskAccount.controller','get','index','/:id','isAuthenticated','show','/:id/fields','getFields','create','post','addConfiguration','put','update','delete','destroy','exports','util','connect-timeout','express','Router','fs-extra'];(function(_0x2cad8f,_0xa1bea){var _0x5c3c23=function(_0x1b4047){while(--_0x1b4047){_0x2cad8f['push'](_0x2cad8f['shift']());}};_0x5c3c23(++_0xa1bea);}(_0xa8c0,0x193));var _0x0a8c=function(_0x16cb03,_0x43ea58){_0x16cb03=_0x16cb03-0x0;var _0x10944e=_0xa8c0[_0x16cb03];return _0x10944e;};'use strict';var multer=require('multer');var util=require(_0x0a8c('0x0'));var path=require('path');var timeout=require(_0x0a8c('0x1'));var express=require(_0x0a8c('0x2'));var router=express[_0x0a8c('0x3')]();var fs_extra=require(_0x0a8c('0x4'));var auth=require(_0x0a8c('0x5'));var interaction=require(_0x0a8c('0x6'));var config=require(_0x0a8c('0x7'));var controller=require(_0x0a8c('0x8'));router[_0x0a8c('0x9')]('/',auth['isAuthenticated'](),controller[_0x0a8c('0xa')]);router[_0x0a8c('0x9')](_0x0a8c('0xb'),auth[_0x0a8c('0xc')](),controller[_0x0a8c('0xd')]);router[_0x0a8c('0x9')]('/:id/configurations',auth[_0x0a8c('0xc')](),controller['getConfigurations']);router[_0x0a8c('0x9')](_0x0a8c('0xe'),auth[_0x0a8c('0xc')](),controller[_0x0a8c('0xf')]);router['post']('/',auth['isAuthenticated'](),controller[_0x0a8c('0x10')]);router[_0x0a8c('0x11')]('/:id/configurations',auth[_0x0a8c('0xc')](),controller[_0x0a8c('0x12')]);router[_0x0a8c('0x13')](_0x0a8c('0xb'),auth['isAuthenticated'](),controller[_0x0a8c('0x14')]);router[_0x0a8c('0x15')](_0x0a8c('0xb'),auth['isAuthenticated'](),controller[_0x0a8c('0x16')]);module[_0x0a8c('0x17')]=router;