@ricado/api-client 2.5.18 → 2.6.0

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.
@@ -103,6 +103,14 @@ var MAFSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
103
103
  */
104
104
 
105
105
  _this.classTypeSummaries = [];
106
+ /**
107
+ * An Array of Packrun Summary Data Objects for each Outlet
108
+ *
109
+ * @type {Array<{name: string, type: string, number: number, totals: Array<{classType: ?string, fruitSize: string, packType: ?string, weight: number, fruitCount: number, packCount: ?number}>}>}
110
+ * @public
111
+ */
112
+
113
+ _this.outletSummaries = [];
106
114
  /**
107
115
  * An Array that contains the Articles initially Assigned to each Outlet
108
116
  *
@@ -342,6 +350,160 @@ var MAFSizerPackrunSummaryModel = /*#__PURE__*/function (_BaseModel) {
342
350
  }();
343
351
  }
344
352
 
353
+ if ('outletSummaries' in jsonObject) {
354
+ model.outletSummaries = function () {
355
+ if (Array.isArray(jsonObject['outletSummaries']) !== true) {
356
+ return [];
357
+ }
358
+
359
+ return jsonObject['outletSummaries'].map(function (outletSummariesItem) {
360
+ return function () {
361
+ var outletSummariesItemObject = {};
362
+
363
+ if (_typeof(outletSummariesItem) === 'object' && 'name' in outletSummariesItem) {
364
+ outletSummariesItemObject.name = function () {
365
+ if (typeof outletSummariesItem.name !== 'string') {
366
+ return String(outletSummariesItem.name);
367
+ }
368
+
369
+ return outletSummariesItem.name;
370
+ }();
371
+ } else {
372
+ outletSummariesItemObject.name = "";
373
+ }
374
+
375
+ if (_typeof(outletSummariesItem) === 'object' && 'type' in outletSummariesItem) {
376
+ outletSummariesItemObject.type = function () {
377
+ if (typeof outletSummariesItem.type !== 'string') {
378
+ return String(outletSummariesItem.type);
379
+ }
380
+
381
+ return outletSummariesItem.type;
382
+ }();
383
+ } else {
384
+ outletSummariesItemObject.type = "";
385
+ }
386
+
387
+ if (_typeof(outletSummariesItem) === 'object' && 'number' in outletSummariesItem) {
388
+ outletSummariesItemObject.number = function () {
389
+ if (typeof outletSummariesItem.number !== 'number') {
390
+ return Number.isInteger(Number(outletSummariesItem.number)) ? Number(outletSummariesItem.number) : Math.floor(Number(outletSummariesItem.number));
391
+ }
392
+
393
+ return Number.isInteger(outletSummariesItem.number) ? outletSummariesItem.number : Math.floor(outletSummariesItem.number);
394
+ }();
395
+ } else {
396
+ outletSummariesItemObject.number = 0;
397
+ }
398
+
399
+ if (_typeof(outletSummariesItem) === 'object' && 'totals' in outletSummariesItem) {
400
+ outletSummariesItemObject.totals = function () {
401
+ if (Array.isArray(outletSummariesItem.totals) !== true) {
402
+ return [];
403
+ }
404
+
405
+ return outletSummariesItem.totals.map(function (totalsItem) {
406
+ return function () {
407
+ var totalsItemObject = {};
408
+
409
+ if (_typeof(totalsItem) === 'object' && 'classType' in totalsItem) {
410
+ totalsItemObject.classType = function () {
411
+ if (totalsItem.classType === null) {
412
+ return null;
413
+ }
414
+
415
+ if (typeof totalsItem.classType !== 'string') {
416
+ return String(totalsItem.classType);
417
+ }
418
+
419
+ return totalsItem.classType;
420
+ }();
421
+ } else {
422
+ totalsItemObject.classType = null;
423
+ }
424
+
425
+ if (_typeof(totalsItem) === 'object' && 'fruitSize' in totalsItem) {
426
+ totalsItemObject.fruitSize = function () {
427
+ if (typeof totalsItem.fruitSize !== 'string') {
428
+ return String(totalsItem.fruitSize);
429
+ }
430
+
431
+ return totalsItem.fruitSize;
432
+ }();
433
+ } else {
434
+ totalsItemObject.fruitSize = "";
435
+ }
436
+
437
+ if (_typeof(totalsItem) === 'object' && 'packType' in totalsItem) {
438
+ totalsItemObject.packType = function () {
439
+ if (totalsItem.packType === null) {
440
+ return null;
441
+ }
442
+
443
+ if (typeof totalsItem.packType !== 'string') {
444
+ return String(totalsItem.packType);
445
+ }
446
+
447
+ return totalsItem.packType;
448
+ }();
449
+ } else {
450
+ totalsItemObject.packType = null;
451
+ }
452
+
453
+ if (_typeof(totalsItem) === 'object' && 'weight' in totalsItem) {
454
+ totalsItemObject.weight = function () {
455
+ if (typeof totalsItem.weight !== 'number') {
456
+ return Number(totalsItem.weight);
457
+ }
458
+
459
+ return totalsItem.weight;
460
+ }();
461
+ } else {
462
+ totalsItemObject.weight = 0;
463
+ }
464
+
465
+ if (_typeof(totalsItem) === 'object' && 'fruitCount' in totalsItem) {
466
+ totalsItemObject.fruitCount = function () {
467
+ if (typeof totalsItem.fruitCount !== 'number') {
468
+ return Number.isInteger(Number(totalsItem.fruitCount)) ? Number(totalsItem.fruitCount) : Math.floor(Number(totalsItem.fruitCount));
469
+ }
470
+
471
+ return Number.isInteger(totalsItem.fruitCount) ? totalsItem.fruitCount : Math.floor(totalsItem.fruitCount);
472
+ }();
473
+ } else {
474
+ totalsItemObject.fruitCount = 0;
475
+ }
476
+
477
+ if (_typeof(totalsItem) === 'object' && 'packCount' in totalsItem) {
478
+ totalsItemObject.packCount = function () {
479
+ if (totalsItem.packCount === null) {
480
+ return null;
481
+ }
482
+
483
+ if (typeof totalsItem.packCount !== 'number') {
484
+ return Number(totalsItem.packCount);
485
+ }
486
+
487
+ return totalsItem.packCount;
488
+ }();
489
+ } else {
490
+ totalsItemObject.packCount = null;
491
+ }
492
+
493
+ return totalsItemObject;
494
+ }();
495
+ });
496
+ }();
497
+ } else {
498
+ outletSummariesItemObject.totals = [];
499
+ }
500
+
501
+ return outletSummariesItemObject;
502
+ }();
503
+ });
504
+ }();
505
+ }
506
+
345
507
  if ('initialOutletArticles' in jsonObject) {
346
508
  model.initialOutletArticles = function () {
347
509
  if (Array.isArray(jsonObject['initialOutletArticles']) !== true) {
@@ -5,5 +5,5 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.version = void 0;
7
7
  // Generated by genversion.
8
- var version = '2.5.18';
8
+ var version = '2.6.0';
9
9
  exports.version = version;
package/lib/index.d.ts CHANGED
@@ -14290,6 +14290,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerBatchContr
14290
14290
  * The Packrun ID associated with this Batch
14291
14291
  */
14292
14292
  packrunId?: string | null | undefined;
14293
+ /**
14294
+ * When the Final Update from the MAF Sizer Orphea Database has been Received
14295
+ */
14296
+ finalOrpheaUpdate?: Date | null | undefined;
14293
14297
  /**
14294
14298
  * An Array of Summary Data Objects for each Article
14295
14299
  */
@@ -14302,6 +14306,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerBatchContr
14302
14306
  * An Array of Summary Data Objects for each Fruit Size and Article
14303
14307
  */
14304
14308
  fruitSummaries?: FruitSummary[] | undefined;
14309
+ /**
14310
+ * An Array of Summary Data Objects for each Outlet by Fruit Size and Article
14311
+ */
14312
+ outletFruitSummaries?: OutletFruitSummary[] | undefined;
14313
+ /**
14314
+ * An Array of Size Names and Indexes
14315
+ */
14316
+ sizeNames?: SizeNameLookup[] | undefined;
14317
+ /**
14318
+ * An Array of Article Names and Indexes
14319
+ */
14320
+ articleNames?: ArticleNameLookup[] | undefined;
14305
14321
  };
14306
14322
  /**
14307
14323
  * The Update Data for a MAF Sizer Batch
@@ -14343,6 +14359,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerBatchContr
14343
14359
  * The Packrun ID associated with this Batch
14344
14360
  */
14345
14361
  packrunId?: string | null | undefined;
14362
+ /**
14363
+ * When the Final Update from the MAF Sizer Orphea Database has been Received
14364
+ */
14365
+ finalOrpheaUpdate?: Date | null | undefined;
14346
14366
  /**
14347
14367
  * An Array of Summary Data Objects for each Article
14348
14368
  */
@@ -14355,6 +14375,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerBatchContr
14355
14375
  * An Array of Summary Data Objects for each Fruit Size and Article
14356
14376
  */
14357
14377
  fruitSummaries?: FruitSummary[] | undefined;
14378
+ /**
14379
+ * An Array of Summary Data Objects for each Outlet by Fruit Size and Article
14380
+ */
14381
+ outletFruitSummaries?: OutletFruitSummary[] | undefined;
14382
+ /**
14383
+ * An Array of Size Names and Indexes
14384
+ */
14385
+ sizeNames?: SizeNameLookup[] | undefined;
14386
+ /**
14387
+ * An Array of Article Names and Indexes
14388
+ */
14389
+ articleNames?: ArticleNameLookup[] | undefined;
14358
14390
  };
14359
14391
  /**
14360
14392
  * A **UserAccount** Type
@@ -14399,6 +14431,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerBatchContr
14399
14431
  * A **ArticleSummary** Type
14400
14432
  */
14401
14433
  type ArticleSummary = {
14434
+ /**
14435
+ * The Article Index
14436
+ */
14437
+ index: number | null;
14402
14438
  /**
14403
14439
  * The Article Name
14404
14440
  */
@@ -14428,19 +14464,68 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerBatchContr
14428
14464
  * The Fruit Weight expressed in Kilograms
14429
14465
  */
14430
14466
  fruitWeight: number;
14467
+ /**
14468
+ * An Array of Article Indexes that have been Seen assigned to the Outlet
14469
+ */
14470
+ seenArticles: number[];
14471
+ /**
14472
+ * An Array of Article Indexes that have are Actively assigned to the Outlet
14473
+ */
14474
+ activeArticles: number[];
14431
14475
  };
14432
14476
  /**
14433
14477
  * A **FruitSummary** Type
14434
14478
  */
14435
14479
  type FruitSummary = {
14480
+ /**
14481
+ * The Size Index
14482
+ */
14483
+ sizeIndex: number;
14484
+ /**
14485
+ * The Size Name
14486
+ */
14487
+ sizeName: string;
14488
+ /**
14489
+ * The Article Index
14490
+ */
14491
+ articleIndex: number;
14436
14492
  /**
14437
14493
  * The Article Name
14438
14494
  */
14439
14495
  articleName: string;
14440
14496
  /**
14441
- * The Fruit Size
14497
+ * The Fruit Count
14442
14498
  */
14443
- fruitSize: string;
14499
+ fruitCount: number;
14500
+ /**
14501
+ * The Fruit Weight expressed in Kilograms
14502
+ */
14503
+ fruitWeight: number;
14504
+ };
14505
+ /**
14506
+ * A **OutletFruitSummary** Type
14507
+ */
14508
+ type OutletFruitSummary = {
14509
+ /**
14510
+ * The Outlet Number
14511
+ */
14512
+ outletNumber: number;
14513
+ /**
14514
+ * The Size Index
14515
+ */
14516
+ sizeIndex: number;
14517
+ /**
14518
+ * The Size Name
14519
+ */
14520
+ sizeName: string;
14521
+ /**
14522
+ * The Article Index
14523
+ */
14524
+ articleIndex: number;
14525
+ /**
14526
+ * The Article Name
14527
+ */
14528
+ articleName: string;
14444
14529
  /**
14445
14530
  * The Fruit Count
14446
14531
  */
@@ -14450,6 +14535,32 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerBatchContr
14450
14535
  */
14451
14536
  fruitWeight: number;
14452
14537
  };
14538
+ /**
14539
+ * A **SizeNameLookup** Type
14540
+ */
14541
+ type SizeNameLookup = {
14542
+ /**
14543
+ * The Size Index
14544
+ */
14545
+ index: number;
14546
+ /**
14547
+ * The Size Name
14548
+ */
14549
+ name: string;
14550
+ };
14551
+ /**
14552
+ * A **ArticleNameLookup** Type
14553
+ */
14554
+ type ArticleNameLookup = {
14555
+ /**
14556
+ * The Article Index
14557
+ */
14558
+ index: number;
14559
+ /**
14560
+ * The Article Name
14561
+ */
14562
+ name: string;
14563
+ };
14453
14564
  }
