@fusebase/fusebase-gate-sdk 2.3.27 → 2.3.28-sdk.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/dist/apis/FusebaseAuthApi.d.ts +2 -2
- package/dist/apis/FusebaseAuthApi.js +2 -2
- package/dist/types/fusebase-auth/fusebase-auth.d.ts +6 -0
- package/package.json +1 -1
- package/release-notes/2.3.28-sdk.1.md +9 -0
- package/release-notes/latest.md +3 -3
- package/release-notes/2.3.25.md +0 -50
- package/release-notes/2.3.27.md +0 -9
|
@@ -44,7 +44,7 @@ export declare class FusebaseAuthApi {
|
|
|
44
44
|
}): Promise<FusebaseAuthLogoutResponseContract>;
|
|
45
45
|
/**
|
|
46
46
|
* Register a Fusebase user and add org membership
|
|
47
|
-
* Protected AI App onboarding flow. Creates a Fusebase account through auth-form, then adds the newly created user to the path org with the requested role. Requires org.members.write and org access. This endpoint is for registration only; do not call it on login because that can overwrite or duplicate existing membership intent.
|
|
47
|
+
* Protected AI App onboarding flow. Creates a Fusebase account through auth-form, then adds the newly created user to the path org with the requested role. Requires org.members.write and org access. This endpoint is for registration only; do not call it on login because that can overwrite or duplicate existing membership intent. For trusted AI App signup flows, send `autoConfirmEmail=true` to create the account with the email already confirmed and skip the auth-form confirmation message.
|
|
48
48
|
*/
|
|
49
49
|
registerFusebaseOrgMember(params: {
|
|
50
50
|
path: {
|
|
@@ -55,7 +55,7 @@ export declare class FusebaseAuthApi {
|
|
|
55
55
|
}): Promise<FusebaseAuthRegisterMemberResponseContract>;
|
|
56
56
|
/**
|
|
57
57
|
* Register a Fusebase user
|
|
58
|
-
* Visitor-safe email/password Fusebase registration proxy for AI App auth. Forwards to auth-form `/auth/api/register` server-side and returns the Fusebase sessionId for the app backend to set as its own cookie. Does not add org membership.
|
|
58
|
+
* Visitor-safe email/password Fusebase registration proxy for AI App auth. Forwards to auth-form `/auth/api/register` server-side and returns the Fusebase sessionId for the app backend to set as its own cookie. Does not add org membership. For trusted AI App signup flows, send `autoConfirmEmail=true` to create the account with the email already confirmed and skip the auth-form confirmation message.
|
|
59
59
|
*/
|
|
60
60
|
registerFusebaseUser(params: {
|
|
61
61
|
headers?: Record<string, string>;
|
|
@@ -68,7 +68,7 @@ class FusebaseAuthApi {
|
|
|
68
68
|
}
|
|
69
69
|
/**
|
|
70
70
|
* Register a Fusebase user and add org membership
|
|
71
|
-
* Protected AI App onboarding flow. Creates a Fusebase account through auth-form, then adds the newly created user to the path org with the requested role. Requires org.members.write and org access. This endpoint is for registration only; do not call it on login because that can overwrite or duplicate existing membership intent.
|
|
71
|
+
* Protected AI App onboarding flow. Creates a Fusebase account through auth-form, then adds the newly created user to the path org with the requested role. Requires org.members.write and org access. This endpoint is for registration only; do not call it on login because that can overwrite or duplicate existing membership intent. For trusted AI App signup flows, send `autoConfirmEmail=true` to create the account with the email already confirmed and skip the auth-form confirmation message.
|
|
72
72
|
*/
|
|
73
73
|
async registerFusebaseOrgMember(params) {
|
|
74
74
|
return this.client.request({
|
|
@@ -83,7 +83,7 @@ class FusebaseAuthApi {
|
|
|
83
83
|
}
|
|
84
84
|
/**
|
|
85
85
|
* Register a Fusebase user
|
|
86
|
-
* Visitor-safe email/password Fusebase registration proxy for AI App auth. Forwards to auth-form `/auth/api/register` server-side and returns the Fusebase sessionId for the app backend to set as its own cookie. Does not add org membership.
|
|
86
|
+
* Visitor-safe email/password Fusebase registration proxy for AI App auth. Forwards to auth-form `/auth/api/register` server-side and returns the Fusebase sessionId for the app backend to set as its own cookie. Does not add org membership. For trusted AI App signup flows, send `autoConfirmEmail=true` to create the account with the email already confirmed and skip the auth-form confirmation message.
|
|
87
87
|
*/
|
|
88
88
|
async registerFusebaseUser(params) {
|
|
89
89
|
return this.client.request({
|
|
@@ -22,6 +22,12 @@ export interface FusebaseAuthRegisterRequestContract {
|
|
|
22
22
|
subscribe?: boolean;
|
|
23
23
|
redirectPath?: string | null;
|
|
24
24
|
tags?: string[];
|
|
25
|
+
/**
|
|
26
|
+
* When true, create the Fusebase account with its email already confirmed and
|
|
27
|
+
* suppress the auth-form email-confirmation message. Intended for trusted AI
|
|
28
|
+
* App registration flows where the app owns onboarding.
|
|
29
|
+
*/
|
|
30
|
+
autoConfirmEmail?: boolean;
|
|
25
31
|
}
|
|
26
32
|
export interface FusebaseAuthRegisterResponseContract {
|
|
27
33
|
status: "authenticated" | "challenge_required";
|
package/package.json
CHANGED
package/release-notes/latest.md
CHANGED
package/release-notes/2.3.25.md
DELETED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
# Release Notes 2.3.25
|
|
2
|
-
|
|
3
|
-
- Current ref: `HEAD`
|
|
4
|
-
- Previous tag: `v2.3.25`
|
|
5
|
-
- Generated at: 2026-07-03T08:55:16.214Z
|
|
6
|
-
|
|
7
|
-
## Included Drafts
|
|
8
|
-
|
|
9
|
-
- `docs/release-notes/2026-07-02-member-removal-client-deletion.md` - Member removal and client deletion scheduling
|
|
10
|
-
|
|
11
|
-
## Summary
|
|
12
|
-
|
|
13
|
-
### Member removal and client deletion scheduling
|
|
14
|
-
|
|
15
|
-
Gate now exposes member-removal operations for organization, workspace, and portal membership using app-visible user/workspace ids, plus delayed Client account deletion scheduling.
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## API / SDK Changes
|
|
19
|
-
|
|
20
|
-
### Member removal and client deletion scheduling
|
|
21
|
-
|
|
22
|
-
- Added `removeOrgMember`.
|
|
23
|
-
- Added `removeWorkspaceMember`.
|
|
24
|
-
- Added `removePortalMember`.
|
|
25
|
-
- Added `scheduleClientAccountDeletion`, which schedules delayed deletion only for Client-role org members.
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
## Consumer Impact
|
|
29
|
-
|
|
30
|
-
### Member removal and client deletion scheduling
|
|
31
|
-
|
|
32
|
-
Consumers can remove org members by numeric `userId`, remove workspace/portal members by `workspaceId` plus numeric `userId`, and schedule Client account deletion by numeric user id in the org context. Gate resolves internal membership ids before calling org-service.
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
## Verification
|
|
36
|
-
|
|
37
|
-
### Member removal and client deletion scheduling
|
|
38
|
-
|
|
39
|
-
- `npm test -- --runTestsByPath tests/unit/org-users-controller.test.ts`
|
|
40
|
-
- `npm run build:sdk`
|
|
41
|
-
- `npm run build`
|
|
42
|
-
- `npm run mcp:skills:generate`
|
|
43
|
-
- `npm run mcp:skills:validate`
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
## Follow-ups
|
|
47
|
-
|
|
48
|
-
### Member removal and client deletion scheduling
|
|
49
|
-
|
|
50
|
-
- None.
|