@headspace/protos-events 1.834.0 → 1.836.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
@@ -80059,6 +80059,9 @@ export class EnterpriseUserEnrollmentCreated {
80059
80059
  /** EnterpriseUserEnrollmentCreated utmParams. */
80060
80060
  utmParams?: (UtmParams.$Properties|null);
80061
80061
 
80062
+ /** EnterpriseUserEnrollmentCreated isUngatedDependent. */
80063
+ isUngatedDependent: boolean;
80064
+
80062
80065
  /**
80063
80066
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
80064
80067
  * @param [properties] Properties to set
@@ -80314,6 +80317,9 @@ export namespace EnterpriseUserEnrollmentCreated {
80314
80317
  /** EnterpriseUserEnrollmentCreated utmParams */
80315
80318
  utmParams?: (UtmParams.$Properties|null);
80316
80319
 
80320
+ /** EnterpriseUserEnrollmentCreated isUngatedDependent */
80321
+ isUngatedDependent?: (boolean|null);
80322
+
80317
80323
  /** Unknown fields preserved while decoding */
80318
80324
  $unknowns?: Uint8Array[];
80319
80325
  }
@@ -80473,6 +80479,9 @@ export class EnterpriseUserEnrollmentRemoved {
80473
80479
  /** EnterpriseUserEnrollmentRemoved taggedCustomFields. */
80474
80480
  taggedCustomFields: TaggedCustomField.$Properties[];
80475
80481
 
80482
+ /** EnterpriseUserEnrollmentRemoved isUngatedDependent. */
80483
+ isUngatedDependent: boolean;
80484
+
80476
80485
  /**
80477
80486
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
80478
80487
  * @param [properties] Properties to set
@@ -80689,6 +80698,9 @@ export namespace EnterpriseUserEnrollmentRemoved {
80689
80698
  /** EnterpriseUserEnrollmentRemoved taggedCustomFields */
80690
80699
  taggedCustomFields?: (TaggedCustomField.$Properties[]|null);
80691
80700
 
80701
+ /** EnterpriseUserEnrollmentRemoved isUngatedDependent */
80702
+ isUngatedDependent?: (boolean|null);
80703
+
80692
80704
  /** Unknown fields preserved while decoding */
80693
80705
  $unknowns?: Uint8Array[];
80694
80706
  }
@@ -80872,6 +80884,9 @@ export class EnterpriseUserEnrollmentAmended {
80872
80884
  /** EnterpriseUserEnrollmentAmended taggedCustomFields. */
80873
80885
  taggedCustomFields: TaggedCustomField.$Properties[];
80874
80886
 
80887
+ /** EnterpriseUserEnrollmentAmended isUngatedDependent. */
80888
+ isUngatedDependent: boolean;
80889
+
80875
80890
  /**
80876
80891
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
80877
80892
  * @param [properties] Properties to set
@@ -81112,6 +81127,9 @@ export namespace EnterpriseUserEnrollmentAmended {
81112
81127
  /** EnterpriseUserEnrollmentAmended taggedCustomFields */
81113
81128
  taggedCustomFields?: (TaggedCustomField.$Properties[]|null);
81114
81129
 
81130
+ /** EnterpriseUserEnrollmentAmended isUngatedDependent */
81131
+ isUngatedDependent?: (boolean|null);
81132
+
81115
81133
  /** Unknown fields preserved while decoding */
81116
81134
  $unknowns?: Uint8Array[];
81117
81135
  }
@@ -81190,6 +81208,9 @@ export class EnterpriseUserEnrollmentInitiated {
81190
81208
  /** EnterpriseUserEnrollmentInitiated taggedCustomFields. */
81191
81209
  taggedCustomFields: TaggedCustomField.$Properties[];
81192
81210
 
81211
+ /** EnterpriseUserEnrollmentInitiated isUngatedDependent. */
81212
+ isUngatedDependent: boolean;
81213
+
81193
81214
  /**
81194
81215
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
81195
81216
  * @param [properties] Properties to set
@@ -81325,6 +81346,9 @@ export namespace EnterpriseUserEnrollmentInitiated {
81325
81346
  /** EnterpriseUserEnrollmentInitiated taggedCustomFields */
81326
81347
  taggedCustomFields?: (TaggedCustomField.$Properties[]|null);
81327
81348
 
81349
+ /** EnterpriseUserEnrollmentInitiated isUngatedDependent */
81350
+ isUngatedDependent?: (boolean|null);
81351
+
81328
81352
  /** Unknown fields preserved while decoding */
81329
81353
  $unknowns?: Uint8Array[];
81330
81354
  }
@@ -81382,6 +81406,9 @@ export class EnterpriseUserEnrollmentUpgraded {
81382
81406
  /** EnterpriseUserEnrollmentUpgraded taggedCustomFields. */
81383
81407
  taggedCustomFields: TaggedCustomField.$Properties[];
81384
81408
 
81409
+ /** EnterpriseUserEnrollmentUpgraded isUngatedDependent. */
81410
+ isUngatedDependent: boolean;
81411
+
81385
81412
  /**
81386
81413
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
81387
81414
  * @param [properties] Properties to set
@@ -81496,6 +81523,9 @@ export namespace EnterpriseUserEnrollmentUpgraded {
81496
81523
  /** EnterpriseUserEnrollmentUpgraded taggedCustomFields */
81497
81524
  taggedCustomFields?: (TaggedCustomField.$Properties[]|null);
81498
81525
 
81526
+ /** EnterpriseUserEnrollmentUpgraded isUngatedDependent */
81527
+ isUngatedDependent?: (boolean|null);
81528
+
81499
81529
  /** Unknown fields preserved while decoding */
81500
81530
  $unknowns?: Uint8Array[];
81501
81531
  }
@@ -88380,6 +88410,146 @@ export namespace HieDeliveryFailed {
88380
88410
  type $Shape = HieDeliveryFailed.$Properties;
88381
88411
  }
88382
88412
 
