@insignia-education/api-sdk-js 0.16.22 → 0.16.24

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.16.22",
3
+ "version": "0.16.24",
4
4
  "description": "JavaScript SDK for the Insignia Education API",
5
5
  "main": "index.js",
6
6
  "type": "module",
@@ -260,6 +260,9 @@ export default class Users {
260
260
  /** Admin-only: lifts a hard block. */
261
261
  unblock(userId) { return this.#client.post(`/users/${userId}/unblock`); }
262
262
 
263
+ /** Sellers+: merges fromUserId's data into toUserId, then hard-blocks and blacklists fromUserId. */
264
+ unify(fromUserId, toUserId) { return this.#client.post(`/users/${fromUserId}/unify`, { to_id: toUserId }); }
265
+
263
266
  /**
264
267
  * GDPR erasure request — self-service or sales-and-above. `data` is either
265
268
  * `{ password, captcha_token }` or `{ webauthn_credential }`, same step-up