free-use-bible-api 0.1.2 → 0.2.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.
Files changed (147) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +101 -70
  3. package/dist/cjs/FreeUseBibleApi.cjs +296 -0
  4. package/dist/cjs/FreeUseBibleApi.cjs.map +7 -0
  5. package/dist/cjs/index.cjs +25 -0
  6. package/dist/cjs/index.cjs.map +7 -0
  7. package/dist/cjs/types.gen.cjs +17 -0
  8. package/dist/cjs/types.gen.cjs.map +7 -0
  9. package/dist/esm/FreeUseBibleApi.js +270 -0
  10. package/dist/esm/FreeUseBibleApi.js.map +7 -0
  11. package/dist/esm/index.js +2 -3
  12. package/dist/esm/index.js.map +2 -2
  13. package/dist/esm/types.gen.js +2 -0
  14. package/dist/esm/types.gen.js.map +7 -0
  15. package/dist/types/FreeUseBibleApi.d.ts +247 -0
  16. package/dist/types/index.d.ts +2 -3
  17. package/dist/types/types.gen.d.ts +1147 -0
  18. package/package.json +33 -31
  19. package/dist/esm/apis/DefaultApi.js +0 -416
  20. package/dist/esm/apis/DefaultApi.js.map +0 -7
  21. package/dist/esm/apis/FreeUseBibleApi.js +0 -61
  22. package/dist/esm/apis/FreeUseBibleApi.js.map +0 -7
  23. package/dist/esm/apis/index.js +0 -4
  24. package/dist/esm/apis/index.js.map +0 -7
  25. package/dist/esm/models/ApiAvailableCommentaries.js +0 -32
  26. package/dist/esm/models/ApiAvailableCommentaries.js.map +0 -7
  27. package/dist/esm/models/ApiAvailableDatasets.js +0 -32
  28. package/dist/esm/models/ApiAvailableDatasets.js.map +0 -7
  29. package/dist/esm/models/ApiAvailableTranslations.js +0 -32
  30. package/dist/esm/models/ApiAvailableTranslations.js.map +0 -7
  31. package/dist/esm/models/ApiCommentary.js +0 -81
  32. package/dist/esm/models/ApiCommentary.js.map +0 -7
  33. package/dist/esm/models/ApiCommentaryBook.js +0 -63
  34. package/dist/esm/models/ApiCommentaryBook.js.map +0 -7
  35. package/dist/esm/models/ApiCommentaryBookChapter.js +0 -58
  36. package/dist/esm/models/ApiCommentaryBookChapter.js.map +0 -7
  37. package/dist/esm/models/ApiCommentaryBookChapterChapter.js +0 -37
  38. package/dist/esm/models/ApiCommentaryBookChapterChapter.js.map +0 -7
  39. package/dist/esm/models/ApiCommentaryBooks.js +0 -39
  40. package/dist/esm/models/ApiCommentaryBooks.js.map +0 -7
  41. package/dist/esm/models/ApiDataset.js +0 -77
  42. package/dist/esm/models/ApiDataset.js.map +0 -7
  43. package/dist/esm/models/ApiDatasetBook.js +0 -56
  44. package/dist/esm/models/ApiDatasetBook.js.map +0 -7
  45. package/dist/esm/models/ApiDatasetBookChapter.js +0 -61
  46. package/dist/esm/models/ApiDatasetBookChapter.js.map +0 -7
  47. package/dist/esm/models/ApiDatasetBooks.js +0 -39
  48. package/dist/esm/models/ApiDatasetBooks.js.map +0 -7
  49. package/dist/esm/models/ApiTranslation.js +0 -87
  50. package/dist/esm/models/ApiTranslation.js.map +0 -7
  51. package/dist/esm/models/ApiTranslationBook.js +0 -64
  52. package/dist/esm/models/ApiTranslationBook.js.map +0 -7
  53. package/dist/esm/models/ApiTranslationBookChapter.js +0 -67
  54. package/dist/esm/models/ApiTranslationBookChapter.js.map +0 -7
  55. package/dist/esm/models/ApiTranslationBookChapterChapter.js +0 -42
  56. package/dist/esm/models/ApiTranslationBookChapterChapter.js.map +0 -7
  57. package/dist/esm/models/ApiTranslationBooks.js +0 -39
  58. package/dist/esm/models/ApiTranslationBooks.js.map +0 -7
  59. package/dist/esm/models/ApiTranslationComplete.js +0 -39
  60. package/dist/esm/models/ApiTranslationComplete.js.map +0 -7
  61. package/dist/esm/models/ApiTranslationCompleteBook.js +0 -59
  62. package/dist/esm/models/ApiTranslationCompleteBook.js.map +0 -7
  63. package/dist/esm/models/BookId.js +0 -127
  64. package/dist/esm/models/BookId.js.map +0 -7
  65. package/dist/esm/models/ChapterContent.js +0 -58
  66. package/dist/esm/models/ChapterContent.js.map +0 -7
  67. package/dist/esm/models/ChapterFootnote.js +0 -44
  68. package/dist/esm/models/ChapterFootnote.js.map +0 -7
  69. package/dist/esm/models/ChapterFootnoteCaller.js +0 -17
  70. package/dist/esm/models/ChapterFootnoteCaller.js.map +0 -7
  71. package/dist/esm/models/ChapterFootnoteReference.js +0 -31
  72. package/dist/esm/models/ChapterFootnoteReference.js.map +0 -7
  73. package/dist/esm/models/ChapterHeading.js +0 -34
  74. package/dist/esm/models/ChapterHeading.js.map +0 -7
  75. package/dist/esm/models/ChapterHebrewSubtitle.js +0 -38
  76. package/dist/esm/models/ChapterHebrewSubtitle.js.map +0 -7
  77. package/dist/esm/models/ChapterHebrewSubtitleContentInner.js +0 -35
  78. package/dist/esm/models/ChapterHebrewSubtitleContentInner.js.map +0 -7
  79. package/dist/esm/models/ChapterLineBreak.js +0 -31
  80. package/dist/esm/models/ChapterLineBreak.js.map +0 -7
  81. package/dist/esm/models/ChapterVerse.js +0 -41
  82. package/dist/esm/models/ChapterVerse.js.map +0 -7
  83. package/dist/esm/models/ChapterVerseContentInner.js +0 -44
  84. package/dist/esm/models/ChapterVerseContentInner.js.map +0 -7
  85. package/dist/esm/models/DatasetChapterData.js +0 -35
  86. package/dist/esm/models/DatasetChapterData.js.map +0 -7
  87. package/dist/esm/models/DatasetChapterVerseContent.js +0 -35
  88. package/dist/esm/models/DatasetChapterVerseContent.js.map +0 -7
  89. package/dist/esm/models/FormattedText.js +0 -32
  90. package/dist/esm/models/FormattedText.js.map +0 -7
  91. package/dist/esm/models/InlineHeading.js +0 -28
  92. package/dist/esm/models/InlineHeading.js.map +0 -7
  93. package/dist/esm/models/InlineLineBreak.js +0 -31
  94. package/dist/esm/models/InlineLineBreak.js.map +0 -7
  95. package/dist/esm/models/ScoredVerseRef.js +0 -47
  96. package/dist/esm/models/ScoredVerseRef.js.map +0 -7
  97. package/dist/esm/models/TranslationBookChapter.js +0 -35
  98. package/dist/esm/models/TranslationBookChapter.js.map +0 -7
  99. package/dist/esm/models/VerseFootnoteReference.js +0 -28
  100. package/dist/esm/models/VerseFootnoteReference.js.map +0 -7
  101. package/dist/esm/models/index.js +0 -40
  102. package/dist/esm/models/index.js.map +0 -7
  103. package/dist/esm/runtime.js +0 -304
  104. package/dist/esm/runtime.js.map +0 -7
  105. package/dist/types/apis/DefaultApi.d.ts +0 -176
  106. package/dist/types/apis/FreeUseBibleApi.d.ts +0 -34
  107. package/dist/types/apis/index.d.ts +0 -3
  108. package/dist/types/models/ApiAvailableCommentaries.d.ts +0 -34
  109. package/dist/types/models/ApiAvailableDatasets.d.ts +0 -34
  110. package/dist/types/models/ApiAvailableTranslations.d.ts +0 -34
  111. package/dist/types/models/ApiCommentary.d.ts +0 -145
  112. package/dist/types/models/ApiCommentaryBook.d.ts +0 -100
  113. package/dist/types/models/ApiCommentaryBookChapter.d.ts +0 -72
  114. package/dist/types/models/ApiCommentaryBookChapterChapter.d.ts +0 -46
  115. package/dist/types/models/ApiCommentaryBooks.d.ts +0 -41
  116. package/dist/types/models/ApiDataset.d.ts +0 -138
  117. package/dist/types/models/ApiDatasetBook.d.ts +0 -82
  118. package/dist/types/models/ApiDatasetBookChapter.d.ts +0 -78
  119. package/dist/types/models/ApiDatasetBooks.d.ts +0 -41
  120. package/dist/types/models/ApiTranslation.d.ts +0 -169
  121. package/dist/types/models/ApiTranslationBook.d.ts +0 -100
  122. package/dist/types/models/ApiTranslationBookChapter.d.ts +0 -96
  123. package/dist/types/models/ApiTranslationBookChapterChapter.d.ts +0 -47
  124. package/dist/types/models/ApiTranslationBooks.d.ts +0 -41
  125. package/dist/types/models/ApiTranslationComplete.d.ts +0 -41
  126. package/dist/types/models/ApiTranslationCompleteBook.d.ts +0 -83
  127. package/dist/types/models/BookId.d.ts +0 -125
  128. package/dist/types/models/ChapterContent.d.ts +0 -34
  129. package/dist/types/models/ChapterFootnote.d.ts +0 -53
  130. package/dist/types/models/ChapterFootnoteCaller.d.ts +0 -27
  131. package/dist/types/models/ChapterFootnoteReference.d.ts +0 -39
  132. package/dist/types/models/ChapterHeading.d.ts +0 -46
  133. package/dist/types/models/ChapterHebrewSubtitle.d.ts +0 -47
  134. package/dist/types/models/ChapterHebrewSubtitleContentInner.d.ts +0 -51
  135. package/dist/types/models/ChapterLineBreak.d.ts +0 -40
  136. package/dist/types/models/ChapterVerse.d.ts +0 -53
  137. package/dist/types/models/ChapterVerseContentInner.d.ts +0 -70
  138. package/dist/types/models/DatasetChapterData.d.ts +0 -40
  139. package/dist/types/models/DatasetChapterVerseContent.d.ts +0 -40
  140. package/dist/types/models/FormattedText.d.ts +0 -45
  141. package/dist/types/models/InlineHeading.d.ts +0 -33
  142. package/dist/types/models/InlineLineBreak.d.ts +0 -40
  143. package/dist/types/models/ScoredVerseRef.d.ts +0 -70
  144. package/dist/types/models/TranslationBookChapter.d.ts +0 -42
  145. package/dist/types/models/VerseFootnoteReference.d.ts +0 -33
  146. package/dist/types/models/index.d.ts +0 -39
  147. package/dist/types/runtime.d.ts +0 -185
