@headless-lms/server 0.5.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.
Files changed (44) hide show
  1. package/README.md +6 -0
  2. package/dist/app/container.d.ts +5 -1
  3. package/dist/app/container.js +3 -1
  4. package/dist/app/container.js.map +1 -1
  5. package/dist/http/mcp/tools/communities.js +1 -1
  6. package/dist/http/mcp/tools/communities.js.map +1 -1
  7. package/dist/http/routes/access.js +1 -1
  8. package/dist/http/routes/access.js.map +1 -1
  9. package/dist/http/routes/communities.js +1 -1
  10. package/dist/http/routes/communities.js.map +1 -1
  11. package/dist/http/routes/member/files.js +18 -1
  12. package/dist/http/routes/member/files.js.map +1 -1
  13. package/dist/http/routes/platform.js +1 -1
  14. package/dist/http/routes/platform.js.map +1 -1
  15. package/dist/http/schemas/access.d.ts +6 -6
  16. package/dist/http/schemas/assets.d.ts +6 -6
  17. package/dist/http/schemas/chats.d.ts +27 -27
  18. package/dist/http/schemas/community.d.ts +61 -34
  19. package/dist/http/schemas/community.js +6 -3
  20. package/dist/http/schemas/community.js.map +1 -1
  21. package/dist/http/schemas/content.d.ts +5 -5
  22. package/dist/http/schemas/course-analytics.d.ts +2 -2
  23. package/dist/http/schemas/downloads.d.ts +5 -5
  24. package/dist/http/schemas/entitlements.d.ts +5 -5
  25. package/dist/http/schemas/events.d.ts +57 -57
  26. package/dist/http/schemas/files.d.ts +10 -1
  27. package/dist/http/schemas/files.js +6 -1
  28. package/dist/http/schemas/files.js.map +1 -1
  29. package/dist/http/schemas/index.d.ts +2 -2
  30. package/dist/http/schemas/index.js +2 -2
  31. package/dist/http/schemas/integrations.d.ts +4 -4
  32. package/dist/http/schemas/member.d.ts +3 -3
  33. package/dist/http/schemas/members.d.ts +22 -22
  34. package/dist/http/schemas/notifications.d.ts +20 -20
  35. package/dist/http/schemas/platform.d.ts +2 -1
  36. package/dist/http/schemas/platform.js +2 -2
  37. package/dist/http/schemas/platform.js.map +1 -1
  38. package/dist/http/schemas/posts.d.ts +6 -6
  39. package/dist/http/schemas/profile.d.ts +3 -3
  40. package/dist/http/schemas/students.d.ts +7 -7
  41. package/dist/index.d.ts +2 -2
  42. package/dist/index.js.map +1 -1
  43. package/dist/packages/server/package.js +1 -1
  44. package/package.json +5 -5
@@ -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,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C,SAAS,4CAA4C;CACpF,CAAC,CAAC,CACD,SAAS,8BAA8B;AAC5C,CAAC;AAID,MAAa,qBAAqB,EAAE,OAAO;CACzC,aAAa,EAAE,OAAO,CAAC,CAAC,IAAI;CAC5B,eAAe,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 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,GAAG,CAAC,CACR,SAAS,yDAAyD,EACvE,CAAC,CAAC,CACD,OAAO;AACV,MAAa,gBAAgB,EAC1B,OAAO,EAAE,WAAW,SAAS,SAAS,2CAA2C,EAAE,CAAC,CAAC,CACrF,OAAO;AAEV,MAAa,mBAAmB,EAAE,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,CAAC;AACpE,MAAa,sBAAsB,EAAE,OAAO;CAAE,aAAa,EAAE,OAAO;CAAG,SAAS,EAAE,OAAO;AAAE,CAAC;AAC5F,MAAa,eAAe,EAAE,OAAO,EAAE,SAAS,EAAE,OAAO,EAAE,CAAC;AAC5D,MAAa,iBAAiB,oBAAoB,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,CAAC;AAC/E,MAAa,mBAAmB,oBAAoB,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,CAAC;AACpF,MAAa,qBAAqB,EAAE,OAAO;C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,CAAC,IAAI;CAC7B,eAAe,EAAE,OAAO,CAAC,CAAC,IAAI;AAChC,CAAC"}
@@ -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
- orgId: z.ZodString;
257
+ type: z.ZodLiteral<"event">;
258
258
  id: z.ZodString;
259
259
  status: z.ZodEnum<{
260
- draft: "draft";
261
260
  published: "published";
261
+ draft: "draft";
262
262
  canceled: "canceled";
263
263
  }>;
264
- type: z.ZodLiteral<"event">;
264
+ orgId: z.ZodString;
265
265
  title: z.ZodString;
266
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>;
@@ -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
- orgId: z.ZodString;
346
+ type: z.ZodLiteral<"event">;
347
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
- type: z.ZodLiteral<"event">;
354
- settings: z.ZodObject<{
355
- type: z.ZodEnum<{
356
- public: "public";
357
- private: "private";
358
- }>;
359
- capacity: z.ZodNullable<z.ZodNumber>;
360
- replay: z.ZodBoolean;
361
- }, z.core.$strict>;
353
+ orgId: z.ZodString;
362
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,8 +371,17 @@ 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>;
@@ -404,41 +393,32 @@ declare const MemberEventSummary: z.ZodObject<{
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
- orgId: z.ZodString;
411
+ type: z.ZodLiteral<"event">;
412
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
- type: z.ZodLiteral<"event">;
419
- settings: z.ZodObject<{
420
- type: z.ZodEnum<{
421
- public: "public";
422
- private: "private";
423
- }>;
424
- capacity: z.ZodNullable<z.ZodNumber>;
425
- replay: z.ZodBoolean;
426
- }, z.core.$strict>;
418
+ orgId: z.ZodString;
427
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,8 +436,17 @@ 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>;
@@ -469,6 +458,17 @@ declare const MemberEventsPage: z.ZodObject<{
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
  }>;
@@ -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 };
@@ -35,22 +35,22 @@ declare const AvailableIntegrationsList: z.ZodArray<z.ZodObject<{
35
35
  type AvailableIntegrationsList = z.infer<typeof AvailableIntegrationsList>;
36
36
  /** The connection row minus credentialRef — not even the reference leaks. */
37
37
  declare const Connection: z.ZodObject<{
38
- orgId: z.ZodString;
39
38
  id: z.ZodString;
40
39
  createdAt: z.ZodCoercedDate<unknown>;
41
40
  updatedAt: z.ZodCoercedDate<unknown>;
42
- active: z.ZodBoolean;
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
- orgId: z.ZodString;
49
48
  id: z.ZodString;
50
49
  createdAt: z.ZodCoercedDate<unknown>;
51
50
  updatedAt: z.ZodCoercedDate<unknown>;
52
- active: z.ZodBoolean;
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>;