protobuf-platform 1.2.762 → 1.2.763
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/payment/payment.proto +8 -0
- package/payment/payment_grpc_pb.js +23 -0
- package/payment/payment_pb.js +212 -0
- package/user/user.proto +20 -0
- package/user/user_grpc_pb.js +34 -0
- package/user/user_pb.js +646 -0
package/package.json
CHANGED
package/payment/payment.proto
CHANGED
|
@@ -55,6 +55,8 @@ service Payment {
|
|
|
55
55
|
rpc prepareManualWithdrawal(PrepareManualWithdrawalRequest) returns (PreparedManualWithdrawalResponse);
|
|
56
56
|
rpc executeManualWithdrawal(ExecuteManualWithdrawalRequest) returns (WithdrawalResponse);
|
|
57
57
|
rpc changeWithdrawalStatus(GetWithdrawalRequest) returns (WithdrawalResponse);
|
|
58
|
+
// Manager action. It reuses Processing and does not add a withdrawal status.
|
|
59
|
+
rpc forceProcessWithdrawal(ForceProcessWithdrawalRequest) returns (WithdrawalResponse);
|
|
58
60
|
rpc readListWithdrawals(PaginationRequest) returns (WithdrawalItemsResponse);
|
|
59
61
|
rpc readSingleWithdrawal(GetWithdrawalRequest) returns (WithdrawalResponse);
|
|
60
62
|
rpc processingWithdrawalWebHook(WithdrawalWebHookRequest) returns (ProcessedWithdrawalResponse);
|
|
@@ -754,6 +756,12 @@ message AttemptWithdrawalRequest {
|
|
|
754
756
|
// Authenticated session that must match the withdrawal challenge.
|
|
755
757
|
optional string user_session_id = 45;
|
|
756
758
|
}
|
|
759
|
+
// One-shot manager authorization for an existing withdrawal. The code is not persisted.
|
|
760
|
+
message ForceProcessWithdrawalRequest {
|
|
761
|
+
int32 id = 1;
|
|
762
|
+
int32 maker_id = 2;
|
|
763
|
+
string two_fa_code = 3;
|
|
764
|
+
}
|
|
757
765
|
message GetWithdrawalRequest {
|
|
758
766
|
int32 id = 1;
|
|
759
767
|
optional string status_code = 2;
|
|
@@ -532,6 +532,17 @@ function deserialize_payment_FinancialOperationResponse(buffer_arg) {
|
|
|
532
532
|
return payment_pb.FinancialOperationResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
533
533
|
}
|
|
534
534
|
|
|
535
|
+
function serialize_payment_ForceProcessWithdrawalRequest(arg) {
|
|
536
|
+
if (!(arg instanceof payment_pb.ForceProcessWithdrawalRequest)) {
|
|
537
|
+
throw new Error('Expected argument of type payment.ForceProcessWithdrawalRequest');
|
|
538
|
+
}
|
|
539
|
+
return Buffer.from(arg.serializeBinary());
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
function deserialize_payment_ForceProcessWithdrawalRequest(buffer_arg) {
|
|
543
|
+
return payment_pb.ForceProcessWithdrawalRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
544
|
+
}
|
|
545
|
+
|
|
535
546
|
function serialize_payment_GameplayDeliveryReadinessRequest(arg) {
|
|
536
547
|
if (!(arg instanceof payment_pb.GameplayDeliveryReadinessRequest)) {
|
|
537
548
|
throw new Error('Expected argument of type payment.GameplayDeliveryReadinessRequest');
|
|
@@ -2008,6 +2019,18 @@ attemptWithdrawal: {
|
|
|
2008
2019
|
responseSerialize: serialize_payment_WithdrawalResponse,
|
|
2009
2020
|
responseDeserialize: deserialize_payment_WithdrawalResponse,
|
|
2010
2021
|
},
|
|
2022
|
+
// Manager action. It reuses Processing and does not add a withdrawal status.
|
|
2023
|
+
forceProcessWithdrawal: {
|
|
2024
|
+
path: '/payment.Payment/forceProcessWithdrawal',
|
|
2025
|
+
requestStream: false,
|
|
2026
|
+
responseStream: false,
|
|
2027
|
+
requestType: payment_pb.ForceProcessWithdrawalRequest,
|
|
2028
|
+
responseType: payment_pb.WithdrawalResponse,
|
|
2029
|
+
requestSerialize: serialize_payment_ForceProcessWithdrawalRequest,
|
|
2030
|
+
requestDeserialize: deserialize_payment_ForceProcessWithdrawalRequest,
|
|
2031
|
+
responseSerialize: serialize_payment_WithdrawalResponse,
|
|
2032
|
+
responseDeserialize: deserialize_payment_WithdrawalResponse,
|
|
2033
|
+
},
|
|
2011
2034
|
readListWithdrawals: {
|
|
2012
2035
|
path: '/payment.Payment/readListWithdrawals',
|
|
2013
2036
|
requestStream: false,
|
package/payment/payment_pb.js
CHANGED
|
@@ -88,6 +88,7 @@ goog.exportSymbol('proto.payment.FenceGameplayProviderTransactionsResponse', nul
|
|
|
88
88
|
goog.exportSymbol('proto.payment.File', null, global);
|
|
89
89
|
goog.exportSymbol('proto.payment.FinancialAdmissionWalletContext', null, global);
|
|
90
90
|
goog.exportSymbol('proto.payment.FinancialOperationResponse', null, global);
|
|
91
|
+
goog.exportSymbol('proto.payment.ForceProcessWithdrawalRequest', null, global);
|
|
91
92
|
goog.exportSymbol('proto.payment.GameplayDeliveryReadinessRequest', null, global);
|
|
92
93
|
goog.exportSymbol('proto.payment.GameplayDeliveryReadinessResult', null, global);
|
|
93
94
|
goog.exportSymbol('proto.payment.GameplayPrecisionAccountingLeg', null, global);
|
|
@@ -1521,6 +1522,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1521
1522
|
*/
|
|
1522
1523
|
proto.payment.AttemptWithdrawalRequest.displayName = 'proto.payment.AttemptWithdrawalRequest';
|
|
1523
1524
|
}
|
|
1525
|
+
/**
|
|
1526
|
+
* Generated by JsPbCodeGenerator.
|
|
1527
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1528
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1529
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1530
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1531
|
+
* valid.
|
|
1532
|
+
* @extends {jspb.Message}
|
|
1533
|
+
* @constructor
|
|
1534
|
+
*/
|
|
1535
|
+
proto.payment.ForceProcessWithdrawalRequest = function(opt_data) {
|
|
1536
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1537
|
+
};
|
|
1538
|
+
goog.inherits(proto.payment.ForceProcessWithdrawalRequest, jspb.Message);
|
|
1539
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1540
|
+
/**
|
|
1541
|
+
* @public
|
|
1542
|
+
* @override
|
|
1543
|
+
*/
|
|
1544
|
+
proto.payment.ForceProcessWithdrawalRequest.displayName = 'proto.payment.ForceProcessWithdrawalRequest';
|
|
1545
|
+
}
|
|
1524
1546
|
/**
|
|
1525
1547
|
* Generated by JsPbCodeGenerator.
|
|
1526
1548
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -30934,6 +30956,196 @@ proto.payment.AttemptWithdrawalRequest.prototype.hasUserSessionId = function() {
|
|
|
30934
30956
|
|
|
30935
30957
|
|
|
30936
30958
|
|
|
30959
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30960
|
+
/**
|
|
30961
|
+
* Creates an object representation of this proto.
|
|
30962
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30963
|
+
* Optional fields that are not set will be set to undefined.
|
|
30964
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30965
|
+
* For the list of reserved names please see:
|
|
30966
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30967
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30968
|
+
* JSPB instance for transitional soy proto support:
|
|
30969
|
+
* http://goto/soy-param-migration
|
|
30970
|
+
* @return {!Object}
|
|
30971
|
+
*/
|
|
30972
|
+
proto.payment.ForceProcessWithdrawalRequest.prototype.toObject = function(opt_includeInstance) {
|
|
30973
|
+
return proto.payment.ForceProcessWithdrawalRequest.toObject(opt_includeInstance, this);
|
|
30974
|
+
};
|
|
30975
|
+
|
|
30976
|
+
|
|
30977
|
+
/**
|
|
30978
|
+
* Static version of the {@see toObject} method.
|
|
30979
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30980
|
+
* the JSPB instance for transitional soy proto support:
|
|
30981
|
+
* http://goto/soy-param-migration
|
|
30982
|
+
* @param {!proto.payment.ForceProcessWithdrawalRequest} msg The msg instance to transform.
|
|
30983
|
+
* @return {!Object}
|
|
30984
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30985
|
+
*/
|
|
30986
|
+
proto.payment.ForceProcessWithdrawalRequest.toObject = function(includeInstance, msg) {
|
|
30987
|
+
var f, obj = {
|
|
30988
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
30989
|
+
makerId: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
30990
|
+
twoFaCode: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
30991
|
+
};
|
|
30992
|
+
|
|
30993
|
+
if (includeInstance) {
|
|
30994
|
+
obj.$jspbMessageInstance = msg;
|
|
30995
|
+
}
|
|
30996
|
+
return obj;
|
|
30997
|
+
};
|
|
30998
|
+
}
|
|
30999
|
+
|
|
31000
|
+
|
|
31001
|
+
/**
|
|
31002
|
+
* Deserializes binary data (in protobuf wire format).
|
|
31003
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
31004
|
+
* @return {!proto.payment.ForceProcessWithdrawalRequest}
|
|
31005
|
+
*/
|
|
31006
|
+
proto.payment.ForceProcessWithdrawalRequest.deserializeBinary = function(bytes) {
|
|
31007
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
31008
|
+
var msg = new proto.payment.ForceProcessWithdrawalRequest;
|
|
31009
|
+
return proto.payment.ForceProcessWithdrawalRequest.deserializeBinaryFromReader(msg, reader);
|
|
31010
|
+
};
|
|
31011
|
+
|
|
31012
|
+
|
|
31013
|
+
/**
|
|
31014
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
31015
|
+
* given reader into the given message object.
|
|
31016
|
+
* @param {!proto.payment.ForceProcessWithdrawalRequest} msg The message object to deserialize into.
|
|
31017
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
31018
|
+
* @return {!proto.payment.ForceProcessWithdrawalRequest}
|
|
31019
|
+
*/
|
|
31020
|
+
proto.payment.ForceProcessWithdrawalRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
31021
|
+
while (reader.nextField()) {
|
|
31022
|
+
if (reader.isEndGroup()) {
|
|
31023
|
+
break;
|
|
31024
|
+
}
|
|
31025
|
+
var field = reader.getFieldNumber();
|
|
31026
|
+
switch (field) {
|
|
31027
|
+
case 1:
|
|
31028
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
31029
|
+
msg.setId(value);
|
|
31030
|
+
break;
|
|
31031
|
+
case 2:
|
|
31032
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
31033
|
+
msg.setMakerId(value);
|
|
31034
|
+
break;
|
|
31035
|
+
case 3:
|
|
31036
|
+
var value = /** @type {string} */ (reader.readString());
|
|
31037
|
+
msg.setTwoFaCode(value);
|
|
31038
|
+
break;
|
|
31039
|
+
default:
|
|
31040
|
+
reader.skipField();
|
|
31041
|
+
break;
|
|
31042
|
+
}
|
|
31043
|
+
}
|
|
31044
|
+
return msg;
|
|
31045
|
+
};
|
|
31046
|
+
|
|
31047
|
+
|
|
31048
|
+
/**
|
|
31049
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
31050
|
+
* @return {!Uint8Array}
|
|
31051
|
+
*/
|
|
31052
|
+
proto.payment.ForceProcessWithdrawalRequest.prototype.serializeBinary = function() {
|
|
31053
|
+
var writer = new jspb.BinaryWriter();
|
|
31054
|
+
proto.payment.ForceProcessWithdrawalRequest.serializeBinaryToWriter(this, writer);
|
|
31055
|
+
return writer.getResultBuffer();
|
|
31056
|
+
};
|
|
31057
|
+
|
|
31058
|
+
|
|
31059
|
+
/**
|
|
31060
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
31061
|
+
* format), writing to the given BinaryWriter.
|
|
31062
|
+
* @param {!proto.payment.ForceProcessWithdrawalRequest} message
|
|
31063
|
+
* @param {!jspb.BinaryWriter} writer
|
|
31064
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31065
|
+
*/
|
|
31066
|
+
proto.payment.ForceProcessWithdrawalRequest.serializeBinaryToWriter = function(message, writer) {
|
|
31067
|
+
var f = undefined;
|
|
31068
|
+
f = message.getId();
|
|
31069
|
+
if (f !== 0) {
|
|
31070
|
+
writer.writeInt32(
|
|
31071
|
+
1,
|
|
31072
|
+
f
|
|
31073
|
+
);
|
|
31074
|
+
}
|
|
31075
|
+
f = message.getMakerId();
|
|
31076
|
+
if (f !== 0) {
|
|
31077
|
+
writer.writeInt32(
|
|
31078
|
+
2,
|
|
31079
|
+
f
|
|
31080
|
+
);
|
|
31081
|
+
}
|
|
31082
|
+
f = message.getTwoFaCode();
|
|
31083
|
+
if (f.length > 0) {
|
|
31084
|
+
writer.writeString(
|
|
31085
|
+
3,
|
|
31086
|
+
f
|
|
31087
|
+
);
|
|
31088
|
+
}
|
|
31089
|
+
};
|
|
31090
|
+
|
|
31091
|
+
|
|
31092
|
+
/**
|
|
31093
|
+
* optional int32 id = 1;
|
|
31094
|
+
* @return {number}
|
|
31095
|
+
*/
|
|
31096
|
+
proto.payment.ForceProcessWithdrawalRequest.prototype.getId = function() {
|
|
31097
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
31098
|
+
};
|
|
31099
|
+
|
|
31100
|
+
|
|
31101
|
+
/**
|
|
31102
|
+
* @param {number} value
|
|
31103
|
+
* @return {!proto.payment.ForceProcessWithdrawalRequest} returns this
|
|
31104
|
+
*/
|
|
31105
|
+
proto.payment.ForceProcessWithdrawalRequest.prototype.setId = function(value) {
|
|
31106
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
31107
|
+
};
|
|
31108
|
+
|
|
31109
|
+
|
|
31110
|
+
/**
|
|
31111
|
+
* optional int32 maker_id = 2;
|
|
31112
|
+
* @return {number}
|
|
31113
|
+
*/
|
|
31114
|
+
proto.payment.ForceProcessWithdrawalRequest.prototype.getMakerId = function() {
|
|
31115
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
31116
|
+
};
|
|
31117
|
+
|
|
31118
|
+
|
|
31119
|
+
/**
|
|
31120
|
+
* @param {number} value
|
|
31121
|
+
* @return {!proto.payment.ForceProcessWithdrawalRequest} returns this
|
|
31122
|
+
*/
|
|
31123
|
+
proto.payment.ForceProcessWithdrawalRequest.prototype.setMakerId = function(value) {
|
|
31124
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
31125
|
+
};
|
|
31126
|
+
|
|
31127
|
+
|
|
31128
|
+
/**
|
|
31129
|
+
* optional string two_fa_code = 3;
|
|
31130
|
+
* @return {string}
|
|
31131
|
+
*/
|
|
31132
|
+
proto.payment.ForceProcessWithdrawalRequest.prototype.getTwoFaCode = function() {
|
|
31133
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
31134
|
+
};
|
|
31135
|
+
|
|
31136
|
+
|
|
31137
|
+
/**
|
|
31138
|
+
* @param {string} value
|
|
31139
|
+
* @return {!proto.payment.ForceProcessWithdrawalRequest} returns this
|
|
31140
|
+
*/
|
|
31141
|
+
proto.payment.ForceProcessWithdrawalRequest.prototype.setTwoFaCode = function(value) {
|
|
31142
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
31143
|
+
};
|
|
31144
|
+
|
|
31145
|
+
|
|
31146
|
+
|
|
31147
|
+
|
|
31148
|
+
|
|
30937
31149
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30938
31150
|
/**
|
|
30939
31151
|
* Creates an object representation of this proto.
|
package/user/user.proto
CHANGED
|
@@ -26,6 +26,8 @@ service User {
|
|
|
26
26
|
// Player withdrawal step-up. Does not create a session or a payment.
|
|
27
27
|
rpc beginWithdrawalTwoFaAuthorization(BeginWithdrawalTwoFaAuthorizationRequest) returns (BeginWithdrawalTwoFaAuthorizationResponse);
|
|
28
28
|
rpc verifyWithdrawalTwoFaAuthorization(VerifyWithdrawalTwoFaAuthorizationRequest) returns (VerifyWithdrawalTwoFaAuthorizationResponse);
|
|
29
|
+
// Action-scoped manager TOTP. It does not create a login session.
|
|
30
|
+
rpc authorizeManagerAction(AuthorizeManagerActionRequest) returns (AuthorizeManagerActionResponse);
|
|
29
31
|
rpc getUserData(UserDataRequest) returns (UserDataResponse);
|
|
30
32
|
rpc getUserBalance(UserDataRequest) returns (UserDataResponse);
|
|
31
33
|
rpc updateUserBalance(UserBalanceRequest) returns (UserDataResponse);
|
|
@@ -610,6 +612,24 @@ message VerifyWithdrawalTwoFaAuthorizationResponse {
|
|
|
610
612
|
// valid, invalid_otp, or expired.
|
|
611
613
|
string status = 1;
|
|
612
614
|
}
|
|
615
|
+
// Binds one manager authenticator code to an immutable action context.
|
|
616
|
+
message AuthorizeManagerActionRequest {
|
|
617
|
+
int32 manager_id = 1;
|
|
618
|
+
string purpose = 2;
|
|
619
|
+
string scope = 3;
|
|
620
|
+
string action_context_hash = 4;
|
|
621
|
+
// Canonical JSON. Callers must not put an OTP code in this payload.
|
|
622
|
+
string action_context = 5;
|
|
623
|
+
string code = 6;
|
|
624
|
+
}
|
|
625
|
+
message AuthorizeManagerActionResponse {
|
|
626
|
+
// authorized, invalid_otp, setup_required, too_many_attempts, replayed, or expired.
|
|
627
|
+
string status = 1;
|
|
628
|
+
optional string authorization_id = 2;
|
|
629
|
+
optional string purpose = 3;
|
|
630
|
+
optional string scope = 4;
|
|
631
|
+
optional string action_context_hash = 5;
|
|
632
|
+
}
|
|
613
633
|
message UserDataRequest {
|
|
614
634
|
optional int32 id = 1;
|
|
615
635
|
optional string requested_area = 2;
|
package/user/user_grpc_pb.js
CHANGED
|
@@ -103,6 +103,28 @@ function deserialize_user_AttachKycRequirementPresetRuleRequest(buffer_arg) {
|
|
|
103
103
|
return user_pb.AttachKycRequirementPresetRuleRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
104
104
|
}
|
|
105
105
|
|
|
106
|
+
function serialize_user_AuthorizeManagerActionRequest(arg) {
|
|
107
|
+
if (!(arg instanceof user_pb.AuthorizeManagerActionRequest)) {
|
|
108
|
+
throw new Error('Expected argument of type user.AuthorizeManagerActionRequest');
|
|
109
|
+
}
|
|
110
|
+
return Buffer.from(arg.serializeBinary());
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function deserialize_user_AuthorizeManagerActionRequest(buffer_arg) {
|
|
114
|
+
return user_pb.AuthorizeManagerActionRequest.deserializeBinary(new Uint8Array(buffer_arg));
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
function serialize_user_AuthorizeManagerActionResponse(arg) {
|
|
118
|
+
if (!(arg instanceof user_pb.AuthorizeManagerActionResponse)) {
|
|
119
|
+
throw new Error('Expected argument of type user.AuthorizeManagerActionResponse');
|
|
120
|
+
}
|
|
121
|
+
return Buffer.from(arg.serializeBinary());
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
function deserialize_user_AuthorizeManagerActionResponse(buffer_arg) {
|
|
125
|
+
return user_pb.AuthorizeManagerActionResponse.deserializeBinary(new Uint8Array(buffer_arg));
|
|
126
|
+
}
|
|
127
|
+
|
|
106
128
|
function serialize_user_BatchGetAffiliateAttributionRequest(arg) {
|
|
107
129
|
if (!(arg instanceof user_pb.BatchGetAffiliateAttributionRequest)) {
|
|
108
130
|
throw new Error('Expected argument of type user.BatchGetAffiliateAttributionRequest');
|
|
@@ -2948,6 +2970,18 @@ beginWithdrawalTwoFaAuthorization: {
|
|
|
2948
2970
|
responseSerialize: serialize_user_VerifyWithdrawalTwoFaAuthorizationResponse,
|
|
2949
2971
|
responseDeserialize: deserialize_user_VerifyWithdrawalTwoFaAuthorizationResponse,
|
|
2950
2972
|
},
|
|
2973
|
+
// Action-scoped manager TOTP. It does not create a login session.
|
|
2974
|
+
authorizeManagerAction: {
|
|
2975
|
+
path: '/user.User/authorizeManagerAction',
|
|
2976
|
+
requestStream: false,
|
|
2977
|
+
responseStream: false,
|
|
2978
|
+
requestType: user_pb.AuthorizeManagerActionRequest,
|
|
2979
|
+
responseType: user_pb.AuthorizeManagerActionResponse,
|
|
2980
|
+
requestSerialize: serialize_user_AuthorizeManagerActionRequest,
|
|
2981
|
+
requestDeserialize: deserialize_user_AuthorizeManagerActionRequest,
|
|
2982
|
+
responseSerialize: serialize_user_AuthorizeManagerActionResponse,
|
|
2983
|
+
responseDeserialize: deserialize_user_AuthorizeManagerActionResponse,
|
|
2984
|
+
},
|
|
2951
2985
|
getUserData: {
|
|
2952
2986
|
path: '/user.User/getUserData',
|
|
2953
2987
|
requestStream: false,
|
package/user/user_pb.js
CHANGED
|
@@ -32,6 +32,8 @@ goog.exportSymbol('proto.user.ApproveVerificationRequest', null, global);
|
|
|
32
32
|
goog.exportSymbol('proto.user.ApproveVerificationResponse', null, global);
|
|
33
33
|
goog.exportSymbol('proto.user.AssignUserKycRequirementPresetRequest', null, global);
|
|
34
34
|
goog.exportSymbol('proto.user.AttachKycRequirementPresetRuleRequest', null, global);
|
|
35
|
+
goog.exportSymbol('proto.user.AuthorizeManagerActionRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.user.AuthorizeManagerActionResponse', null, global);
|
|
35
37
|
goog.exportSymbol('proto.user.BatchGetAffiliateAttributionItem', null, global);
|
|
36
38
|
goog.exportSymbol('proto.user.BatchGetAffiliateAttributionRequest', null, global);
|
|
37
39
|
goog.exportSymbol('proto.user.BatchGetAffiliateAttributionResponse', null, global);
|
|
@@ -1012,6 +1014,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1012
1014
|
*/
|
|
1013
1015
|
proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.displayName = 'proto.user.VerifyWithdrawalTwoFaAuthorizationResponse';
|
|
1014
1016
|
}
|
|
1017
|
+
/**
|
|
1018
|
+
* Generated by JsPbCodeGenerator.
|
|
1019
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1020
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1021
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1022
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1023
|
+
* valid.
|
|
1024
|
+
* @extends {jspb.Message}
|
|
1025
|
+
* @constructor
|
|
1026
|
+
*/
|
|
1027
|
+
proto.user.AuthorizeManagerActionRequest = function(opt_data) {
|
|
1028
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1029
|
+
};
|
|
1030
|
+
goog.inherits(proto.user.AuthorizeManagerActionRequest, jspb.Message);
|
|
1031
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1032
|
+
/**
|
|
1033
|
+
* @public
|
|
1034
|
+
* @override
|
|
1035
|
+
*/
|
|
1036
|
+
proto.user.AuthorizeManagerActionRequest.displayName = 'proto.user.AuthorizeManagerActionRequest';
|
|
1037
|
+
}
|
|
1038
|
+
/**
|
|
1039
|
+
* Generated by JsPbCodeGenerator.
|
|
1040
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1041
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1042
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1043
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1044
|
+
* valid.
|
|
1045
|
+
* @extends {jspb.Message}
|
|
1046
|
+
* @constructor
|
|
1047
|
+
*/
|
|
1048
|
+
proto.user.AuthorizeManagerActionResponse = function(opt_data) {
|
|
1049
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1050
|
+
};
|
|
1051
|
+
goog.inherits(proto.user.AuthorizeManagerActionResponse, jspb.Message);
|
|
1052
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1053
|
+
/**
|
|
1054
|
+
* @public
|
|
1055
|
+
* @override
|
|
1056
|
+
*/
|
|
1057
|
+
proto.user.AuthorizeManagerActionResponse.displayName = 'proto.user.AuthorizeManagerActionResponse';
|
|
1058
|
+
}
|
|
1015
1059
|
/**
|
|
1016
1060
|
* Generated by JsPbCodeGenerator.
|
|
1017
1061
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -23476,6 +23520,608 @@ proto.user.VerifyWithdrawalTwoFaAuthorizationResponse.prototype.setStatus = func
|
|
|
23476
23520
|
|
|
23477
23521
|
|
|
23478
23522
|
|
|
23523
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23524
|
+
/**
|
|
23525
|
+
* Creates an object representation of this proto.
|
|
23526
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23527
|
+
* Optional fields that are not set will be set to undefined.
|
|
23528
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23529
|
+
* For the list of reserved names please see:
|
|
23530
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23531
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23532
|
+
* JSPB instance for transitional soy proto support:
|
|
23533
|
+
* http://goto/soy-param-migration
|
|
23534
|
+
* @return {!Object}
|
|
23535
|
+
*/
|
|
23536
|
+
proto.user.AuthorizeManagerActionRequest.prototype.toObject = function(opt_includeInstance) {
|
|
23537
|
+
return proto.user.AuthorizeManagerActionRequest.toObject(opt_includeInstance, this);
|
|
23538
|
+
};
|
|
23539
|
+
|
|
23540
|
+
|
|
23541
|
+
/**
|
|
23542
|
+
* Static version of the {@see toObject} method.
|
|
23543
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23544
|
+
* the JSPB instance for transitional soy proto support:
|
|
23545
|
+
* http://goto/soy-param-migration
|
|
23546
|
+
* @param {!proto.user.AuthorizeManagerActionRequest} msg The msg instance to transform.
|
|
23547
|
+
* @return {!Object}
|
|
23548
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23549
|
+
*/
|
|
23550
|
+
proto.user.AuthorizeManagerActionRequest.toObject = function(includeInstance, msg) {
|
|
23551
|
+
var f, obj = {
|
|
23552
|
+
managerId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
23553
|
+
purpose: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23554
|
+
scope: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
23555
|
+
actionContextHash: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
23556
|
+
actionContext: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
23557
|
+
code: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
23558
|
+
};
|
|
23559
|
+
|
|
23560
|
+
if (includeInstance) {
|
|
23561
|
+
obj.$jspbMessageInstance = msg;
|
|
23562
|
+
}
|
|
23563
|
+
return obj;
|
|
23564
|
+
};
|
|
23565
|
+
}
|
|
23566
|
+
|
|
23567
|
+
|
|
23568
|
+
/**
|
|
23569
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23570
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23571
|
+
* @return {!proto.user.AuthorizeManagerActionRequest}
|
|
23572
|
+
*/
|
|
23573
|
+
proto.user.AuthorizeManagerActionRequest.deserializeBinary = function(bytes) {
|
|
23574
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23575
|
+
var msg = new proto.user.AuthorizeManagerActionRequest;
|
|
23576
|
+
return proto.user.AuthorizeManagerActionRequest.deserializeBinaryFromReader(msg, reader);
|
|
23577
|
+
};
|
|
23578
|
+
|
|
23579
|
+
|
|
23580
|
+
/**
|
|
23581
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23582
|
+
* given reader into the given message object.
|
|
23583
|
+
* @param {!proto.user.AuthorizeManagerActionRequest} msg The message object to deserialize into.
|
|
23584
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23585
|
+
* @return {!proto.user.AuthorizeManagerActionRequest}
|
|
23586
|
+
*/
|
|
23587
|
+
proto.user.AuthorizeManagerActionRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
23588
|
+
while (reader.nextField()) {
|
|
23589
|
+
if (reader.isEndGroup()) {
|
|
23590
|
+
break;
|
|
23591
|
+
}
|
|
23592
|
+
var field = reader.getFieldNumber();
|
|
23593
|
+
switch (field) {
|
|
23594
|
+
case 1:
|
|
23595
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
23596
|
+
msg.setManagerId(value);
|
|
23597
|
+
break;
|
|
23598
|
+
case 2:
|
|
23599
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23600
|
+
msg.setPurpose(value);
|
|
23601
|
+
break;
|
|
23602
|
+
case 3:
|
|
23603
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23604
|
+
msg.setScope(value);
|
|
23605
|
+
break;
|
|
23606
|
+
case 4:
|
|
23607
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23608
|
+
msg.setActionContextHash(value);
|
|
23609
|
+
break;
|
|
23610
|
+
case 5:
|
|
23611
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23612
|
+
msg.setActionContext(value);
|
|
23613
|
+
break;
|
|
23614
|
+
case 6:
|
|
23615
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23616
|
+
msg.setCode(value);
|
|
23617
|
+
break;
|
|
23618
|
+
default:
|
|
23619
|
+
reader.skipField();
|
|
23620
|
+
break;
|
|
23621
|
+
}
|
|
23622
|
+
}
|
|
23623
|
+
return msg;
|
|
23624
|
+
};
|
|
23625
|
+
|
|
23626
|
+
|
|
23627
|
+
/**
|
|
23628
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23629
|
+
* @return {!Uint8Array}
|
|
23630
|
+
*/
|
|
23631
|
+
proto.user.AuthorizeManagerActionRequest.prototype.serializeBinary = function() {
|
|
23632
|
+
var writer = new jspb.BinaryWriter();
|
|
23633
|
+
proto.user.AuthorizeManagerActionRequest.serializeBinaryToWriter(this, writer);
|
|
23634
|
+
return writer.getResultBuffer();
|
|
23635
|
+
};
|
|
23636
|
+
|
|
23637
|
+
|
|
23638
|
+
/**
|
|
23639
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23640
|
+
* format), writing to the given BinaryWriter.
|
|
23641
|
+
* @param {!proto.user.AuthorizeManagerActionRequest} message
|
|
23642
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23643
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23644
|
+
*/
|
|
23645
|
+
proto.user.AuthorizeManagerActionRequest.serializeBinaryToWriter = function(message, writer) {
|
|
23646
|
+
var f = undefined;
|
|
23647
|
+
f = message.getManagerId();
|
|
23648
|
+
if (f !== 0) {
|
|
23649
|
+
writer.writeInt32(
|
|
23650
|
+
1,
|
|
23651
|
+
f
|
|
23652
|
+
);
|
|
23653
|
+
}
|
|
23654
|
+
f = message.getPurpose();
|
|
23655
|
+
if (f.length > 0) {
|
|
23656
|
+
writer.writeString(
|
|
23657
|
+
2,
|
|
23658
|
+
f
|
|
23659
|
+
);
|
|
23660
|
+
}
|
|
23661
|
+
f = message.getScope();
|
|
23662
|
+
if (f.length > 0) {
|
|
23663
|
+
writer.writeString(
|
|
23664
|
+
3,
|
|
23665
|
+
f
|
|
23666
|
+
);
|
|
23667
|
+
}
|
|
23668
|
+
f = message.getActionContextHash();
|
|
23669
|
+
if (f.length > 0) {
|
|
23670
|
+
writer.writeString(
|
|
23671
|
+
4,
|
|
23672
|
+
f
|
|
23673
|
+
);
|
|
23674
|
+
}
|
|
23675
|
+
f = message.getActionContext();
|
|
23676
|
+
if (f.length > 0) {
|
|
23677
|
+
writer.writeString(
|
|
23678
|
+
5,
|
|
23679
|
+
f
|
|
23680
|
+
);
|
|
23681
|
+
}
|
|
23682
|
+
f = message.getCode();
|
|
23683
|
+
if (f.length > 0) {
|
|
23684
|
+
writer.writeString(
|
|
23685
|
+
6,
|
|
23686
|
+
f
|
|
23687
|
+
);
|
|
23688
|
+
}
|
|
23689
|
+
};
|
|
23690
|
+
|
|
23691
|
+
|
|
23692
|
+
/**
|
|
23693
|
+
* optional int32 manager_id = 1;
|
|
23694
|
+
* @return {number}
|
|
23695
|
+
*/
|
|
23696
|
+
proto.user.AuthorizeManagerActionRequest.prototype.getManagerId = function() {
|
|
23697
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
23698
|
+
};
|
|
23699
|
+
|
|
23700
|
+
|
|
23701
|
+
/**
|
|
23702
|
+
* @param {number} value
|
|
23703
|
+
* @return {!proto.user.AuthorizeManagerActionRequest} returns this
|
|
23704
|
+
*/
|
|
23705
|
+
proto.user.AuthorizeManagerActionRequest.prototype.setManagerId = function(value) {
|
|
23706
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
23707
|
+
};
|
|
23708
|
+
|
|
23709
|
+
|
|
23710
|
+
/**
|
|
23711
|
+
* optional string purpose = 2;
|
|
23712
|
+
* @return {string}
|
|
23713
|
+
*/
|
|
23714
|
+
proto.user.AuthorizeManagerActionRequest.prototype.getPurpose = function() {
|
|
23715
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
23716
|
+
};
|
|
23717
|
+
|
|
23718
|
+
|
|
23719
|
+
/**
|
|
23720
|
+
* @param {string} value
|
|
23721
|
+
* @return {!proto.user.AuthorizeManagerActionRequest} returns this
|
|
23722
|
+
*/
|
|
23723
|
+
proto.user.AuthorizeManagerActionRequest.prototype.setPurpose = function(value) {
|
|
23724
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
23725
|
+
};
|
|
23726
|
+
|
|
23727
|
+
|
|
23728
|
+
/**
|
|
23729
|
+
* optional string scope = 3;
|
|
23730
|
+
* @return {string}
|
|
23731
|
+
*/
|
|
23732
|
+
proto.user.AuthorizeManagerActionRequest.prototype.getScope = function() {
|
|
23733
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
23734
|
+
};
|
|
23735
|
+
|
|
23736
|
+
|
|
23737
|
+
/**
|
|
23738
|
+
* @param {string} value
|
|
23739
|
+
* @return {!proto.user.AuthorizeManagerActionRequest} returns this
|
|
23740
|
+
*/
|
|
23741
|
+
proto.user.AuthorizeManagerActionRequest.prototype.setScope = function(value) {
|
|
23742
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
23743
|
+
};
|
|
23744
|
+
|
|
23745
|
+
|
|
23746
|
+
/**
|
|
23747
|
+
* optional string action_context_hash = 4;
|
|
23748
|
+
* @return {string}
|
|
23749
|
+
*/
|
|
23750
|
+
proto.user.AuthorizeManagerActionRequest.prototype.getActionContextHash = function() {
|
|
23751
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
23752
|
+
};
|
|
23753
|
+
|
|
23754
|
+
|
|
23755
|
+
/**
|
|
23756
|
+
* @param {string} value
|
|
23757
|
+
* @return {!proto.user.AuthorizeManagerActionRequest} returns this
|
|
23758
|
+
*/
|
|
23759
|
+
proto.user.AuthorizeManagerActionRequest.prototype.setActionContextHash = function(value) {
|
|
23760
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
23761
|
+
};
|
|
23762
|
+
|
|
23763
|
+
|
|
23764
|
+
/**
|
|
23765
|
+
* optional string action_context = 5;
|
|
23766
|
+
* @return {string}
|
|
23767
|
+
*/
|
|
23768
|
+
proto.user.AuthorizeManagerActionRequest.prototype.getActionContext = function() {
|
|
23769
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
23770
|
+
};
|
|
23771
|
+
|
|
23772
|
+
|
|
23773
|
+
/**
|
|
23774
|
+
* @param {string} value
|
|
23775
|
+
* @return {!proto.user.AuthorizeManagerActionRequest} returns this
|
|
23776
|
+
*/
|
|
23777
|
+
proto.user.AuthorizeManagerActionRequest.prototype.setActionContext = function(value) {
|
|
23778
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
23779
|
+
};
|
|
23780
|
+
|
|
23781
|
+
|
|
23782
|
+
/**
|
|
23783
|
+
* optional string code = 6;
|
|
23784
|
+
* @return {string}
|
|
23785
|
+
*/
|
|
23786
|
+
proto.user.AuthorizeManagerActionRequest.prototype.getCode = function() {
|
|
23787
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
23788
|
+
};
|
|
23789
|
+
|
|
23790
|
+
|
|
23791
|
+
/**
|
|
23792
|
+
* @param {string} value
|
|
23793
|
+
* @return {!proto.user.AuthorizeManagerActionRequest} returns this
|
|
23794
|
+
*/
|
|
23795
|
+
proto.user.AuthorizeManagerActionRequest.prototype.setCode = function(value) {
|
|
23796
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
23797
|
+
};
|
|
23798
|
+
|
|
23799
|
+
|
|
23800
|
+
|
|
23801
|
+
|
|
23802
|
+
|
|
23803
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23804
|
+
/**
|
|
23805
|
+
* Creates an object representation of this proto.
|
|
23806
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
23807
|
+
* Optional fields that are not set will be set to undefined.
|
|
23808
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
23809
|
+
* For the list of reserved names please see:
|
|
23810
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
23811
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
23812
|
+
* JSPB instance for transitional soy proto support:
|
|
23813
|
+
* http://goto/soy-param-migration
|
|
23814
|
+
* @return {!Object}
|
|
23815
|
+
*/
|
|
23816
|
+
proto.user.AuthorizeManagerActionResponse.prototype.toObject = function(opt_includeInstance) {
|
|
23817
|
+
return proto.user.AuthorizeManagerActionResponse.toObject(opt_includeInstance, this);
|
|
23818
|
+
};
|
|
23819
|
+
|
|
23820
|
+
|
|
23821
|
+
/**
|
|
23822
|
+
* Static version of the {@see toObject} method.
|
|
23823
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
23824
|
+
* the JSPB instance for transitional soy proto support:
|
|
23825
|
+
* http://goto/soy-param-migration
|
|
23826
|
+
* @param {!proto.user.AuthorizeManagerActionResponse} msg The msg instance to transform.
|
|
23827
|
+
* @return {!Object}
|
|
23828
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23829
|
+
*/
|
|
23830
|
+
proto.user.AuthorizeManagerActionResponse.toObject = function(includeInstance, msg) {
|
|
23831
|
+
var f, obj = {
|
|
23832
|
+
status: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
23833
|
+
authorizationId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
23834
|
+
purpose: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
23835
|
+
scope: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
23836
|
+
actionContextHash: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
23837
|
+
};
|
|
23838
|
+
|
|
23839
|
+
if (includeInstance) {
|
|
23840
|
+
obj.$jspbMessageInstance = msg;
|
|
23841
|
+
}
|
|
23842
|
+
return obj;
|
|
23843
|
+
};
|
|
23844
|
+
}
|
|
23845
|
+
|
|
23846
|
+
|
|
23847
|
+
/**
|
|
23848
|
+
* Deserializes binary data (in protobuf wire format).
|
|
23849
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
23850
|
+
* @return {!proto.user.AuthorizeManagerActionResponse}
|
|
23851
|
+
*/
|
|
23852
|
+
proto.user.AuthorizeManagerActionResponse.deserializeBinary = function(bytes) {
|
|
23853
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
23854
|
+
var msg = new proto.user.AuthorizeManagerActionResponse;
|
|
23855
|
+
return proto.user.AuthorizeManagerActionResponse.deserializeBinaryFromReader(msg, reader);
|
|
23856
|
+
};
|
|
23857
|
+
|
|
23858
|
+
|
|
23859
|
+
/**
|
|
23860
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
23861
|
+
* given reader into the given message object.
|
|
23862
|
+
* @param {!proto.user.AuthorizeManagerActionResponse} msg The message object to deserialize into.
|
|
23863
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
23864
|
+
* @return {!proto.user.AuthorizeManagerActionResponse}
|
|
23865
|
+
*/
|
|
23866
|
+
proto.user.AuthorizeManagerActionResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
23867
|
+
while (reader.nextField()) {
|
|
23868
|
+
if (reader.isEndGroup()) {
|
|
23869
|
+
break;
|
|
23870
|
+
}
|
|
23871
|
+
var field = reader.getFieldNumber();
|
|
23872
|
+
switch (field) {
|
|
23873
|
+
case 1:
|
|
23874
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23875
|
+
msg.setStatus(value);
|
|
23876
|
+
break;
|
|
23877
|
+
case 2:
|
|
23878
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23879
|
+
msg.setAuthorizationId(value);
|
|
23880
|
+
break;
|
|
23881
|
+
case 3:
|
|
23882
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23883
|
+
msg.setPurpose(value);
|
|
23884
|
+
break;
|
|
23885
|
+
case 4:
|
|
23886
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23887
|
+
msg.setScope(value);
|
|
23888
|
+
break;
|
|
23889
|
+
case 5:
|
|
23890
|
+
var value = /** @type {string} */ (reader.readString());
|
|
23891
|
+
msg.setActionContextHash(value);
|
|
23892
|
+
break;
|
|
23893
|
+
default:
|
|
23894
|
+
reader.skipField();
|
|
23895
|
+
break;
|
|
23896
|
+
}
|
|
23897
|
+
}
|
|
23898
|
+
return msg;
|
|
23899
|
+
};
|
|
23900
|
+
|
|
23901
|
+
|
|
23902
|
+
/**
|
|
23903
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
23904
|
+
* @return {!Uint8Array}
|
|
23905
|
+
*/
|
|
23906
|
+
proto.user.AuthorizeManagerActionResponse.prototype.serializeBinary = function() {
|
|
23907
|
+
var writer = new jspb.BinaryWriter();
|
|
23908
|
+
proto.user.AuthorizeManagerActionResponse.serializeBinaryToWriter(this, writer);
|
|
23909
|
+
return writer.getResultBuffer();
|
|
23910
|
+
};
|
|
23911
|
+
|
|
23912
|
+
|
|
23913
|
+
/**
|
|
23914
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
23915
|
+
* format), writing to the given BinaryWriter.
|
|
23916
|
+
* @param {!proto.user.AuthorizeManagerActionResponse} message
|
|
23917
|
+
* @param {!jspb.BinaryWriter} writer
|
|
23918
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
23919
|
+
*/
|
|
23920
|
+
proto.user.AuthorizeManagerActionResponse.serializeBinaryToWriter = function(message, writer) {
|
|
23921
|
+
var f = undefined;
|
|
23922
|
+
f = message.getStatus();
|
|
23923
|
+
if (f.length > 0) {
|
|
23924
|
+
writer.writeString(
|
|
23925
|
+
1,
|
|
23926
|
+
f
|
|
23927
|
+
);
|
|
23928
|
+
}
|
|
23929
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
23930
|
+
if (f != null) {
|
|
23931
|
+
writer.writeString(
|
|
23932
|
+
2,
|
|
23933
|
+
f
|
|
23934
|
+
);
|
|
23935
|
+
}
|
|
23936
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
23937
|
+
if (f != null) {
|
|
23938
|
+
writer.writeString(
|
|
23939
|
+
3,
|
|
23940
|
+
f
|
|
23941
|
+
);
|
|
23942
|
+
}
|
|
23943
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
23944
|
+
if (f != null) {
|
|
23945
|
+
writer.writeString(
|
|
23946
|
+
4,
|
|
23947
|
+
f
|
|
23948
|
+
);
|
|
23949
|
+
}
|
|
23950
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
23951
|
+
if (f != null) {
|
|
23952
|
+
writer.writeString(
|
|
23953
|
+
5,
|
|
23954
|
+
f
|
|
23955
|
+
);
|
|
23956
|
+
}
|
|
23957
|
+
};
|
|
23958
|
+
|
|
23959
|
+
|
|
23960
|
+
/**
|
|
23961
|
+
* optional string status = 1;
|
|
23962
|
+
* @return {string}
|
|
23963
|
+
*/
|
|
23964
|
+
proto.user.AuthorizeManagerActionResponse.prototype.getStatus = function() {
|
|
23965
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
23966
|
+
};
|
|
23967
|
+
|
|
23968
|
+
|
|
23969
|
+
/**
|
|
23970
|
+
* @param {string} value
|
|
23971
|
+
* @return {!proto.user.AuthorizeManagerActionResponse} returns this
|
|
23972
|
+
*/
|
|
23973
|
+
proto.user.AuthorizeManagerActionResponse.prototype.setStatus = function(value) {
|
|
23974
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
23975
|
+
};
|
|
23976
|
+
|
|
23977
|
+
|
|
23978
|
+
/**
|
|
23979
|
+
* optional string authorization_id = 2;
|
|
23980
|
+
* @return {string}
|
|
23981
|
+
*/
|
|
23982
|
+
proto.user.AuthorizeManagerActionResponse.prototype.getAuthorizationId = function() {
|
|
23983
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
23984
|
+
};
|
|
23985
|
+
|
|
23986
|
+
|
|
23987
|
+
/**
|
|
23988
|
+
* @param {string} value
|
|
23989
|
+
* @return {!proto.user.AuthorizeManagerActionResponse} returns this
|
|
23990
|
+
*/
|
|
23991
|
+
proto.user.AuthorizeManagerActionResponse.prototype.setAuthorizationId = function(value) {
|
|
23992
|
+
return jspb.Message.setField(this, 2, value);
|
|
23993
|
+
};
|
|
23994
|
+
|
|
23995
|
+
|
|
23996
|
+
/**
|
|
23997
|
+
* Clears the field making it undefined.
|
|
23998
|
+
* @return {!proto.user.AuthorizeManagerActionResponse} returns this
|
|
23999
|
+
*/
|
|
24000
|
+
proto.user.AuthorizeManagerActionResponse.prototype.clearAuthorizationId = function() {
|
|
24001
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
24002
|
+
};
|
|
24003
|
+
|
|
24004
|
+
|
|
24005
|
+
/**
|
|
24006
|
+
* Returns whether this field is set.
|
|
24007
|
+
* @return {boolean}
|
|
24008
|
+
*/
|
|
24009
|
+
proto.user.AuthorizeManagerActionResponse.prototype.hasAuthorizationId = function() {
|
|
24010
|
+
return jspb.Message.getField(this, 2) != null;
|
|
24011
|
+
};
|
|
24012
|
+
|
|
24013
|
+
|
|
24014
|
+
/**
|
|
24015
|
+
* optional string purpose = 3;
|
|
24016
|
+
* @return {string}
|
|
24017
|
+
*/
|
|
24018
|
+
proto.user.AuthorizeManagerActionResponse.prototype.getPurpose = function() {
|
|
24019
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
24020
|
+
};
|
|
24021
|
+
|
|
24022
|
+
|
|
24023
|
+
/**
|
|
24024
|
+
* @param {string} value
|
|
24025
|
+
* @return {!proto.user.AuthorizeManagerActionResponse} returns this
|
|
24026
|
+
*/
|
|
24027
|
+
proto.user.AuthorizeManagerActionResponse.prototype.setPurpose = function(value) {
|
|
24028
|
+
return jspb.Message.setField(this, 3, value);
|
|
24029
|
+
};
|
|
24030
|
+
|
|
24031
|
+
|
|
24032
|
+
/**
|
|
24033
|
+
* Clears the field making it undefined.
|
|
24034
|
+
* @return {!proto.user.AuthorizeManagerActionResponse} returns this
|
|
24035
|
+
*/
|
|
24036
|
+
proto.user.AuthorizeManagerActionResponse.prototype.clearPurpose = function() {
|
|
24037
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
24038
|
+
};
|
|
24039
|
+
|
|
24040
|
+
|
|
24041
|
+
/**
|
|
24042
|
+
* Returns whether this field is set.
|
|
24043
|
+
* @return {boolean}
|
|
24044
|
+
*/
|
|
24045
|
+
proto.user.AuthorizeManagerActionResponse.prototype.hasPurpose = function() {
|
|
24046
|
+
return jspb.Message.getField(this, 3) != null;
|
|
24047
|
+
};
|
|
24048
|
+
|
|
24049
|
+
|
|
24050
|
+
/**
|
|
24051
|
+
* optional string scope = 4;
|
|
24052
|
+
* @return {string}
|
|
24053
|
+
*/
|
|
24054
|
+
proto.user.AuthorizeManagerActionResponse.prototype.getScope = function() {
|
|
24055
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
24056
|
+
};
|
|
24057
|
+
|
|
24058
|
+
|
|
24059
|
+
/**
|
|
24060
|
+
* @param {string} value
|
|
24061
|
+
* @return {!proto.user.AuthorizeManagerActionResponse} returns this
|
|
24062
|
+
*/
|
|
24063
|
+
proto.user.AuthorizeManagerActionResponse.prototype.setScope = function(value) {
|
|
24064
|
+
return jspb.Message.setField(this, 4, value);
|
|
24065
|
+
};
|
|
24066
|
+
|
|
24067
|
+
|
|
24068
|
+
/**
|
|
24069
|
+
* Clears the field making it undefined.
|
|
24070
|
+
* @return {!proto.user.AuthorizeManagerActionResponse} returns this
|
|
24071
|
+
*/
|
|
24072
|
+
proto.user.AuthorizeManagerActionResponse.prototype.clearScope = function() {
|
|
24073
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
24074
|
+
};
|
|
24075
|
+
|
|
24076
|
+
|
|
24077
|
+
/**
|
|
24078
|
+
* Returns whether this field is set.
|
|
24079
|
+
* @return {boolean}
|
|
24080
|
+
*/
|
|
24081
|
+
proto.user.AuthorizeManagerActionResponse.prototype.hasScope = function() {
|
|
24082
|
+
return jspb.Message.getField(this, 4) != null;
|
|
24083
|
+
};
|
|
24084
|
+
|
|
24085
|
+
|
|
24086
|
+
/**
|
|
24087
|
+
* optional string action_context_hash = 5;
|
|
24088
|
+
* @return {string}
|
|
24089
|
+
*/
|
|
24090
|
+
proto.user.AuthorizeManagerActionResponse.prototype.getActionContextHash = function() {
|
|
24091
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
24092
|
+
};
|
|
24093
|
+
|
|
24094
|
+
|
|
24095
|
+
/**
|
|
24096
|
+
* @param {string} value
|
|
24097
|
+
* @return {!proto.user.AuthorizeManagerActionResponse} returns this
|
|
24098
|
+
*/
|
|
24099
|
+
proto.user.AuthorizeManagerActionResponse.prototype.setActionContextHash = function(value) {
|
|
24100
|
+
return jspb.Message.setField(this, 5, value);
|
|
24101
|
+
};
|
|
24102
|
+
|
|
24103
|
+
|
|
24104
|
+
/**
|
|
24105
|
+
* Clears the field making it undefined.
|
|
24106
|
+
* @return {!proto.user.AuthorizeManagerActionResponse} returns this
|
|
24107
|
+
*/
|
|
24108
|
+
proto.user.AuthorizeManagerActionResponse.prototype.clearActionContextHash = function() {
|
|
24109
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
24110
|
+
};
|
|
24111
|
+
|
|
24112
|
+
|
|
24113
|
+
/**
|
|
24114
|
+
* Returns whether this field is set.
|
|
24115
|
+
* @return {boolean}
|
|
24116
|
+
*/
|
|
24117
|
+
proto.user.AuthorizeManagerActionResponse.prototype.hasActionContextHash = function() {
|
|
24118
|
+
return jspb.Message.getField(this, 5) != null;
|
|
24119
|
+
};
|
|
24120
|
+
|
|
24121
|
+
|
|
24122
|
+
|
|
24123
|
+
|
|
24124
|
+
|
|
23479
24125
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
23480
24126
|
/**
|
|
23481
24127
|
* Creates an object representation of this proto.
|