@insignia-education/api-sdk-js 0.15.79 → 0.15.80
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/Users.js +2 -1
package/package.json
CHANGED
package/src/api/v1/Users.js
CHANGED
|
@@ -212,12 +212,13 @@ export default class Users {
|
|
|
212
212
|
/** Sales-and-above: re-run the course/individual-session access reconciliation for this user on demand. */
|
|
213
213
|
syncAccess(userId) { return this.#client.post(`/users/${userId}/sync-access`); }
|
|
214
214
|
|
|
215
|
-
/**
|
|
215
|
+
/** Notifications are created by internal services, not over the API — `resend()` is the one exception (sales-and-above). */
|
|
216
216
|
notifications(userId) {
|
|
217
217
|
const base = `/users/${userId}/notifications`;
|
|
218
218
|
const client = this.#client;
|
|
219
219
|
return {
|
|
220
220
|
get: () => client.get(base),
|
|
221
|
+
resend: (id) => client.post(`${base}/${id}/resend`),
|
|
221
222
|
};
|
|
222
223
|
}
|
|
223
224
|
|