@iveri/contracts 0.68.0 → 0.69.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.
Files changed (31) hide show
  1. package/dist/api/hr/hr-application-stage.enum.d.ts +10 -0
  2. package/dist/api/hr/hr-application-stage.enum.js +11 -0
  3. package/dist/api/hr/hr-attendance-correction-status.enum.d.ts +6 -0
  4. package/dist/api/hr/hr-attendance-correction-status.enum.js +7 -0
  5. package/dist/api/hr/hr-attendance-source.enum.d.ts +6 -0
  6. package/dist/api/hr/hr-attendance-source.enum.js +7 -0
  7. package/dist/api/hr/hr-attendance-state.enum.d.ts +7 -0
  8. package/dist/api/hr/hr-attendance-state.enum.js +8 -0
  9. package/dist/api/hr/hr-checklist-kind.enum.d.ts +5 -0
  10. package/dist/api/hr/hr-checklist-kind.enum.js +6 -0
  11. package/dist/api/hr/hr-document-audience.enum.d.ts +5 -0
  12. package/dist/api/hr/hr-document-audience.enum.js +6 -0
  13. package/dist/api/hr/hr-goal-status.enum.d.ts +6 -0
  14. package/dist/api/hr/hr-goal-status.enum.js +7 -0
  15. package/dist/api/hr/hr-opening-status.enum.d.ts +6 -0
  16. package/dist/api/hr/hr-opening-status.enum.js +7 -0
  17. package/dist/api/hr/hr-pay-item-kind.enum.d.ts +5 -0
  18. package/dist/api/hr/hr-pay-item-kind.enum.js +6 -0
  19. package/dist/api/hr/hr-payroll-run-status.enum.d.ts +6 -0
  20. package/dist/api/hr/hr-payroll-run-status.enum.js +7 -0
  21. package/dist/api/hr/hr-review-cycle-status.enum.d.ts +6 -0
  22. package/dist/api/hr/hr-review-cycle-status.enum.js +7 -0
  23. package/dist/api/hr/hr-review-status.enum.d.ts +5 -0
  24. package/dist/api/hr/hr-review-status.enum.js +6 -0
  25. package/dist/api/hr/hr-task-assignee.enum.d.ts +6 -0
  26. package/dist/api/hr/hr-task-assignee.enum.js +7 -0
  27. package/dist/api/hr/hr-task-status.enum.d.ts +6 -0
  28. package/dist/api/hr/hr-task-status.enum.js +7 -0
  29. package/dist/api/hr/index.d.ts +14 -0
  30. package/dist/api/hr/index.js +14 -0
  31. package/package.json +1 -1
