@headspace/protos-events 1.446.0 → 1.447.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 +18 -0
- package/lib/index.js +68 -1
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -26355,6 +26355,9 @@ export interface ISurveyResponse {
|
|
|
26355
26355
|
|
|
26356
26356
|
/** SurveyResponse reflectionNote */
|
|
26357
26357
|
reflectionNote?: (string|null);
|
|
26358
|
+
|
|
26359
|
+
/** SurveyResponse id */
|
|
26360
|
+
id?: (string|null);
|
|
26358
26361
|
}
|
|
26359
26362
|
|
|
26360
26363
|
/** Represents a SurveyResponse. */
|
|
@@ -26384,6 +26387,9 @@ export class SurveyResponse implements ISurveyResponse {
|
|
|
26384
26387
|
/** SurveyResponse reflectionNote. */
|
|
26385
26388
|
public reflectionNote: string;
|
|
26386
26389
|
|
|
26390
|
+
/** SurveyResponse id. */
|
|
26391
|
+
public id: string;
|
|
26392
|
+
|
|
26387
26393
|
/**
|
|
26388
26394
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
26389
26395
|
* @param [properties] Properties to set
|
|
@@ -26466,6 +26472,9 @@ export interface ISurveyQuestion {
|
|
|
26466
26472
|
|
|
26467
26473
|
/** SurveyQuestion shorthand */
|
|
26468
26474
|
shorthand?: (string|null);
|
|
26475
|
+
|
|
26476
|
+
/** SurveyQuestion id */
|
|
26477
|
+
id?: (string|null);
|
|
26469
26478
|
}
|
|
26470
26479
|
|
|
26471
26480
|
/** Represents a SurveyQuestion. */
|
|
@@ -26486,6 +26495,9 @@ export class SurveyQuestion implements ISurveyQuestion {
|
|
|
26486
26495
|
/** SurveyQuestion shorthand. */
|
|
26487
26496
|
public shorthand: string;
|
|
26488
26497
|
|
|
26498
|
+
/** SurveyQuestion id. */
|
|
26499
|
+
public id: string;
|
|
26500
|
+
|
|
26489
26501
|
/**
|
|
26490
26502
|
* Creates a new SurveyQuestion instance using the specified properties.
|
|
26491
26503
|
* @param [properties] Properties to set
|
|
@@ -26568,6 +26580,9 @@ export interface ISurveyAnswer {
|
|
|
26568
26580
|
|
|
26569
26581
|
/** SurveyAnswer score */
|
|
26570
26582
|
score?: (number|null);
|
|
26583
|
+
|
|
26584
|
+
/** SurveyAnswer id */
|
|
26585
|
+
id?: (string|null);
|
|
26571
26586
|
}
|
|
26572
26587
|
|
|
26573
26588
|
/** Represents a SurveyAnswer. */
|
|
@@ -26588,6 +26603,9 @@ export class SurveyAnswer implements ISurveyAnswer {
|
|
|
26588
26603
|
/** SurveyAnswer score. */
|
|
26589
26604
|
public score: number;
|
|
26590
26605
|
|
|
26606
|
+
/** SurveyAnswer id. */
|
|
26607
|
+
public id: string;
|
|
26608
|
+
|
|
26591
26609
|
/** SurveyAnswer answer. */
|
|
26592
26610
|
public answer?: ("text"|"choice");
|
|
26593
26611
|
|
package/lib/index.js
CHANGED
|
@@ -73309,6 +73309,7 @@ $root.SurveyResponse = (function() {
|
|
|
73309
73309
|
* @property {string|null} [createdAtIsoDate] SurveyResponse createdAtIsoDate
|
|
73310
73310
|
* @property {string|null} [surveyType] SurveyResponse surveyType
|
|
73311
73311
|
* @property {string|null} [reflectionNote] SurveyResponse reflectionNote
|
|
73312
|
+
* @property {string|null} [id] SurveyResponse id
|
|
73312
73313
|
*/
|
|
73313
73314
|
|
|
73314
73315
|
/**
|
|
@@ -73375,6 +73376,14 @@ $root.SurveyResponse = (function() {
|
|
|
73375
73376
|
*/
|
|
73376
73377
|
SurveyResponse.prototype.reflectionNote = "";
|
|
73377
73378
|
|
|
73379
|
+
/**
|
|
73380
|
+
* SurveyResponse id.
|
|
73381
|
+
* @member {string} id
|
|
73382
|
+
* @memberof SurveyResponse
|
|
73383
|
+
* @instance
|
|
73384
|
+
*/
|
|
73385
|
+
SurveyResponse.prototype.id = "";
|
|
73386
|
+
|
|
73378
73387
|
/**
|
|
73379
73388
|
* Creates a new SurveyResponse instance using the specified properties.
|
|
73380
73389
|
* @function create
|
|
@@ -73412,6 +73421,8 @@ $root.SurveyResponse = (function() {
|
|
|
73412
73421
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.surveyType);
|
|
73413
73422
|
if (message.reflectionNote != null && message.hasOwnProperty("reflectionNote"))
|
|
73414
73423
|
writer.uint32(/* id 6, wireType 2 =*/50).string(message.reflectionNote);
|
|
73424
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
73425
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.id);
|
|
73415
73426
|
return writer;
|
|
73416
73427
|
};
|
|
73417
73428
|
|
|
@@ -73466,6 +73477,9 @@ $root.SurveyResponse = (function() {
|
|
|
73466
73477
|
case 6:
|
|
73467
73478
|
message.reflectionNote = reader.string();
|
|
73468
73479
|
break;
|
|
73480
|
+
case 7:
|
|
73481
|
+
message.id = reader.string();
|
|
73482
|
+
break;
|
|
73469
73483
|
default:
|
|
73470
73484
|
reader.skipType(tag & 7);
|
|
73471
73485
|
break;
|
|
@@ -73525,6 +73539,9 @@ $root.SurveyResponse = (function() {
|
|
|
73525
73539
|
if (message.reflectionNote != null && message.hasOwnProperty("reflectionNote"))
|
|
73526
73540
|
if (!$util.isString(message.reflectionNote))
|
|
73527
73541
|
return "reflectionNote: string expected";
|
|
73542
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
73543
|
+
if (!$util.isString(message.id))
|
|
73544
|
+
return "id: string expected";
|
|
73528
73545
|
return null;
|
|
73529
73546
|
};
|
|
73530
73547
|
|
|
@@ -73560,6 +73577,8 @@ $root.SurveyResponse = (function() {
|
|
|
73560
73577
|
message.surveyType = String(object.surveyType);
|
|
73561
73578
|
if (object.reflectionNote != null)
|
|
73562
73579
|
message.reflectionNote = String(object.reflectionNote);
|
|
73580
|
+
if (object.id != null)
|
|
73581
|
+
message.id = String(object.id);
|
|
73563
73582
|
return message;
|
|
73564
73583
|
};
|
|
73565
73584
|
|
|
@@ -73584,6 +73603,7 @@ $root.SurveyResponse = (function() {
|
|
|
73584
73603
|
object.createdAtIsoDate = "";
|
|
73585
73604
|
object.surveyType = "";
|
|
73586
73605
|
object.reflectionNote = "";
|
|
73606
|
+
object.id = "";
|
|
73587
73607
|
}
|
|
73588
73608
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
73589
73609
|
object.userId = message.userId;
|
|
@@ -73600,6 +73620,8 @@ $root.SurveyResponse = (function() {
|
|
|
73600
73620
|
object.surveyType = message.surveyType;
|
|
73601
73621
|
if (message.reflectionNote != null && message.hasOwnProperty("reflectionNote"))
|
|
73602
73622
|
object.reflectionNote = message.reflectionNote;
|
|
73623
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
73624
|
+
object.id = message.id;
|
|
73603
73625
|
return object;
|
|
73604
73626
|
};
|
|
73605
73627
|
|
|
@@ -73626,6 +73648,7 @@ $root.SurveyQuestion = (function() {
|
|
|
73626
73648
|
* @property {string|null} [title] SurveyQuestion title
|
|
73627
73649
|
* @property {Array.<ISurveyAnswer>|null} [answers] SurveyQuestion answers
|
|
73628
73650
|
* @property {string|null} [shorthand] SurveyQuestion shorthand
|
|
73651
|
+
* @property {string|null} [id] SurveyQuestion id
|
|
73629
73652
|
*/
|
|
73630
73653
|
|
|
73631
73654
|
/**
|
|
@@ -73668,6 +73691,14 @@ $root.SurveyQuestion = (function() {
|
|
|
73668
73691
|
*/
|
|
73669
73692
|
SurveyQuestion.prototype.shorthand = "";
|
|
73670
73693
|
|
|
73694
|
+
/**
|
|
73695
|
+
* SurveyQuestion id.
|
|
73696
|
+
* @member {string} id
|
|
73697
|
+
* @memberof SurveyQuestion
|
|
73698
|
+
* @instance
|
|
73699
|
+
*/
|
|
73700
|
+
SurveyQuestion.prototype.id = "";
|
|
73701
|
+
|
|
73671
73702
|
/**
|
|
73672
73703
|
* Creates a new SurveyQuestion instance using the specified properties.
|
|
73673
73704
|
* @function create
|
|
@@ -73699,6 +73730,8 @@ $root.SurveyQuestion = (function() {
|
|
|
73699
73730
|
$root.SurveyAnswer.encode(message.answers[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
73700
73731
|
if (message.shorthand != null && message.hasOwnProperty("shorthand"))
|
|
73701
73732
|
writer.uint32(/* id 3, wireType 2 =*/26).string(message.shorthand);
|
|
73733
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
73734
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.id);
|
|
73702
73735
|
return writer;
|
|
73703
73736
|
};
|
|
73704
73737
|
|
|
@@ -73744,6 +73777,9 @@ $root.SurveyQuestion = (function() {
|
|
|
73744
73777
|
case 3:
|
|
73745
73778
|
message.shorthand = reader.string();
|
|
73746
73779
|
break;
|
|
73780
|
+
case 4:
|
|
73781
|
+
message.id = reader.string();
|
|
73782
|
+
break;
|
|
73747
73783
|
default:
|
|
73748
73784
|
reader.skipType(tag & 7);
|
|
73749
73785
|
break;
|
|
@@ -73794,6 +73830,9 @@ $root.SurveyQuestion = (function() {
|
|
|
73794
73830
|
if (message.shorthand != null && message.hasOwnProperty("shorthand"))
|
|
73795
73831
|
if (!$util.isString(message.shorthand))
|
|
73796
73832
|
return "shorthand: string expected";
|
|
73833
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
73834
|
+
if (!$util.isString(message.id))
|
|
73835
|
+
return "id: string expected";
|
|
73797
73836
|
return null;
|
|
73798
73837
|
};
|
|
73799
73838
|
|
|
@@ -73823,6 +73862,8 @@ $root.SurveyQuestion = (function() {
|
|
|
73823
73862
|
}
|
|
73824
73863
|
if (object.shorthand != null)
|
|
73825
73864
|
message.shorthand = String(object.shorthand);
|
|
73865
|
+
if (object.id != null)
|
|
73866
|
+
message.id = String(object.id);
|
|
73826
73867
|
return message;
|
|
73827
73868
|
};
|
|
73828
73869
|
|
|
@@ -73844,6 +73885,7 @@ $root.SurveyQuestion = (function() {
|
|
|
73844
73885
|
if (options.defaults) {
|
|
73845
73886
|
object.title = "";
|
|
73846
73887
|
object.shorthand = "";
|
|
73888
|
+
object.id = "";
|
|
73847
73889
|
}
|
|
73848
73890
|
if (message.title != null && message.hasOwnProperty("title"))
|
|
73849
73891
|
object.title = message.title;
|
|
@@ -73854,6 +73896,8 @@ $root.SurveyQuestion = (function() {
|
|
|
73854
73896
|
}
|
|
73855
73897
|
if (message.shorthand != null && message.hasOwnProperty("shorthand"))
|
|
73856
73898
|
object.shorthand = message.shorthand;
|
|
73899
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
73900
|
+
object.id = message.id;
|
|
73857
73901
|
return object;
|
|
73858
73902
|
};
|
|
73859
73903
|
|
|
@@ -73880,6 +73924,7 @@ $root.SurveyAnswer = (function() {
|
|
|
73880
73924
|
* @property {string|null} [text] SurveyAnswer text
|
|
73881
73925
|
* @property {string|null} [choice] SurveyAnswer choice
|
|
73882
73926
|
* @property {number|null} [score] SurveyAnswer score
|
|
73927
|
+
* @property {string|null} [id] SurveyAnswer id
|
|
73883
73928
|
*/
|
|
73884
73929
|
|
|
73885
73930
|
/**
|
|
@@ -73921,6 +73966,14 @@ $root.SurveyAnswer = (function() {
|
|
|
73921
73966
|
*/
|
|
73922
73967
|
SurveyAnswer.prototype.score = 0;
|
|
73923
73968
|
|
|
73969
|
+
/**
|
|
73970
|
+
* SurveyAnswer id.
|
|
73971
|
+
* @member {string} id
|
|
73972
|
+
* @memberof SurveyAnswer
|
|
73973
|
+
* @instance
|
|
73974
|
+
*/
|
|
73975
|
+
SurveyAnswer.prototype.id = "";
|
|
73976
|
+
|
|
73924
73977
|
// OneOf field names bound to virtual getters and setters
|
|
73925
73978
|
var $oneOfFields;
|
|
73926
73979
|
|
|
@@ -73965,6 +74018,8 @@ $root.SurveyAnswer = (function() {
|
|
|
73965
74018
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.choice);
|
|
73966
74019
|
if (message.score != null && message.hasOwnProperty("score"))
|
|
73967
74020
|
writer.uint32(/* id 3, wireType 0 =*/24).uint32(message.score);
|
|
74021
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
74022
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.id);
|
|
73968
74023
|
return writer;
|
|
73969
74024
|
};
|
|
73970
74025
|
|
|
@@ -74008,6 +74063,9 @@ $root.SurveyAnswer = (function() {
|
|
|
74008
74063
|
case 3:
|
|
74009
74064
|
message.score = reader.uint32();
|
|
74010
74065
|
break;
|
|
74066
|
+
case 4:
|
|
74067
|
+
message.id = reader.string();
|
|
74068
|
+
break;
|
|
74011
74069
|
default:
|
|
74012
74070
|
reader.skipType(tag & 7);
|
|
74013
74071
|
break;
|
|
@@ -74059,6 +74117,9 @@ $root.SurveyAnswer = (function() {
|
|
|
74059
74117
|
if (message.score != null && message.hasOwnProperty("score"))
|
|
74060
74118
|
if (!$util.isInteger(message.score))
|
|
74061
74119
|
return "score: integer expected";
|
|
74120
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
74121
|
+
if (!$util.isString(message.id))
|
|
74122
|
+
return "id: string expected";
|
|
74062
74123
|
return null;
|
|
74063
74124
|
};
|
|
74064
74125
|
|
|
@@ -74080,6 +74141,8 @@ $root.SurveyAnswer = (function() {
|
|
|
74080
74141
|
message.choice = String(object.choice);
|
|
74081
74142
|
if (object.score != null)
|
|
74082
74143
|
message.score = object.score >>> 0;
|
|
74144
|
+
if (object.id != null)
|
|
74145
|
+
message.id = String(object.id);
|
|
74083
74146
|
return message;
|
|
74084
74147
|
};
|
|
74085
74148
|
|
|
@@ -74096,8 +74159,10 @@ $root.SurveyAnswer = (function() {
|
|
|
74096
74159
|
if (!options)
|
|
74097
74160
|
options = {};
|
|
74098
74161
|
var object = {};
|
|
74099
|
-
if (options.defaults)
|
|
74162
|
+
if (options.defaults) {
|
|
74100
74163
|
object.score = 0;
|
|
74164
|
+
object.id = "";
|
|
74165
|
+
}
|
|
74101
74166
|
if (message.text != null && message.hasOwnProperty("text")) {
|
|
74102
74167
|
object.text = message.text;
|
|
74103
74168
|
if (options.oneofs)
|
|
@@ -74110,6 +74175,8 @@ $root.SurveyAnswer = (function() {
|
|
|
74110
74175
|
}
|
|
74111
74176
|
if (message.score != null && message.hasOwnProperty("score"))
|
|
74112
74177
|
object.score = message.score;
|
|
74178
|
+
if (message.id != null && message.hasOwnProperty("id"))
|
|
74179
|
+
object.id = message.id;
|
|
74113
74180
|
return object;
|
|
74114
74181
|
};
|
|
74115
74182
|
|
package/package.json
CHANGED