@insignia-education/api-sdk-js 0.15.34 → 0.15.35
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 +2 -2
package/package.json
CHANGED
package/src/api/v1/Courses.js
CHANGED
|
@@ -40,8 +40,8 @@ export default class Courses {
|
|
|
40
40
|
createTelegramGroup: (id) => this.#client.post(`${base}/${id}/telegram-group`),
|
|
41
41
|
/** Re-copy this date's telegram_link/telegram_id onto every UserCourse assigned to it. */
|
|
42
42
|
syncTelegramToUsers: (id) => this.#client.post(`${base}/${id}/sync-user-courses`),
|
|
43
|
-
/**
|
|
44
|
-
|
|
43
|
+
/** Reconciles this date's sessions with its current teacher/config set: creates missing ones, reassigns the teacher on existing ones, deletes untouched ones that no longer match the schedule. Safe to re-run any time the config, date range or teacher changes. */
|
|
44
|
+
syncSessions: (id) => this.#client.post(`${base}/${id}/sync-sessions`),
|
|
45
45
|
/** Sessions already generated for this date. */
|
|
46
46
|
sessions: (id) => this.#client.get(`${base}/${id}/sessions`),
|
|
47
47
|
/** Create a Zoom meeting for one of this date's generated sessions. */
|