@supernova-studio/client 0.46.1 → 0.46.4
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 +339 -63
- package/dist/index.d.ts +339 -63
- package/dist/index.js +167 -95
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1029 -957
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -2
- package/src/api/conversion/integrations/integration.ts +3 -2
- package/src/api/dto/design-systems/version.ts +7 -3
- package/src/api/dto/workspaces/integrations.ts +3 -2
- package/src/api/payloads/design-systems/version.ts +4 -6
- package/src/yjs/design-system-content/index.ts +0 -1
- package/src/yjs/design-system-content/item-title.ts +0 -0
package/dist/index.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as _supernova_studio_model from '@supernova-studio/model';
|
|
2
|
-
import { PageBlockV1, DocumentationPageV2, ElementGroup, DocumentationGroupV1, DocumentationPageV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2,
|
|
2
|
+
import { PageBlockV1, DocumentationPageV2, ElementGroup, DocumentationGroupV1, DocumentationPageV1, DocumentationItemConfigurationV1, DocumentationItemConfigurationV2, ExtendedIntegration, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
|
|
3
3
|
import { z } from 'zod';
|
|
4
4
|
import * as Y from 'yjs';
|
|
5
5
|
import { Schema } from 'prosemirror-model';
|
|
@@ -563,40 +563,87 @@ declare const DTODesignSystemVersionGetResponse: z.ZodObject<{
|
|
|
563
563
|
};
|
|
564
564
|
}>;
|
|
565
565
|
type DTODesignSystemVersionGetResponse = z.infer<typeof DTODesignSystemVersionGetResponse>;
|
|
566
|
-
declare const
|
|
567
|
-
|
|
568
|
-
|
|
566
|
+
declare const DTODesignSystemVersionJobsResponse: z.ZodObject<{
|
|
567
|
+
jobs: z.ZodArray<z.ZodObject<{
|
|
568
|
+
id: z.ZodString;
|
|
569
569
|
version: z.ZodString;
|
|
570
570
|
designSystemId: z.ZodString;
|
|
571
571
|
designSystemVersionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
572
572
|
status: z.ZodEnum<["Success", "InProgress", "Error"]>;
|
|
573
573
|
errorMessage: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
574
|
-
}, "
|
|
575
|
-
|
|
576
|
-
|
|
574
|
+
}, "strip", z.ZodTypeAny, {
|
|
575
|
+
id: string;
|
|
576
|
+
status: "Success" | "Error" | "InProgress";
|
|
577
577
|
designSystemId: string;
|
|
578
|
+
version: string;
|
|
578
579
|
designSystemVersionId?: string | undefined;
|
|
579
580
|
errorMessage?: string | undefined;
|
|
580
581
|
}, {
|
|
581
|
-
|
|
582
|
+
id: string;
|
|
583
|
+
status: "Success" | "Error" | "InProgress";
|
|
584
|
+
designSystemId: string;
|
|
582
585
|
version: string;
|
|
586
|
+
designSystemVersionId?: string | null | undefined;
|
|
587
|
+
errorMessage?: string | null | undefined;
|
|
588
|
+
}>, "many">;
|
|
589
|
+
}, "strip", z.ZodTypeAny, {
|
|
590
|
+
jobs: {
|
|
591
|
+
id: string;
|
|
592
|
+
status: "Success" | "Error" | "InProgress";
|
|
583
593
|
designSystemId: string;
|
|
594
|
+
version: string;
|
|
595
|
+
designSystemVersionId?: string | undefined;
|
|
596
|
+
errorMessage?: string | undefined;
|
|
597
|
+
}[];
|
|
598
|
+
}, {
|
|
599
|
+
jobs: {
|
|
600
|
+
id: string;
|
|
601
|
+
status: "Success" | "Error" | "InProgress";
|
|
602
|
+
designSystemId: string;
|
|
603
|
+
version: string;
|
|
604
|
+
designSystemVersionId?: string | null | undefined;
|
|
605
|
+
errorMessage?: string | null | undefined;
|
|
606
|
+
}[];
|
|
607
|
+
}>;
|
|
608
|
+
type DTODesignSystemVersionJobsResponse = z.infer<typeof DTODesignSystemVersionJobsResponse>;
|
|
609
|
+
declare const DTODesignSystemVersionJobStatusResponse: z.ZodObject<{
|
|
610
|
+
job: z.ZodObject<{
|
|
611
|
+
id: z.ZodString;
|
|
612
|
+
version: z.ZodString;
|
|
613
|
+
designSystemId: z.ZodString;
|
|
614
|
+
designSystemVersionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
615
|
+
status: z.ZodEnum<["Success", "InProgress", "Error"]>;
|
|
616
|
+
errorMessage: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
|
|
617
|
+
}, "strip", z.ZodTypeAny, {
|
|
618
|
+
id: string;
|
|
619
|
+
status: "Success" | "Error" | "InProgress";
|
|
620
|
+
designSystemId: string;
|
|
621
|
+
version: string;
|
|
622
|
+
designSystemVersionId?: string | undefined;
|
|
623
|
+
errorMessage?: string | undefined;
|
|
624
|
+
}, {
|
|
625
|
+
id: string;
|
|
626
|
+
status: "Success" | "Error" | "InProgress";
|
|
627
|
+
designSystemId: string;
|
|
628
|
+
version: string;
|
|
584
629
|
designSystemVersionId?: string | null | undefined;
|
|
585
630
|
errorMessage?: string | null | undefined;
|
|
586
631
|
}>;
|
|
587
632
|
}, "strip", z.ZodTypeAny, {
|
|
588
633
|
job: {
|
|
589
|
-
|
|
590
|
-
|
|
634
|
+
id: string;
|
|
635
|
+
status: "Success" | "Error" | "InProgress";
|
|
591
636
|
designSystemId: string;
|
|
637
|
+
version: string;
|
|
592
638
|
designSystemVersionId?: string | undefined;
|
|
593
639
|
errorMessage?: string | undefined;
|
|
594
640
|
};
|
|
595
641
|
}, {
|
|
596
642
|
job: {
|
|
597
|
-
|
|
598
|
-
|
|
643
|
+
id: string;
|
|
644
|
+
status: "Success" | "Error" | "InProgress";
|
|
599
645
|
designSystemId: string;
|
|
646
|
+
version: string;
|
|
600
647
|
designSystemVersionId?: string | null | undefined;
|
|
601
648
|
errorMessage?: string | null | undefined;
|
|
602
649
|
};
|
|
@@ -8257,7 +8304,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
|
|
|
8257
8304
|
caption?: string | null | undefined;
|
|
8258
8305
|
headingType?: number | null | undefined;
|
|
8259
8306
|
codeLanguage?: "Markdown" | "Plain" | "Angular" | "Bash" | "C" | "Cpp" | "Csharp" | "CSS" | "Dart" | "Handlebars" | "HTML" | "Java" | "Javascript" | "JSON" | "ReactJSX" | "ReactTSX" | "Kotlin" | "Lua" | "ObjectiveC" | "PHP" | "Python" | "Ruby" | "Rust" | "Sass" | "SCSS" | "Svetle" | "Swift" | "Twig" | "Typescript" | "Vue" | "XML" | "YAML" | null | undefined;
|
|
8260
|
-
calloutType?: "
|
|
8307
|
+
calloutType?: "Info" | "Primary" | "Success" | "Warning" | "Error" | null | undefined;
|
|
8261
8308
|
urlInput?: string | null | undefined;
|
|
8262
8309
|
url?: string | null | undefined;
|
|
8263
8310
|
urlPreview?: {
|
|
@@ -8439,7 +8486,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
|
|
|
8439
8486
|
caption?: string | null | undefined;
|
|
8440
8487
|
headingType?: number | null | undefined;
|
|
8441
8488
|
codeLanguage?: "Markdown" | "Plain" | "Angular" | "Bash" | "C" | "Cpp" | "Csharp" | "CSS" | "Dart" | "Handlebars" | "HTML" | "Java" | "Javascript" | "JSON" | "ReactJSX" | "ReactTSX" | "Kotlin" | "Lua" | "ObjectiveC" | "PHP" | "Python" | "Ruby" | "Rust" | "Sass" | "SCSS" | "Svetle" | "Swift" | "Twig" | "Typescript" | "Vue" | "XML" | "YAML" | null | undefined;
|
|
8442
|
-
calloutType?: "
|
|
8489
|
+
calloutType?: "Info" | "Primary" | "Success" | "Warning" | "Error" | null | undefined;
|
|
8443
8490
|
urlInput?: string | null | undefined;
|
|
8444
8491
|
url?: string | null | undefined;
|
|
8445
8492
|
urlPreview?: {
|
|
@@ -8739,7 +8786,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
|
|
|
8739
8786
|
caption?: string | null | undefined;
|
|
8740
8787
|
headingType?: number | null | undefined;
|
|
8741
8788
|
codeLanguage?: "Markdown" | "Plain" | "Angular" | "Bash" | "C" | "Cpp" | "Csharp" | "CSS" | "Dart" | "Handlebars" | "HTML" | "Java" | "Javascript" | "JSON" | "ReactJSX" | "ReactTSX" | "Kotlin" | "Lua" | "ObjectiveC" | "PHP" | "Python" | "Ruby" | "Rust" | "Sass" | "SCSS" | "Svetle" | "Swift" | "Twig" | "Typescript" | "Vue" | "XML" | "YAML" | null | undefined;
|
|
8742
|
-
calloutType?: "
|
|
8789
|
+
calloutType?: "Info" | "Primary" | "Success" | "Warning" | "Error" | null | undefined;
|
|
8743
8790
|
urlInput?: string | null | undefined;
|
|
8744
8791
|
url?: string | null | undefined;
|
|
8745
8792
|
urlPreview?: {
|
|
@@ -8921,7 +8968,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
|
|
|
8921
8968
|
caption?: string | null | undefined;
|
|
8922
8969
|
headingType?: number | null | undefined;
|
|
8923
8970
|
codeLanguage?: "Markdown" | "Plain" | "Angular" | "Bash" | "C" | "Cpp" | "Csharp" | "CSS" | "Dart" | "Handlebars" | "HTML" | "Java" | "Javascript" | "JSON" | "ReactJSX" | "ReactTSX" | "Kotlin" | "Lua" | "ObjectiveC" | "PHP" | "Python" | "Ruby" | "Rust" | "Sass" | "SCSS" | "Svetle" | "Swift" | "Twig" | "Typescript" | "Vue" | "XML" | "YAML" | null | undefined;
|
|
8924
|
-
calloutType?: "
|
|
8971
|
+
calloutType?: "Info" | "Primary" | "Success" | "Warning" | "Error" | null | undefined;
|
|
8925
8972
|
urlInput?: string | null | undefined;
|
|
8926
8973
|
url?: string | null | undefined;
|
|
8927
8974
|
urlPreview?: {
|
|
@@ -14977,7 +15024,7 @@ type DTOElementsGetTypeFilter = z.infer<typeof DTOElementsGetTypeFilter>;
|
|
|
14977
15024
|
declare const DTOIntegration: z.ZodObject<{
|
|
14978
15025
|
id: z.ZodString;
|
|
14979
15026
|
workspaceId: z.ZodString;
|
|
14980
|
-
type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
|
|
15027
|
+
type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
14981
15028
|
createdAt: z.ZodDate;
|
|
14982
15029
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
14983
15030
|
id: z.ZodString;
|
|
@@ -14987,17 +15034,22 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
14987
15034
|
userId: z.ZodString;
|
|
14988
15035
|
createdAt: z.ZodDate;
|
|
14989
15036
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
15037
|
+
tokenName: z.ZodOptional<z.ZodString>;
|
|
15038
|
+
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
14990
15039
|
profile: z.ZodOptional<z.ZodObject<{
|
|
14991
15040
|
id: z.ZodString;
|
|
14992
|
-
|
|
15041
|
+
email: z.ZodOptional<z.ZodString>;
|
|
15042
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
14993
15043
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
14994
15044
|
}, "strip", z.ZodTypeAny, {
|
|
14995
15045
|
id: string;
|
|
14996
|
-
|
|
15046
|
+
email?: string | undefined;
|
|
15047
|
+
handle?: string | undefined;
|
|
14997
15048
|
avatarUrl?: string | undefined;
|
|
14998
15049
|
}, {
|
|
14999
15050
|
id: string;
|
|
15000
|
-
|
|
15051
|
+
email?: string | undefined;
|
|
15052
|
+
handle?: string | undefined;
|
|
15001
15053
|
avatarUrl?: string | undefined;
|
|
15002
15054
|
}>>;
|
|
15003
15055
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -15009,9 +15061,12 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15009
15061
|
userId: string;
|
|
15010
15062
|
integrationId: string;
|
|
15011
15063
|
refreshToken?: string | undefined;
|
|
15064
|
+
tokenName?: string | undefined;
|
|
15065
|
+
expiresAt?: Date | undefined;
|
|
15012
15066
|
profile?: {
|
|
15013
15067
|
id: string;
|
|
15014
|
-
|
|
15068
|
+
email?: string | undefined;
|
|
15069
|
+
handle?: string | undefined;
|
|
15015
15070
|
avatarUrl?: string | undefined;
|
|
15016
15071
|
} | undefined;
|
|
15017
15072
|
customUrl?: string | undefined;
|
|
@@ -15023,16 +15078,38 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15023
15078
|
userId: string;
|
|
15024
15079
|
integrationId: string;
|
|
15025
15080
|
refreshToken?: string | undefined;
|
|
15081
|
+
tokenName?: string | undefined;
|
|
15082
|
+
expiresAt?: Date | undefined;
|
|
15026
15083
|
profile?: {
|
|
15027
15084
|
id: string;
|
|
15028
|
-
|
|
15085
|
+
email?: string | undefined;
|
|
15086
|
+
handle?: string | undefined;
|
|
15029
15087
|
avatarUrl?: string | undefined;
|
|
15030
15088
|
} | undefined;
|
|
15031
15089
|
customUrl?: string | undefined;
|
|
15032
15090
|
}>, "many">>;
|
|
15091
|
+
integrationDesignSystems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15092
|
+
designSystemId: z.ZodString;
|
|
15093
|
+
brandId: z.ZodString;
|
|
15094
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15095
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
15096
|
+
date: z.ZodOptional<z.ZodDate>;
|
|
15097
|
+
}, "strip", z.ZodTypeAny, {
|
|
15098
|
+
designSystemId: string;
|
|
15099
|
+
brandId: string;
|
|
15100
|
+
title?: string | undefined;
|
|
15101
|
+
userId?: string | undefined;
|
|
15102
|
+
date?: Date | undefined;
|
|
15103
|
+
}, {
|
|
15104
|
+
designSystemId: string;
|
|
15105
|
+
brandId: string;
|
|
15106
|
+
title?: string | undefined;
|
|
15107
|
+
userId?: string | undefined;
|
|
15108
|
+
date?: Date | undefined;
|
|
15109
|
+
}>, "many">>;
|
|
15033
15110
|
}, "strip", z.ZodTypeAny, {
|
|
15034
15111
|
id: string;
|
|
15035
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15112
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15036
15113
|
workspaceId: string;
|
|
15037
15114
|
createdAt: Date;
|
|
15038
15115
|
integrationCredentials?: {
|
|
@@ -15043,16 +15120,26 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15043
15120
|
userId: string;
|
|
15044
15121
|
integrationId: string;
|
|
15045
15122
|
refreshToken?: string | undefined;
|
|
15123
|
+
tokenName?: string | undefined;
|
|
15124
|
+
expiresAt?: Date | undefined;
|
|
15046
15125
|
profile?: {
|
|
15047
15126
|
id: string;
|
|
15048
|
-
|
|
15127
|
+
email?: string | undefined;
|
|
15128
|
+
handle?: string | undefined;
|
|
15049
15129
|
avatarUrl?: string | undefined;
|
|
15050
15130
|
} | undefined;
|
|
15051
15131
|
customUrl?: string | undefined;
|
|
15052
15132
|
}[] | undefined;
|
|
15133
|
+
integrationDesignSystems?: {
|
|
15134
|
+
designSystemId: string;
|
|
15135
|
+
brandId: string;
|
|
15136
|
+
title?: string | undefined;
|
|
15137
|
+
userId?: string | undefined;
|
|
15138
|
+
date?: Date | undefined;
|
|
15139
|
+
}[] | undefined;
|
|
15053
15140
|
}, {
|
|
15054
15141
|
id: string;
|
|
15055
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15142
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15056
15143
|
workspaceId: string;
|
|
15057
15144
|
createdAt: Date;
|
|
15058
15145
|
integrationCredentials?: {
|
|
@@ -15063,13 +15150,23 @@ declare const DTOIntegration: z.ZodObject<{
|
|
|
15063
15150
|
userId: string;
|
|
15064
15151
|
integrationId: string;
|
|
15065
15152
|
refreshToken?: string | undefined;
|
|
15153
|
+
tokenName?: string | undefined;
|
|
15154
|
+
expiresAt?: Date | undefined;
|
|
15066
15155
|
profile?: {
|
|
15067
15156
|
id: string;
|
|
15068
|
-
|
|
15157
|
+
email?: string | undefined;
|
|
15158
|
+
handle?: string | undefined;
|
|
15069
15159
|
avatarUrl?: string | undefined;
|
|
15070
15160
|
} | undefined;
|
|
15071
15161
|
customUrl?: string | undefined;
|
|
15072
15162
|
}[] | undefined;
|
|
15163
|
+
integrationDesignSystems?: {
|
|
15164
|
+
designSystemId: string;
|
|
15165
|
+
brandId: string;
|
|
15166
|
+
title?: string | undefined;
|
|
15167
|
+
userId?: string | undefined;
|
|
15168
|
+
date?: Date | undefined;
|
|
15169
|
+
}[] | undefined;
|
|
15073
15170
|
}>;
|
|
15074
15171
|
type DTOIntegration = z.infer<typeof DTOIntegration>;
|
|
15075
15172
|
declare const DTOIntegrationOAuthGetResponse: z.ZodObject<{
|
|
@@ -15084,7 +15181,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15084
15181
|
integration: z.ZodObject<{
|
|
15085
15182
|
id: z.ZodString;
|
|
15086
15183
|
workspaceId: z.ZodString;
|
|
15087
|
-
type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
|
|
15184
|
+
type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
15088
15185
|
createdAt: z.ZodDate;
|
|
15089
15186
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15090
15187
|
id: z.ZodString;
|
|
@@ -15094,17 +15191,22 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15094
15191
|
userId: z.ZodString;
|
|
15095
15192
|
createdAt: z.ZodDate;
|
|
15096
15193
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
15194
|
+
tokenName: z.ZodOptional<z.ZodString>;
|
|
15195
|
+
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
15097
15196
|
profile: z.ZodOptional<z.ZodObject<{
|
|
15098
15197
|
id: z.ZodString;
|
|
15099
|
-
|
|
15198
|
+
email: z.ZodOptional<z.ZodString>;
|
|
15199
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
15100
15200
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
15101
15201
|
}, "strip", z.ZodTypeAny, {
|
|
15102
15202
|
id: string;
|
|
15103
|
-
|
|
15203
|
+
email?: string | undefined;
|
|
15204
|
+
handle?: string | undefined;
|
|
15104
15205
|
avatarUrl?: string | undefined;
|
|
15105
15206
|
}, {
|
|
15106
15207
|
id: string;
|
|
15107
|
-
|
|
15208
|
+
email?: string | undefined;
|
|
15209
|
+
handle?: string | undefined;
|
|
15108
15210
|
avatarUrl?: string | undefined;
|
|
15109
15211
|
}>>;
|
|
15110
15212
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -15116,9 +15218,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15116
15218
|
userId: string;
|
|
15117
15219
|
integrationId: string;
|
|
15118
15220
|
refreshToken?: string | undefined;
|
|
15221
|
+
tokenName?: string | undefined;
|
|
15222
|
+
expiresAt?: Date | undefined;
|
|
15119
15223
|
profile?: {
|
|
15120
15224
|
id: string;
|
|
15121
|
-
|
|
15225
|
+
email?: string | undefined;
|
|
15226
|
+
handle?: string | undefined;
|
|
15122
15227
|
avatarUrl?: string | undefined;
|
|
15123
15228
|
} | undefined;
|
|
15124
15229
|
customUrl?: string | undefined;
|
|
@@ -15130,16 +15235,38 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15130
15235
|
userId: string;
|
|
15131
15236
|
integrationId: string;
|
|
15132
15237
|
refreshToken?: string | undefined;
|
|
15238
|
+
tokenName?: string | undefined;
|
|
15239
|
+
expiresAt?: Date | undefined;
|
|
15133
15240
|
profile?: {
|
|
15134
15241
|
id: string;
|
|
15135
|
-
|
|
15242
|
+
email?: string | undefined;
|
|
15243
|
+
handle?: string | undefined;
|
|
15136
15244
|
avatarUrl?: string | undefined;
|
|
15137
15245
|
} | undefined;
|
|
15138
15246
|
customUrl?: string | undefined;
|
|
15139
15247
|
}>, "many">>;
|
|
15248
|
+
integrationDesignSystems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15249
|
+
designSystemId: z.ZodString;
|
|
15250
|
+
brandId: z.ZodString;
|
|
15251
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15252
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
15253
|
+
date: z.ZodOptional<z.ZodDate>;
|
|
15254
|
+
}, "strip", z.ZodTypeAny, {
|
|
15255
|
+
designSystemId: string;
|
|
15256
|
+
brandId: string;
|
|
15257
|
+
title?: string | undefined;
|
|
15258
|
+
userId?: string | undefined;
|
|
15259
|
+
date?: Date | undefined;
|
|
15260
|
+
}, {
|
|
15261
|
+
designSystemId: string;
|
|
15262
|
+
brandId: string;
|
|
15263
|
+
title?: string | undefined;
|
|
15264
|
+
userId?: string | undefined;
|
|
15265
|
+
date?: Date | undefined;
|
|
15266
|
+
}>, "many">>;
|
|
15140
15267
|
}, "strip", z.ZodTypeAny, {
|
|
15141
15268
|
id: string;
|
|
15142
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15269
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15143
15270
|
workspaceId: string;
|
|
15144
15271
|
createdAt: Date;
|
|
15145
15272
|
integrationCredentials?: {
|
|
@@ -15150,16 +15277,26 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15150
15277
|
userId: string;
|
|
15151
15278
|
integrationId: string;
|
|
15152
15279
|
refreshToken?: string | undefined;
|
|
15280
|
+
tokenName?: string | undefined;
|
|
15281
|
+
expiresAt?: Date | undefined;
|
|
15153
15282
|
profile?: {
|
|
15154
15283
|
id: string;
|
|
15155
|
-
|
|
15284
|
+
email?: string | undefined;
|
|
15285
|
+
handle?: string | undefined;
|
|
15156
15286
|
avatarUrl?: string | undefined;
|
|
15157
15287
|
} | undefined;
|
|
15158
15288
|
customUrl?: string | undefined;
|
|
15159
15289
|
}[] | undefined;
|
|
15290
|
+
integrationDesignSystems?: {
|
|
15291
|
+
designSystemId: string;
|
|
15292
|
+
brandId: string;
|
|
15293
|
+
title?: string | undefined;
|
|
15294
|
+
userId?: string | undefined;
|
|
15295
|
+
date?: Date | undefined;
|
|
15296
|
+
}[] | undefined;
|
|
15160
15297
|
}, {
|
|
15161
15298
|
id: string;
|
|
15162
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15299
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15163
15300
|
workspaceId: string;
|
|
15164
15301
|
createdAt: Date;
|
|
15165
15302
|
integrationCredentials?: {
|
|
@@ -15170,18 +15307,28 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15170
15307
|
userId: string;
|
|
15171
15308
|
integrationId: string;
|
|
15172
15309
|
refreshToken?: string | undefined;
|
|
15310
|
+
tokenName?: string | undefined;
|
|
15311
|
+
expiresAt?: Date | undefined;
|
|
15173
15312
|
profile?: {
|
|
15174
15313
|
id: string;
|
|
15175
|
-
|
|
15314
|
+
email?: string | undefined;
|
|
15315
|
+
handle?: string | undefined;
|
|
15176
15316
|
avatarUrl?: string | undefined;
|
|
15177
15317
|
} | undefined;
|
|
15178
15318
|
customUrl?: string | undefined;
|
|
15179
15319
|
}[] | undefined;
|
|
15320
|
+
integrationDesignSystems?: {
|
|
15321
|
+
designSystemId: string;
|
|
15322
|
+
brandId: string;
|
|
15323
|
+
title?: string | undefined;
|
|
15324
|
+
userId?: string | undefined;
|
|
15325
|
+
date?: Date | undefined;
|
|
15326
|
+
}[] | undefined;
|
|
15180
15327
|
}>;
|
|
15181
15328
|
}, "strip", z.ZodTypeAny, {
|
|
15182
15329
|
integration: {
|
|
15183
15330
|
id: string;
|
|
15184
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15331
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15185
15332
|
workspaceId: string;
|
|
15186
15333
|
createdAt: Date;
|
|
15187
15334
|
integrationCredentials?: {
|
|
@@ -15192,18 +15339,28 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15192
15339
|
userId: string;
|
|
15193
15340
|
integrationId: string;
|
|
15194
15341
|
refreshToken?: string | undefined;
|
|
15342
|
+
tokenName?: string | undefined;
|
|
15343
|
+
expiresAt?: Date | undefined;
|
|
15195
15344
|
profile?: {
|
|
15196
15345
|
id: string;
|
|
15197
|
-
|
|
15346
|
+
email?: string | undefined;
|
|
15347
|
+
handle?: string | undefined;
|
|
15198
15348
|
avatarUrl?: string | undefined;
|
|
15199
15349
|
} | undefined;
|
|
15200
15350
|
customUrl?: string | undefined;
|
|
15201
15351
|
}[] | undefined;
|
|
15352
|
+
integrationDesignSystems?: {
|
|
15353
|
+
designSystemId: string;
|
|
15354
|
+
brandId: string;
|
|
15355
|
+
title?: string | undefined;
|
|
15356
|
+
userId?: string | undefined;
|
|
15357
|
+
date?: Date | undefined;
|
|
15358
|
+
}[] | undefined;
|
|
15202
15359
|
};
|
|
15203
15360
|
}, {
|
|
15204
15361
|
integration: {
|
|
15205
15362
|
id: string;
|
|
15206
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15363
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15207
15364
|
workspaceId: string;
|
|
15208
15365
|
createdAt: Date;
|
|
15209
15366
|
integrationCredentials?: {
|
|
@@ -15214,13 +15371,23 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
|
|
|
15214
15371
|
userId: string;
|
|
15215
15372
|
integrationId: string;
|
|
15216
15373
|
refreshToken?: string | undefined;
|
|
15374
|
+
tokenName?: string | undefined;
|
|
15375
|
+
expiresAt?: Date | undefined;
|
|
15217
15376
|
profile?: {
|
|
15218
15377
|
id: string;
|
|
15219
|
-
|
|
15378
|
+
email?: string | undefined;
|
|
15379
|
+
handle?: string | undefined;
|
|
15220
15380
|
avatarUrl?: string | undefined;
|
|
15221
15381
|
} | undefined;
|
|
15222
15382
|
customUrl?: string | undefined;
|
|
15223
15383
|
}[] | undefined;
|
|
15384
|
+
integrationDesignSystems?: {
|
|
15385
|
+
designSystemId: string;
|
|
15386
|
+
brandId: string;
|
|
15387
|
+
title?: string | undefined;
|
|
15388
|
+
userId?: string | undefined;
|
|
15389
|
+
date?: Date | undefined;
|
|
15390
|
+
}[] | undefined;
|
|
15224
15391
|
};
|
|
15225
15392
|
}>;
|
|
15226
15393
|
type DTOIntegrationPostResponse = z.infer<typeof DTOIntegrationPostResponse>;
|
|
@@ -15228,7 +15395,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15228
15395
|
integrations: z.ZodArray<z.ZodObject<{
|
|
15229
15396
|
id: z.ZodString;
|
|
15230
15397
|
workspaceId: z.ZodString;
|
|
15231
|
-
type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
|
|
15398
|
+
type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
|
|
15232
15399
|
createdAt: z.ZodDate;
|
|
15233
15400
|
integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15234
15401
|
id: z.ZodString;
|
|
@@ -15238,17 +15405,22 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15238
15405
|
userId: z.ZodString;
|
|
15239
15406
|
createdAt: z.ZodDate;
|
|
15240
15407
|
refreshToken: z.ZodOptional<z.ZodString>;
|
|
15408
|
+
tokenName: z.ZodOptional<z.ZodString>;
|
|
15409
|
+
expiresAt: z.ZodOptional<z.ZodDate>;
|
|
15241
15410
|
profile: z.ZodOptional<z.ZodObject<{
|
|
15242
15411
|
id: z.ZodString;
|
|
15243
|
-
|
|
15412
|
+
email: z.ZodOptional<z.ZodString>;
|
|
15413
|
+
handle: z.ZodOptional<z.ZodString>;
|
|
15244
15414
|
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
15245
15415
|
}, "strip", z.ZodTypeAny, {
|
|
15246
15416
|
id: string;
|
|
15247
|
-
|
|
15417
|
+
email?: string | undefined;
|
|
15418
|
+
handle?: string | undefined;
|
|
15248
15419
|
avatarUrl?: string | undefined;
|
|
15249
15420
|
}, {
|
|
15250
15421
|
id: string;
|
|
15251
|
-
|
|
15422
|
+
email?: string | undefined;
|
|
15423
|
+
handle?: string | undefined;
|
|
15252
15424
|
avatarUrl?: string | undefined;
|
|
15253
15425
|
}>>;
|
|
15254
15426
|
customUrl: z.ZodOptional<z.ZodString>;
|
|
@@ -15260,9 +15432,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15260
15432
|
userId: string;
|
|
15261
15433
|
integrationId: string;
|
|
15262
15434
|
refreshToken?: string | undefined;
|
|
15435
|
+
tokenName?: string | undefined;
|
|
15436
|
+
expiresAt?: Date | undefined;
|
|
15263
15437
|
profile?: {
|
|
15264
15438
|
id: string;
|
|
15265
|
-
|
|
15439
|
+
email?: string | undefined;
|
|
15440
|
+
handle?: string | undefined;
|
|
15266
15441
|
avatarUrl?: string | undefined;
|
|
15267
15442
|
} | undefined;
|
|
15268
15443
|
customUrl?: string | undefined;
|
|
@@ -15274,16 +15449,38 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15274
15449
|
userId: string;
|
|
15275
15450
|
integrationId: string;
|
|
15276
15451
|
refreshToken?: string | undefined;
|
|
15452
|
+
tokenName?: string | undefined;
|
|
15453
|
+
expiresAt?: Date | undefined;
|
|
15277
15454
|
profile?: {
|
|
15278
15455
|
id: string;
|
|
15279
|
-
|
|
15456
|
+
email?: string | undefined;
|
|
15457
|
+
handle?: string | undefined;
|
|
15280
15458
|
avatarUrl?: string | undefined;
|
|
15281
15459
|
} | undefined;
|
|
15282
15460
|
customUrl?: string | undefined;
|
|
15283
15461
|
}>, "many">>;
|
|
15462
|
+
integrationDesignSystems: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
15463
|
+
designSystemId: z.ZodString;
|
|
15464
|
+
brandId: z.ZodString;
|
|
15465
|
+
title: z.ZodOptional<z.ZodString>;
|
|
15466
|
+
userId: z.ZodOptional<z.ZodString>;
|
|
15467
|
+
date: z.ZodOptional<z.ZodDate>;
|
|
15468
|
+
}, "strip", z.ZodTypeAny, {
|
|
15469
|
+
designSystemId: string;
|
|
15470
|
+
brandId: string;
|
|
15471
|
+
title?: string | undefined;
|
|
15472
|
+
userId?: string | undefined;
|
|
15473
|
+
date?: Date | undefined;
|
|
15474
|
+
}, {
|
|
15475
|
+
designSystemId: string;
|
|
15476
|
+
brandId: string;
|
|
15477
|
+
title?: string | undefined;
|
|
15478
|
+
userId?: string | undefined;
|
|
15479
|
+
date?: Date | undefined;
|
|
15480
|
+
}>, "many">>;
|
|
15284
15481
|
}, "strip", z.ZodTypeAny, {
|
|
15285
15482
|
id: string;
|
|
15286
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15483
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15287
15484
|
workspaceId: string;
|
|
15288
15485
|
createdAt: Date;
|
|
15289
15486
|
integrationCredentials?: {
|
|
@@ -15294,16 +15491,26 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15294
15491
|
userId: string;
|
|
15295
15492
|
integrationId: string;
|
|
15296
15493
|
refreshToken?: string | undefined;
|
|
15494
|
+
tokenName?: string | undefined;
|
|
15495
|
+
expiresAt?: Date | undefined;
|
|
15297
15496
|
profile?: {
|
|
15298
15497
|
id: string;
|
|
15299
|
-
|
|
15498
|
+
email?: string | undefined;
|
|
15499
|
+
handle?: string | undefined;
|
|
15300
15500
|
avatarUrl?: string | undefined;
|
|
15301
15501
|
} | undefined;
|
|
15302
15502
|
customUrl?: string | undefined;
|
|
15303
15503
|
}[] | undefined;
|
|
15504
|
+
integrationDesignSystems?: {
|
|
15505
|
+
designSystemId: string;
|
|
15506
|
+
brandId: string;
|
|
15507
|
+
title?: string | undefined;
|
|
15508
|
+
userId?: string | undefined;
|
|
15509
|
+
date?: Date | undefined;
|
|
15510
|
+
}[] | undefined;
|
|
15304
15511
|
}, {
|
|
15305
15512
|
id: string;
|
|
15306
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15513
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15307
15514
|
workspaceId: string;
|
|
15308
15515
|
createdAt: Date;
|
|
15309
15516
|
integrationCredentials?: {
|
|
@@ -15314,18 +15521,28 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15314
15521
|
userId: string;
|
|
15315
15522
|
integrationId: string;
|
|
15316
15523
|
refreshToken?: string | undefined;
|
|
15524
|
+
tokenName?: string | undefined;
|
|
15525
|
+
expiresAt?: Date | undefined;
|
|
15317
15526
|
profile?: {
|
|
15318
15527
|
id: string;
|
|
15319
|
-
|
|
15528
|
+
email?: string | undefined;
|
|
15529
|
+
handle?: string | undefined;
|
|
15320
15530
|
avatarUrl?: string | undefined;
|
|
15321
15531
|
} | undefined;
|
|
15322
15532
|
customUrl?: string | undefined;
|
|
15323
15533
|
}[] | undefined;
|
|
15534
|
+
integrationDesignSystems?: {
|
|
15535
|
+
designSystemId: string;
|
|
15536
|
+
brandId: string;
|
|
15537
|
+
title?: string | undefined;
|
|
15538
|
+
userId?: string | undefined;
|
|
15539
|
+
date?: Date | undefined;
|
|
15540
|
+
}[] | undefined;
|
|
15324
15541
|
}>, "many">;
|
|
15325
15542
|
}, "strip", z.ZodTypeAny, {
|
|
15326
15543
|
integrations: {
|
|
15327
15544
|
id: string;
|
|
15328
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15545
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15329
15546
|
workspaceId: string;
|
|
15330
15547
|
createdAt: Date;
|
|
15331
15548
|
integrationCredentials?: {
|
|
@@ -15336,18 +15553,28 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15336
15553
|
userId: string;
|
|
15337
15554
|
integrationId: string;
|
|
15338
15555
|
refreshToken?: string | undefined;
|
|
15556
|
+
tokenName?: string | undefined;
|
|
15557
|
+
expiresAt?: Date | undefined;
|
|
15339
15558
|
profile?: {
|
|
15340
15559
|
id: string;
|
|
15341
|
-
|
|
15560
|
+
email?: string | undefined;
|
|
15561
|
+
handle?: string | undefined;
|
|
15342
15562
|
avatarUrl?: string | undefined;
|
|
15343
15563
|
} | undefined;
|
|
15344
15564
|
customUrl?: string | undefined;
|
|
15345
15565
|
}[] | undefined;
|
|
15566
|
+
integrationDesignSystems?: {
|
|
15567
|
+
designSystemId: string;
|
|
15568
|
+
brandId: string;
|
|
15569
|
+
title?: string | undefined;
|
|
15570
|
+
userId?: string | undefined;
|
|
15571
|
+
date?: Date | undefined;
|
|
15572
|
+
}[] | undefined;
|
|
15346
15573
|
}[];
|
|
15347
15574
|
}, {
|
|
15348
15575
|
integrations: {
|
|
15349
15576
|
id: string;
|
|
15350
|
-
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
|
|
15577
|
+
type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
|
|
15351
15578
|
workspaceId: string;
|
|
15352
15579
|
createdAt: Date;
|
|
15353
15580
|
integrationCredentials?: {
|
|
@@ -15358,13 +15585,23 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
|
|
|
15358
15585
|
userId: string;
|
|
15359
15586
|
integrationId: string;
|
|
15360
15587
|
refreshToken?: string | undefined;
|
|
15588
|
+
tokenName?: string | undefined;
|
|
15589
|
+
expiresAt?: Date | undefined;
|
|
15361
15590
|
profile?: {
|
|
15362
15591
|
id: string;
|
|
15363
|
-
|
|
15592
|
+
email?: string | undefined;
|
|
15593
|
+
handle?: string | undefined;
|
|
15364
15594
|
avatarUrl?: string | undefined;
|
|
15365
15595
|
} | undefined;
|
|
15366
15596
|
customUrl?: string | undefined;
|
|
15367
15597
|
}[] | undefined;
|
|
15598
|
+
integrationDesignSystems?: {
|
|
15599
|
+
designSystemId: string;
|
|
15600
|
+
brandId: string;
|
|
15601
|
+
title?: string | undefined;
|
|
15602
|
+
userId?: string | undefined;
|
|
15603
|
+
date?: Date | undefined;
|
|
15604
|
+
}[] | undefined;
|
|
15368
15605
|
}[];
|
|
15369
15606
|
}>;
|
|
15370
15607
|
type DTOIntegrationsGetListResponse = z.infer<typeof DTOIntegrationsGetListResponse>;
|
|
@@ -20102,7 +20339,7 @@ declare function documentationPagesToStructureDTOV2(pages: DocumentationPageV2[]
|
|
|
20102
20339
|
declare function documentationPagesToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2[];
|
|
20103
20340
|
declare function documentationPagesFixedConfigurationToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2[];
|
|
20104
20341
|
|
|
20105
|
-
declare function integrationToDto(integration:
|
|
20342
|
+
declare function integrationToDto(integration: ExtendedIntegration): DTOIntegration;
|
|
20106
20343
|
|
|
20107
20344
|
declare const DTOCreateBrandInput: z.ZodObject<{
|
|
20108
20345
|
persistentId: z.ZodString;
|
|
@@ -20141,7 +20378,7 @@ declare const ObjectMeta: z.ZodObject<{
|
|
|
20141
20378
|
name?: string | undefined;
|
|
20142
20379
|
description?: string | undefined;
|
|
20143
20380
|
}>;
|
|
20144
|
-
declare function
|
|
20381
|
+
declare function validateDesignSystemVersion(version: string): boolean;
|
|
20145
20382
|
declare const DTOCreateVersionInput: z.ZodObject<{
|
|
20146
20383
|
meta: z.ZodObject<{
|
|
20147
20384
|
name: z.ZodOptional<z.ZodString>;
|
|
@@ -21133,35 +21370,68 @@ type DTOWorkspaceIntegrationOauthInput = z.infer<typeof DTOWorkspaceIntegrationO
|
|
|
21133
21370
|
declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
|
|
21134
21371
|
userId: z.ZodString;
|
|
21135
21372
|
type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
|
|
21136
|
-
token: z.ZodEffects<z.ZodObject<{
|
|
21373
|
+
token: z.ZodEffects<z.ZodEffects<z.ZodObject<{
|
|
21137
21374
|
access_token: z.ZodString;
|
|
21138
21375
|
refresh_token: z.ZodOptional<z.ZodString>;
|
|
21139
|
-
expires_in: z.ZodOptional<z.ZodNumber>;
|
|
21376
|
+
expires_in: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodOptional<z.ZodString>]>;
|
|
21140
21377
|
token_type: z.ZodOptional<z.ZodString>;
|
|
21378
|
+
token_name: z.ZodOptional<z.ZodString>;
|
|
21379
|
+
token_azure_organization_name: z.ZodOptional<z.ZodString>;
|
|
21380
|
+
token_bitbucket_username: z.ZodOptional<z.ZodString>;
|
|
21141
21381
|
custom_url: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
|
|
21142
21382
|
}, "strip", z.ZodTypeAny, {
|
|
21143
21383
|
access_token: string;
|
|
21144
21384
|
refresh_token?: string | undefined;
|
|
21145
|
-
expires_in?: number | undefined;
|
|
21385
|
+
expires_in?: string | number | undefined;
|
|
21386
|
+
token_type?: string | undefined;
|
|
21387
|
+
token_name?: string | undefined;
|
|
21388
|
+
token_azure_organization_name?: string | undefined;
|
|
21389
|
+
token_bitbucket_username?: string | undefined;
|
|
21390
|
+
custom_url?: string | undefined;
|
|
21391
|
+
}, {
|
|
21392
|
+
access_token: string;
|
|
21393
|
+
refresh_token?: string | undefined;
|
|
21394
|
+
expires_in?: string | number | undefined;
|
|
21395
|
+
token_type?: string | undefined;
|
|
21396
|
+
token_name?: string | undefined;
|
|
21397
|
+
token_azure_organization_name?: string | undefined;
|
|
21398
|
+
token_bitbucket_username?: string | undefined;
|
|
21399
|
+
custom_url?: string | undefined;
|
|
21400
|
+
}>, {
|
|
21401
|
+
access_token: string;
|
|
21402
|
+
refresh_token?: string | undefined;
|
|
21403
|
+
expires_in?: string | number | undefined;
|
|
21146
21404
|
token_type?: string | undefined;
|
|
21405
|
+
token_name?: string | undefined;
|
|
21406
|
+
token_azure_organization_name?: string | undefined;
|
|
21407
|
+
token_bitbucket_username?: string | undefined;
|
|
21147
21408
|
custom_url?: string | undefined;
|
|
21148
21409
|
}, {
|
|
21149
21410
|
access_token: string;
|
|
21150
21411
|
refresh_token?: string | undefined;
|
|
21151
|
-
expires_in?: number | undefined;
|
|
21412
|
+
expires_in?: string | number | undefined;
|
|
21152
21413
|
token_type?: string | undefined;
|
|
21414
|
+
token_name?: string | undefined;
|
|
21415
|
+
token_azure_organization_name?: string | undefined;
|
|
21416
|
+
token_bitbucket_username?: string | undefined;
|
|
21153
21417
|
custom_url?: string | undefined;
|
|
21154
21418
|
}>, {
|
|
21155
21419
|
accessToken: string;
|
|
21156
21420
|
refreshToken: string | undefined;
|
|
21157
21421
|
expiresIn: number | undefined;
|
|
21158
21422
|
tokenType: string | undefined;
|
|
21423
|
+
tokenName: string | undefined;
|
|
21424
|
+
tokenBitbucketUsername: string | undefined;
|
|
21425
|
+
tokenAzureOrganizationName: string | undefined;
|
|
21159
21426
|
customUrl: string | undefined;
|
|
21160
21427
|
}, {
|
|
21161
21428
|
access_token: string;
|
|
21162
21429
|
refresh_token?: string | undefined;
|
|
21163
|
-
expires_in?: number | undefined;
|
|
21430
|
+
expires_in?: string | number | undefined;
|
|
21164
21431
|
token_type?: string | undefined;
|
|
21432
|
+
token_name?: string | undefined;
|
|
21433
|
+
token_azure_organization_name?: string | undefined;
|
|
21434
|
+
token_bitbucket_username?: string | undefined;
|
|
21165
21435
|
custom_url?: string | undefined;
|
|
21166
21436
|
}>;
|
|
21167
21437
|
}, "strip", z.ZodTypeAny, {
|
|
@@ -21172,6 +21442,9 @@ declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
|
|
|
21172
21442
|
refreshToken: string | undefined;
|
|
21173
21443
|
expiresIn: number | undefined;
|
|
21174
21444
|
tokenType: string | undefined;
|
|
21445
|
+
tokenName: string | undefined;
|
|
21446
|
+
tokenBitbucketUsername: string | undefined;
|
|
21447
|
+
tokenAzureOrganizationName: string | undefined;
|
|
21175
21448
|
customUrl: string | undefined;
|
|
21176
21449
|
};
|
|
21177
21450
|
}, {
|
|
@@ -21180,8 +21453,11 @@ declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
|
|
|
21180
21453
|
token: {
|
|
21181
21454
|
access_token: string;
|
|
21182
21455
|
refresh_token?: string | undefined;
|
|
21183
|
-
expires_in?: number | undefined;
|
|
21456
|
+
expires_in?: string | number | undefined;
|
|
21184
21457
|
token_type?: string | undefined;
|
|
21458
|
+
token_name?: string | undefined;
|
|
21459
|
+
token_azure_organization_name?: string | undefined;
|
|
21460
|
+
token_bitbucket_username?: string | undefined;
|
|
21185
21461
|
custom_url?: string | undefined;
|
|
21186
21462
|
};
|
|
21187
21463
|
}>;
|
|
@@ -23509,4 +23785,4 @@ declare const BlockDefinitionUtils: {
|
|
|
23509
23785
|
};
|
|
23510
23786
|
};
|
|
23511
23787
|
|
|
23512
|
-
export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExporterProperty, DTOExporterPropertyListResponse, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOIntegration, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock,
|
|
23788
|
+
export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, DTODesignSystemVersionJobStatusResponse, DTODesignSystemVersionJobsResponse, DTODesignSystemVersionsListResponse, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV1, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV1, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationItemConfigurationV1, DTODocumentationItemConfigurationV2, DTODocumentationItemHeaderV2, DTODocumentationLinkPreviewRequest, DTODocumentationLinkPreviewResponse, DTODocumentationPageAnchor, DTODocumentationPageContent, DTODocumentationPageContentGetResponse, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabCreateActionInputV2, DTODocumentationTabCreateActionOutputV2, type DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOElementPropertyDefinition, DTOElementPropertyDefinitionsGetResponse, DTOElementPropertyValue, DTOElementPropertyValuesGetResponse, DTOElementView, DTOElementViewBasePropertyColumn, DTOElementViewColumn, DTOElementViewColumnSharedAttributes, DTOElementViewPropertyDefinitionColumn, DTOElementViewThemeColumn, DTOElementViewsListResponse, DTOElementsGetOutput, type DTOElementsGetQueryParsed, type DTOElementsGetQueryRaw, DTOElementsGetQuerySchema, DTOElementsGetTypeFilter, DTOExporterProperty, DTOExporterPropertyListResponse, DTOFigmaNode, DTOFigmaNodeData, DTOFigmaNodeOrigin, DTOFigmaNodeRenderActionInput, DTOFigmaNodeRenderActionOutput, DTOFigmaNodeRenderInput, DTOGetBlockDefinitionsOutput, DTOGetDocumentationPageAnchorsResponse, DTOIntegration, DTOIntegrationOAuthGetResponse, DTOIntegrationPostResponse, DTOIntegrationsGetListResponse, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTONpmRegistryConfig, DTOPropertyDefinitionCreateActionInputV2, DTOPropertyDefinitionCreateActionOutputV2, DTOPropertyDefinitionDeleteActionInputV2, DTOPropertyDefinitionDeleteActionOutputV2, DTOPropertyDefinitionUpdateActionInputV2, DTOPropertyDefinitionUpdateActionOutputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DTOUpdateElementPropertyDefinitionInputV2, DTOUserWorkspaceMembership, DTOUserWorkspaceMembershipsResponse, DTOWorkspace, DTOWorkspaceIntegrationOauthInput, DTOWorkspaceIntegrationPATInput, DTOWorkspaceRole, DocumentationHierarchySettings, DocumentationPageEditorModel, DocumentationPageV1DTO, type ListItemNode, type ListNode, ListTreeBuilder, NpmRegistryInput, ObjectMeta, PageBlockEditorModel, PageSectionEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, VersionSQSPayload, WorkspaceConfigurationPayload, applyPrivacyConfigurationToNestedItems, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationItemConfigurationToDTOV1, documentationItemConfigurationToDTOV2, documentationPagesFixedConfigurationToDTOV1, documentationPagesFixedConfigurationToDTOV2, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTOV1, elementGroupsToDocumentationGroupDTOV2, elementGroupsToDocumentationGroupFixedConfigurationDTOV1, elementGroupsToDocumentationGroupFixedConfigurationDTOV2, elementGroupsToDocumentationGroupStructureDTOV1, elementGroupsToDocumentationGroupStructureDTOV2, getDtoDefaultItemConfigurationV1, getDtoDefaultItemConfigurationV2, getMockPageBlockDefinitions, integrationToDto, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToSection, prosemirrorNodesToBlocks, serializeAsCustomBlock, shallowProsemirrorNodeToBlock, validateDesignSystemVersion, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
|