@sniipwebmaster/bill-service-client-grpcweb 23.4.11146 → 23.4.11176

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.
@@ -394,6 +394,166 @@ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.cleanOldAnonymousB
394
394
  };
395
395
 
396
396
 
397
+ /**
398
+ * @const
399
+ * @type {!grpc.web.MethodDescriptor<
400
+ * !proto.sniipbillapi.ConvertIntoBillToPayRequest,
401
+ * !proto.sniipbillapi.BillCreateResponse>}
402
+ */
403
+ const methodDescriptor_SniipBillAPIService_ConvertIntoBillToPay = new grpc.web.MethodDescriptor(
404
+ '/sniipbillapi.SniipBillAPIService/ConvertIntoBillToPay',
405
+ grpc.web.MethodType.UNARY,
406
+ proto.sniipbillapi.ConvertIntoBillToPayRequest,
407
+ proto.sniipbillapi.BillCreateResponse,
408
+ /**
409
+ * @param {!proto.sniipbillapi.ConvertIntoBillToPayRequest} request
410
+ * @return {!Uint8Array}
411
+ */
412
+ function(request) {
413
+ return request.serializeBinary();
414
+ },
415
+ proto.sniipbillapi.BillCreateResponse.deserializeBinary
416
+ );
417
+
418
+
419
+ /**
420
+ * @const
421
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
422
+ * !proto.sniipbillapi.ConvertIntoBillToPayRequest,
423
+ * !proto.sniipbillapi.BillCreateResponse>}
424
+ */
425
+ const methodInfo_SniipBillAPIService_ConvertIntoBillToPay = new grpc.web.AbstractClientBase.MethodInfo(
426
+ proto.sniipbillapi.BillCreateResponse,
427
+ /**
428
+ * @param {!proto.sniipbillapi.ConvertIntoBillToPayRequest} request
429
+ * @return {!Uint8Array}
430
+ */
431
+ function(request) {
432
+ return request.serializeBinary();
433
+ },
434
+ proto.sniipbillapi.BillCreateResponse.deserializeBinary
435
+ );
436
+
437
+
438
+ /**
439
+ * @param {!proto.sniipbillapi.ConvertIntoBillToPayRequest} request The
440
+ * request proto
441
+ * @param {?Object<string, string>} metadata User defined
442
+ * call metadata
443
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.BillCreateResponse)}
444
+ * callback The callback function(error, response)
445
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.BillCreateResponse>|undefined}
446
+ * The XHR Node Readable Stream
447
+ */
448
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.convertIntoBillToPay =
449
+ function(request, metadata, callback) {
450
+ return this.client_.rpcCall(this.hostname_ +
451
+ '/sniipbillapi.SniipBillAPIService/ConvertIntoBillToPay',
452
+ request,
453
+ metadata || {},
454
+ methodDescriptor_SniipBillAPIService_ConvertIntoBillToPay,
455
+ callback);
456
+ };
457
+
458
+
459
+ /**
460
+ * @param {!proto.sniipbillapi.ConvertIntoBillToPayRequest} request The
461
+ * request proto
462
+ * @param {?Object<string, string>} metadata User defined
463
+ * call metadata
464
+ * @return {!Promise<!proto.sniipbillapi.BillCreateResponse>}
465
+ * Promise that resolves to the response
466
+ */
467
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.convertIntoBillToPay =
468
+ function(request, metadata) {
469
+ return this.client_.unaryCall(this.hostname_ +
470
+ '/sniipbillapi.SniipBillAPIService/ConvertIntoBillToPay',
471
+ request,
472
+ metadata || {},
473
+ methodDescriptor_SniipBillAPIService_ConvertIntoBillToPay);
474
+ };
475
+
476
+
477
+ /**
478
+ * @const
479
+ * @type {!grpc.web.MethodDescriptor<
480
+ * !proto.sniipbillapi.ConvertIntoBillToPayInternalRequest,
481
+ * !proto.sniipbillapi.BillCreateResponse>}
482
+ */
483
+ const methodDescriptor_SniipBillAPIService_ConvertIntoBillToPayInternal = new grpc.web.MethodDescriptor(
484
+ '/sniipbillapi.SniipBillAPIService/ConvertIntoBillToPayInternal',
485
+ grpc.web.MethodType.UNARY,
486
+ proto.sniipbillapi.ConvertIntoBillToPayInternalRequest,
487
+ proto.sniipbillapi.BillCreateResponse,
488
+ /**
489
+ * @param {!proto.sniipbillapi.ConvertIntoBillToPayInternalRequest} request
490
+ * @return {!Uint8Array}
491
+ */
492
+ function(request) {
493
+ return request.serializeBinary();
494
+ },
495
+ proto.sniipbillapi.BillCreateResponse.deserializeBinary
496
+ );
497
+
498
+
499
+ /**
500
+ * @const
501
+ * @type {!grpc.web.AbstractClientBase.MethodInfo<
502
+ * !proto.sniipbillapi.ConvertIntoBillToPayInternalRequest,
503
+ * !proto.sniipbillapi.BillCreateResponse>}
504
+ */
505
+ const methodInfo_SniipBillAPIService_ConvertIntoBillToPayInternal = new grpc.web.AbstractClientBase.MethodInfo(
506
+ proto.sniipbillapi.BillCreateResponse,
507
+ /**
508
+ * @param {!proto.sniipbillapi.ConvertIntoBillToPayInternalRequest} request
509
+ * @return {!Uint8Array}
510
+ */
511
+ function(request) {
512
+ return request.serializeBinary();
513
+ },
514
+ proto.sniipbillapi.BillCreateResponse.deserializeBinary
515
+ );
516
+
517
+
518
+ /**
519
+ * @param {!proto.sniipbillapi.ConvertIntoBillToPayInternalRequest} request The
520
+ * request proto
521
+ * @param {?Object<string, string>} metadata User defined
522
+ * call metadata
523
+ * @param {function(?grpc.web.Error, ?proto.sniipbillapi.BillCreateResponse)}
524
+ * callback The callback function(error, response)
525
+ * @return {!grpc.web.ClientReadableStream<!proto.sniipbillapi.BillCreateResponse>|undefined}
526
+ * The XHR Node Readable Stream
527
+ */
528
+ proto.sniipbillapi.SniipBillAPIServiceClient.prototype.convertIntoBillToPayInternal =
529
+ function(request, metadata, callback) {
530
+ return this.client_.rpcCall(this.hostname_ +
531
+ '/sniipbillapi.SniipBillAPIService/ConvertIntoBillToPayInternal',
532
+ request,
533
+ metadata || {},
534
+ methodDescriptor_SniipBillAPIService_ConvertIntoBillToPayInternal,
535
+ callback);
536
+ };
537
+
538
+
539
+ /**
540
+ * @param {!proto.sniipbillapi.ConvertIntoBillToPayInternalRequest} request The
541
+ * request proto
542
+ * @param {?Object<string, string>} metadata User defined
543
+ * call metadata
544
+ * @return {!Promise<!proto.sniipbillapi.BillCreateResponse>}
545
+ * Promise that resolves to the response
546
+ */
547
+ proto.sniipbillapi.SniipBillAPIServicePromiseClient.prototype.convertIntoBillToPayInternal =
548
+ function(request, metadata) {
549
+ return this.client_.unaryCall(this.hostname_ +
550
+ '/sniipbillapi.SniipBillAPIService/ConvertIntoBillToPayInternal',
551
+ request,
552
+ metadata || {},
553
+ methodDescriptor_SniipBillAPIService_ConvertIntoBillToPayInternal);
554
+ };
555
+
556
+
397
557
  /**
398
558
  * @const
399
559
  * @type {!grpc.web.MethodDescriptor<