@ricado/api-client 2.4.0 → 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/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?: string;
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
  /**
@@ -7511,17 +7806,36 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
7511
7806
  */
7512
7807
  class SampleController {
7513
7808
  /**
7514
- * Retrieve Temperature Data [GET /lab/sites/{siteId}/samples/{id}]
7809
+ * Retrieve a Sample [GET /lab/sites/{siteId}/samples/{id}]
7515
7810
  *
7516
- * Retrieves Temperature Data for a Sample
7811
+ * @static
7812
+ * @public
7813
+ * @param {number} siteId The Site ID
7814
+ * @param {string} id The Sample ID
7815
+ * @return {Promise<SampleModel>}
7816
+ */
7817
+ static getOne(siteId: number, id: string): Promise<SampleModel>;
7818
+ /**
7819
+ * Update a Sample [PATCH /lab/sites/{siteId}/samples/{id}]
7517
7820
  *
7518
7821
  * @static
7519
7822
  * @public
7520
7823
  * @param {number} siteId The Site ID
7521
7824
  * @param {string} id The Sample ID
7522
- * @return {Promise<Array<SampleController.TemperatureDataItem>>}
7825
+ * @param {SampleController.UpdateData} updateData The Sample Update Data
7826
+ * @return {Promise<SampleModel>}
7523
7827
  */
7524
- static getTemperatureData(siteId: number, id: string): Promise<Array<SampleController.TemperatureDataItem>>;
7828
+ static update(siteId: number, id: string, updateData: SampleController.UpdateData): Promise<SampleModel>;
7829
+ /**
7830
+ * Delete a Sample [DELETE /lab/sites/{siteId}/samples/{id}]
7831
+ *
7832
+ * @static
7833
+ * @public
7834
+ * @param {number} siteId The Site ID
7835
+ * @param {string} id The Sample ID
7836
+ * @return {Promise<boolean>}
7837
+ */
7838
+ static delete(siteId: number, id: string): Promise<boolean>;
7525
7839
  /**
7526
7840
  * Retrieve Comments [GET /lab/sites/{siteId}/samples/{id}/comments]
7527
7841
  *
@@ -7599,6 +7913,18 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
7599
7913
  * @return {Promise<SampleResultModel>}
7600
7914
  */
7601
7915
  static getSampleResult(siteId: number, id: string): Promise<SampleResultModel>;
7916
+ /**
7917
+ * Retrieve Temperature Data [GET /lab/sites/{siteId}/samples/{id}/temperature-data]
7918
+ *
7919
+ * Retrieves Temperature Data for a Sample
7920
+ *
7921
+ * @static
7922
+ * @public
7923
+ * @param {number} siteId The Site ID
7924
+ * @param {string} id The Sample ID
7925
+ * @return {Promise<Array<SampleController.TemperatureDataItem>>}
7926
+ */
7927
+ static getTemperatureData(siteId: number, id: string): Promise<Array<SampleController.TemperatureDataItem>>;
7602
7928
  /**
7603
7929
  * List all Samples [GET /lab/sites/{siteId}/samples]
7604
7930
  *
@@ -7638,11 +7964,11 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
7638
7964
  */
7639
7965
  createdSource?: string;
7640
7966
  /**
7641
- * ID of the User who Created this Sample. Only applies if the `createdSource` is 'System'
7967
+ * ID of the User who Created this Sample. Only applies if the `createdSource` is 'User'
7642
7968
  */
7643
7969
  createdUserId?: string | null;
7644
7970
  /**
7645
- * Name of the User who Created this Sample. Only applies if the `createdSource` is 'System'
7971
+ * Name of the User who Created this Sample. Only applies if the `createdSource` is 'User'
7646
7972
  */
7647
7973
  createdUserName?: string | null;
7648
7974
  /**
@@ -7693,6 +8019,14 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
7693
8019
  * Filter by the Timestamp when Samples were Scheduled to Begin. Results Less than or Equal to Timestamp
7694
8020
  */
7695
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;
7696
8030
  /**
7697
8031
  * Filter by the Timestamp when Samples were Started. Results Greater than or Equal to Timestamp
7698
8032
  */
@@ -7709,6 +8043,14 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
7709
8043
  * Filter by the Timestamp when Samples were Finished. Results Less than or Equal to Timestamp
7710
8044
  */
7711
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;
7712
8054
  /**
7713
8055
  * Filter by the Timestamp when Samples were Published. Results Greater than or Equal to Timestamp
7714
8056
  */
@@ -7747,17 +8089,21 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
7747
8089
  */
7748
8090
  createdSource: string;
7749
8091
  /**
7750
- * ID of the User who Created this Sample. Only applies if the `createdSource` is 'System'
8092
+ * ID of the User who Created this Sample. Only applies if the `createdSource` is 'User'
7751
8093
  */
7752
8094
  createdUserId?: string | null;
7753
8095
  /**
7754
- * Name of the User who Created this Sample. Only applies if the `createdSource` is 'System'
8096
+ * Name of the User who Created this Sample. Only applies if the `createdSource` is 'User'
7755
8097
  */
7756
8098
  createdUserName?: string | null;
7757
8099
  /**
7758
8100
  * Optional Scheduled Timestamp when this Sample should Begin
7759
8101
  */
7760
8102
  scheduledTimestamp?: Date | null;
8103
+ /**
8104
+ * When this Sample was Loaded into the Dehydrator
8105
+ */
8106
+ loadedTimestamp?: Date | null;
7761
8107
  /**
7762
8108
  * When this Sample was Started
7763
8109
  */
@@ -7766,6 +8112,10 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
7766
8112
  * When this Sample was Finished
7767
8113
  */
7768
8114
  finishTimestamp?: Date | null;
8115
+ /**
8116
+ * When this Sample was Unloaded from the Dehydrator
8117
+ */
8118
+ unloadedTimestamp?: Date | null;
7769
8119
  /**
7770
8120
  * When this Sample was Published
7771
8121
  */
@@ -7804,17 +8154,85 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
7804
8154
  resultId?: string | null;
7805
8155
  };
