@iveri/contracts 0.85.0 → 0.86.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,27 @@
1
+ import type { UUID } from '../../type/uuid.type.js';
2
+ /**
3
+ * A colleague who, while somebody is away, decides what that person would have: the time off and the expense claims of
4
+ * their reports and of the teams they lead. It covers whole days, both ends included.
5
+ */
6
+ export interface HrStandIn {
7
+ id: UUID;
8
+ /** Who is away. */
9
+ employeeId: UUID;
10
+ employeeName: string;
11
+ standInEmployeeId: UUID;
12
+ standInName: string;
13
+ startDate: string;
14
+ endDate: string;
15
+ /** Today, in the company's time zone, falls inside the dates. */
16
+ isActive: boolean;
17
+ }
18
+ /** Who stands in for me, and for whom I stand in, from today on. */
19
+ export interface HrMyStandIns {
20
+ mine: HrStandIn[];
21
+ forOthers: HrStandIn[];
22
+ }
23
+ export interface HrSaveStandInRequest {
24
+ standInEmployeeId: UUID;
25
+ startDate: string;
26
+ endDate: string;
27
+ }
@@ -0,0 +1 @@
1
+ export {};
@@ -56,6 +56,7 @@ export * from './hr-resource-status.enum.js';
56
56
  export * from './hr-review-cycle-status.enum.js';
57
57
  export * from './hr-review-question-kind.enum.js';
58
58
  export * from './hr-review-status.enum.js';
59
+ export * from './hr-stand-in.type.js';
59
60
  export * from './hr-survey-audience.enum.js';
60
61
  export * from './hr-survey-group-kind.enum.js';
61
62
  export * from './hr-survey-question-kind.enum.js';
@@ -56,6 +56,7 @@ export * from './hr-resource-status.enum.js';
56
56
  export * from './hr-review-cycle-status.enum.js';
57
57
  export * from './hr-review-question-kind.enum.js';
58
58
  export * from './hr-review-status.enum.js';
59
+ export * from './hr-stand-in.type.js';
59
60
  export * from './hr-survey-audience.enum.js';
60
61
  export * from './hr-survey-group-kind.enum.js';
61
62
  export * from './hr-survey-question-kind.enum.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.85.0",
3
+ "version": "0.86.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {