@sniipwebmaster/transaction-service-client-grpcweb 0.2.3935 → 0.2.3961

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.
@@ -1080,6 +1080,61 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.post
1080
1080
  };
1081
1081
 
1082
1082
 
1083
+ /**
1084
+ * @const
1085
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
1086
+ * !proto.google.protobuf.Empty,
1087
+ * !proto.sniiptransactionapi.ResponseCode>}
1088
+ */
1089
+ const methodInfo_SniipTransactionAPIService_RetrieveFraudRisks = new grpc.web.AbstractClientBase.MethodInfo(
1090
+ proto.sniiptransactionapi.ResponseCode,
1091
+ /** @param {!proto.google.protobuf.Empty} request */
1092
+ function(request) {
1093
+ return request.serializeBinary();
1094
+ },
1095
+ proto.sniiptransactionapi.ResponseCode.deserializeBinary
1096
+ );
1097
+
1098
+
1099
+ /**
1100
+ * @param {!proto.google.protobuf.Empty} request The
1101
+ * request proto
1102
+ * @param {?Object<string, string>} metadata User defined
1103
+ * call metadata
1104
+ * @param {function(?grpc.web.Error, ?proto.sniiptransactionapi.ResponseCode)}
1105
+ * callback The callback function(error, response)
1106
+ * @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.ResponseCode>|undefined}
1107
+ * The XHR Node Readable Stream
1108
+ */
1109
+ proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.retrieveFraudRisks =
1110
+ function(request, metadata, callback) {
1111
+ return this.client_.rpcCall(this.hostname_ +
1112
+ '/sniiptransactionapi.SniipTransactionAPIService/RetrieveFraudRisks',
1113
+ request,
1114
+ metadata || {},
1115
+ methodInfo_SniipTransactionAPIService_RetrieveFraudRisks,
1116
+ callback);
1117
+ };
1118
+
1119
+
1120
+ /**
1121
+ * @param {!proto.google.protobuf.Empty} request The
1122
+ * request proto
1123
+ * @param {?Object<string, string>} metadata User defined
1124
+ * call metadata
1125
+ * @return {!Promise<!proto.sniiptransactionapi.ResponseCode>}
1126
+ * A native promise that resolves to the response
1127
+ */
1128
+ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.retrieveFraudRisks =
1129
+ function(request, metadata) {
1130
+ return this.client_.unaryCall(this.hostname_ +
1131
+ '/sniiptransactionapi.SniipTransactionAPIService/RetrieveFraudRisks',
1132
+ request,
1133
+ metadata || {},
1134
+ methodInfo_SniipTransactionAPIService_RetrieveFraudRisks);
1135
+ };
1136
+
1137
+
1083
1138
  /**
1084
1139
  * @const
1085
1140
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
@@ -7082,7 +7082,8 @@ proto.sniiptransactionapi.PayBillInternalResponse.prototype.toObject = function(
7082
7082
  proto.sniiptransactionapi.PayBillInternalResponse.toObject = function(includeInstance, msg) {
7083
7083
  var f, obj = {
7084
7084
  transactionid: jspb.Message.getFieldWithDefault(msg, 1, 0),
7085
- responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f)
7085
+ responsecode: (f = msg.getResponsecode()) && proto.sniiptransactionapi.ResponseCode.toObject(includeInstance, f),
7086
+ transactionstatus: jspb.Message.getFieldWithDefault(msg, 3, "")
7086
7087
  };
7087
7088
 
7088
7089
  if (includeInstance) {
@@ -7128,6 +7129,10 @@ proto.sniiptransactionapi.PayBillInternalResponse.deserializeBinaryFromReader =
7128
7129
  reader.readMessage(value,proto.sniiptransactionapi.ResponseCode.deserializeBinaryFromReader);
7129
7130
  msg.setResponsecode(value);
7130
7131
  break;
7132
+ case 3:
7133
+ var value = /** @type {string} */ (reader.readString());
7134
+ msg.setTransactionstatus(value);
7135
+ break;
7131
7136
  default:
7132
7137
  reader.skipField();
7133
7138
  break;
@@ -7172,6 +7177,13 @@ proto.sniiptransactionapi.PayBillInternalResponse.serializeBinaryToWriter = func
7172
7177
  proto.sniiptransactionapi.ResponseCode.serializeBinaryToWriter
7173
7178
  );
7174
7179
  }
7180
+ f = message.getTransactionstatus();
7181
+ if (f.length > 0) {
7182
+ writer.writeString(
7183
+ 3,
7184
+ f
7185
+ );
7186
+ }
7175
7187
  };
7176
7188
 
7177
7189
 
@@ -7220,6 +7232,21 @@ proto.sniiptransactionapi.PayBillInternalResponse.prototype.hasResponsecode = fu
7220
7232
  };
7221
7233
 
7222
7234
 
7235
+ /**
7236
+ * optional string transactionStatus = 3;
7237
+ * @return {string}
7238
+ */
7239
+ proto.sniiptransactionapi.PayBillInternalResponse.prototype.getTransactionstatus = function() {
7240
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
7241
+ };
7242
+
7243
+
7244
+ /** @param {string} value */
7245
+ proto.sniiptransactionapi.PayBillInternalResponse.prototype.setTransactionstatus = function(value) {
7246
+ jspb.Message.setProto3StringField(this, 3, value);
7247
+ };
7248
+
7249
+
7223
7250
 
7224
7251
  /**
7225
7252
  * Generated by JsPbCodeGenerator.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb",
3
- "version": "0.2.3935",
3
+ "version": "0.2.3961",
4
4
  "description": "transaction-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",