protobuf-platform 1.2.347 → 1.2.348
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/package.json +1 -1
- package/user/user.proto +23 -0
- package/user/user_grpc_pb.js +22 -0
- package/user/user_pb.js +1046 -0
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -9,6 +9,7 @@ service User {
|
|
|
9
9
|
rpc signIn(LoginRequest) returns (LoggedInResponse);
|
|
10
10
|
rpc loginOrCreateTelegram(TelegramLoginRequest) returns (LoggedInResponse);
|
|
11
11
|
rpc loginOrCreateGoogle(GoogleLoginRequest) returns (LoggedInResponse);
|
|
12
|
+
rpc loginOrCreateApple(AppleLoginRequest) returns (LoggedInResponse);
|
|
12
13
|
rpc confirmUserTwoFa(ConfirmTwoFaRequest) returns (LoggedInResponse);
|
|
13
14
|
rpc getUserData(UserDataRequest) returns (UserDataResponse);
|
|
14
15
|
rpc getUserBalance(UserDataRequest) returns (UserDataResponse);
|
|
@@ -241,6 +242,28 @@ message GoogleLoginRequest {
|
|
|
241
242
|
optional string correlation_id = 14;
|
|
242
243
|
optional string user_agent = 15;
|
|
243
244
|
}
|
|
245
|
+
message AppleLoginRequest {
|
|
246
|
+
string code = 1;
|
|
247
|
+
string redirect_uri = 2;
|
|
248
|
+
optional string user_ip = 3;
|
|
249
|
+
optional string device = 4;
|
|
250
|
+
optional string country = 5;
|
|
251
|
+
optional string city = 6;
|
|
252
|
+
optional string timezone = 7;
|
|
253
|
+
optional string locale = 8;
|
|
254
|
+
optional int32 affiliate_id = 9;
|
|
255
|
+
optional string affiliate_info = 10;
|
|
256
|
+
optional string promo_code = 11;
|
|
257
|
+
optional string seon_session = 12;
|
|
258
|
+
optional string request_id = 13;
|
|
259
|
+
optional string correlation_id = 14;
|
|
260
|
+
optional string user_agent = 15;
|
|
261
|
+
optional string identity_token = 16;
|
|
262
|
+
optional string first_name = 17;
|
|
263
|
+
optional string last_name = 18;
|
|
264
|
+
optional string email = 19;
|
|
265
|
+
optional string nonce = 20;
|
|
266
|
+
}
|
|
244
267
|
message ConfirmTwoFaRequest {
|
|
245
268
|
string code = 1;
|
|
246
269
|
string temp_token = 2;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -4,6 +4,17 @@
|
|
|
4
4
|
var grpc = require('@grpc/grpc-js');
|
|
5
5
|
var user_pb = require('./user_pb.js');
|
|
6
6
|
|
|
7
|
+
function serialize_user_AppleLoginRequest(arg) {
|
|
8
|
+
if (!(arg instanceof user_pb.AppleLoginRequest)) {
|
|
9
|
+
throw new Error('Expected argument of type user.AppleLoginRequest');
|
|
10
|
+
}
|
|
11
|
+
return Buffer.from(arg.serializeBinary());
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
function deserialize_user_AppleLoginRequest(buffer_arg) {
|
|
15
|
+
return user_pb.AppleLoginRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
16
|
+
}
|
|
17
|
+
|
|
7
18
|
function serialize_user_BatchGetAffiliateAttributionRequest(arg) {
|
|
8
19
|
if (!(arg instanceof user_pb.BatchGetAffiliateAttributionRequest)) {
|
|
9
20
|
throw new Error('Expected argument of type user.BatchGetAffiliateAttributionRequest');
|
|
@@ -1327,6 +1338,17 @@ signUp: {
|
|
|
1327
1338
|
responseSerialize: serialize_user_LoggedInResponse,
|
|
1328
1339
|
responseDeserialize: deserialize_user_LoggedInResponse,
|
|
1329
1340
|
},
|
|
1341
|
+
loginOrCreateApple: {
|
|
1342
|
+
path: '/user.User/loginOrCreateApple',
|
|
1343
|
+
requestStream: false,
|
|
1344
|
+
responseStream: false,
|
|
1345
|
+
requestType: user_pb.AppleLoginRequest,
|
|
1346
|
+
responseType: user_pb.LoggedInResponse,
|
|
1347
|
+
requestSerialize: serialize_user_AppleLoginRequest,
|
|
1348
|
+
requestDeserialize: deserialize_user_AppleLoginRequest,
|
|
1349
|
+
responseSerialize: serialize_user_LoggedInResponse,
|
|
1350
|
+
responseDeserialize: deserialize_user_LoggedInResponse,
|
|
1351
|
+
},
|
|
1330
1352
|
confirmUserTwoFa: {
|
|
1331
1353
|
path: '/user.User/confirmUserTwoFa',
|
|
1332
1354
|
requestStream: false,
|
package/user/user_pb.js
CHANGED
|
@@ -21,6 +21,7 @@ var global = (function() {
|
|
|
21
21
|
return Function('return this')();
|
|
22
22
|
}.call(null));
|
|
23
23
|
|
|
24
|
+
goog.exportSymbol('proto.user.AppleLoginRequest', null, global);
|
|
24
25
|
goog.exportSymbol('proto.user.BatchGetAffiliateAttributionItem', null, global);
|
|
25
26
|
goog.exportSymbol('proto.user.BatchGetAffiliateAttributionRequest', null, global);
|
|
26
27
|
goog.exportSymbol('proto.user.BatchGetAffiliateAttributionResponse', null, global);
|
|
@@ -416,6 +417,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
416
417
|
*/
|
|
417
418
|
proto.user.GoogleLoginRequest.displayName = 'proto.user.GoogleLoginRequest';
|
|
418
419
|
}
|
|
420
|
+
/**
|
|
421
|
+
* Generated by JsPbCodeGenerator.
|
|
422
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
423
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
424
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
425
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
426
|
+
* valid.
|
|
427
|
+
* @extends {jspb.Message}
|
|
428
|
+
* @constructor
|
|
429
|
+
*/
|
|
430
|
+
proto.user.AppleLoginRequest = function(opt_data) {
|
|
431
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
432
|
+
};
|
|
433
|
+
goog.inherits(proto.user.AppleLoginRequest, jspb.Message);
|
|
434
|
+
if (goog.DEBUG && !COMPILED) {
|
|
435
|
+
/**
|
|
436
|
+
* @public
|
|
437
|
+
* @override
|
|
438
|
+
*/
|
|
439
|
+
proto.user.AppleLoginRequest.displayName = 'proto.user.AppleLoginRequest';
|
|
440
|
+
}
|
|
419
441
|
/**
|
|
420
442
|
* Generated by JsPbCodeGenerator.
|
|
421
443
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -9043,6 +9065,1030 @@ proto.user.GoogleLoginRequest.prototype.hasUserAgent = function() {
|
|
|
9043
9065
|
|
|
9044
9066
|
|
|
9045
9067
|
|
|
9068
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9069
|
+
/**
|
|
9070
|
+
* Creates an object representation of this proto.
|
|
9071
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
9072
|
+
* Optional fields that are not set will be set to undefined.
|
|
9073
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
9074
|
+
* For the list of reserved names please see:
|
|
9075
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
9076
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
9077
|
+
* JSPB instance for transitional soy proto support:
|
|
9078
|
+
* http://goto/soy-param-migration
|
|
9079
|
+
* @return {!Object}
|
|
9080
|
+
*/
|
|
9081
|
+
proto.user.AppleLoginRequest.prototype.toObject = function(opt_includeInstance) {
|
|
9082
|
+
return proto.user.AppleLoginRequest.toObject(opt_includeInstance, this);
|
|
9083
|
+
};
|
|
9084
|
+
|
|
9085
|
+
|
|
9086
|
+
/**
|
|
9087
|
+
* Static version of the {@see toObject} method.
|
|
9088
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
9089
|
+
* the JSPB instance for transitional soy proto support:
|
|
9090
|
+
* http://goto/soy-param-migration
|
|
9091
|
+
* @param {!proto.user.AppleLoginRequest} msg The msg instance to transform.
|
|
9092
|
+
* @return {!Object}
|
|
9093
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9094
|
+
*/
|
|
9095
|
+
proto.user.AppleLoginRequest.toObject = function(includeInstance, msg) {
|
|
9096
|
+
var f, obj = {
|
|
9097
|
+
code: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
9098
|
+
redirectUri: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
9099
|
+
userIp: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
9100
|
+
device: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
9101
|
+
country: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
9102
|
+
city: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
9103
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
9104
|
+
locale: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
9105
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 9, 0),
|
|
9106
|
+
affiliateInfo: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
9107
|
+
promoCode: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
9108
|
+
seonSession: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
9109
|
+
requestId: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
9110
|
+
correlationId: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
9111
|
+
userAgent: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
9112
|
+
identityToken: jspb.Message.getFieldWithDefault(msg, 16, ""),
|
|
9113
|
+
firstName: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
9114
|
+
lastName: jspb.Message.getFieldWithDefault(msg, 18, ""),
|
|
9115
|
+
email: jspb.Message.getFieldWithDefault(msg, 19, ""),
|
|
9116
|
+
nonce: jspb.Message.getFieldWithDefault(msg, 20, "")
|
|
9117
|
+
};
|
|
9118
|
+
|
|
9119
|
+
if (includeInstance) {
|
|
9120
|
+
obj.$jspbMessageInstance = msg;
|
|
9121
|
+
}
|
|
9122
|
+
return obj;
|
|
9123
|
+
};
|
|
9124
|
+
}
|
|
9125
|
+
|
|
9126
|
+
|
|
9127
|
+
/**
|
|
9128
|
+
* Deserializes binary data (in protobuf wire format).
|
|
9129
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
9130
|
+
* @return {!proto.user.AppleLoginRequest}
|
|
9131
|
+
*/
|
|
9132
|
+
proto.user.AppleLoginRequest.deserializeBinary = function(bytes) {
|
|
9133
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
9134
|
+
var msg = new proto.user.AppleLoginRequest;
|
|
9135
|
+
return proto.user.AppleLoginRequest.deserializeBinaryFromReader(msg, reader);
|
|
9136
|
+
};
|
|
9137
|
+
|
|
9138
|
+
|
|
9139
|
+
/**
|
|
9140
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
9141
|
+
* given reader into the given message object.
|
|
9142
|
+
* @param {!proto.user.AppleLoginRequest} msg The message object to deserialize into.
|
|
9143
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
9144
|
+
* @return {!proto.user.AppleLoginRequest}
|
|
9145
|
+
*/
|
|
9146
|
+
proto.user.AppleLoginRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
9147
|
+
while (reader.nextField()) {
|
|
9148
|
+
if (reader.isEndGroup()) {
|
|
9149
|
+
break;
|
|
9150
|
+
}
|
|
9151
|
+
var field = reader.getFieldNumber();
|
|
9152
|
+
switch (field) {
|
|
9153
|
+
case 1:
|
|
9154
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9155
|
+
msg.setCode(value);
|
|
9156
|
+
break;
|
|
9157
|
+
case 2:
|
|
9158
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9159
|
+
msg.setRedirectUri(value);
|
|
9160
|
+
break;
|
|
9161
|
+
case 3:
|
|
9162
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9163
|
+
msg.setUserIp(value);
|
|
9164
|
+
break;
|
|
9165
|
+
case 4:
|
|
9166
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9167
|
+
msg.setDevice(value);
|
|
9168
|
+
break;
|
|
9169
|
+
case 5:
|
|
9170
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9171
|
+
msg.setCountry(value);
|
|
9172
|
+
break;
|
|
9173
|
+
case 6:
|
|
9174
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9175
|
+
msg.setCity(value);
|
|
9176
|
+
break;
|
|
9177
|
+
case 7:
|
|
9178
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9179
|
+
msg.setTimezone(value);
|
|
9180
|
+
break;
|
|
9181
|
+
case 8:
|
|
9182
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9183
|
+
msg.setLocale(value);
|
|
9184
|
+
break;
|
|
9185
|
+
case 9:
|
|
9186
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
9187
|
+
msg.setAffiliateId(value);
|
|
9188
|
+
break;
|
|
9189
|
+
case 10:
|
|
9190
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9191
|
+
msg.setAffiliateInfo(value);
|
|
9192
|
+
break;
|
|
9193
|
+
case 11:
|
|
9194
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9195
|
+
msg.setPromoCode(value);
|
|
9196
|
+
break;
|
|
9197
|
+
case 12:
|
|
9198
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9199
|
+
msg.setSeonSession(value);
|
|
9200
|
+
break;
|
|
9201
|
+
case 13:
|
|
9202
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9203
|
+
msg.setRequestId(value);
|
|
9204
|
+
break;
|
|
9205
|
+
case 14:
|
|
9206
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9207
|
+
msg.setCorrelationId(value);
|
|
9208
|
+
break;
|
|
9209
|
+
case 15:
|
|
9210
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9211
|
+
msg.setUserAgent(value);
|
|
9212
|
+
break;
|
|
9213
|
+
case 16:
|
|
9214
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9215
|
+
msg.setIdentityToken(value);
|
|
9216
|
+
break;
|
|
9217
|
+
case 17:
|
|
9218
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9219
|
+
msg.setFirstName(value);
|
|
9220
|
+
break;
|
|
9221
|
+
case 18:
|
|
9222
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9223
|
+
msg.setLastName(value);
|
|
9224
|
+
break;
|
|
9225
|
+
case 19:
|
|
9226
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9227
|
+
msg.setEmail(value);
|
|
9228
|
+
break;
|
|
9229
|
+
case 20:
|
|
9230
|
+
var value = /** @type {string} */ (reader.readString());
|
|
9231
|
+
msg.setNonce(value);
|
|
9232
|
+
break;
|
|
9233
|
+
default:
|
|
9234
|
+
reader.skipField();
|
|
9235
|
+
break;
|
|
9236
|
+
}
|
|
9237
|
+
}
|
|
9238
|
+
return msg;
|
|
9239
|
+
};
|
|
9240
|
+
|
|
9241
|
+
|
|
9242
|
+
/**
|
|
9243
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
9244
|
+
* @return {!Uint8Array}
|
|
9245
|
+
*/
|
|
9246
|
+
proto.user.AppleLoginRequest.prototype.serializeBinary = function() {
|
|
9247
|
+
var writer = new jspb.BinaryWriter();
|
|
9248
|
+
proto.user.AppleLoginRequest.serializeBinaryToWriter(this, writer);
|
|
9249
|
+
return writer.getResultBuffer();
|
|
9250
|
+
};
|
|
9251
|
+
|
|
9252
|
+
|
|
9253
|
+
/**
|
|
9254
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
9255
|
+
* format), writing to the given BinaryWriter.
|
|
9256
|
+
* @param {!proto.user.AppleLoginRequest} message
|
|
9257
|
+
* @param {!jspb.BinaryWriter} writer
|
|
9258
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
9259
|
+
*/
|
|
9260
|
+
proto.user.AppleLoginRequest.serializeBinaryToWriter = function(message, writer) {
|
|
9261
|
+
var f = undefined;
|
|
9262
|
+
f = message.getCode();
|
|
9263
|
+
if (f.length > 0) {
|
|
9264
|
+
writer.writeString(
|
|
9265
|
+
1,
|
|
9266
|
+
f
|
|
9267
|
+
);
|
|
9268
|
+
}
|
|
9269
|
+
f = message.getRedirectUri();
|
|
9270
|
+
if (f.length > 0) {
|
|
9271
|
+
writer.writeString(
|
|
9272
|
+
2,
|
|
9273
|
+
f
|
|
9274
|
+
);
|
|
9275
|
+
}
|
|
9276
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
9277
|
+
if (f != null) {
|
|
9278
|
+
writer.writeString(
|
|
9279
|
+
3,
|
|
9280
|
+
f
|
|
9281
|
+
);
|
|
9282
|
+
}
|
|
9283
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
9284
|
+
if (f != null) {
|
|
9285
|
+
writer.writeString(
|
|
9286
|
+
4,
|
|
9287
|
+
f
|
|
9288
|
+
);
|
|
9289
|
+
}
|
|
9290
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
9291
|
+
if (f != null) {
|
|
9292
|
+
writer.writeString(
|
|
9293
|
+
5,
|
|
9294
|
+
f
|
|
9295
|
+
);
|
|
9296
|
+
}
|
|
9297
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 6));
|
|
9298
|
+
if (f != null) {
|
|
9299
|
+
writer.writeString(
|
|
9300
|
+
6,
|
|
9301
|
+
f
|
|
9302
|
+
);
|
|
9303
|
+
}
|
|
9304
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
9305
|
+
if (f != null) {
|
|
9306
|
+
writer.writeString(
|
|
9307
|
+
7,
|
|
9308
|
+
f
|
|
9309
|
+
);
|
|
9310
|
+
}
|
|
9311
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
9312
|
+
if (f != null) {
|
|
9313
|
+
writer.writeString(
|
|
9314
|
+
8,
|
|
9315
|
+
f
|
|
9316
|
+
);
|
|
9317
|
+
}
|
|
9318
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 9));
|
|
9319
|
+
if (f != null) {
|
|
9320
|
+
writer.writeInt32(
|
|
9321
|
+
9,
|
|
9322
|
+
f
|
|
9323
|
+
);
|
|
9324
|
+
}
|
|
9325
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
|
9326
|
+
if (f != null) {
|
|
9327
|
+
writer.writeString(
|
|
9328
|
+
10,
|
|
9329
|
+
f
|
|
9330
|
+
);
|
|
9331
|
+
}
|
|
9332
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 11));
|
|
9333
|
+
if (f != null) {
|
|
9334
|
+
writer.writeString(
|
|
9335
|
+
11,
|
|
9336
|
+
f
|
|
9337
|
+
);
|
|
9338
|
+
}
|
|
9339
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 12));
|
|
9340
|
+
if (f != null) {
|
|
9341
|
+
writer.writeString(
|
|
9342
|
+
12,
|
|
9343
|
+
f
|
|
9344
|
+
);
|
|
9345
|
+
}
|
|
9346
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
|
9347
|
+
if (f != null) {
|
|
9348
|
+
writer.writeString(
|
|
9349
|
+
13,
|
|
9350
|
+
f
|
|
9351
|
+
);
|
|
9352
|
+
}
|
|
9353
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 14));
|
|
9354
|
+
if (f != null) {
|
|
9355
|
+
writer.writeString(
|
|
9356
|
+
14,
|
|
9357
|
+
f
|
|
9358
|
+
);
|
|
9359
|
+
}
|
|
9360
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 15));
|
|
9361
|
+
if (f != null) {
|
|
9362
|
+
writer.writeString(
|
|
9363
|
+
15,
|
|
9364
|
+
f
|
|
9365
|
+
);
|
|
9366
|
+
}
|
|
9367
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 16));
|
|
9368
|
+
if (f != null) {
|
|
9369
|
+
writer.writeString(
|
|
9370
|
+
16,
|
|
9371
|
+
f
|
|
9372
|
+
);
|
|
9373
|
+
}
|
|
9374
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 17));
|
|
9375
|
+
if (f != null) {
|
|
9376
|
+
writer.writeString(
|
|
9377
|
+
17,
|
|
9378
|
+
f
|
|
9379
|
+
);
|
|
9380
|
+
}
|
|
9381
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 18));
|
|
9382
|
+
if (f != null) {
|
|
9383
|
+
writer.writeString(
|
|
9384
|
+
18,
|
|
9385
|
+
f
|
|
9386
|
+
);
|
|
9387
|
+
}
|
|
9388
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 19));
|
|
9389
|
+
if (f != null) {
|
|
9390
|
+
writer.writeString(
|
|
9391
|
+
19,
|
|
9392
|
+
f
|
|
9393
|
+
);
|
|
9394
|
+
}
|
|
9395
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 20));
|
|
9396
|
+
if (f != null) {
|
|
9397
|
+
writer.writeString(
|
|
9398
|
+
20,
|
|
9399
|
+
f
|
|
9400
|
+
);
|
|
9401
|
+
}
|
|
9402
|
+
};
|
|
9403
|
+
|
|
9404
|
+
|
|
9405
|
+
/**
|
|
9406
|
+
* optional string code = 1;
|
|
9407
|
+
* @return {string}
|
|
9408
|
+
*/
|
|
9409
|
+
proto.user.AppleLoginRequest.prototype.getCode = function() {
|
|
9410
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
9411
|
+
};
|
|
9412
|
+
|
|
9413
|
+
|
|
9414
|
+
/**
|
|
9415
|
+
* @param {string} value
|
|
9416
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9417
|
+
*/
|
|
9418
|
+
proto.user.AppleLoginRequest.prototype.setCode = function(value) {
|
|
9419
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
9420
|
+
};
|
|
9421
|
+
|
|
9422
|
+
|
|
9423
|
+
/**
|
|
9424
|
+
* optional string redirect_uri = 2;
|
|
9425
|
+
* @return {string}
|
|
9426
|
+
*/
|
|
9427
|
+
proto.user.AppleLoginRequest.prototype.getRedirectUri = function() {
|
|
9428
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
9429
|
+
};
|
|
9430
|
+
|
|
9431
|
+
|
|
9432
|
+
/**
|
|
9433
|
+
* @param {string} value
|
|
9434
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9435
|
+
*/
|
|
9436
|
+
proto.user.AppleLoginRequest.prototype.setRedirectUri = function(value) {
|
|
9437
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
9438
|
+
};
|
|
9439
|
+
|
|
9440
|
+
|
|
9441
|
+
/**
|
|
9442
|
+
* optional string user_ip = 3;
|
|
9443
|
+
* @return {string}
|
|
9444
|
+
*/
|
|
9445
|
+
proto.user.AppleLoginRequest.prototype.getUserIp = function() {
|
|
9446
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
9447
|
+
};
|
|
9448
|
+
|
|
9449
|
+
|
|
9450
|
+
/**
|
|
9451
|
+
* @param {string} value
|
|
9452
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9453
|
+
*/
|
|
9454
|
+
proto.user.AppleLoginRequest.prototype.setUserIp = function(value) {
|
|
9455
|
+
return jspb.Message.setField(this, 3, value);
|
|
9456
|
+
};
|
|
9457
|
+
|
|
9458
|
+
|
|
9459
|
+
/**
|
|
9460
|
+
* Clears the field making it undefined.
|
|
9461
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9462
|
+
*/
|
|
9463
|
+
proto.user.AppleLoginRequest.prototype.clearUserIp = function() {
|
|
9464
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
9465
|
+
};
|
|
9466
|
+
|
|
9467
|
+
|
|
9468
|
+
/**
|
|
9469
|
+
* Returns whether this field is set.
|
|
9470
|
+
* @return {boolean}
|
|
9471
|
+
*/
|
|
9472
|
+
proto.user.AppleLoginRequest.prototype.hasUserIp = function() {
|
|
9473
|
+
return jspb.Message.getField(this, 3) != null;
|
|
9474
|
+
};
|
|
9475
|
+
|
|
9476
|
+
|
|
9477
|
+
/**
|
|
9478
|
+
* optional string device = 4;
|
|
9479
|
+
* @return {string}
|
|
9480
|
+
*/
|
|
9481
|
+
proto.user.AppleLoginRequest.prototype.getDevice = function() {
|
|
9482
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
9483
|
+
};
|
|
9484
|
+
|
|
9485
|
+
|
|
9486
|
+
/**
|
|
9487
|
+
* @param {string} value
|
|
9488
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9489
|
+
*/
|
|
9490
|
+
proto.user.AppleLoginRequest.prototype.setDevice = function(value) {
|
|
9491
|
+
return jspb.Message.setField(this, 4, value);
|
|
9492
|
+
};
|
|
9493
|
+
|
|
9494
|
+
|
|
9495
|
+
/**
|
|
9496
|
+
* Clears the field making it undefined.
|
|
9497
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9498
|
+
*/
|
|
9499
|
+
proto.user.AppleLoginRequest.prototype.clearDevice = function() {
|
|
9500
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
9501
|
+
};
|
|
9502
|
+
|
|
9503
|
+
|
|
9504
|
+
/**
|
|
9505
|
+
* Returns whether this field is set.
|
|
9506
|
+
* @return {boolean}
|
|
9507
|
+
*/
|
|
9508
|
+
proto.user.AppleLoginRequest.prototype.hasDevice = function() {
|
|
9509
|
+
return jspb.Message.getField(this, 4) != null;
|
|
9510
|
+
};
|
|
9511
|
+
|
|
9512
|
+
|
|
9513
|
+
/**
|
|
9514
|
+
* optional string country = 5;
|
|
9515
|
+
* @return {string}
|
|
9516
|
+
*/
|
|
9517
|
+
proto.user.AppleLoginRequest.prototype.getCountry = function() {
|
|
9518
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
9519
|
+
};
|
|
9520
|
+
|
|
9521
|
+
|
|
9522
|
+
/**
|
|
9523
|
+
* @param {string} value
|
|
9524
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9525
|
+
*/
|
|
9526
|
+
proto.user.AppleLoginRequest.prototype.setCountry = function(value) {
|
|
9527
|
+
return jspb.Message.setField(this, 5, value);
|
|
9528
|
+
};
|
|
9529
|
+
|
|
9530
|
+
|
|
9531
|
+
/**
|
|
9532
|
+
* Clears the field making it undefined.
|
|
9533
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9534
|
+
*/
|
|
9535
|
+
proto.user.AppleLoginRequest.prototype.clearCountry = function() {
|
|
9536
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
9537
|
+
};
|
|
9538
|
+
|
|
9539
|
+
|
|
9540
|
+
/**
|
|
9541
|
+
* Returns whether this field is set.
|
|
9542
|
+
* @return {boolean}
|
|
9543
|
+
*/
|
|
9544
|
+
proto.user.AppleLoginRequest.prototype.hasCountry = function() {
|
|
9545
|
+
return jspb.Message.getField(this, 5) != null;
|
|
9546
|
+
};
|
|
9547
|
+
|
|
9548
|
+
|
|
9549
|
+
/**
|
|
9550
|
+
* optional string city = 6;
|
|
9551
|
+
* @return {string}
|
|
9552
|
+
*/
|
|
9553
|
+
proto.user.AppleLoginRequest.prototype.getCity = function() {
|
|
9554
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
9555
|
+
};
|
|
9556
|
+
|
|
9557
|
+
|
|
9558
|
+
/**
|
|
9559
|
+
* @param {string} value
|
|
9560
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9561
|
+
*/
|
|
9562
|
+
proto.user.AppleLoginRequest.prototype.setCity = function(value) {
|
|
9563
|
+
return jspb.Message.setField(this, 6, value);
|
|
9564
|
+
};
|
|
9565
|
+
|
|
9566
|
+
|
|
9567
|
+
/**
|
|
9568
|
+
* Clears the field making it undefined.
|
|
9569
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9570
|
+
*/
|
|
9571
|
+
proto.user.AppleLoginRequest.prototype.clearCity = function() {
|
|
9572
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
9573
|
+
};
|
|
9574
|
+
|
|
9575
|
+
|
|
9576
|
+
/**
|
|
9577
|
+
* Returns whether this field is set.
|
|
9578
|
+
* @return {boolean}
|
|
9579
|
+
*/
|
|
9580
|
+
proto.user.AppleLoginRequest.prototype.hasCity = function() {
|
|
9581
|
+
return jspb.Message.getField(this, 6) != null;
|
|
9582
|
+
};
|
|
9583
|
+
|
|
9584
|
+
|
|
9585
|
+
/**
|
|
9586
|
+
* optional string timezone = 7;
|
|
9587
|
+
* @return {string}
|
|
9588
|
+
*/
|
|
9589
|
+
proto.user.AppleLoginRequest.prototype.getTimezone = function() {
|
|
9590
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
9591
|
+
};
|
|
9592
|
+
|
|
9593
|
+
|
|
9594
|
+
/**
|
|
9595
|
+
* @param {string} value
|
|
9596
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9597
|
+
*/
|
|
9598
|
+
proto.user.AppleLoginRequest.prototype.setTimezone = function(value) {
|
|
9599
|
+
return jspb.Message.setField(this, 7, value);
|
|
9600
|
+
};
|
|
9601
|
+
|
|
9602
|
+
|
|
9603
|
+
/**
|
|
9604
|
+
* Clears the field making it undefined.
|
|
9605
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9606
|
+
*/
|
|
9607
|
+
proto.user.AppleLoginRequest.prototype.clearTimezone = function() {
|
|
9608
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
9609
|
+
};
|
|
9610
|
+
|
|
9611
|
+
|
|
9612
|
+
/**
|
|
9613
|
+
* Returns whether this field is set.
|
|
9614
|
+
* @return {boolean}
|
|
9615
|
+
*/
|
|
9616
|
+
proto.user.AppleLoginRequest.prototype.hasTimezone = function() {
|
|
9617
|
+
return jspb.Message.getField(this, 7) != null;
|
|
9618
|
+
};
|
|
9619
|
+
|
|
9620
|
+
|
|
9621
|
+
/**
|
|
9622
|
+
* optional string locale = 8;
|
|
9623
|
+
* @return {string}
|
|
9624
|
+
*/
|
|
9625
|
+
proto.user.AppleLoginRequest.prototype.getLocale = function() {
|
|
9626
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
9627
|
+
};
|
|
9628
|
+
|
|
9629
|
+
|
|
9630
|
+
/**
|
|
9631
|
+
* @param {string} value
|
|
9632
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9633
|
+
*/
|
|
9634
|
+
proto.user.AppleLoginRequest.prototype.setLocale = function(value) {
|
|
9635
|
+
return jspb.Message.setField(this, 8, value);
|
|
9636
|
+
};
|
|
9637
|
+
|
|
9638
|
+
|
|
9639
|
+
/**
|
|
9640
|
+
* Clears the field making it undefined.
|
|
9641
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9642
|
+
*/
|
|
9643
|
+
proto.user.AppleLoginRequest.prototype.clearLocale = function() {
|
|
9644
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
9645
|
+
};
|
|
9646
|
+
|
|
9647
|
+
|
|
9648
|
+
/**
|
|
9649
|
+
* Returns whether this field is set.
|
|
9650
|
+
* @return {boolean}
|
|
9651
|
+
*/
|
|
9652
|
+
proto.user.AppleLoginRequest.prototype.hasLocale = function() {
|
|
9653
|
+
return jspb.Message.getField(this, 8) != null;
|
|
9654
|
+
};
|
|
9655
|
+
|
|
9656
|
+
|
|
9657
|
+
/**
|
|
9658
|
+
* optional int32 affiliate_id = 9;
|
|
9659
|
+
* @return {number}
|
|
9660
|
+
*/
|
|
9661
|
+
proto.user.AppleLoginRequest.prototype.getAffiliateId = function() {
|
|
9662
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
|
|
9663
|
+
};
|
|
9664
|
+
|
|
9665
|
+
|
|
9666
|
+
/**
|
|
9667
|
+
* @param {number} value
|
|
9668
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9669
|
+
*/
|
|
9670
|
+
proto.user.AppleLoginRequest.prototype.setAffiliateId = function(value) {
|
|
9671
|
+
return jspb.Message.setField(this, 9, value);
|
|
9672
|
+
};
|
|
9673
|
+
|
|
9674
|
+
|
|
9675
|
+
/**
|
|
9676
|
+
* Clears the field making it undefined.
|
|
9677
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9678
|
+
*/
|
|
9679
|
+
proto.user.AppleLoginRequest.prototype.clearAffiliateId = function() {
|
|
9680
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
9681
|
+
};
|
|
9682
|
+
|
|
9683
|
+
|
|
9684
|
+
/**
|
|
9685
|
+
* Returns whether this field is set.
|
|
9686
|
+
* @return {boolean}
|
|
9687
|
+
*/
|
|
9688
|
+
proto.user.AppleLoginRequest.prototype.hasAffiliateId = function() {
|
|
9689
|
+
return jspb.Message.getField(this, 9) != null;
|
|
9690
|
+
};
|
|
9691
|
+
|
|
9692
|
+
|
|
9693
|
+
/**
|
|
9694
|
+
* optional string affiliate_info = 10;
|
|
9695
|
+
* @return {string}
|
|
9696
|
+
*/
|
|
9697
|
+
proto.user.AppleLoginRequest.prototype.getAffiliateInfo = function() {
|
|
9698
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
9699
|
+
};
|
|
9700
|
+
|
|
9701
|
+
|
|
9702
|
+
/**
|
|
9703
|
+
* @param {string} value
|
|
9704
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9705
|
+
*/
|
|
9706
|
+
proto.user.AppleLoginRequest.prototype.setAffiliateInfo = function(value) {
|
|
9707
|
+
return jspb.Message.setField(this, 10, value);
|
|
9708
|
+
};
|
|
9709
|
+
|
|
9710
|
+
|
|
9711
|
+
/**
|
|
9712
|
+
* Clears the field making it undefined.
|
|
9713
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9714
|
+
*/
|
|
9715
|
+
proto.user.AppleLoginRequest.prototype.clearAffiliateInfo = function() {
|
|
9716
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
9717
|
+
};
|
|
9718
|
+
|
|
9719
|
+
|
|
9720
|
+
/**
|
|
9721
|
+
* Returns whether this field is set.
|
|
9722
|
+
* @return {boolean}
|
|
9723
|
+
*/
|
|
9724
|
+
proto.user.AppleLoginRequest.prototype.hasAffiliateInfo = function() {
|
|
9725
|
+
return jspb.Message.getField(this, 10) != null;
|
|
9726
|
+
};
|
|
9727
|
+
|
|
9728
|
+
|
|
9729
|
+
/**
|
|
9730
|
+
* optional string promo_code = 11;
|
|
9731
|
+
* @return {string}
|
|
9732
|
+
*/
|
|
9733
|
+
proto.user.AppleLoginRequest.prototype.getPromoCode = function() {
|
|
9734
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
9735
|
+
};
|
|
9736
|
+
|
|
9737
|
+
|
|
9738
|
+
/**
|
|
9739
|
+
* @param {string} value
|
|
9740
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9741
|
+
*/
|
|
9742
|
+
proto.user.AppleLoginRequest.prototype.setPromoCode = function(value) {
|
|
9743
|
+
return jspb.Message.setField(this, 11, value);
|
|
9744
|
+
};
|
|
9745
|
+
|
|
9746
|
+
|
|
9747
|
+
/**
|
|
9748
|
+
* Clears the field making it undefined.
|
|
9749
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9750
|
+
*/
|
|
9751
|
+
proto.user.AppleLoginRequest.prototype.clearPromoCode = function() {
|
|
9752
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
9753
|
+
};
|
|
9754
|
+
|
|
9755
|
+
|
|
9756
|
+
/**
|
|
9757
|
+
* Returns whether this field is set.
|
|
9758
|
+
* @return {boolean}
|
|
9759
|
+
*/
|
|
9760
|
+
proto.user.AppleLoginRequest.prototype.hasPromoCode = function() {
|
|
9761
|
+
return jspb.Message.getField(this, 11) != null;
|
|
9762
|
+
};
|
|
9763
|
+
|
|
9764
|
+
|
|
9765
|
+
/**
|
|
9766
|
+
* optional string seon_session = 12;
|
|
9767
|
+
* @return {string}
|
|
9768
|
+
*/
|
|
9769
|
+
proto.user.AppleLoginRequest.prototype.getSeonSession = function() {
|
|
9770
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
9771
|
+
};
|
|
9772
|
+
|
|
9773
|
+
|
|
9774
|
+
/**
|
|
9775
|
+
* @param {string} value
|
|
9776
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9777
|
+
*/
|
|
9778
|
+
proto.user.AppleLoginRequest.prototype.setSeonSession = function(value) {
|
|
9779
|
+
return jspb.Message.setField(this, 12, value);
|
|
9780
|
+
};
|
|
9781
|
+
|
|
9782
|
+
|
|
9783
|
+
/**
|
|
9784
|
+
* Clears the field making it undefined.
|
|
9785
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9786
|
+
*/
|
|
9787
|
+
proto.user.AppleLoginRequest.prototype.clearSeonSession = function() {
|
|
9788
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
9789
|
+
};
|
|
9790
|
+
|
|
9791
|
+
|
|
9792
|
+
/**
|
|
9793
|
+
* Returns whether this field is set.
|
|
9794
|
+
* @return {boolean}
|
|
9795
|
+
*/
|
|
9796
|
+
proto.user.AppleLoginRequest.prototype.hasSeonSession = function() {
|
|
9797
|
+
return jspb.Message.getField(this, 12) != null;
|
|
9798
|
+
};
|
|
9799
|
+
|
|
9800
|
+
|
|
9801
|
+
/**
|
|
9802
|
+
* optional string request_id = 13;
|
|
9803
|
+
* @return {string}
|
|
9804
|
+
*/
|
|
9805
|
+
proto.user.AppleLoginRequest.prototype.getRequestId = function() {
|
|
9806
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
9807
|
+
};
|
|
9808
|
+
|
|
9809
|
+
|
|
9810
|
+
/**
|
|
9811
|
+
* @param {string} value
|
|
9812
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9813
|
+
*/
|
|
9814
|
+
proto.user.AppleLoginRequest.prototype.setRequestId = function(value) {
|
|
9815
|
+
return jspb.Message.setField(this, 13, value);
|
|
9816
|
+
};
|
|
9817
|
+
|
|
9818
|
+
|
|
9819
|
+
/**
|
|
9820
|
+
* Clears the field making it undefined.
|
|
9821
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9822
|
+
*/
|
|
9823
|
+
proto.user.AppleLoginRequest.prototype.clearRequestId = function() {
|
|
9824
|
+
return jspb.Message.setField(this, 13, undefined);
|
|
9825
|
+
};
|
|
9826
|
+
|
|
9827
|
+
|
|
9828
|
+
/**
|
|
9829
|
+
* Returns whether this field is set.
|
|
9830
|
+
* @return {boolean}
|
|
9831
|
+
*/
|
|
9832
|
+
proto.user.AppleLoginRequest.prototype.hasRequestId = function() {
|
|
9833
|
+
return jspb.Message.getField(this, 13) != null;
|
|
9834
|
+
};
|
|
9835
|
+
|
|
9836
|
+
|
|
9837
|
+
/**
|
|
9838
|
+
* optional string correlation_id = 14;
|
|
9839
|
+
* @return {string}
|
|
9840
|
+
*/
|
|
9841
|
+
proto.user.AppleLoginRequest.prototype.getCorrelationId = function() {
|
|
9842
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
9843
|
+
};
|
|
9844
|
+
|
|
9845
|
+
|
|
9846
|
+
/**
|
|
9847
|
+
* @param {string} value
|
|
9848
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9849
|
+
*/
|
|
9850
|
+
proto.user.AppleLoginRequest.prototype.setCorrelationId = function(value) {
|
|
9851
|
+
return jspb.Message.setField(this, 14, value);
|
|
9852
|
+
};
|
|
9853
|
+
|
|
9854
|
+
|
|
9855
|
+
/**
|
|
9856
|
+
* Clears the field making it undefined.
|
|
9857
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9858
|
+
*/
|
|
9859
|
+
proto.user.AppleLoginRequest.prototype.clearCorrelationId = function() {
|
|
9860
|
+
return jspb.Message.setField(this, 14, undefined);
|
|
9861
|
+
};
|
|
9862
|
+
|
|
9863
|
+
|
|
9864
|
+
/**
|
|
9865
|
+
* Returns whether this field is set.
|
|
9866
|
+
* @return {boolean}
|
|
9867
|
+
*/
|
|
9868
|
+
proto.user.AppleLoginRequest.prototype.hasCorrelationId = function() {
|
|
9869
|
+
return jspb.Message.getField(this, 14) != null;
|
|
9870
|
+
};
|
|
9871
|
+
|
|
9872
|
+
|
|
9873
|
+
/**
|
|
9874
|
+
* optional string user_agent = 15;
|
|
9875
|
+
* @return {string}
|
|
9876
|
+
*/
|
|
9877
|
+
proto.user.AppleLoginRequest.prototype.getUserAgent = function() {
|
|
9878
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
9879
|
+
};
|
|
9880
|
+
|
|
9881
|
+
|
|
9882
|
+
/**
|
|
9883
|
+
* @param {string} value
|
|
9884
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9885
|
+
*/
|
|
9886
|
+
proto.user.AppleLoginRequest.prototype.setUserAgent = function(value) {
|
|
9887
|
+
return jspb.Message.setField(this, 15, value);
|
|
9888
|
+
};
|
|
9889
|
+
|
|
9890
|
+
|
|
9891
|
+
/**
|
|
9892
|
+
* Clears the field making it undefined.
|
|
9893
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9894
|
+
*/
|
|
9895
|
+
proto.user.AppleLoginRequest.prototype.clearUserAgent = function() {
|
|
9896
|
+
return jspb.Message.setField(this, 15, undefined);
|
|
9897
|
+
};
|
|
9898
|
+
|
|
9899
|
+
|
|
9900
|
+
/**
|
|
9901
|
+
* Returns whether this field is set.
|
|
9902
|
+
* @return {boolean}
|
|
9903
|
+
*/
|
|
9904
|
+
proto.user.AppleLoginRequest.prototype.hasUserAgent = function() {
|
|
9905
|
+
return jspb.Message.getField(this, 15) != null;
|
|
9906
|
+
};
|
|
9907
|
+
|
|
9908
|
+
|
|
9909
|
+
/**
|
|
9910
|
+
* optional string identity_token = 16;
|
|
9911
|
+
* @return {string}
|
|
9912
|
+
*/
|
|
9913
|
+
proto.user.AppleLoginRequest.prototype.getIdentityToken = function() {
|
|
9914
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
9915
|
+
};
|
|
9916
|
+
|
|
9917
|
+
|
|
9918
|
+
/**
|
|
9919
|
+
* @param {string} value
|
|
9920
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9921
|
+
*/
|
|
9922
|
+
proto.user.AppleLoginRequest.prototype.setIdentityToken = function(value) {
|
|
9923
|
+
return jspb.Message.setField(this, 16, value);
|
|
9924
|
+
};
|
|
9925
|
+
|
|
9926
|
+
|
|
9927
|
+
/**
|
|
9928
|
+
* Clears the field making it undefined.
|
|
9929
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9930
|
+
*/
|
|
9931
|
+
proto.user.AppleLoginRequest.prototype.clearIdentityToken = function() {
|
|
9932
|
+
return jspb.Message.setField(this, 16, undefined);
|
|
9933
|
+
};
|
|
9934
|
+
|
|
9935
|
+
|
|
9936
|
+
/**
|
|
9937
|
+
* Returns whether this field is set.
|
|
9938
|
+
* @return {boolean}
|
|
9939
|
+
*/
|
|
9940
|
+
proto.user.AppleLoginRequest.prototype.hasIdentityToken = function() {
|
|
9941
|
+
return jspb.Message.getField(this, 16) != null;
|
|
9942
|
+
};
|
|
9943
|
+
|
|
9944
|
+
|
|
9945
|
+
/**
|
|
9946
|
+
* optional string first_name = 17;
|
|
9947
|
+
* @return {string}
|
|
9948
|
+
*/
|
|
9949
|
+
proto.user.AppleLoginRequest.prototype.getFirstName = function() {
|
|
9950
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
9951
|
+
};
|
|
9952
|
+
|
|
9953
|
+
|
|
9954
|
+
/**
|
|
9955
|
+
* @param {string} value
|
|
9956
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9957
|
+
*/
|
|
9958
|
+
proto.user.AppleLoginRequest.prototype.setFirstName = function(value) {
|
|
9959
|
+
return jspb.Message.setField(this, 17, value);
|
|
9960
|
+
};
|
|
9961
|
+
|
|
9962
|
+
|
|
9963
|
+
/**
|
|
9964
|
+
* Clears the field making it undefined.
|
|
9965
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9966
|
+
*/
|
|
9967
|
+
proto.user.AppleLoginRequest.prototype.clearFirstName = function() {
|
|
9968
|
+
return jspb.Message.setField(this, 17, undefined);
|
|
9969
|
+
};
|
|
9970
|
+
|
|
9971
|
+
|
|
9972
|
+
/**
|
|
9973
|
+
* Returns whether this field is set.
|
|
9974
|
+
* @return {boolean}
|
|
9975
|
+
*/
|
|
9976
|
+
proto.user.AppleLoginRequest.prototype.hasFirstName = function() {
|
|
9977
|
+
return jspb.Message.getField(this, 17) != null;
|
|
9978
|
+
};
|
|
9979
|
+
|
|
9980
|
+
|
|
9981
|
+
/**
|
|
9982
|
+
* optional string last_name = 18;
|
|
9983
|
+
* @return {string}
|
|
9984
|
+
*/
|
|
9985
|
+
proto.user.AppleLoginRequest.prototype.getLastName = function() {
|
|
9986
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 18, ""));
|
|
9987
|
+
};
|
|
9988
|
+
|
|
9989
|
+
|
|
9990
|
+
/**
|
|
9991
|
+
* @param {string} value
|
|
9992
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
9993
|
+
*/
|
|
9994
|
+
proto.user.AppleLoginRequest.prototype.setLastName = function(value) {
|
|
9995
|
+
return jspb.Message.setField(this, 18, value);
|
|
9996
|
+
};
|
|
9997
|
+
|
|
9998
|
+
|
|
9999
|
+
/**
|
|
10000
|
+
* Clears the field making it undefined.
|
|
10001
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
10002
|
+
*/
|
|
10003
|
+
proto.user.AppleLoginRequest.prototype.clearLastName = function() {
|
|
10004
|
+
return jspb.Message.setField(this, 18, undefined);
|
|
10005
|
+
};
|
|
10006
|
+
|
|
10007
|
+
|
|
10008
|
+
/**
|
|
10009
|
+
* Returns whether this field is set.
|
|
10010
|
+
* @return {boolean}
|
|
10011
|
+
*/
|
|
10012
|
+
proto.user.AppleLoginRequest.prototype.hasLastName = function() {
|
|
10013
|
+
return jspb.Message.getField(this, 18) != null;
|
|
10014
|
+
};
|
|
10015
|
+
|
|
10016
|
+
|
|
10017
|
+
/**
|
|
10018
|
+
* optional string email = 19;
|
|
10019
|
+
* @return {string}
|
|
10020
|
+
*/
|
|
10021
|
+
proto.user.AppleLoginRequest.prototype.getEmail = function() {
|
|
10022
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 19, ""));
|
|
10023
|
+
};
|
|
10024
|
+
|
|
10025
|
+
|
|
10026
|
+
/**
|
|
10027
|
+
* @param {string} value
|
|
10028
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
10029
|
+
*/
|
|
10030
|
+
proto.user.AppleLoginRequest.prototype.setEmail = function(value) {
|
|
10031
|
+
return jspb.Message.setField(this, 19, value);
|
|
10032
|
+
};
|
|
10033
|
+
|
|
10034
|
+
|
|
10035
|
+
/**
|
|
10036
|
+
* Clears the field making it undefined.
|
|
10037
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
10038
|
+
*/
|
|
10039
|
+
proto.user.AppleLoginRequest.prototype.clearEmail = function() {
|
|
10040
|
+
return jspb.Message.setField(this, 19, undefined);
|
|
10041
|
+
};
|
|
10042
|
+
|
|
10043
|
+
|
|
10044
|
+
/**
|
|
10045
|
+
* Returns whether this field is set.
|
|
10046
|
+
* @return {boolean}
|
|
10047
|
+
*/
|
|
10048
|
+
proto.user.AppleLoginRequest.prototype.hasEmail = function() {
|
|
10049
|
+
return jspb.Message.getField(this, 19) != null;
|
|
10050
|
+
};
|
|
10051
|
+
|
|
10052
|
+
|
|
10053
|
+
/**
|
|
10054
|
+
* optional string nonce = 20;
|
|
10055
|
+
* @return {string}
|
|
10056
|
+
*/
|
|
10057
|
+
proto.user.AppleLoginRequest.prototype.getNonce = function() {
|
|
10058
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 20, ""));
|
|
10059
|
+
};
|
|
10060
|
+
|
|
10061
|
+
|
|
10062
|
+
/**
|
|
10063
|
+
* @param {string} value
|
|
10064
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
10065
|
+
*/
|
|
10066
|
+
proto.user.AppleLoginRequest.prototype.setNonce = function(value) {
|
|
10067
|
+
return jspb.Message.setField(this, 20, value);
|
|
10068
|
+
};
|
|
10069
|
+
|
|
10070
|
+
|
|
10071
|
+
/**
|
|
10072
|
+
* Clears the field making it undefined.
|
|
10073
|
+
* @return {!proto.user.AppleLoginRequest} returns this
|
|
10074
|
+
*/
|
|
10075
|
+
proto.user.AppleLoginRequest.prototype.clearNonce = function() {
|
|
10076
|
+
return jspb.Message.setField(this, 20, undefined);
|
|
10077
|
+
};
|
|
10078
|
+
|
|
10079
|
+
|
|
10080
|
+
/**
|
|
10081
|
+
* Returns whether this field is set.
|
|
10082
|
+
* @return {boolean}
|
|
10083
|
+
*/
|
|
10084
|
+
proto.user.AppleLoginRequest.prototype.hasNonce = function() {
|
|
10085
|
+
return jspb.Message.getField(this, 20) != null;
|
|
10086
|
+
};
|
|
10087
|
+
|
|
10088
|
+
|
|
10089
|
+
|
|
10090
|
+
|
|
10091
|
+
|
|
9046
10092
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
9047
10093
|
/**
|
|
9048
10094
|
* Creates an object representation of this proto.
|