@ricado/api-client 2.4.1 → 2.4.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.
- package/dist/ricado.api.client.js +1 -1
- package/lib/Controllers/Lab/Site/FruitProfileController.js +2 -1
- package/lib/Controllers/Lab/Site/ProbeCalibrationController.js +921 -0
- package/lib/Controllers/Lab/Site/SampleController.js +14 -6
- package/lib/Controllers/Lab/Site/SampleFailureReasonController.js +2 -1
- package/lib/Controllers/Lab/Site/index.js +3 -0
- package/lib/Models/Lab/Site/ProbeCalibrationModel.js +303 -0
- package/lib/Models/Lab/Site/SampleModel.js +46 -2
- package/lib/Models/Lab/Site/index.js +3 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +472 -10
- package/package.json +1 -1
- package/src/Controllers/Lab/Site/FruitProfileController.js +2 -1
- package/src/Controllers/Lab/Site/ProbeCalibrationController.js +1052 -0
- package/src/Controllers/Lab/Site/SampleController.js +14 -6
- package/src/Controllers/Lab/Site/SampleFailureReasonController.js +2 -1
- package/src/Controllers/Lab/Site/index.js +2 -0
- package/src/Models/Lab/Site/ProbeCalibrationModel.js +290 -0
- package/src/Models/Lab/Site/SampleModel.js +52 -2
- package/src/Models/Lab/Site/index.js +2 -0
- package/src/PackageVersion.js +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3158,6 +3158,7 @@ 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 };
|
|
@@ -3167,6 +3168,7 @@ declare module '@ricado/api-client/Controllers/Lab/Site' {
|
|
|
3167
3168
|
import DehydratorController from "@ricado/api-client/Controllers/Lab/Site/DehydratorController";
|
|
3168
3169
|
import FruitProfileController from "@ricado/api-client/Controllers/Lab/Site/FruitProfileController";
|
|
3169
3170
|
import LabController from "@ricado/api-client/Controllers/Lab/Site/LabController";
|
|
3171
|
+
import ProbeCalibrationController from "@ricado/api-client/Controllers/Lab/Site/ProbeCalibrationController";
|
|
3170
3172
|
import RackController from "@ricado/api-client/Controllers/Lab/Site/RackController";
|
|
3171
3173
|
import RackPositionController from "@ricado/api-client/Controllers/Lab/Site/RackPositionController";
|
|
3172
3174
|
import SampleController from "@ricado/api-client/Controllers/Lab/Site/SampleController";
|
|
@@ -5996,6 +5998,7 @@ declare module '@ricado/api-client/Models/Lab/Site' {
|
|
|
5996
5998
|
export { DehydratorModel };
|
|
5997
5999
|
export { FruitProfileModel };
|
|
5998
6000
|
export { LabModel };
|
|
6001
|
+
export { ProbeCalibrationModel };
|
|
5999
6002
|
export { RackModel };
|
|
6000
6003
|
export { RackPositionModel };
|
|
6001
6004
|
export { SampleFailureReasonModel };
|
|
@@ -6005,6 +6008,7 @@ declare module '@ricado/api-client/Models/Lab/Site' {
|
|
|
6005
6008
|
import DehydratorModel from "@ricado/api-client/Models/Lab/Site/DehydratorModel";
|
|
6006
6009
|
import FruitProfileModel from "@ricado/api-client/Models/Lab/Site/FruitProfileModel";
|
|
6007
6010
|
import LabModel from "@ricado/api-client/Models/Lab/Site/LabModel";
|
|
6011
|
+
import ProbeCalibrationModel from "@ricado/api-client/Models/Lab/Site/ProbeCalibrationModel";
|
|
6008
6012
|
import RackModel from "@ricado/api-client/Models/Lab/Site/RackModel";
|
|
6009
6013
|
import RackPositionModel from "@ricado/api-client/Models/Lab/Site/RackPositionModel";
|
|
6010
6014
|
import SampleFailureReasonModel from "@ricado/api-client/Models/Lab/Site/SampleFailureReasonModel";
|
|
@@ -6897,7 +6901,7 @@ declare module '@ricado/api-client/Controllers/Lab/Site/FruitProfileController'
|
|
|
6897
6901
|
/**
|
|
6898
6902
|
* The Fruit Profile Name
|
|
6899
6903
|
*/
|
|
6900
|
-
name
|
|
6904
|
+
name: string;
|
|
6901
6905
|
/**
|
|
6902
6906
|
* The Fruit Profile Description
|
|
6903
6907
|
*/
|
|
@@ -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
|
*/
|
|
@@ -7134,6 +7142,293 @@ declare module '@ricado/api-client/Controllers/Lab/Site/LabController' {
|
|
|
7134
7142
|
import LabModel from "@ricado/api-client/Models/Lab/Site/LabModel";
|
|
7135
7143
|
}
|
|
7136
7144
|
|
|
7145
|
+
declare module '@ricado/api-client/Controllers/Lab/Site/ProbeCalibrationController' {
|
|
7146
|
+
export default ProbeCalibrationController;
|
|
7147
|
+
/**
|
|
7148
|
+
* Controller Class for Probe Calibrations
|
|
7149
|
+
*
|
|
7150
|
+
* @class
|
|
7151
|
+
*/
|
|
7152
|
+
class ProbeCalibrationController {
|
|
7153
|
+
/**
|
|
7154
|
+
* Retrieve a Probe Calibration [GET /lab/sites/{siteId}/probe-calibrations/{id}]
|
|
7155
|
+
*
|
|
7156
|
+
* @static
|
|
7157
|
+
* @public
|
|
7158
|
+
* @param {number} siteId The Site ID
|
|
7159
|
+
* @param {string} id The Probe Calibration ID
|
|
7160
|
+
* @return {Promise<ProbeCalibrationModel>}
|
|
7161
|
+
*/
|
|
7162
|
+
static getOne(siteId: number, id: string): Promise<ProbeCalibrationModel>;
|
|
7163
|
+
/**
|
|
7164
|
+
* Update a Probe Calibration [PATCH /lab/sites/{siteId}/probe-calibrations/{id}]
|
|
7165
|
+
*
|
|
7166
|
+
* @static
|
|
7167
|
+
* @public
|
|
7168
|
+
* @param {number} siteId The Site ID
|
|
7169
|
+
* @param {string} id The Probe Calibration ID
|
|
7170
|
+
* @param {ProbeCalibrationController.UpdateData} updateData The Probe Calibration Update Data
|
|
7171
|
+
* @return {Promise<ProbeCalibrationModel>}
|
|
7172
|
+
*/
|
|
7173
|
+
static update(siteId: number, id: string, updateData: ProbeCalibrationController.UpdateData): Promise<ProbeCalibrationModel>;
|
|
7174
|
+
/**
|
|
7175
|
+
* Delete a Probe Calibration [DELETE /lab/sites/{siteId}/probe-calibrations/{id}]
|
|
7176
|
+
*
|
|
7177
|
+
* @static
|
|
7178
|
+
* @public
|
|
7179
|
+
* @param {number} siteId The Site ID
|
|
7180
|
+
* @param {string} id The Probe Calibration ID
|
|
7181
|
+
* @return {Promise<boolean>}
|
|
7182
|
+
*/
|
|
7183
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
7184
|
+
/**
|
|
7185
|
+
* Retrieve Comments [GET /lab/sites/{siteId}/probe-calibrations/{id}/comments]
|
|
7186
|
+
*
|
|
7187
|
+
* Retrieves Comments for a Probe Calibration
|
|
7188
|
+
*
|
|
7189
|
+
* @static
|
|
7190
|
+
* @public
|
|
7191
|
+
* @param {number} siteId The Site ID
|
|
7192
|
+
* @param {string} id The Probe Calibration ID
|
|
7193
|
+
* @return {Promise<Array<ProbeCalibrationController.CommentItem>>}
|
|
7194
|
+
*/
|
|
7195
|
+
static getComments(siteId: number, id: string): Promise<Array<ProbeCalibrationController.CommentItem>>;
|
|
7196
|
+
/**
|
|
7197
|
+
* Create a Comment [POST /lab/sites/{siteId}/probe-calibrations/{id}/comments]
|
|
7198
|
+
*
|
|
7199
|
+
* Create a Comment for a Probe Calibration
|
|
7200
|
+
*
|
|
7201
|
+
* @static
|
|
7202
|
+
* @public
|
|
7203
|
+
* @param {number} siteId The Site ID
|
|
7204
|
+
* @param {string} id The Probe Calibration ID
|
|
7205
|
+
* @param {string} content The Content of the New Comment
|
|
7206
|
+
* @return {Promise<ProbeCalibrationController.CommentItem>}
|
|
7207
|
+
*/
|
|
7208
|
+
static createComment(siteId: number, id: string, content: string): Promise<ProbeCalibrationController.CommentItem>;
|
|
7209
|
+
/**
|
|
7210
|
+
* Retrieve a Comment [GET /lab/sites/{siteId}/probe-calibrations/{id}/comments/{commentId}]
|
|
7211
|
+
*
|
|
7212
|
+
* Retrieves Comments for a Probe Calibration
|
|
7213
|
+
*
|
|
7214
|
+
* @static
|
|
7215
|
+
* @public
|
|
7216
|
+
* @param {number} siteId The Site ID
|
|
7217
|
+
* @param {string} id The Probe Calibration ID
|
|
7218
|
+
* @param {string} commentId The Comment ID
|
|
7219
|
+
* @return {Promise<ProbeCalibrationController.CommentItem>}
|
|
7220
|
+
*/
|
|
7221
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<ProbeCalibrationController.CommentItem>;
|
|
7222
|
+
/**
|
|
7223
|
+
* Update a Comment [PATCH /lab/sites/{siteId}/probe-calibrations/{id}/comments/{commentId}]
|
|
7224
|
+
*
|
|
7225
|
+
* Update a Comment for a Probe Calibration
|
|
7226
|
+
*
|
|
7227
|
+
* @static
|
|
7228
|
+
* @public
|
|
7229
|
+
* @param {number} siteId The Site ID
|
|
7230
|
+
* @param {string} id The Probe Calibration ID
|
|
7231
|
+
* @param {string} commentId The Comment ID
|
|
7232
|
+
* @param {string} content The Updated Content for the Comment
|
|
7233
|
+
* @return {Promise<ProbeCalibrationController.CommentItem>}
|
|
7234
|
+
*/
|
|
7235
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<ProbeCalibrationController.CommentItem>;
|
|
7236
|
+
/**
|
|
7237
|
+
* Delete a Comment [DELETE /lab/sites/{siteId}/probe-calibrations/{id}/comments/{commentId}]
|
|
7238
|
+
*
|
|
7239
|
+
* Delete a Comment for a Probe Calibration
|
|
7240
|
+
*
|
|
7241
|
+
* @static
|
|
7242
|
+
* @public
|
|
7243
|
+
* @param {number} siteId The Site ID
|
|
7244
|
+
* @param {string} id The Probe Calibration ID
|
|
7245
|
+
* @param {string} commentId The Comment ID
|
|
7246
|
+
* @return {Promise<boolean>}
|
|
7247
|
+
*/
|
|
7248
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
7249
|
+
/**
|
|
7250
|
+
* List all Probe Calibrations [GET /lab/sites/{siteId}/probe-calibrations]
|
|
7251
|
+
*
|
|
7252
|
+
* @static
|
|
7253
|
+
* @public
|
|
7254
|
+
* @param {number} siteId The Site ID
|
|
7255
|
+
* @param {ProbeCalibrationController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
7256
|
+
* @return {Promise<ProbeCalibrationModel[]>}
|
|
7257
|
+
*/
|
|
7258
|
+
static getAll(siteId: number, queryParameters?: ProbeCalibrationController.GetAllQueryParameters | undefined): Promise<ProbeCalibrationModel[]>;
|
|
7259
|
+
/**
|
|
7260
|
+
* Create a Probe Calibration [POST /lab/sites/{siteId}/probe-calibrations]
|
|
7261
|
+
*
|
|
7262
|
+
* @static
|
|
7263
|
+
* @public
|
|
7264
|
+
* @param {number} siteId The Site ID
|
|
7265
|
+
* @param {ProbeCalibrationController.CreateData} createData The Probe Calibration Create Data
|
|
7266
|
+
* @return {Promise<ProbeCalibrationModel>}
|
|
7267
|
+
*/
|
|
7268
|
+
static create(siteId: number, createData: ProbeCalibrationController.CreateData): Promise<ProbeCalibrationModel>;
|
|
7269
|
+
/**
|
|
7270
|
+
* Retrieve the Latest Probe Calibrations [GET /lab/sites/{siteId}/probe-calibrations/latest]
|
|
7271
|
+
*
|
|
7272
|
+
* Retrieves the Latest Probe Calibrations for all Rack Positions
|
|
7273
|
+
*
|
|
7274
|
+
* @static
|
|
7275
|
+
* @public
|
|
7276
|
+
* @param {number} siteId The Site ID
|
|
7277
|
+
* @return {Promise<ProbeCalibrationModel[]>}
|
|
7278
|
+
*/
|
|
7279
|
+
static getLatestProbeCalibrations(siteId: number): Promise<ProbeCalibrationModel[]>;
|
|
7280
|
+
}
|
|
7281
|
+
namespace ProbeCalibrationController {
|
|
7282
|
+
/**
|
|
7283
|
+
* The Optional Query Parameters for the getAll Function
|
|
7284
|
+
*/
|
|
7285
|
+
export type GetAllQueryParameters = {
|
|
7286
|
+
/**
|
|
7287
|
+
* The Rack Position ID this Probe Calibration is associated with
|
|
7288
|
+
*/
|
|
7289
|
+
rackPositionId?: string;
|
|
7290
|
+
/**
|
|
7291
|
+
* ID of the User who Completed this Probe Calibration
|
|
7292
|
+
*/
|
|
7293
|
+
userId?: string;
|
|
7294
|
+
/**
|
|
7295
|
+
* Name of the User who Completed this Probe Calibration
|
|
7296
|
+
*/
|
|
7297
|
+
userName?: string;
|
|
7298
|
+
/**
|
|
7299
|
+
* Filter by the Timestamp when Probe Calibrations were Created. Results Greater than or Equal to Timestamp
|
|
7300
|
+
*/
|
|
7301
|
+
createdTimestampBegin?: Date;
|
|
7302
|
+
/**
|
|
7303
|
+
* Filter by the Timestamp when Probe Calibrations were Created. Results Less than or Equal to Timestamp
|
|
7304
|
+
*/
|
|
7305
|
+
createdTimestampEnd?: Date;
|
|
7306
|
+
/**
|
|
7307
|
+
* Filter by the Timestamp when Probe Calibrations were last Updated. Results Greater than or Equal to Timestamp
|
|
7308
|
+
*/
|
|
7309
|
+
updateTimestampBegin?: Date;
|
|
7310
|
+
/**
|
|
7311
|
+
* Filter by the Timestamp when Probe Calibrations were last Updated. Results Less than or Equal to Timestamp
|
|
7312
|
+
*/
|
|
7313
|
+
updateTimestampEnd?: Date;
|
|
7314
|
+
};
|
|
7315
|
+
/**
|
|
7316
|
+
* The Create Data for a Probe Calibration
|
|
7317
|
+
*/
|
|
7318
|
+
export type CreateData = {
|
|
7319
|
+
/**
|
|
7320
|
+
* The Rack Position ID this Probe Calibration is associated with
|
|
7321
|
+
*/
|
|
7322
|
+
rackPositionId: string;
|
|
7323
|
+
/**
|
|
7324
|
+
* When this Probe Calibration was Created
|
|
7325
|
+
*/
|
|
7326
|
+
createdTimestamp?: Date;
|
|
7327
|
+
/**
|
|
7328
|
+
* ID of the User who Completed this Probe Calibration
|
|
7329
|
+
*/
|
|
7330
|
+
userId: string;
|
|
7331
|
+
/**
|
|
7332
|
+
* Name of the User who Completed this Probe Calibration
|
|
7333
|
+
*/
|
|
7334
|
+
userName: string;
|
|
7335
|
+
/**
|
|
7336
|
+
* The Calibration Offset prior to this Probe Calibration being Created
|
|
7337
|
+
*/
|
|
7338
|
+
preCalibrationOffset: number;
|
|
7339
|
+
/**
|
|
7340
|
+
* The Calibration Offset after this Probe Calibration was Created
|
|
7341
|
+
*/
|
|
7342
|
+
postCalibrationOffset: number;
|
|
7343
|
+
/**
|
|
7344
|
+
* The Temperature Probe reading prior to this Probe Calibration being Created
|
|
7345
|
+
*/
|
|
7346
|
+
preCalibrationTemperature: number;
|
|
7347
|
+
/**
|
|
7348
|
+
* The Temperature Probe reading after this Probe Calibration was Created
|
|
7349
|
+
*/
|
|
7350
|
+
postCalibrationTemperature: number;
|
|
7351
|
+
};
|
|
7352
|
+
/**
|
|
7353
|
+
* The Update Data for a Probe Calibration
|
|
7354
|
+
*/
|
|
7355
|
+
export type UpdateData = {
|
|
7356
|
+
/**
|
|
7357
|
+
* The Rack Position ID this Probe Calibration is associated with
|
|
7358
|
+
*/
|
|
7359
|
+
rackPositionId?: string;
|
|
7360
|
+
/**
|
|
7361
|
+
* When this Probe Calibration was Created
|
|
7362
|
+
*/
|
|
7363
|
+
createdTimestamp?: Date;
|
|
7364
|
+
/**
|
|
7365
|
+
* ID of the User who Completed this Probe Calibration
|
|
7366
|
+
*/
|
|
7367
|
+
userId?: string;
|
|
7368
|
+
/**
|
|
7369
|
+
* Name of the User who Completed this Probe Calibration
|
|
7370
|
+
*/
|
|
7371
|
+
userName?: string;
|
|
7372
|
+
/**
|
|
7373
|
+
* The Calibration Offset prior to this Probe Calibration being Created
|
|
7374
|
+
*/
|
|
7375
|
+
preCalibrationOffset?: number;
|
|
7376
|
+
/**
|
|
7377
|
+
* The Calibration Offset after this Probe Calibration was Created
|
|
7378
|
+
*/
|
|
7379
|
+
postCalibrationOffset?: number;
|
|
7380
|
+
/**
|
|
7381
|
+
* The Temperature Probe reading prior to this Probe Calibration being Created
|
|
7382
|
+
*/
|
|
7383
|
+
preCalibrationTemperature?: number;
|
|
7384
|
+
/**
|
|
7385
|
+
* The Temperature Probe reading after this Probe Calibration was Created
|
|
7386
|
+
*/
|
|
7387
|
+
postCalibrationTemperature?: number;
|
|
7388
|
+
};
|
|
7389
|
+
/**
|
|
7390
|
+
* A **UserAccount** Type
|
|
7391
|
+
*/
|
|
7392
|
+
export type UserAccount = {
|
|
7393
|
+
/**
|
|
7394
|
+
* The User Account ID
|
|
7395
|
+
*/
|
|
7396
|
+
id: string | null;
|
|
7397
|
+
/**
|
|
7398
|
+
* The User's First Name
|
|
7399
|
+
*/
|
|
7400
|
+
firstName: string | null;
|
|
7401
|
+
/**
|
|
7402
|
+
* The User's Last Name
|
|
7403
|
+
*/
|
|
7404
|
+
lastName: string | null;
|
|
7405
|
+
};
|
|
7406
|
+
/**
|
|
7407
|
+
* A **CommentItem** Type
|
|
7408
|
+
*/
|
|
7409
|
+
export type CommentItem = {
|
|
7410
|
+
/**
|
|
7411
|
+
* The Comment ID
|
|
7412
|
+
*/
|
|
7413
|
+
id: string;
|
|
7414
|
+
userAccount: UserAccount;
|
|
7415
|
+
/**
|
|
7416
|
+
* The Content of the Comment
|
|
7417
|
+
*/
|
|
7418
|
+
content: string | null;
|
|
7419
|
+
/**
|
|
7420
|
+
* When the Comment was Created
|
|
7421
|
+
*/
|
|
7422
|
+
createdTimestamp: Date | null;
|
|
7423
|
+
/**
|
|
7424
|
+
* When the Comment was last Updated
|
|
7425
|
+
*/
|
|
7426
|
+
updatedTimestamp: Date | null;
|
|
7427
|
+
};
|
|
7428
|
+
}
|
|
7429
|
+
import ProbeCalibrationModel from "@ricado/api-client/Models/Lab/Site/ProbeCalibrationModel";
|
|
7430
|
+
}
|
|
7431
|
+
|
|
7137
7432
|
declare module '@ricado/api-client/Controllers/Lab/Site/RackController' {
|
|
7138
7433
|
export default RackController;
|
|
7139
7434
|
/**
|
|
@@ -7669,11 +7964,11 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7669
7964
|
*/
|
|
7670
7965
|
createdSource?: string;
|
|
7671
7966
|
/**
|
|
7672
|
-
* ID of the User who Created this Sample. Only applies if the `createdSource` is '
|
|
7967
|
+
* ID of the User who Created this Sample. Only applies if the `createdSource` is 'User'
|
|
7673
7968
|
*/
|
|
7674
7969
|
createdUserId?: string | null;
|
|
7675
7970
|
/**
|
|
7676
|
-
* Name of the User who Created this Sample. Only applies if the `createdSource` is '
|
|
7971
|
+
* Name of the User who Created this Sample. Only applies if the `createdSource` is 'User'
|
|
7677
7972
|
*/
|
|
7678
7973
|
createdUserName?: string | null;
|
|
7679
7974
|
/**
|
|
@@ -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
|
*/
|
|
@@ -7778,17 +8089,21 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7778
8089
|
*/
|
|
7779
8090
|
createdSource: string;
|
|
7780
8091
|
/**
|
|
7781
|
-
* ID of the User who Created this Sample. Only applies if the `createdSource` is '
|
|
8092
|
+
* ID of the User who Created this Sample. Only applies if the `createdSource` is 'User'
|
|
7782
8093
|
*/
|
|
7783
8094
|
createdUserId?: string | null;
|
|
7784
8095
|
/**
|
|
7785
|
-
* Name of the User who Created this Sample. Only applies if the `createdSource` is '
|
|
8096
|
+
* Name of the User who Created this Sample. Only applies if the `createdSource` is 'User'
|
|
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,6 +8112,10 @@ 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
|
*/
|
|
@@ -7851,17 +8170,21 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7851
8170
|
*/
|
|
7852
8171
|
createdSource?: string;
|
|
7853
8172
|
/**
|
|
7854
|
-
* ID of the User who Created this Sample. Only applies if the `createdSource` is '
|
|
8173
|
+
* ID of the User who Created this Sample. Only applies if the `createdSource` is 'User'
|
|
7855
8174
|
*/
|
|
7856
8175
|
createdUserId?: string | null;
|
|
7857
8176
|
/**
|
|
7858
|
-
* Name of the User who Created this Sample. Only applies if the `createdSource` is '
|
|
8177
|
+
* Name of the User who Created this Sample. Only applies if the `createdSource` is 'User'
|
|
7859
8178
|
*/
|
|
7860
8179
|
createdUserName?: string | null;
|
|
7861
8180
|
/**
|
|
7862
8181
|
* Optional Scheduled Timestamp when this Sample should Begin
|
|
7863
8182
|
*/
|
|
7864
8183
|
scheduledTimestamp?: Date | null;
|
|
8184
|
+
/**
|
|
8185
|
+
* When this Sample was Loaded into the Dehydrator
|
|
8186
|
+
*/
|
|
8187
|
+
loadedTimestamp?: Date | null;
|
|
7865
8188
|
/**
|
|
7866
8189
|
* When this Sample was Started
|
|
7867
8190
|
*/
|
|
@@ -7870,6 +8193,10 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
|
|
|
7870
8193
|
* When this Sample was Finished
|
|
7871
8194
|
*/
|
|
7872
8195
|
finishTimestamp?: Date | null;
|
|
8196
|
+
/**
|
|
8197
|
+
* When this Sample was Unloaded from the Dehydrator
|
|
8198
|
+
*/
|
|
8199
|
+
unloadedTimestamp?: Date | null;
|
|
7873
8200
|
/**
|
|
7874
8201
|
* When this Sample was Published
|
|
7875
8202
|
*/
|
|
@@ -8041,7 +8368,7 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleFailureReasonContr
|
|
|
8041
8368
|
/**
|
|
8042
8369
|
* The Sample Failure Reason Name
|
|
8043
8370
|
*/
|
|
8044
|
-
name
|
|
8371
|
+
name: string;
|
|
8045
8372
|
/**
|
|
8046
8373
|
* The Sample Failure Reason Description
|
|
8047
8374
|
*/
|
|
@@ -8051,6 +8378,10 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleFailureReasonContr
|
|
|
8051
8378
|
* The Update Data for a Sample Failure Reason
|
|
8052
8379
|
*/
|
|
8053
8380
|
export type UpdateData = {
|
|
8381
|
+
/**
|
|
8382
|
+
* The Sample Failure Reason Name
|
|
8383
|
+
*/
|
|
8384
|
+
name?: string;
|
|
8054
8385
|
/**
|
|
8055
8386
|
* The Sample Failure Reason Description
|
|
8056
8387
|
*/
|
|
@@ -22320,6 +22651,123 @@ declare module '@ricado/api-client/Models/Lab/Site/LabModel' {
|
|
|
22320
22651
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
22321
22652
|
}
|
|
22322
22653
|
|
|
22654
|
+
declare module '@ricado/api-client/Models/Lab/Site/ProbeCalibrationModel' {
|
|
22655
|
+
export default ProbeCalibrationModel;
|
|
22656
|
+
/**
|
|
22657
|
+
* Model Class for a Probe Calibration
|
|
22658
|
+
*
|
|
22659
|
+
* @class
|
|
22660
|
+
* @hideconstructor
|
|
22661
|
+
* @extends BaseModel
|
|
22662
|
+
*/
|
|
22663
|
+
class ProbeCalibrationModel extends BaseModel {
|
|
22664
|
+
/**
|
|
22665
|
+
* Create a new **ProbeCalibrationModel** from a JSON Object or JSON String
|
|
22666
|
+
*
|
|
22667
|
+
* @static
|
|
22668
|
+
* @public
|
|
22669
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
22670
|
+
* @param {number} siteId The Site ID associated with this Probe Calibration
|
|
22671
|
+
* @return {ProbeCalibrationModel}
|
|
22672
|
+
*/
|
|
22673
|
+
static fromJSON(json: {
|
|
22674
|
+
[x: string]: any;
|
|
22675
|
+
} | string, siteId: number): ProbeCalibrationModel;
|
|
22676
|
+
/**
|
|
22677
|
+
* ProbeCalibrationModel Constructor
|
|
22678
|
+
*
|
|
22679
|
+
* @protected
|
|
22680
|
+
* @param {number} siteId The Site ID associated with this Probe Calibration
|
|
22681
|
+
*/
|
|
22682
|
+
protected constructor();
|
|
22683
|
+
/**
|
|
22684
|
+
* The Probe Calibration ID
|
|
22685
|
+
*
|
|
22686
|
+
* @type {string}
|
|
22687
|
+
* @public
|
|
22688
|
+
*/
|
|
22689
|
+
id: string;
|
|
22690
|
+
/**
|
|
22691
|
+
* The Rack Position ID this Probe Calibration is associated with
|
|
22692
|
+
*
|
|
22693
|
+
* @type {string}
|
|
22694
|
+
* @public
|
|
22695
|
+
*/
|
|
22696
|
+
rackPositionId: string;
|
|
22697
|
+
/**
|
|
22698
|
+
* When this Probe Calibration was Created
|
|
22699
|
+
*
|
|
22700
|
+
* @type {Date}
|
|
22701
|
+
* @public
|
|
22702
|
+
*/
|
|
22703
|
+
createdTimestamp: Date;
|
|
22704
|
+
/**
|
|
22705
|
+
* ID of the User who Completed this Probe Calibration
|
|
22706
|
+
*
|
|
22707
|
+
* @type {string}
|
|
22708
|
+
* @public
|
|
22709
|
+
*/
|
|
22710
|
+
userId: string;
|
|
22711
|
+
/**
|
|
22712
|
+
* Name of the User who Completed this Probe Calibration
|
|
22713
|
+
*
|
|
22714
|
+
* @type {string}
|
|
22715
|
+
* @public
|
|
22716
|
+
*/
|
|
22717
|
+
userName: string;
|
|
22718
|
+
/**
|
|
22719
|
+
* The Calibration Offset prior to this Probe Calibration being Created
|
|
22720
|
+
*
|
|
22721
|
+
* @type {number}
|
|
22722
|
+
* @public
|
|
22723
|
+
*/
|
|
22724
|
+
preCalibrationOffset: number;
|
|
22725
|
+
/**
|
|
22726
|
+
* The Calibration Offset after this Probe Calibration was Created
|
|
22727
|
+
*
|
|
22728
|
+
* @type {number}
|
|
22729
|
+
* @public
|
|
22730
|
+
*/
|
|
22731
|
+
postCalibrationOffset: number;
|
|
22732
|
+
/**
|
|
22733
|
+
* The Temperature Probe reading prior to this Probe Calibration being Created
|
|
22734
|
+
*
|
|
22735
|
+
* @type {number}
|
|
22736
|
+
* @public
|
|
22737
|
+
*/
|
|
22738
|
+
preCalibrationTemperature: number;
|
|
22739
|
+
/**
|
|
22740
|
+
* The Temperature Probe reading after this Probe Calibration was Created
|
|
22741
|
+
*
|
|
22742
|
+
* @type {number}
|
|
22743
|
+
* @public
|
|
22744
|
+
*/
|
|
22745
|
+
postCalibrationTemperature: number;
|
|
22746
|
+
/**
|
|
22747
|
+
* Whether the Probe Calibration has been deleted
|
|
22748
|
+
*
|
|
22749
|
+
* @type {boolean}
|
|
22750
|
+
* @public
|
|
22751
|
+
*/
|
|
22752
|
+
deleted: boolean;
|
|
22753
|
+
/**
|
|
22754
|
+
* When the Probe Calibration was last updated
|
|
22755
|
+
*
|
|
22756
|
+
* @type {Date}
|
|
22757
|
+
* @public
|
|
22758
|
+
*/
|
|
22759
|
+
updateTimestamp: Date;
|
|
22760
|
+
/**
|
|
22761
|
+
* The Site ID associated with this Probe Calibration
|
|
22762
|
+
*
|
|
22763
|
+
* @type {number}
|
|
22764
|
+
* @public
|
|
22765
|
+
*/
|
|
22766
|
+
siteId: number;
|
|
22767
|
+
}
|
|
22768
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
22769
|
+
}
|
|
22770
|
+
|
|
22323
22771
|
declare module '@ricado/api-client/Models/Lab/Site/RackModel' {
|
|
22324
22772
|
export default RackModel;
|
|
22325
22773
|
/**
|
|
@@ -22712,14 +23160,14 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
|
|
|
22712
23160
|
*/
|
|
22713
23161
|
createdSource: string;
|
|
22714
23162
|
/**
|
|
22715
|
-
* ID of the User who Created this Sample. Only applies if the `createdSource` is '
|
|
23163
|
+
* ID of the User who Created this Sample. Only applies if the `createdSource` is 'User'
|
|
22716
23164
|
*
|
|
22717
23165
|
* @type {?string}
|
|
22718
23166
|
* @public
|
|
22719
23167
|
*/
|
|
22720
23168
|
createdUserId: string | null;
|
|
22721
23169
|
/**
|
|
22722
|
-
* Name of the User who Created this Sample. Only applies if the `createdSource` is '
|
|
23170
|
+
* Name of the User who Created this Sample. Only applies if the `createdSource` is 'User'
|
|
22723
23171
|
*
|
|
22724
23172
|
* @type {?string}
|
|
22725
23173
|
* @public
|
|
@@ -22732,6 +23180,13 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
|
|
|
22732
23180
|
* @public
|
|
22733
23181
|
*/
|
|
22734
23182
|
scheduledTimestamp: Date | null;
|
|
23183
|
+
/**
|
|
23184
|
+
* When this Sample was Loaded into the Dehydrator
|
|
23185
|
+
*
|
|
23186
|
+
* @type {?Date}
|
|
23187
|
+
* @public
|
|
23188
|
+
*/
|
|
23189
|
+
loadedTimestamp: Date | null;
|
|
22735
23190
|
/**
|
|
22736
23191
|
* When this Sample was Started
|
|
22737
23192
|
*
|
|
@@ -22746,6 +23201,13 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
|
|
|
22746
23201
|
* @public
|
|
22747
23202
|
*/
|
|
22748
23203
|
finishTimestamp: Date | null;
|
|
23204
|
+
/**
|
|
23205
|
+
* When this Sample was Unloaded from the Dehydrator
|
|
23206
|
+
*
|
|
23207
|
+
* @type {?Date}
|
|
23208
|
+
* @public
|
|
23209
|
+
*/
|
|
23210
|
+
unloadedTimestamp: Date | null;
|
|
22749
23211
|
/**
|
|
22750
23212
|
* When this Sample was Published
|
|
22751
23213
|
*
|
package/package.json
CHANGED
|
@@ -155,7 +155,7 @@ export default FruitProfileController;
|
|
|
155
155
|
* The Create Data for a Fruit Profile
|
|
156
156
|
*
|
|
157
157
|
* @typedef {Object} FruitProfileController.CreateData
|
|
158
|
-
* @property {string}
|
|
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
|
|
@@ -170,6 +170,7 @@ export default FruitProfileController;
|
|
|
170
170
|
* The Update Data for a Fruit Profile
|
|
171
171
|
*
|
|
172
172
|
* @typedef {Object} FruitProfileController.UpdateData
|
|
173
|
+
* @property {string} [name] The Fruit Profile Name
|
|
173
174
|
* @property {string} [description] The Fruit Profile Description
|
|
174
175
|
* @property {string} [image] The Fruit Profile Image Source
|
|
175
176
|
* @property {number} [nominalWarmUpDuration] The Typical Warm Up Duration (in seconds) for a Sample to reach the Minimum Target Temperature
|