@fusebase/fusebase-gate-sdk 2.2.2-sdk.32 → 2.2.2-sdk.34

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.
@@ -0,0 +1,199 @@
1
+ /**
2
+ * OrgGroups API
3
+ *
4
+ * Generated from contract introspection
5
+ * Domain: org-groups
6
+ */
7
+ import type { Client } from "../runtime/transport";
8
+ import type { AddGroupToWorkspaceRequestContract, AddMembersToOrgGroupRequestContract, AddMembersToOrgGroupResponseContract, DeleteOrgGroupResponseContract, DeleteWorkspaceGroupResponseContract, OrgGroupCreateRequestContract, OrgGroupIdInPathRequired, OrgGroupIncludeWorkspaceInQueryOptional, OrgGroupListResponseContract, OrgGroupMemberListResponseContract, OrgGroupResponseContract, OrgGroupUpdateRequestContract, OrgGroupUserIdInPathRequired, OrgGroupWorkspaceIdInPathRequired, orgIdInPathRequired, OrgWorkspaceGroupCountResponseContract, OrgWorkspaceGroupListResponseContract, OrgWorkspaceGroupResponseContract, OrgWorkspaceGroupsIncludeGroupsInQueryOptional, RemoveOrgGroupMemberResponseContract, UpdateWorkspaceGroupRequestContract } from "../types";
9
+ export declare class OrgGroupsApi {
10
+ private client;
11
+ constructor(client: Client);
12
+ /**
13
+ * Add group to workspace
14
+ * Assigns an organization group to a workspace with the requested role. The workspace must belong to orgId.
15
+ */
16
+ addGroupToWorkspace(params: {
17
+ path: {
18
+ orgId: orgIdInPathRequired;
19
+ workspaceId: OrgGroupWorkspaceIdInPathRequired;
20
+ };
21
+ headers?: Record<string, string>;
22
+ body: AddGroupToWorkspaceRequestContract;
23
+ }): Promise<OrgWorkspaceGroupResponseContract>;
24
+ /**
25
+ * Add members to organization group
26
+ * Adds one or more users to the specified organization group.
27
+ */
28
+ addMembersToOrgGroup(params: {
29
+ path: {
30
+ orgId: orgIdInPathRequired;
31
+ groupId: OrgGroupIdInPathRequired;
32
+ };
33
+ headers?: Record<string, string>;
34
+ body: AddMembersToOrgGroupRequestContract;
35
+ }): Promise<AddMembersToOrgGroupResponseContract>;
36
+ /**
37
+ * Count workspace groups
38
+ * Returns the number of group assignments for the requested workspace. The workspace must belong to orgId.
39
+ */
40
+ countWorkspaceGroups(params: {
41
+ path: {
42
+ orgId: orgIdInPathRequired;
43
+ workspaceId: OrgGroupWorkspaceIdInPathRequired;
44
+ };
45
+ headers?: Record<string, string>;
46
+ }): Promise<OrgWorkspaceGroupCountResponseContract>;
47
+ /**
48
+ * Create organization group
49
+ * Creates a group in the organization and can optionally assign it to workspace roles in the same request.
50
+ */
51
+ createOrgGroup(params: {
52
+ path: {
53
+ orgId: orgIdInPathRequired;
54
+ };
55
+ headers?: Record<string, string>;
56
+ body: OrgGroupCreateRequestContract;
57
+ }): Promise<OrgGroupResponseContract>;
58
+ /**
59
+ * Delete organization group
60
+ * Deletes the group from the organization and removes its workspace assignments.
61
+ */
62
+ deleteOrgGroup(params: {
63
+ path: {
64
+ orgId: orgIdInPathRequired;
65
+ groupId: OrgGroupIdInPathRequired;
66
+ };
67
+ headers?: Record<string, string>;
68
+ }): Promise<DeleteOrgGroupResponseContract>;
69
+ /**
70
+ * Delete workspace group assignment
71
+ * Removes a group from the requested workspace. The workspace must belong to orgId.
72
+ */
73
+ deleteWorkspaceGroup(params: {
74
+ path: {
75
+ orgId: orgIdInPathRequired;
76
+ workspaceId: OrgGroupWorkspaceIdInPathRequired;
77
+ groupId: OrgGroupIdInPathRequired;
78
+ };
79
+ headers?: Record<string, string>;
80
+ }): Promise<DeleteWorkspaceGroupResponseContract>;
81
+ /**
82
+ * Get organization group
83
+ * Returns one group in the organization by id.
84
+ */
85
+ getOrgGroup(params: {
86
+ path: {
87
+ orgId: orgIdInPathRequired;
88
+ groupId: OrgGroupIdInPathRequired;
89
+ };
90
+ headers?: Record<string, string>;
91
+ }): Promise<OrgGroupResponseContract>;
92
+ /**
93
+ * List organization group members
94
+ * Returns the current users assigned to the specified group.
95
+ */
96
+ listOrgGroupMembers(params: {
97
+ path: {
98
+ orgId: orgIdInPathRequired;
99
+ groupId: OrgGroupIdInPathRequired;
100
+ };
101
+ headers?: Record<string, string>;
102
+ }): Promise<OrgGroupMemberListResponseContract>;
103
+ /**
104
+ * List organization groups
105
+ * Returns groups in the organization with current member and workspace counts.
106
+ */
107
+ listOrgGroups(params: {
108
+ path: {
109
+ orgId: orgIdInPathRequired;
110
+ };
111
+ headers?: Record<string, string>;
112
+ }): Promise<OrgGroupListResponseContract>;
113
+ /**
114
+ * List organization group workspaces
115
+ * Returns workspace role assignments for a group. Set query.workspace=true to include workspace details when available from org-service.
116
+ */
117
+ listOrgGroupWorkspaces(params: {
118
+ path: {
119
+ orgId: orgIdInPathRequired;
120
+ groupId: OrgGroupIdInPathRequired;
121
+ };
122
+ query?: {
123
+ workspace?: OrgGroupIncludeWorkspaceInQueryOptional;
124
+ };
125
+ headers?: Record<string, string>;
126
+ }): Promise<OrgWorkspaceGroupListResponseContract>;
127
+ /**
128
+ * List organization workspace-group assignments
129
+ * Returns all current workspace-group assignments visible for the organization.
130
+ */
131
+ listOrgWorkspaceGroups(params: {
132
+ path: {
133
+ orgId: orgIdInPathRequired;
134
+ };
135
+ headers?: Record<string, string>;
136
+ }): Promise<OrgWorkspaceGroupListResponseContract>;
137
+ /**
138
+ * List user organization groups
139
+ * Returns groups that currently include the requested user inside the organization.
140
+ */
141
+ listUserOrgGroups(params: {
142
+ path: {
143
+ orgId: orgIdInPathRequired;
144
+ userId: OrgGroupUserIdInPathRequired;
145
+ };
146
+ headers?: Record<string, string>;
147
+ }): Promise<OrgGroupListResponseContract>;
148
+ /**
149
+ * List workspace groups
150
+ * Returns group-to-workspace assignments for the requested workspace. The workspace must belong to orgId.
151
+ */
152
+ listWorkspaceGroups(params: {
153
+ path: {
154
+ orgId: orgIdInPathRequired;
155
+ workspaceId: OrgGroupWorkspaceIdInPathRequired;
156
+ };
157
+ query?: {
158
+ groups?: OrgWorkspaceGroupsIncludeGroupsInQueryOptional;
159
+ };
160
+ headers?: Record<string, string>;
161
+ }): Promise<OrgWorkspaceGroupListResponseContract>;
162
+ /**
163
+ * Remove member from organization group
164
+ * Removes one user from the specified organization group.
165
+ */
166
+ removeOrgGroupMember(params: {
167
+ path: {
168
+ orgId: orgIdInPathRequired;
169
+ groupId: OrgGroupIdInPathRequired;
170
+ userId: OrgGroupUserIdInPathRequired;
171
+ };
172
+ headers?: Record<string, string>;
173
+ }): Promise<RemoveOrgGroupMemberResponseContract>;
174
+ /**
175
+ * Update organization group
176
+ * Updates group metadata and, when provided, replaces its workspace assignments.
177
+ */
178
+ updateOrgGroup(params: {
179
+ path: {
180
+ orgId: orgIdInPathRequired;
181
+ groupId: OrgGroupIdInPathRequired;
182
+ };
183
+ headers?: Record<string, string>;
184
+ body: OrgGroupUpdateRequestContract;
185
+ }): Promise<OrgGroupResponseContract>;
186
+ /**
187
+ * Update workspace group assignment
188
+ * Updates one group's role inside a workspace. The workspace must belong to orgId.
189
+ */
190
+ updateWorkspaceGroup(params: {
191
+ path: {
192
+ orgId: orgIdInPathRequired;
193
+ workspaceId: OrgGroupWorkspaceIdInPathRequired;
194
+ groupId: OrgGroupIdInPathRequired;
195
+ };
196
+ headers?: Record<string, string>;
197
+ body: UpdateWorkspaceGroupRequestContract;
198
+ }): Promise<OrgWorkspaceGroupResponseContract>;
199
+ }
@@ -0,0 +1,246 @@
1
+ "use strict";
2
+ /**
3
+ * OrgGroups API
4
+ *
5
+ * Generated from contract introspection
6
+ * Domain: org-groups
7
+ */
8
+ Object.defineProperty(exports, "__esModule", { value: true });
9
+ exports.OrgGroupsApi = void 0;
10
+ class OrgGroupsApi {
11
+ constructor(client) {
12
+ this.client = client;
13
+ }
14
+ /**
15
+ * Add group to workspace
16
+ * Assigns an organization group to a workspace with the requested role. The workspace must belong to orgId.
17
+ */
18
+ async addGroupToWorkspace(params) {
19
+ return this.client.request({
20
+ method: "POST",
21
+ path: "/:orgId/workspaces/:workspaceId/groups",
22
+ pathParams: params.path,
23
+ headers: params.headers,
24
+ body: params.body,
25
+ opId: "addGroupToWorkspace",
26
+ expectedContentType: "application/json",
27
+ });
28
+ }
29
+ /**
30
+ * Add members to organization group
31
+ * Adds one or more users to the specified organization group.
32
+ */
33
+ async addMembersToOrgGroup(params) {
34
+ return this.client.request({
35
+ method: "POST",
36
+ path: "/:orgId/groups/:groupId/members",
37
+ pathParams: params.path,
38
+ headers: params.headers,
39
+ body: params.body,
40
+ opId: "addMembersToOrgGroup",
41
+ expectedContentType: "application/json",
42
+ });
43
+ }
44
+ /**
45
+ * Count workspace groups
46
+ * Returns the number of group assignments for the requested workspace. The workspace must belong to orgId.
47
+ */
48
+ async countWorkspaceGroups(params) {
49
+ return this.client.request({
50
+ method: "GET",
51
+ path: "/:orgId/workspaces/:workspaceId/groups/count",
52
+ pathParams: params.path,
53
+ headers: params.headers,
54
+ opId: "countWorkspaceGroups",
55
+ expectedContentType: "application/json",
56
+ });
57
+ }
58
+ /**
59
+ * Create organization group
60
+ * Creates a group in the organization and can optionally assign it to workspace roles in the same request.
61
+ */
62
+ async createOrgGroup(params) {
63
+ return this.client.request({
64
+ method: "POST",
65
+ path: "/:orgId/groups",
66
+ pathParams: params.path,
67
+ headers: params.headers,
68
+ body: params.body,
69
+ opId: "createOrgGroup",
70
+ expectedContentType: "application/json",
71
+ });
72
+ }
73
+ /**
74
+ * Delete organization group
75
+ * Deletes the group from the organization and removes its workspace assignments.
76
+ */
77
+ async deleteOrgGroup(params) {
78
+ return this.client.request({
79
+ method: "DELETE",
80
+ path: "/:orgId/groups/:groupId",
81
+ pathParams: params.path,
82
+ headers: params.headers,
83
+ opId: "deleteOrgGroup",
84
+ expectedContentType: "application/json",
85
+ });
86
+ }
87
+ /**
88
+ * Delete workspace group assignment
89
+ * Removes a group from the requested workspace. The workspace must belong to orgId.
90
+ */
91
+ async deleteWorkspaceGroup(params) {
92
+ return this.client.request({
93
+ method: "DELETE",
94
+ path: "/:orgId/workspaces/:workspaceId/groups/:groupId",
95
+ pathParams: params.path,
96
+ headers: params.headers,
97
+ opId: "deleteWorkspaceGroup",
98
+ expectedContentType: "application/json",
99
+ });
100
+ }
101
+ /**
102
+ * Get organization group
103
+ * Returns one group in the organization by id.
104
+ */
105
+ async getOrgGroup(params) {
106
+ return this.client.request({
107
+ method: "GET",
108
+ path: "/:orgId/groups/:groupId",
109
+ pathParams: params.path,
110
+ headers: params.headers,
111
+ opId: "getOrgGroup",
112
+ expectedContentType: "application/json",
113
+ });
114
+ }
115
+ /**
116
+ * List organization group members
117
+ * Returns the current users assigned to the specified group.
118
+ */
119
+ async listOrgGroupMembers(params) {
120
+ return this.client.request({
121
+ method: "GET",
122
+ path: "/:orgId/groups/:groupId/members",
123
+ pathParams: params.path,
124
+ headers: params.headers,
125
+ opId: "listOrgGroupMembers",
126
+ expectedContentType: "application/json",
127
+ });
128
+ }
129
+ /**
130
+ * List organization groups
131
+ * Returns groups in the organization with current member and workspace counts.
132
+ */
133
+ async listOrgGroups(params) {
134
+ return this.client.request({
135
+ method: "GET",
136
+ path: "/:orgId/groups",
137
+ pathParams: params.path,
138
+ headers: params.headers,
139
+ opId: "listOrgGroups",
140
+ expectedContentType: "application/json",
141
+ });
142
+ }
143
+ /**
144
+ * List organization group workspaces
145
+ * Returns workspace role assignments for a group. Set query.workspace=true to include workspace details when available from org-service.
146
+ */
147
+ async listOrgGroupWorkspaces(params) {
148
+ return this.client.request({
149
+ method: "GET",
150
+ path: "/:orgId/groups/:groupId/workspaces",
151
+ pathParams: params.path,
152
+ query: params.query,
153
+ headers: params.headers,
154
+ opId: "listOrgGroupWorkspaces",
155
+ expectedContentType: "application/json",
156
+ });
157
+ }
158
+ /**
159
+ * List organization workspace-group assignments
160
+ * Returns all current workspace-group assignments visible for the organization.
161
+ */
162
+ async listOrgWorkspaceGroups(params) {
163
+ return this.client.request({
164
+ method: "GET",
165
+ path: "/:orgId/workspace-groups",
166
+ pathParams: params.path,
167
+ headers: params.headers,
168
+ opId: "listOrgWorkspaceGroups",
169
+ expectedContentType: "application/json",
170
+ });
171
+ }
172
+ /**
173
+ * List user organization groups
174
+ * Returns groups that currently include the requested user inside the organization.
175
+ */
176
+ async listUserOrgGroups(params) {
177
+ return this.client.request({
178
+ method: "GET",
179
+ path: "/:orgId/users/:userId/groups",
180
+ pathParams: params.path,
181
+ headers: params.headers,
182
+ opId: "listUserOrgGroups",
183
+ expectedContentType: "application/json",
184
+ });
185
+ }
186
+ /**
187
+ * List workspace groups
188
+ * Returns group-to-workspace assignments for the requested workspace. The workspace must belong to orgId.
189
+ */
190
+ async listWorkspaceGroups(params) {
191
+ return this.client.request({
192
+ method: "GET",
193
+ path: "/:orgId/workspaces/:workspaceId/groups",
194
+ pathParams: params.path,
195
+ query: params.query,
196
+ headers: params.headers,
197
+ opId: "listWorkspaceGroups",
198
+ expectedContentType: "application/json",
199
+ });
200
+ }
201
+ /**
202
+ * Remove member from organization group
203
+ * Removes one user from the specified organization group.
204
+ */
205
+ async removeOrgGroupMember(params) {
206
+ return this.client.request({
207
+ method: "DELETE",
208
+ path: "/:orgId/groups/:groupId/members/:userId",
209
+ pathParams: params.path,
210
+ headers: params.headers,
211
+ opId: "removeOrgGroupMember",
212
+ expectedContentType: "application/json",
213
+ });
214
+ }
215
+ /**
216
+ * Update organization group
217
+ * Updates group metadata and, when provided, replaces its workspace assignments.
218
+ */
219
+ async updateOrgGroup(params) {
220
+ return this.client.request({
221
+ method: "PUT",
222
+ path: "/:orgId/groups/:groupId",
223
+ pathParams: params.path,
224
+ headers: params.headers,
225
+ body: params.body,
226
+ opId: "updateOrgGroup",
227
+ expectedContentType: "application/json",
228
+ });
229
+ }
230
+ /**
231
+ * Update workspace group assignment
232
+ * Updates one group's role inside a workspace. The workspace must belong to orgId.
233
+ */
234
+ async updateWorkspaceGroup(params) {
235
+ return this.client.request({
236
+ method: "PUT",
237
+ path: "/:orgId/workspaces/:workspaceId/groups/:groupId",
238
+ pathParams: params.path,
239
+ headers: params.headers,
240
+ body: params.body,
241
+ opId: "updateWorkspaceGroup",
242
+ expectedContentType: "application/json",
243
+ });
244
+ }
245
+ }
246
+ exports.OrgGroupsApi = OrgGroupsApi;
package/dist/index.d.ts CHANGED
@@ -11,6 +11,7 @@ export { EmailsApi } from "./apis/EmailsApi";
11
11
  export { HealthApi } from "./apis/HealthApi";
