@helloao/tools 0.1.0 → 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 (57) hide show
  1. package/dist/cjs/generation/api.cjs +727 -2
  2. package/dist/cjs/generation/api.cjs.map +2 -2
  3. package/dist/cjs/generation/audio.cjs +52 -5
  4. package/dist/cjs/generation/audio.cjs.map +2 -2
  5. package/dist/cjs/generation/book-order.cjs +1 -1
  6. package/dist/cjs/generation/book-order.cjs.map +2 -2
  7. package/dist/cjs/generation/common-types.cjs +651 -0
  8. package/dist/cjs/generation/common-types.cjs.map +2 -2
  9. package/dist/cjs/generation/dataset.cjs +31 -8
  10. package/dist/cjs/generation/dataset.cjs.map +2 -2
  11. package/dist/cjs/index.cjs.map +1 -1
  12. package/dist/cjs/log.cjs.map +1 -1
  13. package/dist/cjs/parser/codex-parser.cjs.map +1 -1
  14. package/dist/cjs/parser/commentary-csv-parser.cjs.map +1 -1
  15. package/dist/cjs/parser/iterators.cjs.map +1 -1
  16. package/dist/cjs/parser/lockman-parser.cjs +334 -0
  17. package/dist/cjs/parser/lockman-parser.cjs.map +7 -0
  18. package/dist/cjs/parser/tyndale-xml-parser.cjs.map +1 -1
  19. package/dist/cjs/parser/types.cjs.map +1 -1
  20. package/dist/cjs/parser/usfm-parser.cjs.map +1 -1
  21. package/dist/cjs/parser/usx-parser.cjs +24 -7
  22. package/dist/cjs/parser/usx-parser.cjs.map +2 -2
  23. package/dist/cjs/utils.cjs +152 -0
  24. package/dist/cjs/utils.cjs.map +3 -3
  25. package/dist/esm/generation/api.js +696 -2
  26. package/dist/esm/generation/api.js.map +2 -2
  27. package/dist/esm/generation/audio.js +46 -3
  28. package/dist/esm/generation/audio.js.map +2 -2
  29. package/dist/esm/generation/book-order.js +1 -1
  30. package/dist/esm/generation/book-order.js.map +2 -2
  31. package/dist/esm/generation/common-types.js +590 -0
  32. package/dist/esm/generation/common-types.js.map +3 -3
  33. package/dist/esm/generation/dataset.js +29 -8
  34. package/dist/esm/generation/dataset.js.map +2 -2
  35. package/dist/esm/index.js.map +1 -1
  36. package/dist/esm/log.js.map +1 -1
  37. package/dist/esm/parser/codex-parser.js.map +1 -1
  38. package/dist/esm/parser/commentary-csv-parser.js.map +1 -1
  39. package/dist/esm/parser/iterators.js.map +1 -1
  40. package/dist/esm/parser/lockman-parser.js +306 -0
  41. package/dist/esm/parser/lockman-parser.js.map +7 -0
  42. package/dist/esm/parser/tyndale-xml-parser.js.map +1 -1
  43. package/dist/esm/parser/usfm-parser.js.map +1 -1
  44. package/dist/esm/parser/usx-parser.js +24 -7
  45. package/dist/esm/parser/usx-parser.js.map +2 -2
  46. package/dist/esm/utils.js +138 -0
  47. package/dist/esm/utils.js.map +2 -2
  48. package/dist/types/generation/api.d.ts +2515 -470
  49. package/dist/types/generation/audio.d.ts +5 -0
  50. package/dist/types/generation/common-types.d.ts +1222 -413
  51. package/dist/types/generation/dataset.d.ts +1 -0
  52. package/dist/types/parser/codex-parser.d.ts +18 -138
  53. package/dist/types/parser/lockman-parser.d.ts +14 -0
  54. package/dist/types/parser/types.d.ts +4 -0
  55. package/dist/types/parser/usx-parser.d.ts +2 -2
  56. package/dist/types/utils.d.ts +223 -18
  57. package/package.json +5 -3
@@ -1,5 +1,7 @@
1
- import { Commentary, CommentaryBook, CommentaryBookChapter, CommentaryProfile, Dataset, DatasetBook, DatasetBookChapter, OutputFile, Translation, TranslationBook, TranslationBookChapter, TranslationBookChapterAudioLinks } from './common-types.js';
1
+ import { z } from 'zod';
2
+ import { OutputFile } from './common-types.js';
2
3
  import { DatasetOutput } from './dataset.js';
4
+ import "zod-openapi";
3
5
  /**
4
6
  * Defines the output of the API generation.
5
7
  */
@@ -84,532 +86,2575 @@ export interface ApiOutput {
84
86
  * The list of available translations.
85
87
  * Maps to the /api/available-translations.json endpoint.
86
88
  */
87
- export interface ApiAvailableTranslations {
88
- /**
89
- * The list of translations.
90
- */
91
- translations: ApiTranslation[];
92
- }
89
+ export declare const ApiAvailableTranslationsSchema: z.ZodObject<{
90
+ translations: z.ZodArray<z.ZodLazy<z.ZodObject<{
91
+ id: z.ZodString;
92
+ name: z.ZodString;
93
+ website: z.ZodString;
94
+ licenseUrl: z.ZodString;
95
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
96
+ licenseNotice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
97
+ shortName: z.ZodOptional<z.ZodString>;
98
+ englishName: z.ZodString;
99
+ language: z.ZodString;
100
+ textDirection: z.ZodEnum<{
101
+ ltr: "ltr";
102
+ rtl: "rtl";
103
+ }>;
104
+ listOfBooksApiLink: z.ZodString;
105
+ availableFormats: z.ZodArray<z.ZodEnum<{
106
+ usfm: "usfm";
107
+ json: "json";
108
+ }>>;
109
+ numberOfBooks: z.ZodNumber;
110
+ totalNumberOfChapters: z.ZodNumber;
111
+ totalNumberOfVerses: z.ZodNumber;
112
+ numberOfApocryphalBooks: z.ZodOptional<z.ZodNumber>;
113
+ totalNumberOfApocryphalChapters: z.ZodOptional<z.ZodNumber>;
114
+ totalNumberOfApocryphalVerses: z.ZodOptional<z.ZodNumber>;
115
+ languageName: z.ZodOptional<z.ZodString>;
116
+ languageEnglishName: z.ZodOptional<z.ZodString>;
117
+ completeTranslationApiLink: z.ZodOptional<z.ZodString>;
118
+ }, z.core.$strip>>>;
119
+ }, z.core.$strip>;
120
+ export type ApiAvailableTranslations = z.infer<typeof ApiAvailableTranslationsSchema>;
93
121
  /**
94
122
  * The list of available commentaries.
95
123
  * Maps to the /api/available-commentaries.json endpoint.
96
124
  */
97
- export interface ApiAvailableCommentaries {
98
- /**
99
- * The list of commentaries.
100
- */
101
- commentaries: ApiCommentary[];
102
- }
125
+ export declare const ApiAvailableCommentariesSchema: z.ZodObject<{
126
+ commentaries: z.ZodArray<z.ZodLazy<z.ZodObject<{
127
+ id: z.ZodString;
128
+ name: z.ZodString;
129
+ website: z.ZodString;
130
+ licenseUrl: z.ZodString;
131
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
132
+ englishName: z.ZodString;
133
+ language: z.ZodString;
134
+ textDirection: z.ZodEnum<{
135
+ ltr: "ltr";
136
+ rtl: "rtl";
137
+ }>;
138
+ listOfBooksApiLink: z.ZodString;
139
+ listOfProfilesApiLink: z.ZodString;
140
+ availableFormats: z.ZodArray<z.ZodEnum<{
141
+ usfm: "usfm";
142
+ json: "json";
143
+ }>>;
144
+ numberOfBooks: z.ZodNumber;
145
+ totalNumberOfChapters: z.ZodNumber;
146
+ totalNumberOfVerses: z.ZodNumber;
147
+ totalNumberOfProfiles: z.ZodNumber;
148
+ languageName: z.ZodOptional<z.ZodString>;
149
+ languageEnglishName: z.ZodOptional<z.ZodString>;
150
+ }, z.core.$strip>>>;
151
+ }, z.core.$strip>;
152
+ export type ApiAvailableCommentaries = z.infer<typeof ApiAvailableCommentariesSchema>;
103
153
  /**
104
154
  * The list of available datasets.
105
155
  * Maps to the /api/available-datasets.json endpoint.
106
156
  */
107
- export interface ApiAvailableDatasets {
108
- datasets: ApiDataset[];
109
- }
157
+ export declare const ApiAvailableDatasetsSchema: z.ZodObject<{
158
+ datasets: z.ZodArray<z.ZodLazy<z.ZodObject<{
159
+ id: z.ZodString;
160
+ name: z.ZodString;
161
+ website: z.ZodString;
162
+ licenseUrl: z.ZodString;
163
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
164
+ englishName: z.ZodString;
165
+ language: z.ZodString;
166
+ textDirection: z.ZodEnum<{
167
+ ltr: "ltr";
168
+ rtl: "rtl";
169
+ }>;
170
+ listOfBooksApiLink: z.ZodString;
171
+ availableFormats: z.ZodArray<z.ZodLiteral<"json">>;
172
+ numberOfBooks: z.ZodNumber;
173
+ totalNumberOfChapters: z.ZodNumber;
174
+ totalNumberOfVerses: z.ZodNumber;
175
+ totalNumberOfReferences: z.ZodNumber;
176
+ languageName: z.ZodOptional<z.ZodString>;
177
+ languageEnglishName: z.ZodOptional<z.ZodString>;
178
+ }, z.core.$strip>>>;
179
+ }, z.core.$strip>;
180
+ export type ApiAvailableDatasets = z.infer<typeof ApiAvailableDatasetsSchema>;
110
181
  /**
111
182
  * Defines a dataset that is used in the API.
112
183
  */
113
- export interface ApiDataset extends Dataset {
114
- /**
115
- * The API link for the list of books for this dataset.
116
- */
117
- listOfBooksApiLink: string;
118
- /**
119
- * The available list of formats.
120
- */
121
- availableFormats: 'json'[];
122
- /**
123
- * The number of books that are contained in this dataset.
124
- */
125
- numberOfBooks: number;
126
- /**
127
- * The total number of chapters that are contained in this dataset.
128
- */
129
- totalNumberOfChapters: number;
130
- /**
131
- * The total number of verses that are contained in this dataset.
132
- */
133
- totalNumberOfVerses: number;
134
- /**
135
- * The total number of references that are contained in this dataset.
136
- */
137
- totalNumberOfReferences: number;
138
- /**
139
- * Gets the name of the language that the commentary is in.
140
- * Null or undefined if the name of the language is not known.
141
- */
142
- languageName?: string;
143
- /**
144
- * Gets the name of the language in English.
145
- * Null or undefined if the language doesn't have an english name.
146
- */
147
- languageEnglishName?: string;
148
- }
184
+ export declare const ApiDatasetSchema: z.ZodObject<{
185
+ id: z.ZodString;
186
+ name: z.ZodString;
187
+ website: z.ZodString;
188
+ licenseUrl: z.ZodString;
189
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
190
+ englishName: z.ZodString;
191
+ language: z.ZodString;
192
+ textDirection: z.ZodEnum<{
193
+ ltr: "ltr";
194
+ rtl: "rtl";
195
+ }>;
196
+ listOfBooksApiLink: z.ZodString;
197
+ availableFormats: z.ZodArray<z.ZodLiteral<"json">>;
198
+ numberOfBooks: z.ZodNumber;
199
+ totalNumberOfChapters: z.ZodNumber;
200
+ totalNumberOfVerses: z.ZodNumber;
201
+ totalNumberOfReferences: z.ZodNumber;
202
+ languageName: z.ZodOptional<z.ZodString>;
203
+ languageEnglishName: z.ZodOptional<z.ZodString>;
204
+ }, z.core.$strip>;
205
+ export type ApiDataset = z.infer<typeof ApiDatasetSchema>;
149
206
  /**
150
207
  * Defines a translation that is used in the API.
151
208
  */
152
- export interface ApiTranslation extends Translation {
153
- /**
154
- * The API link for the list of available books for this translation.
155
- */
156
- listOfBooksApiLink: string;
157
- /**
158
- * The available list of formats.
159
- */
160
- availableFormats: ('json' | 'usfm')[];
161
- /**
162
- * The number of books that are contained in this translation.
163
- *
164
- * Complete translations should have the same number of books as the Bible (66).
165
- */
166
- numberOfBooks: number;
167
- /**
168
- * The total number of chapters that are contained in this translation.
169
- *
170
- * Complete translations should have the same number of chapters as the Bible (1,189).
171
- */
172
- totalNumberOfChapters: number;
173
- /**
174
- * The total number of verses that are contained in this translation.
175
- *
176
- * 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).
177
- */
178
- totalNumberOfVerses: number;
179
- /**
180
- * The total number of apocryphal books that are contained in this translation.
181
- */
182
- numberOfApocryphalBooks?: number;
183
- /**
184
- * The total number of apocryphal chapters that are contained in this translation.
185
- */
186
- totalNumberOfApocryphalChapters?: number;
187
- /**
188
- * the total number of apocryphal verses that are contained in this translation.
189
- */
190
- totalNumberOfApocryphalVerses?: number;
191
- /**
192
- * Gets the name of the language that the translation is in.
193
- * Null or undefined if the name of the language is not known.
194
- */
195
- languageName?: string;
196
- /**
197
- * Gets the name of the language in English.
198
- * Null or undefined if the language doesn't have an english name.
199
- */
200
- languageEnglishName?: string;
201
- /**
202
- * The API link for downloading the complete translation as a single JSON file.
203
- *
204
- * Undefined if complete translation files are not available.
205
- */
206
- completeTranslationApiLink?: string;
207
- }
209
+ export declare const ApiTranslationSchema: z.ZodObject<{
210
+ id: z.ZodString;
211
+ name: z.ZodString;
212
+ website: z.ZodString;
213
+ licenseUrl: z.ZodString;
214
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
215
+ licenseNotice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
216
+ shortName: z.ZodOptional<z.ZodString>;
217
+ englishName: z.ZodString;
218
+ language: z.ZodString;
219
+ textDirection: z.ZodEnum<{
220
+ ltr: "ltr";
221
+ rtl: "rtl";
222
+ }>;
223
+ listOfBooksApiLink: z.ZodString;
224
+ availableFormats: z.ZodArray<z.ZodEnum<{
225
+ usfm: "usfm";
226
+ json: "json";
227
+ }>>;
228
+ numberOfBooks: z.ZodNumber;
229
+ totalNumberOfChapters: z.ZodNumber;
230
+ totalNumberOfVerses: z.ZodNumber;
231
+ numberOfApocryphalBooks: z.ZodOptional<z.ZodNumber>;
232
+ totalNumberOfApocryphalChapters: z.ZodOptional<z.ZodNumber>;
233
+ totalNumberOfApocryphalVerses: z.ZodOptional<z.ZodNumber>;
234
+ languageName: z.ZodOptional<z.ZodString>;
235
+ languageEnglishName: z.ZodOptional<z.ZodString>;
236
+ completeTranslationApiLink: z.ZodOptional<z.ZodString>;
237
+ }, z.core.$strip>;
238
+ export type ApiTranslation = z.infer<typeof ApiTranslationSchema>;
208
239
  /**
209
240
  * Defines the complete translation download data.
210
241
  * Maps to the /api/:translationId/complete.json endpoint.
211
242
  */
212
- export interface ApiTranslationComplete {
213
- /**
214
- * The translation metadata.
215
- */
216
- translation: ApiTranslation;
217
- /**
218
- * The complete list of books with all their chapters.
219
- */
220
- books: ApiTranslationCompleteBook[];
221
- }
243
+ export declare const ApiTranslationCompleteSchema: z.ZodObject<{
244
+ translation: z.ZodLazy<z.ZodObject<{
245
+ id: z.ZodString;
246
+ name: z.ZodString;
247
+ website: z.ZodString;
248
+ licenseUrl: z.ZodString;
249
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
250
+ licenseNotice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
251
+ shortName: z.ZodOptional<z.ZodString>;
252
+ englishName: z.ZodString;
253
+ language: z.ZodString;
254
+ textDirection: z.ZodEnum<{
255
+ ltr: "ltr";
256
+ rtl: "rtl";
257
+ }>;
258
+ listOfBooksApiLink: z.ZodString;
259
+ availableFormats: z.ZodArray<z.ZodEnum<{
260
+ usfm: "usfm";
261
+ json: "json";
262
+ }>>;
263
+ numberOfBooks: z.ZodNumber;
264
+ totalNumberOfChapters: z.ZodNumber;
265
+ totalNumberOfVerses: z.ZodNumber;
266
+ numberOfApocryphalBooks: z.ZodOptional<z.ZodNumber>;
267
+ totalNumberOfApocryphalChapters: z.ZodOptional<z.ZodNumber>;
268
+ totalNumberOfApocryphalVerses: z.ZodOptional<z.ZodNumber>;
269
+ languageName: z.ZodOptional<z.ZodString>;
270
+ languageEnglishName: z.ZodOptional<z.ZodString>;
271
+ completeTranslationApiLink: z.ZodOptional<z.ZodString>;
272
+ }, z.core.$strip>>;
273
+ books: z.ZodArray<z.ZodLazy<z.ZodObject<{
274
+ id: z.ZodEnum<{
275
+ GEN: "GEN";
276
+ EXO: "EXO";
277
+ LEV: "LEV";
278
+ NUM: "NUM";
279
+ DEU: "DEU";
280
+ JOS: "JOS";
281
+ JDG: "JDG";
282
+ RUT: "RUT";
283
+ "1SA": "1SA";
284
+ "2SA": "2SA";
285
+ "1KI": "1KI";
286
+ "2KI": "2KI";
287
+ "1CH": "1CH";
288
+ "2CH": "2CH";
289
+ EZR: "EZR";
290
+ NEH: "NEH";
291
+ EST: "EST";
292
+ JOB: "JOB";
293
+ PSA: "PSA";
294
+ PRO: "PRO";
295
+ ECC: "ECC";
296
+ SNG: "SNG";
297
+ ISA: "ISA";
298
+ JER: "JER";
299
+ LAM: "LAM";
300
+ EZK: "EZK";
301
+ DAN: "DAN";
302
+ HOS: "HOS";
303
+ JOL: "JOL";
304
+ AMO: "AMO";
305
+ OBA: "OBA";
306
+ JON: "JON";
307
+ MIC: "MIC";
308
+ NAM: "NAM";
309
+ HAB: "HAB";
310
+ ZEP: "ZEP";
311
+ HAG: "HAG";
312
+ ZEC: "ZEC";
313
+ MAL: "MAL";
314
+ MAT: "MAT";
315
+ MRK: "MRK";
316
+ LUK: "LUK";
317
+ JHN: "JHN";
318
+ ACT: "ACT";
319
+ ROM: "ROM";
320
+ "1CO": "1CO";
321
+ "2CO": "2CO";
322
+ GAL: "GAL";
323
+ EPH: "EPH";
324
+ PHP: "PHP";
325
+ COL: "COL";
326
+ "1TH": "1TH";
327
+ "2TH": "2TH";
328
+ "1TI": "1TI";
329
+ "2TI": "2TI";
330
+ TIT: "TIT";
331
+ PHM: "PHM";
332
+ HEB: "HEB";
333
+ JAS: "JAS";
334
+ "1PE": "1PE";
335
+ "2PE": "2PE";
336
+ "1JN": "1JN";
337
+ "2JN": "2JN";
338
+ "3JN": "3JN";
339
+ JUD: "JUD";
340
+ REV: "REV";
341
+ TOB: "TOB";
342
+ JDT: "JDT";
343
+ ESG: "ESG";
344
+ WIS: "WIS";
345
+ SIR: "SIR";
346
+ BAR: "BAR";
347
+ LJE: "LJE";
348
+ S3Y: "S3Y";
349
+ SUS: "SUS";
350
+ BEL: "BEL";
351
+ "1MA": "1MA";
352
+ "2MA": "2MA";
353
+ "3MA": "3MA";
354
+ "4MA": "4MA";
355
+ "1ES": "1ES";
356
+ "2ES": "2ES";
357
+ MAN: "MAN";
358
+ PS2: "PS2";
359
+ ODA: "ODA";
360
+ PSS: "PSS";
361
+ EZA: "EZA";
362
+ "5EZ": "5EZ";
363
+ "6EZ": "6EZ";
364
+ DAG: "DAG";
365
+ PS3: "PS3";
366
+ "2BA": "2BA";
367
+ LBA: "LBA";
368
+ JUB: "JUB";
369
+ ENO: "ENO";
370
+ "1MQ": "1MQ";
371
+ "2MQ": "2MQ";
372
+ "3MQ": "3MQ";
373
+ REP: "REP";
374
+ "4BA": "4BA";
375
+ LAO: "LAO";
376
+ }>;
377
+ name: z.ZodString;
378
+ commonName: z.ZodString;
379
+ title: z.ZodNullable<z.ZodString>;
380
+ order: z.ZodNumber;
381
+ isApocryphal: z.ZodOptional<z.ZodBoolean>;
382
+ numberOfChapters: z.ZodNumber;
383
+ totalNumberOfVerses: z.ZodNumber;
384
+ chapters: z.ZodArray<z.ZodObject<{
385
+ chapter: z.ZodLazy<z.ZodObject<{
386
+ number: z.ZodNumber;
387
+ content: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
388
+ type: z.ZodLiteral<"heading">;
389
+ content: z.ZodArray<z.ZodString>;
390
+ }, z.core.$strip>, z.ZodObject<{
391
+ type: z.ZodLiteral<"line_break">;
392
+ }, z.core.$strip>, z.ZodObject<{
393
+ type: z.ZodLiteral<"verse">;
394
+ number: z.ZodNumber;
395
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
396
+ text: z.ZodString;
397
+ poem: z.ZodOptional<z.ZodNumber>;
398
+ wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
399
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
400
+ heading: z.ZodString;
401
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
402
+ lineBreak: z.ZodLiteral<true>;
403
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
404
+ noteId: z.ZodNumber;
405
+ }, z.core.$strip>>]>>;
406
+ }, z.core.$strip>, z.ZodObject<{
407
+ type: z.ZodLiteral<"hebrew_subtitle">;
408
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
409
+ text: z.ZodString;
410
+ poem: z.ZodOptional<z.ZodNumber>;
411
+ wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
412
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
413
+ noteId: z.ZodNumber;
414
+ }, z.core.$strip>>]>>;
415
+ }, z.core.$strip>], "type">>>;
416
+ footnotes: z.ZodArray<z.ZodLazy<z.ZodObject<{
417
+ noteId: z.ZodNumber;
418
+ text: z.ZodString;
419
+ reference: z.ZodOptional<z.ZodObject<{
420
+ chapter: z.ZodNumber;
421
+ verse: z.ZodNumber;
422
+ }, z.core.$strip>>;
423
+ caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
424
+ }, z.core.$strip>>>;
425
+ }, z.core.$strip>>;
426
+ thisChapterAudioLinks: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodString>>;
427
+ }, z.core.$strip>>;
428
+ }, z.core.$strip>>>;
429
+ }, z.core.$strip>;
430
+ export type ApiTranslationComplete = z.infer<typeof ApiTranslationCompleteSchema>;
222
431
  /**
223
432
  * A book in the complete translation download.
224
433
  */
