@meshtrade/api-old 1.52.0 → 1.53.0

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.
@@ -25,8 +25,11 @@ export class UserProfile extends jspb.Message {
25
25
  getProfilePictureUrl(): string;
26
26
  setProfilePictureUrl(value: string): UserProfile;
27
27
 
28
- getDisplayName(): string;
29
- setDisplayName(value: string): UserProfile;
28
+ getFirstName(): string;
29
+ setFirstName(value: string): UserProfile;
30
+
31
+ getLastName(): string;
32
+ setLastName(value: string): UserProfile;
30
33
 
31
34
  getDisplayCurrency(): meshtrade_type_v1_token_pb.Token | undefined;
32
35
  setDisplayCurrency(value?: meshtrade_type_v1_token_pb.Token): UserProfile;
@@ -54,7 +57,8 @@ export namespace UserProfile {
54
57
  user: string,
55
58
  locale: string,
56
59
  profilePictureUrl: string,
57
- displayName: string,
60
+ firstName: string,
61
+ lastName: string,
58
62
  displayCurrency?: meshtrade_type_v1_token_pb.Token.AsObject,
59
63
  reportingCurrency?: meshtrade_type_v1_token_pb.Token.AsObject,
60
64
  }
@@ -92,7 +92,8 @@ ownersList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
92
92
  user: jspb.Message.getFieldWithDefault(msg, 4, ""),
93
93
  locale: jspb.Message.getFieldWithDefault(msg, 5, ""),
94
94
  profilePictureUrl: jspb.Message.getFieldWithDefault(msg, 6, ""),
95
- displayName: jspb.Message.getFieldWithDefault(msg, 7, ""),
95
+ firstName: jspb.Message.getFieldWithDefault(msg, 7, ""),
96
+ lastName: jspb.Message.getFieldWithDefault(msg, 8, ""),
96
97
  displayCurrency: (f = msg.getDisplayCurrency()) && meshtrade_type_v1_token_pb.Token.toObject(includeInstance, f),
97
98
  reportingCurrency: (f = msg.getReportingCurrency()) && meshtrade_type_v1_token_pb.Token.toObject(includeInstance, f)
98
99
  };
@@ -157,14 +158,18 @@ proto.meshtrade.iam.user_profile.v1.UserProfile.deserializeBinaryFromReader = fu
157
158
  break;
158
159
  case 7:
159
160
  var value = /** @type {string} */ (reader.readString());
160
- msg.setDisplayName(value);
161
+ msg.setFirstName(value);
161
162
  break;
162
163
  case 8:
164
+ var value = /** @type {string} */ (reader.readString());
165
+ msg.setLastName(value);
166
+ break;
167
+ case 9:
163
168
  var value = new meshtrade_type_v1_token_pb.Token;
164
169
  reader.readMessage(value,meshtrade_type_v1_token_pb.Token.deserializeBinaryFromReader);
165
170
  msg.setDisplayCurrency(value);
166
171
  break;
167
- case 9:
172
+ case 10:
168
173
  var value = new meshtrade_type_v1_token_pb.Token;
169
174
  reader.readMessage(value,meshtrade_type_v1_token_pb.Token.deserializeBinaryFromReader);
170
175
  msg.setReportingCurrency(value);
@@ -240,17 +245,24 @@ proto.meshtrade.iam.user_profile.v1.UserProfile.serializeBinaryToWriter = functi
240
245
  f
241
246
  );
242
247
  }
243
- f = message.getDisplayName();
248
+ f = message.getFirstName();
244
249
  if (f.length > 0) {
245
250
  writer.writeString(
246
251
  7,
247
252
  f
248
253
  );
249
254
  }
255
+ f = message.getLastName();
256
+ if (f.length > 0) {
257
+ writer.writeString(
258
+ 8,
259
+ f
260
+ );
261
+ }
250
262
  f = message.getDisplayCurrency();
