waha-shared 1.0.185 → 1.0.187

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.
@@ -1,47 +0,0 @@
1
- "use strict";
2
- var __importDefault = (this && this.__importDefault) || function (mod) {
3
- return (mod && mod.__esModule) ? mod : { "default": mod };
4
- };
5
- Object.defineProperty(exports, "__esModule", { value: true });
6
- exports.MicroLessonsResponse = exports.ResponseMicroLesson = exports.MicroLesson = void 0;
7
- const zod_1 = __importDefault(require("zod"));
8
- exports.MicroLesson = zod_1.default.object({
9
- title: zod_1.default.string(),
10
- subtitle: zod_1.default.string().optional(),
11
- isDraft: zod_1.default
12
- .boolean()
13
- .optional()
14
- .describe('If this is checked the micro lesson will not be published.'),
15
- seekerSensitive: zod_1.default
16
- .boolean()
17
- .optional()
18
- .describe('If this is checked the micro lesson will be marked as seeker sensitive. Seeker sensitive micro lessons will not link back to the website.'),
19
- platform: zod_1.default
20
- .enum(['Web Only', 'App Only', 'Both'])
21
- .optional()
22
- .describe('Set to determine which platform the micro lesson is available on.'),
23
- campaign: zod_1.default
24
- .string()
25
- .optional()
26
- .describe('Optional campaign identifier for tracking purposes.'),
27
- pages: zod_1.default.array(zod_1.default.object({
28
- heading: zod_1.default.string().describe('The heading of the page'),
29
- body: zod_1.default.string().optional(),
30
- image: zod_1.default.string().optional(),
31
- audio: zod_1.default.string().optional(),
32
- hasTextInput: zod_1.default.boolean().optional(),
33
- placeholder: zod_1.default
34
- .string()
35
- .optional()
36
- .describe('The placeholder text for the text input field.'),
37
- radioButtons: zod_1.default.array(zod_1.default.object({ text: zod_1.default.string() })).optional(),
38
- videoUrl: zod_1.default.string().optional(),
39
- })),
40
- });
41
- exports.ResponseMicroLesson = zod_1.default.object({
42
- id: zod_1.default.string(),
43
- data: exports.MicroLesson,
44
- });
45
- exports.MicroLessonsResponse = zod_1.default.object({
46
- data: zod_1.default.array(exports.ResponseMicroLesson),
47
- });