@pocketprep/types 1.15.35 → 1.16.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Support/Cloud.d.ts +66 -0
- package/Support/index.d.ts +3 -0
- package/index.d.ts +2 -0
- package/package.json +1 -1
- package/tsconfig.json +1 -2
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { Study, Teach } from '../index'
|
|
2
|
+
|
|
3
|
+
export type supportCreateOrganization = (params: { orgName: string }) => Teach.Class.OrganizationJSON
|
|
4
|
+
|
|
5
|
+
export type supportFetchOrganizations = () => Teach.Class.OrganizationJSON[]
|
|
6
|
+
|
|
7
|
+
export type supportAddInstructor = (params: {
|
|
8
|
+
email: string
|
|
9
|
+
firstName: string
|
|
10
|
+
lastName: string
|
|
11
|
+
isAdmin: boolean
|
|
12
|
+
orgId: string
|
|
13
|
+
}) => Teach.Class.OrgInstructorJSON
|
|
14
|
+
|
|
15
|
+
export type supportAddGroup = (params: {
|
|
16
|
+
groupName: string
|
|
17
|
+
orgId: string
|
|
18
|
+
orgExamId: string
|
|
19
|
+
ownerId?: string
|
|
20
|
+
}) => Teach.Class.OrgGroupJSON
|
|
21
|
+
|
|
22
|
+
export type supportAddDemoStudents = (params: {
|
|
23
|
+
orgId: string
|
|
24
|
+
orgExamIds: string[]
|
|
25
|
+
numStudents: number
|
|
26
|
+
}) => Teach.Class.OrgStudentJSON[]
|
|
27
|
+
|
|
28
|
+
export type supportCreateDemoStudentActivity = (params: {
|
|
29
|
+
studentId: string
|
|
30
|
+
examGuid: string
|
|
31
|
+
version: string
|
|
32
|
+
examMetadataId?: string
|
|
33
|
+
}) => Study.Class.QuizJSON[]
|
|
34
|
+
|
|
35
|
+
export type createLicenses = (params: {
|
|
36
|
+
organizationId: string
|
|
37
|
+
examGuid: string
|
|
38
|
+
numLicenses: number
|
|
39
|
+
disableAdminNotification?: boolean
|
|
40
|
+
}) => Study.Class.LicenseJSON[]
|
|
41
|
+
|
|
42
|
+
export type updateLicenseExam = (
|
|
43
|
+
params: {
|
|
44
|
+
objectId: string
|
|
45
|
+
examGuid: string
|
|
46
|
+
appId: string
|
|
47
|
+
examName: string
|
|
48
|
+
}
|
|
49
|
+
) => Study.Class.LicenseJSON
|
|
50
|
+
|
|
51
|
+
export type deleteLicense = (params: { licenseId: string }) => void
|
|
52
|
+
|
|
53
|
+
export type addExams = (params: {
|
|
54
|
+
exams: { examMetadataId: string; displayName: string }[]
|
|
55
|
+
organizationId: string
|
|
56
|
+
}) => Teach.Class.OrgExamJSON[]
|
|
57
|
+
|
|
58
|
+
export type archiveOrganization = (
|
|
59
|
+
params: {
|
|
60
|
+
organizationId: string
|
|
61
|
+
}
|
|
62
|
+
) => Teach.Class.OrganizationJSON
|
|
63
|
+
|
|
64
|
+
export type createMagicToken = (params: {
|
|
65
|
+
email: string
|
|
66
|
+
}) => string
|
package/index.d.ts
CHANGED
package/package.json
CHANGED