@headspace/protos-events 1.584.0 → 1.586.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 +3572 -70
  2. package/lib/index.js +11790 -125
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -166,6 +166,3508 @@ export namespace auth0 {
166
166
  }
167
167
  }
168
168
 
169
+ /** Namespace clinical. */
170
+ export namespace clinical {
171
+
172
+ /** Properties of a ClinicalAvailability. */
173
+ interface IClinicalAvailability {
174
+
175
+ /** ClinicalAvailability id */
176
+ id?: (number|null);
177
+
178
+ /** ClinicalAvailability clinicianId */
179
+ clinicianId?: (string|null);
180
+
181
+ /** ClinicalAvailability updatedAt */
182
+ updatedAt?: (number|Long|null);
183
+
184
+ /** ClinicalAvailability startsAt */
185
+ startsAt?: (number|Long|null);
186
+
187
+ /** ClinicalAvailability endsAt */
188
+ endsAt?: (number|Long|null);
189
+
190
+ /** ClinicalAvailability status */
191
+ status?: (clinical.ClinicalAvailabilityStatus|null);
192
+
193
+ /** ClinicalAvailability source */
194
+ source?: (clinical.ClinicalAvailabilitySource|null);
195
+ }
196
+
197
+ /** Represents a ClinicalAvailability. */
198
+ class ClinicalAvailability implements IClinicalAvailability {
199
+
200
+ /**
201
+ * Constructs a new ClinicalAvailability.
202
+ * @param [properties] Properties to set
203
+ */
204
+ constructor(properties?: clinical.IClinicalAvailability);
205
+
206
+ /** ClinicalAvailability id. */
207
+ public id: number;
208
+
209
+ /** ClinicalAvailability clinicianId. */
210
+ public clinicianId: string;
211
+
212
+ /** ClinicalAvailability updatedAt. */
213
+ public updatedAt: (number|Long);
214
+
215
+ /** ClinicalAvailability startsAt. */
216
+ public startsAt: (number|Long);
217
+
218
+ /** ClinicalAvailability endsAt. */
219
+ public endsAt: (number|Long);
220
+
221
+ /** ClinicalAvailability status. */
222
+ public status: clinical.ClinicalAvailabilityStatus;
223
+
224
+ /** ClinicalAvailability source. */
225
+ public source: clinical.ClinicalAvailabilitySource;
226
+
227
+ /**
228
+ * Creates a new ClinicalAvailability instance using the specified properties.
229
+ * @param [properties] Properties to set
230
+ * @returns ClinicalAvailability instance
231
+ */
232
+ public static create(properties?: clinical.IClinicalAvailability): clinical.ClinicalAvailability;
233
+
234
+ /**
235
+ * Encodes the specified ClinicalAvailability message. Does not implicitly {@link clinical.ClinicalAvailability.verify|verify} messages.
236
+ * @param message ClinicalAvailability message or plain object to encode
237
+ * @param [writer] Writer to encode to
238
+ * @returns Writer
239
+ */
240
+ public static encode(message: clinical.IClinicalAvailability, writer?: $protobuf.Writer): $protobuf.Writer;
241
+
242
+ /**
243
+ * Encodes the specified ClinicalAvailability message, length delimited. Does not implicitly {@link clinical.ClinicalAvailability.verify|verify} messages.
244
+ * @param message ClinicalAvailability message or plain object to encode
245
+ * @param [writer] Writer to encode to
246
+ * @returns Writer
247
+ */
248
+ public static encodeDelimited(message: clinical.IClinicalAvailability, writer?: $protobuf.Writer): $protobuf.Writer;
249
+
250
+ /**
251
+ * Decodes a ClinicalAvailability message from the specified reader or buffer.
252
+ * @param reader Reader or buffer to decode from
253
+ * @param [length] Message length if known beforehand
254
+ * @returns ClinicalAvailability
255
+ * @throws {Error} If the payload is not a reader or valid buffer
256
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
257
+ */
258
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.ClinicalAvailability;
259
+
260
+ /**
261
+ * Decodes a ClinicalAvailability message from the specified reader or buffer, length delimited.
262
+ * @param reader Reader or buffer to decode from
263
+ * @returns ClinicalAvailability
264
+ * @throws {Error} If the payload is not a reader or valid buffer
265
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
266
+ */
267
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.ClinicalAvailability;
268
+
269
+ /**
270
+ * Verifies a ClinicalAvailability message.
271
+ * @param message Plain object to verify
272
+ * @returns `null` if valid, otherwise the reason why it is not
273
+ */
274
+ public static verify(message: { [k: string]: any }): (string|null);
275
+
276
+ /**
277
+ * Creates a ClinicalAvailability message from a plain object. Also converts values to their respective internal types.
278
+ * @param object Plain object
279
+ * @returns ClinicalAvailability
280
+ */
281
+ public static fromObject(object: { [k: string]: any }): clinical.ClinicalAvailability;
282
+
283
+ /**
284
+ * Creates a plain object from a ClinicalAvailability message. Also converts values to other types if specified.
285
+ * @param message ClinicalAvailability
286
+ * @param [options] Conversion options
287
+ * @returns Plain object
288
+ */
289
+ public static toObject(message: clinical.ClinicalAvailability, options?: $protobuf.IConversionOptions): { [k: string]: any };
290
+
291
+ /**
292
+ * Converts this ClinicalAvailability to JSON.
293
+ * @returns JSON object
294
+ */
295
+ public toJSON(): { [k: string]: any };
296
+ }
297
+
298
+ /** Properties of a ClinicalAvailabilityOffers. */
299
+ interface IClinicalAvailabilityOffers {
300
+
301
+ /** ClinicalAvailabilityOffers id */
302
+ id?: (number|null);
303
+
304
+ /** ClinicalAvailabilityOffers clinicianId */
305
+ clinicianId?: (number|null);
306
+
307
+ /** ClinicalAvailabilityOffers memberGingerId */
308
+ memberGingerId?: (number|null);
309
+
310
+ /** ClinicalAvailabilityOffers createdBy */
311
+ createdBy?: (number|null);
312
+
313
+ /** ClinicalAvailabilityOffers createdByType */
314
+ createdByType?: (clinical.ClinicalAvailabilityOfferCreatedByType|null);
315
+
316
+ /** ClinicalAvailabilityOffers appointmentId */
317
+ appointmentId?: (number|null);
318
+
319
+ /** ClinicalAvailabilityOffers acceptedAt */
320
+ acceptedAt?: (number|Long|null);
321
+
322
+ /** ClinicalAvailabilityOffers appointmentType */
323
+ appointmentType?: (clinical.ClinicalAppointmentType|null);
324
+
325
+ /** ClinicalAvailabilityOffers isEarliest */
326
+ isEarliest?: (boolean|null);
327
+
328
+ /** ClinicalAvailabilityOffers isOffered */
329
+ isOffered?: (boolean|null);
330
+
331
+ /** ClinicalAvailabilityOffers offeredAt */
332
+ offeredAt?: (number|Long|null);
333
+
334
+ /** ClinicalAvailabilityOffers serviceTimestamp */
335
+ serviceTimestamp?: (number|Long|null);
336
+
337
+ /** ClinicalAvailabilityOffers webSessionId */
338
+ webSessionId?: (string|null);
339
+
340
+ /** ClinicalAvailabilityOffers source */
341
+ source?: (clinical.ClinicalAvailabilitySource|null);
342
+
343
+ /** ClinicalAvailabilityOffers states */
344
+ states?: (string[]|null);
345
+
346
+ /** ClinicalAvailabilityOffers updatedAt */
347
+ updatedAt?: (number|Long|null);
348
+
349
+ /** ClinicalAvailabilityOffers isInNetwork */
350
+ isInNetwork?: (boolean|null);
351
+
352
+ /** ClinicalAvailabilityOffers capabilityColor */
353
+ capabilityColor?: (clinical.ClinicalAvailabilityCapabilityColor|null);
354
+ }
355
+
356
+ /** Represents a ClinicalAvailabilityOffers. */
357
+ class ClinicalAvailabilityOffers implements IClinicalAvailabilityOffers {
358
+
359
+ /**
360
+ * Constructs a new ClinicalAvailabilityOffers.
361
+ * @param [properties] Properties to set
362
+ */
363
+ constructor(properties?: clinical.IClinicalAvailabilityOffers);
364
+
365
+ /** ClinicalAvailabilityOffers id. */
366
+ public id: number;
367
+
368
+ /** ClinicalAvailabilityOffers clinicianId. */
369
+ public clinicianId: number;
370
+
371
+ /** ClinicalAvailabilityOffers memberGingerId. */
372
+ public memberGingerId: number;
373
+
374
+ /** ClinicalAvailabilityOffers createdBy. */
375
+ public createdBy: number;
376
+
377
+ /** ClinicalAvailabilityOffers createdByType. */
378
+ public createdByType: clinical.ClinicalAvailabilityOfferCreatedByType;
379
+
380
+ /** ClinicalAvailabilityOffers appointmentId. */
381
+ public appointmentId: number;
382
+
383
+ /** ClinicalAvailabilityOffers acceptedAt. */
384
+ public acceptedAt: (number|Long);
385
+
386
+ /** ClinicalAvailabilityOffers appointmentType. */
387
+ public appointmentType: clinical.ClinicalAppointmentType;
388
+
389
+ /** ClinicalAvailabilityOffers isEarliest. */
390
+ public isEarliest: boolean;
391
+
392
+ /** ClinicalAvailabilityOffers isOffered. */
393
+ public isOffered: boolean;
394
+
395
+ /** ClinicalAvailabilityOffers offeredAt. */
396
+ public offeredAt: (number|Long);
397
+
398
+ /** ClinicalAvailabilityOffers serviceTimestamp. */
399
+ public serviceTimestamp: (number|Long);
400
+
401
+ /** ClinicalAvailabilityOffers webSessionId. */
402
+ public webSessionId: string;
403
+
404
+ /** ClinicalAvailabilityOffers source. */
405
+ public source: clinical.ClinicalAvailabilitySource;
406
+
407
+ /** ClinicalAvailabilityOffers states. */
408
+ public states: string[];
409
+
410
+ /** ClinicalAvailabilityOffers updatedAt. */
411
+ public updatedAt: (number|Long);
412
+
413
+ /** ClinicalAvailabilityOffers isInNetwork. */
414
+ public isInNetwork: boolean;
415
+
416
+ /** ClinicalAvailabilityOffers capabilityColor. */
417
+ public capabilityColor: clinical.ClinicalAvailabilityCapabilityColor;
418
+
419
+ /**
420
+ * Creates a new ClinicalAvailabilityOffers instance using the specified properties.
421
+ * @param [properties] Properties to set
422
+ * @returns ClinicalAvailabilityOffers instance
423
+ */
424
+ public static create(properties?: clinical.IClinicalAvailabilityOffers): clinical.ClinicalAvailabilityOffers;
425
+
426
+ /**
427
+ * Encodes the specified ClinicalAvailabilityOffers message. Does not implicitly {@link clinical.ClinicalAvailabilityOffers.verify|verify} messages.
428
+ * @param message ClinicalAvailabilityOffers message or plain object to encode
429
+ * @param [writer] Writer to encode to
430
+ * @returns Writer
431
+ */
432
+ public static encode(message: clinical.IClinicalAvailabilityOffers, writer?: $protobuf.Writer): $protobuf.Writer;
433
+
434
+ /**
435
+ * Encodes the specified ClinicalAvailabilityOffers message, length delimited. Does not implicitly {@link clinical.ClinicalAvailabilityOffers.verify|verify} messages.
436
+ * @param message ClinicalAvailabilityOffers message or plain object to encode
437
+ * @param [writer] Writer to encode to
438
+ * @returns Writer
439
+ */
440
+ public static encodeDelimited(message: clinical.IClinicalAvailabilityOffers, writer?: $protobuf.Writer): $protobuf.Writer;
441
+
442
+ /**
443
+ * Decodes a ClinicalAvailabilityOffers message from the specified reader or buffer.
444
+ * @param reader Reader or buffer to decode from
445
+ * @param [length] Message length if known beforehand
446
+ * @returns ClinicalAvailabilityOffers
447
+ * @throws {Error} If the payload is not a reader or valid buffer
448
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
449
+ */
450
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.ClinicalAvailabilityOffers;
451
+
452
+ /**
453
+ * Decodes a ClinicalAvailabilityOffers message from the specified reader or buffer, length delimited.
454
+ * @param reader Reader or buffer to decode from
455
+ * @returns ClinicalAvailabilityOffers
456
+ * @throws {Error} If the payload is not a reader or valid buffer
457
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
458
+ */
459
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.ClinicalAvailabilityOffers;
460
+
461
+ /**
462
+ * Verifies a ClinicalAvailabilityOffers message.
463
+ * @param message Plain object to verify
464
+ * @returns `null` if valid, otherwise the reason why it is not
465
+ */
466
+ public static verify(message: { [k: string]: any }): (string|null);
467
+
468
+ /**
469
+ * Creates a ClinicalAvailabilityOffers message from a plain object. Also converts values to their respective internal types.
470
+ * @param object Plain object
471
+ * @returns ClinicalAvailabilityOffers
472
+ */
473
+ public static fromObject(object: { [k: string]: any }): clinical.ClinicalAvailabilityOffers;
474
+
475
+ /**
476
+ * Creates a plain object from a ClinicalAvailabilityOffers message. Also converts values to other types if specified.
477
+ * @param message ClinicalAvailabilityOffers
478
+ * @param [options] Conversion options
479
+ * @returns Plain object
480
+ */
481
+ public static toObject(message: clinical.ClinicalAvailabilityOffers, options?: $protobuf.IConversionOptions): { [k: string]: any };
482
+
483
+ /**
484
+ * Converts this ClinicalAvailabilityOffers to JSON.
485
+ * @returns JSON object
486
+ */
487
+ public toJSON(): { [k: string]: any };
488
+ }
489
+
490
+ /** ClinicalAvailabilityOfferCreatedByType enum. */
491
+ enum ClinicalAvailabilityOfferCreatedByType {
492
+ CLINICAL_AVAILABILITY_OFFER_CREATED_BY_TYPE_UNKNOWN = 0,
493
+ CLINICAL_AVAILABILITY_OFFER_CREATED_BY_TYPE_MEMBER = 1,
494
+ CLINICAL_AVAILABILITY_OFFER_CREATED_BY_TYPE_MEMBER_SUPPORT = 2
495
+ }
496
+
497
+ /** Properties of a ClinicalOrganization. */
498
+ interface IClinicalOrganization {
499
+
500
+ /** ClinicalOrganization id */
501
+ id?: (number|null);
502
+
503
+ /** ClinicalOrganization parentId */
504
+ parentId?: (number|null);
505
+
506
+ /** ClinicalOrganization alias */
507
+ alias?: (string|null);
508
+
509
+ /** ClinicalOrganization name */
510
+ name?: (string|null);
511
+
512
+ /** ClinicalOrganization location */
513
+ location?: (clinical.IClinicalOrganizationLocation|null);
514
+
515
+ /** ClinicalOrganization headspaceId */
516
+ headspaceId?: (string|null);
517
+
518
+ /** ClinicalOrganization headspaceHealthId */
519
+ headspaceHealthId?: (string|null);
520
+
521
+ /** ClinicalOrganization enableHhConnectedOffering */
522
+ enableHhConnectedOffering?: (boolean|null);
523
+
524
+ /** ClinicalOrganization salesforceOrgId */
525
+ salesforceOrgId?: (string|null);
526
+
527
+ /** ClinicalOrganization coverageStartsAt */
528
+ coverageStartsAt?: (number|Long|null);
529
+
530
+ /** ClinicalOrganization coverageEndsAt */
531
+ coverageEndsAt?: (number|Long|null);
532
+
533
+ /** ClinicalOrganization eligibleEmployeesCount */
534
+ eligibleEmployeesCount?: (number|null);
535
+
536
+ /** ClinicalOrganization dependentInvitesPerEmployee */
537
+ dependentInvitesPerEmployee?: (number|null);
538
+
539
+ /** ClinicalOrganization activatedEmployeesCount */
540
+ activatedEmployeesCount?: (number|null);
541
+
542
+ /** ClinicalOrganization eligibleDependents */
543
+ eligibleDependents?: (clinical.IClinicalOrganizationDependents|null);
544
+
545
+ /** ClinicalOrganization activatedDependents */
546
+ activatedDependents?: (clinical.IClinicalOrganizationDependents|null);
547
+
548
+ /** ClinicalOrganization allowAnonymousDependents */
549
+ allowAnonymousDependents?: (boolean|null);
550
+
551
+ /** ClinicalOrganization clinicalCoverageType */
552
+ clinicalCoverageType?: (clinical.ClinicalCoverageType|null);
553
+
554
+ /** ClinicalOrganization isTaxonomicRoot */
555
+ isTaxonomicRoot?: (boolean|null);
556
+
557
+ /** ClinicalOrganization taxonomicRootId */
558
+ taxonomicRootId?: (number|null);
559
+
560
+ /** ClinicalOrganization isEligibilityRoot */
561
+ isEligibilityRoot?: (boolean|null);
562
+
563
+ /** ClinicalOrganization eligibilityRootId */
564
+ eligibilityRootId?: (number|null);
565
+
566
+ /** ClinicalOrganization currentEnrollmentFlowType */
567
+ currentEnrollmentFlowType?: (b2b.EnrollmentFlow|null);
568
+
569
+ /** ClinicalOrganization futureEnrollmentFlowType */
570
+ futureEnrollmentFlowType?: (b2b.EnrollmentFlow|null);
571
+
572
+ /** ClinicalOrganization futureEnrollmentFlowSubscriptionId */
573
+ futureEnrollmentFlowSubscriptionId?: (string|null);
574
+ }
575
+
576
+ /** Represents a ClinicalOrganization. */
577
+ class ClinicalOrganization implements IClinicalOrganization {
578
+
579
+ /**
580
+ * Constructs a new ClinicalOrganization.
581
+ * @param [properties] Properties to set
582
+ */
583
+ constructor(properties?: clinical.IClinicalOrganization);
584
+
585
+ /** ClinicalOrganization id. */
586
+ public id: number;
587
+
588
+ /** ClinicalOrganization parentId. */
589
+ public parentId: number;
590
+
591
+ /** ClinicalOrganization alias. */
592
+ public alias: string;
593
+
594
+ /** ClinicalOrganization name. */
595
+ public name: string;
596
+
597
+ /** ClinicalOrganization location. */
598
+ public location?: (clinical.IClinicalOrganizationLocation|null);
599
+
600
+ /** ClinicalOrganization headspaceId. */
601
+ public headspaceId: string;
602
+
603
+ /** ClinicalOrganization headspaceHealthId. */
604
+ public headspaceHealthId: string;
605
+
606
+ /** ClinicalOrganization enableHhConnectedOffering. */
607
+ public enableHhConnectedOffering: boolean;
608
+
609
+ /** ClinicalOrganization salesforceOrgId. */
610
+ public salesforceOrgId: string;
611
+
612
+ /** ClinicalOrganization coverageStartsAt. */
613
+ public coverageStartsAt: (number|Long);
614
+
615
+ /** ClinicalOrganization coverageEndsAt. */
616
+ public coverageEndsAt: (number|Long);
617
+
618
+ /** ClinicalOrganization eligibleEmployeesCount. */
619
+ public eligibleEmployeesCount: number;
620
+
621
+ /** ClinicalOrganization dependentInvitesPerEmployee. */
622
+ public dependentInvitesPerEmployee: number;
623
+
624
+ /** ClinicalOrganization activatedEmployeesCount. */
625
+ public activatedEmployeesCount: number;
626
+
627
+ /** ClinicalOrganization eligibleDependents. */
628
+ public eligibleDependents?: (clinical.IClinicalOrganizationDependents|null);
629
+
630
+ /** ClinicalOrganization activatedDependents. */
631
+ public activatedDependents?: (clinical.IClinicalOrganizationDependents|null);
632
+
633
+ /** ClinicalOrganization allowAnonymousDependents. */
634
+ public allowAnonymousDependents: boolean;
635
+
636
+ /** ClinicalOrganization clinicalCoverageType. */
637
+ public clinicalCoverageType: clinical.ClinicalCoverageType;
638
+
639
+ /** ClinicalOrganization isTaxonomicRoot. */
640
+ public isTaxonomicRoot: boolean;
641
+
642
+ /** ClinicalOrganization taxonomicRootId. */
643
+ public taxonomicRootId: number;
644
+
645
+ /** ClinicalOrganization isEligibilityRoot. */
646
+ public isEligibilityRoot: boolean;
647
+
648
+ /** ClinicalOrganization eligibilityRootId. */
649
+ public eligibilityRootId: number;
650
+
651
+ /** ClinicalOrganization currentEnrollmentFlowType. */
652
+ public currentEnrollmentFlowType: b2b.EnrollmentFlow;
653
+
654
+ /** ClinicalOrganization futureEnrollmentFlowType. */
655
+ public futureEnrollmentFlowType: b2b.EnrollmentFlow;
656
+
657
+ /** ClinicalOrganization futureEnrollmentFlowSubscriptionId. */
658
+ public futureEnrollmentFlowSubscriptionId: string;
659
+
660
+ /**
661
+ * Creates a new ClinicalOrganization instance using the specified properties.
662
+ * @param [properties] Properties to set
663
+ * @returns ClinicalOrganization instance
664
+ */
665
+ public static create(properties?: clinical.IClinicalOrganization): clinical.ClinicalOrganization;
666
+
667
+ /**
668
+ * Encodes the specified ClinicalOrganization message. Does not implicitly {@link clinical.ClinicalOrganization.verify|verify} messages.
669
+ * @param message ClinicalOrganization message or plain object to encode
670
+ * @param [writer] Writer to encode to
671
+ * @returns Writer
672
+ */
673
+ public static encode(message: clinical.IClinicalOrganization, writer?: $protobuf.Writer): $protobuf.Writer;
674
+
675
+ /**
676
+ * Encodes the specified ClinicalOrganization message, length delimited. Does not implicitly {@link clinical.ClinicalOrganization.verify|verify} messages.
677
+ * @param message ClinicalOrganization message or plain object to encode
678
+ * @param [writer] Writer to encode to
679
+ * @returns Writer
680
+ */
681
+ public static encodeDelimited(message: clinical.IClinicalOrganization, writer?: $protobuf.Writer): $protobuf.Writer;
682
+
683
+ /**
684
+ * Decodes a ClinicalOrganization message from the specified reader or buffer.
685
+ * @param reader Reader or buffer to decode from
686
+ * @param [length] Message length if known beforehand
687
+ * @returns ClinicalOrganization
688
+ * @throws {Error} If the payload is not a reader or valid buffer
689
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
690
+ */
691
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.ClinicalOrganization;
692
+
693
+ /**
694
+ * Decodes a ClinicalOrganization message from the specified reader or buffer, length delimited.
695
+ * @param reader Reader or buffer to decode from
696
+ * @returns ClinicalOrganization
697
+ * @throws {Error} If the payload is not a reader or valid buffer
698
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
699
+ */
700
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.ClinicalOrganization;
701
+
702
+ /**
703
+ * Verifies a ClinicalOrganization message.
704
+ * @param message Plain object to verify
705
+ * @returns `null` if valid, otherwise the reason why it is not
706
+ */
707
+ public static verify(message: { [k: string]: any }): (string|null);
708
+
709
+ /**
710
+ * Creates a ClinicalOrganization message from a plain object. Also converts values to their respective internal types.
711
+ * @param object Plain object
712
+ * @returns ClinicalOrganization
713
+ */
714
+ public static fromObject(object: { [k: string]: any }): clinical.ClinicalOrganization;
715
+
716
+ /**
717
+ * Creates a plain object from a ClinicalOrganization message. Also converts values to other types if specified.
718
+ * @param message ClinicalOrganization
719
+ * @param [options] Conversion options
720
+ * @returns Plain object
721
+ */
722
+ public static toObject(message: clinical.ClinicalOrganization, options?: $protobuf.IConversionOptions): { [k: string]: any };
723
+
724
+ /**
725
+ * Converts this ClinicalOrganization to JSON.
726
+ * @returns JSON object
727
+ */
728
+ public toJSON(): { [k: string]: any };
729
+ }
730
+
731
+ /** Properties of a ClinicalOrganizationLocation. */
732
+ interface IClinicalOrganizationLocation {
733
+
734
+ /** ClinicalOrganizationLocation office */
735
+ office?: (string|null);
736
+
737
+ /** ClinicalOrganizationLocation state */
738
+ state?: (string|null);
739
+
740
+ /** ClinicalOrganizationLocation country */
741
+ country?: (string|null);
742
+ }
743
+
744
+ /** Represents a ClinicalOrganizationLocation. */
745
+ class ClinicalOrganizationLocation implements IClinicalOrganizationLocation {
746
+
747
+ /**
748
+ * Constructs a new ClinicalOrganizationLocation.
749
+ * @param [properties] Properties to set
750
+ */
751
+ constructor(properties?: clinical.IClinicalOrganizationLocation);
752
+
753
+ /** ClinicalOrganizationLocation office. */
754
+ public office: string;
755
+
756
+ /** ClinicalOrganizationLocation state. */
757
+ public state: string;
758
+
759
+ /** ClinicalOrganizationLocation country. */
760
+ public country: string;
761
+
762
+ /**
763
+ * Creates a new ClinicalOrganizationLocation instance using the specified properties.
764
+ * @param [properties] Properties to set
765
+ * @returns ClinicalOrganizationLocation instance
766
+ */
767
+ public static create(properties?: clinical.IClinicalOrganizationLocation): clinical.ClinicalOrganizationLocation;
768
+
769
+ /**
770
+ * Encodes the specified ClinicalOrganizationLocation message. Does not implicitly {@link clinical.ClinicalOrganizationLocation.verify|verify} messages.
771
+ * @param message ClinicalOrganizationLocation message or plain object to encode
772
+ * @param [writer] Writer to encode to
773
+ * @returns Writer
774
+ */
775
+ public static encode(message: clinical.IClinicalOrganizationLocation, writer?: $protobuf.Writer): $protobuf.Writer;
776
+
777
+ /**
778
+ * Encodes the specified ClinicalOrganizationLocation message, length delimited. Does not implicitly {@link clinical.ClinicalOrganizationLocation.verify|verify} messages.
779
+ * @param message ClinicalOrganizationLocation message or plain object to encode
780
+ * @param [writer] Writer to encode to
781
+ * @returns Writer
782
+ */
783
+ public static encodeDelimited(message: clinical.IClinicalOrganizationLocation, writer?: $protobuf.Writer): $protobuf.Writer;
784
+
785
+ /**
786
+ * Decodes a ClinicalOrganizationLocation message from the specified reader or buffer.
787
+ * @param reader Reader or buffer to decode from
788
+ * @param [length] Message length if known beforehand
789
+ * @returns ClinicalOrganizationLocation
790
+ * @throws {Error} If the payload is not a reader or valid buffer
791
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
792
+ */
793
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.ClinicalOrganizationLocation;
794
+
795
+ /**
796
+ * Decodes a ClinicalOrganizationLocation message from the specified reader or buffer, length delimited.
797
+ * @param reader Reader or buffer to decode from
798
+ * @returns ClinicalOrganizationLocation
799
+ * @throws {Error} If the payload is not a reader or valid buffer
800
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
801
+ */
802
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.ClinicalOrganizationLocation;
803
+
804
+ /**
805
+ * Verifies a ClinicalOrganizationLocation message.
806
+ * @param message Plain object to verify
807
+ * @returns `null` if valid, otherwise the reason why it is not
808
+ */
809
+ public static verify(message: { [k: string]: any }): (string|null);
810
+
811
+ /**
812
+ * Creates a ClinicalOrganizationLocation message from a plain object. Also converts values to their respective internal types.
813
+ * @param object Plain object
814
+ * @returns ClinicalOrganizationLocation
815
+ */
816
+ public static fromObject(object: { [k: string]: any }): clinical.ClinicalOrganizationLocation;
817
+
818
+ /**
819
+ * Creates a plain object from a ClinicalOrganizationLocation message. Also converts values to other types if specified.
820
+ * @param message ClinicalOrganizationLocation
821
+ * @param [options] Conversion options
822
+ * @returns Plain object
823
+ */
824
+ public static toObject(message: clinical.ClinicalOrganizationLocation, options?: $protobuf.IConversionOptions): { [k: string]: any };
825
+
826
+ /**
827
+ * Converts this ClinicalOrganizationLocation to JSON.
828
+ * @returns JSON object
829
+ */
830
+ public toJSON(): { [k: string]: any };
831
+ }
832
+
833
+ /** ClinicalCoverageType enum. */
834
+ enum ClinicalCoverageType {
835
+ CLINICAL_COVERAGE_TYPE_UNKNOWN = 0,
836
+ CLINICAL_COVERAGE_TYPE_COVERED = 1,
837
+ CLINICAL_COVERAGE_TYPE_IN_NETWORK = 2,
838
+ CLINICAL_COVERAGE_TYPE_MIXED_NETWORK = 3,
839
+ CLINICAL_COVERAGE_TYPE_OOP = 4,
840
+ CLINICAL_COVERAGE_TYPE_UNAVAILABLE = 5,
841
+ CLINICAL_COVERAGE_TYPE_CUSTOM_NETWORK = 6
842
+ }
843
+
844
+ /** Properties of a ClinicalOrganizationDependents. */
845
+ interface IClinicalOrganizationDependents {
846
+
847
+ /** ClinicalOrganizationDependents explicitDependentCount */
848
+ explicitDependentCount?: (number|null);
849
+
850
+ /** ClinicalOrganizationDependents anonymousDependentCount */
851
+ anonymousDependentCount?: (number|null);
852
+ }
853
+
854
+ /** Represents a ClinicalOrganizationDependents. */
855
+ class ClinicalOrganizationDependents implements IClinicalOrganizationDependents {
856
+
857
+ /**
858
+ * Constructs a new ClinicalOrganizationDependents.
859
+ * @param [properties] Properties to set
860
+ */
861
+ constructor(properties?: clinical.IClinicalOrganizationDependents);
862
+
863
+ /** ClinicalOrganizationDependents explicitDependentCount. */
864
+ public explicitDependentCount: number;
865
+
866
+ /** ClinicalOrganizationDependents anonymousDependentCount. */
867
+ public anonymousDependentCount: number;
868
+
869
+ /**
870
+ * Creates a new ClinicalOrganizationDependents instance using the specified properties.
871
+ * @param [properties] Properties to set
872
+ * @returns ClinicalOrganizationDependents instance
873
+ */
874
+ public static create(properties?: clinical.IClinicalOrganizationDependents): clinical.ClinicalOrganizationDependents;
875
+
876
+ /**
877
+ * Encodes the specified ClinicalOrganizationDependents message. Does not implicitly {@link clinical.ClinicalOrganizationDependents.verify|verify} messages.
878
+ * @param message ClinicalOrganizationDependents message or plain object to encode
879
+ * @param [writer] Writer to encode to
880
+ * @returns Writer
881
+ */
882
+ public static encode(message: clinical.IClinicalOrganizationDependents, writer?: $protobuf.Writer): $protobuf.Writer;
883
+
884
+ /**
885
+ * Encodes the specified ClinicalOrganizationDependents message, length delimited. Does not implicitly {@link clinical.ClinicalOrganizationDependents.verify|verify} messages.
886
+ * @param message ClinicalOrganizationDependents message or plain object to encode
887
+ * @param [writer] Writer to encode to
888
+ * @returns Writer
889
+ */
890
+ public static encodeDelimited(message: clinical.IClinicalOrganizationDependents, writer?: $protobuf.Writer): $protobuf.Writer;
891
+
892
+ /**
893
+ * Decodes a ClinicalOrganizationDependents message from the specified reader or buffer.
894
+ * @param reader Reader or buffer to decode from
895
+ * @param [length] Message length if known beforehand
896
+ * @returns ClinicalOrganizationDependents
897
+ * @throws {Error} If the payload is not a reader or valid buffer
898
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
899
+ */
900
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.ClinicalOrganizationDependents;
901
+
902
+ /**
903
+ * Decodes a ClinicalOrganizationDependents message from the specified reader or buffer, length delimited.
904
+ * @param reader Reader or buffer to decode from
905
+ * @returns ClinicalOrganizationDependents
906
+ * @throws {Error} If the payload is not a reader or valid buffer
907
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
908
+ */
909
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.ClinicalOrganizationDependents;
910
+
911
+ /**
912
+ * Verifies a ClinicalOrganizationDependents message.
913
+ * @param message Plain object to verify
914
+ * @returns `null` if valid, otherwise the reason why it is not
915
+ */
916
+ public static verify(message: { [k: string]: any }): (string|null);
917
+
918
+ /**
919
+ * Creates a ClinicalOrganizationDependents message from a plain object. Also converts values to their respective internal types.
920
+ * @param object Plain object
921
+ * @returns ClinicalOrganizationDependents
922
+ */
923
+ public static fromObject(object: { [k: string]: any }): clinical.ClinicalOrganizationDependents;
924
+
925
+ /**
926
+ * Creates a plain object from a ClinicalOrganizationDependents message. Also converts values to other types if specified.
927
+ * @param message ClinicalOrganizationDependents
928
+ * @param [options] Conversion options
929
+ * @returns Plain object
930
+ */
931
+ public static toObject(message: clinical.ClinicalOrganizationDependents, options?: $protobuf.IConversionOptions): { [k: string]: any };
932
+
933
+ /**
934
+ * Converts this ClinicalOrganizationDependents to JSON.
935
+ * @returns JSON object
936
+ */
937
+ public toJSON(): { [k: string]: any };
938
+ }
939
+
940
+ /** Properties of a ClinicalSurvey. */
941
+ interface IClinicalSurvey {
942
+
943
+ /** ClinicalSurvey id */
944
+ id?: (number|null);
945
+
946
+ /** ClinicalSurvey gingerUserId */
947
+ gingerUserId?: (number|null);
948
+
949
+ /** ClinicalSurvey createdAt */
950
+ createdAt?: (number|Long|null);
951
+
952
+ /** ClinicalSurvey updatedAt */
953
+ updatedAt?: (number|Long|null);
954
+
955
+ /** ClinicalSurvey assignedAt */
956
+ assignedAt?: (number|Long|null);
957
+
958
+ /** ClinicalSurvey completedAt */
959
+ completedAt?: (number|Long|null);
960
+
961
+ /** ClinicalSurvey type */
962
+ type?: (clinical.ClinicalSurveyType|null);
963
+
964
+ /** ClinicalSurvey score */
965
+ score?: (number|null);
966
+
967
+ /** ClinicalSurvey hsUserId */
968
+ hsUserId?: (string|null);
969
+ }
970
+
971
+ /** Represents a ClinicalSurvey. */
972
+ class ClinicalSurvey implements IClinicalSurvey {
973
+
974
+ /**
975
+ * Constructs a new ClinicalSurvey.
976
+ * @param [properties] Properties to set
977
+ */
978
+ constructor(properties?: clinical.IClinicalSurvey);
979
+
980
+ /** ClinicalSurvey id. */
981
+ public id: number;
982
+
983
+ /** ClinicalSurvey gingerUserId. */
984
+ public gingerUserId: number;
985
+
986
+ /** ClinicalSurvey createdAt. */
987
+ public createdAt: (number|Long);
988
+
989
+ /** ClinicalSurvey updatedAt. */
990
+ public updatedAt: (number|Long);
991
+
992
+ /** ClinicalSurvey assignedAt. */
993
+ public assignedAt: (number|Long);
994
+
995
+ /** ClinicalSurvey completedAt. */
996
+ public completedAt: (number|Long);
997
+
998
+ /** ClinicalSurvey type. */
999
+ public type: clinical.ClinicalSurveyType;
1000
+
1001
+ /** ClinicalSurvey score. */
1002
+ public score: number;
1003
+
1004
+ /** ClinicalSurvey hsUserId. */
1005
+ public hsUserId: string;
1006
+
1007
+ /**
1008
+ * Creates a new ClinicalSurvey instance using the specified properties.
1009
+ * @param [properties] Properties to set
1010
+ * @returns ClinicalSurvey instance
1011
+ */
1012
+ public static create(properties?: clinical.IClinicalSurvey): clinical.ClinicalSurvey;
1013
+
1014
+ /**
1015
+ * Encodes the specified ClinicalSurvey message. Does not implicitly {@link clinical.ClinicalSurvey.verify|verify} messages.
1016
+ * @param message ClinicalSurvey message or plain object to encode
1017
+ * @param [writer] Writer to encode to
1018
+ * @returns Writer
1019
+ */
1020
+ public static encode(message: clinical.IClinicalSurvey, writer?: $protobuf.Writer): $protobuf.Writer;
1021
+
1022
+ /**
1023
+ * Encodes the specified ClinicalSurvey message, length delimited. Does not implicitly {@link clinical.ClinicalSurvey.verify|verify} messages.
1024
+ * @param message ClinicalSurvey message or plain object to encode
1025
+ * @param [writer] Writer to encode to
1026
+ * @returns Writer
1027
+ */
1028
+ public static encodeDelimited(message: clinical.IClinicalSurvey, writer?: $protobuf.Writer): $protobuf.Writer;
1029
+
1030
+ /**
1031
+ * Decodes a ClinicalSurvey message from the specified reader or buffer.
1032
+ * @param reader Reader or buffer to decode from
1033
+ * @param [length] Message length if known beforehand
1034
+ * @returns ClinicalSurvey
1035
+ * @throws {Error} If the payload is not a reader or valid buffer
1036
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1037
+ */
1038
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.ClinicalSurvey;
1039
+
1040
+ /**
1041
+ * Decodes a ClinicalSurvey message from the specified reader or buffer, length delimited.
1042
+ * @param reader Reader or buffer to decode from
1043
+ * @returns ClinicalSurvey
1044
+ * @throws {Error} If the payload is not a reader or valid buffer
1045
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1046
+ */
1047
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.ClinicalSurvey;
1048
+
1049
+ /**
1050
+ * Verifies a ClinicalSurvey message.
1051
+ * @param message Plain object to verify
1052
+ * @returns `null` if valid, otherwise the reason why it is not
1053
+ */
1054
+ public static verify(message: { [k: string]: any }): (string|null);
1055
+
1056
+ /**
1057
+ * Creates a ClinicalSurvey message from a plain object. Also converts values to their respective internal types.
1058
+ * @param object Plain object
1059
+ * @returns ClinicalSurvey
1060
+ */
1061
+ public static fromObject(object: { [k: string]: any }): clinical.ClinicalSurvey;
1062
+
1063
+ /**
1064
+ * Creates a plain object from a ClinicalSurvey message. Also converts values to other types if specified.
1065
+ * @param message ClinicalSurvey
1066
+ * @param [options] Conversion options
1067
+ * @returns Plain object
1068
+ */
1069
+ public static toObject(message: clinical.ClinicalSurvey, options?: $protobuf.IConversionOptions): { [k: string]: any };
1070
+
1071
+ /**
1072
+ * Converts this ClinicalSurvey to JSON.
1073
+ * @returns JSON object
1074
+ */
1075
+ public toJSON(): { [k: string]: any };
1076
+ }
1077
+
1078
+ /** ClinicalSurveyType enum. */
1079
+ enum ClinicalSurveyType {
1080
+ CLINICAL_SURVEY_TYPE_UNKNOWN = 0,
1081
+ CLINICAL_SURVEY_TYPE_PHQ9 = 1,
1082
+ CLINICAL_SURVEY_TYPE_GAD7 = 2
1083
+ }
1084
+
1085
+ /** Properties of a ClinicianLicense. */
1086
+ interface IClinicianLicense {
1087
+
1088
+ /** State that issued the License in two characters format. */
1089
+ stateLocation?: (string|null);
1090
+ }
1091
+
1092
+ /** Represents a ClinicianLicense. */
1093
+ class ClinicianLicense implements IClinicianLicense {
1094
+
1095
+ /**
1096
+ * Constructs a new ClinicianLicense.
1097
+ * @param [properties] Properties to set
1098
+ */
1099
+ constructor(properties?: clinical.IClinicianLicense);
1100
+
1101
+ /** State that issued the License in two characters format. */
1102
+ public stateLocation: string;
1103
+
1104
+ /**
1105
+ * Creates a new ClinicianLicense instance using the specified properties.
1106
+ * @param [properties] Properties to set
1107
+ * @returns ClinicianLicense instance
1108
+ */
1109
+ public static create(properties?: clinical.IClinicianLicense): clinical.ClinicianLicense;
1110
+
1111
+ /**
1112
+ * Encodes the specified ClinicianLicense message. Does not implicitly {@link clinical.ClinicianLicense.verify|verify} messages.
1113
+ * @param message ClinicianLicense message or plain object to encode
1114
+ * @param [writer] Writer to encode to
1115
+ * @returns Writer
1116
+ */
1117
+ public static encode(message: clinical.IClinicianLicense, writer?: $protobuf.Writer): $protobuf.Writer;
1118
+
1119
+ /**
1120
+ * Encodes the specified ClinicianLicense message, length delimited. Does not implicitly {@link clinical.ClinicianLicense.verify|verify} messages.
1121
+ * @param message ClinicianLicense message or plain object to encode
1122
+ * @param [writer] Writer to encode to
1123
+ * @returns Writer
1124
+ */
1125
+ public static encodeDelimited(message: clinical.IClinicianLicense, writer?: $protobuf.Writer): $protobuf.Writer;
1126
+
1127
+ /**
1128
+ * Decodes a ClinicianLicense message from the specified reader or buffer.
1129
+ * @param reader Reader or buffer to decode from
1130
+ * @param [length] Message length if known beforehand
1131
+ * @returns ClinicianLicense
1132
+ * @throws {Error} If the payload is not a reader or valid buffer
1133
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1134
+ */
1135
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.ClinicianLicense;
1136
+
1137
+ /**
1138
+ * Decodes a ClinicianLicense message from the specified reader or buffer, length delimited.
1139
+ * @param reader Reader or buffer to decode from
1140
+ * @returns ClinicianLicense
1141
+ * @throws {Error} If the payload is not a reader or valid buffer
1142
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1143
+ */
1144
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.ClinicianLicense;
1145
+
1146
+ /**
1147
+ * Verifies a ClinicianLicense message.
1148
+ * @param message Plain object to verify
1149
+ * @returns `null` if valid, otherwise the reason why it is not
1150
+ */
1151
+ public static verify(message: { [k: string]: any }): (string|null);
1152
+
1153
+ /**
1154
+ * Creates a ClinicianLicense message from a plain object. Also converts values to their respective internal types.
1155
+ * @param object Plain object
1156
+ * @returns ClinicianLicense
1157
+ */
1158
+ public static fromObject(object: { [k: string]: any }): clinical.ClinicianLicense;
1159
+
1160
+ /**
1161
+ * Creates a plain object from a ClinicianLicense message. Also converts values to other types if specified.
1162
+ * @param message ClinicianLicense
1163
+ * @param [options] Conversion options
1164
+ * @returns Plain object
1165
+ */
1166
+ public static toObject(message: clinical.ClinicianLicense, options?: $protobuf.IConversionOptions): { [k: string]: any };
1167
+
1168
+ /**
1169
+ * Converts this ClinicianLicense to JSON.
1170
+ * @returns JSON object
1171
+ */
1172
+ public toJSON(): { [k: string]: any };
1173
+ }
1174
+
1175
+ /** Properties of a Clinician. */
1176
+ interface IClinician {
1177
+
1178
+ /** Clinician id. NOT ginger user id! */
1179
+ id?: (string|null);
1180
+
1181
+ /** Clinician type. Therapist or psychiatrist */
1182
+ type?: (clinical.ClinicianType|null);
1183
+
1184
+ /** Clinician createdAt */
1185
+ createdAt?: (number|Long|null);
1186
+
1187
+ /** Clinician updatedAt */
1188
+ updatedAt?: (number|Long|null);
1189
+
1190
+ /** Clinician status */
1191
+ status?: (clinical.ClinicianStatus|null);
1192
+
1193
+ /** Clinician timezone */
1194
+ timezone?: (string|null);
1195
+
1196
+ /** Clinician maxApptPerWeek */
1197
+ maxApptPerWeek?: (number|null);
1198
+
1199
+ /** Clinician fullTimeCommitment */
1200
+ fullTimeCommitment?: (clinical.TimeCommitmentType|null);
1201
+
1202
+ /** Clinician workingDaysPerWeek */
1203
+ workingDaysPerWeek?: (clinical.WorkingDaysPerWeek|null);
1204
+
1205
+ /** Clinician employmentType */
1206
+ employmentType?: (clinical.EmploymentType|null);
1207
+
1208
+ /** Clinician availabilityEnabled */
1209
+ availabilityEnabled?: (boolean|null);
1210
+
1211
+ /** Clinician acceptNewPatients */
1212
+ acceptNewPatients?: (boolean|null);
1213
+
1214
+ /** Clinician validLicenses */
1215
+ validLicenses?: (clinical.IClinicianLicense[]|null);
1216
+
1217
+ /** Clinician nonStandardProviderRole */
1218
+ nonStandardProviderRole?: (clinical.NonStandardProviderRole|null);
1219
+
1220
+ /** Clinician fullName */
1221
+ fullName?: (string|null);
1222
+
1223
+ /** Clinician specializations */
1224
+ specializations?: (string[]|null);
1225
+
1226
+ /** Clinician aboutMe */
1227
+ aboutMe?: (string|null);
1228
+
1229
+ /** Clinician education */
1230
+ education?: (string|null);
1231
+
1232
+ /** Clinician email */
1233
+ email?: (string|null);
1234
+ }
1235
+
1236
+ /** Represents a Clinician. */
1237
+ class Clinician implements IClinician {
1238
+
1239
+ /**
1240
+ * Constructs a new Clinician.
1241
+ * @param [properties] Properties to set
1242
+ */
1243
+ constructor(properties?: clinical.IClinician);
1244
+
1245
+ /** Clinician id. NOT ginger user id! */
1246
+ public id: string;
1247
+
1248
+ /** Clinician type. Therapist or psychiatrist */
1249
+ public type: clinical.ClinicianType;
1250
+
1251
+ /** Clinician createdAt. */
1252
+ public createdAt: (number|Long);
1253
+
1254
+ /** Clinician updatedAt. */
1255
+ public updatedAt: (number|Long);
1256
+
1257
+ /** Clinician status. */
1258
+ public status: clinical.ClinicianStatus;
1259
+
1260
+ /** Clinician timezone. */
1261
+ public timezone: string;
1262
+
1263
+ /** Clinician maxApptPerWeek. */
1264
+ public maxApptPerWeek: number;
1265
+
1266
+ /** Clinician fullTimeCommitment. */
1267
+ public fullTimeCommitment: clinical.TimeCommitmentType;
1268
+
1269
+ /** Clinician workingDaysPerWeek. */
1270
+ public workingDaysPerWeek: clinical.WorkingDaysPerWeek;
1271
+
1272
+ /** Clinician employmentType. */
1273
+ public employmentType: clinical.EmploymentType;
1274
+
1275
+ /** Clinician availabilityEnabled. */
1276
+ public availabilityEnabled: boolean;
1277
+
1278
+ /** Clinician acceptNewPatients. */
1279
+ public acceptNewPatients: boolean;
1280
+
1281
+ /** Clinician validLicenses. */
1282
+ public validLicenses: clinical.IClinicianLicense[];
1283
+
1284
+ /** Clinician nonStandardProviderRole. */
1285
+ public nonStandardProviderRole: clinical.NonStandardProviderRole;
1286
+
1287
+ /** Clinician fullName. */
1288
+ public fullName: string;
1289
+
1290
+ /** Clinician specializations. */
1291
+ public specializations: string[];
1292
+
1293
+ /** Clinician aboutMe. */
1294
+ public aboutMe: string;
1295
+
1296
+ /** Clinician education. */
1297
+ public education: string;
1298
+
1299
+ /** Clinician email. */
1300
+ public email: string;
1301
+
1302
+ /**
1303
+ * Creates a new Clinician instance using the specified properties.
1304
+ * @param [properties] Properties to set
1305
+ * @returns Clinician instance
1306
+ */
1307
+ public static create(properties?: clinical.IClinician): clinical.Clinician;
1308
+
1309
+ /**
1310
+ * Encodes the specified Clinician message. Does not implicitly {@link clinical.Clinician.verify|verify} messages.
1311
+ * @param message Clinician message or plain object to encode
1312
+ * @param [writer] Writer to encode to
1313
+ * @returns Writer
1314
+ */
1315
+ public static encode(message: clinical.IClinician, writer?: $protobuf.Writer): $protobuf.Writer;
1316
+
1317
+ /**
1318
+ * Encodes the specified Clinician message, length delimited. Does not implicitly {@link clinical.Clinician.verify|verify} messages.
1319
+ * @param message Clinician message or plain object to encode
1320
+ * @param [writer] Writer to encode to
1321
+ * @returns Writer
1322
+ */
1323
+ public static encodeDelimited(message: clinical.IClinician, writer?: $protobuf.Writer): $protobuf.Writer;
1324
+
1325
+ /**
1326
+ * Decodes a Clinician message from the specified reader or buffer.
1327
+ * @param reader Reader or buffer to decode from
1328
+ * @param [length] Message length if known beforehand
1329
+ * @returns Clinician
1330
+ * @throws {Error} If the payload is not a reader or valid buffer
1331
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1332
+ */
1333
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.Clinician;
1334
+
1335
+ /**
1336
+ * Decodes a Clinician message from the specified reader or buffer, length delimited.
1337
+ * @param reader Reader or buffer to decode from
1338
+ * @returns Clinician
1339
+ * @throws {Error} If the payload is not a reader or valid buffer
1340
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1341
+ */
1342
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.Clinician;
1343
+
1344
+ /**
1345
+ * Verifies a Clinician message.
1346
+ * @param message Plain object to verify
1347
+ * @returns `null` if valid, otherwise the reason why it is not
1348
+ */
1349
+ public static verify(message: { [k: string]: any }): (string|null);
1350
+
1351
+ /**
1352
+ * Creates a Clinician message from a plain object. Also converts values to their respective internal types.
1353
+ * @param object Plain object
1354
+ * @returns Clinician
1355
+ */
1356
+ public static fromObject(object: { [k: string]: any }): clinical.Clinician;
1357
+
1358
+ /**
1359
+ * Creates a plain object from a Clinician message. Also converts values to other types if specified.
1360
+ * @param message Clinician
1361
+ * @param [options] Conversion options
1362
+ * @returns Plain object
1363
+ */
1364
+ public static toObject(message: clinical.Clinician, options?: $protobuf.IConversionOptions): { [k: string]: any };
1365
+
1366
+ /**
1367
+ * Converts this Clinician to JSON.
1368
+ * @returns JSON object
1369
+ */
1370
+ public toJSON(): { [k: string]: any };
1371
+ }
1372
+
1373
+ /** ClinicianType enum. */
1374
+ enum ClinicianType {
1375
+ CLINICIAN_TYPE_UNKNOWN = 0,
1376
+ CLINICIAN_TYPE_THERAPIST = 1,
1377
+ CLINICIAN_TYPE_PSYCHIATRIST = 2
1378
+ }
1379
+
1380
+ /** ClinicianStatus enum. */
1381
+ enum ClinicianStatus {
1382
+ CLINICIAN_STATUS_UNKNOWN = 0,
1383
+ CLINICIAN_STATUS_ACTIVE = 1,
1384
+ CLINICIAN_STATUS_INACTIVE = 2,
1385
+ CLINICIAN_STATUS_ONBOARDING = 3,
1386
+ CLINICIAN_STATUS_OFFBOARDING = 4
1387
+ }
1388
+
1389
+ /** TimeCommitmentType enum. */
1390
+ enum TimeCommitmentType {
1391
+ TIME_COMMITMENT_TYPE_UNKNOWN = 0,
1392
+ TIME_COMMITMENT_TYPE_T20 = 1,
1393
+ TIME_COMMITMENT_TYPE_M30 = 2,
1394
+ TIME_COMMITMENT_TYPE_F40 = 3
1395
+ }
1396
+
1397
+ /** WorkingDaysPerWeek enum. */
1398
+ enum WorkingDaysPerWeek {
1399
+ WORKING_DAYS_PER_WEEK_UNKNOWN = 0,
1400
+ WORKING_DAYS_PER_WEEK_TWO = 1,
1401
+ WORKING_DAYS_PER_WEEK_THREE = 2,
1402
+ WORKING_DAYS_PER_WEEK_FOUR = 3,
1403
+ WORKING_DAYS_PER_WEEK_FIVE = 4
1404
+ }
1405
+
1406
+ /** EmploymentType enum. */
1407
+ enum EmploymentType {
1408
+ EMPLOYMENT_TYPE_UNKNOWN = 0,
1409
+ EMPLOYMENT_TYPE_W2 = 1,
1410
+ EMPLOYMENT_TYPE_F1099 = 2
1411
+ }
1412
+
1413
+ /** NonStandardProviderRole enum. */
1414
+ enum NonStandardProviderRole {
1415
+ NON_STANDARD_PROVIDER_ROLE_UNKNOWN = 0,
1416
+ NON_STANDARD_PROVIDER_ROLE_GTI = 1,
1417
+ NON_STANDARD_PROVIDER_ROLE_CLINICAL_OPS = 2,
1418
+ NON_STANDARD_PROVIDER_ROLE_CLINICAL_QA = 3,
1419
+ NON_STANDARD_PROVIDER_ROLE_THERAPY_MANAGER = 4,
1420
+ NON_STANDARD_PROVIDER_ROLE_SR_THERAPY_MANAGER = 5,
1421
+ NON_STANDARD_PROVIDER_ROLE_TEST = 6
1422
+ }
1423
+
1424
+ /** Properties of a Coach. */
1425
+ interface ICoach {
1426
+
1427
+ /** Coach id. NOT ginger user id! */
1428
+ id?: (string|null);
1429
+
1430
+ /** Coach createdAt */
1431
+ createdAt?: (number|Long|null);
1432
+
1433
+ /** Coach updatedAt */
1434
+ updatedAt?: (number|Long|null);
1435
+
1436
+ /** Coach deprecatedRoles */
1437
+ deprecatedRoles?: (clinical.CoachRoleType[]|null);
1438
+
1439
+ /** Coach roles */
1440
+ roles?: (clinical.ICoachRole[]|null);
1441
+
1442
+ /**
1443
+ * Coaches can have multiple specializations.
1444
+ * This list will be ordered by specialization creation time, which is inferred by id.
1445
+ */
1446
+ specializations?: (clinical.CoachSpecializationType[]|null);
1447
+
1448
+ /** Coach deprecatedSpecializations */
1449
+ deprecatedSpecializations?: (clinical.ICoachSpecialization[]|null);
1450
+
1451
+ /** Coach timezone */
1452
+ timezone?: (string|null);
1453
+
1454
+ /** Coach isActive */
1455
+ isActive?: (boolean|null);
1456
+
1457
+ /**
1458
+ * A float in the range [0.0, 1.0]
1459
+ * Used to indicate the ability to accept intakes.
1460
+ * 0.0 means not accepting intakes and is used for new coaches.
1461
+ * Any value greater than 0.0 indicates the Listener is accepting new patients.
1462
+ * Seasoned coaches will be at 0.7-1.0.
1463
+ * Default is 0.5.
1464
+ */
1465
+ capacity?: (number|null);
1466
+
1467
+ /** Coach fullName */
1468
+ fullName?: (string|null);
1469
+
1470
+ /** Coach email */
1471
+ email?: (string|null);
1472
+ }
1473
+
1474
+ /** Represents a Coach. */
1475
+ class Coach implements ICoach {
1476
+
1477
+ /**
1478
+ * Constructs a new Coach.
1479
+ * @param [properties] Properties to set
1480
+ */
1481
+ constructor(properties?: clinical.ICoach);
1482
+
1483
+ /** Coach id. NOT ginger user id! */
1484
+ public id: string;
1485
+
1486
+ /** Coach createdAt. */
1487
+ public createdAt: (number|Long);
1488
+
1489
+ /** Coach updatedAt. */
1490
+ public updatedAt: (number|Long);
1491
+
1492
+ /** Coach deprecatedRoles. */
1493
+ public deprecatedRoles: clinical.CoachRoleType[];
1494
+
1495
+ /** Coach roles. */
1496
+ public roles: clinical.ICoachRole[];
1497
+
1498
+ /**
1499
+ * Coaches can have multiple specializations.
1500
+ * This list will be ordered by specialization creation time, which is inferred by id.
1501
+ */
1502
+ public specializations: clinical.CoachSpecializationType[];
1503
+
1504
+ /** Coach deprecatedSpecializations. */
1505
+ public deprecatedSpecializations: clinical.ICoachSpecialization[];
1506
+
1507
+ /** Coach timezone. */
1508
+ public timezone: string;
1509
+
1510
+ /** Coach isActive. */
1511
+ public isActive: boolean;
1512
+
1513
+ /**
1514
+ * A float in the range [0.0, 1.0]
1515
+ * Used to indicate the ability to accept intakes.
1516
+ * 0.0 means not accepting intakes and is used for new coaches.
1517
+ * Any value greater than 0.0 indicates the Listener is accepting new patients.
1518
+ * Seasoned coaches will be at 0.7-1.0.
1519
+ * Default is 0.5.
1520
+ */
1521
+ public capacity: number;
1522
+
1523
+ /** Coach fullName. */
1524
+ public fullName: string;
1525
+
1526
+ /** Coach email. */
1527
+ public email: string;
1528
+
1529
+ /**
1530
+ * Creates a new Coach instance using the specified properties.
1531
+ * @param [properties] Properties to set
1532
+ * @returns Coach instance
1533
+ */
1534
+ public static create(properties?: clinical.ICoach): clinical.Coach;
1535
+
1536
+ /**
1537
+ * Encodes the specified Coach message. Does not implicitly {@link clinical.Coach.verify|verify} messages.
1538
+ * @param message Coach message or plain object to encode
1539
+ * @param [writer] Writer to encode to
1540
+ * @returns Writer
1541
+ */
1542
+ public static encode(message: clinical.ICoach, writer?: $protobuf.Writer): $protobuf.Writer;
1543
+
1544
+ /**
1545
+ * Encodes the specified Coach message, length delimited. Does not implicitly {@link clinical.Coach.verify|verify} messages.
1546
+ * @param message Coach message or plain object to encode
1547
+ * @param [writer] Writer to encode to
1548
+ * @returns Writer
1549
+ */
1550
+ public static encodeDelimited(message: clinical.ICoach, writer?: $protobuf.Writer): $protobuf.Writer;
1551
+
1552
+ /**
1553
+ * Decodes a Coach message from the specified reader or buffer.
1554
+ * @param reader Reader or buffer to decode from
1555
+ * @param [length] Message length if known beforehand
1556
+ * @returns Coach
1557
+ * @throws {Error} If the payload is not a reader or valid buffer
1558
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1559
+ */
1560
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.Coach;
1561
+
1562
+ /**
1563
+ * Decodes a Coach message from the specified reader or buffer, length delimited.
1564
+ * @param reader Reader or buffer to decode from
1565
+ * @returns Coach
1566
+ * @throws {Error} If the payload is not a reader or valid buffer
1567
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1568
+ */
1569
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.Coach;
1570
+
1571
+ /**
1572
+ * Verifies a Coach message.
1573
+ * @param message Plain object to verify
1574
+ * @returns `null` if valid, otherwise the reason why it is not
1575
+ */
1576
+ public static verify(message: { [k: string]: any }): (string|null);
1577
+
1578
+ /**
1579
+ * Creates a Coach message from a plain object. Also converts values to their respective internal types.
1580
+ * @param object Plain object
1581
+ * @returns Coach
1582
+ */
1583
+ public static fromObject(object: { [k: string]: any }): clinical.Coach;
1584
+
1585
+ /**
1586
+ * Creates a plain object from a Coach message. Also converts values to other types if specified.
1587
+ * @param message Coach
1588
+ * @param [options] Conversion options
1589
+ * @returns Plain object
1590
+ */
1591
+ public static toObject(message: clinical.Coach, options?: $protobuf.IConversionOptions): { [k: string]: any };
1592
+
1593
+ /**
1594
+ * Converts this Coach to JSON.
1595
+ * @returns JSON object
1596
+ */
1597
+ public toJSON(): { [k: string]: any };
1598
+ }
1599
+
1600
+ /** Properties of a CoachSpecialization. */
1601
+ interface ICoachSpecialization {
1602
+
1603
+ /** CoachSpecialization createdAt */
1604
+ createdAt?: (number|Long|null);
1605
+
1606
+ /** CoachSpecialization specialization */
1607
+ specialization?: (clinical.CoachSpecializationType|null);
1608
+ }
1609
+
1610
+ /** Deprecated message, as we do not have access to created_at for ListenerSpecialization */
1611
+ class CoachSpecialization implements ICoachSpecialization {
1612
+
1613
+ /**
1614
+ * Constructs a new CoachSpecialization.
1615
+ * @param [properties] Properties to set
1616
+ */
1617
+ constructor(properties?: clinical.ICoachSpecialization);
1618
+
1619
+ /** CoachSpecialization createdAt. */
1620
+ public createdAt: (number|Long);
1621
+
1622
+ /** CoachSpecialization specialization. */
1623
+ public specialization: clinical.CoachSpecializationType;
1624
+
1625
+ /**
1626
+ * Creates a new CoachSpecialization instance using the specified properties.
1627
+ * @param [properties] Properties to set
1628
+ * @returns CoachSpecialization instance
1629
+ */
1630
+ public static create(properties?: clinical.ICoachSpecialization): clinical.CoachSpecialization;
1631
+
1632
+ /**
1633
+ * Encodes the specified CoachSpecialization message. Does not implicitly {@link clinical.CoachSpecialization.verify|verify} messages.
1634
+ * @param message CoachSpecialization message or plain object to encode
1635
+ * @param [writer] Writer to encode to
1636
+ * @returns Writer
1637
+ */
1638
+ public static encode(message: clinical.ICoachSpecialization, writer?: $protobuf.Writer): $protobuf.Writer;
1639
+
1640
+ /**
1641
+ * Encodes the specified CoachSpecialization message, length delimited. Does not implicitly {@link clinical.CoachSpecialization.verify|verify} messages.
1642
+ * @param message CoachSpecialization message or plain object to encode
1643
+ * @param [writer] Writer to encode to
1644
+ * @returns Writer
1645
+ */
1646
+ public static encodeDelimited(message: clinical.ICoachSpecialization, writer?: $protobuf.Writer): $protobuf.Writer;
1647
+
1648
+ /**
1649
+ * Decodes a CoachSpecialization message from the specified reader or buffer.
1650
+ * @param reader Reader or buffer to decode from
1651
+ * @param [length] Message length if known beforehand
1652
+ * @returns CoachSpecialization
1653
+ * @throws {Error} If the payload is not a reader or valid buffer
1654
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1655
+ */
1656
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.CoachSpecialization;
1657
+
1658
+ /**
1659
+ * Decodes a CoachSpecialization message from the specified reader or buffer, length delimited.
1660
+ * @param reader Reader or buffer to decode from
1661
+ * @returns CoachSpecialization
1662
+ * @throws {Error} If the payload is not a reader or valid buffer
1663
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1664
+ */
1665
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.CoachSpecialization;
1666
+
1667
+ /**
1668
+ * Verifies a CoachSpecialization message.
1669
+ * @param message Plain object to verify
1670
+ * @returns `null` if valid, otherwise the reason why it is not
1671
+ */
1672
+ public static verify(message: { [k: string]: any }): (string|null);
1673
+
1674
+ /**
1675
+ * Creates a CoachSpecialization message from a plain object. Also converts values to their respective internal types.
1676
+ * @param object Plain object
1677
+ * @returns CoachSpecialization
1678
+ */
1679
+ public static fromObject(object: { [k: string]: any }): clinical.CoachSpecialization;
1680
+
1681
+ /**
1682
+ * Creates a plain object from a CoachSpecialization message. Also converts values to other types if specified.
1683
+ * @param message CoachSpecialization
1684
+ * @param [options] Conversion options
1685
+ * @returns Plain object
1686
+ */
1687
+ public static toObject(message: clinical.CoachSpecialization, options?: $protobuf.IConversionOptions): { [k: string]: any };
1688
+
1689
+ /**
1690
+ * Converts this CoachSpecialization to JSON.
1691
+ * @returns JSON object
1692
+ */
1693
+ public toJSON(): { [k: string]: any };
1694
+ }
1695
+
1696
+ /** See apps.listenerapp.models.ListenerSpecialization.SPECIALIZATIONS */
1697
+ enum CoachSpecializationType {
1698
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_UNKNOWN = 0,
1699
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_ADOLESCENT = 1,
1700
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_SPANISH = 2,
1701
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_FRENCH = 3,
1702
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_RELIEF = 4,
1703
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_SIA = 5,
1704
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_MEMBER_MANAGEMENT = 6,
1705
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_QA_SPECIALIST = 7,
1706
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_PART_TIME = 8,
1707
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_D2C = 9,
1708
+ COACH_SPECIALIZATION_TYPE_COACH_SPECIALIZATION_TESTER = 10
1709
+ }
1710
+
1711
+ /** Properties of a CoachRole. */
1712
+ interface ICoachRole {
1713
+
1714
+ /** CoachRole createdAt */
1715
+ createdAt?: (number|Long|null);
1716
+
1717
+ /** CoachRole roleType */
1718
+ roleType?: (clinical.CoachRoleType|null);
1719
+ }
1720
+
1721
+ /** Represents a CoachRole. */
1722
+ class CoachRole implements ICoachRole {
1723
+
1724
+ /**
1725
+ * Constructs a new CoachRole.
1726
+ * @param [properties] Properties to set
1727
+ */
1728
+ constructor(properties?: clinical.ICoachRole);
1729
+
1730
+ /** CoachRole createdAt. */
1731
+ public createdAt: (number|Long);
1732
+
1733
+ /** CoachRole roleType. */
1734
+ public roleType: clinical.CoachRoleType;
1735
+
1736
+ /**
1737
+ * Creates a new CoachRole instance using the specified properties.
1738
+ * @param [properties] Properties to set
1739
+ * @returns CoachRole instance
1740
+ */
1741
+ public static create(properties?: clinical.ICoachRole): clinical.CoachRole;
1742
+
1743
+ /**
1744
+ * Encodes the specified CoachRole message. Does not implicitly {@link clinical.CoachRole.verify|verify} messages.
1745
+ * @param message CoachRole message or plain object to encode
1746
+ * @param [writer] Writer to encode to
1747
+ * @returns Writer
1748
+ */
1749
+ public static encode(message: clinical.ICoachRole, writer?: $protobuf.Writer): $protobuf.Writer;
1750
+
1751
+ /**
1752
+ * Encodes the specified CoachRole message, length delimited. Does not implicitly {@link clinical.CoachRole.verify|verify} messages.
1753
+ * @param message CoachRole message or plain object to encode
1754
+ * @param [writer] Writer to encode to
1755
+ * @returns Writer
1756
+ */
1757
+ public static encodeDelimited(message: clinical.ICoachRole, writer?: $protobuf.Writer): $protobuf.Writer;
1758
+
1759
+ /**
1760
+ * Decodes a CoachRole message from the specified reader or buffer.
1761
+ * @param reader Reader or buffer to decode from
1762
+ * @param [length] Message length if known beforehand
1763
+ * @returns CoachRole
1764
+ * @throws {Error} If the payload is not a reader or valid buffer
1765
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1766
+ */
1767
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.CoachRole;
1768
+
1769
+ /**
1770
+ * Decodes a CoachRole message from the specified reader or buffer, length delimited.
1771
+ * @param reader Reader or buffer to decode from
1772
+ * @returns CoachRole
1773
+ * @throws {Error} If the payload is not a reader or valid buffer
1774
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1775
+ */
1776
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.CoachRole;
1777
+
1778
+ /**
1779
+ * Verifies a CoachRole message.
1780
+ * @param message Plain object to verify
1781
+ * @returns `null` if valid, otherwise the reason why it is not
1782
+ */
1783
+ public static verify(message: { [k: string]: any }): (string|null);
1784
+
1785
+ /**
1786
+ * Creates a CoachRole message from a plain object. Also converts values to their respective internal types.
1787
+ * @param object Plain object
1788
+ * @returns CoachRole
1789
+ */
1790
+ public static fromObject(object: { [k: string]: any }): clinical.CoachRole;
1791
+
1792
+ /**
1793
+ * Creates a plain object from a CoachRole message. Also converts values to other types if specified.
1794
+ * @param message CoachRole
1795
+ * @param [options] Conversion options
1796
+ * @returns Plain object
1797
+ */
1798
+ public static toObject(message: clinical.CoachRole, options?: $protobuf.IConversionOptions): { [k: string]: any };
1799
+
1800
+ /**
1801
+ * Converts this CoachRole to JSON.
1802
+ * @returns JSON object
1803
+ */
1804
+ public toJSON(): { [k: string]: any };
1805
+ }
1806
+
1807
+ /** CoachRoleType enum. */
1808
+ enum CoachRoleType {
1809
+ COACH_ROLE_TYPE_COACH_ROLE_UNKNOWN = 0,
1810
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_A = 1,
1811
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_B = 2,
1812
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_C = 3,
1813
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_D = 4,
1814
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_E = 5,
1815
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F = 6,
1816
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_G = 7,
1817
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_A1 = 8,
1818
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_A2 = 9,
1819
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_B1 = 10,
1820
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_B2 = 11,
1821
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_B3 = 12,
1822
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_C1 = 13,
1823
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_C2 = 14,
1824
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_D1 = 15,
1825
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_D2 = 16,
1826
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_E1 = 17,
1827
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_E2 = 18,
1828
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_E3 = 19,
1829
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_E4 = 20,
1830
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F1 = 21,
1831
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F2 = 22,
1832
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F3 = 23,
1833
+ COACH_ROLE_TYPE_COACH_ROLE_COACH = 24,
1834
+ COACH_ROLE_TYPE_COACH_ROLE_CONCIERGE = 25,
1835
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULER = 26,
1836
+ COACH_ROLE_TYPE_COACH_ROLE_SUPPORT = 27,
1837
+ COACH_ROLE_TYPE_COACH_ROLE_CLINICAL_REVIEWER = 28,
1838
+ COACH_ROLE_TYPE_COACH_ROLE_CLINICAL = 29,
1839
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_SUPERVISOR = 30,
1840
+ COACH_ROLE_TYPE_COACH_ROLE_CLINICAL_SUPERVISOR = 31,
1841
+ COACH_ROLE_TYPE_COACH_ROLE_LISTENER = 32,
1842
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_MONDAY_9_17 = 33,
1843
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_TUESDAY_9_17 = 34,
1844
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_WEDNESDAY_9_17 = 35,
1845
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_THURSDAY_9_17 = 36,
1846
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_FRIDAY_9_17 = 37,
1847
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_SATURDAY_9_17 = 38,
1848
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_SUNDAY_9_17 = 39,
1849
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_MONDAY_7_15 = 40,
1850
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_TUESDAY_7_15 = 41,
1851
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_WEDNESDAY_7_15 = 42,
1852
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_THURSDAY_7_15 = 43,
1853
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_FRIDAY_7_15 = 44,
1854
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_SATURDAY_7_15 = 45,
1855
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_SUNDAY_7_15 = 46,
1856
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_MONDAY_15_23 = 47,
1857
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_TUESDAY_15_23 = 48,
1858
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_WEDNESDAY_15_23 = 49,
1859
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_THURSDAY_15_23 = 50,
1860
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_FRIDAY_15_23 = 51,
1861
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_SATURDAY_15_23 = 52,
1862
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_SUNDAY_15_23 = 53,
1863
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_MONDAY_23_7 = 54,
1864
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_TUESDAY_23_7 = 55,
1865
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_WEDNESDAY_23_7 = 56,
1866
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_THURSDAY_23_7 = 57,
1867
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_FRIDAY_23_7 = 58,
1868
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_SATURDAY_23_7 = 59,
1869
+ COACH_ROLE_TYPE_COACH_ROLE_SCHEDULED_SESSIONS_ONLY_SUNDAY_23_7 = 60,
1870
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_A = 61,
1871
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_B = 62,
1872
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_C = 63,
1873
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_D = 64,
1874
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_E = 65,
1875
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_F = 66,
1876
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_G = 67,
1877
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_A1 = 68,
1878
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_A2 = 69,
1879
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_B1 = 70,
1880
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_B2 = 71,
1881
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_B3 = 72,
1882
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_C1 = 73,
1883
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_C2 = 74,
1884
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_D1 = 75,
1885
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_D2 = 76,
1886
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_E1 = 77,
1887
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_E2 = 78,
1888
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_E3 = 79,
1889
+ COACH_ROLE_TYPE_COACH_ROLE_SIA_E4 = 80,
1890
+ COACH_ROLE_TYPE_COACH_ROLE_SI_ASSESSMENT = 81,
1891
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F4 = 82,
1892
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F5 = 83,
1893
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F6 = 84,
1894
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F7 = 85,
1895
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F8 = 86,
1896
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F9 = 87,
1897
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F10 = 88,
1898
+ COACH_ROLE_TYPE_COACH_ROLE_COACH_F11 = 89
1899
+ }
1900
+
1901
+ /** Properties of a CoachingChatMessage. */
1902
+ interface ICoachingChatMessage {
1903
+
1904
+ /** CoachingChatMessage id */
1905
+ id?: (string|null);
1906
+
1907
+ /** CoachingChatMessage senderGingerUserId */
1908
+ senderGingerUserId?: (number|null);
1909
+
1910
+ /** CoachingChatMessage senderType */
1911
+ senderType?: (clinical.CoachingChatMessageSenderType|null);
1912
+
1913
+ /** CoachingChatMessage chatConversationId */
1914
+ chatConversationId?: (number|null);
1915
+
1916
+ /** CoachingChatMessage createdAt */
1917
+ createdAt?: (number|Long|null);
1918
+
1919
+ /** CoachingChatMessage senderHsUserId */
1920
+ senderHsUserId?: (string|null);
1921
+
1922
+ /** CoachingChatMessage language */
1923
+ language?: (clinical.CoachingChatMessageLanguage|null);
1924
+ }
1925
+
1926
+ /** Represents a CoachingChatMessage. */
1927
+ class CoachingChatMessage implements ICoachingChatMessage {
1928
+
1929
+ /**
1930
+ * Constructs a new CoachingChatMessage.
1931
+ * @param [properties] Properties to set
1932
+ */
1933
+ constructor(properties?: clinical.ICoachingChatMessage);
1934
+
1935
+ /** CoachingChatMessage id. */
1936
+ public id: string;
1937
+
1938
+ /** CoachingChatMessage senderGingerUserId. */
1939
+ public senderGingerUserId: number;
1940
+
1941
+ /** CoachingChatMessage senderType. */
1942
+ public senderType: clinical.CoachingChatMessageSenderType;
1943
+
1944
+ /** CoachingChatMessage chatConversationId. */
1945
+ public chatConversationId: number;
1946
+
1947
+ /** CoachingChatMessage createdAt. */
1948
+ public createdAt: (number|Long);
1949
+
1950
+ /** CoachingChatMessage senderHsUserId. */
1951
+ public senderHsUserId: string;
1952
+
1953
+ /** CoachingChatMessage language. */
1954
+ public language: clinical.CoachingChatMessageLanguage;
1955
+
1956
+ /**
1957
+ * Creates a new CoachingChatMessage instance using the specified properties.
1958
+ * @param [properties] Properties to set
1959
+ * @returns CoachingChatMessage instance
1960
+ */
1961
+ public static create(properties?: clinical.ICoachingChatMessage): clinical.CoachingChatMessage;
1962
+
1963
+ /**
1964
+ * Encodes the specified CoachingChatMessage message. Does not implicitly {@link clinical.CoachingChatMessage.verify|verify} messages.
1965
+ * @param message CoachingChatMessage message or plain object to encode
1966
+ * @param [writer] Writer to encode to
1967
+ * @returns Writer
1968
+ */
1969
+ public static encode(message: clinical.ICoachingChatMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1970
+
1971
+ /**
1972
+ * Encodes the specified CoachingChatMessage message, length delimited. Does not implicitly {@link clinical.CoachingChatMessage.verify|verify} messages.
1973
+ * @param message CoachingChatMessage message or plain object to encode
1974
+ * @param [writer] Writer to encode to
1975
+ * @returns Writer
1976
+ */
1977
+ public static encodeDelimited(message: clinical.ICoachingChatMessage, writer?: $protobuf.Writer): $protobuf.Writer;
1978
+
1979
+ /**
1980
+ * Decodes a CoachingChatMessage message from the specified reader or buffer.
1981
+ * @param reader Reader or buffer to decode from
1982
+ * @param [length] Message length if known beforehand
1983
+ * @returns CoachingChatMessage
1984
+ * @throws {Error} If the payload is not a reader or valid buffer
1985
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1986
+ */
1987
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.CoachingChatMessage;
1988
+
1989
+ /**
1990
+ * Decodes a CoachingChatMessage message from the specified reader or buffer, length delimited.
1991
+ * @param reader Reader or buffer to decode from
1992
+ * @returns CoachingChatMessage
1993
+ * @throws {Error} If the payload is not a reader or valid buffer
1994
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
1995
+ */
1996
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.CoachingChatMessage;
1997
+
1998
+ /**
1999
+ * Verifies a CoachingChatMessage message.
2000
+ * @param message Plain object to verify
2001
+ * @returns `null` if valid, otherwise the reason why it is not
2002
+ */
2003
+ public static verify(message: { [k: string]: any }): (string|null);
2004
+
2005
+ /**
2006
+ * Creates a CoachingChatMessage message from a plain object. Also converts values to their respective internal types.
2007
+ * @param object Plain object
2008
+ * @returns CoachingChatMessage
2009
+ */
2010
+ public static fromObject(object: { [k: string]: any }): clinical.CoachingChatMessage;
2011
+
2012
+ /**
2013
+ * Creates a plain object from a CoachingChatMessage message. Also converts values to other types if specified.
2014
+ * @param message CoachingChatMessage
2015
+ * @param [options] Conversion options
2016
+ * @returns Plain object
2017
+ */
2018
+ public static toObject(message: clinical.CoachingChatMessage, options?: $protobuf.IConversionOptions): { [k: string]: any };
2019
+
2020
+ /**
2021
+ * Converts this CoachingChatMessage to JSON.
2022
+ * @returns JSON object
2023
+ */
2024
+ public toJSON(): { [k: string]: any };
2025
+ }
2026
+
2027
+ /** CoachingChatMessageSenderType enum. */
2028
+ enum CoachingChatMessageSenderType {
2029
+ COACHING_CHAT_MESSAGE_SENDER_TYPE_UNKNOWN = 0,
2030
+ COACHING_CHAT_MESSAGE_SENDER_TYPE_COACH = 1,
2031
+ COACHING_CHAT_MESSAGE_SENDER_TYPE_SUPPORT = 2,
2032
+ COACHING_CHAT_MESSAGE_SENDER_TYPE_MEMBER = 3
2033
+ }
2034
+
2035
+ /** CoachingChatMessageLanguage enum. */
2036
+ enum CoachingChatMessageLanguage {
2037
+ COACHING_CHAT_MESSAGE_LANGUAGE_UNKNOWN = 0,
2038
+ COACHING_CHAT_MESSAGE_LANGUAGE_ENGLISH = 1,
2039
+ COACHING_CHAT_MESSAGE_LANGUAGE_FRENCH = 2,
2040
+ COACHING_CHAT_MESSAGE_LANGUAGE_SPANISH = 3
2041
+ }
2042
+
2043
+ /** ClinicalAppointmentSource enum. */
2044
+ enum ClinicalAppointmentSource {
2045
+ CLINICAL_APPOINTMENT_SOURCE_UNKNOWN = 0,
2046
+ CLINICAL_APPOINTMENT_SOURCE_ADMIN_QA = 1,
2047
+ CLINICAL_APPOINTMENT_SOURCE_STAFF_DASHBOARD = 2,
2048
+ CLINICAL_APPOINTMENT_SOURCE_CAS = 3,
2049
+ CLINICAL_APPOINTMENT_SOURCE_CAS2 = 4,
2050
+ CLINICAL_APPOINTMENT_SOURCE_CLINICAL_HUB = 5,
2051
+ CLINICAL_APPOINTMENT_SOURCE_DR_CHRONO = 6,
2052
+ CLINICAL_APPOINTMENT_SOURCE_TENTATIVE_TIMEOUT = 7,
2053
+ CLINICAL_APPOINTMENT_SOURCE_CELERY_TASK = 8,
2054
+ CLINICAL_APPOINTMENT_SOURCE_IN_APP_SCHEDULER = 9,
2055
+ CLINICAL_APPOINTMENT_SOURCE_ACCOUNT_DEACTIVATION = 10
2056
+ }
2057
+
2058
+ /** ClinicalAppointmentStatus enum. */
2059
+ enum ClinicalAppointmentStatus {
2060
+ CLINICAL_APPOINTMENT_STATUS_UNKNOWN = 0,
2061
+ CLINICAL_APPOINTMENT_STATUS_ARRIVE = 1,
2062
+ CLINICAL_APPOINTMENT_STATUS_TENTATIVE = 2,
2063
+ CLINICAL_APPOINTMENT_STATUS_CHECKED_IN = 3,
2064
+ CLINICAL_APPOINTMENT_STATUS_IN_ROOM = 4,
2065
+ CLINICAL_APPOINTMENT_STATUS_CANCELLED = 5,
2066
+ CLINICAL_APPOINTMENT_STATUS_CANCELLED_CLINICIAN = 6,
2067
+ CLINICAL_APPOINTMENT_STATUS_COMPLETE = 7,
2068
+ CLINICAL_APPOINTMENT_STATUS_CONFIRMED = 8,
2069
+ CLINICAL_APPOINTMENT_STATUS_IN_SESSION = 9,
2070
+ CLINICAL_APPOINTMENT_STATUS_NO_SHOW = 10,
2071
+ CLINICAL_APPOINTMENT_STATUS_NOT_CONFIRMED = 11,
2072
+ CLINICAL_APPOINTMENT_STATUS_RESCHEDULED = 12,
2073
+ CLINICAL_APPOINTMENT_STATUS_LATE_CANCELLED = 13,
2074
+ CLINICAL_APPOINTMENT_STATUS_DELETED = 14,
2075
+ CLINICAL_APPOINTMENT_STATUS_CHECKED_IN_ONLINE = 15,
2076
+ CLINICAL_APPOINTMENT_STATUS_PROVIDER_NO_SHOW = 16
2077
+ }
2078
+
2079
+ /** ClinicalAppointmentType enum. */
2080
+ enum ClinicalAppointmentType {
2081
+ CLINICAL_APPOINTMENT_TYPE_UNKNOWN = 0,
2082
+ CLINICAL_APPOINTMENT_TYPE_THERAPY_INTAKE = 1,
2083
+ CLINICAL_APPOINTMENT_TYPE_THERAPY_PROGRESS = 2,
2084
+ CLINICAL_APPOINTMENT_TYPE_PSYCHIATRY_INTAKE = 3,
2085
+ CLINICAL_APPOINTMENT_TYPE_PSYCHIATRY_PROGRESS = 4
2086
+ }
2087
+
2088
+ /** BillingStatus enum. */
2089
+ enum BillingStatus {
2090
+ BILLING_STATUS_UNKNOWN = 0,
2091
+ BILLING_STATUS_CANCELLED = 1,
2092
+ BILLING_STATUS_RESCHEDULED = 2,
2093
+ BILLING_STATUS_NO_SHOW = 3,
2094
+ BILLING_STATUS_SETTLED = 4,
2095
+ BILLING_STATUS_BALANCE_DUE = 5,
2096
+ BILLING_STATUS_PAID_IN_FULL = 6,
2097
+ BILLING_STATUS_PENDING_INFO_PRACTICE = 7,
2098
+ BILLING_STATUS_KPWA_AUTH_DENIALS = 8,
2099
+ BILLING_STATUS_OPTUM_ISSUE = 9,
2100
+ BILLING_STATUS_PENDING_INFORMATION = 10,
2101
+ BILLING_STATUS_IN_PROCESS = 11,
2102
+ BILLING_STATUS_BILL_INSURANCE = 12,
2103
+ BILLING_STATUS_AETNA_RFL_DENIALS = 13,
2104
+ BILLING_STATUS_AUTO_ACCIDENT_CLAIM = 14,
2105
+ BILLING_STATUS_MISSING_RENDERING_NPI = 15,
2106
+ BILLING_STATUS_READY_TO_BILL = 16,
2107
+ BILLING_STATUS_ANALYST_REVIEW = 17,
2108
+ BILLING_STATUS_PAYER_CONTACT = 18,
2109
+ BILLING_STATUS_SPECIALIST_REVIEW = 19,
2110
+ BILLING_STATUS_INTERNAL_REVIEW = 20,
2111
+ BILLING_STATUS_ATTENTION_TO_BILLER = 21,
2112
+ BILLING_STATUS_VOICEMAIL_FOLLOW_UP = 22,
2113
+ BILLING_STATUS_CLINICAL_HUB_LOCKED = 23,
2114
+ BILLING_STATUS_PAID_NOT_POSTED = 24,
2115
+ BILLING_STATUS_PARTIAL_PAID = 25,
2116
+ BILLING_STATUS_BILL_SECONDARY_INSURANCE = 26,
2117
+ BILLING_STATUS_READY_FOR_STATEMENT = 27,
2118
+ BILLING_STATUS_FAXED_MAILED_CLAIM_OR_APPEAL = 28,
2119
+ BILLING_STATUS_NON_BILLABLE = 29,
2120
+ BILLING_STATUS_PENDING_AUTHORIZATION = 30,
2121
+ BILLING_STATUS_CHRONO_APPEAL = 31,
2122
+ BILLING_STATUS_NEED_TO_ENTER_AUTHORIZATION = 32,
2123
+ BILLING_STATUS_SINGLE_FEE_NOT_BILLABLE = 33,
2124
+ BILLING_STATUS_SINGLE_FEE_NON_BILLABLE = 34,
2125
+ BILLING_STATUS_SEIU_BILLED_DIRECTLY = 35,
2126
+ BILLING_STATUS_BILL_DIRECT_TO_IA = 36,
2127
+ BILLING_STATUS_SETTLED_BAD_DEBT = 37,
2128
+ BILLING_STATUS_OOP_BALANCE_DUE = 38,
2129
+ BILLING_STATUS_LATE_CANCELLED_OR_NO_SHOW_BALANCE = 39,
2130
+ BILLING_STATUS_EAP = 40,
2131
+ BILLING_STATUS_EAP_NON_BILLABLE = 41,
2132
+ BILLING_STATUS_PAYMENT_PLAN = 42
2133
+ }
2134
+
2135
+ /** ClinicalAvailabilityStatus enum. */
2136
+ enum ClinicalAvailabilityStatus {
2137
+ CLINICAL_AVAILABILITY_STATUS_UNKNOWN = 0,
2138
+ CLINICAL_AVAILABILITY_STATUS_CONFIRMED = 1,
2139
+ CLINICAL_AVAILABILITY_STATUS_CANCELLED = 2,
2140
+ CLINICAL_AVAILABILITY_STATUS_TENTATIVE = 3
2141
+ }
2142
+
2143
+ /** ClinicalAvailabilitySource enum. */
2144
+ enum ClinicalAvailabilitySource {
2145
+ CLINICAL_AVAILABILITY_SOURCE_UNKNOWN = 0,
2146
+ CLINICAL_AVAILABILITY_SOURCE_ADMIN = 1,
2147
+ CLINICAL_AVAILABILITY_SOURCE_CLINHUB = 2,
2148
+ CLINICAL_AVAILABILITY_SOURCE_GOOGLE_CALENDAR = 3,
2149
+ CLINICAL_AVAILABILITY_SOURCE_CAS = 4
2150
+ }
2151
+
2152
+ /** ClinicalAvailabilityCapabilityColor enum. */
2153
+ enum ClinicalAvailabilityCapabilityColor {
2154
+ CLINICAL_AVAILABILITY_CAPABILITY_COLOR_UNKNOWN = 0,
2155
+ CLINICAL_AVAILABILITY_CAPABILITY_COLOR_GREEN = 1,
2156
+ CLINICAL_AVAILABILITY_CAPABILITY_COLOR_YELLOW = 2,
2157
+ CLINICAL_AVAILABILITY_CAPABILITY_COLOR_RED = 3
2158
+ }
2159
+
2160
+ /** Properties of a GuardianRelationship. */
2161
+ interface IGuardianRelationship {
2162
+
2163
+ /** GuardianRelationship id */
2164
+ id?: (number|null);
2165
+
2166
+ /** GuardianRelationship guardianMemberGingerId */
2167
+ guardianMemberGingerId?: (string|null);
2168
+
2169
+ /** GuardianRelationship dependentMemberGingerId */
2170
+ dependentMemberGingerId?: (string|null);
2171
+
2172
+ /** GuardianRelationship createdAt */
2173
+ createdAt?: (number|Long|null);
2174
+
2175
+ /** GuardianRelationship updatedAt */
2176
+ updatedAt?: (number|Long|null);
2177
+ }
2178
+
2179
+ /** Represents a GuardianRelationship. */
2180
+ class GuardianRelationship implements IGuardianRelationship {
2181
+
2182
+ /**
2183
+ * Constructs a new GuardianRelationship.
2184
+ * @param [properties] Properties to set
2185
+ */
2186
+ constructor(properties?: clinical.IGuardianRelationship);
2187
+
2188
+ /** GuardianRelationship id. */
2189
+ public id: number;
2190
+
2191
+ /** GuardianRelationship guardianMemberGingerId. */
2192
+ public guardianMemberGingerId: string;
2193
+
2194
+ /** GuardianRelationship dependentMemberGingerId. */
2195
+ public dependentMemberGingerId: string;
2196
+
2197
+ /** GuardianRelationship createdAt. */
2198
+ public createdAt: (number|Long);
2199
+
2200
+ /** GuardianRelationship updatedAt. */
2201
+ public updatedAt: (number|Long);
2202
+
2203
+ /**
2204
+ * Creates a new GuardianRelationship instance using the specified properties.
2205
+ * @param [properties] Properties to set
2206
+ * @returns GuardianRelationship instance
2207
+ */
2208
+ public static create(properties?: clinical.IGuardianRelationship): clinical.GuardianRelationship;
2209
+
2210
+ /**
2211
+ * Encodes the specified GuardianRelationship message. Does not implicitly {@link clinical.GuardianRelationship.verify|verify} messages.
2212
+ * @param message GuardianRelationship message or plain object to encode
2213
+ * @param [writer] Writer to encode to
2214
+ * @returns Writer
2215
+ */
2216
+ public static encode(message: clinical.IGuardianRelationship, writer?: $protobuf.Writer): $protobuf.Writer;
2217
+
2218
+ /**
2219
+ * Encodes the specified GuardianRelationship message, length delimited. Does not implicitly {@link clinical.GuardianRelationship.verify|verify} messages.
2220
+ * @param message GuardianRelationship message or plain object to encode
2221
+ * @param [writer] Writer to encode to
2222
+ * @returns Writer
2223
+ */
2224
+ public static encodeDelimited(message: clinical.IGuardianRelationship, writer?: $protobuf.Writer): $protobuf.Writer;
2225
+
2226
+ /**
2227
+ * Decodes a GuardianRelationship message from the specified reader or buffer.
2228
+ * @param reader Reader or buffer to decode from
2229
+ * @param [length] Message length if known beforehand
2230
+ * @returns GuardianRelationship
2231
+ * @throws {Error} If the payload is not a reader or valid buffer
2232
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2233
+ */
2234
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): clinical.GuardianRelationship;
2235
+
2236
+ /**
2237
+ * Decodes a GuardianRelationship message from the specified reader or buffer, length delimited.
2238
+ * @param reader Reader or buffer to decode from
2239
+ * @returns GuardianRelationship
2240
+ * @throws {Error} If the payload is not a reader or valid buffer
2241
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2242
+ */
2243
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): clinical.GuardianRelationship;
2244
+
2245
+ /**
2246
+ * Verifies a GuardianRelationship message.
2247
+ * @param message Plain object to verify
2248
+ * @returns `null` if valid, otherwise the reason why it is not
2249
+ */
2250
+ public static verify(message: { [k: string]: any }): (string|null);
2251
+
2252
+ /**
2253
+ * Creates a GuardianRelationship message from a plain object. Also converts values to their respective internal types.
2254
+ * @param object Plain object
2255
+ * @returns GuardianRelationship
2256
+ */
2257
+ public static fromObject(object: { [k: string]: any }): clinical.GuardianRelationship;
2258
+
2259
+ /**
2260
+ * Creates a plain object from a GuardianRelationship message. Also converts values to other types if specified.
2261
+ * @param message GuardianRelationship
2262
+ * @param [options] Conversion options
2263
+ * @returns Plain object
2264
+ */
2265
+ public static toObject(message: clinical.GuardianRelationship, options?: $protobuf.IConversionOptions): { [k: string]: any };
2266
+
2267
+ /**
2268
+ * Converts this GuardianRelationship to JSON.
2269
+ * @returns JSON object
2270
+ */
2271
+ public toJSON(): { [k: string]: any };
2272
+ }
2273
+ }
2274
+
2275
+ /** Properties of an IntakeAvailabilityLog. */
2276
+ export interface IIntakeAvailabilityLog {
2277
+
2278
+ /** IntakeAvailabilityLog createdAt */
2279
+ createdAt?: (number|Long|null);
2280
+
2281
+ /** IntakeAvailabilityLog surveyId */
2282
+ surveyId?: (string|null);
2283
+
2284
+ /** IntakeAvailabilityLog interestTherapy */
2285
+ interestTherapy?: (boolean|null);
2286
+
2287
+ /** IntakeAvailabilityLog interestPsychiatry */
2288
+ interestPsychiatry?: (boolean|null);
2289
+
2290
+ /** IntakeAvailabilityLog state */
2291
+ state?: (string|null);
2292
+
2293
+ /** IntakeAvailabilityLog therapistId */
2294
+ therapistId?: (string|null);
2295
+
2296
+ /** IntakeAvailabilityLog startAt */
2297
+ startAt?: (number|Long|null);
2298
+
2299
+ /** IntakeAvailabilityLog endAt */
2300
+ endAt?: (number|Long|null);
2301
+
2302
+ /** IntakeAvailabilityLog offeredViaCas */
2303
+ offeredViaCas?: (boolean|null);
2304
+
2305
+ /** IntakeAvailabilityLog offeredViaIas */
2306
+ offeredViaIas?: (boolean|null);
2307
+
2308
+ /** IntakeAvailabilityLog blockedAcceptNewPatients */
2309
+ blockedAcceptNewPatients?: (boolean|null);
2310
+
2311
+ /** IntakeAvailabilityLog blockedClinicianCaseload */
2312
+ blockedClinicianCaseload?: (boolean|null);
2313
+
2314
+ /** IntakeAvailabilityLog blockedBackToBack */
2315
+ blockedBackToBack?: (boolean|null);
2316
+
2317
+ /** IntakeAvailabilityLog blockedIasEapCoverage */
2318
+ blockedIasEapCoverage?: (boolean|null);
2319
+
2320
+ /** IntakeAvailabilityLog blockedIasOonCa */
2321
+ blockedIasOonCa?: (boolean|null);
2322
+
2323
+ /** IntakeAvailabilityLog blockedIasOonCompany */
2324
+ blockedIasOonCompany?: (boolean|null);
2325
+
2326
+ /** IntakeAvailabilityLog blockedMaxIntakeApptPerDay */
2327
+ blockedMaxIntakeApptPerDay?: (boolean|null);
2328
+
2329
+ /** IntakeAvailabilityLog blockedIasMaxApptPerWeek */
2330
+ blockedIasMaxApptPerWeek?: (boolean|null);
2331
+
2332
+ /** IntakeAvailabilityLog blockedMaxIntakeApptPerWeek */
2333
+ blockedMaxIntakeApptPerWeek?: (boolean|null);
2334
+
2335
+ /** IntakeAvailabilityLog blockedPadding */
2336
+ blockedPadding?: (boolean|null);
2337
+
2338
+ /** IntakeAvailabilityLog availabilityUid */
2339
+ availabilityUid?: (string|null);
2340
+ }
2341
+
2342
+ /** Represents an IntakeAvailabilityLog. */
2343
+ export class IntakeAvailabilityLog implements IIntakeAvailabilityLog {
2344
+
2345
+ /**
2346
+ * Constructs a new IntakeAvailabilityLog.
2347
+ * @param [properties] Properties to set
2348
+ */
2349
+ constructor(properties?: IIntakeAvailabilityLog);
2350
+
2351
+ /** IntakeAvailabilityLog createdAt. */
2352
+ public createdAt: (number|Long);
2353
+
2354
+ /** IntakeAvailabilityLog surveyId. */
2355
+ public surveyId: string;
2356
+
2357
+ /** IntakeAvailabilityLog interestTherapy. */
2358
+ public interestTherapy: boolean;
2359
+
2360
+ /** IntakeAvailabilityLog interestPsychiatry. */
2361
+ public interestPsychiatry: boolean;
2362
+
2363
+ /** IntakeAvailabilityLog state. */
2364
+ public state: string;
2365
+
2366
+ /** IntakeAvailabilityLog therapistId. */
2367
+ public therapistId: string;
2368
+
2369
+ /** IntakeAvailabilityLog startAt. */
2370
+ public startAt: (number|Long);
2371
+
2372
+ /** IntakeAvailabilityLog endAt. */
2373
+ public endAt: (number|Long);
2374
+
2375
+ /** IntakeAvailabilityLog offeredViaCas. */
2376
+ public offeredViaCas: boolean;
2377
+
2378
+ /** IntakeAvailabilityLog offeredViaIas. */
2379
+ public offeredViaIas: boolean;
2380
+
2381
+ /** IntakeAvailabilityLog blockedAcceptNewPatients. */
2382
+ public blockedAcceptNewPatients: boolean;
2383
+
2384
+ /** IntakeAvailabilityLog blockedClinicianCaseload. */
2385
+ public blockedClinicianCaseload: boolean;
2386
+
2387
+ /** IntakeAvailabilityLog blockedBackToBack. */
2388
+ public blockedBackToBack: boolean;
2389
+
2390
+ /** IntakeAvailabilityLog blockedIasEapCoverage. */
2391
+ public blockedIasEapCoverage: boolean;
2392
+
2393
+ /** IntakeAvailabilityLog blockedIasOonCa. */
2394
+ public blockedIasOonCa: boolean;
2395
+
2396
+ /** IntakeAvailabilityLog blockedIasOonCompany. */
2397
+ public blockedIasOonCompany: boolean;
2398
+
2399
+ /** IntakeAvailabilityLog blockedMaxIntakeApptPerDay. */
2400
+ public blockedMaxIntakeApptPerDay: boolean;
2401
+
2402
+ /** IntakeAvailabilityLog blockedIasMaxApptPerWeek. */
2403
+ public blockedIasMaxApptPerWeek: boolean;
2404
+
2405
+ /** IntakeAvailabilityLog blockedMaxIntakeApptPerWeek. */
2406
+ public blockedMaxIntakeApptPerWeek: boolean;
2407
+
2408
+ /** IntakeAvailabilityLog blockedPadding. */
2409
+ public blockedPadding: boolean;
2410
+
2411
+ /** IntakeAvailabilityLog availabilityUid. */
2412
+ public availabilityUid: string;
2413
+
2414
+ /**
2415
+ * Creates a new IntakeAvailabilityLog instance using the specified properties.
2416
+ * @param [properties] Properties to set
2417
+ * @returns IntakeAvailabilityLog instance
2418
+ */
2419
+ public static create(properties?: IIntakeAvailabilityLog): IntakeAvailabilityLog;
2420
+
2421
+ /**
2422
+ * Encodes the specified IntakeAvailabilityLog message. Does not implicitly {@link IntakeAvailabilityLog.verify|verify} messages.
2423
+ * @param message IntakeAvailabilityLog message or plain object to encode
2424
+ * @param [writer] Writer to encode to
2425
+ * @returns Writer
2426
+ */
2427
+ public static encode(message: IIntakeAvailabilityLog, writer?: $protobuf.Writer): $protobuf.Writer;
2428
+
2429
+ /**
2430
+ * Encodes the specified IntakeAvailabilityLog message, length delimited. Does not implicitly {@link IntakeAvailabilityLog.verify|verify} messages.
2431
+ * @param message IntakeAvailabilityLog message or plain object to encode
2432
+ * @param [writer] Writer to encode to
2433
+ * @returns Writer
2434
+ */
2435
+ public static encodeDelimited(message: IIntakeAvailabilityLog, writer?: $protobuf.Writer): $protobuf.Writer;
2436
+
2437
+ /**
2438
+ * Decodes an IntakeAvailabilityLog message from the specified reader or buffer.
2439
+ * @param reader Reader or buffer to decode from
2440
+ * @param [length] Message length if known beforehand
2441
+ * @returns IntakeAvailabilityLog
2442
+ * @throws {Error} If the payload is not a reader or valid buffer
2443
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2444
+ */
2445
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): IntakeAvailabilityLog;
2446
+
2447
+ /**
2448
+ * Decodes an IntakeAvailabilityLog message from the specified reader or buffer, length delimited.
2449
+ * @param reader Reader or buffer to decode from
2450
+ * @returns IntakeAvailabilityLog
2451
+ * @throws {Error} If the payload is not a reader or valid buffer
2452
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2453
+ */
2454
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): IntakeAvailabilityLog;
2455
+
2456
+ /**
2457
+ * Verifies an IntakeAvailabilityLog message.
2458
+ * @param message Plain object to verify
2459
+ * @returns `null` if valid, otherwise the reason why it is not
2460
+ */
2461
+ public static verify(message: { [k: string]: any }): (string|null);
2462
+
2463
+ /**
2464
+ * Creates an IntakeAvailabilityLog message from a plain object. Also converts values to their respective internal types.
2465
+ * @param object Plain object
2466
+ * @returns IntakeAvailabilityLog
2467
+ */
2468
+ public static fromObject(object: { [k: string]: any }): IntakeAvailabilityLog;
2469
+
2470
+ /**
2471
+ * Creates a plain object from an IntakeAvailabilityLog message. Also converts values to other types if specified.
2472
+ * @param message IntakeAvailabilityLog
2473
+ * @param [options] Conversion options
2474
+ * @returns Plain object
2475
+ */
2476
+ public static toObject(message: IntakeAvailabilityLog, options?: $protobuf.IConversionOptions): { [k: string]: any };
2477
+
2478
+ /**
2479
+ * Converts this IntakeAvailabilityLog to JSON.
2480
+ * @returns JSON object
2481
+ */
2482
+ public toJSON(): { [k: string]: any };
2483
+ }
2484
+
2485
+ /** Namespace coaching. */
2486
+ export namespace coaching {
2487
+
2488
+ /** Properties of a CoachSelfReportedWorkload. */
2489
+ interface ICoachSelfReportedWorkload {
2490
+
2491
+ /** CoachSelfReportedWorkload id */
2492
+ id?: (string|null);
2493
+
2494
+ /** CoachSelfReportedWorkload coachId */
2495
+ coachId?: (string|null);
2496
+
2497
+ /** CoachSelfReportedWorkload createdAt */
2498
+ createdAt?: (number|Long|null);
2499
+
2500
+ /** CoachSelfReportedWorkload updatedAt */
2501
+ updatedAt?: (number|Long|null);
2502
+
2503
+ /** CoachSelfReportedWorkload effectiveTime */
2504
+ effectiveTime?: (number|Long|null);
2505
+
2506
+ /** CoachSelfReportedWorkload intensityScore */
2507
+ intensityScore?: (number|null);
2508
+
2509
+ /** CoachSelfReportedWorkload reasons */
2510
+ reasons?: (coaching.CoachSelfReportedWorkloadReason[]|null);
2511
+
2512
+ /** CoachSelfReportedWorkload type */
2513
+ type?: (coaching.CoachSelfReportedWorkloadType|null);
2514
+
2515
+ /** CoachSelfReportedWorkload additionalInfo */
2516
+ additionalInfo?: (string|null);
2517
+ }
2518
+
2519
+ /** Represents a CoachSelfReportedWorkload. */
2520
+ class CoachSelfReportedWorkload implements ICoachSelfReportedWorkload {
2521
+
2522
+ /**
2523
+ * Constructs a new CoachSelfReportedWorkload.
2524
+ * @param [properties] Properties to set
2525
+ */
2526
+ constructor(properties?: coaching.ICoachSelfReportedWorkload);
2527
+
2528
+ /** CoachSelfReportedWorkload id. */
2529
+ public id: string;
2530
+
2531
+ /** CoachSelfReportedWorkload coachId. */
2532
+ public coachId: string;
2533
+
2534
+ /** CoachSelfReportedWorkload createdAt. */
2535
+ public createdAt: (number|Long);
2536
+
2537
+ /** CoachSelfReportedWorkload updatedAt. */
2538
+ public updatedAt: (number|Long);
2539
+
2540
+ /** CoachSelfReportedWorkload effectiveTime. */
2541
+ public effectiveTime: (number|Long);
2542
+
2543
+ /** CoachSelfReportedWorkload intensityScore. */
2544
+ public intensityScore: number;
2545
+
2546
+ /** CoachSelfReportedWorkload reasons. */
2547
+ public reasons: coaching.CoachSelfReportedWorkloadReason[];
2548
+
2549
+ /** CoachSelfReportedWorkload type. */
2550
+ public type: coaching.CoachSelfReportedWorkloadType;
2551
+
2552
+ /** CoachSelfReportedWorkload additionalInfo. */
2553
+ public additionalInfo: string;
2554
+
2555
+ /**
2556
+ * Creates a new CoachSelfReportedWorkload instance using the specified properties.
2557
+ * @param [properties] Properties to set
2558
+ * @returns CoachSelfReportedWorkload instance
2559
+ */
2560
+ public static create(properties?: coaching.ICoachSelfReportedWorkload): coaching.CoachSelfReportedWorkload;
2561
+
2562
+ /**
2563
+ * Encodes the specified CoachSelfReportedWorkload message. Does not implicitly {@link coaching.CoachSelfReportedWorkload.verify|verify} messages.
2564
+ * @param message CoachSelfReportedWorkload message or plain object to encode
2565
+ * @param [writer] Writer to encode to
2566
+ * @returns Writer
2567
+ */
2568
+ public static encode(message: coaching.ICoachSelfReportedWorkload, writer?: $protobuf.Writer): $protobuf.Writer;
2569
+
2570
+ /**
2571
+ * Encodes the specified CoachSelfReportedWorkload message, length delimited. Does not implicitly {@link coaching.CoachSelfReportedWorkload.verify|verify} messages.
2572
+ * @param message CoachSelfReportedWorkload message or plain object to encode
2573
+ * @param [writer] Writer to encode to
2574
+ * @returns Writer
2575
+ */
2576
+ public static encodeDelimited(message: coaching.ICoachSelfReportedWorkload, writer?: $protobuf.Writer): $protobuf.Writer;
2577
+
2578
+ /**
2579
+ * Decodes a CoachSelfReportedWorkload message from the specified reader or buffer.
2580
+ * @param reader Reader or buffer to decode from
2581
+ * @param [length] Message length if known beforehand
2582
+ * @returns CoachSelfReportedWorkload
2583
+ * @throws {Error} If the payload is not a reader or valid buffer
2584
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2585
+ */
2586
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coaching.CoachSelfReportedWorkload;
2587
+
2588
+ /**
2589
+ * Decodes a CoachSelfReportedWorkload message from the specified reader or buffer, length delimited.
2590
+ * @param reader Reader or buffer to decode from
2591
+ * @returns CoachSelfReportedWorkload
2592
+ * @throws {Error} If the payload is not a reader or valid buffer
2593
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2594
+ */
2595
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coaching.CoachSelfReportedWorkload;
2596
+
2597
+ /**
2598
+ * Verifies a CoachSelfReportedWorkload message.
2599
+ * @param message Plain object to verify
2600
+ * @returns `null` if valid, otherwise the reason why it is not
2601
+ */
2602
+ public static verify(message: { [k: string]: any }): (string|null);
2603
+
2604
+ /**
2605
+ * Creates a CoachSelfReportedWorkload message from a plain object. Also converts values to their respective internal types.
2606
+ * @param object Plain object
2607
+ * @returns CoachSelfReportedWorkload
2608
+ */
2609
+ public static fromObject(object: { [k: string]: any }): coaching.CoachSelfReportedWorkload;
2610
+
2611
+ /**
2612
+ * Creates a plain object from a CoachSelfReportedWorkload message. Also converts values to other types if specified.
2613
+ * @param message CoachSelfReportedWorkload
2614
+ * @param [options] Conversion options
2615
+ * @returns Plain object
2616
+ */
2617
+ public static toObject(message: coaching.CoachSelfReportedWorkload, options?: $protobuf.IConversionOptions): { [k: string]: any };
2618
+
2619
+ /**
2620
+ * Converts this CoachSelfReportedWorkload to JSON.
2621
+ * @returns JSON object
2622
+ */
2623
+ public toJSON(): { [k: string]: any };
2624
+ }
2625
+
2626
+ /** CoachSelfReportedWorkloadReason enum. */
2627
+ enum CoachSelfReportedWorkloadReason {
2628
+ COACH_SELF_REPORTED_WORKLOAD_REASON_UNSPECIFIED = 0,
2629
+ COACH_SELF_REPORTED_WORKLOAD_REASON_TOO_MANY_SIMULTANEOUS_CONVERSATIONS = 1,
2630
+ COACH_SELF_REPORTED_WORKLOAD_REASON_LONG_DURATION_OF_CHATS = 2,
2631
+ COACH_SELF_REPORTED_WORKLOAD_REASON_TOO_MANY_NEW_CONSULTS = 3,
2632
+ COACH_SELF_REPORTED_WORKLOAD_REASON_EMOTIONAL_NATURE_OF_MY_CHATS = 4,
2633
+ COACH_SELF_REPORTED_WORKLOAD_REASON_CONTENT_REQUIRES_MY_FULL_ATTENTION = 5,
2634
+ COACH_SELF_REPORTED_WORKLOAD_REASON_MEMBER_FRUSTRATED_WITH_GINGER_SERVICE = 6,
2635
+ COACH_SELF_REPORTED_WORKLOAD_REASON_REASON_NOT_LISTED = 7,
2636
+ COACH_SELF_REPORTED_WORKLOAD_REASON_END_OF_SHIFT = 8,
2637
+ COACH_SELF_REPORTED_WORKLOAD_REASON_BACKLOG = 9,
2638
+ COACH_SELF_REPORTED_WORKLOAD_REASON_SYSTEM_ISSUES_IN_DR_CHRONO = 10,
2639
+ COACH_SELF_REPORTED_WORKLOAD_REASON_ANTICIPATING_BUSY_TIME_WITHIN_THE_NEXT_HOUR = 11
2640
+ }
2641
+
2642
+ /** CoachSelfReportedWorkloadType enum. */
2643
+ enum CoachSelfReportedWorkloadType {
2644
+ COACHING_FEEDBACK_TYPE_UNKNOWN = 0,
2645
+ COACHING_FEEDBACK_TYPE_SCHEDULED = 1,
2646
+ COACHING_FEEDBACK_TYPE_OPTIONAL = 2
2647
+ }
2648
+
2649
+ /** Properties of a CoachingAvailability. */
2650
+ interface ICoachingAvailability {
2651
+
2652
+ /** CoachingAvailability id */
2653
+ id?: (string|null);
2654
+
2655
+ /** CoachingAvailability coachId */
2656
+ coachId?: (string|null);
2657
+
2658
+ /** CoachingAvailability startedAt */
2659
+ startedAt?: (number|Long|null);
2660
+
2661
+ /** CoachingAvailability endedAt */
2662
+ endedAt?: (number|Long|null);
2663
+
2664
+ /** CoachingAvailability allowanceCount */
2665
+ allowanceCount?: (number|null);
2666
+ }
2667
+
2668
+ /** Represents a CoachingAvailability. */
2669
+ class CoachingAvailability implements ICoachingAvailability {
2670
+
2671
+ /**
2672
+ * Constructs a new CoachingAvailability.
2673
+ * @param [properties] Properties to set
2674
+ */
2675
+ constructor(properties?: coaching.ICoachingAvailability);
2676
+
2677
+ /** CoachingAvailability id. */
2678
+ public id: string;
2679
+
2680
+ /** CoachingAvailability coachId. */
2681
+ public coachId: string;
2682
+
2683
+ /** CoachingAvailability startedAt. */
2684
+ public startedAt: (number|Long);
2685
+
2686
+ /** CoachingAvailability endedAt. */
2687
+ public endedAt: (number|Long);
2688
+
2689
+ /** CoachingAvailability allowanceCount. */
2690
+ public allowanceCount: number;
2691
+
2692
+ /**
2693
+ * Creates a new CoachingAvailability instance using the specified properties.
2694
+ * @param [properties] Properties to set
2695
+ * @returns CoachingAvailability instance
2696
+ */
2697
+ public static create(properties?: coaching.ICoachingAvailability): coaching.CoachingAvailability;
2698
+
2699
+ /**
2700
+ * Encodes the specified CoachingAvailability message. Does not implicitly {@link coaching.CoachingAvailability.verify|verify} messages.
2701
+ * @param message CoachingAvailability message or plain object to encode
2702
+ * @param [writer] Writer to encode to
2703
+ * @returns Writer
2704
+ */
2705
+ public static encode(message: coaching.ICoachingAvailability, writer?: $protobuf.Writer): $protobuf.Writer;
2706
+
2707
+ /**
2708
+ * Encodes the specified CoachingAvailability message, length delimited. Does not implicitly {@link coaching.CoachingAvailability.verify|verify} messages.
2709
+ * @param message CoachingAvailability message or plain object to encode
2710
+ * @param [writer] Writer to encode to
2711
+ * @returns Writer
2712
+ */
2713
+ public static encodeDelimited(message: coaching.ICoachingAvailability, writer?: $protobuf.Writer): $protobuf.Writer;
2714
+
2715
+ /**
2716
+ * Decodes a CoachingAvailability message from the specified reader or buffer.
2717
+ * @param reader Reader or buffer to decode from
2718
+ * @param [length] Message length if known beforehand
2719
+ * @returns CoachingAvailability
2720
+ * @throws {Error} If the payload is not a reader or valid buffer
2721
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2722
+ */
2723
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coaching.CoachingAvailability;
2724
+
2725
+ /**
2726
+ * Decodes a CoachingAvailability message from the specified reader or buffer, length delimited.
2727
+ * @param reader Reader or buffer to decode from
2728
+ * @returns CoachingAvailability
2729
+ * @throws {Error} If the payload is not a reader or valid buffer
2730
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2731
+ */
2732
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coaching.CoachingAvailability;
2733
+
2734
+ /**
2735
+ * Verifies a CoachingAvailability message.
2736
+ * @param message Plain object to verify
2737
+ * @returns `null` if valid, otherwise the reason why it is not
2738
+ */
2739
+ public static verify(message: { [k: string]: any }): (string|null);
2740
+
2741
+ /**
2742
+ * Creates a CoachingAvailability message from a plain object. Also converts values to their respective internal types.
2743
+ * @param object Plain object
2744
+ * @returns CoachingAvailability
2745
+ */
2746
+ public static fromObject(object: { [k: string]: any }): coaching.CoachingAvailability;
2747
+
2748
+ /**
2749
+ * Creates a plain object from a CoachingAvailability message. Also converts values to other types if specified.
2750
+ * @param message CoachingAvailability
2751
+ * @param [options] Conversion options
2752
+ * @returns Plain object
2753
+ */
2754
+ public static toObject(message: coaching.CoachingAvailability, options?: $protobuf.IConversionOptions): { [k: string]: any };
2755
+
2756
+ /**
2757
+ * Converts this CoachingAvailability to JSON.
2758
+ * @returns JSON object
2759
+ */
2760
+ public toJSON(): { [k: string]: any };
2761
+ }
2762
+
2763
+ /** Properties of a CoachingChatRating. */
2764
+ interface ICoachingChatRating {
2765
+
2766
+ /** CoachingChatRating id */
2767
+ id?: (string|null);
2768
+
2769
+ /** CoachingChatRating chatConversationId */
2770
+ chatConversationId?: (number|null);
2771
+
2772
+ /** CoachingChatRating messageCount */
2773
+ messageCount?: (number|null);
2774
+
2775
+ /** CoachingChatRating createdAt */
2776
+ createdAt?: (number|Long|null);
2777
+
2778
+ /** CoachingChatRating coachId */
2779
+ coachId?: (string|null);
2780
+
2781
+ /** CoachingChatRating rating */
2782
+ rating?: (number|null);
2783
+
2784
+ /** CoachingChatRating memberGingerUserId */
2785
+ memberGingerUserId?: (number|null);
2786
+
2787
+ /** CoachingChatRating memberHsUserId */
2788
+ memberHsUserId?: (string|null);
2789
+ }
2790
+
2791
+ /** Represents a CoachingChatRating. */
2792
+ class CoachingChatRating implements ICoachingChatRating {
2793
+
2794
+ /**
2795
+ * Constructs a new CoachingChatRating.
2796
+ * @param [properties] Properties to set
2797
+ */
2798
+ constructor(properties?: coaching.ICoachingChatRating);
2799
+
2800
+ /** CoachingChatRating id. */
2801
+ public id: string;
2802
+
2803
+ /** CoachingChatRating chatConversationId. */
2804
+ public chatConversationId: number;
2805
+
2806
+ /** CoachingChatRating messageCount. */
2807
+ public messageCount: number;
2808
+
2809
+ /** CoachingChatRating createdAt. */
2810
+ public createdAt: (number|Long);
2811
+
2812
+ /** CoachingChatRating coachId. */
2813
+ public coachId: string;
2814
+
2815
+ /** CoachingChatRating rating. */
2816
+ public rating: number;
2817
+
2818
+ /** CoachingChatRating memberGingerUserId. */
2819
+ public memberGingerUserId: number;
2820
+
2821
+ /** CoachingChatRating memberHsUserId. */
2822
+ public memberHsUserId: string;
2823
+
2824
+ /**
2825
+ * Creates a new CoachingChatRating instance using the specified properties.
2826
+ * @param [properties] Properties to set
2827
+ * @returns CoachingChatRating instance
2828
+ */
2829
+ public static create(properties?: coaching.ICoachingChatRating): coaching.CoachingChatRating;
2830
+
2831
+ /**
2832
+ * Encodes the specified CoachingChatRating message. Does not implicitly {@link coaching.CoachingChatRating.verify|verify} messages.
2833
+ * @param message CoachingChatRating message or plain object to encode
2834
+ * @param [writer] Writer to encode to
2835
+ * @returns Writer
2836
+ */
2837
+ public static encode(message: coaching.ICoachingChatRating, writer?: $protobuf.Writer): $protobuf.Writer;
2838
+
2839
+ /**
2840
+ * Encodes the specified CoachingChatRating message, length delimited. Does not implicitly {@link coaching.CoachingChatRating.verify|verify} messages.
2841
+ * @param message CoachingChatRating message or plain object to encode
2842
+ * @param [writer] Writer to encode to
2843
+ * @returns Writer
2844
+ */
2845
+ public static encodeDelimited(message: coaching.ICoachingChatRating, writer?: $protobuf.Writer): $protobuf.Writer;
2846
+
2847
+ /**
2848
+ * Decodes a CoachingChatRating message from the specified reader or buffer.
2849
+ * @param reader Reader or buffer to decode from
2850
+ * @param [length] Message length if known beforehand
2851
+ * @returns CoachingChatRating
2852
+ * @throws {Error} If the payload is not a reader or valid buffer
2853
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2854
+ */
2855
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coaching.CoachingChatRating;
2856
+
2857
+ /**
2858
+ * Decodes a CoachingChatRating message from the specified reader or buffer, length delimited.
2859
+ * @param reader Reader or buffer to decode from
2860
+ * @returns CoachingChatRating
2861
+ * @throws {Error} If the payload is not a reader or valid buffer
2862
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2863
+ */
2864
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coaching.CoachingChatRating;
2865
+
2866
+ /**
2867
+ * Verifies a CoachingChatRating message.
2868
+ * @param message Plain object to verify
2869
+ * @returns `null` if valid, otherwise the reason why it is not
2870
+ */
2871
+ public static verify(message: { [k: string]: any }): (string|null);
2872
+
2873
+ /**
2874
+ * Creates a CoachingChatRating message from a plain object. Also converts values to their respective internal types.
2875
+ * @param object Plain object
2876
+ * @returns CoachingChatRating
2877
+ */
2878
+ public static fromObject(object: { [k: string]: any }): coaching.CoachingChatRating;
2879
+
2880
+ /**
2881
+ * Creates a plain object from a CoachingChatRating message. Also converts values to other types if specified.
2882
+ * @param message CoachingChatRating
2883
+ * @param [options] Conversion options
2884
+ * @returns Plain object
2885
+ */
2886
+ public static toObject(message: coaching.CoachingChatRating, options?: $protobuf.IConversionOptions): { [k: string]: any };
2887
+
2888
+ /**
2889
+ * Converts this CoachingChatRating to JSON.
2890
+ * @returns JSON object
2891
+ */
2892
+ public toJSON(): { [k: string]: any };
2893
+ }
2894
+
2895
+ /** Properties of a CoachingShift. */
2896
+ interface ICoachingShift {
2897
+
2898
+ /** CoachingShift id */
2899
+ id?: (string|null);
2900
+
2901
+ /** CoachingShift coachId */
2902
+ coachId?: (string|null);
2903
+
2904
+ /** CoachingShift startedAt */
2905
+ startedAt?: (number|Long|null);
2906
+
2907
+ /** CoachingShift endedAt */
2908
+ endedAt?: (number|Long|null);
2909
+
2910
+ /** CoachingShift updatedAt */
2911
+ updatedAt?: (number|Long|null);
2912
+
2913
+ /** CoachingShift status */
2914
+ status?: (coaching.CoachingShiftStatus|null);
2915
+ }
2916
+
2917
+ /** Represents a CoachingShift. */
2918
+ class CoachingShift implements ICoachingShift {
2919
+
2920
+ /**
2921
+ * Constructs a new CoachingShift.
2922
+ * @param [properties] Properties to set
2923
+ */
2924
+ constructor(properties?: coaching.ICoachingShift);
2925
+
2926
+ /** CoachingShift id. */
2927
+ public id: string;
2928
+
2929
+ /** CoachingShift coachId. */
2930
+ public coachId: string;
2931
+
2932
+ /** CoachingShift startedAt. */
2933
+ public startedAt: (number|Long);
2934
+
2935
+ /** CoachingShift endedAt. */
2936
+ public endedAt: (number|Long);
2937
+
2938
+ /** CoachingShift updatedAt. */
2939
+ public updatedAt: (number|Long);
2940
+
2941
+ /** CoachingShift status. */
2942
+ public status: coaching.CoachingShiftStatus;
2943
+
2944
+ /**
2945
+ * Creates a new CoachingShift instance using the specified properties.
2946
+ * @param [properties] Properties to set
2947
+ * @returns CoachingShift instance
2948
+ */
2949
+ public static create(properties?: coaching.ICoachingShift): coaching.CoachingShift;
2950
+
2951
+ /**
2952
+ * Encodes the specified CoachingShift message. Does not implicitly {@link coaching.CoachingShift.verify|verify} messages.
2953
+ * @param message CoachingShift message or plain object to encode
2954
+ * @param [writer] Writer to encode to
2955
+ * @returns Writer
2956
+ */
2957
+ public static encode(message: coaching.ICoachingShift, writer?: $protobuf.Writer): $protobuf.Writer;
2958
+
2959
+ /**
2960
+ * Encodes the specified CoachingShift message, length delimited. Does not implicitly {@link coaching.CoachingShift.verify|verify} messages.
2961
+ * @param message CoachingShift message or plain object to encode
2962
+ * @param [writer] Writer to encode to
2963
+ * @returns Writer
2964
+ */
2965
+ public static encodeDelimited(message: coaching.ICoachingShift, writer?: $protobuf.Writer): $protobuf.Writer;
2966
+
2967
+ /**
2968
+ * Decodes a CoachingShift message from the specified reader or buffer.
2969
+ * @param reader Reader or buffer to decode from
2970
+ * @param [length] Message length if known beforehand
2971
+ * @returns CoachingShift
2972
+ * @throws {Error} If the payload is not a reader or valid buffer
2973
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2974
+ */
2975
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coaching.CoachingShift;
2976
+
2977
+ /**
2978
+ * Decodes a CoachingShift message from the specified reader or buffer, length delimited.
2979
+ * @param reader Reader or buffer to decode from
2980
+ * @returns CoachingShift
2981
+ * @throws {Error} If the payload is not a reader or valid buffer
2982
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
2983
+ */
2984
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coaching.CoachingShift;
2985
+
2986
+ /**
2987
+ * Verifies a CoachingShift message.
2988
+ * @param message Plain object to verify
2989
+ * @returns `null` if valid, otherwise the reason why it is not
2990
+ */
2991
+ public static verify(message: { [k: string]: any }): (string|null);
2992
+
2993
+ /**
2994
+ * Creates a CoachingShift message from a plain object. Also converts values to their respective internal types.
2995
+ * @param object Plain object
2996
+ * @returns CoachingShift
2997
+ */
2998
+ public static fromObject(object: { [k: string]: any }): coaching.CoachingShift;
2999
+
3000
+ /**
3001
+ * Creates a plain object from a CoachingShift message. Also converts values to other types if specified.
3002
+ * @param message CoachingShift
3003
+ * @param [options] Conversion options
3004
+ * @returns Plain object
3005
+ */
3006
+ public static toObject(message: coaching.CoachingShift, options?: $protobuf.IConversionOptions): { [k: string]: any };
3007
+
3008
+ /**
3009
+ * Converts this CoachingShift to JSON.
3010
+ * @returns JSON object
3011
+ */
3012
+ public toJSON(): { [k: string]: any };
3013
+ }
3014
+
3015
+ /** CoachingShiftStatus enum. */
3016
+ enum CoachingShiftStatus {
3017
+ COACHING_SHIFT_STATUS_UNKNOWN = 0,
3018
+ COACHING_SHIFT_STATUS_NORMAL = 1,
3019
+ COACHING_SHIFT_STATUS_REPLY_ONLY = 2,
3020
+ COACHING_SHIFT_STATUS_PAID_BREAK = 3,
3021
+ COACHING_SHIFT_STATUS_NON_PAID_BREAK = 4
3022
+ }
3023
+
3024
+ /** Properties of a ScheduledCoachingSession. */
3025
+ interface IScheduledCoachingSession {
3026
+
3027
+ /** ScheduledCoachingSession id */
3028
+ id?: (string|null);
3029
+
3030
+ /** ScheduledCoachingSession coachId */
3031
+ coachId?: (string|null);
3032
+
3033
+ /** ScheduledCoachingSession gingerMemberId */
3034
+ gingerMemberId?: (number|null);
3035
+
3036
+ /** ScheduledCoachingSession hsUserId */
3037
+ hsUserId?: (string|null);
3038
+
3039
+ /** ScheduledCoachingSession createdAt */
3040
+ createdAt?: (number|Long|null);
3041
+
3042
+ /** ScheduledCoachingSession scheduledStartTime */
3043
+ scheduledStartTime?: (number|Long|null);
3044
+
3045
+ /** ScheduledCoachingSession scheduledEndTime */
3046
+ scheduledEndTime?: (number|Long|null);
3047
+
3048
+ /** ScheduledCoachingSession cancelledAt */
3049
+ cancelledAt?: (number|Long|null);
3050
+
3051
+ /** ScheduledCoachingSession rescheduledAt */
3052
+ rescheduledAt?: (number|Long|null);
3053
+
3054
+ /** ScheduledCoachingSession isRecurring */
3055
+ isRecurring?: (boolean|null);
3056
+
3057
+ /** ScheduledCoachingSession eventType */
3058
+ eventType?: (coaching.CoachingSessionEventType|null);
3059
+
3060
+ /**
3061
+ * When an OneTimeScheduledCheckin record is cancelled, it can be a result of being rescheduled or can be a
3062
+ * result of just canceling without being rescheduled. This field is used to differentiate between the two.
3063
+ * In the future (time of writing 2024-03-21), rescheduled_at will become deprecated
3064
+ * because it becomes inaccurate as soon as you reschedule more than once (it only tracks the most recent reschedule).
3065
+ * So what will happen on reschedules going forward is that:
3066
+ * the old/current record is cancelled (i.e. cancelled_at is set, and rescheduled is set to True)
3067
+ * a new record is created for the new date/time
3068
+ */
3069
+ rescheduled?: (boolean|null);
3070
+ }
3071
+
3072
+ /**
3073
+ * An individual occurrence of a checkin. A "checkin" is either of the following:
3074
+ *
3075
+ * 1) An initial coaching session in which the Listener (a coach) meets with a Caller (a member)
3076
+ * 2) A follow-up coaching session for the same Caller from initial consult
3077
+ * 3) A reminder which the Listener (Support Team) has set for themselves about the member
3078
+ *
3079
+ * See:
3080
+ * listener-server.apps.listener.models.OneTimeScheduledCheckin
3081
+ * listener-server.apps.peakloadscheduler.models.ScheduledTime
3082
+ */
3083
+ class ScheduledCoachingSession implements IScheduledCoachingSession {
3084
+
3085
+ /**
3086
+ * Constructs a new ScheduledCoachingSession.
3087
+ * @param [properties] Properties to set
3088
+ */
3089
+ constructor(properties?: coaching.IScheduledCoachingSession);
3090
+
3091
+ /** ScheduledCoachingSession id. */
3092
+ public id: string;
3093
+
3094
+ /** ScheduledCoachingSession coachId. */
3095
+ public coachId: string;
3096
+
3097
+ /** ScheduledCoachingSession gingerMemberId. */
3098
+ public gingerMemberId: number;
3099
+
3100
+ /** ScheduledCoachingSession hsUserId. */
3101
+ public hsUserId: string;
3102
+
3103
+ /** ScheduledCoachingSession createdAt. */
3104
+ public createdAt: (number|Long);
3105
+
3106
+ /** ScheduledCoachingSession scheduledStartTime. */
3107
+ public scheduledStartTime: (number|Long);
3108
+
3109
+ /** ScheduledCoachingSession scheduledEndTime. */
3110
+ public scheduledEndTime: (number|Long);
3111
+
3112
+ /** ScheduledCoachingSession cancelledAt. */
3113
+ public cancelledAt: (number|Long);
3114
+
3115
+ /** ScheduledCoachingSession rescheduledAt. */
3116
+ public rescheduledAt: (number|Long);
3117
+
3118
+ /** ScheduledCoachingSession isRecurring. */
3119
+ public isRecurring: boolean;
3120
+
3121
+ /** ScheduledCoachingSession eventType. */
3122
+ public eventType: coaching.CoachingSessionEventType;
3123
+
3124
+ /**
3125
+ * When an OneTimeScheduledCheckin record is cancelled, it can be a result of being rescheduled or can be a
3126
+ * result of just canceling without being rescheduled. This field is used to differentiate between the two.
3127
+ * In the future (time of writing 2024-03-21), rescheduled_at will become deprecated
3128
+ * because it becomes inaccurate as soon as you reschedule more than once (it only tracks the most recent reschedule).
3129
+ * So what will happen on reschedules going forward is that:
3130
+ * the old/current record is cancelled (i.e. cancelled_at is set, and rescheduled is set to True)
3131
+ * a new record is created for the new date/time
3132
+ */
3133
+ public rescheduled: boolean;
3134
+
3135
+ /**
3136
+ * Creates a new ScheduledCoachingSession instance using the specified properties.
3137
+ * @param [properties] Properties to set
3138
+ * @returns ScheduledCoachingSession instance
3139
+ */
3140
+ public static create(properties?: coaching.IScheduledCoachingSession): coaching.ScheduledCoachingSession;
3141
+
3142
+ /**
3143
+ * Encodes the specified ScheduledCoachingSession message. Does not implicitly {@link coaching.ScheduledCoachingSession.verify|verify} messages.
3144
+ * @param message ScheduledCoachingSession message or plain object to encode
3145
+ * @param [writer] Writer to encode to
3146
+ * @returns Writer
3147
+ */
3148
+ public static encode(message: coaching.IScheduledCoachingSession, writer?: $protobuf.Writer): $protobuf.Writer;
3149
+
3150
+ /**
3151
+ * Encodes the specified ScheduledCoachingSession message, length delimited. Does not implicitly {@link coaching.ScheduledCoachingSession.verify|verify} messages.
3152
+ * @param message ScheduledCoachingSession message or plain object to encode
3153
+ * @param [writer] Writer to encode to
3154
+ * @returns Writer
3155
+ */
3156
+ public static encodeDelimited(message: coaching.IScheduledCoachingSession, writer?: $protobuf.Writer): $protobuf.Writer;
3157
+
3158
+ /**
3159
+ * Decodes a ScheduledCoachingSession message from the specified reader or buffer.
3160
+ * @param reader Reader or buffer to decode from
3161
+ * @param [length] Message length if known beforehand
3162
+ * @returns ScheduledCoachingSession
3163
+ * @throws {Error} If the payload is not a reader or valid buffer
3164
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3165
+ */
3166
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coaching.ScheduledCoachingSession;
3167
+
3168
+ /**
3169
+ * Decodes a ScheduledCoachingSession message from the specified reader or buffer, length delimited.
3170
+ * @param reader Reader or buffer to decode from
3171
+ * @returns ScheduledCoachingSession
3172
+ * @throws {Error} If the payload is not a reader or valid buffer
3173
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3174
+ */
3175
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coaching.ScheduledCoachingSession;
3176
+
3177
+ /**
3178
+ * Verifies a ScheduledCoachingSession message.
3179
+ * @param message Plain object to verify
3180
+ * @returns `null` if valid, otherwise the reason why it is not
3181
+ */
3182
+ public static verify(message: { [k: string]: any }): (string|null);
3183
+
3184
+ /**
3185
+ * Creates a ScheduledCoachingSession message from a plain object. Also converts values to their respective internal types.
3186
+ * @param object Plain object
3187
+ * @returns ScheduledCoachingSession
3188
+ */
3189
+ public static fromObject(object: { [k: string]: any }): coaching.ScheduledCoachingSession;
3190
+
3191
+ /**
3192
+ * Creates a plain object from a ScheduledCoachingSession message. Also converts values to other types if specified.
3193
+ * @param message ScheduledCoachingSession
3194
+ * @param [options] Conversion options
3195
+ * @returns Plain object
3196
+ */
3197
+ public static toObject(message: coaching.ScheduledCoachingSession, options?: $protobuf.IConversionOptions): { [k: string]: any };
3198
+
3199
+ /**
3200
+ * Converts this ScheduledCoachingSession to JSON.
3201
+ * @returns JSON object
3202
+ */
3203
+ public toJSON(): { [k: string]: any };
3204
+ }
3205
+
3206
+ /** CoachingSessionEventType enum. */
3207
+ enum CoachingSessionEventType {
3208
+ COACHING_SESSION_EVENT_TYPE_UNKNOWN = 0,
3209
+ COACHING_SESSION_EVENT_TYPE_INITIAL_CONSULT = 1,
3210
+ COACHING_SESSION_EVENT_TYPE_COACHING_SESSION = 2,
3211
+ COACHING_SESSION_EVENT_TYPE_REMINDER = 3
3212
+ }
3213
+
3214
+ /** Properties of a SuicidalIdeationAlert. */
3215
+ interface ISuicidalIdeationAlert {
3216
+
3217
+ /** SuicidalIdeationAlert id */
3218
+ id?: (string|null);
3219
+
3220
+ /** SuicidalIdeationAlert eventName */
3221
+ eventName?: (coaching.SuicidalIdeationAlertEvent|null);
3222
+
3223
+ /** SuicidalIdeationAlert createdAt */
3224
+ createdAt?: (number|Long|null);
3225
+
3226
+ /** SuicidalIdeationAlert gingerMemberId */
3227
+ gingerMemberId?: (number|null);
3228
+
3229
+ /** SuicidalIdeationAlert hsUserId */
3230
+ hsUserId?: (string|null);
3231
+
3232
+ /** SuicidalIdeationAlert tasks */
3233
+ tasks?: (coaching.ISuicidalIdeationAlertTask[]|null);
3234
+
3235
+ /** SuicidalIdeationAlert riskType */
3236
+ riskType?: (coaching.SafetyRiskType|null);
3237
+
3238
+ /** SuicidalIdeationAlert severityType */
3239
+ severityType?: (coaching.SeverityType|null);
3240
+
3241
+ /** SuicidalIdeationAlert isContinuing */
3242
+ isContinuing?: (boolean|null);
3243
+ }
3244
+
3245
+ /** Represents a SuicidalIdeationAlert. */
3246
+ class SuicidalIdeationAlert implements ISuicidalIdeationAlert {
3247
+
3248
+ /**
3249
+ * Constructs a new SuicidalIdeationAlert.
3250
+ * @param [properties] Properties to set
3251
+ */
3252
+ constructor(properties?: coaching.ISuicidalIdeationAlert);
3253
+
3254
+ /** SuicidalIdeationAlert id. */
3255
+ public id: string;
3256
+
3257
+ /** SuicidalIdeationAlert eventName. */
3258
+ public eventName: coaching.SuicidalIdeationAlertEvent;
3259
+
3260
+ /** SuicidalIdeationAlert createdAt. */
3261
+ public createdAt: (number|Long);
3262
+
3263
+ /** SuicidalIdeationAlert gingerMemberId. */
3264
+ public gingerMemberId: number;
3265
+
3266
+ /** SuicidalIdeationAlert hsUserId. */
3267
+ public hsUserId: string;
3268
+
3269
+ /** SuicidalIdeationAlert tasks. */
3270
+ public tasks: coaching.ISuicidalIdeationAlertTask[];
3271
+
3272
+ /** SuicidalIdeationAlert riskType. */
3273
+ public riskType: coaching.SafetyRiskType;
3274
+
3275
+ /** SuicidalIdeationAlert severityType. */
3276
+ public severityType: coaching.SeverityType;
3277
+
3278
+ /** SuicidalIdeationAlert isContinuing. */
3279
+ public isContinuing: boolean;
3280
+
3281
+ /**
3282
+ * Creates a new SuicidalIdeationAlert instance using the specified properties.
3283
+ * @param [properties] Properties to set
3284
+ * @returns SuicidalIdeationAlert instance
3285
+ */
3286
+ public static create(properties?: coaching.ISuicidalIdeationAlert): coaching.SuicidalIdeationAlert;
3287
+
3288
+ /**
3289
+ * Encodes the specified SuicidalIdeationAlert message. Does not implicitly {@link coaching.SuicidalIdeationAlert.verify|verify} messages.
3290
+ * @param message SuicidalIdeationAlert message or plain object to encode
3291
+ * @param [writer] Writer to encode to
3292
+ * @returns Writer
3293
+ */
3294
+ public static encode(message: coaching.ISuicidalIdeationAlert, writer?: $protobuf.Writer): $protobuf.Writer;
3295
+
3296
+ /**
3297
+ * Encodes the specified SuicidalIdeationAlert message, length delimited. Does not implicitly {@link coaching.SuicidalIdeationAlert.verify|verify} messages.
3298
+ * @param message SuicidalIdeationAlert message or plain object to encode
3299
+ * @param [writer] Writer to encode to
3300
+ * @returns Writer
3301
+ */
3302
+ public static encodeDelimited(message: coaching.ISuicidalIdeationAlert, writer?: $protobuf.Writer): $protobuf.Writer;
3303
+
3304
+ /**
3305
+ * Decodes a SuicidalIdeationAlert message from the specified reader or buffer.
3306
+ * @param reader Reader or buffer to decode from
3307
+ * @param [length] Message length if known beforehand
3308
+ * @returns SuicidalIdeationAlert
3309
+ * @throws {Error} If the payload is not a reader or valid buffer
3310
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3311
+ */
3312
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coaching.SuicidalIdeationAlert;
3313
+
3314
+ /**
3315
+ * Decodes a SuicidalIdeationAlert message from the specified reader or buffer, length delimited.
3316
+ * @param reader Reader or buffer to decode from
3317
+ * @returns SuicidalIdeationAlert
3318
+ * @throws {Error} If the payload is not a reader or valid buffer
3319
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3320
+ */
3321
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coaching.SuicidalIdeationAlert;
3322
+
3323
+ /**
3324
+ * Verifies a SuicidalIdeationAlert message.
3325
+ * @param message Plain object to verify
3326
+ * @returns `null` if valid, otherwise the reason why it is not
3327
+ */
3328
+ public static verify(message: { [k: string]: any }): (string|null);
3329
+
3330
+ /**
3331
+ * Creates a SuicidalIdeationAlert message from a plain object. Also converts values to their respective internal types.
3332
+ * @param object Plain object
3333
+ * @returns SuicidalIdeationAlert
3334
+ */
3335
+ public static fromObject(object: { [k: string]: any }): coaching.SuicidalIdeationAlert;
3336
+
3337
+ /**
3338
+ * Creates a plain object from a SuicidalIdeationAlert message. Also converts values to other types if specified.
3339
+ * @param message SuicidalIdeationAlert
3340
+ * @param [options] Conversion options
3341
+ * @returns Plain object
3342
+ */
3343
+ public static toObject(message: coaching.SuicidalIdeationAlert, options?: $protobuf.IConversionOptions): { [k: string]: any };
3344
+
3345
+ /**
3346
+ * Converts this SuicidalIdeationAlert to JSON.
3347
+ * @returns JSON object
3348
+ */
3349
+ public toJSON(): { [k: string]: any };
3350
+ }
3351
+
3352
+ /** SafetyRiskType enum. */
3353
+ enum SafetyRiskType {
3354
+ SAFETY_RISK_TYPE_UNSPECIFIED = 0,
3355
+ SAFETY_RISK_TYPE_NO_DETECTION = 1,
3356
+ SAFETY_RISK_TYPE_DESPERATION = 2,
3357
+ SAFETY_RISK_TYPE_SELF_HARM = 3,
3358
+ SAFETY_RISK_TYPE_SUICIDE = 4
3359
+ }
3360
+
3361
+ /** SeverityType enum. */
3362
+ enum SeverityType {
3363
+ SEVERITY_TYPE_UNSPECIFIED = 0,
3364
+ SEVERITY_TYPE_HIGH = 1,
3365
+ SEVERITY_TYPE_NORMAL = 2
3366
+ }
3367
+
3368
+ /** Properties of a SuicidalIdeationAlertTask. */
3369
+ interface ISuicidalIdeationAlertTask {
3370
+
3371
+ /** SuicidalIdeationAlertTask id */
3372
+ id?: (string|null);
3373
+
3374
+ /** SuicidalIdeationAlertTask assignment */
3375
+ assignment?: (coaching.ISuicidalIdeationAlertTaskAssignment[]|null);
3376
+
3377
+ /** SuicidalIdeationAlertTask markedDoneAt */
3378
+ markedDoneAt?: (number|Long|null);
3379
+
3380
+ /** SuicidalIdeationAlertTask markedDoneByRelatedCoachId */
3381
+ markedDoneByRelatedCoachId?: (string|null);
3382
+ }
3383
+
3384
+ /**
3385
+ * When an SI Alert event happens, task(s) are created and assigned to a coach (sometimes several) who is then responsible
3386
+ * to reach out to the member and perform an SI assessment.
3387
+ *
3388
+ * See listener-server.apps.coach_feedback.models.UserContextEventTask
3389
+ */
3390
+ class SuicidalIdeationAlertTask implements ISuicidalIdeationAlertTask {
3391
+
3392
+ /**
3393
+ * Constructs a new SuicidalIdeationAlertTask.
3394
+ * @param [properties] Properties to set
3395
+ */
3396
+ constructor(properties?: coaching.ISuicidalIdeationAlertTask);
3397
+
3398
+ /** SuicidalIdeationAlertTask id. */
3399
+ public id: string;
3400
+
3401
+ /** SuicidalIdeationAlertTask assignment. */
3402
+ public assignment: coaching.ISuicidalIdeationAlertTaskAssignment[];
3403
+
3404
+ /** SuicidalIdeationAlertTask markedDoneAt. */
3405
+ public markedDoneAt: (number|Long);
3406
+
3407
+ /** SuicidalIdeationAlertTask markedDoneByRelatedCoachId. */
3408
+ public markedDoneByRelatedCoachId: string;
3409
+
3410
+ /**
3411
+ * Creates a new SuicidalIdeationAlertTask instance using the specified properties.
3412
+ * @param [properties] Properties to set
3413
+ * @returns SuicidalIdeationAlertTask instance
3414
+ */
3415
+ public static create(properties?: coaching.ISuicidalIdeationAlertTask): coaching.SuicidalIdeationAlertTask;
3416
+
3417
+ /**
3418
+ * Encodes the specified SuicidalIdeationAlertTask message. Does not implicitly {@link coaching.SuicidalIdeationAlertTask.verify|verify} messages.
3419
+ * @param message SuicidalIdeationAlertTask message or plain object to encode
3420
+ * @param [writer] Writer to encode to
3421
+ * @returns Writer
3422
+ */
3423
+ public static encode(message: coaching.ISuicidalIdeationAlertTask, writer?: $protobuf.Writer): $protobuf.Writer;
3424
+
3425
+ /**
3426
+ * Encodes the specified SuicidalIdeationAlertTask message, length delimited. Does not implicitly {@link coaching.SuicidalIdeationAlertTask.verify|verify} messages.
3427
+ * @param message SuicidalIdeationAlertTask message or plain object to encode
3428
+ * @param [writer] Writer to encode to
3429
+ * @returns Writer
3430
+ */
3431
+ public static encodeDelimited(message: coaching.ISuicidalIdeationAlertTask, writer?: $protobuf.Writer): $protobuf.Writer;
3432
+
3433
+ /**
3434
+ * Decodes a SuicidalIdeationAlertTask message from the specified reader or buffer.
3435
+ * @param reader Reader or buffer to decode from
3436
+ * @param [length] Message length if known beforehand
3437
+ * @returns SuicidalIdeationAlertTask
3438
+ * @throws {Error} If the payload is not a reader or valid buffer
3439
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3440
+ */
3441
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coaching.SuicidalIdeationAlertTask;
3442
+
3443
+ /**
3444
+ * Decodes a SuicidalIdeationAlertTask message from the specified reader or buffer, length delimited.
3445
+ * @param reader Reader or buffer to decode from
3446
+ * @returns SuicidalIdeationAlertTask
3447
+ * @throws {Error} If the payload is not a reader or valid buffer
3448
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3449
+ */
3450
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coaching.SuicidalIdeationAlertTask;
3451
+
3452
+ /**
3453
+ * Verifies a SuicidalIdeationAlertTask message.
3454
+ * @param message Plain object to verify
3455
+ * @returns `null` if valid, otherwise the reason why it is not
3456
+ */
3457
+ public static verify(message: { [k: string]: any }): (string|null);
3458
+
3459
+ /**
3460
+ * Creates a SuicidalIdeationAlertTask message from a plain object. Also converts values to their respective internal types.
3461
+ * @param object Plain object
3462
+ * @returns SuicidalIdeationAlertTask
3463
+ */
3464
+ public static fromObject(object: { [k: string]: any }): coaching.SuicidalIdeationAlertTask;
3465
+
3466
+ /**
3467
+ * Creates a plain object from a SuicidalIdeationAlertTask message. Also converts values to other types if specified.
3468
+ * @param message SuicidalIdeationAlertTask
3469
+ * @param [options] Conversion options
3470
+ * @returns Plain object
3471
+ */
3472
+ public static toObject(message: coaching.SuicidalIdeationAlertTask, options?: $protobuf.IConversionOptions): { [k: string]: any };
3473
+
3474
+ /**
3475
+ * Converts this SuicidalIdeationAlertTask to JSON.
3476
+ * @returns JSON object
3477
+ */
3478
+ public toJSON(): { [k: string]: any };
3479
+ }
3480
+
3481
+ /** Properties of a SuicidalIdeationAlertTaskAssignment. */
3482
+ interface ISuicidalIdeationAlertTaskAssignment {
3483
+
3484
+ /** SuicidalIdeationAlertTaskAssignment id */
3485
+ id?: (string|null);
3486
+
3487
+ /** SuicidalIdeationAlertTaskAssignment relatedCoachId */
3488
+ relatedCoachId?: (string|null);
3489
+
3490
+ /** SuicidalIdeationAlertTaskAssignment role */
3491
+ role?: (coaching.SuicidalIdeationAlertTaskAssignmentRole|null);
3492
+
3493
+ /** SuicidalIdeationAlertTaskAssignment escalated */
3494
+ escalated?: (boolean|null);
3495
+ }
3496
+
3497
+ /**
3498
+ * Assigns a SuicidalIdeationAlertTask to either:
3499
+ * a semantic role (dynamically assigned),
3500
+ * a specific listener, or
3501
+ * anyone who is on the care team (blank listener + role).
3502
+ *
3503
+ * See listener-server.apps.coach_feedback.models.UserContextEventTaskAssignment
3504
+ */
3505
+ class SuicidalIdeationAlertTaskAssignment implements ISuicidalIdeationAlertTaskAssignment {
3506
+
3507
+ /**
3508
+ * Constructs a new SuicidalIdeationAlertTaskAssignment.
3509
+ * @param [properties] Properties to set
3510
+ */
3511
+ constructor(properties?: coaching.ISuicidalIdeationAlertTaskAssignment);
3512
+
3513
+ /** SuicidalIdeationAlertTaskAssignment id. */
3514
+ public id: string;
3515
+
3516
+ /** SuicidalIdeationAlertTaskAssignment relatedCoachId. */
3517
+ public relatedCoachId: string;
3518
+
3519
+ /** SuicidalIdeationAlertTaskAssignment role. */
3520
+ public role: coaching.SuicidalIdeationAlertTaskAssignmentRole;
3521
+
3522
+ /** SuicidalIdeationAlertTaskAssignment escalated. */
3523
+ public escalated: boolean;
3524
+
3525
+ /**
3526
+ * Creates a new SuicidalIdeationAlertTaskAssignment instance using the specified properties.
3527
+ * @param [properties] Properties to set
3528
+ * @returns SuicidalIdeationAlertTaskAssignment instance
3529
+ */
3530
+ public static create(properties?: coaching.ISuicidalIdeationAlertTaskAssignment): coaching.SuicidalIdeationAlertTaskAssignment;
3531
+
3532
+ /**
3533
+ * Encodes the specified SuicidalIdeationAlertTaskAssignment message. Does not implicitly {@link coaching.SuicidalIdeationAlertTaskAssignment.verify|verify} messages.
3534
+ * @param message SuicidalIdeationAlertTaskAssignment message or plain object to encode
3535
+ * @param [writer] Writer to encode to
3536
+ * @returns Writer
3537
+ */
3538
+ public static encode(message: coaching.ISuicidalIdeationAlertTaskAssignment, writer?: $protobuf.Writer): $protobuf.Writer;
3539
+
3540
+ /**
3541
+ * Encodes the specified SuicidalIdeationAlertTaskAssignment message, length delimited. Does not implicitly {@link coaching.SuicidalIdeationAlertTaskAssignment.verify|verify} messages.
3542
+ * @param message SuicidalIdeationAlertTaskAssignment message or plain object to encode
3543
+ * @param [writer] Writer to encode to
3544
+ * @returns Writer
3545
+ */
3546
+ public static encodeDelimited(message: coaching.ISuicidalIdeationAlertTaskAssignment, writer?: $protobuf.Writer): $protobuf.Writer;
3547
+
3548
+ /**
3549
+ * Decodes a SuicidalIdeationAlertTaskAssignment message from the specified reader or buffer.
3550
+ * @param reader Reader or buffer to decode from
3551
+ * @param [length] Message length if known beforehand
3552
+ * @returns SuicidalIdeationAlertTaskAssignment
3553
+ * @throws {Error} If the payload is not a reader or valid buffer
3554
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3555
+ */
3556
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): coaching.SuicidalIdeationAlertTaskAssignment;
3557
+
3558
+ /**
3559
+ * Decodes a SuicidalIdeationAlertTaskAssignment message from the specified reader or buffer, length delimited.
3560
+ * @param reader Reader or buffer to decode from
3561
+ * @returns SuicidalIdeationAlertTaskAssignment
3562
+ * @throws {Error} If the payload is not a reader or valid buffer
3563
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
3564
+ */
3565
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): coaching.SuicidalIdeationAlertTaskAssignment;
3566
+
3567
+ /**
3568
+ * Verifies a SuicidalIdeationAlertTaskAssignment message.
3569
+ * @param message Plain object to verify
3570
+ * @returns `null` if valid, otherwise the reason why it is not
3571
+ */
3572
+ public static verify(message: { [k: string]: any }): (string|null);
3573
+
3574
+ /**
3575
+ * Creates a SuicidalIdeationAlertTaskAssignment message from a plain object. Also converts values to their respective internal types.
3576
+ * @param object Plain object
3577
+ * @returns SuicidalIdeationAlertTaskAssignment
3578
+ */
3579
+ public static fromObject(object: { [k: string]: any }): coaching.SuicidalIdeationAlertTaskAssignment;
3580
+
3581
+ /**
3582
+ * Creates a plain object from a SuicidalIdeationAlertTaskAssignment message. Also converts values to other types if specified.
3583
+ * @param message SuicidalIdeationAlertTaskAssignment
3584
+ * @param [options] Conversion options
3585
+ * @returns Plain object
3586
+ */
3587
+ public static toObject(message: coaching.SuicidalIdeationAlertTaskAssignment, options?: $protobuf.IConversionOptions): { [k: string]: any };
3588
+
3589
+ /**
3590
+ * Converts this SuicidalIdeationAlertTaskAssignment to JSON.
3591
+ * @returns JSON object
3592
+ */
3593
+ public toJSON(): { [k: string]: any };
3594
+ }
3595
+
3596
+ /** SuicidalIdeationAlertEvent enum. */
3597
+ enum SuicidalIdeationAlertEvent {
3598
+ SUICIDAL_IDEATION_ALERT_EVENT_UNSPECIFIED = 0,
3599
+ SUICIDAL_IDEATION_ALERT_EVENT_SAFETY_RISK_DETECTED = 1
3600
+ }
3601
+
3602
+ /** SuicidalIdeationAlertTaskAssignmentRole enum. */
3603
+ enum SuicidalIdeationAlertTaskAssignmentRole {
3604
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_UNSPECIFIED = 0,
3605
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_A = 1,
3606
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_B = 2,
3607
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_C = 3,
3608
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_D = 4,
3609
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_E = 5,
3610
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F = 6,
3611
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_G = 7,
3612
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_A1 = 8,
3613
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_A2 = 9,
3614
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_B1 = 10,
3615
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_B2 = 11,
3616
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_B3 = 12,
3617
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_C1 = 13,
3618
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_C2 = 14,
3619
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_D1 = 15,
3620
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_D2 = 16,
3621
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_E1 = 17,
3622
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_E2 = 18,
3623
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_E3 = 19,
3624
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_E4 = 20,
3625
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F1 = 21,
3626
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F2 = 22,
3627
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F3 = 23,
3628
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F4 = 24,
3629
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F5 = 25,
3630
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F6 = 26,
3631
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F7 = 27,
3632
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F8 = 28,
3633
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F9 = 29,
3634
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F10 = 30,
3635
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_F11 = 31,
3636
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH = 32,
3637
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_CONCIERGE = 33,
3638
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SCHEDULER = 34,
3639
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SUPPORT = 35,
3640
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_CLINICAL_REVIEWER = 36,
3641
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_CLINICAL = 37,
3642
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_COACH_SUPERVISOR = 38,
3643
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_CLINICAL_SUPERVISOR = 39,
3644
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_LISTENER = 40,
3645
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_A = 50,
3646
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_B = 51,
3647
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_C = 52,
3648
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_D = 53,
3649
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_E = 54,
3650
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_F = 55,
3651
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_G = 56,
3652
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_A1 = 57,
3653
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_A2 = 58,
3654
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_B1 = 59,
3655
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_B2 = 60,
3656
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_B3 = 61,
3657
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_C1 = 62,
3658
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_C2 = 63,
3659
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_D1 = 64,
3660
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_D2 = 65,
3661
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_E1 = 66,
3662
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_E2 = 67,
3663
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_E3 = 68,
3664
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA_E4 = 69,
3665
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_SIA = 70,
3666
+ USER_CONTEXT_EVENT_TASK_ASSIGNMENT_ROLE_TEAM_LEAD = 71,
3667
+ USER_CONTEXT_EVENT_TAKS_ASSIGNMENT_ROLE_DROPIN = 72
3668
+ }
3669
+ }
3670
+
169
3671
  /** Namespace content. */
