theragist-ts 1.0.98 → 1.0.100
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 +9 -0
- package/dist/call/message.js +124 -1
- package/dist/call/service.d.ts +13 -1
- package/dist/call/service.js +51 -0
- package/dist/clients/message.d.ts +10 -0
- package/dist/clients/message.js +175 -3
- package/dist/index.d.ts +2 -2
- package/dist/index.js +12 -9
- package/dist/session/message.d.ts +17 -0
- package/dist/session/message.js +273 -2
- package/package.json +1 -1
package/dist/call/message.d.ts
CHANGED
|
@@ -91,6 +91,13 @@ export interface ListActiveCallsRequest {
|
|
|
91
91
|
export interface ListActiveCallsResponse {
|
|
92
92
|
rooms: CallRoom[];
|
|
93
93
|
}
|
|
94
|
+
export interface RecordCallQualityRequest {
|
|
95
|
+
roomId: string;
|
|
96
|
+
connectionQuality: ConnectionQuality_Value;
|
|
97
|
+
}
|
|
98
|
+
export interface RecordCallQualityResponse {
|
|
99
|
+
success: boolean;
|
|
100
|
+
}
|
|
94
101
|
export interface GetCallHistoryRequest {
|
|
95
102
|
pagination: BaseListRequest | undefined;
|
|
96
103
|
}
|
|
@@ -180,6 +187,8 @@ export declare const ListPendingInvitationsRequest: MessageFns<ListPendingInvita
|
|
|
180
187
|
export declare const ListPendingInvitationsResponse: MessageFns<ListPendingInvitationsResponse>;
|
|
181
188
|
export declare const ListActiveCallsRequest: MessageFns<ListActiveCallsRequest>;
|
|
182
189
|
export declare const ListActiveCallsResponse: MessageFns<ListActiveCallsResponse>;
|
|
190
|
+
export declare const RecordCallQualityRequest: MessageFns<RecordCallQualityRequest>;
|
|
191
|
+
export declare const RecordCallQualityResponse: MessageFns<RecordCallQualityResponse>;
|
|
183
192
|
export declare const GetCallHistoryRequest: MessageFns<GetCallHistoryRequest>;
|
|
184
193
|
export declare const GetCallHistoryResponse: MessageFns<GetCallHistoryResponse>;
|
|
185
194
|
export declare const CallRoom: MessageFns<CallRoom>;
|
package/dist/call/message.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: call/message.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.CallHistoryItem = exports.CallInvitation = exports.CallParticipant = exports.CallRoom = exports.GetCallHistoryResponse = exports.GetCallHistoryRequest = exports.ListActiveCallsResponse = exports.ListActiveCallsRequest = exports.ListPendingInvitationsResponse = exports.ListPendingInvitationsRequest = exports.RespondToInvitationResponse = exports.RespondToInvitationRequest = exports.GetCallStatusResponse = exports.GetCallStatusRequest = exports.GetCallTokenResponse = exports.GetCallTokenRequest = exports.EndCallResponse = exports.EndCallRequest = exports.RemoveCallParticipantResponse = exports.RemoveCallParticipantRequest = exports.LeaveCallResponse = exports.LeaveCallRequest = exports.InviteParticipantResponse = exports.InviteParticipantRequest = exports.JoinLiveMeetingByMeetingIdRequest = exports.JoinCallResponse = exports.JoinCallRequest = exports.InitiateCallResponse = exports.InitiateCallRequest = exports.protobufPackage = void 0;
|
|
8
|
+
exports.CallHistoryItem = exports.CallInvitation = exports.CallParticipant = exports.CallRoom = exports.GetCallHistoryResponse = exports.GetCallHistoryRequest = exports.RecordCallQualityResponse = exports.RecordCallQualityRequest = exports.ListActiveCallsResponse = exports.ListActiveCallsRequest = exports.ListPendingInvitationsResponse = exports.ListPendingInvitationsRequest = exports.RespondToInvitationResponse = exports.RespondToInvitationRequest = exports.GetCallStatusResponse = exports.GetCallStatusRequest = exports.GetCallTokenResponse = exports.GetCallTokenRequest = exports.EndCallResponse = exports.EndCallRequest = exports.RemoveCallParticipantResponse = exports.RemoveCallParticipantRequest = exports.LeaveCallResponse = exports.LeaveCallRequest = exports.InviteParticipantResponse = exports.InviteParticipantRequest = exports.JoinLiveMeetingByMeetingIdRequest = exports.JoinCallResponse = exports.JoinCallRequest = exports.InitiateCallResponse = exports.InitiateCallRequest = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const common_1 = require("../common");
|
|
@@ -1477,6 +1477,129 @@ exports.ListActiveCallsResponse = {
|
|
|
1477
1477
|
return message;
|
|
1478
1478
|
},
|
|
1479
1479
|
};
|
|
1480
|
+
function createBaseRecordCallQualityRequest() {
|
|
1481
|
+
return { roomId: "", connectionQuality: 0 };
|
|
1482
|
+
}
|
|
1483
|
+
exports.RecordCallQualityRequest = {
|
|
1484
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1485
|
+
if (message.roomId !== "") {
|
|
1486
|
+
writer.uint32(10).string(message.roomId);
|
|
1487
|
+
}
|
|
1488
|
+
if (message.connectionQuality !== 0) {
|
|
1489
|
+
writer.uint32(16).int32(message.connectionQuality);
|
|
1490
|
+
}
|
|
1491
|
+
return writer;
|
|
1492
|
+
},
|
|
1493
|
+
decode(input, length) {
|
|
1494
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1495
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1496
|
+
const message = createBaseRecordCallQualityRequest();
|
|
1497
|
+
while (reader.pos < end) {
|
|
1498
|
+
const tag = reader.uint32();
|
|
1499
|
+
switch (tag >>> 3) {
|
|
1500
|
+
case 1: {
|
|
1501
|
+
if (tag !== 10) {
|
|
1502
|
+
break;
|
|
1503
|
+
}
|
|
1504
|
+
message.roomId = reader.string();
|
|
1505
|
+
continue;
|
|
1506
|
+
}
|
|
1507
|
+
case 2: {
|
|
1508
|
+
if (tag !== 16) {
|
|
1509
|
+
break;
|
|
1510
|
+
}
|
|
1511
|
+
message.connectionQuality = reader.int32();
|
|
1512
|
+
continue;
|
|
1513
|
+
}
|
|
1514
|
+
}
|
|
1515
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1516
|
+
break;
|
|
1517
|
+
}
|
|
1518
|
+
reader.skip(tag & 7);
|
|
1519
|
+
}
|
|
1520
|
+
return message;
|
|
1521
|
+
},
|
|
1522
|
+
fromJSON(object) {
|
|
1523
|
+
return {
|
|
1524
|
+
roomId: isSet(object.roomId) ? globalThis.String(object.roomId) : "",
|
|
1525
|
+
connectionQuality: isSet(object.connectionQuality)
|
|
1526
|
+
? (0, enum_1.connectionQuality_ValueFromJSON)(object.connectionQuality)
|
|
1527
|
+
: 0,
|
|
1528
|
+
};
|
|
1529
|
+
},
|
|
1530
|
+
toJSON(message) {
|
|
1531
|
+
const obj = {};
|
|
1532
|
+
if (message.roomId !== "") {
|
|
1533
|
+
obj.roomId = message.roomId;
|
|
1534
|
+
}
|
|
1535
|
+
if (message.connectionQuality !== 0) {
|
|
1536
|
+
obj.connectionQuality = (0, enum_1.connectionQuality_ValueToJSON)(message.connectionQuality);
|
|
1537
|
+
}
|
|
1538
|
+
return obj;
|
|
1539
|
+
},
|
|
1540
|
+
create(base) {
|
|
1541
|
+
return exports.RecordCallQualityRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1542
|
+
},
|
|
1543
|
+
fromPartial(object) {
|
|
1544
|
+
var _a, _b;
|
|
1545
|
+
const message = createBaseRecordCallQualityRequest();
|
|
1546
|
+
message.roomId = (_a = object.roomId) !== null && _a !== void 0 ? _a : "";
|
|
1547
|
+
message.connectionQuality = (_b = object.connectionQuality) !== null && _b !== void 0 ? _b : 0;
|
|
1548
|
+
return message;
|
|
1549
|
+
},
|
|
1550
|
+
};
|
|
1551
|
+
function createBaseRecordCallQualityResponse() {
|
|
1552
|
+
return { success: false };
|
|
1553
|
+
}
|
|
1554
|
+
exports.RecordCallQualityResponse = {
|
|
1555
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
1556
|
+
if (message.success !== false) {
|
|
1557
|
+
writer.uint32(8).bool(message.success);
|
|
1558
|
+
}
|
|
1559
|
+
return writer;
|
|
1560
|
+
},
|
|
1561
|
+
decode(input, length) {
|
|
1562
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
1563
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
1564
|
+
const message = createBaseRecordCallQualityResponse();
|
|
1565
|
+
while (reader.pos < end) {
|
|
1566
|
+
const tag = reader.uint32();
|
|
1567
|
+
switch (tag >>> 3) {
|
|
1568
|
+
case 1: {
|
|
1569
|
+
if (tag !== 8) {
|
|
1570
|
+
break;
|
|
1571
|
+
}
|
|
1572
|
+
message.success = reader.bool();
|
|
1573
|
+
continue;
|
|
1574
|
+
}
|
|
1575
|
+
}
|
|
1576
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
1577
|
+
break;
|
|
1578
|
+
}
|
|
1579
|
+
reader.skip(tag & 7);
|
|
1580
|
+
}
|
|
1581
|
+
return message;
|
|
1582
|
+
},
|
|
1583
|
+
fromJSON(object) {
|
|
1584
|
+
return { success: isSet(object.success) ? globalThis.Boolean(object.success) : false };
|
|
1585
|
+
},
|
|
1586
|
+
toJSON(message) {
|
|
1587
|
+
const obj = {};
|
|
1588
|
+
if (message.success !== false) {
|
|
1589
|
+
obj.success = message.success;
|
|
1590
|
+
}
|
|
1591
|
+
return obj;
|
|
1592
|
+
},
|
|
1593
|
+
create(base) {
|
|
1594
|
+
return exports.RecordCallQualityResponse.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1595
|
+
},
|
|
1596
|
+
fromPartial(object) {
|
|
1597
|
+
var _a;
|
|
1598
|
+
const message = createBaseRecordCallQualityResponse();
|
|
1599
|
+
message.success = (_a = object.success) !== null && _a !== void 0 ? _a : false;
|
|
1600
|
+
return message;
|
|
1601
|
+
},
|
|
1602
|
+
};
|
|
1480
1603
|
function createBaseGetCallHistoryRequest() {
|
|
1481
1604
|
return { pagination: undefined };
|
|
1482
1605
|
}
|
package/dist/call/service.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EndCallRequest, EndCallResponse, GetCallHistoryRequest, GetCallHistoryResponse, GetCallStatusRequest, GetCallStatusResponse, GetCallTokenRequest, GetCallTokenResponse, InitiateCallRequest, InitiateCallResponse, InviteParticipantRequest, InviteParticipantResponse, JoinCallRequest, JoinCallResponse, JoinLiveMeetingByMeetingIdRequest, LeaveCallRequest, LeaveCallResponse, ListActiveCallsRequest, ListActiveCallsResponse, ListPendingInvitationsRequest, ListPendingInvitationsResponse, RemoveCallParticipantRequest, RemoveCallParticipantResponse, RespondToInvitationRequest, RespondToInvitationResponse } from "./message";
|
|
1
|
+
import { EndCallRequest, EndCallResponse, GetCallHistoryRequest, GetCallHistoryResponse, GetCallStatusRequest, GetCallStatusResponse, GetCallTokenRequest, GetCallTokenResponse, InitiateCallRequest, InitiateCallResponse, InviteParticipantRequest, InviteParticipantResponse, JoinCallRequest, JoinCallResponse, JoinLiveMeetingByMeetingIdRequest, LeaveCallRequest, LeaveCallResponse, ListActiveCallsRequest, ListActiveCallsResponse, ListPendingInvitationsRequest, ListPendingInvitationsResponse, RecordCallQualityRequest, RecordCallQualityResponse, RemoveCallParticipantRequest, RemoveCallParticipantResponse, RespondToInvitationRequest, RespondToInvitationResponse } from "./message";
|
|
2
2
|
export declare const protobufPackage = "pb";
|
|
3
3
|
export type CallServiceDefinition = typeof CallServiceDefinition;
|
|
4
4
|
export declare const CallServiceDefinition: {
|
|
@@ -149,6 +149,18 @@ export declare const CallServiceDefinition: {
|
|
|
149
149
|
};
|
|
150
150
|
};
|
|
151
151
|
};
|
|
152
|
+
readonly recordCallQuality: {
|
|
153
|
+
readonly name: "RecordCallQuality";
|
|
154
|
+
readonly requestType: typeof RecordCallQualityRequest;
|
|
155
|
+
readonly requestStream: false;
|
|
156
|
+
readonly responseType: typeof RecordCallQualityResponse;
|
|
157
|
+
readonly responseStream: false;
|
|
158
|
+
readonly options: {
|
|
159
|
+
readonly _unknownFields: {
|
|
160
|
+
readonly 578365826: readonly [Uint8Array<ArrayBufferLike>];
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
};
|
|
152
164
|
readonly getCallHistory: {
|
|
153
165
|
readonly name: "GetCallHistory";
|
|
154
166
|
readonly requestType: typeof GetCallHistoryRequest;
|
package/dist/call/service.js
CHANGED
|
@@ -603,6 +603,57 @@ exports.CallServiceDefinition = {
|
|
|
603
603
|
},
|
|
604
604
|
},
|
|
605
605
|
},
|
|
606
|
+
recordCallQuality: {
|
|
607
|
+
name: "RecordCallQuality",
|
|
608
|
+
requestType: message_1.RecordCallQualityRequest,
|
|
609
|
+
requestStream: false,
|
|
610
|
+
responseType: message_1.RecordCallQualityResponse,
|
|
611
|
+
responseStream: false,
|
|
612
|
+
options: {
|
|
613
|
+
_unknownFields: {
|
|
614
|
+
578365826: [
|
|
615
|
+
new Uint8Array([
|
|
616
|
+
35,
|
|
617
|
+
34,
|
|
618
|
+
30,
|
|
619
|
+
47,
|
|
620
|
+
97,
|
|
621
|
+
112,
|
|
622
|
+
105,
|
|
623
|
+
47,
|
|
624
|
+
118,
|
|
625
|
+
49,
|
|
626
|
+
47,
|
|
627
|
+
99,
|
|
628
|
+
97,
|
|
629
|
+
108,
|
|
630
|
+
108,
|
|
631
|
+
115,
|
|
632
|
+
47,
|
|
633
|
+
123,
|
|
634
|
+
114,
|
|
635
|
+
111,
|
|
636
|
+
111,
|
|
637
|
+
109,
|
|
638
|
+
73,
|
|
639
|
+
100,
|
|
640
|
+
125,
|
|
641
|
+
47,
|
|
642
|
+
113,
|
|
643
|
+
117,
|
|
644
|
+
97,
|
|
645
|
+
108,
|
|
646
|
+
105,
|
|
647
|
+
116,
|
|
648
|
+
121,
|
|
649
|
+
58,
|
|
650
|
+
1,
|
|
651
|
+
42,
|
|
652
|
+
]),
|
|
653
|
+
],
|
|
654
|
+
},
|
|
655
|
+
},
|
|
656
|
+
},
|
|
606
657
|
getCallHistory: {
|
|
607
658
|
name: "GetCallHistory",
|
|
608
659
|
requestType: message_1.GetCallHistoryRequest,
|
|
@@ -21,6 +21,11 @@ export interface ClinicalNoteContent {
|
|
|
21
21
|
keyTopics: string;
|
|
22
22
|
interventions: string;
|
|
23
23
|
riskLevel: string;
|
|
24
|
+
engagementScore: number;
|
|
25
|
+
responseToTherapyScore: number;
|
|
26
|
+
overallProgressScore: number;
|
|
27
|
+
observedChanges: string;
|
|
28
|
+
therapistAssessment: string;
|
|
24
29
|
}
|
|
25
30
|
export interface ClinicalNoteItem {
|
|
26
31
|
id: string;
|
|
@@ -110,6 +115,11 @@ export interface AddClinicalNoteRequest {
|
|
|
110
115
|
keyTopics: string;
|
|
111
116
|
interventions: string;
|
|
112
117
|
riskLevel: string;
|
|
118
|
+
engagementScore: number;
|
|
119
|
+
responseToTherapyScore: number;
|
|
120
|
+
overallProgressScore: number;
|
|
121
|
+
observedChanges: string;
|
|
122
|
+
therapistAssessment: string;
|
|
113
123
|
}
|
|
114
124
|
export interface AddClinicalNoteResponse {
|
|
115
125
|
note: ClinicalNoteItem | undefined;
|
package/dist/clients/message.js
CHANGED
|
@@ -182,7 +182,20 @@ exports.ClientDetailStats = {
|
|
|
182
182
|
},
|
|
183
183
|
};
|
|
184
184
|
function createBaseClinicalNoteContent() {
|
|
185
|
-
return {
|
|
185
|
+
return {
|
|
186
|
+
clientMood: "",
|
|
187
|
+
progress: "",
|
|
188
|
+
nextSteps: "",
|
|
189
|
+
notes: "",
|
|
190
|
+
keyTopics: "",
|
|
191
|
+
interventions: "",
|
|
192
|
+
riskLevel: "",
|
|
193
|
+
engagementScore: 0,
|
|
194
|
+
responseToTherapyScore: 0,
|
|
195
|
+
overallProgressScore: 0,
|
|
196
|
+
observedChanges: "",
|
|
197
|
+
therapistAssessment: "",
|
|
198
|
+
};
|
|
186
199
|
}
|
|
187
200
|
exports.ClinicalNoteContent = {
|
|
188
201
|
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
@@ -207,6 +220,21 @@ exports.ClinicalNoteContent = {
|
|
|
207
220
|
if (message.riskLevel !== "") {
|
|
208
221
|
writer.uint32(58).string(message.riskLevel);
|
|
209
222
|
}
|
|
223
|
+
if (message.engagementScore !== 0) {
|
|
224
|
+
writer.uint32(64).int32(message.engagementScore);
|
|
225
|
+
}
|
|
226
|
+
if (message.responseToTherapyScore !== 0) {
|
|
227
|
+
writer.uint32(72).int32(message.responseToTherapyScore);
|
|
228
|
+
}
|
|
229
|
+
if (message.overallProgressScore !== 0) {
|
|
230
|
+
writer.uint32(80).int32(message.overallProgressScore);
|
|
231
|
+
}
|
|
232
|
+
if (message.observedChanges !== "") {
|
|
233
|
+
writer.uint32(90).string(message.observedChanges);
|
|
234
|
+
}
|
|
235
|
+
if (message.therapistAssessment !== "") {
|
|
236
|
+
writer.uint32(98).string(message.therapistAssessment);
|
|
237
|
+
}
|
|
210
238
|
return writer;
|
|
211
239
|
},
|
|
212
240
|
decode(input, length) {
|
|
@@ -265,6 +293,41 @@ exports.ClinicalNoteContent = {
|
|
|
265
293
|
message.riskLevel = reader.string();
|
|
266
294
|
continue;
|
|
267
295
|
}
|
|
296
|
+
case 8: {
|
|
297
|
+
if (tag !== 64) {
|
|
298
|
+
break;
|
|
299
|
+
}
|
|
300
|
+
message.engagementScore = reader.int32();
|
|
301
|
+
continue;
|
|
302
|
+
}
|
|
303
|
+
case 9: {
|
|
304
|
+
if (tag !== 72) {
|
|
305
|
+
break;
|
|
306
|
+
}
|
|
307
|
+
message.responseToTherapyScore = reader.int32();
|
|
308
|
+
continue;
|
|
309
|
+
}
|
|
310
|
+
case 10: {
|
|
311
|
+
if (tag !== 80) {
|
|
312
|
+
break;
|
|
313
|
+
}
|
|
314
|
+
message.overallProgressScore = reader.int32();
|
|
315
|
+
continue;
|
|
316
|
+
}
|
|
317
|
+
case 11: {
|
|
318
|
+
if (tag !== 90) {
|
|
319
|
+
break;
|
|
320
|
+
}
|
|
321
|
+
message.observedChanges = reader.string();
|
|
322
|
+
continue;
|
|
323
|
+
}
|
|
324
|
+
case 12: {
|
|
325
|
+
if (tag !== 98) {
|
|
326
|
+
break;
|
|
327
|
+
}
|
|
328
|
+
message.therapistAssessment = reader.string();
|
|
329
|
+
continue;
|
|
330
|
+
}
|
|
268
331
|
}
|
|
269
332
|
if ((tag & 7) === 4 || tag === 0) {
|
|
270
333
|
break;
|
|
@@ -282,6 +345,13 @@ exports.ClinicalNoteContent = {
|
|
|
282
345
|
keyTopics: isSet(object.keyTopics) ? globalThis.String(object.keyTopics) : "",
|
|
283
346
|
interventions: isSet(object.interventions) ? globalThis.String(object.interventions) : "",
|
|
284
347
|
riskLevel: isSet(object.riskLevel) ? globalThis.String(object.riskLevel) : "",
|
|
348
|
+
engagementScore: isSet(object.engagementScore) ? globalThis.Number(object.engagementScore) : 0,
|
|
349
|
+
responseToTherapyScore: isSet(object.responseToTherapyScore)
|
|
350
|
+
? globalThis.Number(object.responseToTherapyScore)
|
|
351
|
+
: 0,
|
|
352
|
+
overallProgressScore: isSet(object.overallProgressScore) ? globalThis.Number(object.overallProgressScore) : 0,
|
|
353
|
+
observedChanges: isSet(object.observedChanges) ? globalThis.String(object.observedChanges) : "",
|
|
354
|
+
therapistAssessment: isSet(object.therapistAssessment) ? globalThis.String(object.therapistAssessment) : "",
|
|
285
355
|
};
|
|
286
356
|
},
|
|
287
357
|
toJSON(message) {
|
|
@@ -307,13 +377,28 @@ exports.ClinicalNoteContent = {
|
|
|
307
377
|
if (message.riskLevel !== "") {
|
|
308
378
|
obj.riskLevel = message.riskLevel;
|
|
309
379
|
}
|
|
380
|
+
if (message.engagementScore !== 0) {
|
|
381
|
+
obj.engagementScore = Math.round(message.engagementScore);
|
|
382
|
+
}
|
|
383
|
+
if (message.responseToTherapyScore !== 0) {
|
|
384
|
+
obj.responseToTherapyScore = Math.round(message.responseToTherapyScore);
|
|
385
|
+
}
|
|
386
|
+
if (message.overallProgressScore !== 0) {
|
|
387
|
+
obj.overallProgressScore = Math.round(message.overallProgressScore);
|
|
388
|
+
}
|
|
389
|
+
if (message.observedChanges !== "") {
|
|
390
|
+
obj.observedChanges = message.observedChanges;
|
|
391
|
+
}
|
|
392
|
+
if (message.therapistAssessment !== "") {
|
|
393
|
+
obj.therapistAssessment = message.therapistAssessment;
|
|
394
|
+
}
|
|
310
395
|
return obj;
|
|
311
396
|
},
|
|
312
397
|
create(base) {
|
|
313
398
|
return exports.ClinicalNoteContent.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
314
399
|
},
|
|
315
400
|
fromPartial(object) {
|
|
316
|
-
var _a, _b, _c, _d, _e, _f, _g;
|
|
401
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
317
402
|
const message = createBaseClinicalNoteContent();
|
|
318
403
|
message.clientMood = (_a = object.clientMood) !== null && _a !== void 0 ? _a : "";
|
|
319
404
|
message.progress = (_b = object.progress) !== null && _b !== void 0 ? _b : "";
|
|
@@ -322,6 +407,11 @@ exports.ClinicalNoteContent = {
|
|
|
322
407
|
message.keyTopics = (_e = object.keyTopics) !== null && _e !== void 0 ? _e : "";
|
|
323
408
|
message.interventions = (_f = object.interventions) !== null && _f !== void 0 ? _f : "";
|
|
324
409
|
message.riskLevel = (_g = object.riskLevel) !== null && _g !== void 0 ? _g : "";
|
|
410
|
+
message.engagementScore = (_h = object.engagementScore) !== null && _h !== void 0 ? _h : 0;
|
|
411
|
+
message.responseToTherapyScore = (_j = object.responseToTherapyScore) !== null && _j !== void 0 ? _j : 0;
|
|
412
|
+
message.overallProgressScore = (_k = object.overallProgressScore) !== null && _k !== void 0 ? _k : 0;
|
|
413
|
+
message.observedChanges = (_l = object.observedChanges) !== null && _l !== void 0 ? _l : "";
|
|
414
|
+
message.therapistAssessment = (_m = object.therapistAssessment) !== null && _m !== void 0 ? _m : "";
|
|
325
415
|
return message;
|
|
326
416
|
},
|
|
327
417
|
};
|
|
@@ -1614,6 +1704,11 @@ function createBaseAddClinicalNoteRequest() {
|
|
|
1614
1704
|
keyTopics: "",
|
|
1615
1705
|
interventions: "",
|
|
1616
1706
|
riskLevel: "",
|
|
1707
|
+
engagementScore: 0,
|
|
1708
|
+
responseToTherapyScore: 0,
|
|
1709
|
+
overallProgressScore: 0,
|
|
1710
|
+
observedChanges: "",
|
|
1711
|
+
therapistAssessment: "",
|
|
1617
1712
|
};
|
|
1618
1713
|
}
|
|
1619
1714
|
exports.AddClinicalNoteRequest = {
|
|
@@ -1642,6 +1737,21 @@ exports.AddClinicalNoteRequest = {
|
|
|
1642
1737
|
if (message.riskLevel !== "") {
|
|
1643
1738
|
writer.uint32(66).string(message.riskLevel);
|
|
1644
1739
|
}
|
|
1740
|
+
if (message.engagementScore !== 0) {
|
|
1741
|
+
writer.uint32(72).int32(message.engagementScore);
|
|
1742
|
+
}
|
|
1743
|
+
if (message.responseToTherapyScore !== 0) {
|
|
1744
|
+
writer.uint32(80).int32(message.responseToTherapyScore);
|
|
1745
|
+
}
|
|
1746
|
+
if (message.overallProgressScore !== 0) {
|
|
1747
|
+
writer.uint32(88).int32(message.overallProgressScore);
|
|
1748
|
+
}
|
|
1749
|
+
if (message.observedChanges !== "") {
|
|
1750
|
+
writer.uint32(98).string(message.observedChanges);
|
|
1751
|
+
}
|
|
1752
|
+
if (message.therapistAssessment !== "") {
|
|
1753
|
+
writer.uint32(106).string(message.therapistAssessment);
|
|
1754
|
+
}
|
|
1645
1755
|
return writer;
|
|
1646
1756
|
},
|
|
1647
1757
|
decode(input, length) {
|
|
@@ -1707,6 +1817,41 @@ exports.AddClinicalNoteRequest = {
|
|
|
1707
1817
|
message.riskLevel = reader.string();
|
|
1708
1818
|
continue;
|
|
1709
1819
|
}
|
|
1820
|
+
case 9: {
|
|
1821
|
+
if (tag !== 72) {
|
|
1822
|
+
break;
|
|
1823
|
+
}
|
|
1824
|
+
message.engagementScore = reader.int32();
|
|
1825
|
+
continue;
|
|
1826
|
+
}
|
|
1827
|
+
case 10: {
|
|
1828
|
+
if (tag !== 80) {
|
|
1829
|
+
break;
|
|
1830
|
+
}
|
|
1831
|
+
message.responseToTherapyScore = reader.int32();
|
|
1832
|
+
continue;
|
|
1833
|
+
}
|
|
1834
|
+
case 11: {
|
|
1835
|
+
if (tag !== 88) {
|
|
1836
|
+
break;
|
|
1837
|
+
}
|
|
1838
|
+
message.overallProgressScore = reader.int32();
|
|
1839
|
+
continue;
|
|
1840
|
+
}
|
|
1841
|
+
case 12: {
|
|
1842
|
+
if (tag !== 98) {
|
|
1843
|
+
break;
|
|
1844
|
+
}
|
|
1845
|
+
message.observedChanges = reader.string();
|
|
1846
|
+
continue;
|
|
1847
|
+
}
|
|
1848
|
+
case 13: {
|
|
1849
|
+
if (tag !== 106) {
|
|
1850
|
+
break;
|
|
1851
|
+
}
|
|
1852
|
+
message.therapistAssessment = reader.string();
|
|
1853
|
+
continue;
|
|
1854
|
+
}
|
|
1710
1855
|
}
|
|
1711
1856
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1712
1857
|
break;
|
|
@@ -1725,6 +1870,13 @@ exports.AddClinicalNoteRequest = {
|
|
|
1725
1870
|
keyTopics: isSet(object.keyTopics) ? globalThis.String(object.keyTopics) : "",
|
|
1726
1871
|
interventions: isSet(object.interventions) ? globalThis.String(object.interventions) : "",
|
|
1727
1872
|
riskLevel: isSet(object.riskLevel) ? globalThis.String(object.riskLevel) : "",
|
|
1873
|
+
engagementScore: isSet(object.engagementScore) ? globalThis.Number(object.engagementScore) : 0,
|
|
1874
|
+
responseToTherapyScore: isSet(object.responseToTherapyScore)
|
|
1875
|
+
? globalThis.Number(object.responseToTherapyScore)
|
|
1876
|
+
: 0,
|
|
1877
|
+
overallProgressScore: isSet(object.overallProgressScore) ? globalThis.Number(object.overallProgressScore) : 0,
|
|
1878
|
+
observedChanges: isSet(object.observedChanges) ? globalThis.String(object.observedChanges) : "",
|
|
1879
|
+
therapistAssessment: isSet(object.therapistAssessment) ? globalThis.String(object.therapistAssessment) : "",
|
|
1728
1880
|
};
|
|
1729
1881
|
},
|
|
1730
1882
|
toJSON(message) {
|
|
@@ -1753,13 +1905,28 @@ exports.AddClinicalNoteRequest = {
|
|
|
1753
1905
|
if (message.riskLevel !== "") {
|
|
1754
1906
|
obj.riskLevel = message.riskLevel;
|
|
1755
1907
|
}
|
|
1908
|
+
if (message.engagementScore !== 0) {
|
|
1909
|
+
obj.engagementScore = Math.round(message.engagementScore);
|
|
1910
|
+
}
|
|
1911
|
+
if (message.responseToTherapyScore !== 0) {
|
|
1912
|
+
obj.responseToTherapyScore = Math.round(message.responseToTherapyScore);
|
|
1913
|
+
}
|
|
1914
|
+
if (message.overallProgressScore !== 0) {
|
|
1915
|
+
obj.overallProgressScore = Math.round(message.overallProgressScore);
|
|
1916
|
+
}
|
|
1917
|
+
if (message.observedChanges !== "") {
|
|
1918
|
+
obj.observedChanges = message.observedChanges;
|
|
1919
|
+
}
|
|
1920
|
+
if (message.therapistAssessment !== "") {
|
|
1921
|
+
obj.therapistAssessment = message.therapistAssessment;
|
|
1922
|
+
}
|
|
1756
1923
|
return obj;
|
|
1757
1924
|
},
|
|
1758
1925
|
create(base) {
|
|
1759
1926
|
return exports.AddClinicalNoteRequest.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
1760
1927
|
},
|
|
1761
1928
|
fromPartial(object) {
|
|
1762
|
-
var _a, _b, _c, _d, _e, _f, _g, _h;
|
|
1929
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o;
|
|
1763
1930
|
const message = createBaseAddClinicalNoteRequest();
|
|
1764
1931
|
message.sessionId = (_a = object.sessionId) !== null && _a !== void 0 ? _a : "";
|
|
1765
1932
|
message.clientMood = (_b = object.clientMood) !== null && _b !== void 0 ? _b : "";
|
|
@@ -1769,6 +1936,11 @@ exports.AddClinicalNoteRequest = {
|
|
|
1769
1936
|
message.keyTopics = (_f = object.keyTopics) !== null && _f !== void 0 ? _f : "";
|
|
1770
1937
|
message.interventions = (_g = object.interventions) !== null && _g !== void 0 ? _g : "";
|
|
1771
1938
|
message.riskLevel = (_h = object.riskLevel) !== null && _h !== void 0 ? _h : "";
|
|
1939
|
+
message.engagementScore = (_j = object.engagementScore) !== null && _j !== void 0 ? _j : 0;
|
|
1940
|
+
message.responseToTherapyScore = (_k = object.responseToTherapyScore) !== null && _k !== void 0 ? _k : 0;
|
|
1941
|
+
message.overallProgressScore = (_l = object.overallProgressScore) !== null && _l !== void 0 ? _l : 0;
|
|
1942
|
+
message.observedChanges = (_m = object.observedChanges) !== null && _m !== void 0 ? _m : "";
|
|
1943
|
+
message.therapistAssessment = (_o = object.therapistAssessment) !== null && _o !== void 0 ? _o : "";
|
|
1772
1944
|
return message;
|
|
1773
1945
|
},
|
|
1774
1946
|
};
|
package/dist/index.d.ts
CHANGED
|
@@ -29,10 +29,10 @@ export { CalendarEventType, CalendarEventType_Value, CalendarFilter, CalendarFil
|
|
|
29
29
|
export { CalendarServiceDefinition } from './calendar/service';
|
|
30
30
|
export { CallAnalyticsOverviewRequest, CallAnalyticsOverviewResponse, CallByTypeEntry, CallByTypeRequest, CallByTypeResponse, CallParticipationEntry, CallParticipationRequest, CallParticipationResponse, CallQualityMetricsRequest, CallQualityMetricsResponse, CallTimeSeriesDataPoint, CallTimeSeriesRequest, CallTimeSeriesResponse, JournalAnalyticsOverviewRequest, JournalAnalyticsOverviewResponse, JournalTimeSeriesDataPoint, JournalTimeSeriesRequest, JournalTimeSeriesResponse, K10AnalyticsOverviewRequest, K10AnalyticsOverviewResponse, K10ByRoleEntry, K10ByRoleRequest, K10ByRoleResponse, K10RiskDistributionEntry, K10RiskDistributionRequest, K10RiskDistributionResponse, K10TimeSeriesDataPoint, K10TimeSeriesRequest, K10TimeSeriesResponse, K10UserProgressEntry, K10UserProgressRequest, K10UserProgressResponse, MentalHealthOutcomesRequest, MentalHealthOutcomesResponse, MoodDistributionByRoleEntry, MoodDistributionByRoleRequest, MoodDistributionByRoleResponse, MoodSummaryRequest, MoodSummaryResponse, MoodTrendDataPoint, MoodTrendsRequest, MoodTrendsResponse, MoodUserEngagementEntry, MoodUserEngagementRequest, MoodUserEngagementResponse, TherapyEffectivenessEntry, TherapyEffectivenessRequest, TherapyEffectivenessResponse, TopJournalersEntry, TopJournalersRequest, TopJournalersResponse, UserActivityHeatmapEntry, UserActivityHeatmapRequest, UserActivityHeatmapResponse, UserEngagementScoreEntry, UserEngagementScoreRequest, UserEngagementScoreResponse, UserRetentionCohort, UserRetentionRequest, UserRetentionResponse } from './admin/analytics';
|
|
31
31
|
export { CallEvent, ChatTimelineItem, ChatUser, Conversation, DeleteMessageRequest, DeleteMessageResponse, DirectMessage, ListChatTimelineRequest, ListChatTimelineResponse, ListConversationsRequest, ListConversationsResponse, ListDirectMessageCallEventsRequest, ListDirectMessageCallEventsResponse, ListDirectMessagesRequest, ListDirectMessagesResponse, MarkDirectMessagesReadRequest, MarkDirectMessagesReadResponse, MentionedUser, MessageReply, SendDirectMessageRequest, SendDirectMessageResponse } from './chat/message';
|
|
32
|
-
export { CallHistoryItem, CallInvitation, CallParticipant, CallRoom, EndCallRequest, EndCallResponse, GetCallHistoryRequest, GetCallHistoryResponse, GetCallStatusRequest, GetCallStatusResponse, GetCallTokenRequest, GetCallTokenResponse, InitiateCallRequest, InitiateCallResponse, InviteParticipantRequest, InviteParticipantResponse, JoinCallRequest, JoinCallResponse, JoinLiveMeetingByMeetingIdRequest, LeaveCallRequest, LeaveCallResponse, ListActiveCallsRequest, ListActiveCallsResponse, ListPendingInvitationsRequest, ListPendingInvitationsResponse, RemoveCallParticipantRequest, RemoveCallParticipantResponse, RespondToInvitationRequest, RespondToInvitationResponse } from './call/message';
|
|
32
|
+
export { CallHistoryItem, CallInvitation, CallParticipant, CallRoom, EndCallRequest, EndCallResponse, GetCallHistoryRequest, GetCallHistoryResponse, GetCallStatusRequest, GetCallStatusResponse, GetCallTokenRequest, GetCallTokenResponse, InitiateCallRequest, InitiateCallResponse, InviteParticipantRequest, InviteParticipantResponse, JoinCallRequest, JoinCallResponse, JoinLiveMeetingByMeetingIdRequest, LeaveCallRequest, LeaveCallResponse, ListActiveCallsRequest, ListActiveCallsResponse, ListPendingInvitationsRequest, ListPendingInvitationsResponse, RecordCallQualityRequest, RecordCallQualityResponse, RemoveCallParticipantRequest, RemoveCallParticipantResponse, RespondToInvitationRequest, RespondToInvitationResponse } from './call/message';
|
|
33
33
|
export { CallParticipantRole, CallParticipantRole_Value, CallParticipantStatus, CallParticipantStatus_Value, CallRoomStatus, CallRoomStatus_Value, CallRoomType, CallRoomType_Value, CallType, CallType_Value, ConnectionQuality, ConnectionQuality_Value, callParticipantRole_ValueFromJSON, callParticipantRole_ValueToJSON, callParticipantStatus_ValueFromJSON, callParticipantStatus_ValueToJSON, callRoomStatus_ValueFromJSON, callRoomStatus_ValueToJSON, callRoomType_ValueFromJSON, callRoomType_ValueToJSON, callType_ValueFromJSON, callType_ValueToJSON, connectionQuality_ValueFromJSON, connectionQuality_ValueToJSON } from './call/enum';
|
|
34
34
|
export { CallServiceDefinition } from './call/service';
|
|
35
|
-
export { CancelSessionRequest, CompleteSessionRequest, ConfirmSessionRequest, ConfirmSessionResponse, CreateSessionNoteRequest, CreateSessionNoteResponse, CreateSessionRequest, EndLiveSessionRequest, GetLiveSessionRequest, GetSessionRequest, ListTherapySessionsRequest, ListTherapySessionsResponse, LiveSessionItem, PaymentInput, RateSessionRequest, RateSessionResponse, RescheduleSessionRequest, SessionIntakeDetails, SessionItem, SessionParticipant, SessionParticipantInput, StartLiveSessionRequest, UpdateSessionRequest } from './session/message';
|
|
35
|
+
export { CancelSessionRequest, CompleteSessionRequest, ConfirmSessionRequest, ConfirmSessionResponse, CreateSessionNoteRequest, CreateSessionNoteResponse, CreateSessionRequest, EndLiveSessionRequest, GetLiveSessionRequest, GetSessionRequest, ListTherapySessionsRequest, ListTherapySessionsResponse, LiveSessionItem, PaymentInput, RateSessionRequest, RateSessionResponse, RescheduleSessionRequest, SessionClinicalInsight, SessionIntakeDetails, SessionItem, SessionParticipant, SessionParticipantInput, StartLiveSessionRequest, UpdateSessionRequest } from './session/message';
|
|
36
36
|
export { CancelSubscriptionRequest, CancelSubscriptionResponse, CreateRecommendationRequest, CreateRecommendationResponse, GetDownloadUrlRequest, GetDownloadUrlResponse, GetPlaybackUrlRequest, GetPlaybackUrlResponse, GetSubscriptionRequest, GetSubscriptionResponse, GetTrackRequest, GetTrackResponse, GiftSubscriptionRequest, GiftSubscriptionResponse, ListCategoriesRequest, ListCategoriesResponse, ListMyRecommendationsRequest, ListMyRecommendationsResponse, ListPlansRequest, ListPlansResponse, ListRecommendationsRequest, ListRecommendationsResponse, ListTracksRequest, ListTracksResponse, RecommendationItem, SoundscapeCategory, SoundscapePaymentInput, SoundscapePlan, SoundscapeTrack, SubscribeRequest, SubscribeResponse, TrackSoundscapeListeningRequest, TrackSoundscapeListeningResponse, UnlockTrackRequest, UnlockTrackResponse } from './soundscape/message';
|
|
37
37
|
export { ChatCallStatus, ChatCallStatus_Value, chatCallStatus_ValueFromJSON, chatCallStatus_ValueToJSON } from './chat/enum';
|
|
38
38
|
export { ChatServiceDefinition } from './chat/service';
|
package/dist/index.js
CHANGED
|
@@ -36,15 +36,15 @@ exports.Post = exports.PinPostResponse = exports.PinPostRequest = exports.NodPos
|
|
|
36
36
|
exports.bugSeverity_ValueFromJSON = exports.bugReportStatus_ValueToJSON = exports.bugReportStatus_ValueFromJSON = exports.bugEnvironment_ValueToJSON = exports.bugEnvironment_ValueFromJSON = exports.BugSeverity_Value = exports.BugSeverity = exports.BugReportStatus_Value = exports.BugReportStatus = exports.BugEnvironment_Value = exports.BugEnvironment = exports.UInt64Value = exports.UInt32Value = exports.StringValue = exports.Int64Value = exports.Int32Value = exports.FloatValue = exports.DoubleValue = exports.BytesValue = exports.BoolValue = exports.UpdatePostResponse = exports.UpdatePostRequest = exports.UpdateCommentResponse = exports.UpdateCommentRequest = exports.UnreactPostResponse = exports.UnreactPostRequest = exports.UnreactCommentResponse = exports.UnreactCommentRequest = exports.UnnodPostResponse = exports.UnnodPostRequest = exports.UnnodCommentResponse = exports.UnnodCommentRequest = exports.UnlikePostResponse = exports.UnlikePostRequest = exports.UnlikeCommentResponse = exports.UnlikeCommentRequest = exports.UnhidePostResponse = exports.UnhidePostRequest = exports.UnbookmarkPostResponse = exports.UnbookmarkPostRequest = exports.SharePostResponse = exports.SharePostRequest = exports.ReportContentResponse = exports.ReportContentRequest = exports.ReactionCounts = exports.ReactPostResponse = exports.ReactPostRequest = exports.ReactCommentResponse = exports.ReactCommentRequest = exports.PostAuthor = void 0;
|
|
37
37
|
exports.K10TimeSeriesResponse = exports.K10TimeSeriesRequest = exports.K10TimeSeriesDataPoint = exports.K10RiskDistributionResponse = exports.K10RiskDistributionRequest = exports.K10RiskDistributionEntry = exports.K10ByRoleResponse = exports.K10ByRoleRequest = exports.K10ByRoleEntry = exports.K10AnalyticsOverviewResponse = exports.K10AnalyticsOverviewRequest = exports.JournalTimeSeriesResponse = exports.JournalTimeSeriesRequest = exports.JournalTimeSeriesDataPoint = exports.JournalAnalyticsOverviewResponse = exports.JournalAnalyticsOverviewRequest = exports.CallTimeSeriesResponse = exports.CallTimeSeriesRequest = exports.CallTimeSeriesDataPoint = exports.CallQualityMetricsResponse = exports.CallQualityMetricsRequest = exports.CallParticipationResponse = exports.CallParticipationRequest = exports.CallParticipationEntry = exports.CallByTypeResponse = exports.CallByTypeRequest = exports.CallByTypeEntry = exports.CallAnalyticsOverviewResponse = exports.CallAnalyticsOverviewRequest = exports.CalendarServiceDefinition = exports.calendarFilter_ValueToJSON = exports.calendarFilter_ValueFromJSON = exports.calendarEventType_ValueToJSON = exports.calendarEventType_ValueFromJSON = exports.CalendarFilter_Value = exports.CalendarFilter = exports.CalendarEventType_Value = exports.CalendarEventType = exports.UpdateCalendarEventResponse = exports.UpdateCalendarEventRequest = exports.GetCalendarEventsResponse = exports.GetCalendarEventsRequest = exports.DeleteCalendarEventResponse = exports.DeleteCalendarEventRequest = exports.CreateCalendarEventResponse = exports.CreateCalendarEventRequest = exports.CalendarStats = exports.CalendarEvent = exports.BugReportServiceDefinition = exports.bugSeverity_ValueToJSON = void 0;
|
|
38
38
|
exports.MessageReply = exports.MentionedUser = exports.MarkDirectMessagesReadResponse = exports.MarkDirectMessagesReadRequest = exports.ListDirectMessagesResponse = exports.ListDirectMessagesRequest = exports.ListDirectMessageCallEventsResponse = exports.ListDirectMessageCallEventsRequest = exports.ListConversationsResponse = exports.ListConversationsRequest = exports.ListChatTimelineResponse = exports.ListChatTimelineRequest = exports.DirectMessage = exports.DeleteMessageResponse = exports.DeleteMessageRequest = exports.Conversation = exports.ChatUser = exports.ChatTimelineItem = exports.CallEvent = exports.UserRetentionResponse = exports.UserRetentionRequest = exports.UserRetentionCohort = exports.UserEngagementScoreResponse = exports.UserEngagementScoreRequest = exports.UserEngagementScoreEntry = exports.UserActivityHeatmapResponse = exports.UserActivityHeatmapRequest = exports.UserActivityHeatmapEntry = exports.TopJournalersResponse = exports.TopJournalersRequest = exports.TopJournalersEntry = exports.TherapyEffectivenessResponse = exports.TherapyEffectivenessRequest = exports.TherapyEffectivenessEntry = exports.MoodUserEngagementResponse = exports.MoodUserEngagementRequest = exports.MoodUserEngagementEntry = exports.MoodTrendsResponse = exports.MoodTrendsRequest = exports.MoodTrendDataPoint = exports.MoodSummaryResponse = exports.MoodSummaryRequest = exports.MoodDistributionByRoleResponse = exports.MoodDistributionByRoleRequest = exports.MoodDistributionByRoleEntry = exports.MentalHealthOutcomesResponse = exports.MentalHealthOutcomesRequest = exports.K10UserProgressResponse = exports.K10UserProgressRequest = exports.K10UserProgressEntry = void 0;
|
|
39
|
-
exports.
|
|
40
|
-
exports.
|
|
41
|
-
exports.
|
|
42
|
-
exports.
|
|
43
|
-
exports.
|
|
44
|
-
exports.
|
|
45
|
-
exports.
|
|
46
|
-
exports.
|
|
47
|
-
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 = 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 = void 0;
|
|
39
|
+
exports.callRoomStatus_ValueFromJSON = exports.callParticipantStatus_ValueToJSON = exports.callParticipantStatus_ValueFromJSON = exports.callParticipantRole_ValueToJSON = exports.callParticipantRole_ValueFromJSON = exports.ConnectionQuality_Value = exports.ConnectionQuality = exports.CallType_Value = exports.CallType = exports.CallRoomType_Value = exports.CallRoomType = exports.CallRoomStatus_Value = exports.CallRoomStatus = exports.CallParticipantStatus_Value = exports.CallParticipantStatus = exports.CallParticipantRole_Value = exports.CallParticipantRole = exports.RespondToInvitationResponse = exports.RespondToInvitationRequest = exports.RemoveCallParticipantResponse = exports.RemoveCallParticipantRequest = exports.RecordCallQualityResponse = exports.RecordCallQualityRequest = exports.ListPendingInvitationsResponse = exports.ListPendingInvitationsRequest = exports.ListActiveCallsResponse = exports.ListActiveCallsRequest = exports.LeaveCallResponse = exports.LeaveCallRequest = exports.JoinLiveMeetingByMeetingIdRequest = exports.JoinCallResponse = exports.JoinCallRequest = exports.InviteParticipantResponse = exports.InviteParticipantRequest = exports.InitiateCallResponse = exports.InitiateCallRequest = exports.GetCallTokenResponse = exports.GetCallTokenRequest = exports.GetCallStatusResponse = exports.GetCallStatusRequest = exports.GetCallHistoryResponse = exports.GetCallHistoryRequest = exports.EndCallResponse = exports.EndCallRequest = exports.CallRoom = exports.CallParticipant = exports.CallInvitation = exports.CallHistoryItem = exports.SendDirectMessageResponse = exports.SendDirectMessageRequest = void 0;
|
|
40
|
+
exports.ListMyRecommendationsResponse = exports.ListMyRecommendationsRequest = exports.ListCategoriesResponse = exports.ListCategoriesRequest = exports.GiftSubscriptionResponse = exports.GiftSubscriptionRequest = exports.GetTrackResponse = exports.GetTrackRequest = exports.GetSubscriptionResponse = exports.GetSubscriptionRequest = exports.GetPlaybackUrlResponse = exports.GetPlaybackUrlRequest = exports.GetDownloadUrlResponse = exports.GetDownloadUrlRequest = exports.CreateRecommendationResponse = exports.CreateRecommendationRequest = exports.CancelSubscriptionResponse = exports.CancelSubscriptionRequest = exports.UpdateSessionRequest = exports.StartLiveSessionRequest = exports.SessionParticipantInput = exports.SessionParticipant = exports.SessionItem = exports.SessionIntakeDetails = exports.SessionClinicalInsight = exports.RescheduleSessionRequest = exports.RateSessionResponse = exports.RateSessionRequest = exports.PaymentInput = exports.LiveSessionItem = exports.ListTherapySessionsResponse = exports.ListTherapySessionsRequest = exports.GetSessionRequest = exports.GetLiveSessionRequest = exports.EndLiveSessionRequest = exports.CreateSessionRequest = exports.CreateSessionNoteResponse = exports.CreateSessionNoteRequest = exports.ConfirmSessionResponse = exports.ConfirmSessionRequest = exports.CompleteSessionRequest = exports.CancelSessionRequest = exports.CallServiceDefinition = exports.connectionQuality_ValueToJSON = exports.connectionQuality_ValueFromJSON = exports.callType_ValueToJSON = exports.callType_ValueFromJSON = exports.callRoomType_ValueToJSON = exports.callRoomType_ValueFromJSON = exports.callRoomStatus_ValueToJSON = void 0;
|
|
41
|
+
exports.RecentActivity = exports.PaginationStats = exports.ListUsersResponse = exports.ListUsersRequest = exports.GetMyTherapistResponse = 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 = void 0;
|
|
42
|
+
exports.FeatureSetDefaults_FeatureSetEditionDefault = exports.FeatureSetDefaults = exports.FeatureSet = exports.ExtensionRangeOptions_VerificationState = exports.ExtensionRangeOptions_Declaration = exports.ExtensionRangeOptions = exports.EnumValueOptions = exports.EnumValueDescriptorProto = exports.EnumOptions = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.Edition = 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 = void 0;
|
|
43
|
+
exports.featureSet_Utf8ValidationFromJSON = exports.featureSet_RepeatedFieldEncodingToJSON = exports.featureSet_RepeatedFieldEncodingFromJSON = exports.featureSet_MessageEncodingToJSON = exports.featureSet_MessageEncodingFromJSON = exports.featureSet_JsonFormatToJSON = exports.featureSet_JsonFormatFromJSON = exports.featureSet_FieldPresenceToJSON = exports.featureSet_FieldPresenceFromJSON = exports.featureSet_EnumTypeToJSON = exports.featureSet_EnumTypeFromJSON = exports.extensionRangeOptions_VerificationStateToJSON = exports.extensionRangeOptions_VerificationStateFromJSON = exports.editionToJSON = exports.editionFromJSON = 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_Semantic = exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.FileOptions_OptimizeMode = exports.FileOptions = exports.FileDescriptorSet = exports.FileDescriptorProto = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSType = exports.FieldOptions_FeatureSupport = exports.FieldOptions_EditionDefault = exports.FieldOptions_CType = exports.FieldOptions = exports.FieldDescriptorProto_Type = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto = exports.FeatureSet_Utf8Validation = exports.FeatureSet_RepeatedFieldEncoding = exports.FeatureSet_MessageEncoding = exports.FeatureSet_JsonFormat = exports.FeatureSet_FieldPresence = exports.FeatureSet_EnumType = void 0;
|
|
44
|
+
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.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 = exports.fieldOptions_OptionRetentionToJSON = exports.fieldOptions_OptionRetentionFromJSON = 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.featureSet_Utf8ValidationToJSON = void 0;
|
|
45
|
+
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 = exports.WebSocketReadReceiptEvent = exports.WebSocketPresenceUpdateEvent = exports.WebSocketPongEvent = exports.WebSocketOutgoingEvent = exports.WebSocketOrganizationSubscriptionEvent = exports.WebSocketOnlineUsersEvent = exports.WebSocketNewDirectMessageEvent = exports.WebSocketMissedCallEvent = exports.WebSocketIncomingMessage = exports.WebSocketIncomingCallEvent = void 0;
|
|
46
|
+
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 = 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 = void 0;
|
|
47
|
+
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 = 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 = void 0;
|
|
48
48
|
var message_1 = require("./lounge/message");
|
|
49
49
|
Object.defineProperty(exports, "AcceptConsultationResponseRequest", { enumerable: true, get: function () { return message_1.AcceptConsultationResponseRequest; } });
|
|
50
50
|
Object.defineProperty(exports, "AcceptConsultationResponseResponse", { enumerable: true, get: function () { return message_1.AcceptConsultationResponseResponse; } });
|
|
@@ -1904,6 +1904,8 @@ Object.defineProperty(exports, "ListActiveCallsRequest", { enumerable: true, get
|
|
|
1904
1904
|
Object.defineProperty(exports, "ListActiveCallsResponse", { enumerable: true, get: function () { return message_17.ListActiveCallsResponse; } });
|
|
1905
1905
|
Object.defineProperty(exports, "ListPendingInvitationsRequest", { enumerable: true, get: function () { return message_17.ListPendingInvitationsRequest; } });
|
|
1906
1906
|
Object.defineProperty(exports, "ListPendingInvitationsResponse", { enumerable: true, get: function () { return message_17.ListPendingInvitationsResponse; } });
|
|
1907
|
+
Object.defineProperty(exports, "RecordCallQualityRequest", { enumerable: true, get: function () { return message_17.RecordCallQualityRequest; } });
|
|
1908
|
+
Object.defineProperty(exports, "RecordCallQualityResponse", { enumerable: true, get: function () { return message_17.RecordCallQualityResponse; } });
|
|
1907
1909
|
Object.defineProperty(exports, "RemoveCallParticipantRequest", { enumerable: true, get: function () { return message_17.RemoveCallParticipantRequest; } });
|
|
1908
1910
|
Object.defineProperty(exports, "RemoveCallParticipantResponse", { enumerable: true, get: function () { return message_17.RemoveCallParticipantResponse; } });
|
|
1909
1911
|
Object.defineProperty(exports, "RespondToInvitationRequest", { enumerable: true, get: function () { return message_17.RespondToInvitationRequest; } });
|
|
@@ -1953,6 +1955,7 @@ Object.defineProperty(exports, "PaymentInput", { enumerable: true, get: function
|
|
|
1953
1955
|
Object.defineProperty(exports, "RateSessionRequest", { enumerable: true, get: function () { return message_18.RateSessionRequest; } });
|
|
1954
1956
|
Object.defineProperty(exports, "RateSessionResponse", { enumerable: true, get: function () { return message_18.RateSessionResponse; } });
|
|
1955
1957
|
Object.defineProperty(exports, "RescheduleSessionRequest", { enumerable: true, get: function () { return message_18.RescheduleSessionRequest; } });
|
|
1958
|
+
Object.defineProperty(exports, "SessionClinicalInsight", { enumerable: true, get: function () { return message_18.SessionClinicalInsight; } });
|
|
1956
1959
|
Object.defineProperty(exports, "SessionIntakeDetails", { enumerable: true, get: function () { return message_18.SessionIntakeDetails; } });
|
|
1957
1960
|
Object.defineProperty(exports, "SessionItem", { enumerable: true, get: function () { return message_18.SessionItem; } });
|
|
1958
1961
|
Object.defineProperty(exports, "SessionParticipant", { enumerable: true, get: function () { return message_18.SessionParticipant; } });
|
|
@@ -29,6 +29,20 @@ export interface SessionParticipant {
|
|
|
29
29
|
relationship: string;
|
|
30
30
|
label: string;
|
|
31
31
|
}
|
|
32
|
+
export interface SessionClinicalInsight {
|
|
33
|
+
summary: string;
|
|
34
|
+
lastSessionSummary: string;
|
|
35
|
+
k10Trend: string;
|
|
36
|
+
moodTrend: string;
|
|
37
|
+
callQualitySummary: string;
|
|
38
|
+
responsePattern: string;
|
|
39
|
+
signals: string[];
|
|
40
|
+
recommendedInterventions: string[];
|
|
41
|
+
latestK10Score: string;
|
|
42
|
+
previousK10Score: string;
|
|
43
|
+
latestK10Severity: string;
|
|
44
|
+
previousK10Severity: string;
|
|
45
|
+
}
|
|
32
46
|
export interface SessionIntakeDetails {
|
|
33
47
|
issueType: string;
|
|
34
48
|
severity: string;
|
|
@@ -127,6 +141,8 @@ export interface SessionItem {
|
|
|
127
141
|
allowUnscheduledSessionCall: boolean;
|
|
128
142
|
sessionParticipationType: SessionParticipationType_Value;
|
|
129
143
|
additionalParticipants: SessionParticipant[];
|
|
144
|
+
insight: SessionClinicalInsight | undefined;
|
|
145
|
+
organizationNotificationSent: boolean;
|
|
130
146
|
}
|
|
131
147
|
export interface GetSessionRequest {
|
|
132
148
|
sessionId: string;
|
|
@@ -208,6 +224,7 @@ export interface RateSessionResponse {
|
|
|
208
224
|
export declare const CreateSessionRequest: MessageFns<CreateSessionRequest>;
|
|
209
225
|
export declare const SessionParticipantInput: MessageFns<SessionParticipantInput>;
|
|
210
226
|
export declare const SessionParticipant: MessageFns<SessionParticipant>;
|
|
227
|
+
export declare const SessionClinicalInsight: MessageFns<SessionClinicalInsight>;
|
|
211
228
|
export declare const SessionIntakeDetails: MessageFns<SessionIntakeDetails>;
|
|
212
229
|
export declare const PaymentInput: MessageFns<PaymentInput>;
|
|
213
230
|
export declare const UpdateSessionRequest: MessageFns<UpdateSessionRequest>;
|
package/dist/session/message.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
// protoc v5.27.3
|
|
6
6
|
// source: session/message.proto
|
|
7
7
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
8
|
-
exports.RateSessionResponse = exports.RateSessionRequest = exports.CreateSessionNoteResponse = exports.CreateSessionNoteRequest = exports.ConfirmSessionResponse = exports.ConfirmSessionRequest = exports.EndLiveSessionRequest = exports.GetLiveSessionRequest = exports.LiveSessionItem = exports.StartLiveSessionRequest = exports.CompleteSessionRequest = exports.CancelSessionRequest = exports.RescheduleSessionRequest = exports.ListTherapySessionsResponse = exports.ListTherapySessionsRequest = exports.GetSessionRequest = exports.SessionItem = exports.UpdateSessionRequest = exports.PaymentInput = exports.SessionIntakeDetails = exports.SessionParticipant = exports.SessionParticipantInput = exports.CreateSessionRequest = exports.protobufPackage = void 0;
|
|
8
|
+
exports.RateSessionResponse = exports.RateSessionRequest = exports.CreateSessionNoteResponse = exports.CreateSessionNoteRequest = exports.ConfirmSessionResponse = exports.ConfirmSessionRequest = exports.EndLiveSessionRequest = exports.GetLiveSessionRequest = exports.LiveSessionItem = exports.StartLiveSessionRequest = exports.CompleteSessionRequest = exports.CancelSessionRequest = exports.RescheduleSessionRequest = exports.ListTherapySessionsResponse = exports.ListTherapySessionsRequest = exports.GetSessionRequest = exports.SessionItem = exports.UpdateSessionRequest = exports.PaymentInput = exports.SessionIntakeDetails = exports.SessionClinicalInsight = exports.SessionParticipant = exports.SessionParticipantInput = exports.CreateSessionRequest = exports.protobufPackage = void 0;
|
|
9
9
|
/* eslint-disable */
|
|
10
10
|
const wire_1 = require("@bufbuild/protobuf/wire");
|
|
11
11
|
const common_1 = require("../common");
|
|
@@ -446,6 +446,241 @@ exports.SessionParticipant = {
|
|
|
446
446
|
return message;
|
|
447
447
|
},
|
|
448
448
|
};
|
|
449
|
+
function createBaseSessionClinicalInsight() {
|
|
450
|
+
return {
|
|
451
|
+
summary: "",
|
|
452
|
+
lastSessionSummary: "",
|
|
453
|
+
k10Trend: "",
|
|
454
|
+
moodTrend: "",
|
|
455
|
+
callQualitySummary: "",
|
|
456
|
+
responsePattern: "",
|
|
457
|
+
signals: [],
|
|
458
|
+
recommendedInterventions: [],
|
|
459
|
+
latestK10Score: "",
|
|
460
|
+
previousK10Score: "",
|
|
461
|
+
latestK10Severity: "",
|
|
462
|
+
previousK10Severity: "",
|
|
463
|
+
};
|
|
464
|
+
}
|
|
465
|
+
exports.SessionClinicalInsight = {
|
|
466
|
+
encode(message, writer = new wire_1.BinaryWriter()) {
|
|
467
|
+
if (message.summary !== "") {
|
|
468
|
+
writer.uint32(10).string(message.summary);
|
|
469
|
+
}
|
|
470
|
+
if (message.lastSessionSummary !== "") {
|
|
471
|
+
writer.uint32(18).string(message.lastSessionSummary);
|
|
472
|
+
}
|
|
473
|
+
if (message.k10Trend !== "") {
|
|
474
|
+
writer.uint32(26).string(message.k10Trend);
|
|
475
|
+
}
|
|
476
|
+
if (message.moodTrend !== "") {
|
|
477
|
+
writer.uint32(34).string(message.moodTrend);
|
|
478
|
+
}
|
|
479
|
+
if (message.callQualitySummary !== "") {
|
|
480
|
+
writer.uint32(42).string(message.callQualitySummary);
|
|
481
|
+
}
|
|
482
|
+
if (message.responsePattern !== "") {
|
|
483
|
+
writer.uint32(50).string(message.responsePattern);
|
|
484
|
+
}
|
|
485
|
+
for (const v of message.signals) {
|
|
486
|
+
writer.uint32(58).string(v);
|
|
487
|
+
}
|
|
488
|
+
for (const v of message.recommendedInterventions) {
|
|
489
|
+
writer.uint32(66).string(v);
|
|
490
|
+
}
|
|
491
|
+
if (message.latestK10Score !== "") {
|
|
492
|
+
writer.uint32(74).string(message.latestK10Score);
|
|
493
|
+
}
|
|
494
|
+
if (message.previousK10Score !== "") {
|
|
495
|
+
writer.uint32(82).string(message.previousK10Score);
|
|
496
|
+
}
|
|
497
|
+
if (message.latestK10Severity !== "") {
|
|
498
|
+
writer.uint32(90).string(message.latestK10Severity);
|
|
499
|
+
}
|
|
500
|
+
if (message.previousK10Severity !== "") {
|
|
501
|
+
writer.uint32(98).string(message.previousK10Severity);
|
|
502
|
+
}
|
|
503
|
+
return writer;
|
|
504
|
+
},
|
|
505
|
+
decode(input, length) {
|
|
506
|
+
const reader = input instanceof wire_1.BinaryReader ? input : new wire_1.BinaryReader(input);
|
|
507
|
+
const end = length === undefined ? reader.len : reader.pos + length;
|
|
508
|
+
const message = createBaseSessionClinicalInsight();
|
|
509
|
+
while (reader.pos < end) {
|
|
510
|
+
const tag = reader.uint32();
|
|
511
|
+
switch (tag >>> 3) {
|
|
512
|
+
case 1: {
|
|
513
|
+
if (tag !== 10) {
|
|
514
|
+
break;
|
|
515
|
+
}
|
|
516
|
+
message.summary = reader.string();
|
|
517
|
+
continue;
|
|
518
|
+
}
|
|
519
|
+
case 2: {
|
|
520
|
+
if (tag !== 18) {
|
|
521
|
+
break;
|
|
522
|
+
}
|
|
523
|
+
message.lastSessionSummary = reader.string();
|
|
524
|
+
continue;
|
|
525
|
+
}
|
|
526
|
+
case 3: {
|
|
527
|
+
if (tag !== 26) {
|
|
528
|
+
break;
|
|
529
|
+
}
|
|
530
|
+
message.k10Trend = reader.string();
|
|
531
|
+
continue;
|
|
532
|
+
}
|
|
533
|
+
case 4: {
|
|
534
|
+
if (tag !== 34) {
|
|
535
|
+
break;
|
|
536
|
+
}
|
|
537
|
+
message.moodTrend = reader.string();
|
|
538
|
+
continue;
|
|
539
|
+
}
|
|
540
|
+
case 5: {
|
|
541
|
+
if (tag !== 42) {
|
|
542
|
+
break;
|
|
543
|
+
}
|
|
544
|
+
message.callQualitySummary = reader.string();
|
|
545
|
+
continue;
|
|
546
|
+
}
|
|
547
|
+
case 6: {
|
|
548
|
+
if (tag !== 50) {
|
|
549
|
+
break;
|
|
550
|
+
}
|
|
551
|
+
message.responsePattern = reader.string();
|
|
552
|
+
continue;
|
|
553
|
+
}
|
|
554
|
+
case 7: {
|
|
555
|
+
if (tag !== 58) {
|
|
556
|
+
break;
|
|
557
|
+
}
|
|
558
|
+
message.signals.push(reader.string());
|
|
559
|
+
continue;
|
|
560
|
+
}
|
|
561
|
+
case 8: {
|
|
562
|
+
if (tag !== 66) {
|
|
563
|
+
break;
|
|
564
|
+
}
|
|
565
|
+
message.recommendedInterventions.push(reader.string());
|
|
566
|
+
continue;
|
|
567
|
+
}
|
|
568
|
+
case 9: {
|
|
569
|
+
if (tag !== 74) {
|
|
570
|
+
break;
|
|
571
|
+
}
|
|
572
|
+
message.latestK10Score = reader.string();
|
|
573
|
+
continue;
|
|
574
|
+
}
|
|
575
|
+
case 10: {
|
|
576
|
+
if (tag !== 82) {
|
|
577
|
+
break;
|
|
578
|
+
}
|
|
579
|
+
message.previousK10Score = reader.string();
|
|
580
|
+
continue;
|
|
581
|
+
}
|
|
582
|
+
case 11: {
|
|
583
|
+
if (tag !== 90) {
|
|
584
|
+
break;
|
|
585
|
+
}
|
|
586
|
+
message.latestK10Severity = reader.string();
|
|
587
|
+
continue;
|
|
588
|
+
}
|
|
589
|
+
case 12: {
|
|
590
|
+
if (tag !== 98) {
|
|
591
|
+
break;
|
|
592
|
+
}
|
|
593
|
+
message.previousK10Severity = reader.string();
|
|
594
|
+
continue;
|
|
595
|
+
}
|
|
596
|
+
}
|
|
597
|
+
if ((tag & 7) === 4 || tag === 0) {
|
|
598
|
+
break;
|
|
599
|
+
}
|
|
600
|
+
reader.skip(tag & 7);
|
|
601
|
+
}
|
|
602
|
+
return message;
|
|
603
|
+
},
|
|
604
|
+
fromJSON(object) {
|
|
605
|
+
return {
|
|
606
|
+
summary: isSet(object.summary) ? globalThis.String(object.summary) : "",
|
|
607
|
+
lastSessionSummary: isSet(object.lastSessionSummary) ? globalThis.String(object.lastSessionSummary) : "",
|
|
608
|
+
k10Trend: isSet(object.k10Trend) ? globalThis.String(object.k10Trend) : "",
|
|
609
|
+
moodTrend: isSet(object.moodTrend) ? globalThis.String(object.moodTrend) : "",
|
|
610
|
+
callQualitySummary: isSet(object.callQualitySummary) ? globalThis.String(object.callQualitySummary) : "",
|
|
611
|
+
responsePattern: isSet(object.responsePattern) ? globalThis.String(object.responsePattern) : "",
|
|
612
|
+
signals: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.signals) ? object.signals.map((e) => globalThis.String(e)) : [],
|
|
613
|
+
recommendedInterventions: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.recommendedInterventions)
|
|
614
|
+
? object.recommendedInterventions.map((e) => globalThis.String(e))
|
|
615
|
+
: [],
|
|
616
|
+
latestK10Score: isSet(object.latestK10Score) ? globalThis.String(object.latestK10Score) : "",
|
|
617
|
+
previousK10Score: isSet(object.previousK10Score) ? globalThis.String(object.previousK10Score) : "",
|
|
618
|
+
latestK10Severity: isSet(object.latestK10Severity) ? globalThis.String(object.latestK10Severity) : "",
|
|
619
|
+
previousK10Severity: isSet(object.previousK10Severity) ? globalThis.String(object.previousK10Severity) : "",
|
|
620
|
+
};
|
|
621
|
+
},
|
|
622
|
+
toJSON(message) {
|
|
623
|
+
var _a, _b;
|
|
624
|
+
const obj = {};
|
|
625
|
+
if (message.summary !== "") {
|
|
626
|
+
obj.summary = message.summary;
|
|
627
|
+
}
|
|
628
|
+
if (message.lastSessionSummary !== "") {
|
|
629
|
+
obj.lastSessionSummary = message.lastSessionSummary;
|
|
630
|
+
}
|
|
631
|
+
if (message.k10Trend !== "") {
|
|
632
|
+
obj.k10Trend = message.k10Trend;
|
|
633
|
+
}
|
|
634
|
+
if (message.moodTrend !== "") {
|
|
635
|
+
obj.moodTrend = message.moodTrend;
|
|
636
|
+
}
|
|
637
|
+
if (message.callQualitySummary !== "") {
|
|
638
|
+
obj.callQualitySummary = message.callQualitySummary;
|
|
639
|
+
}
|
|
640
|
+
if (message.responsePattern !== "") {
|
|
641
|
+
obj.responsePattern = message.responsePattern;
|
|
642
|
+
}
|
|
643
|
+
if ((_a = message.signals) === null || _a === void 0 ? void 0 : _a.length) {
|
|
644
|
+
obj.signals = message.signals;
|
|
645
|
+
}
|
|
646
|
+
if ((_b = message.recommendedInterventions) === null || _b === void 0 ? void 0 : _b.length) {
|
|
647
|
+
obj.recommendedInterventions = message.recommendedInterventions;
|
|
648
|
+
}
|
|
649
|
+
if (message.latestK10Score !== "") {
|
|
650
|
+
obj.latestK10Score = message.latestK10Score;
|
|
651
|
+
}
|
|
652
|
+
if (message.previousK10Score !== "") {
|
|
653
|
+
obj.previousK10Score = message.previousK10Score;
|
|
654
|
+
}
|
|
655
|
+
if (message.latestK10Severity !== "") {
|
|
656
|
+
obj.latestK10Severity = message.latestK10Severity;
|
|
657
|
+
}
|
|
658
|
+
if (message.previousK10Severity !== "") {
|
|
659
|
+
obj.previousK10Severity = message.previousK10Severity;
|
|
660
|
+
}
|
|
661
|
+
return obj;
|
|
662
|
+
},
|
|
663
|
+
create(base) {
|
|
664
|
+
return exports.SessionClinicalInsight.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
665
|
+
},
|
|
666
|
+
fromPartial(object) {
|
|
667
|
+
var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m;
|
|
668
|
+
const message = createBaseSessionClinicalInsight();
|
|
669
|
+
message.summary = (_a = object.summary) !== null && _a !== void 0 ? _a : "";
|
|
670
|
+
message.lastSessionSummary = (_b = object.lastSessionSummary) !== null && _b !== void 0 ? _b : "";
|
|
671
|
+
message.k10Trend = (_c = object.k10Trend) !== null && _c !== void 0 ? _c : "";
|
|
672
|
+
message.moodTrend = (_d = object.moodTrend) !== null && _d !== void 0 ? _d : "";
|
|
673
|
+
message.callQualitySummary = (_e = object.callQualitySummary) !== null && _e !== void 0 ? _e : "";
|
|
674
|
+
message.responsePattern = (_f = object.responsePattern) !== null && _f !== void 0 ? _f : "";
|
|
675
|
+
message.signals = ((_g = object.signals) === null || _g === void 0 ? void 0 : _g.map((e) => e)) || [];
|
|
676
|
+
message.recommendedInterventions = ((_h = object.recommendedInterventions) === null || _h === void 0 ? void 0 : _h.map((e) => e)) || [];
|
|
677
|
+
message.latestK10Score = (_j = object.latestK10Score) !== null && _j !== void 0 ? _j : "";
|
|
678
|
+
message.previousK10Score = (_k = object.previousK10Score) !== null && _k !== void 0 ? _k : "";
|
|
679
|
+
message.latestK10Severity = (_l = object.latestK10Severity) !== null && _l !== void 0 ? _l : "";
|
|
680
|
+
message.previousK10Severity = (_m = object.previousK10Severity) !== null && _m !== void 0 ? _m : "";
|
|
681
|
+
return message;
|
|
682
|
+
},
|
|
683
|
+
};
|
|
449
684
|
function createBaseSessionIntakeDetails() {
|
|
450
685
|
return {
|
|
451
686
|
issueType: "",
|
|
@@ -1296,6 +1531,8 @@ function createBaseSessionItem() {
|
|
|
1296
1531
|
allowUnscheduledSessionCall: false,
|
|
1297
1532
|
sessionParticipationType: 0,
|
|
1298
1533
|
additionalParticipants: [],
|
|
1534
|
+
insight: undefined,
|
|
1535
|
+
organizationNotificationSent: false,
|
|
1299
1536
|
};
|
|
1300
1537
|
}
|
|
1301
1538
|
exports.SessionItem = {
|
|
@@ -1441,6 +1678,12 @@ exports.SessionItem = {
|
|
|
1441
1678
|
for (const v of message.additionalParticipants) {
|
|
1442
1679
|
exports.SessionParticipant.encode(v, writer.uint32(378).fork()).join();
|
|
1443
1680
|
}
|
|
1681
|
+
if (message.insight !== undefined) {
|
|
1682
|
+
exports.SessionClinicalInsight.encode(message.insight, writer.uint32(386).fork()).join();
|
|
1683
|
+
}
|
|
1684
|
+
if (message.organizationNotificationSent !== false) {
|
|
1685
|
+
writer.uint32(392).bool(message.organizationNotificationSent);
|
|
1686
|
+
}
|
|
1444
1687
|
return writer;
|
|
1445
1688
|
},
|
|
1446
1689
|
decode(input, length) {
|
|
@@ -1779,6 +2022,20 @@ exports.SessionItem = {
|
|
|
1779
2022
|
message.additionalParticipants.push(exports.SessionParticipant.decode(reader, reader.uint32()));
|
|
1780
2023
|
continue;
|
|
1781
2024
|
}
|
|
2025
|
+
case 48: {
|
|
2026
|
+
if (tag !== 386) {
|
|
2027
|
+
break;
|
|
2028
|
+
}
|
|
2029
|
+
message.insight = exports.SessionClinicalInsight.decode(reader, reader.uint32());
|
|
2030
|
+
continue;
|
|
2031
|
+
}
|
|
2032
|
+
case 49: {
|
|
2033
|
+
if (tag !== 392) {
|
|
2034
|
+
break;
|
|
2035
|
+
}
|
|
2036
|
+
message.organizationNotificationSent = reader.bool();
|
|
2037
|
+
continue;
|
|
2038
|
+
}
|
|
1782
2039
|
}
|
|
1783
2040
|
if ((tag & 7) === 4 || tag === 0) {
|
|
1784
2041
|
break;
|
|
@@ -1852,6 +2109,10 @@ exports.SessionItem = {
|
|
|
1852
2109
|
additionalParticipants: globalThis.Array.isArray(object === null || object === void 0 ? void 0 : object.additionalParticipants)
|
|
1853
2110
|
? object.additionalParticipants.map((e) => exports.SessionParticipant.fromJSON(e))
|
|
1854
2111
|
: [],
|
|
2112
|
+
insight: isSet(object.insight) ? exports.SessionClinicalInsight.fromJSON(object.insight) : undefined,
|
|
2113
|
+
organizationNotificationSent: isSet(object.organizationNotificationSent)
|
|
2114
|
+
? globalThis.Boolean(object.organizationNotificationSent)
|
|
2115
|
+
: false,
|
|
1855
2116
|
};
|
|
1856
2117
|
},
|
|
1857
2118
|
toJSON(message) {
|
|
@@ -1998,13 +2259,19 @@ exports.SessionItem = {
|
|
|
1998
2259
|
if ((_b = message.additionalParticipants) === null || _b === void 0 ? void 0 : _b.length) {
|
|
1999
2260
|
obj.additionalParticipants = message.additionalParticipants.map((e) => exports.SessionParticipant.toJSON(e));
|
|
2000
2261
|
}
|
|
2262
|
+
if (message.insight !== undefined) {
|
|
2263
|
+
obj.insight = exports.SessionClinicalInsight.toJSON(message.insight);
|
|
2264
|
+
}
|
|
2265
|
+
if (message.organizationNotificationSent !== false) {
|
|
2266
|
+
obj.organizationNotificationSent = message.organizationNotificationSent;
|
|
2267
|
+
}
|
|
2001
2268
|
return obj;
|
|
2002
2269
|
},
|
|
2003
2270
|
create(base) {
|
|
2004
2271
|
return exports.SessionItem.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
2005
2272
|
},
|
|
2006
2273
|
fromPartial(object) {
|
|
2007
|
-
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, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21;
|
|
2274
|
+
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, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22;
|
|
2008
2275
|
const message = createBaseSessionItem();
|
|
2009
2276
|
message.sessionId = (_a = object.sessionId) !== null && _a !== void 0 ? _a : "";
|
|
2010
2277
|
message.clientId = (_b = object.clientId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -2055,6 +2322,10 @@ exports.SessionItem = {
|
|
|
2055
2322
|
message.allowUnscheduledSessionCall = (_19 = object.allowUnscheduledSessionCall) !== null && _19 !== void 0 ? _19 : false;
|
|
2056
2323
|
message.sessionParticipationType = (_20 = object.sessionParticipationType) !== null && _20 !== void 0 ? _20 : 0;
|
|
2057
2324
|
message.additionalParticipants = ((_21 = object.additionalParticipants) === null || _21 === void 0 ? void 0 : _21.map((e) => exports.SessionParticipant.fromPartial(e))) || [];
|
|
2325
|
+
message.insight = (object.insight !== undefined && object.insight !== null)
|
|
2326
|
+
? exports.SessionClinicalInsight.fromPartial(object.insight)
|
|
2327
|
+
: undefined;
|
|
2328
|
+
message.organizationNotificationSent = (_22 = object.organizationNotificationSent) !== null && _22 !== void 0 ? _22 : false;
|
|
2058
2329
|
return message;
|
|
2059
2330
|
},
|
|
2060
2331
|
};
|