@sniipwebmaster/biller-service-client-grpcweb 26.8.9848 → 26.8.9878

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.
@@ -3311,6 +3311,67 @@ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getKnownBiller
3311
3311
  };
3312
3312
 
3313
3313
 
3314
+ /**
3315
+ * @const
3316
+ * @type {!grpc.web.MethodDescriptor<
3317
+ * !proto.google.protobuf.Empty,
3318
+ * !proto.sniipbillerapi.GuestCheckoutConfigResponse>}
3319
+ */
3320
+ const methodDescriptor_SniipBillerAPIService_GetGuestCheckoutConfig = new grpc.web.MethodDescriptor(
3321
+ '/sniipbillerapi.SniipBillerAPIService/GetGuestCheckoutConfig',
3322
+ grpc.web.MethodType.UNARY,
3323
+ google_protobuf_empty_pb.Empty,
3324
+ proto.sniipbillerapi.GuestCheckoutConfigResponse,
3325
+ /**
3326
+ * @param {!proto.google.protobuf.Empty} request
3327
+ * @return {!Uint8Array}
3328
+ */
3329
+ function(request) {
3330
+ return request.serializeBinary();
3331
+ },
3332
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.deserializeBinary
3333
+ );
3334
+
3335
+
3336
+ /**
3337
+ * @param {!proto.google.protobuf.Empty} request The
3338
+ * request proto
3339
+ * @param {?Object<string, string>} metadata User defined
3340
+ * call metadata
3341
+ * @param {function(?grpc.web.RpcError, ?proto.sniipbillerapi.GuestCheckoutConfigResponse)}
3342
+ * callback The callback function(error, response)
3343
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillerapi.GuestCheckoutConfigResponse>|undefined}
3344
+ * The XHR Node Readable Stream
3345
+ */
3346
+ proto.sniipbillerapi.SniipBillerAPIServiceClient.prototype.getGuestCheckoutConfig =
3347
+ function(request, metadata, callback) {
3348
+ return this.client_.rpcCall(this.hostname_ +
3349
+ '/sniipbillerapi.SniipBillerAPIService/GetGuestCheckoutConfig',
3350
+ request,
3351
+ metadata || {},
3352
+ methodDescriptor_SniipBillerAPIService_GetGuestCheckoutConfig,
3353
+ callback);
3354
+ };
3355
+
3356
+
3357
+ /**
3358
+ * @param {!proto.google.protobuf.Empty} request The
3359
+ * request proto
3360
+ * @param {?Object<string, string>=} metadata User defined
3361
+ * call metadata
3362
+ * @return {!Promise<!proto.sniipbillerapi.GuestCheckoutConfigResponse>}
3363
+ * Promise that resolves to the response
3364
+ */
3365
+ proto.sniipbillerapi.SniipBillerAPIServicePromiseClient.prototype.getGuestCheckoutConfig =
3366
+ function(request, metadata) {
3367
+ return this.client_.unaryCall(this.hostname_ +
3368
+ '/sniipbillerapi.SniipBillerAPIService/GetGuestCheckoutConfig',
3369
+ request,
3370
+ metadata || {},
3371
+ methodDescriptor_SniipBillerAPIService_GetGuestCheckoutConfig);
3372
+ };
3373
+
3374
+
3314
3375
  /**
3315
3376
  * @const
3316
3377
  * @type {!grpc.web.MethodDescriptor<
@@ -165,6 +165,7 @@ goog.exportSymbol('proto.sniipbillerapi.GetSmeBillerRevisionsRequest', null, glo
165
165
  goog.exportSymbol('proto.sniipbillerapi.GetSniipToBpayMigrationConfigBatchRequest', null, global);
166
166
  goog.exportSymbol('proto.sniipbillerapi.GetSniipToBpayMigrationConfigByBpayCodeRequest', null, global);
167
167
  goog.exportSymbol('proto.sniipbillerapi.GetSniipToBpayMigrationConfigRequest', null, global);
168
+ goog.exportSymbol('proto.sniipbillerapi.GuestCheckoutConfigResponse', null, global);
168
169
  goog.exportSymbol('proto.sniipbillerapi.IllionAbrDetails', null, global);
169
170
  goog.exportSymbol('proto.sniipbillerapi.IllionAddress', null, global);
170
171
  goog.exportSymbol('proto.sniipbillerapi.IllionData', null, global);
@@ -4798,6 +4799,27 @@ if (goog.DEBUG && !COMPILED) {
4798
4799
  */
