@headspace/protos-events 1.587.0 → 1.589.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 +12 -0
- package/lib/index.js +44 -0
- 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
|
|
@@ -36292,6 +36298,9 @@ export interface IB2BMemberPartnerConsentRequested {
|
|
|
36292
36298
|
|
|
36293
36299
|
/** B2BMemberPartnerConsentRequested timestamp */
|
|
36294
36300
|
timestamp?: (number|Long|null);
|
|
36301
|
+
|
|
36302
|
+
/** B2BMemberPartnerConsentRequested orgId */
|
|
36303
|
+
orgId?: (number|null);
|
|
36295
36304
|
}
|
|
36296
36305
|
|
|
36297
36306
|
/** Represents a B2BMemberPartnerConsentRequested. */
|
|
@@ -36312,6 +36321,9 @@ export class B2BMemberPartnerConsentRequested implements IB2BMemberPartnerConsen
|
|
|
36312
36321
|
/** B2BMemberPartnerConsentRequested timestamp. */
|
|
36313
36322
|
public timestamp: (number|Long);
|
|
36314
36323
|
|
|
36324
|
+
/** B2BMemberPartnerConsentRequested orgId. */
|
|
36325
|
+
public orgId: number;
|
|
36326
|
+
|
|
36315
36327
|
/**
|
|
36316
36328
|
* Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
|
|
36317
36329
|
* @param [properties] Properties to set
|
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
|
|
|
@@ -103362,6 +103384,7 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103362
103384
|
* @property {string|null} [partnerConsentId] B2BMemberPartnerConsentRequested partnerConsentId
|
|
103363
103385
|
* @property {string|null} [hsUserId] B2BMemberPartnerConsentRequested hsUserId
|
|
103364
103386
|
* @property {number|Long|null} [timestamp] B2BMemberPartnerConsentRequested timestamp
|
|
103387
|
+
* @property {number|null} [orgId] B2BMemberPartnerConsentRequested orgId
|
|
103365
103388
|
*/
|
|
103366
103389
|
|
|
103367
103390
|
/**
|
|
@@ -103403,6 +103426,14 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103403
103426
|
*/
|
|
103404
103427
|
B2BMemberPartnerConsentRequested.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
103405
103428
|
|
|
103429
|
+
/**
|
|
103430
|
+
* B2BMemberPartnerConsentRequested orgId.
|
|
103431
|
+
* @member {number} orgId
|
|
103432
|
+
* @memberof B2BMemberPartnerConsentRequested
|
|
103433
|
+
* @instance
|
|
103434
|
+
*/
|
|
103435
|
+
B2BMemberPartnerConsentRequested.prototype.orgId = 0;
|
|
103436
|
+
|
|
103406
103437
|
/**
|
|
103407
103438
|
* Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
|
|
103408
103439
|
* @function create
|
|
@@ -103433,6 +103464,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103433
103464
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
|
|
103434
103465
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103435
103466
|
writer.uint32(/* id 3, wireType 0 =*/24).uint64(message.timestamp);
|
|
103467
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
103468
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint32(message.orgId);
|
|
103436
103469
|
return writer;
|
|
103437
103470
|
};
|
|
103438
103471
|
|
|
@@ -103476,6 +103509,9 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103476
103509
|
case 3:
|
|
103477
103510
|
message.timestamp = reader.uint64();
|
|
103478
103511
|
break;
|
|
103512
|
+
case 4:
|
|
103513
|
+
message.orgId = reader.uint32();
|
|
103514
|
+
break;
|
|
103479
103515
|
default:
|
|
103480
103516
|
reader.skipType(tag & 7);
|
|
103481
103517
|
break;
|
|
@@ -103520,6 +103556,9 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103520
103556
|
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
103521
103557
|
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
103522
103558
|
return "timestamp: integer|Long expected";
|
|
103559
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
103560
|
+
if (!$util.isInteger(message.orgId))
|
|
103561
|
+
return "orgId: integer expected";
|
|
103523
103562
|
return null;
|
|
103524
103563
|
};
|
|
103525
103564
|
|
|
@@ -103548,6 +103587,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103548
103587
|
message.timestamp = object.timestamp;
|
|
103549
103588
|
else if (typeof object.timestamp === "object")
|
|
103550
103589
|
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
103590
|
+
if (object.orgId != null)
|
|
103591
|
+
message.orgId = object.orgId >>> 0;
|
|
103551
103592
|
return message;
|
|
103552
103593
|
};
|
|
103553
103594
|
|
|
@@ -103572,6 +103613,7 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103572
103613
|
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
103573
103614
|
} else
|
|
103574
103615
|
object.timestamp = options.longs === String ? "0" : 0;
|
|
103616
|
+
object.orgId = 0;
|
|
103575
103617
|
}
|
|
103576
103618
|
if (message.partnerConsentId != null && message.hasOwnProperty("partnerConsentId"))
|
|
103577
103619
|
object.partnerConsentId = message.partnerConsentId;
|
|
@@ -103582,6 +103624,8 @@ $root.B2BMemberPartnerConsentRequested = (function() {
|
|
|
103582
103624
|
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
103583
103625
|
else
|
|
103584
103626
|
object.timestamp = options.longs === String ? $util.Long.prototype.toString.call(message.timestamp) : options.longs === Number ? new $util.LongBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0).toNumber(true) : message.timestamp;
|
|
103627
|
+
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
103628
|
+
object.orgId = message.orgId;
|
|
103585
103629
|
return object;
|
|
103586
103630
|
};
|
|
103587
103631
|
|
package/package.json
CHANGED