@supernova-studio/client 0.55.20 → 0.55.22

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 CHANGED
@@ -7887,6 +7887,26 @@ declare const DTODesignSystemCreateInput: z.ZodObject<{
7887
7887
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
7888
7888
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
7889
7889
  }>, "many">>;
7890
+ usersToUpdate: z.ZodOptional<z.ZodArray<z.ZodObject<{
7891
+ userId: z.ZodString;
7892
+ designSystemRole: z.ZodNullable<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
7893
+ }, "strip", z.ZodTypeAny, {
7894
+ userId: string;
7895
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
7896
+ }, {
7897
+ userId: string;
7898
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
7899
+ }>, "many">>;
7900
+ invitesToUpdate: z.ZodOptional<z.ZodArray<z.ZodObject<{
7901
+ inviteId: z.ZodString;
7902
+ designSystemRole: z.ZodNullable<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
7903
+ }, "strip", z.ZodTypeAny, {
7904
+ inviteId: string;
7905
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
7906
+ }, {
7907
+ inviteId: string;
7908
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
7909
+ }>, "many">>;
7890
7910
  removeUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7891
7911
  deleteInvitationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7892
7912
  }, "usersToInvite" | "invitesToInvite" | "emailsToInvite">, "strip", z.ZodTypeAny, {
@@ -8174,6 +8194,26 @@ declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
8174
8194
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
8175
8195
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
8176
8196
  }>, "many">>;
8197
+ usersToUpdate: z.ZodOptional<z.ZodArray<z.ZodObject<{
8198
+ userId: z.ZodString;
8199
+ designSystemRole: z.ZodNullable<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
8200
+ }, "strip", z.ZodTypeAny, {
8201
+ userId: string;
8202
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8203
+ }, {
8204
+ userId: string;
8205
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8206
+ }>, "many">>;
8207
+ invitesToUpdate: z.ZodOptional<z.ZodArray<z.ZodObject<{
8208
+ inviteId: z.ZodString;
8209
+ designSystemRole: z.ZodNullable<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
8210
+ }, "strip", z.ZodTypeAny, {
8211
+ inviteId: string;
8212
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8213
+ }, {
8214
+ inviteId: string;
8215
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8216
+ }>, "many">>;
8177
8217
  removeUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8178
8218
  deleteInvitationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8179
8219
  }, "strip", z.ZodTypeAny, {
@@ -8190,6 +8230,14 @@ declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
8190
8230
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
8191
8231
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
8192
8232
  }[] | undefined;
8233
+ usersToUpdate?: {
8234
+ userId: string;
8235
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8236
+ }[] | undefined;
8237
+ invitesToUpdate?: {
8238
+ inviteId: string;
8239
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8240
+ }[] | undefined;
8193
8241
  removeUserIds?: string[] | undefined;
8194
8242
  deleteInvitationIds?: string[] | undefined;
8195
8243
  }, {
@@ -8206,6 +8254,14 @@ declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
8206
8254
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
8207
8255
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
8208
8256
  }[] | undefined;
8257
+ usersToUpdate?: {
8258
+ userId: string;
8259
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8260
+ }[] | undefined;
8261
+ invitesToUpdate?: {
8262
+ inviteId: string;
8263
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8264
+ }[] | undefined;
8209
8265
  removeUserIds?: string[] | undefined;
8210
8266
  deleteInvitationIds?: string[] | undefined;
8211
8267
  }>;
package/dist/index.d.ts CHANGED
@@ -7887,6 +7887,26 @@ declare const DTODesignSystemCreateInput: z.ZodObject<{
7887
7887
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
7888
7888
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
7889
7889
  }>, "many">>;
7890
+ usersToUpdate: z.ZodOptional<z.ZodArray<z.ZodObject<{
7891
+ userId: z.ZodString;
7892
+ designSystemRole: z.ZodNullable<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
7893
+ }, "strip", z.ZodTypeAny, {
7894
+ userId: string;
7895
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
7896
+ }, {
7897
+ userId: string;
7898
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
7899
+ }>, "many">>;
7900
+ invitesToUpdate: z.ZodOptional<z.ZodArray<z.ZodObject<{
7901
+ inviteId: z.ZodString;
7902
+ designSystemRole: z.ZodNullable<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
7903
+ }, "strip", z.ZodTypeAny, {
7904
+ inviteId: string;
7905
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
7906
+ }, {
7907
+ inviteId: string;
7908
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
7909
+ }>, "many">>;
7890
7910
  removeUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7891
