@headless-lms/server 0.5.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.
@@ -5,8 +5,8 @@ declare const Chat: z.ZodObject<{
5
5
  id: z.ZodString;
6
6
  communityId: z.ZodString;
7
7
  kind: z.ZodEnum<{
8
- direct: "direct";
9
8
  group: "group";
9
+ direct: "direct";
10
10
  }>;
11
11
  status: z.ZodEnum<{
12
12
  pending: "pending";
@@ -119,8 +119,8 @@ declare const ChatListItem: z.ZodObject<{
119
119
  id: z.ZodString;
120
120
  communityId: z.ZodString;
121
121
  kind: z.ZodEnum<{
122
- direct: "direct";
123
122
  group: "group";
123
+ direct: "direct";
124
124
  }>;
125
125
  status: z.ZodEnum<{
126
126
  pending: "pending";
@@ -170,8 +170,8 @@ declare const ChatsPage: z.ZodObject<{
170
170
  id: z.ZodString;
171
171
  communityId: z.ZodString;
172
172
  kind: z.ZodEnum<{
173
- direct: "direct";
174
173
  group: "group";
174
+ direct: "direct";
175
175
  }>;
176
176
  status: z.ZodEnum<{
177
177
  pending: "pending";
@@ -234,16 +234,16 @@ declare const ChatLiveEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
234
234
  type: z.ZodLiteral<"message.created">;
235
235
  chatId: z.ZodString;
236
236
  message: z.ZodObject<{
237
- orgId: z.ZodString;
237
+ clientId: z.ZodNullable<z.ZodUUID>;
238
238
  id: z.ZodString;
239
- communityId: z.ZodString;
240
239
  createdAt: z.ZodCoercedDate<unknown>;
240
+ orgId: z.ZodString;
241
241
  updatedAt: z.ZodCoercedDate<unknown>;
242
+ communityId: z.ZodString;
242
243
  orgUserId: z.ZodString;
243
244
  chatId: z.ZodString;
244
245
  body: z.ZodString;
245
246
  replyToId: z.ZodNullable<z.ZodString>;
246
- clientId: z.ZodNullable<z.ZodUUID>;
247
247
  editedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
248
248
  deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
249
249
  sender: z.ZodObject<{
@@ -272,16 +272,16 @@ declare const ChatLiveEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
272
272
  type: z.ZodLiteral<"message.updated">;
273
273
  chatId: z.ZodString;
274
274
  message: z.ZodObject<{
275
- orgId: z.ZodString;
275
+ clientId: z.ZodNullable<z.ZodUUID>;
276
276
  id: z.ZodString;
277
- communityId: z.ZodString;
278
277
  createdAt: z.ZodCoercedDate<unknown>;
278
+ orgId: z.ZodString;
279
279
  updatedAt: z.ZodCoercedDate<unknown>;
280
+ communityId: z.ZodString;
280
281
  orgUserId: z.ZodString;
281
282
  chatId: z.ZodString;
282
283
  body: z.ZodString;
283
284
  replyToId: z.ZodNullable<z.ZodString>;
284
- clientId: z.ZodNullable<z.ZodUUID>;
285
285
  editedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
286
286
  deletedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
287
287
  sender: z.ZodObject<{
@@ -326,8 +326,8 @@ declare const ChatLiveEvent: z.ZodDiscriminatedUnion<[z.ZodObject<{
326
326
  id: z.ZodString;
327
327
  communityId: z.ZodString;
328
328
  kind: z.ZodEnum<{
329
- direct: "direct";
330
329
  group: "group";
330
+ direct: "direct";
331
331
  }>;
332
332
  status: z.ZodEnum<{
333
333
  pending: "pending";
@@ -443,8 +443,8 @@ declare const MessageQueueEntry: z.ZodObject<{
443
443
  id: z.ZodString;
444
444
  communityId: z.ZodString;
445
445
  kind: z.ZodEnum<{
446
- direct: "direct";
447
446
  group: "group";
447
+ direct: "direct";
448
448
  }>;
449
449
  status: z.ZodEnum<{
450
450
  pending: "pending";
@@ -519,8 +519,8 @@ declare const MessageQueue: z.ZodObject<{
519
519
  id: z.ZodString;
520
520
  communityId: z.ZodString;
521
521
  kind: z.ZodEnum<{
522
- direct: "direct";
523
522
  group: "group";
523
+ direct: "direct";
524
524
  }>;
525
525
  status: z.ZodEnum<{
526
526
  pending: "pending";
@@ -154,6 +154,9 @@ declare const SpaceDetail: z.ZodObject<{
154
154
  reactions: z.ZodBoolean;
155
155
  requireReview: z.ZodBoolean;
156
156
  }, z.core.$strict>;
157
+ coverAssetId: z.ZodNullable<z.ZodString>;
158
+ backgroundAssetId: z.ZodNullable<z.ZodString>;
159
+ iconAssetId: z.ZodNullable<z.ZodString>;
157
160
  createdAt: z.ZodCoercedDate<unknown>;
158
161
  updatedAt: z.ZodCoercedDate<unknown>;
159
162
  topics: z.ZodArray<z.ZodObject<{
@@ -174,6 +177,9 @@ declare const SpaceDetail: z.ZodObject<{
174
177
  createdAt: z.ZodCoercedDate<unknown>;
175
178
  updatedAt: z.ZodCoercedDate<unknown>;
176
179
  }, z.core.$strict>>;
180
+ coverUrl: z.ZodNullable<z.ZodString>;
181
+ backgroundUrl: z.ZodNullable<z.ZodString>;
182
+ iconUrl: z.ZodNullable<z.ZodString>;
177
183
  }, z.core.$strict>;
178
184
  declare const SpaceMember: z.ZodObject<{
179
185
  orgId: z.ZodString;
@@ -182,9 +188,9 @@ declare const SpaceMember: z.ZodObject<{
182
188
  spaceId: z.ZodString;
183
189
  orgUserId: z.ZodString;
184
190
  status: z.ZodEnum<{
185
- requested: "requested";
186
- invited: "invited";
187
191
  active: "active";
192
+ invited: "invited";
193
+ requested: "requested";
188
194
  revoked: "revoked";
189
195
  }>;
190
196
  source: z.ZodEnum<{
@@ -203,9 +209,9 @@ declare const SpaceMembersPage: z.ZodObject<{
203
209
  spaceId: z.ZodString;
204
210
  orgUserId: z.ZodString;
205
211
  status: z.ZodEnum<{
206
- requested: "requested";
207
- invited: "invited";
208
212
  active: "active";
213
+ invited: "invited";
214
+ requested: "requested";
209
215
  revoked: "revoked";
210
216
  }>;
211
217
  source: z.ZodEnum<{
@@ -249,6 +255,9 @@ declare const UpdateSpace: z.ZodObject<{
249
255
  reactions: z.ZodOptional<z.ZodBoolean>;
250
256
  requireReview: z.ZodOptional<z.ZodBoolean>;
251
257
  }, z.core.$strict>>;
258
+ coverAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
259
+ backgroundAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
260
+ iconAssetId: z.ZodOptional<z.ZodNullable<z.ZodString>>;
252
261
  }, z.core.$strict>;
253
262
  declare const SetSpaceTopics: z.ZodObject<{
254
263
  topics: z.ZodArray<z.ZodObject<{
@@ -370,13 +379,16 @@ declare const LockedCommunitySpace: z.ZodObject<{
370
379
  by_invite: "by_invite";
371
380
  }>;
372
381
  standing: z.ZodEnum<{
373
- open: "open";
374
- requested: "requested";
375
382
  invited: "invited";
376
383
  member: "member";
384
+ open: "open";
385
+ requested: "requested";
377
386
  full: "full";
378
387
  none: "none";
379
388
  }>;
389
+ coverUrl: z.ZodNullable<z.ZodString>;
390
+ backgroundUrl: z.ZodNullable<z.ZodString>;
391
+ iconUrl: z.ZodNullable<z.ZodString>;
380
392
  locked: z.ZodLiteral<true>;
381
393
  }, z.core.$strip>;
382
394
  declare const OpenCommunitySpace: z.ZodObject<{
@@ -389,13 +401,16 @@ declare const OpenCommunitySpace: z.ZodObject<{
389
401
  by_invite: "by_invite";
390
402
  }>;
391
403
  standing: z.ZodEnum<{
392
- open: "open";
393
- requested: "requested";
394
404
  invited: "invited";
395
405
  member: "member";
406
+ open: "open";
407
+ requested: "requested";
396
408
  full: "full";
397
409
  none: "none";
398
410
  }>;
411
+ coverUrl: z.ZodNullable<z.ZodString>;
412
+ backgroundUrl: z.ZodNullable<z.ZodString>;
413
+ iconUrl: z.ZodNullable<z.ZodString>;
399
414
  locked: z.ZodLiteral<false>;
400
415
  description: z.ZodNullable<z.ZodString>;
401
416
  capacity: z.ZodNullable<z.ZodNumber>;
@@ -412,9 +427,9 @@ declare const OpenCommunitySpace: z.ZodObject<{
412
427
  id: z.ZodString;
413
428
  contentId: z.ZodString;
414
429
  type: z.ZodEnum<{
415
- community: "community";
416
430
  course: "course";
417
431
  download: "download";
432
+ community: "community";
418
433
  }>;
419
434
  title: z.ZodString;
420
435
  }, z.core.$strip>>;
@@ -436,13 +451,16 @@ declare const CommunityHomeSpace: z.ZodDiscriminatedUnion<[z.ZodObject<{
436
451
  by_invite: "by_invite";
437
452
  }>;
438
453
  standing: z.ZodEnum<{
439
- open: "open";
440
- requested: "requested";
441
454
  invited: "invited";
442
455
  member: "member";
456
+ open: "open";
457
+ requested: "requested";
443
458
  full: "full";
444
459
  none: "none";
445
460
  }>;
461
+ coverUrl: z.ZodNullable<z.ZodString>;
462
+ backgroundUrl: z.ZodNullable<z.ZodString>;
463
+ iconUrl: z.ZodNullable<z.ZodString>;
446
464
  locked: z.ZodLiteral<true>;
447
465
  }, z.core.$strip>, z.ZodObject<{
448
466
  id: z.ZodString;
@@ -454,13 +472,16 @@ declare const CommunityHomeSpace: z.ZodDiscriminatedUnion<[z.ZodObject<{
454
472
  by_invite: "by_invite";
455
473
  }>;
456
474
  standing: z.ZodEnum<{
457
- open: "open";
458
- requested: "requested";
459
475
  invited: "invited";
460
476
  member: "member";
477
+ open: "open";
478
+ requested: "requested";
461
479
  full: "full";
462
480
  none: "none";
463
481
  }>;
482
+ coverUrl: z.ZodNullable<z.ZodString>;
483
+ backgroundUrl: z.ZodNullable<z.ZodString>;
484
+ iconUrl: z.ZodNullable<z.ZodString>;
464
485
  locked: z.ZodLiteral<false>;
465
486
  description: z.ZodNullable<z.ZodString>;
466
487
  capacity: z.ZodNullable<z.ZodNumber>;
@@ -477,9 +498,9 @@ declare const CommunityHomeSpace: z.ZodDiscriminatedUnion<[z.ZodObject<{
477
498
  id: z.ZodString;
478
499
  contentId: z.ZodString;
479
500
  type: z.ZodEnum<{
480
- community: "community";
481
501
  course: "course";
482
502
  download: "download";
503
+ community: "community";
483
504
  }>;
484
505
  title: z.ZodString;
485
506
  }, z.core.$strip>>;
@@ -515,13 +536,16 @@ declare const CommunityHome: z.ZodObject<{
515
536
  by_invite: "by_invite";
516
537
  }>;
517
538
  standing: z.ZodEnum<{
518
- open: "open";
519
- requested: "requested";
520
539
  invited: "invited";
521
540
  member: "member";
541
+ open: "open";
542
+ requested: "requested";
522
543
  full: "full";
523
544
  none: "none";
524
545
  }>;
546
+ coverUrl: z.ZodNullable<z.ZodString>;
547
+ backgroundUrl: z.ZodNullable<z.ZodString>;
548
+ iconUrl: z.ZodNullable<z.ZodString>;
525
549
  locked: z.ZodLiteral<true>;
526
550
  }, z.core.$strip>, z.ZodObject<{
527
551
  id: z.ZodString;
@@ -533,13 +557,16 @@ declare const CommunityHome: z.ZodObject<{
533
557
  by_invite: "by_invite";
534
558
  }>;
535
559
  standing: z.ZodEnum<{
536
- open: "open";
537
- requested: "requested";
538
560
  invited: "invited";
539
561
  member: "member";
562
+ open: "open";
563
+ requested: "requested";
540
564
  full: "full";
541
565
  none: "none";
542
566
  }>;
567
+ coverUrl: z.ZodNullable<z.ZodString>;
568
+ backgroundUrl: z.ZodNullable<z.ZodString>;
569
+ iconUrl: z.ZodNullable<z.ZodString>;
543
570
  locked: z.ZodLiteral<false>;
544
571
  description: z.ZodNullable<z.ZodString>;
545
572
  capacity: z.ZodNullable<z.ZodNumber>;
@@ -556,9 +583,9 @@ declare const CommunityHome: z.ZodObject<{
556
583
  id: z.ZodString;
557
584
  contentId: z.ZodString;
558
585
  type: z.ZodEnum<{
559
- community: "community";
560
586
  course: "course";
561
587
  download: "download";
588
+ community: "community";
562
589
  }>;
563
590
  title: z.ZodString;
564
591
  }, z.core.$strip>>;
@@ -1,6 +1,6 @@
1
1
  import { ListQuery, OrgUserProfileSchema, PageQuery, paginated } from "./shared.js";
2
2
  import { z } from "zod";
3
- import { communityStatusSchema, communityViewSchema, createCommunityInputSchema, createSpaceInputSchema, dmSettingsSchema, idSchema, patchCommunitySettingsInputSchema, patchDmSettingsInputSchema, permissionSchema, setSpaceTopicsInputSchema, spaceDetailSchema, spaceMemberSchema, subscriptionViewSchema, updateCommunityInputSchema, updateSpaceInputSchema } from "@headless-lms/core/schemas";
3
+ import { communityStatusSchema, communityViewSchema, createCommunityInputSchema, createSpaceInputSchema, dmSettingsSchema, idSchema, patchCommunitySettingsInputSchema, patchDmSettingsInputSchema, permissionSchema, setSpaceTopicsInputSchema, spaceMemberSchema, spaceViewSchema, subscriptionViewSchema, updateCommunityInputSchema, updateSpaceInputSchema } from "@headless-lms/core/schemas";
4
4
  //#region src/http/schemas/community.ts
5
5
  const Community = communityViewSchema;
6
6
  const CommunitiesQuery = ListQuery.extend({ status: communityStatusSchema.optional() });
@@ -10,7 +10,7 @@ const UpdateCommunity = updateCommunityInputSchema;
10
10
  const PatchDmSettings = patchDmSettingsInputSchema;
11
11
  const PatchCommunitySettings = patchCommunitySettingsInputSchema;
12
12
  const DmSettings = dmSettingsSchema;
13
- const SpaceDetail = spaceDetailSchema;
13
+ const SpaceDetail = spaceViewSchema;
14
14
  const SpaceMember = spaceMemberSchema;
15
15
  const SpaceMembersPage = paginated(SpaceMember);
16
16
  const CreateSpace = createSpaceInputSchema;
@@ -78,7 +78,10 @@ const CommunityHomeSpaceBase = z.object({
78
78
  "invited",
79
79
  "full",
80
80
  "none"
81
- ]).describe("Where the viewer stands with this space, and so which action it offers. `open`: the viewer can open it without joining (an all-members space, or the viewer opens every space). `member`: the viewer belongs to it. `requested`: the viewer asked to join and awaits a decision. `invited`: the viewer may accept or refuse an invitation. `full`: it is at capacity. `none`: none of these; ask to join a `by_request` space, or wait for an invitation to a `by_invite` one.")
81
+ ]).describe("Where the viewer stands with this space, and so which action it offers. `open`: the viewer can open it without joining (an all-members space, or the viewer opens every space). `member`: the viewer belongs to it. `requested`: the viewer asked to join and awaits a decision. `invited`: the viewer may accept or refuse an invitation. `full`: it is at capacity. `none`: none of these; ask to join a `by_request` space, or wait for an invitation to a `by_invite` one."),
82
+ coverUrl: z.string().nullable(),
83
+ backgroundUrl: z.string().nullable(),
84
+ iconUrl: z.string().nullable()
82
85
  });
83
86
  const LockedCommunitySpace = CommunityHomeSpaceBase.extend({ locked: z.literal(true).describe("The viewer cannot open this space. Only enough to request a place, accept an invite or contact the team is served; never its description, topics, links or settings") });
84
87
  const OpenCommunitySpace = CommunityHomeSpaceBase.extend({
@@ -1 +1 @@
1
- {"version":3,"file":"community.js","names":[],"sources":["../../../src/http/schemas/community.ts"],"sourcesContent":["import { z } from 'zod';\nimport {\n communityStatusSchema,\n communityViewSchema,\n createCommunityInputSchema,\n createSpaceInputSchema,\n dmSettingsSchema,\n idSchema,\n patchDmSettingsInputSchema,\n permissionSchema,\n patchCommunitySettingsInputSchema,\n setSpaceTopicsInputSchema,\n spaceDetailSchema,\n spaceMemberSchema,\n subscriptionViewSchema,\n updateCommunityInputSchema,\n updateSpaceInputSchema,\n} from '@headless-lms/core/schemas';\nimport type {\n CommunityAnalytics as DomainCommunityAnalytics,\n CommunityMember as DomainCommunityMember,\n} from '@headless-lms/core/reporting/admin';\nimport type {\n CommunityHome as DomainCommunityHome,\n CommunityHomeSpace as DomainCommunityHomeSpace,\n DirectoryEntry as DomainDirectoryEntry,\n} from '@headless-lms/core/reporting/member';\nimport { ListQuery, OrgUserProfileSchema, PageQuery, paginated, type Matches } from './shared.js';\n\nexport const Community = communityViewSchema;\nexport const CommunitiesQuery = ListQuery.extend({\n status: communityStatusSchema.optional(),\n});\nexport const CommunitiesPage = paginated(Community);\nexport const CreateCommunity = createCommunityInputSchema;\nexport const UpdateCommunity = updateCommunityInputSchema;\nexport const PatchDmSettings = patchDmSettingsInputSchema;\nexport const PatchCommunitySettings = patchCommunitySettingsInputSchema;\nexport const DmSettings = dmSettingsSchema;\nexport const SpaceDetail = spaceDetailSchema;\nexport const SpaceMember = spaceMemberSchema;\nexport const SpaceMembersPage = paginated(SpaceMember);\nexport const CreateSpace = createSpaceInputSchema;\nexport const UpdateSpace = updateSpaceInputSchema;\nexport const SetSpaceTopics = setSpaceTopicsInputSchema;\nexport const OrderedIds = z\n .object({\n ids: z\n .array(idSchema)\n .min(1)\n .max(200)\n .describe('Every id in the collection, once each, in the new order'),\n })\n .strict();\nexport const SpaceLinkBody = z\n .object({ contentId: idSchema.describe('The course, download or community to link') })\n .strict();\n\nexport const CommunityIdParam = z.object({ communityId: z.string() });\nexport const CommunitySpaceParam = z.object({ communityId: z.string(), spaceId: z.string() });\nexport const SpaceIdParam = z.object({ spaceId: z.string() });\nexport const SpaceLinkParam = CommunitySpaceParam.extend({ linkId: z.string() });\nexport const SpaceMemberParam = CommunitySpaceParam.extend({ orgUserId: z.string() });\nexport const CommunityPostParam = z.object({ communityId: z.string(), postId: z.string() });\nexport const CommunityCommentParam = z.object({ communityId: z.string(), commentId: z.string() });\nexport const CommunityMessageParam = z.object({ communityId: z.string(), messageId: z.string() });\nexport const CommunityChatParam = z.object({ communityId: z.string(), chatId: z.string() });\n\nexport const CommunityMember = OrgUserProfileSchema.extend({\n team: z.boolean().describe('Shown as team in the community.'),\n roleName: z\n .string()\n .nullable()\n .describe('The name of the role that makes them team in the community, or null.'),\n opensEverySpace: z\n .boolean()\n .describe('Opens every space of the community, so holds no place in its spaces.'),\n});\ntype _CommunityMemberMatches = Matches<DomainCommunityMember, z.infer<typeof CommunityMember>> &\n Matches<z.infer<typeof CommunityMember>, DomainCommunityMember>;\nexport const CommunityMembersQuery = PageQuery.extend({ search: z.string().trim().optional() });\nexport const CommunityMembersPage = paginated(CommunityMember);\n\nexport const DirectoryEntry = z.object({\n orgUserId: z.string(),\n displayName: z.string().nullable(),\n headline: z.string().nullable(),\n bio: z.string().nullable(),\n imageAssetId: z.string().nullable(),\n imageUrl: z.string().nullable(),\n team: z.boolean().describe('Shown as team in this community'),\n roleName: z\n .string()\n .nullable()\n .describe('The name of the role that makes the person team here; null when not team'),\n opensEverySpace: z\n .boolean()\n .describe('Opens every space in this community, so holds no place in its spaces'),\n});\ntype _DirectoryMatches = Matches<\n Omit<DomainDirectoryEntry, 'userId'>,\n z.infer<typeof DirectoryEntry>\n> &\n Matches<z.infer<typeof DirectoryEntry>, Omit<DomainDirectoryEntry, 'userId'>>;\nexport const DirectoryQuery = PageQuery.extend({\n search: z.string().trim().max(100).optional().describe('Matches part of a display name'),\n});\nexport const DirectoryPage = paginated(DirectoryEntry);\n\nconst CommunityHomeSpaceBase = z.object({\n id: z.string(),\n name: z.string(),\n memberCount: z.number().int().describe('Active space members'),\n accessRule: z.enum(['all_members', 'by_request', 'by_invite']),\n standing: z\n .enum(['open', 'member', 'requested', 'invited', 'full', 'none'])\n .describe(\n 'Where the viewer stands with this space, and so which action it offers. `open`: the viewer can open it without joining (an all-members space, or the viewer opens every space). `member`: the viewer belongs to it. `requested`: the viewer asked to join and awaits a decision. `invited`: the viewer may accept or refuse an invitation. `full`: it is at capacity. `none`: none of these; ask to join a `by_request` space, or wait for an invitation to a `by_invite` one.',\n ),\n});\n\nexport const LockedCommunitySpace = CommunityHomeSpaceBase.extend({\n locked: z\n .literal(true)\n .describe(\n 'The viewer cannot open this space. Only enough to request a place, accept an invite or contact the team is served; never its description, topics, links or settings',\n ),\n});\n\nexport const OpenCommunitySpace = CommunityHomeSpaceBase.extend({\n locked: z.literal(false).describe('The viewer can open this space and read its feed'),\n description: z.string().nullable(),\n capacity: z.number().int().nullable(),\n settings: z.object({\n comments: z.boolean(),\n reactions: z.boolean(),\n requireReview: z.boolean(),\n }),\n topics: z.array(z.object({ id: z.string(), name: z.string() })),\n links: z\n .array(\n z.object({\n id: z.string(),\n contentId: z.string(),\n type: z.enum(['course', 'download', 'community']),\n title: z.string(),\n }),\n )\n .describe(\n \"Linked content that is published; a holder of the item's read permission also sees it unpublished\",\n ),\n subscription: subscriptionViewSchema\n .nullable()\n .describe('Your mute on this space while it applies; null when none'),\n});\n\nexport const CommunityHomeSpace = z\n .discriminatedUnion('locked', [LockedCommunitySpace, OpenCommunitySpace])\n .describe(\n 'A space as the viewer sees it. A by-invite space the viewer is not invited to or a member of is never served',\n );\ntype _HomeSpaceMatches = Matches<DomainCommunityHomeSpace, z.infer<typeof CommunityHomeSpace>> &\n Matches<z.infer<typeof CommunityHomeSpace>, DomainCommunityHomeSpace>;\n\nexport const CommunityHome = z.object({\n communityId: z.string(),\n title: z.string(),\n description: z.string(),\n thumbnailUrl: z.string().nullable(),\n dm: dmSettingsSchema,\n spaces: z.array(CommunityHomeSpace),\n viewer: z\n .object({\n permissions: z.array(permissionSchema).describe('What the viewer holds on this community'),\n opensEverySpace: z\n .boolean()\n .describe('The viewer opens every space, so holds no place in its spaces'),\n team: z.boolean().describe('The viewer is shown as team here'),\n roleName: z.string().describe(\"The name of the viewer's role here\"),\n canCreateEvents: z.boolean().describe('The viewer holds `events:write` on the org'),\n })\n .describe('The viewer in this community'),\n});\ntype _HomeMatches = Matches<DomainCommunityHome, z.infer<typeof CommunityHome>> &\n Matches<z.infer<typeof CommunityHome>, DomainCommunityHome>;\n\nexport const CommunityAnalytics = z.object({\n memberCount: z.number().int(),\n activeMembers: z.number().int(),\n postsPerSpace: z.array(z.object({ spaceId: z.string(), count: z.number().int() })),\n commentsPerPost: z.array(z.object({ postId: z.string(), count: z.number().int() })),\n messagesSent: z.number().int(),\n flagsRaised: z.number().int(),\n flagsResolved: z.number().int(),\n grantsLapsed: z.number().int(),\n grantsRenewed: z.number().int(),\n});\ntype _AnalyticsMatches = Matches<DomainCommunityAnalytics, z.infer<typeof CommunityAnalytics>> &\n Matches<z.infer<typeof CommunityAnalytics>, DomainCommunityAnalytics>;\n"],"mappings":";;;;AA6BA,MAAa,YAAY;AACzB,MAAa,mBAAmB,UAAU,OAAO,EAC/C,QAAQ,sBAAsB,SAAS,EACzC,CAAC;AACD,MAAa,kBAAkB,UAAU,SAAS;AAClD,MAAa,kBAAkB;AAC/B,MAAa,kBAAkB;AAC/B,MAAa,kBAAkB;AAC/B,MAAa,yBAAyB;AACtC,MAAa,aAAa;AAC1B,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,mBAAmB,UAAU,WAAW;AACrD,MAAa,cAAc;AAC3B,MAAa,cAAc;AAC3B,MAAa,iBAAiB;AAC9B,MAAa,aAAa,EACvB,OAAO,EACN,KAAK,EACF,MAAM,QAAQ,CAAC,CACf,IAAI,CAAC,CAAC,CACN,IAAI,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,EAAE,OAAO,CAAC,CAAC,IAAI;CAC9B,eAAe,EAAE,MAAM,EAAE,OAAO;EAAE,SAAS,EAAE,OAAO;EAAG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI;CAAE,CAAC,CAAC;CACjF,iBAAiB,EAAE,MAAM,EAAE,OAAO;EAAE,QAAQ,EAAE,OAAO;EAAG,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI;CAAE,CAAC,CAAC;CAClF,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI;CAC7B,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI;CAC5B,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI;CAC9B,cAAc,EAAE,OAAO,CAAC,CAAC,IAAI;CAC7B,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI;AAChC,CAAC"}
1
+ {"version":3,"file":"community.js","names":[],"sources":["../../../src/http/schemas/community.ts"],"sourcesContent":["import { z } from 'zod';\nimport {\n communityStatusSchema,\n communityViewSchema,\n createCommunityInputSchema,\n createSpaceInputSchema,\n dmSettingsSchema,\n idSchema,\n patchDmSettingsInputSchema,\n permissionSchema,\n patchCommunitySettingsInputSchema,\n setSpaceTopicsInputSchema,\n spaceViewSchema,\n spaceMemberSchema,\n subscriptionViewSchema,\n updateCommunityInputSchema,\n updateSpaceInputSchema,\n} from '@headless-lms/core/schemas';\nimport type {\n CommunityAnalytics as DomainCommunityAnalytics,\n CommunityMember as DomainCommunityMember,\n} from '@headless-lms/core/reporting/admin';\nimport type {\n CommunityHome as DomainCommunityHome,\n CommunityHomeSpace as DomainCommunityHomeSpace,\n DirectoryEntry as DomainDirectoryEntry,\n} from '@headless-lms/core/reporting/member';\nimport { ListQuery, OrgUserProfileSchema, PageQuery, paginated, type Matches } from './shared.js';\n\nexport const Community = communityViewSchema;\nexport const CommunitiesQuery = ListQuery.extend({\n status: communityStatusSchema.optional(),\n});\nexport const CommunitiesPage = paginated(Community);\nexport const CreateCommunity = createCommunityInputSchema;\nexport const UpdateCommunity = updateCommunityInputSchema;\nexport const PatchDmSettings = patchDmSettingsInputSchema;\nexport const PatchCommunitySettings = patchCommunitySettingsInputSchema;\nexport const DmSettings = dmSettingsSchema;\nexport const SpaceDetail = spaceViewSchema;\nexport const SpaceMember = spaceMemberSchema;\nexport const SpaceMembersPage = paginated(SpaceMember);\nexport const CreateSpace = createSpaceInputSchema;\nexport const UpdateSpace = updateSpaceInputSchema;\nexport const SetSpaceTopics = setSpaceTopicsInputSchema;\nexport const OrderedIds = z\n .object({\n ids: z\n .array(idSchema)\n .min(1)\n .max(200)\n .describe('Every id in the collection, once each, in the new order'),\n })\n .strict();\nexport const SpaceLinkBody = z\n .object({ contentId: idSchema.describe('The course, download or community to link') })\n .strict();\n\nexport const CommunityIdParam = z.object({ communityId: z.string() });\nexport const CommunitySpaceParam = z.object({ communityId: z.string(), spaceId: z.string() });\nexport const SpaceIdParam = z.object({ spaceId: z.string() });\nexport const SpaceLinkParam = CommunitySpaceParam.extend({ linkId: z.string() });\nexport const SpaceMemberParam = CommunitySpaceParam.extend({ orgUserId: z.string() });\nexport const CommunityPostParam = z.object({ communityId: z.string(), postId: z.string() });\nexport const CommunityCommentParam = z.object({ communityId: z.string(), commentId: z.string() });\nexport const CommunityMessageParam = z.object({ communityId: z.string(), messageId: z.string() });\nexport const CommunityChatParam = z.object({ communityId: z.string(), chatId: z.string() });\n\nexport const CommunityMember = OrgUserProfileSchema.extend({\n team: z.boolean().describe('Shown as team in the community.'),\n roleName: z\n .string()\n .nullable()\n .describe('The name of the role that makes them team in the community, or null.'),\n opensEverySpace: z\n .boolean()\n .describe('Opens every space of the community, so holds no place in its spaces.'),\n});\ntype _CommunityMemberMatches = Matches<DomainCommunityMember, z.infer<typeof CommunityMember>> &\n Matches<z.infer<typeof CommunityMember>, DomainCommunityMember>;\nexport const CommunityMembersQuery = PageQuery.extend({ search: z.string().trim().optional() });\nexport const CommunityMembersPage = paginated(CommunityMember);\n\nexport const DirectoryEntry = z.object({\n orgUserId: z.string(),\n displayName: z.string().nullable(),\n headline: z.string().nullable(),\n bio: z.string().nullable(),\n imageAssetId: z.string().nullable(),\n imageUrl: z.string().nullable(),\n team: z.boolean().describe('Shown as team in this community'),\n roleName: z\n .string()\n .nullable()\n .describe('The name of the role that makes the person team here; null when not team'),\n opensEverySpace: z\n .boolean()\n .describe('Opens every space in this community, so holds no place in its spaces'),\n});\ntype _DirectoryMatches = Matches<\n Omit<DomainDirectoryEntry, 'userId'>,\n z.infer<typeof DirectoryEntry>\n> &\n Matches<z.infer<typeof DirectoryEntry>, Omit<DomainDirectoryEntry, 'userId'>>;\nexport const DirectoryQuery = PageQuery.extend({\n search: z.string().trim().max(100).optional().describe('Matches part of a display name'),\n});\nexport const DirectoryPage = paginated(DirectoryEntry);\n\nconst CommunityHomeSpaceBase = z.object({\n id: z.string(),\n name: z.string(),\n memberCount: z.number().int().describe('Active space members'),\n accessRule: z.enum(['all_members', 'by_request', 'by_invite']),\n standing: z\n .enum(['open', 'member', 'requested', 'invited', 'full', 'none'])\n .describe(\n 'Where the viewer stands with this space, and so which action it offers. `open`: the viewer can open it without joining (an all-members space, or the viewer opens every space). `member`: the viewer belongs to it. `requested`: the viewer asked to join and awaits a decision. `invited`: the viewer may accept or refuse an invitation. `full`: it is at capacity. `none`: none of these; ask to join a `by_request` space, or wait for an invitation to a `by_invite` one.',\n ),\n coverUrl: z.string().nullable(),\n backgroundUrl: z.string().nullable(),\n iconUrl: z.string().nullable(),\n});\n\nexport const LockedCommunitySpace = CommunityHomeSpaceBase.extend({\n locked: z\n .literal(true)\n .describe(\n 'The viewer cannot open this space. Only enough to request a place, accept an invite or contact the team is served; never its description, topics, links or settings',\n ),\n});\n\nexport const OpenCommunitySpace = CommunityHomeSpaceBase.extend({\n locked: z.literal(false).describe('The viewer can open this space and read its feed'),\n description: z.string().nullable(),\n capacity: z.number().int().nullable(),\n settings: z.object({\n comments: z.boolean(),\n reactions: z.boolean(),\n requireReview: z.boolean(),\n }),\n topics: z.array(z.object({ id: z.string(), name: z.string() })),\n links: z\n .array(\n z.object({\n id: z.string(),\n contentId: z.string(),\n type: z.enum(['course', 'download', 'community']),\n title: z.string(),\n }),\n )\n .describe(\n \"Linked content that is published; a holder of the item's read permission also sees it unpublished\",\n ),\n subscription: subscriptionViewSchema\n .nullable()\n .describe('Your mute on this space while it applies; null when none'),\n});\n\nexport const CommunityHomeSpace = z\n .discriminatedUnion('locked', [LockedCommunitySpace, OpenCommunitySpace])\n .describe(\n 'A space as the viewer sees it. A by-invite space the viewer is not invited to or a member of is never served',\n );\ntype _HomeSpaceMatches = Matches<DomainCommunityHomeSpace, z.infer<typeof CommunityHomeSpace>> &\n Matches<z.infer<typeof CommunityHomeSpace>, DomainCommunityHomeSpace>;\n\nexport const CommunityHome = z.object({\n communityId: z.string(),\n title: z.string(),\n description: z.string(),\n thumbnailUrl: z.string().nullable(),\n dm: dmSettingsSchema,\n spaces: z.array(CommunityHomeSpace),\n viewer: z\n .object({\n permissions: z.array(permissionSchema).describe('What the viewer holds on this community'),\n opensEverySpace: z\n .boolean()\n .describe('The viewer opens every space, so holds no place in its spaces'),\n team: z.boolean().describe('The viewer is shown as team here'),\n roleName: z.string().describe(\"The name of the viewer's role here\"),\n canCreateEvents: z.boolean().describe('The viewer holds `events:write` on the org'),\n })\n .describe('The viewer in this community'),\n});\ntype _HomeMatches = Matches<DomainCommunityHome, z.infer<typeof CommunityHome>> &\n Matches<z.infer<typeof CommunityHome>, DomainCommunityHome>;\n\nexport const CommunityAnalytics = z.object({\n memberCount: z.number().int(),\n activeMembers: z.number().int(),\n postsPerSpace: z.array(z.object({ spaceId: z.string(), count: z.number().int() })),\n commentsPerPost: z.array(z.object({ postId: z.string(), count: z.number().int() })),\n messagesSent: z.number().int(),\n flagsRaised: z.number().int(),\n flagsResolved: z.number().int(),\n grantsLapsed: z.number().int(),\n grantsRenewed: z.number().int(),\n});\ntype _AnalyticsMatches = Matches<DomainCommunityAnalytics, z.infer<typeof CommunityAnalytics>> &\n Mat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eParams = z.infer<typeof EventAttendeeParams>;
256
256
  declare const MemberEvent: z.ZodObject<{
257
- orgId: z.ZodString;
257
+ description: z.ZodString;
258
258
  id: z.ZodString;
259
+ type: z.ZodLiteral<"event">;
259
260
  status: z.ZodEnum<{
260
261
  draft: "draft";
261
262
  published: "published";
262
263
  canceled: "canceled";
263
264
  }>;
264
- type: z.ZodLiteral<"event">;
265
265
  title: z.ZodString;
266
- description: z.ZodString;
266
+ orgId: z.ZodString;
267
267
  thumbnailAssetId: z.ZodNullable<z.ZodString>;
268
268
  timeZone: z.ZodString;
269
269
  thumbnailUrl: 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
- orgUserId: z.ZodString;
318
317
  name: z.ZodString;
318
+ orgUserId: z.ZodString;
319
319
  avatarUrl: z.ZodNullable<z.ZodString>;
320
320
  }, z.core.$strict>>;
321
321
  placesLeft: z.ZodNullable<z.ZodNumber>;
@@ -343,14 +343,15 @@ 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
- orgId: z.ZodString;
347
346
  id: z.ZodString;
347
+ type: z.ZodLiteral<"event">;
348
348
  status: z.ZodEnum<{
349
349
  draft: "draft";
350
350
  published: "published";
351
351
  canceled: "canceled";
352
352
  }>;
353
- type: z.ZodLiteral<"event">;
353
+ title: z.ZodString;
354
+ orgId: z.ZodString;
354
355
  settings: z.ZodObject<{
355
356
  type: z.ZodEnum<{
356
357
  public: "public";
@@ -359,7 +360,6 @@ declare const MemberEventSummary: z.ZodObject<{
359
360
  capacity: z.ZodNullable<z.ZodNumber>;
360
361
  replay: z.ZodBoolean;
361
362
  }, z.core.$strict>;
362
- title: z.ZodString;
363
363
  thumbnailAssetId: z.ZodNullable<z.ZodString>;
364
364
  timeZone: z.ZodString;
365
365
  thumbnailUrl: z.ZodNullable<z.ZodString>;
@@ -399,8 +399,8 @@ declare const MemberEventSummary: z.ZodObject<{
399
399
  }, z.core.$strict>>;
400
400
  attendeeCount: z.ZodNumber;
401
401
  attendees: z.ZodArray<z.ZodObject<{
402
- orgUserId: z.ZodString;
403
402
  name: z.ZodString;
403
+ orgUserId: z.ZodString;
404
404
  avatarUrl: z.ZodNullable<z.ZodString>;
405
405
  }, z.core.$strict>>;
406
406
  placesLeft: z.ZodNullable<z.ZodNumber>;
@@ -408,14 +408,15 @@ declare const MemberEventSummary: z.ZodObject<{
408
408
  type MemberEventSummary = z.infer<typeof MemberEventSummary>;
409
409
  declare const MemberEventsPage: z.ZodObject<{
410
410
  rows: z.ZodArray<z.ZodObject<{
411
- orgId: z.ZodString;
412
411
  id: z.ZodString;
412
+ type: z.ZodLiteral<"event">;
413
413
  status: z.ZodEnum<{
414
414
  draft: "draft";
415
415
  published: "published";
416
416
  canceled: "canceled";
417
417
  }>;
418
- type: z.ZodLiteral<"event">;
418
+ title: z.ZodString;
419
+ orgId: z.ZodString;
419
420
  settings: z.ZodObject<{
420
421
  type: z.ZodEnum<{
421
422
  public: "public";
@@ -424,7 +425,6 @@ declare const MemberEventsPage: z.ZodObject<{
424
425
  capacity: z.ZodNullable<z.ZodNumber>;
425
426
  replay: z.ZodBoolean;
426
427
  }, z.core.$strict>;
427
- title: z.ZodString;
428
428
  thumbnailAssetId: z.ZodNullable<z.ZodString>;
429
429
  timeZone: z.ZodString;
430
430
  thumbnailUrl: z.ZodNullable<z.ZodString>;
@@ -464,8 +464,8 @@ declare const MemberEventsPage: z.ZodObject<{
464
464
  }, z.core.$strict>>;
465
465
  attendeeCount: z.ZodNumber;
466
466
  attendees: z.ZodArray<z.ZodObject<{
467
- orgUserId: z.ZodString;
468
467
  name: z.ZodString;
468
+ orgUserId: z.ZodString;
469
469
  avatarUrl: z.ZodNullable<z.ZodString>;
470
470
  }, z.core.$strict>>;
471
471
  placesLeft: z.ZodNullable<z.ZodNumber>;
@@ -12,6 +12,15 @@ declare const CommunityThumbnailParams: z.ZodObject<{
12
12
  communityId: z.ZodString;
13
13
  }, z.core.$strip>;
14
14
  type CommunityThumbnailParams = z.infer<typeof CommunityThumbnailParams>;
15
+ declare const SpaceImageParams: z.ZodObject<{
16
+ spaceId: z.ZodString;
17
+ image: z.ZodEnum<{
18
+ cover: "cover";
19
+ background: "background";
20
+ icon: "icon";
21
+ }>;
22
+ }, z.core.$strip>;
23
+ type SpaceImageParams = z.infer<typeof SpaceImageParams>;
15
24
  declare const ActivityFileParams: z.ZodObject<{
16
25
  activityId: z.ZodString;
17
26
  assetId: z.ZodString;
@@ -51,5 +60,5 @@ declare const UploadFileParams: z.ZodObject<{
51
60
  }, z.core.$strip>;
52
61
  type UploadFileParams = z.infer<typeof UploadFileParams>;
53
62
  //#endregion
54
- export { ActivityFileParams, CommunityThumbnailParams, CourseThumbnailParams, DownloadFileParams, DownloadThumbnailParams, EventFileParams, EventThumbnailParams, MessageAttachmentParams, PostAssetParams, PostCoverParams, UploadFileParams };
63
+ export { ActivityFileParams, CommunityThumbnailParams, CourseThumbnailParams, DownloadFileParams, DownloadThumbnailParams, EventFileParams, EventThumbnailParams, MessageAttachmentParams, PostAssetParams, PostCoverParams, SpaceImageParams, UploadFileParams };
55
64
  //# sourceMappingURL=files.d.ts.map
@@ -1,8 +1,13 @@
1
1
  import { z } from "zod";
2
+ import { spaceImageSchema } from "@headless-lms/core/schemas";
2
3
  //#region src/http/schemas/files.ts
3
4
  const CourseThumbnailParams = z.object({ courseId: z.string() });
4
5
  const DownloadThumbnailParams = z.object({ downloadId: z.string() });
5
6
  const CommunityThumbnailParams = z.object({ communityId: z.string() });
7
+ const SpaceImageParams = z.object({
8
+ spaceId: z.string(),
9
+ image: spaceImageSchema
10
+ });
6
11
  const ActivityFileParams = z.object({
7
12
  activityId: z.string(),
8
13
  assetId: z.string()
@@ -28,6 +33,6 @@ const MessageAttachmentParams = z.object({
28
33
  });
29
34
  const UploadFileParams = z.object({ id: z.string() });
30
35
  //#endregion
31
- export { ActivityFileParams, CommunityThumbnailParams, CourseThumbnailParams, DownloadFileParams, DownloadThumbnailParams, EventFileParams, EventThumbnailParams, MessageAttachmentParams, PostAssetParams, PostCoverParams, UploadFileParams };
36
+ export { ActivityFileParams, CommunityThumbnailParams, CourseThumbnailParams, DownloadFileParams, DownloadThumbnailParams, EventFileParams, EventThumbnailParams, MessageAttachmentParams, PostAssetParams, PostCoverParams, SpaceImageParams, UploadFileParams };
32
37
 
33
38
  //# sourceMappingURL=files.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"files.js","names":[],"sources":["../../../src/http/schemas/files.ts"],"sourcesContent":["// File proxy schemas. Every file is fetched from a stable URL that checks access\n// on each request and answers 302 with a signed storage URL.\nimport { z } from 'zod';\n\nexport const CourseThumbnailParams = z.object({ courseId: z.string() });\nexport type CourseThumbnailParams = z.infer<typeof CourseThumbnailParams>;\n\nexport const DownloadThumbnailParams = z.object({ downloadId: z.string() });\nexport type DownloadThumbnailParams = z.infer<typeof DownloadThumbnailParams>;\n\nexport const CommunityThumbnailParams = z.object({ communityId: z.string() });\nexport type CommunityThumbnailParams = z.infer<typeof CommunityThumbnailParams>;\n\nexport const ActivityFileParams = z.object({ activityId: z.string(), assetId: z.string() });\nexport type ActivityFileParams = z.infer<typeof ActivityFileParams>;\n\nexport const DownloadFileParams = z.object({ downloadId: z.string(), assetId: z.string() });\nexport type DownloadFileParams = z.infer<typeof DownloadFileParams>;\n\nexport const EventThumbnailParams = z.object({ eventId: z.string() });\nexport type EventThumbnailParams = z.infer<typeof EventThumbnailParams>;\n\nexport const EventFileParams = z.object({ eventId: z.string(), assetId: z.string() });\nexport type EventFileParams = z.infer<typeof EventFileParams>;\n\nexport const PostCoverParams = z.object({ postId: z.string() });\nexport type PostCoverParams = z.infer<typeof PostCoverParams>;\n\nexport const PostAssetParams = z.object({ postId: z.string(), assetId: z.string() });\nexport type PostAssetParams = z.infer<typeof PostAssetParams>;\n\nexport const MessageAttachmentParams = z.object({\n chatId: z.string(),\n messageId: z.string(),\n assetId: z.string(),\n});\nexport type MessageAttachmentParams = z.infer<typeof MessageAttachmentParams>;\n\nexport const UploadFileParams = z.object({ id: z.string() });\nexport type UploadFileParams = z.infer<typeof UploadFileParams>;\n"],"mappings":";;AAIA,MAAa,wBAAwB,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AAGtE,MAAa,0BAA0B,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC;AAG1E,MAAa,2BAA2B,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC;AAG5E,MAAa,qBAAqB,EAAE,OAAO;CAAE,YAAY,EAAE,OAAO;CAAG,SAAS,EAAE,OAAO;AAAE,CAAC;AAG1F,MAAa,qBAAqB,EAAE,OAAO;CAAE,YAAY,EAAE,OAAO;CAAG,SAAS,EAAE,OAAO;AAAE,CAAC;AAG1F,MAAa,uBAAuB,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;AAGpE,MAAa,kBAAkB,EAAE,OAAO;CAAE,SAAS,EAAE,OAAO;CAAG,SAAS,EAAE,OAAO;AAAE,CAAC;AAGpF,MAAa,kBAAkB,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;AAG9D,MAAa,kBAAkB,EAAE,OAAO;CAAE,QAAQ,EAAE,OAAO;CAAG,SAAS,EAAE,OAAO;AAAE,CAAC;AAGnF,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO;CACjB,WAAW,EAAE,OAAO;CACpB,SAAS,EAAE,OAAO;AACpB,CAAC;AAGD,MAAa,mBAAmB,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
1
+ {"version":3,"file":"files.js","names":[],"sources":["../../../src/http/schemas/files.ts"],"sourcesContent":["// File proxy schemas. Every file is fetched from a stable URL that checks access\n// on each request and answers 302 with a signed storage URL.\nimport { z } from 'zod';\nimport { spaceImageSchema } from '@headless-lms/core/schemas';\n\nexport const CourseThumbnailParams = z.object({ courseId: z.string() });\nexport type CourseThumbnailParams = z.infer<typeof CourseThumbnailParams>;\n\nexport const DownloadThumbnailParams = z.object({ downloadId: z.string() });\nexport type DownloadThumbnailParams = z.infer<typeof DownloadThumbnailParams>;\n\nexport const CommunityThumbnailParams = z.object({ communityId: z.string() });\nexport type CommunityThumbnailParams = z.infer<typeof CommunityThumbnailParams>;\n\nexport const SpaceImageParams = z.object({ spaceId: z.string(), image: spaceImageSchema });\nexport type SpaceImageParams = z.infer<typeof SpaceImageParams>;\n\nexport const ActivityFileParams = z.object({ activityId: z.string(), assetId: z.string() });\nexport type ActivityFileParams = z.infer<typeof ActivityFileParams>;\n\nexport const DownloadFileParams = z.object({ downloadId: z.string(), assetId: z.string() });\nexport type DownloadFileParams = z.infer<typeof DownloadFileParams>;\n\nexport const EventThumbnailParams = z.object({ eventId: z.string() });\nexport type EventThumbnailParams = z.infer<typeof EventThumbnailParams>;\n\nexport const EventFileParams = z.object({ eventId: z.string(), assetId: z.string() });\nexport type EventFileParams = z.infer<typeof EventFileParams>;\n\nexport const PostCoverParams = z.object({ postId: z.string() });\nexport type PostCoverParams = z.infer<typeof PostCoverParams>;\n\nexport const PostAssetParams = z.object({ postId: z.string(), assetId: z.string() });\nexport type PostAssetParams = z.infer<typeof PostAssetParams>;\n\nexport const MessageAttachmentParams = z.object({\n chatId: z.string(),\n messageId: z.string(),\n assetId: z.string(),\n});\nexport type MessageAttachmentParams = z.infer<typeof MessageAttachmentParams>;\n\nexport const UploadFileParams = z.object({ id: z.string() });\nexport type UploadFileParams = z.infer<typeof UploadFileParams>;\n"],"mappings":";;;AAKA,MAAa,wBAAwB,EAAE,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,CAAC;AAGtE,MAAa,0BAA0B,EAAE,OAAO,EAAE,YAAY,EAAE,OAAO,EAAE,CAAC;AAG1E,MAAa,2BAA2B,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC;AAG5E,MAAa,mBAAmB,EAAE,OAAO;CAAE,SAAS,EAAE,OAAO;CAAG,OAAO;AAAiB,CAAC;AAGzF,MAAa,qBAAqB,EAAE,OAAO;CAAE,YAAY,EAAE,OAAO;CAAG,SAAS,EAAE,OAAO;AAAE,CAAC;AAG1F,MAAa,qBAAqB,EAAE,OAAO;CAAE,YAAY,EAAE,OAAO;CAAG,SAAS,EAAE,OAAO;AAAE,CAAC;AAG1F,MAAa,uBAAuB,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;AAGpE,MAAa,kBAAkB,EAAE,OAAO;CAAE,SAAS,EAAE,OAAO;CAAG,SAAS,EAAE,OAAO;AAAE,CAAC;AAGpF,MAAa,kBAAkB,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;AAG9D,MAAa,kBAAkB,EAAE,OAAO;CAAE,QAAQ,EAAE,OAAO;CAAG,SAAS,EAAE,OAAO;AAAE,CAAC;AAGnF,MAAa,0BAA0B,EAAE,OAAO;CAC9C,QAAQ,EAAE,OAAO;CACjB,WAAW,EAAE,OAAO;CACpB,SAAS,EAAE,OAAO;AACpB,CAAC;AAGD,MAAa,mBAAmB,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,CAAC"}
@@ -12,7 +12,7 @@ import { ActivityComments, Comment, CommentAuthor, CommentIdParam, CommentListIt
12
12
  import { AddDownloadAsset, CreateDownload, Download, DownloadAssetParams, DownloadFile, DownloadIdParam, DownloadStatus, DownloadsPage, DownloadsQuery, RenameDownloadAsset, ReorderDownloadAssets, UpdateDownload } from "./downloads.js";
13
13
  import { ContentRef, ContentType, Entitlement, EntitlementStatus, EntitlementsPage, EntitlementsQuery, GrantEntitlement, RevokeEntitlement } from "./entitlements.js";
14
14
  import { AddEventAsset, AddEventAttendee, CreateEvent, Event, EventAnalytics, EventAssetParams, EventAttendee, EventAttendeeParams, EventAttendeesPage, EventFile, EventIdParam, EventStatus, EventsPage, EventsQuery, MemberEvent, MemberEventSummary, MemberEventsPage, MemberEventsQuery, RenameEventAsset, ReorderEventAssets, UpdateEvent } from "./events.js";
15
- import { ActivityFileParams, CommunityThumbnailParams, CourseThumbnailParams, DownloadFileParams, DownloadThumbnailParams, EventFileParams, EventThumbnailParams, MessageAttachmentParams, PostAssetParams, PostCoverParams, UploadFileParams } from "./files.js";
15
+ import { ActivityFileParams, CommunityThumbnailParams, CourseThumbnailParams, DownloadFileParams, DownloadThumbnailParams, EventFileParams, EventThumbnailParams, MessageAttachmentParams, PostAssetParams, PostCoverParams, SpaceImageParams, UploadFileParams } from "./files.js";
16
16
  import { DateTimeInput, ErrorBody, ListQuery, Matches, OrgUserProfileSchema, PageQuery, UnavailableErrorBody, UserProfileSchema, ValidationErrorBody, paginated, refusals } from "./shared.js";
17
17
  import { CourseProgress, LearnActivityAssetParams, MemberCourseIdParam, MemberCourses, MemberDownload, MemberDownloads, MemberModules, MemberOrg, MemberViewer, ProgressReportItem, ProgressStatus, ReportProgress } from "./member.js";
18
18
  import { OrgUserStatus, Student, StudentAnalytics, StudentCourseProgress, StudentIdParam, StudentsPage, StudentsQuery } from "./students.js";
@@ -25,4 +25,4 @@ import { CreatePlatformApiKey, CreatePlatformOrganization, PlatformOrgIdParam, P
25
25
  import { CreatePost, FeedQuery, FlagReason, PostCommentsPage, PostFeedPage, PostFlag, PostIdParam, PostView, ResolvePostFlags, SchedulePost, SetPostReactions, SpaceQueue, UpdatePost } from "./posts.js";
26
26
  import { UpdateProfile, UserProfile } from "./profile.js";
27
27
  import { CommunityNotificationSettings, Device, DeviceIdParam, DeviceList, NotificationCategory, NotificationCategoryDefaults, NotificationCategoryList, NotificationChannelInfos, NotificationFilterQuery, NotificationIdParam, NotificationListQuery, NotificationListScopeQuery, NotificationTypeInfo, NotificationTypeInfos, NotificationUnreadCounts, NotificationView, NotificationsPage, OrgNotificationSettings, PatchNotificationSettings, PushConfigView, RegisterDevice, ReplaceNotificationCategories } from "./notifications.js";
28
- export { AcceptInvite, AcceptInviteResult, ActionInvocationResult, Activity, ActivityAsset, ActivityAssetList, ActivityComments, ActivityFileParams, ActivityList, ActivityPathParam, AddBundleItem, AddDownloadAsset, AddEventAsset, AddEventAttendee, ApiKey, ApiKeyIdParam, ApiKeyList, ApiKeyName, ApiKeyRole, ApiKeyRoleList, Asset, AssetIdParam, AssetKind, AssetSource, AssetStatus, AssetsPage, AssetsQuery, Assignment, AssignmentList, Automation, AutomationAction, AutomationActionResult, AutomationIdParam, AutomationKind, AutomationRun, AutomationRunParams, AutomationRunStatus, AutomationRunsPage, AutomationRunsQuery, AutomationTrigger, AutomationsQuery, AvailableAction, AvailableIntegration, AvailableIntegrationsList, AvailableTriggers, BlockParam, Bundle, BundleIdParam, BundleItem, BundleItemParams, BundlesPage, BundlesQuery, Chat, ChatIdParam, ChatListItem, ChatListQuery, ChatLiveEvent, ChatUnreadSummary, ChatsPage, ClientIdParam, Comment, CommentAuthor, CommentIdParam, CommentListItem, CommentReport, CommentReportSummary, CommentSettings, CommentStatus, CommentView, CommentsConfig, CommentsPage, CommentsQuery, CommunitiesPage, CommunitiesQuery, Community, CommunityAnalytics, CommunityChatParam, CommunityCommentParam, CommunityHome, CommunityHomeSpace, CommunityIdParam, CommunityMember, CommunityMembersPage, CommunityMembersQuery, CommunityMessageParam, CommunityNotificationSettings, CommunityParam, CommunityPostParam, CommunitySpaceParam, CommunityThumbnailParams, ConfigureRequest, ConnectRequest, ConnectedApp, ConnectedAppList, Connection, ConnectionActionParams, ConnectionIdParam, ConnectionsList, ContentIdParam, ContentRef, ContentType, Course, CourseActivityEngagement, CourseAnalytics, CourseIdParam, CourseIdPathParam, CourseLearner, CourseLearnersPage, CourseLearnersQuery, CourseProgress, CourseSettings, CourseStatus, CourseThumbnailParams, CoursesPage, CoursesQuery, CreateApiKey, CreateAutomationBody, CreateBundle, CreateCommunity, CreateCourse, CreateDownload, CreateEvent, CreateInvite, CreateModule, CreateOrganization, CreatePlatformApiKey, CreatePlatformOrganization, CreatePost, CreateRole, CreateSpace, CreateWebhookBody, CreatedApiKey, CreatedWebhook, DateTimeInput, Device, DeviceIdParam, DeviceList, DirectChatParam, DirectoryEntry, DirectoryPage, DirectoryQuery, DiscussionActivityParam, DmSettings, Download, DownloadAssetParams, DownloadFile, DownloadFileParams, DownloadIdParam, DownloadStatus, DownloadThumbnailParams, DownloadsPage, DownloadsQuery, EditComment, EditMessage, EnrollmentPoint, EnrollmentSeries, EnrollmentSeriesQuery, Entitlement, EntitlementStatus, EntitlementsPage, EntitlementsQuery, ErrorBody, Event, EventAnalytics, EventAssetParams, EventAttendee, EventAttendeeParams, EventAttendeesPage, EventFile, EventFileParams, EventIdParam, EventStatus, EventThumbnailParams, EventsPage, EventsQuery, FeedQuery, FlagReason, GetInviteResult, GrantEntitlement, IntegrationActionInfo, Invite, InviteTokenParam, InvokeActionRequest, ItemRole, LearnActivityAssetParams, Level, ListQuery, LockedCommunitySpace, MarkRead, Matches, Member, MemberCourseIdParam, MemberCourses, MemberDownload, MemberDownloads, MemberEvent, MemberEventSummary, MemberEventsPage, MemberEventsQuery, MemberModules, MemberOrg, MemberStatus, MemberViewer, MembersPage, MembersQuery, MessageAttachmentParams, MessageFlag, MessageIdParam, MessageQueue, MessageQueueEntry, MessageView, MessagesPage, Module, ModuleList, ModulePathParam, NotificationCategory, NotificationCategoryDefaults, NotificationCategoryList, NotificationChannelInfos, NotificationFilterQuery, NotificationIdParam, NotificationListQuery, NotificationListScopeQuery, NotificationTypeInfo, NotificationTypeInfos, NotificationUnreadCounts, NotificationView, NotificationsPage, OpenCommunitySpace, OrderedIds, OrgNotificationSettings, OrgRoleList, OrgRoleView, OrgUserBody, OrgUserContentParam, OrgUserIdParam, OrgUserProfileSchema, OrgUserStatus, Organization, OverviewStats, PageQuery, PatchComment, PatchCommunitySettings, PatchCourseSettings, PatchDmSettings, PatchNotificationSettings, PatchSettings, Permission, PermissionDefinition, PermissionDefinitionList, PlatformOrgIdParam, PlatformOrganization, PostAssetParams, PostComment, PostCommentsPage, PostCoverParams, PostFeedPage, PostFlag, PostIdParam, PostView, ProgressReportItem, ProgressStatus, PushConfigView, ReactionCounts, ReactionEmoji, Reactions, ReconnectRequest, RedeemInvite, RedeemInviteResult, RegisterDevice, RenameDownloadAsset, RenameEventAsset, ReorderDownloadAssets, ReorderEventAssets, ReorderInput, ReplaceNotificationCategories, ReplyToComment, ReportComment, ReportProgress, RequestMemberUpload, RequestUpload, ResolveCommentFlags, ResolveMessageFlags, ResolvePostFlags, RevokeEntitlement, RoleKeyParam, RoleRef, SaveActivity, SchedulePost, ScopeSettings, SendMessage, SetMute, SetPostReactions, SetPostSubscription, SetReaction, SetRole, SetSpaceTopics, SettingsNamespaceParam, SettingsScopeParam, SettingsValue, SpaceDetail, SpaceIdParam, SpaceLinkBody, SpaceLinkParam, SpaceMember, SpaceMemberParam, SpaceMembersPage, SpaceQueue, StartDirectChat, StartGroupChat, Student, StudentAnalytics, StudentCourseProgress, StudentIdParam, StudentsPage, StudentsQuery, TransferOwnership, UnavailableErrorBody, UpdateAutomationBody, UpdateBundle, UpdateCommunity, UpdateCourse, UpdateDownload, UpdateEvent, UpdateModule, UpdateOrganization, UpdatePost, UpdateProfile, UpdateRole, UpdateSpace, UpdateWebhookBody, UploadFileParams, UploadTicket, UserProfile, UserProfileSchema, ValidationErrorBody, ViewerPermissions, Webhook, WebhookSecret, paginated, refusals };
28
+ export { AcceptInvite, AcceptInviteResult, ActionInvocationResult, Activity, ActivityAsset, ActivityAssetList, ActivityComments, ActivityFileParams, ActivityList, ActivityPathParam, AddBundleItem, AddDownloadAsset, AddEventAsset, AddEventAttendee, ApiKey, ApiKeyIdParam, ApiKeyList, ApiKeyName, ApiKeyRole, ApiKeyRoleList, Asset, AssetIdParam, AssetKind, AssetSource, AssetStatus, AssetsPage, AssetsQuery, Assignment, AssignmentList, Automation, AutomationAction, AutomationActionResult, AutomationIdParam, AutomationKind, AutomationRun, AutomationRunParams, AutomationRunStatus, AutomationRunsPage, AutomationRunsQuery, AutomationTrigger, AutomationsQuery, AvailableAction, AvailableIntegration, AvailableIntegrationsList, AvailableTriggers, BlockParam, Bundle, BundleIdParam, BundleItem, BundleItemParams, BundlesPage, BundlesQuery, Chat, ChatIdParam, ChatListItem, ChatListQuery, ChatLiveEvent, ChatUnreadSummary, ChatsPage, ClientIdParam, Comment, CommentAuthor, CommentIdParam, CommentListItem, CommentReport, CommentReportSummary, CommentSettings, CommentStatus, CommentView, CommentsConfig, CommentsPage, CommentsQuery, CommunitiesPage, CommunitiesQuery, Community, CommunityAnalytics, CommunityChatParam, CommunityCommentParam, CommunityHome, CommunityHomeSpace, CommunityIdParam, CommunityMember, CommunityMembersPage, CommunityMembersQuery, CommunityMessageParam, CommunityNotificationSettings, CommunityParam, CommunityPostParam, CommunitySpaceParam, CommunityThumbnailParams, ConfigureRequest, ConnectRequest, ConnectedApp, ConnectedAppList, Connection, ConnectionActionParams, ConnectionIdParam, ConnectionsList, ContentIdParam, ContentRef, ContentType, Course, CourseActivityEngagement, CourseAnalytics, CourseIdParam, CourseIdPathParam, CourseLearner, CourseLearnersPage, CourseLearnersQuery, CourseProgress, CourseSettings, CourseStatus, CourseThumbnailParams, CoursesPage, CoursesQuery, CreateApiKey, CreateAutomationBody, CreateBundle, CreateCommunity, CreateCourse, CreateDownload, CreateEvent, CreateInvite, CreateModule, CreateOrganization, CreatePlatformApiKey, CreatePlatformOrganization, CreatePost, CreateRole, CreateSpace, CreateWebhookBody, CreatedApiKey, CreatedWebhook, DateTimeInput, Device, DeviceIdParam, DeviceList, DirectChatParam, DirectoryEntry, DirectoryPage, DirectoryQuery, DiscussionActivityParam, DmSettings, Download, DownloadAssetParams, DownloadFile, DownloadFileParams, DownloadIdParam, DownloadStatus, DownloadThumbnailParams, DownloadsPage, DownloadsQuery, EditComment, EditMessage, EnrollmentPoint, EnrollmentSeries, EnrollmentSeriesQuery, Entitlement, EntitlementStatus, EntitlementsPage, EntitlementsQuery, ErrorBody, Event, EventAnalytics, EventAssetParams, EventAttendee, EventAttendeeParams, EventAttendeesPage, EventFile, EventFileParams, EventIdParam, EventStatus, EventThumbnailParams, EventsPage, EventsQuery, FeedQuery, FlagReason, GetInviteResult, GrantEntitlement, IntegrationActionInfo, Invite, InviteTokenParam, InvokeActionRequest, ItemRole, LearnActivityAssetParams, Level, ListQuery, LockedCommunitySpace, MarkRead, Matches, Member, MemberCourseIdParam, MemberCourses, MemberDownload, MemberDownloads, MemberEvent, MemberEventSummary, MemberEventsPage, MemberEventsQuery, MemberModules, MemberOrg, MemberStatus, MemberViewer, MembersPage, MembersQuery, MessageAttachmentParams, MessageFlag, MessageIdParam, MessageQueue, MessageQueueEntry, MessageView, MessagesPage, Module, ModuleList, ModulePathParam, NotificationCategory, NotificationCategoryDefaults, NotificationCategoryList, NotificationChannelInfos, NotificationFilterQuery, NotificationIdParam, NotificationListQuery, NotificationListScopeQuery, NotificationTypeInfo, NotificationTypeInfos, NotificationUnreadCounts, NotificationView, NotificationsPage, OpenCommunitySpace, OrderedIds, OrgNotificationSettings, OrgRoleList, OrgRoleView, OrgUserBody, OrgUserContentParam, OrgUserIdParam, OrgUserProfileSchema, OrgUserStatus, Organization, OverviewStats, PageQuery, PatchComment, PatchCommunitySettings, PatchCourseSettings, PatchDmSettings, PatchNotificationSettings, PatchSettings, Permission, PermissionDefinition, PermissionDefinitionList, PlatformOrgIdParam, PlatformOrganization, PostAssetParams, PostComment, PostCommentsPage, PostCoverParams, PostFeedPage, PostFlag, PostIdParam, PostView, ProgressReportItem, ProgressStatus, PushConfigView, ReactionCounts, ReactionEmoji, Reactions, ReconnectRequest, RedeemInvite, RedeemInviteResult, RegisterDevice, RenameDownloadAsset, RenameEventAsset, ReorderDownloadAssets, ReorderEventAssets, ReorderInput, ReplaceNotificationCategories, ReplyToComment, ReportComment, ReportProgress, RequestMemberUpload, RequestUpload, ResolveCommentFlags, ResolveMessageFlags, ResolvePostFlags, RevokeEntitlement, RoleKeyParam, RoleRef, SaveActivity, SchedulePost, ScopeSettings, SendMessage, SetMute, SetPostReactions, SetPostSubscription, SetReaction, SetRole, SetSpaceTopics, SettingsNamespaceParam, SettingsScopeParam, SettingsValue, SpaceDetail, SpaceIdParam, SpaceImageParams, SpaceLinkBody, SpaceLinkParam, SpaceMember, SpaceMemberParam, SpaceMembersPage, SpaceQueue, StartDirectChat, StartGroupChat, Student, StudentAnalytics, StudentCourseProgress, StudentIdParam, StudentsPage, StudentsQuery, TransferOwnership, UnavailableErrorBody, UpdateAutomationBody, UpdateBundle, UpdateCommunity, UpdateCourse, UpdateDownload, UpdateEvent, UpdateModule, UpdateOrganization, UpdatePost, UpdateProfile, UpdateRole, UpdateSpace, UpdateWebhookBody, UploadFileParams, UploadTicket, UserProfile, UserProfileSchema, ValidationErrorBody, ViewerPermissions, Webhook, WebhookSecret, paginated, refusals };
@@ -14,7 +14,7 @@ import { AcceptInvite, AcceptInviteResult, CreateInvite, GetInviteResult, Invite
14
14
  import { EnrollmentPoint, EnrollmentSeries, EnrollmentSeriesQuery, OverviewStats } from "./dashboard.js";
15
15
  import { CourseActivityEngagement, CourseAnalytics, CourseLearner, CourseLearnersPage, CourseLearnersQuery } from "./course-analytics.js";
16
16
  import { Asset, AssetIdParam, AssetKind, AssetSource, AssetStatus, AssetsPage, AssetsQuery, RequestMemberUpload, RequestUpload, UploadTicket } from "./assets.js";
17
- import { ActivityFileParams, CommunityThumbnailParams, CourseThumbnailParams, DownloadFileParams, DownloadThumbnailParams, EventFileParams, EventThumbnailParams, MessageAttachmentParams, PostAssetParams, PostCoverParams, UploadFileParams } from "./files.js";
17
+ import { ActivityFileParams, CommunityThumbnailParams, CourseThumbnailParams, DownloadFileParams, DownloadThumbnailParams, EventFileParams, EventThumbnailParams, MessageAttachmentParams, PostAssetParams, PostCoverParams, SpaceImageParams, UploadFileParams } from "./files.js";
18
18
  import { ActionInvocationResult, AvailableIntegration, AvailableIntegrationsList, ConfigureRequest, ConnectRequest, Connection, ConnectionActionParams, ConnectionIdParam, ConnectionsList, IntegrationActionInfo, InvokeActionRequest, ReconnectRequest } from "./integrations.js";
19
19
  import { PatchSettings, ScopeSettings, SettingsNamespaceParam, SettingsScopeParam, SettingsValue } from "./settings.js";
20
20
  import { ActivityComments, Comment, CommentAuthor, CommentIdParam, CommentListItem, CommentReport, CommentReportSummary, CommentSettings, CommentStatus, CommentView, CommentsConfig, CommentsPage, CommentsQuery, DiscussionActivityParam, EditComment, PatchComment, PostComment, ReactionCounts, ReactionEmoji, Reactions, ReplyToComment, ReportComment, ResolveCommentFlags, SetMute, SetPostSubscription, SetReaction } from "./discussion.js";
@@ -25,4 +25,4 @@ import { CreatePost, FeedQuery, FlagReason, PostCommentsPage, PostFeedPage, Post
25
25
  import { BlockParam, Chat, ChatIdParam, ChatListItem, ChatListQuery, ChatLiveEvent, ChatUnreadSummary, ChatsPage, CommunityParam, DirectChatParam, EditMessage, MarkRead, MessageFlag, MessageIdParam, MessageQueue, MessageQueueEntry, MessageView, MessagesPage, OrgUserBody, ResolveMessageFlags, SendMessage, StartDirectChat, StartGroupChat } from "./chats.js";
26
26
  import { UpdateProfile, UserProfile } from "./profile.js";
27
27
  import { CommunityNotificationSettings, Device, DeviceIdParam, DeviceList, NotificationCategory, NotificationCategoryDefaults, NotificationCategoryList, NotificationChannelInfos, NotificationFilterQuery, NotificationIdParam, NotificationListQuery, NotificationListScopeQuery, NotificationTypeInfo, NotificationTypeInfos, NotificationUnreadCounts, NotificationView, NotificationsPage, OrgNotificationSettings, PatchNotificationSettings, PushConfigView, RegisterDevice, ReplaceNotificationCategories } from "./notifications.js";
28
- export { AcceptInvite, AcceptInviteResult, ActionInvocationResult, Activity, ActivityAsset, ActivityAssetList, ActivityComments, ActivityFileParams, ActivityList, ActivityPathParam, AddBundleItem, AddDownloadAsset, AddEventAsset, AddEventAttendee, ApiKey, ApiKeyIdParam, ApiKeyList, ApiKeyName, ApiKeyRole, ApiKeyRoleList, Asset, AssetIdParam, AssetKind, AssetSource, AssetStatus, AssetsPage, AssetsQuery, Assignment, AssignmentList, Automation, AutomationAction, AutomationActionResult, AutomationIdParam, AutomationKind, AutomationRun, AutomationRunParams, AutomationRunStatus, AutomationRunsPage, AutomationRunsQuery, AutomationTrigger, AutomationsQuery, AvailableAction, AvailableIntegration, AvailableIntegrationsList, AvailableTriggers, BlockParam, Bundle, BundleIdParam, BundleItem, BundleItemParams, BundlesPage, BundlesQuery, Chat, ChatIdParam, ChatListItem, ChatListQuery, ChatLiveEvent, ChatUnreadSummary, ChatsPage, ClientIdParam, Comment, CommentAuthor, CommentIdParam, CommentListItem, CommentReport, CommentReportSummary, CommentSettings, CommentStatus, CommentView, CommentsConfig, CommentsPage, CommentsQuery, CommunitiesPage, CommunitiesQuery, Community, CommunityAnalytics, CommunityChatParam, CommunityCommentParam, CommunityHome, CommunityHomeSpace, CommunityIdParam, CommunityMember, CommunityMembersPage, CommunityMembersQuery, CommunityMessageParam, CommunityNotificationSettings, CommunityParam, CommunityPostParam, CommunitySpaceParam, CommunityThumbnailParams, ConfigureRequest, ConnectRequest, ConnectedApp, ConnectedAppList, Connection, ConnectionActionParams, ConnectionIdParam, ConnectionsList, ContentIdParam, ContentRef, ContentType, Course, CourseActivityEngagement, CourseAnalytics, CourseIdParam, CourseIdPathParam, CourseLearner, CourseLearnersPage, CourseLearnersQuery, CourseProgress, CourseSettings, CourseStatus, CourseThumbnailParams, CoursesPage, CoursesQuery, CreateApiKey, CreateAutomationBody, CreateBundle, CreateCommunity, CreateCourse, CreateDownload, CreateEvent, CreateInvite, CreateModule, CreateOrganization, CreatePlatformApiKey, CreatePlatformOrganization, CreatePost, CreateRole, CreateSpace, CreateWebhookBody, CreatedApiKey, CreatedWebhook, DateTimeInput, Device, DeviceIdParam, DeviceList, DirectChatParam, DirectoryEntry, DirectoryPage, DirectoryQuery, DiscussionActivityParam, DmSettings, Download, DownloadAssetParams, DownloadFile, DownloadFileParams, DownloadIdParam, DownloadStatus, DownloadThumbnailParams, DownloadsPage, DownloadsQuery, EditComment, EditMessage, EnrollmentPoint, EnrollmentSeries, EnrollmentSeriesQuery, Entitlement, EntitlementStatus, EntitlementsPage, EntitlementsQuery, ErrorBody, Event, EventAnalytics, EventAssetParams, EventAttendee, EventAttendeeParams, EventAttendeesPage, EventFile, EventFileParams, EventIdParam, EventStatus, EventThumbnailParams, EventsPage, EventsQuery, FeedQuery, FlagReason, GetInviteResult, GrantEntitlement, IntegrationActionInfo, Invite, InviteTokenParam, InvokeActionRequest, ItemRole, LearnActivityAssetParams, Level, ListQuery, LockedCommunitySpace, MarkRead, Member, MemberCourseIdParam, MemberCourses, MemberDownload, MemberDownloads, MemberEvent, MemberEventSummary, MemberEventsPage, MemberEventsQuery, MemberModules, MemberOrg, MemberStatus, MemberViewer, MembersPage, MembersQuery, MessageAttachmentParams, MessageFlag, MessageIdParam, MessageQueue, MessageQueueEntry, MessageView, MessagesPage, Module, ModuleList, ModulePathParam, NotificationCategory, NotificationCategoryDefaults, NotificationCategoryList, NotificationChannelInfos, NotificationFilterQuery, NotificationIdParam, NotificationListQuery, NotificationListScopeQuery, NotificationTypeInfo, NotificationTypeInfos, NotificationUnreadCounts, NotificationView, NotificationsPage, OpenCommunitySpace, OrderedIds, OrgNotificationSettings, OrgRoleList, OrgRoleView, OrgUserBody, OrgUserContentParam, OrgUserIdParam, OrgUserProfileSchema, OrgUserStatus, Organization, OverviewStats, PageQuery, PatchComment, PatchCommunitySettings, PatchCourseSettings, PatchDmSettings, PatchNotificationSettings, PatchSettings, Permission, PermissionDefinition, PermissionDefinitionList, PlatformOrgIdParam, PlatformOrganization, PostAssetParams, PostComment, PostCommentsPage, PostCoverParams, PostFeedPage, PostFlag, PostIdParam, PostView, ProgressReportItem, ProgressStatus, PushConfigView, ReactionCounts, ReactionEmoji, Reactions, ReconnectRequest, RedeemInvite, RedeemInviteResult, RegisterDevice, RenameDownloadAsset, RenameEventAsset, ReorderDownloadAssets, ReorderEventAssets, ReorderInput, ReplaceNotificationCategories, ReplyToComment, ReportComment, ReportProgress, RequestMemberUpload, RequestUpload, ResolveCommentFlags, ResolveMessageFlags, ResolvePostFlags, RevokeEntitlement, RoleKeyParam, RoleRef, SaveActivity, SchedulePost, ScopeSettings, SendMessage, SetMute, SetPostReactions, SetPostSubscription, SetReaction, SetRole, SetSpaceTopics, SettingsNamespaceParam, SettingsScopeParam, SettingsValue, SpaceDetail, SpaceIdParam, SpaceLinkBody, SpaceLinkParam, SpaceMember, SpaceMemberParam, SpaceMembersPage, SpaceQueue, StartDirectChat, StartGroupChat, Student, StudentAnalytics, StudentCourseProgress, StudentIdParam, StudentsPage, StudentsQuery, TransferOwnership, UnavailableErrorBody, UpdateAutomationBody, UpdateBundle, UpdateCommunity, UpdateCourse, UpdateDownload, UpdateEvent, UpdateModule, UpdateOrganization, UpdatePost, UpdateProfile, UpdateRole, UpdateSpace, UpdateWebhookBody, UploadFileParams, UploadTicket, UserProfile, UserProfileSchema, ValidationErrorBody, ViewerPermissions, Webhook, WebhookSecret, paginated, refusals };
28
+ export { AcceptInvite, AcceptInviteResult, ActionInvocationResult, Activity, ActivityAsset, ActivityAssetList, ActivityComments, ActivityFileParams, ActivityList, ActivityPathParam, AddBundleItem, AddDownloadAsset, AddEventAsset, AddEventAttendee, ApiKey, ApiKeyIdParam, ApiKeyList, ApiKeyName, ApiKeyRole, ApiKeyRoleList, Asset, AssetIdParam, AssetKind, AssetSource, AssetStatus, AssetsPage, AssetsQuery, Assignment, AssignmentList, Automation, AutomationAction, AutomationActionResult, AutomationIdParam, AutomationKind, AutomationRun, AutomationRunParams, AutomationRunStatus, AutomationRunsPage, AutomationRunsQuery, AutomationTrigger, AutomationsQuery, AvailableAction, AvailableIntegration, AvailableIntegrationsList, AvailableTriggers, BlockParam, Bundle, BundleIdParam, BundleItem, BundleItemParams, BundlesPage, BundlesQuery, Chat, ChatIdParam, ChatListItem, ChatListQuery, ChatLiveEvent, ChatUnreadSummary, ChatsPage, ClientIdParam, Comment, CommentAuthor, CommentIdParam, CommentListItem, CommentReport, CommentReportSummary, CommentSettings, CommentStatus, CommentView, CommentsConfig, CommentsPage, CommentsQuery, CommunitiesPage, CommunitiesQuery, Community, CommunityAnalytics, CommunityChatParam, CommunityCommentParam, CommunityHome, CommunityHomeSpace, CommunityIdParam, CommunityMember, CommunityMembersPage, CommunityMembersQuery, CommunityMessageParam, CommunityNotificationSettings, CommunityParam, CommunityPostParam, CommunitySpaceParam, CommunityThumbnailParams, ConfigureRequest, ConnectRequest, ConnectedApp, ConnectedAppList, Connection, ConnectionActionParams, ConnectionIdParam, ConnectionsList, ContentIdParam, ContentRef, ContentType, Course, CourseActivityEngagement, CourseAnalytics, CourseIdParam, CourseIdPathParam, CourseLearner, CourseLearnersPage, CourseLearnersQuery, CourseProgress, CourseSettings, CourseStatus, CourseThumbnailParams, CoursesPage, CoursesQuery, CreateApiKey, CreateAutomationBody, CreateBundle, CreateCommunity, CreateCourse, CreateDownload, CreateEvent, CreateInvite, CreateModule, CreateOrganization, CreatePlatformApiKey, CreatePlatformOrganization, CreatePost, CreateRole, CreateSpace, CreateWebhookBody, CreatedApiKey, CreatedWebhook, DateTimeInput, Device, DeviceIdParam, DeviceList, DirectChatParam, DirectoryEntry, DirectoryPage, DirectoryQuery, DiscussionActivityParam, DmSettings, Download, DownloadAssetParams, DownloadFile, DownloadFileParams, DownloadIdParam, DownloadStatus, DownloadThumbnailParams, DownloadsPage, DownloadsQuery, EditComment, EditMessage, EnrollmentPoint, EnrollmentSeries, EnrollmentSeriesQuery, Entitlement, EntitlementStatus, EntitlementsPage, EntitlementsQuery, ErrorBody, Event, EventAnalytics, EventAssetParams, EventAttendee, EventAttendeeParams, EventAttendeesPage, EventFile, EventFileParams, EventIdParam, EventStatus, EventThumbnailParams, EventsPage, EventsQuery, FeedQuery, FlagReason, GetInviteResult, GrantEntitlement, IntegrationActionInfo, Invite, InviteTokenParam, InvokeActionRequest, ItemRole, LearnActivityAssetParams, Level, ListQuery, LockedCommunitySpace, MarkRead, Member, MemberCourseIdParam, MemberCourses, MemberDownload, MemberDownloads, MemberEvent, MemberEventSummary, MemberEventsPage, MemberEventsQuery, MemberModules, MemberOrg, MemberStatus, MemberViewer, MembersPage, MembersQuery, MessageAttachmentParams, MessageFlag, MessageIdParam, MessageQueue, MessageQueueEntry, MessageView, MessagesPage, Module, ModuleList, ModulePathParam, NotificationCategory, NotificationCategoryDefaults, NotificationCategoryList, NotificationChannelInfos, NotificationFilterQuery, NotificationIdParam, NotificationListQuery, NotificationListScopeQuery, NotificationTypeInfo, NotificationTypeInfos, NotificationUnreadCounts, NotificationView, NotificationsPage, OpenCommunitySpace, OrderedIds, OrgNotificationSettings, OrgRoleList, OrgRoleView, OrgUserBody, OrgUserContentParam, OrgUserIdParam, OrgUserProfileSchema, OrgUserStatus, Organization, OverviewStats, PageQuery, PatchComment, PatchCommunitySettings, PatchCourseSettings, PatchDmSettings, PatchNotificationSettings, PatchSettings, Permission, PermissionDefinition, PermissionDefinitionList, PlatformOrgIdParam, PlatformOrganization, PostAssetParams, PostComment, PostCommentsPage, PostCoverParams, PostFeedPage, PostFlag, PostIdParam, PostView, ProgressReportItem, ProgressStatus, PushConfigView, ReactionCounts, ReactionEmoji, Reactions, ReconnectRequest, RedeemInvite, RedeemInviteResult, RegisterDevice, RenameDownloadAsset, RenameEventAsset, ReorderDownloadAssets, ReorderEventAssets, ReorderInput, ReplaceNotificationCategories, ReplyToComment, ReportComment, ReportProgress, RequestMemberUpload, RequestUpload, ResolveCommentFlags, ResolveMessageFlags, ResolvePostFlags, RevokeEntitlement, RoleKeyParam, RoleRef, SaveActivity, SchedulePost, ScopeSettings, SendMessage, SetMute, SetPostReactions, SetPostSubscription, SetReaction, SetRole, SetSpaceTopics, SettingsNamespaceParam, SettingsScopeParam, SettingsValue, SpaceDetail, SpaceIdParam, SpaceImageParams, SpaceLinkBody, SpaceLinkParam, SpaceMember, SpaceMemberParam, SpaceMembersPage, SpaceQueue, StartDirectChat, StartGroupChat, Student, StudentAnalytics, StudentCourseProgress, StudentIdParam, StudentsPage, StudentsQuery, TransferOwnership, UnavailableErrorBody, UpdateAutomationBody, UpdateBundle, UpdateCommunity, UpdateCourse, UpdateDownload, UpdateEvent, UpdateModule, UpdateOrganization, UpdatePost, UpdateProfile, UpdateRole, UpdateSpace, UpdateWebhookBody, UploadFileParams, UploadTicket, UserProfile, UserProfileSchema, ValidationErrorBody, ViewerPermissions, Webhook, WebhookSecret, paginated, refusals };