88413
+ /**
88414
+ * Properties of a GingerClinicalNoteExported.
88415
+ * @deprecated Use GingerClinicalNoteExported.$Properties instead.
88416
+ */
88417
+ export interface IGingerClinicalNoteExported extends GingerClinicalNoteExported.$Properties {
88418
+ }
88419
+
88420
+ /**
88421
+ * Published when care-web has written a GingerClinicalNotePayload object to the
88422
+ * Headspace HIE S3 export bucket and is ready for hs-hie-service to consume it.
88423
+ * Thin pointer only -- opaque ids and the S3 object key. Classification and
88424
+ * DS4P codes live on GingerClinicalNotePayload (read after GetObject).
88425
+ */
88426
+ export class GingerClinicalNoteExported {
88427
+
88428
+ /**
88429
+ * Constructs a new GingerClinicalNoteExported.
88430
+ * @param [properties] Properties to set
88431
+ */
88432
+ constructor(properties?: GingerClinicalNoteExported.$Properties);
88433
+
88434
+ /** Unknown fields preserved while decoding */
88435
+ $unknowns?: Uint8Array[];
88436
+
88437
+ /** GingerClinicalNoteExported timestamp. */
88438
+ timestamp: (number|Long);
88439
+
88440
+ /** GingerClinicalNoteExported noteId. */
88441
+ noteId: string;
88442
+
88443
+ /** GingerClinicalNoteExported hsUserId. */
88444
+ hsUserId: string;
88445
+
88446
+ /** GingerClinicalNoteExported s3Path. */
88447
+ s3Path: string;
88448
+
88449
+ /**
88450
+ * Creates a new GingerClinicalNoteExported instance using the specified properties.
88451
+ * @param [properties] Properties to set
88452
+ * @returns GingerClinicalNoteExported instance
88453
+ */
88454
+ static create(properties: GingerClinicalNoteExported.$Shape): GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape;
88455
+ static create(properties?: GingerClinicalNoteExported.$Properties): GingerClinicalNoteExported;
88456
+
88457
+ /**
88458
+ * Encodes the specified GingerClinicalNoteExported message. Does not implicitly {@link GingerClinicalNoteExported.verify|verify} messages.
88459
+ * @param message GingerClinicalNoteExported message or plain object to encode
88460
+ * @param [writer] Writer to encode to
88461
+ * @returns Writer
88462
+ */
88463
+ static encode(message: GingerClinicalNoteExported.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88464
+
88465
+ /**
88466
+ * Encodes the specified GingerClinicalNoteExported message, length delimited. Does not implicitly {@link GingerClinicalNoteExported.verify|verify} messages.
88467
+ * @param message GingerClinicalNoteExported message or plain object to encode
88468
+ * @param [writer] Writer to encode to
88469
+ * @returns Writer
88470
+ */
88471
+ static encodeDelimited(message: GingerClinicalNoteExported.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
88472
+
88473
+ /**
88474
+ * Decodes a GingerClinicalNoteExported message from the specified reader or buffer.
88475
+ * @param reader Reader or buffer to decode from
88476
+ * @param [length] Message length if known beforehand
88477
+ * @returns {GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape} GingerClinicalNoteExported
88478
+ * @throws {Error} If the payload is not a reader or valid buffer
88479
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88480
+ */
88481
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape;
88482
+
88483
+ /**
88484
+ * Decodes a GingerClinicalNoteExported message from the specified reader or buffer, length delimited.
88485
+ * @param reader Reader or buffer to decode from
88486
+ * @returns {GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape} GingerClinicalNoteExported
88487
+ * @throws {Error} If the payload is not a reader or valid buffer
88488
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
88489
+ */
88490
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape;
88491
+
88492
+ /**
88493
+ * Verifies a GingerClinicalNoteExported message.
88494
+ * @param message Plain object to verify
88495
+ * @returns `null` if valid, otherwise the reason why it is not
88496
+ */
88497
+ static verify(message: { [k: string]: any }): (string|null);
88498
+
88499
+ /**
88500
+ * Creates a GingerClinicalNoteExported message from a plain object. Also converts values to their respective internal types.
88501
+ * @param object Plain object
88502
+ * @returns GingerClinicalNoteExported
88503
+ */
88504
+ static fromObject(object: { [k: string]: any }): GingerClinicalNoteExported;
88505
+
88506
+ /**
88507
+ * Creates a plain object from a GingerClinicalNoteExported message. Also converts values to other types if specified.
88508
+ * @param message GingerClinicalNoteExported
88509
+ * @param [options] Conversion options
88510
+ * @returns Plain object
88511
+ */
88512
+ static toObject(message: GingerClinicalNoteExported, options?: $protobuf.IConversionOptions): { [k: string]: any };
88513
+
88514
+ /**
88515
+ * Converts this GingerClinicalNoteExported to JSON.
88516
+ * @returns JSON object
88517
+ */
88518
+ toJSON(): { [k: string]: any };
88519
+
88520
+ /**
88521
+ * Gets the type url for GingerClinicalNoteExported
88522
+ * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
88523
+ * @returns The type url
88524
+ */
88525
+ static getTypeUrl(prefix?: string): string;
88526
+ }
88527
+
88528
+ export namespace GingerClinicalNoteExported {
88529
+
88530
+ /** Properties of a GingerClinicalNoteExported. */
88531
+ interface $Properties {
88532
+
88533
+ /** GingerClinicalNoteExported timestamp */
88534
+ timestamp?: (number|Long|null);
88535
+
88536
+ /** GingerClinicalNoteExported noteId */
88537
+ noteId?: (string|null);
88538
+
88539
+ /** GingerClinicalNoteExported hsUserId */
88540
+ hsUserId?: (string|null);
88541
+
88542
+ /** GingerClinicalNoteExported s3Path */
88543
+ s3Path?: (string|null);
88544
+
88545
+ /** Unknown fields preserved while decoding */
88546
+ $unknowns?: Uint8Array[];
88547
+ }
88548
+
88549
+ /** Shape of a GingerClinicalNoteExported. */
88550
+ type $Shape = GingerClinicalNoteExported.$Properties;
88551
+ }
88552
+
88383
88553
  /** GingerClinicalNoteType enum. */
88384
88554
  export enum GingerClinicalNoteType {
88385
88555
 
package/lib/index.js CHANGED
@@ -231462,6 +231462,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
231462
231462
  * @property {Array.<TaggedCustomField.$Properties>|null} [taggedCustomFields] EnterpriseUserEnrollmentCreated taggedCustomFields
231463
231463
  * @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentCreated isTextCoachingDisabled
231464
231464
  * @property {UtmParams.$Properties|null} [utmParams] EnterpriseUserEnrollmentCreated utmParams
231465
+ * @property {boolean|null} [isUngatedDependent] EnterpriseUserEnrollmentCreated isUngatedDependent
231465
231466
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
231466
231467
  */
231467
231468
 
@@ -231950,6 +231951,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
231950
231951
  */
231951
231952
  EnterpriseUserEnrollmentCreated.prototype.utmParams = null;
231952
231953
 
231954
+ /**
231955
+ * EnterpriseUserEnrollmentCreated isUngatedDependent.
231956
+ * @member {boolean} isUngatedDependent
231957
+ * @memberof EnterpriseUserEnrollmentCreated
231958
+ * @instance
231959
+ */
231960
+ EnterpriseUserEnrollmentCreated.prototype.isUngatedDependent = false;
231961
+
231953
231962
  /**
231954
231963
  * Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
231955
231964
  * @function create
@@ -232093,6 +232102,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
232093
232102
  writer.uint32(/* id 61, wireType 0 =*/488).bool(message.isTextCoachingDisabled);
232094
232103
  if (message.utmParams != null && Object.hasOwnProperty.call(message, "utmParams"))
232095
232104
  $root.UtmParams.encode(message.utmParams, writer.uint32(/* id 62, wireType 2 =*/498).fork()).ldelim();
232105
+ if (message.isUngatedDependent != null && Object.hasOwnProperty.call(message, "isUngatedDependent"))
232106
+ writer.uint32(/* id 63, wireType 0 =*/504).bool(message.isUngatedDependent);
232096
232107
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
232097
232108
  for (var i = 0; i < message.$unknowns.length; ++i)
232098
232109
  writer.raw(message.$unknowns[i]);
@@ -232649,6 +232660,15 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
232649
232660
  message.utmParams = $root.UtmParams.decode(reader, reader.uint32(), undefined, _depth + 1, message.utmParams);
232650
232661
  continue;
232651
232662
  }
232663
+ case 63: {
232664
+ if (wireType !== 0)
232665
+ break;
232666
+ if (value = reader.bool())
232667
+ message.isUngatedDependent = value;
232668
+ else
232669
+ delete message.isUngatedDependent;
232670
+ continue;
232671
+ }
232652
232672
  }
