@headspace/protos-events 1.686.0 → 1.688.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 +144 -138
  2. package/lib/index.js +400 -378
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -26161,144 +26161,6 @@ export class RecommendationMindsetUpdated implements IRecommendationMindsetUpdat
26161
26161
  public toJSON(): { [k: string]: any };
26162
26162
  }
26163
26163
 
26164
- /** Properties of a GingerTherapySchedulerStatusUpdated. */
26165
- export interface IGingerTherapySchedulerStatusUpdated {
26166
-
26167
- /** GingerTherapySchedulerStatusUpdated hsUserId */
26168
- hsUserId?: (string|null);
26169
-
26170
- /** GingerTherapySchedulerStatusUpdated status */
26171
- status?: (string|null);
26172
-
26173
- /** GingerTherapySchedulerStatusUpdated approverGingerId */
26174
- approverGingerId?: (string|null);
26175
-
26176
- /** GingerTherapySchedulerStatusUpdated source */
26177
- source?: (string|null);
26178
-
26179
- /** GingerTherapySchedulerStatusUpdated notes */
26180
- notes?: (string|null);
26181
-
26182
- /** GingerTherapySchedulerStatusUpdated reason */
26183
- reason?: (string|null);
26184
-
26185
- /** GingerTherapySchedulerStatusUpdated shouldAddCreditCard */
26186
- shouldAddCreditCard?: (boolean|null);
26187
-
26188
- /** GingerTherapySchedulerStatusUpdated previousStatus */
26189
- previousStatus?: (string|null);
26190
-
26191
- /** GingerTherapySchedulerStatusUpdated timestamp */
26192
- timestamp?: (number|Long|null);
26193
- }
26194
-
26195
- /** Represents a GingerTherapySchedulerStatusUpdated. */
26196
- export class GingerTherapySchedulerStatusUpdated implements IGingerTherapySchedulerStatusUpdated {
26197
-
26198
- /**
26199
- * Constructs a new GingerTherapySchedulerStatusUpdated.
26200
- * @param [properties] Properties to set
26201
- */
26202
- constructor(properties?: IGingerTherapySchedulerStatusUpdated);
26203
-
26204
- /** GingerTherapySchedulerStatusUpdated hsUserId. */
26205
- public hsUserId: string;
26206
-
26207
- /** GingerTherapySchedulerStatusUpdated status. */
26208
- public status: string;
26209
-
26210
- /** GingerTherapySchedulerStatusUpdated approverGingerId. */
26211
- public approverGingerId: string;
26212
-
26213
- /** GingerTherapySchedulerStatusUpdated source. */
26214
- public source: string;
26215
-
26216
- /** GingerTherapySchedulerStatusUpdated notes. */
26217
- public notes: string;
26218
-
26219
- /** GingerTherapySchedulerStatusUpdated reason. */
26220
- public reason: string;
26221
-
26222
- /** GingerTherapySchedulerStatusUpdated shouldAddCreditCard. */
26223
- public shouldAddCreditCard: boolean;
26224
-
26225
- /** GingerTherapySchedulerStatusUpdated previousStatus. */
26226
- public previousStatus: string;
26227
-
26228
- /** GingerTherapySchedulerStatusUpdated timestamp. */
26229
- public timestamp: (number|Long);
26230
-
26231
- /**
26232
- * Creates a new GingerTherapySchedulerStatusUpdated instance using the specified properties.
26233
- * @param [properties] Properties to set
26234
- * @returns GingerTherapySchedulerStatusUpdated instance
26235
- */
26236
- public static create(properties?: IGingerTherapySchedulerStatusUpdated): GingerTherapySchedulerStatusUpdated;
26237
-
26238
- /**
26239
- * Encodes the specified GingerTherapySchedulerStatusUpdated message. Does not implicitly {@link GingerTherapySchedulerStatusUpdated.verify|verify} messages.
26240
- * @param message GingerTherapySchedulerStatusUpdated message or plain object to encode
26241
- * @param [writer] Writer to encode to
26242
- * @returns Writer
26243
- */
26244
- public static encode(message: IGingerTherapySchedulerStatusUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
26245
-
26246
- /**
26247
- * Encodes the specified GingerTherapySchedulerStatusUpdated message, length delimited. Does not implicitly {@link GingerTherapySchedulerStatusUpdated.verify|verify} messages.
26248
- * @param message GingerTherapySchedulerStatusUpdated message or plain object to encode
26249
- * @param [writer] Writer to encode to
26250
- * @returns Writer
26251
- */
26252
- public static encodeDelimited(message: IGingerTherapySchedulerStatusUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
26253
-
26254
- /**
26255
- * Decodes a GingerTherapySchedulerStatusUpdated message from the specified reader or buffer.
26256
- * @param reader Reader or buffer to decode from
26257
- * @param [length] Message length if known beforehand
26258
- * @returns GingerTherapySchedulerStatusUpdated
26259
- * @throws {Error} If the payload is not a reader or valid buffer
26260
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26261
- */
26262
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GingerTherapySchedulerStatusUpdated;
26263
-
26264
- /**
26265
- * Decodes a GingerTherapySchedulerStatusUpdated message from the specified reader or buffer, length delimited.
26266
- * @param reader Reader or buffer to decode from
26267
- * @returns GingerTherapySchedulerStatusUpdated
26268
- * @throws {Error} If the payload is not a reader or valid buffer
26269
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
26270
- */
26271
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GingerTherapySchedulerStatusUpdated;
26272
-
26273
- /**
26274
- * Verifies a GingerTherapySchedulerStatusUpdated message.
26275
- * @param message Plain object to verify
26276
- * @returns `null` if valid, otherwise the reason why it is not
26277
- */
26278
- public static verify(message: { [k: string]: any }): (string|null);
26279
-
26280
- /**
26281
- * Creates a GingerTherapySchedulerStatusUpdated message from a plain object. Also converts values to their respective internal types.
26282
- * @param object Plain object
26283
- * @returns GingerTherapySchedulerStatusUpdated
26284
- */
26285
- public static fromObject(object: { [k: string]: any }): GingerTherapySchedulerStatusUpdated;
26286
-
26287
- /**
26288
- * Creates a plain object from a GingerTherapySchedulerStatusUpdated message. Also converts values to other types if specified.
26289
- * @param message GingerTherapySchedulerStatusUpdated
26290
- * @param [options] Conversion options
26291
- * @returns Plain object
26292
- */
26293
- public static toObject(message: GingerTherapySchedulerStatusUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
26294
-
26295
- /**
26296
- * Converts this GingerTherapySchedulerStatusUpdated to JSON.
26297
- * @returns JSON object
26298
- */
26299
- public toJSON(): { [k: string]: any };
26300
- }
26301
-
26302
26164
  /** Properties of a SCIMUserUpdated. */
26303
26165
  export interface ISCIMUserUpdated {
26304
26166
 
@@ -50827,6 +50689,144 @@ export class SubscriptionMemberChurned implements ISubscriptionMemberChurned {
50827
50689
  public toJSON(): { [k: string]: any };
50828
50690
  }
50829
50691
 
50692
+ /** Properties of a GingerTherapySchedulerStatusUpdated. */
50693
+ export interface IGingerTherapySchedulerStatusUpdated {
50694
+
50695
+ /** GingerTherapySchedulerStatusUpdated hsUserId */
50696
+ hsUserId?: (string|null);
50697
+
50698
+ /** GingerTherapySchedulerStatusUpdated status */
50699
+ status?: (string|null);
50700
+
50701
+ /** GingerTherapySchedulerStatusUpdated approverGingerId */
50702
+ approverGingerId?: (string|null);
50703
+
50704
+ /** GingerTherapySchedulerStatusUpdated source */
50705
+ source?: (string|null);
50706
+
50707
+ /** GingerTherapySchedulerStatusUpdated notes */
50708
+ notes?: (string|null);
50709
+
50710
+ /** GingerTherapySchedulerStatusUpdated reason */
50711
+ reason?: (string|null);
50712
+
50713
+ /** GingerTherapySchedulerStatusUpdated shouldAddCreditCard */
50714
+ shouldAddCreditCard?: (boolean|null);
50715
+
50716
+ /** GingerTherapySchedulerStatusUpdated previousStatus */
50717
+ previousStatus?: (string|null);
50718
+
50719
+ /** GingerTherapySchedulerStatusUpdated timestamp */
50720
+ timestamp?: (number|Long|null);
50721
+ }
50722
+
50723
+ /** Represents a GingerTherapySchedulerStatusUpdated. */
50724
+ export class GingerTherapySchedulerStatusUpdated implements IGingerTherapySchedulerStatusUpdated {
50725
+
50726
+ /**
50727
+ * Constructs a new GingerTherapySchedulerStatusUpdated.
50728
+ * @param [properties] Properties to set
50729
+ */
50730
+ constructor(properties?: IGingerTherapySchedulerStatusUpdated);
50731
+
50732
+ /** GingerTherapySchedulerStatusUpdated hsUserId. */
50733
+ public hsUserId: string;
50734
+
50735
+ /** GingerTherapySchedulerStatusUpdated status. */
50736
+ public status: string;
50737
+
50738
+ /** GingerTherapySchedulerStatusUpdated approverGingerId. */
50739
+ public approverGingerId: string;
50740
+
50741
+ /** GingerTherapySchedulerStatusUpdated source. */
50742
+ public source: string;
50743
+
50744
+ /** GingerTherapySchedulerStatusUpdated notes. */
50745
+ public notes: string;
50746
+
50747
+ /** GingerTherapySchedulerStatusUpdated reason. */
50748
+ public reason: string;
50749
+
50750
+ /** GingerTherapySchedulerStatusUpdated shouldAddCreditCard. */
50751
+ public shouldAddCreditCard: boolean;
50752
+
50753
+ /** GingerTherapySchedulerStatusUpdated previousStatus. */
50754
+ public previousStatus: string;
50755
+
50756
+ /** GingerTherapySchedulerStatusUpdated timestamp. */
50757
+ public timestamp: (number|Long);
50758
+
50759
+ /**
50760
+ * Creates a new GingerTherapySchedulerStatusUpdated instance using the specified properties.
50761
+ * @param [properties] Properties to set
50762
+ * @returns GingerTherapySchedulerStatusUpdated instance
50763
+ */
50764
+ public static create(properties?: IGingerTherapySchedulerStatusUpdated): GingerTherapySchedulerStatusUpdated;
50765
+
50766
+ /**
50767
+ * Encodes the specified GingerTherapySchedulerStatusUpdated message. Does not implicitly {@link GingerTherapySchedulerStatusUpdated.verify|verify} messages.
50768
+ * @param message GingerTherapySchedulerStatusUpdated message or plain object to encode
50769
+ * @param [writer] Writer to encode to
50770
+ * @returns Writer
50771
+ */
50772
+ public static encode(message: IGingerTherapySchedulerStatusUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
50773
+
50774
+ /**
50775
+ * Encodes the specified GingerTherapySchedulerStatusUpdated message, length delimited. Does not implicitly {@link GingerTherapySchedulerStatusUpdated.verify|verify} messages.
50776
+ * @param message GingerTherapySchedulerStatusUpdated message or plain object to encode
50777
+ * @param [writer] Writer to encode to
50778
+ * @returns Writer
50779
+ */
50780
+ public static encodeDelimited(message: IGingerTherapySchedulerStatusUpdated, writer?: $protobuf.Writer): $protobuf.Writer;
50781
+
50782
+ /**
50783
+ * Decodes a GingerTherapySchedulerStatusUpdated message from the specified reader or buffer.
50784
+ * @param reader Reader or buffer to decode from
50785
+ * @param [length] Message length if known beforehand
50786
+ * @returns GingerTherapySchedulerStatusUpdated
50787
+ * @throws {Error} If the payload is not a reader or valid buffer
50788
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
50789
+ */
50790
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): GingerTherapySchedulerStatusUpdated;
50791
+
50792
+ /**
50793
+ * Decodes a GingerTherapySchedulerStatusUpdated message from the specified reader or buffer, length delimited.
50794
+ * @param reader Reader or buffer to decode from
50795
+ * @returns GingerTherapySchedulerStatusUpdated
50796
+ * @throws {Error} If the payload is not a reader or valid buffer
50797
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
50798
+ */
50799
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): GingerTherapySchedulerStatusUpdated;
50800
+
50801
+ /**
50802
+ * Verifies a GingerTherapySchedulerStatusUpdated message.
50803
+ * @param message Plain object to verify
50804
+ * @returns `null` if valid, otherwise the reason why it is not
50805
+ */
50806
+ public static verify(message: { [k: string]: any }): (string|null);
50807
+
50808
+ /**
50809
+ * Creates a GingerTherapySchedulerStatusUpdated message from a plain object. Also converts values to their respective internal types.
50810
+ * @param object Plain object
50811
+ * @returns GingerTherapySchedulerStatusUpdated
50812
+ */
50813
+ public static fromObject(object: { [k: string]: any }): GingerTherapySchedulerStatusUpdated;
50814
+
50815
+ /**
50816
+ * Creates a plain object from a GingerTherapySchedulerStatusUpdated message. Also converts values to other types if specified.
50817
+ * @param message GingerTherapySchedulerStatusUpdated
50818
+ * @param [options] Conversion options
50819
+ * @returns Plain object
50820
+ */
50821
+ public static toObject(message: GingerTherapySchedulerStatusUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
50822
+
50823
+ /**
50824
+ * Converts this GingerTherapySchedulerStatusUpdated to JSON.
50825
+ * @returns JSON object
50826
+ */
50827
+ public toJSON(): { [k: string]: any };
50828
+ }
50829
+
50830
50830
  /** Properties of a UserDoubleOptInEmailRequested. */
50831
50831
  export interface IUserDoubleOptInEmailRequested {
50832
50832
 
@@ -56232,6 +56232,9 @@ export namespace clinical {
56232
56232
  * TODO: Only two values expected here, one in Okta and one in web
56233
56233
  */
56234
56234
  oktaIds?: (clinical.IAppUser[]|null);
56235
+
56236
+ /** Indicates whether automatic recording is enabled for this clinician's sessions */
56237
+ isAutoRecordEnabled?: (boolean|null);
56235
56238
  }
56236
56239
 
56237
56240
  /** Represents a Clinician. */
@@ -56306,6 +56309,9 @@ export namespace clinical {
56306
56309
  */
56307
56310
  public oktaIds: clinical.IAppUser[];
56308
56311
 
56312
+ /** Indicates whether automatic recording is enabled for this clinician's sessions */
56313
+ public isAutoRecordEnabled: boolean;
56314
+
56309
56315
  /**
56310
56316
  * Creates a new Clinician instance using the specified properties.
56311
56317
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -74367,384 +74367,6 @@ $root.RecommendationMindsetUpdated = (function() {
74367
74367
  return RecommendationMindsetUpdated;
74368
74368
  })();
74369
74369
 
74370
- $root.GingerTherapySchedulerStatusUpdated = (function() {
74371
-
74372
- /**
74373
- * Properties of a GingerTherapySchedulerStatusUpdated.
74374
- * @name IGingerTherapySchedulerStatusUpdated
74375
- * @interface IGingerTherapySchedulerStatusUpdated
74376
- * @property {string|null} [hsUserId] GingerTherapySchedulerStatusUpdated hsUserId
74377
- * @property {string|null} [status] GingerTherapySchedulerStatusUpdated status
74378
- * @property {string|null} [approverGingerId] GingerTherapySchedulerStatusUpdated approverGingerId
74379
- * @property {string|null} [source] GingerTherapySchedulerStatusUpdated source
74380
- * @property {string|null} [notes] GingerTherapySchedulerStatusUpdated notes
74381
- * @property {string|null} [reason] GingerTherapySchedulerStatusUpdated reason
74382
- * @property {boolean|null} [shouldAddCreditCard] GingerTherapySchedulerStatusUpdated shouldAddCreditCard
74383
- * @property {string|null} [previousStatus] GingerTherapySchedulerStatusUpdated previousStatus
74384
- * @property {number|Long|null} [timestamp] GingerTherapySchedulerStatusUpdated timestamp
74385
- */
74386
-
74387
- /**
74388
- * Constructs a new GingerTherapySchedulerStatusUpdated.
74389
- * @name GingerTherapySchedulerStatusUpdated
74390
- * @classdesc Represents a GingerTherapySchedulerStatusUpdated.
74391
- * @implements IGingerTherapySchedulerStatusUpdated
74392
- * @constructor
74393
- * @param {IGingerTherapySchedulerStatusUpdated=} [properties] Properties to set
74394
- */
74395
- function GingerTherapySchedulerStatusUpdated(properties) {
74396
- if (properties)
74397
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
74398
- if (properties[keys[i]] != null)
74399
- this[keys[i]] = properties[keys[i]];
74400
- }
74401
-
74402
- /**
74403
- * GingerTherapySchedulerStatusUpdated hsUserId.
74404
- * @member {string} hsUserId
74405
- * @memberof GingerTherapySchedulerStatusUpdated
74406
- * @instance
74407
- */
74408
- GingerTherapySchedulerStatusUpdated.prototype.hsUserId = "";
74409
-
74410
- /**
74411
- * GingerTherapySchedulerStatusUpdated status.
74412
- * @member {string} status
74413
- * @memberof GingerTherapySchedulerStatusUpdated
74414
- * @instance
74415
- */
74416
- GingerTherapySchedulerStatusUpdated.prototype.status = "";
74417
-
74418
- /**
74419
- * GingerTherapySchedulerStatusUpdated approverGingerId.
74420
- * @member {string} approverGingerId
74421
- * @memberof GingerTherapySchedulerStatusUpdated
74422
- * @instance
74423
- */
74424
- GingerTherapySchedulerStatusUpdated.prototype.approverGingerId = "";
74425
-
74426
- /**
74427
- * GingerTherapySchedulerStatusUpdated source.
74428
- * @member {string} source
74429
- * @memberof GingerTherapySchedulerStatusUpdated
74430
- * @instance
74431
- */
74432
- GingerTherapySchedulerStatusUpdated.prototype.source = "";
74433
-
74434
- /**
74435
- * GingerTherapySchedulerStatusUpdated notes.
74436
- * @member {string} notes
74437
- * @memberof GingerTherapySchedulerStatusUpdated
74438
- * @instance
74439
- */
74440
- GingerTherapySchedulerStatusUpdated.prototype.notes = "";
74441
-
74442
- /**
74443
- * GingerTherapySchedulerStatusUpdated reason.
74444
- * @member {string} reason
74445
- * @memberof GingerTherapySchedulerStatusUpdated
74446
- * @instance
74447
- */
74448
- GingerTherapySchedulerStatusUpdated.prototype.reason = "";
74449
-
74450
- /**
74451
- * GingerTherapySchedulerStatusUpdated shouldAddCreditCard.
74452
- * @member {boolean} shouldAddCreditCard
74453
- * @memberof GingerTherapySchedulerStatusUpdated
74454
- * @instance
74455
- */
74456
- GingerTherapySchedulerStatusUpdated.prototype.shouldAddCreditCard = false;
74457
-
74458
- /**
74459
- * GingerTherapySchedulerStatusUpdated previousStatus.
74460
- * @member {string} previousStatus
74461
- * @memberof GingerTherapySchedulerStatusUpdated
74462
- * @instance
74463
- */
74464
- GingerTherapySchedulerStatusUpdated.prototype.previousStatus = "";
74465
-
74466
- /**
74467
- * GingerTherapySchedulerStatusUpdated timestamp.
74468
- * @member {number|Long} timestamp
74469
- * @memberof GingerTherapySchedulerStatusUpdated
74470
- * @instance
74471
- */
74472
- GingerTherapySchedulerStatusUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
74473
-
74474
- /**
74475
- * Creates a new GingerTherapySchedulerStatusUpdated instance using the specified properties.
74476
- * @function create
74477
- * @memberof GingerTherapySchedulerStatusUpdated
74478
- * @static
74479
- * @param {IGingerTherapySchedulerStatusUpdated=} [properties] Properties to set
74480
- * @returns {GingerTherapySchedulerStatusUpdated} GingerTherapySchedulerStatusUpdated instance
74481
- */
74482
- GingerTherapySchedulerStatusUpdated.create = function create(properties) {
74483
- return new GingerTherapySchedulerStatusUpdated(properties);
74484
- };
74485
-
74486
- /**
74487
- * Encodes the specified GingerTherapySchedulerStatusUpdated message. Does not implicitly {@link GingerTherapySchedulerStatusUpdated.verify|verify} messages.
74488
- * @function encode
74489
- * @memberof GingerTherapySchedulerStatusUpdated
74490
- * @static
74491
- * @param {IGingerTherapySchedulerStatusUpdated} message GingerTherapySchedulerStatusUpdated message or plain object to encode
74492
- * @param {$protobuf.Writer} [writer] Writer to encode to
74493
- * @returns {$protobuf.Writer} Writer
74494
- */
74495
- GingerTherapySchedulerStatusUpdated.encode = function encode(message, writer) {
74496
- if (!writer)
74497
- writer = $Writer.create();
74498
- if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
74499
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
74500
- if (message.status != null && message.hasOwnProperty("status"))
74501
- writer.uint32(/* id 2, wireType 2 =*/18).string(message.status);
74502
- if (message.approverGingerId != null && message.hasOwnProperty("approverGingerId"))
74503
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.approverGingerId);
74504
- if (message.source != null && message.hasOwnProperty("source"))
74505
- writer.uint32(/* id 4, wireType 2 =*/34).string(message.source);
74506
- if (message.notes != null && message.hasOwnProperty("notes"))
74507
- writer.uint32(/* id 5, wireType 2 =*/42).string(message.notes);
74508
- if (message.reason != null && message.hasOwnProperty("reason"))
74509
- writer.uint32(/* id 6, wireType 2 =*/50).string(message.reason);
74510
- if (message.shouldAddCreditCard != null && message.hasOwnProperty("shouldAddCreditCard"))
74511
- writer.uint32(/* id 7, wireType 0 =*/56).bool(message.shouldAddCreditCard);
74512
- if (message.previousStatus != null && message.hasOwnProperty("previousStatus"))
74513
- writer.uint32(/* id 8, wireType 2 =*/66).string(message.previousStatus);
74514
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
74515
- writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.timestamp);
74516
- return writer;
74517
- };
74518
-
74519
- /**
74520
- * Encodes the specified GingerTherapySchedulerStatusUpdated message, length delimited. Does not implicitly {@link GingerTherapySchedulerStatusUpdated.verify|verify} messages.
74521
- * @function encodeDelimited
74522
- * @memberof GingerTherapySchedulerStatusUpdated
74523
- * @static
74524
- * @param {IGingerTherapySchedulerStatusUpdated} message GingerTherapySchedulerStatusUpdated message or plain object to encode
74525
- * @param {$protobuf.Writer} [writer] Writer to encode to
74526
- * @returns {$protobuf.Writer} Writer
74527
- */
74528
- GingerTherapySchedulerStatusUpdated.encodeDelimited = function encodeDelimited(message, writer) {
74529
- return this.encode(message, writer).ldelim();
74530
- };
74531
-
74532
- /**
74533
- * Decodes a GingerTherapySchedulerStatusUpdated message from the specified reader or buffer.
74534
- * @function decode
74535
- * @memberof GingerTherapySchedulerStatusUpdated
74536
- * @static
74537
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
74538
- * @param {number} [length] Message length if known beforehand
74539
- * @returns {GingerTherapySchedulerStatusUpdated} GingerTherapySchedulerStatusUpdated
74540
- * @throws {Error} If the payload is not a reader or valid buffer
74541
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
74542
- */
74543
- GingerTherapySchedulerStatusUpdated.decode = function decode(reader, length) {
74544
- if (!(reader instanceof $Reader))
74545
- reader = $Reader.create(reader);
74546
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GingerTherapySchedulerStatusUpdated();
74547
- while (reader.pos < end) {
74548
- var tag = reader.uint32();
74549
- switch (tag >>> 3) {
74550
- case 1:
74551
- message.hsUserId = reader.string();
74552
- break;
74553
- case 2:
74554
- message.status = reader.string();
74555
- break;
74556
- case 3:
74557
- message.approverGingerId = reader.string();
74558
- break;
74559
- case 4:
74560
- message.source = reader.string();
74561
- break;
74562
- case 5:
74563
- message.notes = reader.string();
74564
- break;
74565
- case 6:
74566
- message.reason = reader.string();
74567
- break;
74568
- case 7:
74569
- message.shouldAddCreditCard = reader.bool();
74570
- break;
74571
- case 8:
74572
- message.previousStatus = reader.string();
74573
- break;
74574
- case 9:
74575
- message.timestamp = reader.uint64();
74576
- break;
74577
- default:
74578
- reader.skipType(tag & 7);
74579
- break;
74580
- }
74581
- }
74582
- return message;
74583
- };
74584
-
74585
- /**
74586
- * Decodes a GingerTherapySchedulerStatusUpdated message from the specified reader or buffer, length delimited.
74587
- * @function decodeDelimited
74588
- * @memberof GingerTherapySchedulerStatusUpdated
74589
- * @static
74590
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
74591
- * @returns {GingerTherapySchedulerStatusUpdated} GingerTherapySchedulerStatusUpdated
74592
- * @throws {Error} If the payload is not a reader or valid buffer
74593
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
74594
- */
74595
- GingerTherapySchedulerStatusUpdated.decodeDelimited = function decodeDelimited(reader) {
74596
- if (!(reader instanceof $Reader))
74597
- reader = new $Reader(reader);
74598
- return this.decode(reader, reader.uint32());
74599
- };
74600
-
74601
- /**
74602
- * Verifies a GingerTherapySchedulerStatusUpdated message.
74603
- * @function verify
74604
- * @memberof GingerTherapySchedulerStatusUpdated
74605
- * @static
74606
- * @param {Object.<string,*>} message Plain object to verify
74607
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
74608
- */
74609
- GingerTherapySchedulerStatusUpdated.verify = function verify(message) {
74610
- if (typeof message !== "object" || message === null)
74611
- return "object expected";
74612
- if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
74613
- if (!$util.isString(message.hsUserId))
74614
- return "hsUserId: string expected";
74615
- if (message.status != null && message.hasOwnProperty("status"))
74616
- if (!$util.isString(message.status))
74617
- return "status: string expected";
74618
- if (message.approverGingerId != null && message.hasOwnProperty("approverGingerId"))
74619
- if (!$util.isString(message.approverGingerId))
74620
- return "approverGingerId: string expected";
74621
- if (message.source != null && message.hasOwnProperty("source"))
74622
- if (!$util.isString(message.source))
74623
- return "source: string expected";
74624
- if (message.notes != null && message.hasOwnProperty("notes"))
74625
- if (!$util.isString(message.notes))
74626
- return "notes: string expected";
74627
- if (message.reason != null && message.hasOwnProperty("reason"))
74628
- if (!$util.isString(message.reason))
74629
- return "reason: string expected";
74630
- if (message.shouldAddCreditCard != null && message.hasOwnProperty("shouldAddCreditCard"))
74631
- if (typeof message.shouldAddCreditCard !== "boolean")
74632
- return "shouldAddCreditCard: boolean expected";
74633
- if (message.previousStatus != null && message.hasOwnProperty("previousStatus"))
74634
- if (!$util.isString(message.previousStatus))
74635
- return "previousStatus: string expected";
74636
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
74637
- if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
74638
- return "timestamp: integer|Long expected";
74639
- return null;
74640
- };
74641
-
74642
- /**
74643
- * Creates a GingerTherapySchedulerStatusUpdated message from a plain object. Also converts values to their respective internal types.
74644
- * @function fromObject
74645
- * @memberof GingerTherapySchedulerStatusUpdated
74646
- * @static
74647
- * @param {Object.<string,*>} object Plain object
74648
- * @returns {GingerTherapySchedulerStatusUpdated} GingerTherapySchedulerStatusUpdated
74649
- */
74650
- GingerTherapySchedulerStatusUpdated.fromObject = function fromObject(object) {
74651
- if (object instanceof $root.GingerTherapySchedulerStatusUpdated)
74652
- return object;
74653
- var message = new $root.GingerTherapySchedulerStatusUpdated();
74654
- if (object.hsUserId != null)
74655
- message.hsUserId = String(object.hsUserId);
74656
- if (object.status != null)
74657
- message.status = String(object.status);
74658
- if (object.approverGingerId != null)
74659
- message.approverGingerId = String(object.approverGingerId);
74660
- if (object.source != null)
74661
- message.source = String(object.source);
74662
- if (object.notes != null)
74663
- message.notes = String(object.notes);
74664
- if (object.reason != null)
74665
- message.reason = String(object.reason);
74666
- if (object.shouldAddCreditCard != null)
74667
- message.shouldAddCreditCard = Boolean(object.shouldAddCreditCard);
74668
- if (object.previousStatus != null)
74669
- message.previousStatus = String(object.previousStatus);
74670
- if (object.timestamp != null)
74671
- if ($util.Long)
74672
- (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
74673
- else if (typeof object.timestamp === "string")
74674
- message.timestamp = parseInt(object.timestamp, 10);
74675
- else if (typeof object.timestamp === "number")
74676
- message.timestamp = object.timestamp;
74677
- else if (typeof object.timestamp === "object")
74678
- message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
74679
- return message;
74680
- };
74681
-
74682
- /**
74683
- * Creates a plain object from a GingerTherapySchedulerStatusUpdated message. Also converts values to other types if specified.
74684
- * @function toObject
74685
- * @memberof GingerTherapySchedulerStatusUpdated
74686
- * @static
74687
- * @param {GingerTherapySchedulerStatusUpdated} message GingerTherapySchedulerStatusUpdated
74688
- * @param {$protobuf.IConversionOptions} [options] Conversion options
74689
- * @returns {Object.<string,*>} Plain object
74690
- */
74691
- GingerTherapySchedulerStatusUpdated.toObject = function toObject(message, options) {
74692
- if (!options)
74693
- options = {};
74694
- var object = {};
74695
- if (options.defaults) {
74696
- object.hsUserId = "";
74697
- object.status = "";
74698
- object.approverGingerId = "";
74699
- object.source = "";
74700
- object.notes = "";
74701
- object.reason = "";
74702
- object.shouldAddCreditCard = false;
74703
- object.previousStatus = "";
74704
- if ($util.Long) {
74705
- var long = new $util.Long(0, 0, true);
74706
- object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
74707
- } else
74708
- object.timestamp = options.longs === String ? "0" : 0;
74709
- }
74710
- if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
74711
- object.hsUserId = message.hsUserId;
74712
- if (message.status != null && message.hasOwnProperty("status"))
74713
- object.status = message.status;
74714
- if (message.approverGingerId != null && message.hasOwnProperty("approverGingerId"))
74715
- object.approverGingerId = message.approverGingerId;
74716
- if (message.source != null && message.hasOwnProperty("source"))
74717
- object.source = message.source;
74718
- if (message.notes != null && message.hasOwnProperty("notes"))
74719
- object.notes = message.notes;
74720
- if (message.reason != null && message.hasOwnProperty("reason"))
74721
- object.reason = message.reason;
74722
- if (message.shouldAddCreditCard != null && message.hasOwnProperty("shouldAddCreditCard"))
74723
- object.shouldAddCreditCard = message.shouldAddCreditCard;
74724
- if (message.previousStatus != null && message.hasOwnProperty("previousStatus"))
74725
- object.previousStatus = message.previousStatus;
74726
- if (message.timestamp != null && message.hasOwnProperty("timestamp"))
74727
- if (typeof message.timestamp === "number")
74728
- object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
74729
- else
74730
- 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;
74731
- return object;
74732
- };
74733
-
74734
- /**
74735
- * Converts this GingerTherapySchedulerStatusUpdated to JSON.
74736
- * @function toJSON
74737
- * @memberof GingerTherapySchedulerStatusUpdated
74738
- * @instance
74739
- * @returns {Object.<string,*>} JSON object
74740
- */
74741
- GingerTherapySchedulerStatusUpdated.prototype.toJSON = function toJSON() {
74742
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
74743
- };
74744
-
74745
- return GingerTherapySchedulerStatusUpdated;
74746
- })();
74747
-
74748
74370
  $root.SCIMUserUpdated = (function() {
74749
74371
 
74750
74372
  /**
@@ -146366,6 +145988,384 @@ $root.SubscriptionMemberChurned = (function() {
146366
145988
  return SubscriptionMemberChurned;
146367
145989
  })();
146368
145990
 
145991
+ $root.GingerTherapySchedulerStatusUpdated = (function() {
145992
+
145993
+ /**
145994
+ * Properties of a GingerTherapySchedulerStatusUpdated.
145995
+ * @name IGingerTherapySchedulerStatusUpdated
145996
+ * @interface IGingerTherapySchedulerStatusUpdated
145997
+ * @property {string|null} [hsUserId] GingerTherapySchedulerStatusUpdated hsUserId
145998
+ * @property {string|null} [status] GingerTherapySchedulerStatusUpdated status
145999
+ * @property {string|null} [approverGingerId] GingerTherapySchedulerStatusUpdated approverGingerId
146000
+ * @property {string|null} [source] GingerTherapySchedulerStatusUpdated source
146001
+ * @property {string|null} [notes] GingerTherapySchedulerStatusUpdated notes
146002
+ * @property {string|null} [reason] GingerTherapySchedulerStatusUpdated reason
146003
+ * @property {boolean|null} [shouldAddCreditCard] GingerTherapySchedulerStatusUpdated shouldAddCreditCard
146004
+ * @property {string|null} [previousStatus] GingerTherapySchedulerStatusUpdated previousStatus
146005
+ * @property {number|Long|null} [timestamp] GingerTherapySchedulerStatusUpdated timestamp
146006
+ */
146007
+
146008
+ /**
146009
+ * Constructs a new GingerTherapySchedulerStatusUpdated.
146010
+ * @name GingerTherapySchedulerStatusUpdated
146011
+ * @classdesc Represents a GingerTherapySchedulerStatusUpdated.
146012
+ * @implements IGingerTherapySchedulerStatusUpdated
146013
+ * @constructor
146014
+ * @param {IGingerTherapySchedulerStatusUpdated=} [properties] Properties to set
146015
+ */
146016
+ function GingerTherapySchedulerStatusUpdated(properties) {
146017
+ if (properties)
146018
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
146019
+ if (properties[keys[i]] != null)
146020
+ this[keys[i]] = properties[keys[i]];
146021
+ }
146022
+
146023
+ /**
146024
+ * GingerTherapySchedulerStatusUpdated hsUserId.
146025
+ * @member {string} hsUserId
146026
+ * @memberof GingerTherapySchedulerStatusUpdated
146027
+ * @instance
146028
+ */
146029
+ GingerTherapySchedulerStatusUpdated.prototype.hsUserId = "";
146030
+
146031
+ /**
146032
+ * GingerTherapySchedulerStatusUpdated status.
146033
+ * @member {string} status
146034
+ * @memberof GingerTherapySchedulerStatusUpdated
146035
+ * @instance
146036
+ */
146037
+ GingerTherapySchedulerStatusUpdated.prototype.status = "";
146038
+
146039
+ /**
146040
+ * GingerTherapySchedulerStatusUpdated approverGingerId.
146041
+ * @member {string} approverGingerId
146042
+ * @memberof GingerTherapySchedulerStatusUpdated
146043
+ * @instance
146044
+ */
146045
+ GingerTherapySchedulerStatusUpdated.prototype.approverGingerId = "";
146046
+
146047
+ /**
146048
+ * GingerTherapySchedulerStatusUpdated source.
146049
+ * @member {string} source
146050
+ * @memberof GingerTherapySchedulerStatusUpdated
146051
+ * @instance
146052
+ */
146053
+ GingerTherapySchedulerStatusUpdated.prototype.source = "";
146054
+
146055
+ /**
146056
+ * GingerTherapySchedulerStatusUpdated notes.
146057
+ * @member {string} notes
146058
+ * @memberof GingerTherapySchedulerStatusUpdated
146059
+ * @instance
146060
+ */
146061
+ GingerTherapySchedulerStatusUpdated.prototype.notes = "";
146062
+
146063
+ /**
146064
+ * GingerTherapySchedulerStatusUpdated reason.
146065
+ * @member {string} reason
146066
+ * @memberof GingerTherapySchedulerStatusUpdated
146067
+ * @instance
146068
+ */
146069
+ GingerTherapySchedulerStatusUpdated.prototype.reason = "";
146070
+
146071
+ /**
146072
+ * GingerTherapySchedulerStatusUpdated shouldAddCreditCard.
146073
+ * @member {boolean} shouldAddCreditCard
146074
+ * @memberof GingerTherapySchedulerStatusUpdated
146075
+ * @instance
146076
+ */
146077
+ GingerTherapySchedulerStatusUpdated.prototype.shouldAddCreditCard = false;
146078
+
146079
+ /**
146080
+ * GingerTherapySchedulerStatusUpdated previousStatus.
146081
+ * @member {string} previousStatus
146082
+ * @memberof GingerTherapySchedulerStatusUpdated
146083
+ * @instance
146084
+ */
146085
+ GingerTherapySchedulerStatusUpdated.prototype.previousStatus = "";
146086
+
146087
+ /**
146088
+ * GingerTherapySchedulerStatusUpdated timestamp.
146089
+ * @member {number|Long} timestamp
146090
+ * @memberof GingerTherapySchedulerStatusUpdated
146091
+ * @instance
146092
+ */
146093
+ GingerTherapySchedulerStatusUpdated.prototype.timestamp = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
146094
+
146095
+ /**
146096
+ * Creates a new GingerTherapySchedulerStatusUpdated instance using the specified properties.
146097
+ * @function create
146098
+ * @memberof GingerTherapySchedulerStatusUpdated
146099
+ * @static
146100
+ * @param {IGingerTherapySchedulerStatusUpdated=} [properties] Properties to set
146101
+ * @returns {GingerTherapySchedulerStatusUpdated} GingerTherapySchedulerStatusUpdated instance
146102
+ */
146103
+ GingerTherapySchedulerStatusUpdated.create = function create(properties) {
146104
+ return new GingerTherapySchedulerStatusUpdated(properties);
146105
+ };
146106
+
146107
+ /**
146108
+ * Encodes the specified GingerTherapySchedulerStatusUpdated message. Does not implicitly {@link GingerTherapySchedulerStatusUpdated.verify|verify} messages.
146109
+ * @function encode
146110
+ * @memberof GingerTherapySchedulerStatusUpdated
146111
+ * @static
146112
+ * @param {IGingerTherapySchedulerStatusUpdated} message GingerTherapySchedulerStatusUpdated message or plain object to encode
146113
+ * @param {$protobuf.Writer} [writer] Writer to encode to
146114
+ * @returns {$protobuf.Writer} Writer
146115
+ */
146116
+ GingerTherapySchedulerStatusUpdated.encode = function encode(message, writer) {
146117
+ if (!writer)
146118
+ writer = $Writer.create();
146119
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
146120
+ writer.uint32(/* id 1, wireType 2 =*/10).string(message.hsUserId);
146121
+ if (message.status != null && message.hasOwnProperty("status"))
146122
+ writer.uint32(/* id 2, wireType 2 =*/18).string(message.status);
146123
+ if (message.approverGingerId != null && message.hasOwnProperty("approverGingerId"))
146124
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.approverGingerId);
146125
+ if (message.source != null && message.hasOwnProperty("source"))
146126
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.source);
146127
+ if (message.notes != null && message.hasOwnProperty("notes"))
146128
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.notes);
146129
+ if (message.reason != null && message.hasOwnProperty("reason"))
146130
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.reason);
146131
+ if (message.shouldAddCreditCard != null && message.hasOwnProperty("shouldAddCreditCard"))
146132
+ writer.uint32(/* id 7, wireType 0 =*/56).bool(message.shouldAddCreditCard);
146133
+ if (message.previousStatus != null && message.hasOwnProperty("previousStatus"))
146134
+ writer.uint32(/* id 8, wireType 2 =*/66).string(message.previousStatus);
146135
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
146136
+ writer.uint32(/* id 9, wireType 0 =*/72).uint64(message.timestamp);
146137
+ return writer;
146138
+ };
146139
+
146140
+ /**
146141
+ * Encodes the specified GingerTherapySchedulerStatusUpdated message, length delimited. Does not implicitly {@link GingerTherapySchedulerStatusUpdated.verify|verify} messages.
146142
+ * @function encodeDelimited
146143
+ * @memberof GingerTherapySchedulerStatusUpdated
146144
+ * @static
146145
+ * @param {IGingerTherapySchedulerStatusUpdated} message GingerTherapySchedulerStatusUpdated message or plain object to encode
146146
+ * @param {$protobuf.Writer} [writer] Writer to encode to
146147
+ * @returns {$protobuf.Writer} Writer
146148
+ */
146149
+ GingerTherapySchedulerStatusUpdated.encodeDelimited = function encodeDelimited(message, writer) {
146150
+ return this.encode(message, writer).ldelim();
146151
+ };
146152
+
146153
+ /**
146154
+ * Decodes a GingerTherapySchedulerStatusUpdated message from the specified reader or buffer.
146155
+ * @function decode
146156
+ * @memberof GingerTherapySchedulerStatusUpdated
146157
+ * @static
146158
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
146159
+ * @param {number} [length] Message length if known beforehand
146160
+ * @returns {GingerTherapySchedulerStatusUpdated} GingerTherapySchedulerStatusUpdated
146161
+ * @throws {Error} If the payload is not a reader or valid buffer
146162
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
146163
+ */
146164
+ GingerTherapySchedulerStatusUpdated.decode = function decode(reader, length) {
146165
+ if (!(reader instanceof $Reader))
146166
+ reader = $Reader.create(reader);
146167
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.GingerTherapySchedulerStatusUpdated();
146168
+ while (reader.pos < end) {
146169
+ var tag = reader.uint32();
146170
+ switch (tag >>> 3) {
146171
+ case 1:
146172
+ message.hsUserId = reader.string();
146173
+ break;
146174
+ case 2:
146175
+ message.status = reader.string();
146176
+ break;
146177
+ case 3:
146178
+ message.approverGingerId = reader.string();
146179
+ break;
146180
+ case 4:
146181
+ message.source = reader.string();
146182
+ break;
146183
+ case 5:
146184
+ message.notes = reader.string();
146185
+ break;
146186
+ case 6:
146187
+ message.reason = reader.string();
146188
+ break;
146189
+ case 7:
146190
+ message.shouldAddCreditCard = reader.bool();
146191
+ break;
146192
+ case 8:
146193
+ message.previousStatus = reader.string();
146194
+ break;
146195
+ case 9:
146196
+ message.timestamp = reader.uint64();
146197
+ break;
146198
+ default:
146199
+ reader.skipType(tag & 7);
146200
+ break;
146201
+ }
146202
+ }
146203
+ return message;
146204
+ };
146205
+
146206
+ /**
146207
+ * Decodes a GingerTherapySchedulerStatusUpdated message from the specified reader or buffer, length delimited.
146208
+ * @function decodeDelimited
146209
+ * @memberof GingerTherapySchedulerStatusUpdated
146210
+ * @static
146211
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
146212
+ * @returns {GingerTherapySchedulerStatusUpdated} GingerTherapySchedulerStatusUpdated
146213
+ * @throws {Error} If the payload is not a reader or valid buffer
146214
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
146215
+ */
146216
+ GingerTherapySchedulerStatusUpdated.decodeDelimited = function decodeDelimited(reader) {
146217
+ if (!(reader instanceof $Reader))
146218
+ reader = new $Reader(reader);
146219
+ return this.decode(reader, reader.uint32());
146220
+ };
146221
+
146222
+ /**
146223
+ * Verifies a GingerTherapySchedulerStatusUpdated message.
146224
+ * @function verify
146225
+ * @memberof GingerTherapySchedulerStatusUpdated
146226
+ * @static
146227
+ * @param {Object.<string,*>} message Plain object to verify
146228
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
146229
+ */
146230
+ GingerTherapySchedulerStatusUpdated.verify = function verify(message) {
146231
+ if (typeof message !== "object" || message === null)
146232
+ return "object expected";
146233
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
146234
+ if (!$util.isString(message.hsUserId))
146235
+ return "hsUserId: string expected";
146236
+ if (message.status != null && message.hasOwnProperty("status"))
146237
+ if (!$util.isString(message.status))
146238
+ return "status: string expected";
146239
+ if (message.approverGingerId != null && message.hasOwnProperty("approverGingerId"))
146240
+ if (!$util.isString(message.approverGingerId))
146241
+ return "approverGingerId: string expected";
146242
+ if (message.source != null && message.hasOwnProperty("source"))
146243
+ if (!$util.isString(message.source))
146244
+ return "source: string expected";
146245
+ if (message.notes != null && message.hasOwnProperty("notes"))
146246
+ if (!$util.isString(message.notes))
146247
+ return "notes: string expected";
146248
+ if (message.reason != null && message.hasOwnProperty("reason"))
146249
+ if (!$util.isString(message.reason))
146250
+ return "reason: string expected";
146251
+ if (message.shouldAddCreditCard != null && message.hasOwnProperty("shouldAddCreditCard"))
146252
+ if (typeof message.shouldAddCreditCard !== "boolean")
146253
+ return "shouldAddCreditCard: boolean expected";
146254
+ if (message.previousStatus != null && message.hasOwnProperty("previousStatus"))
146255
+ if (!$util.isString(message.previousStatus))
146256
+ return "previousStatus: string expected";
146257
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
146258
+ if (!$util.isInteger(message.timestamp) && !(message.timestamp && $util.isInteger(message.timestamp.low) && $util.isInteger(message.timestamp.high)))
146259
+ return "timestamp: integer|Long expected";
146260
+ return null;
146261
+ };
146262
+
146263
+ /**
146264
+ * Creates a GingerTherapySchedulerStatusUpdated message from a plain object. Also converts values to their respective internal types.
146265
+ * @function fromObject
146266
+ * @memberof GingerTherapySchedulerStatusUpdated
146267
+ * @static
146268
+ * @param {Object.<string,*>} object Plain object
146269
+ * @returns {GingerTherapySchedulerStatusUpdated} GingerTherapySchedulerStatusUpdated
146270
+ */
146271
+ GingerTherapySchedulerStatusUpdated.fromObject = function fromObject(object) {
146272
+ if (object instanceof $root.GingerTherapySchedulerStatusUpdated)
146273
+ return object;
146274
+ var message = new $root.GingerTherapySchedulerStatusUpdated();
146275
+ if (object.hsUserId != null)
146276
+ message.hsUserId = String(object.hsUserId);
146277
+ if (object.status != null)
146278
+ message.status = String(object.status);
146279
+ if (object.approverGingerId != null)
146280
+ message.approverGingerId = String(object.approverGingerId);
146281
+ if (object.source != null)
146282
+ message.source = String(object.source);
146283
+ if (object.notes != null)
146284
+ message.notes = String(object.notes);
146285
+ if (object.reason != null)
146286
+ message.reason = String(object.reason);
146287
+ if (object.shouldAddCreditCard != null)
146288
+ message.shouldAddCreditCard = Boolean(object.shouldAddCreditCard);
146289
+ if (object.previousStatus != null)
146290
+ message.previousStatus = String(object.previousStatus);
146291
+ if (object.timestamp != null)
146292
+ if ($util.Long)
146293
+ (message.timestamp = $util.Long.fromValue(object.timestamp)).unsigned = true;
146294
+ else if (typeof object.timestamp === "string")
146295
+ message.timestamp = parseInt(object.timestamp, 10);
146296
+ else if (typeof object.timestamp === "number")
146297
+ message.timestamp = object.timestamp;
146298
+ else if (typeof object.timestamp === "object")
146299
+ message.timestamp = new $util.LongBits(object.timestamp.low >>> 0, object.timestamp.high >>> 0).toNumber(true);
146300
+ return message;
146301
+ };
146302
+
146303
+ /**
146304
+ * Creates a plain object from a GingerTherapySchedulerStatusUpdated message. Also converts values to other types if specified.
146305
+ * @function toObject
146306
+ * @memberof GingerTherapySchedulerStatusUpdated
146307
+ * @static
146308
+ * @param {GingerTherapySchedulerStatusUpdated} message GingerTherapySchedulerStatusUpdated
146309
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
146310
+ * @returns {Object.<string,*>} Plain object
146311
+ */
146312
+ GingerTherapySchedulerStatusUpdated.toObject = function toObject(message, options) {
146313
+ if (!options)
146314
+ options = {};
146315
+ var object = {};
146316
+ if (options.defaults) {
146317
+ object.hsUserId = "";
146318
+ object.status = "";
146319
+ object.approverGingerId = "";
146320
+ object.source = "";
146321
+ object.notes = "";
146322
+ object.reason = "";
146323
+ object.shouldAddCreditCard = false;
146324
+ object.previousStatus = "";
146325
+ if ($util.Long) {
146326
+ var long = new $util.Long(0, 0, true);
146327
+ object.timestamp = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
146328
+ } else
146329
+ object.timestamp = options.longs === String ? "0" : 0;
146330
+ }
146331
+ if (message.hsUserId != null && message.hasOwnProperty("hsUserId"))
146332
+ object.hsUserId = message.hsUserId;
146333
+ if (message.status != null && message.hasOwnProperty("status"))
146334
+ object.status = message.status;
146335
+ if (message.approverGingerId != null && message.hasOwnProperty("approverGingerId"))
146336
+ object.approverGingerId = message.approverGingerId;
146337
+ if (message.source != null && message.hasOwnProperty("source"))
146338
+ object.source = message.source;
146339
+ if (message.notes != null && message.hasOwnProperty("notes"))
146340
+ object.notes = message.notes;
146341
+ if (message.reason != null && message.hasOwnProperty("reason"))
146342
+ object.reason = message.reason;
146343
+ if (message.shouldAddCreditCard != null && message.hasOwnProperty("shouldAddCreditCard"))
146344
+ object.shouldAddCreditCard = message.shouldAddCreditCard;
146345
+ if (message.previousStatus != null && message.hasOwnProperty("previousStatus"))
146346
+ object.previousStatus = message.previousStatus;
146347
+ if (message.timestamp != null && message.hasOwnProperty("timestamp"))
146348
+ if (typeof message.timestamp === "number")
146349
+ object.timestamp = options.longs === String ? String(message.timestamp) : message.timestamp;
146350
+ else
146351
+ 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;
146352
+ return object;
146353
+ };
146354
+
146355
+ /**
146356
+ * Converts this GingerTherapySchedulerStatusUpdated to JSON.
146357
+ * @function toJSON
146358
+ * @memberof GingerTherapySchedulerStatusUpdated
146359
+ * @instance
146360
+ * @returns {Object.<string,*>} JSON object
146361
+ */
146362
+ GingerTherapySchedulerStatusUpdated.prototype.toJSON = function toJSON() {
146363
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
146364
+ };
146365
+
146366
+ return GingerTherapySchedulerStatusUpdated;
146367
+ })();
146368
+
146369
146369
  $root.UserDoubleOptInEmailRequested = (function() {
146370
146370
 
146371
146371
  /**
@@ -160504,6 +160504,7 @@ $root.clinical = (function() {
160504
160504
  * @property {string|null} [email] Clinician email
160505
160505
  * @property {Array.<clinical.IAppUser>|null} [oktaIds] ID of this clinician in Okta
160506
160506
  * TODO: Only two values expected here, one in Okta and one in web
160507
+ * @property {boolean|null} [isAutoRecordEnabled] Indicates whether automatic recording is enabled for this clinician's sessions
160507
160508
  */
160508
160509
 
160509
160510
  /**
@@ -160685,6 +160686,14 @@ $root.clinical = (function() {
160685
160686
  */
160686
160687
  Clinician.prototype.oktaIds = $util.emptyArray;
160687
160688
 
160689
+ /**
160690
+ * Indicates whether automatic recording is enabled for this clinician's sessions
160691
+ * @member {boolean} isAutoRecordEnabled
160692
+ * @memberof clinical.Clinician
160693
+ * @instance
160694
+ */
160695
+ Clinician.prototype.isAutoRecordEnabled = false;
160696
+
160688
160697
  /**
160689
160698
  * Creates a new Clinician instance using the specified properties.
160690
160699
  * @function create
@@ -160752,6 +160761,8 @@ $root.clinical = (function() {
160752
160761
  if (message.oktaIds != null && message.oktaIds.length)
160753
160762
  for (var i = 0; i < message.oktaIds.length; ++i)
160754
160763
  $root.clinical.AppUser.encode(message.oktaIds[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
160764
+ if (message.isAutoRecordEnabled != null && message.hasOwnProperty("isAutoRecordEnabled"))
160765
+ writer.uint32(/* id 21, wireType 0 =*/168).bool(message.isAutoRecordEnabled);
160755
160766
  return writer;
160756
160767
  };
