@supernova-studio/client 0.46.0 → 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 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, Integration, SsoProvider, PageBlockItemUntypedValue, PageBlockDefinition, PageBlockText, PageBlockDefinitionProperty, PageBlockDefinitionMultiRichTextPropertyStyle, PageBlockItemV2, PageBlockItemRichTextValue, PageBlockItemMultiRichTextValue, PageBlockItemTableValue, PageBlockItemEmbedValue, PageBlockDefinitionPropertyType } from '@supernova-studio/model';
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';
@@ -292,6 +292,7 @@ declare const DTOExporterPropertyListResponse: z.ZodObject<{
292
292
  type DTOExporterPropertyListResponse = z.infer<typeof DTOExporterPropertyListResponse>;
293
293
 
294
294
  declare const VersionSQSPayload: z.ZodObject<{
295
+ jobId: z.ZodString;
295
296
  designSystemId: z.ZodString;
296
297
  input: z.ZodObject<{
297
298
  meta: z.ZodObject<{
@@ -323,6 +324,7 @@ declare const VersionSQSPayload: z.ZodObject<{
323
324
  }>;
324
325
  }, "strip", z.ZodTypeAny, {
325
326
  designSystemId: string;
327
+ jobId: string;
326
328
  input: {
327
329
  meta: {
328
330
  name?: string | undefined;
@@ -333,6 +335,7 @@ declare const VersionSQSPayload: z.ZodObject<{
333
335
  };
334
336
  }, {
335
337
  designSystemId: string;
338
+ jobId: string;
336
339
  input: {
337
340
  meta: {
338
341
  name?: string | undefined;
@@ -358,6 +361,7 @@ declare const DTODesignSystemVersionCreationResponse: z.ZodObject<{
358
361
  changeLog: z.ZodString;
359
362
  isReadOnly: z.ZodBoolean;
360
363
  designSystemId: z.ZodString;
364
+ jobId: z.ZodString;
361
365
  }, "strip", z.ZodTypeAny, {
362
366
  meta: {
363
367
  name: string;
@@ -367,6 +371,7 @@ declare const DTODesignSystemVersionCreationResponse: z.ZodObject<{
367
371
  changeLog: string;
368
372
  designSystemId: string;
369
373
  isReadOnly: boolean;
374
+ jobId: string;
370
375
  }, {
371
376
  meta: {
372
377
  name: string;
@@ -376,6 +381,7 @@ declare const DTODesignSystemVersionCreationResponse: z.ZodObject<{
376
381
  changeLog: string;
377
382
  designSystemId: string;
378
383
  isReadOnly: boolean;
384
+ jobId: string;
379
385
  }>;
380
386
  type DTODesignSystemVersionCreationResponse = z.infer<typeof DTODesignSystemVersionCreationResponse>;
381
387
  declare const DTODesignSystemVersion: z.ZodObject<{
@@ -557,6 +563,92 @@ declare const DTODesignSystemVersionGetResponse: z.ZodObject<{
557
563
  };
558
564
  }>;
559
565
  type DTODesignSystemVersionGetResponse = z.infer<typeof DTODesignSystemVersionGetResponse>;
566
+ declare const DTODesignSystemVersionJobsResponse: z.ZodObject<{
567
+ jobs: z.ZodArray<z.ZodObject<{
568
+ id: z.ZodString;
569
+ version: z.ZodString;
570
+ designSystemId: z.ZodString;
571
+ designSystemVersionId: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
572
+ status: z.ZodEnum<["Success", "InProgress", "Error"]>;
573
+ errorMessage: z.ZodEffects<z.ZodOptional<z.ZodNullable<z.ZodType<string, z.ZodTypeDef, string>>>, string | undefined, string | null | undefined>;
574
+ }, "strip", z.ZodTypeAny, {
575
+ id: string;
576
+ status: "Success" | "Error" | "InProgress";
577
+ designSystemId: string;
578
+ version: string;
579
+ designSystemVersionId?: string | undefined;
580
+ errorMessage?: string | undefined;
581
+ }, {
582
+ id: string;
583
+ status: "Success" | "Error" | "InProgress";
584
+ designSystemId: string;
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";
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;
629
+ designSystemVersionId?: string | null | undefined;
630
+ errorMessage?: string | null | undefined;
631
+ }>;
632
+ }, "strip", z.ZodTypeAny, {
633
+ job: {
634
+ id: string;
635
+ status: "Success" | "Error" | "InProgress";
636
+ designSystemId: string;
637
+ version: string;
638
+ designSystemVersionId?: string | undefined;
639
+ errorMessage?: string | undefined;
640
+ };
641
+ }, {
642
+ job: {
643
+ id: string;
644
+ status: "Success" | "Error" | "InProgress";
645
+ designSystemId: string;
646
+ version: string;
647
+ designSystemVersionId?: string | null | undefined;
648
+ errorMessage?: string | null | undefined;
649
+ };
650
+ }>;
651
+ type DTODesignSystemVersionJobStatusResponse = z.infer<typeof DTODesignSystemVersionJobStatusResponse>;
560
652
 
561
653
  declare const DTOElementViewColumnSharedAttributes: z.ZodObject<{
562
654
  id: z.ZodString;
@@ -8278,6 +8370,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8278
8370
  } | null | undefined;
8279
8371
  } | null | undefined;
8280
8372
  documentationItemId?: string | null | undefined;
8373
+ pageHeadingId?: string | null | undefined;
8281
8374
  url?: string | null | undefined;
8282
8375
  openInNewTab?: boolean | null | undefined;
8283
8376
  urlPreview?: {
@@ -8459,6 +8552,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8459
8552
  } | null | undefined;
8460
8553
  } | null | undefined;
8461
8554
  documentationItemId?: string | null | undefined;
8555
+ pageHeadingId?: string | null | undefined;
8462
8556
  url?: string | null | undefined;
8463
8557
  openInNewTab?: boolean | null | undefined;
8464
8558
  urlPreview?: {
@@ -8758,6 +8852,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8758
8852
  } | null | undefined;
8759
8853
  } | null | undefined;
8760
8854
  documentationItemId?: string | null | undefined;
8855
+ pageHeadingId?: string | null | undefined;
8761
8856
  url?: string | null | undefined;
8762
8857
  openInNewTab?: boolean | null | undefined;
8763
8858
  urlPreview?: {
@@ -8939,6 +9034,7 @@ declare const DocumentationPageV1DTO: z.ZodObject<{
8939
9034
  } | null | undefined;
8940
9035
  } | null | undefined;
8941
9036
  documentationItemId?: string | null | undefined;
9037
+ pageHeadingId?: string | null | undefined;
8942
9038
  url?: string | null | undefined;
8943
9039
  openInNewTab?: boolean | null | undefined;
8944
9040
  urlPreview?: {
@@ -10978,6 +11074,20 @@ declare const DTODeleteDocumentationPageInputV2: z.ZodObject<{
10978
11074
  }>;
10979
11075
  type DTODeleteDocumentationPageInputV2 = z.infer<typeof DTODeleteDocumentationPageInputV2>;
10980
11076
 
11077
+ declare const DTOFigmaNodeOrigin: z.ZodObject<{
11078
+ sourceId: z.ZodString;
11079
+ fileId: z.ZodOptional<z.ZodString>;
11080
+ parentName: z.ZodOptional<z.ZodString>;
11081
+ }, "strip", z.ZodTypeAny, {
11082
+ sourceId: string;
11083
+ fileId?: string | undefined;
11084
+ parentName?: string | undefined;
11085
+ }, {
11086
+ sourceId: string;
11087
+ fileId?: string | undefined;
11088
+ parentName?: string | undefined;
11089
+ }>;
11090
+ type DTOFigmaNodeOrigin = z.infer<typeof DTOFigmaNodeOrigin>;
10981
11091
  declare const DTOFigmaNodeData: z.ZodObject<{
10982
11092
  figmaNodeId: z.ZodString;
10983
11093
  isValid: z.ZodBoolean;
@@ -11020,16 +11130,6 @@ declare const DTOFigmaNode: z.ZodObject<{
11020
11130
  }>;
11021
11131
  createdAt: z.ZodDate;
11022
11132
  updatedAt: z.ZodDate;
11023
- origin: z.ZodObject<{
11024
- sourceId: z.ZodString;
11025
- fileId: z.ZodOptional<z.ZodString>;
11026
- }, "strip", z.ZodTypeAny, {
11027
- sourceId: string;
11028
- fileId?: string | undefined;
11029
- }, {
11030
- sourceId: string;
11031
- fileId?: string | undefined;
11032
- }>;
11033
11133
  data: z.ZodObject<{
11034
11134
  figmaNodeId: z.ZodString;
11035
11135
  isValid: z.ZodBoolean;
@@ -11055,6 +11155,19 @@ declare const DTOFigmaNode: z.ZodObject<{
11055
11155
  assetWidth?: number | undefined;
11056
11156
  assetHeight?: number | undefined;
11057
11157
  }>;
11158
+ origin: z.ZodObject<{
11159
+ sourceId: z.ZodString;
11160
+ fileId: z.ZodOptional<z.ZodString>;
11161
+ parentName: z.ZodOptional<z.ZodString>;
11162
+ }, "strip", z.ZodTypeAny, {
11163
+ sourceId: string;
11164
+ fileId?: string | undefined;
11165
+ parentName?: string | undefined;
11166
+ }, {
11167
+ sourceId: string;
11168
+ fileId?: string | undefined;
11169
+ parentName?: string | undefined;
11170
+ }>;
11058
11171
  }, "strip", z.ZodTypeAny, {
11059
11172
  id: string;
11060
11173
  designSystemVersionId: string;
@@ -11077,6 +11190,7 @@ declare const DTOFigmaNode: z.ZodObject<{
11077
11190
  origin: {
11078
11191
  sourceId: string;
11079
11192
  fileId?: string | undefined;
11193
+ parentName?: string | undefined;
11080
11194
  };
11081
11195
  }, {
11082
11196
  id: string;
@@ -11100,6 +11214,7 @@ declare const DTOFigmaNode: z.ZodObject<{
11100
11214
  origin: {
11101
11215
  sourceId: string;
11102
11216
  fileId?: string | undefined;
11217
+ parentName?: string | undefined;
11103
11218
  };
11104
11219
  }>;
11105
11220
  type DTOFigmaNode = z.infer<typeof DTOFigmaNode>;
@@ -11133,16 +11248,6 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
11133
11248
  }>;
11134
11249
  createdAt: z.ZodDate;
11135
11250
  updatedAt: z.ZodDate;
11136
- origin: z.ZodObject<{
11137
- sourceId: z.ZodString;
11138
- fileId: z.ZodOptional<z.ZodString>;
11139
- }, "strip", z.ZodTypeAny, {
11140
- sourceId: string;
11141
- fileId?: string | undefined;
11142
- }, {
11143
- sourceId: string;
11144
- fileId?: string | undefined;
11145
- }>;
11146
11251
  data: z.ZodObject<{
11147
11252
  figmaNodeId: z.ZodString;
11148
11253
  isValid: z.ZodBoolean;
@@ -11168,6 +11273,19 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
11168
11273
  assetWidth?: number | undefined;
11169
11274
  assetHeight?: number | undefined;
11170
11275
  }>;
11276
+ origin: z.ZodObject<{
11277
+ sourceId: z.ZodString;
11278
+ fileId: z.ZodOptional<z.ZodString>;
11279
+ parentName: z.ZodOptional<z.ZodString>;
11280
+ }, "strip", z.ZodTypeAny, {
11281
+ sourceId: string;
11282
+ fileId?: string | undefined;
11283
+ parentName?: string | undefined;
11284
+ }, {
11285
+ sourceId: string;
11286
+ fileId?: string | undefined;
11287
+ parentName?: string | undefined;
11288
+ }>;
11171
11289
  }, "strip", z.ZodTypeAny, {
11172
11290
  id: string;
11173
11291
  designSystemVersionId: string;
@@ -11190,6 +11308,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
11190
11308
  origin: {
11191
11309
  sourceId: string;
11192
11310
  fileId?: string | undefined;
11311
+ parentName?: string | undefined;
11193
11312
  };
11194
11313
  }, {
11195
11314
  id: string;
@@ -11213,6 +11332,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
11213
11332
  origin: {
11214
11333
  sourceId: string;
11215
11334
  fileId?: string | undefined;
11335
+ parentName?: string | undefined;
11216
11336
  };
11217
11337
  }>, "many">;
11218
11338
  }, "strip", z.ZodTypeAny, {
@@ -11239,6 +11359,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
11239
11359
  origin: {
11240
11360
  sourceId: string;
11241
11361
  fileId?: string | undefined;
11362
+ parentName?: string | undefined;
11242
11363
  };
11243
11364
  }[];
11244
11365
  }, {
@@ -11265,6 +11386,7 @@ declare const DTOFigmaNodeRenderActionOutput: z.ZodObject<{
11265
11386
  origin: {
11266
11387
  sourceId: string;
11267
11388
  fileId?: string | undefined;
11389
+ parentName?: string | undefined;
11268
11390
  };
11269
11391
  }[];
11270
11392
  }>;
@@ -12461,16 +12583,6 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
12461
12583
  }>;
12462
12584
  createdAt: z.ZodDate;
12463
12585
  updatedAt: z.ZodDate;
12464
- origin: z.ZodObject<{
12465
- sourceId: z.ZodString;
12466
- fileId: z.ZodOptional<z.ZodString>;
12467
- }, "strip", z.ZodTypeAny, {
12468
- sourceId: string;
12469
- fileId?: string | undefined;
12470
- }, {
12471
- sourceId: string;
12472
- fileId?: string | undefined;
12473
- }>;
12474
12586
  data: z.ZodObject<{
12475
12587
  figmaNodeId: z.ZodString;
12476
12588
  isValid: z.ZodBoolean;
@@ -12496,6 +12608,19 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
12496
12608
  assetWidth?: number | undefined;
12497
12609
  assetHeight?: number | undefined;
12498
12610
  }>;
12611
+ origin: z.ZodObject<{
12612
+ sourceId: z.ZodString;
12613
+ fileId: z.ZodOptional<z.ZodString>;
12614
+ parentName: z.ZodOptional<z.ZodString>;
12615
+ }, "strip", z.ZodTypeAny, {
12616
+ sourceId: string;
12617
+ fileId?: string | undefined;
12618
+ parentName?: string | undefined;
12619
+ }, {
12620
+ sourceId: string;
12621
+ fileId?: string | undefined;
12622
+ parentName?: string | undefined;
12623
+ }>;
12499
12624
  }, "strip", z.ZodTypeAny, {
12500
12625
  id: string;
12501
12626
  designSystemVersionId: string;
@@ -12518,6 +12643,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
12518
12643
  origin: {
12519
12644
  sourceId: string;
12520
12645
  fileId?: string | undefined;
12646
+ parentName?: string | undefined;
12521
12647
  };
12522
12648
  }, {
12523
12649
  id: string;
@@ -12541,6 +12667,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
12541
12667
  origin: {
12542
12668
  sourceId: string;
12543
12669
  fileId?: string | undefined;
12670
+ parentName?: string | undefined;
12544
12671
  };
12545
12672
  }>, "many">;
12546
12673
  }, "strip", z.ZodTypeAny, {
@@ -12567,6 +12694,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
12567
12694
  origin: {
12568
12695
  sourceId: string;
12569
12696
  fileId?: string | undefined;
12697
+ parentName?: string | undefined;
12570
12698
  };
12571
12699
  }[];
12572
12700
  }, {
@@ -12593,6 +12721,7 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
12593
12721
  origin: {
12594
12722
  sourceId: string;
12595
12723
  fileId?: string | undefined;
12724
+ parentName?: string | undefined;
12596
12725
  };
12597
12726
  }[];
12598
12727
  }>, z.ZodObject<{
@@ -14746,16 +14875,6 @@ declare const DTOElementsGetOutput: z.ZodObject<{
14746
14875
  }>;
14747
14876
  createdAt: z.ZodDate;
14748
14877
  updatedAt: z.ZodDate;
14749
- origin: z.ZodObject<{
14750
- sourceId: z.ZodString;
14751
- fileId: z.ZodOptional<z.ZodString>;
14752
- }, "strip", z.ZodTypeAny, {
14753
- sourceId: string;
14754
- fileId?: string | undefined;
14755
- }, {
14756
- sourceId: string;
14757
- fileId?: string | undefined;
14758
- }>;
14759
14878
  data: z.ZodObject<{
14760
14879
  figmaNodeId: z.ZodString;
14761
14880
  isValid: z.ZodBoolean;
@@ -14781,6 +14900,19 @@ declare const DTOElementsGetOutput: z.ZodObject<{
14781
14900
  assetWidth?: number | undefined;
14782
14901
  assetHeight?: number | undefined;
14783
14902
  }>;
14903
+ origin: z.ZodObject<{
14904
+ sourceId: z.ZodString;
14905
+ fileId: z.ZodOptional<z.ZodString>;
14906
+ parentName: z.ZodOptional<z.ZodString>;
14907
+ }, "strip", z.ZodTypeAny, {
14908
+ sourceId: string;
14909
+ fileId?: string | undefined;
14910
+ parentName?: string | undefined;
14911
+ }, {
14912
+ sourceId: string;
14913
+ fileId?: string | undefined;
14914
+ parentName?: string | undefined;
14915
+ }>;
14784
14916
  }, "strip", z.ZodTypeAny, {
14785
14917
  id: string;
14786
14918
  designSystemVersionId: string;
@@ -14803,6 +14935,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
14803
14935
  origin: {
14804
14936
  sourceId: string;
14805
14937
  fileId?: string | undefined;
14938
+ parentName?: string | undefined;
14806
14939
  };
14807
14940
  }, {
14808
14941
  id: string;
@@ -14826,6 +14959,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
14826
14959
  origin: {
14827
14960
  sourceId: string;
14828
14961
  fileId?: string | undefined;
14962
+ parentName?: string | undefined;
14829
14963
  };
14830
14964
  }>, "many">>;
14831
14965
  }, "strip", z.ZodTypeAny, {
@@ -14851,6 +14985,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
14851
14985
  origin: {
14852
14986
  sourceId: string;
14853
14987
  fileId?: string | undefined;
14988
+ parentName?: string | undefined;
14854
14989
  };
14855
14990
  }[] | undefined;
14856
14991
  }, {
@@ -14876,6 +15011,7 @@ declare const DTOElementsGetOutput: z.ZodObject<{
14876
15011
  origin: {
14877
15012
  sourceId: string;
14878
15013
  fileId?: string | undefined;
15014
+ parentName?: string | undefined;
14879
15015
  };
14880
15016
  }[] | undefined;
14881
15017
  }>;
@@ -14888,7 +15024,7 @@ type DTOElementsGetTypeFilter = z.infer<typeof DTOElementsGetTypeFilter>;
14888
15024
  declare const DTOIntegration: z.ZodObject<{
14889
15025
  id: z.ZodString;
14890
15026
  workspaceId: z.ZodString;
14891
- type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
15027
+ type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
14892
15028
  createdAt: z.ZodDate;
14893
15029
  integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
14894
15030
  id: z.ZodString;
@@ -14898,17 +15034,22 @@ declare const DTOIntegration: z.ZodObject<{
14898
15034
  userId: z.ZodString;
14899
15035
  createdAt: z.ZodDate;
14900
15036
  refreshToken: z.ZodOptional<z.ZodString>;
15037
+ tokenName: z.ZodOptional<z.ZodString>;
15038
+ expiresAt: z.ZodOptional<z.ZodDate>;
14901
15039
  profile: z.ZodOptional<z.ZodObject<{
14902
15040
  id: z.ZodString;
14903
- username: z.ZodOptional<z.ZodString>;
15041
+ email: z.ZodOptional<z.ZodString>;
15042
+ handle: z.ZodOptional<z.ZodString>;
14904
15043
  avatarUrl: z.ZodOptional<z.ZodString>;
14905
15044
  }, "strip", z.ZodTypeAny, {
14906
15045
  id: string;
14907
- username?: string | undefined;
15046
+ email?: string | undefined;
15047
+ handle?: string | undefined;
14908
15048
  avatarUrl?: string | undefined;
14909
15049
  }, {
14910
15050
  id: string;
14911
- username?: string | undefined;
15051
+ email?: string | undefined;
15052
+ handle?: string | undefined;
14912
15053
  avatarUrl?: string | undefined;
14913
15054
  }>>;
14914
15055
  customUrl: z.ZodOptional<z.ZodString>;
@@ -14920,9 +15061,12 @@ declare const DTOIntegration: z.ZodObject<{
14920
15061
  userId: string;
14921
15062
  integrationId: string;
14922
15063
  refreshToken?: string | undefined;
15064
+ tokenName?: string | undefined;
15065
+ expiresAt?: Date | undefined;
14923
15066
  profile?: {
14924
15067
  id: string;
14925
- username?: string | undefined;
15068
+ email?: string | undefined;
15069
+ handle?: string | undefined;
14926
15070
  avatarUrl?: string | undefined;
14927
15071
  } | undefined;
14928
15072
  customUrl?: string | undefined;
@@ -14934,16 +15078,38 @@ declare const DTOIntegration: z.ZodObject<{
14934
15078
  userId: string;
14935
15079
  integrationId: string;
14936
15080
  refreshToken?: string | undefined;
15081
+ tokenName?: string | undefined;
15082
+ expiresAt?: Date | undefined;
14937
15083
  profile?: {
14938
15084
  id: string;
14939
- username?: string | undefined;
15085
+ email?: string | undefined;
15086
+ handle?: string | undefined;
14940
15087
  avatarUrl?: string | undefined;
14941
15088
  } | undefined;
14942
15089
  customUrl?: string | undefined;
14943
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">>;
14944
15110
  }, "strip", z.ZodTypeAny, {
14945
15111
  id: string;
14946
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15112
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
14947
15113
  workspaceId: string;
14948
15114
  createdAt: Date;
14949
15115
  integrationCredentials?: {
@@ -14954,16 +15120,26 @@ declare const DTOIntegration: z.ZodObject<{
14954
15120
  userId: string;
14955
15121
  integrationId: string;
14956
15122
  refreshToken?: string | undefined;
15123
+ tokenName?: string | undefined;
15124
+ expiresAt?: Date | undefined;
14957
15125
  profile?: {
14958
15126
  id: string;
14959
- username?: string | undefined;
15127
+ email?: string | undefined;
15128
+ handle?: string | undefined;
14960
15129
  avatarUrl?: string | undefined;
14961
15130
  } | undefined;
14962
15131
  customUrl?: string | undefined;
14963
15132
  }[] | undefined;
15133
+ integrationDesignSystems?: {
15134
+ designSystemId: string;
15135
+ brandId: string;
15136
+ title?: string | undefined;
15137
+ userId?: string | undefined;
15138
+ date?: Date | undefined;
15139
+ }[] | undefined;
14964
15140
  }, {
14965
15141
  id: string;
14966
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15142
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
14967
15143
  workspaceId: string;
14968
15144
  createdAt: Date;
14969
15145
  integrationCredentials?: {
@@ -14974,13 +15150,23 @@ declare const DTOIntegration: z.ZodObject<{
14974
15150
  userId: string;
14975
15151
  integrationId: string;
14976
15152
  refreshToken?: string | undefined;
15153
+ tokenName?: string | undefined;
15154
+ expiresAt?: Date | undefined;
14977
15155
  profile?: {
14978
15156
  id: string;
14979
- username?: string | undefined;
15157
+ email?: string | undefined;
15158
+ handle?: string | undefined;
14980
15159
  avatarUrl?: string | undefined;
14981
15160
  } | undefined;
14982
15161
  customUrl?: string | undefined;
14983
15162
  }[] | undefined;
15163
+ integrationDesignSystems?: {
15164
+ designSystemId: string;
15165
+ brandId: string;
15166
+ title?: string | undefined;
15167
+ userId?: string | undefined;
15168
+ date?: Date | undefined;
15169
+ }[] | undefined;
14984
15170
  }>;
14985
15171
  type DTOIntegration = z.infer<typeof DTOIntegration>;
14986
15172
  declare const DTOIntegrationOAuthGetResponse: z.ZodObject<{
@@ -14995,7 +15181,7 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
14995
15181
  integration: z.ZodObject<{
14996
15182
  id: z.ZodString;
14997
15183
  workspaceId: z.ZodString;
14998
- type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
15184
+ type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
14999
15185
  createdAt: z.ZodDate;
15000
15186
  integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
15001
15187
  id: z.ZodString;
@@ -15005,17 +15191,22 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
15005
15191
  userId: z.ZodString;
15006
15192
  createdAt: z.ZodDate;
15007
15193
  refreshToken: z.ZodOptional<z.ZodString>;
15194
+ tokenName: z.ZodOptional<z.ZodString>;
15195
+ expiresAt: z.ZodOptional<z.ZodDate>;
15008
15196
  profile: z.ZodOptional<z.ZodObject<{
15009
15197
  id: z.ZodString;
15010
- username: z.ZodOptional<z.ZodString>;
15198
+ email: z.ZodOptional<z.ZodString>;
15199
+ handle: z.ZodOptional<z.ZodString>;
15011
15200
  avatarUrl: z.ZodOptional<z.ZodString>;
15012
15201
  }, "strip", z.ZodTypeAny, {
15013
15202
  id: string;
15014
- username?: string | undefined;
15203
+ email?: string | undefined;
15204
+ handle?: string | undefined;
15015
15205
  avatarUrl?: string | undefined;
15016
15206
  }, {
15017
15207
  id: string;
15018
- username?: string | undefined;
15208
+ email?: string | undefined;
15209
+ handle?: string | undefined;
15019
15210
  avatarUrl?: string | undefined;
15020
15211
  }>>;
15021
15212
  customUrl: z.ZodOptional<z.ZodString>;
@@ -15027,9 +15218,12 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
15027
15218
  userId: string;
15028
15219
  integrationId: string;
15029
15220
  refreshToken?: string | undefined;
15221
+ tokenName?: string | undefined;
15222
+ expiresAt?: Date | undefined;
15030
15223
  profile?: {
15031
15224
  id: string;
15032
- username?: string | undefined;
15225
+ email?: string | undefined;
15226
+ handle?: string | undefined;
15033
15227
  avatarUrl?: string | undefined;
15034
15228
  } | undefined;
15035
15229
  customUrl?: string | undefined;
@@ -15041,16 +15235,38 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
15041
15235
  userId: string;
15042
15236
  integrationId: string;
15043
15237
  refreshToken?: string | undefined;
15238
+ tokenName?: string | undefined;
15239
+ expiresAt?: Date | undefined;
15044
15240
  profile?: {
15045
15241
  id: string;
15046
- username?: string | undefined;
15242
+ email?: string | undefined;
15243
+ handle?: string | undefined;
15047
15244
  avatarUrl?: string | undefined;
15048
15245
  } | undefined;
15049
15246
  customUrl?: string | undefined;
15050
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">>;
15051
15267
  }, "strip", z.ZodTypeAny, {
15052
15268
  id: string;
15053
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15269
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
15054
15270
  workspaceId: string;
15055
15271
  createdAt: Date;
15056
15272
  integrationCredentials?: {
@@ -15061,16 +15277,26 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
15061
15277
  userId: string;
15062
15278
  integrationId: string;
15063
15279
  refreshToken?: string | undefined;
15280
+ tokenName?: string | undefined;
15281
+ expiresAt?: Date | undefined;
15064
15282
  profile?: {
15065
15283
  id: string;
15066
- username?: string | undefined;
15284
+ email?: string | undefined;
15285
+ handle?: string | undefined;
15067
15286
  avatarUrl?: string | undefined;
15068
15287
  } | undefined;
15069
15288
  customUrl?: string | undefined;
15070
15289
  }[] | undefined;
15290
+ integrationDesignSystems?: {
15291
+ designSystemId: string;
15292
+ brandId: string;
15293
+ title?: string | undefined;
15294
+ userId?: string | undefined;
15295
+ date?: Date | undefined;
15296
+ }[] | undefined;
15071
15297
  }, {
15072
15298
  id: string;
15073
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15299
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
15074
15300
  workspaceId: string;
15075
15301
  createdAt: Date;
15076
15302
  integrationCredentials?: {
@@ -15081,18 +15307,28 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
15081
15307
  userId: string;
15082
15308
  integrationId: string;
15083
15309
  refreshToken?: string | undefined;
15310
+ tokenName?: string | undefined;
15311
+ expiresAt?: Date | undefined;
15084
15312
  profile?: {
15085
15313
  id: string;
15086
- username?: string | undefined;
15314
+ email?: string | undefined;
15315
+ handle?: string | undefined;
15087
15316
  avatarUrl?: string | undefined;
15088
15317
  } | undefined;
15089
15318
  customUrl?: string | undefined;
15090
15319
  }[] | undefined;
15320
+ integrationDesignSystems?: {
15321
+ designSystemId: string;
15322
+ brandId: string;
15323
+ title?: string | undefined;
15324
+ userId?: string | undefined;
15325
+ date?: Date | undefined;
15326
+ }[] | undefined;
15091
15327
  }>;
15092
15328
  }, "strip", z.ZodTypeAny, {
15093
15329
  integration: {
15094
15330
  id: string;
15095
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15331
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
15096
15332
  workspaceId: string;
15097
15333
  createdAt: Date;
15098
15334
  integrationCredentials?: {
@@ -15103,18 +15339,28 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
15103
15339
  userId: string;
15104
15340
  integrationId: string;
15105
15341
  refreshToken?: string | undefined;
15342
+ tokenName?: string | undefined;
15343
+ expiresAt?: Date | undefined;
15106
15344
  profile?: {
15107
15345
  id: string;
15108
- username?: string | undefined;
15346
+ email?: string | undefined;
15347
+ handle?: string | undefined;
15109
15348
  avatarUrl?: string | undefined;
15110
15349
  } | undefined;
15111
15350
  customUrl?: string | undefined;
15112
15351
  }[] | undefined;
15352
+ integrationDesignSystems?: {
15353
+ designSystemId: string;
15354
+ brandId: string;
15355
+ title?: string | undefined;
15356
+ userId?: string | undefined;
15357
+ date?: Date | undefined;
15358
+ }[] | undefined;
15113
15359
  };
15114
15360
  }, {
15115
15361
  integration: {
15116
15362
  id: string;
15117
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15363
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
15118
15364
  workspaceId: string;
15119
15365
  createdAt: Date;
15120
15366
  integrationCredentials?: {
@@ -15125,13 +15371,23 @@ declare const DTOIntegrationPostResponse: z.ZodObject<{
15125
15371
  userId: string;
15126
15372
  integrationId: string;
15127
15373
  refreshToken?: string | undefined;
15374
+ tokenName?: string | undefined;
15375
+ expiresAt?: Date | undefined;
15128
15376
  profile?: {
15129
15377
  id: string;
15130
- username?: string | undefined;
15378
+ email?: string | undefined;
15379
+ handle?: string | undefined;
15131
15380
  avatarUrl?: string | undefined;
15132
15381
  } | undefined;
15133
15382
  customUrl?: string | undefined;
15134
15383
  }[] | undefined;
15384
+ integrationDesignSystems?: {
15385
+ designSystemId: string;
15386
+ brandId: string;
15387
+ title?: string | undefined;
15388
+ userId?: string | undefined;
15389
+ date?: Date | undefined;
15390
+ }[] | undefined;
15135
15391
  };
15136
15392
  }>;
15137
15393
  type DTOIntegrationPostResponse = z.infer<typeof DTOIntegrationPostResponse>;
@@ -15139,7 +15395,7 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
15139
15395
  integrations: z.ZodArray<z.ZodObject<{
15140
15396
  id: z.ZodString;
15141
15397
  workspaceId: z.ZodString;
15142
- type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
15398
+ type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure", "TokenStudio", "FigmaVariablesPlugin"]>;
15143
15399
  createdAt: z.ZodDate;
15144
15400
  integrationCredentials: z.ZodOptional<z.ZodArray<z.ZodObject<{
15145
15401
  id: z.ZodString;
@@ -15149,17 +15405,22 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
15149
15405
  userId: z.ZodString;
15150
15406
  createdAt: z.ZodDate;
15151
15407
  refreshToken: z.ZodOptional<z.ZodString>;
15408
+ tokenName: z.ZodOptional<z.ZodString>;
15409
+ expiresAt: z.ZodOptional<z.ZodDate>;
15152
15410
  profile: z.ZodOptional<z.ZodObject<{
15153
15411
  id: z.ZodString;
15154
- username: z.ZodOptional<z.ZodString>;
15412
+ email: z.ZodOptional<z.ZodString>;
15413
+ handle: z.ZodOptional<z.ZodString>;
15155
15414
  avatarUrl: z.ZodOptional<z.ZodString>;
15156
15415
  }, "strip", z.ZodTypeAny, {
15157
15416
  id: string;
15158
- username?: string | undefined;
15417
+ email?: string | undefined;
15418
+ handle?: string | undefined;
15159
15419
  avatarUrl?: string | undefined;
15160
15420
  }, {
15161
15421
  id: string;
15162
- username?: string | undefined;
15422
+ email?: string | undefined;
15423
+ handle?: string | undefined;
15163
15424
  avatarUrl?: string | undefined;
15164
15425
  }>>;
15165
15426
  customUrl: z.ZodOptional<z.ZodString>;
@@ -15171,9 +15432,12 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
15171
15432
  userId: string;
15172
15433
  integrationId: string;
15173
15434
  refreshToken?: string | undefined;
15435
+ tokenName?: string | undefined;
15436
+ expiresAt?: Date | undefined;
15174
15437
  profile?: {
15175
15438
  id: string;
15176
- username?: string | undefined;
15439
+ email?: string | undefined;
15440
+ handle?: string | undefined;
15177
15441
  avatarUrl?: string | undefined;
15178
15442
  } | undefined;
15179
15443
  customUrl?: string | undefined;
@@ -15185,16 +15449,38 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
15185
15449
  userId: string;
15186
15450
  integrationId: string;
15187
15451
  refreshToken?: string | undefined;
15452
+ tokenName?: string | undefined;
15453
+ expiresAt?: Date | undefined;
15188
15454
  profile?: {
15189
15455
  id: string;
15190
- username?: string | undefined;
15456
+ email?: string | undefined;
15457
+ handle?: string | undefined;
15191
15458
  avatarUrl?: string | undefined;
15192
15459
  } | undefined;
15193
15460
  customUrl?: string | undefined;
15194
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">>;
15195
15481
  }, "strip", z.ZodTypeAny, {
15196
15482
  id: string;
15197
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15483
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
15198
15484
  workspaceId: string;
15199
15485
  createdAt: Date;
15200
15486
  integrationCredentials?: {
@@ -15205,16 +15491,26 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
15205
15491
  userId: string;
15206
15492
  integrationId: string;
15207
15493
  refreshToken?: string | undefined;
15494
+ tokenName?: string | undefined;
15495
+ expiresAt?: Date | undefined;
15208
15496
  profile?: {
15209
15497
  id: string;
15210
- username?: string | undefined;
15498
+ email?: string | undefined;
15499
+ handle?: string | undefined;
15211
15500
  avatarUrl?: string | undefined;
15212
15501
  } | undefined;
15213
15502
  customUrl?: string | undefined;
15214
15503
  }[] | undefined;
15504
+ integrationDesignSystems?: {
15505
+ designSystemId: string;
15506
+ brandId: string;
15507
+ title?: string | undefined;
15508
+ userId?: string | undefined;
15509
+ date?: Date | undefined;
15510
+ }[] | undefined;
15215
15511
  }, {
15216
15512
  id: string;
15217
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15513
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
15218
15514
  workspaceId: string;
15219
15515
  createdAt: Date;
15220
15516
  integrationCredentials?: {
@@ -15225,18 +15521,28 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
15225
15521
  userId: string;
15226
15522
  integrationId: string;
15227
15523
  refreshToken?: string | undefined;
15524
+ tokenName?: string | undefined;
15525
+ expiresAt?: Date | undefined;
15228
15526
  profile?: {
15229
15527
  id: string;
15230
- username?: string | undefined;
15528
+ email?: string | undefined;
15529
+ handle?: string | undefined;
15231
15530
  avatarUrl?: string | undefined;
15232
15531
  } | undefined;
15233
15532
  customUrl?: string | undefined;
15234
15533
  }[] | undefined;
15534
+ integrationDesignSystems?: {
15535
+ designSystemId: string;
15536
+ brandId: string;
15537
+ title?: string | undefined;
15538
+ userId?: string | undefined;
15539
+ date?: Date | undefined;
15540
+ }[] | undefined;
15235
15541
  }>, "many">;
15236
15542
  }, "strip", z.ZodTypeAny, {
15237
15543
  integrations: {
15238
15544
  id: string;
15239
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15545
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
15240
15546
  workspaceId: string;
15241
15547
  createdAt: Date;
15242
15548
  integrationCredentials?: {
@@ -15247,18 +15553,28 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
15247
15553
  userId: string;
15248
15554
  integrationId: string;
15249
15555
  refreshToken?: string | undefined;
15556
+ tokenName?: string | undefined;
15557
+ expiresAt?: Date | undefined;
15250
15558
  profile?: {
15251
15559
  id: string;
15252
- username?: string | undefined;
15560
+ email?: string | undefined;
15561
+ handle?: string | undefined;
15253
15562
  avatarUrl?: string | undefined;
15254
15563
  } | undefined;
15255
15564
  customUrl?: string | undefined;
15256
15565
  }[] | undefined;
15566
+ integrationDesignSystems?: {
15567
+ designSystemId: string;
15568
+ brandId: string;
15569
+ title?: string | undefined;
15570
+ userId?: string | undefined;
15571
+ date?: Date | undefined;
15572
+ }[] | undefined;
15257
15573
  }[];
15258
15574
  }, {
15259
15575
  integrations: {
15260
15576
  id: string;
15261
- type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure";
15577
+ type: "Figma" | "Github" | "Gitlab" | "Bitbucket" | "Azure" | "TokenStudio" | "FigmaVariablesPlugin";
15262
15578
  workspaceId: string;
15263
15579
  createdAt: Date;
15264
15580
  integrationCredentials?: {
@@ -15269,13 +15585,23 @@ declare const DTOIntegrationsGetListResponse: z.ZodObject<{
15269
15585
  userId: string;
15270
15586
  integrationId: string;
15271
15587
  refreshToken?: string | undefined;
15588
+ tokenName?: string | undefined;
15589
+ expiresAt?: Date | undefined;
15272
15590
  profile?: {
15273
15591
  id: string;
15274
- username?: string | undefined;
15592
+ email?: string | undefined;
15593
+ handle?: string | undefined;
15275
15594
  avatarUrl?: string | undefined;
15276
15595
  } | undefined;
15277
15596
  customUrl?: string | undefined;
15278
15597
  }[] | undefined;
15598
+ integrationDesignSystems?: {
15599
+ designSystemId: string;
15600
+ brandId: string;
15601
+ title?: string | undefined;
15602
+ userId?: string | undefined;
15603
+ date?: Date | undefined;
15604
+ }[] | undefined;
15279
15605
  }[];
15280
15606
  }>;
15281
15607
  type DTOIntegrationsGetListResponse = z.infer<typeof DTOIntegrationsGetListResponse>;
@@ -20013,7 +20339,7 @@ declare function documentationPagesToStructureDTOV2(pages: DocumentationPageV2[]
20013
20339
  declare function documentationPagesToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2[];
20014
20340
  declare function documentationPagesFixedConfigurationToDTOV2(pages: DocumentationPageV2[], groups: ElementGroup[], routingVersion: string): DTODocumentationPageV2[];
20015
20341
 
20016
- declare function integrationToDto(integration: Integration): DTOIntegration;
20342
+ declare function integrationToDto(integration: ExtendedIntegration): DTOIntegration;
20017
20343
 
20018
20344
  declare const DTOCreateBrandInput: z.ZodObject<{
20019
20345
  persistentId: z.ZodString;
@@ -20052,7 +20378,7 @@ declare const ObjectMeta: z.ZodObject<{
20052
20378
  name?: string | undefined;
20053
20379
  description?: string | undefined;
20054
20380
  }>;
20055
- declare function validateSemver(version: string): boolean;
20381
+ declare function validateDesignSystemVersion(version: string): boolean;
20056
20382
  declare const DTOCreateVersionInput: z.ZodObject<{
20057
20383
  meta: z.ZodObject<{
20058
20384
  name: z.ZodOptional<z.ZodString>;
@@ -21044,35 +21370,68 @@ type DTOWorkspaceIntegrationOauthInput = z.infer<typeof DTOWorkspaceIntegrationO
21044
21370
  declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
21045
21371
  userId: z.ZodString;
21046
21372
  type: z.ZodEnum<["Figma", "Github", "Gitlab", "Bitbucket", "Azure"]>;
21047
- token: z.ZodEffects<z.ZodObject<{
21373
+ token: z.ZodEffects<z.ZodEffects<z.ZodObject<{
21048
21374
  access_token: z.ZodString;
21049
21375
  refresh_token: z.ZodOptional<z.ZodString>;
21050
- expires_in: z.ZodOptional<z.ZodNumber>;
21376
+ expires_in: z.ZodUnion<[z.ZodOptional<z.ZodNumber>, z.ZodOptional<z.ZodString>]>;
21051
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>;
21052
21381
  custom_url: z.ZodEffects<z.ZodOptional<z.ZodString>, string | undefined, string | undefined>;
21053
21382
  }, "strip", z.ZodTypeAny, {
21054
21383
  access_token: string;
21055
21384
  refresh_token?: string | undefined;
21056
- 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;
21057
21404
  token_type?: string | undefined;
21405
+ token_name?: string | undefined;
21406
+ token_azure_organization_name?: string | undefined;
21407
+ token_bitbucket_username?: string | undefined;
21058
21408
  custom_url?: string | undefined;
21059
21409
  }, {
21060
21410
  access_token: string;
21061
21411
  refresh_token?: string | undefined;
21062
- expires_in?: number | undefined;
21412
+ expires_in?: string | number | undefined;
21063
21413
  token_type?: string | undefined;
21414
+ token_name?: string | undefined;
21415
+ token_azure_organization_name?: string | undefined;
21416
+ token_bitbucket_username?: string | undefined;
21064
21417
  custom_url?: string | undefined;
21065
21418
  }>, {
21066
21419
  accessToken: string;
21067
21420
  refreshToken: string | undefined;
21068
21421
  expiresIn: number | undefined;
21069
21422
  tokenType: string | undefined;
21423
+ tokenName: string | undefined;
21424
+ tokenBitbucketUsername: string | undefined;
21425
+ tokenAzureOrganizationName: string | undefined;
21070
21426
  customUrl: string | undefined;
21071
21427
  }, {
21072
21428
  access_token: string;
21073
21429
  refresh_token?: string | undefined;
21074
- expires_in?: number | undefined;
21430
+ expires_in?: string | number | undefined;
21075
21431
  token_type?: string | undefined;
21432
+ token_name?: string | undefined;
21433
+ token_azure_organization_name?: string | undefined;
21434
+ token_bitbucket_username?: string | undefined;
21076
21435
  custom_url?: string | undefined;
21077
21436
  }>;
21078
21437
  }, "strip", z.ZodTypeAny, {
@@ -21083,6 +21442,9 @@ declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
21083
21442
  refreshToken: string | undefined;
21084
21443
  expiresIn: number | undefined;
21085
21444
  tokenType: string | undefined;
21445
+ tokenName: string | undefined;
21446
+ tokenBitbucketUsername: string | undefined;
21447
+ tokenAzureOrganizationName: string | undefined;
21086
21448
  customUrl: string | undefined;
21087
21449
  };
21088
21450
  }, {
@@ -21091,8 +21453,11 @@ declare const DTOWorkspaceIntegrationPATInput: z.ZodObject<{
21091
21453
  token: {
21092
21454
  access_token: string;
21093
21455
  refresh_token?: string | undefined;
21094
- expires_in?: number | undefined;
21456
+ expires_in?: string | number | undefined;
21095
21457
  token_type?: string | undefined;
21458
+ token_name?: string | undefined;
21459
+ token_azure_organization_name?: string | undefined;
21460
+ token_bitbucket_username?: string | undefined;
21096
21461
  custom_url?: string | undefined;
21097
21462
  };
21098
21463
  }>;
@@ -23420,4 +23785,4 @@ declare const BlockDefinitionUtils: {
23420
23785
  };
23421
23786
  };
23422
23787
 
23423
- export { BlockDefinitionUtils, BlockParsingUtils, DTOBrand, DTOBrandCreateResponse, DTOBrandGetResponse, DTOBrandsListResponse, DTOCreateBrandInput, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabInput, DTOCreateElementPropertyDefinitionInputV2, DTOCreateVersionInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODeleteElementPropertyDefinitionInputV2, DTODesignSystem, DTODesignSystemVersion, DTODesignSystemVersionCreationResponse, DTODesignSystemVersionGetResponse, 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, 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, validateSemver, validateSsoPayload, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
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 };