@ricado/api-client 2.5.0 → 2.5.2

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.
@@ -52,7 +52,7 @@ class RackPositionModel extends BaseModel
52
52
  /**
53
53
  * The Points used by this Rack Position
54
54
  *
55
- * @type {{pushButton: number, indicatorLight: number, temperature: number, calibrationOffset: number, disabled: number, currentSampleId: number, currentSampleStatus: number, nextSampleId: number, loadCurrentSampleRequest: number, startCurrentSampleRequest: number, finishCurrentSampleRequest: number, unloadCurrentSampleRequest: number, currentSampleTotalDuration: number, currentSampleWarmUpDuration: number, currentSampleWarmUpRateOfChange: number, currentSampleWarmUpWarning: number, currentSampleWarmUpCompleted: number, currentSampleBelowTargetDuration: number, currentSampleAboveTargetDuration: number, currentSampleWithinTargetDuration: number, currentSampleFinishCriteriaMet: number, currentSampleLatestUnloadTimestamp: number}}
55
+ * @type {{pushButton: number, indicatorLight: number, temperature: number, calibrationOffset: number, disabled: number, currentSampleId: number, currentAdditionalSampleIds: number, currentSampleStatus: number, nextSampleId: number, nextAdditionalSampleIds: number, loadCurrentSampleRequest: number, startCurrentSampleRequest: number, finishCurrentSampleRequest: number, unloadCurrentSampleRequest: number, currentSampleTotalDuration: number, currentSampleWarmUpDuration: number, currentSampleWarmUpRateOfChange: number, currentSampleWarmUpWarning: number, currentSampleWarmUpCompleted: number, currentSampleBelowTargetDuration: number, currentSampleAboveTargetDuration: number, currentSampleWithinTargetDuration: number, currentSampleFinishCriteriaMet: number, currentSampleLatestUnloadTimestamp: number}}
56
56
  * @public
57
57
  */
58
58
  this.points = (function(){
@@ -70,10 +70,14 @@ class RackPositionModel extends BaseModel
70
70
 
71
71
  pointsDefaultValue.currentSampleId = 0;
72
72
 
73
+ pointsDefaultValue.currentAdditionalSampleIds = 0;
74
+
73
75
  pointsDefaultValue.currentSampleStatus = 0;
74
76
 
75
77
  pointsDefaultValue.nextSampleId = 0;
76
78
 
79
+ pointsDefaultValue.nextAdditionalSampleIds = 0;
80
+
77
81
  pointsDefaultValue.loadCurrentSampleRequest = 0;
78
82
 
79
83
  pointsDefaultValue.startCurrentSampleRequest = 0;
@@ -333,6 +337,22 @@ class RackPositionModel extends BaseModel
333
337
  pointsObject.currentSampleId = 0;
334
338
  }
335
339
 
340
+ if(typeof jsonObject['points'] === 'object' && 'currentAdditionalSampleIds' in jsonObject['points'])
341
+ {
342
+ pointsObject.currentAdditionalSampleIds = (function(){
343
+ if(typeof jsonObject['points'].currentAdditionalSampleIds !== 'number')
344
+ {
345
+ return Number.isInteger(Number(jsonObject['points'].currentAdditionalSampleIds)) ? Number(jsonObject['points'].currentAdditionalSampleIds) : Math.floor(Number(jsonObject['points'].currentAdditionalSampleIds));
346
+ }
347
+
348
+ return Number.isInteger(jsonObject['points'].currentAdditionalSampleIds) ? jsonObject['points'].currentAdditionalSampleIds : Math.floor(jsonObject['points'].currentAdditionalSampleIds);
349
+ }());
350
+ }
351
+ else
352
+ {
353
+ pointsObject.currentAdditionalSampleIds = 0;
354
+ }
355
+
336
356
  if(typeof jsonObject['points'] === 'object' && 'currentSampleStatus' in jsonObject['points'])
337
357
  {
338
358
  pointsObject.currentSampleStatus = (function(){
@@ -365,6 +385,22 @@ class RackPositionModel extends BaseModel
365
385
  pointsObject.nextSampleId = 0;
366
386
  }
367
387
 
388
+ if(typeof jsonObject['points'] === 'object' && 'nextAdditionalSampleIds' in jsonObject['points'])
389
+ {
390
+ pointsObject.nextAdditionalSampleIds = (function(){
391
+ if(typeof jsonObject['points'].nextAdditionalSampleIds !== 'number')
392
+ {
393
+ return Number.isInteger(Number(jsonObject['points'].nextAdditionalSampleIds)) ? Number(jsonObject['points'].nextAdditionalSampleIds) : Math.floor(Number(jsonObject['points'].nextAdditionalSampleIds));
394
+ }
395
+
396
+ return Number.isInteger(jsonObject['points'].nextAdditionalSampleIds) ? jsonObject['points'].nextAdditionalSampleIds : Math.floor(jsonObject['points'].nextAdditionalSampleIds);
397
+ }());
398
+ }
399
+ else
400
+ {
401
+ pointsObject.nextAdditionalSampleIds = 0;
402
+ }
403
+
368
404
  if(typeof jsonObject['points'] === 'object' && 'loadCurrentSampleRequest' in jsonObject['points'])
369
405
  {
370
406
  pointsObject.loadCurrentSampleRequest = (function(){
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '2.5.0';
2
+ export const version = '2.5.2';