Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / intSalesforceAccount / 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 _0x818f=['isAuthenticated','index','/:id','/:id/configurations','/:id/fields','getFields','post','addConfiguration','put','update','delete','exports','multer','util','path','connect-timeout','express','Router','../../components/interaction/service','../../config/environment','./intSalesforceAccount.controller','get'];(function(_0xd13cad,_0xea397a){var _0xc744f2=function(_0x770ba1){while(--_0x770ba1){_0xd13cad['push'](_0xd13cad['shift']());}};_0xc744f2(++_0xea397a);}(_0x818f,0x1da));var _0xf818=function(_0x20bfe4,_0x2a5b58){_0x20bfe4=_0x20bfe4-0x0;var _0x3a23b6=_0x818f[_0x20bfe4];return _0x3a23b6;};'use strict';var multer=require(_0xf818('0x0'));var util=require(_0xf818('0x1'));var path=require(_0xf818('0x2'));var timeout=require(_0xf818('0x3'));var express=require(_0xf818('0x4'));var router=express[_0xf818('0x5')]();var auth=require('../../components/auth/service');var interaction=require(_0xf818('0x6'));var config=require(_0xf818('0x7'));var controller=require(_0xf818('0x8'));router[_0xf818('0x9')]('/',auth[_0xf818('0xa')](),controller[_0xf818('0xb')]);router[_0xf818('0x9')](_0xf818('0xc'),auth[_0xf818('0xa')](),controller['show']);router[_0xf818('0x9')](_0xf818('0xd'),auth[_0xf818('0xa')](),controller['getConfigurations']);router['get'](_0xf818('0xe'),auth[_0xf818('0xa')](),controller[_0xf818('0xf')]);router[_0xf818('0x10')]('/',auth[_0xf818('0xa')](),controller['create']);router[_0xf818('0x10')](_0xf818('0xd'),auth[_0xf818('0xa')](),controller[_0xf818('0x11')]);router[_0xf818('0x12')]('/:id',auth['isAuthenticated'](),controller[_0xf818('0x13')]);router[_0xf818('0x14')](_0xf818('0xc'),auth[_0xf818('0xa')](),controller['destroy']);module[_0xf818('0x15')]=router;