@@ -0,0 +1,10 @@
1
+ /** Where somebody is in a hiring pipeline. */
2
+ export declare enum HrApplicationStage {
3
+ NEW = "new",
4
+ SCREENING = "screening",
5
+ INTERVIEW = "interview",
6
+ OFFER = "offer",
7
+ HIRED = "hired",
8
+ REJECTED = "rejected",
9
+ WITHDRAWN = "withdrawn"
10
+ }
@@ -0,0 +1,11 @@
1
+ /** Where somebody is in a hiring pipeline. */
2
+ export var HrApplicationStage;
3
+ (function (HrApplicationStage) {
4
+ HrApplicationStage["NEW"] = "new";
5
+ HrApplicationStage["SCREENING"] = "screening";
6
+ HrApplicationStage["INTERVIEW"] = "interview";
7
+ HrApplicationStage["OFFER"] = "offer";
8
+ HrApplicationStage["HIRED"] = "hired";
9
+ HrApplicationStage["REJECTED"] = "rejected";
10
+ HrApplicationStage["WITHDRAWN"] = "withdrawn";
11
+ })(HrApplicationStage || (HrApplicationStage = {}));
@@ -0,0 +1,6 @@
1
+ /** Where a request to change an attendance entry stands. */
2
+ export declare enum HrAttendanceCorrectionStatus {
3
+ PENDING = "pending",
4
+ APPROVED = "approved",
5
+ REJECTED = "rejected"
6
+ }
@@ -0,0 +1,7 @@
1
+ /** Where a request to change an attendance entry stands. */
2
+ export var HrAttendanceCorrectionStatus;
3
+ (function (HrAttendanceCorrectionStatus) {
4
+ HrAttendanceCorrectionStatus["PENDING"] = "pending";
5
+ HrAttendanceCorrectionStatus["APPROVED"] = "approved";
6
+ HrAttendanceCorrectionStatus["REJECTED"] = "rejected";
7
+ })(HrAttendanceCorrectionStatus || (HrAttendanceCorrectionStatus = {}));
@@ -0,0 +1,6 @@
1
+ /** How an attendance entry came to exist. */
2
+ export declare enum HrAttendanceSource {
3
+ SELF = "self",
4
+ HR = "hr",
5
+ CORRECTION = "correction"
6
+ }
@@ -0,0 +1,7 @@
1
+ /** How an attendance entry came to exist. */
2
+ export var HrAttendanceSource;
3
+ (function (HrAttendanceSource) {
4
+ HrAttendanceSource["SELF"] = "self";
5
+ HrAttendanceSource["HR"] = "hr";
6
+ HrAttendanceSource["CORRECTION"] = "correction";
7
+ })(HrAttendanceSource || (HrAttendanceSource = {}));
@@ -0,0 +1,7 @@
1
+ /** Where somebody is today, worked out from their entries and approved leave. */
2
+ export declare enum HrAttendanceState {
3
+ IN = "in",
4
+ OUT = "out",
5
+ AWAY = "away",
6
+ NOT_IN = "not-in"
7
+ }
@@ -0,0 +1,8 @@
1
+ /** Where somebody is today, worked out from their entries and approved leave. */
2
+ export var HrAttendanceState;
3
+ (function (HrAttendanceState) {
4
+ HrAttendanceState["IN"] = "in";
5
+ HrAttendanceState["OUT"] = "out";
6
+ HrAttendanceState["AWAY"] = "away";
7
+ HrAttendanceState["NOT_IN"] = "not-in";
8
+ })(HrAttendanceState || (HrAttendanceState = {}));
@@ -0,0 +1,5 @@
1
+ /** Whether a checklist is for somebody arriving or leaving. */
2
+ export declare enum HrChecklistKind {
3
+ ONBOARDING = "onboarding",
4
+ OFFBOARDING = "offboarding"
5
+ }
@@ -0,0 +1,6 @@
1
+ /** Whether a checklist is for somebody arriving or leaving. */
2
+ export var HrChecklistKind;
3
+ (function (HrChecklistKind) {
4
+ HrChecklistKind["ONBOARDING"] = "onboarding";
5
+ HrChecklistKind["OFFBOARDING"] = "offboarding";
6
+ })(HrChecklistKind || (HrChecklistKind = {}));
@@ -0,0 +1,5 @@
1
+ /** Who can read a document besides HR. */
2
+ export declare enum HrDocumentAudience {
3
+ HR_ONLY = "hr-only",
4
+ EMPLOYEE = "employee"
5
+ }
@@ -0,0 +1,6 @@
1
+ /** Who can read a document besides HR. */
2
+ export var HrDocumentAudience;
3
+ (function (HrDocumentAudience) {
4
+ HrDocumentAudience["HR_ONLY"] = "hr-only";
5
+ HrDocumentAudience["EMPLOYEE"] = "employee";
6
+ })(HrDocumentAudience || (HrDocumentAudience = {}));
@@ -0,0 +1,6 @@
1
+ /** Where a goal stands. */
2
+ export declare enum HrGoalStatus {
3
+ ACTIVE = "active",
4
+ DONE = "done",
5
+ DROPPED = "dropped"
6
+ }
@@ -0,0 +1,7 @@
1
+ /** Where a goal stands. */
2
+ export var HrGoalStatus;
3
+ (function (HrGoalStatus) {
4
+ HrGoalStatus["ACTIVE"] = "active";
5
+ HrGoalStatus["DONE"] = "done";
6
+ HrGoalStatus["DROPPED"] = "dropped";
7
+ })(HrGoalStatus || (HrGoalStatus = {}));
@@ -0,0 +1,6 @@
1
+ /** Whether a job is being advertised. */
2
+ export declare enum HrOpeningStatus {
3
+ DRAFT = "draft",
4
+ OPEN = "open",
5
+ CLOSED = "closed"
6
+ }
@@ -0,0 +1,7 @@
1
+ /** Whether a job is being advertised. */
2
+ export var HrOpeningStatus;
3
+ (function (HrOpeningStatus) {
4
+ HrOpeningStatus["DRAFT"] = "draft";
5
+ HrOpeningStatus["OPEN"] = "open";
6
+ HrOpeningStatus["CLOSED"] = "closed";
7
+ })(HrOpeningStatus || (HrOpeningStatus = {}));
@@ -0,0 +1,5 @@
1
+ /** Whether an item adds to or takes from somebody's pay. */
2
+ export declare enum HrPayItemKind {
3
+ ADDITION = "addition",
4
+ DEDUCTION = "deduction"
5
+ }
@@ -0,0 +1,6 @@
1
+ /** Whether an item adds to or takes from somebody's pay. */
2
+ export var HrPayItemKind;
3
+ (function (HrPayItemKind) {
4
+ HrPayItemKind["ADDITION"] = "addition";
5
+ HrPayItemKind["DEDUCTION"] = "deduction";
6
+ })(HrPayItemKind || (HrPayItemKind = {}));
@@ -0,0 +1,6 @@
1
+ /** Where a monthly pay run stands. Approval freezes it. */
2
+ export declare enum HrPayrollRunStatus {
3
+ DRAFT = "draft",
4
+ CALCULATED = "calculated",
5
+ APPROVED = "approved"
6
+ }
@@ -0,0 +1,7 @@
1
+ /** Where a monthly pay run stands. Approval freezes it. */
2
+ export var HrPayrollRunStatus;
3
+ (function (HrPayrollRunStatus) {
4
+ HrPayrollRunStatus["DRAFT"] = "draft";
5
+ HrPayrollRunStatus["CALCULATED"] = "calculated";
6
+ HrPayrollRunStatus["APPROVED"] = "approved";
7
+ })(HrPayrollRunStatus || (HrPayrollRunStatus = {}));
@@ -0,0 +1,6 @@
1
+ /** Where a review round stands. */
2
+ export declare enum HrReviewCycleStatus {
3
+ DRAFT = "draft",
4
+ OPEN = "open",
5
+ CLOSED = "closed"
6
+ }
@@ -0,0 +1,7 @@
1
+ /** Where a review round stands. */
2
+ export var HrReviewCycleStatus;
3
+ (function (HrReviewCycleStatus) {
4
+ HrReviewCycleStatus["DRAFT"] = "draft";
5
+ HrReviewCycleStatus["OPEN"] = "open";
6
+ HrReviewCycleStatus["CLOSED"] = "closed";
7
+ })(HrReviewCycleStatus || (HrReviewCycleStatus = {}));
@@ -0,0 +1,5 @@
1
+ /** Where one person's review stands. */
2
+ export declare enum HrReviewStatus {
3
+ PENDING = "pending",
4
+ SUBMITTED = "submitted"
5
+ }
@@ -0,0 +1,6 @@
1
+ /** Where one person's review stands. */
2
+ export var HrReviewStatus;
3
+ (function (HrReviewStatus) {
4
+ HrReviewStatus["PENDING"] = "pending";
5
+ HrReviewStatus["SUBMITTED"] = "submitted";
6
+ })(HrReviewStatus || (HrReviewStatus = {}));
@@ -0,0 +1,6 @@
1
+ /** Who a checklist task falls to. */
2
+ export declare enum HrTaskAssignee {
3
+ EMPLOYEE = "employee",
4
+ MANAGER = "manager",
5
+ HR = "hr"
6
+ }
@@ -0,0 +1,7 @@
1
+ /** Who a checklist task falls to. */
2
+ export var HrTaskAssignee;
3
+ (function (HrTaskAssignee) {
4
+ HrTaskAssignee["EMPLOYEE"] = "employee";
5
+ HrTaskAssignee["MANAGER"] = "manager";
6
+ HrTaskAssignee["HR"] = "hr";
7
+ })(HrTaskAssignee || (HrTaskAssignee = {}));
@@ -0,0 +1,6 @@
1
+ /** Where a checklist task stands. */
2
+ export declare enum HrTaskStatus {
3
+ OPEN = "open",
4
+ DONE = "done",
5
+ SKIPPED = "skipped"
6
+ }
@@ -0,0 +1,7 @@
1
+ /** Where a checklist task stands. */
2
+ export var HrTaskStatus;
3
+ (function (HrTaskStatus) {
4
+ HrTaskStatus["OPEN"] = "open";
5
+ HrTaskStatus["DONE"] = "done";
6
+ HrTaskStatus["SKIPPED"] = "skipped";
7
+ })(HrTaskStatus || (HrTaskStatus = {}));
@@ -1,15 +1,29 @@
1
1
  export * from './hr-access-action.enum.js';
