Built motion from commit (unavailable).|2.3.96
[motion2.git] / server / api / intFreshdeskField / 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 _0x8107=['get','show','post','isAuthenticated','put','/:id','delete','destroy','exports','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intFreshdeskField.controller'];(function(_0x4b91c4,_0x23f35f){var _0x25cb80=function(_0x48e283){while(--_0x48e283){_0x4b91c4['push'](_0x4b91c4['shift']());}};_0x25cb80(++_0x23f35f);}(_0x8107,0x109));var _0x7810=function(_0x5d8076,_0x2b476a){_0x5d8076=_0x5d8076-0x0;var _0x26811a=_0x8107[_0x5d8076];return _0x26811a;};'use strict';var multer=require('multer');var util=require('util');var path=require(_0x7810('0x0'));var timeout=require(_0x7810('0x1'));var express=require(_0x7810('0x2'));var router=express[_0x7810('0x3')]();var auth=require(_0x7810('0x4'));var interaction=require('../../components/interaction/service');var config=require(_0x7810('0x5'));var controller=require(_0x7810('0x6'));router[_0x7810('0x7')]('/',auth['isAuthenticated'](),controller['index']);router[_0x7810('0x7')]('/:id',auth['isAuthenticated'](),controller[_0x7810('0x8')]);router[_0x7810('0x9')]('/',auth[_0x7810('0xa')](),controller['create']);router[_0x7810('0xb')](_0x7810('0xc'),auth[_0x7810('0xa')](),controller['update']);router[_0x7810('0xd')](_0x7810('0xc'),auth[_0x7810('0xa')](),controller[_0x7810('0xe')]);module[_0x7810('0xf')]=router;