@sniipwebmaster/payment-gateway-service-client-grpcweb 24.6.5652 → 24.6.5669

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.
@@ -932,6 +932,67 @@ proto.sniippaymentgatewayapi.SniipPaymentGatewayAPIServicePromiseClient.prototyp
932
932
  };
933
933
 
934
934
 
935
+ /**
936
+ * @const
937
+ * @type {!grpc.web.MethodDescriptor<
938
+ * !proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest,
939
+ * !proto.sniippaymentgatewayapi.ResponseCode>}
940
+ */
941
+ const methodDescriptor_SniipPaymentGatewayAPIService_InternalResetSettledTransaction = new grpc.web.MethodDescriptor(
942
+ '/sniippaymentgatewayapi.SniipPaymentGatewayAPIService/InternalResetSettledTransaction',
943
+ grpc.web.MethodType.UNARY,
944
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest,
945
+ proto.sniippaymentgatewayapi.ResponseCode,
946
+ /**
947
+ * @param {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest} request
948
+ * @return {!Uint8Array}
949
+ */
950
+ function(request) {
951
+ return request.serializeBinary();
952
+ },
953
+ proto.sniippaymentgatewayapi.ResponseCode.deserializeBinary
954
+ );
955
+
956
+
957
+ /**
958
+ * @param {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest} request The
959
+ * request proto
960
+ * @param {?Object<string, string>} metadata User defined
961
+ * call metadata
962
+ * @param {function(?grpc.web.RpcError, ?proto.sniippaymentgatewayapi.ResponseCode)}
963
+ * callback The callback function(error, response)
964
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentgatewayapi.ResponseCode>|undefined}
965
+ * The XHR Node Readable Stream
966
+ */
967
+ proto.sniippaymentgatewayapi.SniipPaymentGatewayAPIServiceClient.prototype.internalResetSettledTransaction =
968
+ function(request, metadata, callback) {
969
+ return this.client_.rpcCall(this.hostname_ +
970
+ '/sniippaymentgatewayapi.SniipPaymentGatewayAPIService/InternalResetSettledTransaction',
971
+ request,
972
+ metadata || {},
973
+ methodDescriptor_SniipPaymentGatewayAPIService_InternalResetSettledTransaction,
974
+ callback);
975
+ };
976
+
977
+
978
+ /**
979
+ * @param {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest} request The
980
+ * request proto
981
+ * @param {?Object<string, string>=} metadata User defined
982
+ * call metadata
983
+ * @return {!Promise<!proto.sniippaymentgatewayapi.ResponseCode>}
984
+ * Promise that resolves to the response
985
+ */
986
+ proto.sniippaymentgatewayapi.SniipPaymentGatewayAPIServicePromiseClient.prototype.internalResetSettledTransaction =
987
+ function(request, metadata) {
988
+ return this.client_.unaryCall(this.hostname_ +
989
+ '/sniippaymentgatewayapi.SniipPaymentGatewayAPIService/InternalResetSettledTransaction',
990
+ request,
991
+ metadata || {},
992
+ methodDescriptor_SniipPaymentGatewayAPIService_InternalResetSettledTransaction);
993
+ };
994
+
995
+
935
996
  /**
936
997
  * @const
937
998
  * @type {!grpc.web.MethodDescriptor<
@@ -37,6 +37,7 @@ goog.exportSymbol('proto.sniippaymentgatewayapi.GetPaymentGatewayResponse', null
37
37
  goog.exportSymbol('proto.sniippaymentgatewayapi.GetProcessingFeesRequest', null, global);
38
38
  goog.exportSymbol('proto.sniippaymentgatewayapi.GetProcessingFeesV2Request', null, global);
39
39
  goog.exportSymbol('proto.sniippaymentgatewayapi.GetProcessingRateTiersRequest', null, global);
40
+ goog.exportSymbol('proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest', null, global);
40
41
  goog.exportSymbol('proto.sniippaymentgatewayapi.Leg', null, global);
41
42
  goog.exportSymbol('proto.sniippaymentgatewayapi.LegRequest', null, global);
42
43
  goog.exportSymbol('proto.sniippaymentgatewayapi.LegResponse', null, global);
@@ -66,6 +67,7 @@ goog.exportSymbol('proto.sniippaymentgatewayapi.RefundFailedRequest', null, glob
66
67
  goog.exportSymbol('proto.sniippaymentgatewayapi.RefundLegRequest', null, global);
67
68
  goog.exportSymbol('proto.sniippaymentgatewayapi.RefundSuccessRequest', null, global);
68
69
  goog.exportSymbol('proto.sniippaymentgatewayapi.RefundSuccessfulRequest', null, global);
70
+ goog.exportSymbol('proto.sniippaymentgatewayapi.ResetSettledTransactionRequest', null, global);
69
71
  goog.exportSymbol('proto.sniippaymentgatewayapi.ResponseCode', null, global);
70
72
  goog.exportSymbol('proto.sniippaymentgatewayapi.UpdateLegRequest', null, global);
71
73
  goog.exportSymbol('proto.sniippaymentgatewayapi.UpdateLegStatusRequest', null, global);
@@ -510,6 +512,27 @@ if (goog.DEBUG && !COMPILED) {
510
512
  */
