Built motion from commit (unavailable).|2.5.31
[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 _0x3bae=['index','/:id','isAuthenticated','show','post','create','put','update','delete','exports','multer','util','path','connect-timeout','Router','fs-extra','../../components/auth/service','./intFreshdeskField.controller','get'];(function(_0x5a9c0c,_0x4ec485){var _0x53c77d=function(_0x1cf384){while(--_0x1cf384){_0x5a9c0c['push'](_0x5a9c0c['shift']());}};_0x53c77d(++_0x4ec485);}(_0x3bae,0x7c));var _0xe3ba=function(_0x2117db,_0x42410f){_0x2117db=_0x2117db-0x0;var _0x53e1c7=_0x3bae[_0x2117db];return _0x53e1c7;};'use strict';var multer=require(_0xe3ba('0x0'));var util=require(_0xe3ba('0x1'));var path=require(_0xe3ba('0x2'));var timeout=require(_0xe3ba('0x3'));var express=require('express');var router=express[_0xe3ba('0x4')]();var fs_extra=require(_0xe3ba('0x5'));var auth=require(_0xe3ba('0x6'));var interaction=require('../../components/interaction/service');var config=require('../../config/environment');var controller=require(_0xe3ba('0x7'));router[_0xe3ba('0x8')]('/',auth['isAuthenticated'](),controller[_0xe3ba('0x9')]);router['get'](_0xe3ba('0xa'),auth[_0xe3ba('0xb')](),controller[_0xe3ba('0xc')]);router[_0xe3ba('0xd')]('/',auth[_0xe3ba('0xb')](),controller[_0xe3ba('0xe')]);router[_0xe3ba('0xf')](_0xe3ba('0xa'),auth[_0xe3ba('0xb')](),controller[_0xe3ba('0x10')]);router[_0xe3ba('0x11')](_0xe3ba('0xa'),auth[_0xe3ba('0xb')](),controller['destroy']);module[_0xe3ba('0x12')]=router;