protobuf-platform 1.2.234 → 1.2.237

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.2.234",
3
+ "version": "1.2.237",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -187,6 +187,8 @@ message PaymentMethodConfigRequest {
187
187
  optional float max_amount = 6;
188
188
  optional string type = 7;
189
189
  optional string config = 8;
190
+ optional string sdk_provider = 9;
191
+ optional int32 sdk_enabled = 10;
190
192
  }
191
193
  message PaymentMethodConfigResponse {
192
194
  int32 method_id = 1;
@@ -197,6 +199,8 @@ message PaymentMethodConfigResponse {
197
199
  optional float max_amount = 6;
198
200
  optional string type = 7;
199
201
  optional string config = 8;
202
+ optional string sdk_provider = 9;
203
+ optional bool sdk_enabled = 10;
200
204
  }
201
205
  //Deposit
202
206
  message AttemptDepositRequest {
@@ -212,6 +216,7 @@ message AttemptDepositRequest {
212
216
  optional string user_last_name = 10;
213
217
  optional string user_email = 11;
214
218
  optional string user_public_id = 12;
219
+ optional string token_id = 13;
215
220
  }
216
221
  message GetDepositRequest {
217
222
  int32 id = 1;
@@ -7809,7 +7809,9 @@ proto.payment.PaymentMethodConfigRequest.toObject = function(includeInstance, ms
7809
7809
  minAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
7810
7810
  maxAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
7811
7811
  type: jspb.Message.getFieldWithDefault(msg, 7, ""),
7812
- config: jspb.Message.getFieldWithDefault(msg, 8, "")
7812
+ config: jspb.Message.getFieldWithDefault(msg, 8, ""),
7813
+ sdkProvider: jspb.Message.getFieldWithDefault(msg, 9, ""),
7814
+ sdkEnabled: jspb.Message.getFieldWithDefault(msg, 10, 0)
7813
7815
  };
7814
7816
 
7815
7817
  if (includeInstance) {
@@ -7878,6 +7880,14 @@ proto.payment.PaymentMethodConfigRequest.deserializeBinaryFromReader = function(
7878
7880
  var value = /** @type {string} */ (reader.readString());
7879
7881
  msg.setConfig(value);
7880
7882
  break;
7883
+ case 9:
7884
+ var value = /** @type {string} */ (reader.readString());
7885
+ msg.setSdkProvider(value);
7886
+ break;
7887
+ case 10:
7888
+ var value = /** @type {number} */ (reader.readInt32());
7889
+ msg.setSdkEnabled(value);
7890
+ break;
7881
7891
  default:
7882
7892
  reader.skipField();
7883
7893
  break;
@@ -7963,6 +7973,20 @@ proto.payment.PaymentMethodConfigRequest.serializeBinaryToWriter = function(mess
7963
7973
  f
7964
7974
  );
7965
7975
  }
7976
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
7977
+ if (f != null) {
7978
+ writer.writeString(
7979
+ 9,
7980
+ f
7981
+ );
7982
+ }
7983
+ f = /** @type {number} */ (jspb.Message.getField(message, 10));
7984
+ if (f != null) {
7985
+ writer.writeInt32(
7986
+ 10,
7987
+ f
7988
+ );
7989
+ }
7966
7990
  };
7967
7991
 
7968
7992
 
@@ -8200,6 +8224,78 @@ proto.payment.PaymentMethodConfigRequest.prototype.hasConfig = function() {
8200
8224
  };
8201
8225
 
8202
8226
 
8227
+ /**
8228
+ * optional string sdk_provider = 9;
8229
+ * @return {string}
8230
+ */
8231
+ proto.payment.PaymentMethodConfigRequest.prototype.getSdkProvider = function() {
8232
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
8233
+ };
8234
+
8235
+
8236
+ /**
8237
+ * @param {string} value
8238
+ * @return {!proto.payment.PaymentMethodConfigRequest} returns this
8239
+ */
8240
+ proto.payment.PaymentMethodConfigRequest.prototype.setSdkProvider = function(value) {
8241
+ return jspb.Message.setField(this, 9, value);
8242
+ };
8243
+
8244
+
8245
+ /**
8246
+ * Clears the field making it undefined.
8247
+ * @return {!proto.payment.PaymentMethodConfigRequest} returns this
8248
+ */
8249
+ proto.payment.PaymentMethodConfigRequest.prototype.clearSdkProvider = function() {
8250
+ return jspb.Message.setField(this, 9, undefined);
8251
+ };
8252
+
8253
+
8254
+ /**
8255
+ * Returns whether this field is set.
8256
+ * @return {boolean}
8257
+ */
8258
+ proto.payment.PaymentMethodConfigRequest.prototype.hasSdkProvider = function() {
8259
+ return jspb.Message.getField(this, 9) != null;
8260
+ };
8261
+
8262
+
8263
+ /**
8264
+ * optional int32 sdk_enabled = 10;
8265
+ * @return {number}
8266
+ */
8267
+ proto.payment.PaymentMethodConfigRequest.prototype.getSdkEnabled = function() {
8268
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
8269
+ };
8270
+
8271
+
8272
+ /**
8273
+ * @param {number} value
8274
+ * @return {!proto.payment.PaymentMethodConfigRequest} returns this
8275
+ */
8276
+ proto.payment.PaymentMethodConfigRequest.prototype.setSdkEnabled = function(value) {
8277
+ return jspb.Message.setField(this, 10, value);
8278
+ };
8279
+
8280
+
8281
+ /**
8282
+ * Clears the field making it undefined.
8283
+ * @return {!proto.payment.PaymentMethodConfigRequest} returns this
8284
+ */
8285
+ proto.payment.PaymentMethodConfigRequest.prototype.clearSdkEnabled = function() {
8286
+ return jspb.Message.setField(this, 10, undefined);
8287
+ };
8288
+
8289
+
8290
+ /**
8291
+ * Returns whether this field is set.
8292
+ * @return {boolean}
8293
+ */
8294
+ proto.payment.PaymentMethodConfigRequest.prototype.hasSdkEnabled = function() {
8295
+ return jspb.Message.getField(this, 10) != null;
8296
+ };
8297
+
8298
+
8203
8299
 
8204
8300
 
8205
8301
 
@@ -8239,7 +8335,9 @@ proto.payment.PaymentMethodConfigResponse.toObject = function(includeInstance, m
8239
8335
  minAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
8240
8336
  maxAmount: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
8241
8337
  type: jspb.Message.getFieldWithDefault(msg, 7, ""),
8242
- config: jspb.Message.getFieldWithDefault(msg, 8, "")
8338
+ config: jspb.Message.getFieldWithDefault(msg, 8, ""),
8339
+ sdkProvider: jspb.Message.getFieldWithDefault(msg, 9, ""),
8340
+ sdkEnabled: jspb.Message.getBooleanFieldWithDefault(msg, 10, false)
8243
8341
  };
8244
8342
 
8245
8343
  if (includeInstance) {
@@ -8308,6 +8406,14 @@ proto.payment.PaymentMethodConfigResponse.deserializeBinaryFromReader = function
8308
8406
  var value = /** @type {string} */ (reader.readString());
8309
8407
  msg.setConfig(value);
8310
8408
  break;
8409
+ case 9:
8410
+ var value = /** @type {string} */ (reader.readString());
8411
+ msg.setSdkProvider(value);
8412
+ break;
8413
+ case 10:
8414
+ var value = /** @type {boolean} */ (reader.readBool());
8415
+ msg.setSdkEnabled(value);
8416
+ break;
8311
8417
  default:
8312
8418
  reader.skipField();
8313
8419
  break;
@@ -8393,6 +8499,20 @@ proto.payment.PaymentMethodConfigResponse.serializeBinaryToWriter = function(mes
8393
8499
  f
8394
8500
  );
8395
8501
  }
8502
+ f = /** @type {string} */ (jspb.Message.getField(message, 9));
8503
+ if (f != null) {
8504
+ writer.writeString(
8505
+ 9,
8506
+ f
8507
+ );
8508
+ }
8509
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 10));
8510
+ if (f != null) {
8511
+ writer.writeBool(
8512
+ 10,
8513
+ f
8514
+ );
8515
+ }
8396
8516
  };
