@supernova-studio/client 1.47.6 → 1.48.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.d.mts CHANGED
@@ -482,6 +482,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
482
482
  password?: string | undefined;
483
483
  }>>;
484
484
  aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
485
+ projectsEnabled: z.ZodDefault<z.ZodBoolean>;
485
486
  aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
486
487
  aiCustomInstruction: z.ZodOptional<z.ZodString>;
487
488
  }, "strip", z.ZodTypeAny, {
@@ -544,6 +545,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
544
545
  subscriptionStatusUpdatedAt?: string | undefined;
545
546
  };
546
547
  aiFeaturesEnabled: boolean;
548
+ projectsEnabled: boolean;
547
549
  aiAskFeaturesEnabled: boolean;
548
550
  npmRegistry?: {
549
551
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -630,6 +632,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
630
632
  password?: string | undefined;
631
633
  } | undefined;
632
634
  aiFeaturesEnabled?: boolean | undefined;
635
+ projectsEnabled?: boolean | undefined;
633
636
  aiAskFeaturesEnabled?: boolean | undefined;
634
637
  aiCustomInstruction?: string | undefined;
635
638
  }>;
@@ -698,6 +701,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
698
701
  subscriptionStatusUpdatedAt?: string | undefined;
699
702
  };
700
703
  aiFeaturesEnabled: boolean;
704
+ projectsEnabled: boolean;
701
705
  aiAskFeaturesEnabled: boolean;
702
706
  npmRegistry?: {
703
707
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -790,6 +794,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
790
794
  password?: string | undefined;
791
795
  } | undefined;
792
796
  aiFeaturesEnabled?: boolean | undefined;
797
+ projectsEnabled?: boolean | undefined;
793
798
  aiAskFeaturesEnabled?: boolean | undefined;
794
799
  aiCustomInstruction?: string | undefined;
795
800
  };
@@ -1089,6 +1094,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1089
1094
  subscriptionStatusUpdatedAt?: string | undefined;
1090
1095
  };
1091
1096
  aiFeaturesEnabled: boolean;
1097
+ projectsEnabled: boolean;
1092
1098
  aiAskFeaturesEnabled: boolean;
1093
1099
  npmRegistry?: {
1094
1100
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -1234,6 +1240,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
1234
1240
  password?: string | undefined;
1235
1241
  } | undefined;
1236
1242
  aiFeaturesEnabled?: boolean | undefined;
1243
+ projectsEnabled?: boolean | undefined;
1237
1244
  aiAskFeaturesEnabled?: boolean | undefined;
1238
1245
  aiCustomInstruction?: string | undefined;
1239
1246
  };
@@ -10217,6 +10224,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
10217
10224
  password?: string | undefined;
10218
10225
  }>>;
10219
10226
  aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
10227
+ projectsEnabled: z.ZodDefault<z.ZodBoolean>;
10220
10228
  aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
10221
10229
  aiCustomInstruction: z.ZodOptional<z.ZodString>;
10222
10230
  }, "strip", z.ZodTypeAny, {
@@ -10279,6 +10287,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
10279
10287
  subscriptionStatusUpdatedAt?: string | undefined;
10280
10288
  };
10281
10289
  aiFeaturesEnabled: boolean;
10290
+ projectsEnabled: boolean;
10282
10291
  aiAskFeaturesEnabled: boolean;
10283
10292
  npmRegistry?: {
10284
10293
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -10365,6 +10374,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
10365
10374
  password?: string | undefined;
10366
10375
  } | undefined;
10367
10376
  aiFeaturesEnabled?: boolean | undefined;
10377
+ projectsEnabled?: boolean | undefined;
10368
10378
  aiAskFeaturesEnabled?: boolean | undefined;
10369
10379
  aiCustomInstruction?: string | undefined;
10370
10380
  }>, "many">;
@@ -10459,6 +10469,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
10459
10469
  subscriptionStatusUpdatedAt?: string | undefined;
10460
10470
  };
10461
10471
  aiFeaturesEnabled: boolean;
10472
+ projectsEnabled: boolean;
10462
10473
  aiAskFeaturesEnabled: boolean;
10463
10474
  npmRegistry?: {
10464
10475
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -10577,6 +10588,7 @@ declare const DTOUserDesignSystemsResponse: z.ZodObject<{
10577
10588
  password?: string | undefined;
10578
10589
  } | undefined;
10579
10590
  aiFeaturesEnabled?: boolean | undefined;
10591
+ projectsEnabled?: boolean | undefined;
10580
10592
  aiAskFeaturesEnabled?: boolean | undefined;
10581
10593
  aiCustomInstruction?: string | undefined;
10582
10594
  }[];