511
513
  proto.sniippaymentgatewayapi.GetProcessingRateTiersRequest.displayName = 'proto.sniippaymentgatewayapi.GetProcessingRateTiersRequest';
512
514
  }
515
+ /**
516
+ * Generated by JsPbCodeGenerator.
517
+ * @param {Array=} opt_data Optional initial data array, typically from a
518
+ * server response, or constructed directly in Javascript. The array is used
519
+ * in place and becomes part of the constructed object. It is not cloned.
520
+ * If no data is provided, the constructed object will be empty, but still
521
+ * valid.
522
+ * @extends {jspb.Message}
523
+ * @constructor
524
+ */
525
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest = function(opt_data) {
526
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
527
+ };
528
+ goog.inherits(proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest, jspb.Message);
529
+ if (goog.DEBUG && !COMPILED) {
530
+ /**
531
+ * @public
532
+ * @override
533
+ */
534
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.displayName = 'proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest';
535
+ }
513
536
  /**
514
537
  * Generated by JsPbCodeGenerator.
515
538
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -1077,6 +1100,27 @@ if (goog.DEBUG && !COMPILED) {
1077
1100
  */
1078
1101
  proto.sniippaymentgatewayapi.RefundSuccessfulRequest.displayName = 'proto.sniippaymentgatewayapi.RefundSuccessfulRequest';
1079
1102
  }
