@supernova-studio/supernova-sdk-beta 2.4.9 → 2.4.11

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.
Files changed (33) hide show
  1. package/build/supernova-sdk-typescript.js +1 -1
  2. package/build/supernova-sdk-typescript.js.map +1 -1
  3. package/build/types/core/areas/SDKAreaBulkOperations.d.ts +72 -72
  4. package/build/types/core/areas/SDKAreaDesignSystems.d.ts +13 -13
  5. package/build/types/core/areas/SDKAreaDocumentation.d.ts +288 -288
  6. package/build/types/core/areas/SDKAreaMCP.d.ts +8 -1
  7. package/build/types/core/areas/SDKAreaProjects.d.ts +1091 -1091
  8. package/build/types/core/areas/SDKAreaRawData.d.ts +1046 -1046
  9. package/build/types/core/areas/SDKAreaResources.d.ts +90 -90
  10. package/build/types/core/areas/SDKAreaSanboxes.d.ts +9 -9
  11. package/build/types/core/areas/SDKAreaThreads.d.ts +67 -67
  12. package/build/types/core/areas/SDKAreaWorkspaces.d.ts +1 -1
  13. package/build/types/core/data/SDKDataCore.d.ts +1735 -1732
  14. package/build/types/core/data/requests/SDKDataCoreReadRequests.d.ts +628 -601
  15. package/build/types/core/data/requests/SDKDataCoreWriteRequests.d.ts +2494 -2495
  16. package/build/types/core/resolvers/SDKDocsEntityItemResolver.d.ts +121 -121
  17. package/build/types/exports.d.ts +1 -0
  18. package/build/types/model/activity-events/SDKActivityEvent.d.ts +3 -0
  19. package/build/types/model/agent-chats/SDKAgentChat.d.ts +3 -0
  20. package/build/types/model/base/SDKDesignSystem.d.ts +3 -1
  21. package/build/types/model/docs/blocks/properties/SDKDocsBlockContextProperty.d.ts +1 -1
  22. package/build/types/model/exporters/SDKPipeline.d.ts +1 -1
  23. package/build/types/tools/design-tokens/utilities/SDKDTJSONConverter.d.ts +29 -3
  24. package/build/types/tools/design-tokens/utilities/SDKDTJSONLoader.d.ts +2 -0
  25. package/build/types/tools/design-tokens/utilities/SDKDTMapLoader.d.ts +31 -0
  26. package/build/types/tools/design-tokens/utilities/SDKDTTokenReferenceResolver.d.ts +2 -0
  27. package/build/types/tools/design-tokens/utilities/unresolvable-modes/index.d.ts +4 -0
  28. package/build/types/tools/design-tokens/utilities/unresolvable-modes/lenient-resolve.d.ts +2 -0
  29. package/build/types/tools/design-tokens/utilities/unresolvable-modes/placeholder.d.ts +2 -0
  30. package/build/types/tools/design-tokens/utilities/unresolvable-modes/preserve.d.ts +2 -0
  31. package/build/types/tools/design-tokens/utilities/unresolvable-modes/strict.d.ts +2 -0
  32. package/build/types/tools/design-tokens/utilities/unresolvable-modes/types.d.ts +33 -0
  33. package/package.json +1 -1
