@headless-lms/core 0.3.0 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/events.d.ts +24 -18
- package/dist/assets/file-urls.d.ts +11 -7
- package/dist/assets/file-urls.js +14 -4
- package/dist/assets/file-urls.js.map +1 -1
- package/dist/assets/index.d.ts +5 -4
- package/dist/assets/index.js +4 -3
- package/dist/assets/jobs.d.ts +15 -0
- package/dist/assets/jobs.js +30 -0
- package/dist/assets/jobs.js.map +1 -0
- package/dist/assets/ports.d.ts +37 -17
- package/dist/assets/service.d.ts +30 -15
- package/dist/assets/service.js +229 -59
- package/dist/assets/service.js.map +1 -1
- package/dist/automations/actions.js +2 -63
- package/dist/automations/actions.js.map +1 -1
- package/dist/automations/catalog.d.ts +1 -2
- package/dist/automations/catalog.js +137 -65
- package/dist/automations/catalog.js.map +1 -1
- package/dist/automations/community-derivations.js +20 -20
- package/dist/automations/community-derivations.js.map +1 -1
- package/dist/automations/community-mail.d.ts +36 -20
- package/dist/automations/community-mail.js +32 -24
- package/dist/automations/community-mail.js.map +1 -1
- package/dist/automations/event-permissions.d.ts +12 -0
- package/dist/automations/event-permissions.js +38 -0
- package/dist/automations/event-permissions.js.map +1 -0
- package/dist/automations/events.d.ts +0 -10
- package/dist/automations/index.d.ts +12 -4
- package/dist/automations/index.js +9 -1
- package/dist/automations/notifications/applicable.d.ts +8 -0
- package/dist/automations/notifications/applicable.js +12 -0
- package/dist/automations/notifications/applicable.js.map +1 -0
- package/dist/automations/notifications/debounce.d.ts +25 -0
- package/dist/automations/notifications/debounce.js +93 -0
- package/dist/automations/notifications/debounce.js.map +1 -0
- package/dist/automations/notifications/defaults.d.ts +8 -0
- package/dist/automations/notifications/defaults.js +346 -0
- package/dist/automations/notifications/defaults.js.map +1 -0
- package/dist/automations/notifications/delivery.d.ts +28 -0
- package/dist/automations/notifications/delivery.js +88 -0
- package/dist/automations/notifications/delivery.js.map +1 -0
- package/dist/automations/notifications/processor.d.ts +64 -0
- package/dist/automations/notifications/processor.js +270 -0
- package/dist/automations/notifications/processor.js.map +1 -0
- package/dist/automations/notifications/rules/content.d.ts +6 -0
- package/dist/automations/notifications/rules/content.js +96 -0
- package/dist/automations/notifications/rules/content.js.map +1 -0
- package/dist/automations/notifications/rules/discussion.d.ts +7 -0
- package/dist/automations/notifications/rules/discussion.js +678 -0
- package/dist/automations/notifications/rules/discussion.js.map +1 -0
- package/dist/automations/notifications/rules/entitlements.d.ts +6 -0
- package/dist/automations/notifications/rules/entitlements.js +276 -0
- package/dist/automations/notifications/rules/entitlements.js.map +1 -0
- package/dist/automations/notifications/rules/events.d.ts +9 -0
- package/dist/automations/notifications/rules/events.js +27 -0
- package/dist/automations/notifications/rules/events.js.map +1 -0
- package/dist/automations/notifications/rules/index.d.ts +6 -0
- package/dist/automations/notifications/rules/index.js +15 -0
- package/dist/automations/notifications/rules/index.js.map +1 -0
- package/dist/automations/notifications/rules/organizations.d.ts +6 -0
- package/dist/automations/notifications/rules/organizations.js +35 -0
- package/dist/automations/notifications/rules/organizations.js.map +1 -0
- package/dist/automations/notifications/rules/recipients.d.ts +32 -0
- package/dist/automations/notifications/rules/recipients.js +98 -0
- package/dist/automations/notifications/rules/recipients.js.map +1 -0
- package/dist/automations/notifications/service.d.ts +29 -0
- package/dist/automations/notifications/service.js +45 -0
- package/dist/automations/notifications/service.js.map +1 -0
- package/dist/automations/notifications/types.d.ts +7 -0
- package/dist/automations/notifications/types.js +560 -0
- package/dist/automations/notifications/types.js.map +1 -0
- package/dist/automations/ports.d.ts +134 -21
- package/dist/automations/service.d.ts +30 -30
- package/dist/automations/service.js +111 -144
- package/dist/automations/service.js.map +1 -1
- package/dist/content/event-sight.d.ts +11 -0
- package/dist/content/event-sight.js +11 -0
- package/dist/content/event-sight.js.map +1 -0
- package/dist/content/events.d.ts +437 -46
- package/dist/content/events.js +45 -1
- package/dist/content/events.js.map +1 -1
- package/dist/content/index.d.ts +8 -4
- package/dist/content/index.js +5 -1
- package/dist/content/jobs.d.ts +16 -0
- package/dist/content/jobs.js +37 -0
- package/dist/content/jobs.js.map +1 -0
- package/dist/content/model.d.ts +2 -2
- package/dist/content/notification-categories.d.ts +37 -0
- package/dist/content/notification-categories.js +73 -0
- package/dist/content/notification-categories.js.map +1 -0
- package/dist/content/ports.d.ts +132 -68
- package/dist/content/service.d.ts +100 -68
- package/dist/content/service.js +703 -146
- package/dist/content/service.js.map +1 -1
- package/dist/content/titles.d.ts +25 -0
- package/dist/content/titles.js +82 -0
- package/dist/content/titles.js.map +1 -0
- package/dist/content/types.d.ts +2 -2
- package/dist/discussion/authors.d.ts +4 -2
- package/dist/discussion/authors.js +9 -5
- package/dist/discussion/authors.js.map +1 -1
- package/dist/discussion/chats.d.ts +63 -39
- package/dist/discussion/chats.js +455 -190
- package/dist/discussion/chats.js.map +1 -1
- package/dist/discussion/digests.d.ts +24 -0
- package/dist/discussion/digests.js +104 -0
- package/dist/discussion/digests.js.map +1 -0
- package/dist/discussion/events.d.ts +227 -23
- package/dist/discussion/events.js +114 -19
- package/dist/discussion/events.js.map +1 -1
- package/dist/discussion/index.d.ts +12 -4
- package/dist/discussion/index.js +9 -2
- package/dist/discussion/jobs.d.ts +16 -0
- package/dist/discussion/jobs.js +40 -0
- package/dist/discussion/jobs.js.map +1 -0
- package/dist/discussion/live.d.ts +106 -0
- package/dist/discussion/live.js +642 -0
- package/dist/discussion/live.js.map +1 -0
- package/dist/discussion/mentions.d.ts +11 -0
- package/dist/discussion/mentions.js +35 -0
- package/dist/discussion/mentions.js.map +1 -0
- package/dist/discussion/ports.d.ts +279 -114
- package/dist/discussion/ports.js.map +1 -1
- package/dist/discussion/posts.d.ts +60 -44
- package/dist/discussion/posts.js +453 -287
- package/dist/discussion/posts.js.map +1 -1
- package/dist/discussion/rules.d.ts +18 -0
- package/dist/discussion/rules.js +22 -0
- package/dist/discussion/rules.js.map +1 -0
- package/dist/discussion/service.d.ts +50 -35
- package/dist/discussion/service.js +333 -205
- package/dist/discussion/service.js.map +1 -1
- package/dist/discussion/subscriptions.d.ts +37 -0
- package/dist/discussion/subscriptions.js +115 -0
- package/dist/discussion/subscriptions.js.map +1 -0
- package/dist/discussion/titles.d.ts +28 -0
- package/dist/discussion/titles.js +98 -0
- package/dist/discussion/titles.js.map +1 -0
- package/dist/entitlements/events.d.ts +20 -20
- package/dist/entitlements/index.d.ts +5 -4
- package/dist/entitlements/index.js +3 -2
- package/dist/entitlements/jobs.d.ts +12 -0
- package/dist/entitlements/jobs.js +18 -0
- package/dist/entitlements/jobs.js.map +1 -0
- package/dist/entitlements/model.d.ts +2 -2
- package/dist/entitlements/ports.d.ts +68 -38
- package/dist/entitlements/rules.d.ts +3 -6
- package/dist/entitlements/rules.js +5 -10
- package/dist/entitlements/rules.js.map +1 -1
- package/dist/entitlements/service.d.ts +43 -28
- package/dist/entitlements/service.js +387 -160
- package/dist/entitlements/service.js.map +1 -1
- package/dist/identity/devices.d.ts +30 -0
- package/dist/identity/devices.js +109 -0
- package/dist/identity/devices.js.map +1 -0
- package/dist/identity/index.d.ts +6 -5
- package/dist/identity/index.js +4 -3
- package/dist/identity/model.d.ts +2 -2
- package/dist/identity/notification-settings.d.ts +28 -0
- package/dist/identity/notification-settings.js +114 -0
- package/dist/identity/notification-settings.js.map +1 -0
- package/dist/identity/ports.d.ts +80 -56
- package/dist/identity/service.d.ts +8 -7
- package/dist/identity/service.js +17 -13
- package/dist/identity/service.js.map +1 -1
- package/dist/integrations/ports.d.ts +9 -8
- package/dist/integrations/service.d.ts +9 -8
- package/dist/integrations/service.js +33 -16
- package/dist/integrations/service.js.map +1 -1
- package/dist/organizations/default-roles.d.ts +22 -0
- package/dist/organizations/default-roles.js +89 -0
- package/dist/organizations/default-roles.js.map +1 -0
- package/dist/organizations/effective-permissions.d.ts +45 -0
- package/dist/organizations/effective-permissions.js +113 -0
- package/dist/organizations/effective-permissions.js.map +1 -0
- package/dist/organizations/events.d.ts +320 -181
- package/dist/organizations/events.js +90 -18
- package/dist/organizations/events.js.map +1 -1
- package/dist/organizations/index.d.ts +15 -10
- package/dist/organizations/index.js +8 -3
- package/dist/organizations/members.d.ts +66 -8
- package/dist/organizations/members.js.map +1 -1
- package/dist/organizations/notification-catalog.d.ts +31 -0
- package/dist/organizations/notification-catalog.js +32 -0
- package/dist/organizations/notification-catalog.js.map +1 -0
- package/dist/organizations/notification-categories.d.ts +34 -0
- package/dist/organizations/notification-categories.js +66 -0
- package/dist/organizations/notification-categories.js.map +1 -0
- package/dist/organizations/org-roles.d.ts +33 -0
- package/dist/organizations/org-roles.js +49 -0
- package/dist/organizations/org-roles.js.map +1 -0
- package/dist/organizations/permissions.d.ts +311 -0
- package/dist/organizations/permissions.js +327 -0
- package/dist/organizations/permissions.js.map +1 -0
- package/dist/organizations/ports.d.ts +187 -65
- package/dist/organizations/service.d.ts +104 -35
- package/dist/organizations/service.js +1247 -323
- package/dist/organizations/service.js.map +1 -1
- package/dist/organizations/testing.d.ts +18 -0
- package/dist/organizations/testing.js +37 -0
- package/dist/organizations/testing.js.map +1 -0
- package/dist/organizations/types.d.ts +5 -16
- package/dist/progress/index.d.ts +2 -2
- package/dist/progress/ports.d.ts +11 -3
- package/dist/progress/service.d.ts +6 -5
- package/dist/progress/service.js +23 -8
- package/dist/progress/service.js.map +1 -1
- package/dist/reporting/admin/index.d.ts +6 -4
- package/dist/reporting/admin/model.d.ts +36 -3
- package/dist/reporting/admin/ports.d.ts +39 -14
- package/dist/reporting/admin/service.d.ts +32 -11
- package/dist/reporting/admin/service.js +102 -18
- package/dist/reporting/admin/service.js.map +1 -1
- package/dist/reporting/events/index.d.ts +27 -0
- package/dist/reporting/events/index.js +20 -0
- package/dist/reporting/events/index.js.map +1 -0
- package/dist/reporting/member/calendar.d.ts +11 -0
- package/dist/reporting/member/calendar.js +75 -0
- package/dist/reporting/member/calendar.js.map +1 -0
- package/dist/reporting/member/index.d.ts +3 -2
- package/dist/reporting/member/model.d.ts +80 -26
- package/dist/reporting/member/ports.d.ts +50 -28
- package/dist/reporting/member/service.d.ts +81 -35
- package/dist/reporting/member/service.js +438 -145
- package/dist/reporting/member/service.js.map +1 -1
- package/dist/shared/actor.d.ts +22 -3
- package/dist/shared/errors.d.ts +15 -2
- package/dist/shared/errors.js +21 -2
- package/dist/shared/errors.js.map +1 -1
- package/dist/shared/id.d.ts +7 -0
- package/dist/shared/id.js +8 -1
- package/dist/shared/id.js.map +1 -1
- package/dist/shared/logger.d.ts +2 -1
- package/dist/shared/logger.js +10 -1
- package/dist/shared/logger.js.map +1 -1
- package/dist/shared/mailer.d.ts +11 -1
- package/dist/shared/mailer.js +32 -5
- package/dist/shared/mailer.js.map +1 -1
- package/dist/shared/notification-categories.d.ts +16 -0
- package/dist/shared/notification-categories.js +94 -0
- package/dist/shared/notification-categories.js.map +1 -0
- package/dist/shared/notification-settings.d.ts +14 -0
- package/dist/shared/notification-settings.js +61 -0
- package/dist/shared/notification-settings.js.map +1 -0
- package/dist/shared/ports.d.ts +68 -2
- package/dist/shared/settings.d.ts +2 -1
- package/dist/shared/settings.js +1 -0
- package/dist/shared/settings.js.map +1 -1
- package/dist/types/automations.d.ts +8 -2
- package/dist/types/content.d.ts +2 -2
- package/dist/types/discussion.d.ts +4 -5
- package/dist/types/email-templates.d.ts +119 -6
- package/dist/types/entitlements.d.ts +2 -2
- package/dist/types/identity.d.ts +14 -17
- package/dist/types/index.d.ts +13 -12
- package/dist/types/index.js +2 -1
- package/dist/types/notifications.d.ts +157 -0
- package/dist/types/notifications.js +1 -0
- package/dist/types/organizations.d.ts +3 -2
- package/dist/types/ports.d.ts +8 -1
- package/dist/types/ports.js +7 -1
- package/dist/types/ports.js.map +1 -0
- package/dist/types/schemas/assets.d.ts +5 -5
- package/dist/types/schemas/assets.js +4 -3
- package/dist/types/schemas/assets.js.map +1 -1
- package/dist/types/schemas/automations.d.ts +1 -10
- package/dist/types/schemas/automations.js +1 -3
- package/dist/types/schemas/automations.js.map +1 -1
- package/dist/types/schemas/content.d.ts +596 -11
- package/dist/types/schemas/content.js +225 -9
- package/dist/types/schemas/content.js.map +1 -1
- package/dist/types/schemas/discussion.d.ts +362 -66
- package/dist/types/schemas/discussion.js +123 -15
- package/dist/types/schemas/discussion.js.map +1 -1
- package/dist/types/schemas/entitlements.d.ts +14 -1
- package/dist/types/schemas/entitlements.js +11 -4
- package/dist/types/schemas/entitlements.js.map +1 -1
- package/dist/types/schemas/identity.d.ts +1 -85
- package/dist/types/schemas/identity.js +1 -42
- package/dist/types/schemas/identity.js.map +1 -1
- package/dist/types/schemas/index.d.ts +8 -7
- package/dist/types/schemas/index.js +8 -7
- package/dist/types/schemas/notifications.d.ts +96 -0
- package/dist/types/schemas/notifications.js +57 -0
- package/dist/types/schemas/notifications.js.map +1 -0
- package/dist/types/schemas/organizations.d.ts +96 -60
- package/dist/types/schemas/organizations.js +78 -27
- package/dist/types/schemas/organizations.js.map +1 -1
- package/dist/types/schemas/progress.d.ts +0 -1
- package/dist/types/schemas/progress.js +0 -1
- package/dist/types/schemas/progress.js.map +1 -1
- package/package.json +1 -1
- package/dist/automations/community-notifications.d.ts +0 -16
- package/dist/automations/community-notifications.js +0 -84
- package/dist/automations/community-notifications.js.map +0 -1
- package/dist/automations/seeds.d.ts +0 -17
- package/dist/automations/seeds.js +0 -235
- package/dist/automations/seeds.js.map +0 -1
- package/dist/identity/notifications.d.ts +0 -27
- package/dist/identity/notifications.js +0 -101
- package/dist/identity/notifications.js.map +0 -1
- package/dist/organizations/access-scopes.d.ts +0 -19
- package/dist/organizations/access-scopes.js +0 -89
- package/dist/organizations/access-scopes.js.map +0 -1
- package/dist/organizations/roles.d.ts +0 -19
- package/dist/organizations/roles.js +0 -82
- package/dist/organizations/roles.js.map +0 -1
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
import { Activity, ActivityAsset, ActivityAssetInput, ActivityInput, ActivitySettings, ActivityView, AddDownloadAssetInput, AddSpaceLinkInput, Bundle, BundleInput, BundleItem, BundleItemInput, Community, CommunitySettings, CommunityStatus, CommunityView, ContentItem, ContentItemInput, ContentType, Course, CourseSettings, CourseStatus, CourseView, CreateBundleInput, CreateCommunityInput, CreateCourseInput, CreateDownloadInput, CreateSpaceInput, DmSettings, Download, DownloadAsset, DownloadAssetInput, DownloadFile, DownloadInput, DownloadStatus, DownloadView, ListBundlesQuery, ListCommunitiesQuery, ListCoursesQuery, ListDownloadsQuery, Module, ModuleInput, PatchDmSettingsInput, ReorderDownloadAssetsInput, SaveActivityInput, SetSpaceTopicsInput, Space, SpaceAccessRule, SpaceDetail, SpaceLink, SpaceSettings, SpaceTopic, UpdateBundleInput, UpdateCommunityInput, UpdateCourseInput, UpdateDownloadInput, UpdateSpaceInput, activityAssetSchema, activitySchema, activitySettingsSchema, activityViewSchema, addDownloadAssetInputSchema, addSpaceLinkInputSchema, bundleItemSchema, bundleSchema, communitySchema, communitySettingsDefaults, communitySettingsSchema, communityStatusSchema, communityViewSchema, contentItemSchema, contentTypeSchema, courseSchema, courseSettingsDefaults, courseSettingsSchema, courseStatusSchema, courseViewSchema, createBundleInputSchema, createCommunityInputSchema, createCourseInputSchema, createDownloadInputSchema, createSpaceInputSchema, dmSettingsDefaults, dmSettingsSchema, downloadAssetSchema, downloadFileSchema, downloadSchema, downloadStatusSchema, downloadViewSchema, listBundlesQuerySchema, listCommunitiesQuerySchema, listCoursesQuerySchema, listDownloadsQuerySchema, moduleSchema, patchDmSettingsInputSchema, reorderDownloadAssetsInputSchema, saveActivityInputSchema, setSpaceTopicsInputSchema, spaceAccessRuleSchema, spaceDetailSchema, spaceLinkSchema, spaceSchema, spaceSettingsDefaults, spaceSettingsSchema, spaceTopicSchema, updateBundleInputSchema, updateCommunityInputSchema, updateCourseInputSchema, updateDownloadInputSchema, updateSpaceInputSchema } from "./content.js";
|
|
2
|
-
import { CreateUserInput,
|
|
3
|
-
import { AcceptInviteInput, AddOrgUserInput, CreateInviteInput, CreateOrgUserInput, Invite, InviteInput,
|
|
4
|
-
import { Entitlement, EntitlementInput, EntitlementStatus, EntitlementsQuery, GrantEntitlementInput, SpaceMember, SpaceMemberSource, SpaceMemberStatus, entitlementSchema, entitlementStatusSchema, entitlementsQuerySchema, grantEntitlementInputSchema, spaceMemberSchema, spaceMemberSourceSchema, spaceMemberStatusSchema } from "./entitlements.js";
|
|
1
|
+
import { Activity, ActivityAsset, ActivityAssetInput, ActivityInput, ActivitySettings, ActivityView, AddDownloadAssetInput, AddEventAssetInput, AddSpaceLinkInput, Bundle, BundleInput, BundleItem, BundleItemInput, Community, CommunitySettings, CommunityStatus, CommunityView, ContentItem, ContentItemInput, ContentType, Course, CourseSettings, CourseStatus, CourseView, CreateBundleInput, CreateCommunityInput, CreateCourseInput, CreateDownloadInput, CreateEventInput, CreateSpaceInput, DigestCadence, DigestSchedule, DmSettings, Download, DownloadAsset, DownloadAssetInput, DownloadFile, DownloadInput, DownloadStatus, DownloadView, Event, EventAddress, EventAnalytics, EventAsset, EventAttendee, EventAttendeeFace, EventAttendeeSource, EventFile, EventLead, EventLocation, EventOnline, EventRecording, EventSettings, EventSort, EventStatus, EventType, EventVenue, EventView, ListBundlesQuery, ListCommunitiesQuery, ListCoursesQuery, ListDownloadsQuery, ListEventsQuery, MemberEvent, MemberEventSummary, MemberEventViewer, MemberEventsQuery, Module, ModuleInput, PatchCommunitySettingsInput, PatchDmSettingsInput, ReorderDownloadAssetsInput, ReorderEventAssetsInput, SaveActivityInput, SetSpaceTopicsInput, Space, SpaceAccessRule, SpaceDetail, SpaceLink, SpaceSettings, SpaceTopic, UpdateBundleInput, UpdateCommunityInput, UpdateCourseInput, UpdateDownloadInput, UpdateEventInput, UpdateSpaceInput, activityAssetSchema, activitySchema, activitySettingsSchema, activityViewSchema, addDownloadAssetInputSchema, addEventAssetInputSchema, addSpaceLinkInputSchema, bundleItemSchema, bundleSchema, communitySchema, communitySettingsDefaults, communitySettingsSchema, communityStatusSchema, communityViewSchema, contentItemSchema, contentTypeSchema, courseSchema, courseSettingsDefaults, courseSettingsSchema, courseStatusSchema, courseViewSchema, createBundleInputSchema, createCommunityInputSchema, createCourseInputSchema, createDownloadInputSchema, createEventInputSchema, createSpaceInputSchema, digestCadenceSchema, digestScheduleSchema, dmSettingsDefaults, dmSettingsSchema, downloadAssetSchema, downloadFileSchema, downloadSchema, downloadStatusSchema, downloadViewSchema, eventAddressSchema, eventAnalyticsSchema, eventAssetSchema, eventAttendeeFaceSchema, eventAttendeeSchema, eventAttendeeSourceSchema, eventFileSchema, eventLeadSchema, eventLocationDefaults, eventLocationSchema, eventOnlineSchema, eventRecordingSchema, eventSchema, eventSettingsDefaults, eventSettingsSchema, eventSortSchema, eventStatusSchema, eventTypeSchema, eventVenueSchema, eventViewSchema, listBundlesQuerySchema, listCommunitiesQuerySchema, listCoursesQuerySchema, listDownloadsQuerySchema, listEventsQuerySchema, memberEventSchema, memberEventSummarySchema, memberEventViewerSchema, memberEventsQuerySchema, moduleSchema, patchCommunitySettingsInputSchema, patchDmSettingsInputSchema, reorderDownloadAssetsInputSchema, reorderEventAssetsInputSchema, saveActivityInputSchema, setSpaceTopicsInputSchema, spaceAccessRuleSchema, spaceDetailSchema, spaceLinkSchema, spaceSchema, spaceSettingsDefaults, spaceSettingsSchema, spaceTopicSchema, timeZoneSchema, updateBundleInputSchema, updateCommunityInputSchema, updateCourseInputSchema, updateDownloadInputSchema, updateEventInputSchema, updateSpaceInputSchema } from "./content.js";
|
|
2
|
+
import { CreateUserInput, ProvisionUserInput, UpdateUserInput, User, UserInput, UserProfile, UserProfileView, createUserInputSchema, provisionUserInputSchema, updateUserInputSchema, userProfileSchema, userProfileViewSchema, userSchema } from "./identity.js";
|
|
3
|
+
import { AcceptInviteInput, AddOrgUserInput, CreateInviteInput, CreateOrgUserInput, Invite, InviteInput, Level, NewOrganizationInput, OrgRoleRow, OrgUser, OrgUserInput, OrgUserProfile, OrgUserStatus, Organization, OrganizationInput, PERMISSION_KEYS, Permission, RoleAssignment, RoleKey, UpdateOrgUserInput, acceptInviteInputSchema, addOrgUserInputSchema, createInviteInputSchema, createOrgUserInputSchema, inviteSchema, levelSchema, newOrganizationInputSchema, orgRoleRowSchema, orgUserProfileSchema, orgUserSchema, orgUserStatusSchema, organizationSchema, permissionSchema, roleAssignmentSchema, roleKeySchema, updateOrgUserInputSchema } from "./organizations.js";
|
|
4
|
+
import { Entitlement, EntitlementInput, EntitlementStatus, EntitlementsQuery, GrantEntitlementInput, GrantSource, SpaceMember, SpaceMemberSource, SpaceMemberStatus, entitlementSchema, entitlementStatusSchema, entitlementsQuerySchema, grantEntitlementInputSchema, grantSourceSchema, spaceMemberSchema, spaceMemberSourceSchema, spaceMemberStatusSchema } from "./entitlements.js";
|
|
5
5
|
import { ProgressRecord, ProgressRecordInput, ProgressReportItem, ProgressTarget, ProgressTargetType, ReportProgressInput, progressRecordSchema, progressReportItemSchema, progressTargetSchema, progressTargetTypeSchema, reportProgressInputSchema } from "./progress.js";
|
|
6
6
|
import { Asset, AssetInput, AssetKind, AssetSource, AssetStatus, AssetUrls, AssetView, AssetsQuery, RequestUploadInput, UploadTicket, assetKindSchema, assetSchema, assetSourceSchema, assetStatusSchema, assetUrlsSchema, assetViewSchema, assetsQuerySchema, requestUploadInputSchema, uploadTicketSchema } from "./assets.js";
|
|
7
7
|
import { ConfigureInput, ConnectInput, Connection, ConnectionInput, Validation, configureInputSchema, connectInputSchema, connectionSchema, validationSchema } from "./integrations.js";
|
|
8
|
-
import { Automation, AutomationAction, AutomationActionResult, AutomationInput, AutomationKind, AutomationRun, AutomationRunInput, AutomationRunStatus, AutomationRunsQuery,
|
|
9
|
-
import { ActivityCommentsRule, BlockedUser, Chat, ChatKind, ChatLastMessage, ChatStatus, ChatUser, Comment, CommentAuthor, CommentFlagResolution, CommentInput, CommentListItem, CommentReaction, CommentReport, CommentReportInput, CommentReportSummary, CommentSettings, CommentStatus, CommentView, CommentsConfig, FlaggedComment, ListCommentsQuery, Message, MessageAttachment, MessageFile, MessageFlag, MessageFlagResolution, MessageReaction, MessageView, Post, PostBookmark, PostFlag, PostFlagResolution,
|
|
8
|
+
import { Automation, AutomationAction, AutomationActionResult, AutomationInput, AutomationKind, AutomationRun, AutomationRunInput, AutomationRunStatus, AutomationRunsQuery, AutomationTrigger, AutomationsQuery, AvailableAction, AvailableActions, AvailableTriggers, CreateAutomationInput, CreateWebhookInput, CreatedWebhook, DeliverWebhookInput, MAX_AUTOMATION_ACTIONS, MAX_AUTOMATION_TRIGGERS, MAX_WEBHOOK_EVENTS, UpdateAutomationInput, UpdateWebhookInput, Webhook, WebhookSecret, automationActionResultSchema, automationActionSchema, automationKindSchema, automationRunSchema, automationRunStatusSchema, automationRunsQuerySchema, automationSchema, automationTriggerSchema, automationTriggersSchema, automationsQuerySchema, availableActionSchema, availableTriggersSchema, createAutomationInputSchema, createWebhookInputSchema, createdWebhookSchema, deliverWebhookInputSchema, updateAutomationInputSchema, updateWebhookInputSchema, webhookSchema, webhookSecretSchema, webhookUrlSchema } from "./automations.js";
|
|
9
|
+
import { ActivityCommentsRule, BlockedUser, Chat, ChatKind, ChatLastMessage, ChatLiveEvent, ChatStatus, ChatUnreadSummary, ChatUser, Comment, CommentAuthor, CommentFlagResolution, CommentInput, CommentListItem, CommentReaction, CommentReport, CommentReportInput, CommentReportSummary, CommentSettings, CommentStatus, CommentView, CommentsConfig, DigestRun, FlaggedComment, FlaggedCommentView, ListCommentsQuery, LiveMessage, Mention, MentionItemType, MentionView, Message, MessageAttachment, MessageFile, MessageFlag, MessageFlagResolution, MessageReaction, MessageView, Post, PostAsset, PostBookmark, PostFlag, PostFlagResolution, PostReaction, PostStatus, PostView, ReactionCounts, ReactionEmoji, Subscription, SubscriptionItemType, SubscriptionState, SubscriptionView, activityCommentsRuleSchema, blockedUserSchema, chatKindSchema, chatLastMessageSchema, chatLiveEventSchema, chatSchema, chatStatusSchema, chatUnreadSummarySchema, chatUserSchema, commentAuthorSchema, commentFlagResolutionSchema, commentListItemSchema, commentReactionSchema, commentReportSchema, commentReportSummarySchema, commentSchema, commentSettingsSchema, commentStatusSchema, commentViewSchema, digestRunSchema, flaggedCommentSchema, flaggedCommentViewSchema, listCommentsQuerySchema, liveMessageSchema, mentionItemTypeSchema, mentionSchema, mentionViewSchema, messageAttachmentSchema, messageFileSchema, messageFlagResolutionSchema, messageFlagSchema, messageReactionSchema, messageSchema, messageViewSchema, postAssetSchema, postBookmarkSchema, postFlagResolutionSchema, postFlagSchema, postReactionSchema, postSchema, postStatusSchema, postViewSchema, reactionCountsSchema, reactionEmojiSchema, subscriptionItemTypeSchema, subscriptionSchema, subscriptionStateSchema, subscriptionViewSchema } from "./discussion.js";
|
|
10
10
|
import { Credential, CredentialInput, credentialSchema } from "./credentials.js";
|
|
11
11
|
import { boundedJsonSchema, domainEventSchema, emailSchema, eventMetadataSchema, idSchema, isoDateStringSchema, jsonRecordSchema, jsonValueSchema, serializableDateSchema } from "./shared.js";
|
|
12
12
|
import { EventOutbox, EventOutboxInput, eventOutboxSchema } from "./outbox.js";
|
|
13
13
|
import { Setting, SettingInput, settingSchema } from "./settings.js";
|
|
14
|
-
|
|
14
|
+
import { notificationCategoryKeySchema, notificationCategoryListSchema, notificationCategorySchema, notificationChannelKeySchema, notificationScopeSchema, notificationTypeKeySchema, reasonSchema, subjectTypeSchema } from "./notifications.js";
|
|
15
|
+
export { AcceptInviteInput, Activity, ActivityAsset, ActivityAssetInput, ActivityCommentsRule, ActivityInput, ActivitySettings, ActivityView, AddDownloadAssetInput, AddEventAssetInput, AddOrgUserInput, AddSpaceLinkInput, Asset, AssetInput, AssetKind, AssetSource, AssetStatus, AssetUrls, AssetView, AssetsQuery, Automation, AutomationAction, AutomationActionResult, AutomationInput, AutomationKind, AutomationRun, AutomationRunInput, AutomationRunStatus, AutomationRunsQuery, AutomationTrigger, AutomationsQuery, AvailableAction, AvailableActions, AvailableTriggers, BlockedUser, Bundle, BundleInput, BundleItem, BundleItemInput, Chat, ChatKind, ChatLastMessage, ChatLiveEvent, ChatStatus, ChatUnreadSummary, ChatUser, Comment, CommentAuthor, CommentFlagResolution, CommentInput, CommentListItem, CommentReaction, CommentReport, CommentReportInput, CommentReportSummary, CommentSettings, CommentStatus, CommentView, CommentsConfig, Community, CommunitySettings, CommunityStatus, CommunityView, ConfigureInput, ConnectInput, Connection, ConnectionInput, ContentItem, ContentItemInput, ContentType, Course, CourseSettings, CourseStatus, CourseView, CreateAutomationInput, CreateBundleInput, CreateCommunityInput, CreateCourseInput, CreateDownloadInput, CreateEventInput, CreateInviteInput, CreateOrgUserInput, CreateSpaceInput, CreateUserInput, CreateWebhookInput, CreatedWebhook, Credential, CredentialInput, DeliverWebhookInput, DigestCadence, DigestRun, DigestSchedule, DmSettings, Download, DownloadAsset, DownloadAssetInput, DownloadFile, DownloadInput, DownloadStatus, DownloadView, Entitlement, EntitlementInput, EntitlementStatus, EntitlementsQuery, Event, EventAddress, EventAnalytics, EventAsset, EventAttendee, EventAttendeeFace, EventAttendeeSource, EventFile, EventLead, EventLocation, EventOnline, EventOutbox, EventOutboxInput, EventRecording, EventSettings, EventSort, EventStatus, EventType, EventVenue, EventView, FlaggedComment, FlaggedCommentView, GrantEntitlementInput, GrantSource, Invite, InviteInput, Level, ListBundlesQuery, ListCommentsQuery, ListCommunitiesQuery, ListCoursesQuery, ListDownloadsQuery, ListEventsQuery, LiveMessage, MAX_AUTOMATION_ACTIONS, MAX_AUTOMATION_TRIGGERS, MAX_WEBHOOK_EVENTS, MemberEvent, MemberEventSummary, MemberEventViewer, MemberEventsQuery, Mention, MentionItemType, MentionView, Message, MessageAttachment, MessageFile, MessageFlag, MessageFlagResolution, MessageReaction, MessageView, Module, ModuleInput, NewOrganizationInput, OrgRoleRow, OrgUser, OrgUserInput, OrgUserProfile, OrgUserStatus, Organization, OrganizationInput, PERMISSION_KEYS, PatchCommunitySettingsInput, PatchDmSettingsInput, Permission, Post, PostAsset, PostBookmark, PostFlag, PostFlagResolution, PostReaction, PostStatus, PostView, ProgressRecord, ProgressRecordInput, ProgressReportItem, ProgressTarget, ProgressTargetType, ProvisionUserInput, ReactionCounts, ReactionEmoji, ReorderDownloadAssetsInput, ReorderEventAssetsInput, ReportProgressInput, RequestUploadInput, RoleAssignment, RoleKey, SaveActivityInput, SetSpaceTopicsInput, Setting, SettingInput, Space, SpaceAccessRule, SpaceDetail, SpaceLink, SpaceMember, SpaceMemberSource, SpaceMemberStatus, SpaceSettings, SpaceTopic, Subscription, SubscriptionItemType, SubscriptionState, SubscriptionView, UpdateAutomationInput, UpdateBundleInput, UpdateCommunityInput, UpdateCourseInput, UpdateDownloadInput, UpdateEventInput, UpdateOrgUserInput, UpdateSpaceInput, UpdateUserInput, UpdateWebhookInput, UploadTicket, User, UserInput, UserProfile, UserProfileView, Validation, Webhook, WebhookSecret, acceptInviteInputSchema, activityAssetSchema, activityCommentsRuleSchema, activitySchema, activitySettingsSchema, activityViewSchema, addDownloadAssetInputSchema, addEventAssetInputSchema, addOrgUserInputSchema, addSpaceLinkInputSchema, assetKindSchema, assetSchema, assetSourceSchema, assetStatusSchema, assetUrlsSchema, assetViewSchema, assetsQuerySchema, automationActionResultSchema, automationActionSchema, automationKindSchema, automationRunSchema, automationRunStatusSchema, automationRunsQuerySchema, automationSchema, automationTriggerSchema, automationTriggersSchema, automationsQuerySchema, availableActionSchema, availableTriggersSchema, blockedUserSchema, boundedJsonSchema, bundleItemSchema, bundleSchema, chatKindSchema, chatLastMessageSchema, chatLiveEventSchema, chatSchema, chatStatusSchema, chatUnreadSummarySchema, chatUserSchema, commentAuthorSchema, commentFlagResolutionSchema, commentListItemSchema, commentReactionSchema, commentReportSchema, commentReportSummarySchema, commentSchema, commentSettingsSchema, commentStatusSchema, commentViewSchema, communitySchema, communitySettingsDefaults, communitySettingsSchema, communityStatusSchema, communityViewSchema, configureInputSchema, connectInputSchema, connectionSchema, contentItemSchema, contentTypeSchema, courseSchema, courseSettingsDefaults, courseSettingsSchema, courseStatusSchema, courseViewSchema, createAutomationInputSchema, createBundleInputSchema, createCommunityInputSchema, createCourseInputSchema, createDownloadInputSchema, createEventInputSchema, createInviteInputSchema, createOrgUserInputSchema, createSpaceInputSchema, createUserInputSchema, createWebhookInputSchema, createdWebhookSchema, credentialSchema, deliverWebhookInputSchema, digestCadenceSchema, digestRunSchema, digestScheduleSchema, dmSettingsDefaults, dmSettingsSchema, domainEventSchema, downloadAssetSchema, downloadFileSchema, downloadSchema, downloadStatusSchema, downloadViewSchema, emailSchema, entitlementSchema, entitlementStatusSchema, entitlementsQuerySchema, eventAddressSchema, eventAnalyticsSchema, eventAssetSchema, eventAttendeeFaceSchema, eventAttendeeSchema, eventAttendeeSourceSchema, eventFileSchema, eventLeadSchema, eventLocationDefaults, eventLocationSchema, eventMetadataSchema, eventOnlineSchema, eventOutboxSchema, eventRecordingSchema, eventSchema, eventSettingsDefaults, eventSettingsSchema, eventSortSchema, eventStatusSchema, eventTypeSchema, eventVenueSchema, eventViewSchema, flaggedCommentSchema, flaggedCommentViewSchema, grantEntitlementInputSchema, grantSourceSchema, idSchema, inviteSchema, isoDateStringSchema, jsonRecordSchema, jsonValueSchema, levelSchema, listBundlesQuerySchema, listCommentsQuerySchema, listCommunitiesQuerySchema, listCoursesQuerySchema, listDownloadsQuerySchema, listEventsQuerySchema, liveMessageSchema, memberEventSchema, memberEventSummarySchema, memberEventViewerSchema, memberEventsQuerySchema, mentionItemTypeSchema, mentionSchema, mentionViewSchema, messageAttachmentSchema, messageFileSchema, messageFlagResolutionSchema, messageFlagSchema, messageReactionSchema, messageSchema, messageViewSchema, moduleSchema, newOrganizationInputSchema, notificationCategoryKeySchema, notificationCategoryListSchema, notificationCategorySchema, notificationChannelKeySchema, notificationScopeSchema, notificationTypeKeySchema, orgRoleRowSchema, orgUserProfileSchema, orgUserSchema, orgUserStatusSchema, organizationSchema, patchCommunitySettingsInputSchema, patchDmSettingsInputSchema, permissionSchema, postAssetSchema, postBookmarkSchema, postFlagResolutionSchema, postFlagSchema, postReactionSchema, postSchema, postStatusSchema, postViewSchema, progressRecordSchema, progressReportItemSchema, progressTargetSchema, progressTargetTypeSchema, provisionUserInputSchema, reactionCountsSchema, reactionEmojiSchema, reasonSchema, reorderDownloadAssetsInputSchema, reorderEventAssetsInputSchema, reportProgressInputSchema, requestUploadInputSchema, roleAssignmentSchema, roleKeySchema, saveActivityInputSchema, serializableDateSchema, setSpaceTopicsInputSchema, settingSchema, spaceAccessRuleSchema, spaceDetailSchema, spaceLinkSchema, spaceMemberSchema, spaceMemberSourceSchema, spaceMemberStatusSchema, spaceSchema, spaceSettingsDefaults, spaceSettingsSchema, spaceTopicSchema, subjectTypeSchema, subscriptionItemTypeSchema, subscriptionSchema, subscriptionStateSchema, subscriptionViewSchema, timeZoneSchema, updateAutomationInputSchema, updateBundleInputSchema, updateCommunityInputSchema, updateCourseInputSchema, updateDownloadInputSchema, updateEventInputSchema, updateOrgUserInputSchema, updateSpaceInputSchema, updateUserInputSchema, updateWebhookInputSchema, uploadTicketSchema, userProfileSchema, userProfileViewSchema, userSchema, validationSchema, webhookSchema, webhookSecretSchema, webhookUrlSchema };
|
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
import { boundedJsonSchema, domainEventSchema, emailSchema, eventMetadataSchema, idSchema, isoDateStringSchema, jsonRecordSchema, jsonValueSchema, serializableDateSchema } from "./shared.js";
|
|
2
|
-
import { createUserInputSchema,
|
|
3
|
-
import { acceptInviteInputSchema, addOrgUserInputSchema, createInviteInputSchema, createOrgUserInputSchema, inviteRoleSchema, inviteSchema, newOrganizationInputSchema, orgUserProfileSchema, orgUserSchema, orgUserStatusSchema, organizationSchema, roleSchema, updateOrgUserInputSchema } from "./organizations.js";
|
|
4
|
-
import { activityCommentsRuleSchema, blockedUserSchema, chatKindSchema, chatLastMessageSchema, chatSchema, chatStatusSchema, chatUserSchema, commentAuthorSchema, commentFlagResolutionSchema, commentListItemSchema, commentReactionSchema, commentReportSchema, commentReportSummarySchema, commentSchema, commentSettingsSchema, commentStatusSchema, commentViewSchema, flaggedCommentSchema, listCommentsQuerySchema, messageAttachmentSchema, messageFileSchema, messageFlagResolutionSchema, messageFlagSchema, messageReactionSchema, messageSchema, messageViewSchema, postBookmarkSchema, postFlagResolutionSchema, postFlagSchema, postFollowSchema, postReactionSchema, postSchema, postStatusSchema, postViewSchema, reactionCountsSchema, reactionEmojiSchema } from "./discussion.js";
|
|
2
|
+
import { createUserInputSchema, provisionUserInputSchema, updateUserInputSchema, userProfileSchema, userProfileViewSchema, userSchema } from "./identity.js";
|
|
5
3
|
import { assetKindSchema, assetSchema, assetSourceSchema, assetStatusSchema, assetUrlsSchema, assetViewSchema, assetsQuerySchema, requestUploadInputSchema, uploadTicketSchema } from "./assets.js";
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
4
|
+
import { activityCommentsRuleSchema, blockedUserSchema, chatKindSchema, chatLastMessageSchema, chatLiveEventSchema, chatSchema, chatStatusSchema, chatUnreadSummarySchema, chatUserSchema, commentAuthorSchema, commentFlagResolutionSchema, commentListItemSchema, commentReactionSchema, commentReportSchema, commentReportSummarySchema, commentSchema, commentSettingsSchema, commentStatusSchema, commentViewSchema, digestRunSchema, flaggedCommentSchema, flaggedCommentViewSchema, listCommentsQuerySchema, liveMessageSchema, mentionItemTypeSchema, mentionSchema, mentionViewSchema, messageAttachmentSchema, messageFileSchema, messageFlagResolutionSchema, messageFlagSchema, messageReactionSchema, messageSchema, messageViewSchema, postAssetSchema, postBookmarkSchema, postFlagResolutionSchema, postFlagSchema, postReactionSchema, postSchema, postStatusSchema, postViewSchema, reactionCountsSchema, reactionEmojiSchema, subscriptionItemTypeSchema, subscriptionSchema, subscriptionStateSchema, subscriptionViewSchema } from "./discussion.js";
|
|
5
|
+
import { activityAssetSchema, activitySchema, activitySettingsSchema, activityViewSchema, addDownloadAssetInputSchema, addEventAssetInputSchema, addSpaceLinkInputSchema, bundleItemSchema, bundleSchema, communitySchema, communitySettingsDefaults, communitySettingsSchema, communityStatusSchema, communityViewSchema, contentItemSchema, contentTypeSchema, courseSchema, courseSettingsDefaults, courseSettingsSchema, courseStatusSchema, courseViewSchema, createBundleInputSchema, createCommunityInputSchema, createCourseInputSchema, createDownloadInputSchema, createEventInputSchema, createSpaceInputSchema, digestCadenceSchema, digestScheduleSchema, dmSettingsDefaults, dmSettingsSchema, downloadAssetSchema, downloadFileSchema, downloadSchema, downloadStatusSchema, downloadViewSchema, eventAddressSchema, eventAnalyticsSchema, eventAssetSchema, eventAttendeeFaceSchema, eventAttendeeSchema, eventAttendeeSourceSchema, eventFileSchema, eventLeadSchema, eventLocationDefaults, eventLocationSchema, eventOnlineSchema, eventRecordingSchema, eventSchema, eventSettingsDefaults, eventSettingsSchema, eventSortSchema, eventStatusSchema, eventTypeSchema, eventVenueSchema, eventViewSchema, listBundlesQuerySchema, listCommunitiesQuerySchema, listCoursesQuerySchema, listDownloadsQuerySchema, listEventsQuerySchema, memberEventSchema, memberEventSummarySchema, memberEventViewerSchema, memberEventsQuerySchema, moduleSchema, patchCommunitySettingsInputSchema, patchDmSettingsInputSchema, reorderDownloadAssetsInputSchema, reorderEventAssetsInputSchema, saveActivityInputSchema, setSpaceTopicsInputSchema, spaceAccessRuleSchema, spaceDetailSchema, spaceLinkSchema, spaceSchema, spaceSettingsDefaults, spaceSettingsSchema, spaceTopicSchema, timeZoneSchema, updateBundleInputSchema, updateCommunityInputSchema, updateCourseInputSchema, updateDownloadInputSchema, updateEventInputSchema, updateSpaceInputSchema } from "./content.js";
|
|
6
|
+
import { PERMISSION_KEYS, acceptInviteInputSchema, addOrgUserInputSchema, createInviteInputSchema, createOrgUserInputSchema, inviteSchema, levelSchema, newOrganizationInputSchema, orgRoleRowSchema, orgUserProfileSchema, orgUserSchema, orgUserStatusSchema, organizationSchema, permissionSchema, roleAssignmentSchema, roleKeySchema, updateOrgUserInputSchema } from "./organizations.js";
|
|
7
|
+
import { entitlementSchema, entitlementStatusSchema, entitlementsQuerySchema, grantEntitlementInputSchema, grantSourceSchema, spaceMemberSchema, spaceMemberSourceSchema, spaceMemberStatusSchema } from "./entitlements.js";
|
|
8
8
|
import { progressRecordSchema, progressReportItemSchema, progressTargetSchema, progressTargetTypeSchema, reportProgressInputSchema } from "./progress.js";
|
|
9
9
|
import { configureInputSchema, connectInputSchema, connectionSchema, validationSchema } from "./integrations.js";
|
|
10
|
-
import { MAX_AUTOMATION_ACTIONS, MAX_AUTOMATION_TRIGGERS, MAX_WEBHOOK_EVENTS, automationActionResultSchema, automationActionSchema, automationKindSchema, automationRunSchema, automationRunStatusSchema, automationRunsQuerySchema, automationSchema,
|
|
10
|
+
import { MAX_AUTOMATION_ACTIONS, MAX_AUTOMATION_TRIGGERS, MAX_WEBHOOK_EVENTS, automationActionResultSchema, automationActionSchema, automationKindSchema, automationRunSchema, automationRunStatusSchema, automationRunsQuerySchema, automationSchema, automationTriggerSchema, automationTriggersSchema, automationsQuerySchema, availableActionSchema, availableTriggersSchema, createAutomationInputSchema, createWebhookInputSchema, createdWebhookSchema, deliverWebhookInputSchema, updateAutomationInputSchema, updateWebhookInputSchema, webhookSchema, webhookSecretSchema, webhookUrlSchema } from "./automations.js";
|
|
11
11
|
import { credentialSchema } from "./credentials.js";
|
|
12
12
|
import { eventOutboxSchema } from "./outbox.js";
|
|
13
13
|
import { settingSchema } from "./settings.js";
|
|
14
|
-
|
|
14
|
+
import { notificationCategoryKeySchema, notificationCategoryListSchema, notificationCategorySchema, notificationChannelKeySchema, notificationScopeSchema, notificationTypeKeySchema, reasonSchema, subjectTypeSchema } from "./notifications.js";
|
|
15
|
+
export { MAX_AUTOMATION_ACTIONS, MAX_AUTOMATION_TRIGGERS, MAX_WEBHOOK_EVENTS, PERMISSION_KEYS, acceptInviteInputSchema, activityAssetSchema, activityCommentsRuleSchema, activitySchema, activitySettingsSchema, activityViewSchema, addDownloadAssetInputSchema, addEventAssetInputSchema, addOrgUserInputSchema, addSpaceLinkInputSchema, assetKindSchema, assetSchema, assetSourceSchema, assetStatusSchema, assetUrlsSchema, assetViewSchema, assetsQuerySchema, automationActionResultSchema, automationActionSchema, automationKindSchema, automationRunSchema, automationRunStatusSchema, automationRunsQuerySchema, automationSchema, automationTriggerSchema, automationTriggersSchema, automationsQuerySchema, availableActionSchema, availableTriggersSchema, blockedUserSchema, boundedJsonSchema, bundleItemSchema, bundleSchema, chatKindSchema, chatLastMessageSchema, chatLiveEventSchema, chatSchema, chatStatusSchema, chatUnreadSummarySchema, chatUserSchema, commentAuthorSchema, commentFlagResolutionSchema, commentListItemSchema, commentReactionSchema, commentReportSchema, commentReportSummarySchema, commentSchema, commentSettingsSchema, commentStatusSchema, commentViewSchema, communitySchema, communitySettingsDefaults, communitySettingsSchema, communityStatusSchema, communityViewSchema, configureInputSchema, connectInputSchema, connectionSchema, contentItemSchema, contentTypeSchema, courseSchema, courseSettingsDefaults, courseSettingsSchema, courseStatusSchema, courseViewSchema, createAutomationInputSchema, createBundleInputSchema, createCommunityInputSchema, createCourseInputSchema, createDownloadInputSchema, createEventInputSchema, createInviteInputSchema, createOrgUserInputSchema, createSpaceInputSchema, createUserInputSchema, createWebhookInputSchema, createdWebhookSchema, credentialSchema, deliverWebhookInputSchema, digestCadenceSchema, digestRunSchema, digestScheduleSchema, dmSettingsDefaults, dmSettingsSchema, domainEventSchema, downloadAssetSchema, downloadFileSchema, downloadSchema, downloadStatusSchema, downloadViewSchema, emailSchema, entitlementSchema, entitlementStatusSchema, entitlementsQuerySchema, eventAddressSchema, eventAnalyticsSchema, eventAssetSchema, eventAttendeeFaceSchema, eventAttendeeSchema, eventAttendeeSourceSchema, eventFileSchema, eventLeadSchema, eventLocationDefaults, eventLocationSchema, eventMetadataSchema, eventOnlineSchema, eventOutboxSchema, eventRecordingSchema, eventSchema, eventSettingsDefaults, eventSettingsSchema, eventSortSchema, eventStatusSchema, eventTypeSchema, eventVenueSchema, eventViewSchema, flaggedCommentSchema, flaggedCommentViewSchema, grantEntitlementInputSchema, grantSourceSchema, idSchema, inviteSchema, isoDateStringSchema, jsonRecordSchema, jsonValueSchema, levelSchema, listBundlesQuerySchema, listCommentsQuerySchema, listCommunitiesQuerySchema, listCoursesQuerySchema, listDownloadsQuerySchema, listEventsQuerySchema, liveMessageSchema, memberEventSchema, memberEventSummarySchema, memberEventViewerSchema, memberEventsQuerySchema, mentionItemTypeSchema, mentionSchema, mentionViewSchema, messageAttachmentSchema, messageFileSchema, messageFlagResolutionSchema, messageFlagSchema, messageReactionSchema, messageSchema, messageViewSchema, moduleSchema, newOrganizationInputSchema, notificationCategoryKeySchema, notificationCategoryListSchema, notificationCategorySchema, notificationChannelKeySchema, notificationScopeSchema, notificationTypeKeySchema, orgRoleRowSchema, orgUserProfileSchema, orgUserSchema, orgUserStatusSchema, organizationSchema, patchCommunitySettingsInputSchema, patchDmSettingsInputSchema, permissionSchema, postAssetSchema, postBookmarkSchema, postFlagResolutionSchema, postFlagSchema, postReactionSchema, postSchema, postStatusSchema, postViewSchema, progressRecordSchema, progressReportItemSchema, progressTargetSchema, progressTargetTypeSchema, provisionUserInputSchema, reactionCountsSchema, reactionEmojiSchema, reasonSchema, reorderDownloadAssetsInputSchema, reorderEventAssetsInputSchema, reportProgressInputSchema, requestUploadInputSchema, roleAssignmentSchema, roleKeySchema, saveActivityInputSchema, serializableDateSchema, setSpaceTopicsInputSchema, settingSchema, spaceAccessRuleSchema, spaceDetailSchema, spaceLinkSchema, spaceMemberSchema, spaceMemberSourceSchema, spaceMemberStatusSchema, spaceSchema, spaceSettingsDefaults, spaceSettingsSchema, spaceTopicSchema, subjectTypeSchema, subscriptionItemTypeSchema, subscriptionSchema, subscriptionStateSchema, subscriptionViewSchema, timeZoneSchema, updateAutomationInputSchema, updateBundleInputSchema, updateCommunityInputSchema, updateCourseInputSchema, updateDownloadInputSchema, updateEventInputSchema, updateOrgUserInputSchema, updateSpaceInputSchema, updateUserInputSchema, updateWebhookInputSchema, uploadTicketSchema, userProfileSchema, userProfileViewSchema, userSchema, validationSchema, webhookSchema, webhookSecretSchema, webhookUrlSchema };
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/types/schemas/notifications.d.ts
|
|
3
|
+
declare const reasonSchema: z.ZodEnum<{
|
|
4
|
+
subject: "subject";
|
|
5
|
+
post_author: "post_author";
|
|
6
|
+
comment_author: "comment_author";
|
|
7
|
+
message_author: "message_author";
|
|
8
|
+
follower: "follower";
|
|
9
|
+
thread_participant: "thread_participant";
|
|
10
|
+
mentioned: "mentioned";
|
|
11
|
+
participant: "participant";
|
|
12
|
+
space_member: "space_member";
|
|
13
|
+
community_member: "community_member";
|
|
14
|
+
course_member: "course_member";
|
|
15
|
+
event_member: "event_member";
|
|
16
|
+
moderator: "moderator";
|
|
17
|
+
}>;
|
|
18
|
+
declare const notificationScopeSchema: z.ZodEnum<{
|
|
19
|
+
community: "community";
|
|
20
|
+
org: "org";
|
|
21
|
+
space: "space";
|
|
22
|
+
chat: "chat";
|
|
23
|
+
}>;
|
|
24
|
+
declare const subjectTypeSchema: z.ZodEnum<{
|
|
25
|
+
message: "message";
|
|
26
|
+
event: "event";
|
|
27
|
+
course: "course";
|
|
28
|
+
download: "download";
|
|
29
|
+
community: "community";
|
|
30
|
+
activity: "activity";
|
|
31
|
+
bundle: "bundle";
|
|
32
|
+
space: "space";
|
|
33
|
+
chat: "chat";
|
|
34
|
+
post: "post";
|
|
35
|
+
comment: "comment";
|
|
36
|
+
}>;
|
|
37
|
+
declare const notificationCategoryKeySchema: z.ZodString;
|
|
38
|
+
declare const notificationTypeKeySchema: z.ZodString;
|
|
39
|
+
declare const notificationChannelKeySchema: z.ZodString;
|
|
40
|
+
declare const notificationCategorySchema: z.ZodObject<{
|
|
41
|
+
key: z.ZodString;
|
|
42
|
+
covers: z.ZodArray<z.ZodObject<{
|
|
43
|
+
type: z.ZodString;
|
|
44
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
45
|
+
subject: "subject";
|
|
46
|
+
post_author: "post_author";
|
|
47
|
+
comment_author: "comment_author";
|
|
48
|
+
message_author: "message_author";
|
|
49
|
+
follower: "follower";
|
|
50
|
+
thread_participant: "thread_participant";
|
|
51
|
+
mentioned: "mentioned";
|
|
52
|
+
participant: "participant";
|
|
53
|
+
space_member: "space_member";
|
|
54
|
+
community_member: "community_member";
|
|
55
|
+
course_member: "course_member";
|
|
56
|
+
event_member: "event_member";
|
|
57
|
+
moderator: "moderator";
|
|
58
|
+
}>>;
|
|
59
|
+
}, z.core.$strict>>;
|
|
60
|
+
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
61
|
+
default: z.ZodBoolean;
|
|
62
|
+
locked: z.ZodBoolean;
|
|
63
|
+
}, z.core.$strict>>;
|
|
64
|
+
perSpace: z.ZodOptional<z.ZodBoolean>;
|
|
65
|
+
spaceDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodBoolean>>>;
|
|
66
|
+
}, z.core.$strict>;
|
|
67
|
+
declare const notificationCategoryListSchema: z.ZodArray<z.ZodObject<{
|
|
68
|
+
key: z.ZodString;
|
|
69
|
+
covers: z.ZodArray<z.ZodObject<{
|
|
70
|
+
type: z.ZodString;
|
|
71
|
+
reasons: z.ZodArray<z.ZodEnum<{
|
|
72
|
+
subject: "subject";
|
|
73
|
+
post_author: "post_author";
|
|
74
|
+
comment_author: "comment_author";
|
|
75
|
+
message_author: "message_author";
|
|
76
|
+
follower: "follower";
|
|
77
|
+
thread_participant: "thread_participant";
|
|
78
|
+
mentioned: "mentioned";
|
|
79
|
+
participant: "participant";
|
|
80
|
+
space_member: "space_member";
|
|
81
|
+
community_member: "community_member";
|
|
82
|
+
course_member: "course_member";
|
|
83
|
+
event_member: "event_member";
|
|
84
|
+
moderator: "moderator";
|
|
85
|
+
}>>;
|
|
86
|
+
}, z.core.$strict>>;
|
|
87
|
+
channels: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
88
|
+
default: z.ZodBoolean;
|
|
89
|
+
locked: z.ZodBoolean;
|
|
90
|
+
}, z.core.$strict>>;
|
|
91
|
+
perSpace: z.ZodOptional<z.ZodBoolean>;
|
|
92
|
+
spaceDefaults: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodRecord<z.ZodString, z.ZodBoolean>>>;
|
|
93
|
+
}, z.core.$strict>>;
|
|
94
|
+
//#endregion
|
|
95
|
+
export { notificationCategoryKeySchema, notificationCategoryListSchema, notificationCategorySchema, notificationChannelKeySchema, notificationScopeSchema, notificationTypeKeySchema, reasonSchema, subjectTypeSchema };
|
|
96
|
+
//# sourceMappingURL=notifications.d.ts.map
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/types/schemas/notifications.ts
|
|
3
|
+
const reasonSchema = z.enum([
|
|
4
|
+
"subject",
|
|
5
|
+
"post_author",
|
|
6
|
+
"comment_author",
|
|
7
|
+
"message_author",
|
|
8
|
+
"follower",
|
|
9
|
+
"thread_participant",
|
|
10
|
+
"mentioned",
|
|
11
|
+
"participant",
|
|
12
|
+
"space_member",
|
|
13
|
+
"community_member",
|
|
14
|
+
"course_member",
|
|
15
|
+
"event_member",
|
|
16
|
+
"moderator"
|
|
17
|
+
]);
|
|
18
|
+
const notificationScopeSchema = z.enum([
|
|
19
|
+
"org",
|
|
20
|
+
"community",
|
|
21
|
+
"space",
|
|
22
|
+
"chat"
|
|
23
|
+
]);
|
|
24
|
+
const subjectTypeSchema = z.enum([
|
|
25
|
+
"post",
|
|
26
|
+
"comment",
|
|
27
|
+
"chat",
|
|
28
|
+
"message",
|
|
29
|
+
"space",
|
|
30
|
+
"community",
|
|
31
|
+
"course",
|
|
32
|
+
"download",
|
|
33
|
+
"event",
|
|
34
|
+
"bundle",
|
|
35
|
+
"activity"
|
|
36
|
+
]);
|
|
37
|
+
const notificationCategoryKeySchema = z.string().regex(/^[a-z][a-z0-9_]{0,63}$/, "must be lower case letters, digits and underscores");
|
|
38
|
+
const notificationTypeKeySchema = z.string().regex(/^[a-z][a-z0-9_.]{0,63}$/, "must be a notification type key");
|
|
39
|
+
const notificationChannelKeySchema = z.string().regex(/^[a-zA-Z][a-zA-Z0-9_]{0,63}$/, "must be a channel key");
|
|
40
|
+
const notificationCategorySchema = z.object({
|
|
41
|
+
key: notificationCategoryKeySchema,
|
|
42
|
+
covers: z.array(z.object({
|
|
43
|
+
type: notificationTypeKeySchema,
|
|
44
|
+
reasons: z.array(reasonSchema).min(1).max(13)
|
|
45
|
+
}).strict()).min(1).max(50),
|
|
46
|
+
channels: z.record(notificationChannelKeySchema, z.object({
|
|
47
|
+
default: z.boolean(),
|
|
48
|
+
locked: z.boolean()
|
|
49
|
+
}).strict()),
|
|
50
|
+
perSpace: z.boolean().optional(),
|
|
51
|
+
spaceDefaults: z.record(z.string().min(1).max(64), z.record(notificationChannelKeySchema, z.boolean())).optional()
|
|
52
|
+
}).strict();
|
|
53
|
+
const notificationCategoryListSchema = z.array(notificationCategorySchema).max(100);
|
|
54
|
+
//#endregion
|
|
55
|
+
export { notificationCategoryKeySchema, notificationCategoryListSchema, notificationCategorySchema, notificationChannelKeySchema, notificationScopeSchema, notificationTypeKeySchema, reasonSchema, subjectTypeSchema };
|
|
56
|
+
|
|
57
|
+
//# sourceMappingURL=notifications.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"notifications.js","names":[],"sources":["../../../src/types/schemas/notifications.ts"],"sourcesContent":["import { z } from 'zod';\nimport type { NotificationCategory, Reason, SubjectRef } from '../notifications.js';\n\nexport const reasonSchema = z.enum([\n 'subject',\n 'post_author',\n 'comment_author',\n 'message_author',\n 'follower',\n 'thread_participant',\n 'mentioned',\n 'participant',\n 'space_member',\n 'community_member',\n 'course_member',\n 'event_member',\n 'moderator',\n]) satisfies z.ZodType<Reason>;\n\nexport const notificationScopeSchema = z.enum(['org', 'community', 'space', 'chat']);\n\nexport const subjectTypeSchema = z.enum([\n 'post',\n 'comment',\n 'chat',\n 'message',\n 'space',\n 'community',\n 'course',\n 'download',\n 'event',\n 'bundle',\n 'activity',\n]) satisfies z.ZodType<SubjectRef['type']>;\n\nexport const notificationCategoryKeySchema = z\n .string()\n .regex(/^[a-z][a-z0-9_]{0,63}$/, 'must be lower case letters, digits and underscores');\n\nexport const notificationTypeKeySchema = z\n .string()\n .regex(/^[a-z][a-z0-9_.]{0,63}$/, 'must be a notification type key');\n\nexport const notificationChannelKeySchema = z\n .string()\n .regex(/^[a-zA-Z][a-zA-Z0-9_]{0,63}$/, 'must be a channel key');\n\nexport const notificationCategorySchema = z\n .object({\n key: notificationCategoryKeySchema,\n covers: z\n .array(\n z\n .object({\n type: notificationTypeKeySchema,\n reasons: z.array(reasonSchema).min(1).max(13),\n })\n .strict(),\n )\n .min(1)\n .max(50),\n channels: z.record(\n notificationChannelKeySchema,\n z.object({ default: z.boolean(), locked: z.boolean() }).strict(),\n ),\n perSpace: z.boolean().optional(),\n spaceDefaults: z\n .record(z.string().min(1).max(64), z.record(notificationChannelKeySchema, z.boolean()))\n .optional(),\n })\n .strict() satisfies z.ZodType<NotificationCategory>;\n\nexport const notificationCategoryListSchema = z.array(notificationCategorySchema).max(100);\n"],"mappings":";;AAGA,MAAa,eAAe,EAAE,KAAK;CACjC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,MAAa,0BAA0B,EAAE,KAAK;CAAC;CAAO;CAAa;CAAS;AAAM,CAAC;AAEnF,MAAa,oBAAoB,EAAE,KAAK;CACtC;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AAED,MAAa,gCAAgC,EAC1C,OAAO,CAAC,CACR,MAAM,0BAA0B,oDAAoD;AAEvF,MAAa,4BAA4B,EACtC,OAAO,CAAC,CACR,MAAM,2BAA2B,iCAAiC;AAErE,MAAa,+BAA+B,EACzC,OAAO,CAAC,CACR,MAAM,gCAAgC,uBAAuB;AAEhE,MAAa,6BAA6B,EACvC,OAAO;CACN,KAAK;CACL,QAAQ,EACL,MACC,EACG,OAAO;EACN,MAAM;EACN,SAAS,EAAE,MAAM,YAAY,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE;CAC9C,CAAC,CAAC,CACD,OAAO,CACZ,CAAC,CACA,IAAI,CAAC,CAAC,CACN,IAAI,EAAE;CACT,UAAU,EAAE,OACV,8BACA,EAAE,OAAO;EAAE,SAAS,EAAE,QAAQ;EAAG,QAAQ,EAAE,QAAQ;CAAE,CAAC,CAAC,CAAC,OAAO,CACjE;CACA,UAAU,EAAE,QAAQ,CAAC,CAAC,SAAS;CAC/B,eAAe,EACZ,OAAO,EAAE,OAAO,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,IAAI,EAAE,GAAG,EAAE,OAAO,8BAA8B,EAAE,QAAQ,CAAC,CAAC,CAAC,CACtF,SAAS;AACd,CAAC,CAAC,CACD,OAAO;AAEV,MAAa,iCAAiC,EAAE,MAAM,0BAA0B,CAAC,CAAC,IAAI,GAAG"}
|
|
@@ -1,25 +1,101 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
//#region src/types/schemas/organizations.d.ts
|
|
3
|
-
declare const
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
3
|
+
declare const levelSchema: z.ZodUnion<readonly [z.ZodLiteral<"org">, z.ZodLazy<z.ZodEnum<{
|
|
4
|
+
event: "event";
|
|
5
|
+
course: "course";
|
|
6
|
+
download: "download";
|
|
7
|
+
community: "community";
|
|
8
|
+
}>>]>;
|
|
9
|
+
type Level = z.infer<typeof levelSchema>;
|
|
10
|
+
declare const PERMISSION_KEYS: readonly ["organizations:read", "organizations:write", "api_keys:read", "api_keys:write", "api_keys:delete", "notification_categories:read", "notification_categories:write", "integrations:read", "integrations:write", "integrations:delete", "analytics:read", "people:read", "people:write", "people:delete", "roles:read", "roles:write", "roles:delete", "access:read", "access:write", "bundles:read", "bundles:write", "bundles:delete", "media:read", "media:write", "media:delete", "courses:read", "courses:write", "courses:delete", "courses:moderate", "progress:read", "downloads:read", "downloads:write", "downloads:delete", "communities:read", "communities:write", "communities:delete", "communities:moderate", "events:read", "events:write", "events:delete", "automations:read", "automations:write", "automations:delete"];
|
|
11
|
+
declare const permissionSchema: z.ZodEnum<{
|
|
12
|
+
"organizations:read": "organizations:read";
|
|
13
|
+
"organizations:write": "organizations:write";
|
|
14
|
+
"api_keys:read": "api_keys:read";
|
|
15
|
+
"api_keys:write": "api_keys:write";
|
|
16
|
+
"api_keys:delete": "api_keys:delete";
|
|
17
|
+
"notification_categories:read": "notification_categories:read";
|
|
18
|
+
"notification_categories:write": "notification_categories:write";
|
|
19
|
+
"integrations:read": "integrations:read";
|
|
20
|
+
"integrations:write": "integrations:write";
|
|
21
|
+
"integrations:delete": "integrations:delete";
|
|
22
|
+
"analytics:read": "analytics:read";
|
|
23
|
+
"people:read": "people:read";
|
|
24
|
+
"people:write": "people:write";
|
|
25
|
+
"people:delete": "people:delete";
|
|
26
|
+
"roles:read": "roles:read";
|
|
27
|
+
"roles:write": "roles:write";
|
|
28
|
+
"roles:delete": "roles:delete";
|
|
29
|
+
"access:read": "access:read";
|
|
30
|
+
"access:write": "access:write";
|
|
31
|
+
"bundles:read": "bundles:read";
|
|
32
|
+
"bundles:write": "bundles:write";
|
|
33
|
+
"bundles:delete": "bundles:delete";
|
|
34
|
+
"media:read": "media:read";
|
|
35
|
+
"media:write": "media:write";
|
|
36
|
+
"media:delete": "media:delete";
|
|
37
|
+
"courses:read": "courses:read";
|
|
38
|
+
"courses:write": "courses:write";
|
|
39
|
+
"courses:delete": "courses:delete";
|
|
40
|
+
"courses:moderate": "courses:moderate";
|
|
41
|
+
"progress:read": "progress:read";
|
|
42
|
+
"downloads:read": "downloads:read";
|
|
43
|
+
"downloads:write": "downloads:write";
|
|
44
|
+
"downloads:delete": "downloads:delete";
|
|
45
|
+
"communities:read": "communities:read";
|
|
46
|
+
"communities:write": "communities:write";
|
|
47
|
+
"communities:delete": "communities:delete";
|
|
48
|
+
"communities:moderate": "communities:moderate";
|
|
49
|
+
"events:read": "events:read";
|
|
50
|
+
"events:write": "events:write";
|
|
51
|
+
"events:delete": "events:delete";
|
|
52
|
+
"automations:read": "automations:read";
|
|
53
|
+
"automations:write": "automations:write";
|
|
54
|
+
"automations:delete": "automations:delete";
|
|
9
55
|
}>;
|
|
10
|
-
type
|
|
56
|
+
type Permission = z.infer<typeof permissionSchema>;
|
|
57
|
+
declare const roleKeySchema: z.ZodString;
|
|
58
|
+
type RoleKey = z.infer<typeof roleKeySchema>;
|
|
59
|
+
declare const orgRoleRowSchema: z.ZodObject<{
|
|
60
|
+
id: z.ZodString;
|
|
61
|
+
orgId: z.ZodString;
|
|
62
|
+
key: z.ZodString;
|
|
63
|
+
name: z.ZodNullable<z.ZodString>;
|
|
64
|
+
description: z.ZodNullable<z.ZodString>;
|
|
65
|
+
base: z.ZodString;
|
|
66
|
+
levels: z.ZodNullable<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<"org">, z.ZodLazy<z.ZodEnum<{
|
|
67
|
+
event: "event";
|
|
68
|
+
course: "course";
|
|
69
|
+
download: "download";
|
|
70
|
+
community: "community";
|
|
71
|
+
}>>]>>>;
|
|
72
|
+
permissions: z.ZodRecord<z.ZodString, z.ZodBoolean>;
|
|
73
|
+
team: z.ZodNullable<z.ZodBoolean>;
|
|
74
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
75
|
+
updatedAt: z.ZodCoercedDate<unknown>;
|
|
76
|
+
}, z.core.$strict>;
|
|
77
|
+
type OrgRoleRow = z.output<typeof orgRoleRowSchema>;
|
|
78
|
+
declare const roleAssignmentSchema: z.ZodObject<{
|
|
79
|
+
id: z.ZodString;
|
|
80
|
+
orgId: z.ZodString;
|
|
81
|
+
orgUserId: z.ZodString;
|
|
82
|
+
roleKey: z.ZodString;
|
|
83
|
+
contentId: z.ZodNullable<z.ZodString>;
|
|
84
|
+
contentType: z.ZodNullable<z.ZodLazy<z.ZodEnum<{
|
|
85
|
+
event: "event";
|
|
86
|
+
course: "course";
|
|
87
|
+
download: "download";
|
|
88
|
+
community: "community";
|
|
89
|
+
}>>>;
|
|
90
|
+
assignedBy: z.ZodString;
|
|
91
|
+
createdAt: z.ZodCoercedDate<unknown>;
|
|
92
|
+
}, z.core.$strict>;
|
|
93
|
+
type RoleAssignment = z.output<typeof roleAssignmentSchema>;
|
|
11
94
|
declare const orgUserStatusSchema: z.ZodEnum<{
|
|
12
95
|
active: "active";
|
|
13
96
|
invited: "invited";
|
|
14
97
|
}>;
|
|
15
98
|
type OrgUserStatus = z.infer<typeof orgUserStatusSchema>;
|
|
16
|
-
declare const inviteRoleSchema: z.ZodEnum<{
|
|
17
|
-
admin: "admin";
|
|
18
|
-
instructor: "instructor";
|
|
19
|
-
moderator: "moderator";
|
|
20
|
-
student: "student";
|
|
21
|
-
}>;
|
|
22
|
-
type InviteRole = z.infer<typeof inviteRoleSchema>;
|
|
23
99
|
declare const organizationSchema: z.ZodObject<{
|
|
24
100
|
id: z.ZodString;
|
|
25
101
|
externalId: z.ZodNullable<z.ZodString>;
|
|
@@ -35,13 +111,6 @@ declare const orgUserSchema: z.ZodObject<{
|
|
|
35
111
|
id: z.ZodString;
|
|
36
112
|
orgId: z.ZodString;
|
|
37
113
|
userId: z.ZodString;
|
|
38
|
-
role: z.ZodEnum<{
|
|
39
|
-
owner: "owner";
|
|
40
|
-
admin: "admin";
|
|
41
|
-
instructor: "instructor";
|
|
42
|
-
moderator: "moderator";
|
|
43
|
-
student: "student";
|
|
44
|
-
}>;
|
|
45
114
|
status: z.ZodEnum<{
|
|
46
115
|
active: "active";
|
|
47
116
|
invited: "invited";
|
|
@@ -63,17 +132,12 @@ declare const inviteSchema: z.ZodObject<{
|
|
|
63
132
|
id: z.ZodString;
|
|
64
133
|
orgId: z.ZodString;
|
|
65
134
|
email: z.ZodEmail;
|
|
66
|
-
|
|
67
|
-
admin: "admin";
|
|
68
|
-
instructor: "instructor";
|
|
69
|
-
moderator: "moderator";
|
|
70
|
-
student: "student";
|
|
71
|
-
}>;
|
|
135
|
+
roleKey: z.ZodString;
|
|
72
136
|
status: z.ZodEnum<{
|
|
73
137
|
pending: "pending";
|
|
138
|
+
canceled: "canceled";
|
|
74
139
|
accepted: "accepted";
|
|
75
140
|
rejected: "rejected";
|
|
76
|
-
canceled: "canceled";
|
|
77
141
|
}>;
|
|
78
142
|
invitedBy: z.ZodString;
|
|
79
143
|
tokenHash: z.ZodNullable<z.ZodString>;
|
|
@@ -92,25 +156,11 @@ type NewOrganizationInput = z.infer<typeof newOrganizationInputSchema>;
|
|
|
92
156
|
declare const addOrgUserInputSchema: z.ZodObject<{
|
|
93
157
|
orgId: z.ZodString;
|
|
94
158
|
userId: z.ZodString;
|
|
95
|
-
role: z.ZodEnum<{
|
|
96
|
-
owner: "owner";
|
|
97
|
-
admin: "admin";
|
|
98
|
-
instructor: "instructor";
|
|
99
|
-
moderator: "moderator";
|
|
100
|
-
student: "student";
|
|
101
|
-
}>;
|
|
102
159
|
}, z.core.$strict>;
|
|
103
160
|
type AddOrgUserInput = z.infer<typeof addOrgUserInputSchema>;
|
|
104
161
|
declare const createOrgUserInputSchema: z.ZodObject<{
|
|
105
162
|
orgId: z.ZodString;
|
|
106
163
|
userId: z.ZodString;
|
|
107
|
-
role: z.ZodEnum<{
|
|
108
|
-
owner: "owner";
|
|
109
|
-
admin: "admin";
|
|
110
|
-
instructor: "instructor";
|
|
111
|
-
moderator: "moderator";
|
|
112
|
-
student: "student";
|
|
113
|
-
}>;
|
|
114
164
|
status: z.ZodOptional<z.ZodEnum<{
|
|
115
165
|
active: "active";
|
|
116
166
|
invited: "invited";
|
|
@@ -118,13 +168,6 @@ declare const createOrgUserInputSchema: z.ZodObject<{
|
|
|
118
168
|
}, z.core.$strict>;
|
|
119
169
|
type CreateOrgUserInput = z.infer<typeof createOrgUserInputSchema>;
|
|
120
170
|
declare const updateOrgUserInputSchema: z.ZodObject<{
|
|
121
|
-
role: z.ZodOptional<z.ZodEnum<{
|
|
122
|
-
owner: "owner";
|
|
123
|
-
admin: "admin";
|
|
124
|
-
instructor: "instructor";
|
|
125
|
-
moderator: "moderator";
|
|
126
|
-
student: "student";
|
|
127
|
-
}>>;
|
|
128
171
|
status: z.ZodOptional<z.ZodEnum<{
|
|
129
172
|
active: "active";
|
|
130
173
|
invited: "invited";
|
|
@@ -132,26 +175,19 @@ declare const updateOrgUserInputSchema: z.ZodObject<{
|
|
|
132
175
|
}, z.core.$strict>;
|
|
133
176
|
type UpdateOrgUserInput = z.infer<typeof updateOrgUserInputSchema>;
|
|
134
177
|
declare const createInviteInputSchema: z.ZodObject<{
|
|
135
|
-
orgId: z.ZodString;
|
|
136
178
|
email: z.ZodEmail;
|
|
137
|
-
|
|
138
|
-
admin: "admin";
|
|
139
|
-
instructor: "instructor";
|
|
140
|
-
moderator: "moderator";
|
|
141
|
-
student: "student";
|
|
142
|
-
}>;
|
|
143
|
-
inviterUserId: z.ZodString;
|
|
179
|
+
roleKey: z.ZodDefault<z.ZodString>;
|
|
144
180
|
firstName: z.ZodOptional<z.ZodString>;
|
|
145
181
|
lastName: z.ZodOptional<z.ZodString>;
|
|
146
182
|
sendEmail: z.ZodOptional<z.ZodBoolean>;
|
|
147
183
|
}, z.core.$strict>;
|
|
148
|
-
type CreateInviteInput = z.
|
|
184
|
+
type CreateInviteInput = z.input<typeof createInviteInputSchema>;
|
|
149
185
|
declare const acceptInviteInputSchema: z.ZodObject<{
|
|
150
186
|
token: z.ZodString;
|
|
151
|
-
|
|
187
|
+
authUserId: z.ZodString;
|
|
152
188
|
email: z.ZodEmail;
|
|
153
189
|
}, z.core.$strict>;
|
|
154
190
|
type AcceptInviteInput = z.infer<typeof acceptInviteInputSchema>;
|
|
155
191
|
//#endregion
|
|
156
|
-
export { AcceptInviteInput, AddOrgUserInput, CreateInviteInput, CreateOrgUserInput, Invite, InviteInput,
|
|
192
|
+
export { AcceptInviteInput, AddOrgUserInput, CreateInviteInput, CreateOrgUserInput, Invite, InviteInput, Level, NewOrganizationInput, OrgRoleRow, OrgUser, OrgUserInput, OrgUserProfile, OrgUserStatus, Organization, OrganizationInput, PERMISSION_KEYS, Permission, RoleAssignment, RoleKey, UpdateOrgUserInput, acceptInviteInputSchema, addOrgUserInputSchema, createInviteInputSchema, createOrgUserInputSchema, inviteSchema, levelSchema, newOrganizationInputSchema, orgRoleRowSchema, orgUserProfileSchema, orgUserSchema, orgUserStatusSchema, organizationSchema, permissionSchema, roleAssignmentSchema, roleKeySchema, updateOrgUserInputSchema };
|
|
157
193
|
//# sourceMappingURL=organizations.d.ts.map
|