waha-shared 1.0.211 → 1.0.213

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 (124) hide show
  1. package/dist/data/areas/areas.schema.json +53 -19
  2. package/dist/data/areas/areas.zod.d.ts +12 -15
  3. package/dist/data/aslTimestamps/aslTimestamps.schema.json +11 -18
  4. package/dist/data/aslTimestamps/aslTimestamps.zod.d.ts +34 -4
  5. package/dist/data/bibleAudios/bibleAudios.schema.json +11 -14
  6. package/dist/data/bibleAudios/bibleAudios.zod.d.ts +15 -11
  7. package/dist/data/bibleAudios/bibleAudios.zod.js +4 -5
  8. package/dist/data/bibleAudios/index.d.ts +2 -5
  9. package/dist/data/bibleBooks/bibleBooks.schema.json +50 -71
  10. package/dist/data/bibleBooks/bibleBooks.zod.d.ts +51 -5
  11. package/dist/data/bibleBooks/index.d.ts +2 -2
  12. package/dist/data/bibleChaptersList/bibleChaptersList.schema.json +2 -5
  13. package/dist/data/bibleChaptersList/bibleChaptersList.zod.d.ts +1 -1
  14. package/dist/data/bibleStatuses/bibleStatuses.json +110 -2
  15. package/dist/data/bibleStatuses/bibleStatuses.schema.json +40 -46
  16. package/dist/data/bibleStatuses/bibleStatuses.zod.d.ts +25 -5
  17. package/dist/data/bibleStatuses/bibleStatuses.zod.js +27 -2
  18. package/dist/data/bibleTexts/bibleTexts.schema.json +24 -40
  19. package/dist/data/bibleTexts/bibleTexts.zod.d.ts +39 -11
  20. package/dist/data/bibleTexts/index.d.ts +3 -3
  21. package/dist/data/clones/clones.schema.json +26 -27
  22. package/dist/data/clones/clones.zod.d.ts +24 -2
  23. package/dist/data/clones/clones.zod.js +1 -1
  24. package/dist/data/clones/index.d.ts +3 -3
  25. package/dist/data/countries/countries.schema.json +90 -91
  26. package/dist/data/countries/countries.zod.d.ts +88 -19
  27. package/dist/data/countries/countries.zod.js +138 -49
  28. package/dist/data/countriesAndLanguages/countriesAndLanguages.schema.json +8 -19
  29. package/dist/data/countriesAndLanguages/countriesAndLanguages.zod.d.ts +28 -2
  30. package/dist/data/countriesAndLanguages/index.d.ts +2 -2
  31. package/dist/data/crowdinLanguages/crowdinLanguages.schema.json +4 -13
  32. package/dist/data/crowdinLanguages/crowdinLanguages.zod.d.ts +13 -1
  33. package/dist/data/crowdinLanguages/index.d.ts +1 -1
  34. package/dist/data/curriculumFoundations/curriculumFoundations.schema.json +8 -16
  35. package/dist/data/curriculumFoundations/curriculumFoundations.zod.d.ts +10 -2
  36. package/dist/data/curriculumQuestions/curriculumQuestions.schema.json +13 -24
  37. package/dist/data/curriculumQuestions/curriculumQuestions.zod.d.ts +23 -3
  38. package/dist/data/curriculumTopics/curriculumTopics.schema.json +8 -16
  39. package/dist/data/curriculumTopics/curriculumTopics.zod.d.ts +10 -2
  40. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.schema.json +2 -5
  41. package/dist/data/iosVoiceOverLanguages/iosVoiceOverLanguages.zod.d.ts +1 -1
  42. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.schema.json +2 -8
  43. package/dist/data/iso6933LanguageCodes/iso6933LanguageCodes.zod.js +1 -1
  44. package/dist/data/languageAssets/languageAssets.json +37702 -0
  45. package/dist/data/languageAssets/languageAssets.schema.json +12 -15
  46. package/dist/data/languageAssets/languageAssets.zod.d.ts +1 -1
  47. package/dist/data/languageAssets/languageAssets.zod.js +43 -3
  48. package/dist/data/languages/index.d.ts +4 -8
  49. package/dist/data/languages/languages.json +1 -1
  50. package/dist/data/languages/languages.schema.json +89 -136
  51. package/dist/data/languages/languages.zod.d.ts +116 -194
  52. package/dist/data/languages/languages.zod.js +1 -7
  53. package/dist/data/mediaDurations/mediaDurations.schema.json +14 -21
  54. package/dist/data/mediaDurations/mediaDurations.zod.d.ts +1 -1
  55. package/dist/data/mediaDurations/mediaDurations.zod.js +41 -3
  56. package/dist/data/notification/notification.schema.json +57 -67
  57. package/dist/data/notification/notification.zod.d.ts +39 -15
  58. package/dist/data/notification/notification.zod.js +134 -4
  59. package/dist/data/numeralMaps/numeralMaps.schema.json +62 -62
  60. package/dist/data/numeralMaps/numeralMaps.zod.d.ts +46 -2
  61. package/dist/data/numeralMaps/numeralMaps.zod.js +64 -14
  62. package/dist/data/phoneLanguages/index.d.ts +1 -1
  63. package/dist/data/phoneLanguages/phoneLanguages.schema.json +8 -18
  64. package/dist/data/phoneLanguages/phoneLanguages.zod.d.ts +22 -2
  65. package/dist/data/questions/index.d.ts +1 -1
  66. package/dist/data/questions/questions.schema.json +11 -11
  67. package/dist/data/questions/questions.zod.d.ts +14 -6
  68. package/dist/data/releaseNotes/index.d.ts +1 -1
  69. package/dist/data/releaseNotes/releaseNotes.schema.json +11 -23
  70. package/dist/data/releaseNotes/releaseNotes.zod.d.ts +9 -1
  71. package/dist/data/releaseNotes/releaseNotes.zod.js +1 -1
  72. package/dist/data/screenshots/screenshots.schema.json +6 -12
  73. package/dist/data/screenshots/screenshots.zod.d.ts +5 -1
  74. package/dist/data/scripts/scripts.schema.json +4 -11
  75. package/dist/data/scripts/scripts.zod.d.ts +7 -1
  76. package/dist/data/sets/index.d.ts +2 -2
  77. package/dist/data/sets/sets.schema.json +22 -25
  78. package/dist/data/sets/sets.zod.d.ts +39 -61
  79. package/dist/data/specialIds/specialIds.schema.json +1 -5
  80. package/dist/data/specialIds/specialIds.zod.d.ts +41 -11
  81. package/dist/data/translationsApp/index.d.ts +9 -9
  82. package/dist/data/translationsApp/translationsApp.json +1 -0
  83. package/dist/data/translationsApp/translationsApp.schema.json +668 -667
  84. package/dist/data/translationsApp/translationsApp.zod.d.ts +631 -1
  85. package/dist/data/translationsApp/translationsApp.zod.js +2 -2
  86. package/dist/data/translationsFtb/translationsFtb.json +884 -0
  87. package/dist/data/translationsFtb/translationsFtb.schema.json +149 -147
  88. package/dist/data/translationsFtb/translationsFtb.zod.d.ts +135 -1
  89. package/dist/data/translationsFtb/translationsFtb.zod.js +1 -1
  90. package/dist/data/translationsIntroduction/translationsIntroduction.schema.json +18 -15
  91. package/dist/data/translationsIntroduction/translationsIntroduction.zod.d.ts +160 -2
  92. package/dist/data/translationsIntroduction/translationsIntroduction.zod.js +1 -1
  93. package/dist/data/translationsQuestion/translationsQuestion.json +480 -0
  94. package/dist/data/translationsQuestion/translationsQuestion.schema.json +14 -9
  95. package/dist/data/translationsQuestion/translationsQuestion.zod.js +1 -1
  96. package/dist/data/translationsSet/translationsSet.json +20694 -11135
  97. package/dist/data/translationsSet/translationsSet.schema.json +56 -52
  98. package/dist/data/translationsSet/translationsSet.zod.d.ts +19 -1
  99. package/dist/data/translationsSet/translationsSet.zod.js +4 -4
  100. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.schema.json +100 -98
  101. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.d.ts +87 -1
  102. package/dist/data/translationsSolarSpeaker/translationsSolarSpeaker.zod.js +1 -1
  103. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +480 -0
  104. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.schema.json +23 -18
  105. package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.zod.js +1 -1
  106. package/dist/data/youtubePlaylists/youtubePlaylists.schema.json +2 -9
  107. package/dist/data/youtubePlaylists/youtubePlaylists.zod.js +1 -1
  108. package/dist/data/youtubeVideos/youtubeVideos.schema.json +2 -9
  109. package/dist/data/youtubeVideos/youtubeVideos.zod.js +1 -1
  110. package/dist/types/analytics.d.ts +1 -14
  111. package/dist/types/articles.d.ts +344 -94
  112. package/dist/types/articles.js +13 -13
  113. package/dist/types/bibleChapters.d.ts +91 -13
  114. package/dist/types/bibleChapters.js +1 -1
  115. package/dist/types/feedback.d.ts +41 -3
  116. package/dist/types/feedback.js +1 -1
  117. package/dist/types/microLessons.d.ts +869 -70
  118. package/dist/types/microLessons.js +29 -29
  119. package/dist/types/notifications.d.ts +119 -19
  120. package/dist/types/scripturePassages.d.ts +34 -4
  121. package/dist/types/users.d.ts +776 -221
  122. package/dist/types/users.js +1 -2
  123. package/dist/types/webContent.d.ts +20 -8
  124. package/package.json +3 -3
