@lilaquadrat/interfaces 1.51.1 → 1.54.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.
- package/CHANGELOG.md +28 -0
- package/lib/cjs/CustomersModelActions.d.ts +1 -1
- package/lib/cjs/EmployeeAbsence.d.ts +10 -0
- package/lib/cjs/EmployeeAbsenceFilters.d.ts +5 -0
- package/lib/cjs/EmployeeAbsenceInput.d.ts +2 -0
- package/lib/cjs/History.d.ts +1 -0
- package/lib/cjs/HistoryChange.d.ts +12 -0
- package/lib/cjs/HistorySeen.d.ts +15 -0
- package/lib/cjs/List.d.ts +5 -0
- package/lib/cjs/ListCategory.d.ts +6 -0
- package/lib/cjs/ListParticipantMatch.d.ts +12 -0
- package/lib/cjs/ListParticipantWithUser.d.ts +4 -1
- package/lib/cjs/ListParticipants.d.ts +5 -1
- package/lib/cjs/MemberProfileUpdate.d.ts +2 -0
- package/lib/cjs/MemberShift.d.ts +21 -0
- package/lib/cjs/MemberShiftFilters.d.ts +5 -0
- package/lib/cjs/PaymentProviderProduct.d.ts +20 -0
- package/lib/cjs/Shift.d.ts +19 -0
- package/lib/cjs/ShiftAssignment.d.ts +7 -0
- package/lib/cjs/ShiftAssignmentBreak.d.ts +4 -0
- package/lib/cjs/ShiftAssignmentInput.d.ts +6 -0
- package/lib/cjs/ShiftAssignmentsInput.d.ts +4 -0
- package/lib/cjs/ShiftCreateInput.d.ts +5 -0
- package/lib/cjs/ShiftInput.d.ts +12 -0
- package/lib/cjs/ShiftParticipant.d.ts +14 -0
- package/lib/cjs/ShiftPlan.d.ts +20 -0
- package/lib/cjs/ShiftPlanArea.d.ts +5 -0
- package/lib/cjs/ShiftPlanChangeInput.d.ts +14 -0
- package/lib/cjs/ShiftPlanCreateInput.d.ts +14 -0
- package/lib/cjs/ShiftPlanDay.d.ts +11 -0
- package/lib/cjs/ShiftPlanDayInput.d.ts +6 -0
- package/lib/cjs/ShiftPlanFilters.d.ts +9 -0
- package/lib/cjs/ShiftPlanResponse.d.ts +14 -0
- package/lib/cjs/ShiftPlanWorkArea.d.ts +6 -0
- package/lib/cjs/ShiftPlanWorkHours.d.ts +5 -0
- package/lib/cjs/ShiftPlanningCompanyOptions.d.ts +2 -0
- package/lib/cjs/ShiftPlanningFilters.d.ts +7 -0
- package/lib/cjs/ShiftPlanningPage.d.ts +7 -0
- package/lib/cjs/ShiftPlanningPolicy.d.ts +32 -0
- package/lib/cjs/ShiftPlanningPolicyOverrides.d.ts +2 -0
- package/lib/cjs/ShiftPlanningProjectOptions.d.ts +2 -0
- package/lib/cjs/ShiftPlanningSettings.d.ts +8 -0
- package/lib/cjs/ShiftPlanningSettingsInput.d.ts +4 -0
- package/lib/cjs/ShiftPlanningViolation.d.ts +7 -0
- package/lib/cjs/ShiftReportContext.d.ts +18 -0
- package/lib/cjs/ShiftResponse.d.ts +10 -0
- package/lib/cjs/ShiftWorkingTime.d.ts +6 -0
- package/lib/cjs/StructureCondition.d.ts +11 -0
- package/lib/cjs/StructureConditionConstraint.d.ts +1 -0
- package/lib/cjs/StructureConditionGrade.d.ts +1 -0
- package/lib/cjs/StructureConditionOperator.d.ts +1 -0
- package/lib/cjs/StructureConditionType.d.ts +1 -0
- package/lib/cjs/StructureMatchState.d.ts +1 -0
- package/lib/cjs/WithStructures.d.ts +2 -1
- package/lib/cjs/WorkArea.d.ts +14 -0
- package/lib/cjs/WorkAreaFilters.d.ts +4 -0
- package/lib/cjs/WorkAreaInput.d.ts +2 -0
- package/lib/cjs/index.d.ts +49 -0
- package/lib/esm/CustomersModelActions.d.ts +1 -1
- package/lib/esm/EmployeeAbsence.d.ts +10 -0
- package/lib/esm/EmployeeAbsence.js +2 -0
- package/lib/esm/EmployeeAbsence.js.map +1 -0
- package/lib/esm/EmployeeAbsenceFilters.d.ts +5 -0
- package/lib/esm/EmployeeAbsenceFilters.js +2 -0
- package/lib/esm/EmployeeAbsenceFilters.js.map +1 -0
- package/lib/esm/EmployeeAbsenceInput.d.ts +2 -0
- package/lib/esm/EmployeeAbsenceInput.js +2 -0
- package/lib/esm/EmployeeAbsenceInput.js.map +1 -0
- package/lib/esm/History.d.ts +1 -0
- package/lib/esm/HistoryChange.d.ts +12 -0
- package/lib/esm/HistoryChange.js +2 -0
- package/lib/esm/HistoryChange.js.map +1 -0
- package/lib/esm/HistorySeen.d.ts +15 -0
- package/lib/esm/HistorySeen.js +2 -0
- package/lib/esm/HistorySeen.js.map +1 -0
- package/lib/esm/List.d.ts +5 -0
- package/lib/esm/ListCategory.d.ts +6 -0
- package/lib/esm/ListParticipantMatch.d.ts +12 -0
- package/lib/esm/ListParticipantMatch.js +2 -0
- package/lib/esm/ListParticipantMatch.js.map +1 -0
- package/lib/esm/ListParticipantWithUser.d.ts +4 -1
- package/lib/esm/ListParticipants.d.ts +5 -1
- package/lib/esm/MemberProfileUpdate.d.ts +2 -0
- package/lib/esm/MemberProfileUpdate.js +2 -0
- package/lib/esm/MemberProfileUpdate.js.map +1 -0
- package/lib/esm/MemberShift.d.ts +21 -0
- package/lib/esm/MemberShift.js +2 -0
- package/lib/esm/MemberShift.js.map +1 -0
- package/lib/esm/MemberShiftFilters.d.ts +5 -0
- package/lib/esm/MemberShiftFilters.js +2 -0
- package/lib/esm/MemberShiftFilters.js.map +1 -0
- package/lib/esm/PaymentProviderProduct.d.ts +20 -0
- package/lib/esm/PaymentProviderProduct.js +2 -0
- package/lib/esm/PaymentProviderProduct.js.map +1 -0
- package/lib/esm/Shift.d.ts +19 -0
- package/lib/esm/Shift.js +2 -0
- package/lib/esm/Shift.js.map +1 -0
- package/lib/esm/ShiftAssignment.d.ts +7 -0
- package/lib/esm/ShiftAssignment.js +2 -0
- package/lib/esm/ShiftAssignment.js.map +1 -0
- package/lib/esm/ShiftAssignmentBreak.d.ts +4 -0
- package/lib/esm/ShiftAssignmentBreak.js +2 -0
- package/lib/esm/ShiftAssignmentBreak.js.map +1 -0
- package/lib/esm/ShiftAssignmentInput.d.ts +6 -0
- package/lib/esm/ShiftAssignmentInput.js +2 -0
- package/lib/esm/ShiftAssignmentInput.js.map +1 -0
- package/lib/esm/ShiftAssignmentsInput.d.ts +4 -0
- package/lib/esm/ShiftAssignmentsInput.js +2 -0
- package/lib/esm/ShiftAssignmentsInput.js.map +1 -0
- package/lib/esm/ShiftCreateInput.d.ts +5 -0
- package/lib/esm/ShiftCreateInput.js +2 -0
- package/lib/esm/ShiftCreateInput.js.map +1 -0
- package/lib/esm/ShiftInput.d.ts +12 -0
- package/lib/esm/ShiftInput.js +2 -0
- package/lib/esm/ShiftInput.js.map +1 -0
- package/lib/esm/ShiftParticipant.d.ts +14 -0
- package/lib/esm/ShiftParticipant.js +2 -0
- package/lib/esm/ShiftParticipant.js.map +1 -0
- package/lib/esm/ShiftPlan.d.ts +20 -0
- package/lib/esm/ShiftPlan.js +2 -0
- package/lib/esm/ShiftPlan.js.map +1 -0
- package/lib/esm/ShiftPlanArea.d.ts +5 -0
- package/lib/esm/ShiftPlanArea.js +2 -0
- package/lib/esm/ShiftPlanArea.js.map +1 -0
- package/lib/esm/ShiftPlanChangeInput.d.ts +14 -0
- package/lib/esm/ShiftPlanChangeInput.js +2 -0
- package/lib/esm/ShiftPlanChangeInput.js.map +1 -0
- package/lib/esm/ShiftPlanCreateInput.d.ts +14 -0
- package/lib/esm/ShiftPlanCreateInput.js +2 -0
- package/lib/esm/ShiftPlanCreateInput.js.map +1 -0
- package/lib/esm/ShiftPlanDay.d.ts +11 -0
- package/lib/esm/ShiftPlanDay.js +2 -0
- package/lib/esm/ShiftPlanDay.js.map +1 -0
- package/lib/esm/ShiftPlanDayInput.d.ts +6 -0
- package/lib/esm/ShiftPlanDayInput.js +2 -0
- package/lib/esm/ShiftPlanDayInput.js.map +1 -0
- package/lib/esm/ShiftPlanFilters.d.ts +9 -0
- package/lib/esm/ShiftPlanFilters.js +2 -0
- package/lib/esm/ShiftPlanFilters.js.map +1 -0
- package/lib/esm/ShiftPlanResponse.d.ts +14 -0
- package/lib/esm/ShiftPlanResponse.js +2 -0
- package/lib/esm/ShiftPlanResponse.js.map +1 -0
- package/lib/esm/ShiftPlanWorkArea.d.ts +6 -0
- package/lib/esm/ShiftPlanWorkArea.js +2 -0
- package/lib/esm/ShiftPlanWorkArea.js.map +1 -0
- package/lib/esm/ShiftPlanWorkHours.d.ts +5 -0
- package/lib/esm/ShiftPlanWorkHours.js +2 -0
- package/lib/esm/ShiftPlanWorkHours.js.map +1 -0
- package/lib/esm/ShiftPlanningCompanyOptions.d.ts +2 -0
- package/lib/esm/ShiftPlanningCompanyOptions.js +2 -0
- package/lib/esm/ShiftPlanningCompanyOptions.js.map +1 -0
- package/lib/esm/ShiftPlanningFilters.d.ts +7 -0
- package/lib/esm/ShiftPlanningFilters.js +2 -0
- package/lib/esm/ShiftPlanningFilters.js.map +1 -0
- package/lib/esm/ShiftPlanningPage.d.ts +7 -0
- package/lib/esm/ShiftPlanningPage.js +2 -0
- package/lib/esm/ShiftPlanningPage.js.map +1 -0
- package/lib/esm/ShiftPlanningPolicy.d.ts +32 -0
- package/lib/esm/ShiftPlanningPolicy.js +2 -0
- package/lib/esm/ShiftPlanningPolicy.js.map +1 -0
- package/lib/esm/ShiftPlanningPolicyOverrides.d.ts +2 -0
- package/lib/esm/ShiftPlanningPolicyOverrides.js +2 -0
- package/lib/esm/ShiftPlanningPolicyOverrides.js.map +1 -0
- package/lib/esm/ShiftPlanningProjectOptions.d.ts +2 -0
- package/lib/esm/ShiftPlanningProjectOptions.js +2 -0
- package/lib/esm/ShiftPlanningProjectOptions.js.map +1 -0
- package/lib/esm/ShiftPlanningSettings.d.ts +8 -0
- package/lib/esm/ShiftPlanningSettings.js +2 -0
- package/lib/esm/ShiftPlanningSettings.js.map +1 -0
- package/lib/esm/ShiftPlanningSettingsInput.d.ts +4 -0
- package/lib/esm/ShiftPlanningSettingsInput.js +2 -0
- package/lib/esm/ShiftPlanningSettingsInput.js.map +1 -0
- package/lib/esm/ShiftPlanningViolation.d.ts +7 -0
- package/lib/esm/ShiftPlanningViolation.js +2 -0
- package/lib/esm/ShiftPlanningViolation.js.map +1 -0
- package/lib/esm/ShiftReportContext.d.ts +18 -0
- package/lib/esm/ShiftReportContext.js +2 -0
- package/lib/esm/ShiftReportContext.js.map +1 -0
- package/lib/esm/ShiftResponse.d.ts +10 -0
- package/lib/esm/ShiftResponse.js +2 -0
- package/lib/esm/ShiftResponse.js.map +1 -0
- package/lib/esm/ShiftWorkingTime.d.ts +6 -0
- package/lib/esm/ShiftWorkingTime.js +2 -0
- package/lib/esm/ShiftWorkingTime.js.map +1 -0
- package/lib/esm/StructureCondition.d.ts +11 -0
- package/lib/esm/StructureCondition.js +2 -0
- package/lib/esm/StructureCondition.js.map +1 -0
- package/lib/esm/StructureConditionConstraint.d.ts +1 -0
- package/lib/esm/StructureConditionConstraint.js +2 -0
- package/lib/esm/StructureConditionConstraint.js.map +1 -0
- package/lib/esm/StructureConditionGrade.d.ts +1 -0
- package/lib/esm/StructureConditionGrade.js +2 -0
- package/lib/esm/StructureConditionGrade.js.map +1 -0
- package/lib/esm/StructureConditionOperator.d.ts +1 -0
- package/lib/esm/StructureConditionOperator.js +2 -0
- package/lib/esm/StructureConditionOperator.js.map +1 -0
- package/lib/esm/StructureConditionType.d.ts +1 -0
- package/lib/esm/StructureConditionType.js +2 -0
- package/lib/esm/StructureConditionType.js.map +1 -0
- package/lib/esm/StructureMatchState.d.ts +1 -0
- package/lib/esm/StructureMatchState.js +2 -0
- package/lib/esm/StructureMatchState.js.map +1 -0
- package/lib/esm/WithStructures.d.ts +2 -1
- package/lib/esm/WorkArea.d.ts +14 -0
- package/lib/esm/WorkArea.js +2 -0
- package/lib/esm/WorkArea.js.map +1 -0
- package/lib/esm/WorkAreaFilters.d.ts +4 -0
- package/lib/esm/WorkAreaFilters.js +2 -0
- package/lib/esm/WorkAreaFilters.js.map +1 -0
- package/lib/esm/WorkAreaInput.d.ts +2 -0
- package/lib/esm/WorkAreaInput.js +2 -0
- package/lib/esm/WorkAreaInput.js.map +1 -0
- package/lib/esm/index.d.ts +49 -0
- package/package.json +1 -1
- package/src/CustomersModelActions.ts +2 -1
- package/src/EmployeeAbsence.ts +11 -0
- package/src/EmployeeAbsenceFilters.ts +6 -0
- package/src/EmployeeAbsenceInput.ts +3 -0
- package/src/History.ts +2 -1
- package/src/HistoryChange.ts +16 -0
- package/src/HistorySeen.ts +16 -0
- package/src/List.ts +5 -0
- package/src/ListCategory.ts +6 -0
- package/src/ListParticipantMatch.ts +13 -0
- package/src/ListParticipantWithUser.ts +4 -1
- package/src/ListParticipants.ts +5 -1
- package/src/MemberProfileUpdate.ts +6 -0
- package/src/MemberShift.ts +15 -0
- package/src/MemberShiftFilters.ts +6 -0
- package/src/PaymentProviderProduct.ts +25 -0
- package/src/Shift.ts +20 -0
- package/src/ShiftAssignment.ts +8 -0
- package/src/ShiftAssignmentBreak.ts +4 -0
- package/src/ShiftAssignmentInput.ts +7 -0
- package/src/ShiftAssignmentsInput.ts +5 -0
- package/src/ShiftCreateInput.ts +6 -0
- package/src/ShiftInput.ts +13 -0
- package/src/ShiftParticipant.ts +15 -0
- package/src/ShiftPlan.ts +21 -0
- package/src/ShiftPlanArea.ts +6 -0
- package/src/ShiftPlanChangeInput.ts +15 -0
- package/src/ShiftPlanCreateInput.ts +15 -0
- package/src/ShiftPlanDay.ts +12 -0
- package/src/ShiftPlanDayInput.ts +7 -0
- package/src/ShiftPlanFilters.ts +10 -0
- package/src/ShiftPlanResponse.ts +15 -0
- package/src/ShiftPlanWorkArea.ts +7 -0
- package/src/ShiftPlanWorkHours.ts +5 -0
- package/src/ShiftPlanningCompanyOptions.ts +3 -0
- package/src/ShiftPlanningFilters.ts +8 -0
- package/src/ShiftPlanningPage.ts +8 -0
- package/src/ShiftPlanningPolicy.ts +14 -0
- package/src/ShiftPlanningPolicyOverrides.ts +4 -0
- package/src/ShiftPlanningProjectOptions.ts +3 -0
- package/src/ShiftPlanningSettings.ts +9 -0
- package/src/ShiftPlanningSettingsInput.ts +5 -0
- package/src/ShiftPlanningViolation.ts +7 -0
- package/src/ShiftReportContext.ts +19 -0
- package/src/ShiftResponse.ts +11 -0
- package/src/ShiftWorkingTime.ts +6 -0
- package/src/StructureCondition.ts +12 -0
- package/src/StructureConditionConstraint.ts +1 -0
- package/src/StructureConditionGrade.ts +1 -0
- package/src/StructureConditionOperator.ts +1 -0
- package/src/StructureConditionType.ts +1 -0
- package/src/StructureMatchState.ts +1 -0
- package/src/WithStructures.ts +2 -1
- package/src/WorkArea.ts +15 -0
- package/src/WorkAreaFilters.ts +4 -0
- package/src/WorkAreaInput.ts +3 -0
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { ShiftPlanArea } from './ShiftPlanArea';
|
|
3
|
+
export interface ShiftPlanDay {
|
|
4
|
+
_id?: ObjectId;
|
|
5
|
+
company: string;
|
|
6
|
+
project: string;
|
|
7
|
+
plan: ObjectId;
|
|
8
|
+
date: string;
|
|
9
|
+
name?: string;
|
|
10
|
+
areas?: ShiftPlanArea[];
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanDay.js","sourceRoot":"","sources":["../../src/ShiftPlanDay.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanDayInput.js","sourceRoot":"","sources":["../../src/ShiftPlanDayInput.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanFilters.js","sourceRoot":"","sources":["../../src/ShiftPlanFilters.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ShiftPlan } from './ShiftPlan';
|
|
2
|
+
import type { ShiftPlanDay } from './ShiftPlanDay';
|
|
3
|
+
import type { ShiftPlanningPolicy } from './ShiftPlanningPolicy';
|
|
4
|
+
import type { ShiftResponse } from './ShiftResponse';
|
|
5
|
+
import type { WorkArea } from './WorkArea';
|
|
6
|
+
import type { ListCategory } from './ListCategory';
|
|
7
|
+
export interface ShiftPlanResponse extends ShiftPlan {
|
|
8
|
+
days: ShiftPlanDay[];
|
|
9
|
+
effectiveSettings: ShiftPlanningPolicy | null;
|
|
10
|
+
workAreas: WorkArea[];
|
|
11
|
+
/** Categories of the linked employee list, for labelling the per-area category bindings. */
|
|
12
|
+
categories?: ListCategory[];
|
|
13
|
+
shifts?: ShiftResponse[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanResponse.js","sourceRoot":"","sources":["../../src/ShiftPlanResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanWorkArea.js","sourceRoot":"","sources":["../../src/ShiftPlanWorkArea.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanWorkHours.js","sourceRoot":"","sources":["../../src/ShiftPlanWorkHours.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanningCompanyOptions.js","sourceRoot":"","sources":["../../src/ShiftPlanningCompanyOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanningFilters.js","sourceRoot":"","sources":["../../src/ShiftPlanningFilters.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanningPage.js","sourceRoot":"","sources":["../../src/ShiftPlanningPage.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
export interface ShiftPlanningPolicy {
|
|
2
|
+
daytime: {
|
|
3
|
+
start: string;
|
|
4
|
+
end: string;
|
|
5
|
+
};
|
|
6
|
+
nighttime: {
|
|
7
|
+
start: string;
|
|
8
|
+
end: string;
|
|
9
|
+
};
|
|
10
|
+
maximumConsecutiveWorkingDays: {
|
|
11
|
+
enabled: boolean;
|
|
12
|
+
days: number;
|
|
13
|
+
};
|
|
14
|
+
maximumDailyWorkMinutes: {
|
|
15
|
+
enabled: boolean;
|
|
16
|
+
minutes: number;
|
|
17
|
+
};
|
|
18
|
+
minimumRest: {
|
|
19
|
+
enabled: boolean;
|
|
20
|
+
minutes: number;
|
|
21
|
+
};
|
|
22
|
+
breaks: {
|
|
23
|
+
enabled: boolean;
|
|
24
|
+
maximumContinuousWorkMinutes: number;
|
|
25
|
+
minimumQualifyingBreakMinutes: number;
|
|
26
|
+
requirements: Array<{
|
|
27
|
+
afterWorkMinutes: number;
|
|
28
|
+
minimumTotalBreakMinutes: number;
|
|
29
|
+
}>;
|
|
30
|
+
};
|
|
31
|
+
absenceEnforcement: boolean;
|
|
32
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanningPolicy.js","sourceRoot":"","sources":["../../src/ShiftPlanningPolicy.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanningPolicyOverrides.js","sourceRoot":"","sources":["../../src/ShiftPlanningPolicyOverrides.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanningProjectOptions.js","sourceRoot":"","sources":["../../src/ShiftPlanningProjectOptions.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanningSettings.js","sourceRoot":"","sources":["../../src/ShiftPlanningSettings.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanningSettingsInput.js","sourceRoot":"","sources":["../../src/ShiftPlanningSettingsInput.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftPlanningViolation.js","sourceRoot":"","sources":["../../src/ShiftPlanningViolation.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { WithId } from 'mongodb';
|
|
2
|
+
import type { CustomerPerson } from './CustomerPerson';
|
|
3
|
+
import type { EmployeeAbsence } from './EmployeeAbsence';
|
|
4
|
+
import type { ListParticipantWithCustomerAndPayment } from './ListParticipantWithUser';
|
|
5
|
+
import type { ListParticipants } from './ListParticipants';
|
|
6
|
+
import type { Shift } from './Shift';
|
|
7
|
+
import type { ShiftPlan } from './ShiftPlan';
|
|
8
|
+
import type { ShiftPlanningPolicy } from './ShiftPlanningPolicy';
|
|
9
|
+
/** Diagnostic snapshots contain internal data; member responses use a separate restricted projection. */
|
|
10
|
+
export interface ShiftReportContext {
|
|
11
|
+
schedules: WithId<Shift>[];
|
|
12
|
+
plans: WithId<ShiftPlan>[];
|
|
13
|
+
settings: ShiftPlanningPolicy | undefined;
|
|
14
|
+
absences: WithId<EmployeeAbsence>[];
|
|
15
|
+
participants: WithId<ListParticipants>[];
|
|
16
|
+
participantDetails: ListParticipantWithCustomerAndPayment[];
|
|
17
|
+
customers: WithId<CustomerPerson>[];
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftReportContext.js","sourceRoot":"","sources":["../../src/ShiftReportContext.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { Shift } from './Shift';
|
|
2
|
+
import type { ShiftParticipant } from './ShiftParticipant';
|
|
3
|
+
import type { ShiftPlanningViolation } from './ShiftPlanningViolation';
|
|
4
|
+
import type { ShiftWorkingTime } from './ShiftWorkingTime';
|
|
5
|
+
export interface ShiftResponse extends Shift {
|
|
6
|
+
participants: ShiftParticipant[];
|
|
7
|
+
unavailableParticipantIds: string[];
|
|
8
|
+
violations: ShiftPlanningViolation[];
|
|
9
|
+
workingTime: ShiftWorkingTime[];
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftResponse.js","sourceRoot":"","sources":["../../src/ShiftResponse.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ShiftWorkingTime.js","sourceRoot":"","sources":["../../src/ShiftWorkingTime.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { StructureConditionConstraint } from './StructureConditionConstraint';
|
|
2
|
+
import type { StructureConditionGrade } from './StructureConditionGrade';
|
|
3
|
+
import type { StructureConditionOperator } from './StructureConditionOperator';
|
|
4
|
+
export interface StructureCondition {
|
|
5
|
+
structure: string;
|
|
6
|
+
constraint?: StructureConditionConstraint;
|
|
7
|
+
grade?: StructureConditionGrade;
|
|
8
|
+
/** Comparison for a `number` structure's value; ignored for other types. */
|
|
9
|
+
operator?: StructureConditionOperator;
|
|
10
|
+
value?: string | number | boolean;
|
|
11
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructureCondition.js","sourceRoot":"","sources":["../../src/StructureCondition.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type StructureConditionConstraint = 'required' | 'forbidden';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructureConditionConstraint.js","sourceRoot":"","sources":["../../src/StructureConditionConstraint.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type StructureConditionGrade = 'very-positive' | 'positive' | 'negative' | 'very-negative';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructureConditionGrade.js","sourceRoot":"","sources":["../../src/StructureConditionGrade.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type StructureConditionOperator = 'lt' | 'lte' | 'eq' | 'gt' | 'gte';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructureConditionOperator.js","sourceRoot":"","sources":["../../src/StructureConditionOperator.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type StructureConditionType = 'required' | 'forbidden' | 'very-positive' | 'positive' | 'negative' | 'very-negative';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructureConditionType.js","sourceRoot":"","sources":["../../src/StructureConditionType.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type StructureMatchState = 'fulfilled' | 'unfit';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"StructureMatchState.js","sourceRoot":"","sources":["../../src/StructureMatchState.ts"],"names":[],"mappings":""}
|
|
@@ -1,9 +1,10 @@
|
|
|
1
|
+
import { BasicData } from "./BasicData";
|
|
1
2
|
import { Structure } from "./Structure";
|
|
2
3
|
/**
|
|
3
4
|
* Base interface containing only the standard properties
|
|
4
5
|
*/
|
|
5
6
|
interface BaseWithStructures {
|
|
6
|
-
structures?: Structure[];
|
|
7
|
+
structures?: BasicData<Structure>[];
|
|
7
8
|
}
|
|
8
9
|
/**
|
|
9
10
|
* A utility type that can be extended by any interface to support
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { Address } from './Address';
|
|
3
|
+
import type { StructureCondition } from './StructureCondition';
|
|
4
|
+
export interface WorkArea {
|
|
5
|
+
_id: ObjectId;
|
|
6
|
+
id?: string;
|
|
7
|
+
company: string;
|
|
8
|
+
project: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
location?: string;
|
|
12
|
+
address?: Address;
|
|
13
|
+
structures?: StructureCondition[];
|
|
14
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkArea.js","sourceRoot":"","sources":["../../src/WorkArea.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkAreaFilters.js","sourceRoot":"","sources":["../../src/WorkAreaFilters.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"WorkAreaInput.js","sourceRoot":"","sources":["../../src/WorkAreaInput.ts"],"names":[],"mappings":""}
|
package/lib/esm/index.d.ts
CHANGED
|
@@ -85,6 +85,9 @@ export * from './EditorSettings';
|
|
|
85
85
|
export * from './EmailLimit';
|
|
86
86
|
export * from './EmailsContent';
|
|
87
87
|
export * from './EmotionModule';
|
|
88
|
+
export * from './EmployeeAbsence';
|
|
89
|
+
export * from './EmployeeAbsenceFilters';
|
|
90
|
+
export * from './EmployeeAbsenceInput';
|
|
88
91
|
export * from './ErrorObject';
|
|
89
92
|
export * from './EventModule';
|
|
90
93
|
export * from './EventsListModule';
|
|
@@ -104,7 +107,9 @@ export * from './GenericDataDistributed';
|
|
|
104
107
|
export * from './GenericDataSingle';
|
|
105
108
|
export * from './GenericDataWithContent';
|
|
106
109
|
export * from './History';
|
|
110
|
+
export * from './HistoryChange';
|
|
107
111
|
export * from './HistoryReason';
|
|
112
|
+
export * from './HistorySeen';
|
|
108
113
|
export * from './HistoryWithType';
|
|
109
114
|
export * from './HostindCommand';
|
|
110
115
|
export * from './Hosting';
|
|
@@ -139,6 +144,7 @@ export * from './ListCustomQueries';
|
|
|
139
144
|
export * from './ListItem';
|
|
140
145
|
export * from './ListLink';
|
|
141
146
|
export * from './ListOfModels';
|
|
147
|
+
export * from './ListParticipantMatch';
|
|
142
148
|
export * from './ListParticipantWithUser';
|
|
143
149
|
export * from './ListParticipants';
|
|
144
150
|
export * from './ListParticipantsDetails';
|
|
@@ -156,6 +162,9 @@ export * from './MediaContentFiles';
|
|
|
156
162
|
export * from './MediaMetadata';
|
|
157
163
|
export * from './MediaStats';
|
|
158
164
|
export * from './MediaViewInfo';
|
|
165
|
+
export * from './MemberProfileUpdate';
|
|
166
|
+
export * from './MemberShift';
|
|
167
|
+
export * from './MemberShiftFilters';
|
|
159
168
|
export * from './MenuCategoryElement';
|
|
160
169
|
export * from './MenuItemElement';
|
|
161
170
|
export * from './MenuModule';
|
|
@@ -176,6 +185,7 @@ export * from './Partner';
|
|
|
176
185
|
export * from './PathMapping';
|
|
177
186
|
export * from './Payment';
|
|
178
187
|
export * from './PaymentProvider';
|
|
188
|
+
export * from './PaymentProviderProduct';
|
|
179
189
|
export * from './PaymentProviderShopify';
|
|
180
190
|
export * from './PaymentProviderStripe';
|
|
181
191
|
export * from './PaymentWithCustomer';
|
|
@@ -215,6 +225,36 @@ export * from './SelectedFile';
|
|
|
215
225
|
export * from './Settings';
|
|
216
226
|
export * from './ShareClient';
|
|
217
227
|
export * from './ShareClientOptions';
|
|
228
|
+
export * from './Shift';
|
|
229
|
+
export * from './ShiftAssignment';
|
|
230
|
+
export * from './ShiftAssignmentBreak';
|
|
231
|
+
export * from './ShiftAssignmentInput';
|
|
232
|
+
export * from './ShiftAssignmentsInput';
|
|
233
|
+
export * from './ShiftCreateInput';
|
|
234
|
+
export * from './ShiftInput';
|
|
235
|
+
export * from './ShiftParticipant';
|
|
236
|
+
export * from './ShiftPlan';
|
|
237
|
+
export * from './ShiftPlanArea';
|
|
238
|
+
export * from './ShiftPlanChangeInput';
|
|
239
|
+
export * from './ShiftPlanCreateInput';
|
|
240
|
+
export * from './ShiftPlanDay';
|
|
241
|
+
export * from './ShiftPlanDayInput';
|
|
242
|
+
export * from './ShiftPlanFilters';
|
|
243
|
+
export * from './ShiftPlanResponse';
|
|
244
|
+
export * from './ShiftPlanWorkArea';
|
|
245
|
+
export * from './ShiftPlanWorkHours';
|
|
246
|
+
export * from './ShiftPlanningCompanyOptions';
|
|
247
|
+
export * from './ShiftPlanningFilters';
|
|
248
|
+
export * from './ShiftPlanningPage';
|
|
249
|
+
export * from './ShiftPlanningPolicy';
|
|
250
|
+
export * from './ShiftPlanningPolicyOverrides';
|
|
251
|
+
export * from './ShiftPlanningProjectOptions';
|
|
252
|
+
export * from './ShiftPlanningSettings';
|
|
253
|
+
export * from './ShiftPlanningSettingsInput';
|
|
254
|
+
export * from './ShiftPlanningViolation';
|
|
255
|
+
export * from './ShiftReportContext';
|
|
256
|
+
export * from './ShiftResponse';
|
|
257
|
+
export * from './ShiftWorkingTime';
|
|
218
258
|
export * from './ShopifyProjectSettings';
|
|
219
259
|
export * from './ShoppingCartModule';
|
|
220
260
|
export * from './SkipLimitSort';
|
|
@@ -226,6 +266,12 @@ export * from './StorageWithVersions';
|
|
|
226
266
|
export * from './Stored';
|
|
227
267
|
export * from './StoryModule';
|
|
228
268
|
export * from './Structure';
|
|
269
|
+
export * from './StructureCondition';
|
|
270
|
+
export * from './StructureConditionConstraint';
|
|
271
|
+
export * from './StructureConditionGrade';
|
|
272
|
+
export * from './StructureConditionOperator';
|
|
273
|
+
export * from './StructureConditionType';
|
|
274
|
+
export * from './StructureMatchState';
|
|
229
275
|
export * from './StudioIframeMessage';
|
|
230
276
|
export * from './SupportAvailability';
|
|
231
277
|
export * from './SupportDay';
|
|
@@ -248,5 +294,8 @@ export * from './VideoSource';
|
|
|
248
294
|
export * from './WebhookCall';
|
|
249
295
|
export * from './WildcardCertificates';
|
|
250
296
|
export * from './WithStructures';
|
|
297
|
+
export * from './WorkArea';
|
|
298
|
+
export * from './WorkAreaFilters';
|
|
299
|
+
export * from './WorkAreaInput';
|
|
251
300
|
export * from './events-list-element';
|
|
252
301
|
export * from './story-element';
|
package/package.json
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export type CustomersModelActions = 'createPersonMinimal' | 'createPersonExternal'
|
|
2
2
|
| 'createPersonExternalWithAddress' | 'createCompanyMinimal' | 'changePersonMinimal' | 'changeCompanyMinimal'
|
|
3
|
-
| 'connectPersonAccount' | 'disconnectPersonAccount' | 'confirmEmail' | 'setEmailConfirmationCode'
|
|
3
|
+
| 'connectPersonAccount' | 'disconnectPersonAccount' | 'confirmEmail' | 'setEmailConfirmationCode'
|
|
4
|
+
| 'changeMemberProfile' | 'changeStructures'
|