@ricado/api-client 2.3.8 → 2.3.9
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/Site/FreshPackPackrunSummaryController.js +2 -0
- package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +26 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +15 -0
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +2 -0
- package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +29 -0
- package/src/PackageVersion.js +1 -1
|
@@ -839,6 +839,7 @@ var _default = FreshPackPackrunSummaryController;
|
|
|
839
839
|
* @property {Date} [createdTimestamp] When this Summary was Created
|
|
840
840
|
* @property {?string} [timeBatchId] The Time Batch this Summary is associated with
|
|
841
841
|
* @property {Object[]} [traySummaries] An Array of Tray Summary Data Objects for all Sizes and Class Types
|
|
842
|
+
* @property {Object[]} [clearanceSummaries] An Array of Clearance Summary Data Objects for all Sizes
|
|
842
843
|
* @memberof Controllers.Packhouse.Site
|
|
843
844
|
*/
|
|
844
845
|
|
|
@@ -850,6 +851,7 @@ var _default = FreshPackPackrunSummaryController;
|
|
|
850
851
|
* @property {Date} [createdTimestamp] When this Summary was Created
|
|
851
852
|
* @property {?string} [timeBatchId] The Time Batch this Summary is associated with
|
|
852
853
|
* @property {Object[]} [traySummaries] An Array of Tray Summary Data Objects for all Sizes and Class Types
|
|
854
|
+
* @property {Object[]} [clearanceSummaries] An Array of Clearance Summary Data Objects for all Sizes
|
|
853
855
|
* @memberof Controllers.Packhouse.Site
|
|
854
856
|
*/
|
|
855
857
|
|
|
@@ -103,6 +103,14 @@ var FreshPackPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
103
103
|
*/
|
|
104
104
|
|
|
105
105
|
_this.traySummaries = [];
|
|
106
|
+
/**
|
|
107
|
+
* An Array of Clearance Summary Data Objects for all Sizes
|
|
108
|
+
*
|
|
109
|
+
* @type {Object[]}
|
|
110
|
+
* @public
|
|
111
|
+
*/
|
|
112
|
+
|
|
113
|
+
_this.clearanceSummaries = [];
|
|
106
114
|
/**
|
|
107
115
|
* Whether the FreshPack Packrun Summary has been deleted
|
|
108
116
|
*
|
|
@@ -230,6 +238,24 @@ var FreshPackPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
|
|
|
230
238
|
}();
|
|
231
239
|
}
|
|
232
240
|
|
|
241
|
+
if ('clearanceSummaries' in jsonObject) {
|
|
242
|
+
model.clearanceSummaries = function () {
|
|
243
|
+
if (Array.isArray(jsonObject['clearanceSummaries']) !== true) {
|
|
244
|
+
return [];
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
return jsonObject['clearanceSummaries'].map(function (clearanceSummariesItem) {
|
|
248
|
+
return function () {
|
|
249
|
+
if (_typeof(clearanceSummariesItem) !== 'object') {
|
|
250
|
+
return Object(clearanceSummariesItem);
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
return clearanceSummariesItem;
|
|
254
|
+
}();
|
|
255
|
+
});
|
|
256
|
+
}();
|
|
257
|
+
}
|
|
258
|
+
|
|
233
259
|
if ('deleted' in jsonObject) {
|
|
234
260
|
model.deleted = function () {
|
|
235
261
|
if (typeof jsonObject['deleted'] !== 'boolean') {
|
package/lib/PackageVersion.js
CHANGED
package/lib/index.d.ts
CHANGED
|
@@ -8104,6 +8104,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSu
|
|
|
8104
8104
|
* An Array of Tray Summary Data Objects for all Sizes and Class Types
|
|
8105
8105
|
*/
|
|
8106
8106
|
traySummaries?: any[];
|
|
8107
|
+
/**
|
|
8108
|
+
* An Array of Clearance Summary Data Objects for all Sizes
|
|
8109
|
+
*/
|
|
8110
|
+
clearanceSummaries?: any[];
|
|
8107
8111
|
};
|
|
8108
8112
|
/**
|
|
8109
8113
|
* The Update Data for a FreshPack Packrun Summary
|
|
@@ -8125,6 +8129,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSu
|
|
|
8125
8129
|
* An Array of Tray Summary Data Objects for all Sizes and Class Types
|
|
8126
8130
|
*/
|
|
8127
8131
|
traySummaries?: any[];
|
|
8132
|
+
/**
|
|
8133
|
+
* An Array of Clearance Summary Data Objects for all Sizes
|
|
8134
|
+
*/
|
|
8135
|
+
clearanceSummaries?: any[];
|
|
8128
8136
|
};
|
|
8129
8137
|
/**
|
|
8130
8138
|
* A **UserAccount** Type
|
|
@@ -14328,6 +14336,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummary
|
|
|
14328
14336
|
* @public
|
|
14329
14337
|
*/
|
|
14330
14338
|
traySummaries: any[];
|
|
14339
|
+
/**
|
|
14340
|
+
* An Array of Clearance Summary Data Objects for all Sizes
|
|
14341
|
+
*
|
|
14342
|
+
* @type {Object[]}
|
|
14343
|
+
* @public
|
|
14344
|
+
*/
|
|
14345
|
+
clearanceSummaries: any[];
|
|
14331
14346
|
/**
|
|
14332
14347
|
* Whether the FreshPack Packrun Summary has been deleted
|
|
14333
14348
|
*
|
package/package.json
CHANGED
|
@@ -972,6 +972,7 @@ export default FreshPackPackrunSummaryController;
|
|
|
972
972
|
* @property {Date} [createdTimestamp] When this Summary was Created
|
|
973
973
|
* @property {?string} [timeBatchId] The Time Batch this Summary is associated with
|
|
974
974
|
* @property {Object[]} [traySummaries] An Array of Tray Summary Data Objects for all Sizes and Class Types
|
|
975
|
+
* @property {Object[]} [clearanceSummaries] An Array of Clearance Summary Data Objects for all Sizes
|
|
975
976
|
* @memberof Controllers.Packhouse.Site
|
|
976
977
|
*/
|
|
977
978
|
|
|
@@ -983,6 +984,7 @@ export default FreshPackPackrunSummaryController;
|
|
|
983
984
|
* @property {Date} [createdTimestamp] When this Summary was Created
|
|
984
985
|
* @property {?string} [timeBatchId] The Time Batch this Summary is associated with
|
|
985
986
|
* @property {Object[]} [traySummaries] An Array of Tray Summary Data Objects for all Sizes and Class Types
|
|
987
|
+
* @property {Object[]} [clearanceSummaries] An Array of Clearance Summary Data Objects for all Sizes
|
|
986
988
|
* @memberof Controllers.Packhouse.Site
|
|
987
989
|
*/
|
|
988
990
|
|
|
@@ -73,6 +73,14 @@ class FreshPackPackrunSummaryModel extends BaseModel
|
|
|
73
73
|
*/
|
|
74
74
|
this.traySummaries = [];
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
* An Array of Clearance Summary Data Objects for all Sizes
|
|
78
|
+
*
|
|
79
|
+
* @type {Object[]}
|
|
80
|
+
* @public
|
|
81
|
+
*/
|
|
82
|
+
this.clearanceSummaries = [];
|
|
83
|
+
|
|
76
84
|
/**
|
|
77
85
|
* Whether the FreshPack Packrun Summary has been deleted
|
|
78
86
|
*
|
|
@@ -213,6 +221,27 @@ class FreshPackPackrunSummaryModel extends BaseModel
|
|
|
213
221
|
}());
|
|
214
222
|
}
|
|
215
223
|
|
|
224
|
+
if('clearanceSummaries' in jsonObject)
|
|
225
|
+
{
|
|
226
|
+
model.clearanceSummaries = (function(){
|
|
227
|
+
if(Array.isArray(jsonObject['clearanceSummaries']) !== true)
|
|
228
|
+
{
|
|
229
|
+
return [];
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
return jsonObject['clearanceSummaries'].map((clearanceSummariesItem) => {
|
|
233
|
+
return (function(){
|
|
234
|
+
if(typeof clearanceSummariesItem !== 'object')
|
|
235
|
+
{
|
|
236
|
+
return Object(clearanceSummariesItem);
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
return clearanceSummariesItem;
|
|
240
|
+
}());
|
|
241
|
+
});
|
|
242
|
+
}());
|
|
243
|
+
}
|
|
244
|
+
|
|
216
245
|
if('deleted' in jsonObject)
|
|
217
246
|
{
|
|
218
247
|
model.deleted = (function(){
|
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.9';
|