225
- export interface ApiTranslationCompleteBook {
226
- /**
227
- * The ID of the book.
228
- */
229
- id: string;
230
- /**
231
- * The name of the book from the translation.
232
- */
233
- name: string;
234
- /**
235
- * The common name for the book.
236
- */
237
- commonName: string;
238
- /**
239
- * The title of the book.
240
- */
241
- title: string | null;
242
- /**
243
- * The order of the book.
244
- */
245
- order: number;
246
- /**
247
- * The number of chapters in the book.
248
- */
249
- numberOfChapters: number;
250
- /**
251
- * The total number of verses in the book.
252
- */
253
- totalNumberOfVerses: number;
254
- /**
255
- * Whether the book is apocryphal.
256
- */
257
- isApocryphal?: boolean;
258
- /**
259
- * The complete list of chapters with all content.
260
- */
261
- chapters: TranslationBookChapter[];
262
- }
434
+ export declare const ApiTranslationCompleteBookSchema: z.ZodObject<{
435
+ id: z.ZodEnum<{
436
+ GEN: "GEN";
437
+ EXO: "EXO";
438
+ LEV: "LEV";
439
+ NUM: "NUM";
440
+ DEU: "DEU";
441
+ JOS: "JOS";
442
+ JDG: "JDG";
443
+ RUT: "RUT";
444
+ "1SA": "1SA";
445
+ "2SA": "2SA";
446
+ "1KI": "1KI";
447
+ "2KI": "2KI";
448
+ "1CH": "1CH";
449
+ "2CH": "2CH";
450
+ EZR: "EZR";
451
+ NEH: "NEH";
452
+ EST: "EST";
453
+ JOB: "JOB";
454
+ PSA: "PSA";
455
+ PRO: "PRO";
456
+ ECC: "ECC";
457
+ SNG: "SNG";
458
+ ISA: "ISA";
459
+ JER: "JER";
460
+ LAM: "LAM";
461
+ EZK: "EZK";
462
+ DAN: "DAN";
463
+ HOS: "HOS";
464
+ JOL: "JOL";
465
+ AMO: "AMO";
466
+ OBA: "OBA";
467
+ JON: "JON";
468
+ MIC: "MIC";
469
+ NAM: "NAM";
470
+ HAB: "HAB";
471
+ ZEP: "ZEP";
472
+ HAG: "HAG";
473
+ ZEC: "ZEC";
474
+ MAL: "MAL";
475
+ MAT: "MAT";
476
+ MRK: "MRK";
477
+ LUK: "LUK";
478
+ JHN: "JHN";
479
+ ACT: "ACT";
480
+ ROM: "ROM";
481
+ "1CO": "1CO";
482
+ "2CO": "2CO";
483
+ GAL: "GAL";
484
+ EPH: "EPH";
485
+ PHP: "PHP";
486
+ COL: "COL";
487
+ "1TH": "1TH";
488
+ "2TH": "2TH";
489
+ "1TI": "1TI";
490
+ "2TI": "2TI";
491
+ TIT: "TIT";
492
+ PHM: "PHM";
493
+ HEB: "HEB";
494
+ JAS: "JAS";
495
+ "1PE": "1PE";
496
+ "2PE": "2PE";
497
+ "1JN": "1JN";
498
+ "2JN": "2JN";
499
+ "3JN": "3JN";
500
+ JUD: "JUD";
501
+ REV: "REV";
502
+ TOB: "TOB";
503
+ JDT: "JDT";
504
+ ESG: "ESG";
505
+ WIS: "WIS";
506
+ SIR: "SIR";
507
+ BAR: "BAR";
508
+ LJE: "LJE";
509
+ S3Y: "S3Y";
510
+ SUS: "SUS";
511
+ BEL: "BEL";
512
+ "1MA": "1MA";
513
+ "2MA": "2MA";
514
+ "3MA": "3MA";
515
+ "4MA": "4MA";
516
+ "1ES": "1ES";
517
+ "2ES": "2ES";
518
+ MAN: "MAN";
519
+ PS2: "PS2";
520
+ ODA: "ODA";
521
+ PSS: "PSS";
522
+ EZA: "EZA";
523
+ "5EZ": "5EZ";
524
+ "6EZ": "6EZ";
525
+ DAG: "DAG";
526
+ PS3: "PS3";
527
+ "2BA": "2BA";
528
+ LBA: "LBA";
529
+ JUB: "JUB";
530
+ ENO: "ENO";
531
+ "1MQ": "1MQ";
532
+ "2MQ": "2MQ";
533
+ "3MQ": "3MQ";
534
+ REP: "REP";
535
+ "4BA": "4BA";
536
+ LAO: "LAO";
537
+ }>;
538
+ name: z.ZodString;
539
+ commonName: z.ZodString;
540
+ title: z.ZodNullable<z.ZodString>;
541
+ order: z.ZodNumber;
542
+ isApocryphal: z.ZodOptional<z.ZodBoolean>;
543
+ numberOfChapters: z.ZodNumber;
544
+ totalNumberOfVerses: z.ZodNumber;
545
+ chapters: z.ZodArray<z.ZodObject<{
546
+ chapter: z.ZodLazy<z.ZodObject<{
547
+ number: z.ZodNumber;
548
+ content: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
549
+ type: z.ZodLiteral<"heading">;
550
+ content: z.ZodArray<z.ZodString>;
551
+ }, z.core.$strip>, z.ZodObject<{
552
+ type: z.ZodLiteral<"line_break">;
553
+ }, z.core.$strip>, z.ZodObject<{
554
+ type: z.ZodLiteral<"verse">;
555
+ number: z.ZodNumber;
556
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
557
+ text: z.ZodString;
558
+ poem: z.ZodOptional<z.ZodNumber>;
559
+ wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
560
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
561
+ heading: z.ZodString;
562
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
563
+ lineBreak: z.ZodLiteral<true>;
564
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
565
+ noteId: z.ZodNumber;
566
+ }, z.core.$strip>>]>>;
567
+ }, z.core.$strip>, z.ZodObject<{
568
+ type: z.ZodLiteral<"hebrew_subtitle">;
569
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
570
+ text: z.ZodString;
571
+ poem: z.ZodOptional<z.ZodNumber>;
572
+ wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
573
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
574
+ noteId: z.ZodNumber;
575
+ }, z.core.$strip>>]>>;
576
+ }, z.core.$strip>], "type">>>;
577
+ footnotes: z.ZodArray<z.ZodLazy<z.ZodObject<{
578
+ noteId: z.ZodNumber;
579
+ text: z.ZodString;
580
+ reference: z.ZodOptional<z.ZodObject<{
581
+ chapter: z.ZodNumber;
582
+ verse: z.ZodNumber;
583
+ }, z.core.$strip>>;
584
+ caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
585
+ }, z.core.$strip>>>;
586
+ }, z.core.$strip>>;
587
+ thisChapterAudioLinks: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodString>>;
588
+ }, z.core.$strip>>;
589
+ }, z.core.$strip>;
590
+ export type ApiTranslationCompleteBook = z.infer<typeof ApiTranslationCompleteBookSchema>;
263
591
  /**
264
592
  * Defines a commentary that is used in the API.
265
593
  */