@@ -107,126 +107,126 @@ export declare class AreaDocumentation {
107
107
  * @returns Newly created documentation group
108
108
  */
109
109
  updateDocumentationGroup(from: RemoteWorkspaceVersionIdentifier, payload: DTOUpdateDocumentationGroupInput): Promise<{
110
- type?: "DocumentationPageCreate";
111
- output?: {
112
- success?: true;
110
+ type: "DocumentationPageCreate";
111
+ output: {
112
+ success: true;
113
113
  };
114
114
  } | {
115
- type?: "DocumentationPageUpdate";
116
- output?: {
117
- success?: true;
115
+ type: "DocumentationPageUpdate";
116
+ output: {
117
+ success: true;
118
118
  };
119
119
  } | {
120
- type?: "DocumentationPageUpdateDocument";
121
- output?: {
122
- success?: true;
120
+ type: "DocumentationPageUpdateDocument";
121
+ output: {
122
+ success: true;
123
123
  };
124
124
  } | {
125
- type?: "DocumentationPageMove";
126
- output?: {
127
- success?: true;
125
+ type: "DocumentationPageMove";
126
+ output: {
127
+ success: true;
128
128
  };
129
129
  } | {
130
- type?: "DocumentationPageDuplicate";
131
- output?: {
132
- success?: true;
130
+ type: "DocumentationPageDuplicate";
131
+ output: {
132
+ success: true;
133
133
  };
134
134
  } | {
135
- type?: "DocumentationPageDelete";
136
- output?: {
137
- success?: true;
135
+ type: "DocumentationPageDelete";
136
+ output: {
137
+ success: true;
138
138
  };
139
139
  } | {
140
- type?: "DocumentationGroupCreate";
141
- output?: {
142
- success?: true;
140
+ type: "DocumentationGroupCreate";
141
+ output: {
142
+ success: true;
143
143
  };
144
144
  } | {
145
- type?: "DocumentationTabCreate";
146
- output?: {
147
- success?: true;
145
+ type: "DocumentationTabCreate";
146
+ output: {
147
+ success: true;
148
148
  };
149
149
  } | {
150
- type?: "DocumentationGroupUpdate";
151
- output?: {
152
- success?: true;
150
+ type: "DocumentationGroupUpdate";
151
+ output: {
152
+ success: true;
153
153
  };
154
154
  } | {
155
- type?: "DocumentationGroupMove";
156
- output?: {
157
- success?: true;
155
+ type: "DocumentationGroupMove";
156
+ output: {
157
+ success: true;
158
158
  };
159
159
  } | {
160
- type?: "DocumentationGroupDuplicate";
161
- output?: {
162
- success?: true;
160
+ type: "DocumentationGroupDuplicate";
161
+ output: {
162
+ success: true;
163
163
  };
164
164
  } | {
165
- type?: "DocumentationGroupDelete";
166
- output?: {
167
- success?: true;
165
+ type: "DocumentationGroupDelete";
166
+ output: {
167
+ success: true;
168
168
  };
169
169
  } | {
170
- type?: "DocumentationTabGroupDelete";
171
- output?: {
172
- success?: true;
170
+ type: "DocumentationTabGroupDelete";
171
+ output: {
172
+ success: true;
173
173
  };
174
174
  } | {
175
- type?: "FigmaNodeRenderAsync";
176
- figmaNodes?: {
177
- id?: string;
178
- designSystemVersionId?: string;
179
- createdAt?: Date;
180
- updatedAt?: Date;
181
- meta?: {
182
- name?: string;
175
+ type: "FigmaNodeRenderAsync";
176
+ figmaNodes: {
177
+ id: string;
178
+ designSystemVersionId: string;
179
+ createdAt: Date;
180
+ updatedAt: Date;
181
+ meta: {
182
+ name: string;
183
183
  description?: string;
184
184
  };
185
- persistentId?: string;
186
- data?: {
187
- format?: "Png" | "Svg";
185
+ persistentId: string;
186
+ data: {
187
+ sceneNodeId: string;
188
+ format: "Png" | "Svg";
189
+ renderState: "Success" | "InProgress" | "Failed";
190
+ hasSource: boolean;
188
191
  scale?: number;
189
- sceneNodeId?: string;
190
- renderState?: "Success" | "InProgress" | "Failed";
191
192
  renderedImage?: {
193
+ resourceId: string;
194
+ format: "Png" | "Svg";
195
+ scale?: number;
192
196
  width?: number;
193
- url?: string;
194
197
  height?: number;
195
- resourceId?: string;
196
- format?: "Png" | "Svg";
197
- scale?: number;
198
+ url?: string;
198
199
  originKey?: string;
199
200
  };
200
201
  renderError?: {
201
- type?: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
202
+ type: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
202
203
  };
203
- hasSource?: boolean;
204
204
  };
205
- origin?: {
206
- sourceId?: string;
205
+ origin: {
206
+ sourceId: string;
207
207
  fileId?: string;
208
208
  parentName?: string;
209
209
  };
210
210
  }[];
211
211
  } | {
212
- type?: "DocumentationPageRestore";
213
- output?: {
214
- success?: true;
212
+ type: "DocumentationPageRestore";
213
+ output: {
214
+ success: true;
215
215
  };
216
216
  } | {
217
- type?: "DocumentationGroupRestore";
218
- output?: {
219
- success?: true;
217
+ type: "DocumentationGroupRestore";
218
+ output: {
219
+ success: true;
220
220
  };
221
221
  } | {
222
- type?: "DocumentationPageApprovalStateChange";
223
- output?: {
224
- success?: true;
222
+ type: "DocumentationPageApprovalStateChange";
223
+ output: {
224
+ success: true;
225
225
  };
226
226
  } | {
227
- type?: "ElementPropertyValuesEdit";
228
- output?: {
229
- success?: true;
227
+ type: "ElementPropertyValuesEdit";
228
+ output: {
229
+ success: true;
230
230
  };
231
231
  }>;
232
232
  /** Moves a documentation page
@@ -235,126 +235,126 @@ export declare class AreaDocumentation {
235
235
  * @returns nothing
236
236
  */
237
237
  moveDocumentationPage(from: RemoteWorkspaceVersionIdentifier, payload: DTOMoveDocumentationPageInputV2): Promise<{
238
- type?: "DocumentationPageCreate";
239
- output?: {
240
- success?: true;
238
+ type: "DocumentationPageCreate";
239
+ output: {
240
+ success: true;
241
241
  };
242
242
  } | {
243
- type?: "DocumentationPageUpdate";
244
- output?: {
245
- success?: true;
243
+ type: "DocumentationPageUpdate";
244
+ output: {
245
+ success: true;
246
246
  };
247
247
  } | {
248
- type?: "DocumentationPageUpdateDocument";
249
- output?: {
250
- success?: true;
248
+ type: "DocumentationPageUpdateDocument";
249
+ output: {
250
+ success: true;
251
251
  };
252
252
  } | {
253
- type?: "DocumentationPageMove";
254
- output?: {
255
- success?: true;
253
+ type: "DocumentationPageMove";
254
+ output: {
255
+ success: true;
256
256
  };
257
257
  } | {
258
- type?: "DocumentationPageDuplicate";
259
- output?: {
260
- success?: true;
258
+ type: "DocumentationPageDuplicate";
259
+ output: {
260
+ success: true;
261
261
  };
262
262
  } | {
263
- type?: "DocumentationPageDelete";
264
- output?: {
265
- success?: true;
263
+ type: "DocumentationPageDelete";
264
+ output: {
265
+ success: true;
266
266
  };
267
267
  } | {
268
- type?: "DocumentationGroupCreate";
269
- output?: {
270
- success?: true;
268
+ type: "DocumentationGroupCreate";
269
+ output: {
270
+ success: true;
271
271
  };
272
272
  } | {
273
- type?: "DocumentationTabCreate";
274
- output?: {
275
- success?: true;
273
+ type: "DocumentationTabCreate";
274
+ output: {
275
+ success: true;
276
276
  };
277
277
  } | {
278
- type?: "DocumentationGroupUpdate";
279
- output?: {
280
- success?: true;
278
+ type: "DocumentationGroupUpdate";
279
+ output: {
280
+ success: true;
281
281
  };
282
282
  } | {
283
- type?: "DocumentationGroupMove";
284
- output?: {
285
- success?: true;
283
+ type: "DocumentationGroupMove";
284
+ output: {
285
+ success: true;
286
286
  };
287
287
  } | {
288
- type?: "DocumentationGroupDuplicate";
289
- output?: {
290
- success?: true;
288
+ type: "DocumentationGroupDuplicate";
289
+ output: {
290
+ success: true;
291
291
  };
292
292
  } | {
293
- type?: "DocumentationGroupDelete";
294
- output?: {
295
- success?: true;
293
+ type: "DocumentationGroupDelete";
294
+ output: {
295
+ success: true;
296
296
  };
297
297
  } | {
298
- type?: "DocumentationTabGroupDelete";
299
- output?: {
300
- success?: true;
298
+ type: "DocumentationTabGroupDelete";
299
+ output: {
300
+ success: true;
301
301
  };
302
302
  } | {
303
- type?: "FigmaNodeRenderAsync";
304
- figmaNodes?: {
305
- id?: string;
306
- designSystemVersionId?: string;
307
- createdAt?: Date;
308
- updatedAt?: Date;
309
- meta?: {
310
- name?: string;
303
+ type: "FigmaNodeRenderAsync";
304
+ figmaNodes: {
305
+ id: string;
306
+ designSystemVersionId: string;
307
+ createdAt: Date;
308
+ updatedAt: Date;
309
+ meta: {
310
+ name: string;
311
311
  description?: string;
312
312
  };
313
- persistentId?: string;
314
- data?: {
315
- format?: "Png" | "Svg";
313
+ persistentId: string;
314
+ data: {
315
+ sceneNodeId: string;
316
+ format: "Png" | "Svg";
317
+ renderState: "Success" | "InProgress" | "Failed";
318
+ hasSource: boolean;
316
319
  scale?: number;
317
- sceneNodeId?: string;
318
- renderState?: "Success" | "InProgress" | "Failed";
319
320
  renderedImage?: {
321
+ resourceId: string;
322
+ format: "Png" | "Svg";
323
+ scale?: number;
320
324
  width?: number;
321
- url?: string;
322
325
  height?: number;
323
- resourceId?: string;
324
- format?: "Png" | "Svg";
325
- scale?: number;
326
+ url?: string;
326
327
  originKey?: string;
327
328
  };
328
329
  renderError?: {
329
- type?: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
330
+ type: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
330
331
  };
331
- hasSource?: boolean;
332
332
  };
333
- origin?: {
334
- sourceId?: string;
333
+ origin: {
334
+ sourceId: string;
335
335
  fileId?: string;
336
336
  parentName?: string;
337
337
  };
338
338
  }[];
339
339
  } | {
340
- type?: "DocumentationPageRestore";
341
- output?: {
342
- success?: true;
340
+ type: "DocumentationPageRestore";
341
+ output: {
342
+ success: true;
343
343
  };
344
344
  } | {
345
- type?: "DocumentationGroupRestore";
346
- output?: {
347
- success?: true;
345
+ type: "DocumentationGroupRestore";
346
+ output: {
347
+ success: true;
348
348
  };
349
349
  } | {
350
- type?: "DocumentationPageApprovalStateChange";
351
- output?: {
352
- success?: true;
350
+ type: "DocumentationPageApprovalStateChange";
351
+ output: {
352
+ success: true;
353
353
  };
354
354
  } | {
355
- type?: "ElementPropertyValuesEdit";
356
- output?: {
357
- success?: true;
355
+ type: "ElementPropertyValuesEdit";
356
+ output: {
357
+ success: true;
358
358
  };
359
359
  }>;
360
360
  /** Moves a documentation group
@@ -363,126 +363,126 @@ export declare class AreaDocumentation {
363
363
  * @returns nothing
364
364
  */
365
365
  moveDocumentationGroup(from: RemoteWorkspaceVersionIdentifier, payload: DTOMoveDocumentationGroupInput): Promise<{
366
- type?: "DocumentationPageCreate";
367
- output?: {
368
- success?: true;
366
+ type: "DocumentationPageCreate";
367
+ output: {
368
+ success: true;
369
369
  };
370
370
  } | {
371
- type?: "DocumentationPageUpdate";
372
- output?: {
373
- success?: true;
371
+ type: "DocumentationPageUpdate";
372
+ output: {
373
+ success: true;
374
374
  };
375
375
  } | {
376
- type?: "DocumentationPageUpdateDocument";
377
- output?: {
378
- success?: true;
376
+ type: "DocumentationPageUpdateDocument";
377
+ output: {
378
+ success: true;
379
379
  };
380
380
  } | {
381
- type?: "DocumentationPageMove";
382
- output?: {
383
- success?: true;
381
+ type: "DocumentationPageMove";
382
+ output: {
383
+ success: true;
384
384
  };
385
385
  } | {
386
- type?: "DocumentationPageDuplicate";
387
- output?: {
388
- success?: true;
386
+ type: "DocumentationPageDuplicate";
387
+ output: {
388
+ success: true;
389
389
  };
390
390
  } | {
391
- type?: "DocumentationPageDelete";
392
- output?: {
393
- success?: true;
391
+ type: "DocumentationPageDelete";
392
+ output: {
393
+ success: true;
394
394
  };
395
395
  } | {
396
- type?: "DocumentationGroupCreate";
397
- output?: {
398
- success?: true;
396
+ type: "DocumentationGroupCreate";
397
+ output: {
398
+ success: true;
399
399
  };
400
400
  } | {
401
- type?: "DocumentationTabCreate";
402
- output?: {
403
- success?: true;
401
+ type: "DocumentationTabCreate";
402
+ output: {
403
+ success: true;
404
404
  };
405
405
  } | {
406
- type?: "DocumentationGroupUpdate";
407
- output?: {
408
- success?: true;
406
+ type: "DocumentationGroupUpdate";
407
+ output: {
408
+ success: true;
409
409
  };
410
410
  } | {
411
- type?: "DocumentationGroupMove";
412
- output?: {
413
- success?: true;
411
+ type: "DocumentationGroupMove";
412
+ output: {
413
+ success: true;
414
414
  };
415
415
  } | {
416
- type?: "DocumentationGroupDuplicate";
417
- output?: {
418
- success?: true;
416
+ type: "DocumentationGroupDuplicate";
417
+ output: {
418
+ success: true;
419
419
  };
420
420
  } | {
421
- type?: "DocumentationGroupDelete";
422
- output?: {
423
- success?: true;
421
+ type: "DocumentationGroupDelete";
422
+ output: {
423
+ success: true;
424
424
  };
425
425
  } | {
426
- type?: "DocumentationTabGroupDelete";
427
- output?: {
428
- success?: true;
426
+ type: "DocumentationTabGroupDelete";
427
+ output: {
428
+ success: true;
429
429
  };
430
430
  } | {
431
- type?: "FigmaNodeRenderAsync";
432
- figmaNodes?: {
433
- id?: string;
434
- designSystemVersionId?: string;
435
- createdAt?: Date;
436
- updatedAt?: Date;
437
- meta?: {
438
- name?: string;
431
+ type: "FigmaNodeRenderAsync";
432
+ figmaNodes: {
433
+ id: string;
434
+ designSystemVersionId: string;
435
+ createdAt: Date;
436
+ updatedAt: Date;
437
+ meta: {
438
+ name: string;
439
439
  description?: string;
440
440
  };
441
- persistentId?: string;
442
- data?: {
443
- format?: "Png" | "Svg";
441
+ persistentId: string;
442
+ data: {
443
+ sceneNodeId: string;
444
+ format: "Png" | "Svg";
445
+ renderState: "Success" | "InProgress" | "Failed";
446
+ hasSource: boolean;
444
447
  scale?: number;
445
- sceneNodeId?: string;
446
- renderState?: "Success" | "InProgress" | "Failed";
447
448
  renderedImage?: {
449
+ resourceId: string;
450
+ format: "Png" | "Svg";
451
+ scale?: number;
448
452
  width?: number;
449
- url?: string;
450
453
  height?: number;
451
- resourceId?: string;
452
- format?: "Png" | "Svg";
453
- scale?: number;
454
+ url?: string;
454
455
  originKey?: string;
455
456
  };
456
457
  renderError?: {
457
- type?: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
458
+ type: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
458
459
  };
459
- hasSource?: boolean;
460
460
  };
461
- origin?: {
462
- sourceId?: string;
461
+ origin: {
462
+ sourceId: string;
463
463
  fileId?: string;
464
464
  parentName?: string;
465
465
  };
466
466
  }[];
467
467
  } | {
468
- type?: "DocumentationPageRestore";
469
- output?: {
470
- success?: true;
468
+ type: "DocumentationPageRestore";
469
+ output: {
470
+ success: true;
471
471
  };
472
472
  } | {
473
- type?: "DocumentationGroupRestore";
474
- output?: {
475
- success?: true;
473
+ type: "DocumentationGroupRestore";
474
+ output: {
475
+ success: true;
476
476
  };
477
477
  } | {
478
- type?: "DocumentationPageApprovalStateChange";
479
- output?: {
480
- success?: true;
478
+ type: "DocumentationPageApprovalStateChange";
479
+ output: {
480
+ success: true;
481
481
  };
482
482
  } | {
483
- type?: "ElementPropertyValuesEdit";
484
- output?: {
485
- success?: true;
483
+ type: "ElementPropertyValuesEdit";
484
+ output: {
485
+ success: true;
486
486
  };
487
487
  }>;
488
488
  /** Deletes a documentation group
@@ -530,126 +530,126 @@ export declare class AreaDocumentation {
530
530
  * @returns page
531
531
  */
532
532
  updateDocumentationPageOrTab(from: RemoteWorkspaceVersionIdentifier, payload: DTOUpdateDocumentationPageInputV2): Promise<{
533
- type?: "DocumentationPageCreate";
534
- output?: {
535
- success?: true;
533
+ type: "DocumentationPageCreate";
534
+ output: {
535
+ success: true;
536
536
  };
537
537
  } | {
538
- type?: "DocumentationPageUpdate";
539
- output?: {
540
- success?: true;
538
+ type: "DocumentationPageUpdate";
539
+ output: {
540
+ success: true;
541
541
  };
542
542
  } | {
543
- type?: "DocumentationPageUpdateDocument";
544
- output?: {
545
- success?: true;
543
+ type: "DocumentationPageUpdateDocument";
544
+ output: {
545
+ success: true;
546
546
  };
547
547
  } | {
548
- type?: "DocumentationPageMove";
549
- output?: {
550
- success?: true;
548
+ type: "DocumentationPageMove";
549
+ output: {
550
+ success: true;
551
551
  };
552
552
  } | {
553
- type?: "DocumentationPageDuplicate";
554
- output?: {
555
- success?: true;
553
+ type: "DocumentationPageDuplicate";
554
+ output: {
555
+ success: true;
556
556
  };
557
557
  } | {
558
- type?: "DocumentationPageDelete";
559
- output?: {
560
- success?: true;
558
+ type: "DocumentationPageDelete";
559
+ output: {
560
+ success: true;
561
561
  };
562
562
  } | {
563
- type?: "DocumentationGroupCreate";
564
- output?: {
565
- success?: true;
563
+ type: "DocumentationGroupCreate";
564
+ output: {
565
+ success: true;
566
566
  };
567
567
  } | {
568
- type?: "DocumentationTabCreate";
569
- output?: {
570
- success?: true;
568
+ type: "DocumentationTabCreate";
569
+ output: {
570
+ success: true;
571
571
  };
572
572
  } | {
573
- type?: "DocumentationGroupUpdate";
574
- output?: {
575
- success?: true;
573
+ type: "DocumentationGroupUpdate";
574
+ output: {
575
+ success: true;
576
576
  };
577
577
  } | {
578
- type?: "DocumentationGroupMove";
579
- output?: {
580
- success?: true;
578
+ type: "DocumentationGroupMove";
579
+ output: {
580
+ success: true;
581
581
  };
582
582
  } | {
583
- type?: "DocumentationGroupDuplicate";
584
- output?: {
585
- success?: true;
583
+ type: "DocumentationGroupDuplicate";
584
+ output: {
585
+ success: true;
586
586
  };
587
587
  } | {
588
- type?: "DocumentationGroupDelete";
589
- output?: {
590
- success?: true;
588
+ type: "DocumentationGroupDelete";
589
+ output: {
590
+ success: true;
591
591
  };
592
592
  } | {
593
- type?: "DocumentationTabGroupDelete";
594
- output?: {
595
- success?: true;
593
+ type: "DocumentationTabGroupDelete";
594
+ output: {
595
+ success: true;
596
596
  };
597
597
  } | {
598
- type?: "FigmaNodeRenderAsync";
599
- figmaNodes?: {
600
- id?: string;
601
- designSystemVersionId?: string;
602
- createdAt?: Date;
603
- updatedAt?: Date;
604
- meta?: {
605
- name?: string;
598
+ type: "FigmaNodeRenderAsync";
599
+ figmaNodes: {
600
+ id: string;
601
+ designSystemVersionId: string;
602
+ createdAt: Date;
603
+ updatedAt: Date;
604
+ meta: {
605
+ name: string;
606
606
  description?: string;
607
607
  };
608
- persistentId?: string;
609
- data?: {
610
- format?: "Png" | "Svg";
608
+ persistentId: string;
609
+ data: {
610
+ sceneNodeId: string;
611
+ format: "Png" | "Svg";
612
+ renderState: "Success" | "InProgress" | "Failed";
613
+ hasSource: boolean;
611
614
  scale?: number;
612
- sceneNodeId?: string;
613
- renderState?: "Success" | "InProgress" | "Failed";
614
615
  renderedImage?: {
616
+ resourceId: string;
617
+ format: "Png" | "Svg";
618
+ scale?: number;
615
619
  width?: number;
616
- url?: string;
617
620
  height?: number;
618
- resourceId?: string;
619
- format?: "Png" | "Svg";
620
- scale?: number;
621
+ url?: string;
621
622
  originKey?: string;
622
623
  };
623
624
  renderError?: {
624
- type?: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
625
+ type: "MissingIntegration" | "NodeNotFound" | "RateLimitExceeded" | "RenderError";
625
626
  };
626
- hasSource?: boolean;
627
627
  };
628
- origin?: {
629
- sourceId?: string;
628
+ origin: {
629
+ sourceId: string;
630
630
  fileId?: string;
631
631
  parentName?: string;
632
632
  };
633
633
  }[];
634
634
  } | {
635
- type?: "DocumentationPageRestore";
636
- output?: {
637
- success?: true;
635
+ type: "DocumentationPageRestore";
636
+ output: {
637
+ success: true;
638
638
  };
639
639
  } | {
640
- type?: "DocumentationGroupRestore";
641
- output?: {
642
- success?: true;
640
+ type: "DocumentationGroupRestore";
641
+ output: {
642
+ success: true;
643
643
  };
644
644
  } | {
645
- type?: "DocumentationPageApprovalStateChange";
646
- output?: {
647
- success?: true;
645
+ type: "DocumentationPageApprovalStateChange";
646
+ output: {
647
+ success: true;
648
648
  };
649
649
  } | {
650
- type?: "ElementPropertyValuesEdit";
651
- output?: {
652
- success?: true;
650
+ type: "ElementPropertyValuesEdit";
651
+ output: {
652
+ success: true;
653
653
  };
654
654
  }>;
655
655
  /** Duplicates a documentation tab or page