@ricado/api-client 2.0.0 → 2.1.1

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.
Files changed (157) hide show
  1. package/README.md +5 -7
  2. package/dist/ricado.api.client.js +1 -1
  3. package/lib/Controllers/AccountPolicyController.js +1 -1
  4. package/lib/Controllers/ApiAccountController.js +2 -2
  5. package/lib/Controllers/CompanyController.js +1 -1
  6. package/lib/Controllers/FirebaseTokenController.js +1 -1
  7. package/lib/Controllers/Packhouse/Site/BinTipWeightController.js +6 -6
  8. package/lib/Controllers/Packhouse/Site/CompacSizerBatchController.js +6 -6
  9. package/lib/Controllers/Packhouse/Site/CompacSizerController.js +5 -5
  10. package/lib/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +6 -6
  11. package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +6 -6
  12. package/lib/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +5 -5
  13. package/lib/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +6 -6
  14. package/lib/Controllers/Packhouse/Site/DowntimeEventController.js +6 -6
  15. package/lib/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +6 -6
  16. package/lib/Controllers/Packhouse/Site/GrowingMethodController.js +5 -5
  17. package/lib/Controllers/Packhouse/Site/PackTypeController.js +5 -5
  18. package/lib/Controllers/Packhouse/Site/PackingLineController.js +5 -5
  19. package/lib/Controllers/Packhouse/Site/PackrunController.js +292 -6
  20. package/lib/Controllers/Packhouse/Site/RejectBinController.js +6 -6
  21. package/lib/Controllers/Packhouse/Site/RejectBinScaleController.js +29 -7
  22. package/lib/Controllers/Packhouse/Site/RejectBinWeightController.js +6 -6
  23. package/lib/Controllers/Packhouse/Site/ShiftController.js +6 -6
  24. package/lib/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +6 -6
  25. package/lib/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +6 -6
  26. package/lib/Controllers/Packhouse/Site/SoftSortBeltController.js +453 -0
  27. package/lib/Controllers/Packhouse/Site/VarietyController.js +5 -5
  28. package/lib/Controllers/Packhouse/Site/index.js +3 -0
  29. package/lib/Controllers/RTU/GlobalSettingsController.js +2 -2
  30. package/lib/Controllers/RTU/PluginSettingsController.js +2 -2
  31. package/lib/Controllers/RTUController.js +1 -1
  32. package/lib/Controllers/RTUPluginController.js +1 -1
  33. package/lib/Controllers/Site/AlarmController.js +6 -6
  34. package/lib/Controllers/Site/AlarmGroupController.js +5 -5
  35. package/lib/Controllers/Site/DefinitionController.js +5 -5
  36. package/lib/Controllers/Site/PermanentObjectController.js +5 -5
  37. package/lib/Controllers/Site/PermanentObjectDataController.js +6 -6
  38. package/lib/Controllers/Site/PointController.js +6 -6
  39. package/lib/Controllers/Site/TemporaryObjectController.js +5 -5
  40. package/lib/Controllers/SiteController.js +1 -1
  41. package/lib/Controllers/TokenController.js +2 -2
  42. package/lib/Controllers/ToolsController.js +1 -1
  43. package/lib/Controllers/UserAccountActionTokenController.js +2 -2
  44. package/lib/Controllers/UserAccountController.js +2 -2
  45. package/lib/DataItems/PointValueItem.js +2 -2
  46. package/lib/Errors/BadRequestError.js +7 -3
  47. package/lib/Errors/ForbiddenError.js +7 -3
  48. package/lib/Errors/NetworkError.js +7 -3
  49. package/lib/Errors/NotAllowedError.js +7 -3
  50. package/lib/Errors/NotFoundError.js +7 -3
  51. package/lib/Errors/ServerError.js +7 -3
  52. package/lib/Errors/UnauthorizedError.js +7 -3
  53. package/lib/Models/AccountPolicyModel.js +3 -3
  54. package/lib/Models/ApiAccountModel.js +3 -3
  55. package/lib/Models/BaseModel.js +6 -2
  56. package/lib/Models/CompanyModel.js +3 -3
  57. package/lib/Models/FirebaseTokenModel.js +3 -3
  58. package/lib/Models/Packhouse/Site/BinTipWeightModel.js +16 -6
  59. package/lib/Models/Packhouse/Site/CompacSizerBatchModel.js +16 -6
  60. package/lib/Models/Packhouse/Site/CompacSizerModel.js +16 -6
  61. package/lib/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +16 -6
  62. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +16 -6
  63. package/lib/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +16 -6
  64. package/lib/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +16 -6
  65. package/lib/Models/Packhouse/Site/DowntimeEventModel.js +16 -6
  66. package/lib/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +16 -6
  67. package/lib/Models/Packhouse/Site/GrowingMethodModel.js +16 -6
  68. package/lib/Models/Packhouse/Site/PackTypeModel.js +16 -6
  69. package/lib/Models/Packhouse/Site/PackingLineModel.js +16 -6
  70. package/lib/Models/Packhouse/Site/PackrunModel.js +16 -6
  71. package/lib/Models/Packhouse/Site/RejectBinModel.js +16 -6
  72. package/lib/Models/Packhouse/Site/RejectBinScaleModel.js +276 -10
  73. package/lib/Models/Packhouse/Site/RejectBinWeightModel.js +16 -6
  74. package/lib/Models/Packhouse/Site/ShiftFocusMeetingModel.js +16 -6
  75. package/lib/Models/Packhouse/Site/ShiftHourlyEntryModel.js +16 -6
  76. package/lib/Models/Packhouse/Site/ShiftModel.js +16 -6
  77. package/lib/Models/Packhouse/Site/SoftSortBeltModel.js +235 -0
  78. package/lib/Models/Packhouse/Site/VarietyModel.js +16 -6
  79. package/lib/Models/Packhouse/Site/index.js +3 -0
  80. package/lib/Models/RTUModel.js +3 -3
  81. package/lib/Models/RTUPluginModel.js +3 -3
  82. package/lib/Models/Site/AlarmGroupModel.js +16 -6
  83. package/lib/Models/Site/AlarmModel.js +16 -6
  84. package/lib/Models/Site/DefinitionModel.js +16 -6
  85. package/lib/Models/Site/PermanentObjectDataModel.js +16 -6
  86. package/lib/Models/Site/PermanentObjectModel.js +16 -6
  87. package/lib/Models/Site/PointModel.js +16 -6
  88. package/lib/Models/Site/TemporaryObjectModel.js +16 -6
  89. package/lib/Models/SiteModel.js +3 -3
  90. package/lib/Models/TokenModel.js +3 -3
  91. package/lib/Models/UserAccountActionTokenModel.js +3 -3
  92. package/lib/Models/UserAccountModel.js +3 -3
  93. package/lib/PackageVersion.js +1 -1
  94. package/lib/Points.js +1 -1
  95. package/lib/RequestHelper.js +2 -2
  96. package/lib/WebSocketHelper.js +1 -1
  97. package/lib/index.d.ts +1038 -76
  98. package/package.json +3 -3
  99. package/src/Controllers/Packhouse/Site/BinTipWeightController.js +4 -4
  100. package/src/Controllers/Packhouse/Site/CompacSizerBatchController.js +4 -4
  101. package/src/Controllers/Packhouse/Site/CompacSizerController.js +4 -4
  102. package/src/Controllers/Packhouse/Site/CompacSizerOutletProductChangeController.js +4 -4
  103. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeChangeController.js +4 -4
  104. package/src/Controllers/Packhouse/Site/CompacSizerOutletTypeController.js +4 -4
  105. package/src/Controllers/Packhouse/Site/CompacSizerPackrunSummaryController.js +4 -4
  106. package/src/Controllers/Packhouse/Site/DowntimeEventController.js +4 -4
  107. package/src/Controllers/Packhouse/Site/FreshPackPackrunSummaryController.js +4 -4
  108. package/src/Controllers/Packhouse/Site/GrowingMethodController.js +4 -4
  109. package/src/Controllers/Packhouse/Site/PackTypeController.js +4 -4
  110. package/src/Controllers/Packhouse/Site/PackingLineController.js +4 -4
  111. package/src/Controllers/Packhouse/Site/PackrunController.js +365 -4
  112. package/src/Controllers/Packhouse/Site/RejectBinController.js +4 -4
  113. package/src/Controllers/Packhouse/Site/RejectBinScaleController.js +28 -6
  114. package/src/Controllers/Packhouse/Site/RejectBinWeightController.js +4 -4
  115. package/src/Controllers/Packhouse/Site/ShiftController.js +4 -4
  116. package/src/Controllers/Packhouse/Site/ShiftFocusMeetingController.js +4 -4
  117. package/src/Controllers/Packhouse/Site/ShiftHourlyEntryController.js +4 -4
  118. package/src/Controllers/Packhouse/Site/SoftSortBeltController.js +474 -0
  119. package/src/Controllers/Packhouse/Site/VarietyController.js +4 -4
  120. package/src/Controllers/Packhouse/Site/index.js +2 -0
  121. package/src/Controllers/Site/AlarmController.js +4 -4
  122. package/src/Controllers/Site/AlarmGroupController.js +4 -4
  123. package/src/Controllers/Site/DefinitionController.js +4 -4
  124. package/src/Controllers/Site/PermanentObjectController.js +4 -4
  125. package/src/Controllers/Site/PermanentObjectDataController.js +4 -4
  126. package/src/Controllers/Site/PointController.js +4 -4
  127. package/src/Controllers/Site/TemporaryObjectController.js +4 -4
  128. package/src/Models/Packhouse/Site/BinTipWeightModel.js +13 -3
  129. package/src/Models/Packhouse/Site/CompacSizerBatchModel.js +13 -3
  130. package/src/Models/Packhouse/Site/CompacSizerModel.js +13 -3
  131. package/src/Models/Packhouse/Site/CompacSizerOutletProductChangeModel.js +13 -3
  132. package/src/Models/Packhouse/Site/CompacSizerOutletTypeChangeModel.js +13 -3
  133. package/src/Models/Packhouse/Site/CompacSizerOutletTypeModel.js +13 -3
  134. package/src/Models/Packhouse/Site/CompacSizerPackrunSummaryModel.js +13 -3
  135. package/src/Models/Packhouse/Site/DowntimeEventModel.js +13 -3
  136. package/src/Models/Packhouse/Site/FreshPackPackrunSummaryModel.js +13 -3
  137. package/src/Models/Packhouse/Site/GrowingMethodModel.js +13 -3
  138. package/src/Models/Packhouse/Site/PackTypeModel.js +13 -3
  139. package/src/Models/Packhouse/Site/PackingLineModel.js +13 -3
  140. package/src/Models/Packhouse/Site/PackrunModel.js +13 -3
  141. package/src/Models/Packhouse/Site/RejectBinModel.js +13 -3
  142. package/src/Models/Packhouse/Site/RejectBinScaleModel.js +310 -7
  143. package/src/Models/Packhouse/Site/RejectBinWeightModel.js +13 -3
  144. package/src/Models/Packhouse/Site/ShiftFocusMeetingModel.js +13 -3
  145. package/src/Models/Packhouse/Site/ShiftHourlyEntryModel.js +13 -3
  146. package/src/Models/Packhouse/Site/ShiftModel.js +13 -3
  147. package/src/Models/Packhouse/Site/SoftSortBeltModel.js +215 -0
  148. package/src/Models/Packhouse/Site/VarietyModel.js +13 -3
  149. package/src/Models/Packhouse/Site/index.js +2 -0
  150. package/src/Models/Site/AlarmGroupModel.js +13 -3
  151. package/src/Models/Site/AlarmModel.js +13 -3
  152. package/src/Models/Site/DefinitionModel.js +13 -3
  153. package/src/Models/Site/PermanentObjectDataModel.js +13 -3
  154. package/src/Models/Site/PermanentObjectModel.js +13 -3
  155. package/src/Models/Site/PointModel.js +13 -3
  156. package/src/Models/Site/TemporaryObjectModel.js +13 -3
  157. package/src/PackageVersion.js +1 -1
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ 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); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
9
 
