@sniipwebmaster/bill-service-client-grpcweb 22.12.9240 → 22.13.9259

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.
@@ -954,6 +954,86 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.excludeBillerRefer
954
954
  };
955
955
 
956
956
 
957
+ /**
958
+ * @const
959
+ * @type {!grpc.web.MethodDescriptor<
960
+ * !proto.sniipbillapi.FirstUserForBillerRequest,
961
+ * !proto.sniipbillapi.FirstUserForBillerResponse>}
962
+ */
963
+ const methodDescriptor_SniipBillAPIService_FirstUserForBiller = new grpc.web.MethodDescriptor(
964
+ '/sniipbillapi.SniipBillAPIService/FirstUserForBiller',
965
+ grpc.web.MethodType.UNARY,
966
+ proto.sniipbillapi.FirstUserForBillerRequest,
967
+ proto.sniipbillapi.FirstUserForBillerResponse,
968
+ /**
969
+ * @param {!proto.sniipbillapi.FirstUserForBillerRequest} request
970
+ * @return {!Uint8Array}
971
+ */
972
+ function(request) {
973
+ return request.serializeBinary();
974
+ },
975
+ proto.sniipbillapi.FirstUserForBillerResponse.deserializeBinary
976
+ );
977
+
978
+
979
+ /**
980
+ * @const
981
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
982
+ * !proto.sniipbillapi.FirstUserForBillerRequest,
983
+ * !proto.sniipbillapi.FirstUserForBillerResponse>}
984
+ */
985
+ const methodInfo_SniipBillAPIService_FirstUserForBiller = new grpc.web.AbstractClientBase.MethodInfo(
986
+ proto.sniipbillapi.FirstUserForBillerResponse,
987
+ /**
988
+ * @param {!proto.sniipbillapi.FirstUserForBillerRequest} request
989
+ * @return {!Uint8Array}
990
+ */
991
+ function(request) {
992
+ return request.serializeBinary();
993
+ },
994
+ proto.sniipbillapi.FirstUserForBillerResponse.deserializeBinary
995
+ );
996
+
997
+
998
+ /**
999
+ * @param {!proto.sniipbillapi.FirstUserForBillerRequest} request The
1000
+ * request proto
1001
+ * @param {?Object<string, string>} metadata User defined
1002
+ * call metadata
1003
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.FirstUserForBillerResponse)}
1004
+ * callback The callback function(error, response)
1005
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.FirstUserForBillerResponse>|undefined}
1006
+ * The XHR Node Readable Stream
1007
+ */
1008
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.firstUserForBiller =
1009
+ function(request, metadata, callback) {
1010
+ return this.client_.rpcCall(this.hostname_ +
1011
+ '/sniipbillapi.SniipBillAPIService/FirstUserForBiller',
1012
+ request,
1013
+ metadata || {},
1014
+ methodDescriptor_SniipBillAPIService_FirstUserForBiller,
1015
+ callback);
1016
+ };
1017
+
1018
+
1019
+ /**
1020
+ * @param {!proto.sniipbillapi.FirstUserForBillerRequest} request The
1021
+ * request proto
1022
+ * @param {?Object<string, string>} metadata User defined
1023
+ * call metadata
1024
+ * @return {!Promise<!proto.sniipbillapi.FirstUserForBillerResponse>}
1025
+ * Promise that resolves to the response
1026
+ */
1027
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.firstUserForBiller =
1028
+ function(request, metadata) {
1029
+ return this.client_.unaryCall(this.hostname_ +
1030
+ '/sniipbillapi.SniipBillAPIService/FirstUserForBiller',
1031
+ request,
1032
+ metadata || {},
1033
+ methodDescriptor_SniipBillAPIService_FirstUserForBiller);
1034
+ };
1035
+
1036
+
957
1037
  /**
958
1038
  * @const
959
1039
  * @type {!grpc.web.MethodDescriptor<
@@ -30,6 +30,7 @@ goog.exportSymbol('proto.sniipbillapi.BillReminder', null, global);
30
30
  goog.exportSymbol('proto.sniipbillapi.BillRequest', null, global);
31
31
  goog.exportSymbol('proto.sniipbillapi.BillRequiresAttentionRequest', null, global);
32
32
  goog.exportSymbol('proto.sniipbillapi.BillScanType', null, global);
33
+ goog.exportSymbol('proto.sniipbillapi.BillerCodeWithUserid', null, global);
33
34
  goog.exportSymbol('proto.sniipbillapi.BillerCrnNicknameRequest', null, global);
34
35
  goog.exportSymbol('proto.sniipbillapi.BillsCreateRequest', null, global);
35
36
  goog.exportSymbol('proto.sniipbillapi.BillsCreateResponse', null, global);
@@ -57,6 +58,8 @@ goog.exportSymbol('proto.sniipbillapi.ExcludeReferenceRequest', null, global);
57
58
  goog.exportSymbol('proto.sniipbillapi.ExistingBillGetRequest', null, global);
58
59
  goog.exportSymbol('proto.sniipbillapi.ExistingBillGetResponse', null, global);
59
60
  goog.exportSymbol('proto.sniipbillapi.FieldsRequireUserReview', null, global);
61
+ goog.exportSymbol('proto.sniipbillapi.FirstUserForBillerRequest', null, global);
62
+ goog.exportSymbol('proto.sniipbillapi.FirstUserForBillerResponse', null, global);
60
63
  goog.exportSymbol('proto.sniipbillapi.GetBadgeCountRequest', null, global);
61
64
  goog.exportSymbol('proto.sniipbillapi.GetBillDetailsRequest', null, global);
62
65
  goog.exportSymbol('proto.sniipbillapi.GetBillsByBillerIdAndUserIdRequest', null, global);
@@ -6885,6 +6888,192 @@ proto.sniipbillapi.BillRequiresAttentionRequest.prototype.setUserid = function(v
6885
6888
 
6886
6889
 
6887
6890
 
6891
+ /**
6892
+ * Generated by JsPbCodeGenerator.
6893
+ * @param {Array=} opt_data Optional initial data array, typically from a
6894
+ * server response, or constructed directly in Javascript. The array is used
6895
+ * in place and becomes part of the constructed object. It is not cloned.
6896
+ * If no data is provided, the constructed object will be empty, but still
6897
+ * valid.
6898
+ * @extends {jspb.Message}
6899
+ * @constructor
6900
+ */
6901
+ proto.sniipbillapi.BillerCodeWithUserid = function(opt_data) {
6902
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
6903
+ };
6904
+ goog.inherits(proto.sniipbillapi.BillerCodeWithUserid, jspb.Message);
6905
+ if (goog.DEBUG && !COMPILED) {
6906
+ proto.sniipbillapi.BillerCodeWithUserid.displayName = 'proto.sniipbillapi.BillerCodeWithUserid';
6907
+ }
6908
+
6909
+
6910
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6911
+ /**
6912
+ * Creates an object representation of this proto suitable for use in Soy templates.
6913
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6914
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6915
+ * For the list of reserved names please see:
6916
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
6917
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
6918
+ * for transitional soy proto support: http://goto/soy-param-migration
6919
+ * @return {!Object}
6920
+ */
6921
+ proto.sniipbillapi.BillerCodeWithUserid.prototype.toObject = function(opt_includeInstance) {
6922
+ return proto.sniipbillapi.BillerCodeWithUserid.toObject(opt_includeInstance, this);
6923
+ };
6924
+
6925
+
6926
+ /**
6927
+ * Static version of the {@see toObject} method.
6928
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
6929
+ * instance for transitional soy proto support:
6930
+ * http://goto/soy-param-migration
6931
+ * @param {!proto.sniipbillapi.BillerCodeWithUserid} msg The msg instance to transform.
6932
+ * @return {!Object}
6933
+ */
6934
+ proto.sniipbillapi.BillerCodeWithUserid.toObject = function(includeInstance, msg) {
6935
+ var f, obj = {
6936
+ userid: msg.getUserid(),
6937
+ billercode: msg.getBillercode()
6938
+ };
6939
+
6940
+ if (includeInstance) {
6941
+ obj.$jspbMessageInstance = msg;
6942
+ }
6943
+ return obj;
6944
+ };
6945
+ }
6946
+
6947
+
6948
+ /**
6949
+ * Deserializes binary data (in protobuf wire format).
6950
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
6951
+ * @return {!proto.sniipbillapi.BillerCodeWithUserid}
6952
+ */
6953
+ proto.sniipbillapi.BillerCodeWithUserid.deserializeBinary = function(bytes) {
6954
+ var reader = new jspb.BinaryReader(bytes);
6955
+ var msg = new proto.sniipbillapi.BillerCodeWithUserid;
6956
+ return proto.sniipbillapi.BillerCodeWithUserid.deserializeBinaryFromReader(msg, reader);
6957
+ };
6958
+
6959
+
6960
+ /**
6961
+ * Deserializes binary data (in protobuf wire format) from the
6962
+ * given reader into the given message object.
6963
+ * @param {!proto.sniipbillapi.BillerCodeWithUserid} msg The message object to deserialize into.
6964
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
6965
+ * @return {!proto.sniipbillapi.BillerCodeWithUserid}
6966
+ */
6967
+ proto.sniipbillapi.BillerCodeWithUserid.deserializeBinaryFromReader = function(msg, reader) {
6968
+ while (reader.nextField()) {
6969
+ if (reader.isEndGroup()) {
6970
+ break;
6971
+ }
6972
+ var field = reader.getFieldNumber();
6973
+ switch (field) {
6974
+ case 1:
6975
+ var value = /** @type {number} */ (reader.readInt64());
6976
+ msg.setUserid(value);
6977
+ break;
6978
+ case 2:
6979
+ var value = /** @type {string} */ (reader.readString());
6980
+ msg.setBillercode(value);
6981
+ break;
6982
+ default:
6983
+ reader.skipField();
6984
+ break;
6985
+ }
6986
+ }
6987
+ return msg;
6988
+ };
6989
+
6990
+
6991
+ /**
6992
+ * Class method variant: serializes the given message to binary data
6993
+ * (in protobuf wire format), writing to the given BinaryWriter.
6994
+ * @param {!proto.sniipbillapi.BillerCodeWithUserid} message
6995
+ * @param {!jspb.BinaryWriter} writer
6996
+ */
6997
+ proto.sniipbillapi.BillerCodeWithUserid.serializeBinaryToWriter = function(message, writer) {
6998
+ message.serializeBinaryToWriter(writer);
6999
+ };
7000
+
7001
+
7002
+ /**
7003
+ * Serializes the message to binary data (in protobuf wire format).
7004
+ * @return {!Uint8Array}
7005
+ */
7006
+ proto.sniipbillapi.BillerCodeWithUserid.prototype.serializeBinary = function() {
7007
+ var writer = new jspb.BinaryWriter();
7008
+ this.serializeBinaryToWriter(writer);
7009
+ return writer.getResultBuffer();
7010
+ };
7011
+
7012
+
7013
+ /**
7014
+ * Serializes the message to binary data (in protobuf wire format),
7015
+ * writing to the given BinaryWriter.
7016
+ * @param {!jspb.BinaryWriter} writer
7017
+ */
7018
+ proto.sniipbillapi.BillerCodeWithUserid.prototype.serializeBinaryToWriter = function (writer) {
7019
+ var f = undefined;
7020
+ f = this.getUserid();
7021
+ if (f !== 0) {
7022
+ writer.writeInt64(
7023
+ 1,
7024
+ f
7025
+ );
7026
+ }
7027
+ f = this.getBillercode();
7028
+ if (f.length > 0) {
7029
+ writer.writeString(
7030
+ 2,
7031
+ f
7032
+ );
7033
+ }
7034
+ };
7035
+
7036
+
7037
+ /**
7038
+ * Creates a deep clone of this proto. No data is shared with the original.
7039
+ * @return {!proto.sniipbillapi.BillerCodeWithUserid} The clone.
7040
+ */
7041
+ proto.sniipbillapi.BillerCodeWithUserid.prototype.cloneMessage = function() {
7042
+ return /** @type {!proto.sniipbillapi.BillerCodeWithUserid} */ (jspb.Message.cloneMessage(this));
7043
+ };
7044
+
7045
+
7046
+ /**
7047
+ * optional int64 userId = 1;
7048
+ * @return {number}
7049
+ */
7050
+ proto.sniipbillapi.BillerCodeWithUserid.prototype.getUserid = function() {
7051
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
7052
+ };
7053
+
7054
+
7055
+ /** @param {number} value */
7056
+ proto.sniipbillapi.BillerCodeWithUserid.prototype.setUserid = function(value) {
7057
+ jspb.Message.setField(this, 1, value);
7058
+ };
7059
+
7060
+
7061
+ /**
7062
+ * optional string billerCode = 2;
7063
+ * @return {string}
7064
+ */
7065
+ proto.sniipbillapi.BillerCodeWithUserid.prototype.getBillercode = function() {
7066
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 2, ""));
7067
+ };
7068
+
7069
+
7070
+ /** @param {string} value */
7071
+ proto.sniipbillapi.BillerCodeWithUserid.prototype.setBillercode = function(value) {
7072
+ jspb.Message.setField(this, 2, value);
7073
+ };
7074
+
7075
+
7076
+
6888
7077
  /**
6889
7078
  * Generated by JsPbCodeGenerator.
6890
7079
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13884,6 +14073,402 @@ proto.sniipbillapi.FieldsRequireUserReview.prototype.setBillerbankaccountno = fu
13884
14073
 
13885
14074
 
13886
14075
 
14076
+ /**
14077
+ * Generated by JsPbCodeGenerator.
14078
+ * @param {Array=} opt_data Optional initial data array, typically from a
14079
+ * server response, or constructed directly in Javascript. The array is used
14080
+ * in place and becomes part of the constructed object. It is not cloned.
14081
+ * If no data is provided, the constructed object will be empty, but still
14082
+ * valid.
14083
+ * @extends {jspb.Message}
14084
+ * @constructor
14085
+ */
14086
+ proto.sniipbillapi.FirstUserForBillerRequest = function(opt_data) {
14087
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.FirstUserForBillerRequest.repeatedFields_, null);
14088
+ };
14089
+ goog.inherits(proto.sniipbillapi.FirstUserForBillerRequest, jspb.Message);
14090
+ if (goog.DEBUG && !COMPILED) {
14091
+ proto.sniipbillapi.FirstUserForBillerRequest.displayName = 'proto.sniipbillapi.FirstUserForBillerRequest';
14092
+ }
14093
+ /**
14094
+ * List of repeated fields within this message type.
14095
+ * @private {!Array<number>}
14096
+ * @const
14097
+ */
14098
+ proto.sniipbillapi.FirstUserForBillerRequest.repeatedFields_ = [1];
14099
+
14100
+
14101
+
14102
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14103
+ /**
14104
+ * Creates an object representation of this proto suitable for use in Soy templates.
14105
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14106
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14107
+ * For the list of reserved names please see:
14108
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
14109
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
14110
+ * for transitional soy proto support: http://goto/soy-param-migration
14111
+ * @return {!Object}
14112
+ */
14113
+ proto.sniipbillapi.FirstUserForBillerRequest.prototype.toObject = function(opt_includeInstance) {
14114
+ return proto.sniipbillapi.FirstUserForBillerRequest.toObject(opt_includeInstance, this);
14115
+ };
14116
+
14117
+
14118
+ /**
14119
+ * Static version of the {@see toObject} method.
14120
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
14121
+ * instance for transitional soy proto support:
14122
+ * http://goto/soy-param-migration
14123
+ * @param {!proto.sniipbillapi.FirstUserForBillerRequest} msg The msg instance to transform.
14124
+ * @return {!Object}
14125
+ */
14126
+ proto.sniipbillapi.FirstUserForBillerRequest.toObject = function(includeInstance, msg) {
14127
+ var f, obj = {
14128
+ billercodesList: jspb.Message.getField(msg, 1)
14129
+ };
14130
+
14131
+ if (includeInstance) {
14132
+ obj.$jspbMessageInstance = msg;
14133
+ }
14134
+ return obj;
14135
+ };
14136
+ }
14137
+
14138
+
14139
+ /**
14140
+ * Deserializes binary data (in protobuf wire format).
14141
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14142
+ * @return {!proto.sniipbillapi.FirstUserForBillerRequest}
14143
+ */
14144
+ proto.sniipbillapi.FirstUserForBillerRequest.deserializeBinary = function(bytes) {
14145
+ var reader = new jspb.BinaryReader(bytes);
14146
+ var msg = new proto.sniipbillapi.FirstUserForBillerRequest;
14147
+ return proto.sniipbillapi.FirstUserForBillerRequest.deserializeBinaryFromReader(msg, reader);
14148
+ };
14149
+
14150
+
14151
+ /**
14152
+ * Deserializes binary data (in protobuf wire format) from the
14153
+ * given reader into the given message object.
14154
+ * @param {!proto.sniipbillapi.FirstUserForBillerRequest} msg The message object to deserialize into.
14155
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14156
+ * @return {!proto.sniipbillapi.FirstUserForBillerRequest}
14157
+ */
14158
+ proto.sniipbillapi.FirstUserForBillerRequest.deserializeBinaryFromReader = function(msg, reader) {
14159
+ while (reader.nextField()) {
14160
+ if (reader.isEndGroup()) {
14161
+ break;
14162
+ }
14163
+ var field = reader.getFieldNumber();
14164
+ switch (field) {
14165
+ case 1:
14166
+ var value = /** @type {string} */ (reader.readString());
14167
+ msg.getBillercodesList().push(value);
14168
+ msg.setBillercodesList(msg.getBillercodesList());
14169
+ break;
14170
+ default:
14171
+ reader.skipField();
14172
+ break;
14173
+ }
14174
+ }
14175
+ return msg;
14176
+ };
14177
+
14178
+
14179
+ /**
14180
+ * Class method variant: serializes the given message to binary data
14181
+ * (in protobuf wire format), writing to the given BinaryWriter.
14182
+ * @param {!proto.sniipbillapi.FirstUserForBillerRequest} message
14183
+ * @param {!jspb.BinaryWriter} writer
14184
+ */
14185
+ proto.sniipbillapi.FirstUserForBillerRequest.serializeBinaryToWriter = function(message, writer) {
14186
+ message.serializeBinaryToWriter(writer);
14187
+ };
14188
+
14189
+
14190
+ /**
14191
+ * Serializes the message to binary data (in protobuf wire format).
14192
+ * @return {!Uint8Array}
14193
+ */
14194
+ proto.sniipbillapi.FirstUserForBillerRequest.prototype.serializeBinary = function() {
14195
+ var writer = new jspb.BinaryWriter();
14196
+ this.serializeBinaryToWriter(writer);
14197
+ return writer.getResultBuffer();
14198
+ };
14199
+
14200
+
14201
+ /**
14202
+ * Serializes the message to binary data (in protobuf wire format),
14203
+ * writing to the given BinaryWriter.
14204
+ * @param {!jspb.BinaryWriter} writer
14205
+ */
14206
+ proto.sniipbillapi.FirstUserForBillerRequest.prototype.serializeBinaryToWriter = function (writer) {
14207
+ var f = undefined;
14208
+ f = this.getBillercodesList();
14209
+ if (f.length > 0) {
14210
+ writer.writeRepeatedString(
14211
+ 1,
14212
+ f
14213
+ );
14214
+ }
14215
+ };
14216
+
14217
+
14218
+ /**
14219
+ * Creates a deep clone of this proto. No data is shared with the original.
14220
+ * @return {!proto.sniipbillapi.FirstUserForBillerRequest} The clone.
14221
+ */
14222
+ proto.sniipbillapi.FirstUserForBillerRequest.prototype.cloneMessage = function() {
14223
+ return /** @type {!proto.sniipbillapi.FirstUserForBillerRequest} */ (jspb.Message.cloneMessage(this));
14224
+ };
14225
+
14226
+
14227
+ /**
14228
+ * repeated string billerCodes = 1;
14229
+ * If you change this array by adding, removing or replacing elements, or if you
14230
+ * replace the array itself, then you must call the setter to update it.
14231
+ * @return {!Array.<string>}
14232
+ */
14233
+ proto.sniipbillapi.FirstUserForBillerRequest.prototype.getBillercodesList = function() {
14234
+ return /** @type {!Array.<string>} */ (jspb.Message.getField(this, 1));
14235
+ };
14236
+
14237
+
14238
+ /** @param {Array.<string>} value */
14239
+ proto.sniipbillapi.FirstUserForBillerRequest.prototype.setBillercodesList = function(value) {
14240
+ jspb.Message.setField(this, 1, value || []);
14241
+ };
14242
+
14243
+
14244
+ proto.sniipbillapi.FirstUserForBillerRequest.prototype.clearBillercodesList = function() {
14245
+ jspb.Message.setField(this, 1, []);
14246
+ };
14247
+
14248
+
14249
+
14250
+ /**
14251
+ * Generated by JsPbCodeGenerator.
14252
+ * @param {Array=} opt_data Optional initial data array, typically from a
14253
+ * server response, or constructed directly in Javascript. The array is used
14254
+ * in place and becomes part of the constructed object. It is not cloned.
14255
+ * If no data is provided, the constructed object will be empty, but still
14256
+ * valid.
14257
+ * @extends {jspb.Message}
14258
+ * @constructor
14259
+ */
14260
+ proto.sniipbillapi.FirstUserForBillerResponse = function(opt_data) {
14261
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillapi.FirstUserForBillerResponse.repeatedFields_, null);
14262
+ };
14263
+ goog.inherits(proto.sniipbillapi.FirstUserForBillerResponse, jspb.Message);
14264
+ if (goog.DEBUG && !COMPILED) {
14265
+ proto.sniipbillapi.FirstUserForBillerResponse.displayName = 'proto.sniipbillapi.FirstUserForBillerResponse';
14266
+ }
14267
+ /**
14268
+ * List of repeated fields within this message type.
14269
+ * @private {!Array<number>}
14270
+ * @const
14271
+ */
14272
+ proto.sniipbillapi.FirstUserForBillerResponse.repeatedFields_ = [2];
14273
+
14274
+
14275
+
14276
+ if (jspb.Message.GENERATE_TO_OBJECT) {
14277
+ /**
14278
+ * Creates an object representation of this proto suitable for use in Soy templates.
14279
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
14280
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
14281
+ * For the list of reserved names please see:
14282
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
14283
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
14284
+ * for transitional soy proto support: http://goto/soy-param-migration
14285
+ * @return {!Object}
14286
+ */
14287
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.toObject = function(opt_includeInstance) {
14288
+ return proto.sniipbillapi.FirstUserForBillerResponse.toObject(opt_includeInstance, this);
14289
+ };
14290
+
14291
+
14292
+ /**
14293
+ * Static version of the {@see toObject} method.
14294
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
14295
+ * instance for transitional soy proto support:
14296
+ * http://goto/soy-param-migration
14297
+ * @param {!proto.sniipbillapi.FirstUserForBillerResponse} msg The msg instance to transform.
14298
+ * @return {!Object}
14299
+ */
14300
+ proto.sniipbillapi.FirstUserForBillerResponse.toObject = function(includeInstance, msg) {
14301
+ var f, obj = {
14302
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillapi.ResponseCode.toObject(includeInstance, f),
14303
+ billersList: jspb.Message.toObjectList(msg.getBillersList(),
14304
+ proto.sniipbillapi.BillerCodeWithUserid.toObject, includeInstance)
14305
+ };
14306
+
14307
+ if (includeInstance) {
14308
+ obj.$jspbMessageInstance = msg;
14309
+ }
14310
+ return obj;
14311
+ };
14312
+ }
14313
+
14314
+
14315
+ /**
14316
+ * Deserializes binary data (in protobuf wire format).
14317
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14318
+ * @return {!proto.sniipbillapi.FirstUserForBillerResponse}
14319
+ */
14320
+ proto.sniipbillapi.FirstUserForBillerResponse.deserializeBinary = function(bytes) {
14321
+ var reader = new jspb.BinaryReader(bytes);
14322
+ var msg = new proto.sniipbillapi.FirstUserForBillerResponse;
14323
+ return proto.sniipbillapi.FirstUserForBillerResponse.deserializeBinaryFromReader(msg, reader);
14324
+ };
14325
+
14326
+
14327
+ /**
14328
+ * Deserializes binary data (in protobuf wire format) from the
14329
+ * given reader into the given message object.
14330
+ * @param {!proto.sniipbillapi.FirstUserForBillerResponse} msg The message object to deserialize into.
14331
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14332
+ * @return {!proto.sniipbillapi.FirstUserForBillerResponse}
14333
+ */
14334
+ proto.sniipbillapi.FirstUserForBillerResponse.deserializeBinaryFromReader = function(msg, reader) {
14335
+ while (reader.nextField()) {
14336
+ if (reader.isEndGroup()) {
14337
+ break;
14338
+ }
14339
+ var field = reader.getFieldNumber();
14340
+ switch (field) {
14341
+ case 1:
14342
+ var value = new proto.sniipbillapi.ResponseCode;
14343
+ reader.readMessage(value,proto.sniipbillapi.ResponseCode.deserializeBinaryFromReader);
14344
+ msg.setResponsecode(value);
14345
+ break;
14346
+ case 2:
14347
+ var value = new proto.sniipbillapi.BillerCodeWithUserid;
14348
+ reader.readMessage(value,proto.sniipbillapi.BillerCodeWithUserid.deserializeBinaryFromReader);
14349
+ msg.getBillersList().push(value);
14350
+ msg.setBillersList(msg.getBillersList());
14351
+ break;
14352
+ default:
14353
+ reader.skipField();
14354
+ break;
14355
+ }
14356
+ }
14357
+ return msg;
14358
+ };
14359
+
14360
+
14361
+ /**
14362
+ * Class method variant: serializes the given message to binary data
14363
+ * (in protobuf wire format), writing to the given BinaryWriter.
14364
+ * @param {!proto.sniipbillapi.FirstUserForBillerResponse} message
14365
+ * @param {!jspb.BinaryWriter} writer
14366
+ */
14367
+ proto.sniipbillapi.FirstUserForBillerResponse.serializeBinaryToWriter = function(message, writer) {
14368
+ message.serializeBinaryToWriter(writer);
14369
+ };
14370
+
14371
+
14372
+ /**
14373
+ * Serializes the message to binary data (in protobuf wire format).
14374
+ * @return {!Uint8Array}
14375
+ */
14376
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.serializeBinary = function() {
14377
+ var writer = new jspb.BinaryWriter();
14378
+ this.serializeBinaryToWriter(writer);
14379
+ return writer.getResultBuffer();
14380
+ };
14381
+
14382
+
14383
+ /**
14384
+ * Serializes the message to binary data (in protobuf wire format),
14385
+ * writing to the given BinaryWriter.
14386
+ * @param {!jspb.BinaryWriter} writer
14387
+ */
14388
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.serializeBinaryToWriter = function (writer) {
14389
+ var f = undefined;
14390
+ f = this.getResponsecode();
14391
+ if (f != null) {
14392
+ writer.writeMessage(
14393
+ 1,
14394
+ f,
14395
+ proto.sniipbillapi.ResponseCode.serializeBinaryToWriter
14396
+ );
14397
+ }
14398
+ f = this.getBillersList();
14399
+ if (f.length > 0) {
14400
+ writer.writeRepeatedMessage(
14401
+ 2,
14402
+ f,
14403
+ proto.sniipbillapi.BillerCodeWithUserid.serializeBinaryToWriter
14404
+ );
14405
+ }
14406
+ };
14407
+
14408
+
14409
+ /**
14410
+ * Creates a deep clone of this proto. No data is shared with the original.
14411
+ * @return {!proto.sniipbillapi.FirstUserForBillerResponse} The clone.
14412
+ */
14413
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.cloneMessage = function() {
14414
+ return /** @type {!proto.sniipbillapi.FirstUserForBillerResponse} */ (jspb.Message.cloneMessage(this));
14415
+ };
14416
+
14417
+
14418
+ /**
14419
+ * optional ResponseCode responseCode = 1;
14420
+ * @return {proto.sniipbillapi.ResponseCode}
14421
+ */
14422
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.getResponsecode = function() {
14423
+ return /** @type{proto.sniipbillapi.ResponseCode} */ (
14424
+ jspb.Message.getWrapperField(this, proto.sniipbillapi.ResponseCode, 1));
14425
+ };
14426
+
14427
+
14428
+ /** @param {proto.sniipbillapi.ResponseCode|undefined} value */
14429
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.setResponsecode = function(value) {
14430
+ jspb.Message.setWrapperField(this, 1, value);
14431
+ };
14432
+
14433
+
14434
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.clearResponsecode = function() {
14435
+ this.setResponsecode(undefined);
14436
+ };
14437
+
14438
+
14439
+ /**
14440
+ * Returns whether this field is set.
14441
+ * @return{!boolean}
14442
+ */
14443
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.hasResponsecode = function() {
14444
+ return jspb.Message.getField(this, 1) != null;
14445
+ };
14446
+
14447
+
14448
+ /**
14449
+ * repeated BillerCodeWithUserid billers = 2;
14450
+ * If you change this array by adding, removing or replacing elements, or if you
14451
+ * replace the array itself, then you must call the setter to update it.
14452
+ * @return {!Array.<!proto.sniipbillapi.BillerCodeWithUserid>}
14453
+ */
14454
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.getBillersList = function() {
14455
+ return /** @type{!Array.<!proto.sniipbillapi.BillerCodeWithUserid>} */ (
14456
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillapi.BillerCodeWithUserid, 2));
14457
+ };
14458
+
14459
+
14460
+ /** @param {Array.<!proto.sniipbillapi.BillerCodeWithUserid>} value */
14461
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.setBillersList = function(value) {
14462
+ jspb.Message.setRepeatedWrapperField(this, 2, value);
14463
+ };
14464
+
14465
+
14466
+ proto.sniipbillapi.FirstUserForBillerResponse.prototype.clearBillersList = function() {
14467
+ this.setBillersList([]);
14468
+ };
14469
+
14470
+
14471
+
13887
14472
  /**
13888
14473
  * Generated by JsPbCodeGenerator.
13889
14474
  * @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/bill-service-client-grpcweb",
3
- "version": "22.12.9240",
3
+ "version": "22.13.9259",
4
4
  "description": "bill-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",