@lssm/module.learning-journey 0.0.0-canary-20251217083314 → 1.41.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 (167) hide show
  1. package/dist/contracts/index.js +1 -6
  2. package/dist/contracts/models.js +1 -389
  3. package/dist/contracts/onboarding.js +1 -404
  4. package/dist/contracts/operations.js +1 -151
  5. package/dist/contracts/shared.js +1 -5
  6. package/dist/docs/index.js +1 -1
  7. package/dist/docs/learning-journey.docblock.js +5 -61
  8. package/dist/engines/index.js +1 -5
  9. package/dist/engines/srs.js +1 -219
  10. package/dist/engines/streak.js +1 -193
  11. package/dist/engines/xp.js +1 -212
  12. package/dist/entities/ai.js +1 -376
  13. package/dist/entities/course.js +1 -316
  14. package/dist/entities/flashcard.js +1 -249
  15. package/dist/entities/gamification.js +1 -392
  16. package/dist/entities/index.js +1 -44
  17. package/dist/entities/learner.js +1 -365
  18. package/dist/entities/onboarding.js +1 -307
  19. package/dist/entities/quiz.js +1 -370
  20. package/dist/events.js +1 -583
  21. package/dist/index.js +1 -22
  22. package/dist/learning-journey.feature.js +1 -148
  23. package/package.json +28 -29
  24. package/dist/contracts/index.d.ts +0 -5
  25. package/dist/contracts/models.d.ts +0 -450
  26. package/dist/contracts/onboarding.d.ts +0 -665
  27. package/dist/contracts/operations.d.ts +0 -279
  28. package/dist/contracts/shared.d.ts +0 -4
  29. package/dist/docs/index.d.ts +0 -1
  30. package/dist/docs/learning-journey.docblock.d.ts +0 -1
  31. package/dist/engines/index.d.ts +0 -4
  32. package/dist/engines/srs.d.ts +0 -110
  33. package/dist/engines/streak.d.ts +0 -99
  34. package/dist/engines/xp.d.ts +0 -96
  35. package/dist/entities/ai.d.ts +0 -231
  36. package/dist/entities/course.d.ts +0 -183
  37. package/dist/entities/flashcard.d.ts +0 -169
  38. package/dist/entities/gamification.d.ts +0 -237
  39. package/dist/entities/index.d.ts +0 -628
  40. package/dist/entities/learner.d.ts +0 -223
  41. package/dist/entities/onboarding.d.ts +0 -189
  42. package/dist/entities/quiz.d.ts +0 -219
  43. package/dist/events.d.ts +0 -795
  44. package/dist/index.d.ts +0 -19
  45. package/dist/learning-journey.feature.d.ts +0 -11
  46. package/dist/libs/contracts/dist/capabilities/openbanking.js +0 -88
  47. package/dist/libs/contracts/dist/client/index.js +0 -5
  48. package/dist/libs/contracts/dist/client/react/feature-render.js +0 -2
  49. package/dist/libs/contracts/dist/client/react/form-render.js +0 -4
  50. package/dist/libs/contracts/dist/client/react/index.js +0 -4
  51. package/dist/libs/contracts/dist/contract-registry/index.js +0 -1
  52. package/dist/libs/contracts/dist/contract-registry/schemas.js +0 -60
  53. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  54. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
  55. package/dist/libs/contracts/dist/docs/index.js +0 -29
  56. package/dist/libs/contracts/dist/docs/presentations.js +0 -71
  57. package/dist/libs/contracts/dist/docs/registry.js +0 -44
  58. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  59. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  60. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  61. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  62. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  63. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
  64. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
  65. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
  66. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
  67. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
  68. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
  69. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
  70. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
  71. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
  72. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
  73. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
  74. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
  75. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
  76. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
  77. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
  78. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
  79. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
  80. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
  81. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
  82. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
  83. package/dist/libs/contracts/dist/events.js +0 -10
  84. package/dist/libs/contracts/dist/experiments/evaluator.js +0 -1
  85. package/dist/libs/contracts/dist/index.js +0 -71
  86. package/dist/libs/contracts/dist/install.js +0 -2
  87. package/dist/libs/contracts/dist/integrations/contracts.js +0 -377
  88. package/dist/libs/contracts/dist/integrations/index.js +0 -18
  89. package/dist/libs/contracts/dist/integrations/openbanking/contracts/accounts.js +0 -228
  90. package/dist/libs/contracts/dist/integrations/openbanking/contracts/balances.js +0 -159
  91. package/dist/libs/contracts/dist/integrations/openbanking/contracts/index.js +0 -3
  92. package/dist/libs/contracts/dist/integrations/openbanking/contracts/transactions.js +0 -210
  93. package/dist/libs/contracts/dist/integrations/openbanking/models.js +0 -242
  94. package/dist/libs/contracts/dist/integrations/openbanking/telemetry.js +0 -13
  95. package/dist/libs/contracts/dist/integrations/providers/elevenlabs.js +0 -52
  96. package/dist/libs/contracts/dist/integrations/providers/gcs-storage.js +0 -75
  97. package/dist/libs/contracts/dist/integrations/providers/gmail.js +0 -87
  98. package/dist/libs/contracts/dist/integrations/providers/google-calendar.js +0 -66
  99. package/dist/libs/contracts/dist/integrations/providers/index.js +0 -11
  100. package/dist/libs/contracts/dist/integrations/providers/mistral.js +0 -68
  101. package/dist/libs/contracts/dist/integrations/providers/postmark.js +0 -68
  102. package/dist/libs/contracts/dist/integrations/providers/powens.js +0 -116
  103. package/dist/libs/contracts/dist/integrations/providers/qdrant.js +0 -73
  104. package/dist/libs/contracts/dist/integrations/providers/registry.js +0 -10
  105. package/dist/libs/contracts/dist/integrations/providers/stripe.js +0 -83
  106. package/dist/libs/contracts/dist/integrations/providers/twilio-sms.js +0 -61
  107. package/dist/libs/contracts/dist/jsonschema.js +0 -1
  108. package/dist/libs/contracts/dist/knowledge/contracts.js +0 -306
  109. package/dist/libs/contracts/dist/knowledge/index.js +0 -7
  110. package/dist/libs/contracts/dist/knowledge/spaces/email-threads.js +0 -34
  111. package/dist/libs/contracts/dist/knowledge/spaces/financial-docs.js +0 -34
  112. package/dist/libs/contracts/dist/knowledge/spaces/financial-overview.js +0 -38
  113. package/dist/libs/contracts/dist/knowledge/spaces/index.js +0 -6
  114. package/dist/libs/contracts/dist/knowledge/spaces/product-canon.js +0 -34
  115. package/dist/libs/contracts/dist/knowledge/spaces/support-faq.js +0 -37
  116. package/dist/libs/contracts/dist/knowledge/spaces/uploaded-docs.js +0 -34
  117. package/dist/libs/contracts/dist/llm/exporters.js +0 -19
  118. package/dist/libs/contracts/dist/llm/index.js +0 -2
  119. package/dist/libs/contracts/dist/llm/prompts.js +0 -1
  120. package/dist/libs/contracts/dist/onboarding-base.js +0 -196
  121. package/dist/libs/contracts/dist/openapi.js +0 -1
  122. package/dist/libs/contracts/dist/ownership.js +0 -21
  123. package/dist/libs/contracts/dist/presentations.js +0 -1
  124. package/dist/libs/contracts/dist/presentations.v2.js +0 -11
  125. package/dist/libs/contracts/dist/prompt.js +0 -1
  126. package/dist/libs/contracts/dist/promptRegistry.js +0 -1
  127. package/dist/libs/contracts/dist/regenerator/index.js +0 -1
  128. package/dist/libs/contracts/dist/regenerator/service.js +0 -6
  129. package/dist/libs/contracts/dist/registry.js +0 -2
  130. package/dist/libs/contracts/dist/resources.js +0 -1
  131. package/dist/libs/contracts/dist/schema/dist/EnumType.js +0 -2
  132. package/dist/libs/contracts/dist/schema/dist/FieldType.js +0 -49
  133. package/dist/libs/contracts/dist/schema/dist/ScalarTypeEnum.js +0 -236
  134. package/dist/libs/contracts/dist/schema/dist/SchemaModel.js +0 -34
  135. package/dist/libs/contracts/dist/schema/dist/entity/defineEntity.js +0 -1
  136. package/dist/libs/contracts/dist/schema/dist/entity/index.js +0 -2
  137. package/dist/libs/contracts/dist/schema/dist/entity/types.js +0 -1
  138. package/dist/libs/contracts/dist/schema/dist/index.js +0 -6
  139. package/dist/libs/contracts/dist/server/graphql-pothos.js +0 -6
  140. package/dist/libs/contracts/dist/server/index.js +0 -8
  141. package/dist/libs/contracts/dist/server/mcp/createMcpServer.js +0 -4
  142. package/dist/libs/contracts/dist/server/mcp/registerPresentations.js +0 -2
  143. package/dist/libs/contracts/dist/server/mcp/registerPrompts.js +0 -1
  144. package/dist/libs/contracts/dist/server/mcp/registerResources.js +0 -2
  145. package/dist/libs/contracts/dist/server/mcp/registerTools.js +0 -1
  146. package/dist/libs/contracts/dist/server/provider-mcp.js +0 -1
  147. package/dist/libs/contracts/dist/server/rest-elysia.js +0 -1
  148. package/dist/libs/contracts/dist/server/rest-express.js +0 -1
  149. package/dist/libs/contracts/dist/server/rest-generic.js +0 -1
  150. package/dist/libs/contracts/dist/server/rest-next-app.js +0 -1
  151. package/dist/libs/contracts/dist/server/rest-next-pages.js +0 -1
  152. package/dist/libs/contracts/dist/spec.js +0 -34
  153. package/dist/libs/contracts/dist/telemetry/index.js +0 -1
  154. package/dist/libs/contracts/dist/telemetry/tracker.js +0 -1
  155. package/dist/libs/contracts/dist/tests/index.js +0 -1
  156. package/dist/libs/contracts/dist/tests/runner.js +0 -2
  157. package/dist/libs/contracts/dist/workflow/index.js +0 -1
  158. package/dist/libs/contracts/dist/workflow/runner.js +0 -1
  159. package/dist/libs/schema/dist/EnumType.js +0 -2
  160. package/dist/libs/schema/dist/FieldType.js +0 -49
  161. package/dist/libs/schema/dist/ScalarTypeEnum.js +0 -236
  162. package/dist/libs/schema/dist/SchemaModel.js +0 -39
  163. package/dist/libs/schema/dist/entity/defineEntity.js +0 -236
  164. package/dist/libs/schema/dist/entity/index.js +0 -2
  165. package/dist/libs/schema/dist/entity/types.js +0 -1
  166. package/dist/libs/schema/dist/index.js +0 -6
  167. package/dist/track-spec.d.ts +0 -128
