Skip to content

Regenerate SDK for multi-user orgs - #162

Merged
jfrench9 merged 1 commit into
mainfrom
feature/multi-user-orgs
Aug 3, 2026
Merged

Regenerate SDK for multi-user orgs#162
jfrench9 merged 1 commit into
mainfrom
feature/multi-user-orgs

Conversation

@jfrench9

@jfrench9 jfrench9 commented Aug 3, 2026

Copy link
Copy Markdown
Member

Regenerated against the merged API (robosystems #1023 + #1024).

New operations

  • Org invitations: create_org_invitation, list_org_invitations, revoke_org_invitation, resend_org_invitation, and the public get_invitation_preview
  • Graph membership: new api/graph_members/ module — list_graph_members, add_graph_member, update_graph_member_role, remove_graph_member — plus the GraphRole enum (viewer < member < admin) and GraphMemberResponseSource, which distinguishes an explicit grant from the implicit admin an org owner holds

Removed

  • invite_org_member and InviteMemberRequest — the endpoint was a 501 stub that created an unloggable user and squatted the email; the invitation flow replaces it. Nothing calls it today.

Changed shapes

  • RegisterRequest gains invite_token, so registration can join an existing org instead of minting a personal one
  • GraphSubscriptionResponse exposes user_id (the subscribing member — repository subscriptions are billed to the org but granted per user)
  • CancelSubscriptionRequest and UpgradeSubscriptionRequest accept user_id, letting an org owner or admin manage another member's subscription

Test plan

490 passed, 17 skipped; ruff lint + format and basedpyright clean. GraphQL schema snapshot unchanged.

Picks up org invitations, graph membership, and per-user repository
subscriptions from the API.

- new: create_org_invitation, list_org_invitations, revoke_org_invitation,
  resend_org_invitation, get_invitation_preview
- new: graph_members module (list, add, update role, remove) with the
  GraphRole enum
- removed: invite_org_member, whose endpoint was a 501 stub and is
  replaced by the invitation flow
- RegisterRequest gains invite_token; subscription responses expose the
  subscribing member, and cancel/plan-change accept a target user_id
@jfrench9
jfrench9 merged commit 3e3acf0 into main Aug 3, 2026
1 check passed
@jfrench9
jfrench9 deleted the feature/multi-user-orgs branch August 3, 2026 05:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant