@blackcode_sa/metaestetics-api 1.8.8 → 1.8.10

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.
@@ -1451,15 +1451,14 @@ declare class TechnologyService extends BaseService {
1451
1451
  }>;
1452
1452
  }
1453
1453
 
1454
- declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
1454
+ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
1455
1455
  id: z.ZodOptional<z.ZodString>;
1456
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1457
1456
  required: z.ZodOptional<z.ZodBoolean>;
1458
- }, {
1457
+ } & {
1459
1458
  type: z.ZodLiteral<DocumentElementType.HEADING>;
1460
1459
  text: z.ZodString;
1461
1460
  level: z.ZodNativeEnum<typeof HeadingLevel>;
1462
- }>, "strip", z.ZodTypeAny, {
1461
+ }, "strip", z.ZodTypeAny, {
1463
1462
  type: DocumentElementType.HEADING;
1464
1463
  text: string;
1465
1464
  level: HeadingLevel;
@@ -1471,14 +1470,13 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1471
1470
  level: HeadingLevel;
1472
1471
  id?: string | undefined;
1473
1472
  required?: boolean | undefined;
1474
- }>, z.ZodObject<z.objectUtil.extendShape<{
1473
+ }>, z.ZodObject<{
1475
1474
  id: z.ZodOptional<z.ZodString>;
1476
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1477
1475
  required: z.ZodOptional<z.ZodBoolean>;
1478
- }, {
1476
+ } & {
1479
1477
  type: z.ZodLiteral<DocumentElementType.PARAGRAPH>;
1480
1478
  text: z.ZodString;
1481
- }>, "strip", z.ZodTypeAny, {
1479
+ }, "strip", z.ZodTypeAny, {
1482
1480
  type: DocumentElementType.PARAGRAPH;
1483
1481
  text: string;
1484
1482
  id?: string | undefined;
@@ -1488,15 +1486,14 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1488
1486
  text: string;
1489
1487
  id?: string | undefined;
1490
1488
  required?: boolean | undefined;
1491
- }>, z.ZodObject<z.objectUtil.extendShape<{
1489
+ }>, z.ZodObject<{
1492
1490
  id: z.ZodOptional<z.ZodString>;
1493
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1494
1491
  required: z.ZodOptional<z.ZodBoolean>;
1495
- }, {
1492
+ } & {
1496
1493
  type: z.ZodLiteral<DocumentElementType.LIST>;
1497
1494
  items: z.ZodArray<z.ZodString, "many">;
1498
1495
  listType: z.ZodNativeEnum<typeof ListType>;
1499
- }>, "strip", z.ZodTypeAny, {
1496
+ }, "strip", z.ZodTypeAny, {
1500
1497
  type: DocumentElementType.LIST;
1501
1498
  items: string[];
1502
1499
  listType: ListType;
@@ -1508,14 +1505,13 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1508
1505
  listType: ListType;
1509
1506
  id?: string | undefined;
1510
1507
  required?: boolean | undefined;
1511
- }>, z.ZodObject<z.objectUtil.extendShape<{
1508
+ }>, z.ZodObject<{
1512
1509
  id: z.ZodOptional<z.ZodString>;
1513
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1514
1510
  required: z.ZodOptional<z.ZodBoolean>;
1515
- }, {
1511
+ } & {
1516
1512
  type: z.ZodLiteral<DocumentElementType.DYNAMIC_TEXT>;
1517
1513
  text: z.ZodString;
1518
- }>, "strip", z.ZodTypeAny, {
1514
+ }, "strip", z.ZodTypeAny, {
1519
1515
  type: DocumentElementType.DYNAMIC_TEXT;
1520
1516
  text: string;
1521
1517
  id?: string | undefined;
@@ -1525,15 +1521,14 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1525
1521
  text: string;
1526
1522
  id?: string | undefined;
1527
1523
  required?: boolean | undefined;
1528
- }>, z.ZodObject<z.objectUtil.extendShape<{
1524
+ }>, z.ZodObject<{
1529
1525
  id: z.ZodOptional<z.ZodString>;
1530
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1531
1526
  required: z.ZodOptional<z.ZodBoolean>;
1532
- }, {
1527
+ } & {
1533
1528
  type: z.ZodLiteral<DocumentElementType.BINARY_CHOICE>;
1534
1529
  question: z.ZodString;
1535
1530
  defaultValue: z.ZodOptional<z.ZodBoolean>;
1536
- }>, "strip", z.ZodTypeAny, {
1531
+ }, "strip", z.ZodTypeAny, {
1537
1532
  type: DocumentElementType.BINARY_CHOICE;
1538
1533
  question: string;
1539
1534
  id?: string | undefined;
@@ -1545,16 +1540,15 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1545
1540
  id?: string | undefined;
1546
1541
  required?: boolean | undefined;
1547
1542
  defaultValue?: boolean | undefined;
1548
- }>, z.ZodObject<z.objectUtil.extendShape<{
1543
+ }>, z.ZodObject<{
1549
1544
  id: z.ZodOptional<z.ZodString>;
1550
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1551
1545
  required: z.ZodOptional<z.ZodBoolean>;
1552
- }, {
1546
+ } & {
1553
1547
  type: z.ZodLiteral<DocumentElementType.MULTIPLE_CHOICE>;
1554
1548
  question: z.ZodString;
1555
1549
  options: z.ZodArray<z.ZodString, "many">;
1556
1550
  defaultValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1557
- }>, "strip", z.ZodTypeAny, {
1551
+ }, "strip", z.ZodTypeAny, {
1558
1552
  type: DocumentElementType.MULTIPLE_CHOICE;
1559
1553
  question: string;
1560
1554
  options: string[];
@@ -1568,16 +1562,15 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1568
1562
  id?: string | undefined;
1569
1563
  required?: boolean | undefined;
1570
1564
  defaultValues?: string[] | undefined;
1571
- }>, z.ZodObject<z.objectUtil.extendShape<{
1565
+ }>, z.ZodObject<{
1572
1566
  id: z.ZodOptional<z.ZodString>;
1573
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1574
1567
  required: z.ZodOptional<z.ZodBoolean>;
1575
- }, {
1568
+ } & {
1576
1569
  type: z.ZodLiteral<DocumentElementType.SINGLE_CHOICE>;
1577
1570
  question: z.ZodString;
1578
1571
  options: z.ZodArray<z.ZodString, "many">;
1579
1572
  defaultValue: z.ZodOptional<z.ZodString>;
1580
- }>, "strip", z.ZodTypeAny, {
1573
+ }, "strip", z.ZodTypeAny, {
1581
1574
  type: DocumentElementType.SINGLE_CHOICE;
1582
1575
  question: string;
1583
1576
  options: string[];
@@ -1591,18 +1584,17 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1591
1584
  id?: string | undefined;
1592
1585
  required?: boolean | undefined;
1593
1586
  defaultValue?: string | undefined;
1594
- }>, z.ZodObject<z.objectUtil.extendShape<{
1587
+ }>, z.ZodObject<{
1595
1588
  id: z.ZodOptional<z.ZodString>;
1596
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1597
1589
  required: z.ZodOptional<z.ZodBoolean>;
1598
- }, {
1590
+ } & {
1599
1591
  type: z.ZodLiteral<DocumentElementType.RATING_SCALE>;
1600
1592
  question: z.ZodString;
1601
1593
  min: z.ZodNumber;
1602
1594
  max: z.ZodNumber;
1603
1595
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1604
1596
  defaultValue: z.ZodOptional<z.ZodNumber>;
1605
- }>, "strip", z.ZodTypeAny, {
1597
+ }, "strip", z.ZodTypeAny, {
1606
1598
  type: DocumentElementType.RATING_SCALE;
1607
1599
  question: string;
1608
1600
  min: number;
@@ -1620,17 +1612,16 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1620
1612
  required?: boolean | undefined;
1621
1613
  defaultValue?: number | undefined;
1622
1614
  labels?: Record<string, string> | undefined;
1623
- }>, z.ZodObject<z.objectUtil.extendShape<{
1615
+ }>, z.ZodObject<{
1624
1616
  id: z.ZodOptional<z.ZodString>;
1625
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1626
1617
  required: z.ZodOptional<z.ZodBoolean>;
1627
- }, {
1618
+ } & {
1628
1619
  type: z.ZodLiteral<DocumentElementType.TEXT_INPUT>;
1629
1620
  label: z.ZodString;
1630
1621
  placeholder: z.ZodOptional<z.ZodString>;
1631
1622
  multiline: z.ZodOptional<z.ZodBoolean>;
1632
1623
  defaultValue: z.ZodOptional<z.ZodString>;
1633
- }>, "strip", z.ZodTypeAny, {
1624
+ }, "strip", z.ZodTypeAny, {
1634
1625
  type: DocumentElementType.TEXT_INPUT;
1635
1626
  label: string;
1636
1627
  id?: string | undefined;
@@ -1646,15 +1637,14 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1646
1637
  defaultValue?: string | undefined;
1647
1638
  placeholder?: string | undefined;
1648
1639
  multiline?: boolean | undefined;
1649
- }>, z.ZodObject<z.objectUtil.extendShape<{
1640
+ }>, z.ZodObject<{
1650
1641
  id: z.ZodOptional<z.ZodString>;
1651
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1652
1642
  required: z.ZodOptional<z.ZodBoolean>;
1653
- }, {
1643
+ } & {
1654
1644
  type: z.ZodLiteral<DocumentElementType.DATE_PICKER>;
1655
1645
  label: z.ZodString;
1656
1646
  defaultValue: z.ZodOptional<z.ZodString>;
1657
- }>, "strip", z.ZodTypeAny, {
1647
+ }, "strip", z.ZodTypeAny, {
1658
1648
  type: DocumentElementType.DATE_PICKER;
1659
1649
  label: string;
1660
1650
  id?: string | undefined;
@@ -1666,14 +1656,13 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1666
1656
  id?: string | undefined;
1667
1657
  required?: boolean | undefined;
1668
1658
  defaultValue?: string | undefined;
1669
- }>, z.ZodObject<z.objectUtil.extendShape<{
1659
+ }>, z.ZodObject<{
1670
1660
  id: z.ZodOptional<z.ZodString>;
1671
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1672
1661
  required: z.ZodOptional<z.ZodBoolean>;
1673
- }, {
1662
+ } & {
1674
1663
  type: z.ZodLiteral<DocumentElementType.SIGNATURE>;
1675
1664
  label: z.ZodString;
1676
- }>, "strip", z.ZodTypeAny, {
1665
+ }, "strip", z.ZodTypeAny, {
1677
1666
  type: DocumentElementType.SIGNATURE;
1678
1667
  label: string;
1679
1668
  id?: string | undefined;
@@ -1683,14 +1672,13 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1683
1672
  label: string;
1684
1673
  id?: string | undefined;
1685
1674
  required?: boolean | undefined;
1686
- }>, z.ZodObject<z.objectUtil.extendShape<{
1675
+ }>, z.ZodObject<{
1687
1676
  id: z.ZodOptional<z.ZodString>;
1688
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1689
1677
  required: z.ZodOptional<z.ZodBoolean>;
1690
- }, {
1678
+ } & {
1691
1679
  type: z.ZodLiteral<DocumentElementType.DITIGAL_SIGNATURE>;
1692
1680
  label: z.ZodString;
1693
- }>, "strip", z.ZodTypeAny, {
1681
+ }, "strip", z.ZodTypeAny, {
1694
1682
  type: DocumentElementType.DITIGAL_SIGNATURE;
1695
1683
  label: string;
1696
1684
  id?: string | undefined;
@@ -1700,16 +1688,15 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1700
1688
  label: string;
1701
1689
  id?: string | undefined;
1702
1690
  required?: boolean | undefined;
1703
- }>, z.ZodObject<z.objectUtil.extendShape<{
1691
+ }>, z.ZodObject<{
1704
1692
  id: z.ZodOptional<z.ZodString>;
1705
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1706
1693
  required: z.ZodOptional<z.ZodBoolean>;
1707
- }, {
1694
+ } & {
1708
1695
  type: z.ZodLiteral<DocumentElementType.FILE_UPLOAD>;
1709
1696
  label: z.ZodString;
1710
1697
  allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1711
1698
  maxFileSizeMB: z.ZodOptional<z.ZodNumber>;
1712
- }>, "strip", z.ZodTypeAny, {
1699
+ }, "strip", z.ZodTypeAny, {
1713
1700
  type: DocumentElementType.FILE_UPLOAD;
1714
1701
  label: string;
1715
1702
  id?: string | undefined;
@@ -1724,15 +1711,14 @@ declare const documentElementSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObjec
1724
1711
  allowedFileTypes?: string[] | undefined;
1725
1712
  maxFileSizeMB?: number | undefined;
1726
1713
  }>]>;
