@headspace/protos-events 1.645.0 → 1.647.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +18 -96
  2. package/lib/index.js +66 -224
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -14336,6 +14336,15 @@ export namespace b2b {
14336
14336
 
14337
14337
  /** Organization emailCampaignLogo */
14338
14338
  emailCampaignLogo?: (string|null);
14339
+
14340
+ /** Organization eligibilityCollectiveUuid */
14341
+ eligibilityCollectiveUuid?: (string|null);
14342
+
14343
+ /** Organization hierarchyMappingKey */
14344
+ hierarchyMappingKey?: (string|null);
14345
+
14346
+ /** Organization hierarchyMappingValue */
14347
+ hierarchyMappingValue?: (string|null);
14339
14348
  }
14340
14349
 
14341
14350
  /** Represents an Organization. */
@@ -14419,6 +14428,15 @@ export namespace b2b {
14419
14428
  /** Organization emailCampaignLogo. */
14420
14429
  public emailCampaignLogo: string;
14421
14430
 
14431
+ /** Organization eligibilityCollectiveUuid. */
14432
+ public eligibilityCollectiveUuid: string;
14433
+
14434
+ /** Organization hierarchyMappingKey. */
14435
+ public hierarchyMappingKey: string;
14436
+
14437
+ /** Organization hierarchyMappingValue. */
14438
+ public hierarchyMappingValue: string;
14439
+
14422
14440
  /**
14423
14441
  * Creates a new Organization instance using the specified properties.
14424
14442
  * @param [properties] Properties to set
@@ -67471,102 +67489,6 @@ export enum UserServiceAppClient {
67471
67489
  USER_SERVICE_APP_CLIENT_CROCPIT = 3
67472
67490
  }
67473
67491
 
67474
- /** Properties of a VirginPulseAccountLinked. */
67475
- export interface IVirginPulseAccountLinked {
67476
-
67477
- /** VirginPulseAccountLinked timestamp */
67478
- timestamp?: (number|Long|null);
67479
-
67480
- /** VirginPulseAccountLinked userId */
67481
- userId?: (string|null);
67482
- }
67483
-
67484
- /** Represents a VirginPulseAccountLinked. */
67485
- export class VirginPulseAccountLinked implements IVirginPulseAccountLinked {
67486
-
67487
- /**
67488
- * Constructs a new VirginPulseAccountLinked.
67489
- * @param [properties] Properties to set
67490
- */
67491
- constructor(properties?: IVirginPulseAccountLinked);
67492
-
67493
- /** VirginPulseAccountLinked timestamp. */
67494
- public timestamp: (number|Long);
67495
-
67496
- /** VirginPulseAccountLinked userId. */
67497
- public userId: string;
67498
-
67499
- /**
67500
- * Creates a new VirginPulseAccountLinked instance using the specified properties.
67501
- * @param [properties] Properties to set
67502
- * @returns VirginPulseAccountLinked instance
67503
- */
67504
- public static create(properties?: IVirginPulseAccountLinked): VirginPulseAccountLinked;
67505
-
67506
- /**
67507
- * Encodes the specified VirginPulseAccountLinked message. Does not implicitly {@link VirginPulseAccountLinked.verify|verify} messages.
67508
- * @param message VirginPulseAccountLinked message or plain object to encode
67509
- * @param [writer] Writer to encode to
67510
- * @returns Writer
67511
- */
67512
- public static encode(message: IVirginPulseAccountLinked, writer?: $protobuf.Writer): $protobuf.Writer;
67513
-
67514
- /**
67515
- * Encodes the specified VirginPulseAccountLinked message, length delimited. Does not implicitly {@link VirginPulseAccountLinked.verify|verify} messages.
67516
- * @param message VirginPulseAccountLinked message or plain object to encode
67517
- * @param [writer] Writer to encode to
67518
- * @returns Writer
67519
- */
67520
- public static encodeDelimited(message: IVirginPulseAccountLinked, writer?: $protobuf.Writer): $protobuf.Writer;
67521
-
67522
- /**
67523
- * Decodes a VirginPulseAccountLinked message from the specified reader or buffer.
67524
- * @param reader Reader or buffer to decode from
67525
- * @param [length] Message length if known beforehand
67526
- * @returns VirginPulseAccountLinked
67527
- * @throws {Error} If the payload is not a reader or valid buffer
67528
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
67529
- */
67530
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): VirginPulseAccountLinked;
67531
-
67532
- /**
67533
- * Decodes a VirginPulseAccountLinked message from the specified reader or buffer, length delimited.
67534
- * @param reader Reader or buffer to decode from
67535
- * @returns VirginPulseAccountLinked
67536
- * @throws {Error} If the payload is not a reader or valid buffer
67537
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
67538
- */
67539
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): VirginPulseAccountLinked;
67540
-
67541
- /**
67542
- * Verifies a VirginPulseAccountLinked message.
67543
- * @param message Plain object to verify
67544
- * @returns `null` if valid, otherwise the reason why it is not
67545
- */
67546
- public static verify(message: { [k: string]: any }): (string|null);
67547
-
67548
- /**
67549
- * Creates a VirginPulseAccountLinked message from a plain object. Also converts values to their respective internal types.
67550
- * @param object Plain object
67551
- * @returns VirginPulseAccountLinked
67552
- */
67553
- public static fromObject(object: { [k: string]: any }): VirginPulseAccountLinked;
67554
-
67555
- /**
67556
- * Creates a plain object from a VirginPulseAccountLinked message. Also converts values to other types if specified.
67557
- * @param message VirginPulseAccountLinked
67558
- * @param [options] Conversion options
67559
- * @returns Plain object
67560
- */
67561
- public static toObject(message: VirginPulseAccountLinked, options?: $protobuf.IConversionOptions): { [k: string]: any };
67562
-
67563
- /**
67564
- * Converts this VirginPulseAccountLinked to JSON.
67565
- * @returns JSON object
67566
- */
67567
- public toJSON(): { [k: string]: any };
67568
- }
67569
-
67570
67492
  /** Properties of a CareCoachingInteractionStarted. */
