Built motion from commit (unavailable).|2.5.13
[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 _0xebd1=['/:id/subjects','getSubjects','/:id/descriptions','post','create','put','delete','/:id','destroy','exports','multer','path','connect-timeout','../../components/auth/service','../../components/interaction/service','../../config/environment','./intSalesforceConfiguration.controller','get','isAuthenticated','index','show','/:id/fields','getFields'];(function(_0x512f35,_0x52595b){var _0x421479=function(_0x11c2a8){while(--_0x11c2a8){_0x512f35['push'](_0x512f35['shift']());}};_0x421479(++_0x52595b);}(_0xebd1,0x11e));var _0x1ebd=function(_0x420d8d,_0x78b67f){_0x420d8d=_0x420d8d-0x0;var _0x4865d7=_0xebd1[_0x420d8d];return _0x4865d7;};'use strict';var multer=require(_0x1ebd('0x0'));var util=require('util');var path=require(_0x1ebd('0x1'));var timeout=require(_0x1ebd('0x2'));var express=require('express');var router=express['Router']();var auth=require(_0x1ebd('0x3'));var interaction=require(_0x1ebd('0x4'));var config=require(_0x1ebd('0x5'));var controller=require(_0x1ebd('0x6'));router[_0x1ebd('0x7')]('/',auth[_0x1ebd('0x8')](),controller[_0x1ebd('0x9')]);router[_0x1ebd('0x7')]('/:id',auth['isAuthenticated'](),controller[_0x1ebd('0xa')]);router[_0x1ebd('0x7')](_0x1ebd('0xb'),auth[_0x1ebd('0x8')](),controller[_0x1ebd('0xc')]);router[_0x1ebd('0x7')](_0x1ebd('0xd'),auth['isAuthenticated'](),controller[_0x1ebd('0xe')]);router[_0x1ebd('0x7')](_0x1ebd('0xf'),auth['isAuthenticated'](),controller['getDescriptions']);router[_0x1ebd('0x10')]('/',auth[_0x1ebd('0x8')](),controller[_0x1ebd('0x11')]);router[_0x1ebd('0x12')]('/:id',auth['isAuthenticated'](),controller['update']);router[_0x1ebd('0x13')](_0x1ebd('0x14'),auth[_0x1ebd('0x8')](),controller[_0x1ebd('0x15')]);module[_0x1ebd('0x16')]=router;