@sniipwebmaster/biller-service-client-grpcweb 25.7.8989 → 25.7.9007

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.
@@ -5934,5 +5934,127 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.updateBillerBu
5934
5934
  };
5935
5935
 
5936
5936
 
5937
+ /**
5938
+ * @const
5939
+ * @type {!grpc.web.MethodDescriptor<
5940
+ * !proto.sniipbillerapi.GetBillerConfigFromCodeRequest,
5941
+ * !proto.sniipbillerapi.GetBillerConfigFromCodeResponse>}
5942
+ */
5943
+ const methodDescriptor_SniipBillerAPIService_GetBillerConfigFromCode = new grpc.web.MethodDescriptor(
5944
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerConfigFromCode',
5945
+ grpc.web.MethodType.UNARY,
5946
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest,
5947
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse,
5948
+ /**
5949
+ * @param {!proto.sniipbillerapi.GetBillerConfigFromCodeRequest} request
5950
+ * @return {!Uint8Array}
5951
+ */
5952
+ function(request) {
5953
+ return request.serializeBinary();
5954
+ },
5955
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.deserializeBinary
5956
+ );
5957
+
5958
+
5959
+ /**
5960
+ * @param {!proto.sniipbillerapi.GetBillerConfigFromCodeRequest} request The
5961
+ * request proto
5962
+ * @param {?Object<string, string>} metadata User defined
5963
+ * call metadata
5964
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillerapi.GetBillerConfigFromCodeResponse)}
5965
+ * callback The callback function(error, response)
5966
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.GetBillerConfigFromCodeResponse>|undefined}
5967
+ * The XHR Node Readable Stream
5968
+ */
5969
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.getBillerConfigFromCode =
5970
+ function(request, metadata, callback) {
5971
+ return this.client_.rpcCall(this.hostname_ +
5972
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerConfigFromCode',
5973
+ request,
5974
+ metadata || {},
5975
+ methodDescriptor_SniipBillerAPIService_GetBillerConfigFromCode,
5976
+ callback);
5977
+ };
5978
+
5979
+
5980
+ /**
5981
+ * @param {!proto.sniipbillerapi.GetBillerConfigFromCodeRequest} request The
5982
+ * request proto
5983
+ * @param {?Object<string, string>=} metadata User defined
5984
+ * call metadata
5985
+ * @return {!Promise<!proto.sniipbillerapi.GetBillerConfigFromCodeResponse>}
5986
+ * Promise that resolves to the response
5987
+ */
5988
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getBillerConfigFromCode =
5989
+ function(request, metadata) {
5990
+ return this.client_.unaryCall(this.hostname_ +
5991
+ '/sniipbillerapi.SniipBillerAPIService/GetBillerConfigFromCode',
5992
+ request,
5993
+ metadata || {},
5994
+ methodDescriptor_SniipBillerAPIService_GetBillerConfigFromCode);
5995
+ };
5996
+
5997
+
5998
+ /**
5999
+ * @const
6000
+ * @type {!grpc.web.MethodDescriptor<
6001
+ * !proto.sniipbillerapi.AddBillerConfigRequest,
6002
+ * !proto.sniipbillerapi.AddBillerConfigResponse>}
6003
+ */
6004
+ const methodDescriptor_SniipBillerAPIService_CreateOrGetBillerConfig = new grpc.web.MethodDescriptor(
6005
+ '/sniipbillerapi.SniipBillerAPIService/CreateOrGetBillerConfig',
6006
+ grpc.web.MethodType.UNARY,
6007
+ proto.sniipbillerapi.AddBillerConfigRequest,
6008
+ proto.sniipbillerapi.AddBillerConfigResponse,
6009
+ /**
6010
+ * @param {!proto.sniipbillerapi.AddBillerConfigRequest} request
6011
+ * @return {!Uint8Array}
6012
+ */
6013
+ function(request) {
6014
+ return request.serializeBinary();
6015
+ },
6016
+ proto.sniipbillerapi.AddBillerConfigResponse.deserializeBinary
6017
+ );
6018
+
6019
+
6020
+ /**
6021
+ * @param {!proto.sniipbillerapi.AddBillerConfigRequest} request The
6022
+ * request proto
6023
+ * @param {?Object<string, string>} metadata User defined
6024
+ * call metadata
6025
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillerapi.AddBillerConfigResponse)}
6026
+ * callback The callback function(error, response)
6027
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.AddBillerConfigResponse>|undefined}
6028
+ * The XHR Node Readable Stream
6029
+ */
6030
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.createOrGetBillerConfig =
6031
+ function(request, metadata, callback) {
6032
+ return this.client_.rpcCall(this.hostname_ +
6033
+ '/sniipbillerapi.SniipBillerAPIService/CreateOrGetBillerConfig',
6034
+ request,
6035
+ metadata || {},
6036
+ methodDescriptor_SniipBillerAPIService_CreateOrGetBillerConfig,
6037
+ callback);
6038
+ };
6039
+
6040
+
6041
+ /**
6042
+ * @param {!proto.sniipbillerapi.AddBillerConfigRequest} request The
6043
+ * request proto
6044
+ * @param {?Object<string, string>=} metadata User defined
6045
+ * call metadata
6046
+ * @return {!Promise<!proto.sniipbillerapi.AddBillerConfigResponse>}
6047
+ * Promise that resolves to the response
6048
+ */
6049
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.createOrGetBillerConfig =
6050
+ function(request, metadata) {
6051
+ return this.client_.unaryCall(this.hostname_ +
6052
+ '/sniipbillerapi.SniipBillerAPIService/CreateOrGetBillerConfig',
6053
+ request,
6054
+ metadata || {},
6055
+ methodDescriptor_SniipBillerAPIService_CreateOrGetBillerConfig);
6056
+ };
6057
+
6058
+
5937
6059
  module.exports = proto.sniipbillerapi;
