@supernova-studio/supernova-sdk-beta 2.4.9 → 2.4.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/build/supernova-sdk-typescript.js +1 -1
- package/build/supernova-sdk-typescript.js.map +1 -1
- package/build/types/core/areas/SDKAreaBulkOperations.d.ts +72 -72
- package/build/types/core/areas/SDKAreaDesignSystems.d.ts +13 -13
- package/build/types/core/areas/SDKAreaDocumentation.d.ts +288 -288
- package/build/types/core/areas/SDKAreaMCP.d.ts +8 -1
- package/build/types/core/areas/SDKAreaProjects.d.ts +1091 -1091
- package/build/types/core/areas/SDKAreaRawData.d.ts +1046 -1046
- package/build/types/core/areas/SDKAreaResources.d.ts +90 -90
- package/build/types/core/areas/SDKAreaSanboxes.d.ts +9 -9
- package/build/types/core/areas/SDKAreaThreads.d.ts +67 -67
- package/build/types/core/areas/SDKAreaWorkspaces.d.ts +1 -1
- package/build/types/core/data/SDKDataCore.d.ts +1735 -1732
- package/build/types/core/data/requests/SDKDataCoreReadRequests.d.ts +628 -601
- package/build/types/core/data/requests/SDKDataCoreWriteRequests.d.ts +2494 -2495
- package/build/types/core/resolvers/SDKDocsEntityItemResolver.d.ts +121 -121
- package/build/types/exports.d.ts +1 -0
- package/build/types/model/activity-events/SDKActivityEvent.d.ts +3 -0
- package/build/types/model/agent-chats/SDKAgentChat.d.ts +3 -0
- package/build/types/model/base/SDKDesignSystem.d.ts +3 -1
- package/build/types/model/docs/blocks/properties/SDKDocsBlockContextProperty.d.ts +1 -1
- package/build/types/model/exporters/SDKPipeline.d.ts +1 -1
- package/build/types/model/exporters/exporter_builds/SDKExportDestinations.d.ts +3 -0
- package/build/types/tools/token-preview/TokenUtilPreviewTypes.d.ts +2 -0
- package/package.json +1 -1
|
@@ -71,126 +71,126 @@ export declare class AreaBulkOperations {
|
|
|
71
71
|
*/
|
|
72
72
|
/** Bulk update properties */
|
|
73
73
|
updateElementProperties(to: RemoteVersionIdentifier, data: DTOElementPropertyValuesEditActionInput["values"]): Promise<{
|
|
74
|
-
type
|
|
75
|
-
output
|
|
76
|
-
success
|
|
74
|
+
type: "DocumentationPageCreate";
|
|
75
|
+
output: {
|
|
76
|
+
success: true;
|
|
77
77
|
};
|
|
78
78
|
} | {
|
|
79
|
-
type
|
|
80
|
-
output
|
|
81
|
-
success
|
|
79
|
+
type: "DocumentationPageUpdate";
|
|
80
|
+
output: {
|
|
81
|
+
success: true;
|
|
82
82
|
};
|
|
83
83
|
} | {
|
|
84
|
-
type
|
|
85
|
-
output
|
|
86
|
-
success
|
|
84
|
+
type: "DocumentationPageUpdateDocument";
|
|
85
|
+
output: {
|
|
86
|
+
success: true;
|
|
87
87
|
};
|
|
88
88
|
} | {
|
|
89
|
-
type
|
|
90
|
-
output
|
|
91
|
-
success
|
|
89
|
+
type: "DocumentationPageMove";
|
|
90
|
+
output: {
|
|
91
|
+
success: true;
|
|
92
92
|
};
|
|
93
93
|
} | {
|
|
94
|
-
type
|
|
95
|
-
output
|
|
96
|
-
success
|
|
94
|
+
type: "DocumentationPageDuplicate";
|
|
95
|
+
output: {
|
|
96
|
+
success: true;
|
|
97
97
|
};
|
|
98
98
|
} | {
|
|
99
|
-
type
|
|
100
|
-
output
|
|
101
|
-
success
|
|
99
|
+
type: "DocumentationPageDelete";
|
|
100
|
+
output: {
|
|
101
|
+
success: true;
|
|
102
102
|
};
|
|
103
103
|
} | {
|
|
104
|
-
type
|
|
105
|
-
output
|
|
106
|
-
success
|
|
104
|
+
type: "DocumentationGroupCreate";
|
|
105
|
+
output: {
|
|
106
|
+
success: true;
|
|
107
107
|
};
|
|
108
108
|
} | {
|
|
109
|
-
type
|
|
110
|
-
output
|
|
111
|
-
success
|
|
109
|
+
type: "DocumentationTabCreate";
|
|
110
|
+
output: {
|
|
111
|
+
success: true;
|
|
112
112
|
};
|
|
113
113
|
} | {
|
|
114
|
-
type
|
|
115
|
-
output
|
|
116
|
-
success
|
|
114
|
+
type: "DocumentationGroupUpdate";
|
|
115
|
+
output: {
|
|
116
|
+
success: true;
|
|
117
117
|
};
|
|
118
118
|
} | {
|
|
119
|
-
type
|
|
120
|
-
output
|
|
121
|
-
success
|
|
119
|
+
type: "DocumentationGroupMove";
|
|
120
|
+
output: {
|
|
121
|
+
success: true;
|
|
122
122
|
};
|
|
123
123
|
} | {
|
|
124
|
-
type
|
|
125
|
-
output
|
|
126
|
-
success
|
|
124
|
+
type: "DocumentationGroupDuplicate";
|
|
125
|
+
output: {
|
|
126
|
+
success: true;
|
|
127
127
|
};
|
|
128
128
|
} | {
|
|
129
|
-
type
|
|
130
|
-
output
|
|
131
|
-
success
|
|
129
|
+
type: "DocumentationGroupDelete";
|
|
130
|
+
output: {
|
|
131
|
+
success: true;
|
|
132
132
|
};
|
|
133
133
|
} | {
|
|
134
|
-
type
|
|
135
|
-
output
|
|
136
|
-
success
|
|
134
|
+
type: "DocumentationTabGroupDelete";
|
|
135
|
+
output: {
|
|
136
|
+
success: true;
|
|
137
137
|
};
|
|
138
138
|
} | {
|
|
139
|
-
type
|
|
140
|
-
figmaNodes
|
|
141
|
-
id
|
|
142
|
-
designSystemVersionId
|
|
143
|
-
createdAt
|
|
144
|
-
updatedAt
|
|
145
|
-
meta
|
|
146
|
-
name
|
|
139
|
+
type: "FigmaNodeRenderAsync";
|
|
140
|
+
figmaNodes: {
|
|
141
|
+
id: string;
|
|
142
|
+
designSystemVersionId: string;
|
|
143
|
+
createdAt: Date;
|
|
144
|
+
updatedAt: Date;
|
|
145
|
+
meta: {
|
|
146
|
+
name: string;
|
|
147
147
|
description?: string;
|
|
148
148
|
};
|
|
149
|
-
persistentId
|
|
150
|
-
data
|
|
151
|
-
|
|
149
|
+
persistentId: string;
|
|
150
|
+
data: {
|
|
151
|
+
sceneNodeId: string;
|
|
152
|
+
format: "Png" | "Svg";
|
|
153
|
+
renderState: "Success" | "InProgress" | "Failed";
|
|
154
|
+
hasSource: boolean;
|
|
152
155
|
scale?: number;
|
|
153
|
-
sceneNodeId?: string;
|
|
154
|
-
renderState?: "Success" | "InProgress" | "Failed";
|
|
155
156
|
renderedImage?: {
|
|
157
|
+
resourceId: string;
|
|
158
|
+
format: "Png" | "Svg";
|
|
159
|
+
scale?: number;
|
|
156
160
|
width?: number;
|
|
157
|
-
url?: string;
|
|
158
161
|
height?: number;
|
|
159
|
-
|
|
160
|
-
format?: "Png" | "Svg";
|
|
161
|
-
scale?: number;
|
|
162
|
+
url?: string;
|
|
162
163
|
originKey?: string;
|
|
163
164
|
};
|
|
164
165
|
renderError?: {
|
|
165
|
-
type
|
|
166
|
+
type: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
|
|
166
167
|
};
|
|
167
|
-
hasSource?: boolean;
|
|
168
168
|
};
|
|
169
|
-
origin
|
|
170
|
-
sourceId
|
|
169
|
+
origin: {
|
|
170
|
+
sourceId: string;
|
|
171
171
|
fileId?: string;
|
|
172
172
|
parentName?: string;
|
|
173
173
|
};
|
|
174
174
|
}[];
|
|
175
175
|
} | {
|
|
176
|
-
type
|
|
177
|
-
output
|
|
178
|
-
success
|
|
176
|
+
type: "DocumentationPageRestore";
|
|
177
|
+
output: {
|
|
178
|
+
success: true;
|
|
179
179
|
};
|
|
180
180
|
} | {
|
|
181
|
-
type
|
|
182
|
-
output
|
|
183
|
-
success
|
|
181
|
+
type: "DocumentationGroupRestore";
|
|
182
|
+
output: {
|
|
183
|
+
success: true;
|
|
184
184
|
};
|
|
185
185
|
} | {
|
|
186
|
-
type
|
|
187
|
-
output
|
|
188
|
-
success
|
|
186
|
+
type: "DocumentationPageApprovalStateChange";
|
|
187
|
+
output: {
|
|
188
|
+
success: true;
|
|
189
189
|
};
|
|
190
190
|
} | {
|
|
191
|
-
type
|
|
192
|
-
output
|
|
193
|
-
success
|
|
191
|
+
type: "ElementPropertyValuesEdit";
|
|
192
|
+
output: {
|
|
193
|
+
success: true;
|
|
194
194
|
};
|
|
195
195
|
}>;
|
|
196
196
|
/** Batch updates, creates or deletes component data from Supernova at once. Use this method to perform multiple operations at once instead of chaining single update operations. Batch routine runs everything in a single transaction, so either all operations succeed or all fail.
|
|
@@ -69,18 +69,18 @@ export declare class AreaDesignSystems {
|
|
|
69
69
|
createDesignSystem(workspaceId: string, name: string, description?: string, accessMode?: DesignSystemAccessMode, usersToInvite?: Array<DesignSystemUserInvitation>, invitesToInvite?: Array<DesignSystemPendingMemberInvite>, emailsToInvite?: Array<DesignSystemInvite>): Promise<DesignSystem>;
|
|
70
70
|
getBlockDefinitions(designSystemId: string, versionId: string): Promise<import("../..").DocsBlockDefinition[]>;
|
|
71
71
|
getUrlPreview(designSystemId: string, versionId: string, request: DTODocumentationLinkPreviewRequest): Promise<{
|
|
72
|
-
linkPreview
|
|
73
|
-
description?: string;
|
|
72
|
+
linkPreview: {
|
|
74
73
|
title?: string;
|
|
74
|
+
description?: string;
|
|
75
75
|
thumbnail?: {
|
|
76
|
-
type
|
|
76
|
+
type: "Resource" | "FigmaNode";
|
|
77
77
|
resource?: {
|
|
78
|
-
|
|
79
|
-
|
|
78
|
+
resourceId: string;
|
|
79
|
+
url: string;
|
|
80
80
|
};
|
|
81
81
|
figmaNode?: {
|
|
82
|
-
sourceId
|
|
83
|
-
frameReferenceId
|
|
82
|
+
sourceId: string;
|
|
83
|
+
frameReferenceId: string;
|
|
84
84
|
};
|
|
85
85
|
};
|
|
86
86
|
};
|
|
@@ -174,12 +174,12 @@ export declare class AreaDesignSystems {
|
|
|
174
174
|
*/
|
|
175
175
|
startSslGenerationForCustomDomain(designSystemId: string): Promise<void>;
|
|
176
176
|
getPageRedirects(designSystemId: string): Promise<{
|
|
177
|
-
id
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
177
|
+
id: string;
|
|
178
|
+
pagePersistentId: string;
|
|
179
|
+
path: string;
|
|
180
|
+
createdAt: Date;
|
|
181
|
+
updatedAt: Date;
|
|
182
|
+
designSystemId: string;
|
|
183
183
|
}[]>;
|
|
184
184
|
createPageRedirect(designSystemId: string, body: DTOPageRedirectCreateBody): Promise<void>;
|
|
185
185
|
updatePageRedirect(designSystemId: string, redirectId: string, body: DTOPageRedirectUpdateBody): Promise<void>;
|