waha-shared 1.0.363 → 1.0.364

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.
@@ -525,7 +525,10 @@
525
525
  "question_what_brings_you_option_2": { "type": "string" },
526
526
  "question_what_brings_you_option_3": { "type": "string" },
527
527
  "question_what_brings_you_option_4": { "type": "string" },
528
- "share_story_audio": { "type": "string" }
528
+ "share_story_audio": { "type": "string" },
529
+ "exit": { "type": "string" },
530
+ "stay": { "type": "string" },
531
+ "popups_exit_micro_lesson": { "type": "string" }
529
532
  },
530
533
  "required": [
531
534
  "name",
@@ -841,7 +844,10 @@
841
844
  "filter_micro_lessons",
842
845
  "question_placeholder",
843
846
  "no_text_available",
844
- "share_story_audio"
847
+ "share_story_audio",
848
+ "exit",
849
+ "stay",
850
+ "popups_exit_micro_lesson"
845
851
  ],
846
852
  "additionalProperties": false,
847
853
  "description": "Translations for a single language (identified by a 3-letter code)_"
@@ -336,6 +336,9 @@ export declare const LanguageTranslationsApp: z.ZodObject<{
336
336
  question_what_brings_you_option_3: z.ZodOptional<z.ZodString>;
337
337
  question_what_brings_you_option_4: z.ZodOptional<z.ZodString>;
338
338
  share_story_audio: z.ZodString;
339
+ exit: z.ZodString;
340
+ stay: z.ZodString;
341
+ popups_exit_micro_lesson: z.ZodString;
339
342
  }, z.core.$strip>;
340
343
  export type LanguageTranslationsApp = z.infer<typeof LanguageTranslationsApp>;
