@ricado/api-client 2.5.0 → 2.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Lab/Site/LabController.js +5 -2
- package/lib/Models/Lab/Site/LabModel.js +100 -11
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +31 -6
- package/package.json +1 -1
- package/src/Controllers/Lab/Site/LabController.js +5 -2
- package/src/Models/Lab/Site/LabModel.js +132 -11
- package/src/PackageVersion.js +1 -1
|
@@ -213,9 +213,12 @@ var _default = LabController;
|
|
|
213
213
|
* A **InspectIntegration** Type
|
|
214
214
|
*
|
|
215
215
|
* @typedef {Object} LabController.InspectIntegration
|
|
216
|
-
* @property {
|
|
216
|
+
* @property {{sqlServerCommunicationStatus: number, sampleCreationEnabled: number, sampleSchedulingEnabled: number, samplePublishingEnabled: number}} points The Points used for this Inspect Integration
|
|
217
217
|
* @property {boolean} enabled Whether the Inspect Integration is Enabled on this Lab
|
|
218
|
-
* @property {string}
|
|
218
|
+
* @property {string} labName Name of the Lab referenced by Inspect
|
|
219
|
+
* @property {string} sqlServerHost Host of the Inspect SQL Server
|
|
220
|
+
* @property {string} sqlServerUsername Username for Authentication with the Inspect SQL Server
|
|
221
|
+
* @property {string} sqlServerPassword Password for Authentication with the Inspect SQL Server
|
|
219
222
|
* @memberof Controllers.Lab.Site
|
|
220
223
|
*/
|
|
221
224
|
|
|
@@ -114,7 +114,7 @@ var LabModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
114
114
|
/**
|
|
115
115
|
* The Inspect Integration Configuration for this Lab
|
|
116
116
|
*
|
|
117
|
-
* @type {?{points:
|
|
117
|
+
* @type {?{points: {sqlServerCommunicationStatus: number, sampleCreationEnabled: number, sampleSchedulingEnabled: number, samplePublishingEnabled: number}, enabled: boolean, labName: string, sqlServerHost: string, sqlServerUsername: string, sqlServerPassword: string}}
|
|
118
118
|
* @public
|
|
119
119
|
*/
|
|
120
120
|
|
|
@@ -296,14 +296,67 @@ var LabModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
296
296
|
|
|
297
297
|
if (_typeof(jsonObject['inspectIntegration']) === 'object' && 'points' in jsonObject['inspectIntegration']) {
|
|
298
298
|
inspectIntegrationObject.points = function () {
|
|
299
|
-
|
|
300
|
-
|
|
299
|
+
var pointsObject = {};
|
|
300
|
+
|
|
301
|
+
if (_typeof(jsonObject['inspectIntegration'].points) === 'object' && 'sqlServerCommunicationStatus' in jsonObject['inspectIntegration'].points) {
|
|
302
|
+
pointsObject.sqlServerCommunicationStatus = function () {
|
|
303
|
+
if (typeof jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus !== 'number') {
|
|
304
|
+
return Number.isInteger(Number(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus)) ? Number(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus) : Math.floor(Number(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus));
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
return Number.isInteger(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus) ? jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus : Math.floor(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus);
|
|
308
|
+
}();
|
|
309
|
+
} else {
|
|
310
|
+
pointsObject.sqlServerCommunicationStatus = 0;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
if (_typeof(jsonObject['inspectIntegration'].points) === 'object' && 'sampleCreationEnabled' in jsonObject['inspectIntegration'].points) {
|
|
314
|
+
pointsObject.sampleCreationEnabled = function () {
|
|
315
|
+
if (typeof jsonObject['inspectIntegration'].points.sampleCreationEnabled !== 'number') {
|
|
316
|
+
return Number.isInteger(Number(jsonObject['inspectIntegration'].points.sampleCreationEnabled)) ? Number(jsonObject['inspectIntegration'].points.sampleCreationEnabled) : Math.floor(Number(jsonObject['inspectIntegration'].points.sampleCreationEnabled));
|
|
317
|
+
}
|
|
318
|
+
|
|
319
|
+
return Number.isInteger(jsonObject['inspectIntegration'].points.sampleCreationEnabled) ? jsonObject['inspectIntegration'].points.sampleCreationEnabled : Math.floor(jsonObject['inspectIntegration'].points.sampleCreationEnabled);
|
|
320
|
+
}();
|
|
321
|
+
} else {
|
|
322
|
+
pointsObject.sampleCreationEnabled = 0;
|
|
301
323
|
}
|
|
302
324
|
|
|
303
|
-
|
|
325
|
+
if (_typeof(jsonObject['inspectIntegration'].points) === 'object' && 'sampleSchedulingEnabled' in jsonObject['inspectIntegration'].points) {
|
|
326
|
+
pointsObject.sampleSchedulingEnabled = function () {
|
|
327
|
+
if (typeof jsonObject['inspectIntegration'].points.sampleSchedulingEnabled !== 'number') {
|
|
328
|
+
return Number.isInteger(Number(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled)) ? Number(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled) : Math.floor(Number(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled));
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
return Number.isInteger(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled) ? jsonObject['inspectIntegration'].points.sampleSchedulingEnabled : Math.floor(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled);
|
|
332
|
+
}();
|
|
333
|
+
} else {
|
|
334
|
+
pointsObject.sampleSchedulingEnabled = 0;
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
if (_typeof(jsonObject['inspectIntegration'].points) === 'object' && 'samplePublishingEnabled' in jsonObject['inspectIntegration'].points) {
|
|
338
|
+
pointsObject.samplePublishingEnabled = function () {
|
|
339
|
+
if (typeof jsonObject['inspectIntegration'].points.samplePublishingEnabled !== 'number') {
|
|
340
|
+
return Number.isInteger(Number(jsonObject['inspectIntegration'].points.samplePublishingEnabled)) ? Number(jsonObject['inspectIntegration'].points.samplePublishingEnabled) : Math.floor(Number(jsonObject['inspectIntegration'].points.samplePublishingEnabled));
|
|
341
|
+
}
|
|
342
|
+
|
|
343
|
+
return Number.isInteger(jsonObject['inspectIntegration'].points.samplePublishingEnabled) ? jsonObject['inspectIntegration'].points.samplePublishingEnabled : Math.floor(jsonObject['inspectIntegration'].points.samplePublishingEnabled);
|
|
344
|
+
}();
|
|
345
|
+
} else {
|
|
346
|
+
pointsObject.samplePublishingEnabled = 0;
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
return pointsObject;
|
|
304
350
|
}();
|
|
305
351
|
} else {
|
|
306
|
-
inspectIntegrationObject.points = {
|
|
352
|
+
inspectIntegrationObject.points = function () {
|
|
353
|
+
var pointsDefaultValue = {};
|
|
354
|
+
pointsDefaultValue.sqlServerCommunicationStatus = 0;
|
|
355
|
+
pointsDefaultValue.sampleCreationEnabled = 0;
|
|
356
|
+
pointsDefaultValue.sampleSchedulingEnabled = 0;
|
|
357
|
+
pointsDefaultValue.samplePublishingEnabled = 0;
|
|
358
|
+
return pointsDefaultValue;
|
|
359
|
+
}();
|
|
307
360
|
}
|
|
308
361
|
|
|
309
362
|
if (_typeof(jsonObject['inspectIntegration']) === 'object' && 'enabled' in jsonObject['inspectIntegration']) {
|
|
@@ -318,16 +371,52 @@ var LabModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
318
371
|
inspectIntegrationObject.enabled = false;
|
|
319
372
|
}
|
|
320
373
|
|
|
321
|
-
if (_typeof(jsonObject['inspectIntegration']) === 'object' && '
|
|
322
|
-
inspectIntegrationObject.
|
|
323
|
-
if (typeof jsonObject['inspectIntegration'].
|
|
324
|
-
return String(jsonObject['inspectIntegration'].
|
|
374
|
+
if (_typeof(jsonObject['inspectIntegration']) === 'object' && 'labName' in jsonObject['inspectIntegration']) {
|
|
375
|
+
inspectIntegrationObject.labName = function () {
|
|
376
|
+
if (typeof jsonObject['inspectIntegration'].labName !== 'string') {
|
|
377
|
+
return String(jsonObject['inspectIntegration'].labName);
|
|
378
|
+
}
|
|
379
|
+
|
|
380
|
+
return jsonObject['inspectIntegration'].labName;
|
|
381
|
+
}();
|
|
382
|
+
} else {
|
|
383
|
+
inspectIntegrationObject.labName = "";
|
|
384
|
+
}
|
|
385
|
+
|
|
386
|
+
if (_typeof(jsonObject['inspectIntegration']) === 'object' && 'sqlServerHost' in jsonObject['inspectIntegration']) {
|
|
387
|
+
inspectIntegrationObject.sqlServerHost = function () {
|
|
388
|
+
if (typeof jsonObject['inspectIntegration'].sqlServerHost !== 'string') {
|
|
389
|
+
return String(jsonObject['inspectIntegration'].sqlServerHost);
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
return jsonObject['inspectIntegration'].sqlServerHost;
|
|
393
|
+
}();
|
|
394
|
+
} else {
|
|
395
|
+
inspectIntegrationObject.sqlServerHost = "";
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
if (_typeof(jsonObject['inspectIntegration']) === 'object' && 'sqlServerUsername' in jsonObject['inspectIntegration']) {
|
|
399
|
+
inspectIntegrationObject.sqlServerUsername = function () {
|
|
400
|
+
if (typeof jsonObject['inspectIntegration'].sqlServerUsername !== 'string') {
|
|
401
|
+
return String(jsonObject['inspectIntegration'].sqlServerUsername);
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
return jsonObject['inspectIntegration'].sqlServerUsername;
|
|
405
|
+
}();
|
|
406
|
+
} else {
|
|
407
|
+
inspectIntegrationObject.sqlServerUsername = "";
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (_typeof(jsonObject['inspectIntegration']) === 'object' && 'sqlServerPassword' in jsonObject['inspectIntegration']) {
|
|
411
|
+
inspectIntegrationObject.sqlServerPassword = function () {
|
|
412
|
+
if (typeof jsonObject['inspectIntegration'].sqlServerPassword !== 'string') {
|
|
413
|
+
return String(jsonObject['inspectIntegration'].sqlServerPassword);
|
|
325
414
|
}
|
|
326
415
|
|
|
327
|
-
return jsonObject['inspectIntegration'].
|
|
416
|
+
return jsonObject['inspectIntegration'].sqlServerPassword;
|
|
328
417
|
}();
|
|
329
418
|
} else {
|
|
330
|
-
inspectIntegrationObject.
|
|
419
|
+
inspectIntegrationObject.sqlServerPassword = "";
|
|
331
420
|
}
|
|
332
421
|
|
|
333
422
|
return inspectIntegrationObject;
|
package/lib/PackageVersion.js
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -7132,15 +7132,32 @@ declare module '@ricado/api-client/Controllers/Lab/Site/LabController' {
|
|
|
7132
7132
|
/**
|
|
7133
7133
|
* The Points used for this Inspect Integration
|
|
7134
7134
|
*/
|
|
7135
|
-
points:
|
|
7135
|
+
points: {
|
|
7136
|
+
sqlServerCommunicationStatus: number;
|
|
7137
|
+
sampleCreationEnabled: number;
|
|
7138
|
+
sampleSchedulingEnabled: number;
|
|
7139
|
+
samplePublishingEnabled: number;
|
|
7140
|
+
};
|
|
7136
7141
|
/**
|
|
7137
7142
|
* Whether the Inspect Integration is Enabled on this Lab
|
|
7138
7143
|
*/
|
|
7139
7144
|
enabled: boolean;
|
|
7140
7145
|
/**
|
|
7141
|
-
*
|
|
7146
|
+
* Name of the Lab referenced by Inspect
|
|
7142
7147
|
*/
|
|
7143
|
-
|
|
7148
|
+
labName: string;
|
|
7149
|
+
/**
|
|
7150
|
+
* Host of the Inspect SQL Server
|
|
7151
|
+
*/
|
|
7152
|
+
sqlServerHost: string;
|
|
7153
|
+
/**
|
|
7154
|
+
* Username for Authentication with the Inspect SQL Server
|
|
7155
|
+
*/
|
|
7156
|
+
sqlServerUsername: string;
|
|
7157
|
+
/**
|
|
7158
|
+
* Password for Authentication with the Inspect SQL Server
|
|
7159
|
+
*/
|
|
7160
|
+
sqlServerPassword: string;
|
|
7144
7161
|
};
|
|
7145
7162
|
}
|
|
7146
7163
|
import LabModel from "@ricado/api-client/Models/Lab/Site/LabModel";
|
|
@@ -22513,13 +22530,21 @@ declare module '@ricado/api-client/Models/Lab/Site/LabModel' {
|
|
|
22513
22530
|
/**
|
|
22514
22531
|
* The Inspect Integration Configuration for this Lab
|
|
22515
22532
|
*
|
|
22516
|
-
* @type {?{points:
|
|
22533
|
+
* @type {?{points: {sqlServerCommunicationStatus: number, sampleCreationEnabled: number, sampleSchedulingEnabled: number, samplePublishingEnabled: number}, enabled: boolean, labName: string, sqlServerHost: string, sqlServerUsername: string, sqlServerPassword: string}}
|
|
22517
22534
|
* @public
|
|
22518
22535
|
*/
|
|
22519
22536
|
inspectIntegration: {
|
|
22520
|
-
points:
|
|
22537
|
+
points: {
|
|
22538
|
+
sqlServerCommunicationStatus: number;
|
|
22539
|
+
sampleCreationEnabled: number;
|
|
22540
|
+
sampleSchedulingEnabled: number;
|
|
22541
|
+
samplePublishingEnabled: number;
|
|
22542
|
+
};
|
|
22521
22543
|
enabled: boolean;
|
|
22522
|
-
|
|
22544
|
+
labName: string;
|
|
22545
|
+
sqlServerHost: string;
|
|
22546
|
+
sqlServerUsername: string;
|
|
22547
|
+
sqlServerPassword: string;
|
|
22523
22548
|
} | null;
|
|
22524
22549
|
/**
|
|
22525
22550
|
* Whether the Lab has been deleted
|
package/package.json
CHANGED
|
@@ -192,8 +192,11 @@ export default LabController;
|
|
|
192
192
|
* A **InspectIntegration** Type
|
|
193
193
|
*
|
|
194
194
|
* @typedef {Object} LabController.InspectIntegration
|
|
195
|
-
* @property {
|
|
195
|
+
* @property {{sqlServerCommunicationStatus: number, sampleCreationEnabled: number, sampleSchedulingEnabled: number, samplePublishingEnabled: number}} points The Points used for this Inspect Integration
|
|
196
196
|
* @property {boolean} enabled Whether the Inspect Integration is Enabled on this Lab
|
|
197
|
-
* @property {string}
|
|
197
|
+
* @property {string} labName Name of the Lab referenced by Inspect
|
|
198
|
+
* @property {string} sqlServerHost Host of the Inspect SQL Server
|
|
199
|
+
* @property {string} sqlServerUsername Username for Authentication with the Inspect SQL Server
|
|
200
|
+
* @property {string} sqlServerPassword Password for Authentication with the Inspect SQL Server
|
|
198
201
|
* @memberof Controllers.Lab.Site
|
|
199
202
|
*/
|
|
@@ -84,7 +84,7 @@ class LabModel extends BaseModel
|
|
|
84
84
|
/**
|
|
85
85
|
* The Inspect Integration Configuration for this Lab
|
|
86
86
|
*
|
|
87
|
-
* @type {?{points:
|
|
87
|
+
* @type {?{points: {sqlServerCommunicationStatus: number, sampleCreationEnabled: number, sampleSchedulingEnabled: number, samplePublishingEnabled: number}, enabled: boolean, labName: string, sqlServerHost: string, sqlServerUsername: string, sqlServerPassword: string}}
|
|
88
88
|
* @public
|
|
89
89
|
*/
|
|
90
90
|
this.inspectIntegration = null;
|
|
@@ -292,17 +292,90 @@ class LabModel extends BaseModel
|
|
|
292
292
|
if(typeof jsonObject['inspectIntegration'] === 'object' && 'points' in jsonObject['inspectIntegration'])
|
|
293
293
|
{
|
|
294
294
|
inspectIntegrationObject.points = (function(){
|
|
295
|
-
|
|
295
|
+
let pointsObject = {};
|
|
296
|
+
|
|
297
|
+
if(typeof jsonObject['inspectIntegration'].points === 'object' && 'sqlServerCommunicationStatus' in jsonObject['inspectIntegration'].points)
|
|
298
|
+
{
|
|
299
|
+
pointsObject.sqlServerCommunicationStatus = (function(){
|
|
300
|
+
if(typeof jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus !== 'number')
|
|
301
|
+
{
|
|
302
|
+
return Number.isInteger(Number(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus)) ? Number(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus) : Math.floor(Number(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus));
|
|
303
|
+
}
|
|
304
|
+
|
|
305
|
+
return Number.isInteger(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus) ? jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus : Math.floor(jsonObject['inspectIntegration'].points.sqlServerCommunicationStatus);
|
|
306
|
+
}());
|
|
307
|
+
}
|
|
308
|
+
else
|
|
309
|
+
{
|
|
310
|
+
pointsObject.sqlServerCommunicationStatus = 0;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
if(typeof jsonObject['inspectIntegration'].points === 'object' && 'sampleCreationEnabled' in jsonObject['inspectIntegration'].points)
|
|
314
|
+
{
|
|
315
|
+
pointsObject.sampleCreationEnabled = (function(){
|
|
316
|
+
if(typeof jsonObject['inspectIntegration'].points.sampleCreationEnabled !== 'number')
|
|
317
|
+
{
|
|
318
|
+
return Number.isInteger(Number(jsonObject['inspectIntegration'].points.sampleCreationEnabled)) ? Number(jsonObject['inspectIntegration'].points.sampleCreationEnabled) : Math.floor(Number(jsonObject['inspectIntegration'].points.sampleCreationEnabled));
|
|
319
|
+
}
|
|
320
|
+
|
|
321
|
+
return Number.isInteger(jsonObject['inspectIntegration'].points.sampleCreationEnabled) ? jsonObject['inspectIntegration'].points.sampleCreationEnabled : Math.floor(jsonObject['inspectIntegration'].points.sampleCreationEnabled);
|
|
322
|
+
}());
|
|
323
|
+
}
|
|
324
|
+
else
|
|
325
|
+
{
|
|
326
|
+
pointsObject.sampleCreationEnabled = 0;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
if(typeof jsonObject['inspectIntegration'].points === 'object' && 'sampleSchedulingEnabled' in jsonObject['inspectIntegration'].points)
|
|
330
|
+
{
|
|
331
|
+
pointsObject.sampleSchedulingEnabled = (function(){
|
|
332
|
+
if(typeof jsonObject['inspectIntegration'].points.sampleSchedulingEnabled !== 'number')
|
|
333
|
+
{
|
|
334
|
+
return Number.isInteger(Number(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled)) ? Number(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled) : Math.floor(Number(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled));
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
return Number.isInteger(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled) ? jsonObject['inspectIntegration'].points.sampleSchedulingEnabled : Math.floor(jsonObject['inspectIntegration'].points.sampleSchedulingEnabled);
|
|
338
|
+
}());
|
|
339
|
+
}
|
|
340
|
+
else
|
|
341
|
+
{
|
|
342
|
+
pointsObject.sampleSchedulingEnabled = 0;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
if(typeof jsonObject['inspectIntegration'].points === 'object' && 'samplePublishingEnabled' in jsonObject['inspectIntegration'].points)
|
|
346
|
+
{
|
|
347
|
+
pointsObject.samplePublishingEnabled = (function(){
|
|
348
|
+
if(typeof jsonObject['inspectIntegration'].points.samplePublishingEnabled !== 'number')
|
|
349
|
+
{
|
|
350
|
+
return Number.isInteger(Number(jsonObject['inspectIntegration'].points.samplePublishingEnabled)) ? Number(jsonObject['inspectIntegration'].points.samplePublishingEnabled) : Math.floor(Number(jsonObject['inspectIntegration'].points.samplePublishingEnabled));
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
return Number.isInteger(jsonObject['inspectIntegration'].points.samplePublishingEnabled) ? jsonObject['inspectIntegration'].points.samplePublishingEnabled : Math.floor(jsonObject['inspectIntegration'].points.samplePublishingEnabled);
|
|
354
|
+
}());
|
|
355
|
+
}
|
|
356
|
+
else
|
|
296
357
|
{
|
|
297
|
-
|
|
358
|
+
pointsObject.samplePublishingEnabled = 0;
|
|
298
359
|
}
|
|
299
360
|
|
|
300
|
-
return
|
|
361
|
+
return pointsObject;
|
|
301
362
|
}());
|
|
302
363
|
}
|
|
303
364
|
else
|
|
304
365
|
{
|
|
305
|
-
inspectIntegrationObject.points = {
|
|
366
|
+
inspectIntegrationObject.points = (function(){
|
|
367
|
+
let pointsDefaultValue = {};
|
|
368
|
+
|
|
369
|
+
pointsDefaultValue.sqlServerCommunicationStatus = 0;
|
|
370
|
+
|
|
371
|
+
pointsDefaultValue.sampleCreationEnabled = 0;
|
|
372
|
+
|
|
373
|
+
pointsDefaultValue.sampleSchedulingEnabled = 0;
|
|
374
|
+
|
|
375
|
+
pointsDefaultValue.samplePublishingEnabled = 0;
|
|
376
|
+
|
|
377
|
+
return pointsDefaultValue;
|
|
378
|
+
}());
|
|
306
379
|
}
|
|
307
380
|
|
|
308
381
|
if(typeof jsonObject['inspectIntegration'] === 'object' && 'enabled' in jsonObject['inspectIntegration'])
|
|
@@ -321,20 +394,68 @@ class LabModel extends BaseModel
|
|
|
321
394
|
inspectIntegrationObject.enabled = false;
|
|
322
395
|
}
|
|
323
396
|
|
|
324
|
-
if(typeof jsonObject['inspectIntegration'] === 'object' && '
|
|
397
|
+
if(typeof jsonObject['inspectIntegration'] === 'object' && 'labName' in jsonObject['inspectIntegration'])
|
|
398
|
+
{
|
|
399
|
+
inspectIntegrationObject.labName = (function(){
|
|
400
|
+
if(typeof jsonObject['inspectIntegration'].labName !== 'string')
|
|
401
|
+
{
|
|
402
|
+
return String(jsonObject['inspectIntegration'].labName);
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
return jsonObject['inspectIntegration'].labName;
|
|
406
|
+
}());
|
|
407
|
+
}
|
|
408
|
+
else
|
|
409
|
+
{
|
|
410
|
+
inspectIntegrationObject.labName = "";
|
|
411
|
+
}
|
|
412
|
+
|
|
413
|
+
if(typeof jsonObject['inspectIntegration'] === 'object' && 'sqlServerHost' in jsonObject['inspectIntegration'])
|
|
414
|
+
{
|
|
415
|
+
inspectIntegrationObject.sqlServerHost = (function(){
|
|
416
|
+
if(typeof jsonObject['inspectIntegration'].sqlServerHost !== 'string')
|
|
417
|
+
{
|
|
418
|
+
return String(jsonObject['inspectIntegration'].sqlServerHost);
|
|
419
|
+
}
|
|
420
|
+
|
|
421
|
+
return jsonObject['inspectIntegration'].sqlServerHost;
|
|
422
|
+
}());
|
|
423
|
+
}
|
|
424
|
+
else
|
|
425
|
+
{
|
|
426
|
+
inspectIntegrationObject.sqlServerHost = "";
|
|
427
|
+
}
|
|
428
|
+
|
|
429
|
+
if(typeof jsonObject['inspectIntegration'] === 'object' && 'sqlServerUsername' in jsonObject['inspectIntegration'])
|
|
430
|
+
{
|
|
431
|
+
inspectIntegrationObject.sqlServerUsername = (function(){
|
|
432
|
+
if(typeof jsonObject['inspectIntegration'].sqlServerUsername !== 'string')
|
|
433
|
+
{
|
|
434
|
+
return String(jsonObject['inspectIntegration'].sqlServerUsername);
|
|
435
|
+
}
|
|
436
|
+
|
|
437
|
+
return jsonObject['inspectIntegration'].sqlServerUsername;
|
|
438
|
+
}());
|
|
439
|
+
}
|
|
440
|
+
else
|
|
441
|
+
{
|
|
442
|
+
inspectIntegrationObject.sqlServerUsername = "";
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
if(typeof jsonObject['inspectIntegration'] === 'object' && 'sqlServerPassword' in jsonObject['inspectIntegration'])
|
|
325
446
|
{
|
|
326
|
-
inspectIntegrationObject.
|
|
327
|
-
if(typeof jsonObject['inspectIntegration'].
|
|
447
|
+
inspectIntegrationObject.sqlServerPassword = (function(){
|
|
448
|
+
if(typeof jsonObject['inspectIntegration'].sqlServerPassword !== 'string')
|
|
328
449
|
{
|
|
329
|
-
return String(jsonObject['inspectIntegration'].
|
|
450
|
+
return String(jsonObject['inspectIntegration'].sqlServerPassword);
|
|
330
451
|
}
|
|
331
452
|
|
|
332
|
-
return jsonObject['inspectIntegration'].
|
|
453
|
+
return jsonObject['inspectIntegration'].sqlServerPassword;
|
|
333
454
|
}());
|
|
334
455
|
}
|
|
335
456
|
else
|
|
336
457
|
{
|
|
337
|
-
inspectIntegrationObject.
|
|
458
|
+
inspectIntegrationObject.sqlServerPassword = "";
|
|
338
459
|
}
|
|
339
460
|
|
|
340
461
|
return inspectIntegrationObject;
|
package/src/PackageVersion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '2.5.
|
|
2
|
+
export const version = '2.5.1';
|