@sniipwebmaster/checkout-service-client-grpcweb 25.11.146 → 26.1.195
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 +124 -0
- package/dependancies/service_pb.js +6965 -1381
- package/package.json +1 -1
|
@@ -24,6 +24,8 @@ var google_api_annotations_pb = require('./google/api/annotations_pb.js')
|
|
|
24
24
|
|
|
25
25
|
var google_protobuf_empty_pb = require('google-protobuf/google/protobuf/empty_pb.js')
|
|
26
26
|
|
|
27
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js')
|
|
28
|
+
|
|
27
29
|
var google_type_decimal_pb = require('./google/type/decimal_pb.js')
|
|
28
30
|
|
|
29
31
|
var protoc$gen$openapiv2_options_annotations_pb = require('./protoc-gen-openapiv2/options/annotations_pb.js')
|
|
@@ -387,5 +389,127 @@ proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.getTransaction =
|
|
|
387
389
|
};
|
|
388
390
|
|
|
389
391
|
|
|
392
|
+
/**
|
|
393
|
+
* @const
|
|
394
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
395
|
+
* !proto.checkoutserviceapi.WebhookRequest,
|
|
396
|
+
* !proto.checkoutserviceapi.WebhookResponse>}
|
|
397
|
+
*/
|
|
398
|
+
const methodDescriptor_CheckoutService_HandleWebhook = new grpc.web.MethodDescriptor(
|
|
399
|
+
'/checkoutserviceapi.CheckoutService/HandleWebhook',
|
|
400
|
+
grpc.web.MethodType.UNARY,
|
|
401
|
+
proto.checkoutserviceapi.WebhookRequest,
|
|
402
|
+
proto.checkoutserviceapi.WebhookResponse,
|
|
403
|
+
/**
|
|
404
|
+
* @param {!proto.checkoutserviceapi.WebhookRequest} request
|
|
405
|
+
* @return {!Uint8Array}
|
|
406
|
+
*/
|
|
407
|
+
function(request) {
|
|
408
|
+
return request.serializeBinary();
|
|
409
|
+
},
|
|
410
|
+
proto.checkoutserviceapi.WebhookResponse.deserializeBinary
|
|
411
|
+
);
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
/**
|
|
415
|
+
* @param {!proto.checkoutserviceapi.WebhookRequest} request The
|
|
416
|
+
* request proto
|
|
417
|
+
* @param {?Object<string, string>} metadata User defined
|
|
418
|
+
* call metadata
|
|
419
|
+
* @param {function(?grpc.web.RpcError, ?proto.checkoutserviceapi.WebhookResponse)}
|
|
420
|
+
* callback The callback function(error, response)
|
|
421
|
+
* @return {!grpc.web.ClientReadableStream<!proto.checkoutserviceapi.WebhookResponse>|undefined}
|
|
422
|
+
* The XHR Node Readable Stream
|
|
423
|
+
*/
|
|
424
|
+
proto.checkoutserviceapi.CheckoutServiceClient.prototype.handleWebhook =
|
|
425
|
+
function(request, metadata, callback) {
|
|
426
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
427
|
+
'/checkoutserviceapi.CheckoutService/HandleWebhook',
|
|
428
|
+
request,
|
|
429
|
+
metadata || {},
|
|
430
|
+
methodDescriptor_CheckoutService_HandleWebhook,
|
|
431
|
+
callback);
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* @param {!proto.checkoutserviceapi.WebhookRequest} request The
|
|
437
|
+
* request proto
|
|
438
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
439
|
+
* call metadata
|
|
440
|
+
* @return {!Promise<!proto.checkoutserviceapi.WebhookResponse>}
|
|
441
|
+
* Promise that resolves to the response
|
|
442
|
+
*/
|
|
443
|
+
proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.handleWebhook =
|
|
444
|
+
function(request, metadata) {
|
|
445
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
446
|
+
'/checkoutserviceapi.CheckoutService/HandleWebhook',
|
|
447
|
+
request,
|
|
448
|
+
metadata || {},
|
|
449
|
+
methodDescriptor_CheckoutService_HandleWebhook);
|
|
450
|
+
};
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
/**
|
|
454
|
+
* @const
|
|
455
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
456
|
+
* !proto.checkoutserviceapi.CardMetadataRequest,
|
|
457
|
+
* !proto.checkoutserviceapi.CardMetadataResponse>}
|
|
458
|
+
*/
|
|
459
|
+
const methodDescriptor_CheckoutService_GetCardMetadata = new grpc.web.MethodDescriptor(
|
|
460
|
+
'/checkoutserviceapi.CheckoutService/GetCardMetadata',
|
|
461
|
+
grpc.web.MethodType.UNARY,
|
|
462
|
+
proto.checkoutserviceapi.CardMetadataRequest,
|
|
463
|
+
proto.checkoutserviceapi.CardMetadataResponse,
|
|
464
|
+
/**
|
|
465
|
+
* @param {!proto.checkoutserviceapi.CardMetadataRequest} request
|
|
466
|
+
* @return {!Uint8Array}
|
|
467
|
+
*/
|
|
468
|
+
function(request) {
|
|
469
|
+
return request.serializeBinary();
|
|
470
|
+
},
|
|
471
|
+
proto.checkoutserviceapi.CardMetadataResponse.deserializeBinary
|
|
472
|
+
);
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* @param {!proto.checkoutserviceapi.CardMetadataRequest} request The
|
|
477
|
+
* request proto
|
|
478
|
+
* @param {?Object<string, string>} metadata User defined
|
|
479
|
+
* call metadata
|
|
480
|
+
* @param {function(?grpc.web.RpcError, ?proto.checkoutserviceapi.CardMetadataResponse)}
|
|
481
|
+
* callback The callback function(error, response)
|
|
482
|
+
* @return {!grpc.web.ClientReadableStream<!proto.checkoutserviceapi.CardMetadataResponse>|undefined}
|
|
483
|
+
* The XHR Node Readable Stream
|
|
484
|
+
*/
|
|
485
|
+
proto.checkoutserviceapi.CheckoutServiceClient.prototype.getCardMetadata =
|
|
486
|
+
function(request, metadata, callback) {
|
|
487
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
488
|
+
'/checkoutserviceapi.CheckoutService/GetCardMetadata',
|
|
489
|
+
request,
|
|
490
|
+
metadata || {},
|
|
491
|
+
methodDescriptor_CheckoutService_GetCardMetadata,
|
|
492
|
+
callback);
|
|
493
|
+
};
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* @param {!proto.checkoutserviceapi.CardMetadataRequest} request The
|
|
498
|
+
* request proto
|
|
499
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
500
|
+
* call metadata
|
|
501
|
+
* @return {!Promise<!proto.checkoutserviceapi.CardMetadataResponse>}
|
|
502
|
+
* Promise that resolves to the response
|
|
503
|
+
*/
|
|
504
|
+
proto.checkoutserviceapi.CheckoutServicePromiseClient.prototype.getCardMetadata =
|
|
505
|
+
function(request, metadata) {
|
|
506
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
507
|
+
'/checkoutserviceapi.CheckoutService/GetCardMetadata',
|
|
508
|
+
request,
|
|
509
|
+
metadata || {},
|
|
510
|
+
methodDescriptor_CheckoutService_GetCardMetadata);
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
|
|
390
514
|
module.exports = proto.checkoutserviceapi;
|
|
391
515
|
|