@headspace/protos-events 1.397.0 → 1.399.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 +31 -0
- package/lib/index.js +149 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10340,6 +10340,13 @@ export namespace b2b {
|
|
|
10340
10340
|
CONNECTION_SET = 1,
|
|
10341
10341
|
CONNECTION_UNSET = 2
|
|
10342
10342
|
}
|
|
10343
|
+
|
|
10344
|
+
/** SubscriptionOffering enum. */
|
|
10345
|
+
enum SubscriptionOffering {
|
|
10346
|
+
SUBSCRIPTION_OFFERING_UNKNOWN = 0,
|
|
10347
|
+
SUBSCRIPTION_OFFERING_HEADSPACE = 1,
|
|
10348
|
+
SUBSCRIPTION_OFFERING_GINGER = 2
|
|
10349
|
+
}
|
|
10343
10350
|
}
|
|
10344
10351
|
|
|
10345
10352
|
/** Namespace community. */
|
|
@@ -32132,6 +32139,9 @@ export interface IElfRecordPresent {
|
|
|
32132
32139
|
/** ElfRecordPresent customFields */
|
|
32133
32140
|
customFields?: (string|null);
|
|
32134
32141
|
|
|
32142
|
+
/** ElfRecordPresent offerings */
|
|
32143
|
+
offerings?: (b2b.SubscriptionOffering[]|null);
|
|
32144
|
+
|
|
32135
32145
|
/** ElfRecordPresent isDryRun */
|
|
32136
32146
|
isDryRun?: (boolean|null);
|
|
32137
32147
|
|
|
@@ -32205,6 +32215,9 @@ export class ElfRecordPresent implements IElfRecordPresent {
|
|
|
32205
32215
|
/** ElfRecordPresent customFields. */
|
|
32206
32216
|
public customFields: string;
|
|
32207
32217
|
|
|
32218
|
+
/** ElfRecordPresent offerings. */
|
|
32219
|
+
public offerings: b2b.SubscriptionOffering[];
|
|
32220
|
+
|
|
32208
32221
|
/** ElfRecordPresent isDryRun. */
|
|
32209
32222
|
public isDryRun: boolean;
|
|
32210
32223
|
|
|
@@ -32692,6 +32705,9 @@ export interface IEnterpriseUserEnrollmentCreated {
|
|
|
32692
32705
|
|
|
32693
32706
|
/** EnterpriseUserEnrollmentCreated gingerBundlingEnabled */
|
|
32694
32707
|
gingerBundlingEnabled?: (boolean|null);
|
|
32708
|
+
|
|
32709
|
+
/** EnterpriseUserEnrollmentCreated ssoType */
|
|
32710
|
+
ssoType?: (string|null);
|
|
32695
32711
|
}
|
|
32696
32712
|
|
|
32697
32713
|
/** Represents an EnterpriseUserEnrollmentCreated. */
|
|
@@ -32778,6 +32794,9 @@ export class EnterpriseUserEnrollmentCreated implements IEnterpriseUserEnrollmen
|
|
|
32778
32794
|
/** EnterpriseUserEnrollmentCreated gingerBundlingEnabled. */
|
|
32779
32795
|
public gingerBundlingEnabled: boolean;
|
|
32780
32796
|
|
|
32797
|
+
/** EnterpriseUserEnrollmentCreated ssoType. */
|
|
32798
|
+
public ssoType: string;
|
|
32799
|
+
|
|
32781
32800
|
/**
|
|
32782
32801
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
32783
32802
|
* @param [properties] Properties to set
|
|
@@ -32929,6 +32948,9 @@ export interface IEnterpriseUserEnrollmentRemoved {
|
|
|
32929
32948
|
|
|
32930
32949
|
/** EnterpriseUserEnrollmentRemoved gingerBundlingEnabled */
|
|
32931
32950
|
gingerBundlingEnabled?: (boolean|null);
|
|
32951
|
+
|
|
32952
|
+
/** EnterpriseUserEnrollmentRemoved ssoType */
|
|
32953
|
+
ssoType?: (string|null);
|
|
32932
32954
|
}
|
|
32933
32955
|
|
|
32934
32956
|
/** Represents an EnterpriseUserEnrollmentRemoved. */
|
|
@@ -33018,6 +33040,9 @@ export class EnterpriseUserEnrollmentRemoved implements IEnterpriseUserEnrollmen
|
|
|
33018
33040
|
/** EnterpriseUserEnrollmentRemoved gingerBundlingEnabled. */
|
|
33019
33041
|
public gingerBundlingEnabled: boolean;
|
|
33020
33042
|
|
|
33043
|
+
/** EnterpriseUserEnrollmentRemoved ssoType. */
|
|
33044
|
+
public ssoType: string;
|
|
33045
|
+
|
|
33021
33046
|
/**
|
|
33022
33047
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
33023
33048
|
* @param [properties] Properties to set
|
|
@@ -33166,6 +33191,9 @@ export interface IEnterpriseUserEnrollmentAmended {
|
|
|
33166
33191
|
|
|
33167
33192
|
/** EnterpriseUserEnrollmentAmended gingerBundlingEnabled */
|
|
33168
33193
|
gingerBundlingEnabled?: (boolean|null);
|
|
33194
|
+
|
|
33195
|
+
/** EnterpriseUserEnrollmentAmended ssoType */
|
|
33196
|
+
ssoType?: (string|null);
|
|
33169
33197
|
}
|
|
33170
33198
|
|
|
33171
33199
|
/** Represents an EnterpriseUserEnrollmentAmended. */
|
|
@@ -33252,6 +33280,9 @@ export class EnterpriseUserEnrollmentAmended implements IEnterpriseUserEnrollmen
|
|
|
33252
33280
|
/** EnterpriseUserEnrollmentAmended gingerBundlingEnabled. */
|
|
33253
33281
|
public gingerBundlingEnabled: boolean;
|
|
33254
33282
|
|
|
33283
|
+
/** EnterpriseUserEnrollmentAmended ssoType. */
|
|
33284
|
+
public ssoType: string;
|
|
33285
|
+
|
|
33255
33286
|
/**
|
|
33256
33287
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
33257
33288
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -24989,6 +24989,22 @@ $root.b2b = (function() {
|
|
|
24989
24989
|
return values;
|
|
24990
24990
|
})();
|
|
24991
24991
|
|
|
24992
|
+
/**
|
|
24993
|
+
* SubscriptionOffering enum.
|
|
24994
|
+
* @name b2b.SubscriptionOffering
|
|
24995
|
+
* @enum {string}
|
|
24996
|
+
* @property {number} SUBSCRIPTION_OFFERING_UNKNOWN=0 SUBSCRIPTION_OFFERING_UNKNOWN value
|
|
24997
|
+
* @property {number} SUBSCRIPTION_OFFERING_HEADSPACE=1 SUBSCRIPTION_OFFERING_HEADSPACE value
|
|
24998
|
+
* @property {number} SUBSCRIPTION_OFFERING_GINGER=2 SUBSCRIPTION_OFFERING_GINGER value
|
|
24999
|
+
*/
|
|
25000
|
+
b2b.SubscriptionOffering = (function() {
|
|
25001
|
+
var valuesById = {}, values = Object.create(valuesById);
|
|
25002
|
+
values[valuesById[0] = "SUBSCRIPTION_OFFERING_UNKNOWN"] = 0;
|
|
25003
|
+
values[valuesById[1] = "SUBSCRIPTION_OFFERING_HEADSPACE"] = 1;
|
|
25004
|
+
values[valuesById[2] = "SUBSCRIPTION_OFFERING_GINGER"] = 2;
|
|
25005
|
+
return values;
|
|
25006
|
+
})();
|
|
25007
|
+
|
|
24992
25008
|
return b2b;
|
|
24993
25009
|
})();
|
|
24994
25010
|
|
|
@@ -89086,6 +89102,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
89086
89102
|
* @property {string|null} [department] ElfRecordPresent department
|
|
89087
89103
|
* @property {string|null} [language] ElfRecordPresent language
|
|
89088
89104
|
* @property {string|null} [customFields] ElfRecordPresent customFields
|
|
89105
|
+
* @property {Array.<b2b.SubscriptionOffering>|null} [offerings] ElfRecordPresent offerings
|
|
89089
89106
|
* @property {boolean|null} [isDryRun] ElfRecordPresent isDryRun
|
|
89090
89107
|
* @property {boolean|null} [gingerShouldProcess] ElfRecordPresent gingerShouldProcess
|
|
89091
89108
|
* @property {boolean|null} [headspaceShouldProcess] ElfRecordPresent headspaceShouldProcess
|
|
@@ -89100,6 +89117,7 @@ $root.ElfRecordPresent = (function() {
|
|
|
89100
89117
|
* @param {IElfRecordPresent=} [properties] Properties to set
|
|
89101
89118
|
*/
|
|
89102
89119
|
function ElfRecordPresent(properties) {
|
|
89120
|
+
this.offerings = [];
|
|
89103
89121
|
if (properties)
|
|
89104
89122
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
89105
89123
|
if (properties[keys[i]] != null)
|
|
@@ -89250,6 +89268,14 @@ $root.ElfRecordPresent = (function() {
|
|
|
89250
89268
|
*/
|
|
89251
89269
|
ElfRecordPresent.prototype.customFields = "";
|
|
89252
89270
|
|
|
89271
|
+
/**
|
|
89272
|
+
* ElfRecordPresent offerings.
|
|
89273
|
+
* @member {Array.<b2b.SubscriptionOffering>} offerings
|
|
89274
|
+
* @memberof ElfRecordPresent
|
|
89275
|
+
* @instance
|
|
89276
|
+
*/
|
|
89277
|
+
ElfRecordPresent.prototype.offerings = $util.emptyArray;
|
|
89278
|
+
|
|
89253
89279
|
/**
|
|
89254
89280
|
* ElfRecordPresent isDryRun.
|
|
89255
89281
|
* @member {boolean} isDryRun
|
|
@@ -89340,6 +89366,12 @@ $root.ElfRecordPresent = (function() {
|
|
|
89340
89366
|
writer.uint32(/* id 20, wireType 0 =*/160).bool(message.headspaceShouldProcess);
|
|
89341
89367
|
if (message.customFields != null && message.hasOwnProperty("customFields"))
|
|
89342
89368
|
writer.uint32(/* id 21, wireType 2 =*/170).string(message.customFields);
|
|
89369
|
+
if (message.offerings != null && message.offerings.length) {
|
|
89370
|
+
writer.uint32(/* id 22, wireType 2 =*/178).fork();
|
|
89371
|
+
for (var i = 0; i < message.offerings.length; ++i)
|
|
89372
|
+
writer.int32(message.offerings[i]);
|
|
89373
|
+
writer.ldelim();
|
|
89374
|
+
}
|
|
89343
89375
|
return writer;
|
|
89344
89376
|
};
|
|
89345
89377
|
|
|
@@ -89428,6 +89460,16 @@ $root.ElfRecordPresent = (function() {
|
|
|
89428
89460
|
case 21:
|
|
89429
89461
|
message.customFields = reader.string();
|
|
89430
89462
|
break;
|
|
89463
|
+
case 22:
|
|
89464
|
+
if (!(message.offerings && message.offerings.length))
|
|
89465
|
+
message.offerings = [];
|
|
89466
|
+
if ((tag & 7) === 2) {
|
|
89467
|
+
var end2 = reader.uint32() + reader.pos;
|
|
89468
|
+
while (reader.pos < end2)
|
|
89469
|
+
message.offerings.push(reader.int32());
|
|
89470
|
+
} else
|
|
89471
|
+
message.offerings.push(reader.int32());
|
|
89472
|
+
break;
|
|
89431
89473
|
case 18:
|
|
89432
89474
|
message.isDryRun = reader.bool();
|
|
89433
89475
|
break;
|
|
@@ -89531,6 +89573,19 @@ $root.ElfRecordPresent = (function() {
|
|
|
89531
89573
|
if (message.customFields != null && message.hasOwnProperty("customFields"))
|
|
89532
89574
|
if (!$util.isString(message.customFields))
|
|
89533
89575
|
return "customFields: string expected";
|
|
89576
|
+
if (message.offerings != null && message.hasOwnProperty("offerings")) {
|
|
89577
|
+
if (!Array.isArray(message.offerings))
|
|
89578
|
+
return "offerings: array expected";
|
|
89579
|
+
for (var i = 0; i < message.offerings.length; ++i)
|
|
89580
|
+
switch (message.offerings[i]) {
|
|
89581
|
+
default:
|
|
89582
|
+
return "offerings: enum value[] expected";
|
|
89583
|
+
case 0:
|
|
89584
|
+
case 1:
|
|
89585
|
+
case 2:
|
|
89586
|
+
break;
|
|
89587
|
+
}
|
|
89588
|
+
}
|
|
89534
89589
|
if (message.isDryRun != null && message.hasOwnProperty("isDryRun"))
|
|
89535
89590
|
if (typeof message.isDryRun !== "boolean")
|
|
89536
89591
|
return "isDryRun: boolean expected";
|
|
@@ -89606,6 +89661,27 @@ $root.ElfRecordPresent = (function() {
|
|
|
89606
89661
|
message.language = String(object.language);
|
|
89607
89662
|
if (object.customFields != null)
|
|
89608
89663
|
message.customFields = String(object.customFields);
|
|
89664
|
+
if (object.offerings) {
|
|
89665
|
+
if (!Array.isArray(object.offerings))
|
|
89666
|
+
throw TypeError(".ElfRecordPresent.offerings: array expected");
|
|
89667
|
+
message.offerings = [];
|
|
89668
|
+
for (var i = 0; i < object.offerings.length; ++i)
|
|
89669
|
+
switch (object.offerings[i]) {
|
|
89670
|
+
default:
|
|
89671
|
+
case "SUBSCRIPTION_OFFERING_UNKNOWN":
|
|
89672
|
+
case 0:
|
|
89673
|
+
message.offerings[i] = 0;
|
|
89674
|
+
break;
|
|
89675
|
+
case "SUBSCRIPTION_OFFERING_HEADSPACE":
|
|
89676
|
+
case 1:
|
|
89677
|
+
message.offerings[i] = 1;
|
|
89678
|
+
break;
|
|
89679
|
+
case "SUBSCRIPTION_OFFERING_GINGER":
|
|
89680
|
+
case 2:
|
|
89681
|
+
message.offerings[i] = 2;
|
|
89682
|
+
break;
|
|
89683
|
+
}
|
|
89684
|
+
}
|
|
89609
89685
|
if (object.isDryRun != null)
|
|
89610
89686
|
message.isDryRun = Boolean(object.isDryRun);
|
|
89611
89687
|
if (object.gingerShouldProcess != null)
|
|
@@ -89628,6 +89704,8 @@ $root.ElfRecordPresent = (function() {
|
|
|
89628
89704
|
if (!options)
|
|
89629
89705
|
options = {};
|
|
89630
89706
|
var object = {};
|
|
89707
|
+
if (options.arrays || options.defaults)
|
|
89708
|
+
object.offerings = [];
|
|
89631
89709
|
if (options.defaults) {
|
|
89632
89710
|
object.headspaceHealthOrgId = "";
|
|
89633
89711
|
object.b2bOrgId = "";
|
|
@@ -89700,6 +89778,11 @@ $root.ElfRecordPresent = (function() {
|
|
|
89700
89778
|
object.headspaceShouldProcess = message.headspaceShouldProcess;
|
|
89701
89779
|
if (message.customFields != null && message.hasOwnProperty("customFields"))
|
|
89702
89780
|
object.customFields = message.customFields;
|
|
89781
|
+
if (message.offerings && message.offerings.length) {
|
|
89782
|
+
object.offerings = [];
|
|
89783
|
+
for (var j = 0; j < message.offerings.length; ++j)
|
|
89784
|
+
object.offerings[j] = options.enums === String ? $root.b2b.SubscriptionOffering[message.offerings[j]] : message.offerings[j];
|
|
89785
|
+
}
|
|
89703
89786
|
return object;
|
|
89704
89787
|
};
|
|
89705
89788
|
|
|
@@ -90792,6 +90875,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
90792
90875
|
* @property {string|null} [orgSlug] EnterpriseUserEnrollmentCreated orgSlug
|
|
90793
90876
|
* @property {string|null} [orgHeadspaceHealthId] EnterpriseUserEnrollmentCreated orgHeadspaceHealthId
|
|
90794
90877
|
* @property {boolean|null} [gingerBundlingEnabled] EnterpriseUserEnrollmentCreated gingerBundlingEnabled
|
|
90878
|
+
* @property {string|null} [ssoType] EnterpriseUserEnrollmentCreated ssoType
|
|
90795
90879
|
*/
|
|
90796
90880
|
|
|
90797
90881
|
/**
|
|
@@ -91009,6 +91093,14 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
91009
91093
|
*/
|
|
91010
91094
|
EnterpriseUserEnrollmentCreated.prototype.gingerBundlingEnabled = false;
|
|
91011
91095
|
|
|
91096
|
+
/**
|
|
91097
|
+
* EnterpriseUserEnrollmentCreated ssoType.
|
|
91098
|
+
* @member {string} ssoType
|
|
91099
|
+
* @memberof EnterpriseUserEnrollmentCreated
|
|
91100
|
+
* @instance
|
|
91101
|
+
*/
|
|
91102
|
+
EnterpriseUserEnrollmentCreated.prototype.ssoType = "";
|
|
91103
|
+
|
|
91012
91104
|
/**
|
|
91013
91105
|
* Creates a new EnterpriseUserEnrollmentCreated instance using the specified properties.
|
|
91014
91106
|
* @function create
|
|
@@ -91083,6 +91175,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
91083
91175
|
writer.uint32(/* id 28, wireType 2 =*/226).string(message.orgHeadspaceHealthId);
|
|
91084
91176
|
if (message.gingerBundlingEnabled != null && message.hasOwnProperty("gingerBundlingEnabled"))
|
|
91085
91177
|
writer.uint32(/* id 29, wireType 0 =*/232).bool(message.gingerBundlingEnabled);
|
|
91178
|
+
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
91179
|
+
writer.uint32(/* id 30, wireType 2 =*/242).string(message.ssoType);
|
|
91086
91180
|
return writer;
|
|
91087
91181
|
};
|
|
91088
91182
|
|
|
@@ -91192,6 +91286,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
91192
91286
|
case 29:
|
|
91193
91287
|
message.gingerBundlingEnabled = reader.bool();
|
|
91194
91288
|
break;
|
|
91289
|
+
case 30:
|
|
91290
|
+
message.ssoType = reader.string();
|
|
91291
|
+
break;
|
|
91195
91292
|
default:
|
|
91196
91293
|
reader.skipType(tag & 7);
|
|
91197
91294
|
break;
|
|
@@ -91324,6 +91421,9 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
91324
91421
|
if (message.gingerBundlingEnabled != null && message.hasOwnProperty("gingerBundlingEnabled"))
|
|
91325
91422
|
if (typeof message.gingerBundlingEnabled !== "boolean")
|
|
91326
91423
|
return "gingerBundlingEnabled: boolean expected";
|
|
91424
|
+
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
91425
|
+
if (!$util.isString(message.ssoType))
|
|
91426
|
+
return "ssoType: string expected";
|
|
91327
91427
|
return null;
|
|
91328
91428
|
};
|
|
91329
91429
|
|
|
@@ -91476,6 +91576,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
91476
91576
|
message.orgHeadspaceHealthId = String(object.orgHeadspaceHealthId);
|
|
91477
91577
|
if (object.gingerBundlingEnabled != null)
|
|
91478
91578
|
message.gingerBundlingEnabled = Boolean(object.gingerBundlingEnabled);
|
|
91579
|
+
if (object.ssoType != null)
|
|
91580
|
+
message.ssoType = String(object.ssoType);
|
|
91479
91581
|
return message;
|
|
91480
91582
|
};
|
|
91481
91583
|
|
|
@@ -91538,6 +91640,7 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
91538
91640
|
object.orgSlug = "";
|
|
91539
91641
|
object.orgHeadspaceHealthId = "";
|
|
91540
91642
|
object.gingerBundlingEnabled = false;
|
|
91643
|
+
object.ssoType = "";
|
|
91541
91644
|
}
|
|
91542
91645
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
91543
91646
|
object.userId = message.userId;
|
|
@@ -91604,6 +91707,8 @@ $root.EnterpriseUserEnrollmentCreated = (function() {
|
|
|
91604
91707
|
object.orgHeadspaceHealthId = message.orgHeadspaceHealthId;
|
|
91605
91708
|
if (message.gingerBundlingEnabled != null && message.hasOwnProperty("gingerBundlingEnabled"))
|
|
91606
91709
|
object.gingerBundlingEnabled = message.gingerBundlingEnabled;
|
|
91710
|
+
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
91711
|
+
object.ssoType = message.ssoType;
|
|
91607
91712
|
return object;
|
|
91608
91713
|
};
|
|
91609
91714
|
|
|
@@ -91653,6 +91758,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
91653
91758
|
* @property {string|null} [orgSlug] EnterpriseUserEnrollmentRemoved orgSlug
|
|
91654
91759
|
* @property {string|null} [orgHeadspaceHealthId] EnterpriseUserEnrollmentRemoved orgHeadspaceHealthId
|
|
91655
91760
|
* @property {boolean|null} [gingerBundlingEnabled] EnterpriseUserEnrollmentRemoved gingerBundlingEnabled
|
|
91761
|
+
* @property {string|null} [ssoType] EnterpriseUserEnrollmentRemoved ssoType
|
|
91656
91762
|
*/
|
|
91657
91763
|
|
|
91658
91764
|
/**
|
|
@@ -91878,6 +91984,14 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
91878
91984
|
*/
|
|
91879
91985
|
EnterpriseUserEnrollmentRemoved.prototype.gingerBundlingEnabled = false;
|
|
91880
91986
|
|
|
91987
|
+
/**
|
|
91988
|
+
* EnterpriseUserEnrollmentRemoved ssoType.
|
|
91989
|
+
* @member {string} ssoType
|
|
91990
|
+
* @memberof EnterpriseUserEnrollmentRemoved
|
|
91991
|
+
* @instance
|
|
91992
|
+
*/
|
|
91993
|
+
EnterpriseUserEnrollmentRemoved.prototype.ssoType = "";
|
|
91994
|
+
|
|
91881
91995
|
/**
|
|
91882
91996
|
* Creates a new EnterpriseUserEnrollmentRemoved instance using the specified properties.
|
|
91883
91997
|
* @function create
|
|
@@ -91954,6 +92068,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
91954
92068
|
writer.uint32(/* id 29, wireType 2 =*/234).string(message.orgHeadspaceHealthId);
|
|
91955
92069
|
if (message.gingerBundlingEnabled != null && message.hasOwnProperty("gingerBundlingEnabled"))
|
|
91956
92070
|
writer.uint32(/* id 30, wireType 0 =*/240).bool(message.gingerBundlingEnabled);
|
|
92071
|
+
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
92072
|
+
writer.uint32(/* id 31, wireType 2 =*/250).string(message.ssoType);
|
|
91957
92073
|
return writer;
|
|
91958
92074
|
};
|
|
91959
92075
|
|
|
@@ -92066,6 +92182,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
92066
92182
|
case 30:
|
|
92067
92183
|
message.gingerBundlingEnabled = reader.bool();
|
|
92068
92184
|
break;
|
|
92185
|
+
case 31:
|
|
92186
|
+
message.ssoType = reader.string();
|
|
92187
|
+
break;
|
|
92069
92188
|
default:
|
|
92070
92189
|
reader.skipType(tag & 7);
|
|
92071
92190
|
break;
|
|
@@ -92216,6 +92335,9 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
92216
92335
|
if (message.gingerBundlingEnabled != null && message.hasOwnProperty("gingerBundlingEnabled"))
|
|
92217
92336
|
if (typeof message.gingerBundlingEnabled !== "boolean")
|
|
92218
92337
|
return "gingerBundlingEnabled: boolean expected";
|
|
92338
|
+
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
92339
|
+
if (!$util.isString(message.ssoType))
|
|
92340
|
+
return "ssoType: string expected";
|
|
92219
92341
|
return null;
|
|
92220
92342
|
};
|
|
92221
92343
|
|
|
@@ -92418,6 +92540,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
92418
92540
|
message.orgHeadspaceHealthId = String(object.orgHeadspaceHealthId);
|
|
92419
92541
|
if (object.gingerBundlingEnabled != null)
|
|
92420
92542
|
message.gingerBundlingEnabled = Boolean(object.gingerBundlingEnabled);
|
|
92543
|
+
if (object.ssoType != null)
|
|
92544
|
+
message.ssoType = String(object.ssoType);
|
|
92421
92545
|
return message;
|
|
92422
92546
|
};
|
|
92423
92547
|
|
|
@@ -92481,6 +92605,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
92481
92605
|
object.orgSlug = "";
|
|
92482
92606
|
object.orgHeadspaceHealthId = "";
|
|
92483
92607
|
object.gingerBundlingEnabled = false;
|
|
92608
|
+
object.ssoType = "";
|
|
92484
92609
|
}
|
|
92485
92610
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
92486
92611
|
object.userId = message.userId;
|
|
@@ -92549,6 +92674,8 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
|
|
|
92549
92674
|
object.orgHeadspaceHealthId = message.orgHeadspaceHealthId;
|
|
92550
92675
|
if (message.gingerBundlingEnabled != null && message.hasOwnProperty("gingerBundlingEnabled"))
|
|
92551
92676
|
object.gingerBundlingEnabled = message.gingerBundlingEnabled;
|
|
92677
|
+
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
92678
|
+
object.ssoType = message.ssoType;
|
|
92552
92679
|
return object;
|
|
92553
92680
|
};
|
|
92554
92681
|
|
|
@@ -92597,6 +92724,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
92597
92724
|
* @property {string|null} [orgSlug] EnterpriseUserEnrollmentAmended orgSlug
|
|
92598
92725
|
* @property {string|null} [orgHeadspaceHealthId] EnterpriseUserEnrollmentAmended orgHeadspaceHealthId
|
|
92599
92726
|
* @property {boolean|null} [gingerBundlingEnabled] EnterpriseUserEnrollmentAmended gingerBundlingEnabled
|
|
92727
|
+
* @property {string|null} [ssoType] EnterpriseUserEnrollmentAmended ssoType
|
|
92600
92728
|
*/
|
|
92601
92729
|
|
|
92602
92730
|
/**
|
|
@@ -92814,6 +92942,14 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
92814
92942
|
*/
|
|
92815
92943
|
EnterpriseUserEnrollmentAmended.prototype.gingerBundlingEnabled = false;
|
|
92816
92944
|
|
|
92945
|
+
/**
|
|
92946
|
+
* EnterpriseUserEnrollmentAmended ssoType.
|
|
92947
|
+
* @member {string} ssoType
|
|
92948
|
+
* @memberof EnterpriseUserEnrollmentAmended
|
|
92949
|
+
* @instance
|
|
92950
|
+
*/
|
|
92951
|
+
EnterpriseUserEnrollmentAmended.prototype.ssoType = "";
|
|
92952
|
+
|
|
92817
92953
|
/**
|
|
92818
92954
|
* Creates a new EnterpriseUserEnrollmentAmended instance using the specified properties.
|
|
92819
92955
|
* @function create
|
|
@@ -92888,6 +93024,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
92888
93024
|
writer.uint32(/* id 28, wireType 2 =*/226).string(message.orgHeadspaceHealthId);
|
|
92889
93025
|
if (message.gingerBundlingEnabled != null && message.hasOwnProperty("gingerBundlingEnabled"))
|
|
92890
93026
|
writer.uint32(/* id 29, wireType 0 =*/232).bool(message.gingerBundlingEnabled);
|
|
93027
|
+
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
93028
|
+
writer.uint32(/* id 30, wireType 2 =*/242).string(message.ssoType);
|
|
92891
93029
|
return writer;
|
|
92892
93030
|
};
|
|
92893
93031
|
|
|
@@ -92997,6 +93135,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
92997
93135
|
case 29:
|
|
92998
93136
|
message.gingerBundlingEnabled = reader.bool();
|
|
92999
93137
|
break;
|
|
93138
|
+
case 30:
|
|
93139
|
+
message.ssoType = reader.string();
|
|
93140
|
+
break;
|
|
93000
93141
|
default:
|
|
93001
93142
|
reader.skipType(tag & 7);
|
|
93002
93143
|
break;
|
|
@@ -93129,6 +93270,9 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
93129
93270
|
if (message.gingerBundlingEnabled != null && message.hasOwnProperty("gingerBundlingEnabled"))
|
|
93130
93271
|
if (typeof message.gingerBundlingEnabled !== "boolean")
|
|
93131
93272
|
return "gingerBundlingEnabled: boolean expected";
|
|
93273
|
+
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
93274
|
+
if (!$util.isString(message.ssoType))
|
|
93275
|
+
return "ssoType: string expected";
|
|
93132
93276
|
return null;
|
|
93133
93277
|
};
|
|
93134
93278
|
|
|
@@ -93281,6 +93425,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
93281
93425
|
message.orgHeadspaceHealthId = String(object.orgHeadspaceHealthId);
|
|
93282
93426
|
if (object.gingerBundlingEnabled != null)
|
|
93283
93427
|
message.gingerBundlingEnabled = Boolean(object.gingerBundlingEnabled);
|
|
93428
|
+
if (object.ssoType != null)
|
|
93429
|
+
message.ssoType = String(object.ssoType);
|
|
93284
93430
|
return message;
|
|
93285
93431
|
};
|
|
93286
93432
|
|
|
@@ -93343,6 +93489,7 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
93343
93489
|
object.orgSlug = "";
|
|
93344
93490
|
object.orgHeadspaceHealthId = "";
|
|
93345
93491
|
object.gingerBundlingEnabled = false;
|
|
93492
|
+
object.ssoType = "";
|
|
93346
93493
|
}
|
|
93347
93494
|
if (message.userId != null && message.hasOwnProperty("userId"))
|
|
93348
93495
|
object.userId = message.userId;
|
|
@@ -93409,6 +93556,8 @@ $root.EnterpriseUserEnrollmentAmended = (function() {
|
|
|
93409
93556
|
object.orgHeadspaceHealthId = message.orgHeadspaceHealthId;
|
|
93410
93557
|
if (message.gingerBundlingEnabled != null && message.hasOwnProperty("gingerBundlingEnabled"))
|
|
93411
93558
|
object.gingerBundlingEnabled = message.gingerBundlingEnabled;
|
|
93559
|
+
if (message.ssoType != null && message.hasOwnProperty("ssoType"))
|
|
93560
|
+
object.ssoType = message.ssoType;
|
|
93412
93561
|
return object;
|
|
93413
93562
|
};
|
|
93414
93563
|
|
package/package.json
CHANGED