14454
14565
  import MAFSizerBatchModel from "@ricado/api-client/Models/Packhouse/Site/MAFSizerBatchModel";
14455
14566
  }
@@ -15274,6 +15385,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerPackrunSum
15274
15385
  * An Array of Packrun Summary Data Objects for each Class Type
15275
15386
  */
15276
15387
  classTypeSummaries?: ClassTypeSummary[] | undefined;
15388
+ /**
15389
+ * An Array of Packrun Summary Data Objects for each Outlet
15390
+ */
15391
+ outletSummaries?: OutletSummary[] | undefined;
15277
15392
  /**
15278
15393
  * An Array that contains the Articles initially Assigned to each Outlet
15279
15394
  */
@@ -15303,6 +15418,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerPackrunSum
15303
15418
  * An Array of Packrun Summary Data Objects for each Class Type
15304
15419
  */
15305
15420
  classTypeSummaries?: ClassTypeSummary[] | undefined;
15421
+ /**
15422
+ * An Array of Packrun Summary Data Objects for each Outlet
15423
+ */
15424
+ outletSummaries?: OutletSummary[] | undefined;
15306
15425
  /**
15307
15426
  * An Array that contains the Articles initially Assigned to each Outlet
15308
15427
  */
@@ -15389,6 +15508,56 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/MAFSizerPackrunSum
15389
15508
  */
