@headless-lms/server 0.6.0 → 0.6.1
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/README.md +6 -0
- package/dist/app/container.d.ts +5 -1
- package/dist/app/container.js +3 -1
- package/dist/app/container.js.map +1 -1
- package/dist/http/schemas/access.d.ts +6 -6
- package/dist/http/schemas/assets.d.ts +20 -20
- package/dist/http/schemas/chats.d.ts +23 -23
- package/dist/http/schemas/community.d.ts +23 -23
- package/dist/http/schemas/content.d.ts +5 -5
- package/dist/http/schemas/course-analytics.d.ts +2 -2
- package/dist/http/schemas/downloads.d.ts +5 -5
- package/dist/http/schemas/entitlements.d.ts +5 -5
- package/dist/http/schemas/events.d.ts +61 -61
- package/dist/http/schemas/integrations.d.ts +4 -4
- package/dist/http/schemas/member.d.ts +3 -3
- package/dist/http/schemas/members.d.ts +18 -18
- package/dist/http/schemas/notifications.d.ts +31 -31
- package/dist/http/schemas/posts.d.ts +6 -6
- package/dist/http/schemas/profile.d.ts +3 -3
- package/dist/http/schemas/students.d.ts +4 -4
- package/dist/index.d.ts +2 -2
- package/dist/index.js.map +1 -1
- package/dist/packages/server/package.js +1 -1
- package/package.json +1 -1
|
@@ -8,8 +8,8 @@ declare const Community: z.ZodObject<{
|
|
|
8
8
|
slug: z.ZodString;
|
|
9
9
|
description: z.ZodString;
|
|
10
10
|
status: z.ZodEnum<{
|
|
11
|
-
draft: "draft";
|
|
12
11
|
published: "published";
|
|
12
|
+
draft: "draft";
|
|
13
13
|
}>;
|
|
14
14
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
15
15
|
settings: z.ZodObject<{
|
|
@@ -42,8 +42,8 @@ declare const CommunitiesQuery: z.ZodObject<{
|
|
|
42
42
|
search: z.ZodOptional<z.ZodString>;
|
|
43
43
|
sort: z.ZodOptional<z.ZodString>;
|
|
44
44
|
status: z.ZodOptional<z.ZodEnum<{
|
|
45
|
-
draft: "draft";
|
|
46
45
|
published: "published";
|
|
46
|
+
draft: "draft";
|
|
47
47
|
}>>;
|
|
48
48
|
}, z.core.$strip>;
|
|
49
49
|
declare const CommunitiesPage: z.ZodObject<{
|
|
@@ -55,8 +55,8 @@ declare const CommunitiesPage: z.ZodObject<{
|
|
|
55
55
|
slug: z.ZodString;
|
|
56
56
|
description: z.ZodString;
|
|
57
57
|
status: z.ZodEnum<{
|
|
58
|
-
draft: "draft";
|
|
59
58
|
published: "published";
|
|
59
|
+
draft: "draft";
|
|
60
60
|
}>;
|
|
61
61
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
62
62
|
settings: z.ZodObject<{
|
|
@@ -95,8 +95,8 @@ declare const UpdateCommunity: z.ZodObject<{
|
|
|
95
95
|
title: z.ZodOptional<z.ZodString>;
|
|
96
96
|
description: z.ZodOptional<z.ZodString>;
|
|
97
97
|
status: z.ZodOptional<z.ZodEnum<{
|
|
98
|
-
draft: "draft";
|
|
99
98
|
published: "published";
|
|
99
|
+
draft: "draft";
|
|
100
100
|
}>>;
|
|
101
101
|
thumbnailAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
102
102
|
}, z.core.$strict>;
|
|
@@ -189,14 +189,14 @@ declare const SpaceMember: z.ZodObject<{
|
|
|
189
189
|
orgUserId: z.ZodString;
|
|
190
190
|
status: z.ZodEnum<{
|
|
191
191
|
active: "active";
|
|
192
|
+
revoked: "revoked";
|
|
192
193
|
invited: "invited";
|
|
193
194
|
requested: "requested";
|
|
194
|
-
revoked: "revoked";
|
|
195
195
|
}>;
|
|
196
196
|
source: z.ZodEnum<{
|
|
197
|
+
manual: "manual";
|
|
197
198
|
request: "request";
|
|
198
199
|
invite: "invite";
|
|
199
|
-
manual: "manual";
|
|
200
200
|
}>;
|
|
201
201
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
202
202
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -210,14 +210,14 @@ declare const SpaceMembersPage: z.ZodObject<{
|
|
|
210
210
|
orgUserId: z.ZodString;
|
|
211
211
|
status: z.ZodEnum<{
|
|
212
212
|
active: "active";
|
|
213
|
+
revoked: "revoked";
|
|
213
214
|
invited: "invited";
|
|
214
215
|
requested: "requested";
|
|
215
|
-
revoked: "revoked";
|
|
216
216
|
}>;
|
|
217
217
|
source: z.ZodEnum<{
|
|
218
|
+
manual: "manual";
|
|
218
219
|
request: "request";
|
|
219
220
|
invite: "invite";
|
|
220
|
-
manual: "manual";
|
|
221
221
|
}>;
|
|
222
222
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
223
223
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
@@ -379,12 +379,12 @@ declare const LockedCommunitySpace: z.ZodObject<{
|
|
|
379
379
|
by_invite: "by_invite";
|
|
380
380
|
}>;
|
|
381
381
|
standing: z.ZodEnum<{
|
|
382
|
-
|
|
382
|
+
none: "none";
|
|
383
383
|
member: "member";
|
|
384
|
+
invited: "invited";
|
|
384
385
|
open: "open";
|
|
385
386
|
requested: "requested";
|
|
386
387
|
full: "full";
|
|
387
|
-
none: "none";
|
|
388
388
|
}>;
|
|
389
389
|
coverUrl: z.ZodNullable<z.ZodString>;
|
|
390
390
|
backgroundUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -401,12 +401,12 @@ declare const OpenCommunitySpace: z.ZodObject<{
|
|
|
401
401
|
by_invite: "by_invite";
|
|
402
402
|
}>;
|
|
403
403
|
standing: z.ZodEnum<{
|
|
404
|
-
|
|
404
|
+
none: "none";
|
|
405
405
|
member: "member";
|
|
406
|
+
invited: "invited";
|
|
406
407
|
open: "open";
|
|
407
408
|
requested: "requested";
|
|
408
409
|
full: "full";
|
|
409
|
-
none: "none";
|
|
410
410
|
}>;
|
|
411
411
|
coverUrl: z.ZodNullable<z.ZodString>;
|
|
412
412
|
backgroundUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -427,8 +427,8 @@ declare const OpenCommunitySpace: z.ZodObject<{
|
|
|
427
427
|
id: z.ZodString;
|
|
428
428
|
contentId: z.ZodString;
|
|
429
429
|
type: z.ZodEnum<{
|
|
430
|
-
course: "course";
|
|
431
430
|
download: "download";
|
|
431
|
+
course: "course";
|
|
432
432
|
community: "community";
|
|
433
433
|
}>;
|
|
434
434
|
title: z.ZodString;
|
|
@@ -451,12 +451,12 @@ declare const CommunityHomeSpace: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
451
451
|
by_invite: "by_invite";
|
|
452
452
|
}>;
|
|
453
453
|
standing: z.ZodEnum<{
|
|
454
|
-
|
|
454
|
+
none: "none";
|
|
455
455
|
member: "member";
|
|
456
|
+
invited: "invited";
|
|
456
457
|
open: "open";
|
|
457
458
|
requested: "requested";
|
|
458
459
|
full: "full";
|
|
459
|
-
none: "none";
|
|
460
460
|
}>;
|
|
461
461
|
coverUrl: z.ZodNullable<z.ZodString>;
|
|
462
462
|
backgroundUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -472,12 +472,12 @@ declare const CommunityHomeSpace: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
472
472
|
by_invite: "by_invite";
|
|
473
473
|
}>;
|
|
474
474
|
standing: z.ZodEnum<{
|
|
475
|
-
|
|
475
|
+
none: "none";
|
|
476
476
|
member: "member";
|
|
477
|
+
invited: "invited";
|
|
477
478
|
open: "open";
|
|
478
479
|
requested: "requested";
|
|
479
480
|
full: "full";
|
|
480
|
-
none: "none";
|
|
481
481
|
}>;
|
|
482
482
|
coverUrl: z.ZodNullable<z.ZodString>;
|
|
483
483
|
backgroundUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -498,8 +498,8 @@ declare const CommunityHomeSpace: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
498
498
|
id: z.ZodString;
|
|
499
499
|
contentId: z.ZodString;
|
|
500
500
|
type: z.ZodEnum<{
|
|
501
|
-
course: "course";
|
|
502
501
|
download: "download";
|
|
502
|
+
course: "course";
|
|
503
503
|
community: "community";
|
|
504
504
|
}>;
|
|
505
505
|
title: z.ZodString;
|
|
@@ -536,12 +536,12 @@ declare const CommunityHome: z.ZodObject<{
|
|
|
536
536
|
by_invite: "by_invite";
|
|
537
537
|
}>;
|
|
538
538
|
standing: z.ZodEnum<{
|
|
539
|
-
|
|
539
|
+
none: "none";
|
|
540
540
|
member: "member";
|
|
541
|
+
invited: "invited";
|
|
541
542
|
open: "open";
|
|
542
543
|
requested: "requested";
|
|
543
544
|
full: "full";
|
|
544
|
-
none: "none";
|
|
545
545
|
}>;
|
|
546
546
|
coverUrl: z.ZodNullable<z.ZodString>;
|
|
547
547
|
backgroundUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -557,12 +557,12 @@ declare const CommunityHome: z.ZodObject<{
|
|
|
557
557
|
by_invite: "by_invite";
|
|
558
558
|
}>;
|
|
559
559
|
standing: z.ZodEnum<{
|
|
560
|
-
|
|
560
|
+
none: "none";
|
|
561
561
|
member: "member";
|
|
562
|
+
invited: "invited";
|
|
562
563
|
open: "open";
|
|
563
564
|
requested: "requested";
|
|
564
565
|
full: "full";
|
|
565
|
-
none: "none";
|
|
566
566
|
}>;
|
|
567
567
|
coverUrl: z.ZodNullable<z.ZodString>;
|
|
568
568
|
backgroundUrl: z.ZodNullable<z.ZodString>;
|
|
@@ -583,8 +583,8 @@ declare const CommunityHome: z.ZodObject<{
|
|
|
583
583
|
id: z.ZodString;
|
|
584
584
|
contentId: z.ZodString;
|
|
585
585
|
type: z.ZodEnum<{
|
|
586
|
-
course: "course";
|
|
587
586
|
download: "download";
|
|
587
|
+
course: "course";
|
|
588
588
|
community: "community";
|
|
589
589
|
}>;
|
|
590
590
|
title: z.ZodString;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/http/schemas/content.d.ts
|
|
3
3
|
declare const CourseStatus: z.ZodEnum<{
|
|
4
|
-
draft: "draft";
|
|
5
4
|
published: "published";
|
|
5
|
+
draft: "draft";
|
|
6
6
|
}>;
|
|
7
7
|
type CourseStatus = z.infer<typeof CourseStatus>;
|
|
8
8
|
declare const CourseSettings: z.ZodObject<{
|
|
@@ -33,8 +33,8 @@ declare const Course: z.ZodObject<{
|
|
|
33
33
|
slug: z.ZodString;
|
|
34
34
|
description: z.ZodString;
|
|
35
35
|
status: z.ZodEnum<{
|
|
36
|
-
draft: "draft";
|
|
37
36
|
published: "published";
|
|
37
|
+
draft: "draft";
|
|
38
38
|
}>;
|
|
39
39
|
category: z.ZodString;
|
|
40
40
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
@@ -63,8 +63,8 @@ declare const UpdateCourse: z.ZodObject<{
|
|
|
63
63
|
description: z.ZodOptional<z.ZodString>;
|
|
64
64
|
category: z.ZodOptional<z.ZodString>;
|
|
65
65
|
status: z.ZodOptional<z.ZodEnum<{
|
|
66
|
-
draft: "draft";
|
|
67
66
|
published: "published";
|
|
67
|
+
draft: "draft";
|
|
68
68
|
}>>;
|
|
69
69
|
thumbnailAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
70
70
|
}, z.core.$strip>;
|
|
@@ -75,8 +75,8 @@ declare const CoursesQuery: z.ZodObject<{
|
|
|
75
75
|
search: z.ZodOptional<z.ZodString>;
|
|
76
76
|
sort: z.ZodOptional<z.ZodString>;
|
|
77
77
|
status: z.ZodOptional<z.ZodEnum<{
|
|
78
|
-
draft: "draft";
|
|
79
78
|
published: "published";
|
|
79
|
+
draft: "draft";
|
|
80
80
|
}>>;
|
|
81
81
|
category: z.ZodOptional<z.ZodString>;
|
|
82
82
|
}, z.core.$strip>;
|
|
@@ -90,8 +90,8 @@ declare const CoursesPage: z.ZodObject<{
|
|
|
90
90
|
slug: z.ZodString;
|
|
91
91
|
description: z.ZodString;
|
|
92
92
|
status: z.ZodEnum<{
|
|
93
|
-
draft: "draft";
|
|
94
93
|
published: "published";
|
|
94
|
+
draft: "draft";
|
|
95
95
|
}>;
|
|
96
96
|
category: z.ZodString;
|
|
97
97
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
@@ -32,8 +32,8 @@ declare const CourseLearner: z.ZodObject<{
|
|
|
32
32
|
image: z.ZodNullable<z.ZodString>;
|
|
33
33
|
status: z.ZodEnum<{
|
|
34
34
|
active: "active";
|
|
35
|
-
revoked: "revoked";
|
|
36
35
|
expired: "expired";
|
|
36
|
+
revoked: "revoked";
|
|
37
37
|
}>;
|
|
38
38
|
source: z.ZodString;
|
|
39
39
|
grantedAt: z.ZodString;
|
|
@@ -58,8 +58,8 @@ declare const CourseLearnersPage: z.ZodObject<{
|
|
|
58
58
|
image: z.ZodNullable<z.ZodString>;
|
|
59
59
|
status: z.ZodEnum<{
|
|
60
60
|
active: "active";
|
|
61
|
-
revoked: "revoked";
|
|
62
61
|
expired: "expired";
|
|
62
|
+
revoked: "revoked";
|
|
63
63
|
}>;
|
|
64
64
|
source: z.ZodString;
|
|
65
65
|
grantedAt: z.ZodString;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/http/schemas/downloads.d.ts
|
|
3
3
|
declare const DownloadStatus: z.ZodEnum<{
|
|
4
|
-
draft: "draft";
|
|
5
4
|
published: "published";
|
|
5
|
+
draft: "draft";
|
|
6
6
|
}>;
|
|
7
7
|
type DownloadStatus = z.infer<typeof DownloadStatus>;
|
|
8
8
|
declare const Download: z.ZodObject<{
|
|
@@ -13,8 +13,8 @@ declare const Download: z.ZodObject<{
|
|
|
13
13
|
slug: z.ZodString;
|
|
14
14
|
description: z.ZodString;
|
|
15
15
|
status: z.ZodEnum<{
|
|
16
|
-
draft: "draft";
|
|
17
16
|
published: "published";
|
|
17
|
+
draft: "draft";
|
|
18
18
|
}>;
|
|
19
19
|
category: z.ZodString;
|
|
20
20
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
@@ -49,8 +49,8 @@ declare const UpdateDownload: z.ZodObject<{
|
|
|
49
49
|
description: z.ZodOptional<z.ZodString>;
|
|
50
50
|
category: z.ZodOptional<z.ZodString>;
|
|
51
51
|
status: z.ZodOptional<z.ZodEnum<{
|
|
52
|
-
draft: "draft";
|
|
53
52
|
published: "published";
|
|
53
|
+
draft: "draft";
|
|
54
54
|
}>>;
|
|
55
55
|
thumbnailAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
56
56
|
}, z.core.$strip>;
|
|
@@ -61,8 +61,8 @@ declare const DownloadsQuery: z.ZodObject<{
|
|
|
61
61
|
search: z.ZodOptional<z.ZodString>;
|
|
62
62
|
sort: z.ZodOptional<z.ZodString>;
|
|
63
63
|
status: z.ZodOptional<z.ZodEnum<{
|
|
64
|
-
draft: "draft";
|
|
65
64
|
published: "published";
|
|
65
|
+
draft: "draft";
|
|
66
66
|
}>>;
|
|
67
67
|
category: z.ZodOptional<z.ZodString>;
|
|
68
68
|
}, z.core.$strip>;
|
|
@@ -76,8 +76,8 @@ declare const DownloadsPage: z.ZodObject<{
|
|
|
76
76
|
slug: z.ZodString;
|
|
77
77
|
description: z.ZodString;
|
|
78
78
|
status: z.ZodEnum<{
|
|
79
|
-
draft: "draft";
|
|
80
79
|
published: "published";
|
|
80
|
+
draft: "draft";
|
|
81
81
|
}>;
|
|
82
82
|
category: z.ZodString;
|
|
83
83
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
@@ -2,13 +2,13 @@ import { z } from "zod";
|
|
|
2
2
|
//#region src/http/schemas/entitlements.d.ts
|
|
3
3
|
declare const EntitlementStatus: z.ZodEnum<{
|
|
4
4
|
active: "active";
|
|
5
|
-
revoked: "revoked";
|
|
6
5
|
expired: "expired";
|
|
6
|
+
revoked: "revoked";
|
|
7
7
|
}>;
|
|
8
8
|
type EntitlementStatus = z.infer<typeof EntitlementStatus>;
|
|
9
9
|
declare const ContentType: z.ZodEnum<{
|
|
10
|
-
course: "course";
|
|
11
10
|
download: "download";
|
|
11
|
+
course: "course";
|
|
12
12
|
event: "event";
|
|
13
13
|
}>;
|
|
14
14
|
type ContentType = z.infer<typeof ContentType>;
|
|
@@ -17,8 +17,8 @@ type ContentType = z.infer<typeof ContentType>;
|
|
|
17
17
|
declare const ContentRef: z.ZodObject<{
|
|
18
18
|
id: z.ZodString;
|
|
19
19
|
type: z.ZodEnum<{
|
|
20
|
-
course: "course";
|
|
21
20
|
download: "download";
|
|
21
|
+
course: "course";
|
|
22
22
|
event: "event";
|
|
23
23
|
}>;
|
|
24
24
|
title: z.ZodString;
|
|
@@ -48,15 +48,15 @@ declare const EntitlementsQuery: z.ZodObject<{
|
|
|
48
48
|
sort: z.ZodOptional<z.ZodString>;
|
|
49
49
|
status: z.ZodOptional<z.ZodEnum<{
|
|
50
50
|
active: "active";
|
|
51
|
-
revoked: "revoked";
|
|
52
51
|
expired: "expired";
|
|
52
|
+
revoked: "revoked";
|
|
53
53
|
}>>;
|
|
54
54
|
source: z.ZodOptional<z.ZodString>;
|
|
55
55
|
orgUserId: z.ZodOptional<z.ZodString>;
|
|
56
56
|
contentId: z.ZodOptional<z.ZodString>;
|
|
57
57
|
type: z.ZodOptional<z.ZodEnum<{
|
|
58
|
-
course: "course";
|
|
59
58
|
download: "download";
|
|
59
|
+
course: "course";
|
|
60
60
|
event: "event";
|
|
61
61
|
}>>;
|
|
62
62
|
}, z.core.$strip>;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/http/schemas/events.d.ts
|
|
3
3
|
declare const EventStatus: z.ZodEnum<{
|
|
4
|
-
draft: "draft";
|
|
5
4
|
published: "published";
|
|
5
|
+
draft: "draft";
|
|
6
6
|
canceled: "canceled";
|
|
7
7
|
}>;
|
|
8
8
|
type EventStatus = z.infer<typeof EventStatus>;
|
|
@@ -14,8 +14,8 @@ declare const Event: z.ZodObject<{
|
|
|
14
14
|
description: z.ZodString;
|
|
15
15
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
16
16
|
status: z.ZodEnum<{
|
|
17
|
-
draft: "draft";
|
|
18
17
|
published: "published";
|
|
18
|
+
draft: "draft";
|
|
19
19
|
canceled: "canceled";
|
|
20
20
|
}>;
|
|
21
21
|
startsAt: z.ZodCoercedDate<unknown>;
|
|
@@ -134,8 +134,8 @@ declare const UpdateEvent: z.ZodObject<{
|
|
|
134
134
|
details: z.ZodNullable<z.ZodString>;
|
|
135
135
|
}, z.core.$strict>>>;
|
|
136
136
|
status: z.ZodOptional<z.ZodEnum<{
|
|
137
|
-
draft: "draft";
|
|
138
137
|
published: "published";
|
|
138
|
+
draft: "draft";
|
|
139
139
|
}>>;
|
|
140
140
|
settings: z.ZodOptional<z.ZodObject<{
|
|
141
141
|
type: z.ZodOptional<z.ZodEnum<{
|
|
@@ -153,8 +153,8 @@ declare const EventsQuery: z.ZodObject<{
|
|
|
153
153
|
pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
154
154
|
search: z.ZodOptional<z.ZodString>;
|
|
155
155
|
status: z.ZodOptional<z.ZodEnum<{
|
|
156
|
-
draft: "draft";
|
|
157
156
|
published: "published";
|
|
157
|
+
draft: "draft";
|
|
158
158
|
canceled: "canceled";
|
|
159
159
|
}>>;
|
|
160
160
|
from: z.ZodOptional<z.ZodPipe<z.ZodISODateTime, z.ZodCoercedDate<string>>>;
|
|
@@ -176,8 +176,8 @@ declare const EventsPage: z.ZodObject<{
|
|
|
176
176
|
description: z.ZodString;
|
|
177
177
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
178
178
|
status: z.ZodEnum<{
|
|
179
|
-
draft: "draft";
|
|
180
179
|
published: "published";
|
|
180
|
+
draft: "draft";
|
|
181
181
|
canceled: "canceled";
|
|
182
182
|
}>;
|
|
183
183
|
startsAt: z.ZodCoercedDate<unknown>;
|
|
@@ -254,21 +254,21 @@ declare const EventAttendeeParams: z.ZodObject<{
|
|
|
254
254
|
}, z.core.$strip>;
|
|
255
255
|
type EventAttendeeParams = z.infer<typeof EventAttendeeParams>;
|
|
256
256
|
declare const MemberEvent: z.ZodObject<{
|
|
257
|
-
description: z.ZodString;
|
|
258
|
-
id: z.ZodString;
|
|
259
257
|
type: z.ZodLiteral<"event">;
|
|
258
|
+
id: z.ZodString;
|
|
260
259
|
status: z.ZodEnum<{
|
|
261
|
-
draft: "draft";
|
|
262
260
|
published: "published";
|
|
261
|
+
draft: "draft";
|
|
263
262
|
canceled: "canceled";
|
|
264
263
|
}>;
|
|
265
|
-
title: z.ZodString;
|
|
266
264
|
orgId: z.ZodString;
|
|
265
|
+
title: z.ZodString;
|
|
266
|
+
description: z.ZodString;
|
|
267
267
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
268
|
-
timeZone: z.ZodString;
|
|
269
268
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
270
269
|
startsAt: z.ZodCoercedDate<unknown>;
|
|
271
270
|
endsAt: z.ZodCoercedDate<unknown>;
|
|
271
|
+
timeZone: z.ZodString;
|
|
272
272
|
recording: z.ZodNullable<z.ZodObject<{
|
|
273
273
|
url: z.ZodURL;
|
|
274
274
|
details: z.ZodNullable<z.ZodString>;
|
|
@@ -314,8 +314,8 @@ declare const MemberEvent: z.ZodObject<{
|
|
|
314
314
|
}, z.core.$strict>>;
|
|
315
315
|
attendeeCount: z.ZodNumber;
|
|
316
316
|
attendees: z.ZodArray<z.ZodObject<{
|
|
317
|
-
name: z.ZodString;
|
|
318
317
|
orgUserId: z.ZodString;
|
|
318
|
+
name: z.ZodString;
|
|
319
319
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
320
320
|
}, z.core.$strict>>;
|
|
321
321
|
placesLeft: z.ZodNullable<z.ZodNumber>;
|
|
@@ -343,37 +343,17 @@ declare const MemberEventsQuery: z.ZodObject<{
|
|
|
343
343
|
}, z.core.$strict>;
|
|
344
344
|
type MemberEventsQuery = z.infer<typeof MemberEventsQuery>;
|
|
345
345
|
declare const MemberEventSummary: z.ZodObject<{
|
|
346
|
-
id: z.ZodString;
|
|
347
346
|
type: z.ZodLiteral<"event">;
|
|
347
|
+
id: z.ZodString;
|
|
348
348
|
status: z.ZodEnum<{
|
|
349
|
-
draft: "draft";
|
|
350
349
|
published: "published";
|
|
350
|
+
draft: "draft";
|
|
351
351
|
canceled: "canceled";
|
|
352
352
|
}>;
|
|
353
|
-
title: z.ZodString;
|
|
354
353
|
orgId: z.ZodString;
|
|
355
|
-
|
|
356
|
-
type: z.ZodEnum<{
|
|
357
|
-
public: "public";
|
|
358
|
-
private: "private";
|
|
359
|
-
}>;
|
|
360
|
-
capacity: z.ZodNullable<z.ZodNumber>;
|
|
361
|
-
replay: z.ZodBoolean;
|
|
362
|
-
}, z.core.$strict>;
|
|
354
|
+
title: z.ZodString;
|
|
363
355
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
364
|
-
timeZone: z.ZodString;
|
|
365
356
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
366
|
-
viewer: z.ZodObject<{
|
|
367
|
-
attending: z.ZodBoolean;
|
|
368
|
-
canRegister: z.ZodBoolean;
|
|
369
|
-
canOpen: z.ZodBoolean;
|
|
370
|
-
canLeave: z.ZodBoolean;
|
|
371
|
-
canManageAttendees: z.ZodBoolean;
|
|
372
|
-
canAddAttendees: z.ZodBoolean;
|
|
373
|
-
canEdit: z.ZodBoolean;
|
|
374
|
-
canCancel: z.ZodBoolean;
|
|
375
|
-
canDelete: z.ZodBoolean;
|
|
376
|
-
}, z.core.$strict>;
|
|
377
357
|
location: z.ZodNullable<z.ZodObject<{
|
|
378
358
|
venue: z.ZodNullable<z.ZodObject<{
|
|
379
359
|
name: z.ZodString;
|
|
@@ -391,54 +371,54 @@ declare const MemberEventSummary: z.ZodObject<{
|
|
|
391
371
|
details: z.ZodNullable<z.ZodString>;
|
|
392
372
|
}, z.core.$strict>>;
|
|
393
373
|
}, z.core.$strict>>;
|
|
374
|
+
settings: z.ZodObject<{
|
|
375
|
+
type: z.ZodEnum<{
|
|
376
|
+
public: "public";
|
|
377
|
+
private: "private";
|
|
378
|
+
}>;
|
|
379
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
380
|
+
replay: z.ZodBoolean;
|
|
381
|
+
}, z.core.$strict>;
|
|
394
382
|
startsAt: z.ZodCoercedDate<unknown>;
|
|
395
383
|
endsAt: z.ZodCoercedDate<unknown>;
|
|
384
|
+
timeZone: z.ZodString;
|
|
396
385
|
recording: z.ZodNullable<z.ZodObject<{
|
|
397
386
|
url: z.ZodURL;
|
|
398
387
|
details: z.ZodNullable<z.ZodString>;
|
|
399
388
|
}, z.core.$strict>>;
|
|
400
389
|
attendeeCount: z.ZodNumber;
|
|
401
390
|
attendees: z.ZodArray<z.ZodObject<{
|
|
402
|
-
name: z.ZodString;
|
|
403
391
|
orgUserId: z.ZodString;
|
|
392
|
+
name: z.ZodString;
|
|
404
393
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
405
394
|
}, z.core.$strict>>;
|
|
406
395
|
placesLeft: z.ZodNullable<z.ZodNumber>;
|
|
396
|
+
viewer: z.ZodObject<{
|
|
397
|
+
attending: z.ZodBoolean;
|
|
398
|
+
canRegister: z.ZodBoolean;
|
|
399
|
+
canOpen: z.ZodBoolean;
|
|
400
|
+
canLeave: z.ZodBoolean;
|
|
401
|
+
canManageAttendees: z.ZodBoolean;
|
|
402
|
+
canAddAttendees: z.ZodBoolean;
|
|
403
|
+
canEdit: z.ZodBoolean;
|
|
404
|
+
canCancel: z.ZodBoolean;
|
|
405
|
+
canDelete: z.ZodBoolean;
|
|
406
|
+
}, z.core.$strict>;
|
|
407
407
|
}, z.core.$strict>;
|
|
408
408
|
type MemberEventSummary = z.infer<typeof MemberEventSummary>;
|
|
409
409
|
declare const MemberEventsPage: z.ZodObject<{
|
|
410
410
|
rows: z.ZodArray<z.ZodObject<{
|
|
411
|
-
id: z.ZodString;
|
|
412
411
|
type: z.ZodLiteral<"event">;
|
|
412
|
+
id: z.ZodString;
|
|
413
413
|
status: z.ZodEnum<{
|
|
414
|
-
draft: "draft";
|
|
415
414
|
published: "published";
|
|
415
|
+
draft: "draft";
|
|
416
416
|
canceled: "canceled";
|
|
417
417
|
}>;
|
|
418
|
-
title: z.ZodString;
|
|
419
418
|
orgId: z.ZodString;
|
|
420
|
-
|
|
421
|
-
type: z.ZodEnum<{
|
|
422
|
-
public: "public";
|
|
423
|
-
private: "private";
|
|
424
|
-
}>;
|
|
425
|
-
capacity: z.ZodNullable<z.ZodNumber>;
|
|
426
|
-
replay: z.ZodBoolean;
|
|
427
|
-
}, z.core.$strict>;
|
|
419
|
+
title: z.ZodString;
|
|
428
420
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
429
|
-
timeZone: z.ZodString;
|
|
430
421
|
thumbnailUrl: z.ZodNullable<z.ZodString>;
|
|
431
|
-
viewer: z.ZodObject<{
|
|
432
|
-
attending: z.ZodBoolean;
|
|
433
|
-
canRegister: z.ZodBoolean;
|
|
434
|
-
canOpen: z.ZodBoolean;
|
|
435
|
-
canLeave: z.ZodBoolean;
|
|
436
|
-
canManageAttendees: z.ZodBoolean;
|
|
437
|
-
canAddAttendees: z.ZodBoolean;
|
|
438
|
-
canEdit: z.ZodBoolean;
|
|
439
|
-
canCancel: z.ZodBoolean;
|
|
440
|
-
canDelete: z.ZodBoolean;
|
|
441
|
-
}, z.core.$strict>;
|
|
442
422
|
location: z.ZodNullable<z.ZodObject<{
|
|
443
423
|
venue: z.ZodNullable<z.ZodObject<{
|
|
444
424
|
name: z.ZodString;
|
|
@@ -456,19 +436,39 @@ declare const MemberEventsPage: z.ZodObject<{
|
|
|
456
436
|
details: z.ZodNullable<z.ZodString>;
|
|
457
437
|
}, z.core.$strict>>;
|
|
458
438
|
}, z.core.$strict>>;
|
|
439
|
+
settings: z.ZodObject<{
|
|
440
|
+
type: z.ZodEnum<{
|
|
441
|
+
public: "public";
|
|
442
|
+
private: "private";
|
|
443
|
+
}>;
|
|
444
|
+
capacity: z.ZodNullable<z.ZodNumber>;
|
|
445
|
+
replay: z.ZodBoolean;
|
|
446
|
+
}, z.core.$strict>;
|
|
459
447
|
startsAt: z.ZodCoercedDate<unknown>;
|
|
460
448
|
endsAt: z.ZodCoercedDate<unknown>;
|
|
449
|
+
timeZone: z.ZodString;
|
|
461
450
|
recording: z.ZodNullable<z.ZodObject<{
|
|
462
451
|
url: z.ZodURL;
|
|
463
452
|
details: z.ZodNullable<z.ZodString>;
|
|
464
453
|
}, z.core.$strict>>;
|
|
465
454
|
attendeeCount: z.ZodNumber;
|
|
466
455
|
attendees: z.ZodArray<z.ZodObject<{
|
|
467
|
-
name: z.ZodString;
|
|
468
456
|
orgUserId: z.ZodString;
|
|
457
|
+
name: z.ZodString;
|
|
469
458
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
470
459
|
}, z.core.$strict>>;
|
|
471
460
|
placesLeft: z.ZodNullable<z.ZodNumber>;
|
|
461
|
+
viewer: z.ZodObject<{
|
|
462
|
+
attending: z.ZodBoolean;
|
|
463
|
+
canRegister: z.ZodBoolean;
|
|
464
|
+
canOpen: z.ZodBoolean;
|
|
465
|
+
canLeave: z.ZodBoolean;
|
|
466
|
+
canManageAttendees: z.ZodBoolean;
|
|
467
|
+
canAddAttendees: z.ZodBoolean;
|
|
468
|
+
canEdit: z.ZodBoolean;
|
|
469
|
+
canCancel: z.ZodBoolean;
|
|
470
|
+
canDelete: z.ZodBoolean;
|
|
471
|
+
}, z.core.$strict>;
|
|
472
472
|
}, z.core.$strict>>;
|
|
473
473
|
total: z.ZodNumber;
|
|
474
474
|
page: z.ZodNumber;
|
|
@@ -480,8 +480,8 @@ declare const EventAttendee: z.ZodObject<{
|
|
|
480
480
|
name: z.ZodString;
|
|
481
481
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
482
482
|
source: z.ZodEnum<{
|
|
483
|
-
manual: "manual";
|
|
484
483
|
self: "self";
|
|
484
|
+
manual: "manual";
|
|
485
485
|
automation: "automation";
|
|
486
486
|
bundle: "bundle";
|
|
487
487
|
}>;
|
|
@@ -494,8 +494,8 @@ declare const EventAttendeesPage: z.ZodObject<{
|
|
|
494
494
|
name: z.ZodString;
|
|
495
495
|
avatarUrl: z.ZodNullable<z.ZodString>;
|
|
496
496
|
source: z.ZodEnum<{
|
|
497
|
-
manual: "manual";
|
|
498
497
|
self: "self";
|
|
498
|
+
manual: "manual";
|
|
499
499
|
automation: "automation";
|
|
500
500
|
bundle: "bundle";
|
|
501
501
|
}>;
|
|
@@ -37,20 +37,20 @@ type AvailableIntegrationsList = z.infer<typeof AvailableIntegrationsList>;
|
|
|
37
37
|
declare const Connection: z.ZodObject<{
|
|
38
38
|
id: z.ZodString;
|
|
39
39
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
40
|
-
active: z.ZodBoolean;
|
|
41
|
-
orgId: z.ZodString;
|
|
42
40
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
43
41
|
config: z.ZodRecord<z.ZodString, z.ZodType<import("@headless-lms/core/types").JsonValue, unknown, z.core.$ZodTypeInternals<import("@headless-lms/core/types").JsonValue, unknown>>>;
|
|
42
|
+
orgId: z.ZodString;
|
|
43
|
+
active: z.ZodBoolean;
|
|
44
44
|
integrationId: z.ZodString;
|
|
45
45
|
}, z.core.$strict>;
|
|
46
46
|
type Connection = z.infer<typeof Connection>;
|
|
47
47
|
declare const ConnectionsList: z.ZodArray<z.ZodObject<{
|
|
48
48
|
id: z.ZodString;
|
|
49
49
|
createdAt: z.ZodCoercedDate<unknown>;
|
|
50
|
-
active: z.ZodBoolean;
|
|
51
|
-
orgId: z.ZodString;
|
|
52
50
|
updatedAt: z.ZodCoercedDate<unknown>;
|
|
53
51
|
config: z.ZodRecord<z.ZodString, z.ZodType<import("@headless-lms/core/types").JsonValue, unknown, z.core.$ZodTypeInternals<import("@headless-lms/core/types").JsonValue, unknown>>>;
|
|
52
|
+
orgId: z.ZodString;
|
|
53
|
+
active: z.ZodBoolean;
|
|
54
54
|
integrationId: z.ZodString;
|
|
55
55
|
}, z.core.$strict>>;
|
|
56
56
|
type ConnectionsList = z.infer<typeof ConnectionsList>;
|
|
@@ -9,8 +9,8 @@ declare const MemberCourses: z.ZodArray<z.ZodObject<{
|
|
|
9
9
|
slug: z.ZodString;
|
|
10
10
|
description: z.ZodString;
|
|
11
11
|
status: z.ZodEnum<{
|
|
12
|
-
draft: "draft";
|
|
13
12
|
published: "published";
|
|
13
|
+
draft: "draft";
|
|
14
14
|
}>;
|
|
15
15
|
category: z.ZodString;
|
|
16
16
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
@@ -57,8 +57,8 @@ declare const MemberDownloads: z.ZodArray<z.ZodObject<{
|
|
|
57
57
|
slug: z.ZodString;
|
|
58
58
|
description: z.ZodString;
|
|
59
59
|
status: z.ZodEnum<{
|
|
60
|
-
draft: "draft";
|
|
61
60
|
published: "published";
|
|
61
|
+
draft: "draft";
|
|
62
62
|
}>;
|
|
63
63
|
category: z.ZodString;
|
|
64
64
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|
|
@@ -77,8 +77,8 @@ declare const MemberDownload: z.ZodObject<{
|
|
|
77
77
|
slug: z.ZodString;
|
|
78
78
|
description: z.ZodString;
|
|
79
79
|
status: z.ZodEnum<{
|
|
80
|
-
draft: "draft";
|
|
81
80
|
published: "published";
|
|
81
|
+
draft: "draft";
|
|
82
82
|
}>;
|
|
83
83
|
category: z.ZodString;
|
|
84
84
|
thumbnailAssetId: z.ZodNullable<z.ZodString>;
|