@@ -69506,6 +69518,10 @@ declare const DTOFeatureIteration: z$1.ZodObject<{
69506
69518
  * To be used for "fix with AI"
69507
69519
  */
69508
69520
  errorDescription: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
69521
+ /**
69522
+ * The cost in credits to generate this iteration
69523
+ */
69524
+ creditsCost: z$1.ZodOptional<z$1.ZodNumber>;
69509
69525
  /**
69510
69526
  * URL of a static preview of the feature
69511
69527
  */
@@ -69597,6 +69613,7 @@ declare const DTOFeatureIteration: z$1.ZodObject<{
69597
69613
  baseIterationId?: string | undefined;
69598
69614
  isInProgress?: boolean | undefined;
69599
69615
  errorDescription?: string | null | undefined;
69616
+ creditsCost?: number | undefined;
69600
69617
  staticPreviewUrl?: string | undefined;
69601
69618
  isBookmarked?: boolean | undefined;
69602
69619
  thumbnail?: {
@@ -69627,6 +69644,7 @@ declare const DTOFeatureIteration: z$1.ZodObject<{
69627
69644
  baseIterationId?: string | undefined;
69628
69645
  isInProgress?: boolean | undefined;
69629
69646
  errorDescription?: string | null | undefined;
69647
+ creditsCost?: number | undefined;
69630
69648
  staticPreviewUrl?: string | undefined;
69631
69649
  isBookmarked?: boolean | undefined;
69632
69650
  thumbnail?: {
@@ -69932,6 +69950,10 @@ declare const DTOFeatureIterationCreateInput: z$1.ZodObject<Pick<{
69932
69950
  * To be used for "fix with AI"
69933
69951
  */
69934
69952
  errorDescription: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
69953
+ /**
69954
+ * The cost in credits to generate this iteration
69955
+ */
69956
+ creditsCost: z$1.ZodOptional<z$1.ZodNumber>;
69935
69957
  /**
69936
69958
  * URL of a static preview of the feature
69937
69959
  */
@@ -70833,6 +70855,10 @@ declare const DTOFeatureIterationListResponse: z$1.ZodObject<{
70833
70855
  * To be used for "fix with AI"
70834
70856
  */
70835
70857
  errorDescription: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
70858
+ /**
70859
+ * The cost in credits to generate this iteration
70860
+ */
70861
+ creditsCost: z$1.ZodOptional<z$1.ZodNumber>;
70836
70862
  /**
70837
70863
  * URL of a static preview of the feature
70838
70864
  */
@@ -70924,6 +70950,7 @@ declare const DTOFeatureIterationListResponse: z$1.ZodObject<{
70924
70950
  baseIterationId?: string | undefined;
70925
70951
  isInProgress?: boolean | undefined;
70926
70952
  errorDescription?: string | null | undefined;
70953
+ creditsCost?: number | undefined;
70927
70954
  staticPreviewUrl?: string | undefined;
70928
70955
  isBookmarked?: boolean | undefined;
70929
70956
  thumbnail?: {
@@ -70954,6 +70981,7 @@ declare const DTOFeatureIterationListResponse: z$1.ZodObject<{
70954
70981
  baseIterationId?: string | undefined;
70955
70982
  isInProgress?: boolean | undefined;
70956
70983
  errorDescription?: string | null | undefined;
70984
+ creditsCost?: number | undefined;
70957
70985
  staticPreviewUrl?: string | undefined;
70958
70986
  isBookmarked?: boolean | undefined;
70959
70987
  thumbnail?: {
@@ -70986,6 +71014,7 @@ declare const DTOFeatureIterationListResponse: z$1.ZodObject<{
70986
71014
  baseIterationId?: string | undefined;
70987
71015
  isInProgress?: boolean | undefined;
70988
71016
  errorDescription?: string | null | undefined;
71017
+ creditsCost?: number | undefined;
70989
71018
  staticPreviewUrl?: string | undefined;
70990
71019
  isBookmarked?: boolean | undefined;
70991
71020
  thumbnail?: {
@@ -71018,6 +71047,7 @@ declare const DTOFeatureIterationListResponse: z$1.ZodObject<{
71018
71047
  baseIterationId?: string | undefined;
71019
71048
  isInProgress?: boolean | undefined;
71020
71049
  errorDescription?: string | null | undefined;
71050
+ creditsCost?: number | undefined;
71021
71051
  staticPreviewUrl?: string | undefined;
71022
71052
  isBookmarked?: boolean | undefined;
71023
71053
  thumbnail?: {
@@ -71076,6 +71106,10 @@ declare const DTOFeatureIterationResponse: z$1.ZodObject<{
71076
71106
  * To be used for "fix with AI"
71077
71107
  */
71078
71108
  errorDescription: z$1.ZodOptional<z$1.ZodNullable<z$1.ZodString>>;
71109
+ /**
71110
+ * The cost in credits to generate this iteration
71111
+ */
71112
+ creditsCost: z$1.ZodOptional<z$1.ZodNumber>;
71079
71113
  /**
71080
71114
  * URL of a static preview of the feature
71081
71115
  */
@@ -71167,6 +71201,7 @@ declare const DTOFeatureIterationResponse: z$1.ZodObject<{
71167
71201
  baseIterationId?: string | undefined;
71168
71202
  isInProgress?: boolean | undefined;
71169
71203
  errorDescription?: string | null | undefined;
71204
+ creditsCost?: number | undefined;
71170
71205
  staticPreviewUrl?: string | undefined;
71171
71206
  isBookmarked?: boolean | undefined;
71172
71207
  thumbnail?: {
@@ -71197,6 +71232,7 @@ declare const DTOFeatureIterationResponse: z$1.ZodObject<{
71197
71232
  baseIterationId?: string | undefined;
71198
71233
  isInProgress?: boolean | undefined;
71199
71234
  errorDescription?: string | null | undefined;
71235
+ creditsCost?: number | undefined;
71200
71236
  staticPreviewUrl?: string | undefined;
71201
71237
  isBookmarked?: boolean | undefined;
71202
71238
  thumbnail?: {
@@ -71229,6 +71265,7 @@ declare const DTOFeatureIterationResponse: z$1.ZodObject<{
71229
71265
  baseIterationId?: string | undefined;
71230
71266
  isInProgress?: boolean | undefined;
71231
71267
  errorDescription?: string | null | undefined;
71268
+ creditsCost?: number | undefined;
71232
71269
  staticPreviewUrl?: string | undefined;
71233
71270
  isBookmarked?: boolean | undefined;
71234
71271
  thumbnail?: {
@@ -71261,6 +71298,7 @@ declare const DTOFeatureIterationResponse: z$1.ZodObject<{
71261
71298
  baseIterationId?: string | undefined;
71262
71299
  isInProgress?: boolean | undefined;
71263
71300
  errorDescription?: string | null | undefined;
71301
+ creditsCost?: number | undefined;
71264
71302
  staticPreviewUrl?: string | undefined;
71265
71303
  isBookmarked?: boolean | undefined;
71266
71304
  thumbnail?: {
@@ -206085,6 +206123,60 @@ declare const DTOLiveblocksAuthResponse: z.ZodObject<{
206085
206123
  }>;
206086
206124
  type DTOLiveblocksAuthResponse = z.infer<typeof DTOLiveblocksAuthResponse>;
206087
206125
 
206126
+ declare const DTOMCPStream: z$1.ZodObject<{
206127
+ id: z$1.ZodString;
206128
+ projectFeatureId: z$1.ZodOptional<z$1.ZodString>;
206129
+ projectDocumentId: z$1.ZodOptional<z$1.ZodString>;
206130
+ }, "strip", z$1.ZodTypeAny, {
206131
+ id: string;
206132
+ projectFeatureId?: string | undefined;
206133
+ projectDocumentId?: string | undefined;
206134
+ }, {
206135
+ id: string;
206136
+ projectFeatureId?: string | undefined;
206137
+ projectDocumentId?: string | undefined;
206138
+ }>;
206139
+ type DTOMCPStream = z$1.infer<typeof DTOMCPStream>;
206140
+ declare const DTOMCPStreamUpdateInput: z$1.ZodObject<{
206141
+ projectFeatureId: z$1.ZodOptional<z$1.ZodString>;
206142
+ projectDocumentId: z$1.ZodOptional<z$1.ZodString>;
206143
+ }, "strip", z$1.ZodTypeAny, {
206144
+ projectFeatureId?: string | undefined;
206145
+ projectDocumentId?: string | undefined;
206146
+ }, {
206147
+ projectFeatureId?: string | undefined;
206148
+ projectDocumentId?: string | undefined;
206149
+ }>;
206150
+ type DTOMCPStreamUpdateInput = z$1.infer<typeof DTOMCPStreamUpdateInput>;
206151
+ declare const DTOMCPStreamResponse: z$1.ZodObject<{
206152
+ stream: z$1.ZodObject<{
206153
+ id: z$1.ZodString;
206154
+ projectFeatureId: z$1.ZodOptional<z$1.ZodString>;
206155
+ projectDocumentId: z$1.ZodOptional<z$1.ZodString>;
206156
+ }, "strip", z$1.ZodTypeAny, {
206157
+ id: string;
206158
+ projectFeatureId?: string | undefined;
206159
+ projectDocumentId?: string | undefined;
206160
+ }, {
206161
+ id: string;
206162
+ projectFeatureId?: string | undefined;
206163
+ projectDocumentId?: string | undefined;
206164
+ }>;
206165
+ }, "strip", z$1.ZodTypeAny, {
206166
+ stream: {
206167
+ id: string;
206168
+ projectFeatureId?: string | undefined;
206169
+ projectDocumentId?: string | undefined;
206170
+ };
206171
+ }, {
206172
+ stream: {
206173
+ id: string;
206174
+ projectFeatureId?: string | undefined;
206175
+ projectDocumentId?: string | undefined;
206176
+ };
206177
+ }>;
206178
+ type DTOMCPStreamResponse = z$1.infer<typeof DTOMCPStreamResponse>;
206179
+
206088
206180
  declare const DTOPortalSettingsTheme: z.ZodObject<{
206089
206181
  backgroundColor: z.ZodOptional<z.ZodString>;
206090
206182
  accentColor: z.ZodOptional<z.ZodString>;
@@ -225326,14 +225418,47 @@ declare const DTOThreadMessageFinalizeInput: z$1.ZodObject<{
225326
225418
  messageId: z$1.ZodString;
225327
225419
  agentMessageBody: z$1.ZodOptional<z$1.ZodString>;
225328
225420
  promptState: z$1.ZodOptional<z$1.ZodEnum<["Success", "Timeout", "Error"]>>;
225421
+ creditsSpend: z$1.ZodOptional<z$1.ZodObject<{
225422
+ inputTokenCount: z$1.ZodNumber;
225423
+ outputTokenCount: z$1.ZodNumber;
225424
+ inputCachedTokenCount: z$1.ZodOptional<z$1.ZodNumber>;
225425
+ modelName: z$1.ZodEnum<["GPT_4_1", "GPT_4_1_MINI", "GPT_4O", "O1", "GPT_5", "GPT_5_MINI", "GPT_5_NANO"]>;
225426
+ action: z$1.ZodDefault<z$1.ZodOptional<z$1.ZodEnum<["Ask", "Build", "DocumentUpdate"]>>>;
225427
+ }, "strip", z$1.ZodTypeAny, {
225428
+ inputTokenCount: number;
225429
+ outputTokenCount: number;
225430
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
225431
+ action: "Ask" | "Build" | "DocumentUpdate";
225432
+ inputCachedTokenCount?: number | undefined;
225433
+ }, {
225434
+ inputTokenCount: number;
225435
+ outputTokenCount: number;
225436
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
225437
+ inputCachedTokenCount?: number | undefined;
225438
+ action?: "Ask" | "Build" | "DocumentUpdate" | undefined;
225439
+ }>>;
225329
225440
  }, "strip", z$1.ZodTypeAny, {
225330
225441
  messageId: string;
225331
225442
  agentMessageBody?: string | undefined;
225332
225443
  promptState?: "Success" | "Error" | "Timeout" | undefined;
225444
+ creditsSpend?: {
225445
+ inputTokenCount: number;
225446
+ outputTokenCount: number;
225447
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
225448
+ action: "Ask" | "Build" | "DocumentUpdate";
225449
+ inputCachedTokenCount?: number | undefined;
225450
+ } | undefined;
225333
225451
  }, {
225334
225452
  messageId: string;
225335
225453
  agentMessageBody?: string | undefined;
225336
225454
  promptState?: "Success" | "Error" | "Timeout" | undefined;
225455
+ creditsSpend?: {
225456
+ inputTokenCount: number;
225457
+ outputTokenCount: number;
225458
+ modelName: "GPT_4_1" | "GPT_4_1_MINI" | "GPT_4O" | "O1" | "GPT_5" | "GPT_5_MINI" | "GPT_5_NANO";
225459
+ inputCachedTokenCount?: number | undefined;
225460
+ action?: "Ask" | "Build" | "DocumentUpdate" | undefined;
225461
+ } | undefined;
225337
225462
  }>;
225338
225463
  type DTOThreadMessageFinalizeInput = z$1.infer<typeof DTOThreadMessageFinalizeInput>;
225339
225464
  declare const DTOThreadMessageRetryInput: z$1.ZodObject<{
@@ -233020,6 +233145,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
233020
233145
  password?: string | undefined;
233021
233146
  }>>;
233022
233147
  aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
233148
+ projectsEnabled: z.ZodDefault<z.ZodBoolean>;
233023
233149
  aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
233024
233150
  aiCustomInstruction: z.ZodOptional<z.ZodString>;
233025
233151
  }, "strip", z.ZodTypeAny, {
@@ -233082,6 +233208,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
233082
233208
  subscriptionStatusUpdatedAt?: string | undefined;
233083
233209
  };
233084
233210
  aiFeaturesEnabled: boolean;
233211
+ projectsEnabled: boolean;
233085
233212
  aiAskFeaturesEnabled: boolean;
233086
233213
  npmRegistry?: {
233087
233214
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -233168,6 +233295,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
233168
233295
  password?: string | undefined;
233169
233296
  } | undefined;
233170
233297
  aiFeaturesEnabled?: boolean | undefined;
233298
+ projectsEnabled?: boolean | undefined;
233171
233299
  aiAskFeaturesEnabled?: boolean | undefined;
233172
233300
  aiCustomInstruction?: string | undefined;
233173
233301
  }>;
@@ -233236,6 +233364,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
233236
233364
  subscriptionStatusUpdatedAt?: string | undefined;
233237
233365
  };
233238
233366
  aiFeaturesEnabled: boolean;
233367
+ projectsEnabled: boolean;
233239
233368
  aiAskFeaturesEnabled: boolean;
233240
233369
  npmRegistry?: {
233241
233370
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -233328,6 +233457,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
233328
233457
  password?: string | undefined;
233329
233458
  } | undefined;
233330
233459
  aiFeaturesEnabled?: boolean | undefined;
233460
+ projectsEnabled?: boolean | undefined;
233331
233461
  aiAskFeaturesEnabled?: boolean | undefined;
233332
233462
  aiCustomInstruction?: string | undefined;
233333
233463
  };
@@ -234047,6 +234177,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
234047
234177
  password?: string | undefined;
234048
234178
  }>>;
234049
234179
  aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
234180
+ projectsEnabled: z.ZodDefault<z.ZodBoolean>;
234050
234181
  aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
234051
234182
  aiCustomInstruction: z.ZodOptional<z.ZodString>;
234052
234183
  }, "strip", z.ZodTypeAny, {
@@ -234109,6 +234240,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
234109
234240
  subscriptionStatusUpdatedAt?: string | undefined;
234110
234241
  };
234111
234242
  aiFeaturesEnabled: boolean;
234243
+ projectsEnabled: boolean;
234112
234244
  aiAskFeaturesEnabled: boolean;
234113
234245
  npmRegistry?: {
234114
234246
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -234195,6 +234327,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
234195
234327
  password?: string | undefined;
234196
234328
  } | undefined;
234197
234329
  aiFeaturesEnabled?: boolean | undefined;
234330
+ projectsEnabled?: boolean | undefined;
234198
234331
  aiAskFeaturesEnabled?: boolean | undefined;
234199
234332
  aiCustomInstruction?: string | undefined;
234200
234333
  }>;
@@ -234263,6 +234396,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
234263
234396
  subscriptionStatusUpdatedAt?: string | undefined;
234264
234397
  };
234265
234398
  aiFeaturesEnabled: boolean;
234399
+ projectsEnabled: boolean;
234266
234400
  aiAskFeaturesEnabled: boolean;
234267
234401
  npmRegistry?: {
234268
234402
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -234355,6 +234489,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
234355
234489
  password?: string | undefined;
234356
234490
  } | undefined;
234357
234491
  aiFeaturesEnabled?: boolean | undefined;
234492
+ projectsEnabled?: boolean | undefined;
234358
234493
  aiAskFeaturesEnabled?: boolean | undefined;
234359
234494
  aiCustomInstruction?: string | undefined;
234360
234495
  };
@@ -234425,6 +234560,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
234425
234560
  subscriptionStatusUpdatedAt?: string | undefined;
234426
234561
  };
234427
234562
  aiFeaturesEnabled: boolean;
234563
+ projectsEnabled: boolean;
234428
234564
  aiAskFeaturesEnabled: boolean;
234429
234565
  npmRegistry?: {
234430
234566
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -234519,6 +234655,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
234519
234655
  password?: string | undefined;
234520
234656
  } | undefined;
234521
234657
  aiFeaturesEnabled?: boolean | undefined;
234658
+ projectsEnabled?: boolean | undefined;
234522
234659
  aiAskFeaturesEnabled?: boolean | undefined;
234523
234660
  aiCustomInstruction?: string | undefined;
234524
234661
  };
@@ -239360,6 +239497,7 @@ declare const DTOWorkspace: z.ZodObject<{
239360
239497
  password?: string | undefined;
239361
239498
  }>>;
239362
239499
  aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
239500
+ projectsEnabled: z.ZodDefault<z.ZodBoolean>;
239363
239501
  aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
239364
239502
  aiCustomInstruction: z.ZodOptional<z.ZodString>;
239365
239503
  }, "strip", z.ZodTypeAny, {
@@ -239422,6 +239560,7 @@ declare const DTOWorkspace: z.ZodObject<{
239422
239560
  subscriptionStatusUpdatedAt?: string | undefined;
239423
239561
  };
239424
239562
  aiFeaturesEnabled: boolean;
239563
+ projectsEnabled: boolean;
239425
239564
  aiAskFeaturesEnabled: boolean;
239426
239565
  npmRegistry?: {
239427
239566
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -239508,6 +239647,7 @@ declare const DTOWorkspace: z.ZodObject<{
239508
239647
  password?: string | undefined;
239509
239648
  } | undefined;
239510
239649
  aiFeaturesEnabled?: boolean | undefined;
239650
+ projectsEnabled?: boolean | undefined;
239511
239651
  aiAskFeaturesEnabled?: boolean | undefined;
239512
239652
  aiCustomInstruction?: string | undefined;
239513
239653
  }>;
@@ -239791,6 +239931,7 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
239791
239931
  password?: string | undefined;
239792
239932
  }>>;
239793
239933
  aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
239934
+ projectsEnabled: z.ZodDefault<z.ZodBoolean>;
239794
239935
  aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
239795
239936
  aiCustomInstruction: z.ZodOptional<z.ZodString>;
239796
239937
  }, "strip", z.ZodTypeAny, {
@@ -239853,6 +239994,7 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
239853
239994
  subscriptionStatusUpdatedAt?: string | undefined;
239854
239995
  };
239855
239996
  aiFeaturesEnabled: boolean;
239997
+ projectsEnabled: boolean;
239856
239998
  aiAskFeaturesEnabled: boolean;
239857
239999
  npmRegistry?: {
239858
240000
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -239939,6 +240081,7 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
239939
240081
  password?: string | undefined;
239940
240082
  } | undefined;
239941
240083
  aiFeaturesEnabled?: boolean | undefined;
240084
+ projectsEnabled?: boolean | undefined;
239942
240085
  aiAskFeaturesEnabled?: boolean | undefined;
239943
240086
  aiCustomInstruction?: string | undefined;
239944
240087
  }>;
@@ -240003,6 +240146,7 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
240003
240146
  subscriptionStatusUpdatedAt?: string | undefined;
240004
240147
  };
240005
240148
  aiFeaturesEnabled: boolean;
240149
+ projectsEnabled: boolean;
240006
240150
  aiAskFeaturesEnabled: boolean;
240007
240151
  npmRegistry?: {
240008
240152
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -240091,66 +240235,13 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
240091
240235
  password?: string | undefined;
240092
240236
  } | undefined;
240093
240237
  aiFeaturesEnabled?: boolean | undefined;
240238
+ projectsEnabled?: boolean | undefined;
240094
240239
  aiAskFeaturesEnabled?: boolean | undefined;
240095
240240
  aiCustomInstruction?: string | undefined;
240096
240241
  };
240097
240242
  }>;
240098
240243
  type DTOWorkspaceResponse = z.infer<typeof DTOWorkspaceResponse>;
240099
240244
 
240100
- declare const DTOMCPStream: z$1.ZodObject<{
240101
- id: z$1.ZodString;
240102
- projectFeatureId: z$1.ZodOptional<z$1.ZodString>;
240103
- projectDocumentId: z$1.ZodOptional<z$1.ZodString>;
240104
- }, "strip", z$1.ZodTypeAny, {
240105
- id: string;
240106
- projectFeatureId?: string | undefined;
240107
- projectDocumentId?: string | undefined;
240108
- }, {
240109
- id: string;
240110
- projectFeatureId?: string | undefined;
240111
- projectDocumentId?: string | undefined;
240112
- }>;
240113
- type DTOMCPStream = z$1.infer<typeof DTOMCPStream>;
240114
- declare const DTOMCPStreamUpdateInput: z$1.ZodObject<{
240115
- projectFeatureId: z$1.ZodOptional<z$1.ZodString>;
240116
- projectDocumentId: z$1.ZodOptional<z$1.ZodString>;
240117
- }, "strip", z$1.ZodTypeAny, {
240118
- projectFeatureId?: string | undefined;
240119
- projectDocumentId?: string | undefined;
240120
- }, {
240121
- projectFeatureId?: string | undefined;
240122
- projectDocumentId?: string | undefined;
240123
- }>;
240124
- type DTOMCPStreamUpdateInput = z$1.infer<typeof DTOMCPStreamUpdateInput>;
240125
- declare const DTOMCPStreamResponse: z$1.ZodObject<{
240126
- stream: z$1.ZodObject<{
240127
- id: z$1.ZodString;
240128
- projectFeatureId: z$1.ZodOptional<z$1.ZodString>;
240129
- projectDocumentId: z$1.ZodOptional<z$1.ZodString>;
240130
- }, "strip", z$1.ZodTypeAny, {
240131
- id: string;
240132
- projectFeatureId?: string | undefined;
240133
- projectDocumentId?: string | undefined;
240134
- }, {
240135
- id: string;
240136
- projectFeatureId?: string | undefined;
240137
- projectDocumentId?: string | undefined;
240138
- }>;
240139
- }, "strip", z$1.ZodTypeAny, {
240140
- stream: {
240141
- id: string;
240142
- projectFeatureId?: string | undefined;
240143
- projectDocumentId?: string | undefined;
240144
- };
240145
- }, {
240146
- stream: {
240147
- id: string;
240148
- projectFeatureId?: string | undefined;
240149
- projectDocumentId?: string | undefined;
240150
- };
240151
- }>;
240152
- type DTOMCPStreamResponse = z$1.infer<typeof DTOMCPStreamResponse>;
240153
-
240154
240245
  type PageAnalyticsInput = {
240155
240246
  pagePersistentId: string;
240156
240247
  priorDataPoints: PublishedDocPageVisitsEntry[];
@@ -244425,6 +244516,7 @@ declare const WorkspaceConfigurationPayload: z.ZodObject<{
244425
244516
  } | null | undefined;
244426
244517
  }>>;
244427
244518
  aiFeaturesEnabled: z.ZodOptional<z.ZodBoolean>;
244519
+ projectsEnabled: z.ZodOptional<z.ZodBoolean>;
244428
244520
  aiAskFeaturesEnabled: z.ZodOptional<z.ZodBoolean>;
244429
244521
  aiCustomInstruction: z.ZodOptional<z.ZodString>;
244430
244522
  }, "strip", z.ZodTypeAny, {
@@ -244465,6 +244557,7 @@ declare const WorkspaceConfigurationPayload: z.ZodObject<{
244465
244557
  npmProxyRegistryConfigId?: string | undefined;
244466
244558
  } | undefined;
244467
244559
  aiFeaturesEnabled?: boolean | undefined;
244560
+ projectsEnabled?: boolean | undefined;
244468
244561
  aiAskFeaturesEnabled?: boolean | undefined;
244469
244562
  aiCustomInstruction?: string | undefined;
244470
244563
  ipWhitelist?: {
@@ -244524,6 +244617,7 @@ declare const WorkspaceConfigurationPayload: z.ZodObject<{
244524
244617
  npmProxyRegistryConfigId?: string | undefined;
244525
244618
  } | undefined;
244526
244619
  aiFeaturesEnabled?: boolean | undefined;
244620
+ projectsEnabled?: boolean | undefined;
244527
244621
  aiAskFeaturesEnabled?: boolean | undefined;
244528
244622
  aiCustomInstruction?: string | undefined;
244529
244623
  ipWhitelist?: {
@@ -250826,6 +250920,7 @@ declare class DesignSystemsEndpoint {
250826
250920
  subscriptionStatusUpdatedAt?: string | undefined;
250827
250921
  };
250828
250922
  aiFeaturesEnabled: boolean;
250923
+ projectsEnabled: boolean;
250829
250924
  aiAskFeaturesEnabled: boolean;
250830
250925
  npmRegistry?: {
250831
250926
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -251160,6 +251255,7 @@ declare class ForgeFeatureIterationsEndpoint {
251160
251255
  baseIterationId?: string | undefined;
251161
251256
  isInProgress?: boolean | undefined;
251162
251257
  errorDescription?: string | null | undefined;
251258
+ creditsCost?: number | undefined;
251163
251259
  staticPreviewUrl?: string | undefined;
251164
251260
  isBookmarked?: boolean | undefined;
251165
251261
  thumbnail?: {
@@ -251346,6 +251442,7 @@ declare class ForgeProjectFeaturesEndpoint {
251346
251442
  baseIterationId?: string | undefined;
251347
251443
  isInProgress?: boolean | undefined;
251348
251444
  errorDescription?: string | null | undefined;
251445
+ creditsCost?: number | undefined;
251349
251446
  staticPreviewUrl?: string | undefined;
251350
251447
  isBookmarked?: boolean | undefined;
251351
251448
  thumbnail?: {
@@ -257290,6 +257387,32 @@ declare class ForgeProjectIterationsEndpoint {
257290
257387
  }>;
257291
257388
  }
257292
257389
 
257390
+ declare class MCPStreamsEndpoint {
257391
+ private readonly requestExecutor;
257392
+ constructor(requestExecutor: RequestExecutor);
257393
+ getById(streamId: string): Promise<{
257394
+ stream: {
257395
+ id: string;
257396
+ projectFeatureId?: string | undefined;
257397
+ projectDocumentId?: string | undefined;
257398
+ };
257399
+ }>;
257400
+ getForUser(): Promise<{
257401
+ stream: {
257402
+ id: string;
257403
+ projectFeatureId?: string | undefined;
257404
+ projectDocumentId?: string | undefined;
257405
+ };
257406
+ }>;
257407
+ updateForUser(body: DTOMCPStreamUpdateInput): Promise<{
257408
+ stream: {
257409
+ id: string;
257410
+ projectFeatureId?: string | undefined;
257411
+ projectDocumentId?: string | undefined;
257412
+ };
257413
+ }>;
257414
+ }
257415
+
257293
257416
  declare class WorkspaceChatThreadsEndpoint {
257294
257417
  private readonly requestExecutor;
257295
257418
  readonly messages: ChatThreadMessagesEndpoint;
@@ -257537,6 +257660,7 @@ declare class WorkspaceInvitationsEndpoint {
257537
257660
  subscriptionStatusUpdatedAt?: string | undefined;
257538
257661
  };
257539
257662
  aiFeaturesEnabled: boolean;
257663
+ projectsEnabled: boolean;
257540
257664
  aiAskFeaturesEnabled: boolean;
257541
257665
  npmRegistry?: {
257542
257666
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -257677,6 +257801,7 @@ declare class WorkspaceMembersEndpoint {
257677
257801
  subscriptionStatusUpdatedAt?: string | undefined;
257678
257802
  };
257679
257803
  aiFeaturesEnabled: boolean;
257804
+ projectsEnabled: boolean;
257680
257805
  aiAskFeaturesEnabled: boolean;
257681
257806
  npmRegistry?: {
257682
257807
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -257755,6 +257880,7 @@ declare class WorkspaceMembersEndpoint {
257755
257880
  subscriptionStatusUpdatedAt?: string | undefined;
257756
257881
  };
257757
257882
  aiFeaturesEnabled: boolean;
257883
+ projectsEnabled: boolean;
257758
257884
  aiAskFeaturesEnabled: boolean;
257759
257885
  npmRegistry?: {
257760
257886
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -258124,6 +258250,7 @@ declare class WorkspacesEndpoint {
258124
258250
  subscriptionStatusUpdatedAt?: string | undefined;
258125
258251
  };
258126
258252
  aiFeaturesEnabled: boolean;
258253
+ projectsEnabled: boolean;
258127
258254
  aiAskFeaturesEnabled: boolean;
258128
258255
  npmRegistry?: {
258129
258256
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -258202,6 +258329,7 @@ declare class WorkspacesEndpoint {
258202
258329
  subscriptionStatusUpdatedAt?: string | undefined;
258203
258330
  };
258204
258331
  aiFeaturesEnabled: boolean;
258332
+ projectsEnabled: boolean;
258205
258333
  aiAskFeaturesEnabled: boolean;
258206
258334
  npmRegistry?: {
258207
258335
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -258284,6 +258412,7 @@ declare class WorkspacesEndpoint {
258284
258412
  subscriptionStatusUpdatedAt?: string | undefined;
258285
258413
  };
258286
258414
  aiFeaturesEnabled: boolean;
258415
+ projectsEnabled: boolean;
258287
258416
  aiAskFeaturesEnabled: boolean;
258288
258417
  npmRegistry?: {
258289
258418
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -258418,6 +258547,7 @@ declare class WorkspacesEndpoint {
258418
258547
  subscriptionStatusUpdatedAt?: string | undefined;
258419
258548
  };
258420
258549
  aiFeaturesEnabled: boolean;
258550
+ projectsEnabled: boolean;
258421
258551
  aiAskFeaturesEnabled: boolean;
258422
258552
  npmRegistry?: {
258423
258553
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -258717,6 +258847,7 @@ declare class UsersEndpoint {
258717
258847
  subscriptionStatusUpdatedAt?: string | undefined;
258718
258848
  };
258719
258849
  aiFeaturesEnabled: boolean;
258850
+ projectsEnabled: boolean;
258720
258851
  aiAskFeaturesEnabled: boolean;
258721
258852
  npmRegistry?: {
258722
258853
  registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
@@ -258842,32 +258973,6 @@ declare class UsersEndpoint {
258842
258973
  }>;
258843
258974
  }
258844
258975
 
258845
- declare class MCPStreamsEndpoint {
258846
- private readonly requestExecutor;
258847
- constructor(requestExecutor: RequestExecutor);
258848
- getById(streamId: string): Promise<{
258849
- stream: {
258850
- id: string;
258851
- projectFeatureId?: string | undefined;
258852
- projectDocumentId?: string | undefined;
258853
- };
258854
- }>;
258855
- getForUser(): Promise<{
258856
- stream: {
258857
- id: string;
258858
- projectFeatureId?: string | undefined;
258859
- projectDocumentId?: string | undefined;
258860
- };
258861
- }>;
258862
- updateForUser(body: DTOMCPStreamUpdateInput): Promise<{
258863
- stream: {
258864
- id: string;
258865
- projectFeatureId?: string | undefined;
258866
- projectDocumentId?: string | undefined;
258867
- };
258868
- }>;
258869
- }
258870
-
258871
258976
  type SupernovaApiClientConfig = {
258872
258977
  host: string;
258873
258978
  accessToken: string;