@iveri/contracts 0.72.0 → 0.74.0

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.
@@ -0,0 +1,5 @@
1
+ /** How an application arrived: through the careers page, or typed in by HR. */
2
+ export declare enum HrApplicationSource {
3
+ CAREERS = "careers",
4
+ ADDED = "added"
5
+ }
@@ -0,0 +1,6 @@
1
+ /** How an application arrived: through the careers page, or typed in by HR. */
2
+ export var HrApplicationSource;
3
+ (function (HrApplicationSource) {
4
+ HrApplicationSource["CAREERS"] = "careers";
5
+ HrApplicationSource["ADDED"] = "added";
6
+ })(HrApplicationSource || (HrApplicationSource = {}));
@@ -73,6 +73,8 @@ export interface HrMyAttendance {
73
73
  todayMinutes: number;
74
74
  weekMinutes: number;
75
75
  weekExpectedMinutes: number;
76
+ timeZone: string;
77
+ capturesClockLocation: boolean;
76
78
  }
77
79
  export interface HrTimesheetDay {
78
80
  date: string;
@@ -1,6 +1,7 @@
1
1
  import type { IsoDateTime } from '../../type/iso-date-time.type.js';
2
2
  import type { Nullable } from '../../type/nil.type.js';
3
3
  import type { UUID } from '../../type/uuid.type.js';
4
+ import type { HrApplicationSource } from './hr-application-source.enum.js';
4
5
  import type { HrApplicationStage } from './hr-application-stage.enum.js';
5
6
  import type { HrEmploymentType } from './hr-employment-type.enum.js';
6
7
  import type { HrOpeningStatus } from './hr-opening-status.enum.js';
@@ -25,7 +26,7 @@ export interface HrApplication {
25
26
  coverLetter: Nullable<string>;
26
27
  hasCv: boolean;
27
28
  stage: HrApplicationStage;
28
- source: string;
29
+ source: HrApplicationSource;
29
30
  consentedAt: IsoDateTime;
30
31
  stageChangedAt: IsoDateTime;
31
32
  decidedAt: Nullable<IsoDateTime>;
@@ -28,6 +28,7 @@ export interface HrMyHome {
28
28
  nextTimeOff: Nullable<HrLeaveRequest>;
29
29
  nextHoliday: Nullable<HrPublicHolidayEntry>;
30
30
  awayToday: HrTeamAbsence[];
31
+ timeZone: string;
31
32
  }
32
33
  export interface HrMyTimeOff {
33
34
  year: number;
@@ -1,5 +1,6 @@
1
1
  export * from './hr-access-action.enum.js';
2
2
  export * from './hr-announcement.type.js';
3
+ export * from './hr-application-source.enum.js';
3
4
  export * from './hr-application-stage.enum.js';
4
5
  export * from './hr-attendance-correction-status.enum.js';
5
6
  export * from './hr-attendance-source.enum.js';
@@ -1,5 +1,6 @@
1
1
  export * from './hr-access-action.enum.js';
2
2
  export * from './hr-announcement.type.js';
3
+ export * from './hr-application-source.enum.js';
3
4
  export * from './hr-application-stage.enum.js';
4
5
  export * from './hr-attendance-correction-status.enum.js';
5
6
  export * from './hr-attendance-source.enum.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.72.0",
3
+ "version": "0.74.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {