ochre-sdk 1.0.0-beta.7 → 1.0.0-beta.9

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
@@ -294,7 +294,7 @@ type Event<T extends ReadonlyArray<string>> = {
294
294
  end: Date;
295
295
  } | null;
296
296
  label: MultilingualString<T>;
297
- comment: string | null;
297
+ comment: MultilingualString<T> | null;
298
298
  agent: {
299
299
  uuid: string;
300
300
  label: MultilingualString<T>;
@@ -402,7 +402,7 @@ type ImageMap = {
402
402
  */
403
403
  type Note<T extends ReadonlyArray<string>> = {
404
404
  number: number;
405
- title: string | null;
405
+ title: MultilingualString<T> | null;
406
406
  content: MultilingualString<T>;
407
407
  authors: Array<Person<T, "nested">>;
408
408
  };
@@ -440,19 +440,34 @@ type PropertyValueContent<T extends ReadonlyArray<string>> = Prettify<{
440
440
  * Property in OCHRE
441
441
  */
442
442
  type Property<T extends ReadonlyArray<string>> = {
443
- label: {
443
+ variable: {
444
444
  uuid: string;
445
+ label: MultilingualString<T>;
445
446
  publicationDateTime: Date | null;
446
- name: string;
447
447
  };
448
448
  values: Array<PropertyValueContent<T>>;
449
449
  comment: MultilingualString<T> | null;
450
450
  properties: Array<Property<T>>;
451
451
  };
452
+ /**
453
+ * Simplified property in OCHRE website payloads. Simplified property variables
454
+ * expose scalar labels rather than multilingual labels.
455
+ */
456
+ type SimplifiedProperty<T extends ReadonlyArray<string>> = {
457
+ variable: {
458
+ uuid: string;
459
+ label: string;
460
+ publicationDateTime: Date | null;
461
+ };
462
+ values: Array<PropertyValueContent<T>>;
463
+ comment: MultilingualString<T> | null;
464
+ properties: Array<SimplifiedProperty<T>>;
465
+ };
452
466
  /**
453
467
  * Property in a Set item. OCHRE exposes Set item properties as a flat list.
454
468
  */
455
469
  type SingleHierarchyProperty<T extends ReadonlyArray<string>> = Omit<Property<T>, "properties">;
470
+ type SingleHierarchySimplifiedProperty<T extends ReadonlyArray<string>> = Omit<SimplifiedProperty<T>, "properties">;
456
471
  type WithSingleHierarchyProperties<U extends {
457
472
  properties: Array<Property<T>>;
458
473
  }, T extends ReadonlyArray<string>> = U extends {
@@ -828,7 +843,7 @@ type PropertyValueQueryItem = {
828
843
  count: number;
829
844
  dataType: Exclude<PropertyValueContent<ReadonlyArray<string>>["dataType"], "coordinate">;
830
845
  content: string | number | boolean | null;
831
- label: string | null;
846
+ label: MultilingualString | null;
832
847
  };
833
848
  /**
834
849
  * Represents a grouped Set attribute value query item
@@ -1529,7 +1544,7 @@ type WebElementComponent<T extends ReadonlyArray<string> = ReadonlyArray<string>
1529
1544
  component: "query";
1530
1545
  linkUuids: Array<string>;
1531
1546
  items: Array<{
1532
- label: string;
1547
+ label: MultilingualString<T>;
1533
1548
  queries: Array<WebsitePropertyQuery<T>>;
1534
1549
  startIcon: string | null;
1535
1550
  endIcon: string | null;
@@ -1561,7 +1576,7 @@ type WebElementComponent<T extends ReadonlyArray<string> = ReadonlyArray<string>
1561
1576
  } | {
1562
1577
  component: "search-bar";
1563
1578
  queryVariant: "submit" | "change";
1564
- placeholder: string | null;
1579
+ placeholder: MultilingualString<T> | null;
1565
1580
  baseFilterQueries: string | null;
1566
1581
  boundElementUuid: string | null;
1567
1582
  href: string | null;
@@ -1680,134 +1695,146 @@ type PropertyOptions = {
1680
1695
  limitToLeafPropertyValues?: boolean;
1681
1696
  };
1682
1697
  type PropertyContent<T extends ReadonlyArray<string>> = PropertyValueContent<T>["content"];
1683
- type SearchableProperty<T extends ReadonlyArray<string>> = Property<T> | SingleHierarchyProperty<T>;
1698
+ type SearchableProperty<T extends ReadonlyArray<string>> = Property<T> | SingleHierarchyProperty<T> | SimplifiedProperty<T> | SingleHierarchySimplifiedProperty<T>;
1684
1699
  /**
1685
- * Finds a property by its label UUID in an array of properties.
1700
+ * Finds a property by its variable UUID in an array of properties.
1686
1701
  *
1687
1702
  * @param properties - Array of properties to search through
1688
- * @param labelUuid - The property label UUID to search for
1703
+ * @param variableUuid - The property variable UUID to search for
1689
1704
  * @param options - Search options, including whether to include nested properties
1690
1705
  * @returns The matching Property object, or null if not found
1691
1706
  */
1692
- declare function getPropertyByLabelUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, labelUuid: string, options?: PropertyOptions): Property<T> | null;
1693
- declare function getPropertyByLabelUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, labelUuid: string, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1707
+ declare function getPropertyByVariableUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, variableUuid: string, options?: PropertyOptions): Property<T> | null;
1708
+ declare function getPropertyByVariableUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, variableUuid: string, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1709
+ declare function getPropertyByVariableUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SimplifiedProperty<T>>, variableUuid: string, options?: PropertyOptions): SimplifiedProperty<T> | null;
1710
+ declare function getPropertyByVariableUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchySimplifiedProperty<T>>, variableUuid: string, options?: PropertyOptions): SingleHierarchySimplifiedProperty<T> | null;
1694
1711
  /**
1695
- * Retrieves all values for a property with the given label UUID.
1712
+ * Retrieves all values for a property with the given variable UUID.
1696
1713
  *
1697
1714
  * @param properties - Array of properties to search through
1698
- * @param labelUuid - The property label UUID to search for
1715
+ * @param variableUuid - The property variable UUID to search for
1699
1716
  * @param options - Search options, including whether to include nested properties
1700
1717
  * @returns Array of property values, or null if property not found
1701
1718
  */
1702
- declare function getPropertyValuesByLabelUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, labelUuid: string, options?: PropertyOptions): Array<PropertyValueContent<T>> | null;
1719
+ declare function getPropertyValuesByVariableUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, variableUuid: string, options?: PropertyOptions): Array<PropertyValueContent<T>> | null;
1703
1720
  /**
1704
- * Retrieves all value contents for a property with the given label UUID.
1721
+ * Retrieves all value contents for a property with the given variable UUID.
1705
1722
  *
1706
1723
  * @param properties - Array of properties to search through
1707
- * @param labelUuid - The property label UUID to search for
1724
+ * @param variableUuid - The property variable UUID to search for
1708
1725
  * @param options - Search options, including whether to include nested properties
1709
1726
  * @returns Array of property value contents, or null if property not found
1710
1727
  */
