theragist-ts 1.0.150 → 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.
@@ -259,6 +259,7 @@ export interface CallRoom {
259
259
  maxDurationAt: string;
260
260
  connectedAt: string;
261
261
  endReason: string;
262
+ myRole: CallParticipantRole_Value;
262
263
  }
263
264
  export interface SetCallRecordingRequest {
264
265
  roomId: string;
@@ -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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "theragist-ts",
3
- "version": "1.0.150",
3
+ "version": "1.0.151",
4
4
  "description": "TypeScript types and interfaces for Theragist protobuf definitions",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",