Built motion from commit 0900f080.|2.5.45
[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 _0x1767=['../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','get','isAuthenticated','/:id','post','create','put','destroy','util','path','connect-timeout','express','Router','fs-extra'];(function(_0x42f009,_0x5e27b1){var _0x22a1e0=function(_0x297993){while(--_0x297993){_0x42f009['push'](_0x42f009['shift']());}};_0x22a1e0(++_0x5e27b1);}(_0x1767,0x82));var _0x7176=function(_0xa10a3f,_0x24ad3c){_0xa10a3f=_0xa10a3f-0x0;var _0x2a5321=_0x1767[_0xa10a3f];return _0x2a5321;};'use strict';var multer=require('multer');var util=require(_0x7176('0x0'));var path=require(_0x7176('0x1'));var timeout=require(_0x7176('0x2'));var express=require(_0x7176('0x3'));var router=express[_0x7176('0x4')]();var fs_extra=require(_0x7176('0x5'));var auth=require(_0x7176('0x6'));var interaction=require(_0x7176('0x7'));var config=require(_0x7176('0x8'));var controller=require(_0x7176('0x9'));router[_0x7176('0xa')]('/',auth[_0x7176('0xb')](),controller['index']);router[_0x7176('0xa')](_0x7176('0xc'),auth[_0x7176('0xb')](),controller['show']);router[_0x7176('0xd')]('/',auth[_0x7176('0xb')](),controller[_0x7176('0xe')]);router[_0x7176('0xf')](_0x7176('0xc'),auth[_0x7176('0xb')](),controller['update']);router['delete'](_0x7176('0xc'),auth[_0x7176('0xb')](),controller[_0x7176('0x10')]);module['exports']=router;