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