@insignia-education/api-sdk-js 0.15.75 → 0.15.76
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/package.json +1 -1
- package/src/api/v1/Employee.js +2 -0
package/package.json
CHANGED
package/src/api/v1/Employee.js
CHANGED
|
@@ -14,6 +14,8 @@ export default class Employee {
|
|
|
14
14
|
individualAvailability: () => this.#client.get(`${base}/teachers/individual-availability`),
|
|
15
15
|
/** One teacher's Individual + Quiz session instances — the admin "teacher schedule" page's sessions tab. */
|
|
16
16
|
teacherSessions: (teacherId) => this.#client.get(`${base}/teachers/${teacherId}/sessions`),
|
|
17
|
+
/** Courses this teacher is assigned to teach — the admin "teacher schedule" page's per-course subtabs. */
|
|
18
|
+
teacherCourses: (teacherId) => this.#client.get(`${base}/teachers/${teacherId}/courses`),
|
|
17
19
|
/** All sessions for one course_date, any teacher. */
|
|
18
20
|
courseDateSessions: (courseDateId) => this.#client.get(`${base}/course-dates/${courseDateId}/sessions`),
|
|
19
21
|
/** Mark a student's attendance on any teacher's session. */
|