@headless-lms/core 0.3.0 → 0.5.0
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/assets/events.d.ts +24 -18
- package/dist/assets/file-urls.d.ts +11 -7
- package/dist/assets/file-urls.js +14 -4
- package/dist/assets/file-urls.js.map +1 -1
- package/dist/assets/index.d.ts +5 -4
- package/dist/assets/index.js +4 -3
- package/dist/assets/jobs.d.ts +15 -0
- package/dist/assets/jobs.js +30 -0
- package/dist/assets/jobs.js.map +1 -0
- package/dist/assets/ports.d.ts +37 -17
- package/dist/assets/service.d.ts +30 -15
- package/dist/assets/service.js +229 -59
- package/dist/assets/service.js.map +1 -1
- package/dist/automations/actions.js +2 -63
- package/dist/automations/actions.js.map +1 -1
- package/dist/automations/catalog.d.ts +1 -2
- package/dist/automations/catalog.js +137 -65
- package/dist/automations/catalog.js.map +1 -1
- package/dist/automations/community-derivations.js +20 -20
- package/dist/automations/community-derivations.js.map +1 -1
- package/dist/automations/community-mail.d.ts +36 -20
- package/dist/automations/community-mail.js +32 -24
- package/dist/automations/community-mail.js.map +1 -1
- package/dist/automations/event-permissions.d.ts +12 -0
- package/dist/automations/event-permissions.js +38 -0
- package/dist/automations/event-permissions.js.map +1 -0
- package/dist/automations/events.d.ts +0 -10
- package/dist/automations/index.d.ts +12 -4
- package/dist/automations/index.js +9 -1
- package/dist/automations/notifications/applicable.d.ts +8 -0
- package/dist/automations/notifications/applicable.js +12 -0
- package/dist/automations/notifications/applicable.js.map +1 -0
- package/dist/automations/notifications/debounce.d.ts +25 -0
- package/dist/automations/notifications/debounce.js +93 -0
- package/dist/automations/notifications/debounce.js.map +1 -0
- package/dist/automations/notifications/defaults.d.ts +8 -0
- package/dist/automations/notifications/defaults.js +346 -0
- package/dist/automations/notifications/defaults.js.map +1 -0
- package/dist/automations/notifications/delivery.d.ts +28 -0
- package/dist/automations/notifications/delivery.js +88 -0
- package/dist/automations/notifications/delivery.js.map +1 -0
- package/dist/automations/notifications/processor.d.ts +64 -0
- package/dist/automations/notifications/processor.js +270 -0
- package/dist/automations/notifications/processor.js.map +1 -0
- package/dist/automations/notifications/rules/content.d.ts +6 -0
- package/dist/automations/notifications/rules/content.js +96 -0
- package/dist/automations/notifications/rules/content.js.map +1 -0
- package/dist/automations/notifications/rules/discussion.d.ts +7 -0
- package/dist/automations/notifications/rules/discussion.js +678 -0
- package/dist/automations/notifications/rules/discussion.js.map +1 -0
- package/dist/automations/notifications/rules/entitlements.d.ts +6 -0
- package/dist/automations/notifications/rules/entitlements.js +276 -0
- package/dist/automations/notifications/rules/entitlements.js.map +1 -0
- package/dist/automations/notifications/rules/events.d.ts +9 -0
- package/dist/automations/notifications/rules/events.js +27 -0
- package/dist/automations/notifications/rules/events.js.map +1 -0
- package/dist/automations/notifications/rules/index.d.ts +6 -0
- package/dist/automations/notifications/rules/index.js +15 -0
- package/dist/automations/notifications/rules/index.js.map +1 -0
- package/dist/automations/notifications/rules/organizations.d.ts +6 -0
- package/dist/automations/notifications/rules/organizations.js +35 -0
- package/dist/automations/notifications/rules/organizations.js.map +1 -0
- package/dist/automations/notifications/rules/recipients.d.ts +32 -0
- package/dist/automations/notifications/rules/recipients.js +98 -0
- package/dist/automations/notifications/rules/recipients.js.map +1 -0
- package/dist/automations/notifications/service.d.ts +29 -0
- package/dist/automations/notifications/service.js +45 -0
- package/dist/automations/notifications/service.js.map +1 -0
- package/dist/automations/notifications/types.d.ts +7 -0
- package/dist/automations/notifications/types.js +560 -0
- package/dist/automations/notifications/types.js.map +1 -0
- package/dist/automations/ports.d.ts +134 -21
- package/dist/automations/service.d.ts +30 -30
- package/dist/automations/service.js +111 -144
- package/dist/automations/service.js.map +1 -1
- package/dist/content/event-sight.d.ts +11 -0
- package/dist/content/event-sight.js +11 -0
- package/dist/content/event-sight.js.map +1 -0
- package/dist/content/events.d.ts +437 -46
- package/dist/content/events.js +45 -1
- package/dist/content/events.js.map +1 -1
- package/dist/content/index.d.ts +8 -4
- package/dist/content/index.js +5 -1
- package/dist/content/jobs.d.ts +16 -0
- package/dist/content/jobs.js +37 -0
- package/dist/content/jobs.js.map +1 -0
- package/dist/content/model.d.ts +2 -2
- package/dist/content/notification-categories.d.ts +37 -0
- package/dist/content/notification-categories.js +73 -0
- package/dist/content/notification-categories.js.map +1 -0
- package/dist/content/ports.d.ts +132 -68
- package/dist/content/service.d.ts +100 -68
- package/dist/content/service.js +703 -146
- package/dist/content/service.js.map +1 -1
- package/dist/content/titles.d.ts +25 -0
- package/dist/content/titles.js +82 -0
- package/dist/content/titles.js.map +1 -0
- package/dist/content/types.d.ts +2 -2
- package/dist/discussion/authors.d.ts +4 -2
- package/dist/discussion/authors.js +9 -5
- package/dist/discussion/authors.js.map +1 -1
- package/dist/discussion/chats.d.ts +63 -39
- package/dist/discussion/chats.js +455 -190
- package/dist/discussion/chats.js.map +1 -1
- package/dist/discussion/digests.d.ts +24 -0
- package/dist/discussion/digests.js +104 -0
- package/dist/discussion/digests.js.map +1 -0
- package/dist/discussion/events.d.ts +227 -23
- package/dist/discussion/events.js +114 -19
- package/dist/discussion/events.js.map +1 -1
- package/dist/discussion/index.d.ts +12 -4
- package/dist/discussion/index.js +9 -2
- package/dist/discussion/jobs.d.ts +16 -0
- package/dist/discussion/jobs.js +40 -0
- package/dist/discussion/jobs.js.map +1 -0
- package/dist/discussion/live.d.ts +106 -0
- package/dist/discussion/live.js +642 -0
- package/dist/discussion/live.js.map +1 -0
- package/dist/discussion/mentions.d.ts +11 -0
- package/dist/discussion/mentions.js +35 -0
- package/dist/discussion/mentions.js.map +1 -0
- package/dist/discussion/ports.d.ts +279 -114
- package/dist/discussion/ports.js.map +1 -1
- package/dist/discussion/posts.d.ts +60 -44
- package/dist/discussion/posts.js +453 -287
- package/dist/discussion/posts.js.map +1 -1
- package/dist/discussion/rules.d.ts +18 -0
- package/dist/discussion/rules.js +22 -0
- package/dist/discussion/rules.js.map +1 -0
- package/dist/discussion/service.d.ts +50 -35
- package/dist/discussion/service.js +333 -205
- package/dist/discussion/service.js.map +1 -1
- package/dist/discussion/subscriptions.d.ts +37 -0
- package/dist/discussion/subscriptions.js +115 -0
- package/dist/discussion/subscriptions.js.map +1 -0
- package/dist/discussion/titles.d.ts +28 -0
- package/dist/discussion/titles.js +98 -0
- package/dist/discussion/titles.js.map +1 -0
- package/dist/entitlements/events.d.ts +20 -20
- package/dist/entitlements/index.d.ts +5 -4
- package/dist/entitlements/index.js +3 -2
- package/dist/entitlements/jobs.d.ts +12 -0
- package/dist/entitlements/jobs.js +18 -0
- package/dist/entitlements/jobs.js.map +1 -0
- package/dist/entitlements/model.d.ts +2 -2
- package/dist/entitlements/ports.d.ts +68 -38
- package/dist/entitlements/rules.d.ts +3 -6
- package/dist/entitlements/rules.js +5 -10
- package/dist/entitlements/rules.js.map +1 -1
- package/dist/entitlements/service.d.ts +43 -28
- package/dist/entitlements/service.js +387 -160
- package/dist/entitlements/service.js.map +1 -1
- package/dist/identity/devices.d.ts +30 -0
- package/dist/identity/devices.js +109 -0
- package/dist/identity/devices.js.map +1 -0
- package/dist/identity/index.d.ts +6 -5
- package/dist/identity/index.js +4 -3
- package/dist/identity/model.d.ts +2 -2
- package/dist/identity/notification-settings.d.ts +28 -0
- package/dist/identity/notification-settings.js +114 -0
- package/dist/identity/notification-settings.js.map +1 -0
- package/dist/identity/ports.d.ts +80 -56
- package/dist/identity/service.d.ts +8 -7
- package/dist/identity/service.js +17 -13
- package/dist/identity/service.js.map +1 -1
- package/dist/integrations/ports.d.ts +9 -8
- package/dist/integrations/service.d.ts +9 -8
- package/dist/integrations/service.js +33 -16
- package/dist/integrations/service.js.map +1 -1
- package/dist/organizations/default-roles.d.ts +22 -0
- package/dist/organizations/default-roles.js +89 -0
- package/dist/organizations/default-roles.js.map +1 -0
- package/dist/organizations/effective-permissions.d.ts +45 -0
- package/dist/organizations/effective-permissions.js +113 -0
- package/dist/organizations/effective-permissions.js.map +1 -0
- package/dist/organizations/events.d.ts +320 -181
- package/dist/organizations/events.js +90 -18
- package/dist/organizations/events.js.map +1 -1
- package/dist/organizations/index.d.ts +15 -10
- package/dist/organizations/index.js +8 -3
- package/dist/organizations/members.d.ts +66 -8
- package/dist/organizations/members.js.map +1 -1
- package/dist/organizations/notification-catalog.d.ts +31 -0
- package/dist/organizations/notification-catalog.js +32 -0
- package/dist/organizations/notification-catalog.js.map +1 -0
- package/dist/organizations/notification-categories.d.ts +34 -0
- package/dist/organizations/notification-categories.js +66 -0
- package/dist/organizations/notification-categories.js.map +1 -0
- package/dist/organizations/org-roles.d.ts +33 -0
- package/dist/organizations/org-roles.js +49 -0
- package/dist/organizations/org-roles.js.map +1 -0
- package/dist/organizations/permissions.d.ts +311 -0
- package/dist/organizations/permissions.js +327 -0
- package/dist/organizations/permissions.js.map +1 -0
- package/dist/organizations/ports.d.ts +187 -65
- package/dist/organizations/service.d.ts +104 -35
- package/dist/organizations/service.js +1247 -323
- package/dist/organizations/service.js.map +1 -1
- package/dist/organizations/testing.d.ts +18 -0
- package/dist/organizations/testing.js +37 -0
- package/dist/organizations/testing.js.map +1 -0
- package/dist/organizations/types.d.ts +5 -16
- package/dist/progress/index.d.ts +2 -2
- package/dist/progress/ports.d.ts +11 -3
- package/dist/progress/service.d.ts +6 -5
- package/dist/progress/service.js +23 -8
- package/dist/progress/service.js.map +1 -1
- package/dist/reporting/admin/index.d.ts +6 -4
- package/dist/reporting/admin/model.d.ts +36 -3
- package/dist/reporting/admin/ports.d.ts +39 -14
- package/dist/reporting/admin/service.d.ts +32 -11
- package/dist/reporting/admin/service.js +102 -18
- package/dist/reporting/admin/service.js.map +1 -1
- package/dist/reporting/events/index.d.ts +27 -0
- package/dist/reporting/events/index.js +20 -0
- package/dist/reporting/events/index.js.map +1 -0
- package/dist/reporting/member/calendar.d.ts +11 -0
- package/dist/reporting/member/calendar.js +75 -0
- package/dist/reporting/member/calendar.js.map +1 -0
- package/dist/reporting/member/index.d.ts +3 -2
- package/dist/reporting/member/model.d.ts +80 -26
- package/dist/reporting/member/ports.d.ts +50 -28
- package/dist/reporting/member/service.d.ts +81 -35
- package/dist/reporting/member/service.js +438 -145
- package/dist/reporting/member/service.js.map +1 -1
- package/dist/shared/actor.d.ts +22 -3
- package/dist/shared/errors.d.ts +15 -2
- package/dist/shared/errors.js +21 -2
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/id.d.ts +7 -0
- package/dist/shared/id.js +8 -1
- package/dist/shared/id.js.map +1 -1
- package/dist/shared/logger.d.ts +2 -1
- package/dist/shared/logger.js +10 -1
- package/dist/shared/logger.js.map +1 -1
- package/dist/shared/mailer.d.ts +11 -1
- package/dist/shared/mailer.js +32 -5
- package/dist/shared/mailer.js.map +1 -1
- package/dist/shared/notification-categories.d.ts +16 -0
- package/dist/shared/notification-categories.js +94 -0
- package/dist/shared/notification-categories.js.map +1 -0
- package/dist/shared/notification-settings.d.ts +14 -0
- package/dist/shared/notification-settings.js +61 -0
- package/dist/shared/notification-settings.js.map +1 -0
- package/dist/shared/ports.d.ts +68 -2
- package/dist/shared/settings.d.ts +2 -1
- package/dist/shared/settings.js +1 -0
- package/dist/shared/settings.js.map +1 -1
- package/dist/types/automations.d.ts +8 -2
- package/dist/types/content.d.ts +2 -2
- package/dist/types/discussion.d.ts +4 -5
- package/dist/types/email-templates.d.ts +119 -6
- package/dist/types/entitlements.d.ts +2 -2
- package/dist/types/identity.d.ts +14 -17
- package/dist/types/index.d.ts +13 -12
- package/dist/types/index.js +2 -1
- package/dist/types/notifications.d.ts +157 -0
- package/dist/types/notifications.js +1 -0
- package/dist/types/organizations.d.ts +3 -2
- package/dist/types/ports.d.ts +8 -1
- package/dist/types/ports.js +7 -1
- package/dist/types/ports.js.map +1 -0
- package/dist/types/schemas/assets.d.ts +5 -5
- package/dist/types/schemas/assets.js +4 -3
- package/dist/types/schemas/assets.js.map +1 -1
- package/dist/types/schemas/automations.d.ts +1 -10
- package/dist/types/schemas/automations.js +1 -3
- package/dist/types/schemas/automations.js.map +1 -1
- package/dist/types/schemas/content.d.ts +596 -11
- package/dist/types/schemas/content.js +225 -9
- package/dist/types/schemas/content.js.map +1 -1
- package/dist/types/schemas/discussion.d.ts +362 -66
- package/dist/types/schemas/discussion.js +123 -15
- package/dist/types/schemas/discussion.js.map +1 -1
- package/dist/types/schemas/entitlements.d.ts +14 -1
- package/dist/types/schemas/entitlements.js +11 -4
- package/dist/types/schemas/entitlements.js.map +1 -1
- package/dist/types/schemas/identity.d.ts +1 -85
- package/dist/types/schemas/identity.js +1 -42
- package/dist/types/schemas/identity.js.map +1 -1
- package/dist/types/schemas/index.d.ts +8 -7
- package/dist/types/schemas/index.js +8 -7
- package/dist/types/schemas/notifications.d.ts +96 -0
- package/dist/types/schemas/notifications.js +57 -0
- package/dist/types/schemas/notifications.js.map +1 -0
- package/dist/types/schemas/organizations.d.ts +96 -60
- package/dist/types/schemas/organizations.js +78 -27
- package/dist/types/schemas/organizations.js.map +1 -1
- package/dist/types/schemas/progress.d.ts +0 -1
- package/dist/types/schemas/progress.js +0 -1
- package/dist/types/schemas/progress.js.map +1 -1
- package/package.json +1 -1
- package/dist/automations/community-notifications.d.ts +0 -16
- package/dist/automations/community-notifications.js +0 -84
- package/dist/automations/community-notifications.js.map +0 -1
- package/dist/automations/seeds.d.ts +0 -17
- package/dist/automations/seeds.js +0 -235
- package/dist/automations/seeds.js.map +0 -1
- package/dist/identity/notifications.d.ts +0 -27
- package/dist/identity/notifications.js +0 -101
- package/dist/identity/notifications.js.map +0 -1
- package/dist/organizations/access-scopes.d.ts +0 -19
- package/dist/organizations/access-scopes.js +0 -89
- package/dist/organizations/access-scopes.js.map +0 -1
- package/dist/organizations/roles.d.ts +0 -19
- package/dist/organizations/roles.js +0 -82
- package/dist/organizations/roles.js.map +0 -1
package/dist/content/events.d.ts
CHANGED
|
@@ -47,17 +47,17 @@ declare const contentEvents: {
|
|
|
47
47
|
createdAt: unknown;
|
|
48
48
|
updatedAt: unknown;
|
|
49
49
|
}, z.ZodObject<{
|
|
50
|
-
type: z.ZodLiteral<"course">;
|
|
51
50
|
orgId: z.ZodString;
|
|
52
51
|
id: z.ZodString;
|
|
52
|
+
description: z.ZodString;
|
|
53
|
+
type: z.ZodLiteral<"course">;
|
|
54
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
55
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
53
56
|
status: z.ZodEnum<{
|
|
54
57
|
draft: "draft";
|
|
55
58
|
published: "published";
|
|
56
59
|
}>;
|
|
57
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
58
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
59
60
|
title: z.ZodString;
|
|
60
|
-
description: z.ZodString;
|
|
61
61
|
settings: z.ZodObject<{
|
|
62
62
|
transcriptDownloads: z.ZodBoolean;
|
|
63
63
|
comments: z.ZodOptional<z.ZodObject<{
|
|
@@ -114,17 +114,17 @@ declare const contentEvents: {
|
|
|
114
114
|
createdAt: unknown;
|
|
115
115
|
updatedAt: unknown;
|
|
116
116
|
}, z.ZodObject<{
|
|
117
|
-
type: z.ZodLiteral<"course">;
|
|
118
117
|
orgId: z.ZodString;
|
|
119
118
|
id: z.ZodString;
|
|
119
|
+
description: z.ZodString;
|
|
120
|
+
type: z.ZodLiteral<"course">;
|
|
121
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
122
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
120
123
|
status: z.ZodEnum<{
|
|
121
124
|
draft: "draft";
|
|
122
125
|
published: "published";
|
|
123
126
|
}>;
|
|
124
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
125
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
126
127
|
title: z.ZodString;
|
|
127
|
-
description: z.ZodString;
|
|
128
128
|
settings: z.ZodObject<{
|
|
129
129
|
transcriptDownloads: z.ZodBoolean;
|
|
130
130
|
comments: z.ZodOptional<z.ZodObject<{
|
|
@@ -181,17 +181,17 @@ declare const contentEvents: {
|
|
|
181
181
|
createdAt: unknown;
|
|
182
182
|
updatedAt: unknown;
|
|
183
183
|
}, z.ZodObject<{
|
|
184
|
-
type: z.ZodLiteral<"course">;
|
|
185
184
|
orgId: z.ZodString;
|
|
186
185
|
id: z.ZodString;
|
|
186
|
+
description: z.ZodString;
|
|
187
|
+
type: z.ZodLiteral<"course">;
|
|
188
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
189
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
187
190
|
status: z.ZodEnum<{
|
|
188
191
|
draft: "draft";
|
|
189
192
|
published: "published";
|
|
190
193
|
}>;
|
|
191
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
192
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
193
194
|
title: z.ZodString;
|
|
194
|
-
description: z.ZodString;
|
|
195
195
|
settings: z.ZodObject<{
|
|
196
196
|
transcriptDownloads: z.ZodBoolean;
|
|
197
197
|
comments: z.ZodOptional<z.ZodObject<{
|
|
@@ -386,6 +386,19 @@ declare const contentEvents: {
|
|
|
386
386
|
seq: z.ZodNumber;
|
|
387
387
|
moduleId: z.ZodString;
|
|
388
388
|
}, z.core.$strip>>;
|
|
389
|
+
activityPublished: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
390
|
+
activityId: string;
|
|
391
|
+
moduleId: string;
|
|
392
|
+
courseId: string;
|
|
393
|
+
}, "content.course.activity.published", 1>, {
|
|
394
|
+
activityId: string;
|
|
395
|
+
moduleId: string;
|
|
396
|
+
courseId: string;
|
|
397
|
+
}, z.ZodObject<{
|
|
398
|
+
activityId: z.ZodString;
|
|
399
|
+
moduleId: z.ZodString;
|
|
400
|
+
courseId: z.ZodString;
|
|
401
|
+
}, z.core.$strict>>;
|
|
389
402
|
activitiesReordered: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
390
403
|
orgId: string;
|
|
391
404
|
id: string;
|
|
@@ -436,17 +449,17 @@ declare const contentEvents: {
|
|
|
436
449
|
createdAt: unknown;
|
|
437
450
|
updatedAt: unknown;
|
|
438
451
|
}, z.ZodObject<{
|
|
439
|
-
type: z.ZodLiteral<"download">;
|
|
440
452
|
orgId: z.ZodString;
|
|
441
453
|
id: z.ZodString;
|
|
454
|
+
description: z.ZodString;
|
|
455
|
+
type: z.ZodLiteral<"download">;
|
|
456
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
457
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
442
458
|
status: z.ZodEnum<{
|
|
443
459
|
draft: "draft";
|
|
444
460
|
published: "published";
|
|
445
461
|
}>;
|
|
446
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
447
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
448
462
|
title: z.ZodString;
|
|
449
|
-
description: z.ZodString;
|
|
450
463
|
slug: z.ZodString;
|
|
451
464
|
category: z.ZodString;
|
|
452
465
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
@@ -476,17 +489,17 @@ declare const contentEvents: {
|
|
|
476
489
|
createdAt: unknown;
|
|
477
490
|
updatedAt: unknown;
|
|
478
491
|
}, z.ZodObject<{
|
|
479
|
-
type: z.ZodLiteral<"download">;
|
|
480
492
|
orgId: z.ZodString;
|
|
481
493
|
id: z.ZodString;
|
|
494
|
+
description: z.ZodString;
|
|
495
|
+
type: z.ZodLiteral<"download">;
|
|
496
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
497
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
482
498
|
status: z.ZodEnum<{
|
|
483
499
|
draft: "draft";
|
|
484
500
|
published: "published";
|
|
485
501
|
}>;
|
|
486
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
487
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
488
502
|
title: z.ZodString;
|
|
489
|
-
description: z.ZodString;
|
|
490
503
|
slug: z.ZodString;
|
|
491
504
|
category: z.ZodString;
|
|
492
505
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
@@ -516,17 +529,17 @@ declare const contentEvents: {
|
|
|
516
529
|
createdAt: unknown;
|
|
517
530
|
updatedAt: unknown;
|
|
518
531
|
}, z.ZodObject<{
|
|
519
|
-
type: z.ZodLiteral<"download">;
|
|
520
532
|
orgId: z.ZodString;
|
|
521
533
|
id: z.ZodString;
|
|
534
|
+
description: z.ZodString;
|
|
535
|
+
type: z.ZodLiteral<"download">;
|
|
536
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
537
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
522
538
|
status: z.ZodEnum<{
|
|
523
539
|
draft: "draft";
|
|
524
540
|
published: "published";
|
|
525
541
|
}>;
|
|
526
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
527
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
528
542
|
title: z.ZodString;
|
|
529
|
-
description: z.ZodString;
|
|
530
543
|
slug: z.ZodString;
|
|
531
544
|
category: z.ZodString;
|
|
532
545
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
@@ -769,12 +782,18 @@ declare const contentEvents: {
|
|
|
769
782
|
dm: {
|
|
770
783
|
enabled: boolean;
|
|
771
784
|
memberToMember: boolean;
|
|
772
|
-
|
|
773
|
-
|
|
785
|
+
memberToTeam: boolean;
|
|
786
|
+
teamToAnyone: boolean;
|
|
774
787
|
firstMessageIsRequest: boolean;
|
|
775
788
|
groupChats: boolean;
|
|
776
789
|
groupSize: number;
|
|
777
790
|
};
|
|
791
|
+
digest: {
|
|
792
|
+
cadence: "daily" | "weekly";
|
|
793
|
+
weekday: number;
|
|
794
|
+
hour: number;
|
|
795
|
+
timeZone: string;
|
|
796
|
+
} | null;
|
|
778
797
|
};
|
|
779
798
|
createdAt: Date;
|
|
780
799
|
updatedAt: Date;
|
|
@@ -791,27 +810,33 @@ declare const contentEvents: {
|
|
|
791
810
|
dm: {
|
|
792
811
|
enabled: boolean;
|
|
793
812
|
memberToMember: boolean;
|
|
794
|
-
|
|
795
|
-
|
|
813
|
+
memberToTeam: boolean;
|
|
814
|
+
teamToAnyone: boolean;
|
|
796
815
|
firstMessageIsRequest: boolean;
|
|
797
816
|
groupChats: boolean;
|
|
798
817
|
groupSize: number;
|
|
799
818
|
};
|
|
819
|
+
digest: {
|
|
820
|
+
cadence: "daily" | "weekly";
|
|
821
|
+
weekday: number;
|
|
822
|
+
hour: number;
|
|
823
|
+
timeZone: string;
|
|
824
|
+
} | null;
|
|
800
825
|
};
|
|
801
826
|
createdAt: unknown;
|
|
802
827
|
updatedAt: unknown;
|
|
803
828
|
}, z.ZodObject<{
|
|
804
|
-
type: z.ZodLiteral<"community">;
|
|
805
829
|
orgId: z.ZodString;
|
|
806
830
|
id: z.ZodString;
|
|
831
|
+
description: z.ZodString;
|
|
832
|
+
type: z.ZodLiteral<"community">;
|
|
833
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
834
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
807
835
|
status: z.ZodEnum<{
|
|
808
836
|
draft: "draft";
|
|
809
837
|
published: "published";
|
|
810
838
|
}>;
|
|
811
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
812
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
813
839
|
title: z.ZodString;
|
|
814
|
-
description: z.ZodString;
|
|
815
840
|
slug: z.ZodString;
|
|
816
841
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
817
842
|
}, z.core.$strip>>;
|
|
@@ -828,12 +853,18 @@ declare const contentEvents: {
|
|
|
828
853
|
dm: {
|
|
829
854
|
enabled: boolean;
|
|
830
855
|
memberToMember: boolean;
|
|
831
|
-
|
|
832
|
-
|
|
856
|
+
memberToTeam: boolean;
|
|
857
|
+
teamToAnyone: boolean;
|
|
833
858
|
firstMessageIsRequest: boolean;
|
|
834
859
|
groupChats: boolean;
|
|
835
860
|
groupSize: number;
|
|
836
861
|
};
|
|
862
|
+
digest: {
|
|
863
|
+
cadence: "daily" | "weekly";
|
|
864
|
+
weekday: number;
|
|
865
|
+
hour: number;
|
|
866
|
+
timeZone: string;
|
|
867
|
+
} | null;
|
|
837
868
|
};
|
|
838
869
|
createdAt: Date;
|
|
839
870
|
updatedAt: Date;
|
|
@@ -850,27 +881,33 @@ declare const contentEvents: {
|
|
|
850
881
|
dm: {
|
|
851
882
|
enabled: boolean;
|
|
852
883
|
memberToMember: boolean;
|
|
853
|
-
|
|
854
|
-
|
|
884
|
+
memberToTeam: boolean;
|
|
885
|
+
teamToAnyone: boolean;
|
|
855
886
|
firstMessageIsRequest: boolean;
|
|
856
887
|
groupChats: boolean;
|
|
857
888
|
groupSize: number;
|
|
858
889
|
};
|
|
890
|
+
digest: {
|
|
891
|
+
cadence: "daily" | "weekly";
|
|
892
|
+
weekday: number;
|
|
893
|
+
hour: number;
|
|
894
|
+
timeZone: string;
|
|
895
|
+
} | null;
|
|
859
896
|
};
|
|
860
897
|
createdAt: unknown;
|
|
861
898
|
updatedAt: unknown;
|
|
862
899
|
}, z.ZodObject<{
|
|
863
|
-
type: z.ZodLiteral<"community">;
|
|
864
900
|
orgId: z.ZodString;
|
|
865
901
|
id: z.ZodString;
|
|
902
|
+
description: z.ZodString;
|
|
903
|
+
type: z.ZodLiteral<"community">;
|
|
904
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
905
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
866
906
|
status: z.ZodEnum<{
|
|
867
907
|
draft: "draft";
|
|
868
908
|
published: "published";
|
|
869
909
|
}>;
|
|
870
|
-
createdAt: z.ZodCoercedDate<unknown>;
|
|
871
|
-
updatedAt: z.ZodCoercedDate<unknown>;
|
|
872
910
|
title: z.ZodString;
|
|
873
|
-
description: z.ZodString;
|
|
874
911
|
slug: z.ZodString;
|
|
875
912
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
876
913
|
}, z.core.$strip>>;
|
|
@@ -887,12 +924,18 @@ declare const contentEvents: {
|
|
|
887
924
|
dm: {
|
|
888
925
|
enabled: boolean;
|
|
889
926
|
memberToMember: boolean;
|
|
890
|
-
|
|
891
|
-
|
|
927
|
+
memberToTeam: boolean;
|
|
928
|
+
teamToAnyone: boolean;
|
|
892
929
|
firstMessageIsRequest: boolean;
|
|
893
930
|
groupChats: boolean;
|
|
894
931
|
groupSize: number;
|
|
895
932
|
};
|
|
933
|
+
digest: {
|
|
934
|
+
cadence: "daily" | "weekly";
|
|
935
|
+
weekday: number;
|
|
936
|
+
hour: number;
|
|
937
|
+
timeZone: string;
|
|
938
|
+
} | null;
|
|
896
939
|
};
|
|
897
940
|
createdAt: Date;
|
|
898
941
|
updatedAt: Date;
|
|
@@ -909,30 +952,373 @@ declare const contentEvents: {
|
|
|
909
952
|
dm: {
|
|
910
953
|
enabled: boolean;
|
|
911
954
|
memberToMember: boolean;
|
|
912
|
-
|
|
913
|
-
|
|
955
|
+
memberToTeam: boolean;
|
|
956
|
+
teamToAnyone: boolean;
|
|
914
957
|
firstMessageIsRequest: boolean;
|
|
915
958
|
groupChats: boolean;
|
|
916
959
|
groupSize: number;
|
|
917
960
|
};
|
|
961
|
+
digest: {
|
|
962
|
+
cadence: "daily" | "weekly";
|
|
963
|
+
weekday: number;
|
|
964
|
+
hour: number;
|
|
965
|
+
timeZone: string;
|
|
966
|
+
} | null;
|
|
918
967
|
};
|
|
919
968
|
createdAt: unknown;
|
|
920
969
|
updatedAt: unknown;
|
|
921
970
|
}, z.ZodObject<{
|
|
971
|
+
orgId: z.ZodString;
|
|
972
|
+
id: z.ZodString;
|
|
973
|
+
description: z.ZodString;
|
|
922
974
|
type: z.ZodLiteral<"community">;
|
|
975
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
976
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
977
|
+
status: z.ZodEnum<{
|
|
978
|
+
draft: "draft";
|
|
979
|
+
published: "published";
|
|
980
|
+
}>;
|
|
981
|
+
title: z.ZodString;
|
|
982
|
+
slug: z.ZodString;
|
|
983
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
984
|
+
}, z.core.$strip>>;
|
|
985
|
+
eventCreated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
986
|
+
orgId: string;
|
|
987
|
+
id: string;
|
|
988
|
+
type: "event";
|
|
989
|
+
title: string;
|
|
990
|
+
description: string;
|
|
991
|
+
thumbnailAssetId: string | null;
|
|
992
|
+
status: "draft" | "published" | "canceled";
|
|
993
|
+
startsAt: Date;
|
|
994
|
+
endsAt: Date;
|
|
995
|
+
timeZone: string;
|
|
996
|
+
location: {
|
|
997
|
+
venue: {
|
|
998
|
+
name: string;
|
|
999
|
+
address: {
|
|
1000
|
+
line1: string | null;
|
|
1001
|
+
line2: string | null;
|
|
1002
|
+
city: string | null;
|
|
1003
|
+
region: string | null;
|
|
1004
|
+
postalCode: string | null;
|
|
1005
|
+
country: string | null;
|
|
1006
|
+
} | null;
|
|
1007
|
+
} | null;
|
|
1008
|
+
online: {
|
|
1009
|
+
url: string;
|
|
1010
|
+
details: string | null;
|
|
1011
|
+
} | null;
|
|
1012
|
+
};
|
|
1013
|
+
recording: {
|
|
1014
|
+
url: string;
|
|
1015
|
+
details: string | null;
|
|
1016
|
+
} | null;
|
|
1017
|
+
settings: {
|
|
1018
|
+
type: "public" | "private";
|
|
1019
|
+
capacity: number | null;
|
|
1020
|
+
notifications: boolean;
|
|
1021
|
+
replay: boolean;
|
|
1022
|
+
};
|
|
1023
|
+
createdAt: Date;
|
|
1024
|
+
updatedAt: Date;
|
|
1025
|
+
}, "content.event.created", 1>, {
|
|
1026
|
+
orgId: string;
|
|
1027
|
+
id: string;
|
|
1028
|
+
type: "event";
|
|
1029
|
+
title: string;
|
|
1030
|
+
description: string;
|
|
1031
|
+
thumbnailAssetId: string | null;
|
|
1032
|
+
status: "draft" | "published" | "canceled";
|
|
1033
|
+
startsAt: unknown;
|
|
1034
|
+
endsAt: unknown;
|
|
1035
|
+
timeZone: string;
|
|
1036
|
+
location: {
|
|
1037
|
+
venue: {
|
|
1038
|
+
name: string;
|
|
1039
|
+
address: {
|
|
1040
|
+
line1: string | null;
|
|
1041
|
+
line2: string | null;
|
|
1042
|
+
city: string | null;
|
|
1043
|
+
region: string | null;
|
|
1044
|
+
postalCode: string | null;
|
|
1045
|
+
country: string | null;
|
|
1046
|
+
} | null;
|
|
1047
|
+
} | null;
|
|
1048
|
+
online: {
|
|
1049
|
+
url: string;
|
|
1050
|
+
details: string | null;
|
|
1051
|
+
} | null;
|
|
1052
|
+
};
|
|
1053
|
+
recording: {
|
|
1054
|
+
url: string;
|
|
1055
|
+
details: string | null;
|
|
1056
|
+
} | null;
|
|
1057
|
+
settings: {
|
|
1058
|
+
type: "public" | "private";
|
|
1059
|
+
capacity: number | null;
|
|
1060
|
+
notifications: boolean;
|
|
1061
|
+
replay: boolean;
|
|
1062
|
+
};
|
|
1063
|
+
createdAt: unknown;
|
|
1064
|
+
updatedAt: unknown;
|
|
1065
|
+
}, z.ZodObject<{
|
|
923
1066
|
orgId: z.ZodString;
|
|
924
1067
|
id: z.ZodString;
|
|
1068
|
+
description: z.ZodString;
|
|
1069
|
+
type: z.ZodLiteral<"event">;
|
|
1070
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
1071
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
925
1072
|
status: z.ZodEnum<{
|
|
926
1073
|
draft: "draft";
|
|
927
1074
|
published: "published";
|
|
1075
|
+
canceled: "canceled";
|
|
928
1076
|
}>;
|
|
1077
|
+
title: z.ZodString;
|
|
1078
|
+
settings: z.ZodObject<{
|
|
1079
|
+
type: z.ZodEnum<{
|
|
1080
|
+
public: "public";
|
|
1081
|
+
private: "private";
|
|
1082
|
+
}>;
|
|
1083
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1084
|
+
notifications: z.ZodBoolean;
|
|
1085
|
+
replay: z.ZodBoolean;
|
|
1086
|
+
}, z.core.$strict>;
|
|
1087
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1088
|
+
timeZone: z.ZodString;
|
|
1089
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1090
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
1091
|
+
}, z.core.$strip>>;
|
|
1092
|
+
eventUpdated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
1093
|
+
orgId: string;
|
|
1094
|
+
id: string;
|
|
1095
|
+
type: "event";
|
|
1096
|
+
title: string;
|
|
1097
|
+
description: string;
|
|
1098
|
+
thumbnailAssetId: string | null;
|
|
1099
|
+
status: "draft" | "published" | "canceled";
|
|
1100
|
+
startsAt: Date;
|
|
1101
|
+
endsAt: Date;
|
|
1102
|
+
timeZone: string;
|
|
1103
|
+
location: {
|
|
1104
|
+
venue: {
|
|
1105
|
+
name: string;
|
|
1106
|
+
address: {
|
|
1107
|
+
line1: string | null;
|
|
1108
|
+
line2: string | null;
|
|
1109
|
+
city: string | null;
|
|
1110
|
+
region: string | null;
|
|
1111
|
+
postalCode: string | null;
|
|
1112
|
+
country: string | null;
|
|
1113
|
+
} | null;
|
|
1114
|
+
} | null;
|
|
1115
|
+
online: {
|
|
1116
|
+
url: string;
|
|
1117
|
+
details: string | null;
|
|
1118
|
+
} | null;
|
|
1119
|
+
};
|
|
1120
|
+
recording: {
|
|
1121
|
+
url: string;
|
|
1122
|
+
details: string | null;
|
|
1123
|
+
} | null;
|
|
1124
|
+
settings: {
|
|
1125
|
+
type: "public" | "private";
|
|
1126
|
+
capacity: number | null;
|
|
1127
|
+
notifications: boolean;
|
|
1128
|
+
replay: boolean;
|
|
1129
|
+
};
|
|
1130
|
+
createdAt: Date;
|
|
1131
|
+
updatedAt: Date;
|
|
1132
|
+
}, "content.event.updated", 1>, {
|
|
1133
|
+
orgId: string;
|
|
1134
|
+
id: string;
|
|
1135
|
+
type: "event";
|
|
1136
|
+
title: string;
|
|
1137
|
+
description: string;
|
|
1138
|
+
thumbnailAssetId: string | null;
|
|
1139
|
+
status: "draft" | "published" | "canceled";
|
|
1140
|
+
startsAt: unknown;
|
|
1141
|
+
endsAt: unknown;
|
|
1142
|
+
timeZone: string;
|
|
1143
|
+
location: {
|
|
1144
|
+
venue: {
|
|
1145
|
+
name: string;
|
|
1146
|
+
address: {
|
|
1147
|
+
line1: string | null;
|
|
1148
|
+
line2: string | null;
|
|
1149
|
+
city: string | null;
|
|
1150
|
+
region: string | null;
|
|
1151
|
+
postalCode: string | null;
|
|
1152
|
+
country: string | null;
|
|
1153
|
+
} | null;
|
|
1154
|
+
} | null;
|
|
1155
|
+
online: {
|
|
1156
|
+
url: string;
|
|
1157
|
+
details: string | null;
|
|
1158
|
+
} | null;
|
|
1159
|
+
};
|
|
1160
|
+
recording: {
|
|
1161
|
+
url: string;
|
|
1162
|
+
details: string | null;
|
|
1163
|
+
} | null;
|
|
1164
|
+
settings: {
|
|
1165
|
+
type: "public" | "private";
|
|
1166
|
+
capacity: number | null;
|
|
1167
|
+
notifications: boolean;
|
|
1168
|
+
replay: boolean;
|
|
1169
|
+
};
|
|
1170
|
+
createdAt: unknown;
|
|
1171
|
+
updatedAt: unknown;
|
|
1172
|
+
}, z.ZodObject<{
|
|
1173
|
+
orgId: z.ZodString;
|
|
1174
|
+
id: z.ZodString;
|
|
1175
|
+
description: z.ZodString;
|
|
1176
|
+
type: z.ZodLiteral<"event">;
|
|
929
1177
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
930
1178
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
1179
|
+
status: z.ZodEnum<{
|
|
1180
|
+
draft: "draft";
|
|
1181
|
+
published: "published";
|
|
1182
|
+
canceled: "canceled";
|
|
1183
|
+
}>;
|
|
931
1184
|
title: z.ZodString;
|
|
1185
|
+
settings: z.ZodObject<{
|
|
1186
|
+
type: z.ZodEnum<{
|
|
1187
|
+
public: "public";
|
|
1188
|
+
private: "private";
|
|
1189
|
+
}>;
|
|
1190
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1191
|
+
notifications: z.ZodBoolean;
|
|
1192
|
+
replay: z.ZodBoolean;
|
|
1193
|
+
}, z.core.$strict>;
|
|
1194
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1195
|
+
timeZone: z.ZodString;
|
|
1196
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1197
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
1198
|
+
}, z.core.$strip>>;
|
|
1199
|
+
eventDeleted: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
1200
|
+
orgId: string;
|
|
1201
|
+
id: string;
|
|
1202
|
+
type: "event";
|
|
1203
|
+
title: string;
|
|
1204
|
+
description: string;
|
|
1205
|
+
thumbnailAssetId: string | null;
|
|
1206
|
+
status: "draft" | "published" | "canceled";
|
|
1207
|
+
startsAt: Date;
|
|
1208
|
+
endsAt: Date;
|
|
1209
|
+
timeZone: string;
|
|
1210
|
+
location: {
|
|
1211
|
+
venue: {
|
|
1212
|
+
name: string;
|
|
1213
|
+
address: {
|
|
1214
|
+
line1: string | null;
|
|
1215
|
+
line2: string | null;
|
|
1216
|
+
city: string | null;
|
|
1217
|
+
region: string | null;
|
|
1218
|
+
postalCode: string | null;
|
|
1219
|
+
country: string | null;
|
|
1220
|
+
} | null;
|
|
1221
|
+
} | null;
|
|
1222
|
+
online: {
|
|
1223
|
+
url: string;
|
|
1224
|
+
details: string | null;
|
|
1225
|
+
} | null;
|
|
1226
|
+
};
|
|
1227
|
+
recording: {
|
|
1228
|
+
url: string;
|
|
1229
|
+
details: string | null;
|
|
1230
|
+
} | null;
|
|
1231
|
+
settings: {
|
|
1232
|
+
type: "public" | "private";
|
|
1233
|
+
capacity: number | null;
|
|
1234
|
+
notifications: boolean;
|
|
1235
|
+
replay: boolean;
|
|
1236
|
+
};
|
|
1237
|
+
createdAt: Date;
|
|
1238
|
+
updatedAt: Date;
|
|
1239
|
+
}, "content.event.deleted", 1>, {
|
|
1240
|
+
orgId: string;
|
|
1241
|
+
id: string;
|
|
1242
|
+
type: "event";
|
|
1243
|
+
title: string;
|
|
1244
|
+
description: string;
|
|
1245
|
+
thumbnailAssetId: string | null;
|
|
1246
|
+
status: "draft" | "published" | "canceled";
|
|
1247
|
+
startsAt: unknown;
|
|
1248
|
+
endsAt: unknown;
|
|
1249
|
+
timeZone: string;
|
|
1250
|
+
location: {
|
|
1251
|
+
venue: {
|
|
1252
|
+
name: string;
|
|
1253
|
+
address: {
|
|
1254
|
+
line1: string | null;
|
|
1255
|
+
line2: string | null;
|
|
1256
|
+
city: string | null;
|
|
1257
|
+
region: string | null;
|
|
1258
|
+
postalCode: string | null;
|
|
1259
|
+
country: string | null;
|
|
1260
|
+
} | null;
|
|
1261
|
+
} | null;
|
|
1262
|
+
online: {
|
|
1263
|
+
url: string;
|
|
1264
|
+
details: string | null;
|
|
1265
|
+
} | null;
|
|
1266
|
+
};
|
|
1267
|
+
recording: {
|
|
1268
|
+
url: string;
|
|
1269
|
+
details: string | null;
|
|
1270
|
+
} | null;
|
|
1271
|
+
settings: {
|
|
1272
|
+
type: "public" | "private";
|
|
1273
|
+
capacity: number | null;
|
|
1274
|
+
notifications: boolean;
|
|
1275
|
+
replay: boolean;
|
|
1276
|
+
};
|
|
1277
|
+
createdAt: unknown;
|
|
1278
|
+
updatedAt: unknown;
|
|
1279
|
+
}, z.ZodObject<{
|
|
1280
|
+
orgId: z.ZodString;
|
|
1281
|
+
id: z.ZodString;
|
|
932
1282
|
description: z.ZodString;
|
|
933
|
-
|
|
1283
|
+
type: z.ZodLiteral<"event">;
|
|
1284
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
1285
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
1286
|
+
status: z.ZodEnum<{
|
|
1287
|
+
draft: "draft";
|
|
1288
|
+
published: "published";
|
|
1289
|
+
canceled: "canceled";
|
|
1290
|
+
}>;
|
|
1291
|
+
title: z.ZodString;
|
|
1292
|
+
settings: z.ZodObject<{
|
|
1293
|
+
type: z.ZodEnum<{
|
|
1294
|
+
public: "public";
|
|
1295
|
+
private: "private";
|
|
1296
|
+
}>;
|
|
1297
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1298
|
+
notifications: z.ZodBoolean;
|
|
1299
|
+
replay: z.ZodBoolean;
|
|
1300
|
+
}, z.core.$strict>;
|
|
934
1301
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1302
|
+
timeZone: z.ZodString;
|
|
1303
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1304
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
935
1305
|
}, z.core.$strip>>;
|
|
1306
|
+
eventStartingSoon: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
1307
|
+
eventId: string;
|
|
1308
|
+
lead: "1d" | "1h";
|
|
1309
|
+
startsAt: Date;
|
|
1310
|
+
}, "content.event.starting_soon", 1>, {
|
|
1311
|
+
eventId: string;
|
|
1312
|
+
lead: "1d" | "1h";
|
|
1313
|
+
startsAt: unknown;
|
|
1314
|
+
}, z.ZodObject<{
|
|
1315
|
+
eventId: z.ZodString;
|
|
1316
|
+
lead: z.ZodEnum<{
|
|
1317
|
+
"1d": "1d";
|
|
1318
|
+
"1h": "1h";
|
|
1319
|
+
}>;
|
|
1320
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1321
|
+
}, z.core.$strict>>;
|
|
936
1322
|
spaceCreated: RuntimeEventDefinition<VersionedDomainEvent<{
|
|
937
1323
|
orgId: string;
|
|
938
1324
|
id: string;
|
|
@@ -1372,6 +1758,7 @@ type CourseModulesReordered = EventOf<typeof contentEvents.modulesReordered>;
|
|
|
1372
1758
|
type CourseActivityCreated = EventOf<typeof contentEvents.activityCreated>;
|
|
1373
1759
|
type CourseActivityUpdated = EventOf<typeof contentEvents.activityUpdated>;
|
|
1374
1760
|
type CourseActivityDeleted = EventOf<typeof contentEvents.activityDeleted>;
|
|
1761
|
+
type CourseActivityPublished = EventOf<typeof contentEvents.activityPublished>;
|
|
1375
1762
|
type CourseActivitiesReordered = EventOf<typeof contentEvents.activitiesReordered>;
|
|
1376
1763
|
type DownloadCreated = EventOf<typeof contentEvents.downloadCreated>;
|
|
1377
1764
|
type DownloadUpdated = EventOf<typeof contentEvents.downloadUpdated>;
|
|
@@ -1388,11 +1775,15 @@ type BundleItemRemoved = EventOf<typeof contentEvents.bundleItemRemoved>;
|
|
|
1388
1775
|
type CommunityCreated = EventOf<typeof contentEvents.communityCreated>;
|
|
1389
1776
|
type CommunityUpdated = EventOf<typeof contentEvents.communityUpdated>;
|
|
1390
1777
|
type CommunityDeleted = EventOf<typeof contentEvents.communityDeleted>;
|
|
1778
|
+
type EventCreated = EventOf<typeof contentEvents.eventCreated>;
|
|
1779
|
+
type EventUpdated = EventOf<typeof contentEvents.eventUpdated>;
|
|
1780
|
+
type EventDeleted = EventOf<typeof contentEvents.eventDeleted>;
|
|
1781
|
+
type EventStartingSoon = EventOf<typeof contentEvents.eventStartingSoon>;
|
|
1391
1782
|
type CommunitySpaceCreated = EventOf<typeof contentEvents.spaceCreated>;
|
|
1392
1783
|
type CommunitySpaceUpdated = EventOf<typeof contentEvents.spaceUpdated>;
|
|
1393
1784
|
type CommunitySpaceDeleted = EventOf<typeof contentEvents.spaceDeleted>;
|
|
1394
1785
|
type CommunitySpacesReordered = EventOf<typeof contentEvents.spacesReordered>;
|
|
1395
1786
|
type ContentEvent = EventOfValues<typeof contentEvents>;
|
|
1396
1787
|
//#endregion
|
|
1397
|
-
export { BundleCreated, BundleDeleted, BundleItemAdded, BundleItemRemoved, BundleUpdated, CommunityCreated, CommunityDeleted, CommunitySpaceCreated, CommunitySpaceDeleted, CommunitySpaceUpdated, CommunitySpacesReordered, CommunityUpdated, ContentEvent, CourseActivitiesReordered, CourseActivityCreated, CourseActivityDeleted, CourseActivityUpdated, CourseCreated, CourseDeleted, CourseModuleCreated, CourseModuleDeleted, CourseModuleUpdated, CourseModulesReordered, CourseUpdated, DownloadAssetAdded, DownloadAssetRemoved, DownloadAssetRenamed, DownloadAssetsReordered, DownloadCreated, DownloadDeleted, DownloadUpdated, contentEvents };
|
|
1788
|
+
export { BundleCreated, BundleDeleted, BundleItemAdded, BundleItemRemoved, BundleUpdated, CommunityCreated, CommunityDeleted, CommunitySpaceCreated, CommunitySpaceDeleted, CommunitySpaceUpdated, CommunitySpacesReordered, CommunityUpdated, ContentEvent, CourseActivitiesReordered, CourseActivityCreated, CourseActivityDeleted, CourseActivityPublished, CourseActivityUpdated, CourseCreated, CourseDeleted, CourseModuleCreated, CourseModuleDeleted, CourseModuleUpdated, CourseModulesReordered, CourseUpdated, DownloadAssetAdded, DownloadAssetRemoved, DownloadAssetRenamed, DownloadAssetsReordered, DownloadCreated, DownloadDeleted, DownloadUpdated, EventCreated, EventDeleted, EventStartingSoon, EventUpdated, contentEvents };
|
|
1398
1789
|
//# sourceMappingURL=events.d.ts.map
|