@sniipwebmaster/user-service-client-grpcweb 26.5.14456 → 26.6.14500

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.
@@ -7154,6 +7154,67 @@ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.updateDobA
7154
7154
  };
7155
7155
 
7156
7156
 
7157
+ /**
7158
+ * @const
7159
+ * @type {!grpc.web.MethodDescriptor<
7160
+ * !proto.sniipuserservice.BackfillDobIfEmptyRequest,
7161
+ * !proto.sniipuserservice.BackfillDobIfEmptyResponse>}
7162
+ */
7163
+ const methodDescriptor_SniipUserServiceService_BackfillDobIfEmpty = new grpc.web.MethodDescriptor(
7164
+ '/sniipuserservice.SniipUserServiceService/BackfillDobIfEmpty',
7165
+ grpc.web.MethodType.UNARY,
7166
+ proto.sniipuserservice.BackfillDobIfEmptyRequest,
7167
+ proto.sniipuserservice.BackfillDobIfEmptyResponse,
7168
+ /**
7169
+ * @param {!proto.sniipuserservice.BackfillDobIfEmptyRequest} request
7170
+ * @return {!Uint8Array}
7171
+ */
7172
+ function(request) {
7173
+ return request.serializeBinary();
7174
+ },
7175
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.deserializeBinary
7176
+ );
7177
+
7178
+
7179
+ /**
7180
+ * @param {!proto.sniipuserservice.BackfillDobIfEmptyRequest} request The
7181
+ * request proto
7182
+ * @param {?Object<string, string>} metadata User defined
7183
+ * call metadata
7184
+ * @param {function(?grpc.web.RpcError, ?proto.sniipuserservice.BackfillDobIfEmptyResponse)}
7185
+ * callback The callback function(error, response)
7186
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipuserservice.BackfillDobIfEmptyResponse>|undefined}
7187
+ * The XHR Node Readable Stream
7188
+ */
7189
+ proto.sniipuserservice.SniipUserServiceServiceClient.prototype.backfillDobIfEmpty =
7190
+ function(request, metadata, callback) {
7191
+ return this.client_.rpcCall(this.hostname_ +
7192
+ '/sniipuserservice.SniipUserServiceService/BackfillDobIfEmpty',
7193
+ request,
7194
+ metadata || {},
7195
+ methodDescriptor_SniipUserServiceService_BackfillDobIfEmpty,
7196
+ callback);
7197
+ };
7198
+
7199
+
7200
+ /**
7201
+ * @param {!proto.sniipuserservice.BackfillDobIfEmptyRequest} request The
7202
+ * request proto
7203
+ * @param {?Object<string, string>=} metadata User defined
7204
+ * call metadata
7205
+ * @return {!Promise<!proto.sniipuserservice.BackfillDobIfEmptyResponse>}
7206
+ * Promise that resolves to the response
7207
+ */
7208
+ proto.sniipuserservice.SniipUserServiceServicePromiseClient.prototype.backfillDobIfEmpty =
7209
+ function(request, metadata) {
7210
+ return this.client_.unaryCall(this.hostname_ +
7211
+ '/sniipuserservice.SniipUserServiceService/BackfillDobIfEmpty',
7212
+ request,
7213
+ metadata || {},
7214
+ methodDescriptor_SniipUserServiceService_BackfillDobIfEmpty);
7215
+ };
7216
+
7217
+
7157
7218
  /**
7158
7219
  * @const
7159
7220
  * @type {!grpc.web.MethodDescriptor<
@@ -26,6 +26,8 @@ goog.exportSymbol('proto.sniipuserservice.AppAccountType', null, global);
26
26
  goog.exportSymbol('proto.sniipuserservice.AssignPermissionRolesRequest', null, global);
27
27
  goog.exportSymbol('proto.sniipuserservice.AssignedPermissionRole', null, global);
28
28
  goog.exportSymbol('proto.sniipuserservice.AssignedPermissionRolesPaginationResponse', null, global);
29
+ goog.exportSymbol('proto.sniipuserservice.BackfillDobIfEmptyRequest', null, global);
30
+ goog.exportSymbol('proto.sniipuserservice.BackfillDobIfEmptyResponse', null, global);
29
31
  goog.exportSymbol('proto.sniipuserservice.BillerSignUpRequest', null, global);
30
32
  goog.exportSymbol('proto.sniipuserservice.BrowserDetails', null, global);
31
33
  goog.exportSymbol('proto.sniipuserservice.BulkNotificationRequest', null, global);
@@ -4008,6 +4010,48 @@ if (goog.DEBUG && !COMPILED) {
4008
4010
  */
4009
4011
  proto.sniipuserservice.UserDobUpdateRequest.displayName = 'proto.sniipuserservice.UserDobUpdateRequest';
