@youversion/platform-core 1.11.0 → 1.12.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.cts CHANGED
@@ -320,12 +320,13 @@ declare class ApiClient {
320
320
  */
321
321
  declare class BibleClient {
322
322
  private client;
323
- private versionIdSchema;
324
- private bookSchema;
325
- private chapterSchema;
326
- private verseSchema;
327
- private languageRangesSchema;
328
- private booleanSchema;
323
+ private static readonly versionIdSchema;
324
+ private static readonly bookSchema;
325
+ private static readonly chapterSchema;
326
+ private static readonly verseSchema;
327
+ private static readonly languageRangesSchema;
328
+ private static readonly booleanSchema;
329
+ private static readonly GetVersionsOptionsSchema;
329
330
  /**
330
331
  * Creates a new BibleClient instance.
331
332
  * @param client The API client to use for requests.
@@ -338,10 +339,7 @@ declare class BibleClient {
338
339
  * @param license_id - Optional license ID to filter versions by license.
339
340
  * @returns A promise that resolves to a collection of BibleVersion objects.
340
341
  */
341
- getVersions(language_ranges: string | string[], license_id?: string | number, options?: {
342
- page_size?: number;
343
- page_token?: string;
344
- }): Promise<Collection<BibleVersion>>;
342
+ getVersions(language_ranges: string | string[], license_id?: string | number, options?: z.infer<typeof BibleClient.GetVersionsOptionsSchema>): Promise<Collection<BibleVersion>>;
345
343
  /**
346
344
  * Fetches a Bible version by its ID.
347
345
  * @param id The version ID.
package/dist/index.d.ts CHANGED
@@ -320,12 +320,13 @@ declare class ApiClient {
320
320
  */
321
321
  declare class BibleClient {
322
322
  private client;
323
- private versionIdSchema;
324
- private bookSchema;
325
- private chapterSchema;
326
- private verseSchema;
327
- private languageRangesSchema;
328
- private booleanSchema;
323
+ private static readonly versionIdSchema;
324
+ private static readonly bookSchema;
325
+ private static readonly chapterSchema;
326
+ private static readonly verseSchema;
327
+ private static readonly languageRangesSchema;
328
+ private static readonly booleanSchema;
329
+ private static readonly GetVersionsOptionsSchema;
329
330
  /**
330
331
  * Creates a new BibleClient instance.
331
332
  * @param client The API client to use for requests.
@@ -338,10 +339,7 @@ declare class BibleClient {
338
339
  * @param license_id - Optional license ID to filter versions by license.
339
340
  * @returns A promise that resolves to a collection of BibleVersion objects.
340
341
  */
341
- getVersions(language_ranges: string | string[], license_id?: string | number, options?: {
342
- page_size?: number;
343
- page_token?: string;
344
- }): Promise<Collection<BibleVersion>>;
342
+ getVersions(language_ranges: string | string[], license_id?: string | number, options?: z.infer<typeof BibleClient.GetVersionsOptionsSchema>): Promise<Collection<BibleVersion>>;
345
343
  /**
346
344
  * Fetches a Bible version by its ID.
347
345
  * @param id The version ID.