@sniipwebmaster/transaction-service-client-grpcweb 26.9.15696 → 26.9.15722

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.
@@ -927,6 +927,62 @@ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.expo
927
927
  };
928
928
 
929
929
 
930
+ /**
931
+ * @const
932
+ * @type {!grpc.web.MethodDescriptor<
933
+ * !proto.sniiptransactionapi.ExportReceiptsForPeriodRequest,
934
+ * !proto.sniiptransactionapi.FileDownloadResponseChunk>}
935
+ */
936
+ const methodDescriptor_SniipTransactionAPIService_ExportReceiptsForPeriod = new grpc.web.MethodDescriptor(
937
+ '/sniiptransactionapi.SniipTransactionAPIService/ExportReceiptsForPeriod',
938
+ grpc.web.MethodType.SERVER_STREAMING,
939
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest,
940
+ proto.sniiptransactionapi.FileDownloadResponseChunk,
941
+ /**
942
+ * @param {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} request
943
+ * @return {!Uint8Array}
944
+ */
945
+ function(request) {
946
+ return request.serializeBinary();
947
+ },
948
+ proto.sniiptransactionapi.FileDownloadResponseChunk.deserializeBinary
949
+ );
950
+
951
+
952
+ /**
953
+ * @param {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} request The request proto
954
+ * @param {?Object<string, string>=} metadata User defined
955
+ * call metadata
956
+ * @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.FileDownloadResponseChunk>}
957
+ * The XHR Node Readable Stream
958
+ */
959
+ proto.sniiptransactionapi.SniipTransactionAPIServiceClient.prototype.exportReceiptsForPeriod =
960
+ function(request, metadata) {
961
+ return this.client_.serverStreaming(this.hostname_ +
962
+ '/sniiptransactionapi.SniipTransactionAPIService/ExportReceiptsForPeriod',
963
+ request,
964
+ metadata || {},
965
+ methodDescriptor_SniipTransactionAPIService_ExportReceiptsForPeriod);
966
+ };
967
+
968
+
969
+ /**
970
+ * @param {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} request The request proto
971
+ * @param {?Object<string, string>=} metadata User defined
972
+ * call metadata
973
+ * @return {!grpc.web.ClientReadableStream<!proto.sniiptransactionapi.FileDownloadResponseChunk>}
974
+ * The XHR Node Readable Stream
975
+ */
976
+ proto.sniiptransactionapi.SniipTransactionAPIServicePromiseClient.prototype.exportReceiptsForPeriod =
977
+ function(request, metadata) {
978
+ return this.client_.serverStreaming(this.hostname_ +
979
+ '/sniiptransactionapi.SniipTransactionAPIService/ExportReceiptsForPeriod',
980
+ request,
981
+ metadata || {},
982
+ methodDescriptor_SniipTransactionAPIService_ExportReceiptsForPeriod);
983
+ };
984
+
985
+
930
986
  /**
931
987
  * @const
932
988
  * @type {!grpc.web.MethodDescriptor<
@@ -58,6 +58,7 @@ goog.exportSymbol('proto.sniiptransactionapi.DownloadCollatedBillerTransactionsC
58
58
  goog.exportSymbol('proto.sniiptransactionapi.DownloadPaymentReceiptRequest', null, global);
59
59
  goog.exportSymbol('proto.sniiptransactionapi.EmployeeInfo', null, global);
60
60
  goog.exportSymbol('proto.sniiptransactionapi.ExportReceiptsCsvForTransactionIdsRequest', null, global);
61
+ goog.exportSymbol('proto.sniiptransactionapi.ExportReceiptsForPeriodRequest', null, global);
61
62
  goog.exportSymbol('proto.sniiptransactionapi.ExportReceiptsRequest', null, global);
62
63
  goog.exportSymbol('proto.sniiptransactionapi.ExternalPaymentReceiptCreateRequest', null, global);
63
64
  goog.exportSymbol('proto.sniiptransactionapi.FailedRefundRequest', null, global);
@@ -160,6 +161,7 @@ goog.exportSymbol('proto.sniiptransactionapi.ProcessingFeesRequest', null, globa
160
161
  goog.exportSymbol('proto.sniiptransactionapi.ProcessingFeesResponse', null, global);
161
162
  goog.exportSymbol('proto.sniiptransactionapi.ReceiptDetails', null, global);
162
163
  goog.exportSymbol('proto.sniiptransactionapi.ReceiptDetailsResponse', null, global);
164
+ goog.exportSymbol('proto.sniiptransactionapi.ReceiptExportDeliveryMethod', null, global);
163
165
  goog.exportSymbol('proto.sniiptransactionapi.ReceiptExportRequest', null, global);
164
166
  goog.exportSymbol('proto.sniiptransactionapi.RefundChargebackRequest', null, global);
165
167
  goog.exportSymbol('proto.sniiptransactionapi.RefundDetailRequest', null, global);
@@ -1449,6 +1451,27 @@ if (goog.DEBUG && !COMPILED) {
1449
1451
  */
