@gyldendalas/gyldendal-divine-api 0.2.5 → 0.2.7
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/index.cjs +287 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +455 -1
- package/dist/index.d.ts +455 -1
- package/dist/index.js +285 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -42,6 +42,13 @@ declare class BaseService {
|
|
|
42
42
|
addAuthHeaders?: boolean;
|
|
43
43
|
timeout: number;
|
|
44
44
|
}): Promise<Response>;
|
|
45
|
+
patchAsync({ url, headers, addAuthHeaders, body, timeout }: {
|
|
46
|
+
url: URL | string;
|
|
47
|
+
headers: Headers | undefined | null;
|
|
48
|
+
addAuthHeaders?: boolean;
|
|
49
|
+
body: string | null | undefined;
|
|
50
|
+
timeout: number;
|
|
51
|
+
}): Promise<Response>;
|
|
45
52
|
callAsync({ url, body, method, headers, timeout, addAuthHeaders }: {
|
|
46
53
|
url: URL | string;
|
|
47
54
|
body: string | null | undefined;
|
|
@@ -833,6 +840,453 @@ declare class AIBotService extends BaseService {
|
|
|
833
840
|
}): Promise<ReadableStream<Uint8Array<ArrayBufferLike>>>;
|
|
834
841
|
}
|
|
835
842
|
|
|
843
|
+
declare enum ApiErrors {
|
|
844
|
+
OVERVIEW_NOT_FOUND = "Quiz overview not found",
|
|
845
|
+
NOT_FOUND = "Quiz not found",
|
|
846
|
+
ARCHIVED = "This shared quiz session is archived",
|
|
847
|
+
GALE_USER_DATA_CLIENT_ERROR = "Failed to fetch Gale user data: Client error"
|
|
848
|
+
}
|
|
849
|
+
interface QuizStartResponse {
|
|
850
|
+
quizUnitId: number;
|
|
851
|
+
}
|
|
852
|
+
interface QuizApiError {
|
|
853
|
+
response: {
|
|
854
|
+
_data: {
|
|
855
|
+
Error: ApiErrors;
|
|
856
|
+
};
|
|
857
|
+
};
|
|
858
|
+
}
|
|
859
|
+
interface Quiz {
|
|
860
|
+
quizId: number;
|
|
861
|
+
quizName: string;
|
|
862
|
+
quizDescription: string;
|
|
863
|
+
quizFinished: boolean;
|
|
864
|
+
questions: Question[];
|
|
865
|
+
quizDeadline?: number;
|
|
866
|
+
quizResultAvailable?: number;
|
|
867
|
+
quizStartTime?: number;
|
|
868
|
+
}
|
|
869
|
+
interface Question {
|
|
870
|
+
questionId: number;
|
|
871
|
+
name: string;
|
|
872
|
+
introText: string;
|
|
873
|
+
caseSensitive?: boolean;
|
|
874
|
+
shuffle: boolean;
|
|
875
|
+
answerChecked: boolean;
|
|
876
|
+
questionType: string;
|
|
877
|
+
questionTypeId: number;
|
|
878
|
+
mediafile: Mediafile;
|
|
879
|
+
medias: Mediafile[];
|
|
880
|
+
answers: Answer[];
|
|
881
|
+
chosenAnswer: ChosenAnswer[] | null;
|
|
882
|
+
description: string;
|
|
883
|
+
freeText: string;
|
|
884
|
+
scores?: Score;
|
|
885
|
+
answerBins: {
|
|
886
|
+
binindex: number;
|
|
887
|
+
img: Mediafile;
|
|
888
|
+
txt: string;
|
|
889
|
+
}[];
|
|
890
|
+
tokenized: Tokens[];
|
|
891
|
+
'chosenAnswer correctness': string;
|
|
892
|
+
}
|
|
893
|
+
interface FormattedQuestion extends Question {
|
|
894
|
+
number: number;
|
|
895
|
+
answerTime?: string | null;
|
|
896
|
+
percentage: string;
|
|
897
|
+
}
|
|
898
|
+
interface Mediafile {
|
|
899
|
+
id: number;
|
|
900
|
+
placement: string;
|
|
901
|
+
caption: string;
|
|
902
|
+
altText: string;
|
|
903
|
+
identifier: string;
|
|
904
|
+
extension: string;
|
|
905
|
+
mimeType: string;
|
|
906
|
+
credit: string;
|
|
907
|
+
}
|
|
908
|
+
interface ChosenAnswer {
|
|
909
|
+
id: number | number[];
|
|
910
|
+
answerText: string;
|
|
911
|
+
created?: number;
|
|
912
|
+
position: number;
|
|
913
|
+
mediafile: Mediafile;
|
|
914
|
+
bins?: number[];
|
|
915
|
+
bin?: number;
|
|
916
|
+
answers?: Answer[];
|
|
917
|
+
answerBins?: AnswerBins[];
|
|
918
|
+
questionId: number;
|
|
919
|
+
isCorrect: boolean;
|
|
920
|
+
wordoption?: AnswerIcon;
|
|
921
|
+
}
|
|
922
|
+
interface AnswerBins {
|
|
923
|
+
txt: string;
|
|
924
|
+
binindex: number;
|
|
925
|
+
img: Mediafile;
|
|
926
|
+
}
|
|
927
|
+
interface Answer {
|
|
928
|
+
id: number | number[];
|
|
929
|
+
answerText: string;
|
|
930
|
+
isCorrect: boolean;
|
|
931
|
+
position: number | number[];
|
|
932
|
+
mediafile?: Mediafile;
|
|
933
|
+
bins?: number[];
|
|
934
|
+
inputText?: {
|
|
935
|
+
[key: string]: InputText;
|
|
936
|
+
};
|
|
937
|
+
dropdown?: DropdownMap;
|
|
938
|
+
tableData?: TableData;
|
|
939
|
+
wordoptions?: WordOptions;
|
|
940
|
+
wordoption?: AnswerIcon;
|
|
941
|
+
answerOptions?: AnswerIcon[];
|
|
942
|
+
questionId?: number;
|
|
943
|
+
answerBins?: AnswerBins[];
|
|
944
|
+
}
|
|
945
|
+
interface WordOptions {
|
|
946
|
+
options: WordOptionsOption[];
|
|
947
|
+
answerOptions?: string[] | AnswerIcon[];
|
|
948
|
+
}
|
|
949
|
+
interface WordOptionsOption {
|
|
950
|
+
words: string;
|
|
951
|
+
answers: string;
|
|
952
|
+
position: number;
|
|
953
|
+
}
|
|
954
|
+
interface AnswerIcon {
|
|
955
|
+
abbreviation: string;
|
|
956
|
+
icon: string;
|
|
957
|
+
description: string;
|
|
958
|
+
display: string;
|
|
959
|
+
}
|
|
960
|
+
interface InputText {
|
|
961
|
+
answerText: string;
|
|
962
|
+
bins: number[];
|
|
963
|
+
id?: number;
|
|
964
|
+
correctText: string;
|
|
965
|
+
isCorrect: boolean;
|
|
966
|
+
position: number;
|
|
967
|
+
index?: number;
|
|
968
|
+
maxCorrectValue?: number;
|
|
969
|
+
minCorrectValue?: number;
|
|
970
|
+
}
|
|
971
|
+
interface InputTextMap {
|
|
972
|
+
[key: string]: InputText;
|
|
973
|
+
}
|
|
974
|
+
interface DropdownMap {
|
|
975
|
+
[key: string]: Dropdown[];
|
|
976
|
+
}
|
|
977
|
+
interface Dropdown {
|
|
978
|
+
option: string;
|
|
979
|
+
isCorrect: boolean;
|
|
980
|
+
position?: number;
|
|
981
|
+
}
|
|
982
|
+
interface DropdownFormattedOption {
|
|
983
|
+
answerId: number;
|
|
984
|
+
options: Dropdown[];
|
|
985
|
+
}
|
|
986
|
+
interface TableData {
|
|
987
|
+
[key: string]: {
|
|
988
|
+
[key: string]: TableDataColumn | string;
|
|
989
|
+
};
|
|
990
|
+
}
|
|
991
|
+
interface TableDataColumn {
|
|
992
|
+
correctText: string;
|
|
993
|
+
isCorrect: boolean;
|
|
994
|
+
position: number;
|
|
995
|
+
options: Dropdown[];
|
|
996
|
+
minCorrectValue?: number;
|
|
997
|
+
maxCorrectValue?: number;
|
|
998
|
+
}
|
|
999
|
+
interface QuizResult {
|
|
1000
|
+
Problemdata: Question[];
|
|
1001
|
+
QuizSession?: {
|
|
1002
|
+
closesAt: string | null;
|
|
1003
|
+
description: string;
|
|
1004
|
+
name: string;
|
|
1005
|
+
opensAt: string | null;
|
|
1006
|
+
problems: number;
|
|
1007
|
+
quizSessionId: number;
|
|
1008
|
+
};
|
|
1009
|
+
QuizUnit?: {
|
|
1010
|
+
averageScore: number;
|
|
1011
|
+
finished: boolean;
|
|
1012
|
+
finishedAt: number | null;
|
|
1013
|
+
quizUnitId: number;
|
|
1014
|
+
startedAt: number | null;
|
|
1015
|
+
studentEkeysId: string;
|
|
1016
|
+
studentId: number;
|
|
1017
|
+
timeSpent: number;
|
|
1018
|
+
};
|
|
1019
|
+
Results: Results;
|
|
1020
|
+
}
|
|
1021
|
+
interface Results {
|
|
1022
|
+
'Number of correct': number;
|
|
1023
|
+
'Number of incorrect': number;
|
|
1024
|
+
'Number of not answered': number;
|
|
1025
|
+
'Number of partially correct': number;
|
|
1026
|
+
'Number of questions': number;
|
|
1027
|
+
unitScore: CalculatedScore;
|
|
1028
|
+
}
|
|
1029
|
+
interface Score {
|
|
1030
|
+
'Number of correct options': number;
|
|
1031
|
+
'Number of correct options chosen': number;
|
|
1032
|
+
'Number of options': number;
|
|
1033
|
+
'Number of options chosen': number;
|
|
1034
|
+
'Percentage score': number;
|
|
1035
|
+
'Student has answered'?: boolean;
|
|
1036
|
+
'Token check': Tokens[];
|
|
1037
|
+
}
|
|
1038
|
+
interface WordOptionsAnswer {
|
|
1039
|
+
answerId?: number;
|
|
1040
|
+
options?: (string | AnswerIcon)[];
|
|
1041
|
+
text: WordOptionsAnswerText | undefined;
|
|
1042
|
+
index: number;
|
|
1043
|
+
selected?: undefined | string | AnswerIcon;
|
|
1044
|
+
}
|
|
1045
|
+
interface WordOptionsAnswerText {
|
|
1046
|
+
answers: string;
|
|
1047
|
+
words: string;
|
|
1048
|
+
position: number;
|
|
1049
|
+
}
|
|
1050
|
+
interface Tokens {
|
|
1051
|
+
correctText: string;
|
|
1052
|
+
diffCheck: TokensDiffCheck[];
|
|
1053
|
+
numberOfTokenErrors: number;
|
|
1054
|
+
studentAnswerText: string;
|
|
1055
|
+
}
|
|
1056
|
+
interface TokensDiffCheck {
|
|
1057
|
+
error: boolean;
|
|
1058
|
+
studentWord: string;
|
|
1059
|
+
correctWord: string;
|
|
1060
|
+
}
|
|
1061
|
+
interface NewAnswer {
|
|
1062
|
+
answerText: string;
|
|
1063
|
+
bins: number[];
|
|
1064
|
+
id: number;
|
|
1065
|
+
isCorrect: boolean;
|
|
1066
|
+
position: number;
|
|
1067
|
+
questionId: number;
|
|
1068
|
+
}
|
|
1069
|
+
interface SaveAnswerResponse {
|
|
1070
|
+
Result: string;
|
|
1071
|
+
}
|
|
1072
|
+
interface SaveAnswer {
|
|
1073
|
+
'question-id': number;
|
|
1074
|
+
'question-type-id': number;
|
|
1075
|
+
'answer-id'?: number[];
|
|
1076
|
+
'answer-text'?: (string | {
|
|
1077
|
+
answers: string;
|
|
1078
|
+
} | null)[];
|
|
1079
|
+
'answer-position'?: number[];
|
|
1080
|
+
'answer-bin'?: number[];
|
|
1081
|
+
'answer-checked'?: boolean;
|
|
1082
|
+
}
|
|
1083
|
+
type QuizTextSettings = Record<string, string | number>;
|
|
1084
|
+
interface SharedQuizData {
|
|
1085
|
+
'quiz-id'?: string | undefined;
|
|
1086
|
+
isbn?: string | undefined;
|
|
1087
|
+
title: string;
|
|
1088
|
+
description: string;
|
|
1089
|
+
'quiz-open': number | null;
|
|
1090
|
+
'quiz-close': number | null;
|
|
1091
|
+
'result-available-time'?: number | null;
|
|
1092
|
+
'extra-teachers': string[];
|
|
1093
|
+
}
|
|
1094
|
+
interface SharedTeacherQuiz {
|
|
1095
|
+
createdAt?: number;
|
|
1096
|
+
deactivatedProblems?: number[];
|
|
1097
|
+
extraTeachers?: string[];
|
|
1098
|
+
isArchived?: boolean;
|
|
1099
|
+
isExtraTeacher?: boolean;
|
|
1100
|
+
isPinned?: boolean;
|
|
1101
|
+
name?: string;
|
|
1102
|
+
problems: number;
|
|
1103
|
+
quizSessionId?: number;
|
|
1104
|
+
studentsFinished?: number;
|
|
1105
|
+
}
|
|
1106
|
+
interface SharedStudentQuiz {
|
|
1107
|
+
quizUnitId: number;
|
|
1108
|
+
quizSessionId: number;
|
|
1109
|
+
name: string;
|
|
1110
|
+
createdBy: string;
|
|
1111
|
+
startedAt: number | null;
|
|
1112
|
+
finishedAt: number | null;
|
|
1113
|
+
finished: boolean;
|
|
1114
|
+
}
|
|
1115
|
+
interface CalculatedScore {
|
|
1116
|
+
points: number;
|
|
1117
|
+
maxPoints: number;
|
|
1118
|
+
percentage: number;
|
|
1119
|
+
}
|
|
1120
|
+
interface QuizSession extends SharedTeacherQuiz {
|
|
1121
|
+
description?: string;
|
|
1122
|
+
opensAt: number | null;
|
|
1123
|
+
closesAt: number | null;
|
|
1124
|
+
quizUnits?: QuizUnit[];
|
|
1125
|
+
averageScores?: {
|
|
1126
|
+
byProblem: CalculatedScore[];
|
|
1127
|
+
overall: CalculatedScore;
|
|
1128
|
+
};
|
|
1129
|
+
}
|
|
1130
|
+
interface QuizUnit {
|
|
1131
|
+
quizUnitId: number;
|
|
1132
|
+
studentId: number;
|
|
1133
|
+
studentEkeysId: string;
|
|
1134
|
+
finished: boolean;
|
|
1135
|
+
finishedAt: number | null;
|
|
1136
|
+
startedAt: number | null;
|
|
1137
|
+
timeSpent: TimeSpent;
|
|
1138
|
+
unitScore: CalculatedScore;
|
|
1139
|
+
problemScores: ProblemScore[];
|
|
1140
|
+
}
|
|
1141
|
+
interface TimeSpent {
|
|
1142
|
+
days: number;
|
|
1143
|
+
hours: number;
|
|
1144
|
+
minutes: number;
|
|
1145
|
+
seconds: number;
|
|
1146
|
+
}
|
|
1147
|
+
interface FormattedQuizUnit extends QuizUnit {
|
|
1148
|
+
formattedTimeSpent?: string;
|
|
1149
|
+
formattedFinishedAt?: string | null;
|
|
1150
|
+
formattedStartedAt?: string | null;
|
|
1151
|
+
percentage?: string;
|
|
1152
|
+
total?: string;
|
|
1153
|
+
}
|
|
1154
|
+
interface ProblemScore {
|
|
1155
|
+
mathproblem: number;
|
|
1156
|
+
questionTypeId: number;
|
|
1157
|
+
questionTypeString: string;
|
|
1158
|
+
score: Score;
|
|
1159
|
+
}
|
|
1160
|
+
type QuizTableAction = 'copy' | 'archive' | 'delete' | 'unarchive';
|
|
1161
|
+
type QuizTableItem = SharedTeacherQuiz | FormattedQuizUnit | SharedStudentQuiz;
|
|
1162
|
+
type SearchableKeys = 'name';
|
|
1163
|
+
type ProblemAnswerState = 'correct' | 'incorrect' | 'partially-correct' | 'unanswered';
|
|
1164
|
+
type QuizLocalState = {
|
|
1165
|
+
id: number;
|
|
1166
|
+
isLoading: boolean;
|
|
1167
|
+
isApiError: boolean;
|
|
1168
|
+
data: Quiz | null;
|
|
1169
|
+
originalData: Quiz | null;
|
|
1170
|
+
finished: boolean;
|
|
1171
|
+
results: QuizResult | null;
|
|
1172
|
+
instantFeedback: string | null;
|
|
1173
|
+
showAdvancedResults: boolean;
|
|
1174
|
+
};
|
|
1175
|
+
declare class QuizService extends BaseService {
|
|
1176
|
+
discoverUrlPrefix(): string;
|
|
1177
|
+
private makeHeaders;
|
|
1178
|
+
checkActiveSession({ isbn, quizNumber, extraHeaders, timeout }: {
|
|
1179
|
+
isbn: string;
|
|
1180
|
+
quizNumber: number;
|
|
1181
|
+
extraHeaders?: Record<string, string>;
|
|
1182
|
+
timeout?: number;
|
|
1183
|
+
}): Promise<QuizStartResponse>;
|
|
1184
|
+
startQuiz({ isbn, quiz, shared, extraHeaders, timeout }: {
|
|
1185
|
+
isbn: string;
|
|
1186
|
+
quiz: number;
|
|
1187
|
+
shared?: boolean;
|
|
1188
|
+
extraHeaders?: Record<string, string>;
|
|
1189
|
+
timeout?: number;
|
|
1190
|
+
}): Promise<QuizStartResponse>;
|
|
1191
|
+
getProblems({ isbn, quizUnitId, shared, extraHeaders, timeout }: {
|
|
1192
|
+
isbn: string;
|
|
1193
|
+
quizUnitId: number;
|
|
1194
|
+
shared?: boolean;
|
|
1195
|
+
extraHeaders?: Record<string, string>;
|
|
1196
|
+
timeout?: number;
|
|
1197
|
+
}): Promise<Quiz>;
|
|
1198
|
+
resetAnswer({ isbn, quizUnitId, questionID, extraHeaders, timeout }: {
|
|
1199
|
+
isbn: string;
|
|
1200
|
+
quizUnitId: number;
|
|
1201
|
+
questionID: number;
|
|
1202
|
+
extraHeaders?: Record<string, string>;
|
|
1203
|
+
timeout?: number;
|
|
1204
|
+
}): Promise<any>;
|
|
1205
|
+
saveAnswer({ isbn, quizUnitId, answer, shared, extraHeaders, timeout }: {
|
|
1206
|
+
isbn: string;
|
|
1207
|
+
quizUnitId: number;
|
|
1208
|
+
answer: object;
|
|
1209
|
+
shared?: boolean;
|
|
1210
|
+
extraHeaders?: Record<string, string>;
|
|
1211
|
+
timeout?: number;
|
|
1212
|
+
}): Promise<SaveAnswerResponse>;
|
|
1213
|
+
finishQuiz({ isbn, quizUnitId, shared, extraHeaders, timeout }: {
|
|
1214
|
+
isbn: string;
|
|
1215
|
+
quizUnitId: number;
|
|
1216
|
+
shared?: boolean;
|
|
1217
|
+
extraHeaders?: Record<string, string>;
|
|
1218
|
+
timeout?: number;
|
|
1219
|
+
}): Promise<any>;
|
|
1220
|
+
getResults({ isbn, quizUnitId, shared, extraHeaders, timeout }: {
|
|
1221
|
+
isbn: string;
|
|
1222
|
+
quizUnitId: number;
|
|
1223
|
+
shared?: boolean;
|
|
1224
|
+
extraHeaders?: Record<string, string>;
|
|
1225
|
+
timeout?: number;
|
|
1226
|
+
}): Promise<QuizResult>;
|
|
1227
|
+
createSharedQuiz({ quizData, extraHeaders, timeout }: {
|
|
1228
|
+
quizData: SharedQuizData;
|
|
1229
|
+
extraHeaders?: Record<string, string>;
|
|
1230
|
+
timeout?: number;
|
|
1231
|
+
}): Promise<{
|
|
1232
|
+
quizSessionId: number;
|
|
1233
|
+
}>;
|
|
1234
|
+
copyEditSharedQuiz({ quizSessionId, quizData, action, extraHeaders, timeout }: {
|
|
1235
|
+
quizSessionId: number;
|
|
1236
|
+
quizData: SharedQuizData;
|
|
1237
|
+
action: 'edit' | 'copy';
|
|
1238
|
+
extraHeaders?: Record<string, string>;
|
|
1239
|
+
timeout?: number;
|
|
1240
|
+
}): Promise<{
|
|
1241
|
+
quizSessionId: number;
|
|
1242
|
+
}>;
|
|
1243
|
+
getTeachersQuizProblems({ quizSessionId, extraHeaders, timeout }: {
|
|
1244
|
+
quizSessionId: number;
|
|
1245
|
+
extraHeaders?: Record<string, string>;
|
|
1246
|
+
timeout?: number;
|
|
1247
|
+
}): Promise<Quiz>;
|
|
1248
|
+
getTeachersUnitOverview({ quizSessionId, quizUnitId, extraHeaders, timeout }: {
|
|
1249
|
+
quizSessionId: number;
|
|
1250
|
+
quizUnitId: number;
|
|
1251
|
+
extraHeaders?: Record<string, string>;
|
|
1252
|
+
timeout?: number;
|
|
1253
|
+
}): Promise<QuizResult>;
|
|
1254
|
+
activateDeactivateQuestion({ quizSessionId, questionId, activate, extraHeaders, timeout }: {
|
|
1255
|
+
quizSessionId: string;
|
|
1256
|
+
questionId: number;
|
|
1257
|
+
activate: boolean;
|
|
1258
|
+
extraHeaders?: Record<string, string>;
|
|
1259
|
+
timeout?: number;
|
|
1260
|
+
}): Promise<any>;
|
|
1261
|
+
getTeachersQuizzes({ extraHeaders, timeout }: {
|
|
1262
|
+
extraHeaders?: Record<string, string>;
|
|
1263
|
+
timeout?: number;
|
|
1264
|
+
}): Promise<{
|
|
1265
|
+
SharedQuizzes: SharedTeacherQuiz[];
|
|
1266
|
+
}>;
|
|
1267
|
+
getStudentsQuizzes({ extraHeaders, timeout }: {
|
|
1268
|
+
extraHeaders?: Record<string, string>;
|
|
1269
|
+
timeout?: number;
|
|
1270
|
+
}): Promise<SharedStudentQuiz[]>;
|
|
1271
|
+
getTeachersQuiz({ quizSessionId, extraHeaders, timeout }: {
|
|
1272
|
+
quizSessionId: string;
|
|
1273
|
+
extraHeaders?: Record<string, string>;
|
|
1274
|
+
timeout?: number;
|
|
1275
|
+
}): Promise<QuizSession>;
|
|
1276
|
+
toggleArchiveQuiz({ quizSessionId, archive, extraHeaders, timeout }: {
|
|
1277
|
+
quizSessionId: string;
|
|
1278
|
+
archive: boolean;
|
|
1279
|
+
extraHeaders?: Record<string, string>;
|
|
1280
|
+
timeout?: number;
|
|
1281
|
+
}): Promise<any>;
|
|
1282
|
+
deleteSharedQuizUnit({ quizSessionId, quizUnitId, extraHeaders, timeout }: {
|
|
1283
|
+
quizSessionId: string;
|
|
1284
|
+
quizUnitId: string;
|
|
1285
|
+
extraHeaders?: Record<string, string>;
|
|
1286
|
+
timeout?: number;
|
|
1287
|
+
}): Promise<any>;
|
|
1288
|
+
}
|
|
1289
|
+
|
|
836
1290
|
declare class WritingTaskService extends BaseService {
|
|
837
1291
|
discoverUrlPrefix(): string;
|
|
838
1292
|
}
|
|
@@ -841,4 +1295,4 @@ declare class SolrProxyService extends BaseService {
|
|
|
841
1295
|
discoverUrlPrefix(): string;
|
|
842
1296
|
}
|
|
843
1297
|
|
|
844
|
-
export { AIBotService, type AIChatCompletion, type AIChatCompletionDelta, type AIChatCompletionOptions, type AIChatCompletionRequest, type AIChatMessage, type AIChatMessageDelta, type AIChatRole, type ActivePublicationFilters, type Bookmark, type BookmarkUpdate, type ClientSettings, type ClientSettingsResponse, type Continue, type ContinueUpdate, CookieConsentLog, type CookieConsentRequest, type CookieConsentResponse, type CookieConsentState, type CurrentSpeedSelection, type CurrentVoiceSelection, type DisplayModeOption, type Folder, type FolderContent, type FolderObject, type FontFamily, type FrontPageSection, type Highlight, type HighlightAddResult, type HighlightCountResponse, type HighlightDeleteResult, type HighlightRanges, type HighlightRequest, type HighlightResponse, HighlightResultType, type HighlightSearchRequest, type HighlightSearchResponse, HighlightService, type HighlightUpdate, type HighlightUpdateRequest, type HighlightUpdateResponse, type HiglightSearchMatch, type ICtype, type ICtypeDict, type IRecreationData, type ITextStartEndObject, type LayoutView, type MRU, type NoteHighlight, type Notes, type NotesData, type NotesLabels, type NotesRequest, PdfGeneratorService, PollyService, type ReadAloudStore, type Readability, type Response$1 as Response, SSMLSpeechSpeeds, type SiteMapContent, type SiteMapLabels, type SiteMapPage, type SiteMapPageTreeData, type SiteMapPageTreeItem, type SiteMapRequest, SolrProxyService, type SortOptions, type SpeechmarkEvent, type SynthesisRequest, type SynthesisResponse, type Tag, type TagOutput, TaggingService, UserFolders, UserSettingsBookmarks, UserSettingsClientSettings, UserSettingsContinue, UserSettingsMRU, type WritingTaskData, type WritingTaskItem, type WritingTaskRequest, WritingTaskService };
|
|
1298
|
+
export { AIBotService, type AIChatCompletion, type AIChatCompletionDelta, type AIChatCompletionOptions, type AIChatCompletionRequest, type AIChatMessage, type AIChatMessageDelta, type AIChatRole, type ActivePublicationFilters, type Answer, type AnswerBins, type AnswerIcon, ApiErrors, type Bookmark, type BookmarkUpdate, type CalculatedScore, type ChosenAnswer, type ClientSettings, type ClientSettingsResponse, type Continue, type ContinueUpdate, CookieConsentLog, type CookieConsentRequest, type CookieConsentResponse, type CookieConsentState, type CurrentSpeedSelection, type CurrentVoiceSelection, type DisplayModeOption, type Dropdown, type DropdownFormattedOption, type DropdownMap, type Folder, type FolderContent, type FolderObject, type FontFamily, type FormattedQuestion, type FormattedQuizUnit, type FrontPageSection, type Highlight, type HighlightAddResult, type HighlightCountResponse, type HighlightDeleteResult, type HighlightRanges, type HighlightRequest, type HighlightResponse, HighlightResultType, type HighlightSearchRequest, type HighlightSearchResponse, HighlightService, type HighlightUpdate, type HighlightUpdateRequest, type HighlightUpdateResponse, type HiglightSearchMatch, type ICtype, type ICtypeDict, type IRecreationData, type ITextStartEndObject, type InputText, type InputTextMap, type LayoutView, type MRU, type Mediafile, type NewAnswer, type NoteHighlight, type Notes, type NotesData, type NotesLabels, type NotesRequest, PdfGeneratorService, PollyService, type ProblemAnswerState, type ProblemScore, type Question, type Quiz, type QuizApiError, type QuizLocalState, type QuizResult, QuizService, type QuizSession, type QuizStartResponse, type QuizTableAction, type QuizTableItem, type QuizTextSettings, type QuizUnit, type ReadAloudStore, type Readability, type Response$1 as Response, type Results, SSMLSpeechSpeeds, type SaveAnswer, type SaveAnswerResponse, type Score, type SearchableKeys, type SharedQuizData, type SharedStudentQuiz, type SharedTeacherQuiz, type SiteMapContent, type SiteMapLabels, type SiteMapPage, type SiteMapPageTreeData, type SiteMapPageTreeItem, type SiteMapRequest, SolrProxyService, type SortOptions, type SpeechmarkEvent, type SynthesisRequest, type SynthesisResponse, type TableData, type TableDataColumn, type Tag, type TagOutput, TaggingService, type TimeSpent, type Tokens, type TokensDiffCheck, UserFolders, UserSettingsBookmarks, UserSettingsClientSettings, UserSettingsContinue, UserSettingsMRU, type WordOptions, type WordOptionsAnswer, type WordOptionsAnswerText, type WordOptionsOption, type WritingTaskData, type WritingTaskItem, type WritingTaskRequest, WritingTaskService };
|