@ricado/api-client 2.3.7 → 2.3.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.
@@ -824,6 +824,8 @@ var _default = BinTipBinController;
824
824
  * @typedef {Object} BinTipBinController.GetAllQueryParameters
825
825
  * @property {string} [binTipId] The Bin Tip ID associated with this Bin
826
826
  * @property {string} [packrunId] The Packrun ID associated with this Bin
827
+ * @property {?string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
828
+ * @property {?string} [binNumberSource] The Source of the Bin Number
827
829
  * @property {?string} [fullBinWeightId] The `BinTipWeight` ID as the Source for the Full Weight of this Bin
828
830
  * @property {?string} [emptyBinWeightId] The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
829
831
  * @property {Date} [createdTimestampBegin] Filter by the Timestamp when this Bin was Created. Results Greater than or Equal to Timestamp
@@ -839,6 +841,7 @@ var _default = BinTipBinController;
839
841
  * @property {string} [packrunId] The Packrun ID associated with this Bin
840
842
  * @property {Date} [createdTimestamp] When this Bin was Created
841
843
  * @property {?string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
844
+ * @property {?string} [binNumberSource] The Source of the Bin Number
842
845
  * @property {?string} [timeBatchId] The Time Batch ID associated with this Bin
843
846
  * @property {?number} [fullWeight] The Full Weight for this Bin
844
847
  * @property {?number} [emptyWeight] The Empty Weight for this Bin
@@ -855,6 +858,7 @@ var _default = BinTipBinController;
855
858
  * @property {string} [binTipId] The Bin Tip ID associated with this Bin
856
859
  * @property {Date} [createdTimestamp] When this Bin was Created
857
860
  * @property {?string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
861
+ * @property {?string} [binNumberSource] The Source of the Bin Number
858
862
  * @property {?string} [timeBatchId] The Time Batch ID associated with this Bin
859
863
  * @property {?number} [fullWeight] The Full Weight for this Bin
860
864
  * @property {?number} [emptyWeight] The Empty Weight for this Bin
@@ -95,6 +95,14 @@ var BinTipBinModel = /*#__PURE__*/function (_BaseModel) {
95
95
  */
96
96
 
97
97
  _this.binNumber = null;
98
+ /**
99
+ * The Source of the Bin Number
100
+ *
101
+ * @type {?string}
102
+ * @public
103
+ */
104
+
105
+ _this.binNumberSource = null;
98
106
  /**
99
107
  * The Time Batch ID associated with this Bin
100
108
  *
@@ -252,6 +260,20 @@ var BinTipBinModel = /*#__PURE__*/function (_BaseModel) {
252
260
  }();
253
261
  }
254
262
 
263
+ if ('binNumberSource' in jsonObject) {
264
+ model.binNumberSource = function () {
265
+ if (jsonObject['binNumberSource'] === null) {
266
+ return null;
267
+ }
268
+
269
+ if (typeof jsonObject['binNumberSource'] !== 'string') {
270
+ return String(jsonObject['binNumberSource']);
271
+ }
272
+
273
+ return jsonObject['binNumberSource'];
274
+ }();
275
+ }
276
+
255
277
  if ('timeBatchId' in jsonObject) {
256
278
  model.timeBatchId = function () {
257
279
  if (jsonObject['timeBatchId'] === null) {
@@ -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.3.7';
8
+ var version = '2.3.8';
9
9
  exports.version = version;
package/lib/index.d.ts CHANGED
@@ -5749,6 +5749,14 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBinControlle
5749
5749
  * The Packrun ID associated with this Bin
5750
5750
  */
5751
5751
  packrunId?: string;
5752
+ /**
5753
+ * A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
5754
+ */
5755
+ binNumber?: string | null;
5756
+ /**
5757
+ * The Source of the Bin Number
5758
+ */
5759
+ binNumberSource?: string | null;
5752
5760
  /**
5753
5761
  * The `BinTipWeight` ID as the Source for the Full Weight of this Bin
5754
5762
  */
@@ -5786,6 +5794,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBinControlle
5786
5794
  * A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
5787
5795
  */
5788
5796
  binNumber?: string | null;
5797
+ /**
5798
+ * The Source of the Bin Number
5799
+ */
5800
+ binNumberSource?: string | null;
5789
5801
  /**
5790
5802
  * The Time Batch ID associated with this Bin
5791
5803
  */
@@ -5827,6 +5839,10 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBinControlle
5827
5839
  * A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
5828
5840
  */
5829
5841
  binNumber?: string | null;
5842
+ /**
5843
+ * The Source of the Bin Number
5844
+ */
5845
+ binNumberSource?: string | null;
5830
5846
  /**
5831
5847
  * The Time Batch ID associated with this Bin
5832
5848
  */
@@ -13250,6 +13266,13 @@ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBinModel' {
13250
13266
  * @public
13251
13267
  */
13252
13268
  binNumber: string | null;
13269
+ /**
13270
+ * The Source of the Bin Number
13271
+ *
13272
+ * @type {?string}
13273
+ * @public
13274
+ */
13275
+ binNumberSource: string | null;
13253
13276
  /**
13254
13277
  * The Time Batch ID associated with this Bin
13255
13278
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricado/api-client",
3
- "version": "2.3.7",
3
+ "version": "2.3.8",
4
4
  "description": "RICADO Gen 4 API Client Library for NodeJS and Browsers",
5
5
  "author": {
6
6
  "name": "Ash Neilson"
@@ -957,6 +957,8 @@ export default BinTipBinController;
957
957
  * @typedef {Object} BinTipBinController.GetAllQueryParameters
958
958
  * @property {string} [binTipId] The Bin Tip ID associated with this Bin
959
959
  * @property {string} [packrunId] The Packrun ID associated with this Bin
960
+ * @property {?string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
961
+ * @property {?string} [binNumberSource] The Source of the Bin Number
960
962
  * @property {?string} [fullBinWeightId] The `BinTipWeight` ID as the Source for the Full Weight of this Bin
961
963
  * @property {?string} [emptyBinWeightId] The `BinTipWeight` ID as the Source for the Empty Weight of this Bin
962
964
  * @property {Date} [createdTimestampBegin] Filter by the Timestamp when this Bin was Created. Results Greater than or Equal to Timestamp
@@ -972,6 +974,7 @@ export default BinTipBinController;
972
974
  * @property {string} [packrunId] The Packrun ID associated with this Bin
973
975
  * @property {Date} [createdTimestamp] When this Bin was Created
974
976
  * @property {?string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
977
+ * @property {?string} [binNumberSource] The Source of the Bin Number
975
978
  * @property {?string} [timeBatchId] The Time Batch ID associated with this Bin
976
979
  * @property {?number} [fullWeight] The Full Weight for this Bin
977
980
  * @property {?number} [emptyWeight] The Empty Weight for this Bin
@@ -988,6 +991,7 @@ export default BinTipBinController;
988
991
  * @property {string} [binTipId] The Bin Tip ID associated with this Bin
989
992
  * @property {Date} [createdTimestamp] When this Bin was Created
990
993
  * @property {?string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
994
+ * @property {?string} [binNumberSource] The Source of the Bin Number
991
995
  * @property {?string} [timeBatchId] The Time Batch ID associated with this Bin
992
996
  * @property {?number} [fullWeight] The Full Weight for this Bin
993
997
  * @property {?number} [emptyWeight] The Empty Weight for this Bin
@@ -65,6 +65,14 @@ class BinTipBinModel extends BaseModel
65
65
  */
66
66
  this.binNumber = null;
67
67
 
68
+ /**
69
+ * The Source of the Bin Number
70
+ *
71
+ * @type {?string}
72
+ * @public
73
+ */
74
+ this.binNumberSource = null;
75
+
68
76
  /**
69
77
  * The Time Batch ID associated with this Bin
70
78
  *
@@ -232,6 +240,23 @@ class BinTipBinModel extends BaseModel
232
240
  }());
233
241
  }
234
242
 
243
+ if('binNumberSource' in jsonObject)
244
+ {
245
+ model.binNumberSource = (function(){
246
+ if(jsonObject['binNumberSource'] === null)
247
+ {
248
+ return null;
249
+ }
250
+
251
+ if(typeof jsonObject['binNumberSource'] !== 'string')
252
+ {
253
+ return String(jsonObject['binNumberSource']);
254
+ }
255
+
256
+ return jsonObject['binNumberSource'];
257
+ }());
258
+ }
259
+
235
260
  if('timeBatchId' in jsonObject)
236
261
  {
237
262
  model.timeBatchId = (function(){
@@ -1,2 +1,2 @@
1
1
  // generated by genversion
2
- export const version = '2.3.7';
2
+ export const version = '2.3.8';