2fffbf5a05c08d30e77d7df26417dcc7480f2862
[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 _0xd429=['fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskField.controller','get','isAuthenticated','index','/:id','post','create','put','update','delete','exports','multer','util','path','express','Router'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0xd429,0x19f));var _0x9d42=function(_0x1b0113,_0x6270cd){_0x1b0113=_0x1b0113-0x0;var _0x258d38=_0xd429[_0x1b0113];return _0x258d38;};'use strict';var multer=require(_0x9d42('0x0'));var util=require(_0x9d42('0x1'));var path=require(_0x9d42('0x2'));var timeout=require('connect-timeout');var express=require(_0x9d42('0x3'));var router=express[_0x9d42('0x4')]();var fs_extra=require(_0x9d42('0x5'));var auth=require(_0x9d42('0x6'));var interaction=require(_0x9d42('0x7'));var config=require(_0x9d42('0x8'));var controller=require(_0x9d42('0x9'));router[_0x9d42('0xa')]('/',auth[_0x9d42('0xb')](),controller[_0x9d42('0xc')]);router[_0x9d42('0xa')](_0x9d42('0xd'),auth[_0x9d42('0xb')](),controller['show']);router[_0x9d42('0xe')]('/',auth[_0x9d42('0xb')](),controller[_0x9d42('0xf')]);router[_0x9d42('0x10')](_0x9d42('0xd'),auth[_0x9d42('0xb')](),controller[_0x9d42('0x11')]);router[_0x9d42('0x12')](_0x9d42('0xd'),auth[_0x9d42('0xb')](),controller['destroy']);module[_0x9d42('0x13')]=router;