251
263
  if (f != null) {
252
264
  writer.writeMessage(
253
- 8,
265
+ 9,
254
266
  f,
255
267
  meshtrade_type_v1_token_pb.Token.serializeBinaryToWriter
256
268
  );
@@ -258,7 +270,7 @@ proto.meshtrade.iam.user_profile.v1.UserProfile.serializeBinaryToWriter = functi
258
270
  f = message.getReportingCurrency();
259
271
  if (f != null) {
260
272
  writer.writeMessage(
261
- 9,
273
+ 10,
262
274
  f,
263
275
  meshtrade_type_v1_token_pb.Token.serializeBinaryToWriter
264
276
  );
@@ -394,10 +406,10 @@ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.setProfilePictureUrl =
394
406
 
395
407
 
396
408
  /**
397
- * optional string display_name = 7;
409
+ * optional string first_name = 7;
398
410
  * @return {string}
399
411
  */
400
- proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.getDisplayName = function() {
412
+ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.getFirstName = function() {
401
413
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
402
414
  };
403
415
 
@@ -406,18 +418,36 @@ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.getDisplayName = funct
406
418
  * @param {string} value
407
419
  * @return {!proto.meshtrade.iam.user_profile.v1.UserProfile} returns this
408
420
  */
409
- proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.setDisplayName = function(value) {
421
+ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.setFirstName = function(value) {
410
422
  return jspb.Message.setProto3StringField(this, 7, value);
411
423
  };
412
424
 
413
425
 
414
426
  /**
415
- * optional meshtrade.type.v1.Token display_currency = 8;
427
+ * optional string last_name = 8;
428
+ * @return {string}
429
+ */
430
+ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.getLastName = function() {
431
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
432
+ };
433
+
434
+
435
+ /**
436
+ * @param {string} value
437
+ * @return {!proto.meshtrade.iam.user_profile.v1.UserProfile} returns this
438
+ */
439
+ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.setLastName = function(value) {
440
+ return jspb.Message.setProto3StringField(this, 8, value);
441
+ };
442
+
443
+
444
+ /**
445
+ * optional meshtrade.type.v1.Token display_currency = 9;
416
446
  * @return {?proto.meshtrade.type.v1.Token}
417
447
  */
418
448
  proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.getDisplayCurrency = function() {
419
449
  return /** @type{?proto.meshtrade.type.v1.Token} */ (
420
- jspb.Message.getWrapperField(this, meshtrade_type_v1_token_pb.Token, 8));
450
+ jspb.Message.getWrapperField(this, meshtrade_type_v1_token_pb.Token, 9));
421
451
  };
422
452
 
423
453
 
@@ -426,7 +456,7 @@ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.getDisplayCurrency = f
426
456
  * @return {!proto.meshtrade.iam.user_profile.v1.UserProfile} returns this
427
457
  */
428
458
  proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.setDisplayCurrency = function(value) {
429
- return jspb.Message.setWrapperField(this, 8, value);
459
+ return jspb.Message.setWrapperField(this, 9, value);
430
460
  };
431
461
 
432
462
 
@@ -444,17 +474,17 @@ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.clearDisplayCurrency =
444
474
  * @return {boolean}
445
475
  */
446
476
  proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.hasDisplayCurrency = function() {
447
- return jspb.Message.getField(this, 8) != null;
477
+ return jspb.Message.getField(this, 9) != null;
448
478
  };
449
479
 
450
480
 
451
481
  /**
452
- * optional meshtrade.type.v1.Token reporting_currency = 9;
482
+ * optional meshtrade.type.v1.Token reporting_currency = 10;
453
483
  * @return {?proto.meshtrade.type.v1.Token}
454
484
  */
455
485
  proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.getReportingCurrency = function() {
456
486
  return /** @type{?proto.meshtrade.type.v1.Token} */ (
457
- jspb.Message.getWrapperField(this, meshtrade_type_v1_token_pb.Token, 9));
487
+ jspb.Message.getWrapperField(this, meshtrade_type_v1_token_pb.Token, 10));
458
488
  };
459
489
 
460
490
 
@@ -463,7 +493,7 @@ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.getReportingCurrency =
463
493
  * @return {!proto.meshtrade.iam.user_profile.v1.UserProfile} returns this
464
494
  */
465
495
  proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.setReportingCurrency = function(value) {
466
- return jspb.Message.setWrapperField(this, 9, value);
496
+ return jspb.Message.setWrapperField(this, 10, value);
467
497
  };
468
498
 
469
499
 
@@ -481,7 +511,7 @@ proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.clearReportingCurrency
481
511
  * @return {boolean}
482
512
  */
483
513
  proto.meshtrade.iam.user_profile.v1.UserProfile.prototype.hasReportingCurrency = function() {
484
- return jspb.Message.getField(this, 9) != null;
514
+ return jspb.Message.getField(this, 10) != null;
485
515
  };
486
516
 
487
517
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meshtrade/api-old",
3
- "version": "1.52.0",
3
+ "version": "1.53.0",
4
4
  "description": "Mesh Typescript SDK (Legacy)",
5
5
  "author": "Bernard Bussy <bernard@meshtrade.co>",
6
6
  "license": "UNLICENSED",