@supernova-studio/supernova-sdk-beta 2.0.32 → 2.0.36

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 (63) hide show
  1. package/build/sdk-typescript/src/core/SDKSupernova.d.ts +10 -0
  2. package/build/sdk-typescript/src/core/areas/SDKAreaAI.d.ts +34 -0
  3. package/build/sdk-typescript/src/core/areas/SDKAreaAssets.d.ts +7 -4
  4. package/build/sdk-typescript/src/core/areas/SDKAreaAutomation.d.ts +26 -7
  5. package/build/sdk-typescript/src/core/areas/SDKAreaDesignSystems.d.ts +19 -1
  6. package/build/sdk-typescript/src/core/areas/SDKAreaDocumentation.d.ts +11 -8
  7. package/build/sdk-typescript/src/core/areas/SDKAreaImport.d.ts +16 -0
  8. package/build/sdk-typescript/src/core/areas/SDKAreaRawData.d.ts +84 -0
  9. package/build/sdk-typescript/src/core/areas/SDKAreaResources.d.ts +6 -1
  10. package/build/sdk-typescript/src/core/data/SDKDataCore.d.ts +52 -10
  11. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreAIRequests.d.ts +15 -0
  12. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreReadRequests.d.ts +19 -2
  13. package/build/sdk-typescript/src/core/data/requests/SDKDataCoreWriteRequests.d.ts +416 -9
  14. package/build/sdk-typescript/src/core/resolvers/SDKDesignComponentGroupResolver.d.ts +5 -0
  15. package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityItemResolver.d.ts +212 -0
  16. package/build/sdk-typescript/src/exports.d.ts +21 -2
  17. package/build/sdk-typescript/src/model/assets/SDKAsset.d.ts +24 -1
  18. package/build/sdk-typescript/src/model/base/SDKBrand.d.ts +1 -2
  19. package/build/sdk-typescript/src/model/base/SDKDesignSystemVersionStats.d.ts +11 -0
  20. package/build/sdk-typescript/src/model/components/SDKDesignComponent.d.ts +1 -0
  21. package/build/sdk-typescript/src/model/components/SDKDesignComponentVariant.d.ts +1 -0
  22. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntity.d.ts +6 -5
  23. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityApprovalState.d.ts +2 -2
  24. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityGroup.d.ts +8 -16
  25. package/build/sdk-typescript/src/model/docs/entities/SDKDocsEntityPage.d.ts +10 -9
  26. package/build/sdk-typescript/src/model/elements/SDKElementProperty.d.ts +4 -0
  27. package/build/sdk-typescript/src/model/elements/SDKElementPropertyOption.d.ts +1 -1
  28. package/build/sdk-typescript/src/model/exporters/SDKExporter.d.ts +15 -0
  29. package/build/sdk-typescript/src/model/exporters/SDKExporterJobDestination.d.ts +36 -0
  30. package/build/sdk-typescript/src/model/exporters/SDKPipeline.d.ts +3 -54
  31. package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyBase.d.ts +11 -0
  32. package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyBoolean.d.ts +7 -0
  33. package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyDefinition.d.ts +6 -0
  34. package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyEnum.d.ts +14 -0
  35. package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyNumber.d.ts +7 -0
  36. package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyObject.d.ts +12 -0
  37. package/build/sdk-typescript/src/model/exporters/custom_properties/SDKExporterPropertyString.d.ts +7 -0
  38. package/build/sdk-typescript/src/model/exporters/exporter_builds/SDKExportBuildResults.d.ts +2 -2
  39. package/build/sdk-typescript/src/model/groups/SDKAssetGroup.d.ts +4 -0
  40. package/build/sdk-typescript/src/model/groups/SDKDesignComponentGroup.d.ts +7 -0
  41. package/build/sdk-typescript/src/model/support/SDKDesignComponentOrigin.d.ts +15 -1
  42. package/build/sdk-typescript/src/model/tokens/remote/SDKRemoteTokenModel.d.ts +1 -0
  43. package/build/sdk-typescript/src/model/users/SDKUser.d.ts +5 -1
  44. package/build/sdk-typescript/src/model/users/SDKUserProfile.d.ts +17 -0
  45. package/build/sdk-typescript/src/tests/helpers.d.ts +2 -5
  46. package/build/sdk-typescript/src/tests/validators.d.ts +24 -23
  47. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewSegmentGenerator.d.ts +26 -1
  48. package/build/sdk-typescript/src/tools/token-preview/TokenUtilPreviewTypes.d.ts +2 -0
  49. package/build/sdk-typescript/src/tools/token-transform/SDKToolsTokenTransform.d.ts +2 -0
  50. package/build/sdk-typescript/src/utils/TokenUtils.d.ts +5 -0
  51. package/build/sdk-typescript/vitest.config-ci.d.ts +2 -0
  52. package/build/sdk-typescript/vitest.config-token-studio.d.ts +2 -0
  53. package/build/sdk-typescript/vitest.config.d.ts +2 -0
  54. package/build/supernova-sdk-typescript.js +1 -1
  55. package/build/supernova-sdk-typescript.js.map +1 -1
  56. package/package.json +3 -3
  57. package/build/sdk-typescript/src/core/resolvers/SDKDocsEntityMultiplayerItemResolver.d.ts +0 -7
  58. package/build/sdk-typescript/src/tests/Tooling/ReadTokens.spec.d.ts +0 -1
  59. package/build/sdk-typescript/src/tests/Tooling/TokensModel.spec.d.ts +0 -1
  60. package/build/sdk-typescript/src/tests/Tooling/ToolDocSearch.spec.d.ts +0 -1
  61. package/build/sdk-typescript/src/tests/Tooling/ToolMarkdownTransform.spec.d.ts +0 -1
  62. /package/build/sdk-typescript/src/tests/Areas/{AreaAssets.spec.d.ts → AreaImport.spec.d.ts} +0 -0
  63. /package/build/sdk-typescript/src/tests/Tooling/{PluginFigmaTokens.spec.d.ts → TokensModel.spec.token-studio.d.ts} +0 -0