266
- export interface ApiCommentary extends Commentary {
267
- /**
268
- * The API link for the list of available books for this translation.
269
- */
270
- listOfBooksApiLink: string;
271
- /**
272
- * The API link for the list of available profiles for this commentary.
273
- */
274
- listOfProfilesApiLink: string;
275
- /**
276
- * The available list of formats.
277
- */
278
- availableFormats: ('json' | 'usfm')[];
279
- /**
280
- * The number of books that are contained in this commentary.
281
- *
282
- * Complete commentaries should have the same number of books as the Bible (66).
283
- */
284
- numberOfBooks: number;
285
- /**
286
- * The total number of chapters that are contained in this translation.
287
- *
288
- * Complete commentaries should have the same number of chapters as the Bible (1,189).
289
- */
290
- totalNumberOfChapters: number;
291
- /**
292
- * The total number of verses that are contained in this commentary.
293
- *
294
- * Complete commentaries should have the same number of verses as the Bible (around 31,102 - some commentaries exclude verses based on the aparent likelyhood of existing in the original source texts).
295
- */
296
- totalNumberOfVerses: number;
297
- /**
298
- * The total number of profiles that are contained in this commentary.
299
- *
300
- * Profiles are used to provide additional information about people and people groups that are mentioned in the Bible.
301
- */
302
- totalNumberOfProfiles: number;
303
- /**
304
- * Gets the name of the language that the commentary is in.
305
- * Null or undefined if the name of the language is not known.
306
- */
307
- languageName?: string;
308
- /**
309
- * Gets the name of the language in English.
310
- * Null or undefined if the language doesn't have an english name.
311
- */
312
- languageEnglishName?: string;
313
- }
594
+ export declare const ApiCommentarySchema: z.ZodObject<{
595
+ id: z.ZodString;
596
+ name: z.ZodString;
597
+ website: z.ZodString;
598
+ licenseUrl: z.ZodString;
599
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
600
+ englishName: z.ZodString;
601
+ language: z.ZodString;
602
+ textDirection: z.ZodEnum<{
603
+ ltr: "ltr";
604
+ rtl: "rtl";
605
+ }>;
606
+ listOfBooksApiLink: z.ZodString;
607
+ listOfProfilesApiLink: z.ZodString;
608
+ availableFormats: z.ZodArray<z.ZodEnum<{
609
+ usfm: "usfm";
610
+ json: "json";
611
+ }>>;
612
+ numberOfBooks: z.ZodNumber;
613
+ totalNumberOfChapters: z.ZodNumber;
614
+ totalNumberOfVerses: z.ZodNumber;
615
+ totalNumberOfProfiles: z.ZodNumber;
616
+ languageName: z.ZodOptional<z.ZodString>;
617
+ languageEnglishName: z.ZodOptional<z.ZodString>;
618
+ }, z.core.$strip>;
619
+ export type ApiCommentary = z.infer<typeof ApiCommentarySchema>;
314
620
  /**
315
621
  * Defines an interface that contains information about the books that are available for a translation.
316
622
  */
317
- export interface ApiTranslationBooks {
318
- /**
319
- * The translation information for the books.
320
- */
321
- translation: ApiTranslation;
322
- /**
323
- * The list of books that are available for the translation.
324
- */
325
- books: ApiTranslationBook[];
326
- }
623
+ export declare const ApiTranslationBooksSchema: z.ZodObject<{
624
+ translation: z.ZodLazy<z.ZodObject<{
625
+ id: z.ZodString;
626
+ name: z.ZodString;
627
+ website: z.ZodString;
628
+ licenseUrl: z.ZodString;
629
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
630
+ licenseNotice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
631
+ shortName: z.ZodOptional<z.ZodString>;
632
+ englishName: z.ZodString;
633
+ language: z.ZodString;
634
+ textDirection: z.ZodEnum<{
635
+ ltr: "ltr";
636
+ rtl: "rtl";
637
+ }>;
638
+ listOfBooksApiLink: z.ZodString;
639
+ availableFormats: z.ZodArray<z.ZodEnum<{
640
+ usfm: "usfm";
641
+ json: "json";
642
+ }>>;
643
+ numberOfBooks: z.ZodNumber;
644
+ totalNumberOfChapters: z.ZodNumber;
645
+ totalNumberOfVerses: z.ZodNumber;
646
+ numberOfApocryphalBooks: z.ZodOptional<z.ZodNumber>;
647
+ totalNumberOfApocryphalChapters: z.ZodOptional<z.ZodNumber>;
648
+ totalNumberOfApocryphalVerses: z.ZodOptional<z.ZodNumber>;
649
+ languageName: z.ZodOptional<z.ZodString>;
650
+ languageEnglishName: z.ZodOptional<z.ZodString>;
651
+ completeTranslationApiLink: z.ZodOptional<z.ZodString>;
652
+ }, z.core.$strip>>;
653
+ books: z.ZodArray<z.ZodLazy<z.ZodObject<{
654
+ id: z.ZodEnum<{
655
+ GEN: "GEN";
656
+ EXO: "EXO";
657
+ LEV: "LEV";
658
+ NUM: "NUM";
659
+ DEU: "DEU";
660
+ JOS: "JOS";
661
+ JDG: "JDG";
662
+ RUT: "RUT";
663
+ "1SA": "1SA";
664
+ "2SA": "2SA";
665
+ "1KI": "1KI";
666
+ "2KI": "2KI";
667
+ "1CH": "1CH";
668
+ "2CH": "2CH";
669
+ EZR: "EZR";
670
+ NEH: "NEH";
671
+ EST: "EST";
672
+ JOB: "JOB";
673
+ PSA: "PSA";
674
+ PRO: "PRO";
675
+ ECC: "ECC";
676
+ SNG: "SNG";
677
+ ISA: "ISA";
678
+ JER: "JER";
679
+ LAM: "LAM";
680
+ EZK: "EZK";
681
+ DAN: "DAN";
682
+ HOS: "HOS";
683
+ JOL: "JOL";
684
+ AMO: "AMO";
685
+ OBA: "OBA";
686
+ JON: "JON";
687
+ MIC: "MIC";
688
+ NAM: "NAM";
689
+ HAB: "HAB";
690
+ ZEP: "ZEP";
691
+ HAG: "HAG";
692
+ ZEC: "ZEC";
693
+ MAL: "MAL";
694
+ MAT: "MAT";
695
+ MRK: "MRK";
696
+ LUK: "LUK";
697
+ JHN: "JHN";
698
+ ACT: "ACT";
699
+ ROM: "ROM";
700
+ "1CO": "1CO";
701
+ "2CO": "2CO";
702
+ GAL: "GAL";
703
+ EPH: "EPH";
704
+ PHP: "PHP";
705
+ COL: "COL";
706
+ "1TH": "1TH";
707
+ "2TH": "2TH";
708
+ "1TI": "1TI";
709
+ "2TI": "2TI";
710
+ TIT: "TIT";
711
+ PHM: "PHM";
712
+ HEB: "HEB";
713
+ JAS: "JAS";
714
+ "1PE": "1PE";
715
+ "2PE": "2PE";
716
+ "1JN": "1JN";
717
+ "2JN": "2JN";
718
+ "3JN": "3JN";
719
+ JUD: "JUD";
720
+ REV: "REV";
721
+ TOB: "TOB";
722
+ JDT: "JDT";
723
+ ESG: "ESG";
724
+ WIS: "WIS";
725
+ SIR: "SIR";
726
+ BAR: "BAR";
727
+ LJE: "LJE";
728
+ S3Y: "S3Y";
729
+ SUS: "SUS";
730
+ BEL: "BEL";
731
+ "1MA": "1MA";
732
+ "2MA": "2MA";
733
+ "3MA": "3MA";
734
+ "4MA": "4MA";
735
+ "1ES": "1ES";
736
+ "2ES": "2ES";
737
+ MAN: "MAN";
738
+ PS2: "PS2";
739
+ ODA: "ODA";
740
+ PSS: "PSS";
741
+ EZA: "EZA";
742
+ "5EZ": "5EZ";
743
+ "6EZ": "6EZ";
744
+ DAG: "DAG";
745
+ PS3: "PS3";
746
+ "2BA": "2BA";
747
+ LBA: "LBA";
748
+ JUB: "JUB";
749
+ ENO: "ENO";
750
+ "1MQ": "1MQ";
751
+ "2MQ": "2MQ";
752
+ "3MQ": "3MQ";
753
+ REP: "REP";
754
+ "4BA": "4BA";
755
+ LAO: "LAO";
756
+ }>;
757
+ name: z.ZodString;
758
+ commonName: z.ZodString;
759
+ title: z.ZodNullable<z.ZodString>;
760
+ order: z.ZodNumber;
761
+ isApocryphal: z.ZodOptional<z.ZodBoolean>;
762
+ firstChapterNumber: z.ZodNumber;
763
+ firstChapterApiLink: z.ZodString;
764
+ lastChapterNumber: z.ZodNumber;
765
+ lastChapterApiLink: z.ZodString;
766
+ numberOfChapters: z.ZodNumber;
767
+ totalNumberOfVerses: z.ZodNumber;
768
+ }, z.core.$strip>>>;
769
+ }, z.core.$strip>;
770
+ export type ApiTranslationBooks = z.infer<typeof ApiTranslationBooksSchema>;
327
771
  /**
328
772
  * Defines an interface that contains information about the books that are available for a commentary.
329
773
  */
330
- export interface ApiCommentaryBooks {
331
- /**
332
- * The commentary information for the books.
333
- */
334
- commentary: ApiCommentary;
335
- /**
336
- * The list of books that are available for the commentary.
337
- */
338
- books: ApiCommentaryBook[];
339
- }
774
+ export declare const ApiCommentaryBooksSchema: z.ZodObject<{
775
+ commentary: z.ZodLazy<z.ZodObject<{
776
+ id: z.ZodString;
777
+ name: z.ZodString;
778
+ website: z.ZodString;
779
+ licenseUrl: z.ZodString;
780
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
781
+ englishName: z.ZodString;
782
+ language: z.ZodString;
783
+ textDirection: z.ZodEnum<{
784
+ ltr: "ltr";
785
+ rtl: "rtl";
786
+ }>;
787
+ listOfBooksApiLink: z.ZodString;
788
+ listOfProfilesApiLink: z.ZodString;
789
+ availableFormats: z.ZodArray<z.ZodEnum<{
790
+ usfm: "usfm";
791
+ json: "json";
792
+ }>>;
793
+ numberOfBooks: z.ZodNumber;
794
+ totalNumberOfChapters: z.ZodNumber;
795
+ totalNumberOfVerses: z.ZodNumber;
796
+ totalNumberOfProfiles: z.ZodNumber;
797
+ languageName: z.ZodOptional<z.ZodString>;
798
+ languageEnglishName: z.ZodOptional<z.ZodString>;
799
+ }, z.core.$strip>>;
800
+ books: z.ZodArray<z.ZodLazy<z.ZodObject<{
801
+ id: z.ZodEnum<{
802
+ GEN: "GEN";
803
+ EXO: "EXO";
804
+ LEV: "LEV";
805
+ NUM: "NUM";
806
+ DEU: "DEU";
807
+ JOS: "JOS";
808
+ JDG: "JDG";
809
+ RUT: "RUT";
810
+ "1SA": "1SA";
811
+ "2SA": "2SA";
812
+ "1KI": "1KI";
813
+ "2KI": "2KI";
814
+ "1CH": "1CH";
815
+ "2CH": "2CH";
816
+ EZR: "EZR";
817
+ NEH: "NEH";
818
+ EST: "EST";
819
+ JOB: "JOB";
820
+ PSA: "PSA";
821
+ PRO: "PRO";
822
+ ECC: "ECC";
823
+ SNG: "SNG";
824
+ ISA: "ISA";
825
+ JER: "JER";
826
+ LAM: "LAM";
827
+ EZK: "EZK";
828
+ DAN: "DAN";
829
+ HOS: "HOS";
830
+ JOL: "JOL";
831
+ AMO: "AMO";
832
+ OBA: "OBA";
833
+ JON: "JON";
834
+ MIC: "MIC";
835
+ NAM: "NAM";
836
+ HAB: "HAB";
837
+ ZEP: "ZEP";
838
+ HAG: "HAG";
839
+ ZEC: "ZEC";
840
+ MAL: "MAL";
841
+ MAT: "MAT";
842
+ MRK: "MRK";
843
+ LUK: "LUK";
844
+ JHN: "JHN";
845
+ ACT: "ACT";
846
+ ROM: "ROM";
847
+ "1CO": "1CO";
848
+ "2CO": "2CO";
849
+ GAL: "GAL";
850
+ EPH: "EPH";
851
+ PHP: "PHP";
852
+ COL: "COL";
853
+ "1TH": "1TH";
854
+ "2TH": "2TH";
855
+ "1TI": "1TI";
856
+ "2TI": "2TI";
857
+ TIT: "TIT";
858
+ PHM: "PHM";
859
+ HEB: "HEB";
860
+ JAS: "JAS";
861
+ "1PE": "1PE";
862
+ "2PE": "2PE";
863
+ "1JN": "1JN";
864
+ "2JN": "2JN";
865
+ "3JN": "3JN";
866
+ JUD: "JUD";
867
+ REV: "REV";
868
+ TOB: "TOB";
869
+ JDT: "JDT";
870
+ ESG: "ESG";
871
+ WIS: "WIS";
872
+ SIR: "SIR";
873
+ BAR: "BAR";
874
+ LJE: "LJE";
875
+ S3Y: "S3Y";
876
+ SUS: "SUS";
877
+ BEL: "BEL";
878
+ "1MA": "1MA";
879
+ "2MA": "2MA";
880
+ "3MA": "3MA";
881
+ "4MA": "4MA";
882
+ "1ES": "1ES";
883
+ "2ES": "2ES";
884
+ MAN: "MAN";
885
+ PS2: "PS2";
886
+ ODA: "ODA";
887
+ PSS: "PSS";
888
+ EZA: "EZA";
889
+ "5EZ": "5EZ";
890
+ "6EZ": "6EZ";
891
+ DAG: "DAG";
892
+ PS3: "PS3";
893
+ "2BA": "2BA";
894
+ LBA: "LBA";
895
+ JUB: "JUB";
896
+ ENO: "ENO";
897
+ "1MQ": "1MQ";
898
+ "2MQ": "2MQ";
899
+ "3MQ": "3MQ";
900
+ REP: "REP";
901
+ "4BA": "4BA";
902
+ LAO: "LAO";
903
+ }>;
904
+ name: z.ZodString;
905
+ commonName: z.ZodString;
906
+ introduction: z.ZodOptional<z.ZodString>;
907
+ introductionSummary: z.ZodOptional<z.ZodString>;
908
+ order: z.ZodNumber;
909
+ firstChapterNumber: z.ZodNullable<z.ZodNumber>;
910
+ firstChapterApiLink: z.ZodNullable<z.ZodString>;
911
+ lastChapterNumber: z.ZodNullable<z.ZodNumber>;
912
+ lastChapterApiLink: z.ZodNullable<z.ZodString>;
913
+ numberOfChapters: z.ZodNumber;
914
+ totalNumberOfVerses: z.ZodNumber;
915
+ }, z.core.$strip>>>;
916
+ }, z.core.$strip>;
917
+ export type ApiCommentaryBooks = z.infer<typeof ApiCommentaryBooksSchema>;
340
918
  /**
341
919
  * Defines an interface that contains information about the books that are available for a dataset.
342
920
  */
