@supernova-studio/client 1.42.9 → 1.43.0

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.mjs CHANGED
@@ -7188,9 +7188,21 @@ var DTOIntegrationsGetListResponse = z240.object({
7188
7188
 
7189
7189
  // src/api/dto/workspaces/invitations.ts
7190
7190
  import { z as z241 } from "zod";
7191
+ var DTOWorkspaceInvitation = z241.object({
7192
+ id: z241.string(),
7193
+ email: z241.string().email(),
7194
+ createdAt: z241.coerce.date(),
7195
+ resentAt: z241.coerce.date().nullish(),
7196
+ role: DTOWorkspaceRole,
7197
+ seatType: DTOWorkspaceSeatType,
7198
+ workspaceId: z241.string(),
7199
+ invitedBy: z241.string(),
7200
+ effectiveRole: DTOWorkspaceRole,
7201
+ effectiveSeatType: DTOWorkspaceSeatType
7202
+ });
7191
7203
  var DTOWorkspaceInvitationInput = z241.object({
7192
7204
  email: z241.string().email(),
7193
- role: WorkspaceRoleSchema,
7205
+ role: DTOWorkspaceRole,
7194
7206
  seatType: DTOWorkspaceSeatType.optional()
7195
7207
  });
7196
7208
  var DTOWorkspaceInvitationsListInput = z241.object({
@@ -7198,14 +7210,14 @@ var DTOWorkspaceInvitationsListInput = z241.object({
7198
7210
  designSystemId: z241.string().optional()
7199
7211
  });
7200
7212
  var DTOWorkspaceInvitationsResponse = z241.object({
7201
- invitations: WorkspaceInvitation.array()
7213
+ invitations: DTOWorkspaceInvitation.array()
7202
7214
  });
7203
7215
  var DTOWorkspaceInviteUpdate = z241.object({
7204
- role: WorkspaceRoleSchema,
7216
+ role: DTOWorkspaceRole,
7205
7217
  seatType: DTOWorkspaceSeatType.optional()
7206
7218
  });
7207
7219
  var DTOWorkspaceInvitationUpdateResponse = z241.object({
7208
- invitation: WorkspaceInvitation
7220
+ invitation: DTOWorkspaceInvitation
7209
7221
  });
7210
7222
 
7211
7223
  // src/api/dto/workspaces/membership.ts
@@ -10280,7 +10292,8 @@ var DTOForgeProject = z328.object({
10280
10292
  description: z328.string().optional()
10281
10293
  }),
10282
10294
  /** @deprecated prefer fetching from project contexts endpoint separately */
10283
- context: DTOForgeProjectContextV2
10295
+ context: DTOForgeProjectContextV2,
10296
+ numberOfFeatures: z328.number().int().nonnegative()
10284
10297
  });
10285
10298
  var DTOForgeProjectCreate = DTOForgeProject.pick({
10286
10299
  name: true,
@@ -19658,6 +19671,7 @@ export {
19658
19671
  DTOWorkspaceIntegrationGetGitObjectsInput,
19659
19672
  DTOWorkspaceIntegrationOauthInput,
19660
19673
  DTOWorkspaceIntegrationPATInput,
19674
+ DTOWorkspaceInvitation,
19661
19675
  DTOWorkspaceInvitationInput,
19662
19676
  DTOWorkspaceInvitationUpdateResponse,
19663
19677
  DTOWorkspaceInvitationsListInput,