@fusebase/fusebase-gate-sdk 2.2.2-sdk.6 → 2.2.2-sdk.8

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.
@@ -23,7 +23,7 @@ export declare class NotesApi {
23
23
  }): Promise<CreateWorkspaceNoteResponseContract>;
24
24
  /**
25
25
  * Create workspace note folder
26
- * Creates a folder in the requested workspace. When parentId is omitted, gate uses `root`.
26
+ * Creates a folder in the requested workspace. When parentId is omitted, gate uses `default`.
27
27
  */
28
28
  createWorkspaceNoteFolder(params: {
29
29
  path: {
@@ -58,7 +58,7 @@ export declare class NotesApi {
58
58
  }): Promise<WorkspaceNoteFolderListResponseContract>;
59
59
  /**
60
60
  * List workspace notes
61
- * Returns non-portal notes for the requested workspace and parent folder. When parentId is omitted, gate defaults to the workspace root folder id `root`.
61
+ * Returns non-portal notes for the requested workspace and parent folder. When parentId is omitted, gate defaults to the workspace default folder id `default`.
62
62
  */
63
63
  listWorkspaceNotes(params: {
64
64
  path: {
@@ -28,7 +28,7 @@ class NotesApi {
28
28
  }
29
29
  /**
30
30
  * Create workspace note folder
31
- * Creates a folder in the requested workspace. When parentId is omitted, gate uses `root`.
31
+ * Creates a folder in the requested workspace. When parentId is omitted, gate uses `default`.
32
32
  */
33
33
  async createWorkspaceNoteFolder(params) {
34
34
  return this.client.request({
@@ -71,7 +71,7 @@ class NotesApi {
71
71
  }
72
72
  /**
73
73
  * List workspace notes
74
- * Returns non-portal notes for the requested workspace and parent folder. When parentId is omitted, gate defaults to the workspace root folder id `root`.
74
+ * Returns non-portal notes for the requested workspace and parent folder. When parentId is omitted, gate defaults to the workspace default folder id `default`.
75
75
  */
76
76
  async listWorkspaceNotes(params) {
77
77
  return this.client.request({
@@ -11,7 +11,7 @@ export declare class OrgUsersApi {
11
11
  constructor(client: Client);
12
12
  /**
13
13
  * Add user to organization
14
- * Invites a user into the organization. Without workspaceId it performs an org invite. With workspaceId it performs a workspace-aware invite and can resolve `default` to the organization's default workspace. Requires org.members.write and org access.
14
+ * Invites a user into the organization. Without workspaceId it performs an org invite. With workspaceId it performs a workspace-aware invite and can resolve `default` to the organization's default workspace. For org-only instant client onboarding, send orgRole=`client` with autoConfirmClientInvite=`true`. A successful write does not prove that the current session already has org access; confirm access with getMyOrgAccess. Requires org.members.write and org access.
15
15
  */
16
16
  addOrgUser(params: {
17
17
  path: {
@@ -13,7 +13,7 @@ class OrgUsersApi {
13
13
  }
14
14
  /**
15
15
  * Add user to organization
16
- * Invites a user into the organization. Without workspaceId it performs an org invite. With workspaceId it performs a workspace-aware invite and can resolve `default` to the organization's default workspace. Requires org.members.write and org access.
16
+ * Invites a user into the organization. Without workspaceId it performs an org invite. With workspaceId it performs a workspace-aware invite and can resolve `default` to the organization's default workspace. For org-only instant client onboarding, send orgRole=`client` with autoConfirmClientInvite=`true`. A successful write does not prove that the current session already has org access; confirm access with getMyOrgAccess. Requires org.members.write and org access.
17
17
  */
18
18
  async addOrgUser(params) {
19
19
  return this.client.request({
@@ -21,14 +21,14 @@ export type WorkspaceNoteParentIdInQueryOptional = string | null;
21
21
  export type WorkspaceNoteContentFormatContract = "text" | "html";
22
22
  export interface WorkspaceNoteListQueryContract {
23
23
  /**
24
- * Folder global id to list notes from. When omitted, gate defaults to `root`.
24
+ * Folder global id to list notes from. When omitted, gate defaults to `default`.
25
25
  */
26
26
  parentId?: WorkspaceNoteParentIdInQueryOptional;
27
27
  }
28
28
  export interface CreateWorkspaceNoteFolderRequestContract {
29
29
  title: string;
30
30
  /**
31
- * Parent folder global id. Defaults to `root`.
31
+ * Parent folder global id. Defaults to `default`.
32
32
  */
33
33
  parentId?: string | null;
34
34
  }
@@ -43,6 +43,11 @@ export interface OrgUserAddRequestContract {
43
43
  * Without `workspaceId`, this remains an org invite email hint only.
44
44
  */
45
45
  portalUrl?: string;
46
+ /**
47
+ * Org-only shortcut for instant client onboarding without invite
48
+ * confirmation. Valid only when `orgRole` is `client` and `workspaceId`
49
+ * is omitted.
50
+ */
46
51
  autoConfirmClientInvite?: boolean;
47
52
  }
48
53
  export interface OrgInviteContract {
@@ -122,6 +127,8 @@ export interface OrgUserAddResponseContract {
122
127
  /**
123
128
  * org-service returns `invite` or `member` for org invites, and
124
129
  * `invite`, `member`, or `link` for workspace-aware invites.
130
+ * `invite` means an invite exists; it is not proof that org access is
131
+ * already active for the current session.
125
132
  */
126
133
  result: "invite" | "member" | "link";
127
134
  orgInvite?: OrgInviteContract;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.2-sdk.6",
3
+ "version": "2.2.2-sdk.8",
4
4
  "description": "TypeScript SDK for Fusebase Gate APIs - Generated from contract introspection",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
@@ -0,0 +1,9 @@
1
+ # Release Notes 2.2.2-sdk.8
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.2-sdk.8`
5
+ - Generated at: 2026-03-31T12:42:07.341Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,8 +1,8 @@
1
- # Release Notes 2.2.2-sdk.6
1
+ # Release Notes 2.2.2-sdk.8
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.2-sdk.6`
5
- - Generated at: 2026-03-31T12:04:02.391Z
4
+ - Previous tag: `v2.2.2-sdk.8`
5
+ - Generated at: 2026-03-31T12:42:07.341Z
6
6
 
7
7
  ## Included Drafts
8
8
 
@@ -1,9 +0,0 @@
1
- # Release Notes 2.2.2-sdk.6
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.2.2-sdk.6`
5
- - Generated at: 2026-03-31T12:04:02.391Z
6
-
7
- ## Included Drafts
8
-
9
- - None