67571
67493
  export interface ICareCoachingInteractionStarted {
67572
67494
 
package/lib/index.js CHANGED
@@ -37778,6 +37778,9 @@ $root.b2b = (function() {
37778
37778
  * @property {boolean|null} [hasEapCoverage] Organization hasEapCoverage
37779
37779
  * @property {number|null} [overlappedCareId] Organization overlappedCareId
37780
37780
  * @property {string|null} [emailCampaignLogo] Organization emailCampaignLogo
37781
+ * @property {string|null} [eligibilityCollectiveUuid] Organization eligibilityCollectiveUuid
37782
+ * @property {string|null} [hierarchyMappingKey] Organization hierarchyMappingKey
37783
+ * @property {string|null} [hierarchyMappingValue] Organization hierarchyMappingValue
37781
37784
  */
37782
37785
 
37783
37786
  /**
@@ -37988,6 +37991,30 @@ $root.b2b = (function() {
37988
37991
  */
37989
37992
  Organization.prototype.emailCampaignLogo = "";
37990
37993
 
37994
+ /**
37995
+ * Organization eligibilityCollectiveUuid.
37996
+ * @member {string} eligibilityCollectiveUuid
37997
+ * @memberof b2b.Organization
37998
+ * @instance
37999
+ */
38000
+ Organization.prototype.eligibilityCollectiveUuid = "";
38001
+
38002
+ /**
38003
+ * Organization hierarchyMappingKey.
38004
+ * @member {string} hierarchyMappingKey
38005
+ * @memberof b2b.Organization
38006
+ * @instance
38007
+ */
38008
+ Organization.prototype.hierarchyMappingKey = "";
38009
+
38010
+ /**
38011
+ * Organization hierarchyMappingValue.
38012
+ * @member {string} hierarchyMappingValue
38013
+ * @memberof b2b.Organization
38014
+ * @instance
38015
+ */
38016
+ Organization.prototype.hierarchyMappingValue = "";
38017
+
37991
38018
  /**
37992
38019
  * Creates a new Organization instance using the specified properties.
37993
38020
  * @function create
@@ -38064,6 +38091,12 @@ $root.b2b = (function() {
38064
38091
  writer.uint32(/* id 23, wireType 0 =*/184).uint32(message.overlappedCareId);
38065
38092
  if (message.emailCampaignLogo != null && message.hasOwnProperty("emailCampaignLogo"))
38066
38093
  writer.uint32(/* id 25, wireType 2 =*/202).string(message.emailCampaignLogo);
38094
+ if (message.eligibilityCollectiveUuid != null && message.hasOwnProperty("eligibilityCollectiveUuid"))
38095
+ writer.uint32(/* id 26, wireType 2 =*/210).string(message.eligibilityCollectiveUuid);
38096
+ if (message.hierarchyMappingKey != null && message.hasOwnProperty("hierarchyMappingKey"))
38097
+ writer.uint32(/* id 27, wireType 2 =*/218).string(message.hierarchyMappingKey);
38098
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
38099
+ writer.uint32(/* id 28, wireType 2 =*/226).string(message.hierarchyMappingValue);
38067
38100
  return writer;
38068
38101
  };
38069
38102
 
@@ -38177,6 +38210,15 @@ $root.b2b = (function() {
38177
38210
  case 25:
38178
38211
  message.emailCampaignLogo = reader.string();
38179
38212
  break;
38213
+ case 26:
38214
+ message.eligibilityCollectiveUuid = reader.string();
38215
+ break;
38216
+ case 27:
38217
+ message.hierarchyMappingKey = reader.string();
38218
+ break;
38219
+ case 28:
38220
+ message.hierarchyMappingValue = reader.string();
38221
+ break;
38180
38222
  default:
38181
38223
  reader.skipType(tag & 7);
38182
38224
  break;
@@ -38319,6 +38361,15 @@ $root.b2b = (function() {
38319
38361
  if (message.emailCampaignLogo != null && message.hasOwnProperty("emailCampaignLogo"))
38320
38362
  if (!$util.isString(message.emailCampaignLogo))
38321
38363
  return "emailCampaignLogo: string expected";
38364
+ if (message.eligibilityCollectiveUuid != null && message.hasOwnProperty("eligibilityCollectiveUuid"))
38365
+ if (!$util.isString(message.eligibilityCollectiveUuid))
38366
+ return "eligibilityCollectiveUuid: string expected";
38367
+ if (message.hierarchyMappingKey != null && message.hasOwnProperty("hierarchyMappingKey"))
38368
+ if (!$util.isString(message.hierarchyMappingKey))
38369
+ return "hierarchyMappingKey: string expected";
38370
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
38371
+ if (!$util.isString(message.hierarchyMappingValue))
38372
+ return "hierarchyMappingValue: string expected";
38322
38373
  return null;
38323
38374
  };
38324
38375
 
@@ -38477,6 +38528,12 @@ $root.b2b = (function() {
38477
38528
  message.overlappedCareId = object.overlappedCareId >>> 0;
38478
38529
  if (object.emailCampaignLogo != null)
38479
38530
  message.emailCampaignLogo = String(object.emailCampaignLogo);
38531
+ if (object.eligibilityCollectiveUuid != null)
38532
+ message.eligibilityCollectiveUuid = String(object.eligibilityCollectiveUuid);
38533
+ if (object.hierarchyMappingKey != null)
38534
+ message.hierarchyMappingKey = String(object.hierarchyMappingKey);
38535
+ if (object.hierarchyMappingValue != null)
38536
+ message.hierarchyMappingValue = String(object.hierarchyMappingValue);
38480
38537
  return message;
38481
38538
  };
38482
38539
 
@@ -38519,6 +38576,9 @@ $root.b2b = (function() {
38519
38576
  object.hasEapCoverage = false;
38520
38577
  object.overlappedCareId = 0;
38521
38578
  object.emailCampaignLogo = "";
38579
+ object.eligibilityCollectiveUuid = "";
38580
+ object.hierarchyMappingKey = "";
38581
+ object.hierarchyMappingValue = "";
38522
38582
  }
38523
38583
  if (message.orgId != null && message.hasOwnProperty("orgId"))
38524
38584
  object.orgId = message.orgId;
@@ -38571,6 +38631,12 @@ $root.b2b = (function() {
38571
38631
  object.overlappedCareId = message.overlappedCareId;
38572
38632
  if (message.emailCampaignLogo != null && message.hasOwnProperty("emailCampaignLogo"))
38573
38633
  object.emailCampaignLogo = message.emailCampaignLogo;
38634
+ if (message.eligibilityCollectiveUuid != null && message.hasOwnProperty("eligibilityCollectiveUuid"))
38635
+ object.eligibilityCollectiveUuid = message.eligibilityCollectiveUuid;
38636
+ if (message.hierarchyMappingKey != null && message.hasOwnProperty("hierarchyMappingKey"))
38637
+ object.hierarchyMappingKey = message.hierarchyMappingKey;
38638
+ if (message.hierarchyMappingValue != null && message.hasOwnProperty("hierarchyMappingValue"))
38639
+ object.hierarchyMappingValue = message.hierarchyMappingValue;
38574
38640
  return object;
38575
38641
  };
38576
38642
 
@@ -190087,230 +190153,6 @@ $root.UserServiceAppClient = (function() {
190087
190153
  return values;
190088
190154
  })();
190089
190155
 
190090
- $root.VirginPulseAccountLinked = (function() {
190091
-
190092
- /**
190093
- * Properties of a VirginPulseAccountLinked.
190094
- * @name IVirginPulseAccountLinked
190095
- * @interface IVirginPulseAccountLinked
190096
- * @property {number|Long|null} [timestamp] VirginPulseAccountLinked timestamp
190097
- * @property {string|null} [userId] VirginPulseAccountLinked userId
190098
- */
190099
-
190100
- /**
190101
- * Constructs a new VirginPulseAccountLinked.
190102
- * @name VirginPulseAccountLinked
190103
- * @classdesc Represents a VirginPulseAccountLinked.
190104
- * @implements IVirginPulseAccountLinked
190105
- * @constructor
190106
- * @param {IVirginPulseAccountLinked=} [properties] Properties to set
190107
- */
190108
- function VirginPulseAccountLinked(properties) {
190109
- if (properties)
190110
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
190111
- if (properties[keys[i]] != null)
190112
- this[keys[i]] = properties[keys[i]];
190113
- }
190114
-
190115
- /**
190116
- * VirginPulseAccountLinked timestamp.
190117
- * @member {number|Long} timestamp
190118
- * @memberof VirginPulseAccountLinked
190119
- * @instance
190120
- */
190121
- VirginPulseAccountLinked.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
190122
-
190123
- /**
190124
- * VirginPulseAccountLinked userId.
190125
- * @member {string} userId
190126
- * @memberof VirginPulseAccountLinked
190127
- * @instance
190128
- */
190129
- VirginPulseAccountLinked.prototype.userId = "";
190130
-
190131
- /**
190132
- * Creates a new VirginPulseAccountLinked instance using the specified properties.
190133
- * @function create
190134
- * @memberof VirginPulseAccountLinked
190135
- * @static
190136
- * @param {IVirginPulseAccountLinked=} [properties] Properties to set
190137
- * @returns {VirginPulseAccountLinked} VirginPulseAccountLinked instance
190138
- */
190139
- VirginPulseAccountLinked.create = function create(properties) {
190140
- return new VirginPulseAccountLinked(properties);
190141
- };
190142
-
190143
- /**
190144
- * Encodes the specified VirginPulseAccountLinked message. Does not implicitly {@link VirginPulseAccountLinked.verify|verify} messages.
190145
- * @function encode
190146
- * @memberof VirginPulseAccountLinked
190147
- * @static
190148
- * @param {IVirginPulseAccountLinked} message VirginPulseAccountLinked message or plain object to encode
190149
- * @param {$protobuf.Writer} [writer] Writer to encode to
190150
- * @returns {$protobuf.Writer} Writer
190151
- */
190152
- VirginPulseAccountLinked.encode = function encode(message, writer) {
190153
- if (!writer)
190154
- writer = $Writer.create();
190155
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
190156
- writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.timestamp);
190157
- if (message.userId != null && message.hasOwnProperty("userId"))
190158
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.userId);
190159
- return writer;
190160
- };
190161
-
190162
- /**
190163
- * Encodes the specified VirginPulseAccountLinked message, length delimited. Does not implicitly {@link VirginPulseAccountLinked.verify|verify} messages.
190164
- * @function encodeDelimited
190165
- * @memberof VirginPulseAccountLinked
190166
- * @static
190167
- * @param {IVirginPulseAccountLinked} message VirginPulseAccountLinked message or plain object to encode
190168
- * @param {$protobuf.Writer} [writer] Writer to encode to
190169
- * @returns {$protobuf.Writer} Writer
190170
- */
190171
- VirginPulseAccountLinked.encodeDelimited = function encodeDelimited(message, writer) {
190172
- return this.encode(message, writer).ldelim();
190173
- };
190174
-
190175
- /**
190176
- * Decodes a VirginPulseAccountLinked message from the specified reader or buffer.
190177
- * @function decode
190178
- * @memberof VirginPulseAccountLinked
190179
- * @static
190180
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
190181
- * @param {number} [length] Message length if known beforehand
190182
- * @returns {VirginPulseAccountLinked} VirginPulseAccountLinked
190183
- * @throws {Error} If the payload is not a reader or valid buffer
190184
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
190185
- */
190186
- VirginPulseAccountLinked.decode = function decode(reader, length) {
190187
- if (!(reader instanceof $Reader))
190188
- reader = $Reader.create(reader);
190189
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.VirginPulseAccountLinked();
190190
- while (reader.pos < end) {
190191
- var tag = reader.uint32();
190192
- switch (tag >>> 3) {
190193
- case 1:
190194
- message.timestamp = reader.uint64();
190195
- break;
190196
- case 2:
190197
- message.userId = reader.string();
190198
- break;
190199
- default:
190200
- reader.skipType(tag & 7);
190201
- break;
190202
- }
190203
- }
190204
- return message;
190205
- };
190206
-
190207
- /**
190208
- * Decodes a VirginPulseAccountLinked message from the specified reader or buffer, length delimited.
190209
- * @function decodeDelimited
190210
- * @memberof VirginPulseAccountLinked
190211
- * @static
190212
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
190213
- * @returns {VirginPulseAccountLinked} VirginPulseAccountLinked
190214
- * @throws {Error} If the payload is not a reader or valid buffer
190215
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
190216
- */
190217
- VirginPulseAccountLinked.decodeDelimited = function decodeDelimited(reader) {
190218
- if (!(reader instanceof $Reader))
190219
- reader = new $Reader(reader);
190220
- return this.decode(reader, reader.uint32());
190221
- };
190222
-
190223
- /**
190224
- * Verifies a VirginPulseAccountLinked message.
190225
- * @function verify
190226
- * @memberof VirginPulseAccountLinked
190227
- * @static
190228
- * @param {Object.<string,*>} message Plain object to verify
190229
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
190230
- */
190231
- VirginPulseAccountLinked.verify = function verify(message) {
190232
- if (typeof message !== "object" || message === null)
190233
- return "object expected";
190234
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
190235
- if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
190236
- return "timestamp: integer|Long expected";
190237
- if (message.userId != null && message.hasOwnProperty("userId"))
190238
- if (!$util.isString(message.userId))
190239
- return "userId: string expected";
190240
- return null;
190241
- };
190242
-
190243
- /**
190244
- * Creates a VirginPulseAccountLinked message from a plain object. Also converts values to their respective internal types.
190245
- * @function fromObject
190246
- * @memberof VirginPulseAccountLinked
190247
- * @static
190248
- * @param {Object.<string,*>} object Plain object
190249
- * @returns {VirginPulseAccountLinked} VirginPulseAccountLinked
190250
- */
190251
- VirginPulseAccountLinked.fromObject = function fromObject(object) {
190252
- if (object instanceof $root.VirginPulseAccountLinked)
190253
- return object;
190254
- var message = new $root.VirginPulseAccountLinked();
190255
- if (object.timestamp != null)
190256
- if ($util.Long)
190257
- (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
190258
- else if (typeof object.timestamp === "string")
190259
- message.timestamp = parseInt(object.timestamp, 10);
190260
- else if (typeof object.timestamp === "number")
190261
- message.timestamp = object.timestamp;
190262
- else if (typeof object.timestamp === "object")
190263
- message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
190264
- if (object.userId != null)
190265
- message.userId = String(object.userId);
190266
- return message;
190267
- };
190268
-
190269
- /**
190270
- * Creates a plain object from a VirginPulseAccountLinked message. Also converts values to other types if specified.
190271
- * @function toObject
190272
- * @memberof VirginPulseAccountLinked
190273
- * @static
190274
- * @param {VirginPulseAccountLinked} message VirginPulseAccountLinked
190275
- * @param {$protobuf.IConversionOptions} [options] Conversion options
190276
- * @returns {Object.<string,*>} Plain object
190277
- */
190278
- VirginPulseAccountLinked.toObject = function toObject(message, options) {
190279
- if (!options)
190280
- options = {};
190281
- var object = {};
190282
- if (options.defaults) {
190283
- if ($util.Long) {
190284
- var long = new $util.Long(0, 0, true);
190285
- object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
190286
- } else
190287
- object.timestamp = options.longs === String ? "0" : 0;
190288
- object.userId = "";
190289
- }
190290
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
190291
- if (typeof message.timestamp === "number")
190292
- object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
190293
- else
190294
- 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;
190295
- if (message.userId != null && message.hasOwnProperty("userId"))
190296
- object.userId = message.userId;
190297
- return object;
190298
- };
190299
-
190300
- /**
190301
- * Converts this VirginPulseAccountLinked to JSON.
190302
- * @function toJSON
190303
- * @memberof VirginPulseAccountLinked
190304
- * @instance
190305
- * @returns {Object.<string,*>} JSON object
190306
- */
190307
- VirginPulseAccountLinked.prototype.toJSON = function toJSON() {
190308
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
190309
- };
190310
-
190311
- return VirginPulseAccountLinked;
190312
- })();
190313
-
190314
190156
  $root.CareCoachingInteractionStarted = (function() {
190315
190157
 
190316
190158
  /**
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.645.0"
19
+ "version": "1.647.0"
20
20
  }