@ricado/api-client 2.3.6 → 2.3.7

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.
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
+ var _BinTipBinCardController = _interopRequireDefault(require("./BinTipBinCardController"));
9
+
8
10
  var _BinTipBinController = _interopRequireDefault(require("./BinTipBinController"));
9
11
 
10
12
  var _BinTipWeightController = _interopRequireDefault(require("./BinTipWeightController"));
@@ -69,6 +71,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
69
71
  * @namespace Controllers.Packhouse.Site
70
72
  */
71
73
  var Site = {
74
+ BinTipBinCardController: _BinTipBinCardController.default,
72
75
  BinTipBinController: _BinTipBinController.default,
73
76
  BinTipWeightController: _BinTipWeightController.default,
74
77
  CompacSizerBatchController: _CompacSizerBatchController.default,
@@ -0,0 +1,235 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.default = void 0;
7
+
8
+ var _BaseModel2 = _interopRequireDefault(require("../../../Models/BaseModel"));
9
+
10
+ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
+
12
+ function _typeof(obj) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (obj) { return typeof obj; } : function (obj) { return obj && "function" == typeof Symbol && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }, _typeof(obj); }
13
+
14
+ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
+
16
+ function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } }
17
+
18
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
19
+
20
+ function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
21
+
22
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
+
24
+ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
25
+
26
+ function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
27
+
28
+ function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
29
+
30
+ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
31
+
32
+ function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
33
+
34
+ /**
35
+ * Model Class for a Bin Tip Bin Card
36
+ *
37
+ * @class
38
+ * @hideconstructor
39
+ * @extends BaseModel
40
+ */
41
+ var BinTipBinCardModel = /*#__PURE__*/function (_BaseModel) {
42
+ _inherits(BinTipBinCardModel, _BaseModel);
43
+
44
+ var _super = _createSuper(BinTipBinCardModel);
45
+
46
+ /**
47
+ * BinTipBinCardModel Constructor
48
+ *
49
+ * @protected
50
+ * @param {number} siteId The Site ID associated with this Bin Tip Bin Card
51
+ */
52
+ function BinTipBinCardModel(siteId) {
53
+ var _this;
54
+
55
+ _classCallCheck(this, BinTipBinCardModel);
56
+
57
+ _this = _super.call(this);
58
+ /**
59
+ * The Bin Tip Bin Card ID
60
+ *
61
+ * @type {string}
62
+ * @public
63
+ */
64
+
65
+ _this.id = "";
66
+ /**
67
+ * The Bin Tip ID associated with this Bin Card
68
+ *
69
+ * @type {string}
70
+ * @public
71
+ */
72
+
73
+ _this.binTipId = "";
74
+ /**
75
+ * The Bin ID associated with this Bin Card
76
+ *
77
+ * @type {string}
78
+ * @public
79
+ */
80
+
81
+ _this.binTipBinId = "";
82
+ /**
83
+ * When this Bin Card was Created
84
+ *
85
+ * @type {Date}
86
+ * @public
87
+ */
88
+
89
+ _this.createdTimestamp = new Date();
90
+ /**
91
+ * A Base64 Encoded Image of the Bin Card
92
+ *
93
+ * @type {?string}
94
+ * @public
95
+ */
96
+
97
+ _this.image = null;
98
+ /**
99
+ * Whether the Bin Tip Bin Card has been deleted
100
+ *
101
+ * @type {boolean}
102
+ * @public
103
+ */
104
+
105
+ _this.deleted = false;
106
+ /**
107
+ * When the Bin Tip Bin Card was last updated
108
+ *
109
+ * @type {Date}
110
+ * @public
111
+ */
112
+
113
+ _this.updateTimestamp = new Date();
114
+ /**
115
+ * The Site ID associated with this Bin Tip Bin Card
116
+ *
117
+ * @type {number}
118
+ * @public
119
+ */
120
+
121
+ _this.siteId = siteId;
122
+ return _this;
123
+ }
124
+ /**
125
+ * Create a new **BinTipBinCardModel** from a JSON Object or JSON String
126
+ *
127
+ * @static
128
+ * @public
129
+ * @param {Object<string, any>|string} json A JSON Object or JSON String
130
+ * @param {number} siteId The Site ID associated with this Bin Tip Bin Card
131
+ * @return {BinTipBinCardModel}
132
+ */
133
+
134
+
135
+ _createClass(BinTipBinCardModel, null, [{
136
+ key: "fromJSON",
137
+ value: function fromJSON(json, siteId) {
138
+ var model = new BinTipBinCardModel(siteId);
139
+ /**
140
+ * The JSON Object
141
+ *
142
+ * @type {Object<string, any>}
143
+ */
144
+
145
+ var jsonObject = {};
146
+
147
+ if (typeof json === 'string') {
148
+ jsonObject = JSON.parse(json);
149
+ } else if (_typeof(json) === 'object') {
150
+ jsonObject = json;
151
+ }
152
+
153
+ if ('id' in jsonObject) {
154
+ model.id = function () {
155
+ if (typeof jsonObject['id'] !== 'string') {
156
+ return String(jsonObject['id']);
157
+ }
158
+
159
+ return jsonObject['id'];
160
+ }();
161
+ }
162
+
163
+ if ('binTipId' in jsonObject) {
164
+ model.binTipId = function () {
165
+ if (typeof jsonObject['binTipId'] !== 'string') {
166
+ return String(jsonObject['binTipId']);
167
+ }
168
+
169
+ return jsonObject['binTipId'];
170
+ }();
171
+ }
172
+
173
+ if ('binTipBinId' in jsonObject) {
174
+ model.binTipBinId = function () {
175
+ if (typeof jsonObject['binTipBinId'] !== 'string') {
176
+ return String(jsonObject['binTipBinId']);
177
+ }
178
+
179
+ return jsonObject['binTipBinId'];
180
+ }();
181
+ }
182
+
183
+ if ('createdTimestamp' in jsonObject) {
184
+ model.createdTimestamp = function () {
185
+ if (typeof jsonObject['createdTimestamp'] !== 'string') {
186
+ return new Date(String(jsonObject['createdTimestamp']));
187
+ }
188
+
189
+ return new Date(jsonObject['createdTimestamp']);
190
+ }();
191
+ }
192
+
193
+ if ('image' in jsonObject) {
194
+ model.image = function () {
195
+ if (jsonObject['image'] === null) {
196
+ return null;
197
+ }
198
+
199
+ if (typeof jsonObject['image'] !== 'string') {
200
+ return String(jsonObject['image']);
201
+ }
202
+
203
+ return jsonObject['image'];
204
+ }();
205
+ }
206
+
207
+ if ('deleted' in jsonObject) {
208
+ model.deleted = function () {
209
+ if (typeof jsonObject['deleted'] !== 'boolean') {
210
+ return Boolean(jsonObject['deleted']);
211
+ }
212
+
213
+ return jsonObject['deleted'];
214
+ }();
215
+ }
216
+
217
+ if ('updateTimestamp' in jsonObject) {
218
+ model.updateTimestamp = function () {
219
+ if (typeof jsonObject['updateTimestamp'] !== 'string') {
220
+ return new Date(String(jsonObject['updateTimestamp']));
221
+ }
222
+
223
+ return new Date(jsonObject['updateTimestamp']);
224
+ }();
225
+ }
226
+
227
+ return model;
228
+ }
229
+ }]);
230
+
231
+ return BinTipBinCardModel;
232
+ }(_BaseModel2.default);
233
+
234
+ var _default = BinTipBinCardModel;
235
+ exports.default = _default;
@@ -5,6 +5,8 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
+ var _BinTipBinCardModel = _interopRequireDefault(require("./BinTipBinCardModel"));
9
+
8
10
  var _BinTipBinModel = _interopRequireDefault(require("./BinTipBinModel"));
