@timeback/powerpath 0.1.4 → 0.1.5-beta.20260219190739
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/errors.js +54 -2
- package/dist/index.d.ts +310 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +514 -164
- package/dist/public-types.d.ts +305 -8
- package/dist/resources/assessment.d.ts +6 -6
- package/dist/resources/assessment.d.ts.map +1 -1
- package/package.json +1 -1
package/dist/public-types.d.ts
CHANGED
|
@@ -19,6 +19,16 @@ type TestAssignmentStatus =
|
|
|
19
19
|
| 'expired'
|
|
20
20
|
| 'cancelled'
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* Lesson types for PowerPath assessments.
|
|
24
|
+
*/
|
|
25
|
+
type PowerPathLessonType = 'powerpath-100' | 'quiz' | 'test-out' | 'placement' | 'unit-test'
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Question difficulty levels.
|
|
29
|
+
*/
|
|
30
|
+
type PowerPathQuestionDifficulty = 'easy' | 'medium' | 'hard'
|
|
31
|
+
|
|
22
32
|
/**
|
|
23
33
|
* Lesson plan operation types.
|
|
24
34
|
*/
|
|
@@ -113,6 +123,67 @@ interface BulkResult {
|
|
|
113
123
|
errors: Array<{ row: number; message: string }>
|
|
114
124
|
}
|
|
115
125
|
|
|
126
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
127
|
+
// QUESTIONS
|
|
128
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
129
|
+
|
|
130
|
+
/**
|
|
131
|
+
* QTI content associated with a question.
|
|
132
|
+
*/
|
|
133
|
+
interface PowerPathQuestionContent {
|
|
134
|
+
/** The type of the question (e.g., choiceInteraction) */
|
|
135
|
+
type?: string
|
|
136
|
+
/** The raw XML question in QTI format */
|
|
137
|
+
rawXml: string
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
/**
|
|
141
|
+
* Result of evaluating a student's response to a question.
|
|
142
|
+
*/
|
|
143
|
+
interface PowerPathQuestionResult {
|
|
144
|
+
/** Score assigned considering the student's response */
|
|
145
|
+
score: number
|
|
146
|
+
/** Feedback text for the question */
|
|
147
|
+
feedback: string
|
|
148
|
+
/** Outcome variables from response processing */
|
|
149
|
+
outcomes?: Record<string, string>
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* A question in a PowerPath test.
|
|
154
|
+
*
|
|
155
|
+
* Represents a question with its metadata, optional QTI content,
|
|
156
|
+
* and (when answered) the student's response and result.
|
|
157
|
+
*/
|
|
158
|
+
interface PowerPathTestQuestion {
|
|
159
|
+
/** ID that represents the question in the test */
|
|
160
|
+
id: string
|
|
161
|
+
/** Index of the question in the test */
|
|
162
|
+
index: number
|
|
163
|
+
/** Title of the question */
|
|
164
|
+
title: string
|
|
165
|
+
/** URL of the QTI question */
|
|
166
|
+
url: string
|
|
167
|
+
/** Difficulty of the question */
|
|
168
|
+
difficulty: PowerPathQuestionDifficulty
|
|
169
|
+
/** Whether the question has been approved by a human */
|
|
170
|
+
humanApproved?: boolean | null
|
|
171
|
+
/** QTI content of the question */
|
|
172
|
+
content?: PowerPathQuestionContent
|
|
173
|
+
/** Student's response (single value or array) */
|
|
174
|
+
response?: string | string[]
|
|
175
|
+
/** Student's responses keyed by response identifier */
|
|
176
|
+
responses?: Record<string, string | string[]>
|
|
177
|
+
/** Whether the student's response is correct */
|
|
178
|
+
correct?: boolean
|
|
179
|
+
/** Result of evaluating the response */
|
|
180
|
+
result?: PowerPathQuestionResult
|
|
181
|
+
/** sourcedId of the AssessmentResult for this question attempt */
|
|
182
|
+
resultId?: string
|
|
183
|
+
/** Learning objective IDs associated with the question */
|
|
184
|
+
learningObjectives?: string[]
|
|
185
|
+
}
|
|
186
|
+
|
|
116
187
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
117
188
|
// ASSESSMENTS
|
|
118
189
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
@@ -148,21 +219,247 @@ interface GetAttemptsResponse {
|
|
|
148
219
|
attempts: Attempt[]
|
|
149
220
|
}
|
|
150
221
|
|
|
222
|
+
/**
|
|
223
|
+
* Result from resetting an attempt.
|
|
224
|
+
*/
|
|
225
|
+
interface ResetAttemptResponse {
|
|
226
|
+
success: boolean
|
|
227
|
+
score: number
|
|
228
|
+
}
|
|
229
|
+
|
|
230
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
231
|
+
// ASSESSMENT PROGRESS (getAssessmentProgress)
|
|
232
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* Progress for a PowerPath 100 lesson.
|
|
236
|
+
*
|
|
237
|
+
* Uses `seenQuestions` (not `questions`) and includes remaining question counts
|
|
238
|
+
* per difficulty level.
|
|
239
|
+
*/
|
|
240
|
+
interface PowerPath100ProgressResponse {
|
|
241
|
+
lessonType: 'powerpath-100'
|
|
242
|
+
/** Remaining question counts per difficulty level */
|
|
243
|
+
remainingQuestionsPerDifficulty: {
|
|
244
|
+
easy: number
|
|
245
|
+
medium: number
|
|
246
|
+
hard: number
|
|
247
|
+
}
|
|
248
|
+
/** Current score for this attempt */
|
|
249
|
+
score: number
|
|
250
|
+
/** Questions the student has seen */
|
|
251
|
+
seenQuestions: PowerPathTestQuestion[]
|
|
252
|
+
/** sourcedId of the parent test AssessmentResult */
|
|
253
|
+
testResultId?: string
|
|
254
|
+
/** Attempt number */
|
|
255
|
+
attempt: number
|
|
256
|
+
/** XP earned in the lesson */
|
|
257
|
+
xp: number | null
|
|
258
|
+
/** Multiplier for XP */
|
|
259
|
+
multiplier: number | null
|
|
260
|
+
/** Accuracy of the student's attempted questions */
|
|
261
|
+
accuracy: number
|
|
262
|
+
/** Number of correct questions answered */
|
|
263
|
+
correctQuestions: number
|
|
264
|
+
/** Total number of questions in the lesson */
|
|
265
|
+
totalQuestions: number
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* Progress for quiz, test-out, placement, or unit-test lessons.
|
|
270
|
+
*
|
|
271
|
+
* Uses `questions` (not `seenQuestions`). Includes `finalized` to indicate
|
|
272
|
+
* whether the lesson has been completed.
|
|
273
|
+
*/
|
|
274
|
+
interface StandardProgressResponse {
|
|
275
|
+
lessonType: 'quiz' | 'test-out' | 'placement' | 'unit-test'
|
|
276
|
+
/** Whether the lesson has been finalized in the current attempt */
|
|
277
|
+
finalized: boolean
|
|
278
|
+
/** Current score for this attempt */
|
|
279
|
+
score?: number
|
|
280
|
+
/** Questions in the test */
|
|
281
|
+
questions: PowerPathTestQuestion[]
|
|
282
|
+
/** Tool provider of the lesson if external */
|
|
283
|
+
toolProvider: string | null
|
|
284
|
+
/** Whether auto-enrollment failed (only for finalized external tests) */
|
|
285
|
+
enrollmentFailed?: boolean
|
|
286
|
+
/** sourcedId of the parent test AssessmentResult */
|
|
287
|
+
testResultId?: string
|
|
288
|
+
/** Attempt number */
|
|
289
|
+
attempt: number
|
|
290
|
+
/** XP earned in the lesson */
|
|
291
|
+
xp: number | null
|
|
292
|
+
/** Multiplier for XP */
|
|
293
|
+
multiplier: number | null
|
|
294
|
+
/** Accuracy of the student's attempted questions */
|
|
295
|
+
accuracy: number
|
|
296
|
+
/** Number of correct questions answered */
|
|
297
|
+
correctQuestions: number
|
|
298
|
+
/** Total number of questions in the lesson */
|
|
299
|
+
totalQuestions: number
|
|
300
|
+
}
|
|
301
|
+
|
|
151
302
|
/**
|
|
152
303
|
* Result from getting assessment progress.
|
|
153
|
-
*
|
|
304
|
+
*
|
|
305
|
+
* Discriminated union on `lessonType`:
|
|
306
|
+
* - `'powerpath-100'` — uses `seenQuestions` and `remainingQuestionsPerDifficulty`
|
|
307
|
+
* - `'quiz' | 'test-out' | 'placement' | 'unit-test'` — uses `questions` and `finalized`
|
|
154
308
|
*/
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
309
|
+
type GetAssessmentProgressResponse = PowerPath100ProgressResponse | StandardProgressResponse
|
|
310
|
+
|
|
311
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
312
|
+
// GET NEXT QUESTION (getNextQuestion)
|
|
313
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* Result from getting the next question in a PowerPath 100 lesson.
|
|
317
|
+
*/
|
|
318
|
+
interface GetNextQuestionResponse {
|
|
319
|
+
/** Current PowerPath score of the student in this lesson */
|
|
320
|
+
score: number
|
|
321
|
+
/** The next question to present */
|
|
322
|
+
question: PowerPathTestQuestion
|
|
158
323
|
}
|
|
159
324
|
|
|
325
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
326
|
+
// UPDATE STUDENT QUESTION RESPONSE (updateStudentQuestionResponse)
|
|
327
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
328
|
+
|
|
160
329
|
/**
|
|
161
|
-
*
|
|
330
|
+
* Response feedback for a student's answer.
|
|
162
331
|
*/
|
|
163
|
-
interface
|
|
164
|
-
|
|
332
|
+
interface ResponseResultFeedback {
|
|
333
|
+
identifier?: string
|
|
334
|
+
value?: string
|
|
335
|
+
}
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Result of processing a student's response.
|
|
339
|
+
*/
|
|
340
|
+
interface ResponseResult {
|
|
341
|
+
/** Whether the student's response is correct */
|
|
342
|
+
isCorrect: boolean
|
|
343
|
+
/** Score for this specific response (0 or 1) */
|
|
165
344
|
score: number
|
|
345
|
+
/** Optional feedback */
|
|
346
|
+
feedback?: ResponseResultFeedback
|
|
347
|
+
}
|
|
348
|
+
|
|
349
|
+
/**
|
|
350
|
+
* Result from updating a student's response in a PowerPath 100 lesson.
|
|
351
|
+
*
|
|
352
|
+
* Includes the updated PowerPath score, response correctness, and accuracy stats.
|
|
353
|
+
*/
|
|
354
|
+
interface PowerPath100UpdateResponseResult {
|
|
355
|
+
lessonType: 'powerpath-100'
|
|
356
|
+
/** Updated PowerPath score */
|
|
357
|
+
powerpathScore: number
|
|
358
|
+
/** Result of processing the response */
|
|
359
|
+
responseResult: ResponseResult
|
|
360
|
+
/** Assessment result for the question (for debugging) */
|
|
361
|
+
questionResult?: unknown
|
|
362
|
+
/** Assessment result for the test (for debugging) */
|
|
363
|
+
testResult?: unknown
|
|
364
|
+
/** Accuracy of the student's attempted questions */
|
|
365
|
+
accuracy: number
|
|
366
|
+
/** Number of correct questions answered */
|
|
367
|
+
correctQuestions: number
|
|
368
|
+
/** Total number of questions */
|
|
369
|
+
totalQuestions: number
|
|
370
|
+
/** XP earned */
|
|
371
|
+
xp: number | null
|
|
372
|
+
/** XP multiplier */
|
|
373
|
+
multiplier: number | null
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
/**
|
|
377
|
+
* Result from updating a student's response in a quiz/test-out/placement/unit-test lesson.
|
|
378
|
+
*
|
|
379
|
+
* Minimal response — correctness is evaluated at finalization.
|
|
380
|
+
*/
|
|
381
|
+
interface StandardUpdateResponseResult {
|
|
382
|
+
lessonType: 'quiz' | 'test-out' | 'placement' | 'unit-test'
|
|
383
|
+
/** Assessment result for the question (for debugging) */
|
|
384
|
+
questionResult?: unknown
|
|
385
|
+
}
|
|
386
|
+
|
|
387
|
+
/**
|
|
388
|
+
* Result from updating a student question response.
|
|
389
|
+
*
|
|
390
|
+
* Discriminated union on `lessonType`:
|
|
391
|
+
* - `'powerpath-100'` — includes score, accuracy, and response correctness
|
|
392
|
+
* - Other lesson types — minimal, evaluated at finalization
|
|
393
|
+
*/
|
|
394
|
+
type UpdateStudentQuestionResponseResult =
|
|
395
|
+
| PowerPath100UpdateResponseResult
|
|
396
|
+
| StandardUpdateResponseResult
|
|
397
|
+
|
|
398
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
399
|
+
// FINALIZE ASSESSMENT (finalStudentAssessmentResponse)
|
|
400
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Result from finalizing a test assessment.
|
|
404
|
+
*
|
|
405
|
+
* Returned after all questions have been answered and the lesson is
|
|
406
|
+
* evaluated. Not applicable to `powerpath-100` or external test lessons.
|
|
407
|
+
*/
|
|
408
|
+
interface FinalizeAssessmentResponse {
|
|
409
|
+
/** Type of the lesson that was finalized */
|
|
410
|
+
lessonType: PowerPathLessonType
|
|
411
|
+
/** Whether the lesson has been finalized */
|
|
412
|
+
finalized: boolean
|
|
413
|
+
/** The attempt number */
|
|
414
|
+
attempt: number
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
418
|
+
// TEST OUT (testOut)
|
|
419
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
420
|
+
|
|
421
|
+
/**
|
|
422
|
+
* Result from getting the test-out lesson for a student/course.
|
|
423
|
+
*
|
|
424
|
+
* Returns the test-out lesson reference, finalization status,
|
|
425
|
+
* and optional external tool credentials.
|
|
426
|
+
*/
|
|
427
|
+
interface TestOutResponse {
|
|
428
|
+
lessonType: 'test-out'
|
|
429
|
+
/** ID of the test-out lesson, or null if none exists */
|
|
430
|
+
lessonId: string | null
|
|
431
|
+
/** Whether the test-out has been finalized in the current attempt */
|
|
432
|
+
finalized: boolean
|
|
433
|
+
/** Tool provider for the test-out lesson, or null if internal */
|
|
434
|
+
toolProvider: string | null
|
|
435
|
+
/** Attempt number */
|
|
436
|
+
attempt?: number
|
|
437
|
+
/** Credentials for accessing the assigned test on external tool */
|
|
438
|
+
credentials?: {
|
|
439
|
+
email: string
|
|
440
|
+
password: string
|
|
441
|
+
}
|
|
442
|
+
/** Assignment ID on external tool for results retrieval */
|
|
443
|
+
assignmentId?: string
|
|
444
|
+
/** Class ID on external tool for results retrieval */
|
|
445
|
+
classId?: string
|
|
446
|
+
/** URL of the test on external tool */
|
|
447
|
+
testUrl?: string
|
|
448
|
+
/** ID of the test on external tool */
|
|
449
|
+
testId?: string
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
453
|
+
// IMPORT EXTERNAL RESULTS (importExternalTestAssignmentResults)
|
|
454
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* Result from importing external test assignment results.
|
|
458
|
+
*
|
|
459
|
+
* Response shape varies by tool provider. Contains at minimum a success indicator.
|
|
460
|
+
*/
|
|
461
|
+
interface ImportExternalResultsResponse {
|
|
462
|
+
[key: string]: unknown
|
|
166
463
|
}
|
|
167
464
|
|
|
168
465
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
@@ -657,4 +954,4 @@ type ImportExternalTestAssignmentResultsParams = input<
|
|
|
657
954
|
type PlacementQueryParams = input<typeof PowerPathPlacementQueryParams>
|
|
658
955
|
type SyllabusQueryParams = input<typeof PowerPathSyllabusQueryParams>
|
|
659
956
|
|
|
660
|
-
export type { AssignmentResult, Attempt, BulkResult, CourseProgressResponse, CreateAttemptResponse, CreateExternalPlacementTestInput, CreateExternalTestOutInput, CreateInternalTestInput, CreateNewAttemptInput, ExternalTestCreateResponse, FinalStudentAssessmentResponseInput, GetAllPlacementTestsResponse, GetAssessmentProgressParams, GetAssessmentProgressResponse, GetAttemptsParams, GetAttemptsResponse, GetCurrentLevelResponse, GetNextPlacementTestResponse, GetNextQuestionParams, GetSubjectProgressResponse, ImportExternalTestAssignmentResultsParams, LessonPlanCourseSyncResult, LessonPlanCreateResponse, LessonPlanOperation, LessonPlanOperationInput, LessonPlanOperationResult, LessonPlanOperationType, LessonPlanOperationsInput, LessonPlanOperationsResponse, LessonPlanResponse, LessonPlanSyncResult, LessonPlanUpdateStudentItemResponseInput, LessonPlansCreateInput, MakeExternalTestAssignmentInput, PaginationMeta, PlacementQueryParams, PlacementResetUserPlacementInput, ResetAttemptInput, ResetAttemptResponse, ResetPlacementResponse, ScreeningAssignTestInput, ScreeningAssignTestResponse, ScreeningResetSessionInput, ScreeningResetSessionResponse, ScreeningResultsResponse, ScreeningSessionResponse, SyllabusQueryParams, SyllabusResponse, TestAssignment, TestAssignmentStatus, TestAssignmentsAdminParams, TestAssignmentsBulkInput, TestAssignmentsCreateInput, TestAssignmentsImportInput, TestAssignmentsListParams, TestAssignmentsListResponse, TestAssignmentsUpdateInput, TestOutParams, UpdateStudentItemResponseResult, UpdateStudentQuestionResponseInput };
|
|
957
|
+
export type { AssignmentResult, Attempt, BulkResult, CourseProgressResponse, CreateAttemptResponse, CreateExternalPlacementTestInput, CreateExternalTestOutInput, CreateInternalTestInput, CreateNewAttemptInput, ExternalTestCreateResponse, FinalStudentAssessmentResponseInput, FinalizeAssessmentResponse, GetAllPlacementTestsResponse, GetAssessmentProgressParams, GetAssessmentProgressResponse, GetAttemptsParams, GetAttemptsResponse, GetCurrentLevelResponse, GetNextPlacementTestResponse, GetNextQuestionParams, GetNextQuestionResponse, GetSubjectProgressResponse, ImportExternalResultsResponse, ImportExternalTestAssignmentResultsParams, LessonPlanCourseSyncResult, LessonPlanCreateResponse, LessonPlanOperation, LessonPlanOperationInput, LessonPlanOperationResult, LessonPlanOperationType, LessonPlanOperationsInput, LessonPlanOperationsResponse, LessonPlanResponse, LessonPlanSyncResult, LessonPlanUpdateStudentItemResponseInput, LessonPlansCreateInput, MakeExternalTestAssignmentInput, PaginationMeta, PlacementQueryParams, PlacementResetUserPlacementInput, PowerPath100ProgressResponse, PowerPath100UpdateResponseResult, PowerPathLessonType, PowerPathQuestionContent, PowerPathQuestionDifficulty, PowerPathQuestionResult, PowerPathTestQuestion, ResetAttemptInput, ResetAttemptResponse, ResetPlacementResponse, ResponseResult, ResponseResultFeedback, ScreeningAssignTestInput, ScreeningAssignTestResponse, ScreeningResetSessionInput, ScreeningResetSessionResponse, ScreeningResultsResponse, ScreeningSessionResponse, StandardProgressResponse, StandardUpdateResponseResult, SyllabusQueryParams, SyllabusResponse, TestAssignment, TestAssignmentStatus, TestAssignmentsAdminParams, TestAssignmentsBulkInput, TestAssignmentsCreateInput, TestAssignmentsImportInput, TestAssignmentsListParams, TestAssignmentsListResponse, TestAssignmentsUpdateInput, TestOutParams, TestOutResponse, UpdateStudentItemResponseResult, UpdateStudentQuestionResponseInput, UpdateStudentQuestionResponseResult };
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* PowerPath assessment operations: tests, attempts, and responses.
|
|
5
5
|
*/
|
|
6
|
-
import type { CreateAttemptResponse, ExternalTestCreateResponse, GetAssessmentProgressResponse, GetAttemptsResponse, ResetAttemptResponse } from '@timeback/types/protocols/powerpath';
|
|
6
|
+
import type { CreateAttemptResponse, ExternalTestCreateResponse, FinalizeAssessmentResponse, GetAssessmentProgressResponse, GetAttemptsResponse, GetNextQuestionResponse, ImportExternalResultsResponse, ResetAttemptResponse, TestOutResponse, UpdateStudentQuestionResponseResult } from '@timeback/types/protocols/powerpath';
|
|
7
7
|
import type { CreateExternalPlacementTestInput, CreateExternalTestOutInput, CreateInternalTestInput, CreateNewAttemptInput, FinalStudentAssessmentResponseInput, GetAssessmentProgressParams, GetAttemptsParams, GetNextQuestionParams, ImportExternalTestAssignmentResultsParams, MakeExternalTestAssignmentInput, ResetAttemptInput, TestOutParams, UpdateStudentQuestionResponseInput } from '@timeback/types/zod';
|
|
8
8
|
import type { PowerPathTransportLike } from '../types';
|
|
9
9
|
/**
|
|
@@ -16,14 +16,14 @@ export declare class AssessmentResource {
|
|
|
16
16
|
createExternalTestOut(input: CreateExternalTestOutInput): Promise<ExternalTestCreateResponse>;
|
|
17
17
|
createInternalTest(input: CreateInternalTestInput): Promise<ExternalTestCreateResponse>;
|
|
18
18
|
createNewAttempt(input: CreateNewAttemptInput): Promise<CreateAttemptResponse>;
|
|
19
|
-
finalStudentAssessmentResponse(input: FinalStudentAssessmentResponseInput): Promise<
|
|
19
|
+
finalStudentAssessmentResponse(input: FinalStudentAssessmentResponseInput): Promise<FinalizeAssessmentResponse>;
|
|
20
20
|
getAssessmentProgress(params: GetAssessmentProgressParams): Promise<GetAssessmentProgressResponse>;
|
|
21
21
|
getAttempts(params: GetAttemptsParams): Promise<GetAttemptsResponse>;
|
|
22
|
-
getNextQuestion(params: GetNextQuestionParams): Promise<
|
|
23
|
-
importExternalTestAssignmentResults(params: ImportExternalTestAssignmentResultsParams): Promise<
|
|
22
|
+
getNextQuestion(params: GetNextQuestionParams): Promise<GetNextQuestionResponse>;
|
|
23
|
+
importExternalTestAssignmentResults(params: ImportExternalTestAssignmentResultsParams): Promise<ImportExternalResultsResponse>;
|
|
24
24
|
makeExternalTestAssignment(input: MakeExternalTestAssignmentInput): Promise<ExternalTestCreateResponse>;
|
|
25
25
|
resetAttempt(input: ResetAttemptInput): Promise<ResetAttemptResponse>;
|
|
26
|
-
testOut(params: TestOutParams): Promise<
|
|
27
|
-
updateStudentQuestionResponse(input: UpdateStudentQuestionResponseInput): Promise<
|
|
26
|
+
testOut(params: TestOutParams): Promise<TestOutResponse>;
|
|
27
|
+
updateStudentQuestionResponse(input: UpdateStudentQuestionResponseInput): Promise<UpdateStudentQuestionResponseResult>;
|
|
28
28
|
}
|
|
29
29
|
//# sourceMappingURL=assessment.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assessment.d.ts","sourceRoot":"","sources":["../../src/resources/assessment.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAmBH,OAAO,KAAK,EACX,qBAAqB,EACrB,0BAA0B,EAC1B,6BAA6B,EAC7B,mBAAmB,EACnB,oBAAoB,EACpB,MAAM,qCAAqC,CAAA;AAC5C,OAAO,KAAK,EACX,gCAAgC,EAChC,0BAA0B,EAC1B,uBAAuB,EACvB,qBAAqB,EACrB,mCAAmC,EACnC,2BAA2B,EAC3B,iBAAiB,EACjB,qBAAqB,EACrB,yCAAyC,EACzC,+BAA+B,EAC/B,iBAAiB,EACjB,aAAa,EACb,kCAAkC,EAClC,MAAM,qBAAqB,CAAA;AAC5B,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAA;AAEtD;;GAEG;AACH,q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