Built motion from commit (unavailable).|2.0.75
[motion2.git] / server / api / intFreshdeskAccount / 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 _0x0401=['show','/:id/configurations','getConfigurations','/:id/fields','getFields','post','create','addConfiguration','destroy','exports','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshdeskAccount.controller','get','isAuthenticated','index','/:id'];(function(_0xfc36d8,_0x233b0b){var _0x234f42=function(_0xad4ac4){while(--_0xad4ac4){_0xfc36d8['push'](_0xfc36d8['shift']());}};_0x234f42(++_0x233b0b);}(_0x0401,0xab));var _0x1040=function(_0x710815,_0x520da8){_0x710815=_0x710815-0x0;var _0x5b3b89=_0x0401[_0x710815];return _0x5b3b89;};'use strict';var multer=require(_0x1040('0x0'));var util=require(_0x1040('0x1'));var path=require(_0x1040('0x2'));var express=require(_0x1040('0x3'));var router=express[_0x1040('0x4')]();var auth=require(_0x1040('0x5'));var interaction=require(_0x1040('0x6'));var config=require(_0x1040('0x7'));var controller=require(_0x1040('0x8'));router[_0x1040('0x9')]('/',auth[_0x1040('0xa')](),controller[_0x1040('0xb')]);router[_0x1040('0x9')](_0x1040('0xc'),auth[_0x1040('0xa')](),controller[_0x1040('0xd')]);router['get'](_0x1040('0xe'),auth[_0x1040('0xa')](),controller[_0x1040('0xf')]);router[_0x1040('0x9')](_0x1040('0x10'),auth[_0x1040('0xa')](),controller[_0x1040('0x11')]);router[_0x1040('0x12')]('/',auth[_0x1040('0xa')](),controller[_0x1040('0x13')]);router[_0x1040('0x12')](_0x1040('0xe'),auth['isAuthenticated'](),controller[_0x1040('0x14')]);router['put'](_0x1040('0xc'),auth[_0x1040('0xa')](),controller['update']);router['delete'](_0x1040('0xc'),auth[_0x1040('0xa')](),controller[_0x1040('0x15')]);module[_0x1040('0x16')]=router;