@headspace/protos-events 1.813.0 → 1.814.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 +44 -44
- package/lib/index.js +77 -77
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -104055,142 +104055,142 @@ export namespace UserDeletionRevoked {
|
|
|
104055
104055
|
}
|
|
104056
104056
|
|
|
104057
104057
|
/**
|
|
104058
|
-
* Properties of a
|
|
104059
|
-
* @deprecated Use
|
|
104058
|
+
* Properties of a UserConnectedDeviceSettingUpdated.
|
|
104059
|
+
* @deprecated Use UserConnectedDeviceSettingUpdated.$Properties instead.
|
|
104060
104060
|
*/
|
|
104061
|
-
export interface
|
|
104061
|
+
export interface IUserConnectedDeviceSettingUpdated extends UserConnectedDeviceSettingUpdated.$Properties {
|
|
104062
104062
|
}
|
|
104063
104063
|
|
|
104064
104064
|
/**
|
|
104065
|
-
* Sent when a user's
|
|
104065
|
+
* Sent when a user's connected device setting is updated.
|
|
104066
104066
|
* Responsible team: Consumer Growth
|
|
104067
104067
|
*
|
|
104068
104068
|
*/
|
|
104069
|
-
export class
|
|
104069
|
+
export class UserConnectedDeviceSettingUpdated {
|
|
104070
104070
|
|
|
104071
104071
|
/**
|
|
104072
|
-
* Constructs a new
|
|
104072
|
+
* Constructs a new UserConnectedDeviceSettingUpdated.
|
|
104073
104073
|
* @param [properties] Properties to set
|
|
104074
104074
|
*/
|
|
104075
|
-
constructor(properties?:
|
|
104075
|
+
constructor(properties?: UserConnectedDeviceSettingUpdated.$Properties);
|
|
104076
104076
|
|
|
104077
104077
|
/** Unknown fields preserved while decoding */
|
|
104078
104078
|
$unknowns?: Uint8Array[];
|
|
104079
104079
|
|
|
104080
|
-
/**
|
|
104080
|
+
/** UserConnectedDeviceSettingUpdated hsUserId. */
|
|
104081
104081
|
hsUserId: string;
|
|
104082
104082
|
|
|
104083
|
-
/**
|
|
104083
|
+
/** UserConnectedDeviceSettingUpdated settingValue. */
|
|
104084
104084
|
settingValue: string;
|
|
104085
104085
|
|
|
104086
|
-
/**
|
|
104086
|
+
/** UserConnectedDeviceSettingUpdated updatedAt. */
|
|
104087
104087
|
updatedAt: (number|Long);
|
|
104088
104088
|
|
|
104089
|
-
/**
|
|
104089
|
+
/** UserConnectedDeviceSettingUpdated source. */
|
|
104090
104090
|
source: string;
|
|
104091
104091
|
|
|
104092
104092
|
/**
|
|
104093
|
-
* Creates a new
|
|
104093
|
+
* Creates a new UserConnectedDeviceSettingUpdated instance using the specified properties.
|
|
104094
104094
|
* @param [properties] Properties to set
|
|
104095
|
-
* @returns
|
|
104095
|
+
* @returns UserConnectedDeviceSettingUpdated instance
|
|
104096
104096
|
*/
|
|
104097
|
-
static create(properties:
|
|
104098
|
-
static create(properties?:
|
|
104097
|
+
static create(properties: UserConnectedDeviceSettingUpdated.$Shape): UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape;
|
|
104098
|
+
static create(properties?: UserConnectedDeviceSettingUpdated.$Properties): UserConnectedDeviceSettingUpdated;
|
|
104099
104099
|
|
|
104100
104100
|
/**
|
|
104101
|
-
* Encodes the specified
|
|
104102
|
-
* @param message
|
|
104101
|
+
* Encodes the specified UserConnectedDeviceSettingUpdated message. Does not implicitly {@link UserConnectedDeviceSettingUpdated.verify|verify} messages.
|
|
104102
|
+
* @param message UserConnectedDeviceSettingUpdated message or plain object to encode
|
|
104103
104103
|
* @param [writer] Writer to encode to
|
|
104104
104104
|
* @returns Writer
|
|
104105
104105
|
*/
|
|
104106
|
-
static encode(message:
|
|
104106
|
+
static encode(message: UserConnectedDeviceSettingUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
104107
104107
|
|
|
104108
104108
|
/**
|
|
104109
|
-
* Encodes the specified
|
|
104110
|
-
* @param message
|
|
104109
|
+
* Encodes the specified UserConnectedDeviceSettingUpdated message, length delimited. Does not implicitly {@link UserConnectedDeviceSettingUpdated.verify|verify} messages.
|
|
104110
|
+
* @param message UserConnectedDeviceSettingUpdated message or plain object to encode
|
|
104111
104111
|
* @param [writer] Writer to encode to
|
|
104112
104112
|
* @returns Writer
|
|
104113
104113
|
*/
|
|
104114
|
-
static encodeDelimited(message:
|
|
104114
|
+
static encodeDelimited(message: UserConnectedDeviceSettingUpdated.$Properties, writer?: $protobuf.Writer): $protobuf.Writer;
|
|
104115
104115
|
|
|
104116
104116
|
/**
|
|
104117
|
-
* Decodes a
|
|
104117
|
+
* Decodes a UserConnectedDeviceSettingUpdated message from the specified reader or buffer.
|
|
104118
104118
|
* @param reader Reader or buffer to decode from
|
|
104119
104119
|
* @param [length] Message length if known beforehand
|
|
104120
|
-
* @returns {
|
|
104120
|
+
* @returns {UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape} UserConnectedDeviceSettingUpdated
|
|
104121
104121
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
104122
104122
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
104123
104123
|
*/
|
|
104124
|
-
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number):
|
|
104124
|
+
static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape;
|
|
104125
104125
|
|
|
104126
104126
|
/**
|
|
104127
|
-
* Decodes a
|
|
104127
|
+
* Decodes a UserConnectedDeviceSettingUpdated message from the specified reader or buffer, length delimited.
|
|
104128
104128
|
* @param reader Reader or buffer to decode from
|
|
104129
|
-
* @returns {
|
|
104129
|
+
* @returns {UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape} UserConnectedDeviceSettingUpdated
|
|
104130
104130
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
104131
104131
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
104132
104132
|
*/
|
|
104133
|
-
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)):
|
|
104133
|
+
static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape;
|
|
104134
104134
|
|
|
104135
104135
|
/**
|
|
104136
|
-
* Verifies a
|
|
104136
|
+
* Verifies a UserConnectedDeviceSettingUpdated message.
|
|
104137
104137
|
* @param message Plain object to verify
|
|
104138
104138
|
* @returns `null` if valid, otherwise the reason why it is not
|
|
104139
104139
|
*/
|
|
104140
104140
|
static verify(message: { [k: string]: any }): (string|null);
|
|
104141
104141
|
|
|
104142
104142
|
/**
|
|
104143
|
-
* Creates a
|
|
104143
|
+
* Creates a UserConnectedDeviceSettingUpdated message from a plain object. Also converts values to their respective internal types.
|
|
104144
104144
|
* @param object Plain object
|
|
104145
|
-
* @returns
|
|
104145
|
+
* @returns UserConnectedDeviceSettingUpdated
|
|
104146
104146
|
*/
|
|
104147
|
-
static fromObject(object: { [k: string]: any }):
|
|
104147
|
+
static fromObject(object: { [k: string]: any }): UserConnectedDeviceSettingUpdated;
|
|
104148
104148
|
|
|
104149
104149
|
/**
|
|
104150
|
-
* Creates a plain object from a
|
|
104151
|
-
* @param message
|
|
104150
|
+
* Creates a plain object from a UserConnectedDeviceSettingUpdated message. Also converts values to other types if specified.
|
|
104151
|
+
* @param message UserConnectedDeviceSettingUpdated
|
|
104152
104152
|
* @param [options] Conversion options
|
|
104153
104153
|
* @returns Plain object
|
|
104154
104154
|
*/
|
|
104155
|
-
static toObject(message:
|
|
104155
|
+
static toObject(message: UserConnectedDeviceSettingUpdated, options?: $protobuf.IConversionOptions): { [k: string]: any };
|
|
104156
104156
|
|
|
104157
104157
|
/**
|
|
104158
|
-
* Converts this
|
|
104158
|
+
* Converts this UserConnectedDeviceSettingUpdated to JSON.
|
|
104159
104159
|
* @returns JSON object
|
|
104160
104160
|
*/
|
|
104161
104161
|
toJSON(): { [k: string]: any };
|
|
104162
104162
|
|
|
104163
104163
|
/**
|
|
104164
|
-
* Gets the type url for
|
|
104164
|
+
* Gets the type url for UserConnectedDeviceSettingUpdated
|
|
104165
104165
|
* @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
104166
104166
|
* @returns The type url
|
|
104167
104167
|
*/
|
|
104168
104168
|
static getTypeUrl(prefix?: string): string;
|
|
104169
104169
|
}
|
|
104170
104170
|
|
|
104171
|
-
export namespace
|
|
104171
|
+
export namespace UserConnectedDeviceSettingUpdated {
|
|
104172
104172
|
|
|
104173
|
-
/** Properties of a
|
|
104173
|
+
/** Properties of a UserConnectedDeviceSettingUpdated. */
|
|
104174
104174
|
interface $Properties {
|
|
104175
104175
|
|
|
104176
|
-
/**
|
|
104176
|
+
/** UserConnectedDeviceSettingUpdated hsUserId */
|
|
104177
104177
|
hsUserId?: (string|null);
|
|
104178
104178
|
|
|
104179
|
-
/**
|
|
104179
|
+
/** UserConnectedDeviceSettingUpdated settingValue */
|
|
104180
104180
|
settingValue?: (string|null);
|
|
104181
104181
|
|
|
104182
|
-
/**
|
|
104182
|
+
/** UserConnectedDeviceSettingUpdated updatedAt */
|
|
104183
104183
|
updatedAt?: (number|Long|null);
|
|
104184
104184
|
|
|
104185
|
-
/**
|
|
104185
|
+
/** UserConnectedDeviceSettingUpdated source */
|
|
104186
104186
|
source?: (string|null);
|
|
104187
104187
|
|
|
104188
104188
|
/** Unknown fields preserved while decoding */
|
|
104189
104189
|
$unknowns?: Uint8Array[];
|
|
104190
104190
|
}
|
|
104191
104191
|
|
|
104192
|
-
/** Shape of a
|
|
104193
|
-
type $Shape =
|
|
104192
|
+
/** Shape of a UserConnectedDeviceSettingUpdated. */
|
|
104193
|
+
type $Shape = UserConnectedDeviceSettingUpdated.$Properties;
|
|
104194
104194
|
}
|
|
104195
104195
|
|
|
104196
104196
|
/**
|
package/lib/index.js
CHANGED
|
@@ -304763,43 +304763,43 @@ $root.UserDeletionRevoked = (function() {
|
|
|
304763
304763
|
return UserDeletionRevoked;
|
|
304764
304764
|
})();
|
|
304765
304765
|
|
|
304766
|
-
$root.
|
|
304766
|
+
$root.UserConnectedDeviceSettingUpdated = (function() {
|
|
304767
304767
|
|
|
304768
304768
|
/**
|
|
304769
|
-
* Properties of a
|
|
304770
|
-
* @typedef {Object}
|
|
304771
|
-
* @property {string|null} [hsUserId]
|
|
304772
|
-
* @property {string|null} [settingValue]
|
|
304773
|
-
* @property {number|Long|null} [updatedAt]
|
|
304774
|
-
* @property {string|null} [source]
|
|
304769
|
+
* Properties of a UserConnectedDeviceSettingUpdated.
|
|
304770
|
+
* @typedef {Object} UserConnectedDeviceSettingUpdated.$Properties
|
|
304771
|
+
* @property {string|null} [hsUserId] UserConnectedDeviceSettingUpdated hsUserId
|
|
304772
|
+
* @property {string|null} [settingValue] UserConnectedDeviceSettingUpdated settingValue
|
|
304773
|
+
* @property {number|Long|null} [updatedAt] UserConnectedDeviceSettingUpdated updatedAt
|
|
304774
|
+
* @property {string|null} [source] UserConnectedDeviceSettingUpdated source
|
|
304775
304775
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
|
|
304776
304776
|
*/
|
|
304777
304777
|
|
|
304778
304778
|
/**
|
|
304779
|
-
* Properties of a
|
|
304780
|
-
* @name
|
|
304781
|
-
* @interface
|
|
304782
|
-
* @augments
|
|
304783
|
-
* @deprecated Use
|
|
304779
|
+
* Properties of a UserConnectedDeviceSettingUpdated.
|
|
304780
|
+
* @name IUserConnectedDeviceSettingUpdated
|
|
304781
|
+
* @interface IUserConnectedDeviceSettingUpdated
|
|
304782
|
+
* @augments UserConnectedDeviceSettingUpdated.$Properties
|
|
304783
|
+
* @deprecated Use UserConnectedDeviceSettingUpdated.$Properties instead.
|
|
304784
304784
|
*/
|
|
304785
304785
|
|
|
304786
304786
|
/**
|
|
304787
|
-
* Shape of a
|
|
304788
|
-
* @typedef {
|
|
304787
|
+
* Shape of a UserConnectedDeviceSettingUpdated.
|
|
304788
|
+
* @typedef {UserConnectedDeviceSettingUpdated.$Properties} UserConnectedDeviceSettingUpdated.$Shape
|
|
304789
304789
|
*/
|
|
304790
304790
|
|
|
304791
304791
|
/**
|
|
304792
|
-
* Constructs a new
|
|
304793
|
-
* @name
|
|
304794
|
-
* @classdesc Sent when a user's
|
|
304792
|
+
* Constructs a new UserConnectedDeviceSettingUpdated.
|
|
304793
|
+
* @name UserConnectedDeviceSettingUpdated
|
|
304794
|
+
* @classdesc Sent when a user's connected device setting is updated.
|
|
304795
304795
|
* Responsible team: Consumer Growth
|
|
304796
304796
|
*
|
|
304797
304797
|
* @example User links their Apple Health, transitioning the setting from "pending" to "active".
|
|
304798
304798
|
* @constructor
|
|
304799
|
-
* @param {
|
|
304799
|
+
* @param {UserConnectedDeviceSettingUpdated.$Properties=} [properties] Properties to set
|
|
304800
304800
|
* @property {Array.<Uint8Array>} [$unknowns] Unknown fields preserved while decoding
|
|
304801
304801
|
*/
|
|
304802
|
-
function
|
|
304802
|
+
function UserConnectedDeviceSettingUpdated(properties) {
|
|
304803
304803
|
if (properties)
|
|
304804
304804
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
304805
304805
|
if (properties[keys[i]] != null && keys[i] !== "__proto__")
|
|
@@ -304807,63 +304807,63 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
304807
304807
|
}
|
|
304808
304808
|
|
|
304809
304809
|
/**
|
|
304810
|
-
*
|
|
304810
|
+
* UserConnectedDeviceSettingUpdated hsUserId.
|
|
304811
304811
|
* @member {string} hsUserId
|
|
304812
|
-
* @memberof
|
|
304812
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304813
304813
|
* @instance
|
|
304814
304814
|
*/
|
|
304815
|
-
|
|
304815
|
+
UserConnectedDeviceSettingUpdated.prototype.hsUserId = "";
|
|
304816
304816
|
|
|
304817
304817
|
/**
|
|
304818
|
-
*
|
|
304818
|
+
* UserConnectedDeviceSettingUpdated settingValue.
|
|
304819
304819
|
* @member {string} settingValue
|
|
304820
|
-
* @memberof
|
|
304820
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304821
304821
|
* @instance
|
|
304822
304822
|
*/
|
|
304823
|
-
|
|
304823
|
+
UserConnectedDeviceSettingUpdated.prototype.settingValue = "";
|
|
304824
304824
|
|
|
304825
304825
|
/**
|
|
304826
|
-
*
|
|
304826
|
+
* UserConnectedDeviceSettingUpdated updatedAt.
|
|
304827
304827
|
* @member {number|Long} updatedAt
|
|
304828
|
-
* @memberof
|
|
304828
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304829
304829
|
* @instance
|
|
304830
304830
|
*/
|
|
304831
|
-
|
|
304831
|
+
UserConnectedDeviceSettingUpdated.prototype.updatedAt = $util.Long ? $util.Long.fromBits(0,0,true) : 0;
|
|
304832
304832
|
|
|
304833
304833
|
/**
|
|
304834
|
-
*
|
|
304834
|
+
* UserConnectedDeviceSettingUpdated source.
|
|
304835
304835
|
* @member {string} source
|
|
304836
|
-
* @memberof
|
|
304836
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304837
304837
|
* @instance
|
|
304838
304838
|
*/
|
|
304839
|
-
|
|
304839
|
+
UserConnectedDeviceSettingUpdated.prototype.source = "";
|
|
304840
304840
|
|
|
304841
304841
|
/**
|
|
304842
|
-
* Creates a new
|
|
304842
|
+
* Creates a new UserConnectedDeviceSettingUpdated instance using the specified properties.
|
|
304843
304843
|
* @function create
|
|
304844
|
-
* @memberof
|
|
304844
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304845
304845
|
* @static
|
|
304846
|
-
* @param {
|
|
304847
|
-
* @returns {
|
|
304846
|
+
* @param {UserConnectedDeviceSettingUpdated.$Properties=} [properties] Properties to set
|
|
304847
|
+
* @returns {UserConnectedDeviceSettingUpdated} UserConnectedDeviceSettingUpdated instance
|
|
304848
304848
|
* @type {{
|
|
304849
|
-
* (properties:
|
|
304850
|
-
* (properties?:
|
|
304849
|
+
* (properties: UserConnectedDeviceSettingUpdated.$Shape): UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape;
|
|
304850
|
+
* (properties?: UserConnectedDeviceSettingUpdated.$Properties): UserConnectedDeviceSettingUpdated;
|
|
304851
304851
|
* }}
|
|
304852
304852
|
*/
|
|
304853
|
-
|
|
304854
|
-
return new
|
|
304853
|
+
UserConnectedDeviceSettingUpdated.create = function create(properties) {
|
|
304854
|
+
return new UserConnectedDeviceSettingUpdated(properties);
|
|
304855
304855
|
};
|
|
304856
304856
|
|
|
304857
304857
|
/**
|
|
304858
|
-
* Encodes the specified
|
|
304858
|
+
* Encodes the specified UserConnectedDeviceSettingUpdated message. Does not implicitly {@link UserConnectedDeviceSettingUpdated.verify|verify} messages.
|
|
304859
304859
|
* @function encode
|
|
304860
|
-
* @memberof
|
|
304860
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304861
304861
|
* @static
|
|
304862
|
-
* @param {
|
|
304862
|
+
* @param {UserConnectedDeviceSettingUpdated.$Properties} message UserConnectedDeviceSettingUpdated message or plain object to encode
|
|
304863
304863
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
304864
304864
|
* @returns {$protobuf.Writer} Writer
|
|
304865
304865
|
*/
|
|
304866
|
-
|
|
304866
|
+
UserConnectedDeviceSettingUpdated.encode = function encode(message, writer) {
|
|
304867
304867
|
if (!writer)
|
|
304868
304868
|
writer = $Writer.create();
|
|
304869
304869
|
if (message.hsUserId != null && Object.hasOwnProperty.call(message, "hsUserId"))
|
|
@@ -304881,37 +304881,37 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
304881
304881
|
};
|
|
304882
304882
|
|
|
304883
304883
|
/**
|
|
304884
|
-
* Encodes the specified
|
|
304884
|
+
* Encodes the specified UserConnectedDeviceSettingUpdated message, length delimited. Does not implicitly {@link UserConnectedDeviceSettingUpdated.verify|verify} messages.
|
|
304885
304885
|
* @function encodeDelimited
|
|
304886
|
-
* @memberof
|
|
304886
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304887
304887
|
* @static
|
|
304888
|
-
* @param {
|
|
304888
|
+
* @param {UserConnectedDeviceSettingUpdated.$Properties} message UserConnectedDeviceSettingUpdated message or plain object to encode
|
|
304889
304889
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
304890
304890
|
* @returns {$protobuf.Writer} Writer
|
|
304891
304891
|
*/
|
|
304892
|
-
|
|
304892
|
+
UserConnectedDeviceSettingUpdated.encodeDelimited = function encodeDelimited(message, writer) {
|
|
304893
304893
|
return this.encode(message, writer).ldelim();
|
|
304894
304894
|
};
|
|
304895
304895
|
|
|
304896
304896
|
/**
|
|
304897
|
-
* Decodes a
|
|
304897
|
+
* Decodes a UserConnectedDeviceSettingUpdated message from the specified reader or buffer.
|
|
304898
304898
|
* @function decode
|
|
304899
|
-
* @memberof
|
|
304899
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304900
304900
|
* @static
|
|
304901
304901
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
304902
304902
|
* @param {number} [length] Message length if known beforehand
|
|
304903
|
-
* @returns {
|
|
304903
|
+
* @returns {UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape} UserConnectedDeviceSettingUpdated
|
|
304904
304904
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
304905
304905
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
304906
304906
|
*/
|
|
304907
|
-
|
|
304907
|
+
UserConnectedDeviceSettingUpdated.decode = function decode(reader, length, _end, _depth, _target) {
|
|
304908
304908
|
if (!(reader instanceof $Reader))
|
|
304909
304909
|
reader = $Reader.create(reader);
|
|
304910
304910
|
if (_depth === undefined)
|
|
304911
304911
|
_depth = 0;
|
|
304912
304912
|
if (_depth > $Reader.recursionLimit)
|
|
304913
304913
|
throw Error("max depth exceeded");
|
|
304914
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.
|
|
304914
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = _target || new $root.UserConnectedDeviceSettingUpdated(), value;
|
|
304915
304915
|
while (reader.pos < end) {
|
|
304916
304916
|
var start = reader.pos;
|
|
304917
304917
|
var tag = reader.tag();
|
|
@@ -304968,30 +304968,30 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
304968
304968
|
};
|
|
304969
304969
|
|
|
304970
304970
|
/**
|
|
304971
|
-
* Decodes a
|
|
304971
|
+
* Decodes a UserConnectedDeviceSettingUpdated message from the specified reader or buffer, length delimited.
|
|
304972
304972
|
* @function decodeDelimited
|
|
304973
|
-
* @memberof
|
|
304973
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304974
304974
|
* @static
|
|
304975
304975
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
304976
|
-
* @returns {
|
|
304976
|
+
* @returns {UserConnectedDeviceSettingUpdated & UserConnectedDeviceSettingUpdated.$Shape} UserConnectedDeviceSettingUpdated
|
|
304977
304977
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
304978
304978
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
304979
304979
|
*/
|
|
304980
|
-
|
|
304980
|
+
UserConnectedDeviceSettingUpdated.decodeDelimited = function decodeDelimited(reader) {
|
|
304981
304981
|
if (!(reader instanceof $Reader))
|
|
304982
304982
|
reader = new $Reader(reader);
|
|
304983
304983
|
return this.decode(reader, reader.uint32());
|
|
304984
304984
|
};
|
|
304985
304985
|
|
|
304986
304986
|
/**
|
|
304987
|
-
* Verifies a
|
|
304987
|
+
* Verifies a UserConnectedDeviceSettingUpdated message.
|
|
304988
304988
|
* @function verify
|
|
304989
|
-
* @memberof
|
|
304989
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
304990
304990
|
* @static
|
|
304991
304991
|
* @param {Object.<string,*>} message Plain object to verify
|
|
304992
304992
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
304993
304993
|
*/
|
|
304994
|
-
|
|
304994
|
+
UserConnectedDeviceSettingUpdated.verify = function verify(message, _depth) {
|
|
304995
304995
|
if (typeof message !== "object" || message === null)
|
|
304996
304996
|
return "object expected";
|
|
304997
304997
|
if (_depth === undefined)
|
|
@@ -305014,21 +305014,21 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
305014
305014
|
};
|
|
305015
305015
|
|
|
305016
305016
|
/**
|
|
305017
|
-
* Creates a
|
|
305017
|
+
* Creates a UserConnectedDeviceSettingUpdated message from a plain object. Also converts values to their respective internal types.
|
|
305018
305018
|
* @function fromObject
|
|
305019
|
-
* @memberof
|
|
305019
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
305020
305020
|
* @static
|
|
305021
305021
|
* @param {Object.<string,*>} object Plain object
|
|
305022
|
-
* @returns {
|
|
305022
|
+
* @returns {UserConnectedDeviceSettingUpdated} UserConnectedDeviceSettingUpdated
|
|
305023
305023
|
*/
|
|
305024
|
-
|
|
305025
|
-
if (object instanceof $root.
|
|
305024
|
+
UserConnectedDeviceSettingUpdated.fromObject = function fromObject(object, _depth) {
|
|
305025
|
+
if (object instanceof $root.UserConnectedDeviceSettingUpdated)
|
|
305026
305026
|
return object;
|
|
305027
305027
|
if (_depth === undefined)
|
|
305028
305028
|
_depth = 0;
|
|
305029
305029
|
if (_depth > $util.recursionLimit)
|
|
305030
305030
|
throw Error("max depth exceeded");
|
|
305031
|
-
var message = new $root.
|
|
305031
|
+
var message = new $root.UserConnectedDeviceSettingUpdated();
|
|
305032
305032
|
if (object.hsUserId != null)
|
|
305033
305033
|
if (typeof object.hsUserId !== "string" || object.hsUserId.length)
|
|
305034
305034
|
message.hsUserId = String(object.hsUserId);
|
|
@@ -305052,15 +305052,15 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
305052
305052
|
};
|
|
305053
305053
|
|
|
305054
305054
|
/**
|
|
305055
|
-
* Creates a plain object from a
|
|
305055
|
+
* Creates a plain object from a UserConnectedDeviceSettingUpdated message. Also converts values to other types if specified.
|
|
305056
305056
|
* @function toObject
|
|
305057
|
-
* @memberof
|
|
305057
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
305058
305058
|
* @static
|
|
305059
|
-
* @param {
|
|
305059
|
+
* @param {UserConnectedDeviceSettingUpdated} message UserConnectedDeviceSettingUpdated
|
|
305060
305060
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
305061
305061
|
* @returns {Object.<string,*>} Plain object
|
|
305062
305062
|
*/
|
|
305063
|
-
|
|
305063
|
+
UserConnectedDeviceSettingUpdated.toObject = function toObject(message, options) {
|
|
305064
305064
|
if (!options)
|
|
305065
305065
|
options = {};
|
|
305066
305066
|
var object = {};
|
|
@@ -305091,31 +305091,31 @@ $root.UserAppleHealthConnectionSettingUpdated = (function() {
|
|
|
305091
305091
|
};
|
|
305092
305092
|
|
|
305093
305093
|
/**
|
|
305094
|
-
* Converts this
|
|
305094
|
+
* Converts this UserConnectedDeviceSettingUpdated to JSON.
|
|
305095
305095
|
* @function toJSON
|
|
305096
|
-
* @memberof
|
|
305096
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
305097
305097
|
* @instance
|
|
305098
305098
|
* @returns {Object.<string,*>} JSON object
|
|
305099
305099
|
*/
|
|
305100
|
-
|
|
305100
|
+
UserConnectedDeviceSettingUpdated.prototype.toJSON = function toJSON() {
|
|
305101
305101
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
305102
305102
|
};
|
|
305103
305103
|
|
|
305104
305104
|
/**
|
|
305105
|
-
* Gets the type url for
|
|
305105
|
+
* Gets the type url for UserConnectedDeviceSettingUpdated
|
|
305106
305106
|
* @function getTypeUrl
|
|
305107
|
-
* @memberof
|
|
305107
|
+
* @memberof UserConnectedDeviceSettingUpdated
|
|
305108
305108
|
* @static
|
|
305109
305109
|
* @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"`
|
|
305110
305110
|
* @returns {string} The type url
|
|
305111
305111
|
*/
|
|
305112
|
-
|
|
305112
|
+
UserConnectedDeviceSettingUpdated.getTypeUrl = function getTypeUrl(prefix) {
|
|
305113
305113
|
if (prefix === undefined)
|
|
305114
305114
|
prefix = "type.googleapis.com";
|
|
305115
|
-
return prefix + "/
|
|
305115
|
+
return prefix + "/UserConnectedDeviceSettingUpdated";
|
|
305116
305116
|
};
|
|
305117
305117
|
|
|
305118
|
-
return
|
|
305118
|
+
return UserConnectedDeviceSettingUpdated;
|
|
305119
305119
|
})();
|
|
305120
305120
|
|
|
305121
305121
|
/**
|
package/package.json
CHANGED