@headspace/protos-events 1.749.0 → 1.750.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 +6 -0
- package/lib/index.js +39 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -58679,6 +58679,9 @@ export namespace clinical {
|
|
|
58679
58679
|
|
|
58680
58680
|
/** ClinicalOrganization futureEnrollmentFlowSubscriptionId */
|
|
58681
58681
|
futureEnrollmentFlowSubscriptionId?: (string|null);
|
|
58682
|
+
|
|
58683
|
+
/** ClinicalOrganization enabledProductFeatures */
|
|
58684
|
+
enabledProductFeatures?: (string[]|null);
|
|
58682
58685
|
}
|
|
58683
58686
|
|
|
58684
58687
|
/** Represents a ClinicalOrganization. */
|
|
@@ -58765,6 +58768,9 @@ export namespace clinical {
|
|
|
58765
58768
|
/** ClinicalOrganization futureEnrollmentFlowSubscriptionId. */
|
|
58766
58769
|
public futureEnrollmentFlowSubscriptionId: string;
|
|
58767
58770
|
|
|
58771
|
+
/** ClinicalOrganization enabledProductFeatures. */
|
|
58772
|
+
public enabledProductFeatures: string[];
|
|
58773
|
+
|
|
58768
58774
|
/**
|
|
58769
58775
|
* Creates a new ClinicalOrganization instance using the specified properties.
|
|
58770
58776
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -166885,6 +166885,7 @@ $root.clinical = (function() {
|
|
|
166885
166885
|
* @property {b2b.EnrollmentFlow|null} [currentEnrollmentFlowType] ClinicalOrganization currentEnrollmentFlowType
|
|
166886
166886
|
* @property {b2b.EnrollmentFlow|null} [futureEnrollmentFlowType] ClinicalOrganization futureEnrollmentFlowType
|
|
166887
166887
|
* @property {string|null} [futureEnrollmentFlowSubscriptionId] ClinicalOrganization futureEnrollmentFlowSubscriptionId
|
|
166888
|
+
* @property {Array.<string>|null} [enabledProductFeatures] ClinicalOrganization enabledProductFeatures
|
|
166888
166889
|
*/
|
|
166889
166890
|
|
|
166890
166891
|
/**
|
|
@@ -166896,6 +166897,7 @@ $root.clinical = (function() {
|
|
|
166896
166897
|
* @param {clinical.IClinicalOrganization=} [properties] Properties to set
|
|
166897
166898
|
*/
|
|
166898
166899
|
function ClinicalOrganization(properties) {
|
|
166900
|
+
this.enabledProductFeatures = [];
|
|
166899
166901
|
if (properties)
|
|
166900
166902
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
166901
166903
|
if (properties[keys[i]] != null)
|
|
@@ -167102,6 +167104,14 @@ $root.clinical = (function() {
|
|
|
167102
167104
|
*/
|
|
167103
167105
|
ClinicalOrganization.prototype.futureEnrollmentFlowSubscriptionId = "";
|
|
167104
167106
|
|
|
167107
|
+
/**
|
|
167108
|
+
* ClinicalOrganization enabledProductFeatures.
|
|
167109
|
+
* @member {Array.<string>} enabledProductFeatures
|
|
167110
|
+
* @memberof clinical.ClinicalOrganization
|
|
167111
|
+
* @instance
|
|
167112
|
+
*/
|
|
167113
|
+
ClinicalOrganization.prototype.enabledProductFeatures = $util.emptyArray;
|
|
167114
|
+
|
|
167105
167115
|
/**
|
|
167106
167116
|
* Creates a new ClinicalOrganization instance using the specified properties.
|
|
167107
167117
|
* @function create
|
|
@@ -167176,6 +167186,9 @@ $root.clinical = (function() {
|
|
|
167176
167186
|
writer.uint32(/* id 24, wireType 0 =*/192).int32(message.futureEnrollmentFlowType);
|
|
167177
167187
|
if (message.futureEnrollmentFlowSubscriptionId != null && message.hasOwnProperty("futureEnrollmentFlowSubscriptionId"))
|
|
167178
167188
|
writer.uint32(/* id 25, wireType 2 =*/202).string(message.futureEnrollmentFlowSubscriptionId);
|
|
167189
|
+
if (message.enabledProductFeatures != null && message.enabledProductFeatures.length)
|
|
167190
|
+
for (var i = 0; i < message.enabledProductFeatures.length; ++i)
|
|
167191
|
+
writer.uint32(/* id 26, wireType 2 =*/210).string(message.enabledProductFeatures[i]);
|
|
167179
167192
|
return writer;
|
|
167180
167193
|
};
|
|
167181
167194
|
|
|
@@ -167285,6 +167298,11 @@ $root.clinical = (function() {
|
|
|
167285
167298
|
case 25:
|
|
167286
167299
|
message.futureEnrollmentFlowSubscriptionId = reader.string();
|
|
167287
167300
|
break;
|
|
167301
|
+
case 26:
|
|
167302
|
+
if (!(message.enabledProductFeatures && message.enabledProductFeatures.length))
|
|
167303
|
+
message.enabledProductFeatures = [];
|
|
167304
|
+
message.enabledProductFeatures.push(reader.string());
|
|
167305
|
+
break;
|
|
167288
167306
|
default:
|
|
167289
167307
|
reader.skipType(tag & 7);
|
|
167290
167308
|
break;
|
|
@@ -167429,6 +167447,13 @@ $root.clinical = (function() {
|
|
|
167429
167447
|
if (message.futureEnrollmentFlowSubscriptionId != null && message.hasOwnProperty("futureEnrollmentFlowSubscriptionId"))
|
|
167430
167448
|
if (!$util.isString(message.futureEnrollmentFlowSubscriptionId))
|
|
167431
167449
|
return "futureEnrollmentFlowSubscriptionId: string expected";
|
|
167450
|
+
if (message.enabledProductFeatures != null && message.hasOwnProperty("enabledProductFeatures")) {
|
|
167451
|
+
if (!Array.isArray(message.enabledProductFeatures))
|
|
167452
|
+
return "enabledProductFeatures: array expected";
|
|
167453
|
+
for (var i = 0; i < message.enabledProductFeatures.length; ++i)
|
|
167454
|
+
if (!$util.isString(message.enabledProductFeatures[i]))
|
|
167455
|
+
return "enabledProductFeatures: string[] expected";
|
|
167456
|
+
}
|
|
167432
167457
|
return null;
|
|
167433
167458
|
};
|
|
167434
167459
|
|
|
@@ -167593,6 +167618,13 @@ $root.clinical = (function() {
|
|
|
167593
167618
|
}
|
|
167594
167619
|
if (object.futureEnrollmentFlowSubscriptionId != null)
|
|
167595
167620
|
message.futureEnrollmentFlowSubscriptionId = String(object.futureEnrollmentFlowSubscriptionId);
|
|
167621
|
+
if (object.enabledProductFeatures) {
|
|
167622
|
+
if (!Array.isArray(object.enabledProductFeatures))
|
|
167623
|
+
throw TypeError(".clinical.ClinicalOrganization.enabledProductFeatures: array expected");
|
|
167624
|
+
message.enabledProductFeatures = [];
|
|
167625
|
+
for (var i = 0; i < object.enabledProductFeatures.length; ++i)
|
|
167626
|
+
message.enabledProductFeatures[i] = String(object.enabledProductFeatures[i]);
|
|
167627
|
+
}
|
|
167596
167628
|
return message;
|
|
167597
167629
|
};
|
|
167598
167630
|
|
|
@@ -167609,6 +167641,8 @@ $root.clinical = (function() {
|
|
|
167609
167641
|
if (!options)
|
|
167610
167642
|
options = {};
|
|
167611
167643
|
var object = {};
|
|
167644
|
+
if (options.arrays || options.defaults)
|
|
167645
|
+
object.enabledProductFeatures = [];
|
|
167612
167646
|
if (options.defaults) {
|
|
167613
167647
|
object.id = 0;
|
|
167614
167648
|
object.parentId = 0;
|
|
@@ -167700,6 +167734,11 @@ $root.clinical = (function() {
|
|
|
167700
167734
|
object.futureEnrollmentFlowType = options.enums === String ? $root.b2b.EnrollmentFlow[message.futureEnrollmentFlowType] : message.futureEnrollmentFlowType;
|
|
167701
167735
|
if (message.futureEnrollmentFlowSubscriptionId != null && message.hasOwnProperty("futureEnrollmentFlowSubscriptionId"))
|
|
167702
167736
|
object.futureEnrollmentFlowSubscriptionId = message.futureEnrollmentFlowSubscriptionId;
|
|
167737
|
+
if (message.enabledProductFeatures && message.enabledProductFeatures.length) {
|
|
167738
|
+
object.enabledProductFeatures = [];
|
|
167739
|
+
for (var j = 0; j < message.enabledProductFeatures.length; ++j)
|
|
167740
|
+
object.enabledProductFeatures[j] = message.enabledProductFeatures[j];
|
|
167741
|
+
}
|
|
167703
167742
|
return object;
|
|
167704
167743
|
};
|
|
167705
167744
|
|
package/package.json
CHANGED