10
+ 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); } }
11
+
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+
10
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
15
 
12
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
16
+ 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); }
13
17
 
14
18
  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); }; }
15
19
 
@@ -60,7 +64,7 @@ var NotFoundError = /*#__PURE__*/function (_Error) {
60
64
  return _this;
61
65
  }
62
66
 
63
- return NotFoundError;
67
+ return _createClass(NotFoundError);
64
68
  }( /*#__PURE__*/_wrapNativeSuper(Error));
65
69
 
66
70
  var _default = NotFoundError;
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ 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); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
9
 
10
+ 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); } }
11
+
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+
10
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
15
 
12
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
16
+ 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); }
13
17
 
14
18
  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); }; }
15
19
 
@@ -60,7 +64,7 @@ var ServerError = /*#__PURE__*/function (_Error) {
60
64
  return _this;
61
65
  }
62
66
 
63
- return ServerError;
67
+ return _createClass(ServerError);
64
68
  }( /*#__PURE__*/_wrapNativeSuper(Error));
65
69
 
66
70
  var _default = ServerError;
@@ -1,15 +1,19 @@
1
1
  "use strict";
2
2
 
3
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
3
+ 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); }
4
4
 
5
5
  Object.defineProperty(exports, "__esModule", {
6
6
  value: true
7
7
  });
