Built motion from commit 9d0783e6.|2.6.13
[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 _0x6d5f=['fs-extra','../../components/interaction/service','../../config/environment','index','get','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','/:id','update','delete','exports','multer','util','path','connect-timeout','express','Router'];(function(_0x3c9bdf,_0x3b30cd){var _0x5664a6=function(_0x4ea55c){while(--_0x4ea55c){_0x3c9bdf['push'](_0x3c9bdf['shift']());}};_0x5664a6(++_0x3b30cd);}(_0x6d5f,0x18a));var _0xf6d5=function(_0x7de442,_0x182d78){_0x7de442=_0x7de442-0x0;var _0x51072f=_0x6d5f[_0x7de442];return _0x51072f;};'use strict';var multer=require(_0xf6d5('0x0'));var util=require(_0xf6d5('0x1'));var path=require(_0xf6d5('0x2'));var timeout=require(_0xf6d5('0x3'));var express=require(_0xf6d5('0x4'));var router=express[_0xf6d5('0x5')]();var fs_extra=require(_0xf6d5('0x6'));var auth=require('../../components/auth/service');var interaction=require(_0xf6d5('0x7'));var config=require(_0xf6d5('0x8'));var controller=require('./intFreshdeskAccount.controller');router['get']('/',auth['isAuthenticated'](),controller[_0xf6d5('0x9')]);router[_0xf6d5('0xa')]('/:id',auth[_0xf6d5('0xb')](),controller[_0xf6d5('0xc')]);router[_0xf6d5('0xa')](_0xf6d5('0xd'),auth[_0xf6d5('0xb')](),controller[_0xf6d5('0xe')]);router[_0xf6d5('0xa')](_0xf6d5('0xf'),auth[_0xf6d5('0xb')](),controller[_0xf6d5('0x10')]);router[_0xf6d5('0x11')]('/',auth[_0xf6d5('0xb')](),controller[_0xf6d5('0x12')]);router['post'](_0xf6d5('0xd'),auth[_0xf6d5('0xb')](),controller[_0xf6d5('0x13')]);router[_0xf6d5('0x14')](_0xf6d5('0x15'),auth[_0xf6d5('0xb')](),controller[_0xf6d5('0x16')]);router[_0xf6d5('0x17')](_0xf6d5('0x15'),auth[_0xf6d5('0xb')](),controller['destroy']);module[_0xf6d5('0x18')]=router;