@supernova-studio/client 1.52.4 → 1.54.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 +151 -24
- package/dist/index.d.ts +151 -24
- package/dist/index.js +17 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +16 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -351,6 +351,7 @@ var FeaturesSummary = z7.object({
|
|
|
351
351
|
forgeActiveDocumentsPerProject: featureLimitedSchema,
|
|
352
352
|
forgePrivateProjects: featureToggleSchema,
|
|
353
353
|
forgeActiveProjectContexts: featureLimitedSchema,
|
|
354
|
+
documentationPages: featureLimitedSchema,
|
|
354
355
|
sandboxTemplates: featureToggleSchema
|
|
355
356
|
});
|
|
356
357
|
var InvoiceSchema = z8.object({
|
|
@@ -7693,7 +7694,11 @@ var DTODesignSystemUpdateInput = DesignSystem.partial().omit({
|
|
|
7693
7694
|
docViewUrl: true,
|
|
7694
7695
|
accessMode: true
|
|
7695
7696
|
}).extend({
|
|
7696
|
-
meta: ObjectMeta.partial().optional()
|
|
7697
|
+
meta: ObjectMeta.partial().optional(),
|
|
7698
|
+
/**
|
|
7699
|
+
* @deprecated Use the `designSystems.updateSwitcher` endpoint instead
|
|
7700
|
+
*/
|
|
7701
|
+
designSystemSwitcher: DesignSystemSwitcher.optional()
|
|
7697
7702
|
});
|
|
7698
7703
|
var DTODesignSystemUpdateAccessModeInput = z255.object({
|
|
7699
7704
|
accessMode: DesignSystemAccessMode,
|
|
@@ -7702,6 +7707,9 @@ var DTODesignSystemUpdateAccessModeInput = z255.object({
|
|
|
7702
7707
|
inviteIds: z255.string().array()
|
|
7703
7708
|
}).optional()
|
|
7704
7709
|
});
|
|
7710
|
+
var DTODesignSystemUpdateSwitcherInput = z255.object({
|
|
7711
|
+
designSystemSwitcher: DesignSystemSwitcher
|
|
7712
|
+
});
|
|
7705
7713
|
|
|
7706
7714
|
// src/api/payloads/design-systems/version.ts
|
|
7707
7715
|
import { z as z256 } from "zod";
|
|
@@ -12343,6 +12351,12 @@ var DesignSystemsEndpoint = class {
|
|
|
12343
12351
|
body
|
|
12344
12352
|
});
|
|
12345
12353
|
}
|
|
12354
|
+
updateSwitcher(dsId, body) {
|
|
12355
|
+
return this.requestExecutor.json(`/design-systems/${dsId}/switcher`, DTODesignSystemResponse, {
|
|
12356
|
+
method: "PUT",
|
|
12357
|
+
body
|
|
12358
|
+
});
|
|
12359
|
+
}
|
|
12346
12360
|
updateAccessMode(dsId, body) {
|
|
12347
12361
|
return this.requestExecutor.json(`/design-systems/${dsId}/access-mode`, DTODesignSystemResponse, {
|
|
12348
12362
|
method: "PUT",
|
|
@@ -19997,6 +20011,7 @@ export {
|
|
|
19997
20011
|
DTODesignSystemRole,
|
|
19998
20012
|
DTODesignSystemUpdateAccessModeInput,
|
|
19999
20013
|
DTODesignSystemUpdateInput,
|
|
20014
|
+
DTODesignSystemUpdateSwitcherInput,
|
|
20000
20015
|
DTODesignSystemVersion,
|
|
20001
20016
|
DTODesignSystemVersionCreationResponse,
|
|
20002
20017
|
DTODesignSystemVersionGetResponse,
|