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

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