15390
15509
  totals: ClassTypeTotal[];
15391
15510
  };
15511
+ /**
15512
+ * A **OutletTotal** Type
15513
+ */
15514
+ type OutletTotal = {
15515
+ /**
15516
+ * The Class Type
15517
+ */
15518
+ classType: string | null;
15519
+ /**
15520
+ * The Fruit Size
15521
+ */
15522
+ fruitSize: string;
15523
+ /**
15524
+ * The Pack Type
15525
+ */
15526
+ packType: string | null;
15527
+ /**
15528
+ * The Weight expressed in Kilograms
15529
+ */
15530
+ weight: number;
15531
+ /**
15532
+ * The Fruit Count
15533
+ */
15534
+ fruitCount: number;
15535
+ /**
15536
+ * The Number of Packs
15537
+ */
15538
+ packCount: number | null;
15539
+ };
15540
+ /**
15541
+ * A **OutletSummary** Type
15542
+ */
15543
+ type OutletSummary = {
15544
+ /**
15545
+ * The Outlet Name
15546
+ */
15547
+ name: string;
15548
+ /**
15549
+ * The Generic Outlet Type
15550
+ */
15551
+ type: string;
15552
+ /**
15553
+ * The Outlet Number
15554
+ */
15555
+ number: number;
15556
+ /**
15557
+ * An Array of Totals for the Outlet
15558
+ */
15559
+ totals: OutletTotal[];
15560
+ };
15392
15561
  /**
15393
15562
  * A **InitialOutletArticle** Type
15394
15563
  */