343
- export interface ApiDatasetBooks {
344
- /**
345
- * The dataset information for the books.
346
- */
347
- dataset: ApiDataset;
348
- /**
349
- * The list of books that are available for the dataset.
350
- */
351
- books: ApiDatasetBook[];
352
- }
921
+ export declare const ApiDatasetBooksSchema: z.ZodObject<{
922
+ dataset: z.ZodLazy<z.ZodObject<{
923
+ id: z.ZodString;
924
+ name: z.ZodString;
925
+ website: z.ZodString;
926
+ licenseUrl: z.ZodString;
927
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
928
+ englishName: z.ZodString;
929
+ language: z.ZodString;
930
+ textDirection: z.ZodEnum<{
931
+ ltr: "ltr";
932
+ rtl: "rtl";
933
+ }>;
934
+ listOfBooksApiLink: z.ZodString;
935
+ availableFormats: z.ZodArray<z.ZodLiteral<"json">>;
936
+ numberOfBooks: z.ZodNumber;
937
+ totalNumberOfChapters: z.ZodNumber;
938
+ totalNumberOfVerses: z.ZodNumber;
939
+ totalNumberOfReferences: z.ZodNumber;
940
+ languageName: z.ZodOptional<z.ZodString>;
941
+ languageEnglishName: z.ZodOptional<z.ZodString>;
942
+ }, z.core.$strip>>;
943
+ books: z.ZodArray<z.ZodLazy<z.ZodObject<{
944
+ id: z.ZodEnum<{
945
+ GEN: "GEN";
946
+ EXO: "EXO";
947
+ LEV: "LEV";
948
+ NUM: "NUM";
949
+ DEU: "DEU";
950
+ JOS: "JOS";
951
+ JDG: "JDG";
952
+ RUT: "RUT";
953
+ "1SA": "1SA";
954
+ "2SA": "2SA";
955
+ "1KI": "1KI";
956
+ "2KI": "2KI";
957
+ "1CH": "1CH";
958
+ "2CH": "2CH";
959
+ EZR: "EZR";
960
+ NEH: "NEH";
961
+ EST: "EST";
962
+ JOB: "JOB";
963
+ PSA: "PSA";
964
+ PRO: "PRO";
965
+ ECC: "ECC";
966
+ SNG: "SNG";
967
+ ISA: "ISA";
968
+ JER: "JER";
969
+ LAM: "LAM";
970
+ EZK: "EZK";
971
+ DAN: "DAN";
972
+ HOS: "HOS";
973
+ JOL: "JOL";
974
+ AMO: "AMO";
975
+ OBA: "OBA";
976
+ JON: "JON";
977
+ MIC: "MIC";
978
+ NAM: "NAM";
979
+ HAB: "HAB";
980
+ ZEP: "ZEP";
981
+ HAG: "HAG";
982
+ ZEC: "ZEC";
983
+ MAL: "MAL";
984
+ MAT: "MAT";
985
+ MRK: "MRK";
986
+ LUK: "LUK";
987
+ JHN: "JHN";
988
+ ACT: "ACT";
989
+ ROM: "ROM";
990
+ "1CO": "1CO";
991
+ "2CO": "2CO";
992
+ GAL: "GAL";
993
+ EPH: "EPH";
994
+ PHP: "PHP";
995
+ COL: "COL";
996
+ "1TH": "1TH";
997
+ "2TH": "2TH";
998
+ "1TI": "1TI";
999
+ "2TI": "2TI";
1000
+ TIT: "TIT";
1001
+ PHM: "PHM";
1002
+ HEB: "HEB";
1003
+ JAS: "JAS";
1004
+ "1PE": "1PE";
1005
+ "2PE": "2PE";
1006
+ "1JN": "1JN";
1007
+ "2JN": "2JN";
1008
+ "3JN": "3JN";
1009
+ JUD: "JUD";
1010
+ REV: "REV";
1011
+ TOB: "TOB";
1012
+ JDT: "JDT";
1013
+ ESG: "ESG";
1014
+ WIS: "WIS";
1015
+ SIR: "SIR";
1016
+ BAR: "BAR";
1017
+ LJE: "LJE";
1018
+ S3Y: "S3Y";
1019
+ SUS: "SUS";
1020
+ BEL: "BEL";
1021
+ "1MA": "1MA";
1022
+ "2MA": "2MA";
1023
+ "3MA": "3MA";
1024
+ "4MA": "4MA";
1025
+ "1ES": "1ES";
1026
+ "2ES": "2ES";
1027
+ MAN: "MAN";
1028
+ PS2: "PS2";
1029
+ ODA: "ODA";
1030
+ PSS: "PSS";
1031
+ EZA: "EZA";
1032
+ "5EZ": "5EZ";
1033
+ "6EZ": "6EZ";
1034
+ DAG: "DAG";
1035
+ PS3: "PS3";
1036
+ "2BA": "2BA";
1037
+ LBA: "LBA";
1038
+ JUB: "JUB";
1039
+ ENO: "ENO";
1040
+ "1MQ": "1MQ";
1041
+ "2MQ": "2MQ";
1042
+ "3MQ": "3MQ";
1043
+ REP: "REP";
1044
+ "4BA": "4BA";
1045
+ LAO: "LAO";
1046
+ }>;
1047
+ order: z.ZodNumber;
1048
+ firstChapterNumber: z.ZodNumber;
1049
+ firstChapterApiLink: z.ZodString;
1050
+ lastChapterNumber: z.ZodNumber;
1051
+ lastChapterApiLink: z.ZodString;
1052
+ numberOfChapters: z.ZodNumber;
1053
+ totalNumberOfVerses: z.ZodNumber;
1054
+ totalNumberOfReferences: z.ZodNumber;
1055
+ }, z.core.$strip>>>;
1056
+ }, z.core.$strip>;
1057
+ export type ApiDatasetBooks = z.infer<typeof ApiDatasetBooksSchema>;
353
1058
  /**
354
1059
  * Defines an interface that contains information about the profiles that are available for a commentary.
355
1060
  */
356
- export interface ApiCommentaryProfiles {
357
- /**
358
- * The commentary information for the books.
359
- */
360
- commentary: ApiCommentary;
361
- /**
362
- * The list of profiles that are available for the commentary.
363
- */
364
- profiles: ApiCommentaryProfile[];
365
- }
1061
+ export declare const ApiCommentaryProfilesSchema: z.ZodObject<{
1062
+ commentary: z.ZodLazy<z.ZodObject<{
1063
+ id: z.ZodString;
1064
+ name: z.ZodString;
1065
+ website: z.ZodString;
1066
+ licenseUrl: z.ZodString;
1067
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1068
+ englishName: z.ZodString;
1069
+ language: z.ZodString;
1070
+ textDirection: z.ZodEnum<{
1071
+ ltr: "ltr";
1072
+ rtl: "rtl";
1073
+ }>;
1074
+ listOfBooksApiLink: z.ZodString;
1075
+ listOfProfilesApiLink: z.ZodString;
1076
+ availableFormats: z.ZodArray<z.ZodEnum<{
1077
+ usfm: "usfm";
1078
+ json: "json";
1079
+ }>>;
1080
+ numberOfBooks: z.ZodNumber;
1081
+ totalNumberOfChapters: z.ZodNumber;
1082
+ totalNumberOfVerses: z.ZodNumber;
1083
+ totalNumberOfProfiles: z.ZodNumber;
1084
+ languageName: z.ZodOptional<z.ZodString>;
1085
+ languageEnglishName: z.ZodOptional<z.ZodString>;
1086
+ }, z.core.$strip>>;
1087
+ profiles: z.ZodArray<z.ZodLazy<z.ZodObject<{
1088
+ id: z.ZodString;
1089
+ subject: z.ZodString;
1090
+ reference: z.ZodNullable<z.ZodObject<{
1091
+ book: z.ZodEnum<{
1092
+ GEN: "GEN";
1093
+ EXO: "EXO";
1094
+ LEV: "LEV";
1095
+ NUM: "NUM";
1096
+ DEU: "DEU";
1097
+ JOS: "JOS";
1098
+ JDG: "JDG";
1099
+ RUT: "RUT";
1100
+ "1SA": "1SA";
1101
+ "2SA": "2SA";
1102
+ "1KI": "1KI";
1103
+ "2KI": "2KI";
1104
+ "1CH": "1CH";
1105
+ "2CH": "2CH";
1106
+ EZR: "EZR";
1107
+ NEH: "NEH";
1108
+ EST: "EST";
1109
+ JOB: "JOB";
1110
+ PSA: "PSA";
1111
+ PRO: "PRO";
1112
+ ECC: "ECC";
1113
+ SNG: "SNG";
1114
+ ISA: "ISA";
1115
+ JER: "JER";
1116
+ LAM: "LAM";
1117
+ EZK: "EZK";
1118
+ DAN: "DAN";
1119
+ HOS: "HOS";
1120
+ JOL: "JOL";
1121
+ AMO: "AMO";
1122
+ OBA: "OBA";
1123
+ JON: "JON";
1124
+ MIC: "MIC";
1125
+ NAM: "NAM";
1126
+ HAB: "HAB";
1127
+ ZEP: "ZEP";
1128
+ HAG: "HAG";
1129
+ ZEC: "ZEC";
1130
+ MAL: "MAL";
1131
+ MAT: "MAT";
1132
+ MRK: "MRK";
1133
+ LUK: "LUK";
1134
+ JHN: "JHN";
1135
+ ACT: "ACT";
1136
+ ROM: "ROM";
1137
+ "1CO": "1CO";
1138
+ "2CO": "2CO";
1139
+ GAL: "GAL";
1140
+ EPH: "EPH";
1141
+ PHP: "PHP";
1142
+ COL: "COL";
1143
+ "1TH": "1TH";
1144
+ "2TH": "2TH";
1145
+ "1TI": "1TI";
1146
+ "2TI": "2TI";
1147
+ TIT: "TIT";
1148
+ PHM: "PHM";
1149
+ HEB: "HEB";
1150
+ JAS: "JAS";
1151
+ "1PE": "1PE";
1152
+ "2PE": "2PE";
1153
+ "1JN": "1JN";
1154
+ "2JN": "2JN";
1155
+ "3JN": "3JN";
1156
+ JUD: "JUD";
1157
+ REV: "REV";
1158
+ TOB: "TOB";
1159
+ JDT: "JDT";
1160
+ ESG: "ESG";
1161
+ WIS: "WIS";
1162
+ SIR: "SIR";
1163
+ BAR: "BAR";
1164
+ LJE: "LJE";
1165
+ S3Y: "S3Y";
1166
+ SUS: "SUS";
1167
+ BEL: "BEL";
1168
+ "1MA": "1MA";
1169
+ "2MA": "2MA";
1170
+ "3MA": "3MA";
1171
+ "4MA": "4MA";
1172
+ "1ES": "1ES";
1173
+ "2ES": "2ES";
1174
+ MAN: "MAN";
1175
+ PS2: "PS2";
1176
+ ODA: "ODA";
1177
+ PSS: "PSS";
1178
+ EZA: "EZA";
1179
+ "5EZ": "5EZ";
1180
+ "6EZ": "6EZ";
1181
+ DAG: "DAG";
1182
+ PS3: "PS3";
1183
+ "2BA": "2BA";
1184
+ LBA: "LBA";
1185
+ JUB: "JUB";
1186
+ ENO: "ENO";
1187
+ "1MQ": "1MQ";
1188
+ "2MQ": "2MQ";
1189
+ "3MQ": "3MQ";
1190
+ REP: "REP";
1191
+ "4BA": "4BA";
1192
+ LAO: "LAO";
1193
+ }>;
1194
+ chapter: z.ZodNumber;
1195
+ verse: z.ZodNumber;
1196
+ content: z.ZodOptional<z.ZodString>;
1197
+ endChapter: z.ZodOptional<z.ZodNumber>;
1198
+ endVerse: z.ZodOptional<z.ZodNumber>;
1199
+ }, z.core.$strip>>;
1200
+ thisProfileLink: z.ZodString;
1201
+ referenceChapterLink: z.ZodNullable<z.ZodString>;
1202
+ }, z.core.$strip>>>;
1203
+ }, z.core.$strip>;
1204
+ export type ApiCommentaryProfiles = z.infer<typeof ApiCommentaryProfilesSchema>;
366
1205
  /**
367
1206
  * Defines an interface that contains information about a profile.
368
1207
  */
369
- export interface ApiCommentaryProfile extends CommentaryProfile {
370
- /**
371
- * The link to this profile.
372
- */
373
- thisProfileLink: string;
374
- /**
375
- * The link to the chapter that this profile references in the commentary.
376
- */
377
- referenceChapterLink: string | null;
378
- }
1208
+ export declare const ApiCommentaryProfileSchema: z.ZodObject<{
1209
+ id: z.ZodString;
1210
+ subject: z.ZodString;
1211
+ reference: z.ZodNullable<z.ZodObject<{
1212
+ book: z.ZodEnum<{
1213
+ GEN: "GEN";
1214
+ EXO: "EXO";
1215
+ LEV: "LEV";
1216
+ NUM: "NUM";
1217
+ DEU: "DEU";
1218
+ JOS: "JOS";
1219
+ JDG: "JDG";
1220
+ RUT: "RUT";
1221
+ "1SA": "1SA";
1222
+ "2SA": "2SA";
1223
+ "1KI": "1KI";
1224
+ "2KI": "2KI";
1225
+ "1CH": "1CH";
1226
+ "2CH": "2CH";
1227
+ EZR: "EZR";
1228
+ NEH: "NEH";
1229
+ EST: "EST";
1230
+ JOB: "JOB";
1231
+ PSA: "PSA";
1232
+ PRO: "PRO";
1233
+ ECC: "ECC";
1234
+ SNG: "SNG";
1235
+ ISA: "ISA";
1236
+ JER: "JER";
1237
+ LAM: "LAM";
1238
+ EZK: "EZK";
1239
+ DAN: "DAN";
1240
+ HOS: "HOS";
1241
+ JOL: "JOL";
1242
+ AMO: "AMO";
1243
+ OBA: "OBA";
1244
+ JON: "JON";
1245
+ MIC: "MIC";
1246
+ NAM: "NAM";
1247
+ HAB: "HAB";
1248
+ ZEP: "ZEP";
1249
+ HAG: "HAG";
1250
+ ZEC: "ZEC";
1251
+ MAL: "MAL";
1252
+ MAT: "MAT";
1253
+ MRK: "MRK";
1254
+ LUK: "LUK";
1255
+ JHN: "JHN";
1256
+ ACT: "ACT";
1257
+ ROM: "ROM";
1258
+ "1CO": "1CO";
1259
+ "2CO": "2CO";
1260
+ GAL: "GAL";
1261
+ EPH: "EPH";
1262
+ PHP: "PHP";
1263
+ COL: "COL";
1264
+ "1TH": "1TH";
1265
+ "2TH": "2TH";
1266
+ "1TI": "1TI";
1267
+ "2TI": "2TI";
1268
+ TIT: "TIT";
1269
+ PHM: "PHM";
1270
+ HEB: "HEB";
1271
+ JAS: "JAS";
1272
+ "1PE": "1PE";
1273
+ "2PE": "2PE";
1274
+ "1JN": "1JN";
1275
+ "2JN": "2JN";
1276
+ "3JN": "3JN";
1277
+ JUD: "JUD";
1278
+ REV: "REV";
1279
+ TOB: "TOB";
1280
+ JDT: "JDT";
1281
+ ESG: "ESG";
1282
+ WIS: "WIS";
1283
+ SIR: "SIR";
1284
+ BAR: "BAR";
1285
+ LJE: "LJE";
1286
+ S3Y: "S3Y";
1287
+ SUS: "SUS";
1288
+ BEL: "BEL";
1289
+ "1MA": "1MA";
1290
+ "2MA": "2MA";
1291
+ "3MA": "3MA";
1292
+ "4MA": "4MA";
1293
+ "1ES": "1ES";
1294
+ "2ES": "2ES";
1295
+ MAN: "MAN";
1296
+ PS2: "PS2";
1297
+ ODA: "ODA";
1298
+ PSS: "PSS";
1299
+ EZA: "EZA";
1300
+ "5EZ": "5EZ";
1301
+ "6EZ": "6EZ";
1302
+ DAG: "DAG";
1303
+ PS3: "PS3";
1304
+ "2BA": "2BA";
1305
+ LBA: "LBA";
1306
+ JUB: "JUB";
1307
+ ENO: "ENO";
1308
+ "1MQ": "1MQ";
1309
+ "2MQ": "2MQ";
1310
+ "3MQ": "3MQ";
1311
+ REP: "REP";
1312
+ "4BA": "4BA";
1313
+ LAO: "LAO";
1314
+ }>;
1315
+ chapter: z.ZodNumber;
1316
+ verse: z.ZodNumber;
1317
+ content: z.ZodOptional<z.ZodString>;
1318
+ endChapter: z.ZodOptional<z.ZodNumber>;
1319
+ endVerse: z.ZodOptional<z.ZodNumber>;
1320
+ }, z.core.$strip>>;
1321
+ thisProfileLink: z.ZodString;
1322
+ referenceChapterLink: z.ZodNullable<z.ZodString>;
1323
+ }, z.core.$strip>;
1324
+ export type ApiCommentaryProfile = z.infer<typeof ApiCommentaryProfileSchema>;
379
1325
  /**
380
1326
  * Defines a translation book that is used in the API.
381
1327
  */
