@supernova-studio/client 0.54.20 → 0.54.21
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 +2472 -420
- package/dist/index.d.ts +2472 -420
- package/dist/index.js +177 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +622 -448
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/api/client.ts +26 -0
- package/src/api/dto/design-systems/members.ts +2 -2
- package/src/api/dto/users/user.ts +5 -0
- package/src/api/dto/workspaces/index.ts +1 -0
- package/src/api/dto/workspaces/invitations.ts +15 -0
- package/src/api/dto/workspaces/workspace.ts +15 -0
- package/src/api/endpoints/design-systems.ts +36 -0
- package/src/api/endpoints/index.ts +3 -0
- package/src/api/endpoints/users.ts +10 -0
- package/src/api/endpoints/workspaces.ts +26 -0
- package/src/api/index.ts +3 -0
- package/src/api/transport/index.ts +2 -0
- package/src/api/transport/request-executor-error.ts +18 -0
- package/src/api/transport/request-executor.ts +72 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { DocumentationGroupV1, DocumentationPageV1, DocumentationPageV2, DocumentationPageApproval, PageBlockDefinitionLayout as PageBlockDefinitionLayout$1, PageBlockV1, ElementGroup, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, Pipeline, GitOrganization, GitProject, GitRepository, GitBranch, ExtendedIntegration, IntegrationCredentials, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockItemRichTextEditorValue, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType, DocumentationPageSnapshot, ElementGroupSnapshot } from '@supernova-studio/model';
|
|
2
2
|
import * as zod from 'zod';
|
|
3
|
-
import { z, ZodTypeDef } from 'zod';
|
|
3
|
+
import { z, ZodSchema, ZodTypeDef } from 'zod';
|
|
4
|
+
import { RequestInit } from 'node-fetch';
|
|
4
5
|
import * as Y from 'yjs';
|
|
5
6
|
import { Schema } from 'prosemirror-model';
|
|
6
7
|
|
|
@@ -1793,7 +1794,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
1793
1794
|
}, "strip", z.ZodTypeAny, {
|
|
1794
1795
|
product: "free" | "team" | "company" | "enterprise";
|
|
1795
1796
|
planPriceId: string;
|
|
1796
|
-
planInterval: "
|
|
1797
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
1797
1798
|
seats: number;
|
|
1798
1799
|
seatLimit: number;
|
|
1799
1800
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -1930,7 +1931,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
1930
1931
|
}, {
|
|
1931
1932
|
product: "free" | "team" | "company" | "enterprise";
|
|
1932
1933
|
planPriceId: string;
|
|
1933
|
-
planInterval: "
|
|
1934
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
1934
1935
|
seats: number;
|
|
1935
1936
|
seatLimit: number;
|
|
1936
1937
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -2126,7 +2127,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2126
2127
|
subscription: {
|
|
2127
2128
|
product: "free" | "team" | "company" | "enterprise";
|
|
2128
2129
|
planPriceId: string;
|
|
2129
|
-
planInterval: "
|
|
2130
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
2130
2131
|
seats: number;
|
|
2131
2132
|
seatLimit: number;
|
|
2132
2133
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -2300,7 +2301,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2300
2301
|
subscription: {
|
|
2301
2302
|
product: "free" | "team" | "company" | "enterprise";
|
|
2302
2303
|
planPriceId: string;
|
|
2303
|
-
planInterval: "
|
|
2304
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
2304
2305
|
seats: number;
|
|
2305
2306
|
seatLimit: number;
|
|
2306
2307
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -2479,7 +2480,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2479
2480
|
subscription: {
|
|
2480
2481
|
product: "free" | "team" | "company" | "enterprise";
|
|
2481
2482
|
planPriceId: string;
|
|
2482
|
-
planInterval: "
|
|
2483
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
2483
2484
|
seats: number;
|
|
2484
2485
|
seatLimit: number;
|
|
2485
2486
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -2657,7 +2658,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
2657
2658
|
subscription: {
|
|
2658
2659
|
product: "free" | "team" | "company" | "enterprise";
|
|
2659
2660
|
planPriceId: string;
|
|
2660
|
-
planInterval: "
|
|
2661
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
2661
2662
|
seats: number;
|
|
2662
2663
|
seatLimit: number;
|
|
2663
2664
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -3058,7 +3059,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
3058
3059
|
subscription: {
|
|
3059
3060
|
product: "free" | "team" | "company" | "enterprise";
|
|
3060
3061
|
planPriceId: string;
|
|
3061
|
-
planInterval: "
|
|
3062
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
3062
3063
|
seats: number;
|
|
3063
3064
|
seatLimit: number;
|
|
3064
3065
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -3287,7 +3288,7 @@ declare const DTOAppBootstrapDataResponse: z.ZodObject<{
|
|
|
3287
3288
|
subscription: {
|
|
3288
3289
|
product: "free" | "team" | "company" | "enterprise";
|
|
3289
3290
|
planPriceId: string;
|
|
3290
|
-
planInterval: "
|
|
3291
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
3291
3292
|
seats: number;
|
|
3292
3293
|
seatLimit: number;
|
|
3293
3294
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -7708,14 +7709,14 @@ declare const DTODesignSystemMembersUpdateResponse: z.ZodObject<{
|
|
|
7708
7709
|
}>;
|
|
7709
7710
|
type DTODesignSystemMembersUpdateResponse = z.infer<typeof DTODesignSystemMembersUpdateResponse>;
|
|
7710
7711
|
declare const DTODesignSystemMembersUpdatePayload: z.ZodObject<{
|
|
7711
|
-
inviteUserIds: z.ZodArray<z.ZodString, "many"
|
|
7712
|
-
removeUserIds: z.ZodArray<z.ZodString, "many"
|
|
7712
|
+
inviteUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7713
|
+
removeUserIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
7713
7714
|
}, "strip", z.ZodTypeAny, {
|
|
7714
|
-
inviteUserIds
|
|
7715
|
-
removeUserIds
|
|
7715
|
+
inviteUserIds?: string[] | undefined;
|
|
7716
|
+
removeUserIds?: string[] | undefined;
|
|
7716
7717
|
}, {
|
|
7717
|
-
inviteUserIds
|
|
7718
|
-
removeUserIds
|
|
7718
|
+
inviteUserIds?: string[] | undefined;
|
|
7719
|
+
removeUserIds?: string[] | undefined;
|
|
7719
7720
|
}>;
|
|
7720
7721
|
type DTODesignSystemMembersUpdatePayload = z.infer<typeof DTODesignSystemMembersUpdatePayload>;
|
|
7721
7722
|
|
|
@@ -36306,6 +36307,62 @@ declare const DTOUser: z.ZodObject<{
|
|
|
36306
36307
|
email: string;
|
|
36307
36308
|
}>;
|
|
36308
36309
|
type DTOUser = z.infer<typeof DTOUser>;
|
|
36310
|
+
declare const DTOUserGetResponse: z.ZodObject<{
|
|
36311
|
+
user: z.ZodObject<{
|
|
36312
|
+
id: z.ZodString;
|
|
36313
|
+
email: z.ZodString;
|
|
36314
|
+
profile: z.ZodObject<{
|
|
36315
|
+
name: z.ZodString;
|
|
36316
|
+
nickname: z.ZodOptional<z.ZodString>;
|
|
36317
|
+
avatar: z.ZodOptional<z.ZodString>;
|
|
36318
|
+
}, "strip", z.ZodTypeAny, {
|
|
36319
|
+
name: string;
|
|
36320
|
+
avatar?: string | undefined;
|
|
36321
|
+
nickname?: string | undefined;
|
|
36322
|
+
}, {
|
|
36323
|
+
name: string;
|
|
36324
|
+
avatar?: string | undefined;
|
|
36325
|
+
nickname?: string | undefined;
|
|
36326
|
+
}>;
|
|
36327
|
+
}, "strip", z.ZodTypeAny, {
|
|
36328
|
+
id: string;
|
|
36329
|
+
profile: {
|
|
36330
|
+
name: string;
|
|
36331
|
+
avatar?: string | undefined;
|
|
36332
|
+
nickname?: string | undefined;
|
|
36333
|
+
};
|
|
36334
|
+
email: string;
|
|
36335
|
+
}, {
|
|
36336
|
+
id: string;
|
|
36337
|
+
profile: {
|
|
36338
|
+
name: string;
|
|
36339
|
+
avatar?: string | undefined;
|
|
36340
|
+
nickname?: string | undefined;
|
|
36341
|
+
};
|
|
36342
|
+
email: string;
|
|
36343
|
+
}>;
|
|
36344
|
+
}, "strip", z.ZodTypeAny, {
|
|
36345
|
+
user: {
|
|
36346
|
+
id: string;
|
|
36347
|
+
profile: {
|
|
36348
|
+
name: string;
|
|
36349
|
+
avatar?: string | undefined;
|
|
36350
|
+
nickname?: string | undefined;
|
|
36351
|
+
};
|
|
36352
|
+
email: string;
|
|
36353
|
+
};
|
|
36354
|
+
}, {
|
|
36355
|
+
user: {
|
|
36356
|
+
id: string;
|
|
36357
|
+
profile: {
|
|
36358
|
+
name: string;
|
|
36359
|
+
avatar?: string | undefined;
|
|
36360
|
+
nickname?: string | undefined;
|
|
36361
|
+
};
|
|
36362
|
+
email: string;
|
|
36363
|
+
};
|
|
36364
|
+
}>;
|
|
36365
|
+
type DTOUserGetResponse = z.infer<typeof DTOUserGetResponse>;
|
|
36309
36366
|
|
|
36310
36367
|
declare const DTOGitOrganization: z.ZodObject<{
|
|
36311
36368
|
id: z.ZodString;
|
|
@@ -37335,6 +37392,44 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
37335
37392
|
}>;
|
|
37336
37393
|
type DTOIntegrationsGetListResponse = z.infer<typeof DTOIntegrationsGetListResponse>;
|
|
37337
37394
|
|
|
37395
|
+
declare const DTOWorkspaceInvitationInput: z.ZodObject<{
|
|
37396
|
+
email: z.ZodString;
|
|
37397
|
+
role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
|
|
37398
|
+
}, "strip", z.ZodTypeAny, {
|
|
37399
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
37400
|
+
email: string;
|
|
37401
|
+
}, {
|
|
37402
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
37403
|
+
email: string;
|
|
37404
|
+
}>;
|
|
37405
|
+
type DTOWorkspaceInvitationInput = z.infer<typeof DTOWorkspaceInvitationInput>;
|
|
37406
|
+
declare const DTOWorkspaceInvitationsListInput: z.ZodObject<{
|
|
37407
|
+
invites: z.ZodArray<z.ZodObject<{
|
|
37408
|
+
email: z.ZodString;
|
|
37409
|
+
role: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Guest", "Contributor"]>;
|
|
37410
|
+
}, "strip", z.ZodTypeAny, {
|
|
37411
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
37412
|
+
email: string;
|
|
37413
|
+
}, {
|
|
37414
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
37415
|
+
email: string;
|
|
37416
|
+
}>, "many">;
|
|
37417
|
+
designSystemId: z.ZodOptional<z.ZodString>;
|
|
37418
|
+
}, "strip", z.ZodTypeAny, {
|
|
37419
|
+
invites: {
|
|
37420
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
37421
|
+
email: string;
|
|
37422
|
+
}[];
|
|
37423
|
+
designSystemId?: string | undefined;
|
|
37424
|
+
}, {
|
|
37425
|
+
invites: {
|
|
37426
|
+
role: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor";
|
|
37427
|
+
email: string;
|
|
37428
|
+
}[];
|
|
37429
|
+
designSystemId?: string | undefined;
|
|
37430
|
+
}>;
|
|
37431
|
+
type DTOWorkspaceInvitationsListInput = z.infer<typeof DTOWorkspaceInvitationsListInput>;
|
|
37432
|
+
|
|
37338
37433
|
declare const DTOWorkspaceRole: z.ZodEnum<["Owner", "Admin", "Creator", "Viewer", "Billing", "Contributor"]>;
|
|
37339
37434
|
type DTOWorkspaceRole = z.infer<typeof DTOWorkspaceRole>;
|
|
37340
37435
|
declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
@@ -37974,7 +38069,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
37974
38069
|
}, "strip", z.ZodTypeAny, {
|
|
37975
38070
|
product: "free" | "team" | "company" | "enterprise";
|
|
37976
38071
|
planPriceId: string;
|
|
37977
|
-
planInterval: "
|
|
38072
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
37978
38073
|
seats: number;
|
|
37979
38074
|
seatLimit: number;
|
|
37980
38075
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -38111,7 +38206,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
38111
38206
|
}, {
|
|
38112
38207
|
product: "free" | "team" | "company" | "enterprise";
|
|
38113
38208
|
planPriceId: string;
|
|
38114
|
-
planInterval: "
|
|
38209
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
38115
38210
|
seats: number;
|
|
38116
38211
|
seatLimit: number;
|
|
38117
38212
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -38307,7 +38402,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
38307
38402
|
subscription: {
|
|
38308
38403
|
product: "free" | "team" | "company" | "enterprise";
|
|
38309
38404
|
planPriceId: string;
|
|
38310
|
-
planInterval: "
|
|
38405
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
38311
38406
|
seats: number;
|
|
38312
38407
|
seatLimit: number;
|
|
38313
38408
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -38481,7 +38576,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
38481
38576
|
subscription: {
|
|
38482
38577
|
product: "free" | "team" | "company" | "enterprise";
|
|
38483
38578
|
planPriceId: string;
|
|
38484
|
-
planInterval: "
|
|
38579
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
38485
38580
|
seats: number;
|
|
38486
38581
|
seatLimit: number;
|
|
38487
38582
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -38660,7 +38755,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
38660
38755
|
subscription: {
|
|
38661
38756
|
product: "free" | "team" | "company" | "enterprise";
|
|
38662
38757
|
planPriceId: string;
|
|
38663
|
-
planInterval: "
|
|
38758
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
38664
38759
|
seats: number;
|
|
38665
38760
|
seatLimit: number;
|
|
38666
38761
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -38838,7 +38933,7 @@ declare const DTOUserWorkspaceMembership: z.ZodObject<{
|
|
|
38838
38933
|
subscription: {
|
|
38839
38934
|
product: "free" | "team" | "company" | "enterprise";
|
|
38840
38935
|
planPriceId: string;
|
|
38841
|
-
planInterval: "
|
|
38936
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
38842
38937
|
seats: number;
|
|
38843
38938
|
seatLimit: number;
|
|
38844
38939
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -39627,7 +39722,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
39627
39722
|
}, "strip", z.ZodTypeAny, {
|
|
39628
39723
|
product: "free" | "team" | "company" | "enterprise";
|
|
39629
39724
|
planPriceId: string;
|
|
39630
|
-
planInterval: "
|
|
39725
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
39631
39726
|
seats: number;
|
|
39632
39727
|
seatLimit: number;
|
|
39633
39728
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -39764,7 +39859,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
39764
39859
|
}, {
|
|
39765
39860
|
product: "free" | "team" | "company" | "enterprise";
|
|
39766
39861
|
planPriceId: string;
|
|
39767
|
-
planInterval: "
|
|
39862
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
39768
39863
|
seats: number;
|
|
39769
39864
|
seatLimit: number;
|
|
39770
39865
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -39960,7 +40055,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
39960
40055
|
subscription: {
|
|
39961
40056
|
product: "free" | "team" | "company" | "enterprise";
|
|
39962
40057
|
planPriceId: string;
|
|
39963
|
-
planInterval: "
|
|
40058
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
39964
40059
|
seats: number;
|
|
39965
40060
|
seatLimit: number;
|
|
39966
40061
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -40134,7 +40229,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
40134
40229
|
subscription: {
|
|
40135
40230
|
product: "free" | "team" | "company" | "enterprise";
|
|
40136
40231
|
planPriceId: string;
|
|
40137
|
-
planInterval: "
|
|
40232
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
40138
40233
|
seats: number;
|
|
40139
40234
|
seatLimit: number;
|
|
40140
40235
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -40313,7 +40408,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
40313
40408
|
subscription: {
|
|
40314
40409
|
product: "free" | "team" | "company" | "enterprise";
|
|
40315
40410
|
planPriceId: string;
|
|
40316
|
-
planInterval: "
|
|
40411
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
40317
40412
|
seats: number;
|
|
40318
40413
|
seatLimit: number;
|
|
40319
40414
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -40491,7 +40586,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
40491
40586
|
subscription: {
|
|
40492
40587
|
product: "free" | "team" | "company" | "enterprise";
|
|
40493
40588
|
planPriceId: string;
|
|
40494
|
-
planInterval: "
|
|
40589
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
40495
40590
|
seats: number;
|
|
40496
40591
|
seatLimit: number;
|
|
40497
40592
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -40671,7 +40766,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
40671
40766
|
subscription: {
|
|
40672
40767
|
product: "free" | "team" | "company" | "enterprise";
|
|
40673
40768
|
planPriceId: string;
|
|
40674
|
-
planInterval: "
|
|
40769
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
40675
40770
|
seats: number;
|
|
40676
40771
|
seatLimit: number;
|
|
40677
40772
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -40851,7 +40946,7 @@ declare const DTOUserWorkspaceMembershipsResponse: z.ZodObject<{
|
|
|
40851
40946
|
subscription: {
|
|
40852
40947
|
product: "free" | "team" | "company" | "enterprise";
|
|
40853
40948
|
planPriceId: string;
|
|
40854
|
-
planInterval: "
|
|
40949
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
40855
40950
|
seats: number;
|
|
40856
40951
|
seatLimit: number;
|
|
40857
40952
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -41679,7 +41774,7 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
41679
41774
|
}, "strip", z.ZodTypeAny, {
|
|
41680
41775
|
product: "free" | "team" | "company" | "enterprise";
|
|
41681
41776
|
planPriceId: string;
|
|
41682
|
-
planInterval: "
|
|
41777
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
41683
41778
|
seats: number;
|
|
41684
41779
|
seatLimit: number;
|
|
41685
41780
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -41816,7 +41911,7 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
41816
41911
|
}, {
|
|
41817
41912
|
product: "free" | "team" | "company" | "enterprise";
|
|
41818
41913
|
planPriceId: string;
|
|
41819
|
-
planInterval: "
|
|
41914
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
41820
41915
|
seats: number;
|
|
41821
41916
|
seatLimit: number;
|
|
41822
41917
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -42012,7 +42107,7 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
42012
42107
|
subscription: {
|
|
42013
42108
|
product: "free" | "team" | "company" | "enterprise";
|
|
42014
42109
|
planPriceId: string;
|
|
42015
|
-
planInterval: "
|
|
42110
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
42016
42111
|
seats: number;
|
|
42017
42112
|
seatLimit: number;
|
|
42018
42113
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -42186,7 +42281,7 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
42186
42281
|
subscription: {
|
|
42187
42282
|
product: "free" | "team" | "company" | "enterprise";
|
|
42188
42283
|
planPriceId: string;
|
|
42189
|
-
planInterval: "
|
|
42284
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
42190
42285
|
seats: number;
|
|
42191
42286
|
seatLimit: number;
|
|
42192
42287
|
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
@@ -42335,398 +42430,2336 @@ declare const DTOWorkspace: z.ZodObject<{
|
|
|
42335
42430
|
} | undefined;
|
|
42336
42431
|
}>;
|
|
42337
42432
|
type DTOWorkspace = z.infer<typeof DTOWorkspace>;
|
|
42338
|
-
|
|
42339
|
-
|
|
42340
|
-
declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV2(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV2[];
|
|
42341
|
-
|
|
42342
|
-
declare const getDtoDefaultItemConfigurationV1: () => {
|
|
42343
|
-
readonly showSidebar: true;
|
|
42344
|
-
readonly isHidden: false;
|
|
42345
|
-
readonly isPrivate: false;
|
|
42346
|
-
readonly header: {
|
|
42347
|
-
readonly alignment: "Left";
|
|
42348
|
-
readonly backgroundImageScaleType: "AspectFill";
|
|
42349
|
-
readonly description: "";
|
|
42350
|
-
readonly showBackgroundOverlay: false;
|
|
42351
|
-
readonly showCoverText: true;
|
|
42352
|
-
};
|
|
42353
|
-
};
|
|
42354
|
-
declare function documentationItemConfigurationToDTOV1(config: DocumentationItemConfigurationV1 | undefined): DTODocumentationItemConfigurationV1;
|
|
42355
|
-
|
|
42356
|
-
declare const getDtoDefaultItemConfigurationV2: () => {
|
|
42357
|
-
readonly showSidebar: true;
|
|
42358
|
-
readonly isHidden: false;
|
|
42359
|
-
readonly isPrivate: false;
|
|
42360
|
-
readonly header: {
|
|
42361
|
-
readonly alignment: "Left";
|
|
42362
|
-
readonly backgroundImageScaleType: "AspectFill";
|
|
42363
|
-
readonly description: "";
|
|
42364
|
-
readonly showBackgroundOverlay: false;
|
|
42365
|
-
readonly showCoverText: true;
|
|
42366
|
-
};
|
|
42367
|
-
};
|
|
42368
|
-
declare function documentationItemConfigurationToDTOV2(config: DocumentationItemConfigurationV2 | undefined): DTODocumentationItemConfigurationV2;
|
|
42369
|
-
|
|
42370
|
-
type GroupLike = {
|
|
42371
|
-
persistentId: string;
|
|
42372
|
-
parentPersistentId?: string;
|
|
42373
|
-
};
|
|
42374
|
-
declare function buildDocPagePublishPaths(groups: (ElementGroup | DocumentationGroupV1)[], pages: (DocumentationPageV1 | DocumentationPageV2)[], routingVersion: string): Map<string, string>;
|
|
42375
|
-
declare function calculateElementParentChain<T extends GroupLike>(elementParentPersistentId: string, groupPersistentIdToGroupMap: Map<string, T>): T[];
|
|
42376
|
-
declare function applyPrivacyConfigurationToNestedItems<PageType extends DocumentationPageV1 | DocumentationPageV2, GroupType extends DocumentationGroupV1 | ElementGroup, ItemConfigurationType extends DocumentationItemConfigurationV1 | DocumentationItemConfigurationV2>(pages: PageType[], groups: GroupType[], getDefaultItemConfiguration: () => ItemConfigurationType): {
|
|
42377
|
-
pages: PageType[];
|
|
42378
|
-
groups: GroupType[];
|
|
42379
|
-
};
|
|
42380
|
-
|
|
42381
|
-
declare function documentationPagesToDTOV1(pages: DocumentationPageV1[], groups: DocumentationGroupV1[], routingVersion: string): DocumentationPageV1DTO[];
|
|
42382
|
-
declare function documentationPagesFixedConfigurationToDTOV1(pages: DocumentationPageV1[], groups: DocumentationGroupV1[], routingVersion: string): DocumentationPageV1DTO[];
|
|
42383
|
-
|
|
42384
|
-
declare function documentationPageToDTOV2(page: DocumentationPageV2, groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2;
|
|
42385
|
-
declare function documentationPagesToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2[];
|
|
42386
|
-
declare function documentationPagesFixedConfigurationToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2[];
|
|
42387
|
-
|
|
42388
|
-
declare function pipelineToDto(pipeline: Pipeline): DTOPipeline;
|
|
42389
|
-
|
|
42390
|
-
declare function gitOrganizationToDto(org: GitOrganization): DTOGitOrganization;
|
|
42391
|
-
declare function gitProjectToDto(project: GitProject): DTOGitProject;
|
|
42392
|
-
declare function gitRepositoryToDto(repo: GitRepository): DTOGitRepository;
|
|
42393
|
-
declare function gitBranchToDto(branch: GitBranch): DTOGitBranch;
|
|
42394
|
-
|
|
42395
|
-
declare function integrationToDto(integration: ExtendedIntegration): DTOIntegration;
|
|
42396
|
-
declare function integrationCredentialToDto(credential: IntegrationCredentials): DTOIntegrationCredentials;
|
|
42397
|
-
|
|
42398
|
-
declare const DTOCreateBrandInput: z.ZodObject<{
|
|
42399
|
-
persistentId: z.ZodString;
|
|
42400
|
-
meta: z.ZodObject<{
|
|
42401
|
-
name: z.ZodString;
|
|
42402
|
-
description: z.ZodString;
|
|
42403
|
-
}, "strip", z.ZodTypeAny, {
|
|
42404
|
-
description: string;
|
|
42405
|
-
name: string;
|
|
42406
|
-
}, {
|
|
42407
|
-
description: string;
|
|
42408
|
-
name: string;
|
|
42409
|
-
}>;
|
|
42410
|
-
}, "strip", z.ZodTypeAny, {
|
|
42411
|
-
persistentId: string;
|
|
42412
|
-
meta: {
|
|
42413
|
-
description: string;
|
|
42414
|
-
name: string;
|
|
42415
|
-
};
|
|
42416
|
-
}, {
|
|
42417
|
-
persistentId: string;
|
|
42418
|
-
meta: {
|
|
42419
|
-
description: string;
|
|
42420
|
-
name: string;
|
|
42421
|
-
};
|
|
42422
|
-
}>;
|
|
42423
|
-
type DTOCreateBrandInput = z.infer<typeof DTOCreateBrandInput>;
|
|
42424
|
-
|
|
42425
|
-
declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
42426
|
-
id: z.ZodOptional<z.ZodString>;
|
|
42427
|
-
workspaceId: z.ZodOptional<z.ZodString>;
|
|
42428
|
-
name: z.ZodOptional<z.ZodString>;
|
|
42429
|
-
description: z.ZodOptional<z.ZodString>;
|
|
42430
|
-
docExporterId: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>>;
|
|
42431
|
-
docSlug: z.ZodOptional<z.ZodString>;
|
|
42432
|
-
docUserSlug: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>>;
|
|
42433
|
-
docSlugDeprecated: z.ZodOptional<z.ZodString>;
|
|
42434
|
-
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
42435
|
-
isMultibrand: z.ZodOptional<z.ZodBoolean>;
|
|
42436
|
-
docViewUrl: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>>;
|
|
42437
|
-
basePrefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
42438
|
-
designSystemSwitcher: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
42439
|
-
isEnabled: boolean;
|
|
42440
|
-
designSystemIds: string[];
|
|
42441
|
-
}, z.ZodTypeDef, {
|
|
42442
|
-
isEnabled: boolean;
|
|
42443
|
-
designSystemIds: string[];
|
|
42444
|
-
}>>>, {
|
|
42445
|
-
isEnabled: boolean;
|
|
42446
|
-
designSystemIds: string[];
|
|
42447
|
-
} | undefined, {
|
|
42448
|
-
isEnabled: boolean;
|
|
42449
|
-
designSystemIds: string[];
|
|
42450
|
-
} | null | undefined>>;
|
|
42451
|
-
isApprovalFeatureEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
42452
|
-
approvalRequiredForPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
42453
|
-
accessMode: z.ZodOptional<z.ZodEnum<["Open", "InviteOnly"]>>;
|
|
42454
|
-
membersGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
42455
|
-
createdAt: z.ZodOptional<z.ZodDate>;
|
|
42456
|
-
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
42457
|
-
}, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl">, {
|
|
42458
|
-
meta: z.ZodOptional<z.ZodObject<{
|
|
42459
|
-
name: z.ZodOptional<z.ZodString>;
|
|
42460
|
-
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
42461
|
-
}, "strip", z.ZodTypeAny, {
|
|
42462
|
-
description?: string | undefined;
|
|
42463
|
-
name?: string | undefined;
|
|
42464
|
-
}, {
|
|
42465
|
-
description?: string | undefined;
|
|
42466
|
-
name?: string | undefined;
|
|
42467
|
-
}>>;
|
|
42468
|
-
}>, "strip", z.ZodTypeAny, {
|
|
42469
|
-
description?: string | undefined;
|
|
42470
|
-
meta?: {
|
|
42471
|
-
description?: string | undefined;
|
|
42472
|
-
name?: string | undefined;
|
|
42473
|
-
} | undefined;
|
|
42474
|
-
name?: string | undefined;
|
|
42475
|
-
docExporterId?: string | undefined;
|
|
42476
|
-
docUserSlug?: string | undefined;
|
|
42477
|
-
docSlugDeprecated?: string | undefined;
|
|
42478
|
-
isPublic?: boolean | undefined;
|
|
42479
|
-
isMultibrand?: boolean | undefined;
|
|
42480
|
-
basePrefixes?: string[] | undefined;
|
|
42481
|
-
designSystemSwitcher?: {
|
|
42482
|
-
isEnabled: boolean;
|
|
42483
|
-
designSystemIds: string[];
|
|
42484
|
-
} | undefined;
|
|
42485
|
-
isApprovalFeatureEnabled?: boolean | undefined;
|
|
42486
|
-
approvalRequiredForPublishing?: boolean | undefined;
|
|
42487
|
-
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
42488
|
-
membersGenerated?: boolean | undefined;
|
|
42489
|
-
}, {
|
|
42490
|
-
description?: string | undefined;
|
|
42491
|
-
meta?: {
|
|
42492
|
-
description?: string | undefined;
|
|
42493
|
-
name?: string | undefined;
|
|
42494
|
-
} | undefined;
|
|
42495
|
-
name?: string | undefined;
|
|
42496
|
-
docExporterId?: string | null | undefined;
|
|
42497
|
-
docUserSlug?: string | null | undefined;
|
|
42498
|
-
docSlugDeprecated?: string | undefined;
|
|
42499
|
-
isPublic?: boolean | undefined;
|
|
42500
|
-
isMultibrand?: boolean | undefined;
|
|
42501
|
-
basePrefixes?: string[] | undefined;
|
|
42502
|
-
designSystemSwitcher?: {
|
|
42503
|
-
isEnabled: boolean;
|
|
42504
|
-
designSystemIds: string[];
|
|
42505
|
-
} | null | undefined;
|
|
42506
|
-
isApprovalFeatureEnabled?: boolean | undefined;
|
|
42507
|
-
approvalRequiredForPublishing?: boolean | undefined;
|
|
42508
|
-
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
42509
|
-
membersGenerated?: boolean | undefined;
|
|
42510
|
-
}>;
|
|
42511
|
-
type DTODesignSystemUpdateInput = z.infer<typeof DTODesignSystemUpdateInput>;
|
|
42512
|
-
|
|
42513
|
-
declare const ObjectMeta: z.ZodObject<{
|
|
42514
|
-
name: z.ZodOptional<z.ZodString>;
|
|
42515
|
-
description: z.ZodOptional<z.ZodString>;
|
|
42516
|
-
}, "strip", z.ZodTypeAny, {
|
|
42517
|
-
description?: string | undefined;
|
|
42518
|
-
name?: string | undefined;
|
|
42519
|
-
}, {
|
|
42520
|
-
description?: string | undefined;
|
|
42521
|
-
name?: string | undefined;
|
|
42522
|
-
}>;
|
|
42523
|
-
declare function validateDesignSystemVersion(version: string): boolean;
|
|
42524
|
-
declare const DTOCreateVersionInput: z.ZodObject<{
|
|
42525
|
-
meta: z.ZodObject<{
|
|
42526
|
-
name: z.ZodOptional<z.ZodString>;
|
|
42527
|
-
description: z.ZodOptional<z.ZodString>;
|
|
42528
|
-
}, "strip", z.ZodTypeAny, {
|
|
42529
|
-
description?: string | undefined;
|
|
42530
|
-
name?: string | undefined;
|
|
42531
|
-
}, {
|
|
42532
|
-
description?: string | undefined;
|
|
42533
|
-
name?: string | undefined;
|
|
42534
|
-
}>;
|
|
42535
|
-
version: z.ZodEffects<z.ZodString, string, string>;
|
|
42536
|
-
changeLog: z.ZodOptional<z.ZodString>;
|
|
42537
|
-
}, "strip", z.ZodTypeAny, {
|
|
42538
|
-
meta: {
|
|
42539
|
-
description?: string | undefined;
|
|
42540
|
-
name?: string | undefined;
|
|
42541
|
-
};
|
|
42542
|
-
version: string;
|
|
42543
|
-
changeLog?: string | undefined;
|
|
42544
|
-
}, {
|
|
42545
|
-
meta: {
|
|
42546
|
-
description?: string | undefined;
|
|
42547
|
-
name?: string | undefined;
|
|
42548
|
-
};
|
|
42549
|
-
version: string;
|
|
42550
|
-
changeLog?: string | undefined;
|
|
42551
|
-
}>;
|
|
42552
|
-
type DTOCreateVersionInput = z.infer<typeof DTOCreateVersionInput>;
|
|
42553
|
-
declare const DTOUpdateVersionInput: z.ZodObject<{
|
|
42554
|
-
meta: z.ZodObject<{
|
|
42555
|
-
name: z.ZodOptional<z.ZodString>;
|
|
42556
|
-
description: z.ZodOptional<z.ZodString>;
|
|
42557
|
-
}, "strip", z.ZodTypeAny, {
|
|
42558
|
-
description?: string | undefined;
|
|
42559
|
-
name?: string | undefined;
|
|
42560
|
-
}, {
|
|
42561
|
-
description?: string | undefined;
|
|
42562
|
-
name?: string | undefined;
|
|
42563
|
-
}>;
|
|
42564
|
-
version: z.ZodString;
|
|
42565
|
-
changeLog: z.ZodString;
|
|
42566
|
-
}, "strip", z.ZodTypeAny, {
|
|
42567
|
-
meta: {
|
|
42568
|
-
description?: string | undefined;
|
|
42569
|
-
name?: string | undefined;
|
|
42570
|
-
};
|
|
42571
|
-
version: string;
|
|
42572
|
-
changeLog: string;
|
|
42573
|
-
}, {
|
|
42574
|
-
meta: {
|
|
42575
|
-
description?: string | undefined;
|
|
42576
|
-
name?: string | undefined;
|
|
42577
|
-
};
|
|
42578
|
-
version: string;
|
|
42579
|
-
changeLog: string;
|
|
42580
|
-
}>;
|
|
42581
|
-
type DTOUpdateVersionInput = z.infer<typeof DTOUpdateVersionInput>;
|
|
42582
|
-
|
|
42583
|
-
declare const PageBlockDefinitionLayoutBase: z.ZodObject<{
|
|
42584
|
-
type: z.ZodEnum<["Column", "Row"]>;
|
|
42585
|
-
gap: z.ZodOptional<z.ZodEnum<["Small", "Medium", "Large", "None"]>>;
|
|
42586
|
-
columnAlign: z.ZodOptional<z.ZodEnum<["Start", "Center", "End"]>>;
|
|
42587
|
-
columnResizing: z.ZodOptional<z.ZodEnum<["Fill", "Hug"]>>;
|
|
42433
|
+
declare const DTOWorkspaceCreateInput: z.ZodObject<{
|
|
42434
|
+
name: z.ZodString;
|
|
42588
42435
|
}, "strip", z.ZodTypeAny, {
|
|
42589
|
-
|
|
42590
|
-
gap?: "Small" | "Medium" | "Large" | "None" | undefined;
|
|
42591
|
-
columnAlign?: "Center" | "Start" | "End" | undefined;
|
|
42592
|
-
columnResizing?: "Fill" | "Hug" | undefined;
|
|
42436
|
+
name: string;
|
|
42593
42437
|
}, {
|
|
42594
|
-
|
|
42595
|
-
gap?: "Small" | "Medium" | "Large" | "None" | undefined;
|
|
42596
|
-
columnAlign?: "Center" | "Start" | "End" | undefined;
|
|
42597
|
-
columnResizing?: "Fill" | "Hug" | undefined;
|
|
42438
|
+
name: string;
|
|
42598
42439
|
}>;
|
|
42599
|
-
|
|
42600
|
-
|
|
42601
|
-
|
|
42602
|
-
};
|
|
42603
|
-
|
|
42604
|
-
declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
42605
|
-
definitions: z.ZodArray<z.ZodObject<{
|
|
42440
|
+
type DTOWorkspaceCreateInput = z.infer<typeof DTOWorkspaceCreateInput>;
|
|
42441
|
+
declare const DTOWorkspaceCreateResponse: z.ZodObject<{
|
|
42442
|
+
workspace: z.ZodObject<{
|
|
42606
42443
|
id: z.ZodString;
|
|
42607
|
-
|
|
42608
|
-
|
|
42609
|
-
|
|
42610
|
-
|
|
42611
|
-
|
|
42612
|
-
|
|
42613
|
-
|
|
42614
|
-
|
|
42615
|
-
|
|
42616
|
-
|
|
42617
|
-
|
|
42618
|
-
|
|
42619
|
-
|
|
42620
|
-
variantOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
42621
|
-
}, "strip", z.ZodTypeAny, {
|
|
42622
|
-
id: string;
|
|
42623
|
-
type: "Token" | "Component" | "Text" | "Number" | "Boolean" | "URL" | "FigmaComponent" | "FigmaNode" | "Image" | "Color" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "Markdown" | "Code" | "CodeSandbox" | "Table" | "Divider" | "Storybook";
|
|
42624
|
-
name: string;
|
|
42625
|
-
options?: Record<string, any> | undefined;
|
|
42626
|
-
description?: string | undefined;
|
|
42627
|
-
variantOptions?: Record<string, Record<string, any>> | undefined;
|
|
42628
|
-
}, {
|
|
42629
|
-
id: string;
|
|
42630
|
-
type: "Token" | "Component" | "Text" | "Number" | "Boolean" | "URL" | "FigmaComponent" | "FigmaNode" | "Image" | "Color" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "Markdown" | "Code" | "CodeSandbox" | "Table" | "Divider" | "Storybook";
|
|
42631
|
-
name: string;
|
|
42632
|
-
options?: Record<string, any> | undefined;
|
|
42633
|
-
description?: string | undefined;
|
|
42634
|
-
variantOptions?: Record<string, Record<string, any>> | undefined;
|
|
42635
|
-
}>, "many">;
|
|
42636
|
-
appearance: z.ZodOptional<z.ZodObject<{
|
|
42637
|
-
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
42638
|
-
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
42639
|
-
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
42640
|
-
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
42641
|
-
}, "strip", z.ZodTypeAny, {
|
|
42642
|
-
isBordered?: boolean | undefined;
|
|
42643
|
-
hasBackground?: boolean | undefined;
|
|
42644
|
-
isEditorPresentationDifferent?: boolean | undefined;
|
|
42645
|
-
showBlockHeaderInEditor?: boolean | undefined;
|
|
42646
|
-
}, {
|
|
42647
|
-
isBordered?: boolean | undefined;
|
|
42648
|
-
hasBackground?: boolean | undefined;
|
|
42649
|
-
isEditorPresentationDifferent?: boolean | undefined;
|
|
42650
|
-
showBlockHeaderInEditor?: boolean | undefined;
|
|
42651
|
-
}>>;
|
|
42652
|
-
variants: z.ZodArray<z.ZodObject<{
|
|
42653
|
-
id: z.ZodString;
|
|
42654
|
-
name: z.ZodString;
|
|
42655
|
-
image: z.ZodOptional<z.ZodString>;
|
|
42656
|
-
description: z.ZodOptional<z.ZodString>;
|
|
42657
|
-
documentationLink: z.ZodOptional<z.ZodString>;
|
|
42658
|
-
layout: z.ZodType<PageBlockDefinitionLayout, z.ZodTypeDef, PageBlockDefinitionLayout>;
|
|
42659
|
-
maxColumns: z.ZodOptional<z.ZodNumber>;
|
|
42660
|
-
defaultColumns: z.ZodOptional<z.ZodNumber>;
|
|
42661
|
-
appearance: z.ZodOptional<z.ZodObject<{
|
|
42662
|
-
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
42663
|
-
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
42664
|
-
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
42665
|
-
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
42666
|
-
}, "strip", z.ZodTypeAny, {
|
|
42667
|
-
isBordered?: boolean | undefined;
|
|
42668
|
-
hasBackground?: boolean | undefined;
|
|
42669
|
-
isEditorPresentationDifferent?: boolean | undefined;
|
|
42670
|
-
showBlockHeaderInEditor?: boolean | undefined;
|
|
42671
|
-
}, {
|
|
42672
|
-
isBordered?: boolean | undefined;
|
|
42673
|
-
hasBackground?: boolean | undefined;
|
|
42674
|
-
isEditorPresentationDifferent?: boolean | undefined;
|
|
42675
|
-
showBlockHeaderInEditor?: boolean | undefined;
|
|
42676
|
-
}>>;
|
|
42677
|
-
}, "strip", z.ZodTypeAny, {
|
|
42678
|
-
id: string;
|
|
42679
|
-
name: string;
|
|
42680
|
-
layout: {
|
|
42681
|
-
type: "Column" | "Row";
|
|
42682
|
-
gap?: "None" | "Small" | "Medium" | "Large" | undefined;
|
|
42683
|
-
columnAlign?: "Center" | "Start" | "End" | undefined;
|
|
42684
|
-
columnResizing?: "Fill" | "Hug" | undefined;
|
|
42685
|
-
} & {
|
|
42686
|
-
children: (string | PageBlockDefinitionLayout)[];
|
|
42687
|
-
};
|
|
42688
|
-
description?: string | undefined;
|
|
42689
|
-
image?: string | undefined;
|
|
42690
|
-
documentationLink?: string | undefined;
|
|
42691
|
-
maxColumns?: number | undefined;
|
|
42692
|
-
defaultColumns?: number | undefined;
|
|
42693
|
-
appearance?: {
|
|
42694
|
-
isBordered?: boolean | undefined;
|
|
42695
|
-
hasBackground?: boolean | undefined;
|
|
42696
|
-
isEditorPresentationDifferent?: boolean | undefined;
|
|
42697
|
-
showBlockHeaderInEditor?: boolean | undefined;
|
|
42444
|
+
profile: z.ZodObject<{
|
|
42445
|
+
name: z.ZodString;
|
|
42446
|
+
handle: z.ZodString;
|
|
42447
|
+
color: z.ZodString;
|
|
42448
|
+
avatar: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
42449
|
+
billingDetails: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
42450
|
+
address?: {
|
|
42451
|
+
street1?: string | undefined;
|
|
42452
|
+
street2?: string | undefined;
|
|
42453
|
+
city?: string | undefined;
|
|
42454
|
+
postal?: string | undefined;
|
|
42455
|
+
country?: string | undefined;
|
|
42456
|
+
state?: string | undefined;
|
|
42698
42457
|
} | undefined;
|
|
42699
|
-
|
|
42700
|
-
|
|
42701
|
-
|
|
42702
|
-
|
|
42703
|
-
|
|
42704
|
-
|
|
42705
|
-
|
|
42706
|
-
|
|
42707
|
-
|
|
42708
|
-
|
|
42709
|
-
|
|
42710
|
-
|
|
42711
|
-
|
|
42712
|
-
|
|
42713
|
-
|
|
42714
|
-
|
|
42715
|
-
|
|
42716
|
-
|
|
42717
|
-
|
|
42718
|
-
|
|
42719
|
-
|
|
42458
|
+
email?: string | undefined;
|
|
42459
|
+
companyName?: string | undefined;
|
|
42460
|
+
companyId?: string | undefined;
|
|
42461
|
+
notes?: string | undefined;
|
|
42462
|
+
vat?: string | undefined;
|
|
42463
|
+
poNumber?: string | undefined;
|
|
42464
|
+
}, z.ZodTypeDef, {
|
|
42465
|
+
address?: {
|
|
42466
|
+
street1?: string | null | undefined;
|
|
42467
|
+
street2?: string | null | undefined;
|
|
42468
|
+
city?: string | null | undefined;
|
|
42469
|
+
postal?: string | null | undefined;
|
|
42470
|
+
country?: string | null | undefined;
|
|
42471
|
+
state?: string | null | undefined;
|
|
42472
|
+
} | null | undefined;
|
|
42473
|
+
email?: string | null | undefined;
|
|
42474
|
+
companyName?: string | null | undefined;
|
|
42475
|
+
companyId?: string | null | undefined;
|
|
42476
|
+
notes?: string | null | undefined;
|
|
42477
|
+
vat?: string | null | undefined;
|
|
42478
|
+
poNumber?: string | null | undefined;
|
|
42479
|
+
}>>>, {
|
|
42480
|
+
address?: {
|
|
42481
|
+
street1?: string | undefined;
|
|
42482
|
+
street2?: string | undefined;
|
|
42483
|
+
city?: string | undefined;
|
|
42484
|
+
postal?: string | undefined;
|
|
42485
|
+
country?: string | undefined;
|
|
42486
|
+
state?: string | undefined;
|
|
42720
42487
|
} | undefined;
|
|
42721
|
-
|
|
42722
|
-
|
|
42723
|
-
|
|
42724
|
-
|
|
42725
|
-
|
|
42726
|
-
|
|
42727
|
-
|
|
42728
|
-
|
|
42729
|
-
|
|
42488
|
+
email?: string | undefined;
|
|
42489
|
+
companyName?: string | undefined;
|
|
42490
|
+
companyId?: string | undefined;
|
|
42491
|
+
notes?: string | undefined;
|
|
42492
|
+
vat?: string | undefined;
|
|
42493
|
+
poNumber?: string | undefined;
|
|
42494
|
+
} | undefined, {
|
|
42495
|
+
address?: {
|
|
42496
|
+
street1?: string | null | undefined;
|
|
42497
|
+
street2?: string | null | undefined;
|
|
42498
|
+
city?: string | null | undefined;
|
|
42499
|
+
postal?: string | null | undefined;
|
|
42500
|
+
country?: string | null | undefined;
|
|
42501
|
+
state?: string | null | undefined;
|
|
42502
|
+
} | null | undefined;
|
|
42503
|
+
email?: string | null | undefined;
|
|
42504
|
+
companyName?: string | null | undefined;
|
|
42505
|
+
companyId?: string | null | undefined;
|
|
42506
|
+
notes?: string | null | undefined;
|
|
42507
|
+
vat?: string | null | undefined;
|
|
42508
|
+
poNumber?: string | null | undefined;
|
|
42509
|
+
} | null | undefined>;
|
|
42510
|
+
}, "strip", z.ZodTypeAny, {
|
|
42511
|
+
name: string;
|
|
42512
|
+
color: string;
|
|
42513
|
+
handle: string;
|
|
42514
|
+
avatar?: string | undefined;
|
|
42515
|
+
billingDetails?: {
|
|
42516
|
+
address?: {
|
|
42517
|
+
street1?: string | undefined;
|
|
42518
|
+
street2?: string | undefined;
|
|
42519
|
+
city?: string | undefined;
|
|
42520
|
+
postal?: string | undefined;
|
|
42521
|
+
country?: string | undefined;
|
|
42522
|
+
state?: string | undefined;
|
|
42523
|
+
} | undefined;
|
|
42524
|
+
email?: string | undefined;
|
|
42525
|
+
companyName?: string | undefined;
|
|
42526
|
+
companyId?: string | undefined;
|
|
42527
|
+
notes?: string | undefined;
|
|
42528
|
+
vat?: string | undefined;
|
|
42529
|
+
poNumber?: string | undefined;
|
|
42530
|
+
} | undefined;
|
|
42531
|
+
}, {
|
|
42532
|
+
name: string;
|
|
42533
|
+
color: string;
|
|
42534
|
+
handle: string;
|
|
42535
|
+
avatar?: string | null | undefined;
|
|
42536
|
+
billingDetails?: {
|
|
42537
|
+
address?: {
|
|
42538
|
+
street1?: string | null | undefined;
|
|
42539
|
+
street2?: string | null | undefined;
|
|
42540
|
+
city?: string | null | undefined;
|
|
42541
|
+
postal?: string | null | undefined;
|
|
42542
|
+
country?: string | null | undefined;
|
|
42543
|
+
state?: string | null | undefined;
|
|
42544
|
+
} | null | undefined;
|
|
42545
|
+
email?: string | null | undefined;
|
|
42546
|
+
companyName?: string | null | undefined;
|
|
42547
|
+
companyId?: string | null | undefined;
|
|
42548
|
+
notes?: string | null | undefined;
|
|
42549
|
+
vat?: string | null | undefined;
|
|
42550
|
+
poNumber?: string | null | undefined;
|
|
42551
|
+
} | null | undefined;
|
|
42552
|
+
}>;
|
|
42553
|
+
subscription: z.ZodObject<{
|
|
42554
|
+
stripeSubscriptionId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42555
|
+
stripeCustomerId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
42556
|
+
status: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
|
|
42557
|
+
subscriptionStatus: z.ZodOptional<z.ZodEnum<["trialing", "active", "past_due", "canceled", "unpaid", "incomplete_expired", "incomplete", "unknown"]>>;
|
|
42558
|
+
internalStatus: z.ZodOptional<z.ZodEnum<["active", "suspended", "gracePeriod", "cancelled", "downgraded_to_free"]>>;
|
|
42559
|
+
product: z.ZodEnum<["free", "team", "company", "enterprise"]>;
|
|
42560
|
+
featuresSummary: z.ZodOptional<z.ZodObject<{
|
|
42561
|
+
designSystems: z.ZodObject<{
|
|
42562
|
+
max: z.ZodNumber;
|
|
42563
|
+
errorMessage: z.ZodString;
|
|
42564
|
+
errorReason: z.ZodString;
|
|
42565
|
+
}, "strip", z.ZodTypeAny, {
|
|
42566
|
+
max: number;
|
|
42567
|
+
errorMessage: string;
|
|
42568
|
+
errorReason: string;
|
|
42569
|
+
}, {
|
|
42570
|
+
max: number;
|
|
42571
|
+
errorMessage: string;
|
|
42572
|
+
errorReason: string;
|
|
42573
|
+
}>;
|
|
42574
|
+
designSystemSources: z.ZodObject<z.objectUtil.extendShape<{
|
|
42575
|
+
max: z.ZodNumber;
|
|
42576
|
+
errorMessage: z.ZodString;
|
|
42577
|
+
errorReason: z.ZodString;
|
|
42578
|
+
}, {
|
|
42579
|
+
noImportJobsErrorMessage: z.ZodString;
|
|
42580
|
+
noImportJobsErrorReason: z.ZodString;
|
|
42581
|
+
}>, "strip", z.ZodTypeAny, {
|
|
42582
|
+
max: number;
|
|
42583
|
+
errorMessage: string;
|
|
42584
|
+
errorReason: string;
|
|
42585
|
+
noImportJobsErrorMessage: string;
|
|
42586
|
+
noImportJobsErrorReason: string;
|
|
42587
|
+
}, {
|
|
42588
|
+
max: number;
|
|
42589
|
+
errorMessage: string;
|
|
42590
|
+
errorReason: string;
|
|
42591
|
+
noImportJobsErrorMessage: string;
|
|
42592
|
+
noImportJobsErrorReason: string;
|
|
42593
|
+
}>;
|
|
42594
|
+
designSystemVersions: z.ZodObject<{
|
|
42595
|
+
max: z.ZodNumber;
|
|
42596
|
+
errorMessage: z.ZodString;
|
|
42597
|
+
errorReason: z.ZodString;
|
|
42598
|
+
}, "strip", z.ZodTypeAny, {
|
|
42599
|
+
max: number;
|
|
42600
|
+
errorMessage: string;
|
|
42601
|
+
errorReason: string;
|
|
42602
|
+
}, {
|
|
42603
|
+
max: number;
|
|
42604
|
+
errorMessage: string;
|
|
42605
|
+
errorReason: string;
|
|
42606
|
+
}>;
|
|
42607
|
+
themes: z.ZodObject<{
|
|
42608
|
+
max: z.ZodNumber;
|
|
42609
|
+
errorMessage: z.ZodString;
|
|
42610
|
+
errorReason: z.ZodString;
|
|
42611
|
+
}, "strip", z.ZodTypeAny, {
|
|
42612
|
+
max: number;
|
|
42613
|
+
errorMessage: string;
|
|
42614
|
+
errorReason: string;
|
|
42615
|
+
}, {
|
|
42616
|
+
max: number;
|
|
42617
|
+
errorMessage: string;
|
|
42618
|
+
errorReason: string;
|
|
42619
|
+
}>;
|
|
42620
|
+
brands: z.ZodObject<{
|
|
42621
|
+
max: z.ZodNumber;
|
|
42622
|
+
errorMessage: z.ZodString;
|
|
42623
|
+
errorReason: z.ZodString;
|
|
42624
|
+
}, "strip", z.ZodTypeAny, {
|
|
42625
|
+
max: number;
|
|
42626
|
+
errorMessage: string;
|
|
42627
|
+
errorReason: string;
|
|
42628
|
+
}, {
|
|
42629
|
+
max: number;
|
|
42630
|
+
errorMessage: string;
|
|
42631
|
+
errorReason: string;
|
|
42632
|
+
}>;
|
|
42633
|
+
codegenSchedules: z.ZodObject<{
|
|
42634
|
+
max: z.ZodNumber;
|
|
42635
|
+
errorMessage: z.ZodString;
|
|
42636
|
+
errorReason: z.ZodString;
|
|
42637
|
+
}, "strip", z.ZodTypeAny, {
|
|
42638
|
+
max: number;
|
|
42639
|
+
errorMessage: string;
|
|
42640
|
+
errorReason: string;
|
|
42641
|
+
}, {
|
|
42642
|
+
max: number;
|
|
42643
|
+
errorMessage: string;
|
|
42644
|
+
errorReason: string;
|
|
42645
|
+
}>;
|
|
42646
|
+
publicDocumentation: z.ZodObject<{
|
|
42647
|
+
enabled: z.ZodBoolean;
|
|
42648
|
+
errorMessage: z.ZodString;
|
|
42649
|
+
errorReason: z.ZodString;
|
|
42650
|
+
}, "strip", z.ZodTypeAny, {
|
|
42651
|
+
errorMessage: string;
|
|
42652
|
+
errorReason: string;
|
|
42653
|
+
enabled: boolean;
|
|
42654
|
+
}, {
|
|
42655
|
+
errorMessage: string;
|
|
42656
|
+
errorReason: string;
|
|
42657
|
+
enabled: boolean;
|
|
42658
|
+
}>;
|
|
42659
|
+
customDocumentationUrl: z.ZodObject<{
|
|
42660
|
+
enabled: z.ZodBoolean;
|
|
42661
|
+
errorMessage: z.ZodString;
|
|
42662
|
+
errorReason: z.ZodString;
|
|
42663
|
+
}, "strip", z.ZodTypeAny, {
|
|
42664
|
+
errorMessage: string;
|
|
42665
|
+
errorReason: string;
|
|
42666
|
+
enabled: boolean;
|
|
42667
|
+
}, {
|
|
42668
|
+
errorMessage: string;
|
|
42669
|
+
errorReason: string;
|
|
42670
|
+
enabled: boolean;
|
|
42671
|
+
}>;
|
|
42672
|
+
customDocumentationViewButton: z.ZodObject<{
|
|
42673
|
+
enabled: z.ZodBoolean;
|
|
42674
|
+
errorMessage: z.ZodString;
|
|
42675
|
+
errorReason: z.ZodString;
|
|
42676
|
+
}, "strip", z.ZodTypeAny, {
|
|
42677
|
+
errorMessage: string;
|
|
42678
|
+
errorReason: string;
|
|
42679
|
+
enabled: boolean;
|
|
42680
|
+
}, {
|
|
42681
|
+
errorMessage: string;
|
|
42682
|
+
errorReason: string;
|
|
42683
|
+
enabled: boolean;
|
|
42684
|
+
}>;
|
|
42685
|
+
designSystemSourceAutoImport: z.ZodObject<{
|
|
42686
|
+
enabled: z.ZodBoolean;
|
|
42687
|
+
errorMessage: z.ZodString;
|
|
42688
|
+
errorReason: z.ZodString;
|
|
42689
|
+
}, "strip", z.ZodTypeAny, {
|
|
42690
|
+
errorMessage: string;
|
|
42691
|
+
errorReason: string;
|
|
42692
|
+
enabled: boolean;
|
|
42693
|
+
}, {
|
|
42694
|
+
errorMessage: string;
|
|
42695
|
+
errorReason: string;
|
|
42696
|
+
enabled: boolean;
|
|
42697
|
+
}>;
|
|
42698
|
+
designSystemSlug: z.ZodObject<{
|
|
42699
|
+
enabled: z.ZodBoolean;
|
|
42700
|
+
errorMessage: z.ZodString;
|
|
42701
|
+
errorReason: z.ZodString;
|
|
42702
|
+
}, "strip", z.ZodTypeAny, {
|
|
42703
|
+
errorMessage: string;
|
|
42704
|
+
errorReason: string;
|
|
42705
|
+
enabled: boolean;
|
|
42706
|
+
}, {
|
|
42707
|
+
errorMessage: string;
|
|
42708
|
+
errorReason: string;
|
|
42709
|
+
enabled: boolean;
|
|
42710
|
+
}>;
|
|
42711
|
+
ipWhitelisting: z.ZodObject<{
|
|
42712
|
+
enabled: z.ZodBoolean;
|
|
42713
|
+
errorMessage: z.ZodString;
|
|
42714
|
+
errorReason: z.ZodString;
|
|
42715
|
+
}, "strip", z.ZodTypeAny, {
|
|
42716
|
+
errorMessage: string;
|
|
42717
|
+
errorReason: string;
|
|
42718
|
+
enabled: boolean;
|
|
42719
|
+
}, {
|
|
42720
|
+
errorMessage: string;
|
|
42721
|
+
errorReason: string;
|
|
42722
|
+
enabled: boolean;
|
|
42723
|
+
}>;
|
|
42724
|
+
npmRegistry: z.ZodObject<{
|
|
42725
|
+
enabled: z.ZodBoolean;
|
|
42726
|
+
errorMessage: z.ZodString;
|
|
42727
|
+
errorReason: z.ZodString;
|
|
42728
|
+
}, "strip", z.ZodTypeAny, {
|
|
42729
|
+
errorMessage: string;
|
|
42730
|
+
errorReason: string;
|
|
42731
|
+
enabled: boolean;
|
|
42732
|
+
}, {
|
|
42733
|
+
errorMessage: string;
|
|
42734
|
+
errorReason: string;
|
|
42735
|
+
enabled: boolean;
|
|
42736
|
+
}>;
|
|
42737
|
+
sso: z.ZodObject<{
|
|
42738
|
+
enabled: z.ZodBoolean;
|
|
42739
|
+
errorMessage: z.ZodString;
|
|
42740
|
+
errorReason: z.ZodString;
|
|
42741
|
+
}, "strip", z.ZodTypeAny, {
|
|
42742
|
+
errorMessage: string;
|
|
42743
|
+
errorReason: string;
|
|
42744
|
+
enabled: boolean;
|
|
42745
|
+
}, {
|
|
42746
|
+
errorMessage: string;
|
|
42747
|
+
errorReason: string;
|
|
42748
|
+
enabled: boolean;
|
|
42749
|
+
}>;
|
|
42750
|
+
workspacePaidSeats: z.ZodObject<{
|
|
42751
|
+
max: z.ZodNumber;
|
|
42752
|
+
errorMessage: z.ZodString;
|
|
42753
|
+
errorReason: z.ZodString;
|
|
42754
|
+
}, "strip", z.ZodTypeAny, {
|
|
42755
|
+
max: number;
|
|
42756
|
+
errorMessage: string;
|
|
42757
|
+
errorReason: string;
|
|
42758
|
+
}, {
|
|
42759
|
+
max: number;
|
|
42760
|
+
errorMessage: string;
|
|
42761
|
+
errorReason: string;
|
|
42762
|
+
}>;
|
|
42763
|
+
workspaceViewers: z.ZodObject<{
|
|
42764
|
+
max: z.ZodNumber;
|
|
42765
|
+
errorMessage: z.ZodString;
|
|
42766
|
+
errorReason: z.ZodString;
|
|
42767
|
+
}, "strip", z.ZodTypeAny, {
|
|
42768
|
+
max: number;
|
|
42769
|
+
errorMessage: string;
|
|
42770
|
+
errorReason: string;
|
|
42771
|
+
}, {
|
|
42772
|
+
max: number;
|
|
42773
|
+
errorMessage: string;
|
|
42774
|
+
errorReason: string;
|
|
42775
|
+
}>;
|
|
42776
|
+
customDocumentationExporter: z.ZodObject<{
|
|
42777
|
+
enabled: z.ZodBoolean;
|
|
42778
|
+
errorMessage: z.ZodString;
|
|
42779
|
+
errorReason: z.ZodString;
|
|
42780
|
+
}, "strip", z.ZodTypeAny, {
|
|
42781
|
+
errorMessage: string;
|
|
42782
|
+
errorReason: string;
|
|
42783
|
+
enabled: boolean;
|
|
42784
|
+
}, {
|
|
42785
|
+
errorMessage: string;
|
|
42786
|
+
errorReason: string;
|
|
42787
|
+
enabled: boolean;
|
|
42788
|
+
}>;
|
|
42789
|
+
protectedPages: z.ZodObject<{
|
|
42790
|
+
enabled: z.ZodBoolean;
|
|
42791
|
+
errorMessage: z.ZodString;
|
|
42792
|
+
errorReason: z.ZodString;
|
|
42793
|
+
}, "strip", z.ZodTypeAny, {
|
|
42794
|
+
errorMessage: string;
|
|
42795
|
+
errorReason: string;
|
|
42796
|
+
enabled: boolean;
|
|
42797
|
+
}, {
|
|
42798
|
+
errorMessage: string;
|
|
42799
|
+
errorReason: string;
|
|
42800
|
+
enabled: boolean;
|
|
42801
|
+
}>;
|
|
42802
|
+
approvals: z.ZodObject<{
|
|
42803
|
+
enabled: z.ZodBoolean;
|
|
42804
|
+
errorMessage: z.ZodString;
|
|
42805
|
+
errorReason: z.ZodString;
|
|
42806
|
+
}, "strip", z.ZodTypeAny, {
|
|
42807
|
+
errorMessage: string;
|
|
42808
|
+
errorReason: string;
|
|
42809
|
+
enabled: boolean;
|
|
42810
|
+
}, {
|
|
42811
|
+
errorMessage: string;
|
|
42812
|
+
errorReason: string;
|
|
42813
|
+
enabled: boolean;
|
|
42814
|
+
}>;
|
|
42815
|
+
selectivePublishing: z.ZodObject<{
|
|
42816
|
+
enabled: z.ZodBoolean;
|
|
42817
|
+
errorMessage: z.ZodString;
|
|
42818
|
+
errorReason: z.ZodString;
|
|
42819
|
+
}, "strip", z.ZodTypeAny, {
|
|
42820
|
+
errorMessage: string;
|
|
42821
|
+
errorReason: string;
|
|
42822
|
+
enabled: boolean;
|
|
42823
|
+
}, {
|
|
42824
|
+
errorMessage: string;
|
|
42825
|
+
errorReason: string;
|
|
42826
|
+
enabled: boolean;
|
|
42827
|
+
}>;
|
|
42828
|
+
}, "strip", z.ZodTypeAny, {
|
|
42829
|
+
designSystems: {
|
|
42830
|
+
max: number;
|
|
42831
|
+
errorMessage: string;
|
|
42832
|
+
errorReason: string;
|
|
42833
|
+
};
|
|
42834
|
+
designSystemSources: {
|
|
42835
|
+
max: number;
|
|
42836
|
+
errorMessage: string;
|
|
42837
|
+
errorReason: string;
|
|
42838
|
+
noImportJobsErrorMessage: string;
|
|
42839
|
+
noImportJobsErrorReason: string;
|
|
42840
|
+
};
|
|
42841
|
+
designSystemVersions: {
|
|
42842
|
+
max: number;
|
|
42843
|
+
errorMessage: string;
|
|
42844
|
+
errorReason: string;
|
|
42845
|
+
};
|
|
42846
|
+
themes: {
|
|
42847
|
+
max: number;
|
|
42848
|
+
errorMessage: string;
|
|
42849
|
+
errorReason: string;
|
|
42850
|
+
};
|
|
42851
|
+
brands: {
|
|
42852
|
+
max: number;
|
|
42853
|
+
errorMessage: string;
|
|
42854
|
+
errorReason: string;
|
|
42855
|
+
};
|
|
42856
|
+
codegenSchedules: {
|
|
42857
|
+
max: number;
|
|
42858
|
+
errorMessage: string;
|
|
42859
|
+
errorReason: string;
|
|
42860
|
+
};
|
|
42861
|
+
publicDocumentation: {
|
|
42862
|
+
errorMessage: string;
|
|
42863
|
+
errorReason: string;
|
|
42864
|
+
enabled: boolean;
|
|
42865
|
+
};
|
|
42866
|
+
customDocumentationUrl: {
|
|
42867
|
+
errorMessage: string;
|
|
42868
|
+
errorReason: string;
|
|
42869
|
+
enabled: boolean;
|
|
42870
|
+
};
|
|
42871
|
+
customDocumentationViewButton: {
|
|
42872
|
+
errorMessage: string;
|
|
42873
|
+
errorReason: string;
|
|
42874
|
+
enabled: boolean;
|
|
42875
|
+
};
|
|
42876
|
+
designSystemSourceAutoImport: {
|
|
42877
|
+
errorMessage: string;
|
|
42878
|
+
errorReason: string;
|
|
42879
|
+
enabled: boolean;
|
|
42880
|
+
};
|
|
42881
|
+
designSystemSlug: {
|
|
42882
|
+
errorMessage: string;
|
|
42883
|
+
errorReason: string;
|
|
42884
|
+
enabled: boolean;
|
|
42885
|
+
};
|
|
42886
|
+
ipWhitelisting: {
|
|
42887
|
+
errorMessage: string;
|
|
42888
|
+
errorReason: string;
|
|
42889
|
+
enabled: boolean;
|
|
42890
|
+
};
|
|
42891
|
+
npmRegistry: {
|
|
42892
|
+
errorMessage: string;
|
|
42893
|
+
errorReason: string;
|
|
42894
|
+
enabled: boolean;
|
|
42895
|
+
};
|
|
42896
|
+
sso: {
|
|
42897
|
+
errorMessage: string;
|
|
42898
|
+
errorReason: string;
|
|
42899
|
+
enabled: boolean;
|
|
42900
|
+
};
|
|
42901
|
+
workspacePaidSeats: {
|
|
42902
|
+
max: number;
|
|
42903
|
+
errorMessage: string;
|
|
42904
|
+
errorReason: string;
|
|
42905
|
+
};
|
|
42906
|
+
workspaceViewers: {
|
|
42907
|
+
max: number;
|
|
42908
|
+
errorMessage: string;
|
|
42909
|
+
errorReason: string;
|
|
42910
|
+
};
|
|
42911
|
+
customDocumentationExporter: {
|
|
42912
|
+
errorMessage: string;
|
|
42913
|
+
errorReason: string;
|
|
42914
|
+
enabled: boolean;
|
|
42915
|
+
};
|
|
42916
|
+
protectedPages: {
|
|
42917
|
+
errorMessage: string;
|
|
42918
|
+
errorReason: string;
|
|
42919
|
+
enabled: boolean;
|
|
42920
|
+
};
|
|
42921
|
+
approvals: {
|
|
42922
|
+
errorMessage: string;
|
|
42923
|
+
errorReason: string;
|
|
42924
|
+
enabled: boolean;
|
|
42925
|
+
};
|
|
42926
|
+
selectivePublishing: {
|
|
42927
|
+
errorMessage: string;
|
|
42928
|
+
errorReason: string;
|
|
42929
|
+
enabled: boolean;
|
|
42930
|
+
};
|
|
42931
|
+
}, {
|
|
42932
|
+
designSystems: {
|
|
42933
|
+
max: number;
|
|
42934
|
+
errorMessage: string;
|
|
42935
|
+
errorReason: string;
|
|
42936
|
+
};
|
|
42937
|
+
designSystemSources: {
|
|
42938
|
+
max: number;
|
|
42939
|
+
errorMessage: string;
|
|
42940
|
+
errorReason: string;
|
|
42941
|
+
noImportJobsErrorMessage: string;
|
|
42942
|
+
noImportJobsErrorReason: string;
|
|
42943
|
+
};
|
|
42944
|
+
designSystemVersions: {
|
|
42945
|
+
max: number;
|
|
42946
|
+
errorMessage: string;
|
|
42947
|
+
errorReason: string;
|
|
42948
|
+
};
|
|
42949
|
+
themes: {
|
|
42950
|
+
max: number;
|
|
42951
|
+
errorMessage: string;
|
|
42952
|
+
errorReason: string;
|
|
42953
|
+
};
|
|
42954
|
+
brands: {
|
|
42955
|
+
max: number;
|
|
42956
|
+
errorMessage: string;
|
|
42957
|
+
errorReason: string;
|
|
42958
|
+
};
|
|
42959
|
+
codegenSchedules: {
|
|
42960
|
+
max: number;
|
|
42961
|
+
errorMessage: string;
|
|
42962
|
+
errorReason: string;
|
|
42963
|
+
};
|
|
42964
|
+
publicDocumentation: {
|
|
42965
|
+
errorMessage: string;
|
|
42966
|
+
errorReason: string;
|
|
42967
|
+
enabled: boolean;
|
|
42968
|
+
};
|
|
42969
|
+
customDocumentationUrl: {
|
|
42970
|
+
errorMessage: string;
|
|
42971
|
+
errorReason: string;
|
|
42972
|
+
enabled: boolean;
|
|
42973
|
+
};
|
|
42974
|
+
customDocumentationViewButton: {
|
|
42975
|
+
errorMessage: string;
|
|
42976
|
+
errorReason: string;
|
|
42977
|
+
enabled: boolean;
|
|
42978
|
+
};
|
|
42979
|
+
designSystemSourceAutoImport: {
|
|
42980
|
+
errorMessage: string;
|
|
42981
|
+
errorReason: string;
|
|
42982
|
+
enabled: boolean;
|
|
42983
|
+
};
|
|
42984
|
+
designSystemSlug: {
|
|
42985
|
+
errorMessage: string;
|
|
42986
|
+
errorReason: string;
|
|
42987
|
+
enabled: boolean;
|
|
42988
|
+
};
|
|
42989
|
+
ipWhitelisting: {
|
|
42990
|
+
errorMessage: string;
|
|
42991
|
+
errorReason: string;
|
|
42992
|
+
enabled: boolean;
|
|
42993
|
+
};
|
|
42994
|
+
npmRegistry: {
|
|
42995
|
+
errorMessage: string;
|
|
42996
|
+
errorReason: string;
|
|
42997
|
+
enabled: boolean;
|
|
42998
|
+
};
|
|
42999
|
+
sso: {
|
|
43000
|
+
errorMessage: string;
|
|
43001
|
+
errorReason: string;
|
|
43002
|
+
enabled: boolean;
|
|
43003
|
+
};
|
|
43004
|
+
workspacePaidSeats: {
|
|
43005
|
+
max: number;
|
|
43006
|
+
errorMessage: string;
|
|
43007
|
+
errorReason: string;
|
|
43008
|
+
};
|
|
43009
|
+
workspaceViewers: {
|
|
43010
|
+
max: number;
|
|
43011
|
+
errorMessage: string;
|
|
43012
|
+
errorReason: string;
|
|
43013
|
+
};
|
|
43014
|
+
customDocumentationExporter: {
|
|
43015
|
+
errorMessage: string;
|
|
43016
|
+
errorReason: string;
|
|
43017
|
+
enabled: boolean;
|
|
43018
|
+
};
|
|
43019
|
+
protectedPages: {
|
|
43020
|
+
errorMessage: string;
|
|
43021
|
+
errorReason: string;
|
|
43022
|
+
enabled: boolean;
|
|
43023
|
+
};
|
|
43024
|
+
approvals: {
|
|
43025
|
+
errorMessage: string;
|
|
43026
|
+
errorReason: string;
|
|
43027
|
+
enabled: boolean;
|
|
43028
|
+
};
|
|
43029
|
+
selectivePublishing: {
|
|
43030
|
+
errorMessage: string;
|
|
43031
|
+
errorReason: string;
|
|
43032
|
+
enabled: boolean;
|
|
43033
|
+
};
|
|
43034
|
+
}>>;
|
|
43035
|
+
stripeProductDescription: z.ZodOptional<z.ZodString>;
|
|
43036
|
+
stripeProductFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43037
|
+
stripeProductAdditionalFeatures: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
43038
|
+
stripeSubscriptionMainItemId: z.ZodOptional<z.ZodString>;
|
|
43039
|
+
planPriceId: z.ZodString;
|
|
43040
|
+
planInterval: z.ZodEnum<["daily", "monthly", "weekly", "yearly"]>;
|
|
43041
|
+
isPricePerCreator: z.ZodOptional<z.ZodBoolean>;
|
|
43042
|
+
legacyVersion: z.ZodOptional<z.ZodString>;
|
|
43043
|
+
seats: z.ZodNumber;
|
|
43044
|
+
seatLimit: z.ZodNumber;
|
|
43045
|
+
currentPeriodStart: z.ZodOptional<z.ZodString>;
|
|
43046
|
+
currentPeriodEnd: z.ZodOptional<z.ZodString>;
|
|
43047
|
+
subscriptionStatusUpdatedAt: z.ZodOptional<z.ZodString>;
|
|
43048
|
+
cancelAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43049
|
+
card: z.ZodOptional<z.ZodObject<{
|
|
43050
|
+
cardId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43051
|
+
last4: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43052
|
+
expiryMonth: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43053
|
+
expiryYear: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43054
|
+
brand: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43055
|
+
name: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
43056
|
+
}, "strip", z.ZodTypeAny, {
|
|
43057
|
+
cardId?: string | null | undefined;
|
|
43058
|
+
last4?: string | null | undefined;
|
|
43059
|
+
expiryMonth?: string | null | undefined;
|
|
43060
|
+
expiryYear?: string | null | undefined;
|
|
43061
|
+
brand?: string | null | undefined;
|
|
43062
|
+
name?: string | null | undefined;
|
|
43063
|
+
}, {
|
|
43064
|
+
cardId?: string | null | undefined;
|
|
43065
|
+
last4?: string | null | undefined;
|
|
43066
|
+
expiryMonth?: string | null | undefined;
|
|
43067
|
+
expiryYear?: string | null | undefined;
|
|
43068
|
+
brand?: string | null | undefined;
|
|
43069
|
+
name?: string | null | undefined;
|
|
43070
|
+
}>>;
|
|
43071
|
+
amount: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
43072
|
+
isTrial: z.ZodOptional<z.ZodBoolean>;
|
|
43073
|
+
billingType: z.ZodOptional<z.ZodEnum<["Auto", "Invoice"]>>;
|
|
43074
|
+
daysUntilDue: z.ZodOptional<z.ZodNumber>;
|
|
43075
|
+
}, "strip", z.ZodTypeAny, {
|
|
43076
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
43077
|
+
planPriceId: string;
|
|
43078
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
43079
|
+
seats: number;
|
|
43080
|
+
seatLimit: number;
|
|
43081
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43082
|
+
card?: {
|
|
43083
|
+
cardId?: string | null | undefined;
|
|
43084
|
+
last4?: string | null | undefined;
|
|
43085
|
+
expiryMonth?: string | null | undefined;
|
|
43086
|
+
expiryYear?: string | null | undefined;
|
|
43087
|
+
brand?: string | null | undefined;
|
|
43088
|
+
name?: string | null | undefined;
|
|
43089
|
+
} | undefined;
|
|
43090
|
+
amount?: number | null | undefined;
|
|
43091
|
+
stripeProductDescription?: string | undefined;
|
|
43092
|
+
isPricePerCreator?: boolean | undefined;
|
|
43093
|
+
isTrial?: boolean | undefined;
|
|
43094
|
+
legacyVersion?: string | undefined;
|
|
43095
|
+
stripeProductFeatures?: string[] | undefined;
|
|
43096
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
43097
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
43098
|
+
stripeCustomerId?: string | null | undefined;
|
|
43099
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
43100
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43101
|
+
featuresSummary?: {
|
|
43102
|
+
designSystems: {
|
|
43103
|
+
max: number;
|
|
43104
|
+
errorMessage: string;
|
|
43105
|
+
errorReason: string;
|
|
43106
|
+
};
|
|
43107
|
+
designSystemSources: {
|
|
43108
|
+
max: number;
|
|
43109
|
+
errorMessage: string;
|
|
43110
|
+
errorReason: string;
|
|
43111
|
+
noImportJobsErrorMessage: string;
|
|
43112
|
+
noImportJobsErrorReason: string;
|
|
43113
|
+
};
|
|
43114
|
+
designSystemVersions: {
|
|
43115
|
+
max: number;
|
|
43116
|
+
errorMessage: string;
|
|
43117
|
+
errorReason: string;
|
|
43118
|
+
};
|
|
43119
|
+
themes: {
|
|
43120
|
+
max: number;
|
|
43121
|
+
errorMessage: string;
|
|
43122
|
+
errorReason: string;
|
|
43123
|
+
};
|
|
43124
|
+
brands: {
|
|
43125
|
+
max: number;
|
|
43126
|
+
errorMessage: string;
|
|
43127
|
+
errorReason: string;
|
|
43128
|
+
};
|
|
43129
|
+
codegenSchedules: {
|
|
43130
|
+
max: number;
|
|
43131
|
+
errorMessage: string;
|
|
43132
|
+
errorReason: string;
|
|
43133
|
+
};
|
|
43134
|
+
publicDocumentation: {
|
|
43135
|
+
errorMessage: string;
|
|
43136
|
+
errorReason: string;
|
|
43137
|
+
enabled: boolean;
|
|
43138
|
+
};
|
|
43139
|
+
customDocumentationUrl: {
|
|
43140
|
+
errorMessage: string;
|
|
43141
|
+
errorReason: string;
|
|
43142
|
+
enabled: boolean;
|
|
43143
|
+
};
|
|
43144
|
+
customDocumentationViewButton: {
|
|
43145
|
+
errorMessage: string;
|
|
43146
|
+
errorReason: string;
|
|
43147
|
+
enabled: boolean;
|
|
43148
|
+
};
|
|
43149
|
+
designSystemSourceAutoImport: {
|
|
43150
|
+
errorMessage: string;
|
|
43151
|
+
errorReason: string;
|
|
43152
|
+
enabled: boolean;
|
|
43153
|
+
};
|
|
43154
|
+
designSystemSlug: {
|
|
43155
|
+
errorMessage: string;
|
|
43156
|
+
errorReason: string;
|
|
43157
|
+
enabled: boolean;
|
|
43158
|
+
};
|
|
43159
|
+
ipWhitelisting: {
|
|
43160
|
+
errorMessage: string;
|
|
43161
|
+
errorReason: string;
|
|
43162
|
+
enabled: boolean;
|
|
43163
|
+
};
|
|
43164
|
+
npmRegistry: {
|
|
43165
|
+
errorMessage: string;
|
|
43166
|
+
errorReason: string;
|
|
43167
|
+
enabled: boolean;
|
|
43168
|
+
};
|
|
43169
|
+
sso: {
|
|
43170
|
+
errorMessage: string;
|
|
43171
|
+
errorReason: string;
|
|
43172
|
+
enabled: boolean;
|
|
43173
|
+
};
|
|
43174
|
+
workspacePaidSeats: {
|
|
43175
|
+
max: number;
|
|
43176
|
+
errorMessage: string;
|
|
43177
|
+
errorReason: string;
|
|
43178
|
+
};
|
|
43179
|
+
workspaceViewers: {
|
|
43180
|
+
max: number;
|
|
43181
|
+
errorMessage: string;
|
|
43182
|
+
errorReason: string;
|
|
43183
|
+
};
|
|
43184
|
+
customDocumentationExporter: {
|
|
43185
|
+
errorMessage: string;
|
|
43186
|
+
errorReason: string;
|
|
43187
|
+
enabled: boolean;
|
|
43188
|
+
};
|
|
43189
|
+
protectedPages: {
|
|
43190
|
+
errorMessage: string;
|
|
43191
|
+
errorReason: string;
|
|
43192
|
+
enabled: boolean;
|
|
43193
|
+
};
|
|
43194
|
+
approvals: {
|
|
43195
|
+
errorMessage: string;
|
|
43196
|
+
errorReason: string;
|
|
43197
|
+
enabled: boolean;
|
|
43198
|
+
};
|
|
43199
|
+
selectivePublishing: {
|
|
43200
|
+
errorMessage: string;
|
|
43201
|
+
errorReason: string;
|
|
43202
|
+
enabled: boolean;
|
|
43203
|
+
};
|
|
43204
|
+
} | undefined;
|
|
43205
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
43206
|
+
currentPeriodStart?: string | undefined;
|
|
43207
|
+
currentPeriodEnd?: string | undefined;
|
|
43208
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
43209
|
+
cancelAt?: string | null | undefined;
|
|
43210
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
43211
|
+
daysUntilDue?: number | undefined;
|
|
43212
|
+
}, {
|
|
43213
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
43214
|
+
planPriceId: string;
|
|
43215
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
43216
|
+
seats: number;
|
|
43217
|
+
seatLimit: number;
|
|
43218
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43219
|
+
card?: {
|
|
43220
|
+
cardId?: string | null | undefined;
|
|
43221
|
+
last4?: string | null | undefined;
|
|
43222
|
+
expiryMonth?: string | null | undefined;
|
|
43223
|
+
expiryYear?: string | null | undefined;
|
|
43224
|
+
brand?: string | null | undefined;
|
|
43225
|
+
name?: string | null | undefined;
|
|
43226
|
+
} | undefined;
|
|
43227
|
+
amount?: number | null | undefined;
|
|
43228
|
+
stripeProductDescription?: string | undefined;
|
|
43229
|
+
isPricePerCreator?: boolean | undefined;
|
|
43230
|
+
isTrial?: boolean | undefined;
|
|
43231
|
+
legacyVersion?: string | undefined;
|
|
43232
|
+
stripeProductFeatures?: string[] | undefined;
|
|
43233
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
43234
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
43235
|
+
stripeCustomerId?: string | null | undefined;
|
|
43236
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
43237
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43238
|
+
featuresSummary?: {
|
|
43239
|
+
designSystems: {
|
|
43240
|
+
max: number;
|
|
43241
|
+
errorMessage: string;
|
|
43242
|
+
errorReason: string;
|
|
43243
|
+
};
|
|
43244
|
+
designSystemSources: {
|
|
43245
|
+
max: number;
|
|
43246
|
+
errorMessage: string;
|
|
43247
|
+
errorReason: string;
|
|
43248
|
+
noImportJobsErrorMessage: string;
|
|
43249
|
+
noImportJobsErrorReason: string;
|
|
43250
|
+
};
|
|
43251
|
+
designSystemVersions: {
|
|
43252
|
+
max: number;
|
|
43253
|
+
errorMessage: string;
|
|
43254
|
+
errorReason: string;
|
|
43255
|
+
};
|
|
43256
|
+
themes: {
|
|
43257
|
+
max: number;
|
|
43258
|
+
errorMessage: string;
|
|
43259
|
+
errorReason: string;
|
|
43260
|
+
};
|
|
43261
|
+
brands: {
|
|
43262
|
+
max: number;
|
|
43263
|
+
errorMessage: string;
|
|
43264
|
+
errorReason: string;
|
|
43265
|
+
};
|
|
43266
|
+
codegenSchedules: {
|
|
43267
|
+
max: number;
|
|
43268
|
+
errorMessage: string;
|
|
43269
|
+
errorReason: string;
|
|
43270
|
+
};
|
|
43271
|
+
publicDocumentation: {
|
|
43272
|
+
errorMessage: string;
|
|
43273
|
+
errorReason: string;
|
|
43274
|
+
enabled: boolean;
|
|
43275
|
+
};
|
|
43276
|
+
customDocumentationUrl: {
|
|
43277
|
+
errorMessage: string;
|
|
43278
|
+
errorReason: string;
|
|
43279
|
+
enabled: boolean;
|
|
43280
|
+
};
|
|
43281
|
+
customDocumentationViewButton: {
|
|
43282
|
+
errorMessage: string;
|
|
43283
|
+
errorReason: string;
|
|
43284
|
+
enabled: boolean;
|
|
43285
|
+
};
|
|
43286
|
+
designSystemSourceAutoImport: {
|
|
43287
|
+
errorMessage: string;
|
|
43288
|
+
errorReason: string;
|
|
43289
|
+
enabled: boolean;
|
|
43290
|
+
};
|
|
43291
|
+
designSystemSlug: {
|
|
43292
|
+
errorMessage: string;
|
|
43293
|
+
errorReason: string;
|
|
43294
|
+
enabled: boolean;
|
|
43295
|
+
};
|
|
43296
|
+
ipWhitelisting: {
|
|
43297
|
+
errorMessage: string;
|
|
43298
|
+
errorReason: string;
|
|
43299
|
+
enabled: boolean;
|
|
43300
|
+
};
|
|
43301
|
+
npmRegistry: {
|
|
43302
|
+
errorMessage: string;
|
|
43303
|
+
errorReason: string;
|
|
43304
|
+
enabled: boolean;
|
|
43305
|
+
};
|
|
43306
|
+
sso: {
|
|
43307
|
+
errorMessage: string;
|
|
43308
|
+
errorReason: string;
|
|
43309
|
+
enabled: boolean;
|
|
43310
|
+
};
|
|
43311
|
+
workspacePaidSeats: {
|
|
43312
|
+
max: number;
|
|
43313
|
+
errorMessage: string;
|
|
43314
|
+
errorReason: string;
|
|
43315
|
+
};
|
|
43316
|
+
workspaceViewers: {
|
|
43317
|
+
max: number;
|
|
43318
|
+
errorMessage: string;
|
|
43319
|
+
errorReason: string;
|
|
43320
|
+
};
|
|
43321
|
+
customDocumentationExporter: {
|
|
43322
|
+
errorMessage: string;
|
|
43323
|
+
errorReason: string;
|
|
43324
|
+
enabled: boolean;
|
|
43325
|
+
};
|
|
43326
|
+
protectedPages: {
|
|
43327
|
+
errorMessage: string;
|
|
43328
|
+
errorReason: string;
|
|
43329
|
+
enabled: boolean;
|
|
43330
|
+
};
|
|
43331
|
+
approvals: {
|
|
43332
|
+
errorMessage: string;
|
|
43333
|
+
errorReason: string;
|
|
43334
|
+
enabled: boolean;
|
|
43335
|
+
};
|
|
43336
|
+
selectivePublishing: {
|
|
43337
|
+
errorMessage: string;
|
|
43338
|
+
errorReason: string;
|
|
43339
|
+
enabled: boolean;
|
|
43340
|
+
};
|
|
43341
|
+
} | undefined;
|
|
43342
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
43343
|
+
currentPeriodStart?: string | undefined;
|
|
43344
|
+
currentPeriodEnd?: string | undefined;
|
|
43345
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
43346
|
+
cancelAt?: string | null | undefined;
|
|
43347
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
43348
|
+
daysUntilDue?: number | undefined;
|
|
43349
|
+
}>;
|
|
43350
|
+
npmRegistry: z.ZodOptional<z.ZodObject<{
|
|
43351
|
+
registryType: z.ZodEnum<["NPMJS", "GitHub", "AzureDevOps", "Artifactory", "Custom"]>;
|
|
43352
|
+
registryUrl: z.ZodString;
|
|
43353
|
+
customRegistryUrl: z.ZodOptional<z.ZodString>;
|
|
43354
|
+
proxyUrl: z.ZodString;
|
|
43355
|
+
authType: z.ZodEnum<["Basic", "Bearer", "None", "Custom"]>;
|
|
43356
|
+
accessToken: z.ZodOptional<z.ZodLiteral<string>>;
|
|
43357
|
+
username: z.ZodOptional<z.ZodString>;
|
|
43358
|
+
password: z.ZodOptional<z.ZodLiteral<string>>;
|
|
43359
|
+
enabledScopes: z.ZodArray<z.ZodString, "many">;
|
|
43360
|
+
bypassProxy: z.ZodBoolean;
|
|
43361
|
+
}, "strip", z.ZodTypeAny, {
|
|
43362
|
+
enabledScopes: string[];
|
|
43363
|
+
bypassProxy: boolean;
|
|
43364
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
43365
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
43366
|
+
registryUrl: string;
|
|
43367
|
+
proxyUrl: string;
|
|
43368
|
+
customRegistryUrl?: string | undefined;
|
|
43369
|
+
accessToken?: string | undefined;
|
|
43370
|
+
username?: string | undefined;
|
|
43371
|
+
password?: string | undefined;
|
|
43372
|
+
}, {
|
|
43373
|
+
enabledScopes: string[];
|
|
43374
|
+
bypassProxy: boolean;
|
|
43375
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
43376
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
43377
|
+
registryUrl: string;
|
|
43378
|
+
proxyUrl: string;
|
|
43379
|
+
customRegistryUrl?: string | undefined;
|
|
43380
|
+
accessToken?: string | undefined;
|
|
43381
|
+
username?: string | undefined;
|
|
43382
|
+
password?: string | undefined;
|
|
43383
|
+
}>>;
|
|
43384
|
+
}, "strip", z.ZodTypeAny, {
|
|
43385
|
+
id: string;
|
|
43386
|
+
profile: {
|
|
43387
|
+
name: string;
|
|
43388
|
+
color: string;
|
|
43389
|
+
handle: string;
|
|
43390
|
+
avatar?: string | undefined;
|
|
43391
|
+
billingDetails?: {
|
|
43392
|
+
address?: {
|
|
43393
|
+
street1?: string | undefined;
|
|
43394
|
+
street2?: string | undefined;
|
|
43395
|
+
city?: string | undefined;
|
|
43396
|
+
postal?: string | undefined;
|
|
43397
|
+
country?: string | undefined;
|
|
43398
|
+
state?: string | undefined;
|
|
43399
|
+
} | undefined;
|
|
43400
|
+
email?: string | undefined;
|
|
43401
|
+
companyName?: string | undefined;
|
|
43402
|
+
companyId?: string | undefined;
|
|
43403
|
+
notes?: string | undefined;
|
|
43404
|
+
vat?: string | undefined;
|
|
43405
|
+
poNumber?: string | undefined;
|
|
43406
|
+
} | undefined;
|
|
43407
|
+
};
|
|
43408
|
+
subscription: {
|
|
43409
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
43410
|
+
planPriceId: string;
|
|
43411
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
43412
|
+
seats: number;
|
|
43413
|
+
seatLimit: number;
|
|
43414
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43415
|
+
card?: {
|
|
43416
|
+
cardId?: string | null | undefined;
|
|
43417
|
+
last4?: string | null | undefined;
|
|
43418
|
+
expiryMonth?: string | null | undefined;
|
|
43419
|
+
expiryYear?: string | null | undefined;
|
|
43420
|
+
brand?: string | null | undefined;
|
|
43421
|
+
name?: string | null | undefined;
|
|
43422
|
+
} | undefined;
|
|
43423
|
+
amount?: number | null | undefined;
|
|
43424
|
+
stripeProductDescription?: string | undefined;
|
|
43425
|
+
isPricePerCreator?: boolean | undefined;
|
|
43426
|
+
isTrial?: boolean | undefined;
|
|
43427
|
+
legacyVersion?: string | undefined;
|
|
43428
|
+
stripeProductFeatures?: string[] | undefined;
|
|
43429
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
43430
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
43431
|
+
stripeCustomerId?: string | null | undefined;
|
|
43432
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
43433
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43434
|
+
featuresSummary?: {
|
|
43435
|
+
designSystems: {
|
|
43436
|
+
max: number;
|
|
43437
|
+
errorMessage: string;
|
|
43438
|
+
errorReason: string;
|
|
43439
|
+
};
|
|
43440
|
+
designSystemSources: {
|
|
43441
|
+
max: number;
|
|
43442
|
+
errorMessage: string;
|
|
43443
|
+
errorReason: string;
|
|
43444
|
+
noImportJobsErrorMessage: string;
|
|
43445
|
+
noImportJobsErrorReason: string;
|
|
43446
|
+
};
|
|
43447
|
+
designSystemVersions: {
|
|
43448
|
+
max: number;
|
|
43449
|
+
errorMessage: string;
|
|
43450
|
+
errorReason: string;
|
|
43451
|
+
};
|
|
43452
|
+
themes: {
|
|
43453
|
+
max: number;
|
|
43454
|
+
errorMessage: string;
|
|
43455
|
+
errorReason: string;
|
|
43456
|
+
};
|
|
43457
|
+
brands: {
|
|
43458
|
+
max: number;
|
|
43459
|
+
errorMessage: string;
|
|
43460
|
+
errorReason: string;
|
|
43461
|
+
};
|
|
43462
|
+
codegenSchedules: {
|
|
43463
|
+
max: number;
|
|
43464
|
+
errorMessage: string;
|
|
43465
|
+
errorReason: string;
|
|
43466
|
+
};
|
|
43467
|
+
publicDocumentation: {
|
|
43468
|
+
errorMessage: string;
|
|
43469
|
+
errorReason: string;
|
|
43470
|
+
enabled: boolean;
|
|
43471
|
+
};
|
|
43472
|
+
customDocumentationUrl: {
|
|
43473
|
+
errorMessage: string;
|
|
43474
|
+
errorReason: string;
|
|
43475
|
+
enabled: boolean;
|
|
43476
|
+
};
|
|
43477
|
+
customDocumentationViewButton: {
|
|
43478
|
+
errorMessage: string;
|
|
43479
|
+
errorReason: string;
|
|
43480
|
+
enabled: boolean;
|
|
43481
|
+
};
|
|
43482
|
+
designSystemSourceAutoImport: {
|
|
43483
|
+
errorMessage: string;
|
|
43484
|
+
errorReason: string;
|
|
43485
|
+
enabled: boolean;
|
|
43486
|
+
};
|
|
43487
|
+
designSystemSlug: {
|
|
43488
|
+
errorMessage: string;
|
|
43489
|
+
errorReason: string;
|
|
43490
|
+
enabled: boolean;
|
|
43491
|
+
};
|
|
43492
|
+
ipWhitelisting: {
|
|
43493
|
+
errorMessage: string;
|
|
43494
|
+
errorReason: string;
|
|
43495
|
+
enabled: boolean;
|
|
43496
|
+
};
|
|
43497
|
+
npmRegistry: {
|
|
43498
|
+
errorMessage: string;
|
|
43499
|
+
errorReason: string;
|
|
43500
|
+
enabled: boolean;
|
|
43501
|
+
};
|
|
43502
|
+
sso: {
|
|
43503
|
+
errorMessage: string;
|
|
43504
|
+
errorReason: string;
|
|
43505
|
+
enabled: boolean;
|
|
43506
|
+
};
|
|
43507
|
+
workspacePaidSeats: {
|
|
43508
|
+
max: number;
|
|
43509
|
+
errorMessage: string;
|
|
43510
|
+
errorReason: string;
|
|
43511
|
+
};
|
|
43512
|
+
workspaceViewers: {
|
|
43513
|
+
max: number;
|
|
43514
|
+
errorMessage: string;
|
|
43515
|
+
errorReason: string;
|
|
43516
|
+
};
|
|
43517
|
+
customDocumentationExporter: {
|
|
43518
|
+
errorMessage: string;
|
|
43519
|
+
errorReason: string;
|
|
43520
|
+
enabled: boolean;
|
|
43521
|
+
};
|
|
43522
|
+
protectedPages: {
|
|
43523
|
+
errorMessage: string;
|
|
43524
|
+
errorReason: string;
|
|
43525
|
+
enabled: boolean;
|
|
43526
|
+
};
|
|
43527
|
+
approvals: {
|
|
43528
|
+
errorMessage: string;
|
|
43529
|
+
errorReason: string;
|
|
43530
|
+
enabled: boolean;
|
|
43531
|
+
};
|
|
43532
|
+
selectivePublishing: {
|
|
43533
|
+
errorMessage: string;
|
|
43534
|
+
errorReason: string;
|
|
43535
|
+
enabled: boolean;
|
|
43536
|
+
};
|
|
43537
|
+
} | undefined;
|
|
43538
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
43539
|
+
currentPeriodStart?: string | undefined;
|
|
43540
|
+
currentPeriodEnd?: string | undefined;
|
|
43541
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
43542
|
+
cancelAt?: string | null | undefined;
|
|
43543
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
43544
|
+
daysUntilDue?: number | undefined;
|
|
43545
|
+
};
|
|
43546
|
+
npmRegistry?: {
|
|
43547
|
+
enabledScopes: string[];
|
|
43548
|
+
bypassProxy: boolean;
|
|
43549
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
43550
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
43551
|
+
registryUrl: string;
|
|
43552
|
+
proxyUrl: string;
|
|
43553
|
+
customRegistryUrl?: string | undefined;
|
|
43554
|
+
accessToken?: string | undefined;
|
|
43555
|
+
username?: string | undefined;
|
|
43556
|
+
password?: string | undefined;
|
|
43557
|
+
} | undefined;
|
|
43558
|
+
}, {
|
|
43559
|
+
id: string;
|
|
43560
|
+
profile: {
|
|
43561
|
+
name: string;
|
|
43562
|
+
color: string;
|
|
43563
|
+
handle: string;
|
|
43564
|
+
avatar?: string | null | undefined;
|
|
43565
|
+
billingDetails?: {
|
|
43566
|
+
address?: {
|
|
43567
|
+
street1?: string | null | undefined;
|
|
43568
|
+
street2?: string | null | undefined;
|
|
43569
|
+
city?: string | null | undefined;
|
|
43570
|
+
postal?: string | null | undefined;
|
|
43571
|
+
country?: string | null | undefined;
|
|
43572
|
+
state?: string | null | undefined;
|
|
43573
|
+
} | null | undefined;
|
|
43574
|
+
email?: string | null | undefined;
|
|
43575
|
+
companyName?: string | null | undefined;
|
|
43576
|
+
companyId?: string | null | undefined;
|
|
43577
|
+
notes?: string | null | undefined;
|
|
43578
|
+
vat?: string | null | undefined;
|
|
43579
|
+
poNumber?: string | null | undefined;
|
|
43580
|
+
} | null | undefined;
|
|
43581
|
+
};
|
|
43582
|
+
subscription: {
|
|
43583
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
43584
|
+
planPriceId: string;
|
|
43585
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
43586
|
+
seats: number;
|
|
43587
|
+
seatLimit: number;
|
|
43588
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43589
|
+
card?: {
|
|
43590
|
+
cardId?: string | null | undefined;
|
|
43591
|
+
last4?: string | null | undefined;
|
|
43592
|
+
expiryMonth?: string | null | undefined;
|
|
43593
|
+
expiryYear?: string | null | undefined;
|
|
43594
|
+
brand?: string | null | undefined;
|
|
43595
|
+
name?: string | null | undefined;
|
|
43596
|
+
} | undefined;
|
|
43597
|
+
amount?: number | null | undefined;
|
|
43598
|
+
stripeProductDescription?: string | undefined;
|
|
43599
|
+
isPricePerCreator?: boolean | undefined;
|
|
43600
|
+
isTrial?: boolean | undefined;
|
|
43601
|
+
legacyVersion?: string | undefined;
|
|
43602
|
+
stripeProductFeatures?: string[] | undefined;
|
|
43603
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
43604
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
43605
|
+
stripeCustomerId?: string | null | undefined;
|
|
43606
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
43607
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43608
|
+
featuresSummary?: {
|
|
43609
|
+
designSystems: {
|
|
43610
|
+
max: number;
|
|
43611
|
+
errorMessage: string;
|
|
43612
|
+
errorReason: string;
|
|
43613
|
+
};
|
|
43614
|
+
designSystemSources: {
|
|
43615
|
+
max: number;
|
|
43616
|
+
errorMessage: string;
|
|
43617
|
+
errorReason: string;
|
|
43618
|
+
noImportJobsErrorMessage: string;
|
|
43619
|
+
noImportJobsErrorReason: string;
|
|
43620
|
+
};
|
|
43621
|
+
designSystemVersions: {
|
|
43622
|
+
max: number;
|
|
43623
|
+
errorMessage: string;
|
|
43624
|
+
errorReason: string;
|
|
43625
|
+
};
|
|
43626
|
+
themes: {
|
|
43627
|
+
max: number;
|
|
43628
|
+
errorMessage: string;
|
|
43629
|
+
errorReason: string;
|
|
43630
|
+
};
|
|
43631
|
+
brands: {
|
|
43632
|
+
max: number;
|
|
43633
|
+
errorMessage: string;
|
|
43634
|
+
errorReason: string;
|
|
43635
|
+
};
|
|
43636
|
+
codegenSchedules: {
|
|
43637
|
+
max: number;
|
|
43638
|
+
errorMessage: string;
|
|
43639
|
+
errorReason: string;
|
|
43640
|
+
};
|
|
43641
|
+
publicDocumentation: {
|
|
43642
|
+
errorMessage: string;
|
|
43643
|
+
errorReason: string;
|
|
43644
|
+
enabled: boolean;
|
|
43645
|
+
};
|
|
43646
|
+
customDocumentationUrl: {
|
|
43647
|
+
errorMessage: string;
|
|
43648
|
+
errorReason: string;
|
|
43649
|
+
enabled: boolean;
|
|
43650
|
+
};
|
|
43651
|
+
customDocumentationViewButton: {
|
|
43652
|
+
errorMessage: string;
|
|
43653
|
+
errorReason: string;
|
|
43654
|
+
enabled: boolean;
|
|
43655
|
+
};
|
|
43656
|
+
designSystemSourceAutoImport: {
|
|
43657
|
+
errorMessage: string;
|
|
43658
|
+
errorReason: string;
|
|
43659
|
+
enabled: boolean;
|
|
43660
|
+
};
|
|
43661
|
+
designSystemSlug: {
|
|
43662
|
+
errorMessage: string;
|
|
43663
|
+
errorReason: string;
|
|
43664
|
+
enabled: boolean;
|
|
43665
|
+
};
|
|
43666
|
+
ipWhitelisting: {
|
|
43667
|
+
errorMessage: string;
|
|
43668
|
+
errorReason: string;
|
|
43669
|
+
enabled: boolean;
|
|
43670
|
+
};
|
|
43671
|
+
npmRegistry: {
|
|
43672
|
+
errorMessage: string;
|
|
43673
|
+
errorReason: string;
|
|
43674
|
+
enabled: boolean;
|
|
43675
|
+
};
|
|
43676
|
+
sso: {
|
|
43677
|
+
errorMessage: string;
|
|
43678
|
+
errorReason: string;
|
|
43679
|
+
enabled: boolean;
|
|
43680
|
+
};
|
|
43681
|
+
workspacePaidSeats: {
|
|
43682
|
+
max: number;
|
|
43683
|
+
errorMessage: string;
|
|
43684
|
+
errorReason: string;
|
|
43685
|
+
};
|
|
43686
|
+
workspaceViewers: {
|
|
43687
|
+
max: number;
|
|
43688
|
+
errorMessage: string;
|
|
43689
|
+
errorReason: string;
|
|
43690
|
+
};
|
|
43691
|
+
customDocumentationExporter: {
|
|
43692
|
+
errorMessage: string;
|
|
43693
|
+
errorReason: string;
|
|
43694
|
+
enabled: boolean;
|
|
43695
|
+
};
|
|
43696
|
+
protectedPages: {
|
|
43697
|
+
errorMessage: string;
|
|
43698
|
+
errorReason: string;
|
|
43699
|
+
enabled: boolean;
|
|
43700
|
+
};
|
|
43701
|
+
approvals: {
|
|
43702
|
+
errorMessage: string;
|
|
43703
|
+
errorReason: string;
|
|
43704
|
+
enabled: boolean;
|
|
43705
|
+
};
|
|
43706
|
+
selectivePublishing: {
|
|
43707
|
+
errorMessage: string;
|
|
43708
|
+
errorReason: string;
|
|
43709
|
+
enabled: boolean;
|
|
43710
|
+
};
|
|
43711
|
+
} | undefined;
|
|
43712
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
43713
|
+
currentPeriodStart?: string | undefined;
|
|
43714
|
+
currentPeriodEnd?: string | undefined;
|
|
43715
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
43716
|
+
cancelAt?: string | null | undefined;
|
|
43717
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
43718
|
+
daysUntilDue?: number | undefined;
|
|
43719
|
+
};
|
|
43720
|
+
npmRegistry?: {
|
|
43721
|
+
enabledScopes: string[];
|
|
43722
|
+
bypassProxy: boolean;
|
|
43723
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
43724
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
43725
|
+
registryUrl: string;
|
|
43726
|
+
proxyUrl: string;
|
|
43727
|
+
customRegistryUrl?: string | undefined;
|
|
43728
|
+
accessToken?: string | undefined;
|
|
43729
|
+
username?: string | undefined;
|
|
43730
|
+
password?: string | undefined;
|
|
43731
|
+
} | undefined;
|
|
43732
|
+
}>;
|
|
43733
|
+
}, "strip", z.ZodTypeAny, {
|
|
43734
|
+
workspace: {
|
|
43735
|
+
id: string;
|
|
43736
|
+
profile: {
|
|
43737
|
+
name: string;
|
|
43738
|
+
color: string;
|
|
43739
|
+
handle: string;
|
|
43740
|
+
avatar?: string | undefined;
|
|
43741
|
+
billingDetails?: {
|
|
43742
|
+
address?: {
|
|
43743
|
+
street1?: string | undefined;
|
|
43744
|
+
street2?: string | undefined;
|
|
43745
|
+
city?: string | undefined;
|
|
43746
|
+
postal?: string | undefined;
|
|
43747
|
+
country?: string | undefined;
|
|
43748
|
+
state?: string | undefined;
|
|
43749
|
+
} | undefined;
|
|
43750
|
+
email?: string | undefined;
|
|
43751
|
+
companyName?: string | undefined;
|
|
43752
|
+
companyId?: string | undefined;
|
|
43753
|
+
notes?: string | undefined;
|
|
43754
|
+
vat?: string | undefined;
|
|
43755
|
+
poNumber?: string | undefined;
|
|
43756
|
+
} | undefined;
|
|
43757
|
+
};
|
|
43758
|
+
subscription: {
|
|
43759
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
43760
|
+
planPriceId: string;
|
|
43761
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
43762
|
+
seats: number;
|
|
43763
|
+
seatLimit: number;
|
|
43764
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43765
|
+
card?: {
|
|
43766
|
+
cardId?: string | null | undefined;
|
|
43767
|
+
last4?: string | null | undefined;
|
|
43768
|
+
expiryMonth?: string | null | undefined;
|
|
43769
|
+
expiryYear?: string | null | undefined;
|
|
43770
|
+
brand?: string | null | undefined;
|
|
43771
|
+
name?: string | null | undefined;
|
|
43772
|
+
} | undefined;
|
|
43773
|
+
amount?: number | null | undefined;
|
|
43774
|
+
stripeProductDescription?: string | undefined;
|
|
43775
|
+
isPricePerCreator?: boolean | undefined;
|
|
43776
|
+
isTrial?: boolean | undefined;
|
|
43777
|
+
legacyVersion?: string | undefined;
|
|
43778
|
+
stripeProductFeatures?: string[] | undefined;
|
|
43779
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
43780
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
43781
|
+
stripeCustomerId?: string | null | undefined;
|
|
43782
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
43783
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43784
|
+
featuresSummary?: {
|
|
43785
|
+
designSystems: {
|
|
43786
|
+
max: number;
|
|
43787
|
+
errorMessage: string;
|
|
43788
|
+
errorReason: string;
|
|
43789
|
+
};
|
|
43790
|
+
designSystemSources: {
|
|
43791
|
+
max: number;
|
|
43792
|
+
errorMessage: string;
|
|
43793
|
+
errorReason: string;
|
|
43794
|
+
noImportJobsErrorMessage: string;
|
|
43795
|
+
noImportJobsErrorReason: string;
|
|
43796
|
+
};
|
|
43797
|
+
designSystemVersions: {
|
|
43798
|
+
max: number;
|
|
43799
|
+
errorMessage: string;
|
|
43800
|
+
errorReason: string;
|
|
43801
|
+
};
|
|
43802
|
+
themes: {
|
|
43803
|
+
max: number;
|
|
43804
|
+
errorMessage: string;
|
|
43805
|
+
errorReason: string;
|
|
43806
|
+
};
|
|
43807
|
+
brands: {
|
|
43808
|
+
max: number;
|
|
43809
|
+
errorMessage: string;
|
|
43810
|
+
errorReason: string;
|
|
43811
|
+
};
|
|
43812
|
+
codegenSchedules: {
|
|
43813
|
+
max: number;
|
|
43814
|
+
errorMessage: string;
|
|
43815
|
+
errorReason: string;
|
|
43816
|
+
};
|
|
43817
|
+
publicDocumentation: {
|
|
43818
|
+
errorMessage: string;
|
|
43819
|
+
errorReason: string;
|
|
43820
|
+
enabled: boolean;
|
|
43821
|
+
};
|
|
43822
|
+
customDocumentationUrl: {
|
|
43823
|
+
errorMessage: string;
|
|
43824
|
+
errorReason: string;
|
|
43825
|
+
enabled: boolean;
|
|
43826
|
+
};
|
|
43827
|
+
customDocumentationViewButton: {
|
|
43828
|
+
errorMessage: string;
|
|
43829
|
+
errorReason: string;
|
|
43830
|
+
enabled: boolean;
|
|
43831
|
+
};
|
|
43832
|
+
designSystemSourceAutoImport: {
|
|
43833
|
+
errorMessage: string;
|
|
43834
|
+
errorReason: string;
|
|
43835
|
+
enabled: boolean;
|
|
43836
|
+
};
|
|
43837
|
+
designSystemSlug: {
|
|
43838
|
+
errorMessage: string;
|
|
43839
|
+
errorReason: string;
|
|
43840
|
+
enabled: boolean;
|
|
43841
|
+
};
|
|
43842
|
+
ipWhitelisting: {
|
|
43843
|
+
errorMessage: string;
|
|
43844
|
+
errorReason: string;
|
|
43845
|
+
enabled: boolean;
|
|
43846
|
+
};
|
|
43847
|
+
npmRegistry: {
|
|
43848
|
+
errorMessage: string;
|
|
43849
|
+
errorReason: string;
|
|
43850
|
+
enabled: boolean;
|
|
43851
|
+
};
|
|
43852
|
+
sso: {
|
|
43853
|
+
errorMessage: string;
|
|
43854
|
+
errorReason: string;
|
|
43855
|
+
enabled: boolean;
|
|
43856
|
+
};
|
|
43857
|
+
workspacePaidSeats: {
|
|
43858
|
+
max: number;
|
|
43859
|
+
errorMessage: string;
|
|
43860
|
+
errorReason: string;
|
|
43861
|
+
};
|
|
43862
|
+
workspaceViewers: {
|
|
43863
|
+
max: number;
|
|
43864
|
+
errorMessage: string;
|
|
43865
|
+
errorReason: string;
|
|
43866
|
+
};
|
|
43867
|
+
customDocumentationExporter: {
|
|
43868
|
+
errorMessage: string;
|
|
43869
|
+
errorReason: string;
|
|
43870
|
+
enabled: boolean;
|
|
43871
|
+
};
|
|
43872
|
+
protectedPages: {
|
|
43873
|
+
errorMessage: string;
|
|
43874
|
+
errorReason: string;
|
|
43875
|
+
enabled: boolean;
|
|
43876
|
+
};
|
|
43877
|
+
approvals: {
|
|
43878
|
+
errorMessage: string;
|
|
43879
|
+
errorReason: string;
|
|
43880
|
+
enabled: boolean;
|
|
43881
|
+
};
|
|
43882
|
+
selectivePublishing: {
|
|
43883
|
+
errorMessage: string;
|
|
43884
|
+
errorReason: string;
|
|
43885
|
+
enabled: boolean;
|
|
43886
|
+
};
|
|
43887
|
+
} | undefined;
|
|
43888
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
43889
|
+
currentPeriodStart?: string | undefined;
|
|
43890
|
+
currentPeriodEnd?: string | undefined;
|
|
43891
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
43892
|
+
cancelAt?: string | null | undefined;
|
|
43893
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
43894
|
+
daysUntilDue?: number | undefined;
|
|
43895
|
+
};
|
|
43896
|
+
npmRegistry?: {
|
|
43897
|
+
enabledScopes: string[];
|
|
43898
|
+
bypassProxy: boolean;
|
|
43899
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
43900
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
43901
|
+
registryUrl: string;
|
|
43902
|
+
proxyUrl: string;
|
|
43903
|
+
customRegistryUrl?: string | undefined;
|
|
43904
|
+
accessToken?: string | undefined;
|
|
43905
|
+
username?: string | undefined;
|
|
43906
|
+
password?: string | undefined;
|
|
43907
|
+
} | undefined;
|
|
43908
|
+
};
|
|
43909
|
+
}, {
|
|
43910
|
+
workspace: {
|
|
43911
|
+
id: string;
|
|
43912
|
+
profile: {
|
|
43913
|
+
name: string;
|
|
43914
|
+
color: string;
|
|
43915
|
+
handle: string;
|
|
43916
|
+
avatar?: string | null | undefined;
|
|
43917
|
+
billingDetails?: {
|
|
43918
|
+
address?: {
|
|
43919
|
+
street1?: string | null | undefined;
|
|
43920
|
+
street2?: string | null | undefined;
|
|
43921
|
+
city?: string | null | undefined;
|
|
43922
|
+
postal?: string | null | undefined;
|
|
43923
|
+
country?: string | null | undefined;
|
|
43924
|
+
state?: string | null | undefined;
|
|
43925
|
+
} | null | undefined;
|
|
43926
|
+
email?: string | null | undefined;
|
|
43927
|
+
companyName?: string | null | undefined;
|
|
43928
|
+
companyId?: string | null | undefined;
|
|
43929
|
+
notes?: string | null | undefined;
|
|
43930
|
+
vat?: string | null | undefined;
|
|
43931
|
+
poNumber?: string | null | undefined;
|
|
43932
|
+
} | null | undefined;
|
|
43933
|
+
};
|
|
43934
|
+
subscription: {
|
|
43935
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
43936
|
+
planPriceId: string;
|
|
43937
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
43938
|
+
seats: number;
|
|
43939
|
+
seatLimit: number;
|
|
43940
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43941
|
+
card?: {
|
|
43942
|
+
cardId?: string | null | undefined;
|
|
43943
|
+
last4?: string | null | undefined;
|
|
43944
|
+
expiryMonth?: string | null | undefined;
|
|
43945
|
+
expiryYear?: string | null | undefined;
|
|
43946
|
+
brand?: string | null | undefined;
|
|
43947
|
+
name?: string | null | undefined;
|
|
43948
|
+
} | undefined;
|
|
43949
|
+
amount?: number | null | undefined;
|
|
43950
|
+
stripeProductDescription?: string | undefined;
|
|
43951
|
+
isPricePerCreator?: boolean | undefined;
|
|
43952
|
+
isTrial?: boolean | undefined;
|
|
43953
|
+
legacyVersion?: string | undefined;
|
|
43954
|
+
stripeProductFeatures?: string[] | undefined;
|
|
43955
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
43956
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
43957
|
+
stripeCustomerId?: string | null | undefined;
|
|
43958
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
43959
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
43960
|
+
featuresSummary?: {
|
|
43961
|
+
designSystems: {
|
|
43962
|
+
max: number;
|
|
43963
|
+
errorMessage: string;
|
|
43964
|
+
errorReason: string;
|
|
43965
|
+
};
|
|
43966
|
+
designSystemSources: {
|
|
43967
|
+
max: number;
|
|
43968
|
+
errorMessage: string;
|
|
43969
|
+
errorReason: string;
|
|
43970
|
+
noImportJobsErrorMessage: string;
|
|
43971
|
+
noImportJobsErrorReason: string;
|
|
43972
|
+
};
|
|
43973
|
+
designSystemVersions: {
|
|
43974
|
+
max: number;
|
|
43975
|
+
errorMessage: string;
|
|
43976
|
+
errorReason: string;
|
|
43977
|
+
};
|
|
43978
|
+
themes: {
|
|
43979
|
+
max: number;
|
|
43980
|
+
errorMessage: string;
|
|
43981
|
+
errorReason: string;
|
|
43982
|
+
};
|
|
43983
|
+
brands: {
|
|
43984
|
+
max: number;
|
|
43985
|
+
errorMessage: string;
|
|
43986
|
+
errorReason: string;
|
|
43987
|
+
};
|
|
43988
|
+
codegenSchedules: {
|
|
43989
|
+
max: number;
|
|
43990
|
+
errorMessage: string;
|
|
43991
|
+
errorReason: string;
|
|
43992
|
+
};
|
|
43993
|
+
publicDocumentation: {
|
|
43994
|
+
errorMessage: string;
|
|
43995
|
+
errorReason: string;
|
|
43996
|
+
enabled: boolean;
|
|
43997
|
+
};
|
|
43998
|
+
customDocumentationUrl: {
|
|
43999
|
+
errorMessage: string;
|
|
44000
|
+
errorReason: string;
|
|
44001
|
+
enabled: boolean;
|
|
44002
|
+
};
|
|
44003
|
+
customDocumentationViewButton: {
|
|
44004
|
+
errorMessage: string;
|
|
44005
|
+
errorReason: string;
|
|
44006
|
+
enabled: boolean;
|
|
44007
|
+
};
|
|
44008
|
+
designSystemSourceAutoImport: {
|
|
44009
|
+
errorMessage: string;
|
|
44010
|
+
errorReason: string;
|
|
44011
|
+
enabled: boolean;
|
|
44012
|
+
};
|
|
44013
|
+
designSystemSlug: {
|
|
44014
|
+
errorMessage: string;
|
|
44015
|
+
errorReason: string;
|
|
44016
|
+
enabled: boolean;
|
|
44017
|
+
};
|
|
44018
|
+
ipWhitelisting: {
|
|
44019
|
+
errorMessage: string;
|
|
44020
|
+
errorReason: string;
|
|
44021
|
+
enabled: boolean;
|
|
44022
|
+
};
|
|
44023
|
+
npmRegistry: {
|
|
44024
|
+
errorMessage: string;
|
|
44025
|
+
errorReason: string;
|
|
44026
|
+
enabled: boolean;
|
|
44027
|
+
};
|
|
44028
|
+
sso: {
|
|
44029
|
+
errorMessage: string;
|
|
44030
|
+
errorReason: string;
|
|
44031
|
+
enabled: boolean;
|
|
44032
|
+
};
|
|
44033
|
+
workspacePaidSeats: {
|
|
44034
|
+
max: number;
|
|
44035
|
+
errorMessage: string;
|
|
44036
|
+
errorReason: string;
|
|
44037
|
+
};
|
|
44038
|
+
workspaceViewers: {
|
|
44039
|
+
max: number;
|
|
44040
|
+
errorMessage: string;
|
|
44041
|
+
errorReason: string;
|
|
44042
|
+
};
|
|
44043
|
+
customDocumentationExporter: {
|
|
44044
|
+
errorMessage: string;
|
|
44045
|
+
errorReason: string;
|
|
44046
|
+
enabled: boolean;
|
|
44047
|
+
};
|
|
44048
|
+
protectedPages: {
|
|
44049
|
+
errorMessage: string;
|
|
44050
|
+
errorReason: string;
|
|
44051
|
+
enabled: boolean;
|
|
44052
|
+
};
|
|
44053
|
+
approvals: {
|
|
44054
|
+
errorMessage: string;
|
|
44055
|
+
errorReason: string;
|
|
44056
|
+
enabled: boolean;
|
|
44057
|
+
};
|
|
44058
|
+
selectivePublishing: {
|
|
44059
|
+
errorMessage: string;
|
|
44060
|
+
errorReason: string;
|
|
44061
|
+
enabled: boolean;
|
|
44062
|
+
};
|
|
44063
|
+
} | undefined;
|
|
44064
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
44065
|
+
currentPeriodStart?: string | undefined;
|
|
44066
|
+
currentPeriodEnd?: string | undefined;
|
|
44067
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
44068
|
+
cancelAt?: string | null | undefined;
|
|
44069
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
44070
|
+
daysUntilDue?: number | undefined;
|
|
44071
|
+
};
|
|
44072
|
+
npmRegistry?: {
|
|
44073
|
+
enabledScopes: string[];
|
|
44074
|
+
bypassProxy: boolean;
|
|
44075
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
44076
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
44077
|
+
registryUrl: string;
|
|
44078
|
+
proxyUrl: string;
|
|
44079
|
+
customRegistryUrl?: string | undefined;
|
|
44080
|
+
accessToken?: string | undefined;
|
|
44081
|
+
username?: string | undefined;
|
|
44082
|
+
password?: string | undefined;
|
|
44083
|
+
} | undefined;
|
|
44084
|
+
};
|
|
44085
|
+
}>;
|
|
44086
|
+
type DTOWorkspaceCreateResponse = z.infer<typeof DTOWorkspaceCreateResponse>;
|
|
44087
|
+
|
|
44088
|
+
declare function elementGroupsToDocumentationGroupDTOV2(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV2[];
|
|
44089
|
+
declare function elementGroupsToDocumentationGroupFixedConfigurationDTOV2(groups: ElementGroup[], pages: (DocumentationPageV1 | DocumentationPageV2)[]): DTODocumentationGroupV2[];
|
|
44090
|
+
|
|
44091
|
+
declare const getDtoDefaultItemConfigurationV1: () => {
|
|
44092
|
+
readonly showSidebar: true;
|
|
44093
|
+
readonly isHidden: false;
|
|
44094
|
+
readonly isPrivate: false;
|
|
44095
|
+
readonly header: {
|
|
44096
|
+
readonly alignment: "Left";
|
|
44097
|
+
readonly backgroundImageScaleType: "AspectFill";
|
|
44098
|
+
readonly description: "";
|
|
44099
|
+
readonly showBackgroundOverlay: false;
|
|
44100
|
+
readonly showCoverText: true;
|
|
44101
|
+
};
|
|
44102
|
+
};
|
|
44103
|
+
declare function documentationItemConfigurationToDTOV1(config: DocumentationItemConfigurationV1 | undefined): DTODocumentationItemConfigurationV1;
|
|
44104
|
+
|
|
44105
|
+
declare const getDtoDefaultItemConfigurationV2: () => {
|
|
44106
|
+
readonly showSidebar: true;
|
|
44107
|
+
readonly isHidden: false;
|
|
44108
|
+
readonly isPrivate: false;
|
|
44109
|
+
readonly header: {
|
|
44110
|
+
readonly alignment: "Left";
|
|
44111
|
+
readonly backgroundImageScaleType: "AspectFill";
|
|
44112
|
+
readonly description: "";
|
|
44113
|
+
readonly showBackgroundOverlay: false;
|
|
44114
|
+
readonly showCoverText: true;
|
|
44115
|
+
};
|
|
44116
|
+
};
|
|
44117
|
+
declare function documentationItemConfigurationToDTOV2(config: DocumentationItemConfigurationV2 | undefined): DTODocumentationItemConfigurationV2;
|
|
44118
|
+
|
|
44119
|
+
type GroupLike = {
|
|
44120
|
+
persistentId: string;
|
|
44121
|
+
parentPersistentId?: string;
|
|
44122
|
+
};
|
|
44123
|
+
declare function buildDocPagePublishPaths(groups: (ElementGroup | DocumentationGroupV1)[], pages: (DocumentationPageV1 | DocumentationPageV2)[], routingVersion: string): Map<string, string>;
|
|
44124
|
+
declare function calculateElementParentChain<T extends GroupLike>(elementParentPersistentId: string, groupPersistentIdToGroupMap: Map<string, T>): T[];
|
|
44125
|
+
declare function applyPrivacyConfigurationToNestedItems<PageType extends DocumentationPageV1 | DocumentationPageV2, GroupType extends DocumentationGroupV1 | ElementGroup, ItemConfigurationType extends DocumentationItemConfigurationV1 | DocumentationItemConfigurationV2>(pages: PageType[], groups: GroupType[], getDefaultItemConfiguration: () => ItemConfigurationType): {
|
|
44126
|
+
pages: PageType[];
|
|
44127
|
+
groups: GroupType[];
|
|
44128
|
+
};
|
|
44129
|
+
|
|
44130
|
+
declare function documentationPagesToDTOV1(pages: DocumentationPageV1[], groups: DocumentationGroupV1[], routingVersion: string): DocumentationPageV1DTO[];
|
|
44131
|
+
declare function documentationPagesFixedConfigurationToDTOV1(pages: DocumentationPageV1[], groups: DocumentationGroupV1[], routingVersion: string): DocumentationPageV1DTO[];
|
|
44132
|
+
|
|
44133
|
+
declare function documentationPageToDTOV2(page: DocumentationPageV2, groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2;
|
|
44134
|
+
declare function documentationPagesToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2[];
|
|
44135
|
+
declare function documentationPagesFixedConfigurationToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2[];
|
|
44136
|
+
|
|
44137
|
+
declare function pipelineToDto(pipeline: Pipeline): DTOPipeline;
|
|
44138
|
+
|
|
44139
|
+
declare function gitOrganizationToDto(org: GitOrganization): DTOGitOrganization;
|
|
44140
|
+
declare function gitProjectToDto(project: GitProject): DTOGitProject;
|
|
44141
|
+
declare function gitRepositoryToDto(repo: GitRepository): DTOGitRepository;
|
|
44142
|
+
declare function gitBranchToDto(branch: GitBranch): DTOGitBranch;
|
|
44143
|
+
|
|
44144
|
+
declare function integrationToDto(integration: ExtendedIntegration): DTOIntegration;
|
|
44145
|
+
declare function integrationCredentialToDto(credential: IntegrationCredentials): DTOIntegrationCredentials;
|
|
44146
|
+
|
|
44147
|
+
type RequestExecutorConfig = {
|
|
44148
|
+
host: string;
|
|
44149
|
+
accessToken?: string;
|
|
44150
|
+
};
|
|
44151
|
+
type RequestExecutorJSONRequest = Omit<RequestInit, "body"> & {
|
|
44152
|
+
body?: object;
|
|
44153
|
+
};
|
|
44154
|
+
declare class RequestExecutor {
|
|
44155
|
+
private readonly testServerConfig;
|
|
44156
|
+
constructor(testServerConfig: RequestExecutorConfig);
|
|
44157
|
+
json<O, I>(path: string, schema: ZodSchema<O, ZodTypeDef, I>, requestInit?: RequestExecutorJSONRequest): Promise<O>;
|
|
44158
|
+
private fullUrl;
|
|
44159
|
+
}
|
|
44160
|
+
|
|
44161
|
+
declare class DesignSystemsEndpoint {
|
|
44162
|
+
private readonly requestExecutor;
|
|
44163
|
+
constructor(requestExecutor: RequestExecutor);
|
|
44164
|
+
create(body: DTODesignSystemCreateInput): Promise<{
|
|
44165
|
+
designSystem: {
|
|
44166
|
+
id: string;
|
|
44167
|
+
meta: {
|
|
44168
|
+
name: string;
|
|
44169
|
+
description?: string | undefined;
|
|
44170
|
+
};
|
|
44171
|
+
createdAt: Date;
|
|
44172
|
+
updatedAt: Date;
|
|
44173
|
+
sources: any[];
|
|
44174
|
+
workspaceId: string;
|
|
44175
|
+
docExporterId: string;
|
|
44176
|
+
docSlug: string;
|
|
44177
|
+
docSlugDeprecated: string;
|
|
44178
|
+
isPublic: boolean;
|
|
44179
|
+
isMultibrand: boolean;
|
|
44180
|
+
basePrefixes: string[];
|
|
44181
|
+
isApprovalFeatureEnabled: boolean;
|
|
44182
|
+
approvalRequiredForPublishing: boolean;
|
|
44183
|
+
accessMode: "Open" | "InviteOnly";
|
|
44184
|
+
membersGenerated: boolean;
|
|
44185
|
+
docUserSlug?: string | undefined;
|
|
44186
|
+
docViewUrl?: string | undefined;
|
|
44187
|
+
designSystemSwitcher?: {
|
|
44188
|
+
isEnabled: boolean;
|
|
44189
|
+
designSystemIds: string[];
|
|
44190
|
+
} | undefined;
|
|
44191
|
+
role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
44192
|
+
};
|
|
44193
|
+
}>;
|
|
44194
|
+
list(wsId: string): Promise<{
|
|
44195
|
+
designSystems: {
|
|
44196
|
+
id: string;
|
|
44197
|
+
meta: {
|
|
44198
|
+
name: string;
|
|
44199
|
+
description?: string | undefined;
|
|
44200
|
+
};
|
|
44201
|
+
createdAt: Date;
|
|
44202
|
+
updatedAt: Date;
|
|
44203
|
+
sources: any[];
|
|
44204
|
+
workspaceId: string;
|
|
44205
|
+
docExporterId: string;
|
|
44206
|
+
docSlug: string;
|
|
44207
|
+
docSlugDeprecated: string;
|
|
44208
|
+
isPublic: boolean;
|
|
44209
|
+
isMultibrand: boolean;
|
|
44210
|
+
basePrefixes: string[];
|
|
44211
|
+
isApprovalFeatureEnabled: boolean;
|
|
44212
|
+
approvalRequiredForPublishing: boolean;
|
|
44213
|
+
accessMode: "Open" | "InviteOnly";
|
|
44214
|
+
membersGenerated: boolean;
|
|
44215
|
+
docUserSlug?: string | undefined;
|
|
44216
|
+
docViewUrl?: string | undefined;
|
|
44217
|
+
designSystemSwitcher?: {
|
|
44218
|
+
isEnabled: boolean;
|
|
44219
|
+
designSystemIds: string[];
|
|
44220
|
+
} | undefined;
|
|
44221
|
+
role?: "Owner" | "Admin" | "Creator" | "Viewer" | "Billing" | "Guest" | "Contributor" | undefined;
|
|
44222
|
+
}[];
|
|
44223
|
+
}>;
|
|
44224
|
+
get(dsId: string): Promise<any>;
|
|
44225
|
+
delete(dsId: string): Promise<any>;
|
|
44226
|
+
editMembers(dsId: string, body: DTODesignSystemMembersUpdatePayload): Promise<{
|
|
44227
|
+
ok: true;
|
|
44228
|
+
}>;
|
|
44229
|
+
}
|
|
44230
|
+
|
|
44231
|
+
declare class UsersEndpoint {
|
|
44232
|
+
private readonly requestExecutor;
|
|
44233
|
+
constructor(requestExecutor: RequestExecutor);
|
|
44234
|
+
getMe(): Promise<{
|
|
44235
|
+
user: {
|
|
44236
|
+
id: string;
|
|
44237
|
+
profile: {
|
|
44238
|
+
name: string;
|
|
44239
|
+
avatar?: string | undefined;
|
|
44240
|
+
nickname?: string | undefined;
|
|
44241
|
+
};
|
|
44242
|
+
email: string;
|
|
44243
|
+
};
|
|
44244
|
+
}>;
|
|
44245
|
+
}
|
|
44246
|
+
|
|
44247
|
+
declare class WorkspacesEndpoint {
|
|
44248
|
+
private readonly requestExecutor;
|
|
44249
|
+
constructor(requestExecutor: RequestExecutor);
|
|
44250
|
+
create(body: DTOWorkspaceCreateInput): Promise<{
|
|
44251
|
+
workspace: {
|
|
44252
|
+
id: string;
|
|
44253
|
+
profile: {
|
|
44254
|
+
name: string;
|
|
44255
|
+
color: string;
|
|
44256
|
+
handle: string;
|
|
44257
|
+
avatar?: string | undefined;
|
|
44258
|
+
billingDetails?: {
|
|
44259
|
+
address?: {
|
|
44260
|
+
street1?: string | undefined;
|
|
44261
|
+
street2?: string | undefined;
|
|
44262
|
+
city?: string | undefined;
|
|
44263
|
+
postal?: string | undefined;
|
|
44264
|
+
country?: string | undefined;
|
|
44265
|
+
state?: string | undefined;
|
|
44266
|
+
} | undefined;
|
|
44267
|
+
email?: string | undefined;
|
|
44268
|
+
companyName?: string | undefined;
|
|
44269
|
+
companyId?: string | undefined;
|
|
44270
|
+
notes?: string | undefined;
|
|
44271
|
+
vat?: string | undefined;
|
|
44272
|
+
poNumber?: string | undefined;
|
|
44273
|
+
} | undefined;
|
|
44274
|
+
};
|
|
44275
|
+
subscription: {
|
|
44276
|
+
product: "free" | "team" | "company" | "enterprise";
|
|
44277
|
+
planPriceId: string;
|
|
44278
|
+
planInterval: "yearly" | "daily" | "monthly" | "weekly";
|
|
44279
|
+
seats: number;
|
|
44280
|
+
seatLimit: number;
|
|
44281
|
+
status?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
44282
|
+
card?: {
|
|
44283
|
+
cardId?: string | null | undefined;
|
|
44284
|
+
last4?: string | null | undefined;
|
|
44285
|
+
expiryMonth?: string | null | undefined;
|
|
44286
|
+
expiryYear?: string | null | undefined;
|
|
44287
|
+
brand?: string | null | undefined;
|
|
44288
|
+
name?: string | null | undefined;
|
|
44289
|
+
} | undefined;
|
|
44290
|
+
amount?: number | null | undefined;
|
|
44291
|
+
stripeProductDescription?: string | undefined;
|
|
44292
|
+
isPricePerCreator?: boolean | undefined;
|
|
44293
|
+
isTrial?: boolean | undefined;
|
|
44294
|
+
legacyVersion?: string | undefined;
|
|
44295
|
+
stripeProductFeatures?: string[] | undefined;
|
|
44296
|
+
stripeProductAdditionalFeatures?: string[] | undefined;
|
|
44297
|
+
stripeSubscriptionId?: string | null | undefined;
|
|
44298
|
+
stripeCustomerId?: string | null | undefined;
|
|
44299
|
+
subscriptionStatus?: "unknown" | "active" | "trialing" | "past_due" | "canceled" | "unpaid" | "incomplete_expired" | "incomplete" | undefined;
|
|
44300
|
+
internalStatus?: "active" | "suspended" | "gracePeriod" | "cancelled" | "downgraded_to_free" | undefined;
|
|
44301
|
+
featuresSummary?: {
|
|
44302
|
+
designSystems: {
|
|
44303
|
+
max: number;
|
|
44304
|
+
errorMessage: string;
|
|
44305
|
+
errorReason: string;
|
|
44306
|
+
};
|
|
44307
|
+
designSystemSources: {
|
|
44308
|
+
max: number;
|
|
44309
|
+
errorMessage: string;
|
|
44310
|
+
errorReason: string;
|
|
44311
|
+
noImportJobsErrorMessage: string;
|
|
44312
|
+
noImportJobsErrorReason: string;
|
|
44313
|
+
};
|
|
44314
|
+
designSystemVersions: {
|
|
44315
|
+
max: number;
|
|
44316
|
+
errorMessage: string;
|
|
44317
|
+
errorReason: string;
|
|
44318
|
+
};
|
|
44319
|
+
themes: {
|
|
44320
|
+
max: number;
|
|
44321
|
+
errorMessage: string;
|
|
44322
|
+
errorReason: string;
|
|
44323
|
+
};
|
|
44324
|
+
brands: {
|
|
44325
|
+
max: number;
|
|
44326
|
+
errorMessage: string;
|
|
44327
|
+
errorReason: string;
|
|
44328
|
+
};
|
|
44329
|
+
codegenSchedules: {
|
|
44330
|
+
max: number;
|
|
44331
|
+
errorMessage: string;
|
|
44332
|
+
errorReason: string;
|
|
44333
|
+
};
|
|
44334
|
+
publicDocumentation: {
|
|
44335
|
+
errorMessage: string;
|
|
44336
|
+
errorReason: string;
|
|
44337
|
+
enabled: boolean;
|
|
44338
|
+
};
|
|
44339
|
+
customDocumentationUrl: {
|
|
44340
|
+
errorMessage: string;
|
|
44341
|
+
errorReason: string;
|
|
44342
|
+
enabled: boolean;
|
|
44343
|
+
};
|
|
44344
|
+
customDocumentationViewButton: {
|
|
44345
|
+
errorMessage: string;
|
|
44346
|
+
errorReason: string;
|
|
44347
|
+
enabled: boolean;
|
|
44348
|
+
};
|
|
44349
|
+
designSystemSourceAutoImport: {
|
|
44350
|
+
errorMessage: string;
|
|
44351
|
+
errorReason: string;
|
|
44352
|
+
enabled: boolean;
|
|
44353
|
+
};
|
|
44354
|
+
designSystemSlug: {
|
|
44355
|
+
errorMessage: string;
|
|
44356
|
+
errorReason: string;
|
|
44357
|
+
enabled: boolean;
|
|
44358
|
+
};
|
|
44359
|
+
ipWhitelisting: {
|
|
44360
|
+
errorMessage: string;
|
|
44361
|
+
errorReason: string;
|
|
44362
|
+
enabled: boolean;
|
|
44363
|
+
};
|
|
44364
|
+
npmRegistry: {
|
|
44365
|
+
errorMessage: string;
|
|
44366
|
+
errorReason: string;
|
|
44367
|
+
enabled: boolean;
|
|
44368
|
+
};
|
|
44369
|
+
sso: {
|
|
44370
|
+
errorMessage: string;
|
|
44371
|
+
errorReason: string;
|
|
44372
|
+
enabled: boolean;
|
|
44373
|
+
};
|
|
44374
|
+
workspacePaidSeats: {
|
|
44375
|
+
max: number;
|
|
44376
|
+
errorMessage: string;
|
|
44377
|
+
errorReason: string;
|
|
44378
|
+
};
|
|
44379
|
+
workspaceViewers: {
|
|
44380
|
+
max: number;
|
|
44381
|
+
errorMessage: string;
|
|
44382
|
+
errorReason: string;
|
|
44383
|
+
};
|
|
44384
|
+
customDocumentationExporter: {
|
|
44385
|
+
errorMessage: string;
|
|
44386
|
+
errorReason: string;
|
|
44387
|
+
enabled: boolean;
|
|
44388
|
+
};
|
|
44389
|
+
protectedPages: {
|
|
44390
|
+
errorMessage: string;
|
|
44391
|
+
errorReason: string;
|
|
44392
|
+
enabled: boolean;
|
|
44393
|
+
};
|
|
44394
|
+
approvals: {
|
|
44395
|
+
errorMessage: string;
|
|
44396
|
+
errorReason: string;
|
|
44397
|
+
enabled: boolean;
|
|
44398
|
+
};
|
|
44399
|
+
selectivePublishing: {
|
|
44400
|
+
errorMessage: string;
|
|
44401
|
+
errorReason: string;
|
|
44402
|
+
enabled: boolean;
|
|
44403
|
+
};
|
|
44404
|
+
} | undefined;
|
|
44405
|
+
stripeSubscriptionMainItemId?: string | undefined;
|
|
44406
|
+
currentPeriodStart?: string | undefined;
|
|
44407
|
+
currentPeriodEnd?: string | undefined;
|
|
44408
|
+
subscriptionStatusUpdatedAt?: string | undefined;
|
|
44409
|
+
cancelAt?: string | null | undefined;
|
|
44410
|
+
billingType?: "Auto" | "Invoice" | undefined;
|
|
44411
|
+
daysUntilDue?: number | undefined;
|
|
44412
|
+
};
|
|
44413
|
+
npmRegistry?: {
|
|
44414
|
+
enabledScopes: string[];
|
|
44415
|
+
bypassProxy: boolean;
|
|
44416
|
+
registryType: "Custom" | "NPMJS" | "GitHub" | "AzureDevOps" | "Artifactory";
|
|
44417
|
+
authType: "Custom" | "None" | "Basic" | "Bearer";
|
|
44418
|
+
registryUrl: string;
|
|
44419
|
+
proxyUrl: string;
|
|
44420
|
+
customRegistryUrl?: string | undefined;
|
|
44421
|
+
accessToken?: string | undefined;
|
|
44422
|
+
username?: string | undefined;
|
|
44423
|
+
password?: string | undefined;
|
|
44424
|
+
} | undefined;
|
|
44425
|
+
};
|
|
44426
|
+
}>;
|
|
44427
|
+
delete(workspaceId: string): Promise<any>;
|
|
44428
|
+
invite(workspaceId: string, body: DTOWorkspaceInvitationsListInput): Promise<any>;
|
|
44429
|
+
}
|
|
44430
|
+
|
|
44431
|
+
declare const DTOCreateBrandInput: z.ZodObject<{
|
|
44432
|
+
persistentId: z.ZodString;
|
|
44433
|
+
meta: z.ZodObject<{
|
|
44434
|
+
name: z.ZodString;
|
|
44435
|
+
description: z.ZodString;
|
|
44436
|
+
}, "strip", z.ZodTypeAny, {
|
|
44437
|
+
description: string;
|
|
44438
|
+
name: string;
|
|
44439
|
+
}, {
|
|
44440
|
+
description: string;
|
|
44441
|
+
name: string;
|
|
44442
|
+
}>;
|
|
44443
|
+
}, "strip", z.ZodTypeAny, {
|
|
44444
|
+
persistentId: string;
|
|
44445
|
+
meta: {
|
|
44446
|
+
description: string;
|
|
44447
|
+
name: string;
|
|
44448
|
+
};
|
|
44449
|
+
}, {
|
|
44450
|
+
persistentId: string;
|
|
44451
|
+
meta: {
|
|
44452
|
+
description: string;
|
|
44453
|
+
name: string;
|
|
44454
|
+
};
|
|
44455
|
+
}>;
|
|
44456
|
+
type DTOCreateBrandInput = z.infer<typeof DTOCreateBrandInput>;
|
|
44457
|
+
|
|
44458
|
+
declare const DTODesignSystemUpdateInput: z.ZodObject<z.objectUtil.extendShape<Omit<{
|
|
44459
|
+
id: z.ZodOptional<z.ZodString>;
|
|
44460
|
+
workspaceId: z.ZodOptional<z.ZodString>;
|
|
44461
|
+
name: z.ZodOptional<z.ZodString>;
|
|
44462
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44463
|
+
docExporterId: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>>;
|
|
44464
|
+
docSlug: z.ZodOptional<z.ZodString>;
|
|
44465
|
+
docUserSlug: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>>;
|
|
44466
|
+
docSlugDeprecated: z.ZodOptional<z.ZodString>;
|
|
44467
|
+
isPublic: z.ZodOptional<z.ZodBoolean>;
|
|
44468
|
+
isMultibrand: z.ZodOptional<z.ZodBoolean>;
|
|
44469
|
+
docViewUrl: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>>;
|
|
44470
|
+
basePrefixes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44471
|
+
designSystemSwitcher: z.ZodOptional<z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<{
|
|
44472
|
+
isEnabled: boolean;
|
|
44473
|
+
designSystemIds: string[];
|
|
44474
|
+
}, z.ZodTypeDef, {
|
|
44475
|
+
isEnabled: boolean;
|
|
44476
|
+
designSystemIds: string[];
|
|
44477
|
+
}>>>, {
|
|
44478
|
+
isEnabled: boolean;
|
|
44479
|
+
designSystemIds: string[];
|
|
44480
|
+
} | undefined, {
|
|
44481
|
+
isEnabled: boolean;
|
|
44482
|
+
designSystemIds: string[];
|
|
44483
|
+
} | null | undefined>>;
|
|
44484
|
+
isApprovalFeatureEnabled: z.ZodOptional<z.ZodBoolean>;
|
|
44485
|
+
approvalRequiredForPublishing: z.ZodOptional<z.ZodBoolean>;
|
|
44486
|
+
accessMode: z.ZodOptional<z.ZodEnum<["Open", "InviteOnly"]>>;
|
|
44487
|
+
membersGenerated: z.ZodOptional<z.ZodBoolean>;
|
|
44488
|
+
createdAt: z.ZodOptional<z.ZodDate>;
|
|
44489
|
+
updatedAt: z.ZodOptional<z.ZodDate>;
|
|
44490
|
+
}, "id" | "createdAt" | "updatedAt" | "workspaceId" | "docSlug" | "docViewUrl">, {
|
|
44491
|
+
meta: z.ZodOptional<z.ZodObject<{
|
|
44492
|
+
name: z.ZodOptional<z.ZodString>;
|
|
44493
|
+
description: z.ZodOptional<z.ZodOptional<z.ZodString>>;
|
|
44494
|
+
}, "strip", z.ZodTypeAny, {
|
|
44495
|
+
description?: string | undefined;
|
|
44496
|
+
name?: string | undefined;
|
|
44497
|
+
}, {
|
|
44498
|
+
description?: string | undefined;
|
|
44499
|
+
name?: string | undefined;
|
|
44500
|
+
}>>;
|
|
44501
|
+
}>, "strip", z.ZodTypeAny, {
|
|
44502
|
+
description?: string | undefined;
|
|
44503
|
+
meta?: {
|
|
44504
|
+
description?: string | undefined;
|
|
44505
|
+
name?: string | undefined;
|
|
44506
|
+
} | undefined;
|
|
44507
|
+
name?: string | undefined;
|
|
44508
|
+
docExporterId?: string | undefined;
|
|
44509
|
+
docUserSlug?: string | undefined;
|
|
44510
|
+
docSlugDeprecated?: string | undefined;
|
|
44511
|
+
isPublic?: boolean | undefined;
|
|
44512
|
+
isMultibrand?: boolean | undefined;
|
|
44513
|
+
basePrefixes?: string[] | undefined;
|
|
44514
|
+
designSystemSwitcher?: {
|
|
44515
|
+
isEnabled: boolean;
|
|
44516
|
+
designSystemIds: string[];
|
|
44517
|
+
} | undefined;
|
|
44518
|
+
isApprovalFeatureEnabled?: boolean | undefined;
|
|
44519
|
+
approvalRequiredForPublishing?: boolean | undefined;
|
|
44520
|
+
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
44521
|
+
membersGenerated?: boolean | undefined;
|
|
44522
|
+
}, {
|
|
44523
|
+
description?: string | undefined;
|
|
44524
|
+
meta?: {
|
|
44525
|
+
description?: string | undefined;
|
|
44526
|
+
name?: string | undefined;
|
|
44527
|
+
} | undefined;
|
|
44528
|
+
name?: string | undefined;
|
|
44529
|
+
docExporterId?: string | null | undefined;
|
|
44530
|
+
docUserSlug?: string | null | undefined;
|
|
44531
|
+
docSlugDeprecated?: string | undefined;
|
|
44532
|
+
isPublic?: boolean | undefined;
|
|
44533
|
+
isMultibrand?: boolean | undefined;
|
|
44534
|
+
basePrefixes?: string[] | undefined;
|
|
44535
|
+
designSystemSwitcher?: {
|
|
44536
|
+
isEnabled: boolean;
|
|
44537
|
+
designSystemIds: string[];
|
|
44538
|
+
} | null | undefined;
|
|
44539
|
+
isApprovalFeatureEnabled?: boolean | undefined;
|
|
44540
|
+
approvalRequiredForPublishing?: boolean | undefined;
|
|
44541
|
+
accessMode?: "Open" | "InviteOnly" | undefined;
|
|
44542
|
+
membersGenerated?: boolean | undefined;
|
|
44543
|
+
}>;
|
|
44544
|
+
type DTODesignSystemUpdateInput = z.infer<typeof DTODesignSystemUpdateInput>;
|
|
44545
|
+
|
|
44546
|
+
declare const ObjectMeta: z.ZodObject<{
|
|
44547
|
+
name: z.ZodOptional<z.ZodString>;
|
|
44548
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44549
|
+
}, "strip", z.ZodTypeAny, {
|
|
44550
|
+
description?: string | undefined;
|
|
44551
|
+
name?: string | undefined;
|
|
44552
|
+
}, {
|
|
44553
|
+
description?: string | undefined;
|
|
44554
|
+
name?: string | undefined;
|
|
44555
|
+
}>;
|
|
44556
|
+
declare function validateDesignSystemVersion(version: string): boolean;
|
|
44557
|
+
declare const DTOCreateVersionInput: z.ZodObject<{
|
|
44558
|
+
meta: z.ZodObject<{
|
|
44559
|
+
name: z.ZodOptional<z.ZodString>;
|
|
44560
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44561
|
+
}, "strip", z.ZodTypeAny, {
|
|
44562
|
+
description?: string | undefined;
|
|
44563
|
+
name?: string | undefined;
|
|
44564
|
+
}, {
|
|
44565
|
+
description?: string | undefined;
|
|
44566
|
+
name?: string | undefined;
|
|
44567
|
+
}>;
|
|
44568
|
+
version: z.ZodEffects<z.ZodString, string, string>;
|
|
44569
|
+
changeLog: z.ZodOptional<z.ZodString>;
|
|
44570
|
+
}, "strip", z.ZodTypeAny, {
|
|
44571
|
+
meta: {
|
|
44572
|
+
description?: string | undefined;
|
|
44573
|
+
name?: string | undefined;
|
|
44574
|
+
};
|
|
44575
|
+
version: string;
|
|
44576
|
+
changeLog?: string | undefined;
|
|
44577
|
+
}, {
|
|
44578
|
+
meta: {
|
|
44579
|
+
description?: string | undefined;
|
|
44580
|
+
name?: string | undefined;
|
|
44581
|
+
};
|
|
44582
|
+
version: string;
|
|
44583
|
+
changeLog?: string | undefined;
|
|
44584
|
+
}>;
|
|
44585
|
+
type DTOCreateVersionInput = z.infer<typeof DTOCreateVersionInput>;
|
|
44586
|
+
declare const DTOUpdateVersionInput: z.ZodObject<{
|
|
44587
|
+
meta: z.ZodObject<{
|
|
44588
|
+
name: z.ZodOptional<z.ZodString>;
|
|
44589
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44590
|
+
}, "strip", z.ZodTypeAny, {
|
|
44591
|
+
description?: string | undefined;
|
|
44592
|
+
name?: string | undefined;
|
|
44593
|
+
}, {
|
|
44594
|
+
description?: string | undefined;
|
|
44595
|
+
name?: string | undefined;
|
|
44596
|
+
}>;
|
|
44597
|
+
version: z.ZodString;
|
|
44598
|
+
changeLog: z.ZodString;
|
|
44599
|
+
}, "strip", z.ZodTypeAny, {
|
|
44600
|
+
meta: {
|
|
44601
|
+
description?: string | undefined;
|
|
44602
|
+
name?: string | undefined;
|
|
44603
|
+
};
|
|
44604
|
+
version: string;
|
|
44605
|
+
changeLog: string;
|
|
44606
|
+
}, {
|
|
44607
|
+
meta: {
|
|
44608
|
+
description?: string | undefined;
|
|
44609
|
+
name?: string | undefined;
|
|
44610
|
+
};
|
|
44611
|
+
version: string;
|
|
44612
|
+
changeLog: string;
|
|
44613
|
+
}>;
|
|
44614
|
+
type DTOUpdateVersionInput = z.infer<typeof DTOUpdateVersionInput>;
|
|
44615
|
+
|
|
44616
|
+
declare const PageBlockDefinitionLayoutBase: z.ZodObject<{
|
|
44617
|
+
type: z.ZodEnum<["Column", "Row"]>;
|
|
44618
|
+
gap: z.ZodOptional<z.ZodEnum<["Small", "Medium", "Large", "None"]>>;
|
|
44619
|
+
columnAlign: z.ZodOptional<z.ZodEnum<["Start", "Center", "End"]>>;
|
|
44620
|
+
columnResizing: z.ZodOptional<z.ZodEnum<["Fill", "Hug"]>>;
|
|
44621
|
+
}, "strip", z.ZodTypeAny, {
|
|
44622
|
+
type: "Column" | "Row";
|
|
44623
|
+
gap?: "Small" | "Medium" | "Large" | "None" | undefined;
|
|
44624
|
+
columnAlign?: "Center" | "Start" | "End" | undefined;
|
|
44625
|
+
columnResizing?: "Fill" | "Hug" | undefined;
|
|
44626
|
+
}, {
|
|
44627
|
+
type: "Column" | "Row";
|
|
44628
|
+
gap?: "Small" | "Medium" | "Large" | "None" | undefined;
|
|
44629
|
+
columnAlign?: "Center" | "Start" | "End" | undefined;
|
|
44630
|
+
columnResizing?: "Fill" | "Hug" | undefined;
|
|
44631
|
+
}>;
|
|
44632
|
+
declare const PageBlockDefinitionLayout: z.ZodType<PageBlockDefinitionLayout, ZodTypeDef, PageBlockDefinitionLayout>;
|
|
44633
|
+
type PageBlockDefinitionLayout = z.infer<typeof PageBlockDefinitionLayoutBase> & {
|
|
44634
|
+
children: (PageBlockDefinitionLayout | string)[];
|
|
44635
|
+
};
|
|
44636
|
+
|
|
44637
|
+
declare const DTOGetBlockDefinitionsOutput: z.ZodObject<{
|
|
44638
|
+
definitions: z.ZodArray<z.ZodObject<{
|
|
44639
|
+
id: z.ZodString;
|
|
44640
|
+
name: z.ZodString;
|
|
44641
|
+
description: z.ZodString;
|
|
44642
|
+
category: z.ZodEnum<["Text", "Layout", "Media", "Embed", "Figma", "Code", "Guidelines", "Tokens", "Components", "Assets", "Data", "Other"]>;
|
|
44643
|
+
icon: z.ZodOptional<z.ZodString>;
|
|
44644
|
+
documentationLink: z.ZodOptional<z.ZodString>;
|
|
44645
|
+
searchKeywords: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
44646
|
+
item: z.ZodObject<{
|
|
44647
|
+
properties: z.ZodArray<z.ZodObject<{
|
|
44648
|
+
id: z.ZodString;
|
|
44649
|
+
name: z.ZodString;
|
|
44650
|
+
type: z.ZodEnum<["RichText", "MultiRichText", "RichTextEditor", "Text", "Boolean", "Number", "SingleSelect", "MultiSelect", "Image", "Token", "TokenType", "TokenProperty", "Component", "ComponentProperty", "Asset", "AssetProperty", "FigmaNode", "EmbedURL", "URL", "Markdown", "Code", "CodeSandbox", "Table", "Divider", "Storybook", "Color", "FigmaComponent"]>;
|
|
44651
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44652
|
+
options: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodAny>>;
|
|
44653
|
+
variantOptions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodAny>>>;
|
|
44654
|
+
}, "strip", z.ZodTypeAny, {
|
|
44655
|
+
id: string;
|
|
44656
|
+
type: "Token" | "Component" | "Text" | "Number" | "Boolean" | "URL" | "FigmaComponent" | "FigmaNode" | "Image" | "Color" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "Markdown" | "Code" | "CodeSandbox" | "Table" | "Divider" | "Storybook";
|
|
44657
|
+
name: string;
|
|
44658
|
+
options?: Record<string, any> | undefined;
|
|
44659
|
+
description?: string | undefined;
|
|
44660
|
+
variantOptions?: Record<string, Record<string, any>> | undefined;
|
|
44661
|
+
}, {
|
|
44662
|
+
id: string;
|
|
44663
|
+
type: "Token" | "Component" | "Text" | "Number" | "Boolean" | "URL" | "FigmaComponent" | "FigmaNode" | "Image" | "Color" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "Markdown" | "Code" | "CodeSandbox" | "Table" | "Divider" | "Storybook";
|
|
44664
|
+
name: string;
|
|
44665
|
+
options?: Record<string, any> | undefined;
|
|
44666
|
+
description?: string | undefined;
|
|
44667
|
+
variantOptions?: Record<string, Record<string, any>> | undefined;
|
|
44668
|
+
}>, "many">;
|
|
44669
|
+
appearance: z.ZodOptional<z.ZodObject<{
|
|
44670
|
+
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
44671
|
+
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
44672
|
+
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
44673
|
+
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
44674
|
+
}, "strip", z.ZodTypeAny, {
|
|
44675
|
+
isBordered?: boolean | undefined;
|
|
44676
|
+
hasBackground?: boolean | undefined;
|
|
44677
|
+
isEditorPresentationDifferent?: boolean | undefined;
|
|
44678
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
44679
|
+
}, {
|
|
44680
|
+
isBordered?: boolean | undefined;
|
|
44681
|
+
hasBackground?: boolean | undefined;
|
|
44682
|
+
isEditorPresentationDifferent?: boolean | undefined;
|
|
44683
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
44684
|
+
}>>;
|
|
44685
|
+
variants: z.ZodArray<z.ZodObject<{
|
|
44686
|
+
id: z.ZodString;
|
|
44687
|
+
name: z.ZodString;
|
|
44688
|
+
image: z.ZodOptional<z.ZodString>;
|
|
44689
|
+
description: z.ZodOptional<z.ZodString>;
|
|
44690
|
+
documentationLink: z.ZodOptional<z.ZodString>;
|
|
44691
|
+
layout: z.ZodType<PageBlockDefinitionLayout, z.ZodTypeDef, PageBlockDefinitionLayout>;
|
|
44692
|
+
maxColumns: z.ZodOptional<z.ZodNumber>;
|
|
44693
|
+
defaultColumns: z.ZodOptional<z.ZodNumber>;
|
|
44694
|
+
appearance: z.ZodOptional<z.ZodObject<{
|
|
44695
|
+
isBordered: z.ZodOptional<z.ZodBoolean>;
|
|
44696
|
+
hasBackground: z.ZodOptional<z.ZodBoolean>;
|
|
44697
|
+
isEditorPresentationDifferent: z.ZodOptional<z.ZodBoolean>;
|
|
44698
|
+
showBlockHeaderInEditor: z.ZodOptional<z.ZodBoolean>;
|
|
44699
|
+
}, "strip", z.ZodTypeAny, {
|
|
44700
|
+
isBordered?: boolean | undefined;
|
|
44701
|
+
hasBackground?: boolean | undefined;
|
|
44702
|
+
isEditorPresentationDifferent?: boolean | undefined;
|
|
44703
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
44704
|
+
}, {
|
|
44705
|
+
isBordered?: boolean | undefined;
|
|
44706
|
+
hasBackground?: boolean | undefined;
|
|
44707
|
+
isEditorPresentationDifferent?: boolean | undefined;
|
|
44708
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
44709
|
+
}>>;
|
|
44710
|
+
}, "strip", z.ZodTypeAny, {
|
|
44711
|
+
id: string;
|
|
44712
|
+
name: string;
|
|
44713
|
+
layout: {
|
|
44714
|
+
type: "Column" | "Row";
|
|
44715
|
+
gap?: "None" | "Small" | "Medium" | "Large" | undefined;
|
|
44716
|
+
columnAlign?: "Center" | "Start" | "End" | undefined;
|
|
44717
|
+
columnResizing?: "Fill" | "Hug" | undefined;
|
|
44718
|
+
} & {
|
|
44719
|
+
children: (string | PageBlockDefinitionLayout)[];
|
|
44720
|
+
};
|
|
44721
|
+
description?: string | undefined;
|
|
44722
|
+
image?: string | undefined;
|
|
44723
|
+
documentationLink?: string | undefined;
|
|
44724
|
+
maxColumns?: number | undefined;
|
|
44725
|
+
defaultColumns?: number | undefined;
|
|
44726
|
+
appearance?: {
|
|
44727
|
+
isBordered?: boolean | undefined;
|
|
44728
|
+
hasBackground?: boolean | undefined;
|
|
44729
|
+
isEditorPresentationDifferent?: boolean | undefined;
|
|
44730
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
44731
|
+
} | undefined;
|
|
44732
|
+
}, {
|
|
44733
|
+
id: string;
|
|
44734
|
+
name: string;
|
|
44735
|
+
layout: {
|
|
44736
|
+
type: "Column" | "Row";
|
|
44737
|
+
gap?: "None" | "Small" | "Medium" | "Large" | undefined;
|
|
44738
|
+
columnAlign?: "Center" | "Start" | "End" | undefined;
|
|
44739
|
+
columnResizing?: "Fill" | "Hug" | undefined;
|
|
44740
|
+
} & {
|
|
44741
|
+
children: (string | PageBlockDefinitionLayout)[];
|
|
44742
|
+
};
|
|
44743
|
+
description?: string | undefined;
|
|
44744
|
+
image?: string | undefined;
|
|
44745
|
+
documentationLink?: string | undefined;
|
|
44746
|
+
maxColumns?: number | undefined;
|
|
44747
|
+
defaultColumns?: number | undefined;
|
|
44748
|
+
appearance?: {
|
|
44749
|
+
isBordered?: boolean | undefined;
|
|
44750
|
+
hasBackground?: boolean | undefined;
|
|
44751
|
+
isEditorPresentationDifferent?: boolean | undefined;
|
|
44752
|
+
showBlockHeaderInEditor?: boolean | undefined;
|
|
44753
|
+
} | undefined;
|
|
44754
|
+
}>, "many">;
|
|
44755
|
+
defaultVariantKey: z.ZodString;
|
|
44756
|
+
}, "strip", z.ZodTypeAny, {
|
|
44757
|
+
properties: {
|
|
44758
|
+
id: string;
|
|
44759
|
+
type: "Token" | "Component" | "Text" | "Number" | "Boolean" | "URL" | "FigmaComponent" | "FigmaNode" | "Image" | "Color" | "RichText" | "MultiRichText" | "RichTextEditor" | "SingleSelect" | "MultiSelect" | "TokenType" | "TokenProperty" | "ComponentProperty" | "Asset" | "AssetProperty" | "EmbedURL" | "Markdown" | "Code" | "CodeSandbox" | "Table" | "Divider" | "Storybook";
|
|
44760
|
+
name: string;
|
|
44761
|
+
options?: Record<string, any> | undefined;
|
|
44762
|
+
description?: string | undefined;
|
|
42730
44763
|
variantOptions?: Record<string, Record<string, any>> | undefined;
|
|
42731
44764
|
}[];
|
|
42732
44765
|
variants: {
|
|
@@ -44799,6 +46832,25 @@ declare const DTOWorkspaceIntegrationGetGitObjectsInput: z.ZodObject<{
|
|
|
44799
46832
|
}>;
|
|
44800
46833
|
type DTOWorkspaceIntegrationGetGitObjectsInput = z.infer<typeof DTOWorkspaceIntegrationGetGitObjectsInput>;
|
|
44801
46834
|
|
|
46835
|
+
type RequestExecutorErrorType = "ServerError" | "ResponseParsingError";
|
|
46836
|
+
declare class RequestExecutorError extends Error {
|
|
46837
|
+
static serverError(endpoint: string, status: number, bodyText: string): RequestExecutorError;
|
|
46838
|
+
static responseParsingError(endpoint: string, cause: Error): RequestExecutorError;
|
|
46839
|
+
readonly type: RequestExecutorErrorType;
|
|
46840
|
+
private constructor();
|
|
46841
|
+
}
|
|
46842
|
+
|
|
46843
|
+
type SupernovaApiClientConfig = {
|
|
46844
|
+
host: string;
|
|
46845
|
+
accessToken: string;
|
|
46846
|
+
};
|
|
46847
|
+
declare class SupernovaApiClient {
|
|
46848
|
+
readonly users: UsersEndpoint;
|
|
46849
|
+
readonly workspaces: WorkspacesEndpoint;
|
|
46850
|
+
readonly designSystems: DesignSystemsEndpoint;
|
|
46851
|
+
constructor(config: SupernovaApiClientConfig);
|
|
46852
|
+
}
|
|
46853
|
+
|
|
44802
46854
|
declare function generateHash(input: object | string, debug?: boolean): string;
|
|
44803
46855
|
|
|
44804
46856
|
declare const DocumentationHierarchySettings: z.ZodObject<{
|
|
@@ -47349,4 +49401,4 @@ declare class FrontendVersionRoomYDoc {
|
|
|
47349
49401
|
|
|
47350
49402
|
declare function generatePageContentHash(content: DocumentationPageEditorModel, definitions: PageBlockDefinition[], debug?: boolean): string;
|
|
47351
49403
|
|
|
47352
|
-
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemCreateResponse, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, 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, 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, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, 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 };
|
|
49404
|
+
export { BackendVersionRoomYDoc, BlockDefinitionUtils, BlockParsingUtils, DTOAppBootstrapDataQuery, DTOAppBootstrapDataResponse, DTOAssetRenderConfiguration, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODataSource, DTODataSourceCreationResponse, DTODataSourceFigma, DTODataSourceFigmaCloud, DTODataSourceFigmaVariablesPlugin, DTODataSourceTokenStudio, DTODataSourcesListResponse, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignElementsDataDiffResponse, DTODesignSystem, DTODesignSystemCreateInput, DTODesignSystemCreateResponse, DTODesignSystemMember, DTODesignSystemMemberListResponse, DTODesignSystemMembersUpdatePayload, DTODesignSystemMembersUpdateResponse, DTODesignSystemUpdateInput, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, 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, 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, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUpdateUserNotificationSettingsPayload, DTOUpdateVersionInput, DTOUser, DTOUserGetResponse, DTOUserNotificationSettingsResponse, DTOUserProfile, DTOUserProfileUpdatePayload, DTOUserProfileUpdateResponse, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceCreateInput, DTOWorkspaceCreateResponse, DTOWorkspaceIntegrationGetGitObjectsInput, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceInvitationInput, DTOWorkspaceInvitationsListInput, DTOWorkspaceRole, DesignSystemsEndpoint, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, FrontendVersionRoomYDoc, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, RequestExecutor, type RequestExecutorConfig, RequestExecutorError, type RequestExecutorErrorType, type RequestExecutorJSONRequest, SupernovaApiClient, UsersEndpoint, VersionRoomBaseYDoc, VersionSQSPayload, WorkspaceConfigurationPayload, 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 };
|