@headspace/protos-events 1.161.0 → 1.162.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 +30 -0
- package/lib/index.js +110 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -3861,6 +3861,21 @@ export namespace asset {
|
|
|
3861
3861
|
|
|
3862
3862
|
/** Narrator gender */
|
|
3863
3863
|
gender?: (asset.Gender|null);
|
|
3864
|
+
|
|
3865
|
+
/** Narrator firstName */
|
|
3866
|
+
firstName?: (string|null);
|
|
3867
|
+
|
|
3868
|
+
/** Narrator lastName */
|
|
3869
|
+
lastName?: (string|null);
|
|
3870
|
+
|
|
3871
|
+
/** Narrator bio */
|
|
3872
|
+
bio?: (string|null);
|
|
3873
|
+
|
|
3874
|
+
/** Narrator title */
|
|
3875
|
+
title?: (string|null);
|
|
3876
|
+
|
|
3877
|
+
/** Narrator thumbnailMediaId */
|
|
3878
|
+
thumbnailMediaId?: (number|null);
|
|
3864
3879
|
}
|
|
3865
3880
|
|
|
3866
3881
|
/** Represents a Narrator. */
|
|
@@ -3881,6 +3896,21 @@ export namespace asset {
|
|
|
3881
3896
|
/** Narrator gender. */
|
|
3882
3897
|
public gender: asset.Gender;
|
|
3883
3898
|
|
|
3899
|
+
/** Narrator firstName. */
|
|
3900
|
+
public firstName: string;
|
|
3901
|
+
|
|
3902
|
+
/** Narrator lastName. */
|
|
3903
|
+
public lastName: string;
|
|
3904
|
+
|
|
3905
|
+
/** Narrator bio. */
|
|
3906
|
+
public bio: string;
|
|
3907
|
+
|
|
3908
|
+
/** Narrator title. */
|
|
3909
|
+
public title: string;
|
|
3910
|
+
|
|
3911
|
+
/** Narrator thumbnailMediaId. */
|
|
3912
|
+
public thumbnailMediaId: number;
|
|
3913
|
+
|
|
3884
3914
|
/**
|
|
3885
3915
|
* Creates a new Narrator instance using the specified properties.
|
|
3886
3916
|
* @param [properties] Properties to set
|
package/lib/index.js
CHANGED
|
@@ -8903,6 +8903,11 @@ $root.asset = (function() {
|
|
|
8903
8903
|
* @property {string|null} [id] Narrator id
|
|
8904
8904
|
* @property {string|null} [name] Narrator name
|
|
8905
8905
|
* @property {asset.Gender|null} [gender] Narrator gender
|
|
8906
|
+
* @property {string|null} [firstName] Narrator firstName
|
|
8907
|
+
* @property {string|null} [lastName] Narrator lastName
|
|
8908
|
+
* @property {string|null} [bio] Narrator bio
|
|
8909
|
+
* @property {string|null} [title] Narrator title
|
|
8910
|
+
* @property {number|null} [thumbnailMediaId] Narrator thumbnailMediaId
|
|
8906
8911
|
*/
|
|
8907
8912
|
|
|
8908
8913
|
/**
|
|
@@ -8944,6 +8949,46 @@ $root.asset = (function() {
|
|
|
8944
8949
|
*/
|
|
8945
8950
|
Narrator.prototype.gender = 0;
|
|
8946
8951
|
|
|
8952
|
+
/**
|
|
8953
|
+
* Narrator firstName.
|
|
8954
|
+
* @member {string} firstName
|
|
8955
|
+
* @memberof asset.Narrator
|
|
8956
|
+
* @instance
|
|
8957
|
+
*/
|
|
8958
|
+
Narrator.prototype.firstName = "";
|
|
8959
|
+
|
|
8960
|
+
/**
|
|
8961
|
+
* Narrator lastName.
|
|
8962
|
+
* @member {string} lastName
|
|
8963
|
+
* @memberof asset.Narrator
|
|
8964
|
+
* @instance
|
|
8965
|
+
*/
|
|
8966
|
+
Narrator.prototype.lastName = "";
|
|
8967
|
+
|
|
8968
|
+
/**
|
|
8969
|
+
* Narrator bio.
|
|
8970
|
+
* @member {string} bio
|
|
8971
|
+
* @memberof asset.Narrator
|
|
8972
|
+
* @instance
|
|
8973
|
+
*/
|
|
8974
|
+
Narrator.prototype.bio = "";
|
|
8975
|
+
|
|
8976
|
+
/**
|
|
8977
|
+
* Narrator title.
|
|
8978
|
+
* @member {string} title
|
|
8979
|
+
* @memberof asset.Narrator
|
|
8980
|
+
* @instance
|
|
8981
|
+
*/
|
|
8982
|
+
Narrator.prototype.title = "";
|
|
8983
|
+
|
|
8984
|
+
/**
|
|
8985
|
+
* Narrator thumbnailMediaId.
|
|
8986
|
+
* @member {number} thumbnailMediaId
|
|
8987
|
+
* @memberof asset.Narrator
|
|
8988
|
+
* @instance
|
|
8989
|
+
*/
|
|
8990
|
+
Narrator.prototype.thumbnailMediaId = 0;
|
|
8991
|
+
|
|
8947
8992
|
/**
|
|
8948
8993
|
* Creates a new Narrator instance using the specified properties.
|
|
8949
8994
|
* @function create
|
|
@@ -8974,6 +9019,16 @@ $root.asset = (function() {
|
|
|
8974
9019
|
writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
|
|
8975
9020
|
if (message.gender != null && message.hasOwnProperty("gender"))
|
|
8976
9021
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.gender);
|
|
9022
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
9023
|
+
writer.uint32(/* id 4, wireType 2 =*/34).string(message.firstName);
|
|
9024
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
9025
|
+
writer.uint32(/* id 5, wireType 2 =*/42).string(message.lastName);
|
|
9026
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
9027
|
+
writer.uint32(/* id 6, wireType 2 =*/50).string(message.bio);
|
|
9028
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
9029
|
+
writer.uint32(/* id 7, wireType 2 =*/58).string(message.title);
|
|
9030
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
9031
|
+
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.thumbnailMediaId);
|
|
8977
9032
|
return writer;
|
|
8978
9033
|
};
|
|
8979
9034
|
|
|
@@ -9017,6 +9072,21 @@ $root.asset = (function() {
|
|
|
9017
9072
|
case 3:
|
|
9018
9073
|
message.gender = reader.int32();
|
|
9019
9074
|
break;
|
|
9075
|
+
case 4:
|
|
9076
|
+
message.firstName = reader.string();
|
|
9077
|
+
break;
|
|
9078
|
+
case 5:
|
|
9079
|
+
message.lastName = reader.string();
|
|
9080
|
+
break;
|
|
9081
|
+
case 6:
|
|
9082
|
+
message.bio = reader.string();
|
|
9083
|
+
break;
|
|
9084
|
+
case 7:
|
|
9085
|
+
message.title = reader.string();
|
|
9086
|
+
break;
|
|
9087
|
+
case 8:
|
|
9088
|
+
message.thumbnailMediaId = reader.int32();
|
|
9089
|
+
break;
|
|
9020
9090
|
default:
|
|
9021
9091
|
reader.skipType(tag & 7);
|
|
9022
9092
|
break;
|
|
@@ -9067,6 +9137,21 @@ $root.asset = (function() {
|
|
|
9067
9137
|
case 2:
|
|
9068
9138
|
break;
|
|
9069
9139
|
}
|
|
9140
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
9141
|
+
if (!$util.isString(message.firstName))
|
|
9142
|
+
return "firstName: string expected";
|
|
9143
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
9144
|
+
if (!$util.isString(message.lastName))
|
|
9145
|
+
return "lastName: string expected";
|
|
9146
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
9147
|
+
if (!$util.isString(message.bio))
|
|
9148
|
+
return "bio: string expected";
|
|
9149
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
9150
|
+
if (!$util.isString(message.title))
|
|
9151
|
+
return "title: string expected";
|
|
9152
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
9153
|
+
if (!$util.isInteger(message.thumbnailMediaId))
|
|
9154
|
+
return "thumbnailMediaId: integer expected";
|
|
9070
9155
|
return null;
|
|
9071
9156
|
};
|
|
9072
9157
|
|
|
@@ -9100,6 +9185,16 @@ $root.asset = (function() {
|
|
|
9100
9185
|
message.gender = 2;
|
|
9101
9186
|
break;
|
|
9102
9187
|
}
|
|
9188
|
+
if (object.firstName != null)
|
|
9189
|
+
message.firstName = String(object.firstName);
|
|
9190
|
+
if (object.lastName != null)
|
|
9191
|
+
message.lastName = String(object.lastName);
|
|
9192
|
+
if (object.bio != null)
|
|
9193
|
+
message.bio = String(object.bio);
|
|
9194
|
+
if (object.title != null)
|
|
9195
|
+
message.title = String(object.title);
|
|
9196
|
+
if (object.thumbnailMediaId != null)
|
|
9197
|
+
message.thumbnailMediaId = object.thumbnailMediaId | 0;
|
|
9103
9198
|
return message;
|
|
9104
9199
|
};
|
|
9105
9200
|
|
|
@@ -9120,6 +9215,11 @@ $root.asset = (function() {
|
|
|
9120
9215
|
object.id = "";
|
|
9121
9216
|
object.name = "";
|
|
9122
9217
|
object.gender = options.enums === String ? "GENDER_UNKNOWN" : 0;
|
|
9218
|
+
object.firstName = "";
|
|
9219
|
+
object.lastName = "";
|
|
9220
|
+
object.bio = "";
|
|
9221
|
+
object.title = "";
|
|
9222
|
+
object.thumbnailMediaId = 0;
|
|
9123
9223
|
}
|
|
9124
9224
|
if (message.id != null && message.hasOwnProperty("id"))
|
|
9125
9225
|
object.id = message.id;
|
|
@@ -9127,6 +9227,16 @@ $root.asset = (function() {
|
|
|
9127
9227
|
object.name = message.name;
|
|
9128
9228
|
if (message.gender != null && message.hasOwnProperty("gender"))
|
|
9129
9229
|
object.gender = options.enums === String ? $root.asset.Gender[message.gender] : message.gender;
|
|
9230
|
+
if (message.firstName != null && message.hasOwnProperty("firstName"))
|
|
9231
|
+
object.firstName = message.firstName;
|
|
9232
|
+
if (message.lastName != null && message.hasOwnProperty("lastName"))
|
|
9233
|
+
object.lastName = message.lastName;
|
|
9234
|
+
if (message.bio != null && message.hasOwnProperty("bio"))
|
|
9235
|
+
object.bio = message.bio;
|
|
9236
|
+
if (message.title != null && message.hasOwnProperty("title"))
|
|
9237
|
+
object.title = message.title;
|
|
9238
|
+
if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
|
|
9239
|
+
object.thumbnailMediaId = message.thumbnailMediaId;
|
|
9130
9240
|
return object;
|
|
9131
9241
|
};
|
|
9132
9242
|
|
package/package.json
CHANGED