382
- export interface ApiTranslationBook extends TranslationBook {
383
- /**
384
- * The number of the first chapter in the book.
385
- */
386
- firstChapterNumber: number;
387
- /**
388
- * The link to the first chapter of the book.
389
- */
390
- firstChapterApiLink: string;
391
- /**
392
- * The number of the last chapter in the book.
393
- */
394
- lastChapterNumber: number;
395
- /**
396
- * The link to the last chapter of the book.
397
- */
398
- lastChapterApiLink: string;
399
- /**
400
- * The number of chapters that the book contains.
401
- */
402
- numberOfChapters: number;
403
- /**
404
- * The number of verses that the book contains.
405
- */
406
- totalNumberOfVerses: number;
407
- }
1328
+ export declare const ApiTranslationBookSchema: z.ZodObject<{
1329
+ id: z.ZodEnum<{
1330
+ GEN: "GEN";
1331
+ EXO: "EXO";
1332
+ LEV: "LEV";
1333
+ NUM: "NUM";
1334
+ DEU: "DEU";
1335
+ JOS: "JOS";
1336
+ JDG: "JDG";
1337
+ RUT: "RUT";
1338
+ "1SA": "1SA";
1339
+ "2SA": "2SA";
1340
+ "1KI": "1KI";
1341
+ "2KI": "2KI";
1342
+ "1CH": "1CH";
1343
+ "2CH": "2CH";
1344
+ EZR: "EZR";
1345
+ NEH: "NEH";
1346
+ EST: "EST";
1347
+ JOB: "JOB";
1348
+ PSA: "PSA";
1349
+ PRO: "PRO";
1350
+ ECC: "ECC";
1351
+ SNG: "SNG";
1352
+ ISA: "ISA";
1353
+ JER: "JER";
1354
+ LAM: "LAM";
1355
+ EZK: "EZK";
1356
+ DAN: "DAN";
1357
+ HOS: "HOS";
1358
+ JOL: "JOL";
1359
+ AMO: "AMO";
1360
+ OBA: "OBA";
1361
+ JON: "JON";
1362
+ MIC: "MIC";
1363
+ NAM: "NAM";
1364
+ HAB: "HAB";
1365
+ ZEP: "ZEP";
1366
+ HAG: "HAG";
1367
+ ZEC: "ZEC";
1368
+ MAL: "MAL";
1369
+ MAT: "MAT";
1370
+ MRK: "MRK";
1371
+ LUK: "LUK";
1372
+ JHN: "JHN";
1373
+ ACT: "ACT";
1374
+ ROM: "ROM";
1375
+ "1CO": "1CO";
1376
+ "2CO": "2CO";
1377
+ GAL: "GAL";
1378
+ EPH: "EPH";
1379
+ PHP: "PHP";
1380
+ COL: "COL";
1381
+ "1TH": "1TH";
1382
+ "2TH": "2TH";
1383
+ "1TI": "1TI";
1384
+ "2TI": "2TI";
1385
+ TIT: "TIT";
1386
+ PHM: "PHM";
1387
+ HEB: "HEB";
1388
+ JAS: "JAS";
1389
+ "1PE": "1PE";
1390
+ "2PE": "2PE";
1391
+ "1JN": "1JN";
1392
+ "2JN": "2JN";
1393
+ "3JN": "3JN";
1394
+ JUD: "JUD";
1395
+ REV: "REV";
1396
+ TOB: "TOB";
1397
+ JDT: "JDT";
1398
+ ESG: "ESG";
1399
+ WIS: "WIS";
1400
+ SIR: "SIR";
1401
+ BAR: "BAR";
1402
+ LJE: "LJE";
1403
+ S3Y: "S3Y";
1404
+ SUS: "SUS";
1405
+ BEL: "BEL";
1406
+ "1MA": "1MA";
1407
+ "2MA": "2MA";
1408
+ "3MA": "3MA";
1409
+ "4MA": "4MA";
1410
+ "1ES": "1ES";
1411
+ "2ES": "2ES";
1412
+ MAN: "MAN";
1413
+ PS2: "PS2";
1414
+ ODA: "ODA";
1415
+ PSS: "PSS";
1416
+ EZA: "EZA";
1417
+ "5EZ": "5EZ";
1418
+ "6EZ": "6EZ";
1419
+ DAG: "DAG";
1420
+ PS3: "PS3";
1421
+ "2BA": "2BA";
1422
+ LBA: "LBA";
1423
+ JUB: "JUB";
1424
+ ENO: "ENO";
1425
+ "1MQ": "1MQ";
1426
+ "2MQ": "2MQ";
1427
+ "3MQ": "3MQ";
1428
+ REP: "REP";
1429
+ "4BA": "4BA";
1430
+ LAO: "LAO";
1431
+ }>;
1432
+ name: z.ZodString;
1433
+ commonName: z.ZodString;
1434
+ title: z.ZodNullable<z.ZodString>;
1435
+ order: z.ZodNumber;
1436
+ isApocryphal: z.ZodOptional<z.ZodBoolean>;
1437
+ firstChapterNumber: z.ZodNumber;
1438
+ firstChapterApiLink: z.ZodString;
1439
+ lastChapterNumber: z.ZodNumber;
1440
+ lastChapterApiLink: z.ZodString;
1441
+ numberOfChapters: z.ZodNumber;
1442
+ totalNumberOfVerses: z.ZodNumber;
1443
+ }, z.core.$strip>;
1444
+ export type ApiTranslationBook = z.infer<typeof ApiTranslationBookSchema>;
408
1445
  /**
409
1446
  * Defines a commentary book that is used in the API.
410
1447
  */
411
- export interface ApiCommentaryBook extends CommentaryBook {
412
- /**
413
- * The number of the first chapter in the book.
414
- *
415
- * Null if the comentary book has no chapters.
416
- */
417
- firstChapterNumber: number | null;
418
- /**
419
- * The link to the first chapter of the book.
420
- *
421
- * Null if the comentary book has no chapters.
422
- */
423
- firstChapterApiLink: string | null;
424
- /**
425
- * The number of the last chapter in the book.
426
- *
427
- * Null if the comentary book has no chapters.
428
- */
429
- lastChapterNumber: number | null;
430
- /**
431
- * The link to the last chapter of the book.
432
- *
433
- * Null if the comentary book has no chapters.
434
- */
435
- lastChapterApiLink: string | null;
436
- /**
437
- * The number of chapters that the book contains.
438
- */
439
- numberOfChapters: number;
440
- /**
441
- * The number of verses that the book contains.
442
- */
443
- totalNumberOfVerses: number;
444
- }
1448
+ export declare const ApiCommentaryBookSchema: z.ZodObject<{
1449
+ id: z.ZodEnum<{
1450
+ GEN: "GEN";
1451
+ EXO: "EXO";
1452
+ LEV: "LEV";
1453
+ NUM: "NUM";
1454
+ DEU: "DEU";
1455
+ JOS: "JOS";
1456
+ JDG: "JDG";
1457
+ RUT: "RUT";
1458
+ "1SA": "1SA";
1459
+ "2SA": "2SA";
1460
+ "1KI": "1KI";
1461
+ "2KI": "2KI";
1462
+ "1CH": "1CH";
1463
+ "2CH": "2CH";
1464
+ EZR: "EZR";
1465
+ NEH: "NEH";
1466
+ EST: "EST";
1467
+ JOB: "JOB";
1468
+ PSA: "PSA";
1469
+ PRO: "PRO";
1470
+ ECC: "ECC";
1471
+ SNG: "SNG";
1472
+ ISA: "ISA";
1473
+ JER: "JER";
1474
+ LAM: "LAM";
1475
+ EZK: "EZK";
1476
+ DAN: "DAN";
1477
+ HOS: "HOS";
1478
+ JOL: "JOL";
1479
+ AMO: "AMO";
1480
+ OBA: "OBA";
1481
+ JON: "JON";
1482
+ MIC: "MIC";
1483
+ NAM: "NAM";
1484
+ HAB: "HAB";
1485
+ ZEP: "ZEP";
1486
+ HAG: "HAG";
1487
+ ZEC: "ZEC";
1488
+ MAL: "MAL";
1489
+ MAT: "MAT";
1490
+ MRK: "MRK";
1491
+ LUK: "LUK";
1492
+ JHN: "JHN";
1493
+ ACT: "ACT";
1494
+ ROM: "ROM";
1495
+ "1CO": "1CO";
1496
+ "2CO": "2CO";
1497
+ GAL: "GAL";
1498
+ EPH: "EPH";
1499
+ PHP: "PHP";
1500
+ COL: "COL";
1501
+ "1TH": "1TH";
1502
+ "2TH": "2TH";
1503
+ "1TI": "1TI";
1504
+ "2TI": "2TI";
1505
+ TIT: "TIT";
1506
+ PHM: "PHM";
1507
+ HEB: "HEB";
1508
+ JAS: "JAS";
1509
+ "1PE": "1PE";
1510
+ "2PE": "2PE";
1511
+ "1JN": "1JN";
1512
+ "2JN": "2JN";
1513
+ "3JN": "3JN";
1514
+ JUD: "JUD";
1515
+ REV: "REV";
1516
+ TOB: "TOB";
1517
+ JDT: "JDT";
1518
+ ESG: "ESG";
1519
+ WIS: "WIS";
1520
+ SIR: "SIR";
1521
+ BAR: "BAR";
1522
+ LJE: "LJE";
1523
+ S3Y: "S3Y";
1524
+ SUS: "SUS";
1525
+ BEL: "BEL";
1526
+ "1MA": "1MA";
1527
+ "2MA": "2MA";
1528
+ "3MA": "3MA";
1529
+ "4MA": "4MA";
1530
+ "1ES": "1ES";
1531
+ "2ES": "2ES";
1532
+ MAN: "MAN";
1533
+ PS2: "PS2";
1534
+ ODA: "ODA";
1535
+ PSS: "PSS";
1536
+ EZA: "EZA";
1537
+ "5EZ": "5EZ";
1538
+ "6EZ": "6EZ";
1539
+ DAG: "DAG";
1540
+ PS3: "PS3";
1541
+ "2BA": "2BA";
1542
+ LBA: "LBA";
1543
+ JUB: "JUB";
1544
+ ENO: "ENO";
1545
+ "1MQ": "1MQ";
1546
+ "2MQ": "2MQ";
1547
+ "3MQ": "3MQ";
1548
+ REP: "REP";
1549
+ "4BA": "4BA";
1550
+ LAO: "LAO";
1551
+ }>;
1552
+ name: z.ZodString;
1553
+ commonName: z.ZodString;
1554
+ introduction: z.ZodOptional<z.ZodString>;
1555
+ introductionSummary: z.ZodOptional<z.ZodString>;
1556
+ order: z.ZodNumber;
1557
+ firstChapterNumber: z.ZodNullable<z.ZodNumber>;
1558
+ firstChapterApiLink: z.ZodNullable<z.ZodString>;
1559
+ lastChapterNumber: z.ZodNullable<z.ZodNumber>;
1560
+ lastChapterApiLink: z.ZodNullable<z.ZodString>;
1561
+ numberOfChapters: z.ZodNumber;
1562
+ totalNumberOfVerses: z.ZodNumber;
1563
+ }, z.core.$strip>;
1564
+ export type ApiCommentaryBook = z.infer<typeof ApiCommentaryBookSchema>;
445
1565
  /**
446
1566
  * Defines an interface that contains information about a book in a dataset.
447
1567
  */
448
- export interface ApiDatasetBook extends DatasetBook {
449
- /**
450
- * The number of the first chapter in the book.
451
- */
452
- firstChapterNumber: number;
453
- /**
454
- * The link to the first chapter of the book.
455
- */
456
- firstChapterApiLink: string;
457
- /**
458
- * The number of the last chapter in the book.
459
- */
460
- lastChapterNumber: number;
461
- /**
462
- * The link to the last chapter of the book.
463
- */
464
- lastChapterApiLink: string;
465
- /**
466
- * The number of chapters that the book contains.
467
- */
468
- numberOfChapters: number;
469
- /**
470
- * The number of verses that the book contains.
471
- */
472
- totalNumberOfVerses: number;
473
- /**
474
- * The number of references that the book contains.
475
- */
476
- totalNumberOfReferences: number;
477
- }
1568
+ export declare const ApiDatasetBookSchema: z.ZodObject<{
1569
+ id: z.ZodEnum<{
1570
+ GEN: "GEN";
1571
+ EXO: "EXO";
1572
+ LEV: "LEV";
1573
+ NUM: "NUM";
1574
+ DEU: "DEU";
1575
+ JOS: "JOS";
1576
+ JDG: "JDG";
1577
+ RUT: "RUT";
1578
+ "1SA": "1SA";
1579
+ "2SA": "2SA";
1580
+ "1KI": "1KI";
1581
+ "2KI": "2KI";
1582
+ "1CH": "1CH";
1583
+ "2CH": "2CH";
1584
+ EZR: "EZR";
1585
+ NEH: "NEH";
1586
+ EST: "EST";
1587
+ JOB: "JOB";
1588
+ PSA: "PSA";
1589
+ PRO: "PRO";
1590
+ ECC: "ECC";
1591
+ SNG: "SNG";
1592
+ ISA: "ISA";
1593
+ JER: "JER";
1594
+ LAM: "LAM";
1595
+ EZK: "EZK";
1596
+ DAN: "DAN";
1597
+ HOS: "HOS";
1598
+ JOL: "JOL";
1599
+ AMO: "AMO";
1600
+ OBA: "OBA";
1601
+ JON: "JON";
1602
+ MIC: "MIC";
1603
+ NAM: "NAM";
1604
+ HAB: "HAB";
1605
+ ZEP: "ZEP";
1606
+ HAG: "HAG";
1607
+ ZEC: "ZEC";
1608
+ MAL: "MAL";
1609
+ MAT: "MAT";
1610
+ MRK: "MRK";
1611
+ LUK: "LUK";
1612
+ JHN: "JHN";
1613
+ ACT: "ACT";
1614
+ ROM: "ROM";
1615
+ "1CO": "1CO";
1616
+ "2CO": "2CO";
1617
+ GAL: "GAL";
1618
+ EPH: "EPH";
1619
+ PHP: "PHP";
1620
+ COL: "COL";
1621
+ "1TH": "1TH";
1622
+ "2TH": "2TH";
1623
+ "1TI": "1TI";
1624
+ "2TI": "2TI";
1625
+ TIT: "TIT";
1626
+ PHM: "PHM";
1627
+ HEB: "HEB";
1628
+ JAS: "JAS";
1629
+ "1PE": "1PE";
1630
+ "2PE": "2PE";
1631
+ "1JN": "1JN";
1632
+ "2JN": "2JN";
1633
+ "3JN": "3JN";
1634
+ JUD: "JUD";
1635
+ REV: "REV";
1636
+ TOB: "TOB";
1637
+ JDT: "JDT";
1638
+ ESG: "ESG";
1639
+ WIS: "WIS";
1640
+ SIR: "SIR";
1641
+ BAR: "BAR";
1642
+ LJE: "LJE";
1643
+ S3Y: "S3Y";
1644
+ SUS: "SUS";
1645
+ BEL: "BEL";
1646
+ "1MA": "1MA";
1647
+ "2MA": "2MA";
1648
+ "3MA": "3MA";
1649
+ "4MA": "4MA";
1650
+ "1ES": "1ES";
1651
+ "2ES": "2ES";
1652
+ MAN: "MAN";
1653
+ PS2: "PS2";
1654
+ ODA: "ODA";
1655
+ PSS: "PSS";
1656
+ EZA: "EZA";
1657
+ "5EZ": "5EZ";
1658
+ "6EZ": "6EZ";
1659
+ DAG: "DAG";
1660
+ PS3: "PS3";
1661
+ "2BA": "2BA";
1662
+ LBA: "LBA";
1663
+ JUB: "JUB";
1664
+ ENO: "ENO";
1665
+ "1MQ": "1MQ";
1666
+ "2MQ": "2MQ";
1667
+ "3MQ": "3MQ";
1668
+ REP: "REP";
1669
+ "4BA": "4BA";
1670
+ LAO: "LAO";
1671
+ }>;
1672
+ order: z.ZodNumber;
1673
+ firstChapterNumber: z.ZodNumber;
1674
+ firstChapterApiLink: z.ZodString;
1675
+ lastChapterNumber: z.ZodNumber;
1676
+ lastChapterApiLink: z.ZodString;
1677
+ numberOfChapters: z.ZodNumber;
1678
+ totalNumberOfVerses: z.ZodNumber;
1679
+ totalNumberOfReferences: z.ZodNumber;
1680
+ }, z.core.$strip>;
1681
+ export type ApiDatasetBook = z.infer<typeof ApiDatasetBookSchema>;
478
1682
  /**
479
1683
  * Defines an interface that contains information about a book chapter.
480
1684
  */