@@ -4,45 +4,53 @@ export declare const WahaUserLocationSchema: z.ZodObject<{
4
4
  city: z.ZodOptional<z.ZodString>;
5
5
  country: z.ZodOptional<z.ZodString>;
6
6
  region: z.ZodOptional<z.ZodString>;
7
- }, z.core.$strip>;
7
+ }, "strip", z.ZodTypeAny, {
8
+ city?: string | undefined;
9
+ country?: string | undefined;
10
+ region?: string | undefined;
11
+ }, {
12
+ city?: string | undefined;
13
+ country?: string | undefined;
14
+ region?: string | undefined;
15
+ }>;
8
16
  export type WahaUserLocation = z.infer<typeof WahaUserLocationSchema>;
9
17
  export type WahaAppVersion = `${number}.${number}.${number}`;
10
- export declare const DesireIdSchema: z.ZodEnum<{
11
- talk_to_others_about_jesus: "talk_to_others_about_jesus";
12
- build_a_team_of_disciple_makers: "build_a_team_of_disciple_makers";
13
- reach_my_entire_people_or_nation_for_god: "reach_my_entire_people_or_nation_for_god";
14
- understand_wahas_impact: "understand_wahas_impact";
15
- understand_how_waha_works: "understand_how_waha_works";
16
- get_coaching: "get_coaching";
17
- see_god_transform_my_community: "see_god_transform_my_community";
18
- discover_whats_in_the_bible: "discover_whats_in_the_bible";
19
- find_hope_in_my_troubles: "find_hope_in_my_troubles";
20
- get_right_with_god: "get_right_with_god";
21
- learn_more_about_jesus: "learn_more_about_jesus";
22
- }>;
18
+ export declare const DesireIdSchema: z.ZodEnum<["talk_to_others_about_jesus", "build_a_team_of_disciple_makers", "reach_my_entire_people_or_nation_for_god", "understand_wahas_impact", "understand_how_waha_works", "get_coaching", "see_god_transform_my_community", "discover_whats_in_the_bible", "find_hope_in_my_troubles", "get_right_with_god", "learn_more_about_jesus"]>;
23
19
  export type DesireId = z.infer<typeof DesireIdSchema>;
24
20
  export declare const WahaUserStateSchema: z.ZodObject<{
25
21
  wahaUserId: z.ZodOptional<z.ZodString>;
26
22
  name: z.ZodOptional<z.ZodString>;
27
- email: z.ZodOptional<z.ZodEmail>;
23
+ email: z.ZodOptional<z.ZodString>;
28
24
  location: z.ZodOptional<z.ZodObject<{
29
25
  city: z.ZodOptional<z.ZodString>;
30
26
  country: z.ZodOptional<z.ZodString>;
31
27
  region: z.ZodOptional<z.ZodString>;
32
- }, z.core.$strip>>;
28
+ }, "strip", z.ZodTypeAny, {
29
+ city?: string | undefined;
30
+ country?: string | undefined;
31
+ region?: string | undefined;
32
+ }, {
33
+ city?: string | undefined;
34
+ country?: string | undefined;
35
+ region?: string | undefined;
36
+ }>>;
33
37
  pastLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
34
38
  city: z.ZodOptional<z.ZodString>;
35
39
  country: z.ZodOptional<z.ZodString>;
36
40
  region: z.ZodOptional<z.ZodString>;
37
- }, z.core.$strip>>>;
41
+ }, "strip", z.ZodTypeAny, {
42
+ city?: string | undefined;
43
+ country?: string | undefined;
44
+ region?: string | undefined;
45
+ }, {
46
+ city?: string | undefined;
47
+ country?: string | undefined;
48
+ region?: string | undefined;
49
+ }>, "many">>;
38
50
  phoneLocation: z.ZodOptional<z.ZodString>;
39
51
  isSubscribedToEmailUpdates: z.ZodOptional<z.ZodBoolean>;
40
52
  pushToken: z.ZodOptional<z.ZodString>;
41
- notificationPermission: z.ZodEnum<{
42
- granted: "granted";
43
- undetermined: "undetermined";
44
- denied: "denied";
45
- }>;
53
+ notificationPermission: z.ZodEnum<["granted", "undetermined", "denied"]>;
46
54
  utm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
47
55
  firstOpen: z.ZodOptional<z.ZodNumber>;
48
56
  finishedOnboarding: z.ZodOptional<z.ZodNumber>;
@@ -52,19 +60,7 @@ export declare const WahaUserStateSchema: z.ZodObject<{
52
60
  notificationLinksClicked: z.ZodOptional<z.ZodNumber>;
53
61
  isBeliever: z.ZodOptional<z.ZodBoolean>;
54
62
  isInAGroup: z.ZodOptional<z.ZodBoolean>;
55
- desires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
56
- talk_to_others_about_jesus: "talk_to_others_about_jesus";
57
- build_a_team_of_disciple_makers: "build_a_team_of_disciple_makers";
58
- reach_my_entire_people_or_nation_for_god: "reach_my_entire_people_or_nation_for_god";
59
- understand_wahas_impact: "understand_wahas_impact";
60
- understand_how_waha_works: "understand_how_waha_works";
61
- get_coaching: "get_coaching";
62
- see_god_transform_my_community: "see_god_transform_my_community";
63
- discover_whats_in_the_bible: "discover_whats_in_the_bible";
64
- find_hope_in_my_troubles: "find_hope_in_my_troubles";
65
- get_right_with_god: "get_right_with_god";
66
- learn_more_about_jesus: "learn_more_about_jesus";
67
- }>>>;
63
+ desires: z.ZodOptional<z.ZodArray<z.ZodEnum<["talk_to_others_about_jesus", "build_a_team_of_disciple_makers", "reach_my_entire_people_or_nation_for_god", "understand_wahas_impact", "understand_how_waha_works", "get_coaching", "see_god_transform_my_community", "discover_whats_in_the_bible", "find_hope_in_my_troubles", "get_right_with_god", "learn_more_about_jesus"]>, "many">>;
68
64
  customDesire: z.ZodOptional<z.ZodString>;
69
65
  isCCWorker: z.ZodOptional<z.ZodBoolean>;
70
66
  isAdvocate: z.ZodOptional<z.ZodBoolean>;