170
3672
  export namespace content {
171
3673
 
@@ -32779,205 +36281,205 @@ export class B2BPartnerConsentCreated implements IB2BPartnerConsentCreated {
32779
36281
  public toJSON(): { [k: string]: any };
32780
36282
  }
32781
36283
 
32782
- /** Properties of a B2BPartnerConsentRequested. */
32783
- export interface IB2BPartnerConsentRequested {
36284
+ /** Properties of a B2BMemberPartnerConsentRequested. */
36285
+ export interface IB2BMemberPartnerConsentRequested {
32784
36286
 
32785
- /** B2BPartnerConsentRequested partnerConsentId */
36287
+ /** B2BMemberPartnerConsentRequested partnerConsentId */
32786
36288
  partnerConsentId?: (string|null);
32787
36289
 
32788
- /** B2BPartnerConsentRequested hsUserId */
36290
+ /** B2BMemberPartnerConsentRequested hsUserId */
32789
36291
  hsUserId?: (string|null);
32790
36292
 
32791
- /** B2BPartnerConsentRequested timestamp */
36293
+ /** B2BMemberPartnerConsentRequested timestamp */
32792
36294
  timestamp?: (number|Long|null);
32793
36295
  }
32794
36296
 
32795
- /** Represents a B2BPartnerConsentRequested. */
32796
- export class B2BPartnerConsentRequested implements IB2BPartnerConsentRequested {
36297
+ /** Represents a B2BMemberPartnerConsentRequested. */
36298
+ export class B2BMemberPartnerConsentRequested implements IB2BMemberPartnerConsentRequested {
32797
36299
 
32798
36300
  /**
32799
- * Constructs a new B2BPartnerConsentRequested.
36301
+ * Constructs a new B2BMemberPartnerConsentRequested.
32800
36302
  * @param [properties] Properties to set
32801
36303
  */
32802
- constructor(properties?: IB2BPartnerConsentRequested);
36304
+ constructor(properties?: IB2BMemberPartnerConsentRequested);
32803
36305
 
32804
- /** B2BPartnerConsentRequested partnerConsentId. */
36306
+ /** B2BMemberPartnerConsentRequested partnerConsentId. */
32805
36307
  public partnerConsentId: string;
32806
36308
 
32807
- /** B2BPartnerConsentRequested hsUserId. */
36309
+ /** B2BMemberPartnerConsentRequested hsUserId. */
32808
36310
  public hsUserId: string;
32809
36311
 
32810
- /** B2BPartnerConsentRequested timestamp. */
36312
+ /** B2BMemberPartnerConsentRequested timestamp. */
32811
36313
  public timestamp: (number|Long);
32812
36314
 
32813
36315
  /**
32814
- * Creates a new B2BPartnerConsentRequested instance using the specified properties.
36316
+ * Creates a new B2BMemberPartnerConsentRequested instance using the specified properties.
32815
36317
  * @param [properties] Properties to set
32816
- * @returns B2BPartnerConsentRequested instance
36318
+ * @returns B2BMemberPartnerConsentRequested instance
32817
36319
  */
32818
- public static create(properties?: IB2BPartnerConsentRequested): B2BPartnerConsentRequested;
36320
+ public static create(properties?: IB2BMemberPartnerConsentRequested): B2BMemberPartnerConsentRequested;
32819
36321
 
32820
36322
  /**
32821
- * Encodes the specified B2BPartnerConsentRequested message. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
32822
- * @param message B2BPartnerConsentRequested message or plain object to encode
36323
+ * Encodes the specified B2BMemberPartnerConsentRequested message. Does not implicitly {@link B2BMemberPartnerConsentRequested.verify|verify} messages.
36324
+ * @param message B2BMemberPartnerConsentRequested message or plain object to encode
32823
36325
  * @param [writer] Writer to encode to
32824
36326
  * @returns Writer
32825
36327
  */
32826
- public static encode(message: IB2BPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
36328
+ public static encode(message: IB2BMemberPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32827
36329
 
32828
36330
  /**
32829
- * Encodes the specified B2BPartnerConsentRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRequested.verify|verify} messages.
32830
- * @param message B2BPartnerConsentRequested message or plain object to encode
36331
+ * Encodes the specified B2BMemberPartnerConsentRequested message, length delimited. Does not implicitly {@link B2BMemberPartnerConsentRequested.verify|verify} messages.
36332
+ * @param message B2BMemberPartnerConsentRequested message or plain object to encode
32831
36333
  * @param [writer] Writer to encode to
32832
36334
  * @returns Writer
32833
36335
  */
32834
- public static encodeDelimited(message: IB2BPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
36336
+ public static encodeDelimited(message: IB2BMemberPartnerConsentRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32835
36337
 
32836
36338
  /**
32837
- * Decodes a B2BPartnerConsentRequested message from the specified reader or buffer.
36339
+ * Decodes a B2BMemberPartnerConsentRequested message from the specified reader or buffer.
32838
36340
  * @param reader Reader or buffer to decode from
32839
36341
  * @param [length] Message length if known beforehand
32840
- * @returns B2BPartnerConsentRequested
36342
+ * @returns B2BMemberPartnerConsentRequested
32841
36343
  * @throws {Error} If the payload is not a reader or valid buffer
32842
36344
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32843
36345
  */
32844
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BPartnerConsentRequested;
36346
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BMemberPartnerConsentRequested;
32845
36347
 
32846
36348
  /**
32847
- * Decodes a B2BPartnerConsentRequested message from the specified reader or buffer, length delimited.
36349
+ * Decodes a B2BMemberPartnerConsentRequested message from the specified reader or buffer, length delimited.
32848
36350
  * @param reader Reader or buffer to decode from
32849
- * @returns B2BPartnerConsentRequested
36351
+ * @returns B2BMemberPartnerConsentRequested
32850
36352
  * @throws {Error} If the payload is not a reader or valid buffer
32851
36353
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32852
36354
  */
32853
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BPartnerConsentRequested;
36355
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BMemberPartnerConsentRequested;
32854
36356
 
32855
36357
  /**
32856
- * Verifies a B2BPartnerConsentRequested message.
36358
+ * Verifies a B2BMemberPartnerConsentRequested message.
32857
36359
  * @param message Plain object to verify
32858
36360
  * @returns `null` if valid, otherwise the reason why it is not
32859
36361
  */
32860
36362
  public static verify(message: { [k: string]: any }): (string|null);
32861
36363
 
32862
36364
  /**
32863
- * Creates a B2BPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
36365
+ * Creates a B2BMemberPartnerConsentRequested message from a plain object. Also converts values to their respective internal types.
32864
36366
  * @param object Plain object
32865
- * @returns B2BPartnerConsentRequested
36367
+ * @returns B2BMemberPartnerConsentRequested
32866
36368
  */
32867
- public static fromObject(object: { [k: string]: any }): B2BPartnerConsentRequested;
36369
+ public static fromObject(object: { [k: string]: any }): B2BMemberPartnerConsentRequested;
32868
36370
 
32869
36371
  /**
32870
- * Creates a plain object from a B2BPartnerConsentRequested message. Also converts values to other types if specified.
32871
- * @param message B2BPartnerConsentRequested
36372
+ * Creates a plain object from a B2BMemberPartnerConsentRequested message. Also converts values to other types if specified.
36373
+ * @param message B2BMemberPartnerConsentRequested
32872
36374
  * @param [options] Conversion options
32873
36375
  * @returns Plain object
32874
36376
  */
32875
- public static toObject(message: B2BPartnerConsentRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
36377
+ public static toObject(message: B2BMemberPartnerConsentRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
32876
36378
 
32877
36379
  /**
32878
- * Converts this B2BPartnerConsentRequested to JSON.
36380
+ * Converts this B2BMemberPartnerConsentRequested to JSON.
32879
36381
  * @returns JSON object
32880
36382
  */
32881
36383
  public toJSON(): { [k: string]: any };
32882
36384
  }
32883
36385
 
32884
- /** Properties of a B2BPartnerConsentRemovalRequested. */
32885
- export interface IB2BPartnerConsentRemovalRequested {
36386
+ /** Properties of a B2BMemberPartnerConsentRemovalRequested. */
36387
+ export interface IB2BMemberPartnerConsentRemovalRequested {
32886
36388
 
32887
- /** B2BPartnerConsentRemovalRequested partnerConsent */
36389
+ /** B2BMemberPartnerConsentRemovalRequested partnerConsent */
32888
36390
  partnerConsent?: (b2b.IPartnerConsent|null);
32889
36391
 
32890
- /** B2BPartnerConsentRemovalRequested hsUserId */
36392
+ /** B2BMemberPartnerConsentRemovalRequested hsUserId */
32891
36393
  hsUserId?: (string|null);
32892
36394
 
32893
- /** B2BPartnerConsentRemovalRequested timestamp */
36395
+ /** B2BMemberPartnerConsentRemovalRequested timestamp */
32894
36396
  timestamp?: (number|Long|null);
32895
36397
  }
32896
36398
 
32897
- /** Represents a B2BPartnerConsentRemovalRequested. */
32898
- export class B2BPartnerConsentRemovalRequested implements IB2BPartnerConsentRemovalRequested {
36399
+ /** Represents a B2BMemberPartnerConsentRemovalRequested. */
36400
+ export class B2BMemberPartnerConsentRemovalRequested implements IB2BMemberPartnerConsentRemovalRequested {
32899
36401
 
32900
36402
  /**
32901
- * Constructs a new B2BPartnerConsentRemovalRequested.
36403
+ * Constructs a new B2BMemberPartnerConsentRemovalRequested.
32902
36404
  * @param [properties] Properties to set
32903
36405
  */
32904
- constructor(properties?: IB2BPartnerConsentRemovalRequested);
36406
+ constructor(properties?: IB2BMemberPartnerConsentRemovalRequested);
32905
36407
 
32906
- /** B2BPartnerConsentRemovalRequested partnerConsent. */
36408
+ /** B2BMemberPartnerConsentRemovalRequested partnerConsent. */
32907
36409
  public partnerConsent?: (b2b.IPartnerConsent|null);
32908
36410
 
32909
- /** B2BPartnerConsentRemovalRequested hsUserId. */
36411
+ /** B2BMemberPartnerConsentRemovalRequested hsUserId. */
32910
36412
  public hsUserId: string;
32911
36413
 
32912
- /** B2BPartnerConsentRemovalRequested timestamp. */
36414
+ /** B2BMemberPartnerConsentRemovalRequested timestamp. */
32913
36415
  public timestamp: (number|Long);
32914
36416
 
32915
36417
  /**
32916
- * Creates a new B2BPartnerConsentRemovalRequested instance using the specified properties.
36418
+ * Creates a new B2BMemberPartnerConsentRemovalRequested instance using the specified properties.
32917
36419
  * @param [properties] Properties to set
32918
- * @returns B2BPartnerConsentRemovalRequested instance
36420
+ * @returns B2BMemberPartnerConsentRemovalRequested instance
32919
36421
  */
32920
- public static create(properties?: IB2BPartnerConsentRemovalRequested): B2BPartnerConsentRemovalRequested;
36422
+ public static create(properties?: IB2BMemberPartnerConsentRemovalRequested): B2BMemberPartnerConsentRemovalRequested;
32921
36423
 
32922
36424
  /**
32923
- * Encodes the specified B2BPartnerConsentRemovalRequested message. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
32924
- * @param message B2BPartnerConsentRemovalRequested message or plain object to encode
36425
+ * Encodes the specified B2BMemberPartnerConsentRemovalRequested message. Does not implicitly {@link B2BMemberPartnerConsentRemovalRequested.verify|verify} messages.
36426
+ * @param message B2BMemberPartnerConsentRemovalRequested message or plain object to encode
32925
36427
  * @param [writer] Writer to encode to
32926
36428
  * @returns Writer
32927
36429
  */
32928
- public static encode(message: IB2BPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
36430
+ public static encode(message: IB2BMemberPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32929
36431
 
32930
36432
  /**
32931
- * Encodes the specified B2BPartnerConsentRemovalRequested message, length delimited. Does not implicitly {@link B2BPartnerConsentRemovalRequested.verify|verify} messages.
32932
- * @param message B2BPartnerConsentRemovalRequested message or plain object to encode
36433
+ * Encodes the specified B2BMemberPartnerConsentRemovalRequested message, length delimited. Does not implicitly {@link B2BMemberPartnerConsentRemovalRequested.verify|verify} messages.
36434
+ * @param message B2BMemberPartnerConsentRemovalRequested message or plain object to encode
32933
36435
  * @param [writer] Writer to encode to
32934
36436
  * @returns Writer
32935
36437
  */
32936
- public static encodeDelimited(message: IB2BPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
36438
+ public static encodeDelimited(message: IB2BMemberPartnerConsentRemovalRequested, writer?: $protobuf.Writer): $protobuf.Writer;
32937
36439
 
32938
36440
  /**
32939
- * Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer.
36441
+ * Decodes a B2BMemberPartnerConsentRemovalRequested message from the specified reader or buffer.
32940
36442
  * @param reader Reader or buffer to decode from
32941
36443
  * @param [length] Message length if known beforehand
32942
- * @returns B2BPartnerConsentRemovalRequested
36444
+ * @returns B2BMemberPartnerConsentRemovalRequested
32943
36445
  * @throws {Error} If the payload is not a reader or valid buffer
32944
36446
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32945
36447
  */
32946
- public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BPartnerConsentRemovalRequested;
36448
+ public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): B2BMemberPartnerConsentRemovalRequested;
32947
36449
 
32948
36450
  /**
32949
- * Decodes a B2BPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
36451
+ * Decodes a B2BMemberPartnerConsentRemovalRequested message from the specified reader or buffer, length delimited.
32950
36452
  * @param reader Reader or buffer to decode from
32951
- * @returns B2BPartnerConsentRemovalRequested
36453
+ * @returns B2BMemberPartnerConsentRemovalRequested
32952
36454
  * @throws {Error} If the payload is not a reader or valid buffer
32953
36455
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
32954
36456
  */
32955
- public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BPartnerConsentRemovalRequested;
36457
+ public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): B2BMemberPartnerConsentRemovalRequested;
32956
36458
 
32957
36459
  /**
32958
- * Verifies a B2BPartnerConsentRemovalRequested message.
36460
+ * Verifies a B2BMemberPartnerConsentRemovalRequested message.
32959
36461
  * @param message Plain object to verify
32960
36462
  * @returns `null` if valid, otherwise the reason why it is not
32961
36463
  */
32962
36464
  public static verify(message: { [k: string]: any }): (string|null);
32963
36465
 
32964
36466
  /**
32965
- * Creates a B2BPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
36467
+ * Creates a B2BMemberPartnerConsentRemovalRequested message from a plain object. Also converts values to their respective internal types.
32966
36468
  * @param object Plain object
32967
- * @returns B2BPartnerConsentRemovalRequested
36469
+ * @returns B2BMemberPartnerConsentRemovalRequested
32968
36470
  */
32969
- public static fromObject(object: { [k: string]: any }): B2BPartnerConsentRemovalRequested;
36471
+ public static fromObject(object: { [k: string]: any }): B2BMemberPartnerConsentRemovalRequested;
32970
36472
 
32971
36473
  /**
32972
- * Creates a plain object from a B2BPartnerConsentRemovalRequested message. Also converts values to other types if specified.
32973
- * @param message B2BPartnerConsentRemovalRequested
36474
+ * Creates a plain object from a B2BMemberPartnerConsentRemovalRequested message. Also converts values to other types if specified.
36475
+ * @param message B2BMemberPartnerConsentRemovalRequested
32974
36476
  * @param [options] Conversion options
32975
36477
  * @returns Plain object
32976
36478
  */
32977
- public static toObject(message: B2BPartnerConsentRemovalRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
36479
+ public static toObject(message: B2BMemberPartnerConsentRemovalRequested, options?: $protobuf.IConversionOptions): { [k: string]: any };
32978
36480
 
32979
36481
  /**
32980
- * Converts this B2BPartnerConsentRemovalRequested to JSON.
36482
+ * Converts this B2BMemberPartnerConsentRemovalRequested to JSON.
32981
36483
  * @returns JSON object
32982
36484
  */
32983
36485
  public toJSON(): { [k: string]: any };