7911
  deleteInvitationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
7892
7912
  }, "usersToInvite" | "invitesToInvite" | "emailsToInvite">, "strip", z.ZodTypeAny, {
@@ -8174,6 +8194,26 @@ declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
8174
8194
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
8175
8195
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
8176
8196
  }>, "many">>;
8197
+ usersToUpdate: z.ZodOptional<z.ZodArray<z.ZodObject<{
8198
+ userId: z.ZodString;
8199
+ designSystemRole: z.ZodNullable<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
8200
+ }, "strip", z.ZodTypeAny, {
8201
+ userId: string;
8202
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8203
+ }, {
8204
+ userId: string;
8205
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8206
+ }>, "many">>;
8207
+ invitesToUpdate: z.ZodOptional<z.ZodArray<z.ZodObject<{
8208
+ inviteId: z.ZodString;
8209
+ designSystemRole: z.ZodNullable<z.ZodEnum<["Admin", "Contributor", "Creator", "Viewer"]>>;
8210
+ }, "strip", z.ZodTypeAny, {
8211
+ inviteId: string;
8212
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8213
+ }, {
8214
+ inviteId: string;
8215
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8216
+ }>, "many">>;
8177
8217
  removeUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8178
8218
  deleteInvitationIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
8179
8219
  }, "strip", z.ZodTypeAny, {
@@ -8190,6 +8230,14 @@ declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
8190
8230
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
8191
8231
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
8192
8232
  }[] | undefined;
8233
+ usersToUpdate?: {
8234
+ userId: string;
8235
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8236
+ }[] | undefined;
8237
+ invitesToUpdate?: {
8238
+ inviteId: string;
8239
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8240
+ }[] | undefined;
8193
8241
  removeUserIds?: string[] | undefined;
8194
8242
  deleteInvitationIds?: string[] | undefined;
8195
8243
  }, {
@@ -8206,6 +8254,14 @@ declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
8206
8254
  workspaceRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
8207
8255
  designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
8208
8256
  }[] | undefined;
8257
+ usersToUpdate?: {
8258
+ userId: string;
8259
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8260
+ }[] | undefined;
8261
+ invitesToUpdate?: {
8262
+ inviteId: string;
8263
+ designSystemRole: "Admin" | "Creator" | "Viewer" | "Contributor" | null;
8264
+ }[] | undefined;
8209
8265
  removeUserIds?: string[] | undefined;
8210
8266
  deleteInvitationIds?: string[] | undefined;
8211
8267
  }>;
package/dist/index.js CHANGED
@@ -3621,10 +3621,20 @@ var DesignSystemInvite = _zod.z.object({
3621
3621
  */
3622
3622
  designSystemRole: DesignSystemRole.optional()
3623
3623
  });
3624
+ var DesignSystemMemberUpdate = _zod.z.object({
3625
+ userId: _zod.z.string(),
3626
+ designSystemRole: DesignSystemRole.nullable()
3627
+ });
3628
+ var DesignSystemInviteUpdate = _zod.z.object({
3629
+ inviteId: _zod.z.string(),
3630
+ designSystemRole: DesignSystemRole.nullable()
3631
+ });
3624
3632
  var DesignSystemMembershipUpdates = _zod.z.object({
3625
3633
  usersToInvite: DesignSystemUserInvitation.array().optional(),
3626
3634
  invitesToInvite: DesignSystemPendingMemberInvitation.array().optional(),
3627
3635
  emailsToInvite: DesignSystemInvite.array().optional(),
3636
+ usersToUpdate: DesignSystemMemberUpdate.array().optional(),
3637
+ invitesToUpdate: DesignSystemInviteUpdate.array().optional(),
3628
3638
  removeUserIds: _zod.z.string().array().optional(),
3629
3639
  deleteInvitationIds: _zod.z.string().array().optional()
3630
3640
  });