12
12
  export { IsolatedStoresApi } from "./apis/IsolatedStoresApi";
13
13
  export { NotesApi } from "./apis/NotesApi";
14
+ export { OrgGroupsApi } from "./apis/OrgGroupsApi";
14
15
  export { OrgUsersApi } from "./apis/OrgUsersApi";
15
16
  export { PortalsApi } from "./apis/PortalsApi";
16
17
  export { SystemApi } from "./apis/SystemApi";
package/dist/index.js CHANGED
@@ -19,7 +19,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
19
19
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
20
20
  };
21
21
  Object.defineProperty(exports, "__esModule", { value: true });
22
- exports.WorkspacesApi = exports.TokensApi = exports.SystemApi = exports.PortalsApi = exports.OrgUsersApi = exports.NotesApi = exports.IsolatedStoresApi = exports.HealthApi = exports.EmailsApi = exports.BillingApi = exports.AccessApi = void 0;
22
+ exports.WorkspacesApi = exports.TokensApi = exports.SystemApi = exports.PortalsApi = exports.OrgUsersApi = exports.OrgGroupsApi = exports.NotesApi = exports.IsolatedStoresApi = exports.HealthApi = exports.EmailsApi = exports.BillingApi = exports.AccessApi = void 0;
23
23
  __exportStar(require("./runtime"), exports);
