@headspace/protos-events 1.71.0 → 1.72.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 +16 -12
- package/lib/index.js +59 -56
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2027,8 +2027,14 @@ export namespace userdomain {
|
|
|
2027
2027
|
/** User signupPlatform */
|
|
2028
2028
|
signupPlatform?: (userdomain.Platform|null);
|
|
2029
2029
|
|
|
2030
|
-
/** User
|
|
2031
|
-
|
|
2030
|
+
/** User facebookId */
|
|
2031
|
+
facebookId?: (string|null);
|
|
2032
|
+
|
|
2033
|
+
/** User appleId */
|
|
2034
|
+
appleId?: (string|null);
|
|
2035
|
+
|
|
2036
|
+
/** User spotifyId */
|
|
2037
|
+
spotifyId?: (string|null);
|
|
2032
2038
|
}
|
|
2033
2039
|
|
|
2034
2040
|
/** Represents a User. */
|
|
@@ -2064,8 +2070,14 @@ export namespace userdomain {
|
|
|
2064
2070
|
/** User signupPlatform. */
|
|
2065
2071
|
public signupPlatform: userdomain.Platform;
|
|
2066
2072
|
|
|
2067
|
-
/** User
|
|
2068
|
-
public
|
|
2073
|
+
/** User facebookId. */
|
|
2074
|
+
public facebookId: string;
|
|
2075
|
+
|
|
2076
|
+
/** User appleId. */
|
|
2077
|
+
public appleId: string;
|
|
2078
|
+
|
|
2079
|
+
/** User spotifyId. */
|
|
2080
|
+
public spotifyId: string;
|
|
2069
2081
|
|
|
2070
2082
|
/**
|
|
2071
2083
|
* Creates a new User instance using the specified properties.
|
|
@@ -2147,14 +2159,6 @@ export namespace userdomain {
|
|
|
2147
2159
|
ALEXA = 4,
|
|
2148
2160
|
GOOGLE_ASSISTANT = 5
|
|
2149
2161
|
}
|
|
2150
|
-
|
|
2151
|
-
/** Connection enum. */
|
|
2152
|
-
enum Connection {
|
|
2153
|
-
UNKNOWN = 0,
|
|
2154
|
-
EMAIL = 1,
|
|
2155
|
-
FACEBOOK = 2,
|
|
2156
|
-
SPOTIFY = 3
|
|
2157
|
-
}
|
|
2158
2162
|
}
|
|
2159
2163
|
|
|
2160
2164
|
/** Properties of a UserRoleUpdated. */
|
package/lib/index.js
CHANGED
|
@@ -4824,7 +4824,9 @@ $root.userdomain = (function() {
|
|
|
4824
4824
|
* @property {string|null} [countryCode] User countryCode
|
|
4825
4825
|
* @property {string|null} [stateCode] User stateCode
|
|
4826
4826
|
* @property {userdomain.Platform|null} [signupPlatform] User signupPlatform
|
|
4827
|
-
* @property {
|
|
4827
|
+
* @property {string|null} [facebookId] User facebookId
|
|
4828
|
+
* @property {string|null} [appleId] User appleId
|
|
4829
|
+
* @property {string|null} [spotifyId] User spotifyId
|
|
4828
4830
|
*/
|
|
4829
4831
|
|
|
4830
4832
|
/**
|
|
@@ -4907,12 +4909,28 @@ $root.userdomain = (function() {
|
|
|
4907
4909
|
User.prototype.signupPlatform = 0;
|
|
4908
4910
|
|
|
4909
4911
|
/**
|
|
4910
|
-
* User
|
|
4911
|
-
* @member {
|
|
4912
|
+
* User facebookId.
|
|
4913
|
+
* @member {string} facebookId
|
|
4912
4914
|
* @memberof userdomain.User
|
|
4913
4915
|
* @instance
|
|
4914
4916
|
*/
|
|
4915
|
-
User.prototype.
|
|
4917
|
+
User.prototype.facebookId = "";
|
|
4918
|
+
|
|
4919
|
+
/**
|
|
4920
|
+
* User appleId.
|
|
4921
|
+
* @member {string} appleId
|
|
4922
|
+
* @memberof userdomain.User
|
|
4923
|
+
* @instance
|
|
4924
|
+
*/
|
|
4925
|
+
User.prototype.appleId = "";
|
|
4926
|
+
|
|
4927
|
+
/**
|
|
4928
|
+
* User spotifyId.
|
|
4929
|
+
* @member {string} spotifyId
|
|
4930
|
+
* @memberof userdomain.User
|
|
4931
|
+
* @instance
|
|
4932
|
+
*/
|
|
4933
|
+
User.prototype.spotifyId = "";
|
|
4916
4934
|
|
|
4917
4935
|
/**
|
|
4918
4936
|
* Creates a new User instance using the specified properties.
|
|
@@ -4954,8 +4972,12 @@ $root.userdomain = (function() {
|
|
|
4954
4972
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.stateCode);
|
|
4955
4973
|
if (message.signupPlatform != null && message.hasOwnProperty("signupPlatform"))
|
|
4956
4974
|
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.signupPlatform);
|
|
4957
|
-
if (message.
|
|
4958
|
-
writer.uint32(/* id 9, wireType
|
|
4975
|
+
if (message.facebookId != null && message.hasOwnProperty("facebookId"))
|
|
4976
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.facebookId);
|
|
4977
|
+
if (message.appleId != null && message.hasOwnProperty("appleId"))
|
|
4978
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.appleId);
|
|
4979
|
+
if (message.spotifyId != null && message.hasOwnProperty("spotifyId"))
|
|
4980
|
+
writer.uint32(/* id 11, wireType 2 =*/90).string(message.spotifyId);
|
|
4959
4981
|
return writer;
|
|
4960
4982
|
};
|
|
4961
4983
|
|
|
@@ -5015,7 +5037,13 @@ $root.userdomain = (function() {
|
|
|
5015
5037
|
message.signupPlatform = reader.int32();
|
|
5016
5038
|
break;
|
|
5017
5039
|
case 9:
|
|
5018
|
-
message.
|
|
5040
|
+
message.facebookId = reader.string();
|
|
5041
|
+
break;
|
|
5042
|
+
case 10:
|
|
5043
|
+
message.appleId = reader.string();
|
|
5044
|
+
break;
|
|
5045
|
+
case 11:
|
|
5046
|
+
message.spotifyId = reader.string();
|
|
5019
5047
|
break;
|
|
5020
5048
|
default:
|
|
5021
5049
|
reader.skipType(tag & 7);
|
|
@@ -5085,16 +5113,15 @@ $root.userdomain = (function() {
|
|
|
5085
5113
|
case 5:
|
|
5086
5114
|
break;
|
|
5087
5115
|
}
|
|
5088
|
-
if (message.
|
|
5089
|
-
|
|
5090
|
-
|
|
5091
|
-
|
|
5092
|
-
|
|
5093
|
-
|
|
5094
|
-
|
|
5095
|
-
|
|
5096
|
-
|
|
5097
|
-
}
|
|
5116
|
+
if (message.facebookId != null && message.hasOwnProperty("facebookId"))
|
|
5117
|
+
if (!$util.isString(message.facebookId))
|
|
5118
|
+
return "facebookId: string expected";
|
|
5119
|
+
if (message.appleId != null && message.hasOwnProperty("appleId"))
|
|
5120
|
+
if (!$util.isString(message.appleId))
|
|
5121
|
+
return "appleId: string expected";
|
|
5122
|
+
if (message.spotifyId != null && message.hasOwnProperty("spotifyId"))
|
|
5123
|
+
if (!$util.isString(message.spotifyId))
|
|
5124
|
+
return "spotifyId: string expected";
|
|
5098
5125
|
return null;
|
|
5099
5126
|
};
|
|
5100
5127
|
|
|
@@ -5150,24 +5177,12 @@ $root.userdomain = (function() {
|
|
|
5150
5177
|
message.signupPlatform = 5;
|
|
5151
5178
|
break;
|
|
5152
5179
|
}
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
message.
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
case 1:
|
|
5160
|
-
message.registrationConnection = 1;
|
|
5161
|
-
break;
|
|
5162
|
-
case "FACEBOOK":
|
|
5163
|
-
case 2:
|
|
5164
|
-
message.registrationConnection = 2;
|
|
5165
|
-
break;
|
|
5166
|
-
case "SPOTIFY":
|
|
5167
|
-
case 3:
|
|
5168
|
-
message.registrationConnection = 3;
|
|
5169
|
-
break;
|
|
5170
|
-
}
|
|
5180
|
+
if (object.facebookId != null)
|
|
5181
|
+
message.facebookId = String(object.facebookId);
|
|
5182
|
+
if (object.appleId != null)
|
|
5183
|
+
message.appleId = String(object.appleId);
|
|
5184
|
+
if (object.spotifyId != null)
|
|
5185
|
+
message.spotifyId = String(object.spotifyId);
|
|
5171
5186
|
return message;
|
|
5172
5187
|
};
|
|
5173
5188
|
|
|
@@ -5193,7 +5208,9 @@ $root.userdomain = (function() {
|
|
|
5193
5208
|
object.countryCode = "";
|
|
5194
5209
|
object.stateCode = "";
|
|
5195
5210
|
object.signupPlatform = options.enums === String ? "UNKNOWN_PLATFORM" : 0;
|
|
5196
|
-
object.
|
|
5211
|
+
object.facebookId = "";
|
|
5212
|
+
object.appleId = "";
|
|
5213
|
+
object.spotifyId = "";
|
|
5197
5214
|
}
|
|
5198
5215
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
5199
5216
|
object.hsId = message.hsId;
|
|
@@ -5211,8 +5228,12 @@ $root.userdomain = (function() {
|
|
|
5211
5228
|
object.stateCode = message.stateCode;
|
|
5212
5229
|
if (message.signupPlatform != null && message.hasOwnProperty("signupPlatform"))
|
|
5213
5230
|
object.signupPlatform = options.enums === String ? $root.userdomain.Platform[message.signupPlatform] : message.signupPlatform;
|
|
5214
|
-
if (message.
|
|
5215
|
-
object.
|
|
5231
|
+
if (message.facebookId != null && message.hasOwnProperty("facebookId"))
|
|
5232
|
+
object.facebookId = message.facebookId;
|
|
5233
|
+
if (message.appleId != null && message.hasOwnProperty("appleId"))
|
|
5234
|
+
object.appleId = message.appleId;
|
|
5235
|
+
if (message.spotifyId != null && message.hasOwnProperty("spotifyId"))
|
|
5236
|
+
object.spotifyId = message.spotifyId;
|
|
5216
5237
|
return object;
|
|
5217
5238
|
};
|
|
5218
5239
|
|
|
@@ -5252,24 +5273,6 @@ $root.userdomain = (function() {
|
|
|
5252
5273
|
return values;
|
|
5253
5274
|
})();
|
|
5254
5275
|
|
|
5255
|
-
/**
|
|
5256
|
-
* Connection enum.
|
|
5257
|
-
* @name userdomain.Connection
|
|
5258
|
-
* @enum {string}
|
|
5259
|
-
* @property {number} UNKNOWN=0 UNKNOWN value
|
|
5260
|
-
* @property {number} EMAIL=1 EMAIL value
|
|
5261
|
-
* @property {number} FACEBOOK=2 FACEBOOK value
|
|
5262
|
-
* @property {number} SPOTIFY=3 SPOTIFY value
|
|
5263
|
-
*/
|
|
5264
|
-
userdomain.Connection = (function() {
|
|
5265
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
5266
|
-
values[valuesById[0] = "UNKNOWN"] = 0;
|
|
5267
|
-
values[valuesById[1] = "EMAIL"] = 1;
|
|
5268
|
-
values[valuesById[2] = "FACEBOOK"] = 2;
|
|
5269
|
-
values[valuesById[3] = "SPOTIFY"] = 3;
|
|
5270
|
-
return values;
|
|
5271
|
-
})();
|
|
5272
|
-
|
|
5273
5276
|
return userdomain;
|
|
5274
5277
|
})();
|
|
5275
5278
|
|
package/package.json
CHANGED