160757
160768
 
@@ -160852,6 +160863,9 @@ $root.clinical = (function() {
160852
160863
  message.oktaIds = [];
160853
160864
  message.oktaIds.push($root.clinical.AppUser.decode(reader, reader.uint32()));
160854
160865
  break;
160866
+ case 21:
160867
+ message.isAutoRecordEnabled = reader.bool();
160868
+ break;
160855
160869
  default:
160856
160870
  reader.skipType(tag & 7);
160857
160871
  break;
@@ -161008,6 +161022,9 @@ $root.clinical = (function() {
161008
161022
  return "oktaIds." + error;
161009
161023
  }
161010
161024
  }
161025
+ if (message.isAutoRecordEnabled != null && message.hasOwnProperty("isAutoRecordEnabled"))
161026
+ if (typeof message.isAutoRecordEnabled !== "boolean")
161027
+ return "isAutoRecordEnabled: boolean expected";
161011
161028
  return null;
161012
161029
  };
161013
161030
 
@@ -161206,6 +161223,8 @@ $root.clinical = (function() {
161206
161223
  message.oktaIds[i] = $root.clinical.AppUser.fromObject(object.oktaIds[i]);
161207
161224
  }
161208
161225
  }
161226
+ if (object.isAutoRecordEnabled != null)
161227
+ message.isAutoRecordEnabled = Boolean(object.isAutoRecordEnabled);
161209
161228
  return message;
161210
161229
  };
161211
161230
 
@@ -161253,6 +161272,7 @@ $root.clinical = (function() {
161253
161272
  object.aboutMe = "";
161254
161273
  object.education = "";
161255
161274
  object.email = "";
161275
+ object.isAutoRecordEnabled = false;
161256
161276
  }
161257
161277
  if (message.id != null && message.hasOwnProperty("id"))
161258
161278
  object.id = message.id;
@@ -161309,6 +161329,8 @@ $root.clinical = (function() {
161309
161329
  for (var j = 0; j < message.oktaIds.length; ++j)
161310
161330
  object.oktaIds[j] = $root.clinical.AppUser.toObject(message.oktaIds[j], options);
161311
161331
  }
161332
+ if (message.isAutoRecordEnabled != null && message.hasOwnProperty("isAutoRecordEnabled"))
161333
+ object.isAutoRecordEnabled = message.isAutoRecordEnabled;
161312
161334
  return object;
161313
161335
  };
161314
161336
 
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.686.0"
19
+ "version": "1.688.0"
20
20
  }