24
24
  __exportStar(require("./types"), exports);
25
25
  var AccessApi_1 = require("./apis/AccessApi");
@@ -34,6 +34,8 @@ var IsolatedStoresApi_1 = require("./apis/IsolatedStoresApi");
34
34
  Object.defineProperty(exports, "IsolatedStoresApi", { enumerable: true, get: function () { return IsolatedStoresApi_1.IsolatedStoresApi; } });
35
35
  var NotesApi_1 = require("./apis/NotesApi");
36
36
  Object.defineProperty(exports, "NotesApi", { enumerable: true, get: function () { return NotesApi_1.NotesApi; } });
37
+ var OrgGroupsApi_1 = require("./apis/OrgGroupsApi");
38
+ Object.defineProperty(exports, "OrgGroupsApi", { enumerable: true, get: function () { return OrgGroupsApi_1.OrgGroupsApi; } });
37
39
  var OrgUsersApi_1 = require("./apis/OrgUsersApi");
38
40
  Object.defineProperty(exports, "OrgUsersApi", { enumerable: true, get: function () { return OrgUsersApi_1.OrgUsersApi; } });
39
41
  var PortalsApi_1 = require("./apis/PortalsApi");
@@ -9,6 +9,7 @@ export * from "./billing/billing";
9
9
  export type { OrgEmailSendRequestContract, OrgEmailSendResponseContract } from "./email/email";