2
+ export * from './hr-application-stage.enum.js';
3
+ export * from './hr-attendance-correction-status.enum.js';
4
+ export * from './hr-attendance-source.enum.js';
5
+ export * from './hr-attendance-state.enum.js';
6
+ export * from './hr-checklist-kind.enum.js';
2
7
  export * from './hr-compensation.type.js';
8
+ export * from './hr-document-audience.enum.js';
3
9
  export * from './hr-employee.type.js';
4
10
  export * from './hr-employment-event-kind.enum.js';
5
11
  export * from './hr-employment-status.enum.js';
6
12
  export * from './hr-employment-type.enum.js';
13
+ export * from './hr-goal-status.enum.js';
7
14
  export * from './hr-leave-accrual.enum.js';
8
15
  export * from './hr-leave-ledger-kind.enum.js';
9
16
  export * from './hr-leave-request-status.enum.js';
10
17
  export * from './hr-me.type.js';
18
+ export * from './hr-opening-status.enum.js';
11
19
  export * from './hr-organization.type.js';
20
+ export * from './hr-pay-item-kind.enum.js';
12
21
  export * from './hr-pay-period.enum.js';
22
+ export * from './hr-payroll-run-status.enum.js';
13
23
  export * from './hr-resource-status.enum.js';
24
+ export * from './hr-review-cycle-status.enum.js';
25
+ export * from './hr-review-status.enum.js';
26
+ export * from './hr-task-assignee.enum.js';
27
+ export * from './hr-task-status.enum.js';
14
28
  export * from './hr-time-off.type.js';
