@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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@insignia-education/api-sdk-js",
3
- "version": "0.15.33",
3
+ "version": "0.15.34",
4
4
  "description": "JavaScript SDK for the Insignia Education API",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -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