feat: add family account management API - #793
Conversation
Adds a new management.family module and family-related additions to management.user for the Descope family accounts feature: - New management.family module: create, update, delete, search, createDependent, deleteDependent, impersonateDependent, stopImpersonation - management.user.addFamilies / removeFamilies - familyAssociations option on user create/update/invite/patch/batch create (via UserOptions/PatchUserOptions/User) - familyIds/dependent search filters on user.search - README docs for the new family module Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
|
🐕 Review complete — View session on Shuni Portal 🐾 |
🐕 Suggested ReviewersThis PR adds a new family account management module with comprehensive API coverage. The review assignment prioritizes: (1) deep architectural expertise with the most experienced contributors, (2) specific file domain knowledge for new family.ts and family.test.ts modules, (3) breadth across core infrastructure files (index.ts, paths.ts, types.ts), and (4) user management expertise since the PR integrates family features into existing user operations. Selected reviewers collectively cover all changed file areas with strong institutional knowledge of the management module structure.
Suggested by Shuni based on git history and PR context. Names are not @-mentioned to avoid notifying anyone — request a review from whoever fits best. |
There was a problem hiding this comment.
🐕 Shuni Review
Adds a new management.family module (create/update/delete/search, dependent management, impersonation) plus addFamilies/removeFamilies and familyAssociations/search filters on management.user.
Actionable comments posted: 0
Merge risk: 🟢 Low: new module follows existing SDK conventions (paths, transformResponse, spread-based body construction) exactly, the new familyAssociations/familyIds/dependent fields are correctly threaded through create/update/invite/patch/createBatch/inviteBatch/search via the existing generic spread/helper logic, and tests cover each new endpoint and field consistently with existing patterns.
Declared coverage: FULL — 8/8 changed files reviewed.
|
🐕 Review complete — View session on Shuni Portal 🐾 |
Related Issues
N/A
Description
Adds a new
management.familymodule and family-related additions tomanagement.userfor the Descope family accounts feature:management.familymodule:create,update,delete,search,createDependent,deleteDependent,impersonateDependent,stopImpersonationmanagement.user.addFamilies/removeFamiliesfamilyAssociationsoption onuser.create/update/invite/patch/createBatch/inviteBatch(viaUserOptions/PatchUserOptions/User)familyIds/dependentsearch filters onuser.searchMust