@insignia-education/api-sdk-js 0.15.0 → 0.15.1

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.0",
3
+ "version": "0.15.1",
4
4
  "description": "JavaScript SDK for the Insignia Education API",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -0,0 +1,9 @@
1
+ export default class UserSessionTypes {
2
+ #client;
3
+
4
+ constructor(client) {
5
+ this.#client = client;
6
+ }
7
+
8
+ get() { return this.#client.get('/user-session-types'); }
9
+ }
@@ -24,6 +24,7 @@ import ShortLinks from './ShortLinks.js';
24
24
  import Surveys from './Surveys.js';
25
25
  import Taxes from './Taxes.js';
26
26
  import Teacher from './Teacher.js';
27
+ import UserSessionTypes from './UserSessionTypes.js';
27
28
  import UserTypes from './UserTypes.js';
28
29
  import Users from './Users.js';
29
30
  import Zoom from './Zoom.js';
@@ -65,6 +66,7 @@ export default class InsigniaApiV1 extends InsigniaApi {
65
66
  this.surveys = new Surveys(this);
66
67
  this.taxes = new Taxes(this);
67
68
  this.teacher = new Teacher(this);
69
+ this.userSessionTypes = new UserSessionTypes(this);
68
70
  this.userTypes = new UserTypes(this);
69
71
  this.users = new Users(this);
70
72
  this.zoom = new Zoom(this);