@supernova-studio/client 0.21.0 → 0.21.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
@@ -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<{
@@ -5591,29 +5591,29 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5591
5591
  input: z.ZodObject<{
5592
5592
  id: z.ZodString;
5593
5593
  parentPersistentId: z.ZodString;
5594
- afterPersistentId: z.ZodString;
5594
+ afterPersistentId: z.ZodOptional<z.ZodString>;
5595
5595
  }, "strip", z.ZodTypeAny, {
5596
5596
  id: string;
5597
5597
  parentPersistentId: string;
5598
- afterPersistentId: string;
5598
+ afterPersistentId?: string | undefined;
5599
5599
  }, {
5600
5600
  id: string;
5601
5601
  parentPersistentId: string;
5602
- afterPersistentId: string;
5602
+ afterPersistentId?: string | undefined;
5603
5603
  }>;
5604
5604
  }, "strip", z.ZodTypeAny, {
5605
5605
  type: "DocumentationPageMove";
5606
5606
  input: {
5607
5607
  id: string;
5608
5608
  parentPersistentId: string;
5609
- afterPersistentId: string;
5609
+ afterPersistentId?: string | undefined;
5610
5610
  };
5611
5611
  }, {
5612
5612
  type: "DocumentationPageMove";
5613
5613
  input: {
5614
5614
  id: string;
5615
5615
  parentPersistentId: string;
5616
- afterPersistentId: string;
5616
+ afterPersistentId?: string | undefined;
5617
5617
  };
5618
5618
  }>, z.ZodObject<{
5619
5619
  type: z.ZodLiteral<"DocumentationPageDuplicate">;
@@ -6367,30 +6367,30 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6367
6367
  type: z.ZodLiteral<"DocumentationGroupMove">;
6368
6368
  input: z.ZodObject<{
6369
6369
  id: z.ZodString;
6370
- afterPersistentId: z.ZodString;
6371
6370
  parentPersistentId: z.ZodString;
6371
+ afterPersistentId: z.ZodOptional<z.ZodString>;
6372
6372
  }, "strip", z.ZodTypeAny, {
6373
6373
  id: string;
6374
6374
  parentPersistentId: string;
6375
- afterPersistentId: string;
6375
+ afterPersistentId?: string | undefined;
6376
6376
  }, {
6377
6377
  id: string;
6378
6378
  parentPersistentId: string;
6379
- afterPersistentId: string;
6379
+ afterPersistentId?: string | undefined;
6380
6380
  }>;
6381
6381
  }, "strip", z.ZodTypeAny, {
6382
6382
  type: "DocumentationGroupMove";
6383
6383
  input: {
6384
6384
  id: string;
6385
6385
  parentPersistentId: string;
6386
- afterPersistentId: string;
6386
+ afterPersistentId?: string | undefined;
6387
6387
  };
6388
6388
  }, {
6389
6389
  type: "DocumentationGroupMove";
6390
6390
  input: {
6391
6391
  id: string;
6392
6392
  parentPersistentId: string;
6393
- afterPersistentId: string;
6393
+ afterPersistentId?: string | undefined;
6394
6394
  };
6395
6395
  }>, z.ZodObject<{
6396
6396
  type: z.ZodLiteral<"DocumentationGroupDuplicate">;
package/dist/index.d.ts 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<{
@@ -5591,29 +5591,29 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
5591
5591
  input: z.ZodObject<{
5592
5592
  id: z.ZodString;
5593
5593
  parentPersistentId: z.ZodString;
5594
- afterPersistentId: z.ZodString;
5594
+ afterPersistentId: z.ZodOptional<z.ZodString>;
5595
5595
  }, "strip", z.ZodTypeAny, {
5596
5596
  id: string;
5597
5597
  parentPersistentId: string;
5598
- afterPersistentId: string;
5598
+ afterPersistentId?: string | undefined;
5599
5599
  }, {
5600
5600
  id: string;
5601
5601
  parentPersistentId: string;
5602
- afterPersistentId: string;
5602
+ afterPersistentId?: string | undefined;
5603
5603
  }>;
5604
5604
  }, "strip", z.ZodTypeAny, {
5605
5605
  type: "DocumentationPageMove";
5606
5606
  input: {
5607
5607
  id: string;
5608
5608
  parentPersistentId: string;
5609
- afterPersistentId: string;
5609
+ afterPersistentId?: string | undefined;
5610
5610
  };
5611
5611
  }, {
5612
5612
  type: "DocumentationPageMove";
5613
5613
  input: {
5614
5614
  id: string;
5615
5615
  parentPersistentId: string;
5616
- afterPersistentId: string;
5616
+ afterPersistentId?: string | undefined;
5617
5617
  };
5618
5618
  }>, z.ZodObject<{
5619
5619
  type: z.ZodLiteral<"DocumentationPageDuplicate">;
@@ -6367,30 +6367,30 @@ declare const DTOElementActionInput: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
6367
6367
  type: z.ZodLiteral<"DocumentationGroupMove">;
6368
6368
  input: z.ZodObject<{
6369
6369
  id: z.ZodString;
6370
- afterPersistentId: z.ZodString;
6371
6370
  parentPersistentId: z.ZodString;
6371
+ afterPersistentId: z.ZodOptional<z.ZodString>;
6372
6372
  }, "strip", z.ZodTypeAny, {
6373
6373
  id: string;
6374
6374
  parentPersistentId: string;
6375
- afterPersistentId: string;
6375
+ afterPersistentId?: string | undefined;
6376
6376
  }, {
6377
6377
  id: string;
6378
6378
  parentPersistentId: string;
6379
- afterPersistentId: string;
6379
+ afterPersistentId?: string | undefined;
6380
6380
  }>;
6381
6381
  }, "strip", z.ZodTypeAny, {
6382
6382
  type: "DocumentationGroupMove";
6383
6383
  input: {
6384
6384
  id: string;
6385
6385
  parentPersistentId: string;
6386
- afterPersistentId: string;
6386
+ afterPersistentId?: string | undefined;
6387
6387
  };
6388
6388
  }, {
6389
6389
  type: "DocumentationGroupMove";
6390
6390
  input: {
6391
6391
  id: string;
6392
6392
  parentPersistentId: string;
6393
- afterPersistentId: string;
6393
+ afterPersistentId?: string | undefined;
6394
6394
  };
6395
6395
  }>, z.ZodObject<{
6396
6396
  type: z.ZodLiteral<"DocumentationGroupDuplicate">;
package/dist/index.js CHANGED
@@ -3648,8 +3648,8 @@ var DTOMoveDocumentationGroupInput = _zod.z.object({
3648
3648
  // Identifier of the group to update
3649
3649
  id: _zod.z.string().uuid(),
3650
3650
  // Group placement properties
3651
- afterPersistentId: _zod.z.string().uuid(),
3652
- parentPersistentId: _zod.z.string().uuid()
3651
+ parentPersistentId: _zod.z.string().uuid(),
3652
+ afterPersistentId: _zod.z.string().uuid().optional()
3653
3653
  });
3654
3654
  var DTODuplicateDocumentationGroupInput = _zod.z.object({
3655
3655
  // Identifier of the group to duplicate from
@@ -3783,7 +3783,7 @@ var DTOMoveDocumentationPageInputV2 = _zod.z.object({
3783
3783
  id: _zod.z.string(),
3784
3784
  // Page placement properties
3785
3785
  parentPersistentId: _zod.z.string().uuid(),
3786
- afterPersistentId: _zod.z.string().uuid()
3786
+ afterPersistentId: _zod.z.string().uuid().optional()
3787
3787
  });
3788
3788
  var DTODuplicateDocumentationPageInputV2 = _zod.z.object({
3789
3789
  // Identifier of the page to duplicate from