@headspace/protos-events 1.455.0 → 1.456.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 +42 -0
- package/lib/index.js +216 -7
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -35109,6 +35109,12 @@ export interface IGoalSet {
|
|
|
35109
35109
|
|
|
35110
35110
|
/** GoalSet goalDaysCompleted */
|
|
35111
35111
|
goalDaysCompleted?: (number|null);
|
|
35112
|
+
|
|
35113
|
+
/** GoalSet timestamp */
|
|
35114
|
+
timestamp?: (number|Long|null);
|
|
35115
|
+
|
|
35116
|
+
/** GoalSet hsUserId */
|
|
35117
|
+
hsUserId?: (string|null);
|
|
35112
35118
|
}
|
|
35113
35119
|
|
|
35114
35120
|
/** Represents a GoalSet. */
|
|
@@ -35129,6 +35135,12 @@ export class GoalSet implements IGoalSet {
|
|
|
35129
35135
|
/** GoalSet goalDaysCompleted. */
|
|
35130
35136
|
public goalDaysCompleted: number;
|
|
35131
35137
|
|
|
35138
|
+
/** GoalSet timestamp. */
|
|
35139
|
+
public timestamp: (number|Long);
|
|
35140
|
+
|
|
35141
|
+
/** GoalSet hsUserId. */
|
|
35142
|
+
public hsUserId: string;
|
|
35143
|
+
|
|
35132
35144
|
/**
|
|
35133
35145
|
* Creates a new GoalSet instance using the specified properties.
|
|
35134
35146
|
* @param [properties] Properties to set
|
|
@@ -35205,6 +35217,9 @@ export interface IGoalActivityIncreased {
|
|
|
35205
35217
|
|
|
35206
35218
|
/** GoalActivityIncreased goalDaysCompleted */
|
|
35207
35219
|
goalDaysCompleted?: (number|null);
|
|
35220
|
+
|
|
35221
|
+
/** GoalActivityIncreased hsUserId */
|
|
35222
|
+
hsUserId?: (string|null);
|
|
35208
35223
|
}
|
|
35209
35224
|
|
|
35210
35225
|
/** Represents a GoalActivityIncreased. */
|
|
@@ -35219,6 +35234,9 @@ export class GoalActivityIncreased implements IGoalActivityIncreased {
|
|
|
35219
35234
|
/** GoalActivityIncreased goalDaysCompleted. */
|
|
35220
35235
|
public goalDaysCompleted: number;
|
|
35221
35236
|
|
|
35237
|
+
/** GoalActivityIncreased hsUserId. */
|
|
35238
|
+
public hsUserId: string;
|
|
35239
|
+
|
|
35222
35240
|
/**
|
|
35223
35241
|
* Creates a new GoalActivityIncreased instance using the specified properties.
|
|
35224
35242
|
* @param [properties] Properties to set
|
|
@@ -35292,6 +35310,12 @@ export class GoalActivityIncreased implements IGoalActivityIncreased {
|
|
|
35292
35310
|
|
|
35293
35311
|
/** Properties of a GoalReflectionCompleted. */
|
|
35294
35312
|
export interface IGoalReflectionCompleted {
|
|
35313
|
+
|
|
35314
|
+
/** GoalReflectionCompleted timestamp */
|
|
35315
|
+
timestamp?: (number|Long|null);
|
|
35316
|
+
|
|
35317
|
+
/** GoalReflectionCompleted hsUserId */
|
|
35318
|
+
hsUserId?: (string|null);
|
|
35295
35319
|
}
|
|
35296
35320
|
|
|
35297
35321
|
/** Represents a GoalReflectionCompleted. */
|
|
@@ -35303,6 +35327,12 @@ export class GoalReflectionCompleted implements IGoalReflectionCompleted {
|
|
|
35303
35327
|
*/
|
|
35304
35328
|
constructor(properties?: IGoalReflectionCompleted);
|
|
35305
35329
|
|
|
35330
|
+
/** GoalReflectionCompleted timestamp. */
|
|
35331
|
+
public timestamp: (number|Long);
|
|
35332
|
+
|
|
35333
|
+
/** GoalReflectionCompleted hsUserId. */
|
|
35334
|
+
public hsUserId: string;
|
|
35335
|
+
|
|
35306
35336
|
/**
|
|
35307
35337
|
* Creates a new GoalReflectionCompleted instance using the specified properties.
|
|
35308
35338
|
* @param [properties] Properties to set
|
|
@@ -35376,6 +35406,12 @@ export class GoalReflectionCompleted implements IGoalReflectionCompleted {
|
|
|
35376
35406
|
|
|
35377
35407
|
/** Properties of a GoalCompleted. */
|
|
35378
35408
|
export interface IGoalCompleted {
|
|
35409
|
+
|
|
35410
|
+
/** GoalCompleted timestamp */
|
|
35411
|
+
timestamp?: (number|Long|null);
|
|
35412
|
+
|
|
35413
|
+
/** GoalCompleted hsUserId */
|
|
35414
|
+
hsUserId?: (string|null);
|
|
35379
35415
|
}
|
|
35380
35416
|
|
|
35381
35417
|
/** Represents a GoalCompleted. */
|
|
@@ -35387,6 +35423,12 @@ export class GoalCompleted implements IGoalCompleted {
|
|
|
35387
35423
|
*/
|
|
35388
35424
|
constructor(properties?: IGoalCompleted);
|
|
35389
35425
|
|
|
35426
|
+
/** GoalCompleted timestamp. */
|
|
35427
|
+
public timestamp: (number|Long);
|
|
35428
|
+
|
|
35429
|
+
/** GoalCompleted hsUserId. */
|
|
35430
|
+
public hsUserId: string;
|
|
35431
|
+
|
|
35390
35432
|
/**
|
|
35391
35433
|
* Creates a new GoalCompleted instance using the specified properties.
|
|
35392
35434
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -98194,6 +98194,8 @@ $root.GoalSet = (function() {
|
|
|
98194
98194
|
* @property {GoalFocusArea|null} [goalFocusArea] GoalSet goalFocusArea
|
|
98195
98195
|
* @property {number|null} [goalCommittedCount] GoalSet goalCommittedCount
|
|
98196
98196
|
* @property {number|null} [goalDaysCompleted] GoalSet goalDaysCompleted
|
|
98197
|
+
* @property {number|Long|null} [timestamp] GoalSet timestamp
|
|
98198
|
+
* @property {string|null} [hsUserId] GoalSet hsUserId
|
|
98197
98199
|
*/
|
|
98198
98200
|
|
|
98199
98201
|
/**
|
|
@@ -98235,6 +98237,22 @@ $root.GoalSet = (function() {
|
|
|
98235
98237
|
*/
|
|
98236
98238
|
GoalSet.prototype.goalDaysCompleted = 0;
|
|
98237
98239
|
|
|
98240
|
+
/**
|
|
98241
|
+
* GoalSet timestamp.
|
|
98242
|
+
* @member {number|Long} timestamp
|
|
98243
|
+
* @memberof GoalSet
|
|
98244
|
+
* @instance
|
|
98245
|
+
*/
|
|
98246
|
+
GoalSet.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
98247
|
+
|
|
98248
|
+
/**
|
|
98249
|
+
* GoalSet hsUserId.
|
|
98250
|
+
* @member {string} hsUserId
|
|
98251
|
+
* @memberof GoalSet
|
|
98252
|
+
* @instance
|
|
98253
|
+
*/
|
|
98254
|
+
GoalSet.prototype.hsUserId = "";
|
|
98255
|
+
|
|
98238
98256
|
/**
|
|
98239
98257
|
* Creates a new GoalSet instance using the specified properties.
|
|
98240
98258
|
* @function create
|
|
@@ -98265,6 +98283,10 @@ $root.GoalSet = (function() {
|
|
|
98265
98283
|
writer.uint32(/* id 2, wireType 0 =*/16).uint32(message.goalCommittedCount);
|
|
98266
98284
|
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98267
98285
|
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.goalDaysCompleted);
|
|
98286
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
98287
|
+
writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.timestamp);
|
|
98288
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
98289
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.hsUserId);
|
|
98268
98290
|
return writer;
|
|
98269
98291
|
};
|
|
98270
98292
|
|
|
@@ -98308,6 +98330,12 @@ $root.GoalSet = (function() {
|
|
|
98308
98330
|
case 3:
|
|
98309
98331
|
message.goalDaysCompleted = reader.uint32();
|
|
98310
98332
|
break;
|
|
98333
|
+
case 4:
|
|
98334
|
+
message.timestamp = reader.uint64();
|
|
98335
|
+
break;
|
|
98336
|
+
case 5:
|
|
98337
|
+
message.hsUserId = reader.string();
|
|
98338
|
+
break;
|
|
98311
98339
|
default:
|
|
98312
98340
|
reader.skipType(tag & 7);
|
|
98313
98341
|
break;
|
|
@@ -98362,6 +98390,12 @@ $root.GoalSet = (function() {
|
|
|
98362
98390
|
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98363
98391
|
if (!$util.isInteger(message.goalDaysCompleted))
|
|
98364
98392
|
return "goalDaysCompleted: integer expected";
|
|
98393
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
98394
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
98395
|
+
return "timestamp: integer|Long expected";
|
|
98396
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
98397
|
+
if (!$util.isString(message.hsUserId))
|
|
98398
|
+
return "hsUserId: string expected";
|
|
98365
98399
|
return null;
|
|
98366
98400
|
};
|
|
98367
98401
|
|
|
@@ -98411,6 +98445,17 @@ $root.GoalSet = (function() {
|
|
|
98411
98445
|
message.goalCommittedCount = object.goalCommittedCount >>> 0;
|
|
98412
98446
|
if (object.goalDaysCompleted != null)
|
|
98413
98447
|
message.goalDaysCompleted = object.goalDaysCompleted >>> 0;
|
|
98448
|
+
if (object.timestamp != null)
|
|
98449
|
+
if ($util.Long)
|
|
98450
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
98451
|
+
else if (typeof object.timestamp === "string")
|
|
98452
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
98453
|
+
else if (typeof object.timestamp === "number")
|
|
98454
|
+
message.timestamp = object.timestamp;
|
|
98455
|
+
else if (typeof object.timestamp === "object")
|
|
98456
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
98457
|
+
if (object.hsUserId != null)
|
|
98458
|
+
message.hsUserId = String(object.hsUserId);
|
|
98414
98459
|
return message;
|
|
98415
98460
|
};
|
|
98416
98461
|
|
|
@@ -98431,6 +98476,12 @@ $root.GoalSet = (function() {
|
|
|
98431
98476
|
object.goalFocusArea = options.enums === String ? "GOAL_TYPE_UNKNOWN" : 0;
|
|
98432
98477
|
object.goalCommittedCount = 0;
|
|
98433
98478
|
object.goalDaysCompleted = 0;
|
|
98479
|
+
if ($util.Long) {
|
|
98480
|
+
var long = new $util.Long(0, 0, true);
|
|
98481
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
98482
|
+
} else
|
|
98483
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
98484
|
+
object.hsUserId = "";
|
|
98434
98485
|
}
|
|
98435
98486
|
if (message.goalFocusArea != null && message.hasOwnProperty("goalFocusArea"))
|
|
98436
98487
|
object.goalFocusArea = options.enums === String ? $root.GoalFocusArea[message.goalFocusArea] : message.goalFocusArea;
|
|
@@ -98438,6 +98489,13 @@ $root.GoalSet = (function() {
|
|
|
98438
98489
|
object.goalCommittedCount = message.goalCommittedCount;
|
|
98439
98490
|
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98440
98491
|
object.goalDaysCompleted = message.goalDaysCompleted;
|
|
98492
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
98493
|
+
if (typeof message.timestamp === "number")
|
|
98494
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
98495
|
+
else
|
|
98496
|
+
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;
|
|
98497
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
98498
|
+
object.hsUserId = message.hsUserId;
|
|
98441
98499
|
return object;
|
|
98442
98500
|
};
|
|
98443
98501
|
|
|
@@ -98462,6 +98520,7 @@ $root.GoalActivityIncreased = (function() {
|
|
|
98462
98520
|
* @exports IGoalActivityIncreased
|
|
98463
98521
|
* @interface IGoalActivityIncreased
|
|
98464
98522
|
* @property {number|null} [goalDaysCompleted] GoalActivityIncreased goalDaysCompleted
|
|
98523
|
+
* @property {string|null} [hsUserId] GoalActivityIncreased hsUserId
|
|
98465
98524
|
*/
|
|
98466
98525
|
|
|
98467
98526
|
/**
|
|
@@ -98487,6 +98546,14 @@ $root.GoalActivityIncreased = (function() {
|
|
|
98487
98546
|
*/
|
|
98488
98547
|
GoalActivityIncreased.prototype.goalDaysCompleted = 0;
|
|
98489
98548
|
|
|
98549
|
+
/**
|
|
98550
|
+
* GoalActivityIncreased hsUserId.
|
|
98551
|
+
* @member {string} hsUserId
|
|
98552
|
+
* @memberof GoalActivityIncreased
|
|
98553
|
+
* @instance
|
|
98554
|
+
*/
|
|
98555
|
+
GoalActivityIncreased.prototype.hsUserId = "";
|
|
98556
|
+
|
|
98490
98557
|
/**
|
|
98491
98558
|
* Creates a new GoalActivityIncreased instance using the specified properties.
|
|
98492
98559
|
* @function create
|
|
@@ -98513,6 +98580,8 @@ $root.GoalActivityIncreased = (function() {
|
|
|
98513
98580
|
writer = $Writer.create();
|
|
98514
98581
|
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98515
98582
|
writer.uint32(/* id 1, wireType 0 =*/8).uint32(message.goalDaysCompleted);
|
|
98583
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
98584
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
|
|
98516
98585
|
return writer;
|
|
98517
98586
|
};
|
|
98518
98587
|
|
|
@@ -98550,6 +98619,9 @@ $root.GoalActivityIncreased = (function() {
|
|
|
98550
98619
|
case 1:
|
|
98551
98620
|
message.goalDaysCompleted = reader.uint32();
|
|
98552
98621
|
break;
|
|
98622
|
+
case 2:
|
|
98623
|
+
message.hsUserId = reader.string();
|
|
98624
|
+
break;
|
|
98553
98625
|
default:
|
|
98554
98626
|
reader.skipType(tag & 7);
|
|
98555
98627
|
break;
|
|
@@ -98588,6 +98660,9 @@ $root.GoalActivityIncreased = (function() {
|
|
|
98588
98660
|
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98589
98661
|
if (!$util.isInteger(message.goalDaysCompleted))
|
|
98590
98662
|
return "goalDaysCompleted: integer expected";
|
|
98663
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
98664
|
+
if (!$util.isString(message.hsUserId))
|
|
98665
|
+
return "hsUserId: string expected";
|
|
98591
98666
|
return null;
|
|
98592
98667
|
};
|
|
98593
98668
|
|
|
@@ -98605,6 +98680,8 @@ $root.GoalActivityIncreased = (function() {
|
|
|
98605
98680
|
var message = new $root.GoalActivityIncreased();
|
|
98606
98681
|
if (object.goalDaysCompleted != null)
|
|
98607
98682
|
message.goalDaysCompleted = object.goalDaysCompleted >>> 0;
|
|
98683
|
+
if (object.hsUserId != null)
|
|
98684
|
+
message.hsUserId = String(object.hsUserId);
|
|
98608
98685
|
return message;
|
|
98609
98686
|
};
|
|
98610
98687
|
|
|
@@ -98621,10 +98698,14 @@ $root.GoalActivityIncreased = (function() {
|
|
|
98621
98698
|
if (!options)
|
|
98622
98699
|
options = {};
|
|
98623
98700
|
var object = {};
|
|
98624
|
-
if (options.defaults)
|
|
98701
|
+
if (options.defaults) {
|
|
98625
98702
|
object.goalDaysCompleted = 0;
|
|
98703
|
+
object.hsUserId = "";
|
|
98704
|
+
}
|
|
98626
98705
|
if (message.goalDaysCompleted != null && message.hasOwnProperty("goalDaysCompleted"))
|
|
98627
98706
|
object.goalDaysCompleted = message.goalDaysCompleted;
|
|
98707
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
98708
|
+
object.hsUserId = message.hsUserId;
|
|
98628
98709
|
return object;
|
|
98629
98710
|
};
|
|
98630
98711
|
|
|
@@ -98648,6 +98729,8 @@ $root.GoalReflectionCompleted = (function() {
|
|
|
98648
98729
|
* Properties of a GoalReflectionCompleted.
|
|
98649
98730
|
* @exports IGoalReflectionCompleted
|
|
98650
98731
|
* @interface IGoalReflectionCompleted
|
|
98732
|
+
* @property {number|Long|null} [timestamp] GoalReflectionCompleted timestamp
|
|
98733
|
+
* @property {string|null} [hsUserId] GoalReflectionCompleted hsUserId
|
|
98651
98734
|
*/
|
|
98652
98735
|
|
|
98653
98736
|
/**
|
|
@@ -98665,6 +98748,22 @@ $root.GoalReflectionCompleted = (function() {
|
|
|
98665
98748
|
this[keys[i]] = properties[keys[i]];
|
|
98666
98749
|
}
|
|
98667
98750
|
|
|
98751
|
+
/**
|
|
98752
|
+
* GoalReflectionCompleted timestamp.
|
|
98753
|
+
* @member {number|Long} timestamp
|
|
98754
|
+
* @memberof GoalReflectionCompleted
|
|
98755
|
+
* @instance
|
|
98756
|
+
*/
|
|
98757
|
+
GoalReflectionCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
98758
|
+
|
|
98759
|
+
/**
|
|
98760
|
+
* GoalReflectionCompleted hsUserId.
|
|
98761
|
+
* @member {string} hsUserId
|
|
98762
|
+
* @memberof GoalReflectionCompleted
|
|
98763
|
+
* @instance
|
|
98764
|
+
*/
|
|
98765
|
+
GoalReflectionCompleted.prototype.hsUserId = "";
|
|
98766
|
+
|
|
98668
98767
|
/**
|
|
98669
98768
|
* Creates a new GoalReflectionCompleted instance using the specified properties.
|
|
98670
98769
|
* @function create
|
|
@@ -98689,6 +98788,10 @@ $root.GoalReflectionCompleted = (function() {
|
|
|
98689
98788
|
GoalReflectionCompleted.encode = function encode(message, writer) {
|
|
98690
98789
|
if (!writer)
|
|
98691
98790
|
writer = $Writer.create();
|
|
98791
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
98792
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
98793
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
98794
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
|
|
98692
98795
|
return writer;
|
|
98693
98796
|
};
|
|
98694
98797
|
|
|
@@ -98723,6 +98826,12 @@ $root.GoalReflectionCompleted = (function() {
|
|
|
98723
98826
|
while (reader.pos < end) {
|
|
98724
98827
|
var tag = reader.uint32();
|
|
98725
98828
|
switch (tag >>> 3) {
|
|
98829
|
+
case 1:
|
|
98830
|
+
message.timestamp = reader.uint64();
|
|
98831
|
+
break;
|
|
98832
|
+
case 2:
|
|
98833
|
+
message.hsUserId = reader.string();
|
|
98834
|
+
break;
|
|
98726
98835
|
default:
|
|
98727
98836
|
reader.skipType(tag & 7);
|
|
98728
98837
|
break;
|
|
@@ -98758,6 +98867,12 @@ $root.GoalReflectionCompleted = (function() {
|
|
|
98758
98867
|
GoalReflectionCompleted.verify = function verify(message) {
|
|
98759
98868
|
if (typeof message !== "object" || message === null)
|
|
98760
98869
|
return "object expected";
|
|
98870
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
98871
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
98872
|
+
return "timestamp: integer|Long expected";
|
|
98873
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
98874
|
+
if (!$util.isString(message.hsUserId))
|
|
98875
|
+
return "hsUserId: string expected";
|
|
98761
98876
|
return null;
|
|
98762
98877
|
};
|
|
98763
98878
|
|
|
@@ -98772,7 +98887,19 @@ $root.GoalReflectionCompleted = (function() {
|
|
|
98772
98887
|
GoalReflectionCompleted.fromObject = function fromObject(object) {
|
|
98773
98888
|
if (object instanceof $root.GoalReflectionCompleted)
|
|
98774
98889
|
return object;
|
|
98775
|
-
|
|
98890
|
+
var message = new $root.GoalReflectionCompleted();
|
|
98891
|
+
if (object.timestamp != null)
|
|
98892
|
+
if ($util.Long)
|
|
98893
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
98894
|
+
else if (typeof object.timestamp === "string")
|
|
98895
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
98896
|
+
else if (typeof object.timestamp === "number")
|
|
98897
|
+
message.timestamp = object.timestamp;
|
|
98898
|
+
else if (typeof object.timestamp === "object")
|
|
98899
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
98900
|
+
if (object.hsUserId != null)
|
|
98901
|
+
message.hsUserId = String(object.hsUserId);
|
|
98902
|
+
return message;
|
|
98776
98903
|
};
|
|
98777
98904
|
|
|
98778
98905
|
/**
|
|
@@ -98784,8 +98911,26 @@ $root.GoalReflectionCompleted = (function() {
|
|
|
98784
98911
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
98785
98912
|
* @returns {Object.<string,*>} Plain object
|
|
98786
98913
|
*/
|
|
98787
|
-
GoalReflectionCompleted.toObject = function toObject() {
|
|
98788
|
-
|
|
98914
|
+
GoalReflectionCompleted.toObject = function toObject(message, options) {
|
|
98915
|
+
if (!options)
|
|
98916
|
+
options = {};
|
|
98917
|
+
var object = {};
|
|
98918
|
+
if (options.defaults) {
|
|
98919
|
+
if ($util.Long) {
|
|
98920
|
+
var long = new $util.Long(0, 0, true);
|
|
98921
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
98922
|
+
} else
|
|
98923
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
98924
|
+
object.hsUserId = "";
|
|
98925
|
+
}
|
|
98926
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
98927
|
+
if (typeof message.timestamp === "number")
|
|
98928
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
98929
|
+
else
|
|
98930
|
+
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;
|
|
98931
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
98932
|
+
object.hsUserId = message.hsUserId;
|
|
98933
|
+
return object;
|
|
98789
98934
|
};
|
|
98790
98935
|
|
|
98791
98936
|
/**
|
|
@@ -98808,6 +98953,8 @@ $root.GoalCompleted = (function() {
|
|
|
98808
98953
|
* Properties of a GoalCompleted.
|
|
98809
98954
|
* @exports IGoalCompleted
|
|
98810
98955
|
* @interface IGoalCompleted
|
|
98956
|
+
* @property {number|Long|null} [timestamp] GoalCompleted timestamp
|
|
98957
|
+
* @property {string|null} [hsUserId] GoalCompleted hsUserId
|
|
98811
98958
|
*/
|
|
98812
98959
|
|
|
98813
98960
|
/**
|
|
@@ -98825,6 +98972,22 @@ $root.GoalCompleted = (function() {
|
|
|
98825
98972
|
this[keys[i]] = properties[keys[i]];
|
|
98826
98973
|
}
|
|
98827
98974
|
|
|
98975
|
+
/**
|
|
98976
|
+
* GoalCompleted timestamp.
|
|
98977
|
+
* @member {number|Long} timestamp
|
|
98978
|
+
* @memberof GoalCompleted
|
|
98979
|
+
* @instance
|
|
98980
|
+
*/
|
|
98981
|
+
GoalCompleted.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
98982
|
+
|
|
98983
|
+
/**
|
|
98984
|
+
* GoalCompleted hsUserId.
|
|
98985
|
+
* @member {string} hsUserId
|
|
98986
|
+
* @memberof GoalCompleted
|
|
98987
|
+
* @instance
|
|
98988
|
+
*/
|
|
98989
|
+
GoalCompleted.prototype.hsUserId = "";
|
|
98990
|
+
|
|
98828
98991
|
/**
|
|
98829
98992
|
* Creates a new GoalCompleted instance using the specified properties.
|
|
98830
98993
|
* @function create
|
|
@@ -98849,6 +99012,10 @@ $root.GoalCompleted = (function() {
|
|
|
98849
99012
|
GoalCompleted.encode = function encode(message, writer) {
|
|
98850
99013
|
if (!writer)
|
|
98851
99014
|
writer = $Writer.create();
|
|
99015
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
99016
|
+
writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
|
|
99017
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
99018
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.hsUserId);
|
|
98852
99019
|
return writer;
|
|
98853
99020
|
};
|
|
98854
99021
|
|
|
@@ -98883,6 +99050,12 @@ $root.GoalCompleted = (function() {
|
|
|
98883
99050
|
while (reader.pos < end) {
|
|
98884
99051
|
var tag = reader.uint32();
|
|
98885
99052
|
switch (tag >>> 3) {
|
|
99053
|
+
case 1:
|
|
99054
|
+
message.timestamp = reader.uint64();
|
|
99055
|
+
break;
|
|
99056
|
+
case 2:
|
|
99057
|
+
message.hsUserId = reader.string();
|
|
99058
|
+
break;
|
|
98886
99059
|
default:
|
|
98887
99060
|
reader.skipType(tag & 7);
|
|
98888
99061
|
break;
|
|
@@ -98918,6 +99091,12 @@ $root.GoalCompleted = (function() {
|
|
|
98918
99091
|
GoalCompleted.verify = function verify(message) {
|
|
98919
99092
|
if (typeof message !== "object" || message === null)
|
|
98920
99093
|
return "object expected";
|
|
99094
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
99095
|
+
if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
|
|
99096
|
+
return "timestamp: integer|Long expected";
|
|
99097
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
99098
|
+
if (!$util.isString(message.hsUserId))
|
|
99099
|
+
return "hsUserId: string expected";
|
|
98921
99100
|
return null;
|
|
98922
99101
|
};
|
|
98923
99102
|
|
|
@@ -98932,7 +99111,19 @@ $root.GoalCompleted = (function() {
|
|
|
98932
99111
|
GoalCompleted.fromObject = function fromObject(object) {
|
|
98933
99112
|
if (object instanceof $root.GoalCompleted)
|
|
98934
99113
|
return object;
|
|
98935
|
-
|
|
99114
|
+
var message = new $root.GoalCompleted();
|
|
99115
|
+
if (object.timestamp != null)
|
|
99116
|
+
if ($util.Long)
|
|
99117
|
+
(message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
|
|
99118
|
+
else if (typeof object.timestamp === "string")
|
|
99119
|
+
message.timestamp = parseInt(object.timestamp, 10);
|
|
99120
|
+
else if (typeof object.timestamp === "number")
|
|
99121
|
+
message.timestamp = object.timestamp;
|
|
99122
|
+
else if (typeof object.timestamp === "object")
|
|
99123
|
+
message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
|
|
99124
|
+
if (object.hsUserId != null)
|
|
99125
|
+
message.hsUserId = String(object.hsUserId);
|
|
99126
|
+
return message;
|
|
98936
99127
|
};
|
|
98937
99128
|
|
|
98938
99129
|
/**
|
|
@@ -98944,8 +99135,26 @@ $root.GoalCompleted = (function() {
|
|
|
98944
99135
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
98945
99136
|
* @returns {Object.<string,*>} Plain object
|
|
98946
99137
|
*/
|
|
98947
|
-
GoalCompleted.toObject = function toObject() {
|
|
98948
|
-
|
|
99138
|
+
GoalCompleted.toObject = function toObject(message, options) {
|
|
99139
|
+
if (!options)
|
|
99140
|
+
options = {};
|
|
99141
|
+
var object = {};
|
|
99142
|
+
if (options.defaults) {
|
|
99143
|
+
if ($util.Long) {
|
|
99144
|
+
var long = new $util.Long(0, 0, true);
|
|
99145
|
+
object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
99146
|
+
} else
|
|
99147
|
+
object.timestamp = options.longs === String ? "0" : 0;
|
|
99148
|
+
object.hsUserId = "";
|
|
99149
|
+
}
|
|
99150
|
+
if (message.timestamp != null && message.hasOwnProperty("timestamp"))
|
|
99151
|
+
if (typeof message.timestamp === "number")
|
|
99152
|
+
object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
|
|
99153
|
+
else
|
|
99154
|
+
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;
|
|
99155
|
+
if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
|
|
99156
|
+
object.hsUserId = message.hsUserId;
|
|
99157
|
+
return object;
|
|
98949
99158
|
};
|
|
98950
99159
|
|
|
98951
99160
|
/**
|
package/package.json
CHANGED