232653
232673
  reader.skipType(wireType, _depth, tag);
232654
232674
  $util.makeProp(message, "$unknowns", false);
@@ -232944,6 +232964,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
232944
232964
  if (error)
232945
232965
  return "utmParams." + error;
232946
232966
  }
232967
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
232968
+ if (typeof message.isUngatedDependent !== "boolean")
232969
+ return "isUngatedDependent: boolean expected";
232947
232970
  return null;
232948
232971
  };
232949
232972
 
@@ -233418,6 +233441,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
233418
233441
  throw TypeError(".EnterpriseUserEnrollmentCreated.utmParams: object expected");
233419
233442
  message.utmParams = $root.UtmParams.fromObject(object.utmParams, _depth + 1);
233420
233443
  }
233444
+ if (object.isUngatedDependent != null)
233445
+ if (object.isUngatedDependent)
233446
+ message.isUngatedDependent = Boolean(object.isUngatedDependent);
233421
233447
  return message;
233422
233448
  };
233423
233449
 
@@ -233513,6 +233539,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
233513
233539
  object.brandLogoUrl = "";
233514
233540
  object.isTextCoachingDisabled = false;
233515
233541
  object.utmParams = null;
233542
+ object.isUngatedDependent = false;
233516
233543
  }
233517
233544
  if (message.userId != null && message.hasOwnProperty("userId"))
233518
233545
  object.userId = message.userId;
@@ -233656,6 +233683,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
233656
233683
  object.isTextCoachingDisabled = message.isTextCoachingDisabled;
233657
233684
  if (message.utmParams != null && message.hasOwnProperty("utmParams"))
233658
233685
  object.utmParams = $root.UtmParams.toObject(message.utmParams, options);
233686
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
233687
+ object.isUngatedDependent = message.isUngatedDependent;
233659
233688
  return object;
233660
233689
  };
233661
233690
 
@@ -233736,6 +233765,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
233736
233765
  * @property {string|null} [externalClientId] EnterpriseUserEnrollmentRemoved externalClientId
233737
233766
  * @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentRemoved brandLogoUrl
233738
233767
  * @property {Array.<TaggedCustomField.$Properties>|null} [taggedCustomFields] EnterpriseUserEnrollmentRemoved taggedCustomFields
233768
+ * @property {boolean|null} [isUngatedDependent] EnterpriseUserEnrollmentRemoved isUngatedDependent
233739
233769
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
233740
233770
  */
233741
233771
 
@@ -234120,6 +234150,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
234120
234150
  */
234121
234151
  EnterpriseUserEnrollmentRemoved.prototype.taggedCustomFields = $util.emptyArray;
234122
234152
 
234153
+ /**
234154
+ * EnterpriseUserEnrollmentRemoved isUngatedDependent.
234155
+ * @member {boolean} isUngatedDependent
234156
+ * @memberof EnterpriseUserEnrollmentRemoved
234157
+ * @instance
234158
+ */
234159
+ EnterpriseUserEnrollmentRemoved.prototype.isUngatedDependent = false;
234160
+
234123
234161
  /**
234124
234162
  * Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
234125
234163
  * @function create
@@ -234237,6 +234275,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
234237
234275
  if (message.taggedCustomFields != null && message.taggedCustomFields.length)
234238
234276
  for (var i = 0; i < message.taggedCustomFields.length; ++i)
234239
234277
  $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
234278
+ if (message.isUngatedDependent != null && Object.hasOwnProperty.call(message, "isUngatedDependent"))
234279
+ writer.uint32(/* id 51, wireType 0 =*/408).bool(message.isUngatedDependent);
234240
234280
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
234241
234281
  for (var i = 0; i < message.$unknowns.length; ++i)
234242
234282
  writer.raw(message.$unknowns[i]);
@@ -234679,6 +234719,15 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
234679
234719
  message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32(), undefined, _depth + 1));
234680
234720
  continue;
234681
234721
  }
