@timeback/core 0.1.6 → 0.1.7-beta.20260219221746
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/client.d.ts +12 -0
- package/dist/client.d.ts.map +1 -1
- package/dist/constants.d.ts.map +1 -1
- package/dist/errors.js +31 -0
- package/dist/index.js +19219 -1187
- package/dist/types/index.d.ts +4 -0
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types.js +13 -6
- package/dist/utils.js +283 -144
- package/package.json +4 -3
package/dist/utils.js
CHANGED
|
@@ -896,6 +896,21 @@ var BEYONDAI_PATHS = {
|
|
|
896
896
|
},
|
|
897
897
|
case: {
|
|
898
898
|
base: "/ims/case/v1p1"
|
|
899
|
+
},
|
|
900
|
+
webhooks: {
|
|
901
|
+
webhookList: "/webhooks/",
|
|
902
|
+
webhookGet: "/webhooks/{id}",
|
|
903
|
+
webhookCreate: "/webhooks/",
|
|
904
|
+
webhookUpdate: "/webhooks/{id}",
|
|
905
|
+
webhookDelete: "/webhooks/{id}",
|
|
906
|
+
webhookActivate: "/webhooks/{id}/activate",
|
|
907
|
+
webhookDeactivate: "/webhooks/{id}/deactivate",
|
|
908
|
+
webhookFilterList: "/webhook-filters/",
|
|
909
|
+
webhookFilterGet: "/webhook-filters/{id}",
|
|
910
|
+
webhookFilterCreate: "/webhook-filters/",
|
|
911
|
+
webhookFilterUpdate: "/webhook-filters/{id}",
|
|
912
|
+
webhookFilterDelete: "/webhook-filters/{id}",
|
|
913
|
+
webhookFiltersByWebhook: "/webhook-filters/webhook/{webhookId}"
|
|
899
914
|
}
|
|
900
915
|
};
|
|
901
916
|
var LEARNWITHAI_PATHS = {
|
|
@@ -911,6 +926,7 @@ var LEARNWITHAI_PATHS = {
|
|
|
911
926
|
gradebook: "/gradebook/1.0",
|
|
912
927
|
resources: "/resources/1.0"
|
|
913
928
|
},
|
|
929
|
+
webhooks: null,
|
|
914
930
|
edubridge: null,
|
|
915
931
|
powerpath: null,
|
|
916
932
|
clr: null,
|
|
@@ -934,6 +950,7 @@ function resolvePathProfiles(pathProfile, customPaths) {
|
|
|
934
950
|
return {
|
|
935
951
|
caliper: customPaths?.caliper ?? basePaths.caliper,
|
|
936
952
|
oneroster: customPaths?.oneroster ?? basePaths.oneroster,
|
|
953
|
+
webhooks: customPaths?.webhooks ?? basePaths.webhooks,
|
|
937
954
|
edubridge: customPaths?.edubridge ?? basePaths.edubridge,
|
|
938
955
|
powerpath: customPaths?.powerpath ?? basePaths.powerpath,
|
|
939
956
|
clr: customPaths?.clr ?? basePaths.clr,
|
|
@@ -989,6 +1006,10 @@ class TimebackProvider {
|
|
|
989
1006
|
baseUrl: platformEndpoints.caliper[env],
|
|
990
1007
|
authUrl: this.authUrl
|
|
991
1008
|
},
|
|
1009
|
+
webhooks: {
|
|
1010
|
+
baseUrl: platformEndpoints.caliper[env],
|
|
1011
|
+
authUrl: this.authUrl
|
|
1012
|
+
},
|
|
992
1013
|
qti: {
|
|
993
1014
|
baseUrl: platformEndpoints.qti[env],
|
|
994
1015
|
authUrl: this.authUrl
|
|
@@ -1005,6 +1026,7 @@ class TimebackProvider {
|
|
|
1005
1026
|
clr: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
1006
1027
|
case: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
1007
1028
|
caliper: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
1029
|
+
webhooks: { baseUrl: config.baseUrl, authUrl: this.authUrl },
|
|
1008
1030
|
qti: { baseUrl: config.baseUrl, authUrl: this.authUrl }
|
|
1009
1031
|
};
|
|
1010
1032
|
} else if (isServicesConfig(config)) {
|
|
@@ -1023,10 +1045,19 @@ class TimebackProvider {
|
|
|
1023
1045
|
} else {
|
|
1024
1046
|
throw new Error("Invalid provider configuration");
|
|
1025
1047
|
}
|
|
1048
|
+
for (const service of Object.keys(this.pathProfiles)) {
|
|
1049
|
+
if (this.pathProfiles[service] === null) {
|
|
1050
|
+
delete this.endpoints[service];
|
|
1051
|
+
}
|
|
1052
|
+
}
|
|
1026
1053
|
}
|
|
1027
1054
|
getEndpoint(service) {
|
|
1028
1055
|
const endpoint = this.endpoints[service];
|
|
1029
1056
|
if (!endpoint) {
|
|
1057
|
+
const pathKey = service;
|
|
1058
|
+
if (pathKey in this.pathProfiles && this.pathProfiles[pathKey] === null) {
|
|
1059
|
+
throw new Error(`Service "${service}" is not supported on ${this.platform ?? "this"} platform.`);
|
|
1060
|
+
}
|
|
1030
1061
|
throw new Error(`Service "${service}" is not configured in this provider`);
|
|
1031
1062
|
}
|
|
1032
1063
|
return endpoint;
|
|
@@ -15523,6 +15554,38 @@ var CaliperListEventsParams = exports_external.object({
|
|
|
15523
15554
|
actorId: exports_external.string().min(1).optional(),
|
|
15524
15555
|
actorEmail: exports_external.email().optional()
|
|
15525
15556
|
}).strict();
|
|
15557
|
+
var WebhookCreateInput = exports_external.object({
|
|
15558
|
+
name: exports_external.string().min(1, "name must be a non-empty string"),
|
|
15559
|
+
targetUrl: exports_external.url("targetUrl must be a valid URL"),
|
|
15560
|
+
secret: exports_external.string().min(1, "secret must be a non-empty string"),
|
|
15561
|
+
active: exports_external.boolean(),
|
|
15562
|
+
sensor: exports_external.string().nullable().optional(),
|
|
15563
|
+
description: exports_external.string().nullable().optional()
|
|
15564
|
+
}).strict();
|
|
15565
|
+
var WebhookFilterType = exports_external.enum(["string", "number", "boolean"]);
|
|
15566
|
+
var WebhookFilterOperation = exports_external.enum([
|
|
15567
|
+
"eq",
|
|
15568
|
+
"neq",
|
|
15569
|
+
"gt",
|
|
15570
|
+
"gte",
|
|
15571
|
+
"lt",
|
|
15572
|
+
"lte",
|
|
15573
|
+
"contains",
|
|
15574
|
+
"notContains",
|
|
15575
|
+
"in",
|
|
15576
|
+
"notIn",
|
|
15577
|
+
"startsWith",
|
|
15578
|
+
"endsWith",
|
|
15579
|
+
"regexp"
|
|
15580
|
+
]);
|
|
15581
|
+
var WebhookFilterCreateInput = exports_external.object({
|
|
15582
|
+
webhookId: exports_external.string().min(1, "webhookId must be a non-empty string"),
|
|
15583
|
+
filterKey: exports_external.string().min(1, "filterKey must be a non-empty string"),
|
|
15584
|
+
filterValue: exports_external.string().min(1, "filterValue must be a non-empty string"),
|
|
15585
|
+
filterType: WebhookFilterType,
|
|
15586
|
+
filterOperator: WebhookFilterOperation,
|
|
15587
|
+
active: exports_external.boolean()
|
|
15588
|
+
}).strict();
|
|
15526
15589
|
var NonEmptyString = exports_external.string().trim().min(1);
|
|
15527
15590
|
var InputNodeURISchema = exports_external.object({
|
|
15528
15591
|
title: NonEmptyString,
|
|
@@ -15919,11 +15982,87 @@ var EdubridgeEnrollmentFactsParams = exports_external.object({
|
|
|
15919
15982
|
endDate: EdubridgeDateString.optional(),
|
|
15920
15983
|
timezone: exports_external.string().optional()
|
|
15921
15984
|
});
|
|
15922
|
-
var NonEmptyString4 = exports_external.string().min(1);
|
|
15985
|
+
var NonEmptyString4 = exports_external.string().trim().min(1);
|
|
15986
|
+
var MasteryTrackAuthorizerInput = exports_external.object({
|
|
15987
|
+
email: exports_external.email()
|
|
15988
|
+
});
|
|
15989
|
+
var MasteryTrackInventorySearchParams = exports_external.object({
|
|
15990
|
+
name: NonEmptyString4.optional(),
|
|
15991
|
+
timeback_id: NonEmptyString4.optional(),
|
|
15992
|
+
grade: NonEmptyString4.optional(),
|
|
15993
|
+
subject: NonEmptyString4.optional(),
|
|
15994
|
+
all: exports_external.boolean().optional()
|
|
15995
|
+
});
|
|
15996
|
+
var MasteryTrackAssignmentInput = exports_external.object({
|
|
15997
|
+
student_email: exports_external.email(),
|
|
15998
|
+
timeback_id: NonEmptyString4.optional(),
|
|
15999
|
+
subject: NonEmptyString4.optional(),
|
|
16000
|
+
grade_rank: exports_external.number().int().min(0).max(12).optional(),
|
|
16001
|
+
assessment_line_item_sourced_id: NonEmptyString4.optional(),
|
|
16002
|
+
assessment_result_sourced_id: NonEmptyString4.optional()
|
|
16003
|
+
}).superRefine((value, ctx) => {
|
|
16004
|
+
const hasTimebackId = !!value.timeback_id;
|
|
16005
|
+
const hasSubject = !!value.subject;
|
|
16006
|
+
const hasGradeRank = value.grade_rank !== undefined;
|
|
16007
|
+
if (!hasTimebackId && !hasSubject) {
|
|
16008
|
+
ctx.addIssue({
|
|
16009
|
+
code: exports_external.ZodIssueCode.custom,
|
|
16010
|
+
message: "must provide either timeback_id or subject",
|
|
16011
|
+
path: ["timeback_id"]
|
|
16012
|
+
});
|
|
16013
|
+
ctx.addIssue({
|
|
16014
|
+
code: exports_external.ZodIssueCode.custom,
|
|
16015
|
+
message: "must provide either timeback_id or subject",
|
|
16016
|
+
path: ["subject"]
|
|
16017
|
+
});
|
|
16018
|
+
}
|
|
16019
|
+
if (hasGradeRank && !hasSubject) {
|
|
16020
|
+
ctx.addIssue({
|
|
16021
|
+
code: exports_external.ZodIssueCode.custom,
|
|
16022
|
+
message: "grade_rank requires subject",
|
|
16023
|
+
path: ["grade_rank"]
|
|
16024
|
+
});
|
|
16025
|
+
}
|
|
16026
|
+
const hasLineItem = !!value.assessment_line_item_sourced_id;
|
|
16027
|
+
const hasResultId = !!value.assessment_result_sourced_id;
|
|
16028
|
+
if (hasLineItem !== hasResultId) {
|
|
16029
|
+
ctx.addIssue({
|
|
16030
|
+
code: exports_external.ZodIssueCode.custom,
|
|
16031
|
+
message: "assessment_line_item_sourced_id and assessment_result_sourced_id must be provided together",
|
|
16032
|
+
path: hasLineItem ? ["assessment_result_sourced_id"] : ["assessment_line_item_sourced_id"]
|
|
16033
|
+
});
|
|
16034
|
+
}
|
|
16035
|
+
});
|
|
16036
|
+
var MasteryTrackInvalidateAssignmentInput = exports_external.object({
|
|
16037
|
+
student_email: exports_external.email(),
|
|
16038
|
+
assignment_id: exports_external.number().int().positive().optional(),
|
|
16039
|
+
timeback_id: NonEmptyString4.optional(),
|
|
16040
|
+
subject: NonEmptyString4.optional(),
|
|
16041
|
+
grade_rank: exports_external.number().int().min(0).max(12).optional()
|
|
16042
|
+
}).superRefine((value, ctx) => {
|
|
16043
|
+
const byAssignment = value.assignment_id !== undefined;
|
|
16044
|
+
const byTimeback = !!value.timeback_id;
|
|
16045
|
+
const bySubjectGrade = !!value.subject && value.grade_rank !== undefined;
|
|
16046
|
+
if (!byAssignment && !byTimeback && !bySubjectGrade) {
|
|
16047
|
+
ctx.addIssue({
|
|
16048
|
+
code: exports_external.ZodIssueCode.custom,
|
|
16049
|
+
message: "Either assignment_id, timeback_id, or (subject and grade_rank) is required",
|
|
16050
|
+
path: ["assignment_id"]
|
|
16051
|
+
});
|
|
16052
|
+
}
|
|
16053
|
+
if (value.grade_rank !== undefined && !value.subject) {
|
|
16054
|
+
ctx.addIssue({
|
|
16055
|
+
code: exports_external.ZodIssueCode.custom,
|
|
16056
|
+
message: "grade_rank requires subject",
|
|
16057
|
+
path: ["grade_rank"]
|
|
16058
|
+
});
|
|
16059
|
+
}
|
|
16060
|
+
});
|
|
16061
|
+
var NonEmptyString5 = exports_external.string().min(1);
|
|
15923
16062
|
var Status = exports_external.enum(["active", "tobedeleted"]);
|
|
15924
16063
|
var Metadata = exports_external.record(exports_external.string(), exports_external.unknown()).nullable().optional();
|
|
15925
16064
|
var Ref = exports_external.object({
|
|
15926
|
-
sourcedId:
|
|
16065
|
+
sourcedId: NonEmptyString5,
|
|
15927
16066
|
type: exports_external.string().optional(),
|
|
15928
16067
|
href: exports_external.string().optional()
|
|
15929
16068
|
}).strict();
|
|
@@ -15938,58 +16077,58 @@ var OneRosterUserRoleInput = exports_external.object({
|
|
|
15938
16077
|
endDate: OneRosterDateString.optional()
|
|
15939
16078
|
}).strict();
|
|
15940
16079
|
var OneRosterUserCreateInput = exports_external.object({
|
|
15941
|
-
sourcedId:
|
|
16080
|
+
sourcedId: NonEmptyString5.describe("sourcedId must be a non-empty string"),
|
|
15942
16081
|
status: Status.optional(),
|
|
15943
16082
|
enabledUser: exports_external.boolean(),
|
|
15944
|
-
givenName:
|
|
15945
|
-
familyName:
|
|
15946
|
-
middleName:
|
|
15947
|
-
username:
|
|
16083
|
+
givenName: NonEmptyString5.describe("givenName must be a non-empty string"),
|
|
16084
|
+
familyName: NonEmptyString5.describe("familyName must be a non-empty string"),
|
|
16085
|
+
middleName: NonEmptyString5.optional(),
|
|
16086
|
+
username: NonEmptyString5.optional(),
|
|
15948
16087
|
email: exports_external.email().optional(),
|
|
15949
16088
|
roles: exports_external.array(OneRosterUserRoleInput).min(1, "roles must include at least one role"),
|
|
15950
16089
|
userIds: exports_external.array(exports_external.object({
|
|
15951
|
-
type:
|
|
15952
|
-
identifier:
|
|
16090
|
+
type: NonEmptyString5,
|
|
16091
|
+
identifier: NonEmptyString5
|
|
15953
16092
|
}).strict()).optional(),
|
|
15954
16093
|
agents: exports_external.array(Ref).optional(),
|
|
15955
16094
|
grades: exports_external.array(TimebackGrade).optional(),
|
|
15956
|
-
identifier:
|
|
15957
|
-
sms:
|
|
15958
|
-
phone:
|
|
15959
|
-
pronouns:
|
|
15960
|
-
password:
|
|
16095
|
+
identifier: NonEmptyString5.optional(),
|
|
16096
|
+
sms: NonEmptyString5.optional(),
|
|
16097
|
+
phone: NonEmptyString5.optional(),
|
|
16098
|
+
pronouns: NonEmptyString5.optional(),
|
|
16099
|
+
password: NonEmptyString5.optional(),
|
|
15961
16100
|
metadata: Metadata
|
|
15962
16101
|
}).strict();
|
|
15963
16102
|
var OneRosterCourseCreateInput = exports_external.object({
|
|
15964
|
-
sourcedId:
|
|
16103
|
+
sourcedId: NonEmptyString5.describe("sourcedId must be a non-empty string").optional(),
|
|
15965
16104
|
status: Status.optional(),
|
|
15966
|
-
title:
|
|
16105
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
15967
16106
|
org: Ref,
|
|
15968
|
-
courseCode:
|
|
16107
|
+
courseCode: NonEmptyString5.optional(),
|
|
15969
16108
|
subjects: exports_external.array(TimebackSubject).optional(),
|
|
15970
16109
|
grades: exports_external.array(TimebackGrade).optional(),
|
|
15971
|
-
level:
|
|
16110
|
+
level: NonEmptyString5.optional(),
|
|
15972
16111
|
metadata: Metadata
|
|
15973
16112
|
}).strict();
|
|
15974
16113
|
var OneRosterClassCreateInput = exports_external.object({
|
|
15975
|
-
sourcedId:
|
|
16114
|
+
sourcedId: NonEmptyString5.describe("sourcedId must be a non-empty string").optional(),
|
|
15976
16115
|
status: Status.optional(),
|
|
15977
|
-
title:
|
|
16116
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
15978
16117
|
terms: exports_external.array(Ref).min(1, "terms must have at least one item"),
|
|
15979
16118
|
course: Ref,
|
|
15980
16119
|
org: Ref,
|
|
15981
|
-
classCode:
|
|
16120
|
+
classCode: NonEmptyString5.optional(),
|
|
15982
16121
|
classType: exports_external.enum(["homeroom", "scheduled"]).optional(),
|
|
15983
|
-
location:
|
|
16122
|
+
location: NonEmptyString5.optional(),
|
|
15984
16123
|
grades: exports_external.array(TimebackGrade).optional(),
|
|
15985
16124
|
subjects: exports_external.array(TimebackSubject).optional(),
|
|
15986
|
-
subjectCodes: exports_external.array(
|
|
15987
|
-
periods: exports_external.array(
|
|
16125
|
+
subjectCodes: exports_external.array(NonEmptyString5).optional(),
|
|
16126
|
+
periods: exports_external.array(NonEmptyString5).optional(),
|
|
15988
16127
|
metadata: Metadata
|
|
15989
16128
|
}).strict();
|
|
15990
16129
|
var StringBoolean = exports_external.enum(["true", "false"]);
|
|
15991
16130
|
var OneRosterEnrollmentCreateInput = exports_external.object({
|
|
15992
|
-
sourcedId:
|
|
16131
|
+
sourcedId: NonEmptyString5.describe("sourcedId must be a non-empty string").optional(),
|
|
15993
16132
|
status: Status.optional(),
|
|
15994
16133
|
user: Ref,
|
|
15995
16134
|
class: Ref,
|
|
@@ -16001,15 +16140,15 @@ var OneRosterEnrollmentCreateInput = exports_external.object({
|
|
|
16001
16140
|
metadata: Metadata
|
|
16002
16141
|
}).strict();
|
|
16003
16142
|
var OneRosterCategoryCreateInput = exports_external.object({
|
|
16004
|
-
sourcedId:
|
|
16005
|
-
title:
|
|
16143
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16144
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
16006
16145
|
status: Status,
|
|
16007
16146
|
weight: exports_external.number().nullable().optional(),
|
|
16008
16147
|
metadata: Metadata
|
|
16009
16148
|
}).strict();
|
|
16010
16149
|
var OneRosterLineItemCreateInput = exports_external.object({
|
|
16011
|
-
sourcedId:
|
|
16012
|
-
title:
|
|
16150
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16151
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
16013
16152
|
class: Ref,
|
|
16014
16153
|
school: Ref,
|
|
16015
16154
|
category: Ref,
|
|
@@ -16023,7 +16162,7 @@ var OneRosterLineItemCreateInput = exports_external.object({
|
|
|
16023
16162
|
metadata: Metadata
|
|
16024
16163
|
}).strict();
|
|
16025
16164
|
var OneRosterResultCreateInput = exports_external.object({
|
|
16026
|
-
sourcedId:
|
|
16165
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16027
16166
|
lineItem: Ref,
|
|
16028
16167
|
student: Ref,
|
|
16029
16168
|
class: Ref.optional(),
|
|
@@ -16042,15 +16181,15 @@ var OneRosterResultCreateInput = exports_external.object({
|
|
|
16042
16181
|
metadata: Metadata
|
|
16043
16182
|
}).strict();
|
|
16044
16183
|
var OneRosterScoreScaleCreateInput = exports_external.object({
|
|
16045
|
-
sourcedId:
|
|
16046
|
-
title:
|
|
16184
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16185
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
16047
16186
|
status: Status.optional(),
|
|
16048
16187
|
type: exports_external.string().optional(),
|
|
16049
16188
|
class: Ref.optional(),
|
|
16050
16189
|
course: Ref.nullable().optional(),
|
|
16051
16190
|
scoreScaleValue: exports_external.array(exports_external.object({
|
|
16052
|
-
itemValueLHS:
|
|
16053
|
-
itemValueRHS:
|
|
16191
|
+
itemValueLHS: NonEmptyString5,
|
|
16192
|
+
itemValueRHS: NonEmptyString5,
|
|
16054
16193
|
value: exports_external.string().optional(),
|
|
16055
16194
|
description: exports_external.string().optional()
|
|
16056
16195
|
}).strict()).optional(),
|
|
@@ -16059,10 +16198,10 @@ var OneRosterScoreScaleCreateInput = exports_external.object({
|
|
|
16059
16198
|
metadata: Metadata
|
|
16060
16199
|
}).strict();
|
|
16061
16200
|
var OneRosterAssessmentLineItemCreateInput = exports_external.object({
|
|
16062
|
-
sourcedId:
|
|
16201
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16063
16202
|
status: Status.optional(),
|
|
16064
16203
|
dateLastModified: IsoDateTimeString.optional(),
|
|
16065
|
-
title:
|
|
16204
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
16066
16205
|
description: exports_external.string().nullable().optional(),
|
|
16067
16206
|
class: Ref.nullable().optional(),
|
|
16068
16207
|
parentAssessmentLineItem: Ref.nullable().optional(),
|
|
@@ -16088,7 +16227,7 @@ var LearningObjectiveScoreSetSchema = exports_external.array(exports_external.ob
|
|
|
16088
16227
|
learningObjectiveResults: exports_external.array(LearningObjectiveResult)
|
|
16089
16228
|
}));
|
|
16090
16229
|
var OneRosterAssessmentResultCreateInput = exports_external.object({
|
|
16091
|
-
sourcedId:
|
|
16230
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16092
16231
|
status: Status.optional(),
|
|
16093
16232
|
dateLastModified: IsoDateTimeString.optional(),
|
|
16094
16233
|
metadata: Metadata,
|
|
@@ -16114,53 +16253,53 @@ var OneRosterAssessmentResultCreateInput = exports_external.object({
|
|
|
16114
16253
|
missing: exports_external.string().nullable().optional()
|
|
16115
16254
|
}).strict();
|
|
16116
16255
|
var OneRosterOrgCreateInput = exports_external.object({
|
|
16117
|
-
sourcedId:
|
|
16256
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16118
16257
|
status: Status.optional(),
|
|
16119
|
-
name:
|
|
16258
|
+
name: NonEmptyString5.describe("name must be a non-empty string"),
|
|
16120
16259
|
type: OrganizationType,
|
|
16121
|
-
identifier:
|
|
16260
|
+
identifier: NonEmptyString5.optional(),
|
|
16122
16261
|
parent: Ref.optional(),
|
|
16123
16262
|
metadata: Metadata
|
|
16124
16263
|
}).strict();
|
|
16125
16264
|
var OneRosterSchoolCreateInput = exports_external.object({
|
|
16126
|
-
sourcedId:
|
|
16265
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16127
16266
|
status: Status.optional(),
|
|
16128
|
-
name:
|
|
16267
|
+
name: NonEmptyString5.describe("name must be a non-empty string"),
|
|
16129
16268
|
type: exports_external.literal("school").optional(),
|
|
16130
|
-
identifier:
|
|
16269
|
+
identifier: NonEmptyString5.optional(),
|
|
16131
16270
|
parent: Ref.optional(),
|
|
16132
16271
|
metadata: Metadata
|
|
16133
16272
|
}).strict();
|
|
16134
16273
|
var OneRosterAcademicSessionCreateInput = exports_external.object({
|
|
16135
|
-
sourcedId:
|
|
16274
|
+
sourcedId: NonEmptyString5.describe("sourcedId must be a non-empty string"),
|
|
16136
16275
|
status: Status,
|
|
16137
|
-
title:
|
|
16276
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
16138
16277
|
startDate: OneRosterDateString,
|
|
16139
16278
|
endDate: OneRosterDateString,
|
|
16140
16279
|
type: exports_external.enum(["gradingPeriod", "semester", "schoolYear", "term"]),
|
|
16141
|
-
schoolYear:
|
|
16280
|
+
schoolYear: NonEmptyString5.describe("schoolYear must be a non-empty string"),
|
|
16142
16281
|
org: Ref,
|
|
16143
16282
|
parent: Ref.optional(),
|
|
16144
16283
|
children: exports_external.array(Ref).optional(),
|
|
16145
16284
|
metadata: Metadata
|
|
16146
16285
|
}).strict();
|
|
16147
16286
|
var OneRosterComponentResourceCreateInput = exports_external.object({
|
|
16148
|
-
sourcedId:
|
|
16149
|
-
title:
|
|
16287
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16288
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
16150
16289
|
courseComponent: Ref,
|
|
16151
16290
|
resource: Ref,
|
|
16152
16291
|
status: Status,
|
|
16153
16292
|
metadata: Metadata
|
|
16154
16293
|
}).strict();
|
|
16155
16294
|
var OneRosterCourseComponentCreateInput = exports_external.object({
|
|
16156
|
-
sourcedId:
|
|
16157
|
-
title:
|
|
16295
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16296
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
16158
16297
|
course: Ref,
|
|
16159
16298
|
status: Status,
|
|
16160
16299
|
metadata: Metadata
|
|
16161
16300
|
}).strict();
|
|
16162
16301
|
var OneRosterEnrollInput = exports_external.object({
|
|
16163
|
-
sourcedId:
|
|
16302
|
+
sourcedId: NonEmptyString5.describe("sourcedId must be a non-empty string"),
|
|
16164
16303
|
role: exports_external.enum(["student", "teacher"]),
|
|
16165
16304
|
primary: StringBoolean.optional(),
|
|
16166
16305
|
beginDate: OneRosterDateString.optional(),
|
|
@@ -16168,16 +16307,16 @@ var OneRosterEnrollInput = exports_external.object({
|
|
|
16168
16307
|
metadata: Metadata
|
|
16169
16308
|
}).strict();
|
|
16170
16309
|
var OneRosterAgentInput = exports_external.object({
|
|
16171
|
-
agentSourcedId:
|
|
16310
|
+
agentSourcedId: NonEmptyString5.describe("agentSourcedId must be a non-empty string")
|
|
16172
16311
|
}).strict();
|
|
16173
16312
|
var OneRosterCredentialInput = exports_external.object({
|
|
16174
|
-
type:
|
|
16175
|
-
username:
|
|
16313
|
+
type: NonEmptyString5.describe("type must be a non-empty string"),
|
|
16314
|
+
username: NonEmptyString5.describe("username must be a non-empty string"),
|
|
16176
16315
|
password: exports_external.string().optional(),
|
|
16177
16316
|
metadata: Metadata
|
|
16178
16317
|
}).strict();
|
|
16179
16318
|
var OneRosterDemographicsCreateInput = exports_external.object({
|
|
16180
|
-
sourcedId:
|
|
16319
|
+
sourcedId: NonEmptyString5.describe("sourcedId must be a non-empty string")
|
|
16181
16320
|
}).loose();
|
|
16182
16321
|
var CommonResourceMetadataSchema = exports_external.object({
|
|
16183
16322
|
type: ResourceType,
|
|
@@ -16249,9 +16388,9 @@ var ResourceMetadataSchema = exports_external.discriminatedUnion("type", [
|
|
|
16249
16388
|
AssessmentBankMetadataSchema
|
|
16250
16389
|
]);
|
|
16251
16390
|
var OneRosterResourceCreateInput = exports_external.object({
|
|
16252
|
-
sourcedId:
|
|
16253
|
-
title:
|
|
16254
|
-
vendorResourceId:
|
|
16391
|
+
sourcedId: NonEmptyString5.optional(),
|
|
16392
|
+
title: NonEmptyString5.describe("title must be a non-empty string"),
|
|
16393
|
+
vendorResourceId: NonEmptyString5.describe("vendorResourceId must be a non-empty string"),
|
|
16255
16394
|
roles: exports_external.array(exports_external.enum(["primary", "secondary"])).optional(),
|
|
16256
16395
|
importance: exports_external.enum(["primary", "secondary"]).optional(),
|
|
16257
16396
|
vendorId: exports_external.string().optional(),
|
|
@@ -16260,18 +16399,18 @@ var OneRosterResourceCreateInput = exports_external.object({
|
|
|
16260
16399
|
metadata: ResourceMetadataSchema.nullable().optional()
|
|
16261
16400
|
}).strict();
|
|
16262
16401
|
var CourseStructureItem = exports_external.object({
|
|
16263
|
-
url:
|
|
16264
|
-
skillCode:
|
|
16265
|
-
lessonCode:
|
|
16266
|
-
title:
|
|
16267
|
-
"unit-title":
|
|
16268
|
-
status:
|
|
16402
|
+
url: NonEmptyString5.describe("courseStructure.url must be a non-empty string"),
|
|
16403
|
+
skillCode: NonEmptyString5.describe("courseStructure.skillCode must be a non-empty string"),
|
|
16404
|
+
lessonCode: NonEmptyString5.describe("courseStructure.lessonCode must be a non-empty string"),
|
|
16405
|
+
title: NonEmptyString5.describe("courseStructure.title must be a non-empty string"),
|
|
16406
|
+
"unit-title": NonEmptyString5.describe("courseStructure.unit-title must be a non-empty string"),
|
|
16407
|
+
status: NonEmptyString5.describe("courseStructure.status must be a non-empty string"),
|
|
16269
16408
|
xp: exports_external.number()
|
|
16270
16409
|
}).loose();
|
|
16271
16410
|
var OneRosterCourseStructureInput = exports_external.object({
|
|
16272
16411
|
course: exports_external.object({
|
|
16273
|
-
sourcedId:
|
|
16274
|
-
title:
|
|
16412
|
+
sourcedId: NonEmptyString5.describe("course.sourcedId must be a non-empty string").optional(),
|
|
16413
|
+
title: NonEmptyString5.describe("course.title must be a non-empty string"),
|
|
16275
16414
|
org: Ref,
|
|
16276
16415
|
status: Status,
|
|
16277
16416
|
metadata: Metadata
|
|
@@ -16282,7 +16421,7 @@ var OneRosterBulkResultItem = exports_external.object({
|
|
|
16282
16421
|
student: Ref
|
|
16283
16422
|
}).loose();
|
|
16284
16423
|
var OneRosterBulkResultsInput = exports_external.array(OneRosterBulkResultItem).min(1, "results must have at least one item");
|
|
16285
|
-
var
|
|
16424
|
+
var NonEmptyString6 = exports_external.string().trim().min(1);
|
|
16286
16425
|
var ToolProvider = exports_external.enum(["edulastic", "mastery-track"]);
|
|
16287
16426
|
var LessonTypeRequired = exports_external.enum([
|
|
16288
16427
|
"powerpath-100",
|
|
@@ -16295,14 +16434,14 @@ var LessonTypeRequired = exports_external.enum([
|
|
|
16295
16434
|
var GradeArray = exports_external.array(TimebackGrade);
|
|
16296
16435
|
var ResourceMetadata = exports_external.record(exports_external.string(), exports_external.unknown()).optional();
|
|
16297
16436
|
var ExternalTestBase = exports_external.object({
|
|
16298
|
-
courseId:
|
|
16299
|
-
lessonTitle:
|
|
16437
|
+
courseId: NonEmptyString6,
|
|
16438
|
+
lessonTitle: NonEmptyString6.optional(),
|
|
16300
16439
|
launchUrl: exports_external.url().optional(),
|
|
16301
16440
|
toolProvider: ToolProvider,
|
|
16302
|
-
unitTitle:
|
|
16303
|
-
courseComponentSourcedId:
|
|
16304
|
-
vendorId:
|
|
16305
|
-
description:
|
|
16441
|
+
unitTitle: NonEmptyString6.optional(),
|
|
16442
|
+
courseComponentSourcedId: NonEmptyString6.optional(),
|
|
16443
|
+
vendorId: NonEmptyString6.optional(),
|
|
16444
|
+
description: NonEmptyString6.optional(),
|
|
16306
16445
|
resourceMetadata: ResourceMetadata.nullable().optional(),
|
|
16307
16446
|
grades: GradeArray
|
|
16308
16447
|
});
|
|
@@ -16312,26 +16451,26 @@ var ExternalTestOut = ExternalTestBase.extend({
|
|
|
16312
16451
|
});
|
|
16313
16452
|
var ExternalPlacement = ExternalTestBase.extend({
|
|
16314
16453
|
lessonType: exports_external.literal("placement"),
|
|
16315
|
-
courseIdOnFail:
|
|
16454
|
+
courseIdOnFail: NonEmptyString6.optional(),
|
|
16316
16455
|
xp: exports_external.number().optional()
|
|
16317
16456
|
});
|
|
16318
16457
|
var InternalTestBase = exports_external.object({
|
|
16319
|
-
courseId:
|
|
16458
|
+
courseId: NonEmptyString6,
|
|
16320
16459
|
lessonType: LessonTypeRequired,
|
|
16321
|
-
lessonTitle:
|
|
16322
|
-
unitTitle:
|
|
16323
|
-
courseComponentSourcedId:
|
|
16460
|
+
lessonTitle: NonEmptyString6.optional(),
|
|
16461
|
+
unitTitle: NonEmptyString6.optional(),
|
|
16462
|
+
courseComponentSourcedId: NonEmptyString6.optional(),
|
|
16324
16463
|
resourceMetadata: ResourceMetadata.nullable().optional(),
|
|
16325
16464
|
xp: exports_external.number().optional(),
|
|
16326
16465
|
grades: GradeArray.optional(),
|
|
16327
|
-
courseIdOnFail:
|
|
16466
|
+
courseIdOnFail: NonEmptyString6.optional()
|
|
16328
16467
|
});
|
|
16329
16468
|
var PowerPathCreateInternalTestInput = exports_external.union([
|
|
16330
16469
|
InternalTestBase.extend({
|
|
16331
16470
|
testType: exports_external.literal("qti"),
|
|
16332
16471
|
qti: exports_external.object({
|
|
16333
16472
|
url: exports_external.url(),
|
|
16334
|
-
title:
|
|
16473
|
+
title: NonEmptyString6.optional(),
|
|
16335
16474
|
metadata: exports_external.record(exports_external.string(), exports_external.unknown()).optional()
|
|
16336
16475
|
})
|
|
16337
16476
|
}),
|
|
@@ -16340,28 +16479,28 @@ var PowerPathCreateInternalTestInput = exports_external.union([
|
|
|
16340
16479
|
assessmentBank: exports_external.object({
|
|
16341
16480
|
resources: exports_external.array(exports_external.object({
|
|
16342
16481
|
url: exports_external.url(),
|
|
16343
|
-
title:
|
|
16482
|
+
title: NonEmptyString6.optional(),
|
|
16344
16483
|
metadata: exports_external.record(exports_external.string(), exports_external.unknown()).optional()
|
|
16345
16484
|
}))
|
|
16346
16485
|
})
|
|
16347
16486
|
})
|
|
16348
16487
|
]);
|
|
16349
16488
|
var PowerPathCreateNewAttemptInput = exports_external.object({
|
|
16350
|
-
student:
|
|
16351
|
-
lesson:
|
|
16489
|
+
student: NonEmptyString6,
|
|
16490
|
+
lesson: NonEmptyString6
|
|
16352
16491
|
});
|
|
16353
16492
|
var PowerPathFinalStudentAssessmentResponseInput = exports_external.object({
|
|
16354
|
-
student:
|
|
16355
|
-
lesson:
|
|
16493
|
+
student: NonEmptyString6,
|
|
16494
|
+
lesson: NonEmptyString6
|
|
16356
16495
|
});
|
|
16357
16496
|
var PowerPathLessonPlansCreateInput = exports_external.object({
|
|
16358
|
-
courseId:
|
|
16359
|
-
userId:
|
|
16360
|
-
classId:
|
|
16497
|
+
courseId: NonEmptyString6,
|
|
16498
|
+
userId: NonEmptyString6,
|
|
16499
|
+
classId: NonEmptyString6.optional()
|
|
16361
16500
|
});
|
|
16362
16501
|
var LessonPlanTarget = exports_external.object({
|
|
16363
16502
|
type: exports_external.enum(["component", "resource"]),
|
|
16364
|
-
id:
|
|
16503
|
+
id: NonEmptyString6
|
|
16365
16504
|
});
|
|
16366
16505
|
var PowerPathLessonPlanOperationInput = exports_external.union([
|
|
16367
16506
|
exports_external.object({
|
|
@@ -16374,8 +16513,8 @@ var PowerPathLessonPlanOperationInput = exports_external.union([
|
|
|
16374
16513
|
exports_external.object({
|
|
16375
16514
|
type: exports_external.literal("add-custom-resource"),
|
|
16376
16515
|
payload: exports_external.object({
|
|
16377
|
-
resource_id:
|
|
16378
|
-
parent_component_id:
|
|
16516
|
+
resource_id: NonEmptyString6,
|
|
16517
|
+
parent_component_id: NonEmptyString6,
|
|
16379
16518
|
skipped: exports_external.boolean().optional()
|
|
16380
16519
|
})
|
|
16381
16520
|
}),
|
|
@@ -16383,14 +16522,14 @@ var PowerPathLessonPlanOperationInput = exports_external.union([
|
|
|
16383
16522
|
type: exports_external.literal("move-item-before"),
|
|
16384
16523
|
payload: exports_external.object({
|
|
16385
16524
|
target: LessonPlanTarget,
|
|
16386
|
-
reference_id:
|
|
16525
|
+
reference_id: NonEmptyString6
|
|
16387
16526
|
})
|
|
16388
16527
|
}),
|
|
16389
16528
|
exports_external.object({
|
|
16390
16529
|
type: exports_external.literal("move-item-after"),
|
|
16391
16530
|
payload: exports_external.object({
|
|
16392
16531
|
target: LessonPlanTarget,
|
|
16393
|
-
reference_id:
|
|
16532
|
+
reference_id: NonEmptyString6
|
|
16394
16533
|
})
|
|
16395
16534
|
}),
|
|
16396
16535
|
exports_external.object({
|
|
@@ -16409,135 +16548,135 @@ var PowerPathLessonPlanOperationInput = exports_external.union([
|
|
|
16409
16548
|
type: exports_external.literal("change-item-parent"),
|
|
16410
16549
|
payload: exports_external.object({
|
|
16411
16550
|
target: LessonPlanTarget,
|
|
16412
|
-
new_parent_id:
|
|
16551
|
+
new_parent_id: NonEmptyString6,
|
|
16413
16552
|
position: exports_external.enum(["start", "end"]).optional()
|
|
16414
16553
|
})
|
|
16415
16554
|
})
|
|
16416
16555
|
]);
|
|
16417
16556
|
var PowerPathLessonPlanOperationsInput = exports_external.object({
|
|
16418
16557
|
operation: exports_external.array(PowerPathLessonPlanOperationInput),
|
|
16419
|
-
reason:
|
|
16558
|
+
reason: NonEmptyString6.optional()
|
|
16420
16559
|
});
|
|
16421
16560
|
var PowerPathLessonPlanUpdateStudentItemResponseInput = exports_external.object({
|
|
16422
|
-
studentId:
|
|
16423
|
-
componentResourceId:
|
|
16561
|
+
studentId: NonEmptyString6,
|
|
16562
|
+
componentResourceId: NonEmptyString6,
|
|
16424
16563
|
result: exports_external.object({
|
|
16425
16564
|
status: exports_external.enum(["active", "tobedeleted"]),
|
|
16426
16565
|
metadata: exports_external.record(exports_external.string(), exports_external.unknown()).optional(),
|
|
16427
16566
|
score: exports_external.number().optional(),
|
|
16428
|
-
textScore:
|
|
16429
|
-
scoreDate:
|
|
16567
|
+
textScore: NonEmptyString6.optional(),
|
|
16568
|
+
scoreDate: NonEmptyString6,
|
|
16430
16569
|
scorePercentile: exports_external.number().optional(),
|
|
16431
16570
|
scoreStatus: ScoreStatus,
|
|
16432
|
-
comment:
|
|
16571
|
+
comment: NonEmptyString6.optional(),
|
|
16433
16572
|
learningObjectiveSet: exports_external.array(exports_external.object({
|
|
16434
|
-
source:
|
|
16573
|
+
source: NonEmptyString6,
|
|
16435
16574
|
learningObjectiveResults: exports_external.array(exports_external.object({
|
|
16436
|
-
learningObjectiveId:
|
|
16575
|
+
learningObjectiveId: NonEmptyString6,
|
|
16437
16576
|
score: exports_external.number().optional(),
|
|
16438
|
-
textScore:
|
|
16577
|
+
textScore: NonEmptyString6.optional()
|
|
16439
16578
|
}))
|
|
16440
16579
|
})).optional(),
|
|
16441
|
-
inProgress:
|
|
16442
|
-
incomplete:
|
|
16443
|
-
late:
|
|
16444
|
-
missing:
|
|
16580
|
+
inProgress: NonEmptyString6.optional(),
|
|
16581
|
+
incomplete: NonEmptyString6.optional(),
|
|
16582
|
+
late: NonEmptyString6.optional(),
|
|
16583
|
+
missing: NonEmptyString6.optional()
|
|
16445
16584
|
})
|
|
16446
16585
|
});
|
|
16447
16586
|
var PowerPathMakeExternalTestAssignmentInput = exports_external.object({
|
|
16448
|
-
student:
|
|
16449
|
-
lesson:
|
|
16450
|
-
applicationName:
|
|
16451
|
-
testId:
|
|
16587
|
+
student: NonEmptyString6,
|
|
16588
|
+
lesson: NonEmptyString6,
|
|
16589
|
+
applicationName: NonEmptyString6.optional(),
|
|
16590
|
+
testId: NonEmptyString6.optional(),
|
|
16452
16591
|
skipCourseEnrollment: exports_external.boolean().optional()
|
|
16453
16592
|
});
|
|
16454
16593
|
var PowerPathPlacementResetUserPlacementInput = exports_external.object({
|
|
16455
|
-
student:
|
|
16594
|
+
student: NonEmptyString6,
|
|
16456
16595
|
subject: TimebackSubject
|
|
16457
16596
|
});
|
|
16458
16597
|
var PowerPathResetAttemptInput = exports_external.object({
|
|
16459
|
-
student:
|
|
16460
|
-
lesson:
|
|
16598
|
+
student: NonEmptyString6,
|
|
16599
|
+
lesson: NonEmptyString6
|
|
16461
16600
|
});
|
|
16462
16601
|
var PowerPathScreeningResetSessionInput = exports_external.object({
|
|
16463
|
-
userId:
|
|
16602
|
+
userId: NonEmptyString6
|
|
16464
16603
|
});
|
|
16465
16604
|
var PowerPathScreeningAssignTestInput = exports_external.object({
|
|
16466
|
-
userId:
|
|
16605
|
+
userId: NonEmptyString6,
|
|
16467
16606
|
subject: exports_external.enum(["Math", "Reading", "Language", "Science"])
|
|
16468
16607
|
});
|
|
16469
16608
|
var PowerPathTestAssignmentsCreateInput = exports_external.object({
|
|
16470
|
-
student:
|
|
16609
|
+
student: NonEmptyString6,
|
|
16471
16610
|
subject: TimebackSubject,
|
|
16472
16611
|
grade: TimebackGrade,
|
|
16473
|
-
testName:
|
|
16612
|
+
testName: NonEmptyString6.optional()
|
|
16474
16613
|
});
|
|
16475
16614
|
var PowerPathTestAssignmentsUpdateInput = exports_external.object({
|
|
16476
|
-
testName:
|
|
16615
|
+
testName: NonEmptyString6
|
|
16477
16616
|
});
|
|
16478
16617
|
var PowerPathTestAssignmentItemInput = exports_external.object({
|
|
16479
|
-
student:
|
|
16618
|
+
student: NonEmptyString6,
|
|
16480
16619
|
subject: TimebackSubject,
|
|
16481
16620
|
grade: TimebackGrade,
|
|
16482
|
-
testName:
|
|
16621
|
+
testName: NonEmptyString6.optional()
|
|
16483
16622
|
});
|
|
16484
16623
|
var PowerPathTestAssignmentsBulkInput = exports_external.object({
|
|
16485
16624
|
items: exports_external.array(PowerPathTestAssignmentItemInput)
|
|
16486
16625
|
});
|
|
16487
16626
|
var PowerPathTestAssignmentsImportInput = exports_external.object({
|
|
16488
16627
|
spreadsheetUrl: exports_external.url(),
|
|
16489
|
-
sheet:
|
|
16628
|
+
sheet: NonEmptyString6
|
|
16490
16629
|
});
|
|
16491
16630
|
var PowerPathTestAssignmentsListParams = exports_external.object({
|
|
16492
|
-
student:
|
|
16631
|
+
student: NonEmptyString6,
|
|
16493
16632
|
status: exports_external.enum(["assigned", "in_progress", "completed", "failed", "expired", "cancelled"]).optional(),
|
|
16494
|
-
subject:
|
|
16633
|
+
subject: NonEmptyString6.optional(),
|
|
16495
16634
|
grade: TimebackGrade.optional(),
|
|
16496
16635
|
limit: exports_external.number().int().positive().max(3000).optional(),
|
|
16497
16636
|
offset: exports_external.number().int().nonnegative().optional()
|
|
16498
16637
|
});
|
|
16499
16638
|
var PowerPathTestAssignmentsAdminParams = exports_external.object({
|
|
16500
|
-
student:
|
|
16639
|
+
student: NonEmptyString6.optional(),
|
|
16501
16640
|
status: exports_external.enum(["assigned", "in_progress", "completed", "failed", "expired", "cancelled"]).optional(),
|
|
16502
|
-
subject:
|
|
16641
|
+
subject: NonEmptyString6.optional(),
|
|
16503
16642
|
grade: TimebackGrade.optional(),
|
|
16504
16643
|
limit: exports_external.number().int().positive().max(3000).optional(),
|
|
16505
16644
|
offset: exports_external.number().int().nonnegative().optional()
|
|
16506
16645
|
});
|
|
16507
16646
|
var PowerPathUpdateStudentQuestionResponseInput = exports_external.object({
|
|
16508
|
-
student:
|
|
16509
|
-
question:
|
|
16510
|
-
response: exports_external.union([
|
|
16511
|
-
responses: exports_external.record(exports_external.string(), exports_external.union([
|
|
16512
|
-
lesson:
|
|
16647
|
+
student: NonEmptyString6,
|
|
16648
|
+
question: NonEmptyString6,
|
|
16649
|
+
response: exports_external.union([NonEmptyString6, exports_external.array(NonEmptyString6)]).optional(),
|
|
16650
|
+
responses: exports_external.record(exports_external.string(), exports_external.union([NonEmptyString6, exports_external.array(NonEmptyString6)])).optional(),
|
|
16651
|
+
lesson: NonEmptyString6
|
|
16513
16652
|
});
|
|
16514
16653
|
var PowerPathGetAssessmentProgressParams = exports_external.object({
|
|
16515
|
-
student:
|
|
16516
|
-
lesson:
|
|
16654
|
+
student: NonEmptyString6,
|
|
16655
|
+
lesson: NonEmptyString6,
|
|
16517
16656
|
attempt: exports_external.number().int().positive().optional()
|
|
16518
16657
|
});
|
|
16519
16658
|
var PowerPathGetNextQuestionParams = exports_external.object({
|
|
16520
|
-
student:
|
|
16521
|
-
lesson:
|
|
16659
|
+
student: NonEmptyString6,
|
|
16660
|
+
lesson: NonEmptyString6
|
|
16522
16661
|
});
|
|
16523
16662
|
var PowerPathGetAttemptsParams = exports_external.object({
|
|
16524
|
-
student:
|
|
16525
|
-
lesson:
|
|
16663
|
+
student: NonEmptyString6,
|
|
16664
|
+
lesson: NonEmptyString6
|
|
16526
16665
|
});
|
|
16527
16666
|
var PowerPathTestOutParams = exports_external.object({
|
|
16528
|
-
student:
|
|
16529
|
-
lesson:
|
|
16667
|
+
student: NonEmptyString6,
|
|
16668
|
+
lesson: NonEmptyString6.optional(),
|
|
16530
16669
|
finalized: exports_external.boolean().optional(),
|
|
16531
|
-
toolProvider:
|
|
16670
|
+
toolProvider: NonEmptyString6.optional(),
|
|
16532
16671
|
attempt: exports_external.number().int().positive().optional()
|
|
16533
16672
|
});
|
|
16534
16673
|
var PowerPathImportExternalTestAssignmentResultsParams = exports_external.object({
|
|
16535
|
-
student:
|
|
16536
|
-
lesson:
|
|
16537
|
-
applicationName:
|
|
16674
|
+
student: NonEmptyString6,
|
|
16675
|
+
lesson: NonEmptyString6,
|
|
16676
|
+
applicationName: NonEmptyString6.optional()
|
|
16538
16677
|
});
|
|
16539
16678
|
var PowerPathPlacementQueryParams = exports_external.object({
|
|
16540
|
-
student:
|
|
16679
|
+
student: NonEmptyString6,
|
|
16541
16680
|
subject: TimebackSubject
|
|
16542
16681
|
});
|
|
16543
16682
|
var PowerPathSyllabusQueryParams = exports_external.object({
|