Built motion from commit fe909640.|2.6.8
[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 _0x4fd0=['/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','put','update','delete','destroy','exports','multer','connect-timeout','Router','fs-extra','../../components/auth/service','../../config/environment','./intFreshdeskAccount.controller','get','/:id','isAuthenticated'];(function(_0x4be946,_0x364e65){var _0x1905e5=function(_0x2788c0){while(--_0x2788c0){_0x4be946['push'](_0x4be946['shift']());}};_0x1905e5(++_0x364e65);}(_0x4fd0,0x156));var _0x04fd=function(_0x99ba67,_0x10eae9){_0x99ba67=_0x99ba67-0x0;var _0x5c4f7d=_0x4fd0[_0x99ba67];return _0x5c4f7d;};'use strict';var multer=require(_0x04fd('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x04fd('0x1'));var express=require('express');var router=express[_0x04fd('0x2')]();var fs_extra=require(_0x04fd('0x3'));var auth=require(_0x04fd('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x04fd('0x5'));var controller=require(_0x04fd('0x6'));router[_0x04fd('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x04fd('0x7')](_0x04fd('0x8'),auth[_0x04fd('0x9')](),controller['show']);router[_0x04fd('0x7')](_0x04fd('0xa'),auth[_0x04fd('0x9')](),controller[_0x04fd('0xb')]);router[_0x04fd('0x7')](_0x04fd('0xc'),auth[_0x04fd('0x9')](),controller[_0x04fd('0xd')]);router[_0x04fd('0xe')]('/',auth['isAuthenticated'](),controller[_0x04fd('0xf')]);router[_0x04fd('0xe')]('/:id/configurations',auth['isAuthenticated'](),controller[_0x04fd('0x10')]);router[_0x04fd('0x11')](_0x04fd('0x8'),auth[_0x04fd('0x9')](),controller[_0x04fd('0x12')]);router[_0x04fd('0x13')](_0x04fd('0x8'),auth[_0x04fd('0x9')](),controller[_0x04fd('0x14')]);module[_0x04fd('0x15')]=router;