@sniipwebmaster/transaction-service-client-grpcweb 0.2.3565 → 0.2.3593

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.
@@ -44,7 +44,6 @@ goog.exportSymbol('proto.sniiptransactionapi.GetUserTransactionsResponse', null,
44
44
  goog.exportSymbol('proto.sniiptransactionapi.HasPaymentHistoryRequest', null, global);
45
45
  goog.exportSymbol('proto.sniiptransactionapi.HasPaymentHistoryResponse', null, global);
46
46
  goog.exportSymbol('proto.sniiptransactionapi.InternalBillPaymentHistoryResponse', null, global);
47
- goog.exportSymbol('proto.sniiptransactionapi.ItemCategory', null, global);
48
47
  goog.exportSymbol('proto.sniiptransactionapi.LatestTransactionForBillResponse', null, global);
49
48
  goog.exportSymbol('proto.sniiptransactionapi.MaskedCreditCard', null, global);
50
49
  goog.exportSymbol('proto.sniiptransactionapi.MbillingSubscription', null, global);
@@ -10402,7 +10401,7 @@ proto.sniiptransactionapi.ReceiptDetails.toObject = function(includeInstance, ms
10402
10401
  settlementstatus: jspb.Message.getFieldWithDefault(msg, 22, ""),
10403
10402
  description: jspb.Message.getFieldWithDefault(msg, 42, ""),
10404
10403
  sourceid: jspb.Message.getFieldWithDefault(msg, 43, 0),
10405
- category: jspb.Message.getFieldWithDefault(msg, 44, 0)
10404
+ category: jspb.Message.getFieldWithDefault(msg, 44, "")
10406
10405
  };
10407
10406
 
10408
10407
  if (includeInstance) {
@@ -10537,7 +10536,7 @@ proto.sniiptransactionapi.ReceiptDetails.deserializeBinaryFromReader = function(
10537
10536
  msg.setSourceid(value);
10538
10537
  break;
10539
10538
  case 44:
10540
- var value = /** @type {!proto.sniiptransactionapi.ItemCategory} */ (reader.readEnum());
10539
+ var value = /** @type {string} */ (reader.readString());
10541
10540
  msg.setCategory(value);
10542
10541
  break;
10543
10542
  default:
@@ -10739,8 +10738,8 @@ proto.sniiptransactionapi.ReceiptDetails.serializeBinaryToWriter = function(mess
10739
10738
  );
10740
10739
  }
10741
10740
  f = message.getCategory();
10742
- if (f !== 0.0) {
10743
- writer.writeEnum(
10741
+ if (f.length > 0) {
10742
+ writer.writeString(
10744
10743
  44,
10745
10744
  f
10746
10745
  );
@@ -11130,17 +11129,17 @@ proto.sniiptransactionapi.ReceiptDetails.prototype.setSourceid = function(value)
11130
11129
 
11131
11130
 
11132
11131
  /**
11133
- * optional ItemCategory category = 44;
11134
- * @return {!proto.sniiptransactionapi.ItemCategory}
11132
+ * optional string category = 44;
11133
+ * @return {string}
11135
11134
  */
11136
11135
  proto.sniiptransactionapi.ReceiptDetails.prototype.getCategory = function() {
11137
- return /** @type {!proto.sniiptransactionapi.ItemCategory} */ (jspb.Message.getFieldWithDefault(this, 44, 0));
11136
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 44, ""));
11138
11137
  };
11139
11138
 
11140
11139
 
11141
- /** @param {!proto.sniiptransactionapi.ItemCategory} value */
11140
+ /** @param {string} value */
11142
11141
  proto.sniiptransactionapi.ReceiptDetails.prototype.setCategory = function(value) {
11143
- jspb.Message.setProto3EnumField(this, 44, value);
11142
+ jspb.Message.setProto3StringField(this, 44, value);
11144
11143
  };
11145
11144
 
11146
11145
 
@@ -11764,7 +11763,7 @@ proto.sniiptransactionapi.TransactionDetails.toObject = function(includeInstance
11764
11763
  settlementstatus: jspb.Message.getFieldWithDefault(msg, 41, ""),
11765
11764
  description: jspb.Message.getFieldWithDefault(msg, 42, ""),
11766
11765
  sourceid: jspb.Message.getFieldWithDefault(msg, 43, 0),
11767
- category: jspb.Message.getFieldWithDefault(msg, 44, 0)
11766
+ category: jspb.Message.getFieldWithDefault(msg, 44, "")
11768
11767
  };
11769
11768
 
11770
11769
  if (includeInstance) {
@@ -11971,7 +11970,7 @@ proto.sniiptransactionapi.TransactionDetails.deserializeBinaryFromReader = funct
11971
11970
  msg.setSourceid(value);
11972
11971
  break;
11973
11972
  case 44:
11974
- var value = /** @type {!proto.sniiptransactionapi.ItemCategory} */ (reader.readEnum());
11973
+ var value = /** @type {string} */ (reader.readString());
11975
11974
  msg.setCategory(value);
11976
11975
  break;
11977
11976
  default:
@@ -12299,8 +12298,8 @@ proto.sniiptransactionapi.TransactionDetails.serializeBinaryToWriter = function(
12299
12298
  );
12300
12299
  }
12301
12300
  f = message.getCategory();
12302
- if (f !== 0.0) {
12303
- writer.writeEnum(
12301
+ if (f.length > 0) {
12302
+ writer.writeString(
12304
12303
  44,
12305
12304
  f
12306
12305
  );
@@ -12966,17 +12965,17 @@ proto.sniiptransactionapi.TransactionDetails.prototype.setSourceid = function(va
12966
12965
 
12967
12966
 
12968
12967
  /**
12969
- * optional ItemCategory category = 44;
12970
- * @return {!proto.sniiptransactionapi.ItemCategory}
12968
+ * optional string category = 44;
12969
+ * @return {string}
12971
12970
  */
12972
12971
  proto.sniiptransactionapi.TransactionDetails.prototype.getCategory = function() {
12973
- return /** @type {!proto.sniiptransactionapi.ItemCategory} */ (jspb.Message.getFieldWithDefault(this, 44, 0));
12972
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 44, ""));
12974
12973
  };
12975
12974
 
12976
12975
 
12977
- /** @param {!proto.sniiptransactionapi.ItemCategory} value */
12976
+ /** @param {string} value */
12978
12977
  proto.sniiptransactionapi.TransactionDetails.prototype.setCategory = function(value) {
12979
- jspb.Message.setProto3EnumField(this, 44, value);
12978
+ jspb.Message.setProto3StringField(this, 44, value);
12980
12979
  };
12981
12980
 
12982
12981
 
@@ -13699,12 +13698,4 @@ proto.sniiptransactionapi.UserTransactionsGetRequest.prototype.setLimit = functi
13699
13698
  };
13700
13699
 
13701
13700
 
13702
- /**
13703
- * @enum {number}
13704
- */
13705
- proto.sniiptransactionapi.ItemCategory = {
13706
- BILL: 0,
13707
- DONATION: 1
13708
- };
13709
-
13710
13701
  goog.object.extend(exports, proto.sniiptransactionapi);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sniipwebmaster/transaction-service-client-grpcweb",
3
- "version": "0.2.3565",
3
+ "version": "0.2.3593",
4
4
  "description": "transaction-service-client-grpcweb",
5
5
  "author": "Sniip Development Team",
6
6
  "license": "MIT",