15
29
  export * from './localized-text.type.js';
@@ -1,15 +1,29 @@
1
1
  export * from './hr-access-action.enum.js';
2
+ export * from './hr-application-stage.enum.js';
3
+ export * from './hr-attendance-correction-status.enum.js';
4
+ export * from './hr-attendance-source.enum.js';
5
+ export * from './hr-attendance-state.enum.js';
6
+ export * from './hr-checklist-kind.enum.js';
2
7
  export * from './hr-compensation.type.js';
8
+ export * from './hr-document-audience.enum.js';
3
9
  export * from './hr-employee.type.js';
4
10
  export * from './hr-employment-event-kind.enum.js';
5
11
  export * from './hr-employment-status.enum.js';
6
12
  export * from './hr-employment-type.enum.js';
13
+ export * from './hr-goal-status.enum.js';
7
14
  export * from './hr-leave-accrual.enum.js';
8
15
  export * from './hr-leave-ledger-kind.enum.js';
9
16
  export * from './hr-leave-request-status.enum.js';
10
17
  export * from './hr-me.type.js';
18
+ export * from './hr-opening-status.enum.js';
11
19
  export * from './hr-organization.type.js';
20
+ export * from './hr-pay-item-kind.enum.js';
12
21
  export * from './hr-pay-period.enum.js';
22
+ export * from './hr-payroll-run-status.enum.js';
13
23
  export * from './hr-resource-status.enum.js';
24
+ export * from './hr-review-cycle-status.enum.js';
25
+ export * from './hr-review-status.enum.js';
26
+ export * from './hr-task-assignee.enum.js';
27
+ export * from './hr-task-status.enum.js';
14
28
  export * from './hr-time-off.type.js';
15
29
  export * from './localized-text.type.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@iveri/contracts",
3
- "version": "0.68.0",
3
+ "version": "0.69.0",
4
4
  "description": "Wire contracts shared by every Iveri backend and frontend. Zero runtime dependencies.",
5
5
  "license": "MIT",
6
6
  "repository": {