7806
8156
  /**
7807
- * A **TemperatureDataItem** Type
8157
+ * The Update Data for a Sample
7808
8158
  */
7809
- export type TemperatureDataItem = {
8159
+ export type UpdateData = {
7810
8160
  /**
7811
- * The Timestamp for the Temperature Value
8161
+ * The Lab ID this Sample is associated with
7812
8162
  */
7813
- timestamp: Date;
8163
+ labId?: string;
7814
8164
  /**
7815
- * The Temperature Value
8165
+ * When this Sample was Created
7816
8166
  */
7817
- temperature: number;
8167
+ createdTimestamp?: Date;
8168
+ /**
8169
+ * The Source that Created this Sample
8170
+ */
8171
+ createdSource?: string;
8172
+ /**
8173
+ * ID of the User who Created this Sample. Only applies if the `createdSource` is 'User'
8174
+ */
8175
+ createdUserId?: string | null;
8176
+ /**
8177
+ * Name of the User who Created this Sample. Only applies if the `createdSource` is 'User'
8178
+ */
8179
+ createdUserName?: string | null;
8180
+ /**
8181
+ * Optional Scheduled Timestamp when this Sample should Begin
8182
+ */
8183
+ scheduledTimestamp?: Date | null;
8184
+ /**
8185
+ * When this Sample was Loaded into the Dehydrator
8186
+ */
8187
+ loadedTimestamp?: Date | null;
8188
+ /**
8189
+ * When this Sample was Started
8190
+ */
8191
+ startTimestamp?: Date | null;
8192
+ /**
8193
+ * When this Sample was Finished
8194
+ */
8195
+ finishTimestamp?: Date | null;
8196
+ /**
8197
+ * When this Sample was Unloaded from the Dehydrator
8198
+ */
8199
+ unloadedTimestamp?: Date | null;
8200
+ /**
8201
+ * When this Sample was Published
8202
+ */
8203
+ publishTimestamp?: Date | null;
8204
+ /**
8205
+ * ID of the User who Published this Sample
8206
+ */
8207
+ publishUserId?: string | null;
8208
+ /**
8209
+ * Name of the User who Published this Sample
8210
+ */
8211
+ publishUserName?: string | null;
8212
+ /**
8213
+ * The Fruit Profile for this Sample
8214
+ */
8215
+ fruitProfileId?: string;
8216
+ /**
8217
+ * The Rack Position used for this Sample
8218
+ */
8219
+ rackPositionId?: string;
8220
+ /**
8221
+ * The Dehydrator used for this Sample
8222
+ */
8223
+ dehydratorId?: string;
8224
+ /**
8225
+ * The Outcome of this Sample
8226
+ */
8227
+ outcome?: string | null;
8228
+ /**
8229
+ * A Sample Failure Reason ID if this Sample Failed
8230
+ */
8231
+ failureReasonId?: string | null;
8232
+ /**
8233
+ * The Sample Result ID asociated with this Sample
8234
+ */
8235
+ resultId?: string | null;
7818
8236
  };
7819
8237
  /**
7820
8238
  * A **UserAccount** Type
@@ -7855,9 +8273,22 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleController' {
7855
8273
  */
7856
8274
  updatedTimestamp: Date | null;
7857
8275
  };
