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