@supernova-studio/client 0.55.32 → 0.55.34
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 +417 -63
- package/dist/index.d.ts +417 -63
- package/dist/index.js +126 -35
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +744 -653
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/dto/design-systems/import-job.ts +60 -0
- package/src/api/dto/design-systems/index.ts +1 -0
- package/src/api/dto/workspaces/invitations.ts +10 -0
- package/src/api/endpoints/design-system/bff.ts +13 -0
- package/src/api/endpoints/design-system/design-systems.ts +5 -3
- package/src/api/endpoints/design-system/index.ts +3 -2
- package/src/api/endpoints/design-system/versions/brands.ts +6 -3
- package/src/api/endpoints/design-system/versions/import-jobs.ts +13 -0
- package/src/api/endpoints/design-system/versions/index.ts +1 -0
- package/src/api/endpoints/design-system/{design-system-versions.ts → versions.ts} +5 -1
- package/src/api/endpoints/workspaces/workspace-invites.ts +17 -1
- /package/src/api/endpoints/design-system/{design-system-members.ts → members.ts} +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -2992,9 +2992,9 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2992
2992
|
description?: string | undefined;
|
|
2993
2993
|
};
|
|
2994
2994
|
createdAt: Date;
|
|
2995
|
+
designSystemId: string;
|
|
2995
2996
|
version: string;
|
|
2996
2997
|
changeLog: string;
|
|
2997
|
-
designSystemId: string;
|
|
2998
2998
|
isReadonly: boolean;
|
|
2999
2999
|
}, {
|
|
3000
3000
|
id: string;
|
|
@@ -3003,9 +3003,9 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
3003
3003
|
description?: string | undefined;
|
|
3004
3004
|
};
|
|
3005
3005
|
createdAt: Date;
|
|
3006
|
+
designSystemId: string;
|
|
3006
3007
|
version: string;
|
|
3007
3008
|
changeLog: string;
|
|
3008
|
-
designSystemId: string;
|
|
3009
3009
|
isReadonly: boolean;
|
|
3010
3010
|
}>>;
|
|
3011
3011
|
brand: z.ZodOptional<z.ZodObject<{
|
|
@@ -3086,9 +3086,9 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
3086
3086
|
description?: string | undefined;
|
|
3087
3087
|
};
|
|
3088
3088
|
createdAt: Date;
|
|
3089
|
+
designSystemId: string;
|
|
3089
3090
|
version: string;
|
|
3090
3091
|
changeLog: string;
|
|
3091
|
-
designSystemId: string;
|
|
3092
3092
|
isReadonly: boolean;
|
|
3093
3093
|
} | undefined;
|
|
3094
3094
|
workspaceMembership?: {
|
|
@@ -3322,9 +3322,9 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
3322
3322
|
description?: string | undefined;
|
|
3323
3323
|
};
|
|
3324
3324
|
createdAt: Date;
|
|
3325
|
+
designSystemId: string;
|
|
3325
3326
|
version: string;
|
|
3326
3327
|
changeLog: string;
|
|
3327
|
-
designSystemId: string;
|
|
3328
3328
|
isReadonly: boolean;
|
|
3329
3329
|
} | undefined;
|
|
3330
3330
|
workspaceMembership?: {
|
|
@@ -8065,6 +8065,237 @@ declare const DTOExporterPropertyListResponse: z.ZodObject<{
|
|
|
8065
8065
|
}>;
|
|
8066
8066
|
type DTOExporterPropertyListResponse = z.infer<typeof DTOExporterPropertyListResponse>;
|
|
8067
8067
|
|
|
8068
|
+
declare const DTOImportJob: z.ZodObject<{
|
|
8069
|
+
id: z.ZodString;
|
|
8070
|
+
designSystemId: z.ZodString;
|
|
8071
|
+
designSystemVersionId: z.ZodString;
|
|
8072
|
+
operation: z.ZodLiteral<"Import">;
|
|
8073
|
+
createdAt: z.ZodDate;
|
|
8074
|
+
stateChangedAt: z.ZodDate;
|
|
8075
|
+
state: z.ZodEnum<["PendingInput", "Queued", "InProgress", "Failed", "Success"]>;
|
|
8076
|
+
sourceIds: z.ZodArray<z.ZodString, "many">;
|
|
8077
|
+
}, "strip", z.ZodTypeAny, {
|
|
8078
|
+
id: string;
|
|
8079
|
+
designSystemVersionId: string;
|
|
8080
|
+
createdAt: Date;
|
|
8081
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
8082
|
+
designSystemId: string;
|
|
8083
|
+
operation: "Import";
|
|
8084
|
+
stateChangedAt: Date;
|
|
8085
|
+
sourceIds: string[];
|
|
8086
|
+
}, {
|
|
8087
|
+
id: string;
|
|
8088
|
+
designSystemVersionId: string;
|
|
8089
|
+
createdAt: Date;
|
|
8090
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
8091
|
+
designSystemId: string;
|
|
8092
|
+
operation: "Import";
|
|
8093
|
+
stateChangedAt: Date;
|
|
8094
|
+
sourceIds: string[];
|
|
8095
|
+
}>;
|
|
8096
|
+
type DTOImportJob = z.infer<typeof DTOImportJob>;
|
|
8097
|
+
declare const DTOImportJobResponse: z.ZodObject<{
|
|
8098
|
+
job: z.ZodObject<{
|
|
8099
|
+
id: z.ZodString;
|
|
8100
|
+
designSystemId: z.ZodString;
|
|
8101
|
+
designSystemVersionId: z.ZodString;
|
|
8102
|
+
operation: z.ZodLiteral<"Import">;
|
|
8103
|
+
createdAt: z.ZodDate;
|
|
8104
|
+
stateChangedAt: z.ZodDate;
|
|
8105
|
+
state: z.ZodEnum<["PendingInput", "Queued", "InProgress", "Failed", "Success"]>;
|
|
8106
|
+
sourceIds: z.ZodArray<z.ZodString, "many">;
|
|
8107
|
+
}, "strip", z.ZodTypeAny, {
|
|
8108
|
+
id: string;
|
|
8109
|
+
designSystemVersionId: string;
|
|
8110
|
+
createdAt: Date;
|
|
8111
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
8112
|
+
designSystemId: string;
|
|
8113
|
+
operation: "Import";
|
|
8114
|
+
stateChangedAt: Date;
|
|
8115
|
+
sourceIds: string[];
|
|
8116
|
+
}, {
|
|
8117
|
+
id: string;
|
|
8118
|
+
designSystemVersionId: string;
|
|
8119
|
+
createdAt: Date;
|
|
8120
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
8121
|
+
designSystemId: string;
|
|
8122
|
+
operation: "Import";
|
|
8123
|
+
stateChangedAt: Date;
|
|
8124
|
+
sourceIds: string[];
|
|
8125
|
+
}>;
|
|
8126
|
+
}, "strip", z.ZodTypeAny, {
|
|
8127
|
+
job: {
|
|
8128
|
+
id: string;
|
|
8129
|
+
designSystemVersionId: string;
|
|
8130
|
+
createdAt: Date;
|
|
8131
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
8132
|
+
designSystemId: string;
|
|
8133
|
+
operation: "Import";
|
|
8134
|
+
stateChangedAt: Date;
|
|
8135
|
+
sourceIds: string[];
|
|
8136
|
+
};
|
|
8137
|
+
}, {
|
|
8138
|
+
job: {
|
|
8139
|
+
id: string;
|
|
8140
|
+
designSystemVersionId: string;
|
|
8141
|
+
createdAt: Date;
|
|
8142
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
8143
|
+
designSystemId: string;
|
|
8144
|
+
operation: "Import";
|
|
8145
|
+
stateChangedAt: Date;
|
|
8146
|
+
sourceIds: string[];
|
|
8147
|
+
};
|
|
8148
|
+
}>;
|
|
8149
|
+
type DTOImportJobResponse = z.infer<typeof DTOImportJobResponse>;
|
|
8150
|
+
declare const DTOBffFigmaImportRequestBody: z.ZodObject<{
|
|
8151
|
+
type: z.ZodLiteral<"Figma">;
|
|
8152
|
+
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
8153
|
+
fileId: z.ZodString;
|
|
8154
|
+
scope: z.ZodObject<{
|
|
8155
|
+
assets: z.ZodBoolean;
|
|
8156
|
+
components: z.ZodBoolean;
|
|
8157
|
+
documentationFrames: z.ZodBoolean;
|
|
8158
|
+
tokens: z.ZodBoolean;
|
|
8159
|
+
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
8160
|
+
isUnpublishedContentFallbackEnabled: z.ZodBoolean;
|
|
8161
|
+
}, "strip", z.ZodTypeAny, {
|
|
8162
|
+
assets: boolean;
|
|
8163
|
+
components: boolean;
|
|
8164
|
+
tokens: boolean;
|
|
8165
|
+
documentationFrames: boolean;
|
|
8166
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
8167
|
+
themePersistentId?: string | undefined;
|
|
8168
|
+
}, {
|
|
8169
|
+
assets: boolean;
|
|
8170
|
+
components: boolean;
|
|
8171
|
+
tokens: boolean;
|
|
8172
|
+
documentationFrames: boolean;
|
|
8173
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
8174
|
+
themePersistentId?: string | undefined;
|
|
8175
|
+
}>;
|
|
8176
|
+
autoImportMode: z.ZodEnum<["Never", "Hourly"]>;
|
|
8177
|
+
}, "strip", z.ZodTypeAny, {
|
|
8178
|
+
type: "Figma";
|
|
8179
|
+
fileId: string;
|
|
8180
|
+
autoImportMode: "Never" | "Hourly";
|
|
8181
|
+
scope: {
|
|
8182
|
+
assets: boolean;
|
|
8183
|
+
components: boolean;
|
|
8184
|
+
tokens: boolean;
|
|
8185
|
+
documentationFrames: boolean;
|
|
8186
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
8187
|
+
themePersistentId?: string | undefined;
|
|
8188
|
+
};
|
|
8189
|
+
brandPersistentId?: string | undefined;
|
|
8190
|
+
}, {
|
|
8191
|
+
type: "Figma";
|
|
8192
|
+
fileId: string;
|
|
8193
|
+
autoImportMode: "Never" | "Hourly";
|
|
8194
|
+
scope: {
|
|
8195
|
+
assets: boolean;
|
|
8196
|
+
components: boolean;
|
|
8197
|
+
tokens: boolean;
|
|
8198
|
+
documentationFrames: boolean;
|
|
8199
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
8200
|
+
themePersistentId?: string | undefined;
|
|
8201
|
+
};
|
|
8202
|
+
brandPersistentId?: string | undefined;
|
|
8203
|
+
}>;
|
|
8204
|
+
type DTOBffFigmaImportRequestBody = z.infer<typeof DTOBffFigmaImportRequestBody>;
|
|
8205
|
+
declare const DTOBffUploadImportRequestBody: z.ZodObject<{
|
|
8206
|
+
type: z.ZodEffects<z.ZodEnum<["FigmaVariablesPlugin", "Upload"]>, "FigmaVariablesPlugin", "FigmaVariablesPlugin" | "Upload">;
|
|
8207
|
+
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
8208
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
8209
|
+
remoteId: z.ZodString;
|
|
8210
|
+
payload: z.ZodAny;
|
|
8211
|
+
}, "strip", z.ZodTypeAny, {
|
|
8212
|
+
type: "FigmaVariablesPlugin";
|
|
8213
|
+
remoteId: string;
|
|
8214
|
+
brandPersistentId?: string | undefined;
|
|
8215
|
+
sourceName?: string | undefined;
|
|
8216
|
+
payload?: any;
|
|
8217
|
+
}, {
|
|
8218
|
+
type: "FigmaVariablesPlugin" | "Upload";
|
|
8219
|
+
remoteId: string;
|
|
8220
|
+
brandPersistentId?: string | undefined;
|
|
8221
|
+
sourceName?: string | undefined;
|
|
8222
|
+
payload?: any;
|
|
8223
|
+
}>;
|
|
8224
|
+
type DTOBffUploadImportRequestBody = z.infer<typeof DTOBffUploadImportRequestBody>;
|
|
8225
|
+
declare const DTOBffImportRequestBody: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
|
|
8226
|
+
type: z.ZodLiteral<"Figma">;
|
|
8227
|
+
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
8228
|
+
fileId: z.ZodString;
|
|
8229
|
+
scope: z.ZodObject<{
|
|
8230
|
+
assets: z.ZodBoolean;
|
|
8231
|
+
components: z.ZodBoolean;
|
|
8232
|
+
documentationFrames: z.ZodBoolean;
|
|
8233
|
+
tokens: z.ZodBoolean;
|
|
8234
|
+
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
8235
|
+
isUnpublishedContentFallbackEnabled: z.ZodBoolean;
|
|
8236
|
+
}, "strip", z.ZodTypeAny, {
|
|
8237
|
+
assets: boolean;
|
|
8238
|
+
components: boolean;
|
|
8239
|
+
tokens: boolean;
|
|
8240
|
+
documentationFrames: boolean;
|
|
8241
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
8242
|
+
themePersistentId?: string | undefined;
|
|
8243
|
+
}, {
|
|
8244
|
+
assets: boolean;
|
|
8245
|
+
components: boolean;
|
|
8246
|
+
tokens: boolean;
|
|
8247
|
+
documentationFrames: boolean;
|
|
8248
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
8249
|
+
themePersistentId?: string | undefined;
|
|
8250
|
+
}>;
|
|
8251
|
+
autoImportMode: z.ZodEnum<["Never", "Hourly"]>;
|
|
8252
|
+
}, "strip", z.ZodTypeAny, {
|
|
8253
|
+
type: "Figma";
|
|
8254
|
+
fileId: string;
|
|
8255
|
+
autoImportMode: "Never" | "Hourly";
|
|
8256
|
+
scope: {
|
|
8257
|
+
assets: boolean;
|
|
8258
|
+
components: boolean;
|
|
8259
|
+
tokens: boolean;
|
|
8260
|
+
documentationFrames: boolean;
|
|
8261
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
8262
|
+
themePersistentId?: string | undefined;
|
|
8263
|
+
};
|
|
8264
|
+
brandPersistentId?: string | undefined;
|
|
8265
|
+
}, {
|
|
8266
|
+
type: "Figma";
|
|
8267
|
+
fileId: string;
|
|
8268
|
+
autoImportMode: "Never" | "Hourly";
|
|
8269
|
+
scope: {
|
|
8270
|
+
assets: boolean;
|
|
8271
|
+
components: boolean;
|
|
8272
|
+
tokens: boolean;
|
|
8273
|
+
documentationFrames: boolean;
|
|
8274
|
+
isUnpublishedContentFallbackEnabled: boolean;
|
|
8275
|
+
themePersistentId?: string | undefined;
|
|
8276
|
+
};
|
|
8277
|
+
brandPersistentId?: string | undefined;
|
|
8278
|
+
}>, z.ZodObject<{
|
|
8279
|
+
type: z.ZodEffects<z.ZodEnum<["FigmaVariablesPlugin", "Upload"]>, "FigmaVariablesPlugin", "FigmaVariablesPlugin" | "Upload">;
|
|
8280
|
+
brandPersistentId: z.ZodOptional<z.ZodString>;
|
|
8281
|
+
sourceName: z.ZodOptional<z.ZodString>;
|
|
8282
|
+
remoteId: z.ZodString;
|
|
8283
|
+
payload: z.ZodAny;
|
|
8284
|
+
}, "strip", z.ZodTypeAny, {
|
|
8285
|
+
type: "FigmaVariablesPlugin";
|
|
8286
|
+
remoteId: string;
|
|
8287
|
+
brandPersistentId?: string | undefined;
|
|
8288
|
+
sourceName?: string | undefined;
|
|
8289
|
+
payload?: any;
|
|
8290
|
+
}, {
|
|
8291
|
+
type: "FigmaVariablesPlugin" | "Upload";
|
|
8292
|
+
remoteId: string;
|
|
8293
|
+
brandPersistentId?: string | undefined;
|
|
8294
|
+
sourceName?: string | undefined;
|
|
8295
|
+
payload?: any;
|
|
8296
|
+
}>]>;
|
|
8297
|
+
type DTOBffImportRequestBody = z.infer<typeof DTOBffImportRequestBody>;
|
|
8298
|
+
|
|
8068
8299
|
declare const DTODesignSystemMember: z.ZodObject<{
|
|
8069
8300
|
userId: z.ZodString;
|
|
8070
8301
|
/**
|
|
@@ -8372,9 +8603,9 @@ declare const DTODesignSystemVersionCreationResponse: z.ZodObject<{
|
|
|
8372
8603
|
name: string;
|
|
8373
8604
|
description?: string | undefined;
|
|
8374
8605
|
};
|
|
8606
|
+
designSystemId: string;
|
|
8375
8607
|
version: string;
|
|
8376
8608
|
changeLog: string;
|
|
8377
|
-
designSystemId: string;
|
|
8378
8609
|
isReadOnly: boolean;
|
|
8379
8610
|
jobId: string;
|
|
8380
8611
|
}, {
|
|
@@ -8382,9 +8613,9 @@ declare const DTODesignSystemVersionCreationResponse: z.ZodObject<{
|
|
|
8382
8613
|
name: string;
|
|
8383
8614
|
description?: string | undefined;
|
|
8384
8615
|
};
|
|
8616
|
+
designSystemId: string;
|
|
8385
8617
|
version: string;
|
|
8386
8618
|
changeLog: string;
|
|
8387
|
-
designSystemId: string;
|
|
8388
8619
|
isReadOnly: boolean;
|
|
8389
8620
|
jobId: string;
|
|
8390
8621
|
}>;
|
|
@@ -8413,9 +8644,9 @@ declare const DTODesignSystemVersion: z.ZodObject<{
|
|
|
8413
8644
|
description?: string | undefined;
|
|
8414
8645
|
};
|
|
8415
8646
|
createdAt: Date;
|
|
8647
|
+
designSystemId: string;
|
|
8416
8648
|
version: string;
|
|
8417
8649
|
changeLog: string;
|
|
8418
|
-
designSystemId: string;
|
|
8419
8650
|
isReadonly: boolean;
|
|
8420
8651
|
}, {
|
|
8421
8652
|
id: string;
|
|
@@ -8424,9 +8655,9 @@ declare const DTODesignSystemVersion: z.ZodObject<{
|
|
|
8424
8655
|
description?: string | undefined;
|
|
8425
8656
|
};
|
|
8426
8657
|
createdAt: Date;
|
|
8658
|
+
designSystemId: string;
|
|
8427
8659
|
version: string;
|
|
8428
8660
|
changeLog: string;
|
|
8429
|
-
designSystemId: string;
|
|
8430
8661
|
isReadonly: boolean;
|
|
8431
8662
|
}>;
|
|
8432
8663
|
type DTODesignSystemVersion = z.infer<typeof DTODesignSystemVersion>;
|
|
@@ -8455,9 +8686,9 @@ declare const DTODesignSystemVersionsListResponse: z.ZodObject<{
|
|
|
8455
8686
|
description?: string | undefined;
|
|
8456
8687
|
};
|
|
8457
8688
|
createdAt: Date;
|
|
8689
|
+
designSystemId: string;
|
|
8458
8690
|
version: string;
|
|
8459
8691
|
changeLog: string;
|
|
8460
|
-
designSystemId: string;
|
|
8461
8692
|
isReadonly: boolean;
|
|
8462
8693
|
}, {
|
|
8463
8694
|
id: string;
|
|
@@ -8466,9 +8697,9 @@ declare const DTODesignSystemVersionsListResponse: z.ZodObject<{
|
|
|
8466
8697
|
description?: string | undefined;
|
|
8467
8698
|
};
|
|
8468
8699
|
createdAt: Date;
|
|
8700
|
+
designSystemId: string;
|
|
8469
8701
|
version: string;
|
|
8470
8702
|
changeLog: string;
|
|
8471
|
-
designSystemId: string;
|
|
8472
8703
|
isReadonly: boolean;
|
|
8473
8704
|
}>, "many">;
|
|
8474
8705
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8479,9 +8710,9 @@ declare const DTODesignSystemVersionsListResponse: z.ZodObject<{
|
|
|
8479
8710
|
description?: string | undefined;
|
|
8480
8711
|
};
|
|
8481
8712
|
createdAt: Date;
|
|
8713
|
+
designSystemId: string;
|
|
8482
8714
|
version: string;
|
|
8483
8715
|
changeLog: string;
|
|
8484
|
-
designSystemId: string;
|
|
8485
8716
|
isReadonly: boolean;
|
|
8486
8717
|
}[];
|
|
8487
8718
|
}, {
|
|
@@ -8492,9 +8723,9 @@ declare const DTODesignSystemVersionsListResponse: z.ZodObject<{
|
|
|
8492
8723
|
description?: string | undefined;
|
|
8493
8724
|
};
|
|
8494
8725
|
createdAt: Date;
|
|
8726
|
+
designSystemId: string;
|
|
8495
8727
|
version: string;
|
|
8496
8728
|
changeLog: string;
|
|
8497
|
-
designSystemId: string;
|
|
8498
8729
|
isReadonly: boolean;
|
|
8499
8730
|
}[];
|
|
8500
8731
|
}>;
|
|
@@ -8524,9 +8755,9 @@ declare const DTODesignSystemVersionGetResponse: z.ZodObject<{
|
|
|
8524
8755
|
description?: string | undefined;
|
|
8525
8756
|
};
|
|
8526
8757
|
createdAt: Date;
|
|
8758
|
+
designSystemId: string;
|
|
8527
8759
|
version: string;
|
|
8528
8760
|
changeLog: string;
|
|
8529
|
-
designSystemId: string;
|
|
8530
8761
|
isReadonly: boolean;
|
|
8531
8762
|
}, {
|
|
8532
8763
|
id: string;
|
|
@@ -8535,9 +8766,9 @@ declare const DTODesignSystemVersionGetResponse: z.ZodObject<{
|
|
|
8535
8766
|
description?: string | undefined;
|
|
8536
8767
|
};
|
|
8537
8768
|
createdAt: Date;
|
|
8769
|
+
designSystemId: string;
|
|
8538
8770
|
version: string;
|
|
8539
8771
|
changeLog: string;
|
|
8540
|
-
designSystemId: string;
|
|
8541
8772
|
isReadonly: boolean;
|
|
8542
8773
|
}>;
|
|
8543
8774
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -8548,9 +8779,9 @@ declare const DTODesignSystemVersionGetResponse: z.ZodObject<{
|
|
|
8548
8779
|
description?: string | undefined;
|
|
8549
8780
|
};
|
|
8550
8781
|
createdAt: Date;
|
|
8782
|
+
designSystemId: string;
|
|
8551
8783
|
version: string;
|
|
8552
8784
|
changeLog: string;
|
|
8553
|
-
designSystemId: string;
|
|
8554
8785
|
isReadonly: boolean;
|
|
8555
8786
|
};
|
|
8556
8787
|
}, {
|
|
@@ -8561,9 +8792,9 @@ declare const DTODesignSystemVersionGetResponse: z.ZodObject<{
|
|
|
8561
8792
|
description?: string | undefined;
|
|
8562
8793
|
};
|
|
8563
8794
|
createdAt: Date;
|
|
8795
|
+
designSystemId: string;
|
|
8564
8796
|
version: string;
|
|
8565
8797
|
changeLog: string;
|
|
8566
|
-
designSystemId: string;
|
|
8567
8798
|
isReadonly: boolean;
|
|
8568
8799
|
};
|
|
8569
8800
|
}>;
|
|
@@ -11772,7 +12003,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
11772
12003
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
11773
12004
|
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
11774
12005
|
}, "strip", z.ZodTypeAny, {
|
|
11775
|
-
status: "InProgress" | "
|
|
12006
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
11776
12007
|
id: string;
|
|
11777
12008
|
createdAt: Date;
|
|
11778
12009
|
designSystem: {
|
|
@@ -11893,7 +12124,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
11893
12124
|
}[] | undefined;
|
|
11894
12125
|
} | undefined;
|
|
11895
12126
|
}, {
|
|
11896
|
-
status: "InProgress" | "
|
|
12127
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
11897
12128
|
id: string;
|
|
11898
12129
|
createdAt: Date;
|
|
11899
12130
|
designSystem: {
|
|
@@ -12016,7 +12247,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
12016
12247
|
}>;
|
|
12017
12248
|
}, "strip", z.ZodTypeAny, {
|
|
12018
12249
|
job: {
|
|
12019
|
-
status: "InProgress" | "
|
|
12250
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
12020
12251
|
id: string;
|
|
12021
12252
|
createdAt: Date;
|
|
12022
12253
|
designSystem: {
|
|
@@ -12139,7 +12370,7 @@ declare const DTOPublishDocumentationResponse: z.ZodObject<{
|
|
|
12139
12370
|
};
|
|
12140
12371
|
}, {
|
|
12141
12372
|
job: {
|
|
12142
|
-
status: "InProgress" | "
|
|
12373
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
12143
12374
|
id: string;
|
|
12144
12375
|
createdAt: Date;
|
|
12145
12376
|
designSystem: {
|
|
@@ -32718,7 +32949,7 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
|
|
|
32718
32949
|
destinations: z.ZodOptional<z.ZodArray<z.ZodEnum<["s3", "webhookUrl", "github", "documentation", "azure", "gitlab", "bitbucket"]>, "many">>;
|
|
32719
32950
|
docsEnvironment: z.ZodOptional<z.ZodEnum<["Live", "Preview"]>>;
|
|
32720
32951
|
}, "strip", z.ZodTypeAny, {
|
|
32721
|
-
status?: "InProgress" | "
|
|
32952
|
+
status?: "InProgress" | "Failed" | "Success" | "Timeout" | undefined;
|
|
32722
32953
|
designSystemId?: string | undefined;
|
|
32723
32954
|
designSystemVersionId?: string | undefined;
|
|
32724
32955
|
brandId?: string | undefined;
|
|
@@ -32729,7 +32960,7 @@ declare const DTOExportJobsListFilter: z.ZodObject<{
|
|
|
32729
32960
|
destinations?: ("s3" | "azure" | "bitbucket" | "github" | "gitlab" | "documentation" | "webhookUrl")[] | undefined;
|
|
32730
32961
|
docsEnvironment?: "Live" | "Preview" | undefined;
|
|
32731
32962
|
}, {
|
|
32732
|
-
status?: "InProgress" | "
|
|
32963
|
+
status?: "InProgress" | "Failed" | "Success" | "Timeout" | undefined;
|
|
32733
32964
|
designSystemId?: string | undefined;
|
|
32734
32965
|
designSystemVersionId?: string | undefined;
|
|
32735
32966
|
brandId?: string | undefined;
|
|
@@ -33776,7 +34007,7 @@ declare const DTOExportJob: z.ZodObject<{
|
|
|
33776
34007
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
33777
34008
|
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
33778
34009
|
}, "strip", z.ZodTypeAny, {
|
|
33779
|
-
status: "InProgress" | "
|
|
34010
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
33780
34011
|
id: string;
|
|
33781
34012
|
createdAt: Date;
|
|
33782
34013
|
designSystem: {
|
|
@@ -33897,7 +34128,7 @@ declare const DTOExportJob: z.ZodObject<{
|
|
|
33897
34128
|
}[] | undefined;
|
|
33898
34129
|
} | undefined;
|
|
33899
34130
|
}, {
|
|
33900
|
-
status: "InProgress" | "
|
|
34131
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
33901
34132
|
id: string;
|
|
33902
34133
|
createdAt: Date;
|
|
33903
34134
|
designSystem: {
|
|
@@ -34541,7 +34772,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
34541
34772
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
34542
34773
|
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
34543
34774
|
}, "strip", z.ZodTypeAny, {
|
|
34544
|
-
status: "InProgress" | "
|
|
34775
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
34545
34776
|
id: string;
|
|
34546
34777
|
createdAt: Date;
|
|
34547
34778
|
designSystem: {
|
|
@@ -34662,7 +34893,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
34662
34893
|
}[] | undefined;
|
|
34663
34894
|
} | undefined;
|
|
34664
34895
|
}, {
|
|
34665
|
-
status: "InProgress" | "
|
|
34896
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
34666
34897
|
id: string;
|
|
34667
34898
|
createdAt: Date;
|
|
34668
34899
|
designSystem: {
|
|
@@ -34785,7 +35016,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
34785
35016
|
}>;
|
|
34786
35017
|
}, "strip", z.ZodTypeAny, {
|
|
34787
35018
|
job: {
|
|
34788
|
-
status: "InProgress" | "
|
|
35019
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
34789
35020
|
id: string;
|
|
34790
35021
|
createdAt: Date;
|
|
34791
35022
|
designSystem: {
|
|
@@ -34908,7 +35139,7 @@ declare const DTOExportJobResponse: z.ZodObject<{
|
|
|
34908
35139
|
};
|
|
34909
35140
|
}, {
|
|
34910
35141
|
job: {
|
|
34911
|
-
status: "InProgress" | "
|
|
35142
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
34912
35143
|
id: string;
|
|
34913
35144
|
createdAt: Date;
|
|
34914
35145
|
designSystem: {
|
|
@@ -35554,7 +35785,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
35554
35785
|
themePersistentId: z.ZodOptional<z.ZodString>;
|
|
35555
35786
|
themePersistentIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
35556
35787
|
}, "strip", z.ZodTypeAny, {
|
|
35557
|
-
status: "InProgress" | "
|
|
35788
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
35558
35789
|
id: string;
|
|
35559
35790
|
createdAt: Date;
|
|
35560
35791
|
designSystem: {
|
|
@@ -35675,7 +35906,7 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
35675
35906
|
}[] | undefined;
|
|
35676
35907
|
} | undefined;
|
|
35677
35908
|
}, {
|
|
35678
|
-
status: "InProgress" | "
|
|
35909
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
35679
35910
|
id: string;
|
|
35680
35911
|
createdAt: Date;
|
|
35681
35912
|
designSystem: {
|
|
@@ -35970,12 +36201,12 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
35970
36201
|
id: string;
|
|
35971
36202
|
workspaceId: string;
|
|
35972
36203
|
name: string;
|
|
35973
|
-
exporterId: string;
|
|
35974
36204
|
designSystemId: string;
|
|
36205
|
+
exporterId: string;
|
|
35975
36206
|
isEnabled: boolean;
|
|
35976
36207
|
eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
|
|
35977
36208
|
latestJobs: {
|
|
35978
|
-
status: "InProgress" | "
|
|
36209
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
35979
36210
|
id: string;
|
|
35980
36211
|
createdAt: Date;
|
|
35981
36212
|
designSystem: {
|
|
@@ -36158,12 +36389,12 @@ declare const DTOPipeline: z.ZodObject<{
|
|
|
36158
36389
|
id: string;
|
|
36159
36390
|
workspaceId: string;
|
|
36160
36391
|
name: string;
|
|
36161
|
-
exporterId: string;
|
|
36162
36392
|
designSystemId: string;
|
|
36393
|
+
exporterId: string;
|
|
36163
36394
|
isEnabled: boolean;
|
|
36164
36395
|
eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
|
|
36165
36396
|
latestJobs: {
|
|
36166
|
-
status: "InProgress" | "
|
|
36397
|
+
status: "InProgress" | "Failed" | "Success" | "Timeout";
|
|
36167
36398
|
id: string;
|
|
36168
36399
|
createdAt: Date;
|
|
36169
36400
|
designSystem: {
|
|
@@ -38850,6 +39081,62 @@ declare const DTOWorkspaceInvitationsResponse: z.ZodObject<{
|
|
|
38850
39081
|
}[];
|
|
38851
39082
|
}>;
|
|
38852
39083
|
type DTOWorkspaceInvitationsResponse = z.infer<typeof DTOWorkspaceInvitationsResponse>;
|
|
39084
|
+
declare const DTOWorkspaceInviteUpdate: z.ZodObject<{
|
|
39085
|
+
role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
|
|
39086
|
+
}, "strip", z.ZodTypeAny, {
|
|
39087
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
39088
|
+
}, {
|
|
39089
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
39090
|
+
}>;
|
|
39091
|
+
type DTOWorkspaceInviteUpdate = z.infer<typeof DTOWorkspaceInviteUpdate>;
|
|
39092
|
+
declare const DTOWorkspaceInvitationUpdateResponse: z.ZodObject<{
|
|
39093
|
+
invitation: z.ZodObject<{
|
|
39094
|
+
id: z.ZodString;
|
|
39095
|
+
email: z.ZodString;
|
|
39096
|
+
createdAt: z.ZodDate;
|
|
39097
|
+
resentAt: z.ZodOptional<z.ZodNullable<z.ZodDate>>;
|
|
39098
|
+
role: z.ZodNativeEnum<z.Values<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>>;
|
|
39099
|
+
workspaceId: z.ZodString;
|
|
39100
|
+
invitedBy: z.ZodString;
|
|
39101
|
+
}, "strip", z.ZodTypeAny, {
|
|
39102
|
+
id: string;
|
|
39103
|
+
createdAt: Date;
|
|
39104
|
+
email: string;
|
|
39105
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
39106
|
+
workspaceId: string;
|
|
39107
|
+
invitedBy: string;
|
|
39108
|
+
resentAt?: Date | null | undefined;
|
|
39109
|
+
}, {
|
|
39110
|
+
id: string;
|
|
39111
|
+
createdAt: Date;
|
|
39112
|
+
email: string;
|
|
39113
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
39114
|
+
workspaceId: string;
|
|
39115
|
+
invitedBy: string;
|
|
39116
|
+
resentAt?: Date | null | undefined;
|
|
39117
|
+
}>;
|
|
39118
|
+
}, "strip", z.ZodTypeAny, {
|
|
39119
|
+
invitation: {
|
|
39120
|
+
id: string;
|
|
39121
|
+
createdAt: Date;
|
|
39122
|
+
email: string;
|
|
39123
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
39124
|
+
workspaceId: string;
|
|
39125
|
+
invitedBy: string;
|
|
39126
|
+
resentAt?: Date | null | undefined;
|
|
39127
|
+
};
|
|
39128
|
+
}, {
|
|
39129
|
+
invitation: {
|
|
39130
|
+
id: string;
|
|
39131
|
+
createdAt: Date;
|
|
39132
|
+
email: string;
|
|
39133
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
39134
|
+
workspaceId: string;
|
|
39135
|
+
invitedBy: string;
|
|
39136
|
+
resentAt?: Date | null | undefined;
|
|
39137
|
+
};
|
|
39138
|
+
}>;
|
|
39139
|
+
type DTOWorkspaceInvitationUpdateResponse = z.infer<typeof DTOWorkspaceInvitationUpdateResponse>;
|
|
38853
39140
|
|
|
38854
39141
|
declare const DTOWorkspaceMember: z.ZodObject<{
|
|
38855
39142
|
user: z.ZodObject<{
|
|
@@ -47104,14 +47391,45 @@ declare class RequestExecutor {
|
|
|
47104
47391
|
declare class BrandsEndpoint {
|
|
47105
47392
|
private readonly requestExecutor;
|
|
47106
47393
|
constructor(requestExecutor: RequestExecutor);
|
|
47107
|
-
get(designSystemId: string, versionId: string, brandId: string): Promise<
|
|
47108
|
-
|
|
47394
|
+
get(designSystemId: string, versionId: string, brandId: string): Promise<{
|
|
47395
|
+
brand: {
|
|
47396
|
+
id: string;
|
|
47397
|
+
persistentId: string;
|
|
47398
|
+
meta: {
|
|
47399
|
+
name: string;
|
|
47400
|
+
description?: string | undefined;
|
|
47401
|
+
};
|
|
47402
|
+
designSystemVersionId: string;
|
|
47403
|
+
};
|
|
47404
|
+
}>;
|
|
47405
|
+
list(designSystemId: string, versionId: string): Promise<{
|
|
47406
|
+
brands: {
|
|
47407
|
+
id: string;
|
|
47408
|
+
persistentId: string;
|
|
47409
|
+
meta: {
|
|
47410
|
+
name: string;
|
|
47411
|
+
description?: string | undefined;
|
|
47412
|
+
};
|
|
47413
|
+
designSystemVersionId: string;
|
|
47414
|
+
}[];
|
|
47415
|
+
}>;
|
|
47109
47416
|
}
|
|
47110
47417
|
|
|
47111
|
-
declare class
|
|
47418
|
+
declare class ImportJobsEndpoint {
|
|
47112
47419
|
private readonly requestExecutor;
|
|
47113
47420
|
constructor(requestExecutor: RequestExecutor);
|
|
47114
|
-
|
|
47421
|
+
get(designSystemId: string, versionId: string, jobId: string): Promise<{
|
|
47422
|
+
job: {
|
|
47423
|
+
id: string;
|
|
47424
|
+
designSystemVersionId: string;
|
|
47425
|
+
createdAt: Date;
|
|
47426
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
47427
|
+
designSystemId: string;
|
|
47428
|
+
operation: "Import";
|
|
47429
|
+
stateChangedAt: Date;
|
|
47430
|
+
sourceIds: string[];
|
|
47431
|
+
};
|
|
47432
|
+
}>;
|
|
47115
47433
|
}
|
|
47116
47434
|
|
|
47117
47435
|
declare class VersionStatsEndpoint {
|
|
@@ -47125,6 +47443,12 @@ declare class VersionStatsEndpoint {
|
|
|
47125
47443
|
}>;
|
|
47126
47444
|
}
|
|
47127
47445
|
|
|
47446
|
+
declare class OverridesEndpoint {
|
|
47447
|
+
private readonly requestExecutor;
|
|
47448
|
+
constructor(requestExecutor: RequestExecutor);
|
|
47449
|
+
create(dsId: string, versionId: string, themeId: string, body: any): Promise<any>;
|
|
47450
|
+
}
|
|
47451
|
+
|
|
47128
47452
|
declare const DTOCreateThemeInput: z.ZodObject<{
|
|
47129
47453
|
meta: z.ZodObject<{
|
|
47130
47454
|
name: z.ZodString;
|
|
@@ -47181,29 +47505,11 @@ declare class TokensEndpoint {
|
|
|
47181
47505
|
create(dsId: string, versionId: string, body: any): Promise<any>;
|
|
47182
47506
|
}
|
|
47183
47507
|
|
|
47184
|
-
declare class DesignSystemMembersEndpoint {
|
|
47185
|
-
private readonly requestExecutor;
|
|
47186
|
-
constructor(requestExecutor: RequestExecutor);
|
|
47187
|
-
list(dsId: string): Promise<{
|
|
47188
|
-
members: {
|
|
47189
|
-
userId: string;
|
|
47190
|
-
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
47191
|
-
}[];
|
|
47192
|
-
invitations: {
|
|
47193
|
-
id: string;
|
|
47194
|
-
workspaceInvitationId: string;
|
|
47195
|
-
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
47196
|
-
}[];
|
|
47197
|
-
}>;
|
|
47198
|
-
update(dsId: string, body: DTODesignSystemMembersUpdatePayload): Promise<{
|
|
47199
|
-
ok: true;
|
|
47200
|
-
}>;
|
|
47201
|
-
}
|
|
47202
|
-
|
|
47203
47508
|
declare class DesignSystemVersionsEndpoint {
|
|
47204
47509
|
private readonly requestExecutor;
|
|
47205
47510
|
readonly themes: ThemesEndpoint;
|
|
47206
47511
|
readonly brands: BrandsEndpoint;
|
|
47512
|
+
readonly importJobs: ImportJobsEndpoint;
|
|
47207
47513
|
readonly tokens: TokensEndpoint;
|
|
47208
47514
|
readonly stats: VersionStatsEndpoint;
|
|
47209
47515
|
constructor(requestExecutor: RequestExecutor);
|
|
@@ -47215,14 +47521,31 @@ declare class DesignSystemVersionsEndpoint {
|
|
|
47215
47521
|
description?: string | undefined;
|
|
47216
47522
|
};
|
|
47217
47523
|
createdAt: Date;
|
|
47524
|
+
designSystemId: string;
|
|
47218
47525
|
version: string;
|
|
47219
47526
|
changeLog: string;
|
|
47220
|
-
designSystemId: string;
|
|
47221
47527
|
isReadonly: boolean;
|
|
47222
47528
|
}[];
|
|
47223
47529
|
}>;
|
|
47224
47530
|
}
|
|
47225
47531
|
|
|
47532
|
+
declare class DesignSystemBffEndpoint {
|
|
47533
|
+
private readonly requestExecutor;
|
|
47534
|
+
constructor(requestExecutor: RequestExecutor);
|
|
47535
|
+
import(dsId: string, payload: DTOBffImportRequestBody): Promise<{
|
|
47536
|
+
job: {
|
|
47537
|
+
id: string;
|
|
47538
|
+
designSystemVersionId: string;
|
|
47539
|
+
createdAt: Date;
|
|
47540
|
+
state: "PendingInput" | "Queued" | "InProgress" | "Failed" | "Success";
|
|
47541
|
+
designSystemId: string;
|
|
47542
|
+
operation: "Import";
|
|
47543
|
+
stateChangedAt: Date;
|
|
47544
|
+
sourceIds: string[];
|
|
47545
|
+
};
|
|
47546
|
+
}>;
|
|
47547
|
+
}
|
|
47548
|
+
|
|
47226
47549
|
declare const DTOCreateBrandInput: z.ZodObject<{
|
|
47227
47550
|
persistentId: z.ZodString;
|
|
47228
47551
|
meta: z.ZodObject<{
|
|
@@ -48351,8 +48674,8 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
|
|
|
48351
48674
|
}>;
|
|
48352
48675
|
}, "strip", z.ZodTypeAny, {
|
|
48353
48676
|
name: string;
|
|
48354
|
-
exporterId: string;
|
|
48355
48677
|
designSystemId: string;
|
|
48678
|
+
exporterId: string;
|
|
48356
48679
|
isEnabled: boolean;
|
|
48357
48680
|
eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
|
|
48358
48681
|
gitQuery: {
|
|
@@ -48425,8 +48748,8 @@ declare const DTOPipelineCreateBody: z.ZodObject<{
|
|
|
48425
48748
|
destination?: "Github" | "Gitlab" | "Bitbucket" | "Azure" | "WebhookUrl" | "S3" | "Documentation" | undefined;
|
|
48426
48749
|
}, {
|
|
48427
48750
|
name: string;
|
|
48428
|
-
exporterId: string;
|
|
48429
48751
|
designSystemId: string;
|
|
48752
|
+
exporterId: string;
|
|
48430
48753
|
isEnabled: boolean;
|
|
48431
48754
|
eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
|
|
48432
48755
|
gitQuery: {
|
|
@@ -48807,8 +49130,8 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
48807
49130
|
}>, "strip", z.ZodTypeAny, {
|
|
48808
49131
|
id: string;
|
|
48809
49132
|
name: string;
|
|
48810
|
-
exporterId: string;
|
|
48811
49133
|
designSystemId: string;
|
|
49134
|
+
exporterId: string;
|
|
48812
49135
|
isEnabled: boolean;
|
|
48813
49136
|
eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
|
|
48814
49137
|
gitQuery: {
|
|
@@ -48882,8 +49205,8 @@ declare const DTOPipelineUpdateBody: z.ZodObject<z.objectUtil.extendShape<{
|
|
|
48882
49205
|
}, {
|
|
48883
49206
|
id: string;
|
|
48884
49207
|
name: string;
|
|
48885
|
-
exporterId: string;
|
|
48886
49208
|
designSystemId: string;
|
|
49209
|
+
exporterId: string;
|
|
48887
49210
|
isEnabled: boolean;
|
|
48888
49211
|
eventType: "OnVersionReleased" | "OnHeadChanged" | "OnSourceUpdated" | "None";
|
|
48889
49212
|
gitQuery: {
|
|
@@ -49648,10 +49971,30 @@ declare const DTOWorkspaceIntegrationGetGitObjectsInput: z.ZodObject<{
|
|
|
49648
49971
|
}>;
|
|
49649
49972
|
type DTOWorkspaceIntegrationGetGitObjectsInput = z.infer<typeof DTOWorkspaceIntegrationGetGitObjectsInput>;
|
|
49650
49973
|
|
|
49974
|
+
declare class DesignSystemMembersEndpoint {
|
|
49975
|
+
private readonly requestExecutor;
|
|
49976
|
+
constructor(requestExecutor: RequestExecutor);
|
|
49977
|
+
list(dsId: string): Promise<{
|
|
49978
|
+
members: {
|
|
49979
|
+
userId: string;
|
|
49980
|
+
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
49981
|
+
}[];
|
|
49982
|
+
invitations: {
|
|
49983
|
+
id: string;
|
|
49984
|
+
workspaceInvitationId: string;
|
|
49985
|
+
designSystemRole?: "Admin" | "Creator" | "Viewer" | "Contributor" | undefined;
|
|
49986
|
+
}[];
|
|
49987
|
+
}>;
|
|
49988
|
+
update(dsId: string, body: DTODesignSystemMembersUpdatePayload): Promise<{
|
|
49989
|
+
ok: true;
|
|
49990
|
+
}>;
|
|
49991
|
+
}
|
|
49992
|
+
|
|
49651
49993
|
declare class DesignSystemsEndpoint {
|
|
49652
49994
|
private readonly requestExecutor;
|
|
49653
49995
|
readonly members: DesignSystemMembersEndpoint;
|
|
49654
49996
|
readonly versions: DesignSystemVersionsEndpoint;
|
|
49997
|
+
readonly bff: DesignSystemBffEndpoint;
|
|
49655
49998
|
constructor(requestExecutor: RequestExecutor);
|
|
49656
49999
|
create(body: DTODesignSystemCreateInput): Promise<{
|
|
49657
50000
|
designSystem: {
|
|
@@ -49801,6 +50144,17 @@ declare class RequestExecutorError extends Error {
|
|
|
49801
50144
|
declare class WorkspaceInvitationsEndpoint {
|
|
49802
50145
|
private readonly requestExecutor;
|
|
49803
50146
|
constructor(requestExecutor: RequestExecutor);
|
|
50147
|
+
update(workspaceId: string, invitationId: string, body: DTOWorkspaceInviteUpdate): Promise<{
|
|
50148
|
+
invitation: {
|
|
50149
|
+
id: string;
|
|
50150
|
+
createdAt: Date;
|
|
50151
|
+
email: string;
|
|
50152
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
50153
|
+
workspaceId: string;
|
|
50154
|
+
invitedBy: string;
|
|
50155
|
+
resentAt?: Date | null | undefined;
|
|
50156
|
+
};
|
|
50157
|
+
}>;
|
|
49804
50158
|
list(workspaceId: string): Promise<{
|
|
49805
50159
|
invitations: {
|
|
49806
50160
|
id: string;
|
|
@@ -53671,4 +54025,4 @@ declare class FrontendVersionRoomYDoc {
|
|
|
53671
54025
|
|
|
53672
54026
|
declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
|
|
53673
54027
|
|
|
53674
|
-
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils,
|
|
54028
|
+
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOAuthenticatedUser, DTOAuthenticatedUserProfile, DTOAuthenticatedUserResponse, DTOBffFigmaImportRequestBody, DTOBffImportRequestBody, DTOBffUploadImportRequestBody, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateThemeInput, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemInvitation, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemResponse, DTODesignSystemRole, DTODesignSystemUpdateAccessModeInput, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionStats, DTODesignSystemVersionStatsQuery, DTODesignSystemVersionsListResponse, DTODesignSystemsListResponse, 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, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODownloadAssetsRequest, DTODownloadAssetsResponse, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, 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, 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, DTOPageBlockColorV2, DTOPageBlockDefinition, DTOPageBlockDefinitionBehavior, DTOPageBlockDefinitionItem, DTOPageBlockDefinitionLayout, DTOPageBlockDefinitionProperty, DTOPageBlockDefinitionVariant, DTOPageBlockItemV2, DTOPagination, DTOPipeline, DTOPipelineCreateBody, DTOPipelineTriggerBody, DTOPipelineUpdateBody, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOPublishDocumentationChanges, DTOPublishDocumentationRequest, DTOPublishDocumentationResponse, DTORenderedAssetFile, DTORestoreDocumentationGroupInput, DTORestoreDocumentationPageInput, DTOTokenCollection, DTOTokenCollectionsListReponse, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, 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, DTOWorkspaceResponse, DTOWorkspaceRole, DesignSystemBffEndpoint, DesignSystemMembersEndpoint, DesignSystemVersionsEndpoint, DesignSystemsEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, type RequestEexecutorServerErrorCode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, SupernovaApiClient, TokenCollectionsEndpoint, UsersEndpoint, VersionRoomBaseYDoc, VersionSQSPayload, 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 };
|