Built motion from commit (unavailable).|2.5.12
[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 _0x0cf9=['post','put','update','delete','exports','util','path','connect-timeout','express','Router','../../components/auth/service','../../config/environment','./intFreshsalesConfiguration.controller','get','isAuthenticated','index','/:id','show','/:id/subjects','/:id/descriptions','getDescriptions','/:id/fields','getFields'];(function(_0x59fe7b,_0x40de81){var _0x5beca1=function(_0x45f09){while(--_0x45f09){_0x59fe7b['push'](_0x59fe7b['shift']());}};_0x5beca1(++_0x40de81);}(_0x0cf9,0x1e8));var _0x90cf=function(_0x265468,_0xcf7439){_0x265468=_0x265468-0x0;var _0x37d555=_0x0cf9[_0x265468];return _0x37d555;};'use strict';var multer=require('multer');var util=require(_0x90cf('0x0'));var path=require(_0x90cf('0x1'));var timeout=require(_0x90cf('0x2'));var express=require(_0x90cf('0x3'));var router=express[_0x90cf('0x4')]();var auth=require(_0x90cf('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x90cf('0x6'));var controller=require(_0x90cf('0x7'));router[_0x90cf('0x8')]('/',auth[_0x90cf('0x9')](),controller[_0x90cf('0xa')]);router[_0x90cf('0x8')](_0x90cf('0xb'),auth[_0x90cf('0x9')](),controller[_0x90cf('0xc')]);router[_0x90cf('0x8')](_0x90cf('0xd'),auth['isAuthenticated'](),controller['getSubjects']);router[_0x90cf('0x8')](_0x90cf('0xe'),auth[_0x90cf('0x9')](),controller[_0x90cf('0xf')]);router['get'](_0x90cf('0x10'),auth[_0x90cf('0x9')](),controller[_0x90cf('0x11')]);router[_0x90cf('0x12')]('/',auth['isAuthenticated'](),controller['create']);router[_0x90cf('0x13')](_0x90cf('0xb'),auth[_0x90cf('0x9')](),controller[_0x90cf('0x14')]);router[_0x90cf('0x15')]('/:id',auth[_0x90cf('0x9')](),controller['destroy']);module[_0x90cf('0x16')]=router;