5938
6060
 
@@ -31,6 +31,7 @@ goog.exportSymbol('proto.sniipbillerapi.ActivatePaymentMethodRequest', null, glo
31
31
  goog.exportSymbol('proto.sniipbillerapi.ActivatePaymentMethodToReceivePaymentsRequest', null, global);
32
32
  goog.exportSymbol('proto.sniipbillerapi.AddBillConfigIdToBillerConfigRequest', null, global);
33
33
  goog.exportSymbol('proto.sniipbillerapi.AddBillerConfigRequest', null, global);
34
+ goog.exportSymbol('proto.sniipbillerapi.AddBillerConfigResponse', null, global);
34
35
  goog.exportSymbol('proto.sniipbillerapi.AddBillerNotificationRecipientRequest', null, global);
35
36
  goog.exportSymbol('proto.sniipbillerapi.AddOrUpdateBankAccountForSniipPaymentGatewayRequest', null, global);
36
37
  goog.exportSymbol('proto.sniipbillerapi.AddOrUpdateBillerNotificationRecipientRequest', null, global);
@@ -117,6 +118,8 @@ goog.exportSymbol('proto.sniipbillerapi.GetBillerAddressRequest', null, global);
117
118
  goog.exportSymbol('proto.sniipbillerapi.GetBillerBusinessDetailsRequest', null, global);
118
119
  goog.exportSymbol('proto.sniipbillerapi.GetBillerByBillerConfigIdInternalRequest', null, global);
119
120
  goog.exportSymbol('proto.sniipbillerapi.GetBillerConfigByAbaDetailsRequest', null, global);
121
+ goog.exportSymbol('proto.sniipbillerapi.GetBillerConfigFromCodeRequest', null, global);
122
+ goog.exportSymbol('proto.sniipbillerapi.GetBillerConfigFromCodeResponse', null, global);
120
123
  goog.exportSymbol('proto.sniipbillerapi.GetBillerConfigRevisionsRequest', null, global);
121
124
  goog.exportSymbol('proto.sniipbillerapi.GetBillerContactDetailsRequest', null, global);
122
125
  goog.exportSymbol('proto.sniipbillerapi.GetBillerCrnNicknameRequest', null, global);
@@ -495,6 +498,27 @@ if (goog.DEBUG && !COMPILED) {
495
498
  */
496
499
  proto.sniipbillerapi.AddBillConfigIdToBillerConfigRequest.displayName = 'proto.sniipbillerapi.AddBillConfigIdToBillerConfigRequest';
497
500
  }
501
+ /**
502
+ * Generated by JsPbCodeGenerator.
503
+ * @param {Array=} opt_data Optional initial data array, typically from a
504
+ * server response, or constructed directly in Javascript. The array is used
505
+ * in place and becomes part of the constructed object. It is not cloned.
506
+ * If no data is provided, the constructed object will be empty, but still
507
+ * valid.
508
+ * @extends {jspb.Message}
509
+ * @constructor
510
+ */
511
+ proto.sniipbillerapi.AddBillerConfigResponse = function(opt_data) {
512
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
513
+ };
514
+ goog.inherits(proto.sniipbillerapi.AddBillerConfigResponse, jspb.Message);
515
+ if (goog.DEBUG && !COMPILED) {
516
+ /**
517
+ * @public
518
+ * @override
519
+ */
520
+ proto.sniipbillerapi.AddBillerConfigResponse.displayName = 'proto.sniipbillerapi.AddBillerConfigResponse';
521
+ }
498
522
  /**
499
523
  * Generated by JsPbCodeGenerator.
500
524
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1755,6 +1779,48 @@ if (goog.DEBUG && !COMPILED) {
1755
1779
  */
1756
1780
  proto.sniipbillerapi.CreateBillerFromRevisionRequest.displayName = 'proto.sniipbillerapi.CreateBillerFromRevisionRequest';
1757
1781
  }