234722
+ case 51: {
234723
+ if (wireType !== 0)
234724
+ break;
234725
+ if (value = reader.bool())
234726
+ message.isUngatedDependent = value;
234727
+ else
234728
+ delete message.isUngatedDependent;
234729
+ continue;
234730
+ }
234682
234731
  }
234683
234732
  reader.skipType(wireType, _depth, tag);
234684
234733
  $util.makeProp(message, "$unknowns", false);
@@ -234939,6 +234988,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
234939
234988
  return "taggedCustomFields." + error;
234940
234989
  }
234941
234990
  }
234991
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
234992
+ if (typeof message.isUngatedDependent !== "boolean")
234993
+ return "isUngatedDependent: boolean expected";
234942
234994
  return null;
234943
234995
  };
234944
234996
 
@@ -235396,6 +235448,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
235396
235448
  message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i], _depth + 1);
235397
235449
  }
235398
235450
  }
235451
+ if (object.isUngatedDependent != null)
235452
+ if (object.isUngatedDependent)
235453
+ message.isUngatedDependent = Boolean(object.isUngatedDependent);
235399
235454
  return message;
235400
235455
  };
235401
235456
 
@@ -235478,6 +235533,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
235478
235533
  object.externalEligibility = "";
235479
235534
  object.externalClientId = "";
235480
235535
  object.brandLogoUrl = "";
235536
+ object.isUngatedDependent = false;
235481
235537
  }
235482
235538
  if (message.userId != null && message.hasOwnProperty("userId"))
235483
235539
  object.userId = message.userId;
@@ -235595,6 +235651,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
235595
235651
  for (var j = 0; j < message.taggedCustomFields.length; ++j)
235596
235652
  object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
235597
235653
  }
235654
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
235655
+ object.isUngatedDependent = message.isUngatedDependent;
235598
235656
  return object;
235599
235657
  };
235600
235658
 
@@ -235683,6 +235741,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
235683
235741
  * @property {string|null} [brandLogoUrl] EnterpriseUserEnrollmentAmended brandLogoUrl
235684
235742
  * @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentAmended isTextCoachingDisabled
235685
235743
  * @property {Array.<TaggedCustomField.$Properties>|null} [taggedCustomFields] EnterpriseUserEnrollmentAmended taggedCustomFields
235744
+ * @property {boolean|null} [isUngatedDependent] EnterpriseUserEnrollmentAmended isUngatedDependent
235686
235745
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
235687
235746
  */
235688
235747
 
@@ -236131,6 +236190,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
236131
236190
  */
236132
236191
  EnterpriseUserEnrollmentAmended.prototype.taggedCustomFields = $util.emptyArray;
236133
236192
 
236193
+ /**
236194
+ * EnterpriseUserEnrollmentAmended isUngatedDependent.
236195
+ * @member {boolean} isUngatedDependent
236196
+ * @memberof EnterpriseUserEnrollmentAmended
236197
+ * @instance
236198
+ */
236199
+ EnterpriseUserEnrollmentAmended.prototype.isUngatedDependent = false;
236200
+
236134
236201
  /**
236135
236202
  * Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
236136
236203
  * @function create
@@ -236264,6 +236331,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
236264
236331
  if (message.taggedCustomFields != null && message.taggedCustomFields.length)
236265
236332
  for (var i = 0; i < message.taggedCustomFields.length; ++i)
236266
236333
  $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 58, wireType 2 =*/466).fork()).ldelim();
236334
+ if (message.isUngatedDependent != null && Object.hasOwnProperty.call(message, "isUngatedDependent"))
236335
+ writer.uint32(/* id 59, wireType 0 =*/472).bool(message.isUngatedDependent);
236267
236336
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
236268
236337
  for (var i = 0; i < message.$unknowns.length; ++i)
236269
236338
  writer.raw(message.$unknowns[i]);
@@ -236778,6 +236847,15 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
236778
236847
  message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32(), undefined, _depth + 1));
236779
236848
  continue;
236780
236849
  }
236850
+ case 59: {
236851
+ if (wireType !== 0)
236852
+ break;
236853
+ if (value = reader.bool())
236854
+ message.isUngatedDependent = value;
236855
+ else
236856
+ delete message.isUngatedDependent;
236857
+ continue;
236858
+ }
236781
236859
  }
236782
236860
  reader.skipType(wireType, _depth, tag);
236783
236861
  $util.makeProp(message, "$unknowns", false);
@@ -237047,6 +237125,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
237047
237125
  return "taggedCustomFields." + error;
237048
237126
  }
237049
237127
  }
237128
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
237129
+ if (typeof message.isUngatedDependent !== "boolean")
237130
+ return "isUngatedDependent: boolean expected";
237050
237131
  return null;
237051
237132
  };
237052
237133
 
@@ -237474,6 +237555,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
237474
237555
  message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i], _depth + 1);
237475
237556
  }
237476
237557
  }
237558
+ if (object.isUngatedDependent != null)
237559
+ if (object.isUngatedDependent)
237560
+ message.isUngatedDependent = Boolean(object.isUngatedDependent);
237477
237561
  return message;
237478
237562
  };
237479
237563
 
@@ -237564,6 +237648,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
237564
237648
  object.externalClientId = "";
237565
237649
  object.brandLogoUrl = "";
237566
237650
  object.isTextCoachingDisabled = false;
237651
+ object.isUngatedDependent = false;
237567
237652
  }
237568
237653
  if (message.userId != null && message.hasOwnProperty("userId"))
237569
237654
  object.userId = message.userId;
@@ -237697,6 +237782,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
237697
237782
  for (var j = 0; j < message.taggedCustomFields.length; ++j)
237698
237783
  object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
237699
237784
  }
237785
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
237786
+ object.isUngatedDependent = message.isUngatedDependent;
237700
237787
  return object;
237701
237788
  };
237702
237789
 
@@ -237750,6 +237837,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
237750
237837
  * @property {boolean|null} [b2bAreEnrollmentCommsEnabled] EnterpriseUserEnrollmentInitiated b2bAreEnrollmentCommsEnabled
237751
237838
  * @property {boolean|null} [suppressCoachingCommunications] EnterpriseUserEnrollmentInitiated suppressCoachingCommunications
