@supernova-studio/client 0.58.7 → 0.58.9
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 +1431 -448
- package/dist/index.d.ts +1431 -448
- package/dist/index.js +138 -9
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +788 -659
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/design-systems/data-source.ts +28 -3
- package/src/api/endpoints/design-system/sources.ts +21 -1
- package/src/api/endpoints/design-system/versions/documentation.ts +23 -0
- package/src/api/endpoints/design-system/versions/elements-action.ts +98 -0
- package/src/api/endpoints/design-system/versions/index.ts +2 -1
- package/src/api/endpoints/design-system/versions/versions.ts +6 -3
- package/src/api/endpoints/workspaces/workspaces.ts +8 -0
- package/src/api/payloads/workspaces/index.ts +1 -0
- package/src/api/payloads/workspaces/transfer-ownership.ts +7 -0
- package/src/api/endpoints/design-system/versions/elements-actions.ts +0 -20
package/dist/index.d.mts
CHANGED
|
@@ -5780,7 +5780,7 @@ declare const DTODataSource: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
|
5780
5780
|
themeId?: string | null | undefined;
|
|
5781
5781
|
}>]>;
|
|
5782
5782
|
type DTODataSource = z.infer<typeof DTODataSource>;
|
|
5783
|
-
declare const
|
|
5783
|
+
declare const DTODataSourceResponse: z.ZodObject<{
|
|
5784
5784
|
source: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
5785
5785
|
id: z.ZodString;
|
|
5786
5786
|
type: z.ZodLiteral<"Figma">;
|
|
@@ -6682,7 +6682,7 @@ declare const DTODataSourceCreationResponse: z.ZodObject<{
|
|
|
6682
6682
|
};
|
|
6683
6683
|
};
|
|
6684
6684
|
}>;
|
|
6685
|
-
type
|
|
6685
|
+
type DTODataSourceResponse = z.infer<typeof DTODataSourceResponse>;
|
|
6686
6686
|
declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
6687
6687
|
sources: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
6688
6688
|
id: z.ZodString;
|
|
@@ -7586,6 +7586,89 @@ declare const DTODataSourcesListResponse: z.ZodObject<{
|
|
|
7586
7586
|
})[];
|
|
7587
7587
|
}>;
|
|
7588
7588
|
type DTODataSourcesListResponse = z.infer<typeof DTODataSourcesListResponse>;
|
|
7589
|
+
declare const DTODataSourceFigmaScope: z.ZodObject<{
|
|
7590
|
+
assets: z.ZodBoolean;
|
|
7591
|
+
components: z.ZodBoolean;
|
|
7592
|
+
documentationFrames: z.ZodBoolean;
|
|
7593
|
+
tokens: z.ZodBoolean;
|
|
7594
|
+
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
7595
|
+
isUnpublishedContentFallbackEnabled: z.ZodBoolean;
|
|
7596
|
+
}, "strip", z.ZodTypeAny, {
|
|
7597
|
+
assets: boolean;
|
|
7598
|
+
components: boolean;
|
|
7599
|
+
tokens: boolean;
|
|
7600
|
+
documentationFrames: boolean;
|
|
7601
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
7602
|
+
themePersistentId?: string | undefined;
|
|
7603
|
+
}, {
|
|
7604
|
+
assets: boolean;
|
|
7605
|
+
components: boolean;
|
|
7606
|
+
tokens: boolean;
|
|
7607
|
+
documentationFrames: boolean;
|
|
7608
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
7609
|
+
themePersistentId?: string | undefined;
|
|
7610
|
+
}>;
|
|
7611
|
+
type DTODataSourceFigmaScope = z.infer<typeof DTODataSourceFigmaScope>;
|
|
7612
|
+
declare const DTODataSourceFigmaCreatePayload: z.ZodObject<{
|
|
7613
|
+
brandPersistentId: z.ZodString;
|
|
7614
|
+
figmaFileUrl: z.ZodString;
|
|
7615
|
+
scope: z.ZodObject<{
|
|
7616
|
+
assets: z.ZodBoolean;
|
|
7617
|
+
components: z.ZodBoolean;
|
|
7618
|
+
documentationFrames: z.ZodBoolean;
|
|
7619
|
+
tokens: z.ZodBoolean;
|
|
7620
|
+
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
7621
|
+
isUnpublishedContentFallbackEnabled: z.ZodBoolean;
|
|
7622
|
+
}, "strip", z.ZodTypeAny, {
|
|
7623
|
+
assets: boolean;
|
|
7624
|
+
components: boolean;
|
|
7625
|
+
tokens: boolean;
|
|
7626
|
+
documentationFrames: boolean;
|
|
7627
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
7628
|
+
themePersistentId?: string | undefined;
|
|
7629
|
+
}, {
|
|
7630
|
+
assets: boolean;
|
|
7631
|
+
components: boolean;
|
|
7632
|
+
tokens: boolean;
|
|
7633
|
+
documentationFrames: boolean;
|
|
7634
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
7635
|
+
themePersistentId?: string | undefined;
|
|
7636
|
+
}>;
|
|
7637
|
+
autoImportMode: z.ZodEnum<["Never", "Hourly"]>;
|
|
7638
|
+
}, "strip", z.ZodTypeAny, {
|
|
7639
|
+
brandPersistentId: string;
|
|
7640
|
+
autoImportMode: "Never" | "Hourly";
|
|
7641
|
+
scope: {
|
|
7642
|
+
assets: boolean;
|
|
7643
|
+
components: boolean;
|
|
7644
|
+
tokens: boolean;
|
|
7645
|
+
documentationFrames: boolean;
|
|
7646
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
7647
|
+
themePersistentId?: string | undefined;
|
|
7648
|
+
};
|
|
7649
|
+
figmaFileUrl: string;
|
|
7650
|
+
}, {
|
|
7651
|
+
brandPersistentId: string;
|
|
7652
|
+
autoImportMode: "Never" | "Hourly";
|
|
7653
|
+
scope: {
|
|
7654
|
+
assets: boolean;
|
|
7655
|
+
components: boolean;
|
|
7656
|
+
tokens: boolean;
|
|
7657
|
+
documentationFrames: boolean;
|
|
7658
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
7659
|
+
themePersistentId?: string | undefined;
|
|
7660
|
+
};
|
|
7661
|
+
figmaFileUrl: string;
|
|
7662
|
+
}>;
|
|
7663
|
+
type DTODataSourceFigmaCreatePayload = z.infer<typeof DTODataSourceFigmaCreatePayload>;
|
|
7664
|
+
declare const DTODataSourceFigmaImportPayload: z.ZodObject<{
|
|
7665
|
+
sourceIds: z.ZodArray<z.ZodString, "many">;
|
|
7666
|
+
}, "strip", z.ZodTypeAny, {
|
|
7667
|
+
sourceIds: string[];
|
|
7668
|
+
}, {
|
|
7669
|
+
sourceIds: string[];
|
|
7670
|
+
}>;
|
|
7671
|
+
type DTODataSourceFigmaImportPayload = z.infer<typeof DTODataSourceFigmaImportPayload>;
|
|
7589
7672
|
|
|
7590
7673
|
declare const DTODesignSystem: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
7591
7674
|
id: z.ZodString;
|
|
@@ -9164,19 +9247,19 @@ declare const DTOImportJob: z.ZodObject<{
|
|
|
9164
9247
|
designSystemVersionId: string;
|
|
9165
9248
|
createdAt: Date;
|
|
9166
9249
|
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
9250
|
+
sourceIds: string[];
|
|
9167
9251
|
designSystemId: string;
|
|
9168
9252
|
operation: "Import";
|
|
9169
9253
|
stateChangedAt: Date;
|
|
9170
|
-
sourceIds: string[];
|
|
9171
9254
|
}, {
|
|
9172
9255
|
id: string;
|
|
9173
9256
|
designSystemVersionId: string;
|
|
9174
9257
|
createdAt: Date;
|
|
9175
9258
|
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
9259
|
+
sourceIds: string[];
|
|
9176
9260
|
designSystemId: string;
|
|
9177
9261
|
operation: "Import";
|
|
9178
9262
|
stateChangedAt: Date;
|
|
9179
|
-
sourceIds: string[];
|
|
9180
9263
|
}>;
|
|
9181
9264
|
type DTOImportJob = z.infer<typeof DTOImportJob>;
|
|
9182
9265
|
declare const DTOImportJobResponse: z.ZodObject<{
|
|
@@ -9194,19 +9277,19 @@ declare const DTOImportJobResponse: z.ZodObject<{
|
|
|
9194
9277
|
designSystemVersionId: string;
|
|
9195
9278
|
createdAt: Date;
|
|
9196
9279
|
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
9280
|
+
sourceIds: string[];
|
|
9197
9281
|
designSystemId: string;
|
|
9198
9282
|
operation: "Import";
|
|
9199
9283
|
stateChangedAt: Date;
|
|
9200
|
-
sourceIds: string[];
|
|
9201
9284
|
}, {
|
|
9202
9285
|
id: string;
|
|
9203
9286
|
designSystemVersionId: string;
|
|
9204
9287
|
createdAt: Date;
|
|
9205
9288
|
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
9289
|
+
sourceIds: string[];
|
|
9206
9290
|
designSystemId: string;
|
|
9207
9291
|
operation: "Import";
|
|
9208
9292
|
stateChangedAt: Date;
|
|
9209
|
-
sourceIds: string[];
|
|
9210
9293
|
}>;
|
|
9211
9294
|
}, "strip", z.ZodTypeAny, {
|
|
9212
9295
|
job: {
|
|
@@ -9214,10 +9297,10 @@ declare const DTOImportJobResponse: z.ZodObject<{
|
|
|
9214
9297
|
designSystemVersionId: string;
|
|
9215
9298
|
createdAt: Date;
|
|
9216
9299
|
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
9300
|
+
sourceIds: string[];
|
|
9217
9301
|
designSystemId: string;
|
|
9218
9302
|
operation: "Import";
|
|
9219
9303
|
stateChangedAt: Date;
|
|
9220
|
-
sourceIds: string[];
|
|
9221
9304
|
};
|
|
9222
9305
|
}, {
|
|
9223
9306
|
job: {
|
|
@@ -9225,10 +9308,10 @@ declare const DTOImportJobResponse: z.ZodObject<{
|
|
|
9225
9308
|
designSystemVersionId: string;
|
|
9226
9309
|
createdAt: Date;
|
|
9227
9310
|
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
9311
|
+
sourceIds: string[];
|
|
9228
9312
|
designSystemId: string;
|
|
9229
9313
|
operation: "Import";
|
|
9230
9314
|
stateChangedAt: Date;
|
|
9231
|
-
sourceIds: string[];
|
|
9232
9315
|
};
|
|
9233
9316
|
}>;
|
|
9234
9317
|
type DTOImportJobResponse = z.infer<typeof DTOImportJobResponse>;
|
|
@@ -72007,7 +72090,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
72007
72090
|
createdAt: z.ZodDate;
|
|
72008
72091
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
|
|
72009
72092
|
id: z.ZodString;
|
|
72010
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
72093
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
72011
72094
|
integrationId: z.ZodString;
|
|
72012
72095
|
accessToken: z.ZodString;
|
|
72013
72096
|
userId: z.ZodString;
|
|
@@ -72062,7 +72145,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
72062
72145
|
avatar?: string | undefined;
|
|
72063
72146
|
}>>;
|
|
72064
72147
|
}, "accessToken" | "refreshToken">, "strip", z.ZodTypeAny, {
|
|
72065
|
-
type: "OAuth2" | "PAT"
|
|
72148
|
+
type: "OAuth2" | "PAT";
|
|
72066
72149
|
id: string;
|
|
72067
72150
|
createdAt: Date;
|
|
72068
72151
|
state: "Active" | "Inactive";
|
|
@@ -72090,7 +72173,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
72090
72173
|
appInstallationId?: string | undefined;
|
|
72091
72174
|
customUrl?: string | undefined;
|
|
72092
72175
|
}, {
|
|
72093
|
-
type: "OAuth2" | "PAT"
|
|
72176
|
+
type: "OAuth2" | "PAT";
|
|
72094
72177
|
id: string;
|
|
72095
72178
|
createdAt: Date;
|
|
72096
72179
|
state: "Active" | "Inactive";
|
|
@@ -72143,7 +72226,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
72143
72226
|
createdAt: Date;
|
|
72144
72227
|
workspaceId: string;
|
|
72145
72228
|
integrationCredentials?: {
|
|
72146
|
-
type: "OAuth2" | "PAT"
|
|
72229
|
+
type: "OAuth2" | "PAT";
|
|
72147
72230
|
id: string;
|
|
72148
72231
|
createdAt: Date;
|
|
72149
72232
|
state: "Active" | "Inactive";
|
|
@@ -72184,7 +72267,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
72184
72267
|
createdAt: Date;
|
|
72185
72268
|
workspaceId: string;
|
|
72186
72269
|
integrationCredentials?: {
|
|
72187
|
-
type: "OAuth2" | "PAT"
|
|
72270
|
+
type: "OAuth2" | "PAT";
|
|
72188
72271
|
id: string;
|
|
72189
72272
|
createdAt: Date;
|
|
72190
72273
|
state: "Active" | "Inactive";
|
|
@@ -72223,7 +72306,7 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
72223
72306
|
type DTOIntegration = z.infer<typeof DTOIntegration>;
|
|
72224
72307
|
declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
|
|
72225
72308
|
id: z.ZodString;
|
|
72226
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
72309
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
72227
72310
|
integrationId: z.ZodString;
|
|
72228
72311
|
accessToken: z.ZodString;
|
|
72229
72312
|
userId: z.ZodString;
|
|
@@ -72278,7 +72361,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
|
|
|
72278
72361
|
avatar?: string | undefined;
|
|
72279
72362
|
}>>;
|
|
72280
72363
|
}, "accessToken" | "refreshToken">, "strip", z.ZodTypeAny, {
|
|
72281
|
-
type: "OAuth2" | "PAT"
|
|
72364
|
+
type: "OAuth2" | "PAT";
|
|
72282
72365
|
id: string;
|
|
72283
72366
|
createdAt: Date;
|
|
72284
72367
|
state: "Active" | "Inactive";
|
|
@@ -72306,7 +72389,7 @@ declare const DTOIntegrationCredentials: z.ZodObject<Omit<{
|
|
|
72306
72389
|
appInstallationId?: string | undefined;
|
|
72307
72390
|
customUrl?: string | undefined;
|
|
72308
72391
|
}, {
|
|
72309
|
-
type: "OAuth2" | "PAT"
|
|
72392
|
+
type: "OAuth2" | "PAT";
|
|
72310
72393
|
id: string;
|
|
72311
72394
|
createdAt: Date;
|
|
72312
72395
|
state: "Active" | "Inactive";
|
|
@@ -72351,7 +72434,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
72351
72434
|
createdAt: z.ZodDate;
|
|
72352
72435
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
|
|
72353
72436
|
id: z.ZodString;
|
|
72354
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
72437
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
72355
72438
|
integrationId: z.ZodString;
|
|
72356
72439
|
accessToken: z.ZodString;
|
|
72357
72440
|
userId: z.ZodString;
|
|
@@ -72406,7 +72489,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
72406
72489
|
avatar?: string | undefined;
|
|
72407
72490
|
}>>;
|
|
72408
72491
|
}, "accessToken" | "refreshToken">, "strip", z.ZodTypeAny, {
|
|
72409
|
-
type: "OAuth2" | "PAT"
|
|
72492
|
+
type: "OAuth2" | "PAT";
|
|
72410
72493
|
id: string;
|
|
72411
72494
|
createdAt: Date;
|
|
72412
72495
|
state: "Active" | "Inactive";
|
|
@@ -72434,7 +72517,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
72434
72517
|
appInstallationId?: string | undefined;
|
|
72435
72518
|
customUrl?: string | undefined;
|
|
72436
72519
|
}, {
|
|
72437
|
-
type: "OAuth2" | "PAT"
|
|
72520
|
+
type: "OAuth2" | "PAT";
|
|
72438
72521
|
id: string;
|
|
72439
72522
|
createdAt: Date;
|
|
72440
72523
|
state: "Active" | "Inactive";
|
|
@@ -72487,7 +72570,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
72487
72570
|
createdAt: Date;
|
|
72488
72571
|
workspaceId: string;
|
|
72489
72572
|
integrationCredentials?: {
|
|
72490
|
-
type: "OAuth2" | "PAT"
|
|
72573
|
+
type: "OAuth2" | "PAT";
|
|
72491
72574
|
id: string;
|
|
72492
72575
|
createdAt: Date;
|
|
72493
72576
|
state: "Active" | "Inactive";
|
|
@@ -72528,7 +72611,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
72528
72611
|
createdAt: Date;
|
|
72529
72612
|
workspaceId: string;
|
|
72530
72613
|
integrationCredentials?: {
|
|
72531
|
-
type: "OAuth2" | "PAT"
|
|
72614
|
+
type: "OAuth2" | "PAT";
|
|
72532
72615
|
id: string;
|
|
72533
72616
|
createdAt: Date;
|
|
72534
72617
|
state: "Active" | "Inactive";
|
|
@@ -72571,7 +72654,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
72571
72654
|
createdAt: Date;
|
|
72572
72655
|
workspaceId: string;
|
|
72573
72656
|
integrationCredentials?: {
|
|
72574
|
-
type: "OAuth2" | "PAT"
|
|
72657
|
+
type: "OAuth2" | "PAT";
|
|
72575
72658
|
id: string;
|
|
72576
72659
|
createdAt: Date;
|
|
72577
72660
|
state: "Active" | "Inactive";
|
|
@@ -72614,7 +72697,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
72614
72697
|
createdAt: Date;
|
|
72615
72698
|
workspaceId: string;
|
|
72616
72699
|
integrationCredentials?: {
|
|
72617
|
-
type: "OAuth2" | "PAT"
|
|
72700
|
+
type: "OAuth2" | "PAT";
|
|
72618
72701
|
id: string;
|
|
72619
72702
|
createdAt: Date;
|
|
72620
72703
|
state: "Active" | "Inactive";
|
|
@@ -72660,7 +72743,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
72660
72743
|
createdAt: z.ZodDate;
|
|
72661
72744
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
|
|
72662
72745
|
id: z.ZodString;
|
|
72663
|
-
type: z.ZodEnum<["OAuth2", "PAT"
|
|
72746
|
+
type: z.ZodEnum<["OAuth2", "PAT"]>;
|
|
72664
72747
|
integrationId: z.ZodString;
|
|
72665
72748
|
accessToken: z.ZodString;
|
|
72666
72749
|
userId: z.ZodString;
|
|
@@ -72715,7 +72798,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
72715
72798
|
avatar?: string | undefined;
|
|
72716
72799
|
}>>;
|
|
72717
72800
|
}, "accessToken" | "refreshToken">, "strip", z.ZodTypeAny, {
|
|
72718
|
-
type: "OAuth2" | "PAT"
|
|
72801
|
+
type: "OAuth2" | "PAT";
|
|
72719
72802
|
id: string;
|
|
72720
72803
|
createdAt: Date;
|
|
72721
72804
|
state: "Active" | "Inactive";
|
|
@@ -72743,7 +72826,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
72743
72826
|
appInstallationId?: string | undefined;
|
|
72744
72827
|
customUrl?: string | undefined;
|
|
72745
72828
|
}, {
|
|
72746
|
-
type: "OAuth2" | "PAT"
|
|
72829
|
+
type: "OAuth2" | "PAT";
|
|
72747
72830
|
id: string;
|
|
72748
72831
|
createdAt: Date;
|
|
72749
72832
|
state: "Active" | "Inactive";
|
|
@@ -72796,7 +72879,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
72796
72879
|
createdAt: Date;
|
|
72797
72880
|
workspaceId: string;
|
|
72798
72881
|
integrationCredentials?: {
|
|
72799
|
-
type: "OAuth2" | "PAT"
|
|
72882
|
+
type: "OAuth2" | "PAT";
|
|
72800
72883
|
id: string;
|
|
72801
72884
|
createdAt: Date;
|
|
72802
72885
|
state: "Active" | "Inactive";
|
|
@@ -72837,7 +72920,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
72837
72920
|
createdAt: Date;
|
|
72838
72921
|
workspaceId: string;
|
|
72839
72922
|
integrationCredentials?: {
|
|
72840
|
-
type: "OAuth2" | "PAT"
|
|
72923
|
+
type: "OAuth2" | "PAT";
|
|
72841
72924
|
id: string;
|
|
72842
72925
|
createdAt: Date;
|
|
72843
72926
|
state: "Active" | "Inactive";
|
|
@@ -72880,7 +72963,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
72880
72963
|
createdAt: Date;
|
|
72881
72964
|
workspaceId: string;
|
|
72882
72965
|
integrationCredentials?: {
|
|
72883
|
-
type: "OAuth2" | "PAT"
|
|
72966
|
+
type: "OAuth2" | "PAT";
|
|
72884
72967
|
id: string;
|
|
72885
72968
|
createdAt: Date;
|
|
72886
72969
|
state: "Active" | "Inactive";
|
|
@@ -72923,7 +73006,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
72923
73006
|
createdAt: Date;
|
|
72924
73007
|
workspaceId: string;
|
|
72925
73008
|
integrationCredentials?: {
|
|
72926
|
-
type: "OAuth2" | "PAT"
|
|
73009
|
+
type: "OAuth2" | "PAT";
|
|
72927
73010
|
id: string;
|
|
72928
73011
|
createdAt: Date;
|
|
72929
73012
|
state: "Active" | "Inactive";
|
|
@@ -83709,6 +83792,15 @@ declare const DTOUserProfileUpdatePayload: zod.ZodObject<Omit<{
|
|
|
83709
83792
|
} | undefined;
|
|
83710
83793
|
}>;
|
|
83711
83794
|
|
|
83795
|
+
declare const DTOTransferOwnershipPayload: z.ZodObject<{
|
|
83796
|
+
newOwnerId: z.ZodString;
|
|
83797
|
+
}, "strip", z.ZodTypeAny, {
|
|
83798
|
+
newOwnerId: string;
|
|
83799
|
+
}, {
|
|
83800
|
+
newOwnerId: string;
|
|
83801
|
+
}>;
|
|
83802
|
+
type DTOTransferOwnershipPayload = z.infer<typeof DTOTransferOwnershipPayload>;
|
|
83803
|
+
|
|
83712
83804
|
declare function validateSsoPayload(ssoPayload: Partial<SsoProvider> | undefined): {
|
|
83713
83805
|
valid: boolean;
|
|
83714
83806
|
keys: string[];
|
|
@@ -84814,7 +84906,62 @@ declare class DesignSystemComponentEndpoint {
|
|
|
84814
84906
|
create(dsId: string, vId: string, body: DTODesignSystemComponentCreateInput): Promise<any>;
|
|
84815
84907
|
}
|
|
84816
84908
|
|
|
84817
|
-
declare class
|
|
84909
|
+
declare class DocumentationEndpoint {
|
|
84910
|
+
private readonly requestExecutor;
|
|
84911
|
+
constructor(requestExecutor: RequestExecutor);
|
|
84912
|
+
getStructure(designSystemId: string, versionId: string): Promise<{
|
|
84913
|
+
items: ({
|
|
84914
|
+
type: "Group";
|
|
84915
|
+
id: string;
|
|
84916
|
+
persistentId: string;
|
|
84917
|
+
designSystemVersionId: string;
|
|
84918
|
+
createdAt: Date;
|
|
84919
|
+
updatedAt: Date;
|
|
84920
|
+
shortPersistentId: string;
|
|
84921
|
+
title: string;
|
|
84922
|
+
isRoot: boolean;
|
|
84923
|
+
childrenIds: string[];
|
|
84924
|
+
groupBehavior: string;
|
|
84925
|
+
} | {
|
|
84926
|
+
path: string;
|
|
84927
|
+
type: "Page";
|
|
84928
|
+
id: string;
|
|
84929
|
+
persistentId: string;
|
|
84930
|
+
designSystemVersionId: string;
|
|
84931
|
+
createdAt: Date;
|
|
84932
|
+
updatedAt: Date;
|
|
84933
|
+
shortPersistentId: string;
|
|
84934
|
+
title: string;
|
|
84935
|
+
})[];
|
|
84936
|
+
}>;
|
|
84937
|
+
getDocStructure(dsId: string, vId: string): Promise<{
|
|
84938
|
+
items: ({
|
|
84939
|
+
type: "Group";
|
|
84940
|
+
id: string;
|
|
84941
|
+
persistentId: string;
|
|
84942
|
+
designSystemVersionId: string;
|
|
84943
|
+
createdAt: Date;
|
|
84944
|
+
updatedAt: Date;
|
|
84945
|
+
shortPersistentId: string;
|
|
84946
|
+
title: string;
|
|
84947
|
+
isRoot: boolean;
|
|
84948
|
+
childrenIds: string[];
|
|
84949
|
+
groupBehavior: string;
|
|
84950
|
+
} | {
|
|
84951
|
+
path: string;
|
|
84952
|
+
type: "Page";
|
|
84953
|
+
id: string;
|
|
84954
|
+
persistentId: string;
|
|
84955
|
+
designSystemVersionId: string;
|
|
84956
|
+
createdAt: Date;
|
|
84957
|
+
updatedAt: Date;
|
|
84958
|
+
shortPersistentId: string;
|
|
84959
|
+
title: string;
|
|
84960
|
+
})[];
|
|
84961
|
+
}>;
|
|
84962
|
+
}
|
|
84963
|
+
|
|
84964
|
+
declare class ElementsActionEndpoint {
|
|
84818
84965
|
private readonly requestExecutor;
|
|
84819
84966
|
constructor(requestExecutor: RequestExecutor);
|
|
84820
84967
|
createDocPage(dsId: string, vId: string, input: DTOCreateDocumentationPageInputV2): Promise<{
|
|
@@ -84921,37 +85068,84 @@ declare class ElementsActionsEndpoint {
|
|
|
84921
85068
|
};
|
|
84922
85069
|
}[];
|
|
84923
85070
|
}>;
|
|
84924
|
-
|
|
84925
|
-
|
|
84926
|
-
|
|
84927
|
-
|
|
84928
|
-
constructor(requestExecutor: RequestExecutor);
|
|
84929
|
-
get(designSystemId: string, versionId: string, jobId: string): Promise<{
|
|
84930
|
-
job: {
|
|
84931
|
-
id: string;
|
|
84932
|
-
designSystemVersionId: string;
|
|
84933
|
-
createdAt: Date;
|
|
84934
|
-
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
84935
|
-
designSystemId: string;
|
|
84936
|
-
operation: "Import";
|
|
84937
|
-
stateChangedAt: Date;
|
|
84938
|
-
sourceIds: string[];
|
|
85071
|
+
createDocGroup(dsId: string, vId: string, input: DTOCreateDocumentationGroupInput): Promise<{
|
|
85072
|
+
type: "DocumentationGroupCreate";
|
|
85073
|
+
output: {
|
|
85074
|
+
success: true;
|
|
84939
85075
|
};
|
|
84940
|
-
}
|
|
84941
|
-
|
|
84942
|
-
|
|
84943
|
-
|
|
84944
|
-
|
|
84945
|
-
|
|
84946
|
-
|
|
84947
|
-
|
|
84948
|
-
|
|
84949
|
-
|
|
84950
|
-
|
|
84951
|
-
|
|
84952
|
-
|
|
84953
|
-
|
|
84954
|
-
|
|
85076
|
+
} | {
|
|
85077
|
+
type: "DocumentationTabCreate";
|
|
85078
|
+
output: {
|
|
85079
|
+
success: true;
|
|
85080
|
+
};
|
|
85081
|
+
} | {
|
|
85082
|
+
type: "DocumentationGroupUpdate";
|
|
85083
|
+
output: {
|
|
85084
|
+
success: true;
|
|
85085
|
+
};
|
|
85086
|
+
} | {
|
|
85087
|
+
type: "DocumentationGroupMove";
|
|
85088
|
+
output: {
|
|
85089
|
+
success: true;
|
|
85090
|
+
};
|
|
85091
|
+
} | {
|
|
85092
|
+
type: "DocumentationGroupDuplicate";
|
|
85093
|
+
output: {
|
|
85094
|
+
success: true;
|
|
85095
|
+
};
|
|
85096
|
+
} | {
|
|
85097
|
+
type: "DocumentationGroupDelete";
|
|
85098
|
+
output: {
|
|
85099
|
+
success: true;
|
|
85100
|
+
};
|
|
85101
|
+
} | {
|
|
85102
|
+
type: "DocumentationTabGroupDelete";
|
|
85103
|
+
output: {
|
|
85104
|
+
success: true;
|
|
85105
|
+
};
|
|
85106
|
+
} | {
|
|
85107
|
+
type: "DocumentationPageCreate";
|
|
85108
|
+
output: {
|
|
85109
|
+
success: true;
|
|
85110
|
+
};
|
|
85111
|
+
} | {
|
|
85112
|
+
type: "DocumentationPageUpdate";
|
|
85113
|
+
output: {
|
|
85114
|
+
success: true;
|
|
85115
|
+
};
|
|
85116
|
+
} | {
|
|
85117
|
+
type: "DocumentationPageMove";
|
|
85118
|
+
output: {
|
|
85119
|
+
success: true;
|
|
85120
|
+
};
|
|
85121
|
+
} | {
|
|
85122
|
+
type: "DocumentationPageDuplicate";
|
|
85123
|
+
output: {
|
|
85124
|
+
success: true;
|
|
85125
|
+
};
|
|
85126
|
+
} | {
|
|
85127
|
+
type: "DocumentationPageDelete";
|
|
85128
|
+
output: {
|
|
85129
|
+
success: true;
|
|
85130
|
+
};
|
|
85131
|
+
} | {
|
|
85132
|
+
type: "DocumentationPageRestore";
|
|
85133
|
+
output: {
|
|
85134
|
+
success: true;
|
|
85135
|
+
};
|
|
85136
|
+
} | {
|
|
85137
|
+
type: "DocumentationGroupRestore";
|
|
85138
|
+
output: {
|
|
85139
|
+
success: true;
|
|
85140
|
+
};
|
|
85141
|
+
} | {
|
|
85142
|
+
type: "DocumentationPageApprovalStateChange";
|
|
85143
|
+
output: {
|
|
85144
|
+
success: true;
|
|
85145
|
+
};
|
|
85146
|
+
} | {
|
|
85147
|
+
type: "FigmaNodeRender";
|
|
85148
|
+
figmaNodes: {
|
|
84955
85149
|
id: string;
|
|
84956
85150
|
persistentId: string;
|
|
84957
85151
|
meta: {
|
|
@@ -84959,47 +85153,103 @@ declare class ElementPropertyDefinitionsEndpoint {
|
|
|
84959
85153
|
description?: string | undefined;
|
|
84960
85154
|
};
|
|
84961
85155
|
designSystemVersionId: string;
|
|
84962
|
-
|
|
84963
|
-
|
|
84964
|
-
|
|
84965
|
-
|
|
84966
|
-
|
|
84967
|
-
|
|
84968
|
-
|
|
84969
|
-
|
|
84970
|
-
|
|
84971
|
-
|
|
84972
|
-
|
|
84973
|
-
|
|
85156
|
+
createdAt: Date;
|
|
85157
|
+
updatedAt: Date;
|
|
85158
|
+
data: {
|
|
85159
|
+
figmaNodeId: string;
|
|
85160
|
+
isValid: boolean;
|
|
85161
|
+
assetId: string;
|
|
85162
|
+
assetUrl: string;
|
|
85163
|
+
assetFormat: "Png" | "Svg";
|
|
85164
|
+
assetScale: number;
|
|
85165
|
+
assetWidth?: number | undefined;
|
|
85166
|
+
assetHeight?: number | undefined;
|
|
85167
|
+
};
|
|
85168
|
+
origin: {
|
|
85169
|
+
sourceId: string;
|
|
85170
|
+
fileId?: string | undefined;
|
|
85171
|
+
parentName?: string | undefined;
|
|
85172
|
+
};
|
|
84974
85173
|
}[];
|
|
84975
85174
|
}>;
|
|
84976
|
-
|
|
84977
|
-
|
|
84978
|
-
|
|
84979
|
-
|
|
84980
|
-
persistentId: string;
|
|
84981
|
-
meta: {
|
|
84982
|
-
name: string;
|
|
84983
|
-
description?: string | undefined;
|
|
84984
|
-
};
|
|
84985
|
-
designSystemVersionId: string;
|
|
84986
|
-
targetElementType: "Token" | "Component" | "DocumentationPage";
|
|
84987
|
-
codeName: string;
|
|
84988
|
-
isImmutable: boolean;
|
|
84989
|
-
options?: {
|
|
84990
|
-
id: string;
|
|
84991
|
-
name: string;
|
|
84992
|
-
backgroundColor?: {
|
|
84993
|
-
value: string;
|
|
84994
|
-
} | undefined;
|
|
84995
|
-
}[] | undefined;
|
|
84996
|
-
linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
|
|
84997
|
-
immutablePropertyType?: "Collection" | undefined;
|
|
85175
|
+
moveDocGroup(dsId: string, vId: string, input: DTOMoveDocumentationGroupInput): Promise<{
|
|
85176
|
+
type: "DocumentationGroupCreate";
|
|
85177
|
+
output: {
|
|
85178
|
+
success: true;
|
|
84998
85179
|
};
|
|
84999
|
-
}
|
|
85000
|
-
|
|
85001
|
-
|
|
85002
|
-
|
|
85180
|
+
} | {
|
|
85181
|
+
type: "DocumentationTabCreate";
|
|
85182
|
+
output: {
|
|
85183
|
+
success: true;
|
|
85184
|
+
};
|
|
85185
|
+
} | {
|
|
85186
|
+
type: "DocumentationGroupUpdate";
|
|
85187
|
+
output: {
|
|
85188
|
+
success: true;
|
|
85189
|
+
};
|
|
85190
|
+
} | {
|
|
85191
|
+
type: "DocumentationGroupMove";
|
|
85192
|
+
output: {
|
|
85193
|
+
success: true;
|
|
85194
|
+
};
|
|
85195
|
+
} | {
|
|
85196
|
+
type: "DocumentationGroupDuplicate";
|
|
85197
|
+
output: {
|
|
85198
|
+
success: true;
|
|
85199
|
+
};
|
|
85200
|
+
} | {
|
|
85201
|
+
type: "DocumentationGroupDelete";
|
|
85202
|
+
output: {
|
|
85203
|
+
success: true;
|
|
85204
|
+
};
|
|
85205
|
+
} | {
|
|
85206
|
+
type: "DocumentationTabGroupDelete";
|
|
85207
|
+
output: {
|
|
85208
|
+
success: true;
|
|
85209
|
+
};
|
|
85210
|
+
} | {
|
|
85211
|
+
type: "DocumentationPageCreate";
|
|
85212
|
+
output: {
|
|
85213
|
+
success: true;
|
|
85214
|
+
};
|
|
85215
|
+
} | {
|
|
85216
|
+
type: "DocumentationPageUpdate";
|
|
85217
|
+
output: {
|
|
85218
|
+
success: true;
|
|
85219
|
+
};
|
|
85220
|
+
} | {
|
|
85221
|
+
type: "DocumentationPageMove";
|
|
85222
|
+
output: {
|
|
85223
|
+
success: true;
|
|
85224
|
+
};
|
|
85225
|
+
} | {
|
|
85226
|
+
type: "DocumentationPageDuplicate";
|
|
85227
|
+
output: {
|
|
85228
|
+
success: true;
|
|
85229
|
+
};
|
|
85230
|
+
} | {
|
|
85231
|
+
type: "DocumentationPageDelete";
|
|
85232
|
+
output: {
|
|
85233
|
+
success: true;
|
|
85234
|
+
};
|
|
85235
|
+
} | {
|
|
85236
|
+
type: "DocumentationPageRestore";
|
|
85237
|
+
output: {
|
|
85238
|
+
success: true;
|
|
85239
|
+
};
|
|
85240
|
+
} | {
|
|
85241
|
+
type: "DocumentationGroupRestore";
|
|
85242
|
+
output: {
|
|
85243
|
+
success: true;
|
|
85244
|
+
};
|
|
85245
|
+
} | {
|
|
85246
|
+
type: "DocumentationPageApprovalStateChange";
|
|
85247
|
+
output: {
|
|
85248
|
+
success: true;
|
|
85249
|
+
};
|
|
85250
|
+
} | {
|
|
85251
|
+
type: "FigmaNodeRender";
|
|
85252
|
+
figmaNodes: {
|
|
85003
85253
|
id: string;
|
|
85004
85254
|
persistentId: string;
|
|
85005
85255
|
meta: {
|
|
@@ -85007,65 +85257,103 @@ declare class ElementPropertyDefinitionsEndpoint {
|
|
|
85007
85257
|
description?: string | undefined;
|
|
85008
85258
|
};
|
|
85009
85259
|
designSystemVersionId: string;
|
|
85010
|
-
|
|
85011
|
-
|
|
85012
|
-
|
|
85013
|
-
|
|
85014
|
-
|
|
85015
|
-
|
|
85016
|
-
|
|
85017
|
-
|
|
85018
|
-
|
|
85019
|
-
|
|
85020
|
-
|
|
85021
|
-
|
|
85022
|
-
|
|
85023
|
-
|
|
85024
|
-
|
|
85025
|
-
|
|
85026
|
-
|
|
85027
|
-
declare class ElementPropertyValuesEndpoint {
|
|
85028
|
-
private readonly requestExecutor;
|
|
85029
|
-
constructor(requestExecutor: RequestExecutor);
|
|
85030
|
-
list(designSystemId: string, versionId: string): Promise<{
|
|
85031
|
-
values: {
|
|
85032
|
-
id: string;
|
|
85033
|
-
designSystemVersionId: string;
|
|
85034
|
-
definitionId: string;
|
|
85035
|
-
targetElementId: string;
|
|
85036
|
-
value?: string | number | boolean | undefined;
|
|
85037
|
-
valuePreview?: string | undefined;
|
|
85260
|
+
createdAt: Date;
|
|
85261
|
+
updatedAt: Date;
|
|
85262
|
+
data: {
|
|
85263
|
+
figmaNodeId: string;
|
|
85264
|
+
isValid: boolean;
|
|
85265
|
+
assetId: string;
|
|
85266
|
+
assetUrl: string;
|
|
85267
|
+
assetFormat: "Png" | "Svg";
|
|
85268
|
+
assetScale: number;
|
|
85269
|
+
assetWidth?: number | undefined;
|
|
85270
|
+
assetHeight?: number | undefined;
|
|
85271
|
+
};
|
|
85272
|
+
origin: {
|
|
85273
|
+
sourceId: string;
|
|
85274
|
+
fileId?: string | undefined;
|
|
85275
|
+
parentName?: string | undefined;
|
|
85276
|
+
};
|
|
85038
85277
|
}[];
|
|
85039
85278
|
}>;
|
|
85040
|
-
|
|
85041
|
-
|
|
85042
|
-
|
|
85043
|
-
|
|
85044
|
-
definitionId: string;
|
|
85045
|
-
targetElementId: string;
|
|
85046
|
-
value?: string | number | boolean | undefined;
|
|
85047
|
-
valuePreview?: string | undefined;
|
|
85279
|
+
updateDocPage(dsId: string, vId: string, input: DTOUpdateDocumentationPageInputV2): Promise<{
|
|
85280
|
+
type: "DocumentationGroupCreate";
|
|
85281
|
+
output: {
|
|
85282
|
+
success: true;
|
|
85048
85283
|
};
|
|
85049
|
-
}
|
|
85050
|
-
|
|
85051
|
-
|
|
85052
|
-
|
|
85053
|
-
|
|
85054
|
-
|
|
85055
|
-
|
|
85056
|
-
|
|
85057
|
-
|
|
85058
|
-
|
|
85059
|
-
|
|
85060
|
-
|
|
85061
|
-
|
|
85062
|
-
|
|
85063
|
-
|
|
85064
|
-
|
|
85065
|
-
|
|
85066
|
-
|
|
85067
|
-
|
|
85068
|
-
|
|
85284
|
+
} | {
|
|
85285
|
+
type: "DocumentationTabCreate";
|
|
85286
|
+
output: {
|
|
85287
|
+
success: true;
|
|
85288
|
+
};
|
|
85289
|
+
} | {
|
|
85290
|
+
type: "DocumentationGroupUpdate";
|
|
85291
|
+
output: {
|
|
85292
|
+
success: true;
|
|
85293
|
+
};
|
|
85294
|
+
} | {
|
|
85295
|
+
type: "DocumentationGroupMove";
|
|
85296
|
+
output: {
|
|
85297
|
+
success: true;
|
|
85298
|
+
};
|
|
85299
|
+
} | {
|
|
85300
|
+
type: "DocumentationGroupDuplicate";
|
|
85301
|
+
output: {
|
|
85302
|
+
success: true;
|
|
85303
|
+
};
|
|
85304
|
+
} | {
|
|
85305
|
+
type: "DocumentationGroupDelete";
|
|
85306
|
+
output: {
|
|
85307
|
+
success: true;
|
|
85308
|
+
};
|
|
85309
|
+
} | {
|
|
85310
|
+
type: "DocumentationTabGroupDelete";
|
|
85311
|
+
output: {
|
|
85312
|
+
success: true;
|
|
85313
|
+
};
|
|
85314
|
+
} | {
|
|
85315
|
+
type: "DocumentationPageCreate";
|
|
85316
|
+
output: {
|
|
85317
|
+
success: true;
|
|
85318
|
+
};
|
|
85319
|
+
} | {
|
|
85320
|
+
type: "DocumentationPageUpdate";
|
|
85321
|
+
output: {
|
|
85322
|
+
success: true;
|
|
85323
|
+
};
|
|
85324
|
+
} | {
|
|
85325
|
+
type: "DocumentationPageMove";
|
|
85326
|
+
output: {
|
|
85327
|
+
success: true;
|
|
85328
|
+
};
|
|
85329
|
+
} | {
|
|
85330
|
+
type: "DocumentationPageDuplicate";
|
|
85331
|
+
output: {
|
|
85332
|
+
success: true;
|
|
85333
|
+
};
|
|
85334
|
+
} | {
|
|
85335
|
+
type: "DocumentationPageDelete";
|
|
85336
|
+
output: {
|
|
85337
|
+
success: true;
|
|
85338
|
+
};
|
|
85339
|
+
} | {
|
|
85340
|
+
type: "DocumentationPageRestore";
|
|
85341
|
+
output: {
|
|
85342
|
+
success: true;
|
|
85343
|
+
};
|
|
85344
|
+
} | {
|
|
85345
|
+
type: "DocumentationGroupRestore";
|
|
85346
|
+
output: {
|
|
85347
|
+
success: true;
|
|
85348
|
+
};
|
|
85349
|
+
} | {
|
|
85350
|
+
type: "DocumentationPageApprovalStateChange";
|
|
85351
|
+
output: {
|
|
85352
|
+
success: true;
|
|
85353
|
+
};
|
|
85354
|
+
} | {
|
|
85355
|
+
type: "FigmaNodeRender";
|
|
85356
|
+
figmaNodes: {
|
|
85069
85357
|
id: string;
|
|
85070
85358
|
persistentId: string;
|
|
85071
85359
|
meta: {
|
|
@@ -85073,18 +85361,397 @@ declare class ThemesEndpoint {
|
|
|
85073
85361
|
description?: string | undefined;
|
|
85074
85362
|
};
|
|
85075
85363
|
designSystemVersionId: string;
|
|
85076
|
-
|
|
85077
|
-
|
|
85078
|
-
|
|
85079
|
-
|
|
85080
|
-
|
|
85081
|
-
|
|
85082
|
-
|
|
85083
|
-
|
|
85084
|
-
|
|
85085
|
-
|
|
85086
|
-
|
|
85087
|
-
|
|
85364
|
+
createdAt: Date;
|
|
85365
|
+
updatedAt: Date;
|
|
85366
|
+
data: {
|
|
85367
|
+
figmaNodeId: string;
|
|
85368
|
+
isValid: boolean;
|
|
85369
|
+
assetId: string;
|
|
85370
|
+
assetUrl: string;
|
|
85371
|
+
assetFormat: "Png" | "Svg";
|
|
85372
|
+
assetScale: number;
|
|
85373
|
+
assetWidth?: number | undefined;
|
|
85374
|
+
assetHeight?: number | undefined;
|
|
85375
|
+
};
|
|
85376
|
+
origin: {
|
|
85377
|
+
sourceId: string;
|
|
85378
|
+
fileId?: string | undefined;
|
|
85379
|
+
parentName?: string | undefined;
|
|
85380
|
+
};
|
|
85381
|
+
}[];
|
|
85382
|
+
}>;
|
|
85383
|
+
updateDocGroup(dsId: string, vId: string, input: DTOUpdateDocumentationGroupInput): Promise<{
|
|
85384
|
+
type: "DocumentationGroupCreate";
|
|
85385
|
+
output: {
|
|
85386
|
+
success: true;
|
|
85387
|
+
};
|
|
85388
|
+
} | {
|
|
85389
|
+
type: "DocumentationTabCreate";
|
|
85390
|
+
output: {
|
|
85391
|
+
success: true;
|
|
85392
|
+
};
|
|
85393
|
+
} | {
|
|
85394
|
+
type: "DocumentationGroupUpdate";
|
|
85395
|
+
output: {
|
|
85396
|
+
success: true;
|
|
85397
|
+
};
|
|
85398
|
+
} | {
|
|
85399
|
+
type: "DocumentationGroupMove";
|
|
85400
|
+
output: {
|
|
85401
|
+
success: true;
|
|
85402
|
+
};
|
|
85403
|
+
} | {
|
|
85404
|
+
type: "DocumentationGroupDuplicate";
|
|
85405
|
+
output: {
|
|
85406
|
+
success: true;
|
|
85407
|
+
};
|
|
85408
|
+
} | {
|
|
85409
|
+
type: "DocumentationGroupDelete";
|
|
85410
|
+
output: {
|
|
85411
|
+
success: true;
|
|
85412
|
+
};
|
|
85413
|
+
} | {
|
|
85414
|
+
type: "DocumentationTabGroupDelete";
|
|
85415
|
+
output: {
|
|
85416
|
+
success: true;
|
|
85417
|
+
};
|
|
85418
|
+
} | {
|
|
85419
|
+
type: "DocumentationPageCreate";
|
|
85420
|
+
output: {
|
|
85421
|
+
success: true;
|
|
85422
|
+
};
|
|
85423
|
+
} | {
|
|
85424
|
+
type: "DocumentationPageUpdate";
|
|
85425
|
+
output: {
|
|
85426
|
+
success: true;
|
|
85427
|
+
};
|
|
85428
|
+
} | {
|
|
85429
|
+
type: "DocumentationPageMove";
|
|
85430
|
+
output: {
|
|
85431
|
+
success: true;
|
|
85432
|
+
};
|
|
85433
|
+
} | {
|
|
85434
|
+
type: "DocumentationPageDuplicate";
|
|
85435
|
+
output: {
|
|
85436
|
+
success: true;
|
|
85437
|
+
};
|
|
85438
|
+
} | {
|
|
85439
|
+
type: "DocumentationPageDelete";
|
|
85440
|
+
output: {
|
|
85441
|
+
success: true;
|
|
85442
|
+
};
|
|
85443
|
+
} | {
|
|
85444
|
+
type: "DocumentationPageRestore";
|
|
85445
|
+
output: {
|
|
85446
|
+
success: true;
|
|
85447
|
+
};
|
|
85448
|
+
} | {
|
|
85449
|
+
type: "DocumentationGroupRestore";
|
|
85450
|
+
output: {
|
|
85451
|
+
success: true;
|
|
85452
|
+
};
|
|
85453
|
+
} | {
|
|
85454
|
+
type: "DocumentationPageApprovalStateChange";
|
|
85455
|
+
output: {
|
|
85456
|
+
success: true;
|
|
85457
|
+
};
|
|
85458
|
+
} | {
|
|
85459
|
+
type: "FigmaNodeRender";
|
|
85460
|
+
figmaNodes: {
|
|
85461
|
+
id: string;
|
|
85462
|
+
persistentId: string;
|
|
85463
|
+
meta: {
|
|
85464
|
+
name: string;
|
|
85465
|
+
description?: string | undefined;
|
|
85466
|
+
};
|
|
85467
|
+
designSystemVersionId: string;
|
|
85468
|
+
createdAt: Date;
|
|
85469
|
+
updatedAt: Date;
|
|
85470
|
+
data: {
|
|
85471
|
+
figmaNodeId: string;
|
|
85472
|
+
isValid: boolean;
|
|
85473
|
+
assetId: string;
|
|
85474
|
+
assetUrl: string;
|
|
85475
|
+
assetFormat: "Png" | "Svg";
|
|
85476
|
+
assetScale: number;
|
|
85477
|
+
assetWidth?: number | undefined;
|
|
85478
|
+
assetHeight?: number | undefined;
|
|
85479
|
+
};
|
|
85480
|
+
origin: {
|
|
85481
|
+
sourceId: string;
|
|
85482
|
+
fileId?: string | undefined;
|
|
85483
|
+
parentName?: string | undefined;
|
|
85484
|
+
};
|
|
85485
|
+
}[];
|
|
85486
|
+
}>;
|
|
85487
|
+
createDocTab(dsId: string, vId: string, input: DTOCreateDocumentationTabInput): Promise<{
|
|
85488
|
+
type: "DocumentationGroupCreate";
|
|
85489
|
+
output: {
|
|
85490
|
+
success: true;
|
|
85491
|
+
};
|
|
85492
|
+
} | {
|
|
85493
|
+
type: "DocumentationTabCreate";
|
|
85494
|
+
output: {
|
|
85495
|
+
success: true;
|
|
85496
|
+
};
|
|
85497
|
+
} | {
|
|
85498
|
+
type: "DocumentationGroupUpdate";
|
|
85499
|
+
output: {
|
|
85500
|
+
success: true;
|
|
85501
|
+
};
|
|
85502
|
+
} | {
|
|
85503
|
+
type: "DocumentationGroupMove";
|
|
85504
|
+
output: {
|
|
85505
|
+
success: true;
|
|
85506
|
+
};
|
|
85507
|
+
} | {
|
|
85508
|
+
type: "DocumentationGroupDuplicate";
|
|
85509
|
+
output: {
|
|
85510
|
+
success: true;
|
|
85511
|
+
};
|
|
85512
|
+
} | {
|
|
85513
|
+
type: "DocumentationGroupDelete";
|
|
85514
|
+
output: {
|
|
85515
|
+
success: true;
|
|
85516
|
+
};
|
|
85517
|
+
} | {
|
|
85518
|
+
type: "DocumentationTabGroupDelete";
|
|
85519
|
+
output: {
|
|
85520
|
+
success: true;
|
|
85521
|
+
};
|
|
85522
|
+
} | {
|
|
85523
|
+
type: "DocumentationPageCreate";
|
|
85524
|
+
output: {
|
|
85525
|
+
success: true;
|
|
85526
|
+
};
|
|
85527
|
+
} | {
|
|
85528
|
+
type: "DocumentationPageUpdate";
|
|
85529
|
+
output: {
|
|
85530
|
+
success: true;
|
|
85531
|
+
};
|
|
85532
|
+
} | {
|
|
85533
|
+
type: "DocumentationPageMove";
|
|
85534
|
+
output: {
|
|
85535
|
+
success: true;
|
|
85536
|
+
};
|
|
85537
|
+
} | {
|
|
85538
|
+
type: "DocumentationPageDuplicate";
|
|
85539
|
+
output: {
|
|
85540
|
+
success: true;
|
|
85541
|
+
};
|
|
85542
|
+
} | {
|
|
85543
|
+
type: "DocumentationPageDelete";
|
|
85544
|
+
output: {
|
|
85545
|
+
success: true;
|
|
85546
|
+
};
|
|
85547
|
+
} | {
|
|
85548
|
+
type: "DocumentationPageRestore";
|
|
85549
|
+
output: {
|
|
85550
|
+
success: true;
|
|
85551
|
+
};
|
|
85552
|
+
} | {
|
|
85553
|
+
type: "DocumentationGroupRestore";
|
|
85554
|
+
output: {
|
|
85555
|
+
success: true;
|
|
85556
|
+
};
|
|
85557
|
+
} | {
|
|
85558
|
+
type: "DocumentationPageApprovalStateChange";
|
|
85559
|
+
output: {
|
|
85560
|
+
success: true;
|
|
85561
|
+
};
|
|
85562
|
+
} | {
|
|
85563
|
+
type: "FigmaNodeRender";
|
|
85564
|
+
figmaNodes: {
|
|
85565
|
+
id: string;
|
|
85566
|
+
persistentId: string;
|
|
85567
|
+
meta: {
|
|
85568
|
+
name: string;
|
|
85569
|
+
description?: string | undefined;
|
|
85570
|
+
};
|
|
85571
|
+
designSystemVersionId: string;
|
|
85572
|
+
createdAt: Date;
|
|
85573
|
+
updatedAt: Date;
|
|
85574
|
+
data: {
|
|
85575
|
+
figmaNodeId: string;
|
|
85576
|
+
isValid: boolean;
|
|
85577
|
+
assetId: string;
|
|
85578
|
+
assetUrl: string;
|
|
85579
|
+
assetFormat: "Png" | "Svg";
|
|
85580
|
+
assetScale: number;
|
|
85581
|
+
assetWidth?: number | undefined;
|
|
85582
|
+
assetHeight?: number | undefined;
|
|
85583
|
+
};
|
|
85584
|
+
origin: {
|
|
85585
|
+
sourceId: string;
|
|
85586
|
+
fileId?: string | undefined;
|
|
85587
|
+
parentName?: string | undefined;
|
|
85588
|
+
};
|
|
85589
|
+
}[];
|
|
85590
|
+
}>;
|
|
85591
|
+
}
|
|
85592
|
+
|
|
85593
|
+
declare class ImportJobsEndpoint {
|
|
85594
|
+
private readonly requestExecutor;
|
|
85595
|
+
constructor(requestExecutor: RequestExecutor);
|
|
85596
|
+
get(designSystemId: string, versionId: string, jobId: string): Promise<{
|
|
85597
|
+
job: {
|
|
85598
|
+
id: string;
|
|
85599
|
+
designSystemVersionId: string;
|
|
85600
|
+
createdAt: Date;
|
|
85601
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
85602
|
+
sourceIds: string[];
|
|
85603
|
+
designSystemId: string;
|
|
85604
|
+
operation: "Import";
|
|
85605
|
+
stateChangedAt: Date;
|
|
85606
|
+
};
|
|
85607
|
+
}>;
|
|
85608
|
+
}
|
|
85609
|
+
|
|
85610
|
+
declare class OverridesEndpoint {
|
|
85611
|
+
private readonly requestExecutor;
|
|
85612
|
+
constructor(requestExecutor: RequestExecutor);
|
|
85613
|
+
create(dsId: string, versionId: string, themeId: string, body: any): Promise<any>;
|
|
85614
|
+
}
|
|
85615
|
+
|
|
85616
|
+
declare class ElementPropertyDefinitionsEndpoint {
|
|
85617
|
+
private readonly requestExecutor;
|
|
85618
|
+
constructor(requestExecutor: RequestExecutor);
|
|
85619
|
+
list(designSystemId: string, versionId: string): Promise<{
|
|
85620
|
+
definitions: {
|
|
85621
|
+
type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
|
|
85622
|
+
id: string;
|
|
85623
|
+
persistentId: string;
|
|
85624
|
+
meta: {
|
|
85625
|
+
name: string;
|
|
85626
|
+
description?: string | undefined;
|
|
85627
|
+
};
|
|
85628
|
+
designSystemVersionId: string;
|
|
85629
|
+
targetElementType: "Token" | "Component" | "DocumentationPage";
|
|
85630
|
+
codeName: string;
|
|
85631
|
+
isImmutable: boolean;
|
|
85632
|
+
options?: {
|
|
85633
|
+
id: string;
|
|
85634
|
+
name: string;
|
|
85635
|
+
backgroundColor?: {
|
|
85636
|
+
value: string;
|
|
85637
|
+
} | undefined;
|
|
85638
|
+
}[] | undefined;
|
|
85639
|
+
linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
|
|
85640
|
+
immutablePropertyType?: "Collection" | undefined;
|
|
85641
|
+
}[];
|
|
85642
|
+
}>;
|
|
85643
|
+
create(designSystemId: string, versionId: string, body: DTOElementPropertyDefinitionCreatePayload): Promise<{
|
|
85644
|
+
definition: {
|
|
85645
|
+
type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
|
|
85646
|
+
id: string;
|
|
85647
|
+
persistentId: string;
|
|
85648
|
+
meta: {
|
|
85649
|
+
name: string;
|
|
85650
|
+
description?: string | undefined;
|
|
85651
|
+
};
|
|
85652
|
+
designSystemVersionId: string;
|
|
85653
|
+
targetElementType: "Token" | "Component" | "DocumentationPage";
|
|
85654
|
+
codeName: string;
|
|
85655
|
+
isImmutable: boolean;
|
|
85656
|
+
options?: {
|
|
85657
|
+
id: string;
|
|
85658
|
+
name: string;
|
|
85659
|
+
backgroundColor?: {
|
|
85660
|
+
value: string;
|
|
85661
|
+
} | undefined;
|
|
85662
|
+
}[] | undefined;
|
|
85663
|
+
linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
|
|
85664
|
+
immutablePropertyType?: "Collection" | undefined;
|
|
85665
|
+
};
|
|
85666
|
+
}>;
|
|
85667
|
+
update(designSystemId: string, versionId: string, defId: string, body: DTOElementPropertyDefinitionUpdatePayload): Promise<{
|
|
85668
|
+
definition: {
|
|
85669
|
+
type: "Text" | "Number" | "Boolean" | "Select" | "Generic" | "Link" | "URL";
|
|
85670
|
+
id: string;
|
|
85671
|
+
persistentId: string;
|
|
85672
|
+
meta: {
|
|
85673
|
+
name: string;
|
|
85674
|
+
description?: string | undefined;
|
|
85675
|
+
};
|
|
85676
|
+
designSystemVersionId: string;
|
|
85677
|
+
targetElementType: "Token" | "Component" | "DocumentationPage";
|
|
85678
|
+
codeName: string;
|
|
85679
|
+
isImmutable: boolean;
|
|
85680
|
+
options?: {
|
|
85681
|
+
id: string;
|
|
85682
|
+
name: string;
|
|
85683
|
+
backgroundColor?: {
|
|
85684
|
+
value: string;
|
|
85685
|
+
} | undefined;
|
|
85686
|
+
}[] | undefined;
|
|
85687
|
+
linkElementType?: NonNullable<"DocumentationPage" | "FigmaComponent"> | undefined;
|
|
85688
|
+
immutablePropertyType?: "Collection" | undefined;
|
|
85689
|
+
};
|
|
85690
|
+
}>;
|
|
85691
|
+
delete(designSystemId: string, versionId: string, defId: string): Promise<any>;
|
|
85692
|
+
}
|
|
85693
|
+
|
|
85694
|
+
declare class ElementPropertyValuesEndpoint {
|
|
85695
|
+
private readonly requestExecutor;
|
|
85696
|
+
constructor(requestExecutor: RequestExecutor);
|
|
85697
|
+
list(designSystemId: string, versionId: string): Promise<{
|
|
85698
|
+
values: {
|
|
85699
|
+
id: string;
|
|
85700
|
+
designSystemVersionId: string;
|
|
85701
|
+
definitionId: string;
|
|
85702
|
+
targetElementId: string;
|
|
85703
|
+
value?: string | number | boolean | undefined;
|
|
85704
|
+
valuePreview?: string | undefined;
|
|
85705
|
+
}[];
|
|
85706
|
+
}>;
|
|
85707
|
+
upsert(designSystemId: string, versionId: string, body: DTOElementPropertyValueUpsertPaylod): Promise<{
|
|
85708
|
+
value: {
|
|
85709
|
+
id: string;
|
|
85710
|
+
designSystemVersionId: string;
|
|
85711
|
+
definitionId: string;
|
|
85712
|
+
targetElementId: string;
|
|
85713
|
+
value?: string | number | boolean | undefined;
|
|
85714
|
+
valuePreview?: string | undefined;
|
|
85715
|
+
};
|
|
85716
|
+
}>;
|
|
85717
|
+
}
|
|
85718
|
+
|
|
85719
|
+
declare class VersionStatsEndpoint {
|
|
85720
|
+
private readonly requestExecutor;
|
|
85721
|
+
constructor(requestExecutor: RequestExecutor);
|
|
85722
|
+
get(dsId: string, vId: string, query?: DTODesignSystemVersionStatsQuery): Promise<{
|
|
85723
|
+
tokens: number;
|
|
85724
|
+
assets: number;
|
|
85725
|
+
designSystemComponents: number;
|
|
85726
|
+
documentationPages: number;
|
|
85727
|
+
}>;
|
|
85728
|
+
}
|
|
85729
|
+
|
|
85730
|
+
declare class ThemesEndpoint {
|
|
85731
|
+
private readonly requestExecutor;
|
|
85732
|
+
readonly overrides: OverridesEndpoint;
|
|
85733
|
+
constructor(requestExecutor: RequestExecutor);
|
|
85734
|
+
list(dsId: string, versionId: string): Promise<{
|
|
85735
|
+
themes: {
|
|
85736
|
+
id: string;
|
|
85737
|
+
persistentId: string;
|
|
85738
|
+
meta: {
|
|
85739
|
+
name: string;
|
|
85740
|
+
description?: string | undefined;
|
|
85741
|
+
};
|
|
85742
|
+
designSystemVersionId: string;
|
|
85743
|
+
brandId: string;
|
|
85744
|
+
codeName: string;
|
|
85745
|
+
overrides: (({
|
|
85746
|
+
type: "Blur";
|
|
85747
|
+
data: {
|
|
85748
|
+
value?: {
|
|
85749
|
+
type: "Layer" | "Background";
|
|
85750
|
+
radius: {
|
|
85751
|
+
value?: {
|
|
85752
|
+
unit: "Pixels" | "Percent" | "Rem" | "Ms" | "Raw" | "Points";
|
|
85753
|
+
measure: number;
|
|
85754
|
+
} | undefined;
|
|
85088
85755
|
aliasTo?: string | undefined;
|
|
85089
85756
|
};
|
|
85090
85757
|
} | undefined;
|
|
@@ -86653,8 +87320,9 @@ declare class DesignSystemVersionsEndpoint {
|
|
|
86653
87320
|
readonly stats: VersionStatsEndpoint;
|
|
86654
87321
|
readonly elementPropertyDefinitions: ElementPropertyDefinitionsEndpoint;
|
|
86655
87322
|
readonly elementPropertyValues: ElementPropertyValuesEndpoint;
|
|
86656
|
-
readonly
|
|
87323
|
+
readonly elementsAction: ElementsActionEndpoint;
|
|
86657
87324
|
readonly designSystemComponents: DesignSystemComponentEndpoint;
|
|
87325
|
+
readonly documentation: DocumentationEndpoint;
|
|
86658
87326
|
constructor(requestExecutor: RequestExecutor);
|
|
86659
87327
|
list(dsId: string): Promise<{
|
|
86660
87328
|
designSystemVersions: {
|
|
@@ -86702,10 +87370,10 @@ declare class DesignSystemBffEndpoint {
|
|
|
86702
87370
|
designSystemVersionId: string;
|
|
86703
87371
|
createdAt: Date;
|
|
86704
87372
|
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
87373
|
+
sourceIds: string[];
|
|
86705
87374
|
designSystemId: string;
|
|
86706
87375
|
operation: "Import";
|
|
86707
87376
|
stateChangedAt: Date;
|
|
86708
|
-
sourceIds: string[];
|
|
86709
87377
|
};
|
|
86710
87378
|
}>;
|
|
86711
87379
|
}
|
|
@@ -86759,6 +87427,122 @@ declare class DesignSystemMembersEndpoint {
|
|
|
86759
87427
|
declare class DesignSystemSourcesEndpoint {
|
|
86760
87428
|
private readonly requestExecutor;
|
|
86761
87429
|
constructor(requestExecutor: RequestExecutor);
|
|
87430
|
+
create(dsId: string, payload: DTODataSourceFigmaCreatePayload): Promise<{
|
|
87431
|
+
source: {
|
|
87432
|
+
type: "Figma";
|
|
87433
|
+
id: string;
|
|
87434
|
+
brandId: string;
|
|
87435
|
+
fileName: string;
|
|
87436
|
+
scope: {
|
|
87437
|
+
assets: boolean;
|
|
87438
|
+
components: boolean;
|
|
87439
|
+
tokens: boolean;
|
|
87440
|
+
documentationFrames: boolean;
|
|
87441
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
87442
|
+
themePersistentId?: string | undefined;
|
|
87443
|
+
};
|
|
87444
|
+
themeId?: string | null | undefined;
|
|
87445
|
+
cloud?: {
|
|
87446
|
+
fileId: string;
|
|
87447
|
+
state: "Active" | "MissingIntegration" | "MissingFileAccess" | "MissingFileOwner";
|
|
87448
|
+
autoImportMode: "Never" | "Hourly";
|
|
87449
|
+
ownerId: string;
|
|
87450
|
+
stats: {
|
|
87451
|
+
assets: number;
|
|
87452
|
+
components: number;
|
|
87453
|
+
frames: number;
|
|
87454
|
+
tokens: number;
|
|
87455
|
+
};
|
|
87456
|
+
fileThumbnailUrl?: string | undefined;
|
|
87457
|
+
lastImportResult?: {
|
|
87458
|
+
components: number;
|
|
87459
|
+
componentSets: number;
|
|
87460
|
+
frames: number;
|
|
87461
|
+
tokensCreated: number;
|
|
87462
|
+
tokensUpdated: number;
|
|
87463
|
+
tokensDeleted: number;
|
|
87464
|
+
tokensCreatedPerType: Partial<Record<"Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "Image" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Font" | "Text" | "Measure" | "Radius" | "GenericToken", number>>;
|
|
87465
|
+
tokensUpdatedPerType: Partial<Record<"Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "Image" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Font" | "Text" | "Measure" | "Radius" | "GenericToken", number>>;
|
|
87466
|
+
tokensDeletedPerType: Partial<Record<"Color" | "Border" | "Gradient" | "Shadow" | "Dimension" | "Duration" | "Size" | "Space" | "Opacity" | "FontSize" | "LineHeight" | "LetterSpacing" | "ParagraphSpacing" | "BorderWidth" | "BorderRadius" | "ZIndex" | "Image" | "String" | "ProductCopy" | "FontFamily" | "FontWeight" | "TextDecoration" | "TextCase" | "Visibility" | "Typography" | "Blur" | "Font" | "Text" | "Measure" | "Radius" | "GenericToken", number>>;
|
|
87467
|
+
componentsCreated: number;
|
|
87468
|
+
componentsUpdated: number;
|
|
87469
|
+
componentsDeleted: number;
|
|
87470
|
+
componentAssetsCreated: number;
|
|
87471
|
+
componentAssetsUpdated: number;
|
|
87472
|
+
componentAssetsDeleted: number;
|
|
87473
|
+
isFailed: boolean;
|
|
87474
|
+
warnings: {
|
|
87475
|
+
warningType: "NoVersionFound" | "UnsupportedFill" | "UnsupportedStroke" | "UnsupportedEffect" | "NoPublishedElements" | "NoPublishedStyles" | "NoPublishedComponents" | "NoPublishedAssets" | "StyleNotApplied" | "ComponentHasNoThumbnail" | "DuplicateImportedStyleId" | "DuplicateImportedStylePath" | "NoUnpublishedStyles" | "ReferenceResolutionFailed";
|
|
87476
|
+
componentId?: string | undefined;
|
|
87477
|
+
componentName?: string | undefined;
|
|
87478
|
+
styleId?: string | undefined;
|
|
87479
|
+
styleName?: string | undefined;
|
|
87480
|
+
unsupportedStyleValueType?: string | undefined;
|
|
87481
|
+
referenceId?: string | undefined;
|
|
87482
|
+
}[];
|
|
87483
|
+
error?: any;
|
|
87484
|
+
sourceId?: string | undefined;
|
|
87485
|
+
brandId?: string | undefined;
|
|
87486
|
+
versionId?: string | undefined;
|
|
87487
|
+
} | null | undefined;
|
|
87488
|
+
lastImportedAt?: Date | null | undefined;
|
|
87489
|
+
lastImportedVersion?: {
|
|
87490
|
+
description: string;
|
|
87491
|
+
id: string;
|
|
87492
|
+
created_at: Date;
|
|
87493
|
+
label: string;
|
|
87494
|
+
} | null | undefined;
|
|
87495
|
+
lastUpdatesCheckedAt?: Date | null | undefined;
|
|
87496
|
+
ownerUserName?: string | undefined;
|
|
87497
|
+
preferredCredentialId?: string | undefined;
|
|
87498
|
+
} | null | undefined;
|
|
87499
|
+
} | {
|
|
87500
|
+
type: "TokenStudio";
|
|
87501
|
+
id: string;
|
|
87502
|
+
brandId: string;
|
|
87503
|
+
fileName: string;
|
|
87504
|
+
tokenStudio: {
|
|
87505
|
+
lastImportedAt: Date;
|
|
87506
|
+
settings: {
|
|
87507
|
+
dryRun: boolean;
|
|
87508
|
+
verbose: boolean;
|
|
87509
|
+
preciseCopy: boolean;
|
|
87510
|
+
};
|
|
87511
|
+
connectionName: string;
|
|
87512
|
+
lastImportedResults: {
|
|
87513
|
+
mapping: {
|
|
87514
|
+
tokenSets: string[];
|
|
87515
|
+
supernovaBrand: string;
|
|
87516
|
+
supernovaTheme?: string | undefined;
|
|
87517
|
+
};
|
|
87518
|
+
isFailed: boolean;
|
|
87519
|
+
tokensCreated: number;
|
|
87520
|
+
tokensDeleted: number;
|
|
87521
|
+
tokensUpdated: number;
|
|
87522
|
+
}[];
|
|
87523
|
+
};
|
|
87524
|
+
themeId?: string | null | undefined;
|
|
87525
|
+
} | {
|
|
87526
|
+
type: "FigmaVariablesPlugin";
|
|
87527
|
+
id: string;
|
|
87528
|
+
brandId: string;
|
|
87529
|
+
fileName: string;
|
|
87530
|
+
upload: {
|
|
87531
|
+
remoteId: string;
|
|
87532
|
+
remoteSourceType: "TokenStudio" | "FigmaVariablesPlugin" | "Custom";
|
|
87533
|
+
isTokenTypeSplitEnabled: boolean;
|
|
87534
|
+
lastImportedAt?: Date | undefined;
|
|
87535
|
+
lastImportMetadata?: Record<string, any> | undefined;
|
|
87536
|
+
};
|
|
87537
|
+
figmaVariablesPlugin: {
|
|
87538
|
+
fileId: string;
|
|
87539
|
+
isTokenTypeSplitEnabled: boolean;
|
|
87540
|
+
isCollectionsMigrationCompleted: boolean;
|
|
87541
|
+
lastImportedAt?: Date | undefined;
|
|
87542
|
+
lastImportMetadata?: Record<string, any> | undefined;
|
|
87543
|
+
};
|
|
87544
|
+
};
|
|
87545
|
+
}>;
|
|
86762
87546
|
list(dsId: string): Promise<{
|
|
86763
87547
|
sources: ({
|
|
86764
87548
|
type: "Figma";
|
|
@@ -86876,6 +87660,18 @@ declare class DesignSystemSourcesEndpoint {
|
|
|
86876
87660
|
})[];
|
|
86877
87661
|
}>;
|
|
86878
87662
|
delete(dsId: string, sourceId: string): Promise<any>;
|
|
87663
|
+
figmaImport(dsId: string, payload: DTODataSourceFigmaImportPayload): Promise<{
|
|
87664
|
+
job: {
|
|
87665
|
+
id: string;
|
|
87666
|
+
designSystemVersionId: string;
|
|
87667
|
+
createdAt: Date;
|
|
87668
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
87669
|
+
sourceIds: string[];
|
|
87670
|
+
designSystemId: string;
|
|
87671
|
+
operation: "Import";
|
|
87672
|
+
stateChangedAt: Date;
|
|
87673
|
+
};
|
|
87674
|
+
}>;
|
|
86879
87675
|
}
|
|
86880
87676
|
|
|
86881
87677
|
declare class DesignSystemsEndpoint {
|
|
@@ -87263,275 +88059,469 @@ declare class WorkspaceInvitationsEndpoint {
|
|
|
87263
88059
|
}>;
|
|
87264
88060
|
}
|
|
87265
88061
|
|
|
87266
|
-
declare class WorkspaceMembersEndpoint {
|
|
88062
|
+
declare class WorkspaceMembersEndpoint {
|
|
88063
|
+
private readonly requestExecutor;
|
|
88064
|
+
constructor(requestExecutor: RequestExecutor);
|
|
88065
|
+
list(workspaceId: string): Promise<{
|
|
88066
|
+
members: {
|
|
88067
|
+
user: {
|
|
88068
|
+
id: string;
|
|
88069
|
+
createdAt: Date;
|
|
88070
|
+
email: string;
|
|
88071
|
+
profile: {
|
|
88072
|
+
name: string;
|
|
88073
|
+
avatar?: string | undefined;
|
|
88074
|
+
nickname?: string | undefined;
|
|
88075
|
+
onboarding?: {
|
|
88076
|
+
companyName?: string | undefined;
|
|
88077
|
+
numberOfPeopleInOrg?: string | undefined;
|
|
88078
|
+
numberOfPeopleInDesignTeam?: string | undefined;
|
|
88079
|
+
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
88080
|
+
jobTitle?: string | undefined;
|
|
88081
|
+
phase?: string | undefined;
|
|
88082
|
+
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
88083
|
+
designSystemName?: string | undefined;
|
|
88084
|
+
defaultDestination?: string | undefined;
|
|
88085
|
+
figmaUrl?: string | undefined;
|
|
88086
|
+
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
88087
|
+
isApprovalsOnboardingFinished?: boolean | undefined;
|
|
88088
|
+
} | undefined;
|
|
88089
|
+
};
|
|
88090
|
+
emailVerified: boolean;
|
|
88091
|
+
isProtected: boolean;
|
|
88092
|
+
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
88093
|
+
trialExpiresAt?: Date | undefined;
|
|
88094
|
+
linkedIntegrations?: {
|
|
88095
|
+
azure?: {
|
|
88096
|
+
id: string;
|
|
88097
|
+
email?: string | undefined;
|
|
88098
|
+
authType?: "OAuth2" | "PAT" | undefined;
|
|
88099
|
+
handle?: string | undefined;
|
|
88100
|
+
avatarUrl?: string | undefined;
|
|
88101
|
+
customUrl?: string | undefined;
|
|
88102
|
+
}[] | undefined;
|
|
88103
|
+
github?: {
|
|
88104
|
+
id: string;
|
|
88105
|
+
email?: string | undefined;
|
|
88106
|
+
authType?: "OAuth2" | "PAT" | undefined;
|
|
88107
|
+
handle?: string | undefined;
|
|
88108
|
+
avatarUrl?: string | undefined;
|
|
88109
|
+
customUrl?: string | undefined;
|
|
88110
|
+
}[] | undefined;
|
|
88111
|
+
gitlab?: {
|
|
88112
|
+
id: string;
|
|
88113
|
+
email?: string | undefined;
|
|
88114
|
+
authType?: "OAuth2" | "PAT" | undefined;
|
|
88115
|
+
handle?: string | undefined;
|
|
88116
|
+
avatarUrl?: string | undefined;
|
|
88117
|
+
customUrl?: string | undefined;
|
|
88118
|
+
}[] | undefined;
|
|
88119
|
+
bitbucket?: {
|
|
88120
|
+
id: string;
|
|
88121
|
+
email?: string | undefined;
|
|
88122
|
+
authType?: "OAuth2" | "PAT" | undefined;
|
|
88123
|
+
handle?: string | undefined;
|
|
88124
|
+
avatarUrl?: string | undefined;
|
|
88125
|
+
customUrl?: string | undefined;
|
|
88126
|
+
}[] | undefined;
|
|
88127
|
+
figma?: {
|
|
88128
|
+
id: string;
|
|
88129
|
+
email?: string | undefined;
|
|
88130
|
+
authType?: "OAuth2" | "PAT" | undefined;
|
|
88131
|
+
handle?: string | undefined;
|
|
88132
|
+
avatarUrl?: string | undefined;
|
|
88133
|
+
customUrl?: string | undefined;
|
|
88134
|
+
} | undefined;
|
|
88135
|
+
} | undefined;
|
|
88136
|
+
loggedOutAt?: Date | undefined;
|
|
88137
|
+
};
|
|
88138
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
88139
|
+
effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
88140
|
+
}[];
|
|
88141
|
+
}>;
|
|
88142
|
+
update(workspaceId: string, body: UpdateMembershipRolesInput): Promise<{
|
|
88143
|
+
workspace: {
|
|
88144
|
+
id: string;
|
|
88145
|
+
profile: {
|
|
88146
|
+
name: string;
|
|
88147
|
+
color: string;
|
|
88148
|
+
handle: string;
|
|
88149
|
+
avatar?: string | undefined;
|
|
88150
|
+
billingDetails?: {
|
|
88151
|
+
address?: {
|
|
88152
|
+
street1?: string | undefined;
|
|
88153
|
+
street2?: string | undefined;
|
|
88154
|
+
city?: string | undefined;
|
|
88155
|
+
postal?: string | undefined;
|
|
88156
|
+
country?: string | undefined;
|
|
88157
|
+
state?: string | undefined;
|
|
88158
|
+
} | undefined;
|
|
88159
|
+
email?: string | undefined;
|
|
88160
|
+
companyName?: string | undefined;
|
|
88161
|
+
companyId?: string | undefined;
|
|
88162
|
+
notes?: string | undefined;
|
|
88163
|
+
vat?: string | undefined;
|
|
88164
|
+
poNumber?: string | undefined;
|
|
88165
|
+
} | undefined;
|
|
88166
|
+
};
|
|
88167
|
+
subscription: {
|
|
88168
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
88169
|
+
planPriceId: string;
|
|
88170
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
88171
|
+
seats: number;
|
|
88172
|
+
seatLimit: number;
|
|
88173
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
88174
|
+
card?: {
|
|
88175
|
+
cardId?: string | null | undefined;
|
|
88176
|
+
last4?: string | null | undefined;
|
|
88177
|
+
expiryMonth?: string | null | undefined;
|
|
88178
|
+
expiryYear?: string | null | undefined;
|
|
88179
|
+
brand?: string | null | undefined;
|
|
88180
|
+
name?: string | null | undefined;
|
|
88181
|
+
} | undefined;
|
|
88182
|
+
amount?: number | null | undefined;
|
|
88183
|
+
stripeProductDescription?: string | undefined;
|
|
88184
|
+
isPricePerCreator?: boolean | undefined;
|
|
88185
|
+
isTrial?: boolean | undefined;
|
|
88186
|
+
legacyVersion?: string | undefined;
|
|
88187
|
+
stripeProductFeatures?: string[] | undefined;
|
|
88188
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
88189
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
88190
|
+
stripeCustomerId?: string | null | undefined;
|
|
88191
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
88192
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
88193
|
+
featuresSummary?: {
|
|
88194
|
+
designSystems: {
|
|
88195
|
+
max: number;
|
|
88196
|
+
errorMessage: string;
|
|
88197
|
+
errorReason: string;
|
|
88198
|
+
};
|
|
88199
|
+
designSystemSources: {
|
|
88200
|
+
max: number;
|
|
88201
|
+
errorMessage: string;
|
|
88202
|
+
errorReason: string;
|
|
88203
|
+
noImportJobsErrorMessage: string;
|
|
88204
|
+
noImportJobsErrorReason: string;
|
|
88205
|
+
};
|
|
88206
|
+
designSystemVersions: {
|
|
88207
|
+
max: number;
|
|
88208
|
+
errorMessage: string;
|
|
88209
|
+
errorReason: string;
|
|
88210
|
+
};
|
|
88211
|
+
themes: {
|
|
88212
|
+
max: number;
|
|
88213
|
+
errorMessage: string;
|
|
88214
|
+
errorReason: string;
|
|
88215
|
+
};
|
|
88216
|
+
brands: {
|
|
88217
|
+
max: number;
|
|
88218
|
+
errorMessage: string;
|
|
88219
|
+
errorReason: string;
|
|
88220
|
+
};
|
|
88221
|
+
codegenSchedules: {
|
|
88222
|
+
max: number;
|
|
88223
|
+
errorMessage: string;
|
|
88224
|
+
errorReason: string;
|
|
88225
|
+
};
|
|
88226
|
+
publicDocumentation: {
|
|
88227
|
+
errorMessage: string;
|
|
88228
|
+
errorReason: string;
|
|
88229
|
+
enabled: boolean;
|
|
88230
|
+
};
|
|
88231
|
+
customDocumentationUrl: {
|
|
88232
|
+
errorMessage: string;
|
|
88233
|
+
errorReason: string;
|
|
88234
|
+
enabled: boolean;
|
|
88235
|
+
};
|
|
88236
|
+
customDocumentationViewButton: {
|
|
88237
|
+
errorMessage: string;
|
|
88238
|
+
errorReason: string;
|
|
88239
|
+
enabled: boolean;
|
|
88240
|
+
};
|
|
88241
|
+
designSystemSourceAutoImport: {
|
|
88242
|
+
errorMessage: string;
|
|
88243
|
+
errorReason: string;
|
|
88244
|
+
enabled: boolean;
|
|
88245
|
+
};
|
|
88246
|
+
designSystemSlug: {
|
|
88247
|
+
errorMessage: string;
|
|
88248
|
+
errorReason: string;
|
|
88249
|
+
enabled: boolean;
|
|
88250
|
+
};
|
|
88251
|
+
ipWhitelisting: {
|
|
88252
|
+
errorMessage: string;
|
|
88253
|
+
errorReason: string;
|
|
88254
|
+
enabled: boolean;
|
|
88255
|
+
};
|
|
88256
|
+
npmRegistry: {
|
|
88257
|
+
errorMessage: string;
|
|
88258
|
+
errorReason: string;
|
|
88259
|
+
enabled: boolean;
|
|
88260
|
+
};
|
|
88261
|
+
sso: {
|
|
88262
|
+
errorMessage: string;
|
|
88263
|
+
errorReason: string;
|
|
88264
|
+
enabled: boolean;
|
|
88265
|
+
};
|
|
88266
|
+
workspacePaidSeats: {
|
|
88267
|
+
max: number;
|
|
88268
|
+
errorMessage: string;
|
|
88269
|
+
errorReason: string;
|
|
88270
|
+
};
|
|
88271
|
+
workspaceViewers: {
|
|
88272
|
+
max: number;
|
|
88273
|
+
errorMessage: string;
|
|
88274
|
+
errorReason: string;
|
|
88275
|
+
};
|
|
88276
|
+
customDocumentationExporter: {
|
|
88277
|
+
errorMessage: string;
|
|
88278
|
+
errorReason: string;
|
|
88279
|
+
enabled: boolean;
|
|
88280
|
+
};
|
|
88281
|
+
protectedPages: {
|
|
88282
|
+
errorMessage: string;
|
|
88283
|
+
errorReason: string;
|
|
88284
|
+
enabled: boolean;
|
|
88285
|
+
};
|
|
88286
|
+
approvals: {
|
|
88287
|
+
errorMessage: string;
|
|
88288
|
+
errorReason: string;
|
|
88289
|
+
enabled: boolean;
|
|
88290
|
+
};
|
|
88291
|
+
selectivePublishing: {
|
|
88292
|
+
errorMessage: string;
|
|
88293
|
+
errorReason: string;
|
|
88294
|
+
enabled: boolean;
|
|
88295
|
+
};
|
|
88296
|
+
designSystemAccessModes: {
|
|
88297
|
+
errorMessage: string;
|
|
88298
|
+
errorReason: string;
|
|
88299
|
+
enabled: boolean;
|
|
88300
|
+
};
|
|
88301
|
+
designSystemRoles: {
|
|
88302
|
+
errorMessage: string;
|
|
88303
|
+
errorReason: string;
|
|
88304
|
+
enabled: boolean;
|
|
88305
|
+
};
|
|
88306
|
+
} | undefined;
|
|
88307
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
88308
|
+
currentPeriodStart?: string | undefined;
|
|
88309
|
+
currentPeriodEnd?: string | undefined;
|
|
88310
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
88311
|
+
cancelAt?: string | null | undefined;
|
|
88312
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
88313
|
+
daysUntilDue?: number | undefined;
|
|
88314
|
+
};
|
|
88315
|
+
npmRegistry?: {
|
|
88316
|
+
enabledScopes: string[];
|
|
88317
|
+
bypassProxy: boolean;
|
|
88318
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
88319
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
88320
|
+
registryUrl: string;
|
|
88321
|
+
proxyUrl: string;
|
|
88322
|
+
customRegistryUrl?: string | undefined;
|
|
88323
|
+
accessToken?: string | undefined;
|
|
88324
|
+
username?: string | undefined;
|
|
88325
|
+
password?: string | undefined;
|
|
88326
|
+
} | undefined;
|
|
88327
|
+
};
|
|
88328
|
+
}>;
|
|
88329
|
+
invite(workspaceId: string, body: DTOWorkspaceInvitationsListInput): Promise<any>;
|
|
88330
|
+
delete(workspaceId: string, userId: string): Promise<{
|
|
88331
|
+
workspace: {
|
|
88332
|
+
id: string;
|
|
88333
|
+
profile: {
|
|
88334
|
+
name: string;
|
|
88335
|
+
color: string;
|
|
88336
|
+
handle: string;
|
|
88337
|
+
avatar?: string | undefined;
|
|
88338
|
+
billingDetails?: {
|
|
88339
|
+
address?: {
|
|
88340
|
+
street1?: string | undefined;
|
|
88341
|
+
street2?: string | undefined;
|
|
88342
|
+
city?: string | undefined;
|
|
88343
|
+
postal?: string | undefined;
|
|
88344
|
+
country?: string | undefined;
|
|
88345
|
+
state?: string | undefined;
|
|
88346
|
+
} | undefined;
|
|
88347
|
+
email?: string | undefined;
|
|
88348
|
+
companyName?: string | undefined;
|
|
88349
|
+
companyId?: string | undefined;
|
|
88350
|
+
notes?: string | undefined;
|
|
88351
|
+
vat?: string | undefined;
|
|
88352
|
+
poNumber?: string | undefined;
|
|
88353
|
+
} | undefined;
|
|
88354
|
+
};
|
|
88355
|
+
subscription: {
|
|
88356
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
88357
|
+
planPriceId: string;
|
|
88358
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
88359
|
+
seats: number;
|
|
88360
|
+
seatLimit: number;
|
|
88361
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
88362
|
+
card?: {
|
|
88363
|
+
cardId?: string | null | undefined;
|
|
88364
|
+
last4?: string | null | undefined;
|
|
88365
|
+
expiryMonth?: string | null | undefined;
|
|
88366
|
+
expiryYear?: string | null | undefined;
|
|
88367
|
+
brand?: string | null | undefined;
|
|
88368
|
+
name?: string | null | undefined;
|
|
88369
|
+
} | undefined;
|
|
88370
|
+
amount?: number | null | undefined;
|
|
88371
|
+
stripeProductDescription?: string | undefined;
|
|
88372
|
+
isPricePerCreator?: boolean | undefined;
|
|
88373
|
+
isTrial?: boolean | undefined;
|
|
88374
|
+
legacyVersion?: string | undefined;
|
|
88375
|
+
stripeProductFeatures?: string[] | undefined;
|
|
88376
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
88377
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
88378
|
+
stripeCustomerId?: string | null | undefined;
|
|
88379
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
88380
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
88381
|
+
featuresSummary?: {
|
|
88382
|
+
designSystems: {
|
|
88383
|
+
max: number;
|
|
88384
|
+
errorMessage: string;
|
|
88385
|
+
errorReason: string;
|
|
88386
|
+
};
|
|
88387
|
+
designSystemSources: {
|
|
88388
|
+
max: number;
|
|
88389
|
+
errorMessage: string;
|
|
88390
|
+
errorReason: string;
|
|
88391
|
+
noImportJobsErrorMessage: string;
|
|
88392
|
+
noImportJobsErrorReason: string;
|
|
88393
|
+
};
|
|
88394
|
+
designSystemVersions: {
|
|
88395
|
+
max: number;
|
|
88396
|
+
errorMessage: string;
|
|
88397
|
+
errorReason: string;
|
|
88398
|
+
};
|
|
88399
|
+
themes: {
|
|
88400
|
+
max: number;
|
|
88401
|
+
errorMessage: string;
|
|
88402
|
+
errorReason: string;
|
|
88403
|
+
};
|
|
88404
|
+
brands: {
|
|
88405
|
+
max: number;
|
|
88406
|
+
errorMessage: string;
|
|
88407
|
+
errorReason: string;
|
|
88408
|
+
};
|
|
88409
|
+
codegenSchedules: {
|
|
88410
|
+
max: number;
|
|
88411
|
+
errorMessage: string;
|
|
88412
|
+
errorReason: string;
|
|
88413
|
+
};
|
|
88414
|
+
publicDocumentation: {
|
|
88415
|
+
errorMessage: string;
|
|
88416
|
+
errorReason: string;
|
|
88417
|
+
enabled: boolean;
|
|
88418
|
+
};
|
|
88419
|
+
customDocumentationUrl: {
|
|
88420
|
+
errorMessage: string;
|
|
88421
|
+
errorReason: string;
|
|
88422
|
+
enabled: boolean;
|
|
88423
|
+
};
|
|
88424
|
+
customDocumentationViewButton: {
|
|
88425
|
+
errorMessage: string;
|
|
88426
|
+
errorReason: string;
|
|
88427
|
+
enabled: boolean;
|
|
88428
|
+
};
|
|
88429
|
+
designSystemSourceAutoImport: {
|
|
88430
|
+
errorMessage: string;
|
|
88431
|
+
errorReason: string;
|
|
88432
|
+
enabled: boolean;
|
|
88433
|
+
};
|
|
88434
|
+
designSystemSlug: {
|
|
88435
|
+
errorMessage: string;
|
|
88436
|
+
errorReason: string;
|
|
88437
|
+
enabled: boolean;
|
|
88438
|
+
};
|
|
88439
|
+
ipWhitelisting: {
|
|
88440
|
+
errorMessage: string;
|
|
88441
|
+
errorReason: string;
|
|
88442
|
+
enabled: boolean;
|
|
88443
|
+
};
|
|
88444
|
+
npmRegistry: {
|
|
88445
|
+
errorMessage: string;
|
|
88446
|
+
errorReason: string;
|
|
88447
|
+
enabled: boolean;
|
|
88448
|
+
};
|
|
88449
|
+
sso: {
|
|
88450
|
+
errorMessage: string;
|
|
88451
|
+
errorReason: string;
|
|
88452
|
+
enabled: boolean;
|
|
88453
|
+
};
|
|
88454
|
+
workspacePaidSeats: {
|
|
88455
|
+
max: number;
|
|
88456
|
+
errorMessage: string;
|
|
88457
|
+
errorReason: string;
|
|
88458
|
+
};
|
|
88459
|
+
workspaceViewers: {
|
|
88460
|
+
max: number;
|
|
88461
|
+
errorMessage: string;
|
|
88462
|
+
errorReason: string;
|
|
88463
|
+
};
|
|
88464
|
+
customDocumentationExporter: {
|
|
88465
|
+
errorMessage: string;
|
|
88466
|
+
errorReason: string;
|
|
88467
|
+
enabled: boolean;
|
|
88468
|
+
};
|
|
88469
|
+
protectedPages: {
|
|
88470
|
+
errorMessage: string;
|
|
88471
|
+
errorReason: string;
|
|
88472
|
+
enabled: boolean;
|
|
88473
|
+
};
|
|
88474
|
+
approvals: {
|
|
88475
|
+
errorMessage: string;
|
|
88476
|
+
errorReason: string;
|
|
88477
|
+
enabled: boolean;
|
|
88478
|
+
};
|
|
88479
|
+
selectivePublishing: {
|
|
88480
|
+
errorMessage: string;
|
|
88481
|
+
errorReason: string;
|
|
88482
|
+
enabled: boolean;
|
|
88483
|
+
};
|
|
88484
|
+
designSystemAccessModes: {
|
|
88485
|
+
errorMessage: string;
|
|
88486
|
+
errorReason: string;
|
|
88487
|
+
enabled: boolean;
|
|
88488
|
+
};
|
|
88489
|
+
designSystemRoles: {
|
|
88490
|
+
errorMessage: string;
|
|
88491
|
+
errorReason: string;
|
|
88492
|
+
enabled: boolean;
|
|
88493
|
+
};
|
|
88494
|
+
} | undefined;
|
|
88495
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
88496
|
+
currentPeriodStart?: string | undefined;
|
|
88497
|
+
currentPeriodEnd?: string | undefined;
|
|
88498
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
88499
|
+
cancelAt?: string | null | undefined;
|
|
88500
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
88501
|
+
daysUntilDue?: number | undefined;
|
|
88502
|
+
};
|
|
88503
|
+
npmRegistry?: {
|
|
88504
|
+
enabledScopes: string[];
|
|
88505
|
+
bypassProxy: boolean;
|
|
88506
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
88507
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
88508
|
+
registryUrl: string;
|
|
88509
|
+
proxyUrl: string;
|
|
88510
|
+
customRegistryUrl?: string | undefined;
|
|
88511
|
+
accessToken?: string | undefined;
|
|
88512
|
+
username?: string | undefined;
|
|
88513
|
+
password?: string | undefined;
|
|
88514
|
+
} | undefined;
|
|
88515
|
+
};
|
|
88516
|
+
}>;
|
|
88517
|
+
}
|
|
88518
|
+
|
|
88519
|
+
declare class WorkspacesEndpoint {
|
|
87267
88520
|
private readonly requestExecutor;
|
|
88521
|
+
members: WorkspaceMembersEndpoint;
|
|
88522
|
+
invitations: WorkspaceInvitationsEndpoint;
|
|
87268
88523
|
constructor(requestExecutor: RequestExecutor);
|
|
87269
|
-
|
|
87270
|
-
members: {
|
|
87271
|
-
user: {
|
|
87272
|
-
id: string;
|
|
87273
|
-
createdAt: Date;
|
|
87274
|
-
email: string;
|
|
87275
|
-
profile: {
|
|
87276
|
-
name: string;
|
|
87277
|
-
avatar?: string | undefined;
|
|
87278
|
-
nickname?: string | undefined;
|
|
87279
|
-
onboarding?: {
|
|
87280
|
-
companyName?: string | undefined;
|
|
87281
|
-
numberOfPeopleInOrg?: string | undefined;
|
|
87282
|
-
numberOfPeopleInDesignTeam?: string | undefined;
|
|
87283
|
-
department?: "Design" | "Engineering" | "Product" | "Brand" | "Other" | undefined;
|
|
87284
|
-
jobTitle?: string | undefined;
|
|
87285
|
-
phase?: string | undefined;
|
|
87286
|
-
jobLevel?: "Other" | "Executive" | "Manager" | "IndividualContributor" | undefined;
|
|
87287
|
-
designSystemName?: string | undefined;
|
|
87288
|
-
defaultDestination?: string | undefined;
|
|
87289
|
-
figmaUrl?: string | undefined;
|
|
87290
|
-
isPageDraftOnboardingFinished?: boolean | undefined;
|
|
87291
|
-
isApprovalsOnboardingFinished?: boolean | undefined;
|
|
87292
|
-
} | undefined;
|
|
87293
|
-
};
|
|
87294
|
-
emailVerified: boolean;
|
|
87295
|
-
isProtected: boolean;
|
|
87296
|
-
source?: "SignUp" | "Invite" | "SSO" | undefined;
|
|
87297
|
-
trialExpiresAt?: Date | undefined;
|
|
87298
|
-
linkedIntegrations?: {
|
|
87299
|
-
azure?: {
|
|
87300
|
-
id: string;
|
|
87301
|
-
email?: string | undefined;
|
|
87302
|
-
authType?: "OAuth2" | "PAT" | undefined;
|
|
87303
|
-
handle?: string | undefined;
|
|
87304
|
-
avatarUrl?: string | undefined;
|
|
87305
|
-
customUrl?: string | undefined;
|
|
87306
|
-
}[] | undefined;
|
|
87307
|
-
github?: {
|
|
87308
|
-
id: string;
|
|
87309
|
-
email?: string | undefined;
|
|
87310
|
-
authType?: "OAuth2" | "PAT" | undefined;
|
|
87311
|
-
handle?: string | undefined;
|
|
87312
|
-
avatarUrl?: string | undefined;
|
|
87313
|
-
customUrl?: string | undefined;
|
|
87314
|
-
}[] | undefined;
|
|
87315
|
-
gitlab?: {
|
|
87316
|
-
id: string;
|
|
87317
|
-
email?: string | undefined;
|
|
87318
|
-
authType?: "OAuth2" | "PAT" | undefined;
|
|
87319
|
-
handle?: string | undefined;
|
|
87320
|
-
avatarUrl?: string | undefined;
|
|
87321
|
-
customUrl?: string | undefined;
|
|
87322
|
-
}[] | undefined;
|
|
87323
|
-
bitbucket?: {
|
|
87324
|
-
id: string;
|
|
87325
|
-
email?: string | undefined;
|
|
87326
|
-
authType?: "OAuth2" | "PAT" | undefined;
|
|
87327
|
-
handle?: string | undefined;
|
|
87328
|
-
avatarUrl?: string | undefined;
|
|
87329
|
-
customUrl?: string | undefined;
|
|
87330
|
-
}[] | undefined;
|
|
87331
|
-
figma?: {
|
|
87332
|
-
id: string;
|
|
87333
|
-
email?: string | undefined;
|
|
87334
|
-
authType?: "OAuth2" | "PAT" | undefined;
|
|
87335
|
-
handle?: string | undefined;
|
|
87336
|
-
avatarUrl?: string | undefined;
|
|
87337
|
-
customUrl?: string | undefined;
|
|
87338
|
-
} | undefined;
|
|
87339
|
-
} | undefined;
|
|
87340
|
-
loggedOutAt?: Date | undefined;
|
|
87341
|
-
};
|
|
87342
|
-
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
87343
|
-
effectiveRole: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
87344
|
-
}[];
|
|
87345
|
-
}>;
|
|
87346
|
-
update(workspaceId: string, body: UpdateMembershipRolesInput): Promise<{
|
|
87347
|
-
workspace: {
|
|
87348
|
-
id: string;
|
|
87349
|
-
profile: {
|
|
87350
|
-
name: string;
|
|
87351
|
-
color: string;
|
|
87352
|
-
handle: string;
|
|
87353
|
-
avatar?: string | undefined;
|
|
87354
|
-
billingDetails?: {
|
|
87355
|
-
address?: {
|
|
87356
|
-
street1?: string | undefined;
|
|
87357
|
-
street2?: string | undefined;
|
|
87358
|
-
city?: string | undefined;
|
|
87359
|
-
postal?: string | undefined;
|
|
87360
|
-
country?: string | undefined;
|
|
87361
|
-
state?: string | undefined;
|
|
87362
|
-
} | undefined;
|
|
87363
|
-
email?: string | undefined;
|
|
87364
|
-
companyName?: string | undefined;
|
|
87365
|
-
companyId?: string | undefined;
|
|
87366
|
-
notes?: string | undefined;
|
|
87367
|
-
vat?: string | undefined;
|
|
87368
|
-
poNumber?: string | undefined;
|
|
87369
|
-
} | undefined;
|
|
87370
|
-
};
|
|
87371
|
-
subscription: {
|
|
87372
|
-
product: "free" | "team" | "company" | "enterprise";
|
|
87373
|
-
planPriceId: string;
|
|
87374
|
-
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
87375
|
-
seats: number;
|
|
87376
|
-
seatLimit: number;
|
|
87377
|
-
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
87378
|
-
card?: {
|
|
87379
|
-
cardId?: string | null | undefined;
|
|
87380
|
-
last4?: string | null | undefined;
|
|
87381
|
-
expiryMonth?: string | null | undefined;
|
|
87382
|
-
expiryYear?: string | null | undefined;
|
|
87383
|
-
brand?: string | null | undefined;
|
|
87384
|
-
name?: string | null | undefined;
|
|
87385
|
-
} | undefined;
|
|
87386
|
-
amount?: number | null | undefined;
|
|
87387
|
-
stripeProductDescription?: string | undefined;
|
|
87388
|
-
isPricePerCreator?: boolean | undefined;
|
|
87389
|
-
isTrial?: boolean | undefined;
|
|
87390
|
-
legacyVersion?: string | undefined;
|
|
87391
|
-
stripeProductFeatures?: string[] | undefined;
|
|
87392
|
-
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
87393
|
-
stripeSubscriptionId?: string | null | undefined;
|
|
87394
|
-
stripeCustomerId?: string | null | undefined;
|
|
87395
|
-
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
87396
|
-
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
87397
|
-
featuresSummary?: {
|
|
87398
|
-
designSystems: {
|
|
87399
|
-
max: number;
|
|
87400
|
-
errorMessage: string;
|
|
87401
|
-
errorReason: string;
|
|
87402
|
-
};
|
|
87403
|
-
designSystemSources: {
|
|
87404
|
-
max: number;
|
|
87405
|
-
errorMessage: string;
|
|
87406
|
-
errorReason: string;
|
|
87407
|
-
noImportJobsErrorMessage: string;
|
|
87408
|
-
noImportJobsErrorReason: string;
|
|
87409
|
-
};
|
|
87410
|
-
designSystemVersions: {
|
|
87411
|
-
max: number;
|
|
87412
|
-
errorMessage: string;
|
|
87413
|
-
errorReason: string;
|
|
87414
|
-
};
|
|
87415
|
-
themes: {
|
|
87416
|
-
max: number;
|
|
87417
|
-
errorMessage: string;
|
|
87418
|
-
errorReason: string;
|
|
87419
|
-
};
|
|
87420
|
-
brands: {
|
|
87421
|
-
max: number;
|
|
87422
|
-
errorMessage: string;
|
|
87423
|
-
errorReason: string;
|
|
87424
|
-
};
|
|
87425
|
-
codegenSchedules: {
|
|
87426
|
-
max: number;
|
|
87427
|
-
errorMessage: string;
|
|
87428
|
-
errorReason: string;
|
|
87429
|
-
};
|
|
87430
|
-
publicDocumentation: {
|
|
87431
|
-
errorMessage: string;
|
|
87432
|
-
errorReason: string;
|
|
87433
|
-
enabled: boolean;
|
|
87434
|
-
};
|
|
87435
|
-
customDocumentationUrl: {
|
|
87436
|
-
errorMessage: string;
|
|
87437
|
-
errorReason: string;
|
|
87438
|
-
enabled: boolean;
|
|
87439
|
-
};
|
|
87440
|
-
customDocumentationViewButton: {
|
|
87441
|
-
errorMessage: string;
|
|
87442
|
-
errorReason: string;
|
|
87443
|
-
enabled: boolean;
|
|
87444
|
-
};
|
|
87445
|
-
designSystemSourceAutoImport: {
|
|
87446
|
-
errorMessage: string;
|
|
87447
|
-
errorReason: string;
|
|
87448
|
-
enabled: boolean;
|
|
87449
|
-
};
|
|
87450
|
-
designSystemSlug: {
|
|
87451
|
-
errorMessage: string;
|
|
87452
|
-
errorReason: string;
|
|
87453
|
-
enabled: boolean;
|
|
87454
|
-
};
|
|
87455
|
-
ipWhitelisting: {
|
|
87456
|
-
errorMessage: string;
|
|
87457
|
-
errorReason: string;
|
|
87458
|
-
enabled: boolean;
|
|
87459
|
-
};
|
|
87460
|
-
npmRegistry: {
|
|
87461
|
-
errorMessage: string;
|
|
87462
|
-
errorReason: string;
|
|
87463
|
-
enabled: boolean;
|
|
87464
|
-
};
|
|
87465
|
-
sso: {
|
|
87466
|
-
errorMessage: string;
|
|
87467
|
-
errorReason: string;
|
|
87468
|
-
enabled: boolean;
|
|
87469
|
-
};
|
|
87470
|
-
workspacePaidSeats: {
|
|
87471
|
-
max: number;
|
|
87472
|
-
errorMessage: string;
|
|
87473
|
-
errorReason: string;
|
|
87474
|
-
};
|
|
87475
|
-
workspaceViewers: {
|
|
87476
|
-
max: number;
|
|
87477
|
-
errorMessage: string;
|
|
87478
|
-
errorReason: string;
|
|
87479
|
-
};
|
|
87480
|
-
customDocumentationExporter: {
|
|
87481
|
-
errorMessage: string;
|
|
87482
|
-
errorReason: string;
|
|
87483
|
-
enabled: boolean;
|
|
87484
|
-
};
|
|
87485
|
-
protectedPages: {
|
|
87486
|
-
errorMessage: string;
|
|
87487
|
-
errorReason: string;
|
|
87488
|
-
enabled: boolean;
|
|
87489
|
-
};
|
|
87490
|
-
approvals: {
|
|
87491
|
-
errorMessage: string;
|
|
87492
|
-
errorReason: string;
|
|
87493
|
-
enabled: boolean;
|
|
87494
|
-
};
|
|
87495
|
-
selectivePublishing: {
|
|
87496
|
-
errorMessage: string;
|
|
87497
|
-
errorReason: string;
|
|
87498
|
-
enabled: boolean;
|
|
87499
|
-
};
|
|
87500
|
-
designSystemAccessModes: {
|
|
87501
|
-
errorMessage: string;
|
|
87502
|
-
errorReason: string;
|
|
87503
|
-
enabled: boolean;
|
|
87504
|
-
};
|
|
87505
|
-
designSystemRoles: {
|
|
87506
|
-
errorMessage: string;
|
|
87507
|
-
errorReason: string;
|
|
87508
|
-
enabled: boolean;
|
|
87509
|
-
};
|
|
87510
|
-
} | undefined;
|
|
87511
|
-
stripeSubscriptionMainItemId?: string | undefined;
|
|
87512
|
-
currentPeriodStart?: string | undefined;
|
|
87513
|
-
currentPeriodEnd?: string | undefined;
|
|
87514
|
-
subscriptionStatusUpdatedAt?: string | undefined;
|
|
87515
|
-
cancelAt?: string | null | undefined;
|
|
87516
|
-
billingType?: "Auto" | "Invoice" | undefined;
|
|
87517
|
-
daysUntilDue?: number | undefined;
|
|
87518
|
-
};
|
|
87519
|
-
npmRegistry?: {
|
|
87520
|
-
enabledScopes: string[];
|
|
87521
|
-
bypassProxy: boolean;
|
|
87522
|
-
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
87523
|
-
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
87524
|
-
registryUrl: string;
|
|
87525
|
-
proxyUrl: string;
|
|
87526
|
-
customRegistryUrl?: string | undefined;
|
|
87527
|
-
accessToken?: string | undefined;
|
|
87528
|
-
username?: string | undefined;
|
|
87529
|
-
password?: string | undefined;
|
|
87530
|
-
} | undefined;
|
|
87531
|
-
};
|
|
87532
|
-
}>;
|
|
87533
|
-
invite(workspaceId: string, body: DTOWorkspaceInvitationsListInput): Promise<any>;
|
|
87534
|
-
delete(workspaceId: string, userId: string): Promise<{
|
|
88524
|
+
create(body: DTOWorkspaceCreateInput): Promise<{
|
|
87535
88525
|
workspace: {
|
|
87536
88526
|
id: string;
|
|
87537
88527
|
profile: {
|
|
@@ -87718,14 +88708,7 @@ declare class WorkspaceMembersEndpoint {
|
|
|
87718
88708
|
} | undefined;
|
|
87719
88709
|
};
|
|
87720
88710
|
}>;
|
|
87721
|
-
|
|
87722
|
-
|
|
87723
|
-
declare class WorkspacesEndpoint {
|
|
87724
|
-
private readonly requestExecutor;
|
|
87725
|
-
members: WorkspaceMembersEndpoint;
|
|
87726
|
-
invitations: WorkspaceInvitationsEndpoint;
|
|
87727
|
-
constructor(requestExecutor: RequestExecutor);
|
|
87728
|
-
create(body: DTOWorkspaceCreateInput): Promise<{
|
|
88711
|
+
get(workspaceId: string): Promise<{
|
|
87729
88712
|
workspace: {
|
|
87730
88713
|
id: string;
|
|
87731
88714
|
profile: {
|
|
@@ -87912,7 +88895,9 @@ declare class WorkspacesEndpoint {
|
|
|
87912
88895
|
} | undefined;
|
|
87913
88896
|
};
|
|
87914
88897
|
}>;
|
|
87915
|
-
|
|
88898
|
+
delete(workspaceId: string): Promise<any>;
|
|
88899
|
+
subscription(workspaceId: string): Promise<any>;
|
|
88900
|
+
transferOwnership(workspaceId: string, body: DTOTransferOwnershipPayload): Promise<{
|
|
87916
88901
|
workspace: {
|
|
87917
88902
|
id: string;
|
|
87918
88903
|
profile: {
|
|
@@ -88099,8 +89084,6 @@ declare class WorkspacesEndpoint {
|
|
|
88099
89084
|
} | undefined;
|
|
88100
89085
|
};
|
|
88101
89086
|
}>;
|
|
88102
|
-
delete(workspaceId: string): Promise<any>;
|
|
88103
|
-
subscription(workspaceId: string): Promise<any>;
|
|
88104
89087
|
}
|
|
88105
89088
|
|
|
88106
89089
|
declare class UsersEndpoint {
|
|
@@ -90942,4 +91925,4 @@ declare class FrontendVersionRoomYDoc {
|
|
|
90942
91925
|
|
|
90943
91926
|
declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
|
|
90944
91927
|
|
|
90945
|
-
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponentCreateInput, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionsEndpoint, ExportersEndpoint, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, VersionRoomBaseYDoc, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|
|
91928
|
+
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, BrandsEndpoint, CodegenEndpoint, Collection, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOColorTokenInlineData, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateVersionInput, DTODataSource, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaCreatePayload, DTODataSourceFigmaImportPayload, DTODataSourceFigmaScope, DTODataSourceFigmaVariablesPlugin, DTODataSourceResponse, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemComponentCreateInput, DTODesignSystemContactsResponse, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, DTODesignToken, DTODesignTokenCreatePayload, DTODesignTokenGroup, DTODesignTokenGroupCreatePayload, DTODesignTokenGroupListResponse, DTODesignTokenGroupResponse, DTODesignTokenListResponse, DTODesignTokenResponse, DTODiffCountBase, DTODocumentationDraftChangeType, DTODocumentationDraftState, DTODocumentationDraftStateCreated, DTODocumentationDraftStateDeleted, DTODocumentationDraftStateUpdated, DTODocumentationGroupApprovalState, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupRestoreActionInput, DTODocumentationGroupRestoreActionOutput, DTODocumentationGroupStructureV1, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageApprovalState, DTODocumentationPageApprovalStateChangeActionInput, DTODocumentationPageApprovalStateChangeActionOutput, DTODocumentationPageApprovalStateChangeInput, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRestoreActionInput, DTODocumentationPageRestoreActionOutput, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageSnapshot, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationPublishMetadata, DTODocumentationPublishTypeQueryParams, DTODocumentationStructure, DTODocumentationStructureGroupItem, DTODocumentationStructureItem, DTODocumentationStructurePageItem, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionCreatePayload, DTOElementPropertyDefinitionListResponse, DTOElementPropertyDefinitionOption, DTOElementPropertyDefinitionResponse, DTOElementPropertyDefinitionUpdatePayload, DTOElementPropertyValue, DTOElementPropertyValueListResponse, DTOElementPropertyValueResponse, DTOElementPropertyValueUpsertPaylod, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExportJob, DTOExportJobCreatedBy, DTOExportJobDesignSystemPreview, DTOExportJobDesignSystemVersionPreview, DTOExportJobDestinations, DTOExportJobResponse, DTOExportJobResult, DTOExportJobsListFilter, DTOExporter, DTOExporterCreateInput, DTOExporterCreateOutput, DTOExporterGitProviderEnum, DTOExporterListQuery, DTOExporterListResponse, DTOExporterMembership, DTOExporterMembershipRole, DTOExporterProperty, DTOExporterPropertyListResponse, DTOExporterSource, DTOExporterType, DTOExporterUpdateInput, DTOFigmaComponent, DTOFigmaComponentBooleanProperty, DTOFigmaComponentInstanceSwapProperty, DTOFigmaComponentListResponse, DTOFigmaComponentProperty, DTOFigmaComponentPropertyMap, DTOFigmaComponentTextProperty, DTOFigmaComponentVariantProperty, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderFormat, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOGitBranch, DTOGitOrganization, DTOGitProject, DTOGitRepository, DTOImportJob, DTOImportJobResponse, DTOIntegration, DTOIntegrationCredentials, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOLiveblocksAuthResponse, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTONpmRegistryConfigConstants, DTOObjectMeta, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineListQuery, DTOPipelineListResponse, DTOPipelineResponse, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTheme, DTOThemeCreatePayload, DTOThemeListResponse, DTOThemeOverride, DTOThemeOverrideCreatePayload, DTOThemeResponse, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOTransferOwnershipPayload, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserOnboarding, DTOUserOnboardingDepartment, DTOUserOnboardingJobLevel, DTOUserProfile, DTOUserProfileUpdate, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserSource, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationUpdateResponse, DTOWorkspaceInvitationsListInput, DTOWorkspaceInvitationsResponse, DTOWorkspaceInviteUpdate, DTOWorkspaceMember, DTOWorkspaceMembersListResponse, DTOWorkspaceProfile, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemComponentEndpoint, DesignSystemContactsEndpoint, DesignSystemMembersEndpoint, DesignSystemSourcesEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DimensionsVariableScopeType, DocumentationEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, ElementPropertyDefinitionsEndpoint, ElementPropertyValuesEndpoint, ElementsActionEndpoint, ExportersEndpoint, FormattedCollections, FrontendVersionRoomYDoc, ImportJobsEndpoint, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, OverridesEndpoint, PageBlockEditorModel, PageSectionEditorModel, PipelinesEndpoint, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RGB, RGBA, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, ResolvedVariableType, StringVariableScopeType, SupernovaApiClient, ThemesEndpoint, TokenCollectionsEndpoint, TokenGroupsEndpoint, TokensEndpoint, UsersEndpoint, Variable, VariableAlias, VariableMode, VariableValue, VariablesMapping, VersionRoomBaseYDoc, VersionSQSPayload, VersionStatsEndpoint, WorkspaceConfigurationPayload, WorkspaceInvitationsEndpoint, WorkspaceMembersEndpoint, WorkspacesEndpoint, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPageToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, generateHash, generatePageContentHash, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, gitBranchToDto, gitOrganizationToDto, gitProjectToDto, gitRepositoryToDto, innerEditorProsemirrorSchema, integrationCredentialToDto, integrationToDto, itemConfigurationToYjs, mainEditorProsemirrorSchema, pageToProsemirrorDoc, pageToYDoc, pageToYXmlFragment, pipelineToDto, prosemirrorDocToPage, prosemirrorDocToRichTextPropertyValue, prosemirrorNodeToSection, prosemirrorNodesToBlocks, richTextPropertyValueToProsemirror, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|