@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.
- package/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Lab/Site/FruitProfileController.js +12 -9
- package/lib/Controllers/Lab/Site/ProbeCalibrationController.js +921 -0
- package/lib/Controllers/Lab/Site/RackPositionController.js +2 -2
- package/lib/Controllers/Lab/Site/SampleController.js +15 -15
- package/lib/Controllers/Lab/Site/SampleResultController.js +29 -27
- package/lib/Controllers/Lab/Site/index.js +3 -3
- package/lib/Models/Lab/Site/FruitProfileModel.js +22 -4
- package/lib/Models/Lab/Site/{SampleFailureReasonModel.js → ProbeCalibrationModel.js} +141 -33
- package/lib/Models/Lab/Site/RackPositionModel.js +67 -15
- package/lib/Models/Lab/Site/SampleModel.js +51 -73
- package/lib/Models/Lab/Site/SampleResultModel.js +45 -23
- package/lib/Models/Lab/Site/index.js +3 -3
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +577 -305
- package/package.json +1 -1
- package/src/Controllers/Lab/Site/FruitProfileController.js +12 -9
- package/src/Controllers/Lab/Site/ProbeCalibrationController.js +1052 -0
- package/src/Controllers/Lab/Site/RackPositionController.js +2 -2
- package/src/Controllers/Lab/Site/SampleController.js +15 -15
- package/src/Controllers/Lab/Site/SampleResultController.js +29 -27
- package/src/Controllers/Lab/Site/index.js +2 -2
- package/src/Models/Lab/Site/FruitProfileModel.js +24 -4
- package/src/Models/Lab/Site/ProbeCalibrationModel.js +290 -0
- package/src/Models/Lab/Site/RackPositionModel.js +87 -15
- package/src/Models/Lab/Site/SampleModel.js +57 -82
- package/src/Models/Lab/Site/SampleResultModel.js +48 -23
- package/src/Models/Lab/Site/index.js +2 -2
- package/src/PackageVersion.js +1 -1
- package/lib/Controllers/Lab/Site/SampleFailureReasonController.js +0 -192
- package/src/Controllers/Lab/Site/SampleFailureReasonController.js +0 -169
- package/src/Models/Lab/Site/SampleFailureReasonModel.js +0 -170
package/lib/index.d.ts
CHANGED
|
@@ -3158,19 +3158,19 @@ declare module '@ricado/api-client/Controllers/Lab/Site' {
|
|
|
3158
3158
|
export { DehydratorController };
|
|
3159
3159
|
export { FruitProfileController };
|
|
3160
3160
|
export { LabController };
|
|
3161
|
+
export { ProbeCalibrationController };
|
|
3161
3162
|
export { RackController };
|
|
3162
3163
|
export { RackPositionController };
|
|
3163
3164
|
export { SampleController };
|
|
3164
|
-
export { SampleFailureReasonController };
|
|
3165
3165
|
export { SampleResultController };
|
|
3166
3166
|
}
|
|
3167
3167
|
import DehydratorController from "@ricado/api-client/Controllers/Lab/Site/DehydratorController";
|
|
3168
3168
|
import FruitProfileController from "@ricado/api-client/Controllers/Lab/Site/FruitProfileController";
|
|
3169
3169
|
import LabController from "@ricado/api-client/Controllers/Lab/Site/LabController";
|
|
3170
|
+
import ProbeCalibrationController from "@ricado/api-client/Controllers/Lab/Site/ProbeCalibrationController";
|
|
3170
3171
|
import RackController from "@ricado/api-client/Controllers/Lab/Site/RackController";
|
|
3171
3172
|
import RackPositionController from "@ricado/api-client/Controllers/Lab/Site/RackPositionController";
|
|
3172
3173
|
import SampleController from "@ricado/api-client/Controllers/Lab/Site/SampleController";
|
|
3173
|
-
import SampleFailureReasonController from "@ricado/api-client/Controllers/Lab/Site/SampleFailureReasonController";
|
|
3174
3174
|
import SampleResultController from "@ricado/api-client/Controllers/Lab/Site/SampleResultController";
|
|
3175
3175
|
}
|
|
3176
3176
|
|
|
@@ -5996,18 +5996,18 @@ declare module '@ricado/api-client/Models/Lab/Site' {
|
|
|
5996
5996
|
export { DehydratorModel };
|
|
5997
5997
|
export { FruitProfileModel };
|
|
5998
5998
|
export { LabModel };
|
|
5999
|
+
export { ProbeCalibrationModel };
|
|
5999
6000
|
export { RackModel };
|
|
6000
6001
|
export { RackPositionModel };
|
|
6001
|
-
export { SampleFailureReasonModel };
|
|
6002
6002
|
export { SampleModel };
|
|
6003
6003
|
export { SampleResultModel };
|
|
6004
6004
|
}
|
|
6005
6005
|
import DehydratorModel from "@ricado/api-client/Models/Lab/Site/DehydratorModel";
|
|
6006
6006
|
import FruitProfileModel from "@ricado/api-client/Models/Lab/Site/FruitProfileModel";
|
|
6007
6007
|
import LabModel from "@ricado/api-client/Models/Lab/Site/LabModel";
|
|
6008
|
+
import ProbeCalibrationModel from "@ricado/api-client/Models/Lab/Site/ProbeCalibrationModel";
|
|
6008
6009
|
import RackModel from "@ricado/api-client/Models/Lab/Site/RackModel";
|
|
6009
6010
|
import RackPositionModel from "@ricado/api-client/Models/Lab/Site/RackPositionModel";
|
|
6010
|
-
import SampleFailureReasonModel from "@ricado/api-client/Models/Lab/Site/SampleFailureReasonModel";
|
|
6011
6011
|
import SampleModel from "@ricado/api-client/Models/Lab/Site/SampleModel";
|
|
6012
6012
|
import SampleResultModel from "@ricado/api-client/Models/Lab/Site/SampleResultModel";
|
|
6013
6013
|
}
|
|
@@ -6897,7 +6897,7 @@ declare module '@ricado/api-client/Controllers/Lab/Site/FruitProfileController'
|
|
|
6897
6897
|
/**
|
|
6898
6898
|
* The Fruit Profile Name
|
|
6899
6899
|
*/
|
|
6900
|
-
name
|
|
6900
|
+
name: string;
|
|
6901
6901
|
/**
|
|
6902
6902
|
* The Fruit Profile Description
|
|
6903
6903
|
*/
|
|
@@ -6911,19 +6911,23 @@ declare module '@ricado/api-client/Controllers/Lab/Site/FruitProfileController'
|
|
|
6911
6911
|
*/
|
|
6912
6912
|
nominalWarmUpDuration: number;
|
|
6913
6913
|
/**
|
|
6914
|
-
* The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures be
|
|
6914
|
+
* The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures to be Compliant
|
|
6915
6915
|
*/
|
|
6916
6916
|
minimumWithinTargetDuration: number;
|
|
6917
6917
|
/**
|
|
6918
|
-
* The
|
|
6918
|
+
* The Minimum Duration (in seconds) that a Sample must be Dehydrated for to be Compliant
|
|
6919
|
+
*/
|
|
6920
|
+
minimumTotalDuration: number;
|
|
6921
|
+
/**
|
|
6922
|
+
* The Maximum Duration (in seconds) that a Sample can be Dehydrated for before it is Considered Non-Compliant
|
|
6919
6923
|
*/
|
|
6920
6924
|
maximumTotalDuration: number;
|
|
6921
6925
|
/**
|
|
6922
|
-
* The Minimum Target Temperature for a Sample to be
|
|
6926
|
+
* The Minimum Target Temperature for a Sample to be Compliant
|
|
6923
6927
|
*/
|
|
6924
6928
|
minimumTargetTemperature: number;
|
|
6925
6929
|
/**
|
|
6926
|
-
* The Maximum Target Temperature for a Sample to be
|
|
6930
|
+
* The Maximum Target Temperature for a Sample to be Compliant
|
|
6927
6931
|
*/
|
|
6928
6932
|
maximumTargetTemperature: number;
|
|
6929
6933
|
};
|
|
@@ -6931,6 +6935,10 @@ declare module '@ricado/api-client/Controllers/Lab/Site/FruitProfileController'
|
|
|
6931
6935
|
* The Update Data for a Fruit Profile
|
|
6932
6936
|
*/
|
|
6933
6937
|
export type UpdateData = {
|
|
6938
|
+
/**
|
|
6939
|
+
* The Fruit Profile Name
|
|
6940
|
+
*/
|
|
6941
|
+
name?: string;
|
|
6934
6942
|
/**
|
|
6935
6943
|
* The Fruit Profile Description
|
|
6936
6944
|
*/
|
|
@@ -6944,19 +6952,23 @@ declare module '@ricado/api-client/Controllers/Lab/Site/FruitProfileController'
|
|
|
6944
6952
|
*/
|
|
6945
6953
|
nominalWarmUpDuration?: number;
|
|
6946
6954
|
/**
|
|
6947
|
-
* The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures be
|
|
6955
|
+
* The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures to be Compliant
|
|
6948
6956
|
*/
|
|
6949
6957
|
minimumWithinTargetDuration?: number;
|
|
6950
6958
|
/**
|
|
6951
|
-
* The
|
|
6959
|
+
* The Minimum Duration (in seconds) that a Sample must be Dehydrated for to be Compliant
|
|
6960
|
+
*/
|
|
6961
|
+
minimumTotalDuration?: number;
|
|
6962
|
+
/**
|
|
6963
|
+
* The Maximum Duration (in seconds) that a Sample can be Dehydrated for before it is Considered Non-Compliant
|
|
6952
6964
|
*/
|
|
6953
6965
|
maximumTotalDuration?: number;
|
|
6954
6966
|
/**
|
|
6955
|
-
* The Minimum Target Temperature for a Sample to be
|
|
6967
|
+
* The Minimum Target Temperature for a Sample to be Compliant
|
|
6956
6968
|
*/
|
|
6957
6969
|
minimumTargetTemperature?: number;
|
|
6958
6970
|
/**
|
|
6959
|
-
* The Maximum Target Temperature for a Sample to be
|
|
6971
|
+
* The Maximum Target Temperature for a Sample to be Compliant
|
|
6960
6972
|
*/
|
|
6961
6973
|
maximumTargetTemperature?: number;
|
|
6962
6974
|
};
|
|
@@ -7134,6 +7146,293 @@ declare module '@ricado/api-client/Controllers/Lab/Site/LabController' {
|
|
|
7134
7146
|
import LabModel from "@ricado/api-client/Models/Lab/Site/LabModel";
|
|
7135
7147
|
}
|
|
7136
7148
|
|
|
7149
|
+
declare module '@ricado/api-client/Controllers/Lab/Site/ProbeCalibrationController' {
|
|
7150
|
+
export default ProbeCalibrationController;
|
|
7151
|
+
/**
|
|
7152
|
+
* Controller Class for Probe Calibrations
|
|
7153
|
+
*
|
|
7154
|
+
* @class
|
|
7155
|
+
*/
|
|
7156
|
+
class ProbeCalibrationController {
|
|
7157
|
+
/**
|
|
7158
|
+
* Retrieve a Probe Calibration [GET /lab/sites/{siteId}/probe-calibrations/{id}]
|
|
7159
|
+
*
|
|
7160
|
+
* @static
|
|
7161
|
+
* @public
|
|
7162
|
+
* @param {number} siteId The Site ID
|
|
7163
|
+
* @param {string} id The Probe Calibration ID
|
|
7164
|
+
* @return {Promise<ProbeCalibrationModel>}
|
|
7165
|
+
*/
|
|
7166
|
+
static getOne(siteId: number, id: string): Promise<ProbeCalibrationModel>;
|
|
7167
|
+
/**
|
|
7168
|
+
* Update a Probe Calibration [PATCH /lab/sites/{siteId}/probe-calibrations/{id}]
|
|
7169
|
+
*
|
|
7170
|
+
* @static
|
|
7171
|
+
* @public
|
|
7172
|
+
* @param {number} siteId The Site ID
|
|
7173
|
+
* @param {string} id The Probe Calibration ID
|
|
7174
|
+
* @param {ProbeCalibrationController.UpdateData} updateData The Probe Calibration Update Data
|
|
7175
|
+
* @return {Promise<ProbeCalibrationModel>}
|
|
7176
|
+
*/
|
|
7177
|
+
static update(siteId: number, id: string, updateData: ProbeCalibrationController.UpdateData): Promise<ProbeCalibrationModel>;
|
|
7178
|
+
/**
|
|
7179
|
+
* Delete a Probe Calibration [DELETE /lab/sites/{siteId}/probe-calibrations/{id}]
|
|
7180
|
+
*
|
|
7181
|
+
* @static
|
|
7182
|
+
* @public
|
|
7183
|
+
* @param {number} siteId The Site ID
|
|
7184
|
+
* @param {string} id The Probe Calibration ID
|
|
7185
|
+
* @return {Promise<boolean>}
|
|
7186
|
+
*/
|
|
7187
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
7188
|
+
/**
|
|
7189
|
+
* Retrieve Comments [GET /lab/sites/{siteId}/probe-calibrations/{id}/comments]
|
|
7190
|
+
*
|
|
7191
|
+
* Retrieves Comments for a Probe Calibration
|
|
7192
|
+
*
|
|
7193
|
+
* @static
|
|
7194
|
+
* @public
|
|
7195
|
+
* @param {number} siteId The Site ID
|
|
7196
|
+
* @param {string} id The Probe Calibration ID
|
|
7197
|
+
* @return {Promise<Array<ProbeCalibrationController.CommentItem>>}
|
|
7198
|
+
*/
|
|
7199
|
+
static getComments(siteId: number, id: string): Promise<Array<ProbeCalibrationController.CommentItem>>;
|
|
7200
|
+
/**
|
|
7201
|
+
* Create a Comment [POST /lab/sites/{siteId}/probe-calibrations/{id}/comments]
|
|
7202
|
+
*
|
|
7203
|
+
* Create a Comment for a Probe Calibration
|
|
7204
|
+
*
|
|
7205
|
+
* @static
|
|
7206
|
+
* @public
|
|
7207
|
+
* @param {number} siteId The Site ID
|
|
7208
|
+
* @param {string} id The Probe Calibration ID
|
|
7209
|
+
* @param {string} content The Content of the New Comment
|
|
7210
|
+
* @return {Promise<ProbeCalibrationController.CommentItem>}
|
|
7211
|
+
*/
|
|
7212
|
+
static createComment(siteId: number, id: string, content: string): Promise<ProbeCalibrationController.CommentItem>;
|
|
7213
|
+
/**
|
|
7214
|
+
* Retrieve a Comment [GET /lab/sites/{siteId}/probe-calibrations/{id}/comments/{commentId}]
|
|
7215
|
+
*
|
|
7216
|
+
* Retrieves Comments for a Probe Calibration
|
|
7217
|
+
*
|
|
7218
|
+
* @static
|
|
7219
|
+
* @public
|
|
7220
|
+
* @param {number} siteId The Site ID
|
|
7221
|
+
* @param {string} id The Probe Calibration ID
|
|
7222
|
+
* @param {string} commentId The Comment ID
|
|
7223
|
+
* @return {Promise<ProbeCalibrationController.CommentItem>}
|
|
7224
|
+
*/
|
|
7225
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<ProbeCalibrationController.CommentItem>;
|
|
7226
|
+
/**
|
|
7227
|
+
* Update a Comment [PATCH /lab/sites/{siteId}/probe-calibrations/{id}/comments/{commentId}]
|
|
7228
|
+
*
|
|
7229
|
+
* Update a Comment for a Probe Calibration
|
|
7230
|
+
*
|
|
7231
|
+
* @static
|
|
7232
|
+
* @public
|
|
7233
|
+
* @param {number} siteId The Site ID
|
|
7234
|
+
* @param {string} id The Probe Calibration ID
|
|
7235
|
+
* @param {string} commentId The Comment ID
|
|
7236
|
+
* @param {string} content The Updated Content for the Comment
|
|
7237
|
+
* @return {Promise<ProbeCalibrationController.CommentItem>}
|
|
7238
|
+
*/
|
|
7239
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<ProbeCalibrationController.CommentItem>;
|
|
7240
|
+
/**
|
|
7241
|
+
* Delete a Comment [DELETE /lab/sites/{siteId}/probe-calibrations/{id}/comments/{commentId}]
|
|
7242
|
+
*
|
|
7243
|
+
* Delete a Comment for a Probe Calibration
|
|
7244
|
+
*
|
|
7245
|
+
* @static
|
|
7246
|
+
* @public
|
|
7247
|
+
* @param {number} siteId The Site ID
|
|
7248
|
+
* @param {string} id The Probe Calibration ID
|
|
7249
|
+
* @param {string} commentId The Comment ID
|
|
7250
|
+
* @return {Promise<boolean>}
|
|
7251
|
+
*/
|
|
7252
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
7253
|
+
/**
|
|
7254
|
+
* List all Probe Calibrations [GET /lab/sites/{siteId}/probe-calibrations]
|
|
7255
|
+
*
|
|
7256
|
+
* @static
|
|
7257
|
+
* @public
|
|
7258
|
+
* @param {number} siteId The Site ID
|
|
7259
|
+
* @param {ProbeCalibrationController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
7260
|
+
* @return {Promise<ProbeCalibrationModel[]>}
|
|
7261
|
+
*/
|
|
7262
|
+
static getAll(siteId: number, queryParameters?: ProbeCalibrationController.GetAllQueryParameters | undefined): Promise<ProbeCalibrationModel[]>;
|
|
7263
|
+
/**
|
|
7264
|
+
* Create a Probe Calibration [POST /lab/sites/{siteId}/probe-calibrations]
|
|
7265
|
+
*
|
|
7266
|
+
* @static
|
|
7267
|
+
* @public
|
|
7268
|
+
* @param {number} siteId The Site ID
|
|
7269
|
+
* @param {ProbeCalibrationController.CreateData} createData The Probe Calibration Create Data
|
|
7270
|
+
* @return {Promise<ProbeCalibrationModel>}
|
|
7271
|
+
*/
|
|
7272
|
+
static create(siteId: number, createData: ProbeCalibrationController.CreateData): Promise<ProbeCalibrationModel>;
|
|
7273
|
+
/**
|
|
7274
|
+
* Retrieve the Latest Probe Calibrations [GET /lab/sites/{siteId}/probe-calibrations/latest]
|
|
7275
|
+
*
|
|
7276
|
+
* Retrieves the Latest Probe Calibrations for all Rack Positions
|
|
7277
|
+
*
|
|
7278
|
+
* @static
|
|
7279
|
+
* @public
|
|
7280
|
+
* @param {number} siteId The Site ID
|
|
7281
|
+
* @return {Promise<ProbeCalibrationModel[]>}
|
|
7282
|
+
*/
|
|
7283
|
+
static getLatestProbeCalibrations(siteId: number): Promise<ProbeCalibrationModel[]>;
|
|
7284
|
+
}
|
|
7285
|
+
namespace ProbeCalibrationController {
|
|
7286
|
+
/**
|
|
7287
|
+
* The Optional Query Parameters for the getAll Function
|
|
7288
|
+
*/
|
|
7289
|
+
export type GetAllQueryParameters = {
|
|
7290
|
+
/**
|
|
7291
|
+
* The Rack Position ID this Probe Calibration is associated with
|
|
7292
|
+
*/
|
|
7293
|
+
rackPositionId?: string;
|
|
7294
|
+
/**
|
|
7295
|
+
* ID of the User who Completed this Probe Calibration
|
|
7296
|
+
*/
|
|
7297
|
+
userId?: string;
|
|
7298
|
+
/**
|
|
7299
|
+
* Name of the User who Completed this Probe Calibration
|
|
7300
|
+
*/
|
|
7301
|
+
userName?: string;
|
|
7302
|
+
/**
|
|
7303
|
+
* Filter by the Timestamp when Probe Calibrations were Created. Results Greater than or Equal to Timestamp
|
|
7304
|
+
*/
|
|
7305
|
+
createdTimestampBegin?: Date;
|
|
7306
|
+
/**
|
|
7307
|
+
* Filter by the Timestamp when Probe Calibrations were Created. Results Less than or Equal to Timestamp
|
|
7308
|
+
*/
|
|
7309
|
+
createdTimestampEnd?: Date;
|
|
7310
|
+
/**
|
|
7311
|
+
* Filter by the Timestamp when Probe Calibrations were last Updated. Results Greater than or Equal to Timestamp
|
|
7312
|
+
*/
|
|
7313
|
+
updateTimestampBegin?: Date;
|
|
7314
|
+
/**
|
|
7315
|
+
* Filter by the Timestamp when Probe Calibrations were last Updated. Results Less than or Equal to Timestamp
|
|
7316
|
+
*/
|
|
7317
|
+
updateTimestampEnd?: Date;
|
|
7318
|
+
};
|
|
7319
|
+
/**
|
|
7320
|
+
* The Create Data for a Probe Calibration
|
|
7321
|
+
*/
|
|
7322
|
+
export type CreateData = {
|
|
7323
|
+
/**
|
|
7324
|
+
* The Rack Position ID this Probe Calibration is associated with
|
|
7325
|
+
*/
|
|
7326
|
+
rackPositionId: string;
|
|
7327
|
+
/**
|
|
7328
|
+
* When this Probe Calibration was Created
|
|
7329
|
+
*/
|
|
7330
|
+
createdTimestamp?: Date;
|
|
7331
|
+
/**
|
|
7332
|
+
* ID of the User who Completed this Probe Calibration
|
|
7333
|
+
*/
|
|
7334
|
+
userId: string;
|
|
7335
|
+
/**
|
|
7336
|
+
* Name of the User who Completed this Probe Calibration
|
|
7337
|
+
*/
|
|
7338
|
+
userName: string;
|
|
7339
|
+
/**
|
|
7340
|
+
* The Calibration Offset prior to this Probe Calibration being Created
|
|
7341
|
+
*/
|
|
7342
|
+
preCalibrationOffset: number;
|
|
7343
|
+
/**
|
|
7344
|
+
* The Calibration Offset after this Probe Calibration was Created
|
|
7345
|
+
*/
|
|
7346
|
+
postCalibrationOffset: number;
|
|
7347
|
+
/**
|
|
7348
|
+
* The Temperature Probe reading prior to this Probe Calibration being Created
|
|
7349
|
+
*/
|
|
7350
|
+
preCalibrationTemperature: number;
|
|
7351
|
+
/**
|
|
7352
|
+
* The Temperature Probe reading after this Probe Calibration was Created
|
|
7353
|
+
*/
|
|
7354
|
+
postCalibrationTemperature: number;
|
|
7355
|
+
};
|
|
7356
|
+
/**
|
|
7357
|
+
* The Update Data for a Probe Calibration
|
|
7358
|
+
*/
|
|
7359
|
+
export type UpdateData = {
|
|
7360
|
+
/**
|
|
7361
|
+
* The Rack Position ID this Probe Calibration is associated with
|
|
7362
|
+
*/
|
|
7363
|
+
rackPositionId?: string;
|
|
7364
|
+
/**
|
|
7365
|
+
* When this Probe Calibration was Created
|
|
7366
|
+
*/
|
|
7367
|
+
createdTimestamp?: Date;
|
|
7368
|
+
/**
|
|
7369
|
+
* ID of the User who Completed this Probe Calibration
|
|
7370
|
+
*/
|
|
7371
|
+
userId?: string;
|
|
7372
|
+
/**
|
|
7373
|
+
* Name of the User who Completed this Probe Calibration
|
|
7374
|
+
*/
|
|
7375
|
+
userName?: string;
|
|
7376
|
+
/**
|
|
7377
|
+
* The Calibration Offset prior to this Probe Calibration being Created
|
|
7378
|
+
*/
|
|
7379
|
+
preCalibrationOffset?: number;
|
|
7380
|
+
/**
|
|
7381
|
+
* The Calibration Offset after this Probe Calibration was Created
|
|
7382
|
+
*/
|
|
7383
|
+
postCalibrationOffset?: number;
|
|
7384
|
+
/**
|
|
7385
|
+
* The Temperature Probe reading prior to this Probe Calibration being Created
|
|
7386
|
+
*/
|
|
7387
|
+
preCalibrationTemperature?: number;
|
|
7388
|
+
/**
|
|
7389
|
+
* The Temperature Probe reading after this Probe Calibration was Created
|
|
7390
|
+
*/
|
|
7391
|
+
postCalibrationTemperature?: number;
|
|
7392
|
+
};
|
|
7393
|
+
/**
|
|
7394
|
+
* A **UserAccount** Type
|
|
7395
|
+
*/
|
|
7396
|
+
export type UserAccount = {
|
|
7397
|
+
/**
|
|
7398
|
+
* The User Account ID
|
|
7399
|
+
*/
|
|
7400
|
+
id: string | null;
|
|
7401
|
+
/**
|
|
7402
|
+
* The User's First Name
|
|
7403
|
+
*/
|
|
7404
|
+
firstName: string | null;
|
|
7405
|
+
/**
|
|
7406
|
+
* The User's Last Name
|
|
7407
|
+
*/
|
|
7408
|
+
lastName: string | null;
|
|
7409
|
+
};
|
|
7410
|
+
/**
|
|
7411
|
+
* A **CommentItem** Type
|
|
7412
|
+
*/
|
|
7413
|
+
export type CommentItem = {
|
|
7414
|
+
/**
|
|
7415
|
+
* The Comment ID
|
|
7416
|
+
*/
|
|
7417
|
+
id: string;
|
|
7418
|
+
userAccount: UserAccount;
|
|
7419
|
+
/**
|
|
7420
|
+
* The Content of the Comment
|
|
7421
|
+
*/
|
|
7422
|
+
content: string | null;
|
|
7423
|
+
/**
|
|
7424
|
+
* When the Comment was Created
|
|
7425
|
+
*/
|
|
7426
|
+
createdTimestamp: Date | null;
|
|
7427
|
+
/**
|
|
7428
|
+
* When the Comment was last Updated
|
|
7429
|
+
*/
|
|
7430
|
+
updatedTimestamp: Date | null;
|
|
7431
|
+
};
|
|
7432
|
+
}
|
|
7433
|
+
import ProbeCalibrationModel from "@ricado/api-client/Models/Lab/Site/ProbeCalibrationModel";
|
|
7434
|
+
}
|
|
7435
|
+
|
|
7137
7436
|
declare module '@ricado/api-client/Controllers/Lab/Site/RackController' {
|
|
7138
7437
|
export default RackController;
|
|
7139
7438
|
/**
|
|
@@ -7422,16 +7721,20 @@ declare module '@ricado/api-client/Controllers/Lab/Site/RackPositionController'
|
|
|
7422
7721
|
currentSampleId: number;
|
|
7423
7722
|
currentSampleStatus: number;
|
|
7424
7723
|
nextSampleId: number;
|
|
7724
|
+
loadCurrentSampleRequest: number;
|
|
7425
7725
|
startCurrentSampleRequest: number;
|
|
7426
7726
|
finishCurrentSampleRequest: number;
|
|
7727
|
+
unloadCurrentSampleRequest: number;
|
|
7427
7728
|
currentSampleTotalDuration: number;
|
|
7428
7729
|
currentSampleWarmUpDuration: number;
|
|
7730
|
+
currentSampleWarmUpRateOfChange: number;
|
|
7731
|
+
currentSampleWarmUpWarning: number;
|
|
7429
7732
|
currentSampleWarmUpCompleted: number;
|
|
7430
7733
|
currentSampleBelowTargetDuration: number;
|
|
7431
7734
|
currentSampleAboveTargetDuration: number;
|
|
7432
7735
|
currentSampleWithinTargetDuration: number;
|
|
7433
|
-
|
|
7434
|
-
|
|
7736
|
+
currentSampleFinishCriteriaMet: number;
|
|
7737
|
+
currentSampleLatestUnloadTimestamp: number;
|
|
7435
7738
|
};
|
|
7436
7739
|
/**
|
|
7437
7740
|
* The Lab that owns this Rack Position
|
|
@@ -7470,16 +7773,20 @@ declare module '@ricado/api-client/Controllers/Lab/Site/RackPositionController'
|
|
|
7470
7773
|
currentSampleId: number;
|
|
7471
7774
|
currentSampleStatus: number;
|
|
7472
7775
|
nextSampleId: number;
|
|
7776
|
+
loadCurrentSampleRequest: number;
|
|
7473
7777
|
startCurrentSampleRequest: number;
|
|
7474
7778
|
finishCurrentSampleRequest: number;
|
|
7779
|
+
unloadCurrentSampleRequest: number;
|
|
7475
7780
|
currentSampleTotalDuration: number;
|
|
7476
7781
|
currentSampleWarmUpDuration: number;
|
|
7782
|
+
currentSampleWarmUpRateOfChange: number;
|
|
7783
|
+
currentSampleWarmUpWarning: number;
|
|
7477
7784
|
currentSampleWarmUpCompleted: number;
|
|
7478
7785
|
currentSampleBelowTargetDuration: number;
|
|
7479
7786
|
currentSampleAboveTargetDuration: number;
|
|
7480
7787
|
currentSampleWithinTargetDuration: number;
|
|
7481
|
-
|
|
7482
|
-
|
|
7788
|
+
currentSampleFinishCriteriaMet: number;
|
|
7789
|
+
currentSampleLatestUnloadTimestamp: number;
|
|
7483
7790
|
};
|
|
7484
7791
|
/**
|
|
7485
7792
|
* The Lab that owns this Rack Position
|
|
@@ -7669,17 +7976,13 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7669
7976
|
*/
|
|
7670
7977
|
createdSource?: string;
|
|
7671
7978
|
/**
|
|
7672
|
-
*
|
|
7673
|
-
*/
|
|
7674
|
-
createdUserId?: string | null;
|
|
7675
|
-
/**
|
|
7676
|
-
* Name of the User who Created this Sample. Only applies if the `createdSource` is 'System'
|
|
7979
|
+
* Name of the User who Created this Sample
|
|
7677
7980
|
*/
|
|
7678
7981
|
createdUserName?: string | null;
|
|
7679
7982
|
/**
|
|
7680
|
-
*
|
|
7983
|
+
* The Source that Published this Sample
|
|
7681
7984
|
*/
|
|
7682
|
-
|
|
7985
|
+
publishSource?: string | null;
|
|
7683
7986
|
/**
|
|
7684
7987
|
* Name of the User who Published this Sample
|
|
7685
7988
|
*/
|
|
@@ -7696,14 +7999,6 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7696
7999
|
* The Dehydrator used for this Sample
|
|
7697
8000
|
*/
|
|
7698
8001
|
dehydratorId?: string;
|
|
7699
|
-
/**
|
|
7700
|
-
* The Outcome of this Sample
|
|
7701
|
-
*/
|
|
7702
|
-
outcome?: string | null;
|
|
7703
|
-
/**
|
|
7704
|
-
* A Sample Failure Reason ID if this Sample Failed
|
|
7705
|
-
*/
|
|
7706
|
-
failureReasonId?: string | null;
|
|
7707
8002
|
/**
|
|
7708
8003
|
* The Sample Result ID asociated with this Sample
|
|
7709
8004
|
*/
|
|
@@ -7724,6 +8019,14 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7724
8019
|
* Filter by the Timestamp when Samples were Scheduled to Begin. Results Less than or Equal to Timestamp
|
|
7725
8020
|
*/
|
|
7726
8021
|
scheduledTimestampEnd?: Date;
|
|
8022
|
+
/**
|
|
8023
|
+
* Filter by the Timestamp when Samples were Loaded. Results Greater than or Equal to Timestamp
|
|
8024
|
+
*/
|
|
8025
|
+
loadedTimestampBegin?: Date;
|
|
8026
|
+
/**
|
|
8027
|
+
* Filter by the Timestamp when Samples were Loaded. Results Less than or Equal to Timestamp
|
|
8028
|
+
*/
|
|
8029
|
+
loadedTimestampEnd?: Date;
|
|
7727
8030
|
/**
|
|
7728
8031
|
* Filter by the Timestamp when Samples were Started. Results Greater than or Equal to Timestamp
|
|
7729
8032
|
*/
|
|
@@ -7740,6 +8043,14 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7740
8043
|
* Filter by the Timestamp when Samples were Finished. Results Less than or Equal to Timestamp
|
|
7741
8044
|
*/
|
|
7742
8045
|
finishTimestampEnd?: Date;
|
|
8046
|
+
/**
|
|
8047
|
+
* Filter by the Timestamp when Samples were Unloaded. Results Greater than or Equal to Timestamp
|
|
8048
|
+
*/
|
|
8049
|
+
unloadedTimestampBegin?: Date;
|
|
8050
|
+
/**
|
|
8051
|
+
* Filter by the Timestamp when Samples were Unloaded. Results Less than or Equal to Timestamp
|
|
8052
|
+
*/
|
|
8053
|
+
unloadedTimestampEnd?: Date;
|
|
7743
8054
|
/**
|
|
7744
8055
|
* Filter by the Timestamp when Samples were Published. Results Greater than or Equal to Timestamp
|
|
7745
8056
|
*/
|
|
@@ -7756,6 +8067,10 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7756
8067
|
* Filter by the Timestamp when Samples were last Updated. Results Less than or Equal to Timestamp
|
|
7757
8068
|
*/
|
|
7758
8069
|
updateTimestampEnd?: Date;
|
|
8070
|
+
/**
|
|
8071
|
+
* Filter by Published State of a Sample. `true` = Published, `false` = Not Published
|
|
8072
|
+
*/
|
|
8073
|
+
publishedState?: boolean;
|
|
7759
8074
|
};
|
|
7760
8075
|
/**
|
|
7761
8076
|
* The Create Data for a Sample
|
|
@@ -7778,17 +8093,17 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7778
8093
|
*/
|
|
7779
8094
|
createdSource: string;
|
|
7780
8095
|
/**
|
|
7781
|
-
*
|
|
7782
|
-
*/
|
|
7783
|
-
createdUserId?: string | null;
|
|
7784
|
-
/**
|
|
7785
|
-
* Name of the User who Created this Sample. Only applies if the `createdSource` is 'System'
|
|
8096
|
+
* Name of the User who Created this Sample
|
|
7786
8097
|
*/
|
|
7787
8098
|
createdUserName?: string | null;
|
|
7788
8099
|
/**
|
|
7789
8100
|
* Optional Scheduled Timestamp when this Sample should Begin
|
|
7790
8101
|
*/
|
|
7791
8102
|
scheduledTimestamp?: Date | null;
|
|
8103
|
+
/**
|
|
8104
|
+
* When this Sample was Loaded into the Dehydrator
|
|
8105
|
+
*/
|
|
8106
|
+
loadedTimestamp?: Date | null;
|
|
7792
8107
|
/**
|
|
7793
8108
|
* When this Sample was Started
|
|
7794
8109
|
*/
|
|
@@ -7797,14 +8112,18 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7797
8112
|
* When this Sample was Finished
|
|
7798
8113
|
*/
|
|
7799
8114
|
finishTimestamp?: Date | null;
|
|
8115
|
+
/**
|
|
8116
|
+
* When this Sample was Unloaded from the Dehydrator
|
|
8117
|
+
*/
|
|
8118
|
+
unloadedTimestamp?: Date | null;
|
|
7800
8119
|
/**
|
|
7801
8120
|
* When this Sample was Published
|
|
7802
8121
|
*/
|
|
7803
8122
|
publishTimestamp?: Date | null;
|
|
7804
8123
|
/**
|
|
7805
|
-
*
|
|
8124
|
+
* The Source that Published this Sample
|
|
7806
8125
|
*/
|
|
7807
|
-
|
|
8126
|
+
publishSource?: string | null;
|
|
7808
8127
|
/**
|
|
7809
8128
|
* Name of the User who Published this Sample
|
|
7810
8129
|
*/
|
|
@@ -7821,14 +8140,6 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7821
8140
|
* The Dehydrator used for this Sample
|
|
7822
8141
|
*/
|
|
7823
8142
|
dehydratorId: string;
|
|
7824
|
-
/**
|
|
7825
|
-
* The Outcome of this Sample
|
|
7826
|
-
*/
|
|
7827
|
-
outcome?: string | null;
|
|
7828
|
-
/**
|
|
7829
|
-
* A Sample Failure Reason ID if this Sample Failed
|
|
7830
|
-
*/
|
|
7831
|
-
failureReasonId?: string | null;
|
|
7832
8143
|
/**
|
|
7833
8144
|
* The Sample Result ID asociated with this Sample
|
|
7834
8145
|
*/
|
|
@@ -7851,17 +8162,17 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7851
8162
|
*/
|
|
7852
8163
|
createdSource?: string;
|
|
7853
8164
|
/**
|
|
7854
|
-
*
|
|
7855
|
-
*/
|
|
7856
|
-
createdUserId?: string | null;
|
|
7857
|
-
/**
|
|
7858
|
-
* Name of the User who Created this Sample. Only applies if the `createdSource` is 'System'
|
|
8165
|
+
* Name of the User who Created this Sample
|
|
7859
8166
|
*/
|
|
7860
8167
|
createdUserName?: string | null;
|
|
7861
8168
|
/**
|
|
7862
8169
|
* Optional Scheduled Timestamp when this Sample should Begin
|
|
7863
8170
|
*/
|
|
7864
8171
|
scheduledTimestamp?: Date | null;
|
|
8172
|
+
/**
|
|
8173
|
+
* When this Sample was Loaded into the Dehydrator
|
|
8174
|
+
*/
|
|
8175
|
+
loadedTimestamp?: Date | null;
|
|
7865
8176
|
/**
|
|
7866
8177
|
* When this Sample was Started
|
|
7867
8178
|
*/
|
|
@@ -7870,14 +8181,18 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7870
8181
|
* When this Sample was Finished
|
|
7871
8182
|
*/
|
|
7872
8183
|
finishTimestamp?: Date | null;
|
|
8184
|
+
/**
|
|
8185
|
+
* When this Sample was Unloaded from the Dehydrator
|
|
8186
|
+
*/
|
|
8187
|
+
unloadedTimestamp?: Date | null;
|
|
7873
8188
|
/**
|
|
7874
8189
|
* When this Sample was Published
|
|
7875
8190
|
*/
|
|
7876
8191
|
publishTimestamp?: Date | null;
|
|
7877
8192
|
/**
|
|
7878
|
-
*
|
|
8193
|
+
* The Source that Published this Sample
|
|
7879
8194
|
*/
|
|
7880
|
-
|
|
8195
|
+
publishSource?: string | null;
|
|
7881
8196
|
/**
|
|
7882
8197
|
* Name of the User who Published this Sample
|
|
7883
8198
|
*/
|
|
@@ -7894,14 +8209,6 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7894
8209
|
* The Dehydrator used for this Sample
|
|
7895
8210
|
*/
|
|
7896
8211
|
dehydratorId?: string;
|
|
7897
|
-
/**
|
|
7898
|
-
* The Outcome of this Sample
|
|
7899
|
-
*/
|
|
7900
|
-
outcome?: string | null;
|
|
7901
|
-
/**
|
|
7902
|
-
* A Sample Failure Reason ID if this Sample Failed
|
|
7903
|
-
*/
|
|
7904
|
-
failureReasonId?: string | null;
|
|
7905
8212
|
/**
|
|
7906
8213
|
* The Sample Result ID asociated with this Sample
|
|
7907
8214
|
*/
|
|
@@ -7964,162 +8271,66 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7964
8271
|
import SampleResultModel from "@ricado/api-client/Models/Lab/Site/SampleResultModel";
|
|
7965
8272
|
}
|
|
7966
8273
|
|
|
7967
|
-
declare module '@ricado/api-client/Controllers/Lab/Site/SampleFailureReasonController' {
|
|
7968
|
-
export default SampleFailureReasonController;
|
|
7969
|
-
/**
|
|
7970
|
-
* Controller Class for Sample Failure Reasons
|
|
7971
|
-
*
|
|
7972
|
-
* @class
|
|
7973
|
-
*/
|
|
7974
|
-
class SampleFailureReasonController {
|
|
7975
|
-
/**
|
|
7976
|
-
* Retrieve a Sample Failure Reason [GET /lab/sites/{siteId}/sample-failure-reasons/{id}]
|
|
7977
|
-
*
|
|
7978
|
-
* @static
|
|
7979
|
-
* @public
|
|
7980
|
-
* @param {number} siteId The Site ID
|
|
7981
|
-
* @param {string} id The Sample Failure Reason ID
|
|
7982
|
-
* @return {Promise<SampleFailureReasonModel>}
|
|
7983
|
-
*/
|
|
7984
|
-
static getOne(siteId: number, id: string): Promise<SampleFailureReasonModel>;
|
|
7985
|
-
/**
|
|
7986
|
-
* Update a Sample Failure Reason [PATCH /lab/sites/{siteId}/sample-failure-reasons/{id}]
|
|
7987
|
-
*
|
|
7988
|
-
* @static
|
|
7989
|
-
* @public
|
|
7990
|
-
* @param {number} siteId The Site ID
|
|
7991
|
-
* @param {string} id The Sample Failure Reason ID
|
|
7992
|
-
* @param {SampleFailureReasonController.UpdateData} updateData The Sample Failure Reason Update Data
|
|
7993
|
-
* @return {Promise<SampleFailureReasonModel>}
|
|
7994
|
-
*/
|
|
7995
|
-
static update(siteId: number, id: string, updateData: SampleFailureReasonController.UpdateData): Promise<SampleFailureReasonModel>;
|
|
7996
|
-
/**
|
|
7997
|
-
* Delete a Sample Failure Reason [DELETE /lab/sites/{siteId}/sample-failure-reasons/{id}]
|
|
7998
|
-
*
|
|
7999
|
-
* @static
|
|
8000
|
-
* @public
|
|
8001
|
-
* @param {number} siteId The Site ID
|
|
8002
|
-
* @param {string} id The Sample Failure Reason ID
|
|
8003
|
-
* @return {Promise<boolean>}
|
|
8004
|
-
*/
|
|
8005
|
-
static delete(siteId: number, id: string): Promise<boolean>;
|
|
8006
|
-
/**
|
|
8007
|
-
* List all Sample Failure Reasons [GET /lab/sites/{siteId}/sample-failure-reasons]
|
|
8008
|
-
*
|
|
8009
|
-
* @static
|
|
8010
|
-
* @public
|
|
8011
|
-
* @param {number} siteId The Site ID
|
|
8012
|
-
* @param {SampleFailureReasonController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
8013
|
-
* @return {Promise<SampleFailureReasonModel[]>}
|
|
8014
|
-
*/
|
|
8015
|
-
static getAll(siteId: number, queryParameters?: SampleFailureReasonController.GetAllQueryParameters | undefined): Promise<SampleFailureReasonModel[]>;
|
|
8016
|
-
/**
|
|
8017
|
-
* Create a Sample Failure Reason [POST /lab/sites/{siteId}/sample-failure-reasons]
|
|
8018
|
-
*
|
|
8019
|
-
* @static
|
|
8020
|
-
* @public
|
|
8021
|
-
* @param {number} siteId The Site ID
|
|
8022
|
-
* @param {SampleFailureReasonController.CreateData} createData The Sample Failure Reason Create Data
|
|
8023
|
-
* @return {Promise<SampleFailureReasonModel>}
|
|
8024
|
-
*/
|
|
8025
|
-
static create(siteId: number, createData: SampleFailureReasonController.CreateData): Promise<SampleFailureReasonModel>;
|
|
8026
|
-
}
|
|
8027
|
-
namespace SampleFailureReasonController {
|
|
8028
|
-
/**
|
|
8029
|
-
* The Optional Query Parameters for the getAll Function
|
|
8030
|
-
*/
|
|
8031
|
-
export type GetAllQueryParameters = {
|
|
8032
|
-
/**
|
|
8033
|
-
* The Sample Failure Reason Name
|
|
8034
|
-
*/
|
|
8035
|
-
name?: string;
|
|
8036
|
-
};
|
|
8037
|
-
/**
|
|
8038
|
-
* The Create Data for a Sample Failure Reason
|
|
8039
|
-
*/
|
|
8040
|
-
export type CreateData = {
|
|
8041
|
-
/**
|
|
8042
|
-
* The Sample Failure Reason Name
|
|
8043
|
-
*/
|
|
8044
|
-
name?: string;
|
|
8045
|
-
/**
|
|
8046
|
-
* The Sample Failure Reason Description
|
|
8047
|
-
*/
|
|
8048
|
-
description: string;
|
|
8049
|
-
};
|
|
8050
|
-
/**
|
|
8051
|
-
* The Update Data for a Sample Failure Reason
|
|
8052
|
-
*/
|
|
8053
|
-
export type UpdateData = {
|
|
8054
|
-
/**
|
|
8055
|
-
* The Sample Failure Reason Description
|
|
8056
|
-
*/
|
|
8057
|
-
description?: string;
|
|
8058
|
-
};
|
|
8059
|
-
}
|
|
8060
|
-
import SampleFailureReasonModel from "@ricado/api-client/Models/Lab/Site/SampleFailureReasonModel";
|
|
8061
|
-
}
|
|
8062
|
-
|
|
8063
8274
|
declare module '@ricado/api-client/Controllers/Lab/Site/SampleResultController' {
|
|
8064
8275
|
export default SampleResultController;
|
|
8065
8276
|
/**
|
|
8066
|
-
* Controller Class for Sample
|
|
8277
|
+
* Controller Class for Sample Results
|
|
8067
8278
|
*
|
|
8068
8279
|
* @class
|
|
8069
8280
|
*/
|
|
8070
8281
|
class SampleResultController {
|
|
8071
8282
|
/**
|
|
8072
|
-
* Retrieve a Sample
|
|
8283
|
+
* Retrieve a Sample Result [GET /lab/sites/{siteId}/sample-results/{id}]
|
|
8073
8284
|
*
|
|
8074
8285
|
* @static
|
|
8075
8286
|
* @public
|
|
8076
8287
|
* @param {number} siteId The Site ID
|
|
8077
|
-
* @param {string} id The Sample
|
|
8288
|
+
* @param {string} id The Sample Result ID
|
|
8078
8289
|
* @return {Promise<SampleResultModel>}
|
|
8079
8290
|
*/
|
|
8080
8291
|
static getOne(siteId: number, id: string): Promise<SampleResultModel>;
|
|
8081
8292
|
/**
|
|
8082
|
-
* Update a Sample
|
|
8293
|
+
* Update a Sample Result [PATCH /lab/sites/{siteId}/sample-results/{id}]
|
|
8083
8294
|
*
|
|
8084
8295
|
* @static
|
|
8085
8296
|
* @public
|
|
8086
8297
|
* @param {number} siteId The Site ID
|
|
8087
|
-
* @param {string} id The Sample
|
|
8088
|
-
* @param {SampleResultController.UpdateData} updateData The Sample
|
|
8298
|
+
* @param {string} id The Sample Result ID
|
|
8299
|
+
* @param {SampleResultController.UpdateData} updateData The Sample Result Update Data
|
|
8089
8300
|
* @return {Promise<SampleResultModel>}
|
|
8090
8301
|
*/
|
|
8091
8302
|
static update(siteId: number, id: string, updateData: SampleResultController.UpdateData): Promise<SampleResultModel>;
|
|
8092
8303
|
/**
|
|
8093
|
-
* Delete a Sample
|
|
8304
|
+
* Delete a Sample Result [DELETE /lab/sites/{siteId}/sample-results/{id}]
|
|
8094
8305
|
*
|
|
8095
8306
|
* @static
|
|
8096
8307
|
* @public
|
|
8097
8308
|
* @param {number} siteId The Site ID
|
|
8098
|
-
* @param {string} id The Sample
|
|
8309
|
+
* @param {string} id The Sample Result ID
|
|
8099
8310
|
* @return {Promise<boolean>}
|
|
8100
8311
|
*/
|
|
8101
8312
|
static delete(siteId: number, id: string): Promise<boolean>;
|
|
8102
8313
|
/**
|
|
8103
8314
|
* Retrieve Comments [GET /lab/sites/{siteId}/sample-results/{id}/comments]
|
|
8104
8315
|
*
|
|
8105
|
-
* Retrieves Comments for a Sample
|
|
8316
|
+
* Retrieves Comments for a Sample Result
|
|
8106
8317
|
*
|
|
8107
8318
|
* @static
|
|
8108
8319
|
* @public
|
|
8109
8320
|
* @param {number} siteId The Site ID
|
|
8110
|
-
* @param {string} id The Sample
|
|
8321
|
+
* @param {string} id The Sample Result ID
|
|
8111
8322
|
* @return {Promise<Array<SampleResultController.CommentItem>>}
|
|
8112
8323
|
*/
|
|
8113
8324
|
static getComments(siteId: number, id: string): Promise<Array<SampleResultController.CommentItem>>;
|
|
8114
8325
|
/**
|
|
8115
8326
|
* Create a Comment [POST /lab/sites/{siteId}/sample-results/{id}/comments]
|
|
8116
8327
|
*
|
|
8117
|
-
* Create a Comment for a Sample
|
|
8328
|
+
* Create a Comment for a Sample Result
|
|
8118
8329
|
*
|
|
8119
8330
|
* @static
|
|
8120
8331
|
* @public
|
|
8121
8332
|
* @param {number} siteId The Site ID
|
|
8122
|
-
* @param {string} id The Sample
|
|
8333
|
+
* @param {string} id The Sample Result ID
|
|
8123
8334
|
* @param {string} content The Content of the New Comment
|
|
8124
8335
|
* @return {Promise<SampleResultController.CommentItem>}
|
|
8125
8336
|
*/
|
|
@@ -8127,12 +8338,12 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleResultController'
|
|
|
8127
8338
|
/**
|
|
8128
8339
|
* Retrieve a Comment [GET /lab/sites/{siteId}/sample-results/{id}/comments/{commentId}]
|
|
8129
8340
|
*
|
|
8130
|
-
* Retrieves Comments for a Sample
|
|
8341
|
+
* Retrieves Comments for a Sample Result
|
|
8131
8342
|
*
|
|
8132
8343
|
* @static
|
|
8133
8344
|
* @public
|
|
8134
8345
|
* @param {number} siteId The Site ID
|
|
8135
|
-
* @param {string} id The Sample
|
|
8346
|
+
* @param {string} id The Sample Result ID
|
|
8136
8347
|
* @param {string} commentId The Comment ID
|
|
8137
8348
|
* @return {Promise<SampleResultController.CommentItem>}
|
|
8138
8349
|
*/
|
|
@@ -8140,12 +8351,12 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleResultController'
|
|
|
8140
8351
|
/**
|
|
8141
8352
|
* Update a Comment [PATCH /lab/sites/{siteId}/sample-results/{id}/comments/{commentId}]
|
|
8142
8353
|
*
|
|
8143
|
-
* Update a Comment for a Sample
|
|
8354
|
+
* Update a Comment for a Sample Result
|
|
8144
8355
|
*
|
|
8145
8356
|
* @static
|
|
8146
8357
|
* @public
|
|
8147
8358
|
* @param {number} siteId The Site ID
|
|
8148
|
-
* @param {string} id The Sample
|
|
8359
|
+
* @param {string} id The Sample Result ID
|
|
8149
8360
|
* @param {string} commentId The Comment ID
|
|
8150
8361
|
* @param {string} content The Updated Content for the Comment
|
|
8151
8362
|
* @return {Promise<SampleResultController.CommentItem>}
|
|
@@ -8154,18 +8365,18 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleResultController'
|
|
|
8154
8365
|
/**
|
|
8155
8366
|
* Delete a Comment [DELETE /lab/sites/{siteId}/sample-results/{id}/comments/{commentId}]
|
|
8156
8367
|
*
|
|
8157
|
-
* Delete a Comment for a Sample
|
|
8368
|
+
* Delete a Comment for a Sample Result
|
|
8158
8369
|
*
|
|
8159
8370
|
* @static
|
|
8160
8371
|
* @public
|
|
8161
8372
|
* @param {number} siteId The Site ID
|
|
8162
|
-
* @param {string} id The Sample
|
|
8373
|
+
* @param {string} id The Sample Result ID
|
|
8163
8374
|
* @param {string} commentId The Comment ID
|
|
8164
8375
|
* @return {Promise<boolean>}
|
|
8165
8376
|
*/
|
|
8166
8377
|
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
8167
8378
|
/**
|
|
8168
|
-
* List all Sample
|
|
8379
|
+
* List all Sample Results [GET /lab/sites/{siteId}/sample-results]
|
|
8169
8380
|
*
|
|
8170
8381
|
* @static
|
|
8171
8382
|
* @public
|
|
@@ -8175,12 +8386,12 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleResultController'
|
|
|
8175
8386
|
*/
|
|
8176
8387
|
static getAll(siteId: number, queryParameters?: SampleResultController.GetAllQueryParameters | undefined): Promise<SampleResultModel[]>;
|
|
8177
8388
|
/**
|
|
8178
|
-
* Create a Sample
|
|
8389
|
+
* Create a Sample Result [POST /lab/sites/{siteId}/sample-results]
|
|
8179
8390
|
*
|
|
8180
8391
|
* @static
|
|
8181
8392
|
* @public
|
|
8182
8393
|
* @param {number} siteId The Site ID
|
|
8183
|
-
* @param {SampleResultController.CreateData} createData The Sample
|
|
8394
|
+
* @param {SampleResultController.CreateData} createData The Sample Result Create Data
|
|
8184
8395
|
* @return {Promise<SampleResultModel>}
|
|
8185
8396
|
*/
|
|
8186
8397
|
static create(siteId: number, createData: SampleResultController.CreateData): Promise<SampleResultModel>;
|
|
@@ -8208,7 +8419,7 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleResultController'
|
|
|
8208
8419
|
createdTimestampEnd?: Date;
|
|
8209
8420
|
};
|
|
8210
8421
|
/**
|
|
8211
|
-
* The Create Data for a Sample
|
|
8422
|
+
* The Create Data for a Sample Result
|
|
8212
8423
|
*/
|
|
8213
8424
|
export type CreateData = {
|
|
8214
8425
|
/**
|
|
@@ -8248,17 +8459,21 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleResultController'
|
|
|
8248
8459
|
*/
|
|
8249
8460
|
withinTargetDuration: number;
|
|
8250
8461
|
/**
|
|
8251
|
-
* Timestamp of when the
|
|
8462
|
+
* Timestamp of when the Finish Criteria was Met for the Sample - `null` if not Met
|
|
8252
8463
|
*/
|
|
8253
|
-
|
|
8464
|
+
finishCriteriaMetTimestamp?: Date | null;
|
|
8254
8465
|
/**
|
|
8255
|
-
* Timestamp of when the
|
|
8466
|
+
* Latest Possible Timestamp of when the Sample should have been Unloaded to remain Compliant
|
|
8256
8467
|
*/
|
|
8257
|
-
|
|
8468
|
+
latestUnloadTimestamp?: Date | null;
|
|
8258
8469
|
/**
|
|
8259
8470
|
* The Average Temperature for the Total Duration of the Sample
|
|
8260
8471
|
*/
|
|
8261
8472
|
totalAverageTemperature?: number | null;
|
|
8473
|
+
/**
|
|
8474
|
+
* The Average Temperature Rate-of-Change seen during the Warm Up process for the Sample
|
|
8475
|
+
*/
|
|
8476
|
+
warmUpRateOfChangeTemperature?: number | null;
|
|
8262
8477
|
/**
|
|
8263
8478
|
* The Minimum Temperature seen Below the Temperature Target for the Sample
|
|
8264
8479
|
*/
|
|
@@ -8289,7 +8504,7 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleResultController'
|
|
|
8289
8504
|
withinTargetAverageTemperature?: number | null;
|
|
8290
8505
|
};
|
|
8291
8506
|
/**
|
|
8292
|
-
* The Update Data for a Sample
|
|
8507
|
+
* The Update Data for a Sample Result
|
|
8293
8508
|
*/
|
|
8294
8509
|
export type UpdateData = {
|
|
8295
8510
|
/**
|
|
@@ -8325,17 +8540,21 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleResultController'
|
|
|
8325
8540
|
*/
|
|
8326
8541
|
withinTargetDuration?: number;
|
|
8327
8542
|
/**
|
|
8328
|
-
* Timestamp of when the
|
|
8543
|
+
* Timestamp of when the Finish Criteria was Met for the Sample - `null` if not Met
|
|
8329
8544
|
*/
|
|
8330
|
-
|
|
8545
|
+
finishCriteriaMetTimestamp?: Date | null;
|
|
8331
8546
|
/**
|
|
8332
|
-
* Timestamp of when the
|
|
8547
|
+
* Latest Possible Timestamp of when the Sample should have been Unloaded to remain Compliant
|
|
8333
8548
|
*/
|
|
8334
|
-
|
|
8549
|
+
latestUnloadTimestamp?: Date | null;
|
|
8335
8550
|
/**
|
|
8336
8551
|
* The Average Temperature for the Total Duration of the Sample
|
|
8337
8552
|
*/
|
|
8338
8553
|
totalAverageTemperature?: number | null;
|
|
8554
|
+
/**
|
|
8555
|
+
* The Average Temperature Rate-of-Change seen during the Warm Up process for the Sample
|
|
8556
|
+
*/
|
|
8557
|
+
warmUpRateOfChangeTemperature?: number | null;
|
|
8339
8558
|
/**
|
|
8340
8559
|
* The Minimum Temperature seen Below the Temperature Target for the Sample
|
|
8341
8560
|
*/
|
|
@@ -22151,28 +22370,35 @@ declare module '@ricado/api-client/Models/Lab/Site/FruitProfileModel' {
|
|
|
22151
22370
|
*/
|
|
22152
22371
|
nominalWarmUpDuration: number;
|
|
22153
22372
|
/**
|
|
22154
|
-
* The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures be
|
|
22373
|
+
* The Minimum Duration (in seconds) that a Sample should be within the Min and Max Target Temperatures to be Compliant
|
|
22155
22374
|
*
|
|
22156
22375
|
* @type {number}
|
|
22157
22376
|
* @public
|
|
22158
22377
|
*/
|
|
22159
22378
|
minimumWithinTargetDuration: number;
|
|
22160
22379
|
/**
|
|
22161
|
-
* The
|
|
22380
|
+
* The Minimum Duration (in seconds) that a Sample must be Dehydrated for to be Compliant
|
|
22381
|
+
*
|
|
22382
|
+
* @type {number}
|
|
22383
|
+
* @public
|
|
22384
|
+
*/
|
|
22385
|
+
minimumTotalDuration: number;
|
|
22386
|
+
/**
|
|
22387
|
+
* The Maximum Duration (in seconds) that a Sample can be Dehydrated for before it is Considered Non-Compliant
|
|
22162
22388
|
*
|
|
22163
22389
|
* @type {number}
|
|
22164
22390
|
* @public
|
|
22165
22391
|
*/
|
|
22166
22392
|
maximumTotalDuration: number;
|
|
22167
22393
|
/**
|
|
22168
|
-
* The Minimum Target Temperature for a Sample to be
|
|
22394
|
+
* The Minimum Target Temperature for a Sample to be Compliant
|
|
22169
22395
|
*
|
|
22170
22396
|
* @type {number}
|
|
22171
22397
|
* @public
|
|
22172
22398
|
*/
|
|
22173
22399
|
minimumTargetTemperature: number;
|
|
22174
22400
|
/**
|
|
22175
|
-
* The Maximum Target Temperature for a Sample to be
|
|
22401
|
+
* The Maximum Target Temperature for a Sample to be Compliant
|
|
22176
22402
|
*
|
|
22177
22403
|
* @type {number}
|
|
22178
22404
|
* @public
|
|
@@ -22320,6 +22546,123 @@ declare module '@ricado/api-client/Models/Lab/Site/LabModel' {
|
|
|
22320
22546
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
22321
22547
|
}
|
|
22322
22548
|
|
|
22549
|
+
declare module '@ricado/api-client/Models/Lab/Site/ProbeCalibrationModel' {
|
|
22550
|
+
export default ProbeCalibrationModel;
|
|
22551
|
+
/**
|
|
22552
|
+
* Model Class for a Probe Calibration
|
|
22553
|
+
*
|
|
22554
|
+
* @class
|
|
22555
|
+
* @hideconstructor
|
|
22556
|
+
* @extends BaseModel
|
|
22557
|
+
*/
|
|
22558
|
+
class ProbeCalibrationModel extends BaseModel {
|
|
22559
|
+
/**
|
|
22560
|
+
* Create a new **ProbeCalibrationModel** from a JSON Object or JSON String
|
|
22561
|
+
*
|
|
22562
|
+
* @static
|
|
22563
|
+
* @public
|
|
22564
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
22565
|
+
* @param {number} siteId The Site ID associated with this Probe Calibration
|
|
22566
|
+
* @return {ProbeCalibrationModel}
|
|
22567
|
+
*/
|
|
22568
|
+
static fromJSON(json: {
|
|
22569
|
+
[x: string]: any;
|
|
22570
|
+
} | string, siteId: number): ProbeCalibrationModel;
|
|
22571
|
+
/**
|
|
22572
|
+
* ProbeCalibrationModel Constructor
|
|
22573
|
+
*
|
|
22574
|
+
* @protected
|
|
22575
|
+
* @param {number} siteId The Site ID associated with this Probe Calibration
|
|
22576
|
+
*/
|
|
22577
|
+
protected constructor();
|
|
22578
|
+
/**
|
|
22579
|
+
* The Probe Calibration ID
|
|
22580
|
+
*
|
|
22581
|
+
* @type {string}
|
|
22582
|
+
* @public
|
|
22583
|
+
*/
|
|
22584
|
+
id: string;
|
|
22585
|
+
/**
|
|
22586
|
+
* The Rack Position ID this Probe Calibration is associated with
|
|
22587
|
+
*
|
|
22588
|
+
* @type {string}
|
|
22589
|
+
* @public
|
|
22590
|
+
*/
|
|
22591
|
+
rackPositionId: string;
|
|
22592
|
+
/**
|
|
22593
|
+
* When this Probe Calibration was Created
|
|
22594
|
+
*
|
|
22595
|
+
* @type {Date}
|
|
22596
|
+
* @public
|
|
22597
|
+
*/
|
|
22598
|
+
createdTimestamp: Date;
|
|
22599
|
+
/**
|
|
22600
|
+
* ID of the User who Completed this Probe Calibration
|
|
22601
|
+
*
|
|
22602
|
+
* @type {string}
|
|
22603
|
+
* @public
|
|
22604
|
+
*/
|
|
22605
|
+
userId: string;
|
|
22606
|
+
/**
|
|
22607
|
+
* Name of the User who Completed this Probe Calibration
|
|
22608
|
+
*
|
|
22609
|
+
* @type {string}
|
|
22610
|
+
* @public
|
|
22611
|
+
*/
|
|
22612
|
+
userName: string;
|
|
22613
|
+
/**
|
|
22614
|
+
* The Calibration Offset prior to this Probe Calibration being Created
|
|
22615
|
+
*
|
|
22616
|
+
* @type {number}
|
|
22617
|
+
* @public
|
|
22618
|
+
*/
|
|
22619
|
+
preCalibrationOffset: number;
|
|
22620
|
+
/**
|
|
22621
|
+
* The Calibration Offset after this Probe Calibration was Created
|
|
22622
|
+
*
|
|
22623
|
+
* @type {number}
|
|
22624
|
+
* @public
|
|
22625
|
+
*/
|
|
22626
|
+
postCalibrationOffset: number;
|
|
22627
|
+
/**
|
|
22628
|
+
* The Temperature Probe reading prior to this Probe Calibration being Created
|
|
22629
|
+
*
|
|
22630
|
+
* @type {number}
|
|
22631
|
+
* @public
|
|
22632
|
+
*/
|
|
22633
|
+
preCalibrationTemperature: number;
|
|
22634
|
+
/**
|
|
22635
|
+
* The Temperature Probe reading after this Probe Calibration was Created
|
|
22636
|
+
*
|
|
22637
|
+
* @type {number}
|
|
22638
|
+
* @public
|
|
22639
|
+
*/
|
|
22640
|
+
postCalibrationTemperature: number;
|
|
22641
|
+
/**
|
|
22642
|
+
* Whether the Probe Calibration has been deleted
|
|
22643
|
+
*
|
|
22644
|
+
* @type {boolean}
|
|
22645
|
+
* @public
|
|
22646
|
+
*/
|
|
22647
|
+
deleted: boolean;
|
|
22648
|
+
/**
|
|
22649
|
+
* When the Probe Calibration was last updated
|
|
22650
|
+
*
|
|
22651
|
+
* @type {Date}
|
|
22652
|
+
* @public
|
|
22653
|
+
*/
|
|
22654
|
+
updateTimestamp: Date;
|
|
22655
|
+
/**
|
|
22656
|
+
* The Site ID associated with this Probe Calibration
|
|
22657
|
+
*
|
|
22658
|
+
* @type {number}
|
|
22659
|
+
* @public
|
|
22660
|
+
*/
|
|
22661
|
+
siteId: number;
|
|
22662
|
+
}
|
|
22663
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
22664
|
+
}
|
|
22665
|
+
|
|
22323
22666
|
declare module '@ricado/api-client/Models/Lab/Site/RackModel' {
|
|
22324
22667
|
export default RackModel;
|
|
22325
22668
|
/**
|
|
@@ -22496,7 +22839,7 @@ declare module '@ricado/api-client/Models/Lab/Site/RackPositionModel' {
|
|
|
22496
22839
|
/**
|
|
22497
22840
|
* The Points used by this Rack Position
|
|
22498
22841
|
*
|
|
22499
|
-
* @type {{pushButton: number, indicatorLight: number, temperature: number, calibrationOffset: number, disabled: number, currentSampleId: number, currentSampleStatus: number, nextSampleId: number, startCurrentSampleRequest: number, finishCurrentSampleRequest: number, currentSampleTotalDuration: number, currentSampleWarmUpDuration: number, currentSampleWarmUpCompleted: number, currentSampleBelowTargetDuration: number, currentSampleAboveTargetDuration: number, currentSampleWithinTargetDuration: number,
|
|
22842
|
+
* @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}}
|
|
22500
22843
|
* @public
|
|
22501
22844
|
*/
|
|
22502
22845
|
points: {
|
|
@@ -22508,16 +22851,20 @@ declare module '@ricado/api-client/Models/Lab/Site/RackPositionModel' {
|
|
|
22508
22851
|
currentSampleId: number;
|
|
22509
22852
|
currentSampleStatus: number;
|
|
22510
22853
|
nextSampleId: number;
|
|
22854
|
+
loadCurrentSampleRequest: number;
|
|
22511
22855
|
startCurrentSampleRequest: number;
|
|
22512
22856
|
finishCurrentSampleRequest: number;
|
|
22857
|
+
unloadCurrentSampleRequest: number;
|
|
22513
22858
|
currentSampleTotalDuration: number;
|
|
22514
22859
|
currentSampleWarmUpDuration: number;
|
|
22860
|
+
currentSampleWarmUpRateOfChange: number;
|
|
22861
|
+
currentSampleWarmUpWarning: number;
|
|
22515
22862
|
currentSampleWarmUpCompleted: number;
|
|
22516
22863
|
currentSampleBelowTargetDuration: number;
|
|
22517
22864
|
currentSampleAboveTargetDuration: number;
|
|
22518
22865
|
currentSampleWithinTargetDuration: number;
|
|
22519
|
-
|
|
22520
|
-
|
|
22866
|
+
currentSampleFinishCriteriaMet: number;
|
|
22867
|
+
currentSampleLatestUnloadTimestamp: number;
|
|
22521
22868
|
};
|
|
22522
22869
|
/**
|
|
22523
22870
|
* The Lab that owns this Rack Position
|
|
@@ -22572,81 +22919,6 @@ declare module '@ricado/api-client/Models/Lab/Site/RackPositionModel' {
|
|
|
22572
22919
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
22573
22920
|
}
|
|
22574
22921
|
|
|
22575
|
-
declare module '@ricado/api-client/Models/Lab/Site/SampleFailureReasonModel' {
|
|
22576
|
-
export default SampleFailureReasonModel;
|
|
22577
|
-
/**
|
|
22578
|
-
* Model Class for a Sample Failure Reason
|
|
22579
|
-
*
|
|
22580
|
-
* @class
|
|
22581
|
-
* @hideconstructor
|
|
22582
|
-
* @extends BaseModel
|
|
22583
|
-
*/
|
|
22584
|
-
class SampleFailureReasonModel extends BaseModel {
|
|
22585
|
-
/**
|
|
22586
|
-
* Create a new **SampleFailureReasonModel** from a JSON Object or JSON String
|
|
22587
|
-
*
|
|
22588
|
-
* @static
|
|
22589
|
-
* @public
|
|
22590
|
-
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
22591
|
-
* @param {number} siteId The Site ID associated with this Sample Failure Reason
|
|
22592
|
-
* @return {SampleFailureReasonModel}
|
|
22593
|
-
*/
|
|
22594
|
-
static fromJSON(json: {
|
|
22595
|
-
[x: string]: any;
|
|
22596
|
-
} | string, siteId: number): SampleFailureReasonModel;
|
|
22597
|
-
/**
|
|
22598
|
-
* SampleFailureReasonModel Constructor
|
|
22599
|
-
*
|
|
22600
|
-
* @protected
|
|
22601
|
-
* @param {number} siteId The Site ID associated with this Sample Failure Reason
|
|
22602
|
-
*/
|
|
22603
|
-
protected constructor();
|
|
22604
|
-
/**
|
|
22605
|
-
* The Sample Failure Reason ID
|
|
22606
|
-
*
|
|
22607
|
-
* @type {string}
|
|
22608
|
-
* @public
|
|
22609
|
-
*/
|
|
22610
|
-
id: string;
|
|
22611
|
-
/**
|
|
22612
|
-
* The Sample Failure Reason Name
|
|
22613
|
-
*
|
|
22614
|
-
* @type {string}
|
|
22615
|
-
* @public
|
|
22616
|
-
*/
|
|
22617
|
-
name: string;
|
|
22618
|
-
/**
|
|
22619
|
-
* The Sample Failure Reason Description
|
|
22620
|
-
*
|
|
22621
|
-
* @type {string}
|
|
22622
|
-
* @public
|
|
22623
|
-
*/
|
|
22624
|
-
description: string;
|
|
22625
|
-
/**
|
|
22626
|
-
* Whether the Sample Failure Reason has been deleted
|
|
22627
|
-
*
|
|
22628
|
-
* @type {boolean}
|
|
22629
|
-
* @public
|
|
22630
|
-
*/
|
|
22631
|
-
deleted: boolean;
|
|
22632
|
-
/**
|
|
22633
|
-
* When the Sample Failure Reason was last updated
|
|
22634
|
-
*
|
|
22635
|
-
* @type {Date}
|
|
22636
|
-
* @public
|
|
22637
|
-
*/
|
|
22638
|
-
updateTimestamp: Date;
|
|
22639
|
-
/**
|
|
22640
|
-
* The Site ID associated with this Sample Failure Reason
|
|
22641
|
-
*
|
|
22642
|
-
* @type {number}
|
|
22643
|
-
* @public
|
|
22644
|
-
*/
|
|
22645
|
-
siteId: number;
|
|
22646
|
-
}
|
|
22647
|
-
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
22648
|
-
}
|
|
22649
|
-
|
|
22650
22922
|
declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
|
|
22651
22923
|
export default SampleModel;
|
|
22652
22924
|
/**
|
|
@@ -22712,26 +22984,26 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
|
|
|
22712
22984
|
*/
|
|
22713
22985
|
createdSource: string;
|
|
22714
22986
|
/**
|
|
22715
|
-
*
|
|
22987
|
+
* Name of the User who Created this Sample
|
|
22716
22988
|
*
|
|
22717
22989
|
* @type {?string}
|
|
22718
22990
|
* @public
|
|
22719
22991
|
*/
|
|
22720
|
-
|
|
22992
|
+
createdUserName: string | null;
|
|
22721
22993
|
/**
|
|
22722
|
-
*
|
|
22994
|
+
* Optional Scheduled Timestamp when this Sample should Begin
|
|
22723
22995
|
*
|
|
22724
|
-
* @type {?
|
|
22996
|
+
* @type {?Date}
|
|
22725
22997
|
* @public
|
|
22726
22998
|
*/
|
|
22727
|
-
|
|
22999
|
+
scheduledTimestamp: Date | null;
|
|
22728
23000
|
/**
|
|
22729
|
-
*
|
|
23001
|
+
* When this Sample was Loaded into the Dehydrator
|
|
22730
23002
|
*
|
|
22731
23003
|
* @type {?Date}
|
|
22732
23004
|
* @public
|
|
22733
23005
|
*/
|
|
22734
|
-
|
|
23006
|
+
loadedTimestamp: Date | null;
|
|
22735
23007
|
/**
|
|
22736
23008
|
* When this Sample was Started
|
|
22737
23009
|
*
|
|
@@ -22746,6 +23018,13 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
|
|
|
22746
23018
|
* @public
|
|
22747
23019
|
*/
|
|
22748
23020
|
finishTimestamp: Date | null;
|
|
23021
|
+
/**
|
|
23022
|
+
* When this Sample was Unloaded from the Dehydrator
|
|
23023
|
+
*
|
|
23024
|
+
* @type {?Date}
|
|
23025
|
+
* @public
|
|
23026
|
+
*/
|
|
23027
|
+
unloadedTimestamp: Date | null;
|
|
22749
23028
|
/**
|
|
22750
23029
|
* When this Sample was Published
|
|
22751
23030
|
*
|
|
@@ -22754,12 +23033,12 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
|
|
|
22754
23033
|
*/
|
|
22755
23034
|
publishTimestamp: Date | null;
|
|
22756
23035
|
/**
|
|
22757
|
-
*
|
|
23036
|
+
* The Source that Published this Sample
|
|
22758
23037
|
*
|
|
22759
23038
|
* @type {?string}
|
|
22760
23039
|
* @public
|
|
22761
23040
|
*/
|
|
22762
|
-
|
|
23041
|
+
publishSource: string | null;
|
|
22763
23042
|
/**
|
|
22764
23043
|
* Name of the User who Published this Sample
|
|
22765
23044
|
*
|
|
@@ -22788,20 +23067,6 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
|
|
|
22788
23067
|
* @public
|
|
22789
23068
|
*/
|
|
22790
23069
|
dehydratorId: string;
|
|
22791
|
-
/**
|
|
22792
|
-
* The Outcome of this Sample
|
|
22793
|
-
*
|
|
22794
|
-
* @type {?string}
|
|
22795
|
-
* @public
|
|
22796
|
-
*/
|
|
22797
|
-
outcome: string | null;
|
|
22798
|
-
/**
|
|
22799
|
-
* A Sample Failure Reason ID if this Sample Failed
|
|
22800
|
-
*
|
|
22801
|
-
* @type {?string}
|
|
22802
|
-
* @public
|
|
22803
|
-
*/
|
|
22804
|
-
failureReasonId: string | null;
|
|
22805
23070
|
/**
|
|
22806
23071
|
* The Sample Result ID asociated with this Sample
|
|
22807
23072
|
*
|
|
@@ -22844,7 +23109,7 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
|
|
|
22844
23109
|
declare module '@ricado/api-client/Models/Lab/Site/SampleResultModel' {
|
|
22845
23110
|
export default SampleResultModel;
|
|
22846
23111
|
/**
|
|
22847
|
-
* Model Class for a Sample
|
|
23112
|
+
* Model Class for a Sample Result
|
|
22848
23113
|
*
|
|
22849
23114
|
* @class
|
|
22850
23115
|
* @hideconstructor
|
|
@@ -22857,7 +23122,7 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleResultModel' {
|
|
|
22857
23122
|
* @static
|
|
22858
23123
|
* @public
|
|
22859
23124
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
22860
|
-
* @param {number} siteId The Site ID associated with this Sample
|
|
23125
|
+
* @param {number} siteId The Site ID associated with this Sample Result
|
|
22861
23126
|
* @return {SampleResultModel}
|
|
22862
23127
|
*/
|
|
22863
23128
|
static fromJSON(json: {
|
|
@@ -22867,11 +23132,11 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleResultModel' {
|
|
|
22867
23132
|
* SampleResultModel Constructor
|
|
22868
23133
|
*
|
|
22869
23134
|
* @protected
|
|
22870
|
-
* @param {number} siteId The Site ID associated with this Sample
|
|
23135
|
+
* @param {number} siteId The Site ID associated with this Sample Result
|
|
22871
23136
|
*/
|
|
22872
23137
|
protected constructor();
|
|
22873
23138
|
/**
|
|
22874
|
-
* The Sample
|
|
23139
|
+
* The Sample Result ID
|
|
22875
23140
|
*
|
|
22876
23141
|
* @type {string}
|
|
22877
23142
|
* @public
|
|
@@ -22941,19 +23206,19 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleResultModel' {
|
|
|
22941
23206
|
*/
|
|
22942
23207
|
withinTargetDuration: number;
|
|
22943
23208
|
/**
|
|
22944
|
-
* Timestamp of when the
|
|
23209
|
+
* Timestamp of when the Finish Criteria was Met for the Sample - `null` if not Met
|
|
22945
23210
|
*
|
|
22946
23211
|
* @type {?Date}
|
|
22947
23212
|
* @public
|
|
22948
23213
|
*/
|
|
22949
|
-
|
|
23214
|
+
finishCriteriaMetTimestamp: Date | null;
|
|
22950
23215
|
/**
|
|
22951
|
-
* Timestamp of when the
|
|
23216
|
+
* Latest Possible Timestamp of when the Sample should have been Unloaded to remain Compliant
|
|
22952
23217
|
*
|
|
22953
23218
|
* @type {?Date}
|
|
22954
23219
|
* @public
|
|
22955
23220
|
*/
|
|
22956
|
-
|
|
23221
|
+
latestUnloadTimestamp: Date | null;
|
|
22957
23222
|
/**
|
|
22958
23223
|
* The Average Temperature for the Total Duration of the Sample
|
|
22959
23224
|
*
|
|
@@ -22961,6 +23226,13 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleResultModel' {
|
|
|
22961
23226
|
* @public
|
|
22962
23227
|
*/
|
|
22963
23228
|
totalAverageTemperature: number | null;
|
|
23229
|
+
/**
|
|
23230
|
+
* The Average Temperature Rate-of-Change seen during the Warm Up process for the Sample
|
|
23231
|
+
*
|
|
23232
|
+
* @type {?number}
|
|
23233
|
+
* @public
|
|
23234
|
+
*/
|
|
23235
|
+
warmUpRateOfChangeTemperature: number | null;
|
|
22964
23236
|
/**
|
|
22965
23237
|
* The Minimum Temperature seen Below the Temperature Target for the Sample
|
|
22966
23238
|
*
|
|
@@ -23011,21 +23283,21 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleResultModel' {
|
|
|
23011
23283
|
*/
|
|
23012
23284
|
withinTargetAverageTemperature: number | null;
|
|
23013
23285
|
/**
|
|
23014
|
-
* Whether the Sample
|
|
23286
|
+
* Whether the Sample Result has been deleted
|
|
23015
23287
|
*
|
|
23016
23288
|
* @type {boolean}
|
|
23017
23289
|
* @public
|
|
23018
23290
|
*/
|
|
23019
23291
|
deleted: boolean;
|
|
23020
23292
|
/**
|
|
23021
|
-
* When the Sample
|
|
23293
|
+
* When the Sample Result was last updated
|
|
23022
23294
|
*
|
|
23023
23295
|
* @type {Date}
|
|
23024
23296
|
* @public
|
|
23025
23297
|
*/
|
|
23026
23298
|
updateTimestamp: Date;
|
|
23027
23299
|
/**
|
|
23028
|
-
* The Site ID associated with this Sample
|
|
23300
|
+
* The Site ID associated with this Sample Result
|
|
23029
23301
|
*
|
|
23030
23302
|
* @type {number}
|
|
23031
23303
|
* @public
|