@eduware/oneroster 1.2.4 → 1.2.6
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/FUNCTIONS.md +232 -0
- package/README.md +493 -334
- package/bin/mcp-server.js +338 -1328
- package/bin/mcp-server.js.map +22 -21
- package/dist/commonjs/enums/index.d.ts +2 -0
- package/dist/commonjs/enums/index.d.ts.map +1 -0
- package/dist/commonjs/enums/index.js +18 -0
- package/dist/commonjs/enums/index.js.map +1 -0
- package/dist/commonjs/index.d.ts +4 -0
- package/dist/commonjs/index.d.ts.map +1 -1
- package/dist/commonjs/index.js +41 -1
- package/dist/commonjs/index.js.map +1 -1
- package/dist/commonjs/models/errors/index.d.ts +1 -0
- package/dist/commonjs/models/errors/index.d.ts.map +1 -1
- package/dist/commonjs/models/errors/index.js +1 -0
- package/dist/commonjs/models/errors/index.js.map +1 -1
- package/dist/commonjs/models/index.d.ts +2 -0
- package/dist/commonjs/models/index.d.ts.map +1 -0
- package/dist/commonjs/models/index.js +18 -0
- package/dist/commonjs/models/index.js.map +1 -0
- package/dist/commonjs/models/operations/createuser.d.ts +8 -270
- package/dist/commonjs/models/operations/createuser.d.ts.map +1 -1
- package/dist/commonjs/models/operations/createuser.js +17 -178
- package/dist/commonjs/models/operations/createuser.js.map +1 -1
- package/dist/commonjs/models/operations/getallstudents.d.ts +6 -206
- package/dist/commonjs/models/operations/getallstudents.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getallstudents.js +12 -132
- package/dist/commonjs/models/operations/getallstudents.js.map +1 -1
- package/dist/commonjs/models/operations/getallteachers.d.ts +6 -206
- package/dist/commonjs/models/operations/getallteachers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getallteachers.js +12 -132
- package/dist/commonjs/models/operations/getallteachers.js.map +1 -1
- package/dist/commonjs/models/operations/getallusers.d.ts +6 -206
- package/dist/commonjs/models/operations/getallusers.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getallusers.js +12 -132
- package/dist/commonjs/models/operations/getallusers.js.map +1 -1
- package/dist/commonjs/models/operations/getclassesforuser.d.ts +4 -85
- package/dist/commonjs/models/operations/getclassesforuser.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getclassesforuser.js +8 -67
- package/dist/commonjs/models/operations/getclassesforuser.js.map +1 -1
- package/dist/commonjs/models/operations/getresourcesforuser.d.ts +5 -111
- package/dist/commonjs/models/operations/getresourcesforuser.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getresourcesforuser.js +10 -88
- package/dist/commonjs/models/operations/getresourcesforuser.js.map +1 -1
- package/dist/commonjs/models/operations/getstudent.d.ts +5 -174
- package/dist/commonjs/models/operations/getstudent.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getstudent.js +10 -108
- package/dist/commonjs/models/operations/getstudent.js.map +1 -1
- package/dist/commonjs/models/operations/getstudentsforclass.d.ts +6 -206
- package/dist/commonjs/models/operations/getstudentsforclass.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getstudentsforclass.js +12 -132
- package/dist/commonjs/models/operations/getstudentsforclass.js.map +1 -1
- package/dist/commonjs/models/operations/getstudentsforclassinschool.d.ts +6 -206
- package/dist/commonjs/models/operations/getstudentsforclassinschool.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getstudentsforclassinschool.js +12 -132
- package/dist/commonjs/models/operations/getstudentsforclassinschool.js.map +1 -1
- package/dist/commonjs/models/operations/getstudentsforschool.d.ts +6 -206
- package/dist/commonjs/models/operations/getstudentsforschool.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getstudentsforschool.js +12 -132
- package/dist/commonjs/models/operations/getstudentsforschool.js.map +1 -1
- package/dist/commonjs/models/operations/getteacher.d.ts +5 -174
- package/dist/commonjs/models/operations/getteacher.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getteacher.js +10 -108
- package/dist/commonjs/models/operations/getteacher.js.map +1 -1
- package/dist/commonjs/models/operations/getteachersforclass.d.ts +6 -206
- package/dist/commonjs/models/operations/getteachersforclass.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getteachersforclass.js +12 -132
- package/dist/commonjs/models/operations/getteachersforclass.js.map +1 -1
- package/dist/commonjs/models/operations/getteachersforclassinschool.d.ts +6 -206
- package/dist/commonjs/models/operations/getteachersforclassinschool.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getteachersforclassinschool.js +12 -132
- package/dist/commonjs/models/operations/getteachersforclassinschool.js.map +1 -1
- package/dist/commonjs/models/operations/getteachersforschool.d.ts +6 -206
- package/dist/commonjs/models/operations/getteachersforschool.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getteachersforschool.js +12 -132
- package/dist/commonjs/models/operations/getteachersforschool.js.map +1 -1
- package/dist/commonjs/models/operations/getuser.d.ts +5 -174
- package/dist/commonjs/models/operations/getuser.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getuser.js +10 -108
- package/dist/commonjs/models/operations/getuser.js.map +1 -1
- package/dist/commonjs/models/operations/getuserwithdemographics.d.ts +5 -174
- package/dist/commonjs/models/operations/getuserwithdemographics.d.ts.map +1 -1
- package/dist/commonjs/models/operations/getuserwithdemographics.js +10 -108
- package/dist/commonjs/models/operations/getuserwithdemographics.js.map +1 -1
- package/dist/commonjs/models/operations/updateuser.d.ts +8 -270
- package/dist/commonjs/models/operations/updateuser.d.ts.map +1 -1
- package/dist/commonjs/models/operations/updateuser.js +17 -178
- package/dist/commonjs/models/operations/updateuser.js.map +1 -1
- package/dist/commonjs/models/shared/enums.d.ts +440 -0
- package/dist/commonjs/models/shared/enums.d.ts.map +1 -0
- package/dist/commonjs/models/shared/enums.js +499 -0
- package/dist/commonjs/models/shared/enums.js.map +1 -0
- package/dist/commonjs/models/shared/index.d.ts +8 -0
- package/dist/commonjs/models/shared/index.d.ts.map +1 -0
- package/dist/commonjs/models/shared/index.js +24 -0
- package/dist/commonjs/models/shared/index.js.map +1 -0
- package/dist/commonjs/types/index.d.ts +1 -0
- package/dist/commonjs/types/index.d.ts.map +1 -1
- package/dist/commonjs/types/index.js +16 -0
- package/dist/commonjs/types/index.js.map +1 -1
- package/dist/esm/enums/index.d.ts +2 -0
- package/dist/esm/enums/index.d.ts.map +1 -0
- package/dist/esm/enums/index.js +2 -0
- package/dist/esm/enums/index.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +14 -0
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models/errors/index.d.ts +1 -0
- package/dist/esm/models/errors/index.d.ts.map +1 -1
- package/dist/esm/models/errors/index.js +1 -0
- package/dist/esm/models/errors/index.js.map +1 -1
- package/dist/esm/models/index.d.ts +2 -0
- package/dist/esm/models/index.d.ts.map +1 -0
- package/dist/esm/models/index.js +2 -0
- package/dist/esm/models/index.js.map +1 -0
- package/dist/esm/models/operations/createuser.d.ts +8 -270
- package/dist/esm/models/operations/createuser.d.ts.map +1 -1
- package/dist/esm/models/operations/createuser.js +15 -176
- package/dist/esm/models/operations/createuser.js.map +1 -1
- package/dist/esm/models/operations/getallstudents.d.ts +6 -206
- package/dist/esm/models/operations/getallstudents.d.ts.map +1 -1
- package/dist/esm/models/operations/getallstudents.js +11 -131
- package/dist/esm/models/operations/getallstudents.js.map +1 -1
- package/dist/esm/models/operations/getallteachers.d.ts +6 -206
- package/dist/esm/models/operations/getallteachers.d.ts.map +1 -1
- package/dist/esm/models/operations/getallteachers.js +11 -131
- package/dist/esm/models/operations/getallteachers.js.map +1 -1
- package/dist/esm/models/operations/getallusers.d.ts +6 -206
- package/dist/esm/models/operations/getallusers.d.ts.map +1 -1
- package/dist/esm/models/operations/getallusers.js +11 -131
- package/dist/esm/models/operations/getallusers.js.map +1 -1
- package/dist/esm/models/operations/getclassesforuser.d.ts +4 -85
- package/dist/esm/models/operations/getclassesforuser.d.ts.map +1 -1
- package/dist/esm/models/operations/getclassesforuser.js +7 -66
- package/dist/esm/models/operations/getclassesforuser.js.map +1 -1
- package/dist/esm/models/operations/getresourcesforuser.d.ts +5 -111
- package/dist/esm/models/operations/getresourcesforuser.d.ts.map +1 -1
- package/dist/esm/models/operations/getresourcesforuser.js +9 -87
- package/dist/esm/models/operations/getresourcesforuser.js.map +1 -1
- package/dist/esm/models/operations/getstudent.d.ts +5 -174
- package/dist/esm/models/operations/getstudent.d.ts.map +1 -1
- package/dist/esm/models/operations/getstudent.js +9 -107
- package/dist/esm/models/operations/getstudent.js.map +1 -1
- package/dist/esm/models/operations/getstudentsforclass.d.ts +6 -206
- package/dist/esm/models/operations/getstudentsforclass.d.ts.map +1 -1
- package/dist/esm/models/operations/getstudentsforclass.js +11 -131
- package/dist/esm/models/operations/getstudentsforclass.js.map +1 -1
- package/dist/esm/models/operations/getstudentsforclassinschool.d.ts +6 -206
- package/dist/esm/models/operations/getstudentsforclassinschool.d.ts.map +1 -1
- package/dist/esm/models/operations/getstudentsforclassinschool.js +11 -131
- package/dist/esm/models/operations/getstudentsforclassinschool.js.map +1 -1
- package/dist/esm/models/operations/getstudentsforschool.d.ts +6 -206
- package/dist/esm/models/operations/getstudentsforschool.d.ts.map +1 -1
- package/dist/esm/models/operations/getstudentsforschool.js +11 -131
- package/dist/esm/models/operations/getstudentsforschool.js.map +1 -1
- package/dist/esm/models/operations/getteacher.d.ts +5 -174
- package/dist/esm/models/operations/getteacher.d.ts.map +1 -1
- package/dist/esm/models/operations/getteacher.js +9 -107
- package/dist/esm/models/operations/getteacher.js.map +1 -1
- package/dist/esm/models/operations/getteachersforclass.d.ts +6 -206
- package/dist/esm/models/operations/getteachersforclass.d.ts.map +1 -1
- package/dist/esm/models/operations/getteachersforclass.js +11 -131
- package/dist/esm/models/operations/getteachersforclass.js.map +1 -1
- package/dist/esm/models/operations/getteachersforclassinschool.d.ts +6 -206
- package/dist/esm/models/operations/getteachersforclassinschool.d.ts.map +1 -1
- package/dist/esm/models/operations/getteachersforclassinschool.js +11 -131
- package/dist/esm/models/operations/getteachersforclassinschool.js.map +1 -1
- package/dist/esm/models/operations/getteachersforschool.d.ts +6 -206
- package/dist/esm/models/operations/getteachersforschool.d.ts.map +1 -1
- package/dist/esm/models/operations/getteachersforschool.js +11 -131
- package/dist/esm/models/operations/getteachersforschool.js.map +1 -1
- package/dist/esm/models/operations/getuser.d.ts +5 -174
- package/dist/esm/models/operations/getuser.d.ts.map +1 -1
- package/dist/esm/models/operations/getuser.js +9 -107
- package/dist/esm/models/operations/getuser.js.map +1 -1
- package/dist/esm/models/operations/getuserwithdemographics.d.ts +5 -174
- package/dist/esm/models/operations/getuserwithdemographics.d.ts.map +1 -1
- package/dist/esm/models/operations/getuserwithdemographics.js +9 -107
- package/dist/esm/models/operations/getuserwithdemographics.js.map +1 -1
- package/dist/esm/models/operations/updateuser.d.ts +8 -270
- package/dist/esm/models/operations/updateuser.d.ts.map +1 -1
- package/dist/esm/models/operations/updateuser.js +15 -176
- package/dist/esm/models/operations/updateuser.js.map +1 -1
- package/dist/esm/models/shared/enums.d.ts +440 -0
- package/dist/esm/models/shared/enums.d.ts.map +1 -0
- package/dist/esm/models/shared/enums.js +462 -0
- package/dist/esm/models/shared/enums.js.map +1 -0
- package/dist/esm/models/shared/index.d.ts +8 -0
- package/dist/esm/models/shared/index.d.ts.map +1 -0
- package/dist/esm/models/shared/index.js +8 -0
- package/dist/esm/models/shared/index.js.map +1 -0
- package/dist/esm/types/index.d.ts +1 -0
- package/dist/esm/types/index.d.ts.map +1 -1
- package/dist/esm/types/index.js +2 -0
- package/dist/esm/types/index.js.map +1 -1
- package/package.json +37 -64
- package/src/enums/index.ts +1 -0
- package/src/index.ts +44 -0
- package/src/models/errors/index.ts +1 -0
- package/src/models/index.ts +1 -0
- package/src/models/operations/createuser.ts +35 -238
- package/src/models/operations/getallstudents.ts +32 -170
- package/src/models/operations/getallteachers.ts +32 -170
- package/src/models/operations/getallusers.ts +32 -170
- package/src/models/operations/getclassesforuser.ts +20 -97
- package/src/models/operations/getresourcesforuser.ts +26 -127
- package/src/models/operations/getstudent.ts +26 -136
- package/src/models/operations/getstudentsforclass.ts +32 -180
- package/src/models/operations/getstudentsforclassinschool.ts +32 -188
- package/src/models/operations/getstudentsforschool.ts +32 -180
- package/src/models/operations/getteacher.ts +26 -136
- package/src/models/operations/getteachersforclass.ts +32 -180
- package/src/models/operations/getteachersforclassinschool.ts +32 -188
- package/src/models/operations/getteachersforschool.ts +32 -180
- package/src/models/operations/getuser.ts +26 -136
- package/src/models/operations/getuserwithdemographics.ts +26 -144
- package/src/models/operations/updateuser.ts +35 -238
- package/src/models/shared/enums.ts +567 -0
- package/src/models/shared/index.ts +8 -0
- package/src/types/index.ts +3 -0
- package/test/classlink.test.ts +26 -26
- package/vitest.config.ts +2 -2
- package/test/summary-reporter.ts +0 -114
|
@@ -0,0 +1,462 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* OneRoster Specification Enums
|
|
3
|
+
*
|
|
4
|
+
* This file contains all enumerated vocabulary terms defined in the
|
|
5
|
+
* 1EdTech OneRoster v1.2 specification. These enums are shared across
|
|
6
|
+
* all operations to ensure consistency and reduce code duplication.
|
|
7
|
+
*
|
|
8
|
+
* @see https://www.imsglobal.org/oneroster-v12-final-specification
|
|
9
|
+
*/
|
|
10
|
+
import * as z from 'zod';
|
|
11
|
+
// =============================================================================
|
|
12
|
+
// Table 6.3.2 - BaseStatusEnum
|
|
13
|
+
// =============================================================================
|
|
14
|
+
/**
|
|
15
|
+
* Status of a OneRoster record.
|
|
16
|
+
*
|
|
17
|
+
* @remarks
|
|
18
|
+
* - `active` - An active record
|
|
19
|
+
* - `tobedeleted` - Denotes that it is safe to delete the record
|
|
20
|
+
*/
|
|
21
|
+
export const Status = {
|
|
22
|
+
/** An active record */
|
|
23
|
+
Active: 'active',
|
|
24
|
+
/** Denotes that it is safe to delete the record */
|
|
25
|
+
ToBeDeleted: 'tobedeleted',
|
|
26
|
+
};
|
|
27
|
+
/** @internal */
|
|
28
|
+
export const Status$inboundSchema = z.nativeEnum(Status);
|
|
29
|
+
/** @internal */
|
|
30
|
+
export const Status$outboundSchema = Status$inboundSchema;
|
|
31
|
+
// =============================================================================
|
|
32
|
+
// Table 6.3.11 - RoleTypeEnum
|
|
33
|
+
// =============================================================================
|
|
34
|
+
/**
|
|
35
|
+
* Type of role assignment (primary or secondary).
|
|
36
|
+
*
|
|
37
|
+
* @remarks
|
|
38
|
+
* - `primary` - Denotes that this is the primary role within the associated org.
|
|
39
|
+
* Only one role can be primary for each org.
|
|
40
|
+
* - `secondary` - Denotes this is a secondary role within the associated org
|
|
41
|
+
* i.e. some other role is the primary.
|
|
42
|
+
*/
|
|
43
|
+
export const RoleType = {
|
|
44
|
+
/** Denotes that this is the primary role within the associated org */
|
|
45
|
+
Primary: 'primary',
|
|
46
|
+
/** Denotes this is a secondary role within the associated org */
|
|
47
|
+
Secondary: 'secondary',
|
|
48
|
+
};
|
|
49
|
+
/** @internal */
|
|
50
|
+
export const RoleType$inboundSchema = z.nativeEnum(RoleType);
|
|
51
|
+
/** @internal */
|
|
52
|
+
export const RoleType$outboundSchema = RoleType$inboundSchema;
|
|
53
|
+
// =============================================================================
|
|
54
|
+
// Table 6.3.12 - RoleEnum (User Roles)
|
|
55
|
+
// =============================================================================
|
|
56
|
+
/**
|
|
57
|
+
* User role types in OneRoster.
|
|
58
|
+
*
|
|
59
|
+
* @remarks
|
|
60
|
+
* Defines all possible roles a user can have within an organization.
|
|
61
|
+
*/
|
|
62
|
+
export const UserRole = {
|
|
63
|
+
/** Someone who has administrative responsibility */
|
|
64
|
+
Administrator: 'administrator',
|
|
65
|
+
/** A classroom aide */
|
|
66
|
+
Aide: 'aide',
|
|
67
|
+
/** A school counselor */
|
|
68
|
+
Counselor: 'counselor',
|
|
69
|
+
/** A district-level administrator */
|
|
70
|
+
DistrictAdministrator: 'districtAdministrator',
|
|
71
|
+
/** A guardian of a student */
|
|
72
|
+
Guardian: 'guardian',
|
|
73
|
+
/** A parent of a student */
|
|
74
|
+
Parent: 'parent',
|
|
75
|
+
/** A school principal */
|
|
76
|
+
Principal: 'principal',
|
|
77
|
+
/** An exam proctor */
|
|
78
|
+
Proctor: 'proctor',
|
|
79
|
+
/** A relative of a student */
|
|
80
|
+
Relative: 'relative',
|
|
81
|
+
/** A site-level administrator */
|
|
82
|
+
SiteAdministrator: 'siteAdministrator',
|
|
83
|
+
/** A student at an organization */
|
|
84
|
+
Student: 'student',
|
|
85
|
+
/** A system-level administrator */
|
|
86
|
+
SystemAdministrator: 'systemAdministrator',
|
|
87
|
+
/** A teacher at an organization */
|
|
88
|
+
Teacher: 'teacher',
|
|
89
|
+
};
|
|
90
|
+
/** @internal */
|
|
91
|
+
export const UserRole$inboundSchema = z.nativeEnum(UserRole);
|
|
92
|
+
/** @internal */
|
|
93
|
+
export const UserRole$outboundSchema = UserRole$inboundSchema;
|
|
94
|
+
// =============================================================================
|
|
95
|
+
// Table 6.3.6 - EnrolRoleEnum (Enrollment Roles)
|
|
96
|
+
// =============================================================================
|
|
97
|
+
/**
|
|
98
|
+
* Enrollment role types.
|
|
99
|
+
*
|
|
100
|
+
* @remarks
|
|
101
|
+
* Defines the roles that can be assigned in an enrollment record.
|
|
102
|
+
* This is a subset of UserRole used specifically for class enrollments.
|
|
103
|
+
*/
|
|
104
|
+
export const EnrollmentRole = {
|
|
105
|
+
/** Someone who has administrative responsibility for the Class */
|
|
106
|
+
Administrator: 'administrator',
|
|
107
|
+
/** Exam proctor */
|
|
108
|
+
Proctor: 'proctor',
|
|
109
|
+
/** A student at an organization e.g. School */
|
|
110
|
+
Student: 'student',
|
|
111
|
+
/** A Teacher at an organization e.g. School */
|
|
112
|
+
Teacher: 'teacher',
|
|
113
|
+
};
|
|
114
|
+
/** @internal */
|
|
115
|
+
export const EnrollmentRole$inboundSchema = z.nativeEnum(EnrollmentRole);
|
|
116
|
+
/** @internal */
|
|
117
|
+
export const EnrollmentRole$outboundSchema = EnrollmentRole$inboundSchema;
|
|
118
|
+
// =============================================================================
|
|
119
|
+
// Table 6.3.13 - SessionTypeEnum
|
|
120
|
+
// =============================================================================
|
|
121
|
+
/**
|
|
122
|
+
* Academic session types.
|
|
123
|
+
*
|
|
124
|
+
* @remarks
|
|
125
|
+
* Defines the types of academic sessions/periods.
|
|
126
|
+
*/
|
|
127
|
+
export const SessionType = {
|
|
128
|
+
/** Denotes a period over which some grade/result is to be awarded */
|
|
129
|
+
GradingPeriod: 'gradingPeriod',
|
|
130
|
+
/** Denotes the school year */
|
|
131
|
+
SchoolYear: 'schoolYear',
|
|
132
|
+
/** Denotes a semester period. Typically there are two semesters per schoolYear */
|
|
133
|
+
Semester: 'semester',
|
|
134
|
+
/** Denotes a term period. Typically there are three terms per schoolYear */
|
|
135
|
+
Term: 'term',
|
|
136
|
+
};
|
|
137
|
+
/** @internal */
|
|
138
|
+
export const SessionType$inboundSchema = z.nativeEnum(SessionType);
|
|
139
|
+
/** @internal */
|
|
140
|
+
export const SessionType$outboundSchema = SessionType$inboundSchema;
|
|
141
|
+
// =============================================================================
|
|
142
|
+
// Table 6.3.4 - ClassTypeEnum
|
|
143
|
+
// =============================================================================
|
|
144
|
+
/**
|
|
145
|
+
* Class types.
|
|
146
|
+
*
|
|
147
|
+
* @remarks
|
|
148
|
+
* Defines the types of classes.
|
|
149
|
+
*/
|
|
150
|
+
export const ClassType = {
|
|
151
|
+
/** The homeroom (form) assigned to the class */
|
|
152
|
+
Homeroom: 'homeroom',
|
|
153
|
+
/** The class as assigned in the timetable */
|
|
154
|
+
Scheduled: 'scheduled',
|
|
155
|
+
};
|
|
156
|
+
/** @internal */
|
|
157
|
+
export const ClassType$inboundSchema = z.nativeEnum(ClassType);
|
|
158
|
+
/** @internal */
|
|
159
|
+
export const ClassType$outboundSchema = ClassType$inboundSchema;
|
|
160
|
+
// =============================================================================
|
|
161
|
+
// Table 6.3.9 - OrgTypeEnum
|
|
162
|
+
// =============================================================================
|
|
163
|
+
/**
|
|
164
|
+
* Organization types.
|
|
165
|
+
*
|
|
166
|
+
* @remarks
|
|
167
|
+
* Defines the types of organizations in the education hierarchy.
|
|
168
|
+
*/
|
|
169
|
+
export const OrgType = {
|
|
170
|
+
/** Denotes a department. A department may be a subset in a school or a set of schools */
|
|
171
|
+
Department: 'department',
|
|
172
|
+
/** Denotes a school district */
|
|
173
|
+
District: 'district',
|
|
174
|
+
/** Denotes a local organization. V1.0 instances used this value to identify districts */
|
|
175
|
+
Local: 'local',
|
|
176
|
+
/** Denotes a national level organization */
|
|
177
|
+
National: 'national',
|
|
178
|
+
/** Denotes a school. This is the unit of assignment for classes and enrollments */
|
|
179
|
+
School: 'school',
|
|
180
|
+
/** Denotes a state level organization */
|
|
181
|
+
State: 'state',
|
|
182
|
+
};
|
|
183
|
+
/** @internal */
|
|
184
|
+
export const OrgType$inboundSchema = z.nativeEnum(OrgType);
|
|
185
|
+
/** @internal */
|
|
186
|
+
export const OrgType$outboundSchema = OrgType$inboundSchema;
|
|
187
|
+
// =============================================================================
|
|
188
|
+
// Table 6.3.7 - GenderEnum
|
|
189
|
+
// =============================================================================
|
|
190
|
+
/**
|
|
191
|
+
* Gender values.
|
|
192
|
+
*
|
|
193
|
+
* @remarks
|
|
194
|
+
* Defines the gender values for demographics.
|
|
195
|
+
*/
|
|
196
|
+
export const Gender = {
|
|
197
|
+
/** Gender of Female */
|
|
198
|
+
Female: 'female',
|
|
199
|
+
/** Gender of Male */
|
|
200
|
+
Male: 'male',
|
|
201
|
+
/** A gender that is known but which is not either Male or Female. Value added in OR 1.2 */
|
|
202
|
+
Other: 'other',
|
|
203
|
+
/** Unspecified as no data entry for this field has been made. Value added in OR 1.2 */
|
|
204
|
+
Unspecified: 'unspecified',
|
|
205
|
+
};
|
|
206
|
+
/** @internal */
|
|
207
|
+
export const Gender$inboundSchema = z.nativeEnum(Gender);
|
|
208
|
+
/** @internal */
|
|
209
|
+
export const Gender$outboundSchema = Gender$inboundSchema;
|
|
210
|
+
// =============================================================================
|
|
211
|
+
// Table 6.3.14 - TrueFalseEnum
|
|
212
|
+
// =============================================================================
|
|
213
|
+
/**
|
|
214
|
+
* Boolean string values.
|
|
215
|
+
*
|
|
216
|
+
* @remarks
|
|
217
|
+
* OneRoster uses string representations of boolean values.
|
|
218
|
+
*/
|
|
219
|
+
export const TrueFalse = {
|
|
220
|
+
/** Requires the boolean value to be given as 'false' */
|
|
221
|
+
False: 'false',
|
|
222
|
+
/** Requires the boolean value to be given as 'true' */
|
|
223
|
+
True: 'true',
|
|
224
|
+
};
|
|
225
|
+
/** @internal */
|
|
226
|
+
export const TrueFalse$inboundSchema = z.nativeEnum(TrueFalse);
|
|
227
|
+
/** @internal */
|
|
228
|
+
export const TrueFalse$outboundSchema = TrueFalse$inboundSchema;
|
|
229
|
+
// =============================================================================
|
|
230
|
+
// Sort Order Enum (Common across all list operations)
|
|
231
|
+
// =============================================================================
|
|
232
|
+
/**
|
|
233
|
+
* Sort order for list operations.
|
|
234
|
+
*
|
|
235
|
+
* @remarks
|
|
236
|
+
* Defines the order direction for sorting results.
|
|
237
|
+
*/
|
|
238
|
+
export const OrderBy = {
|
|
239
|
+
/** Ascending order */
|
|
240
|
+
Asc: 'asc',
|
|
241
|
+
/** Descending order */
|
|
242
|
+
Desc: 'desc',
|
|
243
|
+
};
|
|
244
|
+
/** @internal */
|
|
245
|
+
export const OrderBy$inboundSchema = z.nativeEnum(OrderBy);
|
|
246
|
+
/** @internal */
|
|
247
|
+
export const OrderBy$outboundSchema = OrderBy$inboundSchema;
|
|
248
|
+
// =============================================================================
|
|
249
|
+
// GUID Reference Type Enums
|
|
250
|
+
// =============================================================================
|
|
251
|
+
/**
|
|
252
|
+
* Table 6.3.1 - AcadSessionGUIDRefTypeEnum
|
|
253
|
+
*/
|
|
254
|
+
export const AcademicSessionRefType = {
|
|
255
|
+
/** An object that is an 'Academic Session' */
|
|
256
|
+
AcademicSession: 'academicSession',
|
|
257
|
+
};
|
|
258
|
+
/** @internal */
|
|
259
|
+
export const AcademicSessionRefType$inboundSchema = z.nativeEnum(AcademicSessionRefType);
|
|
260
|
+
/** @internal */
|
|
261
|
+
export const AcademicSessionRefType$outboundSchema = AcademicSessionRefType$inboundSchema;
|
|
262
|
+
/**
|
|
263
|
+
* Table 6.3.3 - ClassGUIDRefTypeEnum
|
|
264
|
+
*/
|
|
265
|
+
export const ClassRefType = {
|
|
266
|
+
/** An object that is a 'Class' */
|
|
267
|
+
Class: 'class',
|
|
268
|
+
};
|
|
269
|
+
/** @internal */
|
|
270
|
+
export const ClassRefType$inboundSchema = z.nativeEnum(ClassRefType);
|
|
271
|
+
/** @internal */
|
|
272
|
+
export const ClassRefType$outboundSchema = ClassRefType$inboundSchema;
|
|
273
|
+
/**
|
|
274
|
+
* Table 6.3.5 - CourseGUIDRefTypeEnum
|
|
275
|
+
*/
|
|
276
|
+
export const CourseRefType = {
|
|
277
|
+
/** An object that is a 'Course' */
|
|
278
|
+
Course: 'course',
|
|
279
|
+
};
|
|
280
|
+
/** @internal */
|
|
281
|
+
export const CourseRefType$inboundSchema = z.nativeEnum(CourseRefType);
|
|
282
|
+
/** @internal */
|
|
283
|
+
export const CourseRefType$outboundSchema = CourseRefType$inboundSchema;
|
|
284
|
+
/**
|
|
285
|
+
* Table 6.3.8 - OrgGUIDRefTypeEnum
|
|
286
|
+
*/
|
|
287
|
+
export const OrgRefType = {
|
|
288
|
+
/** An object that is an 'Org' */
|
|
289
|
+
Org: 'org',
|
|
290
|
+
};
|
|
291
|
+
/** @internal */
|
|
292
|
+
export const OrgRefType$inboundSchema = z.nativeEnum(OrgRefType);
|
|
293
|
+
/** @internal */
|
|
294
|
+
export const OrgRefType$outboundSchema = OrgRefType$inboundSchema;
|
|
295
|
+
/**
|
|
296
|
+
* Table 6.3.10 - ResourceGUIDRefTypeEnum
|
|
297
|
+
*/
|
|
298
|
+
export const ResourceRefType = {
|
|
299
|
+
/** An object that is a 'Resource' */
|
|
300
|
+
Resource: 'resource',
|
|
301
|
+
};
|
|
302
|
+
/** @internal */
|
|
303
|
+
export const ResourceRefType$inboundSchema = z.nativeEnum(ResourceRefType);
|
|
304
|
+
/** @internal */
|
|
305
|
+
export const ResourceRefType$outboundSchema = ResourceRefType$inboundSchema;
|
|
306
|
+
/**
|
|
307
|
+
* Table 6.3.15 - UserGUIDRefTypeEnum
|
|
308
|
+
*/
|
|
309
|
+
export const UserRefType = {
|
|
310
|
+
/** An object that is a 'User' */
|
|
311
|
+
User: 'user',
|
|
312
|
+
};
|
|
313
|
+
/** @internal */
|
|
314
|
+
export const UserRefType$inboundSchema = z.nativeEnum(UserRefType);
|
|
315
|
+
/** @internal */
|
|
316
|
+
export const UserRefType$outboundSchema = UserRefType$inboundSchema;
|
|
317
|
+
// =============================================================================
|
|
318
|
+
// Entity Type Enum (for GUID references across all entity types)
|
|
319
|
+
// =============================================================================
|
|
320
|
+
/**
|
|
321
|
+
* All OneRoster entity types.
|
|
322
|
+
*
|
|
323
|
+
* @remarks
|
|
324
|
+
* Used for GUID references that can point to any entity type.
|
|
325
|
+
*/
|
|
326
|
+
export const EntityType = {
|
|
327
|
+
AcademicSession: 'academicSession',
|
|
328
|
+
AssessmentLineItem: 'assessmentLineItem',
|
|
329
|
+
AssessmentResult: 'assessmentResult',
|
|
330
|
+
Category: 'category',
|
|
331
|
+
Class: 'class',
|
|
332
|
+
ComponentResource: 'componentResource',
|
|
333
|
+
Course: 'course',
|
|
334
|
+
CourseComponent: 'courseComponent',
|
|
335
|
+
Demographics: 'demographics',
|
|
336
|
+
Enrollment: 'enrollment',
|
|
337
|
+
GradingPeriod: 'gradingPeriod',
|
|
338
|
+
LineItem: 'lineItem',
|
|
339
|
+
Org: 'org',
|
|
340
|
+
Resource: 'resource',
|
|
341
|
+
Result: 'result',
|
|
342
|
+
ScoreScale: 'scoreScale',
|
|
343
|
+
Student: 'student',
|
|
344
|
+
Teacher: 'teacher',
|
|
345
|
+
Term: 'term',
|
|
346
|
+
User: 'user',
|
|
347
|
+
};
|
|
348
|
+
/** @internal */
|
|
349
|
+
export const EntityType$inboundSchema = z.nativeEnum(EntityType);
|
|
350
|
+
/** @internal */
|
|
351
|
+
export const EntityType$outboundSchema = EntityType$inboundSchema;
|
|
352
|
+
// =============================================================================
|
|
353
|
+
// Score Status Enum (for Results)
|
|
354
|
+
// =============================================================================
|
|
355
|
+
/**
|
|
356
|
+
* Score status for result records.
|
|
357
|
+
*
|
|
358
|
+
* @remarks
|
|
359
|
+
* Indicates the status of a score/grade.
|
|
360
|
+
*/
|
|
361
|
+
export const ScoreStatus = {
|
|
362
|
+
/** The score is exempt */
|
|
363
|
+
Exempt: 'exempt',
|
|
364
|
+
/** The score is fully graded */
|
|
365
|
+
FullyGraded: 'fully graded',
|
|
366
|
+
/** The score is not submitted */
|
|
367
|
+
NotSubmitted: 'not submitted',
|
|
368
|
+
/** The score is partially graded */
|
|
369
|
+
PartiallyGraded: 'partially graded',
|
|
370
|
+
/** The score is submitted */
|
|
371
|
+
Submitted: 'submitted',
|
|
372
|
+
};
|
|
373
|
+
/** @internal */
|
|
374
|
+
export const ScoreStatus$inboundSchema = z.nativeEnum(ScoreStatus);
|
|
375
|
+
/** @internal */
|
|
376
|
+
export const ScoreStatus$outboundSchema = ScoreStatus$inboundSchema;
|
|
377
|
+
// =============================================================================
|
|
378
|
+
// IMS Global Error Response Enums
|
|
379
|
+
// =============================================================================
|
|
380
|
+
/**
|
|
381
|
+
* Table 6.3.16 - imsx_CodeMajorEnum
|
|
382
|
+
*
|
|
383
|
+
* @remarks
|
|
384
|
+
* Major status codes for API responses.
|
|
385
|
+
*/
|
|
386
|
+
export const CodeMajor = {
|
|
387
|
+
/** Denotes that the transaction request has failed */
|
|
388
|
+
Failure: 'failure',
|
|
389
|
+
/** Denotes that the request is being processed at the destination */
|
|
390
|
+
Processing: 'processing',
|
|
391
|
+
/** Denotes that the request has been successfully completed */
|
|
392
|
+
Success: 'success',
|
|
393
|
+
/** Denotes that the service provider does not support the requested operation */
|
|
394
|
+
Unsupported: 'unsupported',
|
|
395
|
+
};
|
|
396
|
+
/** @internal */
|
|
397
|
+
export const CodeMajor$inboundSchema = z.nativeEnum(CodeMajor);
|
|
398
|
+
/** @internal */
|
|
399
|
+
export const CodeMajor$outboundSchema = CodeMajor$inboundSchema;
|
|
400
|
+
/**
|
|
401
|
+
* Table 6.3.17 - imsx_CodeMinorValueEnum
|
|
402
|
+
*
|
|
403
|
+
* @remarks
|
|
404
|
+
* Minor status codes providing detailed error information.
|
|
405
|
+
*/
|
|
406
|
+
export const CodeMinor = {
|
|
407
|
+
/** Server refuses to take action (HTTP 403) */
|
|
408
|
+
Forbidden: 'forbidden',
|
|
409
|
+
/** Request fully and successfully implemented (HTTP 200/201/204) */
|
|
410
|
+
FullSuccess: 'fullsuccess',
|
|
411
|
+
/** Catastrophic error (HTTP 500) */
|
|
412
|
+
InternalServerError: 'internal_server_error',
|
|
413
|
+
/** Invalid filter field supplied (HTTP 400) */
|
|
414
|
+
InvalidFilterField: 'invalid_filter_field',
|
|
415
|
+
/** Invalid selection field supplied (HTTP 400) */
|
|
416
|
+
InvalidSelectionField: 'invalid_selection_field',
|
|
417
|
+
/** Semantically erroneous JSON (HTTP 422) */
|
|
418
|
+
InvalidData: 'invaliddata',
|
|
419
|
+
/** Server receiving too many requests (HTTP 429) */
|
|
420
|
+
ServerBusy: 'server_busy',
|
|
421
|
+
/** Request not correctly authorised (HTTP 401) */
|
|
422
|
+
UnauthorisedRequest: 'unauthorisedrequest',
|
|
423
|
+
/** Supplied identifier is unknown (HTTP 404) */
|
|
424
|
+
UnknownObject: 'unknownobject',
|
|
425
|
+
};
|
|
426
|
+
/** @internal */
|
|
427
|
+
export const CodeMinor$inboundSchema = z.nativeEnum(CodeMinor);
|
|
428
|
+
/** @internal */
|
|
429
|
+
export const CodeMinor$outboundSchema = CodeMinor$inboundSchema;
|
|
430
|
+
/**
|
|
431
|
+
* Table 6.3.18 - imsx_SeverityEnum
|
|
432
|
+
*
|
|
433
|
+
* @remarks
|
|
434
|
+
* Severity level of the response status.
|
|
435
|
+
*/
|
|
436
|
+
export const Severity = {
|
|
437
|
+
/** A significant error has occurred */
|
|
438
|
+
Error: 'error',
|
|
439
|
+
/** The request has been completed and a response was received */
|
|
440
|
+
Status: 'status',
|
|
441
|
+
/** The request has only been partially completed */
|
|
442
|
+
Warning: 'warning',
|
|
443
|
+
};
|
|
444
|
+
/** @internal */
|
|
445
|
+
export const Severity$inboundSchema = z.nativeEnum(Severity);
|
|
446
|
+
/** @internal */
|
|
447
|
+
export const Severity$outboundSchema = Severity$inboundSchema;
|
|
448
|
+
// =============================================================================
|
|
449
|
+
// Importance Enum (for Resources)
|
|
450
|
+
// =============================================================================
|
|
451
|
+
/**
|
|
452
|
+
* Importance level for resources.
|
|
453
|
+
*/
|
|
454
|
+
export const Importance = {
|
|
455
|
+
Primary: 'primary',
|
|
456
|
+
Secondary: 'secondary',
|
|
457
|
+
};
|
|
458
|
+
/** @internal */
|
|
459
|
+
export const Importance$inboundSchema = z.nativeEnum(Importance);
|
|
460
|
+
/** @internal */
|
|
461
|
+
export const Importance$outboundSchema = Importance$inboundSchema;
|
|
462
|
+
//# sourceMappingURL=enums.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.js","sourceRoot":"","sources":["../../../../src/models/shared/enums.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAEH,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAIzB,gFAAgF;AAChF,+BAA+B;AAC/B,gFAAgF;AAEhF;;;;;;GAMG;AACH,MAAM,CAAC,MAAM,MAAM,GAAG;IAClB,uBAAuB;IACvB,MAAM,EAAE,QAAQ;IAChB,mDAAmD;IACnD,WAAW,EAAE,aAAa;CACpB,CAAC;AAGX,gBAAgB;AAChB,MAAM,CAAC,MAAM,oBAAoB,GAAmC,CAAC,CAAC,UAAU,CAAC,MAAM,CAAC,CAAC;AACzF,gBAAgB;AAChB,MAAM,CAAC,MAAM,qBAAqB,GAAmC,oBAAoB,CAAC;AAE1F,gFAAgF;AAChF,8BAA8B;AAC9B,gFAAgF;AAEhF;;;;;;;;GAQG;AACH,MAAM,CAAC,MAAM,QAAQ,GAA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;;GAKG;AAEH,cAAc,YAAY,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/models/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,cAAc,YAAY,CAAC"}
|
|
@@ -5,4 +5,5 @@ export type { Result } from './fp.js';
|
|
|
5
5
|
export type { PageIterator, Paginator } from './operations.js';
|
|
6
6
|
export { createPageIterator } from './operations.js';
|
|
7
7
|
export { RFCDate } from './rfcdate.js';
|
|
8
|
+
export * from '../models/operations/index.js';
|
|
8
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxD,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACnD,YAAY,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACtC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AACxD,YAAY,EAAE,UAAU,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AACrE,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AACnD,YAAY,EAAE,MAAM,EAAE,MAAM,SAAS,CAAC;AACtC,YAAY,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAC/D,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAGvC,cAAc,+BAA+B,CAAC"}
|
package/dist/esm/types/index.js
CHANGED
|
@@ -2,4 +2,6 @@ export { blobLikeSchema, isBlobLike } from './blobs.js';
|
|
|
2
2
|
export { catchUnrecognizedEnum } from './enums.js';
|
|
3
3
|
export { createPageIterator } from './operations.js';
|
|
4
4
|
export { RFCDate } from './rfcdate.js';
|
|
5
|
+
// Re-export API operations for a single runtime-compatible import path.
|
|
6
|
+
export * from '../models/operations/index.js';
|
|
5
7
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/types/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,UAAU,EAAE,MAAM,YAAY,CAAC;AAExD,OAAO,EAAE,qBAAqB,EAAE,MAAM,YAAY,CAAC;AAGnD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAEvC,wEAAwE;AACxE,cAAc,+BAA+B,CAAC"}
|