@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.
Files changed (224) hide show
  1. package/FUNCTIONS.md +232 -0
  2. package/README.md +493 -334
  3. package/bin/mcp-server.js +338 -1328
  4. package/bin/mcp-server.js.map +22 -21
  5. package/dist/commonjs/enums/index.d.ts +2 -0
  6. package/dist/commonjs/enums/index.d.ts.map +1 -0
  7. package/dist/commonjs/enums/index.js +18 -0
  8. package/dist/commonjs/enums/index.js.map +1 -0
  9. package/dist/commonjs/index.d.ts +4 -0
  10. package/dist/commonjs/index.d.ts.map +1 -1
  11. package/dist/commonjs/index.js +41 -1
  12. package/dist/commonjs/index.js.map +1 -1
  13. package/dist/commonjs/models/errors/index.d.ts +1 -0
  14. package/dist/commonjs/models/errors/index.d.ts.map +1 -1
  15. package/dist/commonjs/models/errors/index.js +1 -0
  16. package/dist/commonjs/models/errors/index.js.map +1 -1
  17. package/dist/commonjs/models/index.d.ts +2 -0
  18. package/dist/commonjs/models/index.d.ts.map +1 -0
  19. package/dist/commonjs/models/index.js +18 -0
  20. package/dist/commonjs/models/index.js.map +1 -0
  21. package/dist/commonjs/models/operations/createuser.d.ts +8 -270
  22. package/dist/commonjs/models/operations/createuser.d.ts.map +1 -1
  23. package/dist/commonjs/models/operations/createuser.js +17 -178
  24. package/dist/commonjs/models/operations/createuser.js.map +1 -1
  25. package/dist/commonjs/models/operations/getallstudents.d.ts +6 -206
  26. package/dist/commonjs/models/operations/getallstudents.d.ts.map +1 -1
  27. package/dist/commonjs/models/operations/getallstudents.js +12 -132
  28. package/dist/commonjs/models/operations/getallstudents.js.map +1 -1
  29. package/dist/commonjs/models/operations/getallteachers.d.ts +6 -206
  30. package/dist/commonjs/models/operations/getallteachers.d.ts.map +1 -1
  31. package/dist/commonjs/models/operations/getallteachers.js +12 -132
  32. package/dist/commonjs/models/operations/getallteachers.js.map +1 -1
  33. package/dist/commonjs/models/operations/getallusers.d.ts +6 -206
  34. package/dist/commonjs/models/operations/getallusers.d.ts.map +1 -1
  35. package/dist/commonjs/models/operations/getallusers.js +12 -132
  36. package/dist/commonjs/models/operations/getallusers.js.map +1 -1
  37. package/dist/commonjs/models/operations/getclassesforuser.d.ts +4 -85
  38. package/dist/commonjs/models/operations/getclassesforuser.d.ts.map +1 -1
  39. package/dist/commonjs/models/operations/getclassesforuser.js +8 -67
  40. package/dist/commonjs/models/operations/getclassesforuser.js.map +1 -1
  41. package/dist/commonjs/models/operations/getresourcesforuser.d.ts +5 -111
  42. package/dist/commonjs/models/operations/getresourcesforuser.d.ts.map +1 -1
  43. package/dist/commonjs/models/operations/getresourcesforuser.js +10 -88
  44. package/dist/commonjs/models/operations/getresourcesforuser.js.map +1 -1
  45. package/dist/commonjs/models/operations/getstudent.d.ts +5 -174
  46. package/dist/commonjs/models/operations/getstudent.d.ts.map +1 -1
  47. package/dist/commonjs/models/operations/getstudent.js +10 -108
  48. package/dist/commonjs/models/operations/getstudent.js.map +1 -1
  49. package/dist/commonjs/models/operations/getstudentsforclass.d.ts +6 -206
  50. package/dist/commonjs/models/operations/getstudentsforclass.d.ts.map +1 -1
  51. package/dist/commonjs/models/operations/getstudentsforclass.js +12 -132
  52. package/dist/commonjs/models/operations/getstudentsforclass.js.map +1 -1
  53. package/dist/commonjs/models/operations/getstudentsforclassinschool.d.ts +6 -206
  54. package/dist/commonjs/models/operations/getstudentsforclassinschool.d.ts.map +1 -1
  55. package/dist/commonjs/models/operations/getstudentsforclassinschool.js +12 -132
  56. package/dist/commonjs/models/operations/getstudentsforclassinschool.js.map +1 -1
  57. package/dist/commonjs/models/operations/getstudentsforschool.d.ts +6 -206
  58. package/dist/commonjs/models/operations/getstudentsforschool.d.ts.map +1 -1
  59. package/dist/commonjs/models/operations/getstudentsforschool.js +12 -132
  60. package/dist/commonjs/models/operations/getstudentsforschool.js.map +1 -1
  61. package/dist/commonjs/models/operations/getteacher.d.ts +5 -174
  62. package/dist/commonjs/models/operations/getteacher.d.ts.map +1 -1
  63. package/dist/commonjs/models/operations/getteacher.js +10 -108
  64. package/dist/commonjs/models/operations/getteacher.js.map +1 -1
  65. package/dist/commonjs/models/operations/getteachersforclass.d.ts +6 -206
  66. package/dist/commonjs/models/operations/getteachersforclass.d.ts.map +1 -1
  67. package/dist/commonjs/models/operations/getteachersforclass.js +12 -132
  68. package/dist/commonjs/models/operations/getteachersforclass.js.map +1 -1
  69. package/dist/commonjs/models/operations/getteachersforclassinschool.d.ts +6 -206
  70. package/dist/commonjs/models/operations/getteachersforclassinschool.d.ts.map +1 -1
  71. package/dist/commonjs/models/operations/getteachersforclassinschool.js +12 -132
  72. package/dist/commonjs/models/operations/getteachersforclassinschool.js.map +1 -1
  73. package/dist/commonjs/models/operations/getteachersforschool.d.ts +6 -206
  74. package/dist/commonjs/models/operations/getteachersforschool.d.ts.map +1 -1
  75. package/dist/commonjs/models/operations/getteachersforschool.js +12 -132
  76. package/dist/commonjs/models/operations/getteachersforschool.js.map +1 -1
  77. package/dist/commonjs/models/operations/getuser.d.ts +5 -174
  78. package/dist/commonjs/models/operations/getuser.d.ts.map +1 -1
  79. package/dist/commonjs/models/operations/getuser.js +10 -108
  80. package/dist/commonjs/models/operations/getuser.js.map +1 -1
  81. package/dist/commonjs/models/operations/getuserwithdemographics.d.ts +5 -174
  82. package/dist/commonjs/models/operations/getuserwithdemographics.d.ts.map +1 -1
  83. package/dist/commonjs/models/operations/getuserwithdemographics.js +10 -108
  84. package/dist/commonjs/models/operations/getuserwithdemographics.js.map +1 -1
  85. package/dist/commonjs/models/operations/updateuser.d.ts +8 -270
  86. package/dist/commonjs/models/operations/updateuser.d.ts.map +1 -1
  87. package/dist/commonjs/models/operations/updateuser.js +17 -178
  88. package/dist/commonjs/models/operations/updateuser.js.map +1 -1
  89. package/dist/commonjs/models/shared/enums.d.ts +440 -0
  90. package/dist/commonjs/models/shared/enums.d.ts.map +1 -0
  91. package/dist/commonjs/models/shared/enums.js +499 -0
  92. package/dist/commonjs/models/shared/enums.js.map +1 -0
  93. package/dist/commonjs/models/shared/index.d.ts +8 -0
  94. package/dist/commonjs/models/shared/index.d.ts.map +1 -0
  95. package/dist/commonjs/models/shared/index.js +24 -0
  96. package/dist/commonjs/models/shared/index.js.map +1 -0
  97. package/dist/commonjs/types/index.d.ts +1 -0
  98. package/dist/commonjs/types/index.d.ts.map +1 -1
  99. package/dist/commonjs/types/index.js +16 -0
  100. package/dist/commonjs/types/index.js.map +1 -1
  101. package/dist/esm/enums/index.d.ts +2 -0
  102. package/dist/esm/enums/index.d.ts.map +1 -0
  103. package/dist/esm/enums/index.js +2 -0
  104. package/dist/esm/enums/index.js.map +1 -0
  105. package/dist/esm/index.d.ts +4 -0
  106. package/dist/esm/index.d.ts.map +1 -1
  107. package/dist/esm/index.js +14 -0
  108. package/dist/esm/index.js.map +1 -1
  109. package/dist/esm/models/errors/index.d.ts +1 -0
  110. package/dist/esm/models/errors/index.d.ts.map +1 -1
  111. package/dist/esm/models/errors/index.js +1 -0
  112. package/dist/esm/models/errors/index.js.map +1 -1
  113. package/dist/esm/models/index.d.ts +2 -0
  114. package/dist/esm/models/index.d.ts.map +1 -0
  115. package/dist/esm/models/index.js +2 -0
  116. package/dist/esm/models/index.js.map +1 -0
  117. package/dist/esm/models/operations/createuser.d.ts +8 -270
  118. package/dist/esm/models/operations/createuser.d.ts.map +1 -1
  119. package/dist/esm/models/operations/createuser.js +15 -176
  120. package/dist/esm/models/operations/createuser.js.map +1 -1
  121. package/dist/esm/models/operations/getallstudents.d.ts +6 -206
  122. package/dist/esm/models/operations/getallstudents.d.ts.map +1 -1
  123. package/dist/esm/models/operations/getallstudents.js +11 -131
  124. package/dist/esm/models/operations/getallstudents.js.map +1 -1
  125. package/dist/esm/models/operations/getallteachers.d.ts +6 -206
  126. package/dist/esm/models/operations/getallteachers.d.ts.map +1 -1
  127. package/dist/esm/models/operations/getallteachers.js +11 -131
  128. package/dist/esm/models/operations/getallteachers.js.map +1 -1
  129. package/dist/esm/models/operations/getallusers.d.ts +6 -206
  130. package/dist/esm/models/operations/getallusers.d.ts.map +1 -1
  131. package/dist/esm/models/operations/getallusers.js +11 -131
  132. package/dist/esm/models/operations/getallusers.js.map +1 -1
  133. package/dist/esm/models/operations/getclassesforuser.d.ts +4 -85
  134. package/dist/esm/models/operations/getclassesforuser.d.ts.map +1 -1
  135. package/dist/esm/models/operations/getclassesforuser.js +7 -66
  136. package/dist/esm/models/operations/getclassesforuser.js.map +1 -1
  137. package/dist/esm/models/operations/getresourcesforuser.d.ts +5 -111
  138. package/dist/esm/models/operations/getresourcesforuser.d.ts.map +1 -1
  139. package/dist/esm/models/operations/getresourcesforuser.js +9 -87
  140. package/dist/esm/models/operations/getresourcesforuser.js.map +1 -1
  141. package/dist/esm/models/operations/getstudent.d.ts +5 -174
  142. package/dist/esm/models/operations/getstudent.d.ts.map +1 -1
  143. package/dist/esm/models/operations/getstudent.js +9 -107
  144. package/dist/esm/models/operations/getstudent.js.map +1 -1
  145. package/dist/esm/models/operations/getstudentsforclass.d.ts +6 -206
  146. package/dist/esm/models/operations/getstudentsforclass.d.ts.map +1 -1
  147. package/dist/esm/models/operations/getstudentsforclass.js +11 -131
  148. package/dist/esm/models/operations/getstudentsforclass.js.map +1 -1
  149. package/dist/esm/models/operations/getstudentsforclassinschool.d.ts +6 -206
  150. package/dist/esm/models/operations/getstudentsforclassinschool.d.ts.map +1 -1
  151. package/dist/esm/models/operations/getstudentsforclassinschool.js +11 -131
  152. package/dist/esm/models/operations/getstudentsforclassinschool.js.map +1 -1
  153. package/dist/esm/models/operations/getstudentsforschool.d.ts +6 -206
  154. package/dist/esm/models/operations/getstudentsforschool.d.ts.map +1 -1
  155. package/dist/esm/models/operations/getstudentsforschool.js +11 -131
  156. package/dist/esm/models/operations/getstudentsforschool.js.map +1 -1
  157. package/dist/esm/models/operations/getteacher.d.ts +5 -174
  158. package/dist/esm/models/operations/getteacher.d.ts.map +1 -1
  159. package/dist/esm/models/operations/getteacher.js +9 -107
  160. package/dist/esm/models/operations/getteacher.js.map +1 -1
  161. package/dist/esm/models/operations/getteachersforclass.d.ts +6 -206
  162. package/dist/esm/models/operations/getteachersforclass.d.ts.map +1 -1
  163. package/dist/esm/models/operations/getteachersforclass.js +11 -131
  164. package/dist/esm/models/operations/getteachersforclass.js.map +1 -1
  165. package/dist/esm/models/operations/getteachersforclassinschool.d.ts +6 -206
  166. package/dist/esm/models/operations/getteachersforclassinschool.d.ts.map +1 -1
  167. package/dist/esm/models/operations/getteachersforclassinschool.js +11 -131
  168. package/dist/esm/models/operations/getteachersforclassinschool.js.map +1 -1
  169. package/dist/esm/models/operations/getteachersforschool.d.ts +6 -206
  170. package/dist/esm/models/operations/getteachersforschool.d.ts.map +1 -1
  171. package/dist/esm/models/operations/getteachersforschool.js +11 -131
  172. package/dist/esm/models/operations/getteachersforschool.js.map +1 -1
  173. package/dist/esm/models/operations/getuser.d.ts +5 -174
  174. package/dist/esm/models/operations/getuser.d.ts.map +1 -1
  175. package/dist/esm/models/operations/getuser.js +9 -107
  176. package/dist/esm/models/operations/getuser.js.map +1 -1
  177. package/dist/esm/models/operations/getuserwithdemographics.d.ts +5 -174
  178. package/dist/esm/models/operations/getuserwithdemographics.d.ts.map +1 -1
  179. package/dist/esm/models/operations/getuserwithdemographics.js +9 -107
  180. package/dist/esm/models/operations/getuserwithdemographics.js.map +1 -1
  181. package/dist/esm/models/operations/updateuser.d.ts +8 -270
  182. package/dist/esm/models/operations/updateuser.d.ts.map +1 -1
  183. package/dist/esm/models/operations/updateuser.js +15 -176
  184. package/dist/esm/models/operations/updateuser.js.map +1 -1
  185. package/dist/esm/models/shared/enums.d.ts +440 -0
  186. package/dist/esm/models/shared/enums.d.ts.map +1 -0
  187. package/dist/esm/models/shared/enums.js +462 -0
  188. package/dist/esm/models/shared/enums.js.map +1 -0
  189. package/dist/esm/models/shared/index.d.ts +8 -0
  190. package/dist/esm/models/shared/index.d.ts.map +1 -0
  191. package/dist/esm/models/shared/index.js +8 -0
  192. package/dist/esm/models/shared/index.js.map +1 -0
  193. package/dist/esm/types/index.d.ts +1 -0
  194. package/dist/esm/types/index.d.ts.map +1 -1
  195. package/dist/esm/types/index.js +2 -0
  196. package/dist/esm/types/index.js.map +1 -1
  197. package/package.json +37 -64
  198. package/src/enums/index.ts +1 -0
  199. package/src/index.ts +44 -0
  200. package/src/models/errors/index.ts +1 -0
  201. package/src/models/index.ts +1 -0
  202. package/src/models/operations/createuser.ts +35 -238
  203. package/src/models/operations/getallstudents.ts +32 -170
  204. package/src/models/operations/getallteachers.ts +32 -170
  205. package/src/models/operations/getallusers.ts +32 -170
  206. package/src/models/operations/getclassesforuser.ts +20 -97
  207. package/src/models/operations/getresourcesforuser.ts +26 -127
  208. package/src/models/operations/getstudent.ts +26 -136
  209. package/src/models/operations/getstudentsforclass.ts +32 -180
  210. package/src/models/operations/getstudentsforclassinschool.ts +32 -188
  211. package/src/models/operations/getstudentsforschool.ts +32 -180
  212. package/src/models/operations/getteacher.ts +26 -136
  213. package/src/models/operations/getteachersforclass.ts +32 -180
  214. package/src/models/operations/getteachersforclassinschool.ts +32 -188
  215. package/src/models/operations/getteachersforschool.ts +32 -180
  216. package/src/models/operations/getuser.ts +26 -136
  217. package/src/models/operations/getuserwithdemographics.ts +26 -144
  218. package/src/models/operations/updateuser.ts +35 -238
  219. package/src/models/shared/enums.ts +567 -0
  220. package/src/models/shared/index.ts +8 -0
  221. package/src/types/index.ts +3 -0
  222. package/test/classlink.test.ts +26 -26
  223. package/vitest.config.ts +2 -2
  224. package/test/summary-reporter.ts +0 -114
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.GetResourcesForUserResponse$ = exports.GetResourcesForUserResponse$outboundSchema = exports.GetResourcesForUserResponse$inboundSchema = exports.GetResourcesForUserResponseBody$ = exports.GetResourcesForUserResponseBody$outboundSchema = exports.GetResourcesForUserResponseBody$inboundSchema = exports.GetResourcesForUserResource$ = exports.GetResourcesForUserResource$outboundSchema = exports.GetResourcesForUserResource$inboundSchema = exports.GetResourcesForUserImportance$ = exports.GetResourcesForUserImportance$outboundSchema = exports.GetResourcesForUserImportance$inboundSchema = exports.GetResourcesForUserRole$ = exports.GetResourcesForUserRole$outboundSchema = exports.GetResourcesForUserRole$inboundSchema = exports.GetResourcesForUserStatus$ = exports.GetResourcesForUserStatus$outboundSchema = exports.GetResourcesForUserStatus$inboundSchema = exports.GetResourcesForUserRequest$ = exports.GetResourcesForUserRequest$outboundSchema = exports.GetResourcesForUserRequest$inboundSchema = exports.GetResourcesForUserOrderBy$ = exports.GetResourcesForUserOrderBy$outboundSchema = exports.GetResourcesForUserOrderBy$inboundSchema = exports.GetResourcesForUserImportance = exports.GetResourcesForUserRole = exports.GetResourcesForUserStatus = exports.GetResourcesForUserOrderBy = void 0;
36
+ exports.GetResourcesForUserResponse$ = exports.GetResourcesForUserResponse$outboundSchema = exports.GetResourcesForUserResponse$inboundSchema = exports.GetResourcesForUserResponseBody$ = exports.GetResourcesForUserResponseBody$outboundSchema = exports.GetResourcesForUserResponseBody$inboundSchema = exports.GetResourcesForUserResource$ = exports.GetResourcesForUserResource$outboundSchema = exports.GetResourcesForUserResource$inboundSchema = exports.GetResourcesForUserRequest$ = exports.GetResourcesForUserRequest$outboundSchema = exports.GetResourcesForUserRequest$inboundSchema = void 0;
37
37
  exports.getResourcesForUserRequestToJSON = getResourcesForUserRequestToJSON;
