protobuf-platform 1.2.612 → 1.2.613
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/analytic/analytic.proto +8 -1
- package/analytic/analytic_pb.js +244 -2
- package/package.json +1 -1
- package/user/user.proto +4 -0
- package/user/user_grpc_pb.js +22 -0
- package/user/user_pb.js +152 -0
package/analytic/analytic.proto
CHANGED
|
@@ -292,6 +292,12 @@ message ScaleoActivityBucketItem {
|
|
|
292
292
|
string currency = 7; // currency code used by analytic for this aggregation
|
|
293
293
|
}
|
|
294
294
|
|
|
295
|
+
// Multi-field sort item; array order in order_by defines sort priority.
|
|
296
|
+
message AffiliateWageredSortItem {
|
|
297
|
+
string field = 1; // V1 supported: "wagered", "id" ("id" means internal user_id).
|
|
298
|
+
string direction = 2; // Supported: "asc", "desc".
|
|
299
|
+
}
|
|
300
|
+
|
|
295
301
|
// Affiliate Data API
|
|
296
302
|
// Global aggregation, filtering, and sorting occur before pagination.
|
|
297
303
|
message GetAffiliateWageredPlayersRequest {
|
|
@@ -300,9 +306,10 @@ message GetAffiliateWageredPlayersRequest {
|
|
|
300
306
|
string date_end = 3; // UTC "YYYY-MM-DD HH:MM:SS"; half-open interval [date_start, date_end).
|
|
301
307
|
int32 limit = 4;
|
|
302
308
|
int32 offset = 5;
|
|
303
|
-
optional string order = 6; // Implementation-defined; supports deterministic wagered asc/desc ordering.
|
|
309
|
+
optional string order = 6; // Legacy single-field sort; prefer order_by. Implementation-defined; supports deterministic wagered asc/desc ordering.
|
|
304
310
|
optional string wagered_min = 7; // Brand base currency filter; applied before pagination.
|
|
305
311
|
optional string wagered_max = 8; // Brand base currency filter; applied before pagination.
|
|
312
|
+
repeated AffiliateWageredSortItem order_by = 9; // Takes precedence over legacy order when present. Duplicate sort fields are invalid. Deterministic tie-breaking may still be applied by analytic-service when required.
|
|
306
313
|
}
|
|
307
314
|
message AffiliateWageredPlayerItem {
|
|
308
315
|
int32 user_id = 1;
|
package/analytic/analytic_pb.js
CHANGED
|
@@ -22,6 +22,7 @@ var global = (function() {
|
|
|
22
22
|
}.call(null));
|
|
23
23
|
|
|
24
24
|
goog.exportSymbol('proto.analytic.AffiliateWageredPlayerItem', null, global);
|
|
25
|
+
goog.exportSymbol('proto.analytic.AffiliateWageredSortItem', null, global);
|
|
25
26
|
goog.exportSymbol('proto.analytic.DashboardRequest', null, global);
|
|
26
27
|
goog.exportSymbol('proto.analytic.DashboardResponse', null, global);
|
|
27
28
|
goog.exportSymbol('proto.analytic.DashboardTurnoverSeries', null, global);
|
|
@@ -606,9 +607,30 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
606
607
|
* @extends {jspb.Message}
|
|
607
608
|
* @constructor
|
|
608
609
|
*/
|
|
609
|
-
proto.analytic.
|
|
610
|
+
proto.analytic.AffiliateWageredSortItem = function(opt_data) {
|
|
610
611
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
611
612
|
};
|
|
613
|
+
goog.inherits(proto.analytic.AffiliateWageredSortItem, jspb.Message);
|
|
614
|
+
if (goog.DEBUG && !COMPILED) {
|
|
615
|
+
/**
|
|
616
|
+
* @public
|
|
617
|
+
* @override
|
|
618
|
+
*/
|
|
619
|
+
proto.analytic.AffiliateWageredSortItem.displayName = 'proto.analytic.AffiliateWageredSortItem';
|
|
620
|
+
}
|
|
621
|
+
/**
|
|
622
|
+
* Generated by JsPbCodeGenerator.
|
|
623
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
624
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
625
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
626
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
627
|
+
* valid.
|
|
628
|
+
* @extends {jspb.Message}
|
|
629
|
+
* @constructor
|
|
630
|
+
*/
|
|
631
|
+
proto.analytic.GetAffiliateWageredPlayersRequest = function(opt_data) {
|
|
632
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.analytic.GetAffiliateWageredPlayersRequest.repeatedFields_, null);
|
|
633
|
+
};
|
|
612
634
|
goog.inherits(proto.analytic.GetAffiliateWageredPlayersRequest, jspb.Message);
|
|
613
635
|
if (goog.DEBUG && !COMPILED) {
|
|
614
636
|
/**
|
|
@@ -11371,6 +11393,173 @@ proto.analytic.ScaleoActivityBucketItem.prototype.setCurrency = function(value)
|
|
|
11371
11393
|
|
|
11372
11394
|
|
|
11373
11395
|
|
|
11396
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11397
|
+
/**
|
|
11398
|
+
* Creates an object representation of this proto.
|
|
11399
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11400
|
+
* Optional fields that are not set will be set to undefined.
|
|
11401
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11402
|
+
* For the list of reserved names please see:
|
|
11403
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11404
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11405
|
+
* JSPB instance for transitional soy proto support:
|
|
11406
|
+
* http://goto/soy-param-migration
|
|
11407
|
+
* @return {!Object}
|
|
11408
|
+
*/
|
|
11409
|
+
proto.analytic.AffiliateWageredSortItem.prototype.toObject = function(opt_includeInstance) {
|
|
11410
|
+
return proto.analytic.AffiliateWageredSortItem.toObject(opt_includeInstance, this);
|
|
11411
|
+
};
|
|
11412
|
+
|
|
11413
|
+
|
|
11414
|
+
/**
|
|
11415
|
+
* Static version of the {@see toObject} method.
|
|
11416
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11417
|
+
* the JSPB instance for transitional soy proto support:
|
|
11418
|
+
* http://goto/soy-param-migration
|
|
11419
|
+
* @param {!proto.analytic.AffiliateWageredSortItem} msg The msg instance to transform.
|
|
11420
|
+
* @return {!Object}
|
|
11421
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11422
|
+
*/
|
|
11423
|
+
proto.analytic.AffiliateWageredSortItem.toObject = function(includeInstance, msg) {
|
|
11424
|
+
var f, obj = {
|
|
11425
|
+
field: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
11426
|
+
direction: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
11427
|
+
};
|
|
11428
|
+
|
|
11429
|
+
if (includeInstance) {
|
|
11430
|
+
obj.$jspbMessageInstance = msg;
|
|
11431
|
+
}
|
|
11432
|
+
return obj;
|
|
11433
|
+
};
|
|
11434
|
+
}
|
|
11435
|
+
|
|
11436
|
+
|
|
11437
|
+
/**
|
|
11438
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11439
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11440
|
+
* @return {!proto.analytic.AffiliateWageredSortItem}
|
|
11441
|
+
*/
|
|
11442
|
+
proto.analytic.AffiliateWageredSortItem.deserializeBinary = function(bytes) {
|
|
11443
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11444
|
+
var msg = new proto.analytic.AffiliateWageredSortItem;
|
|
11445
|
+
return proto.analytic.AffiliateWageredSortItem.deserializeBinaryFromReader(msg, reader);
|
|
11446
|
+
};
|
|
11447
|
+
|
|
11448
|
+
|
|
11449
|
+
/**
|
|
11450
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11451
|
+
* given reader into the given message object.
|
|
11452
|
+
* @param {!proto.analytic.AffiliateWageredSortItem} msg The message object to deserialize into.
|
|
11453
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11454
|
+
* @return {!proto.analytic.AffiliateWageredSortItem}
|
|
11455
|
+
*/
|
|
11456
|
+
proto.analytic.AffiliateWageredSortItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
11457
|
+
while (reader.nextField()) {
|
|
11458
|
+
if (reader.isEndGroup()) {
|
|
11459
|
+
break;
|
|
11460
|
+
}
|
|
11461
|
+
var field = reader.getFieldNumber();
|
|
11462
|
+
switch (field) {
|
|
11463
|
+
case 1:
|
|
11464
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11465
|
+
msg.setField(value);
|
|
11466
|
+
break;
|
|
11467
|
+
case 2:
|
|
11468
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11469
|
+
msg.setDirection(value);
|
|
11470
|
+
break;
|
|
11471
|
+
default:
|
|
11472
|
+
reader.skipField();
|
|
11473
|
+
break;
|
|
11474
|
+
}
|
|
11475
|
+
}
|
|
11476
|
+
return msg;
|
|
11477
|
+
};
|
|
11478
|
+
|
|
11479
|
+
|
|
11480
|
+
/**
|
|
11481
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11482
|
+
* @return {!Uint8Array}
|
|
11483
|
+
*/
|
|
11484
|
+
proto.analytic.AffiliateWageredSortItem.prototype.serializeBinary = function() {
|
|
11485
|
+
var writer = new jspb.BinaryWriter();
|
|
11486
|
+
proto.analytic.AffiliateWageredSortItem.serializeBinaryToWriter(this, writer);
|
|
11487
|
+
return writer.getResultBuffer();
|
|
11488
|
+
};
|
|
11489
|
+
|
|
11490
|
+
|
|
11491
|
+
/**
|
|
11492
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11493
|
+
* format), writing to the given BinaryWriter.
|
|
11494
|
+
* @param {!proto.analytic.AffiliateWageredSortItem} message
|
|
11495
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11496
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11497
|
+
*/
|
|
11498
|
+
proto.analytic.AffiliateWageredSortItem.serializeBinaryToWriter = function(message, writer) {
|
|
11499
|
+
var f = undefined;
|
|
11500
|
+
f = message.getField();
|
|
11501
|
+
if (f.length > 0) {
|
|
11502
|
+
writer.writeString(
|
|
11503
|
+
1,
|
|
11504
|
+
f
|
|
11505
|
+
);
|
|
11506
|
+
}
|
|
11507
|
+
f = message.getDirection();
|
|
11508
|
+
if (f.length > 0) {
|
|
11509
|
+
writer.writeString(
|
|
11510
|
+
2,
|
|
11511
|
+
f
|
|
11512
|
+
);
|
|
11513
|
+
}
|
|
11514
|
+
};
|
|
11515
|
+
|
|
11516
|
+
|
|
11517
|
+
/**
|
|
11518
|
+
* optional string field = 1;
|
|
11519
|
+
* @return {string}
|
|
11520
|
+
*/
|
|
11521
|
+
proto.analytic.AffiliateWageredSortItem.prototype.getField = function() {
|
|
11522
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
11523
|
+
};
|
|
11524
|
+
|
|
11525
|
+
|
|
11526
|
+
/**
|
|
11527
|
+
* @param {string} value
|
|
11528
|
+
* @return {!proto.analytic.AffiliateWageredSortItem} returns this
|
|
11529
|
+
*/
|
|
11530
|
+
proto.analytic.AffiliateWageredSortItem.prototype.setField = function(value) {
|
|
11531
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
11532
|
+
};
|
|
11533
|
+
|
|
11534
|
+
|
|
11535
|
+
/**
|
|
11536
|
+
* optional string direction = 2;
|
|
11537
|
+
* @return {string}
|
|
11538
|
+
*/
|
|
11539
|
+
proto.analytic.AffiliateWageredSortItem.prototype.getDirection = function() {
|
|
11540
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11541
|
+
};
|
|
11542
|
+
|
|
11543
|
+
|
|
11544
|
+
/**
|
|
11545
|
+
* @param {string} value
|
|
11546
|
+
* @return {!proto.analytic.AffiliateWageredSortItem} returns this
|
|
11547
|
+
*/
|
|
11548
|
+
proto.analytic.AffiliateWageredSortItem.prototype.setDirection = function(value) {
|
|
11549
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11550
|
+
};
|
|
11551
|
+
|
|
11552
|
+
|
|
11553
|
+
|
|
11554
|
+
/**
|
|
11555
|
+
* List of repeated fields within this message type.
|
|
11556
|
+
* @private {!Array<number>}
|
|
11557
|
+
* @const
|
|
11558
|
+
*/
|
|
11559
|
+
proto.analytic.GetAffiliateWageredPlayersRequest.repeatedFields_ = [9];
|
|
11560
|
+
|
|
11561
|
+
|
|
11562
|
+
|
|
11374
11563
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11375
11564
|
/**
|
|
11376
11565
|
* Creates an object representation of this proto.
|
|
@@ -11407,7 +11596,9 @@ proto.analytic.GetAffiliateWageredPlayersRequest.toObject = function(includeInst
|
|
|
11407
11596
|
offset: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
11408
11597
|
order: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
11409
11598
|
wageredMin: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11410
|
-
wageredMax: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
11599
|
+
wageredMax: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11600
|
+
orderByList: jspb.Message.toObjectList(msg.getOrderByList(),
|
|
11601
|
+
proto.analytic.AffiliateWageredSortItem.toObject, includeInstance)
|
|
11411
11602
|
};
|
|
11412
11603
|
|
|
11413
11604
|
if (includeInstance) {
|
|
@@ -11476,6 +11667,11 @@ proto.analytic.GetAffiliateWageredPlayersRequest.deserializeBinaryFromReader = f
|
|
|
11476
11667
|
var value = /** @type {string} */ (reader.readString());
|
|
11477
11668
|
msg.setWageredMax(value);
|
|
11478
11669
|
break;
|
|
11670
|
+
case 9:
|
|
11671
|
+
var value = new proto.analytic.AffiliateWageredSortItem;
|
|
11672
|
+
reader.readMessage(value,proto.analytic.AffiliateWageredSortItem.deserializeBinaryFromReader);
|
|
11673
|
+
msg.addOrderBy(value);
|
|
11674
|
+
break;
|
|
11479
11675
|
default:
|
|
11480
11676
|
reader.skipField();
|
|
11481
11677
|
break;
|
|
@@ -11561,6 +11757,14 @@ proto.analytic.GetAffiliateWageredPlayersRequest.serializeBinaryToWriter = funct
|
|
|
11561
11757
|
f
|
|
11562
11758
|
);
|
|
11563
11759
|
}
|
|
11760
|
+
f = message.getOrderByList();
|
|
11761
|
+
if (f.length > 0) {
|
|
11762
|
+
writer.writeRepeatedMessage(
|
|
11763
|
+
9,
|
|
11764
|
+
f,
|
|
11765
|
+
proto.analytic.AffiliateWageredSortItem.serializeBinaryToWriter
|
|
11766
|
+
);
|
|
11767
|
+
}
|
|
11564
11768
|
};
|
|
11565
11769
|
|
|
11566
11770
|
|
|
@@ -11762,6 +11966,44 @@ proto.analytic.GetAffiliateWageredPlayersRequest.prototype.hasWageredMax = funct
|
|
|
11762
11966
|
};
|
|
11763
11967
|
|
|
11764
11968
|
|
|
11969
|
+
/**
|
|
11970
|
+
* repeated AffiliateWageredSortItem order_by = 9;
|
|
11971
|
+
* @return {!Array<!proto.analytic.AffiliateWageredSortItem>}
|
|
11972
|
+
*/
|
|
11973
|
+
proto.analytic.GetAffiliateWageredPlayersRequest.prototype.getOrderByList = function() {
|
|
11974
|
+
return /** @type{!Array<!proto.analytic.AffiliateWageredSortItem>} */ (
|
|
11975
|
+
jspb.Message.getRepeatedWrapperField(this, proto.analytic.AffiliateWageredSortItem, 9));
|
|
11976
|
+
};
|
|
11977
|
+
|
|
11978
|
+
|
|
11979
|
+
/**
|
|
11980
|
+
* @param {!Array<!proto.analytic.AffiliateWageredSortItem>} value
|
|
11981
|
+
* @return {!proto.analytic.GetAffiliateWageredPlayersRequest} returns this
|
|
11982
|
+
*/
|
|
11983
|
+
proto.analytic.GetAffiliateWageredPlayersRequest.prototype.setOrderByList = function(value) {
|
|
11984
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
11985
|
+
};
|
|
11986
|
+
|
|
11987
|
+
|
|
11988
|
+
/**
|
|
11989
|
+
* @param {!proto.analytic.AffiliateWageredSortItem=} opt_value
|
|
11990
|
+
* @param {number=} opt_index
|
|
11991
|
+
* @return {!proto.analytic.AffiliateWageredSortItem}
|
|
11992
|
+
*/
|
|
11993
|
+
proto.analytic.GetAffiliateWageredPlayersRequest.prototype.addOrderBy = function(opt_value, opt_index) {
|
|
11994
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.analytic.AffiliateWageredSortItem, opt_index);
|
|
11995
|
+
};
|
|
11996
|
+
|
|
11997
|
+
|
|
11998
|
+
/**
|
|
11999
|
+
* Clears the list making it empty but non-null.
|
|
12000
|
+
* @return {!proto.analytic.GetAffiliateWageredPlayersRequest} returns this
|
|
12001
|
+
*/
|
|
12002
|
+
proto.analytic.GetAffiliateWageredPlayersRequest.prototype.clearOrderByList = function() {
|
|
12003
|
+
return this.setOrderByList([]);
|
|
12004
|
+
};
|
|
12005
|
+
|
|
12006
|
+
|
|
11765
12007
|
|
|
11766
12008
|
|
|
11767
12009
|
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -176,6 +176,7 @@ service User {
|
|
|
176
176
|
//Confirmations
|
|
177
177
|
rpc attemptEmailConfirmation(EmailConfirmationRequest) returns (ConfirmationStatusResponse);
|
|
178
178
|
rpc setEmailConfirmed(EmailConfirmedRequest) returns (ConfirmationStatusResponse);
|
|
179
|
+
rpc requestEmailVerification(RequestEmailVerificationRequest) returns (ConfirmationStatusResponse);
|
|
179
180
|
rpc attemptResetPasswordConfirmation(ResetPasswordConfirmationRequest) returns (ConfirmationStatusResponse);
|
|
180
181
|
rpc setNewPassword(SetNewPasswordConfirmedRequest) returns (ConfirmationStatusResponse);
|
|
181
182
|
rpc attemptSmsResetPasswordConfirmation(SmsResetPasswordConfirmationRequest) returns (ConfirmationStatusResponse);
|
|
@@ -2052,6 +2053,9 @@ message ConfirmationStatusResponse {
|
|
|
2052
2053
|
message EmailConfirmedRequest {
|
|
2053
2054
|
string token = 1;
|
|
2054
2055
|
}
|
|
2056
|
+
message RequestEmailVerificationRequest {
|
|
2057
|
+
int32 user_id = 1;
|
|
2058
|
+
}
|
|
2055
2059
|
message SetNewPasswordConfirmedRequest {
|
|
2056
2060
|
string token = 1;
|
|
2057
2061
|
string new_password = 2;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -1390,6 +1390,17 @@ function deserialize_user_ReplaceVerificationProfileDataRequirementsResponse(buf
|
|
|
1390
1390
|
return user_pb.ReplaceVerificationProfileDataRequirementsResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1391
1391
|
}
|
|
1392
1392
|
|
|
1393
|
+
function serialize_user_RequestEmailVerificationRequest(arg) {
|
|
1394
|
+
if (!(arg instanceof user_pb.RequestEmailVerificationRequest)) {
|
|
1395
|
+
throw new Error('Expected argument of type user.RequestEmailVerificationRequest');
|
|
1396
|
+
}
|
|
1397
|
+
return Buffer.from(arg.serializeBinary());
|
|
1398
|
+
}
|
|
1399
|
+
|
|
1400
|
+
function deserialize_user_RequestEmailVerificationRequest(buffer_arg) {
|
|
1401
|
+
return user_pb.RequestEmailVerificationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
1402
|
+
}
|
|
1403
|
+
|
|
1393
1404
|
function serialize_user_ReserveResponsibleGamingDepositRequest(arg) {
|
|
1394
1405
|
if (!(arg instanceof user_pb.ReserveResponsibleGamingDepositRequest)) {
|
|
1395
1406
|
throw new Error('Expected argument of type user.ReserveResponsibleGamingDepositRequest');
|
|
@@ -3942,6 +3953,17 @@ attemptEmailConfirmation: {
|
|
|
3942
3953
|
responseSerialize: serialize_user_ConfirmationStatusResponse,
|
|
3943
3954
|
responseDeserialize: deserialize_user_ConfirmationStatusResponse,
|
|
3944
3955
|
},
|
|
3956
|
+
requestEmailVerification: {
|
|
3957
|
+
path: '/user.User/requestEmailVerification',
|
|
3958
|
+
requestStream: false,
|
|
3959
|
+
responseStream: false,
|
|
3960
|
+
requestType: user_pb.RequestEmailVerificationRequest,
|
|
3961
|
+
responseType: user_pb.ConfirmationStatusResponse,
|
|
3962
|
+
requestSerialize: serialize_user_RequestEmailVerificationRequest,
|
|
3963
|
+
requestDeserialize: deserialize_user_RequestEmailVerificationRequest,
|
|
3964
|
+
responseSerialize: serialize_user_ConfirmationStatusResponse,
|
|
3965
|
+
responseDeserialize: deserialize_user_ConfirmationStatusResponse,
|
|
3966
|
+
},
|
|
3945
3967
|
attemptResetPasswordConfirmation: {
|
|
3946
3968
|
path: '/user.User/attemptResetPasswordConfirmation',
|
|
3947
3969
|
requestStream: false,
|
package/user/user_pb.js
CHANGED
|
@@ -160,6 +160,7 @@ goog.exportSymbol('proto.user.ReadUserRiskProfileRequest', null, global);
|
|
|
160
160
|
goog.exportSymbol('proto.user.RegistrationRequest', null, global);
|
|
161
161
|
goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsRequest', null, global);
|
|
162
162
|
goog.exportSymbol('proto.user.ReplaceVerificationProfileDataRequirementsResponse', null, global);
|
|
163
|
+
goog.exportSymbol('proto.user.RequestEmailVerificationRequest', null, global);
|
|
163
164
|
goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositRequest', null, global);
|
|
164
165
|
goog.exportSymbol('proto.user.ReserveResponsibleGamingDepositResponse', null, global);
|
|
165
166
|
goog.exportSymbol('proto.user.ReserveResponsibleGamingLossExposureRequest', null, global);
|
|
@@ -5403,6 +5404,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5403
5404
|
*/
|
|
5404
5405
|
proto.user.EmailConfirmedRequest.displayName = 'proto.user.EmailConfirmedRequest';
|
|
5405
5406
|
}
|
|
5407
|
+
/**
|
|
5408
|
+
* Generated by JsPbCodeGenerator.
|
|
5409
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5410
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5411
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5412
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5413
|
+
* valid.
|
|
5414
|
+
* @extends {jspb.Message}
|
|
5415
|
+
* @constructor
|
|
5416
|
+
*/
|
|
5417
|
+
proto.user.RequestEmailVerificationRequest = function(opt_data) {
|
|
5418
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5419
|
+
};
|
|
5420
|
+
goog.inherits(proto.user.RequestEmailVerificationRequest, jspb.Message);
|
|
5421
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5422
|
+
/**
|
|
5423
|
+
* @public
|
|
5424
|
+
* @override
|
|
5425
|
+
*/
|
|
5426
|
+
proto.user.RequestEmailVerificationRequest.displayName = 'proto.user.RequestEmailVerificationRequest';
|
|
5427
|
+
}
|
|
5406
5428
|
/**
|
|
5407
5429
|
* Generated by JsPbCodeGenerator.
|
|
5408
5430
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -86082,6 +86104,136 @@ proto.user.EmailConfirmedRequest.prototype.setToken = function(value) {
|
|
|
86082
86104
|
|
|
86083
86105
|
|
|
86084
86106
|
|
|
86107
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
86108
|
+
/**
|
|
86109
|
+
* Creates an object representation of this proto.
|
|
86110
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
86111
|
+
* Optional fields that are not set will be set to undefined.
|
|
86112
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
86113
|
+
* For the list of reserved names please see:
|
|
86114
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
86115
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
86116
|
+
* JSPB instance for transitional soy proto support:
|
|
86117
|
+
* http://goto/soy-param-migration
|
|
86118
|
+
* @return {!Object}
|
|
86119
|
+
*/
|
|
86120
|
+
proto.user.RequestEmailVerificationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
86121
|
+
return proto.user.RequestEmailVerificationRequest.toObject(opt_includeInstance, this);
|
|
86122
|
+
};
|
|
86123
|
+
|
|
86124
|
+
|
|
86125
|
+
/**
|
|
86126
|
+
* Static version of the {@see toObject} method.
|
|
86127
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
86128
|
+
* the JSPB instance for transitional soy proto support:
|
|
86129
|
+
* http://goto/soy-param-migration
|
|
86130
|
+
* @param {!proto.user.RequestEmailVerificationRequest} msg The msg instance to transform.
|
|
86131
|
+
* @return {!Object}
|
|
86132
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
86133
|
+
*/
|
|
86134
|
+
proto.user.RequestEmailVerificationRequest.toObject = function(includeInstance, msg) {
|
|
86135
|
+
var f, obj = {
|
|
86136
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
86137
|
+
};
|
|
86138
|
+
|
|
86139
|
+
if (includeInstance) {
|
|
86140
|
+
obj.$jspbMessageInstance = msg;
|
|
86141
|
+
}
|
|
86142
|
+
return obj;
|
|
86143
|
+
};
|
|
86144
|
+
}
|
|
86145
|
+
|
|
86146
|
+
|
|
86147
|
+
/**
|
|
86148
|
+
* Deserializes binary data (in protobuf wire format).
|
|
86149
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
86150
|
+
* @return {!proto.user.RequestEmailVerificationRequest}
|
|
86151
|
+
*/
|
|
86152
|
+
proto.user.RequestEmailVerificationRequest.deserializeBinary = function(bytes) {
|
|
86153
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
86154
|
+
var msg = new proto.user.RequestEmailVerificationRequest;
|
|
86155
|
+
return proto.user.RequestEmailVerificationRequest.deserializeBinaryFromReader(msg, reader);
|
|
86156
|
+
};
|
|
86157
|
+
|
|
86158
|
+
|
|
86159
|
+
/**
|
|
86160
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
86161
|
+
* given reader into the given message object.
|
|
86162
|
+
* @param {!proto.user.RequestEmailVerificationRequest} msg The message object to deserialize into.
|
|
86163
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
86164
|
+
* @return {!proto.user.RequestEmailVerificationRequest}
|
|
86165
|
+
*/
|
|
86166
|
+
proto.user.RequestEmailVerificationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
86167
|
+
while (reader.nextField()) {
|
|
86168
|
+
if (reader.isEndGroup()) {
|
|
86169
|
+
break;
|
|
86170
|
+
}
|
|
86171
|
+
var field = reader.getFieldNumber();
|
|
86172
|
+
switch (field) {
|
|
86173
|
+
case 1:
|
|
86174
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
86175
|
+
msg.setUserId(value);
|
|
86176
|
+
break;
|
|
86177
|
+
default:
|
|
86178
|
+
reader.skipField();
|
|
86179
|
+
break;
|
|
86180
|
+
}
|
|
86181
|
+
}
|
|
86182
|
+
return msg;
|
|
86183
|
+
};
|
|
86184
|
+
|
|
86185
|
+
|
|
86186
|
+
/**
|
|
86187
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
86188
|
+
* @return {!Uint8Array}
|
|
86189
|
+
*/
|
|
86190
|
+
proto.user.RequestEmailVerificationRequest.prototype.serializeBinary = function() {
|
|
86191
|
+
var writer = new jspb.BinaryWriter();
|
|
86192
|
+
proto.user.RequestEmailVerificationRequest.serializeBinaryToWriter(this, writer);
|
|
86193
|
+
return writer.getResultBuffer();
|
|
86194
|
+
};
|
|
86195
|
+
|
|
86196
|
+
|
|
86197
|
+
/**
|
|
86198
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
86199
|
+
* format), writing to the given BinaryWriter.
|
|
86200
|
+
* @param {!proto.user.RequestEmailVerificationRequest} message
|
|
86201
|
+
* @param {!jspb.BinaryWriter} writer
|
|
86202
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
86203
|
+
*/
|
|
86204
|
+
proto.user.RequestEmailVerificationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
86205
|
+
var f = undefined;
|
|
86206
|
+
f = message.getUserId();
|
|
86207
|
+
if (f !== 0) {
|
|
86208
|
+
writer.writeInt32(
|
|
86209
|
+
1,
|
|
86210
|
+
f
|
|
86211
|
+
);
|
|
86212
|
+
}
|
|
86213
|
+
};
|
|
86214
|
+
|
|
86215
|
+
|
|
86216
|
+
/**
|
|
86217
|
+
* optional int32 user_id = 1;
|
|
86218
|
+
* @return {number}
|
|
86219
|
+
*/
|
|
86220
|
+
proto.user.RequestEmailVerificationRequest.prototype.getUserId = function() {
|
|
86221
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
86222
|
+
};
|
|
86223
|
+
|
|
86224
|
+
|
|
86225
|
+
/**
|
|
86226
|
+
* @param {number} value
|
|
86227
|
+
* @return {!proto.user.RequestEmailVerificationRequest} returns this
|
|
86228
|
+
*/
|
|
86229
|
+
proto.user.RequestEmailVerificationRequest.prototype.setUserId = function(value) {
|
|
86230
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
86231
|
+
};
|
|
86232
|
+
|
|
86233
|
+
|
|
86234
|
+
|
|
86235
|
+
|
|
86236
|
+
|
|
86085
86237
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
86086
86238
|
/**
|
|
86087
86239
|
* Creates an object representation of this proto.
|