1711
- declare function getPropertyValueContentsByLabelUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, labelUuid: string, options?: PropertyOptions): Array<PropertyContent<T>> | null;
1728
+ declare function getPropertyValueContentsByVariableUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, variableUuid: string, options?: PropertyOptions): Array<PropertyContent<T>> | null;
1712
1729
  /**
1713
- * Gets the first value of a property with the given label UUID.
1730
+ * Gets the first value of a property with the given variable UUID.
1714
1731
  *
1715
1732
  * @param properties - Array of properties to search through
1716
- * @param labelUuid - The property label UUID to search for
1733
+ * @param variableUuid - The property variable UUID to search for
1717
1734
  * @param options - Search options, including whether to include nested properties
1718
1735
  * @returns The first property value, or null if property not found
1719
1736
  */
1720
- declare function getPropertyValueByLabelUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, labelUuid: string, options?: PropertyOptions): PropertyValueContent<T> | null;
1737
+ declare function getPropertyValueByVariableUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, variableUuid: string, options?: PropertyOptions): PropertyValueContent<T> | null;
1721
1738
  /**
1722
- * Gets the first value content of a property with the given label UUID.
1739
+ * Gets the first value content of a property with the given variable UUID.
1723
1740
  *
1724
1741
  * @param properties - Array of properties to search through
1725
- * @param labelUuid - The property label UUID to search for
1742
+ * @param variableUuid - The property variable UUID to search for
1726
1743
  * @param options - Search options, including whether to include nested properties
1727
1744
  * @returns The first property value content, or null if property not found
1728
1745
  */
