waha-shared 1.0.154 → 1.0.156
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/data/bibleAudios/bibleAudios.json +9 -0
- package/dist/data/bibleStatuses/bibleStatuses.json +511 -1002
- package/dist/data/bibleTexts/bibleTexts.json +15 -4
- package/dist/data/languageAssets/languageAssets.json +106601 -20
- package/dist/data/languages/languages.json +6 -5
- package/dist/data/mediaDurations/mediaDurations.json +32 -0
- package/dist/data/releaseNotes/releaseNotes.json +81 -2
- package/dist/data/translationsApp/translationsApp.json +6633 -9396
- package/dist/data/translationsFtb/translationsFtb.json +0 -136
- package/dist/data/translationsQuestion/translationsQuestion.json +59 -59
- package/dist/data/translationsSet/translationsSet.json +17129 -18705
- package/dist/data/translationsSpokenQuestion/translationsSpokenQuestion.json +59 -59
- package/dist/functions/activeCampaign.d.ts +0 -1
- package/dist/functions/activeCampaign.js +0 -1
- package/dist/types/users.d.ts +0 -45
- package/dist/types/users.js +0 -5
- package/package.json +1 -1
|
@@ -85,36 +85,36 @@
|
|
|
85
85
|
"f.008": "دلوقتي يالا بينا نسمع قصه جديده من الله..."
|
|
86
86
|
},
|
|
87
87
|
"afr": {
|
|
88
|
-
"a.001": "
|
|
89
|
-
"a.002": "
|
|
90
|
-
"a.003": "
|
|
91
|
-
"a.004": "
|
|
92
|
-
"a.005": "
|
|
93
|
-
"a.006": "
|
|
94
|
-
"a.007": "
|
|
95
|
-
"a.008": "
|
|
96
|
-
"a.009": "
|
|
97
|
-
"a.010": "
|
|
98
|
-
"a.011": "
|
|
99
|
-
"a.012": "
|
|
100
|
-
"a.013": "
|
|
101
|
-
"a.014": "
|
|
102
|
-
"a.015": "
|
|
103
|
-
"a.016": "
|
|
104
|
-
"a.017": "
|
|
105
|
-
"f.001": "
|
|
106
|
-
"f.002": "
|
|
107
|
-
"f.003": "
|
|
108
|
-
"f.004": "
|
|
109
|
-
"f.005": "
|
|
110
|
-
"f.006": "
|
|
111
|
-
"f.007": "
|
|
112
|
-
"f.008": "
|
|
113
|
-
"f.009": "
|
|
114
|
-
"f.010": "
|
|
115
|
-
"f.011": "
|
|
116
|
-
"f.012": "
|
|
117
|
-
"f.013": "
|
|
88
|
+
"a.001": "",
|
|
89
|
+
"a.002": "",
|
|
90
|
+
"a.003": "",
|
|
91
|
+
"a.004": "",
|
|
92
|
+
"a.005": "",
|
|
93
|
+
"a.006": "",
|
|
94
|
+
"a.007": "",
|
|
95
|
+
"a.008": "",
|
|
96
|
+
"a.009": "",
|
|
97
|
+
"a.010": "",
|
|
98
|
+
"a.011": "",
|
|
99
|
+
"a.012": "",
|
|
100
|
+
"a.013": "",
|
|
101
|
+
"a.014": "",
|
|
102
|
+
"a.015": "",
|
|
103
|
+
"a.016": "",
|
|
104
|
+
"a.017": "",
|
|
105
|
+
"f.001": "",
|
|
106
|
+
"f.002": "",
|
|
107
|
+
"f.003": "",
|
|
108
|
+
"f.004": "",
|
|
109
|
+
"f.005": "",
|
|
110
|
+
"f.006": "",
|
|
111
|
+
"f.007": "",
|
|
112
|
+
"f.008": "",
|
|
113
|
+
"f.009": "",
|
|
114
|
+
"f.010": "",
|
|
115
|
+
"f.011": "",
|
|
116
|
+
"f.012": "",
|
|
117
|
+
"f.013": ""
|
|
118
118
|
},
|
|
119
119
|
"ais": {
|
|
120
120
|
"a.001": "هلأ، تعوا نطلب من يعيدلنا الحكاية ويخبرنا ياها بطريقته. كأنه عم يئولا لحدا مو سامعها بحياته. اذا حكا زيادة او نسي منها شي بنساعده.",
|
|
@@ -1279,35 +1279,35 @@
|
|
|
1279
1279
|
},
|
|
1280
1280
|
"new": {
|
|
1281
1281
|
"a.001": "",
|
|
1282
|
-
"a.002": "
|
|
1283
|
-
"a.003": "
|
|
1284
|
-
"a.004": "
|
|
1285
|
-
"a.005": "
|
|
1286
|
-
"a.006": "
|
|
1287
|
-
"a.007": "
|
|
1288
|
-
"a.008": "
|
|
1289
|
-
"a.009": "
|
|
1290
|
-
"a.010": "
|
|
1291
|
-
"a.011": "
|
|
1292
|
-
"a.012": "
|
|
1293
|
-
"a.013": "
|
|
1294
|
-
"a.014": "
|
|
1295
|
-
"a.015": "
|
|
1296
|
-
"a.016": "
|
|
1297
|
-
"a.017": "
|
|
1298
|
-
"f.001": "
|
|
1299
|
-
"f.002": "
|
|
1300
|
-
"f.003": "
|
|
1301
|
-
"f.004": "
|
|
1302
|
-
"f.005": "
|
|
1303
|
-
"f.006": "
|
|
1304
|
-
"f.007": "
|
|
1305
|
-
"f.008": "
|
|
1306
|
-
"f.009": "
|
|
1307
|
-
"f.010": "
|
|
1308
|
-
"f.011": "
|
|
1309
|
-
"f.012": "
|
|
1310
|
-
"f.013": "
|
|
1282
|
+
"a.002": "",
|
|
1283
|
+
"a.003": "",
|
|
1284
|
+
"a.004": "",
|
|
1285
|
+
"a.005": "",
|
|
1286
|
+
"a.006": "",
|
|
1287
|
+
"a.007": "",
|
|
1288
|
+
"a.008": "",
|
|
1289
|
+
"a.009": "",
|
|
1290
|
+
"a.010": "",
|
|
1291
|
+
"a.011": "",
|
|
1292
|
+
"a.012": "",
|
|
1293
|
+
"a.013": "",
|
|
1294
|
+
"a.014": "",
|
|
1295
|
+
"a.015": "",
|
|
1296
|
+
"a.016": "",
|
|
1297
|
+
"a.017": "",
|
|
1298
|
+
"f.001": "",
|
|
1299
|
+
"f.002": "",
|
|
1300
|
+
"f.003": "",
|
|
1301
|
+
"f.004": "",
|
|
1302
|
+
"f.005": "",
|
|
1303
|
+
"f.006": "",
|
|
1304
|
+
"f.007": "",
|
|
1305
|
+
"f.008": "",
|
|
1306
|
+
"f.009": "",
|
|
1307
|
+
"f.010": "",
|
|
1308
|
+
"f.011": "",
|
|
1309
|
+
"f.012": "",
|
|
1310
|
+
"f.013": ""
|
|
1311
1311
|
},
|
|
1312
1312
|
"npi": {
|
|
1313
1313
|
"a.001": "अब, कसैलाई यो खण्डलाई आफ्नै शब्दमा दोहोर्याउन लगाउ, मानौं कि तिनीहरूले कहिल्यै नसुनेका साथीलाई भनिरहेछन्। यदि गल्तीले केही छुटीएमा वा थपेमा उनीहरूलाई मद्दत गरौं। यदि त्यसो भयो भने हामी सोध्न सक्छौं, \"तपाईले त्यो कथामा कहाँ फेला पार्नुहुन्छ?\"",
|
|
@@ -2,7 +2,6 @@ declare const listNumbers: {
|
|
|
2
2
|
newsletter: number;
|
|
3
3
|
volunteer: number;
|
|
4
4
|
'dm-course': number;
|
|
5
|
-
'in-app-donation-sequence': number;
|
|
6
5
|
};
|
|
7
6
|
export declare function addToACList(token: string, baseUrl: string, email: string, list: keyof typeof listNumbers, name?: string): Promise<void>;
|
|
8
7
|
export declare function getContactsInList(token: string, baseUrl: string, list: keyof typeof listNumbers, limit?: number): Promise<string[]>;
|
|
@@ -10,7 +10,6 @@ const listNumbers = {
|
|
|
10
10
|
newsletter: 3,
|
|
11
11
|
volunteer: 5,
|
|
12
12
|
'dm-course': 9,
|
|
13
|
-
'in-app-donation-sequence': 17,
|
|
14
13
|
};
|
|
15
14
|
async function addToACList(token, baseUrl, email, list, name) {
|
|
16
15
|
const headers = { 'Api-Token': token, 'Content-Type': 'application/json' };
|
package/dist/types/users.d.ts
CHANGED
|
@@ -64,11 +64,6 @@ export declare const WahaUserStateSchema: z.ZodObject<{
|
|
|
64
64
|
customDesire: z.ZodOptional<z.ZodString>;
|
|
65
65
|
isCCWorker: z.ZodOptional<z.ZodBoolean>;
|
|
66
66
|
isAdvocate: z.ZodOptional<z.ZodBoolean>;
|
|
67
|
-
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
68
|
-
engagementScore: z.ZodOptional<z.ZodNumber>;
|
|
69
|
-
hasDonated: z.ZodOptional<z.ZodBoolean>;
|
|
70
|
-
lastDonationAsk: z.ZodOptional<z.ZodNumber>;
|
|
71
|
-
numberOfDonationAsks: z.ZodOptional<z.ZodNumber>;
|
|
72
67
|
onboardingStatus: z.ZodOptional<z.ZodEnum<["skipped-from-first", "skipped-from-second", "finished-from-first", "finished-from-second", "finished-from-languages"]>>;
|
|
73
68
|
}, "strip", z.ZodTypeAny, {
|
|
74
69
|
notificationPermission: "granted" | "undetermined" | "denied";
|
|
@@ -101,11 +96,6 @@ export declare const WahaUserStateSchema: z.ZodObject<{
|
|
|
101
96
|
customDesire?: string | undefined;
|
|
102
97
|
isCCWorker?: boolean | undefined;
|
|
103
98
|
isAdvocate?: boolean | undefined;
|
|
104
|
-
phoneNumber?: string | undefined;
|
|
105
|
-
engagementScore?: number | undefined;
|
|
106
|
-
hasDonated?: boolean | undefined;
|
|
107
|
-
lastDonationAsk?: number | undefined;
|
|
108
|
-
numberOfDonationAsks?: number | undefined;
|
|
109
99
|
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
110
100
|
}, {
|
|
111
101
|
notificationPermission: "granted" | "undetermined" | "denied";
|
|
@@ -138,11 +128,6 @@ export declare const WahaUserStateSchema: z.ZodObject<{
|
|
|
138
128
|
customDesire?: string | undefined;
|
|
139
129
|
isCCWorker?: boolean | undefined;
|
|
140
130
|
isAdvocate?: boolean | undefined;
|
|
141
|
-
phoneNumber?: string | undefined;
|
|
142
|
-
engagementScore?: number | undefined;
|
|
143
|
-
hasDonated?: boolean | undefined;
|
|
144
|
-
lastDonationAsk?: number | undefined;
|
|
145
|
-
numberOfDonationAsks?: number | undefined;
|
|
146
131
|
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
147
132
|
}>;
|
|
148
133
|
export type WahaUserState = z.infer<typeof WahaUserStateSchema>;
|
|
@@ -334,11 +319,6 @@ export declare const WahaUserSchema: z.ZodObject<{
|
|
|
334
319
|
customDesire: z.ZodOptional<z.ZodString>;
|
|
335
320
|
isCCWorker: z.ZodOptional<z.ZodBoolean>;
|
|
336
321
|
isAdvocate: z.ZodOptional<z.ZodBoolean>;
|
|
337
|
-
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
338
|
-
engagementScore: z.ZodOptional<z.ZodNumber>;
|
|
339
|
-
hasDonated: z.ZodOptional<z.ZodBoolean>;
|
|
340
|
-
lastDonationAsk: z.ZodOptional<z.ZodNumber>;
|
|
341
|
-
numberOfDonationAsks: z.ZodOptional<z.ZodNumber>;
|
|
342
322
|
onboardingStatus: z.ZodOptional<z.ZodEnum<["skipped-from-first", "skipped-from-second", "finished-from-first", "finished-from-second", "finished-from-languages"]>>;
|
|
343
323
|
} & {
|
|
344
324
|
pushToken: z.ZodOptional<z.ZodString>;
|
|
@@ -516,11 +496,6 @@ export declare const WahaUserSchema: z.ZodObject<{
|
|
|
516
496
|
customDesire?: string | undefined;
|
|
517
497
|
isCCWorker?: boolean | undefined;
|
|
518
498
|
isAdvocate?: boolean | undefined;
|
|
519
|
-
phoneNumber?: string | undefined;
|
|
520
|
-
engagementScore?: number | undefined;
|
|
521
|
-
hasDonated?: boolean | undefined;
|
|
522
|
-
lastDonationAsk?: number | undefined;
|
|
523
|
-
numberOfDonationAsks?: number | undefined;
|
|
524
499
|
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
525
500
|
securityModeOn?: boolean | undefined;
|
|
526
501
|
trainingUnlocked?: boolean | undefined;
|
|
@@ -601,11 +576,6 @@ export declare const WahaUserSchema: z.ZodObject<{
|
|
|
601
576
|
customDesire?: string | undefined;
|
|
602
577
|
isCCWorker?: boolean | undefined;
|
|
603
578
|
isAdvocate?: boolean | undefined;
|
|
604
|
-
phoneNumber?: string | undefined;
|
|
605
|
-
engagementScore?: number | undefined;
|
|
606
|
-
hasDonated?: boolean | undefined;
|
|
607
|
-
lastDonationAsk?: number | undefined;
|
|
608
|
-
numberOfDonationAsks?: number | undefined;
|
|
609
579
|
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
610
580
|
securityModeOn?: boolean | undefined;
|
|
611
581
|
trainingUnlocked?: boolean | undefined;
|
|
@@ -685,11 +655,6 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
|
|
|
685
655
|
customDesire: z.ZodOptional<z.ZodString>;
|
|
686
656
|
isCCWorker: z.ZodOptional<z.ZodBoolean>;
|
|
687
657
|
isAdvocate: z.ZodOptional<z.ZodBoolean>;
|
|
688
|
-
phoneNumber: z.ZodOptional<z.ZodString>;
|
|
689
|
-
engagementScore: z.ZodOptional<z.ZodNumber>;
|
|
690
|
-
hasDonated: z.ZodOptional<z.ZodBoolean>;
|
|
691
|
-
lastDonationAsk: z.ZodOptional<z.ZodNumber>;
|
|
692
|
-
numberOfDonationAsks: z.ZodOptional<z.ZodNumber>;
|
|
693
658
|
onboardingStatus: z.ZodOptional<z.ZodEnum<["skipped-from-first", "skipped-from-second", "finished-from-first", "finished-from-second", "finished-from-languages"]>>;
|
|
694
659
|
} & {
|
|
695
660
|
pushToken: z.ZodOptional<z.ZodString>;
|
|
@@ -871,11 +836,6 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
|
|
|
871
836
|
customDesire?: string | undefined;
|
|
872
837
|
isCCWorker?: boolean | undefined;
|
|
873
838
|
isAdvocate?: boolean | undefined;
|
|
874
|
-
phoneNumber?: string | undefined;
|
|
875
|
-
engagementScore?: number | undefined;
|
|
876
|
-
hasDonated?: boolean | undefined;
|
|
877
|
-
lastDonationAsk?: number | undefined;
|
|
878
|
-
numberOfDonationAsks?: number | undefined;
|
|
879
839
|
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
880
840
|
securityModeOn?: boolean | undefined;
|
|
881
841
|
trainingUnlocked?: boolean | undefined;
|
|
@@ -956,11 +916,6 @@ export declare const PushEnabledWahaUserSchema: z.ZodObject<Omit<{
|
|
|
956
916
|
customDesire?: string | undefined;
|
|
957
917
|
isCCWorker?: boolean | undefined;
|
|
958
918
|
isAdvocate?: boolean | undefined;
|
|
959
|
-
phoneNumber?: string | undefined;
|
|
960
|
-
engagementScore?: number | undefined;
|
|
961
|
-
hasDonated?: boolean | undefined;
|
|
962
|
-
lastDonationAsk?: number | undefined;
|
|
963
|
-
numberOfDonationAsks?: number | undefined;
|
|
964
919
|
onboardingStatus?: "skipped-from-first" | "skipped-from-second" | "finished-from-first" | "finished-from-second" | "finished-from-languages" | undefined;
|
|
965
920
|
securityModeOn?: boolean | undefined;
|
|
966
921
|
trainingUnlocked?: boolean | undefined;
|
package/dist/types/users.js
CHANGED
|
@@ -43,11 +43,6 @@ exports.WahaUserStateSchema = zod_1.z.object({
|
|
|
43
43
|
customDesire: zod_1.z.string().optional(),
|
|
44
44
|
isCCWorker: zod_1.z.boolean().optional(),
|
|
45
45
|
isAdvocate: zod_1.z.boolean().optional(),
|
|
46
|
-
phoneNumber: zod_1.z.string().optional(),
|
|
47
|
-
engagementScore: zod_1.z.number().optional(),
|
|
48
|
-
hasDonated: zod_1.z.boolean().optional(),
|
|
49
|
-
lastDonationAsk: zod_1.z.number().optional(),
|
|
50
|
-
numberOfDonationAsks: zod_1.z.number().optional(),
|
|
51
46
|
onboardingStatus: zod_1.z
|
|
52
47
|
.enum([
|
|
53
48
|
'skipped-from-first',
|