@lilaquadrat/interfaces 1.56.0 → 2.0.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 +22 -0
- package/lib/cjs/AccessLimitDoc.d.ts +12 -0
- package/lib/cjs/AllocationHoursInput.d.ts +4 -0
- package/lib/cjs/AllocationIdParams.d.ts +4 -0
- package/lib/cjs/AllocationParams.d.ts +4 -0
- package/lib/cjs/AllocationQuery.d.ts +3 -0
- package/lib/cjs/Auth0ProjectSettings.d.ts +4 -0
- package/lib/cjs/BookingWindow.d.ts +4 -0
- package/lib/cjs/Cart.d.ts +2 -0
- package/lib/cjs/CategoryBookedTime.d.ts +5 -0
- package/lib/cjs/ConversationResponse.d.ts +6 -0
- package/lib/cjs/CoverageAllocation.d.ts +7 -0
- package/lib/cjs/Endpoints.d.ts +21 -0
- package/lib/cjs/Environment.d.ts +18 -0
- package/lib/cjs/EnvironmentAuth.d.ts +6 -0
- package/lib/cjs/EnvironmentAuthKeycloak.d.ts +19 -0
- package/lib/cjs/FrontendProject.d.ts +15 -0
- package/lib/cjs/GenericData.d.ts +3 -2
- package/lib/cjs/GenericDataSingle.d.ts +1 -0
- package/lib/cjs/HistorySeenKey.d.ts +7 -0
- package/lib/cjs/IdCounter.d.ts +12 -0
- package/lib/cjs/ImmutableErrorKeys.d.ts +1 -0
- package/lib/cjs/List.d.ts +5 -0
- package/lib/cjs/ListPlanningParticipant.d.ts +18 -0
- package/lib/cjs/MemberShiftFilters.d.ts +1 -0
- package/lib/cjs/Participant.d.ts +27 -0
- package/lib/cjs/ParticipantRole.d.ts +1 -0
- package/lib/cjs/ParticipantState.d.ts +1 -0
- package/lib/cjs/ParticipantUser.d.ts +27 -0
- package/lib/cjs/PaymentProviderBase.d.ts +17 -0
- package/lib/cjs/PlanCoveragePreparation.d.ts +20 -0
- package/lib/cjs/PlanningParticipantsResult.d.ts +12 -0
- package/lib/cjs/Project.d.ts +27 -1
- package/lib/cjs/ProjectAnalytics.d.ts +3 -0
- package/lib/cjs/ProjectAnalyticsGoogle.d.ts +11 -0
- package/lib/cjs/ProjectAnalyticsInternal.d.ts +3 -0
- package/lib/cjs/ProjectHead.d.ts +19 -0
- package/lib/cjs/ProjectIdParams.d.ts +4 -0
- package/lib/cjs/ProjectLogin.d.ts +3 -0
- package/lib/cjs/ProjectParams.d.ts +4 -0
- package/lib/cjs/ProjectPayment.d.ts +7 -0
- package/lib/cjs/ProjectPwa.d.ts +21 -0
- package/lib/cjs/ProjectPwaIcon.d.ts +15 -0
- package/lib/cjs/ProjectSiteParams.d.ts +4 -0
- package/lib/cjs/Publish.d.ts +1 -0
- package/lib/cjs/RenderContext.d.ts +2 -10
- package/lib/cjs/Right.d.ts +1 -0
- package/lib/cjs/ScorableParticipant.d.ts +5 -0
- package/lib/cjs/ShiftAutofillResult.d.ts +6 -0
- package/lib/cjs/ShiftFillCandidate.d.ts +10 -0
- package/lib/cjs/ShiftFillPolicy.d.ts +8 -0
- package/lib/cjs/ShiftFillResult.d.ts +11 -0
- package/lib/cjs/ShiftFillTarget.d.ts +10 -0
- package/lib/cjs/ShiftPlan.d.ts +2 -0
- package/lib/cjs/ShiftPlanChangeInput.d.ts +1 -0
- package/lib/cjs/ShiftPlanCreateInput.d.ts +1 -0
- package/lib/cjs/ShiftPlanSummary.d.ts +2 -0
- package/lib/cjs/ShiftReportContextOptions.d.ts +9 -0
- package/lib/cjs/TimeTrackingCategory.d.ts +6 -0
- package/lib/cjs/TimeTrackingMode.d.ts +1 -0
- package/lib/cjs/TimeTrackingProject.d.ts +15 -0
- package/lib/cjs/TimeTrackingProjectAllocation.d.ts +8 -0
- package/lib/cjs/TimeTrackingProjectAllocationInput.d.ts +2 -0
- package/lib/cjs/TimeTrackingProjectAllocationUsage.d.ts +8 -0
- package/lib/cjs/TimeTrackingProjectInput.d.ts +2 -0
- package/lib/cjs/TimeTrackingProjectListQuery.d.ts +5 -0
- package/lib/cjs/TimeTrackingProjectParams.d.ts +4 -0
- package/lib/cjs/Tracker.d.ts +7 -2
- package/lib/cjs/TrackerBooking.d.ts +25 -0
- package/lib/cjs/TrackerBookingShift.d.ts +14 -0
- package/lib/cjs/TrackerBookingsQuery.d.ts +4 -0
- package/lib/cjs/TrackerCategoriesParams.d.ts +4 -0
- package/lib/cjs/TrackerDailyLimitGroup.d.ts +7 -0
- package/lib/cjs/TrackerDailyLimitInput.d.ts +8 -0
- package/lib/cjs/TrackerDayParams.d.ts +4 -0
- package/lib/cjs/TrackerDayQuery.d.ts +4 -0
- package/lib/cjs/TrackerListQuery.d.ts +5 -0
- package/lib/cjs/TrackerShiftBooking.d.ts +18 -0
- package/lib/cjs/TrackerStatistics.d.ts +10 -5
- package/lib/cjs/TrackerStatisticsBucket.d.ts +13 -0
- package/lib/cjs/TrackerStatisticsQuery.d.ts +7 -0
- package/lib/cjs/TrackerStatisticsRange.d.ts +6 -0
- package/lib/cjs/TrackerTimeSum.d.ts +4 -0
- package/lib/cjs/TrackerUserQuery.d.ts +4 -0
- package/lib/cjs/VerifyTokenOptions.d.ts +8 -0
- package/lib/cjs/WorkingAuth.d.ts +3 -0
- package/lib/cjs/WorkingAuthAuth0.d.ts +7 -0
- package/lib/cjs/WorkingAuthKeycloak.d.ts +7 -0
- package/lib/cjs/WorkingContext.d.ts +52 -0
- package/lib/cjs/index.d.ts +73 -0
- package/lib/esm/AccessLimitDoc.d.ts +12 -0
- package/lib/esm/AccessLimitDoc.js +2 -0
- package/lib/esm/AccessLimitDoc.js.map +1 -0
- package/lib/esm/AllocationHoursInput.d.ts +4 -0
- package/lib/esm/AllocationHoursInput.js +2 -0
- package/lib/esm/AllocationHoursInput.js.map +1 -0
- package/lib/esm/AllocationIdParams.d.ts +4 -0
- package/lib/esm/AllocationIdParams.js +2 -0
- package/lib/esm/AllocationIdParams.js.map +1 -0
- package/lib/esm/AllocationParams.d.ts +4 -0
- package/lib/esm/AllocationParams.js +2 -0
- package/lib/esm/AllocationParams.js.map +1 -0
- package/lib/esm/AllocationQuery.d.ts +3 -0
- package/lib/esm/AllocationQuery.js +2 -0
- package/lib/esm/AllocationQuery.js.map +1 -0
- package/lib/esm/Auth0ProjectSettings.d.ts +4 -0
- package/lib/esm/BookingWindow.d.ts +4 -0
- package/lib/esm/BookingWindow.js +2 -0
- package/lib/esm/BookingWindow.js.map +1 -0
- package/lib/esm/Cart.d.ts +2 -0
- package/lib/esm/CategoryBookedTime.d.ts +5 -0
- package/lib/esm/CategoryBookedTime.js +2 -0
- package/lib/esm/CategoryBookedTime.js.map +1 -0
- package/lib/esm/ConversationResponse.d.ts +6 -0
- package/lib/esm/ConversationResponse.js +2 -0
- package/lib/esm/ConversationResponse.js.map +1 -0
- package/lib/esm/CoverageAllocation.d.ts +7 -0
- package/lib/esm/CoverageAllocation.js +2 -0
- package/lib/esm/CoverageAllocation.js.map +1 -0
- package/lib/esm/Endpoints.d.ts +21 -0
- package/lib/esm/Endpoints.js +2 -0
- package/lib/esm/Endpoints.js.map +1 -0
- package/lib/esm/Environment.d.ts +18 -0
- package/lib/esm/Environment.js +2 -0
- package/lib/esm/Environment.js.map +1 -0
- package/lib/esm/EnvironmentAuth.d.ts +6 -0
- package/lib/esm/EnvironmentAuth.js +2 -0
- package/lib/esm/EnvironmentAuth.js.map +1 -0
- package/lib/esm/EnvironmentAuthKeycloak.d.ts +19 -0
- package/lib/esm/EnvironmentAuthKeycloak.js +2 -0
- package/lib/esm/EnvironmentAuthKeycloak.js.map +1 -0
- package/lib/esm/FrontendProject.d.ts +15 -0
- package/lib/esm/FrontendProject.js +2 -0
- package/lib/esm/FrontendProject.js.map +1 -0
- package/lib/esm/GenericData.d.ts +3 -2
- package/lib/esm/GenericDataSingle.d.ts +1 -0
- package/lib/esm/HistorySeenKey.d.ts +7 -0
- package/lib/esm/HistorySeenKey.js +2 -0
- package/lib/esm/HistorySeenKey.js.map +1 -0
- package/lib/esm/IdCounter.d.ts +12 -0
- package/lib/esm/IdCounter.js +2 -0
- package/lib/esm/IdCounter.js.map +1 -0
- package/lib/esm/ImmutableErrorKeys.d.ts +1 -0
- package/lib/esm/ImmutableErrorKeys.js +2 -0
- package/lib/esm/ImmutableErrorKeys.js.map +1 -0
- package/lib/esm/List.d.ts +5 -0
- package/lib/esm/ListPlanningParticipant.d.ts +18 -0
- package/lib/esm/ListPlanningParticipant.js +2 -0
- package/lib/esm/ListPlanningParticipant.js.map +1 -0
- package/lib/esm/MemberShiftFilters.d.ts +1 -0
- package/lib/esm/Participant.d.ts +27 -0
- package/lib/esm/Participant.js +2 -0
- package/lib/esm/Participant.js.map +1 -0
- package/lib/esm/ParticipantRole.d.ts +1 -0
- package/lib/esm/ParticipantRole.js +2 -0
- package/lib/esm/ParticipantRole.js.map +1 -0
- package/lib/esm/ParticipantState.d.ts +1 -0
- package/lib/esm/ParticipantState.js +2 -0
- package/lib/esm/ParticipantState.js.map +1 -0
- package/lib/esm/ParticipantUser.d.ts +27 -0
- package/lib/esm/ParticipantUser.js +2 -0
- package/lib/esm/ParticipantUser.js.map +1 -0
- package/lib/esm/PaymentProviderBase.d.ts +17 -0
- package/lib/esm/PaymentProviderBase.js +2 -0
- package/lib/esm/PaymentProviderBase.js.map +1 -0
- package/lib/esm/PlanCoveragePreparation.d.ts +20 -0
- package/lib/esm/PlanCoveragePreparation.js +2 -0
- package/lib/esm/PlanCoveragePreparation.js.map +1 -0
- package/lib/esm/PlanningParticipantsResult.d.ts +12 -0
- package/lib/esm/PlanningParticipantsResult.js +2 -0
- package/lib/esm/PlanningParticipantsResult.js.map +1 -0
- package/lib/esm/Project.d.ts +27 -1
- package/lib/esm/ProjectAnalytics.d.ts +3 -0
- package/lib/esm/ProjectAnalytics.js +2 -0
- package/lib/esm/ProjectAnalytics.js.map +1 -0
- package/lib/esm/ProjectAnalyticsGoogle.d.ts +11 -0
- package/lib/esm/ProjectAnalyticsGoogle.js +2 -0
- package/lib/esm/ProjectAnalyticsGoogle.js.map +1 -0
- package/lib/esm/ProjectAnalyticsInternal.d.ts +3 -0
- package/lib/esm/ProjectAnalyticsInternal.js +2 -0
- package/lib/esm/ProjectAnalyticsInternal.js.map +1 -0
- package/lib/esm/ProjectHead.d.ts +19 -0
- package/lib/esm/ProjectHead.js +2 -0
- package/lib/esm/ProjectHead.js.map +1 -0
- package/lib/esm/ProjectIdParams.d.ts +4 -0
- package/lib/esm/ProjectIdParams.js +2 -0
- package/lib/esm/ProjectIdParams.js.map +1 -0
- package/lib/esm/ProjectLogin.d.ts +3 -0
- package/lib/esm/ProjectLogin.js +2 -0
- package/lib/esm/ProjectLogin.js.map +1 -0
- package/lib/esm/ProjectParams.d.ts +4 -0
- package/lib/esm/ProjectParams.js +2 -0
- package/lib/esm/ProjectParams.js.map +1 -0
- package/lib/esm/ProjectPayment.d.ts +7 -0
- package/lib/esm/ProjectPayment.js +2 -0
- package/lib/esm/ProjectPayment.js.map +1 -0
- package/lib/esm/ProjectPwa.d.ts +21 -0
- package/lib/esm/ProjectPwa.js +2 -0
- package/lib/esm/ProjectPwa.js.map +1 -0
- package/lib/esm/ProjectPwaIcon.d.ts +15 -0
- package/lib/esm/ProjectPwaIcon.js +2 -0
- package/lib/esm/ProjectPwaIcon.js.map +1 -0
- package/lib/esm/ProjectSiteParams.d.ts +4 -0
- package/lib/esm/ProjectSiteParams.js +2 -0
- package/lib/esm/ProjectSiteParams.js.map +1 -0
- package/lib/esm/Publish.d.ts +1 -0
- package/lib/esm/RenderContext.d.ts +2 -10
- package/lib/esm/Right.d.ts +1 -0
- package/lib/esm/Right.js +2 -0
- package/lib/esm/Right.js.map +1 -0
- package/lib/esm/ScorableParticipant.d.ts +5 -0
- package/lib/esm/ScorableParticipant.js +2 -0
- package/lib/esm/ScorableParticipant.js.map +1 -0
- package/lib/esm/ShiftAutofillResult.d.ts +6 -0
- package/lib/esm/ShiftAutofillResult.js +2 -0
- package/lib/esm/ShiftAutofillResult.js.map +1 -0
- package/lib/esm/ShiftFillCandidate.d.ts +10 -0
- package/lib/esm/ShiftFillCandidate.js +2 -0
- package/lib/esm/ShiftFillCandidate.js.map +1 -0
- package/lib/esm/ShiftFillPolicy.d.ts +8 -0
- package/lib/esm/ShiftFillPolicy.js +2 -0
- package/lib/esm/ShiftFillPolicy.js.map +1 -0
- package/lib/esm/ShiftFillResult.d.ts +11 -0
- package/lib/esm/ShiftFillResult.js +2 -0
- package/lib/esm/ShiftFillResult.js.map +1 -0
- package/lib/esm/ShiftFillTarget.d.ts +10 -0
- package/lib/esm/ShiftFillTarget.js +2 -0
- package/lib/esm/ShiftFillTarget.js.map +1 -0
- package/lib/esm/ShiftPlan.d.ts +2 -0
- package/lib/esm/ShiftPlanChangeInput.d.ts +1 -0
- package/lib/esm/ShiftPlanCreateInput.d.ts +1 -0
- package/lib/esm/ShiftPlanSummary.d.ts +2 -0
- package/lib/esm/ShiftReportContextOptions.d.ts +9 -0
- package/lib/esm/ShiftReportContextOptions.js +2 -0
- package/lib/esm/ShiftReportContextOptions.js.map +1 -0
- package/lib/esm/TimeTrackingCategory.d.ts +6 -0
- package/lib/esm/TimeTrackingCategory.js +2 -0
- package/lib/esm/TimeTrackingCategory.js.map +1 -0
- package/lib/esm/TimeTrackingMode.d.ts +1 -0
- package/lib/esm/TimeTrackingMode.js +2 -0
- package/lib/esm/TimeTrackingMode.js.map +1 -0
- package/lib/esm/TimeTrackingProject.d.ts +15 -0
- package/lib/esm/TimeTrackingProject.js +2 -0
- package/lib/esm/TimeTrackingProject.js.map +1 -0
- package/lib/esm/TimeTrackingProjectAllocation.d.ts +8 -0
- package/lib/esm/TimeTrackingProjectAllocation.js +2 -0
- package/lib/esm/TimeTrackingProjectAllocation.js.map +1 -0
- package/lib/esm/TimeTrackingProjectAllocationInput.d.ts +2 -0
- package/lib/esm/TimeTrackingProjectAllocationInput.js +2 -0
- package/lib/esm/TimeTrackingProjectAllocationInput.js.map +1 -0
- package/lib/esm/TimeTrackingProjectAllocationUsage.d.ts +8 -0
- package/lib/esm/TimeTrackingProjectAllocationUsage.js +2 -0
- package/lib/esm/TimeTrackingProjectAllocationUsage.js.map +1 -0
- package/lib/esm/TimeTrackingProjectInput.d.ts +2 -0
- package/lib/esm/TimeTrackingProjectInput.js +2 -0
- package/lib/esm/TimeTrackingProjectInput.js.map +1 -0
- package/lib/esm/TimeTrackingProjectListQuery.d.ts +5 -0
- package/lib/esm/TimeTrackingProjectListQuery.js +2 -0
- package/lib/esm/TimeTrackingProjectListQuery.js.map +1 -0
- package/lib/esm/TimeTrackingProjectParams.d.ts +4 -0
- package/lib/esm/TimeTrackingProjectParams.js +2 -0
- package/lib/esm/TimeTrackingProjectParams.js.map +1 -0
- package/lib/esm/Tracker.d.ts +7 -2
- package/lib/esm/TrackerBooking.d.ts +25 -0
- package/lib/esm/TrackerBooking.js +2 -0
- package/lib/esm/TrackerBooking.js.map +1 -0
- package/lib/esm/TrackerBookingShift.d.ts +14 -0
- package/lib/esm/TrackerBookingShift.js +2 -0
- package/lib/esm/TrackerBookingShift.js.map +1 -0
- package/lib/esm/TrackerBookingsQuery.d.ts +4 -0
- package/lib/esm/TrackerBookingsQuery.js +2 -0
- package/lib/esm/TrackerBookingsQuery.js.map +1 -0
- package/lib/esm/TrackerCategoriesParams.d.ts +4 -0
- package/lib/esm/TrackerCategoriesParams.js +2 -0
- package/lib/esm/TrackerCategoriesParams.js.map +1 -0
- package/lib/esm/TrackerDailyLimitGroup.d.ts +7 -0
- package/lib/esm/TrackerDailyLimitGroup.js +2 -0
- package/lib/esm/TrackerDailyLimitGroup.js.map +1 -0
- package/lib/esm/TrackerDailyLimitInput.d.ts +8 -0
- package/lib/esm/TrackerDailyLimitInput.js +2 -0
- package/lib/esm/TrackerDailyLimitInput.js.map +1 -0
- package/lib/esm/TrackerDayParams.d.ts +4 -0
- package/lib/esm/TrackerDayParams.js +2 -0
- package/lib/esm/TrackerDayParams.js.map +1 -0
- package/lib/esm/TrackerDayQuery.d.ts +4 -0
- package/lib/esm/TrackerDayQuery.js +2 -0
- package/lib/esm/TrackerDayQuery.js.map +1 -0
- package/lib/esm/TrackerListQuery.d.ts +5 -0
- package/lib/esm/TrackerListQuery.js +2 -0
- package/lib/esm/TrackerListQuery.js.map +1 -0
- package/lib/esm/TrackerShiftBooking.d.ts +18 -0
- package/lib/esm/TrackerShiftBooking.js +2 -0
- package/lib/esm/TrackerShiftBooking.js.map +1 -0
- package/lib/esm/TrackerStatistics.d.ts +10 -5
- package/lib/esm/TrackerStatisticsBucket.d.ts +13 -0
- package/lib/esm/TrackerStatisticsBucket.js +2 -0
- package/lib/esm/TrackerStatisticsBucket.js.map +1 -0
- package/lib/esm/TrackerStatisticsQuery.d.ts +7 -0
- package/lib/esm/TrackerStatisticsQuery.js +2 -0
- package/lib/esm/TrackerStatisticsQuery.js.map +1 -0
- package/lib/esm/TrackerStatisticsRange.d.ts +6 -0
- package/lib/esm/TrackerStatisticsRange.js +2 -0
- package/lib/esm/TrackerStatisticsRange.js.map +1 -0
- package/lib/esm/TrackerTimeSum.d.ts +4 -0
- package/lib/esm/TrackerTimeSum.js +2 -0
- package/lib/esm/TrackerTimeSum.js.map +1 -0
- package/lib/esm/TrackerUserQuery.d.ts +4 -0
- package/lib/esm/TrackerUserQuery.js +2 -0
- package/lib/esm/TrackerUserQuery.js.map +1 -0
- package/lib/esm/VerifyTokenOptions.d.ts +8 -0
- package/lib/esm/VerifyTokenOptions.js +2 -0
- package/lib/esm/VerifyTokenOptions.js.map +1 -0
- package/lib/esm/WorkingAuth.d.ts +3 -0
- package/lib/esm/WorkingAuth.js +2 -0
- package/lib/esm/WorkingAuth.js.map +1 -0
- package/lib/esm/WorkingAuthAuth0.d.ts +7 -0
- package/lib/esm/WorkingAuthAuth0.js +2 -0
- package/lib/esm/WorkingAuthAuth0.js.map +1 -0
- package/lib/esm/WorkingAuthKeycloak.d.ts +7 -0
- package/lib/esm/WorkingAuthKeycloak.js +2 -0
- package/lib/esm/WorkingAuthKeycloak.js.map +1 -0
- package/lib/esm/WorkingContext.d.ts +52 -0
- package/lib/esm/WorkingContext.js +2 -0
- package/lib/esm/WorkingContext.js.map +1 -0
- package/lib/esm/index.d.ts +73 -0
- package/package.json +1 -1
- package/src/AccessLimitDoc.ts +6 -0
- package/src/AllocationHoursInput.ts +4 -0
- package/src/AllocationIdParams.ts +5 -0
- package/src/AllocationParams.ts +5 -0
- package/src/AllocationQuery.ts +3 -0
- package/src/Auth0ProjectSettings.ts +7 -1
- package/src/BookingWindow.ts +4 -0
- package/src/Cart.ts +3 -0
- package/src/CategoryBookedTime.ts +5 -0
- package/src/ConversationResponse.ts +5 -0
- package/src/CoverageAllocation.ts +8 -0
- package/src/Endpoints.ts +26 -0
- package/src/Environment.ts +23 -0
- package/src/EnvironmentAuth.ts +7 -0
- package/src/EnvironmentAuthKeycloak.ts +24 -0
- package/src/FrontendProject.ts +19 -0
- package/src/GenericData.ts +3 -2
- package/src/GenericDataSingle.ts +1 -0
- package/src/HistorySeenKey.ts +7 -0
- package/src/IdCounter.ts +13 -0
- package/src/ImmutableErrorKeys.ts +1 -0
- package/src/List.ts +6 -0
- package/src/ListPlanningParticipant.ts +19 -0
- package/src/MemberShiftFilters.ts +1 -0
- package/src/Participant.ts +28 -0
- package/src/ParticipantRole.ts +1 -0
- package/src/ParticipantState.ts +1 -0
- package/src/ParticipantUser.ts +28 -0
- package/src/PaymentProviderBase.ts +22 -0
- package/src/PlanCoveragePreparation.ts +21 -0
- package/src/PlanningParticipantsResult.ts +13 -0
- package/src/Project.ts +34 -1
- package/src/ProjectAnalytics.ts +4 -0
- package/src/ProjectAnalyticsGoogle.ts +15 -0
- package/src/ProjectAnalyticsInternal.ts +5 -0
- package/src/ProjectHead.ts +25 -0
- package/src/ProjectIdParams.ts +5 -0
- package/src/ProjectLogin.ts +5 -0
- package/src/ProjectParams.ts +4 -0
- package/src/ProjectPayment.ts +10 -0
- package/src/ProjectPwa.ts +36 -0
- package/src/ProjectPwaIcon.ts +20 -0
- package/src/ProjectSiteParams.ts +5 -0
- package/src/Publish.ts +1 -0
- package/src/RenderContext.ts +2 -10
- package/src/Right.ts +1 -0
- package/src/ScorableParticipant.ts +6 -0
- package/src/ShiftAutofillResult.ts +7 -0
- package/src/ShiftFillCandidate.ts +11 -0
- package/src/ShiftFillPolicy.ts +8 -0
- package/src/ShiftFillResult.ts +12 -0
- package/src/ShiftFillTarget.ts +11 -0
- package/src/ShiftPlan.ts +2 -0
- package/src/ShiftPlanChangeInput.ts +1 -0
- package/src/ShiftPlanCreateInput.ts +1 -0
- package/src/ShiftPlanSummary.ts +2 -0
- package/src/ShiftReportContextOptions.ts +10 -0
- package/src/TimeTrackingCategory.ts +8 -0
- package/src/TimeTrackingMode.ts +1 -0
- package/src/TimeTrackingProject.ts +18 -0
- package/src/TimeTrackingProjectAllocation.ts +10 -0
- package/src/TimeTrackingProjectAllocationInput.ts +3 -0
- package/src/TimeTrackingProjectAllocationUsage.ts +10 -0
- package/src/TimeTrackingProjectInput.ts +3 -0
- package/src/TimeTrackingProjectListQuery.ts +5 -0
- package/src/TimeTrackingProjectParams.ts +5 -0
- package/src/Tracker.ts +9 -3
- package/src/TrackerBooking.ts +25 -0
- package/src/TrackerBookingShift.ts +14 -0
- package/src/TrackerBookingsQuery.ts +4 -0
- package/src/TrackerCategoriesParams.ts +5 -0
- package/src/TrackerDailyLimitGroup.ts +7 -0
- package/src/TrackerDailyLimitInput.ts +8 -0
- package/src/TrackerDayParams.ts +5 -0
- package/src/TrackerDayQuery.ts +5 -0
- package/src/TrackerListQuery.ts +6 -0
- package/src/TrackerShiftBooking.ts +18 -0
- package/src/TrackerStatistics.ts +10 -5
- package/src/TrackerStatisticsBucket.ts +13 -0
- package/src/TrackerStatisticsQuery.ts +8 -0
- package/src/TrackerStatisticsRange.ts +6 -0
- package/src/TrackerTimeSum.ts +4 -0
- package/src/TrackerUserQuery.ts +4 -0
- package/src/VerifyTokenOptions.ts +8 -0
- package/src/WorkingAuth.ts +4 -0
- package/src/WorkingAuthAuth0.ts +6 -0
- package/src/WorkingAuthKeycloak.ts +6 -0
- package/src/WorkingContext.ts +64 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import type { WithId } from 'mongodb';
|
|
2
|
+
import type { Shift } from './Shift';
|
|
3
|
+
import type { ShiftCoverage } from './ShiftCoverage';
|
|
4
|
+
|
|
5
|
+
export interface ShiftFillResult {
|
|
6
|
+
coverage: ShiftCoverage[];
|
|
7
|
+
fillable: boolean;
|
|
8
|
+
/** False when stop-on-unfillable ended the run before every target was evaluated. */
|
|
9
|
+
complete: boolean;
|
|
10
|
+
/** The targets after allocation; unchanged shifts keep their persisted assignments. */
|
|
11
|
+
shifts: WithId<Shift>[];
|
|
12
|
+
}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import type { WithId } from 'mongodb';
|
|
2
|
+
import type { Shift } from './Shift';
|
|
3
|
+
import type { StructureCondition } from './StructureCondition';
|
|
4
|
+
import type { ShiftFillCandidate } from './ShiftFillCandidate';
|
|
5
|
+
|
|
6
|
+
export interface ShiftFillTarget {
|
|
7
|
+
shift: WithId<Shift>;
|
|
8
|
+
conditions: StructureCondition[];
|
|
9
|
+
/** Ranked pool; unfit candidates are last but may still fill a shift as a fallback. */
|
|
10
|
+
candidates: ShiftFillCandidate[];
|
|
11
|
+
}
|
package/src/ShiftPlan.ts
CHANGED
|
@@ -11,6 +11,8 @@ export interface ShiftPlan {
|
|
|
11
11
|
list?: ObjectId;
|
|
12
12
|
name: string;
|
|
13
13
|
timeZone: string;
|
|
14
|
+
/** Publication state; documents created before the field existed read as `draft`. */
|
|
15
|
+
state?: 'draft' | 'publish';
|
|
14
16
|
settingsOverrides: ShiftPlanningPolicyOverrides;
|
|
15
17
|
/** One entry per work area used by the plan; binds employee-list categories to that area's shifts. */
|
|
16
18
|
workAreaCategories?: ShiftPlanWorkArea[];
|
|
@@ -8,6 +8,7 @@ export interface ShiftPlanChangeInput {
|
|
|
8
8
|
list?: ObjectId;
|
|
9
9
|
name: string;
|
|
10
10
|
timeZone: string;
|
|
11
|
+
state?: 'draft' | 'publish';
|
|
11
12
|
settingsOverrides: ShiftPlanningPolicyOverrides;
|
|
12
13
|
workAreaCategories?: ShiftPlanWorkArea[];
|
|
13
14
|
defaultParticipantState?: ListParticipants['state'] | null;
|
|
@@ -8,6 +8,7 @@ export interface ShiftPlanCreateInput {
|
|
|
8
8
|
list?: ObjectId;
|
|
9
9
|
name: string;
|
|
10
10
|
timeZone: string;
|
|
11
|
+
state?: 'draft' | 'publish';
|
|
11
12
|
settingsOverrides?: ShiftPlanningPolicyOverrides;
|
|
12
13
|
workAreaCategories?: ShiftPlanWorkArea[];
|
|
13
14
|
defaultParticipantState?: ListParticipants['state'] | null;
|
package/src/ShiftPlanSummary.ts
CHANGED
|
@@ -4,6 +4,8 @@ import type { ObjectId } from 'mongodb';
|
|
|
4
4
|
export interface ShiftPlanSummary {
|
|
5
5
|
_id?: ObjectId;
|
|
6
6
|
name: string;
|
|
7
|
+
/** Publication state, defaulted to `draft` for documents saved before the field existed. */
|
|
8
|
+
state: 'draft' | 'publish';
|
|
7
9
|
/** Linked employee list identity, resolved to its name; null when the plan has no list. */
|
|
8
10
|
list: { _id: ObjectId; name: string } | null;
|
|
9
11
|
/** Total days of the plan; the list endpoint does not ship the day documents. */
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ObjectId, WithId } from 'mongodb';
|
|
2
|
+
import type { Shift } from './Shift';
|
|
3
|
+
import type { PlanCoveragePreparation } from './PlanCoveragePreparation';
|
|
4
|
+
|
|
5
|
+
export interface ShiftReportContextOptions {
|
|
6
|
+
replacement?: WithId<Shift>;
|
|
7
|
+
plan?: ObjectId;
|
|
8
|
+
schedules?: WithId<Shift>[];
|
|
9
|
+
preparation?: PlanCoveragePreparation;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export type TimeTrackingMode = 'hours' | 'fromTo' | 'multiDay' | 'shifts';
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { TimeTrackingCategory } from './TimeTrackingCategory';
|
|
2
|
+
import type { TimeTrackingMode } from './TimeTrackingMode';
|
|
3
|
+
|
|
4
|
+
export interface TimeTrackingProject {
|
|
5
|
+
|
|
6
|
+
id: string;
|
|
7
|
+
company: string;
|
|
8
|
+
project: string;
|
|
9
|
+
name: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
maximumHours?: number;
|
|
12
|
+
maximumHoursPerDay?: number;
|
|
13
|
+
modes: TimeTrackingMode;
|
|
14
|
+
shiftPlan?: string;
|
|
15
|
+
/** categories partition the budget; a plan that links a shift plan books on shifts and needs none */
|
|
16
|
+
categories?: TimeTrackingCategory[];
|
|
17
|
+
|
|
18
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/** how much of the hours allocated to a person in one category the person has booked so far */
|
|
2
|
+
export interface TimeTrackingProjectAllocationUsage {
|
|
3
|
+
|
|
4
|
+
category: string;
|
|
5
|
+
/** the allocated hours, missing when the person is allocated without a limit */
|
|
6
|
+
hours?: number;
|
|
7
|
+
/** everything the person booked on the category of the plan, in milliseconds */
|
|
8
|
+
bookedTime: number;
|
|
9
|
+
|
|
10
|
+
}
|
package/src/Tracker.ts
CHANGED
|
@@ -1,15 +1,21 @@
|
|
|
1
1
|
import { Me } from "./Me"
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
/** the grouping key of a time entry: a shift id for shift bookings, a category id otherwise */
|
|
4
|
+
export type TrackerGroup = string
|
|
3
5
|
|
|
4
6
|
export interface Tracker {
|
|
5
7
|
indexedKey?: string,
|
|
6
8
|
description?: string,
|
|
7
|
-
category
|
|
9
|
+
/** legacy `worktime`|`call` or a plan category id; absent when the entry books on a shift */
|
|
10
|
+
category?: TrackerGroup,
|
|
8
11
|
startTime?: Date,
|
|
9
12
|
endTime?: Date,
|
|
10
13
|
currentTime?: number
|
|
11
14
|
mode: 'stopwatch' | 'timeframe',
|
|
12
15
|
user?: Pick<Me, 'lastname' | 'prename' | 'id' | 'email'> | string
|
|
13
16
|
company: string,
|
|
14
|
-
project: string
|
|
17
|
+
project: string,
|
|
18
|
+
timeTrackingProject: string,
|
|
19
|
+
shift?: string,
|
|
20
|
+
customer?: string,
|
|
15
21
|
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One time entry of a time tracking project as the plan view lists it. A booking carries either a
|
|
3
|
+
* category (plan categories, legacy `worktime`|`call`) or a shift, never both for new entries.
|
|
4
|
+
*/
|
|
5
|
+
export interface TrackerBooking {
|
|
6
|
+
/** tracker entry ObjectId as hex string, the id the single entry screen edits and removes */
|
|
7
|
+
id: string;
|
|
8
|
+
/** plan category id or legacy `worktime`|`call`; absent when the entry books on a shift */
|
|
9
|
+
category?: string;
|
|
10
|
+
/** shift ObjectId as hex string; absent when the entry books on a category */
|
|
11
|
+
shift?: string;
|
|
12
|
+
description?: string;
|
|
13
|
+
/** the account that booked the entry; names are absent when the account has no profile */
|
|
14
|
+
user: {
|
|
15
|
+
id: string;
|
|
16
|
+
prename?: string;
|
|
17
|
+
lastname?: string;
|
|
18
|
+
};
|
|
19
|
+
/** ISO instant */
|
|
20
|
+
startTime?: string;
|
|
21
|
+
/** ISO instant */
|
|
22
|
+
endTime?: string;
|
|
23
|
+
/** milliseconds */
|
|
24
|
+
currentTime: number;
|
|
25
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A shift one person may book tracked time on. The tracker app owns this projection so a member
|
|
3
|
+
* does not need `shifts:read`: the server resolves the caller's customer and only returns the
|
|
4
|
+
* shifts that customer is assigned to.
|
|
5
|
+
*/
|
|
6
|
+
export interface TrackerBookingShift {
|
|
7
|
+
/** shift ObjectId as hex string, the value a tracker entry stores as `shift` */
|
|
8
|
+
_id: string;
|
|
9
|
+
title: string;
|
|
10
|
+
/** ISO instant, the shift's planned start */
|
|
11
|
+
start: string;
|
|
12
|
+
/** ISO instant, the shift's planned end */
|
|
13
|
+
end: string;
|
|
14
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface TrackerDailyLimitInput {
|
|
2
|
+
timeTrackingProject?: string;
|
|
3
|
+
startTime?: Date | string;
|
|
4
|
+
endTime?: Date | string;
|
|
5
|
+
currentTime?: number;
|
|
6
|
+
/** the person an admin booked the entry for, the limit then counts that person instead of the admin */
|
|
7
|
+
customer?: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* One time entry booked on a shift. The person is the shift assignment's customer, so it resolves
|
|
3
|
+
* against the shift's participants.
|
|
4
|
+
*/
|
|
5
|
+
export interface TrackerShiftBooking {
|
|
6
|
+
/** tracker entry ObjectId as hex string, the id the single entry screen edits and removes */
|
|
7
|
+
id: string;
|
|
8
|
+
/** shift ObjectId as hex string */
|
|
9
|
+
shift: string;
|
|
10
|
+
/** customer ObjectId as hex string; absent when the entry's owner has no connected customer */
|
|
11
|
+
customer?: string;
|
|
12
|
+
/** ISO instant */
|
|
13
|
+
startTime?: string;
|
|
14
|
+
/** ISO instant */
|
|
15
|
+
endTime?: string;
|
|
16
|
+
/** milliseconds */
|
|
17
|
+
currentTime: number;
|
|
18
|
+
}
|
package/src/TrackerStatistics.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import { Tracker } from "./Tracker";
|
|
1
|
+
import { Tracker, TrackerGroup } from "./Tracker";
|
|
2
2
|
|
|
3
|
+
/** the two category values plans created before categories existed recorded time under */
|
|
3
4
|
export type TrackerCategories = 'call' | 'worktime' | 'all';
|
|
4
5
|
|
|
5
6
|
export interface TrackerData {
|
|
@@ -7,13 +8,17 @@ export interface TrackerData {
|
|
|
7
8
|
time: number
|
|
8
9
|
}
|
|
9
10
|
|
|
11
|
+
/**
|
|
12
|
+
* the `categories` maps are keyed by the grouping of an entry: a shift id for shift bookings,
|
|
13
|
+
* a category id (or the legacy `worktime`|`call`) otherwise
|
|
14
|
+
*/
|
|
10
15
|
export interface TrackerStatistics {
|
|
11
16
|
count: number,
|
|
12
17
|
all: TrackerData,
|
|
13
18
|
categories: {
|
|
14
|
-
all?: Partial<Record<
|
|
15
|
-
byMonth?: Partial<Record<string, Partial<Record<
|
|
16
|
-
byDay?: Partial<Record<string, Partial<Record<
|
|
19
|
+
all?: Partial<Record<TrackerGroup, TrackerData>>
|
|
20
|
+
byMonth?: Partial<Record<string, Partial<Record<TrackerGroup, TrackerData>>>>
|
|
21
|
+
byDay?: Partial<Record<string, Partial<Record<TrackerGroup, TrackerData>>>>
|
|
17
22
|
}
|
|
18
23
|
start: Date,
|
|
19
24
|
end: Date
|
|
@@ -21,6 +26,6 @@ export interface TrackerStatistics {
|
|
|
21
26
|
export interface TrackerStatisticsDay {
|
|
22
27
|
data: Tracker[],
|
|
23
28
|
count: number,
|
|
24
|
-
statistics: Partial<Record<
|
|
29
|
+
statistics: Partial<Record<TrackerGroup, TrackerData>>
|
|
25
30
|
date: Date;
|
|
26
31
|
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
/** the entries of one day and one group, summed up by the statistics aggregation */
|
|
2
|
+
export interface TrackerStatisticsBucket {
|
|
3
|
+
_id: {
|
|
4
|
+
/** `YYYY-MM-DD`, absent for an entry without a start */
|
|
5
|
+
day?: string | null;
|
|
6
|
+
/** the shift of a shift booking, the category otherwise; absent when an entry has neither */
|
|
7
|
+
group?: string | null;
|
|
8
|
+
};
|
|
9
|
+
count: number;
|
|
10
|
+
time: number;
|
|
11
|
+
first?: Date | null;
|
|
12
|
+
last?: Date | null;
|
|
13
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export interface VerifyTokenOptions {
|
|
2
|
+
/** JWKS endpoint. Defaults to process.env.JWT_URL. */
|
|
3
|
+
jwksUri?: string;
|
|
4
|
+
/** expected issuer. Defaults to process.env.JWT_ISSUER. Skipped if unset. */
|
|
5
|
+
issuer?: string;
|
|
6
|
+
/** expected audience. Skipped if unset. */
|
|
7
|
+
audience?: string;
|
|
8
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { Auth0ProjectSettings } from './Auth0ProjectSettings';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* auth0 settings the frontend needs to log in, taken from the project settings.
|
|
5
|
+
*/
|
|
6
|
+
export type WorkingAuthAuth0 = Pick<Auth0ProjectSettings, 'domain' | 'clientId' | 'audience'> & { provider: 'auth0' };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { EnvironmentAuthKeycloak } from './EnvironmentAuthKeycloak';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* keycloak settings the frontend needs to log in, taken from the environment.
|
|
5
|
+
*/
|
|
6
|
+
export type WorkingAuthKeycloak = Pick<EnvironmentAuthKeycloak, 'url' | 'realm' | 'clientId'> & { provider: 'keycloak' };
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import type { AppEditorConfiguration } from './AppEditorConfiguration';
|
|
2
|
+
import type { Cart } from './Cart';
|
|
3
|
+
import type { Content } from './Content';
|
|
4
|
+
import type { Customers } from './Customers';
|
|
5
|
+
import type { Endpoints } from './Endpoints';
|
|
6
|
+
import type { FrontendProject } from './FrontendProject';
|
|
7
|
+
import type { List } from './List';
|
|
8
|
+
import type { WorkingAuth } from './WorkingAuth';
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* the context every render and the frontend share. the project and environment settings are flat on it.
|
|
12
|
+
* the per render fields (content, layout, contextContent, recipient, list, cart) only exist during a server render.
|
|
13
|
+
*/
|
|
14
|
+
export interface WorkingContext extends FrontendProject {
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* the endpoints of the environment the project is rendered in.
|
|
18
|
+
*/
|
|
19
|
+
endpoints: Endpoints
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* only set when the project has login enabled, the provider decides where the settings come from.
|
|
23
|
+
*/
|
|
24
|
+
auth?: WorkingAuth
|
|
25
|
+
|
|
26
|
+
/**
|
|
27
|
+
* the content that is rendered, only set for a single render.
|
|
28
|
+
*/
|
|
29
|
+
content?: Content
|
|
30
|
+
|
|
31
|
+
layout?: Content
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* additional content selected in the publish method, e.g. for variables in the rendered content.
|
|
35
|
+
*/
|
|
36
|
+
contextContent?: Content[]
|
|
37
|
+
|
|
38
|
+
/**
|
|
39
|
+
* the recipient of a mail or pdf publish.
|
|
40
|
+
*/
|
|
41
|
+
recipient?: Customers
|
|
42
|
+
|
|
43
|
+
/**
|
|
44
|
+
* the list a publish was started for.
|
|
45
|
+
*/
|
|
46
|
+
list?: List
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* the cart a payment-driven publish was started for.
|
|
50
|
+
*/
|
|
51
|
+
cart?: Cart
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* editor settings without `editorUrl`, which only the studio editor needs.
|
|
55
|
+
*/
|
|
56
|
+
editor?: Omit<AppEditorConfiguration, 'editorUrl'>
|
|
57
|
+
|
|
58
|
+
tags?: string[]
|
|
59
|
+
app?: string
|
|
60
|
+
css?: string
|
|
61
|
+
cdn?: string
|
|
62
|
+
renderTarget?: 'pdf' | 'web'
|
|
63
|
+
|
|
64
|
+
}
|