@ricado/api-client 2.4.1 → 2.5.0

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.
Files changed (32) hide show
  1. package/dist/ricado.api.client.js +1 -1
  2. package/lib/Controllers/Lab/Site/FruitProfileController.js +12 -9
  3. package/lib/Controllers/Lab/Site/ProbeCalibrationController.js +921 -0
  4. package/lib/Controllers/Lab/Site/RackPositionController.js +2 -2
  5. package/lib/Controllers/Lab/Site/SampleController.js +15 -15
  6. package/lib/Controllers/Lab/Site/SampleResultController.js +29 -27
  7. package/lib/Controllers/Lab/Site/index.js +3 -3
  8. package/lib/Models/Lab/Site/FruitProfileModel.js +22 -4
  9. package/lib/Models/Lab/Site/{SampleFailureReasonModel.js → ProbeCalibrationModel.js} +141 -33
  10. package/lib/Models/Lab/Site/RackPositionModel.js +67 -15
  11. package/lib/Models/Lab/Site/SampleModel.js +51 -73
  12. package/lib/Models/Lab/Site/SampleResultModel.js +45 -23
  13. package/lib/Models/Lab/Site/index.js +3 -3
  14. package/lib/PackageVersion.js +1 -1
  15. package/lib/index.d.ts +577 -305
  16. package/package.json +1 -1
  17. package/src/Controllers/Lab/Site/FruitProfileController.js +12 -9
  18. package/src/Controllers/Lab/Site/ProbeCalibrationController.js +1052 -0
  19. package/src/Controllers/Lab/Site/RackPositionController.js +2 -2
  20. package/src/Controllers/Lab/Site/SampleController.js +15 -15
  21. package/src/Controllers/Lab/Site/SampleResultController.js +29 -27
  22. package/src/Controllers/Lab/Site/index.js +2 -2
  23. package/src/Models/Lab/Site/FruitProfileModel.js +24 -4
  24. package/src/Models/Lab/Site/ProbeCalibrationModel.js +290 -0
  25. package/src/Models/Lab/Site/RackPositionModel.js +87 -15
  26. package/src/Models/Lab/Site/SampleModel.js +57 -82
  27. package/src/Models/Lab/Site/SampleResultModel.js +48 -23
  28. package/src/Models/Lab/Site/index.js +2 -2
  29. package/src/PackageVersion.js +1 -1
  30. package/lib/Controllers/Lab/Site/SampleFailureReasonController.js +0 -192
  31. package/src/Controllers/Lab/Site/SampleFailureReasonController.js +0 -169
  32. package/src/Models/Lab/Site/SampleFailureReasonModel.js +0 -170
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricado/api-client",
3
- "version": "2.4.1",
3
+ "version": "2.5.0",
4
4
  "description": "RICADO Gen 4 API Client Library for NodeJS and Browsers",
5
5
  "author": {
6
6
  "name": "Ash Neilson"
@@ -155,14 +155,15 @@ export default FruitProfileController;
155
155
  * The Create Data for a Fruit Profile
156
156
  *
157
157
  * @typedef {Object} FruitProfileController.CreateData
158
- * @property {string} [name] The Fruit Profile Name
158
+ * @property {string} name The Fruit Profile Name
159
159
  * @property {string} description The Fruit Profile Description
160
160
  * @property {string} image The Fruit Profile Image Source
161
161
  * @property {number} nominalWarmUpDuration The Typical Warm Up Duration (in seconds) for a Sample to reach the Minimum Target Temperature
162
- * @property {number} minimumWithinTargetDuration The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures be Successful
163
- * @property {number} maximumTotalDuration The Maximum Duration (in seconds) that a Sample should be Dehydrated for before it Fails
164
- * @property {number} minimumTargetTemperature The Minimum Target Temperature for a Sample to be Successful
165
- * @property {number} maximumTargetTemperature The Maximum Target Temperature for a Sample to be Successful
162
+ * @property {number} minimumWithinTargetDuration The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures to be Compliant
163
+ * @property {number} minimumTotalDuration The Minimum Duration (in seconds) that a Sample must be Dehydrated for to be Compliant
164
+ * @property {number} maximumTotalDuration The Maximum Duration (in seconds) that a Sample can be Dehydrated for before it is Considered Non-Compliant
165
+ * @property {number} minimumTargetTemperature The Minimum Target Temperature for a Sample to be Compliant
166
+ * @property {number} maximumTargetTemperature The Maximum Target Temperature for a Sample to be Compliant
166
167
  * @memberof Controllers.Lab.Site
167
168
  */
168
169
 
@@ -170,12 +171,14 @@ export default FruitProfileController;
170
171
  * The Update Data for a Fruit Profile
171
172
  *
172
173
  * @typedef {Object} FruitProfileController.UpdateData
174
+ * @property {string} [name] The Fruit Profile Name
173
175
  * @property {string} [description] The Fruit Profile Description
174
176
  * @property {string} [image] The Fruit Profile Image Source
175
177
  * @property {number} [nominalWarmUpDuration] The Typical Warm Up Duration (in seconds) for a Sample to reach the Minimum Target Temperature
176
- * @property {number} [minimumWithinTargetDuration] The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures be Successful
177
- * @property {number} [maximumTotalDuration] The Maximum Duration (in seconds) that a Sample should be Dehydrated for before it Fails
178
- * @property {number} [minimumTargetTemperature] The Minimum Target Temperature for a Sample to be Successful
179
- * @property {number} [maximumTargetTemperature] The Maximum Target Temperature for a Sample to be Successful
178
+ * @property {number} [minimumWithinTargetDuration] The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures to be Compliant
179
+ * @property {number} [minimumTotalDuration] The Minimum Duration (in seconds) that a Sample must be Dehydrated for to be Compliant
180
+ * @property {number} [maximumTotalDuration] The Maximum Duration (in seconds) that a Sample can be Dehydrated for before it is Considered Non-Compliant
181
+ * @property {number} [minimumTargetTemperature] The Minimum Target Temperature for a Sample to be Compliant
182
+ * @property {number} [maximumTargetTemperature] The Maximum Target Temperature for a Sample to be Compliant
180
183
  * @memberof Controllers.Lab.Site
181
184
  */