@@ -73,15 +69,82 @@ export declare const WahaUserStateSchema: z.ZodObject<{
73
69
  hasDonated: z.ZodOptional<z.ZodBoolean>;
74
70
  lastDonationAsk: z.ZodOptional<z.ZodNumber>;
75
71
  numberOfDonationAsks: z.ZodOptional<z.ZodNumber>;
76
- lastSeenBannerAskNumber: z.ZodOptional<z.ZodNumber>;
77
- onboardingStatus: z.ZodOptional<z.ZodEnum<{
78
- "skipped-from-first": "skipped-from-first";
79
- "skipped-from-second": "skipped-from-second";
80
- "finished-from-first": "finished-from-first";
81
- "finished-from-second": "finished-from-second";
82
- "finished-from-languages": "finished-from-languages";
83
- }>>;
84
- }, z.core.$strip>;
72
+ onboardingStatus: z.ZodOptional<z.ZodEnum<["skipped-from-first", "skipped-from-second", "finished-from-first", "finished-from-second", "finished-from-languages"]>>;
73
+ }, "strip", z.ZodTypeAny, {
74
+ notificationPermission: "granted" | "undetermined" | "denied";
75
+ name?: string | undefined;
76
+ email?: string | undefined;
77
+ wahaUserId?: string | undefined;
78
+ location?: {
79
+ city?: string | undefined;
80
+ country?: string | undefined;
81
+ region?: string | undefined;
82
+ } | undefined;
83
+ pastLocations?: {
84
+ city?: string | undefined;
85
+ country?: string | undefined;
86
+ region?: string | undefined;
87
+ }[] | undefined;
88
+ phoneLocation?: string | undefined;
89
+ isSubscribedToEmailUpdates?: boolean | undefined;
90
+ pushToken?: string | undefined;
91
+ utm?: Record<string, string> | undefined;
92
+ firstOpen?: number | undefined;
93
+ finishedOnboarding?: number | undefined;
94
+ howFamiliarWithBible?: number | undefined;
95
+ followingFor2Years?: number | undefined;
96
+ notificationsClicked?: number | undefined;
97
+ notificationLinksClicked?: number | undefined;
98
+ isBeliever?: boolean | undefined;
99
+ isInAGroup?: boolean | undefined;
100
+ desires?: ("talk_to_others_about_jesus" | "build_a_team_of_disciple_makers" | "reach_my_entire_people_or_nation_for_god" | "understand_wahas_impact" | "understand_how_waha_works" | "get_coaching" | "see_god_transform_my_community" | "discover_whats_in_the_bible" | "find_hope_in_my_troubles" | "get_right_with_god" | "learn_more_about_jesus")[] | undefined;
101
+ customDesire?: string | undefined;
102
+ isCCWorker?: boolean | undefined;
103
+ isAdvocate?: boolean | undefined;
104
+ phoneNumber?: string | undefined;
105
+ engagementScore?: number | undefined;
106
+ hasDonated?: boolean | undefined;
107
+ lastDonationAsk?: number | undefined;
108
+ numberOfDonationAsks?: number | undefined;
109
+ onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
110
+ }, {
111
+ notificationPermission: "granted" | "undetermined" | "denied";
112
+ name?: string | undefined;
113
+ email?: string | undefined;
114
+ wahaUserId?: string | undefined;
115
+ location?: {
116
+ city?: string | undefined;
117
+ country?: string | undefined;
118
+ region?: string | undefined;
119
+ } | undefined;
120
+ pastLocations?: {
121
+ city?: string | undefined;
122
+ country?: string | undefined;
123
+ region?: string | undefined;
124
+ }[] | undefined;
125
+ phoneLocation?: string | undefined;
126
+ isSubscribedToEmailUpdates?: boolean | undefined;
127
+ pushToken?: string | undefined;
128
+ utm?: Record<string, string> | undefined;
129
+ firstOpen?: number | undefined;
130
+ finishedOnboarding?: number | undefined;
131
+ howFamiliarWithBible?: number | undefined;
132
+ followingFor2Years?: number | undefined;
133
+ notificationsClicked?: number | undefined;
134
+ notificationLinksClicked?: number | undefined;
135
+ isBeliever?: boolean | undefined;
136
+ isInAGroup?: boolean | undefined;
137
+ desires?: ("talk_to_others_about_jesus" | "build_a_team_of_disciple_makers" | "reach_my_entire_people_or_nation_for_god" | "understand_wahas_impact" | "understand_how_waha_works" | "get_coaching" | "see_god_transform_my_community" | "discover_whats_in_the_bible" | "find_hope_in_my_troubles" | "get_right_with_god" | "learn_more_about_jesus")[] | undefined;
138
+ customDesire?: string | undefined;
139
+ isCCWorker?: boolean | undefined;
140
+ isAdvocate?: boolean | undefined;
141
+ phoneNumber?: string | undefined;
142
+ engagementScore?: number | undefined;
143
+ hasDonated?: boolean | undefined;
144
+ lastDonationAsk?: number | undefined;
145
+ numberOfDonationAsks?: number | undefined;
146
+ onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
147
+ }>;
85
148
  export type WahaUserState = z.infer<typeof WahaUserStateSchema>;
86
149
  export declare const WahaAppVersionSchema: z.ZodString;
87
150
  export declare const CompletionEventSchema: z.ZodObject<{
@@ -91,13 +154,39 @@ export declare const CompletionEventSchema: z.ZodObject<{
91
154
  country: z.ZodOptional<z.ZodString>;
92
155
  region: z.ZodOptional<z.ZodString>;
93
156
  city: z.ZodOptional<z.ZodString>;
157
+ /**
158
+ * Indicates that the lesson was completed manually from the lesson sheet
159
+ * rather than automatically by doing the lesson on the lesson screen.
160
+ */
94
161
  manual: z.ZodOptional<z.ZodBoolean>;
95
- }, z.core.$strip>;
162
+ }, "strip", z.ZodTypeAny, {
163
+ lessonId: string;
164
+ meetLanguageId: string;
165
+ time: number;
166
+ city?: string | undefined;
167
+ country?: string | undefined;
168
+ region?: string | undefined;
169
+ manual?: boolean | undefined;
170
+ }, {
171
+ lessonId: string;
172
+ meetLanguageId: string;
173
+ time: number;
174
+ city?: string | undefined;
175
+ country?: string | undefined;
176
+ region?: string | undefined;
177
+ manual?: boolean | undefined;
178
+ }>;
96
179
  export type CompletionEvent = z.infer<typeof CompletionEventSchema>;
97
180
  declare const WorksheetAnswerSchema: z.ZodObject<{
98
181
  question: z.ZodString;
99
182
  answer: z.ZodString;
100
- }, z.core.$strip>;
183
+ }, "strip", z.ZodTypeAny, {
184
+ question: string;
185
+ answer: string;
186
+ }, {
187
+ question: string;
188
+ answer: string;
189
+ }>;
101
190
  export type WorksheetAnswer = z.infer<typeof WorksheetAnswerSchema>;
102
191
  declare const WorksheetCompletionEventSchema: z.ZodObject<{
103
192
  startTime: z.ZodNumber;
@@ -106,102 +195,132 @@ declare const WorksheetCompletionEventSchema: z.ZodObject<{
106
195
  answers: z.ZodArray<z.ZodObject<{
107
196
  question: z.ZodString;
108
197
  answer: z.ZodString;
109
- }, z.core.$strip>>;
198
+ }, "strip", z.ZodTypeAny, {
199
+ question: string;
200
+ answer: string;
201
+ }, {
202
+ question: string;
203
+ answer: string;
204
+ }>, "many">;
110
205
  country: z.ZodOptional<z.ZodString>;
111
206
  region: z.ZodOptional<z.ZodString>;
112
207
  city: z.ZodOptional<z.ZodString>;
113
208
  didApply: z.ZodOptional<z.ZodBoolean>;
114
209
  notificationText: z.ZodOptional<z.ZodString>;
115
210
  feedback: z.ZodOptional<z.ZodString>;
116
- }, z.core.$strip>;
117
- export type WorksheetCompletionEvent = z.infer<typeof WorksheetCompletionEventSchema>;
118
- export declare const WahaShareContentSchema: z.ZodEnum<{
119
- lesson: "lesson";
120
- note: "note";
121
- setLink: "setLink";
122
- lessonLink: "lessonLink";
123
- app: "app";
124
- passcode: "passcode";
125
- lessonAudio: "lessonAudio";
126
- lessonText: "lessonText";
127
- storyText: "storyText";
128
- storyAudio: "storyAudio";
129
- meetingInvite: "meetingInvite";
130
- articleLink: "articleLink";
131
- videoLink: "videoLink";
132
- notification: "notification";
133
- meetingSchedule: "meetingSchedule";
134
- scriptureText: "scriptureText";
135
- mt: "mt";
136
- scriptureAudio: "scriptureAudio";
137
- inviteGroup: "inviteGroup";
138
- offlineVersionLink: "offlineVersionLink";
139
- customSet: "customSet";
211
+ }, "strip", z.ZodTypeAny, {
212
+ startTime: number;
213
+ worksheetId: string;
214
+ answers: {
215
+ question: string;
216
+ answer: string;
217
+ }[];
218
+ city?: string | undefined;
219
+ country?: string | undefined;
220
+ region?: string | undefined;
221
+ completionTime?: number | undefined;
222
+ didApply?: boolean | undefined;
223
+ notificationText?: string | undefined;
224
+ feedback?: string | undefined;
225
+ }, {
226
+ startTime: number;
227
+ worksheetId: string;
228
+ answers: {
229
+ question: string;
230
+ answer: string;
231
+ }[];
232
+ city?: string | undefined;
233
+ country?: string | undefined;
234
+ region?: string | undefined;
235
+ completionTime?: number | undefined;
236
+ didApply?: boolean | undefined;
237
+ notificationText?: string | undefined;
238
+ feedback?: string | undefined;
140
239
  }>;