1729
- declare function getPropertyValueContentByLabelUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, labelUuid: string, options?: PropertyOptions): PropertyContent<T> | null;
1746
+ declare function getPropertyValueContentByVariableUuid<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, variableUuid: string, options?: PropertyOptions): PropertyContent<T> | null;
1730
1747
  /**
1731
- * Finds a property by its label name in an array of properties.
1748
+ * Finds a property by its variable label in an array of properties.
1732
1749
  *
1733
1750
  * @param properties - Array of properties to search through
1734
- * @param labelName - The property label name to search for
1751
+ * @param variableLabel - The property variable label to search for
1735
1752
  * @param options - Search options, including whether to include nested properties
1736
1753
  * @returns The matching Property object, or null if not found
1737
1754
  */
1738
- declare function getPropertyByLabelName<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, labelName: string, options?: PropertyOptions): Property<T> | null;
1739
- declare function getPropertyByLabelName<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, labelName: string, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1755
+ declare function getPropertyByVariableLabel<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, variableLabel: string, options?: PropertyOptions): Property<T> | null;
1756
+ declare function getPropertyByVariableLabel<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, variableLabel: string, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1757
+ declare function getPropertyByVariableLabel<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SimplifiedProperty<T>>, variableLabel: string, options?: PropertyOptions): SimplifiedProperty<T> | null;
1758
+ declare function getPropertyByVariableLabel<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchySimplifiedProperty<T>>, variableLabel: string, options?: PropertyOptions): SingleHierarchySimplifiedProperty<T> | null;
1740
1759
  /**
1741
- * Finds a property by its label name and all values.
1760
+ * Finds a property by its variable label and all values.
1742
1761
  *
1743
1762
  * @param properties - Array of properties to search through
1744
- * @param labelName - The property label name to search for
1763
+ * @param variableLabel - The property variable label to search for
1745
1764
  * @param values - The property values to search for
1746
1765
  * @param options - Search options, including whether to include nested properties
1747
1766
  * @returns The matching Property object, or null if not found or all values do not match
1748
1767
  */
1749
- declare function getPropertyByLabelNameAndValues<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, labelName: string, values: ReadonlyArray<PropertyValueContent<T>>, options?: PropertyOptions): Property<T> | null;
1750
- declare function getPropertyByLabelNameAndValues<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, labelName: string, values: ReadonlyArray<PropertyValueContent<T>>, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1768
+ declare function getPropertyByVariableLabelAndValues<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, variableLabel: string, values: ReadonlyArray<PropertyValueContent<T>>, options?: PropertyOptions): Property<T> | null;
1769
+ declare function getPropertyByVariableLabelAndValues<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, variableLabel: string, values: ReadonlyArray<PropertyValueContent<T>>, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1770
+ declare function getPropertyByVariableLabelAndValues<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SimplifiedProperty<T>>, variableLabel: string, values: ReadonlyArray<PropertyValueContent<T>>, options?: PropertyOptions): SimplifiedProperty<T> | null;
1771
+ declare function getPropertyByVariableLabelAndValues<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchySimplifiedProperty<T>>, variableLabel: string, values: ReadonlyArray<PropertyValueContent<T>>, options?: PropertyOptions): SingleHierarchySimplifiedProperty<T> | null;
1751
1772
  /**
1752
- * Finds a property by its label name and all value contents.
1773
+ * Finds a property by its variable label and all value contents.
1753
1774
  *
1754
1775
  * @param properties - Array of properties to search through
1755
- * @param labelName - The property label name to search for
1776
+ * @param variableLabel - The property variable label to search for
1756
1777
  * @param valueContents - The value contents to search for
1757
1778
  * @param options - Search options, including whether to include nested properties
1758
1779
  * @returns The matching Property object, or null if not found or all value contents do not match
1759
1780
  */
