@supernova-studio/client 0.57.11 → 0.57.13

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
@@ -4092,6 +4092,7 @@ var ExporterDestinationGithub = z144.object({
4092
4092
  // Location
4093
4093
  branch: z144.string(),
4094
4094
  relativePath: nullishToOptional(z144.string()),
4095
+ purgeDirectory: nullishToOptional(z144.boolean()),
4095
4096
  // Commit metadata
4096
4097
  commitAuthorName: nullishToOptional(z144.string()),
4097
4098
  commitAuthorEmail: nullishToOptional(z144.string()),
@@ -4111,6 +4112,7 @@ var ExporterDestinationAzure = z144.object({
4111
4112
  // Location
4112
4113
  branch: z144.string(),
4113
4114
  relativePath: nullishToOptional(z144.string()),
4115
+ purgeDirectory: nullishToOptional(z144.boolean()),
4114
4116
  // Maybe not needed
4115
4117
  url: nullishToOptional(z144.string()),
4116
4118
  // Legacy deprecated fields. Use `credentialId` instead
@@ -4127,6 +4129,7 @@ var ExporterDestinationGitlab = z144.object({
4127
4129
  // Location
4128
4130
  branch: z144.string(),
4129
4131
  relativePath: nullishToOptional(z144.string()),
4132
+ purgeDirectory: nullishToOptional(z144.boolean()),
4130
4133
  // Maybe not needed
4131
4134
  url: nullishToOptional(z144.string()),
4132
4135
  // Legacy deprecated fields. Use `credentialId` instead
@@ -4145,6 +4148,7 @@ var ExporterDestinationBitbucket = z144.object({
4145
4148
  // Location
4146
4149
  branch: z144.string(),
4147
4150
  relativePath: nullishToOptional(z144.string()),
4151
+ purgeDirectory: nullishToOptional(z144.boolean()),
4148
4152
  // Legacy deprecated fields. Use `credentialId` instead
4149
4153
  connectionId: nullishToOptional(z144.string()),
4150
4154
  userId: nullishToOptional(z144.number())
@@ -5823,9 +5827,10 @@ var DTONpmRegistryConfig = z203.object({
5823
5827
  });
5824
5828
 
5825
5829
  // src/api/dto/workspaces/workspace.ts
5830
+ var DTOWorkspaceProfile = WorkspaceProfile;
5826
5831
  var DTOWorkspace = z204.object({
5827
5832
  id: z204.string(),
5828
- profile: WorkspaceProfile,
5833
+ profile: DTOWorkspaceProfile,
5829
5834
  subscription: Subscription,
5830
5835
  npmRegistry: DTONpmRegistryConfig.optional()
5831
5836
  });
@@ -7010,6 +7015,26 @@ var ElementPropertyDefinitionsEndpoint = class {
7010
7015
  }
7011
7016
  };
7012
7017
 
7018
+ // src/api/endpoints/design-system/versions/property-values.ts
7019
+ var ElementPropertyValuesEndpoint = class {
7020
+ constructor(requestExecutor) {
7021
+ this.requestExecutor = requestExecutor;
7022
+ }
7023
+ list(designSystemId, versionId) {
7024
+ return this.requestExecutor.json(
7025
+ `/design-systems/${designSystemId}/versions/${versionId}/element-properties/values`,
7026
+ DTOElementPropertyValueListResponse
7027
+ );
7028
+ }
7029
+ upsert(designSystemId, versionId, body) {
7030
+ return this.requestExecutor.json(
7031
+ `/design-systems/${designSystemId}/versions/${versionId}/element-properties/values`,
7032
+ DTOElementPropertyValueResponse,
7033
+ { method: "POST", body }
7034
+ );
7035
+ }
7036
+ };
7037
+
7013
7038
  // src/api/endpoints/design-system/versions/stats.ts
7014
7039
  var VersionStatsEndpoint = class {
7015
7040
  constructor(requestExecutor) {
@@ -7090,26 +7115,6 @@ var TokensEndpoint = class {
7090
7115
  }
7091
7116
  };
7092
7117
 
7093
- // src/api/endpoints/design-system/versions/property-values.ts
7094
- var ElementPropertyValuesEndpoint = class {
7095
- constructor(requestExecutor) {
7096
- this.requestExecutor = requestExecutor;
7097
- }
7098
- list(designSystemId, versionId) {
7099
- return this.requestExecutor.json(
7100
- `/design-systems/${designSystemId}/versions/${versionId}/element-properties/values`,
7101
- DTOElementPropertyValueListResponse
7102
- );
7103
- }
7104
- upsert(designSystemId, versionId, body) {
7105
- return this.requestExecutor.json(
7106
- `/design-systems/${designSystemId}/versions/${versionId}/element-properties/values`,
7107
- DTOElementPropertyValueResponse,
7108
- { method: "POST", body }
7109
- );
7110
- }
7111
- };
7112
-
7113
7118
  // src/api/endpoints/design-system/versions/versions.ts
7114
7119
  var DesignSystemVersionsEndpoint = class {
7115
7120
  constructor(requestExecutor) {
@@ -12609,6 +12614,7 @@ export {
12609
12614
  DTOWorkspaceInviteUpdate,
12610
12615
  DTOWorkspaceMember,
12611
12616
  DTOWorkspaceMembersListResponse,
12617
+ DTOWorkspaceProfile,
12612
12618
  DTOWorkspaceResponse,
12613
12619
  DTOWorkspaceRole,
12614
12620
  DesignSystemBffEndpoint,
@@ -12621,6 +12627,7 @@ export {
12621
12627
  DocumentationPageEditorModel,
12622
12628
  DocumentationPageV1DTO,
12623
12629
  ElementPropertyDefinitionsEndpoint,
12630
+ ElementPropertyValuesEndpoint,
12624
12631
  ExportersEndpoint,
12625
12632
  FormattedCollections,
12626
12633
  FrontendVersionRoomYDoc,