@ricado/api-client 2.3.25 → 2.3.27
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/Packhouse/ProductionDataExportController.js +78 -0
- package/lib/Controllers/Packhouse/Site/PackingLineController.js +1 -1
- package/lib/Controllers/Packhouse/Site/PrePackSampleController.js +23 -23
- package/lib/Models/Packhouse/Site/PackingLineModel.js +14 -1
- package/lib/Models/Packhouse/Site/PrePackSampleModel.js +7 -7
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +57 -31
- package/package.json +1 -1
- package/src/Controllers/Packhouse/ProductionDataExportController.js +102 -0
- package/src/Controllers/Packhouse/Site/PackingLineController.js +1 -1
- package/src/Controllers/Packhouse/Site/PrePackSampleController.js +23 -23
- package/src/Models/Packhouse/Site/PackingLineModel.js +19 -1
- package/src/Models/Packhouse/Site/PrePackSampleModel.js +7 -7
- package/src/PackageVersion.js +1 -1
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
import BaseModel from '../../../Models/BaseModel';
|
|
8
8
|
|
|
9
9
|
/**
|
|
10
|
-
* Model Class for a
|
|
10
|
+
* Model Class for a PrePack Sample
|
|
11
11
|
*
|
|
12
12
|
* @class
|
|
13
13
|
* @hideconstructor
|
|
@@ -19,14 +19,14 @@ class PrePackSampleModel extends BaseModel
|
|
|
19
19
|
* PrePackSampleModel Constructor
|
|
20
20
|
*
|
|
21
21
|
* @protected
|
|
22
|
-
* @param {number} siteId The Site ID associated with this
|
|
22
|
+
* @param {number} siteId The Site ID associated with this PrePack Sample
|
|
23
23
|
*/
|
|
24
24
|
constructor(siteId)
|
|
25
25
|
{
|
|
26
26
|
super();
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* The
|
|
29
|
+
* The PrePack Sample ID
|
|
30
30
|
*
|
|
31
31
|
* @type {string}
|
|
32
32
|
* @public
|
|
@@ -90,7 +90,7 @@ class PrePackSampleModel extends BaseModel
|
|
|
90
90
|
this.totalFruitSampled = 0;
|
|
91
91
|
|
|
92
92
|
/**
|
|
93
|
-
* Whether the
|
|
93
|
+
* Whether the PrePack Sample has been deleted
|
|
94
94
|
*
|
|
95
95
|
* @type {boolean}
|
|
96
96
|
* @public
|
|
@@ -98,7 +98,7 @@ class PrePackSampleModel extends BaseModel
|
|
|
98
98
|
this.deleted = false;
|
|
99
99
|
|
|
100
100
|
/**
|
|
101
|
-
* When the
|
|
101
|
+
* When the PrePack Sample was last updated
|
|
102
102
|
*
|
|
103
103
|
* @type {Date}
|
|
104
104
|
* @public
|
|
@@ -106,7 +106,7 @@ class PrePackSampleModel extends BaseModel
|
|
|
106
106
|
this.updateTimestamp = new Date();
|
|
107
107
|
|
|
108
108
|
/**
|
|
109
|
-
* The Site ID associated with this
|
|
109
|
+
* The Site ID associated with this PrePack Sample
|
|
110
110
|
*
|
|
111
111
|
* @type {number}
|
|
112
112
|
* @public
|
|
@@ -120,7 +120,7 @@ class PrePackSampleModel extends BaseModel
|
|
|
120
120
|
* @static
|
|
121
121
|
* @public
|
|
122
122
|
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
123
|
-
* @param {number} siteId The Site ID associated with this
|
|
123
|
+
* @param {number} siteId The Site ID associated with this PrePack Sample
|
|
124
124
|
* @return {PrePackSampleModel}
|
|
125
125
|
*/
|
|
126
126
|
static fromJSON(json, siteId)
|
package/src/PackageVersion.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
// Generated by genversion.
|
|
2
|
-
export const version = '2.3.
|
|
2
|
+
export const version = '2.3.27';
|