@supernova-studio/client 1.31.6 → 1.32.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
@@ -4443,7 +4443,10 @@ var Workspace = z134.object({
4443
4443
  subscription: Subscription,
4444
4444
  ipWhitelist: nullishToOptional(WorkspaceIpSettings),
4445
4445
  sso: nullishToOptional(SsoProvider),
4446
- npmRegistrySettings: nullishToOptional(NpmRegistryConfig)
4446
+ npmRegistrySettings: nullishToOptional(NpmRegistryConfig),
4447
+ aiFeaturesEnabled: z134.boolean().default(false),
4448
+ aiAskFeaturesEnabled: z134.boolean().default(false),
4449
+ aiCustomInstruction: z134.string().optional()
4447
4450
  });
4448
4451
  var WorkspaceWithDesignSystems = z134.object({
4449
4452
  workspace: Workspace,
@@ -4454,7 +4457,10 @@ var WorkspaceConfigurationUpdate = z135.object({
4454
4457
  ipWhitelist: WorkspaceIpSettings.optional(),
4455
4458
  sso: SsoProvider.optional(),
4456
4459
  npmRegistrySettings: NpmRegistryConfig.optional(),
4457
- profile: WorkspaceProfileUpdate.optional()
4460
+ profile: WorkspaceProfileUpdate.optional(),
4461
+ aiFeaturesEnabled: z135.boolean().optional(),
4462
+ aiAskFeaturesEnabled: z135.boolean().optional(),
4463
+ aiCustomInstruction: z135.string().optional()
4458
4464
  });
4459
4465
  var WorkspaceContext = z136.object({
4460
4466
  workspaceId: z136.string(),
@@ -7208,7 +7214,10 @@ var DTOWorkspace = z246.object({
7208
7214
  id: z246.string(),
7209
7215
  profile: DTOWorkspaceProfile,
7210
7216
  subscription: Subscription,
7211
- npmRegistry: DTONpmRegistryConfig.optional()
7217
+ npmRegistry: DTONpmRegistryConfig.optional(),
7218
+ aiFeaturesEnabled: z246.boolean().default(false),
7219
+ aiAskFeaturesEnabled: z246.boolean().default(false),
7220
+ aiCustomInstruction: z246.string().optional()
7212
7221
  });
7213
7222
  var DTOWorkspaceCreateInput = z246.object({
7214
7223
  name: z246.string()
@@ -7634,7 +7643,10 @@ var WorkspaceConfigurationPayload = z262.object({
7634
7643
  ipWhitelist: WorkspaceIpSettings.partial().optional(),
7635
7644
  sso: SsoProvider.partial().optional(),
7636
7645
  npmRegistrySettings: NpmRegistryInput.partial().optional(),
7637
- profile: WorkspaceProfile.partial().optional()
7646
+ profile: WorkspaceProfile.partial().optional(),
7647
+ aiFeaturesEnabled: z262.boolean().optional(),
7648
+ aiAskFeaturesEnabled: z262.boolean().optional(),
7649
+ aiCustomInstruction: z262.string().optional()
7638
7650
  });
7639
7651
 
7640
7652
  // src/api/payloads/workspaces/workspace-integrations.ts
@@ -11123,6 +11135,49 @@ var ForgeArtifactsEndpoint = class {
11123
11135
  }
11124
11136
  };
11125
11137
 
11138
+ // src/api/endpoints/forge/feature-artifacts.ts
11139
+ var ForgeFeatureArtifactsEndpoint = class {
11140
+ constructor(requestExecutor) {
11141
+ this.requestExecutor = requestExecutor;
11142
+ }
11143
+ list(workspaceId, projectId, featureId) {
11144
+ return this.requestExecutor.json(
11145
+ `/workspaces/${workspaceId}/forge/projects/${projectId}/features/${featureId}/artifacts`,
11146
+ DTOFeatureArtifactListResponse,
11147
+ {
11148
+ method: "GET"
11149
+ }
11150
+ );
11151
+ }
11152
+ };
11153
+
11154
+ // src/api/endpoints/forge/feature-iterations.ts
11155
+ import z342 from "zod";
11156
+ var ForgeFeatureIterationsEndpoint = class {
11157
+ constructor(requestExecutor) {
11158
+ this.requestExecutor = requestExecutor;
11159
+ }
11160
+ list(workspaceId, projectId, featureId) {
11161
+ return this.requestExecutor.json(
11162
+ `/workspaces/${workspaceId}/forge/projects/${projectId}/features/${featureId}/iterations`,
11163
+ DTOFeatureIterationListResponse,
11164
+ {
11165
+ method: "GET"
11166
+ }
11167
+ );
11168
+ }
11169
+ updateArtifacts(workspaceId, projectId, featureId, body) {
11170
+ return this.requestExecutor.json(
11171
+ `/workspaces/${workspaceId}/forge/projects/${projectId}/features/${featureId}/iterations/update-artifacts`,
11172
+ z342.any(),
11173
+ {
11174
+ body,
11175
+ method: "POST"
11176
+ }
11177
+ );
11178
+ }
11179
+ };
11180
+
11126
11181
  // src/api/endpoints/forge/feature-messages.ts
11127
11182
  var ForgeFeatureMessagesEndpoint = class {
11128
11183
  constructor(requestExecutor) {
@@ -11171,49 +11226,6 @@ var ForgeFeatureMessagesEndpoint = class {
11171
11226
  }
11172
11227
  };
11173
11228
 
11174
- // src/api/endpoints/forge/feature-artifacts.ts
11175
- var ForgeFeatureArtifactsEndpoint = class {
11176
- constructor(requestExecutor) {
11177
- this.requestExecutor = requestExecutor;
11178
- }
11179
- list(workspaceId, projectId, featureId) {
11180
- return this.requestExecutor.json(
11181
- `/workspaces/${workspaceId}/forge/projects/${projectId}/features/${featureId}/artifacts`,
11182
- DTOFeatureArtifactListResponse,
11183
- {
11184
- method: "GET"
11185
- }
11186
- );
11187
- }
11188
- };
11189
-
11190
- // src/api/endpoints/forge/feature-iterations.ts
11191
- import z342 from "zod";
11192
- var ForgeFeatureIterationsEndpoint = class {
11193
- constructor(requestExecutor) {
11194
- this.requestExecutor = requestExecutor;
11195
- }
11196
- list(workspaceId, projectId, featureId) {
11197
- return this.requestExecutor.json(
11198
- `/workspaces/${workspaceId}/forge/projects/${projectId}/features/${featureId}/iterations`,
11199
- DTOFeatureIterationListResponse,
11200
- {
11201
- method: "GET"
11202
- }
11203
- );
11204
- }
11205
- updateArtifacts(workspaceId, projectId, featureId, body) {
11206
- return this.requestExecutor.json(
11207
- `/workspaces/${workspaceId}/forge/projects/${projectId}/features/${featureId}/iterations/update-artifacts`,
11208
- z342.any(),
11209
- {
11210
- body,
11211
- method: "POST"
11212
- }
11213
- );
11214
- }
11215
- };
11216
-
11217
11229
  // src/api/endpoints/forge/features.ts
11218
11230
  var ForgeProjectFeaturesEndpoint = class {
11219
11231
  constructor(requestExecutor) {
@@ -18807,6 +18819,8 @@ export {
18807
18819
  ForgeAgentsEndpoint,
18808
18820
  ForgeArtifactsEndpoint,
18809
18821
  ForgeEndpoint,
18822
+ ForgeFeatureArtifactsEndpoint,
18823
+ ForgeFeatureIterationsEndpoint,
18810
18824
  ForgeFeatureMessagesEndpoint,
18811
18825
  ForgeProjectContentRepository,
18812
18826
  ForgeProjectContextsEndpoint,