4010
4012
  }
4013
+ /**
4014
+ * Generated by JsPbCodeGenerator.
4015
+ * @param {Array=} opt_data Optional initial data array, typically from a
4016
+ * server response, or constructed directly in Javascript. The array is used
4017
+ * in place and becomes part of the constructed object. It is not cloned.
4018
+ * If no data is provided, the constructed object will be empty, but still
4019
+ * valid.
4020
+ * @extends {jspb.Message}
4021
+ * @constructor
4022
+ */
4023
+ proto.sniipuserservice.BackfillDobIfEmptyRequest = function(opt_data) {
4024
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4025
+ };
4026
+ goog.inherits(proto.sniipuserservice.BackfillDobIfEmptyRequest, jspb.Message);
4027
+ if (goog.DEBUG && !COMPILED) {
4028
+ /**
4029
+ * @public
4030
+ * @override
4031
+ */
4032
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.displayName = 'proto.sniipuserservice.BackfillDobIfEmptyRequest';
4033
+ }
4034
+ /**
4035
+ * Generated by JsPbCodeGenerator.
4036
+ * @param {Array=} opt_data Optional initial data array, typically from a
4037
+ * server response, or constructed directly in Javascript. The array is used
4038
+ * in place and becomes part of the constructed object. It is not cloned.
4039
+ * If no data is provided, the constructed object will be empty, but still
4040
+ * valid.
4041
+ * @extends {jspb.Message}
4042
+ * @constructor
4043
+ */
4044
+ proto.sniipuserservice.BackfillDobIfEmptyResponse = function(opt_data) {
4045
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4046
+ };
4047
+ goog.inherits(proto.sniipuserservice.BackfillDobIfEmptyResponse, jspb.Message);
4048
+ if (goog.DEBUG && !COMPILED) {
4049
+ /**
4050
+ * @public
4051
+ * @override
4052
+ */
4053
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.displayName = 'proto.sniipuserservice.BackfillDobIfEmptyResponse';
4054
+ }
4011
4055
  /**
4012
4056
  * Generated by JsPbCodeGenerator.
4013
4057
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -44791,6 +44835,326 @@ proto.sniipuserservice.UserDobUpdateRequest.prototype.setDob = function(value) {
44791
44835
 
44792
44836
 
44793
44837
 
44838
+ if (jspb.Message.GENERATE_TO_OBJECT) {
44839
+ /**
44840
+ * Creates an object representation of this proto.
44841
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
44842
+ * Optional fields that are not set will be set to undefined.
44843
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
44844
+ * For the list of reserved names please see:
44845
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
44846
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
44847
+ * JSPB instance for transitional soy proto support:
44848
+ * http://goto/soy-param-migration
44849
+ * @return {!Object}
44850
+ */
44851
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.prototype.toObject = function(opt_includeInstance) {
44852
+ return proto.sniipuserservice.BackfillDobIfEmptyRequest.toObject(opt_includeInstance, this);
44853
+ };
44854
+
44855
+
44856
+ /**
44857
+ * Static version of the {@see toObject} method.
44858
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
44859
+ * the JSPB instance for transitional soy proto support:
44860
+ * http://goto/soy-param-migration
44861
+ * @param {!proto.sniipuserservice.BackfillDobIfEmptyRequest} msg The msg instance to transform.
44862
+ * @return {!Object}
44863
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44864
+ */
44865
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.toObject = function(includeInstance, msg) {
44866
+ var f, obj = {
44867
+ userid: jspb.Message.getFieldWithDefault(msg, 1, 0),
44868
+ dob: jspb.Message.getFieldWithDefault(msg, 2, ""),
44869
+ systemauth: jspb.Message.getFieldWithDefault(msg, 3, "")
44870
+ };
44871
+
44872
+ if (includeInstance) {
44873
+ obj.$jspbMessageInstance = msg;
44874
+ }
44875
+ return obj;
44876
+ };
44877
+ }
44878
+
44879
+
44880
+ /**
44881
+ * Deserializes binary data (in protobuf wire format).
44882
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
44883
+ * @return {!proto.sniipuserservice.BackfillDobIfEmptyRequest}
44884
+ */
44885
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.deserializeBinary = function(bytes) {
44886
+ var reader = new jspb.BinaryReader(bytes);
44887
+ var msg = new proto.sniipuserservice.BackfillDobIfEmptyRequest;
44888
+ return proto.sniipuserservice.BackfillDobIfEmptyRequest.deserializeBinaryFromReader(msg, reader);
44889
+ };
44890
+
44891
+
44892
+ /**
44893
+ * Deserializes binary data (in protobuf wire format) from the
44894
+ * given reader into the given message object.
44895
+ * @param {!proto.sniipuserservice.BackfillDobIfEmptyRequest} msg The message object to deserialize into.
44896
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
44897
+ * @return {!proto.sniipuserservice.BackfillDobIfEmptyRequest}
44898
+ */
44899
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.deserializeBinaryFromReader = function(msg, reader) {
44900
+ while (reader.nextField()) {
44901
+ if (reader.isEndGroup()) {
44902
+ break;
44903
+ }
44904
+ var field = reader.getFieldNumber();
44905
+ switch (field) {
44906
+ case 1:
44907
+ var value = /** @type {number} */ (reader.readInt64());
44908
+ msg.setUserid(value);
44909
+ break;
44910
+ case 2:
44911
+ var value = /** @type {string} */ (reader.readString());
44912
+ msg.setDob(value);
44913
+ break;
44914
+ case 3:
44915
+ var value = /** @type {string} */ (reader.readString());
44916
+ msg.setSystemauth(value);
44917
+ break;
44918
+ default:
44919
+ reader.skipField();
44920
+ break;
44921
+ }
44922
+ }
44923
+ return msg;
44924
+ };
44925
+
44926
+
44927
+ /**
44928
+ * Serializes the message to binary data (in protobuf wire format).
44929
+ * @return {!Uint8Array}
44930
+ */
44931
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.prototype.serializeBinary = function() {
44932
+ var writer = new jspb.BinaryWriter();
44933
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.serializeBinaryToWriter(this, writer);
44934
+ return writer.getResultBuffer();
44935
+ };
44936
+
44937
+
44938
+ /**
44939
+ * Serializes the given message to binary data (in protobuf wire
44940
+ * format), writing to the given BinaryWriter.
44941
+ * @param {!proto.sniipuserservice.BackfillDobIfEmptyRequest} message
44942
+ * @param {!jspb.BinaryWriter} writer
44943
+ * @suppress {unusedLocalVariables} f is only used for nested messages
44944
+ */
44945
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.serializeBinaryToWriter = function(message, writer) {
44946
+ var f = undefined;
44947
+ f = message.getUserid();
44948
+ if (f !== 0) {
44949
+ writer.writeInt64(
44950
+ 1,
44951
+ f
44952
+ );
44953
+ }
44954
+ f = message.getDob();
44955
+ if (f.length > 0) {
44956
+ writer.writeString(
44957
+ 2,
44958
+ f
44959
+ );
44960
+ }
44961
+ f = message.getSystemauth();
44962
+ if (f.length > 0) {
44963
+ writer.writeString(
44964
+ 3,
44965
+ f
44966
+ );
44967
+ }
44968
+ };
44969
+
44970
+
44971
+ /**
44972
+ * optional int64 userId = 1;
44973
+ * @return {number}
44974
+ */
44975
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.prototype.getUserid = function() {
44976
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
44977
+ };
44978
+
44979
+
44980
+ /**
44981
+ * @param {number} value
44982
+ * @return {!proto.sniipuserservice.BackfillDobIfEmptyRequest} returns this
44983
+ */
44984
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.prototype.setUserid = function(value) {
44985
+ return jspb.Message.setProto3IntField(this, 1, value);
44986
+ };
44987
+
44988
+
44989
+ /**
44990
+ * optional string dob = 2;
44991
+ * @return {string}
44992
+ */
44993
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.prototype.getDob = function() {
44994
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
44995
+ };
44996
+
44997
+
44998
+ /**
44999
+ * @param {string} value
45000
+ * @return {!proto.sniipuserservice.BackfillDobIfEmptyRequest} returns this
45001
+ */
45002
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.prototype.setDob = function(value) {
45003
+ return jspb.Message.setProto3StringField(this, 2, value);
45004
+ };
45005
+
45006
+
45007
+ /**
45008
+ * optional string systemAuth = 3;
45009
+ * @return {string}
45010
+ */
45011
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.prototype.getSystemauth = function() {
45012
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
45013
+ };
45014
+
45015
+
45016
+ /**
45017
+ * @param {string} value
45018
+ * @return {!proto.sniipuserservice.BackfillDobIfEmptyRequest} returns this
45019
+ */
45020
+ proto.sniipuserservice.BackfillDobIfEmptyRequest.prototype.setSystemauth = function(value) {
45021
+ return jspb.Message.setProto3StringField(this, 3, value);
45022
+ };
45023
+
45024
+
45025
+
45026
+
45027
+
45028
+ if (jspb.Message.GENERATE_TO_OBJECT) {
45029
+ /**
45030
+ * Creates an object representation of this proto.
45031
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
45032
+ * Optional fields that are not set will be set to undefined.
45033
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
45034
+ * For the list of reserved names please see:
45035
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
45036
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
45037
+ * JSPB instance for transitional soy proto support:
45038
+ * http://goto/soy-param-migration
45039
+ * @return {!Object}
45040
+ */
45041
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.prototype.toObject = function(opt_includeInstance) {
45042
+ return proto.sniipuserservice.BackfillDobIfEmptyResponse.toObject(opt_includeInstance, this);
45043
+ };
45044
+
45045
+
45046
+ /**
45047
+ * Static version of the {@see toObject} method.
45048
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
45049
+ * the JSPB instance for transitional soy proto support:
45050
+ * http://goto/soy-param-migration
45051
+ * @param {!proto.sniipuserservice.BackfillDobIfEmptyResponse} msg The msg instance to transform.
45052
+ * @return {!Object}
45053
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45054
+ */
45055
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.toObject = function(includeInstance, msg) {
45056
+ var f, obj = {
45057
+ updated: jspb.Message.getBooleanFieldWithDefault(msg, 1, false)
45058
+ };
45059
+
45060
+ if (includeInstance) {
45061
+ obj.$jspbMessageInstance = msg;
45062
+ }
45063
+ return obj;
45064
+ };
45065
+ }
45066
+
45067
+
45068
+ /**
45069
+ * Deserializes binary data (in protobuf wire format).
45070
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
45071
+ * @return {!proto.sniipuserservice.BackfillDobIfEmptyResponse}
45072
+ */
45073
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.deserializeBinary = function(bytes) {
45074
+ var reader = new jspb.BinaryReader(bytes);
45075
+ var msg = new proto.sniipuserservice.BackfillDobIfEmptyResponse;
45076
+ return proto.sniipuserservice.BackfillDobIfEmptyResponse.deserializeBinaryFromReader(msg, reader);
45077
+ };
45078
+
45079
+
45080
+ /**
45081
+ * Deserializes binary data (in protobuf wire format) from the
45082
+ * given reader into the given message object.
45083
+ * @param {!proto.sniipuserservice.BackfillDobIfEmptyResponse} msg The message object to deserialize into.
45084
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
45085
+ * @return {!proto.sniipuserservice.BackfillDobIfEmptyResponse}
45086
+ */
45087
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.deserializeBinaryFromReader = function(msg, reader) {
45088
+ while (reader.nextField()) {
45089
+ if (reader.isEndGroup()) {
45090
+ break;
45091
+ }
45092
+ var field = reader.getFieldNumber();
45093
+ switch (field) {
45094
+ case 1:
45095
+ var value = /** @type {boolean} */ (reader.readBool());
45096
+ msg.setUpdated(value);
45097
+ break;
45098
+ default:
45099
+ reader.skipField();
45100
+ break;
45101
+ }
45102
+ }
45103
+ return msg;
45104
+ };
45105
+
45106
+
45107
+ /**
45108
+ * Serializes the message to binary data (in protobuf wire format).
45109
+ * @return {!Uint8Array}
45110
+ */
45111
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.prototype.serializeBinary = function() {
45112
+ var writer = new jspb.BinaryWriter();
45113
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.serializeBinaryToWriter(this, writer);
45114
+ return writer.getResultBuffer();
45115
+ };
45116
+
45117
+
45118
+ /**
45119
+ * Serializes the given message to binary data (in protobuf wire
45120
+ * format), writing to the given BinaryWriter.
45121
+ * @param {!proto.sniipuserservice.BackfillDobIfEmptyResponse} message
45122
+ * @param {!jspb.BinaryWriter} writer
45123
+ * @suppress {unusedLocalVariables} f is only used for nested messages
45124
+ */
45125
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.serializeBinaryToWriter = function(message, writer) {
45126
+ var f = undefined;
45127
+ f = message.getUpdated();
45128
+ if (f) {
45129
+ writer.writeBool(
45130
+ 1,
45131
+ f
45132
+ );
45133
+ }
45134
+ };
45135
+
45136
+
45137
+ /**
45138
+ * optional bool updated = 1;
45139
+ * @return {boolean}
45140
+ */
45141
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.prototype.getUpdated = function() {
45142
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 1, false));
45143
+ };
45144
+
45145
+
45146
+ /**
45147
+ * @param {boolean} value
45148
+ * @return {!proto.sniipuserservice.BackfillDobIfEmptyResponse} returns this
45149
+ */
45150
+ proto.sniipuserservice.BackfillDobIfEmptyResponse.prototype.setUpdated = function(value) {
45151
+ return jspb.Message.setProto3BooleanField(this, 1, value);
45152
+ };
45153
+
45154
+
45155
+
45156
+
45157
+
44794
45158
  if (jspb.Message.GENERATE_TO_OBJECT) {
44795
45159
  /**
44796
45160
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/user-service-client-grpcweb",
3
- "version": "26.5.14456",
3
+ "version": "26.6.14500",
4
4
  "description": "user-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",