8397
8517
 
8398
8518
 
@@ -8666,6 +8786,78 @@ proto.payment.PaymentMethodConfigResponse.prototype.hasConfig = function() {
8666
8786
  };
8667
8787
 
8668
8788
 
8789
+ /**
8790
+ * optional string sdk_provider = 9;
8791
+ * @return {string}
8792
+ */
8793
+ proto.payment.PaymentMethodConfigResponse.prototype.getSdkProvider = function() {
8794
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
8795
+ };
8796
+
8797
+
8798
+ /**
8799
+ * @param {string} value
8800
+ * @return {!proto.payment.PaymentMethodConfigResponse} returns this
8801
+ */
8802
+ proto.payment.PaymentMethodConfigResponse.prototype.setSdkProvider = function(value) {
8803
+ return jspb.Message.setField(this, 9, value);
8804
+ };
8805
+
8806
+
8807
+ /**
8808
+ * Clears the field making it undefined.
8809
+ * @return {!proto.payment.PaymentMethodConfigResponse} returns this
8810
+ */
8811
+ proto.payment.PaymentMethodConfigResponse.prototype.clearSdkProvider = function() {
8812
+ return jspb.Message.setField(this, 9, undefined);
8813
+ };
8814
+
8815
+
8816
+ /**
8817
+ * Returns whether this field is set.
8818
+ * @return {boolean}
8819
+ */
8820
+ proto.payment.PaymentMethodConfigResponse.prototype.hasSdkProvider = function() {
8821
+ return jspb.Message.getField(this, 9) != null;
8822
+ };
8823
+
8824
+
8825
+ /**
8826
+ * optional bool sdk_enabled = 10;
8827
+ * @return {boolean}
8828
+ */
8829
+ proto.payment.PaymentMethodConfigResponse.prototype.getSdkEnabled = function() {
8830
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 10, false));
8831
+ };
8832
+
8833
+
8834
+ /**
8835
+ * @param {boolean} value
8836
+ * @return {!proto.payment.PaymentMethodConfigResponse} returns this
8837
+ */
8838
+ proto.payment.PaymentMethodConfigResponse.prototype.setSdkEnabled = function(value) {
8839
+ return jspb.Message.setField(this, 10, value);
8840
+ };
8841
+
8842
+
8843
+ /**
8844
+ * Clears the field making it undefined.
8845
+ * @return {!proto.payment.PaymentMethodConfigResponse} returns this
8846
+ */
8847
+ proto.payment.PaymentMethodConfigResponse.prototype.clearSdkEnabled = function() {
8848
+ return jspb.Message.setField(this, 10, undefined);
8849
+ };
8850
+
8851
+
8852
+ /**
8853
+ * Returns whether this field is set.
8854
+ * @return {boolean}
8855
+ */
8856
+ proto.payment.PaymentMethodConfigResponse.prototype.hasSdkEnabled = function() {
8857
+ return jspb.Message.getField(this, 10) != null;
8858
+ };
8859
+
8860
+
8669
8861
 
