Built motion from commit 753c950e.|2.5.42
[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 _0x979a=['destroy','multer','util','path','express','Router','../../components/auth/service','../../components/interaction/service','../../config/environment','./intFreshsalesConfiguration.controller','get','isAuthenticated','index','/:id','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','/:id/fields','getFields','post','create','update','delete'];(function(_0x211d8d,_0xa5417d){var _0xa64ebf=function(_0x1824d5){while(--_0x1824d5){_0x211d8d['push'](_0x211d8d['shift']());}};_0xa64ebf(++_0xa5417d);}(_0x979a,0x1e1));var _0xa979=function(_0x261abd,_0x2f2e52){_0x261abd=_0x261abd-0x0;var _0x345c8e=_0x979a[_0x261abd];return _0x345c8e;};'use strict';var multer=require(_0xa979('0x0'));var util=require(_0xa979('0x1'));var path=require(_0xa979('0x2'));var timeout=require('connect-timeout');var express=require(_0xa979('0x3'));var router=express[_0xa979('0x4')]();var fs_extra=require('fs-extra');var auth=require(_0xa979('0x5'));var interaction=require(_0xa979('0x6'));var config=require(_0xa979('0x7'));var controller=require(_0xa979('0x8'));router[_0xa979('0x9')]('/',auth[_0xa979('0xa')](),controller[_0xa979('0xb')]);router[_0xa979('0x9')](_0xa979('0xc'),auth['isAuthenticated'](),controller['show']);router[_0xa979('0x9')](_0xa979('0xd'),auth['isAuthenticated'](),controller[_0xa979('0xe')]);router['get'](_0xa979('0xf'),auth[_0xa979('0xa')](),controller[_0xa979('0x10')]);router[_0xa979('0x9')](_0xa979('0x11'),auth[_0xa979('0xa')](),controller[_0xa979('0x12')]);router[_0xa979('0x13')]('/',auth[_0xa979('0xa')](),controller[_0xa979('0x14')]);router['put'](_0xa979('0xc'),auth[_0xa979('0xa')](),controller[_0xa979('0x15')]);router[_0xa979('0x16')](_0xa979('0xc'),auth['isAuthenticated'](),controller[_0xa979('0x17')]);module['exports']=router;