@supernova-studio/client 0.20.0 → 0.20.1

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
@@ -106,6 +106,27 @@ declare const DTODocumentationGroupCreateActionOutputV2: z.ZodObject<{
106
106
  };
107
107
  }>;
108
108
  type DTODocumentationGroupCreateActionOutputV2 = z.infer<typeof DTODocumentationGroupCreateActionOutputV2>;
109
+ declare const DTODocumentationTabGroupCreateActionOutputV2: z.ZodObject<{
110
+ type: z.ZodLiteral<"DocumentationTabGroupCreate">;
111
+ output: z.ZodObject<{
112
+ success: z.ZodLiteral<true>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ success: true;
115
+ }, {
116
+ success: true;
117
+ }>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ type: "DocumentationTabGroupCreate";
120
+ output: {
121
+ success: true;
122
+ };
123
+ }, {
124
+ type: "DocumentationTabGroupCreate";
125
+ output: {
126
+ success: true;
127
+ };
128
+ }>;
129
+ type DTODocumentationTabGroupCreateActionOutputV2 = z.infer<typeof DTODocumentationTabGroupCreateActionOutputV2>;
109
130
  declare const DTODocumentationGroupUpdateActionOutputV2: z.ZodObject<{
110
131
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
111
132
  output: z.ZodObject<{
@@ -190,6 +211,27 @@ declare const DTODocumentationGroupDeleteActionOutputV2: z.ZodObject<{
190
211
  };
191
212
  }>;
192
213
  type DTODocumentationGroupDeleteActionOutputV2 = z.infer<typeof DTODocumentationGroupDeleteActionOutputV2>;
214
+ declare const DTODocumentationTabGroupDeleteActionOutputV2: z.ZodObject<{
215
+ type: z.ZodLiteral<"DocumentationTabGroupDelete">;
216
+ output: z.ZodObject<{
217
+ success: z.ZodLiteral<true>;
218
+ }, "strip", z.ZodTypeAny, {
219
+ success: true;
220
+ }, {
221
+ success: true;
222
+ }>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ type: "DocumentationTabGroupDelete";
225
+ output: {
226
+ success: true;
227
+ };
228
+ }, {
229
+ type: "DocumentationTabGroupDelete";
230
+ output: {
231
+ success: true;
232
+ };
233
+ }>;
234
+ type DTODocumentationTabGroupDeleteActionOutputV2 = z.infer<typeof DTODocumentationTabGroupDeleteActionOutputV2>;
193
235
  declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
194
236
  type: z.ZodLiteral<"DocumentationGroupCreate">;
195
237
  input: z.ZodObject<{
@@ -569,14 +611,12 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
569
611
  minHeight?: number | null | undefined;
570
612
  };
571
613
  }>>;
572
- groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
573
614
  afterPersistentId: z.ZodOptional<z.ZodString>;
574
615
  parentPersistentId: z.ZodString;
