@sniipwebmaster/user-service-client-grpcweb 21.20.5899 → 21.21.5923
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.
|
@@ -7434,6 +7434,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateUser
|
|
|
7434
7434
|
};
|
|
7435
7435
|
|
|
7436
7436
|
|
|
7437
|
+
/**
|
|
7438
|
+
* @const
|
|
7439
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7440
|
+
* !proto.sniipuserservice.UpdateUserStatusForTestRequest,
|
|
7441
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
7442
|
+
*/
|
|
7443
|
+
const methodDescriptor_SniipUserServiceService_UpdateUserStatusForTest = new grpc.web.MethodDescriptor(
|
|
7444
|
+
'/sniipuserservice.SniipUserServiceService/UpdateUserStatusForTest',
|
|
7445
|
+
grpc.web.MethodType.UNARY,
|
|
7446
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest,
|
|
7447
|
+
proto.sniipuserservice.ResponseCode,
|
|
7448
|
+
/**
|
|
7449
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusForTestRequest} request
|
|
7450
|
+
* @return {!Uint8Array}
|
|
7451
|
+
*/
|
|
7452
|
+
function(request) {
|
|
7453
|
+
return request.serializeBinary();
|
|
7454
|
+
},
|
|
7455
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
7456
|
+
);
|
|
7457
|
+
|
|
7458
|
+
|
|
7459
|
+
/**
|
|
7460
|
+
* @const
|
|
7461
|
+
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
7462
|
+
* !proto.sniipuserservice.UpdateUserStatusForTestRequest,
|
|
7463
|
+
* !proto.sniipuserservice.ResponseCode>}
|
|
7464
|
+
*/
|
|
7465
|
+
const methodInfo_SniipUserServiceService_UpdateUserStatusForTest = new grpc.web.AbstractClientBase.MethodInfo(
|
|
7466
|
+
proto.sniipuserservice.ResponseCode,
|
|
7467
|
+
/**
|
|
7468
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusForTestRequest} request
|
|
7469
|
+
* @return {!Uint8Array}
|
|
7470
|
+
*/
|
|
7471
|
+
function(request) {
|
|
7472
|
+
return request.serializeBinary();
|
|
7473
|
+
},
|
|
7474
|
+
proto.sniipuserservice.ResponseCode.deserializeBinary
|
|
7475
|
+
);
|
|
7476
|
+
|
|
7477
|
+
|
|
7478
|
+
/**
|
|
7479
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusForTestRequest} request The
|
|
7480
|
+
* request proto
|
|
7481
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7482
|
+
* call metadata
|
|
7483
|
+
* @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
|
|
7484
|
+
* callback The callback function(error, response)
|
|
7485
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
|
|
7486
|
+
* The XHR Node Readable Stream
|
|
7487
|
+
*/
|
|
7488
|
+
proto.sniipuserservice.SniipUserServiceServiceClient.prototype.updateUserStatusForTest =
|
|
7489
|
+
function(request, metadata, callback) {
|
|
7490
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7491
|
+
'/sniipuserservice.SniipUserServiceService/UpdateUserStatusForTest',
|
|
7492
|
+
request,
|
|
7493
|
+
metadata || {},
|
|
7494
|
+
methodDescriptor_SniipUserServiceService_UpdateUserStatusForTest,
|
|
7495
|
+
callback);
|
|
7496
|
+
};
|
|
7497
|
+
|
|
7498
|
+
|
|
7499
|
+
/**
|
|
7500
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusForTestRequest} request The
|
|
7501
|
+
* request proto
|
|
7502
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7503
|
+
* call metadata
|
|
7504
|
+
* @return {!Promise<!proto.sniipuserservice.ResponseCode>}
|
|
7505
|
+
* Promise that resolves to the response
|
|
7506
|
+
*/
|
|
7507
|
+
proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateUserStatusForTest =
|
|
7508
|
+
function(request, metadata) {
|
|
7509
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7510
|
+
'/sniipuserservice.SniipUserServiceService/UpdateUserStatusForTest',
|
|
7511
|
+
request,
|
|
7512
|
+
metadata || {},
|
|
7513
|
+
methodDescriptor_SniipUserServiceService_UpdateUserStatusForTest);
|
|
7514
|
+
};
|
|
7515
|
+
|
|
7516
|
+
|
|
7437
7517
|
/**
|
|
7438
7518
|
* @const
|
|
7439
7519
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -134,6 +134,7 @@ goog.exportSymbol('proto.sniipuserservice.UpdateEmailV2Request', null, global);
|
|
|
134
134
|
goog.exportSymbol('proto.sniipuserservice.UpdateNameRequest', null, global);
|
|
135
135
|
goog.exportSymbol('proto.sniipuserservice.UpdatePermissionRoleRequest', null, global);
|
|
136
136
|
goog.exportSymbol('proto.sniipuserservice.UpdatePhoneRequest', null, global);
|
|
137
|
+
goog.exportSymbol('proto.sniipuserservice.UpdateUserStatusForTestRequest', null, global);
|
|
137
138
|
goog.exportSymbol('proto.sniipuserservice.UpdateUserStatusInternalRequest', null, global);
|
|
138
139
|
goog.exportSymbol('proto.sniipuserservice.UpdateUserStatusRequest', null, global);
|
|
139
140
|
goog.exportSymbol('proto.sniipuserservice.UserDetailsResponse', null, global);
|
|
@@ -28738,6 +28739,182 @@ proto.sniipuserservice.UpdatePhoneRequest.prototype.setVerificationcodeautopopul
|
|
|
28738
28739
|
|
|
28739
28740
|
|
|
28740
28741
|
|
|
28742
|
+
/**
|
|
28743
|
+
* Generated by JsPbCodeGenerator.
|
|
28744
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
28745
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
28746
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
28747
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
28748
|
+
* valid.
|
|
28749
|
+
* @extends {jspb.Message}
|
|
28750
|
+
* @constructor
|
|
28751
|
+
*/
|
|
28752
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest = function(opt_data) {
|
|
28753
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
28754
|
+
};
|
|
28755
|
+
goog.inherits(proto.sniipuserservice.UpdateUserStatusForTestRequest, jspb.Message);
|
|
28756
|
+
if (goog.DEBUG && !COMPILED) {
|
|
28757
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.displayName = 'proto.sniipuserservice.UpdateUserStatusForTestRequest';
|
|
28758
|
+
}
|
|
28759
|
+
|
|
28760
|
+
|
|
28761
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
28762
|
+
/**
|
|
28763
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
28764
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
28765
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
28766
|
+
* For the list of reserved names please see:
|
|
28767
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
28768
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
28769
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
28770
|
+
* @return {!Object}
|
|
28771
|
+
*/
|
|
28772
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.prototype.toObject = function(opt_includeInstance) {
|
|
28773
|
+
return proto.sniipuserservice.UpdateUserStatusForTestRequest.toObject(opt_includeInstance, this);
|
|
28774
|
+
};
|
|
28775
|
+
|
|
28776
|
+
|
|
28777
|
+
/**
|
|
28778
|
+
* Static version of the {@see toObject} method.
|
|
28779
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
28780
|
+
* instance for transitional soy proto support:
|
|
28781
|
+
* http://goto/soy-param-migration
|
|
28782
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusForTestRequest} msg The msg instance to transform.
|
|
28783
|
+
* @return {!Object}
|
|
28784
|
+
*/
|
|
28785
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.toObject = function(includeInstance, msg) {
|
|
28786
|
+
var f, obj = {
|
|
28787
|
+
data: (f = msg.getData()) && proto.sniipuserservice.UserStatusUpdateRequest.toObject(includeInstance, f)
|
|
28788
|
+
};
|
|
28789
|
+
|
|
28790
|
+
if (includeInstance) {
|
|
28791
|
+
obj.$jspbMessageInstance = msg;
|
|
28792
|
+
}
|
|
28793
|
+
return obj;
|
|
28794
|
+
};
|
|
28795
|
+
}
|
|
28796
|
+
|
|
28797
|
+
|
|
28798
|
+
/**
|
|
28799
|
+
* Deserializes binary data (in protobuf wire format).
|
|
28800
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
28801
|
+
* @return {!proto.sniipuserservice.UpdateUserStatusForTestRequest}
|
|
28802
|
+
*/
|
|
28803
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.deserializeBinary = function(bytes) {
|
|
28804
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
28805
|
+
var msg = new proto.sniipuserservice.UpdateUserStatusForTestRequest;
|
|
28806
|
+
return proto.sniipuserservice.UpdateUserStatusForTestRequest.deserializeBinaryFromReader(msg, reader);
|
|
28807
|
+
};
|
|
28808
|
+
|
|
28809
|
+
|
|
28810
|
+
/**
|
|
28811
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
28812
|
+
* given reader into the given message object.
|
|
28813
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusForTestRequest} msg The message object to deserialize into.
|
|
28814
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
28815
|
+
* @return {!proto.sniipuserservice.UpdateUserStatusForTestRequest}
|
|
28816
|
+
*/
|
|
28817
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
28818
|
+
while (reader.nextField()) {
|
|
28819
|
+
if (reader.isEndGroup()) {
|
|
28820
|
+
break;
|
|
28821
|
+
}
|
|
28822
|
+
var field = reader.getFieldNumber();
|
|
28823
|
+
switch (field) {
|
|
28824
|
+
case 1:
|
|
28825
|
+
var value = new proto.sniipuserservice.UserStatusUpdateRequest;
|
|
28826
|
+
reader.readMessage(value,proto.sniipuserservice.UserStatusUpdateRequest.deserializeBinaryFromReader);
|
|
28827
|
+
msg.setData(value);
|
|
28828
|
+
break;
|
|
28829
|
+
default:
|
|
28830
|
+
reader.skipField();
|
|
28831
|
+
break;
|
|
28832
|
+
}
|
|
28833
|
+
}
|
|
28834
|
+
return msg;
|
|
28835
|
+
};
|
|
28836
|
+
|
|
28837
|
+
|
|
28838
|
+
/**
|
|
28839
|
+
* Class method variant: serializes the given message to binary data
|
|
28840
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
28841
|
+
* @param {!proto.sniipuserservice.UpdateUserStatusForTestRequest} message
|
|
28842
|
+
* @param {!jspb.BinaryWriter} writer
|
|
28843
|
+
*/
|
|
28844
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.serializeBinaryToWriter = function(message, writer) {
|
|
28845
|
+
message.serializeBinaryToWriter(writer);
|
|
28846
|
+
};
|
|
28847
|
+
|
|
28848
|
+
|
|
28849
|
+
/**
|
|
28850
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
28851
|
+
* @return {!Uint8Array}
|
|
28852
|
+
*/
|
|
28853
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.prototype.serializeBinary = function() {
|
|
28854
|
+
var writer = new jspb.BinaryWriter();
|
|
28855
|
+
this.serializeBinaryToWriter(writer);
|
|
28856
|
+
return writer.getResultBuffer();
|
|
28857
|
+
};
|
|
28858
|
+
|
|
28859
|
+
|
|
28860
|
+
/**
|
|
28861
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
28862
|
+
* writing to the given BinaryWriter.
|
|
28863
|
+
* @param {!jspb.BinaryWriter} writer
|
|
28864
|
+
*/
|
|
28865
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.prototype.serializeBinaryToWriter = function (writer) {
|
|
28866
|
+
var f = undefined;
|
|
28867
|
+
f = this.getData();
|
|
28868
|
+
if (f != null) {
|
|
28869
|
+
writer.writeMessage(
|
|
28870
|
+
1,
|
|
28871
|
+
f,
|
|
28872
|
+
proto.sniipuserservice.UserStatusUpdateRequest.serializeBinaryToWriter
|
|
28873
|
+
);
|
|
28874
|
+
}
|
|
28875
|
+
};
|
|
28876
|
+
|
|
28877
|
+
|
|
28878
|
+
/**
|
|
28879
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
28880
|
+
* @return {!proto.sniipuserservice.UpdateUserStatusForTestRequest} The clone.
|
|
28881
|
+
*/
|
|
28882
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.prototype.cloneMessage = function() {
|
|
28883
|
+
return /** @type {!proto.sniipuserservice.UpdateUserStatusForTestRequest} */ (jspb.Message.cloneMessage(this));
|
|
28884
|
+
};
|
|
28885
|
+
|
|
28886
|
+
|
|
28887
|
+
/**
|
|
28888
|
+
* optional UserStatusUpdateRequest data = 1;
|
|
28889
|
+
* @return {proto.sniipuserservice.UserStatusUpdateRequest}
|
|
28890
|
+
*/
|
|
28891
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.prototype.getData = function() {
|
|
28892
|
+
return /** @type{proto.sniipuserservice.UserStatusUpdateRequest} */ (
|
|
28893
|
+
jspb.Message.getWrapperField(this, proto.sniipuserservice.UserStatusUpdateRequest, 1));
|
|
28894
|
+
};
|
|
28895
|
+
|
|
28896
|
+
|
|
28897
|
+
/** @param {proto.sniipuserservice.UserStatusUpdateRequest|undefined} value */
|
|
28898
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.prototype.setData = function(value) {
|
|
28899
|
+
jspb.Message.setWrapperField(this, 1, value);
|
|
28900
|
+
};
|
|
28901
|
+
|
|
28902
|
+
|
|
28903
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.prototype.clearData = function() {
|
|
28904
|
+
this.setData(undefined);
|
|
28905
|
+
};
|
|
28906
|
+
|
|
28907
|
+
|
|
28908
|
+
/**
|
|
28909
|
+
* Returns whether this field is set.
|
|
28910
|
+
* @return{!boolean}
|
|
28911
|
+
*/
|
|
28912
|
+
proto.sniipuserservice.UpdateUserStatusForTestRequest.prototype.hasData = function() {
|
|
28913
|
+
return jspb.Message.getField(this, 1) != null;
|
|
28914
|
+
};
|
|
28915
|
+
|
|
28916
|
+
|
|
28917
|
+
|
|
28741
28918
|
/**
|
|
28742
28919
|
* Generated by JsPbCodeGenerator.
|
|
28743
28920
|
* @param {Array=} opt_data Optional initial data array, typically from a
|