@headspace/protos-events 1.730.0 → 1.731.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 +18 -0
- package/lib/index.js +66 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -43974,6 +43974,12 @@ export interface IInteractiveJournalingMessage {
|
|
|
43974
43974
|
|
|
43975
43975
|
/** InteractiveJournalingMessage replyButtons */
|
|
43976
43976
|
replyButtons?: (InteractiveJournalingMessage.IReplyButton[]|null);
|
|
43977
|
+
|
|
43978
|
+
/** InteractiveJournalingMessage title */
|
|
43979
|
+
title?: (string|null);
|
|
43980
|
+
|
|
43981
|
+
/** InteractiveJournalingMessage summary */
|
|
43982
|
+
summary?: (string|null);
|
|
43977
43983
|
}
|
|
43978
43984
|
|
|
43979
43985
|
/** Represents an InteractiveJournalingMessage. */
|
|
@@ -44009,6 +44015,12 @@ export class InteractiveJournalingMessage implements IInteractiveJournalingMessa
|
|
|
44009
44015
|
/** InteractiveJournalingMessage replyButtons. */
|
|
44010
44016
|
public replyButtons: InteractiveJournalingMessage.IReplyButton[];
|
|
44011
44017
|
|
|
44018
|
+
/** InteractiveJournalingMessage title. */
|
|
44019
|
+
public title: string;
|
|
44020
|
+
|
|
44021
|
+
/** InteractiveJournalingMessage summary. */
|
|
44022
|
+
public summary: string;
|
|
44023
|
+
|
|
44012
44024
|
/**
|
|
44013
44025
|
* Creates a new InteractiveJournalingMessage instance using the specified properties.
|
|
44014
44026
|
* @param [properties] Properties to set
|
|
@@ -44096,6 +44108,9 @@ export namespace InteractiveJournalingMessage {
|
|
|
44096
44108
|
|
|
44097
44109
|
/** CustomAttributes isEndOfConversation */
|
|
44098
44110
|
isEndOfConversation?: (boolean|null);
|
|
44111
|
+
|
|
44112
|
+
/** CustomAttributes predefinedPromptName */
|
|
44113
|
+
predefinedPromptName?: (string|null);
|
|
44099
44114
|
}
|
|
44100
44115
|
|
|
44101
44116
|
/** Represents a CustomAttributes. */
|
|
@@ -44119,6 +44134,9 @@ export namespace InteractiveJournalingMessage {
|
|
|
44119
44134
|
/** CustomAttributes isEndOfConversation. */
|
|
44120
44135
|
public isEndOfConversation: boolean;
|
|
44121
44136
|
|
|
44137
|
+
/** CustomAttributes predefinedPromptName. */
|
|
44138
|
+
public predefinedPromptName: string;
|
|
44139
|
+
|
|
44122
44140
|
/**
|
|
44123
44141
|
* Creates a new CustomAttributes instance using the specified properties.
|
|
44124
44142
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -125964,6 +125964,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
125964
125964
|
* @property {string|null} [messageContent] InteractiveJournalingMessage messageContent
|
|
125965
125965
|
* @property {InteractiveJournalingMessage.ICustomAttributes|null} [customDisplayAttributes] InteractiveJournalingMessage customDisplayAttributes
|
|
125966
125966
|
* @property {Array.<InteractiveJournalingMessage.IReplyButton>|null} [replyButtons] InteractiveJournalingMessage replyButtons
|
|
125967
|
+
* @property {string|null} [title] InteractiveJournalingMessage title
|
|
125968
|
+
* @property {string|null} [summary] InteractiveJournalingMessage summary
|
|
125967
125969
|
*/
|
|
125968
125970
|
|
|
125969
125971
|
/**
|
|
@@ -126046,6 +126048,22 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126046
126048
|
*/
|
|
126047
126049
|
InteractiveJournalingMessage.prototype.replyButtons = $util.emptyArray;
|
|
126048
126050
|
|
|
126051
|
+
/**
|
|
126052
|
+
* InteractiveJournalingMessage title.
|
|
126053
|
+
* @member {string} title
|
|
126054
|
+
* @memberof InteractiveJournalingMessage
|
|
126055
|
+
* @instance
|
|
126056
|
+
*/
|
|
126057
|
+
InteractiveJournalingMessage.prototype.title = "";
|
|
126058
|
+
|
|
126059
|
+
/**
|
|
126060
|
+
* InteractiveJournalingMessage summary.
|
|
126061
|
+
* @member {string} summary
|
|
126062
|
+
* @memberof InteractiveJournalingMessage
|
|
126063
|
+
* @instance
|
|
126064
|
+
*/
|
|
126065
|
+
InteractiveJournalingMessage.prototype.summary = "";
|
|
126066
|
+
|
|
126049
126067
|
/**
|
|
126050
126068
|
* Creates a new InteractiveJournalingMessage instance using the specified properties.
|
|
126051
126069
|
* @function create
|
|
@@ -126087,6 +126105,10 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126087
126105
|
if (message.replyButtons != null && message.replyButtons.length)
|
|
126088
126106
|
for (var i = 0; i < message.replyButtons.length; ++i)
|
|
126089
126107
|
$root.InteractiveJournalingMessage.ReplyButton.encode(message.replyButtons[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
126108
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
126109
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.title);
|
|
126110
|
+
if (message.summary != null && message.hasOwnProperty("summary"))
|
|
126111
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.summary);
|
|
126090
126112
|
return writer;
|
|
126091
126113
|
};
|
|
126092
126114
|
|
|
@@ -126147,6 +126169,12 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126147
126169
|
message.replyButtons = [];
|
|
126148
126170
|
message.replyButtons.push($root.InteractiveJournalingMessage.ReplyButton.decode(reader, reader.uint32()));
|
|
126149
126171
|
break;
|
|
126172
|
+
case 9:
|
|
126173
|
+
message.title = reader.string();
|
|
126174
|
+
break;
|
|
126175
|
+
case 10:
|
|
126176
|
+
message.summary = reader.string();
|
|
126177
|
+
break;
|
|
126150
126178
|
default:
|
|
126151
126179
|
reader.skipType(tag & 7);
|
|
126152
126180
|
break;
|
|
@@ -126222,6 +126250,12 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126222
126250
|
return "replyButtons." + error;
|
|
126223
126251
|
}
|
|
126224
126252
|
}
|
|
126253
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
126254
|
+
if (!$util.isString(message.title))
|
|
126255
|
+
return "title: string expected";
|
|
126256
|
+
if (message.summary != null && message.hasOwnProperty("summary"))
|
|
126257
|
+
if (!$util.isString(message.summary))
|
|
126258
|
+
return "summary: string expected";
|
|
126225
126259
|
return null;
|
|
126226
126260
|
};
|
|
126227
126261
|
|
|
@@ -126286,6 +126320,10 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126286
126320
|
message.replyButtons[i] = $root.InteractiveJournalingMessage.ReplyButton.fromObject(object.replyButtons[i]);
|
|
126287
126321
|
}
|
|
126288
126322
|
}
|
|
126323
|
+
if (object.title != null)
|
|
126324
|
+
message.title = String(object.title);
|
|
126325
|
+
if (object.summary != null)
|
|
126326
|
+
message.summary = String(object.summary);
|
|
126289
126327
|
return message;
|
|
126290
126328
|
};
|
|
126291
126329
|
|
|
@@ -126316,6 +126354,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126316
126354
|
object.conversationKind = options.enums === String ? "INTERACTIVE_JOURNALING_CONVERSATION_KIND_UNKNOWN" : 0;
|
|
126317
126355
|
object.messageContent = "";
|
|
126318
126356
|
object.customDisplayAttributes = null;
|
|
126357
|
+
object.title = "";
|
|
126358
|
+
object.summary = "";
|
|
126319
126359
|
}
|
|
126320
126360
|
if (message.messageId != null && message.hasOwnProperty("messageId"))
|
|
126321
126361
|
object.messageId = message.messageId;
|
|
@@ -126339,6 +126379,10 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126339
126379
|
for (var j = 0; j < message.replyButtons.length; ++j)
|
|
126340
126380
|
object.replyButtons[j] = $root.InteractiveJournalingMessage.ReplyButton.toObject(message.replyButtons[j], options);
|
|
126341
126381
|
}
|
|
126382
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
126383
|
+
object.title = message.title;
|
|
126384
|
+
if (message.summary != null && message.hasOwnProperty("summary"))
|
|
126385
|
+
object.summary = message.summary;
|
|
126342
126386
|
return object;
|
|
126343
126387
|
};
|
|
126344
126388
|
|
|
@@ -126363,6 +126407,7 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126363
126407
|
* @property {number|null} [suggestedContentId] CustomAttributes suggestedContentId
|
|
126364
126408
|
* @property {boolean|null} [isLifelineWidget] CustomAttributes isLifelineWidget
|
|
126365
126409
|
* @property {boolean|null} [isEndOfConversation] CustomAttributes isEndOfConversation
|
|
126410
|
+
* @property {string|null} [predefinedPromptName] CustomAttributes predefinedPromptName
|
|
126366
126411
|
*/
|
|
126367
126412
|
|
|
126368
126413
|
/**
|
|
@@ -126412,6 +126457,14 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126412
126457
|
*/
|
|
126413
126458
|
CustomAttributes.prototype.isEndOfConversation = false;
|
|
126414
126459
|
|
|
126460
|
+
/**
|
|
126461
|
+
* CustomAttributes predefinedPromptName.
|
|
126462
|
+
* @member {string} predefinedPromptName
|
|
126463
|
+
* @memberof InteractiveJournalingMessage.CustomAttributes
|
|
126464
|
+
* @instance
|
|
126465
|
+
*/
|
|
126466
|
+
CustomAttributes.prototype.predefinedPromptName = "";
|
|
126467
|
+
|
|
126415
126468
|
/**
|
|
126416
126469
|
* Creates a new CustomAttributes instance using the specified properties.
|
|
126417
126470
|
* @function create
|
|
@@ -126444,6 +126497,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126444
126497
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isLifelineWidget);
|
|
126445
126498
|
if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
|
|
126446
126499
|
writer.uint32(/* id 4, wireType 0 =*/32).bool(message.isEndOfConversation);
|
|
126500
|
+
if (message.predefinedPromptName != null && message.hasOwnProperty("predefinedPromptName"))
|
|
126501
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.predefinedPromptName);
|
|
126447
126502
|
return writer;
|
|
126448
126503
|
};
|
|
126449
126504
|
|
|
@@ -126490,6 +126545,9 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126490
126545
|
case 4:
|
|
126491
126546
|
message.isEndOfConversation = reader.bool();
|
|
126492
126547
|
break;
|
|
126548
|
+
case 5:
|
|
126549
|
+
message.predefinedPromptName = reader.string();
|
|
126550
|
+
break;
|
|
126493
126551
|
default:
|
|
126494
126552
|
reader.skipType(tag & 7);
|
|
126495
126553
|
break;
|
|
@@ -126537,6 +126595,9 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126537
126595
|
if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
|
|
126538
126596
|
if (typeof message.isEndOfConversation !== "boolean")
|
|
126539
126597
|
return "isEndOfConversation: boolean expected";
|
|
126598
|
+
if (message.predefinedPromptName != null && message.hasOwnProperty("predefinedPromptName"))
|
|
126599
|
+
if (!$util.isString(message.predefinedPromptName))
|
|
126600
|
+
return "predefinedPromptName: string expected";
|
|
126540
126601
|
return null;
|
|
126541
126602
|
};
|
|
126542
126603
|
|
|
@@ -126560,6 +126621,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126560
126621
|
message.isLifelineWidget = Boolean(object.isLifelineWidget);
|
|
126561
126622
|
if (object.isEndOfConversation != null)
|
|
126562
126623
|
message.isEndOfConversation = Boolean(object.isEndOfConversation);
|
|
126624
|
+
if (object.predefinedPromptName != null)
|
|
126625
|
+
message.predefinedPromptName = String(object.predefinedPromptName);
|
|
126563
126626
|
return message;
|
|
126564
126627
|
};
|
|
126565
126628
|
|
|
@@ -126581,6 +126644,7 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126581
126644
|
object.suggestedContentId = 0;
|
|
126582
126645
|
object.isLifelineWidget = false;
|
|
126583
126646
|
object.isEndOfConversation = false;
|
|
126647
|
+
object.predefinedPromptName = "";
|
|
126584
126648
|
}
|
|
126585
126649
|
if (message.disableTextInput != null && message.hasOwnProperty("disableTextInput"))
|
|
126586
126650
|
object.disableTextInput = message.disableTextInput;
|
|
@@ -126590,6 +126654,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126590
126654
|
object.isLifelineWidget = message.isLifelineWidget;
|
|
126591
126655
|
if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
|
|
126592
126656
|
object.isEndOfConversation = message.isEndOfConversation;
|
|
126657
|
+
if (message.predefinedPromptName != null && message.hasOwnProperty("predefinedPromptName"))
|
|
126658
|
+
object.predefinedPromptName = message.predefinedPromptName;
|
|
126593
126659
|
return object;
|
|
126594
126660
|
};
|
|
126595
126661
|
|
package/package.json
CHANGED