@@ -1,82 +0,0 @@
1
- /**
2
- * Free Use Bible API
3
- * An API for accessing over 1000 different Bible translations.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@helloao.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { BookId } from './BookId';
13
- /**
14
- * Defines a schema that contains information about a book in a dataset.
15
- * @export
16
- * @interface ApiDatasetBook
17
- */
18
- export interface ApiDatasetBook {
19
- /**
20
- *
21
- * @type {BookId}
22
- * @memberof ApiDatasetBook
23
- */
24
- id: BookId;
25
- /**
26
- * The order of the book in the Bible.
27
- * @type {number}
28
- * @memberof ApiDatasetBook
29
- */
30
- order: number;
31
- /**
32
- * The number of the first chapter in the book.
33
- * @type {number}
34
- * @memberof ApiDatasetBook
35
- */
36
- firstChapterNumber: number;
37
- /**
38
- * The link to the first chapter of the book.
39
- * @type {string}
40
- * @memberof ApiDatasetBook
41
- */
42
- firstChapterApiLink: string;
43
- /**
44
- * The number of the last chapter in the book.
45
- * @type {number}
46
- * @memberof ApiDatasetBook
47
- */
48
- lastChapterNumber: number;
49
- /**
50
- * The link to the last chapter of the book.
51
- * @type {string}
52
- * @memberof ApiDatasetBook
53
- */
54
- lastChapterApiLink: string;
55
- /**
56
- * The number of chapters that the book contains.
57
- * @type {number}
58
- * @memberof ApiDatasetBook
59
- */
60
- numberOfChapters: number;
61
- /**
62
- * The number of verses that the book contains.
63
- * @type {number}
64
- * @memberof ApiDatasetBook
65
- */
66
- totalNumberOfVerses: number;
67
- /**
68
- * The number of references that the book contains.
69
- * @type {number}
70
- * @memberof ApiDatasetBook
71
- */
72
- totalNumberOfReferences: number;
73
- }
74
- /**
75
- * Check if a given object implements the ApiDatasetBook interface.
76
- */
77
- export declare function instanceOfApiDatasetBook(value: object): value is ApiDatasetBook;
78
- export declare function ApiDatasetBookFromJSON(json: any): ApiDatasetBook;
79
- export declare function ApiDatasetBookFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiDatasetBook;
80
- export declare function ApiDatasetBookToJSON(json: any): ApiDatasetBook;
81
- export declare function ApiDatasetBookToJSONTyped(value?: ApiDatasetBook | null, ignoreDiscriminator?: boolean): any;
82
- //# sourceMappingURL=ApiDatasetBook.d.ts.map
@@ -1,78 +0,0 @@
1
- /**
2
- * Free Use Bible API
3
- * An API for accessing over 1000 different Bible translations.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@helloao.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ApiDataset } from './ApiDataset';
13
- import type { ApiDatasetBook } from './ApiDatasetBook';
14
- import type { DatasetChapterData } from './DatasetChapterData';
15
- /**
16
- * Defines a schema that contains information about a book chapter in a dataset.
17
- * @export
18
- * @interface ApiDatasetBookChapter
19
- */
20
- export interface ApiDatasetBookChapter {
21
- /**
22
- * The data for the chapter.
23
- * @type {DatasetChapterData}
24
- * @memberof ApiDatasetBookChapter
25
- */
26
- chapter: DatasetChapterData;
27
- /**
28
- * The dataset information for the book chapter.
29
- * @type {ApiDataset}
30
- * @memberof ApiDatasetBookChapter
31
- */
32
- dataset: ApiDataset;
33
- /**
34
- * The book information for the book chapter.
35
- * @type {ApiDatasetBook}
36
- * @memberof ApiDatasetBookChapter
37
- */
38
- book: ApiDatasetBook;
39
- /**
40
- * The API link for this chapter. Relative to the API origin.
41
- * @type {string}
42
- * @memberof ApiDatasetBookChapter
43
- */
44
- thisChapterLink: string;
45
- /**
46
- * The API link to the next chapter. Relative to the API origin. Null if this is the last chapter in the dataset.
47
- * @type {string}
48
- * @memberof ApiDatasetBookChapter
49
- */
50
- nextChapterApiLink: string | null;
51
- /**
52
- * The API link to the previous chapter. Relative to the API origin. Null if this is the first chapter in the dataset.
53
- * @type {string}
54
- * @memberof ApiDatasetBookChapter
55
- */
56
- previousChapterApiLink: string | null;
57
- /**
58
- * The number of verses that the chapter contains.
59
- * @type {number}
60
- * @memberof ApiDatasetBookChapter
61
- */
62
- numberOfVerses: number;
63
- /**
64
- * The number of references that the chapter contains.
65
- * @type {number}
66
- * @memberof ApiDatasetBookChapter
67
- */
68
- numberOfReferences: number;
69
- }
70
- /**
71
- * Check if a given object implements the ApiDatasetBookChapter interface.
72
- */
73
- export declare function instanceOfApiDatasetBookChapter(value: object): value is ApiDatasetBookChapter;
74
- export declare function ApiDatasetBookChapterFromJSON(json: any): ApiDatasetBookChapter;
75
- export declare function ApiDatasetBookChapterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiDatasetBookChapter;
76
- export declare function ApiDatasetBookChapterToJSON(json: any): ApiDatasetBookChapter;
77
- export declare function ApiDatasetBookChapterToJSONTyped(value?: ApiDatasetBookChapter | null, ignoreDiscriminator?: boolean): any;
78
- //# sourceMappingURL=ApiDatasetBookChapter.d.ts.map
@@ -1,41 +0,0 @@
1
- /**
2
- * Free Use Bible API
3
- * An API for accessing over 1000 different Bible translations.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@helloao.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ApiDataset } from './ApiDataset';
13
- import type { ApiDatasetBook } from './ApiDatasetBook';
14
- /**
15
- * Defines an interface that contains information about the books that are available for a dataset.
16
- * @export
17
- * @interface ApiDatasetBooks
18
- */
19
- export interface ApiDatasetBooks {
20
- /**
21
- * The dataset information for the books.
22
- * @type {ApiDataset}
23
- * @memberof ApiDatasetBooks
24
- */
25
- dataset: ApiDataset;
26
- /**
27
- * The list of books that are available for the dataset.
28
- * @type {Array<ApiDatasetBook>}
29
- * @memberof ApiDatasetBooks
30
- */
31
- books: Array<ApiDatasetBook>;
32
- }
33
- /**
34
- * Check if a given object implements the ApiDatasetBooks interface.
35
- */
36
- export declare function instanceOfApiDatasetBooks(value: object): value is ApiDatasetBooks;
37
- export declare function ApiDatasetBooksFromJSON(json: any): ApiDatasetBooks;
38
- export declare function ApiDatasetBooksFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiDatasetBooks;
39
- export declare function ApiDatasetBooksToJSON(json: any): ApiDatasetBooks;
40
- export declare function ApiDatasetBooksToJSONTyped(value?: ApiDatasetBooks | null, ignoreDiscriminator?: boolean): any;
41
- //# sourceMappingURL=ApiDatasetBooks.d.ts.map
@@ -1,169 +0,0 @@
1
- /**
2
- * Free Use Bible API
3
- * An API for accessing over 1000 different Bible translations.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@helloao.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- /**
13
- * Defines a translation that is used in the API.
14
- * @export
15
- * @interface ApiTranslation
16
- */
17
- export interface ApiTranslation {
18
- /**
19
- * The ID of the translation.
20
- * @type {string}
21
- * @memberof ApiTranslation
22
- */
23
- id: string;
24
- /**
25
- * The name of the translation.
26
- * @type {string}
27
- * @memberof ApiTranslation
28
- */
29
- name: string;
30
- /**
31
- * The website for the translation.
32
- * @type {string}
33
- * @memberof ApiTranslation
34
- */
35
- website: string;
36
- /**
37
- * The URL that the license for the translation can be found.
38
- * @type {string}
39
- * @memberof ApiTranslation
40
- */
41
- licenseUrl: string;
42
- /**
43
- * The API-added notes for the license.
44
- * @type {string}
45
- * @memberof ApiTranslation
46
- */
47
- licenseNotes?: string | null;
48
- /**
49
- * The notice that should be displayed when displaying content from the translation.
50
- * @type {string}
51
- * @memberof ApiTranslation
52
- */
53
- licenseNotice?: string | null;
54
- /**
55
- * The short name for the translation.
56
- * @type {string}
57
- * @memberof ApiTranslation
58
- */
59
- shortName?: string;
60
- /**
61
- * The English name for the translation.
62
- * @type {string}
63
- * @memberof ApiTranslation
64
- */
65
- englishName: string;
66
- /**
67
- * The ISO 639 3-letter language tag that the translation is primarily in.
68
- * @type {string}
69
- * @memberof ApiTranslation
70
- */
71
- language: string;
72
- /**
73
- * The direction that the language is written in. `ltr` indicates that the text is written from the left side of the page to the right. `rtl` indicates that the text is written from the right side of the page to the left.
74
- * @type {ApiTranslationTextDirectionEnum}
75
- * @memberof ApiTranslation
76
- */
77
- textDirection: ApiTranslationTextDirectionEnum;
78
- /**
79
- * The API link for the list of books for this translation. Relative to the API origin.
80
- * @type {string}
81
- * @memberof ApiTranslation
82
- */
83
- listOfBooksApiLink: string;
84
- /**
85
- *
86
- * @type {Array<ApiTranslationAvailableFormatsEnum>}
87
- * @memberof ApiTranslation
88
- */
89
- availableFormats: Array<ApiTranslationAvailableFormatsEnum>;
90
- /**
91
- * The number of books that are contained in this translation. Complete translations should have the same number of books as the Bible (66).
92
- * @type {number}
93
- * @memberof ApiTranslation
94
- */
95
- numberOfBooks: number;
96
- /**
97
- * The total number of chapters that are contained in this translation. Complete translations should have the same number of chapters as the Bible (1,189).
98
- * @type {number}
99
- * @memberof ApiTranslation
100
- */
101
- totalNumberOfChapters: number;
102
- /**
103
- * The total number of verses that are contained in this translation. Complete translations should have the same number of verses as the Bible (around 31,102 - some translations exclude verses based on the aparent likelyhood of existing in the original source texts).
104
- * @type {number}
105
- * @memberof ApiTranslation
106
- */
107
- totalNumberOfVerses: number;
108
- /**
109
- * The total number of apocryphal books that are contained in this translation.
110
- * @type {number}
111
- * @memberof ApiTranslation
112
- */
113
- numberOfApocryphalBooks?: number;
114
- /**
115
- * The total number of apocryphal chapters that are contained in this translation.
116
- * @type {number}
117
- * @memberof ApiTranslation
118
- */
119
- totalNumberOfApocryphalChapters?: number;
120
- /**
121
- * The total number of apocryphal verses that are contained in this translation.
122
- * @type {number}
123
- * @memberof ApiTranslation
124
- */
125
- totalNumberOfApocryphalVerses?: number;
126
- /**
127
- * Gets the name of the language that the translation is in. Null or undefined if the name of the language is not known.
128
- * @type {string}
129
- * @memberof ApiTranslation
130
- */
131
- languageName?: string;
132
- /**
133
- * Gets the name of the language in English. Null or undefined if the language doesn't have an english name.
134
- * @type {string}
135
- * @memberof ApiTranslation
136
- */
137
- languageEnglishName?: string;
138
- /**
139
- * The API link for downloading the complete translation as a single JSON file. Relative to the API origin. Undefined if complete translation files are not available.
140
- * @type {string}
141
- * @memberof ApiTranslation
142
- */
143
- completeTranslationApiLink?: string;
144
- }
145
- /**
146
- * @export
147
- */
148
- export declare const ApiTranslationTextDirectionEnum: {
149
- readonly Ltr: "ltr";
150
- readonly Rtl: "rtl";
151
- };
152
- export type ApiTranslationTextDirectionEnum = typeof ApiTranslationTextDirectionEnum[keyof typeof ApiTranslationTextDirectionEnum];
153
- /**
154
- * @export
155
- */
156
- export declare const ApiTranslationAvailableFormatsEnum: {
157
- readonly Json: "json";
158
- readonly Usfm: "usfm";
159
- };
160
- export type ApiTranslationAvailableFormatsEnum = typeof ApiTranslationAvailableFormatsEnum[keyof typeof ApiTranslationAvailableFormatsEnum];
161
- /**
162
- * Check if a given object implements the ApiTranslation interface.
163
- */
164
- export declare function instanceOfApiTranslation(value: object): value is ApiTranslation;
165
- export declare function ApiTranslationFromJSON(json: any): ApiTranslation;
166
- export declare function ApiTranslationFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTranslation;
167
- export declare function ApiTranslationToJSON(json: any): ApiTranslation;
168
- export declare function ApiTranslationToJSONTyped(value?: ApiTranslation | null, ignoreDiscriminator?: boolean): any;
169
- //# sourceMappingURL=ApiTranslation.d.ts.map
@@ -1,100 +0,0 @@
1
- /**
2
- * Free Use Bible API
3
- * An API for accessing over 1000 different Bible translations.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@helloao.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { BookId } from './BookId';
13
- /**
14
- * Defines a schema that contains information about a translation book.
15
- * @export
16
- * @interface ApiTranslationBook
17
- */
18
- export interface ApiTranslationBook {
19
- /**
20
- *
21
- * @type {BookId}
22
- * @memberof ApiTranslationBook
23
- */
24
- id: BookId;
25
- /**
26
- * The name that the translation provided for the book.
27
- * @type {string}
28
- * @memberof ApiTranslationBook
29
- */
30
- name: string;
31
- /**
32
- * The common name for the book.
33
- * @type {string}
34
- * @memberof ApiTranslationBook
35
- */
36
- commonName: string;
37
- /**
38
- * The title of the book. This is usually a more descriptive version of the book name. If not available, then one was not provided by the translation.
39
- * @type {string}
40
- * @memberof ApiTranslationBook
41
- */
42
- title: string | null;
43
- /**
44
- * The numerical order of the book in the translation.
45
- * @type {number}
46
- * @memberof ApiTranslationBook
47
- */
48
- order: number;
49
- /**
50
- * Whether the book is an apocryphal book.
51
- * @type {boolean}
52
- * @memberof ApiTranslationBook
53
- */
54
- isApocryphal?: boolean;
55
- /**
56
- * The number of the first chapter in the book.
57
- * @type {number}
58
- * @memberof ApiTranslationBook
59
- */
60
- firstChapterNumber: number;
61
- /**
62
- * The link to the first chapter of the book.
63
- * @type {string}
64
- * @memberof ApiTranslationBook
65
- */
66
- firstChapterApiLink: string;
67
- /**
68
- * The number of the last chapter in the book.
69
- * @type {number}
70
- * @memberof ApiTranslationBook
71
- */
72
- lastChapterNumber: number;
73
- /**
74
- * The link to the last chapter of the book.
75
- * @type {string}
76
- * @memberof ApiTranslationBook
77
- */
78
- lastChapterApiLink: string;
79
- /**
80
- * The number of chapters that the book contains.
81
- * @type {number}
82
- * @memberof ApiTranslationBook
83
- */
84
- numberOfChapters: number;
85
- /**
86
- * The number of verses that the book contains.
87
- * @type {number}
88
- * @memberof ApiTranslationBook
89
- */
90
- totalNumberOfVerses: number;
91
- }
92
- /**
93
- * Check if a given object implements the ApiTranslationBook interface.
94
- */
95
- export declare function instanceOfApiTranslationBook(value: object): value is ApiTranslationBook;
96
- export declare function ApiTranslationBookFromJSON(json: any): ApiTranslationBook;
97
- export declare function ApiTranslationBookFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTranslationBook;
98
- export declare function ApiTranslationBookToJSON(json: any): ApiTranslationBook;
99
- export declare function ApiTranslationBookToJSONTyped(value?: ApiTranslationBook | null, ignoreDiscriminator?: boolean): any;
100
- //# sourceMappingURL=ApiTranslationBook.d.ts.map
@@ -1,96 +0,0 @@
1
- /**
2
- * Free Use Bible API
3
- * An API for accessing over 1000 different Bible translations.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@helloao.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ApiTranslationBook } from './ApiTranslationBook';
13
- import type { ApiTranslation } from './ApiTranslation';
14
- import type { ApiTranslationBookChapterChapter } from './ApiTranslationBookChapterChapter';
15
- /**
16
- * Defines an interface that contains information about a book chapter in a translation.
17
- * @export
18
- * @interface ApiTranslationBookChapter
19
- */
20
- export interface ApiTranslationBookChapter {
21
- /**
22
- *
23
- * @type {ApiTranslationBookChapterChapter}
24
- * @memberof ApiTranslationBookChapter
25
- */
26
- chapter: ApiTranslationBookChapterChapter;
27
- /**
28
- * The links to different audio versions for the chapter.
29
- * @type {{ [key: string]: string; }}
30
- * @memberof ApiTranslationBookChapter
31
- */
32
- thisChapterAudioLinks: {
33
- [key: string]: string;
34
- };
35
- /**
36
- * The translation information for the book chapter.
37
- * @type {ApiTranslation}
38
- * @memberof ApiTranslationBookChapter
39
- */
40
- translation: ApiTranslation;
41
- /**
42
- * The book information for the book chapter.
43
- * @type {ApiTranslationBook}
44
- * @memberof ApiTranslationBookChapter
45
- */
46
- book: ApiTranslationBook;
47
- /**
48
- * The API link for this chapter. Relative to the API origin.
49
- * @type {string}
50
- * @memberof ApiTranslationBookChapter
51
- */
52
- thisChapterLink: string;
53
- /**
54
- * The API link to the next chapter. Relative to the API origin. Null if this is the last chapter in the translation.
55
- * @type {string}
56
- * @memberof ApiTranslationBookChapter
57
- */
58
- nextChapterApiLink: string | null;
59
- /**
60
- * The links to the audio versions for the next chapter. Relative to the API origin. Null if this is the last chapter in the translation.
61
- * @type {{ [key: string]: string; }}
62
- * @memberof ApiTranslationBookChapter
63
- */
64
- nextChapterAudioLinks: {
65
- [key: string]: string;
66
- } | null;
67
- /**
68
- * The API link to the previous chapter. Relative to the API origin. Null if this is the first chapter in the translation.
69
- * @type {string}
70
- * @memberof ApiTranslationBookChapter
71
- */
72
- previousChapterApiLink: string | null;
73
- /**
74
- * The links to the audio versions for the previous chapter. Relative to the API origin. Null if this is the first chapter in the translation.
75
- * @type {{ [key: string]: string; }}
76
- * @memberof ApiTranslationBookChapter
77
- */
78
- previousChapterAudioLinks: {
79
- [key: string]: string;
80
- } | null;
81
- /**
82
- * The number of verses that the chapter contains.
83
- * @type {number}
84
- * @memberof ApiTranslationBookChapter
85
- */
86
- numberOfVerses: number;
87
- }
88
- /**
89
- * Check if a given object implements the ApiTranslationBookChapter interface.
90
- */
91
- export declare function instanceOfApiTranslationBookChapter(value: object): value is ApiTranslationBookChapter;
92
- export declare function ApiTranslationBookChapterFromJSON(json: any): ApiTranslationBookChapter;
93
- export declare function ApiTranslationBookChapterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTranslationBookChapter;
94
- export declare function ApiTranslationBookChapterToJSON(json: any): ApiTranslationBookChapter;
95
- export declare function ApiTranslationBookChapterToJSONTyped(value?: ApiTranslationBookChapter | null, ignoreDiscriminator?: boolean): any;
96
- //# sourceMappingURL=ApiTranslationBookChapter.d.ts.map
@@ -1,47 +0,0 @@
1
- /**
2
- * Free Use Bible API
3
- * An API for accessing over 1000 different Bible translations.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@helloao.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ChapterFootnote } from './ChapterFootnote';
13
- import type { ChapterContent } from './ChapterContent';
14
- /**
15
- * The information for the chapter.
16
- * @export
17
- * @interface ApiTranslationBookChapterChapter
18
- */
19
- export interface ApiTranslationBookChapterChapter {
20
- /**
21
- * The number of the chapter.
22
- * @type {number}
23
- * @memberof ApiTranslationBookChapterChapter
24
- */
25
- number: number;
26
- /**
27
- * The content of the chapter.
28
- * @type {Array<ChapterContent>}
29
- * @memberof ApiTranslationBookChapterChapter
30
- */
31
- content: Array<ChapterContent>;
32
- /**
33
- * The list of footnotes for the chapter.
34
- * @type {Array<ChapterFootnote>}
35
- * @memberof ApiTranslationBookChapterChapter
36
- */
37
- footnotes: Array<ChapterFootnote>;
38
- }
39
- /**
40
- * Check if a given object implements the ApiTranslationBookChapterChapter interface.
41
- */
42
- export declare function instanceOfApiTranslationBookChapterChapter(value: object): value is ApiTranslationBookChapterChapter;
43
- export declare function ApiTranslationBookChapterChapterFromJSON(json: any): ApiTranslationBookChapterChapter;
44
- export declare function ApiTranslationBookChapterChapterFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTranslationBookChapterChapter;
45
- export declare function ApiTranslationBookChapterChapterToJSON(json: any): ApiTranslationBookChapterChapter;
46
- export declare function ApiTranslationBookChapterChapterToJSONTyped(value?: ApiTranslationBookChapterChapter | null, ignoreDiscriminator?: boolean): any;
47
- //# sourceMappingURL=ApiTranslationBookChapterChapter.d.ts.map
@@ -1,41 +0,0 @@
1
- /**
2
- * Free Use Bible API
3
- * An API for accessing over 1000 different Bible translations.
4
- *
5
- * The version of the OpenAPI document: 1.0.0
6
- * Contact: hello@helloao.org
7
- *
8
- * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
- * https://openapi-generator.tech
10
- * Do not edit the class manually.
11
- */
12
- import type { ApiTranslationBook } from './ApiTranslationBook';
13
- import type { ApiTranslation } from './ApiTranslation';
14
- /**
15
- * Defines an interface that contains information about the books that are available for a translation.
16
- * @export
17
- * @interface ApiTranslationBooks
18
- */
19
- export interface ApiTranslationBooks {
20
- /**
21
- * The translation information for the books.
22
- * @type {ApiTranslation}
23
- * @memberof ApiTranslationBooks
24
- */
25
- translation: ApiTranslation;
26
- /**
27
- * The list of books that are available for the translation.
28
- * @type {Array<ApiTranslationBook>}
29
- * @memberof ApiTranslationBooks
30
- */
31
- books: Array<ApiTranslationBook>;
32
- }
33
- /**
34
- * Check if a given object implements the ApiTranslationBooks interface.
35
- */
36
- export declare function instanceOfApiTranslationBooks(value: object): value is ApiTranslationBooks;
37
- export declare function ApiTranslationBooksFromJSON(json: any): ApiTranslationBooks;
38
- export declare function ApiTranslationBooksFromJSONTyped(json: any, ignoreDiscriminator: boolean): ApiTranslationBooks;
39
- export declare function ApiTranslationBooksToJSON(json: any): ApiTranslationBooks;
40
- export declare function ApiTranslationBooksToJSONTyped(value?: ApiTranslationBooks | null, ignoreDiscriminator?: boolean): any;
41
- //# sourceMappingURL=ApiTranslationBooks.d.ts.map