theragist-ts 1.0.63 → 1.0.64
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/index.d.ts +1 -1
- package/dist/index.js +18 -8
- package/dist/post/message.d.ts +88 -0
- package/dist/post/message.js +1156 -6
- package/dist/post/service.d.ts +49 -1
- package/dist/post/service.js +248 -0
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ export { AuthServiceDefinition } from './auth/service';
|
|
|
15
15
|
export { AuthUser, DeviceInfo, ForgotPasswordRequest, GetKycStatusRequest, GetKycStatusResponse, GetOnboardingRequest, GetOnboardingResponse, GetTherapistOnboardingRequest, GetTherapistOnboardingResponse, KycDocument, LoginRequest, LoginResponse, LogoutRequest, PendingOrganizationInvite, RefreshTokenRequest, RefreshTokenResponse, ResendEmailVerificationRequest, ResendEmailVerificationResponse, ResendTwoFactorCodeRequest, ResendTwoFactorCodeResponse, ResetPasswordRequest, SignUpRequest, SignUpResponse, SocialLinkRequest, SocialLinkResponse, SocialLoginRequest, SocialLoginResponse, SocialUnlinkRequest, SocialUnlinkResponse, SubmitKycRequest, SubmitKycResponse, SuggestUsernamesRequest, SuggestUsernamesResponse, UpdateOnboardingRequest, UpdateOnboardingResponse, UpdateTherapistOnboardingRequest, UpdateTherapistOnboardingResponse, UploadKycDocumentRequest, UploadKycDocumentResponse, VerifyEmailRequest, VerifyEmailResponse, VerifyTwoFactorRequest, VerifyTwoFactorResponse } from './auth/message';
|
|
16
16
|
export { AvatarOption, BadgeCategory, BadgeItem, CreateGroupCategoryRequest, CreateGroupCategoryResponse, GetCurrentSeasonRequest, GetGroupCategoriesRequest, GetGroupCategoriesResponse, GetGroupCategoryRequest, GetGroupCategoryResponse, GroupCategory, ListAvatarsRequest, ListAvatarsResponse, ListBadgeCategoriesRequest, ListBadgeCategoriesResponse, ListBadgesRequest, ListBadgesResponse, ListMoodTypesRequest, ListMoodTypesResponse, ListSeasonsRequest, ListSeasonsResponse, MoodType, SeasonInfo, UpdateGroupCategoryRequest, UpdateGroupCategoryResponse } from './lookup/message';
|
|
17
17
|
export { BaseListRequest, DeleteResponse, Empty, Error, GetIDRequest, HealthCheckRequest, HealthCheckResponse, HealthServiceDefinition, Metadata, OrganizationPermissionRecord, OrganizationResourcePermission, SuccessResponse, UserOrganizationPayload } from './common';
|
|
18
|
-
export { BookmarkPostRequest, BookmarkPostResponse, Comment, CreateCommentRequest, CreateCommentResponse, CreatePostRequest, CreatePostResponse, DeleteCommentRequest, DeleteCommentResponse, DeletePostRequest, DeletePostResponse, GetMyPostsRequest, GetMyPostsResponse, GetNodStatsRequest, GetNodStatsResponse, GetPostRequest, GetPostResponse, GetUserBookmarksRequest, GetUserBookmarksResponse, HidePostRequest, HidePostResponse, LikeCommentRequest, LikeCommentResponse, LikePostRequest, LikePostResponse, ListCommentRepliesRequest, ListCommentRepliesResponse, ListCommentsRequest, ListCommentsResponse, ListPostsRequest, ListPostsResponse, NodCategoryStat, NodCommentRequest, NodCommentResponse, NodPostRequest, NodPostResponse, PinPostRequest, PinPostResponse, Post, PostAuthor, ReportContentRequest, ReportContentResponse, SharePostRequest, SharePostResponse, UnbookmarkPostRequest, UnbookmarkPostResponse, UnhidePostRequest, UnhidePostResponse, UnlikeCommentRequest, UnlikeCommentResponse, UnlikePostRequest, UnlikePostResponse, UnnodCommentRequest, UnnodCommentResponse, UnnodPostRequest, UnnodPostResponse, UpdateCommentRequest, UpdateCommentResponse, UpdatePostRequest, UpdatePostResponse } from './post/message';
|
|
18
|
+
export { BookmarkPostRequest, BookmarkPostResponse, Comment, CreateCommentRequest, CreateCommentResponse, CreatePostRequest, CreatePostResponse, DeleteCommentRequest, DeleteCommentResponse, DeletePostRequest, DeletePostResponse, GetMyPostsRequest, GetMyPostsResponse, GetNodStatsRequest, GetNodStatsResponse, GetPostRequest, GetPostResponse, GetUserBookmarksRequest, GetUserBookmarksResponse, HidePostRequest, HidePostResponse, LikeCommentRequest, LikeCommentResponse, LikePostRequest, LikePostResponse, ListCommentRepliesRequest, ListCommentRepliesResponse, ListCommentsRequest, ListCommentsResponse, ListPostsRequest, ListPostsResponse, MyReactionState, NodCategoryStat, NodCommentRequest, NodCommentResponse, NodPostRequest, NodPostResponse, PinPostRequest, PinPostResponse, Post, PostAuthor, ReactCommentRequest, ReactCommentResponse, ReactPostRequest, ReactPostResponse, ReactionCounts, ReportContentRequest, ReportContentResponse, SharePostRequest, SharePostResponse, UnbookmarkPostRequest, UnbookmarkPostResponse, UnhidePostRequest, UnhidePostResponse, UnlikeCommentRequest, UnlikeCommentResponse, UnlikePostRequest, UnlikePostResponse, UnnodCommentRequest, UnnodCommentResponse, UnnodPostRequest, UnnodPostResponse, UnreactCommentRequest, UnreactCommentResponse, UnreactPostRequest, UnreactPostResponse, UpdateCommentRequest, UpdateCommentResponse, UpdatePostRequest, UpdatePostResponse } from './post/message';
|
|
19
19
|
export { BoolValue, BytesValue, DoubleValue, FloatValue, Int32Value, Int64Value, StringValue, UInt32Value, UInt64Value } from './google/protobuf/wrappers';
|
|
20
20
|
export { CalendarEvent, CalendarStats, CreateCalendarEventRequest, CreateCalendarEventResponse, DeleteCalendarEventRequest, DeleteCalendarEventResponse, GetCalendarEventsRequest, GetCalendarEventsResponse, UpdateCalendarEventRequest, UpdateCalendarEventResponse } from './calendar/message';
|
|
21
21
|
export { CalendarServiceDefinition } from './calendar/service';
|
package/dist/index.js
CHANGED
|
@@ -26,14 +26,14 @@ exports.UserActivityRequest = exports.UserActivityDataPoint = exports.UpsertAppS
|
|
|
26
26
|
exports.AdminServiceDefinition = exports.UpsertNotificationWorkflowStepRequest = exports.UpsertNotificationWorkflowResponse = exports.UpsertNotificationWorkflowRequest = exports.UpsertNotificationTemplateResponse = exports.UpsertNotificationTemplateRequest = exports.UpsertNotificationChannelResponse = exports.UpsertNotificationChannelRequest = exports.UpdateNotificationDispatchResponse = exports.UpdateNotificationDispatchRequest = exports.TriggerNotificationResponse = exports.TriggerNotificationRequest = exports.PreviewNotificationResponse = exports.PreviewNotificationRequest = exports.ListNotificationWorkflowsResponse = exports.ListNotificationWorkflowsRequest = exports.ListNotificationTemplatesResponse = exports.ListNotificationTemplatesRequest = exports.ListNotificationDispatchesResponse = exports.ListNotificationDispatchesRequest = exports.ListNotificationChannelsResponse = exports.ListNotificationChannelsRequest = exports.GetNotificationVariableCatalogResponse = exports.GetNotificationVariableCatalogRequest = exports.CancelNotificationDispatchResponse = exports.AdminNotificationWorkflowStep = exports.AdminNotificationWorkflow = exports.AdminNotificationVariableCatalogItem = exports.AdminNotificationTemplateVariable = exports.AdminNotificationTemplate = exports.AdminNotificationPreview = exports.AdminNotificationDispatch = exports.AdminNotificationDelivery = exports.AdminNotificationChannel = exports.WarningIssuedBy = exports.WalletTransaction = exports.WalletStatsResponse = exports.WalletStats = exports.WalletDetail = exports.WalletBalanceHistoryItem = exports.VerifyKycResponse = exports.VerifyKycRequest = exports.UserWarning = exports.UserStatsResponse = exports.UserGrowthResponse = exports.UserGrowthRequest = exports.UserGrowthDataPoint = exports.UserGrowthByRole = exports.UserActivityStats = exports.UserActivityResponse = void 0;
|
|
27
27
|
exports.VerifyTwoFactorRequest = exports.VerifyEmailResponse = exports.VerifyEmailRequest = exports.UploadKycDocumentResponse = exports.UploadKycDocumentRequest = exports.UpdateTherapistOnboardingResponse = exports.UpdateTherapistOnboardingRequest = exports.UpdateOnboardingResponse = exports.UpdateOnboardingRequest = exports.SuggestUsernamesResponse = exports.SuggestUsernamesRequest = exports.SubmitKycResponse = exports.SubmitKycRequest = exports.SocialUnlinkResponse = exports.SocialUnlinkRequest = exports.SocialLoginResponse = exports.SocialLoginRequest = exports.SocialLinkResponse = exports.SocialLinkRequest = exports.SignUpResponse = exports.SignUpRequest = exports.ResetPasswordRequest = exports.ResendTwoFactorCodeResponse = exports.ResendTwoFactorCodeRequest = exports.ResendEmailVerificationResponse = exports.ResendEmailVerificationRequest = exports.RefreshTokenResponse = exports.RefreshTokenRequest = exports.PendingOrganizationInvite = exports.LogoutRequest = exports.LoginResponse = exports.LoginRequest = exports.KycDocument = exports.GetTherapistOnboardingResponse = exports.GetTherapistOnboardingRequest = exports.GetOnboardingResponse = exports.GetOnboardingRequest = exports.GetKycStatusResponse = exports.GetKycStatusRequest = exports.ForgotPasswordRequest = exports.DeviceInfo = exports.AuthUser = exports.AuthServiceDefinition = exports.nullValueToJSON = exports.nullValueFromJSON = exports.Value = exports.Struct_FieldsEntry = exports.Struct = exports.NullValue = exports.ListValue = void 0;
|
|
28
28
|
exports.DeletePostResponse = exports.DeletePostRequest = exports.DeleteCommentResponse = exports.DeleteCommentRequest = exports.CreatePostResponse = exports.CreatePostRequest = exports.CreateCommentResponse = exports.CreateCommentRequest = exports.Comment = exports.BookmarkPostResponse = exports.BookmarkPostRequest = exports.UserOrganizationPayload = exports.SuccessResponse = exports.OrganizationResourcePermission = exports.OrganizationPermissionRecord = exports.Metadata = exports.HealthServiceDefinition = exports.HealthCheckResponse = exports.HealthCheckRequest = exports.GetIDRequest = exports.Error = exports.Empty = exports.DeleteResponse = exports.BaseListRequest = exports.UpdateGroupCategoryResponse = exports.UpdateGroupCategoryRequest = exports.SeasonInfo = exports.MoodType = exports.ListSeasonsResponse = exports.ListSeasonsRequest = exports.ListMoodTypesResponse = exports.ListMoodTypesRequest = exports.ListBadgesResponse = exports.ListBadgesRequest = exports.ListBadgeCategoriesResponse = exports.ListBadgeCategoriesRequest = exports.ListAvatarsResponse = exports.ListAvatarsRequest = exports.GroupCategory = exports.GetGroupCategoryResponse = exports.GetGroupCategoryRequest = exports.GetGroupCategoriesResponse = exports.GetGroupCategoriesRequest = exports.GetCurrentSeasonRequest = exports.CreateGroupCategoryResponse = exports.CreateGroupCategoryRequest = exports.BadgeItem = exports.BadgeCategory = exports.AvatarOption = exports.VerifyTwoFactorResponse = void 0;
|
|
29
|
-
exports.
|
|
30
|
-
exports.
|
|
31
|
-
exports.
|
|
32
|
-
exports.
|
|
33
|
-
exports.
|
|
34
|
-
exports.
|
|
35
|
-
exports.
|
|
36
|
-
exports.WebSocketServerEvent = exports.WebSocketOutgoingEvent = exports.WebSocketOnlineUsersEvent = exports.WebSocketNewDirectMessageEvent = exports.WebSocketMissedCallEvent = exports.WebSocketIncomingMessage = exports.WebSocketIncomingCallEvent = exports.WebSocketErrorEvent = exports.WebSocketCallParticipantEvent = exports.WebSocketCallInvitationRespondedEvent = exports.WebSocketCallEndedEvent = exports.WalletServiceDefinition = exports.UserServiceDefinition = exports.TherapistServiceDefinition = exports.SoundscapeServiceDefinition = exports.SettingsServiceDefinition = exports.SessionServiceDefinition = exports.SearchServiceDefinition = exports.SearchHealthRequest = exports.PostServiceDefinition = exports.OrganizationServiceDefinition = exports.NotificationServiceDefinition = exports.LoungeServiceDefinition = exports.LookupServiceDefinition = void 0;
|
|
29
|
+
exports.UnnodPostRequest = exports.UnnodCommentResponse = exports.UnnodCommentRequest = exports.UnlikePostResponse = exports.UnlikePostRequest = exports.UnlikeCommentResponse = exports.UnlikeCommentRequest = exports.UnhidePostResponse = exports.UnhidePostRequest = exports.UnbookmarkPostResponse = exports.UnbookmarkPostRequest = exports.SharePostResponse = exports.SharePostRequest = exports.ReportContentResponse = exports.ReportContentRequest = exports.ReactionCounts = exports.ReactPostResponse = exports.ReactPostRequest = exports.ReactCommentResponse = exports.ReactCommentRequest = exports.PostAuthor = exports.Post = exports.PinPostResponse = exports.PinPostRequest = exports.NodPostResponse = exports.NodPostRequest = exports.NodCommentResponse = exports.NodCommentRequest = exports.NodCategoryStat = exports.MyReactionState = exports.ListPostsResponse = exports.ListPostsRequest = exports.ListCommentsResponse = exports.ListCommentsRequest = exports.ListCommentRepliesResponse = exports.ListCommentRepliesRequest = exports.LikePostResponse = exports.LikePostRequest = exports.LikeCommentResponse = exports.LikeCommentRequest = exports.HidePostResponse = exports.HidePostRequest = exports.GetUserBookmarksResponse = exports.GetUserBookmarksRequest = exports.GetPostResponse = exports.GetPostRequest = exports.GetNodStatsResponse = exports.GetNodStatsRequest = exports.GetMyPostsResponse = exports.GetMyPostsRequest = void 0;
|
|
30
|
+
exports.K10ByRoleEntry = exports.K10AnalyticsOverviewResponse = exports.K10AnalyticsOverviewRequest = exports.JournalTimeSeriesResponse = exports.JournalTimeSeriesRequest = exports.JournalTimeSeriesDataPoint = exports.JournalAnalyticsOverviewResponse = exports.JournalAnalyticsOverviewRequest = exports.CallTimeSeriesResponse = exports.CallTimeSeriesRequest = exports.CallTimeSeriesDataPoint = exports.CallQualityMetricsResponse = exports.CallQualityMetricsRequest = exports.CallParticipationResponse = exports.CallParticipationRequest = exports.CallParticipationEntry = exports.CallByTypeResponse = exports.CallByTypeRequest = exports.CallByTypeEntry = exports.CallAnalyticsOverviewResponse = exports.CallAnalyticsOverviewRequest = exports.CalendarServiceDefinition = exports.UpdateCalendarEventResponse = exports.UpdateCalendarEventRequest = exports.GetCalendarEventsResponse = exports.GetCalendarEventsRequest = exports.DeleteCalendarEventResponse = exports.DeleteCalendarEventRequest = exports.CreateCalendarEventResponse = exports.CreateCalendarEventRequest = exports.CalendarStats = exports.CalendarEvent = exports.UInt64Value = exports.UInt32Value = exports.StringValue = exports.Int64Value = exports.Int32Value = exports.FloatValue = exports.DoubleValue = exports.BytesValue = exports.BoolValue = exports.UpdatePostResponse = exports.UpdatePostRequest = exports.UpdateCommentResponse = exports.UpdateCommentRequest = exports.UnreactPostResponse = exports.UnreactPostRequest = exports.UnreactCommentResponse = exports.UnreactCommentRequest = exports.UnnodPostResponse = void 0;
|
|
31
|
+
exports.ListConversationsResponse = exports.ListConversationsRequest = exports.ListChatTimelineResponse = exports.ListChatTimelineRequest = exports.DirectMessage = exports.DeleteMessageResponse = exports.DeleteMessageRequest = exports.Conversation = exports.ChatUser = exports.ChatTimelineItem = exports.CallEvent = exports.UserRetentionResponse = exports.UserRetentionRequest = exports.UserRetentionCohort = exports.UserEngagementScoreResponse = exports.UserEngagementScoreRequest = exports.UserEngagementScoreEntry = exports.UserActivityHeatmapResponse = exports.UserActivityHeatmapRequest = exports.UserActivityHeatmapEntry = exports.TopJournalersResponse = exports.TopJournalersRequest = exports.TopJournalersEntry = exports.TherapyEffectivenessResponse = exports.TherapyEffectivenessRequest = exports.TherapyEffectivenessEntry = exports.MoodUserEngagementResponse = exports.MoodUserEngagementRequest = exports.MoodUserEngagementEntry = exports.MoodTrendsResponse = exports.MoodTrendsRequest = exports.MoodTrendDataPoint = exports.MoodSummaryResponse = exports.MoodSummaryRequest = exports.MoodDistributionByRoleResponse = exports.MoodDistributionByRoleRequest = exports.MoodDistributionByRoleEntry = exports.MentalHealthOutcomesResponse = exports.MentalHealthOutcomesRequest = exports.K10UserProgressResponse = exports.K10UserProgressRequest = exports.K10UserProgressEntry = exports.K10TimeSeriesResponse = exports.K10TimeSeriesRequest = exports.K10TimeSeriesDataPoint = exports.K10RiskDistributionResponse = exports.K10RiskDistributionRequest = exports.K10RiskDistributionEntry = exports.K10ByRoleResponse = exports.K10ByRoleRequest = void 0;
|
|
32
|
+
exports.ListTherapySessionsResponse = exports.ListTherapySessionsRequest = exports.GetSessionRequest = exports.GetLiveSessionRequest = exports.EndLiveSessionRequest = exports.CreateSessionRequest = exports.CreateSessionNoteResponse = exports.CreateSessionNoteRequest = exports.ConfirmSessionResponse = exports.ConfirmSessionRequest = exports.CompleteSessionRequest = exports.CancelSessionRequest = exports.CallServiceDefinition = exports.RespondToInvitationResponse = exports.RespondToInvitationRequest = exports.ListPendingInvitationsResponse = exports.ListPendingInvitationsRequest = exports.ListActiveCallsResponse = exports.ListActiveCallsRequest = exports.LeaveCallResponse = exports.LeaveCallRequest = exports.JoinLiveMeetingByMeetingIdRequest = exports.JoinCallResponse = exports.JoinCallRequest = exports.InviteParticipantResponse = exports.InviteParticipantRequest = exports.InitiateCallResponse = exports.InitiateCallRequest = exports.GetCallTokenResponse = exports.GetCallTokenRequest = exports.GetCallStatusResponse = exports.GetCallStatusRequest = exports.GetCallHistoryResponse = exports.GetCallHistoryRequest = exports.EndCallResponse = exports.EndCallRequest = exports.CallRoom = exports.CallParticipant = exports.CallInvitation = exports.CallHistoryItem = exports.SendDirectMessageResponse = exports.SendDirectMessageRequest = exports.MessageReply = exports.MentionedUser = exports.MarkDirectMessagesReadResponse = exports.MarkDirectMessagesReadRequest = exports.ListDirectMessagesResponse = exports.ListDirectMessagesRequest = exports.ListDirectMessageCallEventsResponse = exports.ListDirectMessageCallEventsRequest = void 0;
|
|
33
|
+
exports.GetHomeRequest = exports.CurrentSeason = exports.CommunityPost = exports.ClientItem = exports.ClientHomeSummary = exports.ChatServiceDefinition = exports.UnlockTrackResponse = exports.UnlockTrackRequest = exports.TrackSoundscapeListeningResponse = exports.TrackSoundscapeListeningRequest = exports.SubscribeResponse = exports.SubscribeRequest = exports.SoundscapeTrack = exports.SoundscapePlan = exports.SoundscapePaymentInput = exports.SoundscapeCategory = exports.RecommendationItem = exports.ListTracksResponse = exports.ListTracksRequest = exports.ListRecommendationsResponse = exports.ListRecommendationsRequest = exports.ListPlansResponse = exports.ListPlansRequest = exports.ListMyRecommendationsResponse = exports.ListMyRecommendationsRequest = exports.ListCategoriesResponse = exports.ListCategoriesRequest = exports.GiftSubscriptionResponse = exports.GiftSubscriptionRequest = exports.GetTrackResponse = exports.GetTrackRequest = exports.GetSubscriptionResponse = exports.GetSubscriptionRequest = exports.GetPlaybackUrlResponse = exports.GetPlaybackUrlRequest = exports.GetDownloadUrlResponse = exports.GetDownloadUrlRequest = exports.CreateRecommendationResponse = exports.CreateRecommendationRequest = exports.CancelSubscriptionResponse = exports.CancelSubscriptionRequest = exports.UpdateSessionRequest = exports.StartLiveSessionRequest = exports.SessionItem = exports.SessionIntakeDetails = exports.RescheduleSessionRequest = exports.RateSessionResponse = exports.RateSessionRequest = exports.PaymentInput = exports.LiveSessionItem = void 0;
|
|
34
|
+
exports.MethodOptions = exports.MethodDescriptorProto = exports.MessageOptions = exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.FileOptions_OptimizeMode = exports.FileOptions = exports.FileDescriptorSet = exports.FileDescriptorProto = exports.FieldOptions_JSType = exports.FieldOptions_CType = exports.FieldOptions = exports.FieldDescriptorProto_Type = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto = exports.ExtensionRangeOptions = exports.EnumValueOptions = exports.EnumValueDescriptorProto = exports.EnumOptions = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.HttpRule = exports.Http = exports.CustomHttpPattern = exports.CrisisServiceDefinition = exports.CommunityServiceDefinition = exports.ClientsServiceDefinition = exports.WalletSummary = exports.UserItem = exports.UpcomingSessionItem = exports.TopRatedTherapist = exports.TherapistPerformance = exports.TherapistItem = exports.TherapistHomeSummary = exports.SessionSummary = exports.RecentMood = exports.RecentActivity = exports.PaginationStats = exports.ListUsersResponse = exports.ListUsersRequest = exports.GetMyTherapistResponse = exports.GetMyTherapistRequest = exports.GetMyClientsResponse = exports.GetMyClientsRequest = exports.GetHomeStatsResponse = exports.GetHomeStatsRequest = exports.GetHomeResponse = void 0;
|
|
35
|
+
exports.SearchRequest = exports.SearchPostsResponse = exports.SearchHealthResponse = exports.SearchGroupsResponse = exports.SearchCommunitiesResponse = exports.GlobalSearchUserItem = exports.GlobalSearchTherapistItem = exports.GlobalSearchResponse = exports.GlobalSearchRequest = exports.GlobalSearchPostItem = exports.GlobalSearchGroupItem = exports.GlobalSearchCommunityItem = exports.Notification = exports.MarkNotificationReadResponse = exports.MarkNotificationReadRequest = exports.MarkAllNotificationsReadResponse = exports.MarkAllNotificationsReadRequest = exports.ListNotificationsResponse = exports.ListNotificationsRequest = exports.GetUnreadCountResponse = exports.GetUnreadCountRequest = exports.UpdateSettingsResponse = exports.UpdateSettingsRequest = exports.UpdateSettingItem = exports.SettingItem = exports.GetSettingsResponse = exports.GetSettingsRequest = exports.GetPublicSettingsResponse = exports.GetPublicSettingsRequest = exports.methodOptions_IdempotencyLevelToJSON = exports.methodOptions_IdempotencyLevelFromJSON = exports.fileOptions_OptimizeModeToJSON = exports.fileOptions_OptimizeModeFromJSON = exports.fieldOptions_JSTypeToJSON = exports.fieldOptions_JSTypeFromJSON = exports.fieldOptions_CTypeToJSON = exports.fieldOptions_CTypeFromJSON = exports.fieldDescriptorProto_TypeToJSON = exports.fieldDescriptorProto_TypeFromJSON = exports.fieldDescriptorProto_LabelToJSON = exports.fieldDescriptorProto_LabelFromJSON = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.ServiceOptions = exports.ServiceDescriptorProto = exports.OneofOptions = exports.OneofDescriptorProto = exports.MethodOptions_IdempotencyLevel = void 0;
|
|
36
|
+
exports.WebSocketServerEvent = exports.WebSocketOutgoingEvent = exports.WebSocketOnlineUsersEvent = exports.WebSocketNewDirectMessageEvent = exports.WebSocketMissedCallEvent = exports.WebSocketIncomingMessage = exports.WebSocketIncomingCallEvent = exports.WebSocketErrorEvent = exports.WebSocketCallParticipantEvent = exports.WebSocketCallInvitationRespondedEvent = exports.WebSocketCallEndedEvent = exports.WalletServiceDefinition = exports.UserServiceDefinition = exports.TherapistServiceDefinition = exports.SoundscapeServiceDefinition = exports.SettingsServiceDefinition = exports.SessionServiceDefinition = exports.SearchServiceDefinition = exports.SearchHealthRequest = exports.PostServiceDefinition = exports.OrganizationServiceDefinition = exports.NotificationServiceDefinition = exports.LoungeServiceDefinition = exports.LookupServiceDefinition = exports.HomeServiceDefinition = exports.GroupServiceDefinition = exports.SearchUsersResponse = exports.SearchTherapistsResponse = exports.SearchSuggestionsResponse = exports.SearchSuggestionRequest = exports.SearchSuggestionItem = exports.SearchResourcesResponse = exports.SearchResourcesRequest = exports.SearchResourceItem = void 0;
|
|
37
37
|
var message_1 = require("./lounge/message");
|
|
38
38
|
Object.defineProperty(exports, "AcceptConsultationResponseRequest", { enumerable: true, get: function () { return message_1.AcceptConsultationResponseRequest; } });
|
|
39
39
|
Object.defineProperty(exports, "AcceptConsultationResponseResponse", { enumerable: true, get: function () { return message_1.AcceptConsultationResponseResponse; } });
|
|
@@ -1372,6 +1372,7 @@ Object.defineProperty(exports, "ListCommentsRequest", { enumerable: true, get: f
|
|
|
1372
1372
|
Object.defineProperty(exports, "ListCommentsResponse", { enumerable: true, get: function () { return message_13.ListCommentsResponse; } });
|
|
1373
1373
|
Object.defineProperty(exports, "ListPostsRequest", { enumerable: true, get: function () { return message_13.ListPostsRequest; } });
|
|
1374
1374
|
Object.defineProperty(exports, "ListPostsResponse", { enumerable: true, get: function () { return message_13.ListPostsResponse; } });
|
|
1375
|
+
Object.defineProperty(exports, "MyReactionState", { enumerable: true, get: function () { return message_13.MyReactionState; } });
|
|
1375
1376
|
Object.defineProperty(exports, "NodCategoryStat", { enumerable: true, get: function () { return message_13.NodCategoryStat; } });
|
|
1376
1377
|
Object.defineProperty(exports, "NodCommentRequest", { enumerable: true, get: function () { return message_13.NodCommentRequest; } });
|
|
1377
1378
|
Object.defineProperty(exports, "NodCommentResponse", { enumerable: true, get: function () { return message_13.NodCommentResponse; } });
|
|
@@ -1381,6 +1382,11 @@ Object.defineProperty(exports, "PinPostRequest", { enumerable: true, get: functi
|
|
|
1381
1382
|
Object.defineProperty(exports, "PinPostResponse", { enumerable: true, get: function () { return message_13.PinPostResponse; } });
|
|
1382
1383
|
Object.defineProperty(exports, "Post", { enumerable: true, get: function () { return message_13.Post; } });
|
|
1383
1384
|
Object.defineProperty(exports, "PostAuthor", { enumerable: true, get: function () { return message_13.PostAuthor; } });
|
|
1385
|
+
Object.defineProperty(exports, "ReactCommentRequest", { enumerable: true, get: function () { return message_13.ReactCommentRequest; } });
|
|
1386
|
+
Object.defineProperty(exports, "ReactCommentResponse", { enumerable: true, get: function () { return message_13.ReactCommentResponse; } });
|
|
1387
|
+
Object.defineProperty(exports, "ReactPostRequest", { enumerable: true, get: function () { return message_13.ReactPostRequest; } });
|
|
1388
|
+
Object.defineProperty(exports, "ReactPostResponse", { enumerable: true, get: function () { return message_13.ReactPostResponse; } });
|
|
1389
|
+
Object.defineProperty(exports, "ReactionCounts", { enumerable: true, get: function () { return message_13.ReactionCounts; } });
|
|
1384
1390
|
Object.defineProperty(exports, "ReportContentRequest", { enumerable: true, get: function () { return message_13.ReportContentRequest; } });
|
|
1385
1391
|
Object.defineProperty(exports, "ReportContentResponse", { enumerable: true, get: function () { return message_13.ReportContentResponse; } });
|
|
1386
1392
|
Object.defineProperty(exports, "SharePostRequest", { enumerable: true, get: function () { return message_13.SharePostRequest; } });
|
|
@@ -1397,6 +1403,10 @@ Object.defineProperty(exports, "UnnodCommentRequest", { enumerable: true, get: f
|
|
|
1397
1403
|
Object.defineProperty(exports, "UnnodCommentResponse", { enumerable: true, get: function () { return message_13.UnnodCommentResponse; } });
|
|
1398
1404
|
Object.defineProperty(exports, "UnnodPostRequest", { enumerable: true, get: function () { return message_13.UnnodPostRequest; } });
|
|
1399
1405
|
Object.defineProperty(exports, "UnnodPostResponse", { enumerable: true, get: function () { return message_13.UnnodPostResponse; } });
|
|
1406
|
+
Object.defineProperty(exports, "UnreactCommentRequest", { enumerable: true, get: function () { return message_13.UnreactCommentRequest; } });
|
|
1407
|
+
Object.defineProperty(exports, "UnreactCommentResponse", { enumerable: true, get: function () { return message_13.UnreactCommentResponse; } });
|
|
1408
|
+
Object.defineProperty(exports, "UnreactPostRequest", { enumerable: true, get: function () { return message_13.UnreactPostRequest; } });
|
|
1409
|
+
Object.defineProperty(exports, "UnreactPostResponse", { enumerable: true, get: function () { return message_13.UnreactPostResponse; } });
|
|
1400
1410
|
Object.defineProperty(exports, "UpdateCommentRequest", { enumerable: true, get: function () { return message_13.UpdateCommentRequest; } });
|
|
1401
1411
|
Object.defineProperty(exports, "UpdateCommentResponse", { enumerable: true, get: function () { return message_13.UpdateCommentResponse; } });
|
|
1402
1412
|
Object.defineProperty(exports, "UpdatePostRequest", { enumerable: true, get: function () { return message_13.UpdatePostRequest; } });
|
package/dist/post/message.d.ts
CHANGED
|
@@ -7,6 +7,18 @@ export interface PostAuthor {
|
|
|
7
7
|
avatarUrl: string;
|
|
8
8
|
username: string;
|
|
9
9
|
}
|
|
10
|
+
export interface ReactionCounts {
|
|
11
|
+
nod: number;
|
|
12
|
+
beStrong: number;
|
|
13
|
+
imWithYou: number;
|
|
14
|
+
beCareful: number;
|
|
15
|
+
}
|
|
16
|
+
export interface MyReactionState {
|
|
17
|
+
nod: boolean;
|
|
18
|
+
beStrong: boolean;
|
|
19
|
+
imWithYou: boolean;
|
|
20
|
+
beCareful: boolean;
|
|
21
|
+
}
|
|
10
22
|
export interface Post {
|
|
11
23
|
id: string;
|
|
12
24
|
communityId: string;
|
|
@@ -25,6 +37,9 @@ export interface Post {
|
|
|
25
37
|
isNodded: boolean;
|
|
26
38
|
tags: string[];
|
|
27
39
|
mentions: MentionedUser[];
|
|
40
|
+
reactionCounts: ReactionCounts | undefined;
|
|
41
|
+
myReactions: string[];
|
|
42
|
+
myReactionState: MyReactionState | undefined;
|
|
28
43
|
}
|
|
29
44
|
export interface MentionedUser {
|
|
30
45
|
userId: string;
|
|
@@ -46,6 +61,9 @@ export interface Comment {
|
|
|
46
61
|
nodCount: number;
|
|
47
62
|
isNodded: boolean;
|
|
48
63
|
mentions: MentionedUser[];
|
|
64
|
+
reactionCounts: ReactionCounts | undefined;
|
|
65
|
+
myReactions: string[];
|
|
66
|
+
myReactionState: MyReactionState | undefined;
|
|
49
67
|
}
|
|
50
68
|
export interface ListPostsRequest {
|
|
51
69
|
communityId: string;
|
|
@@ -245,6 +263,66 @@ export interface UnnodCommentResponse {
|
|
|
245
263
|
nodCount: number;
|
|
246
264
|
isNodded: boolean;
|
|
247
265
|
}
|
|
266
|
+
export interface ReactPostRequest {
|
|
267
|
+
postId: string;
|
|
268
|
+
/** nod | be_strong | im_with_you | be_careful */
|
|
269
|
+
reactionType: string;
|
|
270
|
+
/** required only for nod */
|
|
271
|
+
categoryId: string;
|
|
272
|
+
}
|
|
273
|
+
export interface ReactPostResponse {
|
|
274
|
+
postId: string;
|
|
275
|
+
/** aggregate supportive reaction count */
|
|
276
|
+
nodCount: number;
|
|
277
|
+
reacted: boolean;
|
|
278
|
+
reactionTypeCount: number;
|
|
279
|
+
reactionCounts: ReactionCounts | undefined;
|
|
280
|
+
reactionType: string;
|
|
281
|
+
}
|
|
282
|
+
export interface UnreactPostRequest {
|
|
283
|
+
postId: string;
|
|
284
|
+
/** nod | be_strong | im_with_you | be_careful */
|
|
285
|
+
reactionType: string;
|
|
286
|
+
}
|
|
287
|
+
export interface UnreactPostResponse {
|
|
288
|
+
postId: string;
|
|
289
|
+
/** aggregate supportive reaction count */
|
|
290
|
+
nodCount: number;
|
|
291
|
+
reacted: boolean;
|
|
292
|
+
reactionTypeCount: number;
|
|
293
|
+
reactionCounts: ReactionCounts | undefined;
|
|
294
|
+
reactionType: string;
|
|
295
|
+
}
|
|
296
|
+
export interface ReactCommentRequest {
|
|
297
|
+
commentId: string;
|
|
298
|
+
/** nod | be_strong | im_with_you | be_careful */
|
|
299
|
+
reactionType: string;
|
|
300
|
+
/** required only for nod */
|
|
301
|
+
categoryId: string;
|
|
302
|
+
}
|
|
303
|
+
export interface ReactCommentResponse {
|
|
304
|
+
commentId: string;
|
|
305
|
+
/** aggregate supportive reaction count */
|
|
306
|
+
nodCount: number;
|
|
307
|
+
reacted: boolean;
|
|
308
|
+
reactionTypeCount: number;
|
|
309
|
+
reactionCounts: ReactionCounts | undefined;
|
|
310
|
+
reactionType: string;
|
|
311
|
+
}
|
|
312
|
+
export interface UnreactCommentRequest {
|
|
313
|
+
commentId: string;
|
|
314
|
+
/** nod | be_strong | im_with_you | be_careful */
|
|
315
|
+
reactionType: string;
|
|
316
|
+
}
|
|
317
|
+
export interface UnreactCommentResponse {
|
|
318
|
+
commentId: string;
|
|
319
|
+
/** aggregate supportive reaction count */
|
|
320
|
+
nodCount: number;
|
|
321
|
+
reacted: boolean;
|
|
322
|
+
reactionTypeCount: number;
|
|
323
|
+
reactionCounts: ReactionCounts | undefined;
|
|
324
|
+
reactionType: string;
|
|
325
|
+
}
|
|
248
326
|
export interface HidePostRequest {
|
|
249
327
|
postId: string;
|
|
250
328
|
}
|
|
@@ -270,6 +348,8 @@ export interface ReportContentResponse {
|
|
|
270
348
|
createdAt: string;
|
|
271
349
|
}
|
|
272
350
|
export declare const PostAuthor: MessageFns<PostAuthor>;
|
|
351
|
+
export declare const ReactionCounts: MessageFns<ReactionCounts>;
|
|
352
|
+
export declare const MyReactionState: MessageFns<MyReactionState>;
|
|
273
353
|
export declare const Post: MessageFns<Post>;
|
|
274
354
|
export declare const MentionedUser: MessageFns<MentionedUser>;
|
|
275
355
|
export declare const Comment: MessageFns<Comment>;
|
|
@@ -324,6 +404,14 @@ export declare const NodCommentRequest: MessageFns<NodCommentRequest>;
|
|
|
324
404
|
export declare const NodCommentResponse: MessageFns<NodCommentResponse>;
|
|
325
405
|
export declare const UnnodCommentRequest: MessageFns<UnnodCommentRequest>;
|
|
326
406
|
export declare const UnnodCommentResponse: MessageFns<UnnodCommentResponse>;
|
|
407
|
+
export declare const ReactPostRequest: MessageFns<ReactPostRequest>;
|
|
408
|
+
export declare const ReactPostResponse: MessageFns<ReactPostResponse>;
|
|
409
|
+
export declare const UnreactPostRequest: MessageFns<UnreactPostRequest>;
|
|
410
|
+
export declare const UnreactPostResponse: MessageFns<UnreactPostResponse>;
|
|
411
|
+
export declare const ReactCommentRequest: MessageFns<ReactCommentRequest>;
|
|
412
|
+
export declare const ReactCommentResponse: MessageFns<ReactCommentResponse>;
|
|
413
|
+
export declare const UnreactCommentRequest: MessageFns<UnreactCommentRequest>;
|
|
414
|
+
export declare const UnreactCommentResponse: MessageFns<UnreactCommentResponse>;
|
|
327
415
|
export declare const HidePostRequest: MessageFns<HidePostRequest>;
|
|
328
416
|
export declare const HidePostResponse: MessageFns<HidePostResponse>;
|
|
329
417
|
export declare const UnhidePostRequest: MessageFns<UnhidePostRequest>;
|