240
+ export type WorksheetCompletionEvent = z.infer<typeof WorksheetCompletionEventSchema>;
241
+ export declare const WahaShareContentSchema: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
141
242
  export type WahaShareContent = z.infer<typeof WahaShareContentSchema>;
142
243
  export declare const ShareLogEventSchema: z.ZodObject<{
143
244
  time: z.ZodNumber;
144
- content: z.ZodEnum<{
145
- lesson: "lesson";
146
- note: "note";
147
- setLink: "setLink";
148
- lessonLink: "lessonLink";
149
- app: "app";
150
- passcode: "passcode";
151
- lessonAudio: "lessonAudio";
152
- lessonText: "lessonText";
153
- storyText: "storyText";
154
- storyAudio: "storyAudio";
155
- meetingInvite: "meetingInvite";
156
- articleLink: "articleLink";
157
- videoLink: "videoLink";
158
- notification: "notification";
159
- meetingSchedule: "meetingSchedule";
160
- scriptureText: "scriptureText";
161
- mt: "mt";
162
- scriptureAudio: "scriptureAudio";
163
- inviteGroup: "inviteGroup";
164
- offlineVersionLink: "offlineVersionLink";
165
- customSet: "customSet";
166
- }>;
245
+ content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
167
246
  lessonId: z.ZodOptional<z.ZodString>;
168
247
  articleSlug: z.ZodOptional<z.ZodString>;
169
- }, z.core.$strip>;
248
+ }, "strip", z.ZodTypeAny, {
249
+ time: number;
250
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
251
+ lessonId?: string | undefined;
252
+ articleSlug?: string | undefined;
253
+ }, {
254
+ time: number;
255
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
256
+ lessonId?: string | undefined;
257
+ articleSlug?: string | undefined;
258
+ }>;
170
259
  export type ShareLogEvent = z.infer<typeof ShareLogEventSchema>;
171
260
  export declare const BibleSessionSchema: z.ZodObject<{
172
261
  chapter: z.ZodString;
173
262
  timeSpent: z.ZodNumber;
174
263
  startTime: z.ZodNumber;
175
264
  translation: z.ZodString;
176
- }, z.core.$strip>;
265
+ }, "strip", z.ZodTypeAny, {
266
+ chapter: string;
267
+ startTime: number;
268
+ timeSpent: number;
269
+ translation: string;
270
+ }, {
271
+ chapter: string;
272
+ startTime: number;
273
+ timeSpent: number;
274
+ translation: string;
275
+ }>;
177
276
  export type BibleSession = z.infer<typeof BibleSessionSchema>;
178
277
  export declare const ArticleSessionSchema: z.ZodObject<{
179
278
  articleSlug: z.ZodString;
180
279
  timeSpent: z.ZodNumber;
181
280
  startTime: z.ZodNumber;
182
- }, z.core.$strip>;
281
+ }, "strip", z.ZodTypeAny, {
282
+ startTime: number;
283
+ articleSlug: string;
284
+ timeSpent: number;
285
+ }, {
286
+ startTime: number;
287
+ articleSlug: string;
288
+ timeSpent: number;
289
+ }>;
183
290
  export type ArticleSession = z.infer<typeof ArticleSessionSchema>;
184
291
  export declare const WahaUserSchema: z.ZodObject<{
185
292
  wahaUserId: z.ZodOptional<z.ZodString>;
186
293
  name: z.ZodOptional<z.ZodString>;
187
- email: z.ZodOptional<z.ZodEmail>;
294
+ email: z.ZodOptional<z.ZodString>;
188
295
  location: z.ZodOptional<z.ZodObject<{
189
296
  city: z.ZodOptional<z.ZodString>;
190
297
  country: z.ZodOptional<z.ZodString>;
191
298
  region: z.ZodOptional<z.ZodString>;
192
- }, z.core.$strip>>;
299
+ }, "strip", z.ZodTypeAny, {
300
+ city?: string | undefined;
301
+ country?: string | undefined;
302
+ region?: string | undefined;
303
+ }, {
304
+ city?: string | undefined;
305
+ country?: string | undefined;
306
+ region?: string | undefined;
307
+ }>>;
193
308
  pastLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
194
309
  city: z.ZodOptional<z.ZodString>;
195
310
  country: z.ZodOptional<z.ZodString>;
196
311
  region: z.ZodOptional<z.ZodString>;
197
- }, z.core.$strip>>>;
312
+ }, "strip", z.ZodTypeAny, {
313
+ city?: string | undefined;
314
+ country?: string | undefined;
315
+ region?: string | undefined;
316
+ }, {
317
+ city?: string | undefined;
318
+ country?: string | undefined;
319
+ region?: string | undefined;
320
+ }>, "many">>;
198
321
  phoneLocation: z.ZodOptional<z.ZodString>;
199
322
  isSubscribedToEmailUpdates: z.ZodOptional<z.ZodBoolean>;
200
- notificationPermission: z.ZodEnum<{
201
- granted: "granted";
202
- undetermined: "undetermined";
203
- denied: "denied";
204
- }>;
323
+ notificationPermission: z.ZodEnum<["granted", "undetermined", "denied"]>;
205
324
  utm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
206
325
  firstOpen: z.ZodOptional<z.ZodNumber>;
207
326
  finishedOnboarding: z.ZodOptional<z.ZodNumber>;
@@ -211,19 +330,7 @@ export declare const WahaUserSchema: z.ZodObject<{
211
330
  notificationLinksClicked: z.ZodOptional<z.ZodNumber>;
212
331
  isBeliever: z.ZodOptional<z.ZodBoolean>;
213
332
  isInAGroup: z.ZodOptional<z.ZodBoolean>;
214
- desires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
215
- talk_to_others_about_jesus: "talk_to_others_about_jesus";
216
- build_a_team_of_disciple_makers: "build_a_team_of_disciple_makers";
217
- reach_my_entire_people_or_nation_for_god: "reach_my_entire_people_or_nation_for_god";
218
- understand_wahas_impact: "understand_wahas_impact";
219
- understand_how_waha_works: "understand_how_waha_works";
220
- get_coaching: "get_coaching";
221
- see_god_transform_my_community: "see_god_transform_my_community";
222
- discover_whats_in_the_bible: "discover_whats_in_the_bible";
223
- find_hope_in_my_troubles: "find_hope_in_my_troubles";
224
- get_right_with_god: "get_right_with_god";
225
- learn_more_about_jesus: "learn_more_about_jesus";
226
- }>>>;
333
+ desires: z.ZodOptional<z.ZodArray<z.ZodEnum<["talk_to_others_about_jesus", "build_a_team_of_disciple_makers", "reach_my_entire_people_or_nation_for_god", "understand_wahas_impact", "understand_how_waha_works", "get_coaching", "see_god_transform_my_community", "discover_whats_in_the_bible", "find_hope_in_my_troubles", "get_right_with_god", "learn_more_about_jesus"]>, "many">>;
227
334
  customDesire: z.ZodOptional<z.ZodString>;
228
335
  isCCWorker: z.ZodOptional<z.ZodBoolean>;
229
336
  isAdvocate: z.ZodOptional<z.ZodBoolean>;
