waha-shared 1.0.319 → 1.0.326

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.
@@ -0,0 +1,19 @@
1
+ {
2
+ "description": "This file is auto-generated by scripts/prep. Do not edit manually.",
3
+ "$schema": "http://json-schema.org/draft-07/schema#",
4
+ "type": "object",
5
+ "properties": {
6
+ "$schema": { "type": "string" },
7
+ "data": {
8
+ "$schema": "https://json-schema.org/draft/2020-12/schema",
9
+ "type": "object",
10
+ "propertyNames": { "type": "string", "pattern": "^[a-z]{3}$" },
11
+ "additionalProperties": {
12
+ "type": "array",
13
+ "items": { "type": "string" },
14
+ "description": "Language code (3-letter ISO code) containing assets"
15
+ }
16
+ }
17
+ },
18
+ "required": ["$schema", "data"]
19
+ }
@@ -0,0 +1,3 @@
1
+ import { z } from 'zod';
2
+ export declare const LanguageAssets: z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>;
3
+ export type LanguageAssets = z.infer<typeof LanguageAssets>;
@@ -0,0 +1,7 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LanguageAssets = void 0;
4
+ const zod_1 = require("zod");
5
+ exports.LanguageAssets = zod_1.z.record(zod_1.z.string().regex(new RegExp('^[a-z]{3}$')), zod_1.z
6
+ .array(zod_1.z.string())
7
+ .describe('Language code (3-letter ISO code) containing assets'));
@@ -17,7 +17,11 @@ export declare const languages: {
17
17
  questionSource: "unknown" | "recorded" | "mms" | "elevenLabs";
18
18
  script: "arabic" | "bengali" | "burmese" | "chinese" | "cyrillic" | "devanagari" | "geez" | "georgian" | "greek" | "gujarati" | "gurmukhi" | "hebrew" | "japanese" | "kannada" | "khmer" | "korean" | "latin" | "malayalam" | "tamil" | "telugu" | "thai" | "uyghur";
19
19
  uuid: string;
20
- audioAssetVersion?: number | undefined;
20
+ assetVersions?: {
21
+ dbs?: number | undefined;
22
+ dmc?: number | undefined;
23
+ cast?: number | undefined;
24
+ } | undefined;
21
25
  bcpLanguageId?: string | undefined;
22
26
  bible?: string | undefined;
23
27
  bibleFallbacks?: string[] | undefined;
@@ -55,7 +55,9 @@
55
55
  {
56
56
  "languageId": "ach",
57
57
  "appInterface": false,
58
- "audioAssetVersion": 2,
58
+ "assetVersions": {
59
+ "dbs": 2
60
+ },
59
61
  "bcpLanguageId": "ach",
60
62
  "bible": "Aco85",
61
63
  "crowdinId": "ach",
@@ -114,7 +116,9 @@
114
116
  {
115
117
  "languageId": "aeb",
116
118
  "appInterface": false,
117
- "audioAssetVersion": 2,
119
+ "assetVersions": {
120
+ "dbs": 2
121
+ },
118
122
  "bcpLanguageId": "ar-TN",
119
123
  "bible": "NAV",
120
124
  "bridgeLanguages": {
@@ -152,7 +156,9 @@
152
156
  {
153
157
  "languageId": "afb",
154
158
  "appInterface": false,
155
- "audioAssetVersion": 2,
159
+ "assetVersions": {
160
+ "dbs": 2
161
+ },
156
162
  "bcpLanguageId": "ar-AE",
157
163
  "bible": "NAV",
158
164
  "bridgeLanguages": {
@@ -260,7 +266,9 @@
260
266
  {
261
267
  "languageId": "ais",
262
268
  "appInterface": false,
263
- "audioAssetVersion": 2,
269
+ "assetVersions": {
270
+ "dbs": 2
271
+ },
264
272
  "bcpLanguageId": "ar-SY",
265
273
  "bible": "GNA",
266
274
  "bridgeLanguages": {
@@ -360,7 +368,9 @@
360
368
  {
361
369
  "languageId": "apa",
362
370
  "appInterface": false,
363
- "audioAssetVersion": 2,
371
+ "assetVersions": {
372
+ "dbs": 2
373
+ },
364
374
  "bcpLanguageId": "ar-PS",
365
375
  "bible": "SAB",
366
376
  "bridgeLanguages": {
@@ -396,7 +406,9 @@
396
406
  {
397
407
  "languageId": "apc",
398
408
  "appInterface": false,
399
- "audioAssetVersion": 2,
409
+ "assetVersions": {
410
+ "dbs": 2
411
+ },
400
412
  "bcpLanguageId": "ar-LB",
401
413
  "bible": "NAV",
402
414
  "bridgeLanguages": {
@@ -642,7 +654,9 @@
642
654
  {
643
655
  "languageId": "ary",
644
656
  "appInterface": false,
645
- "audioAssetVersion": 2,
657
+ "assetVersions": {
658
+ "dbs": 2
659
+ },
646
660
  "bcpLanguageId": "ar-MA",
647
661
  "bible": "NAV",
648
662
  "bridgeLanguages": {
@@ -692,7 +706,9 @@
692
706
  {
693
707
  "languageId": "arz",
694
708
  "appInterface": false,
695
- "audioAssetVersion": 2,
709
+ "assetVersions": {
710
+ "dbs": 2
711
+ },
696
712
  "bcpLanguageId": "ar-EG",
697
713
  "bible": "NAV",
698
714
  "bridgeLanguages": {
@@ -869,7 +885,9 @@
869
885
  {
870
886
  "languageId": "ayl",
871
887
  "appInterface": false,
872
- "audioAssetVersion": 2,
888
+ "assetVersions": {
889
+ "dbs": 2
890
+ },
873
891
  "bcpLanguageId": "ar-LY",
874
892
  "bible": "NAV",
875
893
  "bridgeLanguages": {
@@ -1440,7 +1458,9 @@
1440
1458
  {
1441
1459
  "languageId": "ceb",
1442
1460
  "appInterface": true,
1443
- "audioAssetVersion": 2,
1461
+ "assetVersions": {
1462
+ "dbs": 2
1463
+ },
1444
1464
  "bcpLanguageId": "ceb",
1445
1465
  "bible": "CCB",
1446
1466
  "crowdinId": "ceb",
@@ -1623,7 +1643,9 @@
1623
1643
  {
1624
1644
  "languageId": "ckb",
1625
1645
  "appInterface": true,
1626
- "audioAssetVersion": 2,
1646
+ "assetVersions": {
1647
+ "dbs": 2
1648
+ },
1627
1649
  "bcpLanguageId": "ckb",
1628
1650
  "bible": "OKSS",
1629
1651
  "crowdinId": "ckb",
@@ -2059,7 +2081,9 @@
2059
2081
  {
2060
2082
  "languageId": "eng",
2061
2083
  "appInterface": true,
2062
- "audioAssetVersion": 2,
2084
+ "assetVersions": {
2085
+ "dbs": 2
2086
+ },
2063
2087
  "bcpLanguageId": "en",
2064
2088
  "bible": "NLT",
2065
2089
  "crowdinId": "en",
@@ -2382,7 +2406,9 @@
2382
2406
  {
2383
2407
  "languageId": "fra",
2384
2408
  "appInterface": true,
2385
- "audioAssetVersion": 2,
2409
+ "assetVersions": {
2410
+ "dbs": 2
2411
+ },
2386
2412
  "bcpLanguageId": "fr",
2387
2413
  "bible": "PDV",
2388
2414
  "crowdinId": "fr",
@@ -3040,7 +3066,9 @@
3040
3066
  {
3041
3067
  "languageId": "hic",
3042
3068
  "appInterface": false,
3043
- "audioAssetVersion": 2,
3069
+ "assetVersions": {
3070
+ "dbs": 2
3071
+ },
3044
3072
  "bcpLanguageId": "ur-IN",
3045
3073
  "bible": "URDGVH",
3046
3074
  "bridgeLanguages": {
@@ -3098,7 +3126,9 @@
3098
3126
  {
3099
3127
  "languageId": "hin",
3100
3128
  "appInterface": true,
3101
- "audioAssetVersion": 2,
3129
+ "assetVersions": {
3130
+ "dbs": 2
3131
+ },
3102
3132
  "bcpLanguageId": "hi",
3103
3133
  "bible": "HINOVBSI",
3104
3134
  "crowdinId": "hi",
@@ -3293,7 +3323,9 @@
3293
3323
  {
3294
3324
  "languageId": "hye",
3295
3325
  "appInterface": true,
3296
- "audioAssetVersion": 4,
3326
+ "assetVersions": {
3327
+ "dbs": 4
3328
+ },
3297
3329
  "bible": "NEB",
3298
3330
  "crowdinId": "hy-AM",
3299
3331
  "curriculum": {
@@ -3441,7 +3473,9 @@
3441
3473
  {
3442
3474
  "languageId": "ind",
3443
3475
  "appInterface": true,
3444
- "audioAssetVersion": 3,
3476
+ "assetVersions": {
3477
+ "dbs": 3
3478
+ },
3445
3479
  "bcpLanguageId": "id",
3446
3480
  "bible": "TSI",
3447
3481
  "crowdinId": "inq",
@@ -3808,7 +3842,9 @@
3808
3842
  {
3809
3843
  "languageId": "kat",
3810
3844
  "appInterface": false,
3811
- "audioAssetVersion": 2,
3845
+ "assetVersions": {
3846
+ "dbs": 2
3847
+ },
3812
3848
  "bcpLanguageId": "ka",
3813
3849
  "bible": "GEO02",
3814
3850
  "crowdinId": "ka",
@@ -3985,7 +4021,9 @@
3985
4021
  {
3986
4022
  "languageId": "khm",
3987
4023
  "appInterface": true,
3988
- "audioAssetVersion": 2,
4024
+ "assetVersions": {
4025
+ "dbs": 2
4026
+ },
3989
4027
  "bcpLanguageId": "km",
3990
4028
  "bible": "KHSV05",
3991
4029
  "crowdinId": "km",
@@ -4090,7 +4128,9 @@
4090
4128
  {
4091
4129
  "languageId": "kmr",
4092
4130
  "appInterface": false,
4093
- "audioAssetVersion": 3,
4131
+ "assetVersions": {
4132
+ "dbs": 3
4133
+ },
4094
4134
  "bcpLanguageId": "ku",
4095
4135
  "bible": "KK",
4096
4136
  "crowdinId": "kmr",
@@ -4222,7 +4262,9 @@
4222
4262
  {
4223
4263
  "languageId": "kox",
4224
4264
  "appInterface": false,
4225
- "audioAssetVersion": 2,
4265
+ "assetVersions": {
4266
+ "dbs": 2
4267
+ },
4226
4268
  "bible": "NKCT",
4227
4269
  "bridgeLanguages": {
4228
4270
  "ftbs": "kor",
@@ -4629,7 +4671,9 @@
4629
4671
  {
4630
4672
  "languageId": "mar",
4631
4673
  "appInterface": true,
4632
- "audioAssetVersion": 2,
4674
+ "assetVersions": {
4675
+ "dbs": 2
4676
+ },
4633
4677
  "bcpLanguageId": "mr",
4634
4678
  "bible": "MARVBSI",
4635
4679
  "crowdinId": "mr",
@@ -4722,7 +4766,9 @@
4722
4766
  {
4723
4767
  "languageId": "mfe",
4724
4768
  "appInterface": false,
4725
- "audioAssetVersion": 2,
4769
+ "assetVersions": {
4770
+ "dbs": 2
4771
+ },
4726
4772
  "bcpLanguageId": "mfe",
4727
4773
  "bible": "NTKM2009",
4728
4774
  "bridgeLanguages": {
@@ -4782,7 +4828,9 @@
4782
4828
  {
4783
4829
  "languageId": "mlg",
4784
4830
  "appInterface": true,
4785
- "audioAssetVersion": 2,
4831
+ "assetVersions": {
4832
+ "dbs": 2
4833
+ },
4786
4834
  "bcpLanguageId": "mg",
4787
4835
  "bible": "MPB",
4788
4836
  "crowdinId": "mg",
@@ -5828,7 +5876,9 @@
5828
5876
  {
5829
5877
  "languageId": "por",
5830
5878
  "appInterface": true,
5831
- "audioAssetVersion": 2,
5879
+ "assetVersions": {
5880
+ "dbs": 2
5881
+ },
5832
5882
  "bcpLanguageId": "pt-BR",
5833
5883
  "bible": "NVI-PT",
5834
5884
  "crowdinId": "pt-PT",
@@ -5862,7 +5912,9 @@
5862
5912
  {
5863
5913
  "languageId": "prs",
5864
5914
  "appInterface": false,
5865
- "audioAssetVersion": 2,
5915
+ "assetVersions": {
5916
+ "dbs": 2
5917
+ },
5866
5918
  "bcpLanguageId": "prs",
5867
5919
  "bible": "TDV08",
5868
5920
  "crowdinId": "fa-AF",
@@ -5923,7 +5975,9 @@
5923
5975
  {
5924
5976
  "languageId": "qak",
5925
5977
  "appInterface": false,
5926
- "audioAssetVersion": 2,
5978
+ "assetVersions": {
5979
+ "dbs": 2
5980
+ },
5927
5981
  "bcpLanguageId": "ku-Arab",
5928
5982
  "bible": "AKAB",
5929
5983
  "bridgeLanguages": {
@@ -6027,7 +6081,9 @@
6027
6081
  {
6028
6082
  "languageId": "rfa",
6029
6083
  "appInterface": false,
6030
- "audioAssetVersion": 2,
6084
+ "assetVersions": {
6085
+ "dbs": 2
6086
+ },
6031
6087
  "bcpLanguageId": "rif-Arab",
6032
6088
  "bible": "RIF-A",
6033
6089
  "bridgeLanguages": {
@@ -6060,7 +6116,9 @@
6060
6116
  {
6061
6117
  "languageId": "rif",
6062
6118
  "appInterface": false,
6063
- "audioAssetVersion": 2,
6119
+ "assetVersions": {
6120
+ "dbs": 2
6121
+ },
6064
6122
  "bcpLanguageId": "rif",
6065
6123
  "bible": "RIF-L",
6066
6124
  "bridgeLanguages": {
@@ -6192,7 +6250,9 @@
6192
6250
  {
6193
6251
  "languageId": "ron",
6194
6252
  "appInterface": true,
6195
- "audioAssetVersion": 2,
6253
+ "assetVersions": {
6254
+ "dbs": 2
6255
+ },
6196
6256
  "bcpLanguageId": "ro",
6197
6257
  "bible": "NTR",
6198
6258
  "crowdinId": "ro",
@@ -6249,7 +6309,9 @@
6249
6309
  {
6250
6310
  "languageId": "rus",
6251
6311
  "appInterface": true,
6252
- "audioAssetVersion": 2,
6312
+ "assetVersions": {
6313
+ "dbs": 2
6314
+ },
6253
6315
  "bcpLanguageId": "ru",
6254
6316
  "bible": "NRT",
6255
6317
  "crowdinId": "ru",
@@ -6534,7 +6596,9 @@
6534
6596
  {
6535
6597
  "languageId": "shf",
6536
6598
  "appInterface": false,
6537
- "audioAssetVersion": 2,
6599
+ "assetVersions": {
6600
+ "dbs": 2
6601
+ },
6538
6602
  "bcpLanguageId": "shi-Latn",
6539
6603
  "bible": "COHT-L",
6540
6604
  "bridgeLanguages": {
@@ -6568,7 +6632,9 @@
6568
6632
  {
6569
6633
  "languageId": "shi",
6570
6634
  "appInterface": false,
6571
- "audioAssetVersion": 2,
6635
+ "assetVersions": {
6636
+ "dbs": 2
6637
+ },
6572
6638
  "bcpLanguageId": "shi-Arab",
6573
6639
  "bible": "COHT-A",
6574
6640
  "bridgeLanguages": {
@@ -6829,7 +6895,9 @@
6829
6895
  {
6830
6896
  "languageId": "som",
6831
6897
  "appInterface": false,
6832
- "audioAssetVersion": 2,
6898
+ "assetVersions": {
6899
+ "dbs": 2
6900
+ },
6833
6901
  "bcpLanguageId": "so",
6834
6902
  "bible": "SOMSIM",
6835
6903
  "crowdinId": "so",
@@ -6909,7 +6977,9 @@
6909
6977
  {
6910
6978
  "languageId": "spa",
6911
6979
  "appInterface": true,
6912
- "audioAssetVersion": 2,
6980
+ "assetVersions": {
6981
+ "dbs": 2
6982
+ },
6913
6983
  "bcpLanguageId": "es-419",
6914
6984
  "bible": "NBLA",
6915
6985
  "crowdinId": "es-419",
@@ -7066,7 +7136,9 @@
7066
7136
  {
7067
7137
  "languageId": "swe",
7068
7138
  "appInterface": true,
7069
- "audioAssetVersion": 2,
7139
+ "assetVersions": {
7140
+ "dbs": 2
7141
+ },
7070
7142
  "bcpLanguageId": "sv",
7071
7143
  "bible": "SFB15",
7072
7144
  "crowdinId": "sv-SE",
@@ -7100,7 +7172,9 @@
7100
7172
  {
7101
7173
  "languageId": "swz",
7102
7174
  "appInterface": true,
7103
- "audioAssetVersion": 2,
7175
+ "assetVersions": {
7176
+ "dbs": 2
7177
+ },
7104
7178
  "bible": "NENO",
7105
7179
  "crowdinId": "sw-TZ",
7106
7180
  "curriculum": {
@@ -7253,7 +7327,9 @@
7253
7327
  {
7254
7328
  "languageId": "tel",
7255
7329
  "appInterface": true,
7256
- "audioAssetVersion": 2,
7330
+ "assetVersions": {
7331
+ "dbs": 2
7332
+ },
7257
7333
  "bcpLanguageId": "te",
7258
7334
  "bible": "TELUBSI",
7259
7335
  "crowdinId": "te",
@@ -7599,7 +7675,9 @@
7599
7675
  {
7600
7676
  "languageId": "tur",
7601
7677
  "appInterface": true,
7602
- "audioAssetVersion": 2,
7678
+ "assetVersions": {
7679
+ "dbs": 2
7680
+ },
7603
7681
  "bcpLanguageId": "tr",
7604
7682
  "bible": "TCL02",
7605
7683
  "crowdinId": "tr",
@@ -7680,7 +7758,9 @@
7680
7758
  {
7681
7759
  "languageId": "tzm",
7682
7760
  "appInterface": false,
7683
- "audioAssetVersion": 3,
7761
+ "assetVersions": {
7762
+ "dbs": 3
7763
+ },
7684
7764
  "bcpLanguageId": "tzm",
7685
7765
  "bible": "TZM",
7686
7766
  "bridgeLanguages": {
@@ -7739,7 +7819,9 @@
7739
7819
  {
7740
7820
  "languageId": "uig",
7741
7821
  "appInterface": true,
7742
- "audioAssetVersion": 2,
7822
+ "assetVersions": {
7823
+ "dbs": 2
7824
+ },
7743
7825
  "bcpLanguageId": "ug",
7744
7826
  "bible": "HZUT",
7745
7827
  "crowdinId": "ug",
@@ -7771,7 +7853,9 @@
7771
7853
  {
7772
7854
  "languageId": "ukr",
7773
7855
  "appInterface": true,
7774
- "audioAssetVersion": 2,
7856
+ "assetVersions": {
7857
+ "dbs": 2
7858
+ },
7775
7859
  "bcpLanguageId": "uk",
7776
7860
  "bible": "UBIO",
7777
7861
  "crowdinId": "uk",
@@ -7829,7 +7913,9 @@
7829
7913
  {
7830
7914
  "languageId": "urd",
7831
7915
  "appInterface": true,
7832
- "audioAssetVersion": 2,
7916
+ "assetVersions": {
7917
+ "dbs": 2
7918
+ },
7833
7919
  "bcpLanguageId": "ur",
7834
7920
  "bible": "URDGVU",
7835
7921
  "crowdinId": "ur-PK",
@@ -7958,7 +8044,9 @@
7958
8044
  {
7959
8045
  "languageId": "vie",
7960
8046
  "appInterface": true,
7961
- "audioAssetVersion": 2,
8047
+ "assetVersions": {
8048
+ "dbs": 2
8049
+ },
7962
8050
  "bcpLanguageId": "vi",
7963
8051
  "bible": "OVCB",
7964
8052
  "crowdinId": "vi",
@@ -8289,7 +8377,9 @@
8289
8377
  {
8290
8378
  "languageId": "zsm",
8291
8379
  "appInterface": true,
8292
- "audioAssetVersion": 2,
8380
+ "assetVersions": {
8381
+ "dbs": 2
8382
+ },
8293
8383
  "bcpLanguageId": "ms",
8294
8384
  "bible": "AVB",
8295
8385
  "crowdinId": "ms",
@@ -19,9 +19,30 @@
19
19
  "description": "The name of a language in English, i.e. \"Spanish\". This helps Waha team members identify the language."
20
20
  },
21
21
  "appInterface": { "type": "boolean" },
22
- "audioAssetVersion": {
23
- "description": "The version number of the audio assets directory. When set, audio files will be looked up in a versioned directory (e.g. full_lessons2) instead of the default (full_lessons).",
24
- "type": "number"
22
+ "assetVersions": {
23
+ "type": "object",
24
+ "properties": {
25
+ "dbs": {
26
+ "description": "Asset version for Foundations/Topics/GDMC audio lessons.",
27
+ "type": "integer",
28
+ "minimum": -9007199254740991,
29
+ "maximum": 9007199254740991
30
+ },
31
+ "dmc": {
32
+ "description": "Asset version for Training lessons, including compressed training videos, music-ified narration audio, and production-ready disciple making course video lessons.",
33
+ "type": "integer",
34
+ "minimum": -9007199254740991,
35
+ "maximum": 9007199254740991
36
+ },
37
+ "cast": {
38
+ "description": "Asset version for cast-ready Foundations/Topics/GMDC video lessons.",
39
+ "type": "integer",
40
+ "minimum": -9007199254740991,
41
+ "maximum": 9007199254740991
42
+ }
43
+ },
44
+ "additionalProperties": false,
45
+ "description": "Version numbers for various language assets that determine where files will be generated and retrieved. Omitting will always look for all assets in `full_lessons`. Adding for a category will generate and look for assets in `full_lessons${versionNumber}`."
25
46
  },
26
47
  "bcpLanguageId": {
27
48
  "type": "string",
@@ -42,11 +42,20 @@ export declare const BibleModifier: z.ZodObject<{
42
42
  bibleId: z.ZodString;
43
43
  }, z.core.$strip>;
44
44
  export type BibleModifier = z.infer<typeof BibleModifier>;
45
+ export declare const AssetVersions: z.ZodObject<{
46
+ dbs: z.ZodOptional<z.ZodInt>;
47
+ dmc: z.ZodOptional<z.ZodInt>;
48
+ cast: z.ZodOptional<z.ZodInt>;
49
+ }, z.core.$strip>;
45
50
  export declare const Languages: z.ZodArray<z.ZodObject<{
46
51
  languageId: z.ZodString;
47
52
  exonym: z.ZodString;
48
53
  appInterface: z.ZodBoolean;
49
- audioAssetVersion: z.ZodOptional<z.ZodNumber>;
54
+ assetVersions: z.ZodOptional<z.ZodObject<{
55
+ dbs: z.ZodOptional<z.ZodInt>;
56
+ dmc: z.ZodOptional<z.ZodInt>;
57
+ cast: z.ZodOptional<z.ZodInt>;
58
+ }, z.core.$strip>>;
50
59
  bcpLanguageId: z.ZodOptional<z.ZodString>;
51
60
  bible: z.ZodOptional<z.ZodString>;
52
61
  bibleFallbacks: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Languages = exports.BibleModifier = exports.BridgeLanguages = exports.Status = exports.BibleTestament = exports.SetCategory = void 0;
3
+ exports.Languages = exports.AssetVersions = exports.BibleModifier = exports.BridgeLanguages = exports.Status = exports.BibleTestament = exports.SetCategory = void 0;
4
4
  const zod_1 = require("zod");
5
5
  exports.SetCategory = zod_1.z.enum(['Foundations', 'Topics', 'WahaTraining']);
6
6
  exports.BibleTestament = zod_1.z.enum(['OT', 'NT']);
@@ -49,6 +49,22 @@ exports.BibleModifier = zod_1.z.object({
49
49
  .describe('What to do with the bible. "replace" swaps the primary bible. "concat" adds this bible alongside the primary (both are used in the lesson).'),
50
50
  bibleId: zod_1.z.string().describe('The bible translation ID to use.'),
51
51
  });
52
+ exports.AssetVersions = zod_1.z
53
+ .object({
54
+ dbs: zod_1.z
55
+ .int()
56
+ .optional()
57
+ .describe('Asset version for Foundations/Topics/GDMC audio lessons.'),
58
+ dmc: zod_1.z
59
+ .int()
60
+ .optional()
61
+ .describe('Asset version for Training lessons, including compressed training videos, music-ified narration audio, and production-ready disciple making course video lessons.'),
62
+ cast: zod_1.z
63
+ .int()
64
+ .optional()
65
+ .describe('Asset version for cast-ready Foundations/Topics/GMDC video lessons.'),
66
+ })
67
+ .describe('Version numbers for various language assets that determine where files will be generated and retrieved. Omitting will always look for all assets in `full_lessons`. Adding for a category will generate and look for assets in `full_lessons${versionNumber}`.');
52
68
  exports.Languages = zod_1.z.array(zod_1.z
53
69
  .object({
54
70
  languageId: zod_1.z
@@ -58,10 +74,7 @@ exports.Languages = zod_1.z.array(zod_1.z
58
74
  .string()
59
75
  .describe('The name of a language in English, i.e. "Spanish". This helps Waha team members identify the language.'),
60
76
  appInterface: zod_1.z.boolean(),
61
- audioAssetVersion: zod_1.z
62
- .number()
63
- .optional()
64
- .describe('The version number of the audio assets directory. When set, audio files will be looked up in a versioned directory (e.g. full_lessons2) instead of the default (full_lessons).'),
77
+ assetVersions: exports.AssetVersions.optional(),
65
78
  bcpLanguageId: zod_1.z
66
79
  .string()
67
80
  .describe("A language ID used for iOS's screen reader support. Should be in BCP 47 format. Should only be included if language is supported by iOS's screen reader. List of supported languages can be found here: https://www.apple.com/ios/feature-availability/")