@headspace/protos-events 1.727.0 → 1.729.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 +32 -2
- package/lib/index.js +112 -2
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -30094,8 +30094,11 @@ export interface IAccessCodeEntitlement {
|
|
|
30094
30094
|
/** the source that the entitlement applies to */
|
|
30095
30095
|
source?: (EntitlementSource|null);
|
|
30096
30096
|
|
|
30097
|
-
/** the value of the entitlement */
|
|
30097
|
+
/** the value of the entitlement, using the EntitlementValue enum. Use value_str instead */
|
|
30098
30098
|
value?: (EntitlementValue|null);
|
|
30099
|
+
|
|
30100
|
+
/** the value of the entitlement as a string, because the EntitlementValue enum is not stable */
|
|
30101
|
+
valueStr?: (string|null);
|
|
30099
30102
|
}
|
|
30100
30103
|
|
|
30101
30104
|
/** Represents an AccessCodeEntitlement. */
|
|
@@ -30110,9 +30113,12 @@ export class AccessCodeEntitlement implements IAccessCodeEntitlement {
|
|
|
30110
30113
|
/** the source that the entitlement applies to */
|
|
30111
30114
|
public source: EntitlementSource;
|
|
30112
30115
|
|
|
30113
|
-
/** the value of the entitlement */
|
|
30116
|
+
/** the value of the entitlement, using the EntitlementValue enum. Use value_str instead */
|
|
30114
30117
|
public value: EntitlementValue;
|
|
30115
30118
|
|
|
30119
|
+
/** the value of the entitlement as a string, because the EntitlementValue enum is not stable */
|
|
30120
|
+
public valueStr: string;
|
|
30121
|
+
|
|
30116
30122
|
/**
|
|
30117
30123
|
* Creates a new AccessCodeEntitlement instance using the specified properties.
|
|
30118
30124
|
* @param [properties] Properties to set
|
|
@@ -60045,6 +60051,18 @@ export namespace coaching {
|
|
|
60045
60051
|
|
|
60046
60052
|
/** CoachingChatRating sessionFormat */
|
|
60047
60053
|
sessionFormat?: (coaching.CoachingSessionFormat|null);
|
|
60054
|
+
|
|
60055
|
+
/** CoachingChatRating understoodRating */
|
|
60056
|
+
understoodRating?: (number|null);
|
|
60057
|
+
|
|
60058
|
+
/** CoachingChatRating feltSupportedRating */
|
|
60059
|
+
feltSupportedRating?: (number|null);
|
|
60060
|
+
|
|
60061
|
+
/** CoachingChatRating approachRating */
|
|
60062
|
+
approachRating?: (number|null);
|
|
60063
|
+
|
|
60064
|
+
/** CoachingChatRating comment */
|
|
60065
|
+
comment?: (string|null);
|
|
60048
60066
|
}
|
|
60049
60067
|
|
|
60050
60068
|
/** Represents a CoachingChatRating. */
|
|
@@ -60089,6 +60107,18 @@ export namespace coaching {
|
|
|
60089
60107
|
/** CoachingChatRating sessionFormat. */
|
|
60090
60108
|
public sessionFormat: coaching.CoachingSessionFormat;
|
|
60091
60109
|
|
|
60110
|
+
/** CoachingChatRating understoodRating. */
|
|
60111
|
+
public understoodRating: number;
|
|
60112
|
+
|
|
60113
|
+
/** CoachingChatRating feltSupportedRating. */
|
|
60114
|
+
public feltSupportedRating: number;
|
|
60115
|
+
|
|
60116
|
+
/** CoachingChatRating approachRating. */
|
|
60117
|
+
public approachRating: number;
|
|
60118
|
+
|
|
60119
|
+
/** CoachingChatRating comment. */
|
|
60120
|
+
public comment: string;
|
|
60121
|
+
|
|
60092
60122
|
/**
|
|
60093
60123
|
* Creates a new CoachingChatRating instance using the specified properties.
|
|
60094
60124
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -84828,7 +84828,8 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84828
84828
|
* @name IAccessCodeEntitlement
|
|
84829
84829
|
* @interface IAccessCodeEntitlement
|
|
84830
84830
|
* @property {EntitlementSource|null} [source] the source that the entitlement applies to
|
|
84831
|
-
* @property {EntitlementValue|null} [value] the value of the entitlement
|
|
84831
|
+
* @property {EntitlementValue|null} [value] the value of the entitlement, using the EntitlementValue enum. Use value_str instead
|
|
84832
|
+
* @property {string|null} [valueStr] the value of the entitlement as a string, because the EntitlementValue enum is not stable
|
|
84832
84833
|
*/
|
|
84833
84834
|
|
|
84834
84835
|
/**
|
|
@@ -84855,13 +84856,21 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84855
84856
|
AccessCodeEntitlement.prototype.source = 0;
|
|
84856
84857
|
|
|
84857
84858
|
/**
|
|
84858
|
-
* the value of the entitlement
|
|
84859
|
+
* the value of the entitlement, using the EntitlementValue enum. Use value_str instead
|
|
84859
84860
|
* @member {EntitlementValue} value
|
|
84860
84861
|
* @memberof AccessCodeEntitlement
|
|
84861
84862
|
* @instance
|
|
84862
84863
|
*/
|
|
84863
84864
|
AccessCodeEntitlement.prototype.value = 0;
|
|
84864
84865
|
|
|
84866
|
+
/**
|
|
84867
|
+
* the value of the entitlement as a string, because the EntitlementValue enum is not stable
|
|
84868
|
+
* @member {string} valueStr
|
|
84869
|
+
* @memberof AccessCodeEntitlement
|
|
84870
|
+
* @instance
|
|
84871
|
+
*/
|
|
84872
|
+
AccessCodeEntitlement.prototype.valueStr = "";
|
|
84873
|
+
|
|
84865
84874
|
/**
|
|
84866
84875
|
* Creates a new AccessCodeEntitlement instance using the specified properties.
|
|
84867
84876
|
* @function create
|
|
@@ -84890,6 +84899,8 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84890
84899
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.source);
|
|
84891
84900
|
if (message.value != null && message.hasOwnProperty("value"))
|
|
84892
84901
|
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.value);
|
|
84902
|
+
if (message.valueStr != null && message.hasOwnProperty("valueStr"))
|
|
84903
|
+
writer.uint32(/* id 3, wireType 2 =*/26).string(message.valueStr);
|
|
84893
84904
|
return writer;
|
|
84894
84905
|
};
|
|
84895
84906
|
|
|
@@ -84930,6 +84941,9 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84930
84941
|
case 2:
|
|
84931
84942
|
message.value = reader.int32();
|
|
84932
84943
|
break;
|
|
84944
|
+
case 3:
|
|
84945
|
+
message.valueStr = reader.string();
|
|
84946
|
+
break;
|
|
84933
84947
|
default:
|
|
84934
84948
|
reader.skipType(tag & 7);
|
|
84935
84949
|
break;
|
|
@@ -84987,6 +85001,9 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
84987
85001
|
case 5:
|
|
84988
85002
|
break;
|
|
84989
85003
|
}
|
|
85004
|
+
if (message.valueStr != null && message.hasOwnProperty("valueStr"))
|
|
85005
|
+
if (!$util.isString(message.valueStr))
|
|
85006
|
+
return "valueStr: string expected";
|
|
84990
85007
|
return null;
|
|
84991
85008
|
};
|
|
84992
85009
|
|
|
@@ -85046,6 +85063,8 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
85046
85063
|
message.value = 5;
|
|
85047
85064
|
break;
|
|
85048
85065
|
}
|
|
85066
|
+
if (object.valueStr != null)
|
|
85067
|
+
message.valueStr = String(object.valueStr);
|
|
85049
85068
|
return message;
|
|
85050
85069
|
};
|
|
85051
85070
|
|
|
@@ -85065,11 +85084,14 @@ $root.AccessCodeEntitlement = (function() {
|
|
|
85065
85084
|
if (options.defaults) {
|
|
85066
85085
|
object.source = options.enums === String ? "ENTITLEMENT_SOURCE_UNKNOWN" : 0;
|
|
85067
85086
|
object.value = options.enums === String ? "ENTITLEMENT_VALUE_UNKNOWN" : 0;
|
|
85087
|
+
object.valueStr = "";
|
|
85068
85088
|
}
|
|
85069
85089
|
if (message.source != null && message.hasOwnProperty("source"))
|
|
85070
85090
|
object.source = options.enums === String ? $root.EntitlementSource[message.source] : message.source;
|
|
85071
85091
|
if (message.value != null && message.hasOwnProperty("value"))
|
|
85072
85092
|
object.value = options.enums === String ? $root.EntitlementValue[message.value] : message.value;
|
|
85093
|
+
if (message.valueStr != null && message.hasOwnProperty("valueStr"))
|
|
85094
|
+
object.valueStr = message.valueStr;
|
|
85073
85095
|
return object;
|
|
85074
85096
|
};
|
|
85075
85097
|
|
|
@@ -172846,6 +172868,10 @@ $root.coaching = (function() {
|
|
|
172846
172868
|
* @property {number|Long|null} [scheduledSessionId] CoachingChatRating scheduledSessionId
|
|
172847
172869
|
* @property {number|Long|null} [dropinSessionId] CoachingChatRating dropinSessionId
|
|
172848
172870
|
* @property {coaching.CoachingSessionFormat|null} [sessionFormat] CoachingChatRating sessionFormat
|
|
172871
|
+
* @property {number|null} [understoodRating] CoachingChatRating understoodRating
|
|
172872
|
+
* @property {number|null} [feltSupportedRating] CoachingChatRating feltSupportedRating
|
|
172873
|
+
* @property {number|null} [approachRating] CoachingChatRating approachRating
|
|
172874
|
+
* @property {string|null} [comment] CoachingChatRating comment
|
|
172849
172875
|
*/
|
|
172850
172876
|
|
|
172851
172877
|
/**
|
|
@@ -172951,6 +172977,38 @@ $root.coaching = (function() {
|
|
|
172951
172977
|
*/
|
|
172952
172978
|
CoachingChatRating.prototype.sessionFormat = 0;
|
|
172953
172979
|
|
|
172980
|
+
/**
|
|
172981
|
+
* CoachingChatRating understoodRating.
|
|
172982
|
+
* @member {number} understoodRating
|
|
172983
|
+
* @memberof coaching.CoachingChatRating
|
|
172984
|
+
* @instance
|
|
172985
|
+
*/
|
|
172986
|
+
CoachingChatRating.prototype.understoodRating = 0;
|
|
172987
|
+
|
|
172988
|
+
/**
|
|
172989
|
+
* CoachingChatRating feltSupportedRating.
|
|
172990
|
+
* @member {number} feltSupportedRating
|
|
172991
|
+
* @memberof coaching.CoachingChatRating
|
|
172992
|
+
* @instance
|
|
172993
|
+
*/
|
|
172994
|
+
CoachingChatRating.prototype.feltSupportedRating = 0;
|
|
172995
|
+
|
|
172996
|
+
/**
|
|
172997
|
+
* CoachingChatRating approachRating.
|
|
172998
|
+
* @member {number} approachRating
|
|
172999
|
+
* @memberof coaching.CoachingChatRating
|
|
173000
|
+
* @instance
|
|
173001
|
+
*/
|
|
173002
|
+
CoachingChatRating.prototype.approachRating = 0;
|
|
173003
|
+
|
|
173004
|
+
/**
|
|
173005
|
+
* CoachingChatRating comment.
|
|
173006
|
+
* @member {string} comment
|
|
173007
|
+
* @memberof coaching.CoachingChatRating
|
|
173008
|
+
* @instance
|
|
173009
|
+
*/
|
|
173010
|
+
CoachingChatRating.prototype.comment = "";
|
|
173011
|
+
|
|
172954
173012
|
/**
|
|
172955
173013
|
* Creates a new CoachingChatRating instance using the specified properties.
|
|
172956
173014
|
* @function create
|
|
@@ -172997,6 +173055,14 @@ $root.coaching = (function() {
|
|
|
172997
173055
|
writer.uint32(/* id 10, wireType 0 =*/80).uint64(message.dropinSessionId);
|
|
172998
173056
|
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
172999
173057
|
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.sessionFormat);
|
|
173058
|
+
if (message.understoodRating != null && message.hasOwnProperty("understoodRating"))
|
|
173059
|
+
writer.uint32(/* id 12, wireType 0 =*/96).uint32(message.understoodRating);
|
|
173060
|
+
if (message.feltSupportedRating != null && message.hasOwnProperty("feltSupportedRating"))
|
|
173061
|
+
writer.uint32(/* id 13, wireType 0 =*/104).uint32(message.feltSupportedRating);
|
|
173062
|
+
if (message.approachRating != null && message.hasOwnProperty("approachRating"))
|
|
173063
|
+
writer.uint32(/* id 14, wireType 0 =*/112).uint32(message.approachRating);
|
|
173064
|
+
if (message.comment != null && message.hasOwnProperty("comment"))
|
|
173065
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.comment);
|
|
173000
173066
|
return writer;
|
|
173001
173067
|
};
|
|
173002
173068
|
|
|
@@ -173064,6 +173130,18 @@ $root.coaching = (function() {
|
|
|
173064
173130
|
case 11:
|
|
173065
173131
|
message.sessionFormat = reader.int32();
|
|
173066
173132
|
break;
|
|
173133
|
+
case 12:
|
|
173134
|
+
message.understoodRating = reader.uint32();
|
|
173135
|
+
break;
|
|
173136
|
+
case 13:
|
|
173137
|
+
message.feltSupportedRating = reader.uint32();
|
|
173138
|
+
break;
|
|
173139
|
+
case 14:
|
|
173140
|
+
message.approachRating = reader.uint32();
|
|
173141
|
+
break;
|
|
173142
|
+
case 15:
|
|
173143
|
+
message.comment = reader.string();
|
|
173144
|
+
break;
|
|
173067
173145
|
default:
|
|
173068
173146
|
reader.skipType(tag & 7);
|
|
173069
173147
|
break;
|
|
@@ -173138,6 +173216,18 @@ $root.coaching = (function() {
|
|
|
173138
173216
|
case 2:
|
|
173139
173217
|
break;
|
|
173140
173218
|
}
|
|
173219
|
+
if (message.understoodRating != null && message.hasOwnProperty("understoodRating"))
|
|
173220
|
+
if (!$util.isInteger(message.understoodRating))
|
|
173221
|
+
return "understoodRating: integer expected";
|
|
173222
|
+
if (message.feltSupportedRating != null && message.hasOwnProperty("feltSupportedRating"))
|
|
173223
|
+
if (!$util.isInteger(message.feltSupportedRating))
|
|
173224
|
+
return "feltSupportedRating: integer expected";
|
|
173225
|
+
if (message.approachRating != null && message.hasOwnProperty("approachRating"))
|
|
173226
|
+
if (!$util.isInteger(message.approachRating))
|
|
173227
|
+
return "approachRating: integer expected";
|
|
173228
|
+
if (message.comment != null && message.hasOwnProperty("comment"))
|
|
173229
|
+
if (!$util.isString(message.comment))
|
|
173230
|
+
return "comment: string expected";
|
|
173141
173231
|
return null;
|
|
173142
173232
|
};
|
|
173143
173233
|
|
|
@@ -173208,6 +173298,14 @@ $root.coaching = (function() {
|
|
|
173208
173298
|
message.sessionFormat = 2;
|
|
173209
173299
|
break;
|
|
173210
173300
|
}
|
|
173301
|
+
if (object.understoodRating != null)
|
|
173302
|
+
message.understoodRating = object.understoodRating >>> 0;
|
|
173303
|
+
if (object.feltSupportedRating != null)
|
|
173304
|
+
message.feltSupportedRating = object.feltSupportedRating >>> 0;
|
|
173305
|
+
if (object.approachRating != null)
|
|
173306
|
+
message.approachRating = object.approachRating >>> 0;
|
|
173307
|
+
if (object.comment != null)
|
|
173308
|
+
message.comment = String(object.comment);
|
|
173211
173309
|
return message;
|
|
173212
173310
|
};
|
|
173213
173311
|
|
|
@@ -173248,6 +173346,10 @@ $root.coaching = (function() {
|
|
|
173248
173346
|
} else
|
|
173249
173347
|
object.dropinSessionId = options.longs === String ? "0" : 0;
|
|
173250
173348
|
object.sessionFormat = options.enums === String ? "COACHING_SESSION_FORMAT_UNKNOWN" : 0;
|
|
173349
|
+
object.understoodRating = 0;
|
|
173350
|
+
object.feltSupportedRating = 0;
|
|
173351
|
+
object.approachRating = 0;
|
|
173352
|
+
object.comment = "";
|
|
173251
173353
|
}
|
|
173252
173354
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
173253
173355
|
object.id = message.id;
|
|
@@ -173280,6 +173382,14 @@ $root.coaching = (function() {
|
|
|
173280
173382
|
object.dropinSessionId = options.longs === String ? $util.Long.prototype.toString.call(message.dropinSessionId) : options.longs === Number ? new $util.LongBits(message.dropinSessionId.low >>> 0, message.dropinSessionId.high >>> 0).toNumber(true) : message.dropinSessionId;
|
|
173281
173383
|
if (message.sessionFormat != null && message.hasOwnProperty("sessionFormat"))
|
|
173282
173384
|
object.sessionFormat = options.enums === String ? $root.coaching.CoachingSessionFormat[message.sessionFormat] : message.sessionFormat;
|
|
173385
|
+
if (message.understoodRating != null && message.hasOwnProperty("understoodRating"))
|
|
173386
|
+
object.understoodRating = message.understoodRating;
|
|
173387
|
+
if (message.feltSupportedRating != null && message.hasOwnProperty("feltSupportedRating"))
|
|
173388
|
+
object.feltSupportedRating = message.feltSupportedRating;
|
|
173389
|
+
if (message.approachRating != null && message.hasOwnProperty("approachRating"))
|
|
173390
|
+
object.approachRating = message.approachRating;
|
|
173391
|
+
if (message.comment != null && message.hasOwnProperty("comment"))
|
|
173392
|
+
object.comment = message.comment;
|
|
173283
173393
|
return object;
|
|
173284
173394
|
};
|
|
173285
173395
|
|
package/package.json
CHANGED