@@ -1,6 +1,6 @@
1
- import { DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationPageApprovalStateChangeInput, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOFigmaNode, DTOFigmaNodeRenderInput, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOPublishDocumentationRequest, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2 } from "@supernova-studio/client";
1
+ import { DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationPageApprovalStateChangeInput, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOExporterPropertyValueMap, DTOFigmaNode, DTOFigmaNodeRenderIdInput, DTOFigmaNodeRenderInput, DTOFigmaNodeV2, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOPageRedirectCreateBody, DTOPageRedirectUpdateBody, DTOPipelineCreateBody, DTOPipelineUpdateBody, DTOPublishDocumentationRequest, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2 } from "@supernova-studio/client";
2
2
  import { DesignSystemInvite, DesignSystemInviteUpdate, DesignSystemMemberUpdate, DesignSystemPendingMemberInvite, DesignSystemUserInvitation } from "@supernova-studio/model";
3
- import { DesignSystemAccessMode, TokenThemeOverrideTranserObject, UserRole } from "../../../exports";
3
+ import { DesignSystemAccessMode, ExporterJobDestination, TokenThemeOverrideTranserObject, UserRole } from "../../../exports";
4
4
  import { Brand, BrandRemoteModel, BrandUpdateModel } from "../../../model/base/SDKBrand";
5
5
  import { DesignSystem, DesignSystemSwitcher } from "../../../model/base/SDKDesignSystem";
6
6
  import { DesignSystemVersionCreateRemoteModel, DesignSystemVersionUpdateModel } from "../../../model/base/SDKDesignSystemVersion";
