@sniipwebmaster/biller-service-client-grpcweb 24.3.6733 → 24.4.6768

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.
@@ -139,6 +139,67 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.abnLookup =
139
139
  };
140
140
 
141
141
 
142
+ /**
143
+ * @const
144
+ * @type {!grpc.web.MethodDescriptor<
145
+ * !proto.sniipbillerapi.AbnSearchRequest,
146
+ * !proto.sniipbillerapi.AbnSearchResponse>}
147
+ */
148
+ const methodDescriptor_SniipBillerAPIService_AbnSearch = new grpc.web.MethodDescriptor(
149
+ '/sniipbillerapi.SniipBillerAPIService/AbnSearch',
150
+ grpc.web.MethodType.UNARY,
151
+ proto.sniipbillerapi.AbnSearchRequest,
152
+ proto.sniipbillerapi.AbnSearchResponse,
153
+ /**
154
+ * @param {!proto.sniipbillerapi.AbnSearchRequest} request
155
+ * @return {!Uint8Array}
156
+ */
157
+ function(request) {
158
+ return request.serializeBinary();
159
+ },
160
+ proto.sniipbillerapi.AbnSearchResponse.deserializeBinary
161
+ );
162
+
163
+
164
+ /**
165
+ * @param {!proto.sniipbillerapi.AbnSearchRequest} request The
166
+ * request proto
167
+ * @param {?Object<string, string>} metadata User defined
168
+ * call metadata
169
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillerapi.AbnSearchResponse)}
170
+ * callback The callback function(error, response)
171
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.AbnSearchResponse>|undefined}
172
+ * The XHR Node Readable Stream
173
+ */
174
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.abnSearch =
175
+ function(request, metadata, callback) {
176
+ return this.client_.rpcCall(this.hostname_ +
177
+ '/sniipbillerapi.SniipBillerAPIService/AbnSearch',
178
+ request,
179
+ metadata || {},
180
+ methodDescriptor_SniipBillerAPIService_AbnSearch,
181
+ callback);
182
+ };
183
+
184
+
185
+ /**
186
+ * @param {!proto.sniipbillerapi.AbnSearchRequest} request The
187
+ * request proto
188
+ * @param {?Object<string, string>=} metadata User defined
189
+ * call metadata
190
+ * @return {!Promise<!proto.sniipbillerapi.AbnSearchResponse>}
191
+ * Promise that resolves to the response
192
+ */
193
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.abnSearch =
194
+ function(request, metadata) {
195
+ return this.client_.unaryCall(this.hostname_ +
196
+ '/sniipbillerapi.SniipBillerAPIService/AbnSearch',
197
+ request,
198
+ metadata || {},
199
+ methodDescriptor_SniipBillerAPIService_AbnSearch);
200
+ };
201
+
202
+
142
203
  /**
143
204
  * @const
144
205
  * @type {!grpc.web.MethodDescriptor<
@@ -18,6 +18,9 @@ var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb
18
18
  goog.object.extend(proto, google_protobuf_empty_pb);
19
19
  goog.exportSymbol('proto.sniipbillerapi.AbnLookupRequest', null, global);
20
20
  goog.exportSymbol('proto.sniipbillerapi.AbnLookupResponse', null, global);
21
+ goog.exportSymbol('proto.sniipbillerapi.AbnSearchRequest', null, global);
22
+ goog.exportSymbol('proto.sniipbillerapi.AbnSearchResponse', null, global);
23
+ goog.exportSymbol('proto.sniipbillerapi.AbnSearchResult', null, global);
21
24
  goog.exportSymbol('proto.sniipbillerapi.AcceptedPaymentMethod', null, global);
22
25
  goog.exportSymbol('proto.sniipbillerapi.ActivatePaymentMethodRequest', null, global);
23
26
  goog.exportSymbol('proto.sniipbillerapi.ActivatePaymentMethodToReceivePaymentsRequest', null, global);
@@ -230,6 +233,69 @@ if (goog.DEBUG && !COMPILED) {
230
233
  */
