@insignia-education/api-sdk-js 0.15.33 → 0.15.34
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/Courses.js +4 -0
package/package.json
CHANGED
package/src/api/v1/Courses.js
CHANGED
|
@@ -42,6 +42,10 @@ export default class Courses {
|
|
|
42
42
|
syncTelegramToUsers: (id) => this.#client.post(`${base}/${id}/sync-user-courses`),
|
|
43
43
|
/** Bootstrap this date's recurring sessions (owned by its teacher) from the config set's weekly schedule. */
|
|
44
44
|
generateSessions: (id) => this.#client.post(`${base}/${id}/generate-sessions`),
|
|
45
|
+
/** Sessions already generated for this date. */
|
|
46
|
+
sessions: (id) => this.#client.get(`${base}/${id}/sessions`),
|
|
47
|
+
/** Create a Zoom meeting for one of this date's generated sessions. */
|
|
48
|
+
generateZoomMeeting: (id, sessionId) => this.#client.post(`${base}/${id}/sessions/${sessionId}/zoom-meeting`),
|
|
45
49
|
};
|
|
46
50
|
}
|
|
47
51
|
|