@ricado/api-client 2.3.20 → 2.3.21

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.
@@ -170,7 +170,7 @@ var _default = BinTipBarcodeScannerResultController;
170
170
  * @typedef {Object} BinTipBarcodeScannerResultController.GetAllQueryParameters
171
171
  * @property {string} [barcodeScannerId] The Bin Tip Barcode Scanner ID associated with this Result
172
172
  * @property {string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
173
- * @property {string} [type] The Type of this Barcode Scanner Result
173
+ * @property {string} [scanMode] The Mode of the Barcode Scanner when creating this Barcode Scanner Result
174
174
  * @property {?string} [packrunId] The Packrun ID associated with this Barcode Scanner Result
175
175
  * @property {Date} [createdTimestampBegin] Filter by the Timestamp when this Barcode Scanner Result was Created. Results Greater than or Equal to Timestamp
176
176
  * @property {Date} [createdTimestampEnd] Filter by the Timestamp when this Barcode Scanner Result was Created. Results Less than or Equal to Timestamp
@@ -184,7 +184,7 @@ var _default = BinTipBarcodeScannerResultController;
184
184
  * @property {string} barcodeScannerId The Bin Tip Barcode Scanner ID associated with this Result
185
185
  * @property {string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
186
186
  * @property {Date} [createdTimestamp] When this Barcode Scanner Result was Created
187
- * @property {string} type The Type of this Barcode Scanner Result
187
+ * @property {string} scanMode The Mode of the Barcode Scanner when creating this Barcode Scanner Result
188
188
  * @property {?string} [packrunId] The Packrun ID associated with this Barcode Scanner Result
189
189
  * @property {boolean} result Whether the Bin Number was Valid and could be matched with a Current or Scheduled Packrun
190
190
  * @property {?string} resultMessage An Optional Message to accompany the Result. Typically only present when the Result is **false**
@@ -197,7 +197,7 @@ var _default = BinTipBarcodeScannerResultController;
197
197
  * @typedef {Object} BinTipBarcodeScannerResultController.UpdateData
198
198
  * @property {string} [barcodeScannerId] The Bin Tip Barcode Scanner ID associated with this Result
199
199
  * @property {Date} [createdTimestamp] When this Barcode Scanner Result was Created
200
- * @property {string} [type] The Type of this Barcode Scanner Result
200
+ * @property {string} [scanMode] The Mode of the Barcode Scanner when creating this Barcode Scanner Result
201
201
  * @property {?string} [packrunId] The Packrun ID associated with this Barcode Scanner Result
202
202
  * @property {boolean} [result] Whether the Bin Number was Valid and could be matched with a Current or Scheduled Packrun
203
203
  * @property {?string} [resultMessage] An Optional Message to accompany the Result. Typically only present when the Result is **false**
@@ -88,13 +88,13 @@ var BinTipBarcodeScannerResultModel = /*#__PURE__*/function (_BaseModel) {
88
88
 
89
89
  _this.createdTimestamp = new Date();
90
90
  /**
91
- * The Type of this Barcode Scanner Result
91
+ * The Mode of the Barcode Scanner when creating this Barcode Scanner Result
92
92
  *
93
93
  * @type {string}
94
94
  * @public
95
95
  */
96
96
 
97
- _this.type = "";
97
+ _this.scanMode = "";
98
98
  /**
99
99
  * The Packrun ID associated with this Barcode Scanner Result
100
100
  *
@@ -222,13 +222,13 @@ var BinTipBarcodeScannerResultModel = /*#__PURE__*/function (_BaseModel) {
222
222
  }();
223
223
  }
224
224
 
225
- if ('type' in jsonObject) {
226
- model.type = function () {
227
- if (typeof jsonObject['type'] !== 'string') {
228
- return String(jsonObject['type']);
225
+ if ('scanMode' in jsonObject) {
226
+ model.scanMode = function () {
227
+ if (typeof jsonObject['scanMode'] !== 'string') {
228
+ return String(jsonObject['scanMode']);
229
229
  }
230
230
 
231
- return jsonObject['type'];
231
+ return jsonObject['scanMode'];
232
232
  }();
233
233
  }
234
234
 
@@ -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.20';
8
+ var version = '2.3.21';
9
9
  exports.version = version;
package/lib/index.d.ts CHANGED
@@ -6878,9 +6878,9 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScann
6878
6878
  */
6879
6879
  binNumber?: string;
6880
6880
  /**
6881
- * The Type of this Barcode Scanner Result
6881
+ * The Mode of the Barcode Scanner when creating this Barcode Scanner Result
6882
6882
  */
6883
- type?: string;
6883
+ scanMode?: string;
6884
6884
  /**
6885
6885
  * The Packrun ID associated with this Barcode Scanner Result
6886
6886
  */
@@ -6911,9 +6911,9 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScann
6911
6911
  */
6912
6912
  createdTimestamp?: Date;
6913
6913
  /**
6914
- * The Type of this Barcode Scanner Result
6914
+ * The Mode of the Barcode Scanner when creating this Barcode Scanner Result
6915
6915
  */
6916
- type: string;
6916
+ scanMode: string;
6917
6917
  /**
6918
6918
  * The Packrun ID associated with this Barcode Scanner Result
6919
6919
  */
@@ -6940,9 +6940,9 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBarcodeScann
6940
6940
  */
6941
6941
  createdTimestamp?: Date;
6942
6942
  /**
6943
- * The Type of this Barcode Scanner Result
6943
+ * The Mode of the Barcode Scanner when creating this Barcode Scanner Result
6944
6944
  */
6945
- type?: string;
6945
+ scanMode?: string;
6946
6946
  /**
6947
6947
  * The Packrun ID associated with this Barcode Scanner Result
6948
6948
  */
@@ -19149,12 +19149,12 @@ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBarcodeScannerRes
19149
19149
  */
19150
19150
  createdTimestamp: Date;
19151
19151
  /**
19152
- * The Type of this Barcode Scanner Result
19152
+ * The Mode of the Barcode Scanner when creating this Barcode Scanner Result
19153
19153
  *
19154
19154
  * @type {string}
19155
19155
  * @public
19156
19156
  */
19157
- type: string;
19157
+ scanMode: string;
19158
19158
  /**
19159
19159
  * The Packrun ID associated with this Barcode Scanner Result
19160
19160
  *
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricado/api-client",
3
- "version": "2.3.20",
3
+ "version": "2.3.21",
4
4
  "description": "RICADO Gen 4 API Client Library for NodeJS and Browsers",
5
5
  "author": {
6
6
  "name": "Ash Neilson"
@@ -149,7 +149,7 @@ export default BinTipBarcodeScannerResultController;
149
149
  * @typedef {Object} BinTipBarcodeScannerResultController.GetAllQueryParameters
150
150
  * @property {string} [barcodeScannerId] The Bin Tip Barcode Scanner ID associated with this Result
151
151
  * @property {string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
152
- * @property {string} [type] The Type of this Barcode Scanner Result
152
+ * @property {string} [scanMode] The Mode of the Barcode Scanner when creating this Barcode Scanner Result
153
153
  * @property {?string} [packrunId] The Packrun ID associated with this Barcode Scanner Result
154
154
  * @property {Date} [createdTimestampBegin] Filter by the Timestamp when this Barcode Scanner Result was Created. Results Greater than or Equal to Timestamp
155
155
  * @property {Date} [createdTimestampEnd] Filter by the Timestamp when this Barcode Scanner Result was Created. Results Less than or Equal to Timestamp
@@ -163,7 +163,7 @@ export default BinTipBarcodeScannerResultController;
163
163
  * @property {string} barcodeScannerId The Bin Tip Barcode Scanner ID associated with this Result
164
164
  * @property {string} [binNumber] A 10-Digit Bin Number made up of a Bin Lot (4-Digits) and a Unique Number (6-Digits)
165
165
  * @property {Date} [createdTimestamp] When this Barcode Scanner Result was Created
166
- * @property {string} type The Type of this Barcode Scanner Result
166
+ * @property {string} scanMode The Mode of the Barcode Scanner when creating this Barcode Scanner Result
167
167
  * @property {?string} [packrunId] The Packrun ID associated with this Barcode Scanner Result
168
168
  * @property {boolean} result Whether the Bin Number was Valid and could be matched with a Current or Scheduled Packrun
169
169
  * @property {?string} resultMessage An Optional Message to accompany the Result. Typically only present when the Result is **false**
@@ -176,7 +176,7 @@ export default BinTipBarcodeScannerResultController;
176
176
  * @typedef {Object} BinTipBarcodeScannerResultController.UpdateData
177
177
  * @property {string} [barcodeScannerId] The Bin Tip Barcode Scanner ID associated with this Result
178
178
  * @property {Date} [createdTimestamp] When this Barcode Scanner Result was Created
179
- * @property {string} [type] The Type of this Barcode Scanner Result
179
+ * @property {string} [scanMode] The Mode of the Barcode Scanner when creating this Barcode Scanner Result
180
180
  * @property {?string} [packrunId] The Packrun ID associated with this Barcode Scanner Result
181
181
  * @property {boolean} [result] Whether the Bin Number was Valid and could be matched with a Current or Scheduled Packrun
182
182
  * @property {?string} [resultMessage] An Optional Message to accompany the Result. Typically only present when the Result is **false**
@@ -58,12 +58,12 @@ class BinTipBarcodeScannerResultModel extends BaseModel
58
58
  this.createdTimestamp = new Date();
59
59
 
60
60
  /**
61
- * The Type of this Barcode Scanner Result
61
+ * The Mode of the Barcode Scanner when creating this Barcode Scanner Result
62
62
  *
63
63
  * @type {string}
64
64
  * @public
65
65
  */
66
- this.type = "";
66
+ this.scanMode = "";
67
67
 
68
68
  /**
69
69
  * The Packrun ID associated with this Barcode Scanner Result
@@ -199,15 +199,15 @@ class BinTipBarcodeScannerResultModel extends BaseModel
199
199
  }());
200
200
  }
201
201
 
202
- if('type' in jsonObject)
202
+ if('scanMode' in jsonObject)
203
203
  {
204
- model.type = (function(){
205
- if(typeof jsonObject['type'] !== 'string')
204
+ model.scanMode = (function(){
205
+ if(typeof jsonObject['scanMode'] !== 'string')
206
206
  {
207
- return String(jsonObject['type']);
207
+ return String(jsonObject['scanMode']);
208
208
  }
209
209
 
210
- return jsonObject['type'];
210
+ return jsonObject['scanMode'];
211
211
  }());
212
212
  }
213
213
 
@@ -1,2 +1,2 @@
1
1
  // Generated by genversion.
2
- export const version = '2.3.20';
2
+ export const version = '2.3.21';