1760
- declare function getPropertyByLabelNameAndValueContents<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, labelName: string, valueContents: ReadonlyArray<PropertyContent<T>>, options?: PropertyOptions): Property<T> | null;
1761
- declare function getPropertyByLabelNameAndValueContents<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, labelName: string, valueContents: ReadonlyArray<PropertyContent<T>>, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1781
+ declare function getPropertyByVariableLabelAndValueContents<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, variableLabel: string, valueContents: ReadonlyArray<PropertyContent<T>>, options?: PropertyOptions): Property<T> | null;
1782
+ declare function getPropertyByVariableLabelAndValueContents<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, variableLabel: string, valueContents: ReadonlyArray<PropertyContent<T>>, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1783
+ declare function getPropertyByVariableLabelAndValueContents<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SimplifiedProperty<T>>, variableLabel: string, valueContents: ReadonlyArray<PropertyContent<T>>, options?: PropertyOptions): SimplifiedProperty<T> | null;
1784
+ declare function getPropertyByVariableLabelAndValueContents<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchySimplifiedProperty<T>>, variableLabel: string, valueContents: ReadonlyArray<PropertyContent<T>>, options?: PropertyOptions): SingleHierarchySimplifiedProperty<T> | null;
1762
1785
  /**
1763
- * Finds a property by its label name and one value.
1786
+ * Finds a property by its variable label and one value.
1764
1787
  *
1765
1788
  * @param properties - Array of properties to search through
1766
- * @param labelName - The property label name to search for
1789
+ * @param variableLabel - The property variable label to search for
1767
1790
  * @param value - The property value to search for
1768
1791
  * @param options - Search options, including whether to include nested properties
1769
1792
  * @returns The matching Property object, or null if not found or value does not match
1770
1793
  */
1771
- declare function getPropertyByLabelNameAndValue<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, labelName: string, value: PropertyValueContent<T>, options?: PropertyOptions): Property<T> | null;
1772
- declare function getPropertyByLabelNameAndValue<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, labelName: string, value: PropertyValueContent<T>, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1794
+ declare function getPropertyByVariableLabelAndValue<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, variableLabel: string, value: PropertyValueContent<T>, options?: PropertyOptions): Property<T> | null;
1795
+ declare function getPropertyByVariableLabelAndValue<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, variableLabel: string, value: PropertyValueContent<T>, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1796
+ declare function getPropertyByVariableLabelAndValue<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SimplifiedProperty<T>>, variableLabel: string, value: PropertyValueContent<T>, options?: PropertyOptions): SimplifiedProperty<T> | null;
1797
+ declare function getPropertyByVariableLabelAndValue<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchySimplifiedProperty<T>>, variableLabel: string, value: PropertyValueContent<T>, options?: PropertyOptions): SingleHierarchySimplifiedProperty<T> | null;
1773
1798
  /**
1774
- * Finds a property by its label name and one value content.
1799
+ * Finds a property by its variable label and one value content.
1775
1800
  *
1776
1801
  * @param properties - Array of properties to search through
1777
- * @param labelName - The property label name to search for
1802
+ * @param variableLabel - The property variable label to search for
1778
1803
  * @param valueContent - The value content to search for
1779
1804
  * @param options - Search options, including whether to include nested properties
1780
1805
  * @returns The matching Property object, or null if not found or value content does not match
1781
1806
  */
