@ricado/api-client 2.7.7 → 2.7.8
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/PackingLineController.js +14 -3
- package/lib/Controllers/Packhouse/Site/PackrunGrowerNotificationController.js +940 -0
- package/lib/Controllers/Packhouse/Site/index.js +3 -0
- package/lib/Models/Packhouse/Site/PackingLineModel.js +283 -2
- package/lib/Models/Packhouse/Site/PackrunGrowerNotificationModel.js +669 -0
- package/lib/Models/Packhouse/Site/index.js +3 -0
- package/lib/PackageVersion.js +1 -1
- package/lib/index.d.ts +620 -2
- package/package.json +1 -1
- package/src/Controllers/Packhouse/Site/PackingLineController.js +14 -3
- package/src/Controllers/Packhouse/Site/PackrunGrowerNotificationController.js +1071 -0
- package/src/Controllers/Packhouse/Site/index.js +2 -0
- package/src/Models/Packhouse/Site/PackingLineModel.js +380 -2
- package/src/Models/Packhouse/Site/PackrunGrowerNotificationModel.js +763 -0
- package/src/Models/Packhouse/Site/index.js +2 -0
- package/src/PackageVersion.js +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -4478,6 +4478,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
4478
4478
|
export { PackTypeController };
|
|
4479
4479
|
export { PackingLineController };
|
|
4480
4480
|
export { PackrunController };
|
|
4481
|
+
export { PackrunGrowerNotificationController };
|
|
4481
4482
|
export { PrePackSampleController };
|
|
4482
4483
|
export { ReemoonSizerBatchController };
|
|
4483
4484
|
export { ReemoonSizerController };
|
|
@@ -4522,6 +4523,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
|
|
|
4522
4523
|
import PackTypeController from "@ricado/api-client/Controllers/Packhouse/Site/PackTypeController";
|
|
4523
4524
|
import PackingLineController from "@ricado/api-client/Controllers/Packhouse/Site/PackingLineController";
|
|
4524
4525
|
import PackrunController from "@ricado/api-client/Controllers/Packhouse/Site/PackrunController";
|
|
4526
|
+
import PackrunGrowerNotificationController from "@ricado/api-client/Controllers/Packhouse/Site/PackrunGrowerNotificationController";
|
|
4525
4527
|
import PrePackSampleController from "@ricado/api-client/Controllers/Packhouse/Site/PrePackSampleController";
|
|
4526
4528
|
import ReemoonSizerBatchController from "@ricado/api-client/Controllers/Packhouse/Site/ReemoonSizerBatchController";
|
|
4527
4529
|
import ReemoonSizerController from "@ricado/api-client/Controllers/Packhouse/Site/ReemoonSizerController";
|
|
@@ -6126,6 +6128,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
6126
6128
|
export { MAFSizerPackrunSummaryModel };
|
|
6127
6129
|
export { PackTypeModel };
|
|
6128
6130
|
export { PackingLineModel };
|
|
6131
|
+
export { PackrunGrowerNotificationModel };
|
|
6129
6132
|
export { PackrunModel };
|
|
6130
6133
|
export { PrePackSampleModel };
|
|
6131
6134
|
export { ReemoonSizerBatchModel };
|
|
@@ -6170,6 +6173,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
|
|
|
6170
6173
|
import MAFSizerPackrunSummaryModel from "@ricado/api-client/Models/Packhouse/Site/MAFSizerPackrunSummaryModel";
|
|
6171
6174
|
import PackTypeModel from "@ricado/api-client/Models/Packhouse/Site/PackTypeModel";
|
|
6172
6175
|
import PackingLineModel from "@ricado/api-client/Models/Packhouse/Site/PackingLineModel";
|
|
6176
|
+
import PackrunGrowerNotificationModel from "@ricado/api-client/Models/Packhouse/Site/PackrunGrowerNotificationModel";
|
|
6173
6177
|
import PackrunModel from "@ricado/api-client/Models/Packhouse/Site/PackrunModel";
|
|
6174
6178
|
import PrePackSampleModel from "@ricado/api-client/Models/Packhouse/Site/PrePackSampleModel";
|
|
6175
6179
|
import ReemoonSizerBatchModel from "@ricado/api-client/Models/Packhouse/Site/ReemoonSizerBatchModel";
|
|
@@ -15930,6 +15934,8 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
15930
15934
|
currentPackrunHistoricalPackrunSummaries: number;
|
|
15931
15935
|
nextPackrunRecentPackrunSummaries: number;
|
|
15932
15936
|
nextPackrunHistoricalPackrunSummaries: number;
|
|
15937
|
+
averageSecondsPerBin: number | null;
|
|
15938
|
+
estimatedPackrunTimestamps: number | null;
|
|
15933
15939
|
};
|
|
15934
15940
|
/**
|
|
15935
15941
|
* The Sizer Objects that belong to this Packing Line
|
|
@@ -15979,6 +15985,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
15979
15985
|
* The FreshQuality Integration Configuration for this Packing Line
|
|
15980
15986
|
*/
|
|
15981
15987
|
freshQualityIntegration?: FreshQualityIntegration | null | undefined;
|
|
15988
|
+
/**
|
|
15989
|
+
* The Optional Grower Notifications Configuration for this Packing Line
|
|
15990
|
+
*/
|
|
15991
|
+
growerNotifications?: GrowerNotifications | null | undefined;
|
|
15982
15992
|
};
|
|
15983
15993
|
/**
|
|
15984
15994
|
* The Update Data for a Packing Line
|
|
@@ -16027,6 +16037,8 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
16027
16037
|
currentPackrunHistoricalPackrunSummaries: number;
|
|
16028
16038
|
nextPackrunRecentPackrunSummaries: number;
|
|
16029
16039
|
nextPackrunHistoricalPackrunSummaries: number;
|
|
16040
|
+
averageSecondsPerBin: number | null;
|
|
16041
|
+
estimatedPackrunTimestamps: number | null;
|
|
16030
16042
|
} | undefined;
|
|
16031
16043
|
/**
|
|
16032
16044
|
* The Sizer Objects that belong to this Packing Line
|
|
@@ -16076,6 +16088,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
16076
16088
|
* The FreshQuality Integration Configuration for this Packing Line
|
|
16077
16089
|
*/
|
|
16078
16090
|
freshQualityIntegration?: FreshQualityIntegration | null | undefined;
|
|
16091
|
+
/**
|
|
16092
|
+
* The Optional Grower Notifications Configuration for this Packing Line
|
|
16093
|
+
*/
|
|
16094
|
+
growerNotifications?: GrowerNotifications | null | undefined;
|
|
16079
16095
|
};
|
|
16080
16096
|
/**
|
|
16081
16097
|
* A **SizerReference** Type
|
|
@@ -16764,6 +16780,11 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
16764
16780
|
currentShiftUpdateManningTeamsRequest: number | null;
|
|
16765
16781
|
currentShiftUpdateManningTeamsTimestamp: number | null;
|
|
16766
16782
|
manningTeams: number | null;
|
|
16783
|
+
packrunChangeDurationTargets: number | null;
|
|
16784
|
+
currentShiftDowntimeActive: number | null;
|
|
16785
|
+
currentShiftPackrunChangeActive: number | null;
|
|
16786
|
+
currentShiftPackrunChangeSecondsTarget: number | null;
|
|
16787
|
+
currentShiftPackrunChangeSecondsElapsed: number | null;
|
|
16767
16788
|
};
|
|
16768
16789
|
/**
|
|
16769
16790
|
* An Optional Array of Configuration Data for Custom Qualities in Shift Management
|
|
@@ -17181,6 +17202,29 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackingLineControl
|
|
|
17181
17202
|
*/
|
|
17182
17203
|
customSampleTypeIds: number[];
|
|
17183
17204
|
};
|
|
17205
|
+
/**
|
|
17206
|
+
* A **GrowerNotifications** Type
|
|
17207
|
+
*/
|
|
17208
|
+
type GrowerNotifications = {
|
|
17209
|
+
/**
|
|
17210
|
+
* The Points used for Grower Notifications
|
|
17211
|
+
*/
|
|
17212
|
+
points: {
|
|
17213
|
+
packingSoonAutoNotificationEnabled: number;
|
|
17214
|
+
packingSoonAutoNotificationSeconds: number;
|
|
17215
|
+
packingTodayAutoNotificationEnabled: number;
|
|
17216
|
+
packingTodayAutoNotificationTime: number;
|
|
17217
|
+
sendPackingTodayNotificationRequest: number;
|
|
17218
|
+
packingTodayNotificationProcessed: number;
|
|
17219
|
+
externalContactsCommunicationStatus: number;
|
|
17220
|
+
externalContactsCommunicationLastAttempt: number;
|
|
17221
|
+
externalContactsCommunicationLastError: number;
|
|
17222
|
+
};
|
|
17223
|
+
/**
|
|
17224
|
+
* Whether the Grower Notifications Integration is Enabled on this Packing Line
|
|
17225
|
+
*/
|
|
17226
|
+
enabled: boolean;
|
|
17227
|
+
};
|
|
17184
17228
|
}
|
|
17185
17229
|
import PackingLineModel from "@ricado/api-client/Models/Packhouse/Site/PackingLineModel";
|
|
17186
17230
|
}
|
|
@@ -18201,6 +18245,402 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
|
|
|
18201
18245
|
import PackrunModel from "@ricado/api-client/Models/Packhouse/Site/PackrunModel";
|
|
18202
18246
|
}
|
|
18203
18247
|
|
|
18248
|
+
declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunGrowerNotificationController' {
|
|
18249
|
+
export default PackrunGrowerNotificationController;
|
|
18250
|
+
/**
|
|
18251
|
+
* Controller Class for Packrun Grower Notifications
|
|
18252
|
+
*
|
|
18253
|
+
* @class
|
|
18254
|
+
*/
|
|
18255
|
+
class PackrunGrowerNotificationController {
|
|
18256
|
+
/**
|
|
18257
|
+
* Retrieve a Packrun Grower Notification [GET /packhouse/sites/{siteId}/packrun-grower-notifications/{id}]
|
|
18258
|
+
*
|
|
18259
|
+
* @static
|
|
18260
|
+
* @public
|
|
18261
|
+
* @param {number} siteId The Site ID
|
|
18262
|
+
* @param {string} id The Packrun Grower Notification ID
|
|
18263
|
+
* @return {Promise<PackrunGrowerNotificationModel>}
|
|
18264
|
+
*/
|
|
18265
|
+
static getOne(siteId: number, id: string): Promise<PackrunGrowerNotificationModel>;
|
|
18266
|
+
/**
|
|
18267
|
+
* Update a Packrun Grower Notification [PATCH /packhouse/sites/{siteId}/packrun-grower-notifications/{id}]
|
|
18268
|
+
*
|
|
18269
|
+
* @static
|
|
18270
|
+
* @public
|
|
18271
|
+
* @param {number} siteId The Site ID
|
|
18272
|
+
* @param {string} id The Packrun Grower Notification ID
|
|
18273
|
+
* @param {PackrunGrowerNotificationController.UpdateData} updateData The Packrun Grower Notification Update Data
|
|
18274
|
+
* @return {Promise<PackrunGrowerNotificationModel>}
|
|
18275
|
+
*/
|
|
18276
|
+
static update(siteId: number, id: string, updateData: PackrunGrowerNotificationController.UpdateData): Promise<PackrunGrowerNotificationModel>;
|
|
18277
|
+
/**
|
|
18278
|
+
* Delete a Packrun Grower Notification [DELETE /packhouse/sites/{siteId}/packrun-grower-notifications/{id}]
|
|
18279
|
+
*
|
|
18280
|
+
* @static
|
|
18281
|
+
* @public
|
|
18282
|
+
* @param {number} siteId The Site ID
|
|
18283
|
+
* @param {string} id The Packrun Grower Notification ID
|
|
18284
|
+
* @return {Promise<boolean>}
|
|
18285
|
+
*/
|
|
18286
|
+
static delete(siteId: number, id: string): Promise<boolean>;
|
|
18287
|
+
/**
|
|
18288
|
+
* Retrieve Comments [GET /packhouse/sites/{siteId}/packrun-grower-notifications/{id}/comments]
|
|
18289
|
+
*
|
|
18290
|
+
* Retrieves Comments for a Packrun Grower Notification
|
|
18291
|
+
*
|
|
18292
|
+
* @static
|
|
18293
|
+
* @public
|
|
18294
|
+
* @param {number} siteId The Site ID
|
|
18295
|
+
* @param {string} id The Packrun Grower Notification ID
|
|
18296
|
+
* @return {Promise<Array<PackrunGrowerNotificationController.CommentItem>>}
|
|
18297
|
+
*/
|
|
18298
|
+
static getComments(siteId: number, id: string): Promise<Array<PackrunGrowerNotificationController.CommentItem>>;
|
|
18299
|
+
/**
|
|
18300
|
+
* Create a Comment [POST /packhouse/sites/{siteId}/packrun-grower-notifications/{id}/comments]
|
|
18301
|
+
*
|
|
18302
|
+
* Create a Comment for a Packrun Grower Notification
|
|
18303
|
+
*
|
|
18304
|
+
* @static
|
|
18305
|
+
* @public
|
|
18306
|
+
* @param {number} siteId The Site ID
|
|
18307
|
+
* @param {string} id The Packrun Grower Notification ID
|
|
18308
|
+
* @param {string} content The Content of the New Comment
|
|
18309
|
+
* @return {Promise<PackrunGrowerNotificationController.CommentItem>}
|
|
18310
|
+
*/
|
|
18311
|
+
static createComment(siteId: number, id: string, content: string): Promise<PackrunGrowerNotificationController.CommentItem>;
|
|
18312
|
+
/**
|
|
18313
|
+
* Retrieve a Comment [GET /packhouse/sites/{siteId}/packrun-grower-notifications/{id}/comments/{commentId}]
|
|
18314
|
+
*
|
|
18315
|
+
* Retrieves Comments for a Packrun Grower Notification
|
|
18316
|
+
*
|
|
18317
|
+
* @static
|
|
18318
|
+
* @public
|
|
18319
|
+
* @param {number} siteId The Site ID
|
|
18320
|
+
* @param {string} id The Packrun Grower Notification ID
|
|
18321
|
+
* @param {string} commentId The Comment ID
|
|
18322
|
+
* @return {Promise<PackrunGrowerNotificationController.CommentItem>}
|
|
18323
|
+
*/
|
|
18324
|
+
static getOneComment(siteId: number, id: string, commentId: string): Promise<PackrunGrowerNotificationController.CommentItem>;
|
|
18325
|
+
/**
|
|
18326
|
+
* Update a Comment [PATCH /packhouse/sites/{siteId}/packrun-grower-notifications/{id}/comments/{commentId}]
|
|
18327
|
+
*
|
|
18328
|
+
* Update a Comment for a Packrun Grower Notification
|
|
18329
|
+
*
|
|
18330
|
+
* @static
|
|
18331
|
+
* @public
|
|
18332
|
+
* @param {number} siteId The Site ID
|
|
18333
|
+
* @param {string} id The Packrun Grower Notification ID
|
|
18334
|
+
* @param {string} commentId The Comment ID
|
|
18335
|
+
* @param {string} content The Updated Content for the Comment
|
|
18336
|
+
* @return {Promise<PackrunGrowerNotificationController.CommentItem>}
|
|
18337
|
+
*/
|
|
18338
|
+
static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<PackrunGrowerNotificationController.CommentItem>;
|
|
18339
|
+
/**
|
|
18340
|
+
* Delete a Comment [DELETE /packhouse/sites/{siteId}/packrun-grower-notifications/{id}/comments/{commentId}]
|
|
18341
|
+
*
|
|
18342
|
+
* Delete a Comment for a Packrun Grower Notification
|
|
18343
|
+
*
|
|
18344
|
+
* @static
|
|
18345
|
+
* @public
|
|
18346
|
+
* @param {number} siteId The Site ID
|
|
18347
|
+
* @param {string} id The Packrun Grower Notification ID
|
|
18348
|
+
* @param {string} commentId The Comment ID
|
|
18349
|
+
* @return {Promise<boolean>}
|
|
18350
|
+
*/
|
|
18351
|
+
static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
|
|
18352
|
+
/**
|
|
18353
|
+
* List all Packrun Grower Notifications [GET /packhouse/sites/{siteId}/packrun-grower-notifications]
|
|
18354
|
+
*
|
|
18355
|
+
* @static
|
|
18356
|
+
* @public
|
|
18357
|
+
* @param {number} siteId The Site ID
|
|
18358
|
+
* @param {PackrunGrowerNotificationController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
|
|
18359
|
+
* @return {Promise<PackrunGrowerNotificationModel[]>}
|
|
18360
|
+
*/
|
|
18361
|
+
static getAll(siteId: number, queryParameters?: PackrunGrowerNotificationController.GetAllQueryParameters | undefined): Promise<PackrunGrowerNotificationModel[]>;
|
|
18362
|
+
/**
|
|
18363
|
+
* Create a Packrun Grower Notification [POST /packhouse/sites/{siteId}/packrun-grower-notifications]
|
|
18364
|
+
*
|
|
18365
|
+
* @static
|
|
18366
|
+
* @public
|
|
18367
|
+
* @param {number} siteId The Site ID
|
|
18368
|
+
* @param {PackrunGrowerNotificationController.CreateData} createData The Packrun Grower Notification Create Data
|
|
18369
|
+
* @return {Promise<PackrunGrowerNotificationModel>}
|
|
18370
|
+
*/
|
|
18371
|
+
static create(siteId: number, createData: PackrunGrowerNotificationController.CreateData): Promise<PackrunGrowerNotificationModel>;
|
|
18372
|
+
}
|
|
18373
|
+
namespace PackrunGrowerNotificationController {
|
|
18374
|
+
/**
|
|
18375
|
+
* The Optional Query Parameters for the getAll Function
|
|
18376
|
+
*/
|
|
18377
|
+
type GetAllQueryParameters = {
|
|
18378
|
+
/**
|
|
18379
|
+
* The Packing Line ID this Grower Notification is associated with
|
|
18380
|
+
*/
|
|
18381
|
+
packingLineId?: string | undefined;
|
|
18382
|
+
/**
|
|
18383
|
+
* The Packrun ID this Grower Notification is associated with
|
|
18384
|
+
*/
|
|
18385
|
+
packrunId?: string | undefined;
|
|
18386
|
+
/**
|
|
18387
|
+
* The Grower Notification Type
|
|
18388
|
+
*/
|
|
18389
|
+
notificationType?: string | undefined;
|
|
18390
|
+
/**
|
|
18391
|
+
* Whether the Grower Notification is in the process of being Sent
|
|
18392
|
+
*/
|
|
18393
|
+
status?: string | undefined;
|
|
18394
|
+
/**
|
|
18395
|
+
* Filter by the Timestamp when Grower Notifications were Created. Results Greater than or Equal to Timestamp
|
|
18396
|
+
*/
|
|
18397
|
+
createdTimestampBegin?: Date | undefined;
|
|
18398
|
+
/**
|
|
18399
|
+
* Filter by the Timestamp when Grower Notifications were Created. Results Less than or Equal to Timestamp
|
|
18400
|
+
*/
|
|
18401
|
+
createdTimestampEnd?: Date | undefined;
|
|
18402
|
+
/**
|
|
18403
|
+
* Filter by the Timestamp when Grower Notifications were last Updated. Results Greater than or Equal to Timestamp
|
|
18404
|
+
*/
|
|
18405
|
+
updateTimestampBegin?: Date | undefined;
|
|
18406
|
+
/**
|
|
18407
|
+
* Filter by the Timestamp when Grower Notifications were last Updated. Results Less than or Equal to Timestamp
|
|
18408
|
+
*/
|
|
18409
|
+
updateTimestampEnd?: Date | undefined;
|
|
18410
|
+
};
|
|
18411
|
+
/**
|
|
18412
|
+
* The Create Data for a Packrun Grower Notification
|
|
18413
|
+
*/
|
|
18414
|
+
type CreateData = {
|
|
18415
|
+
/**
|
|
18416
|
+
* The Packing Line ID this Grower Notification is associated with
|
|
18417
|
+
*/
|
|
18418
|
+
packingLineId: string;
|
|
18419
|
+
/**
|
|
18420
|
+
* The Packrun ID this Grower Notification is associated with
|
|
18421
|
+
*/
|
|
18422
|
+
packrunId?: string | undefined;
|
|
18423
|
+
/**
|
|
18424
|
+
* When this Grower Notification was Created
|
|
18425
|
+
*/
|
|
18426
|
+
createdTimestamp?: Date | undefined;
|
|
18427
|
+
/**
|
|
18428
|
+
* The Grower Notification Type
|
|
18429
|
+
*/
|
|
18430
|
+
notificationType: string;
|
|
18431
|
+
/**
|
|
18432
|
+
* The SMS Request Statuses indicating progress when sending SMS Messages
|
|
18433
|
+
*/
|
|
18434
|
+
smsRequests?: SmsRequestStatus[] | undefined;
|
|
18435
|
+
/**
|
|
18436
|
+
* The Email Request Status indicating progress when sending Emails
|
|
18437
|
+
*/
|
|
18438
|
+
emailRequest?: EmailRequestStatus | null | undefined;
|
|
18439
|
+
/**
|
|
18440
|
+
* Whether the Grower Notification is in the process of being Sent
|
|
18441
|
+
*/
|
|
18442
|
+
status: string;
|
|
18443
|
+
/**
|
|
18444
|
+
* An Array of SMS Contacts for this Grower Notification
|
|
18445
|
+
*/
|
|
18446
|
+
smsContacts?: SmsContact[] | undefined;
|
|
18447
|
+
/**
|
|
18448
|
+
* An Array of Email Contacts for this Grower Notification
|
|
18449
|
+
*/
|
|
18450
|
+
emailContacts?: EmailContact[] | undefined;
|
|
18451
|
+
};
|
|
18452
|
+
/**
|
|
18453
|
+
* The Update Data for a Packrun Grower Notification
|
|
18454
|
+
*/
|
|
18455
|
+
type UpdateData = {
|
|
18456
|
+
/**
|
|
18457
|
+
* The Packing Line ID this Grower Notification is associated with
|
|
18458
|
+
*/
|
|
18459
|
+
packingLineId?: string | undefined;
|
|
18460
|
+
/**
|
|
18461
|
+
* When this Grower Notification was Created
|
|
18462
|
+
*/
|
|
18463
|
+
createdTimestamp?: Date | undefined;
|
|
18464
|
+
/**
|
|
18465
|
+
* The Grower Notification Type
|
|
18466
|
+
*/
|
|
18467
|
+
notificationType?: string | undefined;
|
|
18468
|
+
/**
|
|
18469
|
+
* The SMS Request Statuses indicating progress when sending SMS Messages
|
|
18470
|
+
*/
|
|
18471
|
+
smsRequests?: SmsRequestStatus[] | undefined;
|
|
18472
|
+
/**
|
|
18473
|
+
* The Email Request Status indicating progress when sending Emails
|
|
18474
|
+
*/
|
|
18475
|
+
emailRequest?: EmailRequestStatus | null | undefined;
|
|
18476
|
+
/**
|
|
18477
|
+
* Whether the Grower Notification is in the process of being Sent
|
|
18478
|
+
*/
|
|
18479
|
+
status?: string | undefined;
|
|
18480
|
+
/**
|
|
18481
|
+
* An Array of SMS Contacts for this Grower Notification
|
|
18482
|
+
*/
|
|
18483
|
+
smsContacts?: SmsContact[] | undefined;
|
|
18484
|
+
/**
|
|
18485
|
+
* An Array of Email Contacts for this Grower Notification
|
|
18486
|
+
*/
|
|
18487
|
+
emailContacts?: EmailContact[] | undefined;
|
|
18488
|
+
};
|
|
18489
|
+
/**
|
|
18490
|
+
* A **UserAccount** Type
|
|
18491
|
+
*/
|
|
18492
|
+
type UserAccount = {
|
|
18493
|
+
/**
|
|
18494
|
+
* The User Account ID
|
|
18495
|
+
*/
|
|
18496
|
+
id: string | null;
|
|
18497
|
+
/**
|
|
18498
|
+
* The User's First Name
|
|
18499
|
+
*/
|
|
18500
|
+
firstName: string | null;
|
|
18501
|
+
/**
|
|
18502
|
+
* The User's Last Name
|
|
18503
|
+
*/
|
|
18504
|
+
lastName: string | null;
|
|
18505
|
+
};
|
|
18506
|
+
/**
|
|
18507
|
+
* A **CommentItem** Type
|
|
18508
|
+
*/
|
|
18509
|
+
type CommentItem = {
|
|
18510
|
+
/**
|
|
18511
|
+
* The Comment ID
|
|
18512
|
+
*/
|
|
18513
|
+
id: string;
|
|
18514
|
+
userAccount: UserAccount;
|
|
18515
|
+
/**
|
|
18516
|
+
* The Content of the Comment
|
|
18517
|
+
*/
|
|
18518
|
+
content: string | null;
|
|
18519
|
+
/**
|
|
18520
|
+
* When the Comment was Created
|
|
18521
|
+
*/
|
|
18522
|
+
createdTimestamp: Date | null;
|
|
18523
|
+
/**
|
|
18524
|
+
* When the Comment was last Updated
|
|
18525
|
+
*/
|
|
18526
|
+
updatedTimestamp: Date | null;
|
|
18527
|
+
};
|
|
18528
|
+
/**
|
|
18529
|
+
* A **SmsRequestStatus** Type
|
|
18530
|
+
*/
|
|
18531
|
+
type SmsRequestStatus = {
|
|
18532
|
+
/**
|
|
18533
|
+
* The Recipient Mobile Number for this SMS Request
|
|
18534
|
+
*/
|
|
18535
|
+
mobileNumber: string;
|
|
18536
|
+
/**
|
|
18537
|
+
* The Message ID returned from the SMS API
|
|
18538
|
+
*/
|
|
18539
|
+
messageId: string | null;
|
|
18540
|
+
/**
|
|
18541
|
+
* The Message Status returned from the SMS API
|
|
18542
|
+
*/
|
|
18543
|
+
messageStatus: string | null;
|
|
18544
|
+
/**
|
|
18545
|
+
* The Number of API Requests made to Attempt to Send the SMS
|
|
18546
|
+
*/
|
|
18547
|
+
sendRequestCount: number;
|
|
18548
|
+
/**
|
|
18549
|
+
* When the latest API Request was made to Send the SMS
|
|
18550
|
+
*/
|
|
18551
|
+
sendRequestTimestamp: Date | null;
|
|
18552
|
+
/**
|
|
18553
|
+
* The HTTP Response Code received from the SMS API Send Message Request
|
|
18554
|
+
*/
|
|
18555
|
+
sendResponseCode: number | null;
|
|
18556
|
+
/**
|
|
18557
|
+
* The HTTP Response Message received from the SMS API Send Message Request
|
|
18558
|
+
*/
|
|
18559
|
+
sendResponseMessage: string | null;
|
|
18560
|
+
/**
|
|
18561
|
+
* The Number of API Requests made to Attempt to Get the SMS Status
|
|
18562
|
+
*/
|
|
18563
|
+
getStatusRequestCount: number;
|
|
18564
|
+
/**
|
|
18565
|
+
* When the latest API Request was made to Get the SMS Status
|
|
18566
|
+
*/
|
|
18567
|
+
getStatusRequestTimestamp: Date | null;
|
|
18568
|
+
/**
|
|
18569
|
+
* The HTTP Response Code received from the SMS API Get Message Status Request
|
|
18570
|
+
*/
|
|
18571
|
+
getStatusResponseCode: number | null;
|
|
18572
|
+
/**
|
|
18573
|
+
* The HTTP Response Message received from the SMS API Get Message Status Request
|
|
18574
|
+
*/
|
|
18575
|
+
getStatusResponseMessage: string | null;
|
|
18576
|
+
/**
|
|
18577
|
+
* Whether the sending of API Requests has been completed
|
|
18578
|
+
*/
|
|
18579
|
+
completed: boolean;
|
|
18580
|
+
};
|
|
18581
|
+
/**
|
|
18582
|
+
* A **EmailRequestStatus** Type
|
|
18583
|
+
*/
|
|
18584
|
+
type EmailRequestStatus = {
|
|
18585
|
+
/**
|
|
18586
|
+
* The Number of API Requests made to Attempt to Send the Email
|
|
18587
|
+
*/
|
|
18588
|
+
requestCount: number;
|
|
18589
|
+
/**
|
|
18590
|
+
* When the latest API Request was made
|
|
18591
|
+
*/
|
|
18592
|
+
requestTimestamp: Date | null;
|
|
18593
|
+
/**
|
|
18594
|
+
* The HTTP Response Code received from the Email API
|
|
18595
|
+
*/
|
|
18596
|
+
responseCode: number | null;
|
|
18597
|
+
/**
|
|
18598
|
+
* The HTTP Response Message received from the Email API
|
|
18599
|
+
*/
|
|
18600
|
+
responseMessage: string | null;
|
|
18601
|
+
/**
|
|
18602
|
+
* Whether the sending of API Requests has been completed
|
|
18603
|
+
*/
|
|
18604
|
+
completed: boolean;
|
|
18605
|
+
};
|
|
18606
|
+
/**
|
|
18607
|
+
* A **SmsContact** Type
|
|
18608
|
+
*/
|
|
18609
|
+
type SmsContact = {
|
|
18610
|
+
/**
|
|
18611
|
+
* Mobile Number of the Contact
|
|
18612
|
+
*/
|
|
18613
|
+
mobileNumber: string;
|
|
18614
|
+
/**
|
|
18615
|
+
* First Name of the Contact
|
|
18616
|
+
*/
|
|
18617
|
+
firstName: string;
|
|
18618
|
+
/**
|
|
18619
|
+
* Last Name of the Contact
|
|
18620
|
+
*/
|
|
18621
|
+
lastName: string | null;
|
|
18622
|
+
};
|
|
18623
|
+
/**
|
|
18624
|
+
* A **EmailContact** Type
|
|
18625
|
+
*/
|
|
18626
|
+
type EmailContact = {
|
|
18627
|
+
/**
|
|
18628
|
+
* Email Address of the Contact
|
|
18629
|
+
*/
|
|
18630
|
+
email: string;
|
|
18631
|
+
/**
|
|
18632
|
+
* First Name of the Contact
|
|
18633
|
+
*/
|
|
18634
|
+
firstName: string;
|
|
18635
|
+
/**
|
|
18636
|
+
* Last Name of the Contact
|
|
18637
|
+
*/
|
|
18638
|
+
lastName: string | null;
|
|
18639
|
+
};
|
|
18640
|
+
}
|
|
18641
|
+
import PackrunGrowerNotificationModel from "@ricado/api-client/Models/Packhouse/Site/PackrunGrowerNotificationModel";
|
|
18642
|
+
}
|
|
18643
|
+
|
|
18204
18644
|
declare module '@ricado/api-client/Controllers/Packhouse/Site/PrePackSampleController' {
|
|
18205
18645
|
export default PrePackSampleController;
|
|
18206
18646
|
/**
|
|
@@ -29136,7 +29576,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
29136
29576
|
/**
|
|
29137
29577
|
* The Points used by this Packing Line
|
|
29138
29578
|
*
|
|
29139
|
-
* @type {{currentPackrunId: number, nextPackrunId: number, currentPackrunName: number, nextPackrunName: number, currentPackrunVarietyCode: number, startNextPackrunRequest: number, finishCurrentPackrunRequest: number, availablePackrunList: number, createFromAvailablePackrun: number, currentTimeBatch: number, createNewTimeBatchRequest: number, currentPackrunExportPercentage: number, currentPackrunRejectPercentage: number, currentPackrunFruitSizeSummary: number, currentPackrunTotalExportTrays: number, currentPackrunExportTraysPerBin: number, currentPackrunAverageExportFruitSize: number, currentPackrunTotalClass1LayeredTrays: number, currentPackrunTotalClass1BulkTrays: number, currentPackrunTotalClass2Trays: number, currentPackrunSoftSortEventsPerBin: number, serviceModeActive: number, serviceModeBeginRequest: number, serviceModeFinishRequest: number, serviceModeStartTimestamp: number, serviceModeMaximumDuration: number, disabled: ?number, currentPackrunRecentPackrunSummaries: number, currentPackrunHistoricalPackrunSummaries: number, nextPackrunRecentPackrunSummaries: number, nextPackrunHistoricalPackrunSummaries: number}}
|
|
29579
|
+
* @type {{currentPackrunId: number, nextPackrunId: number, currentPackrunName: number, nextPackrunName: number, currentPackrunVarietyCode: number, startNextPackrunRequest: number, finishCurrentPackrunRequest: number, availablePackrunList: number, createFromAvailablePackrun: number, currentTimeBatch: number, createNewTimeBatchRequest: number, currentPackrunExportPercentage: number, currentPackrunRejectPercentage: number, currentPackrunFruitSizeSummary: number, currentPackrunTotalExportTrays: number, currentPackrunExportTraysPerBin: number, currentPackrunAverageExportFruitSize: number, currentPackrunTotalClass1LayeredTrays: number, currentPackrunTotalClass1BulkTrays: number, currentPackrunTotalClass2Trays: number, currentPackrunSoftSortEventsPerBin: number, serviceModeActive: number, serviceModeBeginRequest: number, serviceModeFinishRequest: number, serviceModeStartTimestamp: number, serviceModeMaximumDuration: number, disabled: ?number, currentPackrunRecentPackrunSummaries: number, currentPackrunHistoricalPackrunSummaries: number, nextPackrunRecentPackrunSummaries: number, nextPackrunHistoricalPackrunSummaries: number, averageSecondsPerBin: ?number, estimatedPackrunTimestamps: ?number}}
|
|
29140
29580
|
* @public
|
|
29141
29581
|
*/
|
|
29142
29582
|
points: {
|
|
@@ -29171,6 +29611,8 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
29171
29611
|
currentPackrunHistoricalPackrunSummaries: number;
|
|
29172
29612
|
nextPackrunRecentPackrunSummaries: number;
|
|
29173
29613
|
nextPackrunHistoricalPackrunSummaries: number;
|
|
29614
|
+
averageSecondsPerBin: number | null;
|
|
29615
|
+
estimatedPackrunTimestamps: number | null;
|
|
29174
29616
|
};
|
|
29175
29617
|
/**
|
|
29176
29618
|
* The Sizer Objects that belong to this Packing Line
|
|
@@ -29405,7 +29847,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
29405
29847
|
/**
|
|
29406
29848
|
* The Optional Shift Management Object for this Packing Line
|
|
29407
29849
|
*
|
|
29408
|
-
* @type {?{points: {currentShiftId: number, currentShiftStatus: number, currentShiftBreakActive: ?number, createNewDayShiftRequest: number, createNewNightShiftRequest: number, startCurrentShiftRequest: number, finishCurrentShiftRequest: number, currentFocusMeetingId: number, startFocusMeetingRequest: number, finishFocusMeetingRequest: number, currentGrowerChangeMeetingId: number, startGrowerChangeMeetingRequest: number, finishGrowerChangeMeetingRequest: number, shiftSchedules: number, currentShiftModifyHourlyEntryRequest: number, currentShiftClass1TraysPerHourTarget: number, currentShiftClass1TraysPerHourAdjustedTarget: number, currentShiftClass1TraysPerHour: number, currentShiftCostPerTrayTarget: number, currentShiftCostPerTrayAdjustedTarget: number, currentShiftCostPerTray: number, currentShiftManningTarget: number, currentShiftClass1Manning: number, currentShiftClass2Manning: number, currentShiftClass1ManningTarget: number, currentShiftClass2ManningTarget: number, currentShiftQualityR600IdealTarget: number, currentShiftQualityR600Ideal: number, currentShiftScorePercentage: number, currentShiftTotalBinsTipped: ?number, currentShiftTotalClass1Trays: ?number, currentShiftTotalClass2Trays: ?number, currentShiftTotalDowntimePercentage: ?number, currentShiftTotalDowntimeSeconds: ?number, currentShiftTotalLayeredTraysPercentage: ?number, currentShiftAverageClass1TraysPerHour: ?number, currentShiftAverageCostPerTray: ?number, currentShiftAverageClass1Manning: ?number, currentShiftAverageClass2Manning: ?number, currentShiftAverageQualityR600Ideal: ?number, currentShiftAverageScorePercentage: ?number, currentShiftProjectedTotalBinsTipped: ?number, class1TraysPerHourTargets: number, class1TraysPerHourAdjustments: number, costPerTrayTargets: number, manningTargets: number, qualityR600IdealTargets: number, layeredTrayPercentageTargets: number, class1PercentageTargets: ?number, costPerManningUnitHour: number, class1TraysPerHourScoreWeighting: number, costPerTrayScoreWeighting: number, qualityR600IdealScoreWeighting: number, summaryReportEmailContacts: number, currentShiftUpdateManningTeamsRequest: ?number, currentShiftUpdateManningTeamsTimestamp: ?number, manningTeams: ?number}, customQualityConfiguration: Array<{id: string, name: string, type: string, points: {currentShiftCustomQualityTarget: number, currentShiftCustomQualityValue: number, currentShiftCustomQualityAverageValue: ?number, customQualityTargets: number, customQualityScoreWeighting: number}}>, enabled: boolean, taskDefinitions: Array<{type: string, tags: Array<{id: string, name: string, color: string, deleted: boolean}>}>, manningUsesTeams: boolean, useDefaultManningAtShiftStart: ?boolean}}
|
|
29850
|
+
* @type {?{points: {currentShiftId: number, currentShiftStatus: number, currentShiftBreakActive: ?number, createNewDayShiftRequest: number, createNewNightShiftRequest: number, startCurrentShiftRequest: number, finishCurrentShiftRequest: number, currentFocusMeetingId: number, startFocusMeetingRequest: number, finishFocusMeetingRequest: number, currentGrowerChangeMeetingId: number, startGrowerChangeMeetingRequest: number, finishGrowerChangeMeetingRequest: number, shiftSchedules: number, currentShiftModifyHourlyEntryRequest: number, currentShiftClass1TraysPerHourTarget: number, currentShiftClass1TraysPerHourAdjustedTarget: number, currentShiftClass1TraysPerHour: number, currentShiftCostPerTrayTarget: number, currentShiftCostPerTrayAdjustedTarget: number, currentShiftCostPerTray: number, currentShiftManningTarget: number, currentShiftClass1Manning: number, currentShiftClass2Manning: number, currentShiftClass1ManningTarget: number, currentShiftClass2ManningTarget: number, currentShiftQualityR600IdealTarget: number, currentShiftQualityR600Ideal: number, currentShiftScorePercentage: number, currentShiftTotalBinsTipped: ?number, currentShiftTotalClass1Trays: ?number, currentShiftTotalClass2Trays: ?number, currentShiftTotalDowntimePercentage: ?number, currentShiftTotalDowntimeSeconds: ?number, currentShiftTotalLayeredTraysPercentage: ?number, currentShiftAverageClass1TraysPerHour: ?number, currentShiftAverageCostPerTray: ?number, currentShiftAverageClass1Manning: ?number, currentShiftAverageClass2Manning: ?number, currentShiftAverageQualityR600Ideal: ?number, currentShiftAverageScorePercentage: ?number, currentShiftProjectedTotalBinsTipped: ?number, class1TraysPerHourTargets: number, class1TraysPerHourAdjustments: number, costPerTrayTargets: number, manningTargets: number, qualityR600IdealTargets: number, layeredTrayPercentageTargets: number, class1PercentageTargets: ?number, costPerManningUnitHour: number, class1TraysPerHourScoreWeighting: number, costPerTrayScoreWeighting: number, qualityR600IdealScoreWeighting: number, summaryReportEmailContacts: number, currentShiftUpdateManningTeamsRequest: ?number, currentShiftUpdateManningTeamsTimestamp: ?number, manningTeams: ?number, packrunChangeDurationTargets: ?number, currentShiftDowntimeActive: ?number, currentShiftPackrunChangeActive: ?number, currentShiftPackrunChangeSecondsTarget: ?number, currentShiftPackrunChangeSecondsElapsed: ?number}, customQualityConfiguration: Array<{id: string, name: string, type: string, points: {currentShiftCustomQualityTarget: number, currentShiftCustomQualityValue: number, currentShiftCustomQualityAverageValue: ?number, customQualityTargets: number, customQualityScoreWeighting: number}}>, enabled: boolean, taskDefinitions: Array<{type: string, tags: Array<{id: string, name: string, color: string, deleted: boolean}>}>, manningUsesTeams: boolean, useDefaultManningAtShiftStart: ?boolean}}
|
|
29409
29851
|
* @public
|
|
29410
29852
|
*/
|
|
29411
29853
|
shiftManagement: {
|
|
@@ -29467,6 +29909,11 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
29467
29909
|
currentShiftUpdateManningTeamsRequest: number | null;
|
|
29468
29910
|
currentShiftUpdateManningTeamsTimestamp: number | null;
|
|
29469
29911
|
manningTeams: number | null;
|
|
29912
|
+
packrunChangeDurationTargets: number | null;
|
|
29913
|
+
currentShiftDowntimeActive: number | null;
|
|
29914
|
+
currentShiftPackrunChangeActive: number | null;
|
|
29915
|
+
currentShiftPackrunChangeSecondsTarget: number | null;
|
|
29916
|
+
currentShiftPackrunChangeSecondsElapsed: number | null;
|
|
29470
29917
|
};
|
|
29471
29918
|
customQualityConfiguration: {
|
|
29472
29919
|
id: string;
|
|
@@ -29664,6 +30111,26 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
29664
30111
|
maturityAreaSampleTypeIds: number[];
|
|
29665
30112
|
customSampleTypeIds: number[];
|
|
29666
30113
|
} | null;
|
|
30114
|
+
/**
|
|
30115
|
+
* The Optional Grower Notifications Configuration for this Packing Line
|
|
30116
|
+
*
|
|
30117
|
+
* @type {?{points: {packingSoonAutoNotificationEnabled: number, packingSoonAutoNotificationSeconds: number, packingTodayAutoNotificationEnabled: number, packingTodayAutoNotificationTime: number, sendPackingTodayNotificationRequest: number, packingTodayNotificationProcessed: number, externalContactsCommunicationStatus: number, externalContactsCommunicationLastAttempt: number, externalContactsCommunicationLastError: number}, enabled: boolean}}
|
|
30118
|
+
* @public
|
|
30119
|
+
*/
|
|
30120
|
+
growerNotifications: {
|
|
30121
|
+
points: {
|
|
30122
|
+
packingSoonAutoNotificationEnabled: number;
|
|
30123
|
+
packingSoonAutoNotificationSeconds: number;
|
|
30124
|
+
packingTodayAutoNotificationEnabled: number;
|
|
30125
|
+
packingTodayAutoNotificationTime: number;
|
|
30126
|
+
sendPackingTodayNotificationRequest: number;
|
|
30127
|
+
packingTodayNotificationProcessed: number;
|
|
30128
|
+
externalContactsCommunicationStatus: number;
|
|
30129
|
+
externalContactsCommunicationLastAttempt: number;
|
|
30130
|
+
externalContactsCommunicationLastError: number;
|
|
30131
|
+
};
|
|
30132
|
+
enabled: boolean;
|
|
30133
|
+
} | null;
|
|
29667
30134
|
/**
|
|
29668
30135
|
* Whether the Packing Line has been deleted
|
|
29669
30136
|
*
|
|
@@ -29689,6 +30156,157 @@ declare module '@ricado/api-client/Models/Packhouse/Site/PackingLineModel' {
|
|
|
29689
30156
|
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
29690
30157
|
}
|
|
29691
30158
|
|
|
30159
|
+
declare module '@ricado/api-client/Models/Packhouse/Site/PackrunGrowerNotificationModel' {
|
|
30160
|
+
export default PackrunGrowerNotificationModel;
|
|
30161
|
+
/**
|
|
30162
|
+
* Model Class for a Packrun Grower Notification
|
|
30163
|
+
*
|
|
30164
|
+
* @class
|
|
30165
|
+
* @hideconstructor
|
|
30166
|
+
* @extends BaseModel
|
|
30167
|
+
*/
|
|
30168
|
+
class PackrunGrowerNotificationModel extends BaseModel {
|
|
30169
|
+
/**
|
|
30170
|
+
* Create a new **PackrunGrowerNotificationModel** from a JSON Object or JSON String
|
|
30171
|
+
*
|
|
30172
|
+
* @static
|
|
30173
|
+
* @public
|
|
30174
|
+
* @param {Object<string, any>|string} json A JSON Object or JSON String
|
|
30175
|
+
* @param {number} siteId The Site ID associated with this Packrun Grower Notification
|
|
30176
|
+
* @return {PackrunGrowerNotificationModel}
|
|
30177
|
+
*/
|
|
30178
|
+
static fromJSON(json: {
|
|
30179
|
+
[x: string]: any;
|
|
30180
|
+
} | string, siteId: number): PackrunGrowerNotificationModel;
|
|
30181
|
+
/**
|
|
30182
|
+
* PackrunGrowerNotificationModel Constructor
|
|
30183
|
+
*
|
|
30184
|
+
* @protected
|
|
30185
|
+
* @param {number} siteId The Site ID associated with this Packrun Grower Notification
|
|
30186
|
+
*/
|
|
30187
|
+
protected constructor();
|
|
30188
|
+
/**
|
|
30189
|
+
* The Packrun Grower Notification ID
|
|
30190
|
+
*
|
|
30191
|
+
* @type {string}
|
|
30192
|
+
* @public
|
|
30193
|
+
*/
|
|
30194
|
+
id: string;
|
|
30195
|
+
/**
|
|
30196
|
+
* The Packing Line ID this Grower Notification is associated with
|
|
30197
|
+
*
|
|
30198
|
+
* @type {string}
|
|
30199
|
+
* @public
|
|
30200
|
+
*/
|
|
30201
|
+
packingLineId: string;
|
|
30202
|
+
/**
|
|
30203
|
+
* The Packrun ID this Grower Notification is associated with
|
|
30204
|
+
*
|
|
30205
|
+
* @type {string}
|
|
30206
|
+
* @public
|
|
30207
|
+
*/
|
|
30208
|
+
packrunId: string;
|
|
30209
|
+
/**
|
|
30210
|
+
* When this Grower Notification was Created
|
|
30211
|
+
*
|
|
30212
|
+
* @type {Date}
|
|
30213
|
+
* @public
|
|
30214
|
+
*/
|
|
30215
|
+
createdTimestamp: Date;
|
|
30216
|
+
/**
|
|
30217
|
+
* The Grower Notification Type
|
|
30218
|
+
*
|
|
30219
|
+
* @type {string}
|
|
30220
|
+
* @public
|
|
30221
|
+
*/
|
|
30222
|
+
notificationType: string;
|
|
30223
|
+
/**
|
|
30224
|
+
* The SMS Request Statuses indicating progress when sending SMS Messages
|
|
30225
|
+
*
|
|
30226
|
+
* @type {Array<{mobileNumber: string, messageId: ?string, messageStatus: ?string, sendRequestCount: number, sendRequestTimestamp: ?Date, sendResponseCode: ?number, sendResponseMessage: ?string, getStatusRequestCount: number, getStatusRequestTimestamp: ?Date, getStatusResponseCode: ?number, getStatusResponseMessage: ?string, completed: boolean}>}
|
|
30227
|
+
* @public
|
|
30228
|
+
*/
|
|
30229
|
+
smsRequests: {
|
|
30230
|
+
mobileNumber: string;
|
|
30231
|
+
messageId: string | null;
|
|
30232
|
+
messageStatus: string | null;
|
|
30233
|
+
sendRequestCount: number;
|
|
30234
|
+
sendRequestTimestamp: Date | null;
|
|
30235
|
+
sendResponseCode: number | null;
|
|
30236
|
+
sendResponseMessage: string | null;
|
|
30237
|
+
getStatusRequestCount: number;
|
|
30238
|
+
getStatusRequestTimestamp: Date | null;
|
|
30239
|
+
getStatusResponseCode: number | null;
|
|
30240
|
+
getStatusResponseMessage: string | null;
|
|
30241
|
+
completed: boolean;
|
|
30242
|
+
}[];
|
|
30243
|
+
/**
|
|
30244
|
+
* The Email Request Status indicating progress when sending Emails
|
|
30245
|
+
*
|
|
30246
|
+
* @type {?{requestCount: number, requestTimestamp: ?Date, responseCode: ?number, responseMessage: ?string, completed: boolean}}
|
|
30247
|
+
* @public
|
|
30248
|
+
*/
|
|
30249
|
+
emailRequest: {
|
|
30250
|
+
requestCount: number;
|
|
30251
|
+
requestTimestamp: Date | null;
|
|
30252
|
+
responseCode: number | null;
|
|
30253
|
+
responseMessage: string | null;
|
|
30254
|
+
completed: boolean;
|
|
30255
|
+
} | null;
|
|
30256
|
+
/**
|
|
30257
|
+
* Whether the Grower Notification is in the process of being Sent
|
|
30258
|
+
*
|
|
30259
|
+
* @type {string}
|
|
30260
|
+
* @public
|
|
30261
|
+
*/
|
|
30262
|
+
status: string;
|
|
30263
|
+
/**
|
|
30264
|
+
* An Array of SMS Contacts for this Grower Notification
|
|
30265
|
+
*
|
|
30266
|
+
* @type {Array<{mobileNumber: string, firstName: string, lastName: ?string}>}
|
|
30267
|
+
* @public
|
|
30268
|
+
*/
|
|
30269
|
+
smsContacts: {
|
|
30270
|
+
mobileNumber: string;
|
|
30271
|
+
firstName: string;
|
|
30272
|
+
lastName: string | null;
|
|
30273
|
+
}[];
|
|
30274
|
+
/**
|
|
30275
|
+
* An Array of Email Contacts for this Grower Notification
|
|
30276
|
+
*
|
|
30277
|
+
* @type {Array<{email: string, firstName: string, lastName: ?string}>}
|
|
30278
|
+
* @public
|
|
30279
|
+
*/
|
|
30280
|
+
emailContacts: {
|
|
30281
|
+
email: string;
|
|
30282
|
+
firstName: string;
|
|
30283
|
+
lastName: string | null;
|
|
30284
|
+
}[];
|
|
30285
|
+
/**
|
|
30286
|
+
* Whether the Packrun Grower Notification has been deleted
|
|
30287
|
+
*
|
|
30288
|
+
* @type {boolean}
|
|
30289
|
+
* @public
|
|
30290
|
+
*/
|
|
30291
|
+
deleted: boolean;
|
|
30292
|
+
/**
|
|
30293
|
+
* When the Packrun Grower Notification was last updated
|
|
30294
|
+
*
|
|
30295
|
+
* @type {Date}
|
|
30296
|
+
* @public
|
|
30297
|
+
*/
|
|
30298
|
+
updateTimestamp: Date;
|
|
30299
|
+
/**
|
|
30300
|
+
* The Site ID associated with this Packrun Grower Notification
|
|
30301
|
+
*
|
|
30302
|
+
* @type {number}
|
|
30303
|
+
* @public
|
|
30304
|
+
*/
|
|
30305
|
+
siteId: number;
|
|
30306
|
+
}
|
|
30307
|
+
import BaseModel from "@ricado/api-client/Models/BaseModel";
|
|
30308
|
+
}
|
|
30309
|
+
|
|
29692
30310
|
declare module '@ricado/api-client/Models/Packhouse/Site/PackrunModel' {
|
|
29693
30311
|
export default PackrunModel;
|
|
29694
30312
|
/**
|