9
11
 
10
12
  var _BinTipWeightModel = _interopRequireDefault(require("./BinTipWeightModel"));
@@ -69,6 +71,7 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
69
71
  * @namespace Models.Packhouse.Site
70
72
  */
71
73
  var Site = {
74
+ BinTipBinCardModel: _BinTipBinCardModel.default,
72
75
  BinTipBinModel: _BinTipBinModel.default,
73
76
  BinTipWeightModel: _BinTipWeightModel.default,
74
77
  CompacSizerBatchModel: _CompacSizerBatchModel.default,
@@ -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.6';
8
+ var version = '2.3.7';
9
9
  exports.version = version;
package/lib/index.d.ts CHANGED
@@ -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 { BinTipBinCardController };
3134
3135
  export { BinTipBinController };
3135
3136
  export { BinTipWeightController };
3136
3137
  export { CompacSizerBatchController };
@@ -3158,6 +3159,7 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site' {
3158
3159
  export { SoftSortPackrunSummaryController };
3159
3160
  export { VarietyController };
3160
3161
  }
3162
+ import BinTipBinCardController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipBinCardController";
3161
3163
  import BinTipBinController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipBinController";
3162
3164
  import BinTipWeightController from "@ricado/api-client/Controllers/Packhouse/Site/BinTipWeightController";
