@supernova-studio/client 1.48.9 → 1.48.11
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/index.d.mts +80 -3
- package/dist/index.d.ts +80 -3
- package/dist/index.js +21 -15
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -15
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -4883,7 +4883,8 @@ var WorkspaceMembership = z163.object({
|
|
|
4883
4883
|
workspaceRole: z163.nativeEnum(WorkspaceRole),
|
|
4884
4884
|
seatType: WorkspaceSeatType,
|
|
4885
4885
|
notificationSettings: UserNotificationSettings,
|
|
4886
|
-
isPrimaryOwner: z163.boolean().nullish()
|
|
4886
|
+
isPrimaryOwner: z163.boolean().nullish(),
|
|
4887
|
+
isDeactivated: z163.boolean()
|
|
4887
4888
|
});
|
|
4888
4889
|
var UpdateMembershipRolesInput = z163.object({
|
|
4889
4890
|
members: z163.array(
|
|
@@ -4914,7 +4915,8 @@ var DesignSystemMembership = z166.object({
|
|
|
4914
4915
|
designSystemId: z166.string(),
|
|
4915
4916
|
designSystemRole: DesignSystemRole.optional(),
|
|
4916
4917
|
workspaceMembershipId: z166.string(),
|
|
4917
|
-
workspaceRole: WorkspaceRoleSchema
|
|
4918
|
+
workspaceRole: WorkspaceRoleSchema,
|
|
4919
|
+
isDeactivated: z166.boolean()
|
|
4918
4920
|
});
|
|
4919
4921
|
var DesignSystemMembers = z166.object({
|
|
4920
4922
|
members: DesignSystemMembership.array(),
|
|
@@ -6831,7 +6833,8 @@ var DTODesignSystemMember = z231.object({
|
|
|
6831
6833
|
* Role that the member has in the design system,
|
|
6832
6834
|
* undefined if set to inherit from workspace
|
|
6833
6835
|
*/
|
|
6834
|
-
designSystemRole: DTODesignSystemRole.optional()
|
|
6836
|
+
designSystemRole: DTODesignSystemRole.optional(),
|
|
6837
|
+
isDeactivated: z231.boolean()
|
|
6835
6838
|
});
|
|
6836
6839
|
var DTODesignSystemInvitation = z231.object({
|
|
6837
6840
|
id: z231.string(),
|
|
@@ -7423,18 +7426,20 @@ var DTOWorkspaceResponse = z247.object({
|
|
|
7423
7426
|
|
|
7424
7427
|
// src/api/dto/workspaces/membership.ts
|
|
7425
7428
|
var DTOUserWorkspaceMembership = z248.object({
|
|
7426
|
-
|
|
7429
|
+
/** Workspace the user is a member of */
|
|
7427
7430
|
workspace: DTOWorkspace,
|
|
7428
|
-
|
|
7431
|
+
/** Assigned and stored role the user has in the workspace */
|
|
7429
7432
|
role: DTOWorkspaceRole,
|
|
7430
|
-
|
|
7431
|
-
|
|
7432
|
-
|
|
7433
|
+
/** Role that determines actual permissions the user has in the workspace
|
|
7434
|
+
* E.g. this is different from the default role when editors are downgraded to viewers
|
|
7435
|
+
* when a workspace's subscription is downgraded to free tier
|
|
7436
|
+
*/
|
|
7433
7437
|
effectiveRole: DTOWorkspaceRole,
|
|
7434
|
-
|
|
7438
|
+
/** Assigned and stored seat type the user has in the workspace */
|
|
7435
7439
|
seatType: DTOWorkspaceSeatType,
|
|
7436
|
-
|
|
7437
|
-
effectiveSeatType: DTOWorkspaceSeatType
|
|
7440
|
+
/** Seat type that determines actual permissions the user has in the workspace. */
|
|
7441
|
+
effectiveSeatType: DTOWorkspaceSeatType,
|
|
7442
|
+
isDeactivated: z248.boolean()
|
|
7438
7443
|
});
|
|
7439
7444
|
var DTOWorkspaceMember = z248.object({
|
|
7440
7445
|
membershipId: z248.string(),
|
|
@@ -7442,7 +7447,8 @@ var DTOWorkspaceMember = z248.object({
|
|
|
7442
7447
|
role: DTOWorkspaceRole,
|
|
7443
7448
|
effectiveRole: DTOWorkspaceRole,
|
|
7444
7449
|
seatType: DTOWorkspaceSeatType,
|
|
7445
|
-
effectiveSeatType: DTOWorkspaceSeatType
|
|
7450
|
+
effectiveSeatType: DTOWorkspaceSeatType,
|
|
7451
|
+
isDeactivated: z248.boolean()
|
|
7446
7452
|
});
|
|
7447
7453
|
var DTOUserWorkspaceMembershipsResponse = z248.object({
|
|
7448
7454
|
membership: z248.array(DTOUserWorkspaceMembership)
|
|
@@ -10529,7 +10535,8 @@ import { z as z331 } from "zod";
|
|
|
10529
10535
|
var DTOForgeProjectMemberRole = ForgeProjectRole;
|
|
10530
10536
|
var DTOForgeProjectMember = ForgeProjectMembership.extend({
|
|
10531
10537
|
user: DTOUser,
|
|
10532
|
-
effectiveRole: DTOForgeProjectMemberRole
|
|
10538
|
+
effectiveRole: DTOForgeProjectMemberRole,
|
|
10539
|
+
isDeactivated: z331.boolean()
|
|
10533
10540
|
});
|
|
10534
10541
|
var DTOCreateForgeProjectMember = DTOForgeProjectMember.pick({
|
|
10535
10542
|
userId: true,
|
|
@@ -10712,8 +10719,7 @@ var DTOForgeChatThreadListResponse = z335.object({
|
|
|
10712
10719
|
});
|
|
10713
10720
|
var DTOForgeChatMessageCreateInput = z335.object({
|
|
10714
10721
|
payload: z335.string(),
|
|
10715
|
-
sender: DTOForgeChatMessageSender.optional()
|
|
10716
|
-
opikTraceId: z335.string().optional()
|
|
10722
|
+
sender: DTOForgeChatMessageSender.optional()
|
|
10717
10723
|
});
|
|
10718
10724
|
var DTOForgeChatMessageCreateResponse = z335.object({
|
|
10719
10725
|
message: DTOForgeChatMessage
|