theragist-ts 1.0.91 → 1.0.92
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 +5 -4
- package/dist/websocket/enum.d.ts +1 -0
- package/dist/websocket/enum.js +6 -0
- package/dist/websocket/message.d.ts +18 -0
- package/dist/websocket/message.js +286 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -44,7 +44,7 @@ export { CrisisChatRequestStatus, CrisisChatRequestStatus_Value, CrisisSupportTi
|
|
|
44
44
|
export { CrisisServiceDefinition } from './crisis/service';
|
|
45
45
|
export { CustomHttpPattern, Http, HttpRule } from './google/api/http';
|
|
46
46
|
export { DescriptorProto, DescriptorProto_ExtensionRange, DescriptorProto_ReservedRange, EnumDescriptorProto, EnumDescriptorProto_EnumReservedRange, EnumOptions, EnumValueDescriptorProto, EnumValueOptions, ExtensionRangeOptions, FieldDescriptorProto, FieldDescriptorProto_Label, FieldDescriptorProto_Type, FieldOptions, FieldOptions_CType, FieldOptions_JSType, FileDescriptorProto, FileDescriptorSet, FileOptions, FileOptions_OptimizeMode, GeneratedCodeInfo, GeneratedCodeInfo_Annotation, MessageOptions, MethodDescriptorProto, MethodOptions, MethodOptions_IdempotencyLevel, OneofDescriptorProto, OneofOptions, ServiceDescriptorProto, ServiceOptions, SourceCodeInfo, SourceCodeInfo_Location, UninterpretedOption, UninterpretedOption_NamePart, fieldDescriptorProto_LabelFromJSON, fieldDescriptorProto_LabelToJSON, fieldDescriptorProto_TypeFromJSON, fieldDescriptorProto_TypeToJSON, fieldOptions_CTypeFromJSON, fieldOptions_CTypeToJSON, fieldOptions_JSTypeFromJSON, fieldOptions_JSTypeToJSON, fileOptions_OptimizeModeFromJSON, fileOptions_OptimizeModeToJSON, methodOptions_IdempotencyLevelFromJSON, methodOptions_IdempotencyLevelToJSON } from './google/protobuf/descriptor';
|
|
47
|
-
export { GetOnlineUsersAction, MarkDirectReadAction, MarkReadAction, PingAction, RequestCallTypeSwitchAction, RequestCallTypeSwitchResponseAction, SendDirectMessageAction, SendGroupMessageAction, SubscribeCommunityAction, SubscribeGroupAction, TypingAction, TypingDirectAction, UnsubscribeCommunityAction, UnsubscribeGroupAction, WebSocketAdminAlertUpdatedEvent, WebSocketCallEndedEvent, WebSocketCallInvitationExpiredEvent, WebSocketCallInvitationResolvedEvent, WebSocketCallInvitationRespondedEvent, WebSocketCallParticipantEvent, WebSocketCallTimerWarningEvent, WebSocketCallTypeSwitchEvent, WebSocketClientEvent, WebSocketCommunityActivityEvent, WebSocketConnectedEvent, WebSocketDirectMessageEvent, WebSocketDirectMessagesReadEvent, WebSocketErrorEvent, WebSocketGroupLifecycleEvent, WebSocketGroupMessageEvent, WebSocketIncomingCallEvent, WebSocketIncomingMessage, WebSocketMissedCallEvent, WebSocketNewDirectMessageEvent, WebSocketOnlineUsersEvent, WebSocketOutgoingEvent, WebSocketPongEvent, WebSocketPresenceUpdateEvent, WebSocketReadReceiptEvent, WebSocketServerEvent, WebSocketSubscriptionEvent, WebSocketTypingDirectEvent, WebSocketTypingEvent } from './websocket/message';
|
|
47
|
+
export { GetOnlineUsersAction, MarkDirectReadAction, MarkReadAction, PingAction, RequestCallTypeSwitchAction, RequestCallTypeSwitchResponseAction, SendDirectMessageAction, SendGroupMessageAction, SubscribeCommunityAction, SubscribeGroupAction, TypingAction, TypingDirectAction, UnsubscribeCommunityAction, UnsubscribeGroupAction, WebSocketAdminAlertUpdatedEvent, WebSocketCallEndedEvent, WebSocketCallInvitationExpiredEvent, WebSocketCallInvitationResolvedEvent, WebSocketCallInvitationRespondedEvent, WebSocketCallParticipantEvent, WebSocketCallTimerWarningEvent, WebSocketCallTypeSwitchEvent, WebSocketClientEvent, WebSocketCommunityActivityEvent, WebSocketConnectedEvent, WebSocketDirectMessageEvent, WebSocketDirectMessagesReadEvent, WebSocketErrorEvent, WebSocketGroupLifecycleEvent, WebSocketGroupMessageEvent, WebSocketInAppNotificationEvent, WebSocketIncomingCallEvent, WebSocketIncomingMessage, WebSocketMissedCallEvent, WebSocketNewDirectMessageEvent, WebSocketOnlineUsersEvent, WebSocketOutgoingEvent, WebSocketPongEvent, WebSocketPresenceUpdateEvent, WebSocketReadReceiptEvent, WebSocketServerEvent, WebSocketSubscriptionEvent, WebSocketTypingDirectEvent, WebSocketTypingEvent } from './websocket/message';
|
|
48
48
|
export { GetPublicSettingsRequest, GetPublicSettingsResponse, GetSettingsRequest, GetSettingsResponse, SettingItem, UpdateSettingItem, UpdateSettingsRequest, UpdateSettingsResponse } from './settings/message';
|
|
49
49
|
export { GetUnreadCountRequest, GetUnreadCountResponse, ListNotificationsRequest, ListNotificationsResponse, MarkAllNotificationsReadRequest, MarkAllNotificationsReadResponse, MarkNotificationReadRequest, MarkNotificationReadResponse, Notification } from './notification/message';
|
|
50
50
|
export { GlobalSearchCommunityItem, GlobalSearchGroupItem, GlobalSearchPostItem, GlobalSearchRequest, GlobalSearchResponse, GlobalSearchTherapistItem, GlobalSearchUserItem, SearchCommunitiesResponse, SearchGroupsResponse, SearchHealthResponse, SearchPostsResponse, SearchRequest, SearchResourceItem, SearchResourcesRequest, SearchResourcesResponse, SearchSuggestionItem, SearchSuggestionRequest, SearchSuggestionsResponse, SearchTherapistsResponse, SearchUsersResponse } from './search/message';
|
package/dist/index.js
CHANGED
|
@@ -40,10 +40,10 @@ exports.GiftSubscriptionRequest = exports.GetTrackResponse = exports.GetTrackReq
|
|
|
40
40
|
exports.GetMyTherapistRequest = exports.GetMyClientsResponse = exports.GetMyClientsRequest = exports.GetHomeStatsResponse = exports.GetHomeStatsRequest = exports.GetHomeResponse = exports.GetHomeRequest = exports.CurrentSeason = exports.CommunityPost = exports.ClientItem = exports.ClientHomeSummary = exports.clientTreatmentPlanStatus_ValueToJSON = exports.clientTreatmentPlanStatus_ValueFromJSON = exports.clientGoalStatus_ValueToJSON = exports.clientGoalStatus_ValueFromJSON = exports.clientGender_ValueToJSON = exports.clientGender_ValueFromJSON = exports.ClientTreatmentPlanStatus_Value = exports.ClientTreatmentPlanStatus = exports.ClientGoalStatus_Value = exports.ClientGoalStatus = exports.ClientGender_Value = exports.ClientGender = exports.ChatServiceDefinition = exports.chatCallStatus_ValueToJSON = exports.chatCallStatus_ValueFromJSON = exports.ChatCallStatus_Value = exports.ChatCallStatus = 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 = void 0;
|
|
41
41
|
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.crisisSupportTicketStatus_ValueToJSON = exports.crisisSupportTicketStatus_ValueFromJSON = exports.crisisChatRequestStatus_ValueToJSON = exports.crisisChatRequestStatus_ValueFromJSON = exports.CrisisSupportTicketStatus_Value = exports.CrisisSupportTicketStatus = exports.CrisisChatRequestStatus_Value = exports.CrisisChatRequestStatus = exports.reportContentType_ValueToJSON = exports.reportContentType_ValueFromJSON = exports.postReactionType_ValueToJSON = exports.postReactionType_ValueFromJSON = exports.contentReportStatus_ValueToJSON = exports.contentReportStatus_ValueFromJSON = exports.ReportContentType_Value = exports.ReportContentType = exports.PostReactionType_Value = exports.PostReactionType = exports.ContentReportStatus_Value = exports.ContentReportStatus = 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 = void 0;
|
|
42
42
|
exports.WebSocketAdminAlertUpdatedEvent = exports.UnsubscribeGroupAction = exports.UnsubscribeCommunityAction = exports.TypingDirectAction = exports.TypingAction = exports.SubscribeGroupAction = exports.SubscribeCommunityAction = exports.SendGroupMessageAction = exports.SendDirectMessageAction = exports.RequestCallTypeSwitchResponseAction = exports.RequestCallTypeSwitchAction = exports.PingAction = exports.MarkReadAction = exports.MarkDirectReadAction = exports.GetOnlineUsersAction = 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 = 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 = void 0;
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.webSocketTarget_ValueToJSON = exports.webSocketTarget_ValueFromJSON = exports.webSocketPresenceStatus_ValueToJSON = exports.webSocketPresenceStatus_ValueFromJSON = exports.webSocketParticipantStatus_ValueToJSON = exports.webSocketParticipantStatus_ValueFromJSON = exports.webSocketInvitationStatus_ValueToJSON = exports.webSocketInvitationStatus_ValueFromJSON = exports.webSocketEventType_ValueToJSON = exports.webSocketEventType_ValueFromJSON = exports.webSocketAdminAlertStatus_ValueToJSON = exports.webSocketAdminAlertStatus_ValueFromJSON = void 0;
|
|
43
|
+
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.WebSocketTypingEvent = exports.WebSocketTypingDirectEvent = exports.WebSocketSubscriptionEvent = exports.WebSocketServerEvent = exports.WebSocketReadReceiptEvent = exports.WebSocketPresenceUpdateEvent = exports.WebSocketPongEvent = exports.WebSocketOutgoingEvent = exports.WebSocketOnlineUsersEvent = exports.WebSocketNewDirectMessageEvent = exports.WebSocketMissedCallEvent = exports.WebSocketIncomingMessage = exports.WebSocketIncomingCallEvent = exports.WebSocketInAppNotificationEvent = exports.WebSocketGroupMessageEvent = exports.WebSocketGroupLifecycleEvent = exports.WebSocketErrorEvent = exports.WebSocketDirectMessagesReadEvent = exports.WebSocketDirectMessageEvent = exports.WebSocketConnectedEvent = exports.WebSocketCommunityActivityEvent = exports.WebSocketClientEvent = exports.WebSocketCallTypeSwitchEvent = exports.WebSocketCallTimerWarningEvent = exports.WebSocketCallParticipantEvent = exports.WebSocketCallInvitationRespondedEvent = exports.WebSocketCallInvitationResolvedEvent = exports.WebSocketCallInvitationExpiredEvent = exports.WebSocketCallEndedEvent = void 0;
|
|
44
|
+
exports.notificationChannel_ValueToJSON = exports.notificationChannel_ValueFromJSON = exports.NotificationType_Value = exports.NotificationType = exports.NotificationChannel_Value = exports.NotificationChannel = exports.LoungeServiceDefinition = exports.loungeReferralStatus_ValueToJSON = exports.loungeReferralStatus_ValueFromJSON = exports.LoungeReferralStatus_Value = exports.LoungeReferralStatus = exports.LookupServiceDefinition = exports.sessionParticipationType_ValueToJSON = exports.sessionParticipationType_ValueFromJSON = exports.liveSessionStatus_ValueToJSON = exports.liveSessionStatus_ValueFromJSON = exports.SessionParticipationType_Value = exports.SessionParticipationType = exports.LiveSessionStatus_Value = exports.LiveSessionStatus = exports.invitationType_ValueToJSON = exports.invitationType_ValueFromJSON = exports.InvitationType_Value = exports.InvitationType = exports.HomeServiceDefinition = exports.GroupServiceDefinition = exports.groupPrivacy_ValueToJSON = exports.groupPrivacy_ValueFromJSON = exports.groupMessageType_ValueToJSON = exports.groupMessageType_ValueFromJSON = exports.GroupPrivacy_Value = exports.GroupPrivacy = exports.GroupMessageType_Value = exports.GroupMessageType = exports.SearchUsersResponse = exports.SearchTherapistsResponse = exports.SearchSuggestionsResponse = exports.SearchSuggestionRequest = exports.SearchSuggestionItem = exports.SearchResourcesResponse = exports.SearchResourcesRequest = exports.SearchResourceItem = exports.SearchRequest = exports.SearchPostsResponse = exports.SearchHealthResponse = exports.SearchGroupsResponse = exports.SearchCommunitiesResponse = exports.GlobalSearchUserItem = exports.GlobalSearchTherapistItem = exports.GlobalSearchResponse = void 0;
|
|
45
|
+
exports.webSocketAction_ValueFromJSON = exports.WebSocketTarget_Value = exports.WebSocketTarget = exports.WebSocketPresenceStatus_Value = exports.WebSocketPresenceStatus = exports.WebSocketParticipantStatus_Value = exports.WebSocketParticipantStatus = exports.WebSocketInvitationStatus_Value = exports.WebSocketInvitationStatus = exports.WebSocketEventType_Value = exports.WebSocketEventType = exports.WebSocketAdminAlertStatus_Value = exports.WebSocketAdminAlertStatus = exports.WebSocketAction_Value = exports.WebSocketAction = exports.WalletServiceDefinition = exports.UserServiceDefinition = exports.TherapistServiceDefinition = exports.SubmitBugReportResponse = exports.SubmitBugReportRequest = exports.soundscapeSubscriptionStatus_ValueToJSON = exports.soundscapeSubscriptionStatus_ValueFromJSON = exports.SoundscapeSubscriptionStatus_Value = exports.SoundscapeSubscriptionStatus = exports.SoundscapeServiceDefinition = exports.SettingsServiceDefinition = exports.SessionServiceDefinition = exports.searchSuggestionCategory_ValueToJSON = exports.searchSuggestionCategory_ValueFromJSON = exports.searchSource_ValueToJSON = exports.searchSource_ValueFromJSON = exports.SearchSuggestionCategory_Value = exports.SearchSuggestionCategory = exports.SearchSource_Value = exports.SearchSource = exports.SearchServiceDefinition = exports.SearchHealthRequest = exports.recentActivityType_ValueToJSON = exports.recentActivityType_ValueFromJSON = exports.RecentActivityType_Value = exports.RecentActivityType = exports.PostServiceDefinition = exports.OrganizationServiceDefinition = exports.organizationFundingSource_ValueToJSON = exports.organizationFundingSource_ValueFromJSON = exports.OrganizationFundingSource_Value = exports.OrganizationFundingSource = exports.NotificationServiceDefinition = exports.notificationType_ValueToJSON = exports.notificationType_ValueFromJSON = void 0;
|
|
46
|
+
exports.webSocketTarget_ValueToJSON = exports.webSocketTarget_ValueFromJSON = exports.webSocketPresenceStatus_ValueToJSON = exports.webSocketPresenceStatus_ValueFromJSON = exports.webSocketParticipantStatus_ValueToJSON = exports.webSocketParticipantStatus_ValueFromJSON = exports.webSocketInvitationStatus_ValueToJSON = exports.webSocketInvitationStatus_ValueFromJSON = exports.webSocketEventType_ValueToJSON = exports.webSocketEventType_ValueFromJSON = exports.webSocketAdminAlertStatus_ValueToJSON = exports.webSocketAdminAlertStatus_ValueFromJSON = exports.webSocketAction_ValueToJSON = void 0;
|
|
47
47
|
var message_1 = require("./lounge/message");
|
|
48
48
|
Object.defineProperty(exports, "AcceptConsultationResponseRequest", { enumerable: true, get: function () { return message_1.AcceptConsultationResponseRequest; } });
|
|
49
49
|
Object.defineProperty(exports, "AcceptConsultationResponseResponse", { enumerable: true, get: function () { return message_1.AcceptConsultationResponseResponse; } });
|
|
@@ -2106,6 +2106,7 @@ Object.defineProperty(exports, "WebSocketDirectMessagesReadEvent", { enumerable:
|
|
|
2106
2106
|
Object.defineProperty(exports, "WebSocketErrorEvent", { enumerable: true, get: function () { return message_20.WebSocketErrorEvent; } });
|
|
2107
2107
|
Object.defineProperty(exports, "WebSocketGroupLifecycleEvent", { enumerable: true, get: function () { return message_20.WebSocketGroupLifecycleEvent; } });
|
|
2108
2108
|
Object.defineProperty(exports, "WebSocketGroupMessageEvent", { enumerable: true, get: function () { return message_20.WebSocketGroupMessageEvent; } });
|
|
2109
|
+
Object.defineProperty(exports, "WebSocketInAppNotificationEvent", { enumerable: true, get: function () { return message_20.WebSocketInAppNotificationEvent; } });
|
|
2109
2110
|
Object.defineProperty(exports, "WebSocketIncomingCallEvent", { enumerable: true, get: function () { return message_20.WebSocketIncomingCallEvent; } });
|
|
2110
2111
|
Object.defineProperty(exports, "WebSocketIncomingMessage", { enumerable: true, get: function () { return message_20.WebSocketIncomingMessage; } });
|
|
2111
2112
|
Object.defineProperty(exports, "WebSocketMissedCallEvent", { enumerable: true, get: function () { return message_20.WebSocketMissedCallEvent; } });
|
package/dist/websocket/enum.d.ts
CHANGED
|
@@ -81,6 +81,7 @@ export declare enum WebSocketEventType_Value {
|
|
|
81
81
|
commentUpdated = 50,
|
|
82
82
|
commentDeleted = 51,
|
|
83
83
|
call_timer_warning = 52,
|
|
84
|
+
newNotification = 53,
|
|
84
85
|
UNRECOGNIZED = -1
|
|
85
86
|
}
|
|
86
87
|
export declare function webSocketEventType_ValueFromJSON(object: any): WebSocketEventType_Value;
|
package/dist/websocket/enum.js
CHANGED
|
@@ -205,6 +205,7 @@ var WebSocketEventType_Value;
|
|
|
205
205
|
WebSocketEventType_Value[WebSocketEventType_Value["commentUpdated"] = 50] = "commentUpdated";
|
|
206
206
|
WebSocketEventType_Value[WebSocketEventType_Value["commentDeleted"] = 51] = "commentDeleted";
|
|
207
207
|
WebSocketEventType_Value[WebSocketEventType_Value["call_timer_warning"] = 52] = "call_timer_warning";
|
|
208
|
+
WebSocketEventType_Value[WebSocketEventType_Value["newNotification"] = 53] = "newNotification";
|
|
208
209
|
WebSocketEventType_Value[WebSocketEventType_Value["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
209
210
|
})(WebSocketEventType_Value || (exports.WebSocketEventType_Value = WebSocketEventType_Value = {}));
|
|
210
211
|
function webSocketEventType_ValueFromJSON(object) {
|
|
@@ -368,6 +369,9 @@ function webSocketEventType_ValueFromJSON(object) {
|
|
|
368
369
|
case 52:
|
|
369
370
|
case "call_timer_warning":
|
|
370
371
|
return WebSocketEventType_Value.call_timer_warning;
|
|
372
|
+
case 53:
|
|
373
|
+
case "newNotification":
|
|
374
|
+
return WebSocketEventType_Value.newNotification;
|
|
371
375
|
case -1:
|
|
372
376
|
case "UNRECOGNIZED":
|
|
373
377
|
default:
|
|
@@ -482,6 +486,8 @@ function webSocketEventType_ValueToJSON(object) {
|
|
|
482
486
|
return "commentDeleted";
|
|
483
487
|
case WebSocketEventType_Value.call_timer_warning:
|
|
484
488
|
return "call_timer_warning";
|
|
489
|
+
case WebSocketEventType_Value.newNotification:
|
|
490
|
+
return "newNotification";
|
|
485
491
|
case WebSocketEventType_Value.UNRECOGNIZED:
|
|
486
492
|
default:
|
|
487
493
|
return "UNRECOGNIZED";
|
|
@@ -213,6 +213,22 @@ export interface WebSocketAdminAlertUpdatedEvent {
|
|
|
213
213
|
target: WebSocketTarget_Value;
|
|
214
214
|
timestamp: string;
|
|
215
215
|
}
|
|
216
|
+
export interface WebSocketInAppNotificationEvent {
|
|
217
|
+
type: WebSocketEventType_Value;
|
|
218
|
+
notificationId: string;
|
|
219
|
+
userId: string;
|
|
220
|
+
notificationType: string;
|
|
221
|
+
title: string;
|
|
222
|
+
body: string;
|
|
223
|
+
data: any | undefined;
|
|
224
|
+
actionLabel: string;
|
|
225
|
+
deepLink: string;
|
|
226
|
+
imageUrl: string;
|
|
227
|
+
workflowKey: string;
|
|
228
|
+
templateKey: string;
|
|
229
|
+
channel: string;
|
|
230
|
+
timestamp: string;
|
|
231
|
+
}
|
|
216
232
|
export interface WebSocketOnlineUsersEvent {
|
|
217
233
|
type: WebSocketEventType_Value;
|
|
218
234
|
groupId: string;
|
|
@@ -326,6 +342,7 @@ export interface WebSocketServerEvent {
|
|
|
326
342
|
groupLifecycleEvent?: WebSocketGroupLifecycleEvent | undefined;
|
|
327
343
|
adminAlertUpdatedEvent?: WebSocketAdminAlertUpdatedEvent | undefined;
|
|
328
344
|
callTimerWarningEvent?: WebSocketCallTimerWarningEvent | undefined;
|
|
345
|
+
inAppNotificationEvent?: WebSocketInAppNotificationEvent | undefined;
|
|
329
346
|
}
|
|
330
347
|
export declare const WebSocketIncomingMessage: MessageFns<WebSocketIncomingMessage>;
|
|
331
348
|
export declare const SubscribeGroupAction: MessageFns<SubscribeGroupAction>;
|
|
@@ -359,6 +376,7 @@ export declare const WebSocketCommunityActivityEvent: MessageFns<WebSocketCommun
|
|
|
359
376
|
export declare const WebSocketGroupLifecycleEvent: MessageFns<WebSocketGroupLifecycleEvent>;
|
|
360
377
|
export declare const WebSocketErrorEvent: MessageFns<WebSocketErrorEvent>;
|
|
361
378
|
export declare const WebSocketAdminAlertUpdatedEvent: MessageFns<WebSocketAdminAlertUpdatedEvent>;
|
|
379
|
+
export declare const WebSocketInAppNotificationEvent: MessageFns<WebSocketInAppNotificationEvent>;
|
|
362
380
|
export declare const WebSocketOnlineUsersEvent: MessageFns<WebSocketOnlineUsersEvent>;
|
|
363
381
|
export declare const WebSocketIncomingCallEvent: MessageFns<WebSocketIncomingCallEvent>;
|
|
364
382
|
export declare const WebSocketMissedCallEvent: MessageFns<WebSocketMissedCallEvent>;
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v3.21.12
|
|
6
6
|
// source: websocket/message.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.WebSocketServerEvent = exports.WebSocketNewDirectMessageEvent = exports.WebSocketCallTimerWarningEvent = exports.WebSocketCallInvitationExpiredEvent = exports.WebSocketCallInvitationResolvedEvent = exports.WebSocketCallInvitationRespondedEvent = exports.WebSocketCallParticipantEvent = exports.WebSocketCallEndedEvent = exports.WebSocketMissedCallEvent = exports.WebSocketIncomingCallEvent = exports.WebSocketOnlineUsersEvent = exports.WebSocketAdminAlertUpdatedEvent = exports.WebSocketErrorEvent = exports.WebSocketGroupLifecycleEvent = exports.WebSocketCommunityActivityEvent = exports.WebSocketCallTypeSwitchEvent = exports.WebSocketDirectMessageEvent = exports.WebSocketGroupMessageEvent = exports.WebSocketPongEvent = exports.WebSocketReadReceiptEvent = exports.WebSocketDirectMessagesReadEvent = exports.WebSocketTypingDirectEvent = exports.WebSocketTypingEvent = exports.WebSocketPresenceUpdateEvent = exports.WebSocketSubscriptionEvent = exports.WebSocketConnectedEvent = exports.WebSocketOutgoingEvent = exports.WebSocketClientEvent = exports.RequestCallTypeSwitchResponseAction = exports.RequestCallTypeSwitchAction = exports.PingAction = exports.GetOnlineUsersAction = exports.MarkDirectReadAction = exports.MarkReadAction = exports.TypingDirectAction = exports.TypingAction = exports.SendDirectMessageAction = exports.SendGroupMessageAction = exports.UnsubscribeCommunityAction = exports.SubscribeCommunityAction = exports.UnsubscribeGroupAction = exports.SubscribeGroupAction = exports.WebSocketIncomingMessage = exports.protobufPackage = void 0;
|
|
8
|
+
exports.WebSocketServerEvent = exports.WebSocketNewDirectMessageEvent = exports.WebSocketCallTimerWarningEvent = exports.WebSocketCallInvitationExpiredEvent = exports.WebSocketCallInvitationResolvedEvent = exports.WebSocketCallInvitationRespondedEvent = exports.WebSocketCallParticipantEvent = exports.WebSocketCallEndedEvent = exports.WebSocketMissedCallEvent = exports.WebSocketIncomingCallEvent = exports.WebSocketOnlineUsersEvent = exports.WebSocketInAppNotificationEvent = exports.WebSocketAdminAlertUpdatedEvent = exports.WebSocketErrorEvent = exports.WebSocketGroupLifecycleEvent = exports.WebSocketCommunityActivityEvent = exports.WebSocketCallTypeSwitchEvent = exports.WebSocketDirectMessageEvent = exports.WebSocketGroupMessageEvent = exports.WebSocketPongEvent = exports.WebSocketReadReceiptEvent = exports.WebSocketDirectMessagesReadEvent = exports.WebSocketTypingDirectEvent = exports.WebSocketTypingEvent = exports.WebSocketPresenceUpdateEvent = exports.WebSocketSubscriptionEvent = exports.WebSocketConnectedEvent = exports.WebSocketOutgoingEvent = exports.WebSocketClientEvent = exports.RequestCallTypeSwitchResponseAction = exports.RequestCallTypeSwitchAction = exports.PingAction = exports.GetOnlineUsersAction = exports.MarkDirectReadAction = exports.MarkReadAction = exports.TypingDirectAction = exports.TypingAction = exports.SendDirectMessageAction = exports.SendGroupMessageAction = exports.UnsubscribeCommunityAction = exports.SubscribeCommunityAction = exports.UnsubscribeGroupAction = exports.SubscribeGroupAction = exports.WebSocketIncomingMessage = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const enum_1 = require("../call/enum");
|
|
@@ -3387,6 +3387,270 @@ exports.WebSocketAdminAlertUpdatedEvent = {
|
|
|
3387
3387
|
return message;
|
|
3388
3388
|
},
|
|
3389
3389
|
};
|
|
3390
|
+
function createBaseWebSocketInAppNotificationEvent() {
|
|
3391
|
+
return {
|
|
3392
|
+
type: 0,
|
|
3393
|
+
notificationId: "",
|
|
3394
|
+
userId: "",
|
|
3395
|
+
notificationType: "",
|
|
3396
|
+
title: "",
|
|
3397
|
+
body: "",
|
|
3398
|
+
data: undefined,
|
|
3399
|
+
actionLabel: "",
|
|
3400
|
+
deepLink: "",
|
|
3401
|
+
imageUrl: "",
|
|
3402
|
+
workflowKey: "",
|
|
3403
|
+
templateKey: "",
|
|
3404
|
+
channel: "",
|
|
3405
|
+
timestamp: "",
|
|
3406
|
+
};
|
|
3407
|
+
}
|
|
3408
|
+
exports.WebSocketInAppNotificationEvent = {
|
|
3409
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
3410
|
+
if (message.type !== 0) {
|
|
3411
|
+
writer.uint32(8).int32(message.type);
|
|
3412
|
+
}
|
|
3413
|
+
if (message.notificationId !== "") {
|
|
3414
|
+
writer.uint32(18).string(message.notificationId);
|
|
3415
|
+
}
|
|
3416
|
+
if (message.userId !== "") {
|
|
3417
|
+
writer.uint32(26).string(message.userId);
|
|
3418
|
+
}
|
|
3419
|
+
if (message.notificationType !== "") {
|
|
3420
|
+
writer.uint32(34).string(message.notificationType);
|
|
3421
|
+
}
|
|
3422
|
+
if (message.title !== "") {
|
|
3423
|
+
writer.uint32(42).string(message.title);
|
|
3424
|
+
}
|
|
3425
|
+
if (message.body !== "") {
|
|
3426
|
+
writer.uint32(50).string(message.body);
|
|
3427
|
+
}
|
|
3428
|
+
if (message.data !== undefined) {
|
|
3429
|
+
struct_1.Value.encode(struct_1.Value.wrap(message.data), writer.uint32(58).fork()).join();
|
|
3430
|
+
}
|
|
3431
|
+
if (message.actionLabel !== "") {
|
|
3432
|
+
writer.uint32(66).string(message.actionLabel);
|
|
3433
|
+
}
|
|
3434
|
+
if (message.deepLink !== "") {
|
|
3435
|
+
writer.uint32(74).string(message.deepLink);
|
|
3436
|
+
}
|
|
3437
|
+
if (message.imageUrl !== "") {
|
|
3438
|
+
writer.uint32(82).string(message.imageUrl);
|
|
3439
|
+
}
|
|
3440
|
+
if (message.workflowKey !== "") {
|
|
3441
|
+
writer.uint32(90).string(message.workflowKey);
|
|
3442
|
+
}
|
|
3443
|
+
if (message.templateKey !== "") {
|
|
3444
|
+
writer.uint32(98).string(message.templateKey);
|
|
3445
|
+
}
|
|
3446
|
+
if (message.channel !== "") {
|
|
3447
|
+
writer.uint32(106).string(message.channel);
|
|
3448
|
+
}
|
|
3449
|
+
if (message.timestamp !== "") {
|
|
3450
|
+
writer.uint32(114).string(message.timestamp);
|
|
3451
|
+
}
|
|
3452
|
+
return writer;
|
|
3453
|
+
},
|
|
3454
|
+
decode(input, length) {
|
|
3455
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
3456
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
3457
|
+
const message = createBaseWebSocketInAppNotificationEvent();
|
|
3458
|
+
while (reader.pos < end) {
|
|
3459
|
+
const tag = reader.uint32();
|
|
3460
|
+
switch (tag >>> 3) {
|
|
3461
|
+
case 1: {
|
|
3462
|
+
if (tag !== 8) {
|
|
3463
|
+
break;
|
|
3464
|
+
}
|
|
3465
|
+
message.type = reader.int32();
|
|
3466
|
+
continue;
|
|
3467
|
+
}
|
|
3468
|
+
case 2: {
|
|
3469
|
+
if (tag !== 18) {
|
|
3470
|
+
break;
|
|
3471
|
+
}
|
|
3472
|
+
message.notificationId = reader.string();
|
|
3473
|
+
continue;
|
|
3474
|
+
}
|
|
3475
|
+
case 3: {
|
|
3476
|
+
if (tag !== 26) {
|
|
3477
|
+
break;
|
|
3478
|
+
}
|
|
3479
|
+
message.userId = reader.string();
|
|
3480
|
+
continue;
|
|
3481
|
+
}
|
|
3482
|
+
case 4: {
|
|
3483
|
+
if (tag !== 34) {
|
|
3484
|
+
break;
|
|
3485
|
+
}
|
|
3486
|
+
message.notificationType = reader.string();
|
|
3487
|
+
continue;
|
|
3488
|
+
}
|
|
3489
|
+
case 5: {
|
|
3490
|
+
if (tag !== 42) {
|
|
3491
|
+
break;
|
|
3492
|
+
}
|
|
3493
|
+
message.title = reader.string();
|
|
3494
|
+
continue;
|
|
3495
|
+
}
|
|
3496
|
+
case 6: {
|
|
3497
|
+
if (tag !== 50) {
|
|
3498
|
+
break;
|
|
3499
|
+
}
|
|
3500
|
+
message.body = reader.string();
|
|
3501
|
+
continue;
|
|
3502
|
+
}
|
|
3503
|
+
case 7: {
|
|
3504
|
+
if (tag !== 58) {
|
|
3505
|
+
break;
|
|
3506
|
+
}
|
|
3507
|
+
message.data = struct_1.Value.unwrap(struct_1.Value.decode(reader, reader.uint32()));
|
|
3508
|
+
continue;
|
|
3509
|
+
}
|
|
3510
|
+
case 8: {
|
|
3511
|
+
if (tag !== 66) {
|
|
3512
|
+
break;
|
|
3513
|
+
}
|
|
3514
|
+
message.actionLabel = reader.string();
|
|
3515
|
+
continue;
|
|
3516
|
+
}
|
|
3517
|
+
case 9: {
|
|
3518
|
+
if (tag !== 74) {
|
|
3519
|
+
break;
|
|
3520
|
+
}
|
|
3521
|
+
message.deepLink = reader.string();
|
|
3522
|
+
continue;
|
|
3523
|
+
}
|
|
3524
|
+
case 10: {
|
|
3525
|
+
if (tag !== 82) {
|
|
3526
|
+
break;
|
|
3527
|
+
}
|
|
3528
|
+
message.imageUrl = reader.string();
|
|
3529
|
+
continue;
|
|
3530
|
+
}
|
|
3531
|
+
case 11: {
|
|
3532
|
+
if (tag !== 90) {
|
|
3533
|
+
break;
|
|
3534
|
+
}
|
|
3535
|
+
message.workflowKey = reader.string();
|
|
3536
|
+
continue;
|
|
3537
|
+
}
|
|
3538
|
+
case 12: {
|
|
3539
|
+
if (tag !== 98) {
|
|
3540
|
+
break;
|
|
3541
|
+
}
|
|
3542
|
+
message.templateKey = reader.string();
|
|
3543
|
+
continue;
|
|
3544
|
+
}
|
|
3545
|
+
case 13: {
|
|
3546
|
+
if (tag !== 106) {
|
|
3547
|
+
break;
|
|
3548
|
+
}
|
|
3549
|
+
message.channel = reader.string();
|
|
3550
|
+
continue;
|
|
3551
|
+
}
|
|
3552
|
+
case 14: {
|
|
3553
|
+
if (tag !== 114) {
|
|
3554
|
+
break;
|
|
3555
|
+
}
|
|
3556
|
+
message.timestamp = reader.string();
|
|
3557
|
+
continue;
|
|
3558
|
+
}
|
|
3559
|
+
}
|
|
3560
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
3561
|
+
break;
|
|
3562
|
+
}
|
|
3563
|
+
reader.skip(tag & 7);
|
|
3564
|
+
}
|
|
3565
|
+
return message;
|
|
3566
|
+
},
|
|
3567
|
+
fromJSON(object) {
|
|
3568
|
+
return {
|
|
3569
|
+
type: isSet(object.type) ? (0, enum_2.webSocketEventType_ValueFromJSON)(object.type) : 0,
|
|
3570
|
+
notificationId: isSet(object.notificationId) ? globalThis.String(object.notificationId) : "",
|
|
3571
|
+
userId: isSet(object.userId) ? globalThis.String(object.userId) : "",
|
|
3572
|
+
notificationType: isSet(object.notificationType) ? globalThis.String(object.notificationType) : "",
|
|
3573
|
+
title: isSet(object.title) ? globalThis.String(object.title) : "",
|
|
3574
|
+
body: isSet(object.body) ? globalThis.String(object.body) : "",
|
|
3575
|
+
data: isSet(object === null || object === void 0 ? void 0 : object.data) ? object.data : undefined,
|
|
3576
|
+
actionLabel: isSet(object.actionLabel) ? globalThis.String(object.actionLabel) : "",
|
|
3577
|
+
deepLink: isSet(object.deepLink) ? globalThis.String(object.deepLink) : "",
|
|
3578
|
+
imageUrl: isSet(object.imageUrl) ? globalThis.String(object.imageUrl) : "",
|
|
3579
|
+
workflowKey: isSet(object.workflowKey) ? globalThis.String(object.workflowKey) : "",
|
|
3580
|
+
templateKey: isSet(object.templateKey) ? globalThis.String(object.templateKey) : "",
|
|
3581
|
+
channel: isSet(object.channel) ? globalThis.String(object.channel) : "",
|
|
3582
|
+
timestamp: isSet(object.timestamp) ? globalThis.String(object.timestamp) : "",
|
|
3583
|
+
};
|
|
3584
|
+
},
|
|
3585
|
+
toJSON(message) {
|
|
3586
|
+
const obj = {};
|
|
3587
|
+
if (message.type !== 0) {
|
|
3588
|
+
obj.type = (0, enum_2.webSocketEventType_ValueToJSON)(message.type);
|
|
3589
|
+
}
|
|
3590
|
+
if (message.notificationId !== "") {
|
|
3591
|
+
obj.notificationId = message.notificationId;
|
|
3592
|
+
}
|
|
3593
|
+
if (message.userId !== "") {
|
|
3594
|
+
obj.userId = message.userId;
|
|
3595
|
+
}
|
|
3596
|
+
if (message.notificationType !== "") {
|
|
3597
|
+
obj.notificationType = message.notificationType;
|
|
3598
|
+
}
|
|
3599
|
+
if (message.title !== "") {
|
|
3600
|
+
obj.title = message.title;
|
|
3601
|
+
}
|
|
3602
|
+
if (message.body !== "") {
|
|
3603
|
+
obj.body = message.body;
|
|
3604
|
+
}
|
|
3605
|
+
if (message.data !== undefined) {
|
|
3606
|
+
obj.data = message.data;
|
|
3607
|
+
}
|
|
3608
|
+
if (message.actionLabel !== "") {
|
|
3609
|
+
obj.actionLabel = message.actionLabel;
|
|
3610
|
+
}
|
|
3611
|
+
if (message.deepLink !== "") {
|
|
3612
|
+
obj.deepLink = message.deepLink;
|
|
3613
|
+
}
|
|
3614
|
+
if (message.imageUrl !== "") {
|
|
3615
|
+
obj.imageUrl = message.imageUrl;
|
|
3616
|
+
}
|
|
3617
|
+
if (message.workflowKey !== "") {
|
|
3618
|
+
obj.workflowKey = message.workflowKey;
|
|
3619
|
+
}
|
|
3620
|
+
if (message.templateKey !== "") {
|
|
3621
|
+
obj.templateKey = message.templateKey;
|
|
3622
|
+
}
|
|
3623
|
+
if (message.channel !== "") {
|
|
3624
|
+
obj.channel = message.channel;
|
|
3625
|
+
}
|
|
3626
|
+
if (message.timestamp !== "") {
|
|
3627
|
+
obj.timestamp = message.timestamp;
|
|
3628
|
+
}
|
|
3629
|
+
return obj;
|
|
3630
|
+
},
|
|
3631
|
+
create(base) {
|
|
3632
|
+
return exports.WebSocketInAppNotificationEvent.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
3633
|
+
},
|
|
3634
|
+
fromPartial(object) {
|
|
3635
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p;
|
|
3636
|
+
const message = createBaseWebSocketInAppNotificationEvent();
|
|
3637
|
+
message.type = (_a = object.type) !== null && _a !== void 0 ? _a : 0;
|
|
3638
|
+
message.notificationId = (_b = object.notificationId) !== null && _b !== void 0 ? _b : "";
|
|
3639
|
+
message.userId = (_c = object.userId) !== null && _c !== void 0 ? _c : "";
|
|
3640
|
+
message.notificationType = (_d = object.notificationType) !== null && _d !== void 0 ? _d : "";
|
|
3641
|
+
message.title = (_e = object.title) !== null && _e !== void 0 ? _e : "";
|
|
3642
|
+
message.body = (_f = object.body) !== null && _f !== void 0 ? _f : "";
|
|
3643
|
+
message.data = (_g = object.data) !== null && _g !== void 0 ? _g : undefined;
|
|
3644
|
+
message.actionLabel = (_h = object.actionLabel) !== null && _h !== void 0 ? _h : "";
|
|
3645
|
+
message.deepLink = (_j = object.deepLink) !== null && _j !== void 0 ? _j : "";
|
|
3646
|
+
message.imageUrl = (_k = object.imageUrl) !== null && _k !== void 0 ? _k : "";
|
|
3647
|
+
message.workflowKey = (_l = object.workflowKey) !== null && _l !== void 0 ? _l : "";
|
|
3648
|
+
message.templateKey = (_m = object.templateKey) !== null && _m !== void 0 ? _m : "";
|
|
3649
|
+
message.channel = (_o = object.channel) !== null && _o !== void 0 ? _o : "";
|
|
3650
|
+
message.timestamp = (_p = object.timestamp) !== null && _p !== void 0 ? _p : "";
|
|
3651
|
+
return message;
|
|
3652
|
+
},
|
|
3653
|
+
};
|
|
3390
3654
|
function createBaseWebSocketOnlineUsersEvent() {
|
|
3391
3655
|
return { type: 0, groupId: "", users: [] };
|
|
3392
3656
|
}
|
|
@@ -4842,6 +5106,7 @@ function createBaseWebSocketServerEvent() {
|
|
|
4842
5106
|
groupLifecycleEvent: undefined,
|
|
4843
5107
|
adminAlertUpdatedEvent: undefined,
|
|
4844
5108
|
callTimerWarningEvent: undefined,
|
|
5109
|
+
inAppNotificationEvent: undefined,
|
|
4845
5110
|
};
|
|
4846
5111
|
}
|
|
4847
5112
|
exports.WebSocketServerEvent = {
|
|
@@ -4925,6 +5190,9 @@ exports.WebSocketServerEvent = {
|
|
|
4925
5190
|
if (message.callTimerWarningEvent !== undefined) {
|
|
4926
5191
|
exports.WebSocketCallTimerWarningEvent.encode(message.callTimerWarningEvent, writer.uint32(210).fork()).join();
|
|
4927
5192
|
}
|
|
5193
|
+
if (message.inAppNotificationEvent !== undefined) {
|
|
5194
|
+
exports.WebSocketInAppNotificationEvent.encode(message.inAppNotificationEvent, writer.uint32(218).fork()).join();
|
|
5195
|
+
}
|
|
4928
5196
|
return writer;
|
|
4929
5197
|
},
|
|
4930
5198
|
decode(input, length) {
|
|
@@ -5116,6 +5384,13 @@ exports.WebSocketServerEvent = {
|
|
|
5116
5384
|
message.callTimerWarningEvent = exports.WebSocketCallTimerWarningEvent.decode(reader, reader.uint32());
|
|
5117
5385
|
continue;
|
|
5118
5386
|
}
|
|
5387
|
+
case 27: {
|
|
5388
|
+
if (tag !== 218) {
|
|
5389
|
+
break;
|
|
5390
|
+
}
|
|
5391
|
+
message.inAppNotificationEvent = exports.WebSocketInAppNotificationEvent.decode(reader, reader.uint32());
|
|
5392
|
+
continue;
|
|
5393
|
+
}
|
|
5119
5394
|
}
|
|
5120
5395
|
if ((tag & 7) === 4 || tag === 0) {
|
|
5121
5396
|
break;
|
|
@@ -5196,6 +5471,9 @@ exports.WebSocketServerEvent = {
|
|
|
5196
5471
|
callTimerWarningEvent: isSet(object.callTimerWarningEvent)
|
|
5197
5472
|
? exports.WebSocketCallTimerWarningEvent.fromJSON(object.callTimerWarningEvent)
|
|
5198
5473
|
: undefined,
|
|
5474
|
+
inAppNotificationEvent: isSet(object.inAppNotificationEvent)
|
|
5475
|
+
? exports.WebSocketInAppNotificationEvent.fromJSON(object.inAppNotificationEvent)
|
|
5476
|
+
: undefined,
|
|
5199
5477
|
};
|
|
5200
5478
|
},
|
|
5201
5479
|
toJSON(message) {
|
|
@@ -5278,6 +5556,9 @@ exports.WebSocketServerEvent = {
|
|
|
5278
5556
|
if (message.callTimerWarningEvent !== undefined) {
|
|
5279
5557
|
obj.callTimerWarningEvent = exports.WebSocketCallTimerWarningEvent.toJSON(message.callTimerWarningEvent);
|
|
5280
5558
|
}
|
|
5559
|
+
if (message.inAppNotificationEvent !== undefined) {
|
|
5560
|
+
obj.inAppNotificationEvent = exports.WebSocketInAppNotificationEvent.toJSON(message.inAppNotificationEvent);
|
|
5561
|
+
}
|
|
5281
5562
|
return obj;
|
|
5282
5563
|
},
|
|
5283
5564
|
create(base) {
|
|
@@ -5371,6 +5652,10 @@ exports.WebSocketServerEvent = {
|
|
|
5371
5652
|
(object.callTimerWarningEvent !== undefined && object.callTimerWarningEvent !== null)
|
|
5372
5653
|
? exports.WebSocketCallTimerWarningEvent.fromPartial(object.callTimerWarningEvent)
|
|
5373
5654
|
: undefined;
|
|
5655
|
+
message.inAppNotificationEvent =
|
|
5656
|
+
(object.inAppNotificationEvent !== undefined && object.inAppNotificationEvent !== null)
|
|
5657
|
+
? exports.WebSocketInAppNotificationEvent.fromPartial(object.inAppNotificationEvent)
|
|
5658
|
+
: undefined;
|
|
5374
5659
|
return message;
|
|
5375
5660
|
},
|
|
5376
5661
|
};
|