@shisyamo4131/air-guard-v2-schemas 2.3.7-dev.36 → 2.3.7-dev.38

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shisyamo4131/air-guard-v2-schemas",
3
- "version": "2.3.7-dev.36",
3
+ "version": "2.3.7-dev.38",
4
4
  "description": "Schemas for AirGuard V2",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/src/Employee.js CHANGED
@@ -237,7 +237,17 @@ export default class Employee extends FireModel {
237
237
  static STATUS_ACTIVE = EMPLOYMENT_STATUS_VALUES.ACTIVE.value;
238
238
  static STATUS_TERMINATED = EMPLOYMENT_STATUS_VALUES.TERMINATED.value;
239
239
 
240
- _skipToTerminatedCheck = false;
240
+ constructor(item = {}) {
241
+ super(item);
242
+
243
+ // Internal flag to skip terminated status check during toTerminated method
244
+ Object.defineProperty(this, "_skipToTerminatedCheck", {
245
+ writable: true,
246
+ enumerable: false,
247
+ configurable: true,
248
+ value: false,
249
+ });
250
+ }
241
251
 
242
252
  afterInitialize(item = {}) {
243
253
  super.afterInitialize(item);
@@ -10,6 +10,10 @@ export {
10
10
  VALUES as BLOOD_TYPE_VALUES,
11
11
  OPTIONS as BLOOD_TYPE_OPTIONS,
12
12
  } from "./blood-type.js";
13
+ export {
14
+ VALUES as CERTIFICATION_TYPE_VALUES,
15
+ OPTIONS as CERTIFICATION_TYPE_OPTIONS,
16
+ } from "./certification-type.js";
13
17
  export {
14
18
  VALUES as CONTRACT_STATUS_VALUES,
15
19
  OPTIONS as CONTRACT_STATUS_OPTIONS,