Built motion from commit (unavailable).|2.5.23
[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 _0xcf86=['getSubjects','/:id/descriptions','getDescriptions','create','post','/:id/tags','setTags','update','delete','destroy','multer','connect-timeout','express','../../components/interaction/service','../../config/environment','./intFreshdeskConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/fields','/:id/subjects'];(function(_0x4ffc6d,_0x4c39ae){var _0x366fd3=function(_0x4422ac){while(--_0x4422ac){_0x4ffc6d['push'](_0x4ffc6d['shift']());}};_0x366fd3(++_0x4c39ae);}(_0xcf86,0x7d));var _0x6cf8=function(_0x17d9e3,_0x1f969c){_0x17d9e3=_0x17d9e3-0x0;var _0x14192d=_0xcf86[_0x17d9e3];return _0x14192d;};'use strict';var multer=require(_0x6cf8('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x6cf8('0x1'));var express=require(_0x6cf8('0x2'));var router=express['Router']();var auth=require('../../components/auth/service');var interaction=require(_0x6cf8('0x3'));var config=require(_0x6cf8('0x4'));var controller=require(_0x6cf8('0x5'));router[_0x6cf8('0x6')]('/',auth[_0x6cf8('0x7')](),controller[_0x6cf8('0x8')]);router[_0x6cf8('0x6')](_0x6cf8('0x9'),auth['isAuthenticated'](),controller[_0x6cf8('0xa')]);router[_0x6cf8('0x6')](_0x6cf8('0xb'),auth[_0x6cf8('0x7')](),controller['getFields']);router[_0x6cf8('0x6')](_0x6cf8('0xc'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0xd')]);router['get'](_0x6cf8('0xe'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0xf')]);router['get']('/:id/tags',auth[_0x6cf8('0x7')](),controller['getTags']);router['post']('/',auth['isAuthenticated'](),controller[_0x6cf8('0x10')]);router[_0x6cf8('0x11')](_0x6cf8('0x12'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0x13')]);router['put'](_0x6cf8('0x9'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0x14')]);router[_0x6cf8('0x15')](_0x6cf8('0x9'),auth[_0x6cf8('0x7')](),controller[_0x6cf8('0x16')]);module['exports']=router;