8670
8862
 
8671
8863
 
@@ -8709,7 +8901,8 @@ proto.payment.AttemptDepositRequest.toObject = function(includeInstance, msg) {
8709
8901
  userFirstName: jspb.Message.getFieldWithDefault(msg, 9, ""),
8710
8902
  userLastName: jspb.Message.getFieldWithDefault(msg, 10, ""),
8711
8903
  userEmail: jspb.Message.getFieldWithDefault(msg, 11, ""),
8712
- userPublicId: jspb.Message.getFieldWithDefault(msg, 12, "")
8904
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 12, ""),
8905
+ tokenId: jspb.Message.getFieldWithDefault(msg, 13, "")
8713
8906
  };
8714
8907
 
8715
8908
  if (includeInstance) {
@@ -8794,6 +8987,10 @@ proto.payment.AttemptDepositRequest.deserializeBinaryFromReader = function(msg,
8794
8987
  var value = /** @type {string} */ (reader.readString());
8795
8988
  msg.setUserPublicId(value);
8796
8989
  break;
8990
+ case 13:
8991
+ var value = /** @type {string} */ (reader.readString());
8992
+ msg.setTokenId(value);
8993
+ break;
8797
8994
  default:
8798
8995
  reader.skipField();
8799
8996
  break;
@@ -8907,6 +9104,13 @@ proto.payment.AttemptDepositRequest.serializeBinaryToWriter = function(message,
8907
9104
  f
8908
9105
  );
8909
9106
  }
9107
+ f = /** @type {string} */ (jspb.Message.getField(message, 13));
9108
+ if (f != null) {
9109
+ writer.writeString(
9110
+ 13,
9111
+ f
9112
+ );
9113
+ }
8910
9114
  };
8911
9115
 
8912
9116
 
@@ -9288,6 +9492,42 @@ proto.payment.AttemptDepositRequest.prototype.hasUserPublicId = function() {
9288
9492
  };
9289
9493
 
9290
9494
 