@@ -232,14 +339,8 @@ export declare const WahaUserSchema: z.ZodObject<{
232
339
  hasDonated: z.ZodOptional<z.ZodBoolean>;
233
340
  lastDonationAsk: z.ZodOptional<z.ZodNumber>;
234
341
  numberOfDonationAsks: z.ZodOptional<z.ZodNumber>;
235
- lastSeenBannerAskNumber: z.ZodOptional<z.ZodNumber>;
236
- onboardingStatus: z.ZodOptional<z.ZodEnum<{
237
- "skipped-from-first": "skipped-from-first";
238
- "skipped-from-second": "skipped-from-second";
239
- "finished-from-first": "finished-from-first";
240
- "finished-from-second": "finished-from-second";
241
- "finished-from-languages": "finished-from-languages";
242
- }>>;
342
+ onboardingStatus: z.ZodOptional<z.ZodEnum<["skipped-from-first", "skipped-from-second", "finished-from-first", "finished-from-second", "finished-from-languages"]>>;
343
+ } & {
243
344
  pushToken: z.ZodOptional<z.ZodString>;
244
345
  securityModeOn: z.ZodOptional<z.ZodBoolean>;
245
346
  appVersion: z.ZodString;
@@ -252,83 +353,325 @@ export declare const WahaUserSchema: z.ZodObject<{
252
353
  country: z.ZodOptional<z.ZodString>;
253
354
  region: z.ZodOptional<z.ZodString>;
254
355
  city: z.ZodOptional<z.ZodString>;
356
+ /**
357
+ * Indicates that the lesson was completed manually from the lesson sheet
358
+ * rather than automatically by doing the lesson on the lesson screen.
359
+ */
255
360
  manual: z.ZodOptional<z.ZodBoolean>;
256
- }, z.core.$strip>>;
361
+ }, "strip", z.ZodTypeAny, {
362
+ lessonId: string;
363
+ meetLanguageId: string;
364
+ time: number;
365
+ city?: string | undefined;
366
+ country?: string | undefined;
367
+ region?: string | undefined;
368
+ manual?: boolean | undefined;
369
+ }, {
370
+ lessonId: string;
371
+ meetLanguageId: string;
372
+ time: number;
373
+ city?: string | undefined;
374
+ country?: string | undefined;
375
+ region?: string | undefined;
376
+ manual?: boolean | undefined;
377
+ }>, "many">;
257
378
  trainingUnlocked: z.ZodOptional<z.ZodBoolean>;
258
379
  meet: z.ZodString;
259
380
  appInterface: z.ZodString;
260
- meetFavorites: z.ZodArray<z.ZodString>;
381
+ meetFavorites: z.ZodArray<z.ZodString, "many">;
261
382
  osVersion: z.ZodNullable<z.ZodString>;
262
383
  isDev: z.ZodBoolean;
263
384
  shareLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
264
385
  time: z.ZodNumber;
265
- content: z.ZodEnum<{
266
- lesson: "lesson";
267
- note: "note";
268
- setLink: "setLink";
269
- lessonLink: "lessonLink";
270
- app: "app";
271
- passcode: "passcode";
272
- lessonAudio: "lessonAudio";
273
- lessonText: "lessonText";
274
- storyText: "storyText";
275
- storyAudio: "storyAudio";
276
- meetingInvite: "meetingInvite";
277
- articleLink: "articleLink";
278
- videoLink: "videoLink";
279
- notification: "notification";
280
- meetingSchedule: "meetingSchedule";
281
- scriptureText: "scriptureText";
282
- mt: "mt";
283
- scriptureAudio: "scriptureAudio";
284
- inviteGroup: "inviteGroup";
285
- offlineVersionLink: "offlineVersionLink";
286
- customSet: "customSet";
287
- }>;
386
+ content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
288
387
  lessonId: z.ZodOptional<z.ZodString>;
289
388
  articleSlug: z.ZodOptional<z.ZodString>;
290
- }, z.core.$strip>>>;
389
+ }, "strip", z.ZodTypeAny, {
390
+ time: number;
391
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
392
+ lessonId?: string | undefined;
393
+ articleSlug?: string | undefined;
394
+ }, {
395
+ time: number;
396
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
397
+ lessonId?: string | undefined;
398
+ articleSlug?: string | undefined;
399
+ }>, "many">>;
291
400
  bibleSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
292
401
  chapter: z.ZodString;
293
402
  timeSpent: z.ZodNumber;
294
403
  startTime: z.ZodNumber;
295
404
  translation: z.ZodString;
296
- }, z.core.$strip>>>;
405
+ }, "strip", z.ZodTypeAny, {
406
+ chapter: string;
407
+ startTime: number;
408
+ timeSpent: number;
409
+ translation: string;
410
+ }, {
411
+ chapter: string;
412
+ startTime: number;
413
+ timeSpent: number;
414
+ translation: string;
415
+ }>, "many">>;
297
416
  articleSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
298
417
  articleSlug: z.ZodString;
299
418
  timeSpent: z.ZodNumber;
300
419
  startTime: z.ZodNumber;
301
- }, z.core.$strip>>>;
420
+ }, "strip", z.ZodTypeAny, {
421
+ startTime: number;
422
+ articleSlug: string;
423
+ timeSpent: number;
424
+ }, {
425
+ startTime: number;
426
+ articleSlug: string;
427
+ timeSpent: number;
428
+ }>, "many">>;
302
429
  activated: z.ZodOptional<z.ZodBoolean>;
