@headspace/protos-events 1.645.0 → 1.646.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
@@ -67471,102 +67471,6 @@ export enum UserServiceAppClient {
67471
67471
  USER_SERVICE_APP_CLIENT_CROCPIT = 3
67472
67472
  }
67473
67473
 
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
67474
  /** Properties of a CareCoachingInteractionStarted. */
67571
67475
  export interface ICareCoachingInteractionStarted {
67572
67476
 
package/lib/index.js CHANGED
@@ -190087,230 +190087,6 @@ $root.UserServiceAppClient = (function() {
190087
190087
  return values;
190088
190088
  })();
190089
190089
 
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
190090
  $root.CareCoachingInteractionStarted = (function() {
190315
190091
 
190316
190092
  /**
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.646.0"
20
20
  }