1782
- declare function getPropertyByLabelNameAndValueContent<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, labelName: string, valueContent: PropertyContent<T>, options?: PropertyOptions): Property<T> | null;
1783
- declare function getPropertyByLabelNameAndValueContent<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, labelName: string, valueContent: PropertyContent<T>, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1807
+ declare function getPropertyByVariableLabelAndValueContent<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, variableLabel: string, valueContent: PropertyContent<T>, options?: PropertyOptions): Property<T> | null;
1808
+ declare function getPropertyByVariableLabelAndValueContent<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, variableLabel: string, valueContent: PropertyContent<T>, options?: PropertyOptions): SingleHierarchyProperty<T> | null;
1809
+ declare function getPropertyByVariableLabelAndValueContent<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SimplifiedProperty<T>>, variableLabel: string, valueContent: PropertyContent<T>, options?: PropertyOptions): SimplifiedProperty<T> | null;
1810
+ declare function getPropertyByVariableLabelAndValueContent<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchySimplifiedProperty<T>>, variableLabel: string, valueContent: PropertyContent<T>, options?: PropertyOptions): SingleHierarchySimplifiedProperty<T> | null;
1784
1811
  /**
1785
- * Retrieves all values for a property with the given label name.
1812
+ * Retrieves all values for a property with the given variable label.
1786
1813
  *
1787
1814
  * @param properties - Array of properties to search through
1788
- * @param labelName - The property label name to search for
1815
+ * @param variableLabel - The property variable label to search for
1789
1816
  * @param options - Search options, including whether to include nested properties
1790
1817
  * @returns Array of property values, or null if property not found
1791
1818
  */
1792
- declare function getPropertyValuesByLabelName<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, labelName: string, options?: PropertyOptions): Array<PropertyValueContent<T>> | null;
1819
+ declare function getPropertyValuesByVariableLabel<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, variableLabel: string, options?: PropertyOptions): Array<PropertyValueContent<T>> | null;
1793
1820
  /**
1794
- * Gets the first value of a property with the given label name.
1821
+ * Gets the first value of a property with the given variable label.
1795
1822
  *
1796
1823
  * @param properties - Array of properties to search through
1797
- * @param labelName - The property label name to search for
1824
+ * @param variableLabel - The property variable label to search for
1798
1825
  * @param options - Search options, including whether to include nested properties
1799
1826
  * @returns The first property value, or null if property not found
1800
1827
  */
1801
- declare function getPropertyValueByLabelName<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, labelName: string, options?: PropertyOptions): PropertyValueContent<T> | null;
1828
+ declare function getPropertyValueByVariableLabel<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, variableLabel: string, options?: PropertyOptions): PropertyValueContent<T> | null;
1802
1829
  /**
1803
- * Gets the first value content of a property with the given label name.
1830
+ * Gets the first value content of a property with the given variable label.
1804
1831
  *
1805
1832
  * @param properties - Array of properties to search through
1806
- * @param labelName - The property label name to search for
1833
+ * @param variableLabel - The property variable label to search for
1807
1834
  * @param options - Search options, including whether to include nested properties
1808
1835
  * @returns The first property value content, or null if property not found
1809
1836
  */
1810
- declare function getPropertyValueContentByLabelName<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, labelName: string, options?: PropertyOptions): PropertyContent<T> | null;
1837
+ declare function getPropertyValueContentByVariableLabel<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, variableLabel: string, options?: PropertyOptions): PropertyContent<T> | null;
1811
1838
  /**
1812
1839
  * Gets all unique properties from an array of properties.
1813
1840
  *
@@ -1817,14 +1844,16 @@ declare function getPropertyValueContentByLabelName<T extends ReadonlyArray<stri
1817
1844
  */
1818
1845
  declare function getUniqueProperties<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<Property<T>>, options?: PropertyOptions): Array<Property<T>>;
1819
1846
  declare function getUniqueProperties<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchyProperty<T>>, options?: PropertyOptions): Array<SingleHierarchyProperty<T>>;
1847
+ declare function getUniqueProperties<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SimplifiedProperty<T>>, options?: PropertyOptions): Array<SimplifiedProperty<T>>;
1848
+ declare function getUniqueProperties<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SingleHierarchySimplifiedProperty<T>>, options?: PropertyOptions): Array<SingleHierarchySimplifiedProperty<T>>;
1820
1849
  /**
1821
- * Gets all unique property label names from an array of properties.
1850
+ * Gets all unique property variable labels from an array of properties.
1822
1851
  *
1823
- * @param properties - Array of properties to get unique property labels from
1852
+ * @param properties - Array of properties to get unique property variable labels from
1824
1853
  * @param options - Search options, including whether to include nested properties
1825
- * @returns Array of unique property label names
1854
+ * @returns Array of unique property variable labels
1826
1855
  */