303
- worksheetCompletions: z.ZodOptional<z.ZodArray<z.ZodObject<{
304
- city: z.ZodOptional<z.ZodString>;
305
- country: z.ZodOptional<z.ZodString>;
306
- region: z.ZodOptional<z.ZodString>;
430
+ worksheetCompletions: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
307
431
  startTime: z.ZodNumber;
308
432
  completionTime: z.ZodOptional<z.ZodNumber>;
309
433
  worksheetId: z.ZodString;
434
+ answers: z.ZodArray<z.ZodObject<{
435
+ question: z.ZodString;
436
+ answer: z.ZodString;
437
+ }, "strip", z.ZodTypeAny, {
438
+ question: string;
439
+ answer: string;
440
+ }, {
441
+ question: string;
442
+ answer: string;
443
+ }>, "many">;
444
+ country: z.ZodOptional<z.ZodString>;
445
+ region: z.ZodOptional<z.ZodString>;
446
+ city: z.ZodOptional<z.ZodString>;
310
447
  didApply: z.ZodOptional<z.ZodBoolean>;
311
448
  notificationText: z.ZodOptional<z.ZodString>;
312
449
  feedback: z.ZodOptional<z.ZodString>;
313
- }, z.core.$strip>>>;
314
- }, z.core.$strip>;
315
- export declare const PushEnabledWahaUserSchema: z.ZodObject<{
450
+ }, "answers">, "strip", z.ZodTypeAny, {
451
+ startTime: number;
452
+ worksheetId: string;
453
+ city?: string | undefined;
454
+ country?: string | undefined;
455
+ region?: string | undefined;
456
+ completionTime?: number | undefined;
457
+ didApply?: boolean | undefined;
458
+ notificationText?: string | undefined;
459
+ feedback?: string | undefined;
460
+ }, {
461
+ startTime: number;
462
+ worksheetId: string;
463
+ city?: string | undefined;
464
+ country?: string | undefined;
465
+ region?: string | undefined;
466
+ completionTime?: number | undefined;
467
+ didApply?: boolean | undefined;
468
+ notificationText?: string | undefined;
469
+ feedback?: string | undefined;
470
+ }>, "many">>;
471
+ }, "strip", z.ZodTypeAny, {
472
+ appInterface: string;
473
+ meet: string;
474
+ notificationPermission: "granted" | "undetermined" | "denied";
475
+ appVersion: string;
476
+ lastUpdate: number;
477
+ platform: string;
478
+ completions: {
479
+ lessonId: string;
480
+ meetLanguageId: string;
481
+ time: number;
482
+ city?: string | undefined;
483
+ country?: string | undefined;
484
+ region?: string | undefined;
485
+ manual?: boolean | undefined;
486
+ }[];
487
+ meetFavorites: string[];
488
+ osVersion: string | null;
489
+ isDev: boolean;
490
+ name?: string | undefined;
491
+ email?: string | undefined;
492
+ wahaUserId?: string | undefined;
493
+ location?: {
494
+ city?: string | undefined;
495
+ country?: string | undefined;
496
+ region?: string | undefined;
497
+ } | undefined;
498
+ pastLocations?: {
499
+ city?: string | undefined;
500
+ country?: string | undefined;
501
+ region?: string | undefined;
502
+ }[] | undefined;
503
+ phoneLocation?: string | undefined;
504
+ isSubscribedToEmailUpdates?: boolean | undefined;
505
+ pushToken?: string | undefined;
506
+ utm?: Record<string, string> | undefined;
507
+ firstOpen?: number | undefined;
508
+ finishedOnboarding?: number | undefined;
509
+ howFamiliarWithBible?: number | undefined;
510
+ followingFor2Years?: number | undefined;
511
+ notificationsClicked?: number | undefined;
512
+ notificationLinksClicked?: number | undefined;
513
+ isBeliever?: boolean | undefined;
514
+ isInAGroup?: boolean | undefined;
515
+ desires?: ("talk_to_others_about_jesus" | "build_a_team_of_disciple_makers" | "reach_my_entire_people_or_nation_for_god" | "understand_wahas_impact" | "understand_how_waha_works" | "get_coaching" | "see_god_transform_my_community" | "discover_whats_in_the_bible" | "find_hope_in_my_troubles" | "get_right_with_god" | "learn_more_about_jesus")[] | undefined;
516
+ customDesire?: string | undefined;
517
+ isCCWorker?: boolean | undefined;
518
+ isAdvocate?: boolean | undefined;
519
+ phoneNumber?: string | undefined;
520
+ engagementScore?: number | undefined;
521
+ hasDonated?: boolean | undefined;
522
+ lastDonationAsk?: number | undefined;
523
+ numberOfDonationAsks?: number | undefined;
524
+ onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
525
+ securityModeOn?: boolean | undefined;
526
+ trainingUnlocked?: boolean | undefined;
527
+ shareLog?: {
528
+ time: number;
529
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
530
+ lessonId?: string | undefined;
531
+ articleSlug?: string | undefined;
532
+ }[] | undefined;
533
+ bibleSessions?: {
534
+ chapter: string;
535
+ startTime: number;
536
+ timeSpent: number;
537
+ translation: string;
538
+ }[] | undefined;
539
+ articleSessions?: {
540
+ startTime: number;
541
+ articleSlug: string;
542
+ timeSpent: number;
543
+ }[] | undefined;
544
+ activated?: boolean | undefined;
545
+ worksheetCompletions?: {
546
+ startTime: number;
547
+ worksheetId: string;
548
+ city?: string | undefined;
549
+ country?: string | undefined;
550
+ region?: string | undefined;
551
+ completionTime?: number | undefined;
552
+ didApply?: boolean | undefined;
553
+ notificationText?: string | undefined;
554
+ feedback?: string | undefined;
555
+ }[] | undefined;
556
+ }, {
557
+ appInterface: string;
558
+ meet: string;
559
+ notificationPermission: "granted" | "undetermined" | "denied";
560
+ appVersion: string;
561
+ lastUpdate: number;
562
+ platform: string;
563
+ completions: {
564
+ lessonId: string;
565
+ meetLanguageId: string;
566
+ time: number;
567
+ city?: string | undefined;
568
+ country?: string | undefined;
569
+ region?: string | undefined;
570
+ manual?: boolean | undefined;
571
+ }[];
572
+ meetFavorites: string[];
573
+ osVersion: string | null;
574
+ isDev: boolean;
575
+ name?: string | undefined;
576
+ email?: string | undefined;
577
+ wahaUserId?: string | undefined;
578
+ location?: {
579
+ city?: string | undefined;
580
+ country?: string | undefined;
581
+ region?: string | undefined;
582
+ } | undefined;
583
+ pastLocations?: {
584
+ city?: string | undefined;
585
+ country?: string | undefined;
586
+ region?: string | undefined;
587
+ }[] | undefined;
588
+ phoneLocation?: string | undefined;
589
+ isSubscribedToEmailUpdates?: boolean | undefined;
590
+ pushToken?: string | undefined;
591
+ utm?: Record<string, string> | undefined;
592
+ firstOpen?: number | undefined;
593
+ finishedOnboarding?: number | undefined;
594
+ howFamiliarWithBible?: number | undefined;
595
+ followingFor2Years?: number | undefined;
596
+ notificationsClicked?: number | undefined;
597
+ notificationLinksClicked?: number | undefined;
598
+ isBeliever?: boolean | undefined;
599
+ isInAGroup?: boolean | undefined;
600
+ desires?: ("talk_to_others_about_jesus" | "build_a_team_of_disciple_makers" | "reach_my_entire_people_or_nation_for_god" | "understand_wahas_impact" | "understand_how_waha_works" | "get_coaching" | "see_god_transform_my_community" | "discover_whats_in_the_bible" | "find_hope_in_my_troubles" | "get_right_with_god" | "learn_more_about_jesus")[] | undefined;
601
+ customDesire?: string | undefined;
602
+ isCCWorker?: boolean | undefined;
603
+ isAdvocate?: boolean | undefined;
604
+ phoneNumber?: string | undefined;
605
+ engagementScore?: number | undefined;
606
+ hasDonated?: boolean | undefined;
607
+ lastDonationAsk?: number | undefined;
608
+ numberOfDonationAsks?: number | undefined;
609
+ onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
610
+ securityModeOn?: boolean | undefined;
611
+ trainingUnlocked?: boolean | undefined;
612
+ shareLog?: {
613
+ time: number;
614
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
615
+ lessonId?: string | undefined;
616
+ articleSlug?: string | undefined;
617
+ }[] | undefined;
618
+ bibleSessions?: {
619
+ chapter: string;
620
+ startTime: number;
621
+ timeSpent: number;
622
+ translation: string;
623
+ }[] | undefined;
624
+ articleSessions?: {
625
+ startTime: number;
626
+ articleSlug: string;
627
+ timeSpent: number;
628
+ }[] | undefined;
629
+ activated?: boolean | undefined;
630
+ worksheetCompletions?: {
631
+ startTime: number;
632
+ worksheetId: string;
633
+ city?: string | undefined;
634
+ country?: string | undefined;
635
+ region?: string | undefined;
636
+ completionTime?: number | undefined;
637
+ didApply?: boolean | undefined;
638
+ notificationText?: string | undefined;
639
+ feedback?: string | undefined;
640
+ }[] | undefined;
641
+ }>;
642
+ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
643
+ wahaUserId: z.ZodOptional<z.ZodString>;
316
644
  name: z.ZodOptional<z.ZodString>;
317
- appInterface: z.ZodString;
318
- email: z.ZodOptional<z.ZodEmail>;
319
- meet: z.ZodString;
645
+ email: z.ZodOptional<z.ZodString>;
320
646
  location: z.ZodOptional<z.ZodObject<{
321
647
  city: z.ZodOptional<z.ZodString>;
322
648
  country: z.ZodOptional<z.ZodString>;
323
649
  region: z.ZodOptional<z.ZodString>;
324
- }, z.core.$strip>>;
650
+ }, "strip", z.ZodTypeAny, {
651
+ city?: string | undefined;
652
+ country?: string | undefined;
653
+ region?: string | undefined;
654
+ }, {
655
+ city?: string | undefined;
656
+ country?: string | undefined;
657
+ region?: string | undefined;
658
+ }>>;
325
659
  pastLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
326
660
  city: z.ZodOptional<z.ZodString>;
327
661
  country: z.ZodOptional<z.ZodString>;
328
662
  region: z.ZodOptional<z.ZodString>;
329
- }, z.core.$strip>>>;
663
+ }, "strip", z.ZodTypeAny, {
664
+ city?: string | undefined;
665
+ country?: string | undefined;
666
+ region?: string | undefined;
667
+ }, {
668
+ city?: string | undefined;
669
+ country?: string | undefined;
670
+ region?: string | undefined;
671
+ }>, "many">>;
330
672
  phoneLocation: z.ZodOptional<z.ZodString>;
331
673
  isSubscribedToEmailUpdates: z.ZodOptional<z.ZodBoolean>;
674
+ notificationPermission: z.ZodEnum<["granted", "undetermined", "denied"]>;
332
675
  utm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
333
676
  firstOpen: z.ZodOptional<z.ZodNumber>;
334
677
  finishedOnboarding: z.ZodOptional<z.ZodNumber>;
