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