1827
- declare function getUniquePropertyLabelNames<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, options?: PropertyOptions): Array<string>;
1856
+ declare function getUniquePropertyVariableLabels<T extends ReadonlyArray<string> = ReadonlyArray<string>>(properties: ReadonlyArray<SearchableProperty<T>>, options?: PropertyOptions): Array<string>;
1828
1857
  /**
1829
1858
  * Get the leaf property values from an array of property values.
1830
1859
  *
@@ -1833,17 +1862,17 @@ declare function getUniquePropertyLabelNames<T extends ReadonlyArray<string> = R
1833
1862
  */
1834
1863
  declare function getLeafPropertyValues<T extends ReadonlyArray<string> = ReadonlyArray<string>>(propertyValues: ReadonlyArray<PropertyValueContent<T>>): Array<PropertyValueContent<T>>;
1835
1864
  /**
1836
- * Filters a property based on a label and value criterion.
1865
+ * Filters a property based on a variable label and value content criterion.
1837
1866
  *
1838
1867
  * @param property - The property to filter
1839
- * @param filter - Filter criteria containing label and value to match
1840
- * @param filter.labelName - The label name to filter by
1868
+ * @param filter - Filter criteria containing variable label and value to match
1869
+ * @param filter.variableLabel - The variable label to filter by
1841
1870
  * @param filter.value - The value to filter by
1842
1871
  * @param options - Search options, including whether to include nested properties
1843
1872
  * @returns True if the property matches the filter criteria, false otherwise
1844
1873
  */
1845
1874
  declare function filterProperties<T extends ReadonlyArray<string> = ReadonlyArray<string>>(property: SearchableProperty<T>, filter: {
1846
- labelName: string;
1875
+ variableLabel: string;
1847
1876
  value: PropertyValueContent<T>;
1848
1877
  }, options?: PropertyOptions): boolean;
1849
1878
  //#endregion
@@ -1862,4 +1891,4 @@ declare const DEFAULT_PAGE_SIZE = 48;
1862
1891
  */
1863
1892
  declare function flattenItemProperties<U extends DataCategory = DataCategory, V extends HierarchyItemDataCategory<U> = HierarchyItemDataCategory<U>, T extends ReadonlyArray<string> = ReadonlyArray<string>, W extends ItemLocation = "topLevel">(item: Item<U, V, T, W>): FlattenedItem<Item<U, V, T, W>, T>;
1864
1893
  //#endregion
