@supernova-studio/client 1.9.5 → 1.9.7

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
@@ -6524,6 +6524,7 @@ var DTOFileUploadResponseItem = z212.object({
6524
6524
  url: z212.string(),
6525
6525
  size: z212.number()
6526
6526
  });
6527
+ var DTOFileResponseItem = DTOFileUploadResponseItem.omit({ pendingUpload: true });
6527
6528
  var DTOUploadUrlItem = z212.object({
6528
6529
  fileId: z212.string(),
6529
6530
  uploadUrl: z212.string()
@@ -6532,6 +6533,12 @@ var DTOFileUploadResponse = z212.object({
6532
6533
  files: z212.array(DTOFileUploadResponseItem),
6533
6534
  uploadUrls: z212.array(DTOUploadUrlItem)
6534
6535
  });
6536
+ var DTOFilesGetPayload = z212.object({
6537
+ persistentIds: z212.string().array().optional()
6538
+ });
6539
+ var DTOFilesResponse = z212.object({
6540
+ files: z212.array(DTOFileResponseItem)
6541
+ });
6535
6542
  var DTOFileUploadFinalizePayload = z212.object({
6536
6543
  fileIds: z212.array(z212.string())
6537
6544
  });
@@ -6926,6 +6933,9 @@ var DTOPageBlockColorV2 = PageBlockColorV2;
6926
6933
  var DTOPageBlockDefinition = PageBlockDefinition;
6927
6934
 
6928
6935
  // src/api/payloads/documentation/block-definitions.ts
6936
+ var DTOGetBlockDefinitionsQuery = z229.object({
6937
+ files: z229.coerce.boolean().optional()
6938
+ });
6929
6939
  var DTOGetBlockDefinitionsOutput = z229.object({
6930
6940
  definitions: z229.array(DTOPageBlockDefinition)
6931
6941
  });
@@ -9113,6 +9123,16 @@ var FilesEndpoint = class {
9113
9123
  }
9114
9124
  );
9115
9125
  }
9126
+ get(designSystemId, versionId, body) {
9127
+ return this.requestExecutor.json(
9128
+ `/design-systems/${designSystemId}/versions/${versionId}/files`,
9129
+ DTOFilesResponse,
9130
+ {
9131
+ method: "POST",
9132
+ body
9133
+ }
9134
+ );
9135
+ }
9116
9136
  };
9117
9137
 
9118
9138
  // src/api/endpoints/design-system/versions/import-jobs.ts
@@ -15692,15 +15712,19 @@ export {
15692
15712
  DTOFigmaNodeStructureListResponse,
15693
15713
  DTOFigmaNodeV2,
15694
15714
  DTOFigmaSourceUpdatePayload,
15715
+ DTOFileResponseItem,
15695
15716
  DTOFileUploadFinalizePayload,
15696
15717
  DTOFileUploadFinalizeResponse,
15697
15718
  DTOFileUploadItem,
15698
15719
  DTOFileUploadPayload,
15699
15720
  DTOFileUploadResponse,
15700
15721
  DTOFileUploadResponseItem,
15722
+ DTOFilesGetPayload,
15723
+ DTOFilesResponse,
15701
15724
  DTOFrameNodeStructure,
15702
15725
  DTOFrameNodeStructureListResponse,
15703
15726
  DTOGetBlockDefinitionsOutput,
15727
+ DTOGetBlockDefinitionsQuery,
15704
15728
  DTOGetDocumentationPageAnchorsResponse,
15705
15729
  DTOGitBranch,
15706
15730
  DTOGitOrganization,