d20640d015d8352a115337a183240b4fed9a6a17
[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 _0xffea=['Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','get','isAuthenticated','show','create','put','delete','destroy','exports','multer','util','path','connect-timeout','express'];(function(_0xbd59ca,_0x46b7bc){var _0x503bfd=function(_0x419d65){while(--_0x419d65){_0xbd59ca['push'](_0xbd59ca['shift']());}};_0x503bfd(++_0x46b7bc);}(_0xffea,0x199));var _0xaffe=function(_0x2793d6,_0xcd6c37){_0x2793d6=_0x2793d6-0x0;var _0x41ff6d=_0xffea[_0x2793d6];return _0x41ff6d;};'use strict';var multer=require(_0xaffe('0x0'));var util=require(_0xaffe('0x1'));var path=require(_0xaffe('0x2'));var timeout=require(_0xaffe('0x3'));var express=require(_0xaffe('0x4'));var router=express[_0xaffe('0x5')]();var auth=require(_0xaffe('0x6'));var interaction=require(_0xaffe('0x7'));var config=require(_0xaffe('0x8'));var controller=require(_0xaffe('0x9'));router[_0xaffe('0xa')]('/',auth[_0xaffe('0xb')](),controller['index']);router[_0xaffe('0xa')]('/:id',auth['isAuthenticated'](),controller[_0xaffe('0xc')]);router['post']('/',auth[_0xaffe('0xb')](),controller[_0xaffe('0xd')]);router[_0xaffe('0xe')]('/:id',auth[_0xaffe('0xb')](),controller['update']);router[_0xaffe('0xf')]('/:id',auth[_0xaffe('0xb')](),controller[_0xaffe('0x10')]);module[_0xaffe('0x11')]=router;