237752
237839
  * @property {Array.<TaggedCustomField.$Properties>|null} [taggedCustomFields] EnterpriseUserEnrollmentInitiated taggedCustomFields
237840
+ * @property {boolean|null} [isUngatedDependent] EnterpriseUserEnrollmentInitiated isUngatedDependent
237753
237841
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
237754
237842
  */
237755
237843
 
@@ -237918,6 +238006,14 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
237918
238006
  */
237919
238007
  EnterpriseUserEnrollmentInitiated.prototype.taggedCustomFields = $util.emptyArray;
237920
238008
 
238009
+ /**
238010
+ * EnterpriseUserEnrollmentInitiated isUngatedDependent.
238011
+ * @member {boolean} isUngatedDependent
238012
+ * @memberof EnterpriseUserEnrollmentInitiated
238013
+ * @instance
238014
+ */
238015
+ EnterpriseUserEnrollmentInitiated.prototype.isUngatedDependent = false;
238016
+
237921
238017
  /**
237922
238018
  * Creates a new EnterpriseUserEnrollmentInitiated instance using the specified properties.
237923
238019
  * @function create
@@ -237981,6 +238077,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
237981
238077
  if (message.taggedCustomFields != null && message.taggedCustomFields.length)
237982
238078
  for (var i = 0; i < message.taggedCustomFields.length; ++i)
237983
238079
  $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 17, wireType 2 =*/138).fork()).ldelim();
238080
+ if (message.isUngatedDependent != null && Object.hasOwnProperty.call(message, "isUngatedDependent"))
238081
+ writer.uint32(/* id 18, wireType 0 =*/144).bool(message.isUngatedDependent);
237984
238082
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
237985
238083
  for (var i = 0; i < message.$unknowns.length; ++i)
237986
238084
  writer.raw(message.$unknowns[i]);
@@ -238180,6 +238278,15 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
238180
238278
  message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32(), undefined, _depth + 1));
238181
238279
  continue;
238182
238280
  }
238281
+ case 18: {
238282
+ if (wireType !== 0)
238283
+ break;
238284
+ if (value = reader.bool())
238285
+ message.isUngatedDependent = value;
238286
+ else
238287
+ delete message.isUngatedDependent;
238288
+ continue;
238289
+ }
238183
238290
  }
238184
238291
  reader.skipType(wireType, _depth, tag);
238185
238292
  $util.makeProp(message, "$unknowns", false);
@@ -238278,6 +238385,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
238278
238385
  return "taggedCustomFields." + error;
238279
238386
  }
238280
238387
  }
238388
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
238389
+ if (typeof message.isUngatedDependent !== "boolean")
238390
+ return "isUngatedDependent: boolean expected";
238281
238391
  return null;
238282
238392
  };
238283
238393
 
@@ -238362,6 +238472,9 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
238362
238472
  message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i], _depth + 1);
238363
238473
  }
238364
238474
  }
238475
+ if (object.isUngatedDependent != null)
238476
+ if (object.isUngatedDependent)
238477
+ message.isUngatedDependent = Boolean(object.isUngatedDependent);
238365
238478
  return message;
238366
238479
  };
238367
238480
 
@@ -238401,6 +238514,7 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
238401
238514
  object.b2bAreNonmemberCommsEnabled = false;
238402
238515
  object.b2bAreEnrollmentCommsEnabled = false;
238403
238516
  object.suppressCoachingCommunications = false;
238517
+ object.isUngatedDependent = false;
238404
238518
  }
238405
238519
  if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
238406
238520
  object.hsUserId = message.hsUserId;
@@ -238444,6 +238558,8 @@ $root.EnterpriseUserEnrollmentInitiated = (function() {
238444
238558
  for (var j = 0; j < message.taggedCustomFields.length; ++j)
238445
238559
  object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
238446
238560
  }
238561
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
238562
+ object.isUngatedDependent = message.isUngatedDependent;
238447
238563
  return object;
238448
238564
  };
238449
238565
 
@@ -238490,6 +238606,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
238490
238606
  * @property {number|null} [overlappedCareOrgId] EnterpriseUserEnrollmentUpgraded overlappedCareOrgId
238491
238607
  * @property {boolean|null} [isTextCoachingDisabled] EnterpriseUserEnrollmentUpgraded isTextCoachingDisabled
238492
238608
  * @property {Array.<TaggedCustomField.$Properties>|null} [taggedCustomFields] EnterpriseUserEnrollmentUpgraded taggedCustomFields
238609
+ * @property {boolean|null} [isUngatedDependent] EnterpriseUserEnrollmentUpgraded isUngatedDependent
238493
238610
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
238494
238611
  */
238495
238612
 
@@ -238602,6 +238719,14 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
238602
238719
  */
238603
238720
  EnterpriseUserEnrollmentUpgraded.prototype.taggedCustomFields = $util.emptyArray;
238604
238721
 
238722
+ /**
238723
+ * EnterpriseUserEnrollmentUpgraded isUngatedDependent.
238724
+ * @member {boolean} isUngatedDependent
238725
+ * @memberof EnterpriseUserEnrollmentUpgraded
238726
+ * @instance
238727
+ */
238728
+ EnterpriseUserEnrollmentUpgraded.prototype.isUngatedDependent = false;
238729
+
238605
238730
  /**
238606
238731
  * Creates a new EnterpriseUserEnrollmentUpgraded instance using the specified properties.
238607
238732
  * @function create
@@ -238651,6 +238776,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
238651
238776
  if (message.taggedCustomFields != null && message.taggedCustomFields.length)
238652
238777
  for (var i = 0; i < message.taggedCustomFields.length; ++i)
238653
238778
  $root.TaggedCustomField.encode(message.taggedCustomFields[i], writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
238779
+ if (message.isUngatedDependent != null && Object.hasOwnProperty.call(message, "isUngatedDependent"))
238780
+ writer.uint32(/* id 11, wireType 0 =*/88).bool(message.isUngatedDependent);
238654
238781
  if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
238655
238782
  for (var i = 0; i < message.$unknowns.length; ++i)
238656
238783
  writer.raw(message.$unknowns[i]);
@@ -238787,6 +238914,15 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
238787
238914
  message.taggedCustomFields.push($root.TaggedCustomField.decode(reader, reader.uint32(), undefined, _depth + 1));
