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