@openpeepshq/react 0.7.0 → 0.8.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/components/configuration/ConfigurationCategory.js +3 -2
- package/dist/components/configuration/ConfigurationList.js +1 -1
- package/dist/components/form/LocationInput.js +1 -1
- package/dist/components/jams/JamCapacityGate.js +1 -1
- package/dist/components/jams/JamConference.js +2 -0
- package/dist/components/jams/JamParticipantConference.js +2 -0
- package/dist/components/jams/JamRoom.js +2 -3
- package/dist/components/jams/LiveJamsSection.js +8 -2
- package/dist/components/jams/LivekitUnavailableNotice.d.ts +9 -0
- package/dist/components/jams/LivekitUnavailableNotice.js +19 -0
- package/dist/components/jams/dropLateAudio.d.ts +22 -0
- package/dist/components/jams/dropLateAudio.js +115 -0
- package/dist/components/jams/index.d.ts +1 -0
- package/dist/components/jams/index.js +1 -0
- package/dist/components/markdown/compileMarkdown.js +1 -0
- package/dist/components/navigation/FooterMobile.js +4 -3
- package/dist/components/navigation/HeaderMobile.js +5 -2
- package/dist/components/navigation/MobileMenuItem.d.ts +3 -1
- package/dist/components/navigation/MobileMenuItem.js +7 -2
- package/dist/components/navigation/NavWithTooltip.d.ts +9 -0
- package/dist/components/navigation/NavWithTooltip.js +4 -0
- package/dist/components/navigation/index.d.ts +2 -0
- package/dist/components/navigation/index.js +1 -0
- package/dist/components/navigation/sideBarNavLinkClass.d.ts +6 -4
- package/dist/components/navigation/sideBarNavLinkClass.js +6 -2
- package/dist/components/notifications/TypedNotification.js +46 -4
- package/dist/components/post/CompactReplyParent.js +5 -6
- package/dist/components/post/Markdown.d.ts +2 -2
- package/dist/components/post/Markdown.js +1 -1
- package/dist/components/post/TruncatedMarkdown.d.ts +27 -0
- package/dist/components/post/TruncatedMarkdown.js +37 -0
- package/dist/components/post/attachmentPreview.js +1 -1
- package/dist/components/post/helpers.d.ts +2 -2
- package/dist/components/post/helpers.js +3 -16
- package/dist/components/post/index.d.ts +2 -0
- package/dist/components/post/index.js +1 -0
- package/dist/components/post/pieces/Attachments.js +23 -17
- package/dist/components/post/pieces/EventLocation.js +14 -0
- package/dist/components/post/pieces/EventRsvpButton.js +39 -7
- package/dist/components/post/pieces/EventRsvpList.js +23 -3
- package/dist/components/post/pieces/EventRsvpScopeDialog.d.ts +1 -1
- package/dist/components/post/pieces/EventRsvpScopeDialog.js +34 -22
- package/dist/components/post/pieces/EventWaitlistJoinDialog.d.ts +10 -0
- package/dist/components/post/pieces/EventWaitlistJoinDialog.js +26 -0
- package/dist/components/post/pieces/ParticipantsCard.d.ts +1 -1
- package/dist/components/post/pieces/ParticipantsCard.js +1 -1
- package/dist/components/post/pieces/PollContent.js +8 -2
- package/dist/components/post/pieces/PostActions.d.ts +1 -1
- package/dist/components/post/pieces/PostActions.js +20 -12
- package/dist/components/post/pieces/ShareMenu.d.ts +6 -1
- package/dist/components/post/pieces/ShareMenu.js +40 -7
- package/dist/components/post/post-form/ArticleForm.js +1 -1
- package/dist/components/post/post-form/EventForm.js +33 -5
- package/dist/components/post/post-form/ResourceForm.d.ts +3 -1
- package/dist/components/post/post-form/ResourceForm.js +48 -7
- package/dist/components/post/post-form/VisibilitySelector.js +9 -3
- package/dist/components/post/types/Article.js +2 -3
- package/dist/components/post/types/Event.js +10 -1
- package/dist/components/post/types/article/FullArticle.js +1 -1
- package/dist/components/post/types/event/CardEvent.js +2 -1
- package/dist/components/post/types/event/FullEvent.js +22 -13
- package/dist/components/post/types/event/ProfileEventRelationship.js +8 -0
- package/dist/components/post/types/resource/FullResource.js +3 -3
- package/dist/components/preview-link/LocalPreviewLink.js +4 -2
- package/dist/components/preview-link/PreviewLink.js +1 -1
- package/dist/components/preview-link/helpers.d.ts +5 -0
- package/dist/components/preview-link/helpers.js +27 -1
- package/dist/components/preview-link/local/WelcomePreview.d.ts +1 -0
- package/dist/components/preview-link/local/WelcomePreview.js +8 -0
- package/dist/components/profile/Avatar.js +2 -2
- package/dist/components/profile/ProfileFromId.js +1 -1
- package/dist/components/resources/ResourceCard.d.ts +5 -1
- package/dist/components/resources/ResourceCard.js +29 -5
- package/dist/components/resources/ResourceCard.test.d.ts +1 -0
- package/dist/components/resources/ResourceCard.test.js +75 -0
- package/dist/components/resources/ResourceLibrary.js +1 -1
- package/dist/components/server-data/context.d.ts +1 -0
- package/dist/contexts/openpeeps/hooks/accounts.d.ts +5 -5
- package/dist/contexts/openpeeps/hooks/accounts.js +1 -3
- package/dist/contexts/openpeeps/hooks/admin.d.ts +165 -66
- package/dist/contexts/openpeeps/hooks/admin.js +11 -3
- package/dist/contexts/openpeeps/hooks/auth.d.ts +2 -2
- package/dist/contexts/openpeeps/hooks/groups.d.ts +8 -8
- package/dist/contexts/openpeeps/hooks/jams.d.ts +73 -24
- package/dist/contexts/openpeeps/hooks/other.d.ts +7 -6
- package/dist/contexts/openpeeps/hooks/payments.d.ts +2 -2
- package/dist/contexts/openpeeps/hooks/posts.d.ts +368 -170
- package/dist/contexts/openpeeps/hooks/streaming.d.ts +1 -1
- package/dist/hooks/admin/useCanAccessAdminSection.d.ts +13 -0
- package/dist/hooks/admin/useCanAccessAdminSection.js +21 -0
- package/dist/hooks/events/useEventComposer.d.ts +94 -41
- package/dist/hooks/events/useEventForm.d.ts +1 -0
- package/dist/hooks/events/useEventRsvp.d.ts +12 -2
- package/dist/hooks/events/useEventRsvp.js +59 -10
- package/dist/hooks/events/useEventsCalendar.d.ts +174 -76
- package/dist/hooks/groups/useNewGroup.js +22 -2
- package/dist/hooks/index.d.ts +5 -1
- package/dist/hooks/index.js +4 -1
- package/dist/hooks/jams/useCanDiagnoseLivekit.d.ts +2 -0
- package/dist/hooks/jams/useCanDiagnoseLivekit.js +3 -0
- package/dist/hooks/jams/useCreateNewJamForm.d.ts +3 -1
- package/dist/hooks/jams/useJamDetails.d.ts +87 -38
- package/dist/hooks/jams/useJamLobby.d.ts +1 -0
- package/dist/hooks/jams/useJamRoom.d.ts +175 -76
- package/dist/hooks/posts/useArticleComposer.d.ts +93 -41
- package/dist/hooks/posts/useFeedPostPresentation.d.ts +174 -76
- package/dist/hooks/posts/usePostDetailTitle.d.ts +87 -38
- package/dist/hooks/posts/useResourceComposer.d.ts +95 -41
- package/dist/hooks/posts/useResourceComposer.js +135 -27
- package/dist/hooks/posts/useShareMenu.d.ts +2 -0
- package/dist/hooks/posts/useShareMenu.js +7 -0
- package/dist/hooks/resources/useResourceLibrary.d.ts +177 -79
- package/dist/hooks/resources/useResourceLibrary.js +6 -2
- package/dist/hooks/settings/useNotificationPreferences.d.ts +1 -1
- package/dist/hooks/useWelcomePreview.d.ts +16 -0
- package/dist/hooks/useWelcomePreview.js +40 -0
- package/dist/lib/groupFormErrors.d.ts +1 -0
- package/dist/lib/groupFormErrors.js +5 -2
- package/dist/lib/threadHelpers.js +1 -5
- package/dist/navigation/menuItems.js +15 -0
- package/dist/navigation/targets.d.ts +2 -0
- package/dist/pages/admin/ConfigurationCommunity.js +1 -1
- package/dist/pages/admin/Diagnostics.js +1 -1
- package/dist/pages/admin/DiagnosticsLivekit.d.ts +1 -0
- package/dist/pages/admin/DiagnosticsLivekit.js +50 -0
- package/dist/pages/admin/Invites.js +5 -3
- package/dist/pages/admin/Media.d.ts +1 -0
- package/dist/pages/admin/Media.js +135 -0
- package/dist/pages/admin/community/CommunityForbiddenUsernames.d.ts +1 -0
- package/dist/pages/admin/community/CommunityForbiddenUsernames.js +106 -0
- package/dist/pages/admin/community/CommunityMarkdownPage.js +2 -1
- package/dist/pages/admin/community/CommunityRoles.js +1 -1
- package/dist/pages/admin/community/useCommunityConfig.d.ts +2 -0
- package/dist/pages/admin/components/EditInviteLinkModal.d.ts +5 -0
- package/dist/pages/admin/components/EditInviteLinkModal.js +131 -0
- package/dist/pages/auth/Register.js +33 -9
- package/dist/pages/conversations/Show.js +11 -0
- package/dist/pages/index.d.ts +3 -0
- package/dist/pages/index.js +3 -0
- package/dist/pages/jams/Index.js +2 -4
- package/dist/pages/resources/Edit.js +3 -3
- package/dist/pages/resources/New.js +2 -2
- package/dist/pages/settings/Account.js +30 -2
- package/dist/pages/settings/PublicProfile.js +15 -3
- package/dist/pwa/sw.d.ts +0 -1
- package/dist/react-native.d.ts +1 -0
- package/dist/react-native.js +1 -0
- package/dist/stores/newPosts.d.ts +4 -2
- package/dist/stores/newPosts.js +6 -1
- package/package.json +12 -7
- package/src/components/configuration/ConfigurationCategory.tsx +23 -10
- package/src/components/configuration/ConfigurationList.tsx +6 -1
- package/src/components/form/LocationInput.tsx +7 -1
- package/src/components/jams/JamCapacityGate.tsx +1 -1
- package/src/components/jams/JamConference.tsx +2 -0
- package/src/components/jams/JamParticipantConference.tsx +2 -0
- package/src/components/jams/JamRoom.tsx +2 -6
- package/src/components/jams/LiveJamsSection.tsx +16 -2
- package/src/components/jams/LivekitUnavailableNotice.tsx +40 -0
- package/src/components/jams/dropLateAudio.ts +153 -0
- package/src/components/jams/index.ts +1 -0
- package/src/components/markdown/compileMarkdown.ts +1 -0
- package/src/components/navigation/FooterMobile.tsx +41 -33
- package/src/components/navigation/HeaderMobile.tsx +55 -41
- package/src/components/navigation/MobileMenuItem.tsx +15 -2
- package/src/components/navigation/NavWithTooltip.tsx +26 -0
- package/src/components/navigation/index.ts +2 -0
- package/src/components/navigation/sideBarNavLinkClass.ts +9 -6
- package/src/components/notifications/TypedNotification.tsx +81 -9
- package/src/components/post/CompactReplyParent.tsx +17 -10
- package/src/components/post/Markdown.tsx +8 -2
- package/src/components/post/TruncatedMarkdown.tsx +91 -0
- package/src/components/post/attachmentPreview.ts +1 -3
- package/src/components/post/helpers.ts +4 -18
- package/src/components/post/index.ts +2 -0
- package/src/components/post/pieces/Attachments.tsx +93 -78
- package/src/components/post/pieces/EventLocation.tsx +27 -0
- package/src/components/post/pieces/EventRsvpButton.tsx +110 -7
- package/src/components/post/pieces/EventRsvpList.tsx +64 -0
- package/src/components/post/pieces/EventRsvpScopeDialog.tsx +39 -27
- package/src/components/post/pieces/EventWaitlistJoinDialog.tsx +77 -0
- package/src/components/post/pieces/ParticipantsCard.tsx +4 -1
- package/src/components/post/pieces/PollContent.tsx +8 -2
- package/src/components/post/pieces/PostActions.tsx +73 -42
- package/src/components/post/pieces/ShareMenu.tsx +67 -9
- package/src/components/post/post-form/ArticleForm.tsx +1 -1
- package/src/components/post/post-form/EventForm.tsx +69 -15
- package/src/components/post/post-form/ResourceForm.tsx +132 -4
- package/src/components/post/post-form/VisibilitySelector.tsx +12 -5
- package/src/components/post/types/Article.tsx +6 -6
- package/src/components/post/types/Event.tsx +68 -7
- package/src/components/post/types/article/FullArticle.tsx +2 -2
- package/src/components/post/types/event/CardEvent.tsx +26 -14
- package/src/components/post/types/event/FullEvent.tsx +48 -35
- package/src/components/post/types/event/ProfileEventRelationship.tsx +8 -0
- package/src/components/post/types/note/FullNote.tsx +1 -4
- package/src/components/post/types/poll/FullPoll.tsx +1 -4
- package/src/components/post/types/resource/FullResource.tsx +9 -1
- package/src/components/preview-link/LocalPreviewLink.tsx +4 -1
- package/src/components/preview-link/PreviewLink.tsx +2 -7
- package/src/components/preview-link/helpers.ts +32 -1
- package/src/components/preview-link/local/GroupPreview.tsx +1 -1
- package/src/components/preview-link/local/JamPreview.tsx +1 -1
- package/src/components/preview-link/local/WelcomePreview.tsx +45 -0
- package/src/components/profile/Avatar.tsx +6 -2
- package/src/components/profile/ProfileFromId.tsx +1 -5
- package/src/components/resources/ResourceCard.tsx +68 -11
- package/src/components/resources/ResourceLibrary.tsx +2 -2
- package/src/contexts/openpeeps/hooks/accounts.ts +1 -3
- package/src/contexts/openpeeps/hooks/admin.ts +11 -3
- package/src/contexts/openpeeps/hooks/other.ts +9 -12
- package/src/contexts/openpeeps/hooks/streaming.ts +3 -3
- package/src/css.d.ts +4 -0
- package/src/hooks/admin/useCanAccessAdminSection.ts +27 -0
- package/src/hooks/events/useEventRsvp.ts +69 -13
- package/src/hooks/groups/useNewGroup.ts +28 -3
- package/src/hooks/index.ts +8 -1
- package/src/hooks/jams/useCanDiagnoseLivekit.ts +5 -0
- package/src/hooks/posts/useResourceComposer.ts +165 -39
- package/src/hooks/posts/useShareMenu.ts +9 -0
- package/src/hooks/resources/useResourceLibrary.ts +6 -2
- package/src/hooks/useWelcomePreview.ts +61 -0
- package/src/i18n/I18nProvider.tsx +1 -4
- package/src/lib/groupFormErrors.ts +9 -2
- package/src/lib/threadHelpers.ts +1 -5
- package/src/navigation/menuItems.ts +16 -0
- package/src/navigation/targets.ts +2 -0
- package/src/pages/admin/ConfigurationCommunity.tsx +5 -0
- package/src/pages/admin/Diagnostics.tsx +4 -0
- package/src/pages/admin/DiagnosticsLivekit.tsx +147 -0
- package/src/pages/admin/Invites.tsx +23 -1
- package/src/pages/admin/Media.tsx +290 -0
- package/src/pages/admin/community/CommunityForbiddenUsernames.tsx +223 -0
- package/src/pages/admin/community/CommunityMarkdownPage.tsx +5 -1
- package/src/pages/admin/community/CommunityRoles.tsx +2 -2
- package/src/pages/admin/components/EditInviteLinkModal.tsx +263 -0
- package/src/pages/auth/Register.tsx +45 -4
- package/src/pages/conversations/Show.tsx +11 -0
- package/src/pages/index.ts +3 -0
- package/src/pages/jams/Index.tsx +2 -6
- package/src/pages/resources/Edit.tsx +3 -2
- package/src/pages/resources/New.tsx +6 -1
- package/src/pages/settings/Account.tsx +51 -1
- package/src/pages/settings/PublicProfile.tsx +20 -2
- package/src/pwa/sw.ts +6 -3
- package/src/pwa/useNotificationBadgeSync.ts +3 -1
- package/src/react-native.ts +1 -0
- package/src/stores/newPosts.ts +6 -1
- package/src/streaming.ts +3 -3
- package/dist/setupTests.d.ts +0 -1
- package/dist/setupTests.js +0 -5
|
@@ -19,6 +19,10 @@ const adminBackupsConfig = (client) => ({
|
|
|
19
19
|
restoreBackupAction: payloadMutation(client.admin.backups.restore, [
|
|
20
20
|
['admin', 'backups'],
|
|
21
21
|
]),
|
|
22
|
+
useMediaList: () => apiHook(client.admin.media.list),
|
|
23
|
+
deleteMediaAction: noPayloadMutation(client.admin.media.delete, [
|
|
24
|
+
['admin', 'media'],
|
|
25
|
+
]),
|
|
22
26
|
useConfigRead: (namespace, name) => apiHook(client.admin.config.read, { pathParams: { namespace, name } }),
|
|
23
27
|
updateConfigAction: payloadMutation(client.admin.config.update, [
|
|
24
28
|
['admin', 'config'],
|
|
@@ -44,14 +48,17 @@ const adminDbInvites = (client) => ({
|
|
|
44
48
|
['admin', 'db', 'sql'],
|
|
45
49
|
]),
|
|
46
50
|
createInviteAction: payloadMutation(client.admin.invites.create, [
|
|
47
|
-
['
|
|
51
|
+
['invite-links'],
|
|
48
52
|
]),
|
|
49
53
|
useInvitesList: () => apiHook(client.admin.invites.list),
|
|
54
|
+
updateInviteAction: payloadMutation(client.admin.invites.update, [
|
|
55
|
+
['invite-links'],
|
|
56
|
+
]),
|
|
50
57
|
activateInviteAction: noPayloadMutation(client.admin.invites.activate, [
|
|
51
|
-
['
|
|
58
|
+
['invite-links'],
|
|
52
59
|
]),
|
|
53
60
|
deactivateInviteAction: noPayloadMutation(client.admin.invites.deactivate, [
|
|
54
|
-
['
|
|
61
|
+
['invite-links'],
|
|
55
62
|
]),
|
|
56
63
|
useLogsList: (date, refetchInterval) => apiHook(client.admin.logs.list, {
|
|
57
64
|
queryParams: date ? { date } : undefined,
|
|
@@ -119,6 +126,7 @@ const adminDiagnostics = (client) => ({
|
|
|
119
126
|
usePerformanceStats: () => apiHook(client.admin.diagnostics.performance, {
|
|
120
127
|
refetchInterval: 15_000,
|
|
121
128
|
}),
|
|
129
|
+
useLivekitDiagnosis: () => apiHook(client.admin.diagnostics.livekit),
|
|
122
130
|
useJobDetail: (queue, jobId) => apiHook(client.admin.diagnostics.jobs.jobDetail, {
|
|
123
131
|
pathParams: { queue, jobId },
|
|
124
132
|
enabled: !!queue && !!jobId,
|
|
@@ -26,13 +26,13 @@ export declare const authHooks: (client: OpenpeepsClient, setCurrentProfile: (pr
|
|
|
26
26
|
}>;
|
|
27
27
|
requestResetPasswordAction: (defaultPathParams?: undefined) => (input: {
|
|
28
28
|
email: string;
|
|
29
|
-
}, pathParams?:
|
|
29
|
+
}, pathParams?: never, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
30
30
|
success: true;
|
|
31
31
|
}>;
|
|
32
32
|
resetPasswordAction: (defaultPathParams?: undefined) => (input: {
|
|
33
33
|
password: string;
|
|
34
34
|
confirmPassword?: string | undefined;
|
|
35
|
-
}, pathParams?:
|
|
35
|
+
}, pathParams?: never, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
36
36
|
success: true;
|
|
37
37
|
}>;
|
|
38
38
|
guestPassAction: () => (i: {
|
|
@@ -72,7 +72,7 @@ export declare const groupHooks: (client: OpenpeepsClient) => {
|
|
|
72
72
|
pinnedPostId?: string | undefined;
|
|
73
73
|
blockedByMe?: boolean | undefined;
|
|
74
74
|
}[] | undefined;
|
|
75
|
-
}, pathParams?:
|
|
75
|
+
}, pathParams?: never, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
76
76
|
handle: string;
|
|
77
77
|
capabilities: Record<string, {
|
|
78
78
|
add?: string[] | undefined;
|
|
@@ -181,7 +181,7 @@ export declare const groupHooks: (client: OpenpeepsClient) => {
|
|
|
181
181
|
discoverable?: boolean | undefined;
|
|
182
182
|
}, pathParams?: {
|
|
183
183
|
id: string;
|
|
184
|
-
}
|
|
184
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
185
185
|
handle: string;
|
|
186
186
|
capabilities: Record<string, {
|
|
187
187
|
add?: string[] | undefined;
|
|
@@ -205,7 +205,7 @@ export declare const groupHooks: (client: OpenpeepsClient) => {
|
|
|
205
205
|
id: string;
|
|
206
206
|
} | undefined) => (pathParams?: {
|
|
207
207
|
id: string;
|
|
208
|
-
}
|
|
208
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
209
209
|
handle: string;
|
|
210
210
|
capabilities: Record<string, {
|
|
211
211
|
add?: string[] | undefined;
|
|
@@ -234,14 +234,14 @@ export declare const groupHooks: (client: OpenpeepsClient) => {
|
|
|
234
234
|
id: string;
|
|
235
235
|
} | undefined) => (pathParams?: {
|
|
236
236
|
id: string;
|
|
237
|
-
}
|
|
237
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
238
238
|
success: true;
|
|
239
239
|
}>;
|
|
240
240
|
leaveGroupAction: (defaultPathParams?: {
|
|
241
241
|
id: string;
|
|
242
242
|
} | undefined) => (pathParams?: {
|
|
243
243
|
id: string;
|
|
244
|
-
}
|
|
244
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
245
245
|
success: true;
|
|
246
246
|
}>;
|
|
247
247
|
addGroupMemberAction: (defaultPathParams?: {
|
|
@@ -305,7 +305,7 @@ export declare const groupHooks: (client: OpenpeepsClient) => {
|
|
|
305
305
|
blockedByMe?: boolean | undefined;
|
|
306
306
|
}, pathParams?: {
|
|
307
307
|
id: string;
|
|
308
|
-
}
|
|
308
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
309
309
|
success: true;
|
|
310
310
|
}>;
|
|
311
311
|
removeGroupMemberAction: (defaultPathParams?: {
|
|
@@ -314,7 +314,7 @@ export declare const groupHooks: (client: OpenpeepsClient) => {
|
|
|
314
314
|
} | undefined) => (pathParams?: {
|
|
315
315
|
id: string;
|
|
316
316
|
memberId: string;
|
|
317
|
-
}
|
|
317
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
318
318
|
success: true;
|
|
319
319
|
}>;
|
|
320
320
|
setGroupMemberRolesAction: (defaultPathParams?: {
|
|
@@ -325,7 +325,7 @@ export declare const groupHooks: (client: OpenpeepsClient) => {
|
|
|
325
325
|
}, pathParams?: {
|
|
326
326
|
id: string;
|
|
327
327
|
memberId: string;
|
|
328
|
-
}
|
|
328
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
329
329
|
success: true;
|
|
330
330
|
}>;
|
|
331
331
|
};
|
|
@@ -175,6 +175,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
175
175
|
image?: string | undefined;
|
|
176
176
|
end?: string | undefined;
|
|
177
177
|
maxAttendees?: number | undefined;
|
|
178
|
+
waitlistOfferMinutes?: number | undefined;
|
|
178
179
|
attendeeListPublic?: boolean | undefined;
|
|
179
180
|
moderators?: string[] | undefined;
|
|
180
181
|
jam?: {
|
|
@@ -408,6 +409,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
408
409
|
image?: string | undefined;
|
|
409
410
|
end?: string | undefined;
|
|
410
411
|
maxAttendees?: number | undefined;
|
|
412
|
+
waitlistOfferMinutes?: number | undefined;
|
|
411
413
|
attendeeListPublic?: boolean | undefined;
|
|
412
414
|
moderators?: string[] | undefined;
|
|
413
415
|
jam?: {
|
|
@@ -700,6 +702,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
700
702
|
image?: string | undefined;
|
|
701
703
|
end?: string | undefined;
|
|
702
704
|
maxAttendees?: number | undefined;
|
|
705
|
+
waitlistOfferMinutes?: number | undefined;
|
|
703
706
|
attendeeListPublic?: boolean | undefined;
|
|
704
707
|
moderators?: string[] | undefined;
|
|
705
708
|
jam?: {
|
|
@@ -1006,8 +1009,10 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
1006
1009
|
} | {
|
|
1007
1010
|
type: "rsvp";
|
|
1008
1011
|
data: {
|
|
1009
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
1012
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
1010
1013
|
recurrenceId?: string | undefined;
|
|
1014
|
+
waitlistJoinedAt?: string | undefined;
|
|
1015
|
+
offerExpiresAt?: string | undefined;
|
|
1011
1016
|
};
|
|
1012
1017
|
profile: {
|
|
1013
1018
|
id: string;
|
|
@@ -1265,7 +1270,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
1265
1270
|
}[];
|
|
1266
1271
|
updatedAt: string;
|
|
1267
1272
|
rsvps: {
|
|
1268
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
1273
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
1269
1274
|
profile: {
|
|
1270
1275
|
id: string;
|
|
1271
1276
|
type: "guest" | "local" | "federated";
|
|
@@ -1326,6 +1331,8 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
1326
1331
|
};
|
|
1327
1332
|
createdAt: string;
|
|
1328
1333
|
recurrenceId?: string | undefined;
|
|
1334
|
+
waitlistJoinedAt?: string | undefined;
|
|
1335
|
+
offerExpiresAt?: string | undefined;
|
|
1329
1336
|
}[];
|
|
1330
1337
|
deletedAt?: string | null | undefined;
|
|
1331
1338
|
group?: {
|
|
@@ -1581,6 +1588,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
1581
1588
|
image?: string | undefined;
|
|
1582
1589
|
end?: string | undefined;
|
|
1583
1590
|
maxAttendees?: number | undefined;
|
|
1591
|
+
waitlistOfferMinutes?: number | undefined;
|
|
1584
1592
|
attendeeListPublic?: boolean | undefined;
|
|
1585
1593
|
moderators?: string[] | undefined;
|
|
1586
1594
|
jam?: {
|
|
@@ -1814,6 +1822,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
1814
1822
|
image?: string | undefined;
|
|
1815
1823
|
end?: string | undefined;
|
|
1816
1824
|
maxAttendees?: number | undefined;
|
|
1825
|
+
waitlistOfferMinutes?: number | undefined;
|
|
1817
1826
|
attendeeListPublic?: boolean | undefined;
|
|
1818
1827
|
moderators?: string[] | undefined;
|
|
1819
1828
|
jam?: {
|
|
@@ -2106,6 +2115,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
2106
2115
|
image?: string | undefined;
|
|
2107
2116
|
end?: string | undefined;
|
|
2108
2117
|
maxAttendees?: number | undefined;
|
|
2118
|
+
waitlistOfferMinutes?: number | undefined;
|
|
2109
2119
|
attendeeListPublic?: boolean | undefined;
|
|
2110
2120
|
moderators?: string[] | undefined;
|
|
2111
2121
|
jam?: {
|
|
@@ -2412,8 +2422,10 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
2412
2422
|
} | {
|
|
2413
2423
|
type: "rsvp";
|
|
2414
2424
|
data: {
|
|
2415
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
2425
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
2416
2426
|
recurrenceId?: string | undefined;
|
|
2427
|
+
waitlistJoinedAt?: string | undefined;
|
|
2428
|
+
offerExpiresAt?: string | undefined;
|
|
2417
2429
|
};
|
|
2418
2430
|
profile: {
|
|
2419
2431
|
id: string;
|
|
@@ -2733,6 +2745,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
2733
2745
|
image?: string | undefined;
|
|
2734
2746
|
end?: string | undefined;
|
|
2735
2747
|
maxAttendees?: number | undefined;
|
|
2748
|
+
waitlistOfferMinutes?: number | undefined;
|
|
2736
2749
|
attendeeListPublic?: boolean | undefined;
|
|
2737
2750
|
moderators?: string[] | undefined;
|
|
2738
2751
|
jam?: {
|
|
@@ -2966,6 +2979,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
2966
2979
|
image?: string | undefined;
|
|
2967
2980
|
end?: string | undefined;
|
|
2968
2981
|
maxAttendees?: number | undefined;
|
|
2982
|
+
waitlistOfferMinutes?: number | undefined;
|
|
2969
2983
|
attendeeListPublic?: boolean | undefined;
|
|
2970
2984
|
moderators?: string[] | undefined;
|
|
2971
2985
|
jam?: {
|
|
@@ -3258,6 +3272,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
3258
3272
|
image?: string | undefined;
|
|
3259
3273
|
end?: string | undefined;
|
|
3260
3274
|
maxAttendees?: number | undefined;
|
|
3275
|
+
waitlistOfferMinutes?: number | undefined;
|
|
3261
3276
|
attendeeListPublic?: boolean | undefined;
|
|
3262
3277
|
moderators?: string[] | undefined;
|
|
3263
3278
|
jam?: {
|
|
@@ -3564,8 +3579,10 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
3564
3579
|
} | {
|
|
3565
3580
|
type: "rsvp";
|
|
3566
3581
|
data: {
|
|
3567
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
3582
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
3568
3583
|
recurrenceId?: string | undefined;
|
|
3584
|
+
waitlistJoinedAt?: string | undefined;
|
|
3585
|
+
offerExpiresAt?: string | undefined;
|
|
3569
3586
|
};
|
|
3570
3587
|
profile: {
|
|
3571
3588
|
id: string;
|
|
@@ -3907,6 +3924,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
3907
3924
|
image?: string | undefined;
|
|
3908
3925
|
end?: string | undefined;
|
|
3909
3926
|
maxAttendees?: number | undefined;
|
|
3927
|
+
waitlistOfferMinutes?: number | undefined;
|
|
3910
3928
|
attendeeListPublic?: boolean | undefined;
|
|
3911
3929
|
moderators?: string[] | undefined;
|
|
3912
3930
|
jam?: {
|
|
@@ -4140,6 +4158,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
4140
4158
|
image?: string | undefined;
|
|
4141
4159
|
end?: string | undefined;
|
|
4142
4160
|
maxAttendees?: number | undefined;
|
|
4161
|
+
waitlistOfferMinutes?: number | undefined;
|
|
4143
4162
|
attendeeListPublic?: boolean | undefined;
|
|
4144
4163
|
moderators?: string[] | undefined;
|
|
4145
4164
|
jam?: {
|
|
@@ -4432,6 +4451,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
4432
4451
|
image?: string | undefined;
|
|
4433
4452
|
end?: string | undefined;
|
|
4434
4453
|
maxAttendees?: number | undefined;
|
|
4454
|
+
waitlistOfferMinutes?: number | undefined;
|
|
4435
4455
|
attendeeListPublic?: boolean | undefined;
|
|
4436
4456
|
moderators?: string[] | undefined;
|
|
4437
4457
|
jam?: {
|
|
@@ -4738,8 +4758,10 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
4738
4758
|
} | {
|
|
4739
4759
|
type: "rsvp";
|
|
4740
4760
|
data: {
|
|
4741
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
4761
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
4742
4762
|
recurrenceId?: string | undefined;
|
|
4763
|
+
waitlistJoinedAt?: string | undefined;
|
|
4764
|
+
offerExpiresAt?: string | undefined;
|
|
4743
4765
|
};
|
|
4744
4766
|
profile: {
|
|
4745
4767
|
id: string;
|
|
@@ -5059,6 +5081,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
5059
5081
|
image?: string | undefined;
|
|
5060
5082
|
end?: string | undefined;
|
|
5061
5083
|
maxAttendees?: number | undefined;
|
|
5084
|
+
waitlistOfferMinutes?: number | undefined;
|
|
5062
5085
|
attendeeListPublic?: boolean | undefined;
|
|
5063
5086
|
moderators?: string[] | undefined;
|
|
5064
5087
|
jam?: {
|
|
@@ -5292,6 +5315,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
5292
5315
|
image?: string | undefined;
|
|
5293
5316
|
end?: string | undefined;
|
|
5294
5317
|
maxAttendees?: number | undefined;
|
|
5318
|
+
waitlistOfferMinutes?: number | undefined;
|
|
5295
5319
|
attendeeListPublic?: boolean | undefined;
|
|
5296
5320
|
moderators?: string[] | undefined;
|
|
5297
5321
|
jam?: {
|
|
@@ -5584,6 +5608,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
5584
5608
|
image?: string | undefined;
|
|
5585
5609
|
end?: string | undefined;
|
|
5586
5610
|
maxAttendees?: number | undefined;
|
|
5611
|
+
waitlistOfferMinutes?: number | undefined;
|
|
5587
5612
|
attendeeListPublic?: boolean | undefined;
|
|
5588
5613
|
moderators?: string[] | undefined;
|
|
5589
5614
|
jam?: {
|
|
@@ -5890,8 +5915,10 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
5890
5915
|
} | {
|
|
5891
5916
|
type: "rsvp";
|
|
5892
5917
|
data: {
|
|
5893
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
5918
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
5894
5919
|
recurrenceId?: string | undefined;
|
|
5920
|
+
waitlistJoinedAt?: string | undefined;
|
|
5921
|
+
offerExpiresAt?: string | undefined;
|
|
5895
5922
|
};
|
|
5896
5923
|
profile: {
|
|
5897
5924
|
id: string;
|
|
@@ -6213,6 +6240,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
6213
6240
|
image?: string | undefined;
|
|
6214
6241
|
end?: string | undefined;
|
|
6215
6242
|
maxAttendees?: number | undefined;
|
|
6243
|
+
waitlistOfferMinutes?: number | undefined;
|
|
6216
6244
|
attendeeListPublic?: boolean | undefined;
|
|
6217
6245
|
moderators?: string[] | undefined;
|
|
6218
6246
|
jam?: {
|
|
@@ -6446,6 +6474,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
6446
6474
|
image?: string | undefined;
|
|
6447
6475
|
end?: string | undefined;
|
|
6448
6476
|
maxAttendees?: number | undefined;
|
|
6477
|
+
waitlistOfferMinutes?: number | undefined;
|
|
6449
6478
|
attendeeListPublic?: boolean | undefined;
|
|
6450
6479
|
moderators?: string[] | undefined;
|
|
6451
6480
|
jam?: {
|
|
@@ -6738,6 +6767,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
6738
6767
|
image?: string | undefined;
|
|
6739
6768
|
end?: string | undefined;
|
|
6740
6769
|
maxAttendees?: number | undefined;
|
|
6770
|
+
waitlistOfferMinutes?: number | undefined;
|
|
6741
6771
|
attendeeListPublic?: boolean | undefined;
|
|
6742
6772
|
moderators?: string[] | undefined;
|
|
6743
6773
|
jam?: {
|
|
@@ -7044,8 +7074,10 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
7044
7074
|
} | {
|
|
7045
7075
|
type: "rsvp";
|
|
7046
7076
|
data: {
|
|
7047
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
7077
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
7048
7078
|
recurrenceId?: string | undefined;
|
|
7079
|
+
waitlistJoinedAt?: string | undefined;
|
|
7080
|
+
offerExpiresAt?: string | undefined;
|
|
7049
7081
|
};
|
|
7050
7082
|
profile: {
|
|
7051
7083
|
id: string;
|
|
@@ -7303,7 +7335,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
7303
7335
|
}[];
|
|
7304
7336
|
updatedAt: string;
|
|
7305
7337
|
rsvps: {
|
|
7306
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
7338
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
7307
7339
|
profile: {
|
|
7308
7340
|
id: string;
|
|
7309
7341
|
type: "guest" | "local" | "federated";
|
|
@@ -7364,6 +7396,8 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
7364
7396
|
};
|
|
7365
7397
|
createdAt: string;
|
|
7366
7398
|
recurrenceId?: string | undefined;
|
|
7399
|
+
waitlistJoinedAt?: string | undefined;
|
|
7400
|
+
offerExpiresAt?: string | undefined;
|
|
7367
7401
|
}[];
|
|
7368
7402
|
deletedAt?: string | null | undefined;
|
|
7369
7403
|
group?: {
|
|
@@ -7620,6 +7654,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
7620
7654
|
image?: string | undefined;
|
|
7621
7655
|
end?: string | undefined;
|
|
7622
7656
|
maxAttendees?: number | undefined;
|
|
7657
|
+
waitlistOfferMinutes?: number | undefined;
|
|
7623
7658
|
attendeeListPublic?: boolean | undefined;
|
|
7624
7659
|
moderators?: string[] | undefined;
|
|
7625
7660
|
jam?: {
|
|
@@ -7853,6 +7888,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
7853
7888
|
image?: string | undefined;
|
|
7854
7889
|
end?: string | undefined;
|
|
7855
7890
|
maxAttendees?: number | undefined;
|
|
7891
|
+
waitlistOfferMinutes?: number | undefined;
|
|
7856
7892
|
attendeeListPublic?: boolean | undefined;
|
|
7857
7893
|
moderators?: string[] | undefined;
|
|
7858
7894
|
jam?: {
|
|
@@ -8145,6 +8181,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
8145
8181
|
image?: string | undefined;
|
|
8146
8182
|
end?: string | undefined;
|
|
8147
8183
|
maxAttendees?: number | undefined;
|
|
8184
|
+
waitlistOfferMinutes?: number | undefined;
|
|
8148
8185
|
attendeeListPublic?: boolean | undefined;
|
|
8149
8186
|
moderators?: string[] | undefined;
|
|
8150
8187
|
jam?: {
|
|
@@ -8451,8 +8488,10 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
8451
8488
|
} | {
|
|
8452
8489
|
type: "rsvp";
|
|
8453
8490
|
data: {
|
|
8454
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
8491
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
8455
8492
|
recurrenceId?: string | undefined;
|
|
8493
|
+
waitlistJoinedAt?: string | undefined;
|
|
8494
|
+
offerExpiresAt?: string | undefined;
|
|
8456
8495
|
};
|
|
8457
8496
|
profile: {
|
|
8458
8497
|
id: string;
|
|
@@ -8773,6 +8812,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
8773
8812
|
image?: string | undefined;
|
|
8774
8813
|
end?: string | undefined;
|
|
8775
8814
|
maxAttendees?: number | undefined;
|
|
8815
|
+
waitlistOfferMinutes?: number | undefined;
|
|
8776
8816
|
attendeeListPublic?: boolean | undefined;
|
|
8777
8817
|
moderators?: string[] | undefined;
|
|
8778
8818
|
jam?: {
|
|
@@ -9006,6 +9046,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
9006
9046
|
image?: string | undefined;
|
|
9007
9047
|
end?: string | undefined;
|
|
9008
9048
|
maxAttendees?: number | undefined;
|
|
9049
|
+
waitlistOfferMinutes?: number | undefined;
|
|
9009
9050
|
attendeeListPublic?: boolean | undefined;
|
|
9010
9051
|
moderators?: string[] | undefined;
|
|
9011
9052
|
jam?: {
|
|
@@ -9298,6 +9339,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
9298
9339
|
image?: string | undefined;
|
|
9299
9340
|
end?: string | undefined;
|
|
9300
9341
|
maxAttendees?: number | undefined;
|
|
9342
|
+
waitlistOfferMinutes?: number | undefined;
|
|
9301
9343
|
attendeeListPublic?: boolean | undefined;
|
|
9302
9344
|
moderators?: string[] | undefined;
|
|
9303
9345
|
jam?: {
|
|
@@ -9604,8 +9646,10 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
9604
9646
|
} | {
|
|
9605
9647
|
type: "rsvp";
|
|
9606
9648
|
data: {
|
|
9607
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
9649
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
9608
9650
|
recurrenceId?: string | undefined;
|
|
9651
|
+
waitlistJoinedAt?: string | undefined;
|
|
9652
|
+
offerExpiresAt?: string | undefined;
|
|
9609
9653
|
};
|
|
9610
9654
|
profile: {
|
|
9611
9655
|
id: string;
|
|
@@ -9925,6 +9969,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
9925
9969
|
image?: string | undefined;
|
|
9926
9970
|
end?: string | undefined;
|
|
9927
9971
|
maxAttendees?: number | undefined;
|
|
9972
|
+
waitlistOfferMinutes?: number | undefined;
|
|
9928
9973
|
attendeeListPublic?: boolean | undefined;
|
|
9929
9974
|
moderators?: string[] | undefined;
|
|
9930
9975
|
jam?: {
|
|
@@ -10158,6 +10203,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
10158
10203
|
image?: string | undefined;
|
|
10159
10204
|
end?: string | undefined;
|
|
10160
10205
|
maxAttendees?: number | undefined;
|
|
10206
|
+
waitlistOfferMinutes?: number | undefined;
|
|
10161
10207
|
attendeeListPublic?: boolean | undefined;
|
|
10162
10208
|
moderators?: string[] | undefined;
|
|
10163
10209
|
jam?: {
|
|
@@ -10450,6 +10496,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
10450
10496
|
image?: string | undefined;
|
|
10451
10497
|
end?: string | undefined;
|
|
10452
10498
|
maxAttendees?: number | undefined;
|
|
10499
|
+
waitlistOfferMinutes?: number | undefined;
|
|
10453
10500
|
attendeeListPublic?: boolean | undefined;
|
|
10454
10501
|
moderators?: string[] | undefined;
|
|
10455
10502
|
jam?: {
|
|
@@ -10756,8 +10803,10 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
10756
10803
|
} | {
|
|
10757
10804
|
type: "rsvp";
|
|
10758
10805
|
data: {
|
|
10759
|
-
response: "no" | "yes" | "tentative" | "removed";
|
|
10806
|
+
response: "no" | "yes" | "tentative" | "removed" | "waitlist";
|
|
10760
10807
|
recurrenceId?: string | undefined;
|
|
10808
|
+
waitlistJoinedAt?: string | undefined;
|
|
10809
|
+
offerExpiresAt?: string | undefined;
|
|
10761
10810
|
};
|
|
10762
10811
|
profile: {
|
|
10763
10812
|
id: string;
|
|
@@ -10934,9 +10983,9 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
10934
10983
|
id: string;
|
|
10935
10984
|
} | undefined) => (pathParams?: {
|
|
10936
10985
|
id: string;
|
|
10937
|
-
}
|
|
10986
|
+
}, queryParams?: {
|
|
10938
10987
|
occurrence?: string;
|
|
10939
|
-
}
|
|
10988
|
+
}, headers?: Record<string, string>) => Promise<{
|
|
10940
10989
|
success: true;
|
|
10941
10990
|
}>;
|
|
10942
10991
|
useJamToken: (id: string, occurrence?: string) => import("@tanstack/react-query").UseQueryResult<{
|
|
@@ -10964,9 +11013,9 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
10964
11013
|
trackSid: string;
|
|
10965
11014
|
}, pathParams?: {
|
|
10966
11015
|
id: string;
|
|
10967
|
-
}
|
|
11016
|
+
}, queryParams?: {
|
|
10968
11017
|
occurrence?: string;
|
|
10969
|
-
}
|
|
11018
|
+
}, headers?: Record<string, string>) => Promise<{
|
|
10970
11019
|
success: true;
|
|
10971
11020
|
}>;
|
|
10972
11021
|
useJamEvents: (id: string) => import("@tanstack/react-query").UseQueryResult<import("@openpeepshq/common").JamEvent[], {
|
|
@@ -10983,7 +11032,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
10983
11032
|
id: string;
|
|
10984
11033
|
} | undefined) => (input: import("@openpeepshq/common").JamEvent, pathParams?: {
|
|
10985
11034
|
id: string;
|
|
10986
|
-
}
|
|
11035
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<import("@openpeepshq/common").JamEvent>;
|
|
10987
11036
|
useJamAttendance: (id: string) => import("@tanstack/react-query").UseQueryResult<import("@openpeepshq/common").JamEvent[], {
|
|
10988
11037
|
success: boolean;
|
|
10989
11038
|
message?: string | undefined;
|
|
@@ -11053,9 +11102,9 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
11053
11102
|
} | undefined) => (pathParams?: {
|
|
11054
11103
|
id: string;
|
|
11055
11104
|
profileId: string;
|
|
11056
|
-
}
|
|
11105
|
+
}, queryParams?: {
|
|
11057
11106
|
occurrence?: string;
|
|
11058
|
-
}
|
|
11107
|
+
}, headers?: Record<string, string>) => Promise<{
|
|
11059
11108
|
success: true;
|
|
11060
11109
|
}>;
|
|
11061
11110
|
useJoinWaitingRoomStream: (id: string, occurrence?: string) => {
|
|
@@ -11068,16 +11117,16 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
11068
11117
|
id: string;
|
|
11069
11118
|
} | undefined) => (pathParams?: {
|
|
11070
11119
|
id: string;
|
|
11071
|
-
}
|
|
11120
|
+
}, queryParams?: {
|
|
11072
11121
|
occurrence?: string;
|
|
11073
|
-
}
|
|
11122
|
+
}, headers?: Record<string, string>) => Promise<import("@openpeepshq/common").JamRecording>;
|
|
11074
11123
|
stopRecordingAction: (defaultPathParams?: {
|
|
11075
11124
|
id: string;
|
|
11076
11125
|
} | undefined) => (pathParams?: {
|
|
11077
11126
|
id: string;
|
|
11078
|
-
}
|
|
11127
|
+
}, queryParams?: {
|
|
11079
11128
|
occurrence?: string;
|
|
11080
|
-
}
|
|
11129
|
+
}, headers?: Record<string, string>) => Promise<import("@openpeepshq/common").JamRecording>;
|
|
11081
11130
|
useObserverLink: (id: string, occurrence?: string) => import("@tanstack/react-query").UseQueryResult<{
|
|
11082
11131
|
path?: string | undefined;
|
|
11083
11132
|
}, {
|
|
@@ -11102,7 +11151,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
11102
11151
|
streamKey: string;
|
|
11103
11152
|
}, pathParams?: {
|
|
11104
11153
|
id: string;
|
|
11105
|
-
}
|
|
11154
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
11106
11155
|
id: string;
|
|
11107
11156
|
status: "active" | "failed" | "requested" | "finalizing" | "completed";
|
|
11108
11157
|
destinationHost?: string | undefined;
|
|
@@ -11112,7 +11161,7 @@ export declare const jamHooks: (client: OpenpeepsClient) => {
|
|
|
11112
11161
|
id: string;
|
|
11113
11162
|
} | undefined) => (pathParams?: {
|
|
11114
11163
|
id: string;
|
|
11115
|
-
}
|
|
11164
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
11116
11165
|
id: string;
|
|
11117
11166
|
status: "active" | "failed" | "requested" | "finalizing" | "completed";
|
|
11118
11167
|
destinationHost?: string | undefined;
|
|
@@ -10,13 +10,13 @@ export interface MediaUploadState {
|
|
|
10
10
|
error?: SuccessFailureResponse | unknown;
|
|
11
11
|
}
|
|
12
12
|
export declare const otherHooks: (client: OpenpeepsClient) => {
|
|
13
|
-
createMediaAttachmentAction: (defaultPathParams?: undefined) => (input: MediaStorageRequestInput, pathParams?:
|
|
13
|
+
createMediaAttachmentAction: (defaultPathParams?: undefined) => (input: MediaStorageRequestInput, pathParams?: never, queryParams?: never, headers?: Record<string, string>) => Promise<MediaAttachment>;
|
|
14
14
|
/**
|
|
15
15
|
* Same as {@link createMediaAttachmentAction} but routes through the XHR
|
|
16
16
|
* upload path so callers can pass an `onUploadProgress` callback as the
|
|
17
17
|
* 5th argument to receive byte-level upload progress.
|
|
18
18
|
*/
|
|
19
|
-
createMediaAttachmentWithProgressAction: (defaultPathParams?: undefined) => (input: MediaStorageRequestInput, pathParams?:
|
|
19
|
+
createMediaAttachmentWithProgressAction: (defaultPathParams?: undefined) => (input: MediaStorageRequestInput, pathParams?: never, queryParams?: never, headers?: Record<string, string>, onUploadProgress?: (event: import("@openpeepshq/fetch-client").UploadProgressEvent) => void) => Promise<MediaAttachment>;
|
|
20
20
|
/**
|
|
21
21
|
* Returns an `upload` callback and a state object with byte-level upload
|
|
22
22
|
* progress + the partial/ready `MediaAttachment` returned from the server.
|
|
@@ -103,6 +103,7 @@ export declare const otherHooks: (client: OpenpeepsClient) => {
|
|
|
103
103
|
defaultTimeZone?: string | undefined;
|
|
104
104
|
defaultFeedFormat?: "threaded" | "linear" | undefined;
|
|
105
105
|
indexProfiles?: boolean | undefined;
|
|
106
|
+
additionalForbiddenHandles?: string[] | undefined;
|
|
106
107
|
};
|
|
107
108
|
roles: {
|
|
108
109
|
onRegistration: {
|
|
@@ -166,7 +167,7 @@ export declare const otherHooks: (client: OpenpeepsClient) => {
|
|
|
166
167
|
}>;
|
|
167
168
|
authenticateGenericSSOAction: (defaultPathParams?: undefined) => (input: {
|
|
168
169
|
data: Record<string, string>;
|
|
169
|
-
}, pathParams?:
|
|
170
|
+
}, pathParams?: never, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
170
171
|
success: true;
|
|
171
172
|
token: string;
|
|
172
173
|
checkoutUrl?: string | undefined;
|
|
@@ -239,7 +240,7 @@ export declare const otherHooks: (client: OpenpeepsClient) => {
|
|
|
239
240
|
};
|
|
240
241
|
profileId: string;
|
|
241
242
|
postIds: string[];
|
|
242
|
-
}, pathParams?:
|
|
243
|
+
}, pathParams?: never, queryParams?: never, headers?: Record<string, string>) => Promise<import("@openpeepshq/common").PublicReport>;
|
|
243
244
|
/**
|
|
244
245
|
* VOD HLS streaming. Idempotent: requesting a stream for a source that
|
|
245
246
|
* has already been transcoded just refreshes its access timestamp on the
|
|
@@ -247,7 +248,7 @@ export declare const otherHooks: (client: OpenpeepsClient) => {
|
|
|
247
248
|
*/
|
|
248
249
|
createVodStreamAction: (defaultPathParams?: undefined) => (input: {
|
|
249
250
|
url: string;
|
|
250
|
-
}, pathParams?:
|
|
251
|
+
}, pathParams?: never, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
251
252
|
storageId: string;
|
|
252
253
|
status: "error" | "processing" | "ready";
|
|
253
254
|
error?: string | undefined;
|
|
@@ -257,7 +258,7 @@ export declare const otherHooks: (client: OpenpeepsClient) => {
|
|
|
257
258
|
storageId: string;
|
|
258
259
|
} | undefined) => (pathParams?: {
|
|
259
260
|
storageId: string;
|
|
260
|
-
}
|
|
261
|
+
}, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
261
262
|
storageId: string;
|
|
262
263
|
status: "error" | "processing" | "ready";
|
|
263
264
|
error?: string | undefined;
|
|
@@ -21,13 +21,13 @@ export declare const paymentHooks: (client: OpenpeepsClient) => {
|
|
|
21
21
|
message?: string | undefined;
|
|
22
22
|
key?: string | undefined;
|
|
23
23
|
}>;
|
|
24
|
-
createCustomerPortalAction: (defaultPathParams?: undefined) => (pathParams?:
|
|
24
|
+
createCustomerPortalAction: (defaultPathParams?: undefined) => (pathParams?: never, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
25
25
|
success: boolean;
|
|
26
26
|
message?: string | undefined;
|
|
27
27
|
key?: string | undefined;
|
|
28
28
|
url?: string | undefined;
|
|
29
29
|
}>;
|
|
30
|
-
createCheckoutAction: (defaultPathParams?: undefined) => (pathParams?:
|
|
30
|
+
createCheckoutAction: (defaultPathParams?: undefined) => (pathParams?: never, queryParams?: never, headers?: Record<string, string>) => Promise<{
|
|
31
31
|
success: boolean;
|
|
32
32
|
url: string | null;
|
|
33
33
|
message?: string | undefined;
|