@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
|
@@ -2,6 +2,7 @@ import { JsonValue } from "../shared.js";
|
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
//#region src/types/schemas/content.d.ts
|
|
4
4
|
declare const contentTypeSchema: z.ZodEnum<{
|
|
5
|
+
event: "event";
|
|
5
6
|
course: "course";
|
|
6
7
|
download: "download";
|
|
7
8
|
community: "community";
|
|
@@ -70,6 +71,7 @@ declare const contentItemSchema: z.ZodObject<{
|
|
|
70
71
|
orgId: z.ZodString;
|
|
71
72
|
id: z.ZodString;
|
|
72
73
|
type: z.ZodEnum<{
|
|
74
|
+
event: "event";
|
|
73
75
|
course: "course";
|
|
74
76
|
download: "download";
|
|
75
77
|
community: "community";
|
|
@@ -326,24 +328,48 @@ type CommunityStatus = z.infer<typeof communityStatusSchema>;
|
|
|
326
328
|
declare const dmSettingsSchema: z.ZodObject<{
|
|
327
329
|
enabled: z.ZodBoolean;
|
|
328
330
|
memberToMember: z.ZodBoolean;
|
|
329
|
-
|
|
330
|
-
|
|
331
|
+
memberToTeam: z.ZodBoolean;
|
|
332
|
+
teamToAnyone: z.ZodBoolean;
|
|
331
333
|
firstMessageIsRequest: z.ZodBoolean;
|
|
332
334
|
groupChats: z.ZodBoolean;
|
|
333
335
|
groupSize: z.ZodNumber;
|
|
334
336
|
}, z.core.$strict>;
|
|
335
337
|
type DmSettings = z.infer<typeof dmSettingsSchema>;
|
|
336
338
|
declare const dmSettingsDefaults: DmSettings;
|
|
339
|
+
declare const digestCadenceSchema: z.ZodEnum<{
|
|
340
|
+
daily: "daily";
|
|
341
|
+
weekly: "weekly";
|
|
342
|
+
}>;
|
|
343
|
+
type DigestCadence = z.infer<typeof digestCadenceSchema>;
|
|
344
|
+
declare const digestScheduleSchema: z.ZodObject<{
|
|
345
|
+
cadence: z.ZodEnum<{
|
|
346
|
+
daily: "daily";
|
|
347
|
+
weekly: "weekly";
|
|
348
|
+
}>;
|
|
349
|
+
weekday: z.ZodNumber;
|
|
350
|
+
hour: z.ZodNumber;
|
|
351
|
+
timeZone: z.ZodString;
|
|
352
|
+
}, z.core.$strict>;
|
|
353
|
+
type DigestSchedule = z.infer<typeof digestScheduleSchema>;
|
|
337
354
|
declare const communitySettingsSchema: z.ZodObject<{
|
|
338
355
|
dm: z.ZodObject<{
|
|
339
356
|
enabled: z.ZodBoolean;
|
|
340
357
|
memberToMember: z.ZodBoolean;
|
|
341
|
-
|
|
342
|
-
|
|
358
|
+
memberToTeam: z.ZodBoolean;
|
|
359
|
+
teamToAnyone: z.ZodBoolean;
|
|
343
360
|
firstMessageIsRequest: z.ZodBoolean;
|
|
344
361
|
groupChats: z.ZodBoolean;
|
|
345
362
|
groupSize: z.ZodNumber;
|
|
346
363
|
}, z.core.$strict>;
|
|
364
|
+
digest: z.ZodNullable<z.ZodObject<{
|
|
365
|
+
cadence: z.ZodEnum<{
|
|
366
|
+
daily: "daily";
|
|
367
|
+
weekly: "weekly";
|
|
368
|
+
}>;
|
|
369
|
+
weekday: z.ZodNumber;
|
|
370
|
+
hour: z.ZodNumber;
|
|
371
|
+
timeZone: z.ZodString;
|
|
372
|
+
}, z.core.$strict>>;
|
|
347
373
|
}, z.core.$strict>;
|
|
348
374
|
type CommunitySettings = z.infer<typeof communitySettingsSchema>;
|
|
349
375
|
declare const communitySettingsDefaults: CommunitySettings;
|
|
@@ -363,12 +389,21 @@ declare const communitySchema: z.ZodObject<{
|
|
|
363
389
|
dm: z.ZodObject<{
|
|
364
390
|
enabled: z.ZodBoolean;
|
|
365
391
|
memberToMember: z.ZodBoolean;
|
|
366
|
-
|
|
367
|
-
|
|
392
|
+
memberToTeam: z.ZodBoolean;
|
|
393
|
+
teamToAnyone: z.ZodBoolean;
|
|
368
394
|
firstMessageIsRequest: z.ZodBoolean;
|
|
369
395
|
groupChats: z.ZodBoolean;
|
|
370
396
|
groupSize: z.ZodNumber;
|
|
371
397
|
}, z.core.$strict>;
|
|
398
|
+
digest: z.ZodNullable<z.ZodObject<{
|
|
399
|
+
cadence: z.ZodEnum<{
|
|
400
|
+
daily: "daily";
|
|
401
|
+
weekly: "weekly";
|
|
402
|
+
}>;
|
|
403
|
+
weekday: z.ZodNumber;
|
|
404
|
+
hour: z.ZodNumber;
|
|
405
|
+
timeZone: z.ZodString;
|
|
406
|
+
}, z.core.$strict>>;
|
|
372
407
|
}, z.core.$strict>;
|
|
373
408
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
374
409
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -390,12 +425,21 @@ declare const communityViewSchema: z.ZodObject<{
|
|
|
390
425
|
dm: z.ZodObject<{
|
|
391
426
|
enabled: z.ZodBoolean;
|
|
392
427
|
memberToMember: z.ZodBoolean;
|
|
393
|
-
|
|
394
|
-
|
|
428
|
+
memberToTeam: z.ZodBoolean;
|
|
429
|
+
teamToAnyone: z.ZodBoolean;
|
|
395
430
|
firstMessageIsRequest: z.ZodBoolean;
|
|
396
431
|
groupChats: z.ZodBoolean;
|
|
397
432
|
groupSize: z.ZodNumber;
|
|
398
433
|
}, z.core.$strict>;
|
|
434
|
+
digest: z.ZodNullable<z.ZodObject<{
|
|
435
|
+
cadence: z.ZodEnum<{
|
|
436
|
+
daily: "daily";
|
|
437
|
+
weekly: "weekly";
|
|
438
|
+
}>;
|
|
439
|
+
weekday: z.ZodNumber;
|
|
440
|
+
hour: z.ZodNumber;
|
|
441
|
+
timeZone: z.ZodString;
|
|
442
|
+
}, z.core.$strict>>;
|
|
399
443
|
}, z.core.$strict>;
|
|
400
444
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
401
445
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -526,13 +570,32 @@ type UpdateCommunityInput = z.infer<typeof updateCommunityInputSchema>;
|
|
|
526
570
|
declare const patchDmSettingsInputSchema: z.ZodObject<{
|
|
527
571
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
528
572
|
memberToMember: z.ZodOptional<z.ZodBoolean>;
|
|
529
|
-
|
|
530
|
-
|
|
573
|
+
memberToTeam: z.ZodOptional<z.ZodBoolean>;
|
|
574
|
+
teamToAnyone: z.ZodOptional<z.ZodBoolean>;
|
|
531
575
|
firstMessageIsRequest: z.ZodOptional<z.ZodBoolean>;
|
|
532
576
|
groupChats: z.ZodOptional<z.ZodBoolean>;
|
|
533
577
|
groupSize: z.ZodOptional<z.ZodNumber>;
|
|
534
578
|
}, z.core.$strict>;
|
|
535
579
|
type PatchDmSettingsInput = z.infer<typeof patchDmSettingsInputSchema>;
|
|
580
|
+
declare const patchCommunitySettingsInputSchema: z.ZodObject<{
|
|
581
|
+
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
582
|
+
memberToMember: z.ZodOptional<z.ZodBoolean>;
|
|
583
|
+
memberToTeam: z.ZodOptional<z.ZodBoolean>;
|
|
584
|
+
teamToAnyone: z.ZodOptional<z.ZodBoolean>;
|
|
585
|
+
firstMessageIsRequest: z.ZodOptional<z.ZodBoolean>;
|
|
586
|
+
groupChats: z.ZodOptional<z.ZodBoolean>;
|
|
587
|
+
groupSize: z.ZodOptional<z.ZodNumber>;
|
|
588
|
+
digest: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
589
|
+
cadence: z.ZodEnum<{
|
|
590
|
+
daily: "daily";
|
|
591
|
+
weekly: "weekly";
|
|
592
|
+
}>;
|
|
593
|
+
weekday: z.ZodNumber;
|
|
594
|
+
hour: z.ZodNumber;
|
|
595
|
+
timeZone: z.ZodString;
|
|
596
|
+
}, z.core.$strict>>>;
|
|
597
|
+
}, z.core.$strict>;
|
|
598
|
+
type PatchCommunitySettingsInput = z.infer<typeof patchCommunitySettingsInputSchema>;
|
|
536
599
|
declare const createSpaceInputSchema: z.ZodObject<{
|
|
537
600
|
name: z.ZodString;
|
|
538
601
|
description: z.ZodOptional<z.ZodString>;
|
|
@@ -576,6 +639,528 @@ declare const addSpaceLinkInputSchema: z.ZodObject<{
|
|
|
576
639
|
contentId: z.ZodString;
|
|
577
640
|
}, z.core.$strict>;
|
|
578
641
|
type AddSpaceLinkInput = z.infer<typeof addSpaceLinkInputSchema>;
|
|
642
|
+
declare const timeZoneSchema: z.ZodString;
|
|
643
|
+
declare const eventStatusSchema: z.ZodEnum<{
|
|
644
|
+
draft: "draft";
|
|
645
|
+
published: "published";
|
|
646
|
+
canceled: "canceled";
|
|
647
|
+
}>;
|
|
648
|
+
type EventStatus = z.infer<typeof eventStatusSchema>;
|
|
649
|
+
declare const eventTypeSchema: z.ZodEnum<{
|
|
650
|
+
public: "public";
|
|
651
|
+
private: "private";
|
|
652
|
+
}>;
|
|
653
|
+
type EventType = z.infer<typeof eventTypeSchema>;
|
|
654
|
+
declare const eventAddressSchema: z.ZodObject<{
|
|
655
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
656
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
657
|
+
city: z.ZodNullable<z.ZodString>;
|
|
658
|
+
region: z.ZodNullable<z.ZodString>;
|
|
659
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
660
|
+
country: z.ZodNullable<z.ZodString>;
|
|
661
|
+
}, z.core.$strict>;
|
|
662
|
+
type EventAddress = z.infer<typeof eventAddressSchema>;
|
|
663
|
+
declare const eventVenueSchema: z.ZodObject<{
|
|
664
|
+
name: z.ZodString;
|
|
665
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
666
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
667
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
668
|
+
city: z.ZodNullable<z.ZodString>;
|
|
669
|
+
region: z.ZodNullable<z.ZodString>;
|
|
670
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
671
|
+
country: z.ZodNullable<z.ZodString>;
|
|
672
|
+
}, z.core.$strict>>;
|
|
673
|
+
}, z.core.$strict>;
|
|
674
|
+
type EventVenue = z.infer<typeof eventVenueSchema>;
|
|
675
|
+
declare const eventOnlineSchema: z.ZodObject<{
|
|
676
|
+
url: z.ZodURL;
|
|
677
|
+
details: z.ZodNullable<z.ZodString>;
|
|
678
|
+
}, z.core.$strict>;
|
|
679
|
+
type EventOnline = z.infer<typeof eventOnlineSchema>;
|
|
680
|
+
declare const eventLocationSchema: z.ZodObject<{
|
|
681
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
682
|
+
name: z.ZodString;
|
|
683
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
684
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
685
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
686
|
+
city: z.ZodNullable<z.ZodString>;
|
|
687
|
+
region: z.ZodNullable<z.ZodString>;
|
|
688
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
689
|
+
country: z.ZodNullable<z.ZodString>;
|
|
690
|
+
}, z.core.$strict>>;
|
|
691
|
+
}, z.core.$strict>>;
|
|
692
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
693
|
+
url: z.ZodURL;
|
|
694
|
+
details: z.ZodNullable<z.ZodString>;
|
|
695
|
+
}, z.core.$strict>>;
|
|
696
|
+
}, z.core.$strict>;
|
|
697
|
+
type EventLocation = z.infer<typeof eventLocationSchema>;
|
|
698
|
+
declare const eventLocationDefaults: EventLocation;
|
|
699
|
+
declare const eventRecordingSchema: z.ZodObject<{
|
|
700
|
+
url: z.ZodURL;
|
|
701
|
+
details: z.ZodNullable<z.ZodString>;
|
|
702
|
+
}, z.core.$strict>;
|
|
703
|
+
type EventRecording = z.infer<typeof eventRecordingSchema>;
|
|
704
|
+
declare const eventSettingsSchema: z.ZodObject<{
|
|
705
|
+
type: z.ZodEnum<{
|
|
706
|
+
public: "public";
|
|
707
|
+
private: "private";
|
|
708
|
+
}>;
|
|
709
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
710
|
+
notifications: z.ZodBoolean;
|
|
711
|
+
replay: z.ZodBoolean;
|
|
712
|
+
}, z.core.$strict>;
|
|
713
|
+
type EventSettings = z.infer<typeof eventSettingsSchema>;
|
|
714
|
+
declare const eventSettingsDefaults: EventSettings;
|
|
715
|
+
declare const eventSchema: z.ZodObject<{
|
|
716
|
+
orgId: z.ZodString;
|
|
717
|
+
id: z.ZodString;
|
|
718
|
+
type: z.ZodLiteral<"event">;
|
|
719
|
+
title: z.ZodString;
|
|
720
|
+
description: z.ZodString;
|
|
721
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
722
|
+
status: z.ZodEnum<{
|
|
723
|
+
draft: "draft";
|
|
724
|
+
published: "published";
|
|
725
|
+
canceled: "canceled";
|
|
726
|
+
}>;
|
|
727
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
728
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
729
|
+
timeZone: z.ZodString;
|
|
730
|
+
location: z.ZodObject<{
|
|
731
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
732
|
+
name: z.ZodString;
|
|
733
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
734
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
735
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
736
|
+
city: z.ZodNullable<z.ZodString>;
|
|
737
|
+
region: z.ZodNullable<z.ZodString>;
|
|
738
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
739
|
+
country: z.ZodNullable<z.ZodString>;
|
|
740
|
+
}, z.core.$strict>>;
|
|
741
|
+
}, z.core.$strict>>;
|
|
742
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
743
|
+
url: z.ZodURL;
|
|
744
|
+
details: z.ZodNullable<z.ZodString>;
|
|
745
|
+
}, z.core.$strict>>;
|
|
746
|
+
}, z.core.$strict>;
|
|
747
|
+
recording: z.ZodNullable<z.ZodObject<{
|
|
748
|
+
url: z.ZodURL;
|
|
749
|
+
details: z.ZodNullable<z.ZodString>;
|
|
750
|
+
}, z.core.$strict>>;
|
|
751
|
+
settings: z.ZodObject<{
|
|
752
|
+
type: z.ZodEnum<{
|
|
753
|
+
public: "public";
|
|
754
|
+
private: "private";
|
|
755
|
+
}>;
|
|
756
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
757
|
+
notifications: z.ZodBoolean;
|
|
758
|
+
replay: z.ZodBoolean;
|
|
759
|
+
}, z.core.$strict>;
|
|
760
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
761
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
762
|
+
}, z.core.$strict>;
|
|
763
|
+
type Event = z.output<typeof eventSchema>;
|
|
764
|
+
declare const eventViewSchema: z.ZodObject<{
|
|
765
|
+
orgId: z.ZodString;
|
|
766
|
+
id: z.ZodString;
|
|
767
|
+
type: z.ZodLiteral<"event">;
|
|
768
|
+
title: z.ZodString;
|
|
769
|
+
description: z.ZodString;
|
|
770
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
771
|
+
status: z.ZodEnum<{
|
|
772
|
+
draft: "draft";
|
|
773
|
+
published: "published";
|
|
774
|
+
canceled: "canceled";
|
|
775
|
+
}>;
|
|
776
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
777
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
778
|
+
timeZone: z.ZodString;
|
|
779
|
+
location: z.ZodObject<{
|
|
780
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
781
|
+
name: z.ZodString;
|
|
782
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
783
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
784
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
785
|
+
city: z.ZodNullable<z.ZodString>;
|
|
786
|
+
region: z.ZodNullable<z.ZodString>;
|
|
787
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
788
|
+
country: z.ZodNullable<z.ZodString>;
|
|
789
|
+
}, z.core.$strict>>;
|
|
790
|
+
}, z.core.$strict>>;
|
|
791
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
792
|
+
url: z.ZodURL;
|
|
793
|
+
details: z.ZodNullable<z.ZodString>;
|
|
794
|
+
}, z.core.$strict>>;
|
|
795
|
+
}, z.core.$strict>;
|
|
796
|
+
recording: z.ZodNullable<z.ZodObject<{
|
|
797
|
+
url: z.ZodURL;
|
|
798
|
+
details: z.ZodNullable<z.ZodString>;
|
|
799
|
+
}, z.core.$strict>>;
|
|
800
|
+
settings: z.ZodObject<{
|
|
801
|
+
type: z.ZodEnum<{
|
|
802
|
+
public: "public";
|
|
803
|
+
private: "private";
|
|
804
|
+
}>;
|
|
805
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
806
|
+
notifications: z.ZodBoolean;
|
|
807
|
+
replay: z.ZodBoolean;
|
|
808
|
+
}, z.core.$strict>;
|
|
809
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
810
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
811
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
812
|
+
}, z.core.$strict>;
|
|
813
|
+
type EventView = z.output<typeof eventViewSchema>;
|
|
814
|
+
declare const eventAssetSchema: z.ZodObject<{
|
|
815
|
+
orgId: z.ZodString;
|
|
816
|
+
id: z.ZodString;
|
|
817
|
+
eventId: z.ZodString;
|
|
818
|
+
assetId: z.ZodString;
|
|
819
|
+
seq: z.ZodNumber;
|
|
820
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
821
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
822
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
823
|
+
}, z.core.$strict>;
|
|
824
|
+
type EventAsset = z.output<typeof eventAssetSchema>;
|
|
825
|
+
declare const eventFileSchema: z.ZodObject<{
|
|
826
|
+
orgId: z.ZodString;
|
|
827
|
+
id: z.ZodString;
|
|
828
|
+
eventId: z.ZodString;
|
|
829
|
+
assetId: z.ZodString;
|
|
830
|
+
seq: z.ZodNumber;
|
|
831
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
832
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
833
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
834
|
+
filename: z.ZodString;
|
|
835
|
+
contentType: z.ZodString;
|
|
836
|
+
size: z.ZodNumber;
|
|
837
|
+
url: z.ZodString;
|
|
838
|
+
}, z.core.$strict>;
|
|
839
|
+
type EventFile = z.output<typeof eventFileSchema>;
|
|
840
|
+
declare const eventSortSchema: z.ZodEnum<{
|
|
841
|
+
title: "title";
|
|
842
|
+
startsAt: "startsAt";
|
|
843
|
+
"-startsAt": "-startsAt";
|
|
844
|
+
"-title": "-title";
|
|
845
|
+
}>;
|
|
846
|
+
type EventSort = z.infer<typeof eventSortSchema>;
|
|
847
|
+
declare const listEventsQuerySchema: z.ZodObject<{
|
|
848
|
+
page: z.ZodNumber;
|
|
849
|
+
pageSize: z.ZodNumber;
|
|
850
|
+
search: z.ZodOptional<z.ZodString>;
|
|
851
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
852
|
+
title: "title";
|
|
853
|
+
startsAt: "startsAt";
|
|
854
|
+
"-startsAt": "-startsAt";
|
|
855
|
+
"-title": "-title";
|
|
856
|
+
}>>;
|
|
857
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
858
|
+
draft: "draft";
|
|
859
|
+
published: "published";
|
|
860
|
+
canceled: "canceled";
|
|
861
|
+
}>>;
|
|
862
|
+
from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
863
|
+
to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
864
|
+
}, z.core.$strict>;
|
|
865
|
+
type ListEventsQuery = z.infer<typeof listEventsQuerySchema>;
|
|
866
|
+
declare const createEventInputSchema: z.ZodObject<{
|
|
867
|
+
title: z.ZodString;
|
|
868
|
+
description: z.ZodOptional<z.ZodString>;
|
|
869
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
870
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
871
|
+
timeZone: z.ZodString;
|
|
872
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
873
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
874
|
+
name: z.ZodString;
|
|
875
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
876
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
877
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
878
|
+
city: z.ZodNullable<z.ZodString>;
|
|
879
|
+
region: z.ZodNullable<z.ZodString>;
|
|
880
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
881
|
+
country: z.ZodNullable<z.ZodString>;
|
|
882
|
+
}, z.core.$strict>>;
|
|
883
|
+
}, z.core.$strict>>;
|
|
884
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
885
|
+
url: z.ZodURL;
|
|
886
|
+
details: z.ZodNullable<z.ZodString>;
|
|
887
|
+
}, z.core.$strict>>;
|
|
888
|
+
}, z.core.$strict>>;
|
|
889
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
890
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
891
|
+
public: "public";
|
|
892
|
+
private: "private";
|
|
893
|
+
}>>;
|
|
894
|
+
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
895
|
+
notifications: z.ZodOptional<z.ZodBoolean>;
|
|
896
|
+
replay: z.ZodOptional<z.ZodBoolean>;
|
|
897
|
+
}, z.core.$strict>>;
|
|
898
|
+
}, z.core.$strict>;
|
|
899
|
+
type CreateEventInput = z.infer<typeof createEventInputSchema>;
|
|
900
|
+
declare const updateEventInputSchema: z.ZodObject<{
|
|
901
|
+
title: z.ZodOptional<z.ZodString>;
|
|
902
|
+
description: z.ZodOptional<z.ZodString>;
|
|
903
|
+
startsAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
904
|
+
endsAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
905
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
906
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
907
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
908
|
+
name: z.ZodString;
|
|
909
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
910
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
911
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
912
|
+
city: z.ZodNullable<z.ZodString>;
|
|
913
|
+
region: z.ZodNullable<z.ZodString>;
|
|
914
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
915
|
+
country: z.ZodNullable<z.ZodString>;
|
|
916
|
+
}, z.core.$strict>>;
|
|
917
|
+
}, z.core.$strict>>;
|
|
918
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
919
|
+
url: z.ZodURL;
|
|
920
|
+
details: z.ZodNullable<z.ZodString>;
|
|
921
|
+
}, z.core.$strict>>;
|
|
922
|
+
}, z.core.$strict>>;
|
|
923
|
+
thumbnailAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
924
|
+
recording: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
925
|
+
url: z.ZodURL;
|
|
926
|
+
details: z.ZodNullable<z.ZodString>;
|
|
927
|
+
}, z.core.$strict>>>;
|
|
928
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
929
|
+
draft: "draft";
|
|
930
|
+
published: "published";
|
|
931
|
+
}>>;
|
|
932
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
933
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
934
|
+
public: "public";
|
|
935
|
+
private: "private";
|
|
936
|
+
}>>;
|
|
937
|
+
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
938
|
+
notifications: z.ZodOptional<z.ZodBoolean>;
|
|
939
|
+
replay: z.ZodOptional<z.ZodBoolean>;
|
|
940
|
+
}, z.core.$strict>>;
|
|
941
|
+
}, z.core.$strict>;
|
|
942
|
+
type UpdateEventInput = z.infer<typeof updateEventInputSchema>;
|
|
943
|
+
declare const addEventAssetInputSchema: z.ZodObject<{
|
|
944
|
+
assetId: z.ZodString;
|
|
945
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
946
|
+
}, z.core.$strict>;
|
|
947
|
+
type AddEventAssetInput = z.infer<typeof addEventAssetInputSchema>;
|
|
948
|
+
declare const reorderEventAssetsInputSchema: z.ZodObject<{
|
|
949
|
+
assetIds: z.ZodArray<z.ZodString>;
|
|
950
|
+
}, z.core.$strict>;
|
|
951
|
+
type ReorderEventAssetsInput = z.infer<typeof reorderEventAssetsInputSchema>;
|
|
952
|
+
declare const eventLeadSchema: z.ZodEnum<{
|
|
953
|
+
"1d": "1d";
|
|
954
|
+
"1h": "1h";
|
|
955
|
+
}>;
|
|
956
|
+
type EventLead = z.infer<typeof eventLeadSchema>;
|
|
957
|
+
declare const eventAttendeeSourceSchema: z.ZodEnum<{
|
|
958
|
+
manual: "manual";
|
|
959
|
+
self: "self";
|
|
960
|
+
automation: "automation";
|
|
961
|
+
bundle: "bundle";
|
|
962
|
+
}>;
|
|
963
|
+
type EventAttendeeSource = z.infer<typeof eventAttendeeSourceSchema>;
|
|
964
|
+
declare const eventAttendeeSchema: z.ZodObject<{
|
|
965
|
+
orgUserId: z.ZodString;
|
|
966
|
+
name: z.ZodString;
|
|
967
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
968
|
+
source: z.ZodEnum<{
|
|
969
|
+
manual: "manual";
|
|
970
|
+
self: "self";
|
|
971
|
+
automation: "automation";
|
|
972
|
+
bundle: "bundle";
|
|
973
|
+
}>;
|
|
974
|
+
grantedAt: z.ZodCoercedDate<unknown>;
|
|
975
|
+
}, z.core.$strict>;
|
|
976
|
+
type EventAttendee = z.output<typeof eventAttendeeSchema>;
|
|
977
|
+
declare const eventAttendeeFaceSchema: z.ZodObject<{
|
|
978
|
+
name: z.ZodString;
|
|
979
|
+
orgUserId: z.ZodString;
|
|
980
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
981
|
+
}, z.core.$strict>;
|
|
982
|
+
type EventAttendeeFace = z.output<typeof eventAttendeeFaceSchema>;
|
|
983
|
+
declare const memberEventViewerSchema: z.ZodObject<{
|
|
984
|
+
attending: z.ZodBoolean;
|
|
985
|
+
canRegister: z.ZodBoolean;
|
|
986
|
+
canOpen: z.ZodBoolean;
|
|
987
|
+
canLeave: z.ZodBoolean;
|
|
988
|
+
canManageAttendees: z.ZodBoolean;
|
|
989
|
+
canAddAttendees: z.ZodBoolean;
|
|
990
|
+
canEdit: z.ZodBoolean;
|
|
991
|
+
canCancel: z.ZodBoolean;
|
|
992
|
+
canDelete: z.ZodBoolean;
|
|
993
|
+
}, z.core.$strict>;
|
|
994
|
+
type MemberEventViewer = z.output<typeof memberEventViewerSchema>;
|
|
995
|
+
declare const memberEventSchema: z.ZodObject<{
|
|
996
|
+
orgId: z.ZodString;
|
|
997
|
+
id: z.ZodString;
|
|
998
|
+
description: z.ZodString;
|
|
999
|
+
type: z.ZodLiteral<"event">;
|
|
1000
|
+
status: z.ZodEnum<{
|
|
1001
|
+
draft: "draft";
|
|
1002
|
+
published: "published";
|
|
1003
|
+
canceled: "canceled";
|
|
1004
|
+
}>;
|
|
1005
|
+
title: z.ZodString;
|
|
1006
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1007
|
+
timeZone: z.ZodString;
|
|
1008
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1009
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
1010
|
+
recording: z.ZodNullable<z.ZodObject<{
|
|
1011
|
+
url: z.ZodURL;
|
|
1012
|
+
details: z.ZodNullable<z.ZodString>;
|
|
1013
|
+
}, z.core.$strict>>;
|
|
1014
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
1015
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
1016
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
1017
|
+
name: z.ZodString;
|
|
1018
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
1019
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
1020
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
1021
|
+
city: z.ZodNullable<z.ZodString>;
|
|
1022
|
+
region: z.ZodNullable<z.ZodString>;
|
|
1023
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
1024
|
+
country: z.ZodNullable<z.ZodString>;
|
|
1025
|
+
}, z.core.$strict>>;
|
|
1026
|
+
}, z.core.$strict>>;
|
|
1027
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
1028
|
+
url: z.ZodURL;
|
|
1029
|
+
details: z.ZodNullable<z.ZodString>;
|
|
1030
|
+
}, z.core.$strict>>;
|
|
1031
|
+
}, z.core.$strict>>;
|
|
1032
|
+
settings: z.ZodObject<{
|
|
1033
|
+
type: z.ZodEnum<{
|
|
1034
|
+
public: "public";
|
|
1035
|
+
private: "private";
|
|
1036
|
+
}>;
|
|
1037
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1038
|
+
replay: z.ZodBoolean;
|
|
1039
|
+
}, z.core.$strict>;
|
|
1040
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1041
|
+
orgId: z.ZodString;
|
|
1042
|
+
id: z.ZodString;
|
|
1043
|
+
eventId: z.ZodString;
|
|
1044
|
+
assetId: z.ZodString;
|
|
1045
|
+
seq: z.ZodNumber;
|
|
1046
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
1047
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
1048
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
1049
|
+
filename: z.ZodString;
|
|
1050
|
+
contentType: z.ZodString;
|
|
1051
|
+
size: z.ZodNumber;
|
|
1052
|
+
url: z.ZodString;
|
|
1053
|
+
}, z.core.$strict>>;
|
|
1054
|
+
attendeeCount: z.ZodNumber;
|
|
1055
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
1056
|
+
name: z.ZodString;
|
|
1057
|
+
orgUserId: z.ZodString;
|
|
1058
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
1059
|
+
}, z.core.$strict>>;
|
|
1060
|
+
placesLeft: z.ZodNullable<z.ZodNumber>;
|
|
1061
|
+
viewer: z.ZodObject<{
|
|
1062
|
+
attending: z.ZodBoolean;
|
|
1063
|
+
canRegister: z.ZodBoolean;
|
|
1064
|
+
canOpen: z.ZodBoolean;
|
|
1065
|
+
canLeave: z.ZodBoolean;
|
|
1066
|
+
canManageAttendees: z.ZodBoolean;
|
|
1067
|
+
canAddAttendees: z.ZodBoolean;
|
|
1068
|
+
canEdit: z.ZodBoolean;
|
|
1069
|
+
canCancel: z.ZodBoolean;
|
|
1070
|
+
canDelete: z.ZodBoolean;
|
|
1071
|
+
}, z.core.$strict>;
|
|
1072
|
+
}, z.core.$strict>;
|
|
1073
|
+
type MemberEvent = z.output<typeof memberEventSchema>;
|
|
1074
|
+
declare const memberEventSummarySchema: z.ZodObject<{
|
|
1075
|
+
orgId: z.ZodString;
|
|
1076
|
+
id: z.ZodString;
|
|
1077
|
+
type: z.ZodLiteral<"event">;
|
|
1078
|
+
status: z.ZodEnum<{
|
|
1079
|
+
draft: "draft";
|
|
1080
|
+
published: "published";
|
|
1081
|
+
canceled: "canceled";
|
|
1082
|
+
}>;
|
|
1083
|
+
title: z.ZodString;
|
|
1084
|
+
settings: z.ZodObject<{
|
|
1085
|
+
type: z.ZodEnum<{
|
|
1086
|
+
public: "public";
|
|
1087
|
+
private: "private";
|
|
1088
|
+
}>;
|
|
1089
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1090
|
+
replay: z.ZodBoolean;
|
|
1091
|
+
}, z.core.$strict>;
|
|
1092
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1093
|
+
timeZone: z.ZodString;
|
|
1094
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
1095
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
1096
|
+
name: z.ZodString;
|
|
1097
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
1098
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
1099
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
1100
|
+
city: z.ZodNullable<z.ZodString>;
|
|
1101
|
+
region: z.ZodNullable<z.ZodString>;
|
|
1102
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
1103
|
+
country: z.ZodNullable<z.ZodString>;
|
|
1104
|
+
}, z.core.$strict>>;
|
|
1105
|
+
}, z.core.$strict>>;
|
|
1106
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
1107
|
+
url: z.ZodURL;
|
|
1108
|
+
details: z.ZodNullable<z.ZodString>;
|
|
1109
|
+
}, z.core.$strict>>;
|
|
1110
|
+
}, z.core.$strict>>;
|
|
1111
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1112
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
1113
|
+
recording: z.ZodNullable<z.ZodObject<{
|
|
1114
|
+
url: z.ZodURL;
|
|
1115
|
+
details: z.ZodNullable<z.ZodString>;
|
|
1116
|
+
}, z.core.$strict>>;
|
|
1117
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
1118
|
+
attendeeCount: z.ZodNumber;
|
|
1119
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
1120
|
+
name: z.ZodString;
|
|
1121
|
+
orgUserId: z.ZodString;
|
|
1122
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
1123
|
+
}, z.core.$strict>>;
|
|
1124
|
+
placesLeft: z.ZodNullable<z.ZodNumber>;
|
|
1125
|
+
viewer: z.ZodObject<{
|
|
1126
|
+
attending: z.ZodBoolean;
|
|
1127
|
+
canRegister: z.ZodBoolean;
|
|
1128
|
+
canOpen: z.ZodBoolean;
|
|
1129
|
+
canLeave: z.ZodBoolean;
|
|
1130
|
+
canManageAttendees: z.ZodBoolean;
|
|
1131
|
+
canAddAttendees: z.ZodBoolean;
|
|
1132
|
+
canEdit: z.ZodBoolean;
|
|
1133
|
+
canCancel: z.ZodBoolean;
|
|
1134
|
+
canDelete: z.ZodBoolean;
|
|
1135
|
+
}, z.core.$strict>;
|
|
1136
|
+
}, z.core.$strict>;
|
|
1137
|
+
type MemberEventSummary = z.output<typeof memberEventSummarySchema>;
|
|
1138
|
+
declare const memberEventsQuerySchema: z.ZodObject<{
|
|
1139
|
+
page: z.ZodNumber;
|
|
1140
|
+
pageSize: z.ZodNumber;
|
|
1141
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
1142
|
+
upcoming: "upcoming";
|
|
1143
|
+
past: "past";
|
|
1144
|
+
}>>;
|
|
1145
|
+
attending: z.ZodOptional<z.ZodBoolean>;
|
|
1146
|
+
}, z.core.$strict>;
|
|
1147
|
+
type MemberEventsQuery = z.infer<typeof memberEventsQuerySchema>;
|
|
1148
|
+
declare const eventAnalyticsSchema: z.ZodObject<{
|
|
1149
|
+
attendees: z.ZodNumber;
|
|
1150
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1151
|
+
bySource: z.ZodObject<{
|
|
1152
|
+
self: z.ZodNumber;
|
|
1153
|
+
manual: z.ZodNumber;
|
|
1154
|
+
automation: z.ZodNumber;
|
|
1155
|
+
bundle: z.ZodNumber;
|
|
1156
|
+
}, z.core.$strict>;
|
|
1157
|
+
revoked: z.ZodNumber;
|
|
1158
|
+
grantsOverTime: z.ZodArray<z.ZodObject<{
|
|
1159
|
+
date: z.ZodString;
|
|
1160
|
+
count: z.ZodNumber;
|
|
1161
|
+
}, z.core.$strict>>;
|
|
1162
|
+
}, z.core.$strict>;
|
|
1163
|
+
type EventAnalytics = z.output<typeof eventAnalyticsSchema>;
|
|
579
1164
|
//#endregion
|
|
580
|
-
export { Activity, ActivityAsset, ActivityAssetInput, ActivityInput, ActivitySettings, ActivityView, AddDownloadAssetInput, AddSpaceLinkInput, Bundle, BundleInput, BundleItem, BundleItemInput, Community, CommunitySettings, CommunityStatus, CommunityView, ContentItem, ContentItemInput, ContentType, Course, CourseSettings, CourseStatus, CourseView, CreateBundleInput, CreateCommunityInput, CreateCourseInput, CreateDownloadInput, CreateSpaceInput, DmSettings, Download, DownloadAsset, DownloadAssetInput, DownloadFile, DownloadInput, DownloadStatus, DownloadView, ListBundlesQuery, ListCommunitiesQuery, ListCoursesQuery, ListDownloadsQuery, Module, ModuleInput, PatchDmSettingsInput, ReorderDownloadAssetsInput, SaveActivityInput, SetSpaceTopicsInput, Space, SpaceAccessRule, SpaceDetail, SpaceLink, SpaceSettings, SpaceTopic, UpdateBundleInput, UpdateCommunityInput, UpdateCourseInput, UpdateDownloadInput, UpdateSpaceInput, activityAssetSchema, activitySchema, activitySettingsSchema, activityViewSchema, addDownloadAssetInputSchema, addSpaceLinkInputSchema, bundleItemSchema, bundleSchema, communitySchema, communitySettingsDefaults, communitySettingsSchema, communityStatusSchema, communityViewSchema, contentItemSchema, contentTypeSchema, courseSchema, courseSettingsDefaults, courseSettingsSchema, courseStatusSchema, courseViewSchema, createBundleInputSchema, createCommunityInputSchema, createCourseInputSchema, createDownloadInputSchema, createSpaceInputSchema, dmSettingsDefaults, dmSettingsSchema, downloadAssetSchema, downloadFileSchema, downloadSchema, downloadStatusSchema, downloadViewSchema, listBundlesQuerySchema, listCommunitiesQuerySchema, listCoursesQuerySchema, listDownloadsQuerySchema, moduleSchema, patchDmSettingsInputSchema, reorderDownloadAssetsInputSchema, saveActivityInputSchema, setSpaceTopicsInputSchema, spaceAccessRuleSchema, spaceDetailSchema, spaceLinkSchema, spaceSchema, spaceSettingsDefaults, spaceSettingsSchema, spaceTopicSchema, updateBundleInputSchema, updateCommunityInputSchema, updateCourseInputSchema, updateDownloadInputSchema, updateSpaceInputSchema };
|
|
1165
|
+
export { Activity, ActivityAsset, ActivityAssetInput, ActivityInput, ActivitySettings, ActivityView, AddDownloadAssetInput, AddEventAssetInput, AddSpaceLinkInput, Bundle, BundleInput, BundleItem, BundleItemInput, Community, CommunitySettings, CommunityStatus, CommunityView, ContentItem, ContentItemInput, ContentType, Course, CourseSettings, CourseStatus, CourseView, CreateBundleInput, CreateCommunityInput, CreateCourseInput, CreateDownloadInput, CreateEventInput, CreateSpaceInput, DigestCadence, DigestSchedule, DmSettings, Download, DownloadAsset, DownloadAssetInput, DownloadFile, DownloadInput, DownloadStatus, DownloadView, Event, EventAddress, EventAnalytics, EventAsset, EventAttendee, EventAttendeeFace, EventAttendeeSource, EventFile, EventLead, EventLocation, EventOnline, EventRecording, EventSettings, EventSort, EventStatus, EventType, EventVenue, EventView, ListBundlesQuery, ListCommunitiesQuery, ListCoursesQuery, ListDownloadsQuery, ListEventsQuery, MemberEvent, MemberEventSummary, MemberEventViewer, MemberEventsQuery, Module, ModuleInput, PatchCommunitySettingsInput, PatchDmSettingsInput, ReorderDownloadAssetsInput, ReorderEventAssetsInput, SaveActivityInput, SetSpaceTopicsInput, Space, SpaceAccessRule, SpaceDetail, SpaceLink, SpaceSettings, SpaceTopic, UpdateBundleInput, UpdateCommunityInput, UpdateCourseInput, UpdateDownloadInput, UpdateEventInput, UpdateSpaceInput, activityAssetSchema, activitySchema, activitySettingsSchema, activityViewSchema, addDownloadAssetInputSchema, addEventAssetInputSchema, addSpaceLinkInputSchema, bundleItemSchema, bundleSchema, communitySchema, communitySettingsDefaults, communitySettingsSchema, communityStatusSchema, communityViewSchema, contentItemSchema, contentTypeSchema, courseSchema, courseSettingsDefaults, courseSettingsSchema, courseStatusSchema, courseViewSchema, createBundleInputSchema, createCommunityInputSchema, createCourseInputSchema, createDownloadInputSchema, createEventInputSchema, createSpaceInputSchema, digestCadenceSchema, digestScheduleSchema, dmSettingsDefaults, dmSettingsSchema, downloadAssetSchema, downloadFileSchema, downloadSchema, downloadStatusSchema, downloadViewSchema, eventAddressSchema, eventAnalyticsSchema, eventAssetSchema, eventAttendeeFaceSchema, eventAttendeeSchema, eventAttendeeSourceSchema, eventFileSchema, eventLeadSchema, eventLocationDefaults, eventLocationSchema, eventOnlineSchema, eventRecordingSchema, eventSchema, eventSettingsDefaults, eventSettingsSchema, eventSortSchema, eventStatusSchema, eventTypeSchema, eventVenueSchema, eventViewSchema, listBundlesQuerySchema, listCommunitiesQuerySchema, listCoursesQuerySchema, listDownloadsQuerySchema, listEventsQuerySchema, memberEventSchema, memberEventSummarySchema, memberEventViewerSchema, memberEventsQuerySchema, moduleSchema, patchCommunitySettingsInputSchema, patchDmSettingsInputSchema, reorderDownloadAssetsInputSchema, reorderEventAssetsInputSchema, saveActivityInputSchema, setSpaceTopicsInputSchema, spaceAccessRuleSchema, spaceDetailSchema, spaceLinkSchema, spaceSchema, spaceSettingsDefaults, spaceSettingsSchema, spaceTopicSchema, timeZoneSchema, updateBundleInputSchema, updateCommunityInputSchema, updateCourseInputSchema, updateDownloadInputSchema, updateEventInputSchema, updateSpaceInputSchema };
|
|
581
1166
|
//# sourceMappingURL=content.d.ts.map
|