238788
238915
  continue;
238789
238916
  }
238917
+ case 11: {
238918
+ if (wireType !== 0)
238919
+ break;
238920
+ if (value = reader.bool())
238921
+ message.isUngatedDependent = value;
238922
+ else
238923
+ delete message.isUngatedDependent;
238924
+ continue;
238925
+ }
238790
238926
  }
238791
238927
  reader.skipType(wireType, _depth, tag);
238792
238928
  $util.makeProp(message, "$unknowns", false);
@@ -238882,6 +239018,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
238882
239018
  return "taggedCustomFields." + error;
238883
239019
  }
238884
239020
  }
239021
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
239022
+ if (typeof message.isUngatedDependent !== "boolean")
239023
+ return "isUngatedDependent: boolean expected";
238885
239024
  return null;
238886
239025
  };
238887
239026
 
@@ -239005,6 +239144,9 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
239005
239144
  message.taggedCustomFields[i] = $root.TaggedCustomField.fromObject(object.taggedCustomFields[i], _depth + 1);
239006
239145
  }
239007
239146
  }
239147
+ if (object.isUngatedDependent != null)
239148
+ if (object.isUngatedDependent)
239149
+ message.isUngatedDependent = Boolean(object.isUngatedDependent);
239008
239150
  return message;
239009
239151
  };
239010
239152
 
@@ -239037,6 +239179,7 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
239037
239179
  object.enrollmentOrgId = 0;
239038
239180
  object.overlappedCareOrgId = 0;
239039
239181
  object.isTextCoachingDisabled = false;
239182
+ object.isUngatedDependent = false;
239040
239183
  }
239041
239184
  if (message.userId != null && message.hasOwnProperty("userId"))
239042
239185
  object.userId = message.userId;
@@ -239066,6 +239209,8 @@ $root.EnterpriseUserEnrollmentUpgraded = (function() {
239066
239209
  for (var j = 0; j < message.taggedCustomFields.length; ++j)
239067
239210
  object.taggedCustomFields[j] = $root.TaggedCustomField.toObject(message.taggedCustomFields[j], options);
239068
239211
  }
239212
+ if (message.isUngatedDependent != null && message.hasOwnProperty("isUngatedDependent"))
239213
+ object.isUngatedDependent = message.isUngatedDependent;
239069
239214
  return object;
239070
239215
  };
239071
239216
 
@@ -260130,6 +260275,361 @@ $root.HieDeliveryFailed = (function() {
260130
260275
  return HieDeliveryFailed;
260131
260276
  })();
260132
260277
 