1103
+ /**
1104
+ * Generated by JsPbCodeGenerator.
1105
+ * @param {Array=} opt_data Optional initial data array, typically from a
1106
+ * server response, or constructed directly in Javascript. The array is used
1107
+ * in place and becomes part of the constructed object. It is not cloned.
1108
+ * If no data is provided, the constructed object will be empty, but still
1109
+ * valid.
1110
+ * @extends {jspb.Message}
1111
+ * @constructor
1112
+ */
1113
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest = function(opt_data) {
1114
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1115
+ };
1116
+ goog.inherits(proto.sniippaymentgatewayapi.ResetSettledTransactionRequest, jspb.Message);
1117
+ if (goog.DEBUG && !COMPILED) {
1118
+ /**
1119
+ * @public
1120
+ * @override
1121
+ */
1122
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.displayName = 'proto.sniippaymentgatewayapi.ResetSettledTransactionRequest';
1123
+ }
1080
1124
  /**
1081
1125
  * Generated by JsPbCodeGenerator.
1082
1126
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -5279,6 +5323,157 @@ proto.sniippaymentgatewayapi.GetProcessingRateTiersRequest.prototype.setPaymentp
5279
5323
 
5280
5324
 
5281
5325
 
5326
+ if (jspb.Message.GENERATE_TO_OBJECT) {
5327
+ /**
5328
+ * Creates an object representation of this proto.
5329
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
5330
+ * Optional fields that are not set will be set to undefined.
5331
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
5332
+ * For the list of reserved names please see:
5333
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
5334
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
5335
+ * JSPB instance for transitional soy proto support:
5336
+ * http://goto/soy-param-migration
5337
+ * @return {!Object}
5338
+ */
5339
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.prototype.toObject = function(opt_includeInstance) {
5340
+ return proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.toObject(opt_includeInstance, this);
5341
+ };
5342
+
5343
+
5344
+ /**
5345
+ * Static version of the {@see toObject} method.
5346
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
5347
+ * the JSPB instance for transitional soy proto support:
5348
+ * http://goto/soy-param-migration
5349
+ * @param {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest} msg The msg instance to transform.
5350
+ * @return {!Object}
5351
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5352
+ */
5353
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.toObject = function(includeInstance, msg) {
5354
+ var f, obj = {
5355
+ data: (f = msg.getData()) && proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.toObject(includeInstance, f)
5356
+ };
5357
+
5358
+ if (includeInstance) {
5359
+ obj.$jspbMessageInstance = msg;
5360
+ }
5361
+ return obj;
5362
+ };
5363
+ }
5364
+
5365
+
5366
+ /**
5367
+ * Deserializes binary data (in protobuf wire format).
5368
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
5369
+ * @return {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest}
5370
+ */
5371
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.deserializeBinary = function(bytes) {
5372
+ var reader = new jspb.BinaryReader(bytes);
5373
+ var msg = new proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest;
5374
+ return proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.deserializeBinaryFromReader(msg, reader);
5375
+ };
5376
+
5377
+
5378
+ /**
5379
+ * Deserializes binary data (in protobuf wire format) from the
5380
+ * given reader into the given message object.
5381
+ * @param {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest} msg The message object to deserialize into.
5382
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
5383
+ * @return {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest}
5384
+ */
5385
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
5386
+ while (reader.nextField()) {
5387
+ if (reader.isEndGroup()) {
5388
+ break;
5389
+ }
5390
+ var field = reader.getFieldNumber();
5391
+ switch (field) {
5392
+ case 1:
5393
+ var value = new proto.sniippaymentgatewayapi.ResetSettledTransactionRequest;
5394
+ reader.readMessage(value,proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.deserializeBinaryFromReader);
5395
+ msg.setData(value);
5396
+ break;
5397
+ default:
5398
+ reader.skipField();
5399
+ break;
5400
+ }
5401
+ }
5402
+ return msg;
5403
+ };
5404
+
5405
+
5406
+ /**
5407
+ * Serializes the message to binary data (in protobuf wire format).
5408
+ * @return {!Uint8Array}
5409
+ */
5410
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.prototype.serializeBinary = function() {
5411
+ var writer = new jspb.BinaryWriter();
5412
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.serializeBinaryToWriter(this, writer);
5413
+ return writer.getResultBuffer();
5414
+ };
5415
+
5416
+
5417
+ /**
5418
+ * Serializes the given message to binary data (in protobuf wire
5419
+ * format), writing to the given BinaryWriter.
5420
+ * @param {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest} message
5421
+ * @param {!jspb.BinaryWriter} writer
5422
+ * @suppress {unusedLocalVariables} f is only used for nested messages
5423
+ */
5424
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.serializeBinaryToWriter = function(message, writer) {
5425
+ var f = undefined;
5426
+ f = message.getData();
5427
+ if (f != null) {
5428
+ writer.writeMessage(
5429
+ 1,
5430
+ f,
5431
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.serializeBinaryToWriter
5432
+ );
5433
+ }
5434
+ };
5435
+
5436
+
5437
+ /**
5438
+ * optional ResetSettledTransactionRequest data = 1;
5439
+ * @return {?proto.sniippaymentgatewayapi.ResetSettledTransactionRequest}
5440
+ */
5441
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.prototype.getData = function() {
5442
+ return /** @type{?proto.sniippaymentgatewayapi.ResetSettledTransactionRequest} */ (
5443
+ jspb.Message.getWrapperField(this, proto.sniippaymentgatewayapi.ResetSettledTransactionRequest, 1));
5444
+ };
5445
+
5446
+
5447
+ /**
5448
+ * @param {?proto.sniippaymentgatewayapi.ResetSettledTransactionRequest|undefined} value
5449
+ * @return {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest} returns this
5450
+ */
5451
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.prototype.setData = function(value) {
5452
+ return jspb.Message.setWrapperField(this, 1, value);
5453
+ };
5454
+
5455
+
5456
+ /**
5457
+ * Clears the message field making it undefined.
5458
+ * @return {!proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest} returns this
5459
+ */
5460
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.prototype.clearData = function() {
5461
+ return this.setData(undefined);
5462
+ };
5463
+
5464
+
5465
+ /**
5466
+ * Returns whether this field is set.
5467
+ * @return {boolean}
5468
+ */
5469
+ proto.sniippaymentgatewayapi.InternalResetSettledTransactionRequest.prototype.hasData = function() {
5470
+ return jspb.Message.getField(this, 1) != null;
5471
+ };
5472
+
5473
+
5474
+
5475
+
5476
+
5282
5477
  if (jspb.Message.GENERATE_TO_OBJECT) {
5283
5478
  /**
5284
5479
  * Creates an object representation of this proto.
@@ -13778,6 +13973,166 @@ proto.sniippaymentgatewayapi.RefundSuccessfulRequest.prototype.hasData = functio
13778
13973
 
13779
13974
 
13780
13975
 
13976
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13977
+ /**
13978
+ * Creates an object representation of this proto.
13979
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13980
+ * Optional fields that are not set will be set to undefined.
13981
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13982
+ * For the list of reserved names please see:
13983
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13984
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13985
+ * JSPB instance for transitional soy proto support:
13986
+ * http://goto/soy-param-migration
13987
+ * @return {!Object}
13988
+ */
13989
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.prototype.toObject = function(opt_includeInstance) {
13990
+ return proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.toObject(opt_includeInstance, this);
13991
+ };
13992
+
13993
+
13994
+ /**
13995
+ * Static version of the {@see toObject} method.
13996
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13997
+ * the JSPB instance for transitional soy proto support:
13998
+ * http://goto/soy-param-migration
13999
+ * @param {!proto.sniippaymentgatewayapi.ResetSettledTransactionRequest} msg The msg instance to transform.
14000
+ * @return {!Object}
14001
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14002
+ */
14003
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.toObject = function(includeInstance, msg) {
14004
+ var f, obj = {
14005
+ transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
14006
+ userid: jspb.Message.getFieldWithDefault(msg, 2, 0)
14007
+ };
14008
+
14009
+ if (includeInstance) {
14010
+ obj.$jspbMessageInstance = msg;
14011
+ }
14012
+ return obj;
14013
+ };
14014
+ }
14015
+
14016
+
14017
+ /**
14018
+ * Deserializes binary data (in protobuf wire format).
14019
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
14020
+ * @return {!proto.sniippaymentgatewayapi.ResetSettledTransactionRequest}
14021
+ */
14022
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.deserializeBinary = function(bytes) {
14023
+ var reader = new jspb.BinaryReader(bytes);
14024
+ var msg = new proto.sniippaymentgatewayapi.ResetSettledTransactionRequest;
14025
+ return proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.deserializeBinaryFromReader(msg, reader);
14026
+ };
14027
+
14028
+
14029
+ /**
14030
+ * Deserializes binary data (in protobuf wire format) from the
14031
+ * given reader into the given message object.
14032
+ * @param {!proto.sniippaymentgatewayapi.ResetSettledTransactionRequest} msg The message object to deserialize into.
14033
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
14034
+ * @return {!proto.sniippaymentgatewayapi.ResetSettledTransactionRequest}
14035
+ */
14036
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.deserializeBinaryFromReader = function(msg, reader) {
14037
+ while (reader.nextField()) {
14038
+ if (reader.isEndGroup()) {
14039
+ break;
14040
+ }
14041
+ var field = reader.getFieldNumber();
14042
+ switch (field) {
14043
+ case 1:
14044
+ var value = /** @type {number} */ (reader.readInt64());
14045
+ msg.setTransactionid(value);
14046
+ break;
14047
+ case 2:
14048
+ var value = /** @type {number} */ (reader.readInt64());
14049
+ msg.setUserid(value);
14050
+ break;
14051
+ default:
14052
+ reader.skipField();
14053
+ break;
14054
+ }
14055
+ }
14056
+ return msg;
14057
+ };
14058
+
14059
+
14060
+ /**
14061
+ * Serializes the message to binary data (in protobuf wire format).
14062
+ * @return {!Uint8Array}
14063
+ */
14064
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.prototype.serializeBinary = function() {
14065
+ var writer = new jspb.BinaryWriter();
14066
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.serializeBinaryToWriter(this, writer);
14067
+ return writer.getResultBuffer();
14068
+ };
14069
+
14070
+
14071
+ /**
14072
+ * Serializes the given message to binary data (in protobuf wire
14073
+ * format), writing to the given BinaryWriter.
14074
+ * @param {!proto.sniippaymentgatewayapi.ResetSettledTransactionRequest} message
14075
+ * @param {!jspb.BinaryWriter} writer
14076
+ * @suppress {unusedLocalVariables} f is only used for nested messages
14077
+ */
14078
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.serializeBinaryToWriter = function(message, writer) {
14079
+ var f = undefined;
14080
+ f = message.getTransactionid();
14081
+ if (f !== 0) {
14082
+ writer.writeInt64(
14083
+ 1,
14084
+ f
14085
+ );
14086
+ }
14087
+ f = message.getUserid();
14088
+ if (f !== 0) {
14089
+ writer.writeInt64(
14090
+ 2,
14091
+ f
14092
+ );
14093
+ }
14094
+ };
14095
+
14096
+
14097
+ /**
14098
+ * optional int64 transactionId = 1;
14099
+ * @return {number}
14100
+ */
14101
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.prototype.getTransactionid = function() {
14102
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
14103
+ };
14104
+
14105
+
14106
+ /**
14107
+ * @param {number} value
14108
+ * @return {!proto.sniippaymentgatewayapi.ResetSettledTransactionRequest} returns this
14109
+ */
14110
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.prototype.setTransactionid = function(value) {
14111
+ return jspb.Message.setProto3IntField(this, 1, value);
14112
+ };
14113
+
14114
+
14115
+ /**
14116
+ * optional int64 userId = 2;
14117
+ * @return {number}
14118
+ */
14119
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.prototype.getUserid = function() {
14120
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
14121
+ };
14122
+
14123
+
14124
+ /**
14125
+ * @param {number} value
14126
+ * @return {!proto.sniippaymentgatewayapi.ResetSettledTransactionRequest} returns this
14127
+ */
14128
+ proto.sniippaymentgatewayapi.ResetSettledTransactionRequest.prototype.setUserid = function(value) {
14129
+ return jspb.Message.setProto3IntField(this, 2, value);
14130
+ };
14131
+
14132
+
14133
+
14134
+
14135
+
13781
14136
  if (jspb.Message.GENERATE_TO_OBJECT) {
13782
14137
  /**
13783
14138
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-gateway-service-client-grpcweb",
3
- "version": "24.6.5652",
3
+ "version": "24.6.5669",
4
4
  "description": "payment-gateway-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",