@headspace/protos-events 1.752.0 → 1.754.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 +30 -0
- package/lib/index.js +152 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -28104,6 +28104,9 @@ export interface ISurveyResponse {
|
|
|
28104
28104
|
|
|
28105
28105
|
/** SurveyResponse assignmentId */
|
|
28106
28106
|
assignmentId?: (number|Long|null);
|
|
28107
|
+
|
|
28108
|
+
/** SurveyResponse totalScore */
|
|
28109
|
+
totalScore?: (number|null);
|
|
28107
28110
|
}
|
|
28108
28111
|
|
|
28109
28112
|
/** Represents a SurveyResponse. */
|
|
@@ -28145,6 +28148,9 @@ export class SurveyResponse implements ISurveyResponse {
|
|
|
28145
28148
|
/** SurveyResponse assignmentId. */
|
|
28146
28149
|
public assignmentId: (number|Long);
|
|
28147
28150
|
|
|
28151
|
+
/** SurveyResponse totalScore. */
|
|
28152
|
+
public totalScore: number;
|
|
28153
|
+
|
|
28148
28154
|
/**
|
|
28149
28155
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
28150
28156
|
* @param [properties] Properties to set
|
|
@@ -38735,6 +38741,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
38735
38741
|
|
|
38736
38742
|
/** EnterpriseUserEnrollmentCreated suppressCoachingCommunications */
|
|
38737
38743
|
suppressCoachingCommunications?: (boolean|null);
|
|
38744
|
+
|
|
38745
|
+
/** EnterpriseUserEnrollmentCreated enrollmentClient */
|
|
38746
|
+
enrollmentClient?: (string|null);
|
|
38738
38747
|
}
|
|
38739
38748
|
|
|
38740
38749
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -38896,6 +38905,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
38896
38905
|
/** EnterpriseUserEnrollmentCreated suppressCoachingCommunications. */
|
|
38897
38906
|
public suppressCoachingCommunications: boolean;
|
|
38898
38907
|
|
|
38908
|
+
/** EnterpriseUserEnrollmentCreated enrollmentClient. */
|
|
38909
|
+
public enrollmentClient: string;
|
|
38910
|
+
|
|
38899
38911
|
/**
|
|
38900
38912
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
38901
38913
|
* @param [properties] Properties to set
|
|
@@ -47038,6 +47050,9 @@ export interface IPHQAssessmentStarted {
|
|
|
47038
47050
|
|
|
47039
47051
|
/** PHQAssessmentStarted startedAtIsoDate */
|
|
47040
47052
|
startedAtIsoDate?: (string|null);
|
|
47053
|
+
|
|
47054
|
+
/** PHQAssessmentStarted assignmentId */
|
|
47055
|
+
assignmentId?: (number|Long|null);
|
|
47041
47056
|
}
|
|
47042
47057
|
|
|
47043
47058
|
/** Represents a PHQAssessmentStarted. */
|
|
@@ -47058,6 +47073,9 @@ export class PHQAssessmentStarted implements IPHQAssessmentStarted {
|
|
|
47058
47073
|
/** PHQAssessmentStarted startedAtIsoDate. */
|
|
47059
47074
|
public startedAtIsoDate: string;
|
|
47060
47075
|
|
|
47076
|
+
/** PHQAssessmentStarted assignmentId. */
|
|
47077
|
+
public assignmentId: (number|Long);
|
|
47078
|
+
|
|
47061
47079
|
/**
|
|
47062
47080
|
* Creates a new PHQAssessmentStarted instance using the specified properties.
|
|
47063
47081
|
* @param [properties] Properties to set
|
|
@@ -47140,6 +47158,9 @@ export interface IPHQAssessmentCompleted {
|
|
|
47140
47158
|
|
|
47141
47159
|
/** PHQAssessmentCompleted completedAtIsoDate */
|
|
47142
47160
|
completedAtIsoDate?: (string|null);
|
|
47161
|
+
|
|
47162
|
+
/** PHQAssessmentCompleted assignmentId */
|
|
47163
|
+
assignmentId?: (number|Long|null);
|
|
47143
47164
|
}
|
|
47144
47165
|
|
|
47145
47166
|
/** Represents a PHQAssessmentCompleted. */
|
|
@@ -47160,6 +47181,9 @@ export class PHQAssessmentCompleted implements IPHQAssessmentCompleted {
|
|
|
47160
47181
|
/** PHQAssessmentCompleted completedAtIsoDate. */
|
|
47161
47182
|
public completedAtIsoDate: string;
|
|
47162
47183
|
|
|
47184
|
+
/** PHQAssessmentCompleted assignmentId. */
|
|
47185
|
+
public assignmentId: (number|Long);
|
|
47186
|
+
|
|
47163
47187
|
/**
|
|
47164
47188
|
* Creates a new PHQAssessmentCompleted instance using the specified properties.
|
|
47165
47189
|
* @param [properties] Properties to set
|
|
@@ -50458,6 +50482,9 @@ export interface IPSSAssessmentCompleted {
|
|
|
50458
50482
|
|
|
50459
50483
|
/** PSSAssessmentCompleted completedAtIsoDate */
|
|
50460
50484
|
completedAtIsoDate?: (string|null);
|
|
50485
|
+
|
|
50486
|
+
/** PSSAssessmentCompleted assignmentId */
|
|
50487
|
+
assignmentId?: (number|Long|null);
|
|
50461
50488
|
}
|
|
50462
50489
|
|
|
50463
50490
|
/** Represents a PSSAssessmentCompleted. */
|
|
@@ -50478,6 +50505,9 @@ export class PSSAssessmentCompleted implements IPSSAssessmentCompleted {
|
|
|
50478
50505
|
/** PSSAssessmentCompleted completedAtIsoDate. */
|
|
50479
50506
|
public completedAtIsoDate: string;
|
|
50480
50507
|
|
|
50508
|
+
/** PSSAssessmentCompleted assignmentId. */
|
|
50509
|
+
public assignmentId: (number|Long);
|
|
50510
|
+
|
|
50481
50511
|
/**
|
|
50482
50512
|
* Creates a new PSSAssessmentCompleted instance using the specified properties.
|
|
50483
50513
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -79740,6 +79740,7 @@ $root.SurveyResponse = (function() {
|
|
|
79740
79740
|
* @property {number|null} [gingerUserId] SurveyResponse gingerUserId
|
|
79741
79741
|
* @property {string|null} [assignedAtIsoDate] SurveyResponse assignedAtIsoDate
|
|
79742
79742
|
* @property {number|Long|null} [assignmentId] SurveyResponse assignmentId
|
|
79743
|
+
* @property {number|null} [totalScore] SurveyResponse totalScore
|
|
79743
79744
|
*/
|
|
79744
79745
|
|
|
79745
79746
|
/**
|
|
@@ -79838,6 +79839,14 @@ $root.SurveyResponse = (function() {
|
|
|
79838
79839
|
*/
|
|
79839
79840
|
SurveyResponse.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
79840
79841
|
|
|
79842
|
+
/**
|
|
79843
|
+
* SurveyResponse totalScore.
|
|
79844
|
+
* @member {number} totalScore
|
|
79845
|
+
* @memberof SurveyResponse
|
|
79846
|
+
* @instance
|
|
79847
|
+
*/
|
|
79848
|
+
SurveyResponse.prototype.totalScore = 0;
|
|
79849
|
+
|
|
79841
79850
|
/**
|
|
79842
79851
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
79843
79852
|
* @function create
|
|
@@ -79883,6 +79892,8 @@ $root.SurveyResponse = (function() {
|
|
|
79883
79892
|
writer.uint32(/* id 9, wireType 2 =*/74).string(message.assignedAtIsoDate);
|
|
79884
79893
|
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
79885
79894
|
writer.uint32(/* id 10, wireType 0 =*/80).int64(message.assignmentId);
|
|
79895
|
+
if (message.totalScore != null && message.hasOwnProperty("totalScore"))
|
|
79896
|
+
writer.uint32(/* id 11, wireType 0 =*/88).uint32(message.totalScore);
|
|
79886
79897
|
return writer;
|
|
79887
79898
|
};
|
|
79888
79899
|
|
|
@@ -79949,6 +79960,9 @@ $root.SurveyResponse = (function() {
|
|
|
79949
79960
|
case 10:
|
|
79950
79961
|
message.assignmentId = reader.int64();
|
|
79951
79962
|
break;
|
|
79963
|
+
case 11:
|
|
79964
|
+
message.totalScore = reader.uint32();
|
|
79965
|
+
break;
|
|
79952
79966
|
default:
|
|
79953
79967
|
reader.skipType(tag & 7);
|
|
79954
79968
|
break;
|
|
@@ -80020,6 +80034,9 @@ $root.SurveyResponse = (function() {
|
|
|
80020
80034
|
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
80021
80035
|
if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
|
|
80022
80036
|
return "assignmentId: integer|Long expected";
|
|
80037
|
+
if (message.totalScore != null && message.hasOwnProperty("totalScore"))
|
|
80038
|
+
if (!$util.isInteger(message.totalScore))
|
|
80039
|
+
return "totalScore: integer expected";
|
|
80023
80040
|
return null;
|
|
80024
80041
|
};
|
|
80025
80042
|
|
|
@@ -80070,6 +80087,8 @@ $root.SurveyResponse = (function() {
|
|
|
80070
80087
|
message.assignmentId = object.assignmentId;
|
|
80071
80088
|
else if (typeof object.assignmentId === "object")
|
|
80072
80089
|
message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
|
|
80090
|
+
if (object.totalScore != null)
|
|
80091
|
+
message.totalScore = object.totalScore >>> 0;
|
|
80073
80092
|
return message;
|
|
80074
80093
|
};
|
|
80075
80094
|
|
|
@@ -80102,6 +80121,7 @@ $root.SurveyResponse = (function() {
|
|
|
80102
80121
|
object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
80103
80122
|
} else
|
|
80104
80123
|
object.assignmentId = options.longs === String ? "0" : 0;
|
|
80124
|
+
object.totalScore = 0;
|
|
80105
80125
|
}
|
|
80106
80126
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
80107
80127
|
object.userId = message.userId;
|
|
@@ -80129,6 +80149,8 @@ $root.SurveyResponse = (function() {
|
|
|
80129
80149
|
object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
|
|
80130
80150
|
else
|
|
80131
80151
|
object.assignmentId = options.longs === String ? $util.Long.prototype.toString.call(message.assignmentId) : options.longs === Number ? new $util.LongBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0).toNumber() : message.assignmentId;
|
|
80152
|
+
if (message.totalScore != null && message.hasOwnProperty("totalScore"))
|
|
80153
|
+
object.totalScore = message.totalScore;
|
|
80132
80154
|
return object;
|
|
80133
80155
|
};
|
|
80134
80156
|
|
|
@@ -108741,6 +108763,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
108741
108763
|
* @property {b2b.PrimaryProduct|null} [primaryProduct] EnterpriseUserEnrollmentCreated primaryProduct
|
|
108742
108764
|
* @property {string|null} [eligibilityRecordUuid] EnterpriseUserEnrollmentCreated eligibilityRecordUuid
|
|
108743
108765
|
* @property {boolean|null} [suppressCoachingCommunications] EnterpriseUserEnrollmentCreated suppressCoachingCommunications
|
|
108766
|
+
* @property {string|null} [enrollmentClient] EnterpriseUserEnrollmentCreated enrollmentClient
|
|
108744
108767
|
*/
|
|
108745
108768
|
|
|
108746
108769
|
/**
|
|
@@ -109158,6 +109181,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
109158
109181
|
*/
|
|
109159
109182
|
EnterpriseUserEnrollmentCreated.prototype.suppressCoachingCommunications = false;
|
|
109160
109183
|
|
|
109184
|
+
/**
|
|
109185
|
+
* EnterpriseUserEnrollmentCreated enrollmentClient.
|
|
109186
|
+
* @member {string} enrollmentClient
|
|
109187
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
109188
|
+
* @instance
|
|
109189
|
+
*/
|
|
109190
|
+
EnterpriseUserEnrollmentCreated.prototype.enrollmentClient = "";
|
|
109191
|
+
|
|
109161
109192
|
/**
|
|
109162
109193
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
109163
109194
|
* @function create
|
|
@@ -109282,6 +109313,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
109282
109313
|
writer.uint32(/* id 54, wireType 2 =*/434).string(message.eligibilityRecordUuid);
|
|
109283
109314
|
if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
|
|
109284
109315
|
writer.uint32(/* id 55, wireType 0 =*/440).bool(message.suppressCoachingCommunications);
|
|
109316
|
+
if (message.enrollmentClient != null && message.hasOwnProperty("enrollmentClient"))
|
|
109317
|
+
writer.uint32(/* id 56, wireType 2 =*/450).string(message.enrollmentClient);
|
|
109285
109318
|
return writer;
|
|
109286
109319
|
};
|
|
109287
109320
|
|
|
@@ -109466,6 +109499,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
109466
109499
|
case 55:
|
|
109467
109500
|
message.suppressCoachingCommunications = reader.bool();
|
|
109468
109501
|
break;
|
|
109502
|
+
case 56:
|
|
109503
|
+
message.enrollmentClient = reader.string();
|
|
109504
|
+
break;
|
|
109469
109505
|
default:
|
|
109470
109506
|
reader.skipType(tag & 7);
|
|
109471
109507
|
break;
|
|
@@ -109726,6 +109762,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
109726
109762
|
if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
|
|
109727
109763
|
if (typeof message.suppressCoachingCommunications !== "boolean")
|
|
109728
109764
|
return "suppressCoachingCommunications: boolean expected";
|
|
109765
|
+
if (message.enrollmentClient != null && message.hasOwnProperty("enrollmentClient"))
|
|
109766
|
+
if (!$util.isString(message.enrollmentClient))
|
|
109767
|
+
return "enrollmentClient: string expected";
|
|
109729
109768
|
return null;
|
|
109730
109769
|
};
|
|
109731
109770
|
|
|
@@ -110056,6 +110095,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
110056
110095
|
message.eligibilityRecordUuid = String(object.eligibilityRecordUuid);
|
|
110057
110096
|
if (object.suppressCoachingCommunications != null)
|
|
110058
110097
|
message.suppressCoachingCommunications = Boolean(object.suppressCoachingCommunications);
|
|
110098
|
+
if (object.enrollmentClient != null)
|
|
110099
|
+
message.enrollmentClient = String(object.enrollmentClient);
|
|
110059
110100
|
return message;
|
|
110060
110101
|
};
|
|
110061
110102
|
|
|
@@ -110143,6 +110184,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
110143
110184
|
object.primaryProduct = options.enums === String ? "PRIMARY_PRODUCT_UNKNOWN" : 0;
|
|
110144
110185
|
object.eligibilityRecordUuid = "";
|
|
110145
110186
|
object.suppressCoachingCommunications = false;
|
|
110187
|
+
object.enrollmentClient = "";
|
|
110146
110188
|
}
|
|
110147
110189
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
110148
110190
|
object.userId = message.userId;
|
|
@@ -110259,6 +110301,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
110259
110301
|
object.eligibilityRecordUuid = message.eligibilityRecordUuid;
|
|
110260
110302
|
if (message.suppressCoachingCommunications != null && message.hasOwnProperty("suppressCoachingCommunications"))
|
|
110261
110303
|
object.suppressCoachingCommunications = message.suppressCoachingCommunications;
|
|
110304
|
+
if (message.enrollmentClient != null && message.hasOwnProperty("enrollmentClient"))
|
|
110305
|
+
object.enrollmentClient = message.enrollmentClient;
|
|
110262
110306
|
return object;
|
|
110263
110307
|
};
|
|
110264
110308
|
|
|
@@ -134018,6 +134062,7 @@ $root.PHQAssessmentStarted = (function() {
|
|
|
134018
134062
|
* @property {string|null} [hsUserId] PHQAssessmentStarted hsUserId
|
|
134019
134063
|
* @property {number|null} [gingerUserId] PHQAssessmentStarted gingerUserId
|
|
134020
134064
|
* @property {string|null} [startedAtIsoDate] PHQAssessmentStarted startedAtIsoDate
|
|
134065
|
+
* @property {number|Long|null} [assignmentId] PHQAssessmentStarted assignmentId
|
|
134021
134066
|
*/
|
|
134022
134067
|
|
|
134023
134068
|
/**
|
|
@@ -134059,6 +134104,14 @@ $root.PHQAssessmentStarted = (function() {
|
|
|
134059
134104
|
*/
|
|
134060
134105
|
PHQAssessmentStarted.prototype.startedAtIsoDate = "";
|
|
134061
134106
|
|
|
134107
|
+
/**
|
|
134108
|
+
* PHQAssessmentStarted assignmentId.
|
|
134109
|
+
* @member {number|Long} assignmentId
|
|
134110
|
+
* @memberof PHQAssessmentStarted
|
|
134111
|
+
* @instance
|
|
134112
|
+
*/
|
|
134113
|
+
PHQAssessmentStarted.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
134114
|
+
|
|
134062
134115
|
/**
|
|
134063
134116
|
* Creates a new PHQAssessmentStarted instance using the specified properties.
|
|
134064
134117
|
* @function create
|
|
@@ -134089,6 +134142,8 @@ $root.PHQAssessmentStarted = (function() {
|
|
|
134089
134142
|
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
|
|
134090
134143
|
if (message.startedAtIsoDate != null && message.hasOwnProperty("startedAtIsoDate"))
|
|
134091
134144
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.startedAtIsoDate);
|
|
134145
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
134146
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
|
|
134092
134147
|
return writer;
|
|
134093
134148
|
};
|
|
134094
134149
|
|
|
@@ -134132,6 +134187,9 @@ $root.PHQAssessmentStarted = (function() {
|
|
|
134132
134187
|
case 3:
|
|
134133
134188
|
message.startedAtIsoDate = reader.string();
|
|
134134
134189
|
break;
|
|
134190
|
+
case 4:
|
|
134191
|
+
message.assignmentId = reader.int64();
|
|
134192
|
+
break;
|
|
134135
134193
|
default:
|
|
134136
134194
|
reader.skipType(tag & 7);
|
|
134137
134195
|
break;
|
|
@@ -134176,6 +134234,9 @@ $root.PHQAssessmentStarted = (function() {
|
|
|
134176
134234
|
if (message.startedAtIsoDate != null && message.hasOwnProperty("startedAtIsoDate"))
|
|
134177
134235
|
if (!$util.isString(message.startedAtIsoDate))
|
|
134178
134236
|
return "startedAtIsoDate: string expected";
|
|
134237
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
134238
|
+
if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
|
|
134239
|
+
return "assignmentId: integer|Long expected";
|
|
134179
134240
|
return null;
|
|
134180
134241
|
};
|
|
134181
134242
|
|
|
@@ -134197,6 +134258,15 @@ $root.PHQAssessmentStarted = (function() {
|
|
|
134197
134258
|
message.gingerUserId = object.gingerUserId >>> 0;
|
|
134198
134259
|
if (object.startedAtIsoDate != null)
|
|
134199
134260
|
message.startedAtIsoDate = String(object.startedAtIsoDate);
|
|
134261
|
+
if (object.assignmentId != null)
|
|
134262
|
+
if ($util.Long)
|
|
134263
|
+
(message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
|
|
134264
|
+
else if (typeof object.assignmentId === "string")
|
|
134265
|
+
message.assignmentId = parseInt(object.assignmentId, 10);
|
|
134266
|
+
else if (typeof object.assignmentId === "number")
|
|
134267
|
+
message.assignmentId = object.assignmentId;
|
|
134268
|
+
else if (typeof object.assignmentId === "object")
|
|
134269
|
+
message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
|
|
134200
134270
|
return message;
|
|
134201
134271
|
};
|
|
134202
134272
|
|
|
@@ -134217,6 +134287,11 @@ $root.PHQAssessmentStarted = (function() {
|
|
|
134217
134287
|
object.hsUserId = "";
|
|
134218
134288
|
object.gingerUserId = 0;
|
|
134219
134289
|
object.startedAtIsoDate = "";
|
|
134290
|
+
if ($util.Long) {
|
|
134291
|
+
var long = new $util.Long(0, 0, false);
|
|
134292
|
+
object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
134293
|
+
} else
|
|
134294
|
+
object.assignmentId = options.longs === String ? "0" : 0;
|
|
134220
134295
|
}
|
|
134221
134296
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
134222
134297
|
object.hsUserId = message.hsUserId;
|
|
@@ -134224,6 +134299,11 @@ $root.PHQAssessmentStarted = (function() {
|
|
|
134224
134299
|
object.gingerUserId = message.gingerUserId;
|
|
134225
134300
|
if (message.startedAtIsoDate != null && message.hasOwnProperty("startedAtIsoDate"))
|
|
134226
134301
|
object.startedAtIsoDate = message.startedAtIsoDate;
|
|
134302
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
134303
|
+
if (typeof message.assignmentId === "number")
|
|
134304
|
+
object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
|
|
134305
|
+
else
|
|
134306
|
+
object.assignmentId = options.longs === String ? $util.Long.prototype.toString.call(message.assignmentId) : options.longs === Number ? new $util.LongBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0).toNumber() : message.assignmentId;
|
|
134227
134307
|
return object;
|
|
134228
134308
|
};
|
|
134229
134309
|
|
|
@@ -134250,6 +134330,7 @@ $root.PHQAssessmentCompleted = (function() {
|
|
|
134250
134330
|
* @property {string|null} [hsUserId] PHQAssessmentCompleted hsUserId
|
|
134251
134331
|
* @property {number|null} [gingerUserId] PHQAssessmentCompleted gingerUserId
|
|
134252
134332
|
* @property {string|null} [completedAtIsoDate] PHQAssessmentCompleted completedAtIsoDate
|
|
134333
|
+
* @property {number|Long|null} [assignmentId] PHQAssessmentCompleted assignmentId
|
|
134253
134334
|
*/
|
|
134254
134335
|
|
|
134255
134336
|
/**
|
|
@@ -134291,6 +134372,14 @@ $root.PHQAssessmentCompleted = (function() {
|
|
|
134291
134372
|
*/
|
|
134292
134373
|
PHQAssessmentCompleted.prototype.completedAtIsoDate = "";
|
|
134293
134374
|
|
|
134375
|
+
/**
|
|
134376
|
+
* PHQAssessmentCompleted assignmentId.
|
|
134377
|
+
* @member {number|Long} assignmentId
|
|
134378
|
+
* @memberof PHQAssessmentCompleted
|
|
134379
|
+
* @instance
|
|
134380
|
+
*/
|
|
134381
|
+
PHQAssessmentCompleted.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
134382
|
+
|
|
134294
134383
|
/**
|
|
134295
134384
|
* Creates a new PHQAssessmentCompleted instance using the specified properties.
|
|
134296
134385
|
* @function create
|
|
@@ -134321,6 +134410,8 @@ $root.PHQAssessmentCompleted = (function() {
|
|
|
134321
134410
|
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
|
|
134322
134411
|
if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
|
|
134323
134412
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.completedAtIsoDate);
|
|
134413
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
134414
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
|
|
134324
134415
|
return writer;
|
|
134325
134416
|
};
|
|
134326
134417
|
|
|
@@ -134364,6 +134455,9 @@ $root.PHQAssessmentCompleted = (function() {
|
|
|
134364
134455
|
case 3:
|
|
134365
134456
|
message.completedAtIsoDate = reader.string();
|
|
134366
134457
|
break;
|
|
134458
|
+
case 4:
|
|
134459
|
+
message.assignmentId = reader.int64();
|
|
134460
|
+
break;
|
|
134367
134461
|
default:
|
|
134368
134462
|
reader.skipType(tag & 7);
|
|
134369
134463
|
break;
|
|
@@ -134408,6 +134502,9 @@ $root.PHQAssessmentCompleted = (function() {
|
|
|
134408
134502
|
if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
|
|
134409
134503
|
if (!$util.isString(message.completedAtIsoDate))
|
|
134410
134504
|
return "completedAtIsoDate: string expected";
|
|
134505
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
134506
|
+
if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
|
|
134507
|
+
return "assignmentId: integer|Long expected";
|
|
134411
134508
|
return null;
|
|
134412
134509
|
};
|
|
134413
134510
|
|
|
@@ -134429,6 +134526,15 @@ $root.PHQAssessmentCompleted = (function() {
|
|
|
134429
134526
|
message.gingerUserId = object.gingerUserId >>> 0;
|
|
134430
134527
|
if (object.completedAtIsoDate != null)
|
|
134431
134528
|
message.completedAtIsoDate = String(object.completedAtIsoDate);
|
|
134529
|
+
if (object.assignmentId != null)
|
|
134530
|
+
if ($util.Long)
|
|
134531
|
+
(message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
|
|
134532
|
+
else if (typeof object.assignmentId === "string")
|
|
134533
|
+
message.assignmentId = parseInt(object.assignmentId, 10);
|
|
134534
|
+
else if (typeof object.assignmentId === "number")
|
|
134535
|
+
message.assignmentId = object.assignmentId;
|
|
134536
|
+
else if (typeof object.assignmentId === "object")
|
|
134537
|
+
message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
|
|
134432
134538
|
return message;
|
|
134433
134539
|
};
|
|
134434
134540
|
|
|
@@ -134449,6 +134555,11 @@ $root.PHQAssessmentCompleted = (function() {
|
|
|
134449
134555
|
object.hsUserId = "";
|
|
134450
134556
|
object.gingerUserId = 0;
|
|
134451
134557
|
object.completedAtIsoDate = "";
|
|
134558
|
+
if ($util.Long) {
|
|
134559
|
+
var long = new $util.Long(0, 0, false);
|
|
134560
|
+
object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
134561
|
+
} else
|
|
134562
|
+
object.assignmentId = options.longs === String ? "0" : 0;
|
|
134452
134563
|
}
|
|
134453
134564
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
134454
134565
|
object.hsUserId = message.hsUserId;
|
|
@@ -134456,6 +134567,11 @@ $root.PHQAssessmentCompleted = (function() {
|
|
|
134456
134567
|
object.gingerUserId = message.gingerUserId;
|
|
134457
134568
|
if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
|
|
134458
134569
|
object.completedAtIsoDate = message.completedAtIsoDate;
|
|
134570
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
134571
|
+
if (typeof message.assignmentId === "number")
|
|
134572
|
+
object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
|
|
134573
|
+
else
|
|
134574
|
+
object.assignmentId = options.longs === String ? $util.Long.prototype.toString.call(message.assignmentId) : options.longs === Number ? new $util.LongBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0).toNumber() : message.assignmentId;
|
|
134459
134575
|
return object;
|
|
134460
134576
|
};
|
|
134461
134577
|
|
|
@@ -143010,6 +143126,7 @@ $root.PSSAssessmentCompleted = (function() {
|
|
|
143010
143126
|
* @property {string|null} [hsUserId] PSSAssessmentCompleted hsUserId
|
|
143011
143127
|
* @property {number|null} [gingerUserId] PSSAssessmentCompleted gingerUserId
|
|
143012
143128
|
* @property {string|null} [completedAtIsoDate] PSSAssessmentCompleted completedAtIsoDate
|
|
143129
|
+
* @property {number|Long|null} [assignmentId] PSSAssessmentCompleted assignmentId
|
|
143013
143130
|
*/
|
|
143014
143131
|
|
|
143015
143132
|
/**
|
|
@@ -143051,6 +143168,14 @@ $root.PSSAssessmentCompleted = (function() {
|
|
|
143051
143168
|
*/
|
|
143052
143169
|
PSSAssessmentCompleted.prototype.completedAtIsoDate = "";
|
|
143053
143170
|
|
|
143171
|
+
/**
|
|
143172
|
+
* PSSAssessmentCompleted assignmentId.
|
|
143173
|
+
* @member {number|Long} assignmentId
|
|
143174
|
+
* @memberof PSSAssessmentCompleted
|
|
143175
|
+
* @instance
|
|
143176
|
+
*/
|
|
143177
|
+
PSSAssessmentCompleted.prototype.assignmentId = $util.Long ? $util.Long.fromBits(0,0,false) : 0;
|
|
143178
|
+
|
|
143054
143179
|
/**
|
|
143055
143180
|
* Creates a new PSSAssessmentCompleted instance using the specified properties.
|
|
143056
143181
|
* @function create
|
|
@@ -143081,6 +143206,8 @@ $root.PSSAssessmentCompleted = (function() {
|
|
|
143081
143206
|
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.gingerUserId);
|
|
143082
143207
|
if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
|
|
143083
143208
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.completedAtIsoDate);
|
|
143209
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
143210
|
+
writer.uint32(/* id 4, wireType 0 =*/32).int64(message.assignmentId);
|
|
143084
143211
|
return writer;
|
|
143085
143212
|
};
|
|
143086
143213
|
|
|
@@ -143124,6 +143251,9 @@ $root.PSSAssessmentCompleted = (function() {
|
|
|
143124
143251
|
case 3:
|
|
143125
143252
|
message.completedAtIsoDate = reader.string();
|
|
143126
143253
|
break;
|
|
143254
|
+
case 4:
|
|
143255
|
+
message.assignmentId = reader.int64();
|
|
143256
|
+
break;
|
|
143127
143257
|
default:
|
|
143128
143258
|
reader.skipType(tag & 7);
|
|
143129
143259
|
break;
|
|
@@ -143168,6 +143298,9 @@ $root.PSSAssessmentCompleted = (function() {
|
|
|
143168
143298
|
if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
|
|
143169
143299
|
if (!$util.isString(message.completedAtIsoDate))
|
|
143170
143300
|
return "completedAtIsoDate: string expected";
|
|
143301
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
143302
|
+
if (!$util.isInteger(message.assignmentId) && !(message.assignmentId && $util.isInteger(message.assignmentId.low) && $util.isInteger(message.assignmentId.high)))
|
|
143303
|
+
return "assignmentId: integer|Long expected";
|
|
143171
143304
|
return null;
|
|
143172
143305
|
};
|
|
143173
143306
|
|
|
@@ -143189,6 +143322,15 @@ $root.PSSAssessmentCompleted = (function() {
|
|
|
143189
143322
|
message.gingerUserId = object.gingerUserId >>> 0;
|
|
143190
143323
|
if (object.completedAtIsoDate != null)
|
|
143191
143324
|
message.completedAtIsoDate = String(object.completedAtIsoDate);
|
|
143325
|
+
if (object.assignmentId != null)
|
|
143326
|
+
if ($util.Long)
|
|
143327
|
+
(message.assignmentId = $util.Long.fromValue(object.assignmentId)).unsigned = false;
|
|
143328
|
+
else if (typeof object.assignmentId === "string")
|
|
143329
|
+
message.assignmentId = parseInt(object.assignmentId, 10);
|
|
143330
|
+
else if (typeof object.assignmentId === "number")
|
|
143331
|
+
message.assignmentId = object.assignmentId;
|
|
143332
|
+
else if (typeof object.assignmentId === "object")
|
|
143333
|
+
message.assignmentId = new $util.LongBits(object.assignmentId.low >>> 0, object.assignmentId.high >>> 0).toNumber();
|
|
143192
143334
|
return message;
|
|
143193
143335
|
};
|
|
143194
143336
|
|
|
@@ -143209,6 +143351,11 @@ $root.PSSAssessmentCompleted = (function() {
|
|
|
143209
143351
|
object.hsUserId = "";
|
|
143210
143352
|
object.gingerUserId = 0;
|
|
143211
143353
|
object.completedAtIsoDate = "";
|
|
143354
|
+
if ($util.Long) {
|
|
143355
|
+
var long = new $util.Long(0, 0, false);
|
|
143356
|
+
object.assignmentId = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
143357
|
+
} else
|
|
143358
|
+
object.assignmentId = options.longs === String ? "0" : 0;
|
|
143212
143359
|
}
|
|
143213
143360
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
143214
143361
|
object.hsUserId = message.hsUserId;
|
|
@@ -143216,6 +143363,11 @@ $root.PSSAssessmentCompleted = (function() {
|
|
|
143216
143363
|
object.gingerUserId = message.gingerUserId;
|
|
143217
143364
|
if (message.completedAtIsoDate != null && message.hasOwnProperty("completedAtIsoDate"))
|
|
143218
143365
|
object.completedAtIsoDate = message.completedAtIsoDate;
|
|
143366
|
+
if (message.assignmentId != null && message.hasOwnProperty("assignmentId"))
|
|
143367
|
+
if (typeof message.assignmentId === "number")
|
|
143368
|
+
object.assignmentId = options.longs === String ? String(message.assignmentId) : message.assignmentId;
|
|
143369
|
+
else
|
|
143370
|
+
object.assignmentId = options.longs === String ? $util.Long.prototype.toString.call(message.assignmentId) : options.longs === Number ? new $util.LongBits(message.assignmentId.low >>> 0, message.assignmentId.high >>> 0).toNumber() : message.assignmentId;
|
|
143219
143371
|
return object;
|
|
143220
143372
|
};
|
|
143221
143373
|
|
package/package.json
CHANGED