@headspace/protos-events 1.69.0 → 1.70.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 +14 -0
- package/lib/index.js +63 -0
- package/package.json +1 -1
package/lib/index.d.ts
CHANGED
|
@@ -2026,6 +2026,9 @@ export namespace userdomain {
|
|
|
2026
2026
|
|
|
2027
2027
|
/** User signupPlatform */
|
|
2028
2028
|
signupPlatform?: (userdomain.Platform|null);
|
|
2029
|
+
|
|
2030
|
+
/** User registrationConnection */
|
|
2031
|
+
registrationConnection?: (userdomain.Connection|null);
|
|
2029
2032
|
}
|
|
2030
2033
|
|
|
2031
2034
|
/** Represents a User. */
|
|
@@ -2061,6 +2064,9 @@ export namespace userdomain {
|
|
|
2061
2064
|
/** User signupPlatform. */
|
|
2062
2065
|
public signupPlatform: userdomain.Platform;
|
|
2063
2066
|
|
|
2067
|
+
/** User registrationConnection. */
|
|
2068
|
+
public registrationConnection: userdomain.Connection;
|
|
2069
|
+
|
|
2064
2070
|
/**
|
|
2065
2071
|
* Creates a new User instance using the specified properties.
|
|
2066
2072
|
* @param [properties] Properties to set
|
|
@@ -2141,6 +2147,14 @@ export namespace userdomain {
|
|
|
2141
2147
|
ALEXA = 4,
|
|
2142
2148
|
GOOGLE_ASSISTANT = 5
|
|
2143
2149
|
}
|
|
2150
|
+
|
|
2151
|
+
/** Connection enum. */
|
|
2152
|
+
enum Connection {
|
|
2153
|
+
UNKNOWN = 0,
|
|
2154
|
+
EMAIL = 1,
|
|
2155
|
+
FACEBOOK = 2,
|
|
2156
|
+
SPOTIFY = 3
|
|
2157
|
+
}
|
|
2144
2158
|
}
|
|
2145
2159
|
|
|
2146
2160
|
/** Properties of a UserRoleUpdated. */
|
package/lib/index.js
CHANGED
|
@@ -4824,6 +4824,7 @@ $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 {userdomain.Connection|null} [registrationConnection] User registrationConnection
|
|
4827
4828
|
*/
|
|
4828
4829
|
|
|
4829
4830
|
/**
|
|
@@ -4905,6 +4906,14 @@ $root.userdomain = (function() {
|
|
|
4905
4906
|
*/
|
|
4906
4907
|
User.prototype.signupPlatform = 0;
|
|
4907
4908
|
|
|
4909
|
+
/**
|
|
4910
|
+
* User registrationConnection.
|
|
4911
|
+
* @member {userdomain.Connection} registrationConnection
|
|
4912
|
+
* @memberof userdomain.User
|
|
4913
|
+
* @instance
|
|
4914
|
+
*/
|
|
4915
|
+
User.prototype.registrationConnection = 0;
|
|
4916
|
+
|
|
4908
4917
|
/**
|
|
4909
4918
|
* Creates a new User instance using the specified properties.
|
|
4910
4919
|
* @function create
|
|
@@ -4945,6 +4954,8 @@ $root.userdomain = (function() {
|
|
|
4945
4954
|
writer.uint32(/* id 7, wireType 2 =*/58).string(message.stateCode);
|
|
4946
4955
|
if (message.signupPlatform != null && message.hasOwnProperty("signupPlatform"))
|
|
4947
4956
|
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.signupPlatform);
|
|
4957
|
+
if (message.registrationConnection != null && message.hasOwnProperty("registrationConnection"))
|
|
4958
|
+
writer.uint32(/* id 9, wireType 0 =*/72).int32(message.registrationConnection);
|
|
4948
4959
|
return writer;
|
|
4949
4960
|
};
|
|
4950
4961
|
|
|
@@ -5003,6 +5014,9 @@ $root.userdomain = (function() {
|
|
|
5003
5014
|
case 8:
|
|
5004
5015
|
message.signupPlatform = reader.int32();
|
|
5005
5016
|
break;
|
|
5017
|
+
case 9:
|
|
5018
|
+
message.registrationConnection = reader.int32();
|
|
5019
|
+
break;
|
|
5006
5020
|
default:
|
|
5007
5021
|
reader.skipType(tag & 7);
|
|
5008
5022
|
break;
|
|
@@ -5071,6 +5085,16 @@ $root.userdomain = (function() {
|
|
|
5071
5085
|
case 5:
|
|
5072
5086
|
break;
|
|
5073
5087
|
}
|
|
5088
|
+
if (message.registrationConnection != null && message.hasOwnProperty("registrationConnection"))
|
|
5089
|
+
switch (message.registrationConnection) {
|
|
5090
|
+
default:
|
|
5091
|
+
return "registrationConnection: enum value expected";
|
|
5092
|
+
case 0:
|
|
5093
|
+
case 1:
|
|
5094
|
+
case 2:
|
|
5095
|
+
case 3:
|
|
5096
|
+
break;
|
|
5097
|
+
}
|
|
5074
5098
|
return null;
|
|
5075
5099
|
};
|
|
5076
5100
|
|
|
@@ -5126,6 +5150,24 @@ $root.userdomain = (function() {
|
|
|
5126
5150
|
message.signupPlatform = 5;
|
|
5127
5151
|
break;
|
|
5128
5152
|
}
|
|
5153
|
+
switch (object.registrationConnection) {
|
|
5154
|
+
case "UNKNOWN":
|
|
5155
|
+
case 0:
|
|
5156
|
+
message.registrationConnection = 0;
|
|
5157
|
+
break;
|
|
5158
|
+
case "EMAIL":
|
|
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
|
+
}
|
|
5129
5171
|
return message;
|
|
5130
5172
|
};
|
|
5131
5173
|
|
|
@@ -5151,6 +5193,7 @@ $root.userdomain = (function() {
|
|
|
5151
5193
|
object.countryCode = "";
|
|
5152
5194
|
object.stateCode = "";
|
|
5153
5195
|
object.signupPlatform = options.enums === String ? "UNKNOWN_PLATFORM" : 0;
|
|
5196
|
+
object.registrationConnection = options.enums === String ? "UNKNOWN" : 0;
|
|
5154
5197
|
}
|
|
5155
5198
|
if (message.hsId != null && message.hasOwnProperty("hsId"))
|
|
5156
5199
|
object.hsId = message.hsId;
|
|
@@ -5168,6 +5211,8 @@ $root.userdomain = (function() {
|
|
|
5168
5211
|
object.stateCode = message.stateCode;
|
|
5169
5212
|
if (message.signupPlatform != null && message.hasOwnProperty("signupPlatform"))
|
|
5170
5213
|
object.signupPlatform = options.enums === String ? $root.userdomain.Platform[message.signupPlatform] : message.signupPlatform;
|
|
5214
|
+
if (message.registrationConnection != null && message.hasOwnProperty("registrationConnection"))
|
|
5215
|
+
object.registrationConnection = options.enums === String ? $root.userdomain.Connection[message.registrationConnection] : message.registrationConnection;
|
|
5171
5216
|
return object;
|
|
5172
5217
|
};
|
|
5173
5218
|
|
|
@@ -5207,6 +5252,24 @@ $root.userdomain = (function() {
|
|
|
5207
5252
|
return values;
|
|
5208
5253
|
})();
|
|
5209
5254
|
|
|
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
|
+
|
|
5210
5273
|
return userdomain;
|
|
5211
5274
|
})();
|
|
5212
5275
|
|
package/package.json
CHANGED