8
8
  exports.default = void 0;
9
9
 
10
+ 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); } }
11
+
12
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
13
+
10
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
11
15
 
12
- 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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
16
+ 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); }
13
17
 
14
18
  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); }; }
15
19
 
@@ -60,7 +64,7 @@ var UnauthorizedError = /*#__PURE__*/function (_Error) {
60
64
  return _this;
61
65
  }
62
66
 
63
- return UnauthorizedError;
67
+ return _createClass(UnauthorizedError);
64
68
  }( /*#__PURE__*/_wrapNativeSuper(Error));
65
69
 
66
70
  var _default = UnauthorizedError;
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -5,6 +5,10 @@ Object.defineProperty(exports, "__esModule", {
5
5
  });
6
6
  exports.default = void 0;
7
7
 
8
+ 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); } }
9
+
10
+ function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
11
+
8
12
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
9
13
 
10
14
  /**
@@ -20,7 +24,7 @@ function _classCallCheck(instance, Constructor) { if (!(instance instanceof Cons
20
24
  * @abstract
21
25
  * @hideconstructor
22
26
  */
23
- var BaseModel =
27
+ var BaseModel = /*#__PURE__*/_createClass(
24
28
  /**
25
29
  * BaseModel Constructor
26
30
  *
@@ -28,7 +32,7 @@ var BaseModel =
28
32
  */
29
33
  function BaseModel() {
30
34
  _classCallCheck(this, BaseModel);
31
- };
35
+ });
32
36
 