@@ -12,7 +12,6 @@ import { ConnectionProviders } from "../../../model/enums/SDKConnectionProviders
12
12
  import { DocumentationEnvironment } from "../../../model/enums/SDKDocumentationEnvironment";
13
13
  import { AuthenticationTokenPayload, AzurePersonalAccessTokenConnectionPayload, CreateAuthenticationTokenPayload, PersonalAccessTokenConnectionPayload } from "../../../model/exporters/SDKConnections";
14
14
  import { ExporterProvider, NewExporterPayload } from "../../../model/exporters/SDKExporter";
15
- import { NewPipelinePayload, PipelineUpdateModel } from "../../../model/exporters/SDKPipeline";
16
15
  import { ExportBuildModel } from "../../../model/exporters/exporter_builds/SDKExportBuild";
17
16
  import { ConnectionRemoteModel } from "../../../model/exporters/remote/SDKRemoteConnectionsModel";
18
17
  import { ComponentGroup, ComponentGroupRemoteModel } from "../../../model/groups/SDKComponentGroup";
@@ -38,6 +37,7 @@ import { WorkspaceProfileUpdateModel } from "../../../model/workspaces/SDKWorksp
38
37
  import { WorkspaceSSOSettingsUpdateModel } from "../../../model/workspaces/SDKWorkspaceSSOSettings";
39
38
  import { WorkspaceSubscriptionUpdateModel } from "../../../model/workspaces/SDKWorkspaceSubscription";
40
39
  import { DataBridge } from "../SDKDataBridge";