38
38
  exports.getResourcesForUserRequestFromJSON = getResourcesForUserRequestFromJSON;
39
39
  exports.getResourcesForUserResourceToJSON = getResourcesForUserResourceToJSON;
@@ -45,40 +45,7 @@ exports.getResourcesForUserResponseFromJSON = getResourcesForUserResponseFromJSO
45
45
  const z = __importStar(require("zod"));
46
46
  const primitives_js_1 = require("../../lib/primitives.js");
47
47
  const schemas_js_1 = require("../../lib/schemas.js");
48
- /**
49
- * The order to sort the response by
50
- */
51
- exports.GetResourcesForUserOrderBy = {
52
- Asc: 'asc',
53
- Desc: 'desc',
54
- };
55
- exports.GetResourcesForUserStatus = {
56
- Active: 'active',
57
- Tobedeleted: 'tobedeleted',
58
- };
59
- exports.GetResourcesForUserRole = {
60
- Primary: 'primary',
61
- Secondary: 'secondary',
62
- };
63
- exports.GetResourcesForUserImportance = {
64
- Primary: 'primary',
65
- Secondary: 'secondary',
66
- };
67
- /** @internal */
68
- exports.GetResourcesForUserOrderBy$inboundSchema = z.nativeEnum(exports.GetResourcesForUserOrderBy);
69
- /** @internal */
70
- exports.GetResourcesForUserOrderBy$outboundSchema = exports.GetResourcesForUserOrderBy$inboundSchema;
71
- /**
72
- * @internal
73
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
74
- */
75
- var GetResourcesForUserOrderBy$;
76
- (function (GetResourcesForUserOrderBy$) {
77
- /** @deprecated use `GetResourcesForUserOrderBy$inboundSchema` instead. */
78
- GetResourcesForUserOrderBy$.inboundSchema = exports.GetResourcesForUserOrderBy$inboundSchema;
79
- /** @deprecated use `GetResourcesForUserOrderBy$outboundSchema` instead. */
80
- GetResourcesForUserOrderBy$.outboundSchema = exports.GetResourcesForUserOrderBy$outboundSchema;
81
- })(GetResourcesForUserOrderBy$ || (exports.GetResourcesForUserOrderBy$ = GetResourcesForUserOrderBy$ = {}));
48
+ const enums_js_1 = require("../shared/enums.js");
82
49
  /** @internal */
