@supernova-studio/client 0.21.0 → 0.22.0

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
@@ -937,30 +937,30 @@ declare const DTODocumentationGroupMoveActionInputV2: z.ZodObject<{
937
937
  type: z.ZodLiteral<"DocumentationGroupMove">;
938
938
  input: z.ZodObject<{
939
939
  id: z.ZodString;
940
- afterPersistentId: z.ZodString;
941
940
  parentPersistentId: z.ZodString;
941
+ afterPersistentId: z.ZodOptional<z.ZodString>;
942
942
  }, "strip", z.ZodTypeAny, {
943
943
  id: string;
944
944
  parentPersistentId: string;
945
- afterPersistentId: string;
945
+ afterPersistentId?: string | undefined;
946
946
  }, {
947
947
  id: string;
948
948
  parentPersistentId: string;
949
- afterPersistentId: string;
949
+ afterPersistentId?: string | undefined;
950
950
  }>;
951
951
  }, "strip", z.ZodTypeAny, {
952
952
  type: "DocumentationGroupMove";
953
953
  input: {
954
954
  id: string;
955
955
  parentPersistentId: string;
956
- afterPersistentId: string;
956
+ afterPersistentId?: string | undefined;
957
957
  };
958
958
  }, {
959
959
  type: "DocumentationGroupMove";
960
960
  input: {
961
961
  id: string;
962
962
  parentPersistentId: string;
963
- afterPersistentId: string;
963
+ afterPersistentId?: string | undefined;
964
964
  };
965
965
  }>;
966
966
  type DTODocumentationGroupMoveActionInputV2 = z.infer<typeof DTODocumentationGroupMoveActionInputV2>;