10
10
  export * from "./isolated-store/isolated-store";
11
11
  export * from "./note/note";
12
+ export * from "./org-group/org-group";
12
13
  export type { OrgInviteContract, OrgMagicLinkContract, OrgPortalContract, OrgPortalListResponseContract, OrgUserAddRequestContract, OrgUserAddResponseContract, OrgUserContract, OrgUserListResponseContract, OrgWorkspaceContract, OrgWorkspaceInviteContract, OrgWorkspaceListResponseContract, OrgWorkspaceMemberContract } from "./org-user/org-user";
13
14
  export * from "./shared/common";
14
15
  export * from "./shared/enums";
@@ -23,6 +23,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
23
23
  __exportStar(require("./billing/billing"), exports);
24
24
  __exportStar(require("./isolated-store/isolated-store"), exports);
25
25
  __exportStar(require("./note/note"), exports);
26
+ __exportStar(require("./org-group/org-group"), exports);
26
27
  __exportStar(require("./shared/common"), exports);
27
28
  __exportStar(require("./shared/enums"), exports);
28
29
  __exportStar(require("./system/system"), exports);
@@ -0,0 +1,128 @@
1
+ export type OrgGroupIdInPathRequired = string;
2
+ export type OrgGroupUserIdInPathRequired = number;
3
+ export type OrgGroupWorkspaceIdInPathRequired = string;
4
+ export type OrgGroupIncludeWorkspaceInQueryOptional = boolean | null;
5
+ export type OrgWorkspaceGroupsIncludeGroupsInQueryOptional = boolean | null;
6
+ export type OrgGroupWorkspaceAssignmentTypeContract = "full" | "partial";
7
+ export interface OrgGroupContract {
8
+ id: string;
9
+ orgId: string;
10
+ name: string;
11
+ description?: string | null;
12
+ userId?: number;
13
+ createdAt: number;
14
+ updatedAt: number;
15
+ memberCount?: number;
16
+ workspaceCount?: number;
17
+ }
18
+ export interface OrgGroupListResponseContract {
19
+ groups: OrgGroupContract[];
20
+ }
21
+ export interface OrgGroupResponseContract {
22
+ group: OrgGroupContract;
23
+ }
24
+ export interface OrgGroupMemberContract {
25
+ groupId: string;
26
+ orgId: string;
27
+ userId: number;
28
+ addedByUserId: number;
29
+ createdAt: number;
30
+ updatedAt: number;
31
+ }
32
+ export interface OrgGroupMemberListResponseContract {
33
+ members: OrgGroupMemberContract[];
34
+ }
35
+ export interface OrgGroupWorkspaceRoleContract {
36
+ workspaceId: string;
37
+ role: string;
38
+ }
39
+ export interface OrgGroupWorkspaceDetailsContract {
40
+ id?: string;
41
+ orgId?: string;
42
+ userId?: number;
43
+ createdAt?: number;
44
+ updatedAt?: number;
45
+ title?: string | null;
46
+ isDefault?: boolean;
47
+ defaultEncryptionKeyId?: string | null;
48
+ isNotesLimited?: boolean;
49
+ color?: string | null;
50
+ brandingProfileId?: string | null;
51
+ webClientBrandingProfileId?: string | null;
52
+ orgSubscriptionType?: string;
53
+ orgSubscriptionPrivileges?: string[];
54
+ }
55
+ export interface OrgWorkspaceGroupContract {
56
+ addedByUserId: number;
57
+ groupId: string;
58
+ createdAt: number;
59
+ updatedAt: number;
60
+ type: OrgGroupWorkspaceAssignmentTypeContract;
61
+ workspaceId: string;
62
+ role: string;
63
+ orgId: string;
64
+ workspace?: OrgGroupWorkspaceDetailsContract;
65
+ }
66
+ export interface OrgWorkspaceGroupListResponseContract {
67
+ workspaceGroups: OrgWorkspaceGroupContract[];
68
+ }
69
+ export interface OrgWorkspaceGroupCountResponseContract {
70
+ count: number;
71
+ }
72
+ export interface OrgGroupCreateRequestContract {
73
+ name: string;
74
+ description?: string | null;
75
+ workspaces?: OrgGroupWorkspaceRoleContract[] | null;
76
+ }
77
+ export interface OrgGroupUpdateRequestContract {
78
+ name?: string;
79
+ description?: string | null;
80
+ workspaces?: OrgGroupWorkspaceRoleContract[] | null;
81
+ }
82
+ export interface AddMembersToOrgGroupRequestContract {
83
+ userIds: number[];
84
+ }
85
+ export interface AddMembersToOrgGroupResponseContract {
86
+ members: OrgGroupMemberContract[];
87
+ }
88
+ export interface RemoveOrgGroupMemberResponseContract {
89
+ removed: boolean;
90
+ groupId: string;
91
+ userId: number;
92
+ }
93
+ export interface AddGroupToWorkspaceRequestContract {
94
+ groupId: string;
95
+ role: string;
96
+ type?: OrgGroupWorkspaceAssignmentTypeContract | null;
97
+ }
98
+ export interface UpdateWorkspaceGroupRequestContract {
99
+ role: string;
100
+ }
101
+ export interface OrgWorkspaceGroupResponseContract {
102
+ workspaceGroup: OrgWorkspaceGroupContract;
103
+ }
104
+ export interface DeleteOrgGroupResponseContract {
105
+ deleted: boolean;
106
+ groupId: string;
107
+ }
108
+ export interface DeleteWorkspaceGroupResponseContract {
109
+ deleted: boolean;
110
+ workspaceId: string;
111
+ groupId: string;
112
+ }
113
+ export interface OrgGroupWorkspacesQueryContract {
114
+ /**
115
+ * Include workspace details in each workspace-group record.
116
+ */
117
+ workspace?: OrgGroupIncludeWorkspaceInQueryOptional;
118
+ }
119
+ export interface WorkspaceGroupsQueryContract {
120
+ /**
121
+ * Forward the org-service `groups` flag for workspace group listings.
122
+ */
123
+ groups?: OrgWorkspaceGroupsIncludeGroupsInQueryOptional;
124
+ }
125
+ export declare const OrgGroupWorkspaceAssignmentTypeContract: {
126
+ readonly Full: "full";
127
+ readonly Partial: "partial";
128
+ };
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OrgGroupWorkspaceAssignmentTypeContract = void 0;
4
+ exports.OrgGroupWorkspaceAssignmentTypeContract = {
5
+ Full: "full",
6
+ Partial: "partial"
7
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fusebase/fusebase-gate-sdk",
3
- "version": "2.2.2-sdk.32",
3
+ "version": "2.2.2-sdk.34",
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.34
2
+
3
+ - Current ref: `HEAD`
4
+ - Previous tag: `v2.2.2-sdk.34`
5
+ - Generated at: 2026-04-08T11:54:01.164Z
6
+
7
+ ## Included Drafts
8
+
9
+ - None
@@ -1,8 +1,8 @@
1
- # Release Notes 2.2.2-sdk.32
1
+ # Release Notes 2.2.2-sdk.34
2
2
 
3
3
  - Current ref: `HEAD`
4
- - Previous tag: `v2.2.2-sdk.32`
5
- - Generated at: 2026-04-07T12:18:18.145Z
4
+ - Previous tag: `v2.2.2-sdk.34`
5
+ - Generated at: 2026-04-08T11:54:01.164Z
6
6
 
7
7
  ## Included Drafts
8
8
 
@@ -1,9 +0,0 @@
1
- # Release Notes 2.2.2-sdk.32
2
-
3
- - Current ref: `HEAD`
4
- - Previous tag: `v2.2.2-sdk.32`
5
- - Generated at: 2026-04-07T12:18:18.145Z
6
-
7
- ## Included Drafts
8
-
9
- - None