@headspace/protos-events 1.161.0 → 1.163.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
@@ -3203,7 +3203,8 @@ export namespace b2b {
3203
3203
  enum OrgMemberRemovalReason {
3204
3204
  REMOVAL_REASON_UNKNOWN = 0,
3205
3205
  REMOVAL_REASON_GRACEFUL_EXIT = 1,
3206
- REMOVAL_REASON_MANUAL = 2
3206
+ REMOVAL_REASON_MANUAL = 2,
3207
+ REMOVAL_REASON_EXPIRATION = 3
3207
3208
  }
3208
3209
  }
3209
3210
 
@@ -3861,6 +3862,21 @@ export namespace asset {
3861
3862
 
3862
3863
  /** Narrator gender */
3863
3864
  gender?: (asset.Gender|null);
3865
+
3866
+ /** Narrator firstName */
3867
+ firstName?: (string|null);
3868
+
3869
+ /** Narrator lastName */
3870
+ lastName?: (string|null);
3871
+
3872
+ /** Narrator bio */
3873
+ bio?: (string|null);
3874
+
3875
+ /** Narrator title */
3876
+ title?: (string|null);
3877
+
3878
+ /** Narrator thumbnailMediaId */
3879
+ thumbnailMediaId?: (number|null);
3864
3880
  }
3865
3881
 
3866
3882
  /** Represents a Narrator. */
