Built motion from commit (unavailable).|2.5.7
[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 _0xa1f4=['post','create','addConfiguration','put','/:id','update','destroy','exports','multer','util','path','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskAccount.controller','get','index','isAuthenticated','show','/:id/configurations','getConfigurations','/:id/fields','getFields'];(function(_0x503baf,_0x20e433){var _0x4073ab=function(_0x5e41ce){while(--_0x5e41ce){_0x503baf['push'](_0x503baf['shift']());}};_0x4073ab(++_0x20e433);}(_0xa1f4,0xe0));var _0x4a1f=function(_0x299524,_0x202027){_0x299524=_0x299524-0x0;var _0x5483d8=_0xa1f4[_0x299524];return _0x5483d8;};'use strict';var multer=require(_0x4a1f('0x0'));var util=require(_0x4a1f('0x1'));var path=require(_0x4a1f('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0x4a1f('0x3')]();var auth=require(_0x4a1f('0x4'));var interaction=require(_0x4a1f('0x5'));var config=require(_0x4a1f('0x6'));var controller=require(_0x4a1f('0x7'));router[_0x4a1f('0x8')]('/',auth['isAuthenticated'](),controller[_0x4a1f('0x9')]);router[_0x4a1f('0x8')]('/:id',auth[_0x4a1f('0xa')](),controller[_0x4a1f('0xb')]);router['get'](_0x4a1f('0xc'),auth['isAuthenticated'](),controller[_0x4a1f('0xd')]);router[_0x4a1f('0x8')](_0x4a1f('0xe'),auth['isAuthenticated'](),controller[_0x4a1f('0xf')]);router[_0x4a1f('0x10')]('/',auth[_0x4a1f('0xa')](),controller[_0x4a1f('0x11')]);router['post'](_0x4a1f('0xc'),auth['isAuthenticated'](),controller[_0x4a1f('0x12')]);router[_0x4a1f('0x13')](_0x4a1f('0x14'),auth[_0x4a1f('0xa')](),controller[_0x4a1f('0x15')]);router['delete'](_0x4a1f('0x14'),auth[_0x4a1f('0xa')](),controller[_0x4a1f('0x16')]);module[_0x4a1f('0x17')]=router;