free-use-bible-api 0.3.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +269 -253
- package/dist/cjs/FreeUseBibleApi.cjs +113 -12
- package/dist/cjs/FreeUseBibleApi.cjs.map +2 -2
- package/dist/cjs/types.gen.cjs.map +1 -1
- package/dist/esm/FreeUseBibleApi.js +113 -12
- package/dist/esm/FreeUseBibleApi.js.map +2 -2
- package/dist/types/FreeUseBibleApi.d.ts +77 -2
- package/dist/types/types.gen.d.ts +1134 -214
- package/package.json +1 -1
|
@@ -967,14 +967,14 @@ export type TranslationCompleteChapter = {
|
|
|
967
967
|
* The audio timings (per-verse start times, in seconds) for different audio versions for the chapter.
|
|
968
968
|
*/
|
|
969
969
|
thisChapterAudioTimings: TranslationBookChapterAudioTimings;
|
|
970
|
-
/**
|
|
971
|
-
* The word-level annotations (Strong's numbers and related source data) for the chapter's verses. Omitted if the translation doesn't have any word-level annotations for the chapter.
|
|
972
|
-
*/
|
|
973
|
-
thisChapterWords?: TranslationBookChapterWords;
|
|
974
970
|
/**
|
|
975
971
|
* The number of verses that the chapter contains.
|
|
976
972
|
*/
|
|
977
973
|
numberOfVerses: number;
|
|
974
|
+
/**
|
|
975
|
+
* The link to the word-level annotations for this chapter. Relative to the API origin. Omitted if the chapter doesn't have any word-level annotations.
|
|
976
|
+
*/
|
|
977
|
+
thisChapterWordsLink?: string;
|
|
978
978
|
};
|
|
979
979
|
/**
|
|
980
980
|
* Defines the schema for the audio timings for a book chapter. Maps a reader ID to the list of times (in seconds) that each verse starts, in verse order.
|
|
@@ -982,12 +982,6 @@ export type TranslationCompleteChapter = {
|
|
|
982
982
|
export type TranslationBookChapterAudioTimings = {
|
|
983
983
|
[key: string]: Array<number>;
|
|
984
984
|
};
|
|
985
|
-
/**
|
|
986
|
-
* Defines the schema for the word-level annotations for a book chapter. Maps a verse number to the list of annotated words in the verse, in order.
|
|
987
|
-
*/
|
|
988
|
-
export type TranslationBookChapterWords = {
|
|
989
|
-
[key: string]: Array<ChapterWord>;
|
|
990
|
-
};
|
|
991
985
|
/**
|
|
992
986
|
* Defines the complete translation download data, using the simplified chapter format. Maps to the /api/:translationId/complete.simple.json endpoint.
|
|
993
987
|
*/
|
|
@@ -1055,20 +1049,14 @@ export type SimpleTranslationCompleteChapter = {
|
|
|
1055
1049
|
* The audio timings (per-verse start times, in seconds) for different audio versions for the chapter.
|
|
1056
1050
|
*/
|
|
1057
1051
|
thisChapterAudioTimings: TranslationBookChapterAudioTimings;
|
|
1058
|
-
/**
|
|
1059
|
-
* The word-level annotations (Strong's numbers and related source data) for the chapter's verses, with their offsets remapped onto the simplified verse text. Omitted if the translation doesn't have any word-level annotations for the chapter.
|
|
1060
|
-
*/
|
|
1061
|
-
thisChapterWords?: SimpleTranslationBookChapterWords;
|
|
1062
1052
|
/**
|
|
1063
1053
|
* The number of verses that the chapter contains.
|
|
1064
1054
|
*/
|
|
1065
1055
|
numberOfVerses: number;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1070
|
-
export type SimpleTranslationBookChapterWords = {
|
|
1071
|
-
[key: string]: Array<SimpleChapterWord>;
|
|
1056
|
+
/**
|
|
1057
|
+
* The link to the word-level annotations for this chapter. Relative to the API origin. Omitted if the chapter doesn't have any word-level annotations.
|
|
1058
|
+
*/
|
|
1059
|
+
thisChapterWordsLink?: string;
|
|
1072
1060
|
};
|
|
1073
1061
|
/**
|
|
1074
1062
|
* The list of available commentaries. Maps to the /api/available-commentaries.json endpoint.
|
|
@@ -1430,6 +1418,38 @@ export type ApiDataset = {
|
|
|
1430
1418
|
* Gets the name of the language in English. Null or undefined if the language doesn't have an english name.
|
|
1431
1419
|
*/
|
|
1432
1420
|
languageEnglishName?: string;
|
|
1421
|
+
/**
|
|
1422
|
+
* The API link for the list of people for this dataset. Relative to the API origin. Omitted if the dataset doesn't contain people.
|
|
1423
|
+
*/
|
|
1424
|
+
listOfPeopleApiLink?: string;
|
|
1425
|
+
/**
|
|
1426
|
+
* The API link for the list of places for this dataset. Relative to the API origin. Omitted if the dataset doesn't contain places.
|
|
1427
|
+
*/
|
|
1428
|
+
listOfPlacesApiLink?: string;
|
|
1429
|
+
/**
|
|
1430
|
+
* The API link for the list of events for this dataset. Relative to the API origin. Omitted if the dataset doesn't contain events.
|
|
1431
|
+
*/
|
|
1432
|
+
listOfEventsApiLink?: string;
|
|
1433
|
+
/**
|
|
1434
|
+
* The API link for the list of people groups for this dataset. Relative to the API origin. Omitted if the dataset doesn't contain people groups.
|
|
1435
|
+
*/
|
|
1436
|
+
listOfPeopleGroupsApiLink?: string;
|
|
1437
|
+
/**
|
|
1438
|
+
* The total number of people that are contained in this dataset. Omitted if the dataset doesn't contain people.
|
|
1439
|
+
*/
|
|
1440
|
+
totalNumberOfPeople?: number;
|
|
1441
|
+
/**
|
|
1442
|
+
* The total number of places that are contained in this dataset. Omitted if the dataset doesn't contain places.
|
|
1443
|
+
*/
|
|
1444
|
+
totalNumberOfPlaces?: number;
|
|
1445
|
+
/**
|
|
1446
|
+
* The total number of events that are contained in this dataset. Omitted if the dataset doesn't contain events.
|
|
1447
|
+
*/
|
|
1448
|
+
totalNumberOfEvents?: number;
|
|
1449
|
+
/**
|
|
1450
|
+
* The total number of people groups that are contained in this dataset. Omitted if the dataset doesn't contain people groups.
|
|
1451
|
+
*/
|
|
1452
|
+
totalNumberOfPeopleGroups?: number;
|
|
1433
1453
|
};
|
|
1434
1454
|
/**
|
|
1435
1455
|
* Defines an interface that contains information about the books that are available for a dataset.
|
|
@@ -1600,231 +1620,923 @@ export type ScoredVerseRef = {
|
|
|
1600
1620
|
*/
|
|
1601
1621
|
score: number;
|
|
1602
1622
|
};
|
|
1603
|
-
|
|
1604
|
-
|
|
1605
|
-
|
|
1606
|
-
|
|
1607
|
-
url: '/api/available_translations.json';
|
|
1608
|
-
};
|
|
1609
|
-
export type GetAvailableTranslationsResponses = {
|
|
1623
|
+
/**
|
|
1624
|
+
* The entities (people, places, and events) that appear in a chapter of a book for a dataset. Maps to the /api/d/:datasetId/:bookId/:chapterNumber.json endpoint for datasets that contain entities.
|
|
1625
|
+
*/
|
|
1626
|
+
export type ApiDatasetEntityBookChapter = {
|
|
1610
1627
|
/**
|
|
1611
|
-
*
|
|
1628
|
+
* The dataset information for the book chapter.
|
|
1612
1629
|
*/
|
|
1613
|
-
|
|
1614
|
-
};
|
|
1615
|
-
export type GetAvailableTranslationsResponse = GetAvailableTranslationsResponses[keyof GetAvailableTranslationsResponses];
|
|
1616
|
-
export type GetTranslationBooksData = {
|
|
1617
|
-
body?: never;
|
|
1618
|
-
path: {
|
|
1619
|
-
/**
|
|
1620
|
-
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
1621
|
-
*/
|
|
1622
|
-
translation: string;
|
|
1623
|
-
};
|
|
1624
|
-
query?: never;
|
|
1625
|
-
url: '/api/{translation}/books.json';
|
|
1626
|
-
};
|
|
1627
|
-
export type GetTranslationBooksErrors = {
|
|
1630
|
+
dataset: ApiDataset;
|
|
1628
1631
|
/**
|
|
1629
|
-
*
|
|
1632
|
+
* The book information for the book chapter.
|
|
1630
1633
|
*/
|
|
1631
|
-
|
|
1632
|
-
};
|
|
1633
|
-
export type GetTranslationBooksResponses = {
|
|
1634
|
+
book: ApiDatasetBook;
|
|
1634
1635
|
/**
|
|
1635
|
-
*
|
|
1636
|
+
* The entity data for the chapter.
|
|
1636
1637
|
*/
|
|
1637
|
-
|
|
1638
|
-
};
|
|
1639
|
-
export type GetTranslationBooksResponse = GetTranslationBooksResponses[keyof GetTranslationBooksResponses];
|
|
1640
|
-
export type GetTranslationBookChapterData = {
|
|
1641
|
-
body?: never;
|
|
1642
|
-
path: {
|
|
1643
|
-
/**
|
|
1644
|
-
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
1645
|
-
*/
|
|
1646
|
-
translation: string;
|
|
1647
|
-
/**
|
|
1648
|
-
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
1649
|
-
*/
|
|
1650
|
-
book: BookId;
|
|
1651
|
-
/**
|
|
1652
|
-
* The chapter number to get the content for. This should be a positive integer.
|
|
1653
|
-
*/
|
|
1654
|
-
chapter: number;
|
|
1655
|
-
};
|
|
1656
|
-
query?: never;
|
|
1657
|
-
url: '/api/{translation}/{book}/{chapter}.json';
|
|
1658
|
-
};
|
|
1659
|
-
export type GetTranslationBookChapterErrors = {
|
|
1638
|
+
chapter: ApiDatasetEntityChapterData;
|
|
1660
1639
|
/**
|
|
1661
|
-
*
|
|
1640
|
+
* The link to this chapter. Relative to the API origin.
|
|
1662
1641
|
*/
|
|
1663
|
-
|
|
1664
|
-
};
|
|
1665
|
-
export type GetTranslationBookChapterResponses = {
|
|
1642
|
+
thisChapterLink: string;
|
|
1666
1643
|
/**
|
|
1667
|
-
*
|
|
1644
|
+
* The reference for this chapter.
|
|
1668
1645
|
*/
|
|
1669
|
-
|
|
1670
|
-
};
|
|
1671
|
-
export type GetTranslationBookChapterResponse = GetTranslationBookChapterResponses[keyof GetTranslationBookChapterResponses];
|
|
1672
|
-
export type GetSimpleTranslationBookChapterData = {
|
|
1673
|
-
body?: never;
|
|
1674
|
-
path: {
|
|
1675
|
-
/**
|
|
1676
|
-
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
1677
|
-
*/
|
|
1678
|
-
translation: string;
|
|
1679
|
-
/**
|
|
1680
|
-
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
1681
|
-
*/
|
|
1682
|
-
book: BookId;
|
|
1683
|
-
/**
|
|
1684
|
-
* The chapter number to get the content for. This should be a positive integer.
|
|
1685
|
-
*/
|
|
1686
|
-
chapter: number;
|
|
1687
|
-
};
|
|
1688
|
-
query?: never;
|
|
1689
|
-
url: '/api/{translation}/{book}/{chapter}.simple.json';
|
|
1690
|
-
};
|
|
1691
|
-
export type GetSimpleTranslationBookChapterErrors = {
|
|
1646
|
+
thisChapterReference: DatasetChapterReference;
|
|
1692
1647
|
/**
|
|
1693
|
-
*
|
|
1648
|
+
* The link to the next chapter. Relative to the API origin. Null if this is the last chapter in the dataset.
|
|
1694
1649
|
*/
|
|
1695
|
-
|
|
1696
|
-
};
|
|
1697
|
-
export type GetSimpleTranslationBookChapterResponses = {
|
|
1650
|
+
nextChapterApiLink: string | null;
|
|
1698
1651
|
/**
|
|
1699
|
-
*
|
|
1652
|
+
* The reference for the next chapter. Null if this is the last chapter in the dataset.
|
|
1700
1653
|
*/
|
|
1701
|
-
|
|
1702
|
-
};
|
|
1703
|
-
export type GetSimpleTranslationBookChapterResponse = GetSimpleTranslationBookChapterResponses[keyof GetSimpleTranslationBookChapterResponses];
|
|
1704
|
-
export type GetTranslationBookChapterAudioTimingsData = {
|
|
1705
|
-
body?: never;
|
|
1706
|
-
path: {
|
|
1707
|
-
/**
|
|
1708
|
-
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
1709
|
-
*/
|
|
1710
|
-
translation: string;
|
|
1711
|
-
/**
|
|
1712
|
-
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
1713
|
-
*/
|
|
1714
|
-
book: BookId;
|
|
1715
|
-
/**
|
|
1716
|
-
* The chapter number to get the content for. This should be a positive integer.
|
|
1717
|
-
*/
|
|
1718
|
-
chapter: number;
|
|
1719
|
-
/**
|
|
1720
|
-
* The ID of the reader to get the audio timings for. For example, "hays" for the Hays reading of the Berean Standard Bible.
|
|
1721
|
-
*/
|
|
1722
|
-
reader: string;
|
|
1723
|
-
};
|
|
1724
|
-
query?: never;
|
|
1725
|
-
url: '/api/{translation}/{book}/{chapter}.{reader}.audioTimings.json';
|
|
1726
|
-
};
|
|
1727
|
-
export type GetTranslationBookChapterAudioTimingsErrors = {
|
|
1654
|
+
nextChapterReference: DatasetChapterReference | null;
|
|
1728
1655
|
/**
|
|
1729
|
-
*
|
|
1656
|
+
* The link to the previous chapter. Relative to the API origin. Null if this is the first chapter in the dataset.
|
|
1730
1657
|
*/
|
|
1731
|
-
|
|
1732
|
-
};
|
|
1733
|
-
export type GetTranslationBookChapterAudioTimingsResponses = {
|
|
1658
|
+
previousChapterApiLink: string | null;
|
|
1734
1659
|
/**
|
|
1735
|
-
*
|
|
1660
|
+
* The reference for the previous chapter. Null if this is the first chapter in the dataset.
|
|
1736
1661
|
*/
|
|
1737
|
-
|
|
1738
|
-
};
|
|
1739
|
-
export type GetTranslationBookChapterAudioTimingsResponse = GetTranslationBookChapterAudioTimingsResponses[keyof GetTranslationBookChapterAudioTimingsResponses];
|
|
1740
|
-
export type GetTranslationBookChapterWordsData = {
|
|
1741
|
-
body?: never;
|
|
1742
|
-
path: {
|
|
1743
|
-
/**
|
|
1744
|
-
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
1745
|
-
*/
|
|
1746
|
-
translation: string;
|
|
1747
|
-
/**
|
|
1748
|
-
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
1749
|
-
*/
|
|
1750
|
-
book: BookId;
|
|
1751
|
-
/**
|
|
1752
|
-
* The chapter number to get the content for. This should be a positive integer.
|
|
1753
|
-
*/
|
|
1754
|
-
chapter: number;
|
|
1755
|
-
};
|
|
1756
|
-
query?: never;
|
|
1757
|
-
url: '/api/{translation}/{book}/{chapter}.words.json';
|
|
1758
|
-
};
|
|
1759
|
-
export type GetTranslationBookChapterWordsErrors = {
|
|
1662
|
+
previousChapterReference: DatasetChapterReference | null;
|
|
1760
1663
|
/**
|
|
1761
|
-
*
|
|
1664
|
+
* The number of people that appear in the chapter.
|
|
1762
1665
|
*/
|
|
1763
|
-
|
|
1764
|
-
};
|
|
1765
|
-
export type GetTranslationBookChapterWordsResponses = {
|
|
1666
|
+
numberOfPeople: number;
|
|
1766
1667
|
/**
|
|
1767
|
-
*
|
|
1668
|
+
* The number of places that appear in the chapter.
|
|
1768
1669
|
*/
|
|
1769
|
-
|
|
1770
|
-
};
|
|
1771
|
-
export type GetTranslationBookChapterWordsResponse = GetTranslationBookChapterWordsResponses[keyof GetTranslationBookChapterWordsResponses];
|
|
1772
|
-
export type GetSimpleTranslationBookChapterWordsData = {
|
|
1773
|
-
body?: never;
|
|
1774
|
-
path: {
|
|
1775
|
-
/**
|
|
1776
|
-
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
1777
|
-
*/
|
|
1778
|
-
translation: string;
|
|
1779
|
-
/**
|
|
1780
|
-
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
1781
|
-
*/
|
|
1782
|
-
book: BookId;
|
|
1783
|
-
/**
|
|
1784
|
-
* The chapter number to get the content for. This should be a positive integer.
|
|
1785
|
-
*/
|
|
1786
|
-
chapter: number;
|
|
1787
|
-
};
|
|
1788
|
-
query?: never;
|
|
1789
|
-
url: '/api/{translation}/{book}/{chapter}.words.simple.json';
|
|
1790
|
-
};
|
|
1791
|
-
export type GetSimpleTranslationBookChapterWordsErrors = {
|
|
1670
|
+
numberOfPlaces: number;
|
|
1792
1671
|
/**
|
|
1793
|
-
*
|
|
1672
|
+
* The number of events that appear in the chapter.
|
|
1794
1673
|
*/
|
|
1795
|
-
|
|
1674
|
+
numberOfEvents: number;
|
|
1796
1675
|
};
|
|
1797
|
-
|
|
1676
|
+
/**
|
|
1677
|
+
* Defines a person that appears in a chapter of a dataset.
|
|
1678
|
+
*/
|
|
1679
|
+
export type ApiDatasetChapterPerson = {
|
|
1798
1680
|
/**
|
|
1799
|
-
*
|
|
1681
|
+
* The ID of the person.
|
|
1800
1682
|
*/
|
|
1801
|
-
|
|
1802
|
-
};
|
|
1803
|
-
export type GetSimpleTranslationBookChapterWordsResponse = GetSimpleTranslationBookChapterWordsResponses[keyof GetSimpleTranslationBookChapterWordsResponses];
|
|
1804
|
-
export type GetTranslationCompleteData = {
|
|
1805
|
-
body?: never;
|
|
1806
|
-
path: {
|
|
1807
|
-
/**
|
|
1808
|
-
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
1809
|
-
*/
|
|
1810
|
-
translation: string;
|
|
1811
|
-
};
|
|
1812
|
-
query?: never;
|
|
1813
|
-
url: '/api/{translation}/complete.json';
|
|
1814
|
-
};
|
|
1815
|
-
export type GetTranslationCompleteErrors = {
|
|
1683
|
+
id: string;
|
|
1816
1684
|
/**
|
|
1817
|
-
*
|
|
1685
|
+
* The name of the person.
|
|
1818
1686
|
*/
|
|
1819
|
-
|
|
1820
|
-
};
|
|
1821
|
-
export type GetTranslationCompleteResponses = {
|
|
1687
|
+
name: string;
|
|
1822
1688
|
/**
|
|
1823
|
-
*
|
|
1689
|
+
* Whether the name of the person is a proper name.
|
|
1824
1690
|
*/
|
|
1825
|
-
|
|
1691
|
+
isProperName?: boolean;
|
|
1692
|
+
/**
|
|
1693
|
+
* The gender of the person.
|
|
1694
|
+
*/
|
|
1695
|
+
gender?: string;
|
|
1696
|
+
/**
|
|
1697
|
+
* The year that the person was born. Negative numbers are years BC. Positive numbers are years AD.
|
|
1698
|
+
*/
|
|
1699
|
+
birthYear?: number;
|
|
1700
|
+
/**
|
|
1701
|
+
* The year that the person died. Negative numbers are years BC. Positive numbers are years AD.
|
|
1702
|
+
*/
|
|
1703
|
+
deathYear?: number;
|
|
1704
|
+
/**
|
|
1705
|
+
* The API link for the person. Relative to the API origin.
|
|
1706
|
+
*/
|
|
1707
|
+
apiLink: string;
|
|
1708
|
+
/**
|
|
1709
|
+
* The numbers of the verses in the chapter that mention the person. Sorted in ascending order.
|
|
1710
|
+
*/
|
|
1711
|
+
verses: Array<number>;
|
|
1826
1712
|
};
|
|
1827
|
-
|
|
1713
|
+
/**
|
|
1714
|
+
* Defines a place that appears in a chapter of a dataset.
|
|
1715
|
+
*/
|
|
1716
|
+
export type ApiDatasetChapterPlace = {
|
|
1717
|
+
/**
|
|
1718
|
+
* The ID of the place.
|
|
1719
|
+
*/
|
|
1720
|
+
id: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* The name of the place.
|
|
1723
|
+
*/
|
|
1724
|
+
name: string;
|
|
1725
|
+
/**
|
|
1726
|
+
* The type of geographical feature that the place is. For example, "City", "Region", "Mountain", "Water", etc.
|
|
1727
|
+
*/
|
|
1728
|
+
featureType?: string;
|
|
1729
|
+
/**
|
|
1730
|
+
* The latitude of the place.
|
|
1731
|
+
*/
|
|
1732
|
+
latitude?: number;
|
|
1733
|
+
/**
|
|
1734
|
+
* The longitude of the place.
|
|
1735
|
+
*/
|
|
1736
|
+
longitude?: number;
|
|
1737
|
+
/**
|
|
1738
|
+
* The API link for the place. Relative to the API origin.
|
|
1739
|
+
*/
|
|
1740
|
+
apiLink: string;
|
|
1741
|
+
/**
|
|
1742
|
+
* The numbers of the verses in the chapter that mention the place. Sorted in ascending order.
|
|
1743
|
+
*/
|
|
1744
|
+
verses: Array<number>;
|
|
1745
|
+
};
|
|
1746
|
+
/**
|
|
1747
|
+
* Defines an event that appears in a chapter of a dataset.
|
|
1748
|
+
*/
|
|
1749
|
+
export type ApiDatasetChapterEvent = {
|
|
1750
|
+
/**
|
|
1751
|
+
* The ID of the event.
|
|
1752
|
+
*/
|
|
1753
|
+
id: string;
|
|
1754
|
+
/**
|
|
1755
|
+
* The name of the event.
|
|
1756
|
+
*/
|
|
1757
|
+
name: string;
|
|
1758
|
+
/**
|
|
1759
|
+
* The date that the event started at. Negative numbers are years BC. Positive numbers are years AD. More specific dates use the `YYYY-MM-DD` format.
|
|
1760
|
+
*/
|
|
1761
|
+
startDate?: string;
|
|
1762
|
+
/**
|
|
1763
|
+
* The API link for the event. Relative to the API origin.
|
|
1764
|
+
*/
|
|
1765
|
+
apiLink: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* The numbers of the verses in the chapter that describe the event. Sorted in ascending order.
|
|
1768
|
+
*/
|
|
1769
|
+
verses: Array<number>;
|
|
1770
|
+
};
|
|
1771
|
+
/**
|
|
1772
|
+
* Defines the entity data for a chapter in a dataset. Contains the people, places, and events that appear in the chapter.
|
|
1773
|
+
*/
|
|
1774
|
+
export type ApiDatasetEntityChapterData = {
|
|
1775
|
+
/**
|
|
1776
|
+
* The number of the chapter.
|
|
1777
|
+
*/
|
|
1778
|
+
number: number;
|
|
1779
|
+
/**
|
|
1780
|
+
* The people that appear in the chapter. Sorted by the first verse that they appear in.
|
|
1781
|
+
*/
|
|
1782
|
+
people: Array<ApiDatasetChapterPerson>;
|
|
1783
|
+
/**
|
|
1784
|
+
* The places that appear in the chapter. Sorted by the first verse that they appear in.
|
|
1785
|
+
*/
|
|
1786
|
+
places: Array<ApiDatasetChapterPlace>;
|
|
1787
|
+
/**
|
|
1788
|
+
* The events that appear in the chapter. Sorted by the first verse that they appear in.
|
|
1789
|
+
*/
|
|
1790
|
+
events: Array<ApiDatasetChapterEvent>;
|
|
1791
|
+
};
|
|
1792
|
+
/**
|
|
1793
|
+
* The list of people in a dataset. Maps to the /api/d/:datasetId/people.json endpoint.
|
|
1794
|
+
*/
|
|
1795
|
+
export type ApiDatasetPeople = {
|
|
1796
|
+
/**
|
|
1797
|
+
* The dataset information for the people.
|
|
1798
|
+
*/
|
|
1799
|
+
dataset: ApiDataset;
|
|
1800
|
+
/**
|
|
1801
|
+
* The list of people that are available for the dataset.
|
|
1802
|
+
*/
|
|
1803
|
+
people: Array<ApiDatasetPersonSummary>;
|
|
1804
|
+
};
|
|
1805
|
+
/**
|
|
1806
|
+
* Defines a summary of a person in a dataset.
|
|
1807
|
+
*/
|
|
1808
|
+
export type ApiDatasetPersonSummary = {
|
|
1809
|
+
/**
|
|
1810
|
+
* The ID of the person.
|
|
1811
|
+
*/
|
|
1812
|
+
id: string;
|
|
1813
|
+
/**
|
|
1814
|
+
* The name of the person.
|
|
1815
|
+
*/
|
|
1816
|
+
name: string;
|
|
1817
|
+
/**
|
|
1818
|
+
* Whether the name of the person is a proper name.
|
|
1819
|
+
*/
|
|
1820
|
+
isProperName?: boolean;
|
|
1821
|
+
/**
|
|
1822
|
+
* The gender of the person.
|
|
1823
|
+
*/
|
|
1824
|
+
gender?: string;
|
|
1825
|
+
/**
|
|
1826
|
+
* The number of Bible references that mention the person.
|
|
1827
|
+
*/
|
|
1828
|
+
numberOfReferences: number;
|
|
1829
|
+
/**
|
|
1830
|
+
* The API link for the person. Relative to the API origin.
|
|
1831
|
+
*/
|
|
1832
|
+
thisPersonApiLink: string;
|
|
1833
|
+
};
|
|
1834
|
+
/**
|
|
1835
|
+
* The information about a person in a dataset. Maps to the /api/d/:datasetId/people/:personId.json endpoint.
|
|
1836
|
+
*/
|
|
1837
|
+
export type ApiDatasetPerson = {
|
|
1838
|
+
/**
|
|
1839
|
+
* The dataset information for the person.
|
|
1840
|
+
*/
|
|
1841
|
+
dataset: ApiDataset;
|
|
1842
|
+
/**
|
|
1843
|
+
* The information about the person.
|
|
1844
|
+
*/
|
|
1845
|
+
person: DatasetPerson;
|
|
1846
|
+
/**
|
|
1847
|
+
* The API link for this person. Relative to the API origin.
|
|
1848
|
+
*/
|
|
1849
|
+
thisPersonApiLink: string;
|
|
1850
|
+
};
|
|
1851
|
+
/**
|
|
1852
|
+
* Defines the schema for a reference to another entity (person, place, event, or people group) in a dataset.
|
|
1853
|
+
*/
|
|
1854
|
+
export type DatasetEntityRef = {
|
|
1855
|
+
/**
|
|
1856
|
+
* The ID of the entity that is being referenced.
|
|
1857
|
+
*/
|
|
1858
|
+
id: string;
|
|
1859
|
+
/**
|
|
1860
|
+
* The type of the entity that is being referenced. Matches the collection segment of the entity's API link, so the link can be constructed as `/api/d/{dataset}/{type}/{id}.json`.
|
|
1861
|
+
*/
|
|
1862
|
+
type: DatasetEntityType;
|
|
1863
|
+
/**
|
|
1864
|
+
* The name of the entity that is being referenced.
|
|
1865
|
+
*/
|
|
1866
|
+
name?: string;
|
|
1867
|
+
/**
|
|
1868
|
+
* The API link for the entity that is being referenced. Relative to the API origin. Only present in API responses.
|
|
1869
|
+
*/
|
|
1870
|
+
apiLink?: string;
|
|
1871
|
+
};
|
|
1872
|
+
/**
|
|
1873
|
+
* The type of an entity in a dataset. Matches the collection segment of the entity API paths, so the API link for an entity can be constructed as `/api/d/{dataset}/{type}/{id}.json`.
|
|
1874
|
+
*/
|
|
1875
|
+
export type DatasetEntityType = 'people' | 'places' | 'events' | 'groups';
|
|
1876
|
+
/**
|
|
1877
|
+
* Defines a schema for verse references. A verse reference is a string that contains a book ID, chapter number, and verse number, such as "GEN 1:1". It can also contain an optional content part that comes after the verse reference, such as "GEN 1:1 In the beginning, God created the Heavens and the Earth." It can also contain optional endChapter and endVerse fields for references that span multiple chapters or verses, such as "GEN 1:1-2:3".
|
|
1878
|
+
*/
|
|
1879
|
+
export type VerseRef = {
|
|
1880
|
+
book: BookId;
|
|
1881
|
+
/**
|
|
1882
|
+
* The chapter number that the reference starts at.
|
|
1883
|
+
*/
|
|
1884
|
+
chapter: number;
|
|
1885
|
+
/**
|
|
1886
|
+
* The verse number that the reference starts at.
|
|
1887
|
+
*/
|
|
1888
|
+
verse: number;
|
|
1889
|
+
/**
|
|
1890
|
+
* The rest of the content of the verse reference. This is the part of the string that comes after the verse reference. For example, in "GEN 1:1 In the beginning, God created the Heavens and the Earth.", the content would be "In the beginning, God created the Heavens and the Earth."
|
|
1891
|
+
*/
|
|
1892
|
+
content?: string;
|
|
1893
|
+
/**
|
|
1894
|
+
* The chapter that the verse reference ends at. This is used for references that span multiple chapters, such as "GEN 1:1-2:3". In this case, the endChapter would be 2.
|
|
1895
|
+
*/
|
|
1896
|
+
endChapter?: number;
|
|
1897
|
+
/**
|
|
1898
|
+
* The verse that the verse reference ends at. This is used for references that span multiple verses, such as "GEN 1:1-1:3". In this case, the endVerse would be 3.
|
|
1899
|
+
*/
|
|
1900
|
+
endVerse?: number;
|
|
1901
|
+
};
|
|
1902
|
+
/**
|
|
1903
|
+
* Defines the schema for information about a person in a dataset.
|
|
1904
|
+
*/
|
|
1905
|
+
export type DatasetPerson = {
|
|
1906
|
+
/**
|
|
1907
|
+
* The ID of the person.
|
|
1908
|
+
*/
|
|
1909
|
+
id: string;
|
|
1910
|
+
/**
|
|
1911
|
+
* The name of the person.
|
|
1912
|
+
*/
|
|
1913
|
+
name: string;
|
|
1914
|
+
/**
|
|
1915
|
+
* Other names that the person is called by.
|
|
1916
|
+
*/
|
|
1917
|
+
alsoCalled?: Array<string>;
|
|
1918
|
+
/**
|
|
1919
|
+
* Whether the name of the person is a proper name.
|
|
1920
|
+
*/
|
|
1921
|
+
isProperName?: boolean;
|
|
1922
|
+
/**
|
|
1923
|
+
* The gender of the person.
|
|
1924
|
+
*/
|
|
1925
|
+
gender?: string;
|
|
1926
|
+
/**
|
|
1927
|
+
* The description of the person. Each string is a paragraph.
|
|
1928
|
+
*/
|
|
1929
|
+
description?: Array<string>;
|
|
1930
|
+
/**
|
|
1931
|
+
* The year that the person was born. Negative numbers are years BC. Positive numbers are years AD.
|
|
1932
|
+
*/
|
|
1933
|
+
birthYear?: number;
|
|
1934
|
+
/**
|
|
1935
|
+
* The year that the person died. Negative numbers are years BC. Positive numbers are years AD.
|
|
1936
|
+
*/
|
|
1937
|
+
deathYear?: number;
|
|
1938
|
+
/**
|
|
1939
|
+
* The earliest year that the person is mentioned in. Negative numbers are years BC. Positive numbers are years AD.
|
|
1940
|
+
*/
|
|
1941
|
+
minYear?: number;
|
|
1942
|
+
/**
|
|
1943
|
+
* The latest year that the person is mentioned in. Negative numbers are years BC. Positive numbers are years AD.
|
|
1944
|
+
*/
|
|
1945
|
+
maxYear?: number;
|
|
1946
|
+
/**
|
|
1947
|
+
* The place that the person was born in.
|
|
1948
|
+
*/
|
|
1949
|
+
birthPlace?: DatasetEntityRef;
|
|
1950
|
+
/**
|
|
1951
|
+
* The place that the person died in.
|
|
1952
|
+
*/
|
|
1953
|
+
deathPlace?: DatasetEntityRef;
|
|
1954
|
+
/**
|
|
1955
|
+
* The father(s) of the person.
|
|
1956
|
+
*/
|
|
1957
|
+
father?: Array<DatasetEntityRef>;
|
|
1958
|
+
/**
|
|
1959
|
+
* The mother(s) of the person.
|
|
1960
|
+
*/
|
|
1961
|
+
mother?: Array<DatasetEntityRef>;
|
|
1962
|
+
/**
|
|
1963
|
+
* The partners (spouses) of the person.
|
|
1964
|
+
*/
|
|
1965
|
+
partners?: Array<DatasetEntityRef>;
|
|
1966
|
+
/**
|
|
1967
|
+
* The children of the person.
|
|
1968
|
+
*/
|
|
1969
|
+
children?: Array<DatasetEntityRef>;
|
|
1970
|
+
/**
|
|
1971
|
+
* The siblings of the person.
|
|
1972
|
+
*/
|
|
1973
|
+
siblings?: Array<DatasetEntityRef>;
|
|
1974
|
+
/**
|
|
1975
|
+
* The half-siblings of the person that share the same mother.
|
|
1976
|
+
*/
|
|
1977
|
+
halfSiblingsSameMother?: Array<DatasetEntityRef>;
|
|
1978
|
+
/**
|
|
1979
|
+
* The half-siblings of the person that share the same father.
|
|
1980
|
+
*/
|
|
1981
|
+
halfSiblingsSameFather?: Array<DatasetEntityRef>;
|
|
1982
|
+
/**
|
|
1983
|
+
* The people groups that the person is a member of.
|
|
1984
|
+
*/
|
|
1985
|
+
memberOf?: Array<DatasetEntityRef>;
|
|
1986
|
+
/**
|
|
1987
|
+
* The events that the person participated in.
|
|
1988
|
+
*/
|
|
1989
|
+
events?: Array<DatasetEntityRef>;
|
|
1990
|
+
/**
|
|
1991
|
+
* The list of Bible references that mention the person. Sorted by book order, chapter, and verse. Consecutive verses in the same chapter are collapsed into a single reference using `endVerse`.
|
|
1992
|
+
*/
|
|
1993
|
+
references: Array<VerseRef>;
|
|
1994
|
+
};
|
|
1995
|
+
/**
|
|
1996
|
+
* The list of places in a dataset. Maps to the /api/d/:datasetId/places.json endpoint.
|
|
1997
|
+
*/
|
|
1998
|
+
export type ApiDatasetPlaces = {
|
|
1999
|
+
/**
|
|
2000
|
+
* The dataset information for the places.
|
|
2001
|
+
*/
|
|
2002
|
+
dataset: ApiDataset;
|
|
2003
|
+
/**
|
|
2004
|
+
* The list of places that are available for the dataset.
|
|
2005
|
+
*/
|
|
2006
|
+
places: Array<ApiDatasetPlaceSummary>;
|
|
2007
|
+
};
|
|
2008
|
+
/**
|
|
2009
|
+
* Defines a summary of a place in a dataset.
|
|
2010
|
+
*/
|
|
2011
|
+
export type ApiDatasetPlaceSummary = {
|
|
2012
|
+
/**
|
|
2013
|
+
* The ID of the place.
|
|
2014
|
+
*/
|
|
2015
|
+
id: string;
|
|
2016
|
+
/**
|
|
2017
|
+
* The name of the place.
|
|
2018
|
+
*/
|
|
2019
|
+
name: string;
|
|
2020
|
+
/**
|
|
2021
|
+
* The type of geographical feature that the place is. For example, "City", "Region", "Mountain", "Water", etc.
|
|
2022
|
+
*/
|
|
2023
|
+
featureType?: string;
|
|
2024
|
+
/**
|
|
2025
|
+
* The latitude of the place.
|
|
2026
|
+
*/
|
|
2027
|
+
latitude?: number;
|
|
2028
|
+
/**
|
|
2029
|
+
* The longitude of the place.
|
|
2030
|
+
*/
|
|
2031
|
+
longitude?: number;
|
|
2032
|
+
/**
|
|
2033
|
+
* The number of Bible references that mention the place.
|
|
2034
|
+
*/
|
|
2035
|
+
numberOfReferences: number;
|
|
2036
|
+
/**
|
|
2037
|
+
* The API link for the place. Relative to the API origin.
|
|
2038
|
+
*/
|
|
2039
|
+
thisPlaceApiLink: string;
|
|
2040
|
+
};
|
|
2041
|
+
/**
|
|
2042
|
+
* The information about a place in a dataset. Maps to the /api/d/:datasetId/places/:placeId.json endpoint.
|
|
2043
|
+
*/
|
|
2044
|
+
export type ApiDatasetPlace = {
|
|
2045
|
+
/**
|
|
2046
|
+
* The dataset information for the place.
|
|
2047
|
+
*/
|
|
2048
|
+
dataset: ApiDataset;
|
|
2049
|
+
/**
|
|
2050
|
+
* The information about the place.
|
|
2051
|
+
*/
|
|
2052
|
+
place: DatasetPlace;
|
|
2053
|
+
/**
|
|
2054
|
+
* The API link for this place. Relative to the API origin.
|
|
2055
|
+
*/
|
|
2056
|
+
thisPlaceApiLink: string;
|
|
2057
|
+
};
|
|
2058
|
+
/**
|
|
2059
|
+
* Defines the schema for information about a place in a dataset.
|
|
2060
|
+
*/
|
|
2061
|
+
export type DatasetPlace = {
|
|
2062
|
+
/**
|
|
2063
|
+
* The ID of the place.
|
|
2064
|
+
*/
|
|
2065
|
+
id: string;
|
|
2066
|
+
/**
|
|
2067
|
+
* The name of the place.
|
|
2068
|
+
*/
|
|
2069
|
+
name: string;
|
|
2070
|
+
/**
|
|
2071
|
+
* The name of the place as it appears in the King James Version.
|
|
2072
|
+
*/
|
|
2073
|
+
kjvName?: string;
|
|
2074
|
+
/**
|
|
2075
|
+
* The name of the place as it appears in the English Standard Version.
|
|
2076
|
+
*/
|
|
2077
|
+
esvName?: string;
|
|
2078
|
+
/**
|
|
2079
|
+
* Other names that the place is called by.
|
|
2080
|
+
*/
|
|
2081
|
+
aliases?: Array<string>;
|
|
2082
|
+
/**
|
|
2083
|
+
* The type of geographical feature that the place is. For example, "City", "Region", "Mountain", "Water", etc.
|
|
2084
|
+
*/
|
|
2085
|
+
featureType?: string;
|
|
2086
|
+
/**
|
|
2087
|
+
* The sub-type of geographical feature that the place is.
|
|
2088
|
+
*/
|
|
2089
|
+
featureSubType?: string;
|
|
2090
|
+
/**
|
|
2091
|
+
* The latitude of the place.
|
|
2092
|
+
*/
|
|
2093
|
+
latitude?: number;
|
|
2094
|
+
/**
|
|
2095
|
+
* The longitude of the place.
|
|
2096
|
+
*/
|
|
2097
|
+
longitude?: number;
|
|
2098
|
+
/**
|
|
2099
|
+
* How precise the latitude and longitude of the place are.
|
|
2100
|
+
*/
|
|
2101
|
+
precision?: string;
|
|
2102
|
+
/**
|
|
2103
|
+
* The description of the place. Each string is a paragraph.
|
|
2104
|
+
*/
|
|
2105
|
+
description?: Array<string>;
|
|
2106
|
+
/**
|
|
2107
|
+
* The comment on the place from the dataset authors.
|
|
2108
|
+
*/
|
|
2109
|
+
comment?: string;
|
|
2110
|
+
/**
|
|
2111
|
+
* The root place for this place. Different names for the same geographical location share the same root place.
|
|
2112
|
+
*/
|
|
2113
|
+
rootPlace?: DatasetEntityRef;
|
|
2114
|
+
/**
|
|
2115
|
+
* The place that this place is a duplicate of.
|
|
2116
|
+
*/
|
|
2117
|
+
duplicateOf?: DatasetEntityRef;
|
|
2118
|
+
/**
|
|
2119
|
+
* The people that have been at the place.
|
|
2120
|
+
*/
|
|
2121
|
+
people?: Array<DatasetEntityRef>;
|
|
2122
|
+
/**
|
|
2123
|
+
* The people that were born at the place.
|
|
2124
|
+
*/
|
|
2125
|
+
peopleBorn?: Array<DatasetEntityRef>;
|
|
2126
|
+
/**
|
|
2127
|
+
* The people that died at the place.
|
|
2128
|
+
*/
|
|
2129
|
+
peopleDied?: Array<DatasetEntityRef>;
|
|
2130
|
+
/**
|
|
2131
|
+
* The events that happened at the place.
|
|
2132
|
+
*/
|
|
2133
|
+
events?: Array<DatasetEntityRef>;
|
|
2134
|
+
/**
|
|
2135
|
+
* The list of Bible references that mention the place. Sorted by book order, chapter, and verse. Consecutive verses in the same chapter are collapsed into a single reference using `endVerse`.
|
|
2136
|
+
*/
|
|
2137
|
+
references: Array<VerseRef>;
|
|
2138
|
+
};
|
|
2139
|
+
/**
|
|
2140
|
+
* The list of events in a dataset. Maps to the /api/d/:datasetId/events.json endpoint.
|
|
2141
|
+
*/
|
|
2142
|
+
export type ApiDatasetEvents = {
|
|
2143
|
+
/**
|
|
2144
|
+
* The dataset information for the events.
|
|
2145
|
+
*/
|
|
2146
|
+
dataset: ApiDataset;
|
|
2147
|
+
/**
|
|
2148
|
+
* The list of events that are available for the dataset.
|
|
2149
|
+
*/
|
|
2150
|
+
events: Array<ApiDatasetEventSummary>;
|
|
2151
|
+
};
|
|
2152
|
+
/**
|
|
2153
|
+
* Defines a summary of an event in a dataset.
|
|
2154
|
+
*/
|
|
2155
|
+
export type ApiDatasetEventSummary = {
|
|
2156
|
+
/**
|
|
2157
|
+
* The ID of the event.
|
|
2158
|
+
*/
|
|
2159
|
+
id: string;
|
|
2160
|
+
/**
|
|
2161
|
+
* The name of the event.
|
|
2162
|
+
*/
|
|
2163
|
+
name: string;
|
|
2164
|
+
/**
|
|
2165
|
+
* The date that the event started at. Negative numbers are years BC. Positive numbers are years AD. More specific dates use the `YYYY-MM-DD` format.
|
|
2166
|
+
*/
|
|
2167
|
+
startDate?: string;
|
|
2168
|
+
/**
|
|
2169
|
+
* The number of Bible references that describe the event.
|
|
2170
|
+
*/
|
|
2171
|
+
numberOfReferences: number;
|
|
2172
|
+
/**
|
|
2173
|
+
* The API link for the event. Relative to the API origin.
|
|
2174
|
+
*/
|
|
2175
|
+
thisEventApiLink: string;
|
|
2176
|
+
};
|
|
2177
|
+
/**
|
|
2178
|
+
* The information about an event in a dataset. Maps to the /api/d/:datasetId/events/:eventId.json endpoint.
|
|
2179
|
+
*/
|
|
2180
|
+
export type ApiDatasetEvent = {
|
|
2181
|
+
/**
|
|
2182
|
+
* The dataset information for the event.
|
|
2183
|
+
*/
|
|
2184
|
+
dataset: ApiDataset;
|
|
2185
|
+
/**
|
|
2186
|
+
* The information about the event.
|
|
2187
|
+
*/
|
|
2188
|
+
event: DatasetEvent;
|
|
2189
|
+
/**
|
|
2190
|
+
* The API link for this event. Relative to the API origin.
|
|
2191
|
+
*/
|
|
2192
|
+
thisEventApiLink: string;
|
|
2193
|
+
};
|
|
2194
|
+
/**
|
|
2195
|
+
* Defines the schema for information about an event in a dataset.
|
|
2196
|
+
*/
|
|
2197
|
+
export type DatasetEvent = {
|
|
2198
|
+
/**
|
|
2199
|
+
* The ID of the event.
|
|
2200
|
+
*/
|
|
2201
|
+
id: string;
|
|
2202
|
+
/**
|
|
2203
|
+
* The name of the event.
|
|
2204
|
+
*/
|
|
2205
|
+
name: string;
|
|
2206
|
+
/**
|
|
2207
|
+
* The date that the event started at. Negative numbers are years BC. Positive numbers are years AD. More specific dates use the `YYYY-MM-DD` format.
|
|
2208
|
+
*/
|
|
2209
|
+
startDate?: string;
|
|
2210
|
+
/**
|
|
2211
|
+
* The duration of the event. For example, "1D" is one day and "40Y" is fourty years.
|
|
2212
|
+
*/
|
|
2213
|
+
duration?: string;
|
|
2214
|
+
/**
|
|
2215
|
+
* The people that participated in the event.
|
|
2216
|
+
*/
|
|
2217
|
+
participants?: Array<DatasetEntityRef>;
|
|
2218
|
+
/**
|
|
2219
|
+
* The places that the event happened at.
|
|
2220
|
+
*/
|
|
2221
|
+
locations?: Array<DatasetEntityRef>;
|
|
2222
|
+
/**
|
|
2223
|
+
* The people groups that participated in the event.
|
|
2224
|
+
*/
|
|
2225
|
+
groups?: Array<DatasetEntityRef>;
|
|
2226
|
+
/**
|
|
2227
|
+
* The event that this event is a part of.
|
|
2228
|
+
*/
|
|
2229
|
+
partOf?: DatasetEntityRef;
|
|
2230
|
+
/**
|
|
2231
|
+
* The event that happened before this event.
|
|
2232
|
+
*/
|
|
2233
|
+
predecessor?: DatasetEntityRef;
|
|
2234
|
+
/**
|
|
2235
|
+
* The list of Bible references that describe the event. Sorted by book order, chapter, and verse. Consecutive verses in the same chapter are collapsed into a single reference using `endVerse`.
|
|
2236
|
+
*/
|
|
2237
|
+
references: Array<VerseRef>;
|
|
2238
|
+
};
|
|
2239
|
+
/**
|
|
2240
|
+
* The list of people groups in a dataset. Maps to the /api/d/:datasetId/groups.json endpoint.
|
|
2241
|
+
*/
|
|
2242
|
+
export type ApiDatasetPeopleGroups = {
|
|
2243
|
+
/**
|
|
2244
|
+
* The dataset information for the people groups.
|
|
2245
|
+
*/
|
|
2246
|
+
dataset: ApiDataset;
|
|
2247
|
+
/**
|
|
2248
|
+
* The list of people groups that are available for the dataset.
|
|
2249
|
+
*/
|
|
2250
|
+
groups: Array<ApiDatasetPeopleGroupSummary>;
|
|
2251
|
+
};
|
|
2252
|
+
/**
|
|
2253
|
+
* Defines a summary of a people group in a dataset.
|
|
2254
|
+
*/
|
|
2255
|
+
export type ApiDatasetPeopleGroupSummary = {
|
|
2256
|
+
/**
|
|
2257
|
+
* The ID of the people group.
|
|
2258
|
+
*/
|
|
2259
|
+
id: string;
|
|
2260
|
+
/**
|
|
2261
|
+
* The name of the people group.
|
|
2262
|
+
*/
|
|
2263
|
+
name: string;
|
|
2264
|
+
/**
|
|
2265
|
+
* The number of people that are members of the people group.
|
|
2266
|
+
*/
|
|
2267
|
+
numberOfMembers: number;
|
|
2268
|
+
/**
|
|
2269
|
+
* The API link for the people group. Relative to the API origin.
|
|
2270
|
+
*/
|
|
2271
|
+
thisPeopleGroupApiLink: string;
|
|
2272
|
+
};
|
|
2273
|
+
/**
|
|
2274
|
+
* The information about a people group in a dataset. Maps to the /api/d/:datasetId/groups/:groupId.json endpoint.
|
|
2275
|
+
*/
|
|
2276
|
+
export type ApiDatasetPeopleGroup = {
|
|
2277
|
+
/**
|
|
2278
|
+
* The dataset information for the people group.
|
|
2279
|
+
*/
|
|
2280
|
+
dataset: ApiDataset;
|
|
2281
|
+
/**
|
|
2282
|
+
* The information about the people group.
|
|
2283
|
+
*/
|
|
2284
|
+
group: DatasetPeopleGroup;
|
|
2285
|
+
/**
|
|
2286
|
+
* The API link for this people group. Relative to the API origin.
|
|
2287
|
+
*/
|
|
2288
|
+
thisPeopleGroupApiLink: string;
|
|
2289
|
+
};
|
|
2290
|
+
/**
|
|
2291
|
+
* Defines the schema for information about a people group in a dataset.
|
|
2292
|
+
*/
|
|
2293
|
+
export type DatasetPeopleGroup = {
|
|
2294
|
+
/**
|
|
2295
|
+
* The ID of the people group.
|
|
2296
|
+
*/
|
|
2297
|
+
id: string;
|
|
2298
|
+
/**
|
|
2299
|
+
* The name of the people group.
|
|
2300
|
+
*/
|
|
2301
|
+
name: string;
|
|
2302
|
+
/**
|
|
2303
|
+
* The people that are members of the people group.
|
|
2304
|
+
*/
|
|
2305
|
+
members?: Array<DatasetEntityRef>;
|
|
2306
|
+
/**
|
|
2307
|
+
* The events that the people group participated in.
|
|
2308
|
+
*/
|
|
2309
|
+
events?: Array<DatasetEntityRef>;
|
|
2310
|
+
/**
|
|
2311
|
+
* The list of Bible references that mention the people group. Sorted by book order, chapter, and verse. Consecutive verses in the same chapter are collapsed into a single reference using `endVerse`.
|
|
2312
|
+
*/
|
|
2313
|
+
references: Array<VerseRef>;
|
|
2314
|
+
};
|
|
2315
|
+
export type GetAvailableTranslationsData = {
|
|
2316
|
+
body?: never;
|
|
2317
|
+
path?: never;
|
|
2318
|
+
query?: never;
|
|
2319
|
+
url: '/api/available_translations.json';
|
|
2320
|
+
};
|
|
2321
|
+
export type GetAvailableTranslationsResponses = {
|
|
2322
|
+
/**
|
|
2323
|
+
* 200 OK
|
|
2324
|
+
*/
|
|
2325
|
+
200: ApiAvailableTranslations;
|
|
2326
|
+
};
|
|
2327
|
+
export type GetAvailableTranslationsResponse = GetAvailableTranslationsResponses[keyof GetAvailableTranslationsResponses];
|
|
2328
|
+
export type GetTranslationBooksData = {
|
|
2329
|
+
body?: never;
|
|
2330
|
+
path: {
|
|
2331
|
+
/**
|
|
2332
|
+
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
2333
|
+
*/
|
|
2334
|
+
translation: string;
|
|
2335
|
+
};
|
|
2336
|
+
query?: never;
|
|
2337
|
+
url: '/api/{translation}/books.json';
|
|
2338
|
+
};
|
|
2339
|
+
export type GetTranslationBooksErrors = {
|
|
2340
|
+
/**
|
|
2341
|
+
* 404 Not Found - The specified translation was not found.
|
|
2342
|
+
*/
|
|
2343
|
+
404: unknown;
|
|
2344
|
+
};
|
|
2345
|
+
export type GetTranslationBooksResponses = {
|
|
2346
|
+
/**
|
|
2347
|
+
* 200 OK
|
|
2348
|
+
*/
|
|
2349
|
+
200: ApiTranslationBooks;
|
|
2350
|
+
};
|
|
2351
|
+
export type GetTranslationBooksResponse = GetTranslationBooksResponses[keyof GetTranslationBooksResponses];
|
|
2352
|
+
export type GetTranslationBookChapterData = {
|
|
2353
|
+
body?: never;
|
|
2354
|
+
path: {
|
|
2355
|
+
/**
|
|
2356
|
+
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
2357
|
+
*/
|
|
2358
|
+
translation: string;
|
|
2359
|
+
/**
|
|
2360
|
+
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
2361
|
+
*/
|
|
2362
|
+
book: BookId;
|
|
2363
|
+
/**
|
|
2364
|
+
* The chapter number to get the content for. This should be a positive integer.
|
|
2365
|
+
*/
|
|
2366
|
+
chapter: number;
|
|
2367
|
+
};
|
|
2368
|
+
query?: never;
|
|
2369
|
+
url: '/api/{translation}/{book}/{chapter}.json';
|
|
2370
|
+
};
|
|
2371
|
+
export type GetTranslationBookChapterErrors = {
|
|
2372
|
+
/**
|
|
2373
|
+
* 404 Not Found - The specified translation, book, or chapter was not found.
|
|
2374
|
+
*/
|
|
2375
|
+
404: unknown;
|
|
2376
|
+
};
|
|
2377
|
+
export type GetTranslationBookChapterResponses = {
|
|
2378
|
+
/**
|
|
2379
|
+
* 200 OK
|
|
2380
|
+
*/
|
|
2381
|
+
200: ApiTranslationBookChapter;
|
|
2382
|
+
};
|
|
2383
|
+
export type GetTranslationBookChapterResponse = GetTranslationBookChapterResponses[keyof GetTranslationBookChapterResponses];
|
|
2384
|
+
export type GetSimpleTranslationBookChapterData = {
|
|
2385
|
+
body?: never;
|
|
2386
|
+
path: {
|
|
2387
|
+
/**
|
|
2388
|
+
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
2389
|
+
*/
|
|
2390
|
+
translation: string;
|
|
2391
|
+
/**
|
|
2392
|
+
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
2393
|
+
*/
|
|
2394
|
+
book: BookId;
|
|
2395
|
+
/**
|
|
2396
|
+
* The chapter number to get the content for. This should be a positive integer.
|
|
2397
|
+
*/
|
|
2398
|
+
chapter: number;
|
|
2399
|
+
};
|
|
2400
|
+
query?: never;
|
|
2401
|
+
url: '/api/{translation}/{book}/{chapter}.simple.json';
|
|
2402
|
+
};
|
|
2403
|
+
export type GetSimpleTranslationBookChapterErrors = {
|
|
2404
|
+
/**
|
|
2405
|
+
* 404 Not Found - The specified translation, book, or chapter was not found.
|
|
2406
|
+
*/
|
|
2407
|
+
404: unknown;
|
|
2408
|
+
};
|
|
2409
|
+
export type GetSimpleTranslationBookChapterResponses = {
|
|
2410
|
+
/**
|
|
2411
|
+
* 200 OK
|
|
2412
|
+
*/
|
|
2413
|
+
200: ApiSimpleTranslationBookChapter;
|
|
2414
|
+
};
|
|
2415
|
+
export type GetSimpleTranslationBookChapterResponse = GetSimpleTranslationBookChapterResponses[keyof GetSimpleTranslationBookChapterResponses];
|
|
2416
|
+
export type GetTranslationBookChapterAudioTimingsData = {
|
|
2417
|
+
body?: never;
|
|
2418
|
+
path: {
|
|
2419
|
+
/**
|
|
2420
|
+
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
2421
|
+
*/
|
|
2422
|
+
translation: string;
|
|
2423
|
+
/**
|
|
2424
|
+
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
2425
|
+
*/
|
|
2426
|
+
book: BookId;
|
|
2427
|
+
/**
|
|
2428
|
+
* The chapter number to get the content for. This should be a positive integer.
|
|
2429
|
+
*/
|
|
2430
|
+
chapter: number;
|
|
2431
|
+
/**
|
|
2432
|
+
* The ID of the reader to get the audio timings for. For example, "hays" for the Hays reading of the Berean Standard Bible.
|
|
2433
|
+
*/
|
|
2434
|
+
reader: string;
|
|
2435
|
+
};
|
|
2436
|
+
query?: never;
|
|
2437
|
+
url: '/api/{translation}/{book}/{chapter}.{reader}.audioTimings.json';
|
|
2438
|
+
};
|
|
2439
|
+
export type GetTranslationBookChapterAudioTimingsErrors = {
|
|
2440
|
+
/**
|
|
2441
|
+
* 404 Not Found - The specified translation, book, chapter, or reader was not found.
|
|
2442
|
+
*/
|
|
2443
|
+
404: unknown;
|
|
2444
|
+
};
|
|
2445
|
+
export type GetTranslationBookChapterAudioTimingsResponses = {
|
|
2446
|
+
/**
|
|
2447
|
+
* 200 OK
|
|
2448
|
+
*/
|
|
2449
|
+
200: ApiTranslationBookChapterAudioTimings;
|
|
2450
|
+
};
|
|
2451
|
+
export type GetTranslationBookChapterAudioTimingsResponse = GetTranslationBookChapterAudioTimingsResponses[keyof GetTranslationBookChapterAudioTimingsResponses];
|
|
2452
|
+
export type GetTranslationBookChapterWordsData = {
|
|
2453
|
+
body?: never;
|
|
2454
|
+
path: {
|
|
2455
|
+
/**
|
|
2456
|
+
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
2457
|
+
*/
|
|
2458
|
+
translation: string;
|
|
2459
|
+
/**
|
|
2460
|
+
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
2461
|
+
*/
|
|
2462
|
+
book: BookId;
|
|
2463
|
+
/**
|
|
2464
|
+
* The chapter number to get the content for. This should be a positive integer.
|
|
2465
|
+
*/
|
|
2466
|
+
chapter: number;
|
|
2467
|
+
};
|
|
2468
|
+
query?: never;
|
|
2469
|
+
url: '/api/{translation}/{book}/{chapter}.words.json';
|
|
2470
|
+
};
|
|
2471
|
+
export type GetTranslationBookChapterWordsErrors = {
|
|
2472
|
+
/**
|
|
2473
|
+
* 404 Not Found - The specified translation, book, or chapter was not found, or the chapter does not have any word-level annotations.
|
|
2474
|
+
*/
|
|
2475
|
+
404: unknown;
|
|
2476
|
+
};
|
|
2477
|
+
export type GetTranslationBookChapterWordsResponses = {
|
|
2478
|
+
/**
|
|
2479
|
+
* 200 OK
|
|
2480
|
+
*/
|
|
2481
|
+
200: ApiTranslationBookChapterWords;
|
|
2482
|
+
};
|
|
2483
|
+
export type GetTranslationBookChapterWordsResponse = GetTranslationBookChapterWordsResponses[keyof GetTranslationBookChapterWordsResponses];
|
|
2484
|
+
export type GetSimpleTranslationBookChapterWordsData = {
|
|
2485
|
+
body?: never;
|
|
2486
|
+
path: {
|
|
2487
|
+
/**
|
|
2488
|
+
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
2489
|
+
*/
|
|
2490
|
+
translation: string;
|
|
2491
|
+
/**
|
|
2492
|
+
* IDs for books. Follows the USFM standard (https://ubsicap.github.io/usfm/identification/books.html)
|
|
2493
|
+
*/
|
|
2494
|
+
book: BookId;
|
|
2495
|
+
/**
|
|
2496
|
+
* The chapter number to get the content for. This should be a positive integer.
|
|
2497
|
+
*/
|
|
2498
|
+
chapter: number;
|
|
2499
|
+
};
|
|
2500
|
+
query?: never;
|
|
2501
|
+
url: '/api/{translation}/{book}/{chapter}.words.simple.json';
|
|
2502
|
+
};
|
|
2503
|
+
export type GetSimpleTranslationBookChapterWordsErrors = {
|
|
2504
|
+
/**
|
|
2505
|
+
* 404 Not Found - The specified translation, book, or chapter was not found, or the chapter does not have any word-level annotations.
|
|
2506
|
+
*/
|
|
2507
|
+
404: unknown;
|
|
2508
|
+
};
|
|
2509
|
+
export type GetSimpleTranslationBookChapterWordsResponses = {
|
|
2510
|
+
/**
|
|
2511
|
+
* 200 OK
|
|
2512
|
+
*/
|
|
2513
|
+
200: ApiSimpleTranslationBookChapterWords;
|
|
2514
|
+
};
|
|
2515
|
+
export type GetSimpleTranslationBookChapterWordsResponse = GetSimpleTranslationBookChapterWordsResponses[keyof GetSimpleTranslationBookChapterWordsResponses];
|
|
2516
|
+
export type GetTranslationCompleteData = {
|
|
2517
|
+
body?: never;
|
|
2518
|
+
path: {
|
|
2519
|
+
/**
|
|
2520
|
+
* The translation ID of the Bible translation to get the books for. For example, "eng_kjv" for the King James Version.
|
|
2521
|
+
*/
|
|
2522
|
+
translation: string;
|
|
2523
|
+
};
|
|
2524
|
+
query?: never;
|
|
2525
|
+
url: '/api/{translation}/complete.json';
|
|
2526
|
+
};
|
|
2527
|
+
export type GetTranslationCompleteErrors = {
|
|
2528
|
+
/**
|
|
2529
|
+
* 404 Not Found - The specified translation was not found, or complete translations are not available.
|
|
2530
|
+
*/
|
|
2531
|
+
404: unknown;
|
|
2532
|
+
};
|
|
2533
|
+
export type GetTranslationCompleteResponses = {
|
|
2534
|
+
/**
|
|
2535
|
+
* 200 OK
|
|
2536
|
+
*/
|
|
2537
|
+
200: ApiTranslationComplete;
|
|
2538
|
+
};
|
|
2539
|
+
export type GetTranslationCompleteResponse = GetTranslationCompleteResponses[keyof GetTranslationCompleteResponses];
|
|
1828
2540
|
export type GetSimpleTranslationCompleteData = {
|
|
1829
2541
|
body?: never;
|
|
1830
2542
|
path: {
|
|
@@ -2016,7 +2728,215 @@ export type GetDatasetBookChapterResponses = {
|
|
|
2016
2728
|
/**
|
|
2017
2729
|
* 200 OK
|
|
2018
2730
|
*/
|
|
2019
|
-
200: ApiDatasetBookChapter;
|
|
2731
|
+
200: ApiDatasetBookChapter | ApiDatasetEntityBookChapter;
|
|
2020
2732
|
};
|
|
2021
2733
|
export type GetDatasetBookChapterResponse = GetDatasetBookChapterResponses[keyof GetDatasetBookChapterResponses];
|
|
2734
|
+
export type GetDatasetPeopleData = {
|
|
2735
|
+
body?: never;
|
|
2736
|
+
path: {
|
|
2737
|
+
/**
|
|
2738
|
+
* The dataset ID of the dataset to get the books or chapter content for.
|
|
2739
|
+
*/
|
|
2740
|
+
dataset: string;
|
|
2741
|
+
};
|
|
2742
|
+
query?: never;
|
|
2743
|
+
url: '/api/d/{dataset}/people.json';
|
|
2744
|
+
};
|
|
2745
|
+
export type GetDatasetPeopleErrors = {
|
|
2746
|
+
/**
|
|
2747
|
+
* 404 Not Found - The specified dataset was not found or doesn't contain people.
|
|
2748
|
+
*/
|
|
2749
|
+
404: unknown;
|
|
2750
|
+
};
|
|
2751
|
+
export type GetDatasetPeopleResponses = {
|
|
2752
|
+
/**
|
|
2753
|
+
* 200 OK
|
|
2754
|
+
*/
|
|
2755
|
+
200: ApiDatasetPeople;
|
|
2756
|
+
};
|
|
2757
|
+
export type GetDatasetPeopleResponse = GetDatasetPeopleResponses[keyof GetDatasetPeopleResponses];
|
|
2758
|
+
export type GetDatasetPersonData = {
|
|
2759
|
+
body?: never;
|
|
2760
|
+
path: {
|
|
2761
|
+
/**
|
|
2762
|
+
* The dataset ID of the dataset to get the books or chapter content for.
|
|
2763
|
+
*/
|
|
2764
|
+
dataset: string;
|
|
2765
|
+
/**
|
|
2766
|
+
* The ID of the person to get the information for. For example, "paul_2479" for the apostle Paul.
|
|
2767
|
+
*/
|
|
2768
|
+
person: string;
|
|
2769
|
+
};
|
|
2770
|
+
query?: never;
|
|
2771
|
+
url: '/api/d/{dataset}/people/{person}.json';
|
|
2772
|
+
};
|
|
2773
|
+
export type GetDatasetPersonErrors = {
|
|
2774
|
+
/**
|
|
2775
|
+
* 404 Not Found - The specified dataset or person was not found.
|
|
2776
|
+
*/
|
|
2777
|
+
404: unknown;
|
|
2778
|
+
};
|
|
2779
|
+
export type GetDatasetPersonResponses = {
|
|
2780
|
+
/**
|
|
2781
|
+
* 200 OK
|
|
2782
|
+
*/
|
|
2783
|
+
200: ApiDatasetPerson;
|
|
2784
|
+
};
|
|
2785
|
+
export type GetDatasetPersonResponse = GetDatasetPersonResponses[keyof GetDatasetPersonResponses];
|
|
2786
|
+
export type GetDatasetPlacesData = {
|
|
2787
|
+
body?: never;
|
|
2788
|
+
path: {
|
|
2789
|
+
/**
|
|
2790
|
+
* The dataset ID of the dataset to get the books or chapter content for.
|
|
2791
|
+
*/
|
|
2792
|
+
dataset: string;
|
|
2793
|
+
};
|
|
2794
|
+
query?: never;
|
|
2795
|
+
url: '/api/d/{dataset}/places.json';
|
|
2796
|
+
};
|
|
2797
|
+
export type GetDatasetPlacesErrors = {
|
|
2798
|
+
/**
|
|
2799
|
+
* 404 Not Found - The specified dataset was not found or doesn't contain places.
|
|
2800
|
+
*/
|
|
2801
|
+
404: unknown;
|
|
2802
|
+
};
|
|
2803
|
+
export type GetDatasetPlacesResponses = {
|
|
2804
|
+
/**
|
|
2805
|
+
* 200 OK
|
|
2806
|
+
*/
|
|
2807
|
+
200: ApiDatasetPlaces;
|
|
2808
|
+
};
|
|
2809
|
+
export type GetDatasetPlacesResponse = GetDatasetPlacesResponses[keyof GetDatasetPlacesResponses];
|
|
2810
|
+
export type GetDatasetPlaceData = {
|
|
2811
|
+
body?: never;
|
|
2812
|
+
path: {
|
|
2813
|
+
/**
|
|
2814
|
+
* The dataset ID of the dataset to get the books or chapter content for.
|
|
2815
|
+
*/
|
|
2816
|
+
dataset: string;
|
|
2817
|
+
/**
|
|
2818
|
+
* The ID of the place to get the information for. For example, "jerusalem_636" for Jerusalem.
|
|
2819
|
+
*/
|
|
2820
|
+
place: string;
|
|
2821
|
+
};
|
|
2822
|
+
query?: never;
|
|
2823
|
+
url: '/api/d/{dataset}/places/{place}.json';
|
|
2824
|
+
};
|
|
2825
|
+
export type GetDatasetPlaceErrors = {
|
|
2826
|
+
/**
|
|
2827
|
+
* 404 Not Found - The specified dataset or place was not found.
|
|
2828
|
+
*/
|
|
2829
|
+
404: unknown;
|
|
2830
|
+
};
|
|
2831
|
+
export type GetDatasetPlaceResponses = {
|
|
2832
|
+
/**
|
|
2833
|
+
* 200 OK
|
|
2834
|
+
*/
|
|
2835
|
+
200: ApiDatasetPlace;
|
|
2836
|
+
};
|
|
2837
|
+
export type GetDatasetPlaceResponse = GetDatasetPlaceResponses[keyof GetDatasetPlaceResponses];
|
|
2838
|
+
export type GetDatasetEventsData = {
|
|
2839
|
+
body?: never;
|
|
2840
|
+
path: {
|
|
2841
|
+
/**
|
|
2842
|
+
* The dataset ID of the dataset to get the books or chapter content for.
|
|
2843
|
+
*/
|
|
2844
|
+
dataset: string;
|
|
2845
|
+
};
|
|
2846
|
+
query?: never;
|
|
2847
|
+
url: '/api/d/{dataset}/events.json';
|
|
2848
|
+
};
|
|
2849
|
+
export type GetDatasetEventsErrors = {
|
|
2850
|
+
/**
|
|
2851
|
+
* 404 Not Found - The specified dataset was not found or doesn't contain events.
|
|
2852
|
+
*/
|
|
2853
|
+
404: unknown;
|
|
2854
|
+
};
|
|
2855
|
+
export type GetDatasetEventsResponses = {
|
|
2856
|
+
/**
|
|
2857
|
+
* 200 OK
|
|
2858
|
+
*/
|
|
2859
|
+
200: ApiDatasetEvents;
|
|
2860
|
+
};
|
|
2861
|
+
export type GetDatasetEventsResponse = GetDatasetEventsResponses[keyof GetDatasetEventsResponses];
|
|
2862
|
+
export type GetDatasetEventData = {
|
|
2863
|
+
body?: never;
|
|
2864
|
+
path: {
|
|
2865
|
+
/**
|
|
2866
|
+
* The dataset ID of the dataset to get the books or chapter content for.
|
|
2867
|
+
*/
|
|
2868
|
+
dataset: string;
|
|
2869
|
+
/**
|
|
2870
|
+
* The ID of the event to get the information for. For example, "saul-is-converted_326" for the conversion of Saul.
|
|
2871
|
+
*/
|
|
2872
|
+
event: string;
|
|
2873
|
+
};
|
|
2874
|
+
query?: never;
|
|
2875
|
+
url: '/api/d/{dataset}/events/{event}.json';
|
|
2876
|
+
};
|
|
2877
|
+
export type GetDatasetEventErrors = {
|
|
2878
|
+
/**
|
|
2879
|
+
* 404 Not Found - The specified dataset or event was not found.
|
|
2880
|
+
*/
|
|
2881
|
+
404: unknown;
|
|
2882
|
+
};
|
|
2883
|
+
export type GetDatasetEventResponses = {
|
|
2884
|
+
/**
|
|
2885
|
+
* 200 OK
|
|
2886
|
+
*/
|
|
2887
|
+
200: ApiDatasetEvent;
|
|
2888
|
+
};
|
|
2889
|
+
export type GetDatasetEventResponse = GetDatasetEventResponses[keyof GetDatasetEventResponses];
|
|
2890
|
+
export type GetDatasetPeopleGroupsData = {
|
|
2891
|
+
body?: never;
|
|
2892
|
+
path: {
|
|
2893
|
+
/**
|
|
2894
|
+
* The dataset ID of the dataset to get the books or chapter content for.
|
|
2895
|
+
*/
|
|
2896
|
+
dataset: string;
|
|
2897
|
+
};
|
|
2898
|
+
query?: never;
|
|
2899
|
+
url: '/api/d/{dataset}/groups.json';
|
|
2900
|
+
};
|
|
2901
|
+
export type GetDatasetPeopleGroupsErrors = {
|
|
2902
|
+
/**
|
|
2903
|
+
* 404 Not Found - The specified dataset was not found or doesn't contain people groups.
|
|
2904
|
+
*/
|
|
2905
|
+
404: unknown;
|
|
2906
|
+
};
|
|
2907
|
+
export type GetDatasetPeopleGroupsResponses = {
|
|
2908
|
+
/**
|
|
2909
|
+
* 200 OK
|
|
2910
|
+
*/
|
|
2911
|
+
200: ApiDatasetPeopleGroups;
|
|
2912
|
+
};
|
|
2913
|
+
export type GetDatasetPeopleGroupsResponse = GetDatasetPeopleGroupsResponses[keyof GetDatasetPeopleGroupsResponses];
|
|
2914
|
+
export type GetDatasetPeopleGroupData = {
|
|
2915
|
+
body?: never;
|
|
2916
|
+
path: {
|
|
2917
|
+
/**
|
|
2918
|
+
* The dataset ID of the dataset to get the books or chapter content for.
|
|
2919
|
+
*/
|
|
2920
|
+
dataset: string;
|
|
2921
|
+
/**
|
|
2922
|
+
* The ID of the people group to get the information for. For example, "tribe-of-benjamin" for the tribe of Benjamin.
|
|
2923
|
+
*/
|
|
2924
|
+
group: string;
|
|
2925
|
+
};
|
|
2926
|
+
query?: never;
|
|
2927
|
+
url: '/api/d/{dataset}/groups/{group}.json';
|
|
2928
|
+
};
|
|
2929
|
+
export type GetDatasetPeopleGroupErrors = {
|
|
2930
|
+
/**
|
|
2931
|
+
* 404 Not Found - The specified dataset or people group was not found.
|
|
2932
|
+
*/
|
|
2933
|
+
404: unknown;
|
|
2934
|
+
};
|
|
2935
|
+
export type GetDatasetPeopleGroupResponses = {
|
|
2936
|
+
/**
|
|
2937
|
+
* 200 OK
|
|
2938
|
+
*/
|
|
2939
|
+
200: ApiDatasetPeopleGroup;
|
|
2940
|
+
};
|
|
2941
|
+
export type GetDatasetPeopleGroupResponse = GetDatasetPeopleGroupResponses[keyof GetDatasetPeopleGroupResponses];
|
|
2022
2942
|
//# sourceMappingURL=types.gen.d.ts.map
|