@eduware/oneroster 1.2.3 → 1.2.5
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/README.md +28 -17
- package/bin/mcp-server.js +338 -1328
- package/bin/mcp-server.js.map +22 -21
- 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/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/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/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/package.json +55 -1
- package/src/index.ts +44 -0
- package/src/models/errors/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/test/classlink.test.ts +26 -26
|
@@ -2,22 +2,26 @@ import * as z from 'zod';
|
|
|
2
2
|
|
|
3
3
|
import { remap as remap$ } from '../../lib/primitives.js';
|
|
4
4
|
import { safeParse } from '../../lib/schemas.js';
|
|
5
|
-
import { ClosedEnum } from '../../types/enums.js';
|
|
6
5
|
import { Result as SafeParseResult } from '../../types/fp.js';
|
|
7
6
|
import * as components from '../components/index.js';
|
|
8
7
|
import { SDKValidationError } from '../errors/sdkvalidationerror.js';
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
8
|
+
import {
|
|
9
|
+
EntityType,
|
|
10
|
+
EntityType$inboundSchema,
|
|
11
|
+
EntityType$outboundSchema,
|
|
12
|
+
OrderBy,
|
|
13
|
+
OrderBy$inboundSchema,
|
|
14
|
+
OrderBy$outboundSchema,
|
|
15
|
+
RoleType,
|
|
16
|
+
RoleType$inboundSchema,
|
|
17
|
+
RoleType$outboundSchema,
|
|
18
|
+
Status,
|
|
19
|
+
Status$inboundSchema,
|
|
20
|
+
Status$outboundSchema,
|
|
21
|
+
UserRole,
|
|
22
|
+
UserRole$inboundSchema,
|
|
23
|
+
UserRole$outboundSchema,
|
|
24
|
+
} from '../shared/enums.js';
|
|
21
25
|
|
|
22
26
|
export type GetStudentsForSchoolRequest = {
|
|
23
27
|
/**
|
|
@@ -43,7 +47,7 @@ export type GetStudentsForSchoolRequest = {
|
|
|
43
47
|
/**
|
|
44
48
|
* The order to sort the response by
|
|
45
49
|
*/
|
|
46
|
-
orderBy?:
|
|
50
|
+
orderBy?: OrderBy | undefined;
|
|
47
51
|
/**
|
|
48
52
|
* The filter to apply to the response
|
|
49
53
|
*/
|
|
@@ -54,35 +58,11 @@ export type GetStudentsForSchoolRequest = {
|
|
|
54
58
|
search?: string | undefined;
|
|
55
59
|
};
|
|
56
60
|
|
|
57
|
-
export const GetStudentsForSchoolStatus = {
|
|
58
|
-
Active: 'active',
|
|
59
|
-
Tobedeleted: 'tobedeleted',
|
|
60
|
-
} as const;
|
|
61
|
-
export type GetStudentsForSchoolStatus = ClosedEnum<typeof GetStudentsForSchoolStatus>;
|
|
62
|
-
|
|
63
61
|
export type GetStudentsForSchoolUserId = {
|
|
64
62
|
type: string;
|
|
65
63
|
identifier: string;
|
|
66
64
|
};
|
|
67
65
|
|
|
68
|
-
export const GetStudentsForSchoolRoleType = {
|
|
69
|
-
Primary: 'primary',
|
|
70
|
-
Secondary: 'secondary',
|
|
71
|
-
} as const;
|
|
72
|
-
export type GetStudentsForSchoolRoleType = ClosedEnum<typeof GetStudentsForSchoolRoleType>;
|
|
73
|
-
|
|
74
|
-
export const GetStudentsForSchoolRoleEnum = {
|
|
75
|
-
Administrator: 'administrator',
|
|
76
|
-
Aide: 'aide',
|
|
77
|
-
Guardian: 'guardian',
|
|
78
|
-
Parent: 'parent',
|
|
79
|
-
Proctor: 'proctor',
|
|
80
|
-
Relative: 'relative',
|
|
81
|
-
Student: 'student',
|
|
82
|
-
Teacher: 'teacher',
|
|
83
|
-
} as const;
|
|
84
|
-
export type GetStudentsForSchoolRoleEnum = ClosedEnum<typeof GetStudentsForSchoolRoleEnum>;
|
|
85
|
-
|
|
86
66
|
export type GetStudentsForSchoolOrg = {
|
|
87
67
|
href: string;
|
|
88
68
|
sourcedId: string;
|
|
@@ -90,41 +70,18 @@ export type GetStudentsForSchoolOrg = {
|
|
|
90
70
|
};
|
|
91
71
|
|
|
92
72
|
export type GetStudentsForSchoolRole = {
|
|
93
|
-
roleType:
|
|
94
|
-
role:
|
|
73
|
+
roleType: RoleType;
|
|
74
|
+
role: UserRole;
|
|
95
75
|
org: GetStudentsForSchoolOrg;
|
|
96
76
|
userProfile?: string | undefined;
|
|
97
77
|
beginDate: string | null;
|
|
98
78
|
endDate: string | null;
|
|
99
79
|
};
|
|
100
80
|
|
|
101
|
-
export const GetStudentsForSchoolType = {
|
|
102
|
-
AcademicSession: 'academicSession',
|
|
103
|
-
AssessmentLineItem: 'assessmentLineItem',
|
|
104
|
-
Category: 'category',
|
|
105
|
-
Class: 'class',
|
|
106
|
-
Course: 'course',
|
|
107
|
-
Demographics: 'demographics',
|
|
108
|
-
Enrollment: 'enrollment',
|
|
109
|
-
GradingPeriod: 'gradingPeriod',
|
|
110
|
-
LineItem: 'lineItem',
|
|
111
|
-
Org: 'org',
|
|
112
|
-
Resource: 'resource',
|
|
113
|
-
Result: 'result',
|
|
114
|
-
ScoreScale: 'scoreScale',
|
|
115
|
-
Student: 'student',
|
|
116
|
-
Teacher: 'teacher',
|
|
117
|
-
Term: 'term',
|
|
118
|
-
User: 'user',
|
|
119
|
-
ComponentResource: 'componentResource',
|
|
120
|
-
CourseComponent: 'courseComponent',
|
|
121
|
-
} as const;
|
|
122
|
-
export type GetStudentsForSchoolType = ClosedEnum<typeof GetStudentsForSchoolType>;
|
|
123
|
-
|
|
124
81
|
export type GetStudentsForSchoolAgent = {
|
|
125
82
|
href: string;
|
|
126
83
|
sourcedId: string;
|
|
127
|
-
type:
|
|
84
|
+
type: EntityType;
|
|
128
85
|
};
|
|
129
86
|
|
|
130
87
|
export type GetStudentsForSchoolPrimaryOrg = {
|
|
@@ -135,7 +92,7 @@ export type GetStudentsForSchoolPrimaryOrg = {
|
|
|
135
92
|
|
|
136
93
|
export type GetStudentsForSchoolUser = {
|
|
137
94
|
sourcedId: string;
|
|
138
|
-
status:
|
|
95
|
+
status: Status;
|
|
139
96
|
dateLastModified?: Date | undefined;
|
|
140
97
|
metadata?: { [k: string]: any } | null | undefined;
|
|
141
98
|
userMasterIdentifier?: string | null | undefined;
|
|
@@ -171,27 +128,6 @@ export type GetStudentsForSchoolResponse = {
|
|
|
171
128
|
result: GetStudentsForSchoolResponseBody;
|
|
172
129
|
};
|
|
173
130
|
|
|
174
|
-
/** @internal */
|
|
175
|
-
export const GetStudentsForSchoolOrderBy$inboundSchema: z.ZodNativeEnum<
|
|
176
|
-
typeof GetStudentsForSchoolOrderBy
|
|
177
|
-
> = z.nativeEnum(GetStudentsForSchoolOrderBy);
|
|
178
|
-
|
|
179
|
-
/** @internal */
|
|
180
|
-
export const GetStudentsForSchoolOrderBy$outboundSchema: z.ZodNativeEnum<
|
|
181
|
-
typeof GetStudentsForSchoolOrderBy
|
|
182
|
-
> = GetStudentsForSchoolOrderBy$inboundSchema;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @internal
|
|
186
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
187
|
-
*/
|
|
188
|
-
export namespace GetStudentsForSchoolOrderBy$ {
|
|
189
|
-
/** @deprecated use `GetStudentsForSchoolOrderBy$inboundSchema` instead. */
|
|
190
|
-
export const inboundSchema = GetStudentsForSchoolOrderBy$inboundSchema;
|
|
191
|
-
/** @deprecated use `GetStudentsForSchoolOrderBy$outboundSchema` instead. */
|
|
192
|
-
export const outboundSchema = GetStudentsForSchoolOrderBy$outboundSchema;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
131
|
/** @internal */
|
|
196
132
|
export const GetStudentsForSchoolRequest$inboundSchema: z.ZodType<
|
|
197
133
|
GetStudentsForSchoolRequest,
|
|
@@ -203,7 +139,7 @@ export const GetStudentsForSchoolRequest$inboundSchema: z.ZodType<
|
|
|
203
139
|
limit: z.number().int().default(100),
|
|
204
140
|
offset: z.number().int().default(0),
|
|
205
141
|
sort: z.string().optional(),
|
|
206
|
-
orderBy:
|
|
142
|
+
orderBy: OrderBy$inboundSchema.optional(),
|
|
207
143
|
filter: z.string().optional(),
|
|
208
144
|
search: z.string().optional(),
|
|
209
145
|
});
|
|
@@ -231,7 +167,7 @@ export const GetStudentsForSchoolRequest$outboundSchema: z.ZodType<
|
|
|
231
167
|
limit: z.number().int().default(100),
|
|
232
168
|
offset: z.number().int().default(0),
|
|
233
169
|
sort: z.string().optional(),
|
|
234
|
-
orderBy:
|
|
170
|
+
orderBy: OrderBy$outboundSchema.optional(),
|
|
235
171
|
filter: z.string().optional(),
|
|
236
172
|
search: z.string().optional(),
|
|
237
173
|
});
|
|
@@ -267,27 +203,6 @@ export function getStudentsForSchoolRequestFromJSON(
|
|
|
267
203
|
);
|
|
268
204
|
}
|
|
269
205
|
|
|
270
|
-
/** @internal */
|
|
271
|
-
export const GetStudentsForSchoolStatus$inboundSchema: z.ZodNativeEnum<
|
|
272
|
-
typeof GetStudentsForSchoolStatus
|
|
273
|
-
> = z.nativeEnum(GetStudentsForSchoolStatus);
|
|
274
|
-
|
|
275
|
-
/** @internal */
|
|
276
|
-
export const GetStudentsForSchoolStatus$outboundSchema: z.ZodNativeEnum<
|
|
277
|
-
typeof GetStudentsForSchoolStatus
|
|
278
|
-
> = GetStudentsForSchoolStatus$inboundSchema;
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* @internal
|
|
282
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
283
|
-
*/
|
|
284
|
-
export namespace GetStudentsForSchoolStatus$ {
|
|
285
|
-
/** @deprecated use `GetStudentsForSchoolStatus$inboundSchema` instead. */
|
|
286
|
-
export const inboundSchema = GetStudentsForSchoolStatus$inboundSchema;
|
|
287
|
-
/** @deprecated use `GetStudentsForSchoolStatus$outboundSchema` instead. */
|
|
288
|
-
export const outboundSchema = GetStudentsForSchoolStatus$outboundSchema;
|
|
289
|
-
}
|
|
290
|
-
|
|
291
206
|
/** @internal */
|
|
292
207
|
export const GetStudentsForSchoolUserId$inboundSchema: z.ZodType<
|
|
293
208
|
GetStudentsForSchoolUserId,
|
|
@@ -345,48 +260,6 @@ export function getStudentsForSchoolUserIdFromJSON(
|
|
|
345
260
|
);
|
|
346
261
|
}
|
|
347
262
|
|
|
348
|
-
/** @internal */
|
|
349
|
-
export const GetStudentsForSchoolRoleType$inboundSchema: z.ZodNativeEnum<
|
|
350
|
-
typeof GetStudentsForSchoolRoleType
|
|
351
|
-
> = z.nativeEnum(GetStudentsForSchoolRoleType);
|
|
352
|
-
|
|
353
|
-
/** @internal */
|
|
354
|
-
export const GetStudentsForSchoolRoleType$outboundSchema: z.ZodNativeEnum<
|
|
355
|
-
typeof GetStudentsForSchoolRoleType
|
|
356
|
-
> = GetStudentsForSchoolRoleType$inboundSchema;
|
|
357
|
-
|
|
358
|
-
/**
|
|
359
|
-
* @internal
|
|
360
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
361
|
-
*/
|
|
362
|
-
export namespace GetStudentsForSchoolRoleType$ {
|
|
363
|
-
/** @deprecated use `GetStudentsForSchoolRoleType$inboundSchema` instead. */
|
|
364
|
-
export const inboundSchema = GetStudentsForSchoolRoleType$inboundSchema;
|
|
365
|
-
/** @deprecated use `GetStudentsForSchoolRoleType$outboundSchema` instead. */
|
|
366
|
-
export const outboundSchema = GetStudentsForSchoolRoleType$outboundSchema;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
/** @internal */
|
|
370
|
-
export const GetStudentsForSchoolRoleEnum$inboundSchema: z.ZodNativeEnum<
|
|
371
|
-
typeof GetStudentsForSchoolRoleEnum
|
|
372
|
-
> = z.nativeEnum(GetStudentsForSchoolRoleEnum);
|
|
373
|
-
|
|
374
|
-
/** @internal */
|
|
375
|
-
export const GetStudentsForSchoolRoleEnum$outboundSchema: z.ZodNativeEnum<
|
|
376
|
-
typeof GetStudentsForSchoolRoleEnum
|
|
377
|
-
> = GetStudentsForSchoolRoleEnum$inboundSchema;
|
|
378
|
-
|
|
379
|
-
/**
|
|
380
|
-
* @internal
|
|
381
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
382
|
-
*/
|
|
383
|
-
export namespace GetStudentsForSchoolRoleEnum$ {
|
|
384
|
-
/** @deprecated use `GetStudentsForSchoolRoleEnum$inboundSchema` instead. */
|
|
385
|
-
export const inboundSchema = GetStudentsForSchoolRoleEnum$inboundSchema;
|
|
386
|
-
/** @deprecated use `GetStudentsForSchoolRoleEnum$outboundSchema` instead. */
|
|
387
|
-
export const outboundSchema = GetStudentsForSchoolRoleEnum$outboundSchema;
|
|
388
|
-
}
|
|
389
|
-
|
|
390
263
|
/** @internal */
|
|
391
264
|
export const GetStudentsForSchoolOrg$inboundSchema: z.ZodType<
|
|
392
265
|
GetStudentsForSchoolOrg,
|
|
@@ -451,8 +324,8 @@ export const GetStudentsForSchoolRole$inboundSchema: z.ZodType<
|
|
|
451
324
|
z.ZodTypeDef,
|
|
452
325
|
unknown
|
|
453
326
|
> = z.object({
|
|
454
|
-
|
|
455
|
-
|
|
327
|
+
roleType: RoleType$inboundSchema,
|
|
328
|
+
role: UserRole$inboundSchema,
|
|
456
329
|
org: z.lazy(() => GetStudentsForSchoolOrg$inboundSchema),
|
|
457
330
|
userProfile: z.string().optional(),
|
|
458
331
|
beginDate: z.nullable(z.string()),
|
|
@@ -475,8 +348,8 @@ export const GetStudentsForSchoolRole$outboundSchema: z.ZodType<
|
|
|
475
348
|
z.ZodTypeDef,
|
|
476
349
|
GetStudentsForSchoolRole
|
|
477
350
|
> = z.object({
|
|
478
|
-
roleType:
|
|
479
|
-
role:
|
|
351
|
+
roleType: RoleType$outboundSchema,
|
|
352
|
+
role: UserRole$outboundSchema,
|
|
480
353
|
org: z.lazy(() => GetStudentsForSchoolOrg$outboundSchema),
|
|
481
354
|
userProfile: z.string().optional(),
|
|
482
355
|
beginDate: z.nullable(z.string()),
|
|
@@ -512,27 +385,6 @@ export function getStudentsForSchoolRoleFromJSON(
|
|
|
512
385
|
);
|
|
513
386
|
}
|
|
514
387
|
|
|
515
|
-
/** @internal */
|
|
516
|
-
export const GetStudentsForSchoolType$inboundSchema: z.ZodNativeEnum<
|
|
517
|
-
typeof GetStudentsForSchoolType
|
|
518
|
-
> = z.nativeEnum(GetStudentsForSchoolType);
|
|
519
|
-
|
|
520
|
-
/** @internal */
|
|
521
|
-
export const GetStudentsForSchoolType$outboundSchema: z.ZodNativeEnum<
|
|
522
|
-
typeof GetStudentsForSchoolType
|
|
523
|
-
> = GetStudentsForSchoolType$inboundSchema;
|
|
524
|
-
|
|
525
|
-
/**
|
|
526
|
-
* @internal
|
|
527
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
528
|
-
*/
|
|
529
|
-
export namespace GetStudentsForSchoolType$ {
|
|
530
|
-
/** @deprecated use `GetStudentsForSchoolType$inboundSchema` instead. */
|
|
531
|
-
export const inboundSchema = GetStudentsForSchoolType$inboundSchema;
|
|
532
|
-
/** @deprecated use `GetStudentsForSchoolType$outboundSchema` instead. */
|
|
533
|
-
export const outboundSchema = GetStudentsForSchoolType$outboundSchema;
|
|
534
|
-
}
|
|
535
|
-
|
|
536
388
|
/** @internal */
|
|
537
389
|
export const GetStudentsForSchoolAgent$inboundSchema: z.ZodType<
|
|
538
390
|
GetStudentsForSchoolAgent,
|
|
@@ -541,7 +393,7 @@ export const GetStudentsForSchoolAgent$inboundSchema: z.ZodType<
|
|
|
541
393
|
> = z.object({
|
|
542
394
|
href: z.string(),
|
|
543
395
|
sourcedId: z.string(),
|
|
544
|
-
type:
|
|
396
|
+
type: EntityType$inboundSchema,
|
|
545
397
|
});
|
|
546
398
|
|
|
547
399
|
/** @internal */
|
|
@@ -559,7 +411,7 @@ export const GetStudentsForSchoolAgent$outboundSchema: z.ZodType<
|
|
|
559
411
|
> = z.object({
|
|
560
412
|
href: z.string(),
|
|
561
413
|
sourcedId: z.string(),
|
|
562
|
-
type:
|
|
414
|
+
type: EntityType$outboundSchema,
|
|
563
415
|
});
|
|
564
416
|
|
|
565
417
|
/**
|
|
@@ -660,7 +512,7 @@ export const GetStudentsForSchoolUser$inboundSchema: z.ZodType<
|
|
|
660
512
|
unknown
|
|
661
513
|
> = z.object({
|
|
662
514
|
sourcedId: z.string(),
|
|
663
|
-
|
|
515
|
+
status: Status$inboundSchema,
|
|
664
516
|
dateLastModified: z
|
|
665
517
|
.string()
|
|
666
518
|
.datetime({ offset: true })
|
|
@@ -724,7 +576,7 @@ export const GetStudentsForSchoolUser$outboundSchema: z.ZodType<
|
|
|
724
576
|
GetStudentsForSchoolUser
|
|
725
577
|
> = z.object({
|
|
726
578
|
sourcedId: z.string(),
|
|
727
|
-
status:
|
|
579
|
+
status: Status$outboundSchema,
|
|
728
580
|
dateLastModified: z
|
|
729
581
|
.date()
|
|
730
582
|
.transform((v) => v.toISOString())
|
|
@@ -1,10 +1,23 @@
|
|
|
1
1
|
import * as z from 'zod';
|
|
2
2
|
|
|
3
3
|
import { safeParse } from '../../lib/schemas.js';
|
|
4
|
-
import { ClosedEnum } from '../../types/enums.js';
|
|
5
4
|
import { Result as SafeParseResult } from '../../types/fp.js';
|
|
6
5
|
import * as components from '../components/index.js';
|
|
7
6
|
import { SDKValidationError } from '../errors/sdkvalidationerror.js';
|
|
7
|
+
import {
|
|
8
|
+
EntityType,
|
|
9
|
+
EntityType$inboundSchema,
|
|
10
|
+
EntityType$outboundSchema,
|
|
11
|
+
RoleType,
|
|
12
|
+
RoleType$inboundSchema,
|
|
13
|
+
RoleType$outboundSchema,
|
|
14
|
+
Status,
|
|
15
|
+
Status$inboundSchema,
|
|
16
|
+
Status$outboundSchema,
|
|
17
|
+
UserRole,
|
|
18
|
+
UserRole$inboundSchema,
|
|
19
|
+
UserRole$outboundSchema,
|
|
20
|
+
} from '../shared/enums.js';
|
|
8
21
|
|
|
9
22
|
export type GetTeacherRequest = {
|
|
10
23
|
/**
|
|
@@ -13,35 +26,11 @@ export type GetTeacherRequest = {
|
|
|
13
26
|
sourcedId: string;
|
|
14
27
|
};
|
|
15
28
|
|
|
16
|
-
export const GetTeacherStatus = {
|
|
17
|
-
Active: 'active',
|
|
18
|
-
Tobedeleted: 'tobedeleted',
|
|
19
|
-
} as const;
|
|
20
|
-
export type GetTeacherStatus = ClosedEnum<typeof GetTeacherStatus>;
|
|
21
|
-
|
|
22
29
|
export type GetTeacherUserId = {
|
|
23
30
|
type: string;
|
|
24
31
|
identifier: string;
|
|
25
32
|
};
|
|
26
33
|
|
|
27
|
-
export const GetTeacherRoleType = {
|
|
28
|
-
Primary: 'primary',
|
|
29
|
-
Secondary: 'secondary',
|
|
30
|
-
} as const;
|
|
31
|
-
export type GetTeacherRoleType = ClosedEnum<typeof GetTeacherRoleType>;
|
|
32
|
-
|
|
33
|
-
export const GetTeacherRoleEnum = {
|
|
34
|
-
Administrator: 'administrator',
|
|
35
|
-
Aide: 'aide',
|
|
36
|
-
Guardian: 'guardian',
|
|
37
|
-
Parent: 'parent',
|
|
38
|
-
Proctor: 'proctor',
|
|
39
|
-
Relative: 'relative',
|
|
40
|
-
Student: 'student',
|
|
41
|
-
Teacher: 'teacher',
|
|
42
|
-
} as const;
|
|
43
|
-
export type GetTeacherRoleEnum = ClosedEnum<typeof GetTeacherRoleEnum>;
|
|
44
|
-
|
|
45
34
|
export type GetTeacherOrg = {
|
|
46
35
|
href: string;
|
|
47
36
|
sourcedId: string;
|
|
@@ -49,41 +38,18 @@ export type GetTeacherOrg = {
|
|
|
49
38
|
};
|
|
50
39
|
|
|
51
40
|
export type GetTeacherRole = {
|
|
52
|
-
roleType:
|
|
53
|
-
role:
|
|
41
|
+
roleType: RoleType;
|
|
42
|
+
role: UserRole;
|
|
54
43
|
org: GetTeacherOrg;
|
|
55
44
|
userProfile?: string | undefined;
|
|
56
45
|
beginDate: string | null;
|
|
57
46
|
endDate: string | null;
|
|
58
47
|
};
|
|
59
48
|
|
|
60
|
-
export const GetTeacherType = {
|
|
61
|
-
AcademicSession: 'academicSession',
|
|
62
|
-
AssessmentLineItem: 'assessmentLineItem',
|
|
63
|
-
Category: 'category',
|
|
64
|
-
Class: 'class',
|
|
65
|
-
Course: 'course',
|
|
66
|
-
Demographics: 'demographics',
|
|
67
|
-
Enrollment: 'enrollment',
|
|
68
|
-
GradingPeriod: 'gradingPeriod',
|
|
69
|
-
LineItem: 'lineItem',
|
|
70
|
-
Org: 'org',
|
|
71
|
-
Resource: 'resource',
|
|
72
|
-
Result: 'result',
|
|
73
|
-
ScoreScale: 'scoreScale',
|
|
74
|
-
Student: 'student',
|
|
75
|
-
Teacher: 'teacher',
|
|
76
|
-
Term: 'term',
|
|
77
|
-
User: 'user',
|
|
78
|
-
ComponentResource: 'componentResource',
|
|
79
|
-
CourseComponent: 'courseComponent',
|
|
80
|
-
} as const;
|
|
81
|
-
export type GetTeacherType = ClosedEnum<typeof GetTeacherType>;
|
|
82
|
-
|
|
83
49
|
export type GetTeacherAgent = {
|
|
84
50
|
href: string;
|
|
85
51
|
sourcedId: string;
|
|
86
|
-
type:
|
|
52
|
+
type: EntityType;
|
|
87
53
|
};
|
|
88
54
|
|
|
89
55
|
export type GetTeacherPrimaryOrg = {
|
|
@@ -94,7 +60,7 @@ export type GetTeacherPrimaryOrg = {
|
|
|
94
60
|
|
|
95
61
|
export type GetTeacherUser = {
|
|
96
62
|
sourcedId: string;
|
|
97
|
-
status:
|
|
63
|
+
status: Status;
|
|
98
64
|
dateLastModified?: Date | undefined;
|
|
99
65
|
metadata?: { [k: string]: any } | null | undefined;
|
|
100
66
|
userMasterIdentifier?: string | null | undefined;
|
|
@@ -173,25 +139,6 @@ export function getTeacherRequestFromJSON(
|
|
|
173
139
|
);
|
|
174
140
|
}
|
|
175
141
|
|
|
176
|
-
/** @internal */
|
|
177
|
-
export const GetTeacherStatus$inboundSchema: z.ZodNativeEnum<typeof GetTeacherStatus> =
|
|
178
|
-
z.nativeEnum(GetTeacherStatus);
|
|
179
|
-
|
|
180
|
-
/** @internal */
|
|
181
|
-
export const GetTeacherStatus$outboundSchema: z.ZodNativeEnum<typeof GetTeacherStatus> =
|
|
182
|
-
GetTeacherStatus$inboundSchema;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* @internal
|
|
186
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
187
|
-
*/
|
|
188
|
-
export namespace GetTeacherStatus$ {
|
|
189
|
-
/** @deprecated use `GetTeacherStatus$inboundSchema` instead. */
|
|
190
|
-
export const inboundSchema = GetTeacherStatus$inboundSchema;
|
|
191
|
-
/** @deprecated use `GetTeacherStatus$outboundSchema` instead. */
|
|
192
|
-
export const outboundSchema = GetTeacherStatus$outboundSchema;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
142
|
/** @internal */
|
|
196
143
|
export const GetTeacherUserId$inboundSchema: z.ZodType<GetTeacherUserId, z.ZodTypeDef, unknown> =
|
|
197
144
|
z.object({
|
|
@@ -242,44 +189,6 @@ export function getTeacherUserIdFromJSON(
|
|
|
242
189
|
);
|
|
243
190
|
}
|
|
244
191
|
|
|
245
|
-
/** @internal */
|
|
246
|
-
export const GetTeacherRoleType$inboundSchema: z.ZodNativeEnum<typeof GetTeacherRoleType> =
|
|
247
|
-
z.nativeEnum(GetTeacherRoleType);
|
|
248
|
-
|
|
249
|
-
/** @internal */
|
|
250
|
-
export const GetTeacherRoleType$outboundSchema: z.ZodNativeEnum<typeof GetTeacherRoleType> =
|
|
251
|
-
GetTeacherRoleType$inboundSchema;
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* @internal
|
|
255
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
256
|
-
*/
|
|
257
|
-
export namespace GetTeacherRoleType$ {
|
|
258
|
-
/** @deprecated use `GetTeacherRoleType$inboundSchema` instead. */
|
|
259
|
-
export const inboundSchema = GetTeacherRoleType$inboundSchema;
|
|
260
|
-
/** @deprecated use `GetTeacherRoleType$outboundSchema` instead. */
|
|
261
|
-
export const outboundSchema = GetTeacherRoleType$outboundSchema;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
/** @internal */
|
|
265
|
-
export const GetTeacherRoleEnum$inboundSchema: z.ZodNativeEnum<typeof GetTeacherRoleEnum> =
|
|
266
|
-
z.nativeEnum(GetTeacherRoleEnum);
|
|
267
|
-
|
|
268
|
-
/** @internal */
|
|
269
|
-
export const GetTeacherRoleEnum$outboundSchema: z.ZodNativeEnum<typeof GetTeacherRoleEnum> =
|
|
270
|
-
GetTeacherRoleEnum$inboundSchema;
|
|
271
|
-
|
|
272
|
-
/**
|
|
273
|
-
* @internal
|
|
274
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
275
|
-
*/
|
|
276
|
-
export namespace GetTeacherRoleEnum$ {
|
|
277
|
-
/** @deprecated use `GetTeacherRoleEnum$inboundSchema` instead. */
|
|
278
|
-
export const inboundSchema = GetTeacherRoleEnum$inboundSchema;
|
|
279
|
-
/** @deprecated use `GetTeacherRoleEnum$outboundSchema` instead. */
|
|
280
|
-
export const outboundSchema = GetTeacherRoleEnum$outboundSchema;
|
|
281
|
-
}
|
|
282
|
-
|
|
283
192
|
/** @internal */
|
|
284
193
|
export const GetTeacherOrg$inboundSchema: z.ZodType<GetTeacherOrg, z.ZodTypeDef, unknown> =
|
|
285
194
|
z.object({
|
|
@@ -336,8 +245,8 @@ export function getTeacherOrgFromJSON(
|
|
|
336
245
|
/** @internal */
|
|
337
246
|
export const GetTeacherRole$inboundSchema: z.ZodType<GetTeacherRole, z.ZodTypeDef, unknown> =
|
|
338
247
|
z.object({
|
|
339
|
-
roleType:
|
|
340
|
-
role:
|
|
248
|
+
roleType: RoleType$inboundSchema,
|
|
249
|
+
role: UserRole$inboundSchema,
|
|
341
250
|
org: z.lazy(() => GetTeacherOrg$inboundSchema),
|
|
342
251
|
userProfile: z.string().optional(),
|
|
343
252
|
beginDate: z.nullable(z.string()),
|
|
@@ -360,8 +269,8 @@ export const GetTeacherRole$outboundSchema: z.ZodType<
|
|
|
360
269
|
z.ZodTypeDef,
|
|
361
270
|
GetTeacherRole
|
|
362
271
|
> = z.object({
|
|
363
|
-
roleType:
|
|
364
|
-
role:
|
|
272
|
+
roleType: RoleType$outboundSchema,
|
|
273
|
+
role: UserRole$outboundSchema,
|
|
365
274
|
org: z.lazy(() => GetTeacherOrg$outboundSchema),
|
|
366
275
|
userProfile: z.string().optional(),
|
|
367
276
|
beginDate: z.nullable(z.string()),
|
|
@@ -395,31 +304,12 @@ export function getTeacherRoleFromJSON(
|
|
|
395
304
|
);
|
|
396
305
|
}
|
|
397
306
|
|
|
398
|
-
/** @internal */
|
|
399
|
-
export const GetTeacherType$inboundSchema: z.ZodNativeEnum<typeof GetTeacherType> =
|
|
400
|
-
z.nativeEnum(GetTeacherType);
|
|
401
|
-
|
|
402
|
-
/** @internal */
|
|
403
|
-
export const GetTeacherType$outboundSchema: z.ZodNativeEnum<typeof GetTeacherType> =
|
|
404
|
-
GetTeacherType$inboundSchema;
|
|
405
|
-
|
|
406
|
-
/**
|
|
407
|
-
* @internal
|
|
408
|
-
* @deprecated This namespace will be removed in future versions. Use schemas and types that are exported directly from this module.
|
|
409
|
-
*/
|
|
410
|
-
export namespace GetTeacherType$ {
|
|
411
|
-
/** @deprecated use `GetTeacherType$inboundSchema` instead. */
|
|
412
|
-
export const inboundSchema = GetTeacherType$inboundSchema;
|
|
413
|
-
/** @deprecated use `GetTeacherType$outboundSchema` instead. */
|
|
414
|
-
export const outboundSchema = GetTeacherType$outboundSchema;
|
|
415
|
-
}
|
|
416
|
-
|
|
417
307
|
/** @internal */
|
|
418
308
|
export const GetTeacherAgent$inboundSchema: z.ZodType<GetTeacherAgent, z.ZodTypeDef, unknown> =
|
|
419
309
|
z.object({
|
|
420
310
|
href: z.string(),
|
|
421
311
|
sourcedId: z.string(),
|
|
422
|
-
type:
|
|
312
|
+
type: EntityType$inboundSchema,
|
|
423
313
|
});
|
|
424
314
|
|
|
425
315
|
/** @internal */
|
|
@@ -437,7 +327,7 @@ export const GetTeacherAgent$outboundSchema: z.ZodType<
|
|
|
437
327
|
> = z.object({
|
|
438
328
|
href: z.string(),
|
|
439
329
|
sourcedId: z.string(),
|
|
440
|
-
type:
|
|
330
|
+
type: EntityType$outboundSchema,
|
|
441
331
|
});
|
|
442
332
|
|
|
443
333
|
/**
|
|
@@ -527,7 +417,7 @@ export function getTeacherPrimaryOrgFromJSON(
|
|
|
527
417
|
export const GetTeacherUser$inboundSchema: z.ZodType<GetTeacherUser, z.ZodTypeDef, unknown> =
|
|
528
418
|
z.object({
|
|
529
419
|
sourcedId: z.string(),
|
|
530
|
-
status:
|
|
420
|
+
status: Status$inboundSchema,
|
|
531
421
|
dateLastModified: z
|
|
532
422
|
.string()
|
|
533
423
|
.datetime({ offset: true })
|
|
@@ -591,7 +481,7 @@ export const GetTeacherUser$outboundSchema: z.ZodType<
|
|
|
591
481
|
GetTeacherUser
|
|
592
482
|
> = z.object({
|
|
593
483
|
sourcedId: z.string(),
|
|
594
|
-
status:
|
|
484
|
+
status: Status$outboundSchema,
|
|
595
485
|
dateLastModified: z
|
|
596
486
|
.date()
|
|
597
487
|
.transform((v) => v.toISOString())
|