8276
+ /**
8277
+ * A **TemperatureDataItem** Type
8278
+ */
8279
+ export type TemperatureDataItem = {
8280
+ /**
8281
+ * The Timestamp for the Temperature Value
8282
+ */
8283
+ timestamp: Date;
8284
+ /**
8285
+ * The Temperature Value
8286
+ */
8287
+ temperature: number;
8288
+ };
7858
8289
  }
7859
- import SampleResultModel from "@ricado/api-client/Models/Lab/Site/SampleResultModel";
7860
8290
  import SampleModel from "@ricado/api-client/Models/Lab/Site/SampleModel";
8291
+ import SampleResultModel from "@ricado/api-client/Models/Lab/Site/SampleResultModel";
7861
8292
  }
7862
8293
 
7863
8294
  declare module '@ricado/api-client/Controllers/Lab/Site/SampleFailureReasonController' {
@@ -7937,7 +8368,7 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleFailureReasonContr
7937
8368
  /**
7938
8369
  * The Sample Failure Reason Name
7939
8370
  */
7940
- name?: string;
8371
+ name: string;
7941
8372
  /**
7942
8373
  * The Sample Failure Reason Description
7943
8374
  */
@@ -7947,6 +8378,10 @@ declare module '@ricado/api-client/Controllers/Lab/Site/SampleFailureReasonContr
7947
8378
  * The Update Data for a Sample Failure Reason
7948
8379
  */
7949
8380
  export type UpdateData = {
8381
+ /**
8382
+ * The Sample Failure Reason Name
8383
+ */
8384
+ name?: string;
7950
8385
  /**
7951
8386
  * The Sample Failure Reason Description
7952
8387
  */
@@ -22216,6 +22651,123 @@ declare module '@ricado/api-client/Models/Lab/Site/LabModel' {
22216
22651
  import BaseModel from "@ricado/api-client/Models/BaseModel";
22217
22652
  }
22218
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
+
22219
22771
  declare module '@ricado/api-client/Models/Lab/Site/RackModel' {
22220
22772
  export default RackModel;
22221
22773
  /**
@@ -22608,14 +23160,14 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
22608
23160
  */
22609
23161
  createdSource: string;
22610
23162
  /**
22611
- * ID of the User who Created this Sample. Only applies if the `createdSource` is 'System'
23163
+ * ID of the User who Created this Sample. Only applies if the `createdSource` is 'User'
22612
23164
  *
22613
23165
  * @type {?string}
22614
23166
  * @public
22615
23167
  */
22616
23168
  createdUserId: string | null;
22617
23169
  /**
22618
- * Name of the User who Created this Sample. Only applies if the `createdSource` is 'System'
23170
+ * Name of the User who Created this Sample. Only applies if the `createdSource` is 'User'
22619
23171
  *
22620
23172
  * @type {?string}
22621
23173
  * @public
@@ -22628,6 +23180,13 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
22628
23180
  * @public
22629
23181
  */
22630
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;
22631
23190
  /**
22632
23191
  * When this Sample was Started
22633
23192
  *
@@ -22642,6 +23201,13 @@ declare module '@ricado/api-client/Models/Lab/Site/SampleModel' {
22642
23201
  * @public
22643
23202
  */
22644
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;
22645
23211
  /**
22646
23212
  * When this Sample was Published
22647
23213
  *