@@ -1,665 +0,0 @@
1
- import * as _lssm_lib_schema1320 from "@lssm/lib.schema";
2
- import * as _lssm_lib_contracts31 from "@lssm/lib.contracts";
3
-
4
- //#region src/contracts/onboarding.d.ts
5
- declare const OnboardingStepModel: _lssm_lib_schema1320.SchemaModel<{
6
- id: {
7
- type: _lssm_lib_schema1320.FieldType<string, string>;
8
- isOptional: false;
9
- };
10
- trackId: {
11
- type: _lssm_lib_schema1320.FieldType<string, string>;
12
- isOptional: false;
13
- };
14
- title: {
15
- type: _lssm_lib_schema1320.FieldType<string, string>;
16
- isOptional: false;
17
- };
18
- description: {
19
- type: _lssm_lib_schema1320.FieldType<string, string>;
20
- isOptional: true;
21
- };
22
- instructions: {
23
- type: _lssm_lib_schema1320.FieldType<string, string>;
24
- isOptional: true;
25
- };
26
- helpUrl: {
27
- type: _lssm_lib_schema1320.FieldType<string, string>;
28
- isOptional: true;
29
- };
30
- order: {
31
- type: _lssm_lib_schema1320.FieldType<number, number>;
32
- isOptional: false;
33
- };
34
- completionEvent: {
35
- type: _lssm_lib_schema1320.FieldType<string, string>;
36
- isOptional: false;
37
- };
38
- completionCondition: {
39
- type: _lssm_lib_schema1320.SchemaModel<{
40
- eventName: {
41
- type: _lssm_lib_schema1320.FieldType<string, string>;
42
- isOptional: false;
43
- };
44
- eventVersion: {
45
- type: _lssm_lib_schema1320.FieldType<number, number>;
46
- isOptional: true;
47
- };
48
- sourceModule: {
49
- type: _lssm_lib_schema1320.FieldType<string, string>;
50
- isOptional: true;
51
- };
52
- payloadFilter: {
53
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
54
- isOptional: true;
55
- };
56
- }>;
57
- isOptional: true;
58
- };
59
- xpReward: {
60
- type: _lssm_lib_schema1320.FieldType<number, number>;
61
- isOptional: true;
62
- };
63
- isRequired: {
64
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
65
- isOptional: true;
66
- };
67
- canSkip: {
68
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
69
- isOptional: true;
70
- };
71
- actionUrl: {
72
- type: _lssm_lib_schema1320.FieldType<string, string>;
73
- isOptional: true;
74
- };
75
- actionLabel: {
76
- type: _lssm_lib_schema1320.FieldType<string, string>;
77
- isOptional: true;
78
- };
79
- metadata: {
80
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
81
- isOptional: true;
82
- };
83
- }>;
84
- declare const OnboardingTrackModel: _lssm_lib_schema1320.SchemaModel<{
85
- id: {
86
- type: _lssm_lib_schema1320.FieldType<string, string>;
87
- isOptional: false;
88
- };
89
- productId: {
90
- type: _lssm_lib_schema1320.FieldType<string, string>;
91
- isOptional: true;
92
- };
93
- name: {
94
- type: _lssm_lib_schema1320.FieldType<string, string>;
95
- isOptional: false;
96
- };
97
- description: {
98
- type: _lssm_lib_schema1320.FieldType<string, string>;
99
- isOptional: true;
100
- };
101
- targetUserSegment: {
102
- type: _lssm_lib_schema1320.FieldType<string, string>;
103
- isOptional: true;
104
- };
105
- targetRole: {
106
- type: _lssm_lib_schema1320.FieldType<string, string>;
107
- isOptional: true;
108
- };
109
- isActive: {
110
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
111
- isOptional: true;
112
- };
113
- isRequired: {
114
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
115
- isOptional: true;
116
- };
117
- canSkip: {
118
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
119
- isOptional: true;
120
- };
121
- totalXp: {
122
- type: _lssm_lib_schema1320.FieldType<number, number>;
123
- isOptional: true;
124
- };
125
- completionXpBonus: {
126
- type: _lssm_lib_schema1320.FieldType<number, number>;
127
- isOptional: true;
128
- };
129
- completionBadgeKey: {
130
- type: _lssm_lib_schema1320.FieldType<string, string>;
131
- isOptional: true;
132
- };
133
- streakHoursWindow: {
134
- type: _lssm_lib_schema1320.FieldType<number, number>;
135
- isOptional: true;
136
- };
137
- streakBonusXp: {
138
- type: _lssm_lib_schema1320.FieldType<number, number>;
139
- isOptional: true;
140
- };
141
- metadata: {
142
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
143
- isOptional: true;
144
- };
145
- steps: {
146
- type: _lssm_lib_schema1320.SchemaModel<{
147
- id: {
148
- type: _lssm_lib_schema1320.FieldType<string, string>;
149
- isOptional: false;
150
- };
151
- trackId: {
152
- type: _lssm_lib_schema1320.FieldType<string, string>;
153
- isOptional: false;
154
- };
155
- title: {
156
- type: _lssm_lib_schema1320.FieldType<string, string>;
157
- isOptional: false;
158
- };
159
- description: {
160
- type: _lssm_lib_schema1320.FieldType<string, string>;
161
- isOptional: true;
162
- };
163
- instructions: {
164
- type: _lssm_lib_schema1320.FieldType<string, string>;
165
- isOptional: true;
166
- };
167
- helpUrl: {
168
- type: _lssm_lib_schema1320.FieldType<string, string>;
169
- isOptional: true;
170
- };
171
- order: {
172
- type: _lssm_lib_schema1320.FieldType<number, number>;
173
- isOptional: false;
174
- };
175
- completionEvent: {
176
- type: _lssm_lib_schema1320.FieldType<string, string>;
177
- isOptional: false;
178
- };
179
- completionCondition: {
180
- type: _lssm_lib_schema1320.SchemaModel<{
181
- eventName: {
182
- type: _lssm_lib_schema1320.FieldType<string, string>;
183
- isOptional: false;
184
- };
185
- eventVersion: {
186
- type: _lssm_lib_schema1320.FieldType<number, number>;
187
- isOptional: true;
188
- };
189
- sourceModule: {
190
- type: _lssm_lib_schema1320.FieldType<string, string>;
191
- isOptional: true;
192
- };
193
- payloadFilter: {
194
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
195
- isOptional: true;
196
- };
197
- }>;
198
- isOptional: true;
199
- };
200
- xpReward: {
201
- type: _lssm_lib_schema1320.FieldType<number, number>;
202
- isOptional: true;
203
- };
204
- isRequired: {
205
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
206
- isOptional: true;
207
- };
208
- canSkip: {
209
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
210
- isOptional: true;
211
- };
212
- actionUrl: {
213
- type: _lssm_lib_schema1320.FieldType<string, string>;
214
- isOptional: true;
215
- };
216
- actionLabel: {
217
- type: _lssm_lib_schema1320.FieldType<string, string>;
218
- isOptional: true;
219
- };
220
- metadata: {
221
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
222
- isOptional: true;
223
- };
224
- }>;
225
- isArray: true;
226
- isOptional: false;
227
- };
228
- }>;
229
- declare const OnboardingStepProgressModel: _lssm_lib_schema1320.SchemaModel<{
230
- stepId: {
231
- type: _lssm_lib_schema1320.FieldType<string, string>;
232
- isOptional: false;
233
- };
234
- status: {
235
- type: _lssm_lib_schema1320.FieldType<string, string>;
236
- isOptional: false;
237
- };
238
- xpEarned: {
239
- type: _lssm_lib_schema1320.FieldType<number, number>;
240
- isOptional: true;
241
- };
242
- triggeringEvent: {
243
- type: _lssm_lib_schema1320.FieldType<string, string>;
244
- isOptional: true;
245
- };
246
- eventPayload: {
247
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
248
- isOptional: true;
249
- };
250
- completedAt: {
251
- type: _lssm_lib_schema1320.FieldType<Date, string>;
252
- isOptional: true;
253
- };
254
- }>;
255
- declare const OnboardingProgressModel: _lssm_lib_schema1320.SchemaModel<{
256
- learnerId: {
257
- type: _lssm_lib_schema1320.FieldType<string, string>;
258
- isOptional: true;
259
- };
260
- trackId: {
261
- type: _lssm_lib_schema1320.FieldType<string, string>;
262
- isOptional: false;
263
- };
264
- progress: {
265
- type: _lssm_lib_schema1320.FieldType<number, number>;
266
- isOptional: false;
267
- };
268
- isCompleted: {
269
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
270
- isOptional: false;
271
- };
272
- xpEarned: {
273
- type: _lssm_lib_schema1320.FieldType<number, number>;
274
- isOptional: true;
275
- };
276
- startedAt: {
277
- type: _lssm_lib_schema1320.FieldType<Date, string>;
278
- isOptional: true;
279
- };
280
- completedAt: {
281
- type: _lssm_lib_schema1320.FieldType<Date, string>;
282
- isOptional: true;
283
- };
284
- lastActivityAt: {
285
- type: _lssm_lib_schema1320.FieldType<Date, string>;
286
- isOptional: true;
287
- };
288
- steps: {
289
- type: _lssm_lib_schema1320.SchemaModel<{
290
- stepId: {
291
- type: _lssm_lib_schema1320.FieldType<string, string>;
292
- isOptional: false;
293
- };
294
- status: {
295
- type: _lssm_lib_schema1320.FieldType<string, string>;
296
- isOptional: false;
297
- };
298
- xpEarned: {
299
- type: _lssm_lib_schema1320.FieldType<number, number>;
300
- isOptional: true;
301
- };
302
- triggeringEvent: {
303
- type: _lssm_lib_schema1320.FieldType<string, string>;
304
- isOptional: true;
305
- };
306
- eventPayload: {
307
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
308
- isOptional: true;
309
- };
310
- completedAt: {
311
- type: _lssm_lib_schema1320.FieldType<Date, string>;
312
- isOptional: true;
313
- };
314
- }>;
315
- isArray: true;
316
- isOptional: true;
317
- };
318
- }>;
319
- declare const ListOnboardingTracksContract: _lssm_lib_contracts31.ContractSpec<_lssm_lib_schema1320.SchemaModel<{
320
- learnerId: {
321
- type: _lssm_lib_schema1320.FieldType<string, string>;
322
- isOptional: true;
323
- };
324
- productId: {
325
- type: _lssm_lib_schema1320.FieldType<string, string>;
326
- isOptional: true;
327
- };
328
- trackIds: {
329
- type: _lssm_lib_schema1320.FieldType<string, string>;
330
- isArray: true;
331
- isOptional: true;
332
- };
333
- includeProgress: {
334
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
335
- isOptional: true;
336
- };
337
- }>, _lssm_lib_schema1320.SchemaModel<{
338
- tracks: {
339
- type: _lssm_lib_schema1320.SchemaModel<{
340
- id: {
341
- type: _lssm_lib_schema1320.FieldType<string, string>;
342
- isOptional: false;
343
- };
344
- productId: {
345
- type: _lssm_lib_schema1320.FieldType<string, string>;
346
- isOptional: true;
347
- };
348
- name: {
349
- type: _lssm_lib_schema1320.FieldType<string, string>;
350
- isOptional: false;
351
- };
352
- description: {
353
- type: _lssm_lib_schema1320.FieldType<string, string>;
354
- isOptional: true;
355
- };
356
- targetUserSegment: {
357
- type: _lssm_lib_schema1320.FieldType<string, string>;
358
- isOptional: true;
359
- };
360
- targetRole: {
361
- type: _lssm_lib_schema1320.FieldType<string, string>;
362
- isOptional: true;
363
- };
364
- isActive: {
365
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
366
- isOptional: true;
367
- };
368
- isRequired: {
369
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
370
- isOptional: true;
371
- };
372
- canSkip: {
373
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
374
- isOptional: true;
375
- };
376
- totalXp: {
377
- type: _lssm_lib_schema1320.FieldType<number, number>;
378
- isOptional: true;
379
- };
380
- completionXpBonus: {
381
- type: _lssm_lib_schema1320.FieldType<number, number>;
382
- isOptional: true;
383
- };
384
- completionBadgeKey: {
385
- type: _lssm_lib_schema1320.FieldType<string, string>;
386
- isOptional: true;
387
- };
388
- streakHoursWindow: {
389
- type: _lssm_lib_schema1320.FieldType<number, number>;
390
- isOptional: true;
391
- };
392
- streakBonusXp: {
393
- type: _lssm_lib_schema1320.FieldType<number, number>;
394
- isOptional: true;
395
- };
396
- metadata: {
397
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
398
- isOptional: true;
399
- };
400
- steps: {
401
- type: _lssm_lib_schema1320.SchemaModel<{
402
- id: {
403
- type: _lssm_lib_schema1320.FieldType<string, string>;
404
- isOptional: false;
405
- };
406
- trackId: {
407
- type: _lssm_lib_schema1320.FieldType<string, string>;
408
- isOptional: false;
409
- };
410
- title: {
411
- type: _lssm_lib_schema1320.FieldType<string, string>;
412
- isOptional: false;
413
- };
414
- description: {
415
- type: _lssm_lib_schema1320.FieldType<string, string>;
416
- isOptional: true;
417
- };
418
- instructions: {
419
- type: _lssm_lib_schema1320.FieldType<string, string>;
420
- isOptional: true;
421
- };
422
- helpUrl: {
423
- type: _lssm_lib_schema1320.FieldType<string, string>;
424
- isOptional: true;
425
- };
426
- order: {
427
- type: _lssm_lib_schema1320.FieldType<number, number>;
428
- isOptional: false;
429
- };
430
- completionEvent: {
431
- type: _lssm_lib_schema1320.FieldType<string, string>;
432
- isOptional: false;
433
- };
434
- completionCondition: {
435
- type: _lssm_lib_schema1320.SchemaModel<{
436
- eventName: {
437
- type: _lssm_lib_schema1320.FieldType<string, string>;
438
- isOptional: false;
439
- };
440
- eventVersion: {
441
- type: _lssm_lib_schema1320.FieldType<number, number>;
442
- isOptional: true;
443
- };
444
- sourceModule: {
445
- type: _lssm_lib_schema1320.FieldType<string, string>;
446
- isOptional: true;
447
- };
448
- payloadFilter: {
449
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
450
- isOptional: true;
451
- };
452
- }>;
453
- isOptional: true;
454
- };
455
- xpReward: {
456
- type: _lssm_lib_schema1320.FieldType<number, number>;
457
- isOptional: true;
458
- };
459
- isRequired: {
460
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
461
- isOptional: true;
462
- };
463
- canSkip: {
464
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
465
- isOptional: true;
466
- };
467
- actionUrl: {
468
- type: _lssm_lib_schema1320.FieldType<string, string>;
469
- isOptional: true;
470
- };
471
- actionLabel: {
472
- type: _lssm_lib_schema1320.FieldType<string, string>;
473
- isOptional: true;
474
- };
475
- metadata: {
476
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
477
- isOptional: true;
478
- };
479
- }>;
480
- isArray: true;
481
- isOptional: false;
482
- };
483
- }>;
484
- isArray: true;
485
- isOptional: false;
486
- };
487
- progress: {
488
- type: _lssm_lib_schema1320.SchemaModel<{
489
- learnerId: {
490
- type: _lssm_lib_schema1320.FieldType<string, string>;
491
- isOptional: true;
492
- };
493
- trackId: {
494
- type: _lssm_lib_schema1320.FieldType<string, string>;
495
- isOptional: false;
496
- };
497
- progress: {
498
- type: _lssm_lib_schema1320.FieldType<number, number>;
499
- isOptional: false;
500
- };
501
- isCompleted: {
502
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
503
- isOptional: false;
504
- };
505
- xpEarned: {
506
- type: _lssm_lib_schema1320.FieldType<number, number>;
507
- isOptional: true;
508
- };
509
- startedAt: {
510
- type: _lssm_lib_schema1320.FieldType<Date, string>;
511
- isOptional: true;
512
- };
513
- completedAt: {
514
- type: _lssm_lib_schema1320.FieldType<Date, string>;
515
- isOptional: true;
516
- };
517
- lastActivityAt: {
518
- type: _lssm_lib_schema1320.FieldType<Date, string>;
519
- isOptional: true;
520
- };
521
- steps: {
522
- type: _lssm_lib_schema1320.SchemaModel<{
523
- stepId: {
524
- type: _lssm_lib_schema1320.FieldType<string, string>;
525
- isOptional: false;
526
- };
527
- status: {
528
- type: _lssm_lib_schema1320.FieldType<string, string>;
529
- isOptional: false;
530
- };
531
- xpEarned: {
532
- type: _lssm_lib_schema1320.FieldType<number, number>;
533
- isOptional: true;
534
- };
535
- triggeringEvent: {
536
- type: _lssm_lib_schema1320.FieldType<string, string>;
537
- isOptional: true;
538
- };
539
- eventPayload: {
540
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
541
- isOptional: true;
542
- };
543
- completedAt: {
544
- type: _lssm_lib_schema1320.FieldType<Date, string>;
545
- isOptional: true;
546
- };
547
- }>;
548
- isArray: true;
549
- isOptional: true;
550
- };
551
- }>;
552
- isArray: true;
553
- isOptional: true;
554
- };
555
- }>, undefined>;
556
- declare const GetOnboardingProgressContract: _lssm_lib_contracts31.ContractSpec<_lssm_lib_schema1320.SchemaModel<{
557
- trackId: {
558
- type: _lssm_lib_schema1320.FieldType<string, string>;
559
- isOptional: false;
560
- };
561
- learnerId: {
562
- type: _lssm_lib_schema1320.FieldType<string, string>;
563
- isOptional: true;
564
- };
565
- }>, _lssm_lib_schema1320.SchemaModel<{
566
- learnerId: {
567
- type: _lssm_lib_schema1320.FieldType<string, string>;
568
- isOptional: true;
569
- };
570
- trackId: {
571
- type: _lssm_lib_schema1320.FieldType<string, string>;
572
- isOptional: false;
573
- };
574
- progress: {
575
- type: _lssm_lib_schema1320.FieldType<number, number>;
576
- isOptional: false;
577
- };
578
- isCompleted: {
579
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
580
- isOptional: false;
581
- };
582
- xpEarned: {
583
- type: _lssm_lib_schema1320.FieldType<number, number>;
584
- isOptional: true;
585
- };
586
- startedAt: {
587
- type: _lssm_lib_schema1320.FieldType<Date, string>;
588
- isOptional: true;
589
- };
590
- completedAt: {
591
- type: _lssm_lib_schema1320.FieldType<Date, string>;
592
- isOptional: true;
593
- };
594
- lastActivityAt: {
595
- type: _lssm_lib_schema1320.FieldType<Date, string>;
596
- isOptional: true;
597
- };
598
- steps: {
599
- type: _lssm_lib_schema1320.SchemaModel<{
600
- stepId: {
601
- type: _lssm_lib_schema1320.FieldType<string, string>;
602
- isOptional: false;
603
- };
604
- status: {
605
- type: _lssm_lib_schema1320.FieldType<string, string>;
606
- isOptional: false;
607
- };
608
- xpEarned: {
609
- type: _lssm_lib_schema1320.FieldType<number, number>;
610
- isOptional: true;
611
- };
612
- triggeringEvent: {
613
- type: _lssm_lib_schema1320.FieldType<string, string>;
614
- isOptional: true;
615
- };
616
- eventPayload: {
617
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
618
- isOptional: true;
619
- };
620
- completedAt: {
621
- type: _lssm_lib_schema1320.FieldType<Date, string>;
622
- isOptional: true;
623
- };
624
- }>;
625
- isArray: true;
626
- isOptional: true;
627
- };
628
- }>, undefined>;
629
- declare const RecordOnboardingEventContract: _lssm_lib_contracts31.ContractSpec<_lssm_lib_schema1320.SchemaModel<{
630
- learnerId: {
631
- type: _lssm_lib_schema1320.FieldType<string, string>;
632
- isOptional: false;
633
- };
634
- trackId: {
635
- type: _lssm_lib_schema1320.FieldType<string, string>;
636
- isOptional: true;
637
- };
638
- eventName: {
639
- type: _lssm_lib_schema1320.FieldType<string, string>;
640
- isOptional: false;
641
- };
642
- eventVersion: {
643
- type: _lssm_lib_schema1320.FieldType<number, number>;
644
- isOptional: true;
645
- };
646
- eventPayload: {
647
- type: _lssm_lib_schema1320.FieldType<unknown, unknown>;
648
- isOptional: true;
649
- };
650
- occurredAt: {
651
- type: _lssm_lib_schema1320.FieldType<Date, string>;
652
- isOptional: true;
653
- };
654
- }>, _lssm_lib_schema1320.SchemaModel<{
655
- success: {
656
- type: _lssm_lib_schema1320.FieldType<boolean, boolean>;
657
- isOptional: false;
658
- };
659
- xpEarned: {
660
- type: _lssm_lib_schema1320.FieldType<number, number>;
661
- isOptional: true;
662
- };
663
- }>, undefined>;
664
- //#endregion
665
- export { GetOnboardingProgressContract, ListOnboardingTracksContract, OnboardingProgressModel, OnboardingStepModel, OnboardingStepProgressModel, OnboardingTrackModel, RecordOnboardingEventContract };