3163
3165
  import CompacSizerBatchController from "@ricado/api-client/Controllers/Packhouse/Site/CompacSizerBatchController";
@@ -4724,6 +4726,7 @@ declare module '@ricado/api-client/Controllers/Site/TemporaryObjectController' {
4724
4726
  declare module '@ricado/api-client/Models/Packhouse/Site' {
4725
4727
  export default Site;
4726
4728
  namespace Site {
4729
+ export { BinTipBinCardModel };
4727
4730
  export { BinTipBinModel };
4728
4731
  export { BinTipWeightModel };
4729
4732
  export { CompacSizerBatchModel };
@@ -4751,6 +4754,7 @@ declare module '@ricado/api-client/Models/Packhouse/Site' {
4751
4754
  export { SoftSortPackrunSummaryModel };
4752
4755
  export { VarietyModel };
4753
4756
  }
4757
+ import BinTipBinCardModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBinCardModel";
4754
4758
  import BinTipBinModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBinModel";
4755
4759
  import BinTipWeightModel from "@ricado/api-client/Models/Packhouse/Site/BinTipWeightModel";
4756
4760
  import CompacSizerBatchModel from "@ricado/api-client/Models/Packhouse/Site/CompacSizerBatchModel";
@@ -5379,6 +5383,234 @@ declare module '@ricado/api-client/Models/Site/TemporaryObjectModel' {
5379
5383
  import BaseModel from "@ricado/api-client/Models/BaseModel";
5380
5384
  }
5381
5385
 
5386
+ declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBinCardController' {
5387
+ export default BinTipBinCardController;
5388
+ /**
5389
+ * Controller Class for Bin Tip Bin Cards
5390
+ *
5391
+ * @class
5392
+ */
5393
+ class BinTipBinCardController {
5394
+ /**
5395
+ * Retrieve a Bin Tip Bin Card [GET /packhouse/sites/{siteId}/bin-tip-bin-cards/{id}]
5396
+ *
5397
+ * @static
5398
+ * @public
5399
+ * @param {number} siteId The Site ID
5400
+ * @param {string} id The Bin Tip Bin Card ID
5401
+ * @return {Promise<BinTipBinCardModel>}
5402
+ */
5403
+ static getOne(siteId: number, id: string): Promise<BinTipBinCardModel>;
5404
+ /**
5405
+ * Update a Bin Tip Bin Card [PATCH /packhouse/sites/{siteId}/bin-tip-bin-cards/{id}]
5406
+ *
5407
+ * @static
5408
+ * @public
5409
+ * @param {number} siteId The Site ID
5410
+ * @param {string} id The Bin Tip Bin Card ID
5411
+ * @param {BinTipBinCardController.UpdateData} updateData The Bin Tip Bin Card Update Data
5412
+ * @return {Promise<BinTipBinCardModel>}
5413
+ */
5414
+ static update(siteId: number, id: string, updateData: BinTipBinCardController.UpdateData): Promise<BinTipBinCardModel>;
5415
+ /**
5416
+ * Delete a Bin Tip Bin Card [DELETE /packhouse/sites/{siteId}/bin-tip-bin-cards/{id}]
5417
+ *
5418
+ * @static
5419
+ * @public
5420
+ * @param {number} siteId The Site ID
5421
+ * @param {string} id The Bin Tip Bin Card ID
5422
+ * @return {Promise<boolean>}
5423
+ */
5424
+ static delete(siteId: number, id: string): Promise<boolean>;
5425
+ /**
5426
+ * Retrieve Comments [GET /packhouse/sites/{siteId}/bin-tip-bin-cards/{id}/comments]
5427
+ *
5428
+ * Retrieves Comments for a Bin Tip Bin Card
5429
+ *
5430
+ * @static
5431
+ * @public
5432
+ * @param {number} siteId The Site ID
5433
+ * @param {string} id The Bin Tip Bin Card ID
5434
+ * @return {Promise<Array<BinTipBinCardController.CommentItem>>}
5435
+ */
5436
+ static getComments(siteId: number, id: string): Promise<Array<BinTipBinCardController.CommentItem>>;
5437
+ /**
5438
+ * Create a Comment [POST /packhouse/sites/{siteId}/bin-tip-bin-cards/{id}/comments]
5439
+ *
5440
+ * Create a Comment for a Bin Tip Bin Card
5441
+ *
5442
+ * @static
5443
+ * @public
5444
+ * @param {number} siteId The Site ID
5445
+ * @param {string} id The Bin Tip Bin Card ID
5446
+ * @param {string} content The Content of the New Comment
5447
+ * @return {Promise<BinTipBinCardController.CommentItem>}
5448
+ */
5449
+ static createComment(siteId: number, id: string, content: string): Promise<BinTipBinCardController.CommentItem>;
5450
+ /**
5451
+ * Retrieve a Comment [GET /packhouse/sites/{siteId}/bin-tip-bin-cards/{id}/comments/{commentId}]
5452
+ *
5453
+ * Retrieves Comments for a Bin Tip Bin Card
5454
+ *
5455
+ * @static
5456
+ * @public
5457
+ * @param {number} siteId The Site ID
5458
+ * @param {string} id The Bin Tip Bin Card ID
5459
+ * @param {string} commentId The Comment ID
5460
+ * @return {Promise<BinTipBinCardController.CommentItem>}
5461
+ */
5462
+ static getOneComment(siteId: number, id: string, commentId: string): Promise<BinTipBinCardController.CommentItem>;
5463
+ /**
5464
+ * Update a Comment [PATCH /packhouse/sites/{siteId}/bin-tip-bin-cards/{id}/comments/{commentId}]
5465
+ *
5466
+ * Update a Comment for a Bin Tip Bin Card
5467
+ *
5468
+ * @static
5469
+ * @public
5470
+ * @param {number} siteId The Site ID
5471
+ * @param {string} id The Bin Tip Bin Card ID
5472
+ * @param {string} commentId The Comment ID
5473
+ * @param {string} content The Updated Content for the Comment
5474
+ * @return {Promise<BinTipBinCardController.CommentItem>}
5475
+ */
5476
+ static updateOneComment(siteId: number, id: string, commentId: string, content: string): Promise<BinTipBinCardController.CommentItem>;
5477
+ /**
5478
+ * Delete a Comment [DELETE /packhouse/sites/{siteId}/bin-tip-bin-cards/{id}/comments/{commentId}]
5479
+ *
5480
+ * Delete a Comment for a Bin Tip Bin Card
5481
+ *
5482
+ * @static
5483
+ * @public
5484
+ * @param {number} siteId The Site ID
5485
+ * @param {string} id The Bin Tip Bin Card ID
5486
+ * @param {string} commentId The Comment ID
5487
+ * @return {Promise<boolean>}
5488
+ */
5489
+ static deleteOneComment(siteId: number, id: string, commentId: string): Promise<boolean>;
5490
+ /**
5491
+ * List all Bin Tip Bin Cards [GET /packhouse/sites/{siteId}/bin-tip-bin-cards]
5492
+ *
5493
+ * @static
5494
+ * @public
5495
+ * @param {number} siteId The Site ID
5496
+ * @param {BinTipBinCardController.GetAllQueryParameters} [queryParameters] The Optional Query Parameters
5497
+ * @return {Promise<BinTipBinCardModel[]>}
5498
+ */
5499
+ static getAll(siteId: number, queryParameters?: BinTipBinCardController.GetAllQueryParameters | undefined): Promise<BinTipBinCardModel[]>;
5500
+ /**
5501
+ * Create a Bin Tip Bin Card [POST /packhouse/sites/{siteId}/bin-tip-bin-cards]
5502
+ *
5503
+ * @static
5504
+ * @public
5505
+ * @param {number} siteId The Site ID
5506
+ * @param {BinTipBinCardController.CreateData} createData The Bin Tip Bin Card Create Data
5507
+ * @return {Promise<BinTipBinCardModel>}
5508
+ */
5509
+ static create(siteId: number, createData: BinTipBinCardController.CreateData): Promise<BinTipBinCardModel>;
5510
+ }
5511
+ namespace BinTipBinCardController {
5512
+ /**
5513
+ * The Optional Query Parameters for the getAll Function
5514
+ */
5515
+ export type GetAllQueryParameters = {
5516
+ /**
5517
+ * The Bin Tip ID associated with this Bin Card
5518
+ */
5519
+ binTipId?: string;
5520
+ /**
5521
+ * The Bin ID associated with this Bin Card
5522
+ */
5523
+ binTipBinId?: string;
5524
+ /**
5525
+ * Filter by the Timestamp when this Bin Card was Created. Results Greater than or Equal to Timestamp
5526
+ */
5527
+ createdTimestampBegin?: Date;
5528
+ /**
5529
+ * Filter by the Timestamp when this Bin Card was Created. Results Less than or Equal to Timestamp
5530
+ */
5531
+ createdTimestampEnd?: Date;
5532
+ };
5533
+ /**
5534
+ * The Create Data for a Bin Tip Bin Card
5535
+ */
5536
+ export type CreateData = {
5537
+ /**
5538
+ * The Bin Tip ID associated with this Bin Card
5539
+ */
5540
+ binTipId: string;
5541
+ /**
5542
+ * The Bin ID associated with this Bin Card
5543
+ */
5544
+ binTipBinId?: string;
5545
+ /**
5546
+ * When this Bin Card was Created
5547
+ */
5548
+ createdTimestamp?: Date;
5549
+ /**
5550
+ * A Base64 Encoded Image of the Bin Card
5551
+ */
5552
+ image?: string | null;
5553
+ };
5554
+ /**
5555
+ * The Update Data for a Bin Tip Bin Card
5556
+ */
5557
+ export type UpdateData = {
5558
+ /**
5559
+ * The Bin Tip ID associated with this Bin Card
5560
+ */
5561
+ binTipId?: string;
5562
+ /**
5563
+ * When this Bin Card was Created
5564
+ */
5565
+ createdTimestamp?: Date;
5566
+ /**
5567
+ * A Base64 Encoded Image of the Bin Card
5568
+ */
5569
+ image?: string | null;
5570
+ };
5571
+ /**
5572
+ * A **UserAccount** Type
5573
+ */
5574
+ export type UserAccount = {
5575
+ /**
5576
+ * The User Account ID
5577
+ */
5578
+ id: string | null;
5579
+ /**
5580
+ * The User's First Name
5581
+ */
5582
+ firstName: string | null;
5583
+ /**
5584
+ * The User's Last Name
5585
+ */
5586
+ lastName: string | null;
5587
+ };
5588
+ /**
5589
+ * A **CommentItem** Type
5590
+ */
5591
+ export type CommentItem = {
5592
+ /**
5593
+ * The Comment ID
5594
+ */
5595
+ id: string;
5596
+ userAccount: UserAccount;
5597
+ /**
5598
+ * The Content of the Comment
5599
+ */
5600
+ content: string | null;
5601
+ /**
5602
+ * When the Comment was Created
5603
+ */
5604
+ createdTimestamp: Date | null;
5605
+ /**
5606
+ * When the Comment was last Updated
5607
+ */
5608
+ updatedTimestamp: Date | null;
5609
+ };
5610
+ }
5611
+ import BinTipBinCardModel from "@ricado/api-client/Models/Packhouse/Site/BinTipBinCardModel";
5612
+ }
5613
+
5382
5614
  declare module '@ricado/api-client/Controllers/Packhouse/Site/BinTipBinController' {
5383
5615
  export default BinTipBinController;
5384
5616
  /**
@@ -12865,6 +13097,95 @@ declare module '@ricado/api-client/Controllers/Packhouse/Site/VarietyController'
12865
13097
  import VarietyModel from "@ricado/api-client/Models/Packhouse/Site/VarietyModel";
12866
13098
  }
12867
13099
 
13100
+ declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBinCardModel' {
13101
+ export default BinTipBinCardModel;
13102
+ /**
13103
+ * Model Class for a Bin Tip Bin Card
13104
+ *
13105
+ * @class
13106
+ * @hideconstructor
13107
+ * @extends BaseModel
13108
+ */
13109
+ class BinTipBinCardModel extends BaseModel {
13110
+ /**
13111
+ * Create a new **BinTipBinCardModel** from a JSON Object or JSON String
13112
+ *
13113
+ * @static
13114
+ * @public
13115
+ * @param {Object<string, any>|string} json A JSON Object or JSON String
13116
+ * @param {number} siteId The Site ID associated with this Bin Tip Bin Card
13117
+ * @return {BinTipBinCardModel}
13118
+ */
13119
+ static fromJSON(json: {
13120
+ [x: string]: any;
13121
+ } | string, siteId: number): BinTipBinCardModel;
13122
+ /**
13123
+ * BinTipBinCardModel Constructor
13124
+ *
13125
+ * @protected
13126
+ * @param {number} siteId The Site ID associated with this Bin Tip Bin Card
13127
+ */
13128
+ protected constructor();
13129
+ /**
13130
+ * The Bin Tip Bin Card ID
13131
+ *
13132
+ * @type {string}
13133
+ * @public
13134
+ */
13135
+ id: string;
13136
+ /**
13137
+ * The Bin Tip ID associated with this Bin Card
13138
+ *
13139
+ * @type {string}
13140
+ * @public
13141
+ */
13142
+ binTipId: string;
13143
+ /**
13144
+ * The Bin ID associated with this Bin Card
13145
+ *
13146
+ * @type {string}
13147
+ * @public
13148
+ */
13149
+ binTipBinId: string;
13150
+ /**
13151
+ * When this Bin Card was Created
13152
+ *
13153
+ * @type {Date}
13154
+ * @public
13155
+ */
13156
+ createdTimestamp: Date;
13157
+ /**
13158
+ * A Base64 Encoded Image of the Bin Card
13159
+ *
13160
+ * @type {?string}
13161
+ * @public
13162
+ */
13163
+ image: string | null;
13164
+ /**
13165
+ * Whether the Bin Tip Bin Card has been deleted
13166
+ *
13167
+ * @type {boolean}
13168
+ * @public
13169
+ */
13170
+ deleted: boolean;
13171
+ /**
13172
+ * When the Bin Tip Bin Card was last updated
13173
+ *
13174
+ * @type {Date}
13175
+ * @public
13176
+ */
13177
+ updateTimestamp: Date;
13178
+ /**
13179
+ * The Site ID associated with this Bin Tip Bin Card
13180
+ *
13181
+ * @type {number}
13182
+ * @public
13183
+ */
13184
+ siteId: number;
13185
+ }
13186
+ import BaseModel from "@ricado/api-client/Models/BaseModel";
13187
+ }
13188
+
12868
13189
  declare module '@ricado/api-client/Models/Packhouse/Site/BinTipBinModel' {
12869
13190
  export default BinTipBinModel;
12870
13191
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ricado/api-client",
3
- "version": "2.3.6",
3
+ "version": "2.3.7",
4
4
  "description": "RICADO Gen 4 API Client Library for NodeJS and Browsers",
5
5
  "author": {
6
6
  "name": "Ash Neilson"