1782
+ /**
1783
+ * Generated by JsPbCodeGenerator.
1784
+ * @param {Array=} opt_data Optional initial data array, typically from a
1785
+ * server response, or constructed directly in Javascript. The array is used
1786
+ * in place and becomes part of the constructed object. It is not cloned.
1787
+ * If no data is provided, the constructed object will be empty, but still
1788
+ * valid.
1789
+ * @extends {jspb.Message}
1790
+ * @constructor
1791
+ */
1792
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest = function(opt_data) {
1793
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1794
+ };
1795
+ goog.inherits(proto.sniipbillerapi.GetBillerConfigFromCodeRequest, jspb.Message);
1796
+ if (goog.DEBUG && !COMPILED) {
1797
+ /**
1798
+ * @public
1799
+ * @override
1800
+ */
1801
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.displayName = 'proto.sniipbillerapi.GetBillerConfigFromCodeRequest';
1802
+ }
1803
+ /**
1804
+ * Generated by JsPbCodeGenerator.
1805
+ * @param {Array=} opt_data Optional initial data array, typically from a
1806
+ * server response, or constructed directly in Javascript. The array is used
1807
+ * in place and becomes part of the constructed object. It is not cloned.
1808
+ * If no data is provided, the constructed object will be empty, but still
1809
+ * valid.
1810
+ * @extends {jspb.Message}
1811
+ * @constructor
1812
+ */
1813
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse = function(opt_data) {
1814
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1815
+ };
1816
+ goog.inherits(proto.sniipbillerapi.GetBillerConfigFromCodeResponse, jspb.Message);
1817
+ if (goog.DEBUG && !COMPILED) {
1818
+ /**
1819
+ * @public
1820
+ * @override
1821
+ */
1822
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.displayName = 'proto.sniipbillerapi.GetBillerConfigFromCodeResponse';
1823
+ }
1758
1824
  /**
1759
1825
  * Generated by JsPbCodeGenerator.
1760
1826
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6916,6 +6982,187 @@ proto.sniipbillerapi.AddBillConfigIdToBillerConfigRequest.prototype.setBillconfi
6916
6982
 
6917
6983
 
6918
6984
 
6985
+ if (jspb.Message.GENERATE_TO_OBJECT) {
6986
+ /**
6987
+ * Creates an object representation of this proto.
6988
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
6989
+ * Optional fields that are not set will be set to undefined.
6990
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
6991
+ * For the list of reserved names please see:
6992
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
6993
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
6994
+ * JSPB instance for transitional soy proto support:
6995
+ * http://goto/soy-param-migration
6996
+ * @return {!Object}
6997
+ */
6998
+ proto.sniipbillerapi.AddBillerConfigResponse.prototype.toObject = function(opt_includeInstance) {
6999
+ return proto.sniipbillerapi.AddBillerConfigResponse.toObject(opt_includeInstance, this);
7000
+ };
7001
+
7002
+
7003
+ /**
7004
+ * Static version of the {@see toObject} method.
7005
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
7006
+ * the JSPB instance for transitional soy proto support:
7007
+ * http://goto/soy-param-migration
7008
+ * @param {!proto.sniipbillerapi.AddBillerConfigResponse} msg The msg instance to transform.
7009
+ * @return {!Object}
7010
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7011
+ */
7012
+ proto.sniipbillerapi.AddBillerConfigResponse.toObject = function(includeInstance, msg) {
7013
+ var f, obj = {
7014
+ billerconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0),
7015
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillerapi.ResponseCode.toObject(includeInstance, f)
7016
+ };
7017
+
7018
+ if (includeInstance) {
7019
+ obj.$jspbMessageInstance = msg;
7020
+ }
7021
+ return obj;
7022
+ };
7023
+ }
7024
+
7025
+
7026
+ /**
7027
+ * Deserializes binary data (in protobuf wire format).
7028
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
7029
+ * @return {!proto.sniipbillerapi.AddBillerConfigResponse}
7030
+ */
7031
+ proto.sniipbillerapi.AddBillerConfigResponse.deserializeBinary = function(bytes) {
7032
+ var reader = new jspb.BinaryReader(bytes);
7033
+ var msg = new proto.sniipbillerapi.AddBillerConfigResponse;
7034
+ return proto.sniipbillerapi.AddBillerConfigResponse.deserializeBinaryFromReader(msg, reader);
7035
+ };
7036
+
7037
+
7038
+ /**
7039
+ * Deserializes binary data (in protobuf wire format) from the
7040
+ * given reader into the given message object.
7041
+ * @param {!proto.sniipbillerapi.AddBillerConfigResponse} msg The message object to deserialize into.
7042
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
7043
+ * @return {!proto.sniipbillerapi.AddBillerConfigResponse}
7044
+ */
7045
+ proto.sniipbillerapi.AddBillerConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
7046
+ while (reader.nextField()) {
7047
+ if (reader.isEndGroup()) {
7048
+ break;
7049
+ }
7050
+ var field = reader.getFieldNumber();
7051
+ switch (field) {
7052
+ case 1:
7053
+ var value = /** @type {number} */ (reader.readInt64());
7054
+ msg.setBillerconfigid(value);
7055
+ break;
7056
+ case 2:
7057
+ var value = new proto.sniipbillerapi.ResponseCode;
7058
+ reader.readMessage(value,proto.sniipbillerapi.ResponseCode.deserializeBinaryFromReader);
7059
+ msg.setResponsecode(value);
7060
+ break;
7061
+ default:
7062
+ reader.skipField();
7063
+ break;
7064
+ }
7065
+ }
7066
+ return msg;
7067
+ };
7068
+
7069
+
7070
+ /**
7071
+ * Serializes the message to binary data (in protobuf wire format).
7072
+ * @return {!Uint8Array}
7073
+ */
7074
+ proto.sniipbillerapi.AddBillerConfigResponse.prototype.serializeBinary = function() {
7075
+ var writer = new jspb.BinaryWriter();
7076
+ proto.sniipbillerapi.AddBillerConfigResponse.serializeBinaryToWriter(this, writer);
7077
+ return writer.getResultBuffer();
7078
+ };
7079
+
7080
+
7081
+ /**
7082
+ * Serializes the given message to binary data (in protobuf wire
7083
+ * format), writing to the given BinaryWriter.
7084
+ * @param {!proto.sniipbillerapi.AddBillerConfigResponse} message
7085
+ * @param {!jspb.BinaryWriter} writer
7086
+ * @suppress {unusedLocalVariables} f is only used for nested messages
7087
+ */
7088
+ proto.sniipbillerapi.AddBillerConfigResponse.serializeBinaryToWriter = function(message, writer) {
7089
+ var f = undefined;
7090
+ f = message.getBillerconfigid();
7091
+ if (f !== 0) {
7092
+ writer.writeInt64(
7093
+ 1,
7094
+ f
7095
+ );
7096
+ }
7097
+ f = message.getResponsecode();
7098
+ if (f != null) {
7099
+ writer.writeMessage(
7100
+ 2,
7101
+ f,
7102
+ proto.sniipbillerapi.ResponseCode.serializeBinaryToWriter
7103
+ );
7104
+ }
7105
+ };
7106
+
7107
+
7108
+ /**
7109
+ * optional int64 billerConfigId = 1;
7110
+ * @return {number}
7111
+ */
7112
+ proto.sniipbillerapi.AddBillerConfigResponse.prototype.getBillerconfigid = function() {
7113
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7114
+ };
7115
+
7116
+
7117
+ /**
7118
+ * @param {number} value
7119
+ * @return {!proto.sniipbillerapi.AddBillerConfigResponse} returns this
7120
+ */
7121
+ proto.sniipbillerapi.AddBillerConfigResponse.prototype.setBillerconfigid = function(value) {
7122
+ return jspb.Message.setProto3IntField(this, 1, value);
7123
+ };
7124
+
7125
+
7126
+ /**
7127
+ * optional ResponseCode responseCode = 2;
7128
+ * @return {?proto.sniipbillerapi.ResponseCode}
7129
+ */
7130
+ proto.sniipbillerapi.AddBillerConfigResponse.prototype.getResponsecode = function() {
7131
+ return /** @type{?proto.sniipbillerapi.ResponseCode} */ (
7132
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.ResponseCode, 2));
7133
+ };
7134
+
7135
+
7136
+ /**
7137
+ * @param {?proto.sniipbillerapi.ResponseCode|undefined} value
7138
+ * @return {!proto.sniipbillerapi.AddBillerConfigResponse} returns this
7139
+ */
7140
+ proto.sniipbillerapi.AddBillerConfigResponse.prototype.setResponsecode = function(value) {
7141
+ return jspb.Message.setWrapperField(this, 2, value);
7142
+ };
7143
+
7144
+
7145
+ /**
7146
+ * Clears the message field making it undefined.
7147
+ * @return {!proto.sniipbillerapi.AddBillerConfigResponse} returns this
7148
+ */
7149
+ proto.sniipbillerapi.AddBillerConfigResponse.prototype.clearResponsecode = function() {
7150
+ return this.setResponsecode(undefined);
7151
+ };
7152
+
7153
+
7154
+ /**
7155
+ * Returns whether this field is set.
7156
+ * @return {boolean}
7157
+ */
7158
+ proto.sniipbillerapi.AddBillerConfigResponse.prototype.hasResponsecode = function() {
7159
+ return jspb.Message.getField(this, 2) != null;
7160
+ };
7161
+
7162
+
7163
+
7164
+
7165
+
6919
7166
  if (jspb.Message.GENERATE_TO_OBJECT) {
6920
7167
  /**
6921
7168
  * Creates an object representation of this proto.
@@ -26024,6 +26271,317 @@ proto.sniipbillerapi.CreateBillerFromRevisionRequest.prototype.hasData = functio
26024
26271
 
26025
26272
 
26026
26273
 
26274
+
26275
+
26276
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26277
+ /**
26278
+ * Creates an object representation of this proto.
26279
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26280
+ * Optional fields that are not set will be set to undefined.
26281
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26282
+ * For the list of reserved names please see:
26283
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26284
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26285
+ * JSPB instance for transitional soy proto support:
26286
+ * http://goto/soy-param-migration
26287
+ * @return {!Object}
26288
+ */
26289
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.prototype.toObject = function(opt_includeInstance) {
26290
+ return proto.sniipbillerapi.GetBillerConfigFromCodeRequest.toObject(opt_includeInstance, this);
26291
+ };
26292
+
26293
+
26294
+ /**
26295
+ * Static version of the {@see toObject} method.
26296
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26297
+ * the JSPB instance for transitional soy proto support:
26298
+ * http://goto/soy-param-migration
26299
+ * @param {!proto.sniipbillerapi.GetBillerConfigFromCodeRequest} msg The msg instance to transform.
26300
+ * @return {!Object}
26301
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26302
+ */
26303
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.toObject = function(includeInstance, msg) {
26304
+ var f, obj = {
26305
+ code: jspb.Message.getFieldWithDefault(msg, 1, "")
26306
+ };
26307
+
26308
+ if (includeInstance) {
26309
+ obj.$jspbMessageInstance = msg;
26310
+ }
26311
+ return obj;
26312
+ };
26313
+ }
26314
+
26315
+
26316
+ /**
26317
+ * Deserializes binary data (in protobuf wire format).
26318
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26319
+ * @return {!proto.sniipbillerapi.GetBillerConfigFromCodeRequest}
26320
+ */
26321
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.deserializeBinary = function(bytes) {
26322
+ var reader = new jspb.BinaryReader(bytes);
26323
+ var msg = new proto.sniipbillerapi.GetBillerConfigFromCodeRequest;
26324
+ return proto.sniipbillerapi.GetBillerConfigFromCodeRequest.deserializeBinaryFromReader(msg, reader);
26325
+ };
26326
+
26327
+
26328
+ /**
26329
+ * Deserializes binary data (in protobuf wire format) from the
26330
+ * given reader into the given message object.
26331
+ * @param {!proto.sniipbillerapi.GetBillerConfigFromCodeRequest} msg The message object to deserialize into.
26332
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26333
+ * @return {!proto.sniipbillerapi.GetBillerConfigFromCodeRequest}
26334
+ */
26335
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.deserializeBinaryFromReader = function(msg, reader) {
26336
+ while (reader.nextField()) {
26337
+ if (reader.isEndGroup()) {
26338
+ break;
26339
+ }
26340
+ var field = reader.getFieldNumber();
26341
+ switch (field) {
26342
+ case 1:
26343
+ var value = /** @type {string} */ (reader.readString());
26344
+ msg.setCode(value);
26345
+ break;
26346
+ default:
26347
+ reader.skipField();
26348
+ break;
26349
+ }
26350
+ }
26351
+ return msg;
26352
+ };
26353
+
26354
+
26355
+ /**
26356
+ * Serializes the message to binary data (in protobuf wire format).
26357
+ * @return {!Uint8Array}
26358
+ */
26359
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.prototype.serializeBinary = function() {
26360
+ var writer = new jspb.BinaryWriter();
26361
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.serializeBinaryToWriter(this, writer);
26362
+ return writer.getResultBuffer();
26363
+ };
26364
+
26365
+
26366
+ /**
26367
+ * Serializes the given message to binary data (in protobuf wire
26368
+ * format), writing to the given BinaryWriter.
26369
+ * @param {!proto.sniipbillerapi.GetBillerConfigFromCodeRequest} message
26370
+ * @param {!jspb.BinaryWriter} writer
26371
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26372
+ */
26373
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.serializeBinaryToWriter = function(message, writer) {
26374
+ var f = undefined;
26375
+ f = message.getCode();
26376
+ if (f.length > 0) {
26377
+ writer.writeString(
26378
+ 1,
26379
+ f
26380
+ );
26381
+ }
26382
+ };
26383
+
26384
+
26385
+ /**
26386
+ * optional string code = 1;
26387
+ * @return {string}
26388
+ */
26389
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.prototype.getCode = function() {
26390
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
26391
+ };
26392
+
26393
+
26394
+ /**
26395
+ * @param {string} value
26396
+ * @return {!proto.sniipbillerapi.GetBillerConfigFromCodeRequest} returns this
26397
+ */
26398
+ proto.sniipbillerapi.GetBillerConfigFromCodeRequest.prototype.setCode = function(value) {
26399
+ return jspb.Message.setProto3StringField(this, 1, value);
26400
+ };
26401
+
26402
+
26403
+
26404
+
26405
+
26406
+ if (jspb.Message.GENERATE_TO_OBJECT) {
26407
+ /**
26408
+ * Creates an object representation of this proto.
26409
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
26410
+ * Optional fields that are not set will be set to undefined.
26411
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
26412
+ * For the list of reserved names please see:
26413
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
26414
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
26415
+ * JSPB instance for transitional soy proto support:
26416
+ * http://goto/soy-param-migration
26417
+ * @return {!Object}
26418
+ */
26419
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.prototype.toObject = function(opt_includeInstance) {
26420
+ return proto.sniipbillerapi.GetBillerConfigFromCodeResponse.toObject(opt_includeInstance, this);
26421
+ };
26422
+
26423
+
26424
+ /**
26425
+ * Static version of the {@see toObject} method.
26426
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
26427
+ * the JSPB instance for transitional soy proto support:
26428
+ * http://goto/soy-param-migration
26429
+ * @param {!proto.sniipbillerapi.GetBillerConfigFromCodeResponse} msg The msg instance to transform.
26430
+ * @return {!Object}
26431
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26432
+ */
26433
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.toObject = function(includeInstance, msg) {
26434
+ var f, obj = {
26435
+ billerconfigid: jspb.Message.getFieldWithDefault(msg, 1, 0),
26436
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillerapi.ResponseCode.toObject(includeInstance, f)
26437
+ };
26438
+
26439
+ if (includeInstance) {
26440
+ obj.$jspbMessageInstance = msg;
26441
+ }
26442
+ return obj;
26443
+ };
26444
+ }
26445
+
26446
+
26447
+ /**
26448
+ * Deserializes binary data (in protobuf wire format).
26449
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
26450
+ * @return {!proto.sniipbillerapi.GetBillerConfigFromCodeResponse}
26451
+ */
26452
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.deserializeBinary = function(bytes) {
26453
+ var reader = new jspb.BinaryReader(bytes);
26454
+ var msg = new proto.sniipbillerapi.GetBillerConfigFromCodeResponse;
26455
+ return proto.sniipbillerapi.GetBillerConfigFromCodeResponse.deserializeBinaryFromReader(msg, reader);
26456
+ };
26457
+
26458
+
26459
+ /**
26460
+ * Deserializes binary data (in protobuf wire format) from the
26461
+ * given reader into the given message object.
26462
+ * @param {!proto.sniipbillerapi.GetBillerConfigFromCodeResponse} msg The message object to deserialize into.
26463
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
26464
+ * @return {!proto.sniipbillerapi.GetBillerConfigFromCodeResponse}
26465
+ */
26466
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.deserializeBinaryFromReader = function(msg, reader) {
26467
+ while (reader.nextField()) {
26468
+ if (reader.isEndGroup()) {
26469
+ break;
26470
+ }
26471
+ var field = reader.getFieldNumber();
26472
+ switch (field) {
26473
+ case 1:
26474
+ var value = /** @type {number} */ (reader.readInt64());
26475
+ msg.setBillerconfigid(value);
26476
+ break;
26477
+ case 2:
26478
+ var value = new proto.sniipbillerapi.ResponseCode;
26479
+ reader.readMessage(value,proto.sniipbillerapi.ResponseCode.deserializeBinaryFromReader);
26480
+ msg.setResponsecode(value);
26481
+ break;
26482
+ default:
26483
+ reader.skipField();
26484
+ break;
26485
+ }
26486
+ }
26487
+ return msg;
26488
+ };
26489
+
26490
+
26491
+ /**
26492
+ * Serializes the message to binary data (in protobuf wire format).
26493
+ * @return {!Uint8Array}
26494
+ */
26495
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.prototype.serializeBinary = function() {
26496
+ var writer = new jspb.BinaryWriter();
26497
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.serializeBinaryToWriter(this, writer);
26498
+ return writer.getResultBuffer();
26499
+ };
26500
+
26501
+
26502
+ /**
26503
+ * Serializes the given message to binary data (in protobuf wire
26504
+ * format), writing to the given BinaryWriter.
26505
+ * @param {!proto.sniipbillerapi.GetBillerConfigFromCodeResponse} message
26506
+ * @param {!jspb.BinaryWriter} writer
26507
+ * @suppress {unusedLocalVariables} f is only used for nested messages
26508
+ */
26509
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.serializeBinaryToWriter = function(message, writer) {
26510
+ var f = undefined;
26511
+ f = message.getBillerconfigid();
26512
+ if (f !== 0) {
26513
+ writer.writeInt64(
26514
+ 1,
26515
+ f
26516
+ );
26517
+ }
26518
+ f = message.getResponsecode();
26519
+ if (f != null) {
26520
+ writer.writeMessage(
26521
+ 2,
26522
+ f,
26523
+ proto.sniipbillerapi.ResponseCode.serializeBinaryToWriter
26524
+ );
26525
+ }
26526
+ };
26527
+
26528
+
26529
+ /**
26530
+ * optional int64 billerConfigId = 1;
26531
+ * @return {number}
26532
+ */
26533
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.prototype.getBillerconfigid = function() {
26534
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
26535
+ };
26536
+
26537
+
26538
+ /**
26539
+ * @param {number} value
26540
+ * @return {!proto.sniipbillerapi.GetBillerConfigFromCodeResponse} returns this
26541
+ */
26542
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.prototype.setBillerconfigid = function(value) {
26543
+ return jspb.Message.setProto3IntField(this, 1, value);
26544
+ };
26545
+
26546
+
26547
+ /**
26548
+ * optional ResponseCode responseCode = 2;
26549
+ * @return {?proto.sniipbillerapi.ResponseCode}
26550
+ */
26551
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.prototype.getResponsecode = function() {
26552
+ return /** @type{?proto.sniipbillerapi.ResponseCode} */ (
26553
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.ResponseCode, 2));
26554
+ };
26555
+
26556
+
26557
+ /**
26558
+ * @param {?proto.sniipbillerapi.ResponseCode|undefined} value
26559
+ * @return {!proto.sniipbillerapi.GetBillerConfigFromCodeResponse} returns this
26560
+ */
26561
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.prototype.setResponsecode = function(value) {
26562
+ return jspb.Message.setWrapperField(this, 2, value);
26563
+ };
26564
+
26565
+
26566
+ /**
26567
+ * Clears the message field making it undefined.
26568
+ * @return {!proto.sniipbillerapi.GetBillerConfigFromCodeResponse} returns this
26569
+ */
26570
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.prototype.clearResponsecode = function() {
26571
+ return this.setResponsecode(undefined);
26572
+ };
26573
+
26574
+
26575
+ /**
26576
+ * Returns whether this field is set.
26577
+ * @return {boolean}
26578
+ */
26579
+ proto.sniipbillerapi.GetBillerConfigFromCodeResponse.prototype.hasResponsecode = function() {
26580
+ return jspb.Message.getField(this, 2) != null;
26581
+ };
26582
+
26583
+
26584
+
26027
26585
  /**
26028
26586
  * List of repeated fields within this message type.
26029
26587
  * @private {!Array<number>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "25.7.8989",
3
+ "version": "25.7.9007",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",