@@ -338,19 +681,7 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<{
338
681
  notificationLinksClicked: z.ZodOptional<z.ZodNumber>;
339
682
  isBeliever: z.ZodOptional<z.ZodBoolean>;
340
683
  isInAGroup: z.ZodOptional<z.ZodBoolean>;
341
- desires: z.ZodOptional<z.ZodArray<z.ZodEnum<{
342
- talk_to_others_about_jesus: "talk_to_others_about_jesus";
343
- build_a_team_of_disciple_makers: "build_a_team_of_disciple_makers";
344
- reach_my_entire_people_or_nation_for_god: "reach_my_entire_people_or_nation_for_god";
345
- understand_wahas_impact: "understand_wahas_impact";
346
- understand_how_waha_works: "understand_how_waha_works";
347
- get_coaching: "get_coaching";
348
- see_god_transform_my_community: "see_god_transform_my_community";
349
- discover_whats_in_the_bible: "discover_whats_in_the_bible";
350
- find_hope_in_my_troubles: "find_hope_in_my_troubles";
351
- get_right_with_god: "get_right_with_god";
352
- learn_more_about_jesus: "learn_more_about_jesus";
353
- }>>>;
684
+ desires: z.ZodOptional<z.ZodArray<z.ZodEnum<["talk_to_others_about_jesus", "build_a_team_of_disciple_makers", "reach_my_entire_people_or_nation_for_god", "understand_wahas_impact", "understand_how_waha_works", "get_coaching", "see_god_transform_my_community", "discover_whats_in_the_bible", "find_hope_in_my_troubles", "get_right_with_god", "learn_more_about_jesus"]>, "many">>;
354
685
  customDesire: z.ZodOptional<z.ZodString>;
355
686
  isCCWorker: z.ZodOptional<z.ZodBoolean>;
356
687
  isAdvocate: z.ZodOptional<z.ZodBoolean>;
@@ -359,14 +690,9 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<{
359
690
  hasDonated: z.ZodOptional<z.ZodBoolean>;
360
691
  lastDonationAsk: z.ZodOptional<z.ZodNumber>;
361
692
  numberOfDonationAsks: z.ZodOptional<z.ZodNumber>;
362
- lastSeenBannerAskNumber: z.ZodOptional<z.ZodNumber>;
363
- onboardingStatus: z.ZodOptional<z.ZodEnum<{
364
- "skipped-from-first": "skipped-from-first";
365
- "skipped-from-second": "skipped-from-second";
366
- "finished-from-first": "finished-from-first";
367
- "finished-from-second": "finished-from-second";
368
- "finished-from-languages": "finished-from-languages";
369
- }>>;
693
+ onboardingStatus: z.ZodOptional<z.ZodEnum<["skipped-from-first", "skipped-from-second", "finished-from-first", "finished-from-second", "finished-from-languages"]>>;
694
+ } & {
695
+ pushToken: z.ZodOptional<z.ZodString>;
370
696
  securityModeOn: z.ZodOptional<z.ZodBoolean>;
371
697
  appVersion: z.ZodString;
372
698
  lastUpdate: z.ZodNumber;
@@ -378,67 +704,296 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<{
378
704
  country: z.ZodOptional<z.ZodString>;
379
705
  region: z.ZodOptional<z.ZodString>;
380
706
  city: z.ZodOptional<z.ZodString>;
707
+ /**
708
+ * Indicates that the lesson was completed manually from the lesson sheet
709
+ * rather than automatically by doing the lesson on the lesson screen.
710
+ */
381
711
  manual: z.ZodOptional<z.ZodBoolean>;
382
- }, z.core.$strip>>;
712
+ }, "strip", z.ZodTypeAny, {
713
+ lessonId: string;
714
+ meetLanguageId: string;
715
+ time: number;
716
+ city?: string | undefined;
717
+ country?: string | undefined;
718
+ region?: string | undefined;
719
+ manual?: boolean | undefined;
720
+ }, {
721
+ lessonId: string;
722
+ meetLanguageId: string;
723
+ time: number;
724
+ city?: string | undefined;
725
+ country?: string | undefined;
726
+ region?: string | undefined;
727
+ manual?: boolean | undefined;
728
+ }>, "many">;
383
729
  trainingUnlocked: z.ZodOptional<z.ZodBoolean>;
384
- meetFavorites: z.ZodArray<z.ZodString>;
730
+ meet: z.ZodString;
731
+ appInterface: z.ZodString;
732
+ meetFavorites: z.ZodArray<z.ZodString, "many">;
385
733
  osVersion: z.ZodNullable<z.ZodString>;
386
734
  isDev: z.ZodBoolean;
387
735
  shareLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
388
736
  time: z.ZodNumber;
389
- content: z.ZodEnum<{
390
- lesson: "lesson";
391
- note: "note";
392
- setLink: "setLink";
393
- lessonLink: "lessonLink";
394
- app: "app";
395
- passcode: "passcode";
396
- lessonAudio: "lessonAudio";
397
- lessonText: "lessonText";
398
- storyText: "storyText";
399
- storyAudio: "storyAudio";
400
- meetingInvite: "meetingInvite";
401
- articleLink: "articleLink";
402
- videoLink: "videoLink";
403
- notification: "notification";
404
- meetingSchedule: "meetingSchedule";
405
- scriptureText: "scriptureText";
406
- mt: "mt";
407
- scriptureAudio: "scriptureAudio";
408
- inviteGroup: "inviteGroup";
409
- offlineVersionLink: "offlineVersionLink";
410
- customSet: "customSet";
411
- }>;
737
+ content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
412
738
  lessonId: z.ZodOptional<z.ZodString>;
413
739
  articleSlug: z.ZodOptional<z.ZodString>;
414
- }, z.core.$strip>>>;
740
+ }, "strip", z.ZodTypeAny, {
741
+ time: number;
742
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
743
+ lessonId?: string | undefined;
744
+ articleSlug?: string | undefined;
745
+ }, {
746
+ time: number;
747
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
748
+ lessonId?: string | undefined;
749
+ articleSlug?: string | undefined;
750
+ }>, "many">>;
415
751
  bibleSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
416
752
  chapter: z.ZodString;
417
753
  timeSpent: z.ZodNumber;
418
754
  startTime: z.ZodNumber;
419
755
  translation: z.ZodString;
420
- }, z.core.$strip>>>;
756
+ }, "strip", z.ZodTypeAny, {
757
+ chapter: string;
758
+ startTime: number;
759
+ timeSpent: number;
760
+ translation: string;
761
+ }, {
762
+ chapter: string;
763
+ startTime: number;
764
+ timeSpent: number;
765
+ translation: string;
766
+ }>, "many">>;
421
767
  articleSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
422
768
  articleSlug: z.ZodString;
423
769
  timeSpent: z.ZodNumber;
424
770
  startTime: z.ZodNumber;
425
- }, z.core.$strip>>>;
771
+ }, "strip", z.ZodTypeAny, {
772
+ startTime: number;
773
+ articleSlug: string;
774
+ timeSpent: number;
775
+ }, {
776
+ startTime: number;
777
+ articleSlug: string;
778
+ timeSpent: number;
779
+ }>, "many">>;
426
780
  activated: z.ZodOptional<z.ZodBoolean>;
