@supernova-studio/client 1.47.6 → 1.47.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.d.mts +124 -80
- package/dist/index.d.ts +124 -80
- package/dist/index.js +38 -34
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +164 -160
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
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
|
}[];
|
|
@@ -206085,6 +206097,60 @@ declare const DTOLiveblocksAuthResponse: z.ZodObject<{
|
|
|
206085
206097
|
}>;
|
|
206086
206098
|
type DTOLiveblocksAuthResponse = z.infer<typeof DTOLiveblocksAuthResponse>;
|
|
206087
206099
|
|
|
206100
|
+
declare const DTOMCPStream: z$1.ZodObject<{
|
|
206101
|
+
id: z$1.ZodString;
|
|
206102
|
+
projectFeatureId: z$1.ZodOptional<z$1.ZodString>;
|
|
206103
|
+
projectDocumentId: z$1.ZodOptional<z$1.ZodString>;
|
|
206104
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
206105
|
+
id: string;
|
|
206106
|
+
projectFeatureId?: string | undefined;
|
|
206107
|
+
projectDocumentId?: string | undefined;
|
|
206108
|
+
}, {
|
|
206109
|
+
id: string;
|
|
206110
|
+
projectFeatureId?: string | undefined;
|
|
206111
|
+
projectDocumentId?: string | undefined;
|
|
206112
|
+
}>;
|
|
206113
|
+
type DTOMCPStream = z$1.infer<typeof DTOMCPStream>;
|
|
206114
|
+
declare const DTOMCPStreamUpdateInput: z$1.ZodObject<{
|
|
206115
|
+
projectFeatureId: z$1.ZodOptional<z$1.ZodString>;
|
|
206116
|
+
projectDocumentId: z$1.ZodOptional<z$1.ZodString>;
|
|
206117
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
206118
|
+
projectFeatureId?: string | undefined;
|
|
206119
|
+
projectDocumentId?: string | undefined;
|
|
206120
|
+
}, {
|
|
206121
|
+
projectFeatureId?: string | undefined;
|
|
206122
|
+
projectDocumentId?: string | undefined;
|
|
206123
|
+
}>;
|
|
206124
|
+
type DTOMCPStreamUpdateInput = z$1.infer<typeof DTOMCPStreamUpdateInput>;
|
|
206125
|
+
declare const DTOMCPStreamResponse: z$1.ZodObject<{
|
|
206126
|
+
stream: 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
|
+
}, "strip", z$1.ZodTypeAny, {
|
|
206140
|
+
stream: {
|
|
206141
|
+
id: string;
|
|
206142
|
+
projectFeatureId?: string | undefined;
|
|
206143
|
+
projectDocumentId?: string | undefined;
|
|
206144
|
+
};
|
|
206145
|
+
}, {
|
|
206146
|
+
stream: {
|
|
206147
|
+
id: string;
|
|
206148
|
+
projectFeatureId?: string | undefined;
|
|
206149
|
+
projectDocumentId?: string | undefined;
|
|
206150
|
+
};
|
|
206151
|
+
}>;
|
|
206152
|
+
type DTOMCPStreamResponse = z$1.infer<typeof DTOMCPStreamResponse>;
|
|
206153
|
+
|
|
206088
206154
|
declare const DTOPortalSettingsTheme: z.ZodObject<{
|
|
206089
206155
|
backgroundColor: z.ZodOptional<z.ZodString>;
|
|
206090
206156
|
accentColor: z.ZodOptional<z.ZodString>;
|
|
@@ -233020,6 +233086,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
233020
233086
|
password?: string | undefined;
|
|
233021
233087
|
}>>;
|
|
233022
233088
|
aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
233089
|
+
projectsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
233023
233090
|
aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
233024
233091
|
aiCustomInstruction: z.ZodOptional<z.ZodString>;
|
|
233025
233092
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -233082,6 +233149,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
233082
233149
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
233083
233150
|
};
|
|
233084
233151
|
aiFeaturesEnabled: boolean;
|
|
233152
|
+
projectsEnabled: boolean;
|
|
233085
233153
|
aiAskFeaturesEnabled: boolean;
|
|
233086
233154
|
npmRegistry?: {
|
|
233087
233155
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -233168,6 +233236,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
233168
233236
|
password?: string | undefined;
|
|
233169
233237
|
} | undefined;
|
|
233170
233238
|
aiFeaturesEnabled?: boolean | undefined;
|
|
233239
|
+
projectsEnabled?: boolean | undefined;
|
|
233171
233240
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
233172
233241
|
aiCustomInstruction?: string | undefined;
|
|
233173
233242
|
}>;
|
|
@@ -233236,6 +233305,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
233236
233305
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
233237
233306
|
};
|
|
233238
233307
|
aiFeaturesEnabled: boolean;
|
|
233308
|
+
projectsEnabled: boolean;
|
|
233239
233309
|
aiAskFeaturesEnabled: boolean;
|
|
233240
233310
|
npmRegistry?: {
|
|
233241
233311
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -233328,6 +233398,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
233328
233398
|
password?: string | undefined;
|
|
233329
233399
|
} | undefined;
|
|
233330
233400
|
aiFeaturesEnabled?: boolean | undefined;
|
|
233401
|
+
projectsEnabled?: boolean | undefined;
|
|
233331
233402
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
233332
233403
|
aiCustomInstruction?: string | undefined;
|
|
233333
233404
|
};
|
|
@@ -234047,6 +234118,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
234047
234118
|
password?: string | undefined;
|
|
234048
234119
|
}>>;
|
|
234049
234120
|
aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
234121
|
+
projectsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
234050
234122
|
aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
234051
234123
|
aiCustomInstruction: z.ZodOptional<z.ZodString>;
|
|
234052
234124
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -234109,6 +234181,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
234109
234181
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
234110
234182
|
};
|
|
234111
234183
|
aiFeaturesEnabled: boolean;
|
|
234184
|
+
projectsEnabled: boolean;
|
|
234112
234185
|
aiAskFeaturesEnabled: boolean;
|
|
234113
234186
|
npmRegistry?: {
|
|
234114
234187
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -234195,6 +234268,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
234195
234268
|
password?: string | undefined;
|
|
234196
234269
|
} | undefined;
|
|
234197
234270
|
aiFeaturesEnabled?: boolean | undefined;
|
|
234271
|
+
projectsEnabled?: boolean | undefined;
|
|
234198
234272
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
234199
234273
|
aiCustomInstruction?: string | undefined;
|
|
234200
234274
|
}>;
|
|
@@ -234263,6 +234337,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
234263
234337
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
234264
234338
|
};
|
|
234265
234339
|
aiFeaturesEnabled: boolean;
|
|
234340
|
+
projectsEnabled: boolean;
|
|
234266
234341
|
aiAskFeaturesEnabled: boolean;
|
|
234267
234342
|
npmRegistry?: {
|
|
234268
234343
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -234355,6 +234430,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
234355
234430
|
password?: string | undefined;
|
|
234356
234431
|
} | undefined;
|
|
234357
234432
|
aiFeaturesEnabled?: boolean | undefined;
|
|
234433
|
+
projectsEnabled?: boolean | undefined;
|
|
234358
234434
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
234359
234435
|
aiCustomInstruction?: string | undefined;
|
|
234360
234436
|
};
|
|
@@ -234425,6 +234501,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
234425
234501
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
234426
234502
|
};
|
|
234427
234503
|
aiFeaturesEnabled: boolean;
|
|
234504
|
+
projectsEnabled: boolean;
|
|
234428
234505
|
aiAskFeaturesEnabled: boolean;
|
|
234429
234506
|
npmRegistry?: {
|
|
234430
234507
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -234519,6 +234596,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
234519
234596
|
password?: string | undefined;
|
|
234520
234597
|
} | undefined;
|
|
234521
234598
|
aiFeaturesEnabled?: boolean | undefined;
|
|
234599
|
+
projectsEnabled?: boolean | undefined;
|
|
234522
234600
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
234523
234601
|
aiCustomInstruction?: string | undefined;
|
|
234524
234602
|
};
|
|
@@ -239360,6 +239438,7 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
239360
239438
|
password?: string | undefined;
|
|
239361
239439
|
}>>;
|
|
239362
239440
|
aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
239441
|
+
projectsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
239363
239442
|
aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
239364
239443
|
aiCustomInstruction: z.ZodOptional<z.ZodString>;
|
|
239365
239444
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -239422,6 +239501,7 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
239422
239501
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
239423
239502
|
};
|
|
239424
239503
|
aiFeaturesEnabled: boolean;
|
|
239504
|
+
projectsEnabled: boolean;
|
|
239425
239505
|
aiAskFeaturesEnabled: boolean;
|
|
239426
239506
|
npmRegistry?: {
|
|
239427
239507
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -239508,6 +239588,7 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
239508
239588
|
password?: string | undefined;
|
|
239509
239589
|
} | undefined;
|
|
239510
239590
|
aiFeaturesEnabled?: boolean | undefined;
|
|
239591
|
+
projectsEnabled?: boolean | undefined;
|
|
239511
239592
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
239512
239593
|
aiCustomInstruction?: string | undefined;
|
|
239513
239594
|
}>;
|
|
@@ -239791,6 +239872,7 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
|
|
|
239791
239872
|
password?: string | undefined;
|
|
239792
239873
|
}>>;
|
|
239793
239874
|
aiFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
239875
|
+
projectsEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
239794
239876
|
aiAskFeaturesEnabled: z.ZodDefault<z.ZodBoolean>;
|
|
239795
239877
|
aiCustomInstruction: z.ZodOptional<z.ZodString>;
|
|
239796
239878
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -239853,6 +239935,7 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
|
|
|
239853
239935
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
239854
239936
|
};
|
|
239855
239937
|
aiFeaturesEnabled: boolean;
|
|
239938
|
+
projectsEnabled: boolean;
|
|
239856
239939
|
aiAskFeaturesEnabled: boolean;
|
|
239857
239940
|
npmRegistry?: {
|
|
239858
239941
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -239939,6 +240022,7 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
|
|
|
239939
240022
|
password?: string | undefined;
|
|
239940
240023
|
} | undefined;
|
|
239941
240024
|
aiFeaturesEnabled?: boolean | undefined;
|
|
240025
|
+
projectsEnabled?: boolean | undefined;
|
|
239942
240026
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
239943
240027
|
aiCustomInstruction?: string | undefined;
|
|
239944
240028
|
}>;
|
|
@@ -240003,6 +240087,7 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
|
|
|
240003
240087
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
240004
240088
|
};
|
|
240005
240089
|
aiFeaturesEnabled: boolean;
|
|
240090
|
+
projectsEnabled: boolean;
|
|
240006
240091
|
aiAskFeaturesEnabled: boolean;
|
|
240007
240092
|
npmRegistry?: {
|
|
240008
240093
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -240091,66 +240176,13 @@ declare const DTOWorkspaceResponse: z.ZodObject<{
|
|
|
240091
240176
|
password?: string | undefined;
|
|
240092
240177
|
} | undefined;
|
|
240093
240178
|
aiFeaturesEnabled?: boolean | undefined;
|
|
240179
|
+
projectsEnabled?: boolean | undefined;
|
|
240094
240180
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
240095
240181
|
aiCustomInstruction?: string | undefined;
|
|
240096
240182
|
};
|
|
240097
240183
|
}>;
|
|
240098
240184
|
type DTOWorkspaceResponse = z.infer<typeof DTOWorkspaceResponse>;
|
|
240099
240185
|
|
|
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
240186
|
type PageAnalyticsInput = {
|
|
240155
240187
|
pagePersistentId: string;
|
|
240156
240188
|
priorDataPoints: PublishedDocPageVisitsEntry[];
|
|
@@ -244425,6 +244457,7 @@ declare const WorkspaceConfigurationPayload: z.ZodObject<{
|
|
|
244425
244457
|
} | null | undefined;
|
|
244426
244458
|
}>>;
|
|
244427
244459
|
aiFeaturesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
244460
|
+
projectsEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
244428
244461
|
aiAskFeaturesEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
244429
244462
|
aiCustomInstruction: z.ZodOptional<z.ZodString>;
|
|
244430
244463
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -244465,6 +244498,7 @@ declare const WorkspaceConfigurationPayload: z.ZodObject<{
|
|
|
244465
244498
|
npmProxyRegistryConfigId?: string | undefined;
|
|
244466
244499
|
} | undefined;
|
|
244467
244500
|
aiFeaturesEnabled?: boolean | undefined;
|
|
244501
|
+
projectsEnabled?: boolean | undefined;
|
|
244468
244502
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
244469
244503
|
aiCustomInstruction?: string | undefined;
|
|
244470
244504
|
ipWhitelist?: {
|
|
@@ -244524,6 +244558,7 @@ declare const WorkspaceConfigurationPayload: z.ZodObject<{
|
|
|
244524
244558
|
npmProxyRegistryConfigId?: string | undefined;
|
|
244525
244559
|
} | undefined;
|
|
244526
244560
|
aiFeaturesEnabled?: boolean | undefined;
|
|
244561
|
+
projectsEnabled?: boolean | undefined;
|
|
244527
244562
|
aiAskFeaturesEnabled?: boolean | undefined;
|
|
244528
244563
|
aiCustomInstruction?: string | undefined;
|
|
244529
244564
|
ipWhitelist?: {
|
|
@@ -250826,6 +250861,7 @@ declare class DesignSystemsEndpoint {
|
|
|
250826
250861
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
250827
250862
|
};
|
|
250828
250863
|
aiFeaturesEnabled: boolean;
|
|
250864
|
+
projectsEnabled: boolean;
|
|
250829
250865
|
aiAskFeaturesEnabled: boolean;
|
|
250830
250866
|
npmRegistry?: {
|
|
250831
250867
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -257290,6 +257326,32 @@ declare class ForgeProjectIterationsEndpoint {
|
|
|
257290
257326
|
}>;
|
|
257291
257327
|
}
|
|
257292
257328
|
|
|
257329
|
+
declare class MCPStreamsEndpoint {
|
|
257330
|
+
private readonly requestExecutor;
|
|
257331
|
+
constructor(requestExecutor: RequestExecutor);
|
|
257332
|
+
getById(streamId: string): Promise<{
|
|
257333
|
+
stream: {
|
|
257334
|
+
id: string;
|
|
257335
|
+
projectFeatureId?: string | undefined;
|
|
257336
|
+
projectDocumentId?: string | undefined;
|
|
257337
|
+
};
|
|
257338
|
+
}>;
|
|
257339
|
+
getForUser(): Promise<{
|
|
257340
|
+
stream: {
|
|
257341
|
+
id: string;
|
|
257342
|
+
projectFeatureId?: string | undefined;
|
|
257343
|
+
projectDocumentId?: string | undefined;
|
|
257344
|
+
};
|
|
257345
|
+
}>;
|
|
257346
|
+
updateForUser(body: DTOMCPStreamUpdateInput): Promise<{
|
|
257347
|
+
stream: {
|
|
257348
|
+
id: string;
|
|
257349
|
+
projectFeatureId?: string | undefined;
|
|
257350
|
+
projectDocumentId?: string | undefined;
|
|
257351
|
+
};
|
|
257352
|
+
}>;
|
|
257353
|
+
}
|
|
257354
|
+
|
|
257293
257355
|
declare class WorkspaceChatThreadsEndpoint {
|
|
257294
257356
|
private readonly requestExecutor;
|
|
257295
257357
|
readonly messages: ChatThreadMessagesEndpoint;
|
|
@@ -257537,6 +257599,7 @@ declare class WorkspaceInvitationsEndpoint {
|
|
|
257537
257599
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
257538
257600
|
};
|
|
257539
257601
|
aiFeaturesEnabled: boolean;
|
|
257602
|
+
projectsEnabled: boolean;
|
|
257540
257603
|
aiAskFeaturesEnabled: boolean;
|
|
257541
257604
|
npmRegistry?: {
|
|
257542
257605
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -257677,6 +257740,7 @@ declare class WorkspaceMembersEndpoint {
|
|
|
257677
257740
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
257678
257741
|
};
|
|
257679
257742
|
aiFeaturesEnabled: boolean;
|
|
257743
|
+
projectsEnabled: boolean;
|
|
257680
257744
|
aiAskFeaturesEnabled: boolean;
|
|
257681
257745
|
npmRegistry?: {
|
|
257682
257746
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -257755,6 +257819,7 @@ declare class WorkspaceMembersEndpoint {
|
|
|
257755
257819
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
257756
257820
|
};
|
|
257757
257821
|
aiFeaturesEnabled: boolean;
|
|
257822
|
+
projectsEnabled: boolean;
|
|
257758
257823
|
aiAskFeaturesEnabled: boolean;
|
|
257759
257824
|
npmRegistry?: {
|
|
257760
257825
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -258124,6 +258189,7 @@ declare class WorkspacesEndpoint {
|
|
|
258124
258189
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
258125
258190
|
};
|
|
258126
258191
|
aiFeaturesEnabled: boolean;
|
|
258192
|
+
projectsEnabled: boolean;
|
|
258127
258193
|
aiAskFeaturesEnabled: boolean;
|
|
258128
258194
|
npmRegistry?: {
|
|
258129
258195
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -258202,6 +258268,7 @@ declare class WorkspacesEndpoint {
|
|
|
258202
258268
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
258203
258269
|
};
|
|
258204
258270
|
aiFeaturesEnabled: boolean;
|
|
258271
|
+
projectsEnabled: boolean;
|
|
258205
258272
|
aiAskFeaturesEnabled: boolean;
|
|
258206
258273
|
npmRegistry?: {
|
|
258207
258274
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -258284,6 +258351,7 @@ declare class WorkspacesEndpoint {
|
|
|
258284
258351
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
258285
258352
|
};
|
|
258286
258353
|
aiFeaturesEnabled: boolean;
|
|
258354
|
+
projectsEnabled: boolean;
|
|
258287
258355
|
aiAskFeaturesEnabled: boolean;
|
|
258288
258356
|
npmRegistry?: {
|
|
258289
258357
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -258418,6 +258486,7 @@ declare class WorkspacesEndpoint {
|
|
|
258418
258486
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
258419
258487
|
};
|
|
258420
258488
|
aiFeaturesEnabled: boolean;
|
|
258489
|
+
projectsEnabled: boolean;
|
|
258421
258490
|
aiAskFeaturesEnabled: boolean;
|
|
258422
258491
|
npmRegistry?: {
|
|
258423
258492
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -258717,6 +258786,7 @@ declare class UsersEndpoint {
|
|
|
258717
258786
|
subscriptionStatusUpdatedAt?: string | undefined;
|
|
258718
258787
|
};
|
|
258719
258788
|
aiFeaturesEnabled: boolean;
|
|
258789
|
+
projectsEnabled: boolean;
|
|
258720
258790
|
aiAskFeaturesEnabled: boolean;
|
|
258721
258791
|
npmRegistry?: {
|
|
258722
258792
|
registryType: "Artifactory" | "Custom" | "NPMJS" | "GitHub" | "AzureDevOps";
|
|
@@ -258842,32 +258912,6 @@ declare class UsersEndpoint {
|
|
|
258842
258912
|
}>;
|
|
258843
258913
|
}
|
|
258844
258914
|
|
|
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
258915
|
type SupernovaApiClientConfig = {
|
|
258872
258916
|
host: string;
|
|
258873
258917
|
accessToken: string;
|
package/dist/index.js
CHANGED
|
@@ -4470,6 +4470,7 @@ var Workspace = _zod.z.object({
|
|
|
4470
4470
|
sso: nullishToOptional(SsoProvider),
|
|
4471
4471
|
npmRegistrySettings: nullishToOptional(NpmRegistryConfig),
|
|
4472
4472
|
aiFeaturesEnabled: _zod.z.boolean().default(false),
|
|
4473
|
+
projectsEnabled: _zod.z.boolean().default(false),
|
|
4473
4474
|
aiAskFeaturesEnabled: _zod.z.boolean().default(false),
|
|
4474
4475
|
aiCustomInstruction: _zod.z.string().optional(),
|
|
4475
4476
|
hasOpenMeterSubject: _zod.z.boolean()
|
|
@@ -4485,6 +4486,7 @@ var WorkspaceConfigurationUpdate = _zod.z.object({
|
|
|
4485
4486
|
npmRegistrySettings: NpmRegistryConfig.optional(),
|
|
4486
4487
|
profile: WorkspaceProfileUpdate.optional(),
|
|
4487
4488
|
aiFeaturesEnabled: _zod.z.boolean().optional(),
|
|
4489
|
+
projectsEnabled: _zod.z.boolean().optional(),
|
|
4488
4490
|
aiAskFeaturesEnabled: _zod.z.boolean().optional(),
|
|
4489
4491
|
aiCustomInstruction: _zod.z.string().optional()
|
|
4490
4492
|
});
|
|
@@ -7395,6 +7397,7 @@ var DTOWorkspace = _zod.z.object({
|
|
|
7395
7397
|
subscription: Subscription,
|
|
7396
7398
|
npmRegistry: DTONpmRegistryConfig.optional(),
|
|
7397
7399
|
aiFeaturesEnabled: _zod.z.boolean().default(false),
|
|
7400
|
+
projectsEnabled: _zod.z.boolean().default(false),
|
|
7398
7401
|
aiAskFeaturesEnabled: _zod.z.boolean().default(false),
|
|
7399
7402
|
aiCustomInstruction: _zod.z.string().optional()
|
|
7400
7403
|
});
|
|
@@ -7901,6 +7904,7 @@ var WorkspaceConfigurationPayload = _zod.z.object({
|
|
|
7901
7904
|
npmRegistrySettings: NpmRegistryInput.partial().optional(),
|
|
7902
7905
|
profile: WorkspaceProfile.partial().optional(),
|
|
7903
7906
|
aiFeaturesEnabled: _zod.z.boolean().optional(),
|
|
7907
|
+
projectsEnabled: _zod.z.boolean().optional(),
|
|
7904
7908
|
aiAskFeaturesEnabled: _zod.z.boolean().optional(),
|
|
7905
7909
|
aiCustomInstruction: _zod.z.string().optional()
|
|
7906
7910
|
});
|
|
@@ -10651,6 +10655,21 @@ var DTOLiveblocksAuthResponse = _zod.z.object({
|
|
|
10651
10655
|
token: _zod.z.string()
|
|
10652
10656
|
});
|
|
10653
10657
|
|
|
10658
|
+
// src/api/dto/mcp/stream.ts
|
|
10659
|
+
|
|
10660
|
+
var DTOMCPStream = _zod2.default.object({
|
|
10661
|
+
id: _zod2.default.string().uuid(),
|
|
10662
|
+
projectFeatureId: _zod2.default.string().optional(),
|
|
10663
|
+
projectDocumentId: _zod2.default.string().optional()
|
|
10664
|
+
});
|
|
10665
|
+
var DTOMCPStreamUpdateInput = _zod2.default.object({
|
|
10666
|
+
projectFeatureId: _zod2.default.string().optional(),
|
|
10667
|
+
projectDocumentId: _zod2.default.string().optional()
|
|
10668
|
+
});
|
|
10669
|
+
var DTOMCPStreamResponse = _zod2.default.object({
|
|
10670
|
+
stream: DTOMCPStream
|
|
10671
|
+
});
|
|
10672
|
+
|
|
10654
10673
|
// src/api/dto/portal/portal-settings.ts
|
|
10655
10674
|
|
|
10656
10675
|
var DTOPortalSettingsTheme = PortalSettingsTheme;
|
|
@@ -10840,21 +10859,6 @@ var DTOTrailEventClientCreate = _zod.z.discriminatedUnion("type", [
|
|
|
10840
10859
|
_zod.z.object({ type: _zod.z.literal("DocumentCommentSent"), payload: DTOTrailEventDocumentCommentSentPayload })
|
|
10841
10860
|
]).and(DTOTrailEventBase.omit({ id: true, createdAt: true, updatedAt: true }));
|
|
10842
10861
|
|
|
10843
|
-
// src/api/dto/mcp/stream.ts
|
|
10844
|
-
|
|
10845
|
-
var DTOMCPStream = _zod2.default.object({
|
|
10846
|
-
id: _zod2.default.string().uuid(),
|
|
10847
|
-
projectFeatureId: _zod2.default.string().optional(),
|
|
10848
|
-
projectDocumentId: _zod2.default.string().optional()
|
|
10849
|
-
});
|
|
10850
|
-
var DTOMCPStreamUpdateInput = _zod2.default.object({
|
|
10851
|
-
projectFeatureId: _zod2.default.string().optional(),
|
|
10852
|
-
projectDocumentId: _zod2.default.string().optional()
|
|
10853
|
-
});
|
|
10854
|
-
var DTOMCPStreamResponse = _zod2.default.object({
|
|
10855
|
-
stream: DTOMCPStream
|
|
10856
|
-
});
|
|
10857
|
-
|
|
10858
10862
|
// src/utils/figma.ts
|
|
10859
10863
|
var figmaFileIdRegex = /^[0-9a-zA-Z]{22,128}$/;
|
|
10860
10864
|
var nodeIdRegex = /^\d+-\d+$/;
|
|
@@ -12448,6 +12452,25 @@ var ForgeProjectIterationsEndpoint = class {
|
|
|
12448
12452
|
}
|
|
12449
12453
|
};
|
|
12450
12454
|
|
|
12455
|
+
// src/api/endpoints/mcp/streams.ts
|
|
12456
|
+
var MCPStreamsEndpoint = class {
|
|
12457
|
+
constructor(requestExecutor) {
|
|
12458
|
+
this.requestExecutor = requestExecutor;
|
|
12459
|
+
}
|
|
12460
|
+
getById(streamId) {
|
|
12461
|
+
return this.requestExecutor.json(`/mcp/streams/${streamId}`, DTOMCPStreamResponse);
|
|
12462
|
+
}
|
|
12463
|
+
getForUser() {
|
|
12464
|
+
return this.requestExecutor.json(`/mcp/streams/user`, DTOMCPStreamResponse);
|
|
12465
|
+
}
|
|
12466
|
+
updateForUser(body) {
|
|
12467
|
+
return this.requestExecutor.json(`/mcp/streams/user`, DTOMCPStreamResponse, {
|
|
12468
|
+
method: "PUT",
|
|
12469
|
+
body
|
|
12470
|
+
});
|
|
12471
|
+
}
|
|
12472
|
+
};
|
|
12473
|
+
|
|
12451
12474
|
// src/api/endpoints/workspaces/chat-threads.ts
|
|
12452
12475
|
|
|
12453
12476
|
var WorkspaceChatThreadsEndpoint = class {
|
|
@@ -12774,25 +12797,6 @@ var UsersEndpoint = class {
|
|
|
12774
12797
|
}
|
|
12775
12798
|
};
|
|
12776
12799
|
|
|
12777
|
-
// src/api/endpoints/mcp/streams.ts
|
|
12778
|
-
var MCPStreamsEndpoint = class {
|
|
12779
|
-
constructor(requestExecutor) {
|
|
12780
|
-
this.requestExecutor = requestExecutor;
|
|
12781
|
-
}
|
|
12782
|
-
getById(streamId) {
|
|
12783
|
-
return this.requestExecutor.json(`/mcp/streams/${streamId}`, DTOMCPStreamResponse);
|
|
12784
|
-
}
|
|
12785
|
-
getForUser() {
|
|
12786
|
-
return this.requestExecutor.json(`/mcp/streams/user`, DTOMCPStreamResponse);
|
|
12787
|
-
}
|
|
12788
|
-
updateForUser(body) {
|
|
12789
|
-
return this.requestExecutor.json(`/mcp/streams/user`, DTOMCPStreamResponse, {
|
|
12790
|
-
method: "PUT",
|
|
12791
|
-
body
|
|
12792
|
-
});
|
|
12793
|
-
}
|
|
12794
|
-
};
|
|
12795
|
-
|
|
12796
12800
|
// src/api/transport/request-executor-error.ts
|
|
12797
12801
|
var RequestExecutorError = class _RequestExecutorError extends Error {
|
|
12798
12802
|
constructor(type, message, errorCode, serverErrorType, cause) {
|