@ricado/api-client 2.1.1 → 2.3.1
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/BinTipBinController.js +622 -0
- package/lib/Controllers/Packhouse/Site/CompacSizerController.js +3 -3
- package/lib/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +657 -0
- package/lib/Controllers/Packhouse/Site/PackingLineController.js +29 -1
- package/lib/Controllers/Packhouse/Site/PackrunController.js +42 -0
- package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +15 -0
- package/lib/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +661 -0
- package/lib/Controllers/Packhouse/Site/ShiftTaskController.js +628 -0
- package/lib/Controllers/Packhouse/Site/index.js +12 -0
- package/lib/DataItems/PointValueItem.js +3 -3
- package/lib/Models/AccountPolicyModel.js +7 -7
- package/lib/Models/ApiAccountModel.js +7 -7
- package/lib/Models/CompanyModel.js +5 -5
- package/lib/Models/FirebaseTokenModel.js +8 -8
- package/lib/Models/Packhouse/Site/BinTipBinModel.js +367 -0
- package/lib/Models/Packhouse/Site/BinTipWeightModel.js +9 -9
- package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +8 -8
- package/lib/Models/Packhouse/Site/CompacSizerModel.js +15 -15
- package/lib/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +10 -10
- package/lib/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +8 -8
- package/lib/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +6 -6
- package/lib/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +12 -12
- package/lib/Models/Packhouse/Site/DowntimeEventModel.js +14 -14
- package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +8 -8
- package/lib/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +481 -0
- package/lib/Models/Packhouse/Site/GrowingMethodModel.js +6 -6
- package/lib/Models/Packhouse/Site/PackTypeModel.js +8 -8
- package/lib/Models/Packhouse/Site/PackingLineModel.js +583 -16
- package/lib/Models/Packhouse/Site/PackrunModel.js +81 -15
- package/lib/Models/Packhouse/Site/RejectBinModel.js +9 -9
- package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +23 -23
- package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +10 -10
- package/lib/Models/Packhouse/Site/ShiftFocusMeetingModel.js +12 -12
- package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +204 -38
- package/lib/Models/Packhouse/Site/ShiftModel.js +26 -19
- package/lib/Models/Packhouse/Site/ShiftQualitySummaryModel.js +599 -0
- package/lib/Models/Packhouse/Site/ShiftTaskModel.js +373 -0
- package/lib/Models/Packhouse/Site/SoftSortBeltModel.js +7 -7
- package/lib/Models/Packhouse/Site/VarietyModel.js +8 -8
- package/lib/Models/Packhouse/Site/index.js +12 -0
- package/lib/Models/RTUModel.js +6 -6
- package/lib/Models/RTUPluginModel.js +5 -5
- package/lib/Models/Site/AlarmGroupModel.js +7 -7
- package/lib/Models/Site/AlarmModel.js +17 -17
- package/lib/Models/Site/DefinitionModel.js +6 -6
- package/lib/Models/Site/PermanentObjectDataModel.js +8 -8
- package/lib/Models/Site/PermanentObjectModel.js +7 -7
- package/lib/Models/Site/PointModel.js +11 -11
- package/lib/Models/Site/TemporaryObjectModel.js +6 -6
- package/lib/Models/SiteModel.js +6 -6
- package/lib/Models/TokenModel.js +10 -10
- package/lib/Models/UserAccountActionTokenModel.js +11 -11
- package/lib/Models/UserAccountModel.js +10 -10
- package/lib/PackageVersion.js +1 -1
- package/lib/Points.js +22 -12
- package/lib/WebSocketHelper.js +29 -13
- package/lib/index.d.ts +2473 -348
- package/lib/index.js +3 -3
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/BinTipBinController.js +665 -0
- package/src/Controllers/Packhouse/Site/CompacSizerController.js +3 -3
- package/src/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController.js +700 -0
- package/src/Controllers/Packhouse/Site/PackingLineController.js +29 -1
- package/src/Controllers/Packhouse/Site/PackrunController.js +52 -0
- package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +15 -0
- package/src/Controllers/Packhouse/Site/ShiftQualitySummaryController.js +704 -0
- package/src/Controllers/Packhouse/Site/ShiftTaskController.js +671 -0
- package/src/Controllers/Packhouse/Site/index.js +8 -0
- package/src/DataItems/PointValueItem.js +3 -3
- package/src/Models/AccountPolicyModel.js +7 -7
- package/src/Models/ApiAccountModel.js +7 -7
- package/src/Models/CompanyModel.js +5 -5
- package/src/Models/FirebaseTokenModel.js +8 -8
- package/src/Models/Packhouse/Site/BinTipBinModel.js +365 -0
- package/src/Models/Packhouse/Site/BinTipWeightModel.js +9 -9
- package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +8 -8
- package/src/Models/Packhouse/Site/CompacSizerModel.js +15 -15
- package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +10 -10
- package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +8 -8
- package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +6 -6
- package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +12 -12
- package/src/Models/Packhouse/Site/DowntimeEventModel.js +14 -14
- package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +8 -8
- package/src/Models/Packhouse/Site/FreshQualityPackrunSummaryModel.js +523 -0
- package/src/Models/Packhouse/Site/GrowingMethodModel.js +6 -6
- package/src/Models/Packhouse/Site/PackTypeModel.js +8 -8
- package/src/Models/Packhouse/Site/PackingLineModel.js +770 -16
- package/src/Models/Packhouse/Site/PackrunModel.js +90 -15
- package/src/Models/Packhouse/Site/RejectBinModel.js +9 -9
- package/src/Models/Packhouse/Site/RejectBinScaleModel.js +23 -23
- package/src/Models/Packhouse/Site/RejectBinWeightModel.js +10 -10
- package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +12 -12
- package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +229 -38
- package/src/Models/Packhouse/Site/ShiftModel.js +29 -19
- package/src/Models/Packhouse/Site/ShiftQualitySummaryModel.js +664 -0
- package/src/Models/Packhouse/Site/ShiftTaskModel.js +369 -0
- package/src/Models/Packhouse/Site/SoftSortBeltModel.js +7 -7
- package/src/Models/Packhouse/Site/VarietyModel.js +8 -8
- package/src/Models/Packhouse/Site/index.js +8 -0
- package/src/Models/RTUModel.js +6 -6
- package/src/Models/RTUPluginModel.js +5 -5
- package/src/Models/Site/AlarmGroupModel.js +7 -7
- package/src/Models/Site/AlarmModel.js +17 -17
- package/src/Models/Site/DefinitionModel.js +6 -6
- package/src/Models/Site/PermanentObjectDataModel.js +8 -8
- package/src/Models/Site/PermanentObjectModel.js +7 -7
- package/src/Models/Site/PointModel.js +11 -11
- package/src/Models/Site/TemporaryObjectModel.js +6 -6
- package/src/Models/SiteModel.js +6 -6
- package/src/Models/TokenModel.js +10 -10
- package/src/Models/UserAccountActionTokenModel.js +11 -11
- package/src/Models/UserAccountModel.js +10 -10
- package/src/PackageVersion.js +1 -1
- package/src/Points.js +24 -12
- package/src/WebSocketHelper.js +34 -13
- package/src/index.js +3 -3
- package/types/tslint.json +2 -1
package/lib/index.d.ts
CHANGED
|
@@ -123,7 +123,7 @@ declare module '@ricado/api-client' {
|
|
|
123
123
|
* @param {string} [token] An optional JSON Web Token to Initialize the API with.
|
|
124
124
|
* @throws {Error} The JSON Web Token provided was not valid
|
|
125
125
|
*/
|
|
126
|
-
export function initialize(token?: string): void;
|
|
126
|
+
export function initialize(token?: string | undefined): void;
|
|
127
127
|
/**
|
|
128
128
|
* Generates a new JWT for a User Account
|
|
129
129
|
*
|
|
@@ -134,7 +134,7 @@ declare module '@ricado/api-client' {
|
|
|
134
134
|
* @param {string} [providerId] The Service Provider ID
|
|
135
135
|
* @return {Promise<string>}
|
|
136
136
|
*/
|
|
137
|
-
export function userAccountLogin(email: string, password: string, providerId?: string): Promise<string>;
|
|
137
|
+
export function userAccountLogin(email: string, password: string, providerId?: string | undefined): Promise<string>;
|
|
138
138
|
/**
|
|
139
139
|
* Generates a new JWT for an API Account
|
|
140
140
|
*
|
|
@@ -145,7 +145,7 @@ declare module '@ricado/api-client' {
|
|
|
145
145
|
* @param {string} [providerId] - The Service Provider ID
|
|
146
146
|
* @return {Promise<string>}
|
|
147
147
|
*/
|
|
148
|
-
export function apiAccountLogin(key: string, secret: string, providerId?: string): Promise<string>;
|
|
148
|
+
export function apiAccountLogin(key: string, secret: string, providerId?: string | undefined): Promise<string>;
|
|
149
149
|
/**
|
|
150
150
|
* Unlocks an existing JWT using a Pin Code
|
|
151
151
|
*
|
|
@@ -192,9 +192,9 @@ declare module '@ricado/api-client' {
|
|
|
192
192
|
* The JSON Web Token for all Authenticated API Calls
|
|
193
193
|
*
|
|
194
194
|
* @private
|
|
195
|
-
* @type {string}
|
|
195
|
+
* @type {string|undefined}
|
|
196
196
|
*/
|
|
197
|
-
export var JWT: string;
|
|
197
|
+
export var JWT: string | undefined;
|
|
198
198
|
/**
|
|
199
199
|
* The Base URL for the RICADO Gen 4 API
|
|
200
200
|
*
|
|
@@ -251,7 +251,7 @@ declare module '@ricado/api-client/RequestHelper' {
|
|
|
251
251
|
*/
|
|
252
252
|
static getRequest(url: string, queryParameters?: {
|
|
253
253
|
[x: string]: any;
|
|
254
|
-
}): Promise<any>;
|
|
254
|
+
} | undefined): Promise<any>;
|
|
255
255
|
/**
|
|
256
256
|
* Perform a PUT Request
|
|
257
257
|
*
|
|
@@ -293,7 +293,7 @@ declare module '@ricado/api-client/RequestHelper' {
|
|
|
293
293
|
*/
|
|
294
294
|
static deleteRequest(url: string, queryParameters?: {
|
|
295
295
|
[x: string]: any;
|
|
296
|
-
}): Promise<boolean>;
|
|
296
|
+
} | undefined): Promise<boolean>;
|
|
297
297
|
/**
|
|
298
298
|
* Performs a Request (fetch)
|
|
299
299
|
*
|
|
@@ -307,7 +307,7 @@ declare module '@ricado/api-client/RequestHelper' {
|
|
|
307
307
|
*/
|
|
308
308
|
static performRequest(method: string, url: string, data?: any, queryParameters?: {
|
|
309
309
|
[x: string]: any;
|
|
310
|
-
}): Promise<any>;
|
|
310
|
+
} | undefined): Promise<any>;
|
|
311
311
|
}
|
|
312
312
|
}
|
|
313
313
|
|
|
@@ -334,7 +334,7 @@ declare module '@ricado/api-client/WebSocketHelper' {
|
|
|
334
334
|
* @public
|
|
335
335
|
* @param {string} [key] - The Site ID or RTU ID Key (e.g. site.2 or rtu.1200)
|
|
336
336
|
*/
|
|
337
|
-
static subscribe(key?: string): void;
|
|
337
|
+
static subscribe(key?: string | undefined): void;
|
|
338
338
|
/**
|
|
339
339
|
* Unsubscribe from a Site or RTU for Events
|
|
340
340
|
*
|
|
@@ -342,7 +342,7 @@ declare module '@ricado/api-client/WebSocketHelper' {
|
|
|
342
342
|
* @public
|
|
343
343
|
* @param {string} [key] - The Site ID or RTU ID Key (e.g. site.2 or rtu.1200)
|
|
344
344
|
*/
|
|
345
|
-
static unsubscribe(key?: string): void;
|
|
345
|
+
static unsubscribe(key?: string | undefined): void;
|
|
346
346
|
/**
|
|
347
347
|
* Register Events Handler
|
|
348
348
|
*
|
|
@@ -366,7 +366,7 @@ declare module '@ricado/api-client/WebSocketHelper' {
|
|
|
366
366
|
/**
|
|
367
367
|
* The Events Callback
|
|
368
368
|
*/
|
|
369
|
-
export type eventCallback = (...args: any
|
|
369
|
+
export type eventCallback = (...args: any) => void;
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
|
|
@@ -482,7 +482,7 @@ declare module '@ricado/api-client/Points' {
|
|
|
482
482
|
/**
|
|
483
483
|
* The Events Callback
|
|
484
484
|
*/
|
|
485
|
-
export type eventCallback = (...args: any
|
|
485
|
+
export type eventCallback = (...args: any) => void;
|
|
486
486
|
/**
|
|
487
487
|
* The Read Points Callback
|
|
488
488
|
*/
|
|
@@ -765,7 +765,7 @@ declare module '@ricado/api-client/Controllers/AccountPolicyController' {
|
|
|
765
765
|
* @param {AccountPolicyController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
766
766
|
* @return {Promise<AccountPolicyModel[]>}
|
|
767
767
|
*/
|
|
768
|
-
static getAll(queryParameters?: AccountPolicyController.GetAllQueryParameters): Promise<AccountPolicyModel[]>;
|
|
768
|
+
static getAll(queryParameters?: AccountPolicyController.GetAllQueryParameters | undefined): Promise<AccountPolicyModel[]>;
|
|
769
769
|
/**
|
|
770
770
|
* Create a Account Policy [POST /account-policies]
|
|
771
771
|
*
|
|
@@ -956,7 +956,7 @@ declare module '@ricado/api-client/Controllers/ApiAccountController' {
|
|
|
956
956
|
* @param {ApiAccountController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
957
957
|
* @return {Promise<ApiAccountModel[]>}
|
|
958
958
|
*/
|
|
959
|
-
static getAll(queryParameters?: ApiAccountController.GetAllQueryParameters): Promise<ApiAccountModel[]>;
|
|
959
|
+
static getAll(queryParameters?: ApiAccountController.GetAllQueryParameters | undefined): Promise<ApiAccountModel[]>;
|
|
960
960
|
/**
|
|
961
961
|
* Create a API Account [POST /api-accounts]
|
|
962
962
|
*
|
|
@@ -1055,7 +1055,7 @@ declare module '@ricado/api-client/Controllers/CompanyController' {
|
|
|
1055
1055
|
* @param {CompanyController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
1056
1056
|
* @return {Promise<CompanyModel[]>}
|
|
1057
1057
|
*/
|
|
1058
|
-
static getAll(queryParameters?: CompanyController.GetAllQueryParameters): Promise<CompanyModel[]>;
|
|
1058
|
+
static getAll(queryParameters?: CompanyController.GetAllQueryParameters | undefined): Promise<CompanyModel[]>;
|
|
1059
1059
|
/**
|
|
1060
1060
|
* Create a Company [POST /companies]
|
|
1061
1061
|
*
|
|
@@ -1154,7 +1154,7 @@ declare module '@ricado/api-client/Controllers/FirebaseTokenController' {
|
|
|
1154
1154
|
* @param {FirebaseTokenController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
1155
1155
|
* @return {Promise<FirebaseTokenModel[]>}
|
|
1156
1156
|
*/
|
|
1157
|
-
static getAll(queryParameters?: FirebaseTokenController.GetAllQueryParameters): Promise<FirebaseTokenModel[]>;
|
|
1157
|
+
static getAll(queryParameters?: FirebaseTokenController.GetAllQueryParameters | undefined): Promise<FirebaseTokenModel[]>;
|
|
1158
1158
|
/**
|
|
1159
1159
|
* Create a Firebase Token [POST /firebase-tokens]
|
|
1160
1160
|
*
|
|
@@ -1285,7 +1285,7 @@ declare module '@ricado/api-client/Controllers/RTUController' {
|
|
|
1285
1285
|
* @param {RTUController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
1286
1286
|
* @return {Promise<RTUModel[]>}
|
|
1287
1287
|
*/
|
|
1288
|
-
static getAll(queryParameters?: RTUController.GetAllQueryParameters): Promise<RTUModel[]>;
|
|
1288
|
+
static getAll(queryParameters?: RTUController.GetAllQueryParameters | undefined): Promise<RTUModel[]>;
|
|
1289
1289
|
/**
|
|
1290
1290
|
* Create a RTU [POST /rtus]
|
|
1291
1291
|
*
|
|
@@ -1392,7 +1392,7 @@ declare module '@ricado/api-client/Controllers/RTUPluginController' {
|
|
|
1392
1392
|
* @param {RTUPluginController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
1393
1393
|
* @return {Promise<RTUPluginModel[]>}
|
|
1394
1394
|
*/
|
|
1395
|
-
static getAll(queryParameters?: RTUPluginController.GetAllQueryParameters): Promise<RTUPluginModel[]>;
|
|
1395
|
+
static getAll(queryParameters?: RTUPluginController.GetAllQueryParameters | undefined): Promise<RTUPluginModel[]>;
|
|
1396
1396
|
/**
|
|
1397
1397
|
* Create a RTU Plugin [POST /rtu-plugins]
|
|
1398
1398
|
*
|
|
@@ -1491,7 +1491,7 @@ declare module '@ricado/api-client/Controllers/SiteController' {
|
|
|
1491
1491
|
* @param {SiteController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
1492
1492
|
* @return {Promise<SiteModel[]>}
|
|
1493
1493
|
*/
|
|
1494
|
-
static getAll(queryParameters?: SiteController.GetAllQueryParameters): Promise<SiteModel[]>;
|
|
1494
|
+
static getAll(queryParameters?: SiteController.GetAllQueryParameters | undefined): Promise<SiteModel[]>;
|
|
1495
1495
|
/**
|
|
1496
1496
|
* Create a Site [POST /sites]
|
|
1497
1497
|
*
|
|
@@ -1663,7 +1663,7 @@ declare module '@ricado/api-client/Controllers/TokenController' {
|
|
|
1663
1663
|
* @param {TokenController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
1664
1664
|
* @return {Promise<TokenModel[]>}
|
|
1665
1665
|
*/
|
|
1666
|
-
static getAll(queryParameters?: TokenController.GetAllQueryParameters): Promise<TokenModel[]>;
|
|
1666
|
+
static getAll(queryParameters?: TokenController.GetAllQueryParameters | undefined): Promise<TokenModel[]>;
|
|
1667
1667
|
}
|
|
1668
1668
|
namespace TokenController {
|
|
1669
1669
|
/**
|
|
@@ -1689,7 +1689,7 @@ declare module '@ricado/api-client/Controllers/TokenController' {
|
|
|
1689
1689
|
/**
|
|
1690
1690
|
* When the last API call using this Token was made
|
|
1691
1691
|
*/
|
|
1692
|
-
activityTimestamp?: Date;
|
|
1692
|
+
activityTimestamp?: Date | null;
|
|
1693
1693
|
};
|
|
1694
1694
|
/**
|
|
1695
1695
|
* A **PinCodeUnlock** Type
|
|
@@ -1778,7 +1778,7 @@ declare module '@ricado/api-client/Controllers/UserAccountActionTokenController'
|
|
|
1778
1778
|
* @param {UserAccountActionTokenController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
1779
1779
|
* @return {Promise<UserAccountActionTokenModel[]>}
|
|
1780
1780
|
*/
|
|
1781
|
-
static getAll(queryParameters?: UserAccountActionTokenController.GetAllQueryParameters): Promise<UserAccountActionTokenModel[]>;
|
|
1781
|
+
static getAll(queryParameters?: UserAccountActionTokenController.GetAllQueryParameters | undefined): Promise<UserAccountActionTokenModel[]>;
|
|
1782
1782
|
/**
|
|
1783
1783
|
* Create a User Account Action Token [POST /user-action-tokens]
|
|
1784
1784
|
*
|
|
@@ -1925,15 +1925,15 @@ declare module '@ricado/api-client/Controllers/UserAccountActionTokenController'
|
|
|
1925
1925
|
/**
|
|
1926
1926
|
* When the last API call using this Action Token was made
|
|
1927
1927
|
*/
|
|
1928
|
-
activityTimestamp?: Date;
|
|
1928
|
+
activityTimestamp?: Date | null;
|
|
1929
1929
|
/**
|
|
1930
1930
|
* When the Action was Completed
|
|
1931
1931
|
*/
|
|
1932
|
-
completedTimestamp?: Date;
|
|
1932
|
+
completedTimestamp?: Date | null;
|
|
1933
1933
|
/**
|
|
1934
1934
|
* When the Action Email was Sent
|
|
1935
1935
|
*/
|
|
1936
|
-
emailTimestamp?: Date;
|
|
1936
|
+
emailTimestamp?: Date | null;
|
|
1937
1937
|
};
|
|
1938
1938
|
/**
|
|
1939
1939
|
* The Update Data for a User Account Action Token
|
|
@@ -1942,15 +1942,15 @@ declare module '@ricado/api-client/Controllers/UserAccountActionTokenController'
|
|
|
1942
1942
|
/**
|
|
1943
1943
|
* When the last API call using this Action Token was made
|
|
1944
1944
|
*/
|
|
1945
|
-
activityTimestamp?: Date;
|
|
1945
|
+
activityTimestamp?: Date | null;
|
|
1946
1946
|
/**
|
|
1947
1947
|
* When the Action was Completed
|
|
1948
1948
|
*/
|
|
1949
|
-
completedTimestamp?: Date;
|
|
1949
|
+
completedTimestamp?: Date | null;
|
|
1950
1950
|
/**
|
|
1951
1951
|
* When the Action Email was Sent
|
|
1952
1952
|
*/
|
|
1953
|
-
emailTimestamp?: Date;
|
|
1953
|
+
emailTimestamp?: Date | null;
|
|
1954
1954
|
};
|
|
1955
1955
|
}
|
|
1956
1956
|
import UserAccountActionTokenModel from "@ricado/api-client/Models/UserAccountActionTokenModel";
|
|
@@ -2085,7 +2085,7 @@ declare module '@ricado/api-client/Controllers/UserAccountController' {
|
|
|
2085
2085
|
* @param {UserAccountController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
2086
2086
|
* @return {Promise<UserAccountModel[]>}
|
|
2087
2087
|
*/
|
|
2088
|
-
static getAll(queryParameters?: UserAccountController.GetAllQueryParameters): Promise<UserAccountModel[]>;
|
|
2088
|
+
static getAll(queryParameters?: UserAccountController.GetAllQueryParameters | undefined): Promise<UserAccountModel[]>;
|
|
2089
2089
|
/**
|
|
2090
2090
|
* Create a User Account [POST /users]
|
|
2091
2091
|
*
|
|
@@ -2108,11 +2108,11 @@ declare module '@ricado/api-client/Controllers/UserAccountController' {
|
|
|
2108
2108
|
/**
|
|
2109
2109
|
* The User's First Name
|
|
2110
2110
|
*/
|
|
2111
|
-
firstName?: string;
|
|
2111
|
+
firstName?: string | null;
|
|
2112
2112
|
/**
|
|
2113
2113
|
* The User's Last Name
|
|
2114
2114
|
*/
|
|
2115
|
-
lastName?: string;
|
|
2115
|
+
lastName?: string | null;
|
|
2116
2116
|
/**
|
|
2117
2117
|
* The Company this User belongs to
|
|
2118
2118
|
*/
|
|
@@ -2129,11 +2129,11 @@ declare module '@ricado/api-client/Controllers/UserAccountController' {
|
|
|
2129
2129
|
/**
|
|
2130
2130
|
* The User's First Name
|
|
2131
2131
|
*/
|
|
2132
|
-
firstName?: string;
|
|
2132
|
+
firstName?: string | null;
|
|
2133
2133
|
/**
|
|
2134
2134
|
* The User's Last Name
|
|
2135
2135
|
*/
|
|
2136
|
-
lastName?: string;
|
|
2136
|
+
lastName?: string | null;
|
|
2137
2137
|
/**
|
|
2138
2138
|
* The Company this User belongs to
|
|
2139
2139
|
*/
|
|
@@ -2154,11 +2154,11 @@ declare module '@ricado/api-client/Controllers/UserAccountController' {
|
|
|
2154
2154
|
/**
|
|
2155
2155
|
* The User's First Name
|
|
2156
2156
|
*/
|
|
2157
|
-
firstName?: string;
|
|
2157
|
+
firstName?: string | null;
|
|
2158
2158
|
/**
|
|
2159
2159
|
* The User's Last Name
|
|
2160
2160
|
*/
|
|
2161
|
-
lastName?: string;
|
|
2161
|
+
lastName?: string | null;
|
|
2162
2162
|
};
|
|
2163
2163
|
}
|
|
2164
2164
|
import UserAccountModel from "@ricado/api-client/Models/UserAccountModel";
|
|
@@ -3131,6 +3131,7 @@ declare module '@ricado/api-client/Models/Site' {
|
|
|
3131
3131
|
declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
3132
3132
|
export default Site;
|
|
3133
3133
|
namespace Site {
|
|
3134
|
+
export { BinTipBinController };
|
|
3134
3135
|
export { BinTipWeightController };
|
|
3135
3136
|
export { CompacSizerBatchController };
|
|
3136
3137
|
export { CompacSizerController };
|
|
@@ -3140,6 +3141,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3140
3141
|
export { CompacSizerPackrunSummaryController };
|
|
3141
3142
|
export { DowntimeEventController };
|
|
3142
3143
|
export { FreshPackPackrunSummaryController };
|
|
3144
|
+
export { FreshQualityPackrunSummaryController };
|
|
3143
3145
|
export { GrowingMethodController };
|
|
3144
3146
|
export { PackTypeController };
|
|
3145
3147
|
export { PackingLineController };
|
|
@@ -3150,9 +3152,12 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3150
3152
|
export { ShiftController };
|
|
3151
3153
|
export { ShiftFocusMeetingController };
|
|
3152
3154
|
export { ShiftHourlyEntryController };
|
|
3155
|
+
export { ShiftQualitySummaryController };
|
|
3156
|
+
export { ShiftTaskController };
|
|
3153
3157
|
export { SoftSortBeltController };
|
|
3154
3158
|
export { VarietyController };
|
|
3155
3159
|
}
|
|
3160
|
+
import BinTipBinController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipBinController";
|
|
3156
3161
|
import BinTipWeightController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController";
|
|
3157
3162
|
import CompacSizerBatchController from "@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBatchController";
|
|
3158
3163
|
import CompacSizerController from "@ricado/api-client/Controllers/Packhouse/Site/CompacSizerController";
|
|
@@ -3162,6 +3167,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3162
3167
|
import CompacSizerPackrunSummaryController from "@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController";
|
|
3163
3168
|
import DowntimeEventController from "@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventController";
|
|
3164
3169
|
import FreshPackPackrunSummaryController from "@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSummaryController";
|
|
3170
|
+
import FreshQualityPackrunSummaryController from "@ricado/api-client/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController";
|
|
3165
3171
|
import GrowingMethodController from "@ricado/api-client/Controllers/Packhouse/Site/GrowingMethodController";
|
|
3166
3172
|
import PackTypeController from "@ricado/api-client/Controllers/Packhouse/Site/PackTypeController";
|
|
3167
3173
|
import PackingLineController from "@ricado/api-client/Controllers/Packhouse/Site/PackingLineController";
|
|
@@ -3172,6 +3178,8 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
3172
3178
|
import ShiftController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftController";
|
|
3173
3179
|
import ShiftFocusMeetingController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftFocusMeetingController";
|
|
3174
3180
|
import ShiftHourlyEntryController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryController";
|
|
3181
|
+
import ShiftQualitySummaryController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftQualitySummaryController";
|
|
3182
|
+
import ShiftTaskController from "@ricado/api-client/Controllers/Packhouse/Site/ShiftTaskController";
|
|
3175
3183
|
import SoftSortBeltController from "@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltController";
|
|
3176
3184
|
import VarietyController from "@ricado/api-client/Controllers/Packhouse/Site/VarietyController";
|
|
3177
3185
|
}
|
|
@@ -3358,7 +3366,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmController' {
|
|
|
3358
3366
|
* @param {AlarmController.GetOneHistoryQueryParameters} [queryParameters] The Optional Query Parameters
|
|
3359
3367
|
* @return {Promise<Array<AlarmController.AlarmHistoryItem>>}
|
|
3360
3368
|
*/
|
|
3361
|
-
static getOneHistory(siteId: number, id: string, queryParameters?: AlarmController.GetOneHistoryQueryParameters): Promise<Array<AlarmController.AlarmHistoryItem>>;
|
|
3369
|
+
static getOneHistory(siteId: number, id: string, queryParameters?: AlarmController.GetOneHistoryQueryParameters | undefined): Promise<Array<AlarmController.AlarmHistoryItem>>;
|
|
3362
3370
|
/**
|
|
3363
3371
|
* List all Alarms [GET /sites/{siteId}/alarms]
|
|
3364
3372
|
*
|
|
@@ -3368,7 +3376,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmController' {
|
|
|
3368
3376
|
* @param {AlarmController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
3369
3377
|
* @return {Promise<AlarmModel[]>}
|
|
3370
3378
|
*/
|
|
3371
|
-
static getAll(siteId: number, queryParameters?: AlarmController.GetAllQueryParameters): Promise<AlarmModel[]>;
|
|
3379
|
+
static getAll(siteId: number, queryParameters?: AlarmController.GetAllQueryParameters | undefined): Promise<AlarmModel[]>;
|
|
3372
3380
|
/**
|
|
3373
3381
|
* Create a Alarm [POST /sites/{siteId}/alarms]
|
|
3374
3382
|
*
|
|
@@ -3390,7 +3398,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmController' {
|
|
|
3390
3398
|
* @param {AlarmController.GetAllHistoryQueryParameters} [queryParameters] The Optional Query Parameters
|
|
3391
3399
|
* @return {Promise<Array<AlarmController.AlarmHistoryItem>>}
|
|
3392
3400
|
*/
|
|
3393
|
-
static getAllHistory(siteId: number, queryParameters?: AlarmController.GetAllHistoryQueryParameters): Promise<Array<AlarmController.AlarmHistoryItem>>;
|
|
3401
|
+
static getAllHistory(siteId: number, queryParameters?: AlarmController.GetAllHistoryQueryParameters | undefined): Promise<Array<AlarmController.AlarmHistoryItem>>;
|
|
3394
3402
|
}
|
|
3395
3403
|
namespace AlarmController {
|
|
3396
3404
|
/**
|
|
@@ -3413,7 +3421,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmController' {
|
|
|
3413
3421
|
/**
|
|
3414
3422
|
* The RTU this Alarm belongs to
|
|
3415
3423
|
*/
|
|
3416
|
-
rtuId?: number;
|
|
3424
|
+
rtuId?: number | null;
|
|
3417
3425
|
/**
|
|
3418
3426
|
* The Alarm Group this Alarm is a part of
|
|
3419
3427
|
*/
|
|
@@ -3475,7 +3483,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmController' {
|
|
|
3475
3483
|
/**
|
|
3476
3484
|
* The RTU this Alarm belongs to
|
|
3477
3485
|
*/
|
|
3478
|
-
rtuId?: number;
|
|
3486
|
+
rtuId?: number | null;
|
|
3479
3487
|
/**
|
|
3480
3488
|
* The Alarm Group this Alarm is a part of
|
|
3481
3489
|
*/
|
|
@@ -3495,7 +3503,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmController' {
|
|
|
3495
3503
|
/**
|
|
3496
3504
|
* The Python Script with the Conditions to Reset this Alarm
|
|
3497
3505
|
*/
|
|
3498
|
-
resetScript?: string;
|
|
3506
|
+
resetScript?: string | null;
|
|
3499
3507
|
/**
|
|
3500
3508
|
* The Delay before this Alarm will Trip in Milliseconds
|
|
3501
3509
|
*/
|
|
@@ -3552,7 +3560,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmController' {
|
|
|
3552
3560
|
/**
|
|
3553
3561
|
* The Python Script with the Conditions to Reset this Alarm
|
|
3554
3562
|
*/
|
|
3555
|
-
resetScript?: string;
|
|
3563
|
+
resetScript?: string | null;
|
|
3556
3564
|
/**
|
|
3557
3565
|
* The Delay before this Alarm will Trip in Milliseconds
|
|
3558
3566
|
*/
|
|
@@ -3601,7 +3609,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmController' {
|
|
|
3601
3609
|
/**
|
|
3602
3610
|
* When the Alarm Reset
|
|
3603
3611
|
*/
|
|
3604
|
-
resetTimestamp: Date;
|
|
3612
|
+
resetTimestamp: Date | null;
|
|
3605
3613
|
/**
|
|
3606
3614
|
* The Duration in Seconds that the Alarm was Tripped
|
|
3607
3615
|
*/
|
|
@@ -3659,7 +3667,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmGroupController' {
|
|
|
3659
3667
|
* @param {AlarmGroupController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
3660
3668
|
* @return {Promise<AlarmGroupModel[]>}
|
|
3661
3669
|
*/
|
|
3662
|
-
static getAll(siteId: number, queryParameters?: AlarmGroupController.GetAllQueryParameters): Promise<AlarmGroupModel[]>;
|
|
3670
|
+
static getAll(siteId: number, queryParameters?: AlarmGroupController.GetAllQueryParameters | undefined): Promise<AlarmGroupModel[]>;
|
|
3663
3671
|
/**
|
|
3664
3672
|
* Create a Alarm Group [POST /sites/{siteId}/alarm-groups]
|
|
3665
3673
|
*
|
|
@@ -3679,7 +3687,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmGroupController' {
|
|
|
3679
3687
|
/**
|
|
3680
3688
|
* The RTU this Alarm Group belongs to
|
|
3681
3689
|
*/
|
|
3682
|
-
rtuId?: number;
|
|
3690
|
+
rtuId?: number | null;
|
|
3683
3691
|
/**
|
|
3684
3692
|
* The Alarm Group Name
|
|
3685
3693
|
*/
|
|
@@ -3696,7 +3704,7 @@ declare module '@ricado/api-client/Controllers/Site/AlarmGroupController' {
|
|
|
3696
3704
|
/**
|
|
3697
3705
|
* The RTU this Alarm Group belongs to
|
|
3698
3706
|
*/
|
|
3699
|
-
rtuId?: number;
|
|
3707
|
+
rtuId?: number | null;
|
|
3700
3708
|
/**
|
|
3701
3709
|
* The Alarm Group Name
|
|
3702
3710
|
*/
|
|
@@ -3792,7 +3800,7 @@ declare module '@ricado/api-client/Controllers/Site/DefinitionController' {
|
|
|
3792
3800
|
* @param {DefinitionController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
3793
3801
|
* @return {Promise<DefinitionModel[]>}
|
|
3794
3802
|
*/
|
|
3795
|
-
static getAll(siteId: number, queryParameters?: DefinitionController.GetAllQueryParameters): Promise<DefinitionModel[]>;
|
|
3803
|
+
static getAll(siteId: number, queryParameters?: DefinitionController.GetAllQueryParameters | undefined): Promise<DefinitionModel[]>;
|
|
3796
3804
|
/**
|
|
3797
3805
|
* Create a Definition [POST /sites/{siteId}/definitions]
|
|
3798
3806
|
*
|
|
@@ -3900,7 +3908,7 @@ declare module '@ricado/api-client/Controllers/Site/PermanentObjectController' {
|
|
|
3900
3908
|
* @param {PermanentObjectController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
3901
3909
|
* @return {Promise<PermanentObjectModel[]>}
|
|
3902
3910
|
*/
|
|
3903
|
-
static getAll(siteId: number, queryParameters?: PermanentObjectController.GetAllQueryParameters): Promise<PermanentObjectModel[]>;
|
|
3911
|
+
static getAll(siteId: number, queryParameters?: PermanentObjectController.GetAllQueryParameters | undefined): Promise<PermanentObjectModel[]>;
|
|
3904
3912
|
/**
|
|
3905
3913
|
* Create a Permanent Object [POST /sites/{siteId}/permanent-objects]
|
|
3906
3914
|
*
|
|
@@ -3920,7 +3928,7 @@ declare module '@ricado/api-client/Controllers/Site/PermanentObjectController' {
|
|
|
3920
3928
|
/**
|
|
3921
3929
|
* The RTU this Permanent Object belongs to
|
|
3922
3930
|
*/
|
|
3923
|
-
rtuId?: number;
|
|
3931
|
+
rtuId?: number | null;
|
|
3924
3932
|
/**
|
|
3925
3933
|
* The Permanent Object Key Index
|
|
3926
3934
|
*/
|
|
@@ -3937,7 +3945,7 @@ declare module '@ricado/api-client/Controllers/Site/PermanentObjectController' {
|
|
|
3937
3945
|
/**
|
|
3938
3946
|
* The RTU this Permanent Object belongs to
|
|
3939
3947
|
*/
|
|
3940
|
-
rtuId?: number;
|
|
3948
|
+
rtuId?: number | null;
|
|
3941
3949
|
/**
|
|
3942
3950
|
* The Permanent Object Key Index
|
|
3943
3951
|
*/
|
|
@@ -4081,7 +4089,7 @@ declare module '@ricado/api-client/Controllers/Site/PermanentObjectDataControlle
|
|
|
4081
4089
|
* @param {PermanentObjectDataController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
4082
4090
|
* @return {Promise<PermanentObjectDataModel[]>}
|
|
4083
4091
|
*/
|
|
4084
|
-
static getAll(siteId: number, queryParameters?: PermanentObjectDataController.GetAllQueryParameters): Promise<PermanentObjectDataModel[]>;
|
|
4092
|
+
static getAll(siteId: number, queryParameters?: PermanentObjectDataController.GetAllQueryParameters | undefined): Promise<PermanentObjectDataModel[]>;
|
|
4085
4093
|
/**
|
|
4086
4094
|
* Create a Permanent Object Data [POST /sites/{siteId}/permanent-object-data]
|
|
4087
4095
|
*
|
|
@@ -4176,15 +4184,15 @@ declare module '@ricado/api-client/Controllers/Site/PermanentObjectDataControlle
|
|
|
4176
4184
|
/**
|
|
4177
4185
|
* The Content of the Comment
|
|
4178
4186
|
*/
|
|
4179
|
-
content: string;
|
|
4187
|
+
content: string | null;
|
|
4180
4188
|
/**
|
|
4181
4189
|
* When the Comment was Created
|
|
4182
4190
|
*/
|
|
4183
|
-
createdTimestamp: Date;
|
|
4191
|
+
createdTimestamp: Date | null;
|
|
4184
4192
|
/**
|
|
4185
4193
|
* When the Comment was last Updated
|
|
4186
4194
|
*/
|
|
4187
|
-
updatedTimestamp: Date;
|
|
4195
|
+
updatedTimestamp: Date | null;
|
|
4188
4196
|
};
|
|
4189
4197
|
}
|
|
4190
4198
|
import PermanentObjectDataModel from "@ricado/api-client/Models/Site/PermanentObjectDataModel";
|
|
@@ -4209,7 +4217,7 @@ declare module '@ricado/api-client/Controllers/Site/PointController' {
|
|
|
4209
4217
|
* @param {PointController.GetAllValuesQueryParameters} [queryParameters] The Optional Query Parameters
|
|
4210
4218
|
* @return {Promise<Array<PointController.PointValueItem>>}
|
|
4211
4219
|
*/
|
|
4212
|
-
static getAllValues(siteId: number, queryParameters?: PointController.GetAllValuesQueryParameters): Promise<Array<PointController.PointValueItem>>;
|
|
4220
|
+
static getAllValues(siteId: number, queryParameters?: PointController.GetAllValuesQueryParameters | undefined): Promise<Array<PointController.PointValueItem>>;
|
|
4213
4221
|
/**
|
|
4214
4222
|
* Set specific Point Values [POST /sites/{siteId}/points/values]
|
|
4215
4223
|
*
|
|
@@ -4234,7 +4242,7 @@ declare module '@ricado/api-client/Controllers/Site/PointController' {
|
|
|
4234
4242
|
* @param {PointController.GetAllHistoryQueryParameters} [queryParameters] The Optional Query Parameters
|
|
4235
4243
|
* @return {Promise<Array<PointController.PointHistoryItem>>}
|
|
4236
4244
|
*/
|
|
4237
|
-
static getAllHistory(siteId: number, pointIds: number[], queryParameters?: PointController.GetAllHistoryQueryParameters): Promise<Array<PointController.PointHistoryItem>>;
|
|
4245
|
+
static getAllHistory(siteId: number, pointIds: number[], queryParameters?: PointController.GetAllHistoryQueryParameters | undefined): Promise<Array<PointController.PointHistoryItem>>;
|
|
4238
4246
|
/**
|
|
4239
4247
|
* Add Point History [POST /sites/{siteId}/points/history]
|
|
4240
4248
|
*
|
|
@@ -4259,7 +4267,7 @@ declare module '@ricado/api-client/Controllers/Site/PointController' {
|
|
|
4259
4267
|
* @param {PointController.GetAllEventsQueryParameters} [queryParameters] The Optional Query Parameters
|
|
4260
4268
|
* @return {Promise<Array<PointController.PointEventItem>>}
|
|
4261
4269
|
*/
|
|
4262
|
-
static getAllEvents(siteId: number, pointIds: number[], queryParameters?: PointController.GetAllEventsQueryParameters): Promise<Array<PointController.PointEventItem>>;
|
|
4270
|
+
static getAllEvents(siteId: number, pointIds: number[], queryParameters?: PointController.GetAllEventsQueryParameters | undefined): Promise<Array<PointController.PointEventItem>>;
|
|
4263
4271
|
/**
|
|
4264
4272
|
* Add Point Events [POST /sites/{siteId}/points/events]
|
|
4265
4273
|
*
|
|
@@ -4312,7 +4320,7 @@ declare module '@ricado/api-client/Controllers/Site/PointController' {
|
|
|
4312
4320
|
* @param {PointController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
4313
4321
|
* @return {Promise<PointModel[]>}
|
|
4314
4322
|
*/
|
|
4315
|
-
static getAll(siteId: number, queryParameters?: PointController.GetAllQueryParameters): Promise<PointModel[]>;
|
|
4323
|
+
static getAll(siteId: number, queryParameters?: PointController.GetAllQueryParameters | undefined): Promise<PointModel[]>;
|
|
4316
4324
|
/**
|
|
4317
4325
|
* Create a Point [POST /sites/{siteId}/points]
|
|
4318
4326
|
*
|
|
@@ -4375,11 +4383,11 @@ declare module '@ricado/api-client/Controllers/Site/PointController' {
|
|
|
4375
4383
|
/**
|
|
4376
4384
|
* The RTU this Point belongs to
|
|
4377
4385
|
*/
|
|
4378
|
-
rtuId?: number;
|
|
4386
|
+
rtuId?: number | null;
|
|
4379
4387
|
/**
|
|
4380
4388
|
* The Plugin ID
|
|
4381
4389
|
*/
|
|
4382
|
-
pluginId?: number;
|
|
4390
|
+
pluginId?: number | null;
|
|
4383
4391
|
/**
|
|
4384
4392
|
* The Point Name
|
|
4385
4393
|
*/
|
|
@@ -4408,11 +4416,11 @@ declare module '@ricado/api-client/Controllers/Site/PointController' {
|
|
|
4408
4416
|
/**
|
|
4409
4417
|
* The RTU this Point belongs to
|
|
4410
4418
|
*/
|
|
4411
|
-
rtuId?: number;
|
|
4419
|
+
rtuId?: number | null;
|
|
4412
4420
|
/**
|
|
4413
4421
|
* The Plugin ID
|
|
4414
4422
|
*/
|
|
4415
|
-
pluginId?: number;
|
|
4423
|
+
pluginId?: number | null;
|
|
4416
4424
|
/**
|
|
4417
4425
|
* The Point Name
|
|
4418
4426
|
*/
|
|
@@ -4445,7 +4453,7 @@ declare module '@ricado/api-client/Controllers/Site/PointController' {
|
|
|
4445
4453
|
/**
|
|
4446
4454
|
* The Plugin ID
|
|
4447
4455
|
*/
|
|
4448
|
-
pluginId?: number;
|
|
4456
|
+
pluginId?: number | null;
|
|
4449
4457
|
/**
|
|
4450
4458
|
* The Point Name
|
|
4451
4459
|
*/
|
|
@@ -4633,7 +4641,7 @@ declare module '@ricado/api-client/Controllers/Site/TemporaryObjectController' {
|
|
|
4633
4641
|
* @param {TemporaryObjectController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
4634
4642
|
* @return {Promise<TemporaryObjectModel[]>}
|
|
4635
4643
|
*/
|
|
4636
|
-
static getAll(siteId: number, queryParameters?: TemporaryObjectController.GetAllQueryParameters): Promise<TemporaryObjectModel[]>;
|
|
4644
|
+
static getAll(siteId: number, queryParameters?: TemporaryObjectController.GetAllQueryParameters | undefined): Promise<TemporaryObjectModel[]>;
|
|
4637
4645
|
/**
|
|
4638
4646
|
* Create a Temporary Object [POST /sites/{siteId}/temporary-objects]
|
|
4639
4647
|
*
|
|
@@ -4696,6 +4704,7 @@ declare module '@ricado/api-client/Controllers/Site/TemporaryObjectController' {
|
|
|
4696
4704
|
declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
4697
4705
|
export default Site;
|
|
4698
4706
|
namespace Site {
|
|
4707
|
+
export { BinTipBinModel };
|
|
4699
4708
|
export { BinTipWeightModel };
|
|
4700
4709
|
export { CompacSizerBatchModel };
|
|
4701
4710
|
export { CompacSizerModel };
|
|
@@ -4705,6 +4714,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4705
4714
|
export { CompacSizerPackrunSummaryModel };
|
|
4706
4715
|
export { DowntimeEventModel };
|
|
4707
4716
|
export { FreshPackPackrunSummaryModel };
|
|
4717
|
+
export { FreshQualityPackrunSummaryModel };
|
|
4708
4718
|
export { GrowingMethodModel };
|
|
4709
4719
|
export { PackTypeModel };
|
|
4710
4720
|
export { PackingLineModel };
|
|
@@ -4715,9 +4725,12 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4715
4725
|
export { ShiftFocusMeetingModel };
|
|
4716
4726
|
export { ShiftHourlyEntryModel };
|
|
4717
4727
|
export { ShiftModel };
|
|
4728
|
+
export { ShiftQualitySummaryModel };
|
|
4729
|
+
export { ShiftTaskModel };
|
|
4718
4730
|
export { SoftSortBeltModel };
|
|
4719
4731
|
export { VarietyModel };
|
|
4720
4732
|
}
|
|
4733
|
+
import BinTipBinModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBinModel";
|
|
4721
4734
|
import BinTipWeightModel from "@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel";
|
|
4722
4735
|
import CompacSizerBatchModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel";
|
|
4723
4736
|
import CompacSizerModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerModel";
|
|
@@ -4727,6 +4740,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4727
4740
|
import CompacSizerPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSummaryModel";
|
|
4728
4741
|
import DowntimeEventModel from "@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel";
|
|
4729
4742
|
import FreshPackPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummaryModel";
|
|
4743
|
+
import FreshQualityPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshQualityPackrunSummaryModel";
|
|
4730
4744
|
import GrowingMethodModel from "@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel";
|
|
4731
4745
|
import PackTypeModel from "@ricado/api-client/Models/Packhouse/Site/PackTypeModel";
|
|
4732
4746
|
import PackingLineModel from "@ricado/api-client/Models/Packhouse/Site/PackingLineModel";
|
|
@@ -4737,6 +4751,8 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
4737
4751
|
import ShiftFocusMeetingModel from "@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel";
|
|
4738
4752
|
import ShiftHourlyEntryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel";
|
|
4739
4753
|
import ShiftModel from "@ricado/api-client/Models/Packhouse/Site/ShiftModel";
|
|
4754
|
+
import ShiftQualitySummaryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftQualitySummaryModel";
|
|
4755
|
+
import ShiftTaskModel from "@ricado/api-client/Models/Packhouse/Site/ShiftTaskModel";
|
|
4740
4756
|
import SoftSortBeltModel from "@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel";
|
|
4741
4757
|
import VarietyModel from "@ricado/api-client/Models/Packhouse/Site/VarietyModel";
|
|
4742
4758
|
}
|
|
@@ -5341,6 +5357,272 @@ declare module '@ricado/api-client/Models/Site/TemporaryObjectModel' {
|
|
|
5341
5357
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
5342
5358
|
}
|
|
5343
5359
|
|
|
5360
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBinController' {
|
|
5361
|
+
export default BinTipBinController;
|
|
5362
|
+
/**
|
|
5363
|
+
* Controller Class for Bin Tip Bins
|
|
5364
|
+
*
|
|
5365
|
+
* @class
|
|
5366
|
+
*/
|
|
5367
|
+
class BinTipBinController {
|
|
5368
|
+
/**
|
|
5369
|
+
* Retrieve a Bin Tip Bin [GET /packhouse/sites/{siteId}/bin-tip-bins/{id}]
|
|
5370
|
+
*
|
|
5371
|
+
* @static
|
|
5372
|
+
* @public
|
|
5373
|
+
* @param {number} siteId The Site ID
|
|
5374
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5375
|
+
* @return {Promise<BinTipBinModel>}
|
|
5376
|
+
*/
|
|
5377
|
+
static getOne(siteId: number, id: string): Promise<BinTipBinModel>;
|
|
5378
|
+
/**
|
|
5379
|
+
* Update a Bin Tip Bin [PATCH /packhouse/sites/{siteId}/bin-tip-bins/{id}]
|
|
5380
|
+
*
|
|
5381
|
+
* @static
|
|
5382
|
+
* @public
|
|
5383
|
+
* @param {number} siteId The Site ID
|
|
5384
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5385
|
+
* @param {BinTipBinController.UpdateData} updateData The Bin Tip Bin Update Data
|
|
5386
|
+
* @return {Promise<BinTipBinModel>}
|
|
5387
|
+
*/
|
|
5388
|
+
static update(siteId: number, id: string, updateData: BinTipBinController.UpdateData): Promise<BinTipBinModel>;
|
|
5389
|
+
/**
|
|
5390
|
+
* Delete a Bin Tip Bin [DELETE /packhouse/sites/{siteId}/bin-tip-bins/{id}]
|
|
5391
|
+
*
|
|
5392
|
+
* @static
|
|
5393
|
+
* @public
|
|
5394
|
+
* @param {number} siteId The Site ID
|
|
5395
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5396
|
+
* @return {Promise<boolean>}
|
|
5397
|
+
*/
|
|
5398
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
5399
|
+
/**
|
|
5400
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments]
|
|
5401
|
+
*
|
|
5402
|
+
* Retrieves Comments for a Bin Tip Bin
|
|
5403
|
+
*
|
|
5404
|
+
* @static
|
|
5405
|
+
* @public
|
|
5406
|
+
* @param {number} siteId The Site ID
|
|
5407
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5408
|
+
* @return {Promise<Array<BinTipBinController.CommentItem>>}
|
|
5409
|
+
*/
|
|
5410
|
+
static getComments(siteId: number, id: string): Promise<Array<BinTipBinController.CommentItem>>;
|
|
5411
|
+
/**
|
|
5412
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments]
|
|
5413
|
+
*
|
|
5414
|
+
* Create a Comment for a Bin Tip Bin
|
|
5415
|
+
*
|
|
5416
|
+
* @static
|
|
5417
|
+
* @public
|
|
5418
|
+
* @param {number} siteId The Site ID
|
|
5419
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5420
|
+
* @param {string} content The Content of the New Comment
|
|
5421
|
+
* @return {Promise<BinTipBinController.CommentItem>}
|
|
5422
|
+
*/
|
|
5423
|
+
static createComment(siteId: number, id: string, content: string): Promise<BinTipBinController.CommentItem>;
|
|
5424
|
+
/**
|
|
5425
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments/{commentId}]
|
|
5426
|
+
*
|
|
5427
|
+
* Retrieves Comments for a Bin Tip Bin
|
|
5428
|
+
*
|
|
5429
|
+
* @static
|
|
5430
|
+
* @public
|
|
5431
|
+
* @param {number} siteId The Site ID
|
|
5432
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5433
|
+
* @param {string} commentId The Comment ID
|
|
5434
|
+
* @return {Promise<BinTipBinController.CommentItem>}
|
|
5435
|
+
*/
|
|
5436
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<BinTipBinController.CommentItem>;
|
|
5437
|
+
/**
|
|
5438
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments/{commentId}]
|
|
5439
|
+
*
|
|
5440
|
+
* Update a Comment for a Bin Tip Bin
|
|
5441
|
+
*
|
|
5442
|
+
* @static
|
|
5443
|
+
* @public
|
|
5444
|
+
* @param {number} siteId The Site ID
|
|
5445
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5446
|
+
* @param {string} commentId The Comment ID
|
|
5447
|
+
* @param {string} content The Updated Content for the Comment
|
|
5448
|
+
* @return {Promise<BinTipBinController.CommentItem>}
|
|
5449
|
+
*/
|
|
5450
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<BinTipBinController.CommentItem>;
|
|
5451
|
+
/**
|
|
5452
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/bin-tip-bins/{id}/comments/{commentId}]
|
|
5453
|
+
*
|
|
5454
|
+
* Delete a Comment for a Bin Tip Bin
|
|
5455
|
+
*
|
|
5456
|
+
* @static
|
|
5457
|
+
* @public
|
|
5458
|
+
* @param {number} siteId The Site ID
|
|
5459
|
+
* @param {string} id The Bin Tip Bin ID
|
|
5460
|
+
* @param {string} commentId The Comment ID
|
|
5461
|
+
* @return {Promise<boolean>}
|
|
5462
|
+
*/
|
|
5463
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
5464
|
+
/**
|
|
5465
|
+
* List all Bin Tip Bins [GET /packhouse/sites/{siteId}/bin-tip-bins]
|
|
5466
|
+
*
|
|
5467
|
+
* @static
|
|
5468
|
+
* @public
|
|
5469
|
+
* @param {number} siteId The Site ID
|
|
5470
|
+
* @param {BinTipBinController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
5471
|
+
* @return {Promise<BinTipBinModel[]>}
|
|
5472
|
+
*/
|
|
5473
|
+
static getAll(siteId: number, queryParameters?: BinTipBinController.GetAllQueryParameters | undefined): Promise<BinTipBinModel[]>;
|
|
5474
|
+
/**
|
|
5475
|
+
* Create a Bin Tip Bin [POST /packhouse/sites/{siteId}/bin-tip-bins]
|
|
5476
|
+
*
|
|
5477
|
+
* @static
|
|
5478
|
+
* @public
|
|
5479
|
+
* @param {number} siteId The Site ID
|
|
5480
|
+
* @param {BinTipBinController.CreateData} createData The Bin Tip Bin Create Data
|
|
5481
|
+
* @return {Promise<BinTipBinModel>}
|
|
5482
|
+
*/
|
|
5483
|
+
static create(siteId: number, createData: BinTipBinController.CreateData): Promise<BinTipBinModel>;
|
|
5484
|
+
}
|
|
5485
|
+
namespace BinTipBinController {
|
|
5486
|
+
/**
|
|
5487
|
+
* The Optional Query Parameters for the getAll Function
|
|
5488
|
+
*/
|
|
5489
|
+
export type GetAllQueryParameters = {
|
|
5490
|
+
/**
|
|
5491
|
+
* The Bin Tip ID associated with this Bin
|
|
5492
|
+
*/
|
|
5493
|
+
binTipId?: string;
|
|
5494
|
+
/**
|
|
5495
|
+
* The Packrun ID associated with this Bin
|
|
5496
|
+
*/
|
|
5497
|
+
packrunId?: string;
|
|
5498
|
+
/**
|
|
5499
|
+
* The `BinTipWeight` ID as the Source for the Full Weight of this Bin
|
|
5500
|
+
*/
|
|
5501
|
+
fullBinWeightId?: string | null;
|
|
5502
|
+
/**
|
|
5503
|
+
* The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
|
|
5504
|
+
*/
|
|
5505
|
+
emptyBinWeightId?: string | null;
|
|
5506
|
+
/**
|
|
5507
|
+
* Filter by the Timestamp when this Bin was Created. Results Greater than or Equal to Timestamp
|
|
5508
|
+
*/
|
|
5509
|
+
createdTimestampBegin?: Date;
|
|
5510
|
+
/**
|
|
5511
|
+
* Filter by the Timestamp when this Bin was Created. Results Less than or Equal to Timestamp
|
|
5512
|
+
*/
|
|
5513
|
+
createdTimestampEnd?: Date;
|
|
5514
|
+
};
|
|
5515
|
+
/**
|
|
5516
|
+
* The Create Data for a Bin Tip Bin
|
|
5517
|
+
*/
|
|
5518
|
+
export type CreateData = {
|
|
5519
|
+
/**
|
|
5520
|
+
* The Bin Tip ID associated with this Bin
|
|
5521
|
+
*/
|
|
5522
|
+
binTipId: string;
|
|
5523
|
+
/**
|
|
5524
|
+
* The Packrun ID associated with this Bin
|
|
5525
|
+
*/
|
|
5526
|
+
packrunId?: string;
|
|
5527
|
+
/**
|
|
5528
|
+
* When this Bin was Created
|
|
5529
|
+
*/
|
|
5530
|
+
createdTimestamp?: Date;
|
|
5531
|
+
/**
|
|
5532
|
+
* A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
|
|
5533
|
+
*/
|
|
5534
|
+
binNumber?: string | null;
|
|
5535
|
+
/**
|
|
5536
|
+
* The Time Batch ID associated with this Bin
|
|
5537
|
+
*/
|
|
5538
|
+
timeBatchId?: string | null;
|
|
5539
|
+
/**
|
|
5540
|
+
* The Full Weight for this Bin
|
|
5541
|
+
*/
|
|
5542
|
+
fullWeight?: number | null;
|
|
5543
|
+
/**
|
|
5544
|
+
* The Empty Weight for this Bin
|
|
5545
|
+
*/
|
|
5546
|
+
emptyWeight?: number | null;
|
|
5547
|
+
/**
|
|
5548
|
+
* The `BinTipWeight` ID as the Source for the Full Weight of this Bin
|
|
5549
|
+
*/
|
|
5550
|
+
fullBinWeightId?: string | null;
|
|
5551
|
+
/**
|
|
5552
|
+
* The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
|
|
5553
|
+
*/
|
|
5554
|
+
emptyBinWeightId?: string | null;
|
|
5555
|
+
/**
|
|
5556
|
+
* The FreshPack Field Bin Weight API Data
|
|
5557
|
+
*/
|
|
5558
|
+
freshPackFieldBinWeightApi?: any;
|
|
5559
|
+
};
|
|
5560
|
+
/**
|
|
5561
|
+
* The Update Data for a Bin Tip Bin
|
|
5562
|
+
*/
|
|
5563
|
+
export type UpdateData = {
|
|
5564
|
+
/**
|
|
5565
|
+
* The Bin Tip ID associated with this Bin
|
|
5566
|
+
*/
|
|
5567
|
+
binTipId?: string;
|
|
5568
|
+
/**
|
|
5569
|
+
* When this Bin was Created
|
|
5570
|
+
*/
|
|
5571
|
+
createdTimestamp?: Date;
|
|
5572
|
+
/**
|
|
5573
|
+
* A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
|
|
5574
|
+
*/
|
|
5575
|
+
binNumber?: string | null;
|
|
5576
|
+
/**
|
|
5577
|
+
* The Time Batch ID associated with this Bin
|
|
5578
|
+
*/
|
|
5579
|
+
timeBatchId?: string | null;
|
|
5580
|
+
/**
|
|
5581
|
+
* The Full Weight for this Bin
|
|
5582
|
+
*/
|
|
5583
|
+
fullWeight?: number | null;
|
|
5584
|
+
/**
|
|
5585
|
+
* The Empty Weight for this Bin
|
|
5586
|
+
*/
|
|
5587
|
+
emptyWeight?: number | null;
|
|
5588
|
+
/**
|
|
5589
|
+
* The `BinTipWeight` ID as the Source for the Full Weight of this Bin
|
|
5590
|
+
*/
|
|
5591
|
+
fullBinWeightId?: string | null;
|
|
5592
|
+
/**
|
|
5593
|
+
* The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
|
|
5594
|
+
*/
|
|
5595
|
+
emptyBinWeightId?: string | null;
|
|
5596
|
+
/**
|
|
5597
|
+
* The FreshPack Field Bin Weight API Data
|
|
5598
|
+
*/
|
|
5599
|
+
freshPackFieldBinWeightApi?: any;
|
|
5600
|
+
};
|
|
5601
|
+
/**
|
|
5602
|
+
* A **CommentItem** Type
|
|
5603
|
+
*/
|
|
5604
|
+
export type CommentItem = {
|
|
5605
|
+
/**
|
|
5606
|
+
* The Comment ID
|
|
5607
|
+
*/
|
|
5608
|
+
id: string;
|
|
5609
|
+
/**
|
|
5610
|
+
* The Content of the Comment
|
|
5611
|
+
*/
|
|
5612
|
+
content: string | null;
|
|
5613
|
+
/**
|
|
5614
|
+
* When the Comment was Created
|
|
5615
|
+
*/
|
|
5616
|
+
createdTimestamp: Date | null;
|
|
5617
|
+
/**
|
|
5618
|
+
* When the Comment was last Updated
|
|
5619
|
+
*/
|
|
5620
|
+
updatedTimestamp: Date | null;
|
|
5621
|
+
};
|
|
5622
|
+
}
|
|
5623
|
+
import BinTipBinModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBinModel";
|
|
5624
|
+
}
|
|
5625
|
+
|
|
5344
5626
|
declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController' {
|
|
5345
5627
|
export default BinTipWeightController;
|
|
5346
5628
|
/**
|
|
@@ -5454,7 +5736,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightContro
|
|
|
5454
5736
|
* @param {BinTipWeightController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
5455
5737
|
* @return {Promise<BinTipWeightModel[]>}
|
|
5456
5738
|
*/
|
|
5457
|
-
static getAll(siteId: number, queryParameters?: BinTipWeightController.GetAllQueryParameters): Promise<BinTipWeightModel[]>;
|
|
5739
|
+
static getAll(siteId: number, queryParameters?: BinTipWeightController.GetAllQueryParameters | undefined): Promise<BinTipWeightModel[]>;
|
|
5458
5740
|
/**
|
|
5459
5741
|
* Create a Bin Tip Weight [POST /packhouse/sites/{siteId}/bin-tip-weights]
|
|
5460
5742
|
*
|
|
@@ -5486,7 +5768,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightContro
|
|
|
5486
5768
|
/**
|
|
5487
5769
|
* The Bin Scale ID associated with this Bin Weight
|
|
5488
5770
|
*/
|
|
5489
|
-
binScaleId?: string;
|
|
5771
|
+
binScaleId?: string | null;
|
|
5490
5772
|
/**
|
|
5491
5773
|
* Filter by the Timestamp when this Bin Tip Weight was Created. Results Greater than or Equal to Timestamp
|
|
5492
5774
|
*/
|
|
@@ -5523,7 +5805,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightContro
|
|
|
5523
5805
|
/**
|
|
5524
5806
|
* The Bin Scale ID associated with this Bin Weight
|
|
5525
5807
|
*/
|
|
5526
|
-
binScaleId?: string;
|
|
5808
|
+
binScaleId?: string | null;
|
|
5527
5809
|
};
|
|
5528
5810
|
/**
|
|
5529
5811
|
* The Update Data for a Bin Tip Weight
|
|
@@ -5548,7 +5830,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightContro
|
|
|
5548
5830
|
/**
|
|
5549
5831
|
* The Bin Scale ID associated with this Bin Weight
|
|
5550
5832
|
*/
|
|
5551
|
-
binScaleId?: string;
|
|
5833
|
+
binScaleId?: string | null;
|
|
5552
5834
|
};
|
|
5553
5835
|
/**
|
|
5554
5836
|
* A **CommentItem** Type
|
|
@@ -5561,15 +5843,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightContro
|
|
|
5561
5843
|
/**
|
|
5562
5844
|
* The Content of the Comment
|
|
5563
5845
|
*/
|
|
5564
|
-
content: string;
|
|
5846
|
+
content: string | null;
|
|
5565
5847
|
/**
|
|
5566
5848
|
* When the Comment was Created
|
|
5567
5849
|
*/
|
|
5568
|
-
createdTimestamp: Date;
|
|
5850
|
+
createdTimestamp: Date | null;
|
|
5569
5851
|
/**
|
|
5570
5852
|
* When the Comment was last Updated
|
|
5571
5853
|
*/
|
|
5572
|
-
updatedTimestamp: Date;
|
|
5854
|
+
updatedTimestamp: Date | null;
|
|
5573
5855
|
};
|
|
5574
5856
|
}
|
|
5575
5857
|
import BinTipWeightModel from "@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel";
|
|
@@ -5688,7 +5970,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBatchCo
|
|
|
5688
5970
|
* @param {CompacSizerBatchController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
5689
5971
|
* @return {Promise<CompacSizerBatchModel[]>}
|
|
5690
5972
|
*/
|
|
5691
|
-
static getAll(siteId: number, queryParameters?: CompacSizerBatchController.GetAllQueryParameters): Promise<CompacSizerBatchModel[]>;
|
|
5973
|
+
static getAll(siteId: number, queryParameters?: CompacSizerBatchController.GetAllQueryParameters | undefined): Promise<CompacSizerBatchModel[]>;
|
|
5692
5974
|
/**
|
|
5693
5975
|
* Create a Compac Sizer Batch [POST /packhouse/sites/{siteId}/compac-sizer-batches]
|
|
5694
5976
|
*
|
|
@@ -5716,7 +5998,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBatchCo
|
|
|
5716
5998
|
/**
|
|
5717
5999
|
* The Packrun ID associated with this Batch
|
|
5718
6000
|
*/
|
|
5719
|
-
packrunId?: string;
|
|
6001
|
+
packrunId?: string | null;
|
|
5720
6002
|
/**
|
|
5721
6003
|
* Filter by the Timestamp when this Compac Sizer Batch was Created. Results Greater than or Equal to Timestamp
|
|
5722
6004
|
*/
|
|
@@ -5749,7 +6031,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBatchCo
|
|
|
5749
6031
|
/**
|
|
5750
6032
|
* The Packrun ID associated with this Batch
|
|
5751
6033
|
*/
|
|
5752
|
-
packrunId?: string;
|
|
6034
|
+
packrunId?: string | null;
|
|
5753
6035
|
/**
|
|
5754
6036
|
* The Compac Sizer Batch Data
|
|
5755
6037
|
*/
|
|
@@ -5770,7 +6052,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBatchCo
|
|
|
5770
6052
|
/**
|
|
5771
6053
|
* The Packrun ID associated with this Batch
|
|
5772
6054
|
*/
|
|
5773
|
-
packrunId?: string;
|
|
6055
|
+
packrunId?: string | null;
|
|
5774
6056
|
/**
|
|
5775
6057
|
* The Compac Sizer Batch Data
|
|
5776
6058
|
*/
|
|
@@ -5787,15 +6069,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBatchCo
|
|
|
5787
6069
|
/**
|
|
5788
6070
|
* The Content of the Comment
|
|
5789
6071
|
*/
|
|
5790
|
-
content: string;
|
|
6072
|
+
content: string | null;
|
|
5791
6073
|
/**
|
|
5792
6074
|
* When the Comment was Created
|
|
5793
6075
|
*/
|
|
5794
|
-
createdTimestamp: Date;
|
|
6076
|
+
createdTimestamp: Date | null;
|
|
5795
6077
|
/**
|
|
5796
6078
|
* When the Comment was last Updated
|
|
5797
6079
|
*/
|
|
5798
|
-
updatedTimestamp: Date;
|
|
6080
|
+
updatedTimestamp: Date | null;
|
|
5799
6081
|
};
|
|
5800
6082
|
}
|
|
5801
6083
|
import CompacSizerBatchModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel";
|
|
@@ -5849,7 +6131,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
|
|
|
5849
6131
|
* @param {CompacSizerController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
5850
6132
|
* @return {Promise<CompacSizerModel[]>}
|
|
5851
6133
|
*/
|
|
5852
|
-
static getAll(siteId: number, queryParameters?: CompacSizerController.GetAllQueryParameters): Promise<CompacSizerModel[]>;
|
|
6134
|
+
static getAll(siteId: number, queryParameters?: CompacSizerController.GetAllQueryParameters | undefined): Promise<CompacSizerModel[]>;
|
|
5853
6135
|
/**
|
|
5854
6136
|
* Create a Compac Sizer [POST /packhouse/sites/{siteId}/compac-sizers]
|
|
5855
6137
|
*
|
|
@@ -5869,7 +6151,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
|
|
|
5869
6151
|
/**
|
|
5870
6152
|
* The RTU this Compac Sizer belongs to
|
|
5871
6153
|
*/
|
|
5872
|
-
rtuId?: number;
|
|
6154
|
+
rtuId?: number | null;
|
|
5873
6155
|
/**
|
|
5874
6156
|
* The Compac Sizer Name
|
|
5875
6157
|
*/
|
|
@@ -5879,7 +6161,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
|
|
|
5879
6161
|
*/
|
|
5880
6162
|
sizerType?: string;
|
|
5881
6163
|
/**
|
|
5882
|
-
* The Packing Line ID this Compac Sizer
|
|
6164
|
+
* The Packing Line ID that manages this Compac Sizer
|
|
5883
6165
|
*/
|
|
5884
6166
|
packingLineId?: string;
|
|
5885
6167
|
};
|
|
@@ -5890,7 +6172,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
|
|
|
5890
6172
|
/**
|
|
5891
6173
|
* The RTU this Compac Sizer belongs to
|
|
5892
6174
|
*/
|
|
5893
|
-
rtuId?: number;
|
|
6175
|
+
rtuId?: number | null;
|
|
5894
6176
|
/**
|
|
5895
6177
|
* The Compac Sizer Name
|
|
5896
6178
|
*/
|
|
@@ -5920,7 +6202,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
|
|
|
5920
6202
|
*/
|
|
5921
6203
|
fruitSizes?: any[];
|
|
5922
6204
|
/**
|
|
5923
|
-
* The Packing Line ID this Compac Sizer
|
|
6205
|
+
* The Packing Line ID that manages this Compac Sizer
|
|
5924
6206
|
*/
|
|
5925
6207
|
packingLineId: string;
|
|
5926
6208
|
/**
|
|
@@ -5965,7 +6247,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerControl
|
|
|
5965
6247
|
*/
|
|
5966
6248
|
fruitSizes?: any[];
|
|
5967
6249
|
/**
|
|
5968
|
-
* The Packing Line ID this Compac Sizer
|
|
6250
|
+
* The Packing Line ID that manages this Compac Sizer
|
|
5969
6251
|
*/
|
|
5970
6252
|
packingLineId?: string;
|
|
5971
6253
|
/**
|
|
@@ -6094,7 +6376,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletP
|
|
|
6094
6376
|
* @param {CompacSizerOutletProductChangeController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
6095
6377
|
* @return {Promise<CompacSizerOutletProductChangeModel[]>}
|
|
6096
6378
|
*/
|
|
6097
|
-
static getAll(siteId: number, queryParameters?: CompacSizerOutletProductChangeController.GetAllQueryParameters): Promise<CompacSizerOutletProductChangeModel[]>;
|
|
6379
|
+
static getAll(siteId: number, queryParameters?: CompacSizerOutletProductChangeController.GetAllQueryParameters | undefined): Promise<CompacSizerOutletProductChangeModel[]>;
|
|
6098
6380
|
/**
|
|
6099
6381
|
* Create a Compac Sizer Outlet Product Change [POST /packhouse/sites/{siteId}/compac-sizer-outlet-product-changes]
|
|
6100
6382
|
*
|
|
@@ -6122,11 +6404,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletP
|
|
|
6122
6404
|
/**
|
|
6123
6405
|
* The ID of the Previous Product that was active on the Outlet
|
|
6124
6406
|
*/
|
|
6125
|
-
previousProductId?: string;
|
|
6407
|
+
previousProductId?: string | null;
|
|
6126
6408
|
/**
|
|
6127
6409
|
* The Name of the Previous Product that was active on the Outlet
|
|
6128
6410
|
*/
|
|
6129
|
-
previousProductName?: string;
|
|
6411
|
+
previousProductName?: string | null;
|
|
6130
6412
|
/**
|
|
6131
6413
|
* The ID of the New Product that is now active on the Outlet
|
|
6132
6414
|
*/
|
|
@@ -6163,11 +6445,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletP
|
|
|
6163
6445
|
/**
|
|
6164
6446
|
* The ID of the Previous Product that was active on the Outlet
|
|
6165
6447
|
*/
|
|
6166
|
-
previousProductId?: string;
|
|
6448
|
+
previousProductId?: string | null;
|
|
6167
6449
|
/**
|
|
6168
6450
|
* The Name of the Previous Product that was active on the Outlet
|
|
6169
6451
|
*/
|
|
6170
|
-
previousProductName?: string;
|
|
6452
|
+
previousProductName?: string | null;
|
|
6171
6453
|
/**
|
|
6172
6454
|
* The ID of the New Product that is now active on the Outlet
|
|
6173
6455
|
*/
|
|
@@ -6192,11 +6474,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletP
|
|
|
6192
6474
|
/**
|
|
6193
6475
|
* The ID of the Previous Product that was active on the Outlet
|
|
6194
6476
|
*/
|
|
6195
|
-
previousProductId?: string;
|
|
6477
|
+
previousProductId?: string | null;
|
|
6196
6478
|
/**
|
|
6197
6479
|
* The Name of the Previous Product that was active on the Outlet
|
|
6198
6480
|
*/
|
|
6199
|
-
previousProductName?: string;
|
|
6481
|
+
previousProductName?: string | null;
|
|
6200
6482
|
/**
|
|
6201
6483
|
* The ID of the New Product that is now active on the Outlet
|
|
6202
6484
|
*/
|
|
@@ -6217,15 +6499,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletP
|
|
|
6217
6499
|
/**
|
|
6218
6500
|
* The Content of the Comment
|
|
6219
6501
|
*/
|
|
6220
|
-
content: string;
|
|
6502
|
+
content: string | null;
|
|
6221
6503
|
/**
|
|
6222
6504
|
* When the Comment was Created
|
|
6223
6505
|
*/
|
|
6224
|
-
createdTimestamp: Date;
|
|
6506
|
+
createdTimestamp: Date | null;
|
|
6225
6507
|
/**
|
|
6226
6508
|
* When the Comment was last Updated
|
|
6227
6509
|
*/
|
|
6228
|
-
updatedTimestamp: Date;
|
|
6510
|
+
updatedTimestamp: Date | null;
|
|
6229
6511
|
};
|
|
6230
6512
|
}
|
|
6231
6513
|
import CompacSizerOutletProductChangeModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletProductChangeModel";
|
|
@@ -6344,7 +6626,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletT
|
|
|
6344
6626
|
* @param {CompacSizerOutletTypeChangeController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
6345
6627
|
* @return {Promise<CompacSizerOutletTypeChangeModel[]>}
|
|
6346
6628
|
*/
|
|
6347
|
-
static getAll(siteId: number, queryParameters?: CompacSizerOutletTypeChangeController.GetAllQueryParameters): Promise<CompacSizerOutletTypeChangeModel[]>;
|
|
6629
|
+
static getAll(siteId: number, queryParameters?: CompacSizerOutletTypeChangeController.GetAllQueryParameters | undefined): Promise<CompacSizerOutletTypeChangeModel[]>;
|
|
6348
6630
|
/**
|
|
6349
6631
|
* Create a Compac Sizer Outlet Type Change [POST /packhouse/sites/{siteId}/compac-sizer-outlet-type-changes]
|
|
6350
6632
|
*
|
|
@@ -6372,7 +6654,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletT
|
|
|
6372
6654
|
/**
|
|
6373
6655
|
* The ID of the Previous Type that was active on the Outlet
|
|
6374
6656
|
*/
|
|
6375
|
-
previousTypeId?: string;
|
|
6657
|
+
previousTypeId?: string | null;
|
|
6376
6658
|
/**
|
|
6377
6659
|
* The ID of the New Type that is now active on the Outlet
|
|
6378
6660
|
*/
|
|
@@ -6405,7 +6687,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletT
|
|
|
6405
6687
|
/**
|
|
6406
6688
|
* The ID of the Previous Type that was active on the Outlet
|
|
6407
6689
|
*/
|
|
6408
|
-
previousTypeId?: string;
|
|
6690
|
+
previousTypeId?: string | null;
|
|
6409
6691
|
/**
|
|
6410
6692
|
* The ID of the New Type that is now active on the Outlet
|
|
6411
6693
|
*/
|
|
@@ -6426,7 +6708,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletT
|
|
|
6426
6708
|
/**
|
|
6427
6709
|
* The ID of the Previous Type that was active on the Outlet
|
|
6428
6710
|
*/
|
|
6429
|
-
previousTypeId?: string;
|
|
6711
|
+
previousTypeId?: string | null;
|
|
6430
6712
|
/**
|
|
6431
6713
|
* The ID of the New Type that is now active on the Outlet
|
|
6432
6714
|
*/
|
|
@@ -6443,15 +6725,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletT
|
|
|
6443
6725
|
/**
|
|
6444
6726
|
* The Content of the Comment
|
|
6445
6727
|
*/
|
|
6446
|
-
content: string;
|
|
6728
|
+
content: string | null;
|
|
6447
6729
|
/**
|
|
6448
6730
|
* When the Comment was Created
|
|
6449
6731
|
*/
|
|
6450
|
-
createdTimestamp: Date;
|
|
6732
|
+
createdTimestamp: Date | null;
|
|
6451
6733
|
/**
|
|
6452
6734
|
* When the Comment was last Updated
|
|
6453
6735
|
*/
|
|
6454
|
-
updatedTimestamp: Date;
|
|
6736
|
+
updatedTimestamp: Date | null;
|
|
6455
6737
|
};
|
|
6456
6738
|
}
|
|
6457
6739
|
import CompacSizerOutletTypeChangeModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel";
|
|
@@ -6505,7 +6787,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerOutletT
|
|
|
6505
6787
|
* @param {CompacSizerOutletTypeController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
6506
6788
|
* @return {Promise<CompacSizerOutletTypeModel[]>}
|
|
6507
6789
|
*/
|
|
6508
|
-
static getAll(siteId: number, queryParameters?: CompacSizerOutletTypeController.GetAllQueryParameters): Promise<CompacSizerOutletTypeModel[]>;
|
|
6790
|
+
static getAll(siteId: number, queryParameters?: CompacSizerOutletTypeController.GetAllQueryParameters | undefined): Promise<CompacSizerOutletTypeModel[]>;
|
|
6509
6791
|
/**
|
|
6510
6792
|
* Create a Compac Sizer Outlet Type [POST /packhouse/sites/{siteId}/compac-sizer-outlet-types]
|
|
6511
6793
|
*
|
|
@@ -6678,7 +6960,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6678
6960
|
* @param {CompacSizerPackrunSummaryController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
6679
6961
|
* @return {Promise<CompacSizerPackrunSummaryModel[]>}
|
|
6680
6962
|
*/
|
|
6681
|
-
static getAll(siteId: number, queryParameters?: CompacSizerPackrunSummaryController.GetAllQueryParameters): Promise<CompacSizerPackrunSummaryModel[]>;
|
|
6963
|
+
static getAll(siteId: number, queryParameters?: CompacSizerPackrunSummaryController.GetAllQueryParameters | undefined): Promise<CompacSizerPackrunSummaryModel[]>;
|
|
6682
6964
|
/**
|
|
6683
6965
|
* Create a Compac Sizer Packrun Summary [POST /packhouse/sites/{siteId}/compac-sizer-packrun-summaries]
|
|
6684
6966
|
*
|
|
@@ -6706,7 +6988,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6706
6988
|
/**
|
|
6707
6989
|
* The Time Batch this Summary is associated with
|
|
6708
6990
|
*/
|
|
6709
|
-
timeBatchId?: string;
|
|
6991
|
+
timeBatchId?: string | null;
|
|
6710
6992
|
/**
|
|
6711
6993
|
* Filter by the Timestamp when this Compac Sizer Packrun Summary was Created. Results Greater than or Equal to Timestamp
|
|
6712
6994
|
*/
|
|
@@ -6735,7 +7017,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6735
7017
|
/**
|
|
6736
7018
|
* The Time Batch this Summary is associated with
|
|
6737
7019
|
*/
|
|
6738
|
-
timeBatchId?: string;
|
|
7020
|
+
timeBatchId?: string | null;
|
|
6739
7021
|
/**
|
|
6740
7022
|
* An Array of Packrun Summary Data Objects for each Outlet
|
|
6741
7023
|
*/
|
|
@@ -6772,7 +7054,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6772
7054
|
/**
|
|
6773
7055
|
* The Time Batch this Summary is associated with
|
|
6774
7056
|
*/
|
|
6775
|
-
timeBatchId?: string;
|
|
7057
|
+
timeBatchId?: string | null;
|
|
6776
7058
|
/**
|
|
6777
7059
|
* An Array of Packrun Summary Data Objects for each Outlet
|
|
6778
7060
|
*/
|
|
@@ -6805,15 +7087,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6805
7087
|
/**
|
|
6806
7088
|
* The Content of the Comment
|
|
6807
7089
|
*/
|
|
6808
|
-
content: string;
|
|
7090
|
+
content: string | null;
|
|
6809
7091
|
/**
|
|
6810
7092
|
* When the Comment was Created
|
|
6811
7093
|
*/
|
|
6812
|
-
createdTimestamp: Date;
|
|
7094
|
+
createdTimestamp: Date | null;
|
|
6813
7095
|
/**
|
|
6814
7096
|
* When the Comment was last Updated
|
|
6815
7097
|
*/
|
|
6816
|
-
updatedTimestamp: Date;
|
|
7098
|
+
updatedTimestamp: Date | null;
|
|
6817
7099
|
};
|
|
6818
7100
|
/**
|
|
6819
7101
|
* A **OutletTotal** Type
|
|
@@ -6822,7 +7104,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6822
7104
|
/**
|
|
6823
7105
|
* The Class Type
|
|
6824
7106
|
*/
|
|
6825
|
-
classType: string;
|
|
7107
|
+
classType: string | null;
|
|
6826
7108
|
/**
|
|
6827
7109
|
* The Fruit Size
|
|
6828
7110
|
*/
|
|
@@ -6830,7 +7112,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6830
7112
|
/**
|
|
6831
7113
|
* The Pack Type
|
|
6832
7114
|
*/
|
|
6833
|
-
packType: string;
|
|
7115
|
+
packType: string | null;
|
|
6834
7116
|
/**
|
|
6835
7117
|
* The Weight expressed in Kilograms
|
|
6836
7118
|
*/
|
|
@@ -6842,7 +7124,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6842
7124
|
/**
|
|
6843
7125
|
* The Number of Packs
|
|
6844
7126
|
*/
|
|
6845
|
-
packCount: number;
|
|
7127
|
+
packCount: number | null;
|
|
6846
7128
|
};
|
|
6847
7129
|
/**
|
|
6848
7130
|
* A **OutletSummary** Type
|
|
@@ -6880,7 +7162,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6880
7162
|
/**
|
|
6881
7163
|
* The Name of the Product assigned to the Outlet
|
|
6882
7164
|
*/
|
|
6883
|
-
productName: string;
|
|
7165
|
+
productName: string | null;
|
|
6884
7166
|
};
|
|
6885
7167
|
/**
|
|
6886
7168
|
* A **OutletProductChange** Type
|
|
@@ -6901,7 +7183,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6901
7183
|
/**
|
|
6902
7184
|
* The Name of the new Product that has been assigned to the Outlet
|
|
6903
7185
|
*/
|
|
6904
|
-
productName: string;
|
|
7186
|
+
productName: string | null;
|
|
6905
7187
|
/**
|
|
6906
7188
|
* The ID of the associated *Compac Sizer Outlet Product Change*
|
|
6907
7189
|
*/
|
|
@@ -6922,7 +7204,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6922
7204
|
/**
|
|
6923
7205
|
* The Type ID configured on the Outlet. Only applies when the *type* is *Dynamic*
|
|
6924
7206
|
*/
|
|
6925
|
-
typeId: string;
|
|
7207
|
+
typeId: string | null;
|
|
6926
7208
|
};
|
|
6927
7209
|
/**
|
|
6928
7210
|
* A **OutletTypeChange** Type
|
|
@@ -6939,7 +7221,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/CompacSizerPackrun
|
|
|
6939
7221
|
/**
|
|
6940
7222
|
* The new Dynamic Type ID that has been configured for the Outlet
|
|
6941
7223
|
*/
|
|
6942
|
-
typeId: string;
|
|
7224
|
+
typeId: string | null;
|
|
6943
7225
|
};
|
|
6944
7226
|
}
|
|
6945
7227
|
import CompacSizerPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerPackrunSummaryModel";
|
|
@@ -7058,7 +7340,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventContr
|
|
|
7058
7340
|
* @param {DowntimeEventController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
7059
7341
|
* @return {Promise<DowntimeEventModel[]>}
|
|
7060
7342
|
*/
|
|
7061
|
-
static getAll(siteId: number, queryParameters?: DowntimeEventController.GetAllQueryParameters): Promise<DowntimeEventModel[]>;
|
|
7343
|
+
static getAll(siteId: number, queryParameters?: DowntimeEventController.GetAllQueryParameters | undefined): Promise<DowntimeEventModel[]>;
|
|
7062
7344
|
/**
|
|
7063
7345
|
* Create a Downtime Event [POST /packhouse/sites/{siteId}/downtime-events]
|
|
7064
7346
|
*
|
|
@@ -7086,11 +7368,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventContr
|
|
|
7086
7368
|
/**
|
|
7087
7369
|
* The Reason Category for this Downtime Event
|
|
7088
7370
|
*/
|
|
7089
|
-
reasonCategory?: string;
|
|
7371
|
+
reasonCategory?: string | null;
|
|
7090
7372
|
/**
|
|
7091
7373
|
* The Reason Tag for this Downtime Event
|
|
7092
7374
|
*/
|
|
7093
|
-
reasonTag?: string;
|
|
7375
|
+
reasonTag?: string | null;
|
|
7094
7376
|
/**
|
|
7095
7377
|
* The Source which Created this Downtime Event
|
|
7096
7378
|
*/
|
|
@@ -7155,23 +7437,23 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventContr
|
|
|
7155
7437
|
/**
|
|
7156
7438
|
* When this Downtime Event Ended
|
|
7157
7439
|
*/
|
|
7158
|
-
endTimestamp?: Date;
|
|
7440
|
+
endTimestamp?: Date | null;
|
|
7159
7441
|
/**
|
|
7160
7442
|
* The Reason Category for this Downtime Event
|
|
7161
7443
|
*/
|
|
7162
|
-
reasonCategory?: string;
|
|
7444
|
+
reasonCategory?: string | null;
|
|
7163
7445
|
/**
|
|
7164
7446
|
* The Reason Tag for this Downtime Event
|
|
7165
7447
|
*/
|
|
7166
|
-
reasonTag?: string;
|
|
7448
|
+
reasonTag?: string | null;
|
|
7167
7449
|
/**
|
|
7168
7450
|
* An Optional Summary of the Action taken to Remedy this Downtime Event
|
|
7169
7451
|
*/
|
|
7170
|
-
remedyAction?: string;
|
|
7452
|
+
remedyAction?: string | null;
|
|
7171
7453
|
/**
|
|
7172
7454
|
* An Optional Rating between 1 and 10 on how likely this Downtime Event could have been Avoided
|
|
7173
7455
|
*/
|
|
7174
|
-
avoidableRating?: number;
|
|
7456
|
+
avoidableRating?: number | null;
|
|
7175
7457
|
/**
|
|
7176
7458
|
* The Source which Created this Downtime Event
|
|
7177
7459
|
*/
|
|
@@ -7200,23 +7482,23 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventContr
|
|
|
7200
7482
|
/**
|
|
7201
7483
|
* When this Downtime Event Ended
|
|
7202
7484
|
*/
|
|
7203
|
-
endTimestamp?: Date;
|
|
7485
|
+
endTimestamp?: Date | null;
|
|
7204
7486
|
/**
|
|
7205
7487
|
* The Reason Category for this Downtime Event
|
|
7206
7488
|
*/
|
|
7207
|
-
reasonCategory?: string;
|
|
7489
|
+
reasonCategory?: string | null;
|
|
7208
7490
|
/**
|
|
7209
7491
|
* The Reason Tag for this Downtime Event
|
|
7210
7492
|
*/
|
|
7211
|
-
reasonTag?: string;
|
|
7493
|
+
reasonTag?: string | null;
|
|
7212
7494
|
/**
|
|
7213
7495
|
* An Optional Summary of the Action taken to Remedy this Downtime Event
|
|
7214
7496
|
*/
|
|
7215
|
-
remedyAction?: string;
|
|
7497
|
+
remedyAction?: string | null;
|
|
7216
7498
|
/**
|
|
7217
7499
|
* An Optional Rating between 1 and 10 on how likely this Downtime Event could have been Avoided
|
|
7218
7500
|
*/
|
|
7219
|
-
avoidableRating?: number;
|
|
7501
|
+
avoidableRating?: number | null;
|
|
7220
7502
|
/**
|
|
7221
7503
|
* The Source which Created this Downtime Event
|
|
7222
7504
|
*/
|
|
@@ -7237,15 +7519,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/DowntimeEventContr
|
|
|
7237
7519
|
/**
|
|
7238
7520
|
* The Content of the Comment
|
|
7239
7521
|
*/
|
|
7240
|
-
content: string;
|
|
7522
|
+
content: string | null;
|
|
7241
7523
|
/**
|
|
7242
7524
|
* When the Comment was Created
|
|
7243
7525
|
*/
|
|
7244
|
-
createdTimestamp: Date;
|
|
7526
|
+
createdTimestamp: Date | null;
|
|
7245
7527
|
/**
|
|
7246
7528
|
* When the Comment was last Updated
|
|
7247
7529
|
*/
|
|
7248
|
-
updatedTimestamp: Date;
|
|
7530
|
+
updatedTimestamp: Date | null;
|
|
7249
7531
|
};
|
|
7250
7532
|
}
|
|
7251
7533
|
import DowntimeEventModel from "@ricado/api-client/Models/Packhouse/Site/DowntimeEventModel";
|
|
@@ -7364,7 +7646,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSu
|
|
|
7364
7646
|
* @param {FreshPackPackrunSummaryController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
7365
7647
|
* @return {Promise<FreshPackPackrunSummaryModel[]>}
|
|
7366
7648
|
*/
|
|
7367
|
-
static getAll(siteId: number, queryParameters?: FreshPackPackrunSummaryController.GetAllQueryParameters): Promise<FreshPackPackrunSummaryModel[]>;
|
|
7649
|
+
static getAll(siteId: number, queryParameters?: FreshPackPackrunSummaryController.GetAllQueryParameters | undefined): Promise<FreshPackPackrunSummaryModel[]>;
|
|
7368
7650
|
/**
|
|
7369
7651
|
* Create a FreshPack Packrun Summary [POST /packhouse/sites/{siteId}/freshpack-packrun-summaries]
|
|
7370
7652
|
*
|
|
@@ -7392,7 +7674,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSu
|
|
|
7392
7674
|
/**
|
|
7393
7675
|
* The Time Batch this Summary is associated with
|
|
7394
7676
|
*/
|
|
7395
|
-
timeBatchId?: string;
|
|
7677
|
+
timeBatchId?: string | null;
|
|
7396
7678
|
/**
|
|
7397
7679
|
* Filter by the Timestamp when this FreshPack Packrun Summary was Created. Results Greater than or Equal to Timestamp
|
|
7398
7680
|
*/
|
|
@@ -7421,7 +7703,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSu
|
|
|
7421
7703
|
/**
|
|
7422
7704
|
* The Time Batch this Summary is associated with
|
|
7423
7705
|
*/
|
|
7424
|
-
timeBatchId?: string;
|
|
7706
|
+
timeBatchId?: string | null;
|
|
7425
7707
|
/**
|
|
7426
7708
|
* An Array of Tray Summary Data Objects for all Sizes and Class Types
|
|
7427
7709
|
*/
|
|
@@ -7442,7 +7724,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSu
|
|
|
7442
7724
|
/**
|
|
7443
7725
|
* The Time Batch this Summary is associated with
|
|
7444
7726
|
*/
|
|
7445
|
-
timeBatchId?: string;
|
|
7727
|
+
timeBatchId?: string | null;
|
|
7446
7728
|
/**
|
|
7447
7729
|
* An Array of Tray Summary Data Objects for all Sizes and Class Types
|
|
7448
7730
|
*/
|
|
@@ -7459,101 +7741,415 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshPackPackrunSu
|
|
|
7459
7741
|
/**
|
|
7460
7742
|
* The Content of the Comment
|
|
7461
7743
|
*/
|
|
7462
|
-
content: string;
|
|
7744
|
+
content: string | null;
|
|
7463
7745
|
/**
|
|
7464
7746
|
* When the Comment was Created
|
|
7465
7747
|
*/
|
|
7466
|
-
createdTimestamp: Date;
|
|
7748
|
+
createdTimestamp: Date | null;
|
|
7467
7749
|
/**
|
|
7468
7750
|
* When the Comment was last Updated
|
|
7469
7751
|
*/
|
|
7470
|
-
updatedTimestamp: Date;
|
|
7752
|
+
updatedTimestamp: Date | null;
|
|
7471
7753
|
};
|
|
7472
7754
|
}
|
|
7473
7755
|
import FreshPackPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummaryModel";
|
|
7474
7756
|
}
|
|
7475
7757
|
|
|
7476
|
-
declare module '@ricado/api-client/Controllers/Packhouse/Site/
|
|
7477
|
-
export default
|
|
7758
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/FreshQualityPackrunSummaryController' {
|
|
7759
|
+
export default FreshQualityPackrunSummaryController;
|
|
7478
7760
|
/**
|
|
7479
|
-
* Controller Class for
|
|
7761
|
+
* Controller Class for FreshQuality Packrun Summaries
|
|
7480
7762
|
*
|
|
7481
7763
|
* @class
|
|
7482
7764
|
*/
|
|
7483
|
-
class
|
|
7765
|
+
class FreshQualityPackrunSummaryController {
|
|
7484
7766
|
/**
|
|
7485
|
-
* Retrieve a
|
|
7767
|
+
* Retrieve a FreshQuality Packrun Summary [GET /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}]
|
|
7486
7768
|
*
|
|
7487
7769
|
* @static
|
|
7488
7770
|
* @public
|
|
7489
7771
|
* @param {number} siteId The Site ID
|
|
7490
|
-
* @param {string} id The
|
|
7491
|
-
* @return {Promise<
|
|
7772
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7773
|
+
* @return {Promise<FreshQualityPackrunSummaryModel>}
|
|
7492
7774
|
*/
|
|
7493
|
-
static getOne(siteId: number, id: string): Promise<
|
|
7775
|
+
static getOne(siteId: number, id: string): Promise<FreshQualityPackrunSummaryModel>;
|
|
7494
7776
|
/**
|
|
7495
|
-
* Update a
|
|
7777
|
+
* Update a FreshQuality Packrun Summary [PATCH /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}]
|
|
7496
7778
|
*
|
|
7497
7779
|
* @static
|
|
7498
7780
|
* @public
|
|
7499
7781
|
* @param {number} siteId The Site ID
|
|
7500
|
-
* @param {string} id The
|
|
7501
|
-
* @param {
|
|
7502
|
-
* @return {Promise<
|
|
7782
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7783
|
+
* @param {FreshQualityPackrunSummaryController.UpdateData} updateData The FreshQuality Packrun Summary Update Data
|
|
7784
|
+
* @return {Promise<FreshQualityPackrunSummaryModel>}
|
|
7503
7785
|
*/
|
|
7504
|
-
static update(siteId: number, id: string, updateData:
|
|
7786
|
+
static update(siteId: number, id: string, updateData: FreshQualityPackrunSummaryController.UpdateData): Promise<FreshQualityPackrunSummaryModel>;
|
|
7505
7787
|
/**
|
|
7506
|
-
* Delete a
|
|
7788
|
+
* Delete a FreshQuality Packrun Summary [DELETE /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}]
|
|
7507
7789
|
*
|
|
7508
7790
|
* @static
|
|
7509
7791
|
* @public
|
|
7510
7792
|
* @param {number} siteId The Site ID
|
|
7511
|
-
* @param {string} id The
|
|
7793
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7512
7794
|
* @return {Promise<boolean>}
|
|
7513
7795
|
*/
|
|
7514
7796
|
static delete(siteId: number, id: string): Promise<boolean>;
|
|
7515
7797
|
/**
|
|
7516
|
-
*
|
|
7798
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments]
|
|
7799
|
+
*
|
|
7800
|
+
* Retrieves Comments for a FreshQuality Packrun Summary
|
|
7517
7801
|
*
|
|
7518
7802
|
* @static
|
|
7519
7803
|
* @public
|
|
7520
7804
|
* @param {number} siteId The Site ID
|
|
7521
|
-
* @param {
|
|
7522
|
-
* @return {Promise<
|
|
7805
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7806
|
+
* @return {Promise<Array<FreshQualityPackrunSummaryController.CommentItem>>}
|
|
7523
7807
|
*/
|
|
7524
|
-
static
|
|
7808
|
+
static getComments(siteId: number, id: string): Promise<Array<FreshQualityPackrunSummaryController.CommentItem>>;
|
|
7525
7809
|
/**
|
|
7526
|
-
* Create a
|
|
7810
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments]
|
|
7811
|
+
*
|
|
7812
|
+
* Create a Comment for a FreshQuality Packrun Summary
|
|
7527
7813
|
*
|
|
7528
7814
|
* @static
|
|
7529
7815
|
* @public
|
|
7530
7816
|
* @param {number} siteId The Site ID
|
|
7531
|
-
* @param {
|
|
7532
|
-
* @
|
|
7817
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7818
|
+
* @param {string} content The Content of the New Comment
|
|
7819
|
+
* @return {Promise<FreshQualityPackrunSummaryController.CommentItem>}
|
|
7533
7820
|
*/
|
|
7534
|
-
static
|
|
7535
|
-
}
|
|
7536
|
-
namespace GrowingMethodController {
|
|
7821
|
+
static createComment(siteId: number, id: string, content: string): Promise<FreshQualityPackrunSummaryController.CommentItem>;
|
|
7537
7822
|
/**
|
|
7538
|
-
*
|
|
7823
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments/{commentId}]
|
|
7824
|
+
*
|
|
7825
|
+
* Retrieves Comments for a FreshQuality Packrun Summary
|
|
7826
|
+
*
|
|
7827
|
+
* @static
|
|
7828
|
+
* @public
|
|
7829
|
+
* @param {number} siteId The Site ID
|
|
7830
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7831
|
+
* @param {string} commentId The Comment ID
|
|
7832
|
+
* @return {Promise<FreshQualityPackrunSummaryController.CommentItem>}
|
|
7539
7833
|
*/
|
|
7540
|
-
|
|
7541
|
-
/**
|
|
7542
|
-
* The Growing Method Code
|
|
7543
|
-
*/
|
|
7544
|
-
code?: string;
|
|
7545
|
-
/**
|
|
7546
|
-
* The Growing Method Name
|
|
7547
|
-
*/
|
|
7548
|
-
name?: string;
|
|
7549
|
-
};
|
|
7834
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<FreshQualityPackrunSummaryController.CommentItem>;
|
|
7550
7835
|
/**
|
|
7551
|
-
*
|
|
7836
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments/{commentId}]
|
|
7837
|
+
*
|
|
7838
|
+
* Update a Comment for a FreshQuality Packrun Summary
|
|
7839
|
+
*
|
|
7840
|
+
* @static
|
|
7841
|
+
* @public
|
|
7842
|
+
* @param {number} siteId The Site ID
|
|
7843
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7844
|
+
* @param {string} commentId The Comment ID
|
|
7845
|
+
* @param {string} content The Updated Content for the Comment
|
|
7846
|
+
* @return {Promise<FreshQualityPackrunSummaryController.CommentItem>}
|
|
7552
7847
|
*/
|
|
7553
|
-
|
|
7554
|
-
|
|
7555
|
-
|
|
7556
|
-
|
|
7848
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<FreshQualityPackrunSummaryController.CommentItem>;
|
|
7849
|
+
/**
|
|
7850
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/freshquality-packrun-summaries/{id}/comments/{commentId}]
|
|
7851
|
+
*
|
|
7852
|
+
* Delete a Comment for a FreshQuality Packrun Summary
|
|
7853
|
+
*
|
|
7854
|
+
* @static
|
|
7855
|
+
* @public
|
|
7856
|
+
* @param {number} siteId The Site ID
|
|
7857
|
+
* @param {string} id The FreshQuality Packrun Summary ID
|
|
7858
|
+
* @param {string} commentId The Comment ID
|
|
7859
|
+
* @return {Promise<boolean>}
|
|
7860
|
+
*/
|
|
7861
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
7862
|
+
/**
|
|
7863
|
+
* List all FreshQuality Packrun Summaries [GET /packhouse/sites/{siteId}/freshquality-packrun-summaries]
|
|
7864
|
+
*
|
|
7865
|
+
* @static
|
|
7866
|
+
* @public
|
|
7867
|
+
* @param {number} siteId The Site ID
|
|
7868
|
+
* @param {FreshQualityPackrunSummaryController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
7869
|
+
* @return {Promise<FreshQualityPackrunSummaryModel[]>}
|
|
7870
|
+
*/
|
|
7871
|
+
static getAll(siteId: number, queryParameters?: FreshQualityPackrunSummaryController.GetAllQueryParameters | undefined): Promise<FreshQualityPackrunSummaryModel[]>;
|
|
7872
|
+
/**
|
|
7873
|
+
* Create a FreshQuality Packrun Summary [POST /packhouse/sites/{siteId}/freshquality-packrun-summaries]
|
|
7874
|
+
*
|
|
7875
|
+
* @static
|
|
7876
|
+
* @public
|
|
7877
|
+
* @param {number} siteId The Site ID
|
|
7878
|
+
* @param {FreshQualityPackrunSummaryController.CreateData} createData The FreshQuality Packrun Summary Create Data
|
|
7879
|
+
* @return {Promise<FreshQualityPackrunSummaryModel>}
|
|
7880
|
+
*/
|
|
7881
|
+
static create(siteId: number, createData: FreshQualityPackrunSummaryController.CreateData): Promise<FreshQualityPackrunSummaryModel>;
|
|
7882
|
+
}
|
|
7883
|
+
namespace FreshQualityPackrunSummaryController {
|
|
7884
|
+
/**
|
|
7885
|
+
* The Optional Query Parameters for the getAll Function
|
|
7886
|
+
*/
|
|
7887
|
+
export type GetAllQueryParameters = {
|
|
7888
|
+
/**
|
|
7889
|
+
* The Packing Line ID this Summary is associated with
|
|
7890
|
+
*/
|
|
7891
|
+
packingLineId?: string;
|
|
7892
|
+
/**
|
|
7893
|
+
* The Packrun ID this Summary is associated with
|
|
7894
|
+
*/
|
|
7895
|
+
packrunId?: string;
|
|
7896
|
+
/**
|
|
7897
|
+
* The Time Batch this Summary is associated with
|
|
7898
|
+
*/
|
|
7899
|
+
timeBatchId?: string | null;
|
|
7900
|
+
/**
|
|
7901
|
+
* Filter by the Timestamp when this FreshQuality Packrun Summary was Created. Results Greater than or Equal to Timestamp
|
|
7902
|
+
*/
|
|
7903
|
+
createdTimestampBegin?: Date;
|
|
7904
|
+
/**
|
|
7905
|
+
* Filter by the Timestamp when this FreshQuality Packrun Summary was Created. Results Less than or Equal to Timestamp
|
|
7906
|
+
*/
|
|
7907
|
+
createdTimestampEnd?: Date;
|
|
7908
|
+
};
|
|
7909
|
+
/**
|
|
7910
|
+
* The Create Data for a FreshQuality Packrun Summary
|
|
7911
|
+
*/
|
|
7912
|
+
export type CreateData = {
|
|
7913
|
+
/**
|
|
7914
|
+
* The Packing Line ID this Summary is associated with
|
|
7915
|
+
*/
|
|
7916
|
+
packingLineId: string;
|
|
7917
|
+
/**
|
|
7918
|
+
* The Packrun ID this Summary is associated with
|
|
7919
|
+
*/
|
|
7920
|
+
packrunId?: string;
|
|
7921
|
+
/**
|
|
7922
|
+
* When this Summary was Created
|
|
7923
|
+
*/
|
|
7924
|
+
createdTimestamp?: Date;
|
|
7925
|
+
/**
|
|
7926
|
+
* The Time Batch this Summary is associated with
|
|
7927
|
+
*/
|
|
7928
|
+
timeBatchId?: string | null;
|
|
7929
|
+
/**
|
|
7930
|
+
* An Array of Class 1 R600 Samples
|
|
7931
|
+
*/
|
|
7932
|
+
class1R600Samples?: Sample[];
|
|
7933
|
+
/**
|
|
7934
|
+
* An Array of Defect Category Summaries (e.g. Minor Packing Defects, Softs)
|
|
7935
|
+
*/
|
|
7936
|
+
categorySummaries?: CategorySummary[];
|
|
7937
|
+
/**
|
|
7938
|
+
* The Total Number of Fruit Sampled in this Packrun Summary
|
|
7939
|
+
*/
|
|
7940
|
+
totalFruitSampled?: number;
|
|
7941
|
+
};
|
|
7942
|
+
/**
|
|
7943
|
+
* The Update Data for a FreshQuality Packrun Summary
|
|
7944
|
+
*/
|
|
7945
|
+
export type UpdateData = {
|
|
7946
|
+
/**
|
|
7947
|
+
* The Packing Line ID this Summary is associated with
|
|
7948
|
+
*/
|
|
7949
|
+
packingLineId?: string;
|
|
7950
|
+
/**
|
|
7951
|
+
* When this Summary was Created
|
|
7952
|
+
*/
|
|
7953
|
+
createdTimestamp?: Date;
|
|
7954
|
+
/**
|
|
7955
|
+
* The Time Batch this Summary is associated with
|
|
7956
|
+
*/
|
|
7957
|
+
timeBatchId?: string | null;
|
|
7958
|
+
/**
|
|
7959
|
+
* An Array of Class 1 R600 Samples
|
|
7960
|
+
*/
|
|
7961
|
+
class1R600Samples?: Sample[];
|
|
7962
|
+
/**
|
|
7963
|
+
* An Array of Defect Category Summaries (e.g. Minor Packing Defects, Softs)
|
|
7964
|
+
*/
|
|
7965
|
+
categorySummaries?: CategorySummary[];
|
|
7966
|
+
/**
|
|
7967
|
+
* The Total Number of Fruit Sampled in this Packrun Summary
|
|
7968
|
+
*/
|
|
7969
|
+
totalFruitSampled?: number;
|
|
7970
|
+
};
|
|
7971
|
+
/**
|
|
7972
|
+
* A **CommentItem** Type
|
|
7973
|
+
*/
|
|
7974
|
+
export type CommentItem = {
|
|
7975
|
+
/**
|
|
7976
|
+
* The Comment ID
|
|
7977
|
+
*/
|
|
7978
|
+
id: string;
|
|
7979
|
+
/**
|
|
7980
|
+
* The Content of the Comment
|
|
7981
|
+
*/
|
|
7982
|
+
content: string | null;
|
|
7983
|
+
/**
|
|
7984
|
+
* When the Comment was Created
|
|
7985
|
+
*/
|
|
7986
|
+
createdTimestamp: Date | null;
|
|
7987
|
+
/**
|
|
7988
|
+
* When the Comment was last Updated
|
|
7989
|
+
*/
|
|
7990
|
+
updatedTimestamp: Date | null;
|
|
7991
|
+
};
|
|
7992
|
+
/**
|
|
7993
|
+
* A **SampleDefect** Type
|
|
7994
|
+
*/
|
|
7995
|
+
export type SampleDefect = {
|
|
7996
|
+
/**
|
|
7997
|
+
* The Defect Name
|
|
7998
|
+
*/
|
|
7999
|
+
name: string;
|
|
8000
|
+
/**
|
|
8001
|
+
* The Defect Group
|
|
8002
|
+
*/
|
|
8003
|
+
group: string;
|
|
8004
|
+
/**
|
|
8005
|
+
* The Number of Fruit with this Defect
|
|
8006
|
+
*/
|
|
8007
|
+
fruitCount: number;
|
|
8008
|
+
};
|
|
8009
|
+
/**
|
|
8010
|
+
* A **Sample** Type
|
|
8011
|
+
*/
|
|
8012
|
+
export type Sample = {
|
|
8013
|
+
/**
|
|
8014
|
+
* The Fruit Size for this Sample
|
|
8015
|
+
*/
|
|
8016
|
+
fruitSize: string;
|
|
8017
|
+
/**
|
|
8018
|
+
* The Pack Type for this Sample
|
|
8019
|
+
*/
|
|
8020
|
+
packType: string;
|
|
8021
|
+
/**
|
|
8022
|
+
* When this Sample was taken
|
|
8023
|
+
*/
|
|
8024
|
+
timestamp: Date;
|
|
8025
|
+
/**
|
|
8026
|
+
* The Total Number of Fruit Sampled
|
|
8027
|
+
*/
|
|
8028
|
+
fruitCount: number;
|
|
8029
|
+
/**
|
|
8030
|
+
* An Array of Defects found in this Sample
|
|
8031
|
+
*/
|
|
8032
|
+
defects: SampleDefect[];
|
|
8033
|
+
};
|
|
8034
|
+
/**
|
|
8035
|
+
* A **CategorySummaryDefect** Type
|
|
8036
|
+
*/
|
|
8037
|
+
export type CategorySummaryDefect = {
|
|
8038
|
+
/**
|
|
8039
|
+
* The Defect Name
|
|
8040
|
+
*/
|
|
8041
|
+
name: string;
|
|
8042
|
+
/**
|
|
8043
|
+
* The Number of Fruit with this Defect
|
|
8044
|
+
*/
|
|
8045
|
+
fruitCount: number;
|
|
8046
|
+
/**
|
|
8047
|
+
* The Percentage of Fruit with this Defect
|
|
8048
|
+
*/
|
|
8049
|
+
percentage: number;
|
|
8050
|
+
};
|
|
8051
|
+
/**
|
|
8052
|
+
* A **CategorySummary** Type
|
|
8053
|
+
*/
|
|
8054
|
+
export type CategorySummary = {
|
|
8055
|
+
/**
|
|
8056
|
+
* The Category Name (e.g. Minor Packing Defects, Softs)
|
|
8057
|
+
*/
|
|
8058
|
+
name: string;
|
|
8059
|
+
/**
|
|
8060
|
+
* The Percentage of all Fruit Sampled that have Defects in this Category
|
|
8061
|
+
*/
|
|
8062
|
+
percentage: number;
|
|
8063
|
+
/**
|
|
8064
|
+
* An Array of Defects within this Category Summary
|
|
8065
|
+
*/
|
|
8066
|
+
defects: CategorySummaryDefect[];
|
|
8067
|
+
};
|
|
8068
|
+
}
|
|
8069
|
+
import FreshQualityPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/FreshQualityPackrunSummaryModel";
|
|
8070
|
+
}
|
|
8071
|
+
|
|
8072
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/GrowingMethodController' {
|
|
8073
|
+
export default GrowingMethodController;
|
|
8074
|
+
/**
|
|
8075
|
+
* Controller Class for Growing Methods
|
|
8076
|
+
*
|
|
8077
|
+
* @class
|
|
8078
|
+
*/
|
|
8079
|
+
class GrowingMethodController {
|
|
8080
|
+
/**
|
|
8081
|
+
* Retrieve a Growing Method [GET /packhouse/sites/{siteId}/growing-methods/{id}]
|
|
8082
|
+
*
|
|
8083
|
+
* @static
|
|
8084
|
+
* @public
|
|
8085
|
+
* @param {number} siteId The Site ID
|
|
8086
|
+
* @param {string} id The Growing Method ID
|
|
8087
|
+
* @return {Promise<GrowingMethodModel>}
|
|
8088
|
+
*/
|
|
8089
|
+
static getOne(siteId: number, id: string): Promise<GrowingMethodModel>;
|
|
8090
|
+
/**
|
|
8091
|
+
* Update a Growing Method [PATCH /packhouse/sites/{siteId}/growing-methods/{id}]
|
|
8092
|
+
*
|
|
8093
|
+
* @static
|
|
8094
|
+
* @public
|
|
8095
|
+
* @param {number} siteId The Site ID
|
|
8096
|
+
* @param {string} id The Growing Method ID
|
|
8097
|
+
* @param {GrowingMethodController.UpdateData} updateData The Growing Method Update Data
|
|
8098
|
+
* @return {Promise<GrowingMethodModel>}
|
|
8099
|
+
*/
|
|
8100
|
+
static update(siteId: number, id: string, updateData: GrowingMethodController.UpdateData): Promise<GrowingMethodModel>;
|
|
8101
|
+
/**
|
|
8102
|
+
* Delete a Growing Method [DELETE /packhouse/sites/{siteId}/growing-methods/{id}]
|
|
8103
|
+
*
|
|
8104
|
+
* @static
|
|
8105
|
+
* @public
|
|
8106
|
+
* @param {number} siteId The Site ID
|
|
8107
|
+
* @param {string} id The Growing Method ID
|
|
8108
|
+
* @return {Promise<boolean>}
|
|
8109
|
+
*/
|
|
8110
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
8111
|
+
/**
|
|
8112
|
+
* List all Growing Methods [GET /packhouse/sites/{siteId}/growing-methods]
|
|
8113
|
+
*
|
|
8114
|
+
* @static
|
|
8115
|
+
* @public
|
|
8116
|
+
* @param {number} siteId The Site ID
|
|
8117
|
+
* @param {GrowingMethodController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
8118
|
+
* @return {Promise<GrowingMethodModel[]>}
|
|
8119
|
+
*/
|
|
8120
|
+
static getAll(siteId: number, queryParameters?: GrowingMethodController.GetAllQueryParameters | undefined): Promise<GrowingMethodModel[]>;
|
|
8121
|
+
/**
|
|
8122
|
+
* Create a Growing Method [POST /packhouse/sites/{siteId}/growing-methods]
|
|
8123
|
+
*
|
|
8124
|
+
* @static
|
|
8125
|
+
* @public
|
|
8126
|
+
* @param {number} siteId The Site ID
|
|
8127
|
+
* @param {GrowingMethodController.CreateData} createData The Growing Method Create Data
|
|
8128
|
+
* @return {Promise<GrowingMethodModel>}
|
|
8129
|
+
*/
|
|
8130
|
+
static create(siteId: number, createData: GrowingMethodController.CreateData): Promise<GrowingMethodModel>;
|
|
8131
|
+
}
|
|
8132
|
+
namespace GrowingMethodController {
|
|
8133
|
+
/**
|
|
8134
|
+
* The Optional Query Parameters for the getAll Function
|
|
8135
|
+
*/
|
|
8136
|
+
export type GetAllQueryParameters = {
|
|
8137
|
+
/**
|
|
8138
|
+
* The Growing Method Code
|
|
8139
|
+
*/
|
|
8140
|
+
code?: string;
|
|
8141
|
+
/**
|
|
8142
|
+
* The Growing Method Name
|
|
8143
|
+
*/
|
|
8144
|
+
name?: string;
|
|
8145
|
+
};
|
|
8146
|
+
/**
|
|
8147
|
+
* The Create Data for a Growing Method
|
|
8148
|
+
*/
|
|
8149
|
+
export type CreateData = {
|
|
8150
|
+
/**
|
|
8151
|
+
* The Growing Method Code
|
|
8152
|
+
*/
|
|
7557
8153
|
code?: string;
|
|
7558
8154
|
/**
|
|
7559
8155
|
* The Growing Method Name
|
|
@@ -7629,7 +8225,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackTypeController
|
|
|
7629
8225
|
* @param {PackTypeController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
7630
8226
|
* @return {Promise<PackTypeModel[]>}
|
|
7631
8227
|
*/
|
|
7632
|
-
static getAll(siteId: number, queryParameters?: PackTypeController.GetAllQueryParameters): Promise<PackTypeModel[]>;
|
|
8228
|
+
static getAll(siteId: number, queryParameters?: PackTypeController.GetAllQueryParameters | undefined): Promise<PackTypeModel[]>;
|
|
7633
8229
|
/**
|
|
7634
8230
|
* Create a Pack Type [POST /packhouse/sites/{siteId}/pack-types]
|
|
7635
8231
|
*
|
|
@@ -7766,7 +8362,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7766
8362
|
* @param {PackingLineController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
7767
8363
|
* @return {Promise<PackingLineModel[]>}
|
|
7768
8364
|
*/
|
|
7769
|
-
static getAll(siteId: number, queryParameters?: PackingLineController.GetAllQueryParameters): Promise<PackingLineModel[]>;
|
|
8365
|
+
static getAll(siteId: number, queryParameters?: PackingLineController.GetAllQueryParameters | undefined): Promise<PackingLineModel[]>;
|
|
7770
8366
|
/**
|
|
7771
8367
|
* Create a Packing Line [POST /packhouse/sites/{siteId}/packing-lines]
|
|
7772
8368
|
*
|
|
@@ -7786,7 +8382,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7786
8382
|
/**
|
|
7787
8383
|
* The RTU this Packing Line belongs to
|
|
7788
8384
|
*/
|
|
7789
|
-
rtuId?: number;
|
|
8385
|
+
rtuId?: number | null;
|
|
7790
8386
|
/**
|
|
7791
8387
|
* The Packing Line Name
|
|
7792
8388
|
*/
|
|
@@ -7799,7 +8395,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7799
8395
|
/**
|
|
7800
8396
|
* The RTU this Packing Line belongs to
|
|
7801
8397
|
*/
|
|
7802
|
-
rtuId?: number;
|
|
8398
|
+
rtuId?: number | null;
|
|
7803
8399
|
/**
|
|
7804
8400
|
* The Packing Line Name
|
|
7805
8401
|
*/
|
|
@@ -7820,6 +8416,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7820
8416
|
* The Reject Bin Scale Objects that belong to this Packing Line
|
|
7821
8417
|
*/
|
|
7822
8418
|
rejectBinScales?: any[];
|
|
8419
|
+
/**
|
|
8420
|
+
* An Optional Secondary Packing Line Reference
|
|
8421
|
+
*/
|
|
8422
|
+
secondaryPackingLine?: any;
|
|
7823
8423
|
/**
|
|
7824
8424
|
* The Automation Object for this Packing Line
|
|
7825
8425
|
*/
|
|
@@ -7835,7 +8435,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7835
8435
|
/**
|
|
7836
8436
|
* The Optional Shift Management Object for this Packing Line
|
|
7837
8437
|
*/
|
|
7838
|
-
shiftManagement?: ShiftManagement;
|
|
8438
|
+
shiftManagement?: ShiftManagement | null;
|
|
8439
|
+
/**
|
|
8440
|
+
* The Advanced Packrun Management Configuration for this Packing Line
|
|
8441
|
+
*/
|
|
8442
|
+
advancedPackrunManagement?: any;
|
|
8443
|
+
/**
|
|
8444
|
+
* The MAF Integration Configuration for this Packing Line
|
|
8445
|
+
*/
|
|
8446
|
+
mafIntegration?: any;
|
|
7839
8447
|
/**
|
|
7840
8448
|
* The FreshPack Integration Configuration for this Packing Line
|
|
7841
8449
|
*/
|
|
@@ -7869,6 +8477,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7869
8477
|
* The Reject Bin Scale Objects that belong to this Packing Line
|
|
7870
8478
|
*/
|
|
7871
8479
|
rejectBinScales?: any[];
|
|
8480
|
+
/**
|
|
8481
|
+
* An Optional Secondary Packing Line Reference
|
|
8482
|
+
*/
|
|
8483
|
+
secondaryPackingLine?: any;
|
|
7872
8484
|
/**
|
|
7873
8485
|
* The Automation Object for this Packing Line
|
|
7874
8486
|
*/
|
|
@@ -7884,7 +8496,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7884
8496
|
/**
|
|
7885
8497
|
* The Optional Shift Management Object for this Packing Line
|
|
7886
8498
|
*/
|
|
7887
|
-
shiftManagement?: ShiftManagement;
|
|
8499
|
+
shiftManagement?: ShiftManagement | null;
|
|
8500
|
+
/**
|
|
8501
|
+
* The Advanced Packrun Management Configuration for this Packing Line
|
|
8502
|
+
*/
|
|
8503
|
+
advancedPackrunManagement?: any;
|
|
8504
|
+
/**
|
|
8505
|
+
* The MAF Integration Configuration for this Packing Line
|
|
8506
|
+
*/
|
|
8507
|
+
mafIntegration?: any;
|
|
7888
8508
|
/**
|
|
7889
8509
|
* The FreshPack Integration Configuration for this Packing Line
|
|
7890
8510
|
*/
|
|
@@ -7895,11 +8515,45 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7895
8515
|
freshQualityIntegration?: any;
|
|
7896
8516
|
};
|
|
7897
8517
|
/**
|
|
7898
|
-
* A **
|
|
8518
|
+
* A **ShiftTaskTagDefinition** Type
|
|
7899
8519
|
*/
|
|
7900
|
-
export type
|
|
8520
|
+
export type ShiftTaskTagDefinition = {
|
|
7901
8521
|
/**
|
|
7902
|
-
* The
|
|
8522
|
+
* The Unique Tag ID
|
|
8523
|
+
*/
|
|
8524
|
+
id: string;
|
|
8525
|
+
/**
|
|
8526
|
+
* The Tag Display Name
|
|
8527
|
+
*/
|
|
8528
|
+
name: string;
|
|
8529
|
+
/**
|
|
8530
|
+
* The Tag Display Color
|
|
8531
|
+
*/
|
|
8532
|
+
color: string;
|
|
8533
|
+
/**
|
|
8534
|
+
* Whether the Tag has been Deleted
|
|
8535
|
+
*/
|
|
8536
|
+
deleted: boolean;
|
|
8537
|
+
};
|
|
8538
|
+
/**
|
|
8539
|
+
* A **ShiftTaskDefinition** Type
|
|
8540
|
+
*/
|
|
8541
|
+
export type ShiftTaskDefinition = {
|
|
8542
|
+
/**
|
|
8543
|
+
* The Task Type
|
|
8544
|
+
*/
|
|
8545
|
+
type: string;
|
|
8546
|
+
/**
|
|
8547
|
+
* An Array of Tags defined for the Task Type
|
|
8548
|
+
*/
|
|
8549
|
+
tags: ShiftTaskTagDefinition[];
|
|
8550
|
+
};
|
|
8551
|
+
/**
|
|
8552
|
+
* A **ShiftManagement** Type
|
|
8553
|
+
*/
|
|
8554
|
+
export type ShiftManagement = {
|
|
8555
|
+
/**
|
|
8556
|
+
* The Points used for Shift Management
|
|
7903
8557
|
*/
|
|
7904
8558
|
points: {
|
|
7905
8559
|
currentShiftId: number;
|
|
@@ -7910,12 +8564,52 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
7910
8564
|
currentFocusMeetingId: number;
|
|
7911
8565
|
startFocusMeetingRequest: number;
|
|
7912
8566
|
finishFocusMeetingRequest: number;
|
|
8567
|
+
currentShiftStatus: number;
|
|
8568
|
+
currentShiftModifyHourlyEntryRequest: number;
|
|
7913
8569
|
shiftSchedules: number;
|
|
8570
|
+
currentShiftClass1TraysPerHourTarget: number;
|
|
8571
|
+
currentShiftClass1TraysPerHourAdjustedTarget: number;
|
|
8572
|
+
currentShiftClass1TraysPerHour: number;
|
|
8573
|
+
currentShiftCostPerTrayTarget: number;
|
|
8574
|
+
currentShiftCostPerTrayAdjustedTarget: number;
|
|
8575
|
+
currentShiftCostPerTray: number;
|
|
8576
|
+
currentShiftManningTarget: number;
|
|
8577
|
+
currentShiftClass1Manning: number;
|
|
8578
|
+
currentShiftClass2Manning: number;
|
|
8579
|
+
currentShiftQualityR600IdealTarget: number;
|
|
8580
|
+
currentShiftQualityR600Ideal: number;
|
|
8581
|
+
currentShiftScorePercentage: number;
|
|
8582
|
+
class1TraysPerHourTargets: number;
|
|
8583
|
+
costPerTrayTargets: number;
|
|
8584
|
+
manningTargets: number;
|
|
8585
|
+
qualityR600IdealTargets: number;
|
|
8586
|
+
costPerManningUnitHour: number;
|
|
8587
|
+
class1TraysPerHourScoreWeighting: number;
|
|
8588
|
+
costPerTrayScoreWeighting: number;
|
|
8589
|
+
qualityR600IdealScoreWeighting: number;
|
|
7914
8590
|
};
|
|
8591
|
+
/**
|
|
8592
|
+
* An Optional Array of Configuration Data for Custom Qualities in Shift Management
|
|
8593
|
+
*/
|
|
8594
|
+
customQualityConfiguration: {
|
|
8595
|
+
id: string;
|
|
8596
|
+
name: string;
|
|
8597
|
+
type: string;
|
|
8598
|
+
points: {
|
|
8599
|
+
currentShiftCustomQualityTarget: number;
|
|
8600
|
+
currentShiftCustomQualityValue: number;
|
|
8601
|
+
customQualityTargets: number;
|
|
8602
|
+
customQualityScoreWeighting: number;
|
|
8603
|
+
};
|
|
8604
|
+
}[];
|
|
7915
8605
|
/**
|
|
7916
8606
|
* Whether Shift Management is Enabled on this Packing Line
|
|
7917
8607
|
*/
|
|
7918
8608
|
enabled: boolean;
|
|
8609
|
+
/**
|
|
8610
|
+
* An Array of Shift Task Types for this Packing Line
|
|
8611
|
+
*/
|
|
8612
|
+
taskDefinitions: ShiftTaskDefinition[];
|
|
7919
8613
|
};
|
|
7920
8614
|
}
|
|
7921
8615
|
import PackingLineModel from "@ricado/api-client/Models/Packhouse/Site/PackingLineModel";
|
|
@@ -8058,7 +8752,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8058
8752
|
* @param {PackrunController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
8059
8753
|
* @return {Promise<PackrunModel[]>}
|
|
8060
8754
|
*/
|
|
8061
|
-
static getAll(siteId: number, queryParameters?: PackrunController.GetAllQueryParameters): Promise<PackrunModel[]>;
|
|
8755
|
+
static getAll(siteId: number, queryParameters?: PackrunController.GetAllQueryParameters | undefined): Promise<PackrunModel[]>;
|
|
8062
8756
|
/**
|
|
8063
8757
|
* Create a Packrun [POST /packhouse/sites/{siteId}/packruns]
|
|
8064
8758
|
*
|
|
@@ -8102,7 +8796,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8102
8796
|
/**
|
|
8103
8797
|
* The Growing Method for this Packrun
|
|
8104
8798
|
*/
|
|
8105
|
-
growingMethodId?: string;
|
|
8799
|
+
growingMethodId?: string | null;
|
|
8800
|
+
/**
|
|
8801
|
+
* The FreshPack Grader ID associated with this Packrun
|
|
8802
|
+
*/
|
|
8803
|
+
freshPackGraderId?: number | null;
|
|
8804
|
+
/**
|
|
8805
|
+
* The FreshPack Bin Lot Code associated with this Packrun
|
|
8806
|
+
*/
|
|
8807
|
+
freshPackBinLotCode?: string | null;
|
|
8106
8808
|
/**
|
|
8107
8809
|
* Filter by the Timestamp when this Packrun was Created. Results Greater than or Equal to Timestamp
|
|
8108
8810
|
*/
|
|
@@ -8159,11 +8861,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8159
8861
|
/**
|
|
8160
8862
|
* When this Packrun was Started
|
|
8161
8863
|
*/
|
|
8162
|
-
startTimestamp?: Date;
|
|
8864
|
+
startTimestamp?: Date | null;
|
|
8163
8865
|
/**
|
|
8164
8866
|
* When this Packrun was Finished
|
|
8165
8867
|
*/
|
|
8166
|
-
finishTimestamp?: Date;
|
|
8868
|
+
finishTimestamp?: Date | null;
|
|
8167
8869
|
/**
|
|
8168
8870
|
* The Variety for this Packrun
|
|
8169
8871
|
*/
|
|
@@ -8171,7 +8873,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8171
8873
|
/**
|
|
8172
8874
|
* The Growing Method for this Packrun
|
|
8173
8875
|
*/
|
|
8174
|
-
growingMethodId?: string;
|
|
8876
|
+
growingMethodId?: string | null;
|
|
8175
8877
|
/**
|
|
8176
8878
|
* The Number of Allocated Bins for this Packrun
|
|
8177
8879
|
*/
|
|
@@ -8180,6 +8882,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8180
8882
|
* The Time Batches for this Packrun
|
|
8181
8883
|
*/
|
|
8182
8884
|
timeBatches?: any[];
|
|
8885
|
+
/**
|
|
8886
|
+
* The FreshPack Grader ID associated with this Packrun
|
|
8887
|
+
*/
|
|
8888
|
+
freshPackGraderId?: number | null;
|
|
8889
|
+
/**
|
|
8890
|
+
* The FreshPack Bin Lot Code associated with this Packrun
|
|
8891
|
+
*/
|
|
8892
|
+
freshPackBinLotCode?: string | null;
|
|
8893
|
+
/**
|
|
8894
|
+
* The FreshPack Produce Code associated with this Packrun
|
|
8895
|
+
*/
|
|
8896
|
+
freshPackProduceCode?: string | null;
|
|
8183
8897
|
};
|
|
8184
8898
|
/**
|
|
8185
8899
|
* The Update Data for a Packrun
|
|
@@ -8208,11 +8922,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8208
8922
|
/**
|
|
8209
8923
|
* When this Packrun was Started
|
|
8210
8924
|
*/
|
|
8211
|
-
startTimestamp?: Date;
|
|
8925
|
+
startTimestamp?: Date | null;
|
|
8212
8926
|
/**
|
|
8213
8927
|
* When this Packrun was Finished
|
|
8214
8928
|
*/
|
|
8215
|
-
finishTimestamp?: Date;
|
|
8929
|
+
finishTimestamp?: Date | null;
|
|
8216
8930
|
/**
|
|
8217
8931
|
* The Variety for this Packrun
|
|
8218
8932
|
*/
|
|
@@ -8220,7 +8934,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8220
8934
|
/**
|
|
8221
8935
|
* The Growing Method for this Packrun
|
|
8222
8936
|
*/
|
|
8223
|
-
growingMethodId?: string;
|
|
8937
|
+
growingMethodId?: string | null;
|
|
8224
8938
|
/**
|
|
8225
8939
|
* The Number of Allocated Bins for this Packrun
|
|
8226
8940
|
*/
|
|
@@ -8229,6 +8943,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8229
8943
|
* The Time Batches for this Packrun
|
|
8230
8944
|
*/
|
|
8231
8945
|
timeBatches?: any[];
|
|
8946
|
+
/**
|
|
8947
|
+
* The FreshPack Grader ID associated with this Packrun
|
|
8948
|
+
*/
|
|
8949
|
+
freshPackGraderId?: number | null;
|
|
8950
|
+
/**
|
|
8951
|
+
* The FreshPack Bin Lot Code associated with this Packrun
|
|
8952
|
+
*/
|
|
8953
|
+
freshPackBinLotCode?: string | null;
|
|
8954
|
+
/**
|
|
8955
|
+
* The FreshPack Produce Code associated with this Packrun
|
|
8956
|
+
*/
|
|
8957
|
+
freshPackProduceCode?: string | null;
|
|
8232
8958
|
};
|
|
8233
8959
|
/**
|
|
8234
8960
|
* A **CommentItem** Type
|
|
@@ -8241,15 +8967,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8241
8967
|
/**
|
|
8242
8968
|
* The Content of the Comment
|
|
8243
8969
|
*/
|
|
8244
|
-
content: string;
|
|
8970
|
+
content: string | null;
|
|
8245
8971
|
/**
|
|
8246
8972
|
* When the Comment was Created
|
|
8247
8973
|
*/
|
|
8248
|
-
createdTimestamp: Date;
|
|
8974
|
+
createdTimestamp: Date | null;
|
|
8249
8975
|
/**
|
|
8250
8976
|
* When the Comment was last Updated
|
|
8251
8977
|
*/
|
|
8252
|
-
updatedTimestamp: Date;
|
|
8978
|
+
updatedTimestamp: Date | null;
|
|
8253
8979
|
};
|
|
8254
8980
|
/**
|
|
8255
8981
|
* A **TimeBatchItem** Type
|
|
@@ -8412,15 +9138,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8412
9138
|
/**
|
|
8413
9139
|
* The Maturity Area
|
|
8414
9140
|
*/
|
|
8415
|
-
maturityArea: string;
|
|
9141
|
+
maturityArea: string | null;
|
|
8416
9142
|
/**
|
|
8417
9143
|
* When the Packrun was Started
|
|
8418
9144
|
*/
|
|
8419
|
-
startTimestamp: Date;
|
|
9145
|
+
startTimestamp: Date | null;
|
|
8420
9146
|
/**
|
|
8421
9147
|
* When the Packrun was Finished
|
|
8422
9148
|
*/
|
|
8423
|
-
finishTimestamp: Date;
|
|
9149
|
+
finishTimestamp: Date | null;
|
|
8424
9150
|
/**
|
|
8425
9151
|
* The Number of Bins Allocated for the Packrun
|
|
8426
9152
|
*/
|
|
@@ -8444,7 +9170,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8444
9170
|
/**
|
|
8445
9171
|
* The Packing Line Name
|
|
8446
9172
|
*/
|
|
8447
|
-
packingLineName: string;
|
|
9173
|
+
packingLineName: string | null;
|
|
8448
9174
|
/**
|
|
8449
9175
|
* An Array of Class Types for the Packing Line
|
|
8450
9176
|
*/
|
|
@@ -8526,11 +9252,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8526
9252
|
/**
|
|
8527
9253
|
* When the Packrun was Started
|
|
8528
9254
|
*/
|
|
8529
|
-
startTimestamp: Date;
|
|
9255
|
+
startTimestamp: Date | null;
|
|
8530
9256
|
/**
|
|
8531
9257
|
* When the Packrun was Finished
|
|
8532
9258
|
*/
|
|
8533
|
-
finishTimestamp: Date;
|
|
9259
|
+
finishTimestamp: Date | null;
|
|
8534
9260
|
/**
|
|
8535
9261
|
* The Packing Line ID
|
|
8536
9262
|
*/
|
|
@@ -8538,7 +9264,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8538
9264
|
/**
|
|
8539
9265
|
* The Packing Line Name
|
|
8540
9266
|
*/
|
|
8541
|
-
packingLineName: string;
|
|
9267
|
+
packingLineName: string | null;
|
|
8542
9268
|
/**
|
|
8543
9269
|
* The Grower Name
|
|
8544
9270
|
*/
|
|
@@ -8550,7 +9276,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8550
9276
|
/**
|
|
8551
9277
|
* The Maturity Area
|
|
8552
9278
|
*/
|
|
8553
|
-
maturityArea: string;
|
|
9279
|
+
maturityArea: string | null;
|
|
8554
9280
|
/**
|
|
8555
9281
|
* The Number of Bins Allocated for the Packrun
|
|
8556
9282
|
*/
|
|
@@ -8583,6 +9309,14 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
8583
9309
|
* The Total Duration of all Soft-Sort Events for the Packrun expressed in Seconds
|
|
8584
9310
|
*/
|
|
8585
9311
|
totalSoftSortEventsDuration: number;
|
|
9312
|
+
/**
|
|
9313
|
+
* Whether the Soft-Sort Events Data is considered accurate or not
|
|
9314
|
+
*/
|
|
9315
|
+
softSortEventsIsAccurate: boolean | null;
|
|
9316
|
+
/**
|
|
9317
|
+
* A Reason for why the Soft-Sort Events Data is not accurate. Applies when `softSortEventsIsAccurate` is false
|
|
9318
|
+
*/
|
|
9319
|
+
softSortEventsNotAccurateReason: string | null;
|
|
8586
9320
|
};
|
|
8587
9321
|
}
|
|
8588
9322
|
import PackrunModel from "@ricado/api-client/Models/Packhouse/Site/PackrunModel";
|
|
@@ -8701,7 +9435,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinControlle
|
|
|
8701
9435
|
* @param {RejectBinController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
8702
9436
|
* @return {Promise<RejectBinModel[]>}
|
|
8703
9437
|
*/
|
|
8704
|
-
static getAll(siteId: number, queryParameters?: RejectBinController.GetAllQueryParameters): Promise<RejectBinModel[]>;
|
|
9438
|
+
static getAll(siteId: number, queryParameters?: RejectBinController.GetAllQueryParameters | undefined): Promise<RejectBinModel[]>;
|
|
8705
9439
|
/**
|
|
8706
9440
|
* Create a Reject Bin [POST /packhouse/sites/{siteId}/reject-bins]
|
|
8707
9441
|
*
|
|
@@ -8762,11 +9496,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinControlle
|
|
|
8762
9496
|
/**
|
|
8763
9497
|
* The Tare Weight Captured by the Reject Bin Scale
|
|
8764
9498
|
*/
|
|
8765
|
-
tareWeight?: number;
|
|
9499
|
+
tareWeight?: number | null;
|
|
8766
9500
|
/**
|
|
8767
9501
|
* When this Reject Bin was Finalized (No new Weights)
|
|
8768
9502
|
*/
|
|
8769
|
-
finalizedTimestamp?: Date;
|
|
9503
|
+
finalizedTimestamp?: Date | null;
|
|
8770
9504
|
/**
|
|
8771
9505
|
* The Multi-Grower Bins that will be submitted to FreshPack
|
|
8772
9506
|
*/
|
|
@@ -8791,11 +9525,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinControlle
|
|
|
8791
9525
|
/**
|
|
8792
9526
|
* The Tare Weight Captured by the Reject Bin Scale
|
|
8793
9527
|
*/
|
|
8794
|
-
tareWeight?: number;
|
|
9528
|
+
tareWeight?: number | null;
|
|
8795
9529
|
/**
|
|
8796
9530
|
* When this Reject Bin was Finalized (No new Weights)
|
|
8797
9531
|
*/
|
|
8798
|
-
finalizedTimestamp?: Date;
|
|
9532
|
+
finalizedTimestamp?: Date | null;
|
|
8799
9533
|
/**
|
|
8800
9534
|
* The Multi-Grower Bins that will be submitted to FreshPack
|
|
8801
9535
|
*/
|
|
@@ -8812,15 +9546,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinControlle
|
|
|
8812
9546
|
/**
|
|
8813
9547
|
* The Content of the Comment
|
|
8814
9548
|
*/
|
|
8815
|
-
content: string;
|
|
9549
|
+
content: string | null;
|
|
8816
9550
|
/**
|
|
8817
9551
|
* When the Comment was Created
|
|
8818
9552
|
*/
|
|
8819
|
-
createdTimestamp: Date;
|
|
9553
|
+
createdTimestamp: Date | null;
|
|
8820
9554
|
/**
|
|
8821
9555
|
* When the Comment was last Updated
|
|
8822
9556
|
*/
|
|
8823
|
-
updatedTimestamp: Date;
|
|
9557
|
+
updatedTimestamp: Date | null;
|
|
8824
9558
|
};
|
|
8825
9559
|
}
|
|
8826
9560
|
import RejectBinModel from "@ricado/api-client/Models/Packhouse/Site/RejectBinModel";
|
|
@@ -8874,7 +9608,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8874
9608
|
* @param {RejectBinScaleController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
8875
9609
|
* @return {Promise<RejectBinScaleModel[]>}
|
|
8876
9610
|
*/
|
|
8877
|
-
static getAll(siteId: number, queryParameters?: RejectBinScaleController.GetAllQueryParameters): Promise<RejectBinScaleModel[]>;
|
|
9611
|
+
static getAll(siteId: number, queryParameters?: RejectBinScaleController.GetAllQueryParameters | undefined): Promise<RejectBinScaleModel[]>;
|
|
8878
9612
|
/**
|
|
8879
9613
|
* Create a Reject Bin Scale [POST /packhouse/sites/{siteId}/reject-bin-scales]
|
|
8880
9614
|
*
|
|
@@ -8894,7 +9628,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8894
9628
|
/**
|
|
8895
9629
|
* The RTU this Reject Bin Scale belongs to
|
|
8896
9630
|
*/
|
|
8897
|
-
rtuId?: number;
|
|
9631
|
+
rtuId?: number | null;
|
|
8898
9632
|
/**
|
|
8899
9633
|
* The Name of this Reject Bin Scale
|
|
8900
9634
|
*/
|
|
@@ -8906,11 +9640,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8906
9640
|
/**
|
|
8907
9641
|
* The Permanent Object that provides the Next Packrun for this Reject Bin Scale
|
|
8908
9642
|
*/
|
|
8909
|
-
packrunSourceId?: string;
|
|
9643
|
+
packrunSourceId?: string | null;
|
|
8910
9644
|
/**
|
|
8911
9645
|
* The Packrun Group this Reject Bin Scale is a part of
|
|
8912
9646
|
*/
|
|
8913
|
-
packrunGroup?: number;
|
|
9647
|
+
packrunGroup?: number | null;
|
|
8914
9648
|
};
|
|
8915
9649
|
/**
|
|
8916
9650
|
* The Create Data for a Reject Bin Scale
|
|
@@ -8919,7 +9653,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8919
9653
|
/**
|
|
8920
9654
|
* The RTU this Reject Bin Scale belongs to
|
|
8921
9655
|
*/
|
|
8922
|
-
rtuId?: number;
|
|
9656
|
+
rtuId?: number | null;
|
|
8923
9657
|
/**
|
|
8924
9658
|
* The Name of this Reject Bin Scale
|
|
8925
9659
|
*/
|
|
@@ -8935,11 +9669,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8935
9669
|
/**
|
|
8936
9670
|
* The Permanent Object that provides the Next Packrun for this Reject Bin Scale
|
|
8937
9671
|
*/
|
|
8938
|
-
packrunSourceId?: string;
|
|
9672
|
+
packrunSourceId?: string | null;
|
|
8939
9673
|
/**
|
|
8940
9674
|
* The Packrun Group this Reject Bin Scale is a part of
|
|
8941
9675
|
*/
|
|
8942
|
-
packrunGroup?: number;
|
|
9676
|
+
packrunGroup?: number | null;
|
|
8943
9677
|
/**
|
|
8944
9678
|
* An Array of Sources that deliver Fruit to this Reject Bin Scale
|
|
8945
9679
|
*/
|
|
@@ -8948,52 +9682,52 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
8948
9682
|
* The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
8949
9683
|
*/
|
|
8950
9684
|
autoPackrunChange?: {
|
|
8951
|
-
delay: number;
|
|
8952
|
-
};
|
|
9685
|
+
delay: number | null;
|
|
9686
|
+
} | null;
|
|
8953
9687
|
/**
|
|
8954
9688
|
* Whether this Reject Bin Scale supports Live Weighing
|
|
8955
9689
|
*/
|
|
8956
|
-
supportsLiveWeighing?: boolean;
|
|
9690
|
+
supportsLiveWeighing?: boolean | null;
|
|
8957
9691
|
/**
|
|
8958
9692
|
* The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
8959
9693
|
*/
|
|
8960
|
-
autoWeighingStartThreshold?: number;
|
|
9694
|
+
autoWeighingStartThreshold?: number | null;
|
|
8961
9695
|
/**
|
|
8962
9696
|
* The Delay in Milliseconds before Auto Live Weighing would Start
|
|
8963
9697
|
*/
|
|
8964
|
-
autoWeighingStartDelay?: number;
|
|
9698
|
+
autoWeighingStartDelay?: number | null;
|
|
8965
9699
|
/**
|
|
8966
9700
|
* The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
8967
9701
|
*/
|
|
8968
|
-
autoWeighingFinishThreshold?: number;
|
|
9702
|
+
autoWeighingFinishThreshold?: number | null;
|
|
8969
9703
|
/**
|
|
8970
9704
|
* The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
8971
9705
|
*/
|
|
8972
|
-
autoWeighingFinishDelay?: number;
|
|
9706
|
+
autoWeighingFinishDelay?: number | null;
|
|
8973
9707
|
/**
|
|
8974
9708
|
* The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
8975
9709
|
*/
|
|
8976
|
-
manualInterventionMaximumDuration?: number;
|
|
9710
|
+
manualInterventionMaximumDuration?: number | null;
|
|
8977
9711
|
/**
|
|
8978
9712
|
* The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
8979
9713
|
*/
|
|
8980
|
-
liveWeighingIncreaseTolerance?: number;
|
|
9714
|
+
liveWeighingIncreaseTolerance?: number | null;
|
|
8981
9715
|
/**
|
|
8982
9716
|
* The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
8983
9717
|
*/
|
|
8984
|
-
liveWeighingDecreaseTolerance?: number;
|
|
9718
|
+
liveWeighingDecreaseTolerance?: number | null;
|
|
8985
9719
|
/**
|
|
8986
9720
|
* The Interval in Milliseconds between Live Weighing Updates
|
|
8987
9721
|
*/
|
|
8988
|
-
liveWeighingUpdateInterval?: number;
|
|
9722
|
+
liveWeighingUpdateInterval?: number | null;
|
|
8989
9723
|
/**
|
|
8990
9724
|
* Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
8991
9725
|
*/
|
|
8992
|
-
liveWeighingUsesStableStatus?: boolean;
|
|
9726
|
+
liveWeighingUsesStableStatus?: boolean | null;
|
|
8993
9727
|
/**
|
|
8994
9728
|
* The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
8995
9729
|
*/
|
|
8996
|
-
incorrectOperationTolerance?: number;
|
|
9730
|
+
incorrectOperationTolerance?: number | null;
|
|
8997
9731
|
/**
|
|
8998
9732
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
8999
9733
|
*/
|
|
@@ -9018,11 +9752,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
9018
9752
|
/**
|
|
9019
9753
|
* The Permanent Object that provides the Next Packrun for this Reject Bin Scale
|
|
9020
9754
|
*/
|
|
9021
|
-
packrunSourceId?: string;
|
|
9755
|
+
packrunSourceId?: string | null;
|
|
9022
9756
|
/**
|
|
9023
9757
|
* The Packrun Group this Reject Bin Scale is a part of
|
|
9024
9758
|
*/
|
|
9025
|
-
packrunGroup?: number;
|
|
9759
|
+
packrunGroup?: number | null;
|
|
9026
9760
|
/**
|
|
9027
9761
|
* An Array of Sources that deliver Fruit to this Reject Bin Scale
|
|
9028
9762
|
*/
|
|
@@ -9031,52 +9765,52 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinScaleCont
|
|
|
9031
9765
|
* The Auto Packrun Change Configuration for this Reject Bin Scale
|
|
9032
9766
|
*/
|
|
9033
9767
|
autoPackrunChange?: {
|
|
9034
|
-
delay: number;
|
|
9035
|
-
};
|
|
9768
|
+
delay: number | null;
|
|
9769
|
+
} | null;
|
|
9036
9770
|
/**
|
|
9037
9771
|
* Whether this Reject Bin Scale supports Live Weighing
|
|
9038
9772
|
*/
|
|
9039
|
-
supportsLiveWeighing?: boolean;
|
|
9773
|
+
supportsLiveWeighing?: boolean | null;
|
|
9040
9774
|
/**
|
|
9041
9775
|
* The Minimum Weight Change Required to Automatically Start Live Weighing
|
|
9042
9776
|
*/
|
|
9043
|
-
autoWeighingStartThreshold?: number;
|
|
9777
|
+
autoWeighingStartThreshold?: number | null;
|
|
9044
9778
|
/**
|
|
9045
9779
|
* The Delay in Milliseconds before Auto Live Weighing would Start
|
|
9046
9780
|
*/
|
|
9047
|
-
autoWeighingStartDelay?: number;
|
|
9781
|
+
autoWeighingStartDelay?: number | null;
|
|
9048
9782
|
/**
|
|
9049
9783
|
* The Minimum Weight Change Required to Automatically Finish Live Weighing
|
|
9050
9784
|
*/
|
|
9051
|
-
autoWeighingFinishThreshold?: number;
|
|
9785
|
+
autoWeighingFinishThreshold?: number | null;
|
|
9052
9786
|
/**
|
|
9053
9787
|
* The Delay in Milliseconds before Auto Live Weighing would Finish
|
|
9054
9788
|
*/
|
|
9055
|
-
autoWeighingFinishDelay?: number;
|
|
9789
|
+
autoWeighingFinishDelay?: number | null;
|
|
9056
9790
|
/**
|
|
9057
9791
|
* The Maximum Duration in Milliseconds before a Manual Intervention would end
|
|
9058
9792
|
*/
|
|
9059
|
-
manualInterventionMaximumDuration?: number;
|
|
9793
|
+
manualInterventionMaximumDuration?: number | null;
|
|
9060
9794
|
/**
|
|
9061
9795
|
* The Maximum Weight Increase allowed within a single Live Weighing Update Interval
|
|
9062
9796
|
*/
|
|
9063
|
-
liveWeighingIncreaseTolerance?: number;
|
|
9797
|
+
liveWeighingIncreaseTolerance?: number | null;
|
|
9064
9798
|
/**
|
|
9065
9799
|
* The Maximum Weight Decrease allowed within a single Live Weighing Update Interval
|
|
9066
9800
|
*/
|
|
9067
|
-
liveWeighingDecreaseTolerance?: number;
|
|
9801
|
+
liveWeighingDecreaseTolerance?: number | null;
|
|
9068
9802
|
/**
|
|
9069
9803
|
* The Interval in Milliseconds between Live Weighing Updates
|
|
9070
9804
|
*/
|
|
9071
|
-
liveWeighingUpdateInterval?: number;
|
|
9805
|
+
liveWeighingUpdateInterval?: number | null;
|
|
9072
9806
|
/**
|
|
9073
9807
|
* Whether the Loadcell Stable Status is used to ignore Changes during Live Weighing
|
|
9074
9808
|
*/
|
|
9075
|
-
liveWeighingUsesStableStatus?: boolean;
|
|
9809
|
+
liveWeighingUsesStableStatus?: boolean | null;
|
|
9076
9810
|
/**
|
|
9077
9811
|
* The Maximum Weight Change allowed while Live Weighing before an Incorrect Operation is Logged
|
|
9078
9812
|
*/
|
|
9079
|
-
incorrectOperationTolerance?: number;
|
|
9813
|
+
incorrectOperationTolerance?: number | null;
|
|
9080
9814
|
/**
|
|
9081
9815
|
* The FreshPack Integration Configuration for this Reject Bin Scale
|
|
9082
9816
|
*/
|
|
@@ -9199,7 +9933,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinWeightCon
|
|
|
9199
9933
|
* @param {RejectBinWeightController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
9200
9934
|
* @return {Promise<RejectBinWeightModel[]>}
|
|
9201
9935
|
*/
|
|
9202
|
-
static getAll(siteId: number, queryParameters?: RejectBinWeightController.GetAllQueryParameters): Promise<RejectBinWeightModel[]>;
|
|
9936
|
+
static getAll(siteId: number, queryParameters?: RejectBinWeightController.GetAllQueryParameters | undefined): Promise<RejectBinWeightModel[]>;
|
|
9203
9937
|
/**
|
|
9204
9938
|
* Create a Reject Bin Weight [POST /packhouse/sites/{siteId}/reject-bin-weights]
|
|
9205
9939
|
*
|
|
@@ -9227,7 +9961,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinWeightCon
|
|
|
9227
9961
|
/**
|
|
9228
9962
|
* The Packrun this Reject Weight is associated with
|
|
9229
9963
|
*/
|
|
9230
|
-
packrunId?: string;
|
|
9964
|
+
packrunId?: string | null;
|
|
9231
9965
|
/**
|
|
9232
9966
|
* Filter by the Timestamp when this Reject Bin Weight was Created. Results Greater than or Equal to Timestamp
|
|
9233
9967
|
*/
|
|
@@ -9256,7 +9990,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinWeightCon
|
|
|
9256
9990
|
/**
|
|
9257
9991
|
* The Packrun this Reject Weight is associated with
|
|
9258
9992
|
*/
|
|
9259
|
-
packrunId?: string;
|
|
9993
|
+
packrunId?: string | null;
|
|
9260
9994
|
/**
|
|
9261
9995
|
* The Net Weight Captured by the Reject Bin Scale
|
|
9262
9996
|
*/
|
|
@@ -9285,7 +10019,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinWeightCon
|
|
|
9285
10019
|
/**
|
|
9286
10020
|
* The Packrun this Reject Weight is associated with
|
|
9287
10021
|
*/
|
|
9288
|
-
packrunId?: string;
|
|
10022
|
+
packrunId?: string | null;
|
|
9289
10023
|
/**
|
|
9290
10024
|
* The Net Weight Captured by the Reject Bin Scale
|
|
9291
10025
|
*/
|
|
@@ -9310,15 +10044,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/RejectBinWeightCon
|
|
|
9310
10044
|
/**
|
|
9311
10045
|
* The Content of the Comment
|
|
9312
10046
|
*/
|
|
9313
|
-
content: string;
|
|
10047
|
+
content: string | null;
|
|
9314
10048
|
/**
|
|
9315
10049
|
* When the Comment was Created
|
|
9316
10050
|
*/
|
|
9317
|
-
createdTimestamp: Date;
|
|
10051
|
+
createdTimestamp: Date | null;
|
|
9318
10052
|
/**
|
|
9319
10053
|
* When the Comment was last Updated
|
|
9320
10054
|
*/
|
|
9321
|
-
updatedTimestamp: Date;
|
|
10055
|
+
updatedTimestamp: Date | null;
|
|
9322
10056
|
};
|
|
9323
10057
|
}
|
|
9324
10058
|
import RejectBinWeightModel from "@ricado/api-client/Models/Packhouse/Site/RejectBinWeightModel";
|
|
@@ -9437,7 +10171,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftController' {
|
|
|
9437
10171
|
* @param {ShiftController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
9438
10172
|
* @return {Promise<ShiftModel[]>}
|
|
9439
10173
|
*/
|
|
9440
|
-
static getAll(siteId: number, queryParameters?: ShiftController.GetAllQueryParameters): Promise<ShiftModel[]>;
|
|
10174
|
+
static getAll(siteId: number, queryParameters?: ShiftController.GetAllQueryParameters | undefined): Promise<ShiftModel[]>;
|
|
9441
10175
|
/**
|
|
9442
10176
|
* Create a Shift [POST /packhouse/sites/{siteId}/shifts]
|
|
9443
10177
|
*
|
|
@@ -9465,7 +10199,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftController' {
|
|
|
9465
10199
|
/**
|
|
9466
10200
|
* The Name of the Line Manager for this Shift
|
|
9467
10201
|
*/
|
|
9468
|
-
lineManagerName?: string;
|
|
10202
|
+
lineManagerName?: string | null;
|
|
9469
10203
|
/**
|
|
9470
10204
|
* Filter by the Timestamp when Shifts were Created. Results Greater than or Equal to Timestamp
|
|
9471
10205
|
*/
|
|
@@ -9518,39 +10252,39 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftController' {
|
|
|
9518
10252
|
/**
|
|
9519
10253
|
* The Name of the Line Manager for this Shift
|
|
9520
10254
|
*/
|
|
9521
|
-
lineManagerName?: string;
|
|
10255
|
+
lineManagerName?: string | null;
|
|
9522
10256
|
/**
|
|
9523
10257
|
* The Target Number of Bins to Tip for this Shift
|
|
9524
10258
|
*/
|
|
9525
|
-
binsTippedTarget?: number;
|
|
10259
|
+
binsTippedTarget?: number | null;
|
|
9526
10260
|
/**
|
|
9527
10261
|
* DEPRECATED* The Initial Number of People working in all Areas except Class 2 for this Hour
|
|
9528
10262
|
*/
|
|
9529
|
-
initialClass1Manning?: number;
|
|
10263
|
+
initialClass1Manning?: number | null;
|
|
9530
10264
|
/**
|
|
9531
10265
|
* DEPRECATED* The Initial Number of People working in the Class 2 Area for this Hour
|
|
9532
10266
|
*/
|
|
9533
|
-
initialClass2Manning?: number;
|
|
10267
|
+
initialClass2Manning?: number | null;
|
|
9534
10268
|
/**
|
|
9535
10269
|
* When this Shift was Ready for Packing
|
|
9536
10270
|
*/
|
|
9537
|
-
readyTimestamp?: Date;
|
|
10271
|
+
readyTimestamp?: Date | null;
|
|
9538
10272
|
/**
|
|
9539
10273
|
* When this Shift was Started
|
|
9540
10274
|
*/
|
|
9541
|
-
startTimestamp?: Date;
|
|
10275
|
+
startTimestamp?: Date | null;
|
|
9542
10276
|
/**
|
|
9543
10277
|
* When this Shift was Finished
|
|
9544
10278
|
*/
|
|
9545
|
-
finishTimestamp?: Date;
|
|
10279
|
+
finishTimestamp?: Date | null;
|
|
9546
10280
|
/**
|
|
9547
10281
|
* When this Shift was Published
|
|
9548
10282
|
*/
|
|
9549
|
-
publishTimestamp?: Date;
|
|
10283
|
+
publishTimestamp?: Date | null;
|
|
9550
10284
|
/**
|
|
9551
10285
|
* An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Shift
|
|
9552
10286
|
*/
|
|
9553
|
-
satisfactionRating?: number;
|
|
10287
|
+
satisfactionRating?: number | null;
|
|
9554
10288
|
/**
|
|
9555
10289
|
* DEPRECATED* An Optional Array of Handover Notes for this Shift
|
|
9556
10290
|
*/
|
|
@@ -9583,39 +10317,39 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftController' {
|
|
|
9583
10317
|
/**
|
|
9584
10318
|
* The Name of the Line Manager for this Shift
|
|
9585
10319
|
*/
|
|
9586
|
-
lineManagerName?: string;
|
|
10320
|
+
lineManagerName?: string | null;
|
|
9587
10321
|
/**
|
|
9588
10322
|
* The Target Number of Bins to Tip for this Shift
|
|
9589
10323
|
*/
|
|
9590
|
-
binsTippedTarget?: number;
|
|
10324
|
+
binsTippedTarget?: number | null;
|
|
9591
10325
|
/**
|
|
9592
10326
|
* DEPRECATED* The Initial Number of People working in all Areas except Class 2 for this Hour
|
|
9593
10327
|
*/
|
|
9594
|
-
initialClass1Manning?: number;
|
|
10328
|
+
initialClass1Manning?: number | null;
|
|
9595
10329
|
/**
|
|
9596
10330
|
* DEPRECATED* The Initial Number of People working in the Class 2 Area for this Hour
|
|
9597
10331
|
*/
|
|
9598
|
-
initialClass2Manning?: number;
|
|
10332
|
+
initialClass2Manning?: number | null;
|
|
9599
10333
|
/**
|
|
9600
10334
|
* When this Shift was Ready for Packing
|
|
9601
10335
|
*/
|
|
9602
|
-
readyTimestamp?: Date;
|
|
10336
|
+
readyTimestamp?: Date | null;
|
|
9603
10337
|
/**
|
|
9604
10338
|
* When this Shift was Started
|
|
9605
10339
|
*/
|
|
9606
|
-
startTimestamp?: Date;
|
|
10340
|
+
startTimestamp?: Date | null;
|
|
9607
10341
|
/**
|
|
9608
10342
|
* When this Shift was Finished
|
|
9609
10343
|
*/
|
|
9610
|
-
finishTimestamp?: Date;
|
|
10344
|
+
finishTimestamp?: Date | null;
|
|
9611
10345
|
/**
|
|
9612
10346
|
* When this Shift was Published
|
|
9613
10347
|
*/
|
|
9614
|
-
publishTimestamp?: Date;
|
|
10348
|
+
publishTimestamp?: Date | null;
|
|
9615
10349
|
/**
|
|
9616
10350
|
* An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Shift
|
|
9617
10351
|
*/
|
|
9618
|
-
satisfactionRating?: number;
|
|
10352
|
+
satisfactionRating?: number | null;
|
|
9619
10353
|
/**
|
|
9620
10354
|
* DEPRECATED* An Optional Array of Handover Notes for this Shift
|
|
9621
10355
|
*/
|
|
@@ -9640,15 +10374,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftController' {
|
|
|
9640
10374
|
/**
|
|
9641
10375
|
* The Content of the Comment
|
|
9642
10376
|
*/
|
|
9643
|
-
content: string;
|
|
10377
|
+
content: string | null;
|
|
9644
10378
|
/**
|
|
9645
10379
|
* When the Comment was Created
|
|
9646
10380
|
*/
|
|
9647
|
-
createdTimestamp: Date;
|
|
10381
|
+
createdTimestamp: Date | null;
|
|
9648
10382
|
/**
|
|
9649
10383
|
* When the Comment was last Updated
|
|
9650
10384
|
*/
|
|
9651
|
-
updatedTimestamp: Date;
|
|
10385
|
+
updatedTimestamp: Date | null;
|
|
9652
10386
|
};
|
|
9653
10387
|
/**
|
|
9654
10388
|
* A **ShiftHandoverNote** Type
|
|
@@ -9827,7 +10561,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftFocusMeetingC
|
|
|
9827
10561
|
* @param {ShiftFocusMeetingController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
9828
10562
|
* @return {Promise<ShiftFocusMeetingModel[]>}
|
|
9829
10563
|
*/
|
|
9830
|
-
static getAll(siteId: number, queryParameters?: ShiftFocusMeetingController.GetAllQueryParameters): Promise<ShiftFocusMeetingModel[]>;
|
|
10564
|
+
static getAll(siteId: number, queryParameters?: ShiftFocusMeetingController.GetAllQueryParameters | undefined): Promise<ShiftFocusMeetingModel[]>;
|
|
9831
10565
|
/**
|
|
9832
10566
|
* Create a Shift Focus Meeting [POST /packhouse/sites/{siteId}/shift-focus-meetings]
|
|
9833
10567
|
*
|
|
@@ -9916,19 +10650,19 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftFocusMeetingC
|
|
|
9916
10650
|
/**
|
|
9917
10651
|
* When this Focus Meeting was Started
|
|
9918
10652
|
*/
|
|
9919
|
-
startTimestamp?: Date;
|
|
10653
|
+
startTimestamp?: Date | null;
|
|
9920
10654
|
/**
|
|
9921
10655
|
* When this Focus Meeting was Completed
|
|
9922
10656
|
*/
|
|
9923
|
-
finishTimestamp?: Date;
|
|
10657
|
+
finishTimestamp?: Date | null;
|
|
9924
10658
|
/**
|
|
9925
10659
|
* An Optional Key Focus until the Next Meeting
|
|
9926
10660
|
*/
|
|
9927
|
-
nextKeyFocus?: string;
|
|
10661
|
+
nextKeyFocus?: string | null;
|
|
9928
10662
|
/**
|
|
9929
10663
|
* An Optional Rating between 1 and 10 on how Successful the Focus Meeting was
|
|
9930
10664
|
*/
|
|
9931
|
-
successRating?: number;
|
|
10665
|
+
successRating?: number | null;
|
|
9932
10666
|
};
|
|
9933
10667
|
/**
|
|
9934
10668
|
* The Update Data for a Shift Focus Meeting
|
|
@@ -9949,19 +10683,19 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftFocusMeetingC
|
|
|
9949
10683
|
/**
|
|
9950
10684
|
* When this Focus Meeting was Started
|
|
9951
10685
|
*/
|
|
9952
|
-
startTimestamp?: Date;
|
|
10686
|
+
startTimestamp?: Date | null;
|
|
9953
10687
|
/**
|
|
9954
10688
|
* When this Focus Meeting was Completed
|
|
9955
10689
|
*/
|
|
9956
|
-
finishTimestamp?: Date;
|
|
10690
|
+
finishTimestamp?: Date | null;
|
|
9957
10691
|
/**
|
|
9958
10692
|
* An Optional Key Focus until the Next Meeting
|
|
9959
10693
|
*/
|
|
9960
|
-
nextKeyFocus?: string;
|
|
10694
|
+
nextKeyFocus?: string | null;
|
|
9961
10695
|
/**
|
|
9962
10696
|
* An Optional Rating between 1 and 10 on how Successful the Focus Meeting was
|
|
9963
10697
|
*/
|
|
9964
|
-
successRating?: number;
|
|
10698
|
+
successRating?: number | null;
|
|
9965
10699
|
};
|
|
9966
10700
|
/**
|
|
9967
10701
|
* A **CommentItem** Type
|
|
@@ -9974,15 +10708,15 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftFocusMeetingC
|
|
|
9974
10708
|
/**
|
|
9975
10709
|
* The Content of the Comment
|
|
9976
10710
|
*/
|
|
9977
|
-
content: string;
|
|
10711
|
+
content: string | null;
|
|
9978
10712
|
/**
|
|
9979
10713
|
* When the Comment was Created
|
|
9980
10714
|
*/
|
|
9981
|
-
createdTimestamp: Date;
|
|
10715
|
+
createdTimestamp: Date | null;
|
|
9982
10716
|
/**
|
|
9983
10717
|
* When the Comment was last Updated
|
|
9984
10718
|
*/
|
|
9985
|
-
updatedTimestamp: Date;
|
|
10719
|
+
updatedTimestamp: Date | null;
|
|
9986
10720
|
};
|
|
9987
10721
|
}
|
|
9988
10722
|
import ShiftFocusMeetingModel from "@ricado/api-client/Models/Packhouse/Site/ShiftFocusMeetingModel";
|
|
@@ -10101,7 +10835,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10101
10835
|
* @param {ShiftHourlyEntryController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10102
10836
|
* @return {Promise<ShiftHourlyEntryModel[]>}
|
|
10103
10837
|
*/
|
|
10104
|
-
static getAll(siteId: number, queryParameters?: ShiftHourlyEntryController.GetAllQueryParameters): Promise<ShiftHourlyEntryModel[]>;
|
|
10838
|
+
static getAll(siteId: number, queryParameters?: ShiftHourlyEntryController.GetAllQueryParameters | undefined): Promise<ShiftHourlyEntryModel[]>;
|
|
10105
10839
|
/**
|
|
10106
10840
|
* Create a Shift Hourly Entry [POST /packhouse/sites/{siteId}/shift-hourly-entries]
|
|
10107
10841
|
*
|
|
@@ -10129,19 +10863,19 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10129
10863
|
/**
|
|
10130
10864
|
* The Primary Issue Category for this Hourly Entry
|
|
10131
10865
|
*/
|
|
10132
|
-
primaryIssueCategory?: string;
|
|
10866
|
+
primaryIssueCategory?: string | null;
|
|
10133
10867
|
/**
|
|
10134
10868
|
* The Primary Issue Tag for this Hourly Entry
|
|
10135
10869
|
*/
|
|
10136
|
-
primaryIssueTag?: string;
|
|
10870
|
+
primaryIssueTag?: string | null;
|
|
10137
10871
|
/**
|
|
10138
10872
|
* The Secondary Issue Category for this Hourly Entry
|
|
10139
10873
|
*/
|
|
10140
|
-
secondaryIssueCategory?: string;
|
|
10874
|
+
secondaryIssueCategory?: string | null;
|
|
10141
10875
|
/**
|
|
10142
10876
|
* The Secondary Issue Tag for this Hourly Entry
|
|
10143
10877
|
*/
|
|
10144
|
-
secondaryIssueTag?: string;
|
|
10878
|
+
secondaryIssueTag?: string | null;
|
|
10145
10879
|
/**
|
|
10146
10880
|
* The Status of this Hourly Entry
|
|
10147
10881
|
*/
|
|
@@ -10206,27 +10940,35 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10206
10940
|
/**
|
|
10207
10941
|
* The Number of People working in all Areas except Class 2 for this Hour
|
|
10208
10942
|
*/
|
|
10209
|
-
class1Manning?: number;
|
|
10943
|
+
class1Manning?: number | null;
|
|
10210
10944
|
/**
|
|
10211
10945
|
* The Number of People working in the Class 2 Area for this Hour
|
|
10212
10946
|
*/
|
|
10213
|
-
class2Manning?: number;
|
|
10947
|
+
class2Manning?: number | null;
|
|
10214
10948
|
/**
|
|
10215
10949
|
* The Average Target Number of People that should be working for this Hour
|
|
10216
10950
|
*/
|
|
10217
|
-
averageManningTarget?: number;
|
|
10951
|
+
averageManningTarget?: number | null;
|
|
10952
|
+
/**
|
|
10953
|
+
* The Average Cost per Person working in all Areas for this Hour
|
|
10954
|
+
*/
|
|
10955
|
+
averageCostPerManningUnit?: number | null;
|
|
10218
10956
|
/**
|
|
10219
10957
|
* The Percentage of Total Tray Equivalents that are Layered for this Hour
|
|
10220
10958
|
*/
|
|
10221
|
-
layeredTrayPercentage?: number;
|
|
10959
|
+
layeredTrayPercentage?: number | null;
|
|
10222
10960
|
/**
|
|
10223
10961
|
* The Average Class 1 Percentage for this Hour
|
|
10224
10962
|
*/
|
|
10225
|
-
averageClass1Percentage?: number;
|
|
10963
|
+
averageClass1Percentage?: number | null;
|
|
10226
10964
|
/**
|
|
10227
10965
|
* The Number of Quality R600 Samples that were Ideal for this Hour
|
|
10228
10966
|
*/
|
|
10229
|
-
qualityR600IdealSamplesPercentage?: number;
|
|
10967
|
+
qualityR600IdealSamplesPercentage?: number | null;
|
|
10968
|
+
/**
|
|
10969
|
+
* The Average Target Number of Quality R600 Samples that should be Ideal for this Hour
|
|
10970
|
+
*/
|
|
10971
|
+
averageQualityR600IdealSamplesTarget?: number | null;
|
|
10230
10972
|
/**
|
|
10231
10973
|
* An Array of Custom Quality Data Items for this Hour
|
|
10232
10974
|
*/
|
|
@@ -10259,30 +11001,50 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10259
11001
|
* The Target Number of Class 1 Tray Equivalents that should be Packed excluding all Downtime for this Hour
|
|
10260
11002
|
*/
|
|
10261
11003
|
class1TraysPerHourExcludingDowntimeTarget?: number;
|
|
11004
|
+
/**
|
|
11005
|
+
* The Target Number of Class 1 Tray Equivalents that should be Packed after Adjustment (Manning %, Class 1 %, Soft-Sort %) for this Hour
|
|
11006
|
+
*/
|
|
11007
|
+
averageClass1TraysPerHourAdjustedTarget?: number | null;
|
|
11008
|
+
/**
|
|
11009
|
+
* The Average Cost per Tray Equivalent for this Hour
|
|
11010
|
+
*/
|
|
11011
|
+
averageCostPerTray?: number | null;
|
|
11012
|
+
/**
|
|
11013
|
+
* The Average Cost per Tray Equivalent Target for this Hour
|
|
11014
|
+
*/
|
|
11015
|
+
averageCostPerTrayTarget?: number | null;
|
|
10262
11016
|
/**
|
|
10263
11017
|
* The Primary Issue Category for this Hourly Entry
|
|
10264
11018
|
*/
|
|
10265
|
-
primaryIssueCategory?: string;
|
|
11019
|
+
primaryIssueCategory?: string | null;
|
|
10266
11020
|
/**
|
|
10267
11021
|
* The Primary Issue Tag for this Hourly Entry
|
|
10268
11022
|
*/
|
|
10269
|
-
primaryIssueTag?: string;
|
|
11023
|
+
primaryIssueTag?: string | null;
|
|
11024
|
+
/**
|
|
11025
|
+
* A Percentage between 0% and 100% indicating how much the Primary Issue impacted Throughput for this Hourly Entry
|
|
11026
|
+
*/
|
|
11027
|
+
primaryIssuePercentage?: number | null;
|
|
10270
11028
|
/**
|
|
10271
11029
|
* The Secondary Issue Category for this Hourly Entry
|
|
10272
11030
|
*/
|
|
10273
|
-
secondaryIssueCategory?: string;
|
|
11031
|
+
secondaryIssueCategory?: string | null;
|
|
10274
11032
|
/**
|
|
10275
11033
|
* The Secondary Issue Tag for this Hourly Entry
|
|
10276
11034
|
*/
|
|
10277
|
-
secondaryIssueTag?: string;
|
|
11035
|
+
secondaryIssueTag?: string | null;
|
|
11036
|
+
/**
|
|
11037
|
+
* A Percentage between 0% and 100% indicating how much the Secondary Issue impacted Throughput for this Hourly Entry
|
|
11038
|
+
*/
|
|
11039
|
+
secondaryIssuePercentage?: number | null;
|
|
10278
11040
|
/**
|
|
10279
11041
|
* An Optional Focus for the Next Hour
|
|
10280
11042
|
*/
|
|
10281
|
-
nextHourFocus?: string;
|
|
11043
|
+
nextHourFocus?: string | null;
|
|
10282
11044
|
/**
|
|
10283
11045
|
* An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Hour
|
|
10284
11046
|
*/
|
|
10285
|
-
satisfactionRating?: number;
|
|
11047
|
+
satisfactionRating?: number | null;
|
|
10286
11048
|
/**
|
|
10287
11049
|
* The Status of this Hourly Entry
|
|
10288
11050
|
*/
|
|
@@ -10311,27 +11073,35 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10311
11073
|
/**
|
|
10312
11074
|
* The Number of People working in all Areas except Class 2 for this Hour
|
|
10313
11075
|
*/
|
|
10314
|
-
class1Manning?: number;
|
|
11076
|
+
class1Manning?: number | null;
|
|
10315
11077
|
/**
|
|
10316
11078
|
* The Number of People working in the Class 2 Area for this Hour
|
|
10317
11079
|
*/
|
|
10318
|
-
class2Manning?: number;
|
|
11080
|
+
class2Manning?: number | null;
|
|
10319
11081
|
/**
|
|
10320
11082
|
* The Average Target Number of People that should be working for this Hour
|
|
10321
11083
|
*/
|
|
10322
|
-
averageManningTarget?: number;
|
|
11084
|
+
averageManningTarget?: number | null;
|
|
11085
|
+
/**
|
|
11086
|
+
* The Average Cost per Person working in all Areas for this Hour
|
|
11087
|
+
*/
|
|
11088
|
+
averageCostPerManningUnit?: number | null;
|
|
10323
11089
|
/**
|
|
10324
11090
|
* The Percentage of Total Tray Equivalents that are Layered for this Hour
|
|
10325
11091
|
*/
|
|
10326
|
-
layeredTrayPercentage?: number;
|
|
11092
|
+
layeredTrayPercentage?: number | null;
|
|
10327
11093
|
/**
|
|
10328
11094
|
* The Average Class 1 Percentage for this Hour
|
|
10329
11095
|
*/
|
|
10330
|
-
averageClass1Percentage?: number;
|
|
11096
|
+
averageClass1Percentage?: number | null;
|
|
10331
11097
|
/**
|
|
10332
11098
|
* The Number of Quality R600 Samples that were Ideal for this Hour
|
|
10333
11099
|
*/
|
|
10334
|
-
qualityR600IdealSamplesPercentage?: number;
|
|
11100
|
+
qualityR600IdealSamplesPercentage?: number | null;
|
|
11101
|
+
/**
|
|
11102
|
+
* The Average Target Number of Quality R600 Samples that should be Ideal for this Hour
|
|
11103
|
+
*/
|
|
11104
|
+
averageQualityR600IdealSamplesTarget?: number | null;
|
|
10335
11105
|
/**
|
|
10336
11106
|
* An Array of Custom Quality Data Items for this Hour
|
|
10337
11107
|
*/
|
|
@@ -10364,30 +11134,50 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10364
11134
|
* The Target Number of Class 1 Tray Equivalents that should be Packed excluding all Downtime for this Hour
|
|
10365
11135
|
*/
|
|
10366
11136
|
class1TraysPerHourExcludingDowntimeTarget?: number;
|
|
11137
|
+
/**
|
|
11138
|
+
* The Target Number of Class 1 Tray Equivalents that should be Packed after Adjustment (Manning %, Class 1 %, Soft-Sort %) for this Hour
|
|
11139
|
+
*/
|
|
11140
|
+
averageClass1TraysPerHourAdjustedTarget?: number | null;
|
|
11141
|
+
/**
|
|
11142
|
+
* The Average Cost per Tray Equivalent for this Hour
|
|
11143
|
+
*/
|
|
11144
|
+
averageCostPerTray?: number | null;
|
|
11145
|
+
/**
|
|
11146
|
+
* The Average Cost per Tray Equivalent Target for this Hour
|
|
11147
|
+
*/
|
|
11148
|
+
averageCostPerTrayTarget?: number | null;
|
|
10367
11149
|
/**
|
|
10368
11150
|
* The Primary Issue Category for this Hourly Entry
|
|
10369
11151
|
*/
|
|
10370
|
-
primaryIssueCategory?: string;
|
|
11152
|
+
primaryIssueCategory?: string | null;
|
|
10371
11153
|
/**
|
|
10372
11154
|
* The Primary Issue Tag for this Hourly Entry
|
|
10373
11155
|
*/
|
|
10374
|
-
primaryIssueTag?: string;
|
|
11156
|
+
primaryIssueTag?: string | null;
|
|
11157
|
+
/**
|
|
11158
|
+
* A Percentage between 0% and 100% indicating how much the Primary Issue impacted Throughput for this Hourly Entry
|
|
11159
|
+
*/
|
|
11160
|
+
primaryIssuePercentage?: number | null;
|
|
10375
11161
|
/**
|
|
10376
11162
|
* The Secondary Issue Category for this Hourly Entry
|
|
10377
11163
|
*/
|
|
10378
|
-
secondaryIssueCategory?: string;
|
|
11164
|
+
secondaryIssueCategory?: string | null;
|
|
10379
11165
|
/**
|
|
10380
11166
|
* The Secondary Issue Tag for this Hourly Entry
|
|
10381
11167
|
*/
|
|
10382
|
-
secondaryIssueTag?: string;
|
|
11168
|
+
secondaryIssueTag?: string | null;
|
|
11169
|
+
/**
|
|
11170
|
+
* A Percentage between 0% and 100% indicating how much the Secondary Issue impacted Throughput for this Hourly Entry
|
|
11171
|
+
*/
|
|
11172
|
+
secondaryIssuePercentage?: number | null;
|
|
10383
11173
|
/**
|
|
10384
11174
|
* An Optional Focus for the Next Hour
|
|
10385
11175
|
*/
|
|
10386
|
-
nextHourFocus?: string;
|
|
11176
|
+
nextHourFocus?: string | null;
|
|
10387
11177
|
/**
|
|
10388
11178
|
* An Optional Rating between 1 and 10 on how Satisfied the Line Manager was with this Hour
|
|
10389
11179
|
*/
|
|
10390
|
-
satisfactionRating?: number;
|
|
11180
|
+
satisfactionRating?: number | null;
|
|
10391
11181
|
/**
|
|
10392
11182
|
* The Status of this Hourly Entry
|
|
10393
11183
|
*/
|
|
@@ -10404,39 +11194,686 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftHourlyEntryCo
|
|
|
10404
11194
|
/**
|
|
10405
11195
|
* The Content of the Comment
|
|
10406
11196
|
*/
|
|
10407
|
-
content: string;
|
|
11197
|
+
content: string | null;
|
|
10408
11198
|
/**
|
|
10409
11199
|
* When the Comment was Created
|
|
10410
11200
|
*/
|
|
10411
|
-
createdTimestamp: Date;
|
|
11201
|
+
createdTimestamp: Date | null;
|
|
10412
11202
|
/**
|
|
10413
11203
|
* When the Comment was last Updated
|
|
10414
11204
|
*/
|
|
10415
|
-
updatedTimestamp: Date;
|
|
11205
|
+
updatedTimestamp: Date | null;
|
|
10416
11206
|
};
|
|
10417
11207
|
/**
|
|
10418
11208
|
* A **CustomQualityDataItem** Type
|
|
10419
11209
|
*/
|
|
10420
|
-
export type CustomQualityDataItem = {
|
|
11210
|
+
export type CustomQualityDataItem = {
|
|
11211
|
+
/**
|
|
11212
|
+
* The ID of this Custom Quality Data Item
|
|
11213
|
+
*/
|
|
11214
|
+
id: string;
|
|
11215
|
+
/**
|
|
11216
|
+
* The Name of this Custom Quality Data Item
|
|
11217
|
+
*/
|
|
11218
|
+
name: string;
|
|
11219
|
+
/**
|
|
11220
|
+
* The Display Type for this Custom Quality Data Item
|
|
11221
|
+
*/
|
|
11222
|
+
type: string;
|
|
11223
|
+
/**
|
|
11224
|
+
* The Number Value for this Custom Quality Data Item
|
|
11225
|
+
*/
|
|
11226
|
+
value: number;
|
|
11227
|
+
/**
|
|
11228
|
+
* The Average Target for this Custom Quality Data Item
|
|
11229
|
+
*/
|
|
11230
|
+
averageTarget: number;
|
|
11231
|
+
};
|
|
11232
|
+
}
|
|
11233
|
+
import ShiftHourlyEntryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel";
|
|
11234
|
+
}
|
|
11235
|
+
|
|
11236
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftQualitySummaryController' {
|
|
11237
|
+
export default ShiftQualitySummaryController;
|
|
11238
|
+
/**
|
|
11239
|
+
* Controller Class for Shift Quality Summaries
|
|
11240
|
+
*
|
|
11241
|
+
* @class
|
|
11242
|
+
*/
|
|
11243
|
+
class ShiftQualitySummaryController {
|
|
11244
|
+
/**
|
|
11245
|
+
* Retrieve a Shift Quality Summary [GET /packhouse/sites/{siteId}/shift-quality-summaries/{id}]
|
|
11246
|
+
*
|
|
11247
|
+
* @static
|
|
11248
|
+
* @public
|
|
11249
|
+
* @param {number} siteId The Site ID
|
|
11250
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11251
|
+
* @return {Promise<ShiftQualitySummaryModel>}
|
|
11252
|
+
*/
|
|
11253
|
+
static getOne(siteId: number, id: string): Promise<ShiftQualitySummaryModel>;
|
|
11254
|
+
/**
|
|
11255
|
+
* Update a Shift Quality Summary [PATCH /packhouse/sites/{siteId}/shift-quality-summaries/{id}]
|
|
11256
|
+
*
|
|
11257
|
+
* @static
|
|
11258
|
+
* @public
|
|
11259
|
+
* @param {number} siteId The Site ID
|
|
11260
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11261
|
+
* @param {ShiftQualitySummaryController.UpdateData} updateData The Shift Quality Summary Update Data
|
|
11262
|
+
* @return {Promise<ShiftQualitySummaryModel>}
|
|
11263
|
+
*/
|
|
11264
|
+
static update(siteId: number, id: string, updateData: ShiftQualitySummaryController.UpdateData): Promise<ShiftQualitySummaryModel>;
|
|
11265
|
+
/**
|
|
11266
|
+
* Delete a Shift Quality Summary [DELETE /packhouse/sites/{siteId}/shift-quality-summaries/{id}]
|
|
11267
|
+
*
|
|
11268
|
+
* @static
|
|
11269
|
+
* @public
|
|
11270
|
+
* @param {number} siteId The Site ID
|
|
11271
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11272
|
+
* @return {Promise<boolean>}
|
|
11273
|
+
*/
|
|
11274
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
11275
|
+
/**
|
|
11276
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments]
|
|
11277
|
+
*
|
|
11278
|
+
* Retrieves Comments for a Shift Quality Summary
|
|
11279
|
+
*
|
|
11280
|
+
* @static
|
|
11281
|
+
* @public
|
|
11282
|
+
* @param {number} siteId The Site ID
|
|
11283
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11284
|
+
* @return {Promise<Array<ShiftQualitySummaryController.CommentItem>>}
|
|
11285
|
+
*/
|
|
11286
|
+
static getComments(siteId: number, id: string): Promise<Array<ShiftQualitySummaryController.CommentItem>>;
|
|
11287
|
+
/**
|
|
11288
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments]
|
|
11289
|
+
*
|
|
11290
|
+
* Create a Comment for a Shift Quality Summary
|
|
11291
|
+
*
|
|
11292
|
+
* @static
|
|
11293
|
+
* @public
|
|
11294
|
+
* @param {number} siteId The Site ID
|
|
11295
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11296
|
+
* @param {string} content The Content of the New Comment
|
|
11297
|
+
* @return {Promise<ShiftQualitySummaryController.CommentItem>}
|
|
11298
|
+
*/
|
|
11299
|
+
static createComment(siteId: number, id: string, content: string): Promise<ShiftQualitySummaryController.CommentItem>;
|
|
11300
|
+
/**
|
|
11301
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments/{commentId}]
|
|
11302
|
+
*
|
|
11303
|
+
* Retrieves Comments for a Shift Quality Summary
|
|
11304
|
+
*
|
|
11305
|
+
* @static
|
|
11306
|
+
* @public
|
|
11307
|
+
* @param {number} siteId The Site ID
|
|
11308
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11309
|
+
* @param {string} commentId The Comment ID
|
|
11310
|
+
* @return {Promise<ShiftQualitySummaryController.CommentItem>}
|
|
11311
|
+
*/
|
|
11312
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<ShiftQualitySummaryController.CommentItem>;
|
|
11313
|
+
/**
|
|
11314
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments/{commentId}]
|
|
11315
|
+
*
|
|
11316
|
+
* Update a Comment for a Shift Quality Summary
|
|
11317
|
+
*
|
|
11318
|
+
* @static
|
|
11319
|
+
* @public
|
|
11320
|
+
* @param {number} siteId The Site ID
|
|
11321
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11322
|
+
* @param {string} commentId The Comment ID
|
|
11323
|
+
* @param {string} content The Updated Content for the Comment
|
|
11324
|
+
* @return {Promise<ShiftQualitySummaryController.CommentItem>}
|
|
11325
|
+
*/
|
|
11326
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<ShiftQualitySummaryController.CommentItem>;
|
|
11327
|
+
/**
|
|
11328
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/shift-quality-summaries/{id}/comments/{commentId}]
|
|
11329
|
+
*
|
|
11330
|
+
* Delete a Comment for a Shift Quality Summary
|
|
11331
|
+
*
|
|
11332
|
+
* @static
|
|
11333
|
+
* @public
|
|
11334
|
+
* @param {number} siteId The Site ID
|
|
11335
|
+
* @param {string} id The Shift Quality Summary ID
|
|
11336
|
+
* @param {string} commentId The Comment ID
|
|
11337
|
+
* @return {Promise<boolean>}
|
|
11338
|
+
*/
|
|
11339
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
11340
|
+
/**
|
|
11341
|
+
* List all Shift Quality Summaries [GET /packhouse/sites/{siteId}/shift-quality-summaries]
|
|
11342
|
+
*
|
|
11343
|
+
* @static
|
|
11344
|
+
* @public
|
|
11345
|
+
* @param {number} siteId The Site ID
|
|
11346
|
+
* @param {ShiftQualitySummaryController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
11347
|
+
* @return {Promise<ShiftQualitySummaryModel[]>}
|
|
11348
|
+
*/
|
|
11349
|
+
static getAll(siteId: number, queryParameters?: ShiftQualitySummaryController.GetAllQueryParameters | undefined): Promise<ShiftQualitySummaryModel[]>;
|
|
11350
|
+
/**
|
|
11351
|
+
* Create a Shift Quality Summary [POST /packhouse/sites/{siteId}/shift-quality-summaries]
|
|
11352
|
+
*
|
|
11353
|
+
* @static
|
|
11354
|
+
* @public
|
|
11355
|
+
* @param {number} siteId The Site ID
|
|
11356
|
+
* @param {ShiftQualitySummaryController.CreateData} createData The Shift Quality Summary Create Data
|
|
11357
|
+
* @return {Promise<ShiftQualitySummaryModel>}
|
|
11358
|
+
*/
|
|
11359
|
+
static create(siteId: number, createData: ShiftQualitySummaryController.CreateData): Promise<ShiftQualitySummaryModel>;
|
|
11360
|
+
}
|
|
11361
|
+
namespace ShiftQualitySummaryController {
|
|
11362
|
+
/**
|
|
11363
|
+
* The Optional Query Parameters for the getAll Function
|
|
11364
|
+
*/
|
|
11365
|
+
export type GetAllQueryParameters = {
|
|
11366
|
+
/**
|
|
11367
|
+
* The Packing Line ID this Quality Summary is associated with
|
|
11368
|
+
*/
|
|
11369
|
+
packingLineId?: string;
|
|
11370
|
+
/**
|
|
11371
|
+
* The Shift ID this Quality Summary is asssociated with
|
|
11372
|
+
*/
|
|
11373
|
+
shiftId?: string;
|
|
11374
|
+
/**
|
|
11375
|
+
* The User ID of the Quality Manager for this Summary
|
|
11376
|
+
*/
|
|
11377
|
+
qualityManagerUserId?: string | null;
|
|
11378
|
+
/**
|
|
11379
|
+
* The Name of the Quality Manager for this Summary
|
|
11380
|
+
*/
|
|
11381
|
+
qualityManagerName?: string;
|
|
11382
|
+
/**
|
|
11383
|
+
* Filter by the Timestamp when Quality Summaries were Created. Results Greater than or Equal to Timestamp
|
|
11384
|
+
*/
|
|
11385
|
+
createdTimestampBegin?: Date;
|
|
11386
|
+
/**
|
|
11387
|
+
* Filter by the Timestamp when Quality Summaries were Created. Results Less than or Equal to Timestamp
|
|
11388
|
+
*/
|
|
11389
|
+
createdTimestampEnd?: Date;
|
|
11390
|
+
/**
|
|
11391
|
+
* Filter by the Timestamp when Quality Summaries were last Updated. Results Greater than or Equal to Timestamp
|
|
11392
|
+
*/
|
|
11393
|
+
updateTimestampBegin?: Date;
|
|
11394
|
+
/**
|
|
11395
|
+
* Filter by the Timestamp when Quality Summaries were last Updated. Results Less than or Equal to Timestamp
|
|
11396
|
+
*/
|
|
11397
|
+
updateTimestampEnd?: Date;
|
|
11398
|
+
};
|
|
11399
|
+
/**
|
|
11400
|
+
* The Create Data for a Shift Quality Summary
|
|
11401
|
+
*/
|
|
11402
|
+
export type CreateData = {
|
|
11403
|
+
/**
|
|
11404
|
+
* The Packing Line ID this Quality Summary is associated with
|
|
11405
|
+
*/
|
|
11406
|
+
packingLineId: string;
|
|
11407
|
+
/**
|
|
11408
|
+
* The Shift ID this Quality Summary is asssociated with
|
|
11409
|
+
*/
|
|
11410
|
+
shiftId?: string;
|
|
11411
|
+
/**
|
|
11412
|
+
* When this Quality Summary was Created
|
|
11413
|
+
*/
|
|
11414
|
+
createdTimestamp?: Date;
|
|
11415
|
+
/**
|
|
11416
|
+
* When this Quality Summary was Published
|
|
11417
|
+
*/
|
|
11418
|
+
publishTimestamp?: Date | null;
|
|
11419
|
+
/**
|
|
11420
|
+
* The User ID of the Quality Manager for this Summary
|
|
11421
|
+
*/
|
|
11422
|
+
qualityManagerUserId?: string | null;
|
|
11423
|
+
/**
|
|
11424
|
+
* The Name of the Quality Manager for this Summary
|
|
11425
|
+
*/
|
|
11426
|
+
qualityManagerName: string;
|
|
11427
|
+
/**
|
|
11428
|
+
* An Array of Accuracy Results for this Summary
|
|
11429
|
+
*/
|
|
11430
|
+
accuracyResults?: AccuracyResult[];
|
|
11431
|
+
/**
|
|
11432
|
+
* An Array of Audit Results for this Summary
|
|
11433
|
+
*/
|
|
11434
|
+
auditResults?: AuditResult[];
|
|
11435
|
+
/**
|
|
11436
|
+
* An Array of Packrun Results for this Summary
|
|
11437
|
+
*/
|
|
11438
|
+
packrunResults?: PackrunResult[];
|
|
11439
|
+
/**
|
|
11440
|
+
* An Optional Rating between 1 and 10 on how Satisfied the Quality Manager was with this Shift
|
|
11441
|
+
*/
|
|
11442
|
+
satisfactionRating?: number | null;
|
|
11443
|
+
};
|
|
11444
|
+
/**
|
|
11445
|
+
* The Update Data for a Shift Quality Summary
|
|
11446
|
+
*/
|
|
11447
|
+
export type UpdateData = {
|
|
11448
|
+
/**
|
|
11449
|
+
* The Packing Line ID this Quality Summary is associated with
|
|
11450
|
+
*/
|
|
11451
|
+
packingLineId?: string;
|
|
11452
|
+
/**
|
|
11453
|
+
* When this Quality Summary was Created
|
|
11454
|
+
*/
|
|
11455
|
+
createdTimestamp?: Date;
|
|
11456
|
+
/**
|
|
11457
|
+
* When this Quality Summary was Published
|
|
11458
|
+
*/
|
|
11459
|
+
publishTimestamp?: Date | null;
|
|
11460
|
+
/**
|
|
11461
|
+
* The User ID of the Quality Manager for this Summary
|
|
11462
|
+
*/
|
|
11463
|
+
qualityManagerUserId?: string | null;
|
|
11464
|
+
/**
|
|
11465
|
+
* The Name of the Quality Manager for this Summary
|
|
11466
|
+
*/
|
|
11467
|
+
qualityManagerName?: string;
|
|
11468
|
+
/**
|
|
11469
|
+
* An Array of Accuracy Results for this Summary
|
|
11470
|
+
*/
|
|
11471
|
+
accuracyResults?: AccuracyResult[];
|
|
11472
|
+
/**
|
|
11473
|
+
* An Array of Audit Results for this Summary
|
|
11474
|
+
*/
|
|
11475
|
+
auditResults?: AuditResult[];
|
|
11476
|
+
/**
|
|
11477
|
+
* An Array of Packrun Results for this Summary
|
|
11478
|
+
*/
|
|
11479
|
+
packrunResults?: PackrunResult[];
|
|
11480
|
+
/**
|
|
11481
|
+
* An Optional Rating between 1 and 10 on how Satisfied the Quality Manager was with this Shift
|
|
11482
|
+
*/
|
|
11483
|
+
satisfactionRating?: number | null;
|
|
11484
|
+
};
|
|
11485
|
+
/**
|
|
11486
|
+
* A **CommentItem** Type
|
|
11487
|
+
*/
|
|
11488
|
+
export type CommentItem = {
|
|
11489
|
+
/**
|
|
11490
|
+
* The Comment ID
|
|
11491
|
+
*/
|
|
11492
|
+
id: string;
|
|
11493
|
+
/**
|
|
11494
|
+
* The Content of the Comment
|
|
11495
|
+
*/
|
|
11496
|
+
content: string | null;
|
|
11497
|
+
/**
|
|
11498
|
+
* When the Comment was Created
|
|
11499
|
+
*/
|
|
11500
|
+
createdTimestamp: Date | null;
|
|
11501
|
+
/**
|
|
11502
|
+
* When the Comment was last Updated
|
|
11503
|
+
*/
|
|
11504
|
+
updatedTimestamp: Date | null;
|
|
11505
|
+
};
|
|
11506
|
+
/**
|
|
11507
|
+
* A **AccuracyResult** Type
|
|
11508
|
+
*/
|
|
11509
|
+
export type AccuracyResult = {
|
|
11510
|
+
/**
|
|
11511
|
+
* The Accuracy Type
|
|
11512
|
+
*/
|
|
11513
|
+
type: string;
|
|
11514
|
+
/**
|
|
11515
|
+
* The Accuracy Result Value
|
|
11516
|
+
*/
|
|
11517
|
+
value: number;
|
|
11518
|
+
};
|
|
11519
|
+
/**
|
|
11520
|
+
* A **AuditResult** Type
|
|
11521
|
+
*/
|
|
11522
|
+
export type AuditResult = {
|
|
11523
|
+
/**
|
|
11524
|
+
* The Audit Type
|
|
11525
|
+
*/
|
|
11526
|
+
type: string;
|
|
11527
|
+
/**
|
|
11528
|
+
* The Audit Result Value
|
|
11529
|
+
*/
|
|
11530
|
+
value: number;
|
|
11531
|
+
};
|
|
11532
|
+
/**
|
|
11533
|
+
* A **PackrunResult** Type
|
|
11534
|
+
*/
|
|
11535
|
+
export type PackrunResult = {
|
|
11536
|
+
/**
|
|
11537
|
+
* The ID of the associated Packrun
|
|
11538
|
+
*/
|
|
11539
|
+
packrunId: string;
|
|
11540
|
+
/**
|
|
11541
|
+
* The Name of the associated Packrun
|
|
11542
|
+
*/
|
|
11543
|
+
packrunName: string;
|
|
11544
|
+
/**
|
|
11545
|
+
* The R600 Minor Defects Percentage
|
|
11546
|
+
*/
|
|
11547
|
+
minorPackingDefects: number;
|
|
11548
|
+
/**
|
|
11549
|
+
* The R600 Major Defects Percentage
|
|
11550
|
+
*/
|
|
11551
|
+
majorPackingDefects: number;
|
|
11552
|
+
/**
|
|
11553
|
+
* The R600 Softs Percentage
|
|
11554
|
+
*/
|
|
11555
|
+
softs: number;
|
|
11556
|
+
/**
|
|
11557
|
+
* The R600 Cuts (e.g. Flesh Damage) Percentage
|
|
11558
|
+
*/
|
|
11559
|
+
cuts: number;
|
|
11560
|
+
/**
|
|
11561
|
+
* The R600 Rots Percentage
|
|
11562
|
+
*/
|
|
11563
|
+
rots: number;
|
|
11564
|
+
/**
|
|
11565
|
+
* The Softs Line Average Sample Size
|
|
11566
|
+
*/
|
|
11567
|
+
softsLineAverageSampleSize: number | null;
|
|
11568
|
+
/**
|
|
11569
|
+
* The Softs Line Average Value
|
|
11570
|
+
*/
|
|
11571
|
+
softsLineAverageValue: number | null;
|
|
11572
|
+
/**
|
|
11573
|
+
* The Percentage of Export (Class 1) Fruit found in Class 2
|
|
11574
|
+
*/
|
|
11575
|
+
exportFruitInClass2: number | null;
|
|
11576
|
+
/**
|
|
11577
|
+
* The Percentage of Export (Class 1) Fruit found in Local Market
|
|
11578
|
+
*/
|
|
11579
|
+
exportFruitInLocalMarket: number | null;
|
|
11580
|
+
/**
|
|
11581
|
+
* The Percentage of Export (Class 1) Fruit found in Waste
|
|
11582
|
+
*/
|
|
11583
|
+
exportFruitInWaste: number | null;
|
|
11584
|
+
};
|
|
11585
|
+
}
|
|
11586
|
+
import ShiftQualitySummaryModel from "@ricado/api-client/Models/Packhouse/Site/ShiftQualitySummaryModel";
|
|
11587
|
+
}
|
|
11588
|
+
|
|
11589
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/ShiftTaskController' {
|
|
11590
|
+
export default ShiftTaskController;
|
|
11591
|
+
/**
|
|
11592
|
+
* Controller Class for Shift Tasks
|
|
11593
|
+
*
|
|
11594
|
+
* @class
|
|
11595
|
+
*/
|
|
11596
|
+
class ShiftTaskController {
|
|
11597
|
+
/**
|
|
11598
|
+
* Retrieve a Shift Task [GET /packhouse/sites/{siteId}/shift-tasks/{id}]
|
|
11599
|
+
*
|
|
11600
|
+
* @static
|
|
11601
|
+
* @public
|
|
11602
|
+
* @param {number} siteId The Site ID
|
|
11603
|
+
* @param {string} id The Shift Task ID
|
|
11604
|
+
* @return {Promise<ShiftTaskModel>}
|
|
11605
|
+
*/
|
|
11606
|
+
static getOne(siteId: number, id: string): Promise<ShiftTaskModel>;
|
|
11607
|
+
/**
|
|
11608
|
+
* Update a Shift Task [PATCH /packhouse/sites/{siteId}/shift-tasks/{id}]
|
|
11609
|
+
*
|
|
11610
|
+
* @static
|
|
11611
|
+
* @public
|
|
11612
|
+
* @param {number} siteId The Site ID
|
|
11613
|
+
* @param {string} id The Shift Task ID
|
|
11614
|
+
* @param {ShiftTaskController.UpdateData} updateData The Shift Task Update Data
|
|
11615
|
+
* @return {Promise<ShiftTaskModel>}
|
|
11616
|
+
*/
|
|
11617
|
+
static update(siteId: number, id: string, updateData: ShiftTaskController.UpdateData): Promise<ShiftTaskModel>;
|
|
11618
|
+
/**
|
|
11619
|
+
* Delete a Shift Task [DELETE /packhouse/sites/{siteId}/shift-tasks/{id}]
|
|
11620
|
+
*
|
|
11621
|
+
* @static
|
|
11622
|
+
* @public
|
|
11623
|
+
* @param {number} siteId The Site ID
|
|
11624
|
+
* @param {string} id The Shift Task ID
|
|
11625
|
+
* @return {Promise<boolean>}
|
|
11626
|
+
*/
|
|
11627
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
11628
|
+
/**
|
|
11629
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/shift-tasks/{id}/comments]
|
|
11630
|
+
*
|
|
11631
|
+
* Retrieves Comments for a Shift Task
|
|
11632
|
+
*
|
|
11633
|
+
* @static
|
|
11634
|
+
* @public
|
|
11635
|
+
* @param {number} siteId The Site ID
|
|
11636
|
+
* @param {string} id The Shift Task ID
|
|
11637
|
+
* @return {Promise<Array<ShiftTaskController.CommentItem>>}
|
|
11638
|
+
*/
|
|
11639
|
+
static getComments(siteId: number, id: string): Promise<Array<ShiftTaskController.CommentItem>>;
|
|
11640
|
+
/**
|
|
11641
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/shift-tasks/{id}/comments]
|
|
11642
|
+
*
|
|
11643
|
+
* Create a Comment for a Shift Task
|
|
11644
|
+
*
|
|
11645
|
+
* @static
|
|
11646
|
+
* @public
|
|
11647
|
+
* @param {number} siteId The Site ID
|
|
11648
|
+
* @param {string} id The Shift Task ID
|
|
11649
|
+
* @param {string} content The Content of the New Comment
|
|
11650
|
+
* @return {Promise<ShiftTaskController.CommentItem>}
|
|
11651
|
+
*/
|
|
11652
|
+
static createComment(siteId: number, id: string, content: string): Promise<ShiftTaskController.CommentItem>;
|
|
11653
|
+
/**
|
|
11654
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/shift-tasks/{id}/comments/{commentId}]
|
|
11655
|
+
*
|
|
11656
|
+
* Retrieves Comments for a Shift Task
|
|
11657
|
+
*
|
|
11658
|
+
* @static
|
|
11659
|
+
* @public
|
|
11660
|
+
* @param {number} siteId The Site ID
|
|
11661
|
+
* @param {string} id The Shift Task ID
|
|
11662
|
+
* @param {string} commentId The Comment ID
|
|
11663
|
+
* @return {Promise<ShiftTaskController.CommentItem>}
|
|
11664
|
+
*/
|
|
11665
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<ShiftTaskController.CommentItem>;
|
|
11666
|
+
/**
|
|
11667
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/shift-tasks/{id}/comments/{commentId}]
|
|
11668
|
+
*
|
|
11669
|
+
* Update a Comment for a Shift Task
|
|
11670
|
+
*
|
|
11671
|
+
* @static
|
|
11672
|
+
* @public
|
|
11673
|
+
* @param {number} siteId The Site ID
|
|
11674
|
+
* @param {string} id The Shift Task ID
|
|
11675
|
+
* @param {string} commentId The Comment ID
|
|
11676
|
+
* @param {string} content The Updated Content for the Comment
|
|
11677
|
+
* @return {Promise<ShiftTaskController.CommentItem>}
|
|
11678
|
+
*/
|
|
11679
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<ShiftTaskController.CommentItem>;
|
|
11680
|
+
/**
|
|
11681
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/shift-tasks/{id}/comments/{commentId}]
|
|
11682
|
+
*
|
|
11683
|
+
* Delete a Comment for a Shift Task
|
|
11684
|
+
*
|
|
11685
|
+
* @static
|
|
11686
|
+
* @public
|
|
11687
|
+
* @param {number} siteId The Site ID
|
|
11688
|
+
* @param {string} id The Shift Task ID
|
|
11689
|
+
* @param {string} commentId The Comment ID
|
|
11690
|
+
* @return {Promise<boolean>}
|
|
11691
|
+
*/
|
|
11692
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
11693
|
+
/**
|
|
11694
|
+
* List all Shift Tasks [GET /packhouse/sites/{siteId}/shift-tasks]
|
|
11695
|
+
*
|
|
11696
|
+
* @static
|
|
11697
|
+
* @public
|
|
11698
|
+
* @param {number} siteId The Site ID
|
|
11699
|
+
* @param {ShiftTaskController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
11700
|
+
* @return {Promise<ShiftTaskModel[]>}
|
|
11701
|
+
*/
|
|
11702
|
+
static getAll(siteId: number, queryParameters?: ShiftTaskController.GetAllQueryParameters | undefined): Promise<ShiftTaskModel[]>;
|
|
11703
|
+
/**
|
|
11704
|
+
* Create a Shift Task [POST /packhouse/sites/{siteId}/shift-tasks]
|
|
11705
|
+
*
|
|
11706
|
+
* @static
|
|
11707
|
+
* @public
|
|
11708
|
+
* @param {number} siteId The Site ID
|
|
11709
|
+
* @param {ShiftTaskController.CreateData} createData The Shift Task Create Data
|
|
11710
|
+
* @return {Promise<ShiftTaskModel>}
|
|
11711
|
+
*/
|
|
11712
|
+
static create(siteId: number, createData: ShiftTaskController.CreateData): Promise<ShiftTaskModel>;
|
|
11713
|
+
}
|
|
11714
|
+
namespace ShiftTaskController {
|
|
11715
|
+
/**
|
|
11716
|
+
* The Optional Query Parameters for the getAll Function
|
|
11717
|
+
*/
|
|
11718
|
+
export type GetAllQueryParameters = {
|
|
11719
|
+
/**
|
|
11720
|
+
* The Packing Line ID this Task is associated with
|
|
11721
|
+
*/
|
|
11722
|
+
packingLineId?: string;
|
|
11723
|
+
/**
|
|
11724
|
+
* The Shift ID this Task is asssociated with
|
|
11725
|
+
*/
|
|
11726
|
+
shiftId?: string;
|
|
11727
|
+
/**
|
|
11728
|
+
* The User ID of the Author for this Task
|
|
11729
|
+
*/
|
|
11730
|
+
authorUserId?: string | null;
|
|
11731
|
+
/**
|
|
11732
|
+
* The Name of the Author for this Task
|
|
11733
|
+
*/
|
|
11734
|
+
authorName?: string;
|
|
11735
|
+
/**
|
|
11736
|
+
* The Task Type
|
|
11737
|
+
*/
|
|
11738
|
+
type?: string;
|
|
11739
|
+
/**
|
|
11740
|
+
* An Array of Tag IDs for this Task
|
|
11741
|
+
*/
|
|
11742
|
+
tags?: string[];
|
|
11743
|
+
/**
|
|
11744
|
+
* Filter by the Timestamp when Tasks were Created. Results Greater than or Equal to Timestamp
|
|
11745
|
+
*/
|
|
11746
|
+
createdTimestampBegin?: Date;
|
|
11747
|
+
/**
|
|
11748
|
+
* Filter by the Timestamp when Tasks were Created. Results Less than or Equal to Timestamp
|
|
11749
|
+
*/
|
|
11750
|
+
createdTimestampEnd?: Date;
|
|
11751
|
+
/**
|
|
11752
|
+
* Filter by the Timestamp when Tasks were Completed. Results Greater than or Equal to Timestamp
|
|
11753
|
+
*/
|
|
11754
|
+
completedTimestampBegin?: Date;
|
|
11755
|
+
/**
|
|
11756
|
+
* Filter by the Timestamp when Tasks were Completed. Results Less than or Equal to Timestamp
|
|
11757
|
+
*/
|
|
11758
|
+
completedTimestampEnd?: Date;
|
|
11759
|
+
/**
|
|
11760
|
+
* Filter by the Timestamp when Tasks were last Updated. Results Greater than or Equal to Timestamp
|
|
11761
|
+
*/
|
|
11762
|
+
updateTimestampBegin?: Date;
|
|
11763
|
+
/**
|
|
11764
|
+
* Filter by the Timestamp when Tasks were last Updated. Results Less than or Equal to Timestamp
|
|
11765
|
+
*/
|
|
11766
|
+
updateTimestampEnd?: Date;
|
|
11767
|
+
};
|
|
11768
|
+
/**
|
|
11769
|
+
* The Create Data for a Shift Task
|
|
11770
|
+
*/
|
|
11771
|
+
export type CreateData = {
|
|
11772
|
+
/**
|
|
11773
|
+
* The Packing Line ID this Task is associated with
|
|
11774
|
+
*/
|
|
11775
|
+
packingLineId: string;
|
|
11776
|
+
/**
|
|
11777
|
+
* The Shift ID this Task is asssociated with
|
|
11778
|
+
*/
|
|
11779
|
+
shiftId?: string;
|
|
11780
|
+
/**
|
|
11781
|
+
* When this Task was Created
|
|
11782
|
+
*/
|
|
11783
|
+
createdTimestamp?: Date;
|
|
11784
|
+
/**
|
|
11785
|
+
* When this Task was Completed
|
|
11786
|
+
*/
|
|
11787
|
+
completedTimestamp?: Date | null;
|
|
11788
|
+
/**
|
|
11789
|
+
* The User ID of the Author for this Task
|
|
11790
|
+
*/
|
|
11791
|
+
authorUserId?: string | null;
|
|
11792
|
+
/**
|
|
11793
|
+
* The Name of the Author for this Task
|
|
11794
|
+
*/
|
|
11795
|
+
authorName: string;
|
|
11796
|
+
/**
|
|
11797
|
+
* The Task Type
|
|
11798
|
+
*/
|
|
11799
|
+
type: string;
|
|
11800
|
+
/**
|
|
11801
|
+
* An Array of Tag IDs for this Task
|
|
11802
|
+
*/
|
|
11803
|
+
tags?: string[];
|
|
11804
|
+
/**
|
|
11805
|
+
* The Title of this Task
|
|
11806
|
+
*/
|
|
11807
|
+
title: string;
|
|
11808
|
+
/**
|
|
11809
|
+
* The Content of this Task
|
|
11810
|
+
*/
|
|
11811
|
+
content?: string;
|
|
11812
|
+
};
|
|
11813
|
+
/**
|
|
11814
|
+
* The Update Data for a Shift Task
|
|
11815
|
+
*/
|
|
11816
|
+
export type UpdateData = {
|
|
11817
|
+
/**
|
|
11818
|
+
* The Packing Line ID this Task is associated with
|
|
11819
|
+
*/
|
|
11820
|
+
packingLineId?: string;
|
|
11821
|
+
/**
|
|
11822
|
+
* When this Task was Created
|
|
11823
|
+
*/
|
|
11824
|
+
createdTimestamp?: Date;
|
|
11825
|
+
/**
|
|
11826
|
+
* When this Task was Completed
|
|
11827
|
+
*/
|
|
11828
|
+
completedTimestamp?: Date | null;
|
|
11829
|
+
/**
|
|
11830
|
+
* The User ID of the Author for this Task
|
|
11831
|
+
*/
|
|
11832
|
+
authorUserId?: string | null;
|
|
11833
|
+
/**
|
|
11834
|
+
* The Name of the Author for this Task
|
|
11835
|
+
*/
|
|
11836
|
+
authorName?: string;
|
|
11837
|
+
/**
|
|
11838
|
+
* The Task Type
|
|
11839
|
+
*/
|
|
11840
|
+
type?: string;
|
|
11841
|
+
/**
|
|
11842
|
+
* An Array of Tag IDs for this Task
|
|
11843
|
+
*/
|
|
11844
|
+
tags?: string[];
|
|
11845
|
+
/**
|
|
11846
|
+
* The Title of this Task
|
|
11847
|
+
*/
|
|
11848
|
+
title?: string;
|
|
11849
|
+
/**
|
|
11850
|
+
* The Content of this Task
|
|
11851
|
+
*/
|
|
11852
|
+
content?: string;
|
|
11853
|
+
};
|
|
11854
|
+
/**
|
|
11855
|
+
* A **CommentItem** Type
|
|
11856
|
+
*/
|
|
11857
|
+
export type CommentItem = {
|
|
10421
11858
|
/**
|
|
10422
|
-
* The ID
|
|
11859
|
+
* The Comment ID
|
|
10423
11860
|
*/
|
|
10424
11861
|
id: string;
|
|
10425
11862
|
/**
|
|
10426
|
-
* The
|
|
11863
|
+
* The Content of the Comment
|
|
10427
11864
|
*/
|
|
10428
|
-
|
|
11865
|
+
content: string | null;
|
|
10429
11866
|
/**
|
|
10430
|
-
*
|
|
11867
|
+
* When the Comment was Created
|
|
10431
11868
|
*/
|
|
10432
|
-
|
|
11869
|
+
createdTimestamp: Date | null;
|
|
10433
11870
|
/**
|
|
10434
|
-
*
|
|
11871
|
+
* When the Comment was last Updated
|
|
10435
11872
|
*/
|
|
10436
|
-
|
|
11873
|
+
updatedTimestamp: Date | null;
|
|
10437
11874
|
};
|
|
10438
11875
|
}
|
|
10439
|
-
import
|
|
11876
|
+
import ShiftTaskModel from "@ricado/api-client/Models/Packhouse/Site/ShiftTaskModel";
|
|
10440
11877
|
}
|
|
10441
11878
|
|
|
10442
11879
|
declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltController' {
|
|
@@ -10490,7 +11927,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltContro
|
|
|
10490
11927
|
* @param {SoftSortBeltController.GetOneEventsQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10491
11928
|
* @return {Promise<Array<SoftSortBeltController.SoftSortEventItem>>}
|
|
10492
11929
|
*/
|
|
10493
|
-
static getOneEvents(siteId: number, id: string, queryParameters?: SoftSortBeltController.GetOneEventsQueryParameters): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
11930
|
+
static getOneEvents(siteId: number, id: string, queryParameters?: SoftSortBeltController.GetOneEventsQueryParameters | undefined): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
10494
11931
|
/**
|
|
10495
11932
|
* List all Soft Sort Belts [GET /packhouse/sites/{siteId}/soft-sort-belts]
|
|
10496
11933
|
*
|
|
@@ -10500,7 +11937,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltContro
|
|
|
10500
11937
|
* @param {SoftSortBeltController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10501
11938
|
* @return {Promise<SoftSortBeltModel[]>}
|
|
10502
11939
|
*/
|
|
10503
|
-
static getAll(siteId: number, queryParameters?: SoftSortBeltController.GetAllQueryParameters): Promise<SoftSortBeltModel[]>;
|
|
11940
|
+
static getAll(siteId: number, queryParameters?: SoftSortBeltController.GetAllQueryParameters | undefined): Promise<SoftSortBeltModel[]>;
|
|
10504
11941
|
/**
|
|
10505
11942
|
* Create a Soft Sort Belt [POST /packhouse/sites/{siteId}/soft-sort-belts]
|
|
10506
11943
|
*
|
|
@@ -10522,7 +11959,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltContro
|
|
|
10522
11959
|
* @param {SoftSortBeltController.GetAllEventsQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10523
11960
|
* @return {Promise<Array<SoftSortBeltController.SoftSortEventItem>>}
|
|
10524
11961
|
*/
|
|
10525
|
-
static getAllEvents(siteId: number, queryParameters?: SoftSortBeltController.GetAllEventsQueryParameters): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
11962
|
+
static getAllEvents(siteId: number, queryParameters?: SoftSortBeltController.GetAllEventsQueryParameters | undefined): Promise<Array<SoftSortBeltController.SoftSortEventItem>>;
|
|
10526
11963
|
}
|
|
10527
11964
|
namespace SoftSortBeltController {
|
|
10528
11965
|
/**
|
|
@@ -10545,7 +11982,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltContro
|
|
|
10545
11982
|
/**
|
|
10546
11983
|
* The RTU this Soft Sort Belt belongs to
|
|
10547
11984
|
*/
|
|
10548
|
-
rtuId?: number;
|
|
11985
|
+
rtuId?: number | null;
|
|
10549
11986
|
/**
|
|
10550
11987
|
* The Name of this Soft Sort Belt
|
|
10551
11988
|
*/
|
|
@@ -10579,7 +12016,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/SoftSortBeltContro
|
|
|
10579
12016
|
/**
|
|
10580
12017
|
* The RTU this Soft Sort Belt belongs to
|
|
10581
12018
|
*/
|
|
10582
|
-
rtuId?: number;
|
|
12019
|
+
rtuId?: number | null;
|
|
10583
12020
|
/**
|
|
10584
12021
|
* The Name of this Soft Sort Belt
|
|
10585
12022
|
*/
|
|
@@ -10691,7 +12128,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/VarietyController'
|
|
|
10691
12128
|
* @param {VarietyController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
10692
12129
|
* @return {Promise<VarietyModel[]>}
|
|
10693
12130
|
*/
|
|
10694
|
-
static getAll(siteId: number, queryParameters?: VarietyController.GetAllQueryParameters): Promise<VarietyModel[]>;
|
|
12131
|
+
static getAll(siteId: number, queryParameters?: VarietyController.GetAllQueryParameters | undefined): Promise<VarietyModel[]>;
|
|
10695
12132
|
/**
|
|
10696
12133
|
* Create a Variety [POST /packhouse/sites/{siteId}/varieties]
|
|
10697
12134
|
*
|
|
@@ -10776,6 +12213,137 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/VarietyController'
|
|
|
10776
12213
|
import VarietyModel from "@ricado/api-client/Models/Packhouse/Site/VarietyModel";
|
|
10777
12214
|
}
|
|
10778
12215
|
|
|
12216
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBinModel' {
|
|
12217
|
+
export default BinTipBinModel;
|
|
12218
|
+
/**
|
|
12219
|
+
* Model Class for a Bin Tip Bin
|
|
12220
|
+
*
|
|
12221
|
+
* @class
|
|
12222
|
+
* @hideconstructor
|
|
12223
|
+
* @extends BaseModel
|
|
12224
|
+
*/
|
|
12225
|
+
class BinTipBinModel extends BaseModel {
|
|
12226
|
+
/**
|
|
12227
|
+
* Create a new **BinTipBinModel** from a JSON Object or JSON String
|
|
12228
|
+
*
|
|
12229
|
+
* @static
|
|
12230
|
+
* @public
|
|
12231
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
12232
|
+
* @param {number} siteId The Site ID associated with this Bin Tip Bin
|
|
12233
|
+
* @return {BinTipBinModel}
|
|
12234
|
+
*/
|
|
12235
|
+
static fromJSON(json: {
|
|
12236
|
+
[x: string]: any;
|
|
12237
|
+
} | string, siteId: number): BinTipBinModel;
|
|
12238
|
+
/**
|
|
12239
|
+
* BinTipBinModel Constructor
|
|
12240
|
+
*
|
|
12241
|
+
* @protected
|
|
12242
|
+
* @param {number} siteId The Site ID associated with this Bin Tip Bin
|
|
12243
|
+
*/
|
|
12244
|
+
protected constructor();
|
|
12245
|
+
/**
|
|
12246
|
+
* The Bin Tip Bin ID
|
|
12247
|
+
*
|
|
12248
|
+
* @type {string}
|
|
12249
|
+
* @public
|
|
12250
|
+
*/
|
|
12251
|
+
id: string;
|
|
12252
|
+
/**
|
|
12253
|
+
* The Bin Tip ID associated with this Bin
|
|
12254
|
+
*
|
|
12255
|
+
* @type {string}
|
|
12256
|
+
* @public
|
|
12257
|
+
*/
|
|
12258
|
+
binTipId: string;
|
|
12259
|
+
/**
|
|
12260
|
+
* The Packrun ID associated with this Bin
|
|
12261
|
+
*
|
|
12262
|
+
* @type {string}
|
|
12263
|
+
* @public
|
|
12264
|
+
*/
|
|
12265
|
+
packrunId: string;
|
|
12266
|
+
/**
|
|
12267
|
+
* When this Bin was Created
|
|
12268
|
+
*
|
|
12269
|
+
* @type {Date}
|
|
12270
|
+
* @public
|
|
12271
|
+
*/
|
|
12272
|
+
createdTimestamp: Date;
|
|
12273
|
+
/**
|
|
12274
|
+
* A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
|
|
12275
|
+
*
|
|
12276
|
+
* @type {?string}
|
|
12277
|
+
* @public
|
|
12278
|
+
*/
|
|
12279
|
+
binNumber: string | null;
|
|
12280
|
+
/**
|
|
12281
|
+
* The Time Batch ID associated with this Bin
|
|
12282
|
+
*
|
|
12283
|
+
* @type {?string}
|
|
12284
|
+
* @public
|
|
12285
|
+
*/
|
|
12286
|
+
timeBatchId: string | null;
|
|
12287
|
+
/**
|
|
12288
|
+
* The Full Weight for this Bin
|
|
12289
|
+
*
|
|
12290
|
+
* @type {?number}
|
|
12291
|
+
* @public
|
|
12292
|
+
*/
|
|
12293
|
+
fullWeight: number | null;
|
|
12294
|
+
/**
|
|
12295
|
+
* The Empty Weight for this Bin
|
|
12296
|
+
*
|
|
12297
|
+
* @type {?number}
|
|
12298
|
+
* @public
|
|
12299
|
+
*/
|
|
12300
|
+
emptyWeight: number | null;
|
|
12301
|
+
/**
|
|
12302
|
+
* The `BinTipWeight` ID as the Source for the Full Weight of this Bin
|
|
12303
|
+
*
|
|
12304
|
+
* @type {?string}
|
|
12305
|
+
* @public
|
|
12306
|
+
*/
|
|
12307
|
+
fullBinWeightId: string | null;
|
|
12308
|
+
/**
|
|
12309
|
+
* The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
|
|
12310
|
+
*
|
|
12311
|
+
* @type {?string}
|
|
12312
|
+
* @public
|
|
12313
|
+
*/
|
|
12314
|
+
emptyBinWeightId: string | null;
|
|
12315
|
+
/**
|
|
12316
|
+
* The FreshPack Field Bin Weight API Data
|
|
12317
|
+
*
|
|
12318
|
+
* @type {?Object}
|
|
12319
|
+
* @public
|
|
12320
|
+
*/
|
|
12321
|
+
freshPackFieldBinWeightApi: any | null;
|
|
12322
|
+
/**
|
|
12323
|
+
* Whether the Bin Tip Bin has been deleted
|
|
12324
|
+
*
|
|
12325
|
+
* @type {boolean}
|
|
12326
|
+
* @public
|
|
12327
|
+
*/
|
|
12328
|
+
deleted: boolean;
|
|
12329
|
+
/**
|
|
12330
|
+
* When the Bin Tip Bin was last updated
|
|
12331
|
+
*
|
|
12332
|
+
* @type {Date}
|
|
12333
|
+
* @public
|
|
12334
|
+
*/
|
|
12335
|
+
updateTimestamp: Date;
|
|
12336
|
+
/**
|
|
12337
|
+
* The Site ID associated with this Bin Tip Bin
|
|
12338
|
+
*
|
|
12339
|
+
* @type {number}
|
|
12340
|
+
* @public
|
|
12341
|
+
*/
|
|
12342
|
+
siteId: number;
|
|
12343
|
+
}
|
|
12344
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
12345
|
+
}
|
|
12346
|
+
|
|
10779
12347
|
declare module '@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel' {
|
|
10780
12348
|
export default BinTipWeightModel;
|
|
10781
12349
|
/**
|
|
@@ -11068,7 +12636,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/CompacSizerModel' {
|
|
|
11068
12636
|
*/
|
|
11069
12637
|
fruitSizes: any[];
|
|
11070
12638
|
/**
|
|
11071
|
-
* The Packing Line ID this Compac Sizer
|
|
12639
|
+
* The Packing Line ID that manages this Compac Sizer
|
|
11072
12640
|
*
|
|
11073
12641
|
* @type {string}
|
|
11074
12642
|
* @public
|
|
@@ -11789,6 +13357,134 @@ declare module '@ricado/api-client/Models/Packhouse/Site/FreshPackPackrunSummary
|
|
|
11789
13357
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
11790
13358
|
}
|
|
11791
13359
|
|
|
13360
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/FreshQualityPackrunSummaryModel' {
|
|
13361
|
+
export default FreshQualityPackrunSummaryModel;
|
|
13362
|
+
/**
|
|
13363
|
+
* Model Class for a FreshQuality Packrun Summary
|
|
13364
|
+
*
|
|
13365
|
+
* @class
|
|
13366
|
+
* @hideconstructor
|
|
13367
|
+
* @extends BaseModel
|
|
13368
|
+
*/
|
|
13369
|
+
class FreshQualityPackrunSummaryModel extends BaseModel {
|
|
13370
|
+
/**
|
|
13371
|
+
* Create a new **FreshQualityPackrunSummaryModel** from a JSON Object or JSON String
|
|
13372
|
+
*
|
|
13373
|
+
* @static
|
|
13374
|
+
* @public
|
|
13375
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
13376
|
+
* @param {number} siteId The Site ID associated with this FreshQuality Packrun Summary
|
|
13377
|
+
* @return {FreshQualityPackrunSummaryModel}
|
|
13378
|
+
*/
|
|
13379
|
+
static fromJSON(json: {
|
|
13380
|
+
[x: string]: any;
|
|
13381
|
+
} | string, siteId: number): FreshQualityPackrunSummaryModel;
|
|
13382
|
+
/**
|
|
13383
|
+
* FreshQualityPackrunSummaryModel Constructor
|
|
13384
|
+
*
|
|
13385
|
+
* @protected
|
|
13386
|
+
* @param {number} siteId The Site ID associated with this FreshQuality Packrun Summary
|
|
13387
|
+
*/
|
|
13388
|
+
protected constructor();
|
|
13389
|
+
/**
|
|
13390
|
+
* The FreshQuality Packrun Summary ID
|
|
13391
|
+
*
|
|
13392
|
+
* @type {string}
|
|
13393
|
+
* @public
|
|
13394
|
+
*/
|
|
13395
|
+
id: string;
|
|
13396
|
+
/**
|
|
13397
|
+
* The Packing Line ID this Summary is associated with
|
|
13398
|
+
*
|
|
13399
|
+
* @type {string}
|
|
13400
|
+
* @public
|
|
13401
|
+
*/
|
|
13402
|
+
packingLineId: string;
|
|
13403
|
+
/**
|
|
13404
|
+
* The Packrun ID this Summary is associated with
|
|
13405
|
+
*
|
|
13406
|
+
* @type {string}
|
|
13407
|
+
* @public
|
|
13408
|
+
*/
|
|
13409
|
+
packrunId: string;
|
|
13410
|
+
/**
|
|
13411
|
+
* When this Summary was Created
|
|
13412
|
+
*
|
|
13413
|
+
* @type {Date}
|
|
13414
|
+
* @public
|
|
13415
|
+
*/
|
|
13416
|
+
createdTimestamp: Date;
|
|
13417
|
+
/**
|
|
13418
|
+
* The Time Batch this Summary is associated with
|
|
13419
|
+
*
|
|
13420
|
+
* @type {?string}
|
|
13421
|
+
* @public
|
|
13422
|
+
*/
|
|
13423
|
+
timeBatchId: string | null;
|
|
13424
|
+
/**
|
|
13425
|
+
* An Array of Class 1 R600 Samples
|
|
13426
|
+
*
|
|
13427
|
+
* @type {Array<{fruitSize: string, packType: string, timestamp: Date, fruitCount: number, defects: Array<{name: string, group: string, fruitCount: number}>}>}
|
|
13428
|
+
* @public
|
|
13429
|
+
*/
|
|
13430
|
+
class1R600Samples: {
|
|
13431
|
+
fruitSize: string;
|
|
13432
|
+
packType: string;
|
|
13433
|
+
timestamp: Date;
|
|
13434
|
+
fruitCount: number;
|
|
13435
|
+
defects: {
|
|
13436
|
+
name: string;
|
|
13437
|
+
group: string;
|
|
13438
|
+
fruitCount: number;
|
|
13439
|
+
}[];
|
|
13440
|
+
}[];
|
|
13441
|
+
/**
|
|
13442
|
+
* An Array of Defect Category Summaries (e.g. Minor Packing Defects, Softs)
|
|
13443
|
+
*
|
|
13444
|
+
* @type {Array<{name: string, percentage: number, defects: Array<{name: string, fruitCount: number, percentage: number}>}>}
|
|
13445
|
+
* @public
|
|
13446
|
+
*/
|
|
13447
|
+
categorySummaries: {
|
|
13448
|
+
name: string;
|
|
13449
|
+
percentage: number;
|
|
13450
|
+
defects: {
|
|
13451
|
+
name: string;
|
|
13452
|
+
fruitCount: number;
|
|
13453
|
+
percentage: number;
|
|
13454
|
+
}[];
|
|
13455
|
+
}[];
|
|
13456
|
+
/**
|
|
13457
|
+
* The Total Number of Fruit Sampled in this Packrun Summary
|
|
13458
|
+
*
|
|
13459
|
+
* @type {number}
|
|
13460
|
+
* @public
|
|
13461
|
+
*/
|
|
13462
|
+
totalFruitSampled: number;
|
|
13463
|
+
/**
|
|
13464
|
+
* Whether the FreshQuality Packrun Summary has been deleted
|
|
13465
|
+
*
|
|
13466
|
+
* @type {boolean}
|
|
13467
|
+
* @public
|
|
13468
|
+
*/
|
|
13469
|
+
deleted: boolean;
|
|
13470
|
+
/**
|
|
13471
|
+
* When the FreshQuality Packrun Summary was last updated
|
|
13472
|
+
*
|
|
13473
|
+
* @type {Date}
|
|
13474
|
+
* @public
|
|
13475
|
+
*/
|
|
13476
|
+
updateTimestamp: Date;
|
|
13477
|
+
/**
|
|
13478
|
+
* The Site ID associated with this FreshQuality Packrun Summary
|
|
13479
|
+
*
|
|
13480
|
+
* @type {number}
|
|
13481
|
+
* @public
|
|
13482
|
+
*/
|
|
13483
|
+
siteId: number;
|
|
13484
|
+
}
|
|
13485
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
13486
|
+
}
|
|
13487
|
+
|
|
11792
13488
|
declare module '@ricado/api-client/Models/Packhouse/Site/GrowingMethodModel' {
|
|
11793
13489
|
export default GrowingMethodModel;
|
|
11794
13490
|
/**
|
|
@@ -12048,6 +13744,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
12048
13744
|
* @public
|
|
12049
13745
|
*/
|
|
12050
13746
|
rejectBinScales: any[];
|
|
13747
|
+
/**
|
|
13748
|
+
* An Optional Secondary Packing Line Reference
|
|
13749
|
+
*
|
|
13750
|
+
* @type {?Object}
|
|
13751
|
+
* @public
|
|
13752
|
+
*/
|
|
13753
|
+
secondaryPackingLine: any | null;
|
|
12051
13754
|
/**
|
|
12052
13755
|
* The Automation Object for this Packing Line
|
|
12053
13756
|
*
|
|
@@ -12072,7 +13775,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
12072
13775
|
/**
|
|
12073
13776
|
* The Optional Shift Management Object for this Packing Line
|
|
12074
13777
|
*
|
|
12075
|
-
* @type {?{points: {currentShiftId: number, createNewDayShiftRequest: number, createNewNightShiftRequest: number, startCurrentShiftRequest: number, finishCurrentShiftRequest: number, currentFocusMeetingId: number, startFocusMeetingRequest: number, finishFocusMeetingRequest: number, shiftSchedules: number}, enabled: boolean}}
|
|
13778
|
+
* @type {?{points: {currentShiftId: number, createNewDayShiftRequest: number, createNewNightShiftRequest: number, startCurrentShiftRequest: number, finishCurrentShiftRequest: number, currentFocusMeetingId: number, startFocusMeetingRequest: number, finishFocusMeetingRequest: number, currentShiftStatus: number, currentShiftModifyHourlyEntryRequest: number, shiftSchedules: number, currentShiftClass1TraysPerHourTarget: number, currentShiftClass1TraysPerHourAdjustedTarget: number, currentShiftClass1TraysPerHour: number, currentShiftCostPerTrayTarget: number, currentShiftCostPerTrayAdjustedTarget: number, currentShiftCostPerTray: number, currentShiftManningTarget: number, currentShiftClass1Manning: number, currentShiftClass2Manning: number, currentShiftQualityR600IdealTarget: number, currentShiftQualityR600Ideal: number, currentShiftScorePercentage: number, class1TraysPerHourTargets: number, costPerTrayTargets: number, manningTargets: number, qualityR600IdealTargets: number, costPerManningUnitHour: number, class1TraysPerHourScoreWeighting: number, costPerTrayScoreWeighting: number, qualityR600IdealScoreWeighting: number}, customQualityConfiguration: Array<{id: string, name: string, type: string, points: {currentShiftCustomQualityTarget: number, currentShiftCustomQualityValue: number, customQualityTargets: number, customQualityScoreWeighting: number}}>, enabled: boolean, taskDefinitions: Array<{type: string, tags: Array<{id: string, name: string, color: string, deleted: boolean}>}>}}
|
|
12076
13779
|
* @public
|
|
12077
13780
|
*/
|
|
12078
13781
|
shiftManagement: {
|
|
@@ -12085,10 +13788,66 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
12085
13788
|
currentFocusMeetingId: number;
|
|
12086
13789
|
startFocusMeetingRequest: number;
|
|
12087
13790
|
finishFocusMeetingRequest: number;
|
|
13791
|
+
currentShiftStatus: number;
|
|
13792
|
+
currentShiftModifyHourlyEntryRequest: number;
|
|
12088
13793
|
shiftSchedules: number;
|
|
13794
|
+
currentShiftClass1TraysPerHourTarget: number;
|
|
13795
|
+
currentShiftClass1TraysPerHourAdjustedTarget: number;
|
|
13796
|
+
currentShiftClass1TraysPerHour: number;
|
|
13797
|
+
currentShiftCostPerTrayTarget: number;
|
|
13798
|
+
currentShiftCostPerTrayAdjustedTarget: number;
|
|
13799
|
+
currentShiftCostPerTray: number;
|
|
13800
|
+
currentShiftManningTarget: number;
|
|
13801
|
+
currentShiftClass1Manning: number;
|
|
13802
|
+
currentShiftClass2Manning: number;
|
|
13803
|
+
currentShiftQualityR600IdealTarget: number;
|
|
13804
|
+
currentShiftQualityR600Ideal: number;
|
|
13805
|
+
currentShiftScorePercentage: number;
|
|
13806
|
+
class1TraysPerHourTargets: number;
|
|
13807
|
+
costPerTrayTargets: number;
|
|
13808
|
+
manningTargets: number;
|
|
13809
|
+
qualityR600IdealTargets: number;
|
|
13810
|
+
costPerManningUnitHour: number;
|
|
13811
|
+
class1TraysPerHourScoreWeighting: number;
|
|
13812
|
+
costPerTrayScoreWeighting: number;
|
|
13813
|
+
qualityR600IdealScoreWeighting: number;
|
|
12089
13814
|
};
|
|
13815
|
+
customQualityConfiguration: {
|
|
13816
|
+
id: string;
|
|
13817
|
+
name: string;
|
|
13818
|
+
type: string;
|
|
13819
|
+
points: {
|
|
13820
|
+
currentShiftCustomQualityTarget: number;
|
|
13821
|
+
currentShiftCustomQualityValue: number;
|
|
13822
|
+
customQualityTargets: number;
|
|
13823
|
+
customQualityScoreWeighting: number;
|
|
13824
|
+
};
|
|
13825
|
+
}[];
|
|
12090
13826
|
enabled: boolean;
|
|
12091
|
-
|
|
13827
|
+
taskDefinitions: {
|
|
13828
|
+
type: string;
|
|
13829
|
+
tags: {
|
|
13830
|
+
id: string;
|
|
13831
|
+
name: string;
|
|
13832
|
+
color: string;
|
|
13833
|
+
deleted: boolean;
|
|
13834
|
+
}[];
|
|
13835
|
+
}[];
|
|
13836
|
+
} | null;
|
|
13837
|
+
/**
|
|
13838
|
+
* The Advanced Packrun Management Configuration for this Packing Line
|
|
13839
|
+
*
|
|
13840
|
+
* @type {?Object}
|
|
13841
|
+
* @public
|
|
13842
|
+
*/
|
|
13843
|
+
advancedPackrunManagement: any | null;
|
|
13844
|
+
/**
|
|
13845
|
+
* The MAF Integration Configuration for this Packing Line
|
|
13846
|
+
*
|
|
13847
|
+
* @type {?Object}
|
|
13848
|
+
* @public
|
|
13849
|
+
*/
|
|
13850
|
+
mafIntegration: any | null;
|
|
12092
13851
|
/**
|
|
12093
13852
|
* The FreshPack Integration Configuration for this Packing Line
|
|
12094
13853
|
*
|
|
@@ -12248,6 +14007,27 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
|
|
|
12248
14007
|
* @public
|
|
12249
14008
|
*/
|
|
12250
14009
|
timeBatches: any[];
|
|
14010
|
+
/**
|
|
14011
|
+
* The FreshPack Grader ID associated with this Packrun
|
|
14012
|
+
*
|
|
14013
|
+
* @type {?number}
|
|
14014
|
+
* @public
|
|
14015
|
+
*/
|
|
14016
|
+
freshPackGraderId: number | null;
|
|
14017
|
+
/**
|
|
14018
|
+
* The FreshPack Bin Lot Code associated with this Packrun
|
|
14019
|
+
*
|
|
14020
|
+
* @type {?string}
|
|
14021
|
+
* @public
|
|
14022
|
+
*/
|
|
14023
|
+
freshPackBinLotCode: string | null;
|
|
14024
|
+
/**
|
|
14025
|
+
* The FreshPack Produce Code associated with this Packrun
|
|
14026
|
+
*
|
|
14027
|
+
* @type {?string}
|
|
14028
|
+
* @public
|
|
14029
|
+
*/
|
|
14030
|
+
freshPackProduceCode: string | null;
|
|
12251
14031
|
/**
|
|
12252
14032
|
* Whether the Packrun has been deleted
|
|
12253
14033
|
*
|
|
@@ -12469,7 +14249,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/RejectBinScaleModel' {
|
|
|
12469
14249
|
*/
|
|
12470
14250
|
autoPackrunChange: {
|
|
12471
14251
|
delay: number | null;
|
|
12472
|
-
};
|
|
14252
|
+
} | null;
|
|
12473
14253
|
/**
|
|
12474
14254
|
* Whether this Reject Bin Scale supports Live Weighing
|
|
12475
14255
|
*
|
|
@@ -12897,14 +14677,21 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12897
14677
|
* @type {?number}
|
|
12898
14678
|
* @public
|
|
12899
14679
|
*/
|
|
12900
|
-
class2Manning: number | null;
|
|
14680
|
+
class2Manning: number | null;
|
|
14681
|
+
/**
|
|
14682
|
+
* The Average Target Number of People that should be working for this Hour
|
|
14683
|
+
*
|
|
14684
|
+
* @type {?number}
|
|
14685
|
+
* @public
|
|
14686
|
+
*/
|
|
14687
|
+
averageManningTarget: number | null;
|
|
12901
14688
|
/**
|
|
12902
|
-
* The Average
|
|
14689
|
+
* The Average Cost per Person working in all Areas for this Hour
|
|
12903
14690
|
*
|
|
12904
14691
|
* @type {?number}
|
|
12905
14692
|
* @public
|
|
12906
14693
|
*/
|
|
12907
|
-
|
|
14694
|
+
averageCostPerManningUnit: number | null;
|
|
12908
14695
|
/**
|
|
12909
14696
|
* The Percentage of Total Tray Equivalents that are Layered for this Hour
|
|
12910
14697
|
*
|
|
@@ -12926,10 +14713,17 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12926
14713
|
* @public
|
|
12927
14714
|
*/
|
|
12928
14715
|
qualityR600IdealSamplesPercentage: number | null;
|
|
14716
|
+
/**
|
|
14717
|
+
* The Average Target Number of Quality R600 Samples that should be Ideal for this Hour
|
|
14718
|
+
*
|
|
14719
|
+
* @type {?number}
|
|
14720
|
+
* @public
|
|
14721
|
+
*/
|
|
14722
|
+
averageQualityR600IdealSamplesTarget: number | null;
|
|
12929
14723
|
/**
|
|
12930
14724
|
* An Array of Custom Quality Data Items for this Hour
|
|
12931
14725
|
*
|
|
12932
|
-
* @type {Array<{id: string, name: string, type: string, value: number}>}
|
|
14726
|
+
* @type {Array<{id: string, name: string, type: string, value: number, averageTarget: number}>}
|
|
12933
14727
|
* @public
|
|
12934
14728
|
*/
|
|
12935
14729
|
customQualityData: {
|
|
@@ -12937,6 +14731,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12937
14731
|
name: string;
|
|
12938
14732
|
type: string;
|
|
12939
14733
|
value: number;
|
|
14734
|
+
averageTarget: number;
|
|
12940
14735
|
}[];
|
|
12941
14736
|
/**
|
|
12942
14737
|
* The Total Number of Bins Tipped for this Hour
|
|
@@ -12987,6 +14782,27 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
12987
14782
|
* @public
|
|
12988
14783
|
*/
|
|
12989
14784
|
class1TraysPerHourExcludingDowntimeTarget: number;
|
|
14785
|
+
/**
|
|
14786
|
+
* The Target Number of Class 1 Tray Equivalents that should be Packed after Adjustment (Manning %, Class 1 %, Soft-Sort %) for this Hour
|
|
14787
|
+
*
|
|
14788
|
+
* @type {?number}
|
|
14789
|
+
* @public
|
|
14790
|
+
*/
|
|
14791
|
+
averageClass1TraysPerHourAdjustedTarget: number | null;
|
|
14792
|
+
/**
|
|
14793
|
+
* The Average Cost per Tray Equivalent for this Hour
|
|
14794
|
+
*
|
|
14795
|
+
* @type {?number}
|
|
14796
|
+
* @public
|
|
14797
|
+
*/
|
|
14798
|
+
averageCostPerTray: number | null;
|
|
14799
|
+
/**
|
|
14800
|
+
* The Average Cost per Tray Equivalent Target for this Hour
|
|
14801
|
+
*
|
|
14802
|
+
* @type {?number}
|
|
14803
|
+
* @public
|
|
14804
|
+
*/
|
|
14805
|
+
averageCostPerTrayTarget: number | null;
|
|
12990
14806
|
/**
|
|
12991
14807
|
* The Primary Issue Category for this Hourly Entry
|
|
12992
14808
|
*
|
|
@@ -13001,6 +14817,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
13001
14817
|
* @public
|
|
13002
14818
|
*/
|
|
13003
14819
|
primaryIssueTag: string | null;
|
|
14820
|
+
/**
|
|
14821
|
+
* A Percentage between 0% and 100% indicating how much the Primary Issue impacted Throughput for this Hourly Entry
|
|
14822
|
+
*
|
|
14823
|
+
* @type {?number}
|
|
14824
|
+
* @public
|
|
14825
|
+
*/
|
|
14826
|
+
primaryIssuePercentage: number | null;
|
|
13004
14827
|
/**
|
|
13005
14828
|
* The Secondary Issue Category for this Hourly Entry
|
|
13006
14829
|
*
|
|
@@ -13015,6 +14838,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftHourlyEntryModel'
|
|
|
13015
14838
|
* @public
|
|
13016
14839
|
*/
|
|
13017
14840
|
secondaryIssueTag: string | null;
|
|
14841
|
+
/**
|
|
14842
|
+
* A Percentage between 0% and 100% indicating how much the Secondary Issue impacted Throughput for this Hourly Entry
|
|
14843
|
+
*
|
|
14844
|
+
* @type {?number}
|
|
14845
|
+
* @public
|
|
14846
|
+
*/
|
|
14847
|
+
secondaryIssuePercentage: number | null;
|
|
13018
14848
|
/**
|
|
13019
14849
|
* An Optional Focus for the Next Hour
|
|
13020
14850
|
*
|
|
@@ -13304,6 +15134,301 @@ declare module '@ricado/api-client/Models/Packhouse/Site/ShiftModel' {
|
|
|
13304
15134
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
13305
15135
|
}
|
|
13306
15136
|
|
|
15137
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/ShiftQualitySummaryModel' {
|
|
15138
|
+
export default ShiftQualitySummaryModel;
|
|
15139
|
+
/**
|
|
15140
|
+
* Model Class for a Shift Quality Summary
|
|
15141
|
+
*
|
|
15142
|
+
* @class
|
|
15143
|
+
* @hideconstructor
|
|
15144
|
+
* @extends BaseModel
|
|
15145
|
+
*/
|
|
15146
|
+
class ShiftQualitySummaryModel extends BaseModel {
|
|
15147
|
+
/**
|
|
15148
|
+
* Create a new **ShiftQualitySummaryModel** from a JSON Object or JSON String
|
|
15149
|
+
*
|
|
15150
|
+
* @static
|
|
15151
|
+
* @public
|
|
15152
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
15153
|
+
* @param {number} siteId The Site ID associated with this Shift Quality Summary
|
|
15154
|
+
* @return {ShiftQualitySummaryModel}
|
|
15155
|
+
*/
|
|
15156
|
+
static fromJSON(json: {
|
|
15157
|
+
[x: string]: any;
|
|
15158
|
+
} | string, siteId: number): ShiftQualitySummaryModel;
|
|
15159
|
+
/**
|
|
15160
|
+
* ShiftQualitySummaryModel Constructor
|
|
15161
|
+
*
|
|
15162
|
+
* @protected
|
|
15163
|
+
* @param {number} siteId The Site ID associated with this Shift Quality Summary
|
|
15164
|
+
*/
|
|
15165
|
+
protected constructor();
|
|
15166
|
+
/**
|
|
15167
|
+
* The Shift Quality Summary ID
|
|
15168
|
+
*
|
|
15169
|
+
* @type {string}
|
|
15170
|
+
* @public
|
|
15171
|
+
*/
|
|
15172
|
+
id: string;
|
|
15173
|
+
/**
|
|
15174
|
+
* The Packing Line ID this Quality Summary is associated with
|
|
15175
|
+
*
|
|
15176
|
+
* @type {string}
|
|
15177
|
+
* @public
|
|
15178
|
+
*/
|
|
15179
|
+
packingLineId: string;
|
|
15180
|
+
/**
|
|
15181
|
+
* The Shift ID this Quality Summary is asssociated with
|
|
15182
|
+
*
|
|
15183
|
+
* @type {string}
|
|
15184
|
+
* @public
|
|
15185
|
+
*/
|
|
15186
|
+
shiftId: string;
|
|
15187
|
+
/**
|
|
15188
|
+
* When this Quality Summary was Created
|
|
15189
|
+
*
|
|
15190
|
+
* @type {Date}
|
|
15191
|
+
* @public
|
|
15192
|
+
*/
|
|
15193
|
+
createdTimestamp: Date;
|
|
15194
|
+
/**
|
|
15195
|
+
* When this Quality Summary was Published
|
|
15196
|
+
*
|
|
15197
|
+
* @type {?Date}
|
|
15198
|
+
* @public
|
|
15199
|
+
*/
|
|
15200
|
+
publishTimestamp: Date | null;
|
|
15201
|
+
/**
|
|
15202
|
+
* The User ID of the Quality Manager for this Summary
|
|
15203
|
+
*
|
|
15204
|
+
* @type {?string}
|
|
15205
|
+
* @public
|
|
15206
|
+
*/
|
|
15207
|
+
qualityManagerUserId: string | null;
|
|
15208
|
+
/**
|
|
15209
|
+
* The Name of the Quality Manager for this Summary
|
|
15210
|
+
*
|
|
15211
|
+
* @type {string}
|
|
15212
|
+
* @public
|
|
15213
|
+
*/
|
|
15214
|
+
qualityManagerName: string;
|
|
15215
|
+
/**
|
|
15216
|
+
* An Array of Accuracy Results for this Summary
|
|
15217
|
+
*
|
|
15218
|
+
* @type {Array<{type: string, value: number}>}
|
|
15219
|
+
* @public
|
|
15220
|
+
*/
|
|
15221
|
+
accuracyResults: {
|
|
15222
|
+
type: string;
|
|
15223
|
+
value: number;
|
|
15224
|
+
}[];
|
|
15225
|
+
/**
|
|
15226
|
+
* An Array of Audit Results for this Summary
|
|
15227
|
+
*
|
|
15228
|
+
* @type {Array<{type: string, value: number}>}
|
|
15229
|
+
* @public
|
|
15230
|
+
*/
|
|
15231
|
+
auditResults: {
|
|
15232
|
+
type: string;
|
|
15233
|
+
value: number;
|
|
15234
|
+
}[];
|
|
15235
|
+
/**
|
|
15236
|
+
* An Array of Packrun Results for this Summary
|
|
15237
|
+
*
|
|
15238
|
+
* @type {Array<{packrunId: string, packrunName: string, minorPackingDefects: number, majorPackingDefects: number, softs: number, cuts: number, rots: number, softsLineAverageSampleSize: ?number, softsLineAverageValue: ?number, exportFruitInClass2: ?number, exportFruitInLocalMarket: ?number, exportFruitInWaste: ?number}>}
|
|
15239
|
+
* @public
|
|
15240
|
+
*/
|
|
15241
|
+
packrunResults: {
|
|
15242
|
+
packrunId: string;
|
|
15243
|
+
packrunName: string;
|
|
15244
|
+
minorPackingDefects: number;
|
|
15245
|
+
majorPackingDefects: number;
|
|
15246
|
+
softs: number;
|
|
15247
|
+
cuts: number;
|
|
15248
|
+
rots: number;
|
|
15249
|
+
softsLineAverageSampleSize: number | null;
|
|
15250
|
+
softsLineAverageValue: number | null;
|
|
15251
|
+
exportFruitInClass2: number | null;
|
|
15252
|
+
exportFruitInLocalMarket: number | null;
|
|
15253
|
+
exportFruitInWaste: number | null;
|
|
15254
|
+
}[];
|
|
15255
|
+
/**
|
|
15256
|
+
* An Optional Rating between 1 and 10 on how Satisfied the Quality Manager was with this Shift
|
|
15257
|
+
*
|
|
15258
|
+
* @type {?number}
|
|
15259
|
+
* @public
|
|
15260
|
+
*/
|
|
15261
|
+
satisfactionRating: number | null;
|
|
15262
|
+
/**
|
|
15263
|
+
* The Status of this Quality Summary
|
|
15264
|
+
*
|
|
15265
|
+
* @type {string}
|
|
15266
|
+
* @public
|
|
15267
|
+
*/
|
|
15268
|
+
status: string;
|
|
15269
|
+
/**
|
|
15270
|
+
* Whether the Shift Quality Summary has been deleted
|
|
15271
|
+
*
|
|
15272
|
+
* @type {boolean}
|
|
15273
|
+
* @public
|
|
15274
|
+
*/
|
|
15275
|
+
deleted: boolean;
|
|
15276
|
+
/**
|
|
15277
|
+
* When the Shift Quality Summary was last updated
|
|
15278
|
+
*
|
|
15279
|
+
* @type {Date}
|
|
15280
|
+
* @public
|
|
15281
|
+
*/
|
|
15282
|
+
updateTimestamp: Date;
|
|
15283
|
+
/**
|
|
15284
|
+
* The Site ID associated with this Shift Quality Summary
|
|
15285
|
+
*
|
|
15286
|
+
* @type {number}
|
|
15287
|
+
* @public
|
|
15288
|
+
*/
|
|
15289
|
+
siteId: number;
|
|
15290
|
+
}
|
|
15291
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
15292
|
+
}
|
|
15293
|
+
|
|
15294
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/ShiftTaskModel' {
|
|
15295
|
+
export default ShiftTaskModel;
|
|
15296
|
+
/**
|
|
15297
|
+
* Model Class for a Shift Task
|
|
15298
|
+
*
|
|
15299
|
+
* @class
|
|
15300
|
+
* @hideconstructor
|
|
15301
|
+
* @extends BaseModel
|
|
15302
|
+
*/
|
|
15303
|
+
class ShiftTaskModel extends BaseModel {
|
|
15304
|
+
/**
|
|
15305
|
+
* Create a new **ShiftTaskModel** from a JSON Object or JSON String
|
|
15306
|
+
*
|
|
15307
|
+
* @static
|
|
15308
|
+
* @public
|
|
15309
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
15310
|
+
* @param {number} siteId The Site ID associated with this Shift Task
|
|
15311
|
+
* @return {ShiftTaskModel}
|
|
15312
|
+
*/
|
|
15313
|
+
static fromJSON(json: {
|
|
15314
|
+
[x: string]: any;
|
|
15315
|
+
} | string, siteId: number): ShiftTaskModel;
|
|
15316
|
+
/**
|
|
15317
|
+
* ShiftTaskModel Constructor
|
|
15318
|
+
*
|
|
15319
|
+
* @protected
|
|
15320
|
+
* @param {number} siteId The Site ID associated with this Shift Task
|
|
15321
|
+
*/
|
|
15322
|
+
protected constructor();
|
|
15323
|
+
/**
|
|
15324
|
+
* The Shift Task ID
|
|
15325
|
+
*
|
|
15326
|
+
* @type {string}
|
|
15327
|
+
* @public
|
|
15328
|
+
*/
|
|
15329
|
+
id: string;
|
|
15330
|
+
/**
|
|
15331
|
+
* The Packing Line ID this Task is associated with
|
|
15332
|
+
*
|
|
15333
|
+
* @type {string}
|
|
15334
|
+
* @public
|
|
15335
|
+
*/
|
|
15336
|
+
packingLineId: string;
|
|
15337
|
+
/**
|
|
15338
|
+
* The Shift ID this Task is asssociated with
|
|
15339
|
+
*
|
|
15340
|
+
* @type {string}
|
|
15341
|
+
* @public
|
|
15342
|
+
*/
|
|
15343
|
+
shiftId: string;
|
|
15344
|
+
/**
|
|
15345
|
+
* When this Task was Created
|
|
15346
|
+
*
|
|
15347
|
+
* @type {Date}
|
|
15348
|
+
* @public
|
|
15349
|
+
*/
|
|
15350
|
+
createdTimestamp: Date;
|
|
15351
|
+
/**
|
|
15352
|
+
* When this Task was Completed
|
|
15353
|
+
*
|
|
15354
|
+
* @type {?Date}
|
|
15355
|
+
* @public
|
|
15356
|
+
*/
|
|
15357
|
+
completedTimestamp: Date | null;
|
|
15358
|
+
/**
|
|
15359
|
+
* The User ID of the Author for this Task
|
|
15360
|
+
*
|
|
15361
|
+
* @type {?string}
|
|
15362
|
+
* @public
|
|
15363
|
+
*/
|
|
15364
|
+
authorUserId: string | null;
|
|
15365
|
+
/**
|
|
15366
|
+
* The Name of the Author for this Task
|
|
15367
|
+
*
|
|
15368
|
+
* @type {string}
|
|
15369
|
+
* @public
|
|
15370
|
+
*/
|
|
15371
|
+
authorName: string;
|
|
15372
|
+
/**
|
|
15373
|
+
* The Task Type
|
|
15374
|
+
*
|
|
15375
|
+
* @type {string}
|
|
15376
|
+
* @public
|
|
15377
|
+
*/
|
|
15378
|
+
type: string;
|
|
15379
|
+
/**
|
|
15380
|
+
* An Array of Tag IDs for this Task
|
|
15381
|
+
*
|
|
15382
|
+
* @type {string[]}
|
|
15383
|
+
* @public
|
|
15384
|
+
*/
|
|
15385
|
+
tags: string[];
|
|
15386
|
+
/**
|
|
15387
|
+
* The Title of this Task
|
|
15388
|
+
*
|
|
15389
|
+
* @type {string}
|
|
15390
|
+
* @public
|
|
15391
|
+
*/
|
|
15392
|
+
title: string;
|
|
15393
|
+
/**
|
|
15394
|
+
* The Content of this Task
|
|
15395
|
+
*
|
|
15396
|
+
* @type {string}
|
|
15397
|
+
* @public
|
|
15398
|
+
*/
|
|
15399
|
+
content: string;
|
|
15400
|
+
/**
|
|
15401
|
+
* The Status of this Task
|
|
15402
|
+
*
|
|
15403
|
+
* @type {string}
|
|
15404
|
+
* @public
|
|
15405
|
+
*/
|
|
15406
|
+
status: string;
|
|
15407
|
+
/**
|
|
15408
|
+
* Whether the Shift Task has been deleted
|
|
15409
|
+
*
|
|
15410
|
+
* @type {boolean}
|
|
15411
|
+
* @public
|
|
15412
|
+
*/
|
|
15413
|
+
deleted: boolean;
|
|
15414
|
+
/**
|
|
15415
|
+
* When the Shift Task was last updated
|
|
15416
|
+
*
|
|
15417
|
+
* @type {Date}
|
|
15418
|
+
* @public
|
|
15419
|
+
*/
|
|
15420
|
+
updateTimestamp: Date;
|
|
15421
|
+
/**
|
|
15422
|
+
* The Site ID associated with this Shift Task
|
|
15423
|
+
*
|
|
15424
|
+
* @type {number}
|
|
15425
|
+
* @public
|
|
15426
|
+
*/
|
|
15427
|
+
siteId: number;
|
|
15428
|
+
}
|
|
15429
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
15430
|
+
}
|
|
15431
|
+
|
|
13307
15432
|
declare module '@ricado/api-client/Models/Packhouse/Site/SoftSortBeltModel' {
|
|
13308
15433
|
export default SoftSortBeltModel;
|
|
13309
15434
|
/**
|