Built motion from commit (unavailable).|2.5.16
[motion2.git] / server / api / intFreshsalesConfiguration / 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 _0x2dae=['index','/:id','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/fields','getFields','post','create','put','update','delete','destroy','exports','multer','util','path','connect-timeout','express','Router','../../components/auth/service','../../components/interaction/service','get','isAuthenticated'];(function(_0x4bc1be,_0x1ffccc){var _0x58d6cb=function(_0x21e1bf){while(--_0x21e1bf){_0x4bc1be['push'](_0x4bc1be['shift']());}};_0x58d6cb(++_0x1ffccc);}(_0x2dae,0x73));var _0xe2da=function(_0x1e6b59,_0x5eca5d){_0x1e6b59=_0x1e6b59-0x0;var _0x40d7c5=_0x2dae[_0x1e6b59];return _0x40d7c5;};'use strict';var multer=require(_0xe2da('0x0'));var util=require(_0xe2da('0x1'));var path=require(_0xe2da('0x2'));var timeout=require(_0xe2da('0x3'));var express=require(_0xe2da('0x4'));var router=express[_0xe2da('0x5')]();var auth=require(_0xe2da('0x6'));var interaction=require(_0xe2da('0x7'));var config=require('../../config/environment');var controller=require('./intFreshsalesConfiguration.controller');router[_0xe2da('0x8')]('/',auth[_0xe2da('0x9')](),controller[_0xe2da('0xa')]);router[_0xe2da('0x8')](_0xe2da('0xb'),auth[_0xe2da('0x9')](),controller['show']);router['get'](_0xe2da('0xc'),auth['isAuthenticated'](),controller[_0xe2da('0xd')]);router['get'](_0xe2da('0xe'),auth['isAuthenticated'](),controller[_0xe2da('0xf')]);router[_0xe2da('0x8')](_0xe2da('0x10'),auth['isAuthenticated'](),controller[_0xe2da('0x11')]);router[_0xe2da('0x12')]('/',auth[_0xe2da('0x9')](),controller[_0xe2da('0x13')]);router[_0xe2da('0x14')](_0xe2da('0xb'),auth[_0xe2da('0x9')](),controller[_0xe2da('0x15')]);router[_0xe2da('0x16')](_0xe2da('0xb'),auth[_0xe2da('0x9')](),controller[_0xe2da('0x17')]);module[_0xe2da('0x18')]=router;