341
344
  export declare const TranslationsApp: z.ZodRecord<z.ZodString, z.ZodObject<{
@@ -675,5 +678,8 @@ export declare const TranslationsApp: z.ZodRecord<z.ZodString, z.ZodObject<{
675
678
  question_what_brings_you_option_3: z.ZodOptional<z.ZodString>;
676
679
  question_what_brings_you_option_4: z.ZodOptional<z.ZodString>;
677
680
  share_story_audio: z.ZodString;
681
+ exit: z.ZodString;
682
+ stay: z.ZodString;
683
+ popups_exit_micro_lesson: z.ZodString;
678
684
  }, z.core.$strip>>;
679
685
  export type TranslationsApp = z.infer<typeof TranslationsApp>;
@@ -342,6 +342,9 @@ exports.LanguageTranslationsApp = zod_1.z.object({
342
342
  question_what_brings_you_option_3: zod_1.z.string().optional(),
343
343
  question_what_brings_you_option_4: zod_1.z.string().optional(),
344
344
  share_story_audio: zod_1.z.string(),
345
+ exit: zod_1.z.string(),
346
+ stay: zod_1.z.string(),
347
+ popups_exit_micro_lesson: zod_1.z.string(),
345
348
  });
346
349
  exports.TranslationsApp = zod_1.z
347
350
  .record(zod_1.z.string(), exports.LanguageTranslationsApp.describe('Translations for a single language (identified by a 3-letter code)_'))
@@ -1487,9 +1487,9 @@
1487
1487
  "a.015": "Met wie ga je iets delen dat je hebt geleerd van deze bijeenkomst, voordat we elkaar weer ontmoeten?",
1488
1488
  "a.016": "Laten we het nu hebben over contact met mensen die God nog niet kennen. Met wie hebben we gesprekken gevoerd sinds onze laatste ontmoeting, en hoe kunnen we voor hen bidden?",
1489
1489
  "a.017": "Hoe zoeken we contact met deze mensen en anderen, zodat we deze week goede gesprekken met hen kunnen voeren?",
1490
- "f.001": "Voor welke dingen die er sinds onze laatste bijeenkomst zijn gebeurd, ben je dankbaar?",
1490
+ "f.001": "Wat is, gebaseerd op wat er met je is gebeurd sinds onze vorige bijeenkomst, iets waar je dankbaar voor bent?",
1491
1491
  "f.002": "Waar heb je deze week stress van gehad, en wat heb je nodig om het beter te laten gaan?",
1492
- "f.003": "Wat zijn de behoeften van de mensen in je omgeving, en hoe kunnen we elkaar helpen om te voorzien in de behoeften die we hebben uitgesproken?",
1492
+ "f.003": "Wat zijn de behoeften van de mensen om je heen, en hoe kunnen we elkaar helpen om aan die behoeften te voldoen?",
1493
1493
  "f.004": "Wat was het verhaal van onze vorige ontmoeting? Wat hebben we geleerd over God en de mensen?",
1494
1494
  "f.005": "Tijdens onze laatste bijeenkomst besloot je om iets toe te passen wat je had geleerd. Wat heb je gedaan en hoe is dat gegaan?",
1495
1495
  "f.006": "Met wie heb je iets gedeeld uit het vorige verhaal? Hoe reageerden ze?",
@@ -26,6 +26,7 @@
26
26
  "shi.shi": "PLmYe5bjfx6-llRWXEDdKPl0GywkyXhXD_",
27
27
  "spa.spa": "PLmYe5bjfx6-mds-VoCpm3CnpkBUXvf828",
28
28
  "swe.swe": "PLmYe5bjfx6-k_ZFdt2UTEbMg7ab7sMJa3",
29
+ "swz.swz": "PLRHj-50L7toY",
29
30
  "tha.tha": "PLmYe5bjfx6-nzv-HKq0rIEYj8sJ9ZRE83",
30
31
  "tur.tur": "PLmYe5bjfx6-lj0raTAbE4sK2tlZ5Fu5h2",
31
32
  "tzm.ara": "PLmYe5bjfx6-k-DF91gl41HPIdtv8t_f_J",
@@ -224,6 +224,16 @@
224
224
  "swe.swe.03.009.008.1080.mp4": "0KhjaqdDwvQ",
225
225
  "swe.swe.03.009.009.1080.mp4": "B46fL-wvFYw",
226
226
  "swe.swe.03.009.010.1080.mp4": "SZb4VAAX_WY",
227
+ "swz.03.009.001.mp4": "ZtDS79gENFQ",
228
+ "swz.03.009.002.mp4": "B5vDraMVrH0",
229
+ "swz.03.009.003.mp4": "FzHIjS5lPH0",
230
+ "swz.swz.03.009.004.1080.mp4": "PJfUxHiTT4E",
231
+ "swz.swz.03.009.005.1080.mp4": "PQhrdC2wes8",
232
+ "swz.swz.03.009.006.1080.mp4": "yZUKDR46gfk",
233
+ "swz.swz.03.009.007.1080.mp4": "XrL9_wGOlsg",
234
+ "swz.swz.03.009.008.1080.mp4": "9iqJuq_CH7k",
235
+ "swz.swz.03.009.009.1080.mp4": "gE6cvQIOjWo",
236
+ "swz.swz.03.009.010.1080.mp4": "TO-JuWyvZbc",
227
237
  "tha.03.009.001.mp4": "ImF-uV79Uaw",
228
238
  "tha.03.009.002.mp4": "4hCw8Fk8Wsc",
229
239
  "tha.03.009.003.mp4": "VhejC6MUBqo",
@@ -6,7 +6,7 @@ export declare const PushNotificationPayloadSchema: z.ZodObject<{
6
6
  titleSource: z.ZodString;
7
7
  bodySource: z.ZodString;
8
8
  verified: z.ZodBoolean;
9
- imageUrl: z.ZodOptional<z.ZodString>;
9
+ imageUrl: z.ZodOptional<z.ZodURL>;
10
10
  wahaUserId: z.ZodOptional<z.ZodString>;
11
11
  date: z.ZodString;
12
12
  }, z.core.$strip>;
@@ -16,7 +16,7 @@ export declare const PushNotificationRecordSchema: z.ZodObject<{
16
16
  notification: z.ZodObject<{
17
17
  title: z.ZodRecord<z.ZodString, z.ZodString>;
18
18
  body: z.ZodRecord<z.ZodString, z.ZodString>;
19
- actionUrl: z.ZodOptional<z.ZodString>;
19
+ actionUrl: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
20
20
  countriesToNotSendTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
21
21
  countriesToSendTo: z.ZodOptional<z.ZodArray<z.ZodString>>;
22
22
  faithJourney: z.ZodOptional<z.ZodEnum<{
@@ -5,7 +5,7 @@ const zod_1 = require("zod");
5
5
  const notification_zod_1 = require("../data/notification/notification.zod");
6
6
  exports.PushNotificationPayloadSchema = zod_1.z.object({
7
7
  /** Optional URL to open when the primary notification action is taken. */
8
- actionUrl: zod_1.z.string().url().optional(),
8
+ actionUrl: notification_zod_1.ActionUrl.optional(),
9
9
  /**
10
10
  * We want the full title, not the push title, to be attached to the
11
11
  * notification.
@@ -25,7 +25,6 @@ exports.PushNotificationPayloadSchema = zod_1.z.object({
25
25
  * icons.
26
26
  */
27
27
  imageUrl: zod_1.z
28
- .string()
29
28
  .url()
30
29
  .optional()
31
30
  .describe('URL of an image to show with the notification.'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "waha-shared",
3
- "version": "1.0.363",
3
+ "version": "1.0.364",
4
4
  "author": "Waha",
5
5
  "dependencies": {
6
6
  "@types/signale": "^1.4.7",