@headspace/protos-events 1.702.0 → 1.703.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/index.d.ts CHANGED
@@ -57014,6 +57014,30 @@ export namespace clinical {
57014
57014
 
57015
57015
  /** Indicates whether automatic recording is enabled for this clinician's sessions */
57016
57016
  isAutoRecordEnabled?: (boolean|null);
57017
+
57018
+ /**
57019
+ * List of clinician's clinical specialties (eg. sleep, identity issues, etc.).
57020
+ * Exported from: ProviderAttribute model in ginger-web
57021
+ */
57022
+ clinicalSpecialties?: (string[]|null);
57023
+
57024
+ /**
57025
+ * List of therapy modalities practiced by the clinician (eg. CBT, DBT, etc.).
57026
+ * Exported from: ProviderAttribute model in ginger-web
57027
+ */
57028
+ therapyModalities?: (string[]|null);
57029
+
57030
+ /** List of clinician's language specialties. Exported from: ProviderAttribute model in ginger-web */
57031
+ languagesSpecialties?: (clinical.ClinicianLanguageSpecialty[]|null);
57032
+
57033
+ /** List of clinician's age range specialties. Exported from: ProviderAttribute model in ginger-web */
57034
+ ageRangeSpecialties?: (clinical.ClinicianAgeRangeSpecialty[]|null);
57035
+
57036
+ /** List of clinician's racial identities. Exported from: ProviderAttribute model in ginger-web */
57037
+ races?: (clinical.ClinicianRace[]|null);
57038
+
57039
+ /** List of clinician's gender identities. Exported from: ProviderAttribute model in ginger-web */
57040
+ genders?: (clinical.ClinicianGender[]|null);
57017
57041
  }
57018
57042
 
57019
57043
  /** Represents a Clinician. */
