@headless-lms/core 0.4.0 → 0.6.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 +15 -9
- package/dist/assets/file-urls.d.ts +14 -7
- package/dist/assets/file-urls.js +15 -4
- package/dist/assets/file-urls.js.map +1 -1
- package/dist/assets/index.d.ts +4 -4
- package/dist/assets/index.js +3 -3
- package/dist/assets/ports.d.ts +34 -15
- package/dist/assets/service.d.ts +30 -14
- package/dist/assets/service.js +233 -54
- package/dist/assets/service.js.map +1 -1
- package/dist/automations/actions.js.map +1 -1
- package/dist/automations/catalog.js +68 -3
- package/dist/automations/catalog.js.map +1 -1
- package/dist/automations/community-derivations.js +16 -16
- package/dist/automations/community-derivations.js.map +1 -1
- package/dist/automations/community-mail.d.ts +34 -4
- package/dist/automations/community-mail.js +32 -4
- 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/index.d.ts +2 -1
- package/dist/automations/index.js +2 -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.js +1 -1
- package/dist/automations/notifications/debounce.js.map +1 -1
- package/dist/automations/notifications/defaults.js +33 -3
- package/dist/automations/notifications/defaults.js.map +1 -1
- package/dist/automations/notifications/processor.js +1 -1
- package/dist/automations/notifications/processor.js.map +1 -1
- package/dist/automations/notifications/rules/content.js +60 -3
- package/dist/automations/notifications/rules/content.js.map +1 -1
- package/dist/automations/notifications/rules/discussion.js +29 -29
- package/dist/automations/notifications/rules/discussion.js.map +1 -1
- package/dist/automations/notifications/rules/entitlements.js +36 -9
- package/dist/automations/notifications/rules/entitlements.js.map +1 -1
- 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/organizations.js +17 -10
- package/dist/automations/notifications/rules/organizations.js.map +1 -1
- package/dist/automations/notifications/rules/recipients.js +0 -1
- package/dist/automations/notifications/rules/recipients.js.map +1 -1
- package/dist/automations/notifications/service.d.ts +8 -6
- package/dist/automations/notifications/service.js +12 -12
- package/dist/automations/notifications/service.js.map +1 -1
- package/dist/automations/notifications/types.js +94 -7
- package/dist/automations/notifications/types.js.map +1 -1
- package/dist/automations/ports.d.ts +30 -31
- package/dist/automations/service.d.ts +20 -17
- package/dist/automations/service.js +90 -61
- 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 +465 -88
- package/dist/content/events.js +34 -1
- package/dist/content/events.js.map +1 -1
- package/dist/content/index.d.ts +6 -4
- package/dist/content/index.js +3 -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 +5 -4
- package/dist/content/notification-categories.js +15 -6
- package/dist/content/notification-categories.js.map +1 -1
- package/dist/content/ports.d.ts +113 -68
- package/dist/content/service.d.ts +103 -67
- package/dist/content/service.js +739 -152
- package/dist/content/service.js.map +1 -1
- package/dist/content/titles.d.ts +6 -3
- package/dist/content/titles.js +37 -24
- package/dist/content/titles.js.map +1 -1
- 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 +56 -37
- package/dist/discussion/chats.js +392 -160
- package/dist/discussion/chats.js.map +1 -1
- package/dist/discussion/events.d.ts +85 -47
- package/dist/discussion/events.js +41 -3
- package/dist/discussion/events.js.map +1 -1
- package/dist/discussion/index.d.ts +8 -5
- package/dist/discussion/index.js +5 -3
- 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.js +2 -2
- package/dist/discussion/mentions.js.map +1 -1
- package/dist/discussion/ports.d.ts +182 -100
- package/dist/discussion/ports.js.map +1 -1
- package/dist/discussion/posts.d.ts +45 -39
- package/dist/discussion/posts.js +266 -152
- 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 +37 -31
- package/dist/discussion/service.js +250 -186
- package/dist/discussion/service.js.map +1 -1
- package/dist/discussion/subscriptions.d.ts +8 -8
- package/dist/discussion/subscriptions.js +28 -12
- package/dist/discussion/subscriptions.js.map +1 -1
- package/dist/discussion/titles.d.ts +4 -2
- package/dist/discussion/titles.js +27 -13
- package/dist/discussion/titles.js.map +1 -1
- package/dist/entitlements/events.d.ts +58 -58
- package/dist/entitlements/index.d.ts +4 -4
- package/dist/entitlements/index.js +2 -2
- package/dist/entitlements/model.d.ts +2 -2
- package/dist/entitlements/ports.d.ts +65 -39
- 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 +40 -28
- package/dist/entitlements/service.js +369 -162
- package/dist/entitlements/service.js.map +1 -1
- package/dist/identity/devices.d.ts +3 -3
- package/dist/identity/devices.js +6 -4
- package/dist/identity/devices.js.map +1 -1
- package/dist/identity/index.d.ts +2 -2
- package/dist/identity/index.js +2 -2
- package/dist/identity/notification-settings.d.ts +1 -1
- package/dist/identity/notification-settings.js +2 -1
- package/dist/identity/notification-settings.js.map +1 -1
- package/dist/identity/ports.d.ts +7 -7
- package/dist/identity/service.d.ts +8 -7
- package/dist/identity/service.js +16 -12
- package/dist/identity/service.js.map +1 -1
- package/dist/integrations/events.d.ts +3 -3
- package/dist/integrations/ports.d.ts +9 -8
- package/dist/integrations/service.d.ts +9 -8
- package/dist/integrations/service.js +31 -14
- 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 +47 -0
- package/dist/organizations/effective-permissions.js +118 -0
- package/dist/organizations/effective-permissions.js.map +1 -0
- package/dist/organizations/events.d.ts +326 -181
- package/dist/organizations/events.js +90 -18
- package/dist/organizations/events.js.map +1 -1
- package/dist/organizations/index.d.ts +14 -10
- package/dist/organizations/index.js +7 -3
- package/dist/organizations/members.d.ts +66 -8
- package/dist/organizations/members.js.map +1 -1
- package/dist/organizations/model.d.ts +2 -2
- 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 +6 -4
- package/dist/organizations/notification-categories.js +25 -10
- package/dist/organizations/notification-categories.js.map +1 -1
- 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 +102 -35
- package/dist/organizations/service.js +1254 -327
- 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/events.d.ts +14 -14
- 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 +21 -6
- 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 +29 -5
- package/dist/reporting/member/ports.d.ts +49 -29
- package/dist/reporting/member/service.d.ts +57 -29
- package/dist/reporting/member/service.js +345 -114
- package/dist/reporting/member/service.js.map +1 -1
- package/dist/shared/actor.d.ts +23 -3
- package/dist/shared/errors.d.ts +2 -1
- package/dist/shared/errors.js +3 -1
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/id.d.ts +4 -0
- package/dist/shared/id.js +4 -0
- 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/ports.d.ts +25 -5
- package/dist/types/content.d.ts +2 -2
- package/dist/types/discussion.d.ts +4 -5
- package/dist/types/email-templates.d.ts +22 -3
- package/dist/types/entitlements.d.ts +2 -2
- package/dist/types/identity.d.ts +13 -16
- package/dist/types/index.d.ts +9 -9
- package/dist/types/index.js +2 -1
- package/dist/types/notifications.d.ts +4 -4
- 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/content.d.ts +599 -13
- package/dist/types/schemas/content.js +219 -8
- package/dist/types/schemas/content.js.map +1 -1
- package/dist/types/schemas/discussion.d.ts +280 -57
- package/dist/types/schemas/discussion.js +77 -3
- package/dist/types/schemas/discussion.js.map +1 -1
- package/dist/types/schemas/entitlements.d.ts +21 -8
- package/dist/types/schemas/entitlements.js +11 -4
- package/dist/types/schemas/entitlements.js.map +1 -1
- package/dist/types/schemas/index.d.ts +5 -5
- package/dist/types/schemas/index.js +5 -5
- package/dist/types/schemas/notifications.d.ts +11 -10
- package/dist/types/schemas/notifications.js +3 -2
- package/dist/types/schemas/notifications.js.map +1 -1
- package/dist/types/schemas/organizations.d.ts +99 -60
- package/dist/types/schemas/organizations.js +80 -27
- package/dist/types/schemas/organizations.js.map +1 -1
- package/dist/types/schemas/progress.d.ts +3 -4
- package/dist/types/schemas/progress.js +0 -1
- package/dist/types/schemas/progress.js.map +1 -1
- package/package.json +1 -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,8 +328,8 @@ 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;
|
|
@@ -353,8 +355,8 @@ declare const communitySettingsSchema: z.ZodObject<{
|
|
|
353
355
|
dm: z.ZodObject<{
|
|
354
356
|
enabled: z.ZodBoolean;
|
|
355
357
|
memberToMember: z.ZodBoolean;
|
|
356
|
-
|
|
357
|
-
|
|
358
|
+
memberToTeam: z.ZodBoolean;
|
|
359
|
+
teamToAnyone: z.ZodBoolean;
|
|
358
360
|
firstMessageIsRequest: z.ZodBoolean;
|
|
359
361
|
groupChats: z.ZodBoolean;
|
|
360
362
|
groupSize: z.ZodNumber;
|
|
@@ -387,8 +389,8 @@ declare const communitySchema: z.ZodObject<{
|
|
|
387
389
|
dm: z.ZodObject<{
|
|
388
390
|
enabled: z.ZodBoolean;
|
|
389
391
|
memberToMember: z.ZodBoolean;
|
|
390
|
-
|
|
391
|
-
|
|
392
|
+
memberToTeam: z.ZodBoolean;
|
|
393
|
+
teamToAnyone: z.ZodBoolean;
|
|
392
394
|
firstMessageIsRequest: z.ZodBoolean;
|
|
393
395
|
groupChats: z.ZodBoolean;
|
|
394
396
|
groupSize: z.ZodNumber;
|
|
@@ -423,8 +425,8 @@ declare const communityViewSchema: z.ZodObject<{
|
|
|
423
425
|
dm: z.ZodObject<{
|
|
424
426
|
enabled: z.ZodBoolean;
|
|
425
427
|
memberToMember: z.ZodBoolean;
|
|
426
|
-
|
|
427
|
-
|
|
428
|
+
memberToTeam: z.ZodBoolean;
|
|
429
|
+
teamToAnyone: z.ZodBoolean;
|
|
428
430
|
firstMessageIsRequest: z.ZodBoolean;
|
|
429
431
|
groupChats: z.ZodBoolean;
|
|
430
432
|
groupSize: z.ZodNumber;
|
|
@@ -475,10 +477,20 @@ declare const spaceSchema: z.ZodObject<{
|
|
|
475
477
|
reactions: z.ZodBoolean;
|
|
476
478
|
requireReview: z.ZodBoolean;
|
|
477
479
|
}, z.core.$strict>;
|
|
480
|
+
coverAssetId: z.ZodNullable<z.ZodString>;
|
|
481
|
+
backgroundAssetId: z.ZodNullable<z.ZodString>;
|
|
482
|
+
iconAssetId: z.ZodNullable<z.ZodString>;
|
|
478
483
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
479
484
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
480
485
|
}, z.core.$strict>;
|
|
481
486
|
type Space = z.output<typeof spaceSchema>;
|
|
487
|
+
declare const SPACE_IMAGES: readonly ["cover", "background", "icon"];
|
|
488
|
+
declare const spaceImageSchema: z.ZodEnum<{
|
|
489
|
+
cover: "cover";
|
|
490
|
+
background: "background";
|
|
491
|
+
icon: "icon";
|
|
492
|
+
}>;
|
|
493
|
+
type SpaceImage = z.infer<typeof spaceImageSchema>;
|
|
482
494
|
declare const spaceTopicSchema: z.ZodObject<{
|
|
483
495
|
orgId: z.ZodString;
|
|
484
496
|
id: z.ZodString;
|
|
@@ -517,6 +529,9 @@ declare const spaceDetailSchema: z.ZodObject<{
|
|
|
517
529
|
reactions: z.ZodBoolean;
|
|
518
530
|
requireReview: z.ZodBoolean;
|
|
519
531
|
}, z.core.$strict>;
|
|
532
|
+
coverAssetId: z.ZodNullable<z.ZodString>;
|
|
533
|
+
backgroundAssetId: z.ZodNullable<z.ZodString>;
|
|
534
|
+
iconAssetId: z.ZodNullable<z.ZodString>;
|
|
520
535
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
521
536
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
522
537
|
topics: z.ZodArray<z.ZodObject<{
|
|
@@ -539,6 +554,52 @@ declare const spaceDetailSchema: z.ZodObject<{
|
|
|
539
554
|
}, z.core.$strict>>;
|
|
540
555
|
}, z.core.$strict>;
|
|
541
556
|
type SpaceDetail = z.output<typeof spaceDetailSchema>;
|
|
557
|
+
declare const spaceViewSchema: z.ZodObject<{
|
|
558
|
+
orgId: z.ZodString;
|
|
559
|
+
id: z.ZodString;
|
|
560
|
+
communityId: z.ZodString;
|
|
561
|
+
name: z.ZodString;
|
|
562
|
+
description: z.ZodString;
|
|
563
|
+
seq: z.ZodNumber;
|
|
564
|
+
accessRule: z.ZodEnum<{
|
|
565
|
+
all_members: "all_members";
|
|
566
|
+
by_request: "by_request";
|
|
567
|
+
by_invite: "by_invite";
|
|
568
|
+
}>;
|
|
569
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
570
|
+
settings: z.ZodObject<{
|
|
571
|
+
comments: z.ZodBoolean;
|
|
572
|
+
reactions: z.ZodBoolean;
|
|
573
|
+
requireReview: z.ZodBoolean;
|
|
574
|
+
}, z.core.$strict>;
|
|
575
|
+
coverAssetId: z.ZodNullable<z.ZodString>;
|
|
576
|
+
backgroundAssetId: z.ZodNullable<z.ZodString>;
|
|
577
|
+
iconAssetId: z.ZodNullable<z.ZodString>;
|
|
578
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
579
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
580
|
+
topics: z.ZodArray<z.ZodObject<{
|
|
581
|
+
orgId: z.ZodString;
|
|
582
|
+
id: z.ZodString;
|
|
583
|
+
spaceId: z.ZodString;
|
|
584
|
+
name: z.ZodString;
|
|
585
|
+
seq: z.ZodNumber;
|
|
586
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
587
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
588
|
+
}, z.core.$strict>>;
|
|
589
|
+
links: z.ZodArray<z.ZodObject<{
|
|
590
|
+
orgId: z.ZodString;
|
|
591
|
+
id: z.ZodString;
|
|
592
|
+
spaceId: z.ZodString;
|
|
593
|
+
contentId: z.ZodString;
|
|
594
|
+
seq: z.ZodNumber;
|
|
595
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
596
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
597
|
+
}, z.core.$strict>>;
|
|
598
|
+
coverUrl: z.ZodNullable<z.ZodString>;
|
|
599
|
+
backgroundUrl: z.ZodNullable<z.ZodString>;
|
|
600
|
+
iconUrl: z.ZodNullable<z.ZodString>;
|
|
601
|
+
}, z.core.$strict>;
|
|
602
|
+
type SpaceView = z.output<typeof spaceViewSchema>;
|
|
542
603
|
declare const listCommunitiesQuerySchema: z.ZodObject<{
|
|
543
604
|
page: z.ZodNumber;
|
|
544
605
|
pageSize: z.ZodNumber;
|
|
@@ -568,8 +629,8 @@ type UpdateCommunityInput = z.infer<typeof updateCommunityInputSchema>;
|
|
|
568
629
|
declare const patchDmSettingsInputSchema: z.ZodObject<{
|
|
569
630
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
570
631
|
memberToMember: z.ZodOptional<z.ZodBoolean>;
|
|
571
|
-
|
|
572
|
-
|
|
632
|
+
memberToTeam: z.ZodOptional<z.ZodBoolean>;
|
|
633
|
+
teamToAnyone: z.ZodOptional<z.ZodBoolean>;
|
|
573
634
|
firstMessageIsRequest: z.ZodOptional<z.ZodBoolean>;
|
|
574
635
|
groupChats: z.ZodOptional<z.ZodBoolean>;
|
|
575
636
|
groupSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -578,8 +639,8 @@ type PatchDmSettingsInput = z.infer<typeof patchDmSettingsInputSchema>;
|
|
|
578
639
|
declare const patchCommunitySettingsInputSchema: z.ZodObject<{
|
|
579
640
|
enabled: z.ZodOptional<z.ZodBoolean>;
|
|
580
641
|
memberToMember: z.ZodOptional<z.ZodBoolean>;
|
|
581
|
-
|
|
582
|
-
|
|
642
|
+
memberToTeam: z.ZodOptional<z.ZodBoolean>;
|
|
643
|
+
teamToAnyone: z.ZodOptional<z.ZodBoolean>;
|
|
583
644
|
firstMessageIsRequest: z.ZodOptional<z.ZodBoolean>;
|
|
584
645
|
groupChats: z.ZodOptional<z.ZodBoolean>;
|
|
585
646
|
groupSize: z.ZodOptional<z.ZodNumber>;
|
|
@@ -624,6 +685,9 @@ declare const updateSpaceInputSchema: z.ZodObject<{
|
|
|
624
685
|
reactions: z.ZodOptional<z.ZodBoolean>;
|
|
625
686
|
requireReview: z.ZodOptional<z.ZodBoolean>;
|
|
626
687
|
}, z.core.$strict>>;
|
|
688
|
+
coverAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
689
|
+
backgroundAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
690
|
+
iconAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
627
691
|
}, z.core.$strict>;
|
|
628
692
|
type UpdateSpaceInput = z.infer<typeof updateSpaceInputSchema>;
|
|
629
693
|
declare const setSpaceTopicsInputSchema: z.ZodObject<{
|
|
@@ -637,6 +701,528 @@ declare const addSpaceLinkInputSchema: z.ZodObject<{
|
|
|
637
701
|
contentId: z.ZodString;
|
|
638
702
|
}, z.core.$strict>;
|
|
639
703
|
type AddSpaceLinkInput = z.infer<typeof addSpaceLinkInputSchema>;
|
|
704
|
+
declare const timeZoneSchema: z.ZodString;
|
|
705
|
+
declare const eventStatusSchema: z.ZodEnum<{
|
|
706
|
+
draft: "draft";
|
|
707
|
+
published: "published";
|
|
708
|
+
canceled: "canceled";
|
|
709
|
+
}>;
|
|
710
|
+
type EventStatus = z.infer<typeof eventStatusSchema>;
|
|
711
|
+
declare const eventTypeSchema: z.ZodEnum<{
|
|
712
|
+
public: "public";
|
|
713
|
+
private: "private";
|
|
714
|
+
}>;
|
|
715
|
+
type EventType = z.infer<typeof eventTypeSchema>;
|
|
716
|
+
declare const eventAddressSchema: z.ZodObject<{
|
|
717
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
718
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
719
|
+
city: z.ZodNullable<z.ZodString>;
|
|
720
|
+
region: z.ZodNullable<z.ZodString>;
|
|
721
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
722
|
+
country: z.ZodNullable<z.ZodString>;
|
|
723
|
+
}, z.core.$strict>;
|
|
724
|
+
type EventAddress = z.infer<typeof eventAddressSchema>;
|
|
725
|
+
declare const eventVenueSchema: z.ZodObject<{
|
|
726
|
+
name: z.ZodString;
|
|
727
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
728
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
729
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
730
|
+
city: z.ZodNullable<z.ZodString>;
|
|
731
|
+
region: z.ZodNullable<z.ZodString>;
|
|
732
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
733
|
+
country: z.ZodNullable<z.ZodString>;
|
|
734
|
+
}, z.core.$strict>>;
|
|
735
|
+
}, z.core.$strict>;
|
|
736
|
+
type EventVenue = z.infer<typeof eventVenueSchema>;
|
|
737
|
+
declare const eventOnlineSchema: z.ZodObject<{
|
|
738
|
+
url: z.ZodURL;
|
|
739
|
+
details: z.ZodNullable<z.ZodString>;
|
|
740
|
+
}, z.core.$strict>;
|
|
741
|
+
type EventOnline = z.infer<typeof eventOnlineSchema>;
|
|
742
|
+
declare const eventLocationSchema: z.ZodObject<{
|
|
743
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
744
|
+
name: z.ZodString;
|
|
745
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
746
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
747
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
748
|
+
city: z.ZodNullable<z.ZodString>;
|
|
749
|
+
region: z.ZodNullable<z.ZodString>;
|
|
750
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
751
|
+
country: z.ZodNullable<z.ZodString>;
|
|
752
|
+
}, z.core.$strict>>;
|
|
753
|
+
}, z.core.$strict>>;
|
|
754
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
755
|
+
url: z.ZodURL;
|
|
756
|
+
details: z.ZodNullable<z.ZodString>;
|
|
757
|
+
}, z.core.$strict>>;
|
|
758
|
+
}, z.core.$strict>;
|
|
759
|
+
type EventLocation = z.infer<typeof eventLocationSchema>;
|
|
760
|
+
declare const eventLocationDefaults: EventLocation;
|
|
761
|
+
declare const eventRecordingSchema: z.ZodObject<{
|
|
762
|
+
url: z.ZodURL;
|
|
763
|
+
details: z.ZodNullable<z.ZodString>;
|
|
764
|
+
}, z.core.$strict>;
|
|
765
|
+
type EventRecording = z.infer<typeof eventRecordingSchema>;
|
|
766
|
+
declare const eventSettingsSchema: z.ZodObject<{
|
|
767
|
+
type: z.ZodEnum<{
|
|
768
|
+
public: "public";
|
|
769
|
+
private: "private";
|
|
770
|
+
}>;
|
|
771
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
772
|
+
notifications: z.ZodBoolean;
|
|
773
|
+
replay: z.ZodBoolean;
|
|
774
|
+
}, z.core.$strict>;
|
|
775
|
+
type EventSettings = z.infer<typeof eventSettingsSchema>;
|
|
776
|
+
declare const eventSettingsDefaults: EventSettings;
|
|
777
|
+
declare const eventSchema: z.ZodObject<{
|
|
778
|
+
orgId: z.ZodString;
|
|
779
|
+
id: z.ZodString;
|
|
780
|
+
type: z.ZodLiteral<"event">;
|
|
781
|
+
title: z.ZodString;
|
|
782
|
+
description: z.ZodString;
|
|
783
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
784
|
+
status: z.ZodEnum<{
|
|
785
|
+
draft: "draft";
|
|
786
|
+
published: "published";
|
|
787
|
+
canceled: "canceled";
|
|
788
|
+
}>;
|
|
789
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
790
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
791
|
+
timeZone: z.ZodString;
|
|
792
|
+
location: z.ZodObject<{
|
|
793
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
794
|
+
name: z.ZodString;
|
|
795
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
796
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
797
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
798
|
+
city: z.ZodNullable<z.ZodString>;
|
|
799
|
+
region: z.ZodNullable<z.ZodString>;
|
|
800
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
801
|
+
country: z.ZodNullable<z.ZodString>;
|
|
802
|
+
}, z.core.$strict>>;
|
|
803
|
+
}, z.core.$strict>>;
|
|
804
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
805
|
+
url: z.ZodURL;
|
|
806
|
+
details: z.ZodNullable<z.ZodString>;
|
|
807
|
+
}, z.core.$strict>>;
|
|
808
|
+
}, z.core.$strict>;
|
|
809
|
+
recording: z.ZodNullable<z.ZodObject<{
|
|
810
|
+
url: z.ZodURL;
|
|
811
|
+
details: z.ZodNullable<z.ZodString>;
|
|
812
|
+
}, z.core.$strict>>;
|
|
813
|
+
settings: z.ZodObject<{
|
|
814
|
+
type: z.ZodEnum<{
|
|
815
|
+
public: "public";
|
|
816
|
+
private: "private";
|
|
817
|
+
}>;
|
|
818
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
819
|
+
notifications: z.ZodBoolean;
|
|
820
|
+
replay: z.ZodBoolean;
|
|
821
|
+
}, z.core.$strict>;
|
|
822
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
823
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
824
|
+
}, z.core.$strict>;
|
|
825
|
+
type Event = z.output<typeof eventSchema>;
|
|
826
|
+
declare const eventViewSchema: z.ZodObject<{
|
|
827
|
+
orgId: z.ZodString;
|
|
828
|
+
id: z.ZodString;
|
|
829
|
+
type: z.ZodLiteral<"event">;
|
|
830
|
+
title: z.ZodString;
|
|
831
|
+
description: z.ZodString;
|
|
832
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
833
|
+
status: z.ZodEnum<{
|
|
834
|
+
draft: "draft";
|
|
835
|
+
published: "published";
|
|
836
|
+
canceled: "canceled";
|
|
837
|
+
}>;
|
|
838
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
839
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
840
|
+
timeZone: z.ZodString;
|
|
841
|
+
location: z.ZodObject<{
|
|
842
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
843
|
+
name: z.ZodString;
|
|
844
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
845
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
846
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
847
|
+
city: z.ZodNullable<z.ZodString>;
|
|
848
|
+
region: z.ZodNullable<z.ZodString>;
|
|
849
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
850
|
+
country: z.ZodNullable<z.ZodString>;
|
|
851
|
+
}, z.core.$strict>>;
|
|
852
|
+
}, z.core.$strict>>;
|
|
853
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
854
|
+
url: z.ZodURL;
|
|
855
|
+
details: z.ZodNullable<z.ZodString>;
|
|
856
|
+
}, z.core.$strict>>;
|
|
857
|
+
}, z.core.$strict>;
|
|
858
|
+
recording: z.ZodNullable<z.ZodObject<{
|
|
859
|
+
url: z.ZodURL;
|
|
860
|
+
details: z.ZodNullable<z.ZodString>;
|
|
861
|
+
}, z.core.$strict>>;
|
|
862
|
+
settings: z.ZodObject<{
|
|
863
|
+
type: z.ZodEnum<{
|
|
864
|
+
public: "public";
|
|
865
|
+
private: "private";
|
|
866
|
+
}>;
|
|
867
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
868
|
+
notifications: z.ZodBoolean;
|
|
869
|
+
replay: z.ZodBoolean;
|
|
870
|
+
}, z.core.$strict>;
|
|
871
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
872
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
873
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
874
|
+
}, z.core.$strict>;
|
|
875
|
+
type EventView = z.output<typeof eventViewSchema>;
|
|
876
|
+
declare const eventAssetSchema: z.ZodObject<{
|
|
877
|
+
orgId: z.ZodString;
|
|
878
|
+
id: z.ZodString;
|
|
879
|
+
eventId: z.ZodString;
|
|
880
|
+
assetId: z.ZodString;
|
|
881
|
+
seq: z.ZodNumber;
|
|
882
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
883
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
884
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
885
|
+
}, z.core.$strict>;
|
|
886
|
+
type EventAsset = z.output<typeof eventAssetSchema>;
|
|
887
|
+
declare const eventFileSchema: z.ZodObject<{
|
|
888
|
+
orgId: z.ZodString;
|
|
889
|
+
id: z.ZodString;
|
|
890
|
+
eventId: z.ZodString;
|
|
891
|
+
assetId: z.ZodString;
|
|
892
|
+
seq: z.ZodNumber;
|
|
893
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
894
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
895
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
896
|
+
filename: z.ZodString;
|
|
897
|
+
contentType: z.ZodString;
|
|
898
|
+
size: z.ZodNumber;
|
|
899
|
+
url: z.ZodString;
|
|
900
|
+
}, z.core.$strict>;
|
|
901
|
+
type EventFile = z.output<typeof eventFileSchema>;
|
|
902
|
+
declare const eventSortSchema: z.ZodEnum<{
|
|
903
|
+
title: "title";
|
|
904
|
+
startsAt: "startsAt";
|
|
905
|
+
"-startsAt": "-startsAt";
|
|
906
|
+
"-title": "-title";
|
|
907
|
+
}>;
|
|
908
|
+
type EventSort = z.infer<typeof eventSortSchema>;
|
|
909
|
+
declare const listEventsQuerySchema: z.ZodObject<{
|
|
910
|
+
page: z.ZodNumber;
|
|
911
|
+
pageSize: z.ZodNumber;
|
|
912
|
+
search: z.ZodOptional<z.ZodString>;
|
|
913
|
+
sort: z.ZodOptional<z.ZodEnum<{
|
|
914
|
+
title: "title";
|
|
915
|
+
startsAt: "startsAt";
|
|
916
|
+
"-startsAt": "-startsAt";
|
|
917
|
+
"-title": "-title";
|
|
918
|
+
}>>;
|
|
919
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
920
|
+
draft: "draft";
|
|
921
|
+
published: "published";
|
|
922
|
+
canceled: "canceled";
|
|
923
|
+
}>>;
|
|
924
|
+
from: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
925
|
+
to: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
926
|
+
}, z.core.$strict>;
|
|
927
|
+
type ListEventsQuery = z.infer<typeof listEventsQuerySchema>;
|
|
928
|
+
declare const createEventInputSchema: z.ZodObject<{
|
|
929
|
+
title: z.ZodString;
|
|
930
|
+
description: z.ZodOptional<z.ZodString>;
|
|
931
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
932
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
933
|
+
timeZone: z.ZodString;
|
|
934
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
935
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
936
|
+
name: z.ZodString;
|
|
937
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
938
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
939
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
940
|
+
city: z.ZodNullable<z.ZodString>;
|
|
941
|
+
region: z.ZodNullable<z.ZodString>;
|
|
942
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
943
|
+
country: z.ZodNullable<z.ZodString>;
|
|
944
|
+
}, z.core.$strict>>;
|
|
945
|
+
}, z.core.$strict>>;
|
|
946
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
947
|
+
url: z.ZodURL;
|
|
948
|
+
details: z.ZodNullable<z.ZodString>;
|
|
949
|
+
}, z.core.$strict>>;
|
|
950
|
+
}, z.core.$strict>>;
|
|
951
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
952
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
953
|
+
public: "public";
|
|
954
|
+
private: "private";
|
|
955
|
+
}>>;
|
|
956
|
+
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
957
|
+
notifications: z.ZodOptional<z.ZodBoolean>;
|
|
958
|
+
replay: z.ZodOptional<z.ZodBoolean>;
|
|
959
|
+
}, z.core.$strict>>;
|
|
960
|
+
}, z.core.$strict>;
|
|
961
|
+
type CreateEventInput = z.infer<typeof createEventInputSchema>;
|
|
962
|
+
declare const updateEventInputSchema: z.ZodObject<{
|
|
963
|
+
title: z.ZodOptional<z.ZodString>;
|
|
964
|
+
description: z.ZodOptional<z.ZodString>;
|
|
965
|
+
startsAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
966
|
+
endsAt: z.ZodOptional<z.ZodCoercedDate<unknown>>;
|
|
967
|
+
timeZone: z.ZodOptional<z.ZodString>;
|
|
968
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
969
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
970
|
+
name: z.ZodString;
|
|
971
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
972
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
973
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
974
|
+
city: z.ZodNullable<z.ZodString>;
|
|
975
|
+
region: z.ZodNullable<z.ZodString>;
|
|
976
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
977
|
+
country: z.ZodNullable<z.ZodString>;
|
|
978
|
+
}, z.core.$strict>>;
|
|
979
|
+
}, z.core.$strict>>;
|
|
980
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
981
|
+
url: z.ZodURL;
|
|
982
|
+
details: z.ZodNullable<z.ZodString>;
|
|
983
|
+
}, z.core.$strict>>;
|
|
984
|
+
}, z.core.$strict>>;
|
|
985
|
+
thumbnailAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
986
|
+
recording: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
987
|
+
url: z.ZodURL;
|
|
988
|
+
details: z.ZodNullable<z.ZodString>;
|
|
989
|
+
}, z.core.$strict>>>;
|
|
990
|
+
status: z.ZodOptional<z.ZodEnum<{
|
|
991
|
+
draft: "draft";
|
|
992
|
+
published: "published";
|
|
993
|
+
}>>;
|
|
994
|
+
settings: z.ZodOptional<z.ZodObject<{
|
|
995
|
+
type: z.ZodOptional<z.ZodEnum<{
|
|
996
|
+
public: "public";
|
|
997
|
+
private: "private";
|
|
998
|
+
}>>;
|
|
999
|
+
capacity: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
1000
|
+
notifications: z.ZodOptional<z.ZodBoolean>;
|
|
1001
|
+
replay: z.ZodOptional<z.ZodBoolean>;
|
|
1002
|
+
}, z.core.$strict>>;
|
|
1003
|
+
}, z.core.$strict>;
|
|
1004
|
+
type UpdateEventInput = z.infer<typeof updateEventInputSchema>;
|
|
1005
|
+
declare const addEventAssetInputSchema: z.ZodObject<{
|
|
1006
|
+
assetId: z.ZodString;
|
|
1007
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
1008
|
+
}, z.core.$strict>;
|
|
1009
|
+
type AddEventAssetInput = z.infer<typeof addEventAssetInputSchema>;
|
|
1010
|
+
declare const reorderEventAssetsInputSchema: z.ZodObject<{
|
|
1011
|
+
assetIds: z.ZodArray<z.ZodString>;
|
|
1012
|
+
}, z.core.$strict>;
|
|
1013
|
+
type ReorderEventAssetsInput = z.infer<typeof reorderEventAssetsInputSchema>;
|
|
1014
|
+
declare const eventLeadSchema: z.ZodEnum<{
|
|
1015
|
+
"1d": "1d";
|
|
1016
|
+
"1h": "1h";
|
|
1017
|
+
}>;
|
|
1018
|
+
type EventLead = z.infer<typeof eventLeadSchema>;
|
|
1019
|
+
declare const eventAttendeeSourceSchema: z.ZodEnum<{
|
|
1020
|
+
self: "self";
|
|
1021
|
+
manual: "manual";
|
|
1022
|
+
automation: "automation";
|
|
1023
|
+
bundle: "bundle";
|
|
1024
|
+
}>;
|
|
1025
|
+
type EventAttendeeSource = z.infer<typeof eventAttendeeSourceSchema>;
|
|
1026
|
+
declare const eventAttendeeSchema: z.ZodObject<{
|
|
1027
|
+
orgUserId: z.ZodString;
|
|
1028
|
+
name: z.ZodString;
|
|
1029
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
1030
|
+
source: z.ZodEnum<{
|
|
1031
|
+
self: "self";
|
|
1032
|
+
manual: "manual";
|
|
1033
|
+
automation: "automation";
|
|
1034
|
+
bundle: "bundle";
|
|
1035
|
+
}>;
|
|
1036
|
+
grantedAt: z.ZodCoercedDate<unknown>;
|
|
1037
|
+
}, z.core.$strict>;
|
|
1038
|
+
type EventAttendee = z.output<typeof eventAttendeeSchema>;
|
|
1039
|
+
declare const eventAttendeeFaceSchema: z.ZodObject<{
|
|
1040
|
+
name: z.ZodString;
|
|
1041
|
+
orgUserId: z.ZodString;
|
|
1042
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
1043
|
+
}, z.core.$strict>;
|
|
1044
|
+
type EventAttendeeFace = z.output<typeof eventAttendeeFaceSchema>;
|
|
1045
|
+
declare const memberEventViewerSchema: z.ZodObject<{
|
|
1046
|
+
attending: z.ZodBoolean;
|
|
1047
|
+
canRegister: z.ZodBoolean;
|
|
1048
|
+
canOpen: z.ZodBoolean;
|
|
1049
|
+
canLeave: z.ZodBoolean;
|
|
1050
|
+
canManageAttendees: z.ZodBoolean;
|
|
1051
|
+
canAddAttendees: z.ZodBoolean;
|
|
1052
|
+
canEdit: z.ZodBoolean;
|
|
1053
|
+
canCancel: z.ZodBoolean;
|
|
1054
|
+
canDelete: z.ZodBoolean;
|
|
1055
|
+
}, z.core.$strict>;
|
|
1056
|
+
type MemberEventViewer = z.output<typeof memberEventViewerSchema>;
|
|
1057
|
+
declare const memberEventSchema: z.ZodObject<{
|
|
1058
|
+
orgId: z.ZodString;
|
|
1059
|
+
id: z.ZodString;
|
|
1060
|
+
status: z.ZodEnum<{
|
|
1061
|
+
draft: "draft";
|
|
1062
|
+
published: "published";
|
|
1063
|
+
canceled: "canceled";
|
|
1064
|
+
}>;
|
|
1065
|
+
type: z.ZodLiteral<"event">;
|
|
1066
|
+
title: z.ZodString;
|
|
1067
|
+
description: z.ZodString;
|
|
1068
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1069
|
+
timeZone: z.ZodString;
|
|
1070
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1071
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
1072
|
+
recording: z.ZodNullable<z.ZodObject<{
|
|
1073
|
+
url: z.ZodURL;
|
|
1074
|
+
details: z.ZodNullable<z.ZodString>;
|
|
1075
|
+
}, z.core.$strict>>;
|
|
1076
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
1077
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
1078
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
1079
|
+
name: z.ZodString;
|
|
1080
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
1081
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
1082
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
1083
|
+
city: z.ZodNullable<z.ZodString>;
|
|
1084
|
+
region: z.ZodNullable<z.ZodString>;
|
|
1085
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
1086
|
+
country: z.ZodNullable<z.ZodString>;
|
|
1087
|
+
}, z.core.$strict>>;
|
|
1088
|
+
}, z.core.$strict>>;
|
|
1089
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
1090
|
+
url: z.ZodURL;
|
|
1091
|
+
details: z.ZodNullable<z.ZodString>;
|
|
1092
|
+
}, z.core.$strict>>;
|
|
1093
|
+
}, z.core.$strict>>;
|
|
1094
|
+
settings: z.ZodObject<{
|
|
1095
|
+
type: z.ZodEnum<{
|
|
1096
|
+
public: "public";
|
|
1097
|
+
private: "private";
|
|
1098
|
+
}>;
|
|
1099
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1100
|
+
replay: z.ZodBoolean;
|
|
1101
|
+
}, z.core.$strict>;
|
|
1102
|
+
files: z.ZodArray<z.ZodObject<{
|
|
1103
|
+
orgId: z.ZodString;
|
|
1104
|
+
id: z.ZodString;
|
|
1105
|
+
eventId: z.ZodString;
|
|
1106
|
+
assetId: z.ZodString;
|
|
1107
|
+
seq: z.ZodNumber;
|
|
1108
|
+
displayName: z.ZodNullable<z.ZodString>;
|
|
1109
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
1110
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
1111
|
+
filename: z.ZodString;
|
|
1112
|
+
contentType: z.ZodString;
|
|
1113
|
+
size: z.ZodNumber;
|
|
1114
|
+
url: z.ZodString;
|
|
1115
|
+
}, z.core.$strict>>;
|
|
1116
|
+
attendeeCount: z.ZodNumber;
|
|
1117
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
1118
|
+
name: z.ZodString;
|
|
1119
|
+
orgUserId: z.ZodString;
|
|
1120
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
1121
|
+
}, z.core.$strict>>;
|
|
1122
|
+
placesLeft: z.ZodNullable<z.ZodNumber>;
|
|
1123
|
+
viewer: z.ZodObject<{
|
|
1124
|
+
attending: z.ZodBoolean;
|
|
1125
|
+
canRegister: z.ZodBoolean;
|
|
1126
|
+
canOpen: z.ZodBoolean;
|
|
1127
|
+
canLeave: z.ZodBoolean;
|
|
1128
|
+
canManageAttendees: z.ZodBoolean;
|
|
1129
|
+
canAddAttendees: z.ZodBoolean;
|
|
1130
|
+
canEdit: z.ZodBoolean;
|
|
1131
|
+
canCancel: z.ZodBoolean;
|
|
1132
|
+
canDelete: z.ZodBoolean;
|
|
1133
|
+
}, z.core.$strict>;
|
|
1134
|
+
}, z.core.$strict>;
|
|
1135
|
+
type MemberEvent = z.output<typeof memberEventSchema>;
|
|
1136
|
+
declare const memberEventSummarySchema: z.ZodObject<{
|
|
1137
|
+
orgId: z.ZodString;
|
|
1138
|
+
id: z.ZodString;
|
|
1139
|
+
status: z.ZodEnum<{
|
|
1140
|
+
draft: "draft";
|
|
1141
|
+
published: "published";
|
|
1142
|
+
canceled: "canceled";
|
|
1143
|
+
}>;
|
|
1144
|
+
type: z.ZodLiteral<"event">;
|
|
1145
|
+
title: z.ZodString;
|
|
1146
|
+
settings: z.ZodObject<{
|
|
1147
|
+
type: z.ZodEnum<{
|
|
1148
|
+
public: "public";
|
|
1149
|
+
private: "private";
|
|
1150
|
+
}>;
|
|
1151
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1152
|
+
replay: z.ZodBoolean;
|
|
1153
|
+
}, z.core.$strict>;
|
|
1154
|
+
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
1155
|
+
timeZone: z.ZodString;
|
|
1156
|
+
location: z.ZodNullable<z.ZodObject<{
|
|
1157
|
+
venue: z.ZodNullable<z.ZodObject<{
|
|
1158
|
+
name: z.ZodString;
|
|
1159
|
+
address: z.ZodNullable<z.ZodObject<{
|
|
1160
|
+
line1: z.ZodNullable<z.ZodString>;
|
|
1161
|
+
line2: z.ZodNullable<z.ZodString>;
|
|
1162
|
+
city: z.ZodNullable<z.ZodString>;
|
|
1163
|
+
region: z.ZodNullable<z.ZodString>;
|
|
1164
|
+
postalCode: z.ZodNullable<z.ZodString>;
|
|
1165
|
+
country: z.ZodNullable<z.ZodString>;
|
|
1166
|
+
}, z.core.$strict>>;
|
|
1167
|
+
}, z.core.$strict>>;
|
|
1168
|
+
online: z.ZodNullable<z.ZodObject<{
|
|
1169
|
+
url: z.ZodURL;
|
|
1170
|
+
details: z.ZodNullable<z.ZodString>;
|
|
1171
|
+
}, z.core.$strict>>;
|
|
1172
|
+
}, z.core.$strict>>;
|
|
1173
|
+
startsAt: z.ZodCoercedDate<unknown>;
|
|
1174
|
+
endsAt: z.ZodCoercedDate<unknown>;
|
|
1175
|
+
recording: z.ZodNullable<z.ZodObject<{
|
|
1176
|
+
url: z.ZodURL;
|
|
1177
|
+
details: z.ZodNullable<z.ZodString>;
|
|
1178
|
+
}, z.core.$strict>>;
|
|
1179
|
+
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
1180
|
+
attendeeCount: z.ZodNumber;
|
|
1181
|
+
attendees: z.ZodArray<z.ZodObject<{
|
|
1182
|
+
name: z.ZodString;
|
|
1183
|
+
orgUserId: z.ZodString;
|
|
1184
|
+
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
1185
|
+
}, z.core.$strict>>;
|
|
1186
|
+
placesLeft: z.ZodNullable<z.ZodNumber>;
|
|
1187
|
+
viewer: z.ZodObject<{
|
|
1188
|
+
attending: z.ZodBoolean;
|
|
1189
|
+
canRegister: z.ZodBoolean;
|
|
1190
|
+
canOpen: z.ZodBoolean;
|
|
1191
|
+
canLeave: z.ZodBoolean;
|
|
1192
|
+
canManageAttendees: z.ZodBoolean;
|
|
1193
|
+
canAddAttendees: z.ZodBoolean;
|
|
1194
|
+
canEdit: z.ZodBoolean;
|
|
1195
|
+
canCancel: z.ZodBoolean;
|
|
1196
|
+
canDelete: z.ZodBoolean;
|
|
1197
|
+
}, z.core.$strict>;
|
|
1198
|
+
}, z.core.$strict>;
|
|
1199
|
+
type MemberEventSummary = z.output<typeof memberEventSummarySchema>;
|
|
1200
|
+
declare const memberEventsQuerySchema: z.ZodObject<{
|
|
1201
|
+
page: z.ZodNumber;
|
|
1202
|
+
pageSize: z.ZodNumber;
|
|
1203
|
+
when: z.ZodOptional<z.ZodEnum<{
|
|
1204
|
+
upcoming: "upcoming";
|
|
1205
|
+
past: "past";
|
|
1206
|
+
}>>;
|
|
1207
|
+
attending: z.ZodOptional<z.ZodBoolean>;
|
|
1208
|
+
}, z.core.$strict>;
|
|
1209
|
+
type MemberEventsQuery = z.infer<typeof memberEventsQuerySchema>;
|
|
1210
|
+
declare const eventAnalyticsSchema: z.ZodObject<{
|
|
1211
|
+
attendees: z.ZodNumber;
|
|
1212
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
1213
|
+
bySource: z.ZodObject<{
|
|
1214
|
+
self: z.ZodNumber;
|
|
1215
|
+
manual: z.ZodNumber;
|
|
1216
|
+
automation: z.ZodNumber;
|
|
1217
|
+
bundle: z.ZodNumber;
|
|
1218
|
+
}, z.core.$strict>;
|
|
1219
|
+
revoked: z.ZodNumber;
|
|
1220
|
+
grantsOverTime: z.ZodArray<z.ZodObject<{
|
|
1221
|
+
date: z.ZodString;
|
|
1222
|
+
count: z.ZodNumber;
|
|
1223
|
+
}, z.core.$strict>>;
|
|
1224
|
+
}, z.core.$strict>;
|
|
1225
|
+
type EventAnalytics = z.output<typeof eventAnalyticsSchema>;
|
|
640
1226
|
//#endregion
|
|
641
|
-
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, DigestCadence, DigestSchedule, DmSettings, Download, DownloadAsset, DownloadAssetInput, DownloadFile, DownloadInput, DownloadStatus, DownloadView, ListBundlesQuery, ListCommunitiesQuery, ListCoursesQuery, ListDownloadsQuery, Module, ModuleInput, PatchCommunitySettingsInput, 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, digestCadenceSchema, digestScheduleSchema, dmSettingsDefaults, dmSettingsSchema, downloadAssetSchema, downloadFileSchema, downloadSchema, downloadStatusSchema, downloadViewSchema, listBundlesQuerySchema, listCommunitiesQuerySchema, listCoursesQuerySchema, listDownloadsQuerySchema, moduleSchema, patchCommunitySettingsInputSchema, patchDmSettingsInputSchema, reorderDownloadAssetsInputSchema, saveActivityInputSchema, setSpaceTopicsInputSchema, spaceAccessRuleSchema, spaceDetailSchema, spaceLinkSchema, spaceSchema, spaceSettingsDefaults, spaceSettingsSchema, spaceTopicSchema, updateBundleInputSchema, updateCommunityInputSchema, updateCourseInputSchema, updateDownloadInputSchema, updateSpaceInputSchema };
|
|
1227
|
+
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, SPACE_IMAGES, SaveActivityInput, SetSpaceTopicsInput, Space, SpaceAccessRule, SpaceDetail, SpaceImage, SpaceLink, SpaceSettings, SpaceTopic, SpaceView, 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, spaceImageSchema, spaceLinkSchema, spaceSchema, spaceSettingsDefaults, spaceSettingsSchema, spaceTopicSchema, spaceViewSchema, timeZoneSchema, updateBundleInputSchema, updateCommunityInputSchema, updateCourseInputSchema, updateDownloadInputSchema, updateEventInputSchema, updateSpaceInputSchema };
|
|
642
1228
|
//# sourceMappingURL=content.d.ts.map
|