427
- worksheetCompletions: z.ZodOptional<z.ZodArray<z.ZodObject<{
428
- city: z.ZodOptional<z.ZodString>;
429
- country: z.ZodOptional<z.ZodString>;
430
- region: z.ZodOptional<z.ZodString>;
781
+ worksheetCompletions: z.ZodOptional<z.ZodArray<z.ZodObject<Omit<{
431
782
  startTime: z.ZodNumber;
432
783
  completionTime: z.ZodOptional<z.ZodNumber>;
433
784
  worksheetId: z.ZodString;
785
+ answers: z.ZodArray<z.ZodObject<{
786
+ question: z.ZodString;
787
+ answer: z.ZodString;
788
+ }, "strip", z.ZodTypeAny, {
789
+ question: string;
790
+ answer: string;
791
+ }, {
792
+ question: string;
793
+ answer: string;
794
+ }>, "many">;
795
+ country: z.ZodOptional<z.ZodString>;
796
+ region: z.ZodOptional<z.ZodString>;
797
+ city: z.ZodOptional<z.ZodString>;
434
798
  didApply: z.ZodOptional<z.ZodBoolean>;
435
799
  notificationText: z.ZodOptional<z.ZodString>;
436
800
  feedback: z.ZodOptional<z.ZodString>;
437
- }, z.core.$strip>>>;
801
+ }, "answers">, "strip", z.ZodTypeAny, {
802
+ startTime: number;
803
+ worksheetId: string;
804
+ city?: string | undefined;
805
+ country?: string | undefined;
806
+ region?: string | undefined;
807
+ completionTime?: number | undefined;
808
+ didApply?: boolean | undefined;
809
+ notificationText?: string | undefined;
810
+ feedback?: string | undefined;
811
+ }, {
812
+ startTime: number;
813
+ worksheetId: string;
814
+ city?: string | undefined;
815
+ country?: string | undefined;
816
+ region?: string | undefined;
817
+ completionTime?: number | undefined;
818
+ didApply?: boolean | undefined;
819
+ notificationText?: string | undefined;
820
+ feedback?: string | undefined;
821
+ }>, "many">>;
822
+ }, "wahaUserId" | "pushToken" | "notificationPermission"> & {
438
823
  wahaUserId: z.ZodString;
439
824
  pushToken: z.ZodString;
440
825
  notificationPermission: z.ZodLiteral<"granted">;
441
- }, z.core.$strip>;
826
+ }, "strip", z.ZodTypeAny, {
827
+ appInterface: string;
828
+ meet: string;
829
+ wahaUserId: string;
830
+ pushToken: string;
831
+ notificationPermission: "granted";
832
+ appVersion: string;
833
+ lastUpdate: number;
834
+ platform: string;
835
+ completions: {
836
+ lessonId: string;
837
+ meetLanguageId: string;
838
+ time: number;
839
+ city?: string | undefined;
840
+ country?: string | undefined;
841
+ region?: string | undefined;
842
+ manual?: boolean | undefined;
843
+ }[];
844
+ meetFavorites: string[];
845
+ osVersion: string | null;
846
+ isDev: boolean;
847
+ name?: string | undefined;
848
+ email?: string | undefined;
849
+ location?: {
850
+ city?: string | undefined;
851
+ country?: string | undefined;
852
+ region?: string | undefined;
853
+ } | undefined;
854
+ pastLocations?: {
855
+ city?: string | undefined;
856
+ country?: string | undefined;
857
+ region?: string | undefined;
858
+ }[] | undefined;
859
+ phoneLocation?: string | undefined;
860
+ isSubscribedToEmailUpdates?: boolean | undefined;
861
+ utm?: Record<string, string> | undefined;
862
+ firstOpen?: number | undefined;
863
+ finishedOnboarding?: number | undefined;
864
+ howFamiliarWithBible?: number | undefined;
865
+ followingFor2Years?: number | undefined;
866
+ notificationsClicked?: number | undefined;
867
+ notificationLinksClicked?: number | undefined;
868
+ isBeliever?: boolean | undefined;
869
+ isInAGroup?: boolean | undefined;
870
+ desires?: ("talk_to_others_about_jesus" | "build_a_team_of_disciple_makers" | "reach_my_entire_people_or_nation_for_god" | "understand_wahas_impact" | "understand_how_waha_works" | "get_coaching" | "see_god_transform_my_community" | "discover_whats_in_the_bible" | "find_hope_in_my_troubles" | "get_right_with_god" | "learn_more_about_jesus")[] | undefined;
871
+ customDesire?: string | undefined;
872
+ isCCWorker?: boolean | undefined;
873
+ isAdvocate?: boolean | undefined;
874
+ phoneNumber?: string | undefined;
875
+ engagementScore?: number | undefined;
876
+ hasDonated?: boolean | undefined;
877
+ lastDonationAsk?: number | undefined;
878
+ numberOfDonationAsks?: number | undefined;
879
+ onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
880
+ securityModeOn?: boolean | undefined;
881
+ trainingUnlocked?: boolean | undefined;
882
+ shareLog?: {
883
+ time: number;
884
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
885
+ lessonId?: string | undefined;
886
+ articleSlug?: string | undefined;
887
+ }[] | undefined;
888
+ bibleSessions?: {
889
+ chapter: string;
890
+ startTime: number;
891
+ timeSpent: number;
892
+ translation: string;
893
+ }[] | undefined;
894
+ articleSessions?: {
895
+ startTime: number;
896
+ articleSlug: string;
897
+ timeSpent: number;
898
+ }[] | undefined;
899
+ activated?: boolean | undefined;
900
+ worksheetCompletions?: {
901
+ startTime: number;
902
+ worksheetId: string;
903
+ city?: string | undefined;
904
+ country?: string | undefined;
905
+ region?: string | undefined;
906
+ completionTime?: number | undefined;
907
+ didApply?: boolean | undefined;
908
+ notificationText?: string | undefined;
909
+ feedback?: string | undefined;
910
+ }[] | undefined;
911
+ }, {
912
+ appInterface: string;
913
+ meet: string;
914
+ wahaUserId: string;
915
+ pushToken: string;
916
+ notificationPermission: "granted";
917
+ appVersion: string;
918
+ lastUpdate: number;
919
+ platform: string;
920
+ completions: {
921
+ lessonId: string;
922
+ meetLanguageId: string;
923
+ time: number;
924
+ city?: string | undefined;
925
+ country?: string | undefined;
926
+ region?: string | undefined;
927
+ manual?: boolean | undefined;
928
+ }[];
929
+ meetFavorites: string[];
930
+ osVersion: string | null;
931
+ isDev: boolean;
932
+ name?: string | undefined;
933
+ email?: string | undefined;
934
+ location?: {
935
+ city?: string | undefined;
936
+ country?: string | undefined;
937
+ region?: string | undefined;
938
+ } | undefined;
939
+ pastLocations?: {
940
+ city?: string | undefined;
941
+ country?: string | undefined;
942
+ region?: string | undefined;
943
+ }[] | undefined;
944
+ phoneLocation?: string | undefined;
945
+ isSubscribedToEmailUpdates?: boolean | undefined;
946
+ utm?: Record<string, string> | undefined;
947
+ firstOpen?: number | undefined;
948
+ finishedOnboarding?: number | undefined;
949
+ howFamiliarWithBible?: number | undefined;
950
+ followingFor2Years?: number | undefined;
951
+ notificationsClicked?: number | undefined;
952
+ notificationLinksClicked?: number | undefined;
953
+ isBeliever?: boolean | undefined;
954
+ isInAGroup?: boolean | undefined;
955
+ desires?: ("talk_to_others_about_jesus" | "build_a_team_of_disciple_makers" | "reach_my_entire_people_or_nation_for_god" | "understand_wahas_impact" | "understand_how_waha_works" | "get_coaching" | "see_god_transform_my_community" | "discover_whats_in_the_bible" | "find_hope_in_my_troubles" | "get_right_with_god" | "learn_more_about_jesus")[] | undefined;
956
+ customDesire?: string | undefined;
957
+ isCCWorker?: boolean | undefined;
958
+ isAdvocate?: boolean | undefined;
959
+ phoneNumber?: string | undefined;
960
+ engagementScore?: number | undefined;
961
+ hasDonated?: boolean | undefined;
962
+ lastDonationAsk?: number | undefined;
963
+ numberOfDonationAsks?: number | undefined;
964
+ onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
965
+ securityModeOn?: boolean | undefined;
966
+ trainingUnlocked?: boolean | undefined;
967
+ shareLog?: {
968
+ time: number;
969
+ content: "lesson" | "note" | "setLink" | "lessonLink" | "app" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "mt" | "scriptureAudio" | "inviteGroup" | "offlineVersionLink" | "customSet";
970
+ lessonId?: string | undefined;
971
+ articleSlug?: string | undefined;
972
+ }[] | undefined;
973
+ bibleSessions?: {
974
+ chapter: string;
975
+ startTime: number;
976
+ timeSpent: number;
977
+ translation: string;
978
+ }[] | undefined;
979
+ articleSessions?: {
980
+ startTime: number;
981
+ articleSlug: string;
982
+ timeSpent: number;
983
+ }[] | undefined;
984
+ activated?: boolean | undefined;
985
+ worksheetCompletions?: {
986
+ startTime: number;
987
+ worksheetId: string;
988
+ city?: string | undefined;
989
+ country?: string | undefined;
990
+ region?: string | undefined;
991
+ completionTime?: number | undefined;
992
+ didApply?: boolean | undefined;
993
+ notificationText?: string | undefined;
994
+ feedback?: string | undefined;
995
+ }[] | undefined;
996
+ }>;
442
997
  export type PushEnabledWahaUser = z.infer<typeof PushEnabledWahaUserSchema>;
443
998
  export type WahaUser = z.infer<typeof WahaUserSchema>;
444
999
  export {};