@@ -17445,6 +17614,14 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
17445
17614
  * The Percentage of Total Fruit that was Recycled for the Batch
17446
17615
  */
17447
17616
  recyclePercentage: number;
17617
+ /**
17618
+ * The Incoming Fruit Count for the Batch
17619
+ */
17620
+ incomingFruitCount: number;
17621
+ /**
17622
+ * The Incoming Fruit Weight (kg) for the Batch
17623
+ */
17624
+ incomingFruitWeight: number;
17448
17625
  };
17449
17626
  /**
17450
17627
  * A **SizerItem** Type
@@ -17532,6 +17709,18 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/PackrunController'
17532
17709
  */
17533
17710
  compacSizers: any[];
17534
17711
  sizers: SizerItem[];
17712
+ /**
17713
+ * The IDs of the Sizers that directly receive Fruit from the Infeed
17714
+ */
17715
+ incomingSizerIds: string[];
17716
+ /**
17717
+ * The Incoming Fruit Count of all Incoming Sizers
17718
+ */
17719
+ incomingSizersFruitCount: number;
17720
+ /**
17721
+ * The Incoming Fruit Weight of all Incoming Sizers
17722
+ */
17723
+ incomingSizersFruitWeight: number;
17535
17724
  /**
17536
17725
  * The Reject Bin Summary for the Packrun
17537
17726
  */