1865
- export { BaseItem, BaseItemLink, BelongsTo, Bibliography, BibliographyEntryInfo, BibliographyItemLink, BibliographySourceDocument, Concept, ConceptItemLink, Context, ContextDataCategory, ContextItem, ContextNode, ContextTree, ContextTreeFilterLevel, ContextTreeLevel, ContextTreeLevelItem, Coordinates, CoordinatesSource, DEFAULT_PAGE_SIZE, DataCategory, DictionaryUnitItemLink, Event, Gallery, Heading, HeadingDataCategory, HierarchyDataCategory, HierarchyItemCategoryFromOption, HierarchyItemCategoryOption, HierarchyItemDataCategory, Identification, Image, ImageMap, ImageMapArea, Interpretation, Item, ItemLink, ItemLinkCategory, ItemLinks, ItemLocation, ItemsDataCategory, License, Metadata, type MultilingualOptions, MultilingualString, type MultilingualStringEntry, type MultilingualStringInput, type MultilingualStringJSON, type MultilingualStringText, Note, Observation, Period, PeriodItemLink, Person, PersonItemLink, Property, PropertyOptions, PropertyValue, PropertyValueContent, PropertyValueItemLink, PropertyValueQueryItem, PropertyVariable, PropertyVariableItemLink, Query, QueryGroup, QueryLeaf, RecursiveDataCategory, Resource, ResourceItemLink, Scope, Section, Set, SetAttributeValueQueryItem, SetBibliography, SetConcept, SetItem, SetItemDataCategory, SetItemLink, SetItemsSort, SetItemsSortDirection, SetPeriod, SetResource, SetSpatialUnit, SetTree, SingleHierarchyProperty, SpatialUnit, SpatialUnitItemLink, Style, StylesheetCategory, StylesheetItem, Text, TextItemLink, Tree, TreeItemLink, WebBlock, WebBlockLayout, WebElement, WebElementComponent, WebImage, WebSegment, WebSegmentItem, WebTitle, Webpage, Website, WebsitePropertyQuery, WebsitePropertyQueryNode, WebsiteType, defineLanguages, fetchGallery, fetchItem, fetchItemLinks, fetchSetItems, fetchSetPropertyValues, fetchWebsite, filterProperties, flattenItemProperties, getLeafPropertyValues, getPropertyByLabelName, getPropertyByLabelNameAndValue, getPropertyByLabelNameAndValueContent, getPropertyByLabelNameAndValueContents, getPropertyByLabelNameAndValues, getPropertyByLabelUuid, getPropertyValueByLabelName, getPropertyValueByLabelUuid, getPropertyValueContentByLabelName, getPropertyValueContentByLabelUuid, getPropertyValueContentsByLabelUuid, getPropertyValuesByLabelName, getPropertyValuesByLabelUuid, getUniqueProperties, getUniquePropertyLabelNames, withLanguages };
1894
+ export { BaseItem, BaseItemLink, BelongsTo, Bibliography, BibliographyEntryInfo, BibliographyItemLink, BibliographySourceDocument, Concept, ConceptItemLink, Context, ContextDataCategory, ContextItem, ContextNode, ContextTree, ContextTreeFilterLevel, ContextTreeLevel, ContextTreeLevelItem, Coordinates, CoordinatesSource, DEFAULT_PAGE_SIZE, DataCategory, DictionaryUnitItemLink, Event, Gallery, Heading, HeadingDataCategory, HierarchyDataCategory, HierarchyItemCategoryFromOption, HierarchyItemCategoryOption, HierarchyItemDataCategory, Identification, Image, ImageMap, ImageMapArea, Interpretation, Item, ItemLink, ItemLinkCategory, ItemLinks, ItemLocation, ItemsDataCategory, License, Metadata, type MultilingualOptions, MultilingualString, type MultilingualStringEntry, type MultilingualStringInput, type MultilingualStringJSON, type MultilingualStringText, Note, Observation, Period, PeriodItemLink, Person, PersonItemLink, Property, PropertyOptions, PropertyValue, PropertyValueContent, PropertyValueItemLink, PropertyValueQueryItem, PropertyVariable, PropertyVariableItemLink, Query, QueryGroup, QueryLeaf, RecursiveDataCategory, Resource, ResourceItemLink, Scope, Section, Set, SetAttributeValueQueryItem, SetBibliography, SetConcept, SetItem, SetItemDataCategory, SetItemLink, SetItemsSort, SetItemsSortDirection, SetPeriod, SetResource, SetSpatialUnit, SetTree, SimplifiedProperty, SingleHierarchyProperty, SingleHierarchySimplifiedProperty, SpatialUnit, SpatialUnitItemLink, Style, StylesheetCategory, StylesheetItem, Text, TextItemLink, Tree, TreeItemLink, WebBlock, WebBlockLayout, WebElement, WebElementComponent, WebImage, WebSegment, WebSegmentItem, WebTitle, Webpage, Website, WebsitePropertyQuery, WebsitePropertyQueryNode, WebsiteType, defineLanguages, fetchGallery, fetchItem, fetchItemLinks, fetchSetItems, fetchSetPropertyValues, fetchWebsite, filterProperties, flattenItemProperties, getLeafPropertyValues, getPropertyByVariableLabel, getPropertyByVariableLabelAndValue, getPropertyByVariableLabelAndValueContent, getPropertyByVariableLabelAndValueContents, getPropertyByVariableLabelAndValues, getPropertyByVariableUuid, getPropertyValueByVariableLabel, getPropertyValueByVariableUuid, getPropertyValueContentByVariableLabel, getPropertyValueContentByVariableUuid, getPropertyValueContentsByVariableUuid, getPropertyValuesByVariableLabel, getPropertyValuesByVariableUuid, getUniqueProperties, getUniquePropertyVariableLabels, withLanguages };