@@ -1902,16 +1902,16 @@ declare const DTOUpdateDocumentationGroupInput: z.ZodObject<{
1902
1902
  type DTOUpdateDocumentationGroupInput = z.infer<typeof DTOUpdateDocumentationGroupInput>;
1903
1903
  declare const DTOMoveDocumentationGroupInput: z.ZodObject<{
1904
1904
  id: z.ZodString;
1905
- afterPersistentId: z.ZodString;
1906
1905
  parentPersistentId: z.ZodString;
1906
+ afterPersistentId: z.ZodOptional<z.ZodString>;
1907
1907
  }, "strip", z.ZodTypeAny, {
1908
1908
  id: string;
1909
1909
  parentPersistentId: string;
1910
- afterPersistentId: string;
1910
+ afterPersistentId?: string | undefined;
1911
1911
  }, {
1912
1912
  id: string;
1913
1913
  parentPersistentId: string;
1914
- afterPersistentId: string;
1914
+ afterPersistentId?: string | undefined;
1915
1915
  }>;
1916
1916
  type DTOMoveDocumentationGroupInput = z.infer<typeof DTOMoveDocumentationGroupInput>;
1917
1917
  declare const DTODuplicateDocumentationGroupInput: z.ZodObject<{
@@ -2745,29 +2745,29 @@ declare const DTODocumentationPageMoveActionInputV2: z.ZodObject<{
2745
2745
  input: z.ZodObject<{
2746
2746
  id: z.ZodString;
2747
2747
  parentPersistentId: z.ZodString;
2748
- afterPersistentId: z.ZodString;
2748
+ afterPersistentId: z.ZodOptional<z.ZodString>;
2749
2749
  }, "strip", z.ZodTypeAny, {
2750
2750
  id: string;
2751
2751
  parentPersistentId: string;
2752
- afterPersistentId: string;
2752
+ afterPersistentId?: string | undefined;
2753
2753
  }, {
2754
2754
  id: string;
2755
2755
  parentPersistentId: string;
2756
- afterPersistentId: string;
2756
+ afterPersistentId?: string | undefined;
2757
2757
  }>;
2758
2758
  }, "strip", z.ZodTypeAny, {
2759
2759
  type: "DocumentationPageMove";
2760
2760
  input: {
2761
2761
  id: string;
2762
2762
  parentPersistentId: string;
2763
- afterPersistentId: string;
2763
+ afterPersistentId?: string | undefined;
2764
2764
  };
2765
2765
  }, {
2766
2766
  type: "DocumentationPageMove";
2767
2767
  input: {
2768
2768
  id: string;
2769
2769
  parentPersistentId: string;
2770
- afterPersistentId: string;
2770
+ afterPersistentId?: string | undefined;
2771
2771
  };
2772
2772
  }>;
2773
2773
  type DTODocumentationPageMoveActionInputV2 = z.infer<typeof DTODocumentationPageMoveActionInputV2>;
@@ -4653,15 +4653,15 @@ type DTOUpdateDocumentationPageInputV2 = z.infer<typeof DTOUpdateDocumentationPa
4653
4653
  declare const DTOMoveDocumentationPageInputV2: z.ZodObject<{
4654
4654
  id: z.ZodString;
4655
4655
  parentPersistentId: z.ZodString;
4656
- afterPersistentId: z.ZodString;
4656
+ afterPersistentId: z.ZodOptional<z.ZodString>;
4657
4657
  }, "strip", z.ZodTypeAny, {
4658
4658
  id: string;
4659
4659
  parentPersistentId: string;
4660
- afterPersistentId: string;
4660
+ afterPersistentId?: string | undefined;
4661
4661
  }, {
4662
4662
  id: string;
4663
4663
  parentPersistentId: string;
4664
- afterPersistentId: string;
4664
+ afterPersistentId?: string | undefined;
4665
4665
  }>;
4666
4666
  type DTOMoveDocumentationPageInputV2 = z.infer<typeof DTOMoveDocumentationPageInputV2>;
4667
4667
  declare const DTODuplicateDocumentationPageInputV2: z.ZodObject<{
@@ -4690,6 +4690,324 @@ declare const DTODeleteDocumentationPageInputV2: z.ZodObject<{
4690
4690
  }>;
4691
4691
  type DTODeleteDocumentationPageInputV2 = z.infer<typeof DTODeleteDocumentationPageInputV2>;
4692
4692
 
4693
+ declare const DTOFigmaNodeActionOutput: z.ZodObject<{
4694
+ type: z.ZodLiteral<"FigmaNodeRender">;
4695
+ figmaNodes: z.ZodArray<z.ZodObject<{
4696
+ id: z.ZodString;
4697
+ createdAt: z.ZodDate;
4698
+ updatedAt: z.ZodDate;
4699
+ meta: z.ZodObject<{
4700
+ name: z.ZodString;
4701
+ description: z.ZodOptional<z.ZodString>;
4702
+ }, "strip", z.ZodTypeAny, {
4703
+ name: string;
4704
+ description?: string | undefined;
4705
+ }, {
4706
+ name: string;
4707
+ description?: string | undefined;
4708
+ }>;
4709
+ persistentId: z.ZodString;
4710
+ designSystemVersionId: z.ZodString;
4711
+ origin: z.ZodObject<{
4712
+ sourceId: z.ZodString;
4713
+ fileId: z.ZodOptional<z.ZodString>;
4714
+ }, "strip", z.ZodTypeAny, {
4715
+ sourceId: string;
4716
+ fileId?: string | undefined;
4717
+ }, {
4718
+ sourceId: string;
4719
+ fileId?: string | undefined;
4720
+ }>;
4721
+ data: z.ZodObject<{
4722
+ figmaNodeId: z.ZodString;
4723
+ isValid: z.ZodBoolean;
4724
+ assetId: z.ZodString;
4725
+ assetUrl: z.ZodString;
4726
+ assetScale: z.ZodNumber;
4727
+ assetWidth: z.ZodOptional<z.ZodNumber>;
4728
+ assetHeight: z.ZodOptional<z.ZodNumber>;
4729
+ }, "strip", z.ZodTypeAny, {
4730
+ figmaNodeId: string;
4731
+ isValid: boolean;
4732
+ assetId: string;
4733
+ assetUrl: string;
4734
+ assetScale: number;
4735
+ assetWidth?: number | undefined;
4736
+ assetHeight?: number | undefined;
4737
+ }, {
4738
+ figmaNodeId: string;
4739
+ isValid: boolean;
4740
+ assetId: string;
4741
+ assetUrl: string;
4742
+ assetScale: number;
4743
+ assetWidth?: number | undefined;
4744
+ assetHeight?: number | undefined;
4745
+ }>;
4746
+ }, "strip", z.ZodTypeAny, {
4747
+ id: string;
4748
+ createdAt: Date;
4749
+ updatedAt: Date;
4750
+ meta: {
4751
+ name: string;
4752
+ description?: string | undefined;
4753
+ };
4754
+ persistentId: string;
4755
+ designSystemVersionId: string;
4756
+ data: {
4757
+ figmaNodeId: string;
4758
+ isValid: boolean;
4759
+ assetId: string;
4760
+ assetUrl: string;
4761
+ assetScale: number;
4762
+ assetWidth?: number | undefined;
4763
+ assetHeight?: number | undefined;
4764
+ };
4765
+ origin: {
4766
+ sourceId: string;
4767
+ fileId?: string | undefined;
4768
+ };
4769
+ }, {
4770
+ id: string;
4771
+ createdAt: Date;
4772
+ updatedAt: Date;
4773
+ meta: {
4774
+ name: string;
4775
+ description?: string | undefined;
4776
+ };
4777
+ persistentId: string;
4778
+ designSystemVersionId: string;
4779
+ data: {
4780
+ figmaNodeId: string;
4781
+ isValid: boolean;
4782
+ assetId: string;
4783
+ assetUrl: string;
4784
+ assetScale: number;
4785
+ assetWidth?: number | undefined;
4786
+ assetHeight?: number | undefined;
4787
+ };
4788
+ origin: {
4789
+ sourceId: string;
4790
+ fileId?: string | undefined;
4791
+ };
4792
+ }>, "many">;
4793
+ }, "strip", z.ZodTypeAny, {
4794
+ type: "FigmaNodeRender";
4795
+ figmaNodes: {
4796
+ id: string;
4797
+ createdAt: Date;
4798
+ updatedAt: Date;
4799
+ meta: {
4800
+ name: string;
4801
+ description?: string | undefined;
4802
+ };
4803
+ persistentId: string;
4804
+ designSystemVersionId: string;
4805
+ data: {
4806
+ figmaNodeId: string;
4807
+ isValid: boolean;
4808
+ assetId: string;
4809
+ assetUrl: string;
4810
+ assetScale: number;
4811
+ assetWidth?: number | undefined;
4812
+ assetHeight?: number | undefined;
4813
+ };
4814
+ origin: {
4815
+ sourceId: string;
4816
+ fileId?: string | undefined;
4817
+ };
4818
+ }[];
4819
+ }, {
4820
+ type: "FigmaNodeRender";
4821
+ figmaNodes: {
4822
+ id: string;
4823
+ createdAt: Date;
4824
+ updatedAt: Date;
4825
+ meta: {
4826
+ name: string;
4827
+ description?: string | undefined;
4828
+ };
4829
+ persistentId: string;
4830
+ designSystemVersionId: string;
4831
+ data: {
4832
+ figmaNodeId: string;
4833
+ isValid: boolean;
4834
+ assetId: string;
4835
+ assetUrl: string;
4836
+ assetScale: number;
4837
+ assetWidth?: number | undefined;
4838
+ assetHeight?: number | undefined;
4839
+ };
4840
+ origin: {
4841
+ sourceId: string;
4842
+ fileId?: string | undefined;
4843
+ };
4844
+ }[];
4845
+ }>;
4846
+ type DTOFigmaNodeActionOutput = z.infer<typeof DTOFigmaNodeActionOutput>;
4847
+ declare const DTOFigmaNodeActionInput: z.ZodObject<{
4848
+ type: z.ZodLiteral<"FigmaNodeRender">;
4849
+ input: z.ZodArray<z.ZodObject<{
4850
+ sourceId: z.ZodString;
4851
+ figmaFileNodeId: z.ZodString;
4852
+ }, "strip", z.ZodTypeAny, {
4853
+ sourceId: string;
4854
+ figmaFileNodeId: string;
4855
+ }, {
4856
+ sourceId: string;
4857
+ figmaFileNodeId: string;
4858
+ }>, "many">;
4859
+ }, "strip", z.ZodTypeAny, {
4860
+ type: "FigmaNodeRender";
4861
+ input: {
4862
+ sourceId: string;
4863
+ figmaFileNodeId: string;
4864
+ }[];
4865
+ }, {
4866
+ type: "FigmaNodeRender";
4867
+ input: {
4868
+ sourceId: string;
4869
+ figmaFileNodeId: string;
4870
+ }[];
4871
+ }>;
4872
+ type DTOFigmaNodeActionInput = z.infer<typeof DTOFigmaNodeActionInput>;
4873
+
4874
+ declare const DTOFigmaNodeData: z.ZodObject<{
4875
+ figmaNodeId: z.ZodString;
4876
+ isValid: z.ZodBoolean;
4877
+ assetId: z.ZodString;
4878
+ assetUrl: z.ZodString;
4879
+ assetScale: z.ZodNumber;
4880
+ assetWidth: z.ZodOptional<z.ZodNumber>;
4881
+ assetHeight: z.ZodOptional<z.ZodNumber>;
4882
+ }, "strip", z.ZodTypeAny, {
4883
+ figmaNodeId: string;
4884
+ isValid: boolean;
4885
+ assetId: string;
4886
+ assetUrl: string;
4887
+ assetScale: number;
4888
+ assetWidth?: number | undefined;
4889
+ assetHeight?: number | undefined;
4890
+ }, {
4891
+ figmaNodeId: string;
4892
+ isValid: boolean;
4893
+ assetId: string;
4894
+ assetUrl: string;
4895
+ assetScale: number;
4896
+ assetWidth?: number | undefined;
4897
+ assetHeight?: number | undefined;
4898
+ }>;
4899
+ type DTOFigmaNodeData = z.infer<typeof DTOFigmaNodeData>;
4900
+ declare const DTOFigmaNode: z.ZodObject<{
4901
+ id: z.ZodString;
4902
+ createdAt: z.ZodDate;
4903
+ updatedAt: z.ZodDate;
4904
+ meta: z.ZodObject<{
4905
+ name: z.ZodString;
4906
+ description: z.ZodOptional<z.ZodString>;
4907
+ }, "strip", z.ZodTypeAny, {
4908
+ name: string;
4909
+ description?: string | undefined;
4910
+ }, {
4911
+ name: string;
4912
+ description?: string | undefined;
4913
+ }>;
4914
+ persistentId: z.ZodString;
4915
+ designSystemVersionId: z.ZodString;
4916
+ origin: z.ZodObject<{
4917
+ sourceId: z.ZodString;
4918
+ fileId: z.ZodOptional<z.ZodString>;
4919
+ }, "strip", z.ZodTypeAny, {
4920
+ sourceId: string;
4921
+ fileId?: string | undefined;
4922
+ }, {
4923
+ sourceId: string;
4924
+ fileId?: string | undefined;
4925
+ }>;
4926
+ data: z.ZodObject<{
4927
+ figmaNodeId: z.ZodString;
4928
+ isValid: z.ZodBoolean;
4929
+ assetId: z.ZodString;
4930
+ assetUrl: z.ZodString;
4931
+ assetScale: z.ZodNumber;
4932
+ assetWidth: z.ZodOptional<z.ZodNumber>;
4933
+ assetHeight: z.ZodOptional<z.ZodNumber>;
4934
+ }, "strip", z.ZodTypeAny, {
4935
+ figmaNodeId: string;
4936
+ isValid: boolean;
4937
+ assetId: string;
4938
+ assetUrl: string;
4939
+ assetScale: number;
4940
+ assetWidth?: number | undefined;
4941
+ assetHeight?: number | undefined;
4942
+ }, {
4943
+ figmaNodeId: string;
4944
+ isValid: boolean;
4945
+ assetId: string;
4946
+ assetUrl: string;
4947
+ assetScale: number;
4948
+ assetWidth?: number | undefined;
4949
+ assetHeight?: number | undefined;
4950
+ }>;
4951
+ }, "strip", z.ZodTypeAny, {
4952
+ id: string;
4953
+ createdAt: Date;
4954
+ updatedAt: Date;
4955
+ meta: {
4956
+ name: string;
4957
+ description?: string | undefined;
4958
+ };
4959
+ persistentId: string;
4960
+ designSystemVersionId: string;
4961
+ data: {
4962
+ figmaNodeId: string;
4963
+ isValid: boolean;
4964
+ assetId: string;
4965
+ assetUrl: string;
4966
+ assetScale: number;
4967
+ assetWidth?: number | undefined;
4968
+ assetHeight?: number | undefined;
4969
+ };
4970
+ origin: {
4971
+ sourceId: string;
4972
+ fileId?: string | undefined;
4973
+ };
4974
+ }, {
4975
+ id: string;
4976
+ createdAt: Date;
4977
+ updatedAt: Date;
4978
+ meta: {
4979
+ name: string;
4980
+ description?: string | undefined;
4981
+ };
4982
+ persistentId: string;
4983
+ designSystemVersionId: string;
4984
+ data: {
4985
+ figmaNodeId: string;
4986
+ isValid: boolean;
4987
+ assetId: string;
4988
+ assetUrl: string;
4989
+ assetScale: number;
4990
+ assetWidth?: number | undefined;
4991
+ assetHeight?: number | undefined;
4992
+ };
4993
+ origin: {
4994
+ sourceId: string;
4995
+ fileId?: string | undefined;
4996
+ };
4997
+ }>;
4998
+ type DTOFigmaNode = z.infer<typeof DTOFigmaNode>;
4999
+ declare const DTOFigmaNodeCreateInput: z.ZodObject<{
5000
+ sourceId: z.ZodString;
5001
+ figmaFileNodeId: z.ZodString;
5002
+ }, "strip", z.ZodTypeAny, {
5003
+ sourceId: string;
5004
+ figmaFileNodeId: string;
5005
+ }, {
5006
+ sourceId: string;
5007
+ figmaFileNodeId: string;
5008
+ }>;
5009
+ type DTOFigmaNodeCreateInput = z.infer<typeof DTOFigmaNodeCreateInput>;
5010
+
4693
5011
  declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4694
5012
  type: z.ZodLiteral<"DocumentationPageCreate">;
4695
5013
  output: z.ZodObject<{
@@ -4918,6 +5236,158 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
4918
5236
  output: {
4919
5237
  success: true;
4920
5238
  };
5239
+ }>, z.ZodObject<{
5240
+ type: z.ZodLiteral<"FigmaNodeRender">;
5241
+ figmaNodes: z.ZodArray<z.ZodObject<{
5242
+ id: z.ZodString;
5243
+ createdAt: z.ZodDate;
5244
+ updatedAt: z.ZodDate;
5245
+ meta: z.ZodObject<{
5246
+ name: z.ZodString;
5247
+ description: z.ZodOptional<z.ZodString>;
5248
+ }, "strip", z.ZodTypeAny, {
5249
+ name: string;
5250
+ description?: string | undefined;
5251
+ }, {
5252
+ name: string;
5253
+ description?: string | undefined;
5254
+ }>;
5255
+ persistentId: z.ZodString;
5256
+ designSystemVersionId: z.ZodString;
5257
+ origin: z.ZodObject<{
5258
+ sourceId: z.ZodString;
5259
+ fileId: z.ZodOptional<z.ZodString>;
5260
+ }, "strip", z.ZodTypeAny, {
5261
+ sourceId: string;
5262
+ fileId?: string | undefined;
5263
+ }, {
5264
+ sourceId: string;
5265
+ fileId?: string | undefined;
5266
+ }>;
5267
+ data: z.ZodObject<{
5268
+ figmaNodeId: z.ZodString;
5269
+ isValid: z.ZodBoolean;
5270
+ assetId: z.ZodString;
5271
+ assetUrl: z.ZodString;
5272
+ assetScale: z.ZodNumber;
5273
+ assetWidth: z.ZodOptional<z.ZodNumber>;
5274
+ assetHeight: z.ZodOptional<z.ZodNumber>;
5275
+ }, "strip", z.ZodTypeAny, {
5276
+ figmaNodeId: string;
5277
+ isValid: boolean;
5278
+ assetId: string;
5279
+ assetUrl: string;
5280
+ assetScale: number;
5281
+ assetWidth?: number | undefined;
5282
+ assetHeight?: number | undefined;
5283
+ }, {
5284
+ figmaNodeId: string;
5285
+ isValid: boolean;
5286
+ assetId: string;
5287
+ assetUrl: string;
5288
+ assetScale: number;
5289
+ assetWidth?: number | undefined;
5290
+ assetHeight?: number | undefined;
5291
+ }>;
5292
+ }, "strip", z.ZodTypeAny, {
5293
+ id: string;
5294
+ createdAt: Date;
5295
+ updatedAt: Date;
5296
+ meta: {
5297
+ name: string;
5298
+ description?: string | undefined;
5299
+ };
5300
+ persistentId: string;
5301
+ designSystemVersionId: string;
5302
+ data: {
5303
+ figmaNodeId: string;
5304
+ isValid: boolean;
5305
+ assetId: string;
5306
+ assetUrl: string;
5307
+ assetScale: number;
5308
+ assetWidth?: number | undefined;
5309
+ assetHeight?: number | undefined;
5310
+ };
5311
+ origin: {
5312
+ sourceId: string;
5313
+ fileId?: string | undefined;
5314
+ };
5315
+ }, {
5316
+ id: string;
5317
+ createdAt: Date;
5318
+ updatedAt: Date;
5319
+ meta: {
5320
+ name: string;
5321
+ description?: string | undefined;
5322
+ };
5323
+ persistentId: string;
5324
+ designSystemVersionId: string;
5325
+ data: {
5326
+ figmaNodeId: string;
5327
+ isValid: boolean;
5328
+ assetId: string;
5329
+ assetUrl: string;
5330
+ assetScale: number;
5331
+ assetWidth?: number | undefined;
5332
+ assetHeight?: number | undefined;
5333
+ };
5334
+ origin: {
5335
+ sourceId: string;
5336
+ fileId?: string | undefined;
5337
+ };
5338
+ }>, "many">;
5339
+ }, "strip", z.ZodTypeAny, {
5340
+ type: "FigmaNodeRender";
5341
+ figmaNodes: {
5342
+ id: string;
5343
+ createdAt: Date;
5344
+ updatedAt: Date;
5345
+ meta: {
5346
+ name: string;
5347
+ description?: string | undefined;
5348
+ };
5349
+ persistentId: string;
5350
+ designSystemVersionId: string;
5351
+ data: {
5352
+ figmaNodeId: string;
5353
+ isValid: boolean;
5354
+ assetId: string;
5355
+ assetUrl: string;
5356
+ assetScale: number;
5357
+ assetWidth?: number | undefined;
5358
+ assetHeight?: number | undefined;
5359
+ };
5360
+ origin: {
5361
+ sourceId: string;
5362
+ fileId?: string | undefined;
5363
+ };
5364
+ }[];
5365
+ }, {
5366
+ type: "FigmaNodeRender";
5367
+ figmaNodes: {
5368
+ id: string;
5369
+ createdAt: Date;
5370
+ updatedAt: Date;
5371
+ meta: {
5372
+ name: string;
5373
+ description?: string | undefined;
5374
+ };
5375
+ persistentId: string;
5376
+ designSystemVersionId: string;
5377
+ data: {
5378
+ figmaNodeId: string;
5379
+ isValid: boolean;
5380
+ assetId: string;
5381
+ assetUrl: string;
5382
+ assetScale: number;
5383
+ assetWidth?: number | undefined;
5384
+ assetHeight?: number | undefined;
5385
+ };
5386
+ origin: {
5387
+ sourceId: string;
5388
+ fileId?: string | undefined;
5389
+ };
5390
+ }[];
4921
5391
  }>]>;
4922
5392
  type DTOElementActionOutput = z.infer<typeof DTOElementActionOutput>;
4923
5393
  declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -5591,29 +6061,29 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5591
6061
  input: z.ZodObject<{
5592
6062
  id: z.ZodString;
5593
6063
  parentPersistentId: z.ZodString;
5594
- afterPersistentId: z.ZodString;
6064
+ afterPersistentId: z.ZodOptional<z.ZodString>;
5595
6065
  }, "strip", z.ZodTypeAny, {
5596
6066
  id: string;
5597
6067
  parentPersistentId: string;
5598
- afterPersistentId: string;
6068
+ afterPersistentId?: string | undefined;
5599
6069
  }, {
5600
6070
  id: string;
5601
6071
  parentPersistentId: string;
5602
- afterPersistentId: string;
6072
+ afterPersistentId?: string | undefined;
5603
6073
  }>;
5604
6074
  }, "strip", z.ZodTypeAny, {
5605
6075
  type: "DocumentationPageMove";
5606
6076
  input: {
5607
6077
  id: string;
5608
6078
  parentPersistentId: string;
5609
- afterPersistentId: string;
6079
+ afterPersistentId?: string | undefined;
5610
6080
  };
5611
6081
  }, {
5612
6082
  type: "DocumentationPageMove";
5613
6083
  input: {
5614
6084
  id: string;
5615
6085
  parentPersistentId: string;
5616
- afterPersistentId: string;
6086
+ afterPersistentId?: string | undefined;
5617
6087
  };
5618
6088
  }>, z.ZodObject<{
5619
6089
  type: z.ZodLiteral<"DocumentationPageDuplicate">;
@@ -6367,30 +6837,30 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6367
6837
  type: z.ZodLiteral<"DocumentationGroupMove">;
6368
6838
  input: z.ZodObject<{
6369
6839
  id: z.ZodString;
6370
- afterPersistentId: z.ZodString;
6371
6840
  parentPersistentId: z.ZodString;
6841
+ afterPersistentId: z.ZodOptional<z.ZodString>;
6372
6842
  }, "strip", z.ZodTypeAny, {
6373
6843
  id: string;
6374
6844
  parentPersistentId: string;
6375
- afterPersistentId: string;
6845
+ afterPersistentId?: string | undefined;
6376
6846
  }, {
6377
6847
  id: string;
6378
6848
  parentPersistentId: string;
6379
- afterPersistentId: string;
6849
+ afterPersistentId?: string | undefined;
6380
6850
  }>;
6381
6851
  }, "strip", z.ZodTypeAny, {
6382
6852
  type: "DocumentationGroupMove";
6383
6853
  input: {
6384
6854
  id: string;
6385
6855
  parentPersistentId: string;
6386
- afterPersistentId: string;
6856
+ afterPersistentId?: string | undefined;
6387
6857
  };
6388
6858
  }, {
6389
6859
  type: "DocumentationGroupMove";
6390
6860
  input: {
6391
6861
  id: string;
6392
6862
  parentPersistentId: string;
6393
- afterPersistentId: string;
6863
+ afterPersistentId?: string | undefined;
6394
6864
  };
6395
6865
  }>, z.ZodObject<{
6396
6866
  type: z.ZodLiteral<"DocumentationGroupDuplicate">;
@@ -6469,6 +6939,30 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6469
6939
  input: {
6470
6940
  id: string;
6471
6941
  };
6942
+ }>, z.ZodObject<{
6943
+ type: z.ZodLiteral<"FigmaNodeRender">;
6944
+ input: z.ZodArray<z.ZodObject<{
6945
+ sourceId: z.ZodString;
6946
+ figmaFileNodeId: z.ZodString;
6947
+ }, "strip", z.ZodTypeAny, {
6948
+ sourceId: string;
6949
+ figmaFileNodeId: string;
6950
+ }, {
6951
+ sourceId: string;
6952
+ figmaFileNodeId: string;
6953
+ }>, "many">;
6954
+ }, "strip", z.ZodTypeAny, {
6955
+ type: "FigmaNodeRender";
6956
+ input: {
6957
+ sourceId: string;
6958
+ figmaFileNodeId: string;
6959
+ }[];
6960
+ }, {
6961
+ type: "FigmaNodeRender";
6962
+ input: {
6963
+ sourceId: string;
6964
+ figmaFileNodeId: string;
6965
+ }[];
6472
6966
  }>]>;
