@supernova-studio/model 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 +16 -2
- package/dist/index.d.ts +16 -2
- package/dist/index.js +4 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +4 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -139013,6 +139013,7 @@ declare const WorkspaceMembership: z$1.ZodObject<{
|
|
|
139013
139013
|
};
|
|
139014
139014
|
}>;
|
|
139015
139015
|
isPrimaryOwner: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
|
|
139016
|
+
isDeactivated: z$1.ZodBoolean;
|
|
139016
139017
|
}, "strip", z$1.ZodTypeAny, {
|
|
139017
139018
|
id: string;
|
|
139018
139019
|
seatType: "Full" | "Builder" | "None";
|
|
@@ -139024,6 +139025,7 @@ declare const WorkspaceMembership: z$1.ZodObject<{
|
|
|
139024
139025
|
sendCommentNotificationEmails: boolean;
|
|
139025
139026
|
};
|
|
139026
139027
|
};
|
|
139028
|
+
isDeactivated: boolean;
|
|
139027
139029
|
isPrimaryOwner?: boolean | null | undefined;
|
|
139028
139030
|
}, {
|
|
139029
139031
|
id: string;
|
|
@@ -139036,11 +139038,13 @@ declare const WorkspaceMembership: z$1.ZodObject<{
|
|
|
139036
139038
|
sendCommentNotificationEmails: boolean;
|
|
139037
139039
|
};
|
|
139038
139040
|
};
|
|
139041
|
+
isDeactivated: boolean;
|
|
139039
139042
|
isPrimaryOwner?: boolean | null | undefined;
|
|
139040
139043
|
}>;
|
|
139041
139044
|
type WorkspaceMembership = z$1.infer<typeof WorkspaceMembership>;
|
|
139042
|
-
type CreateWorkspaceMembership = OmitStrict<DbCreateInputOmit<WorkspaceMembership>, "seatType"> & {
|
|
139045
|
+
type CreateWorkspaceMembership = OmitStrict<DbCreateInputOmit<WorkspaceMembership>, "seatType" | "isDeactivated"> & {
|
|
139043
139046
|
seatType?: WorkspaceSeatType;
|
|
139047
|
+
isDeactivated?: boolean;
|
|
139044
139048
|
};
|
|
139045
139049
|
type UpdateWorkspaceMembership = OmitStrict<DbUpdate<WorkspaceMembership>, "userId" | "workspaceId">;
|
|
139046
139050
|
declare const UpdateMembershipRolesInput: z$1.ZodObject<{
|
|
@@ -140911,12 +140915,14 @@ declare const DesignSystemMembership: z$1.ZodObject<{
|
|
|
140911
140915
|
designSystemRole: z$1.ZodOptional<z$1.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
140912
140916
|
workspaceMembershipId: z$1.ZodString;
|
|
140913
140917
|
workspaceRole: z$1.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
|
|
140918
|
+
isDeactivated: z$1.ZodBoolean;
|
|
140914
140919
|
}, "strip", z$1.ZodTypeAny, {
|
|
140915
140920
|
id: string;
|
|
140916
140921
|
userId: string;
|
|
140917
140922
|
designSystemId: string;
|
|
140918
140923
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
140919
140924
|
workspaceMembershipId: string;
|
|
140925
|
+
isDeactivated: boolean;
|
|
140920
140926
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
140921
140927
|
}, {
|
|
140922
140928
|
id: string;
|
|
@@ -140924,10 +140930,13 @@ declare const DesignSystemMembership: z$1.ZodObject<{
|
|
|
140924
140930
|
designSystemId: string;
|
|
140925
140931
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
140926
140932
|
workspaceMembershipId: string;
|
|
140933
|
+
isDeactivated: boolean;
|
|
140927
140934
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
140928
140935
|
}>;
|
|
140929
140936
|
type DesignSystemMembership = z$1.infer<typeof DesignSystemMembership>;
|
|
140930
|
-
type CreateDesignSystemMembership = DbCreateInputOmit<DesignSystemMembership
|
|
140937
|
+
type CreateDesignSystemMembership = OmitStrict<DbCreateInputOmit<DesignSystemMembership>, "isDeactivated"> & {
|
|
140938
|
+
isDeactivated?: boolean;
|
|
140939
|
+
};
|
|
140931
140940
|
type UpdateDesignSystemMembership = OmitStrict<DbUpdate<DesignSystemMembership>, "designSystemId" | "userId" | "workspaceMembershipId">;
|
|
140932
140941
|
declare const DesignSystemPendingMemberInvitation: z$1.ZodObject<{
|
|
140933
140942
|
inviteId: z$1.ZodString;
|
|
@@ -140951,12 +140960,14 @@ declare const DesignSystemMembers: z$1.ZodObject<{
|
|
|
140951
140960
|
designSystemRole: z$1.ZodOptional<z$1.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
140952
140961
|
workspaceMembershipId: z$1.ZodString;
|
|
140953
140962
|
workspaceRole: z$1.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
|
|
140963
|
+
isDeactivated: z$1.ZodBoolean;
|
|
140954
140964
|
}, "strip", z$1.ZodTypeAny, {
|
|
140955
140965
|
id: string;
|
|
140956
140966
|
userId: string;
|
|
140957
140967
|
designSystemId: string;
|
|
140958
140968
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
140959
140969
|
workspaceMembershipId: string;
|
|
140970
|
+
isDeactivated: boolean;
|
|
140960
140971
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
140961
140972
|
}, {
|
|
140962
140973
|
id: string;
|
|
@@ -140964,6 +140975,7 @@ declare const DesignSystemMembers: z$1.ZodObject<{
|
|
|
140964
140975
|
designSystemId: string;
|
|
140965
140976
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
140966
140977
|
workspaceMembershipId: string;
|
|
140978
|
+
isDeactivated: boolean;
|
|
140967
140979
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
140968
140980
|
}>, "many">;
|
|
140969
140981
|
invitations: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -140999,6 +141011,7 @@ declare const DesignSystemMembers: z$1.ZodObject<{
|
|
|
140999
141011
|
designSystemId: string;
|
|
141000
141012
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
141001
141013
|
workspaceMembershipId: string;
|
|
141014
|
+
isDeactivated: boolean;
|
|
141002
141015
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
141003
141016
|
}[];
|
|
141004
141017
|
}, {
|
|
@@ -141015,6 +141028,7 @@ declare const DesignSystemMembers: z$1.ZodObject<{
|
|
|
141015
141028
|
designSystemId: string;
|
|
141016
141029
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
141017
141030
|
workspaceMembershipId: string;
|
|
141031
|
+
isDeactivated: boolean;
|
|
141018
141032
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
141019
141033
|
}[];
|
|
141020
141034
|
}>;
|
package/dist/index.d.ts
CHANGED
|
@@ -139013,6 +139013,7 @@ declare const WorkspaceMembership: z$1.ZodObject<{
|
|
|
139013
139013
|
};
|
|
139014
139014
|
}>;
|
|
139015
139015
|
isPrimaryOwner: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodBoolean>>;
|
|
139016
|
+
isDeactivated: z$1.ZodBoolean;
|
|
139016
139017
|
}, "strip", z$1.ZodTypeAny, {
|
|
139017
139018
|
id: string;
|
|
139018
139019
|
seatType: "Full" | "Builder" | "None";
|
|
@@ -139024,6 +139025,7 @@ declare const WorkspaceMembership: z$1.ZodObject<{
|
|
|
139024
139025
|
sendCommentNotificationEmails: boolean;
|
|
139025
139026
|
};
|
|
139026
139027
|
};
|
|
139028
|
+
isDeactivated: boolean;
|
|
139027
139029
|
isPrimaryOwner?: boolean | null | undefined;
|
|
139028
139030
|
}, {
|
|
139029
139031
|
id: string;
|
|
@@ -139036,11 +139038,13 @@ declare const WorkspaceMembership: z$1.ZodObject<{
|
|
|
139036
139038
|
sendCommentNotificationEmails: boolean;
|
|
139037
139039
|
};
|
|
139038
139040
|
};
|
|
139041
|
+
isDeactivated: boolean;
|
|
139039
139042
|
isPrimaryOwner?: boolean | null | undefined;
|
|
139040
139043
|
}>;
|
|
139041
139044
|
type WorkspaceMembership = z$1.infer<typeof WorkspaceMembership>;
|
|
139042
|
-
type CreateWorkspaceMembership = OmitStrict<DbCreateInputOmit<WorkspaceMembership>, "seatType"> & {
|
|
139045
|
+
type CreateWorkspaceMembership = OmitStrict<DbCreateInputOmit<WorkspaceMembership>, "seatType" | "isDeactivated"> & {
|
|
139043
139046
|
seatType?: WorkspaceSeatType;
|
|
139047
|
+
isDeactivated?: boolean;
|
|
139044
139048
|
};
|
|
139045
139049
|
type UpdateWorkspaceMembership = OmitStrict<DbUpdate<WorkspaceMembership>, "userId" | "workspaceId">;
|
|
139046
139050
|
declare const UpdateMembershipRolesInput: z$1.ZodObject<{
|
|
@@ -140911,12 +140915,14 @@ declare const DesignSystemMembership: z$1.ZodObject<{
|
|
|
140911
140915
|
designSystemRole: z$1.ZodOptional<z$1.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
140912
140916
|
workspaceMembershipId: z$1.ZodString;
|
|
140913
140917
|
workspaceRole: z$1.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
|
|
140918
|
+
isDeactivated: z$1.ZodBoolean;
|
|
140914
140919
|
}, "strip", z$1.ZodTypeAny, {
|
|
140915
140920
|
id: string;
|
|
140916
140921
|
userId: string;
|
|
140917
140922
|
designSystemId: string;
|
|
140918
140923
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
140919
140924
|
workspaceMembershipId: string;
|
|
140925
|
+
isDeactivated: boolean;
|
|
140920
140926
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
140921
140927
|
}, {
|
|
140922
140928
|
id: string;
|
|
@@ -140924,10 +140930,13 @@ declare const DesignSystemMembership: z$1.ZodObject<{
|
|
|
140924
140930
|
designSystemId: string;
|
|
140925
140931
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
140926
140932
|
workspaceMembershipId: string;
|
|
140933
|
+
isDeactivated: boolean;
|
|
140927
140934
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
140928
140935
|
}>;
|
|
140929
140936
|
type DesignSystemMembership = z$1.infer<typeof DesignSystemMembership>;
|
|
140930
|
-
type CreateDesignSystemMembership = DbCreateInputOmit<DesignSystemMembership
|
|
140937
|
+
type CreateDesignSystemMembership = OmitStrict<DbCreateInputOmit<DesignSystemMembership>, "isDeactivated"> & {
|
|
140938
|
+
isDeactivated?: boolean;
|
|
140939
|
+
};
|
|
140931
140940
|
type UpdateDesignSystemMembership = OmitStrict<DbUpdate<DesignSystemMembership>, "designSystemId" | "userId" | "workspaceMembershipId">;
|
|
140932
140941
|
declare const DesignSystemPendingMemberInvitation: z$1.ZodObject<{
|
|
140933
140942
|
inviteId: z$1.ZodString;
|
|
@@ -140951,12 +140960,14 @@ declare const DesignSystemMembers: z$1.ZodObject<{
|
|
|
140951
140960
|
designSystemRole: z$1.ZodOptional<z$1.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
|
|
140952
140961
|
workspaceMembershipId: z$1.ZodString;
|
|
140953
140962
|
workspaceRole: z$1.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
|
|
140963
|
+
isDeactivated: z$1.ZodBoolean;
|
|
140954
140964
|
}, "strip", z$1.ZodTypeAny, {
|
|
140955
140965
|
id: string;
|
|
140956
140966
|
userId: string;
|
|
140957
140967
|
designSystemId: string;
|
|
140958
140968
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
140959
140969
|
workspaceMembershipId: string;
|
|
140970
|
+
isDeactivated: boolean;
|
|
140960
140971
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
140961
140972
|
}, {
|
|
140962
140973
|
id: string;
|
|
@@ -140964,6 +140975,7 @@ declare const DesignSystemMembers: z$1.ZodObject<{
|
|
|
140964
140975
|
designSystemId: string;
|
|
140965
140976
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
140966
140977
|
workspaceMembershipId: string;
|
|
140978
|
+
isDeactivated: boolean;
|
|
140967
140979
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
140968
140980
|
}>, "many">;
|
|
140969
140981
|
invitations: z$1.ZodArray<z$1.ZodObject<{
|
|
@@ -140999,6 +141011,7 @@ declare const DesignSystemMembers: z$1.ZodObject<{
|
|
|
140999
141011
|
designSystemId: string;
|
|
141000
141012
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
141001
141013
|
workspaceMembershipId: string;
|
|
141014
|
+
isDeactivated: boolean;
|
|
141002
141015
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
141003
141016
|
}[];
|
|
141004
141017
|
}, {
|
|
@@ -141015,6 +141028,7 @@ declare const DesignSystemMembers: z$1.ZodObject<{
|
|
|
141015
141028
|
designSystemId: string;
|
|
141016
141029
|
workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
141017
141030
|
workspaceMembershipId: string;
|
|
141031
|
+
isDeactivated: boolean;
|
|
141018
141032
|
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
141019
141033
|
}[];
|
|
141020
141034
|
}>;
|
package/dist/index.js
CHANGED
|
@@ -5568,7 +5568,8 @@ var WorkspaceMembership = _zod.z.object({
|
|
|
5568
5568
|
workspaceRole: _zod.z.nativeEnum(WorkspaceRole),
|
|
5569
5569
|
seatType: WorkspaceSeatType,
|
|
5570
5570
|
notificationSettings: UserNotificationSettings,
|
|
5571
|
-
isPrimaryOwner: _zod.z.boolean().nullish()
|
|
5571
|
+
isPrimaryOwner: _zod.z.boolean().nullish(),
|
|
5572
|
+
isDeactivated: _zod.z.boolean()
|
|
5572
5573
|
});
|
|
5573
5574
|
var UpdateMembershipRolesInput = _zod.z.object({
|
|
5574
5575
|
members: _zod.z.array(
|
|
@@ -5623,7 +5624,8 @@ var DesignSystemMembership = _zod.z.object({
|
|
|
5623
5624
|
designSystemId: _zod.z.string(),
|
|
5624
5625
|
designSystemRole: DesignSystemRole.optional(),
|
|
5625
5626
|
workspaceMembershipId: _zod.z.string(),
|
|
5626
|
-
workspaceRole: WorkspaceRoleSchema
|
|
5627
|
+
workspaceRole: WorkspaceRoleSchema,
|
|
5628
|
+
isDeactivated: _zod.z.boolean()
|
|
5627
5629
|
});
|
|
5628
5630
|
var DesignSystemMembers = _zod.z.object({
|
|
5629
5631
|
members: DesignSystemMembership.array(),
|