@headspace/protos-events 1.586.0 → 1.588.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 +6 -6
- package/lib/index.js +25 -30
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -30948,6 +30948,9 @@ export interface ISurveyResponse {
|
|
|
30948
30948
|
|
|
30949
30949
|
/** SurveyResponse gingerUserId */
|
|
30950
30950
|
gingerUserId?: (number|null);
|
|
30951
|
+
|
|
30952
|
+
/** SurveyResponse assignedAtIsoDate */
|
|
30953
|
+
assignedAtIsoDate?: (string|null);
|
|
30951
30954
|
}
|
|
30952
30955
|
|
|
30953
30956
|
/** Represents a SurveyResponse. */
|
|
@@ -30983,6 +30986,9 @@ export class SurveyResponse implements ISurveyResponse {
|
|
|
30983
30986
|
/** SurveyResponse gingerUserId. */
|
|
30984
30987
|
public gingerUserId: number;
|
|
30985
30988
|
|
|
30989
|
+
/** SurveyResponse assignedAtIsoDate. */
|
|
30990
|
+
public assignedAtIsoDate: string;
|
|
30991
|
+
|
|
30986
30992
|
/**
|
|
30987
30993
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
30988
30994
|
* @param [properties] Properties to set
|
|
@@ -36386,9 +36392,6 @@ export class B2BMemberPartnerConsentRequested implements IB2BMemberPartnerConsen
|
|
|
36386
36392
|
/** Properties of a B2BMemberPartnerConsentRemovalRequested. */
|
|
36387
36393
|
export interface IB2BMemberPartnerConsentRemovalRequested {
|
|
36388
36394
|
|
|
36389
|
-
/** B2BMemberPartnerConsentRemovalRequested partnerConsent */
|
|
36390
|
-
partnerConsent?: (b2b.IPartnerConsent|null);
|
|
36391
|
-
|
|
36392
36395
|
/** B2BMemberPartnerConsentRemovalRequested hsUserId */
|
|
36393
36396
|
hsUserId?: (string|null);
|
|
36394
36397
|
|
|
@@ -36405,9 +36408,6 @@ export class B2BMemberPartnerConsentRemovalRequested implements IB2BMemberPartne
|
|
|
36405
36408
|
*/
|
|
36406
36409
|
constructor(properties?: IB2BMemberPartnerConsentRemovalRequested);
|
|
36407
36410
|
|
|
36408
|
-
/** B2BMemberPartnerConsentRemovalRequested partnerConsent. */
|
|
36409
|
-
public partnerConsent?: (b2b.IPartnerConsent|null);
|
|
36410
|
-
|
|
36411
36411
|
/** B2BMemberPartnerConsentRemovalRequested hsUserId. */
|
|
36412
36412
|
public hsUserId: string;
|
|
36413
36413
|
|
package/lib/index.js
CHANGED
|
@@ -88284,6 +88284,7 @@ $root.SurveyResponse = (function() {
|
|
|
88284
88284
|
* @property {string|null} [reflectionNote] SurveyResponse reflectionNote
|
|
88285
88285
|
* @property {string|null} [id] SurveyResponse id
|
|
88286
88286
|
* @property {number|null} [gingerUserId] SurveyResponse gingerUserId
|
|
88287
|
+
* @property {string|null} [assignedAtIsoDate] SurveyResponse assignedAtIsoDate
|
|
88287
88288
|
*/
|
|
88288
88289
|
|
|
88289
88290
|
/**
|
|
@@ -88366,6 +88367,14 @@ $root.SurveyResponse = (function() {
|
|
|
88366
88367
|
*/
|
|
88367
88368
|
SurveyResponse.prototype.gingerUserId = 0;
|
|
88368
88369
|
|
|
88370
|
+
/**
|
|
88371
|
+
* SurveyResponse assignedAtIsoDate.
|
|
88372
|
+
* @member {string} assignedAtIsoDate
|
|
88373
|
+
* @memberof SurveyResponse
|
|
88374
|
+
* @instance
|
|
88375
|
+
*/
|
|
88376
|
+
SurveyResponse.prototype.assignedAtIsoDate = "";
|
|
88377
|
+
|
|
88369
88378
|
/**
|
|
88370
88379
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
88371
88380
|
* @function create
|
|
@@ -88407,6 +88416,8 @@ $root.SurveyResponse = (function() {
|
|
|
88407
88416
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.id);
|
|
88408
88417
|
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
88409
88418
|
writer.uint32(/* id 8, wireType 0 =*/64).uint32(message.gingerUserId);
|
|
88419
|
+
if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
|
|
88420
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.assignedAtIsoDate);
|
|
88410
88421
|
return writer;
|
|
88411
88422
|
};
|
|
88412
88423
|
|
|
@@ -88467,6 +88478,9 @@ $root.SurveyResponse = (function() {
|
|
|
88467
88478
|
case 8:
|
|
88468
88479
|
message.gingerUserId = reader.uint32();
|
|
88469
88480
|
break;
|
|
88481
|
+
case 9:
|
|
88482
|
+
message.assignedAtIsoDate = reader.string();
|
|
88483
|
+
break;
|
|
88470
88484
|
default:
|
|
88471
88485
|
reader.skipType(tag & 7);
|
|
88472
88486
|
break;
|
|
@@ -88532,6 +88546,9 @@ $root.SurveyResponse = (function() {
|
|
|
88532
88546
|
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
88533
88547
|
if (!$util.isInteger(message.gingerUserId))
|
|
88534
88548
|
return "gingerUserId: integer expected";
|
|
88549
|
+
if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
|
|
88550
|
+
if (!$util.isString(message.assignedAtIsoDate))
|
|
88551
|
+
return "assignedAtIsoDate: string expected";
|
|
88535
88552
|
return null;
|
|
88536
88553
|
};
|
|
88537
88554
|
|
|
@@ -88571,6 +88588,8 @@ $root.SurveyResponse = (function() {
|
|
|
88571
88588
|
message.id = String(object.id);
|
|
88572
88589
|
if (object.gingerUserId != null)
|
|
88573
88590
|
message.gingerUserId = object.gingerUserId >>> 0;
|
|
88591
|
+
if (object.assignedAtIsoDate != null)
|
|
88592
|
+
message.assignedAtIsoDate = String(object.assignedAtIsoDate);
|
|
88574
88593
|
return message;
|
|
88575
88594
|
};
|
|
88576
88595
|
|
|
@@ -88597,6 +88616,7 @@ $root.SurveyResponse = (function() {
|
|
|
88597
88616
|
object.reflectionNote = "";
|
|
88598
88617
|
object.id = "";
|
|
88599
88618
|
object.gingerUserId = 0;
|
|
88619
|
+
object.assignedAtIsoDate = "";
|
|
88600
88620
|
}
|
|
88601
88621
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
88602
88622
|
object.userId = message.userId;
|
|
@@ -88617,6 +88637,8 @@ $root.SurveyResponse = (function() {
|
|
|
88617
88637
|
object.id = message.id;
|
|
88618
88638
|
if (message.gingerUserId != null && message.hasOwnProperty("gingerUserId"))
|
|
88619
88639
|
object.gingerUserId = message.gingerUserId;
|
|
88640
|
+
if (message.assignedAtIsoDate != null && message.hasOwnProperty("assignedAtIsoDate"))
|
|
88641
|
+
object.assignedAtIsoDate = message.assignedAtIsoDate;
|
|
88620
88642
|
return object;
|
|
88621
88643
|
};
|
|
88622
88644
|
|
|
@@ -103605,7 +103627,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103605
103627
|
* Properties of a B2BMemberPartnerConsentRemovalRequested.
|
|
103606
103628
|
* @name IB2BMemberPartnerConsentRemovalRequested
|
|
103607
103629
|
* @interface IB2BMemberPartnerConsentRemovalRequested
|
|
103608
|
-
* @property {b2b.IPartnerConsent|null} [partnerConsent] B2BMemberPartnerConsentRemovalRequested partnerConsent
|
|
103609
103630
|
* @property {string|null} [hsUserId] B2BMemberPartnerConsentRemovalRequested hsUserId
|
|
103610
103631
|
* @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRemovalRequested timestamp
|
|
103611
103632
|
*/
|
|
@@ -103625,14 +103646,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103625
103646
|
this[keys[i]] = properties[keys[i]];
|
|
103626
103647
|
}
|
|
103627
103648
|
|
|
103628
|
-
/**
|
|
103629
|
-
* B2BMemberPartnerConsentRemovalRequested partnerConsent.
|
|
103630
|
-
* @member {b2b.IPartnerConsent|null|undefined} partnerConsent
|
|
103631
|
-
* @memberof B2BMemberPartnerConsentRemovalRequested
|
|
103632
|
-
* @instance
|
|
103633
|
-
*/
|
|
103634
|
-
B2BMemberPartnerConsentRemovalRequested.prototype.partnerConsent = null;
|
|
103635
|
-
|
|
103636
103649
|
/**
|
|
103637
103650
|
* B2BMemberPartnerConsentRemovalRequested hsUserId.
|
|
103638
103651
|
* @member {string} hsUserId
|
|
@@ -103673,12 +103686,10 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103673
103686
|
B2BMemberPartnerConsentRemovalRequested.encode = function encode(message, writer) {
|
|
103674
103687
|
if (!writer)
|
|
103675
103688
|
writer = $Writer.create();
|
|
103676
|
-
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
|
|
103677
|
-
$root.b2b.PartnerConsent.encode(message.partnerConsent, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
103678
103689
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
103679
|
-
writer.uint32(/* id
|
|
103690
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
|
|
103680
103691
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103681
|
-
writer.uint32(/* id
|
|
103692
|
+
writer.uint32(/* id 2, wireType 0 =*/16).uint64(message.timestamp);
|
|
103682
103693
|
return writer;
|
|
103683
103694
|
};
|
|
103684
103695
|
|
|
@@ -103714,12 +103725,9 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103714
103725
|
var tag = reader.uint32();
|
|
103715
103726
|
switch (tag >>> 3) {
|
|
103716
103727
|
case 1:
|
|
103717
|
-
message.partnerConsent = $root.b2b.PartnerConsent.decode(reader, reader.uint32());
|
|
103718
|
-
break;
|
|
103719
|
-
case 2:
|
|
103720
103728
|
message.hsUserId = reader.string();
|
|
103721
103729
|
break;
|
|
103722
|
-
case
|
|
103730
|
+
case 2:
|
|
103723
103731
|
message.timestamp = reader.uint64();
|
|
103724
103732
|
break;
|
|
103725
103733
|
default:
|
|
@@ -103757,11 +103765,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103757
103765
|
B2BMemberPartnerConsentRemovalRequested.verify = function verify(message) {
|
|
103758
103766
|
if (typeof message !== "object" || message === null)
|
|
103759
103767
|
return "object expected";
|
|
103760
|
-
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent")) {
|
|
103761
|
-
var error = $root.b2b.PartnerConsent.verify(message.partnerConsent);
|
|
103762
|
-
if (error)
|
|
103763
|
-
return "partnerConsent." + error;
|
|
103764
|
-
}
|
|
103765
103768
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
103766
103769
|
if (!$util.isString(message.hsUserId))
|
|
103767
103770
|
return "hsUserId: string expected";
|
|
@@ -103783,11 +103786,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103783
103786
|
if (object instanceof $root.B2BMemberPartnerConsentRemovalRequested)
|
|
103784
103787
|
return object;
|
|
103785
103788
|
var message = new $root.B2BMemberPartnerConsentRemovalRequested();
|
|
103786
|
-
if (object.partnerConsent != null) {
|
|
103787
|
-
if (typeof object.partnerConsent !== "object")
|
|
103788
|
-
throw TypeError(".B2BMemberPartnerConsentRemovalRequested.partnerConsent: object expected");
|
|
103789
|
-
message.partnerConsent = $root.b2b.PartnerConsent.fromObject(object.partnerConsent);
|
|
103790
|
-
}
|
|
103791
103789
|
if (object.hsUserId != null)
|
|
103792
103790
|
message.hsUserId = String(object.hsUserId);
|
|
103793
103791
|
if (object.timestamp != null)
|
|
@@ -103816,7 +103814,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103816
103814
|
options = {};
|
|
103817
103815
|
var object = {};
|
|
103818
103816
|
if (options.defaults) {
|
|
103819
|
-
object.partnerConsent = null;
|
|
103820
103817
|
object.hsUserId = "";
|
|
103821
103818
|
if ($util.Long) {
|
|
103822
103819
|
var long = new $util.Long(0, 0, true);
|
|
@@ -103824,8 +103821,6 @@ $root.B2BMemberPartnerConsentRemovalRequested = (function() {
|
|
|
103824
103821
|
} else
|
|
103825
103822
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
103826
103823
|
}
|
|
103827
|
-
if (message.partnerConsent != null && message.hasOwnProperty("partnerConsent"))
|
|
103828
|
-
object.partnerConsent = $root.b2b.PartnerConsent.toObject(message.partnerConsent, options);
|
|
103829
103824
|
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
103830
103825
|
object.hsUserId = message.hsUserId;
|
|
103831
103826
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
package/package.json
CHANGED