@sniipwebmaster/user-service-client-grpcweb-ts 23.5.9095 → 23.5.9108
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.
|
@@ -1201,6 +1201,49 @@ export class SniipUserServiceServiceClient {
|
|
|
1201
1201
|
this.methodDescriptorDeleteBillerRoles);
|
|
1202
1202
|
}
|
|
1203
1203
|
|
|
1204
|
+
methodDescriptorDeleteProfilePicture = new grpcWeb.MethodDescriptor(
|
|
1205
|
+
'/sniipuserservice.SniipUserServiceService/DeleteProfilePicture',
|
|
1206
|
+
grpcWeb.MethodType.UNARY,
|
|
1207
|
+
google_protobuf_empty_pb.Empty,
|
|
1208
|
+
service_pb.ResponseCode,
|
|
1209
|
+
(request: google_protobuf_empty_pb.Empty) => {
|
|
1210
|
+
return request.serializeBinary();
|
|
1211
|
+
},
|
|
1212
|
+
service_pb.ResponseCode.deserializeBinary
|
|
1213
|
+
);
|
|
1214
|
+
|
|
1215
|
+
deleteProfilePicture(
|
|
1216
|
+
request: google_protobuf_empty_pb.Empty,
|
|
1217
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.ResponseCode>;
|
|
1218
|
+
|
|
1219
|
+
deleteProfilePicture(
|
|
1220
|
+
request: google_protobuf_empty_pb.Empty,
|
|
1221
|
+
metadata: grpcWeb.Metadata | null,
|
|
1222
|
+
callback: (err: grpcWeb.RpcError,
|
|
1223
|
+
response: service_pb.ResponseCode) => void): grpcWeb.ClientReadableStream<service_pb.ResponseCode>;
|
|
1224
|
+
|
|
1225
|
+
deleteProfilePicture(
|
|
1226
|
+
request: google_protobuf_empty_pb.Empty,
|
|
1227
|
+
metadata: grpcWeb.Metadata | null,
|
|
1228
|
+
callback?: (err: grpcWeb.RpcError,
|
|
1229
|
+
response: service_pb.ResponseCode) => void) {
|
|
1230
|
+
if (callback !== undefined) {
|
|
1231
|
+
return this.client_.rpcCall(
|
|
1232
|
+
this.hostname_ +
|
|
1233
|
+
'/sniipuserservice.SniipUserServiceService/DeleteProfilePicture',
|
|
1234
|
+
request,
|
|
1235
|
+
metadata || {},
|
|
1236
|
+
this.methodDescriptorDeleteProfilePicture,
|
|
1237
|
+
callback);
|
|
1238
|
+
}
|
|
1239
|
+
return this.client_.unaryCall(
|
|
1240
|
+
this.hostname_ +
|
|
1241
|
+
'/sniipuserservice.SniipUserServiceService/DeleteProfilePicture',
|
|
1242
|
+
request,
|
|
1243
|
+
metadata || {},
|
|
1244
|
+
this.methodDescriptorDeleteProfilePicture);
|
|
1245
|
+
}
|
|
1246
|
+
|
|
1204
1247
|
methodDescriptorDeleteTestAccount = new grpcWeb.MethodDescriptor(
|
|
1205
1248
|
'/sniipuserservice.SniipUserServiceService/DeleteTestAccount',
|
|
1206
1249
|
grpcWeb.MethodType.UNARY,
|
|
@@ -3738,6 +3781,49 @@ export class SniipUserServiceServiceClient {
|
|
|
3738
3781
|
this.methodDescriptorSearchUsersByRole);
|
|
3739
3782
|
}
|
|
3740
3783
|
|
|
3784
|
+
methodDescriptorSearchUsersV2 = new grpcWeb.MethodDescriptor(
|
|
3785
|
+
'/sniipuserservice.SniipUserServiceService/SearchUsersV2',
|
|
3786
|
+
grpcWeb.MethodType.UNARY,
|
|
3787
|
+
service_pb.SearchUsersV2Request,
|
|
3788
|
+
service_pb.SearchUsersResponse,
|
|
3789
|
+
(request: service_pb.SearchUsersV2Request) => {
|
|
3790
|
+
return request.serializeBinary();
|
|
3791
|
+
},
|
|
3792
|
+
service_pb.SearchUsersResponse.deserializeBinary
|
|
3793
|
+
);
|
|
3794
|
+
|
|
3795
|
+
searchUsersV2(
|
|
3796
|
+
request: service_pb.SearchUsersV2Request,
|
|
3797
|
+
metadata: grpcWeb.Metadata | null): Promise<service_pb.SearchUsersResponse>;
|
|
3798
|
+
|
|
3799
|
+
searchUsersV2(
|
|
3800
|
+
request: service_pb.SearchUsersV2Request,
|
|
3801
|
+
metadata: grpcWeb.Metadata | null,
|
|
3802
|
+
callback: (err: grpcWeb.RpcError,
|
|
3803
|
+
response: service_pb.SearchUsersResponse) => void): grpcWeb.ClientReadableStream<service_pb.SearchUsersResponse>;
|
|
3804
|
+
|
|
3805
|
+
searchUsersV2(
|
|
3806
|
+
request: service_pb.SearchUsersV2Request,
|
|
3807
|
+
metadata: grpcWeb.Metadata | null,
|
|
3808
|
+
callback?: (err: grpcWeb.RpcError,
|
|
3809
|
+
response: service_pb.SearchUsersResponse) => void) {
|
|
3810
|
+
if (callback !== undefined) {
|
|
3811
|
+
return this.client_.rpcCall(
|
|
3812
|
+
this.hostname_ +
|
|
3813
|
+
'/sniipuserservice.SniipUserServiceService/SearchUsersV2',
|
|
3814
|
+
request,
|
|
3815
|
+
metadata || {},
|
|
3816
|
+
this.methodDescriptorSearchUsersV2,
|
|
3817
|
+
callback);
|
|
3818
|
+
}
|
|
3819
|
+
return this.client_.unaryCall(
|
|
3820
|
+
this.hostname_ +
|
|
3821
|
+
'/sniipuserservice.SniipUserServiceService/SearchUsersV2',
|
|
3822
|
+
request,
|
|
3823
|
+
metadata || {},
|
|
3824
|
+
this.methodDescriptorSearchUsersV2);
|
|
3825
|
+
}
|
|
3826
|
+
|
|
3741
3827
|
methodDescriptorSeedProductionAccounts = new grpcWeb.MethodDescriptor(
|
|
3742
3828
|
'/sniipuserservice.SniipUserServiceService/SeedProductionAccounts',
|
|
3743
3829
|
grpcWeb.MethodType.UNARY,
|
|
@@ -3634,6 +3634,36 @@ export namespace SearchUsersResponse {
|
|
|
3634
3634
|
}
|
|
3635
3635
|
}
|
|
3636
3636
|
|
|
3637
|
+
export class SearchUsersV2Request extends jspb.Message {
|
|
3638
|
+
getPage(): number;
|
|
3639
|
+
setPage(value: number): SearchUsersV2Request;
|
|
3640
|
+
|
|
3641
|
+
getPagesize(): number;
|
|
3642
|
+
setPagesize(value: number): SearchUsersV2Request;
|
|
3643
|
+
|
|
3644
|
+
getQuery(): string;
|
|
3645
|
+
setQuery(value: string): SearchUsersV2Request;
|
|
3646
|
+
|
|
3647
|
+
getIsdeleted(): boolean;
|
|
3648
|
+
setIsdeleted(value: boolean): SearchUsersV2Request;
|
|
3649
|
+
|
|
3650
|
+
serializeBinary(): Uint8Array;
|
|
3651
|
+
toObject(includeInstance?: boolean): SearchUsersV2Request.AsObject;
|
|
3652
|
+
static toObject(includeInstance: boolean, msg: SearchUsersV2Request): SearchUsersV2Request.AsObject;
|
|
3653
|
+
static serializeBinaryToWriter(message: SearchUsersV2Request, writer: jspb.BinaryWriter): void;
|
|
3654
|
+
static deserializeBinary(bytes: Uint8Array): SearchUsersV2Request;
|
|
3655
|
+
static deserializeBinaryFromReader(message: SearchUsersV2Request, reader: jspb.BinaryReader): SearchUsersV2Request;
|
|
3656
|
+
}
|
|
3657
|
+
|
|
3658
|
+
export namespace SearchUsersV2Request {
|
|
3659
|
+
export type AsObject = {
|
|
3660
|
+
page: number,
|
|
3661
|
+
pagesize: number,
|
|
3662
|
+
query: string,
|
|
3663
|
+
isdeleted: boolean,
|
|
3664
|
+
}
|
|
3665
|
+
}
|
|
3666
|
+
|
|
3637
3667
|
export class SendCustomerNotificationRequest extends jspb.Message {
|
|
3638
3668
|
getUserid(): number;
|
|
3639
3669
|
setUserid(value: number): SendCustomerNotificationRequest;
|
|
@@ -138,6 +138,7 @@ goog.exportSymbol('proto.sniipuserservice.SearchPermissionRequest', null, global
|
|
|
138
138
|
goog.exportSymbol('proto.sniipuserservice.SearchUsersByRoleRequest', null, global);
|
|
139
139
|
goog.exportSymbol('proto.sniipuserservice.SearchUsersRequest', null, global);
|
|
140
140
|
goog.exportSymbol('proto.sniipuserservice.SearchUsersResponse', null, global);
|
|
141
|
+
goog.exportSymbol('proto.sniipuserservice.SearchUsersV2Request', null, global);
|
|
141
142
|
goog.exportSymbol('proto.sniipuserservice.SendCustomerNotificationRequest', null, global);
|
|
142
143
|
goog.exportSymbol('proto.sniipuserservice.SendCustomerSmsRequest', null, global);
|
|
143
144
|
goog.exportSymbol('proto.sniipuserservice.SendNotificationToCustomerRequest', null, global);
|
|
@@ -29713,6 +29714,248 @@ proto.sniipuserservice.SearchUsersResponse.prototype.clearUserprofilesList = fun
|
|
|
29713
29714
|
|
|
29714
29715
|
|
|
29715
29716
|
|
|
29717
|
+
/**
|
|
29718
|
+
* Generated by JsPbCodeGenerator.
|
|
29719
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
29720
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
29721
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
29722
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
29723
|
+
* valid.
|
|
29724
|
+
* @extends {jspb.Message}
|
|
29725
|
+
* @constructor
|
|
29726
|
+
*/
|
|
29727
|
+
proto.sniipuserservice.SearchUsersV2Request = function(opt_data) {
|
|
29728
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
29729
|
+
};
|
|
29730
|
+
goog.inherits(proto.sniipuserservice.SearchUsersV2Request, jspb.Message);
|
|
29731
|
+
if (goog.DEBUG && !COMPILED) {
|
|
29732
|
+
proto.sniipuserservice.SearchUsersV2Request.displayName = 'proto.sniipuserservice.SearchUsersV2Request';
|
|
29733
|
+
}
|
|
29734
|
+
|
|
29735
|
+
|
|
29736
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
29737
|
+
/**
|
|
29738
|
+
* Creates an object representation of this proto suitable for use in Soy templates.
|
|
29739
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
29740
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
29741
|
+
* For the list of reserved names please see:
|
|
29742
|
+
* com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
|
|
29743
|
+
* @param {boolean=} opt_includeInstance Whether to include the JSPB instance
|
|
29744
|
+
* for transitional soy proto support: http://goto/soy-param-migration
|
|
29745
|
+
* @return {!Object}
|
|
29746
|
+
*/
|
|
29747
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.toObject = function(opt_includeInstance) {
|
|
29748
|
+
return proto.sniipuserservice.SearchUsersV2Request.toObject(opt_includeInstance, this);
|
|
29749
|
+
};
|
|
29750
|
+
|
|
29751
|
+
|
|
29752
|
+
/**
|
|
29753
|
+
* Static version of the {@see toObject} method.
|
|
29754
|
+
* @param {boolean|undefined} includeInstance Whether to include the JSPB
|
|
29755
|
+
* instance for transitional soy proto support:
|
|
29756
|
+
* http://goto/soy-param-migration
|
|
29757
|
+
* @param {!proto.sniipuserservice.SearchUsersV2Request} msg The msg instance to transform.
|
|
29758
|
+
* @return {!Object}
|
|
29759
|
+
*/
|
|
29760
|
+
proto.sniipuserservice.SearchUsersV2Request.toObject = function(includeInstance, msg) {
|
|
29761
|
+
var f, obj = {
|
|
29762
|
+
page: msg.getPage(),
|
|
29763
|
+
pagesize: msg.getPagesize(),
|
|
29764
|
+
query: msg.getQuery(),
|
|
29765
|
+
isdeleted: msg.getIsdeleted()
|
|
29766
|
+
};
|
|
29767
|
+
|
|
29768
|
+
if (includeInstance) {
|
|
29769
|
+
obj.$jspbMessageInstance = msg;
|
|
29770
|
+
}
|
|
29771
|
+
return obj;
|
|
29772
|
+
};
|
|
29773
|
+
}
|
|
29774
|
+
|
|
29775
|
+
|
|
29776
|
+
/**
|
|
29777
|
+
* Deserializes binary data (in protobuf wire format).
|
|
29778
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
29779
|
+
* @return {!proto.sniipuserservice.SearchUsersV2Request}
|
|
29780
|
+
*/
|
|
29781
|
+
proto.sniipuserservice.SearchUsersV2Request.deserializeBinary = function(bytes) {
|
|
29782
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
29783
|
+
var msg = new proto.sniipuserservice.SearchUsersV2Request;
|
|
29784
|
+
return proto.sniipuserservice.SearchUsersV2Request.deserializeBinaryFromReader(msg, reader);
|
|
29785
|
+
};
|
|
29786
|
+
|
|
29787
|
+
|
|
29788
|
+
/**
|
|
29789
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
29790
|
+
* given reader into the given message object.
|
|
29791
|
+
* @param {!proto.sniipuserservice.SearchUsersV2Request} msg The message object to deserialize into.
|
|
29792
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
29793
|
+
* @return {!proto.sniipuserservice.SearchUsersV2Request}
|
|
29794
|
+
*/
|
|
29795
|
+
proto.sniipuserservice.SearchUsersV2Request.deserializeBinaryFromReader = function(msg, reader) {
|
|
29796
|
+
while (reader.nextField()) {
|
|
29797
|
+
if (reader.isEndGroup()) {
|
|
29798
|
+
break;
|
|
29799
|
+
}
|
|
29800
|
+
var field = reader.getFieldNumber();
|
|
29801
|
+
switch (field) {
|
|
29802
|
+
case 1:
|
|
29803
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29804
|
+
msg.setPage(value);
|
|
29805
|
+
break;
|
|
29806
|
+
case 2:
|
|
29807
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
29808
|
+
msg.setPagesize(value);
|
|
29809
|
+
break;
|
|
29810
|
+
case 3:
|
|
29811
|
+
var value = /** @type {string} */ (reader.readString());
|
|
29812
|
+
msg.setQuery(value);
|
|
29813
|
+
break;
|
|
29814
|
+
case 4:
|
|
29815
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
29816
|
+
msg.setIsdeleted(value);
|
|
29817
|
+
break;
|
|
29818
|
+
default:
|
|
29819
|
+
reader.skipField();
|
|
29820
|
+
break;
|
|
29821
|
+
}
|
|
29822
|
+
}
|
|
29823
|
+
return msg;
|
|
29824
|
+
};
|
|
29825
|
+
|
|
29826
|
+
|
|
29827
|
+
/**
|
|
29828
|
+
* Class method variant: serializes the given message to binary data
|
|
29829
|
+
* (in protobuf wire format), writing to the given BinaryWriter.
|
|
29830
|
+
* @param {!proto.sniipuserservice.SearchUsersV2Request} message
|
|
29831
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29832
|
+
*/
|
|
29833
|
+
proto.sniipuserservice.SearchUsersV2Request.serializeBinaryToWriter = function(message, writer) {
|
|
29834
|
+
message.serializeBinaryToWriter(writer);
|
|
29835
|
+
};
|
|
29836
|
+
|
|
29837
|
+
|
|
29838
|
+
/**
|
|
29839
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
29840
|
+
* @return {!Uint8Array}
|
|
29841
|
+
*/
|
|
29842
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.serializeBinary = function() {
|
|
29843
|
+
var writer = new jspb.BinaryWriter();
|
|
29844
|
+
this.serializeBinaryToWriter(writer);
|
|
29845
|
+
return writer.getResultBuffer();
|
|
29846
|
+
};
|
|
29847
|
+
|
|
29848
|
+
|
|
29849
|
+
/**
|
|
29850
|
+
* Serializes the message to binary data (in protobuf wire format),
|
|
29851
|
+
* writing to the given BinaryWriter.
|
|
29852
|
+
* @param {!jspb.BinaryWriter} writer
|
|
29853
|
+
*/
|
|
29854
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.serializeBinaryToWriter = function (writer) {
|
|
29855
|
+
var f = undefined;
|
|
29856
|
+
f = this.getPage();
|
|
29857
|
+
if (f !== 0) {
|
|
29858
|
+
writer.writeInt32(
|
|
29859
|
+
1,
|
|
29860
|
+
f
|
|
29861
|
+
);
|
|
29862
|
+
}
|
|
29863
|
+
f = this.getPagesize();
|
|
29864
|
+
if (f !== 0) {
|
|
29865
|
+
writer.writeInt32(
|
|
29866
|
+
2,
|
|
29867
|
+
f
|
|
29868
|
+
);
|
|
29869
|
+
}
|
|
29870
|
+
f = this.getQuery();
|
|
29871
|
+
if (f.length > 0) {
|
|
29872
|
+
writer.writeString(
|
|
29873
|
+
3,
|
|
29874
|
+
f
|
|
29875
|
+
);
|
|
29876
|
+
}
|
|
29877
|
+
f = this.getIsdeleted();
|
|
29878
|
+
if (f) {
|
|
29879
|
+
writer.writeBool(
|
|
29880
|
+
4,
|
|
29881
|
+
f
|
|
29882
|
+
);
|
|
29883
|
+
}
|
|
29884
|
+
};
|
|
29885
|
+
|
|
29886
|
+
|
|
29887
|
+
/**
|
|
29888
|
+
* Creates a deep clone of this proto. No data is shared with the original.
|
|
29889
|
+
* @return {!proto.sniipuserservice.SearchUsersV2Request} The clone.
|
|
29890
|
+
*/
|
|
29891
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.cloneMessage = function() {
|
|
29892
|
+
return /** @type {!proto.sniipuserservice.SearchUsersV2Request} */ (jspb.Message.cloneMessage(this));
|
|
29893
|
+
};
|
|
29894
|
+
|
|
29895
|
+
|
|
29896
|
+
/**
|
|
29897
|
+
* optional int32 page = 1;
|
|
29898
|
+
* @return {number}
|
|
29899
|
+
*/
|
|
29900
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.getPage = function() {
|
|
29901
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
|
|
29902
|
+
};
|
|
29903
|
+
|
|
29904
|
+
|
|
29905
|
+
/** @param {number} value */
|
|
29906
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.setPage = function(value) {
|
|
29907
|
+
jspb.Message.setField(this, 1, value);
|
|
29908
|
+
};
|
|
29909
|
+
|
|
29910
|
+
|
|
29911
|
+
/**
|
|
29912
|
+
* optional int32 pageSize = 2;
|
|
29913
|
+
* @return {number}
|
|
29914
|
+
*/
|
|
29915
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.getPagesize = function() {
|
|
29916
|
+
return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
|
|
29917
|
+
};
|
|
29918
|
+
|
|
29919
|
+
|
|
29920
|
+
/** @param {number} value */
|
|
29921
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.setPagesize = function(value) {
|
|
29922
|
+
jspb.Message.setField(this, 2, value);
|
|
29923
|
+
};
|
|
29924
|
+
|
|
29925
|
+
|
|
29926
|
+
/**
|
|
29927
|
+
* optional string query = 3;
|
|
29928
|
+
* @return {string}
|
|
29929
|
+
*/
|
|
29930
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.getQuery = function() {
|
|
29931
|
+
return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
|
|
29932
|
+
};
|
|
29933
|
+
|
|
29934
|
+
|
|
29935
|
+
/** @param {string} value */
|
|
29936
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.setQuery = function(value) {
|
|
29937
|
+
jspb.Message.setField(this, 3, value);
|
|
29938
|
+
};
|
|
29939
|
+
|
|
29940
|
+
|
|
29941
|
+
/**
|
|
29942
|
+
* optional bool isDeleted = 4;
|
|
29943
|
+
* Note that Boolean fields may be set to 0/1 when serialized from a Java server.
|
|
29944
|
+
* You should avoid comparisons like {@code val === true/false} in those cases.
|
|
29945
|
+
* @return {boolean}
|
|
29946
|
+
*/
|
|
29947
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.getIsdeleted = function() {
|
|
29948
|
+
return /** @type {boolean} */ (jspb.Message.getFieldProto3(this, 4, false));
|
|
29949
|
+
};
|
|
29950
|
+
|
|
29951
|
+
|
|
29952
|
+
/** @param {boolean} value */
|
|
29953
|
+
proto.sniipuserservice.SearchUsersV2Request.prototype.setIsdeleted = function(value) {
|
|
29954
|
+
jspb.Message.setField(this, 4, value);
|
|
29955
|
+
};
|
|
29956
|
+
|
|
29957
|
+
|
|
29958
|
+
|
|
29716
29959
|
/**
|
|
29717
29960
|
* Generated by JsPbCodeGenerator.
|
|
29718
29961
|
* @param {Array=} opt_data Optional initial data array, typically from a
|