cedb87a86d4d830418353bc135be5afe86b16d21
[motion2.git] / server / api / intFreshdeskConfiguration / 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 _0xb74b=['destroy','multer','util','path','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','getFields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/tags','getTags','post','create','setTags','delete'];(function(_0x425033,_0xf3fdb9){var _0xf11255=function(_0x4a478f){while(--_0x4a478f){_0x425033['push'](_0x425033['shift']());}};_0xf11255(++_0xf3fdb9);}(_0xb74b,0x15d));var _0xbb74=function(_0x7de33e,_0x46a873){_0x7de33e=_0x7de33e-0x0;var _0x9b0f8=_0xb74b[_0x7de33e];return _0x9b0f8;};'use strict';var multer=require(_0xbb74('0x0'));var util=require(_0xbb74('0x1'));var path=require(_0xbb74('0x2'));var timeout=require(_0xbb74('0x3'));var express=require(_0xbb74('0x4'));var router=express[_0xbb74('0x5')]();var fs_extra=require(_0xbb74('0x6'));var auth=require(_0xbb74('0x7'));var interaction=require(_0xbb74('0x8'));var config=require(_0xbb74('0x9'));var controller=require(_0xbb74('0xa'));router[_0xbb74('0xb')]('/',auth[_0xbb74('0xc')](),controller[_0xbb74('0xd')]);router['get'](_0xbb74('0xe'),auth[_0xbb74('0xc')](),controller[_0xbb74('0xf')]);router[_0xbb74('0xb')](_0xbb74('0x10'),auth[_0xbb74('0xc')](),controller[_0xbb74('0x11')]);router[_0xbb74('0xb')](_0xbb74('0x12'),auth['isAuthenticated'](),controller[_0xbb74('0x13')]);router[_0xbb74('0xb')](_0xbb74('0x14'),auth[_0xbb74('0xc')](),controller[_0xbb74('0x15')]);router['get'](_0xbb74('0x16'),auth['isAuthenticated'](),controller[_0xbb74('0x17')]);router[_0xbb74('0x18')]('/',auth[_0xbb74('0xc')](),controller[_0xbb74('0x19')]);router[_0xbb74('0x18')](_0xbb74('0x16'),auth[_0xbb74('0xc')](),controller[_0xbb74('0x1a')]);router['put'](_0xbb74('0xe'),auth[_0xbb74('0xc')](),controller['update']);router[_0xbb74('0x1b')](_0xbb74('0xe'),auth[_0xbb74('0xc')](),controller[_0xbb74('0x1c')]);module['exports']=router;