@sniipwebmaster/user-service-client-grpcweb-ts 26.5.14445 → 26.6.14481

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.
@@ -5028,6 +5028,49 @@ export class SniipUserServiceServiceClient {
5028
5028
  this.methodDescriptorUpdateDobApp);
5029
5029
  }
5030
5030
 
5031
+ methodDescriptorBackfillDobIfEmpty = new grpcWeb.MethodDescriptor(
5032
+ '/sniipuserservice.SniipUserServiceService/BackfillDobIfEmpty',
5033
+ grpcWeb.MethodType.UNARY,
5034
+ service_pb.BackfillDobIfEmptyRequest,
5035
+ service_pb.BackfillDobIfEmptyResponse,
5036
+ (request: service_pb.BackfillDobIfEmptyRequest) => {
5037
+ return request.serializeBinary();
5038
+ },
5039
+ service_pb.BackfillDobIfEmptyResponse.deserializeBinary
5040
+ );
5041
+
5042
+ backfillDobIfEmpty(
5043
+ request: service_pb.BackfillDobIfEmptyRequest,
5044
+ metadata?: grpcWeb.Metadata | null): Promise<service_pb.BackfillDobIfEmptyResponse>;
5045
+
5046
+ backfillDobIfEmpty(
5047
+ request: service_pb.BackfillDobIfEmptyRequest,
5048
+ metadata: grpcWeb.Metadata | null,
5049
+ callback: (err: grpcWeb.RpcError,
5050
+ response: service_pb.BackfillDobIfEmptyResponse) => void): grpcWeb.ClientReadableStream<service_pb.BackfillDobIfEmptyResponse>;
5051
+
5052
+ backfillDobIfEmpty(
5053
+ request: service_pb.BackfillDobIfEmptyRequest,
5054
+ metadata?: grpcWeb.Metadata | null,
5055
+ callback?: (err: grpcWeb.RpcError,
5056
+ response: service_pb.BackfillDobIfEmptyResponse) => void) {
5057
+ if (callback !== undefined) {
5058
+ return this.client_.rpcCall(
5059
+ this.hostname_ +
5060
+ '/sniipuserservice.SniipUserServiceService/BackfillDobIfEmpty',
5061
+ request,
5062
+ metadata || {},
5063
+ this.methodDescriptorBackfillDobIfEmpty,
5064
+ callback);
5065
+ }
5066
+ return this.client_.unaryCall(
5067
+ this.hostname_ +
5068
+ '/sniipuserservice.SniipUserServiceService/BackfillDobIfEmpty',
5069
+ request,
5070
+ metadata || {},
5071
+ this.methodDescriptorBackfillDobIfEmpty);
5072
+ }
5073
+
5031
5074
  methodDescriptorUpdateEmail = new grpcWeb.MethodDescriptor(
5032
5075
  '/sniipuserservice.SniipUserServiceService/UpdateEmail',
5033
5076
  grpcWeb.MethodType.UNARY,
@@ -5371,6 +5371,50 @@ export namespace UserDobUpdateRequest {
5371
5371
  }
5372
5372
  }
5373
5373
 
5374
+ export class BackfillDobIfEmptyRequest extends jspb.Message {
5375
+ getUserid(): number;
5376
+ setUserid(value: number): BackfillDobIfEmptyRequest;
5377
+
5378
+ getDob(): string;
5379
+ setDob(value: string): BackfillDobIfEmptyRequest;
5380
+
5381
+ getSystemauth(): string;
5382
+ setSystemauth(value: string): BackfillDobIfEmptyRequest;
5383
+
5384
+ serializeBinary(): Uint8Array;
5385
+ toObject(includeInstance?: boolean): BackfillDobIfEmptyRequest.AsObject;
5386
+ static toObject(includeInstance: boolean, msg: BackfillDobIfEmptyRequest): BackfillDobIfEmptyRequest.AsObject;
5387
+ static serializeBinaryToWriter(message: BackfillDobIfEmptyRequest, writer: jspb.BinaryWriter): void;
5388
+ static deserializeBinary(bytes: Uint8Array): BackfillDobIfEmptyRequest;
5389
+ static deserializeBinaryFromReader(message: BackfillDobIfEmptyRequest, reader: jspb.BinaryReader): BackfillDobIfEmptyRequest;
5390
+ }
5391
+
5392
+ export namespace BackfillDobIfEmptyRequest {
5393
+ export type AsObject = {
5394
+ userid: number,
5395
+ dob: string,
5396
+ systemauth: string,
5397
+ }
5398
+ }
5399
+
5400
+ export class BackfillDobIfEmptyResponse extends jspb.Message {
5401
+ getUpdated(): boolean;
5402
+ setUpdated(value: boolean): BackfillDobIfEmptyResponse;
5403
+
5404
+ serializeBinary(): Uint8Array;
5405
+ toObject(includeInstance?: boolean): BackfillDobIfEmptyResponse.AsObject;
5406
+ static toObject(includeInstance: boolean, msg: BackfillDobIfEmptyResponse): BackfillDobIfEmptyResponse.AsObject;
5407
+ static serializeBinaryToWriter(message: BackfillDobIfEmptyResponse, writer: jspb.BinaryWriter): void;
5408
+ static deserializeBinary(bytes: Uint8Array): BackfillDobIfEmptyResponse;
5409
+ static deserializeBinaryFromReader(message: BackfillDobIfEmptyResponse, reader: jspb.BinaryReader): BackfillDobIfEmptyResponse;
5410
+ }
5411
+
5412
+ export namespace BackfillDobIfEmptyResponse {
5413
+ export type AsObject = {
5414
+ updated: boolean,
5415
+ }
5416
+ }
5417
+
5374
5418
  export class UserFraudStatus extends jspb.Message {
5375
5419
  getDescription(): string;
5376
5420
  setDescription(value: string): UserFraudStatus;
@@ -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-ts",
3
- "version": "26.5.14445",
3
+ "version": "26.6.14481",
4
4
  "description": "user-service-client-grpcweb-ts",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",