@sniipwebmaster/user-service-client-grpcweb 23.5.9085 → 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.
@@ -2234,6 +2234,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.deleteBill
2234
2234
  };
2235
2235
 
2236
2236
 
2237
+ /**
2238
+ * @const
2239
+ * @type {!grpc.web.MethodDescriptor<
2240
+ * !proto.google.protobuf.Empty,
2241
+ * !proto.sniipuserservice.ResponseCode>}
2242
+ */
2243
+ const methodDescriptor_SniipUserServiceService_DeleteProfilePicture = new grpc.web.MethodDescriptor(
2244
+ '/sniipuserservice.SniipUserServiceService/DeleteProfilePicture',
2245
+ grpc.web.MethodType.UNARY,
2246
+ google_protobuf_empty_pb.Empty,
2247
+ proto.sniipuserservice.ResponseCode,
2248
+ /**
2249
+ * @param {!proto.google.protobuf.Empty} request
2250
+ * @return {!Uint8Array}
2251
+ */
2252
+ function(request) {
2253
+ return request.serializeBinary();
2254
+ },
2255
+ proto.sniipuserservice.ResponseCode.deserializeBinary
2256
+ );
2257
+
2258
+
2259
+ /**
2260
+ * @const
2261
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
2262
+ * !proto.google.protobuf.Empty,
2263
+ * !proto.sniipuserservice.ResponseCode>}
2264
+ */
2265
+ const methodInfo_SniipUserServiceService_DeleteProfilePicture = new grpc.web.AbstractClientBase.MethodInfo(
2266
+ proto.sniipuserservice.ResponseCode,
2267
+ /**
2268
+ * @param {!proto.google.protobuf.Empty} request
2269
+ * @return {!Uint8Array}
2270
+ */
2271
+ function(request) {
2272
+ return request.serializeBinary();
2273
+ },
2274
+ proto.sniipuserservice.ResponseCode.deserializeBinary
2275
+ );
2276
+
2277
+
2278
+ /**
2279
+ * @param {!proto.google.protobuf.Empty} request The
2280
+ * request proto
2281
+ * @param {?Object<string, string>} metadata User defined
2282
+ * call metadata
2283
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.ResponseCode)}
2284
+ * callback The callback function(error, response)
2285
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.ResponseCode>|undefined}
2286
+ * The XHR Node Readable Stream
2287
+ */
2288
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.deleteProfilePicture =
2289
+ function(request, metadata, callback) {
2290
+ return this.client_.rpcCall(this.hostname_ +
2291
+ '/sniipuserservice.SniipUserServiceService/DeleteProfilePicture',
2292
+ request,
2293
+ metadata || {},
2294
+ methodDescriptor_SniipUserServiceService_DeleteProfilePicture,
2295
+ callback);
2296
+ };
2297
+
2298
+
2299
+ /**
2300
+ * @param {!proto.google.protobuf.Empty} request The
2301
+ * request proto
2302
+ * @param {?Object<string, string>} metadata User defined
2303
+ * call metadata
2304
+ * @return {!Promise<!proto.sniipuserservice.ResponseCode>}
2305
+ * Promise that resolves to the response
2306
+ */
2307
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.deleteProfilePicture =
2308
+ function(request, metadata) {
2309
+ return this.client_.unaryCall(this.hostname_ +
2310
+ '/sniipuserservice.SniipUserServiceService/DeleteProfilePicture',
2311
+ request,
2312
+ metadata || {},
2313
+ methodDescriptor_SniipUserServiceService_DeleteProfilePicture);
2314
+ };
2315
+
2316
+
2237
2317
  /**
2238
2318
  * @const
2239
2319
  * @type {!grpc.web.MethodDescriptor<
@@ -6954,6 +7034,86 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.searchUser
6954
7034
  };
6955
7035
 
6956
7036
 
7037
+ /**
7038
+ * @const
7039
+ * @type {!grpc.web.MethodDescriptor<
7040
+ * !proto.sniipuserservice.SearchUsersV2Request,
7041
+ * !proto.sniipuserservice.SearchUsersResponse>}
7042
+ */
7043
+ const methodDescriptor_SniipUserServiceService_SearchUsersV2 = new grpc.web.MethodDescriptor(
7044
+ '/sniipuserservice.SniipUserServiceService/SearchUsersV2',
7045
+ grpc.web.MethodType.UNARY,
7046
+ proto.sniipuserservice.SearchUsersV2Request,
7047
+ proto.sniipuserservice.SearchUsersResponse,
7048
+ /**
7049
+ * @param {!proto.sniipuserservice.SearchUsersV2Request} request
7050
+ * @return {!Uint8Array}
7051
+ */
7052
+ function(request) {
7053
+ return request.serializeBinary();
7054
+ },
7055
+ proto.sniipuserservice.SearchUsersResponse.deserializeBinary
7056
+ );
7057
+
7058
+
7059
+ /**
7060
+ * @const
7061
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
7062
+ * !proto.sniipuserservice.SearchUsersV2Request,
7063
+ * !proto.sniipuserservice.SearchUsersResponse>}
7064
+ */
7065
+ const methodInfo_SniipUserServiceService_SearchUsersV2 = new grpc.web.AbstractClientBase.MethodInfo(
7066
+ proto.sniipuserservice.SearchUsersResponse,
7067
+ /**
7068
+ * @param {!proto.sniipuserservice.SearchUsersV2Request} request
7069
+ * @return {!Uint8Array}
7070
+ */
7071
+ function(request) {
7072
+ return request.serializeBinary();
7073
+ },
7074
+ proto.sniipuserservice.SearchUsersResponse.deserializeBinary
7075
+ );
7076
+
7077
+
7078
+ /**
7079
+ * @param {!proto.sniipuserservice.SearchUsersV2Request} request The
7080
+ * request proto
7081
+ * @param {?Object<string, string>} metadata User defined
7082
+ * call metadata
7083
+ * @param {function(?grpc.web.Error, ?proto.sniipuserservice.SearchUsersResponse)}
7084
+ * callback The callback function(error, response)
7085
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.SearchUsersResponse>|undefined}
7086
+ * The XHR Node Readable Stream
7087
+ */
7088
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.searchUsersV2 =
7089
+ function(request, metadata, callback) {
7090
+ return this.client_.rpcCall(this.hostname_ +
7091
+ '/sniipuserservice.SniipUserServiceService/SearchUsersV2',
7092
+ request,
7093
+ metadata || {},
7094
+ methodDescriptor_SniipUserServiceService_SearchUsersV2,
7095
+ callback);
7096
+ };
7097
+
7098
+
7099
+ /**
7100
+ * @param {!proto.sniipuserservice.SearchUsersV2Request} request The
7101
+ * request proto
7102
+ * @param {?Object<string, string>} metadata User defined
7103
+ * call metadata
7104
+ * @return {!Promise<!proto.sniipuserservice.SearchUsersResponse>}
7105
+ * Promise that resolves to the response
7106
+ */
7107
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.searchUsersV2 =
7108
+ function(request, metadata) {
7109
+ return this.client_.unaryCall(this.hostname_ +
7110
+ '/sniipuserservice.SniipUserServiceService/SearchUsersV2',
7111
+ request,
7112
+ metadata || {},
7113
+ methodDescriptor_SniipUserServiceService_SearchUsersV2);
7114
+ };
7115
+
7116
+
6957
7117
  /**
6958
7118
  * @const
6959
7119
  * @type {!grpc.web.MethodDescriptor<
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb",
3
- "version": "23.5.9085",
3
+ "version": "23.5.9108",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",