@@ -3881,6 +3897,21 @@ export namespace asset {
3881
3897
  /** Narrator gender. */
3882
3898
  public gender: asset.Gender;
3883
3899
 
3900
+ /** Narrator firstName. */
3901
+ public firstName: string;
3902
+
3903
+ /** Narrator lastName. */
3904
+ public lastName: string;
3905
+
3906
+ /** Narrator bio. */
3907
+ public bio: string;
3908
+
3909
+ /** Narrator title. */
3910
+ public title: string;
3911
+
3912
+ /** Narrator thumbnailMediaId. */
3913
+ public thumbnailMediaId: number;
3914
+
3884
3915
  /**
3885
3916
  * Creates a new Narrator instance using the specified properties.
3886
3917
  * @param [properties] Properties to set
package/lib/index.js CHANGED
@@ -7223,12 +7223,14 @@ $root.b2b = (function() {
7223
7223
  * @property {number} REMOVAL_REASON_UNKNOWN=0 REMOVAL_REASON_UNKNOWN value
7224
7224
  * @property {number} REMOVAL_REASON_GRACEFUL_EXIT=1 REMOVAL_REASON_GRACEFUL_EXIT value
7225
7225
  * @property {number} REMOVAL_REASON_MANUAL=2 REMOVAL_REASON_MANUAL value
7226
+ * @property {number} REMOVAL_REASON_EXPIRATION=3 REMOVAL_REASON_EXPIRATION value
7226
7227
  */
7227
7228
  b2b.OrgMemberRemovalReason = (function() {
7228
7229
  var valuesById = {}, values = Object.create(valuesById);
7229
7230
  values[valuesById[0] = "REMOVAL_REASON_UNKNOWN"] = 0;
7230
7231
  values[valuesById[1] = "REMOVAL_REASON_GRACEFUL_EXIT"] = 1;
7231
7232
  values[valuesById[2] = "REMOVAL_REASON_MANUAL"] = 2;
7233
+ values[valuesById[3] = "REMOVAL_REASON_EXPIRATION"] = 3;
7232
7234
  return values;
7233
7235
  })();
7234
7236
 
@@ -8903,6 +8905,11 @@ $root.asset = (function() {
8903
8905
  * @property {string|null} [id] Narrator id
8904
8906
  * @property {string|null} [name] Narrator name
8905
8907
  * @property {asset.Gender|null} [gender] Narrator gender
8908
+ * @property {string|null} [firstName] Narrator firstName
8909
+ * @property {string|null} [lastName] Narrator lastName
8910
+ * @property {string|null} [bio] Narrator bio
8911
+ * @property {string|null} [title] Narrator title
8912
+ * @property {number|null} [thumbnailMediaId] Narrator thumbnailMediaId
8906
8913
  */
8907
8914
 
8908
8915
  /**
@@ -8944,6 +8951,46 @@ $root.asset = (function() {
8944
8951
  */
8945
8952
  Narrator.prototype.gender = 0;
8946
8953
 
8954
+ /**
8955
+ * Narrator firstName.
8956
+ * @member {string} firstName
8957
+ * @memberof asset.Narrator
8958
+ * @instance
8959
+ */
8960
+ Narrator.prototype.firstName = "";
8961
+
8962
+ /**
8963
+ * Narrator lastName.
8964
+ * @member {string} lastName
8965
+ * @memberof asset.Narrator
8966
+ * @instance
8967
+ */
8968
+ Narrator.prototype.lastName = "";
8969
+
8970
+ /**
8971
+ * Narrator bio.
8972
+ * @member {string} bio
8973
+ * @memberof asset.Narrator
8974
+ * @instance
8975
+ */
8976
+ Narrator.prototype.bio = "";
8977
+
8978
+ /**
8979
+ * Narrator title.
8980
+ * @member {string} title
8981
+ * @memberof asset.Narrator
8982
+ * @instance
8983
+ */
8984
+ Narrator.prototype.title = "";
8985
+
8986
+ /**
8987
+ * Narrator thumbnailMediaId.
8988
+ * @member {number} thumbnailMediaId
8989
+ * @memberof asset.Narrator
8990
+ * @instance
8991
+ */
8992
+ Narrator.prototype.thumbnailMediaId = 0;
8993
+
8947
8994
  /**
8948
8995
  * Creates a new Narrator instance using the specified properties.
8949
8996
  * @function create
@@ -8974,6 +9021,16 @@ $root.asset = (function() {
8974
9021
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.name);
8975
9022
  if (message.gender != null && message.hasOwnProperty("gender"))
8976
9023
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.gender);
9024
+ if (message.firstName != null && message.hasOwnProperty("firstName"))
9025
+ writer.uint32(/* id 4, wireType 2 =*/34).string(message.firstName);
9026
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
9027
+ writer.uint32(/* id 5, wireType 2 =*/42).string(message.lastName);
9028
+ if (message.bio != null && message.hasOwnProperty("bio"))
9029
+ writer.uint32(/* id 6, wireType 2 =*/50).string(message.bio);
9030
+ if (message.title != null && message.hasOwnProperty("title"))
9031
+ writer.uint32(/* id 7, wireType 2 =*/58).string(message.title);
9032
+ if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
9033
+ writer.uint32(/* id 8, wireType 0 =*/64).int32(message.thumbnailMediaId);
8977
9034
  return writer;
8978
9035
  };
8979
9036
 
@@ -9017,6 +9074,21 @@ $root.asset = (function() {
9017
9074
  case 3:
9018
9075
  message.gender = reader.int32();
9019
9076
  break;
9077
+ case 4:
9078
+ message.firstName = reader.string();
9079
+ break;
9080
+ case 5:
9081
+ message.lastName = reader.string();
9082
+ break;
9083
+ case 6:
9084
+ message.bio = reader.string();
9085
+ break;
9086
+ case 7:
9087
+ message.title = reader.string();
9088
+ break;
9089
+ case 8:
9090
+ message.thumbnailMediaId = reader.int32();
9091
+ break;
9020
9092
  default:
9021
9093
  reader.skipType(tag & 7);
9022
9094
  break;
@@ -9067,6 +9139,21 @@ $root.asset = (function() {
9067
9139
  case 2:
9068
9140
  break;
9069
9141
  }
9142
+ if (message.firstName != null && message.hasOwnProperty("firstName"))
9143
+ if (!$util.isString(message.firstName))
9144
+ return "firstName: string expected";
9145
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
9146
+ if (!$util.isString(message.lastName))
9147
+ return "lastName: string expected";
9148
+ if (message.bio != null && message.hasOwnProperty("bio"))
9149
+ if (!$util.isString(message.bio))
9150
+ return "bio: string expected";
9151
+ if (message.title != null && message.hasOwnProperty("title"))
9152
+ if (!$util.isString(message.title))
9153
+ return "title: string expected";
9154
+ if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
9155
+ if (!$util.isInteger(message.thumbnailMediaId))
9156
+ return "thumbnailMediaId: integer expected";
9070
9157
  return null;
9071
9158
  };
9072
9159
 
@@ -9100,6 +9187,16 @@ $root.asset = (function() {
9100
9187
  message.gender = 2;
9101
9188
  break;
9102
9189
  }
9190
+ if (object.firstName != null)
9191
+ message.firstName = String(object.firstName);
9192
+ if (object.lastName != null)
9193
+ message.lastName = String(object.lastName);
9194
+ if (object.bio != null)
9195
+ message.bio = String(object.bio);
9196
+ if (object.title != null)
9197
+ message.title = String(object.title);
9198
+ if (object.thumbnailMediaId != null)
9199
+ message.thumbnailMediaId = object.thumbnailMediaId | 0;
9103
9200
  return message;
9104
9201
  };
9105
9202
 
@@ -9120,6 +9217,11 @@ $root.asset = (function() {
9120
9217
  object.id = "";
9121
9218
  object.name = "";
9122
9219
  object.gender = options.enums === String ? "GENDER_UNKNOWN" : 0;
9220
+ object.firstName = "";
9221
+ object.lastName = "";
9222
+ object.bio = "";
9223
+ object.title = "";
9224
+ object.thumbnailMediaId = 0;
9123
9225
  }
9124
9226
  if (message.id != null && message.hasOwnProperty("id"))
9125
9227
  object.id = message.id;
@@ -9127,6 +9229,16 @@ $root.asset = (function() {
9127
9229
  object.name = message.name;
9128
9230
  if (message.gender != null && message.hasOwnProperty("gender"))
9129
9231
  object.gender = options.enums === String ? $root.asset.Gender[message.gender] : message.gender;
9232
+ if (message.firstName != null && message.hasOwnProperty("firstName"))
9233
+ object.firstName = message.firstName;
9234
+ if (message.lastName != null && message.hasOwnProperty("lastName"))
9235
+ object.lastName = message.lastName;
9236
+ if (message.bio != null && message.hasOwnProperty("bio"))
9237
+ object.bio = message.bio;
9238
+ if (message.title != null && message.hasOwnProperty("title"))
9239
+ object.title = message.title;
9240
+ if (message.thumbnailMediaId != null && message.hasOwnProperty("thumbnailMediaId"))
9241
+ object.thumbnailMediaId = message.thumbnailMediaId;
9130
9242
  return object;
9131
9243
  };
9132
9244
 
@@ -40567,6 +40679,7 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
40567
40679
  case 0:
40568
40680
  case 1:
40569
40681
  case 2:
40682
+ case 3:
40570
40683
  break;
40571
40684
  }
40572
40685
  if (message.timestamp != null && message.hasOwnProperty("timestamp"))
@@ -40638,6 +40751,10 @@ $root.EnterpriseUserEnrollmentRemoved = (function() {
40638
40751
  case 2:
40639
40752
  message.reason = 2;
40640
40753
  break;
40754
+ case "REMOVAL_REASON_EXPIRATION":
40755
+ case 3:
40756
+ message.reason = 3;
40757
+ break;
40641
40758
  }
40642
40759
  if (object.timestamp != null)
40643
40760
  if ($util.Long)
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.161.0"
19
+ "version": "1.163.0"
20
20
  }