40
+ import { DocumentationPageContent } from "../../areas/SDKAreaImport";
41
41
  export declare class DataCoreWriteRequests {
42
42
  private bridge;
43
43
  constructor(bridge: DataBridge);
@@ -140,7 +140,7 @@ export declare class DataCoreWriteRequests {
140
140
  updateRemoteDesignSystemMemberList(designSystemId: string, usersToInvite?: Array<DesignSystemUserInvitation>, invitesToInvite?: Array<DesignSystemPendingMemberInvite>, emailsToInvite?: Array<DesignSystemInvite>, invitesToUpdate?: Array<DesignSystemInviteUpdate>, deleteInvitationIds?: Array<string>, usersToUpdate?: Array<DesignSystemMemberUpdate>, removeUserIds?: Array<string>): Promise<void>;
141
141
  /** Remote: Deletes a design system */
142
142
  deleteDesignSystem(designSystemId: string): Promise<void>;
143
- private elementAction;
143
+ elementAction(designSystemId: string, versionId: string, data: DTOElementActionInput): Promise<any>;
144
144
  createRemoteDocumentationPage(designSystemId: string, versionId: string, data: DTOCreateDocumentationPageInputV2): Promise<any>;
145
145
  updateApprovalState(designSystemId: string, versionId: string, data: DTODocumentationPageApprovalStateChangeInput): Promise<any>;
146
146
  /** Remote: create a group within documentation */
@@ -170,7 +170,9 @@ export declare class DataCoreWriteRequests {
170
170
  publishDocumentation(workspaceId: string, designSystemId: string, versionId: string, environment: DocumentationEnvironment): Promise<ExportBuildModel>;
171
171
  publishDocumentationDrafts(designSystemId: string, versionId: string, environment: DocumentationEnvironment, changes: DTOPublishDocumentationRequest["changes"]): Promise<ExportBuildModel>;
172
172
  /** Remote: Render specific figma frames */
173
- renderFigmaFrames(designSystemId: string, versionId: string, data: Array<DTOFigmaNodeRenderInput>): Promise<Array<DTOFigmaNode>>;
173
+ renderFigmaFrames(designSystemId: string, versionId: string, data: Array<DTOFigmaNodeRenderIdInput>): Promise<Array<DTOFigmaNode>>;
174
+ /** Remote: Render specific figma frames async */
175
+ renderFigmaFramesAsync(designSystemId: string, versionId: string, data: Array<DTOFigmaNodeRenderInput>): Promise<Array<DTOFigmaNodeV2>>;
174
176
  createRemoteToken(designSystemId: string, versionId: string, token: TokenRemoteModel): Promise<TokenRemoteModel>;
175
177
  updateRemoteToken(designSystemId: string, versionId: string, token: TokenRemoteModel): Promise<TokenRemoteModel>;
176
178
  createRemoteTokenGroup(designSystemId: string, versionId: string, group: TokenGroupRemoteModel): Promise<TokenGroupRemoteModel>;
@@ -231,11 +233,409 @@ export declare class DataCoreWriteRequests {
231
233
  /** Remote: Delete a workspace integration */
232
234
  deleteRemoteWorkspaceIntegration(workspaceId: string, integrationId: string): Promise<WorkspaceIntegrationType>;
233
235
  /** Remote: Create pipeline */
234
- createRemotePipeline(workspaceId: string, pipeline: NewPipelinePayload): Promise<any>;
235
- /** Remote: Create pipeline */
236
- updateRemotePipeline(workspaceId: string, pipeline: PipelineUpdateModel): Promise<any>;
236
+ createRemotePipeline(workspaceId: string, payload: DTOPipelineCreateBody): Promise<{
237
+ id: string;
238
+ name: string;
239
+ workspaceId: string;
240
+ designSystemId: string;
241
+ exporterId: string;
242
+ isEnabled: boolean;
243
+ eventType: "None" | "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated";
244
+ latestJobs: {
245
+ status: "Success" | "InProgress" | "Failed" | "Timeout";
246
+ id: string;
247
+ createdAt: Date;
248
+ designSystem: {
249
+ id: string;
250
+ meta: {
251
+ name: string;
252
+ description?: string | undefined;
253
+ };
254
+ };
255
+ exporterId: string;
256
+ destinations: {
257
+ s3?: {} | undefined;
258
+ azure?: {
259
+ branch: string;
260
+ organizationId: string;
261
+ projectId: string;
262
+ repositoryId: string;
263
+ url?: string | undefined;
264
+ userId?: number | undefined;
265
+ credentialId?: string | undefined;
266
+ relativePath?: string | undefined;
267
+ purgeDirectory?: boolean | undefined;
268
+ commitAuthorName?: string | undefined;
269
+ commitAuthorEmail?: string | undefined;
270
+ connectionId?: string | undefined;
271
+ } | undefined;
272
+ bitbucket?: {
273
+ branch: string;
274
+ workspaceSlug: string;
275
+ projectKey: string;
276
+ repoSlug: string;
277
+ userId?: number | undefined;
278
+ credentialId?: string | undefined;
279
+ relativePath?: string | undefined;
280
+ purgeDirectory?: boolean | undefined;
281
+ commitAuthorName?: string | undefined;
282
+ commitAuthorEmail?: string | undefined;
283
+ connectionId?: string | undefined;
284
+ } | undefined;
285
+ github?: {
286
+ url: string;
287
+ branch: string;
288
+ userId?: number | undefined;
289
+ credentialId?: string | undefined;
290
+ relativePath?: string | undefined;
291
+ purgeDirectory?: boolean | undefined;
292
+ commitAuthorName?: string | undefined;
293
+ commitAuthorEmail?: string | undefined;
294
+ connectionId?: string | undefined;
295
+ } | undefined;
296
+ gitlab?: {
297
+ branch: string;
298
+ projectId: string;
299
+ url?: string | undefined;
300
+ userId?: number | undefined;
301
+ credentialId?: string | undefined;
302
+ relativePath?: string | undefined;
303
+ purgeDirectory?: boolean | undefined;
304
+ commitAuthorName?: string | undefined;
305
+ commitAuthorEmail?: string | undefined;
306
+ connectionId?: string | undefined;
307
+ } | undefined;
308
+ documentation?: {
309
+ environment: "Live" | "Preview";
310
+ changes?: {
311
+ pagePersistentIds: string[];
312
+ groupPersistentIds: string[];
313
+ } | undefined;
314
+ } | undefined;
315
+ webhookUrl?: string | undefined;
316
+ };
317
+ designSystemVersion: {
318
+ id: string;
319
+ meta: {
320
+ name: string;
321
+ description?: string | undefined;
322
+ };
323
+ version: string;
324
+ isReadonly: boolean;
325
+ };
326
+ brandPersistentId?: string | undefined;
327
+ themePersistentId?: string | undefined;
328
+ themePersistentIds?: string[] | undefined;
329
+ exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
330
+ finishedAt?: Date | undefined;
331
+ index?: number | undefined;
332
+ estimatedExecutionTime?: number | undefined;
333
+ createdBy?: {
334
+ userId: string;
335
+ userName: string;
336
+ } | undefined;
337
+ scheduleId?: string | undefined;
338
+ result?: {
339
+ s3?: {
340
+ path: string;
341
+ files: string[];
342
+ bucket: string;
343
+ url?: string | undefined;
344
+ urlPrefix?: string | undefined;
345
+ urls?: string[] | undefined;
346
+ } | undefined;
347
+ azure?: {
348
+ pullRequestUrl: string;
349
+ } | undefined;
350
+ bitbucket?: {
351
+ pullRequestUrl: string;
352
+ } | undefined;
353
+ github?: {
354
+ pullRequestUrl: string;
355
+ } | undefined;
356
+ gitlab?: {
357
+ pullRequestUrl: string;
358
+ } | undefined;
359
+ documentation?: {
360
+ url: string;
361
+ } | undefined;
362
+ error?: string | undefined;
363
+ logs?: {
364
+ message: string;
365
+ type: "error" | "info" | "user" | "success" | "warning";
366
+ time: Date;
367
+ id?: string | undefined;
368
+ }[] | undefined;
369
+ } | undefined;
370
+ }[];
371
+ isExporterDeprecated: boolean;
372
+ brandPersistentId?: string | undefined;
373
+ themePersistentId?: string | undefined;
374
+ themePersistentIds?: string[] | undefined;
375
+ exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
376
+ webhookUrl?: string | undefined;
377
+ destinationSnDocs?: {
378
+ environment: "Live" | "Preview";
379
+ changes?: {
380
+ pagePersistentIds: string[];
381
+ groupPersistentIds: string[];
382
+ } | undefined;
383
+ } | undefined;
384
+ destinationS3?: {} | undefined;
385
+ destinationGithub?: {
386
+ url: string;
387
+ branch: string;
388
+ userId?: number | undefined;
389
+ credentialId?: string | undefined;
390
+ relativePath?: string | undefined;
391
+ purgeDirectory?: boolean | undefined;
392
+ commitAuthorName?: string | undefined;
393
+ commitAuthorEmail?: string | undefined;
394
+ connectionId?: string | undefined;
395
+ } | undefined;
396
+ destinationAzure?: {
397
+ branch: string;
398
+ organizationId: string;
399
+ projectId: string;
400
+ repositoryId: string;
401
+ url?: string | undefined;
402
+ userId?: number | undefined;
403
+ credentialId?: string | undefined;
404
+ relativePath?: string | undefined;
405
+ purgeDirectory?: boolean | undefined;
406
+ commitAuthorName?: string | undefined;
407
+ commitAuthorEmail?: string | undefined;
408
+ connectionId?: string | undefined;
409
+ } | undefined;
410
+ destinationGitlab?: {
411
+ branch: string;
412
+ projectId: string;
413
+ url?: string | undefined;
414
+ userId?: number | undefined;
415
+ credentialId?: string | undefined;
416
+ relativePath?: string | undefined;
417
+ purgeDirectory?: boolean | undefined;
418
+ commitAuthorName?: string | undefined;
419
+ commitAuthorEmail?: string | undefined;
420
+ connectionId?: string | undefined;
421
+ } | undefined;
422
+ destinationBitbucket?: {
423
+ branch: string;
424
+ workspaceSlug: string;
425
+ projectKey: string;
426
+ repoSlug: string;
427
+ userId?: number | undefined;
428
+ credentialId?: string | undefined;
429
+ relativePath?: string | undefined;
430
+ purgeDirectory?: boolean | undefined;
431
+ commitAuthorName?: string | undefined;
432
+ commitAuthorEmail?: string | undefined;
433
+ connectionId?: string | undefined;
434
+ } | undefined;
435
+ }>;
436
+ /** Remote: Update pipeline */
437
+ updateRemotePipeline(designSystemId: string, pipelineId: string, payload: DTOPipelineUpdateBody): Promise<{
438
+ id: string;
439
+ name: string;
440
+ workspaceId: string;
441
+ designSystemId: string;
442
+ exporterId: string;
443
+ isEnabled: boolean;
444
+ eventType: "None" | "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated";
445
+ latestJobs: {
446
+ status: "Success" | "InProgress" | "Failed" | "Timeout";
447
+ id: string;
448
+ createdAt: Date;
449
+ designSystem: {
450
+ id: string;
451
+ meta: {
452
+ name: string;
453
+ description?: string | undefined;
454
+ };
455
+ };
456
+ exporterId: string;
457
+ destinations: {
458
+ s3?: {} | undefined;
459
+ azure?: {
460
+ branch: string;
461
+ organizationId: string;
462
+ projectId: string;
463
+ repositoryId: string;
464
+ url?: string | undefined;
465
+ userId?: number | undefined;
466
+ credentialId?: string | undefined;
467
+ relativePath?: string | undefined;
468
+ purgeDirectory?: boolean | undefined;
469
+ commitAuthorName?: string | undefined;
470
+ commitAuthorEmail?: string | undefined;
471
+ connectionId?: string | undefined;
472
+ } | undefined;
473
+ bitbucket?: {
474
+ branch: string;
475
+ workspaceSlug: string;
476
+ projectKey: string;
477
+ repoSlug: string;
478
+ userId?: number | undefined;
479
+ credentialId?: string | undefined;
480
+ relativePath?: string | undefined;
481
+ purgeDirectory?: boolean | undefined;
482
+ commitAuthorName?: string | undefined;
483
+ commitAuthorEmail?: string | undefined;
484
+ connectionId?: string | undefined;
485
+ } | undefined;
486
+ github?: {
487
+ url: string;
488
+ branch: string;
489
+ userId?: number | undefined;
490
+ credentialId?: string | undefined;
491
+ relativePath?: string | undefined;
492
+ purgeDirectory?: boolean | undefined;
493
+ commitAuthorName?: string | undefined;
494
+ commitAuthorEmail?: string | undefined;
495
+ connectionId?: string | undefined;
496
+ } | undefined;
497
+ gitlab?: {
498
+ branch: string;
499
+ projectId: string;
500
+ url?: string | undefined;
501
+ userId?: number | undefined;
502
+ credentialId?: string | undefined;
503
+ relativePath?: string | undefined;
504
+ purgeDirectory?: boolean | undefined;
505
+ commitAuthorName?: string | undefined;
506
+ commitAuthorEmail?: string | undefined;
507
+ connectionId?: string | undefined;
508
+ } | undefined;
509
+ documentation?: {
510
+ environment: "Live" | "Preview";
511
+ changes?: {
512
+ pagePersistentIds: string[];
513
+ groupPersistentIds: string[];
514
+ } | undefined;
515
+ } | undefined;
516
+ webhookUrl?: string | undefined;
517
+ };
518
+ designSystemVersion: {
519
+ id: string;
520
+ meta: {
521
+ name: string;
522
+ description?: string | undefined;
523
+ };
524
+ version: string;
525
+ isReadonly: boolean;
526
+ };
527
+ brandPersistentId?: string | undefined;
528
+ themePersistentId?: string | undefined;
529
+ themePersistentIds?: string[] | undefined;
530
+ exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
531
+ finishedAt?: Date | undefined;
532
+ index?: number | undefined;
533
+ estimatedExecutionTime?: number | undefined;
534
+ createdBy?: {
535
+ userId: string;
536
+ userName: string;
537
+ } | undefined;
538
+ scheduleId?: string | undefined;
539
+ result?: {
540
+ s3?: {
541
+ path: string;
542
+ files: string[];
543
+ bucket: string;
544
+ url?: string | undefined;
545
+ urlPrefix?: string | undefined;
546
+ urls?: string[] | undefined;
547
+ } | undefined;
548
+ azure?: {
549
+ pullRequestUrl: string;
550
+ } | undefined;
551
+ bitbucket?: {
552
+ pullRequestUrl: string;
553
+ } | undefined;
554
+ github?: {
555
+ pullRequestUrl: string;
556
+ } | undefined;
557
+ gitlab?: {
558
+ pullRequestUrl: string;
559
+ } | undefined;
560
+ documentation?: {
561
+ url: string;
562
+ } | undefined;
563
+ error?: string | undefined;
564
+ logs?: {
565
+ message: string;
566
+ type: "error" | "info" | "user" | "success" | "warning";
567
+ time: Date;
568
+ id?: string | undefined;
569
+ }[] | undefined;
570
+ } | undefined;
571
+ }[];
572
+ isExporterDeprecated: boolean;
573
+ brandPersistentId?: string | undefined;
574
+ themePersistentId?: string | undefined;
575
+ themePersistentIds?: string[] | undefined;
576
+ exporterPropertyValues?: Record<string, string | number | boolean | string[] | Record<string, string>> | undefined;
577
+ webhookUrl?: string | undefined;
578
+ destinationSnDocs?: {
579
+ environment: "Live" | "Preview";
580
+ changes?: {
581
+ pagePersistentIds: string[];
582
+ groupPersistentIds: string[];
583
+ } | undefined;
584
+ } | undefined;
585
+ destinationS3?: {} | undefined;
586
+ destinationGithub?: {
587
+ url: string;
588
+ branch: string;
589
+ userId?: number | undefined;
590
+ credentialId?: string | undefined;
591
+ relativePath?: string | undefined;
592
+ purgeDirectory?: boolean | undefined;
593
+ commitAuthorName?: string | undefined;
594
+ commitAuthorEmail?: string | undefined;
595
+ connectionId?: string | undefined;
596
+ } | undefined;
597
+ destinationAzure?: {
598
+ branch: string;
599
+ organizationId: string;
600
+ projectId: string;
601
+ repositoryId: string;
602
+ url?: string | undefined;
603
+ userId?: number | undefined;
604
+ credentialId?: string | undefined;
605
+ relativePath?: string | undefined;
606
+ purgeDirectory?: boolean | undefined;
607
+ commitAuthorName?: string | undefined;
608
+ commitAuthorEmail?: string | undefined;
609
+ connectionId?: string | undefined;
610
+ } | undefined;
611
+ destinationGitlab?: {
612
+ branch: string;
613
+ projectId: string;
614
+ url?: string | undefined;
615
+ userId?: number | undefined;
616
+ credentialId?: string | undefined;
617
+ relativePath?: string | undefined;
618
+ purgeDirectory?: boolean | undefined;
619
+ commitAuthorName?: string | undefined;
620
+ commitAuthorEmail?: string | undefined;
621
+ connectionId?: string | undefined;
622
+ } | undefined;
623
+ destinationBitbucket?: {
624
+ branch: string;
625
+ workspaceSlug: string;
626
+ projectKey: string;
627
+ repoSlug: string;
628
+ userId?: number | undefined;
629
+ credentialId?: string | undefined;
630
+ relativePath?: string | undefined;
631
+ purgeDirectory?: boolean | undefined;
632
+ commitAuthorName?: string | undefined;
633
+ commitAuthorEmail?: string | undefined;
634
+ connectionId?: string | undefined;
635
+ } | undefined;
636
+ }>;
237
637
  /** Remote: Run pipeline */
238
- runRemotePipeline(workspaceId: string, designSystemVersionId: string, pipelineId: string): Promise<any>;
638
+ runRemotePipeline(workspaceId: string, designSystemVersionId: string, pipelineId: string): Promise<ExportBuildModel>;
239
639
  /** Remote: Delete pipeline */
240
640
  deleteRemotePipeline(workspaceId: string, pipelineId: string): Promise<void>;
241
641
  /** Remote: Create exporter */
@@ -248,6 +648,8 @@ export declare class DataCoreWriteRequests {
248
648
  updateRemoteExporterConfigurationPropertyValue(designSystemId: string, exporterId: string, propertyKey: string, propertyValue: any): Promise<any>;
249
649
  /** Remote: Deletes an exporter configuration property value */
250
650
  deleteRemoteExporterConfigurationPropertyValue(designSystemId: string, exporterId: string, propertyKey: string): Promise<any>;
651
+ /** Remote: Create a new exporter build */
652
+ createExporterBuild(workspaceId: string, designSystemId: string, versionId: string, exporterId: string, destinations: ExporterJobDestination, brandId: string | undefined, themePersistentIds: Array<string> | undefined, exporterConfigurationProperties: DTOExporterPropertyValueMap | undefined): Promise<ExportBuildModel>;
251
653
  /** Remote: Schedules import job */
252
654
  scheduleImportJobForFigmaSources(designSystemId: string, versionId: string, sourceIds: Array<string>, dryRun: boolean): Promise<ImportJobRemoteModel>;
253
655
  /** Remote: Deletes a remote data source */
@@ -257,4 +659,9 @@ export declare class DataCoreWriteRequests {
257
659
  writeTokenStudioJSONData(designSystemId: string, versionId: string, data: object): Promise<object>;
258
660
  importTokens(designSystemId: string, brandId: string, sourceId: string, sourceName: string, sourceType: "FigmaVariablesPlugin", importType: "Upload", payload: any, isTokenTypeSplitEnabled?: boolean): Promise<ImportJobRemoteModel>;
259
661
  setKeyValueStorageData(designSystemId: string, kvData: object): Promise<void>;
662
+ createPageRedirect(designSystemId: string, body: DTOPageRedirectCreateBody): Promise<void>;
663
+ updatePageRedirect(designSystemId: string, redirectId: string, body: DTOPageRedirectUpdateBody): Promise<void>;
664
+ deletePageRedirect(designSystemId: string, redirectId: string): Promise<void>;
665
+ /** Remote: imports content into a documentation page */
666
+ importRemoteDocumentationPage(designSystemId: string, versionId: string, pageId: string, content: DocumentationPageContent): Promise<any>;
260
667
  }
@@ -1,6 +1,11 @@
1
+ import { DesignComponent } from "../../model/components/SDKDesignComponent";
1
2
  import { DesignComponentGroup, DesignComponentGroupRemoteModel } from "../../model/groups/SDKDesignComponentGroup";
2
3
  export declare class DesignComponentGroupResolver {
4
+ designComponents: Array<DesignComponent>;
5
+ constructor(designComponents: Array<DesignComponent>);
3
6
  resolveGroupData(data: Array<DesignComponentGroupRemoteModel>): Array<DesignComponentGroup>;
7
+ private assignSourceDataToGroups;
8
+ private propagateSourceDataToAncestors;
4
9
  private recomputePaths;
5
10
  private recomputePathsFromRoot;
6
11
  private reorderGroupsByRoots;