Built motion from commit (unavailable).|2.4.20
[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 _0x94ae=['isAuthenticated','show','getConfigurations','/:id/fields','getFields','post','/:id/configurations','addConfiguration','put','/:id','delete','exports','util','connect-timeout','../../components/auth/service','../../components/interaction/service','./intFreshdeskAccount.controller','get'];(function(_0x11c937,_0x2bb192){var _0x9f825e=function(_0x106d47){while(--_0x106d47){_0x11c937['push'](_0x11c937['shift']());}};_0x9f825e(++_0x2bb192);}(_0x94ae,0x12c));var _0xe94a=function(_0x44e9d8,_0x13c3cd){_0x44e9d8=_0x44e9d8-0x0;var _0x32a396=_0x94ae[_0x44e9d8];return _0x32a396;};'use strict';var multer=require('multer');var util=require(_0xe94a('0x0'));var path=require('path');var timeout=require(_0xe94a('0x1'));var express=require('express');var router=express['Router']();var auth=require(_0xe94a('0x2'));var interaction=require(_0xe94a('0x3'));var config=require('../../config/environment');var controller=require(_0xe94a('0x4'));router[_0xe94a('0x5')]('/',auth[_0xe94a('0x6')](),controller['index']);router[_0xe94a('0x5')]('/:id',auth[_0xe94a('0x6')](),controller[_0xe94a('0x7')]);router[_0xe94a('0x5')]('/:id/configurations',auth[_0xe94a('0x6')](),controller[_0xe94a('0x8')]);router[_0xe94a('0x5')](_0xe94a('0x9'),auth[_0xe94a('0x6')](),controller[_0xe94a('0xa')]);router[_0xe94a('0xb')]('/',auth[_0xe94a('0x6')](),controller['create']);router[_0xe94a('0xb')](_0xe94a('0xc'),auth['isAuthenticated'](),controller[_0xe94a('0xd')]);router[_0xe94a('0xe')](_0xe94a('0xf'),auth[_0xe94a('0x6')](),controller['update']);router[_0xe94a('0x10')]('/:id',auth['isAuthenticated'](),controller['destroy']);module[_0xe94a('0x11')]=router;