9495
+ /**
9496
+ * optional string token_id = 13;
9497
+ * @return {string}
9498
+ */
9499
+ proto.payment.AttemptDepositRequest.prototype.getTokenId = function() {
9500
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
9501
+ };
9502
+
9503
+
9504
+ /**
9505
+ * @param {string} value
9506
+ * @return {!proto.payment.AttemptDepositRequest} returns this
9507
+ */
9508
+ proto.payment.AttemptDepositRequest.prototype.setTokenId = function(value) {
9509
+ return jspb.Message.setField(this, 13, value);
9510
+ };
9511
+
9512
+
9513
+ /**
9514
+ * Clears the field making it undefined.
9515
+ * @return {!proto.payment.AttemptDepositRequest} returns this
9516
+ */
9517
+ proto.payment.AttemptDepositRequest.prototype.clearTokenId = function() {
9518
+ return jspb.Message.setField(this, 13, undefined);
9519
+ };
9520
+
9521
+
9522
+ /**
9523
+ * Returns whether this field is set.
9524
+ * @return {boolean}
9525
+ */
9526
+ proto.payment.AttemptDepositRequest.prototype.hasTokenId = function() {
9527
+ return jspb.Message.getField(this, 13) != null;
9528
+ };
9529
+
9530
+
9291
9531
 
9292
9532
 
9293
9533
 
package/user/user.proto CHANGED
@@ -140,6 +140,7 @@ message RegistrationRequest {
140
140
  optional string referral = 21;
141
141
  optional string device = 22;
142
142
  optional string affiliate_info = 23;
143
+ optional string seon_session = 24;
143
144
  }
144
145
  message LoggedInResponse {
145
146
  int32 id = 1;
package/user/user_pb.js CHANGED
@@ -4086,7 +4086,8 @@ proto.user.RegistrationRequest.toObject = function(includeInstance, msg) {
4086
4086
  postalCode: jspb.Message.getFieldWithDefault(msg, 20, ""),
4087
4087
  referral: jspb.Message.getFieldWithDefault(msg, 21, ""),
4088
4088
  device: jspb.Message.getFieldWithDefault(msg, 22, ""),
4089
- affiliateInfo: jspb.Message.getFieldWithDefault(msg, 23, "")
4089
+ affiliateInfo: jspb.Message.getFieldWithDefault(msg, 23, ""),
4090
+ seonSession: jspb.Message.getFieldWithDefault(msg, 24, "")
4090
4091
  };
4091
4092
 
4092
4093
  if (includeInstance) {
@@ -4215,6 +4216,10 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
4215
4216
  var value = /** @type {string} */ (reader.readString());
4216
4217
  msg.setAffiliateInfo(value);
4217
4218
  break;
4219
+ case 24:
4220
+ var value = /** @type {string} */ (reader.readString());
4221
+ msg.setSeonSession(value);
4222
+ break;
4218
4223
  default:
4219
4224
  reader.skipField();
4220
4225
  break;
@@ -4405,6 +4410,13 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
4405
4410
  f
4406
4411
  );
4407
4412
  }
4413
+ f = /** @type {string} */ (jspb.Message.getField(message, 24));
4414
+ if (f != null) {
4415
+ writer.writeString(
4416
+ 24,
4417
+ f
4418
+ );
4419
+ }
4408
4420
  };
4409
4421
 
4410
4422
 
@@ -5182,6 +5194,42 @@ proto.user.RegistrationRequest.prototype.hasAffiliateInfo = function() {
5182
5194
  };
5183
5195
 
5184
5196
 
5197
+ /**
5198
+ * optional string seon_session = 24;
5199
+ * @return {string}
5200
+ */
5201
+ proto.user.RegistrationRequest.prototype.getSeonSession = function() {
5202
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 24, ""));
5203
+ };
5204
+
5205
+
5206
+ /**
5207
+ * @param {string} value
5208
+ * @return {!proto.user.RegistrationRequest} returns this
5209
+ */
5210
+ proto.user.RegistrationRequest.prototype.setSeonSession = function(value) {
5211
+ return jspb.Message.setField(this, 24, value);
5212
+ };
5213
+
5214
+
5215
+ /**
5216
+ * Clears the field making it undefined.
5217
+ * @return {!proto.user.RegistrationRequest} returns this
5218
+ */
5219
+ proto.user.RegistrationRequest.prototype.clearSeonSession = function() {
5220
+ return jspb.Message.setField(this, 24, undefined);
5221
+ };
5222
+
5223
+
5224
+ /**
5225
+ * Returns whether this field is set.
5226
+ * @return {boolean}
5227
+ */
5228
+ proto.user.RegistrationRequest.prototype.hasSeonSession = function() {
5229
+ return jspb.Message.getField(this, 24) != null;
5230
+ };
5231
+
5232
+
5185
5233
 
5186
5234
 
5187
5235