protobuf-platform 1.2.206 → 1.2.208

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.206",
3
+ "version": "1.2.208",
4
4
  "description": "Protobuf structures",
5
5
  "main": "index.js",
6
6
  "scripts": {
package/user/user.proto CHANGED
@@ -180,15 +180,15 @@ message UserDataRequest {
180
180
  optional string public_id = 3;
181
181
  }
182
182
  message UserAffiliateAttributionRequest {
183
- int32 userId = 1;
183
+ int32 user_id = 1;
184
184
  }
185
185
  message UserAffiliateAttributionResponse {
186
186
  bool found = 1;
187
187
  optional string network = 2;
188
- optional string clickId = 3;
189
- optional string affId = 4;
190
- optional string offerId = 5;
191
- optional string userPublicId = 6;
188
+ optional string click_id = 3;
189
+ optional string aff_id = 4;
190
+ optional string offer_id = 5;
191
+ optional string user_public_id = 6;
192
192
  }
193
193
  message UserBalanceRequest {
194
194
  int32 id = 1;
package/user/user_pb.js CHANGED
@@ -6940,7 +6940,7 @@ proto.user.UserAffiliateAttributionRequest.prototype.toObject = function(opt_inc
6940
6940
  */
6941
6941
  proto.user.UserAffiliateAttributionRequest.toObject = function(includeInstance, msg) {
6942
6942
  var f, obj = {
6943
- userid: jspb.Message.getFieldWithDefault(msg, 1, 0)
6943
+ userId: jspb.Message.getFieldWithDefault(msg, 1, 0)
6944
6944
  };
6945
6945
 
6946
6946
  if (includeInstance) {
@@ -6979,7 +6979,7 @@ proto.user.UserAffiliateAttributionRequest.deserializeBinaryFromReader = functio
6979
6979
  switch (field) {
6980
6980
  case 1:
6981
6981
  var value = /** @type {number} */ (reader.readInt32());
6982
- msg.setUserid(value);
6982
+ msg.setUserId(value);
6983
6983
  break;
6984
6984
  default:
6985
6985
  reader.skipField();
@@ -7010,7 +7010,7 @@ proto.user.UserAffiliateAttributionRequest.prototype.serializeBinary = function(
7010
7010
  */
7011
7011
  proto.user.UserAffiliateAttributionRequest.serializeBinaryToWriter = function(message, writer) {
7012
7012
  var f = undefined;
7013
- f = message.getUserid();
7013
+ f = message.getUserId();
7014
7014
  if (f !== 0) {
7015
7015
  writer.writeInt32(
7016
7016
  1,
@@ -7021,10 +7021,10 @@ proto.user.UserAffiliateAttributionRequest.serializeBinaryToWriter = function(me
7021
7021
 
7022
7022
 
7023
7023
  /**
7024
- * optional int32 userId = 1;
7024
+ * optional int32 user_id = 1;
7025
7025
  * @return {number}
7026
7026
  */
7027
- proto.user.UserAffiliateAttributionRequest.prototype.getUserid = function() {
7027
+ proto.user.UserAffiliateAttributionRequest.prototype.getUserId = function() {
7028
7028
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
7029
7029
  };
7030
7030
 
@@ -7033,7 +7033,7 @@ proto.user.UserAffiliateAttributionRequest.prototype.getUserid = function() {
7033
7033
  * @param {number} value
7034
7034
  * @return {!proto.user.UserAffiliateAttributionRequest} returns this
7035
7035
  */
7036
- proto.user.UserAffiliateAttributionRequest.prototype.setUserid = function(value) {
7036
+ proto.user.UserAffiliateAttributionRequest.prototype.setUserId = function(value) {
7037
7037
  return jspb.Message.setProto3IntField(this, 1, value);
7038
7038
  };
7039
7039
 
@@ -7072,10 +7072,10 @@ proto.user.UserAffiliateAttributionResponse.toObject = function(includeInstance,
7072
7072
  var f, obj = {
7073
7073
  found: jspb.Message.getBooleanFieldWithDefault(msg, 1, false),
7074
7074
  network: jspb.Message.getFieldWithDefault(msg, 2, ""),
7075
- clickid: jspb.Message.getFieldWithDefault(msg, 3, ""),
7076
- affid: jspb.Message.getFieldWithDefault(msg, 4, ""),
7077
- offerid: jspb.Message.getFieldWithDefault(msg, 5, ""),
7078
- userpublicid: jspb.Message.getFieldWithDefault(msg, 6, "")
7075
+ clickId: jspb.Message.getFieldWithDefault(msg, 3, ""),
7076
+ affId: jspb.Message.getFieldWithDefault(msg, 4, ""),
7077
+ offerId: jspb.Message.getFieldWithDefault(msg, 5, ""),
7078
+ userPublicId: jspb.Message.getFieldWithDefault(msg, 6, "")
7079
7079
  };
7080
7080
 
7081
7081
  if (includeInstance) {
@@ -7122,19 +7122,19 @@ proto.user.UserAffiliateAttributionResponse.deserializeBinaryFromReader = functi
7122
7122
  break;
7123
7123
  case 3:
7124
7124
  var value = /** @type {string} */ (reader.readString());
7125
- msg.setClickid(value);
7125
+ msg.setClickId(value);
7126
7126
  break;
7127
7127
  case 4:
7128
7128
  var value = /** @type {string} */ (reader.readString());
7129
- msg.setAffid(value);
7129
+ msg.setAffId(value);
7130
7130
  break;
7131
7131
  case 5:
7132
7132
  var value = /** @type {string} */ (reader.readString());
7133
- msg.setOfferid(value);
7133
+ msg.setOfferId(value);
7134
7134
  break;
7135
7135
  case 6:
7136
7136
  var value = /** @type {string} */ (reader.readString());
7137
- msg.setUserpublicid(value);
7137
+ msg.setUserPublicId(value);
7138
7138
  break;
7139
7139
  default:
7140
7140
  reader.skipField();
@@ -7265,10 +7265,10 @@ proto.user.UserAffiliateAttributionResponse.prototype.hasNetwork = function() {
7265
7265
 
7266
7266
 
7267
7267
  /**
7268
- * optional string clickId = 3;
7268
+ * optional string click_id = 3;
7269
7269
  * @return {string}
7270
7270
  */
7271
- proto.user.UserAffiliateAttributionResponse.prototype.getClickid = function() {
7271
+ proto.user.UserAffiliateAttributionResponse.prototype.getClickId = function() {
7272
7272
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
7273
7273
  };
7274
7274
 
@@ -7277,7 +7277,7 @@ proto.user.UserAffiliateAttributionResponse.prototype.getClickid = function() {
7277
7277
  * @param {string} value
7278
7278
  * @return {!proto.user.UserAffiliateAttributionResponse} returns this
7279
7279
  */
7280
- proto.user.UserAffiliateAttributionResponse.prototype.setClickid = function(value) {
7280
+ proto.user.UserAffiliateAttributionResponse.prototype.setClickId = function(value) {
7281
7281
  return jspb.Message.setField(this, 3, value);
7282
7282
  };
7283
7283
 
@@ -7286,7 +7286,7 @@ proto.user.UserAffiliateAttributionResponse.prototype.setClickid = function(valu
7286
7286
  * Clears the field making it undefined.
7287
7287
  * @return {!proto.user.UserAffiliateAttributionResponse} returns this
7288
7288
  */
7289
- proto.user.UserAffiliateAttributionResponse.prototype.clearClickid = function() {
7289
+ proto.user.UserAffiliateAttributionResponse.prototype.clearClickId = function() {
7290
7290
  return jspb.Message.setField(this, 3, undefined);
7291
7291
  };
7292
7292
 
@@ -7295,16 +7295,16 @@ proto.user.UserAffiliateAttributionResponse.prototype.clearClickid = function()
7295
7295
  * Returns whether this field is set.
7296
7296
  * @return {boolean}
7297
7297
  */
7298
- proto.user.UserAffiliateAttributionResponse.prototype.hasClickid = function() {
7298
+ proto.user.UserAffiliateAttributionResponse.prototype.hasClickId = function() {
7299
7299
  return jspb.Message.getField(this, 3) != null;
7300
7300
  };
7301
7301
 
7302
7302
 
7303
7303
  /**
7304
- * optional string affId = 4;
7304
+ * optional string aff_id = 4;
7305
7305
  * @return {string}
7306
7306
  */
7307
- proto.user.UserAffiliateAttributionResponse.prototype.getAffid = function() {
7307
+ proto.user.UserAffiliateAttributionResponse.prototype.getAffId = function() {
7308
7308
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
7309
7309
  };
7310
7310
 
@@ -7313,7 +7313,7 @@ proto.user.UserAffiliateAttributionResponse.prototype.getAffid = function() {
7313
7313
  * @param {string} value
7314
7314
  * @return {!proto.user.UserAffiliateAttributionResponse} returns this
7315
7315
  */
7316
- proto.user.UserAffiliateAttributionResponse.prototype.setAffid = function(value) {
7316
+ proto.user.UserAffiliateAttributionResponse.prototype.setAffId = function(value) {
7317
7317
  return jspb.Message.setField(this, 4, value);
7318
7318
  };
7319
7319
 
@@ -7322,7 +7322,7 @@ proto.user.UserAffiliateAttributionResponse.prototype.setAffid = function(value)
7322
7322
  * Clears the field making it undefined.
7323
7323
  * @return {!proto.user.UserAffiliateAttributionResponse} returns this
7324
7324
  */
7325
- proto.user.UserAffiliateAttributionResponse.prototype.clearAffid = function() {
7325
+ proto.user.UserAffiliateAttributionResponse.prototype.clearAffId = function() {
7326
7326
  return jspb.Message.setField(this, 4, undefined);
7327
7327
  };
7328
7328
 
@@ -7331,16 +7331,16 @@ proto.user.UserAffiliateAttributionResponse.prototype.clearAffid = function() {
7331
7331
  * Returns whether this field is set.
7332
7332
  * @return {boolean}
7333
7333
  */
7334
- proto.user.UserAffiliateAttributionResponse.prototype.hasAffid = function() {
7334
+ proto.user.UserAffiliateAttributionResponse.prototype.hasAffId = function() {
7335
7335
  return jspb.Message.getField(this, 4) != null;
7336
7336
  };
7337
7337
 
7338
7338
 
7339
7339
  /**
7340
- * optional string offerId = 5;
7340
+ * optional string offer_id = 5;
7341
7341
  * @return {string}
7342
7342
  */
7343
- proto.user.UserAffiliateAttributionResponse.prototype.getOfferid = function() {
7343
+ proto.user.UserAffiliateAttributionResponse.prototype.getOfferId = function() {
7344
7344
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
7345
7345
  };
7346
7346
 
@@ -7349,7 +7349,7 @@ proto.user.UserAffiliateAttributionResponse.prototype.getOfferid = function() {
7349
7349
  * @param {string} value
7350
7350
  * @return {!proto.user.UserAffiliateAttributionResponse} returns this
7351
7351
  */
7352
- proto.user.UserAffiliateAttributionResponse.prototype.setOfferid = function(value) {
7352
+ proto.user.UserAffiliateAttributionResponse.prototype.setOfferId = function(value) {
7353
7353
  return jspb.Message.setField(this, 5, value);
7354
7354
  };
7355
7355
 
@@ -7358,7 +7358,7 @@ proto.user.UserAffiliateAttributionResponse.prototype.setOfferid = function(valu
7358
7358
  * Clears the field making it undefined.
7359
7359
  * @return {!proto.user.UserAffiliateAttributionResponse} returns this
7360
7360
  */
7361
- proto.user.UserAffiliateAttributionResponse.prototype.clearOfferid = function() {
7361
+ proto.user.UserAffiliateAttributionResponse.prototype.clearOfferId = function() {
7362
7362
  return jspb.Message.setField(this, 5, undefined);
7363
7363
  };
7364
7364
 
@@ -7367,16 +7367,16 @@ proto.user.UserAffiliateAttributionResponse.prototype.clearOfferid = function()
7367
7367
  * Returns whether this field is set.
7368
7368
  * @return {boolean}
7369
7369
  */
7370
- proto.user.UserAffiliateAttributionResponse.prototype.hasOfferid = function() {
7370
+ proto.user.UserAffiliateAttributionResponse.prototype.hasOfferId = function() {
7371
7371
  return jspb.Message.getField(this, 5) != null;
7372
7372
  };
7373
7373
 
7374
7374
 
7375
7375
  /**
7376
- * optional string userPublicId = 6;
7376
+ * optional string user_public_id = 6;
7377
7377
  * @return {string}
7378
7378
  */
7379
- proto.user.UserAffiliateAttributionResponse.prototype.getUserpublicid = function() {
7379
+ proto.user.UserAffiliateAttributionResponse.prototype.getUserPublicId = function() {
7380
7380
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
7381
7381
  };
7382
7382
 
@@ -7385,7 +7385,7 @@ proto.user.UserAffiliateAttributionResponse.prototype.getUserpublicid = function
7385
7385
  * @param {string} value
7386
7386
  * @return {!proto.user.UserAffiliateAttributionResponse} returns this
7387
7387
  */
7388
- proto.user.UserAffiliateAttributionResponse.prototype.setUserpublicid = function(value) {
7388
+ proto.user.UserAffiliateAttributionResponse.prototype.setUserPublicId = function(value) {
7389
7389
  return jspb.Message.setField(this, 6, value);
7390
7390
  };
7391
7391
 
@@ -7394,7 +7394,7 @@ proto.user.UserAffiliateAttributionResponse.prototype.setUserpublicid = function
7394
7394
  * Clears the field making it undefined.
7395
7395
  * @return {!proto.user.UserAffiliateAttributionResponse} returns this
7396
7396
  */
7397
- proto.user.UserAffiliateAttributionResponse.prototype.clearUserpublicid = function() {
7397
+ proto.user.UserAffiliateAttributionResponse.prototype.clearUserPublicId = function() {
7398
7398
  return jspb.Message.setField(this, 6, undefined);
7399
7399
  };
7400
7400
 
@@ -7403,7 +7403,7 @@ proto.user.UserAffiliateAttributionResponse.prototype.clearUserpublicid = functi
7403
7403
  * Returns whether this field is set.
7404
7404
  * @return {boolean}
7405
7405
  */
7406
- proto.user.UserAffiliateAttributionResponse.prototype.hasUserpublicid = function() {
7406
+ proto.user.UserAffiliateAttributionResponse.prototype.hasUserPublicId = function() {
7407
7407
  return jspb.Message.getField(this, 6) != null;
7408
7408
  };
7409
7409