1727
- declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<z.objectUtil.extendShape<{
1714
+ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<{
1728
1715
  id: z.ZodOptional<z.ZodString>;
1729
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1730
1716
  required: z.ZodOptional<z.ZodBoolean>;
1731
- }, {
1717
+ } & {
1732
1718
  type: z.ZodLiteral<DocumentElementType.HEADING>;
1733
1719
  text: z.ZodString;
1734
1720
  level: z.ZodNativeEnum<typeof HeadingLevel>;
1735
- }>, "id">, "strip", z.ZodTypeAny, {
1721
+ }, "id">, "strip", z.ZodTypeAny, {
1736
1722
  type: DocumentElementType.HEADING;
1737
1723
  text: string;
1738
1724
  level: HeadingLevel;
@@ -1742,14 +1728,13 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1742
1728
  text: string;
1743
1729
  level: HeadingLevel;
1744
1730
  required?: boolean | undefined;
1745
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1731
+ }>, z.ZodObject<Omit<{
1746
1732
  id: z.ZodOptional<z.ZodString>;
1747
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1748
1733
  required: z.ZodOptional<z.ZodBoolean>;
1749
- }, {
1734
+ } & {
1750
1735
  type: z.ZodLiteral<DocumentElementType.PARAGRAPH>;
1751
1736
  text: z.ZodString;
1752
- }>, "id">, "strip", z.ZodTypeAny, {
1737
+ }, "id">, "strip", z.ZodTypeAny, {
1753
1738
  type: DocumentElementType.PARAGRAPH;
1754
1739
  text: string;
1755
1740
  required?: boolean | undefined;
@@ -1757,15 +1742,14 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1757
1742
  type: DocumentElementType.PARAGRAPH;
1758
1743
  text: string;
1759
1744
  required?: boolean | undefined;
1760
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1745
+ }>, z.ZodObject<Omit<{
1761
1746
  id: z.ZodOptional<z.ZodString>;
1762
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1763
1747
  required: z.ZodOptional<z.ZodBoolean>;
1764
- }, {
1748
+ } & {
1765
1749
  type: z.ZodLiteral<DocumentElementType.LIST>;
1766
1750
  items: z.ZodArray<z.ZodString, "many">;
1767
1751
  listType: z.ZodNativeEnum<typeof ListType>;
1768
- }>, "id">, "strip", z.ZodTypeAny, {
1752
+ }, "id">, "strip", z.ZodTypeAny, {
1769
1753
  type: DocumentElementType.LIST;
1770
1754
  items: string[];
1771
1755
  listType: ListType;
@@ -1775,14 +1759,13 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1775
1759
  items: string[];
1776
1760
  listType: ListType;
1777
1761
  required?: boolean | undefined;
1778
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1762
+ }>, z.ZodObject<Omit<{
1779
1763
  id: z.ZodOptional<z.ZodString>;
1780
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1781
1764
  required: z.ZodOptional<z.ZodBoolean>;
1782
- }, {
1765
+ } & {
1783
1766
  type: z.ZodLiteral<DocumentElementType.DYNAMIC_TEXT>;
1784
1767
  text: z.ZodString;
1785
- }>, "id">, "strip", z.ZodTypeAny, {
1768
+ }, "id">, "strip", z.ZodTypeAny, {
1786
1769
  type: DocumentElementType.DYNAMIC_TEXT;
1787
1770
  text: string;
1788
1771
  required?: boolean | undefined;
@@ -1790,15 +1773,14 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1790
1773
  type: DocumentElementType.DYNAMIC_TEXT;
1791
1774
  text: string;
1792
1775
  required?: boolean | undefined;
1793
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1776
+ }>, z.ZodObject<Omit<{
1794
1777
  id: z.ZodOptional<z.ZodString>;
1795
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1796
1778
  required: z.ZodOptional<z.ZodBoolean>;
1797
- }, {
1779
+ } & {
1798
1780
  type: z.ZodLiteral<DocumentElementType.BINARY_CHOICE>;
1799
1781
  question: z.ZodString;
1800
1782
  defaultValue: z.ZodOptional<z.ZodBoolean>;
1801
- }>, "id">, "strip", z.ZodTypeAny, {
1783
+ }, "id">, "strip", z.ZodTypeAny, {
1802
1784
  type: DocumentElementType.BINARY_CHOICE;
1803
1785
  question: string;
1804
1786
  required?: boolean | undefined;
@@ -1808,16 +1790,15 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1808
1790
  question: string;
1809
1791
  required?: boolean | undefined;
1810
1792
  defaultValue?: boolean | undefined;
1811
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1793
+ }>, z.ZodObject<Omit<{
1812
1794
  id: z.ZodOptional<z.ZodString>;
1813
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1814
1795
  required: z.ZodOptional<z.ZodBoolean>;
1815
- }, {
1796
+ } & {
1816
1797
  type: z.ZodLiteral<DocumentElementType.MULTIPLE_CHOICE>;
1817
1798
  question: z.ZodString;
1818
1799
  options: z.ZodArray<z.ZodString, "many">;
1819
1800
  defaultValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1820
- }>, "id">, "strip", z.ZodTypeAny, {
1801
+ }, "id">, "strip", z.ZodTypeAny, {
1821
1802
  type: DocumentElementType.MULTIPLE_CHOICE;
1822
1803
  question: string;
1823
1804
  options: string[];
@@ -1829,16 +1810,15 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1829
1810
  options: string[];
1830
1811
  required?: boolean | undefined;
1831
1812
  defaultValues?: string[] | undefined;
1832
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1813
+ }>, z.ZodObject<Omit<{
1833
1814
  id: z.ZodOptional<z.ZodString>;
1834
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1835
1815
  required: z.ZodOptional<z.ZodBoolean>;
1836
- }, {
1816
+ } & {
1837
1817
  type: z.ZodLiteral<DocumentElementType.SINGLE_CHOICE>;
1838
1818
  question: z.ZodString;
1839
1819
  options: z.ZodArray<z.ZodString, "many">;
1840
1820
  defaultValue: z.ZodOptional<z.ZodString>;
1841
- }>, "id">, "strip", z.ZodTypeAny, {
1821
+ }, "id">, "strip", z.ZodTypeAny, {
1842
1822
  type: DocumentElementType.SINGLE_CHOICE;
1843
1823
  question: string;
1844
1824
  options: string[];
@@ -1850,18 +1830,17 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1850
1830
  options: string[];
1851
1831
  required?: boolean | undefined;
1852
1832
  defaultValue?: string | undefined;
1853
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1833
+ }>, z.ZodObject<Omit<{
1854
1834
  id: z.ZodOptional<z.ZodString>;
1855
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1856
1835
  required: z.ZodOptional<z.ZodBoolean>;
1857
- }, {
1836
+ } & {
1858
1837
  type: z.ZodLiteral<DocumentElementType.RATING_SCALE>;
1859
1838
  question: z.ZodString;
1860
1839
  min: z.ZodNumber;
1861
1840
  max: z.ZodNumber;
1862
1841
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1863
1842
  defaultValue: z.ZodOptional<z.ZodNumber>;
1864
- }>, "id">, "strip", z.ZodTypeAny, {
1843
+ }, "id">, "strip", z.ZodTypeAny, {
1865
1844
  type: DocumentElementType.RATING_SCALE;
1866
1845
  question: string;
1867
1846
  min: number;
@@ -1877,17 +1856,16 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1877
1856
  required?: boolean | undefined;
1878
1857
  defaultValue?: number | undefined;
1879
1858
  labels?: Record<string, string> | undefined;
1880
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1859
+ }>, z.ZodObject<Omit<{
1881
1860
  id: z.ZodOptional<z.ZodString>;
1882
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1883
1861
  required: z.ZodOptional<z.ZodBoolean>;
1884
- }, {
1862
+ } & {
1885
1863
  type: z.ZodLiteral<DocumentElementType.TEXT_INPUT>;
1886
1864
  label: z.ZodString;
1887
1865
  placeholder: z.ZodOptional<z.ZodString>;
1888
1866
  multiline: z.ZodOptional<z.ZodBoolean>;
1889
1867
  defaultValue: z.ZodOptional<z.ZodString>;
1890
- }>, "id">, "strip", z.ZodTypeAny, {
1868
+ }, "id">, "strip", z.ZodTypeAny, {
1891
1869
  type: DocumentElementType.TEXT_INPUT;
1892
1870
  label: string;
1893
1871
  required?: boolean | undefined;
@@ -1901,15 +1879,14 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1901
1879
  defaultValue?: string | undefined;
1902
1880
  placeholder?: string | undefined;
1903
1881
  multiline?: boolean | undefined;
1904
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1882
+ }>, z.ZodObject<Omit<{
1905
1883
  id: z.ZodOptional<z.ZodString>;
1906
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1907
1884
  required: z.ZodOptional<z.ZodBoolean>;
1908
- }, {
1885
+ } & {
1909
1886
  type: z.ZodLiteral<DocumentElementType.DATE_PICKER>;
1910
1887
  label: z.ZodString;
1911
1888
  defaultValue: z.ZodOptional<z.ZodString>;
1912
- }>, "id">, "strip", z.ZodTypeAny, {
1889
+ }, "id">, "strip", z.ZodTypeAny, {
1913
1890
  type: DocumentElementType.DATE_PICKER;
1914
1891
  label: string;
1915
1892
  required?: boolean | undefined;
@@ -1919,14 +1896,13 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1919
1896
  label: string;
1920
1897
  required?: boolean | undefined;
1921
1898
  defaultValue?: string | undefined;
1922
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1899
+ }>, z.ZodObject<Omit<{
1923
1900
  id: z.ZodOptional<z.ZodString>;
1924
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1925
1901
  required: z.ZodOptional<z.ZodBoolean>;
1926
- }, {
1902
+ } & {
1927
1903
  type: z.ZodLiteral<DocumentElementType.SIGNATURE>;
1928
1904
  label: z.ZodString;
1929
- }>, "id">, "strip", z.ZodTypeAny, {
1905
+ }, "id">, "strip", z.ZodTypeAny, {
1930
1906
  type: DocumentElementType.SIGNATURE;
1931
1907
  label: string;
1932
1908
  required?: boolean | undefined;
@@ -1934,14 +1910,13 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1934
1910
  type: DocumentElementType.SIGNATURE;
1935
1911
  label: string;
1936
1912
  required?: boolean | undefined;
1937
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1913
+ }>, z.ZodObject<Omit<{
1938
1914
  id: z.ZodOptional<z.ZodString>;
1939
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1940
1915
  required: z.ZodOptional<z.ZodBoolean>;
1941
- }, {
1916
+ } & {
1942
1917
  type: z.ZodLiteral<DocumentElementType.DITIGAL_SIGNATURE>;
1943
1918
  label: z.ZodString;
1944
- }>, "id">, "strip", z.ZodTypeAny, {
1919
+ }, "id">, "strip", z.ZodTypeAny, {
1945
1920
  type: DocumentElementType.DITIGAL_SIGNATURE;
1946
1921
  label: string;
1947
1922
  required?: boolean | undefined;
@@ -1949,16 +1924,15 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1949
1924
  type: DocumentElementType.DITIGAL_SIGNATURE;
1950
1925
  label: string;
1951
1926
  required?: boolean | undefined;
1952
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1927
+ }>, z.ZodObject<Omit<{
1953
1928
  id: z.ZodOptional<z.ZodString>;
1954
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1955
1929
  required: z.ZodOptional<z.ZodBoolean>;
1956
- }, {
1930
+ } & {
1957
1931
  type: z.ZodLiteral<DocumentElementType.FILE_UPLOAD>;
1958
1932
  label: z.ZodString;
1959
1933
  allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
1960
1934
  maxFileSizeMB: z.ZodOptional<z.ZodNumber>;
1961
- }>, "id">, "strip", z.ZodTypeAny, {
1935
+ }, "id">, "strip", z.ZodTypeAny, {
1962
1936
  type: DocumentElementType.FILE_UPLOAD;
1963
1937
  label: string;
1964
1938
  required?: boolean | undefined;
@@ -1974,15 +1948,14 @@ declare const documentElementWithoutIdSchema: z.ZodDiscriminatedUnion<"type", [z
1974
1948
  declare const createDocumentTemplateSchema: z.ZodObject<{
1975
1949
  title: z.ZodString;
1976
1950
  description: z.ZodOptional<z.ZodString>;
1977
- elements: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<z.objectUtil.extendShape<{
1951
+ elements: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<{
1978
1952
  id: z.ZodOptional<z.ZodString>;
1979
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1980
1953
  required: z.ZodOptional<z.ZodBoolean>;
1981
- }, {
1954
+ } & {
1982
1955
  type: z.ZodLiteral<DocumentElementType.HEADING>;
1983
1956
  text: z.ZodString;
1984
1957
  level: z.ZodNativeEnum<typeof HeadingLevel>;
1985
- }>, "id">, "strip", z.ZodTypeAny, {
1958
+ }, "id">, "strip", z.ZodTypeAny, {
1986
1959
  type: DocumentElementType.HEADING;
1987
1960
  text: string;
1988
1961
  level: HeadingLevel;
@@ -1992,14 +1965,13 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
1992
1965
  text: string;
1993
1966
  level: HeadingLevel;
1994
1967
  required?: boolean | undefined;
1995
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1968
+ }>, z.ZodObject<Omit<{
1996
1969
  id: z.ZodOptional<z.ZodString>;
1997
- type: z.ZodNativeEnum<typeof DocumentElementType>;
1998
1970
  required: z.ZodOptional<z.ZodBoolean>;
1999
- }, {
1971
+ } & {
2000
1972
  type: z.ZodLiteral<DocumentElementType.PARAGRAPH>;
2001
1973
  text: z.ZodString;
2002
- }>, "id">, "strip", z.ZodTypeAny, {
1974
+ }, "id">, "strip", z.ZodTypeAny, {
2003
1975
  type: DocumentElementType.PARAGRAPH;
2004
1976
  text: string;
2005
1977
  required?: boolean | undefined;
@@ -2007,15 +1979,14 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2007
1979
  type: DocumentElementType.PARAGRAPH;
2008
1980
  text: string;
2009
1981
  required?: boolean | undefined;
2010
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1982
+ }>, z.ZodObject<Omit<{
2011
1983
  id: z.ZodOptional<z.ZodString>;
2012
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2013
1984
  required: z.ZodOptional<z.ZodBoolean>;
2014
- }, {
1985
+ } & {
2015
1986
  type: z.ZodLiteral<DocumentElementType.LIST>;
2016
1987
  items: z.ZodArray<z.ZodString, "many">;
2017
1988
  listType: z.ZodNativeEnum<typeof ListType>;
2018
- }>, "id">, "strip", z.ZodTypeAny, {
1989
+ }, "id">, "strip", z.ZodTypeAny, {
2019
1990
  type: DocumentElementType.LIST;
2020
1991
  items: string[];
2021
1992
  listType: ListType;
@@ -2025,14 +1996,13 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2025
1996
  items: string[];
2026
1997
  listType: ListType;
2027
1998
  required?: boolean | undefined;
2028
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
1999
+ }>, z.ZodObject<Omit<{
2029
2000
  id: z.ZodOptional<z.ZodString>;
2030
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2031
2001
  required: z.ZodOptional<z.ZodBoolean>;
2032
- }, {
2002
+ } & {
2033
2003
  type: z.ZodLiteral<DocumentElementType.DYNAMIC_TEXT>;
2034
2004
  text: z.ZodString;
2035
- }>, "id">, "strip", z.ZodTypeAny, {
2005
+ }, "id">, "strip", z.ZodTypeAny, {
2036
2006
  type: DocumentElementType.DYNAMIC_TEXT;
2037
2007
  text: string;
2038
2008
  required?: boolean | undefined;
@@ -2040,15 +2010,14 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2040
2010
  type: DocumentElementType.DYNAMIC_TEXT;
2041
2011
  text: string;
2042
2012
  required?: boolean | undefined;
2043
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2013
+ }>, z.ZodObject<Omit<{
2044
2014
  id: z.ZodOptional<z.ZodString>;
2045
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2046
2015
  required: z.ZodOptional<z.ZodBoolean>;
2047
- }, {
2016
+ } & {
2048
2017
  type: z.ZodLiteral<DocumentElementType.BINARY_CHOICE>;
2049
2018
  question: z.ZodString;
2050
2019
  defaultValue: z.ZodOptional<z.ZodBoolean>;
2051
- }>, "id">, "strip", z.ZodTypeAny, {
2020
+ }, "id">, "strip", z.ZodTypeAny, {
2052
2021
  type: DocumentElementType.BINARY_CHOICE;
2053
2022
  question: string;
2054
2023
  required?: boolean | undefined;
@@ -2058,16 +2027,15 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2058
2027
  question: string;
2059
2028
  required?: boolean | undefined;
2060
2029
  defaultValue?: boolean | undefined;
2061
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2030
+ }>, z.ZodObject<Omit<{
2062
2031
  id: z.ZodOptional<z.ZodString>;
2063
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2064
2032
  required: z.ZodOptional<z.ZodBoolean>;
2065
- }, {
2033
+ } & {
2066
2034
  type: z.ZodLiteral<DocumentElementType.MULTIPLE_CHOICE>;
2067
2035
  question: z.ZodString;
2068
2036
  options: z.ZodArray<z.ZodString, "many">;
2069
2037
  defaultValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2070
- }>, "id">, "strip", z.ZodTypeAny, {
2038
+ }, "id">, "strip", z.ZodTypeAny, {
2071
2039
  type: DocumentElementType.MULTIPLE_CHOICE;
2072
2040
  question: string;
2073
2041
  options: string[];
@@ -2079,16 +2047,15 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2079
2047
  options: string[];
2080
2048
  required?: boolean | undefined;
2081
2049
  defaultValues?: string[] | undefined;
2082
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2050
+ }>, z.ZodObject<Omit<{
2083
2051
  id: z.ZodOptional<z.ZodString>;
2084
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2085
2052
  required: z.ZodOptional<z.ZodBoolean>;
2086
- }, {
2053
+ } & {
2087
2054
  type: z.ZodLiteral<DocumentElementType.SINGLE_CHOICE>;
2088
2055
  question: z.ZodString;
2089
2056
  options: z.ZodArray<z.ZodString, "many">;
2090
2057
  defaultValue: z.ZodOptional<z.ZodString>;
2091
- }>, "id">, "strip", z.ZodTypeAny, {
2058
+ }, "id">, "strip", z.ZodTypeAny, {
2092
2059
  type: DocumentElementType.SINGLE_CHOICE;
2093
2060
  question: string;
2094
2061
  options: string[];
@@ -2100,18 +2067,17 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2100
2067
  options: string[];
2101
2068
  required?: boolean | undefined;
2102
2069
  defaultValue?: string | undefined;
2103
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2070
+ }>, z.ZodObject<Omit<{
2104
2071
  id: z.ZodOptional<z.ZodString>;
2105
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2106
2072
  required: z.ZodOptional<z.ZodBoolean>;
2107
- }, {
2073
+ } & {
2108
2074
  type: z.ZodLiteral<DocumentElementType.RATING_SCALE>;
2109
2075
  question: z.ZodString;
2110
2076
  min: z.ZodNumber;
2111
2077
  max: z.ZodNumber;
2112
2078
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2113
2079
  defaultValue: z.ZodOptional<z.ZodNumber>;
2114
- }>, "id">, "strip", z.ZodTypeAny, {
2080
+ }, "id">, "strip", z.ZodTypeAny, {
2115
2081
  type: DocumentElementType.RATING_SCALE;
2116
2082
  question: string;
2117
2083
  min: number;
@@ -2127,17 +2093,16 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2127
2093
  required?: boolean | undefined;
2128
2094
  defaultValue?: number | undefined;
2129
2095
  labels?: Record<string, string> | undefined;
2130
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2096
+ }>, z.ZodObject<Omit<{
2131
2097
  id: z.ZodOptional<z.ZodString>;
2132
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2133
2098
  required: z.ZodOptional<z.ZodBoolean>;
2134
- }, {
2099
+ } & {
2135
2100
  type: z.ZodLiteral<DocumentElementType.TEXT_INPUT>;
2136
2101
  label: z.ZodString;
2137
2102
  placeholder: z.ZodOptional<z.ZodString>;
2138
2103
  multiline: z.ZodOptional<z.ZodBoolean>;
2139
2104
  defaultValue: z.ZodOptional<z.ZodString>;
2140
- }>, "id">, "strip", z.ZodTypeAny, {
2105
+ }, "id">, "strip", z.ZodTypeAny, {
2141
2106
  type: DocumentElementType.TEXT_INPUT;
2142
2107
  label: string;
2143
2108
  required?: boolean | undefined;
@@ -2151,15 +2116,14 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2151
2116
  defaultValue?: string | undefined;
2152
2117
  placeholder?: string | undefined;
2153
2118
  multiline?: boolean | undefined;
2154
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2119
+ }>, z.ZodObject<Omit<{
2155
2120
  id: z.ZodOptional<z.ZodString>;
2156
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2157
2121
  required: z.ZodOptional<z.ZodBoolean>;
2158
- }, {
2122
+ } & {
2159
2123
  type: z.ZodLiteral<DocumentElementType.DATE_PICKER>;
2160
2124
  label: z.ZodString;
2161
2125
  defaultValue: z.ZodOptional<z.ZodString>;
2162
- }>, "id">, "strip", z.ZodTypeAny, {
2126
+ }, "id">, "strip", z.ZodTypeAny, {
2163
2127
  type: DocumentElementType.DATE_PICKER;
2164
2128
  label: string;
2165
2129
  required?: boolean | undefined;
@@ -2169,14 +2133,13 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2169
2133
  label: string;
2170
2134
  required?: boolean | undefined;
2171
2135
  defaultValue?: string | undefined;
2172
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2136
+ }>, z.ZodObject<Omit<{
2173
2137
  id: z.ZodOptional<z.ZodString>;
2174
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2175
2138
  required: z.ZodOptional<z.ZodBoolean>;
2176
- }, {
2139
+ } & {
2177
2140
  type: z.ZodLiteral<DocumentElementType.SIGNATURE>;
2178
2141
  label: z.ZodString;
2179
- }>, "id">, "strip", z.ZodTypeAny, {
2142
+ }, "id">, "strip", z.ZodTypeAny, {
2180
2143
  type: DocumentElementType.SIGNATURE;
2181
2144
  label: string;
2182
2145
  required?: boolean | undefined;
@@ -2184,14 +2147,13 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2184
2147
  type: DocumentElementType.SIGNATURE;
2185
2148
  label: string;
2186
2149
  required?: boolean | undefined;
2187
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2150
+ }>, z.ZodObject<Omit<{
2188
2151
  id: z.ZodOptional<z.ZodString>;
2189
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2190
2152
  required: z.ZodOptional<z.ZodBoolean>;
2191
- }, {
2153
+ } & {
2192
2154
  type: z.ZodLiteral<DocumentElementType.DITIGAL_SIGNATURE>;
2193
2155
  label: z.ZodString;
2194
- }>, "id">, "strip", z.ZodTypeAny, {
2156
+ }, "id">, "strip", z.ZodTypeAny, {
2195
2157
  type: DocumentElementType.DITIGAL_SIGNATURE;
2196
2158
  label: string;
2197
2159
  required?: boolean | undefined;
@@ -2199,16 +2161,15 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2199
2161
  type: DocumentElementType.DITIGAL_SIGNATURE;
2200
2162
  label: string;
2201
2163
  required?: boolean | undefined;
2202
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2164
+ }>, z.ZodObject<Omit<{
2203
2165
  id: z.ZodOptional<z.ZodString>;
2204
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2205
2166
  required: z.ZodOptional<z.ZodBoolean>;
2206
- }, {
2167
+ } & {
2207
2168
  type: z.ZodLiteral<DocumentElementType.FILE_UPLOAD>;
2208
2169
  label: z.ZodString;
2209
2170
  allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2210
2171
  maxFileSizeMB: z.ZodOptional<z.ZodNumber>;
2211
- }>, "id">, "strip", z.ZodTypeAny, {
2172
+ }, "id">, "strip", z.ZodTypeAny, {
2212
2173
  type: DocumentElementType.FILE_UPLOAD;
2213
2174
  label: string;
2214
2175
  required?: boolean | undefined;
@@ -2383,15 +2344,14 @@ declare const createDocumentTemplateSchema: z.ZodObject<{
2383
2344
  declare const updateDocumentTemplateSchema: z.ZodObject<{
2384
2345
  title: z.ZodOptional<z.ZodString>;
2385
2346
  description: z.ZodOptional<z.ZodString>;
2386
- elements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<z.objectUtil.extendShape<{
2347
+ elements: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<Omit<{
2387
2348
  id: z.ZodOptional<z.ZodString>;
2388
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2389
2349
  required: z.ZodOptional<z.ZodBoolean>;
2390
- }, {
2350
+ } & {
2391
2351
  type: z.ZodLiteral<DocumentElementType.HEADING>;
2392
2352
  text: z.ZodString;
2393
2353
  level: z.ZodNativeEnum<typeof HeadingLevel>;
2394
- }>, "id">, "strip", z.ZodTypeAny, {
2354
+ }, "id">, "strip", z.ZodTypeAny, {
2395
2355
  type: DocumentElementType.HEADING;
2396
2356
  text: string;
2397
2357
  level: HeadingLevel;
@@ -2401,14 +2361,13 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2401
2361
  text: string;
2402
2362
  level: HeadingLevel;
2403
2363
  required?: boolean | undefined;
2404
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2364
+ }>, z.ZodObject<Omit<{
2405
2365
  id: z.ZodOptional<z.ZodString>;
2406
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2407
2366
  required: z.ZodOptional<z.ZodBoolean>;
2408
- }, {
2367
+ } & {
2409
2368
  type: z.ZodLiteral<DocumentElementType.PARAGRAPH>;
2410
2369
  text: z.ZodString;
2411
- }>, "id">, "strip", z.ZodTypeAny, {
2370
+ }, "id">, "strip", z.ZodTypeAny, {
2412
2371
  type: DocumentElementType.PARAGRAPH;
2413
2372
  text: string;
2414
2373
  required?: boolean | undefined;
@@ -2416,15 +2375,14 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2416
2375
  type: DocumentElementType.PARAGRAPH;
2417
2376
  text: string;
2418
2377
  required?: boolean | undefined;
2419
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2378
+ }>, z.ZodObject<Omit<{
2420
2379
  id: z.ZodOptional<z.ZodString>;
2421
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2422
2380
  required: z.ZodOptional<z.ZodBoolean>;
2423
- }, {
2381
+ } & {
2424
2382
  type: z.ZodLiteral<DocumentElementType.LIST>;
2425
2383
  items: z.ZodArray<z.ZodString, "many">;
2426
2384
  listType: z.ZodNativeEnum<typeof ListType>;
2427
- }>, "id">, "strip", z.ZodTypeAny, {
2385
+ }, "id">, "strip", z.ZodTypeAny, {
2428
2386
  type: DocumentElementType.LIST;
2429
2387
  items: string[];
2430
2388
  listType: ListType;
@@ -2434,14 +2392,13 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2434
2392
  items: string[];
2435
2393
  listType: ListType;
2436
2394
  required?: boolean | undefined;
2437
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2395
+ }>, z.ZodObject<Omit<{
2438
2396
  id: z.ZodOptional<z.ZodString>;
2439
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2440
2397
  required: z.ZodOptional<z.ZodBoolean>;
2441
- }, {
2398
+ } & {
2442
2399
  type: z.ZodLiteral<DocumentElementType.DYNAMIC_TEXT>;
2443
2400
  text: z.ZodString;
2444
- }>, "id">, "strip", z.ZodTypeAny, {
2401
+ }, "id">, "strip", z.ZodTypeAny, {
2445
2402
  type: DocumentElementType.DYNAMIC_TEXT;
2446
2403
  text: string;
2447
2404
  required?: boolean | undefined;
@@ -2449,15 +2406,14 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2449
2406
  type: DocumentElementType.DYNAMIC_TEXT;
2450
2407
  text: string;
2451
2408
  required?: boolean | undefined;
2452
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2409
+ }>, z.ZodObject<Omit<{
2453
2410
  id: z.ZodOptional<z.ZodString>;
2454
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2455
2411
  required: z.ZodOptional<z.ZodBoolean>;
2456
- }, {
2412
+ } & {
2457
2413
  type: z.ZodLiteral<DocumentElementType.BINARY_CHOICE>;
2458
2414
  question: z.ZodString;
2459
2415
  defaultValue: z.ZodOptional<z.ZodBoolean>;
2460
- }>, "id">, "strip", z.ZodTypeAny, {
2416
+ }, "id">, "strip", z.ZodTypeAny, {
2461
2417
  type: DocumentElementType.BINARY_CHOICE;
2462
2418
  question: string;
2463
2419
  required?: boolean | undefined;
@@ -2467,16 +2423,15 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2467
2423
  question: string;
2468
2424
  required?: boolean | undefined;
2469
2425
  defaultValue?: boolean | undefined;
2470
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2426
+ }>, z.ZodObject<Omit<{
2471
2427
  id: z.ZodOptional<z.ZodString>;
2472
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2473
2428
  required: z.ZodOptional<z.ZodBoolean>;
2474
- }, {
2429
+ } & {
2475
2430
  type: z.ZodLiteral<DocumentElementType.MULTIPLE_CHOICE>;
2476
2431
  question: z.ZodString;
2477
2432
  options: z.ZodArray<z.ZodString, "many">;
2478
2433
  defaultValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2479
- }>, "id">, "strip", z.ZodTypeAny, {
2434
+ }, "id">, "strip", z.ZodTypeAny, {
2480
2435
  type: DocumentElementType.MULTIPLE_CHOICE;
2481
2436
  question: string;
2482
2437
  options: string[];
@@ -2488,16 +2443,15 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2488
2443
  options: string[];
2489
2444
  required?: boolean | undefined;
2490
2445
  defaultValues?: string[] | undefined;
2491
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2446
+ }>, z.ZodObject<Omit<{
2492
2447
  id: z.ZodOptional<z.ZodString>;
2493
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2494
2448
  required: z.ZodOptional<z.ZodBoolean>;
2495
- }, {
2449
+ } & {
2496
2450
  type: z.ZodLiteral<DocumentElementType.SINGLE_CHOICE>;
2497
2451
  question: z.ZodString;
2498
2452
  options: z.ZodArray<z.ZodString, "many">;
2499
2453
  defaultValue: z.ZodOptional<z.ZodString>;
2500
- }>, "id">, "strip", z.ZodTypeAny, {
2454
+ }, "id">, "strip", z.ZodTypeAny, {
2501
2455
  type: DocumentElementType.SINGLE_CHOICE;
2502
2456
  question: string;
2503
2457
  options: string[];
@@ -2509,18 +2463,17 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2509
2463
  options: string[];
2510
2464
  required?: boolean | undefined;
2511
2465
  defaultValue?: string | undefined;
2512
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2466
+ }>, z.ZodObject<Omit<{
2513
2467
  id: z.ZodOptional<z.ZodString>;
2514
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2515
2468
  required: z.ZodOptional<z.ZodBoolean>;
2516
- }, {
2469
+ } & {
2517
2470
  type: z.ZodLiteral<DocumentElementType.RATING_SCALE>;
2518
2471
  question: z.ZodString;
2519
2472
  min: z.ZodNumber;
2520
2473
  max: z.ZodNumber;
2521
2474
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2522
2475
  defaultValue: z.ZodOptional<z.ZodNumber>;
2523
- }>, "id">, "strip", z.ZodTypeAny, {
2476
+ }, "id">, "strip", z.ZodTypeAny, {
2524
2477
  type: DocumentElementType.RATING_SCALE;
2525
2478
  question: string;
2526
2479
  min: number;
@@ -2536,17 +2489,16 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2536
2489
  required?: boolean | undefined;
2537
2490
  defaultValue?: number | undefined;
2538
2491
  labels?: Record<string, string> | undefined;
2539
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2492
+ }>, z.ZodObject<Omit<{
2540
2493
  id: z.ZodOptional<z.ZodString>;
2541
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2542
2494
  required: z.ZodOptional<z.ZodBoolean>;
2543
- }, {
2495
+ } & {
2544
2496
  type: z.ZodLiteral<DocumentElementType.TEXT_INPUT>;
2545
2497
  label: z.ZodString;
2546
2498
  placeholder: z.ZodOptional<z.ZodString>;
2547
2499
  multiline: z.ZodOptional<z.ZodBoolean>;
2548
2500
  defaultValue: z.ZodOptional<z.ZodString>;
2549
- }>, "id">, "strip", z.ZodTypeAny, {
2501
+ }, "id">, "strip", z.ZodTypeAny, {
2550
2502
  type: DocumentElementType.TEXT_INPUT;
2551
2503
  label: string;
2552
2504
  required?: boolean | undefined;
@@ -2560,15 +2512,14 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2560
2512
  defaultValue?: string | undefined;
2561
2513
  placeholder?: string | undefined;
2562
2514
  multiline?: boolean | undefined;
2563
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2515
+ }>, z.ZodObject<Omit<{
2564
2516
  id: z.ZodOptional<z.ZodString>;
2565
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2566
2517
  required: z.ZodOptional<z.ZodBoolean>;
2567
- }, {
2518
+ } & {
2568
2519
  type: z.ZodLiteral<DocumentElementType.DATE_PICKER>;
2569
2520
  label: z.ZodString;
2570
2521
  defaultValue: z.ZodOptional<z.ZodString>;
2571
- }>, "id">, "strip", z.ZodTypeAny, {
2522
+ }, "id">, "strip", z.ZodTypeAny, {
2572
2523
  type: DocumentElementType.DATE_PICKER;
2573
2524
  label: string;
2574
2525
  required?: boolean | undefined;
@@ -2578,14 +2529,13 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2578
2529
  label: string;
2579
2530
  required?: boolean | undefined;
2580
2531
  defaultValue?: string | undefined;
2581
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2532
+ }>, z.ZodObject<Omit<{
2582
2533
  id: z.ZodOptional<z.ZodString>;
2583
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2584
2534
  required: z.ZodOptional<z.ZodBoolean>;
2585
- }, {
2535
+ } & {
2586
2536
  type: z.ZodLiteral<DocumentElementType.SIGNATURE>;
2587
2537
  label: z.ZodString;
2588
- }>, "id">, "strip", z.ZodTypeAny, {
2538
+ }, "id">, "strip", z.ZodTypeAny, {
2589
2539
  type: DocumentElementType.SIGNATURE;
2590
2540
  label: string;
2591
2541
  required?: boolean | undefined;
@@ -2593,14 +2543,13 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2593
2543
  type: DocumentElementType.SIGNATURE;
2594
2544
  label: string;
2595
2545
  required?: boolean | undefined;
2596
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2546
+ }>, z.ZodObject<Omit<{
2597
2547
  id: z.ZodOptional<z.ZodString>;
2598
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2599
2548
  required: z.ZodOptional<z.ZodBoolean>;
2600
- }, {
2549
+ } & {
2601
2550
  type: z.ZodLiteral<DocumentElementType.DITIGAL_SIGNATURE>;
2602
2551
  label: z.ZodString;
2603
- }>, "id">, "strip", z.ZodTypeAny, {
2552
+ }, "id">, "strip", z.ZodTypeAny, {
2604
2553
  type: DocumentElementType.DITIGAL_SIGNATURE;
2605
2554
  label: string;
2606
2555
  required?: boolean | undefined;
@@ -2608,16 +2557,15 @@ declare const updateDocumentTemplateSchema: z.ZodObject<{
2608
2557
  type: DocumentElementType.DITIGAL_SIGNATURE;
2609
2558
  label: string;
2610
2559
  required?: boolean | undefined;
2611
- }>, z.ZodObject<Omit<z.objectUtil.extendShape<{
2560
+ }>, z.ZodObject<Omit<{
2612
2561
  id: z.ZodOptional<z.ZodString>;
2613
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2614
2562
  required: z.ZodOptional<z.ZodBoolean>;
2615
- }, {
2563
+ } & {
2616
2564
  type: z.ZodLiteral<DocumentElementType.FILE_UPLOAD>;
2617
2565
  label: z.ZodString;
2618
2566
  allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2619
2567
  maxFileSizeMB: z.ZodOptional<z.ZodNumber>;
2620
- }>, "id">, "strip", z.ZodTypeAny, {
2568
+ }, "id">, "strip", z.ZodTypeAny, {
2621
2569
  type: DocumentElementType.FILE_UPLOAD;
2622
2570
  label: string;
2623
2571
  required?: boolean | undefined;
@@ -2799,15 +2747,14 @@ declare const documentTemplateSchema: z.ZodObject<{
2799
2747
  createdAt: z.ZodNumber;
2800
2748
  updatedAt: z.ZodNumber;
2801
2749
  createdBy: z.ZodString;
2802
- elements: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
2750
+ elements: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
2803
2751
  id: z.ZodOptional<z.ZodString>;
2804
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2805
2752
  required: z.ZodOptional<z.ZodBoolean>;
2806
- }, {
2753
+ } & {
2807
2754
  type: z.ZodLiteral<DocumentElementType.HEADING>;
2808
2755
  text: z.ZodString;
2809
2756
  level: z.ZodNativeEnum<typeof HeadingLevel>;
2810
- }>, "strip", z.ZodTypeAny, {
2757
+ }, "strip", z.ZodTypeAny, {
2811
2758
  type: DocumentElementType.HEADING;
2812
2759
  text: string;
2813
2760
  level: HeadingLevel;
@@ -2819,14 +2766,13 @@ declare const documentTemplateSchema: z.ZodObject<{
2819
2766
  level: HeadingLevel;
2820
2767
  id?: string | undefined;
2821
2768
  required?: boolean | undefined;
2822
- }>, z.ZodObject<z.objectUtil.extendShape<{
2769
+ }>, z.ZodObject<{
2823
2770
  id: z.ZodOptional<z.ZodString>;
2824
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2825
2771
  required: z.ZodOptional<z.ZodBoolean>;
2826
- }, {
2772
+ } & {
2827
2773
  type: z.ZodLiteral<DocumentElementType.PARAGRAPH>;
2828
2774
  text: z.ZodString;
2829
- }>, "strip", z.ZodTypeAny, {
2775
+ }, "strip", z.ZodTypeAny, {
2830
2776
  type: DocumentElementType.PARAGRAPH;
2831
2777
  text: string;
2832
2778
  id?: string | undefined;
@@ -2836,15 +2782,14 @@ declare const documentTemplateSchema: z.ZodObject<{
2836
2782
  text: string;
2837
2783
  id?: string | undefined;
2838
2784
  required?: boolean | undefined;
2839
- }>, z.ZodObject<z.objectUtil.extendShape<{
2785
+ }>, z.ZodObject<{
2840
2786
  id: z.ZodOptional<z.ZodString>;
2841
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2842
2787
  required: z.ZodOptional<z.ZodBoolean>;
2843
- }, {
2788
+ } & {
2844
2789
  type: z.ZodLiteral<DocumentElementType.LIST>;
2845
2790
  items: z.ZodArray<z.ZodString, "many">;
2846
2791
  listType: z.ZodNativeEnum<typeof ListType>;
2847
- }>, "strip", z.ZodTypeAny, {
2792
+ }, "strip", z.ZodTypeAny, {
2848
2793
  type: DocumentElementType.LIST;
2849
2794
  items: string[];
2850
2795
  listType: ListType;
@@ -2856,14 +2801,13 @@ declare const documentTemplateSchema: z.ZodObject<{
2856
2801
  listType: ListType;
2857
2802
  id?: string | undefined;
2858
2803
  required?: boolean | undefined;
2859
- }>, z.ZodObject<z.objectUtil.extendShape<{
2804
+ }>, z.ZodObject<{
2860
2805
  id: z.ZodOptional<z.ZodString>;
2861
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2862
2806
  required: z.ZodOptional<z.ZodBoolean>;
2863
- }, {
2807
+ } & {
2864
2808
  type: z.ZodLiteral<DocumentElementType.DYNAMIC_TEXT>;
2865
2809
  text: z.ZodString;
2866
- }>, "strip", z.ZodTypeAny, {
2810
+ }, "strip", z.ZodTypeAny, {
2867
2811
  type: DocumentElementType.DYNAMIC_TEXT;
2868
2812
  text: string;
2869
2813
  id?: string | undefined;
@@ -2873,15 +2817,14 @@ declare const documentTemplateSchema: z.ZodObject<{
2873
2817
  text: string;
2874
2818
  id?: string | undefined;
2875
2819
  required?: boolean | undefined;
2876
- }>, z.ZodObject<z.objectUtil.extendShape<{
2820
+ }>, z.ZodObject<{
2877
2821
  id: z.ZodOptional<z.ZodString>;
2878
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2879
2822
  required: z.ZodOptional<z.ZodBoolean>;
2880
- }, {
2823
+ } & {
2881
2824
  type: z.ZodLiteral<DocumentElementType.BINARY_CHOICE>;
2882
2825
  question: z.ZodString;
2883
2826
  defaultValue: z.ZodOptional<z.ZodBoolean>;
2884
- }>, "strip", z.ZodTypeAny, {
2827
+ }, "strip", z.ZodTypeAny, {
2885
2828
  type: DocumentElementType.BINARY_CHOICE;
2886
2829
  question: string;
2887
2830
  id?: string | undefined;
@@ -2893,16 +2836,15 @@ declare const documentTemplateSchema: z.ZodObject<{
2893
2836
  id?: string | undefined;
2894
2837
  required?: boolean | undefined;
2895
2838
  defaultValue?: boolean | undefined;
2896
- }>, z.ZodObject<z.objectUtil.extendShape<{
2839
+ }>, z.ZodObject<{
2897
2840
  id: z.ZodOptional<z.ZodString>;
2898
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2899
2841
  required: z.ZodOptional<z.ZodBoolean>;
2900
- }, {
2842
+ } & {
2901
2843
  type: z.ZodLiteral<DocumentElementType.MULTIPLE_CHOICE>;
2902
2844
  question: z.ZodString;
2903
2845
  options: z.ZodArray<z.ZodString, "many">;
2904
2846
  defaultValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
2905
- }>, "strip", z.ZodTypeAny, {
2847
+ }, "strip", z.ZodTypeAny, {
2906
2848
  type: DocumentElementType.MULTIPLE_CHOICE;
2907
2849
  question: string;
2908
2850
  options: string[];
@@ -2916,16 +2858,15 @@ declare const documentTemplateSchema: z.ZodObject<{
2916
2858
  id?: string | undefined;
2917
2859
  required?: boolean | undefined;
2918
2860
  defaultValues?: string[] | undefined;
2919
- }>, z.ZodObject<z.objectUtil.extendShape<{
2861
+ }>, z.ZodObject<{
2920
2862
  id: z.ZodOptional<z.ZodString>;
2921
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2922
2863
  required: z.ZodOptional<z.ZodBoolean>;
2923
- }, {
2864
+ } & {
2924
2865
  type: z.ZodLiteral<DocumentElementType.SINGLE_CHOICE>;
2925
2866
  question: z.ZodString;
2926
2867
  options: z.ZodArray<z.ZodString, "many">;
2927
2868
  defaultValue: z.ZodOptional<z.ZodString>;
2928
- }>, "strip", z.ZodTypeAny, {
2869
+ }, "strip", z.ZodTypeAny, {
2929
2870
  type: DocumentElementType.SINGLE_CHOICE;
2930
2871
  question: string;
2931
2872
  options: string[];
@@ -2939,18 +2880,17 @@ declare const documentTemplateSchema: z.ZodObject<{
2939
2880
  id?: string | undefined;
2940
2881
  required?: boolean | undefined;
2941
2882
  defaultValue?: string | undefined;
2942
- }>, z.ZodObject<z.objectUtil.extendShape<{
2883
+ }>, z.ZodObject<{
2943
2884
  id: z.ZodOptional<z.ZodString>;
2944
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2945
2885
  required: z.ZodOptional<z.ZodBoolean>;
2946
- }, {
2886
+ } & {
2947
2887
  type: z.ZodLiteral<DocumentElementType.RATING_SCALE>;
2948
2888
  question: z.ZodString;
2949
2889
  min: z.ZodNumber;
2950
2890
  max: z.ZodNumber;
2951
2891
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2952
2892
  defaultValue: z.ZodOptional<z.ZodNumber>;
2953
- }>, "strip", z.ZodTypeAny, {
2893
+ }, "strip", z.ZodTypeAny, {
2954
2894
  type: DocumentElementType.RATING_SCALE;
2955
2895
  question: string;
2956
2896
  min: number;
@@ -2968,17 +2908,16 @@ declare const documentTemplateSchema: z.ZodObject<{
2968
2908
  required?: boolean | undefined;
2969
2909
  defaultValue?: number | undefined;
2970
2910
  labels?: Record<string, string> | undefined;
2971
- }>, z.ZodObject<z.objectUtil.extendShape<{
2911
+ }>, z.ZodObject<{
2972
2912
  id: z.ZodOptional<z.ZodString>;
2973
- type: z.ZodNativeEnum<typeof DocumentElementType>;
2974
2913
  required: z.ZodOptional<z.ZodBoolean>;
2975
- }, {
2914
+ } & {
2976
2915
  type: z.ZodLiteral<DocumentElementType.TEXT_INPUT>;
2977
2916
  label: z.ZodString;
2978
2917
  placeholder: z.ZodOptional<z.ZodString>;
2979
2918
  multiline: z.ZodOptional<z.ZodBoolean>;
2980
2919
  defaultValue: z.ZodOptional<z.ZodString>;
2981
- }>, "strip", z.ZodTypeAny, {
2920
+ }, "strip", z.ZodTypeAny, {
2982
2921
  type: DocumentElementType.TEXT_INPUT;
2983
2922
  label: string;
2984
2923
  id?: string | undefined;
@@ -2994,15 +2933,14 @@ declare const documentTemplateSchema: z.ZodObject<{
2994
2933
  defaultValue?: string | undefined;
2995
2934
  placeholder?: string | undefined;
2996
2935
  multiline?: boolean | undefined;
2997
- }>, z.ZodObject<z.objectUtil.extendShape<{
2936
+ }>, z.ZodObject<{
2998
2937
  id: z.ZodOptional<z.ZodString>;
2999
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3000
2938
  required: z.ZodOptional<z.ZodBoolean>;
3001
- }, {
2939
+ } & {
3002
2940
  type: z.ZodLiteral<DocumentElementType.DATE_PICKER>;
3003
2941
  label: z.ZodString;
3004
2942
  defaultValue: z.ZodOptional<z.ZodString>;
3005
- }>, "strip", z.ZodTypeAny, {
2943
+ }, "strip", z.ZodTypeAny, {
3006
2944
  type: DocumentElementType.DATE_PICKER;
3007
2945
  label: string;
3008
2946
  id?: string | undefined;
@@ -3014,14 +2952,13 @@ declare const documentTemplateSchema: z.ZodObject<{
3014
2952
  id?: string | undefined;
3015
2953
  required?: boolean | undefined;
3016
2954
  defaultValue?: string | undefined;
3017
- }>, z.ZodObject<z.objectUtil.extendShape<{
2955
+ }>, z.ZodObject<{
3018
2956
  id: z.ZodOptional<z.ZodString>;
3019
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3020
2957
  required: z.ZodOptional<z.ZodBoolean>;
3021
- }, {
2958
+ } & {
3022
2959
  type: z.ZodLiteral<DocumentElementType.SIGNATURE>;
3023
2960
  label: z.ZodString;
3024
- }>, "strip", z.ZodTypeAny, {
2961
+ }, "strip", z.ZodTypeAny, {
3025
2962
  type: DocumentElementType.SIGNATURE;
3026
2963
  label: string;
3027
2964
  id?: string | undefined;
@@ -3031,14 +2968,13 @@ declare const documentTemplateSchema: z.ZodObject<{
3031
2968
  label: string;
3032
2969
  id?: string | undefined;
3033
2970
  required?: boolean | undefined;
3034
- }>, z.ZodObject<z.objectUtil.extendShape<{
2971
+ }>, z.ZodObject<{
3035
2972
  id: z.ZodOptional<z.ZodString>;
3036
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3037
2973
  required: z.ZodOptional<z.ZodBoolean>;
3038
- }, {
2974
+ } & {
3039
2975
  type: z.ZodLiteral<DocumentElementType.DITIGAL_SIGNATURE>;
3040
2976
  label: z.ZodString;
3041
- }>, "strip", z.ZodTypeAny, {
2977
+ }, "strip", z.ZodTypeAny, {
3042
2978
  type: DocumentElementType.DITIGAL_SIGNATURE;
3043
2979
  label: string;
3044
2980
  id?: string | undefined;
@@ -3048,16 +2984,15 @@ declare const documentTemplateSchema: z.ZodObject<{
3048
2984
  label: string;
3049
2985
  id?: string | undefined;
3050
2986
  required?: boolean | undefined;
3051
- }>, z.ZodObject<z.objectUtil.extendShape<{
2987
+ }>, z.ZodObject<{
3052
2988
  id: z.ZodOptional<z.ZodString>;
3053
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3054
2989
  required: z.ZodOptional<z.ZodBoolean>;
3055
- }, {
2990
+ } & {
3056
2991
  type: z.ZodLiteral<DocumentElementType.FILE_UPLOAD>;
3057
2992
  label: z.ZodString;
3058
2993
  allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3059
2994
  maxFileSizeMB: z.ZodOptional<z.ZodNumber>;
3060
- }>, "strip", z.ZodTypeAny, {
2995
+ }, "strip", z.ZodTypeAny, {
3061
2996
  type: DocumentElementType.FILE_UPLOAD;
3062
2997
  label: string;
3063
2998
  id?: string | undefined;
@@ -3651,15 +3586,14 @@ declare const technologySchema: z.ZodObject<{
3651
3586
  createdAt: z.ZodNumber;
3652
3587
  updatedAt: z.ZodNumber;
3653
3588
  createdBy: z.ZodString;
3654
- elements: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
3589
+ elements: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
3655
3590
  id: z.ZodOptional<z.ZodString>;
3656
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3657
3591
  required: z.ZodOptional<z.ZodBoolean>;
3658
- }, {
3592
+ } & {
3659
3593
  type: z.ZodLiteral<DocumentElementType.HEADING>;
3660
3594
  text: z.ZodString;
3661
3595
  level: z.ZodNativeEnum<typeof HeadingLevel>;
3662
- }>, "strip", z.ZodTypeAny, {
3596
+ }, "strip", z.ZodTypeAny, {
3663
3597
  type: DocumentElementType.HEADING;
3664
3598
  text: string;
3665
3599
  level: HeadingLevel;
@@ -3671,14 +3605,13 @@ declare const technologySchema: z.ZodObject<{
3671
3605
  level: HeadingLevel;
3672
3606
  id?: string | undefined;
3673
3607
  required?: boolean | undefined;
3674
- }>, z.ZodObject<z.objectUtil.extendShape<{
3608
+ }>, z.ZodObject<{
3675
3609
  id: z.ZodOptional<z.ZodString>;
3676
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3677
3610
  required: z.ZodOptional<z.ZodBoolean>;
3678
- }, {
3611
+ } & {
3679
3612
  type: z.ZodLiteral<DocumentElementType.PARAGRAPH>;
3680
3613
  text: z.ZodString;
3681
- }>, "strip", z.ZodTypeAny, {
3614
+ }, "strip", z.ZodTypeAny, {
3682
3615
  type: DocumentElementType.PARAGRAPH;
3683
3616
  text: string;
3684
3617
  id?: string | undefined;
@@ -3688,15 +3621,14 @@ declare const technologySchema: z.ZodObject<{
3688
3621
  text: string;
3689
3622
  id?: string | undefined;
3690
3623
  required?: boolean | undefined;
3691
- }>, z.ZodObject<z.objectUtil.extendShape<{
3624
+ }>, z.ZodObject<{
3692
3625
  id: z.ZodOptional<z.ZodString>;
3693
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3694
3626
  required: z.ZodOptional<z.ZodBoolean>;
3695
- }, {
3627
+ } & {
3696
3628
  type: z.ZodLiteral<DocumentElementType.LIST>;
3697
3629
  items: z.ZodArray<z.ZodString, "many">;
3698
3630
  listType: z.ZodNativeEnum<typeof ListType>;
3699
- }>, "strip", z.ZodTypeAny, {
3631
+ }, "strip", z.ZodTypeAny, {
3700
3632
  type: DocumentElementType.LIST;
3701
3633
  items: string[];
3702
3634
  listType: ListType;
@@ -3708,14 +3640,13 @@ declare const technologySchema: z.ZodObject<{
3708
3640
  listType: ListType;
3709
3641
  id?: string | undefined;
3710
3642
  required?: boolean | undefined;
3711
- }>, z.ZodObject<z.objectUtil.extendShape<{
3643
+ }>, z.ZodObject<{
3712
3644
  id: z.ZodOptional<z.ZodString>;
3713
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3714
3645
  required: z.ZodOptional<z.ZodBoolean>;
3715
- }, {
3646
+ } & {
3716
3647
  type: z.ZodLiteral<DocumentElementType.DYNAMIC_TEXT>;
3717
3648
  text: z.ZodString;
3718
- }>, "strip", z.ZodTypeAny, {
3649
+ }, "strip", z.ZodTypeAny, {
3719
3650
  type: DocumentElementType.DYNAMIC_TEXT;
3720
3651
  text: string;
3721
3652
  id?: string | undefined;
@@ -3725,15 +3656,14 @@ declare const technologySchema: z.ZodObject<{
3725
3656
  text: string;
3726
3657
  id?: string | undefined;
3727
3658
  required?: boolean | undefined;
3728
- }>, z.ZodObject<z.objectUtil.extendShape<{
3659
+ }>, z.ZodObject<{
3729
3660
  id: z.ZodOptional<z.ZodString>;
3730
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3731
3661
  required: z.ZodOptional<z.ZodBoolean>;
3732
- }, {
3662
+ } & {
3733
3663
  type: z.ZodLiteral<DocumentElementType.BINARY_CHOICE>;
3734
3664
  question: z.ZodString;
3735
3665
  defaultValue: z.ZodOptional<z.ZodBoolean>;
3736
- }>, "strip", z.ZodTypeAny, {
3666
+ }, "strip", z.ZodTypeAny, {
3737
3667
  type: DocumentElementType.BINARY_CHOICE;
3738
3668
  question: string;
3739
3669
  id?: string | undefined;
@@ -3745,16 +3675,15 @@ declare const technologySchema: z.ZodObject<{
3745
3675
  id?: string | undefined;
3746
3676
  required?: boolean | undefined;
3747
3677
  defaultValue?: boolean | undefined;
3748
- }>, z.ZodObject<z.objectUtil.extendShape<{
3678
+ }>, z.ZodObject<{
3749
3679
  id: z.ZodOptional<z.ZodString>;
3750
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3751
3680
  required: z.ZodOptional<z.ZodBoolean>;
3752
- }, {
3681
+ } & {
3753
3682
  type: z.ZodLiteral<DocumentElementType.MULTIPLE_CHOICE>;
3754
3683
  question: z.ZodString;
3755
3684
  options: z.ZodArray<z.ZodString, "many">;
3756
3685
  defaultValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3757
- }>, "strip", z.ZodTypeAny, {
3686
+ }, "strip", z.ZodTypeAny, {
3758
3687
  type: DocumentElementType.MULTIPLE_CHOICE;
3759
3688
  question: string;
3760
3689
  options: string[];
@@ -3768,16 +3697,15 @@ declare const technologySchema: z.ZodObject<{
3768
3697
  id?: string | undefined;
3769
3698
  required?: boolean | undefined;
3770
3699
  defaultValues?: string[] | undefined;
3771
- }>, z.ZodObject<z.objectUtil.extendShape<{
3700
+ }>, z.ZodObject<{
3772
3701
  id: z.ZodOptional<z.ZodString>;
3773
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3774
3702
  required: z.ZodOptional<z.ZodBoolean>;
3775
- }, {
3703
+ } & {
3776
3704
  type: z.ZodLiteral<DocumentElementType.SINGLE_CHOICE>;
3777
3705
  question: z.ZodString;
3778
3706
  options: z.ZodArray<z.ZodString, "many">;
3779
3707
  defaultValue: z.ZodOptional<z.ZodString>;
3780
- }>, "strip", z.ZodTypeAny, {
3708
+ }, "strip", z.ZodTypeAny, {
3781
3709
  type: DocumentElementType.SINGLE_CHOICE;
3782
3710
  question: string;
3783
3711
  options: string[];
@@ -3791,18 +3719,17 @@ declare const technologySchema: z.ZodObject<{
3791
3719
  id?: string | undefined;
3792
3720
  required?: boolean | undefined;
3793
3721
  defaultValue?: string | undefined;
3794
- }>, z.ZodObject<z.objectUtil.extendShape<{
3722
+ }>, z.ZodObject<{
3795
3723
  id: z.ZodOptional<z.ZodString>;
3796
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3797
3724
  required: z.ZodOptional<z.ZodBoolean>;
3798
- }, {
3725
+ } & {
3799
3726
  type: z.ZodLiteral<DocumentElementType.RATING_SCALE>;
3800
3727
  question: z.ZodString;
3801
3728
  min: z.ZodNumber;
3802
3729
  max: z.ZodNumber;
3803
3730
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
3804
3731
  defaultValue: z.ZodOptional<z.ZodNumber>;
3805
- }>, "strip", z.ZodTypeAny, {
3732
+ }, "strip", z.ZodTypeAny, {
3806
3733
  type: DocumentElementType.RATING_SCALE;
3807
3734
  question: string;
3808
3735
  min: number;
@@ -3820,17 +3747,16 @@ declare const technologySchema: z.ZodObject<{
3820
3747
  required?: boolean | undefined;
3821
3748
  defaultValue?: number | undefined;
3822
3749
  labels?: Record<string, string> | undefined;
3823
- }>, z.ZodObject<z.objectUtil.extendShape<{
3750
+ }>, z.ZodObject<{
3824
3751
  id: z.ZodOptional<z.ZodString>;
3825
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3826
3752
  required: z.ZodOptional<z.ZodBoolean>;
3827
- }, {
3753
+ } & {
3828
3754
  type: z.ZodLiteral<DocumentElementType.TEXT_INPUT>;
3829
3755
  label: z.ZodString;
3830
3756
  placeholder: z.ZodOptional<z.ZodString>;
3831
3757
  multiline: z.ZodOptional<z.ZodBoolean>;
3832
3758
  defaultValue: z.ZodOptional<z.ZodString>;
3833
- }>, "strip", z.ZodTypeAny, {
3759
+ }, "strip", z.ZodTypeAny, {
3834
3760
  type: DocumentElementType.TEXT_INPUT;
3835
3761
  label: string;
3836
3762
  id?: string | undefined;
@@ -3846,15 +3772,14 @@ declare const technologySchema: z.ZodObject<{
3846
3772
  defaultValue?: string | undefined;
3847
3773
  placeholder?: string | undefined;
3848
3774
  multiline?: boolean | undefined;
3849
- }>, z.ZodObject<z.objectUtil.extendShape<{
3775
+ }>, z.ZodObject<{
3850
3776
  id: z.ZodOptional<z.ZodString>;
3851
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3852
3777
  required: z.ZodOptional<z.ZodBoolean>;
3853
- }, {
3778
+ } & {
3854
3779
  type: z.ZodLiteral<DocumentElementType.DATE_PICKER>;
3855
3780
  label: z.ZodString;
3856
3781
  defaultValue: z.ZodOptional<z.ZodString>;
3857
- }>, "strip", z.ZodTypeAny, {
3782
+ }, "strip", z.ZodTypeAny, {
3858
3783
  type: DocumentElementType.DATE_PICKER;
3859
3784
  label: string;
3860
3785
  id?: string | undefined;
@@ -3866,14 +3791,13 @@ declare const technologySchema: z.ZodObject<{
3866
3791
  id?: string | undefined;
3867
3792
  required?: boolean | undefined;
3868
3793
  defaultValue?: string | undefined;
3869
- }>, z.ZodObject<z.objectUtil.extendShape<{
3794
+ }>, z.ZodObject<{
3870
3795
  id: z.ZodOptional<z.ZodString>;
3871
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3872
3796
  required: z.ZodOptional<z.ZodBoolean>;
3873
- }, {
3797
+ } & {
3874
3798
  type: z.ZodLiteral<DocumentElementType.SIGNATURE>;
3875
3799
  label: z.ZodString;
3876
- }>, "strip", z.ZodTypeAny, {
3800
+ }, "strip", z.ZodTypeAny, {
3877
3801
  type: DocumentElementType.SIGNATURE;
3878
3802
  label: string;
3879
3803
  id?: string | undefined;
@@ -3883,14 +3807,13 @@ declare const technologySchema: z.ZodObject<{
3883
3807
  label: string;
3884
3808
  id?: string | undefined;
3885
3809
  required?: boolean | undefined;
3886
- }>, z.ZodObject<z.objectUtil.extendShape<{
3810
+ }>, z.ZodObject<{
3887
3811
  id: z.ZodOptional<z.ZodString>;
3888
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3889
3812
  required: z.ZodOptional<z.ZodBoolean>;
3890
- }, {
3813
+ } & {
3891
3814
  type: z.ZodLiteral<DocumentElementType.DITIGAL_SIGNATURE>;
3892
3815
  label: z.ZodString;
3893
- }>, "strip", z.ZodTypeAny, {
3816
+ }, "strip", z.ZodTypeAny, {
3894
3817
  type: DocumentElementType.DITIGAL_SIGNATURE;
3895
3818
  label: string;
3896
3819
  id?: string | undefined;
@@ -3900,16 +3823,15 @@ declare const technologySchema: z.ZodObject<{
3900
3823
  label: string;
3901
3824
  id?: string | undefined;
3902
3825
  required?: boolean | undefined;
3903
- }>, z.ZodObject<z.objectUtil.extendShape<{
3826
+ }>, z.ZodObject<{
3904
3827
  id: z.ZodOptional<z.ZodString>;
3905
- type: z.ZodNativeEnum<typeof DocumentElementType>;
3906
3828
  required: z.ZodOptional<z.ZodBoolean>;
3907
- }, {
3829
+ } & {
3908
3830
  type: z.ZodLiteral<DocumentElementType.FILE_UPLOAD>;
3909
3831
  label: z.ZodString;
3910
3832
  allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
3911
3833
  maxFileSizeMB: z.ZodOptional<z.ZodNumber>;
3912
- }>, "strip", z.ZodTypeAny, {
3834
+ }, "strip", z.ZodTypeAny, {
3913
3835
  type: DocumentElementType.FILE_UPLOAD;
3914
3836
  label: string;
3915
3837
  id?: string | undefined;
@@ -4637,15 +4559,14 @@ declare const technologyUpdateSchema: z.ZodObject<{
4637
4559
  createdAt: z.ZodNumber;
4638
4560
  updatedAt: z.ZodNumber;
4639
4561
  createdBy: z.ZodString;
4640
- elements: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<z.objectUtil.extendShape<{
4562
+ elements: z.ZodArray<z.ZodDiscriminatedUnion<"type", [z.ZodObject<{
4641
4563
  id: z.ZodOptional<z.ZodString>;
4642
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4643
4564
  required: z.ZodOptional<z.ZodBoolean>;
4644
- }, {
4565
+ } & {
4645
4566
  type: z.ZodLiteral<DocumentElementType.HEADING>;
4646
4567
  text: z.ZodString;
4647
4568
  level: z.ZodNativeEnum<typeof HeadingLevel>;
4648
- }>, "strip", z.ZodTypeAny, {
4569
+ }, "strip", z.ZodTypeAny, {
4649
4570
  type: DocumentElementType.HEADING;
4650
4571
  text: string;
4651
4572
  level: HeadingLevel;
@@ -4657,14 +4578,13 @@ declare const technologyUpdateSchema: z.ZodObject<{
4657
4578
  level: HeadingLevel;
4658
4579
  id?: string | undefined;
4659
4580
  required?: boolean | undefined;
4660
- }>, z.ZodObject<z.objectUtil.extendShape<{
4581
+ }>, z.ZodObject<{
4661
4582
  id: z.ZodOptional<z.ZodString>;
4662
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4663
4583
  required: z.ZodOptional<z.ZodBoolean>;
4664
- }, {
4584
+ } & {
4665
4585
  type: z.ZodLiteral<DocumentElementType.PARAGRAPH>;
4666
4586
  text: z.ZodString;
4667
- }>, "strip", z.ZodTypeAny, {
4587
+ }, "strip", z.ZodTypeAny, {
4668
4588
  type: DocumentElementType.PARAGRAPH;
4669
4589
  text: string;
4670
4590
  id?: string | undefined;
@@ -4674,15 +4594,14 @@ declare const technologyUpdateSchema: z.ZodObject<{
4674
4594
  text: string;
4675
4595
  id?: string | undefined;
4676
4596
  required?: boolean | undefined;
4677
- }>, z.ZodObject<z.objectUtil.extendShape<{
4597
+ }>, z.ZodObject<{
4678
4598
  id: z.ZodOptional<z.ZodString>;
4679
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4680
4599
  required: z.ZodOptional<z.ZodBoolean>;
4681
- }, {
4600
+ } & {
4682
4601
  type: z.ZodLiteral<DocumentElementType.LIST>;
4683
4602
  items: z.ZodArray<z.ZodString, "many">;
4684
4603
  listType: z.ZodNativeEnum<typeof ListType>;
4685
- }>, "strip", z.ZodTypeAny, {
4604
+ }, "strip", z.ZodTypeAny, {
4686
4605
  type: DocumentElementType.LIST;
4687
4606
  items: string[];
4688
4607
  listType: ListType;
@@ -4694,14 +4613,13 @@ declare const technologyUpdateSchema: z.ZodObject<{
4694
4613
  listType: ListType;
4695
4614
  id?: string | undefined;
4696
4615
  required?: boolean | undefined;
4697
- }>, z.ZodObject<z.objectUtil.extendShape<{
4616
+ }>, z.ZodObject<{
4698
4617
  id: z.ZodOptional<z.ZodString>;
4699
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4700
4618
  required: z.ZodOptional<z.ZodBoolean>;
4701
- }, {
4619
+ } & {
4702
4620
  type: z.ZodLiteral<DocumentElementType.DYNAMIC_TEXT>;
4703
4621
  text: z.ZodString;
4704
- }>, "strip", z.ZodTypeAny, {
4622
+ }, "strip", z.ZodTypeAny, {
4705
4623
  type: DocumentElementType.DYNAMIC_TEXT;
4706
4624
  text: string;
4707
4625
  id?: string | undefined;
@@ -4711,15 +4629,14 @@ declare const technologyUpdateSchema: z.ZodObject<{
4711
4629
  text: string;
4712
4630
  id?: string | undefined;
4713
4631
  required?: boolean | undefined;
4714
- }>, z.ZodObject<z.objectUtil.extendShape<{
4632
+ }>, z.ZodObject<{
4715
4633
  id: z.ZodOptional<z.ZodString>;
4716
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4717
4634
  required: z.ZodOptional<z.ZodBoolean>;
4718
- }, {
4635
+ } & {
4719
4636
  type: z.ZodLiteral<DocumentElementType.BINARY_CHOICE>;
4720
4637
  question: z.ZodString;
4721
4638
  defaultValue: z.ZodOptional<z.ZodBoolean>;
4722
- }>, "strip", z.ZodTypeAny, {
4639
+ }, "strip", z.ZodTypeAny, {
4723
4640
  type: DocumentElementType.BINARY_CHOICE;
4724
4641
  question: string;
4725
4642
  id?: string | undefined;
@@ -4731,16 +4648,15 @@ declare const technologyUpdateSchema: z.ZodObject<{
4731
4648
  id?: string | undefined;
4732
4649
  required?: boolean | undefined;
4733
4650
  defaultValue?: boolean | undefined;
4734
- }>, z.ZodObject<z.objectUtil.extendShape<{
4651
+ }>, z.ZodObject<{
4735
4652
  id: z.ZodOptional<z.ZodString>;
4736
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4737
4653
  required: z.ZodOptional<z.ZodBoolean>;
4738
- }, {
4654
+ } & {
4739
4655
  type: z.ZodLiteral<DocumentElementType.MULTIPLE_CHOICE>;
4740
4656
  question: z.ZodString;
4741
4657
  options: z.ZodArray<z.ZodString, "many">;
4742
4658
  defaultValues: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4743
- }>, "strip", z.ZodTypeAny, {
4659
+ }, "strip", z.ZodTypeAny, {
4744
4660
  type: DocumentElementType.MULTIPLE_CHOICE;
4745
4661
  question: string;
4746
4662
  options: string[];
@@ -4754,16 +4670,15 @@ declare const technologyUpdateSchema: z.ZodObject<{
4754
4670
  id?: string | undefined;
4755
4671
  required?: boolean | undefined;
4756
4672
  defaultValues?: string[] | undefined;
4757
- }>, z.ZodObject<z.objectUtil.extendShape<{
4673
+ }>, z.ZodObject<{
4758
4674
  id: z.ZodOptional<z.ZodString>;
4759
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4760
4675
  required: z.ZodOptional<z.ZodBoolean>;
4761
- }, {
4676
+ } & {
4762
4677
  type: z.ZodLiteral<DocumentElementType.SINGLE_CHOICE>;
4763
4678
  question: z.ZodString;
4764
4679
  options: z.ZodArray<z.ZodString, "many">;
4765
4680
  defaultValue: z.ZodOptional<z.ZodString>;
4766
- }>, "strip", z.ZodTypeAny, {
4681
+ }, "strip", z.ZodTypeAny, {
4767
4682
  type: DocumentElementType.SINGLE_CHOICE;
4768
4683
  question: string;
4769
4684
  options: string[];
@@ -4777,18 +4692,17 @@ declare const technologyUpdateSchema: z.ZodObject<{
4777
4692
  id?: string | undefined;
4778
4693
  required?: boolean | undefined;
4779
4694
  defaultValue?: string | undefined;
4780
- }>, z.ZodObject<z.objectUtil.extendShape<{
4695
+ }>, z.ZodObject<{
4781
4696
  id: z.ZodOptional<z.ZodString>;
4782
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4783
4697
  required: z.ZodOptional<z.ZodBoolean>;
4784
- }, {
4698
+ } & {
4785
4699
  type: z.ZodLiteral<DocumentElementType.RATING_SCALE>;
4786
4700
  question: z.ZodString;
4787
4701
  min: z.ZodNumber;
4788
4702
  max: z.ZodNumber;
4789
4703
  labels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4790
4704
  defaultValue: z.ZodOptional<z.ZodNumber>;
4791
- }>, "strip", z.ZodTypeAny, {
4705
+ }, "strip", z.ZodTypeAny, {
4792
4706
  type: DocumentElementType.RATING_SCALE;
4793
4707
  question: string;
4794
4708
  min: number;
@@ -4806,17 +4720,16 @@ declare const technologyUpdateSchema: z.ZodObject<{
4806
4720
  required?: boolean | undefined;
4807
4721
  defaultValue?: number | undefined;
4808
4722
  labels?: Record<string, string> | undefined;
4809
- }>, z.ZodObject<z.objectUtil.extendShape<{
4723
+ }>, z.ZodObject<{
4810
4724
  id: z.ZodOptional<z.ZodString>;
4811
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4812
4725
  required: z.ZodOptional<z.ZodBoolean>;
4813
- }, {
4726
+ } & {
4814
4727
  type: z.ZodLiteral<DocumentElementType.TEXT_INPUT>;
4815
4728
  label: z.ZodString;
4816
4729
  placeholder: z.ZodOptional<z.ZodString>;
4817
4730
  multiline: z.ZodOptional<z.ZodBoolean>;
4818
4731
  defaultValue: z.ZodOptional<z.ZodString>;
4819
- }>, "strip", z.ZodTypeAny, {
4732
+ }, "strip", z.ZodTypeAny, {
4820
4733
  type: DocumentElementType.TEXT_INPUT;
4821
4734
  label: string;
4822
4735
  id?: string | undefined;
@@ -4832,15 +4745,14 @@ declare const technologyUpdateSchema: z.ZodObject<{
4832
4745
  defaultValue?: string | undefined;
4833
4746
  placeholder?: string | undefined;
4834
4747
  multiline?: boolean | undefined;
4835
- }>, z.ZodObject<z.objectUtil.extendShape<{
4748
+ }>, z.ZodObject<{
4836
4749
  id: z.ZodOptional<z.ZodString>;
4837
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4838
4750
  required: z.ZodOptional<z.ZodBoolean>;
4839
- }, {
4751
+ } & {
4840
4752
  type: z.ZodLiteral<DocumentElementType.DATE_PICKER>;
4841
4753
  label: z.ZodString;
4842
4754
  defaultValue: z.ZodOptional<z.ZodString>;
4843
- }>, "strip", z.ZodTypeAny, {
4755
+ }, "strip", z.ZodTypeAny, {
4844
4756
  type: DocumentElementType.DATE_PICKER;
4845
4757
  label: string;
4846
4758
  id?: string | undefined;
@@ -4852,14 +4764,13 @@ declare const technologyUpdateSchema: z.ZodObject<{
4852
4764
  id?: string | undefined;
4853
4765
  required?: boolean | undefined;
4854
4766
  defaultValue?: string | undefined;
4855
- }>, z.ZodObject<z.objectUtil.extendShape<{
4767
+ }>, z.ZodObject<{
4856
4768
  id: z.ZodOptional<z.ZodString>;
4857
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4858
4769
  required: z.ZodOptional<z.ZodBoolean>;
4859
- }, {
4770
+ } & {
4860
4771
  type: z.ZodLiteral<DocumentElementType.SIGNATURE>;
4861
4772
  label: z.ZodString;
4862
- }>, "strip", z.ZodTypeAny, {
4773
+ }, "strip", z.ZodTypeAny, {
4863
4774
  type: DocumentElementType.SIGNATURE;
4864
4775
  label: string;
4865
4776
  id?: string | undefined;
@@ -4869,14 +4780,13 @@ declare const technologyUpdateSchema: z.ZodObject<{
4869
4780
  label: string;
4870
4781
  id?: string | undefined;
4871
4782
  required?: boolean | undefined;
4872
- }>, z.ZodObject<z.objectUtil.extendShape<{
4783
+ }>, z.ZodObject<{
4873
4784
  id: z.ZodOptional<z.ZodString>;
4874
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4875
4785
  required: z.ZodOptional<z.ZodBoolean>;
4876
- }, {
4786
+ } & {
4877
4787
  type: z.ZodLiteral<DocumentElementType.DITIGAL_SIGNATURE>;
4878
4788
  label: z.ZodString;
4879
- }>, "strip", z.ZodTypeAny, {
4789
+ }, "strip", z.ZodTypeAny, {
4880
4790
  type: DocumentElementType.DITIGAL_SIGNATURE;
4881
4791
  label: string;
4882
4792
  id?: string | undefined;
@@ -4886,16 +4796,15 @@ declare const technologyUpdateSchema: z.ZodObject<{
4886
4796
  label: string;
4887
4797
  id?: string | undefined;
4888
4798
  required?: boolean | undefined;
4889
- }>, z.ZodObject<z.objectUtil.extendShape<{
4799
+ }>, z.ZodObject<{
4890
4800
  id: z.ZodOptional<z.ZodString>;
4891
- type: z.ZodNativeEnum<typeof DocumentElementType>;
4892
4801
  required: z.ZodOptional<z.ZodBoolean>;
4893
- }, {
4802
+ } & {
4894
4803
  type: z.ZodLiteral<DocumentElementType.FILE_UPLOAD>;
4895
4804
  label: z.ZodString;
4896
4805
  allowedFileTypes: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
4897
4806
  maxFileSizeMB: z.ZodOptional<z.ZodNumber>;
4898
- }>, "strip", z.ZodTypeAny, {
4807
+ }, "strip", z.ZodTypeAny, {
4899
4808
  type: DocumentElementType.FILE_UPLOAD;
4900
4809
  label: string;
4901
4810
  id?: string | undefined;