33
37
  var _default = BaseModel;
34
38
  exports.default = _default;
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../../../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -47,8 +47,9 @@ var BinTipWeightModel = /*#__PURE__*/function (_BaseModel) {
47
47
  * BinTipWeightModel Constructor
48
48
  *
49
49
  * @protected
50
+ * @param {number} siteId The Site ID associated with this Bin Tip Weight
50
51
  */
51
- function BinTipWeightModel() {
52
+ function BinTipWeightModel(siteId) {
52
53
  var _this;
53
54
 
54
55
  _classCallCheck(this, BinTipWeightModel);
@@ -126,6 +127,14 @@ var BinTipWeightModel = /*#__PURE__*/function (_BaseModel) {
126
127
  */
127
128
 
128
129
  _this.updateTimestamp = undefined;
130
+ /**
131
+ * The Site ID associated with this Bin Tip Weight
132
+ *
133
+ * @type {number}
134
+ * @public
135
+ */
136
+
137
+ _this.siteId = siteId;
129
138
  return _this;
130
139
  }
131
140
  /**
@@ -134,14 +143,15 @@ var BinTipWeightModel = /*#__PURE__*/function (_BaseModel) {
134
143
  * @static
135
144
  * @public
136
145
  * @param {Object<string, any>|string} json A JSON Object or JSON String
146
+ * @param {number} siteId The Site ID associated with this Bin Tip Weight
137
147
  * @return {BinTipWeightModel}
138
148
  */
139
149
 
140
150
 
141
151
  _createClass(BinTipWeightModel, null, [{
142
152
  key: "fromJSON",
143
- value: function fromJSON(json) {
144
- var model = new BinTipWeightModel();
153
+ value: function fromJSON(json, siteId) {
154
+ var model = new BinTipWeightModel(siteId);
145
155
  /**
146
156
  * The JSON Object
147
157
  *
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../../../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -47,8 +47,9 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
47
47
  * CompacSizerBatchModel Constructor
48
48
  *
49
49
  * @protected
50
+ * @param {number} siteId The Site ID associated with this Compac Sizer Batch
50
51
  */
51
- function CompacSizerBatchModel() {
52
+ function CompacSizerBatchModel(siteId) {
52
53
  var _this;
53
54
 
54
55
  _classCallCheck(this, CompacSizerBatchModel);
@@ -118,6 +119,14 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
118
119
  */
119
120
 
120
121
  _this.updateTimestamp = undefined;
122
+ /**
123
+ * The Site ID associated with this Compac Sizer Batch
124
+ *
125
+ * @type {number}
126
+ * @public
127
+ */
128
+
129
+ _this.siteId = siteId;
121
130
  return _this;
122
131
  }
123
132
  /**
@@ -126,14 +135,15 @@ var CompacSizerBatchModel = /*#__PURE__*/function (_BaseModel) {
126
135
  * @static
127
136
  * @public
128
137
  * @param {Object<string, any>|string} json A JSON Object or JSON String
138
+ * @param {number} siteId The Site ID associated with this Compac Sizer Batch
129
139
  * @return {CompacSizerBatchModel}
130
140
  */
131
141
 
132
142
 
133
143
  _createClass(CompacSizerBatchModel, null, [{
134
144
  key: "fromJSON",
135
- value: function fromJSON(json) {
136
- var model = new CompacSizerBatchModel();
145
+ value: function fromJSON(json, siteId) {
146
+ var model = new CompacSizerBatchModel(siteId);
137
147
  /**
138
148
  * The JSON Object
139
149
  *
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../../../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -47,8 +47,9 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
47
47
  * CompacSizerModel Constructor
48
48
  *
49
49
  * @protected
50
+ * @param {number} siteId The Site ID associated with this Compac Sizer
50
51
  */
51
- function CompacSizerModel() {
52
+ function CompacSizerModel(siteId) {
52
53
  var _this;
53
54
 
54
55
  _classCallCheck(this, CompacSizerModel);
@@ -166,6 +167,14 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
166
167
  */
167
168
 
168
169
  _this.updateTimestamp = undefined;
170
+ /**
171
+ * The Site ID associated with this Compac Sizer
172
+ *
173
+ * @type {number}
174
+ * @public
175
+ */
176
+
177
+ _this.siteId = siteId;
169
178
  return _this;
170
179
  }
171
180
  /**
@@ -174,14 +183,15 @@ var CompacSizerModel = /*#__PURE__*/function (_BaseModel) {
174
183
  * @static
175
184
  * @public
176
185
  * @param {Object<string, any>|string} json A JSON Object or JSON String
186
+ * @param {number} siteId The Site ID associated with this Compac Sizer
177
187
  * @return {CompacSizerModel}
178
188
  */
179
189
 
180
190
 
181
191
  _createClass(CompacSizerModel, null, [{
182
192
  key: "fromJSON",
183
- value: function fromJSON(json) {
184
- var model = new CompacSizerModel();
193
+ value: function fromJSON(json, siteId) {
194
+ var model = new CompacSizerModel(siteId);
185
195
  /**
186
196
  * The JSON Object
187
197
  *
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../../../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -47,8 +47,9 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
47
47
  * CompacSizerOutletProductChangeModel Constructor
48
48
  *
49
49
  * @protected
50
+ * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Product Change
50
51
  */
51
- function CompacSizerOutletProductChangeModel() {
52
+ function CompacSizerOutletProductChangeModel(siteId) {
52
53
  var _this;
53
54
 
54
55
  _classCallCheck(this, CompacSizerOutletProductChangeModel);
@@ -134,6 +135,14 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
134
135
  */
135
136
 
136
137
  _this.updateTimestamp = undefined;
138
+ /**
139
+ * The Site ID associated with this Compac Sizer Outlet Product Change
140
+ *
141
+ * @type {number}
142
+ * @public
143
+ */
144
+
145
+ _this.siteId = siteId;
137
146
  return _this;
138
147
  }
139
148
  /**
@@ -142,14 +151,15 @@ var CompacSizerOutletProductChangeModel = /*#__PURE__*/function (_BaseModel) {
142
151
  * @static
143
152
  * @public
144
153
  * @param {Object<string, any>|string} json A JSON Object or JSON String
154
+ * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Product Change
145
155
  * @return {CompacSizerOutletProductChangeModel}
146
156
  */
147
157
 
148
158
 
149
159
  _createClass(CompacSizerOutletProductChangeModel, null, [{
150
160
  key: "fromJSON",
151
- value: function fromJSON(json) {
152
- var model = new CompacSizerOutletProductChangeModel();
161
+ value: function fromJSON(json, siteId) {
162
+ var model = new CompacSizerOutletProductChangeModel(siteId);
153
163
  /**
154
164
  * The JSON Object
155
165
  *
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../../../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -47,8 +47,9 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
47
47
  * CompacSizerOutletTypeChangeModel Constructor
48
48
  *
49
49
  * @protected
50
+ * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type Change
50
51
  */
51
- function CompacSizerOutletTypeChangeModel() {
52
+ function CompacSizerOutletTypeChangeModel(siteId) {
52
53
  var _this;
53
54
 
54
55
  _classCallCheck(this, CompacSizerOutletTypeChangeModel);
@@ -118,6 +119,14 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
118
119
  */
119
120
 
120
121
  _this.updateTimestamp = undefined;
122
+ /**
123
+ * The Site ID associated with this Compac Sizer Outlet Type Change
124
+ *
125
+ * @type {number}
126
+ * @public
127
+ */
128
+
129
+ _this.siteId = siteId;
121
130
  return _this;
122
131
  }
123
132
  /**
@@ -126,14 +135,15 @@ var CompacSizerOutletTypeChangeModel = /*#__PURE__*/function (_BaseModel) {
126
135
  * @static
127
136
  * @public
128
137
  * @param {Object<string, any>|string} json A JSON Object or JSON String
138
+ * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type Change
129
139
  * @return {CompacSizerOutletTypeChangeModel}
130
140
  */
131
141
 
132
142
 
133
143
  _createClass(CompacSizerOutletTypeChangeModel, null, [{
134
144
  key: "fromJSON",
135
- value: function fromJSON(json) {
136
- var model = new CompacSizerOutletTypeChangeModel();
145
+ value: function fromJSON(json, siteId) {
146
+ var model = new CompacSizerOutletTypeChangeModel(siteId);
137
147
  /**
138
148
  * The JSON Object
139
149
  *
@@ -9,15 +9,15 @@ var _BaseModel2 = _interopRequireDefault(require("../../../Models/BaseModel"));
9
9
 
10
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
11
11
 
12
- function _typeof(obj) { "@babel/helpers - typeof"; if (typeof Symbol === "function" && typeof Symbol.iterator === "symbol") { _typeof = function _typeof(obj) { return typeof obj; }; } else { _typeof = function _typeof(obj) { return obj && typeof Symbol === "function" && obj.constructor === Symbol && obj !== Symbol.prototype ? "symbol" : typeof obj; }; } return _typeof(obj); }
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
13
 
14
14
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
15
15
 
16
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
17
 
18
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); return Constructor; }
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
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 } }); if (superClass) _setPrototypeOf(subClass, superClass); }
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
21
 
22
22
  function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
23
23
 
@@ -47,8 +47,9 @@ var CompacSizerOutletTypeModel = /*#__PURE__*/function (_BaseModel) {
47
47
  * CompacSizerOutletTypeModel Constructor
48
48
  *
49
49
  * @protected
50
+ * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type
50
51
  */
51
- function CompacSizerOutletTypeModel() {
52
+ function CompacSizerOutletTypeModel(siteId) {
52
53
  var _this;
53
54
 
54
55
  _classCallCheck(this, CompacSizerOutletTypeModel);
@@ -102,6 +103,14 @@ var CompacSizerOutletTypeModel = /*#__PURE__*/function (_BaseModel) {
102
103
  */
103
104
 
104
105
  _this.updateTimestamp = undefined;
106
+ /**
107
+ * The Site ID associated with this Compac Sizer Outlet Type
108
+ *
109
+ * @type {number}
110
+ * @public
111
+ */
112
+
113
+ _this.siteId = siteId;
105
114
  return _this;
106
115
  }
107
116
  /**
@@ -110,14 +119,15 @@ var CompacSizerOutletTypeModel = /*#__PURE__*/function (_BaseModel) {
110
119
  * @static
111
120
  * @public
112
121
  * @param {Object<string, any>|string} json A JSON Object or JSON String
122
+ * @param {number} siteId The Site ID associated with this Compac Sizer Outlet Type
113
123
  * @return {CompacSizerOutletTypeModel}
114
124
  */
115
125
 
116
126
 
117
127
  _createClass(CompacSizerOutletTypeModel, null, [{
118
128
  key: "fromJSON",
119
- value: function fromJSON(json) {
120
- var model = new CompacSizerOutletTypeModel();
129
+ value: function fromJSON(json, siteId) {
130
+ var model = new CompacSizerOutletTypeModel(siteId);
121
131
  /**
122
132
  * The JSON Object
123
133
  *