protobuf-platform 1.0.243 → 1.0.244

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "protobuf-platform",
3
- "version": "1.0.243",
3
+ "version": "1.0.244",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -184,6 +184,7 @@ message GetUserPaymentsInfoRequest {
184
184
  optional int32 offset = 3;
185
185
  optional string start_date = 4;
186
186
  optional string end_date = 5;
187
+ optional string transaction_type = 6;
187
188
  }
188
189
  message UserPaymentsInfoResponse {
189
190
  float deposit_sum = 1;
@@ -205,10 +206,12 @@ message UserDepositItem {
205
206
  float amount_paid = 3;
206
207
  float fee = 4;
207
208
  string currency = 5;
208
- string payment_method_title = 6;
209
- string payment_provider_image = 7;
210
- int32 status_id = 8;
211
- string created = 9;
209
+ optional string payment_method_title = 6;
210
+ optional string payment_provider_image = 7;
211
+ optional string payment_provider_title = 8;
212
+ optional int32 status_id = 9;
213
+ optional string created = 10;
214
+ optional string status = 11;
212
215
  }
213
216
  message UserDepositItemsResponse {
214
217
  repeated UserDepositItem items = 1;
@@ -7865,7 +7865,8 @@ proto.payment.GetUserPaymentsInfoRequest.toObject = function(includeInstance, ms
7865
7865
  limit: jspb.Message.getFieldWithDefault(msg, 2, 0),
7866
7866
  offset: jspb.Message.getFieldWithDefault(msg, 3, 0),
7867
7867
  startDate: jspb.Message.getFieldWithDefault(msg, 4, ""),
7868
- endDate: jspb.Message.getFieldWithDefault(msg, 5, "")
7868
+ endDate: jspb.Message.getFieldWithDefault(msg, 5, ""),
7869
+ transactionType: jspb.Message.getFieldWithDefault(msg, 6, "")
7869
7870
  };
7870
7871
 
7871
7872
  if (includeInstance) {
@@ -7922,6 +7923,10 @@ proto.payment.GetUserPaymentsInfoRequest.deserializeBinaryFromReader = function(
7922
7923
  var value = /** @type {string} */ (reader.readString());
7923
7924
  msg.setEndDate(value);
7924
7925
  break;
7926
+ case 6:
7927
+ var value = /** @type {string} */ (reader.readString());
7928
+ msg.setTransactionType(value);
7929
+ break;
7925
7930
  default:
7926
7931
  reader.skipField();
7927
7932
  break;
@@ -7986,6 +7991,13 @@ proto.payment.GetUserPaymentsInfoRequest.serializeBinaryToWriter = function(mess
7986
7991
  f
7987
7992
  );
7988
7993
  }
7994
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
7995
+ if (f != null) {
7996
+ writer.writeString(
7997
+ 6,
7998
+ f
7999
+ );
8000
+ }
7989
8001
  };
7990
8002
 
7991
8003
 
@@ -8151,6 +8163,42 @@ proto.payment.GetUserPaymentsInfoRequest.prototype.hasEndDate = function() {
8151
8163
  };
8152
8164
 
8153
8165
 
8166
+ /**
8167
+ * optional string transaction_type = 6;
8168
+ * @return {string}
8169
+ */
8170
+ proto.payment.GetUserPaymentsInfoRequest.prototype.getTransactionType = function() {
8171
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
8172
+ };
8173
+
8174
+
8175
+ /**
8176
+ * @param {string} value
8177
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
8178
+ */
8179
+ proto.payment.GetUserPaymentsInfoRequest.prototype.setTransactionType = function(value) {
8180
+ return jspb.Message.setField(this, 6, value);
8181
+ };
8182
+
8183
+
8184
+ /**
8185
+ * Clears the field making it undefined.
8186
+ * @return {!proto.payment.GetUserPaymentsInfoRequest} returns this
8187
+ */
8188
+ proto.payment.GetUserPaymentsInfoRequest.prototype.clearTransactionType = function() {
8189
+ return jspb.Message.setField(this, 6, undefined);
8190
+ };
8191
+
8192
+
8193
+ /**
8194
+ * Returns whether this field is set.
8195
+ * @return {boolean}
8196
+ */
8197
+ proto.payment.GetUserPaymentsInfoRequest.prototype.hasTransactionType = function() {
8198
+ return jspb.Message.getField(this, 6) != null;
8199
+ };
8200
+
8201
+
8154
8202
 
8155
8203
 
8156
8204
 
@@ -8650,8 +8698,10 @@ proto.payment.UserDepositItem.toObject = function(includeInstance, msg) {
8650
8698
  currency: jspb.Message.getFieldWithDefault(msg, 5, ""),
8651
8699
  paymentMethodTitle: jspb.Message.getFieldWithDefault(msg, 6, ""),
8652
8700
  paymentProviderImage: jspb.Message.getFieldWithDefault(msg, 7, ""),
8653
- statusId: jspb.Message.getFieldWithDefault(msg, 8, 0),
8654
- created: jspb.Message.getFieldWithDefault(msg, 9, "")
8701
+ paymentProviderTitle: jspb.Message.getFieldWithDefault(msg, 8, ""),
8702
+ statusId: jspb.Message.getFieldWithDefault(msg, 9, 0),
8703
+ created: jspb.Message.getFieldWithDefault(msg, 10, ""),
8704
+ status: jspb.Message.getFieldWithDefault(msg, 11, "")
8655
8705
  };
8656
8706
 
8657
8707
  if (includeInstance) {
@@ -8717,13 +8767,21 @@ proto.payment.UserDepositItem.deserializeBinaryFromReader = function(msg, reader
8717
8767
  msg.setPaymentProviderImage(value);
8718
8768
  break;
8719
8769
  case 8:
8770
+ var value = /** @type {string} */ (reader.readString());
8771
+ msg.setPaymentProviderTitle(value);
8772
+ break;
8773
+ case 9:
8720
8774
  var value = /** @type {number} */ (reader.readInt32());
8721
8775
  msg.setStatusId(value);
8722
8776
  break;
8723
- case 9:
8777
+ case 10:
8724
8778
  var value = /** @type {string} */ (reader.readString());
8725
8779
  msg.setCreated(value);
8726
8780
  break;
8781
+ case 11:
8782
+ var value = /** @type {string} */ (reader.readString());
8783
+ msg.setStatus(value);
8784
+ break;
8727
8785
  default:
8728
8786
  reader.skipField();
8729
8787
  break;
@@ -8788,34 +8846,48 @@ proto.payment.UserDepositItem.serializeBinaryToWriter = function(message, writer
8788
8846
  f
8789
8847
  );
8790
8848
  }
8791
- f = message.getPaymentMethodTitle();
8792
- if (f.length > 0) {
8849
+ f = /** @type {string} */ (jspb.Message.getField(message, 6));
8850
+ if (f != null) {
8793
8851
  writer.writeString(
8794
8852
  6,
8795
8853
  f
8796
8854
  );
8797
8855
  }
8798
- f = message.getPaymentProviderImage();
8799
- if (f.length > 0) {
8856
+ f = /** @type {string} */ (jspb.Message.getField(message, 7));
8857
+ if (f != null) {
8800
8858
  writer.writeString(
8801
8859
  7,
8802
8860
  f
8803
8861
  );
8804
8862
  }
8805
- f = message.getStatusId();
8806
- if (f !== 0) {
8807
- writer.writeInt32(
8863
+ f = /** @type {string} */ (jspb.Message.getField(message, 8));
8864
+ if (f != null) {
8865
+ writer.writeString(
8808
8866
  8,
8809
8867
  f
8810
8868
  );
8811
8869
  }
8812
- f = message.getCreated();
8813
- if (f.length > 0) {
8814
- writer.writeString(
8870
+ f = /** @type {number} */ (jspb.Message.getField(message, 9));
8871
+ if (f != null) {
8872
+ writer.writeInt32(
8815
8873
  9,
8816
8874
  f
8817
8875
  );
8818
8876
  }
8877
+ f = /** @type {string} */ (jspb.Message.getField(message, 10));
8878
+ if (f != null) {
8879
+ writer.writeString(
8880
+ 10,
8881
+ f
8882
+ );
8883
+ }
8884
+ f = /** @type {string} */ (jspb.Message.getField(message, 11));
8885
+ if (f != null) {
8886
+ writer.writeString(
8887
+ 11,
8888
+ f
8889
+ );
8890
+ }
8819
8891
  };
8820
8892
 
8821
8893
 
@@ -8923,7 +8995,25 @@ proto.payment.UserDepositItem.prototype.getPaymentMethodTitle = function() {
8923
8995
  * @return {!proto.payment.UserDepositItem} returns this
8924
8996
  */
8925
8997
  proto.payment.UserDepositItem.prototype.setPaymentMethodTitle = function(value) {
8926
- return jspb.Message.setProto3StringField(this, 6, value);
8998
+ return jspb.Message.setField(this, 6, value);
8999
+ };
9000
+
9001
+
9002
+ /**
9003
+ * Clears the field making it undefined.
9004
+ * @return {!proto.payment.UserDepositItem} returns this
9005
+ */
9006
+ proto.payment.UserDepositItem.prototype.clearPaymentMethodTitle = function() {
9007
+ return jspb.Message.setField(this, 6, undefined);
9008
+ };
9009
+
9010
+
9011
+ /**
9012
+ * Returns whether this field is set.
9013
+ * @return {boolean}
9014
+ */
9015
+ proto.payment.UserDepositItem.prototype.hasPaymentMethodTitle = function() {
9016
+ return jspb.Message.getField(this, 6) != null;
8927
9017
  };
8928
9018
 
8929
9019
 
@@ -8941,16 +9031,70 @@ proto.payment.UserDepositItem.prototype.getPaymentProviderImage = function() {
8941
9031
  * @return {!proto.payment.UserDepositItem} returns this
8942
9032
  */
8943
9033
  proto.payment.UserDepositItem.prototype.setPaymentProviderImage = function(value) {
8944
- return jspb.Message.setProto3StringField(this, 7, value);
9034
+ return jspb.Message.setField(this, 7, value);
9035
+ };
9036
+
9037
+
9038
+ /**
9039
+ * Clears the field making it undefined.
9040
+ * @return {!proto.payment.UserDepositItem} returns this
9041
+ */
9042
+ proto.payment.UserDepositItem.prototype.clearPaymentProviderImage = function() {
9043
+ return jspb.Message.setField(this, 7, undefined);
8945
9044
  };
8946
9045
 
8947
9046
 
8948
9047
  /**
8949
- * optional int32 status_id = 8;
9048
+ * Returns whether this field is set.
9049
+ * @return {boolean}
9050
+ */
9051
+ proto.payment.UserDepositItem.prototype.hasPaymentProviderImage = function() {
9052
+ return jspb.Message.getField(this, 7) != null;
9053
+ };
9054
+
9055
+
9056
+ /**
9057
+ * optional string payment_provider_title = 8;
9058
+ * @return {string}
9059
+ */
9060
+ proto.payment.UserDepositItem.prototype.getPaymentProviderTitle = function() {
9061
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
9062
+ };
9063
+
9064
+
9065
+ /**
9066
+ * @param {string} value
9067
+ * @return {!proto.payment.UserDepositItem} returns this
9068
+ */
9069
+ proto.payment.UserDepositItem.prototype.setPaymentProviderTitle = function(value) {
9070
+ return jspb.Message.setField(this, 8, value);
9071
+ };
9072
+
9073
+
9074
+ /**
9075
+ * Clears the field making it undefined.
9076
+ * @return {!proto.payment.UserDepositItem} returns this
9077
+ */
9078
+ proto.payment.UserDepositItem.prototype.clearPaymentProviderTitle = function() {
9079
+ return jspb.Message.setField(this, 8, undefined);
9080
+ };
9081
+
9082
+
9083
+ /**
9084
+ * Returns whether this field is set.
9085
+ * @return {boolean}
9086
+ */
9087
+ proto.payment.UserDepositItem.prototype.hasPaymentProviderTitle = function() {
9088
+ return jspb.Message.getField(this, 8) != null;
9089
+ };
9090
+
9091
+
9092
+ /**
9093
+ * optional int32 status_id = 9;
8950
9094
  * @return {number}
8951
9095
  */
8952
9096
  proto.payment.UserDepositItem.prototype.getStatusId = function() {
8953
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
9097
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 9, 0));
8954
9098
  };
8955
9099
 
8956
9100
 
@@ -8959,16 +9103,34 @@ proto.payment.UserDepositItem.prototype.getStatusId = function() {
8959
9103
  * @return {!proto.payment.UserDepositItem} returns this
8960
9104
  */
8961
9105
  proto.payment.UserDepositItem.prototype.setStatusId = function(value) {
8962
- return jspb.Message.setProto3IntField(this, 8, value);
9106
+ return jspb.Message.setField(this, 9, value);
9107
+ };
9108
+
9109
+
9110
+ /**
9111
+ * Clears the field making it undefined.
9112
+ * @return {!proto.payment.UserDepositItem} returns this
9113
+ */
9114
+ proto.payment.UserDepositItem.prototype.clearStatusId = function() {
9115
+ return jspb.Message.setField(this, 9, undefined);
9116
+ };
9117
+
9118
+
9119
+ /**
9120
+ * Returns whether this field is set.
9121
+ * @return {boolean}
9122
+ */
9123
+ proto.payment.UserDepositItem.prototype.hasStatusId = function() {
9124
+ return jspb.Message.getField(this, 9) != null;
8963
9125
  };
8964
9126
 
8965
9127
 
8966
9128
  /**
8967
- * optional string created = 9;
9129
+ * optional string created = 10;
8968
9130
  * @return {string}
8969
9131
  */
8970
9132
  proto.payment.UserDepositItem.prototype.getCreated = function() {
8971
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
9133
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
8972
9134
  };
8973
9135
 
8974
9136
 
@@ -8977,7 +9139,61 @@ proto.payment.UserDepositItem.prototype.getCreated = function() {
8977
9139
  * @return {!proto.payment.UserDepositItem} returns this
8978
9140
  */
8979
9141
  proto.payment.UserDepositItem.prototype.setCreated = function(value) {
8980
- return jspb.Message.setProto3StringField(this, 9, value);
9142
+ return jspb.Message.setField(this, 10, value);
9143
+ };
9144
+
9145
+
9146
+ /**
9147
+ * Clears the field making it undefined.
9148
+ * @return {!proto.payment.UserDepositItem} returns this
9149
+ */
9150
+ proto.payment.UserDepositItem.prototype.clearCreated = function() {
9151
+ return jspb.Message.setField(this, 10, undefined);
9152
+ };
9153
+
9154
+
9155
+ /**
9156
+ * Returns whether this field is set.
9157
+ * @return {boolean}
9158
+ */
9159
+ proto.payment.UserDepositItem.prototype.hasCreated = function() {
9160
+ return jspb.Message.getField(this, 10) != null;
9161
+ };
9162
+
9163
+
9164
+ /**
9165
+ * optional string status = 11;
9166
+ * @return {string}
9167
+ */
9168
+ proto.payment.UserDepositItem.prototype.getStatus = function() {
9169
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
9170
+ };
9171
+
9172
+
9173
+ /**
9174
+ * @param {string} value
9175
+ * @return {!proto.payment.UserDepositItem} returns this
9176
+ */
9177
+ proto.payment.UserDepositItem.prototype.setStatus = function(value) {
9178
+ return jspb.Message.setField(this, 11, value);
9179
+ };
9180
+
9181
+
9182
+ /**
9183
+ * Clears the field making it undefined.
9184
+ * @return {!proto.payment.UserDepositItem} returns this
9185
+ */
9186
+ proto.payment.UserDepositItem.prototype.clearStatus = function() {
9187
+ return jspb.Message.setField(this, 11, undefined);
9188
+ };
9189
+
9190
+
9191
+ /**
9192
+ * Returns whether this field is set.
9193
+ * @return {boolean}
9194
+ */
9195
+ proto.payment.UserDepositItem.prototype.hasStatus = function() {
9196
+ return jspb.Message.getField(this, 11) != null;
8981
9197
  };
8982
9198
 
8983
9199