481
- export interface ApiTranslationBookChapter extends TranslationBookChapter {
482
- /**
483
- * The translation information for the book chapter.
484
- */
485
- translation: ApiTranslation;
486
- /**
487
- * The book information for the book chapter.
488
- */
489
- book: ApiTranslationBook;
490
- /**
491
- * The link to this chapter.
492
- */
493
- thisChapterLink: string;
494
- /**
495
- * The link to the next chapter.
496
- * Null if this is the last chapter in the translation.
497
- */
498
- nextChapterApiLink: string | null;
499
- /**
500
- * The links to the audio versions for the next chapter.
501
- * Null if this is the last chapter in the translation.
502
- */
503
- nextChapterAudioLinks: TranslationBookChapterAudioLinks | null;
504
- /**
505
- * The link to the previous chapter.
506
- * Null if this is the first chapter in the translation.
507
- */
508
- previousChapterApiLink: string | null;
509
- /**
510
- * The links to the audio versions for the previous chapter.
511
- * Null if this is the first chapter in the translation.
512
- */
513
- previousChapterAudioLinks: TranslationBookChapterAudioLinks | null;
514
- /**
515
- * The number of verses that the chapter contains.
516
- */
517
- numberOfVerses: number;
518
- }
1685
+ export declare const ApiTranslationBookChapterSchema: z.ZodObject<{
1686
+ chapter: z.ZodLazy<z.ZodObject<{
1687
+ number: z.ZodNumber;
1688
+ content: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
1689
+ type: z.ZodLiteral<"heading">;
1690
+ content: z.ZodArray<z.ZodString>;
1691
+ }, z.core.$strip>, z.ZodObject<{
1692
+ type: z.ZodLiteral<"line_break">;
1693
+ }, z.core.$strip>, z.ZodObject<{
1694
+ type: z.ZodLiteral<"verse">;
1695
+ number: z.ZodNumber;
1696
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
1697
+ text: z.ZodString;
1698
+ poem: z.ZodOptional<z.ZodNumber>;
1699
+ wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
1700
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
1701
+ heading: z.ZodString;
1702
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
1703
+ lineBreak: z.ZodLiteral<true>;
1704
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
1705
+ noteId: z.ZodNumber;
1706
+ }, z.core.$strip>>]>>;
1707
+ }, z.core.$strip>, z.ZodObject<{
1708
+ type: z.ZodLiteral<"hebrew_subtitle">;
1709
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
1710
+ text: z.ZodString;
1711
+ poem: z.ZodOptional<z.ZodNumber>;
1712
+ wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
1713
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
1714
+ noteId: z.ZodNumber;
1715
+ }, z.core.$strip>>]>>;
1716
+ }, z.core.$strip>], "type">>>;
1717
+ footnotes: z.ZodArray<z.ZodLazy<z.ZodObject<{
1718
+ noteId: z.ZodNumber;
1719
+ text: z.ZodString;
1720
+ reference: z.ZodOptional<z.ZodObject<{
1721
+ chapter: z.ZodNumber;
1722
+ verse: z.ZodNumber;
1723
+ }, z.core.$strip>>;
1724
+ caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
1725
+ }, z.core.$strip>>>;
1726
+ }, z.core.$strip>>;
1727
+ thisChapterAudioLinks: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodString>>;
1728
+ translation: z.ZodLazy<z.ZodObject<{
1729
+ id: z.ZodString;
1730
+ name: z.ZodString;
1731
+ website: z.ZodString;
1732
+ licenseUrl: z.ZodString;
1733
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1734
+ licenseNotice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1735
+ shortName: z.ZodOptional<z.ZodString>;
1736
+ englishName: z.ZodString;
1737
+ language: z.ZodString;
1738
+ textDirection: z.ZodEnum<{
1739
+ ltr: "ltr";
1740
+ rtl: "rtl";
1741
+ }>;
1742
+ listOfBooksApiLink: z.ZodString;
1743
+ availableFormats: z.ZodArray<z.ZodEnum<{
1744
+ usfm: "usfm";
1745
+ json: "json";
1746
+ }>>;
1747
+ numberOfBooks: z.ZodNumber;
1748
+ totalNumberOfChapters: z.ZodNumber;
1749
+ totalNumberOfVerses: z.ZodNumber;
1750
+ numberOfApocryphalBooks: z.ZodOptional<z.ZodNumber>;
1751
+ totalNumberOfApocryphalChapters: z.ZodOptional<z.ZodNumber>;
1752
+ totalNumberOfApocryphalVerses: z.ZodOptional<z.ZodNumber>;
1753
+ languageName: z.ZodOptional<z.ZodString>;
1754
+ languageEnglishName: z.ZodOptional<z.ZodString>;
1755
+ completeTranslationApiLink: z.ZodOptional<z.ZodString>;
1756
+ }, z.core.$strip>>;
1757
+ book: z.ZodLazy<z.ZodObject<{
1758
+ id: z.ZodEnum<{
1759
+ GEN: "GEN";
1760
+ EXO: "EXO";
1761
+ LEV: "LEV";
1762
+ NUM: "NUM";
1763
+ DEU: "DEU";
1764
+ JOS: "JOS";
1765
+ JDG: "JDG";
1766
+ RUT: "RUT";
1767
+ "1SA": "1SA";
1768
+ "2SA": "2SA";
1769
+ "1KI": "1KI";
1770
+ "2KI": "2KI";
1771
+ "1CH": "1CH";
1772
+ "2CH": "2CH";
1773
+ EZR: "EZR";
1774
+ NEH: "NEH";
1775
+ EST: "EST";
1776
+ JOB: "JOB";
1777
+ PSA: "PSA";
1778
+ PRO: "PRO";
1779
+ ECC: "ECC";
1780
+ SNG: "SNG";
1781
+ ISA: "ISA";
1782
+ JER: "JER";
1783
+ LAM: "LAM";
1784
+ EZK: "EZK";
1785
+ DAN: "DAN";
1786
+ HOS: "HOS";
1787
+ JOL: "JOL";
1788
+ AMO: "AMO";
1789
+ OBA: "OBA";
1790
+ JON: "JON";
1791
+ MIC: "MIC";
1792
+ NAM: "NAM";
1793
+ HAB: "HAB";
1794
+ ZEP: "ZEP";
1795
+ HAG: "HAG";
1796
+ ZEC: "ZEC";
1797
+ MAL: "MAL";
1798
+ MAT: "MAT";
1799
+ MRK: "MRK";
1800
+ LUK: "LUK";
1801
+ JHN: "JHN";
1802
+ ACT: "ACT";
1803
+ ROM: "ROM";
1804
+ "1CO": "1CO";
1805
+ "2CO": "2CO";
1806
+ GAL: "GAL";
1807
+ EPH: "EPH";
1808
+ PHP: "PHP";
1809
+ COL: "COL";
1810
+ "1TH": "1TH";
1811
+ "2TH": "2TH";
1812
+ "1TI": "1TI";
1813
+ "2TI": "2TI";
1814
+ TIT: "TIT";
1815
+ PHM: "PHM";
1816
+ HEB: "HEB";
1817
+ JAS: "JAS";
1818
+ "1PE": "1PE";
1819
+ "2PE": "2PE";
1820
+ "1JN": "1JN";
1821
+ "2JN": "2JN";
1822
+ "3JN": "3JN";
1823
+ JUD: "JUD";
1824
+ REV: "REV";
1825
+ TOB: "TOB";
1826
+ JDT: "JDT";
1827
+ ESG: "ESG";
1828
+ WIS: "WIS";
1829
+ SIR: "SIR";
1830
+ BAR: "BAR";
1831
+ LJE: "LJE";
1832
+ S3Y: "S3Y";
1833
+ SUS: "SUS";
1834
+ BEL: "BEL";
1835
+ "1MA": "1MA";
1836
+ "2MA": "2MA";
1837
+ "3MA": "3MA";
1838
+ "4MA": "4MA";
1839
+ "1ES": "1ES";
1840
+ "2ES": "2ES";
1841
+ MAN: "MAN";
1842
+ PS2: "PS2";
1843
+ ODA: "ODA";
1844
+ PSS: "PSS";
1845
+ EZA: "EZA";
1846
+ "5EZ": "5EZ";
1847
+ "6EZ": "6EZ";
1848
+ DAG: "DAG";
1849
+ PS3: "PS3";
1850
+ "2BA": "2BA";
1851
+ LBA: "LBA";
1852
+ JUB: "JUB";
1853
+ ENO: "ENO";
1854
+ "1MQ": "1MQ";
1855
+ "2MQ": "2MQ";
1856
+ "3MQ": "3MQ";
1857
+ REP: "REP";
1858
+ "4BA": "4BA";
1859
+ LAO: "LAO";
1860
+ }>;
1861
+ name: z.ZodString;
1862
+ commonName: z.ZodString;
1863
+ title: z.ZodNullable<z.ZodString>;
1864
+ order: z.ZodNumber;
1865
+ isApocryphal: z.ZodOptional<z.ZodBoolean>;
1866
+ firstChapterNumber: z.ZodNumber;
1867
+ firstChapterApiLink: z.ZodString;
1868
+ lastChapterNumber: z.ZodNumber;
1869
+ lastChapterApiLink: z.ZodString;
1870
+ numberOfChapters: z.ZodNumber;
1871
+ totalNumberOfVerses: z.ZodNumber;
1872
+ }, z.core.$strip>>;
1873
+ thisChapterLink: z.ZodString;
1874
+ nextChapterApiLink: z.ZodNullable<z.ZodString>;
1875
+ nextChapterAudioLinks: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
1876
+ previousChapterApiLink: z.ZodNullable<z.ZodString>;
1877
+ previousChapterAudioLinks: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
1878
+ numberOfVerses: z.ZodNumber;
1879
+ }, z.core.$strip>;
1880
+ export type ApiTranslationBookChapter = z.infer<typeof ApiTranslationBookChapterSchema>;
519
1881
  /**
520
1882
  * Defines an interface that contains information about a book chapter.
521
1883
  */
522
- export interface ApiCommentaryBookChapter extends CommentaryBookChapter {
523
- /**
524
- * The commentary information for the book chapter.
525
- */
526
- commentary: ApiCommentary;
527
- /**
528
- * The book information for the book chapter.
529
- */
530
- book: ApiCommentaryBook;
531
- /**
532
- * The link to this chapter.
533
- */
534
- thisChapterLink: string;
535
- /**
536
- * The link to the next chapter.
537
- * Null if this is the last chapter in the translation.
538
- */
539
- nextChapterApiLink: string | null;
540
- /**
541
- * The link to the previous chapter.
542
- * Null if this is the first chapter in the translation.
543
- */
544
- previousChapterApiLink: string | null;
545
- /**
546
- * The number of verses that the chapter contains.
547
- */
548
- numberOfVerses: number;
549
- }
1884
+ export declare const ApiCommentaryBookChapterSchema: z.ZodObject<{
1885
+ chapter: z.ZodLazy<z.ZodObject<{
1886
+ number: z.ZodNumber;
1887
+ introduction: z.ZodOptional<z.ZodString>;
1888
+ content: z.ZodArray<z.ZodLazy<z.ZodObject<{
1889
+ type: z.ZodLiteral<"verse">;
1890
+ number: z.ZodNumber;
1891
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
1892
+ text: z.ZodString;
1893
+ poem: z.ZodOptional<z.ZodNumber>;
1894
+ wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
1895
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
1896
+ heading: z.ZodString;
1897
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
1898
+ lineBreak: z.ZodLiteral<true>;
1899
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
1900
+ noteId: z.ZodNumber;
1901
+ }, z.core.$strip>>]>>;
1902
+ }, z.core.$strip>>>;
1903
+ }, z.core.$strip>>;
1904
+ commentary: z.ZodLazy<z.ZodObject<{
1905
+ id: z.ZodString;
1906
+ name: z.ZodString;
1907
+ website: z.ZodString;
1908
+ licenseUrl: z.ZodString;
1909
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1910
+ englishName: z.ZodString;
1911
+ language: z.ZodString;
1912
+ textDirection: z.ZodEnum<{
1913
+ ltr: "ltr";
1914
+ rtl: "rtl";
1915
+ }>;
1916
+ listOfBooksApiLink: z.ZodString;
1917
+ listOfProfilesApiLink: z.ZodString;
1918
+ availableFormats: z.ZodArray<z.ZodEnum<{
1919
+ usfm: "usfm";
1920
+ json: "json";
1921
+ }>>;
1922
+ numberOfBooks: z.ZodNumber;
1923
+ totalNumberOfChapters: z.ZodNumber;
1924
+ totalNumberOfVerses: z.ZodNumber;
1925
+ totalNumberOfProfiles: z.ZodNumber;
1926
+ languageName: z.ZodOptional<z.ZodString>;
1927
+ languageEnglishName: z.ZodOptional<z.ZodString>;
1928
+ }, z.core.$strip>>;
1929
+ book: z.ZodLazy<z.ZodObject<{
1930
+ id: z.ZodEnum<{
1931
+ GEN: "GEN";
1932
+ EXO: "EXO";
1933
+ LEV: "LEV";
1934
+ NUM: "NUM";
1935
+ DEU: "DEU";
1936
+ JOS: "JOS";
1937
+ JDG: "JDG";
1938
+ RUT: "RUT";
1939
+ "1SA": "1SA";
1940
+ "2SA": "2SA";
1941
+ "1KI": "1KI";
1942
+ "2KI": "2KI";
1943
+ "1CH": "1CH";
1944
+ "2CH": "2CH";
1945
+ EZR: "EZR";
1946
+ NEH: "NEH";
1947
+ EST: "EST";
1948
+ JOB: "JOB";
1949
+ PSA: "PSA";
1950
+ PRO: "PRO";
1951
+ ECC: "ECC";
1952
+ SNG: "SNG";
1953
+ ISA: "ISA";
1954
+ JER: "JER";
1955
+ LAM: "LAM";
1956
+ EZK: "EZK";
1957
+ DAN: "DAN";
1958
+ HOS: "HOS";
1959
+ JOL: "JOL";
1960
+ AMO: "AMO";
1961
+ OBA: "OBA";
1962
+ JON: "JON";
1963
+ MIC: "MIC";
1964
+ NAM: "NAM";
1965
+ HAB: "HAB";
1966
+ ZEP: "ZEP";
1967
+ HAG: "HAG";
1968
+ ZEC: "ZEC";
1969
+ MAL: "MAL";
1970
+ MAT: "MAT";
1971
+ MRK: "MRK";
1972
+ LUK: "LUK";
1973
+ JHN: "JHN";
1974
+ ACT: "ACT";
1975
+ ROM: "ROM";
1976
+ "1CO": "1CO";
1977
+ "2CO": "2CO";
1978
+ GAL: "GAL";
1979
+ EPH: "EPH";
1980
+ PHP: "PHP";
1981
+ COL: "COL";
1982
+ "1TH": "1TH";
1983
+ "2TH": "2TH";
1984
+ "1TI": "1TI";
1985
+ "2TI": "2TI";
1986
+ TIT: "TIT";
1987
+ PHM: "PHM";
1988
+ HEB: "HEB";
1989
+ JAS: "JAS";
1990
+ "1PE": "1PE";
1991
+ "2PE": "2PE";
1992
+ "1JN": "1JN";
1993
+ "2JN": "2JN";
1994
+ "3JN": "3JN";
1995
+ JUD: "JUD";
1996
+ REV: "REV";
1997
+ TOB: "TOB";
1998
+ JDT: "JDT";
1999
+ ESG: "ESG";
2000
+ WIS: "WIS";
2001
+ SIR: "SIR";
2002
+ BAR: "BAR";
2003
+ LJE: "LJE";
2004
+ S3Y: "S3Y";
2005
+ SUS: "SUS";
2006
+ BEL: "BEL";
2007
+ "1MA": "1MA";
2008
+ "2MA": "2MA";
2009
+ "3MA": "3MA";
2010
+ "4MA": "4MA";
2011
+ "1ES": "1ES";
2012
+ "2ES": "2ES";
2013
+ MAN: "MAN";
2014
+ PS2: "PS2";
2015
+ ODA: "ODA";
2016
+ PSS: "PSS";
2017
+ EZA: "EZA";
2018
+ "5EZ": "5EZ";
2019
+ "6EZ": "6EZ";
2020
+ DAG: "DAG";
2021
+ PS3: "PS3";
2022
+ "2BA": "2BA";
2023
+ LBA: "LBA";
2024
+ JUB: "JUB";
2025
+ ENO: "ENO";
2026
+ "1MQ": "1MQ";
2027
+ "2MQ": "2MQ";
2028
+ "3MQ": "3MQ";
2029
+ REP: "REP";
2030
+ "4BA": "4BA";
2031
+ LAO: "LAO";
2032
+ }>;
2033
+ name: z.ZodString;
2034
+ commonName: z.ZodString;
2035
+ introduction: z.ZodOptional<z.ZodString>;
2036
+ introductionSummary: z.ZodOptional<z.ZodString>;
2037
+ order: z.ZodNumber;
2038
+ firstChapterNumber: z.ZodNullable<z.ZodNumber>;
2039
+ firstChapterApiLink: z.ZodNullable<z.ZodString>;
2040
+ lastChapterNumber: z.ZodNullable<z.ZodNumber>;
2041
+ lastChapterApiLink: z.ZodNullable<z.ZodString>;
2042
+ numberOfChapters: z.ZodNumber;
2043
+ totalNumberOfVerses: z.ZodNumber;
2044
+ }, z.core.$strip>>;
2045
+ thisChapterLink: z.ZodString;
2046
+ nextChapterApiLink: z.ZodNullable<z.ZodString>;
2047
+ previousChapterApiLink: z.ZodNullable<z.ZodString>;
2048
+ numberOfVerses: z.ZodNumber;
2049
+ }, z.core.$strip>;
2050
+ export type ApiCommentaryBookChapter = z.infer<typeof ApiCommentaryBookChapterSchema>;
550
2051
  /**
551
2052
  * Defines an interface that contains information about a book chapter.
552
2053
  */