575
616
  }, "strip", z.ZodTypeAny, {
576
617
  persistentId: string;
577
618
  parentPersistentId: string;
578
619
  title: string;
579
- groupBehavior: "Group" | "Tabs";
580
620
  configuration?: {
581
621
  showSidebar: boolean;
582
622
  header: {
@@ -630,7 +670,6 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
630
670
  persistentId: string;
631
671
  parentPersistentId: string;
632
672
  title: string;
633
- groupBehavior: "Group" | "Tabs";
634
673
  configuration?: {
635
674
  showSidebar: boolean;
636
675
  header: {
@@ -687,7 +726,6 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
687
726
  persistentId: string;
688
727
  parentPersistentId: string;
689
728
  title: string;
690
- groupBehavior: "Group" | "Tabs";
691
729
  configuration?: {
692
730
  showSidebar: boolean;
693
731
  header: {
@@ -744,7 +782,6 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
744
782
  persistentId: string;
745
783
  parentPersistentId: string;
746
784
  title: string;
747
- groupBehavior: "Group" | "Tabs";
748
785
  configuration?: {
749
786
  showSidebar: boolean;
750
787
  header: {
@@ -797,6 +834,37 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
797
834
  };
798
835
  }>;
799
836
  type DTODocumentationGroupCreateActionInputV2 = z.infer<typeof DTODocumentationGroupCreateActionInputV2>;
837
+ declare const DTODocumentationTabGroupCreateActionInputV2: z.ZodObject<{
838
+ type: z.ZodLiteral<"DocumentationTabGroupCreate">;
839
+ input: z.ZodObject<{
840
+ persistentId: z.ZodString;
841
+ fromPageId: z.ZodString;
842
+ tabName: z.ZodString;
843
+ }, "strip", z.ZodTypeAny, {
844
+ persistentId: string;
845
+ fromPageId: string;
846
+ tabName: string;
847
+ }, {
848
+ persistentId: string;
849
+ fromPageId: string;
850
+ tabName: string;
851
+ }>;
852
+ }, "strip", z.ZodTypeAny, {
853
+ type: "DocumentationTabGroupCreate";
854
+ input: {
855
+ persistentId: string;
856
+ fromPageId: string;
857
+ tabName: string;
858
+ };
859
+ }, {
860
+ type: "DocumentationTabGroupCreate";
861
+ input: {
862
+ persistentId: string;
863
+ fromPageId: string;
864
+ tabName: string;
865
+ };
866
+ }>;
867
+ type DTODocumentationTabGroupCreateActionInputV2 = z.infer<typeof DTODocumentationTabGroupCreateActionInputV2>;
800
868
  declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
801
869
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
802
870
  input: z.ZodObject<{
@@ -1482,6 +1550,27 @@ declare const DTODocumentationGroupDeleteActionInputV2: z.ZodObject<{
1482
1550
  };
1483
1551
  }>;
1484
1552
  type DTODocumentationGroupDeleteActionInputV2 = z.infer<typeof DTODocumentationGroupDeleteActionInputV2>;
1553
+ declare const DTODocumentationTabGroupDeleteActionInputV2: z.ZodObject<{
1554
+ type: z.ZodLiteral<"DocumentationTabGroupDelete">;
1555
+ input: z.ZodObject<{
1556
+ id: z.ZodString;
1557
+ }, "strip", z.ZodTypeAny, {
1558
+ id: string;
1559
+ }, {
1560
+ id: string;
1561
+ }>;
1562
+ }, "strip", z.ZodTypeAny, {
1563
+ type: "DocumentationTabGroupDelete";
1564
+ input: {
1565
+ id: string;
1566
+ };
1567
+ }, {
1568
+ type: "DocumentationTabGroupDelete";
1569
+ input: {
1570
+ id: string;
1571
+ };
1572
+ }>;
1573
+ type DTODocumentationTabGroupDeleteActionInputV2 = z.infer<typeof DTODocumentationTabGroupDeleteActionInputV2>;
1485
1574
 
1486
1575
  /**
1487
1576
  * Structure DTO is element properties minus element data (in other words data required
@@ -2422,14 +2511,12 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
2422
2511
  minHeight?: number | null | undefined;
2423
2512
  };
2424
2513
  }>>;
2425
- groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
2426
2514
  afterPersistentId: z.ZodOptional<z.ZodString>;
2427
2515
  parentPersistentId: z.ZodString;
2428
2516
  }, "strip", z.ZodTypeAny, {
2429
2517
  persistentId: string;
2430
2518
  parentPersistentId: string;
2431
2519
  title: string;
2432
- groupBehavior: "Group" | "Tabs";
2433
2520
  configuration?: {
2434
2521
  showSidebar: boolean;
2435
2522
  header: {
@@ -2483,7 +2570,6 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
2483
2570
  persistentId: string;
2484
2571
  parentPersistentId: string;
2485
2572
  title: string;
2486
- groupBehavior: "Group" | "Tabs";
2487
2573
  configuration?: {
2488
2574
  showSidebar: boolean;
2489
2575
  header: {
@@ -7122,6 +7208,25 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7122
7208
  output: {
7123
7209
  success: true;
7124
7210
  };
7211
+ }>, z.ZodObject<{
7212
+ type: z.ZodLiteral<"DocumentationTabGroupCreate">;
7213
+ output: z.ZodObject<{
7214
+ success: z.ZodLiteral<true>;
7215
+ }, "strip", z.ZodTypeAny, {
7216
+ success: true;
7217
+ }, {
7218
+ success: true;
7219
+ }>;
7220
+ }, "strip", z.ZodTypeAny, {
7221
+ type: "DocumentationTabGroupCreate";
7222
+ output: {
7223
+ success: true;
7224
+ };
7225
+ }, {
7226
+ type: "DocumentationTabGroupCreate";
7227
+ output: {
7228
+ success: true;
7229
+ };
7125
7230
  }>, z.ZodObject<{
7126
7231
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
7127
7232
  output: z.ZodObject<{
@@ -7198,6 +7303,25 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7198
7303
  output: {
7199
7304
  success: true;
7200
7305
  };
7306
+ }>, z.ZodObject<{
7307
+ type: z.ZodLiteral<"DocumentationTabGroupDelete">;
7308
+ output: z.ZodObject<{
7309
+ success: z.ZodLiteral<true>;
7310
+ }, "strip", z.ZodTypeAny, {
7311
+ success: true;
7312
+ }, {
7313
+ success: true;
7314
+ }>;
7315
+ }, "strip", z.ZodTypeAny, {
7316
+ type: "DocumentationTabGroupDelete";
7317
+ output: {
7318
+ success: true;
7319
+ };
7320
+ }, {
7321
+ type: "DocumentationTabGroupDelete";
7322
+ output: {
7323
+ success: true;
7324
+ };
7201
7325
  }>]>;
7202
7326
  type DTOElementActionOutput = z.infer<typeof DTOElementActionOutput>;
7203
7327
  declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -8851,14 +8975,12 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8851
8975
  minHeight?: number | null | undefined;
8852
8976
  };
8853
8977
  }>>;
8854
- groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
8855
8978
  afterPersistentId: z.ZodOptional<z.ZodString>;
8856
8979
  parentPersistentId: z.ZodString;
8857
8980
  }, "strip", z.ZodTypeAny, {
8858
8981
  persistentId: string;
8859
8982
  parentPersistentId: string;
8860
8983
  title: string;
8861
- groupBehavior: "Group" | "Tabs";
8862
8984
  configuration?: {
8863
8985
  showSidebar: boolean;
8864
8986
  header: {
@@ -8912,7 +9034,6 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8912
9034
  persistentId: string;
8913
9035
  parentPersistentId: string;
8914
9036
  title: string;
8915
- groupBehavior: "Group" | "Tabs";
8916
9037
  configuration?: {
8917
9038
  showSidebar: boolean;
8918
9039
  header: {
@@ -8969,7 +9090,6 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8969
9090
  persistentId: string;
8970
9091
  parentPersistentId: string;
8971
9092
  title: string;
8972
- groupBehavior: "Group" | "Tabs";
8973
9093
  configuration?: {
8974
9094
  showSidebar: boolean;
8975
9095
  header: {
@@ -9026,7 +9146,6 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9026
9146
  persistentId: string;
9027
9147
  parentPersistentId: string;
9028
9148
  title: string;
9029
- groupBehavior: "Group" | "Tabs";
9030
9149
  configuration?: {
9031
9150
  showSidebar: boolean;
9032
9151
  header: {
@@ -9077,6 +9196,35 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9077
9196
  } | undefined;
9078
9197
  afterPersistentId?: string | undefined;
9079
9198
  };
9199
+ }>, z.ZodObject<{
9200
+ type: z.ZodLiteral<"DocumentationTabGroupCreate">;
9201
+ input: z.ZodObject<{
9202
+ persistentId: z.ZodString;
9203
+ fromPageId: z.ZodString;
9204
+ tabName: z.ZodString;
9205
+ }, "strip", z.ZodTypeAny, {
9206
+ persistentId: string;
9207
+ fromPageId: string;
9208
+ tabName: string;
9209
+ }, {
9210
+ persistentId: string;
9211
+ fromPageId: string;
9212
+ tabName: string;
9213
+ }>;
9214
+ }, "strip", z.ZodTypeAny, {
9215
+ type: "DocumentationTabGroupCreate";
9216
+ input: {
9217
+ persistentId: string;
9218
+ fromPageId: string;
9219
+ tabName: string;
9220
+ };
9221
+ }, {
9222
+ type: "DocumentationTabGroupCreate";
9223
+ input: {
9224
+ persistentId: string;
9225
+ fromPageId: string;
9226
+ tabName: string;
9227
+ };
9080
9228
  }>, z.ZodObject<{
9081
9229
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
9082
9230
  input: z.ZodObject<{
@@ -9754,6 +9902,25 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9754
9902
  id: string;
9755
9903
  deleteSubtree?: boolean | undefined;
9756
9904
  };
9905
+ }>, z.ZodObject<{
9906
+ type: z.ZodLiteral<"DocumentationTabGroupDelete">;
9907
+ input: z.ZodObject<{
9908
+ id: z.ZodString;
9909
+ }, "strip", z.ZodTypeAny, {
9910
+ id: string;
9911
+ }, {
9912
+ id: string;
9913
+ }>;
9914
+ }, "strip", z.ZodTypeAny, {
9915
+ type: "DocumentationTabGroupDelete";
9916
+ input: {
9917
+ id: string;
9918
+ };
9919
+ }, {
9920
+ type: "DocumentationTabGroupDelete";
9921
+ input: {
9922
+ id: string;
9923
+ };
9757
9924
  }>]>;
9758
9925
  type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
9759
9926
 
@@ -11904,4 +12071,4 @@ declare const BlockDefinitionUtils: {
11904
12071
  };
11905
12072
  };
11906
12073
 
11907
- 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, 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 };
12074
+ 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 };
package/dist/index.d.ts CHANGED
@@ -106,6 +106,27 @@ declare const DTODocumentationGroupCreateActionOutputV2: z.ZodObject<{
106
106
  };
107
107
  }>;
108
108
  type DTODocumentationGroupCreateActionOutputV2 = z.infer<typeof DTODocumentationGroupCreateActionOutputV2>;
109
+ declare const DTODocumentationTabGroupCreateActionOutputV2: z.ZodObject<{
110
+ type: z.ZodLiteral<"DocumentationTabGroupCreate">;
111
+ output: z.ZodObject<{
112
+ success: z.ZodLiteral<true>;
113
+ }, "strip", z.ZodTypeAny, {
114
+ success: true;
115
+ }, {
116
+ success: true;
117
+ }>;
118
+ }, "strip", z.ZodTypeAny, {
119
+ type: "DocumentationTabGroupCreate";
120
+ output: {
121
+ success: true;
122
+ };
123
+ }, {
124
+ type: "DocumentationTabGroupCreate";
125
+ output: {
126
+ success: true;
127
+ };
128
+ }>;
129
+ type DTODocumentationTabGroupCreateActionOutputV2 = z.infer<typeof DTODocumentationTabGroupCreateActionOutputV2>;
109
130
  declare const DTODocumentationGroupUpdateActionOutputV2: z.ZodObject<{
110
131
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
111
132
  output: z.ZodObject<{
@@ -190,6 +211,27 @@ declare const DTODocumentationGroupDeleteActionOutputV2: z.ZodObject<{
190
211
  };
191
212
  }>;
192
213
  type DTODocumentationGroupDeleteActionOutputV2 = z.infer<typeof DTODocumentationGroupDeleteActionOutputV2>;
214
+ declare const DTODocumentationTabGroupDeleteActionOutputV2: z.ZodObject<{
215
+ type: z.ZodLiteral<"DocumentationTabGroupDelete">;
216
+ output: z.ZodObject<{
217
+ success: z.ZodLiteral<true>;
218
+ }, "strip", z.ZodTypeAny, {
219
+ success: true;
220
+ }, {
221
+ success: true;
222
+ }>;
223
+ }, "strip", z.ZodTypeAny, {
224
+ type: "DocumentationTabGroupDelete";
225
+ output: {
226
+ success: true;
227
+ };
228
+ }, {
229
+ type: "DocumentationTabGroupDelete";
230
+ output: {
231
+ success: true;
232
+ };
233
+ }>;
234
+ type DTODocumentationTabGroupDeleteActionOutputV2 = z.infer<typeof DTODocumentationTabGroupDeleteActionOutputV2>;
193
235
  declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
194
236
  type: z.ZodLiteral<"DocumentationGroupCreate">;
195
237
  input: z.ZodObject<{
@@ -569,14 +611,12 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
569
611
  minHeight?: number | null | undefined;
570
612
  };
571
613
  }>>;
572
- groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
573
614
  afterPersistentId: z.ZodOptional<z.ZodString>;
574
615
  parentPersistentId: z.ZodString;
575
616
  }, "strip", z.ZodTypeAny, {
576
617
  persistentId: string;
577
618
  parentPersistentId: string;
578
619
  title: string;
579
- groupBehavior: "Group" | "Tabs";
580
620
  configuration?: {
581
621
  showSidebar: boolean;
582
622
  header: {
@@ -630,7 +670,6 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
630
670
  persistentId: string;
631
671
  parentPersistentId: string;
632
672
  title: string;
633
- groupBehavior: "Group" | "Tabs";
634
673
  configuration?: {
635
674
  showSidebar: boolean;
636
675
  header: {
@@ -687,7 +726,6 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
687
726
  persistentId: string;
688
727
  parentPersistentId: string;
689
728
  title: string;
690
- groupBehavior: "Group" | "Tabs";
691
729
  configuration?: {
692
730
  showSidebar: boolean;
693
731
  header: {
@@ -744,7 +782,6 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
744
782
  persistentId: string;
745
783
  parentPersistentId: string;
746
784
  title: string;
747
- groupBehavior: "Group" | "Tabs";
748
785
  configuration?: {
749
786
  showSidebar: boolean;
750
787
  header: {
@@ -797,6 +834,37 @@ declare const DTODocumentationGroupCreateActionInputV2: z.ZodObject<{
797
834
  };
798
835
  }>;
799
836
  type DTODocumentationGroupCreateActionInputV2 = z.infer<typeof DTODocumentationGroupCreateActionInputV2>;
837
+ declare const DTODocumentationTabGroupCreateActionInputV2: z.ZodObject<{
838
+ type: z.ZodLiteral<"DocumentationTabGroupCreate">;
839
+ input: z.ZodObject<{
840
+ persistentId: z.ZodString;
841
+ fromPageId: z.ZodString;
842
+ tabName: z.ZodString;
843
+ }, "strip", z.ZodTypeAny, {
844
+ persistentId: string;
845
+ fromPageId: string;
846
+ tabName: string;
847
+ }, {
848
+ persistentId: string;
849
+ fromPageId: string;
850
+ tabName: string;
851
+ }>;
852
+ }, "strip", z.ZodTypeAny, {
853
+ type: "DocumentationTabGroupCreate";
854
+ input: {
855
+ persistentId: string;
856
+ fromPageId: string;
857
+ tabName: string;
858
+ };
859
+ }, {
860
+ type: "DocumentationTabGroupCreate";
861
+ input: {
862
+ persistentId: string;
863
+ fromPageId: string;
864
+ tabName: string;
865
+ };
866
+ }>;
867
+ type DTODocumentationTabGroupCreateActionInputV2 = z.infer<typeof DTODocumentationTabGroupCreateActionInputV2>;
800
868
  declare const DTODocumentationGroupUpdateActionInputV2: z.ZodObject<{
801
869
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
802
870
  input: z.ZodObject<{
@@ -1482,6 +1550,27 @@ declare const DTODocumentationGroupDeleteActionInputV2: z.ZodObject<{
1482
1550
  };
1483
1551
  }>;
1484
1552
  type DTODocumentationGroupDeleteActionInputV2 = z.infer<typeof DTODocumentationGroupDeleteActionInputV2>;
1553
+ declare const DTODocumentationTabGroupDeleteActionInputV2: z.ZodObject<{
1554
+ type: z.ZodLiteral<"DocumentationTabGroupDelete">;
1555
+ input: z.ZodObject<{
1556
+ id: z.ZodString;
1557
+ }, "strip", z.ZodTypeAny, {
1558
+ id: string;
1559
+ }, {
1560
+ id: string;
1561
+ }>;
1562
+ }, "strip", z.ZodTypeAny, {
1563
+ type: "DocumentationTabGroupDelete";
1564
+ input: {
1565
+ id: string;
1566
+ };
1567
+ }, {
1568
+ type: "DocumentationTabGroupDelete";
1569
+ input: {
1570
+ id: string;
1571
+ };
1572
+ }>;
1573
+ type DTODocumentationTabGroupDeleteActionInputV2 = z.infer<typeof DTODocumentationTabGroupDeleteActionInputV2>;
1485
1574
 
1486
1575
  /**
1487
1576
  * Structure DTO is element properties minus element data (in other words data required
@@ -2422,14 +2511,12 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
2422
2511
  minHeight?: number | null | undefined;
2423
2512
  };
2424
2513
  }>>;
2425
- groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
2426
2514
  afterPersistentId: z.ZodOptional<z.ZodString>;
2427
2515
  parentPersistentId: z.ZodString;
2428
2516
  }, "strip", z.ZodTypeAny, {
2429
2517
  persistentId: string;
2430
2518
  parentPersistentId: string;
2431
2519
  title: string;
2432
- groupBehavior: "Group" | "Tabs";
2433
2520
  configuration?: {
2434
2521
  showSidebar: boolean;
2435
2522
  header: {
@@ -2483,7 +2570,6 @@ declare const DTOCreateDocumentationGroupInput: z.ZodObject<{
2483
2570
  persistentId: string;
2484
2571
  parentPersistentId: string;
2485
2572
  title: string;
2486
- groupBehavior: "Group" | "Tabs";
2487
2573
  configuration?: {
2488
2574
  showSidebar: boolean;
2489
2575
  header: {
@@ -7122,6 +7208,25 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7122
7208
  output: {
7123
7209
  success: true;
7124
7210
  };
7211
+ }>, z.ZodObject<{
7212
+ type: z.ZodLiteral<"DocumentationTabGroupCreate">;
7213
+ output: z.ZodObject<{
7214
+ success: z.ZodLiteral<true>;
7215
+ }, "strip", z.ZodTypeAny, {
7216
+ success: true;
7217
+ }, {
7218
+ success: true;
7219
+ }>;
7220
+ }, "strip", z.ZodTypeAny, {
7221
+ type: "DocumentationTabGroupCreate";
7222
+ output: {
7223
+ success: true;
7224
+ };
7225
+ }, {
7226
+ type: "DocumentationTabGroupCreate";
7227
+ output: {
7228
+ success: true;
7229
+ };
7125
7230
  }>, z.ZodObject<{
7126
7231
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
7127
7232
  output: z.ZodObject<{
@@ -7198,6 +7303,25 @@ declare const DTOElementActionOutput: z.ZodDiscriminatedUnion<"type", [z.ZodObje
7198
7303
  output: {
7199
7304
  success: true;
7200
7305
  };
7306
+ }>, z.ZodObject<{
7307
+ type: z.ZodLiteral<"DocumentationTabGroupDelete">;
7308
+ output: z.ZodObject<{
7309
+ success: z.ZodLiteral<true>;
7310
+ }, "strip", z.ZodTypeAny, {
7311
+ success: true;
7312
+ }, {
7313
+ success: true;
7314
+ }>;
7315
+ }, "strip", z.ZodTypeAny, {
7316
+ type: "DocumentationTabGroupDelete";
7317
+ output: {
7318
+ success: true;
7319
+ };
7320
+ }, {
7321
+ type: "DocumentationTabGroupDelete";
7322
+ output: {
7323
+ success: true;
7324
+ };
7201
7325
  }>]>;
7202
7326
  type DTOElementActionOutput = z.infer<typeof DTOElementActionOutput>;
7203
7327
  declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
@@ -8851,14 +8975,12 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8851
8975
  minHeight?: number | null | undefined;
8852
8976
  };
8853
8977
  }>>;
8854
- groupBehavior: z.ZodEnum<["Group", "Tabs"]>;
8855
8978
  afterPersistentId: z.ZodOptional<z.ZodString>;
8856
8979
  parentPersistentId: z.ZodString;
8857
8980
  }, "strip", z.ZodTypeAny, {
8858
8981
  persistentId: string;
8859
8982
  parentPersistentId: string;
8860
8983
  title: string;
8861
- groupBehavior: "Group" | "Tabs";
8862
8984
  configuration?: {
8863
8985
  showSidebar: boolean;
8864
8986
  header: {
@@ -8912,7 +9034,6 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8912
9034
  persistentId: string;
8913
9035
  parentPersistentId: string;
8914
9036
  title: string;
8915
- groupBehavior: "Group" | "Tabs";
8916
9037
  configuration?: {
8917
9038
  showSidebar: boolean;
8918
9039
  header: {
@@ -8969,7 +9090,6 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
8969
9090
  persistentId: string;
8970
9091
  parentPersistentId: string;
8971
9092
  title: string;
8972
- groupBehavior: "Group" | "Tabs";
8973
9093
  configuration?: {
8974
9094
  showSidebar: boolean;
8975
9095
  header: {
@@ -9026,7 +9146,6 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9026
9146
  persistentId: string;
9027
9147
  parentPersistentId: string;
9028
9148
  title: string;
9029
- groupBehavior: "Group" | "Tabs";
9030
9149
  configuration?: {
9031
9150
  showSidebar: boolean;
9032
9151
  header: {
@@ -9077,6 +9196,35 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9077
9196
  } | undefined;
9078
9197
  afterPersistentId?: string | undefined;
9079
9198
  };
9199
+ }>, z.ZodObject<{
9200
+ type: z.ZodLiteral<"DocumentationTabGroupCreate">;
9201
+ input: z.ZodObject<{
9202
+ persistentId: z.ZodString;
9203
+ fromPageId: z.ZodString;
9204
+ tabName: z.ZodString;
9205
+ }, "strip", z.ZodTypeAny, {
9206
+ persistentId: string;
9207
+ fromPageId: string;
9208
+ tabName: string;
9209
+ }, {
9210
+ persistentId: string;
9211
+ fromPageId: string;
9212
+ tabName: string;
9213
+ }>;
9214
+ }, "strip", z.ZodTypeAny, {
9215
+ type: "DocumentationTabGroupCreate";
9216
+ input: {
9217
+ persistentId: string;
9218
+ fromPageId: string;
9219
+ tabName: string;
9220
+ };
9221
+ }, {
9222
+ type: "DocumentationTabGroupCreate";
9223
+ input: {
9224
+ persistentId: string;
9225
+ fromPageId: string;
9226
+ tabName: string;
9227
+ };
9080
9228
  }>, z.ZodObject<{
9081
9229
  type: z.ZodLiteral<"DocumentationGroupUpdate">;
9082
9230
  input: z.ZodObject<{
@@ -9754,6 +9902,25 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
9754
9902
  id: string;
9755
9903
  deleteSubtree?: boolean | undefined;
9756
9904
  };
9905
+ }>, z.ZodObject<{
9906
+ type: z.ZodLiteral<"DocumentationTabGroupDelete">;
9907
+ input: z.ZodObject<{
9908
+ id: z.ZodString;
9909
+ }, "strip", z.ZodTypeAny, {
9910
+ id: string;
9911
+ }, {
9912
+ id: string;
9913
+ }>;
9914
+ }, "strip", z.ZodTypeAny, {
9915
+ type: "DocumentationTabGroupDelete";
9916
+ input: {
9917
+ id: string;
9918
+ };
9919
+ }, {
9920
+ type: "DocumentationTabGroupDelete";
9921
+ input: {
9922
+ id: string;
9923
+ };
9757
9924
  }>]>;
9758
9925
  type DTOElementActionInput = z.infer<typeof DTOElementActionInput>;
9759
9926
 
@@ -11904,4 +12071,4 @@ declare const BlockDefinitionUtils: {
11904
12071
  };
11905
12072
  };
11906
12073
 
11907
- 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, 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 };
12074
+ 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 };