@headspace/protos-events 1.429.0 → 1.431.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 +24 -0
- package/lib/index.js +88 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -10046,6 +10046,12 @@ export namespace b2b {
|
|
|
10046
10046
|
|
|
10047
10047
|
/** Organization parentOrgHeadspaceHealthId */
|
|
10048
10048
|
parentOrgHeadspaceHealthId?: (string|null);
|
|
10049
|
+
|
|
10050
|
+
/** Organization enabledConnected */
|
|
10051
|
+
enabledConnected?: (boolean|null);
|
|
10052
|
+
|
|
10053
|
+
/** Organization enrollmentUrl */
|
|
10054
|
+
enrollmentUrl?: (string|null);
|
|
10049
10055
|
}
|
|
10050
10056
|
|
|
10051
10057
|
/** Represents an Organization. */
|
|
@@ -10105,6 +10111,12 @@ export namespace b2b {
|
|
|
10105
10111
|
/** Organization parentOrgHeadspaceHealthId. */
|
|
10106
10112
|
public parentOrgHeadspaceHealthId: string;
|
|
10107
10113
|
|
|
10114
|
+
/** Organization enabledConnected. */
|
|
10115
|
+
public enabledConnected: boolean;
|
|
10116
|
+
|
|
10117
|
+
/** Organization enrollmentUrl. */
|
|
10118
|
+
public enrollmentUrl: string;
|
|
10119
|
+
|
|
10108
10120
|
/**
|
|
10109
10121
|
* Creates a new Organization instance using the specified properties.
|
|
10110
10122
|
* @param [properties] Properties to set
|
|
@@ -14626,6 +14638,9 @@ export interface IContentfulWorkoutPlaylistCreated {
|
|
|
14626
14638
|
|
|
14627
14639
|
/** ContentfulWorkoutPlaylistCreated tags */
|
|
14628
14640
|
tags?: ({ [k: string]: contentful.ITags }|null);
|
|
14641
|
+
|
|
14642
|
+
/** ContentfulWorkoutPlaylistCreated contentTypeDisplayValue */
|
|
14643
|
+
contentTypeDisplayValue?: (string|null);
|
|
14629
14644
|
}
|
|
14630
14645
|
|
|
14631
14646
|
/** Represents a ContentfulWorkoutPlaylistCreated. */
|
|
@@ -14679,6 +14694,9 @@ export class ContentfulWorkoutPlaylistCreated implements IContentfulWorkoutPlayl
|
|
|
14679
14694
|
/** ContentfulWorkoutPlaylistCreated tags. */
|
|
14680
14695
|
public tags: { [k: string]: contentful.ITags };
|
|
14681
14696
|
|
|
14697
|
+
/** ContentfulWorkoutPlaylistCreated contentTypeDisplayValue. */
|
|
14698
|
+
public contentTypeDisplayValue: string;
|
|
14699
|
+
|
|
14682
14700
|
/**
|
|
14683
14701
|
* Creates a new ContentfulWorkoutPlaylistCreated instance using the specified properties.
|
|
14684
14702
|
* @param [properties] Properties to set
|
|
@@ -14794,6 +14812,9 @@ export interface IContentfulWorkoutPlaylistUpdated {
|
|
|
14794
14812
|
|
|
14795
14813
|
/** ContentfulWorkoutPlaylistUpdated tags */
|
|
14796
14814
|
tags?: ({ [k: string]: contentful.ITags }|null);
|
|
14815
|
+
|
|
14816
|
+
/** ContentfulWorkoutPlaylistUpdated contentTypeDisplayValue */
|
|
14817
|
+
contentTypeDisplayValue?: (string|null);
|
|
14797
14818
|
}
|
|
14798
14819
|
|
|
14799
14820
|
/** Represents a ContentfulWorkoutPlaylistUpdated. */
|
|
@@ -14847,6 +14868,9 @@ export class ContentfulWorkoutPlaylistUpdated implements IContentfulWorkoutPlayl
|
|
|
14847
14868
|
/** ContentfulWorkoutPlaylistUpdated tags. */
|
|
14848
14869
|
public tags: { [k: string]: contentful.ITags };
|
|
14849
14870
|
|
|
14871
|
+
/** ContentfulWorkoutPlaylistUpdated contentTypeDisplayValue. */
|
|
14872
|
+
public contentTypeDisplayValue: string;
|
|
14873
|
+
|
|
14850
14874
|
/**
|
|
14851
14875
|
* Creates a new ContentfulWorkoutPlaylistUpdated instance using the specified properties.
|
|
14852
14876
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -23950,6 +23950,8 @@ $root.b2b = (function() {
|
|
|
23950
23950
|
* @property {Array.<b2b.AddOn>|null} [orgAddons] Organization orgAddons
|
|
23951
23951
|
* @property {string|null} [rootOrgHeadspaceHealthId] Organization rootOrgHeadspaceHealthId
|
|
23952
23952
|
* @property {string|null} [parentOrgHeadspaceHealthId] Organization parentOrgHeadspaceHealthId
|
|
23953
|
+
* @property {boolean|null} [enabledConnected] Organization enabledConnected
|
|
23954
|
+
* @property {string|null} [enrollmentUrl] Organization enrollmentUrl
|
|
23953
23955
|
*/
|
|
23954
23956
|
|
|
23955
23957
|
/**
|
|
@@ -24096,6 +24098,22 @@ $root.b2b = (function() {
|
|
|
24096
24098
|
*/
|
|
24097
24099
|
Organization.prototype.parentOrgHeadspaceHealthId = "";
|
|
24098
24100
|
|
|
24101
|
+
/**
|
|
24102
|
+
* Organization enabledConnected.
|
|
24103
|
+
* @member {boolean} enabledConnected
|
|
24104
|
+
* @memberof b2b.Organization
|
|
24105
|
+
* @instance
|
|
24106
|
+
*/
|
|
24107
|
+
Organization.prototype.enabledConnected = false;
|
|
24108
|
+
|
|
24109
|
+
/**
|
|
24110
|
+
* Organization enrollmentUrl.
|
|
24111
|
+
* @member {string} enrollmentUrl
|
|
24112
|
+
* @memberof b2b.Organization
|
|
24113
|
+
* @instance
|
|
24114
|
+
*/
|
|
24115
|
+
Organization.prototype.enrollmentUrl = "";
|
|
24116
|
+
|
|
24099
24117
|
/**
|
|
24100
24118
|
* Creates a new Organization instance using the specified properties.
|
|
24101
24119
|
* @function create
|
|
@@ -24156,6 +24174,10 @@ $root.b2b = (function() {
|
|
|
24156
24174
|
writer.uint32(/* id 15, wireType 2 =*/122).string(message.rootOrgHeadspaceHealthId);
|
|
24157
24175
|
if (message.parentOrgHeadspaceHealthId != null && message.hasOwnProperty("parentOrgHeadspaceHealthId"))
|
|
24158
24176
|
writer.uint32(/* id 16, wireType 2 =*/130).string(message.parentOrgHeadspaceHealthId);
|
|
24177
|
+
if (message.enabledConnected != null && message.hasOwnProperty("enabledConnected"))
|
|
24178
|
+
writer.uint32(/* id 17, wireType 0 =*/136).bool(message.enabledConnected);
|
|
24179
|
+
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
24180
|
+
writer.uint32(/* id 18, wireType 2 =*/146).string(message.enrollmentUrl);
|
|
24159
24181
|
return writer;
|
|
24160
24182
|
};
|
|
24161
24183
|
|
|
@@ -24245,6 +24267,12 @@ $root.b2b = (function() {
|
|
|
24245
24267
|
case 16:
|
|
24246
24268
|
message.parentOrgHeadspaceHealthId = reader.string();
|
|
24247
24269
|
break;
|
|
24270
|
+
case 17:
|
|
24271
|
+
message.enabledConnected = reader.bool();
|
|
24272
|
+
break;
|
|
24273
|
+
case 18:
|
|
24274
|
+
message.enrollmentUrl = reader.string();
|
|
24275
|
+
break;
|
|
24248
24276
|
default:
|
|
24249
24277
|
reader.skipType(tag & 7);
|
|
24250
24278
|
break;
|
|
@@ -24362,6 +24390,12 @@ $root.b2b = (function() {
|
|
|
24362
24390
|
if (message.parentOrgHeadspaceHealthId != null && message.hasOwnProperty("parentOrgHeadspaceHealthId"))
|
|
24363
24391
|
if (!$util.isString(message.parentOrgHeadspaceHealthId))
|
|
24364
24392
|
return "parentOrgHeadspaceHealthId: string expected";
|
|
24393
|
+
if (message.enabledConnected != null && message.hasOwnProperty("enabledConnected"))
|
|
24394
|
+
if (typeof message.enabledConnected !== "boolean")
|
|
24395
|
+
return "enabledConnected: boolean expected";
|
|
24396
|
+
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
24397
|
+
if (!$util.isString(message.enrollmentUrl))
|
|
24398
|
+
return "enrollmentUrl: string expected";
|
|
24365
24399
|
return null;
|
|
24366
24400
|
};
|
|
24367
24401
|
|
|
@@ -24500,6 +24534,10 @@ $root.b2b = (function() {
|
|
|
24500
24534
|
message.rootOrgHeadspaceHealthId = String(object.rootOrgHeadspaceHealthId);
|
|
24501
24535
|
if (object.parentOrgHeadspaceHealthId != null)
|
|
24502
24536
|
message.parentOrgHeadspaceHealthId = String(object.parentOrgHeadspaceHealthId);
|
|
24537
|
+
if (object.enabledConnected != null)
|
|
24538
|
+
message.enabledConnected = Boolean(object.enabledConnected);
|
|
24539
|
+
if (object.enrollmentUrl != null)
|
|
24540
|
+
message.enrollmentUrl = String(object.enrollmentUrl);
|
|
24503
24541
|
return message;
|
|
24504
24542
|
};
|
|
24505
24543
|
|
|
@@ -24534,6 +24572,8 @@ $root.b2b = (function() {
|
|
|
24534
24572
|
object.orgSlug = "";
|
|
24535
24573
|
object.rootOrgHeadspaceHealthId = "";
|
|
24536
24574
|
object.parentOrgHeadspaceHealthId = "";
|
|
24575
|
+
object.enabledConnected = false;
|
|
24576
|
+
object.enrollmentUrl = "";
|
|
24537
24577
|
}
|
|
24538
24578
|
if (message.orgId != null && message.hasOwnProperty("orgId"))
|
|
24539
24579
|
object.orgId = message.orgId;
|
|
@@ -24570,6 +24610,10 @@ $root.b2b = (function() {
|
|
|
24570
24610
|
object.rootOrgHeadspaceHealthId = message.rootOrgHeadspaceHealthId;
|
|
24571
24611
|
if (message.parentOrgHeadspaceHealthId != null && message.hasOwnProperty("parentOrgHeadspaceHealthId"))
|
|
24572
24612
|
object.parentOrgHeadspaceHealthId = message.parentOrgHeadspaceHealthId;
|
|
24613
|
+
if (message.enabledConnected != null && message.hasOwnProperty("enabledConnected"))
|
|
24614
|
+
object.enabledConnected = message.enabledConnected;
|
|
24615
|
+
if (message.enrollmentUrl != null && message.hasOwnProperty("enrollmentUrl"))
|
|
24616
|
+
object.enrollmentUrl = message.enrollmentUrl;
|
|
24573
24617
|
return object;
|
|
24574
24618
|
};
|
|
24575
24619
|
|
|
@@ -36637,6 +36681,7 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
36637
36681
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulWorkoutPlaylistCreated accessGroups
|
|
36638
36682
|
* @property {number|Long|null} [createdAt] ContentfulWorkoutPlaylistCreated createdAt
|
|
36639
36683
|
* @property {Object.<string,contentful.ITags>|null} [tags] ContentfulWorkoutPlaylistCreated tags
|
|
36684
|
+
* @property {string|null} [contentTypeDisplayValue] ContentfulWorkoutPlaylistCreated contentTypeDisplayValue
|
|
36640
36685
|
*/
|
|
36641
36686
|
|
|
36642
36687
|
/**
|
|
@@ -36777,6 +36822,14 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
36777
36822
|
*/
|
|
36778
36823
|
ContentfulWorkoutPlaylistCreated.prototype.tags = $util.emptyObject;
|
|
36779
36824
|
|
|
36825
|
+
/**
|
|
36826
|
+
* ContentfulWorkoutPlaylistCreated contentTypeDisplayValue.
|
|
36827
|
+
* @member {string} contentTypeDisplayValue
|
|
36828
|
+
* @memberof ContentfulWorkoutPlaylistCreated
|
|
36829
|
+
* @instance
|
|
36830
|
+
*/
|
|
36831
|
+
ContentfulWorkoutPlaylistCreated.prototype.contentTypeDisplayValue = "";
|
|
36832
|
+
|
|
36780
36833
|
/**
|
|
36781
36834
|
* Creates a new ContentfulWorkoutPlaylistCreated instance using the specified properties.
|
|
36782
36835
|
* @function create
|
|
@@ -36848,6 +36901,8 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
36848
36901
|
writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
36849
36902
|
$root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
36850
36903
|
}
|
|
36904
|
+
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
36905
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.contentTypeDisplayValue);
|
|
36851
36906
|
return writer;
|
|
36852
36907
|
};
|
|
36853
36908
|
|
|
@@ -36976,6 +37031,9 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
36976
37031
|
reader.pos++;
|
|
36977
37032
|
message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
|
|
36978
37033
|
break;
|
|
37034
|
+
case 15:
|
|
37035
|
+
message.contentTypeDisplayValue = reader.string();
|
|
37036
|
+
break;
|
|
36979
37037
|
default:
|
|
36980
37038
|
reader.skipType(tag & 7);
|
|
36981
37039
|
break;
|
|
@@ -37117,6 +37175,9 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37117
37175
|
return "tags." + error;
|
|
37118
37176
|
}
|
|
37119
37177
|
}
|
|
37178
|
+
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
37179
|
+
if (!$util.isString(message.contentTypeDisplayValue))
|
|
37180
|
+
return "contentTypeDisplayValue: string expected";
|
|
37120
37181
|
return null;
|
|
37121
37182
|
};
|
|
37122
37183
|
|
|
@@ -37237,6 +37298,8 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37237
37298
|
message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
|
|
37238
37299
|
}
|
|
37239
37300
|
}
|
|
37301
|
+
if (object.contentTypeDisplayValue != null)
|
|
37302
|
+
message.contentTypeDisplayValue = String(object.contentTypeDisplayValue);
|
|
37240
37303
|
return message;
|
|
37241
37304
|
};
|
|
37242
37305
|
|
|
@@ -37275,6 +37338,7 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37275
37338
|
object.createdAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
37276
37339
|
} else
|
|
37277
37340
|
object.createdAt = options.longs === String ? "0" : 0;
|
|
37341
|
+
object.contentTypeDisplayValue = "";
|
|
37278
37342
|
}
|
|
37279
37343
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
37280
37344
|
object.slug = message.slug;
|
|
@@ -37341,6 +37405,8 @@ $root.ContentfulWorkoutPlaylistCreated = (function() {
|
|
|
37341
37405
|
for (var j = 0; j < keys2.length; ++j)
|
|
37342
37406
|
object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
|
|
37343
37407
|
}
|
|
37408
|
+
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
37409
|
+
object.contentTypeDisplayValue = message.contentTypeDisplayValue;
|
|
37344
37410
|
return object;
|
|
37345
37411
|
};
|
|
37346
37412
|
|
|
@@ -37378,6 +37444,7 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37378
37444
|
* @property {Array.<contentful.ISlugReference>|null} [accessGroups] ContentfulWorkoutPlaylistUpdated accessGroups
|
|
37379
37445
|
* @property {number|Long|null} [updatedAt] ContentfulWorkoutPlaylistUpdated updatedAt
|
|
37380
37446
|
* @property {Object.<string,contentful.ITags>|null} [tags] ContentfulWorkoutPlaylistUpdated tags
|
|
37447
|
+
* @property {string|null} [contentTypeDisplayValue] ContentfulWorkoutPlaylistUpdated contentTypeDisplayValue
|
|
37381
37448
|
*/
|
|
37382
37449
|
|
|
37383
37450
|
/**
|
|
@@ -37518,6 +37585,14 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37518
37585
|
*/
|
|
37519
37586
|
ContentfulWorkoutPlaylistUpdated.prototype.tags = $util.emptyObject;
|
|
37520
37587
|
|
|
37588
|
+
/**
|
|
37589
|
+
* ContentfulWorkoutPlaylistUpdated contentTypeDisplayValue.
|
|
37590
|
+
* @member {string} contentTypeDisplayValue
|
|
37591
|
+
* @memberof ContentfulWorkoutPlaylistUpdated
|
|
37592
|
+
* @instance
|
|
37593
|
+
*/
|
|
37594
|
+
ContentfulWorkoutPlaylistUpdated.prototype.contentTypeDisplayValue = "";
|
|
37595
|
+
|
|
37521
37596
|
/**
|
|
37522
37597
|
* Creates a new ContentfulWorkoutPlaylistUpdated instance using the specified properties.
|
|
37523
37598
|
* @function create
|
|
@@ -37589,6 +37664,8 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37589
37664
|
writer.uint32(/* id 14, wireType 2 =*/114).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]);
|
|
37590
37665
|
$root.contentful.Tags.encode(message.tags[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim();
|
|
37591
37666
|
}
|
|
37667
|
+
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
37668
|
+
writer.uint32(/* id 15, wireType 2 =*/122).string(message.contentTypeDisplayValue);
|
|
37592
37669
|
return writer;
|
|
37593
37670
|
};
|
|
37594
37671
|
|
|
@@ -37717,6 +37794,9 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37717
37794
|
reader.pos++;
|
|
37718
37795
|
message.tags[key] = $root.contentful.Tags.decode(reader, reader.uint32());
|
|
37719
37796
|
break;
|
|
37797
|
+
case 15:
|
|
37798
|
+
message.contentTypeDisplayValue = reader.string();
|
|
37799
|
+
break;
|
|
37720
37800
|
default:
|
|
37721
37801
|
reader.skipType(tag & 7);
|
|
37722
37802
|
break;
|
|
@@ -37858,6 +37938,9 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37858
37938
|
return "tags." + error;
|
|
37859
37939
|
}
|
|
37860
37940
|
}
|
|
37941
|
+
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
37942
|
+
if (!$util.isString(message.contentTypeDisplayValue))
|
|
37943
|
+
return "contentTypeDisplayValue: string expected";
|
|
37861
37944
|
return null;
|
|
37862
37945
|
};
|
|
37863
37946
|
|
|
@@ -37978,6 +38061,8 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
37978
38061
|
message.tags[keys[i]] = $root.contentful.Tags.fromObject(object.tags[keys[i]]);
|
|
37979
38062
|
}
|
|
37980
38063
|
}
|
|
38064
|
+
if (object.contentTypeDisplayValue != null)
|
|
38065
|
+
message.contentTypeDisplayValue = String(object.contentTypeDisplayValue);
|
|
37981
38066
|
return message;
|
|
37982
38067
|
};
|
|
37983
38068
|
|
|
@@ -38016,6 +38101,7 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
38016
38101
|
object.updatedAt = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long;
|
|
38017
38102
|
} else
|
|
38018
38103
|
object.updatedAt = options.longs === String ? "0" : 0;
|
|
38104
|
+
object.contentTypeDisplayValue = "";
|
|
38019
38105
|
}
|
|
38020
38106
|
if (message.slug != null && message.hasOwnProperty("slug"))
|
|
38021
38107
|
object.slug = message.slug;
|
|
@@ -38082,6 +38168,8 @@ $root.ContentfulWorkoutPlaylistUpdated = (function() {
|
|
|
38082
38168
|
for (var j = 0; j < keys2.length; ++j)
|
|
38083
38169
|
object.tags[keys2[j]] = $root.contentful.Tags.toObject(message.tags[keys2[j]], options);
|
|
38084
38170
|
}
|
|
38171
|
+
if (message.contentTypeDisplayValue != null && message.hasOwnProperty("contentTypeDisplayValue"))
|
|
38172
|
+
object.contentTypeDisplayValue = message.contentTypeDisplayValue;
|
|
38085
38173
|
return object;
|
|
38086
38174
|
};
|
|
38087
38175
|
|
package/package.json
CHANGED