553
- export interface ApiDatasetBookChapter extends DatasetBookChapter {
554
- /**
555
- * The dataset information for the book chapter.
556
- */
557
- dataset: ApiDataset;
558
- /**
559
- * The book information for the book chapter.
560
- */
561
- book: ApiDatasetBook;
562
- /**
563
- * The link to this chapter.
564
- */
565
- thisChapterLink: string;
566
- /**
567
- * The link to the next chapter.
568
- * Null if this is the last chapter in the translation.
569
- */
570
- nextChapterApiLink: string | null;
571
- /**
572
- * The link to the previous chapter.
573
- * Null if this is the first chapter in the translation.
574
- */
575
- previousChapterApiLink: string | null;
576
- /**
577
- * The number of verses that the chapter contains.
578
- */
579
- numberOfVerses: number;
580
- /**
581
- * The number of references that the chapter contains.
582
- */
583
- numberOfReferences: number;
584
- }
585
- export interface ApiTranslationBookChapterAudio {
586
- /**
587
- * The chapter that the audio is for.
588
- */
589
- chapter: ApiTranslationBookChapter;
590
- /**
591
- * The link that the audio should be placed at.
592
- */
593
- link: string;
594
- /**
595
- * The original URL of the audio.
596
- */
597
- originalUrl: string;
598
- }
599
- export interface ApiCommentaryProfileContent {
600
- /**
601
- * The commentary information for the profile.
602
- */
603
- commentary: ApiCommentary;
604
- /**
605
- * The information about the profile.
606
- */
607
- profile: ApiCommentaryProfile;
608
- /**
609
- * The content of the profile.
610
- */
611
- content: string[];
612
- }
2054
+ export declare const ApiDatasetBookChapterSchema: z.ZodObject<{
2055
+ chapter: z.ZodLazy<z.ZodObject<{
2056
+ number: z.ZodNumber;
2057
+ content: z.ZodArray<z.ZodLazy<z.ZodObject<{
2058
+ verse: z.ZodNumber;
2059
+ references: z.ZodArray<z.ZodLazy<z.ZodObject<{
2060
+ book: z.ZodEnum<{
2061
+ GEN: "GEN";
2062
+ EXO: "EXO";
2063
+ LEV: "LEV";
2064
+ NUM: "NUM";
2065
+ DEU: "DEU";
2066
+ JOS: "JOS";
2067
+ JDG: "JDG";
2068
+ RUT: "RUT";
2069
+ "1SA": "1SA";
2070
+ "2SA": "2SA";
2071
+ "1KI": "1KI";
2072
+ "2KI": "2KI";
2073
+ "1CH": "1CH";
2074
+ "2CH": "2CH";
2075
+ EZR: "EZR";
2076
+ NEH: "NEH";
2077
+ EST: "EST";
2078
+ JOB: "JOB";
2079
+ PSA: "PSA";
2080
+ PRO: "PRO";
2081
+ ECC: "ECC";
2082
+ SNG: "SNG";
2083
+ ISA: "ISA";
2084
+ JER: "JER";
2085
+ LAM: "LAM";
2086
+ EZK: "EZK";
2087
+ DAN: "DAN";
2088
+ HOS: "HOS";
2089
+ JOL: "JOL";
2090
+ AMO: "AMO";
2091
+ OBA: "OBA";
2092
+ JON: "JON";
2093
+ MIC: "MIC";
2094
+ NAM: "NAM";
2095
+ HAB: "HAB";
2096
+ ZEP: "ZEP";
2097
+ HAG: "HAG";
2098
+ ZEC: "ZEC";
2099
+ MAL: "MAL";
2100
+ MAT: "MAT";
2101
+ MRK: "MRK";
2102
+ LUK: "LUK";
2103
+ JHN: "JHN";
2104
+ ACT: "ACT";
2105
+ ROM: "ROM";
2106
+ "1CO": "1CO";
2107
+ "2CO": "2CO";
2108
+ GAL: "GAL";
2109
+ EPH: "EPH";
2110
+ PHP: "PHP";
2111
+ COL: "COL";
2112
+ "1TH": "1TH";
2113
+ "2TH": "2TH";
2114
+ "1TI": "1TI";
2115
+ "2TI": "2TI";
2116
+ TIT: "TIT";
2117
+ PHM: "PHM";
2118
+ HEB: "HEB";
2119
+ JAS: "JAS";
2120
+ "1PE": "1PE";
2121
+ "2PE": "2PE";
2122
+ "1JN": "1JN";
2123
+ "2JN": "2JN";
2124
+ "3JN": "3JN";
2125
+ JUD: "JUD";
2126
+ REV: "REV";
2127
+ TOB: "TOB";
2128
+ JDT: "JDT";
2129
+ ESG: "ESG";
2130
+ WIS: "WIS";
2131
+ SIR: "SIR";
2132
+ BAR: "BAR";
2133
+ LJE: "LJE";
2134
+ S3Y: "S3Y";
2135
+ SUS: "SUS";
2136
+ BEL: "BEL";
2137
+ "1MA": "1MA";
2138
+ "2MA": "2MA";
2139
+ "3MA": "3MA";
2140
+ "4MA": "4MA";
2141
+ "1ES": "1ES";
2142
+ "2ES": "2ES";
2143
+ MAN: "MAN";
2144
+ PS2: "PS2";
2145
+ ODA: "ODA";
2146
+ PSS: "PSS";
2147
+ EZA: "EZA";
2148
+ "5EZ": "5EZ";
2149
+ "6EZ": "6EZ";
2150
+ DAG: "DAG";
2151
+ PS3: "PS3";
2152
+ "2BA": "2BA";
2153
+ LBA: "LBA";
2154
+ JUB: "JUB";
2155
+ ENO: "ENO";
2156
+ "1MQ": "1MQ";
2157
+ "2MQ": "2MQ";
2158
+ "3MQ": "3MQ";
2159
+ REP: "REP";
2160
+ "4BA": "4BA";
2161
+ LAO: "LAO";
2162
+ }>;
2163
+ chapter: z.ZodNumber;
2164
+ verse: z.ZodNumber;
2165
+ content: z.ZodOptional<z.ZodString>;
2166
+ endChapter: z.ZodOptional<z.ZodNumber>;
2167
+ endVerse: z.ZodOptional<z.ZodNumber>;
2168
+ score: z.ZodNumber;
2169
+ }, z.core.$strip>>>;
2170
+ }, z.core.$strip>>>;
2171
+ }, z.core.$strip>>;
2172
+ dataset: z.ZodLazy<z.ZodObject<{
2173
+ id: z.ZodString;
2174
+ name: z.ZodString;
2175
+ website: z.ZodString;
2176
+ licenseUrl: z.ZodString;
2177
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2178
+ englishName: z.ZodString;
2179
+ language: z.ZodString;
2180
+ textDirection: z.ZodEnum<{
2181
+ ltr: "ltr";
2182
+ rtl: "rtl";
2183
+ }>;
2184
+ listOfBooksApiLink: z.ZodString;
2185
+ availableFormats: z.ZodArray<z.ZodLiteral<"json">>;
2186
+ numberOfBooks: z.ZodNumber;
2187
+ totalNumberOfChapters: z.ZodNumber;
2188
+ totalNumberOfVerses: z.ZodNumber;
2189
+ totalNumberOfReferences: z.ZodNumber;
2190
+ languageName: z.ZodOptional<z.ZodString>;
2191
+ languageEnglishName: z.ZodOptional<z.ZodString>;
2192
+ }, z.core.$strip>>;
2193
+ book: z.ZodLazy<z.ZodObject<{
2194
+ id: z.ZodEnum<{
2195
+ GEN: "GEN";
2196
+ EXO: "EXO";
2197
+ LEV: "LEV";
2198
+ NUM: "NUM";
2199
+ DEU: "DEU";
2200
+ JOS: "JOS";
2201
+ JDG: "JDG";
2202
+ RUT: "RUT";
2203
+ "1SA": "1SA";
2204
+ "2SA": "2SA";
2205
+ "1KI": "1KI";
2206
+ "2KI": "2KI";
2207
+ "1CH": "1CH";
2208
+ "2CH": "2CH";
2209
+ EZR: "EZR";
2210
+ NEH: "NEH";
2211
+ EST: "EST";
2212
+ JOB: "JOB";
2213
+ PSA: "PSA";
2214
+ PRO: "PRO";
2215
+ ECC: "ECC";
2216
+ SNG: "SNG";
2217
+ ISA: "ISA";
2218
+ JER: "JER";
2219
+ LAM: "LAM";
2220
+ EZK: "EZK";
2221
+ DAN: "DAN";
2222
+ HOS: "HOS";
2223
+ JOL: "JOL";
2224
+ AMO: "AMO";
2225
+ OBA: "OBA";
2226
+ JON: "JON";
2227
+ MIC: "MIC";
2228
+ NAM: "NAM";
2229
+ HAB: "HAB";
2230
+ ZEP: "ZEP";
2231
+ HAG: "HAG";
2232
+ ZEC: "ZEC";
2233
+ MAL: "MAL";
2234
+ MAT: "MAT";
2235
+ MRK: "MRK";
2236
+ LUK: "LUK";
2237
+ JHN: "JHN";
2238
+ ACT: "ACT";
2239
+ ROM: "ROM";
2240
+ "1CO": "1CO";
2241
+ "2CO": "2CO";
2242
+ GAL: "GAL";
2243
+ EPH: "EPH";
2244
+ PHP: "PHP";
2245
+ COL: "COL";
2246
+ "1TH": "1TH";
2247
+ "2TH": "2TH";
2248
+ "1TI": "1TI";
2249
+ "2TI": "2TI";
2250
+ TIT: "TIT";
2251
+ PHM: "PHM";
2252
+ HEB: "HEB";
2253
+ JAS: "JAS";
2254
+ "1PE": "1PE";
2255
+ "2PE": "2PE";
2256
+ "1JN": "1JN";
2257
+ "2JN": "2JN";
2258
+ "3JN": "3JN";
2259
+ JUD: "JUD";
2260
+ REV: "REV";
2261
+ TOB: "TOB";
2262
+ JDT: "JDT";
2263
+ ESG: "ESG";
2264
+ WIS: "WIS";
2265
+ SIR: "SIR";
2266
+ BAR: "BAR";
2267
+ LJE: "LJE";
2268
+ S3Y: "S3Y";
2269
+ SUS: "SUS";
2270
+ BEL: "BEL";
2271
+ "1MA": "1MA";
2272
+ "2MA": "2MA";
2273
+ "3MA": "3MA";
2274
+ "4MA": "4MA";
2275
+ "1ES": "1ES";
2276
+ "2ES": "2ES";
2277
+ MAN: "MAN";
2278
+ PS2: "PS2";
2279
+ ODA: "ODA";
2280
+ PSS: "PSS";
2281
+ EZA: "EZA";
2282
+ "5EZ": "5EZ";
2283
+ "6EZ": "6EZ";
2284
+ DAG: "DAG";
2285
+ PS3: "PS3";
2286
+ "2BA": "2BA";
2287
+ LBA: "LBA";
2288
+ JUB: "JUB";
2289
+ ENO: "ENO";
2290
+ "1MQ": "1MQ";
2291
+ "2MQ": "2MQ";
2292
+ "3MQ": "3MQ";
2293
+ REP: "REP";
2294
+ "4BA": "4BA";
2295
+ LAO: "LAO";
2296
+ }>;
2297
+ order: z.ZodNumber;
2298
+ firstChapterNumber: z.ZodNumber;
2299
+ firstChapterApiLink: z.ZodString;
2300
+ lastChapterNumber: z.ZodNumber;
2301
+ lastChapterApiLink: z.ZodString;
2302
+ numberOfChapters: z.ZodNumber;
2303
+ totalNumberOfVerses: z.ZodNumber;
2304
+ totalNumberOfReferences: z.ZodNumber;
2305
+ }, z.core.$strip>>;
2306
+ thisChapterLink: z.ZodString;
2307
+ nextChapterApiLink: z.ZodNullable<z.ZodString>;
2308
+ previousChapterApiLink: z.ZodNullable<z.ZodString>;
2309
+ numberOfVerses: z.ZodNumber;
2310
+ numberOfReferences: z.ZodNumber;
2311
+ }, z.core.$strip>;
2312
+ export type ApiDatasetBookChapter = z.infer<typeof ApiDatasetBookChapterSchema>;
2313
+ export declare const ApiTranslationBookChapterAudioSchema: z.ZodObject<{
2314
+ chapter: z.ZodLazy<z.ZodObject<{
2315
+ chapter: z.ZodLazy<z.ZodObject<{
2316
+ number: z.ZodNumber;
2317
+ content: z.ZodArray<z.ZodLazy<z.ZodDiscriminatedUnion<[z.ZodObject<{
2318
+ type: z.ZodLiteral<"heading">;
2319
+ content: z.ZodArray<z.ZodString>;
2320
+ }, z.core.$strip>, z.ZodObject<{
2321
+ type: z.ZodLiteral<"line_break">;
2322
+ }, z.core.$strip>, z.ZodObject<{
2323
+ type: z.ZodLiteral<"verse">;
2324
+ number: z.ZodNumber;
2325
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
2326
+ text: z.ZodString;
2327
+ poem: z.ZodOptional<z.ZodNumber>;
2328
+ wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
2329
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
2330
+ heading: z.ZodString;
2331
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
2332
+ lineBreak: z.ZodLiteral<true>;
2333
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
2334
+ noteId: z.ZodNumber;
2335
+ }, z.core.$strip>>]>>;
2336
+ }, z.core.$strip>, z.ZodObject<{
2337
+ type: z.ZodLiteral<"hebrew_subtitle">;
2338
+ content: z.ZodArray<z.ZodUnion<readonly [z.ZodString, z.ZodLazy<z.ZodObject<{
2339
+ text: z.ZodString;
2340
+ poem: z.ZodOptional<z.ZodNumber>;
2341
+ wordsOfJesus: z.ZodOptional<z.ZodBoolean>;
2342
+ }, z.core.$strip>>, z.ZodLazy<z.ZodObject<{
2343
+ noteId: z.ZodNumber;
2344
+ }, z.core.$strip>>]>>;
2345
+ }, z.core.$strip>], "type">>>;
2346
+ footnotes: z.ZodArray<z.ZodLazy<z.ZodObject<{
2347
+ noteId: z.ZodNumber;
2348
+ text: z.ZodString;
2349
+ reference: z.ZodOptional<z.ZodObject<{
2350
+ chapter: z.ZodNumber;
2351
+ verse: z.ZodNumber;
2352
+ }, z.core.$strip>>;
2353
+ caller: z.ZodUnion<readonly [z.ZodLiteral<"+">, z.ZodString, z.ZodNull]>;
2354
+ }, z.core.$strip>>>;
2355
+ }, z.core.$strip>>;
2356
+ thisChapterAudioLinks: z.ZodLazy<z.ZodRecord<z.ZodString, z.ZodString>>;
2357
+ translation: z.ZodLazy<z.ZodObject<{
2358
+ id: z.ZodString;
2359
+ name: z.ZodString;
2360
+ website: z.ZodString;
2361
+ licenseUrl: z.ZodString;
2362
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2363
+ licenseNotice: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2364
+ shortName: z.ZodOptional<z.ZodString>;
2365
+ englishName: z.ZodString;
2366
+ language: z.ZodString;
2367
+ textDirection: z.ZodEnum<{
2368
+ ltr: "ltr";
2369
+ rtl: "rtl";
2370
+ }>;
2371
+ listOfBooksApiLink: z.ZodString;
2372
+ availableFormats: z.ZodArray<z.ZodEnum<{
2373
+ usfm: "usfm";
2374
+ json: "json";
2375
+ }>>;
2376
+ numberOfBooks: z.ZodNumber;
2377
+ totalNumberOfChapters: z.ZodNumber;
2378
+ totalNumberOfVerses: z.ZodNumber;
2379
+ numberOfApocryphalBooks: z.ZodOptional<z.ZodNumber>;
2380
+ totalNumberOfApocryphalChapters: z.ZodOptional<z.ZodNumber>;
2381
+ totalNumberOfApocryphalVerses: z.ZodOptional<z.ZodNumber>;
2382
+ languageName: z.ZodOptional<z.ZodString>;
2383
+ languageEnglishName: z.ZodOptional<z.ZodString>;
2384
+ completeTranslationApiLink: z.ZodOptional<z.ZodString>;
2385
+ }, z.core.$strip>>;
2386
+ book: z.ZodLazy<z.ZodObject<{
2387
+ id: z.ZodEnum<{
2388
+ GEN: "GEN";
2389
+ EXO: "EXO";
2390
+ LEV: "LEV";
2391
+ NUM: "NUM";
2392
+ DEU: "DEU";
2393
+ JOS: "JOS";
2394
+ JDG: "JDG";
2395
+ RUT: "RUT";
2396
+ "1SA": "1SA";
2397
+ "2SA": "2SA";
2398
+ "1KI": "1KI";
2399
+ "2KI": "2KI";
2400
+ "1CH": "1CH";
2401
+ "2CH": "2CH";
2402
+ EZR: "EZR";
2403
+ NEH: "NEH";
2404
+ EST: "EST";
2405
+ JOB: "JOB";
2406
+ PSA: "PSA";
2407
+ PRO: "PRO";
2408
+ ECC: "ECC";
2409
+ SNG: "SNG";
2410
+ ISA: "ISA";
2411
+ JER: "JER";
2412
+ LAM: "LAM";
2413
+ EZK: "EZK";
2414
+ DAN: "DAN";
2415
+ HOS: "HOS";
2416
+ JOL: "JOL";
2417
+ AMO: "AMO";
2418
+ OBA: "OBA";
2419
+ JON: "JON";
2420
+ MIC: "MIC";
2421
+ NAM: "NAM";
2422
+ HAB: "HAB";
2423
+ ZEP: "ZEP";
2424
+ HAG: "HAG";
2425
+ ZEC: "ZEC";
2426
+ MAL: "MAL";
2427
+ MAT: "MAT";
2428
+ MRK: "MRK";
2429
+ LUK: "LUK";
2430
+ JHN: "JHN";
2431
+ ACT: "ACT";
2432
+ ROM: "ROM";
2433
+ "1CO": "1CO";
2434
+ "2CO": "2CO";
2435
+ GAL: "GAL";
2436
+ EPH: "EPH";
2437
+ PHP: "PHP";
2438
+ COL: "COL";
2439
+ "1TH": "1TH";
2440
+ "2TH": "2TH";
2441
+ "1TI": "1TI";
2442
+ "2TI": "2TI";
2443
+ TIT: "TIT";
2444
+ PHM: "PHM";
2445
+ HEB: "HEB";
2446
+ JAS: "JAS";
2447
+ "1PE": "1PE";
2448
+ "2PE": "2PE";
2449
+ "1JN": "1JN";
2450
+ "2JN": "2JN";
2451
+ "3JN": "3JN";
2452
+ JUD: "JUD";
2453
+ REV: "REV";
2454
+ TOB: "TOB";
2455
+ JDT: "JDT";
2456
+ ESG: "ESG";
2457
+ WIS: "WIS";
2458
+ SIR: "SIR";
2459
+ BAR: "BAR";
2460
+ LJE: "LJE";
2461
+ S3Y: "S3Y";
2462
+ SUS: "SUS";
2463
+ BEL: "BEL";
2464
+ "1MA": "1MA";
2465
+ "2MA": "2MA";
2466
+ "3MA": "3MA";
2467
+ "4MA": "4MA";
2468
+ "1ES": "1ES";
2469
+ "2ES": "2ES";
2470
+ MAN: "MAN";
2471
+ PS2: "PS2";
2472
+ ODA: "ODA";
2473
+ PSS: "PSS";
2474
+ EZA: "EZA";
2475
+ "5EZ": "5EZ";
2476
+ "6EZ": "6EZ";
2477
+ DAG: "DAG";
2478
+ PS3: "PS3";
2479
+ "2BA": "2BA";
2480
+ LBA: "LBA";
2481
+ JUB: "JUB";
2482
+ ENO: "ENO";
2483
+ "1MQ": "1MQ";
2484
+ "2MQ": "2MQ";
2485
+ "3MQ": "3MQ";
2486
+ REP: "REP";
2487
+ "4BA": "4BA";
2488
+ LAO: "LAO";
2489
+ }>;
2490
+ name: z.ZodString;
2491
+ commonName: z.ZodString;
2492
+ title: z.ZodNullable<z.ZodString>;
2493
+ order: z.ZodNumber;
2494
+ isApocryphal: z.ZodOptional<z.ZodBoolean>;
2495
+ firstChapterNumber: z.ZodNumber;
2496
+ firstChapterApiLink: z.ZodString;
2497
+ lastChapterNumber: z.ZodNumber;
2498
+ lastChapterApiLink: z.ZodString;
2499
+ numberOfChapters: z.ZodNumber;
2500
+ totalNumberOfVerses: z.ZodNumber;
2501
+ }, z.core.$strip>>;
2502
+ thisChapterLink: z.ZodString;
2503
+ nextChapterApiLink: z.ZodNullable<z.ZodString>;
2504
+ nextChapterAudioLinks: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2505
+ previousChapterApiLink: z.ZodNullable<z.ZodString>;
2506
+ previousChapterAudioLinks: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodString>>;
2507
+ numberOfVerses: z.ZodNumber;
2508
+ }, z.core.$strip>>;
2509
+ link: z.ZodString;
2510
+ originalUrl: z.ZodString;
2511
+ }, z.core.$strip>;
2512
+ export type ApiTranslationBookChapterAudio = z.infer<typeof ApiTranslationBookChapterAudioSchema>;
2513
+ export declare const ApiCommentaryProfileContentSchema: z.ZodObject<{
2514
+ commentary: z.ZodLazy<z.ZodObject<{
2515
+ id: z.ZodString;
2516
+ name: z.ZodString;
2517
+ website: z.ZodString;
2518
+ licenseUrl: z.ZodString;
2519
+ licenseNotes: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2520
+ englishName: z.ZodString;
2521
+ language: z.ZodString;
2522
+ textDirection: z.ZodEnum<{
2523
+ ltr: "ltr";
2524
+ rtl: "rtl";
2525
+ }>;
2526
+ listOfBooksApiLink: z.ZodString;
2527
+ listOfProfilesApiLink: z.ZodString;
2528
+ availableFormats: z.ZodArray<z.ZodEnum<{
2529
+ usfm: "usfm";
2530
+ json: "json";
2531
+ }>>;
2532
+ numberOfBooks: z.ZodNumber;
2533
+ totalNumberOfChapters: z.ZodNumber;
2534
+ totalNumberOfVerses: z.ZodNumber;
2535
+ totalNumberOfProfiles: z.ZodNumber;
2536
+ languageName: z.ZodOptional<z.ZodString>;
2537
+ languageEnglishName: z.ZodOptional<z.ZodString>;
2538
+ }, z.core.$strip>>;
2539
+ profile: z.ZodLazy<z.ZodObject<{
2540
+ id: z.ZodString;
2541
+ subject: z.ZodString;
2542
+ reference: z.ZodNullable<z.ZodObject<{
2543
+ book: z.ZodEnum<{
2544
+ GEN: "GEN";
2545
+ EXO: "EXO";
2546
+ LEV: "LEV";
2547
+ NUM: "NUM";
2548
+ DEU: "DEU";
2549
+ JOS: "JOS";
2550
+ JDG: "JDG";
2551
+ RUT: "RUT";
2552
+ "1SA": "1SA";
2553
+ "2SA": "2SA";
2554
+ "1KI": "1KI";
2555
+ "2KI": "2KI";
2556
+ "1CH": "1CH";
2557
+ "2CH": "2CH";
2558
+ EZR: "EZR";
2559
+ NEH: "NEH";
2560
+ EST: "EST";
2561
+ JOB: "JOB";
2562
+ PSA: "PSA";
2563
+ PRO: "PRO";
2564
+ ECC: "ECC";
2565
+ SNG: "SNG";
2566
+ ISA: "ISA";
2567
+ JER: "JER";
2568
+ LAM: "LAM";
2569
+ EZK: "EZK";
2570
+ DAN: "DAN";
2571
+ HOS: "HOS";
2572
+ JOL: "JOL";
2573
+ AMO: "AMO";
2574
+ OBA: "OBA";
2575
+ JON: "JON";
2576
+ MIC: "MIC";
2577
+ NAM: "NAM";
2578
+ HAB: "HAB";
2579
+ ZEP: "ZEP";
2580
+ HAG: "HAG";
2581
+ ZEC: "ZEC";
2582
+ MAL: "MAL";
2583
+ MAT: "MAT";
2584
+ MRK: "MRK";
2585
+ LUK: "LUK";
2586
+ JHN: "JHN";
2587
+ ACT: "ACT";
2588
+ ROM: "ROM";
2589
+ "1CO": "1CO";
2590
+ "2CO": "2CO";
2591
+ GAL: "GAL";
2592
+ EPH: "EPH";
2593
+ PHP: "PHP";
2594
+ COL: "COL";
2595
+ "1TH": "1TH";
2596
+ "2TH": "2TH";
2597
+ "1TI": "1TI";
2598
+ "2TI": "2TI";
2599
+ TIT: "TIT";
2600
+ PHM: "PHM";
2601
+ HEB: "HEB";
2602
+ JAS: "JAS";
2603
+ "1PE": "1PE";
2604
+ "2PE": "2PE";
2605
+ "1JN": "1JN";
2606
+ "2JN": "2JN";
2607
+ "3JN": "3JN";
2608
+ JUD: "JUD";
2609
+ REV: "REV";
2610
+ TOB: "TOB";
2611
+ JDT: "JDT";
2612
+ ESG: "ESG";
2613
+ WIS: "WIS";
2614
+ SIR: "SIR";
2615
+ BAR: "BAR";
2616
+ LJE: "LJE";
2617
+ S3Y: "S3Y";
2618
+ SUS: "SUS";
2619
+ BEL: "BEL";
2620
+ "1MA": "1MA";
2621
+ "2MA": "2MA";
2622
+ "3MA": "3MA";
2623
+ "4MA": "4MA";
2624
+ "1ES": "1ES";
2625
+ "2ES": "2ES";
2626
+ MAN: "MAN";
2627
+ PS2: "PS2";
2628
+ ODA: "ODA";
2629
+ PSS: "PSS";
2630
+ EZA: "EZA";
2631
+ "5EZ": "5EZ";
2632
+ "6EZ": "6EZ";
2633
+ DAG: "DAG";
2634
+ PS3: "PS3";
2635
+ "2BA": "2BA";
2636
+ LBA: "LBA";
2637
+ JUB: "JUB";
2638
+ ENO: "ENO";
2639
+ "1MQ": "1MQ";
2640
+ "2MQ": "2MQ";
2641
+ "3MQ": "3MQ";
2642
+ REP: "REP";
2643
+ "4BA": "4BA";
2644
+ LAO: "LAO";
2645
+ }>;
2646
+ chapter: z.ZodNumber;
2647
+ verse: z.ZodNumber;
2648
+ content: z.ZodOptional<z.ZodString>;
2649
+ endChapter: z.ZodOptional<z.ZodNumber>;
2650
+ endVerse: z.ZodOptional<z.ZodNumber>;
2651
+ }, z.core.$strip>>;
2652
+ thisProfileLink: z.ZodString;
2653
+ referenceChapterLink: z.ZodNullable<z.ZodString>;
2654
+ }, z.core.$strip>>;
2655
+ content: z.ZodArray<z.ZodString>;
2656
+ }, z.core.$strip>;
2657
+ export type ApiCommentaryProfileContent = z.infer<typeof ApiCommentaryProfileContentSchema>;
613
2658
  /**
614
2659
  * The options for generating the API.
615
2660
  */