theragist-ts 1.0.151 → 1.0.152
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
CHANGED
|
@@ -74,7 +74,7 @@ export { SoundscapeSubscriptionStatus, SoundscapeSubscriptionStatus_Value, sound
|
|
|
74
74
|
export { SubmitBugReportRequest, SubmitBugReportResponse } from './bug/message';
|
|
75
75
|
export { SubmitSurveyRequest, WaitlistSubmitRequest } from './waitlist/message';
|
|
76
76
|
export { TherapistServiceDefinition } from './therapist/service';
|
|
77
|
-
export { TherapyLiveAcceptConfidentialityRequest, TherapyLiveAcceptConfidentialityResponse, TherapyLiveAdmissionRequest, TherapyLiveAdmissionResponse, TherapyLiveAdmitRequest, TherapyLiveAdmitResponse, TherapyLiveChatMessage, TherapyLiveCreateNoteRequest, TherapyLiveCreateNoteResponse, TherapyLiveCrisisResource, TherapyLiveCrisisResourcesRequest, TherapyLiveCrisisResourcesResponse, TherapyLiveDeleteRecordingRequest, TherapyLiveDeleteRecordingResponse, TherapyLiveDenyRequest, TherapyLiveDenyResponse, TherapyLiveEndRequest, TherapyLiveEndResponse, TherapyLiveEvent, TherapyLiveExtendRequest, TherapyLiveExtendResponse, TherapyLiveGetNotesRequest, TherapyLiveGetNotesResponse, TherapyLiveGetRecordingRequest, TherapyLiveGetRecordingResponse, TherapyLiveHandRaiseRequest, TherapyLiveHandRaiseResponse, TherapyLiveHeartbeatRequest, TherapyLiveHeartbeatResponse, TherapyLiveLeaveRequest, TherapyLiveLeaveResponse, TherapyLiveListChatMessagesRequest, TherapyLiveListChatMessagesResponse, TherapyLiveListRecordingsRequest, TherapyLiveListRecordingsResponse, TherapyLiveMediaRequest, TherapyLiveMediaResponse, TherapyLiveMuteRequest, TherapyLiveMuteResponse, TherapyLiveNetworkQualityRequest, TherapyLiveNetworkQualityResponse, TherapyLiveNote, TherapyLiveParticipant, TherapyLivePauseRequest, TherapyLivePauseResponse, TherapyLiveQualityReportRequest, TherapyLiveQualityReportResponse, TherapyLiveReactionRequest, TherapyLiveReactionResponse, TherapyLiveRecording, TherapyLiveRecordingStartRequest, TherapyLiveRecordingStartResponse, TherapyLiveRecordingStopRequest, TherapyLiveRecordingStopResponse, TherapyLiveRecoverRequest, TherapyLiveRecoverResponse, TherapyLiveRefreshTokenRequest, TherapyLiveRefreshTokenResponse, TherapyLiveRemoteMuteRequest, TherapyLiveRemoteMuteResponse, TherapyLiveRequestRecordingConsentRequest, TherapyLiveRequestRecordingConsentResponse, TherapyLiveRespondRecordingConsentRequest, TherapyLiveRespondRecordingConsentResponse, TherapyLiveResumeRequest, TherapyLiveResumeResponse, TherapyLiveSendChatMessageRequest, TherapyLiveSendChatMessageResponse, TherapyLiveSession, TherapyLiveStartRequest, TherapyLiveStartResponse, TherapyLiveStatusRequest, TherapyLiveStatusResponse, TherapyLiveTokenRequest, TherapyLiveTokenResponse } from './session/therapy_live_message';
|
|
77
|
+
export { TherapyLiveAcceptConfidentialityRequest, TherapyLiveAcceptConfidentialityResponse, TherapyLiveAdminHistoryRequest, TherapyLiveAdminHistoryResponse, TherapyLiveAdmissionRequest, TherapyLiveAdmissionResponse, TherapyLiveAdmitRequest, TherapyLiveAdmitResponse, TherapyLiveChatMessage, TherapyLiveCreateNoteRequest, TherapyLiveCreateNoteResponse, TherapyLiveCrisisResource, TherapyLiveCrisisResourcesRequest, TherapyLiveCrisisResourcesResponse, TherapyLiveDeleteRecordingRequest, TherapyLiveDeleteRecordingResponse, TherapyLiveDenyRequest, TherapyLiveDenyResponse, TherapyLiveEndRequest, TherapyLiveEndResponse, TherapyLiveEvent, TherapyLiveEvent_CapabilitiesEntry, TherapyLiveExtendRequest, TherapyLiveExtendResponse, TherapyLiveGetNotesRequest, TherapyLiveGetNotesResponse, TherapyLiveGetRecordingRequest, TherapyLiveGetRecordingResponse, TherapyLiveHandRaiseRequest, TherapyLiveHandRaiseResponse, TherapyLiveHeartbeatRequest, TherapyLiveHeartbeatResponse, TherapyLiveLeaveRequest, TherapyLiveLeaveResponse, TherapyLiveListChatMessagesRequest, TherapyLiveListChatMessagesResponse, TherapyLiveListRecordingsRequest, TherapyLiveListRecordingsResponse, TherapyLiveMediaRequest, TherapyLiveMediaResponse, TherapyLiveMuteRequest, TherapyLiveMuteResponse, TherapyLiveNetworkQualityRequest, TherapyLiveNetworkQualityResponse, TherapyLiveNote, TherapyLiveParticipant, TherapyLivePauseRequest, TherapyLivePauseResponse, TherapyLiveQualityReportRequest, TherapyLiveQualityReportResponse, TherapyLiveReactionRequest, TherapyLiveReactionResponse, TherapyLiveRecording, TherapyLiveRecordingStartRequest, TherapyLiveRecordingStartResponse, TherapyLiveRecordingStopRequest, TherapyLiveRecordingStopResponse, TherapyLiveRecoverRequest, TherapyLiveRecoverResponse, TherapyLiveRefreshTokenRequest, TherapyLiveRefreshTokenResponse, TherapyLiveRemoteMuteRequest, TherapyLiveRemoteMuteResponse, TherapyLiveRequestRecordingConsentRequest, TherapyLiveRequestRecordingConsentResponse, TherapyLiveRespondRecordingConsentRequest, TherapyLiveRespondRecordingConsentResponse, TherapyLiveResumeRequest, TherapyLiveResumeResponse, TherapyLiveSendChatMessageRequest, TherapyLiveSendChatMessageResponse, TherapyLiveSession, TherapyLiveStartRequest, TherapyLiveStartResponse, TherapyLiveStatusRequest, TherapyLiveStatusResponse, TherapyLiveTokenRequest, TherapyLiveTokenResponse } from './session/therapy_live_message';
|
|
78
78
|
export { TherapyLiveEndReason, TherapyLiveParticipantState, TherapyLiveSessionStatus, therapyLiveEndReasonFromJSON, therapyLiveEndReasonToJSON, therapyLiveParticipantStateFromJSON, therapyLiveParticipantStateToJSON, therapyLiveSessionStatusFromJSON, therapyLiveSessionStatusToJSON } from './session/therapy_live_enum';
|
|
79
79
|
export { TherapyLiveServiceDefinition } from './session/therapy_live_service';
|
|
80
80
|
export { UserServiceDefinition } from './user/service';
|
package/dist/index.js
CHANGED
|
@@ -46,9 +46,9 @@ exports.fieldOptions_OptionRetentionToJSON = exports.fieldOptions_OptionRetentio
|
|
|
46
46
|
exports.WebSocketReadReceiptEvent = exports.WebSocketPresenceUpdateEvent = exports.WebSocketPongEvent = exports.WebSocketOutgoingEvent = exports.WebSocketOrganizationSubscriptionEvent = 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 = exports.WebSocketCallConnectedEvent = 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.generatedCodeInfo_Annotation_SemanticToJSON = exports.generatedCodeInfo_Annotation_SemanticFromJSON = exports.fileOptions_OptimizeModeToJSON = exports.fileOptions_OptimizeModeFromJSON = exports.fieldOptions_OptionTargetTypeToJSON = exports.fieldOptions_OptionTargetTypeFromJSON = void 0;
|
|
47
47
|
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 = 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.WebSocketTypingEvent = exports.WebSocketTypingDirectEvent = exports.WebSocketSupportTicketEvent = exports.WebSocketSubscriptionEvent = exports.WebSocketServerEvent = void 0;
|
|
48
48
|
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 = 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 = void 0;
|
|
49
|
-
exports.
|
|
50
|
-
exports.
|
|
51
|
-
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 = exports.webSocketAction_ValueFromJSON = exports.WebSocketTarget_Value = exports.WebSocketTarget = exports.WebSocketPresenceStatus_Value = exports.WebSocketPresenceStatus = exports.WebSocketParticipantStatus_Value = void 0;
|
|
49
|
+
exports.TherapyLivePauseRequest = exports.TherapyLiveParticipant = exports.TherapyLiveNote = exports.TherapyLiveNetworkQualityResponse = exports.TherapyLiveNetworkQualityRequest = exports.TherapyLiveMuteResponse = exports.TherapyLiveMuteRequest = exports.TherapyLiveMediaResponse = exports.TherapyLiveMediaRequest = exports.TherapyLiveListRecordingsResponse = exports.TherapyLiveListRecordingsRequest = exports.TherapyLiveListChatMessagesResponse = exports.TherapyLiveListChatMessagesRequest = exports.TherapyLiveLeaveResponse = exports.TherapyLiveLeaveRequest = exports.TherapyLiveHeartbeatResponse = exports.TherapyLiveHeartbeatRequest = exports.TherapyLiveHandRaiseResponse = exports.TherapyLiveHandRaiseRequest = exports.TherapyLiveGetRecordingResponse = exports.TherapyLiveGetRecordingRequest = exports.TherapyLiveGetNotesResponse = exports.TherapyLiveGetNotesRequest = exports.TherapyLiveExtendResponse = exports.TherapyLiveExtendRequest = exports.TherapyLiveEvent_CapabilitiesEntry = exports.TherapyLiveEvent = exports.TherapyLiveEndResponse = exports.TherapyLiveEndRequest = exports.TherapyLiveDenyResponse = exports.TherapyLiveDenyRequest = exports.TherapyLiveDeleteRecordingResponse = exports.TherapyLiveDeleteRecordingRequest = exports.TherapyLiveCrisisResourcesResponse = exports.TherapyLiveCrisisResourcesRequest = exports.TherapyLiveCrisisResource = exports.TherapyLiveCreateNoteResponse = exports.TherapyLiveCreateNoteRequest = exports.TherapyLiveChatMessage = exports.TherapyLiveAdmitResponse = exports.TherapyLiveAdmitRequest = exports.TherapyLiveAdmissionResponse = exports.TherapyLiveAdmissionRequest = exports.TherapyLiveAdminHistoryResponse = exports.TherapyLiveAdminHistoryRequest = exports.TherapyLiveAcceptConfidentialityResponse = exports.TherapyLiveAcceptConfidentialityRequest = exports.TherapistServiceDefinition = exports.WaitlistSubmitRequest = exports.SubmitSurveyRequest = void 0;
|
|
50
|
+
exports.WebSocketEventType_Value = exports.WebSocketEventType = exports.WebSocketAdminAlertStatus_Value = exports.WebSocketAdminAlertStatus = exports.WebSocketAction_Value = exports.WebSocketAction = exports.WalletServiceDefinition = exports.WaitlistServiceDefinition = exports.UserServiceDefinition = exports.TherapyLiveServiceDefinition = exports.therapyLiveSessionStatusToJSON = exports.therapyLiveSessionStatusFromJSON = exports.therapyLiveParticipantStateToJSON = exports.therapyLiveParticipantStateFromJSON = exports.therapyLiveEndReasonToJSON = exports.therapyLiveEndReasonFromJSON = exports.TherapyLiveSessionStatus = exports.TherapyLiveParticipantState = exports.TherapyLiveEndReason = exports.TherapyLiveTokenResponse = exports.TherapyLiveTokenRequest = exports.TherapyLiveStatusResponse = exports.TherapyLiveStatusRequest = exports.TherapyLiveStartResponse = exports.TherapyLiveStartRequest = exports.TherapyLiveSession = exports.TherapyLiveSendChatMessageResponse = exports.TherapyLiveSendChatMessageRequest = exports.TherapyLiveResumeResponse = exports.TherapyLiveResumeRequest = exports.TherapyLiveRespondRecordingConsentResponse = exports.TherapyLiveRespondRecordingConsentRequest = exports.TherapyLiveRequestRecordingConsentResponse = exports.TherapyLiveRequestRecordingConsentRequest = exports.TherapyLiveRemoteMuteResponse = exports.TherapyLiveRemoteMuteRequest = exports.TherapyLiveRefreshTokenResponse = exports.TherapyLiveRefreshTokenRequest = exports.TherapyLiveRecoverResponse = exports.TherapyLiveRecoverRequest = exports.TherapyLiveRecordingStopResponse = exports.TherapyLiveRecordingStopRequest = exports.TherapyLiveRecordingStartResponse = exports.TherapyLiveRecordingStartRequest = exports.TherapyLiveRecording = exports.TherapyLiveReactionResponse = exports.TherapyLiveReactionRequest = exports.TherapyLiveQualityReportResponse = exports.TherapyLiveQualityReportRequest = exports.TherapyLivePauseResponse = void 0;
|
|
51
|
+
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 = exports.webSocketAction_ValueFromJSON = exports.WebSocketTarget_Value = exports.WebSocketTarget = exports.WebSocketPresenceStatus_Value = exports.WebSocketPresenceStatus = exports.WebSocketParticipantStatus_Value = exports.WebSocketParticipantStatus = exports.WebSocketInvitationStatus_Value = exports.WebSocketInvitationStatus = void 0;
|
|
52
52
|
var message_1 = require("./lounge/message");
|
|
53
53
|
Object.defineProperty(exports, "AcceptConsultationResponseRequest", { enumerable: true, get: function () { return message_1.AcceptConsultationResponseRequest; } });
|
|
54
54
|
Object.defineProperty(exports, "AcceptConsultationResponseResponse", { enumerable: true, get: function () { return message_1.AcceptConsultationResponseResponse; } });
|
|
@@ -2431,6 +2431,8 @@ Object.defineProperty(exports, "TherapistServiceDefinition", { enumerable: true,
|
|
|
2431
2431
|
var therapy_live_message_1 = require("./session/therapy_live_message");
|
|
2432
2432
|
Object.defineProperty(exports, "TherapyLiveAcceptConfidentialityRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAcceptConfidentialityRequest; } });
|
|
2433
2433
|
Object.defineProperty(exports, "TherapyLiveAcceptConfidentialityResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAcceptConfidentialityResponse; } });
|
|
2434
|
+
Object.defineProperty(exports, "TherapyLiveAdminHistoryRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAdminHistoryRequest; } });
|
|
2435
|
+
Object.defineProperty(exports, "TherapyLiveAdminHistoryResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAdminHistoryResponse; } });
|
|
2434
2436
|
Object.defineProperty(exports, "TherapyLiveAdmissionRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAdmissionRequest; } });
|
|
2435
2437
|
Object.defineProperty(exports, "TherapyLiveAdmissionResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAdmissionResponse; } });
|
|
2436
2438
|
Object.defineProperty(exports, "TherapyLiveAdmitRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAdmitRequest; } });
|
|
@@ -2448,6 +2450,7 @@ Object.defineProperty(exports, "TherapyLiveDenyResponse", { enumerable: true, ge
|
|
|
2448
2450
|
Object.defineProperty(exports, "TherapyLiveEndRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveEndRequest; } });
|
|
2449
2451
|
Object.defineProperty(exports, "TherapyLiveEndResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveEndResponse; } });
|
|
2450
2452
|
Object.defineProperty(exports, "TherapyLiveEvent", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveEvent; } });
|
|
2453
|
+
Object.defineProperty(exports, "TherapyLiveEvent_CapabilitiesEntry", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveEvent_CapabilitiesEntry; } });
|
|
2451
2454
|
Object.defineProperty(exports, "TherapyLiveExtendRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveExtendRequest; } });
|
|
2452
2455
|
Object.defineProperty(exports, "TherapyLiveExtendResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveExtendResponse; } });
|
|
2453
2456
|
Object.defineProperty(exports, "TherapyLiveGetNotesRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveGetNotesRequest; } });
|
|
@@ -74,6 +74,19 @@ export interface TherapyLiveEvent {
|
|
|
74
74
|
reason: string;
|
|
75
75
|
correlationId: string;
|
|
76
76
|
createdAt: string;
|
|
77
|
+
participantId: string;
|
|
78
|
+
session: TherapyLiveSession | undefined;
|
|
79
|
+
participant: TherapyLiveParticipant | undefined;
|
|
80
|
+
data: {
|
|
81
|
+
[key: string]: any;
|
|
82
|
+
} | undefined;
|
|
83
|
+
capabilities: {
|
|
84
|
+
[key: string]: boolean;
|
|
85
|
+
};
|
|
86
|
+
}
|
|
87
|
+
export interface TherapyLiveEvent_CapabilitiesEntry {
|
|
88
|
+
key: string;
|
|
89
|
+
value: boolean;
|
|
77
90
|
}
|
|
78
91
|
export interface TherapyLiveStatusRequest {
|
|
79
92
|
id: string;
|
|
@@ -170,6 +183,17 @@ export interface TherapyLiveListRecordingsRequest {
|
|
|
170
183
|
export interface TherapyLiveListRecordingsResponse {
|
|
171
184
|
recordings: TherapyLiveRecording[];
|
|
172
185
|
}
|
|
186
|
+
export interface TherapyLiveAdminHistoryRequest {
|
|
187
|
+
liveSessionId: string;
|
|
188
|
+
limit: number;
|
|
189
|
+
}
|
|
190
|
+
export interface TherapyLiveAdminHistoryResponse {
|
|
191
|
+
session: TherapyLiveSession | undefined;
|
|
192
|
+
participants: TherapyLiveParticipant[];
|
|
193
|
+
events: TherapyLiveEvent[];
|
|
194
|
+
recordings: TherapyLiveRecording[];
|
|
195
|
+
chatMessages: TherapyLiveChatMessage[];
|
|
196
|
+
}
|
|
173
197
|
export interface TherapyLiveGetRecordingRequest {
|
|
174
198
|
id: string;
|
|
175
199
|
recordingId: string;
|
|
@@ -433,6 +457,7 @@ export interface TherapyLiveRemoteMuteResponse {
|
|
|
433
457
|
export declare const TherapyLiveSession: MessageFns<TherapyLiveSession>;
|
|
434
458
|
export declare const TherapyLiveParticipant: MessageFns<TherapyLiveParticipant>;
|
|
435
459
|
export declare const TherapyLiveEvent: MessageFns<TherapyLiveEvent>;
|
|
460
|
+
export declare const TherapyLiveEvent_CapabilitiesEntry: MessageFns<TherapyLiveEvent_CapabilitiesEntry>;
|
|
436
461
|
export declare const TherapyLiveStatusRequest: MessageFns<TherapyLiveStatusRequest>;
|
|
437
462
|
export declare const TherapyLiveStatusResponse: MessageFns<TherapyLiveStatusResponse>;
|
|
438
463
|
export declare const TherapyLiveMuteRequest: MessageFns<TherapyLiveMuteRequest>;
|
|
@@ -446,6 +471,8 @@ export declare const TherapyLiveRecordingStopResponse: MessageFns<TherapyLiveRec
|
|
|
446
471
|
export declare const TherapyLiveRecording: MessageFns<TherapyLiveRecording>;
|
|
447
472
|
export declare const TherapyLiveListRecordingsRequest: MessageFns<TherapyLiveListRecordingsRequest>;
|
|
448
473
|
export declare const TherapyLiveListRecordingsResponse: MessageFns<TherapyLiveListRecordingsResponse>;
|
|
474
|
+
export declare const TherapyLiveAdminHistoryRequest: MessageFns<TherapyLiveAdminHistoryRequest>;
|
|
475
|
+
export declare const TherapyLiveAdminHistoryResponse: MessageFns<TherapyLiveAdminHistoryResponse>;
|
|
449
476
|
export declare const TherapyLiveGetRecordingRequest: MessageFns<TherapyLiveGetRecordingRequest>;
|
|
450
477
|
export declare const TherapyLiveGetRecordingResponse: MessageFns<TherapyLiveGetRecordingResponse>;
|
|
451
478
|
export declare const TherapyLiveDeleteRecordingRequest: MessageFns<TherapyLiveDeleteRecordingRequest>;
|
|
@@ -5,11 +5,12 @@
|
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: session/therapy_live_message.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.
|
|
9
|
-
exports.TherapyLiveRemoteMuteResponse = exports.TherapyLiveRemoteMuteRequest = exports.TherapyLiveListChatMessagesResponse = exports.TherapyLiveListChatMessagesRequest = exports.TherapyLiveChatMessage = exports.TherapyLiveSendChatMessageResponse = exports.TherapyLiveSendChatMessageRequest = exports.TherapyLiveReactionResponse = exports.TherapyLiveReactionRequest = exports.TherapyLiveHandRaiseResponse = exports.TherapyLiveHandRaiseRequest = exports.TherapyLiveGetNotesResponse = exports.TherapyLiveNote = exports.TherapyLiveGetNotesRequest = exports.TherapyLiveCreateNoteResponse = exports.TherapyLiveCreateNoteRequest = exports.TherapyLiveRecoverResponse = exports.TherapyLiveRecoverRequest = exports.TherapyLiveQualityReportResponse = exports.TherapyLiveQualityReportRequest = exports.TherapyLiveCrisisResourcesResponse = exports.TherapyLiveCrisisResourcesRequest = exports.TherapyLiveCrisisResource = exports.TherapyLiveExtendResponse = exports.TherapyLiveExtendRequest = exports.TherapyLiveRefreshTokenResponse = void 0;
|
|
8
|
+
exports.TherapyLiveResumeResponse = exports.TherapyLiveResumeRequest = exports.TherapyLivePauseResponse = exports.TherapyLivePauseRequest = exports.TherapyLiveLeaveResponse = exports.TherapyLiveLeaveRequest = exports.TherapyLiveHeartbeatResponse = exports.TherapyLiveHeartbeatRequest = exports.TherapyLiveMediaResponse = exports.TherapyLiveMediaRequest = exports.TherapyLiveTokenResponse = exports.TherapyLiveTokenRequest = exports.TherapyLiveDenyResponse = exports.TherapyLiveDenyRequest = exports.TherapyLiveAdmitResponse = exports.TherapyLiveAdmitRequest = exports.TherapyLiveAdmissionResponse = exports.TherapyLiveAdmissionRequest = exports.TherapyLiveAcceptConfidentialityResponse = exports.TherapyLiveAcceptConfidentialityRequest = exports.TherapyLiveRespondRecordingConsentResponse = exports.TherapyLiveRespondRecordingConsentRequest = exports.TherapyLiveRequestRecordingConsentResponse = exports.TherapyLiveRequestRecordingConsentRequest = exports.TherapyLiveStartResponse = exports.TherapyLiveStartRequest = exports.TherapyLiveDeleteRecordingResponse = exports.TherapyLiveDeleteRecordingRequest = exports.TherapyLiveGetRecordingResponse = exports.TherapyLiveGetRecordingRequest = exports.TherapyLiveAdminHistoryResponse = exports.TherapyLiveAdminHistoryRequest = exports.TherapyLiveListRecordingsResponse = exports.TherapyLiveListRecordingsRequest = exports.TherapyLiveRecording = exports.TherapyLiveRecordingStopResponse = exports.TherapyLiveRecordingStopRequest = exports.TherapyLiveRecordingStartResponse = exports.TherapyLiveRecordingStartRequest = exports.TherapyLiveNetworkQualityResponse = exports.TherapyLiveNetworkQualityRequest = exports.TherapyLiveMuteResponse = exports.TherapyLiveMuteRequest = exports.TherapyLiveStatusResponse = exports.TherapyLiveStatusRequest = exports.TherapyLiveEvent_CapabilitiesEntry = exports.TherapyLiveEvent = exports.TherapyLiveParticipant = exports.TherapyLiveSession = exports.protobufPackage = void 0;
|
|
9
|
+
exports.TherapyLiveRemoteMuteResponse = exports.TherapyLiveRemoteMuteRequest = exports.TherapyLiveListChatMessagesResponse = exports.TherapyLiveListChatMessagesRequest = exports.TherapyLiveChatMessage = exports.TherapyLiveSendChatMessageResponse = exports.TherapyLiveSendChatMessageRequest = exports.TherapyLiveReactionResponse = exports.TherapyLiveReactionRequest = exports.TherapyLiveHandRaiseResponse = exports.TherapyLiveHandRaiseRequest = exports.TherapyLiveGetNotesResponse = exports.TherapyLiveNote = exports.TherapyLiveGetNotesRequest = exports.TherapyLiveCreateNoteResponse = exports.TherapyLiveCreateNoteRequest = exports.TherapyLiveRecoverResponse = exports.TherapyLiveRecoverRequest = exports.TherapyLiveQualityReportResponse = exports.TherapyLiveQualityReportRequest = exports.TherapyLiveCrisisResourcesResponse = exports.TherapyLiveCrisisResourcesRequest = exports.TherapyLiveCrisisResource = exports.TherapyLiveExtendResponse = exports.TherapyLiveExtendRequest = exports.TherapyLiveRefreshTokenResponse = exports.TherapyLiveRefreshTokenRequest = exports.TherapyLiveEndResponse = exports.TherapyLiveEndRequest = void 0;
|
|
10
10
|
/* eslint-disable */
|
|
11
11
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
12
12
|
const message_1 = require("../call/message");
|
|
13
|
+
const struct_1 = require("../google/protobuf/struct");
|
|
13
14
|
const therapy_live_enum_1 = require("./therapy_live_enum");
|
|
14
15
|
exports.protobufPackage = "pb";
|
|
15
16
|
function createBaseTherapyLiveSession() {
|
|
@@ -939,6 +940,11 @@ function createBaseTherapyLiveEvent() {
|
|
|
939
940
|
reason: "",
|
|
940
941
|
correlationId: "",
|
|
941
942
|
createdAt: "",
|
|
943
|
+
participantId: "",
|
|
944
|
+
session: undefined,
|
|
945
|
+
participant: undefined,
|
|
946
|
+
data: undefined,
|
|
947
|
+
capabilities: {},
|
|
942
948
|
};
|
|
943
949
|
}
|
|
944
950
|
exports.TherapyLiveEvent = {
|
|
@@ -970,6 +976,21 @@ exports.TherapyLiveEvent = {
|
|
|
970
976
|
if (message.createdAt !== "") {
|
|
971
977
|
writer.uint32(74).string(message.createdAt);
|
|
972
978
|
}
|
|
979
|
+
if (message.participantId !== "") {
|
|
980
|
+
writer.uint32(82).string(message.participantId);
|
|
981
|
+
}
|
|
982
|
+
if (message.session !== undefined) {
|
|
983
|
+
exports.TherapyLiveSession.encode(message.session, writer.uint32(90).fork()).join();
|
|
984
|
+
}
|
|
985
|
+
if (message.participant !== undefined) {
|
|
986
|
+
exports.TherapyLiveParticipant.encode(message.participant, writer.uint32(98).fork()).join();
|
|
987
|
+
}
|
|
988
|
+
if (message.data !== undefined) {
|
|
989
|
+
struct_1.Struct.encode(struct_1.Struct.wrap(message.data), writer.uint32(106).fork()).join();
|
|
990
|
+
}
|
|
991
|
+
globalThis.Object.entries(message.capabilities).forEach(([key, value]) => {
|
|
992
|
+
exports.TherapyLiveEvent_CapabilitiesEntry.encode({ key: key, value }, writer.uint32(114).fork()).join();
|
|
993
|
+
});
|
|
973
994
|
return writer;
|
|
974
995
|
},
|
|
975
996
|
decode(input, length) {
|
|
@@ -1042,6 +1063,44 @@ exports.TherapyLiveEvent = {
|
|
|
1042
1063
|
message.createdAt = reader.string();
|
|
1043
1064
|
continue;
|
|
1044
1065
|
}
|
|
1066
|
+
case 10: {
|
|
1067
|
+
if (tag !== 82) {
|
|
1068
|
+
break;
|
|
1069
|
+
}
|
|
1070
|
+
message.participantId = reader.string();
|
|
1071
|
+
continue;
|
|
1072
|
+
}
|
|
1073
|
+
case 11: {
|
|
1074
|
+
if (tag !== 90) {
|
|
1075
|
+
break;
|
|
1076
|
+
}
|
|
1077
|
+
message.session = exports.TherapyLiveSession.decode(reader, reader.uint32());
|
|
1078
|
+
continue;
|
|
1079
|
+
}
|
|
1080
|
+
case 12: {
|
|
1081
|
+
if (tag !== 98) {
|
|
1082
|
+
break;
|
|
1083
|
+
}
|
|
1084
|
+
message.participant = exports.TherapyLiveParticipant.decode(reader, reader.uint32());
|
|
1085
|
+
continue;
|
|
1086
|
+
}
|
|
1087
|
+
case 13: {
|
|
1088
|
+
if (tag !== 106) {
|
|
1089
|
+
break;
|
|
1090
|
+
}
|
|
1091
|
+
message.data = struct_1.Struct.unwrap(struct_1.Struct.decode(reader, reader.uint32()));
|
|
1092
|
+
continue;
|
|
1093
|
+
}
|
|
1094
|
+
case 14: {
|
|
1095
|
+
if (tag !== 114) {
|
|
1096
|
+
break;
|
|
1097
|
+
}
|
|
1098
|
+
const entry14 = exports.TherapyLiveEvent_CapabilitiesEntry.decode(reader, reader.uint32());
|
|
1099
|
+
if (entry14.value !== undefined) {
|
|
1100
|
+
message.capabilities[entry14.key] = entry14.value;
|
|
1101
|
+
}
|
|
1102
|
+
continue;
|
|
1103
|
+
}
|
|
1045
1104
|
}
|
|
1046
1105
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1047
1106
|
break;
|
|
@@ -1085,6 +1144,20 @@ exports.TherapyLiveEvent = {
|
|
|
1085
1144
|
: isSet(object.created_at)
|
|
1086
1145
|
? globalThis.String(object.created_at)
|
|
1087
1146
|
: "",
|
|
1147
|
+
participantId: isSet(object.participantId)
|
|
1148
|
+
? globalThis.String(object.participantId)
|
|
1149
|
+
: isSet(object.participant_id)
|
|
1150
|
+
? globalThis.String(object.participant_id)
|
|
1151
|
+
: "",
|
|
1152
|
+
session: isSet(object.session) ? exports.TherapyLiveSession.fromJSON(object.session) : undefined,
|
|
1153
|
+
participant: isSet(object.participant) ? exports.TherapyLiveParticipant.fromJSON(object.participant) : undefined,
|
|
1154
|
+
data: isObject(object.data) ? object.data : undefined,
|
|
1155
|
+
capabilities: isObject(object.capabilities)
|
|
1156
|
+
? globalThis.Object.entries(object.capabilities).reduce((acc, [key, value]) => {
|
|
1157
|
+
acc[key] = globalThis.Boolean(value);
|
|
1158
|
+
return acc;
|
|
1159
|
+
}, {})
|
|
1160
|
+
: {},
|
|
1088
1161
|
};
|
|
1089
1162
|
},
|
|
1090
1163
|
toJSON(message) {
|
|
@@ -1116,13 +1189,34 @@ exports.TherapyLiveEvent = {
|
|
|
1116
1189
|
if (message.createdAt !== "") {
|
|
1117
1190
|
obj.createdAt = message.createdAt;
|
|
1118
1191
|
}
|
|
1192
|
+
if (message.participantId !== "") {
|
|
1193
|
+
obj.participantId = message.participantId;
|
|
1194
|
+
}
|
|
1195
|
+
if (message.session !== undefined) {
|
|
1196
|
+
obj.session = exports.TherapyLiveSession.toJSON(message.session);
|
|
1197
|
+
}
|
|
1198
|
+
if (message.participant !== undefined) {
|
|
1199
|
+
obj.participant = exports.TherapyLiveParticipant.toJSON(message.participant);
|
|
1200
|
+
}
|
|
1201
|
+
if (message.data !== undefined) {
|
|
1202
|
+
obj.data = message.data;
|
|
1203
|
+
}
|
|
1204
|
+
if (message.capabilities) {
|
|
1205
|
+
const entries = globalThis.Object.entries(message.capabilities);
|
|
1206
|
+
if (entries.length > 0) {
|
|
1207
|
+
obj.capabilities = {};
|
|
1208
|
+
entries.forEach(([k, v]) => {
|
|
1209
|
+
obj.capabilities[k] = v;
|
|
1210
|
+
});
|
|
1211
|
+
}
|
|
1212
|
+
}
|
|
1119
1213
|
return obj;
|
|
1120
1214
|
},
|
|
1121
1215
|
create(base) {
|
|
1122
1216
|
return exports.TherapyLiveEvent.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1123
1217
|
},
|
|
1124
1218
|
fromPartial(object) {
|
|
1125
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
|
1219
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
1126
1220
|
const message = createBaseTherapyLiveEvent();
|
|
1127
1221
|
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
1128
1222
|
message.liveSessionId = (_b = object.liveSessionId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -1133,6 +1227,89 @@ exports.TherapyLiveEvent = {
|
|
|
1133
1227
|
message.reason = (_g = object.reason) !== null && _g !== void 0 ? _g : "";
|
|
1134
1228
|
message.correlationId = (_h = object.correlationId) !== null && _h !== void 0 ? _h : "";
|
|
1135
1229
|
message.createdAt = (_j = object.createdAt) !== null && _j !== void 0 ? _j : "";
|
|
1230
|
+
message.participantId = (_k = object.participantId) !== null && _k !== void 0 ? _k : "";
|
|
1231
|
+
message.session = (object.session !== undefined && object.session !== null)
|
|
1232
|
+
? exports.TherapyLiveSession.fromPartial(object.session)
|
|
1233
|
+
: undefined;
|
|
1234
|
+
message.participant = (object.participant !== undefined && object.participant !== null)
|
|
1235
|
+
? exports.TherapyLiveParticipant.fromPartial(object.participant)
|
|
1236
|
+
: undefined;
|
|
1237
|
+
message.data = (_l = object.data) !== null && _l !== void 0 ? _l : undefined;
|
|
1238
|
+
message.capabilities = globalThis.Object.entries((_m = object.capabilities) !== null && _m !== void 0 ? _m : {}).reduce((acc, [key, value]) => {
|
|
1239
|
+
if (value !== undefined) {
|
|
1240
|
+
acc[key] = globalThis.Boolean(value);
|
|
1241
|
+
}
|
|
1242
|
+
return acc;
|
|
1243
|
+
}, {});
|
|
1244
|
+
return message;
|
|
1245
|
+
},
|
|
1246
|
+
};
|
|
1247
|
+
function createBaseTherapyLiveEvent_CapabilitiesEntry() {
|
|
1248
|
+
return { key: "", value: false };
|
|
1249
|
+
}
|
|
1250
|
+
exports.TherapyLiveEvent_CapabilitiesEntry = {
|
|
1251
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1252
|
+
if (message.key !== "") {
|
|
1253
|
+
writer.uint32(10).string(message.key);
|
|
1254
|
+
}
|
|
1255
|
+
if (message.value !== false) {
|
|
1256
|
+
writer.uint32(16).bool(message.value);
|
|
1257
|
+
}
|
|
1258
|
+
return writer;
|
|
1259
|
+
},
|
|
1260
|
+
decode(input, length) {
|
|
1261
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1262
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1263
|
+
const message = createBaseTherapyLiveEvent_CapabilitiesEntry();
|
|
1264
|
+
while (reader.pos < end) {
|
|
1265
|
+
const tag = reader.uint32();
|
|
1266
|
+
switch (tag >>> 3) {
|
|
1267
|
+
case 1: {
|
|
1268
|
+
if (tag !== 10) {
|
|
1269
|
+
break;
|
|
1270
|
+
}
|
|
1271
|
+
message.key = reader.string();
|
|
1272
|
+
continue;
|
|
1273
|
+
}
|
|
1274
|
+
case 2: {
|
|
1275
|
+
if (tag !== 16) {
|
|
1276
|
+
break;
|
|
1277
|
+
}
|
|
1278
|
+
message.value = reader.bool();
|
|
1279
|
+
continue;
|
|
1280
|
+
}
|
|
1281
|
+
}
|
|
1282
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1283
|
+
break;
|
|
1284
|
+
}
|
|
1285
|
+
reader.skip(tag & 7);
|
|
1286
|
+
}
|
|
1287
|
+
return message;
|
|
1288
|
+
},
|
|
1289
|
+
fromJSON(object) {
|
|
1290
|
+
return {
|
|
1291
|
+
key: isSet(object.key) ? globalThis.String(object.key) : "",
|
|
1292
|
+
value: isSet(object.value) ? globalThis.Boolean(object.value) : false,
|
|
1293
|
+
};
|
|
1294
|
+
},
|
|
1295
|
+
toJSON(message) {
|
|
1296
|
+
const obj = {};
|
|
1297
|
+
if (message.key !== "") {
|
|
1298
|
+
obj.key = message.key;
|
|
1299
|
+
}
|
|
1300
|
+
if (message.value !== false) {
|
|
1301
|
+
obj.value = message.value;
|
|
1302
|
+
}
|
|
1303
|
+
return obj;
|
|
1304
|
+
},
|
|
1305
|
+
create(base) {
|
|
1306
|
+
return exports.TherapyLiveEvent_CapabilitiesEntry.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1307
|
+
},
|
|
1308
|
+
fromPartial(object) {
|
|
1309
|
+
var _a, _b;
|
|
1310
|
+
const message = createBaseTherapyLiveEvent_CapabilitiesEntry();
|
|
1311
|
+
message.key = (_a = object.key) !== null && _a !== void 0 ? _a : "";
|
|
1312
|
+
message.value = (_b = object.value) !== null && _b !== void 0 ? _b : false;
|
|
1136
1313
|
return message;
|
|
1137
1314
|
},
|
|
1138
1315
|
};
|
|
@@ -2610,6 +2787,206 @@ exports.TherapyLiveListRecordingsResponse = {
|
|
|
2610
2787
|
return message;
|
|
2611
2788
|
},
|
|
2612
2789
|
};
|
|
2790
|
+
function createBaseTherapyLiveAdminHistoryRequest() {
|
|
2791
|
+
return { liveSessionId: "", limit: 0 };
|
|
2792
|
+
}
|
|
2793
|
+
exports.TherapyLiveAdminHistoryRequest = {
|
|
2794
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2795
|
+
if (message.liveSessionId !== "") {
|
|
2796
|
+
writer.uint32(10).string(message.liveSessionId);
|
|
2797
|
+
}
|
|
2798
|
+
if (message.limit !== 0) {
|
|
2799
|
+
writer.uint32(16).int32(message.limit);
|
|
2800
|
+
}
|
|
2801
|
+
return writer;
|
|
2802
|
+
},
|
|
2803
|
+
decode(input, length) {
|
|
2804
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2805
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2806
|
+
const message = createBaseTherapyLiveAdminHistoryRequest();
|
|
2807
|
+
while (reader.pos < end) {
|
|
2808
|
+
const tag = reader.uint32();
|
|
2809
|
+
switch (tag >>> 3) {
|
|
2810
|
+
case 1: {
|
|
2811
|
+
if (tag !== 10) {
|
|
2812
|
+
break;
|
|
2813
|
+
}
|
|
2814
|
+
message.liveSessionId = reader.string();
|
|
2815
|
+
continue;
|
|
2816
|
+
}
|
|
2817
|
+
case 2: {
|
|
2818
|
+
if (tag !== 16) {
|
|
2819
|
+
break;
|
|
2820
|
+
}
|
|
2821
|
+
message.limit = reader.int32();
|
|
2822
|
+
continue;
|
|
2823
|
+
}
|
|
2824
|
+
}
|
|
2825
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2826
|
+
break;
|
|
2827
|
+
}
|
|
2828
|
+
reader.skip(tag & 7);
|
|
2829
|
+
}
|
|
2830
|
+
return message;
|
|
2831
|
+
},
|
|
2832
|
+
fromJSON(object) {
|
|
2833
|
+
return {
|
|
2834
|
+
liveSessionId: isSet(object.liveSessionId)
|
|
2835
|
+
? globalThis.String(object.liveSessionId)
|
|
2836
|
+
: isSet(object.live_session_id)
|
|
2837
|
+
? globalThis.String(object.live_session_id)
|
|
2838
|
+
: "",
|
|
2839
|
+
limit: isSet(object.limit) ? globalThis.Number(object.limit) : 0,
|
|
2840
|
+
};
|
|
2841
|
+
},
|
|
2842
|
+
toJSON(message) {
|
|
2843
|
+
const obj = {};
|
|
2844
|
+
if (message.liveSessionId !== "") {
|
|
2845
|
+
obj.liveSessionId = message.liveSessionId;
|
|
2846
|
+
}
|
|
2847
|
+
if (message.limit !== 0) {
|
|
2848
|
+
obj.limit = Math.round(message.limit);
|
|
2849
|
+
}
|
|
2850
|
+
return obj;
|
|
2851
|
+
},
|
|
2852
|
+
create(base) {
|
|
2853
|
+
return exports.TherapyLiveAdminHistoryRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2854
|
+
},
|
|
2855
|
+
fromPartial(object) {
|
|
2856
|
+
var _a, _b;
|
|
2857
|
+
const message = createBaseTherapyLiveAdminHistoryRequest();
|
|
2858
|
+
message.liveSessionId = (_a = object.liveSessionId) !== null && _a !== void 0 ? _a : "";
|
|
2859
|
+
message.limit = (_b = object.limit) !== null && _b !== void 0 ? _b : 0;
|
|
2860
|
+
return message;
|
|
2861
|
+
},
|
|
2862
|
+
};
|
|
2863
|
+
function createBaseTherapyLiveAdminHistoryResponse() {
|
|
2864
|
+
return { session: undefined, participants: [], events: [], recordings: [], chatMessages: [] };
|
|
2865
|
+
}
|
|
2866
|
+
exports.TherapyLiveAdminHistoryResponse = {
|
|
2867
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
2868
|
+
if (message.session !== undefined) {
|
|
2869
|
+
exports.TherapyLiveSession.encode(message.session, writer.uint32(10).fork()).join();
|
|
2870
|
+
}
|
|
2871
|
+
for (const v of message.participants) {
|
|
2872
|
+
exports.TherapyLiveParticipant.encode(v, writer.uint32(18).fork()).join();
|
|
2873
|
+
}
|
|
2874
|
+
for (const v of message.events) {
|
|
2875
|
+
exports.TherapyLiveEvent.encode(v, writer.uint32(26).fork()).join();
|
|
2876
|
+
}
|
|
2877
|
+
for (const v of message.recordings) {
|
|
2878
|
+
exports.TherapyLiveRecording.encode(v, writer.uint32(34).fork()).join();
|
|
2879
|
+
}
|
|
2880
|
+
for (const v of message.chatMessages) {
|
|
2881
|
+
exports.TherapyLiveChatMessage.encode(v, writer.uint32(42).fork()).join();
|
|
2882
|
+
}
|
|
2883
|
+
return writer;
|
|
2884
|
+
},
|
|
2885
|
+
decode(input, length) {
|
|
2886
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
2887
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
2888
|
+
const message = createBaseTherapyLiveAdminHistoryResponse();
|
|
2889
|
+
while (reader.pos < end) {
|
|
2890
|
+
const tag = reader.uint32();
|
|
2891
|
+
switch (tag >>> 3) {
|
|
2892
|
+
case 1: {
|
|
2893
|
+
if (tag !== 10) {
|
|
2894
|
+
break;
|
|
2895
|
+
}
|
|
2896
|
+
message.session = exports.TherapyLiveSession.decode(reader, reader.uint32());
|
|
2897
|
+
continue;
|
|
2898
|
+
}
|
|
2899
|
+
case 2: {
|
|
2900
|
+
if (tag !== 18) {
|
|
2901
|
+
break;
|
|
2902
|
+
}
|
|
2903
|
+
message.participants.push(exports.TherapyLiveParticipant.decode(reader, reader.uint32()));
|
|
2904
|
+
continue;
|
|
2905
|
+
}
|
|
2906
|
+
case 3: {
|
|
2907
|
+
if (tag !== 26) {
|
|
2908
|
+
break;
|
|
2909
|
+
}
|
|
2910
|
+
message.events.push(exports.TherapyLiveEvent.decode(reader, reader.uint32()));
|
|
2911
|
+
continue;
|
|
2912
|
+
}
|
|
2913
|
+
case 4: {
|
|
2914
|
+
if (tag !== 34) {
|
|
2915
|
+
break;
|
|
2916
|
+
}
|
|
2917
|
+
message.recordings.push(exports.TherapyLiveRecording.decode(reader, reader.uint32()));
|
|
2918
|
+
continue;
|
|
2919
|
+
}
|
|
2920
|
+
case 5: {
|
|
2921
|
+
if (tag !== 42) {
|
|
2922
|
+
break;
|
|
2923
|
+
}
|
|
2924
|
+
message.chatMessages.push(exports.TherapyLiveChatMessage.decode(reader, reader.uint32()));
|
|
2925
|
+
continue;
|
|
2926
|
+
}
|
|
2927
|
+
}
|
|
2928
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
2929
|
+
break;
|
|
2930
|
+
}
|
|
2931
|
+
reader.skip(tag & 7);
|
|
2932
|
+
}
|
|
2933
|
+
return message;
|
|
2934
|
+
},
|
|
2935
|
+
fromJSON(object) {
|
|
2936
|
+
return {
|
|
2937
|
+
session: isSet(object.session) ? exports.TherapyLiveSession.fromJSON(object.session) : undefined,
|
|
2938
|
+
participants: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.participants)
|
|
2939
|
+
? object.participants.map((e) => exports.TherapyLiveParticipant.fromJSON(e))
|
|
2940
|
+
: [],
|
|
2941
|
+
events: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.events)
|
|
2942
|
+
? object.events.map((e) => exports.TherapyLiveEvent.fromJSON(e))
|
|
2943
|
+
: [],
|
|
2944
|
+
recordings: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.recordings)
|
|
2945
|
+
? object.recordings.map((e) => exports.TherapyLiveRecording.fromJSON(e))
|
|
2946
|
+
: [],
|
|
2947
|
+
chatMessages: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.chatMessages)
|
|
2948
|
+
? object.chatMessages.map((e) => exports.TherapyLiveChatMessage.fromJSON(e))
|
|
2949
|
+
: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.chat_messages)
|
|
2950
|
+
? object.chat_messages.map((e) => exports.TherapyLiveChatMessage.fromJSON(e))
|
|
2951
|
+
: [],
|
|
2952
|
+
};
|
|
2953
|
+
},
|
|
2954
|
+
toJSON(message) {
|
|
2955
|
+
var _a, _b, _c, _d;
|
|
2956
|
+
const obj = {};
|
|
2957
|
+
if (message.session !== undefined) {
|
|
2958
|
+
obj.session = exports.TherapyLiveSession.toJSON(message.session);
|
|
2959
|
+
}
|
|
2960
|
+
if ((_a = message.participants) === null || _a === void 0 ? void 0 : _a.length) {
|
|
2961
|
+
obj.participants = message.participants.map((e) => exports.TherapyLiveParticipant.toJSON(e));
|
|
2962
|
+
}
|
|
2963
|
+
if ((_b = message.events) === null || _b === void 0 ? void 0 : _b.length) {
|
|
2964
|
+
obj.events = message.events.map((e) => exports.TherapyLiveEvent.toJSON(e));
|
|
2965
|
+
}
|
|
2966
|
+
if ((_c = message.recordings) === null || _c === void 0 ? void 0 : _c.length) {
|
|
2967
|
+
obj.recordings = message.recordings.map((e) => exports.TherapyLiveRecording.toJSON(e));
|
|
2968
|
+
}
|
|
2969
|
+
if ((_d = message.chatMessages) === null || _d === void 0 ? void 0 : _d.length) {
|
|
2970
|
+
obj.chatMessages = message.chatMessages.map((e) => exports.TherapyLiveChatMessage.toJSON(e));
|
|
2971
|
+
}
|
|
2972
|
+
return obj;
|
|
2973
|
+
},
|
|
2974
|
+
create(base) {
|
|
2975
|
+
return exports.TherapyLiveAdminHistoryResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2976
|
+
},
|
|
2977
|
+
fromPartial(object) {
|
|
2978
|
+
var _a, _b, _c, _d;
|
|
2979
|
+
const message = createBaseTherapyLiveAdminHistoryResponse();
|
|
2980
|
+
message.session = (object.session !== undefined && object.session !== null)
|
|
2981
|
+
? exports.TherapyLiveSession.fromPartial(object.session)
|
|
2982
|
+
: undefined;
|
|
2983
|
+
message.participants = ((_a = object.participants) === null || _a === void 0 ? void 0 : _a.map((e) => exports.TherapyLiveParticipant.fromPartial(e))) || [];
|
|
2984
|
+
message.events = ((_b = object.events) === null || _b === void 0 ? void 0 : _b.map((e) => exports.TherapyLiveEvent.fromPartial(e))) || [];
|
|
2985
|
+
message.recordings = ((_c = object.recordings) === null || _c === void 0 ? void 0 : _c.map((e) => exports.TherapyLiveRecording.fromPartial(e))) || [];
|
|
2986
|
+
message.chatMessages = ((_d = object.chatMessages) === null || _d === void 0 ? void 0 : _d.map((e) => exports.TherapyLiveChatMessage.fromPartial(e))) || [];
|
|
2987
|
+
return message;
|
|
2988
|
+
},
|
|
2989
|
+
};
|
|
2613
2990
|
function createBaseTherapyLiveGetRecordingRequest() {
|
|
2614
2991
|
return { id: "", recordingId: "" };
|
|
2615
2992
|
}
|
|
@@ -7165,6 +7542,9 @@ function longToNumber(int64) {
|
|
|
7165
7542
|
}
|
|
7166
7543
|
return num;
|
|
7167
7544
|
}
|
|
7545
|
+
function isObject(value) {
|
|
7546
|
+
return typeof value === "object" && value !== null;
|
|
7547
|
+
}
|
|
7168
7548
|
function isSet(value) {
|
|
7169
7549
|
return value !== null && value !== undefined;
|
|
7170
7550
|
}
|