231
234
  proto.sniipbillerapi.AbnLookupResponse.displayName = 'proto.sniipbillerapi.AbnLookupResponse';
232
235
  }
236
+ /**
237
+ * Generated by JsPbCodeGenerator.
238
+ * @param {Array=} opt_data Optional initial data array, typically from a
239
+ * server response, or constructed directly in Javascript. The array is used
240
+ * in place and becomes part of the constructed object. It is not cloned.
241
+ * If no data is provided, the constructed object will be empty, but still
242
+ * valid.
243
+ * @extends {jspb.Message}
244
+ * @constructor
245
+ */
246
+ proto.sniipbillerapi.AbnSearchRequest = function(opt_data) {
247
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
248
+ };
249
+ goog.inherits(proto.sniipbillerapi.AbnSearchRequest, jspb.Message);
250
+ if (goog.DEBUG && !COMPILED) {
251
+ /**
252
+ * @public
253
+ * @override
254
+ */
255
+ proto.sniipbillerapi.AbnSearchRequest.displayName = 'proto.sniipbillerapi.AbnSearchRequest';
256
+ }
257
+ /**
258
+ * Generated by JsPbCodeGenerator.
259
+ * @param {Array=} opt_data Optional initial data array, typically from a
260
+ * server response, or constructed directly in Javascript. The array is used
261
+ * in place and becomes part of the constructed object. It is not cloned.
262
+ * If no data is provided, the constructed object will be empty, but still
263
+ * valid.
264
+ * @extends {jspb.Message}
265
+ * @constructor
266
+ */
267
+ proto.sniipbillerapi.AbnSearchResponse = function(opt_data) {
268
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.sniipbillerapi.AbnSearchResponse.repeatedFields_, null);
269
+ };
270
+ goog.inherits(proto.sniipbillerapi.AbnSearchResponse, jspb.Message);
271
+ if (goog.DEBUG && !COMPILED) {
272
+ /**
273
+ * @public
274
+ * @override
275
+ */
276
+ proto.sniipbillerapi.AbnSearchResponse.displayName = 'proto.sniipbillerapi.AbnSearchResponse';
277
+ }
278
+ /**
279
+ * Generated by JsPbCodeGenerator.
280
+ * @param {Array=} opt_data Optional initial data array, typically from a
281
+ * server response, or constructed directly in Javascript. The array is used
282
+ * in place and becomes part of the constructed object. It is not cloned.
283
+ * If no data is provided, the constructed object will be empty, but still
284
+ * valid.
285
+ * @extends {jspb.Message}
286
+ * @constructor
287
+ */
288
+ proto.sniipbillerapi.AbnSearchResult = function(opt_data) {
289
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
290
+ };
291
+ goog.inherits(proto.sniipbillerapi.AbnSearchResult, jspb.Message);
292
+ if (goog.DEBUG && !COMPILED) {
293
+ /**
294
+ * @public
295
+ * @override
296
+ */
297
+ proto.sniipbillerapi.AbnSearchResult.displayName = 'proto.sniipbillerapi.AbnSearchResult';
298
+ }
233
299
  /**
234
300
  * Generated by JsPbCodeGenerator.
235
301
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -4051,6 +4117,507 @@ proto.sniipbillerapi.AbnLookupResponse.prototype.hasResponsecode = function() {
4051
4117
 
4052
4118
 
4053
4119
 
4120
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4121
+ /**
4122
+ * Creates an object representation of this proto.
4123
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4124
+ * Optional fields that are not set will be set to undefined.
4125
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4126
+ * For the list of reserved names please see:
4127
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4128
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4129
+ * JSPB instance for transitional soy proto support:
4130
+ * http://goto/soy-param-migration
4131
+ * @return {!Object}
4132
+ */
4133
+ proto.sniipbillerapi.AbnSearchRequest.prototype.toObject = function(opt_includeInstance) {
4134
+ return proto.sniipbillerapi.AbnSearchRequest.toObject(opt_includeInstance, this);
4135
+ };
4136
+
4137
+
4138
+ /**
4139
+ * Static version of the {@see toObject} method.
4140
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4141
+ * the JSPB instance for transitional soy proto support:
4142
+ * http://goto/soy-param-migration
4143
+ * @param {!proto.sniipbillerapi.AbnSearchRequest} msg The msg instance to transform.
4144
+ * @return {!Object}
4145
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4146
+ */
4147
+ proto.sniipbillerapi.AbnSearchRequest.toObject = function(includeInstance, msg) {
4148
+ var f, obj = {
4149
+ query: jspb.Message.getFieldWithDefault(msg, 1, "")
4150
+ };
4151
+
4152
+ if (includeInstance) {
4153
+ obj.$jspbMessageInstance = msg;
4154
+ }
4155
+ return obj;
4156
+ };
4157
+ }
4158
+
4159
+
4160
+ /**
4161
+ * Deserializes binary data (in protobuf wire format).
4162
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4163
+ * @return {!proto.sniipbillerapi.AbnSearchRequest}
4164
+ */
4165
+ proto.sniipbillerapi.AbnSearchRequest.deserializeBinary = function(bytes) {
4166
+ var reader = new jspb.BinaryReader(bytes);
4167
+ var msg = new proto.sniipbillerapi.AbnSearchRequest;
4168
+ return proto.sniipbillerapi.AbnSearchRequest.deserializeBinaryFromReader(msg, reader);
4169
+ };
4170
+
4171
+
4172
+ /**
4173
+ * Deserializes binary data (in protobuf wire format) from the
4174
+ * given reader into the given message object.
4175
+ * @param {!proto.sniipbillerapi.AbnSearchRequest} msg The message object to deserialize into.
4176
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4177
+ * @return {!proto.sniipbillerapi.AbnSearchRequest}
4178
+ */
4179
+ proto.sniipbillerapi.AbnSearchRequest.deserializeBinaryFromReader = function(msg, reader) {
4180
+ while (reader.nextField()) {
4181
+ if (reader.isEndGroup()) {
4182
+ break;
4183
+ }
4184
+ var field = reader.getFieldNumber();
4185
+ switch (field) {
4186
+ case 1:
4187
+ var value = /** @type {string} */ (reader.readString());
4188
+ msg.setQuery(value);
4189
+ break;
4190
+ default:
4191
+ reader.skipField();
4192
+ break;
4193
+ }
4194
+ }
4195
+ return msg;
4196
+ };
4197
+
4198
+
4199
+ /**
4200
+ * Serializes the message to binary data (in protobuf wire format).
4201
+ * @return {!Uint8Array}
4202
+ */
4203
+ proto.sniipbillerapi.AbnSearchRequest.prototype.serializeBinary = function() {
4204
+ var writer = new jspb.BinaryWriter();
4205
+ proto.sniipbillerapi.AbnSearchRequest.serializeBinaryToWriter(this, writer);
4206
+ return writer.getResultBuffer();
4207
+ };
4208
+
4209
+
4210
+ /**
4211
+ * Serializes the given message to binary data (in protobuf wire
4212
+ * format), writing to the given BinaryWriter.
4213
+ * @param {!proto.sniipbillerapi.AbnSearchRequest} message
4214
+ * @param {!jspb.BinaryWriter} writer
4215
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4216
+ */
4217
+ proto.sniipbillerapi.AbnSearchRequest.serializeBinaryToWriter = function(message, writer) {
4218
+ var f = undefined;
4219
+ f = message.getQuery();
4220
+ if (f.length > 0) {
4221
+ writer.writeString(
4222
+ 1,
4223
+ f
4224
+ );
4225
+ }
4226
+ };
4227
+
4228
+
4229
+ /**
4230
+ * optional string query = 1;
4231
+ * @return {string}
4232
+ */
4233
+ proto.sniipbillerapi.AbnSearchRequest.prototype.getQuery = function() {
4234
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4235
+ };
4236
+
4237
+
4238
+ /**
4239
+ * @param {string} value
4240
+ * @return {!proto.sniipbillerapi.AbnSearchRequest} returns this
4241
+ */
4242
+ proto.sniipbillerapi.AbnSearchRequest.prototype.setQuery = function(value) {
4243
+ return jspb.Message.setProto3StringField(this, 1, value);
4244
+ };
4245
+
4246
+
4247
+
4248
+ /**
4249
+ * List of repeated fields within this message type.
4250
+ * @private {!Array<number>}
4251
+ * @const
4252
+ */
4253
+ proto.sniipbillerapi.AbnSearchResponse.repeatedFields_ = [2];
4254
+
4255
+
4256
+
4257
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4258
+ /**
4259
+ * Creates an object representation of this proto.
4260
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4261
+ * Optional fields that are not set will be set to undefined.
4262
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4263
+ * For the list of reserved names please see:
4264
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4265
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4266
+ * JSPB instance for transitional soy proto support:
4267
+ * http://goto/soy-param-migration
4268
+ * @return {!Object}
4269
+ */
4270
+ proto.sniipbillerapi.AbnSearchResponse.prototype.toObject = function(opt_includeInstance) {
4271
+ return proto.sniipbillerapi.AbnSearchResponse.toObject(opt_includeInstance, this);
4272
+ };
4273
+
4274
+
4275
+ /**
4276
+ * Static version of the {@see toObject} method.
4277
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4278
+ * the JSPB instance for transitional soy proto support:
4279
+ * http://goto/soy-param-migration
4280
+ * @param {!proto.sniipbillerapi.AbnSearchResponse} msg The msg instance to transform.
4281
+ * @return {!Object}
4282
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4283
+ */
4284
+ proto.sniipbillerapi.AbnSearchResponse.toObject = function(includeInstance, msg) {
4285
+ var f, obj = {
4286
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillerapi.ResponseCode.toObject(includeInstance, f),
4287
+ searchresultsList: jspb.Message.toObjectList(msg.getSearchresultsList(),
4288
+ proto.sniipbillerapi.AbnSearchResult.toObject, includeInstance)
4289
+ };
4290
+
4291
+ if (includeInstance) {
4292
+ obj.$jspbMessageInstance = msg;
4293
+ }
4294
+ return obj;
4295
+ };
4296
+ }
4297
+
4298
+
4299
+ /**
4300
+ * Deserializes binary data (in protobuf wire format).
4301
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4302
+ * @return {!proto.sniipbillerapi.AbnSearchResponse}
4303
+ */
4304
+ proto.sniipbillerapi.AbnSearchResponse.deserializeBinary = function(bytes) {
4305
+ var reader = new jspb.BinaryReader(bytes);
4306
+ var msg = new proto.sniipbillerapi.AbnSearchResponse;
4307
+ return proto.sniipbillerapi.AbnSearchResponse.deserializeBinaryFromReader(msg, reader);
4308
+ };
4309
+
4310
+
4311
+ /**
4312
+ * Deserializes binary data (in protobuf wire format) from the
4313
+ * given reader into the given message object.
4314
+ * @param {!proto.sniipbillerapi.AbnSearchResponse} msg The message object to deserialize into.
4315
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4316
+ * @return {!proto.sniipbillerapi.AbnSearchResponse}
4317
+ */
4318
+ proto.sniipbillerapi.AbnSearchResponse.deserializeBinaryFromReader = function(msg, reader) {
4319
+ while (reader.nextField()) {
4320
+ if (reader.isEndGroup()) {
4321
+ break;
4322
+ }
4323
+ var field = reader.getFieldNumber();
4324
+ switch (field) {
4325
+ case 1:
4326
+ var value = new proto.sniipbillerapi.ResponseCode;
4327
+ reader.readMessage(value,proto.sniipbillerapi.ResponseCode.deserializeBinaryFromReader);
4328
+ msg.setResponsecode(value);
4329
+ break;
4330
+ case 2:
4331
+ var value = new proto.sniipbillerapi.AbnSearchResult;
4332
+ reader.readMessage(value,proto.sniipbillerapi.AbnSearchResult.deserializeBinaryFromReader);
4333
+ msg.addSearchresults(value);
4334
+ break;
4335
+ default:
4336
+ reader.skipField();
4337
+ break;
4338
+ }
4339
+ }
4340
+ return msg;
4341
+ };
4342
+
4343
+
4344
+ /**
4345
+ * Serializes the message to binary data (in protobuf wire format).
4346
+ * @return {!Uint8Array}
4347
+ */
4348
+ proto.sniipbillerapi.AbnSearchResponse.prototype.serializeBinary = function() {
4349
+ var writer = new jspb.BinaryWriter();
4350
+ proto.sniipbillerapi.AbnSearchResponse.serializeBinaryToWriter(this, writer);
4351
+ return writer.getResultBuffer();
4352
+ };
4353
+
4354
+
4355
+ /**
4356
+ * Serializes the given message to binary data (in protobuf wire
4357
+ * format), writing to the given BinaryWriter.
4358
+ * @param {!proto.sniipbillerapi.AbnSearchResponse} message
4359
+ * @param {!jspb.BinaryWriter} writer
4360
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4361
+ */
4362
+ proto.sniipbillerapi.AbnSearchResponse.serializeBinaryToWriter = function(message, writer) {
4363
+ var f = undefined;
4364
+ f = message.getResponsecode();
4365
+ if (f != null) {
4366
+ writer.writeMessage(
4367
+ 1,
4368
+ f,
4369
+ proto.sniipbillerapi.ResponseCode.serializeBinaryToWriter
4370
+ );
4371
+ }
4372
+ f = message.getSearchresultsList();
4373
+ if (f.length > 0) {
4374
+ writer.writeRepeatedMessage(
4375
+ 2,
4376
+ f,
4377
+ proto.sniipbillerapi.AbnSearchResult.serializeBinaryToWriter
4378
+ );
4379
+ }
4380
+ };
4381
+
4382
+
4383
+ /**
4384
+ * optional ResponseCode responseCode = 1;
4385
+ * @return {?proto.sniipbillerapi.ResponseCode}
4386
+ */
4387
+ proto.sniipbillerapi.AbnSearchResponse.prototype.getResponsecode = function() {
4388
+ return /** @type{?proto.sniipbillerapi.ResponseCode} */ (
4389
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.ResponseCode, 1));
4390
+ };
4391
+
4392
+
4393
+ /**
4394
+ * @param {?proto.sniipbillerapi.ResponseCode|undefined} value
4395
+ * @return {!proto.sniipbillerapi.AbnSearchResponse} returns this
4396
+ */
4397
+ proto.sniipbillerapi.AbnSearchResponse.prototype.setResponsecode = function(value) {
4398
+ return jspb.Message.setWrapperField(this, 1, value);
4399
+ };
4400
+
4401
+
4402
+ /**
4403
+ * Clears the message field making it undefined.
4404
+ * @return {!proto.sniipbillerapi.AbnSearchResponse} returns this
4405
+ */
4406
+ proto.sniipbillerapi.AbnSearchResponse.prototype.clearResponsecode = function() {
4407
+ return this.setResponsecode(undefined);
4408
+ };
4409
+
4410
+
4411
+ /**
4412
+ * Returns whether this field is set.
4413
+ * @return {boolean}
4414
+ */
4415
+ proto.sniipbillerapi.AbnSearchResponse.prototype.hasResponsecode = function() {
4416
+ return jspb.Message.getField(this, 1) != null;
4417
+ };
4418
+
4419
+
4420
+ /**
4421
+ * repeated AbnSearchResult searchResults = 2;
4422
+ * @return {!Array<!proto.sniipbillerapi.AbnSearchResult>}
4423
+ */
4424
+ proto.sniipbillerapi.AbnSearchResponse.prototype.getSearchresultsList = function() {
4425
+ return /** @type{!Array<!proto.sniipbillerapi.AbnSearchResult>} */ (
4426
+ jspb.Message.getRepeatedWrapperField(this, proto.sniipbillerapi.AbnSearchResult, 2));
4427
+ };
4428
+
4429
+
4430
+ /**
4431
+ * @param {!Array<!proto.sniipbillerapi.AbnSearchResult>} value
4432
+ * @return {!proto.sniipbillerapi.AbnSearchResponse} returns this
4433
+ */
4434
+ proto.sniipbillerapi.AbnSearchResponse.prototype.setSearchresultsList = function(value) {
4435
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
4436
+ };
4437
+
4438
+
4439
+ /**
4440
+ * @param {!proto.sniipbillerapi.AbnSearchResult=} opt_value
4441
+ * @param {number=} opt_index
4442
+ * @return {!proto.sniipbillerapi.AbnSearchResult}
4443
+ */
4444
+ proto.sniipbillerapi.AbnSearchResponse.prototype.addSearchresults = function(opt_value, opt_index) {
4445
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.sniipbillerapi.AbnSearchResult, opt_index);
4446
+ };
4447
+
4448
+
4449
+ /**
4450
+ * Clears the list making it empty but non-null.
4451
+ * @return {!proto.sniipbillerapi.AbnSearchResponse} returns this
4452
+ */
4453
+ proto.sniipbillerapi.AbnSearchResponse.prototype.clearSearchresultsList = function() {
4454
+ return this.setSearchresultsList([]);
4455
+ };
4456
+
4457
+
4458
+
4459
+
4460
+
4461
+ if (jspb.Message.GENERATE_TO_OBJECT) {
4462
+ /**
4463
+ * Creates an object representation of this proto.
4464
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
4465
+ * Optional fields that are not set will be set to undefined.
4466
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
4467
+ * For the list of reserved names please see:
4468
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
4469
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
4470
+ * JSPB instance for transitional soy proto support:
4471
+ * http://goto/soy-param-migration
4472
+ * @return {!Object}
4473
+ */
4474
+ proto.sniipbillerapi.AbnSearchResult.prototype.toObject = function(opt_includeInstance) {
4475
+ return proto.sniipbillerapi.AbnSearchResult.toObject(opt_includeInstance, this);
4476
+ };
4477
+
4478
+
4479
+ /**
4480
+ * Static version of the {@see toObject} method.
4481
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
4482
+ * the JSPB instance for transitional soy proto support:
4483
+ * http://goto/soy-param-migration
4484
+ * @param {!proto.sniipbillerapi.AbnSearchResult} msg The msg instance to transform.
4485
+ * @return {!Object}
4486
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4487
+ */
4488
+ proto.sniipbillerapi.AbnSearchResult.toObject = function(includeInstance, msg) {
4489
+ var f, obj = {
4490
+ abn: jspb.Message.getFieldWithDefault(msg, 1, ""),
4491
+ name: jspb.Message.getFieldWithDefault(msg, 2, "")
4492
+ };
4493
+
4494
+ if (includeInstance) {
4495
+ obj.$jspbMessageInstance = msg;
4496
+ }
4497
+ return obj;
4498
+ };
4499
+ }
4500
+
4501
+
4502
+ /**
4503
+ * Deserializes binary data (in protobuf wire format).
4504
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
4505
+ * @return {!proto.sniipbillerapi.AbnSearchResult}
4506
+ */
4507
+ proto.sniipbillerapi.AbnSearchResult.deserializeBinary = function(bytes) {
4508
+ var reader = new jspb.BinaryReader(bytes);
4509
+ var msg = new proto.sniipbillerapi.AbnSearchResult;
4510
+ return proto.sniipbillerapi.AbnSearchResult.deserializeBinaryFromReader(msg, reader);
4511
+ };
4512
+
4513
+
4514
+ /**
4515
+ * Deserializes binary data (in protobuf wire format) from the
4516
+ * given reader into the given message object.
4517
+ * @param {!proto.sniipbillerapi.AbnSearchResult} msg The message object to deserialize into.
4518
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
4519
+ * @return {!proto.sniipbillerapi.AbnSearchResult}
4520
+ */
4521
+ proto.sniipbillerapi.AbnSearchResult.deserializeBinaryFromReader = function(msg, reader) {
4522
+ while (reader.nextField()) {
4523
+ if (reader.isEndGroup()) {
4524
+ break;
4525
+ }
4526
+ var field = reader.getFieldNumber();
4527
+ switch (field) {
4528
+ case 1:
4529
+ var value = /** @type {string} */ (reader.readString());
4530
+ msg.setAbn(value);
4531
+ break;
4532
+ case 2:
4533
+ var value = /** @type {string} */ (reader.readString());
4534
+ msg.setName(value);
4535
+ break;
4536
+ default:
4537
+ reader.skipField();
4538
+ break;
4539
+ }
4540
+ }
4541
+ return msg;
4542
+ };
4543
+
4544
+
4545
+ /**
4546
+ * Serializes the message to binary data (in protobuf wire format).
4547
+ * @return {!Uint8Array}
4548
+ */
4549
+ proto.sniipbillerapi.AbnSearchResult.prototype.serializeBinary = function() {
4550
+ var writer = new jspb.BinaryWriter();
4551
+ proto.sniipbillerapi.AbnSearchResult.serializeBinaryToWriter(this, writer);
4552
+ return writer.getResultBuffer();
4553
+ };
4554
+
4555
+
4556
+ /**
4557
+ * Serializes the given message to binary data (in protobuf wire
4558
+ * format), writing to the given BinaryWriter.
4559
+ * @param {!proto.sniipbillerapi.AbnSearchResult} message
4560
+ * @param {!jspb.BinaryWriter} writer
4561
+ * @suppress {unusedLocalVariables} f is only used for nested messages
4562
+ */
4563
+ proto.sniipbillerapi.AbnSearchResult.serializeBinaryToWriter = function(message, writer) {
4564
+ var f = undefined;
4565
+ f = message.getAbn();
4566
+ if (f.length > 0) {
4567
+ writer.writeString(
4568
+ 1,
4569
+ f
4570
+ );
4571
+ }
4572
+ f = message.getName();
4573
+ if (f.length > 0) {
4574
+ writer.writeString(
4575
+ 2,
4576
+ f
4577
+ );
4578
+ }
4579
+ };
4580
+
4581
+
4582
+ /**
4583
+ * optional string abn = 1;
4584
+ * @return {string}
4585
+ */
4586
+ proto.sniipbillerapi.AbnSearchResult.prototype.getAbn = function() {
4587
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
4588
+ };
4589
+
4590
+
4591
+ /**
4592
+ * @param {string} value
4593
+ * @return {!proto.sniipbillerapi.AbnSearchResult} returns this
4594
+ */
4595
+ proto.sniipbillerapi.AbnSearchResult.prototype.setAbn = function(value) {
4596
+ return jspb.Message.setProto3StringField(this, 1, value);
4597
+ };
4598
+
4599
+
4600
+ /**
4601
+ * optional string name = 2;
4602
+ * @return {string}
4603
+ */
4604
+ proto.sniipbillerapi.AbnSearchResult.prototype.getName = function() {
4605
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
4606
+ };
4607
+
4608
+
4609
+ /**
4610
+ * @param {string} value
4611
+ * @return {!proto.sniipbillerapi.AbnSearchResult} returns this
4612
+ */
4613
+ proto.sniipbillerapi.AbnSearchResult.prototype.setName = function(value) {
4614
+ return jspb.Message.setProto3StringField(this, 2, value);
4615
+ };
4616
+
4617
+
4618
+
4619
+
4620
+
4054
4621
  if (jspb.Message.GENERATE_TO_OBJECT) {
4055
4622
  /**
4056
4623
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "24.3.6733",
3
+ "version": "24.4.6768",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",