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