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