260278
+ $root.GingerClinicalNoteExported = (function() {
260279
+
260280
+ /**
260281
+ * Properties of a GingerClinicalNoteExported.
260282
+ * @typedef {Object} GingerClinicalNoteExported.$Properties
260283
+ * @property {number|Long|null} [timestamp] GingerClinicalNoteExported timestamp
260284
+ * @property {string|null} [noteId] GingerClinicalNoteExported noteId
260285
+ * @property {string|null} [hsUserId] GingerClinicalNoteExported hsUserId
260286
+ * @property {string|null} [s3Path] GingerClinicalNoteExported s3Path
260287
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
260288
+ */
260289
+
260290
+ /**
260291
+ * Properties of a GingerClinicalNoteExported.
260292
+ * @name IGingerClinicalNoteExported
260293
+ * @interface IGingerClinicalNoteExported
260294
+ * @augments GingerClinicalNoteExported.$Properties
260295
+ * @deprecated Use GingerClinicalNoteExported.$Properties instead.
260296
+ */
260297
+
260298
+ /**
260299
+ * Shape of a GingerClinicalNoteExported.
260300
+ * @typedef {GingerClinicalNoteExported.$Properties} GingerClinicalNoteExported.$Shape
260301
+ */
260302
+
260303
+ /**
260304
+ * Constructs a new GingerClinicalNoteExported.
260305
+ * @name GingerClinicalNoteExported
260306
+ * @classdesc Published when care-web has written a GingerClinicalNotePayload object to the
260307
+ * Headspace HIE S3 export bucket and is ready for hs-hie-service to consume it.
260308
+ * Thin pointer only -- opaque ids and the S3 object key. Classification and
260309
+ * DS4P codes live on GingerClinicalNotePayload (read after GetObject).
260310
+ * @constructor
260311
+ * @param {GingerClinicalNoteExported.$Properties=} [properties] Properties to set
260312
+ * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
260313
+ */
260314
+ function GingerClinicalNoteExported(properties) {
260315
+ if (properties)
260316
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
260317
+ if (properties[keys[i]] != null && keys[i] !== "__proto__")
260318
+ this[keys[i]] = properties[keys[i]];
260319
+ }
260320
+
260321
+ /**
260322
+ * GingerClinicalNoteExported timestamp.
260323
+ * @member {number|Long} timestamp
260324
+ * @memberof GingerClinicalNoteExported
260325
+ * @instance
260326
+ */
260327
+ GingerClinicalNoteExported.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
260328
+
260329
+ /**
260330
+ * GingerClinicalNoteExported noteId.
260331
+ * @member {string} noteId
260332
+ * @memberof GingerClinicalNoteExported
260333
+ * @instance
260334
+ */
260335
+ GingerClinicalNoteExported.prototype.noteId = "";
260336
+
260337
+ /**
260338
+ * GingerClinicalNoteExported hsUserId.
260339
+ * @member {string} hsUserId
260340
+ * @memberof GingerClinicalNoteExported
260341
+ * @instance
260342
+ */
260343
+ GingerClinicalNoteExported.prototype.hsUserId = "";
260344
+
260345
+ /**
260346
+ * GingerClinicalNoteExported s3Path.
260347
+ * @member {string} s3Path
260348
+ * @memberof GingerClinicalNoteExported
260349
+ * @instance
260350
+ */
260351
+ GingerClinicalNoteExported.prototype.s3Path = "";
260352
+
260353
+ /**
260354
+ * Creates a new GingerClinicalNoteExported instance using the specified properties.
260355
+ * @function create
260356
+ * @memberof GingerClinicalNoteExported
260357
+ * @static
260358
+ * @param {GingerClinicalNoteExported.$Properties=} [properties] Properties to set
260359
+ * @returns {GingerClinicalNoteExported} GingerClinicalNoteExported instance
260360
+ * @type {{
260361
+ * (properties: GingerClinicalNoteExported.$Shape): GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape;
260362
+ * (properties?: GingerClinicalNoteExported.$Properties): GingerClinicalNoteExported;
260363
+ * }}
260364
+ */
260365
+ GingerClinicalNoteExported.create = function create(properties) {
260366
+ return new GingerClinicalNoteExported(properties);
260367
+ };
260368
+
260369
+ /**
260370
+ * Encodes the specified GingerClinicalNoteExported message. Does not implicitly {@link GingerClinicalNoteExported.verify|verify} messages.
260371
+ * @function encode
260372
+ * @memberof GingerClinicalNoteExported
260373
+ * @static
260374
+ * @param {GingerClinicalNoteExported.$Properties} message GingerClinicalNoteExported message or plain object to encode
260375
+ * @param {$protobuf.Writer} [writer] Writer to encode to
260376
+ * @returns {$protobuf.Writer} Writer
260377
+ */
260378
+ GingerClinicalNoteExported.encode = function encode(message, writer) {
260379
+ if (!writer)
260380
+ writer = $Writer.create();
260381
+ if (message.timestamp != null && Object.hasOwnProperty.call(message, "timestamp"))
260382
+ writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
260383
+ if (message.noteId != null && Object.hasOwnProperty.call(message, "noteId"))
260384
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.noteId);
260385
+ if (message.hsUserId != null && Object.hasOwnProperty.call(message, "hsUserId"))
260386
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.hsUserId);
260387
+ if (message.s3Path != null && Object.hasOwnProperty.call(message, "s3Path"))
260388
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.s3Path);
260389
+ if (message.$unknowns != null && Object.hasOwnProperty.call(message, "$unknowns"))
260390
+ for (var i = 0; i < message.$unknowns.length; ++i)
260391
+ writer.raw(message.$unknowns[i]);
260392
+ return writer;
260393
+ };
260394
+
260395
+ /**
260396
+ * Encodes the specified GingerClinicalNoteExported message, length delimited. Does not implicitly {@link GingerClinicalNoteExported.verify|verify} messages.
260397
+ * @function encodeDelimited
260398
+ * @memberof GingerClinicalNoteExported
260399
+ * @static
260400
+ * @param {GingerClinicalNoteExported.$Properties} message GingerClinicalNoteExported message or plain object to encode
260401
+ * @param {$protobuf.Writer} [writer] Writer to encode to
260402
+ * @returns {$protobuf.Writer} Writer
260403
+ */
260404
+ GingerClinicalNoteExported.encodeDelimited = function encodeDelimited(message, writer) {
260405
+ return this.encode(message, writer).ldelim();
260406
+ };
260407
+
260408
+ /**
260409
+ * Decodes a GingerClinicalNoteExported message from the specified reader or buffer.
260410
+ * @function decode
260411
+ * @memberof GingerClinicalNoteExported
260412
+ * @static
260413
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
260414
+ * @param {number} [length] Message length if known beforehand
260415
+ * @returns {GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape} GingerClinicalNoteExported
260416
+ * @throws {Error} If the payload is not a reader or valid buffer
260417
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
260418
+ */
260419
+ GingerClinicalNoteExported.decode = function decode(reader, length, _end, _depth, _target) {
260420
+ if (!(reader instanceof $Reader))
260421
+ reader = $Reader.create(reader);
260422
+ if (_depth === undefined)
260423
+ _depth = 0;
260424
+ if (_depth > $Reader.recursionLimit)
260425
+ throw Error("max depth exceeded");
260426
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.GingerClinicalNoteExported(), value;
260427
+ while (reader.pos < end) {
260428
+ var start = reader.pos;
260429
+ var tag = reader.tag();
260430
+ if (tag === _end) {
260431
+ _end = undefined;
260432
+ break;
260433
+ }
260434
+ var wireType = tag & 7;
260435
+ switch (tag >>>= 3) {
260436
+ case 1: {
260437
+ if (wireType !== 0)
260438
+ break;
260439
+ if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0)
260440
+ message.timestamp = value;
260441
+ else
260442
+ delete message.timestamp;
260443
+ continue;
260444
+ }
260445
+ case 2: {
260446
+ if (wireType !== 2)
260447
+ break;
260448
+ if ((value = reader.string()).length)
260449
+ message.noteId = value;
260450
+ else
260451
+ delete message.noteId;
260452
+ continue;
260453
+ }
260454
+ case 3: {
260455
+ if (wireType !== 2)
260456
+ break;
260457
+ if ((value = reader.string()).length)
260458
+ message.hsUserId = value;
260459
+ else
260460
+ delete message.hsUserId;
260461
+ continue;
260462
+ }
260463
+ case 4: {
260464
+ if (wireType !== 2)
260465
+ break;
260466
+ if ((value = reader.string()).length)
260467
+ message.s3Path = value;
260468
+ else
260469
+ delete message.s3Path;
260470
+ continue;
260471
+ }
260472
+ }
260473
+ reader.skipType(wireType, _depth, tag);
260474
+ $util.makeProp(message, "$unknowns", false);
260475
+ (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos));
260476
+ }
260477
+ if (_end !== undefined)
260478
+ throw Error("missing end group");
260479
+ return message;
260480
+ };
260481
+
260482
+ /**
260483
+ * Decodes a GingerClinicalNoteExported message from the specified reader or buffer, length delimited.
260484
+ * @function decodeDelimited
260485
+ * @memberof GingerClinicalNoteExported
260486
+ * @static
260487
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
260488
+ * @returns {GingerClinicalNoteExported & GingerClinicalNoteExported.$Shape} GingerClinicalNoteExported
260489
+ * @throws {Error} If the payload is not a reader or valid buffer
260490
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
260491
+ */
260492
+ GingerClinicalNoteExported.decodeDelimited = function decodeDelimited(reader) {
260493
+ if (!(reader instanceof $Reader))
260494
+ reader = new $Reader(reader);
260495
+ return this.decode(reader, reader.uint32());
260496
+ };
260497
+
260498
+ /**
260499
+ * Verifies a GingerClinicalNoteExported message.
260500
+ * @function verify
260501
+ * @memberof GingerClinicalNoteExported
260502
+ * @static
260503
+ * @param {Object.<string,*>} message Plain object to verify
260504
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
260505
+ */
260506
+ GingerClinicalNoteExported.verify = function verify(message, _depth) {
260507
+ if (typeof message !== "object" || message === null)
260508
+ return "object expected";
260509
+ if (_depth === undefined)
260510
+ _depth = 0;
260511
+ if (_depth > $util.recursionLimit)
260512
+ return "max depth exceeded";
260513
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
260514
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
260515
+ return "timestamp: integer|Long expected";
260516
+ if (message.noteId != null && message.hasOwnProperty("noteId"))
260517
+ if (!$util.isString(message.noteId))
260518
+ return "noteId: string expected";
260519
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
260520
+ if (!$util.isString(message.hsUserId))
260521
+ return "hsUserId: string expected";
260522
+ if (message.s3Path != null && message.hasOwnProperty("s3Path"))
260523
+ if (!$util.isString(message.s3Path))
260524
+ return "s3Path: string expected";
260525
+ return null;
260526
+ };
260527
+
260528
+ /**
260529
+ * Creates a GingerClinicalNoteExported message from a plain object. Also converts values to their respective internal types.
260530
+ * @function fromObject
260531
+ * @memberof GingerClinicalNoteExported
260532
+ * @static
260533
+ * @param {Object.<string,*>} object Plain object
260534
+ * @returns {GingerClinicalNoteExported} GingerClinicalNoteExported
260535
+ */
260536
+ GingerClinicalNoteExported.fromObject = function fromObject(object, _depth) {
260537
+ if (object instanceof $root.GingerClinicalNoteExported)
260538
+ return object;
260539
+ if (_depth === undefined)
260540
+ _depth = 0;
260541
+ if (_depth > $util.recursionLimit)
260542
+ throw Error("max depth exceeded");
260543
+ var message = new $root.GingerClinicalNoteExported();
260544
+ if (object.timestamp != null)
260545
+ if (typeof object.timestamp === "object" ? object.timestamp.low || object.timestamp.high : Number(object.timestamp) !== 0)
260546
+ if ($util.Long)
260547
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
260548
+ else if (typeof object.timestamp === "string")
260549
+ message.timestamp = parseInt(object.timestamp, 10);
260550
+ else if (typeof object.timestamp === "number")
260551
+ message.timestamp = object.timestamp;
260552
+ else if (typeof object.timestamp === "object")
260553
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
260554
+ if (object.noteId != null)
260555
+ if (typeof object.noteId !== "string" || object.noteId.length)
260556
+ message.noteId = String(object.noteId);
260557
+ if (object.hsUserId != null)
260558
+ if (typeof object.hsUserId !== "string" || object.hsUserId.length)
260559
+ message.hsUserId = String(object.hsUserId);
260560
+ if (object.s3Path != null)
260561
+ if (typeof object.s3Path !== "string" || object.s3Path.length)
260562
+ message.s3Path = String(object.s3Path);
260563
+ return message;
260564
+ };
260565
+
260566
+ /**
260567
+ * Creates a plain object from a GingerClinicalNoteExported message. Also converts values to other types if specified.
260568
+ * @function toObject
260569
+ * @memberof GingerClinicalNoteExported
260570
+ * @static
260571
+ * @param {GingerClinicalNoteExported} message GingerClinicalNoteExported
260572
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
260573
+ * @returns {Object.<string,*>} Plain object
260574
+ */
260575
+ GingerClinicalNoteExported.toObject = function toObject(message, options) {
260576
+ if (!options)
260577
+ options = {};
260578
+ var object = {};
260579
+ if (options.defaults) {
260580
+ if ($util.Long) {
260581
+ var long = new $util.Long(0, 0, true);
260582
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : typeof BigInt !== "undefined" && options.longs === BigInt ? long.toBigInt() : long;
260583
+ } else
260584
+ object.timestamp = options.longs === String ? "0" : typeof BigInt !== "undefined" && options.longs === BigInt ? BigInt("0") : 0;
260585
+ object.noteId = "";
260586
+ object.hsUserId = "";
260587
+ object.s3Path = "";
260588
+ }
260589
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
260590
+ if (typeof BigInt !== "undefined" && options.longs === BigInt)
260591
+ object.timestamp = typeof message.timestamp === "number" ? BigInt(message.timestamp) : $util.Long.fromBits(message.timestamp.low >>> 0, message.timestamp.high >>> 0, true).toBigInt();
260592
+ else if (typeof message.timestamp === "number")
260593
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
260594
+ else
260595
+ 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;
260596
+ if (message.noteId != null && message.hasOwnProperty("noteId"))
260597
+ object.noteId = message.noteId;
260598
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
260599
+ object.hsUserId = message.hsUserId;
260600
+ if (message.s3Path != null && message.hasOwnProperty("s3Path"))
260601
+ object.s3Path = message.s3Path;
260602
+ return object;
260603
+ };
260604
+
260605
+ /**
260606
+ * Converts this GingerClinicalNoteExported to JSON.
260607
+ * @function toJSON
260608
+ * @memberof GingerClinicalNoteExported
260609
+ * @instance
260610
+ * @returns {Object.<string,*>} JSON object
260611
+ */
260612
+ GingerClinicalNoteExported.prototype.toJSON = function toJSON() {
260613
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
260614
+ };
260615
+
260616
+ /**
260617
+ * Gets the type url for GingerClinicalNoteExported
260618
+ * @function getTypeUrl
260619
+ * @memberof GingerClinicalNoteExported
260620
+ * @static
260621
+ * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
260622
+ * @returns {string} The type url
260623
+ */
260624
+ GingerClinicalNoteExported.getTypeUrl = function getTypeUrl(prefix) {
260625
+ if (prefix === undefined)
260626
+ prefix = "type.googleapis.com";
260627
+ return prefix + "/GingerClinicalNoteExported";
260628
+ };
260629
+
260630
+ return GingerClinicalNoteExported;
260631
+ })();
260632
+
260133
260633
  /**
260134
260634
  * GingerClinicalNoteType enum.
260135
260635
  * @name GingerClinicalNoteType
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.834.0"
19
+ "version": "1.836.0"
20
20
  }