@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.
Files changed (414) hide show
  1. package/CHANGELOG.md +22 -0
  2. package/lib/cjs/AccessLimitDoc.d.ts +12 -0
  3. package/lib/cjs/AllocationHoursInput.d.ts +4 -0
  4. package/lib/cjs/AllocationIdParams.d.ts +4 -0
  5. package/lib/cjs/AllocationParams.d.ts +4 -0
  6. package/lib/cjs/AllocationQuery.d.ts +3 -0
  7. package/lib/cjs/Auth0ProjectSettings.d.ts +4 -0
  8. package/lib/cjs/BookingWindow.d.ts +4 -0
  9. package/lib/cjs/Cart.d.ts +2 -0
  10. package/lib/cjs/CategoryBookedTime.d.ts +5 -0
  11. package/lib/cjs/ConversationResponse.d.ts +6 -0
  12. package/lib/cjs/CoverageAllocation.d.ts +7 -0
  13. package/lib/cjs/Endpoints.d.ts +21 -0
  14. package/lib/cjs/Environment.d.ts +18 -0
  15. package/lib/cjs/EnvironmentAuth.d.ts +6 -0
  16. package/lib/cjs/EnvironmentAuthKeycloak.d.ts +19 -0
  17. package/lib/cjs/FrontendProject.d.ts +15 -0
  18. package/lib/cjs/GenericData.d.ts +3 -2
  19. package/lib/cjs/GenericDataSingle.d.ts +1 -0
  20. package/lib/cjs/HistorySeenKey.d.ts +7 -0
  21. package/lib/cjs/IdCounter.d.ts +12 -0
  22. package/lib/cjs/ImmutableErrorKeys.d.ts +1 -0
  23. package/lib/cjs/List.d.ts +5 -0
  24. package/lib/cjs/ListPlanningParticipant.d.ts +18 -0
  25. package/lib/cjs/MemberShiftFilters.d.ts +1 -0
  26. package/lib/cjs/Participant.d.ts +27 -0
  27. package/lib/cjs/ParticipantRole.d.ts +1 -0
  28. package/lib/cjs/ParticipantState.d.ts +1 -0
  29. package/lib/cjs/ParticipantUser.d.ts +27 -0
  30. package/lib/cjs/PaymentProviderBase.d.ts +17 -0
  31. package/lib/cjs/PlanCoveragePreparation.d.ts +20 -0
  32. package/lib/cjs/PlanningParticipantsResult.d.ts +12 -0
  33. package/lib/cjs/Project.d.ts +27 -1
  34. package/lib/cjs/ProjectAnalytics.d.ts +3 -0
  35. package/lib/cjs/ProjectAnalyticsGoogle.d.ts +11 -0
  36. package/lib/cjs/ProjectAnalyticsInternal.d.ts +3 -0
  37. package/lib/cjs/ProjectHead.d.ts +19 -0
  38. package/lib/cjs/ProjectIdParams.d.ts +4 -0
  39. package/lib/cjs/ProjectLogin.d.ts +3 -0
  40. package/lib/cjs/ProjectParams.d.ts +4 -0
  41. package/lib/cjs/ProjectPayment.d.ts +7 -0
  42. package/lib/cjs/ProjectPwa.d.ts +21 -0
  43. package/lib/cjs/ProjectPwaIcon.d.ts +15 -0
  44. package/lib/cjs/ProjectSiteParams.d.ts +4 -0
  45. package/lib/cjs/Publish.d.ts +1 -0
  46. package/lib/cjs/RenderContext.d.ts +2 -10
  47. package/lib/cjs/Right.d.ts +1 -0
  48. package/lib/cjs/ScorableParticipant.d.ts +5 -0
  49. package/lib/cjs/ShiftAutofillResult.d.ts +6 -0
  50. package/lib/cjs/ShiftFillCandidate.d.ts +10 -0
  51. package/lib/cjs/ShiftFillPolicy.d.ts +8 -0
  52. package/lib/cjs/ShiftFillResult.d.ts +11 -0
  53. package/lib/cjs/ShiftFillTarget.d.ts +10 -0
  54. package/lib/cjs/ShiftPlan.d.ts +2 -0
  55. package/lib/cjs/ShiftPlanChangeInput.d.ts +1 -0
  56. package/lib/cjs/ShiftPlanCreateInput.d.ts +1 -0
  57. package/lib/cjs/ShiftPlanSummary.d.ts +2 -0
  58. package/lib/cjs/ShiftReportContextOptions.d.ts +9 -0
  59. package/lib/cjs/TimeTrackingCategory.d.ts +6 -0
  60. package/lib/cjs/TimeTrackingMode.d.ts +1 -0
  61. package/lib/cjs/TimeTrackingProject.d.ts +15 -0
  62. package/lib/cjs/TimeTrackingProjectAllocation.d.ts +8 -0
  63. package/lib/cjs/TimeTrackingProjectAllocationInput.d.ts +2 -0
  64. package/lib/cjs/TimeTrackingProjectAllocationUsage.d.ts +8 -0
  65. package/lib/cjs/TimeTrackingProjectInput.d.ts +2 -0
  66. package/lib/cjs/TimeTrackingProjectListQuery.d.ts +5 -0
  67. package/lib/cjs/TimeTrackingProjectParams.d.ts +4 -0
  68. package/lib/cjs/Tracker.d.ts +7 -2
  69. package/lib/cjs/TrackerBooking.d.ts +25 -0
  70. package/lib/cjs/TrackerBookingShift.d.ts +14 -0
  71. package/lib/cjs/TrackerBookingsQuery.d.ts +4 -0
  72. package/lib/cjs/TrackerCategoriesParams.d.ts +4 -0
  73. package/lib/cjs/TrackerDailyLimitGroup.d.ts +7 -0
  74. package/lib/cjs/TrackerDailyLimitInput.d.ts +8 -0
  75. package/lib/cjs/TrackerDayParams.d.ts +4 -0
  76. package/lib/cjs/TrackerDayQuery.d.ts +4 -0
  77. package/lib/cjs/TrackerListQuery.d.ts +5 -0
  78. package/lib/cjs/TrackerShiftBooking.d.ts +18 -0
  79. package/lib/cjs/TrackerStatistics.d.ts +10 -5
  80. package/lib/cjs/TrackerStatisticsBucket.d.ts +13 -0
  81. package/lib/cjs/TrackerStatisticsQuery.d.ts +7 -0
  82. package/lib/cjs/TrackerStatisticsRange.d.ts +6 -0
  83. package/lib/cjs/TrackerTimeSum.d.ts +4 -0
  84. package/lib/cjs/TrackerUserQuery.d.ts +4 -0
  85. package/lib/cjs/VerifyTokenOptions.d.ts +8 -0
  86. package/lib/cjs/WorkingAuth.d.ts +3 -0
  87. package/lib/cjs/WorkingAuthAuth0.d.ts +7 -0
  88. package/lib/cjs/WorkingAuthKeycloak.d.ts +7 -0
  89. package/lib/cjs/WorkingContext.d.ts +52 -0
  90. package/lib/cjs/index.d.ts +73 -0
  91. package/lib/esm/AccessLimitDoc.d.ts +12 -0
  92. package/lib/esm/AccessLimitDoc.js +2 -0
  93. package/lib/esm/AccessLimitDoc.js.map +1 -0
  94. package/lib/esm/AllocationHoursInput.d.ts +4 -0
  95. package/lib/esm/AllocationHoursInput.js +2 -0
  96. package/lib/esm/AllocationHoursInput.js.map +1 -0
  97. package/lib/esm/AllocationIdParams.d.ts +4 -0
  98. package/lib/esm/AllocationIdParams.js +2 -0
  99. package/lib/esm/AllocationIdParams.js.map +1 -0
  100. package/lib/esm/AllocationParams.d.ts +4 -0
  101. package/lib/esm/AllocationParams.js +2 -0
  102. package/lib/esm/AllocationParams.js.map +1 -0
  103. package/lib/esm/AllocationQuery.d.ts +3 -0
  104. package/lib/esm/AllocationQuery.js +2 -0
  105. package/lib/esm/AllocationQuery.js.map +1 -0
  106. package/lib/esm/Auth0ProjectSettings.d.ts +4 -0
  107. package/lib/esm/BookingWindow.d.ts +4 -0
  108. package/lib/esm/BookingWindow.js +2 -0
  109. package/lib/esm/BookingWindow.js.map +1 -0
  110. package/lib/esm/Cart.d.ts +2 -0
  111. package/lib/esm/CategoryBookedTime.d.ts +5 -0
  112. package/lib/esm/CategoryBookedTime.js +2 -0
  113. package/lib/esm/CategoryBookedTime.js.map +1 -0
  114. package/lib/esm/ConversationResponse.d.ts +6 -0
  115. package/lib/esm/ConversationResponse.js +2 -0
  116. package/lib/esm/ConversationResponse.js.map +1 -0
  117. package/lib/esm/CoverageAllocation.d.ts +7 -0
  118. package/lib/esm/CoverageAllocation.js +2 -0
  119. package/lib/esm/CoverageAllocation.js.map +1 -0
  120. package/lib/esm/Endpoints.d.ts +21 -0
  121. package/lib/esm/Endpoints.js +2 -0
  122. package/lib/esm/Endpoints.js.map +1 -0
  123. package/lib/esm/Environment.d.ts +18 -0
  124. package/lib/esm/Environment.js +2 -0
  125. package/lib/esm/Environment.js.map +1 -0
  126. package/lib/esm/EnvironmentAuth.d.ts +6 -0
  127. package/lib/esm/EnvironmentAuth.js +2 -0
  128. package/lib/esm/EnvironmentAuth.js.map +1 -0
  129. package/lib/esm/EnvironmentAuthKeycloak.d.ts +19 -0
  130. package/lib/esm/EnvironmentAuthKeycloak.js +2 -0
  131. package/lib/esm/EnvironmentAuthKeycloak.js.map +1 -0
  132. package/lib/esm/FrontendProject.d.ts +15 -0
  133. package/lib/esm/FrontendProject.js +2 -0
  134. package/lib/esm/FrontendProject.js.map +1 -0
  135. package/lib/esm/GenericData.d.ts +3 -2
  136. package/lib/esm/GenericDataSingle.d.ts +1 -0
  137. package/lib/esm/HistorySeenKey.d.ts +7 -0
  138. package/lib/esm/HistorySeenKey.js +2 -0
  139. package/lib/esm/HistorySeenKey.js.map +1 -0
  140. package/lib/esm/IdCounter.d.ts +12 -0
  141. package/lib/esm/IdCounter.js +2 -0
  142. package/lib/esm/IdCounter.js.map +1 -0
  143. package/lib/esm/ImmutableErrorKeys.d.ts +1 -0
  144. package/lib/esm/ImmutableErrorKeys.js +2 -0
  145. package/lib/esm/ImmutableErrorKeys.js.map +1 -0
  146. package/lib/esm/List.d.ts +5 -0
  147. package/lib/esm/ListPlanningParticipant.d.ts +18 -0
  148. package/lib/esm/ListPlanningParticipant.js +2 -0
  149. package/lib/esm/ListPlanningParticipant.js.map +1 -0
  150. package/lib/esm/MemberShiftFilters.d.ts +1 -0
  151. package/lib/esm/Participant.d.ts +27 -0
  152. package/lib/esm/Participant.js +2 -0
  153. package/lib/esm/Participant.js.map +1 -0
  154. package/lib/esm/ParticipantRole.d.ts +1 -0
  155. package/lib/esm/ParticipantRole.js +2 -0
  156. package/lib/esm/ParticipantRole.js.map +1 -0
  157. package/lib/esm/ParticipantState.d.ts +1 -0
  158. package/lib/esm/ParticipantState.js +2 -0
  159. package/lib/esm/ParticipantState.js.map +1 -0
  160. package/lib/esm/ParticipantUser.d.ts +27 -0
  161. package/lib/esm/ParticipantUser.js +2 -0
  162. package/lib/esm/ParticipantUser.js.map +1 -0
  163. package/lib/esm/PaymentProviderBase.d.ts +17 -0
  164. package/lib/esm/PaymentProviderBase.js +2 -0
  165. package/lib/esm/PaymentProviderBase.js.map +1 -0
  166. package/lib/esm/PlanCoveragePreparation.d.ts +20 -0
  167. package/lib/esm/PlanCoveragePreparation.js +2 -0
  168. package/lib/esm/PlanCoveragePreparation.js.map +1 -0
  169. package/lib/esm/PlanningParticipantsResult.d.ts +12 -0
  170. package/lib/esm/PlanningParticipantsResult.js +2 -0
  171. package/lib/esm/PlanningParticipantsResult.js.map +1 -0
  172. package/lib/esm/Project.d.ts +27 -1
  173. package/lib/esm/ProjectAnalytics.d.ts +3 -0
  174. package/lib/esm/ProjectAnalytics.js +2 -0
  175. package/lib/esm/ProjectAnalytics.js.map +1 -0
  176. package/lib/esm/ProjectAnalyticsGoogle.d.ts +11 -0
  177. package/lib/esm/ProjectAnalyticsGoogle.js +2 -0
  178. package/lib/esm/ProjectAnalyticsGoogle.js.map +1 -0
  179. package/lib/esm/ProjectAnalyticsInternal.d.ts +3 -0
  180. package/lib/esm/ProjectAnalyticsInternal.js +2 -0
  181. package/lib/esm/ProjectAnalyticsInternal.js.map +1 -0
  182. package/lib/esm/ProjectHead.d.ts +19 -0
  183. package/lib/esm/ProjectHead.js +2 -0
  184. package/lib/esm/ProjectHead.js.map +1 -0
  185. package/lib/esm/ProjectIdParams.d.ts +4 -0
  186. package/lib/esm/ProjectIdParams.js +2 -0
  187. package/lib/esm/ProjectIdParams.js.map +1 -0
  188. package/lib/esm/ProjectLogin.d.ts +3 -0
  189. package/lib/esm/ProjectLogin.js +2 -0
  190. package/lib/esm/ProjectLogin.js.map +1 -0
  191. package/lib/esm/ProjectParams.d.ts +4 -0
  192. package/lib/esm/ProjectParams.js +2 -0
  193. package/lib/esm/ProjectParams.js.map +1 -0
  194. package/lib/esm/ProjectPayment.d.ts +7 -0
  195. package/lib/esm/ProjectPayment.js +2 -0
  196. package/lib/esm/ProjectPayment.js.map +1 -0
  197. package/lib/esm/ProjectPwa.d.ts +21 -0
  198. package/lib/esm/ProjectPwa.js +2 -0
  199. package/lib/esm/ProjectPwa.js.map +1 -0
  200. package/lib/esm/ProjectPwaIcon.d.ts +15 -0
  201. package/lib/esm/ProjectPwaIcon.js +2 -0
  202. package/lib/esm/ProjectPwaIcon.js.map +1 -0
  203. package/lib/esm/ProjectSiteParams.d.ts +4 -0
  204. package/lib/esm/ProjectSiteParams.js +2 -0
  205. package/lib/esm/ProjectSiteParams.js.map +1 -0
  206. package/lib/esm/Publish.d.ts +1 -0
  207. package/lib/esm/RenderContext.d.ts +2 -10
  208. package/lib/esm/Right.d.ts +1 -0
  209. package/lib/esm/Right.js +2 -0
  210. package/lib/esm/Right.js.map +1 -0
  211. package/lib/esm/ScorableParticipant.d.ts +5 -0
  212. package/lib/esm/ScorableParticipant.js +2 -0
  213. package/lib/esm/ScorableParticipant.js.map +1 -0
  214. package/lib/esm/ShiftAutofillResult.d.ts +6 -0
  215. package/lib/esm/ShiftAutofillResult.js +2 -0
  216. package/lib/esm/ShiftAutofillResult.js.map +1 -0
  217. package/lib/esm/ShiftFillCandidate.d.ts +10 -0
  218. package/lib/esm/ShiftFillCandidate.js +2 -0
  219. package/lib/esm/ShiftFillCandidate.js.map +1 -0
  220. package/lib/esm/ShiftFillPolicy.d.ts +8 -0
  221. package/lib/esm/ShiftFillPolicy.js +2 -0
  222. package/lib/esm/ShiftFillPolicy.js.map +1 -0
  223. package/lib/esm/ShiftFillResult.d.ts +11 -0
  224. package/lib/esm/ShiftFillResult.js +2 -0
  225. package/lib/esm/ShiftFillResult.js.map +1 -0
  226. package/lib/esm/ShiftFillTarget.d.ts +10 -0
  227. package/lib/esm/ShiftFillTarget.js +2 -0
  228. package/lib/esm/ShiftFillTarget.js.map +1 -0
  229. package/lib/esm/ShiftPlan.d.ts +2 -0
  230. package/lib/esm/ShiftPlanChangeInput.d.ts +1 -0
  231. package/lib/esm/ShiftPlanCreateInput.d.ts +1 -0
  232. package/lib/esm/ShiftPlanSummary.d.ts +2 -0
  233. package/lib/esm/ShiftReportContextOptions.d.ts +9 -0
  234. package/lib/esm/ShiftReportContextOptions.js +2 -0
  235. package/lib/esm/ShiftReportContextOptions.js.map +1 -0
  236. package/lib/esm/TimeTrackingCategory.d.ts +6 -0
  237. package/lib/esm/TimeTrackingCategory.js +2 -0
  238. package/lib/esm/TimeTrackingCategory.js.map +1 -0
  239. package/lib/esm/TimeTrackingMode.d.ts +1 -0
  240. package/lib/esm/TimeTrackingMode.js +2 -0
  241. package/lib/esm/TimeTrackingMode.js.map +1 -0
  242. package/lib/esm/TimeTrackingProject.d.ts +15 -0
  243. package/lib/esm/TimeTrackingProject.js +2 -0
  244. package/lib/esm/TimeTrackingProject.js.map +1 -0
  245. package/lib/esm/TimeTrackingProjectAllocation.d.ts +8 -0
  246. package/lib/esm/TimeTrackingProjectAllocation.js +2 -0
  247. package/lib/esm/TimeTrackingProjectAllocation.js.map +1 -0
  248. package/lib/esm/TimeTrackingProjectAllocationInput.d.ts +2 -0
  249. package/lib/esm/TimeTrackingProjectAllocationInput.js +2 -0
  250. package/lib/esm/TimeTrackingProjectAllocationInput.js.map +1 -0
  251. package/lib/esm/TimeTrackingProjectAllocationUsage.d.ts +8 -0
  252. package/lib/esm/TimeTrackingProjectAllocationUsage.js +2 -0
  253. package/lib/esm/TimeTrackingProjectAllocationUsage.js.map +1 -0
  254. package/lib/esm/TimeTrackingProjectInput.d.ts +2 -0
  255. package/lib/esm/TimeTrackingProjectInput.js +2 -0
  256. package/lib/esm/TimeTrackingProjectInput.js.map +1 -0
  257. package/lib/esm/TimeTrackingProjectListQuery.d.ts +5 -0
  258. package/lib/esm/TimeTrackingProjectListQuery.js +2 -0
  259. package/lib/esm/TimeTrackingProjectListQuery.js.map +1 -0
  260. package/lib/esm/TimeTrackingProjectParams.d.ts +4 -0
  261. package/lib/esm/TimeTrackingProjectParams.js +2 -0
  262. package/lib/esm/TimeTrackingProjectParams.js.map +1 -0
  263. package/lib/esm/Tracker.d.ts +7 -2
  264. package/lib/esm/TrackerBooking.d.ts +25 -0
  265. package/lib/esm/TrackerBooking.js +2 -0
  266. package/lib/esm/TrackerBooking.js.map +1 -0
  267. package/lib/esm/TrackerBookingShift.d.ts +14 -0
  268. package/lib/esm/TrackerBookingShift.js +2 -0
  269. package/lib/esm/TrackerBookingShift.js.map +1 -0
  270. package/lib/esm/TrackerBookingsQuery.d.ts +4 -0
  271. package/lib/esm/TrackerBookingsQuery.js +2 -0
  272. package/lib/esm/TrackerBookingsQuery.js.map +1 -0
  273. package/lib/esm/TrackerCategoriesParams.d.ts +4 -0
  274. package/lib/esm/TrackerCategoriesParams.js +2 -0
  275. package/lib/esm/TrackerCategoriesParams.js.map +1 -0
  276. package/lib/esm/TrackerDailyLimitGroup.d.ts +7 -0
  277. package/lib/esm/TrackerDailyLimitGroup.js +2 -0
  278. package/lib/esm/TrackerDailyLimitGroup.js.map +1 -0
  279. package/lib/esm/TrackerDailyLimitInput.d.ts +8 -0
  280. package/lib/esm/TrackerDailyLimitInput.js +2 -0
  281. package/lib/esm/TrackerDailyLimitInput.js.map +1 -0
  282. package/lib/esm/TrackerDayParams.d.ts +4 -0
  283. package/lib/esm/TrackerDayParams.js +2 -0
  284. package/lib/esm/TrackerDayParams.js.map +1 -0
  285. package/lib/esm/TrackerDayQuery.d.ts +4 -0
  286. package/lib/esm/TrackerDayQuery.js +2 -0
  287. package/lib/esm/TrackerDayQuery.js.map +1 -0
  288. package/lib/esm/TrackerListQuery.d.ts +5 -0
  289. package/lib/esm/TrackerListQuery.js +2 -0
  290. package/lib/esm/TrackerListQuery.js.map +1 -0
  291. package/lib/esm/TrackerShiftBooking.d.ts +18 -0
  292. package/lib/esm/TrackerShiftBooking.js +2 -0
  293. package/lib/esm/TrackerShiftBooking.js.map +1 -0
  294. package/lib/esm/TrackerStatistics.d.ts +10 -5
  295. package/lib/esm/TrackerStatisticsBucket.d.ts +13 -0
  296. package/lib/esm/TrackerStatisticsBucket.js +2 -0
  297. package/lib/esm/TrackerStatisticsBucket.js.map +1 -0
  298. package/lib/esm/TrackerStatisticsQuery.d.ts +7 -0
  299. package/lib/esm/TrackerStatisticsQuery.js +2 -0
  300. package/lib/esm/TrackerStatisticsQuery.js.map +1 -0
  301. package/lib/esm/TrackerStatisticsRange.d.ts +6 -0
  302. package/lib/esm/TrackerStatisticsRange.js +2 -0
  303. package/lib/esm/TrackerStatisticsRange.js.map +1 -0
  304. package/lib/esm/TrackerTimeSum.d.ts +4 -0
  305. package/lib/esm/TrackerTimeSum.js +2 -0
  306. package/lib/esm/TrackerTimeSum.js.map +1 -0
  307. package/lib/esm/TrackerUserQuery.d.ts +4 -0
  308. package/lib/esm/TrackerUserQuery.js +2 -0
  309. package/lib/esm/TrackerUserQuery.js.map +1 -0
  310. package/lib/esm/VerifyTokenOptions.d.ts +8 -0
  311. package/lib/esm/VerifyTokenOptions.js +2 -0
  312. package/lib/esm/VerifyTokenOptions.js.map +1 -0
  313. package/lib/esm/WorkingAuth.d.ts +3 -0
  314. package/lib/esm/WorkingAuth.js +2 -0
  315. package/lib/esm/WorkingAuth.js.map +1 -0
  316. package/lib/esm/WorkingAuthAuth0.d.ts +7 -0
  317. package/lib/esm/WorkingAuthAuth0.js +2 -0
  318. package/lib/esm/WorkingAuthAuth0.js.map +1 -0
  319. package/lib/esm/WorkingAuthKeycloak.d.ts +7 -0
  320. package/lib/esm/WorkingAuthKeycloak.js +2 -0
  321. package/lib/esm/WorkingAuthKeycloak.js.map +1 -0
  322. package/lib/esm/WorkingContext.d.ts +52 -0
  323. package/lib/esm/WorkingContext.js +2 -0
  324. package/lib/esm/WorkingContext.js.map +1 -0
  325. package/lib/esm/index.d.ts +73 -0
  326. package/package.json +1 -1
  327. package/src/AccessLimitDoc.ts +6 -0
  328. package/src/AllocationHoursInput.ts +4 -0
  329. package/src/AllocationIdParams.ts +5 -0
  330. package/src/AllocationParams.ts +5 -0
  331. package/src/AllocationQuery.ts +3 -0
  332. package/src/Auth0ProjectSettings.ts +7 -1
  333. package/src/BookingWindow.ts +4 -0
  334. package/src/Cart.ts +3 -0
  335. package/src/CategoryBookedTime.ts +5 -0
  336. package/src/ConversationResponse.ts +5 -0
  337. package/src/CoverageAllocation.ts +8 -0
  338. package/src/Endpoints.ts +26 -0
  339. package/src/Environment.ts +23 -0
  340. package/src/EnvironmentAuth.ts +7 -0
  341. package/src/EnvironmentAuthKeycloak.ts +24 -0
  342. package/src/FrontendProject.ts +19 -0
  343. package/src/GenericData.ts +3 -2
  344. package/src/GenericDataSingle.ts +1 -0
  345. package/src/HistorySeenKey.ts +7 -0
  346. package/src/IdCounter.ts +13 -0
  347. package/src/ImmutableErrorKeys.ts +1 -0
  348. package/src/List.ts +6 -0
  349. package/src/ListPlanningParticipant.ts +19 -0
  350. package/src/MemberShiftFilters.ts +1 -0
  351. package/src/Participant.ts +28 -0
  352. package/src/ParticipantRole.ts +1 -0
  353. package/src/ParticipantState.ts +1 -0
  354. package/src/ParticipantUser.ts +28 -0
  355. package/src/PaymentProviderBase.ts +22 -0
  356. package/src/PlanCoveragePreparation.ts +21 -0
  357. package/src/PlanningParticipantsResult.ts +13 -0
  358. package/src/Project.ts +34 -1
  359. package/src/ProjectAnalytics.ts +4 -0
  360. package/src/ProjectAnalyticsGoogle.ts +15 -0
  361. package/src/ProjectAnalyticsInternal.ts +5 -0
  362. package/src/ProjectHead.ts +25 -0
  363. package/src/ProjectIdParams.ts +5 -0
  364. package/src/ProjectLogin.ts +5 -0
  365. package/src/ProjectParams.ts +4 -0
  366. package/src/ProjectPayment.ts +10 -0
  367. package/src/ProjectPwa.ts +36 -0
  368. package/src/ProjectPwaIcon.ts +20 -0
  369. package/src/ProjectSiteParams.ts +5 -0
  370. package/src/Publish.ts +1 -0
  371. package/src/RenderContext.ts +2 -10
  372. package/src/Right.ts +1 -0
  373. package/src/ScorableParticipant.ts +6 -0
  374. package/src/ShiftAutofillResult.ts +7 -0
  375. package/src/ShiftFillCandidate.ts +11 -0
  376. package/src/ShiftFillPolicy.ts +8 -0
  377. package/src/ShiftFillResult.ts +12 -0
  378. package/src/ShiftFillTarget.ts +11 -0
  379. package/src/ShiftPlan.ts +2 -0
  380. package/src/ShiftPlanChangeInput.ts +1 -0
  381. package/src/ShiftPlanCreateInput.ts +1 -0
  382. package/src/ShiftPlanSummary.ts +2 -0
  383. package/src/ShiftReportContextOptions.ts +10 -0
  384. package/src/TimeTrackingCategory.ts +8 -0
  385. package/src/TimeTrackingMode.ts +1 -0
  386. package/src/TimeTrackingProject.ts +18 -0
  387. package/src/TimeTrackingProjectAllocation.ts +10 -0
  388. package/src/TimeTrackingProjectAllocationInput.ts +3 -0
  389. package/src/TimeTrackingProjectAllocationUsage.ts +10 -0
  390. package/src/TimeTrackingProjectInput.ts +3 -0
  391. package/src/TimeTrackingProjectListQuery.ts +5 -0
  392. package/src/TimeTrackingProjectParams.ts +5 -0
  393. package/src/Tracker.ts +9 -3
  394. package/src/TrackerBooking.ts +25 -0
  395. package/src/TrackerBookingShift.ts +14 -0
  396. package/src/TrackerBookingsQuery.ts +4 -0
  397. package/src/TrackerCategoriesParams.ts +5 -0
  398. package/src/TrackerDailyLimitGroup.ts +7 -0
  399. package/src/TrackerDailyLimitInput.ts +8 -0
  400. package/src/TrackerDayParams.ts +5 -0
  401. package/src/TrackerDayQuery.ts +5 -0
  402. package/src/TrackerListQuery.ts +6 -0
  403. package/src/TrackerShiftBooking.ts +18 -0
  404. package/src/TrackerStatistics.ts +10 -5
  405. package/src/TrackerStatisticsBucket.ts +13 -0
  406. package/src/TrackerStatisticsQuery.ts +8 -0
  407. package/src/TrackerStatisticsRange.ts +6 -0
  408. package/src/TrackerTimeSum.ts +4 -0
  409. package/src/TrackerUserQuery.ts +4 -0
  410. package/src/VerifyTokenOptions.ts +8 -0
  411. package/src/WorkingAuth.ts +4 -0
  412. package/src/WorkingAuthAuth0.ts +6 -0
  413. package/src/WorkingAuthKeycloak.ts +6 -0
  414. package/src/WorkingContext.ts +64 -0
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AccessLimitDoc.js","sourceRoot":"","sources":["../../src/AccessLimitDoc.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ export interface AllocationHoursInput {
2
+ /** `null` removes the personal limit */
3
+ hours: number | null;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=AllocationHoursInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AllocationHoursInput.js","sourceRoot":"","sources":["../../src/AllocationHoursInput.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { ProjectParams } from './ProjectParams';
2
+ export interface AllocationIdParams extends ProjectParams {
3
+ allocationId: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=AllocationIdParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AllocationIdParams.js","sourceRoot":"","sources":["../../src/AllocationIdParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,4 @@
1
+ import type { ProjectParams } from './ProjectParams';
2
+ export interface AllocationParams extends ProjectParams {
3
+ projectId: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=AllocationParams.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AllocationParams.js","sourceRoot":"","sources":["../../src/AllocationParams.ts"],"names":[],"mappings":""}
@@ -0,0 +1,3 @@
1
+ export interface AllocationQuery {
2
+ category?: string;
3
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=AllocationQuery.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AllocationQuery.js","sourceRoot":"","sources":["../../src/AllocationQuery.ts"],"names":[],"mappings":""}
@@ -1,3 +1,7 @@
1
1
  export interface Auth0ProjectSettings {
2
2
  domain?: string;
3
+ /** public client id of the auth0 SPA application, not a secret */
4
+ clientId?: string;
5
+ /** only needed when the login requests tokens for a custom api; the other auth0 client options are derived at render time and deliberately not stored */
6
+ audience?: string;
3
7
  }
@@ -0,0 +1,4 @@
1
+ export interface BookingWindow {
2
+ from?: string;
3
+ to?: string;
4
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=BookingWindow.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BookingWindow.js","sourceRoot":"","sources":["../../src/BookingWindow.ts"],"names":[],"mappings":""}
package/lib/esm/Cart.d.ts CHANGED
@@ -8,6 +8,8 @@ export interface Cart {
8
8
  attributes?: {
9
9
  [key: string]: string;
10
10
  };
11
+ prename?: string;
12
+ name?: string;
11
13
  modified?: Date;
12
14
  checkoutUrl?: string;
13
15
  payment?: ObjectId;
@@ -0,0 +1,5 @@
1
+ export interface CategoryBookedTime {
2
+ /** the category id */
3
+ _id: string;
4
+ bookedTime: number;
5
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CategoryBookedTime.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CategoryBookedTime.js","sourceRoot":"","sources":["../../src/CategoryBookedTime.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import type { Conversation } from './Conversation';
2
+ import type { ParticipantUser } from './ParticipantUser';
3
+ /** A Conversation as sent to clients: participants enriched from ids to objects. */
4
+ export type ConversationResponse = Omit<Conversation, 'participants'> & {
5
+ participants?: ParticipantUser[];
6
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ConversationResponse.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ConversationResponse.js","sourceRoot":"","sources":["../../src/ConversationResponse.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import type { ShiftCoverage } from './ShiftCoverage';
2
+ /** Coverage only needs the counts; kept so existing callers and types stay unchanged. */
3
+ export interface CoverageAllocation {
4
+ coverage: ShiftCoverage[];
5
+ fillable: boolean;
6
+ complete: boolean;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CoverageAllocation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CoverageAllocation.js","sourceRoot":"","sources":["../../src/CoverageAllocation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,21 @@
1
+ /**
2
+ * the endpoints every environment provides and every project in it shares.
3
+ */
4
+ export interface Endpoints {
5
+ /**
6
+ * base url of the studio api.
7
+ */
8
+ api: string;
9
+ /**
10
+ * base url of the media api.
11
+ */
12
+ media: string;
13
+ /**
14
+ * publicly reachable cdn base for assets.
15
+ */
16
+ cdn: string;
17
+ /**
18
+ * cdn base for access protected files.
19
+ */
20
+ secure: string;
21
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Endpoints.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Endpoints.js","sourceRoot":"","sources":["../../src/Endpoints.ts"],"names":[],"mappings":""}
@@ -0,0 +1,18 @@
1
+ import { Endpoints } from "./Endpoints";
2
+ import { EnvironmentAuth } from "./EnvironmentAuth";
3
+ /**
4
+ * an environment is the deployment context a project is rendered in. it owns
5
+ * the endpoints every project in that environment shares, so a project config
6
+ * never has to repeat them.
7
+ */
8
+ export interface Environment {
9
+ /**
10
+ * stable identifier of the environment, e.g. `local`, `next` or `live`.
11
+ */
12
+ id: string;
13
+ endpoints: Endpoints;
14
+ /**
15
+ * authentication provider every project in the environment shares.
16
+ */
17
+ auth?: EnvironmentAuth;
18
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Environment.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Environment.js","sourceRoot":"","sources":["../../src/Environment.ts"],"names":[],"mappings":""}
@@ -0,0 +1,6 @@
1
+ import { EnvironmentAuthKeycloak } from "./EnvironmentAuthKeycloak";
2
+ /**
3
+ * the authentication provider of an environment, discriminated by `type`.
4
+ * auth0 is planned as a second variant.
5
+ */
6
+ export type EnvironmentAuth = EnvironmentAuthKeycloak;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=EnvironmentAuth.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentAuth.js","sourceRoot":"","sources":["../../src/EnvironmentAuth.ts"],"names":[],"mappings":""}
@@ -0,0 +1,19 @@
1
+ /**
2
+ * self hosted keycloak as the authentication provider of an environment.
3
+ */
4
+ export interface EnvironmentAuthKeycloak {
5
+ type: 'keycloak';
6
+ /**
7
+ * base url of the keycloak server, e.g. `https://auth.lilaquadrat.dev`.
8
+ */
9
+ url: string;
10
+ /**
11
+ * keycloak realm, e.g. `studio`.
12
+ */
13
+ realm: string;
14
+ /**
15
+ * public client id used by the browser. shared by every project in the
16
+ * environment unless a project overrides it.
17
+ */
18
+ clientId: string;
19
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=EnvironmentAuthKeycloak.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"EnvironmentAuthKeycloak.js","sourceRoot":"","sources":["../../src/EnvironmentAuthKeycloak.ts"],"names":[],"mappings":""}
@@ -0,0 +1,15 @@
1
+ import type { Project } from './Project';
2
+ /**
3
+ * the project settings the frontend may see. secrets, publish data and
4
+ * ai prompt settings are left out on purpose.
5
+ */
6
+ export type FrontendProject = Pick<Project, 'company' | 'dynamic' | 'installable' | 'pwa' | 'login' | 'analytics'> & {
7
+ /**
8
+ * the id of the project, named like the project key on every other document.
9
+ */
10
+ project: Project['id'];
11
+ /**
12
+ * the active payment provider of the project, named like it is used in the frontend.
13
+ */
14
+ paymentProvider?: Project['payment'];
15
+ };
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=FrontendProject.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FrontendProject.js","sourceRoot":"","sources":["../../src/FrontendProject.ts"],"names":[],"mappings":""}
@@ -3,11 +3,12 @@ import { Content } from "./Content";
3
3
  import { Customers } from "./Customers";
4
4
  import { List } from "./List";
5
5
  import { Media } from "./Media";
6
+ import { ShiftPlan } from "./ShiftPlan";
6
7
  import { Structure } from "./Structure";
7
- type CompatibleGenericDataType = 'editor' | 'lists' | 'customers' | 'media' | 'structures';
8
+ type CompatibleGenericDataType = 'editor' | 'lists' | 'customers' | 'media' | 'structures' | 'shiftPlans';
8
9
  type GenericData = {
9
10
  [key in CompatibleGenericDataType]: string[];
10
11
  } & {
11
- data: BasicData<Content | List | Customers | Media | Structure>[];
12
+ data: BasicData<Content | List | Customers | Media | Structure | ShiftPlan>[];
12
13
  };
13
14
  export { GenericData, CompatibleGenericDataType };
@@ -4,5 +4,6 @@ export interface GenericDataSingle {
4
4
  lists?: string;
5
5
  customers?: string;
6
6
  media?: string;
7
+ shiftPlans?: string;
7
8
  data?: Record<string, Content>;
8
9
  }
@@ -0,0 +1,7 @@
1
+ export interface HistorySeenKey {
2
+ user: string;
3
+ company: string;
4
+ project?: string;
5
+ model: string;
6
+ scope: string;
7
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=HistorySeenKey.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HistorySeenKey.js","sourceRoot":"","sources":["../../src/HistorySeenKey.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import type { ObjectId } from 'mongodb';
2
+ /** the counter document behind the `id` collection; not to be confused with `Id`, the generic id/data pair */
3
+ export interface IdCounter {
4
+ _id: string;
5
+ company: string;
6
+ project: string;
7
+ model: string;
8
+ app: string;
9
+ count: number;
10
+ initials?: string;
11
+ dynamicKey?: string | number | ObjectId;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=IdCounter.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"IdCounter.js","sourceRoot":"","sources":["../../src/IdCounter.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type ImmutableErrorKeys = 'UPDATE_DOCUMENT_MISSING' | 'PARENT_DOCUMENT_NOT_FOUND' | 'DOCUMENT_ALREADY_EXISTS';
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ImmutableErrorKeys.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ImmutableErrorKeys.js","sourceRoot":"","sources":["../../src/ImmutableErrorKeys.ts"],"names":[],"mappings":""}
package/lib/esm/List.d.ts CHANGED
@@ -35,6 +35,11 @@ export interface List {
35
35
  * plan must belong to the same company and project.
36
36
  */
37
37
  shiftPlan?: ObjectId;
38
+ /**
39
+ * Name of the linked shift plan, resolved on read for display. Not persisted and
40
+ * never sent on create/change; writes still use `shiftPlan`.
41
+ */
42
+ shiftPlanName?: string;
38
43
  content?: ListContent;
39
44
  emails?: EmailsContent[];
40
45
  }
@@ -0,0 +1,18 @@
1
+ import type { ListParticipantMatch } from './ListParticipantMatch';
2
+ import type { ListParticipants } from './ListParticipants';
3
+ import type { ObjectId } from 'mongodb';
4
+ export interface ListPlanningParticipant {
5
+ _id: ObjectId;
6
+ category?: string;
7
+ state: ListParticipants['state'];
8
+ match: ListParticipantMatch & {
9
+ /** Relative to the full filtered pool; tied-only pools share stage 4. */
10
+ normalizedScore: 1 | 2 | 3 | 4;
11
+ };
12
+ user?: {
13
+ _id: ObjectId;
14
+ id?: string;
15
+ name: string;
16
+ email?: string;
17
+ };
18
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ListPlanningParticipant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ListPlanningParticipant.js","sourceRoot":"","sources":["../../src/ListPlanningParticipant.ts"],"names":[],"mappings":""}
@@ -2,4 +2,5 @@ import type { ObjectId } from 'mongodb';
2
2
  import type { ShiftPlanningFilters } from './ShiftPlanningFilters';
3
3
  export interface MemberShiftFilters extends Omit<ShiftPlanningFilters, 'area'> {
4
4
  list?: ObjectId;
5
+ plan?: ObjectId;
5
6
  }
@@ -0,0 +1,27 @@
1
+ import { ObjectId } from 'mongodb';
2
+ import type { ParticipantRole } from './ParticipantRole';
3
+ import type { ParticipantState } from './ParticipantState';
4
+ import type { Right } from './Right';
5
+ export interface Participant {
6
+ _id?: ObjectId;
7
+ conversation: ObjectId;
8
+ user: string;
9
+ state: ParticipantState;
10
+ rights: Right[];
11
+ lastReadId?: number;
12
+ latestMessageId?: number;
13
+ /**
14
+ * the participant silenced this conversation for themselves. A pure notification
15
+ * preference — delivery is untouched, muted members still receive every frame, the
16
+ * client just stops making noise about them. Private to the owner of the doc: it is
17
+ * never broadcast to the other participants.
18
+ */
19
+ muted?: boolean;
20
+ /**
21
+ * only set on support conversations, and only for the support team. It is what separates
22
+ * the team from the customer on every read path, so the conversation's own bookkeeping
23
+ * (system messages) can stay internal — see messages.service list().
24
+ */
25
+ role?: ParticipantRole;
26
+ joinedAt?: string;
27
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=Participant.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Participant.js","sourceRoot":"","sources":["../../src/Participant.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type ParticipantRole = 'agent';
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ParticipantRole.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParticipantRole.js","sourceRoot":"","sources":["../../src/ParticipantRole.ts"],"names":[],"mappings":""}
@@ -0,0 +1 @@
1
+ export type ParticipantState = 'active' | 'left' | 'removed' | 'blocked' | 'deleted';
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ParticipantState.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParticipantState.js","sourceRoot":"","sources":["../../src/ParticipantState.ts"],"names":[],"mappings":""}
@@ -0,0 +1,27 @@
1
+ import type { ParticipantRole } from './ParticipantRole';
2
+ /**
3
+ * Enriched participant shape returned to clients. Conversations are *stored* with
4
+ * `participants: string[]` (user ids); read/emit paths enrich each id to this object
5
+ * via the `me` collection. Unresolvable ids (e.g. external IdP subs with no `me`
6
+ * record) degrade to just `{ id }` so no participant is ever dropped.
7
+ */
8
+ export interface ParticipantUser {
9
+ id: string;
10
+ prename?: string;
11
+ lastname?: string;
12
+ /** only included by the staff-authorised support conversation list */
13
+ email?: string;
14
+ /** presence: last proof of life, ISO string. Absent for a user who never connected. */
15
+ lastSeen?: string;
16
+ /** presence: derived from the stored flag AND lastSeen freshness, see presence.service */
17
+ online?: boolean;
18
+ /**
19
+ * support conversations only, and only on the paths that carry the roles: the agent-side list
20
+ * pipeline (support-conversations.service) and the `conversation:new` frame. It is what lets a
21
+ * client name the counterpart itself — the customer is the participant whose role is not
22
+ * 'agent'. `null` says "not a member of the support team", which on a pre-f2fdc27 legacy row is
23
+ * every participant, so none of them is distinguishable — see supportCustomer.ts. Absent means
24
+ * the path this object came from does not carry roles at all.
25
+ */
26
+ role?: ParticipantRole | null;
27
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ParticipantUser.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ParticipantUser.js","sourceRoot":"","sources":["../../src/ParticipantUser.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import type { List } from './List';
2
+ import type { ListCategory } from './ListCategory';
3
+ import type { PaymentProvider } from './PaymentProvider';
4
+ import type { PaymentProviderProduct } from './PaymentProviderProduct';
5
+ export interface PaymentProviderBase<T extends PaymentProvider = PaymentProvider> {
6
+ provider: T;
7
+ /**
8
+ * creates the sellable product for a category at the provider.
9
+ * returns the provider's product id, which gets stored as the category's externalId
10
+ */
11
+ createProduct(category: ListCategory, list: Pick<List, 'name' | 'location' | 'start'>): Promise<string>;
12
+ /**
13
+ * loads the product behind an externalId from the provider.
14
+ * throws PRODUCT_NOT_FOUND if the provider doesn't know the id
15
+ */
16
+ getProduct(externalId: string): Promise<PaymentProviderProduct>;
17
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PaymentProviderBase.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PaymentProviderBase.js","sourceRoot":"","sources":["../../src/PaymentProviderBase.ts"],"names":[],"mappings":""}
@@ -0,0 +1,20 @@
1
+ import type { ObjectId, WithId } from 'mongodb';
2
+ import type { Shift } from './Shift';
3
+ import type { ShiftPlan } from './ShiftPlan';
4
+ import type { ShiftPlanningSettings } from './ShiftPlanningSettings';
5
+ import type { Structure } from './Structure';
6
+ import type { ShiftFillTarget } from './ShiftFillTarget';
7
+ /**
8
+ * Everything a plan coverage run needs after the shared reads. Candidate pools are already ranked
9
+ * and the ids are the people that must be resolved for reporting, so callers only add the schedule.
10
+ */
11
+ export interface PlanCoveragePreparation {
12
+ plan: WithId<ShiftPlan>;
13
+ shifts: WithId<Shift>[];
14
+ targets: ShiftFillTarget[];
15
+ participantIds: ObjectId[];
16
+ customerIds: ObjectId[];
17
+ settings: ShiftPlanningSettings | null;
18
+ listStructures: WithId<Structure>[];
19
+ customerStructures: WithId<Structure>[];
20
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PlanCoveragePreparation.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanCoveragePreparation.js","sourceRoot":"","sources":["../../src/PlanCoveragePreparation.ts"],"names":[],"mappings":""}
@@ -0,0 +1,12 @@
1
+ import type { ShiftScopeCoverage } from './ShiftScopeCoverage';
2
+ import type { ListPlanningParticipant } from './ListPlanningParticipant';
3
+ /**
4
+ * Candidate page for a shift or work area, or coverage for a day or plan. `data` is empty when
5
+ * `coverage` is present.
6
+ */
7
+ export interface PlanningParticipantsResult {
8
+ all: number;
9
+ count: number;
10
+ data: ListPlanningParticipant[];
11
+ coverage?: ShiftScopeCoverage;
12
+ }
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=PlanningParticipantsResult.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PlanningParticipantsResult.js","sourceRoot":"","sources":["../../src/PlanningParticipantsResult.ts"],"names":[],"mappings":""}
@@ -1,13 +1,39 @@
1
1
  import { Auth0ProjectSettings } from "./Auth0ProjectSettings";
2
+ import { ProjectAnalytics } from "./ProjectAnalytics";
3
+ import { ProjectHead } from "./ProjectHead";
4
+ import { ProjectLogin } from "./ProjectLogin";
5
+ import { ProjectPayment } from "./ProjectPayment";
6
+ import { ProjectPwa } from "./ProjectPwa";
2
7
  export interface Project {
8
+ id: string;
3
9
  name: string;
4
10
  description?: string;
5
11
  aiDescription?: string;
6
12
  aiTone?: string;
7
- license?: string;
13
+ license?: string[];
8
14
  company: string;
9
15
  tags?: string[];
10
16
  apps?: string[];
17
+ attributes?: string[];
11
18
  features?: string[];
12
19
  auth0?: Auth0ProjectSettings;
20
+ /**
21
+ * this project behaves as an app: dynamic routes and client side navigation.
22
+ * rendered as `app` in the frontend config.
23
+ */
24
+ dynamic?: boolean;
25
+ /**
26
+ * the app can be installed, which is what makes the pwa settings meaningful.
27
+ * only set when `app` is on.
28
+ */
29
+ installable?: boolean;
30
+ payment?: ProjectPayment;
31
+ pwa?: ProjectPwa;
32
+ head?: ProjectHead;
33
+ /**
34
+ * users can register and log in; the provider decides between the internal
35
+ * auth and auth0. only set when `app` is on.
36
+ */
37
+ login?: ProjectLogin;
38
+ analytics?: ProjectAnalytics;
13
39
  }
@@ -0,0 +1,3 @@
1
+ import { ProjectAnalyticsInternal } from "./ProjectAnalyticsInternal";
2
+ import { ProjectAnalyticsGoogle } from "./ProjectAnalyticsGoogle";
3
+ export type ProjectAnalytics = ProjectAnalyticsInternal | ProjectAnalyticsGoogle;
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=ProjectAnalytics.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ProjectAnalytics.js","sourceRoot":"","sources":["../../src/ProjectAnalytics.ts"],"names":[],"mappings":""}