@@ -26654,13 +26843,21 @@ declare module '@ricado/api-client/Models/Packhouse/Site/MAFSizerBatchModel' {
26654
26843
  * @public
26655
26844
  */
26656
26845
  packrunId: string | null;
26846
+ /**
26847
+ * When the Final Update from the MAF Sizer Orphea Database has been Received
26848
+ *
26849
+ * @type {?Date}
26850
+ * @public
26851
+ */
26852
+ finalOrpheaUpdate: Date | null;
26657
26853
  /**
26658
26854
  * An Array of Summary Data Objects for each Article
26659
26855
  *
26660
- * @type {Array<{name: string, fruitCount: number, fruitWeight: number}>}
26856
+ * @type {Array<{index: ?number, name: string, fruitCount: number, fruitWeight: number}>}
26661
26857
  * @public
26662
26858
  */
26663
26859
  articleSummaries: {
26860
+ index: number | null;
26664
26861
  name: string;
26665
26862
  fruitCount: number;
26666
26863
  fruitWeight: number;
@@ -26668,26 +26865,65 @@ declare module '@ricado/api-client/Models/Packhouse/Site/MAFSizerBatchModel' {
26668
26865
  /**
26669
26866
  * An Array of Summary Data Objects for each Outlet
26670
26867
  *
26671
- * @type {Array<{number: number, fruitCount: number, fruitWeight: number}>}
26868
+ * @type {Array<{number: number, fruitCount: number, fruitWeight: number, seenArticles: number[], activeArticles: number[]}>}
26672
26869
  * @public
26673
26870
  */
26674
26871
  outletSummaries: {
26675
26872
  number: number;
26676
26873
  fruitCount: number;
26677
26874
  fruitWeight: number;
26875
+ seenArticles: number[];
26876
+ activeArticles: number[];
26678
26877
  }[];
26679
26878
  /**
26680
26879
  * An Array of Summary Data Objects for each Fruit Size and Article
26681
26880
  *
26682
- * @type {Array<{articleName: string, fruitSize: string, fruitCount: number, fruitWeight: number}>}
26881
+ * @type {Array<{sizeIndex: number, sizeName: string, articleIndex: number, articleName: string, fruitCount: number, fruitWeight: number}>}
26683
26882
  * @public
26684
26883
  */
26685
26884
  fruitSummaries: {
26885
+ sizeIndex: number;
26886
+ sizeName: string;
26887
+ articleIndex: number;
26888
+ articleName: string;
26889
+ fruitCount: number;
26890
+ fruitWeight: number;
26891
+ }[];
26892
+ /**
26893
+ * An Array of Summary Data Objects for each Outlet by Fruit Size and Article
26894
+ *
26895
+ * @type {Array<{outletNumber: number, sizeIndex: number, sizeName: string, articleIndex: number, articleName: string, fruitCount: number, fruitWeight: number}>}
26896
+ * @public
26897
+ */
26898
+ outletFruitSummaries: {
26899
+ outletNumber: number;
26900
+ sizeIndex: number;
26901
+ sizeName: string;
26902
+ articleIndex: number;
26686
26903
  articleName: string;
26687
- fruitSize: string;
26688
26904
  fruitCount: number;
26689
26905
  fruitWeight: number;
26690
26906
  }[];
26907
+ /**
26908
+ * An Array of Size Names and Indexes
26909
+ *
26910
+ * @type {Array<{index: number, name: string}>}
26911
+ * @public
26912
+ */
26913
+ sizeNames: {
26914
+ index: number;
26915
+ name: string;
26916
+ }[];
26917
+ /**
26918
+ * An Array of Article Names and Indexes
26919
+ *
26920
+ * @type {Array<{index: number, name: string}>}
26921
+ * @public
26922
+ */
26923
+ articleNames: {
26924
+ index: number;
26925
+ name: string;
26926
+ }[];
26691
26927
  /**
26692
26928
  * Whether the MAF Sizer Batch has been deleted
26693
26929
  *
@@ -27112,6 +27348,25 @@ declare module '@ricado/api-client/Models/Packhouse/Site/MAFSizerPackrunSummaryM
27112
27348
  packCount: number | null;
27113
27349
  }[];
27114
27350
  }[];
27351
+ /**
27352
+ * An Array of Packrun Summary Data Objects for each Outlet
27353
+ *
27354
+ * @type {Array<{name: string, type: string, number: number, totals: Array<{classType: ?string, fruitSize: string, packType: ?string, weight: number, fruitCount: number, packCount: ?number}>}>}
27355
+ * @public
27356
+ */
27357
+ outletSummaries: {
27358
+ name: string;
27359
+ type: string;
27360
+ number: number;
27361
+ totals: {
27362
+ classType: string | null;
27363
+ fruitSize: string;
27364
+ packType: string | null;
27365
+ weight: number;
27366
+ fruitCount: number;
27367
+ packCount: number | null;
27368
+ }[];
27369
+ }[];
27115
27370
  /**
27116
27371
  * An Array that contains the Articles initially Assigned to each Outlet
27117
27372
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricado/api-client",
3
- "version": "2.5.18",
3
+ "version": "2.6.0",
4
4
  "description": "RICADO Gen 4 API Client Library for NodeJS and Browsers",
5
5
  "author": {
6
6
  "name": "Ash Neilson"
@@ -978,9 +978,13 @@ export default MAFSizerBatchController;
978
978
  * @property {?string} [varietyName] The Variety Name
979
979
  * @property {number} totalWeight The Total Weight Processed for this Batch
980
980
  * @property {?string} [packrunId] The Packrun ID associated with this Batch
981
+ * @property {?Date} [finalOrpheaUpdate] When the Final Update from the MAF Sizer Orphea Database has been Received
981
982
  * @property {Array<MAFSizerBatchController.ArticleSummary>} [articleSummaries] An Array of Summary Data Objects for each Article
982
983
  * @property {Array<MAFSizerBatchController.OutletSummary>} [outletSummaries] An Array of Summary Data Objects for each Outlet
983
984
  * @property {Array<MAFSizerBatchController.FruitSummary>} [fruitSummaries] An Array of Summary Data Objects for each Fruit Size and Article
985
+ * @property {Array<MAFSizerBatchController.OutletFruitSummary>} [outletFruitSummaries] An Array of Summary Data Objects for each Outlet by Fruit Size and Article
986
+ * @property {Array<MAFSizerBatchController.SizeNameLookup>} [sizeNames] An Array of Size Names and Indexes
987
+ * @property {Array<MAFSizerBatchController.ArticleNameLookup>} [articleNames] An Array of Article Names and Indexes
984
988
  * @memberof Controllers.Packhouse.Site
985
989
  */
986
990
 
@@ -997,9 +1001,13 @@ export default MAFSizerBatchController;
997
1001
  * @property {?string} [varietyName] The Variety Name
998
1002
  * @property {number} [totalWeight] The Total Weight Processed for this Batch
999
1003
  * @property {?string} [packrunId] The Packrun ID associated with this Batch
1004
+ * @property {?Date} [finalOrpheaUpdate] When the Final Update from the MAF Sizer Orphea Database has been Received
1000
1005
  * @property {Array<MAFSizerBatchController.ArticleSummary>} [articleSummaries] An Array of Summary Data Objects for each Article
1001
1006
  * @property {Array<MAFSizerBatchController.OutletSummary>} [outletSummaries] An Array of Summary Data Objects for each Outlet
1002
1007
  * @property {Array<MAFSizerBatchController.FruitSummary>} [fruitSummaries] An Array of Summary Data Objects for each Fruit Size and Article
1008
+ * @property {Array<MAFSizerBatchController.OutletFruitSummary>} [outletFruitSummaries] An Array of Summary Data Objects for each Outlet by Fruit Size and Article
1009
+ * @property {Array<MAFSizerBatchController.SizeNameLookup>} [sizeNames] An Array of Size Names and Indexes
1010
+ * @property {Array<MAFSizerBatchController.ArticleNameLookup>} [articleNames] An Array of Article Names and Indexes
1003
1011
  * @memberof Controllers.Packhouse.Site
1004
1012
  */
1005
1013
 
@@ -1029,6 +1037,7 @@ export default MAFSizerBatchController;
1029
1037
  * A **ArticleSummary** Type
1030
1038
  *
1031
1039
  * @typedef {Object} MAFSizerBatchController.ArticleSummary
1040
+ * @property {?number} index The Article Index
1032
1041
  * @property {string} name The Article Name
1033
1042
  * @property {number} fruitCount The Fruit Count
1034
1043
  * @property {number} fruitWeight The Fruit Weight expressed in Kilograms
@@ -1042,6 +1051,8 @@ export default MAFSizerBatchController;
1042
1051
  * @property {number} number The Outlet Number
1043
1052
  * @property {number} fruitCount The Fruit Count
1044
1053
  * @property {number} fruitWeight The Fruit Weight expressed in Kilograms
1054
+ * @property {number[]} seenArticles An Array of Article Indexes that have been Seen assigned to the Outlet
1055
+ * @property {number[]} activeArticles An Array of Article Indexes that have are Actively assigned to the Outlet
1045
1056
  * @memberof Controllers.Packhouse.Site
1046
1057
  */
1047
1058
 
@@ -1049,9 +1060,43 @@ export default MAFSizerBatchController;
1049
1060
  * A **FruitSummary** Type
1050
1061
  *
1051
1062
  * @typedef {Object} MAFSizerBatchController.FruitSummary
1063
+ * @property {number} sizeIndex The Size Index
1064
+ * @property {string} sizeName The Size Name
1065
+ * @property {number} articleIndex The Article Index
1052
1066
  * @property {string} articleName The Article Name
1053
- * @property {string} fruitSize The Fruit Size
1054
1067
  * @property {number} fruitCount The Fruit Count
1055
1068
  * @property {number} fruitWeight The Fruit Weight expressed in Kilograms
1056
1069
  * @memberof Controllers.Packhouse.Site
1070
+ */
1071
+
1072
+ /**
1073
+ * A **OutletFruitSummary** Type
1074
+ *
1075
+ * @typedef {Object} MAFSizerBatchController.OutletFruitSummary
1076
+ * @property {number} outletNumber The Outlet Number
1077
+ * @property {number} sizeIndex The Size Index
1078
+ * @property {string} sizeName The Size Name
1079
+ * @property {number} articleIndex The Article Index
1080
+ * @property {string} articleName The Article Name
1081
+ * @property {number} fruitCount The Fruit Count
1082
+ * @property {number} fruitWeight The Fruit Weight expressed in Kilograms
1083
+ * @memberof Controllers.Packhouse.Site
1084
+ */
1085
+
1086
+ /**
1087
+ * A **SizeNameLookup** Type
1088
+ *
1089
+ * @typedef {Object} MAFSizerBatchController.SizeNameLookup
1090
+ * @property {number} index The Size Index
1091
+ * @property {string} name The Size Name
1092
+ * @memberof Controllers.Packhouse.Site
1093
+ */
1094
+
1095
+ /**
1096
+ * A **ArticleNameLookup** Type
1097
+ *
1098
+ * @typedef {Object} MAFSizerBatchController.ArticleNameLookup
1099
+ * @property {number} index The Article Index
1100
+ * @property {string} name The Article Name
1101
+ * @memberof Controllers.Packhouse.Site
1057
1102
  */