1450
1452
  proto.sniiptransactionapi.ExportReceiptsCsvForTransactionIdsRequest.displayName = 'proto.sniiptransactionapi.ExportReceiptsCsvForTransactionIdsRequest';
1451
1453
  }
1454
+ /**
1455
+ * Generated by JsPbCodeGenerator.
1456
+ * @param {Array=} opt_data Optional initial data array, typically from a
1457
+ * server response, or constructed directly in Javascript. The array is used
1458
+ * in place and becomes part of the constructed object. It is not cloned.
1459
+ * If no data is provided, the constructed object will be empty, but still
1460
+ * valid.
1461
+ * @extends {jspb.Message}
1462
+ * @constructor
1463
+ */
1464
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest = function(opt_data) {
1465
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1466
+ };
1467
+ goog.inherits(proto.sniiptransactionapi.ExportReceiptsForPeriodRequest, jspb.Message);
1468
+ if (goog.DEBUG && !COMPILED) {
1469
+ /**
1470
+ * @public
1471
+ * @override
1472
+ */
1473
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.displayName = 'proto.sniiptransactionapi.ExportReceiptsForPeriodRequest';
1474
+ }
1452
1475
  /**
1453
1476
  * Generated by JsPbCodeGenerator.
1454
1477
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -16516,6 +16539,226 @@ proto.sniiptransactionapi.ExportReceiptsCsvForTransactionIdsRequest.prototype.se
16516
16539
 
16517
16540
 
16518
16541
 
16542
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16543
+ /**
16544
+ * Creates an object representation of this proto.
16545
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16546
+ * Optional fields that are not set will be set to undefined.
16547
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16548
+ * For the list of reserved names please see:
16549
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16550
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16551
+ * JSPB instance for transitional soy proto support:
16552
+ * http://goto/soy-param-migration
16553
+ * @return {!Object}
16554
+ */
16555
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.toObject = function(opt_includeInstance) {
16556
+ return proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.toObject(opt_includeInstance, this);
16557
+ };
16558
+
16559
+
16560
+ /**
16561
+ * Static version of the {@see toObject} method.
16562
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16563
+ * the JSPB instance for transitional soy proto support:
16564
+ * http://goto/soy-param-migration
16565
+ * @param {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} msg The msg instance to transform.
16566
+ * @return {!Object}
16567
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16568
+ */
16569
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.toObject = function(includeInstance, msg) {
16570
+ var f, obj = {
16571
+ startdate: jspb.Message.getFieldWithDefault(msg, 1, ""),
16572
+ enddate: jspb.Message.getFieldWithDefault(msg, 2, ""),
16573
+ timezone: jspb.Message.getFieldWithDefault(msg, 3, ""),
16574
+ deliverymethod: jspb.Message.getFieldWithDefault(msg, 4, 0)
16575
+ };
16576
+
16577
+ if (includeInstance) {
16578
+ obj.$jspbMessageInstance = msg;
16579
+ }
16580
+ return obj;
16581
+ };
16582
+ }
16583
+
16584
+
16585
+ /**
16586
+ * Deserializes binary data (in protobuf wire format).
16587
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16588
+ * @return {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest}
16589
+ */
16590
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.deserializeBinary = function(bytes) {
16591
+ var reader = new jspb.BinaryReader(bytes);
16592
+ var msg = new proto.sniiptransactionapi.ExportReceiptsForPeriodRequest;
16593
+ return proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.deserializeBinaryFromReader(msg, reader);
16594
+ };
16595
+
16596
+
16597
+ /**
16598
+ * Deserializes binary data (in protobuf wire format) from the
16599
+ * given reader into the given message object.
16600
+ * @param {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} msg The message object to deserialize into.
16601
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16602
+ * @return {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest}
16603
+ */
16604
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.deserializeBinaryFromReader = function(msg, reader) {
16605
+ while (reader.nextField()) {
16606
+ if (reader.isEndGroup()) {
16607
+ break;
16608
+ }
16609
+ var field = reader.getFieldNumber();
16610
+ switch (field) {
16611
+ case 1:
16612
+ var value = /** @type {string} */ (reader.readString());
16613
+ msg.setStartdate(value);
16614
+ break;
16615
+ case 2:
16616
+ var value = /** @type {string} */ (reader.readString());
16617
+ msg.setEnddate(value);
16618
+ break;
16619
+ case 3:
16620
+ var value = /** @type {string} */ (reader.readString());
16621
+ msg.setTimezone(value);
16622
+ break;
16623
+ case 4:
16624
+ var value = /** @type {!proto.sniiptransactionapi.ReceiptExportDeliveryMethod} */ (reader.readEnum());
16625
+ msg.setDeliverymethod(value);
16626
+ break;
16627
+ default:
16628
+ reader.skipField();
16629
+ break;
16630
+ }
16631
+ }
16632
+ return msg;
16633
+ };
16634
+
16635
+
16636
+ /**
16637
+ * Serializes the message to binary data (in protobuf wire format).
16638
+ * @return {!Uint8Array}
16639
+ */
16640
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.serializeBinary = function() {
16641
+ var writer = new jspb.BinaryWriter();
16642
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.serializeBinaryToWriter(this, writer);
16643
+ return writer.getResultBuffer();
16644
+ };
16645
+
16646
+
16647
+ /**
16648
+ * Serializes the given message to binary data (in protobuf wire
16649
+ * format), writing to the given BinaryWriter.
16650
+ * @param {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} message
16651
+ * @param {!jspb.BinaryWriter} writer
16652
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16653
+ */
16654
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.serializeBinaryToWriter = function(message, writer) {
16655
+ var f = undefined;
16656
+ f = message.getStartdate();
16657
+ if (f.length > 0) {
16658
+ writer.writeString(
16659
+ 1,
16660
+ f
16661
+ );
16662
+ }
16663
+ f = message.getEnddate();
16664
+ if (f.length > 0) {
16665
+ writer.writeString(
16666
+ 2,
16667
+ f
16668
+ );
16669
+ }
16670
+ f = message.getTimezone();
16671
+ if (f.length > 0) {
16672
+ writer.writeString(
16673
+ 3,
16674
+ f
16675
+ );
16676
+ }
16677
+ f = message.getDeliverymethod();
16678
+ if (f !== 0.0) {
16679
+ writer.writeEnum(
16680
+ 4,
16681
+ f
16682
+ );
16683
+ }
16684
+ };
16685
+
16686
+
16687
+ /**
16688
+ * optional string startDate = 1;
16689
+ * @return {string}
16690
+ */
16691
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.getStartdate = function() {
16692
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
16693
+ };
16694
+
16695
+
16696
+ /**
16697
+ * @param {string} value
16698
+ * @return {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} returns this
16699
+ */
16700
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.setStartdate = function(value) {
16701
+ return jspb.Message.setProto3StringField(this, 1, value);
16702
+ };
16703
+
16704
+
16705
+ /**
16706
+ * optional string endDate = 2;
16707
+ * @return {string}
16708
+ */
16709
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.getEnddate = function() {
16710
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16711
+ };
16712
+
16713
+
16714
+ /**
16715
+ * @param {string} value
16716
+ * @return {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} returns this
16717
+ */
16718
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.setEnddate = function(value) {
16719
+ return jspb.Message.setProto3StringField(this, 2, value);
16720
+ };
16721
+
16722
+
16723
+ /**
16724
+ * optional string timezone = 3;
16725
+ * @return {string}
16726
+ */
16727
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.getTimezone = function() {
16728
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
16729
+ };
16730
+
16731
+
16732
+ /**
16733
+ * @param {string} value
16734
+ * @return {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} returns this
16735
+ */
16736
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.setTimezone = function(value) {
16737
+ return jspb.Message.setProto3StringField(this, 3, value);
16738
+ };
16739
+
16740
+
16741
+ /**
16742
+ * optional ReceiptExportDeliveryMethod deliveryMethod = 4;
16743
+ * @return {!proto.sniiptransactionapi.ReceiptExportDeliveryMethod}
16744
+ */
16745
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.getDeliverymethod = function() {
16746
+ return /** @type {!proto.sniiptransactionapi.ReceiptExportDeliveryMethod} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
16747
+ };
16748
+
16749
+
16750
+ /**
16751
+ * @param {!proto.sniiptransactionapi.ReceiptExportDeliveryMethod} value
16752
+ * @return {!proto.sniiptransactionapi.ExportReceiptsForPeriodRequest} returns this
16753
+ */
16754
+ proto.sniiptransactionapi.ExportReceiptsForPeriodRequest.prototype.setDeliverymethod = function(value) {
16755
+ return jspb.Message.setProto3EnumField(this, 4, value);
16756
+ };
16757
+
16758
+
16759
+
16760
+
16761
+
16519
16762
  if (jspb.Message.GENERATE_TO_OBJECT) {
16520
16763
  /**
16521
16764
  * Creates an object representation of this proto.
@@ -47610,6 +47853,15 @@ proto.sniiptransactionapi.CardValidationResult = {
47610
47853
  CARD_VALIDATION_RESULT_FORCE_VERIFICATION: 7
47611
47854
  };
47612
47855
 
47856
+ /**
47857
+ * @enum {number}
47858
+ */
47859
+ proto.sniiptransactionapi.ReceiptExportDeliveryMethod = {
47860
+ RECEIPT_EXPORT_DELIVERY_METHOD_UNSPECIFIED: 0,
47861
+ RECEIPT_EXPORT_DELIVERY_METHOD_DOWNLOAD: 1,
47862
+ RECEIPT_EXPORT_DELIVERY_METHOD_EMAIL: 2
47863
+ };
47864
+
47613
47865
  /**
47614
47866
  * @enum {number}
47615
47867
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb",
3
- "version": "26.9.15696",
3
+ "version": "26.9.15722",
4
4
  "description": "transaction-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",