@headspace/protos-events 1.86.0 → 1.87.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 CHANGED
@@ -3687,6 +3687,9 @@ export interface ISurveyResponse {
3687
3687
 
3688
3688
  /** SurveyResponse createdAtIsoDate */
3689
3689
  createdAtIsoDate?: (string|null);
3690
+
3691
+ /** SurveyResponse surveyType */
3692
+ surveyType?: (string|null);
3690
3693
  }
3691
3694
 
3692
3695
  /** Represents a SurveyResponse. */
@@ -3710,6 +3713,9 @@ export class SurveyResponse implements ISurveyResponse {
3710
3713
  /** SurveyResponse createdAtIsoDate. */
3711
3714
  public createdAtIsoDate: string;
3712
3715
 
3716
+ /** SurveyResponse surveyType. */
3717
+ public surveyType: string;
3718
+
3713
3719
  /**
3714
3720
  * Creates a new SurveyResponse instance using the specified properties.
3715
3721
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -9161,6 +9161,7 @@ $root.SurveyResponse = (function() {
9161
9161
  * @property {string|null} [surveyId] SurveyResponse surveyId
9162
9162
  * @property {Array.<ISurveyQuestion>|null} [questions] SurveyResponse questions
9163
9163
  * @property {string|null} [createdAtIsoDate] SurveyResponse createdAtIsoDate
9164
+ * @property {string|null} [surveyType] SurveyResponse surveyType
9164
9165
  */
9165
9166
 
9166
9167
  /**
@@ -9211,6 +9212,14 @@ $root.SurveyResponse = (function() {
9211
9212
  */
9212
9213
  SurveyResponse.prototype.createdAtIsoDate = "";
9213
9214
 
9215
+ /**
9216
+ * SurveyResponse surveyType.
9217
+ * @member {string} surveyType
9218
+ * @memberof SurveyResponse
9219
+ * @instance
9220
+ */
9221
+ SurveyResponse.prototype.surveyType = "";
9222
+
9214
9223
  /**
9215
9224
  * Creates a new SurveyResponse instance using the specified properties.
9216
9225
  * @function create
@@ -9244,6 +9253,8 @@ $root.SurveyResponse = (function() {
9244
9253
  $root.SurveyQuestion.encode(message.questions[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
9245
9254
  if (message.createdAtIsoDate != null && message.hasOwnProperty("createdAtIsoDate"))
9246
9255
  writer.uint32(/* id 4, wireType 2 =*/34).string(message.createdAtIsoDate);
9256
+ if (message.surveyType != null && message.hasOwnProperty("surveyType"))
9257
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.surveyType);
9247
9258
  return writer;
9248
9259
  };
9249
9260
 
@@ -9292,6 +9303,9 @@ $root.SurveyResponse = (function() {
9292
9303
  case 4:
9293
9304
  message.createdAtIsoDate = reader.string();
9294
9305
  break;
9306
+ case 5:
9307
+ message.surveyType = reader.string();
9308
+ break;
9295
9309
  default:
9296
9310
  reader.skipType(tag & 7);
9297
9311
  break;
@@ -9345,6 +9359,9 @@ $root.SurveyResponse = (function() {
9345
9359
  if (message.createdAtIsoDate != null && message.hasOwnProperty("createdAtIsoDate"))
9346
9360
  if (!$util.isString(message.createdAtIsoDate))
9347
9361
  return "createdAtIsoDate: string expected";
9362
+ if (message.surveyType != null && message.hasOwnProperty("surveyType"))
9363
+ if (!$util.isString(message.surveyType))
9364
+ return "surveyType: string expected";
9348
9365
  return null;
9349
9366
  };
9350
9367
 
@@ -9376,6 +9393,8 @@ $root.SurveyResponse = (function() {
9376
9393
  }
9377
9394
  if (object.createdAtIsoDate != null)
9378
9395
  message.createdAtIsoDate = String(object.createdAtIsoDate);
9396
+ if (object.surveyType != null)
9397
+ message.surveyType = String(object.surveyType);
9379
9398
  return message;
9380
9399
  };
9381
9400
 
@@ -9398,6 +9417,7 @@ $root.SurveyResponse = (function() {
9398
9417
  object.userId = "";
9399
9418
  object.surveyId = "";
9400
9419
  object.createdAtIsoDate = "";
9420
+ object.surveyType = "";
9401
9421
  }
9402
9422
  if (message.userId != null && message.hasOwnProperty("userId"))
9403
9423
  object.userId = message.userId;
@@ -9410,6 +9430,8 @@ $root.SurveyResponse = (function() {
9410
9430
  }
9411
9431
  if (message.createdAtIsoDate != null && message.hasOwnProperty("createdAtIsoDate"))
9412
9432
  object.createdAtIsoDate = message.createdAtIsoDate;
9433
+ if (message.surveyType != null && message.hasOwnProperty("surveyType"))
9434
+ object.surveyType = message.surveyType;
9413
9435
  return object;
9414
9436
  };
9415
9437
 
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.86.0"
19
+ "version": "1.87.0"
20
20
  }