@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/errors.js
CHANGED
|
@@ -884,6 +884,28 @@ var BEYONDAI_PATHS = {
|
|
|
884
884
|
},
|
|
885
885
|
powerpath: {
|
|
886
886
|
base: "/powerpath"
|
|
887
|
+
},
|
|
888
|
+
clr: {
|
|
889
|
+
credentials: "/ims/clr/v2p0/credentials",
|
|
890
|
+
discovery: "/ims/clr/v2p0/discovery"
|
|
891
|
+
},
|
|
892
|
+
case: {
|
|
893
|
+
base: "/ims/case/v1p1"
|
|
894
|
+
},
|
|
895
|
+
webhooks: {
|
|
896
|
+
webhookList: "/webhooks/",
|
|
897
|
+
webhookGet: "/webhooks/{id}",
|
|
898
|
+
webhookCreate: "/webhooks/",
|
|
899
|
+
webhookUpdate: "/webhooks/{id}",
|
|
900
|
+
webhookDelete: "/webhooks/{id}",
|
|
901
|
+
webhookActivate: "/webhooks/{id}/activate",
|
|
902
|
+
webhookDeactivate: "/webhooks/{id}/deactivate",
|
|
903
|
+
webhookFilterList: "/webhook-filters/",
|
|
904
|
+
webhookFilterGet: "/webhook-filters/{id}",
|
|
905
|
+
webhookFilterCreate: "/webhook-filters/",
|
|
906
|
+
webhookFilterUpdate: "/webhook-filters/{id}",
|
|
907
|
+
webhookFilterDelete: "/webhook-filters/{id}",
|
|
908
|
+
webhookFiltersByWebhook: "/webhook-filters/webhook/{webhookId}"
|
|
887
909
|
}
|
|
888
910
|
};
|
|
889
911
|
var LEARNWITHAI_PATHS = {
|
|
@@ -899,8 +921,11 @@ var LEARNWITHAI_PATHS = {
|
|
|
899
921
|
gradebook: "/gradebook/1.0",
|
|
900
922
|
resources: "/resources/1.0"
|
|
901
923
|
},
|
|
924
|
+
webhooks: null,
|
|
902
925
|
edubridge: null,
|
|
903
|
-
powerpath: null
|
|
926
|
+
powerpath: null,
|
|
927
|
+
clr: null,
|
|
928
|
+
case: null
|
|
904
929
|
};
|
|
905
930
|
var PLATFORM_PATHS = {
|
|
906
931
|
BEYOND_AI: BEYONDAI_PATHS,
|
|
@@ -922,8 +947,11 @@ function resolvePathProfiles(pathProfile, customPaths) {
|
|
|
922
947
|
return {
|
|
923
948
|
caliper: customPaths?.caliper ?? basePaths.caliper,
|
|
924
949
|
oneroster: customPaths?.oneroster ?? basePaths.oneroster,
|
|
950
|
+
webhooks: customPaths?.webhooks ?? basePaths.webhooks,
|
|
925
951
|
edubridge: customPaths?.edubridge ?? basePaths.edubridge,
|
|
926
|
-
powerpath: customPaths?.powerpath ?? basePaths.powerpath
|
|
952
|
+
powerpath: customPaths?.powerpath ?? basePaths.powerpath,
|
|
953
|
+
clr: customPaths?.clr ?? basePaths.clr,
|
|
954
|
+
case: customPaths?.case ?? basePaths.case
|
|
927
955
|
};
|
|
928
956
|
}
|
|
929
957
|
|
|
@@ -963,10 +991,22 @@ class TimebackProvider {
|
|
|
963
991
|
baseUrl: platformEndpoints.api[env],
|
|
964
992
|
authUrl: this.authUrl
|
|
965
993
|
},
|
|
994
|
+
clr: {
|
|
995
|
+
baseUrl: platformEndpoints.api[env],
|
|
996
|
+
authUrl: this.authUrl
|
|
997
|
+
},
|
|
998
|
+
case: {
|
|
999
|
+
baseUrl: platformEndpoints.api[env],
|
|
1000
|
+
authUrl: this.authUrl
|
|
1001
|
+
},
|
|
966
1002
|
caliper: {
|
|
967
1003
|
baseUrl: platformEndpoints.caliper[env],
|
|
968
1004
|
authUrl: this.authUrl
|
|
969
1005
|
},
|
|
1006
|
+
webhooks: {
|
|
1007
|
+
baseUrl: platformEndpoints.caliper[env],
|
|
1008
|
+
authUrl: this.authUrl
|
|
1009
|
+
},
|
|
970
1010
|
qti: {
|
|
971
1011
|
baseUrl: platformEndpoints.qti[env],
|
|
972
1012
|
authUrl: this.authUrl
|
|
@@ -980,7 +1020,10 @@ class TimebackProvider {
|
|
|
980
1020
|
oneroster: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
981
1021
|
edubridge: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
982
1022
|
powerpath: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
1023
|
+
clr: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
1024
|
+
case: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
983
1025
|
caliper: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
1026
|
+
webhooks: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
984
1027
|
qti: { baseUrl: config.baseUrl, authUrl: this.authUrl }
|
|
985
1028
|
};
|
|
986
1029
|
} else if (isServicesConfig(config)) {
|
|
@@ -999,10 +1042,19 @@ class TimebackProvider {
|
|
|
999
1042
|
} else {
|
|
1000
1043
|
throw new Error("Invalid provider configuration");
|
|
1001
1044
|
}
|
|
1045
|
+
for (const service of Object.keys(this.pathProfiles)) {
|
|
1046
|
+
if (this.pathProfiles[service] === null) {
|
|
1047
|
+
delete this.endpoints[service];
|
|
1048
|
+
}
|
|
1049
|
+
}
|
|
1002
1050
|
}
|
|
1003
1051
|
getEndpoint(service) {
|
|
1004
1052
|
const endpoint = this.endpoints[service];
|
|
1005
1053
|
if (!endpoint) {
|
|
1054
|
+
const pathKey = service;
|
|
1055
|
+
if (pathKey in this.pathProfiles && this.pathProfiles[pathKey] === null) {
|
|
1056
|
+
throw new Error(`Service "${service}" is not supported on ${this.platform ?? "this"} platform.`);
|
|
1057
|
+
}
|
|
1006
1058
|
throw new Error(`Service "${service}" is not configured in this provider`);
|
|
1007
1059
|
}
|
|
1008
1060
|
return endpoint;
|
package/dist/index.d.ts
CHANGED
|
@@ -23,6 +23,16 @@ type TestAssignmentStatus =
|
|
|
23
23
|
| 'expired'
|
|
24
24
|
| 'cancelled'
|
|
25
25
|
|
|
26
|
+
/**
|
|
27
|
+
* Lesson types for PowerPath assessments.
|
|
28
|
+
*/
|
|
29
|
+
type PowerPathLessonType = 'powerpath-100' | 'quiz' | 'test-out' | 'placement' | 'unit-test'
|
|
30
|
+
|
|
31
|
+
/**
|
|
32
|
+
* Question difficulty levels.
|
|
33
|
+
*/
|
|
34
|
+
type PowerPathQuestionDifficulty = 'easy' | 'medium' | 'hard'
|
|
35
|
+
|
|
26
36
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
27
37
|
// PAGINATION
|
|
28
38
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
@@ -105,6 +115,67 @@ interface BulkResult {
|
|
|
105
115
|
errors: Array<{ row: number; message: string }>
|
|
106
116
|
}
|
|
107
117
|
|
|
118
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
119
|
+
// QUESTIONS
|
|
120
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* QTI content associated with a question.
|
|
124
|
+
*/
|
|
125
|
+
interface PowerPathQuestionContent {
|
|
126
|
+
/** The type of the question (e.g., choiceInteraction) */
|
|
127
|
+
type?: string
|
|
128
|
+
/** The raw XML question in QTI format */
|
|
129
|
+
rawXml: string
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
/**
|
|
133
|
+
* Result of evaluating a student's response to a question.
|
|
134
|
+
*/
|
|
135
|
+
interface PowerPathQuestionResult {
|
|
136
|
+
/** Score assigned considering the student's response */
|
|
137
|
+
score: number
|
|
138
|
+
/** Feedback text for the question */
|
|
139
|
+
feedback: string
|
|
140
|
+
/** Outcome variables from response processing */
|
|
141
|
+
outcomes?: Record<string, string>
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/**
|
|
145
|
+
* A question in a PowerPath test.
|
|
146
|
+
*
|
|
147
|
+
* Represents a question with its metadata, optional QTI content,
|
|
148
|
+
* and (when answered) the student's response and result.
|
|
149
|
+
*/
|
|
150
|
+
interface PowerPathTestQuestion {
|
|
151
|
+
/** ID that represents the question in the test */
|
|
152
|
+
id: string
|
|
153
|
+
/** Index of the question in the test */
|
|
154
|
+
index: number
|
|
155
|
+
/** Title of the question */
|
|
156
|
+
title: string
|
|
157
|
+
/** URL of the QTI question */
|
|
158
|
+
url: string
|
|
159
|
+
/** Difficulty of the question */
|
|
160
|
+
difficulty: PowerPathQuestionDifficulty
|
|
161
|
+
/** Whether the question has been approved by a human */
|
|
162
|
+
humanApproved?: boolean | null
|
|
163
|
+
/** QTI content of the question */
|
|
164
|
+
content?: PowerPathQuestionContent
|
|
165
|
+
/** Student's response (single value or array) */
|
|
166
|
+
response?: string | string[]
|
|
167
|
+
/** Student's responses keyed by response identifier */
|
|
168
|
+
responses?: Record<string, string | string[]>
|
|
169
|
+
/** Whether the student's response is correct */
|
|
170
|
+
correct?: boolean
|
|
171
|
+
/** Result of evaluating the response */
|
|
172
|
+
result?: PowerPathQuestionResult
|
|
173
|
+
/** sourcedId of the AssessmentResult for this question attempt */
|
|
174
|
+
resultId?: string
|
|
175
|
+
/** Learning objective IDs associated with the question */
|
|
176
|
+
learningObjectives?: string[]
|
|
177
|
+
}
|
|
178
|
+
|
|
108
179
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
109
180
|
// ASSESSMENTS
|
|
110
181
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
@@ -140,21 +211,247 @@ interface GetAttemptsResponse {
|
|
|
140
211
|
attempts: Attempt[]
|
|
141
212
|
}
|
|
142
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Result from resetting an attempt.
|
|
216
|
+
*/
|
|
217
|
+
interface ResetAttemptResponse {
|
|
218
|
+
success: boolean
|
|
219
|
+
score: number
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
223
|
+
// ASSESSMENT PROGRESS (getAssessmentProgress)
|
|
224
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Progress for a PowerPath 100 lesson.
|
|
228
|
+
*
|
|
229
|
+
* Uses `seenQuestions` (not `questions`) and includes remaining question counts
|
|
230
|
+
* per difficulty level.
|
|
231
|
+
*/
|
|
232
|
+
interface PowerPath100ProgressResponse {
|
|
233
|
+
lessonType: 'powerpath-100'
|
|
234
|
+
/** Remaining question counts per difficulty level */
|
|
235
|
+
remainingQuestionsPerDifficulty: {
|
|
236
|
+
easy: number
|
|
237
|
+
medium: number
|
|
238
|
+
hard: number
|
|
239
|
+
}
|
|
240
|
+
/** Current score for this attempt */
|
|
241
|
+
score: number
|
|
242
|
+
/** Questions the student has seen */
|
|
243
|
+
seenQuestions: PowerPathTestQuestion[]
|
|
244
|
+
/** sourcedId of the parent test AssessmentResult */
|
|
245
|
+
testResultId?: string
|
|
246
|
+
/** Attempt number */
|
|
247
|
+
attempt: number
|
|
248
|
+
/** XP earned in the lesson */
|
|
249
|
+
xp: number | null
|
|
250
|
+
/** Multiplier for XP */
|
|
251
|
+
multiplier: number | null
|
|
252
|
+
/** Accuracy of the student's attempted questions */
|
|
253
|
+
accuracy: number
|
|
254
|
+
/** Number of correct questions answered */
|
|
255
|
+
correctQuestions: number
|
|
256
|
+
/** Total number of questions in the lesson */
|
|
257
|
+
totalQuestions: number
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
/**
|
|
261
|
+
* Progress for quiz, test-out, placement, or unit-test lessons.
|
|
262
|
+
*
|
|
263
|
+
* Uses `questions` (not `seenQuestions`). Includes `finalized` to indicate
|
|
264
|
+
* whether the lesson has been completed.
|
|
265
|
+
*/
|
|
266
|
+
interface StandardProgressResponse {
|
|
267
|
+
lessonType: 'quiz' | 'test-out' | 'placement' | 'unit-test'
|
|
268
|
+
/** Whether the lesson has been finalized in the current attempt */
|
|
269
|
+
finalized: boolean
|
|
270
|
+
/** Current score for this attempt */
|
|
271
|
+
score?: number
|
|
272
|
+
/** Questions in the test */
|
|
273
|
+
questions: PowerPathTestQuestion[]
|
|
274
|
+
/** Tool provider of the lesson if external */
|
|
275
|
+
toolProvider: string | null
|
|
276
|
+
/** Whether auto-enrollment failed (only for finalized external tests) */
|
|
277
|
+
enrollmentFailed?: boolean
|
|
278
|
+
/** sourcedId of the parent test AssessmentResult */
|
|
279
|
+
testResultId?: string
|
|
280
|
+
/** Attempt number */
|
|
281
|
+
attempt: number
|
|
282
|
+
/** XP earned in the lesson */
|
|
283
|
+
xp: number | null
|
|
284
|
+
/** Multiplier for XP */
|
|
285
|
+
multiplier: number | null
|
|
286
|
+
/** Accuracy of the student's attempted questions */
|
|
287
|
+
accuracy: number
|
|
288
|
+
/** Number of correct questions answered */
|
|
289
|
+
correctQuestions: number
|
|
290
|
+
/** Total number of questions in the lesson */
|
|
291
|
+
totalQuestions: number
|
|
292
|
+
}
|
|
293
|
+
|
|
143
294
|
/**
|
|
144
295
|
* Result from getting assessment progress.
|
|
145
|
-
*
|
|
296
|
+
*
|
|
297
|
+
* Discriminated union on `lessonType`:
|
|
298
|
+
* - `'powerpath-100'` — uses `seenQuestions` and `remainingQuestionsPerDifficulty`
|
|
299
|
+
* - `'quiz' | 'test-out' | 'placement' | 'unit-test'` — uses `questions` and `finalized`
|
|
146
300
|
*/
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
301
|
+
type GetAssessmentProgressResponse = PowerPath100ProgressResponse | StandardProgressResponse
|
|
302
|
+
|
|
303
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
304
|
+
// GET NEXT QUESTION (getNextQuestion)
|
|
305
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Result from getting the next question in a PowerPath 100 lesson.
|
|
309
|
+
*/
|
|
310
|
+
interface GetNextQuestionResponse {
|
|
311
|
+
/** Current PowerPath score of the student in this lesson */
|
|
312
|
+
score: number
|
|
313
|
+
/** The next question to present */
|
|
314
|
+
question: PowerPathTestQuestion
|
|
150
315
|
}
|
|
151
316
|
|
|
317
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
318
|
+
// UPDATE STUDENT QUESTION RESPONSE (updateStudentQuestionResponse)
|
|
319
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
320
|
+
|
|
152
321
|
/**
|
|
153
|
-
*
|
|
322
|
+
* Response feedback for a student's answer.
|
|
154
323
|
*/
|
|
155
|
-
interface
|
|
156
|
-
|
|
324
|
+
interface ResponseResultFeedback {
|
|
325
|
+
identifier?: string
|
|
326
|
+
value?: string
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Result of processing a student's response.
|
|
331
|
+
*/
|
|
332
|
+
interface ResponseResult {
|
|
333
|
+
/** Whether the student's response is correct */
|
|
334
|
+
isCorrect: boolean
|
|
335
|
+
/** Score for this specific response (0 or 1) */
|
|
157
336
|
score: number
|
|
337
|
+
/** Optional feedback */
|
|
338
|
+
feedback?: ResponseResultFeedback
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/**
|
|
342
|
+
* Result from updating a student's response in a PowerPath 100 lesson.
|
|
343
|
+
*
|
|
344
|
+
* Includes the updated PowerPath score, response correctness, and accuracy stats.
|
|
345
|
+
*/
|
|
346
|
+
interface PowerPath100UpdateResponseResult {
|
|
347
|
+
lessonType: 'powerpath-100'
|
|
348
|
+
/** Updated PowerPath score */
|
|
349
|
+
powerpathScore: number
|
|
350
|
+
/** Result of processing the response */
|
|
351
|
+
responseResult: ResponseResult
|
|
352
|
+
/** Assessment result for the question (for debugging) */
|
|
353
|
+
questionResult?: unknown
|
|
354
|
+
/** Assessment result for the test (for debugging) */
|
|
355
|
+
testResult?: unknown
|
|
356
|
+
/** Accuracy of the student's attempted questions */
|
|
357
|
+
accuracy: number
|
|
358
|
+
/** Number of correct questions answered */
|
|
359
|
+
correctQuestions: number
|
|
360
|
+
/** Total number of questions */
|
|
361
|
+
totalQuestions: number
|
|
362
|
+
/** XP earned */
|
|
363
|
+
xp: number | null
|
|
364
|
+
/** XP multiplier */
|
|
365
|
+
multiplier: number | null
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
/**
|
|
369
|
+
* Result from updating a student's response in a quiz/test-out/placement/unit-test lesson.
|
|
370
|
+
*
|
|
371
|
+
* Minimal response — correctness is evaluated at finalization.
|
|
372
|
+
*/
|
|
373
|
+
interface StandardUpdateResponseResult {
|
|
374
|
+
lessonType: 'quiz' | 'test-out' | 'placement' | 'unit-test'
|
|
375
|
+
/** Assessment result for the question (for debugging) */
|
|
376
|
+
questionResult?: unknown
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
/**
|
|
380
|
+
* Result from updating a student question response.
|
|
381
|
+
*
|
|
382
|
+
* Discriminated union on `lessonType`:
|
|
383
|
+
* - `'powerpath-100'` — includes score, accuracy, and response correctness
|
|
384
|
+
* - Other lesson types — minimal, evaluated at finalization
|
|
385
|
+
*/
|
|
386
|
+
type UpdateStudentQuestionResponseResult =
|
|
387
|
+
| PowerPath100UpdateResponseResult
|
|
388
|
+
| StandardUpdateResponseResult
|
|
389
|
+
|
|
390
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
391
|
+
// FINALIZE ASSESSMENT (finalStudentAssessmentResponse)
|
|
392
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
393
|
+
|
|
394
|
+
/**
|
|
395
|
+
* Result from finalizing a test assessment.
|
|
396
|
+
*
|
|
397
|
+
* Returned after all questions have been answered and the lesson is
|
|
398
|
+
* evaluated. Not applicable to `powerpath-100` or external test lessons.
|
|
399
|
+
*/
|
|
400
|
+
interface FinalizeAssessmentResponse {
|
|
401
|
+
/** Type of the lesson that was finalized */
|
|
402
|
+
lessonType: PowerPathLessonType
|
|
403
|
+
/** Whether the lesson has been finalized */
|
|
404
|
+
finalized: boolean
|
|
405
|
+
/** The attempt number */
|
|
406
|
+
attempt: number
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
410
|
+
// TEST OUT (testOut)
|
|
411
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
412
|
+
|
|
413
|
+
/**
|
|
414
|
+
* Result from getting the test-out lesson for a student/course.
|
|
415
|
+
*
|
|
416
|
+
* Returns the test-out lesson reference, finalization status,
|
|
417
|
+
* and optional external tool credentials.
|
|
418
|
+
*/
|
|
419
|
+
interface TestOutResponse {
|
|
420
|
+
lessonType: 'test-out'
|
|
421
|
+
/** ID of the test-out lesson, or null if none exists */
|
|
422
|
+
lessonId: string | null
|
|
423
|
+
/** Whether the test-out has been finalized in the current attempt */
|
|
424
|
+
finalized: boolean
|
|
425
|
+
/** Tool provider for the test-out lesson, or null if internal */
|
|
426
|
+
toolProvider: string | null
|
|
427
|
+
/** Attempt number */
|
|
428
|
+
attempt?: number
|
|
429
|
+
/** Credentials for accessing the assigned test on external tool */
|
|
430
|
+
credentials?: {
|
|
431
|
+
email: string
|
|
432
|
+
password: string
|
|
433
|
+
}
|
|
434
|
+
/** Assignment ID on external tool for results retrieval */
|
|
435
|
+
assignmentId?: string
|
|
436
|
+
/** Class ID on external tool for results retrieval */
|
|
437
|
+
classId?: string
|
|
438
|
+
/** URL of the test on external tool */
|
|
439
|
+
testUrl?: string
|
|
440
|
+
/** ID of the test on external tool */
|
|
441
|
+
testId?: string
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
445
|
+
// IMPORT EXTERNAL RESULTS (importExternalTestAssignmentResults)
|
|
446
|
+
// ═══════════════════════════════════════════════════════════════════════════════
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Result from importing external test assignment results.
|
|
450
|
+
*
|
|
451
|
+
* Response shape varies by tool provider. Contains at minimum a success indicator.
|
|
452
|
+
*/
|
|
453
|
+
interface ImportExternalResultsResponse {
|
|
454
|
+
[key: string]: unknown
|
|
158
455
|
}
|
|
159
456
|
|
|
160
457
|
// ═══════════════════════════════════════════════════════════════════════════════
|
|
@@ -707,15 +1004,15 @@ declare class AssessmentResource {
|
|
|
707
1004
|
createExternalTestOut(input: CreateExternalTestOutInput): Promise<ExternalTestCreateResponse>;
|
|
708
1005
|
createInternalTest(input: CreateInternalTestInput): Promise<ExternalTestCreateResponse>;
|
|
709
1006
|
createNewAttempt(input: CreateNewAttemptInput): Promise<CreateAttemptResponse>;
|
|
710
|
-
finalStudentAssessmentResponse(input: FinalStudentAssessmentResponseInput): Promise<
|
|
1007
|
+
finalStudentAssessmentResponse(input: FinalStudentAssessmentResponseInput): Promise<FinalizeAssessmentResponse>;
|
|
711
1008
|
getAssessmentProgress(params: GetAssessmentProgressParams): Promise<GetAssessmentProgressResponse>;
|
|
712
1009
|
getAttempts(params: GetAttemptsParams): Promise<GetAttemptsResponse>;
|
|
713
|
-
getNextQuestion(params: GetNextQuestionParams): Promise<
|
|
714
|
-
importExternalTestAssignmentResults(params: ImportExternalTestAssignmentResultsParams): Promise<
|
|
1010
|
+
getNextQuestion(params: GetNextQuestionParams): Promise<GetNextQuestionResponse>;
|
|
1011
|
+
importExternalTestAssignmentResults(params: ImportExternalTestAssignmentResultsParams): Promise<ImportExternalResultsResponse>;
|
|
715
1012
|
makeExternalTestAssignment(input: MakeExternalTestAssignmentInput): Promise<ExternalTestCreateResponse>;
|
|
716
1013
|
resetAttempt(input: ResetAttemptInput): Promise<ResetAttemptResponse>;
|
|
717
|
-
testOut(params: TestOutParams): Promise<
|
|
718
|
-
updateStudentQuestionResponse(input: UpdateStudentQuestionResponseInput): Promise<
|
|
1014
|
+
testOut(params: TestOutParams): Promise<TestOutResponse>;
|
|
1015
|
+
updateStudentQuestionResponse(input: UpdateStudentQuestionResponseInput): Promise<UpdateStudentQuestionResponseResult>;
|
|
719
1016
|
}
|
|
720
1017
|
|
|
721
1018
|
/**
|
|
@@ -1026,4 +1323,4 @@ declare class Transport extends BaseTransport {
|
|
|
1026
1323
|
}
|
|
1027
1324
|
|
|
1028
1325
|
export { Paginator, PowerPathClient, Transport, createPowerPathClient };
|
|
1029
|
-
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, LessonPlanOperationsInput, LessonPlanOperationsResponse, LessonPlanResponse, LessonPlanSyncResult, LessonPlanUpdateStudentItemResponseInput, LessonPlansCreateInput, MakeExternalTestAssignmentInput, PaginationMeta, PlacementQueryParams, PlacementResetUserPlacementInput, PowerPathClientConfig, PowerPathClientInstance, ResetAttemptInput, ResetAttemptResponse, ResetPlacementResponse, ScreeningAssignTestInput, ScreeningAssignTestResponse, ScreeningResetSessionInput, ScreeningResetSessionResponse, ScreeningResultsResponse, ScreeningSessionResponse, SyllabusQueryParams, SyllabusResponse, TestAssignment, TestAssignmentStatus, TestAssignmentsAdminParams, TestAssignmentsBulkInput, TestAssignmentsCreateInput, TestAssignmentsImportInput, TestAssignmentsListParams, TestAssignmentsListResponse, TestAssignmentsUpdateInput, TestOutParams, UpdateStudentItemResponseResult, UpdateStudentQuestionResponseInput };
|
|
1326
|
+
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, LessonPlanOperationsInput, LessonPlanOperationsResponse, LessonPlanResponse, LessonPlanSyncResult, LessonPlanUpdateStudentItemResponseInput, LessonPlansCreateInput, MakeExternalTestAssignmentInput, PaginationMeta, PlacementQueryParams, PlacementResetUserPlacementInput, PowerPath100ProgressResponse, PowerPath100UpdateResponseResult, PowerPathClientConfig, PowerPathClientInstance, 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 };
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAgCG;AAMH,OAAO,EAAE,eAAe,EAAE,KAAK,uBAAuB,EAAE,MAAM,UAAU,CAAA;AACxE,OAAO,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAA;AAEjD,YA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