@headspace/protos-events 1.813.0 → 1.815.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.
Files changed (3) hide show
  1. package/lib/index.d.ts +48 -45
  2. package/lib/index.js +119 -77
  3. package/package.json +1 -1
package/lib/index.d.ts CHANGED
@@ -101571,7 +101571,10 @@ export namespace subscription {
101571
101571
  enum SubscriptionLabels {
101572
101572
 
101573
101573
  /** SUBLABEL_FREE_TRIAL value */
101574
- SUBLABEL_FREE_TRIAL = 0
101574
+ SUBLABEL_FREE_TRIAL = 0,
101575
+
101576
+ /** SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION value */
101577
+ SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION = 1
101575
101578
  }
101576
101579
 
101577
101580
  /** SubscriptionState enum. */
@@ -104055,142 +104058,142 @@ export namespace UserDeletionRevoked {
104055
104058
  }
104056
104059
 
104057
104060
  /**
104058
- * Properties of a UserAppleHealthConnectionSettingUpdated.
104059
- * @deprecated Use UserAppleHealthConnectionSettingUpdated.$Properties instead.
104061
+ * Properties of a UserConnectedDeviceSettingUpdated.
104062
+ * @deprecated Use UserConnectedDeviceSettingUpdated.$Properties instead.
104060
104063
  */
104061
- export interface IUserAppleHealthConnectionSettingUpdated extends UserAppleHealthConnectionSettingUpdated.$Properties {
104064
+ export interface IUserConnectedDeviceSettingUpdated extends UserConnectedDeviceSettingUpdated.$Properties {
104062
104065
  }
104063
104066
 
104064
104067
  /**
104065
- * Sent when a user's Apple Health connection setting is updated.
104068
+ * Sent when a user's connected device setting is updated.
104066
104069
  * Responsible team: Consumer Growth
104067
104070
  *
104068
104071
  */
104069
- export class UserAppleHealthConnectionSettingUpdated {
104072
+ export class UserConnectedDeviceSettingUpdated {
104070
104073
 
104071
104074
  /**
104072
- * Constructs a new UserAppleHealthConnectionSettingUpdated.
104075
+ * Constructs a new UserConnectedDeviceSettingUpdated.
104073
104076
  * @param [properties] Properties to set
104074
104077
  */
104075
- constructor(properties?: UserAppleHealthConnectionSettingUpdated.$Properties);
104078
+ constructor(properties?: UserConnectedDeviceSettingUpdated.$Properties);
104076
104079
 
104077
104080
  /** Unknown fields preserved while decoding */
104078
104081
  $unknowns?: Uint8Array[];
104079
104082
 
104080
- /** UserAppleHealthConnectionSettingUpdated hsUserId. */
104083
+ /** UserConnectedDeviceSettingUpdated hsUserId. */
104081
104084
  hsUserId: string;
104082
104085
 
104083
- /** UserAppleHealthConnectionSettingUpdated settingValue. */
104086
+ /** UserConnectedDeviceSettingUpdated settingValue. */
104084
104087
  settingValue: string;
104085
104088
 
104086
- /** UserAppleHealthConnectionSettingUpdated updatedAt. */
104089
+ /** UserConnectedDeviceSettingUpdated updatedAt. */
104087
104090
  updatedAt: (number|Long);
104088
104091
 
104089
- /** UserAppleHealthConnectionSettingUpdated source. */
104092
+ /** UserConnectedDeviceSettingUpdated source. */
104090
104093
  source: string;
104091
104094
 
104092
104095
  /**
104093
- * Creates a new UserAppleHealthConnectionSettingUpdated instance using the specified properties.
104096
+ * Creates a new UserConnectedDeviceSettingUpdated instance using the specified properties.
104094
104097
  * @param [properties] Properties to set
104095
- * @returns UserAppleHealthConnectionSettingUpdated instance
104098
+ * @returns UserConnectedDeviceSettingUpdated instance
104096
104099
  */
104097
- static create(properties: UserAppleHealthConnectionSettingUpdated.$Shape): UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape;
104098
- static create(properties?: UserAppleHealthConnectionSettingUpdated.$Properties): UserAppleHealthConnectionSettingUpdated;
104100
+ static create(properties: UserConnectedDeviceSettingUpdated.$Shape): UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape;
104101
+ static create(properties?: UserConnectedDeviceSettingUpdated.$Properties): UserConnectedDeviceSettingUpdated;
104099
104102
 
104100
104103
  /**
104101
- * Encodes the specified UserAppleHealthConnectionSettingUpdated message. Does not implicitly {@link UserAppleHealthConnectionSettingUpdated.verify|verify} messages.
104102
- * @param message UserAppleHealthConnectionSettingUpdated message or plain object to encode
104104
+ * Encodes the specified UserConnectedDeviceSettingUpdated message. Does not implicitly {@link UserConnectedDeviceSettingUpdated.verify|verify} messages.
104105
+ * @param message UserConnectedDeviceSettingUpdated message or plain object to encode
104103
104106
  * @param [writer] Writer to encode to
104104
104107
  * @returns Writer
104105
104108
  */
104106
- static encode(message: UserAppleHealthConnectionSettingUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
104109
+ static encode(message: UserConnectedDeviceSettingUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
104107
104110
 
104108
104111
  /**
104109
- * Encodes the specified UserAppleHealthConnectionSettingUpdated message, length delimited. Does not implicitly {@link UserAppleHealthConnectionSettingUpdated.verify|verify} messages.
104110
- * @param message UserAppleHealthConnectionSettingUpdated message or plain object to encode
104112
+ * Encodes the specified UserConnectedDeviceSettingUpdated message, length delimited. Does not implicitly {@link UserConnectedDeviceSettingUpdated.verify|verify} messages.
104113
+ * @param message UserConnectedDeviceSettingUpdated message or plain object to encode
104111
104114
  * @param [writer] Writer to encode to
104112
104115
  * @returns Writer
104113
104116
  */
104114
- static encodeDelimited(message: UserAppleHealthConnectionSettingUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
104117
+ static encodeDelimited(message: UserConnectedDeviceSettingUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
104115
104118
 
104116
104119
  /**
104117
- * Decodes a UserAppleHealthConnectionSettingUpdated message from the specified reader or buffer.
104120
+ * Decodes a UserConnectedDeviceSettingUpdated message from the specified reader or buffer.
104118
104121
  * @param reader Reader or buffer to decode from
104119
104122
  * @param [length] Message length if known beforehand
104120
- * @returns {UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape} UserAppleHealthConnectionSettingUpdated
104123
+ * @returns {UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape} UserConnectedDeviceSettingUpdated
104121
104124
  * @throws {Error} If the payload is not a reader or valid buffer
104122
104125
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
104123
104126
  */
104124
- static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape;
104127
+ static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape;
104125
104128
 
104126
104129
  /**
104127
- * Decodes a UserAppleHealthConnectionSettingUpdated message from the specified reader or buffer, length delimited.
104130
+ * Decodes a UserConnectedDeviceSettingUpdated message from the specified reader or buffer, length delimited.
104128
104131
  * @param reader Reader or buffer to decode from
104129
- * @returns {UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape} UserAppleHealthConnectionSettingUpdated
104132
+ * @returns {UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape} UserConnectedDeviceSettingUpdated
104130
104133
  * @throws {Error} If the payload is not a reader or valid buffer
104131
104134
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
104132
104135
  */
104133
- static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape;
104136
+ static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape;
104134
104137
 
104135
104138
  /**
104136
- * Verifies a UserAppleHealthConnectionSettingUpdated message.
104139
+ * Verifies a UserConnectedDeviceSettingUpdated message.
104137
104140
  * @param message Plain object to verify
104138
104141
  * @returns `null` if valid, otherwise the reason why it is not
104139
104142
  */
104140
104143
  static verify(message: { [k: string]: any }): (string|null);
104141
104144
 
104142
104145
  /**
104143
- * Creates a UserAppleHealthConnectionSettingUpdated message from a plain object. Also converts values to their respective internal types.
104146
+ * Creates a UserConnectedDeviceSettingUpdated message from a plain object. Also converts values to their respective internal types.
104144
104147
  * @param object Plain object
104145
- * @returns UserAppleHealthConnectionSettingUpdated
104148
+ * @returns UserConnectedDeviceSettingUpdated
104146
104149
  */
104147
- static fromObject(object: { [k: string]: any }): UserAppleHealthConnectionSettingUpdated;
104150
+ static fromObject(object: { [k: string]: any }): UserConnectedDeviceSettingUpdated;
104148
104151
 
104149
104152
  /**
104150
- * Creates a plain object from a UserAppleHealthConnectionSettingUpdated message. Also converts values to other types if specified.
104151
- * @param message UserAppleHealthConnectionSettingUpdated
104153
+ * Creates a plain object from a UserConnectedDeviceSettingUpdated message. Also converts values to other types if specified.
104154
+ * @param message UserConnectedDeviceSettingUpdated
104152
104155
  * @param [options] Conversion options
104153
104156
  * @returns Plain object
104154
104157
  */
104155
- static toObject(message: UserAppleHealthConnectionSettingUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
104158
+ static toObject(message: UserConnectedDeviceSettingUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
104156
104159
 
104157
104160
  /**
104158
- * Converts this UserAppleHealthConnectionSettingUpdated to JSON.
104161
+ * Converts this UserConnectedDeviceSettingUpdated to JSON.
104159
104162
  * @returns JSON object
104160
104163
  */
104161
104164
  toJSON(): { [k: string]: any };
104162
104165
 
104163
104166
  /**
104164
- * Gets the type url for UserAppleHealthConnectionSettingUpdated
104167
+ * Gets the type url for UserConnectedDeviceSettingUpdated
104165
104168
  * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
104166
104169
  * @returns The type url
104167
104170
  */
104168
104171
  static getTypeUrl(prefix?: string): string;
104169
104172
  }
104170
104173
 
104171
- export namespace UserAppleHealthConnectionSettingUpdated {
104174
+ export namespace UserConnectedDeviceSettingUpdated {
104172
104175
 
104173
- /** Properties of a UserAppleHealthConnectionSettingUpdated. */
104176
+ /** Properties of a UserConnectedDeviceSettingUpdated. */
104174
104177
  interface $Properties {
104175
104178
 
104176
- /** UserAppleHealthConnectionSettingUpdated hsUserId */
104179
+ /** UserConnectedDeviceSettingUpdated hsUserId */
104177
104180
  hsUserId?: (string|null);
104178
104181
 
104179
- /** UserAppleHealthConnectionSettingUpdated settingValue */
104182
+ /** UserConnectedDeviceSettingUpdated settingValue */
104180
104183
  settingValue?: (string|null);
104181
104184
 
104182
- /** UserAppleHealthConnectionSettingUpdated updatedAt */
104185
+ /** UserConnectedDeviceSettingUpdated updatedAt */
104183
104186
  updatedAt?: (number|Long|null);
104184
104187
 
104185
- /** UserAppleHealthConnectionSettingUpdated source */
104188
+ /** UserConnectedDeviceSettingUpdated source */
104186
104189
  source?: (string|null);
104187
104190
 
104188
104191
  /** Unknown fields preserved while decoding */
104189
104192
  $unknowns?: Uint8Array[];
104190
104193
  }
104191
104194
 
104192
- /** Shape of a UserAppleHealthConnectionSettingUpdated. */
104193
- type $Shape = UserAppleHealthConnectionSettingUpdated.$Properties;
104195
+ /** Shape of a UserConnectedDeviceSettingUpdated. */
104196
+ type $Shape = UserConnectedDeviceSettingUpdated.$Properties;
104194
104197
  }
104195
104198
 
104196
104199
  /**
package/lib/index.js CHANGED
@@ -284574,6 +284574,7 @@ $root.SubscriptionCreated = (function() {
284574
284574
  default:
284575
284575
  return "labels: enum value[] expected";
284576
284576
  case 0:
284577
+ case 1:
284577
284578
  break;
284578
284579
  }
284579
284580
  }
@@ -284797,6 +284798,10 @@ $root.SubscriptionCreated = (function() {
284797
284798
  case 0:
284798
284799
  message.labels[i] = 0;
284799
284800
  break;
284801
+ case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
284802
+ case 1:
284803
+ message.labels[i] = 1;
284804
+ break;
284800
284805
  }
284801
284806
  }
284802
284807
  if (object.isQueuedSubscription != null)
@@ -285600,6 +285605,7 @@ $root.SubscriptionCancelled = (function() {
285600
285605
  default:
285601
285606
  return "labels: enum value[] expected";
285602
285607
  case 0:
285608
+ case 1:
285603
285609
  break;
285604
285610
  }
285605
285611
  }
@@ -285852,6 +285858,10 @@ $root.SubscriptionCancelled = (function() {
285852
285858
  case 0:
285853
285859
  message.labels[i] = 0;
285854
285860
  break;
285861
+ case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
285862
+ case 1:
285863
+ message.labels[i] = 1;
285864
+ break;
285855
285865
  }
285856
285866
  }
285857
285867
  if (object.renewalCount != null)
@@ -286934,6 +286944,7 @@ $root.SubscriptionRenewed = (function() {
286934
286944
  default:
286935
286945
  return "labels: enum value[] expected";
286936
286946
  case 0:
286947
+ case 1:
286937
286948
  break;
286938
286949
  }
286939
286950
  }
@@ -287157,6 +287168,10 @@ $root.SubscriptionRenewed = (function() {
287157
287168
  case 0:
287158
287169
  message.labels[i] = 0;
287159
287170
  break;
287171
+ case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
287172
+ case 1:
287173
+ message.labels[i] = 1;
287174
+ break;
287160
287175
  }
287161
287176
  }
287162
287177
  if (object.renewalCount != null)
@@ -289417,6 +289432,7 @@ $root.SubscriptionGraced = (function() {
289417
289432
  default:
289418
289433
  return "labels: enum value[] expected";
289419
289434
  case 0:
289435
+ case 1:
289420
289436
  break;
289421
289437
  }
289422
289438
  }
@@ -289640,6 +289656,10 @@ $root.SubscriptionGraced = (function() {
289640
289656
  case 0:
289641
289657
  message.labels[i] = 0;
289642
289658
  break;
289659
+ case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
289660
+ case 1:
289661
+ message.labels[i] = 1;
289662
+ break;
289643
289663
  }
289644
289664
  }
289645
289665
  if (object.renewalCount != null)
@@ -290383,6 +290403,7 @@ $root.SubscriptionStarted = (function() {
290383
290403
  default:
290384
290404
  return "labels: enum value[] expected";
290385
290405
  case 0:
290406
+ case 1:
290386
290407
  break;
290387
290408
  }
290388
290409
  }
@@ -290606,6 +290627,10 @@ $root.SubscriptionStarted = (function() {
290606
290627
  case 0:
290607
290628
  message.labels[i] = 0;
290608
290629
  break;
290630
+ case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
290631
+ case 1:
290632
+ message.labels[i] = 1;
290633
+ break;
290609
290634
  }
290610
290635
  }
290611
290636
  if (object.renewalCount != null)
@@ -291381,6 +291406,7 @@ $root.SubscriptionEnded = (function() {
291381
291406
  default:
291382
291407
  return "labels: enum value[] expected";
291383
291408
  case 0:
291409
+ case 1:
291384
291410
  break;
291385
291411
  }
291386
291412
  }
@@ -291625,6 +291651,10 @@ $root.SubscriptionEnded = (function() {
291625
291651
  case 0:
291626
291652
  message.labels[i] = 0;
291627
291653
  break;
291654
+ case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
291655
+ case 1:
291656
+ message.labels[i] = 1;
291657
+ break;
291628
291658
  }
291629
291659
  }
291630
291660
  if (object.renewalCount != null)
@@ -292373,6 +292403,7 @@ $root.SubscriptionRecovered = (function() {
292373
292403
  default:
292374
292404
  return "labels: enum value[] expected";
292375
292405
  case 0:
292406
+ case 1:
292376
292407
  break;
292377
292408
  }
292378
292409
  }
@@ -292596,6 +292627,10 @@ $root.SubscriptionRecovered = (function() {
292596
292627
  case 0:
292597
292628
  message.labels[i] = 0;
292598
292629
  break;
292630
+ case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
292631
+ case 1:
292632
+ message.labels[i] = 1;
292633
+ break;
292599
292634
  }
292600
292635
  }
292601
292636
  if (object.renewalCount != null)
@@ -293343,6 +293378,7 @@ $root.SubscriptionAmended = (function() {
293343
293378
  default:
293344
293379
  return "labels: enum value[] expected";
293345
293380
  case 0:
293381
+ case 1:
293346
293382
  break;
293347
293383
  }
293348
293384
  }
@@ -293566,6 +293602,10 @@ $root.SubscriptionAmended = (function() {
293566
293602
  case 0:
293567
293603
  message.labels[i] = 0;
293568
293604
  break;
293605
+ case "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION":
293606
+ case 1:
293607
+ message.labels[i] = 1;
293608
+ break;
293569
293609
  }
293570
293610
  }
293571
293611
  if (object.renewalCount != null)
@@ -298648,10 +298688,12 @@ $root.subscription = (function() {
298648
298688
  * @name subscription.SubscriptionLabels
298649
298689
  * @enum {number}
298650
298690
  * @property {number} SUBLABEL_FREE_TRIAL=0 SUBLABEL_FREE_TRIAL value
298691
+ * @property {number} SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION=1 SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION value
298651
298692
  */
298652
298693
  subscription.SubscriptionLabels = (function() {
298653
298694
  var valuesById = {}, values = Object.create(valuesById);
298654
298695
  values[valuesById[0] = "SUBLABEL_FREE_TRIAL"] = 0;
298696
+ values[valuesById[1] = "SUBSCRIPTION_LABELS_FIRST_SUBSCRIPTION"] = 1;
298655
298697
  return values;
298656
298698
  })();
298657
298699
 
@@ -304763,43 +304805,43 @@ $root.UserDeletionRevoked = (function() {
304763
304805
  return UserDeletionRevoked;
304764
304806
  })();
304765
304807
 
304766
- $root.UserAppleHealthConnectionSettingUpdated = (function() {
304808
+ $root.UserConnectedDeviceSettingUpdated = (function() {
304767
304809
 
304768
304810
  /**
304769
- * Properties of a UserAppleHealthConnectionSettingUpdated.
304770
- * @typedef {Object} UserAppleHealthConnectionSettingUpdated.$Properties
304771
- * @property {string|null} [hsUserId] UserAppleHealthConnectionSettingUpdated hsUserId
304772
- * @property {string|null} [settingValue] UserAppleHealthConnectionSettingUpdated settingValue
304773
- * @property {number|Long|null} [updatedAt] UserAppleHealthConnectionSettingUpdated updatedAt
304774
- * @property {string|null} [source] UserAppleHealthConnectionSettingUpdated source
304811
+ * Properties of a UserConnectedDeviceSettingUpdated.
304812
+ * @typedef {Object} UserConnectedDeviceSettingUpdated.$Properties
304813
+ * @property {string|null} [hsUserId] UserConnectedDeviceSettingUpdated hsUserId
304814
+ * @property {string|null} [settingValue] UserConnectedDeviceSettingUpdated settingValue
304815
+ * @property {number|Long|null} [updatedAt] UserConnectedDeviceSettingUpdated updatedAt
304816
+ * @property {string|null} [source] UserConnectedDeviceSettingUpdated source
304775
304817
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
304776
304818
  */
304777
304819
 
304778
304820
  /**
304779
- * Properties of a UserAppleHealthConnectionSettingUpdated.
304780
- * @name IUserAppleHealthConnectionSettingUpdated
304781
- * @interface IUserAppleHealthConnectionSettingUpdated
304782
- * @augments UserAppleHealthConnectionSettingUpdated.$Properties
304783
- * @deprecated Use UserAppleHealthConnectionSettingUpdated.$Properties instead.
304821
+ * Properties of a UserConnectedDeviceSettingUpdated.
304822
+ * @name IUserConnectedDeviceSettingUpdated
304823
+ * @interface IUserConnectedDeviceSettingUpdated
304824
+ * @augments UserConnectedDeviceSettingUpdated.$Properties
304825
+ * @deprecated Use UserConnectedDeviceSettingUpdated.$Properties instead.
304784
304826
  */
304785
304827
 
304786
304828
  /**
304787
- * Shape of a UserAppleHealthConnectionSettingUpdated.
304788
- * @typedef {UserAppleHealthConnectionSettingUpdated.$Properties} UserAppleHealthConnectionSettingUpdated.$Shape
304829
+ * Shape of a UserConnectedDeviceSettingUpdated.
304830
+ * @typedef {UserConnectedDeviceSettingUpdated.$Properties} UserConnectedDeviceSettingUpdated.$Shape
304789
304831
  */
304790
304832
 
304791
304833
  /**
304792
- * Constructs a new UserAppleHealthConnectionSettingUpdated.
304793
- * @name UserAppleHealthConnectionSettingUpdated
304794
- * @classdesc Sent when a user's Apple Health connection setting is updated.
304834
+ * Constructs a new UserConnectedDeviceSettingUpdated.
304835
+ * @name UserConnectedDeviceSettingUpdated
304836
+ * @classdesc Sent when a user's connected device setting is updated.
304795
304837
  * Responsible team: Consumer Growth
304796
304838
  *
304797
304839
  * @example User links their Apple Health, transitioning the setting from "pending" to "active".
304798
304840
  * @constructor
304799
- * @param {UserAppleHealthConnectionSettingUpdated.$Properties=} [properties] Properties to set
304841
+ * @param {UserConnectedDeviceSettingUpdated.$Properties=} [properties] Properties to set
304800
304842
  * @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
304801
304843
  */
304802
- function UserAppleHealthConnectionSettingUpdated(properties) {
304844
+ function UserConnectedDeviceSettingUpdated(properties) {
304803
304845
  if (properties)
304804
304846
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
304805
304847
  if (properties[keys[i]] != null && keys[i] !== "__proto__")
@@ -304807,63 +304849,63 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
304807
304849
  }
304808
304850
 
304809
304851
  /**
304810
- * UserAppleHealthConnectionSettingUpdated hsUserId.
304852
+ * UserConnectedDeviceSettingUpdated hsUserId.
304811
304853
  * @member {string} hsUserId
304812
- * @memberof UserAppleHealthConnectionSettingUpdated
304854
+ * @memberof UserConnectedDeviceSettingUpdated
304813
304855
  * @instance
304814
304856
  */
304815
- UserAppleHealthConnectionSettingUpdated.prototype.hsUserId = "";
304857
+ UserConnectedDeviceSettingUpdated.prototype.hsUserId = "";
304816
304858
 
304817
304859
  /**
304818
- * UserAppleHealthConnectionSettingUpdated settingValue.
304860
+ * UserConnectedDeviceSettingUpdated settingValue.
304819
304861
  * @member {string} settingValue
304820
- * @memberof UserAppleHealthConnectionSettingUpdated
304862
+ * @memberof UserConnectedDeviceSettingUpdated
304821
304863
  * @instance
304822
304864
  */
304823
- UserAppleHealthConnectionSettingUpdated.prototype.settingValue = "";
304865
+ UserConnectedDeviceSettingUpdated.prototype.settingValue = "";
304824
304866
 
304825
304867
  /**
304826
- * UserAppleHealthConnectionSettingUpdated updatedAt.
304868
+ * UserConnectedDeviceSettingUpdated updatedAt.
304827
304869
  * @member {number|Long} updatedAt
304828
- * @memberof UserAppleHealthConnectionSettingUpdated
304870
+ * @memberof UserConnectedDeviceSettingUpdated
304829
304871
  * @instance
304830
304872
  */
304831
- UserAppleHealthConnectionSettingUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
304873
+ UserConnectedDeviceSettingUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
304832
304874
 
304833
304875
  /**
304834
- * UserAppleHealthConnectionSettingUpdated source.
304876
+ * UserConnectedDeviceSettingUpdated source.
304835
304877
  * @member {string} source
304836
- * @memberof UserAppleHealthConnectionSettingUpdated
304878
+ * @memberof UserConnectedDeviceSettingUpdated
304837
304879
  * @instance
304838
304880
  */
304839
- UserAppleHealthConnectionSettingUpdated.prototype.source = "";
304881
+ UserConnectedDeviceSettingUpdated.prototype.source = "";
304840
304882
 
304841
304883
  /**
304842
- * Creates a new UserAppleHealthConnectionSettingUpdated instance using the specified properties.
304884
+ * Creates a new UserConnectedDeviceSettingUpdated instance using the specified properties.
304843
304885
  * @function create
304844
- * @memberof UserAppleHealthConnectionSettingUpdated
304886
+ * @memberof UserConnectedDeviceSettingUpdated
304845
304887
  * @static
304846
- * @param {UserAppleHealthConnectionSettingUpdated.$Properties=} [properties] Properties to set
304847
- * @returns {UserAppleHealthConnectionSettingUpdated} UserAppleHealthConnectionSettingUpdated instance
304888
+ * @param {UserConnectedDeviceSettingUpdated.$Properties=} [properties] Properties to set
304889
+ * @returns {UserConnectedDeviceSettingUpdated} UserConnectedDeviceSettingUpdated instance
304848
304890
  * @type {{
304849
- * (properties: UserAppleHealthConnectionSettingUpdated.$Shape): UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape;
304850
- * (properties?: UserAppleHealthConnectionSettingUpdated.$Properties): UserAppleHealthConnectionSettingUpdated;
304891
+ * (properties: UserConnectedDeviceSettingUpdated.$Shape): UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape;
304892
+ * (properties?: UserConnectedDeviceSettingUpdated.$Properties): UserConnectedDeviceSettingUpdated;
304851
304893
  * }}
304852
304894
  */
304853
- UserAppleHealthConnectionSettingUpdated.create = function create(properties) {
304854
- return new UserAppleHealthConnectionSettingUpdated(properties);
304895
+ UserConnectedDeviceSettingUpdated.create = function create(properties) {
304896
+ return new UserConnectedDeviceSettingUpdated(properties);
304855
304897
  };
304856
304898
 
304857
304899
  /**
304858
- * Encodes the specified UserAppleHealthConnectionSettingUpdated message. Does not implicitly {@link UserAppleHealthConnectionSettingUpdated.verify|verify} messages.
304900
+ * Encodes the specified UserConnectedDeviceSettingUpdated message. Does not implicitly {@link UserConnectedDeviceSettingUpdated.verify|verify} messages.
304859
304901
  * @function encode
304860
- * @memberof UserAppleHealthConnectionSettingUpdated
304902
+ * @memberof UserConnectedDeviceSettingUpdated
304861
304903
  * @static
304862
- * @param {UserAppleHealthConnectionSettingUpdated.$Properties} message UserAppleHealthConnectionSettingUpdated message or plain object to encode
304904
+ * @param {UserConnectedDeviceSettingUpdated.$Properties} message UserConnectedDeviceSettingUpdated message or plain object to encode
304863
304905
  * @param {$protobuf.Writer} [writer] Writer to encode to
304864
304906
  * @returns {$protobuf.Writer} Writer
304865
304907
  */
304866
- UserAppleHealthConnectionSettingUpdated.encode = function encode(message, writer) {
304908
+ UserConnectedDeviceSettingUpdated.encode = function encode(message, writer) {
304867
304909
  if (!writer)
304868
304910
  writer = $Writer.create();
304869
304911
  if (message.hsUserId != null && Object.hasOwnProperty.call(message, "hsUserId"))
@@ -304881,37 +304923,37 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
304881
304923
  };
304882
304924
 
304883
304925
  /**
304884
- * Encodes the specified UserAppleHealthConnectionSettingUpdated message, length delimited. Does not implicitly {@link UserAppleHealthConnectionSettingUpdated.verify|verify} messages.
304926
+ * Encodes the specified UserConnectedDeviceSettingUpdated message, length delimited. Does not implicitly {@link UserConnectedDeviceSettingUpdated.verify|verify} messages.
304885
304927
  * @function encodeDelimited
304886
- * @memberof UserAppleHealthConnectionSettingUpdated
304928
+ * @memberof UserConnectedDeviceSettingUpdated
304887
304929
  * @static
304888
- * @param {UserAppleHealthConnectionSettingUpdated.$Properties} message UserAppleHealthConnectionSettingUpdated message or plain object to encode
304930
+ * @param {UserConnectedDeviceSettingUpdated.$Properties} message UserConnectedDeviceSettingUpdated message or plain object to encode
304889
304931
  * @param {$protobuf.Writer} [writer] Writer to encode to
304890
304932
  * @returns {$protobuf.Writer} Writer
304891
304933
  */
304892
- UserAppleHealthConnectionSettingUpdated.encodeDelimited = function encodeDelimited(message, writer) {
304934
+ UserConnectedDeviceSettingUpdated.encodeDelimited = function encodeDelimited(message, writer) {
304893
304935
  return this.encode(message, writer).ldelim();
304894
304936
  };
304895
304937
 
304896
304938
  /**
304897
- * Decodes a UserAppleHealthConnectionSettingUpdated message from the specified reader or buffer.
304939
+ * Decodes a UserConnectedDeviceSettingUpdated message from the specified reader or buffer.
304898
304940
  * @function decode
304899
- * @memberof UserAppleHealthConnectionSettingUpdated
304941
+ * @memberof UserConnectedDeviceSettingUpdated
304900
304942
  * @static
304901
304943
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
304902
304944
  * @param {number} [length] Message length if known beforehand
304903
- * @returns {UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape} UserAppleHealthConnectionSettingUpdated
304945
+ * @returns {UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape} UserConnectedDeviceSettingUpdated
304904
304946
  * @throws {Error} If the payload is not a reader or valid buffer
304905
304947
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
304906
304948
  */
304907
- UserAppleHealthConnectionSettingUpdated.decode = function decode(reader, length, _end, _depth, _target) {
304949
+ UserConnectedDeviceSettingUpdated.decode = function decode(reader, length, _end, _depth, _target) {
304908
304950
  if (!(reader instanceof $Reader))
304909
304951
  reader = $Reader.create(reader);
304910
304952
  if (_depth === undefined)
304911
304953
  _depth = 0;
304912
304954
  if (_depth > $Reader.recursionLimit)
304913
304955
  throw Error("max depth exceeded");
304914
- var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.UserAppleHealthConnectionSettingUpdated(), value;
304956
+ var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.UserConnectedDeviceSettingUpdated(), value;
304915
304957
  while (reader.pos < end) {
304916
304958
  var start = reader.pos;
304917
304959
  var tag = reader.tag();
@@ -304968,30 +305010,30 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
304968
305010
  };
304969
305011
 
304970
305012
  /**
304971
- * Decodes a UserAppleHealthConnectionSettingUpdated message from the specified reader or buffer, length delimited.
305013
+ * Decodes a UserConnectedDeviceSettingUpdated message from the specified reader or buffer, length delimited.
304972
305014
  * @function decodeDelimited
304973
- * @memberof UserAppleHealthConnectionSettingUpdated
305015
+ * @memberof UserConnectedDeviceSettingUpdated
304974
305016
  * @static
304975
305017
  * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
304976
- * @returns {UserAppleHealthConnectionSettingUpdated & UserAppleHealthConnectionSettingUpdated.$Shape} UserAppleHealthConnectionSettingUpdated
305018
+ * @returns {UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape} UserConnectedDeviceSettingUpdated
304977
305019
  * @throws {Error} If the payload is not a reader or valid buffer
304978
305020
  * @throws {$protobuf.util.ProtocolError} If required fields are missing
304979
305021
  */
304980
- UserAppleHealthConnectionSettingUpdated.decodeDelimited = function decodeDelimited(reader) {
305022
+ UserConnectedDeviceSettingUpdated.decodeDelimited = function decodeDelimited(reader) {
304981
305023
  if (!(reader instanceof $Reader))
304982
305024
  reader = new $Reader(reader);
304983
305025
  return this.decode(reader, reader.uint32());
304984
305026
  };
304985
305027
 
304986
305028
  /**
304987
- * Verifies a UserAppleHealthConnectionSettingUpdated message.
305029
+ * Verifies a UserConnectedDeviceSettingUpdated message.
304988
305030
  * @function verify
304989
- * @memberof UserAppleHealthConnectionSettingUpdated
305031
+ * @memberof UserConnectedDeviceSettingUpdated
304990
305032
  * @static
304991
305033
  * @param {Object.<string,*>} message Plain object to verify
304992
305034
  * @returns {string|null} `null` if valid, otherwise the reason why it is not
304993
305035
  */
304994
- UserAppleHealthConnectionSettingUpdated.verify = function verify(message, _depth) {
305036
+ UserConnectedDeviceSettingUpdated.verify = function verify(message, _depth) {
304995
305037
  if (typeof message !== "object" || message === null)
304996
305038
  return "object expected";
304997
305039
  if (_depth === undefined)
@@ -305014,21 +305056,21 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
305014
305056
  };
305015
305057
 
305016
305058
  /**
305017
- * Creates a UserAppleHealthConnectionSettingUpdated message from a plain object. Also converts values to their respective internal types.
305059
+ * Creates a UserConnectedDeviceSettingUpdated message from a plain object. Also converts values to their respective internal types.
305018
305060
  * @function fromObject
305019
- * @memberof UserAppleHealthConnectionSettingUpdated
305061
+ * @memberof UserConnectedDeviceSettingUpdated
305020
305062
  * @static
305021
305063
  * @param {Object.<string,*>} object Plain object
305022
- * @returns {UserAppleHealthConnectionSettingUpdated} UserAppleHealthConnectionSettingUpdated
305064
+ * @returns {UserConnectedDeviceSettingUpdated} UserConnectedDeviceSettingUpdated
305023
305065
  */
305024
- UserAppleHealthConnectionSettingUpdated.fromObject = function fromObject(object, _depth) {
305025
- if (object instanceof $root.UserAppleHealthConnectionSettingUpdated)
305066
+ UserConnectedDeviceSettingUpdated.fromObject = function fromObject(object, _depth) {
305067
+ if (object instanceof $root.UserConnectedDeviceSettingUpdated)
305026
305068
  return object;
305027
305069
  if (_depth === undefined)
305028
305070
  _depth = 0;
305029
305071
  if (_depth > $util.recursionLimit)
305030
305072
  throw Error("max depth exceeded");
305031
- var message = new $root.UserAppleHealthConnectionSettingUpdated();
305073
+ var message = new $root.UserConnectedDeviceSettingUpdated();
305032
305074
  if (object.hsUserId != null)
305033
305075
  if (typeof object.hsUserId !== "string" || object.hsUserId.length)
305034
305076
  message.hsUserId = String(object.hsUserId);
@@ -305052,15 +305094,15 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
305052
305094
  };
305053
305095
 
305054
305096
  /**
305055
- * Creates a plain object from a UserAppleHealthConnectionSettingUpdated message. Also converts values to other types if specified.
305097
+ * Creates a plain object from a UserConnectedDeviceSettingUpdated message. Also converts values to other types if specified.
305056
305098
  * @function toObject
305057
- * @memberof UserAppleHealthConnectionSettingUpdated
305099
+ * @memberof UserConnectedDeviceSettingUpdated
305058
305100
  * @static
305059
- * @param {UserAppleHealthConnectionSettingUpdated} message UserAppleHealthConnectionSettingUpdated
305101
+ * @param {UserConnectedDeviceSettingUpdated} message UserConnectedDeviceSettingUpdated
305060
305102
  * @param {$protobuf.IConversionOptions} [options] Conversion options
305061
305103
  * @returns {Object.<string,*>} Plain object
305062
305104
  */
305063
- UserAppleHealthConnectionSettingUpdated.toObject = function toObject(message, options) {
305105
+ UserConnectedDeviceSettingUpdated.toObject = function toObject(message, options) {
305064
305106
  if (!options)
305065
305107
  options = {};
305066
305108
  var object = {};
@@ -305091,31 +305133,31 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
305091
305133
  };
305092
305134
 
305093
305135
  /**
305094
- * Converts this UserAppleHealthConnectionSettingUpdated to JSON.
305136
+ * Converts this UserConnectedDeviceSettingUpdated to JSON.
305095
305137
  * @function toJSON
305096
- * @memberof UserAppleHealthConnectionSettingUpdated
305138
+ * @memberof UserConnectedDeviceSettingUpdated
305097
305139
  * @instance
305098
305140
  * @returns {Object.<string,*>} JSON object
305099
305141
  */
305100
- UserAppleHealthConnectionSettingUpdated.prototype.toJSON = function toJSON() {
305142
+ UserConnectedDeviceSettingUpdated.prototype.toJSON = function toJSON() {
305101
305143
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
305102
305144
  };
305103
305145
 
305104
305146
  /**
305105
- * Gets the type url for UserAppleHealthConnectionSettingUpdated
305147
+ * Gets the type url for UserConnectedDeviceSettingUpdated
305106
305148
  * @function getTypeUrl
305107
- * @memberof UserAppleHealthConnectionSettingUpdated
305149
+ * @memberof UserConnectedDeviceSettingUpdated
305108
305150
  * @static
305109
305151
  * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
305110
305152
  * @returns {string} The type url
305111
305153
  */
305112
- UserAppleHealthConnectionSettingUpdated.getTypeUrl = function getTypeUrl(prefix) {
305154
+ UserConnectedDeviceSettingUpdated.getTypeUrl = function getTypeUrl(prefix) {
305113
305155
  if (prefix === undefined)
305114
305156
  prefix = "type.googleapis.com";
305115
- return prefix + "/UserAppleHealthConnectionSettingUpdated";
305157
+ return prefix + "/UserConnectedDeviceSettingUpdated";
305116
305158
  };
305117
305159
 
305118
- return UserAppleHealthConnectionSettingUpdated;
305160
+ return UserConnectedDeviceSettingUpdated;
305119
305161
  })();
305120
305162
 
305121
305163
  /**
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.813.0"
19
+ "version": "1.815.0"
20
20
  }