Built motion from commit (unavailable).|2.5.26
[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 _0x630e=['create','put','delete','destroy','exports','multer','util','path','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','isAuthenticated','index','/:id','post'];(function(_0xa73b06,_0x21dc0c){var _0x56fa10=function(_0x5cd9fd){while(--_0x5cd9fd){_0xa73b06['push'](_0xa73b06['shift']());}};_0x56fa10(++_0x21dc0c);}(_0x630e,0x71));var _0xe630=function(_0x2c6b83,_0x2f3ca3){_0x2c6b83=_0x2c6b83-0x0;var _0x16ed8d=_0x630e[_0x2c6b83];return _0x16ed8d;};'use strict';var multer=require(_0xe630('0x0'));var util=require(_0xe630('0x1'));var path=require(_0xe630('0x2'));var timeout=require('connect-timeout');var express=require('express');var router=express[_0xe630('0x3')]();var fs_extra=require(_0xe630('0x4'));var auth=require(_0xe630('0x5'));var interaction=require(_0xe630('0x6'));var config=require(_0xe630('0x7'));var controller=require(_0xe630('0x8'));router['get']('/',auth[_0xe630('0x9')](),controller[_0xe630('0xa')]);router['get'](_0xe630('0xb'),auth[_0xe630('0x9')](),controller['show']);router[_0xe630('0xc')]('/',auth[_0xe630('0x9')](),controller[_0xe630('0xd')]);router[_0xe630('0xe')]('/:id',auth[_0xe630('0x9')](),controller['update']);router[_0xe630('0xf')]('/:id',auth[_0xe630('0x9')](),controller[_0xe630('0x10')]);module[_0xe630('0x11')]=router;