@supernova-studio/client 0.55.9 → 0.55.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.mjs CHANGED
@@ -4336,6 +4336,7 @@ var DesignSystemInviteEmailRecipient = z155.object({
4336
4336
  role: WorkspaceRoleSchema
4337
4337
  });
4338
4338
  var DesignSystemInviteEmailData = z155.object({
4339
+ workspace: Workspace,
4339
4340
  designSystem: DesignSystem,
4340
4341
  invitedBy: User,
4341
4342
  documentationDomain: z155.string().optional()
@@ -5392,7 +5393,7 @@ var DTOWorkspaceIntegrationGetGitObjectsInput = z190.object({
5392
5393
  // src/api/dto/design-systems/version.ts
5393
5394
  var DTODesignSystemVersion = z191.object({
5394
5395
  id: z191.string(),
5395
- createdAt: z191.date(),
5396
+ createdAt: z191.coerce.date(),
5396
5397
  meta: ObjectMeta,
5397
5398
  version: z191.string(),
5398
5399
  isReadonly: z191.boolean(),
@@ -6513,13 +6514,25 @@ var DesignSystemMembersEndpoint = class {
6513
6514
  }
6514
6515
  };
6515
6516
 
6517
+ // src/api/endpoints/design-system-versions.ts
6518
+ var DesignSystemVersionsEndpoint = class {
6519
+ constructor(requestExecutor) {
6520
+ this.requestExecutor = requestExecutor;
6521
+ }
6522
+ list(dsId) {
6523
+ return this.requestExecutor.json(`/design-systems/${dsId}/versions`, DTODesignSystemVersionsListResponse);
6524
+ }
6525
+ };
6526
+
6516
6527
  // src/api/endpoints/design-systems.ts
6517
6528
  import { z as z233 } from "zod";
6518
6529
  var DesignSystemsEndpoint = class {
6519
6530
  constructor(requestExecutor) {
6520
6531
  this.requestExecutor = requestExecutor;
6521
6532
  __publicField(this, "members");
6533
+ __publicField(this, "versions");
6522
6534
  this.members = new DesignSystemMembersEndpoint(requestExecutor);
6535
+ this.versions = new DesignSystemVersionsEndpoint(requestExecutor);
6523
6536
  }
6524
6537
  create(body) {
6525
6538
  return this.requestExecutor.json("/design-systems", DTODesignSystemResponse, { method: "POST", body });
@@ -11854,6 +11867,7 @@ export {
11854
11867
  DTOWorkspaceResponse,
11855
11868
  DTOWorkspaceRole,
11856
11869
  DesignSystemMembersEndpoint,
11870
+ DesignSystemVersionsEndpoint,
11857
11871
  DesignSystemsEndpoint,
11858
11872
  DocumentationHierarchySettings,
11859
11873
  DocumentationPageEditorModel,