@sniipwebmaster/biller-service-client-grpcweb 22.6.4522 → 22.6.4532

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.
@@ -4474,6 +4474,86 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.updateBillerNo
4474
4474
  };
4475
4475
 
4476
4476
 
4477
+ /**
4478
+ * @const
4479
+ * @type {!grpc.web.MethodDescriptor<
4480
+ * !proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest,
4481
+ * !proto.sniipbillerapi.ResponseCode>}
4482
+ */
4483
+ const methodDescriptor_SniipBillerAPIService_UpdateIndustryCodeForSmeBiller = new grpc.web.MethodDescriptor(
4484
+ '/sniipbillerapi.SniipBillerAPIService/UpdateIndustryCodeForSmeBiller',
4485
+ grpc.web.MethodType.UNARY,
4486
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest,
4487
+ proto.sniipbillerapi.ResponseCode,
4488
+ /**
4489
+ * @param {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest} request
4490
+ * @return {!Uint8Array}
4491
+ */
4492
+ function(request) {
4493
+ return request.serializeBinary();
4494
+ },
4495
+ proto.sniipbillerapi.ResponseCode.deserializeBinary
4496
+ );
4497
+
4498
+
4499
+ /**
4500
+ * @const
4501
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
4502
+ * !proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest,
4503
+ * !proto.sniipbillerapi.ResponseCode>}
4504
+ */
4505
+ const methodInfo_SniipBillerAPIService_UpdateIndustryCodeForSmeBiller = new grpc.web.AbstractClientBase.MethodInfo(
4506
+ proto.sniipbillerapi.ResponseCode,
4507
+ /**
4508
+ * @param {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest} request
4509
+ * @return {!Uint8Array}
4510
+ */
4511
+ function(request) {
4512
+ return request.serializeBinary();
4513
+ },
4514
+ proto.sniipbillerapi.ResponseCode.deserializeBinary
4515
+ );
4516
+
4517
+
4518
+ /**
4519
+ * @param {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest} request The
4520
+ * request proto
4521
+ * @param {?Object<string, string>} metadata User defined
4522
+ * call metadata
4523
+ * @param {function(?grpc.web.Error, ?proto.sniipbillerapi.ResponseCode)}
4524
+ * callback The callback function(error, response)
4525
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.ResponseCode>|undefined}
4526
+ * The XHR Node Readable Stream
4527
+ */
4528
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.updateIndustryCodeForSmeBiller =
4529
+ function(request, metadata, callback) {
4530
+ return this.client_.rpcCall(this.hostname_ +
4531
+ '/sniipbillerapi.SniipBillerAPIService/UpdateIndustryCodeForSmeBiller',
4532
+ request,
4533
+ metadata || {},
4534
+ methodDescriptor_SniipBillerAPIService_UpdateIndustryCodeForSmeBiller,
4535
+ callback);
4536
+ };
4537
+
4538
+
4539
+ /**
4540
+ * @param {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest} request The
4541
+ * request proto
4542
+ * @param {?Object<string, string>} metadata User defined
4543
+ * call metadata
4544
+ * @return {!Promise<!proto.sniipbillerapi.ResponseCode>}
4545
+ * Promise that resolves to the response
4546
+ */
4547
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.updateIndustryCodeForSmeBiller =
4548
+ function(request, metadata) {
4549
+ return this.client_.unaryCall(this.hostname_ +
4550
+ '/sniipbillerapi.SniipBillerAPIService/UpdateIndustryCodeForSmeBiller',
4551
+ request,
4552
+ metadata || {},
4553
+ methodDescriptor_SniipBillerAPIService_UpdateIndustryCodeForSmeBiller);
4554
+ };
4555
+
4556
+
4477
4557
  /**
4478
4558
  * @const
4479
4559
  * @type {!grpc.web.MethodDescriptor<
@@ -140,6 +140,7 @@ goog.exportSymbol('proto.sniipbillerapi.Timezone', null, global);
140
140
  goog.exportSymbol('proto.sniipbillerapi.TimezonesResponse', null, global);
141
141
  goog.exportSymbol('proto.sniipbillerapi.UpdateBillerNameRequest', null, global);
142
142
  goog.exportSymbol('proto.sniipbillerapi.UpdateBillerNotificationRecipientRequest', null, global);
143
+ goog.exportSymbol('proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest', null, global);
143
144
  goog.exportSymbol('proto.sniipbillerapi.UpdatePaymentMethodGroupForConfigRequest', null, global);
144
145
  goog.exportSymbol('proto.sniipbillerapi.UpdatePaymentRestrictionsRequest', null, global);
145
146
  goog.exportSymbol('proto.sniipbillerapi.ValidateCreateBillerRequest', null, global);
@@ -32124,6 +32125,219 @@ proto.sniipbillerapi.UpdateBillerNotificationRecipientRequest.prototype.hasData
32124
32125
 
32125
32126
 
32126
32127
 
32128
+ /**
32129
+ * Generated by JsPbCodeGenerator.
32130
+ * @param {Array=} opt_data Optional initial data array, typically from a
32131
+ * server response, or constructed directly in Javascript. The array is used
32132
+ * in place and becomes part of the constructed object. It is not cloned.
32133
+ * If no data is provided, the constructed object will be empty, but still
32134
+ * valid.
32135
+ * @extends {jspb.Message}
32136
+ * @constructor
32137
+ */
32138
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest = function(opt_data) {
32139
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
32140
+ };
32141
+ goog.inherits(proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest, jspb.Message);
32142
+ if (goog.DEBUG && !COMPILED) {
32143
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.displayName = 'proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest';
32144
+ }
32145
+
32146
+
32147
+ if (jspb.Message.GENERATE_TO_OBJECT) {
32148
+ /**
32149
+ * Creates an object representation of this proto suitable for use in Soy templates.
32150
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
32151
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
32152
+ * For the list of reserved names please see:
32153
+ * com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
32154
+ * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
32155
+ * for transitional soy proto support: http://goto/soy-param-migration
32156
+ * @return {!Object}
32157
+ */
32158
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.toObject = function(opt_includeInstance) {
32159
+ return proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.toObject(opt_includeInstance, this);
32160
+ };
32161
+
32162
+
32163
+ /**
32164
+ * Static version of the {@see toObject} method.
32165
+ * @param {boolean|undefined} includeInstance Whether to include the JSPB
32166
+ * instance for transitional soy proto support:
32167
+ * http://goto/soy-param-migration
32168
+ * @param {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest} msg The msg instance to transform.
32169
+ * @return {!Object}
32170
+ */
32171
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.toObject = function(includeInstance, msg) {
32172
+ var f, obj = {
32173
+ industrycode: msg.getIndustrycode(),
32174
+ billerid: msg.getBillerid(),
32175
+ industrysectorname: msg.getIndustrysectorname()
32176
+ };
32177
+
32178
+ if (includeInstance) {
32179
+ obj.$jspbMessageInstance = msg;
32180
+ }
32181
+ return obj;
32182
+ };
32183
+ }
32184
+
32185
+
32186
+ /**
32187
+ * Deserializes binary data (in protobuf wire format).
32188
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
32189
+ * @return {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest}
32190
+ */
32191
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.deserializeBinary = function(bytes) {
32192
+ var reader = new jspb.BinaryReader(bytes);
32193
+ var msg = new proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest;
32194
+ return proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.deserializeBinaryFromReader(msg, reader);
32195
+ };
32196
+
32197
+
32198
+ /**
32199
+ * Deserializes binary data (in protobuf wire format) from the
32200
+ * given reader into the given message object.
32201
+ * @param {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest} msg The message object to deserialize into.
32202
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
32203
+ * @return {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest}
32204
+ */
32205
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.deserializeBinaryFromReader = function(msg, reader) {
32206
+ while (reader.nextField()) {
32207
+ if (reader.isEndGroup()) {
32208
+ break;
32209
+ }
32210
+ var field = reader.getFieldNumber();
32211
+ switch (field) {
32212
+ case 1:
32213
+ var value = /** @type {number} */ (reader.readInt32());
32214
+ msg.setIndustrycode(value);
32215
+ break;
32216
+ case 2:
32217
+ var value = /** @type {number} */ (reader.readInt64());
32218
+ msg.setBillerid(value);
32219
+ break;
32220
+ case 3:
32221
+ var value = /** @type {string} */ (reader.readString());
32222
+ msg.setIndustrysectorname(value);
32223
+ break;
32224
+ default:
32225
+ reader.skipField();
32226
+ break;
32227
+ }
32228
+ }
32229
+ return msg;
32230
+ };
32231
+
32232
+
32233
+ /**
32234
+ * Class method variant: serializes the given message to binary data
32235
+ * (in protobuf wire format), writing to the given BinaryWriter.
32236
+ * @param {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest} message
32237
+ * @param {!jspb.BinaryWriter} writer
32238
+ */
32239
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.serializeBinaryToWriter = function(message, writer) {
32240
+ message.serializeBinaryToWriter(writer);
32241
+ };
32242
+
32243
+
32244
+ /**
32245
+ * Serializes the message to binary data (in protobuf wire format).
32246
+ * @return {!Uint8Array}
32247
+ */
32248
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.serializeBinary = function() {
32249
+ var writer = new jspb.BinaryWriter();
32250
+ this.serializeBinaryToWriter(writer);
32251
+ return writer.getResultBuffer();
32252
+ };
32253
+
32254
+
32255
+ /**
32256
+ * Serializes the message to binary data (in protobuf wire format),
32257
+ * writing to the given BinaryWriter.
32258
+ * @param {!jspb.BinaryWriter} writer
32259
+ */
32260
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.serializeBinaryToWriter = function (writer) {
32261
+ var f = undefined;
32262
+ f = this.getIndustrycode();
32263
+ if (f !== 0) {
32264
+ writer.writeInt32(
32265
+ 1,
32266
+ f
32267
+ );
32268
+ }
32269
+ f = this.getBillerid();
32270
+ if (f !== 0) {
32271
+ writer.writeInt64(
32272
+ 2,
32273
+ f
32274
+ );
32275
+ }
32276
+ f = this.getIndustrysectorname();
32277
+ if (f.length > 0) {
32278
+ writer.writeString(
32279
+ 3,
32280
+ f
32281
+ );
32282
+ }
32283
+ };
32284
+
32285
+
32286
+ /**
32287
+ * Creates a deep clone of this proto. No data is shared with the original.
32288
+ * @return {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest} The clone.
32289
+ */
32290
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.cloneMessage = function() {
32291
+ return /** @type {!proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest} */ (jspb.Message.cloneMessage(this));
32292
+ };
32293
+
32294
+
32295
+ /**
32296
+ * optional int32 industryCode = 1;
32297
+ * @return {number}
32298
+ */
32299
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.getIndustrycode = function() {
32300
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 1, 0));
32301
+ };
32302
+
32303
+
32304
+ /** @param {number} value */
32305
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.setIndustrycode = function(value) {
32306
+ jspb.Message.setField(this, 1, value);
32307
+ };
32308
+
32309
+
32310
+ /**
32311
+ * optional int64 billerId = 2;
32312
+ * @return {number}
32313
+ */
32314
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.getBillerid = function() {
32315
+ return /** @type {number} */ (jspb.Message.getFieldProto3(this, 2, 0));
32316
+ };
32317
+
32318
+
32319
+ /** @param {number} value */
32320
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.setBillerid = function(value) {
32321
+ jspb.Message.setField(this, 2, value);
32322
+ };
32323
+
32324
+
32325
+ /**
32326
+ * optional string industrySectorName = 3;
32327
+ * @return {string}
32328
+ */
32329
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.getIndustrysectorname = function() {
32330
+ return /** @type {string} */ (jspb.Message.getFieldProto3(this, 3, ""));
32331
+ };
32332
+
32333
+
32334
+ /** @param {string} value */
32335
+ proto.sniipbillerapi.UpdateIndustryCodeForSmeBillerRequest.prototype.setIndustrysectorname = function(value) {
32336
+ jspb.Message.setField(this, 3, value);
32337
+ };
32338
+
32339
+
32340
+
32127
32341
  /**
32128
32342
  * Generated by JsPbCodeGenerator.
32129
32343
  * @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/biller-service-client-grpcweb",
3
- "version": "22.6.4522",
3
+ "version": "22.6.4532",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",