theragist-ts 1.0.149 → 1.0.151
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/call/message.d.ts +1 -0
- package/dist/call/message.js +17 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -3
- package/dist/session/therapy_live_message.d.ts +68 -0
- package/dist/session/therapy_live_message.js +994 -3
- package/dist/session/therapy_live_service.d.ts +61 -1
- package/dist/session/therapy_live_service.js +268 -0
- package/package.json +1 -1
package/dist/call/message.d.ts
CHANGED
package/dist/call/message.js
CHANGED
|
@@ -3797,6 +3797,7 @@ function createBaseCallRoom() {
|
|
|
3797
3797
|
maxDurationAt: "",
|
|
3798
3798
|
connectedAt: "",
|
|
3799
3799
|
endReason: "",
|
|
3800
|
+
myRole: 0,
|
|
3800
3801
|
};
|
|
3801
3802
|
}
|
|
3802
3803
|
exports.CallRoom = {
|
|
@@ -3876,6 +3877,9 @@ exports.CallRoom = {
|
|
|
3876
3877
|
if (message.endReason !== "") {
|
|
3877
3878
|
writer.uint32(202).string(message.endReason);
|
|
3878
3879
|
}
|
|
3880
|
+
if (message.myRole !== 0) {
|
|
3881
|
+
writer.uint32(208).int32(message.myRole);
|
|
3882
|
+
}
|
|
3879
3883
|
return writer;
|
|
3880
3884
|
},
|
|
3881
3885
|
decode(input, length) {
|
|
@@ -4060,6 +4064,13 @@ exports.CallRoom = {
|
|
|
4060
4064
|
message.endReason = reader.string();
|
|
4061
4065
|
continue;
|
|
4062
4066
|
}
|
|
4067
|
+
case 26: {
|
|
4068
|
+
if (tag !== 208) {
|
|
4069
|
+
break;
|
|
4070
|
+
}
|
|
4071
|
+
message.myRole = reader.int32();
|
|
4072
|
+
continue;
|
|
4073
|
+
}
|
|
4063
4074
|
}
|
|
4064
4075
|
if ((tag & 7) === 4 || tag === 0) {
|
|
4065
4076
|
break;
|
|
@@ -4097,6 +4108,7 @@ exports.CallRoom = {
|
|
|
4097
4108
|
maxDurationAt: isSet(object.maxDurationAt) ? globalThis.String(object.maxDurationAt) : "",
|
|
4098
4109
|
connectedAt: isSet(object.connectedAt) ? globalThis.String(object.connectedAt) : "",
|
|
4099
4110
|
endReason: isSet(object.endReason) ? globalThis.String(object.endReason) : "",
|
|
4111
|
+
myRole: isSet(object.myRole) ? (0, enum_1.callParticipantRole_ValueFromJSON)(object.myRole) : 0,
|
|
4100
4112
|
};
|
|
4101
4113
|
},
|
|
4102
4114
|
toJSON(message) {
|
|
@@ -4177,13 +4189,16 @@ exports.CallRoom = {
|
|
|
4177
4189
|
if (message.endReason !== "") {
|
|
4178
4190
|
obj.endReason = message.endReason;
|
|
4179
4191
|
}
|
|
4192
|
+
if (message.myRole !== 0) {
|
|
4193
|
+
obj.myRole = (0, enum_1.callParticipantRole_ValueToJSON)(message.myRole);
|
|
4194
|
+
}
|
|
4180
4195
|
return obj;
|
|
4181
4196
|
},
|
|
4182
4197
|
create(base) {
|
|
4183
4198
|
return exports.CallRoom.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
4184
4199
|
},
|
|
4185
4200
|
fromPartial(object) {
|
|
4186
|
-
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0;
|
|
4201
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1;
|
|
4187
4202
|
const message = createBaseCallRoom();
|
|
4188
4203
|
message.id = (_a = object.id) !== null && _a !== void 0 ? _a : "";
|
|
4189
4204
|
message.roomName = (_b = object.roomName) !== null && _b !== void 0 ? _b : "";
|
|
@@ -4210,6 +4225,7 @@ exports.CallRoom = {
|
|
|
4210
4225
|
message.maxDurationAt = (_y = object.maxDurationAt) !== null && _y !== void 0 ? _y : "";
|
|
4211
4226
|
message.connectedAt = (_z = object.connectedAt) !== null && _z !== void 0 ? _z : "";
|
|
4212
4227
|
message.endReason = (_0 = object.endReason) !== null && _0 !== void 0 ? _0 : "";
|
|
4228
|
+
message.myRole = (_1 = object.myRole) !== null && _1 !== void 0 ? _1 : 0;
|
|
4213
4229
|
return message;
|
|
4214
4230
|
},
|
|
4215
4231
|
};
|
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, TherapyLiveCreateNoteRequest, TherapyLiveCreateNoteResponse, TherapyLiveCrisisResource, TherapyLiveCrisisResourcesRequest, TherapyLiveCrisisResourcesResponse, TherapyLiveDeleteRecordingRequest, TherapyLiveDeleteRecordingResponse, TherapyLiveDenyRequest, TherapyLiveDenyResponse, TherapyLiveEndRequest, TherapyLiveEndResponse, TherapyLiveEvent, TherapyLiveExtendRequest, TherapyLiveExtendResponse, TherapyLiveGetNotesRequest, TherapyLiveGetNotesResponse, TherapyLiveGetRecordingRequest, TherapyLiveGetRecordingResponse, TherapyLiveHeartbeatRequest, TherapyLiveHeartbeatResponse, TherapyLiveLeaveRequest, TherapyLiveLeaveResponse, TherapyLiveListRecordingsRequest, TherapyLiveListRecordingsResponse, TherapyLiveMediaRequest, TherapyLiveMediaResponse, TherapyLiveMuteRequest, TherapyLiveMuteResponse, TherapyLiveNetworkQualityRequest, TherapyLiveNetworkQualityResponse, TherapyLiveNote, TherapyLiveParticipant, TherapyLivePauseRequest, TherapyLivePauseResponse, TherapyLiveQualityReportRequest, TherapyLiveQualityReportResponse, TherapyLiveRecording, TherapyLiveRecordingStartRequest, TherapyLiveRecordingStartResponse, TherapyLiveRecordingStopRequest, TherapyLiveRecordingStopResponse, TherapyLiveRecoverRequest, TherapyLiveRecoverResponse, TherapyLiveRefreshTokenRequest, TherapyLiveRefreshTokenResponse, TherapyLiveRequestRecordingConsentRequest, TherapyLiveRequestRecordingConsentResponse, TherapyLiveRespondRecordingConsentRequest, TherapyLiveRespondRecordingConsentResponse, TherapyLiveResumeRequest, TherapyLiveResumeResponse, TherapyLiveSession, TherapyLiveStartRequest, TherapyLiveStartResponse, TherapyLiveStatusRequest, TherapyLiveStatusResponse, TherapyLiveTokenRequest, TherapyLiveTokenResponse } from './session/therapy_live_message';
|
|
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';
|
|
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 = void 0;
|
|
49
|
+
exports.TherapyLiveQualityReportResponse = exports.TherapyLiveQualityReportRequest = exports.TherapyLivePauseResponse = 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 = 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.TherapyLiveAcceptConfidentialityResponse = exports.TherapyLiveAcceptConfidentialityRequest = exports.TherapistServiceDefinition = exports.WaitlistSubmitRequest = exports.SubmitSurveyRequest = void 0;
|
|
50
|
+
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.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 = 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 = 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; } });
|
|
@@ -2435,6 +2435,7 @@ Object.defineProperty(exports, "TherapyLiveAdmissionRequest", { enumerable: true
|
|
|
2435
2435
|
Object.defineProperty(exports, "TherapyLiveAdmissionResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAdmissionResponse; } });
|
|
2436
2436
|
Object.defineProperty(exports, "TherapyLiveAdmitRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAdmitRequest; } });
|
|
2437
2437
|
Object.defineProperty(exports, "TherapyLiveAdmitResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveAdmitResponse; } });
|
|
2438
|
+
Object.defineProperty(exports, "TherapyLiveChatMessage", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveChatMessage; } });
|
|
2438
2439
|
Object.defineProperty(exports, "TherapyLiveCreateNoteRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveCreateNoteRequest; } });
|
|
2439
2440
|
Object.defineProperty(exports, "TherapyLiveCreateNoteResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveCreateNoteResponse; } });
|
|
2440
2441
|
Object.defineProperty(exports, "TherapyLiveCrisisResource", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveCrisisResource; } });
|
|
@@ -2453,10 +2454,14 @@ Object.defineProperty(exports, "TherapyLiveGetNotesRequest", { enumerable: true,
|
|
|
2453
2454
|
Object.defineProperty(exports, "TherapyLiveGetNotesResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveGetNotesResponse; } });
|
|
2454
2455
|
Object.defineProperty(exports, "TherapyLiveGetRecordingRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveGetRecordingRequest; } });
|
|
2455
2456
|
Object.defineProperty(exports, "TherapyLiveGetRecordingResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveGetRecordingResponse; } });
|
|
2457
|
+
Object.defineProperty(exports, "TherapyLiveHandRaiseRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveHandRaiseRequest; } });
|
|
2458
|
+
Object.defineProperty(exports, "TherapyLiveHandRaiseResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveHandRaiseResponse; } });
|
|
2456
2459
|
Object.defineProperty(exports, "TherapyLiveHeartbeatRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveHeartbeatRequest; } });
|
|
2457
2460
|
Object.defineProperty(exports, "TherapyLiveHeartbeatResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveHeartbeatResponse; } });
|
|
2458
2461
|
Object.defineProperty(exports, "TherapyLiveLeaveRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveLeaveRequest; } });
|
|
2459
2462
|
Object.defineProperty(exports, "TherapyLiveLeaveResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveLeaveResponse; } });
|
|
2463
|
+
Object.defineProperty(exports, "TherapyLiveListChatMessagesRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveListChatMessagesRequest; } });
|
|
2464
|
+
Object.defineProperty(exports, "TherapyLiveListChatMessagesResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveListChatMessagesResponse; } });
|
|
2460
2465
|
Object.defineProperty(exports, "TherapyLiveListRecordingsRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveListRecordingsRequest; } });
|
|
2461
2466
|
Object.defineProperty(exports, "TherapyLiveListRecordingsResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveListRecordingsResponse; } });
|
|
2462
2467
|
Object.defineProperty(exports, "TherapyLiveMediaRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveMediaRequest; } });
|
|
@@ -2471,6 +2476,8 @@ Object.defineProperty(exports, "TherapyLivePauseRequest", { enumerable: true, ge
|
|
|
2471
2476
|
Object.defineProperty(exports, "TherapyLivePauseResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLivePauseResponse; } });
|
|
2472
2477
|
Object.defineProperty(exports, "TherapyLiveQualityReportRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveQualityReportRequest; } });
|
|
2473
2478
|
Object.defineProperty(exports, "TherapyLiveQualityReportResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveQualityReportResponse; } });
|
|
2479
|
+
Object.defineProperty(exports, "TherapyLiveReactionRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveReactionRequest; } });
|
|
2480
|
+
Object.defineProperty(exports, "TherapyLiveReactionResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveReactionResponse; } });
|
|
2474
2481
|
Object.defineProperty(exports, "TherapyLiveRecording", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRecording; } });
|
|
2475
2482
|
Object.defineProperty(exports, "TherapyLiveRecordingStartRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRecordingStartRequest; } });
|
|
2476
2483
|
Object.defineProperty(exports, "TherapyLiveRecordingStartResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRecordingStartResponse; } });
|
|
@@ -2480,12 +2487,16 @@ Object.defineProperty(exports, "TherapyLiveRecoverRequest", { enumerable: true,
|
|
|
2480
2487
|
Object.defineProperty(exports, "TherapyLiveRecoverResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRecoverResponse; } });
|
|
2481
2488
|
Object.defineProperty(exports, "TherapyLiveRefreshTokenRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRefreshTokenRequest; } });
|
|
2482
2489
|
Object.defineProperty(exports, "TherapyLiveRefreshTokenResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRefreshTokenResponse; } });
|
|
2490
|
+
Object.defineProperty(exports, "TherapyLiveRemoteMuteRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRemoteMuteRequest; } });
|
|
2491
|
+
Object.defineProperty(exports, "TherapyLiveRemoteMuteResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRemoteMuteResponse; } });
|
|
2483
2492
|
Object.defineProperty(exports, "TherapyLiveRequestRecordingConsentRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRequestRecordingConsentRequest; } });
|
|
2484
2493
|
Object.defineProperty(exports, "TherapyLiveRequestRecordingConsentResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRequestRecordingConsentResponse; } });
|
|
2485
2494
|
Object.defineProperty(exports, "TherapyLiveRespondRecordingConsentRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRespondRecordingConsentRequest; } });
|
|
2486
2495
|
Object.defineProperty(exports, "TherapyLiveRespondRecordingConsentResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveRespondRecordingConsentResponse; } });
|
|
2487
2496
|
Object.defineProperty(exports, "TherapyLiveResumeRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveResumeRequest; } });
|
|
2488
2497
|
Object.defineProperty(exports, "TherapyLiveResumeResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveResumeResponse; } });
|
|
2498
|
+
Object.defineProperty(exports, "TherapyLiveSendChatMessageRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveSendChatMessageRequest; } });
|
|
2499
|
+
Object.defineProperty(exports, "TherapyLiveSendChatMessageResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveSendChatMessageResponse; } });
|
|
2489
2500
|
Object.defineProperty(exports, "TherapyLiveSession", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveSession; } });
|
|
2490
2501
|
Object.defineProperty(exports, "TherapyLiveStartRequest", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveStartRequest; } });
|
|
2491
2502
|
Object.defineProperty(exports, "TherapyLiveStartResponse", { enumerable: true, get: function () { return therapy_live_message_1.TherapyLiveStartResponse; } });
|
|
@@ -61,6 +61,8 @@ export interface TherapyLiveParticipant {
|
|
|
61
61
|
*/
|
|
62
62
|
isAudioMuted: boolean;
|
|
63
63
|
isVideoMuted: boolean;
|
|
64
|
+
/** Hand-raise state, persisted so a reconnecting peer sees the correct state. */
|
|
65
|
+
isHandRaised: boolean;
|
|
64
66
|
}
|
|
65
67
|
export interface TherapyLiveEvent {
|
|
66
68
|
id: string;
|
|
@@ -115,6 +117,10 @@ export interface TherapyLiveStatusResponse {
|
|
|
115
117
|
recordingConsentRequired: boolean;
|
|
116
118
|
recordingConsentGranted: boolean;
|
|
117
119
|
confidentialityRequired: boolean;
|
|
120
|
+
/** Interaction feature flags. */
|
|
121
|
+
handRaiseEnabled: boolean;
|
|
122
|
+
reactionsEnabled: boolean;
|
|
123
|
+
inCallChatEnabled: boolean;
|
|
118
124
|
}
|
|
119
125
|
export interface TherapyLiveMuteRequest {
|
|
120
126
|
id: string;
|
|
@@ -373,6 +379,57 @@ export interface TherapyLiveNote {
|
|
|
373
379
|
export interface TherapyLiveGetNotesResponse {
|
|
374
380
|
notes: TherapyLiveNote[];
|
|
375
381
|
}
|
|
382
|
+
export interface TherapyLiveHandRaiseRequest {
|
|
383
|
+
id: string;
|
|
384
|
+
raised: boolean;
|
|
385
|
+
}
|
|
386
|
+
export interface TherapyLiveHandRaiseResponse {
|
|
387
|
+
ok: boolean;
|
|
388
|
+
isHandRaised: boolean;
|
|
389
|
+
}
|
|
390
|
+
export interface TherapyLiveReactionRequest {
|
|
391
|
+
id: string;
|
|
392
|
+
emoji: string;
|
|
393
|
+
}
|
|
394
|
+
export interface TherapyLiveReactionResponse {
|
|
395
|
+
ok: boolean;
|
|
396
|
+
}
|
|
397
|
+
export interface TherapyLiveSendChatMessageRequest {
|
|
398
|
+
id: string;
|
|
399
|
+
content: string;
|
|
400
|
+
}
|
|
401
|
+
export interface TherapyLiveSendChatMessageResponse {
|
|
402
|
+
messageId: string;
|
|
403
|
+
createdAt: string;
|
|
404
|
+
}
|
|
405
|
+
export interface TherapyLiveChatMessage {
|
|
406
|
+
id: string;
|
|
407
|
+
senderId: string;
|
|
408
|
+
senderName: string;
|
|
409
|
+
senderAvatarUrl: string;
|
|
410
|
+
content: string;
|
|
411
|
+
messageType: string;
|
|
412
|
+
createdAt: string;
|
|
413
|
+
}
|
|
414
|
+
export interface TherapyLiveListChatMessagesRequest {
|
|
415
|
+
id: string;
|
|
416
|
+
limit: number;
|
|
417
|
+
cursor: string;
|
|
418
|
+
}
|
|
419
|
+
export interface TherapyLiveListChatMessagesResponse {
|
|
420
|
+
messages: TherapyLiveChatMessage[];
|
|
421
|
+
nextCursor: string;
|
|
422
|
+
hasMore: boolean;
|
|
423
|
+
}
|
|
424
|
+
export interface TherapyLiveRemoteMuteRequest {
|
|
425
|
+
id: string;
|
|
426
|
+
targetUserId: string;
|
|
427
|
+
mediaType: string;
|
|
428
|
+
muted: boolean;
|
|
429
|
+
}
|
|
430
|
+
export interface TherapyLiveRemoteMuteResponse {
|
|
431
|
+
ok: boolean;
|
|
432
|
+
}
|
|
376
433
|
export declare const TherapyLiveSession: MessageFns<TherapyLiveSession>;
|
|
377
434
|
export declare const TherapyLiveParticipant: MessageFns<TherapyLiveParticipant>;
|
|
378
435
|
export declare const TherapyLiveEvent: MessageFns<TherapyLiveEvent>;
|
|
@@ -437,6 +494,17 @@ export declare const TherapyLiveCreateNoteResponse: MessageFns<TherapyLiveCreate
|
|
|
437
494
|
export declare const TherapyLiveGetNotesRequest: MessageFns<TherapyLiveGetNotesRequest>;
|
|
438
495
|
export declare const TherapyLiveNote: MessageFns<TherapyLiveNote>;
|
|
439
496
|
export declare const TherapyLiveGetNotesResponse: MessageFns<TherapyLiveGetNotesResponse>;
|
|
497
|
+
export declare const TherapyLiveHandRaiseRequest: MessageFns<TherapyLiveHandRaiseRequest>;
|
|
498
|
+
export declare const TherapyLiveHandRaiseResponse: MessageFns<TherapyLiveHandRaiseResponse>;
|
|
499
|
+
export declare const TherapyLiveReactionRequest: MessageFns<TherapyLiveReactionRequest>;
|
|
500
|
+
export declare const TherapyLiveReactionResponse: MessageFns<TherapyLiveReactionResponse>;
|
|
501
|
+
export declare const TherapyLiveSendChatMessageRequest: MessageFns<TherapyLiveSendChatMessageRequest>;
|
|
502
|
+
export declare const TherapyLiveSendChatMessageResponse: MessageFns<TherapyLiveSendChatMessageResponse>;
|
|
503
|
+
export declare const TherapyLiveChatMessage: MessageFns<TherapyLiveChatMessage>;
|
|
504
|
+
export declare const TherapyLiveListChatMessagesRequest: MessageFns<TherapyLiveListChatMessagesRequest>;
|
|
505
|
+
export declare const TherapyLiveListChatMessagesResponse: MessageFns<TherapyLiveListChatMessagesResponse>;
|
|
506
|
+
export declare const TherapyLiveRemoteMuteRequest: MessageFns<TherapyLiveRemoteMuteRequest>;
|
|
507
|
+
export declare const TherapyLiveRemoteMuteResponse: MessageFns<TherapyLiveRemoteMuteResponse>;
|
|
440
508
|
type Builtin = Date | Function | Uint8Array | string | number | boolean | undefined;
|
|
441
509
|
export type DeepPartial<T> = T extends Builtin ? T : T extends globalThis.Array<infer U> ? globalThis.Array<DeepPartial<U>> : T extends ReadonlyArray<infer U> ? ReadonlyArray<DeepPartial<U>> : T extends {} ? {
|
|
442
510
|
[K in keyof T]?: DeepPartial<T[K]>;
|