83
50
  exports.GetResourcesForUserRequest$inboundSchema = z.object({
84
51
  userSourcedId: z.string(),
@@ -86,7 +53,7 @@ exports.GetResourcesForUserRequest$inboundSchema = z.object({
86
53
  limit: z.number().int().default(100),
87
54
  offset: z.number().int().default(0),
88
55
  sort: z.string().optional(),
89
- orderBy: exports.GetResourcesForUserOrderBy$inboundSchema.optional(),
56
+ orderBy: enums_js_1.OrderBy$inboundSchema.optional(),
90
57
  filter: z.string().optional(),
91
58
  search: z.string().optional(),
92
59
  });
@@ -97,7 +64,7 @@ exports.GetResourcesForUserRequest$outboundSchema = z.object({
97
64
  limit: z.number().int().default(100),
98
65
  offset: z.number().int().default(0),
99
66
  sort: z.string().optional(),
100
- orderBy: exports.GetResourcesForUserOrderBy$outboundSchema.optional(),
67
+ orderBy: enums_js_1.OrderBy$outboundSchema.optional(),
101
68
  filter: z.string().optional(),
102
69
  search: z.string().optional(),
103
70
  });
@@ -119,54 +86,9 @@ function getResourcesForUserRequestFromJSON(jsonString) {
119
86
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetResourcesForUserRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetResourcesForUserRequest' from JSON`);
120
87
  }
121
88
  /** @internal */
122
- exports.GetResourcesForUserStatus$inboundSchema = z.nativeEnum(exports.GetResourcesForUserStatus);
123
- /** @internal */
124
- exports.GetResourcesForUserStatus$outboundSchema = exports.GetResourcesForUserStatus$inboundSchema;
125
- /**
126
- * @internal
127
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
128
- */
129
- var GetResourcesForUserStatus$;
130
- (function (GetResourcesForUserStatus$) {
131
- /** @deprecated use `GetResourcesForUserStatus$inboundSchema` instead. */
132
- GetResourcesForUserStatus$.inboundSchema = exports.GetResourcesForUserStatus$inboundSchema;
133
- /** @deprecated use `GetResourcesForUserStatus$outboundSchema` instead. */
134
- GetResourcesForUserStatus$.outboundSchema = exports.GetResourcesForUserStatus$outboundSchema;
135
- })(GetResourcesForUserStatus$ || (exports.GetResourcesForUserStatus$ = GetResourcesForUserStatus$ = {}));
136
- /** @internal */
137
- exports.GetResourcesForUserRole$inboundSchema = z.nativeEnum(exports.GetResourcesForUserRole);
138
- /** @internal */
139
- exports.GetResourcesForUserRole$outboundSchema = exports.GetResourcesForUserRole$inboundSchema;
140
- /**
141
- * @internal
142
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
143
- */
144
- var GetResourcesForUserRole$;
145
- (function (GetResourcesForUserRole$) {
146
- /** @deprecated use `GetResourcesForUserRole$inboundSchema` instead. */
147
- GetResourcesForUserRole$.inboundSchema = exports.GetResourcesForUserRole$inboundSchema;
148
- /** @deprecated use `GetResourcesForUserRole$outboundSchema` instead. */
149
- GetResourcesForUserRole$.outboundSchema = exports.GetResourcesForUserRole$outboundSchema;
150
- })(GetResourcesForUserRole$ || (exports.GetResourcesForUserRole$ = GetResourcesForUserRole$ = {}));
151
- /** @internal */
152
- exports.GetResourcesForUserImportance$inboundSchema = z.nativeEnum(exports.GetResourcesForUserImportance);
153
- /** @internal */
154
- exports.GetResourcesForUserImportance$outboundSchema = exports.GetResourcesForUserImportance$inboundSchema;
155
- /**
156
- * @internal
157
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
158
- */
159
- var GetResourcesForUserImportance$;
160
- (function (GetResourcesForUserImportance$) {
161
- /** @deprecated use `GetResourcesForUserImportance$inboundSchema` instead. */
162
- GetResourcesForUserImportance$.inboundSchema = exports.GetResourcesForUserImportance$inboundSchema;
163
- /** @deprecated use `GetResourcesForUserImportance$outboundSchema` instead. */
164
- GetResourcesForUserImportance$.outboundSchema = exports.GetResourcesForUserImportance$outboundSchema;
165
- })(GetResourcesForUserImportance$ || (exports.GetResourcesForUserImportance$ = GetResourcesForUserImportance$ = {}));
166
- /** @internal */
167
89
  exports.GetResourcesForUserResource$inboundSchema = z.object({
168
90
  sourcedId: z.string(),
169
- status: exports.GetResourcesForUserStatus$inboundSchema,
91
+ status: enums_js_1.Status$inboundSchema,
170
92
  dateLastModified: z
171
93
  .string()
172
94
  .datetime({ offset: true })
@@ -174,8 +96,8 @@ exports.GetResourcesForUserResource$inboundSchema = z.object({
174
96
  .optional(),
175
97
  metadata: z.nullable(z.record(z.any())).optional(),
176
98
  title: z.string(),
177
- roles: z.array(exports.GetResourcesForUserRole$inboundSchema).optional(),
178
- importance: exports.GetResourcesForUserImportance$inboundSchema.optional(),
99
+ roles: z.array(enums_js_1.RoleType$inboundSchema).optional(),
100
+ importance: enums_js_1.Importance$inboundSchema.optional(),
179
101
  vendorResourceId: z.string(),
180
102
  vendorId: z.nullable(z.string()).optional(),
181
103
  applicationId: z.nullable(z.string()).optional(),
@@ -183,15 +105,15 @@ exports.GetResourcesForUserResource$inboundSchema = z.object({
183
105
  /** @internal */
184
106
  exports.GetResourcesForUserResource$outboundSchema = z.object({
185
107
  sourcedId: z.string(),
186
- status: exports.GetResourcesForUserStatus$outboundSchema,
108
+ status: enums_js_1.Status$outboundSchema,
187
109
  dateLastModified: z
188
110
  .date()
189
111
  .transform((v) => v.toISOString())
190
112
  .optional(),
191
113
  metadata: z.nullable(z.record(z.any())).optional(),
192
114
  title: z.string(),
193
- roles: z.array(exports.GetResourcesForUserRole$outboundSchema).optional(),
194
- importance: exports.GetResourcesForUserImportance$outboundSchema.optional(),
115
+ roles: z.array(enums_js_1.RoleType$outboundSchema).optional(),
116
+ importance: enums_js_1.Importance$outboundSchema.optional(),
195
117
  vendorResourceId: z.string(),
196
118
  vendorId: z.nullable(z.string()).optional(),
197
119
  applicationId: z.nullable(z.string()).optional(),
@@ -1 +1 @@
1
- {"version":3,"file":"getresourcesforuser.js","sourceRoot":"","sources":["../../../../src/models/operations/getresourcesforuser.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkLA,4EAMC;AAED,gFAQC;AAuID,8EAMC;AAED,kFAQC;AAsCD,sFAMC;AAED,0FAQC;AAkDD,8EAMC;AAED,kFAQC;AAjdD,uCAAyB;AAEzB,2DAA0D;AAC1D,qDAAiD;AAKjD;;GAEG;AACU,QAAA,0BAA0B,GAAG;IACtC,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACN,CAAC;AAyCE,QAAA,yBAAyB,GAAG;IACrC,MAAM,EAAE,QAAQ;IAChB,WAAW,EAAE,aAAa;CACpB,CAAC;AAGE,QAAA,uBAAuB,GAAG;IACnC,OAAO,EAAE,SAAS;IAClB,SAAS,EAAE,WAAW;CAChB,CAAC;AAGE,QAAA,6BAA6B,GAAG;IACzC,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,4EAA4E;IAC/D,2CAAc,GAAG,kDAA0C,CAAC;AAG7E,CAAC,EAPgB,4BAA4B,4CAA5B,4BAA4B,QAO5C;AAED,SAAgB,iCAAiC,CAC7C,2BAAwD;IAExD,OAAO,IAAI,CAAC,SAAS,CACjB,kDAA0C,CAAC,KAAK,CAAC,2BAA2B,CAAC,CAChF,CAAC;AACN,CAAC;AAED,SAAgB,mCAAmC,CAC/C,UAAkB;IAElB,OAAO,IAAA,sBAAS,EACZ,UAAU,EACV,CAAC,CAAC,EAAE,EAAE,CAAC,iDAAyC,CAAC,KAAK,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,EACrE,yDAAyD,CAC5D,CAAC;AACN,CAAC"}
@@ -1,78 +1,35 @@
1
1
  import * as z from 'zod';
2
- import { ClosedEnum } from '../../types/enums.js';
3
2
  import { Result as SafeParseResult } from '../../types/fp.js';
4
3
  import * as components from '../components/index.js';
5
4
  import { SDKValidationError } from '../errors/sdkvalidationerror.js';
5
+ import { EntityType, RoleType, Status, UserRole } from '../shared/enums.js';
6
6
  export type GetStudentRequest = {
7
7
  /**
8
8
  * The sourcedId of the student
9
9
  */
10
10
  sourcedId: string;
11
11
  };
12
- export declare const GetStudentStatus: {
13
- readonly Active: "active";
14
- readonly Tobedeleted: "tobedeleted";
15
- };
16
- export type GetStudentStatus = ClosedEnum<typeof GetStudentStatus>;
17
12
  export type GetStudentUserId = {
18
13
  type: string;
19
14
  identifier: string;
20
15
  };
21
- export declare const GetStudentRoleType: {
22
- readonly Primary: "primary";
23
- readonly Secondary: "secondary";
24
- };
25
- export type GetStudentRoleType = ClosedEnum<typeof GetStudentRoleType>;
26
- export declare const GetStudentRoleEnum: {
27
- readonly Administrator: "administrator";
28
- readonly Aide: "aide";
29
- readonly Guardian: "guardian";
30
- readonly Parent: "parent";
31
- readonly Proctor: "proctor";
32
- readonly Relative: "relative";
33
- readonly Student: "student";
34
- readonly Teacher: "teacher";
35
- };
36
- export type GetStudentRoleEnum = ClosedEnum<typeof GetStudentRoleEnum>;
37
16
  export type GetStudentOrg = {
38
17
  href: string;
39
18
  sourcedId: string;
40
19
  type: string;
41
20
  };
42
21
  export type GetStudentRole = {
43
- roleType: GetStudentRoleType;
44
- role: GetStudentRoleEnum;
22
+ roleType: RoleType;
23
+ role: UserRole;
45
24
  org: GetStudentOrg;
46
25
  userProfile?: string | undefined;
47
26
  beginDate: string | null;
48
27
  endDate: string | null;
49
28
  };
50
- export declare const GetStudentType: {
51
- readonly AcademicSession: "academicSession";
52
- readonly AssessmentLineItem: "assessmentLineItem";
53
- readonly Category: "category";
54
- readonly Class: "class";
55
- readonly Course: "course";
56
- readonly Demographics: "demographics";
57
- readonly Enrollment: "enrollment";
58
- readonly GradingPeriod: "gradingPeriod";
59
- readonly LineItem: "lineItem";
60
- readonly Org: "org";
61
- readonly Resource: "resource";
62
- readonly Result: "result";
63
- readonly ScoreScale: "scoreScale";
64
- readonly Student: "student";
65
- readonly Teacher: "teacher";
66
- readonly Term: "term";
67
- readonly User: "user";
68
- readonly ComponentResource: "componentResource";
69
- readonly CourseComponent: "courseComponent";
70
- };
71
- export type GetStudentType = ClosedEnum<typeof GetStudentType>;
72
29
  export type GetStudentAgent = {
73
30
  href: string;
74
31
  sourcedId: string;
75
- type: GetStudentType;
32
+ type: EntityType;
76
33
  };
77
34
  export type GetStudentPrimaryOrg = {
78
35
  href: string;
@@ -81,7 +38,7 @@ export type GetStudentPrimaryOrg = {
81
38
  };
82
39
  export type GetStudentUser = {
83
40
  sourcedId: string;
84
- status: GetStudentStatus;
41
+ status: Status;
85
42
  dateLastModified?: Date | undefined;
86
43
  metadata?: {
87
44
  [k: string]: any;
@@ -136,26 +93,6 @@ export declare namespace GetStudentRequest$ {
136
93
  export declare function getStudentRequestToJSON(getStudentRequest: GetStudentRequest): string;
137
94
  export declare function getStudentRequestFromJSON(jsonString: string): SafeParseResult<GetStudentRequest, SDKValidationError>;
138
95
  /** @internal */
139
- export declare const GetStudentStatus$inboundSchema: z.ZodNativeEnum<typeof GetStudentStatus>;
140
- /** @internal */
141
- export declare const GetStudentStatus$outboundSchema: z.ZodNativeEnum<typeof GetStudentStatus>;
142
- /**
143
- * @internal
144
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
145
- */
146
- export declare namespace GetStudentStatus$ {
147
- /** @deprecated use `GetStudentStatus$inboundSchema` instead. */
148
- const inboundSchema: z.ZodNativeEnum<{
149
- readonly Active: "active";
150
- readonly Tobedeleted: "tobedeleted";
151
- }>;
152
- /** @deprecated use `GetStudentStatus$outboundSchema` instead. */
153
- const outboundSchema: z.ZodNativeEnum<{
154
- readonly Active: "active";
155
- readonly Tobedeleted: "tobedeleted";
156
- }>;
157
- }
158
- /** @internal */
159
96
  export declare const GetStudentUserId$inboundSchema: z.ZodType<GetStudentUserId, z.ZodTypeDef, unknown>;
160
97
  /** @internal */
161
98
  export type GetStudentUserId$Outbound = {
@@ -179,58 +116,6 @@ export declare namespace GetStudentUserId$ {
179
116
  export declare function getStudentUserIdToJSON(getStudentUserId: GetStudentUserId): string;
180
117
  export declare function getStudentUserIdFromJSON(jsonString: string): SafeParseResult<GetStudentUserId, SDKValidationError>;
181
118
  /** @internal */
182
- export declare const GetStudentRoleType$inboundSchema: z.ZodNativeEnum<typeof GetStudentRoleType>;
183
- /** @internal */
184
- export declare const GetStudentRoleType$outboundSchema: z.ZodNativeEnum<typeof GetStudentRoleType>;
185
- /**
186
- * @internal
187
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
188
- */
189
- export declare namespace GetStudentRoleType$ {
190
- /** @deprecated use `GetStudentRoleType$inboundSchema` instead. */
191
- const inboundSchema: z.ZodNativeEnum<{
192
- readonly Primary: "primary";
193
- readonly Secondary: "secondary";
194
- }>;
195
- /** @deprecated use `GetStudentRoleType$outboundSchema` instead. */
196
- const outboundSchema: z.ZodNativeEnum<{
197
- readonly Primary: "primary";
198
- readonly Secondary: "secondary";
199
- }>;
200
- }
201
- /** @internal */
202
- export declare const GetStudentRoleEnum$inboundSchema: z.ZodNativeEnum<typeof GetStudentRoleEnum>;
203
- /** @internal */
204
- export declare const GetStudentRoleEnum$outboundSchema: z.ZodNativeEnum<typeof GetStudentRoleEnum>;
205
- /**
206
- * @internal
207
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
208
- */
209
- export declare namespace GetStudentRoleEnum$ {
210
- /** @deprecated use `GetStudentRoleEnum$inboundSchema` instead. */
211
- const inboundSchema: z.ZodNativeEnum<{
212
- readonly Administrator: "administrator";
213
- readonly Aide: "aide";
214
- readonly Guardian: "guardian";
215
- readonly Parent: "parent";
216
- readonly Proctor: "proctor";
217
- readonly Relative: "relative";
218
- readonly Student: "student";
219
- readonly Teacher: "teacher";
220
- }>;
221
- /** @deprecated use `GetStudentRoleEnum$outboundSchema` instead. */
222
- const outboundSchema: z.ZodNativeEnum<{
223
- readonly Administrator: "administrator";
224
- readonly Aide: "aide";
225
- readonly Guardian: "guardian";
226
- readonly Parent: "parent";
227
- readonly Proctor: "proctor";
228
- readonly Relative: "relative";
229
- readonly Student: "student";
230
- readonly Teacher: "teacher";
231
- }>;
232
- }
233
- /** @internal */
234
119
  export declare const GetStudentOrg$inboundSchema: z.ZodType<GetStudentOrg, z.ZodTypeDef, unknown>;
235
120
  /** @internal */
236
121
  export type GetStudentOrg$Outbound = {
@@ -282,60 +167,6 @@ export declare namespace GetStudentRole$ {
282
167
  export declare function getStudentRoleToJSON(getStudentRole: GetStudentRole): string;
283
168
  export declare function getStudentRoleFromJSON(jsonString: string): SafeParseResult<GetStudentRole, SDKValidationError>;
284
169
  /** @internal */
285
- export declare const GetStudentType$inboundSchema: z.ZodNativeEnum<typeof GetStudentType>;
286
- /** @internal */
287
- export declare const GetStudentType$outboundSchema: z.ZodNativeEnum<typeof GetStudentType>;
288
- /**
289
- * @internal
290
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
291
- */
292
- export declare namespace GetStudentType$ {
293
- /** @deprecated use `GetStudentType$inboundSchema` instead. */
294
- const inboundSchema: z.ZodNativeEnum<{
295
- readonly AcademicSession: "academicSession";
296
- readonly AssessmentLineItem: "assessmentLineItem";
297
- readonly Category: "category";
298
- readonly Class: "class";
299
- readonly Course: "course";
300
- readonly Demographics: "demographics";
301
- readonly Enrollment: "enrollment";
302
- readonly GradingPeriod: "gradingPeriod";
303
- readonly LineItem: "lineItem";
304
- readonly Org: "org";
305
- readonly Resource: "resource";
306
- readonly Result: "result";
307
- readonly ScoreScale: "scoreScale";
308
- readonly Student: "student";
309
- readonly Teacher: "teacher";
310
- readonly Term: "term";
311
- readonly User: "user";
312
- readonly ComponentResource: "componentResource";
313
- readonly CourseComponent: "courseComponent";
314
- }>;
315
- /** @deprecated use `GetStudentType$outboundSchema` instead. */
316
- const outboundSchema: z.ZodNativeEnum<{
317
- readonly AcademicSession: "academicSession";
318
- readonly AssessmentLineItem: "assessmentLineItem";
319
- readonly Category: "category";
320
- readonly Class: "class";
321
- readonly Course: "course";
322
- readonly Demographics: "demographics";
323
- readonly Enrollment: "enrollment";
324
- readonly GradingPeriod: "gradingPeriod";
325
- readonly LineItem: "lineItem";
326
- readonly Org: "org";
327
- readonly Resource: "resource";
328
- readonly Result: "result";
329
- readonly ScoreScale: "scoreScale";
330
- readonly Student: "student";
331
- readonly Teacher: "teacher";
332
- readonly Term: "term";
333
- readonly User: "user";
334
- readonly ComponentResource: "componentResource";
335
- readonly CourseComponent: "courseComponent";
336
- }>;
337
- }
338
- /** @internal */
339
170
  export declare const GetStudentAgent$inboundSchema: z.ZodType<GetStudentAgent, z.ZodTypeDef, unknown>;
340
171
  /** @internal */
341
172
  export type GetStudentAgent$Outbound = {
@@ -1 +1 @@
1
- {"version":3,"file":"getstudent.d.ts","sourceRoot":"","sources":["../../../../src/models/operations/getstudent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,KAAK,CAAC;AAGzB,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB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CAAC;IAC1D,+DAA+D;IACxD,MAAM,cAAc,kEAAgC,CAAC;IAC5D,yDAAyD;IACzD,KAAY,QAAQ,GAAG,uBAAuB,CAAC;CAClD;AAED,wBAAgB,oBAAoB,CAAC,cAAc,EAAE,cAAc,GAAG,MAAM,CAE3E;AAED,wBAAgB,sBAAsB,CAClC,UAAU,EAAE,MAAM,GACnB,eAAe,CAAC,cAAc,EAAE,kBAAkB,CAAC,CAMrD;AAED,gBAAgB;AAChB,eAAO,MAAM,gCAAgC,EAAE,CAAC,CAAC,OAAO,CACpD,kBAAkB,EAClB,CAAC,CAAC,UAAU,EACZ,OAAO,CAGT,CAAC;AAEH,gBAAgB;AAChB,MAAM,MAAM,2BAA2B,GAAG;IACtC,IAAI,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF,gBAAgB;AAChB,eAAO,MAAM,iCAAiC,EAAE,CAAC,CAAC,OAAO,CACrD,2BAA2B,EAC3B,CAAC,CAAC,UAAU,EACZ,kBAAkB,CAGpB,CAAC;AAEH;;;GAGG;AACH,yBAAiB,mBAAmB,CAAC;IACjC,kEAAkE;IAC3D,MAAM,aAAa,sDAAmC,CAAC;IAC9D,mEAAmE;IAC5D,MAAM,cAAc,0EAAoC,CAAC;IAChE,6DAA6D;IAC7D,KAAY,QAAQ,GAAG,2BAA2B,CAAC;CACtD;AAED,wBAAgB,wBAAwB,CAAC,kBAAkB,EAAE,kBAAkB,GAAG,MAAM,CAEvF;AAED,wBAAgB,0BAA0B,CACtC,UAAU,EAAE,MAAM,GACnB,eAAe,CAAC,kBAAkB,EAAE,kBAAkB,CAAC,CAMzD"}
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.GetStudentResponse$ = exports.GetStudentResponse$outboundSchema = exports.GetStudentResponse$inboundSchema = exports.GetStudentUser$ = exports.GetStudentUser$outboundSchema = exports.GetStudentUser$inboundSchema = exports.GetStudentPrimaryOrg$ = exports.GetStudentPrimaryOrg$outboundSchema = exports.GetStudentPrimaryOrg$inboundSchema = exports.GetStudentAgent$ = exports.GetStudentAgent$outboundSchema = exports.GetStudentAgent$inboundSchema = exports.GetStudentType$ = exports.GetStudentType$outboundSchema = exports.GetStudentType$inboundSchema = exports.GetStudentRole$ = exports.GetStudentRole$outboundSchema = exports.GetStudentRole$inboundSchema = exports.GetStudentOrg$ = exports.GetStudentOrg$outboundSchema = exports.GetStudentOrg$inboundSchema = exports.GetStudentRoleEnum$ = exports.GetStudentRoleEnum$outboundSchema = exports.GetStudentRoleEnum$inboundSchema = exports.GetStudentRoleType$ = exports.GetStudentRoleType$outboundSchema = exports.GetStudentRoleType$inboundSchema = exports.GetStudentUserId$ = exports.GetStudentUserId$outboundSchema = exports.GetStudentUserId$inboundSchema = exports.GetStudentStatus$ = exports.GetStudentStatus$outboundSchema = exports.GetStudentStatus$inboundSchema = exports.GetStudentRequest$ = exports.GetStudentRequest$outboundSchema = exports.GetStudentRequest$inboundSchema = exports.GetStudentType = exports.GetStudentRoleEnum = exports.GetStudentRoleType = exports.GetStudentStatus = void 0;
36
+ exports.GetStudentResponse$ = exports.GetStudentResponse$outboundSchema = exports.GetStudentResponse$inboundSchema = exports.GetStudentUser$ = exports.GetStudentUser$outboundSchema = exports.GetStudentUser$inboundSchema = exports.GetStudentPrimaryOrg$ = exports.GetStudentPrimaryOrg$outboundSchema = exports.GetStudentPrimaryOrg$inboundSchema = exports.GetStudentAgent$ = exports.GetStudentAgent$outboundSchema = exports.GetStudentAgent$inboundSchema = exports.GetStudentRole$ = exports.GetStudentRole$outboundSchema = exports.GetStudentRole$inboundSchema = exports.GetStudentOrg$ = exports.GetStudentOrg$outboundSchema = exports.GetStudentOrg$inboundSchema = exports.GetStudentUserId$ = exports.GetStudentUserId$outboundSchema = exports.GetStudentUserId$inboundSchema = exports.GetStudentRequest$ = exports.GetStudentRequest$outboundSchema = exports.GetStudentRequest$inboundSchema = void 0;
37
37
  exports.getStudentRequestToJSON = getStudentRequestToJSON;
38
38
  exports.getStudentRequestFromJSON = getStudentRequestFromJSON;
39
39
  exports.getStudentUserIdToJSON = getStudentUserIdToJSON;
@@ -53,45 +53,7 @@ exports.getStudentResponseFromJSON = getStudentResponseFromJSON;
53
53
  const z = __importStar(require("zod"));
54
54
  const schemas_js_1 = require("../../lib/schemas.js");
55
55
  const components = __importStar(require("../components/index.js"));
56
- exports.GetStudentStatus = {
57
- Active: 'active',
58
- Tobedeleted: 'tobedeleted',
59
- };
60
- exports.GetStudentRoleType = {
61
- Primary: 'primary',
62
- Secondary: 'secondary',
63
- };
64
- exports.GetStudentRoleEnum = {
65
- Administrator: 'administrator',
66
- Aide: 'aide',
67
- Guardian: 'guardian',
68
- Parent: 'parent',
69
- Proctor: 'proctor',
70
- Relative: 'relative',
71
- Student: 'student',
72
- Teacher: 'teacher',
73
- };
74
- exports.GetStudentType = {
75
- AcademicSession: 'academicSession',
76
- AssessmentLineItem: 'assessmentLineItem',
77
- Category: 'category',
78
- Class: 'class',
79
- Course: 'course',
80
- Demographics: 'demographics',
81
- Enrollment: 'enrollment',
82
- GradingPeriod: 'gradingPeriod',
83
- LineItem: 'lineItem',
84
- Org: 'org',
85
- Resource: 'resource',
86
- Result: 'result',
87
- ScoreScale: 'scoreScale',
88
- Student: 'student',
89
- Teacher: 'teacher',
90
- Term: 'term',
91
- User: 'user',
92
- ComponentResource: 'componentResource',
93
- CourseComponent: 'courseComponent',
94
- };
56
+ const enums_js_1 = require("../shared/enums.js");
95
57
  /** @internal */
96
58
  exports.GetStudentRequest$inboundSchema = z.object({
97
59
  sourcedId: z.string(),
@@ -118,21 +80,6 @@ function getStudentRequestFromJSON(jsonString) {
118
80
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetStudentRequest$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetStudentRequest' from JSON`);
119
81
  }
120
82
  /** @internal */
121
- exports.GetStudentStatus$inboundSchema = z.nativeEnum(exports.GetStudentStatus);
122
- /** @internal */
123
- exports.GetStudentStatus$outboundSchema = exports.GetStudentStatus$inboundSchema;
124
- /**
125
- * @internal
126
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
127
- */
128
- var GetStudentStatus$;
129
- (function (GetStudentStatus$) {
130
- /** @deprecated use `GetStudentStatus$inboundSchema` instead. */
131
- GetStudentStatus$.inboundSchema = exports.GetStudentStatus$inboundSchema;
132
- /** @deprecated use `GetStudentStatus$outboundSchema` instead. */
133
- GetStudentStatus$.outboundSchema = exports.GetStudentStatus$outboundSchema;
134
- })(GetStudentStatus$ || (exports.GetStudentStatus$ = GetStudentStatus$ = {}));
135
- /** @internal */
136
83
  exports.GetStudentUserId$inboundSchema = z.object({
137
84
  type: z.string(),
138
85
  identifier: z.string(),
@@ -160,36 +107,6 @@ function getStudentUserIdFromJSON(jsonString) {
160
107
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetStudentUserId$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetStudentUserId' from JSON`);
161
108
  }
162
109
  /** @internal */
163
- exports.GetStudentRoleType$inboundSchema = z.nativeEnum(exports.GetStudentRoleType);
164
- /** @internal */
165
- exports.GetStudentRoleType$outboundSchema = exports.GetStudentRoleType$inboundSchema;
166
- /**
167
- * @internal
168
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
169
- */
170
- var GetStudentRoleType$;
171
- (function (GetStudentRoleType$) {
172
- /** @deprecated use `GetStudentRoleType$inboundSchema` instead. */
173
- GetStudentRoleType$.inboundSchema = exports.GetStudentRoleType$inboundSchema;
174
- /** @deprecated use `GetStudentRoleType$outboundSchema` instead. */
175
- GetStudentRoleType$.outboundSchema = exports.GetStudentRoleType$outboundSchema;
176
- })(GetStudentRoleType$ || (exports.GetStudentRoleType$ = GetStudentRoleType$ = {}));
177
- /** @internal */
178
- exports.GetStudentRoleEnum$inboundSchema = z.nativeEnum(exports.GetStudentRoleEnum);
179
- /** @internal */
180
- exports.GetStudentRoleEnum$outboundSchema = exports.GetStudentRoleEnum$inboundSchema;
181
- /**
182
- * @internal
183
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
184
- */
185
- var GetStudentRoleEnum$;
186
- (function (GetStudentRoleEnum$) {
187
- /** @deprecated use `GetStudentRoleEnum$inboundSchema` instead. */
188
- GetStudentRoleEnum$.inboundSchema = exports.GetStudentRoleEnum$inboundSchema;
189
- /** @deprecated use `GetStudentRoleEnum$outboundSchema` instead. */
190
- GetStudentRoleEnum$.outboundSchema = exports.GetStudentRoleEnum$outboundSchema;
191
- })(GetStudentRoleEnum$ || (exports.GetStudentRoleEnum$ = GetStudentRoleEnum$ = {}));
192
- /** @internal */
193
110
  exports.GetStudentOrg$inboundSchema = z.object({
194
111
  href: z.string(),
195
112
  sourcedId: z.string(),
@@ -220,8 +137,8 @@ function getStudentOrgFromJSON(jsonString) {
220
137
  }
221
138
  /** @internal */
222
139
  exports.GetStudentRole$inboundSchema = z.object({
223
- roleType: exports.GetStudentRoleType$inboundSchema,
224
- role: exports.GetStudentRoleEnum$inboundSchema,
140
+ roleType: enums_js_1.RoleType$inboundSchema,
141
+ role: enums_js_1.UserRole$inboundSchema,
225
142
  org: z.lazy(() => exports.GetStudentOrg$inboundSchema),
226
143
  userProfile: z.string().optional(),
227
144
  beginDate: z.nullable(z.string()),
@@ -229,8 +146,8 @@ exports.GetStudentRole$inboundSchema = z.object({
229
146
  });
230
147
  /** @internal */
231
148
  exports.GetStudentRole$outboundSchema = z.object({
232
- roleType: exports.GetStudentRoleType$outboundSchema,
233
- role: exports.GetStudentRoleEnum$outboundSchema,
149
+ roleType: enums_js_1.RoleType$outboundSchema,
150
+ role: enums_js_1.UserRole$outboundSchema,
234
151
  org: z.lazy(() => exports.GetStudentOrg$outboundSchema),
235
152
  userProfile: z.string().optional(),
236
153
  beginDate: z.nullable(z.string()),
@@ -254,31 +171,16 @@ function getStudentRoleFromJSON(jsonString) {
254
171
  return (0, schemas_js_1.safeParse)(jsonString, (x) => exports.GetStudentRole$inboundSchema.parse(JSON.parse(x)), `Failed to parse 'GetStudentRole' from JSON`);
255
172
  }
256
173
  /** @internal */
257
- exports.GetStudentType$inboundSchema = z.nativeEnum(exports.GetStudentType);
258
- /** @internal */
259
- exports.GetStudentType$outboundSchema = exports.GetStudentType$inboundSchema;
260
- /**
261
- * @internal
262
- * @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
263
- */
264
- var GetStudentType$;
265
- (function (GetStudentType$) {
266
- /** @deprecated use `GetStudentType$inboundSchema` instead. */
267
- GetStudentType$.inboundSchema = exports.GetStudentType$inboundSchema;
268
- /** @deprecated use `GetStudentType$outboundSchema` instead. */
269
- GetStudentType$.outboundSchema = exports.GetStudentType$outboundSchema;
270
- })(GetStudentType$ || (exports.GetStudentType$ = GetStudentType$ = {}));
271
- /** @internal */
272
174
  exports.GetStudentAgent$inboundSchema = z.object({
273
175
  href: z.string(),
274
176
  sourcedId: z.string(),
275
- type: exports.GetStudentType$inboundSchema,
177
+ type: enums_js_1.EntityType$inboundSchema,
276
178
  });
277
179
  /** @internal */
278
180
  exports.GetStudentAgent$outboundSchema = z.object({
279
181
  href: z.string(),
280
182
  sourcedId: z.string(),
281
- type: exports.GetStudentType$outboundSchema,
183
+ type: enums_js_1.EntityType$outboundSchema,
282
184
  });
283
185
  /**
284
186
  * @internal
@@ -329,7 +231,7 @@ function getStudentPrimaryOrgFromJSON(jsonString) {
329
231
  /** @internal */
330
232
  exports.GetStudentUser$inboundSchema = z.object({
331
233
  sourcedId: z.string(),
332
- status: exports.GetStudentStatus$inboundSchema,
234
+ status: enums_js_1.Status$inboundSchema,
333
235
  dateLastModified: z
334
236
  .string()
335
237
  .datetime({ offset: true })
@@ -360,7 +262,7 @@ exports.GetStudentUser$inboundSchema = z.object({
360
262
  /** @internal */
361
263
  exports.GetStudentUser$outboundSchema = z.object({
362
264
  sourcedId: z.string(),
363
- status: exports.GetStudentStatus$outboundSchema,
265
+ status: enums_js_1.Status$outboundSchema,
364
266
  dateLastModified: z
365
267
  .date()
366
268
  .transform((v) => v.toISOString())