@@ -57091,6 +57115,30 @@ export namespace clinical {
57091
57115
  /** Indicates whether automatic recording is enabled for this clinician's sessions */
57092
57116
  public isAutoRecordEnabled: boolean;
57093
57117
 
57118
+ /**
57119
+ * List of clinician's clinical specialties (eg. sleep, identity issues, etc.).
57120
+ * Exported from: ProviderAttribute model in ginger-web
57121
+ */
57122
+ public clinicalSpecialties: string[];
57123
+
57124
+ /**
57125
+ * List of therapy modalities practiced by the clinician (eg. CBT, DBT, etc.).
57126
+ * Exported from: ProviderAttribute model in ginger-web
57127
+ */
57128
+ public therapyModalities: string[];
57129
+
57130
+ /** List of clinician's language specialties. Exported from: ProviderAttribute model in ginger-web */
57131
+ public languagesSpecialties: clinical.ClinicianLanguageSpecialty[];
57132
+
57133
+ /** List of clinician's age range specialties. Exported from: ProviderAttribute model in ginger-web */
57134
+ public ageRangeSpecialties: clinical.ClinicianAgeRangeSpecialty[];
57135
+
57136
+ /** List of clinician's racial identities. Exported from: ProviderAttribute model in ginger-web */
57137
+ public races: clinical.ClinicianRace[];
57138
+
57139
+ /** List of clinician's gender identities. Exported from: ProviderAttribute model in ginger-web */
57140
+ public genders: clinical.ClinicianGender[];
57141
+
57094
57142
  /**
57095
57143
  * Creates a new Clinician instance using the specified properties.
57096
57144
  * @param [properties] Properties to set
@@ -57309,6 +57357,44 @@ export namespace clinical {
57309
57357
  public toJSON(): { [k: string]: any };
57310
57358
  }
57311
57359
 
57360
+ /** ClinicianGender enum. */
57361
+ enum ClinicianGender {
57362
+ CLINICIAN_GENDER_UNKNOWN = 0,
57363
+ CLINICIAN_GENDER_FEMALE = 1,
57364
+ CLINICIAN_GENDER_MALE = 2,
57365
+ CLINICIAN_GENDER_NON_BINARY = 3
57366
+ }
57367
+
57368
+ /** ClinicianRace enum. */
57369
+ enum ClinicianRace {
57370
+ CLINICIAN_RACE_UNKNOWN = 0,
57371
+ CLINICIAN_RACE_ASIAN_PACIFIC_ISLANDER = 1,
57372
+ CLINICIAN_RACE_BLACK_AFRICAN_AMERICAN = 2,
57373
+ CLINICIAN_RACE_HISPANIC_LATINA_O_LATINX = 3,
57374
+ CLINICIAN_RACE_NATIVE_AMERICAN_ALASKAN_NATIVE = 4,
57375
+ CLINICIAN_RACE_MIDDLE_EASTERN_NORTH_AFRICAN = 5,
57376
+ CLINICIAN_RACE_WHITE_CAUCASIAN = 6,
57377
+ CLINICIAN_RACE_MULTIRACIAL = 7
57378
+ }
57379
+
57380
+ /**
57381
+ * List of clinician's language specialties (the clinican can be assigned to members with specific languages),
57382
+ * there is not language for english speaking members
57383
+ */
57384
+ enum ClinicianLanguageSpecialty {
57385
+ CLINICIAN_LANGUAGE_SPECIALTY_UNKNOWN = 0,
57386
+ CLINICIAN_LANGUAGE_SPECIALTY_SPANISH = 1
57387
+ }
57388
+
57389
+ /**
57390
+ * List of clinician's age range specialties (the clinican can be assigned to members with specific age ranges),
57391
+ * there is not age range for adults
57392
+ */
57393
+ enum ClinicianAgeRangeSpecialty {
57394
+ CLINICIAN_AGE_RANGE_SPECIALTY_UNKNOWN = 0,
57395
+ CLINICIAN_AGE_RANGE_SPECIALTY_ADOLESCENT = 1
57396
+ }
57397
+
57312
57398
  /** Properties of a Coach. */
57313
57399
  interface ICoach {
57314
57400
 
package/lib/index.js CHANGED
@@ -162635,6 +162635,14 @@ $root.clinical = (function() {
162635
162635
  * @property {Array.<clinical.IAppUser>|null} [oktaIds] ID of this clinician in Okta
162636
162636
  * TODO: Only two values expected here, one in Okta and one in web
162637
162637
  * @property {boolean|null} [isAutoRecordEnabled] Indicates whether automatic recording is enabled for this clinician's sessions
162638
+ * @property {Array.<string>|null} [clinicalSpecialties] List of clinician's clinical specialties (eg. sleep, identity issues, etc.).
162639
+ * Exported from: ProviderAttribute model in ginger-web
162640
+ * @property {Array.<string>|null} [therapyModalities] List of therapy modalities practiced by the clinician (eg. CBT, DBT, etc.).
162641
+ * Exported from: ProviderAttribute model in ginger-web
162642
+ * @property {Array.<clinical.ClinicianLanguageSpecialty>|null} [languagesSpecialties] List of clinician's language specialties. Exported from: ProviderAttribute model in ginger-web
162643
+ * @property {Array.<clinical.ClinicianAgeRangeSpecialty>|null} [ageRangeSpecialties] List of clinician's age range specialties. Exported from: ProviderAttribute model in ginger-web
162644
+ * @property {Array.<clinical.ClinicianRace>|null} [races] List of clinician's racial identities. Exported from: ProviderAttribute model in ginger-web
162645
+ * @property {Array.<clinical.ClinicianGender>|null} [genders] List of clinician's gender identities. Exported from: ProviderAttribute model in ginger-web
162638
162646
  */
162639
162647
 
162640
162648
  /**
@@ -162649,6 +162657,12 @@ $root.clinical = (function() {
162649
162657
  this.validLicenses = [];
162650
162658
  this.specializations = [];
162651
162659
  this.oktaIds = [];
162660
+ this.clinicalSpecialties = [];
162661
+ this.therapyModalities = [];
162662
+ this.languagesSpecialties = [];
162663
+ this.ageRangeSpecialties = [];
162664
+ this.races = [];
162665
+ this.genders = [];
162652
162666
  if (properties)
162653
162667
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
162654
162668
  if (properties[keys[i]] != null)
@@ -162824,6 +162838,56 @@ $root.clinical = (function() {
162824
162838
  */
162825
162839
  Clinician.prototype.isAutoRecordEnabled = false;
162826
162840
 
162841
+ /**
162842
+ * List of clinician's clinical specialties (eg. sleep, identity issues, etc.).
162843
+ * Exported from: ProviderAttribute model in ginger-web
162844
+ * @member {Array.<string>} clinicalSpecialties
162845
+ * @memberof clinical.Clinician
162846
+ * @instance
162847
+ */
162848
+ Clinician.prototype.clinicalSpecialties = $util.emptyArray;
162849
+
162850
+ /**
162851
+ * List of therapy modalities practiced by the clinician (eg. CBT, DBT, etc.).
162852
+ * Exported from: ProviderAttribute model in ginger-web
162853
+ * @member {Array.<string>} therapyModalities
162854
+ * @memberof clinical.Clinician
162855
+ * @instance
162856
+ */
162857
+ Clinician.prototype.therapyModalities = $util.emptyArray;
162858
+
162859
+ /**
162860
+ * List of clinician's language specialties. Exported from: ProviderAttribute model in ginger-web
162861
+ * @member {Array.<clinical.ClinicianLanguageSpecialty>} languagesSpecialties
162862
+ * @memberof clinical.Clinician
162863
+ * @instance
162864
+ */
162865
+ Clinician.prototype.languagesSpecialties = $util.emptyArray;
162866
+
162867
+ /**
162868
+ * List of clinician's age range specialties. Exported from: ProviderAttribute model in ginger-web
162869
+ * @member {Array.<clinical.ClinicianAgeRangeSpecialty>} ageRangeSpecialties
162870
+ * @memberof clinical.Clinician
162871
+ * @instance
162872
+ */
162873
+ Clinician.prototype.ageRangeSpecialties = $util.emptyArray;
162874
+
162875
+ /**
162876
+ * List of clinician's racial identities. Exported from: ProviderAttribute model in ginger-web
162877
+ * @member {Array.<clinical.ClinicianRace>} races
162878
+ * @memberof clinical.Clinician
162879
+ * @instance
162880
+ */
162881
+ Clinician.prototype.races = $util.emptyArray;
162882
+
162883
+ /**
162884
+ * List of clinician's gender identities. Exported from: ProviderAttribute model in ginger-web
162885
+ * @member {Array.<clinical.ClinicianGender>} genders
162886
+ * @memberof clinical.Clinician
162887
+ * @instance
162888
+ */
162889
+ Clinician.prototype.genders = $util.emptyArray;
162890
+
162827
162891
  /**
162828
162892
  * Creates a new Clinician instance using the specified properties.
162829
162893
  * @function create
@@ -162893,6 +162957,36 @@ $root.clinical = (function() {
162893
162957
  $root.clinical.AppUser.encode(message.oktaIds[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
162894
162958
  if (message.isAutoRecordEnabled != null && message.hasOwnProperty("isAutoRecordEnabled"))
162895
162959
  writer.uint32(/* id 21, wireType 0 =*/168).bool(message.isAutoRecordEnabled);
162960
+ if (message.clinicalSpecialties != null && message.clinicalSpecialties.length)
162961
+ for (var i = 0; i < message.clinicalSpecialties.length; ++i)
162962
+ writer.uint32(/* id 22, wireType 2 =*/178).string(message.clinicalSpecialties[i]);
162963
+ if (message.therapyModalities != null && message.therapyModalities.length)
162964
+ for (var i = 0; i < message.therapyModalities.length; ++i)
162965
+ writer.uint32(/* id 23, wireType 2 =*/186).string(message.therapyModalities[i]);
162966
+ if (message.languagesSpecialties != null && message.languagesSpecialties.length) {
162967
+ writer.uint32(/* id 24, wireType 2 =*/194).fork();
162968
+ for (var i = 0; i < message.languagesSpecialties.length; ++i)
162969
+ writer.int32(message.languagesSpecialties[i]);
162970
+ writer.ldelim();
162971
+ }
162972
+ if (message.ageRangeSpecialties != null && message.ageRangeSpecialties.length) {
162973
+ writer.uint32(/* id 25, wireType 2 =*/202).fork();
162974
+ for (var i = 0; i < message.ageRangeSpecialties.length; ++i)
162975
+ writer.int32(message.ageRangeSpecialties[i]);
162976
+ writer.ldelim();
162977
+ }
162978
+ if (message.races != null && message.races.length) {
162979
+ writer.uint32(/* id 26, wireType 2 =*/210).fork();
162980
+ for (var i = 0; i < message.races.length; ++i)
162981
+ writer.int32(message.races[i]);
162982
+ writer.ldelim();
162983
+ }
162984
+ if (message.genders != null && message.genders.length) {
162985
+ writer.uint32(/* id 27, wireType 2 =*/218).fork();
162986
+ for (var i = 0; i < message.genders.length; ++i)
162987
+ writer.int32(message.genders[i]);
162988
+ writer.ldelim();
162989
+ }
162896
162990
  return writer;
162897
162991
  };
162898
162992
 
@@ -162996,6 +163090,56 @@ $root.clinical = (function() {
162996
163090
  case 21:
162997
163091
  message.isAutoRecordEnabled = reader.bool();
162998
163092
  break;
163093
+ case 22:
163094
+ if (!(message.clinicalSpecialties && message.clinicalSpecialties.length))
163095
+ message.clinicalSpecialties = [];
163096
+ message.clinicalSpecialties.push(reader.string());
163097
+ break;
163098
+ case 23:
163099
+ if (!(message.therapyModalities && message.therapyModalities.length))
163100
+ message.therapyModalities = [];
163101
+ message.therapyModalities.push(reader.string());
163102
+ break;
163103
+ case 24:
163104
+ if (!(message.languagesSpecialties && message.languagesSpecialties.length))
163105
+ message.languagesSpecialties = [];
163106
+ if ((tag & 7) === 2) {
163107
+ var end2 = reader.uint32() + reader.pos;
163108
+ while (reader.pos < end2)
163109
+ message.languagesSpecialties.push(reader.int32());
163110
+ } else
163111
+ message.languagesSpecialties.push(reader.int32());
163112
+ break;
163113
+ case 25:
163114
+ if (!(message.ageRangeSpecialties && message.ageRangeSpecialties.length))
163115
+ message.ageRangeSpecialties = [];
163116
+ if ((tag & 7) === 2) {
163117
+ var end2 = reader.uint32() + reader.pos;
163118
+ while (reader.pos < end2)
163119
+ message.ageRangeSpecialties.push(reader.int32());
163120
+ } else
163121
+ message.ageRangeSpecialties.push(reader.int32());
163122
+ break;
163123
+ case 26:
163124
+ if (!(message.races && message.races.length))
163125
+ message.races = [];
163126
+ if ((tag & 7) === 2) {
163127
+ var end2 = reader.uint32() + reader.pos;
163128
+ while (reader.pos < end2)
163129
+ message.races.push(reader.int32());
163130
+ } else
163131
+ message.races.push(reader.int32());
163132
+ break;
163133
+ case 27:
163134
+ if (!(message.genders && message.genders.length))
163135
+ message.genders = [];
163136
+ if ((tag & 7) === 2) {
163137
+ var end2 = reader.uint32() + reader.pos;
163138
+ while (reader.pos < end2)
163139
+ message.genders.push(reader.int32());
163140
+ } else
163141
+ message.genders.push(reader.int32());
163142
+ break;
162999
163143
  default:
163000
163144
  reader.skipType(tag & 7);
163001
163145
  break;
@@ -163155,6 +163299,76 @@ $root.clinical = (function() {
163155
163299
  if (message.isAutoRecordEnabled != null && message.hasOwnProperty("isAutoRecordEnabled"))
163156
163300
  if (typeof message.isAutoRecordEnabled !== "boolean")
163157
163301
  return "isAutoRecordEnabled: boolean expected";
163302
+ if (message.clinicalSpecialties != null && message.hasOwnProperty("clinicalSpecialties")) {
163303
+ if (!Array.isArray(message.clinicalSpecialties))
163304
+ return "clinicalSpecialties: array expected";
163305
+ for (var i = 0; i < message.clinicalSpecialties.length; ++i)
163306
+ if (!$util.isString(message.clinicalSpecialties[i]))
163307
+ return "clinicalSpecialties: string[] expected";
163308
+ }
163309
+ if (message.therapyModalities != null && message.hasOwnProperty("therapyModalities")) {
163310
+ if (!Array.isArray(message.therapyModalities))
163311
+ return "therapyModalities: array expected";
163312
+ for (var i = 0; i < message.therapyModalities.length; ++i)
163313
+ if (!$util.isString(message.therapyModalities[i]))
163314
+ return "therapyModalities: string[] expected";
163315
+ }
163316
+ if (message.languagesSpecialties != null && message.hasOwnProperty("languagesSpecialties")) {
163317
+ if (!Array.isArray(message.languagesSpecialties))
163318
+ return "languagesSpecialties: array expected";
163319
+ for (var i = 0; i < message.languagesSpecialties.length; ++i)
163320
+ switch (message.languagesSpecialties[i]) {
163321
+ default:
163322
+ return "languagesSpecialties: enum value[] expected";
163323
+ case 0:
163324
+ case 1:
163325
+ break;
163326
+ }
163327
+ }
163328
+ if (message.ageRangeSpecialties != null && message.hasOwnProperty("ageRangeSpecialties")) {
163329
+ if (!Array.isArray(message.ageRangeSpecialties))
163330
+ return "ageRangeSpecialties: array expected";
163331
+ for (var i = 0; i < message.ageRangeSpecialties.length; ++i)
163332
+ switch (message.ageRangeSpecialties[i]) {
163333
+ default:
163334
+ return "ageRangeSpecialties: enum value[] expected";
163335
+ case 0:
163336
+ case 1:
163337
+ break;
163338
+ }
163339
+ }
163340
+ if (message.races != null && message.hasOwnProperty("races")) {
163341
+ if (!Array.isArray(message.races))
163342
+ return "races: array expected";
163343
+ for (var i = 0; i < message.races.length; ++i)
163344
+ switch (message.races[i]) {
163345
+ default:
163346
+ return "races: enum value[] expected";
163347
+ case 0:
163348
+ case 1:
163349
+ case 2:
163350
+ case 3:
163351
+ case 4:
163352
+ case 5:
163353
+ case 6:
163354
+ case 7:
163355
+ break;
163356
+ }
163357
+ }
163358
+ if (message.genders != null && message.hasOwnProperty("genders")) {
163359
+ if (!Array.isArray(message.genders))
163360
+ return "genders: array expected";
163361
+ for (var i = 0; i < message.genders.length; ++i)
163362
+ switch (message.genders[i]) {
163363
+ default:
163364
+ return "genders: enum value[] expected";
163365
+ case 0:
163366
+ case 1:
163367
+ case 2:
163368
+ case 3:
163369
+ break;
163370
+ }
163371
+ }
163158
163372
  return null;
163159
163373
  };
163160
163374
 
@@ -163355,6 +163569,120 @@ $root.clinical = (function() {
163355
163569
  }
163356
163570
  if (object.isAutoRecordEnabled != null)
163357
163571
  message.isAutoRecordEnabled = Boolean(object.isAutoRecordEnabled);
163572
+ if (object.clinicalSpecialties) {
163573
+ if (!Array.isArray(object.clinicalSpecialties))
163574
+ throw TypeError(".clinical.Clinician.clinicalSpecialties: array expected");
163575
+ message.clinicalSpecialties = [];
163576
+ for (var i = 0; i < object.clinicalSpecialties.length; ++i)
163577
+ message.clinicalSpecialties[i] = String(object.clinicalSpecialties[i]);
163578
+ }
163579
+ if (object.therapyModalities) {
163580
+ if (!Array.isArray(object.therapyModalities))
163581
+ throw TypeError(".clinical.Clinician.therapyModalities: array expected");
163582
+ message.therapyModalities = [];
163583
+ for (var i = 0; i < object.therapyModalities.length; ++i)
163584
+ message.therapyModalities[i] = String(object.therapyModalities[i]);
163585
+ }
163586
+ if (object.languagesSpecialties) {
163587
+ if (!Array.isArray(object.languagesSpecialties))
163588
+ throw TypeError(".clinical.Clinician.languagesSpecialties: array expected");
163589
+ message.languagesSpecialties = [];
163590
+ for (var i = 0; i < object.languagesSpecialties.length; ++i)
163591
+ switch (object.languagesSpecialties[i]) {
163592
+ default:
163593
+ case "CLINICIAN_LANGUAGE_SPECIALTY_UNKNOWN":
163594
+ case 0:
163595
+ message.languagesSpecialties[i] = 0;
163596
+ break;
163597
+ case "CLINICIAN_LANGUAGE_SPECIALTY_SPANISH":
163598
+ case 1:
163599
+ message.languagesSpecialties[i] = 1;
163600
+ break;
163601
+ }
163602
+ }
163603
+ if (object.ageRangeSpecialties) {
163604
+ if (!Array.isArray(object.ageRangeSpecialties))
163605
+ throw TypeError(".clinical.Clinician.ageRangeSpecialties: array expected");
163606
+ message.ageRangeSpecialties = [];
163607
+ for (var i = 0; i < object.ageRangeSpecialties.length; ++i)
163608
+ switch (object.ageRangeSpecialties[i]) {
163609
+ default:
163610
+ case "CLINICIAN_AGE_RANGE_SPECIALTY_UNKNOWN":
163611
+ case 0:
163612
+ message.ageRangeSpecialties[i] = 0;
163613
+ break;
163614
+ case "CLINICIAN_AGE_RANGE_SPECIALTY_ADOLESCENT":
163615
+ case 1:
163616
+ message.ageRangeSpecialties[i] = 1;
163617
+ break;
163618
+ }
163619
+ }
163620
+ if (object.races) {
163621
+ if (!Array.isArray(object.races))
163622
+ throw TypeError(".clinical.Clinician.races: array expected");
163623
+ message.races = [];
163624
+ for (var i = 0; i < object.races.length; ++i)
163625
+ switch (object.races[i]) {
163626
+ default:
163627
+ case "CLINICIAN_RACE_UNKNOWN":
163628
+ case 0:
163629
+ message.races[i] = 0;
163630
+ break;
163631
+ case "CLINICIAN_RACE_ASIAN_PACIFIC_ISLANDER":
163632
+ case 1:
163633
+ message.races[i] = 1;
163634
+ break;
163635
+ case "CLINICIAN_RACE_BLACK_AFRICAN_AMERICAN":
163636
+ case 2:
163637
+ message.races[i] = 2;
163638
+ break;
163639
+ case "CLINICIAN_RACE_HISPANIC_LATINA_O_LATINX":
163640
+ case 3:
163641
+ message.races[i] = 3;
163642
+ break;
163643
+ case "CLINICIAN_RACE_NATIVE_AMERICAN_ALASKAN_NATIVE":
163644
+ case 4:
163645
+ message.races[i] = 4;
163646
+ break;
163647
+ case "CLINICIAN_RACE_MIDDLE_EASTERN_NORTH_AFRICAN":
163648
+ case 5:
163649
+ message.races[i] = 5;
163650
+ break;
163651
+ case "CLINICIAN_RACE_WHITE_CAUCASIAN":
163652
+ case 6:
163653
+ message.races[i] = 6;
163654
+ break;
163655
+ case "CLINICIAN_RACE_MULTIRACIAL":
163656
+ case 7:
163657
+ message.races[i] = 7;
163658
+ break;
163659
+ }
163660
+ }
163661
+ if (object.genders) {
163662
+ if (!Array.isArray(object.genders))
163663
+ throw TypeError(".clinical.Clinician.genders: array expected");
163664
+ message.genders = [];
163665
+ for (var i = 0; i < object.genders.length; ++i)
163666
+ switch (object.genders[i]) {
163667
+ default:
163668
+ case "CLINICIAN_GENDER_UNKNOWN":
163669
+ case 0:
163670
+ message.genders[i] = 0;
163671
+ break;
163672
+ case "CLINICIAN_GENDER_FEMALE":
163673
+ case 1:
163674
+ message.genders[i] = 1;
163675
+ break;
163676
+ case "CLINICIAN_GENDER_MALE":
163677
+ case 2:
163678
+ message.genders[i] = 2;
163679
+ break;
163680
+ case "CLINICIAN_GENDER_NON_BINARY":
163681
+ case 3:
163682
+ message.genders[i] = 3;
163683
+ break;
163684
+ }
163685
+ }
163358
163686
  return message;
163359
163687
  };
163360
163688
 
@@ -163375,6 +163703,12 @@ $root.clinical = (function() {
163375
163703
  object.validLicenses = [];
163376
163704
  object.specializations = [];
163377
163705
  object.oktaIds = [];
163706
+ object.clinicalSpecialties = [];
163707
+ object.therapyModalities = [];
163708
+ object.languagesSpecialties = [];
163709
+ object.ageRangeSpecialties = [];
163710
+ object.races = [];
163711
+ object.genders = [];
163378
163712
  }
163379
163713
  if (options.defaults) {
163380
163714
  object.id = "";
@@ -163461,6 +163795,36 @@ $root.clinical = (function() {
163461
163795
  }
163462
163796
  if (message.isAutoRecordEnabled != null && message.hasOwnProperty("isAutoRecordEnabled"))
163463
163797
  object.isAutoRecordEnabled = message.isAutoRecordEnabled;
163798
+ if (message.clinicalSpecialties && message.clinicalSpecialties.length) {
163799
+ object.clinicalSpecialties = [];
163800
+ for (var j = 0; j < message.clinicalSpecialties.length; ++j)
163801
+ object.clinicalSpecialties[j] = message.clinicalSpecialties[j];
163802
+ }
163803
+ if (message.therapyModalities && message.therapyModalities.length) {
163804
+ object.therapyModalities = [];
163805
+ for (var j = 0; j < message.therapyModalities.length; ++j)
163806
+ object.therapyModalities[j] = message.therapyModalities[j];
163807
+ }
163808
+ if (message.languagesSpecialties && message.languagesSpecialties.length) {
163809
+ object.languagesSpecialties = [];
163810
+ for (var j = 0; j < message.languagesSpecialties.length; ++j)
163811
+ object.languagesSpecialties[j] = options.enums === String ? $root.clinical.ClinicianLanguageSpecialty[message.languagesSpecialties[j]] : message.languagesSpecialties[j];
163812
+ }
163813
+ if (message.ageRangeSpecialties && message.ageRangeSpecialties.length) {
163814
+ object.ageRangeSpecialties = [];
163815
+ for (var j = 0; j < message.ageRangeSpecialties.length; ++j)
163816
+ object.ageRangeSpecialties[j] = options.enums === String ? $root.clinical.ClinicianAgeRangeSpecialty[message.ageRangeSpecialties[j]] : message.ageRangeSpecialties[j];
163817
+ }
163818
+ if (message.races && message.races.length) {
163819
+ object.races = [];
163820
+ for (var j = 0; j < message.races.length; ++j)
163821
+ object.races[j] = options.enums === String ? $root.clinical.ClinicianRace[message.races[j]] : message.races[j];
163822
+ }
163823
+ if (message.genders && message.genders.length) {
163824
+ object.genders = [];
163825
+ for (var j = 0; j < message.genders.length; ++j)
163826
+ object.genders[j] = options.enums === String ? $root.clinical.ClinicianGender[message.genders[j]] : message.genders[j];
163827
+ }
163464
163828
  return object;
163465
163829
  };
163466
163830
 
@@ -163803,6 +164167,80 @@ $root.clinical = (function() {
163803
164167
  return AppUser;
163804
164168
  })();
163805
164169
 
164170
+ /**
164171
+ * ClinicianGender enum.
164172
+ * @name clinical.ClinicianGender
164173
+ * @enum {string}
164174
+ * @property {number} CLINICIAN_GENDER_UNKNOWN=0 CLINICIAN_GENDER_UNKNOWN value
164175
+ * @property {number} CLINICIAN_GENDER_FEMALE=1 CLINICIAN_GENDER_FEMALE value
164176
+ * @property {number} CLINICIAN_GENDER_MALE=2 CLINICIAN_GENDER_MALE value
164177
+ * @property {number} CLINICIAN_GENDER_NON_BINARY=3 CLINICIAN_GENDER_NON_BINARY value
164178
+ */
164179
+ clinical.ClinicianGender = (function() {
164180
+ var valuesById = {}, values = Object.create(valuesById);
164181
+ values[valuesById[0] = "CLINICIAN_GENDER_UNKNOWN"] = 0;
164182
+ values[valuesById[1] = "CLINICIAN_GENDER_FEMALE"] = 1;
164183
+ values[valuesById[2] = "CLINICIAN_GENDER_MALE"] = 2;
164184
+ values[valuesById[3] = "CLINICIAN_GENDER_NON_BINARY"] = 3;
164185
+ return values;
164186
+ })();
164187
+
164188
+ /**
164189
+ * ClinicianRace enum.
164190
+ * @name clinical.ClinicianRace
164191
+ * @enum {string}
164192
+ * @property {number} CLINICIAN_RACE_UNKNOWN=0 CLINICIAN_RACE_UNKNOWN value
164193
+ * @property {number} CLINICIAN_RACE_ASIAN_PACIFIC_ISLANDER=1 CLINICIAN_RACE_ASIAN_PACIFIC_ISLANDER value
164194
+ * @property {number} CLINICIAN_RACE_BLACK_AFRICAN_AMERICAN=2 CLINICIAN_RACE_BLACK_AFRICAN_AMERICAN value
164195
+ * @property {number} CLINICIAN_RACE_HISPANIC_LATINA_O_LATINX=3 CLINICIAN_RACE_HISPANIC_LATINA_O_LATINX value
164196
+ * @property {number} CLINICIAN_RACE_NATIVE_AMERICAN_ALASKAN_NATIVE=4 CLINICIAN_RACE_NATIVE_AMERICAN_ALASKAN_NATIVE value
164197
+ * @property {number} CLINICIAN_RACE_MIDDLE_EASTERN_NORTH_AFRICAN=5 CLINICIAN_RACE_MIDDLE_EASTERN_NORTH_AFRICAN value
164198
+ * @property {number} CLINICIAN_RACE_WHITE_CAUCASIAN=6 CLINICIAN_RACE_WHITE_CAUCASIAN value
164199
+ * @property {number} CLINICIAN_RACE_MULTIRACIAL=7 CLINICIAN_RACE_MULTIRACIAL value
164200
+ */
164201
+ clinical.ClinicianRace = (function() {
164202
+ var valuesById = {}, values = Object.create(valuesById);
164203
+ values[valuesById[0] = "CLINICIAN_RACE_UNKNOWN"] = 0;
164204
+ values[valuesById[1] = "CLINICIAN_RACE_ASIAN_PACIFIC_ISLANDER"] = 1;
164205
+ values[valuesById[2] = "CLINICIAN_RACE_BLACK_AFRICAN_AMERICAN"] = 2;
164206
+ values[valuesById[3] = "CLINICIAN_RACE_HISPANIC_LATINA_O_LATINX"] = 3;
164207
+ values[valuesById[4] = "CLINICIAN_RACE_NATIVE_AMERICAN_ALASKAN_NATIVE"] = 4;
164208
+ values[valuesById[5] = "CLINICIAN_RACE_MIDDLE_EASTERN_NORTH_AFRICAN"] = 5;
164209
+ values[valuesById[6] = "CLINICIAN_RACE_WHITE_CAUCASIAN"] = 6;
164210
+ values[valuesById[7] = "CLINICIAN_RACE_MULTIRACIAL"] = 7;
164211
+ return values;
164212
+ })();
164213
+
164214
+ /**
164215
+ * List of clinician's language specialties (the clinican can be assigned to members with specific languages),
164216
+ * there is not language for english speaking members
164217
+ * @name clinical.ClinicianLanguageSpecialty
164218
+ * @enum {string}
164219
+ * @property {number} CLINICIAN_LANGUAGE_SPECIALTY_UNKNOWN=0 CLINICIAN_LANGUAGE_SPECIALTY_UNKNOWN value
164220
+ * @property {number} CLINICIAN_LANGUAGE_SPECIALTY_SPANISH=1 CLINICIAN_LANGUAGE_SPECIALTY_SPANISH value
164221
+ */
164222
+ clinical.ClinicianLanguageSpecialty = (function() {
164223
+ var valuesById = {}, values = Object.create(valuesById);
164224
+ values[valuesById[0] = "CLINICIAN_LANGUAGE_SPECIALTY_UNKNOWN"] = 0;
164225
+ values[valuesById[1] = "CLINICIAN_LANGUAGE_SPECIALTY_SPANISH"] = 1;
164226
+ return values;
164227
+ })();
164228
+
164229
+ /**
164230
+ * List of clinician's age range specialties (the clinican can be assigned to members with specific age ranges),
164231
+ * there is not age range for adults
164232
+ * @name clinical.ClinicianAgeRangeSpecialty
164233
+ * @enum {string}
164234
+ * @property {number} CLINICIAN_AGE_RANGE_SPECIALTY_UNKNOWN=0 CLINICIAN_AGE_RANGE_SPECIALTY_UNKNOWN value
164235
+ * @property {number} CLINICIAN_AGE_RANGE_SPECIALTY_ADOLESCENT=1 CLINICIAN_AGE_RANGE_SPECIALTY_ADOLESCENT value
164236
+ */
164237
+ clinical.ClinicianAgeRangeSpecialty = (function() {
164238
+ var valuesById = {}, values = Object.create(valuesById);
164239
+ values[valuesById[0] = "CLINICIAN_AGE_RANGE_SPECIALTY_UNKNOWN"] = 0;
164240
+ values[valuesById[1] = "CLINICIAN_AGE_RANGE_SPECIALTY_ADOLESCENT"] = 1;
164241
+ return values;
164242
+ })();
164243
+
163806
164244
  clinical.Coach = (function() {
163807
164245
 
163808
164246
  /**
package/package.json CHANGED
@@ -16,5 +16,5 @@
16
16
  "main": "lib/index.js",
17
17
  "name": "@headspace/protos-events",
18
18
  "typings": "lib/index.d.ts",
19
- "version": "1.702.0"
19
+ "version": "1.703.0"
20
20
  }