@sniipwebmaster/payment-methods-client-grpcweb 0.2.259 → 0.2.283
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.
- package/dependancies/service_grpc_web_pb.js +32 -32
- package/dependancies/service_pb.js +934 -1008
- package/package.json +1 -1
|
@@ -415,52 +415,52 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
415
415
|
/**
|
|
416
416
|
* @const
|
|
417
417
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
418
|
-
* !proto.sniippaymentmethodsserviceapi.
|
|
419
|
-
* !proto.sniippaymentmethodsserviceapi.
|
|
418
|
+
* !proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest,
|
|
419
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
|
|
420
420
|
*/
|
|
421
|
-
const
|
|
422
|
-
proto.sniippaymentmethodsserviceapi.
|
|
423
|
-
/** @param {!proto.sniippaymentmethodsserviceapi.
|
|
421
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodForPayment = new grpc.web.AbstractClientBase.MethodInfo(
|
|
422
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse,
|
|
423
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} request */
|
|
424
424
|
function(request) {
|
|
425
425
|
return request.serializeBinary();
|
|
426
426
|
},
|
|
427
|
-
proto.sniippaymentmethodsserviceapi.
|
|
427
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse.deserializeBinary
|
|
428
428
|
);
|
|
429
429
|
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
432
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} request The
|
|
433
433
|
* request proto
|
|
434
434
|
* @param {!Object<string, string>} metadata User defined
|
|
435
435
|
* call metadata
|
|
436
|
-
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.
|
|
436
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse)}
|
|
437
437
|
* callback The callback function(error, response)
|
|
438
|
-
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.
|
|
438
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>|undefined}
|
|
439
439
|
* The XHR Node Readable Stream
|
|
440
440
|
*/
|
|
441
|
-
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.
|
|
441
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethodForPayment =
|
|
442
442
|
function(request, metadata, callback) {
|
|
443
443
|
return this.client_.rpcCall(this.hostname_ +
|
|
444
|
-
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/
|
|
444
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethodForPayment',
|
|
445
445
|
request,
|
|
446
446
|
metadata,
|
|
447
|
-
|
|
447
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethodForPayment,
|
|
448
448
|
callback);
|
|
449
449
|
};
|
|
450
450
|
|
|
451
451
|
|
|
452
452
|
/**
|
|
453
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
453
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodForPaymentRequest} request The
|
|
454
454
|
* request proto
|
|
455
455
|
* @param {!Object<string, string>} metadata User defined
|
|
456
456
|
* call metadata
|
|
457
|
-
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.
|
|
457
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodForPaymentResponse>}
|
|
458
458
|
* The XHR Node Readable Stream
|
|
459
459
|
*/
|
|
460
|
-
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.
|
|
460
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethodForPayment =
|
|
461
461
|
function(request, metadata) {
|
|
462
462
|
return new Promise((resolve, reject) => {
|
|
463
|
-
this.delegateClient_.
|
|
463
|
+
this.delegateClient_.getPaymentMethodForPayment(
|
|
464
464
|
request, metadata, (error, response) => {
|
|
465
465
|
error ? reject(error) : resolve(response);
|
|
466
466
|
});
|
|
@@ -471,52 +471,52 @@ proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseC
|
|
|
471
471
|
/**
|
|
472
472
|
* @const
|
|
473
473
|
* @type {!grpc.web.AbstractClientBase.MethodInfo<
|
|
474
|
-
* !proto.sniippaymentmethodsserviceapi.
|
|
475
|
-
* !proto.sniippaymentmethodsserviceapi.
|
|
474
|
+
* !proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest,
|
|
475
|
+
* !proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
476
476
|
*/
|
|
477
|
-
const
|
|
478
|
-
proto.sniippaymentmethodsserviceapi.
|
|
479
|
-
/** @param {!proto.sniippaymentmethodsserviceapi.
|
|
477
|
+
const methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethods = new grpc.web.AbstractClientBase.MethodInfo(
|
|
478
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse,
|
|
479
|
+
/** @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request */
|
|
480
480
|
function(request) {
|
|
481
481
|
return request.serializeBinary();
|
|
482
482
|
},
|
|
483
|
-
proto.sniippaymentmethodsserviceapi.
|
|
483
|
+
proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse.deserializeBinary
|
|
484
484
|
);
|
|
485
485
|
|
|
486
486
|
|
|
487
487
|
/**
|
|
488
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
488
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request The
|
|
489
489
|
* request proto
|
|
490
490
|
* @param {!Object<string, string>} metadata User defined
|
|
491
491
|
* call metadata
|
|
492
|
-
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.
|
|
492
|
+
* @param {function(?grpc.web.Error, ?proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse)}
|
|
493
493
|
* callback The callback function(error, response)
|
|
494
|
-
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.
|
|
494
|
+
* @return {!grpc.web.ClientReadableStream<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>|undefined}
|
|
495
495
|
* The XHR Node Readable Stream
|
|
496
496
|
*/
|
|
497
|
-
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.
|
|
497
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServiceClient.prototype.getPaymentMethods =
|
|
498
498
|
function(request, metadata, callback) {
|
|
499
499
|
return this.client_.rpcCall(this.hostname_ +
|
|
500
|
-
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/
|
|
500
|
+
'/sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIService/GetPaymentMethods',
|
|
501
501
|
request,
|
|
502
502
|
metadata,
|
|
503
|
-
|
|
503
|
+
methodInfo_SniipPaymentMethodsServiceAPIService_GetPaymentMethods,
|
|
504
504
|
callback);
|
|
505
505
|
};
|
|
506
506
|
|
|
507
507
|
|
|
508
508
|
/**
|
|
509
|
-
* @param {!proto.sniippaymentmethodsserviceapi.
|
|
509
|
+
* @param {!proto.sniippaymentmethodsserviceapi.GetPaymentMethodsRequest} request The
|
|
510
510
|
* request proto
|
|
511
511
|
* @param {!Object<string, string>} metadata User defined
|
|
512
512
|
* call metadata
|
|
513
|
-
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.
|
|
513
|
+
* @return {!Promise<!proto.sniippaymentmethodsserviceapi.PaymentMethodsResponse>}
|
|
514
514
|
* The XHR Node Readable Stream
|
|
515
515
|
*/
|
|
516
|
-
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.
|
|
516
|
+
proto.sniippaymentmethodsserviceapi.SniipPaymentMethodsServiceAPIServicePromiseClient.prototype.getPaymentMethods =
|
|
517
517
|
function(request, metadata) {
|
|
518
518
|
return new Promise((resolve, reject) => {
|
|
519
|
-
this.delegateClient_.
|
|
519
|
+
this.delegateClient_.getPaymentMethods(
|
|
520
520
|
request, metadata, (error, response) => {
|
|
521
521
|
error ? reject(error) : resolve(response);
|
|
522
522
|
});
|