4799
4800
  proto.sniipbillerapi.BillerValidationStatus.displayName = 'proto.sniipbillerapi.BillerValidationStatus';
4800
4801
  }
4802
+ /**
4803
+ * Generated by JsPbCodeGenerator.
4804
+ * @param {Array=} opt_data Optional initial data array, typically from a
4805
+ * server response, or constructed directly in Javascript. The array is used
4806
+ * in place and becomes part of the constructed object. It is not cloned.
4807
+ * If no data is provided, the constructed object will be empty, but still
4808
+ * valid.
4809
+ * @extends {jspb.Message}
4810
+ * @constructor
4811
+ */
4812
+ proto.sniipbillerapi.GuestCheckoutConfigResponse = function(opt_data) {
4813
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
4814
+ };
4815
+ goog.inherits(proto.sniipbillerapi.GuestCheckoutConfigResponse, jspb.Message);
4816
+ if (goog.DEBUG && !COMPILED) {
4817
+ /**
4818
+ * @public
4819
+ * @override
4820
+ */
4821
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.displayName = 'proto.sniipbillerapi.GuestCheckoutConfigResponse';
4822
+ }
4801
4823
 
4802
4824
 
4803
4825
 
@@ -57811,6 +57833,307 @@ proto.sniipbillerapi.BillerValidationStatus.prototype.hasBankDetails = function(
57811
57833
  };
57812
57834
 
57813
57835
 
