@headspace/protos-events 1.729.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 +20 -1
- package/lib/index.js +73 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -37345,7 +37345,8 @@ export enum VerificationType {
|
|
|
37345
37345
|
VERIFICATION_TYPE_D2C_THERAPY = 4,
|
|
37346
37346
|
VERIFICATION_TYPE_D2C_CARE_UPSELL = 5,
|
|
37347
37347
|
VERIFICATION_TYPE_WORK_ID = 6,
|
|
37348
|
-
VERIFICATION_TYPE_KP_NATIONAL_JWT = 7
|
|
37348
|
+
VERIFICATION_TYPE_KP_NATIONAL_JWT = 7,
|
|
37349
|
+
VERIFICATION_TYPE_BSC = 8
|
|
37349
37350
|
}
|
|
37350
37351
|
|
|
37351
37352
|
/**
|
|
@@ -43973,6 +43974,12 @@ export interface IInteractiveJournalingMessage {
|
|
|
43973
43974
|
|
|
43974
43975
|
/** InteractiveJournalingMessage replyButtons */
|
|
43975
43976
|
replyButtons?: (InteractiveJournalingMessage.IReplyButton[]|null);
|
|
43977
|
+
|
|
43978
|
+
/** InteractiveJournalingMessage title */
|
|
43979
|
+
title?: (string|null);
|
|
43980
|
+
|
|
43981
|
+
/** InteractiveJournalingMessage summary */
|
|
43982
|
+
summary?: (string|null);
|
|
43976
43983
|
}
|
|
43977
43984
|
|
|
43978
43985
|
/** Represents an InteractiveJournalingMessage. */
|
|
@@ -44008,6 +44015,12 @@ export class InteractiveJournalingMessage implements IInteractiveJournalingMessa
|
|
|
44008
44015
|
/** InteractiveJournalingMessage replyButtons. */
|
|
44009
44016
|
public replyButtons: InteractiveJournalingMessage.IReplyButton[];
|
|
44010
44017
|
|
|
44018
|
+
/** InteractiveJournalingMessage title. */
|
|
44019
|
+
public title: string;
|
|
44020
|
+
|
|
44021
|
+
/** InteractiveJournalingMessage summary. */
|
|
44022
|
+
public summary: string;
|
|
44023
|
+
|
|
44011
44024
|
/**
|
|
44012
44025
|
* Creates a new InteractiveJournalingMessage instance using the specified properties.
|
|
44013
44026
|
* @param [properties] Properties to set
|
|
@@ -44095,6 +44108,9 @@ export namespace InteractiveJournalingMessage {
|
|
|
44095
44108
|
|
|
44096
44109
|
/** CustomAttributes isEndOfConversation */
|
|
44097
44110
|
isEndOfConversation?: (boolean|null);
|
|
44111
|
+
|
|
44112
|
+
/** CustomAttributes predefinedPromptName */
|
|
44113
|
+
predefinedPromptName?: (string|null);
|
|
44098
44114
|
}
|
|
44099
44115
|
|
|
44100
44116
|
/** Represents a CustomAttributes. */
|
|
@@ -44118,6 +44134,9 @@ export namespace InteractiveJournalingMessage {
|
|
|
44118
44134
|
/** CustomAttributes isEndOfConversation. */
|
|
44119
44135
|
public isEndOfConversation: boolean;
|
|
44120
44136
|
|
|
44137
|
+
/** CustomAttributes predefinedPromptName. */
|
|
44138
|
+
public predefinedPromptName: string;
|
|
44139
|
+
|
|
44121
44140
|
/**
|
|
44122
44141
|
* Creates a new CustomAttributes instance using the specified properties.
|
|
44123
44142
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -105190,6 +105190,7 @@ $root.IdentityVerificationType = (function() {
|
|
|
105190
105190
|
* @property {number} VERIFICATION_TYPE_D2C_CARE_UPSELL=5 VERIFICATION_TYPE_D2C_CARE_UPSELL value
|
|
105191
105191
|
* @property {number} VERIFICATION_TYPE_WORK_ID=6 VERIFICATION_TYPE_WORK_ID value
|
|
105192
105192
|
* @property {number} VERIFICATION_TYPE_KP_NATIONAL_JWT=7 VERIFICATION_TYPE_KP_NATIONAL_JWT value
|
|
105193
|
+
* @property {number} VERIFICATION_TYPE_BSC=8 VERIFICATION_TYPE_BSC value
|
|
105193
105194
|
*/
|
|
105194
105195
|
$root.VerificationType = (function() {
|
|
105195
105196
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -105201,6 +105202,7 @@ $root.VerificationType = (function() {
|
|
|
105201
105202
|
values[valuesById[5] = "VERIFICATION_TYPE_D2C_CARE_UPSELL"] = 5;
|
|
105202
105203
|
values[valuesById[6] = "VERIFICATION_TYPE_WORK_ID"] = 6;
|
|
105203
105204
|
values[valuesById[7] = "VERIFICATION_TYPE_KP_NATIONAL_JWT"] = 7;
|
|
105205
|
+
values[valuesById[8] = "VERIFICATION_TYPE_BSC"] = 8;
|
|
105204
105206
|
return values;
|
|
105205
105207
|
})();
|
|
105206
105208
|
|
|
@@ -105486,6 +105488,7 @@ $root.EligibilityCollective = (function() {
|
|
|
105486
105488
|
case 5:
|
|
105487
105489
|
case 6:
|
|
105488
105490
|
case 7:
|
|
105491
|
+
case 8:
|
|
105489
105492
|
break;
|
|
105490
105493
|
}
|
|
105491
105494
|
if (message.identityVerificationType != null && message.hasOwnProperty("identityVerificationType"))
|
|
@@ -105573,6 +105576,10 @@ $root.EligibilityCollective = (function() {
|
|
|
105573
105576
|
case 7:
|
|
105574
105577
|
message.verificationType = 7;
|
|
105575
105578
|
break;
|
|
105579
|
+
case "VERIFICATION_TYPE_BSC":
|
|
105580
|
+
case 8:
|
|
105581
|
+
message.verificationType = 8;
|
|
105582
|
+
break;
|
|
105576
105583
|
}
|
|
105577
105584
|
switch (object.identityVerificationType) {
|
|
105578
105585
|
case "IDENTITY_VERIFICATION_TYPE_UNKNOWN":
|
|
@@ -125957,6 +125964,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
125957
125964
|
* @property {string|null} [messageContent] InteractiveJournalingMessage messageContent
|
|
125958
125965
|
* @property {InteractiveJournalingMessage.ICustomAttributes|null} [customDisplayAttributes] InteractiveJournalingMessage customDisplayAttributes
|
|
125959
125966
|
* @property {Array.<InteractiveJournalingMessage.IReplyButton>|null} [replyButtons] InteractiveJournalingMessage replyButtons
|
|
125967
|
+
* @property {string|null} [title] InteractiveJournalingMessage title
|
|
125968
|
+
* @property {string|null} [summary] InteractiveJournalingMessage summary
|
|
125960
125969
|
*/
|
|
125961
125970
|
|
|
125962
125971
|
/**
|
|
@@ -126039,6 +126048,22 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126039
126048
|
*/
|
|
126040
126049
|
InteractiveJournalingMessage.prototype.replyButtons = $util.emptyArray;
|
|
126041
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
|
+
|
|
126042
126067
|
/**
|
|
126043
126068
|
* Creates a new InteractiveJournalingMessage instance using the specified properties.
|
|
126044
126069
|
* @function create
|
|
@@ -126080,6 +126105,10 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126080
126105
|
if (message.replyButtons != null && message.replyButtons.length)
|
|
126081
126106
|
for (var i = 0; i < message.replyButtons.length; ++i)
|
|
126082
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);
|
|
126083
126112
|
return writer;
|
|
126084
126113
|
};
|
|
126085
126114
|
|
|
@@ -126140,6 +126169,12 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126140
126169
|
message.replyButtons = [];
|
|
126141
126170
|
message.replyButtons.push($root.InteractiveJournalingMessage.ReplyButton.decode(reader, reader.uint32()));
|
|
126142
126171
|
break;
|
|
126172
|
+
case 9:
|
|
126173
|
+
message.title = reader.string();
|
|
126174
|
+
break;
|
|
126175
|
+
case 10:
|
|
126176
|
+
message.summary = reader.string();
|
|
126177
|
+
break;
|
|
126143
126178
|
default:
|
|
126144
126179
|
reader.skipType(tag & 7);
|
|
126145
126180
|
break;
|
|
@@ -126215,6 +126250,12 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126215
126250
|
return "replyButtons." + error;
|
|
126216
126251
|
}
|
|
126217
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";
|
|
126218
126259
|
return null;
|
|
126219
126260
|
};
|
|
126220
126261
|
|
|
@@ -126279,6 +126320,10 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126279
126320
|
message.replyButtons[i] = $root.InteractiveJournalingMessage.ReplyButton.fromObject(object.replyButtons[i]);
|
|
126280
126321
|
}
|
|
126281
126322
|
}
|
|
126323
|
+
if (object.title != null)
|
|
126324
|
+
message.title = String(object.title);
|
|
126325
|
+
if (object.summary != null)
|
|
126326
|
+
message.summary = String(object.summary);
|
|
126282
126327
|
return message;
|
|
126283
126328
|
};
|
|
126284
126329
|
|
|
@@ -126309,6 +126354,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126309
126354
|
object.conversationKind = options.enums === String ? "INTERACTIVE_JOURNALING_CONVERSATION_KIND_UNKNOWN" : 0;
|
|
126310
126355
|
object.messageContent = "";
|
|
126311
126356
|
object.customDisplayAttributes = null;
|
|
126357
|
+
object.title = "";
|
|
126358
|
+
object.summary = "";
|
|
126312
126359
|
}
|
|
126313
126360
|
if (message.messageId != null && message.hasOwnProperty("messageId"))
|
|
126314
126361
|
object.messageId = message.messageId;
|
|
@@ -126332,6 +126379,10 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126332
126379
|
for (var j = 0; j < message.replyButtons.length; ++j)
|
|
126333
126380
|
object.replyButtons[j] = $root.InteractiveJournalingMessage.ReplyButton.toObject(message.replyButtons[j], options);
|
|
126334
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;
|
|
126335
126386
|
return object;
|
|
126336
126387
|
};
|
|
126337
126388
|
|
|
@@ -126356,6 +126407,7 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126356
126407
|
* @property {number|null} [suggestedContentId] CustomAttributes suggestedContentId
|
|
126357
126408
|
* @property {boolean|null} [isLifelineWidget] CustomAttributes isLifelineWidget
|
|
126358
126409
|
* @property {boolean|null} [isEndOfConversation] CustomAttributes isEndOfConversation
|
|
126410
|
+
* @property {string|null} [predefinedPromptName] CustomAttributes predefinedPromptName
|
|
126359
126411
|
*/
|
|
126360
126412
|
|
|
126361
126413
|
/**
|
|
@@ -126405,6 +126457,14 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126405
126457
|
*/
|
|
126406
126458
|
CustomAttributes.prototype.isEndOfConversation = false;
|
|
126407
126459
|
|
|
126460
|
+
/**
|
|
126461
|
+
* CustomAttributes predefinedPromptName.
|
|
126462
|
+
* @member {string} predefinedPromptName
|
|
126463
|
+
* @memberof InteractiveJournalingMessage.CustomAttributes
|
|
126464
|
+
* @instance
|
|
126465
|
+
*/
|
|
126466
|
+
CustomAttributes.prototype.predefinedPromptName = "";
|
|
126467
|
+
|
|
126408
126468
|
/**
|
|
126409
126469
|
* Creates a new CustomAttributes instance using the specified properties.
|
|
126410
126470
|
* @function create
|
|
@@ -126437,6 +126497,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126437
126497
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.isLifelineWidget);
|
|
126438
126498
|
if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
|
|
126439
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);
|
|
126440
126502
|
return writer;
|
|
126441
126503
|
};
|
|
126442
126504
|
|
|
@@ -126483,6 +126545,9 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126483
126545
|
case 4:
|
|
126484
126546
|
message.isEndOfConversation = reader.bool();
|
|
126485
126547
|
break;
|
|
126548
|
+
case 5:
|
|
126549
|
+
message.predefinedPromptName = reader.string();
|
|
126550
|
+
break;
|
|
126486
126551
|
default:
|
|
126487
126552
|
reader.skipType(tag & 7);
|
|
126488
126553
|
break;
|
|
@@ -126530,6 +126595,9 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126530
126595
|
if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
|
|
126531
126596
|
if (typeof message.isEndOfConversation !== "boolean")
|
|
126532
126597
|
return "isEndOfConversation: boolean expected";
|
|
126598
|
+
if (message.predefinedPromptName != null && message.hasOwnProperty("predefinedPromptName"))
|
|
126599
|
+
if (!$util.isString(message.predefinedPromptName))
|
|
126600
|
+
return "predefinedPromptName: string expected";
|
|
126533
126601
|
return null;
|
|
126534
126602
|
};
|
|
126535
126603
|
|
|
@@ -126553,6 +126621,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126553
126621
|
message.isLifelineWidget = Boolean(object.isLifelineWidget);
|
|
126554
126622
|
if (object.isEndOfConversation != null)
|
|
126555
126623
|
message.isEndOfConversation = Boolean(object.isEndOfConversation);
|
|
126624
|
+
if (object.predefinedPromptName != null)
|
|
126625
|
+
message.predefinedPromptName = String(object.predefinedPromptName);
|
|
126556
126626
|
return message;
|
|
126557
126627
|
};
|
|
126558
126628
|
|
|
@@ -126574,6 +126644,7 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126574
126644
|
object.suggestedContentId = 0;
|
|
126575
126645
|
object.isLifelineWidget = false;
|
|
126576
126646
|
object.isEndOfConversation = false;
|
|
126647
|
+
object.predefinedPromptName = "";
|
|
126577
126648
|
}
|
|
126578
126649
|
if (message.disableTextInput != null && message.hasOwnProperty("disableTextInput"))
|
|
126579
126650
|
object.disableTextInput = message.disableTextInput;
|
|
@@ -126583,6 +126654,8 @@ $root.InteractiveJournalingMessage = (function() {
|
|
|
126583
126654
|
object.isLifelineWidget = message.isLifelineWidget;
|
|
126584
126655
|
if (message.isEndOfConversation != null && message.hasOwnProperty("isEndOfConversation"))
|
|
126585
126656
|
object.isEndOfConversation = message.isEndOfConversation;
|
|
126657
|
+
if (message.predefinedPromptName != null && message.hasOwnProperty("predefinedPromptName"))
|
|
126658
|
+
object.predefinedPromptName = message.predefinedPromptName;
|
|
126586
126659
|
return object;
|
|
126587
126660
|
};
|
|
126588
126661
|
|
package/package.json
CHANGED