waha-shared 1.0.1 → 1.0.3
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/README.md +2 -2
- package/dist/data/bibleAudios.d.ts +8 -0
- package/dist/data/bibleAudios.js +8 -0
- package/dist/data/bibleAudios.json +394 -0
- package/dist/data/bibleResources/bibleBooks.d.ts +3 -0
- package/dist/data/bibleResources/bibleBooks.js +7 -0
- package/dist/data/bibleResources/bibleBooks.json +6071 -0
- package/dist/data/bibleResources/bibleChaptersList.d.ts +2 -0
- package/dist/data/bibleResources/bibleChaptersList.js +8 -0
- package/dist/data/bibleResources/bibleChaptersList.json +1191 -0
- package/dist/data/bibleStatuses.d.ts +7 -0
- package/dist/data/bibleStatuses.js +8 -0
- package/dist/data/bibleStatuses.json +9196 -0
- package/dist/data/bibleTexts.d.ts +16 -0
- package/dist/data/bibleTexts.js +8 -0
- package/dist/data/bibleTexts.json +527 -0
- package/dist/data/countryResources/areas.d.ts +3 -0
- package/dist/data/countryResources/areas.js +7 -0
- package/dist/data/countryResources/areas.json +74 -0
- package/dist/data/countryResources/countries.d.ts +3 -0
- package/dist/data/countryResources/countries.js +7 -0
- package/dist/data/countryResources/countries.json +3362 -0
- package/dist/data/foundationsCurriculums.d.ts +5 -0
- package/dist/data/foundationsCurriculums.js +8 -0
- package/dist/data/foundationsCurriculums.json +130 -0
- package/dist/data/languageResources/countriesAndLanguages.d.ts +13 -0
- package/dist/data/languageResources/countriesAndLanguages.js +7 -0
- package/dist/data/languageResources/countriesAndLanguages.json +11718 -0
- package/dist/data/languageResources/phoneLanguages.d.ts +11 -0
- package/dist/data/languageResources/phoneLanguages.js +7 -0
- package/dist/data/languageResources/phoneLanguages.json +1532 -0
- package/dist/data/languages.d.ts +45 -0
- package/dist/data/languages.js +8 -0
- package/dist/data/languages.json +7045 -0
- package/dist/data/mediaDurations.d.ts +6 -0
- package/dist/data/mediaDurations.js +8 -0
- package/dist/data/mediaDurations.json +32364 -0
- package/dist/data/notification.d.ts +16 -0
- package/dist/data/notification.js +8 -0
- package/dist/data/notification.json +69 -0
- package/dist/data/numeralMaps.d.ts +13 -0
- package/dist/data/numeralMaps.js +8 -0
- package/dist/data/numeralMaps.json +26 -0
- package/dist/data/questions.d.ts +8 -0
- package/dist/data/questions.js +8 -0
- package/dist/data/questions.json +317 -0
- package/dist/data/questionsCurriculums.d.ts +8 -0
- package/dist/data/questionsCurriculums.js +8 -0
- package/dist/data/questionsCurriculums.json +753 -0
- package/dist/data/releaseNotes.d.ts +6 -0
- package/dist/data/releaseNotes.js +8 -0
- package/dist/data/releaseNotes.json +2381 -0
- package/dist/data/screenshots.d.ts +5 -0
- package/dist/data/screenshots.js +8 -0
- package/dist/data/screenshots.json +17 -0
- package/dist/data/sets.d.ts +14 -0
- package/dist/data/sets.js +8 -0
- package/dist/data/sets.json +12258 -0
- package/dist/data/specialIds.d.ts +18 -0
- package/dist/data/specialIds.js +7 -0
- package/dist/data/specialIds.json +72 -0
- package/dist/data/topicsCurriculums.d.ts +5 -0
- package/dist/data/topicsCurriculums.js +8 -0
- package/dist/data/topicsCurriculums.json +131 -0
- package/dist/data/typescript/appTranslations.d.ts +915 -0
- package/dist/data/typescript/appTranslations.js +315 -0
- package/dist/data/typescript/areas.d.ts +18 -0
- package/dist/data/typescript/areas.js +42 -0
- package/dist/data/typescript/aslTimestamps.d.ts +43 -0
- package/dist/data/typescript/aslTimestamps.js +31 -0
- package/dist/data/typescript/bibleAudioAvailableChapters.d.ts +3 -0
- package/dist/data/typescript/bibleAudioAvailableChapters.js +36 -0
- package/dist/data/typescript/bibleAudios.d.ts +21 -0
- package/dist/data/typescript/bibleAudios.js +23 -0
- package/dist/data/typescript/bibleBookNames.d.ts +3 -0
- package/dist/data/typescript/bibleBookNames.js +98 -0
- package/dist/data/typescript/bibleBooks.d.ts +69 -0
- package/dist/data/typescript/bibleBooks.js +56 -0
- package/dist/data/typescript/bibleChapters.d.ts +49 -0
- package/dist/data/typescript/bibleChapters.js +29 -0
- package/dist/data/typescript/bibleStatuses.d.ts +28 -0
- package/dist/data/typescript/bibleStatuses.js +39 -0
- package/dist/data/typescript/bibleTextAvailableChapters.d.ts +3 -0
- package/dist/data/typescript/bibleTextAvailableChapters.js +36 -0
- package/dist/data/typescript/bibleTexts.d.ts +53 -0
- package/dist/data/typescript/bibleTexts.js +54 -0
- package/dist/data/typescript/clones.d.ts +36 -0
- package/dist/data/typescript/clones.js +28 -0
- package/dist/data/typescript/countries.d.ts +98 -0
- package/dist/data/typescript/countries.js +149 -0
- package/dist/data/typescript/foundationsCurriculums.d.ts +12 -0
- package/dist/data/typescript/foundationsCurriculums.js +12 -0
- package/dist/data/typescript/introductionTranslations.d.ts +202 -0
- package/dist/data/typescript/introductionTranslations.js +53 -0
- package/dist/data/typescript/languages.d.ts +148 -0
- package/dist/data/typescript/languages.js +302 -0
- package/dist/data/typescript/mediaDurations.d.ts +23 -0
- package/dist/data/typescript/mediaDurations.js +72 -0
- package/dist/data/typescript/notification.d.ts +45 -0
- package/dist/data/typescript/notification.js +176 -0
- package/dist/data/typescript/numeralMaps.d.ts +58 -0
- package/dist/data/typescript/numeralMaps.js +71 -0
- package/dist/data/typescript/questionTranslations.d.ts +3 -0
- package/dist/data/typescript/questionTranslations.js +5 -0
- package/dist/data/typescript/questions.d.ts +21 -0
- package/dist/data/typescript/questions.js +18 -0
- package/dist/data/typescript/questionsCurriculums.d.ts +27 -0
- package/dist/data/typescript/questionsCurriculums.js +19 -0
- package/dist/data/typescript/releaseNotes.d.ts +15 -0
- package/dist/data/typescript/releaseNotes.js +9 -0
- package/dist/data/typescript/screenshots.d.ts +12 -0
- package/dist/data/typescript/screenshots.js +49 -0
- package/dist/data/typescript/setTranslations.d.ts +27 -0
- package/dist/data/typescript/setTranslations.js +32 -0
- package/dist/data/typescript/sets.d.ts +49 -0
- package/dist/data/typescript/sets.js +88 -0
- package/dist/data/typescript/topicsCurriculums.d.ts +12 -0
- package/dist/data/typescript/topicsCurriculums.js +12 -0
- package/dist/data/youtube/videos.d.ts +2 -0
- package/dist/data/youtube/videos.js +7 -0
- package/dist/data/youtube/videos.json +262 -0
- package/dist/functions/activeCampaign.d.ts +8 -0
- package/dist/functions/activeCampaign.js +97 -0
- package/dist/functions/bibleChapterUtils.d.ts +15 -0
- package/dist/functions/bibleChapterUtils.js +231 -0
- package/dist/functions/crowdin.d.ts +24 -0
- package/dist/functions/crowdin.js +34 -0
- package/dist/functions/languages.d.ts +24 -0
- package/dist/functions/languages.js +212 -0
- package/dist/functions/scripturePassages.d.ts +47 -0
- package/dist/functions/scripturePassages.js +261 -0
- package/dist/functions/sets.d.ts +30 -0
- package/dist/functions/sets.js +371 -0
- package/dist/translations/appTranslations.d.ts +306 -0
- package/dist/translations/appTranslations.js +8 -0
- package/dist/translations/appTranslations.json +10239 -0
- package/dist/translations/introductionTranslations.d.ts +43 -0
- package/dist/translations/introductionTranslations.js +8 -0
- package/dist/translations/introductionTranslations.json +422 -0
- package/dist/translations/questionTranslations.d.ts +2 -0
- package/dist/translations/questionTranslations.js +8 -0
- package/dist/translations/questionTranslations.json +1472 -0
- package/dist/translations/setTranslations.d.ts +10 -0
- package/dist/translations/setTranslations.js +8 -0
- package/dist/translations/setTranslations.json +30257 -0
- package/dist/types/analytics.d.ts +119 -0
- package/dist/types/analytics.js +2 -0
- package/dist/types/completions.d.ts +8 -0
- package/dist/types/completions.js +2 -0
- package/dist/types/feedback.d.ts +60 -0
- package/dist/types/feedback.js +27 -0
- package/dist/types/languages.d.ts +31 -0
- package/dist/types/languages.js +2 -0
- package/dist/types/notifications.d.ts +128 -0
- package/dist/types/notifications.js +30 -0
- package/dist/types/sets.d.ts +70 -0
- package/dist/types/sets.js +10 -0
- package/dist/types/users.d.ts +765 -0
- package/dist/types/users.js +137 -0
- package/package.json +2 -2
- package/.DS_Store +0 -0
- package/__init__.py +0 -0
- package/copy.ts +0 -37
- package/data/README.md +0 -45
- package/data/__init__.py +0 -0
- package/data/aslTimestamps.json +0 -192788
- package/data/bibleAudios.json +0 -394
- package/data/bibleAudios.ts +0 -4
- package/data/bibleResources/audioBibleLicenses.json +0 -6235
- package/data/bibleResources/bibleBooks.json +0 -6071
- package/data/bibleResources/bibleBooks.ts +0 -4
- package/data/bibleResources/bibleChaptersList.json +0 -1191
- package/data/bibleResources/bibleChaptersList.ts +0 -4
- package/data/bibleResources/textBibleLicenses.json +0 -14603
- package/data/bibleStatuses.json +0 -9196
- package/data/bibleStatuses.ts +0 -4
- package/data/bibleTexts.json +0 -527
- package/data/bibleTexts.ts +0 -4
- package/data/clones.json +0 -13
- package/data/countryResources/areas.json +0 -74
- package/data/countryResources/areas.ts +0 -4
- package/data/countryResources/countries.json +0 -3362
- package/data/countryResources/countries.ts +0 -4
- package/data/foundationsCurriculums.json +0 -130
- package/data/foundationsCurriculums.ts +0 -4
- package/data/languageResources/countriesAndLanguages.json +0 -11718
- package/data/languageResources/countriesAndLanguages.ts +0 -16
- package/data/languageResources/crowdinLanguages.json +0 -2172
- package/data/languageResources/iosVoiceOverLanguages.json +0 -64
- package/data/languageResources/iso6933LanguageCodes.json +0 -7927
- package/data/languageResources/mmsLanguages.json +0 -28164
- package/data/languageResources/phoneLanguages.json +0 -1532
- package/data/languageResources/phoneLanguages.ts +0 -14
- package/data/languages.json +0 -7045
- package/data/languages.ts +0 -4
- package/data/mediaDurations.json +0 -32364
- package/data/mediaDurations.ts +0 -4
- package/data/notification.json +0 -69
- package/data/notification.ts +0 -4
- package/data/numeralMaps.json +0 -26
- package/data/numeralMaps.ts +0 -4
- package/data/orphanedBibleTexts.json +0 -2747
- package/data/questions.json +0 -317
- package/data/questions.ts +0 -4
- package/data/questionsCurriculums.json +0 -753
- package/data/questionsCurriculums.ts +0 -4
- package/data/releaseNotes.json +0 -2381
- package/data/releaseNotes.ts +0 -4
- package/data/schemas/appTranslations.schema.json +0 -802
- package/data/schemas/areas.schema.json +0 -76
- package/data/schemas/aslTimestamps.schema.json +0 -59
- package/data/schemas/bibleAudios.schema.json +0 -37
- package/data/schemas/bibleBooks.schema.json +0 -112
- package/data/schemas/bibleChapters.schema.json +0 -61
- package/data/schemas/bibleStatuses.schema.json +0 -41
- package/data/schemas/bibleTexts.schema.json +0 -60
- package/data/schemas/clones.schema.json +0 -63
- package/data/schemas/countries.schema.json +0 -84
- package/data/schemas/foundationsCurriculums.schema.json +0 -20
- package/data/schemas/introductionTranslations.schema.json +0 -101
- package/data/schemas/languages.schema.json +0 -365
- package/data/schemas/mediaDurations.schema.json +0 -41
- package/data/schemas/notification.schema.json +0 -111
- package/data/schemas/numeralMaps.schema.json +0 -57
- package/data/schemas/questionTranslations.schema.json +0 -20
- package/data/schemas/questions.schema.json +0 -29
- package/data/schemas/questionsCurriculums.schema.json +0 -34
- package/data/schemas/releaseNotes.schema.json +0 -21
- package/data/schemas/screenshots.schema.json +0 -23
- package/data/schemas/setTranslations.schema.json +0 -70
- package/data/schemas/sets.schema.json +0 -109
- package/data/schemas/topicsCurriculums.schema.json +0 -20
- package/data/screenshots.json +0 -17
- package/data/screenshots.ts +0 -4
- package/data/sets.json +0 -12258
- package/data/sets.ts +0 -4
- package/data/specialIds.json +0 -72
- package/data/specialIds.ts +0 -19
- package/data/timings/som.json +0 -9150
- package/data/topicsCurriculums.json +0 -131
- package/data/topicsCurriculums.ts +0 -4
- package/data/typescript/appTranslations.ts +0 -322
- package/data/typescript/areas.ts +0 -45
- package/data/typescript/aslTimestamps.ts +0 -36
- package/data/typescript/bibleAudioAvailableChapters.ts +0 -35
- package/data/typescript/bibleAudios.ts +0 -32
- package/data/typescript/bibleBookNames.ts +0 -97
- package/data/typescript/bibleBooks.ts +0 -63
- package/data/typescript/bibleChapters.ts +0 -40
- package/data/typescript/bibleStatuses.ts +0 -54
- package/data/typescript/bibleTextAvailableChapters.ts +0 -35
- package/data/typescript/bibleTexts.ts +0 -63
- package/data/typescript/clones.ts +0 -35
- package/data/typescript/countries.ts +0 -152
- package/data/typescript/foundationsCurriculums.ts +0 -15
- package/data/typescript/introductionTranslations.ts +0 -60
- package/data/typescript/languages.ts +0 -369
- package/data/typescript/mediaDurations.ts +0 -89
- package/data/typescript/notification.ts +0 -189
- package/data/typescript/numeralMaps.ts +0 -74
- package/data/typescript/questionTranslations.ts +0 -6
- package/data/typescript/questions.ts +0 -25
- package/data/typescript/questionsCurriculums.ts +0 -26
- package/data/typescript/releaseNotes.ts +0 -10
- package/data/typescript/screenshots.ts +0 -52
- package/data/typescript/setTranslations.ts +0 -39
- package/data/typescript/sets.ts +0 -105
- package/data/typescript/topicsCurriculums.ts +0 -15
- package/data/youtube/playlists.json +0 -28
- package/data/youtube/videos.json +0 -262
- package/data/youtube/videos.ts +0 -2
- package/functions/activeCampaign.ts +0 -127
- package/functions/bibleChapterUtils.ts +0 -241
- package/functions/crowdin.ts +0 -51
- package/functions/languages.ts +0 -284
- package/functions/scripturePassages.ts +0 -368
- package/functions/sets.ts +0 -495
- package/translations/appTranslations.json +0 -10239
- package/translations/appTranslations.ts +0 -4
- package/translations/introductionTranslations.json +0 -422
- package/translations/introductionTranslations.ts +0 -4
- package/translations/questionTranslations.json +0 -1472
- package/translations/questionTranslations.ts +0 -4
- package/translations/setTranslations.json +0 -30257
- package/translations/setTranslations.ts +0 -4
- package/translations/spokenQuestionTranslations.json +0 -1472
- package/types/analytics.ts +0 -147
- package/types/completions.ts +0 -9
- package/types/feedback.ts +0 -27
- package/types/languages.ts +0 -37
- package/types/notifications.ts +0 -37
- package/types/sets.ts +0 -84
- package/types/users.ts +0 -162
|
@@ -0,0 +1,765 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
export declare const WahaUserLocationSchema: z.ZodObject<{
|
|
3
|
+
city: z.ZodOptional<z.ZodString>;
|
|
4
|
+
country: z.ZodOptional<z.ZodString>;
|
|
5
|
+
region: z.ZodOptional<z.ZodString>;
|
|
6
|
+
}, "strip", z.ZodTypeAny, {
|
|
7
|
+
city?: string | undefined;
|
|
8
|
+
country?: string | undefined;
|
|
9
|
+
region?: string | undefined;
|
|
10
|
+
}, {
|
|
11
|
+
city?: string | undefined;
|
|
12
|
+
country?: string | undefined;
|
|
13
|
+
region?: string | undefined;
|
|
14
|
+
}>;
|
|
15
|
+
export type WahaUserLocation = z.infer<typeof WahaUserLocationSchema>;
|
|
16
|
+
export type WahaAppVersion = `${number}.${number}.${number}`;
|
|
17
|
+
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"]>;
|
|
18
|
+
export type DesireId = z.infer<typeof DesireIdSchema>;
|
|
19
|
+
export declare const WahaUserStateSchema: z.ZodObject<{
|
|
20
|
+
wahaUserId: z.ZodOptional<z.ZodString>;
|
|
21
|
+
name: z.ZodOptional<z.ZodString>;
|
|
22
|
+
email: z.ZodOptional<z.ZodString>;
|
|
23
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
24
|
+
city: z.ZodOptional<z.ZodString>;
|
|
25
|
+
country: z.ZodOptional<z.ZodString>;
|
|
26
|
+
region: z.ZodOptional<z.ZodString>;
|
|
27
|
+
}, "strip", z.ZodTypeAny, {
|
|
28
|
+
city?: string | undefined;
|
|
29
|
+
country?: string | undefined;
|
|
30
|
+
region?: string | undefined;
|
|
31
|
+
}, {
|
|
32
|
+
city?: string | undefined;
|
|
33
|
+
country?: string | undefined;
|
|
34
|
+
region?: string | undefined;
|
|
35
|
+
}>>;
|
|
36
|
+
pastLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
37
|
+
city: z.ZodOptional<z.ZodString>;
|
|
38
|
+
country: z.ZodOptional<z.ZodString>;
|
|
39
|
+
region: z.ZodOptional<z.ZodString>;
|
|
40
|
+
}, "strip", z.ZodTypeAny, {
|
|
41
|
+
city?: string | undefined;
|
|
42
|
+
country?: string | undefined;
|
|
43
|
+
region?: string | undefined;
|
|
44
|
+
}, {
|
|
45
|
+
city?: string | undefined;
|
|
46
|
+
country?: string | undefined;
|
|
47
|
+
region?: string | undefined;
|
|
48
|
+
}>, "many">>;
|
|
49
|
+
phoneLocation: z.ZodOptional<z.ZodString>;
|
|
50
|
+
isSubscribedToEmailUpdates: z.ZodOptional<z.ZodBoolean>;
|
|
51
|
+
pushToken: z.ZodOptional<z.ZodString>;
|
|
52
|
+
notificationPermission: z.ZodEnum<["granted", "undetermined", "denied"]>;
|
|
53
|
+
utm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
54
|
+
firstOpen: z.ZodOptional<z.ZodNumber>;
|
|
55
|
+
finishedOnboarding: z.ZodOptional<z.ZodNumber>;
|
|
56
|
+
howFamiliarWithBible: z.ZodOptional<z.ZodNumber>;
|
|
57
|
+
followingFor2Years: z.ZodOptional<z.ZodNumber>;
|
|
58
|
+
notificationsClicked: z.ZodOptional<z.ZodNumber>;
|
|
59
|
+
notificationLinksClicked: z.ZodOptional<z.ZodNumber>;
|
|
60
|
+
isBeliever: z.ZodOptional<z.ZodBoolean>;
|
|
61
|
+
isInAGroup: z.ZodOptional<z.ZodBoolean>;
|
|
62
|
+
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">>;
|
|
63
|
+
customDesire: z.ZodOptional<z.ZodString>;
|
|
64
|
+
isCCWorker: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
isAdvocate: z.ZodOptional<z.ZodBoolean>;
|
|
66
|
+
onboardingStatus: z.ZodOptional<z.ZodEnum<["skipped-from-first", "skipped-from-second", "finished-from-first", "finished-from-second", "finished-from-languages"]>>;
|
|
67
|
+
}, "strip", z.ZodTypeAny, {
|
|
68
|
+
notificationPermission: "granted" | "undetermined" | "denied";
|
|
69
|
+
name?: string | undefined;
|
|
70
|
+
email?: string | undefined;
|
|
71
|
+
wahaUserId?: string | undefined;
|
|
72
|
+
location?: {
|
|
73
|
+
city?: string | undefined;
|
|
74
|
+
country?: string | undefined;
|
|
75
|
+
region?: string | undefined;
|
|
76
|
+
} | undefined;
|
|
77
|
+
pastLocations?: {
|
|
78
|
+
city?: string | undefined;
|
|
79
|
+
country?: string | undefined;
|
|
80
|
+
region?: string | undefined;
|
|
81
|
+
}[] | undefined;
|
|
82
|
+
phoneLocation?: string | undefined;
|
|
83
|
+
isSubscribedToEmailUpdates?: boolean | undefined;
|
|
84
|
+
pushToken?: string | undefined;
|
|
85
|
+
utm?: Record<string, string> | undefined;
|
|
86
|
+
firstOpen?: number | undefined;
|
|
87
|
+
finishedOnboarding?: number | undefined;
|
|
88
|
+
howFamiliarWithBible?: number | undefined;
|
|
89
|
+
followingFor2Years?: number | undefined;
|
|
90
|
+
notificationsClicked?: number | undefined;
|
|
91
|
+
notificationLinksClicked?: number | undefined;
|
|
92
|
+
isBeliever?: boolean | undefined;
|
|
93
|
+
isInAGroup?: boolean | undefined;
|
|
94
|
+
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;
|
|
95
|
+
customDesire?: string | undefined;
|
|
96
|
+
isCCWorker?: boolean | undefined;
|
|
97
|
+
isAdvocate?: boolean | undefined;
|
|
98
|
+
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
99
|
+
}, {
|
|
100
|
+
notificationPermission: "granted" | "undetermined" | "denied";
|
|
101
|
+
name?: string | undefined;
|
|
102
|
+
email?: string | undefined;
|
|
103
|
+
wahaUserId?: string | undefined;
|
|
104
|
+
location?: {
|
|
105
|
+
city?: string | undefined;
|
|
106
|
+
country?: string | undefined;
|
|
107
|
+
region?: string | undefined;
|
|
108
|
+
} | undefined;
|
|
109
|
+
pastLocations?: {
|
|
110
|
+
city?: string | undefined;
|
|
111
|
+
country?: string | undefined;
|
|
112
|
+
region?: string | undefined;
|
|
113
|
+
}[] | undefined;
|
|
114
|
+
phoneLocation?: string | undefined;
|
|
115
|
+
isSubscribedToEmailUpdates?: boolean | undefined;
|
|
116
|
+
pushToken?: string | undefined;
|
|
117
|
+
utm?: Record<string, string> | undefined;
|
|
118
|
+
firstOpen?: number | undefined;
|
|
119
|
+
finishedOnboarding?: number | undefined;
|
|
120
|
+
howFamiliarWithBible?: number | undefined;
|
|
121
|
+
followingFor2Years?: number | undefined;
|
|
122
|
+
notificationsClicked?: number | undefined;
|
|
123
|
+
notificationLinksClicked?: number | undefined;
|
|
124
|
+
isBeliever?: boolean | undefined;
|
|
125
|
+
isInAGroup?: boolean | undefined;
|
|
126
|
+
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;
|
|
127
|
+
customDesire?: string | undefined;
|
|
128
|
+
isCCWorker?: boolean | undefined;
|
|
129
|
+
isAdvocate?: boolean | undefined;
|
|
130
|
+
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
131
|
+
}>;
|
|
132
|
+
export type WahaUserState = z.infer<typeof WahaUserStateSchema>;
|
|
133
|
+
export declare const WahaAppVersionSchema: z.ZodString;
|
|
134
|
+
export declare const CompletionEventSchema: z.ZodObject<{
|
|
135
|
+
lessonId: z.ZodString;
|
|
136
|
+
meetLanguageId: z.ZodString;
|
|
137
|
+
time: z.ZodNumber;
|
|
138
|
+
country: z.ZodOptional<z.ZodString>;
|
|
139
|
+
region: z.ZodOptional<z.ZodString>;
|
|
140
|
+
city: z.ZodOptional<z.ZodString>;
|
|
141
|
+
/**
|
|
142
|
+
* Indicates that the lesson was completed manually from the lesson sheet
|
|
143
|
+
* rather than automatically by doing the lesson on the lesson screen.
|
|
144
|
+
*/
|
|
145
|
+
manual: z.ZodOptional<z.ZodBoolean>;
|
|
146
|
+
}, "strip", z.ZodTypeAny, {
|
|
147
|
+
lessonId: string;
|
|
148
|
+
meetLanguageId: string;
|
|
149
|
+
time: number;
|
|
150
|
+
city?: string | undefined;
|
|
151
|
+
country?: string | undefined;
|
|
152
|
+
region?: string | undefined;
|
|
153
|
+
manual?: boolean | undefined;
|
|
154
|
+
}, {
|
|
155
|
+
lessonId: string;
|
|
156
|
+
meetLanguageId: string;
|
|
157
|
+
time: number;
|
|
158
|
+
city?: string | undefined;
|
|
159
|
+
country?: string | undefined;
|
|
160
|
+
region?: string | undefined;
|
|
161
|
+
manual?: boolean | undefined;
|
|
162
|
+
}>;
|
|
163
|
+
export type CompletionEvent = z.infer<typeof CompletionEventSchema>;
|
|
164
|
+
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"]>;
|
|
165
|
+
export type WahaShareContent = z.infer<typeof WahaShareContentSchema>;
|
|
166
|
+
export declare const ShareLogEventSchema: z.ZodObject<{
|
|
167
|
+
time: z.ZodNumber;
|
|
168
|
+
content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
|
|
169
|
+
lessonId: z.ZodOptional<z.ZodString>;
|
|
170
|
+
articleSlug: z.ZodOptional<z.ZodString>;
|
|
171
|
+
}, "strip", z.ZodTypeAny, {
|
|
172
|
+
time: number;
|
|
173
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
174
|
+
lessonId?: string | undefined;
|
|
175
|
+
articleSlug?: string | undefined;
|
|
176
|
+
}, {
|
|
177
|
+
time: number;
|
|
178
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
179
|
+
lessonId?: string | undefined;
|
|
180
|
+
articleSlug?: string | undefined;
|
|
181
|
+
}>;
|
|
182
|
+
export type ShareLogEvent = z.infer<typeof ShareLogEventSchema>;
|
|
183
|
+
export declare const BibleSessionSchema: z.ZodObject<{
|
|
184
|
+
chapter: z.ZodString;
|
|
185
|
+
timeSpent: z.ZodNumber;
|
|
186
|
+
startTime: z.ZodNumber;
|
|
187
|
+
translation: z.ZodString;
|
|
188
|
+
}, "strip", z.ZodTypeAny, {
|
|
189
|
+
chapter: string;
|
|
190
|
+
timeSpent: number;
|
|
191
|
+
startTime: number;
|
|
192
|
+
translation: string;
|
|
193
|
+
}, {
|
|
194
|
+
chapter: string;
|
|
195
|
+
timeSpent: number;
|
|
196
|
+
startTime: number;
|
|
197
|
+
translation: string;
|
|
198
|
+
}>;
|
|
199
|
+
export type BibleSession = z.infer<typeof BibleSessionSchema>;
|
|
200
|
+
export declare const ArticleSessionSchema: z.ZodObject<{
|
|
201
|
+
articleSlug: z.ZodString;
|
|
202
|
+
timeSpent: z.ZodNumber;
|
|
203
|
+
startTime: z.ZodNumber;
|
|
204
|
+
}, "strip", z.ZodTypeAny, {
|
|
205
|
+
articleSlug: string;
|
|
206
|
+
timeSpent: number;
|
|
207
|
+
startTime: number;
|
|
208
|
+
}, {
|
|
209
|
+
articleSlug: string;
|
|
210
|
+
timeSpent: number;
|
|
211
|
+
startTime: number;
|
|
212
|
+
}>;
|
|
213
|
+
export type ArticleSession = z.infer<typeof ArticleSessionSchema>;
|
|
214
|
+
export declare const WahaUserSchema: z.ZodObject<{
|
|
215
|
+
wahaUserId: z.ZodOptional<z.ZodString>;
|
|
216
|
+
name: z.ZodOptional<z.ZodString>;
|
|
217
|
+
email: z.ZodOptional<z.ZodString>;
|
|
218
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
219
|
+
city: z.ZodOptional<z.ZodString>;
|
|
220
|
+
country: z.ZodOptional<z.ZodString>;
|
|
221
|
+
region: z.ZodOptional<z.ZodString>;
|
|
222
|
+
}, "strip", z.ZodTypeAny, {
|
|
223
|
+
city?: string | undefined;
|
|
224
|
+
country?: string | undefined;
|
|
225
|
+
region?: string | undefined;
|
|
226
|
+
}, {
|
|
227
|
+
city?: string | undefined;
|
|
228
|
+
country?: string | undefined;
|
|
229
|
+
region?: string | undefined;
|
|
230
|
+
}>>;
|
|
231
|
+
pastLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
232
|
+
city: z.ZodOptional<z.ZodString>;
|
|
233
|
+
country: z.ZodOptional<z.ZodString>;
|
|
234
|
+
region: z.ZodOptional<z.ZodString>;
|
|
235
|
+
}, "strip", z.ZodTypeAny, {
|
|
236
|
+
city?: string | undefined;
|
|
237
|
+
country?: string | undefined;
|
|
238
|
+
region?: string | undefined;
|
|
239
|
+
}, {
|
|
240
|
+
city?: string | undefined;
|
|
241
|
+
country?: string | undefined;
|
|
242
|
+
region?: string | undefined;
|
|
243
|
+
}>, "many">>;
|
|
244
|
+
phoneLocation: z.ZodOptional<z.ZodString>;
|
|
245
|
+
isSubscribedToEmailUpdates: z.ZodOptional<z.ZodBoolean>;
|
|
246
|
+
notificationPermission: z.ZodEnum<["granted", "undetermined", "denied"]>;
|
|
247
|
+
utm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
248
|
+
firstOpen: z.ZodOptional<z.ZodNumber>;
|
|
249
|
+
finishedOnboarding: z.ZodOptional<z.ZodNumber>;
|
|
250
|
+
howFamiliarWithBible: z.ZodOptional<z.ZodNumber>;
|
|
251
|
+
followingFor2Years: z.ZodOptional<z.ZodNumber>;
|
|
252
|
+
notificationsClicked: z.ZodOptional<z.ZodNumber>;
|
|
253
|
+
notificationLinksClicked: z.ZodOptional<z.ZodNumber>;
|
|
254
|
+
isBeliever: z.ZodOptional<z.ZodBoolean>;
|
|
255
|
+
isInAGroup: z.ZodOptional<z.ZodBoolean>;
|
|
256
|
+
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">>;
|
|
257
|
+
customDesire: z.ZodOptional<z.ZodString>;
|
|
258
|
+
isCCWorker: z.ZodOptional<z.ZodBoolean>;
|
|
259
|
+
isAdvocate: z.ZodOptional<z.ZodBoolean>;
|
|
260
|
+
onboardingStatus: z.ZodOptional<z.ZodEnum<["skipped-from-first", "skipped-from-second", "finished-from-first", "finished-from-second", "finished-from-languages"]>>;
|
|
261
|
+
} & {
|
|
262
|
+
pushToken: z.ZodOptional<z.ZodString>;
|
|
263
|
+
securityModeOn: z.ZodOptional<z.ZodBoolean>;
|
|
264
|
+
appVersion: z.ZodString;
|
|
265
|
+
lastUpdate: z.ZodNumber;
|
|
266
|
+
platform: z.ZodString;
|
|
267
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
268
|
+
lessonId: z.ZodString;
|
|
269
|
+
meetLanguageId: z.ZodString;
|
|
270
|
+
time: z.ZodNumber;
|
|
271
|
+
country: z.ZodOptional<z.ZodString>;
|
|
272
|
+
region: z.ZodOptional<z.ZodString>;
|
|
273
|
+
city: z.ZodOptional<z.ZodString>;
|
|
274
|
+
/**
|
|
275
|
+
* Indicates that the lesson was completed manually from the lesson sheet
|
|
276
|
+
* rather than automatically by doing the lesson on the lesson screen.
|
|
277
|
+
*/
|
|
278
|
+
manual: z.ZodOptional<z.ZodBoolean>;
|
|
279
|
+
}, "strip", z.ZodTypeAny, {
|
|
280
|
+
lessonId: string;
|
|
281
|
+
meetLanguageId: string;
|
|
282
|
+
time: number;
|
|
283
|
+
city?: string | undefined;
|
|
284
|
+
country?: string | undefined;
|
|
285
|
+
region?: string | undefined;
|
|
286
|
+
manual?: boolean | undefined;
|
|
287
|
+
}, {
|
|
288
|
+
lessonId: string;
|
|
289
|
+
meetLanguageId: string;
|
|
290
|
+
time: number;
|
|
291
|
+
city?: string | undefined;
|
|
292
|
+
country?: string | undefined;
|
|
293
|
+
region?: string | undefined;
|
|
294
|
+
manual?: boolean | undefined;
|
|
295
|
+
}>, "many">;
|
|
296
|
+
trainingUnlocked: z.ZodOptional<z.ZodBoolean>;
|
|
297
|
+
meet: z.ZodString;
|
|
298
|
+
appInterface: z.ZodString;
|
|
299
|
+
meetFavorites: z.ZodArray<z.ZodString, "many">;
|
|
300
|
+
osVersion: z.ZodNullable<z.ZodString>;
|
|
301
|
+
isDev: z.ZodBoolean;
|
|
302
|
+
shareLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
303
|
+
time: z.ZodNumber;
|
|
304
|
+
content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
|
|
305
|
+
lessonId: z.ZodOptional<z.ZodString>;
|
|
306
|
+
articleSlug: z.ZodOptional<z.ZodString>;
|
|
307
|
+
}, "strip", z.ZodTypeAny, {
|
|
308
|
+
time: number;
|
|
309
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
310
|
+
lessonId?: string | undefined;
|
|
311
|
+
articleSlug?: string | undefined;
|
|
312
|
+
}, {
|
|
313
|
+
time: number;
|
|
314
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
315
|
+
lessonId?: string | undefined;
|
|
316
|
+
articleSlug?: string | undefined;
|
|
317
|
+
}>, "many">>;
|
|
318
|
+
bibleSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
319
|
+
chapter: z.ZodString;
|
|
320
|
+
timeSpent: z.ZodNumber;
|
|
321
|
+
startTime: z.ZodNumber;
|
|
322
|
+
translation: z.ZodString;
|
|
323
|
+
}, "strip", z.ZodTypeAny, {
|
|
324
|
+
chapter: string;
|
|
325
|
+
timeSpent: number;
|
|
326
|
+
startTime: number;
|
|
327
|
+
translation: string;
|
|
328
|
+
}, {
|
|
329
|
+
chapter: string;
|
|
330
|
+
timeSpent: number;
|
|
331
|
+
startTime: number;
|
|
332
|
+
translation: string;
|
|
333
|
+
}>, "many">>;
|
|
334
|
+
articleSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
335
|
+
articleSlug: z.ZodString;
|
|
336
|
+
timeSpent: z.ZodNumber;
|
|
337
|
+
startTime: z.ZodNumber;
|
|
338
|
+
}, "strip", z.ZodTypeAny, {
|
|
339
|
+
articleSlug: string;
|
|
340
|
+
timeSpent: number;
|
|
341
|
+
startTime: number;
|
|
342
|
+
}, {
|
|
343
|
+
articleSlug: string;
|
|
344
|
+
timeSpent: number;
|
|
345
|
+
startTime: number;
|
|
346
|
+
}>, "many">>;
|
|
347
|
+
activated: z.ZodOptional<z.ZodBoolean>;
|
|
348
|
+
}, "strip", z.ZodTypeAny, {
|
|
349
|
+
appInterface: string;
|
|
350
|
+
meet: string;
|
|
351
|
+
notificationPermission: "granted" | "undetermined" | "denied";
|
|
352
|
+
appVersion: string;
|
|
353
|
+
lastUpdate: number;
|
|
354
|
+
platform: string;
|
|
355
|
+
completions: {
|
|
356
|
+
lessonId: string;
|
|
357
|
+
meetLanguageId: string;
|
|
358
|
+
time: number;
|
|
359
|
+
city?: string | undefined;
|
|
360
|
+
country?: string | undefined;
|
|
361
|
+
region?: string | undefined;
|
|
362
|
+
manual?: boolean | undefined;
|
|
363
|
+
}[];
|
|
364
|
+
meetFavorites: string[];
|
|
365
|
+
osVersion: string | null;
|
|
366
|
+
isDev: boolean;
|
|
367
|
+
name?: string | undefined;
|
|
368
|
+
email?: string | undefined;
|
|
369
|
+
wahaUserId?: string | undefined;
|
|
370
|
+
location?: {
|
|
371
|
+
city?: string | undefined;
|
|
372
|
+
country?: string | undefined;
|
|
373
|
+
region?: string | undefined;
|
|
374
|
+
} | undefined;
|
|
375
|
+
pastLocations?: {
|
|
376
|
+
city?: string | undefined;
|
|
377
|
+
country?: string | undefined;
|
|
378
|
+
region?: string | undefined;
|
|
379
|
+
}[] | undefined;
|
|
380
|
+
phoneLocation?: string | undefined;
|
|
381
|
+
isSubscribedToEmailUpdates?: boolean | undefined;
|
|
382
|
+
pushToken?: string | undefined;
|
|
383
|
+
utm?: Record<string, string> | undefined;
|
|
384
|
+
firstOpen?: number | undefined;
|
|
385
|
+
finishedOnboarding?: number | undefined;
|
|
386
|
+
howFamiliarWithBible?: number | undefined;
|
|
387
|
+
followingFor2Years?: number | undefined;
|
|
388
|
+
notificationsClicked?: number | undefined;
|
|
389
|
+
notificationLinksClicked?: number | undefined;
|
|
390
|
+
isBeliever?: boolean | undefined;
|
|
391
|
+
isInAGroup?: boolean | undefined;
|
|
392
|
+
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;
|
|
393
|
+
customDesire?: string | undefined;
|
|
394
|
+
isCCWorker?: boolean | undefined;
|
|
395
|
+
isAdvocate?: boolean | undefined;
|
|
396
|
+
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
397
|
+
securityModeOn?: boolean | undefined;
|
|
398
|
+
trainingUnlocked?: boolean | undefined;
|
|
399
|
+
shareLog?: {
|
|
400
|
+
time: number;
|
|
401
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
402
|
+
lessonId?: string | undefined;
|
|
403
|
+
articleSlug?: string | undefined;
|
|
404
|
+
}[] | undefined;
|
|
405
|
+
bibleSessions?: {
|
|
406
|
+
chapter: string;
|
|
407
|
+
timeSpent: number;
|
|
408
|
+
startTime: number;
|
|
409
|
+
translation: string;
|
|
410
|
+
}[] | undefined;
|
|
411
|
+
articleSessions?: {
|
|
412
|
+
articleSlug: string;
|
|
413
|
+
timeSpent: number;
|
|
414
|
+
startTime: number;
|
|
415
|
+
}[] | undefined;
|
|
416
|
+
activated?: boolean | undefined;
|
|
417
|
+
}, {
|
|
418
|
+
appInterface: string;
|
|
419
|
+
meet: string;
|
|
420
|
+
notificationPermission: "granted" | "undetermined" | "denied";
|
|
421
|
+
appVersion: string;
|
|
422
|
+
lastUpdate: number;
|
|
423
|
+
platform: string;
|
|
424
|
+
completions: {
|
|
425
|
+
lessonId: string;
|
|
426
|
+
meetLanguageId: string;
|
|
427
|
+
time: number;
|
|
428
|
+
city?: string | undefined;
|
|
429
|
+
country?: string | undefined;
|
|
430
|
+
region?: string | undefined;
|
|
431
|
+
manual?: boolean | undefined;
|
|
432
|
+
}[];
|
|
433
|
+
meetFavorites: string[];
|
|
434
|
+
osVersion: string | null;
|
|
435
|
+
isDev: boolean;
|
|
436
|
+
name?: string | undefined;
|
|
437
|
+
email?: string | undefined;
|
|
438
|
+
wahaUserId?: string | undefined;
|
|
439
|
+
location?: {
|
|
440
|
+
city?: string | undefined;
|
|
441
|
+
country?: string | undefined;
|
|
442
|
+
region?: string | undefined;
|
|
443
|
+
} | undefined;
|
|
444
|
+
pastLocations?: {
|
|
445
|
+
city?: string | undefined;
|
|
446
|
+
country?: string | undefined;
|
|
447
|
+
region?: string | undefined;
|
|
448
|
+
}[] | undefined;
|
|
449
|
+
phoneLocation?: string | undefined;
|
|
450
|
+
isSubscribedToEmailUpdates?: boolean | undefined;
|
|
451
|
+
pushToken?: string | undefined;
|
|
452
|
+
utm?: Record<string, string> | undefined;
|
|
453
|
+
firstOpen?: number | undefined;
|
|
454
|
+
finishedOnboarding?: number | undefined;
|
|
455
|
+
howFamiliarWithBible?: number | undefined;
|
|
456
|
+
followingFor2Years?: number | undefined;
|
|
457
|
+
notificationsClicked?: number | undefined;
|
|
458
|
+
notificationLinksClicked?: number | undefined;
|
|
459
|
+
isBeliever?: boolean | undefined;
|
|
460
|
+
isInAGroup?: boolean | undefined;
|
|
461
|
+
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;
|
|
462
|
+
customDesire?: string | undefined;
|
|
463
|
+
isCCWorker?: boolean | undefined;
|
|
464
|
+
isAdvocate?: boolean | undefined;
|
|
465
|
+
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
466
|
+
securityModeOn?: boolean | undefined;
|
|
467
|
+
trainingUnlocked?: boolean | undefined;
|
|
468
|
+
shareLog?: {
|
|
469
|
+
time: number;
|
|
470
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
471
|
+
lessonId?: string | undefined;
|
|
472
|
+
articleSlug?: string | undefined;
|
|
473
|
+
}[] | undefined;
|
|
474
|
+
bibleSessions?: {
|
|
475
|
+
chapter: string;
|
|
476
|
+
timeSpent: number;
|
|
477
|
+
startTime: number;
|
|
478
|
+
translation: string;
|
|
479
|
+
}[] | undefined;
|
|
480
|
+
articleSessions?: {
|
|
481
|
+
articleSlug: string;
|
|
482
|
+
timeSpent: number;
|
|
483
|
+
startTime: number;
|
|
484
|
+
}[] | undefined;
|
|
485
|
+
activated?: boolean | undefined;
|
|
486
|
+
}>;
|
|
487
|
+
export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
|
|
488
|
+
wahaUserId: z.ZodOptional<z.ZodString>;
|
|
489
|
+
name: z.ZodOptional<z.ZodString>;
|
|
490
|
+
email: z.ZodOptional<z.ZodString>;
|
|
491
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
492
|
+
city: z.ZodOptional<z.ZodString>;
|
|
493
|
+
country: z.ZodOptional<z.ZodString>;
|
|
494
|
+
region: z.ZodOptional<z.ZodString>;
|
|
495
|
+
}, "strip", z.ZodTypeAny, {
|
|
496
|
+
city?: string | undefined;
|
|
497
|
+
country?: string | undefined;
|
|
498
|
+
region?: string | undefined;
|
|
499
|
+
}, {
|
|
500
|
+
city?: string | undefined;
|
|
501
|
+
country?: string | undefined;
|
|
502
|
+
region?: string | undefined;
|
|
503
|
+
}>>;
|
|
504
|
+
pastLocations: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
505
|
+
city: z.ZodOptional<z.ZodString>;
|
|
506
|
+
country: z.ZodOptional<z.ZodString>;
|
|
507
|
+
region: z.ZodOptional<z.ZodString>;
|
|
508
|
+
}, "strip", z.ZodTypeAny, {
|
|
509
|
+
city?: string | undefined;
|
|
510
|
+
country?: string | undefined;
|
|
511
|
+
region?: string | undefined;
|
|
512
|
+
}, {
|
|
513
|
+
city?: string | undefined;
|
|
514
|
+
country?: string | undefined;
|
|
515
|
+
region?: string | undefined;
|
|
516
|
+
}>, "many">>;
|
|
517
|
+
phoneLocation: z.ZodOptional<z.ZodString>;
|
|
518
|
+
isSubscribedToEmailUpdates: z.ZodOptional<z.ZodBoolean>;
|
|
519
|
+
notificationPermission: z.ZodEnum<["granted", "undetermined", "denied"]>;
|
|
520
|
+
utm: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
521
|
+
firstOpen: z.ZodOptional<z.ZodNumber>;
|
|
522
|
+
finishedOnboarding: z.ZodOptional<z.ZodNumber>;
|
|
523
|
+
howFamiliarWithBible: z.ZodOptional<z.ZodNumber>;
|
|
524
|
+
followingFor2Years: z.ZodOptional<z.ZodNumber>;
|
|
525
|
+
notificationsClicked: z.ZodOptional<z.ZodNumber>;
|
|
526
|
+
notificationLinksClicked: z.ZodOptional<z.ZodNumber>;
|
|
527
|
+
isBeliever: z.ZodOptional<z.ZodBoolean>;
|
|
528
|
+
isInAGroup: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
+
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">>;
|
|
530
|
+
customDesire: z.ZodOptional<z.ZodString>;
|
|
531
|
+
isCCWorker: z.ZodOptional<z.ZodBoolean>;
|
|
532
|
+
isAdvocate: z.ZodOptional<z.ZodBoolean>;
|
|
533
|
+
onboardingStatus: z.ZodOptional<z.ZodEnum<["skipped-from-first", "skipped-from-second", "finished-from-first", "finished-from-second", "finished-from-languages"]>>;
|
|
534
|
+
} & {
|
|
535
|
+
pushToken: z.ZodOptional<z.ZodString>;
|
|
536
|
+
securityModeOn: z.ZodOptional<z.ZodBoolean>;
|
|
537
|
+
appVersion: z.ZodString;
|
|
538
|
+
lastUpdate: z.ZodNumber;
|
|
539
|
+
platform: z.ZodString;
|
|
540
|
+
completions: z.ZodArray<z.ZodObject<{
|
|
541
|
+
lessonId: z.ZodString;
|
|
542
|
+
meetLanguageId: z.ZodString;
|
|
543
|
+
time: z.ZodNumber;
|
|
544
|
+
country: z.ZodOptional<z.ZodString>;
|
|
545
|
+
region: z.ZodOptional<z.ZodString>;
|
|
546
|
+
city: z.ZodOptional<z.ZodString>;
|
|
547
|
+
/**
|
|
548
|
+
* Indicates that the lesson was completed manually from the lesson sheet
|
|
549
|
+
* rather than automatically by doing the lesson on the lesson screen.
|
|
550
|
+
*/
|
|
551
|
+
manual: z.ZodOptional<z.ZodBoolean>;
|
|
552
|
+
}, "strip", z.ZodTypeAny, {
|
|
553
|
+
lessonId: string;
|
|
554
|
+
meetLanguageId: string;
|
|
555
|
+
time: number;
|
|
556
|
+
city?: string | undefined;
|
|
557
|
+
country?: string | undefined;
|
|
558
|
+
region?: string | undefined;
|
|
559
|
+
manual?: boolean | undefined;
|
|
560
|
+
}, {
|
|
561
|
+
lessonId: string;
|
|
562
|
+
meetLanguageId: string;
|
|
563
|
+
time: number;
|
|
564
|
+
city?: string | undefined;
|
|
565
|
+
country?: string | undefined;
|
|
566
|
+
region?: string | undefined;
|
|
567
|
+
manual?: boolean | undefined;
|
|
568
|
+
}>, "many">;
|
|
569
|
+
trainingUnlocked: z.ZodOptional<z.ZodBoolean>;
|
|
570
|
+
meet: z.ZodString;
|
|
571
|
+
appInterface: z.ZodString;
|
|
572
|
+
meetFavorites: z.ZodArray<z.ZodString, "many">;
|
|
573
|
+
osVersion: z.ZodNullable<z.ZodString>;
|
|
574
|
+
isDev: z.ZodBoolean;
|
|
575
|
+
shareLog: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
576
|
+
time: z.ZodNumber;
|
|
577
|
+
content: z.ZodEnum<["app", "passcode", "lessonAudio", "lessonText", "storyText", "storyAudio", "lessonLink", "setLink", "meetingInvite", "articleLink", "videoLink", "notification", "meetingSchedule", "scriptureText", "mt", "scriptureAudio", "inviteGroup", "lesson", "offlineVersionLink", "note", "customSet"]>;
|
|
578
|
+
lessonId: z.ZodOptional<z.ZodString>;
|
|
579
|
+
articleSlug: z.ZodOptional<z.ZodString>;
|
|
580
|
+
}, "strip", z.ZodTypeAny, {
|
|
581
|
+
time: number;
|
|
582
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
583
|
+
lessonId?: string | undefined;
|
|
584
|
+
articleSlug?: string | undefined;
|
|
585
|
+
}, {
|
|
586
|
+
time: number;
|
|
587
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
588
|
+
lessonId?: string | undefined;
|
|
589
|
+
articleSlug?: string | undefined;
|
|
590
|
+
}>, "many">>;
|
|
591
|
+
bibleSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
592
|
+
chapter: z.ZodString;
|
|
593
|
+
timeSpent: z.ZodNumber;
|
|
594
|
+
startTime: z.ZodNumber;
|
|
595
|
+
translation: z.ZodString;
|
|
596
|
+
}, "strip", z.ZodTypeAny, {
|
|
597
|
+
chapter: string;
|
|
598
|
+
timeSpent: number;
|
|
599
|
+
startTime: number;
|
|
600
|
+
translation: string;
|
|
601
|
+
}, {
|
|
602
|
+
chapter: string;
|
|
603
|
+
timeSpent: number;
|
|
604
|
+
startTime: number;
|
|
605
|
+
translation: string;
|
|
606
|
+
}>, "many">>;
|
|
607
|
+
articleSessions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
608
|
+
articleSlug: z.ZodString;
|
|
609
|
+
timeSpent: z.ZodNumber;
|
|
610
|
+
startTime: z.ZodNumber;
|
|
611
|
+
}, "strip", z.ZodTypeAny, {
|
|
612
|
+
articleSlug: string;
|
|
613
|
+
timeSpent: number;
|
|
614
|
+
startTime: number;
|
|
615
|
+
}, {
|
|
616
|
+
articleSlug: string;
|
|
617
|
+
timeSpent: number;
|
|
618
|
+
startTime: number;
|
|
619
|
+
}>, "many">>;
|
|
620
|
+
activated: z.ZodOptional<z.ZodBoolean>;
|
|
621
|
+
}, "wahaUserId" | "pushToken" | "notificationPermission"> & {
|
|
622
|
+
wahaUserId: z.ZodString;
|
|
623
|
+
pushToken: z.ZodString;
|
|
624
|
+
notificationPermission: z.ZodLiteral<"granted">;
|
|
625
|
+
}, "strip", z.ZodTypeAny, {
|
|
626
|
+
appInterface: string;
|
|
627
|
+
meet: string;
|
|
628
|
+
wahaUserId: string;
|
|
629
|
+
pushToken: string;
|
|
630
|
+
notificationPermission: "granted";
|
|
631
|
+
appVersion: string;
|
|
632
|
+
lastUpdate: number;
|
|
633
|
+
platform: string;
|
|
634
|
+
completions: {
|
|
635
|
+
lessonId: string;
|
|
636
|
+
meetLanguageId: string;
|
|
637
|
+
time: number;
|
|
638
|
+
city?: string | undefined;
|
|
639
|
+
country?: string | undefined;
|
|
640
|
+
region?: string | undefined;
|
|
641
|
+
manual?: boolean | undefined;
|
|
642
|
+
}[];
|
|
643
|
+
meetFavorites: string[];
|
|
644
|
+
osVersion: string | null;
|
|
645
|
+
isDev: boolean;
|
|
646
|
+
name?: string | undefined;
|
|
647
|
+
email?: string | undefined;
|
|
648
|
+
location?: {
|
|
649
|
+
city?: string | undefined;
|
|
650
|
+
country?: string | undefined;
|
|
651
|
+
region?: string | undefined;
|
|
652
|
+
} | undefined;
|
|
653
|
+
pastLocations?: {
|
|
654
|
+
city?: string | undefined;
|
|
655
|
+
country?: string | undefined;
|
|
656
|
+
region?: string | undefined;
|
|
657
|
+
}[] | undefined;
|
|
658
|
+
phoneLocation?: string | undefined;
|
|
659
|
+
isSubscribedToEmailUpdates?: boolean | undefined;
|
|
660
|
+
utm?: Record<string, string> | undefined;
|
|
661
|
+
firstOpen?: number | undefined;
|
|
662
|
+
finishedOnboarding?: number | undefined;
|
|
663
|
+
howFamiliarWithBible?: number | undefined;
|
|
664
|
+
followingFor2Years?: number | undefined;
|
|
665
|
+
notificationsClicked?: number | undefined;
|
|
666
|
+
notificationLinksClicked?: number | undefined;
|
|
667
|
+
isBeliever?: boolean | undefined;
|
|
668
|
+
isInAGroup?: boolean | undefined;
|
|
669
|
+
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;
|
|
670
|
+
customDesire?: string | undefined;
|
|
671
|
+
isCCWorker?: boolean | undefined;
|
|
672
|
+
isAdvocate?: boolean | undefined;
|
|
673
|
+
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
674
|
+
securityModeOn?: boolean | undefined;
|
|
675
|
+
trainingUnlocked?: boolean | undefined;
|
|
676
|
+
shareLog?: {
|
|
677
|
+
time: number;
|
|
678
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
679
|
+
lessonId?: string | undefined;
|
|
680
|
+
articleSlug?: string | undefined;
|
|
681
|
+
}[] | undefined;
|
|
682
|
+
bibleSessions?: {
|
|
683
|
+
chapter: string;
|
|
684
|
+
timeSpent: number;
|
|
685
|
+
startTime: number;
|
|
686
|
+
translation: string;
|
|
687
|
+
}[] | undefined;
|
|
688
|
+
articleSessions?: {
|
|
689
|
+
articleSlug: string;
|
|
690
|
+
timeSpent: number;
|
|
691
|
+
startTime: number;
|
|
692
|
+
}[] | undefined;
|
|
693
|
+
activated?: boolean | undefined;
|
|
694
|
+
}, {
|
|
695
|
+
appInterface: string;
|
|
696
|
+
meet: string;
|
|
697
|
+
wahaUserId: string;
|
|
698
|
+
pushToken: string;
|
|
699
|
+
notificationPermission: "granted";
|
|
700
|
+
appVersion: string;
|
|
701
|
+
lastUpdate: number;
|
|
702
|
+
platform: string;
|
|
703
|
+
completions: {
|
|
704
|
+
lessonId: string;
|
|
705
|
+
meetLanguageId: string;
|
|
706
|
+
time: number;
|
|
707
|
+
city?: string | undefined;
|
|
708
|
+
country?: string | undefined;
|
|
709
|
+
region?: string | undefined;
|
|
710
|
+
manual?: boolean | undefined;
|
|
711
|
+
}[];
|
|
712
|
+
meetFavorites: string[];
|
|
713
|
+
osVersion: string | null;
|
|
714
|
+
isDev: boolean;
|
|
715
|
+
name?: string | undefined;
|
|
716
|
+
email?: string | undefined;
|
|
717
|
+
location?: {
|
|
718
|
+
city?: string | undefined;
|
|
719
|
+
country?: string | undefined;
|
|
720
|
+
region?: string | undefined;
|
|
721
|
+
} | undefined;
|
|
722
|
+
pastLocations?: {
|
|
723
|
+
city?: string | undefined;
|
|
724
|
+
country?: string | undefined;
|
|
725
|
+
region?: string | undefined;
|
|
726
|
+
}[] | undefined;
|
|
727
|
+
phoneLocation?: string | undefined;
|
|
728
|
+
isSubscribedToEmailUpdates?: boolean | undefined;
|
|
729
|
+
utm?: Record<string, string> | undefined;
|
|
730
|
+
firstOpen?: number | undefined;
|
|
731
|
+
finishedOnboarding?: number | undefined;
|
|
732
|
+
howFamiliarWithBible?: number | undefined;
|
|
733
|
+
followingFor2Years?: number | undefined;
|
|
734
|
+
notificationsClicked?: number | undefined;
|
|
735
|
+
notificationLinksClicked?: number | undefined;
|
|
736
|
+
isBeliever?: boolean | undefined;
|
|
737
|
+
isInAGroup?: boolean | undefined;
|
|
738
|
+
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;
|
|
739
|
+
customDesire?: string | undefined;
|
|
740
|
+
isCCWorker?: boolean | undefined;
|
|
741
|
+
isAdvocate?: boolean | undefined;
|
|
742
|
+
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
743
|
+
securityModeOn?: boolean | undefined;
|
|
744
|
+
trainingUnlocked?: boolean | undefined;
|
|
745
|
+
shareLog?: {
|
|
746
|
+
time: number;
|
|
747
|
+
content: "mt" | "app" | "note" | "setLink" | "lessonLink" | "passcode" | "lessonAudio" | "lessonText" | "storyText" | "storyAudio" | "meetingInvite" | "articleLink" | "videoLink" | "notification" | "meetingSchedule" | "scriptureText" | "scriptureAudio" | "inviteGroup" | "lesson" | "offlineVersionLink" | "customSet";
|
|
748
|
+
lessonId?: string | undefined;
|
|
749
|
+
articleSlug?: string | undefined;
|
|
750
|
+
}[] | undefined;
|
|
751
|
+
bibleSessions?: {
|
|
752
|
+
chapter: string;
|
|
753
|
+
timeSpent: number;
|
|
754
|
+
startTime: number;
|
|
755
|
+
translation: string;
|
|
756
|
+
}[] | undefined;
|
|
757
|
+
articleSessions?: {
|
|
758
|
+
articleSlug: string;
|
|
759
|
+
timeSpent: number;
|
|
760
|
+
startTime: number;
|
|
761
|
+
}[] | undefined;
|
|
762
|
+
activated?: boolean | undefined;
|
|
763
|
+
}>;
|
|
764
|
+
export type PushEnabledWahaUser = z.infer<typeof PushEnabledWahaUserSchema>;
|
|
765
|
+
export type WahaUser = z.infer<typeof WahaUserSchema>;
|