protobuf-platform 1.2.682 → 1.2.684
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/cms/cms.proto +2 -0
- package/cms/cms_pb.js +98 -2
- package/package.json +1 -1
- package/user/user.proto +23 -0
- package/user/user_grpc_pb.js +34 -0
- package/user/user_pb.js +462 -1
package/cms/cms.proto
CHANGED
|
@@ -189,6 +189,7 @@ message CommonWidgetRequest {
|
|
|
189
189
|
string content = 2;
|
|
190
190
|
string type = 3;
|
|
191
191
|
optional bool is_enabled = 4;
|
|
192
|
+
optional string expected_revision = 5; // Whole Burger Menu configuration; ignored by other widgets.
|
|
192
193
|
}
|
|
193
194
|
message GetMainPageWidgetRequest {
|
|
194
195
|
optional string geo = 1;
|
|
@@ -228,6 +229,7 @@ message BurgerMenuWidgetItem {
|
|
|
228
229
|
string geo = 1;
|
|
229
230
|
string content = 2;
|
|
230
231
|
optional bool is_enabled = 3;
|
|
232
|
+
optional string revision = 4; // Revision of the entire Burger Menu configuration.
|
|
231
233
|
}
|
|
232
234
|
message GetSignUpFormWidgetRequest {
|
|
233
235
|
optional string geo = 1;
|
package/cms/cms_pb.js
CHANGED
|
@@ -5717,7 +5717,8 @@ proto.cms.CommonWidgetRequest.toObject = function(includeInstance, msg) {
|
|
|
5717
5717
|
geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5718
5718
|
content: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
5719
5719
|
type: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
5720
|
-
isEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
5720
|
+
isEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
5721
|
+
expectedRevision: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
5721
5722
|
};
|
|
5722
5723
|
|
|
5723
5724
|
if (includeInstance) {
|
|
@@ -5770,6 +5771,10 @@ proto.cms.CommonWidgetRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
5770
5771
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
5771
5772
|
msg.setIsEnabled(value);
|
|
5772
5773
|
break;
|
|
5774
|
+
case 5:
|
|
5775
|
+
var value = /** @type {string} */ (reader.readString());
|
|
5776
|
+
msg.setExpectedRevision(value);
|
|
5777
|
+
break;
|
|
5773
5778
|
default:
|
|
5774
5779
|
reader.skipField();
|
|
5775
5780
|
break;
|
|
@@ -5827,6 +5832,13 @@ proto.cms.CommonWidgetRequest.serializeBinaryToWriter = function(message, writer
|
|
|
5827
5832
|
f
|
|
5828
5833
|
);
|
|
5829
5834
|
}
|
|
5835
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
5836
|
+
if (f != null) {
|
|
5837
|
+
writer.writeString(
|
|
5838
|
+
5,
|
|
5839
|
+
f
|
|
5840
|
+
);
|
|
5841
|
+
}
|
|
5830
5842
|
};
|
|
5831
5843
|
|
|
5832
5844
|
|
|
@@ -5920,6 +5932,42 @@ proto.cms.CommonWidgetRequest.prototype.hasIsEnabled = function() {
|
|
|
5920
5932
|
};
|
|
5921
5933
|
|
|
5922
5934
|
|
|
5935
|
+
/**
|
|
5936
|
+
* optional string expected_revision = 5;
|
|
5937
|
+
* @return {string}
|
|
5938
|
+
*/
|
|
5939
|
+
proto.cms.CommonWidgetRequest.prototype.getExpectedRevision = function() {
|
|
5940
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
5941
|
+
};
|
|
5942
|
+
|
|
5943
|
+
|
|
5944
|
+
/**
|
|
5945
|
+
* @param {string} value
|
|
5946
|
+
* @return {!proto.cms.CommonWidgetRequest} returns this
|
|
5947
|
+
*/
|
|
5948
|
+
proto.cms.CommonWidgetRequest.prototype.setExpectedRevision = function(value) {
|
|
5949
|
+
return jspb.Message.setField(this, 5, value);
|
|
5950
|
+
};
|
|
5951
|
+
|
|
5952
|
+
|
|
5953
|
+
/**
|
|
5954
|
+
* Clears the field making it undefined.
|
|
5955
|
+
* @return {!proto.cms.CommonWidgetRequest} returns this
|
|
5956
|
+
*/
|
|
5957
|
+
proto.cms.CommonWidgetRequest.prototype.clearExpectedRevision = function() {
|
|
5958
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
5959
|
+
};
|
|
5960
|
+
|
|
5961
|
+
|
|
5962
|
+
/**
|
|
5963
|
+
* Returns whether this field is set.
|
|
5964
|
+
* @return {boolean}
|
|
5965
|
+
*/
|
|
5966
|
+
proto.cms.CommonWidgetRequest.prototype.hasExpectedRevision = function() {
|
|
5967
|
+
return jspb.Message.getField(this, 5) != null;
|
|
5968
|
+
};
|
|
5969
|
+
|
|
5970
|
+
|
|
5923
5971
|
|
|
5924
5972
|
|
|
5925
5973
|
|
|
@@ -7566,7 +7614,8 @@ proto.cms.BurgerMenuWidgetItem.toObject = function(includeInstance, msg) {
|
|
|
7566
7614
|
var f, obj = {
|
|
7567
7615
|
geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
7568
7616
|
content: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
7569
|
-
isEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
7617
|
+
isEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
7618
|
+
revision: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
7570
7619
|
};
|
|
7571
7620
|
|
|
7572
7621
|
if (includeInstance) {
|
|
@@ -7615,6 +7664,10 @@ proto.cms.BurgerMenuWidgetItem.deserializeBinaryFromReader = function(msg, reade
|
|
|
7615
7664
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
7616
7665
|
msg.setIsEnabled(value);
|
|
7617
7666
|
break;
|
|
7667
|
+
case 4:
|
|
7668
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7669
|
+
msg.setRevision(value);
|
|
7670
|
+
break;
|
|
7618
7671
|
default:
|
|
7619
7672
|
reader.skipField();
|
|
7620
7673
|
break;
|
|
@@ -7665,6 +7718,13 @@ proto.cms.BurgerMenuWidgetItem.serializeBinaryToWriter = function(message, write
|
|
|
7665
7718
|
f
|
|
7666
7719
|
);
|
|
7667
7720
|
}
|
|
7721
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
7722
|
+
if (f != null) {
|
|
7723
|
+
writer.writeString(
|
|
7724
|
+
4,
|
|
7725
|
+
f
|
|
7726
|
+
);
|
|
7727
|
+
}
|
|
7668
7728
|
};
|
|
7669
7729
|
|
|
7670
7730
|
|
|
@@ -7740,6 +7800,42 @@ proto.cms.BurgerMenuWidgetItem.prototype.hasIsEnabled = function() {
|
|
|
7740
7800
|
};
|
|
7741
7801
|
|
|
7742
7802
|
|
|
7803
|
+
/**
|
|
7804
|
+
* optional string revision = 4;
|
|
7805
|
+
* @return {string}
|
|
7806
|
+
*/
|
|
7807
|
+
proto.cms.BurgerMenuWidgetItem.prototype.getRevision = function() {
|
|
7808
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
7809
|
+
};
|
|
7810
|
+
|
|
7811
|
+
|
|
7812
|
+
/**
|
|
7813
|
+
* @param {string} value
|
|
7814
|
+
* @return {!proto.cms.BurgerMenuWidgetItem} returns this
|
|
7815
|
+
*/
|
|
7816
|
+
proto.cms.BurgerMenuWidgetItem.prototype.setRevision = function(value) {
|
|
7817
|
+
return jspb.Message.setField(this, 4, value);
|
|
7818
|
+
};
|
|
7819
|
+
|
|
7820
|
+
|
|
7821
|
+
/**
|
|
7822
|
+
* Clears the field making it undefined.
|
|
7823
|
+
* @return {!proto.cms.BurgerMenuWidgetItem} returns this
|
|
7824
|
+
*/
|
|
7825
|
+
proto.cms.BurgerMenuWidgetItem.prototype.clearRevision = function() {
|
|
7826
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
7827
|
+
};
|
|
7828
|
+
|
|
7829
|
+
|
|
7830
|
+
/**
|
|
7831
|
+
* Returns whether this field is set.
|
|
7832
|
+
* @return {boolean}
|
|
7833
|
+
*/
|
|
7834
|
+
proto.cms.BurgerMenuWidgetItem.prototype.hasRevision = function() {
|
|
7835
|
+
return jspb.Message.getField(this, 4) != null;
|
|
7836
|
+
};
|
|
7837
|
+
|
|
7838
|
+
|
|
7743
7839
|
|
|
7744
7840
|
|
|
7745
7841
|
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
|
@@ -11,6 +11,8 @@ service User {
|
|
|
11
11
|
rpc importPlayerInvitations(ImportPlayerInvitationsRequest) returns (ImportPlayerInvitationsResponse);
|
|
12
12
|
// Public neutral invitation activation. The token never contains an internal user id.
|
|
13
13
|
rpc activatePlayerInvitation(ActivatePlayerInvitationRequest) returns (ActivatePlayerInvitationResponse);
|
|
14
|
+
// Read-only invitation state. Does not consume or mutate the token.
|
|
15
|
+
rpc inspectPlayerInvitation(InspectPlayerInvitationRequest) returns (InspectPlayerInvitationResponse);
|
|
14
16
|
rpc loginOrCreateTelegram(TelegramLoginRequest) returns (LoggedInResponse);
|
|
15
17
|
rpc loginOrCreateTelegramOidc(TelegramOidcLoginRequest) returns (LoggedInResponse);
|
|
16
18
|
rpc loginOrCreateGoogle(GoogleLoginRequest) returns (LoggedInResponse);
|
|
@@ -2717,4 +2719,25 @@ message ActivatePlayerInvitationRequest {
|
|
|
2717
2719
|
message ActivatePlayerInvitationResponse {
|
|
2718
2720
|
PlayerInvitationActivationOutcome outcome = 1;
|
|
2719
2721
|
optional string user_public_id = 2;
|
|
2722
|
+
// Internal session handoff only. Gateway must not return this value to clients.
|
|
2723
|
+
optional string email = 3;
|
|
2724
|
+
}
|
|
2725
|
+
|
|
2726
|
+
message InspectPlayerInvitationRequest {
|
|
2727
|
+
string token = 1;
|
|
2728
|
+
}
|
|
2729
|
+
|
|
2730
|
+
enum PlayerInvitationInspectionStatus {
|
|
2731
|
+
PLAYER_INVITATION_INSPECTION_STATUS_UNSPECIFIED = 0;
|
|
2732
|
+
PLAYER_INVITATION_INSPECTION_STATUS_READY = 1;
|
|
2733
|
+
PLAYER_INVITATION_INSPECTION_STATUS_EXPIRED = 2;
|
|
2734
|
+
PLAYER_INVITATION_INSPECTION_STATUS_ALREADY_ACTIVATED = 3;
|
|
2735
|
+
PLAYER_INVITATION_INSPECTION_STATUS_ALREADY_USED = 4;
|
|
2736
|
+
PLAYER_INVITATION_INSPECTION_STATUS_INVALID = 5;
|
|
2737
|
+
}
|
|
2738
|
+
|
|
2739
|
+
message InspectPlayerInvitationResponse {
|
|
2740
|
+
PlayerInvitationInspectionStatus status = 1;
|
|
2741
|
+
optional string masked_email = 2;
|
|
2742
|
+
optional string expires_at = 3;
|
|
2720
2743
|
}
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -796,6 +796,28 @@ function deserialize_user_IngestUserKycDocumentToProviderRequest(buffer_arg) {
|
|
|
796
796
|
return user_pb.IngestUserKycDocumentToProviderRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
797
797
|
}
|
|
798
798
|
|
|
799
|
+
function serialize_user_InspectPlayerInvitationRequest(arg) {
|
|
800
|
+
if (!(arg instanceof user_pb.InspectPlayerInvitationRequest)) {
|
|
801
|
+
throw new Error('Expected argument of type user.InspectPlayerInvitationRequest');
|
|
802
|
+
}
|
|
803
|
+
return Buffer.from(arg.serializeBinary());
|
|
804
|
+
}
|
|
805
|
+
|
|
806
|
+
function deserialize_user_InspectPlayerInvitationRequest(buffer_arg) {
|
|
807
|
+
return user_pb.InspectPlayerInvitationRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
808
|
+
}
|
|
809
|
+
|
|
810
|
+
function serialize_user_InspectPlayerInvitationResponse(arg) {
|
|
811
|
+
if (!(arg instanceof user_pb.InspectPlayerInvitationResponse)) {
|
|
812
|
+
throw new Error('Expected argument of type user.InspectPlayerInvitationResponse');
|
|
813
|
+
}
|
|
814
|
+
return Buffer.from(arg.serializeBinary());
|
|
815
|
+
}
|
|
816
|
+
|
|
817
|
+
function deserialize_user_InspectPlayerInvitationResponse(buffer_arg) {
|
|
818
|
+
return user_pb.InspectPlayerInvitationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
819
|
+
}
|
|
820
|
+
|
|
799
821
|
function serialize_user_KycRequirementPresetResponse(arg) {
|
|
800
822
|
if (!(arg instanceof user_pb.KycRequirementPresetResponse)) {
|
|
801
823
|
throw new Error('Expected argument of type user.KycRequirementPresetResponse');
|
|
@@ -2638,6 +2660,18 @@ activatePlayerInvitation: {
|
|
|
2638
2660
|
responseSerialize: serialize_user_ActivatePlayerInvitationResponse,
|
|
2639
2661
|
responseDeserialize: deserialize_user_ActivatePlayerInvitationResponse,
|
|
2640
2662
|
},
|
|
2663
|
+
// Read-only invitation state. Does not consume or mutate the token.
|
|
2664
|
+
inspectPlayerInvitation: {
|
|
2665
|
+
path: '/user.User/inspectPlayerInvitation',
|
|
2666
|
+
requestStream: false,
|
|
2667
|
+
responseStream: false,
|
|
2668
|
+
requestType: user_pb.InspectPlayerInvitationRequest,
|
|
2669
|
+
responseType: user_pb.InspectPlayerInvitationResponse,
|
|
2670
|
+
requestSerialize: serialize_user_InspectPlayerInvitationRequest,
|
|
2671
|
+
requestDeserialize: deserialize_user_InspectPlayerInvitationRequest,
|
|
2672
|
+
responseSerialize: serialize_user_InspectPlayerInvitationResponse,
|
|
2673
|
+
responseDeserialize: deserialize_user_InspectPlayerInvitationResponse,
|
|
2674
|
+
},
|
|
2641
2675
|
loginOrCreateTelegram: {
|
|
2642
2676
|
path: '/user.User/loginOrCreateTelegram',
|
|
2643
2677
|
requestStream: false,
|
package/user/user_pb.js
CHANGED
|
@@ -99,6 +99,8 @@ goog.exportSymbol('proto.user.GrantUserRewardResponse', null, global);
|
|
|
99
99
|
goog.exportSymbol('proto.user.ImportPlayerInvitationsRequest', null, global);
|
|
100
100
|
goog.exportSymbol('proto.user.ImportPlayerInvitationsResponse', null, global);
|
|
101
101
|
goog.exportSymbol('proto.user.IngestUserKycDocumentToProviderRequest', null, global);
|
|
102
|
+
goog.exportSymbol('proto.user.InspectPlayerInvitationRequest', null, global);
|
|
103
|
+
goog.exportSymbol('proto.user.InspectPlayerInvitationResponse', null, global);
|
|
102
104
|
goog.exportSymbol('proto.user.KycRequirementPresetItem', null, global);
|
|
103
105
|
goog.exportSymbol('proto.user.KycRequirementPresetResponse', null, global);
|
|
104
106
|
goog.exportSymbol('proto.user.KycRequirementPresetRuleItem', null, global);
|
|
@@ -123,6 +125,7 @@ goog.exportSymbol('proto.user.PingRequest', null, global);
|
|
|
123
125
|
goog.exportSymbol('proto.user.PlayerInvitationActivationOutcome', null, global);
|
|
124
126
|
goog.exportSymbol('proto.user.PlayerInvitationImportBatchSummary', null, global);
|
|
125
127
|
goog.exportSymbol('proto.user.PlayerInvitationImportRowResult', null, global);
|
|
128
|
+
goog.exportSymbol('proto.user.PlayerInvitationInspectionStatus', null, global);
|
|
126
129
|
goog.exportSymbol('proto.user.PongResponse', null, global);
|
|
127
130
|
goog.exportSymbol('proto.user.PrecisionRgAction', null, global);
|
|
128
131
|
goog.exportSymbol('proto.user.PrecisionRgAdmissionRequest', null, global);
|
|
@@ -6618,6 +6621,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
6618
6621
|
*/
|
|
6619
6622
|
proto.user.ActivatePlayerInvitationResponse.displayName = 'proto.user.ActivatePlayerInvitationResponse';
|
|
6620
6623
|
}
|
|
6624
|
+
/**
|
|
6625
|
+
* Generated by JsPbCodeGenerator.
|
|
6626
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6627
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6628
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6629
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6630
|
+
* valid.
|
|
6631
|
+
* @extends {jspb.Message}
|
|
6632
|
+
* @constructor
|
|
6633
|
+
*/
|
|
6634
|
+
proto.user.InspectPlayerInvitationRequest = function(opt_data) {
|
|
6635
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6636
|
+
};
|
|
6637
|
+
goog.inherits(proto.user.InspectPlayerInvitationRequest, jspb.Message);
|
|
6638
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6639
|
+
/**
|
|
6640
|
+
* @public
|
|
6641
|
+
* @override
|
|
6642
|
+
*/
|
|
6643
|
+
proto.user.InspectPlayerInvitationRequest.displayName = 'proto.user.InspectPlayerInvitationRequest';
|
|
6644
|
+
}
|
|
6645
|
+
/**
|
|
6646
|
+
* Generated by JsPbCodeGenerator.
|
|
6647
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6648
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6649
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6650
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6651
|
+
* valid.
|
|
6652
|
+
* @extends {jspb.Message}
|
|
6653
|
+
* @constructor
|
|
6654
|
+
*/
|
|
6655
|
+
proto.user.InspectPlayerInvitationResponse = function(opt_data) {
|
|
6656
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
6657
|
+
};
|
|
6658
|
+
goog.inherits(proto.user.InspectPlayerInvitationResponse, jspb.Message);
|
|
6659
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6660
|
+
/**
|
|
6661
|
+
* @public
|
|
6662
|
+
* @override
|
|
6663
|
+
*/
|
|
6664
|
+
proto.user.InspectPlayerInvitationResponse.displayName = 'proto.user.InspectPlayerInvitationResponse';
|
|
6665
|
+
}
|
|
6621
6666
|
|
|
6622
6667
|
|
|
6623
6668
|
|
|
@@ -108416,7 +108461,8 @@ proto.user.ActivatePlayerInvitationResponse.prototype.toObject = function(opt_in
|
|
|
108416
108461
|
proto.user.ActivatePlayerInvitationResponse.toObject = function(includeInstance, msg) {
|
|
108417
108462
|
var f, obj = {
|
|
108418
108463
|
outcome: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
108419
|
-
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
108464
|
+
userPublicId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
108465
|
+
email: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
108420
108466
|
};
|
|
108421
108467
|
|
|
108422
108468
|
if (includeInstance) {
|
|
@@ -108461,6 +108507,10 @@ proto.user.ActivatePlayerInvitationResponse.deserializeBinaryFromReader = functi
|
|
|
108461
108507
|
var value = /** @type {string} */ (reader.readString());
|
|
108462
108508
|
msg.setUserPublicId(value);
|
|
108463
108509
|
break;
|
|
108510
|
+
case 3:
|
|
108511
|
+
var value = /** @type {string} */ (reader.readString());
|
|
108512
|
+
msg.setEmail(value);
|
|
108513
|
+
break;
|
|
108464
108514
|
default:
|
|
108465
108515
|
reader.skipField();
|
|
108466
108516
|
break;
|
|
@@ -108504,6 +108554,13 @@ proto.user.ActivatePlayerInvitationResponse.serializeBinaryToWriter = function(m
|
|
|
108504
108554
|
f
|
|
108505
108555
|
);
|
|
108506
108556
|
}
|
|
108557
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
108558
|
+
if (f != null) {
|
|
108559
|
+
writer.writeString(
|
|
108560
|
+
3,
|
|
108561
|
+
f
|
|
108562
|
+
);
|
|
108563
|
+
}
|
|
108507
108564
|
};
|
|
108508
108565
|
|
|
108509
108566
|
|
|
@@ -108561,6 +108618,398 @@ proto.user.ActivatePlayerInvitationResponse.prototype.hasUserPublicId = function
|
|
|
108561
108618
|
};
|
|
108562
108619
|
|
|
108563
108620
|
|
|
108621
|
+
/**
|
|
108622
|
+
* optional string email = 3;
|
|
108623
|
+
* @return {string}
|
|
108624
|
+
*/
|
|
108625
|
+
proto.user.ActivatePlayerInvitationResponse.prototype.getEmail = function() {
|
|
108626
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
108627
|
+
};
|
|
108628
|
+
|
|
108629
|
+
|
|
108630
|
+
/**
|
|
108631
|
+
* @param {string} value
|
|
108632
|
+
* @return {!proto.user.ActivatePlayerInvitationResponse} returns this
|
|
108633
|
+
*/
|
|
108634
|
+
proto.user.ActivatePlayerInvitationResponse.prototype.setEmail = function(value) {
|
|
108635
|
+
return jspb.Message.setField(this, 3, value);
|
|
108636
|
+
};
|
|
108637
|
+
|
|
108638
|
+
|
|
108639
|
+
/**
|
|
108640
|
+
* Clears the field making it undefined.
|
|
108641
|
+
* @return {!proto.user.ActivatePlayerInvitationResponse} returns this
|
|
108642
|
+
*/
|
|
108643
|
+
proto.user.ActivatePlayerInvitationResponse.prototype.clearEmail = function() {
|
|
108644
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
108645
|
+
};
|
|
108646
|
+
|
|
108647
|
+
|
|
108648
|
+
/**
|
|
108649
|
+
* Returns whether this field is set.
|
|
108650
|
+
* @return {boolean}
|
|
108651
|
+
*/
|
|
108652
|
+
proto.user.ActivatePlayerInvitationResponse.prototype.hasEmail = function() {
|
|
108653
|
+
return jspb.Message.getField(this, 3) != null;
|
|
108654
|
+
};
|
|
108655
|
+
|
|
108656
|
+
|
|
108657
|
+
|
|
108658
|
+
|
|
108659
|
+
|
|
108660
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
108661
|
+
/**
|
|
108662
|
+
* Creates an object representation of this proto.
|
|
108663
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
108664
|
+
* Optional fields that are not set will be set to undefined.
|
|
108665
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
108666
|
+
* For the list of reserved names please see:
|
|
108667
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
108668
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
108669
|
+
* JSPB instance for transitional soy proto support:
|
|
108670
|
+
* http://goto/soy-param-migration
|
|
108671
|
+
* @return {!Object}
|
|
108672
|
+
*/
|
|
108673
|
+
proto.user.InspectPlayerInvitationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
108674
|
+
return proto.user.InspectPlayerInvitationRequest.toObject(opt_includeInstance, this);
|
|
108675
|
+
};
|
|
108676
|
+
|
|
108677
|
+
|
|
108678
|
+
/**
|
|
108679
|
+
* Static version of the {@see toObject} method.
|
|
108680
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
108681
|
+
* the JSPB instance for transitional soy proto support:
|
|
108682
|
+
* http://goto/soy-param-migration
|
|
108683
|
+
* @param {!proto.user.InspectPlayerInvitationRequest} msg The msg instance to transform.
|
|
108684
|
+
* @return {!Object}
|
|
108685
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
108686
|
+
*/
|
|
108687
|
+
proto.user.InspectPlayerInvitationRequest.toObject = function(includeInstance, msg) {
|
|
108688
|
+
var f, obj = {
|
|
108689
|
+
token: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
108690
|
+
};
|
|
108691
|
+
|
|
108692
|
+
if (includeInstance) {
|
|
108693
|
+
obj.$jspbMessageInstance = msg;
|
|
108694
|
+
}
|
|
108695
|
+
return obj;
|
|
108696
|
+
};
|
|
108697
|
+
}
|
|
108698
|
+
|
|
108699
|
+
|
|
108700
|
+
/**
|
|
108701
|
+
* Deserializes binary data (in protobuf wire format).
|
|
108702
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
108703
|
+
* @return {!proto.user.InspectPlayerInvitationRequest}
|
|
108704
|
+
*/
|
|
108705
|
+
proto.user.InspectPlayerInvitationRequest.deserializeBinary = function(bytes) {
|
|
108706
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
108707
|
+
var msg = new proto.user.InspectPlayerInvitationRequest;
|
|
108708
|
+
return proto.user.InspectPlayerInvitationRequest.deserializeBinaryFromReader(msg, reader);
|
|
108709
|
+
};
|
|
108710
|
+
|
|
108711
|
+
|
|
108712
|
+
/**
|
|
108713
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
108714
|
+
* given reader into the given message object.
|
|
108715
|
+
* @param {!proto.user.InspectPlayerInvitationRequest} msg The message object to deserialize into.
|
|
108716
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
108717
|
+
* @return {!proto.user.InspectPlayerInvitationRequest}
|
|
108718
|
+
*/
|
|
108719
|
+
proto.user.InspectPlayerInvitationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
108720
|
+
while (reader.nextField()) {
|
|
108721
|
+
if (reader.isEndGroup()) {
|
|
108722
|
+
break;
|
|
108723
|
+
}
|
|
108724
|
+
var field = reader.getFieldNumber();
|
|
108725
|
+
switch (field) {
|
|
108726
|
+
case 1:
|
|
108727
|
+
var value = /** @type {string} */ (reader.readString());
|
|
108728
|
+
msg.setToken(value);
|
|
108729
|
+
break;
|
|
108730
|
+
default:
|
|
108731
|
+
reader.skipField();
|
|
108732
|
+
break;
|
|
108733
|
+
}
|
|
108734
|
+
}
|
|
108735
|
+
return msg;
|
|
108736
|
+
};
|
|
108737
|
+
|
|
108738
|
+
|
|
108739
|
+
/**
|
|
108740
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
108741
|
+
* @return {!Uint8Array}
|
|
108742
|
+
*/
|
|
108743
|
+
proto.user.InspectPlayerInvitationRequest.prototype.serializeBinary = function() {
|
|
108744
|
+
var writer = new jspb.BinaryWriter();
|
|
108745
|
+
proto.user.InspectPlayerInvitationRequest.serializeBinaryToWriter(this, writer);
|
|
108746
|
+
return writer.getResultBuffer();
|
|
108747
|
+
};
|
|
108748
|
+
|
|
108749
|
+
|
|
108750
|
+
/**
|
|
108751
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
108752
|
+
* format), writing to the given BinaryWriter.
|
|
108753
|
+
* @param {!proto.user.InspectPlayerInvitationRequest} message
|
|
108754
|
+
* @param {!jspb.BinaryWriter} writer
|
|
108755
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
108756
|
+
*/
|
|
108757
|
+
proto.user.InspectPlayerInvitationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
108758
|
+
var f = undefined;
|
|
108759
|
+
f = message.getToken();
|
|
108760
|
+
if (f.length > 0) {
|
|
108761
|
+
writer.writeString(
|
|
108762
|
+
1,
|
|
108763
|
+
f
|
|
108764
|
+
);
|
|
108765
|
+
}
|
|
108766
|
+
};
|
|
108767
|
+
|
|
108768
|
+
|
|
108769
|
+
/**
|
|
108770
|
+
* optional string token = 1;
|
|
108771
|
+
* @return {string}
|
|
108772
|
+
*/
|
|
108773
|
+
proto.user.InspectPlayerInvitationRequest.prototype.getToken = function() {
|
|
108774
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
108775
|
+
};
|
|
108776
|
+
|
|
108777
|
+
|
|
108778
|
+
/**
|
|
108779
|
+
* @param {string} value
|
|
108780
|
+
* @return {!proto.user.InspectPlayerInvitationRequest} returns this
|
|
108781
|
+
*/
|
|
108782
|
+
proto.user.InspectPlayerInvitationRequest.prototype.setToken = function(value) {
|
|
108783
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
108784
|
+
};
|
|
108785
|
+
|
|
108786
|
+
|
|
108787
|
+
|
|
108788
|
+
|
|
108789
|
+
|
|
108790
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
108791
|
+
/**
|
|
108792
|
+
* Creates an object representation of this proto.
|
|
108793
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
108794
|
+
* Optional fields that are not set will be set to undefined.
|
|
108795
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
108796
|
+
* For the list of reserved names please see:
|
|
108797
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
108798
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
108799
|
+
* JSPB instance for transitional soy proto support:
|
|
108800
|
+
* http://goto/soy-param-migration
|
|
108801
|
+
* @return {!Object}
|
|
108802
|
+
*/
|
|
108803
|
+
proto.user.InspectPlayerInvitationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
108804
|
+
return proto.user.InspectPlayerInvitationResponse.toObject(opt_includeInstance, this);
|
|
108805
|
+
};
|
|
108806
|
+
|
|
108807
|
+
|
|
108808
|
+
/**
|
|
108809
|
+
* Static version of the {@see toObject} method.
|
|
108810
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
108811
|
+
* the JSPB instance for transitional soy proto support:
|
|
108812
|
+
* http://goto/soy-param-migration
|
|
108813
|
+
* @param {!proto.user.InspectPlayerInvitationResponse} msg The msg instance to transform.
|
|
108814
|
+
* @return {!Object}
|
|
108815
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
108816
|
+
*/
|
|
108817
|
+
proto.user.InspectPlayerInvitationResponse.toObject = function(includeInstance, msg) {
|
|
108818
|
+
var f, obj = {
|
|
108819
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
108820
|
+
maskedEmail: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
108821
|
+
expiresAt: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
108822
|
+
};
|
|
108823
|
+
|
|
108824
|
+
if (includeInstance) {
|
|
108825
|
+
obj.$jspbMessageInstance = msg;
|
|
108826
|
+
}
|
|
108827
|
+
return obj;
|
|
108828
|
+
};
|
|
108829
|
+
}
|
|
108830
|
+
|
|
108831
|
+
|
|
108832
|
+
/**
|
|
108833
|
+
* Deserializes binary data (in protobuf wire format).
|
|
108834
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
108835
|
+
* @return {!proto.user.InspectPlayerInvitationResponse}
|
|
108836
|
+
*/
|
|
108837
|
+
proto.user.InspectPlayerInvitationResponse.deserializeBinary = function(bytes) {
|
|
108838
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
108839
|
+
var msg = new proto.user.InspectPlayerInvitationResponse;
|
|
108840
|
+
return proto.user.InspectPlayerInvitationResponse.deserializeBinaryFromReader(msg, reader);
|
|
108841
|
+
};
|
|
108842
|
+
|
|
108843
|
+
|
|
108844
|
+
/**
|
|
108845
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
108846
|
+
* given reader into the given message object.
|
|
108847
|
+
* @param {!proto.user.InspectPlayerInvitationResponse} msg The message object to deserialize into.
|
|
108848
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
108849
|
+
* @return {!proto.user.InspectPlayerInvitationResponse}
|
|
108850
|
+
*/
|
|
108851
|
+
proto.user.InspectPlayerInvitationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
108852
|
+
while (reader.nextField()) {
|
|
108853
|
+
if (reader.isEndGroup()) {
|
|
108854
|
+
break;
|
|
108855
|
+
}
|
|
108856
|
+
var field = reader.getFieldNumber();
|
|
108857
|
+
switch (field) {
|
|
108858
|
+
case 1:
|
|
108859
|
+
var value = /** @type {!proto.user.PlayerInvitationInspectionStatus} */ (reader.readEnum());
|
|
108860
|
+
msg.setStatus(value);
|
|
108861
|
+
break;
|
|
108862
|
+
case 2:
|
|
108863
|
+
var value = /** @type {string} */ (reader.readString());
|
|
108864
|
+
msg.setMaskedEmail(value);
|
|
108865
|
+
break;
|
|
108866
|
+
case 3:
|
|
108867
|
+
var value = /** @type {string} */ (reader.readString());
|
|
108868
|
+
msg.setExpiresAt(value);
|
|
108869
|
+
break;
|
|
108870
|
+
default:
|
|
108871
|
+
reader.skipField();
|
|
108872
|
+
break;
|
|
108873
|
+
}
|
|
108874
|
+
}
|
|
108875
|
+
return msg;
|
|
108876
|
+
};
|
|
108877
|
+
|
|
108878
|
+
|
|
108879
|
+
/**
|
|
108880
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
108881
|
+
* @return {!Uint8Array}
|
|
108882
|
+
*/
|
|
108883
|
+
proto.user.InspectPlayerInvitationResponse.prototype.serializeBinary = function() {
|
|
108884
|
+
var writer = new jspb.BinaryWriter();
|
|
108885
|
+
proto.user.InspectPlayerInvitationResponse.serializeBinaryToWriter(this, writer);
|
|
108886
|
+
return writer.getResultBuffer();
|
|
108887
|
+
};
|
|
108888
|
+
|
|
108889
|
+
|
|
108890
|
+
/**
|
|
108891
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
108892
|
+
* format), writing to the given BinaryWriter.
|
|
108893
|
+
* @param {!proto.user.InspectPlayerInvitationResponse} message
|
|
108894
|
+
* @param {!jspb.BinaryWriter} writer
|
|
108895
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
108896
|
+
*/
|
|
108897
|
+
proto.user.InspectPlayerInvitationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
108898
|
+
var f = undefined;
|
|
108899
|
+
f = message.getStatus();
|
|
108900
|
+
if (f !== 0.0) {
|
|
108901
|
+
writer.writeEnum(
|
|
108902
|
+
1,
|
|
108903
|
+
f
|
|
108904
|
+
);
|
|
108905
|
+
}
|
|
108906
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
108907
|
+
if (f != null) {
|
|
108908
|
+
writer.writeString(
|
|
108909
|
+
2,
|
|
108910
|
+
f
|
|
108911
|
+
);
|
|
108912
|
+
}
|
|
108913
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
108914
|
+
if (f != null) {
|
|
108915
|
+
writer.writeString(
|
|
108916
|
+
3,
|
|
108917
|
+
f
|
|
108918
|
+
);
|
|
108919
|
+
}
|
|
108920
|
+
};
|
|
108921
|
+
|
|
108922
|
+
|
|
108923
|
+
/**
|
|
108924
|
+
* optional PlayerInvitationInspectionStatus status = 1;
|
|
108925
|
+
* @return {!proto.user.PlayerInvitationInspectionStatus}
|
|
108926
|
+
*/
|
|
108927
|
+
proto.user.InspectPlayerInvitationResponse.prototype.getStatus = function() {
|
|
108928
|
+
return /** @type {!proto.user.PlayerInvitationInspectionStatus} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
108929
|
+
};
|
|
108930
|
+
|
|
108931
|
+
|
|
108932
|
+
/**
|
|
108933
|
+
* @param {!proto.user.PlayerInvitationInspectionStatus} value
|
|
108934
|
+
* @return {!proto.user.InspectPlayerInvitationResponse} returns this
|
|
108935
|
+
*/
|
|
108936
|
+
proto.user.InspectPlayerInvitationResponse.prototype.setStatus = function(value) {
|
|
108937
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
108938
|
+
};
|
|
108939
|
+
|
|
108940
|
+
|
|
108941
|
+
/**
|
|
108942
|
+
* optional string masked_email = 2;
|
|
108943
|
+
* @return {string}
|
|
108944
|
+
*/
|
|
108945
|
+
proto.user.InspectPlayerInvitationResponse.prototype.getMaskedEmail = function() {
|
|
108946
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
108947
|
+
};
|
|
108948
|
+
|
|
108949
|
+
|
|
108950
|
+
/**
|
|
108951
|
+
* @param {string} value
|
|
108952
|
+
* @return {!proto.user.InspectPlayerInvitationResponse} returns this
|
|
108953
|
+
*/
|
|
108954
|
+
proto.user.InspectPlayerInvitationResponse.prototype.setMaskedEmail = function(value) {
|
|
108955
|
+
return jspb.Message.setField(this, 2, value);
|
|
108956
|
+
};
|
|
108957
|
+
|
|
108958
|
+
|
|
108959
|
+
/**
|
|
108960
|
+
* Clears the field making it undefined.
|
|
108961
|
+
* @return {!proto.user.InspectPlayerInvitationResponse} returns this
|
|
108962
|
+
*/
|
|
108963
|
+
proto.user.InspectPlayerInvitationResponse.prototype.clearMaskedEmail = function() {
|
|
108964
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
108965
|
+
};
|
|
108966
|
+
|
|
108967
|
+
|
|
108968
|
+
/**
|
|
108969
|
+
* Returns whether this field is set.
|
|
108970
|
+
* @return {boolean}
|
|
108971
|
+
*/
|
|
108972
|
+
proto.user.InspectPlayerInvitationResponse.prototype.hasMaskedEmail = function() {
|
|
108973
|
+
return jspb.Message.getField(this, 2) != null;
|
|
108974
|
+
};
|
|
108975
|
+
|
|
108976
|
+
|
|
108977
|
+
/**
|
|
108978
|
+
* optional string expires_at = 3;
|
|
108979
|
+
* @return {string}
|
|
108980
|
+
*/
|
|
108981
|
+
proto.user.InspectPlayerInvitationResponse.prototype.getExpiresAt = function() {
|
|
108982
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
108983
|
+
};
|
|
108984
|
+
|
|
108985
|
+
|
|
108986
|
+
/**
|
|
108987
|
+
* @param {string} value
|
|
108988
|
+
* @return {!proto.user.InspectPlayerInvitationResponse} returns this
|
|
108989
|
+
*/
|
|
108990
|
+
proto.user.InspectPlayerInvitationResponse.prototype.setExpiresAt = function(value) {
|
|
108991
|
+
return jspb.Message.setField(this, 3, value);
|
|
108992
|
+
};
|
|
108993
|
+
|
|
108994
|
+
|
|
108995
|
+
/**
|
|
108996
|
+
* Clears the field making it undefined.
|
|
108997
|
+
* @return {!proto.user.InspectPlayerInvitationResponse} returns this
|
|
108998
|
+
*/
|
|
108999
|
+
proto.user.InspectPlayerInvitationResponse.prototype.clearExpiresAt = function() {
|
|
109000
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
109001
|
+
};
|
|
109002
|
+
|
|
109003
|
+
|
|
109004
|
+
/**
|
|
109005
|
+
* Returns whether this field is set.
|
|
109006
|
+
* @return {boolean}
|
|
109007
|
+
*/
|
|
109008
|
+
proto.user.InspectPlayerInvitationResponse.prototype.hasExpiresAt = function() {
|
|
109009
|
+
return jspb.Message.getField(this, 3) != null;
|
|
109010
|
+
};
|
|
109011
|
+
|
|
109012
|
+
|
|
108564
109013
|
/**
|
|
108565
109014
|
* @enum {number}
|
|
108566
109015
|
*/
|
|
@@ -108777,4 +109226,16 @@ proto.user.PlayerInvitationActivationOutcome = {
|
|
|
108777
109226
|
PLAYER_INVITATION_ACTIVATION_OUTCOME_ALREADY_ACTIVATED: 5
|
|
108778
109227
|
};
|
|
108779
109228
|
|
|
109229
|
+
/**
|
|
109230
|
+
* @enum {number}
|
|
109231
|
+
*/
|
|
109232
|
+
proto.user.PlayerInvitationInspectionStatus = {
|
|
109233
|
+
PLAYER_INVITATION_INSPECTION_STATUS_UNSPECIFIED: 0,
|
|
109234
|
+
PLAYER_INVITATION_INSPECTION_STATUS_READY: 1,
|
|
109235
|
+
PLAYER_INVITATION_INSPECTION_STATUS_EXPIRED: 2,
|
|
109236
|
+
PLAYER_INVITATION_INSPECTION_STATUS_ALREADY_ACTIVATED: 3,
|
|
109237
|
+
PLAYER_INVITATION_INSPECTION_STATUS_ALREADY_USED: 4,
|
|
109238
|
+
PLAYER_INVITATION_INSPECTION_STATUS_INVALID: 5
|
|
109239
|
+
};
|
|
109240
|
+
|
|
108780
109241
|
goog.object.extend(exports, proto.user);
|