@sniipwebmaster/payment-methods-client-grpcweb 0.2.1468 → 0.2.1486

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.
@@ -915,6 +915,61 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
915
915
  };
916
916
 
917
917
 
918
+ /**
919
+ * @const
920
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
921
+ * !proto.google.protobuf.Empty,
922
+ * !proto.sniippaymentmethodsserviceapi.ResponseCode>}
923
+ */
924
+ const methodInfo_SniipPaymentMethodsServiceAPIService_SendPaymentMethodExpiredNotification = new grpc.web.AbstractClientBase.MethodInfo(
925
+ proto.sniippaymentmethodsserviceapi.ResponseCode,
926
+ /** @param {!proto.google.protobuf.Empty} request */
927
+ function(request) {
928
+ return request.serializeBinary();
929
+ },
930
+ proto.sniippaymentmethodsserviceapi.ResponseCode.deserializeBinary
931
+ );
932
+
933
+
934
+ /**
935
+ * @param {!proto.google.protobuf.Empty} request The
936
+ * request proto
937
+ * @param {?Object<string, string>} metadata User defined
938
+ * call metadata
939
+ * @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.ResponseCode)}
940
+ * callback The callback function(error, response)
941
+ * @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.ResponseCode>|undefined}
942
+ * The XHR Node Readable Stream
943
+ */
944
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.sendPaymentMethodExpiredNotification =
945
+ function(request, metadata, callback) {
946
+ return this.client_.rpcCall(this.hostname_ +
947
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/SendPaymentMethodExpiredNotification',
948
+ request,
949
+ metadata || {},
950
+ methodInfo_SniipPaymentMethodsServiceAPIService_SendPaymentMethodExpiredNotification,
951
+ callback);
952
+ };
953
+
954
+
955
+ /**
956
+ * @param {!proto.google.protobuf.Empty} request The
957
+ * request proto
958
+ * @param {?Object<string, string>} metadata User defined
959
+ * call metadata
960
+ * @return {!Promise<!proto.sniippaymentmethodsserviceapi.ResponseCode>}
961
+ * A native promise that resolves to the response
962
+ */
963
+ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.sendPaymentMethodExpiredNotification =
964
+ function(request, metadata) {
965
+ return this.client_.unaryCall(this.hostname_ +
966
+ '/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/SendPaymentMethodExpiredNotification',
967
+ request,
968
+ metadata || {},
969
+ methodInfo_SniipPaymentMethodsServiceAPIService_SendPaymentMethodExpiredNotification);
970
+ };
971
+
972
+
918
973
  /**
919
974
  * @const
920
975
  * @type {!grpc.web.AbstractClientBase.MethodInfo<
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/payment-methods-client-grpcweb",
3
- "version": "0.2.1468",
3
+ "version": "0.2.1486",
4
4
  "description": "payment-methods-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",