6473
6967
  type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
6474
6968
 
@@ -8167,4 +8661,4 @@ declare const BlockDefinitionUtils: {
8167
8661
  };
8168
8662
  };
8169
8663
 
8170
- export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };
8664
+ export { BlockDefinitionUtils, BlockParsingUtils, DTOCreateDocumentationGroupInput, DTOCreateDocumentationPageInputV2, DTOCreateDocumentationTabGroupInput, DTODeleteDocumentationGroupInput, DTODeleteDocumentationPageInputV2, DTODeleteDocumentationTabGroupInput, DTODesignSystem, DTODocumentationGroupCreateActionInputV2, DTODocumentationGroupCreateActionOutputV2, DTODocumentationGroupDeleteActionInputV2, DTODocumentationGroupDeleteActionOutputV2, DTODocumentationGroupDuplicateActionInputV2, DTODocumentationGroupDuplicateActionOutputV2, DTODocumentationGroupMoveActionInputV2, DTODocumentationGroupMoveActionOutputV2, DTODocumentationGroupStructureV2, DTODocumentationGroupUpdateActionInputV2, DTODocumentationGroupUpdateActionOutputV2, DTODocumentationGroupV2, DTODocumentationHierarchyV2, DTODocumentationPageCreateActionInputV2, DTODocumentationPageCreateActionOutputV2, DTODocumentationPageDeleteActionInputV2, DTODocumentationPageDeleteActionOutputV2, DTODocumentationPageDuplicateActionInputV2, DTODocumentationPageDuplicateActionOutputV2, DTODocumentationPageMoveActionInputV2, DTODocumentationPageMoveActionOutputV2, DTODocumentationPageRoomHeaderData, DTODocumentationPageRoomHeaderDataUpdate, DTODocumentationPageStructureV2, DTODocumentationPageUpdateActionInputV2, DTODocumentationPageUpdateActionOutputV2, DTODocumentationPageV2, DTODocumentationTabGroupCreateActionInputV2, DTODocumentationTabGroupCreateActionOutputV2, DTODocumentationTabGroupDeleteActionInputV2, DTODocumentationTabGroupDeleteActionOutputV2, DTODuplicateDocumentationGroupInput, DTODuplicateDocumentationPageInputV2, DTOElementActionInput, DTOElementActionOutput, DTOFigmaNode, DTOFigmaNodeActionInput, DTOFigmaNodeActionOutput, DTOFigmaNodeCreateInput, DTOFigmaNodeData, DTOGetBlockDefinitionsOutput, DTOLiveblocksAuthRequest, DTOMoveDocumentationGroupInput, DTOMoveDocumentationPageInputV2, DTOUpdateDocumentationGroupInput, DTOUpdateDocumentationPageInputV2, DocumentationPageEditorModel, DocumentationPageV1DTO, PageBlockEditorModel, type ProsemirrorBlockItem, type ProsemirrorMark, type ProsemirrorNode, blockDefinitionForBlock, blockToProsemirrorNode, buildDocPagePublishPaths, calculateElementParentChain, documentationElementsToHierarchyDto, documentationHierarchyToYjs, documentationPagesToDTOV1, documentationPagesToDTOV2, documentationPagesToStructureDTOV2, elementGroupsToDocumentationGroupDTO, elementGroupsToDocumentationGroupStructureDTO, getMockPageBlockDefinitions, itemConfigurationToYjs, pageToProsemirrorDoc, pageToYXmlFragment, pmSchema, prosemirrorDocToPage, prosemirrorNodeToBlock, serializeAsCustomBlock, yDocToPage, yXmlFragmentToPage, yjsToDocumentationHierarchy, yjsToItemConfiguration };