Built motion from commit (unavailable).|2.5.26
[motion2.git] / server / api / intSalesforceConfiguration / 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 _0xbf35=['show','/:id/fields','/:id/subjects','getSubjects','/:id/descriptions','getDescriptions','post','create','put','update','delete','exports','multer','connect-timeout','express','Router','fs-extra','../../components/auth/service','../../config/environment','./intSalesforceConfiguration.controller','get','isAuthenticated','index','/:id'];(function(_0x55e08b,_0x421620){var _0xd1a7ff=function(_0x58c7ff){while(--_0x58c7ff){_0x55e08b['push'](_0x55e08b['shift']());}};_0xd1a7ff(++_0x421620);}(_0xbf35,0xb4));var _0x5bf3=function(_0x30f91a,_0x2b3e77){_0x30f91a=_0x30f91a-0x0;var _0x268def=_0xbf35[_0x30f91a];return _0x268def;};'use strict';var multer=require(_0x5bf3('0x0'));var util=require('util');var path=require('path');var timeout=require(_0x5bf3('0x1'));var express=require(_0x5bf3('0x2'));var router=express[_0x5bf3('0x3')]();var fs_extra=require(_0x5bf3('0x4'));var auth=require(_0x5bf3('0x5'));var interaction=require('../../components/interaction/service');var config=require(_0x5bf3('0x6'));var controller=require(_0x5bf3('0x7'));router[_0x5bf3('0x8')]('/',auth[_0x5bf3('0x9')](),controller[_0x5bf3('0xa')]);router['get'](_0x5bf3('0xb'),auth[_0x5bf3('0x9')](),controller[_0x5bf3('0xc')]);router[_0x5bf3('0x8')](_0x5bf3('0xd'),auth[_0x5bf3('0x9')](),controller['getFields']);router[_0x5bf3('0x8')](_0x5bf3('0xe'),auth[_0x5bf3('0x9')](),controller[_0x5bf3('0xf')]);router[_0x5bf3('0x8')](_0x5bf3('0x10'),auth[_0x5bf3('0x9')](),controller[_0x5bf3('0x11')]);router[_0x5bf3('0x12')]('/',auth['isAuthenticated'](),controller[_0x5bf3('0x13')]);router[_0x5bf3('0x14')]('/:id',auth[_0x5bf3('0x9')](),controller[_0x5bf3('0x15')]);router[_0x5bf3('0x16')](_0x5bf3('0xb'),auth[_0x5bf3('0x9')](),controller['destroy']);module[_0x5bf3('0x17')]=router;