55887409a5b303b3847d1eca649d8fe499dd7d5d
[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 _0xc602=['getDescriptions','/:id/fields','post','create','put','update','delete','destroy','multer','util','path','connect-timeout','express','fs-extra','../../components/auth/service','../../components/interaction/service','../../config/environment','get','/:id','isAuthenticated','show','/:id/subjects','getSubjects','/:id/descriptions'];(function(_0x2ad71b,_0x5df67a){var _0x12df6e=function(_0x433392){while(--_0x433392){_0x2ad71b['push'](_0x2ad71b['shift']());}};_0x12df6e(++_0x5df67a);}(_0xc602,0xb0));var _0x2c60=function(_0x49e055,_0x50d679){_0x49e055=_0x49e055-0x0;var _0x4d1828=_0xc602[_0x49e055];return _0x4d1828;};'use strict';var multer=require(_0x2c60('0x0'));var util=require(_0x2c60('0x1'));var path=require(_0x2c60('0x2'));var timeout=require(_0x2c60('0x3'));var express=require(_0x2c60('0x4'));var router=express['Router']();var fs_extra=require(_0x2c60('0x5'));var auth=require(_0x2c60('0x6'));var interaction=require(_0x2c60('0x7'));var config=require(_0x2c60('0x8'));var controller=require('./intFreshsalesConfiguration.controller');router[_0x2c60('0x9')]('/',auth['isAuthenticated'](),controller['index']);router[_0x2c60('0x9')](_0x2c60('0xa'),auth[_0x2c60('0xb')](),controller[_0x2c60('0xc')]);router[_0x2c60('0x9')](_0x2c60('0xd'),auth[_0x2c60('0xb')](),controller[_0x2c60('0xe')]);router['get'](_0x2c60('0xf'),auth[_0x2c60('0xb')](),controller[_0x2c60('0x10')]);router['get'](_0x2c60('0x11'),auth[_0x2c60('0xb')](),controller['getFields']);router[_0x2c60('0x12')]('/',auth[_0x2c60('0xb')](),controller[_0x2c60('0x13')]);router[_0x2c60('0x14')](_0x2c60('0xa'),auth[_0x2c60('0xb')](),controller[_0x2c60('0x15')]);router[_0x2c60('0x16')](_0x2c60('0xa'),auth[_0x2c60('0xb')](),controller[_0x2c60('0x17')]);module['exports']=router;