@supernova-studio/client 0.57.11 → 0.57.12

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())
@@ -7010,6 +7014,26 @@ var ElementPropertyDefinitionsEndpoint = class {
7010
7014
  }
7011
7015
  };
7012
7016
 
7017
+ // src/api/endpoints/design-system/versions/property-values.ts
7018
+ var ElementPropertyValuesEndpoint = class {
7019
+ constructor(requestExecutor) {
7020
+ this.requestExecutor = requestExecutor;
7021
+ }
7022
+ list(designSystemId, versionId) {
7023
+ return this.requestExecutor.json(
7024
+ `/design-systems/${designSystemId}/versions/${versionId}/element-properties/values`,
7025
+ DTOElementPropertyValueListResponse
7026
+ );
7027
+ }
7028
+ upsert(designSystemId, versionId, body) {
7029
+ return this.requestExecutor.json(
7030
+ `/design-systems/${designSystemId}/versions/${versionId}/element-properties/values`,
7031
+ DTOElementPropertyValueResponse,
7032
+ { method: "POST", body }
7033
+ );
7034
+ }
7035
+ };
7036
+
7013
7037
  // src/api/endpoints/design-system/versions/stats.ts
7014
7038
  var VersionStatsEndpoint = class {
7015
7039
  constructor(requestExecutor) {
@@ -7090,26 +7114,6 @@ var TokensEndpoint = class {
7090
7114
  }
7091
7115
  };
7092
7116
 
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
7117
  // src/api/endpoints/design-system/versions/versions.ts
7114
7118
  var DesignSystemVersionsEndpoint = class {
7115
7119
  constructor(requestExecutor) {
@@ -12621,6 +12625,7 @@ export {
12621
12625
  DocumentationPageEditorModel,
12622
12626
  DocumentationPageV1DTO,
12623
12627
  ElementPropertyDefinitionsEndpoint,
12628
+ ElementPropertyValuesEndpoint,
12624
12629
  ExportersEndpoint,
12625
12630
  FormattedCollections,
12626
12631
  FrontendVersionRoomYDoc,