@lilaquadrat/interfaces 1.53.1 → 1.55.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 +18 -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/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/MemberShift.d.ts +21 -0
- package/lib/cjs/MemberShiftFilters.d.ts +5 -0
- package/lib/cjs/PaymentProviderProduct.d.ts +20 -0
- package/lib/cjs/PlanningScope.d.ts +13 -0
- package/lib/cjs/PlanningShiftMembership.d.ts +5 -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/ShiftCoverage.d.ts +15 -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/ShiftPlanCoverageSummary.d.ts +7 -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/ShiftScopeCoverage.d.ts +11 -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 +53 -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/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/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/PlanningScope.d.ts +13 -0
- package/lib/esm/PlanningScope.js +2 -0
- package/lib/esm/PlanningScope.js.map +1 -0
- package/lib/esm/PlanningShiftMembership.d.ts +5 -0
- package/lib/esm/PlanningShiftMembership.js +2 -0
- package/lib/esm/PlanningShiftMembership.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/ShiftCoverage.d.ts +15 -0
- package/lib/esm/ShiftCoverage.js +2 -0
- package/lib/esm/ShiftCoverage.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/ShiftPlanCoverageSummary.d.ts +7 -0
- package/lib/esm/ShiftPlanCoverageSummary.js +2 -0
- package/lib/esm/ShiftPlanCoverageSummary.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/ShiftScopeCoverage.d.ts +11 -0
- package/lib/esm/ShiftScopeCoverage.js +2 -0
- package/lib/esm/ShiftScopeCoverage.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 +53 -0
- package/package.json +1 -1
- package/src/CustomersModelActions.ts +1 -1
- package/src/EmployeeAbsence.ts +11 -0
- package/src/EmployeeAbsenceFilters.ts +6 -0
- package/src/EmployeeAbsenceInput.ts +3 -0
- package/src/HistoryChange.ts +16 -0
- package/src/HistorySeen.ts +16 -0
- package/src/List.ts +6 -0
- package/src/ListCategory.ts +6 -0
- package/src/ListParticipantMatch.ts +13 -0
- package/src/ListParticipantWithUser.ts +4 -1
- package/src/MemberShift.ts +15 -0
- package/src/MemberShiftFilters.ts +6 -0
- package/src/PaymentProviderProduct.ts +25 -0
- package/src/PlanningScope.ts +14 -0
- package/src/PlanningShiftMembership.ts +5 -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/ShiftCoverage.ts +16 -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/ShiftPlanCoverageSummary.ts +7 -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/ShiftScopeCoverage.ts +12 -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
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';
|
|
@@ -157,6 +163,8 @@ export * from './MediaMetadata';
|
|
|
157
163
|
export * from './MediaStats';
|
|
158
164
|
export * from './MediaViewInfo';
|
|
159
165
|
export * from './MemberProfileUpdate';
|
|
166
|
+
export * from './MemberShift';
|
|
167
|
+
export * from './MemberShiftFilters';
|
|
160
168
|
export * from './MenuCategoryElement';
|
|
161
169
|
export * from './MenuItemElement';
|
|
162
170
|
export * from './MenuModule';
|
|
@@ -177,6 +185,7 @@ export * from './Partner';
|
|
|
177
185
|
export * from './PathMapping';
|
|
178
186
|
export * from './Payment';
|
|
179
187
|
export * from './PaymentProvider';
|
|
188
|
+
export * from './PaymentProviderProduct';
|
|
180
189
|
export * from './PaymentProviderShopify';
|
|
181
190
|
export * from './PaymentProviderStripe';
|
|
182
191
|
export * from './PaymentWithCustomer';
|
|
@@ -189,6 +198,8 @@ export * from './PictureSource';
|
|
|
189
198
|
export * from './PicturegroupElement';
|
|
190
199
|
export * from './PicturegroupModule';
|
|
191
200
|
export * from './PlaeceholderModule';
|
|
201
|
+
export * from './PlanningScope';
|
|
202
|
+
export * from './PlanningShiftMembership';
|
|
192
203
|
export * from './Price';
|
|
193
204
|
export * from './PricesElement';
|
|
194
205
|
export * from './PricesModule';
|
|
@@ -216,6 +227,39 @@ export * from './SelectedFile';
|
|
|
216
227
|
export * from './Settings';
|
|
217
228
|
export * from './ShareClient';
|
|
218
229
|
export * from './ShareClientOptions';
|
|
230
|
+
export * from './Shift';
|
|
231
|
+
export * from './ShiftAssignment';
|
|
232
|
+
export * from './ShiftAssignmentBreak';
|
|
233
|
+
export * from './ShiftAssignmentInput';
|
|
234
|
+
export * from './ShiftAssignmentsInput';
|
|
235
|
+
export * from './ShiftCoverage';
|
|
236
|
+
export * from './ShiftCreateInput';
|
|
237
|
+
export * from './ShiftInput';
|
|
238
|
+
export * from './ShiftParticipant';
|
|
239
|
+
export * from './ShiftPlan';
|
|
240
|
+
export * from './ShiftPlanArea';
|
|
241
|
+
export * from './ShiftPlanChangeInput';
|
|
242
|
+
export * from './ShiftPlanCoverageSummary';
|
|
243
|
+
export * from './ShiftPlanCreateInput';
|
|
244
|
+
export * from './ShiftPlanDay';
|
|
245
|
+
export * from './ShiftPlanDayInput';
|
|
246
|
+
export * from './ShiftPlanFilters';
|
|
247
|
+
export * from './ShiftPlanResponse';
|
|
248
|
+
export * from './ShiftPlanWorkArea';
|
|
249
|
+
export * from './ShiftPlanWorkHours';
|
|
250
|
+
export * from './ShiftPlanningCompanyOptions';
|
|
251
|
+
export * from './ShiftPlanningFilters';
|
|
252
|
+
export * from './ShiftPlanningPage';
|
|
253
|
+
export * from './ShiftPlanningPolicy';
|
|
254
|
+
export * from './ShiftPlanningPolicyOverrides';
|
|
255
|
+
export * from './ShiftPlanningProjectOptions';
|
|
256
|
+
export * from './ShiftPlanningSettings';
|
|
257
|
+
export * from './ShiftPlanningSettingsInput';
|
|
258
|
+
export * from './ShiftPlanningViolation';
|
|
259
|
+
export * from './ShiftReportContext';
|
|
260
|
+
export * from './ShiftResponse';
|
|
261
|
+
export * from './ShiftScopeCoverage';
|
|
262
|
+
export * from './ShiftWorkingTime';
|
|
219
263
|
export * from './ShopifyProjectSettings';
|
|
220
264
|
export * from './ShoppingCartModule';
|
|
221
265
|
export * from './SkipLimitSort';
|
|
@@ -227,6 +271,12 @@ export * from './StorageWithVersions';
|
|
|
227
271
|
export * from './Stored';
|
|
228
272
|
export * from './StoryModule';
|
|
229
273
|
export * from './Structure';
|
|
274
|
+
export * from './StructureCondition';
|
|
275
|
+
export * from './StructureConditionConstraint';
|
|
276
|
+
export * from './StructureConditionGrade';
|
|
277
|
+
export * from './StructureConditionOperator';
|
|
278
|
+
export * from './StructureConditionType';
|
|
279
|
+
export * from './StructureMatchState';
|
|
230
280
|
export * from './StudioIframeMessage';
|
|
231
281
|
export * from './SupportAvailability';
|
|
232
282
|
export * from './SupportDay';
|
|
@@ -249,5 +299,8 @@ export * from './VideoSource';
|
|
|
249
299
|
export * from './WebhookCall';
|
|
250
300
|
export * from './WildcardCertificates';
|
|
251
301
|
export * from './WithStructures';
|
|
302
|
+
export * from './WorkArea';
|
|
303
|
+
export * from './WorkAreaFilters';
|
|
304
|
+
export * from './WorkAreaInput';
|
|
252
305
|
export * from './events-list-element';
|
|
253
306
|
export * from './story-element';
|
package/package.json
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export type CustomersModelActions = 'createPersonMinimal' | 'createPersonExternal'
|
|
2
2
|
| 'createPersonExternalWithAddress' | 'createCompanyMinimal' | 'changePersonMinimal' | 'changeCompanyMinimal'
|
|
3
3
|
| 'connectPersonAccount' | 'disconnectPersonAccount' | 'confirmEmail' | 'setEmailConfirmationCode'
|
|
4
|
-
| 'changeMemberProfile'
|
|
4
|
+
| 'changeMemberProfile' | 'changeStructures'
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export interface HistoryChange {
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* path of the changed field, nested objects are joined with a dot
|
|
5
|
+
*/
|
|
6
|
+
field: string
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* human readable name of the field when the snapshot data knows it, e.g. the question of a structure
|
|
10
|
+
*/
|
|
11
|
+
label?: string
|
|
12
|
+
|
|
13
|
+
from: unknown
|
|
14
|
+
to: unknown
|
|
15
|
+
|
|
16
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { ObjectId } from "mongodb";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* marks the newest history entry a user has seen for one scope (e.g. the participants of a single list).
|
|
5
|
+
* the number of unread entries is derived from this marker instead of being stored, so it can not go stale.
|
|
6
|
+
*/
|
|
7
|
+
export interface HistorySeen {
|
|
8
|
+
user: string
|
|
9
|
+
company: string
|
|
10
|
+
project?: string
|
|
11
|
+
model: string
|
|
12
|
+
/** identifies the watched subset of a model, e.g. the id of a list. */
|
|
13
|
+
scope: string
|
|
14
|
+
lastSeenId: ObjectId
|
|
15
|
+
seenAt: Date
|
|
16
|
+
}
|
package/src/List.ts
CHANGED
|
@@ -40,6 +40,12 @@ export interface List {
|
|
|
40
40
|
|
|
41
41
|
categories?: ListCategory[]
|
|
42
42
|
|
|
43
|
+
/**
|
|
44
|
+
* Shift plan linked to this list for planning its participants; the referenced
|
|
45
|
+
* plan must belong to the same company and project.
|
|
46
|
+
*/
|
|
47
|
+
shiftPlan?: ObjectId
|
|
48
|
+
|
|
43
49
|
content?: ListContent
|
|
44
50
|
|
|
45
51
|
emails?: EmailsContent[]
|
package/src/ListCategory.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { ObjectId } from "mongodb";
|
|
2
2
|
import {Price} from "./Price";
|
|
3
|
+
import { PaymentProvider } from "./PaymentProvider";
|
|
3
4
|
|
|
4
5
|
export interface ListCategory {
|
|
5
6
|
|
|
@@ -8,6 +9,11 @@ export interface ListCategory {
|
|
|
8
9
|
name: string
|
|
9
10
|
description?: string
|
|
10
11
|
externalId?: string
|
|
12
|
+
/**
|
|
13
|
+
* request-only flag: creates the product at the given payment provider and stores
|
|
14
|
+
* its id as externalId. never persisted.
|
|
15
|
+
*/
|
|
16
|
+
createExternalProduct?: PaymentProvider['type']
|
|
11
17
|
amount?: number
|
|
12
18
|
disabled?: boolean
|
|
13
19
|
price?: Price
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { StructureMatchState } from "./StructureMatchState";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* How well a list participant matches a shift's structure conditions, resolved by the planning
|
|
5
|
+
* query so the candidate list can be ordered across all pages rather than just the loaded one.
|
|
6
|
+
* The state reports the hard constraints; the score grades the preferences.
|
|
7
|
+
*/
|
|
8
|
+
export interface ListParticipantMatch {
|
|
9
|
+
state: StructureMatchState;
|
|
10
|
+
score: number;
|
|
11
|
+
matched: number;
|
|
12
|
+
total: number;
|
|
13
|
+
}
|
|
@@ -2,13 +2,16 @@ import { ListParticipants } from "./ListParticipants";
|
|
|
2
2
|
import { Payment } from "./Payment";
|
|
3
3
|
import { BasicData } from "./BasicData";
|
|
4
4
|
import { CustomerMinimal } from "./CustomerMinimal";
|
|
5
|
+
import { WithStructures } from "./WithStructures";
|
|
6
|
+
import { ListParticipantMatch } from "./ListParticipantMatch";
|
|
5
7
|
|
|
6
8
|
export type ListParticipantWithCustomerAndPayment = BasicData<ListParticipants>
|
|
7
9
|
&
|
|
8
10
|
{
|
|
9
|
-
user: CustomerMinimal
|
|
11
|
+
user: CustomerMinimal & WithStructures
|
|
10
12
|
}
|
|
11
13
|
&
|
|
12
14
|
{
|
|
13
15
|
payment?: Pick<BasicData<Payment>, '_id' | 'state' | 'items' | 'provider' | 'currency' | 'amount'>;
|
|
16
|
+
match?: ListParticipantMatch;
|
|
14
17
|
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { WorkArea } from './WorkArea';
|
|
3
|
+
import type { ShiftAssignmentBreak } from './ShiftAssignmentBreak';
|
|
4
|
+
|
|
5
|
+
export interface MemberShift {
|
|
6
|
+
_id: ObjectId;
|
|
7
|
+
day: string;
|
|
8
|
+
title: string;
|
|
9
|
+
start: string;
|
|
10
|
+
end: string;
|
|
11
|
+
plan: { _id: ObjectId; name: string; timeZone: string };
|
|
12
|
+
list?: { _id: ObjectId; name: string };
|
|
13
|
+
area: Pick<WorkArea, '_id' | 'name' | 'description' | 'location' | 'address'>;
|
|
14
|
+
breaks: ShiftAssignmentBreak[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
export interface PaymentProviderProduct {
|
|
2
|
+
|
|
3
|
+
id: string
|
|
4
|
+
name: string
|
|
5
|
+
description?: string
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* false if the product is archived at the provider
|
|
9
|
+
*/
|
|
10
|
+
active: boolean
|
|
11
|
+
|
|
12
|
+
/**
|
|
13
|
+
* major units, like the prices stored in studio. missing if the product has no (flat) default price
|
|
14
|
+
*/
|
|
15
|
+
price?: {
|
|
16
|
+
amount: number
|
|
17
|
+
currency: string
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* link to the product in the provider's dashboard
|
|
22
|
+
*/
|
|
23
|
+
url?: string
|
|
24
|
+
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The entity a planning query resolves its requirements for. `shift` and `workArea` score one
|
|
5
|
+
* condition set; `day` and `plan` cover every shift in that scope.
|
|
6
|
+
*/
|
|
7
|
+
export interface PlanningScope {
|
|
8
|
+
level: 'shift' | 'workArea' | 'day' | 'plan';
|
|
9
|
+
/** shift level only; absent means the work area's conditions are used. */
|
|
10
|
+
shift?: ObjectId;
|
|
11
|
+
workArea?: ObjectId;
|
|
12
|
+
day?: ObjectId;
|
|
13
|
+
plan?: ObjectId;
|
|
14
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Narrows a planning candidate pool by the plan's existing assignments: `all` keeps the whole list,
|
|
3
|
+
* `assigned` keeps people already holding a place, `unassigned` keeps people holding none.
|
|
4
|
+
*/
|
|
5
|
+
export type PlanningShiftMembership = 'all' | 'assigned' | 'unassigned';
|
package/src/Shift.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { ShiftAssignment } from './ShiftAssignment';
|
|
3
|
+
import type { StructureCondition } from './StructureCondition';
|
|
4
|
+
|
|
5
|
+
export interface Shift {
|
|
6
|
+
_id?: ObjectId;
|
|
7
|
+
company: string;
|
|
8
|
+
project: string;
|
|
9
|
+
list?: ObjectId;
|
|
10
|
+
plan: ObjectId;
|
|
11
|
+
day: ObjectId;
|
|
12
|
+
area: ObjectId;
|
|
13
|
+
title: string;
|
|
14
|
+
start: string;
|
|
15
|
+
end: string;
|
|
16
|
+
structures?: StructureCondition[];
|
|
17
|
+
requiredPeople?: number;
|
|
18
|
+
matchingPeople?: number;
|
|
19
|
+
assignments: ShiftAssignment[];
|
|
20
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
|
|
3
|
+
/** Whether the linked employee list can staff one shift, respecting the plan's rules. */
|
|
4
|
+
export interface ShiftCoverage {
|
|
5
|
+
shift: ObjectId;
|
|
6
|
+
title: string;
|
|
7
|
+
start: string;
|
|
8
|
+
end: string;
|
|
9
|
+
requiredPeople: number;
|
|
10
|
+
matchingPeople: number;
|
|
11
|
+
/** People assigned after the coverage allocation, including existing assignments. */
|
|
12
|
+
assigned: number;
|
|
13
|
+
/** Matching people after the read-only allocation; omitted by older servers and staffing coverage. */
|
|
14
|
+
matching?: number;
|
|
15
|
+
fillable: boolean;
|
|
16
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { StructureCondition } from './StructureCondition';
|
|
3
|
+
|
|
4
|
+
export interface ShiftInput {
|
|
5
|
+
day: ObjectId;
|
|
6
|
+
area: ObjectId;
|
|
7
|
+
title: string;
|
|
8
|
+
start: string;
|
|
9
|
+
end: string;
|
|
10
|
+
structures?: StructureCondition[];
|
|
11
|
+
requiredPeople?: number;
|
|
12
|
+
matchingPeople?: number;
|
|
13
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { CustomerMinimal } from './CustomerMinimal';
|
|
3
|
+
import type { WithStructures } from './WithStructures';
|
|
4
|
+
|
|
5
|
+
export interface ShiftParticipant extends WithStructures {
|
|
6
|
+
participant: ObjectId;
|
|
7
|
+
customer: ObjectId;
|
|
8
|
+
name: string;
|
|
9
|
+
email: string;
|
|
10
|
+
/**
|
|
11
|
+
* The assigned customer, carrying the customer's own structure answers and definitions
|
|
12
|
+
* so a shift's conditions can be evaluated client-side.
|
|
13
|
+
*/
|
|
14
|
+
user?: CustomerMinimal & WithStructures;
|
|
15
|
+
}
|
package/src/ShiftPlan.ts
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { ShiftPlanningPolicyOverrides } from './ShiftPlanningPolicyOverrides';
|
|
3
|
+
import type { ShiftPlanWorkArea } from './ShiftPlanWorkArea';
|
|
4
|
+
import type { ShiftPlanWorkHours } from './ShiftPlanWorkHours';
|
|
5
|
+
import type { ListParticipants } from './ListParticipants';
|
|
6
|
+
|
|
7
|
+
export interface ShiftPlan {
|
|
8
|
+
_id?: ObjectId;
|
|
9
|
+
company: string;
|
|
10
|
+
project: string;
|
|
11
|
+
list?: ObjectId;
|
|
12
|
+
name: string;
|
|
13
|
+
timeZone: string;
|
|
14
|
+
settingsOverrides: ShiftPlanningPolicyOverrides;
|
|
15
|
+
/** One entry per work area used by the plan; binds employee-list categories to that area's shifts. */
|
|
16
|
+
workAreaCategories?: ShiftPlanWorkArea[];
|
|
17
|
+
/** Participant state the selection filter defaults to; null means no default. */
|
|
18
|
+
defaultParticipantState?: ListParticipants['state'] | null;
|
|
19
|
+
/** Visible scheduling window for each day; absent means the full day. */
|
|
20
|
+
workHours?: ShiftPlanWorkHours;
|
|
21
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { ShiftPlanningPolicyOverrides } from './ShiftPlanningPolicyOverrides';
|
|
3
|
+
import type { ShiftPlanWorkArea } from './ShiftPlanWorkArea';
|
|
4
|
+
import type { ShiftPlanWorkHours } from './ShiftPlanWorkHours';
|
|
5
|
+
import type { ListParticipants } from './ListParticipants';
|
|
6
|
+
|
|
7
|
+
export interface ShiftPlanChangeInput {
|
|
8
|
+
list?: ObjectId;
|
|
9
|
+
name: string;
|
|
10
|
+
timeZone: string;
|
|
11
|
+
settingsOverrides: ShiftPlanningPolicyOverrides;
|
|
12
|
+
workAreaCategories?: ShiftPlanWorkArea[];
|
|
13
|
+
defaultParticipantState?: ListParticipants['state'] | null;
|
|
14
|
+
workHours?: ShiftPlanWorkHours;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { ShiftPlanningPolicyOverrides } from './ShiftPlanningPolicyOverrides';
|
|
3
|
+
import type { ShiftPlanWorkArea } from './ShiftPlanWorkArea';
|
|
4
|
+
import type { ShiftPlanWorkHours } from './ShiftPlanWorkHours';
|
|
5
|
+
import type { ListParticipants } from './ListParticipants';
|
|
6
|
+
|
|
7
|
+
export interface ShiftPlanCreateInput {
|
|
8
|
+
list?: ObjectId;
|
|
9
|
+
name: string;
|
|
10
|
+
timeZone: string;
|
|
11
|
+
settingsOverrides?: ShiftPlanningPolicyOverrides;
|
|
12
|
+
workAreaCategories?: ShiftPlanWorkArea[];
|
|
13
|
+
defaultParticipantState?: ListParticipants['state'] | null;
|
|
14
|
+
workHours?: ShiftPlanWorkHours;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
import type { ShiftPlanArea } from './ShiftPlanArea';
|
|
3
|
+
|
|
4
|
+
export interface ShiftPlanDay {
|
|
5
|
+
_id?: ObjectId;
|
|
6
|
+
company: string;
|
|
7
|
+
project: string;
|
|
8
|
+
plan: ObjectId;
|
|
9
|
+
date: string;
|
|
10
|
+
name?: string;
|
|
11
|
+
areas?: ShiftPlanArea[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ObjectId } from 'mongodb';
|
|
2
|
+
|
|
3
|
+
/** Date filters are local planning dates; shift filters instead describe UTC instants. */
|
|
4
|
+
export interface ShiftPlanFilters {
|
|
5
|
+
list?: ObjectId;
|
|
6
|
+
from?: string;
|
|
7
|
+
to?: string;
|
|
8
|
+
search?: string;
|
|
9
|
+
site?: number;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
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
|
+
|
|
8
|
+
export interface ShiftPlanResponse extends ShiftPlan {
|
|
9
|
+
days: ShiftPlanDay[];
|
|
10
|
+
effectiveSettings: ShiftPlanningPolicy | null;
|
|
11
|
+
workAreas: WorkArea[];
|
|
12
|
+
/** Categories of the linked employee list, for labelling the per-area category bindings. */
|
|
13
|
+
categories?: ListCategory[];
|
|
14
|
+
shifts?: ShiftResponse[];
|
|
15
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export interface ShiftPlanningPolicy {
|
|
2
|
+
daytime: { start: string; end: string };
|
|
3
|
+
nighttime: { start: string; end: string };
|
|
4
|
+
maximumConsecutiveWorkingDays: { enabled: boolean; days: number };
|
|
5
|
+
maximumDailyWorkMinutes: { enabled: boolean; minutes: number };
|
|
6
|
+
minimumRest: { enabled: boolean; minutes: number };
|
|
7
|
+
breaks: {
|
|
8
|
+
enabled: boolean;
|
|
9
|
+
maximumContinuousWorkMinutes: number;
|
|
10
|
+
minimumQualifyingBreakMinutes: number;
|
|
11
|
+
requirements: Array<{ afterWorkMinutes: number; minimumTotalBreakMinutes: number }>;
|
|
12
|
+
};
|
|
13
|
+
absenceEnforcement: boolean;
|
|
14
|
+
}
|