theragist-ts 1.0.26 → 1.0.27
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/session/message.d.ts +3 -0
- package/dist/session/message.js +49 -1
- package/package.json +1 -1
|
@@ -59,6 +59,9 @@ export interface SessionItem {
|
|
|
59
59
|
therapistNotes: string;
|
|
60
60
|
therapistPhone: string;
|
|
61
61
|
therapistTherapeuticApproach: string;
|
|
62
|
+
isLive: boolean;
|
|
63
|
+
liveSessionId: string;
|
|
64
|
+
liveSessionStatus: string;
|
|
62
65
|
}
|
|
63
66
|
export interface GetSessionRequest {
|
|
64
67
|
sessionId: string;
|
package/dist/session/message.js
CHANGED
|
@@ -480,6 +480,9 @@ function createBaseSessionItem() {
|
|
|
480
480
|
therapistNotes: "",
|
|
481
481
|
therapistPhone: "",
|
|
482
482
|
therapistTherapeuticApproach: "",
|
|
483
|
+
isLive: false,
|
|
484
|
+
liveSessionId: "",
|
|
485
|
+
liveSessionStatus: "",
|
|
483
486
|
};
|
|
484
487
|
}
|
|
485
488
|
exports.SessionItem = {
|
|
@@ -577,6 +580,15 @@ exports.SessionItem = {
|
|
|
577
580
|
if (message.therapistTherapeuticApproach !== "") {
|
|
578
581
|
writer.uint32(250).string(message.therapistTherapeuticApproach);
|
|
579
582
|
}
|
|
583
|
+
if (message.isLive !== false) {
|
|
584
|
+
writer.uint32(256).bool(message.isLive);
|
|
585
|
+
}
|
|
586
|
+
if (message.liveSessionId !== "") {
|
|
587
|
+
writer.uint32(266).string(message.liveSessionId);
|
|
588
|
+
}
|
|
589
|
+
if (message.liveSessionStatus !== "") {
|
|
590
|
+
writer.uint32(274).string(message.liveSessionStatus);
|
|
591
|
+
}
|
|
580
592
|
return writer;
|
|
581
593
|
},
|
|
582
594
|
decode(input, length) {
|
|
@@ -803,6 +815,27 @@ exports.SessionItem = {
|
|
|
803
815
|
message.therapistTherapeuticApproach = reader.string();
|
|
804
816
|
continue;
|
|
805
817
|
}
|
|
818
|
+
case 32: {
|
|
819
|
+
if (tag !== 256) {
|
|
820
|
+
break;
|
|
821
|
+
}
|
|
822
|
+
message.isLive = reader.bool();
|
|
823
|
+
continue;
|
|
824
|
+
}
|
|
825
|
+
case 33: {
|
|
826
|
+
if (tag !== 266) {
|
|
827
|
+
break;
|
|
828
|
+
}
|
|
829
|
+
message.liveSessionId = reader.string();
|
|
830
|
+
continue;
|
|
831
|
+
}
|
|
832
|
+
case 34: {
|
|
833
|
+
if (tag !== 274) {
|
|
834
|
+
break;
|
|
835
|
+
}
|
|
836
|
+
message.liveSessionStatus = reader.string();
|
|
837
|
+
continue;
|
|
838
|
+
}
|
|
806
839
|
}
|
|
807
840
|
if ((tag & 7) === 4 || tag === 0) {
|
|
808
841
|
break;
|
|
@@ -848,6 +881,9 @@ exports.SessionItem = {
|
|
|
848
881
|
therapistTherapeuticApproach: isSet(object.therapistTherapeuticApproach)
|
|
849
882
|
? globalThis.String(object.therapistTherapeuticApproach)
|
|
850
883
|
: "",
|
|
884
|
+
isLive: isSet(object.isLive) ? globalThis.Boolean(object.isLive) : false,
|
|
885
|
+
liveSessionId: isSet(object.liveSessionId) ? globalThis.String(object.liveSessionId) : "",
|
|
886
|
+
liveSessionStatus: isSet(object.liveSessionStatus) ? globalThis.String(object.liveSessionStatus) : "",
|
|
851
887
|
};
|
|
852
888
|
},
|
|
853
889
|
toJSON(message) {
|
|
@@ -946,13 +982,22 @@ exports.SessionItem = {
|
|
|
946
982
|
if (message.therapistTherapeuticApproach !== "") {
|
|
947
983
|
obj.therapistTherapeuticApproach = message.therapistTherapeuticApproach;
|
|
948
984
|
}
|
|
985
|
+
if (message.isLive !== false) {
|
|
986
|
+
obj.isLive = message.isLive;
|
|
987
|
+
}
|
|
988
|
+
if (message.liveSessionId !== "") {
|
|
989
|
+
obj.liveSessionId = message.liveSessionId;
|
|
990
|
+
}
|
|
991
|
+
if (message.liveSessionStatus !== "") {
|
|
992
|
+
obj.liveSessionStatus = message.liveSessionStatus;
|
|
993
|
+
}
|
|
949
994
|
return obj;
|
|
950
995
|
},
|
|
951
996
|
create(base) {
|
|
952
997
|
return exports.SessionItem.fromPartial(base !== null && base !== void 0 ? base : {});
|
|
953
998
|
},
|
|
954
999
|
fromPartial(object) {
|
|
955
|
-
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;
|
|
1000
|
+
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;
|
|
956
1001
|
const message = createBaseSessionItem();
|
|
957
1002
|
message.sessionId = (_a = object.sessionId) !== null && _a !== void 0 ? _a : "";
|
|
958
1003
|
message.clientId = (_b = object.clientId) !== null && _b !== void 0 ? _b : "";
|
|
@@ -985,6 +1030,9 @@ exports.SessionItem = {
|
|
|
985
1030
|
message.therapistNotes = (_4 = object.therapistNotes) !== null && _4 !== void 0 ? _4 : "";
|
|
986
1031
|
message.therapistPhone = (_5 = object.therapistPhone) !== null && _5 !== void 0 ? _5 : "";
|
|
987
1032
|
message.therapistTherapeuticApproach = (_6 = object.therapistTherapeuticApproach) !== null && _6 !== void 0 ? _6 : "";
|
|
1033
|
+
message.isLive = (_7 = object.isLive) !== null && _7 !== void 0 ? _7 : false;
|
|
1034
|
+
message.liveSessionId = (_8 = object.liveSessionId) !== null && _8 !== void 0 ? _8 : "";
|
|
1035
|
+
message.liveSessionStatus = (_9 = object.liveSessionStatus) !== null && _9 !== void 0 ? _9 : "";
|
|
988
1036
|
return message;
|
|
989
1037
|
},
|
|
990
1038
|
};
|