@headspace/protos-events 1.591.0 → 1.592.0
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/lib/index.d.ts +12 -0
- package/lib/index.js +24 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3069,6 +3069,12 @@ export namespace coaching {
|
|
|
3069
3069
|
* a new record is created for the new date/time
|
|
3070
3070
|
*/
|
|
3071
3071
|
rescheduled?: (boolean|null);
|
|
3072
|
+
|
|
3073
|
+
/**
|
|
3074
|
+
* A conversation between a Listener and a Caller is represented by a unique ChatConversation
|
|
3075
|
+
* See apps.listenerapp.models.ChatConversation
|
|
3076
|
+
*/
|
|
3077
|
+
chatConversationId?: (string|null);
|
|
3072
3078
|
}
|
|
3073
3079
|
|
|
3074
3080
|
/**
|
|
@@ -3134,6 +3140,12 @@ export namespace coaching {
|
|
|
3134
3140
|
*/
|
|
3135
3141
|
public rescheduled: boolean;
|
|
3136
3142
|
|
|
3143
|
+
/**
|
|
3144
|
+
* A conversation between a Listener and a Caller is represented by a unique ChatConversation
|
|
3145
|
+
* See apps.listenerapp.models.ChatConversation
|
|
3146
|
+
*/
|
|
3147
|
+
public chatConversationId: string;
|
|
3148
|
+
|
|
3137
3149
|
/**
|
|
3138
3150
|
* Creates a new ScheduledCoachingSession instance using the specified properties.
|
|
3139
3151
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -10023,6 +10023,8 @@ $root.coaching = (function() {
|
|
|
10023
10023
|
* So what will happen on reschedules going forward is that:
|
|
10024
10024
|
* the old/current record is cancelled (i.e. cancelled_at is set, and rescheduled is set to True)
|
|
10025
10025
|
* a new record is created for the new date/time
|
|
10026
|
+
* @property {string|null} [chatConversationId] A conversation between a Listener and a Caller is represented by a unique ChatConversation
|
|
10027
|
+
* See apps.listenerapp.models.ChatConversation
|
|
10026
10028
|
*/
|
|
10027
10029
|
|
|
10028
10030
|
/**
|
|
@@ -10150,6 +10152,15 @@ $root.coaching = (function() {
|
|
|
10150
10152
|
*/
|
|
10151
10153
|
ScheduledCoachingSession.prototype.rescheduled = false;
|
|
10152
10154
|
|
|
10155
|
+
/**
|
|
10156
|
+
* A conversation between a Listener and a Caller is represented by a unique ChatConversation
|
|
10157
|
+
* See apps.listenerapp.models.ChatConversation
|
|
10158
|
+
* @member {string} chatConversationId
|
|
10159
|
+
* @memberof coaching.ScheduledCoachingSession
|
|
10160
|
+
* @instance
|
|
10161
|
+
*/
|
|
10162
|
+
ScheduledCoachingSession.prototype.chatConversationId = "";
|
|
10163
|
+
|
|
10153
10164
|
/**
|
|
10154
10165
|
* Creates a new ScheduledCoachingSession instance using the specified properties.
|
|
10155
10166
|
* @function create
|
|
@@ -10198,6 +10209,8 @@ $root.coaching = (function() {
|
|
|
10198
10209
|
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.eventType);
|
|
10199
10210
|
if (message.rescheduled != null && message.hasOwnProperty("rescheduled"))
|
|
10200
10211
|
writer.uint32(/* id 12, wireType 0 =*/96).bool(message.rescheduled);
|
|
10212
|
+
if (message.chatConversationId != null && message.hasOwnProperty("chatConversationId"))
|
|
10213
|
+
writer.uint32(/* id 13, wireType 2 =*/106).string(message.chatConversationId);
|
|
10201
10214
|
return writer;
|
|
10202
10215
|
};
|
|
10203
10216
|
|
|
@@ -10268,6 +10281,9 @@ $root.coaching = (function() {
|
|
|
10268
10281
|
case 12:
|
|
10269
10282
|
message.rescheduled = reader.bool();
|
|
10270
10283
|
break;
|
|
10284
|
+
case 13:
|
|
10285
|
+
message.chatConversationId = reader.string();
|
|
10286
|
+
break;
|
|
10271
10287
|
default:
|
|
10272
10288
|
reader.skipType(tag & 7);
|
|
10273
10289
|
break;
|
|
@@ -10346,6 +10362,9 @@ $root.coaching = (function() {
|
|
|
10346
10362
|
if (message.rescheduled != null && message.hasOwnProperty("rescheduled"))
|
|
10347
10363
|
if (typeof message.rescheduled !== "boolean")
|
|
10348
10364
|
return "rescheduled: boolean expected";
|
|
10365
|
+
if (message.chatConversationId != null && message.hasOwnProperty("chatConversationId"))
|
|
10366
|
+
if (!$util.isString(message.chatConversationId))
|
|
10367
|
+
return "chatConversationId: string expected";
|
|
10349
10368
|
return null;
|
|
10350
10369
|
};
|
|
10351
10370
|
|
|
@@ -10436,6 +10455,8 @@ $root.coaching = (function() {
|
|
|
10436
10455
|
}
|
|
10437
10456
|
if (object.rescheduled != null)
|
|
10438
10457
|
message.rescheduled = Boolean(object.rescheduled);
|
|
10458
|
+
if (object.chatConversationId != null)
|
|
10459
|
+
message.chatConversationId = String(object.chatConversationId);
|
|
10439
10460
|
return message;
|
|
10440
10461
|
};
|
|
10441
10462
|
|
|
@@ -10485,6 +10506,7 @@ $root.coaching = (function() {
|
|
|
10485
10506
|
object.isRecurring = false;
|
|
10486
10507
|
object.eventType = options.enums === String ? "COACHING_SESSION_EVENT_TYPE_UNKNOWN" : 0;
|
|
10487
10508
|
object.rescheduled = false;
|
|
10509
|
+
object.chatConversationId = "";
|
|
10488
10510
|
}
|
|
10489
10511
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
10490
10512
|
object.id = message.id;
|
|
@@ -10525,6 +10547,8 @@ $root.coaching = (function() {
|
|
|
10525
10547
|
object.eventType = options.enums === String ? $root.coaching.CoachingSessionEventType[message.eventType] : message.eventType;
|
|
10526
10548
|
if (message.rescheduled != null && message.hasOwnProperty("rescheduled"))
|
|
10527
10549
|
object.rescheduled = message.rescheduled;
|
|
10550
|
+
if (message.chatConversationId != null && message.hasOwnProperty("chatConversationId"))
|
|
10551
|
+
object.chatConversationId = message.chatConversationId;
|
|
10528
10552
|
return object;
|
|
10529
10553
|
};
|
|
10530
10554
|
|
package/package.json
CHANGED