@iveri/contracts 0.63.0 → 0.65.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.
|
@@ -25,6 +25,8 @@ export interface GymMyProfile {
|
|
|
25
25
|
emergencyContactName: Nullable<string>;
|
|
26
26
|
emergencyContactPhone: Nullable<string>;
|
|
27
27
|
weeklyTarget: number;
|
|
28
|
+
/** The language their emails are written in. */
|
|
29
|
+
localeCode: Nullable<string>;
|
|
28
30
|
isWaiverSigned: boolean;
|
|
29
31
|
/** What still has to be signed, or null when nothing does. */
|
|
30
32
|
waiverToSign: Nullable<GymWaiver>;
|
|
@@ -36,6 +38,7 @@ export interface JoinGymRequest {
|
|
|
36
38
|
phone?: Nullable<string>;
|
|
37
39
|
birthDate?: Nullable<string>;
|
|
38
40
|
homeBranchId: UUID;
|
|
41
|
+
localeCode?: Nullable<string>;
|
|
39
42
|
}
|
|
40
43
|
/** Ties the signed-in account to the record the desk already holds. */
|
|
41
44
|
export interface LinkGymMemberRequest {
|
|
@@ -50,6 +53,7 @@ export interface UpdateGymMyProfileRequest {
|
|
|
50
53
|
homeBranchId?: UUID;
|
|
51
54
|
emergencyContactName?: Nullable<string>;
|
|
52
55
|
emergencyContactPhone?: Nullable<string>;
|
|
56
|
+
localeCode?: Nullable<string>;
|
|
53
57
|
}
|
|
54
58
|
/**
|
|
55
59
|
* What the phone needs to make an entry code with no signal.
|
|
@@ -75,6 +75,12 @@ export interface HrEmploymentEvent {
|
|
|
75
75
|
note: Nullable<string>;
|
|
76
76
|
createdAt: IsoDateTime;
|
|
77
77
|
}
|
|
78
|
+
export interface HrImportResult {
|
|
79
|
+
isDryRun: boolean;
|
|
80
|
+
createdCount: number;
|
|
81
|
+
refusedCount: number;
|
|
82
|
+
rows: HrImportRowResult[];
|
|
83
|
+
}
|
|
78
84
|
export interface HrImportRowResult {
|
|
79
85
|
row: number;
|
|
80
86
|
isCreated: boolean;
|
|
@@ -96,11 +102,35 @@ export interface HrOrgChartNode {
|
|
|
96
102
|
managerId: Nullable<UUID>;
|
|
97
103
|
reportCount: number;
|
|
98
104
|
}
|
|
105
|
+
export interface HrOverviewCelebration {
|
|
106
|
+
employeeId: UUID;
|
|
107
|
+
displayName: string;
|
|
108
|
+
jobTitleName: Nullable<string>;
|
|
109
|
+
date: string;
|
|
110
|
+
isBirthday: boolean;
|
|
111
|
+
years: Nullable<number>;
|
|
112
|
+
}
|
|
99
113
|
export interface HrOverviewDepartment {
|
|
100
114
|
departmentId: Nullable<UUID>;
|
|
101
115
|
departmentName: Nullable<string>;
|
|
102
116
|
count: number;
|
|
103
117
|
}
|
|
118
|
+
export interface HrOverviewMovement {
|
|
119
|
+
month: string;
|
|
120
|
+
joined: number;
|
|
121
|
+
left: number;
|
|
122
|
+
}
|
|
123
|
+
export interface HrOverview {
|
|
124
|
+
headcount: number;
|
|
125
|
+
upcomingCount: number;
|
|
126
|
+
leavingCount: number;
|
|
127
|
+
withoutAccountCount: number;
|
|
128
|
+
byDepartment: HrOverviewDepartment[];
|
|
129
|
+
movements: HrOverviewMovement[];
|
|
130
|
+
startingSoon: HrEmployeeSummary[];
|
|
131
|
+
leavingSoon: HrEmployeeSummary[];
|
|
132
|
+
celebrations: HrOverviewCelebration[];
|
|
133
|
+
}
|
|
104
134
|
export interface ChangeHrJobRequest {
|
|
105
135
|
effectiveDate: string;
|
|
106
136
|
departmentId?: Nullable<UUID>;
|