57836
+
57837
+
57838
+
57839
+ if (jspb.Message.GENERATE_TO_OBJECT) {
57840
+ /**
57841
+ * Creates an object representation of this proto.
57842
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
57843
+ * Optional fields that are not set will be set to undefined.
57844
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
57845
+ * For the list of reserved names please see:
57846
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
57847
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
57848
+ * JSPB instance for transitional soy proto support:
57849
+ * http://goto/soy-param-migration
57850
+ * @return {!Object}
57851
+ */
57852
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.toObject = function(opt_includeInstance) {
57853
+ return proto.sniipbillerapi.GuestCheckoutConfigResponse.toObject(opt_includeInstance, this);
57854
+ };
57855
+
57856
+
57857
+ /**
57858
+ * Static version of the {@see toObject} method.
57859
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
57860
+ * the JSPB instance for transitional soy proto support:
57861
+ * http://goto/soy-param-migration
57862
+ * @param {!proto.sniipbillerapi.GuestCheckoutConfigResponse} msg The msg instance to transform.
57863
+ * @return {!Object}
57864
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57865
+ */
57866
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.toObject = function(includeInstance, msg) {
57867
+ var f, obj = {
57868
+ responsecode: (f = msg.getResponsecode()) && proto.sniipbillerapi.ResponseCode.toObject(includeInstance, f),
57869
+ underpaymentpermitted: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
57870
+ overpaymentpermitted: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
57871
+ paymentmethodgroupname: jspb.Message.getFieldWithDefault(msg, 4, ""),
57872
+ allowunverifiedsmepayments: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
57873
+ allowunverifiedsmepaymentscomment: jspb.Message.getFieldWithDefault(msg, 6, "")
57874
+ };
57875
+
57876
+ if (includeInstance) {
57877
+ obj.$jspbMessageInstance = msg;
57878
+ }
57879
+ return obj;
57880
+ };
57881
+ }
57882
+
57883
+
57884
+ /**
57885
+ * Deserializes binary data (in protobuf wire format).
57886
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
57887
+ * @return {!proto.sniipbillerapi.GuestCheckoutConfigResponse}
57888
+ */
57889
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.deserializeBinary = function(bytes) {
57890
+ var reader = new jspb.BinaryReader(bytes);
57891
+ var msg = new proto.sniipbillerapi.GuestCheckoutConfigResponse;
57892
+ return proto.sniipbillerapi.GuestCheckoutConfigResponse.deserializeBinaryFromReader(msg, reader);
57893
+ };
57894
+
57895
+
57896
+ /**
57897
+ * Deserializes binary data (in protobuf wire format) from the
57898
+ * given reader into the given message object.
57899
+ * @param {!proto.sniipbillerapi.GuestCheckoutConfigResponse} msg The message object to deserialize into.
57900
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
57901
+ * @return {!proto.sniipbillerapi.GuestCheckoutConfigResponse}
57902
+ */
57903
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.deserializeBinaryFromReader = function(msg, reader) {
57904
+ while (reader.nextField()) {
57905
+ if (reader.isEndGroup()) {
57906
+ break;
57907
+ }
57908
+ var field = reader.getFieldNumber();
57909
+ switch (field) {
57910
+ case 1:
57911
+ var value = new proto.sniipbillerapi.ResponseCode;
57912
+ reader.readMessage(value,proto.sniipbillerapi.ResponseCode.deserializeBinaryFromReader);
57913
+ msg.setResponsecode(value);
57914
+ break;
57915
+ case 2:
57916
+ var value = /** @type {boolean} */ (reader.readBool());
57917
+ msg.setUnderpaymentpermitted(value);
57918
+ break;
57919
+ case 3:
57920
+ var value = /** @type {boolean} */ (reader.readBool());
57921
+ msg.setOverpaymentpermitted(value);
57922
+ break;
57923
+ case 4:
57924
+ var value = /** @type {string} */ (reader.readString());
57925
+ msg.setPaymentmethodgroupname(value);
57926
+ break;
57927
+ case 5:
57928
+ var value = /** @type {boolean} */ (reader.readBool());
57929
+ msg.setAllowunverifiedsmepayments(value);
57930
+ break;
57931
+ case 6:
57932
+ var value = /** @type {string} */ (reader.readString());
57933
+ msg.setAllowunverifiedsmepaymentscomment(value);
57934
+ break;
57935
+ default:
57936
+ reader.skipField();
57937
+ break;
57938
+ }
57939
+ }
57940
+ return msg;
57941
+ };
57942
+
57943
+
57944
+ /**
57945
+ * Serializes the message to binary data (in protobuf wire format).
57946
+ * @return {!Uint8Array}
57947
+ */
57948
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.serializeBinary = function() {
57949
+ var writer = new jspb.BinaryWriter();
57950
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.serializeBinaryToWriter(this, writer);
57951
+ return writer.getResultBuffer();
57952
+ };
57953
+
57954
+
57955
+ /**
57956
+ * Serializes the given message to binary data (in protobuf wire
57957
+ * format), writing to the given BinaryWriter.
57958
+ * @param {!proto.sniipbillerapi.GuestCheckoutConfigResponse} message
57959
+ * @param {!jspb.BinaryWriter} writer
57960
+ * @suppress {unusedLocalVariables} f is only used for nested messages
57961
+ */
57962
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.serializeBinaryToWriter = function(message, writer) {
57963
+ var f = undefined;
57964
+ f = message.getResponsecode();
57965
+ if (f != null) {
57966
+ writer.writeMessage(
57967
+ 1,
57968
+ f,
57969
+ proto.sniipbillerapi.ResponseCode.serializeBinaryToWriter
57970
+ );
57971
+ }
57972
+ f = message.getUnderpaymentpermitted();
57973
+ if (f) {
57974
+ writer.writeBool(
57975
+ 2,
57976
+ f
57977
+ );
57978
+ }
57979
+ f = message.getOverpaymentpermitted();
57980
+ if (f) {
57981
+ writer.writeBool(
57982
+ 3,
57983
+ f
57984
+ );
57985
+ }
57986
+ f = message.getPaymentmethodgroupname();
57987
+ if (f.length > 0) {
57988
+ writer.writeString(
57989
+ 4,
57990
+ f
57991
+ );
57992
+ }
57993
+ f = message.getAllowunverifiedsmepayments();
57994
+ if (f) {
57995
+ writer.writeBool(
57996
+ 5,
57997
+ f
57998
+ );
57999
+ }
58000
+ f = message.getAllowunverifiedsmepaymentscomment();
58001
+ if (f.length > 0) {
58002
+ writer.writeString(
58003
+ 6,
58004
+ f
58005
+ );
58006
+ }
58007
+ };
58008
+
58009
+
58010
+ /**
58011
+ * optional ResponseCode responseCode = 1;
58012
+ * @return {?proto.sniipbillerapi.ResponseCode}
58013
+ */
58014
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.getResponsecode = function() {
58015
+ return /** @type{?proto.sniipbillerapi.ResponseCode} */ (
58016
+ jspb.Message.getWrapperField(this, proto.sniipbillerapi.ResponseCode, 1));
58017
+ };
58018
+
58019
+
58020
+ /**
58021
+ * @param {?proto.sniipbillerapi.ResponseCode|undefined} value
58022
+ * @return {!proto.sniipbillerapi.GuestCheckoutConfigResponse} returns this
58023
+ */
58024
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.setResponsecode = function(value) {
58025
+ return jspb.Message.setWrapperField(this, 1, value);
58026
+ };
58027
+
58028
+
58029
+ /**
58030
+ * Clears the message field making it undefined.
58031
+ * @return {!proto.sniipbillerapi.GuestCheckoutConfigResponse} returns this
58032
+ */
58033
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.clearResponsecode = function() {
58034
+ return this.setResponsecode(undefined);
58035
+ };
58036
+
58037
+
58038
+ /**
58039
+ * Returns whether this field is set.
58040
+ * @return {boolean}
58041
+ */
58042
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.hasResponsecode = function() {
58043
+ return jspb.Message.getField(this, 1) != null;
58044
+ };
58045
+
58046
+
58047
+ /**
58048
+ * optional bool underpaymentPermitted = 2;
58049
+ * @return {boolean}
58050
+ */
58051
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.getUnderpaymentpermitted = function() {
58052
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
58053
+ };
58054
+
58055
+
58056
+ /**
58057
+ * @param {boolean} value
58058
+ * @return {!proto.sniipbillerapi.GuestCheckoutConfigResponse} returns this
58059
+ */
58060
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.setUnderpaymentpermitted = function(value) {
58061
+ return jspb.Message.setProto3BooleanField(this, 2, value);
58062
+ };
58063
+
58064
+
58065
+ /**
58066
+ * optional bool overpaymentPermitted = 3;
58067
+ * @return {boolean}
58068
+ */
58069
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.getOverpaymentpermitted = function() {
58070
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
58071
+ };
58072
+
58073
+
58074
+ /**
58075
+ * @param {boolean} value
58076
+ * @return {!proto.sniipbillerapi.GuestCheckoutConfigResponse} returns this
58077
+ */
58078
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.setOverpaymentpermitted = function(value) {
58079
+ return jspb.Message.setProto3BooleanField(this, 3, value);
58080
+ };
58081
+
58082
+
58083
+ /**
58084
+ * optional string paymentMethodGroupName = 4;
58085
+ * @return {string}
58086
+ */
58087
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.getPaymentmethodgroupname = function() {
58088
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
58089
+ };
58090
+
58091
+
58092
+ /**
58093
+ * @param {string} value
58094
+ * @return {!proto.sniipbillerapi.GuestCheckoutConfigResponse} returns this
58095
+ */
58096
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.setPaymentmethodgroupname = function(value) {
58097
+ return jspb.Message.setProto3StringField(this, 4, value);
58098
+ };
58099
+
58100
+
58101
+ /**
58102
+ * optional bool allowUnverifiedSmePayments = 5;
58103
+ * @return {boolean}
58104
+ */
58105
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.getAllowunverifiedsmepayments = function() {
58106
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
58107
+ };
58108
+
58109
+
58110
+ /**
58111
+ * @param {boolean} value
58112
+ * @return {!proto.sniipbillerapi.GuestCheckoutConfigResponse} returns this
58113
+ */
58114
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.setAllowunverifiedsmepayments = function(value) {
58115
+ return jspb.Message.setProto3BooleanField(this, 5, value);
58116
+ };
58117
+
58118
+
58119
+ /**
58120
+ * optional string allowUnverifiedSmePaymentsComment = 6;
58121
+ * @return {string}
58122
+ */
58123
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.getAllowunverifiedsmepaymentscomment = function() {
58124
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
58125
+ };
58126
+
58127
+
58128
+ /**
58129
+ * @param {string} value
58130
+ * @return {!proto.sniipbillerapi.GuestCheckoutConfigResponse} returns this
58131
+ */
58132
+ proto.sniipbillerapi.GuestCheckoutConfigResponse.prototype.setAllowunverifiedsmepaymentscomment = function(value) {
58133
+ return jspb.Message.setProto3StringField(this, 6, value);
58134
+ };
58135
+
58136
+
57814
58137
  /**
57815
58138
  * @enum {number}
57816
58139
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/biller-service-client-grpcweb",
3
- "version": "26.8.9848",
3
+ "version": "26.8.9878",
4
4
  "description": "biller-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",